UNPKG

@cds/angular

Version:

Core component modules for Clarity Angular

73 lines (66 loc) 3.29 kB
import * as i0 from '@angular/core'; import { Directive, Input, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import '@cds/core/divider/register.js'; /* * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved. * This software is released under MIT license. * The full license information can be found in LICENSE in the root directory of this project. */ class CdsDividerDirective { constructor(elementRef) { this.element = elementRef.nativeElement; } get orientation() { return this.element.orientation; } set orientation(value) { this.element.orientation = value; } ; } CdsDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CdsDividerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); CdsDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: CdsDividerDirective, selector: "cds-divider", inputs: { orientation: "orientation" }, ngImport: i0 }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CdsDividerDirective, decorators: [{ type: Directive, args: [{ selector: 'cds-divider' }] }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { orientation: [{ type: Input }] } }); /* * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved. * This software is released under MIT license. * The full license information can be found in LICENSE in the root directory of this project. */ class CdsDividerModule { } CdsDividerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CdsDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); CdsDividerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CdsDividerModule, declarations: [CdsDividerDirective], imports: [CommonModule], exports: [CdsDividerDirective] }); CdsDividerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CdsDividerModule, imports: [[CommonModule]] }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CdsDividerModule, decorators: [{ type: NgModule, args: [{ imports: [CommonModule], declarations: [ CdsDividerDirective, ], exports: [ CdsDividerDirective, ], }] }] }); /* * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved. * This software is released under MIT license. * The full license information can be found in LICENSE in the root directory of this project. */ /* * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved. * This software is released under MIT license. * The full license information can be found in LICENSE in the root directory of this project. */ /** * Generated bundle index. Do not edit. */ export { CdsDividerDirective, CdsDividerModule }; //# sourceMappingURL=divider.mjs.map