UNPKG

@c-standard/angular-devui-extension

Version:

an extensional components lib for devui

53 lines (48 loc) 3.21 kB
import * as i0 from '@angular/core'; import { Component, Input, NgModule } from '@angular/core'; class DividerComponent { constructor() { this.textDirection = 'up'; this.position = 'left'; } ngOnInit() { } } DividerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); DividerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: DividerComponent, selector: "d-divider", inputs: { text: "text", textCss: "textCss", textDirection: "textDirection", position: "position" }, ngImport: i0, template: ` <div [class]="'x-divider x-divider-' + textDirection + ' x-divider-' + position"> <span [class]="textCss">{{ text }}</span> </div> `, isInline: true, styles: [".x-divider-center{text-align:center}.x-divider-right{text-align:right}.x-divider-up{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid var(--devui-dividing-line, #f2f2f3)}.x-divider-down{padding-top:10px;margin-top:10px;border-bottom:1px solid var(--devui-dividing-line, #f2f2f3)}\n"] }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DividerComponent, decorators: [{ type: Component, args: [{ selector: 'd-divider', template: ` <div [class]="'x-divider x-divider-' + textDirection + ' x-divider-' + position"> <span [class]="textCss">{{ text }}</span> </div> `, styles: [".x-divider-center{text-align:center}.x-divider-right{text-align:right}.x-divider-up{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid var(--devui-dividing-line, #f2f2f3)}.x-divider-down{padding-top:10px;margin-top:10px;border-bottom:1px solid var(--devui-dividing-line, #f2f2f3)}\n"] }] }], ctorParameters: function () { return []; }, propDecorators: { text: [{ type: Input }], textCss: [{ type: Input }], textDirection: [{ type: Input }], position: [{ type: Input }] } }); class DividerModule { } DividerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); DividerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DividerModule, declarations: [DividerComponent], exports: [DividerComponent] }); DividerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DividerModule }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DividerModule, decorators: [{ type: NgModule, args: [{ declarations: [DividerComponent], exports: [DividerComponent], }] }] }); /** * Generated bundle index. Do not edit. */ export { DividerComponent, DividerModule }; //# sourceMappingURL=c-standard-angular-devui-extension-divider.mjs.map