@cds/angular
Version:
Core component modules for Clarity Angular
1 lines • 3.2 kB
Source Map (JSON)
{"version":3,"file":"divider.mjs","sources":["../../../projects/cds-angular/divider/cds-divider.directive.ts","../../../projects/cds-angular/divider/divider.module.ts","../../../projects/cds-angular/divider/index.ts","../../../projects/cds-angular/divider/public-api.ts","../../../projects/cds-angular/divider/divider.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 { CdsDivider } from '@cds/core/divider';\n\n@Directive({ selector: 'cds-divider' })\nexport class CdsDividerDirective {\n protected element: CdsDivider;\n\n get orientation() {\n return this.element.orientation;\n }\n @Input() set orientation(value) {\n this.element.orientation = 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/divider/register.js';\n\nimport { CdsDividerDirective } from './cds-divider.directive';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n CdsDividerDirective,\n ],\n exports: [\n CdsDividerDirective,\n ],\n})\nexport class CdsDividerModule {}\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-divider.directive';\nexport * from './divider.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,mBAAmB;IAW9B,YAAY,UAAsB;QAChC,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,aAAa,CAAC;KACzC;IAVD,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;KACjC;IACD,IAAa,WAAW,CAAC,KAAK;QAC5B,IAAI,CAAC,OAAO,CAAC,WAAW,GAAG,KAAK,CAAC;KAClC;;;iHARU,mBAAmB;qGAAnB,mBAAmB;4FAAnB,mBAAmB;kBAD/B,SAAS;mBAAC,EAAE,QAAQ,EAAE,aAAa,EAAE;iGAOvB,WAAW;sBAAvB,KAAK;;;AChBR;;;;;MAqBa,gBAAgB;;8GAAhB,gBAAgB;+GAAhB,gBAAgB,iBANzB,mBAAmB,aAFX,YAAY,aAKpB,mBAAmB;+GAGV,gBAAgB,YARlB,CAAC,YAAY,CAAC;4FAQZ,gBAAgB;kBAT5B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE;wBACZ,mBAAmB;qBACpB;oBACD,OAAO,EAAE;wBACP,mBAAmB;qBACpB;iBACF;;;ACpBD;;;;;;ACAA;;;;;;ACAA;;;;;;"}