UNPKG

ng-zorro-antd-mobile

Version:

An enterprise-class mobile UI components based on Ant Design and Angular

62 lines (57 loc) 3.2 kB
import * as i0 from '@angular/core'; import { Component, ViewEncapsulation, Input, HostBinding, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; class WingBlankComponent { get amWingBlnkSm() { return this.size === 'sm'; } get amWingBlnkMd() { return this.size === 'md'; } get amWingBlnkLg() { return this.size === 'lg'; } constructor() { this.prefixCls = 'am-wingblank'; this.size = 'lg'; this.amWingBlank = true; } static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: WingBlankComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); } static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: WingBlankComponent, selector: "WingBlank, nzm-wingblank", inputs: { size: "size" }, host: { properties: { "class.am-wingblank": "this.amWingBlank", "class.am-wingblank-sm": "this.amWingBlnkSm", "class.am-wingblank-md": "this.amWingBlnkMd", "class.am-wingblank-lg": "this.amWingBlnkLg" } }, ngImport: i0, template: "<ng-content></ng-content>\n", encapsulation: i0.ViewEncapsulation.None }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: WingBlankComponent, decorators: [{ type: Component, args: [{ selector: 'WingBlank, nzm-wingblank', encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n" }] }], ctorParameters: () => [], propDecorators: { size: [{ type: Input }], amWingBlank: [{ type: HostBinding, args: ['class.am-wingblank'] }], amWingBlnkSm: [{ type: HostBinding, args: ['class.am-wingblank-sm'] }], amWingBlnkMd: [{ type: HostBinding, args: ['class.am-wingblank-md'] }], amWingBlnkLg: [{ type: HostBinding, args: ['class.am-wingblank-lg'] }] } }); class WingBlankModule { static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: WingBlankModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: WingBlankModule, declarations: [WingBlankComponent], imports: [CommonModule], exports: [WingBlankComponent] }); } static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: WingBlankModule, imports: [CommonModule] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: WingBlankModule, decorators: [{ type: NgModule, args: [{ declarations: [WingBlankComponent], exports: [WingBlankComponent], imports: [CommonModule] }] }] }); /** * Generated bundle index. Do not edit. */ export { WingBlankComponent, WingBlankModule }; //# sourceMappingURL=ng-zorro-antd-mobile-wing-blank.mjs.map