{"version":3,"file":"button-inline.mjs","sources":["../../../projects/cds-angular/button-inline/cds-button-inline.directive.ts","../../../projects/cds-angular/button-inline/button-inline.module.ts","../../../projects/cds-angular/button-inline/index.ts","../../../projects/cds-angular/button-inline/public-api.ts","../../../projects/cds-angular/button-inline/button-inline.ts"],"sourcesContent":["/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Directive, ElementRef , Input   } from '@angular/core';\nimport { CdsButtonInline } from '@cds/core/button-inline';\n\n@Directive({ selector: 'cds-button-inline' })\nexport class CdsButtonInlineDirective {\n  protected element: CdsButtonInline;\n\n  get pressed() {\n    return this.element.pressed;\n  }\n  @Input() set pressed(value: boolean | '') {\n    this.element.pressed = value === '' ? true : value;\n  };\n  get expanded() {\n    return this.element.expanded;\n  }\n  @Input() set expanded(value: boolean | '') {\n    this.element.expanded = value === '' ? true : value;\n  };\n  get readonly() {\n    return this.element.readonly;\n  }\n  @Input() set readonly(value: boolean | '') {\n    this.element.readonly = value === '' ? true : value;\n  };\n  get type() {\n    return this.element.type;\n  }\n  @Input() set type(value) {\n    this.element.type = value;\n  };\n  get name() {\n    return this.element.name;\n  }\n  @Input() set name(value) {\n    this.element.name = value;\n  };\n  get value() {\n    return this.element.value;\n  }\n  @Input() set value(value) {\n    this.element.value = value;\n  };\n  get disabled() {\n    return this.element.disabled;\n  }\n  @Input() set disabled(value: boolean | '') {\n    this.element.disabled = value === '' ? true : value;\n  };\n  get popup() {\n    return this.element.popup;\n  }\n  @Input() set popup(value) {\n    this.element.popup = value;\n  };\n\n\n  constructor(elementRef: ElementRef) {\n    this.element = elementRef.nativeElement;\n  }\n}\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport '@cds/core/button-inline/register.js';\n\nimport { CdsButtonInlineDirective } from './cds-button-inline.directive';\n\n@NgModule({\n  imports: [CommonModule],\n  declarations: [\n    CdsButtonInlineDirective,\n  ],\n  exports: [\n    CdsButtonInlineDirective,\n  ],\n})\nexport class CdsButtonInlineModule {}\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nexport * from './cds-button-inline.directive';\nexport * from './button-inline.module';\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\n/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\n/*\n * Public API Surface of cds-angular\n */\n\nexport * from './index';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;;;;;MAUa,wBAAwB;IAqDnC,YAAY,UAAsB;QAChC,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,aAAa,CAAC;KACzC;IApDD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;KAC7B;IACD,IAAa,OAAO,CAAC,KAAmB;QACtC,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,KAAK,KAAK,EAAE,GAAG,IAAI,GAAG,KAAK,CAAC;KACpD;;IACD,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;KAC9B;IACD,IAAa,QAAQ,CAAC,KAAmB;QACvC,IAAI,CAAC,OAAO,CAAC,QAAQ,GAAG,KAAK,KAAK,EAAE,GAAG,IAAI,GAAG,KAAK,CAAC;KACrD;;IACD,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;KAC9B;IACD,IAAa,QAAQ,CAAC,KAAmB;QACvC,IAAI,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