247ee18bd12c79726aa73fab35804f93f63bfb08e62d8bd8b96a4b858c81b19d.json 41 KB

1
  1. {"ast":null,"code":"var _NzRowDirective, _NzColDirective, _NzGridModule;\nimport * as i0 from '@angular/core';\nimport { Directive, Input, inject, NgModule } from '@angular/core';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport * as i3 from 'ng-zorro-antd/core/services';\nimport { gridResponsiveMap } from 'ng-zorro-antd/core/services';\nimport * as i1 from '@angular/cdk/layout';\nimport * as i2 from '@angular/cdk/platform';\nimport * as i4 from '@angular/cdk/bidi';\nimport { isNotNil } from 'ng-zorro-antd/core/util';\nclass NzRowDirective {\n getGutter() {\n const results = [null, null];\n const gutter = this.nzGutter || 0;\n const normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, null];\n normalizedGutter.forEach((g, index) => {\n if (typeof g === 'object' && g !== null) {\n results[index] = null;\n Object.keys(gridResponsiveMap).map(screen => {\n const bp = screen;\n if (this.mediaMatcher.matchMedia(gridResponsiveMap[bp]).matches && g[bp]) {\n results[index] = g[bp];\n }\n });\n } else {\n results[index] = Number(g) || null;\n }\n });\n return results;\n }\n setGutterStyle() {\n const [horizontalGutter, verticalGutter] = this.getGutter();\n this.actualGutter$.next([horizontalGutter, verticalGutter]);\n const renderGutter = (name, gutter) => {\n const nativeElement = this.elementRef.nativeElement;\n if (gutter !== null) {\n this.renderer.setStyle(nativeElement, name, `-${gutter / 2}px`);\n }\n };\n renderGutter('margin-left', horizontalGutter);\n renderGutter('margin-right', horizontalGutter);\n renderGutter('margin-top', verticalGutter);\n renderGutter('margin-bottom', verticalGutter);\n }\n constructor(elementRef, renderer, mediaMatcher, ngZone, platform, breakpointService, directionality) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.mediaMatcher = mediaMatcher;\n this.ngZone = ngZone;\n this.platform = platform;\n this.breakpointService = breakpointService;\n this.directionality = directionality;\n this.nzAlign = null;\n this.nzJustify = null;\n this.nzGutter = null;\n this.actualGutter$ = new ReplaySubject(1);\n this.dir = 'ltr';\n this.destroy$ = new Subject();\n }\n ngOnInit() {\n var _this$directionality$;\n this.dir = this.directionality.value;\n (_this$directionality$ = this.directionality.change) === null || _this$directionality$ === void 0 || _this$directionality$.pipe(takeUntil(this.destroy$)).subscribe(direction => {\n this.dir = direction;\n });\n this.setGutterStyle();\n }\n ngOnChanges(changes) {\n if (changes.nzGutter) {\n this.setGutterStyle();\n }\n }\n ngAfterViewInit() {\n if (this.platform.isBrowser) {\n this.breakpointService.subscribe(gridResponsiveMap).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.setGutterStyle();\n });\n }\n }\n ngOnDestroy() {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n}\n_NzRowDirective = NzRowDirective;\n_NzRowDirective.ɵfac = function _NzRowDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzRowDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i1.MediaMatcher), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i2.Platform), i0.ɵɵdirectiveInject(i3.NzBreakpointService), i0.ɵɵdirectiveInject(i4.Directionality));\n};\n_NzRowDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzRowDirective,\n selectors: [[\"\", \"nz-row\", \"\"], [\"nz-row\"], [\"nz-form-item\"]],\n hostAttrs: [1, \"ant-row\"],\n hostVars: 20,\n hostBindings: function _NzRowDirective_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"ant-row-top\", ctx.nzAlign === \"top\")(\"ant-row-middle\", ctx.nzAlign === \"middle\")(\"ant-row-bottom\", ctx.nzAlign === \"bottom\")(\"ant-row-start\", ctx.nzJustify === \"start\")(\"ant-row-end\", ctx.nzJustify === \"end\")(\"ant-row-center\", ctx.nzJustify === \"center\")(\"ant-row-space-around\", ctx.nzJustify === \"space-around\")(\"ant-row-space-between\", ctx.nzJustify === \"space-between\")(\"ant-row-space-evenly\", ctx.nzJustify === \"space-evenly\")(\"ant-row-rtl\", ctx.dir === \"rtl\");\n }\n },\n inputs: {\n nzAlign: \"nzAlign\",\n nzJustify: \"nzJustify\",\n nzGutter: \"nzGutter\"\n },\n exportAs: [\"nzRow\"],\n standalone: true,\n features: [i0.ɵɵNgOnChangesFeature]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzRowDirective, [{\n type: Directive,\n args: [{\n selector: '[nz-row],nz-row,nz-form-item',\n exportAs: 'nzRow',\n host: {\n class: 'ant-row',\n '[class.ant-row-top]': `nzAlign === 'top'`,\n '[class.ant-row-middle]': `nzAlign === 'middle'`,\n '[class.ant-row-bottom]': `nzAlign === 'bottom'`,\n '[class.ant-row-start]': `nzJustify === 'start'`,\n '[class.ant-row-end]': `nzJustify === 'end'`,\n '[class.ant-row-center]': `nzJustify === 'center'`,\n '[class.ant-row-space-around]': `nzJustify === 'space-around'`,\n '[class.ant-row-space-between]': `nzJustify === 'space-between'`,\n '[class.ant-row-space-evenly]': `nzJustify === 'space-evenly'`,\n '[class.ant-row-rtl]': `dir === \"rtl\"`\n },\n standalone: true\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }, {\n type: i1.MediaMatcher\n }, {\n type: i0.NgZone\n }, {\n type: i2.Platform\n }, {\n type: i3.NzBreakpointService\n }, {\n type: i4.Directionality\n }], {\n nzAlign: [{\n type: Input\n }],\n nzJustify: [{\n type: Input\n }],\n nzGutter: [{\n type: Input\n }]\n });\n})();\nclass NzColDirective {\n setHostClassMap() {\n const hostClassMap = {\n ['ant-col']: true,\n [`ant-col-${this.nzSpan}`]: isNotNil(this.nzSpan),\n [`ant-col-order-${this.nzOrder}`]: isNotNil(this.nzOrder),\n [`ant-col-offset-${this.nzOffset}`]: isNotNil(this.nzOffset),\n [`ant-col-pull-${this.nzPull}`]: isNotNil(this.nzPull),\n [`ant-col-push-${this.nzPush}`]: isNotNil(this.nzPush),\n ['ant-col-rtl']: this.dir === 'rtl',\n ...this.generateClass()\n };\n for (const i in this.classMap) {\n if (this.classMap.hasOwnProperty(i)) {\n this.renderer.removeClass(this.elementRef.nativeElement, i);\n }\n }\n this.classMap = {\n ...hostClassMap\n };\n for (const i in this.classMap) {\n if (this.classMap.hasOwnProperty(i) && this.classMap[i]) {\n this.renderer.addClass(this.elementRef.nativeElement, i);\n }\n }\n }\n setHostFlexStyle() {\n this.hostFlexStyle = this.parseFlex(this.nzFlex);\n }\n parseFlex(flex) {\n if (typeof flex === 'number') {\n return `${flex} ${flex} auto`;\n } else if (typeof flex === 'string') {\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return `0 0 ${flex}`;\n }\n }\n return flex;\n }\n generateClass() {\n const listOfSizeInputName = ['nzXs', 'nzSm', 'nzMd', 'nzLg', 'nzXl', 'nzXXl'];\n const listClassMap = {};\n listOfSizeInputName.forEach(name => {\n const sizeName = name.replace('nz', '').toLowerCase();\n if (isNotNil(this[name])) {\n if (typeof this[name] === 'number' || typeof this[name] === 'string') {\n listClassMap[`ant-col-${sizeName}-${this[name]}`] = true;\n } else {\n const embedded = this[name];\n const prefixArray = ['span', 'pull', 'push', 'offset', 'order'];\n prefixArray.forEach(prefix => {\n const prefixClass = prefix === 'span' ? '-' : `-${prefix}-`;\n listClassMap[`ant-col-${sizeName}${prefixClass}${embedded[prefix]}`] = embedded && isNotNil(embedded[prefix]);\n });\n }\n }\n });\n return listClassMap;\n }\n constructor(elementRef, renderer, directionality) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.directionality = directionality;\n this.classMap = {};\n this.destroy$ = new Subject();\n this.hostFlexStyle = null;\n this.dir = 'ltr';\n this.nzFlex = null;\n this.nzSpan = null;\n this.nzOrder = null;\n this.nzOffset = null;\n this.nzPush = null;\n this.nzPull = null;\n this.nzXs = null;\n this.nzSm = null;\n this.nzMd = null;\n this.nzLg = null;\n this.nzXl = null;\n this.nzXXl = null;\n this.nzRowDirective = inject(NzRowDirective, {\n host: true,\n optional: true\n });\n }\n ngOnInit() {\n var _this$directionality$2;\n this.dir = this.directionality.value;\n (_this$directionality$2 = this.directionality.change) === null || _this$directionality$2 === void 0 || _this$directionality$2.pipe(takeUntil(this.destroy$)).subscribe(direction => {\n this.dir = direction;\n this.setHostClassMap();\n });\n this.setHostClassMap();\n this.setHostFlexStyle();\n }\n ngOnChanges(changes) {\n this.setHostClassMap();\n const {\n nzFlex\n } = changes;\n if (nzFlex) {\n this.setHostFlexStyle();\n }\n }\n ngAfterViewInit() {\n if (this.nzRowDirective) {\n this.nzRowDirective.actualGutter$.pipe(takeUntil(this.destroy$)).subscribe(([horizontalGutter, verticalGutter]) => {\n const renderGutter = (name, gutter) => {\n const nativeElement = this.elementRef.nativeElement;\n if (gutter !== null) {\n this.renderer.setStyle(nativeElement, name, `${gutter / 2}px`);\n }\n };\n renderGutter('padding-left', horizontalGutter);\n renderGutter('padding-right', horizontalGutter);\n renderGutter('padding-top', verticalGutter);\n renderGutter('padding-bottom', verticalGutter);\n });\n }\n }\n ngOnDestroy() {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n}\n_NzColDirective = NzColDirective;\n_NzColDirective.ɵfac = function _NzColDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzColDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i4.Directionality));\n};\n_NzColDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzColDirective,\n selectors: [[\"\", \"nz-col\", \"\"], [\"nz-col\"], [\"nz-form-control\"], [\"nz-form-label\"]],\n hostVars: 2,\n hostBindings: function _NzColDirective_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵstyleProp(\"flex\", ctx.hostFlexStyle);\n }\n },\n inputs: {\n nzFlex: \"nzFlex\",\n nzSpan: \"nzSpan\",\n nzOrder: \"nzOrder\",\n nzOffset: \"nzOffset\",\n nzPush: \"nzPush\",\n nzPull: \"nzPull\",\n nzXs: \"nzXs\",\n nzSm: \"nzSm\",\n nzMd: \"nzMd\",\n nzLg: \"nzLg\",\n nzXl: \"nzXl\",\n nzXXl: \"nzXXl\"\n },\n exportAs: [\"nzCol\"],\n standalone: true,\n features: [i0.ɵɵNgOnChangesFeature]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzColDirective, [{\n type: Directive,\n args: [{\n selector: '[nz-col],nz-col,nz-form-control,nz-form-label',\n exportAs: 'nzCol',\n host: {\n '[style.flex]': 'hostFlexStyle'\n },\n standalone: true\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }, {\n type: i4.Directionality\n }], {\n nzFlex: [{\n type: Input\n }],\n nzSpan: [{\n type: Input\n }],\n nzOrder: [{\n type: Input\n }],\n nzOffset: [{\n type: Input\n }],\n nzPush: [{\n type: Input\n }],\n nzPull: [{\n type: Input\n }],\n nzXs: [{\n type: Input\n }],\n nzSm: [{\n type: Input\n }],\n nzMd: [{\n type: Input\n }],\n nzLg: [{\n type: Input\n }],\n nzXl: [{\n type: Input\n }],\n nzXXl: [{\n type: Input\n }]\n });\n})();\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzGridModule {}\n_NzGridModule = NzGridModule;\n_NzGridModule.ɵfac = function _NzGridModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzGridModule)();\n};\n_NzGridModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: _NzGridModule\n});\n_NzGridModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzGridModule, [{\n type: NgModule,\n args: [{\n imports: [NzColDirective, NzRowDirective],\n exports: [NzColDirective, NzRowDirective]\n }]\n }], null, null);\n})();\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NzColDirective, NzGridModule, NzRowDirective };","map":{"version":3,"names":["i0","Directive","Input","inject","NgModule","ReplaySubject","Subject","takeUntil","i3","gridResponsiveMap","i1","i2","i4","isNotNil","NzRowDirective","getGutter","results","gutter","nzGutter","normalizedGutter","Array","isArray","forEach","g","index","Object","keys","map","screen","bp","mediaMatcher","matchMedia","matches","Number","setGutterStyle","horizontalGutter","verticalGutter","actualGutter$","next","renderGutter","name","nativeElement","elementRef","renderer","setStyle","constructor","ngZone","platform","breakpointService","directionality","nzAlign","nzJustify","dir","destroy$","ngOnInit","_this$directionality$","value","change","pipe","subscribe","direction","ngOnChanges","changes","ngAfterViewInit","isBrowser","ngOnDestroy","complete","_NzRowDirective","ɵfac","_NzRowDirective_Factory","__ngFactoryType__","ɵɵdirectiveInject","ElementRef","Renderer2","MediaMatcher","NgZone","Platform","NzBreakpointService","Directionality","ɵdir","ɵɵdefineDirective","type","selectors","hostAttrs","hostVars","hostBindings","_NzRowDirective_HostBindings","rf","ctx","ɵɵclassProp","inputs","exportAs","standalone","features","ɵɵNgOnChangesFeature","ngDevMode","ɵsetClassMetadata","args","selector","host","class","NzColDirective","setHostClassMap","hostClassMap","nzSpan","nzOrder","nzOffset","nzPull","nzPush","generateClass","i","classMap","hasOwnProperty","removeClass","addClass","setHostFlexStyle","hostFlexStyle","parseFlex","nzFlex","flex","test","listOfSizeInputName","listClassMap","sizeName","replace","toLowerCase","embedded","prefixArray","prefix","prefixClass","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl","nzRowDirective","optional","_this$directionality$2","_NzColDirective","_NzColDirective_Factory","_NzColDirective_HostBindings","ɵɵstyleProp","NzGridModule","_NzGridModule","_NzGridModule_Factory","ɵmod","ɵɵdefineNgModule","ɵinj","ɵɵdefineInjector","imports","exports"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-grid.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Directive, Input, inject, NgModule } from '@angular/core';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport * as i3 from 'ng-zorro-antd/core/services';\nimport { gridResponsiveMap } from 'ng-zorro-antd/core/services';\nimport * as i1 from '@angular/cdk/layout';\nimport * as i2 from '@angular/cdk/platform';\nimport * as i4 from '@angular/cdk/bidi';\nimport { isNotNil } from 'ng-zorro-antd/core/util';\n\nclass NzRowDirective {\n getGutter() {\n const results = [null, null];\n const gutter = this.nzGutter || 0;\n const normalizedGutter = Array.isArray(gutter) ? gutter : [gutter, null];\n normalizedGutter.forEach((g, index) => {\n if (typeof g === 'object' && g !== null) {\n results[index] = null;\n Object.keys(gridResponsiveMap).map((screen) => {\n const bp = screen;\n if (this.mediaMatcher.matchMedia(gridResponsiveMap[bp]).matches && g[bp]) {\n results[index] = g[bp];\n }\n });\n }\n else {\n results[index] = Number(g) || null;\n }\n });\n return results;\n }\n setGutterStyle() {\n const [horizontalGutter, verticalGutter] = this.getGutter();\n this.actualGutter$.next([horizontalGutter, verticalGutter]);\n const renderGutter = (name, gutter) => {\n const nativeElement = this.elementRef.nativeElement;\n if (gutter !== null) {\n this.renderer.setStyle(nativeElement, name, `-${gutter / 2}px`);\n }\n };\n renderGutter('margin-left', horizontalGutter);\n renderGutter('margin-right', horizontalGutter);\n renderGutter('margin-top', verticalGutter);\n renderGutter('margin-bottom', verticalGutter);\n }\n constructor(elementRef, renderer, mediaMatcher, ngZone, platform, breakpointService, directionality) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.mediaMatcher = mediaMatcher;\n this.ngZone = ngZone;\n this.platform = platform;\n this.breakpointService = breakpointService;\n this.directionality = directionality;\n this.nzAlign = null;\n this.nzJustify = null;\n this.nzGutter = null;\n this.actualGutter$ = new ReplaySubject(1);\n this.dir = 'ltr';\n this.destroy$ = new Subject();\n }\n ngOnInit() {\n this.dir = this.directionality.value;\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction) => {\n this.dir = direction;\n });\n this.setGutterStyle();\n }\n ngOnChanges(changes) {\n if (changes.nzGutter) {\n this.setGutterStyle();\n }\n }\n ngAfterViewInit() {\n if (this.platform.isBrowser) {\n this.breakpointService\n .subscribe(gridResponsiveMap)\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n this.setGutterStyle();\n });\n }\n }\n ngOnDestroy() {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzRowDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.MediaMatcher }, { token: i0.NgZone }, { token: i2.Platform }, { token: i3.NzBreakpointService }, { token: i4.Directionality }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzRowDirective, isStandalone: true, selector: \"[nz-row],nz-row,nz-form-item\", inputs: { nzAlign: \"nzAlign\", nzJustify: \"nzJustify\", nzGutter: \"nzGutter\" }, host: { properties: { \"class.ant-row-top\": \"nzAlign === 'top'\", \"class.ant-row-middle\": \"nzAlign === 'middle'\", \"class.ant-row-bottom\": \"nzAlign === 'bottom'\", \"class.ant-row-start\": \"nzJustify === 'start'\", \"class.ant-row-end\": \"nzJustify === 'end'\", \"class.ant-row-center\": \"nzJustify === 'center'\", \"class.ant-row-space-around\": \"nzJustify === 'space-around'\", \"class.ant-row-space-between\": \"nzJustify === 'space-between'\", \"class.ant-row-space-evenly\": \"nzJustify === 'space-evenly'\", \"class.ant-row-rtl\": \"dir === \\\"rtl\\\"\" }, classAttribute: \"ant-row\" }, exportAs: [\"nzRow\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzRowDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[nz-row],nz-row,nz-form-item',\n exportAs: 'nzRow',\n host: {\n class: 'ant-row',\n '[class.ant-row-top]': `nzAlign === 'top'`,\n '[class.ant-row-middle]': `nzAlign === 'middle'`,\n '[class.ant-row-bottom]': `nzAlign === 'bottom'`,\n '[class.ant-row-start]': `nzJustify === 'start'`,\n '[class.ant-row-end]': `nzJustify === 'end'`,\n '[class.ant-row-center]': `nzJustify === 'center'`,\n '[class.ant-row-space-around]': `nzJustify === 'space-around'`,\n '[class.ant-row-space-between]': `nzJustify === 'space-between'`,\n '[class.ant-row-space-evenly]': `nzJustify === 'space-evenly'`,\n '[class.ant-row-rtl]': `dir === \"rtl\"`\n },\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.MediaMatcher }, { type: i0.NgZone }, { type: i2.Platform }, { type: i3.NzBreakpointService }, { type: i4.Directionality }], propDecorators: { nzAlign: [{\n type: Input\n }], nzJustify: [{\n type: Input\n }], nzGutter: [{\n type: Input\n }] } });\n\nclass NzColDirective {\n setHostClassMap() {\n const hostClassMap = {\n ['ant-col']: true,\n [`ant-col-${this.nzSpan}`]: isNotNil(this.nzSpan),\n [`ant-col-order-${this.nzOrder}`]: isNotNil(this.nzOrder),\n [`ant-col-offset-${this.nzOffset}`]: isNotNil(this.nzOffset),\n [`ant-col-pull-${this.nzPull}`]: isNotNil(this.nzPull),\n [`ant-col-push-${this.nzPush}`]: isNotNil(this.nzPush),\n ['ant-col-rtl']: this.dir === 'rtl',\n ...this.generateClass()\n };\n for (const i in this.classMap) {\n if (this.classMap.hasOwnProperty(i)) {\n this.renderer.removeClass(this.elementRef.nativeElement, i);\n }\n }\n this.classMap = { ...hostClassMap };\n for (const i in this.classMap) {\n if (this.classMap.hasOwnProperty(i) && this.classMap[i]) {\n this.renderer.addClass(this.elementRef.nativeElement, i);\n }\n }\n }\n setHostFlexStyle() {\n this.hostFlexStyle = this.parseFlex(this.nzFlex);\n }\n parseFlex(flex) {\n if (typeof flex === 'number') {\n return `${flex} ${flex} auto`;\n }\n else if (typeof flex === 'string') {\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return `0 0 ${flex}`;\n }\n }\n return flex;\n }\n generateClass() {\n const listOfSizeInputName = ['nzXs', 'nzSm', 'nzMd', 'nzLg', 'nzXl', 'nzXXl'];\n const listClassMap = {};\n listOfSizeInputName.forEach(name => {\n const sizeName = name.replace('nz', '').toLowerCase();\n if (isNotNil(this[name])) {\n if (typeof this[name] === 'number' || typeof this[name] === 'string') {\n listClassMap[`ant-col-${sizeName}-${this[name]}`] = true;\n }\n else {\n const embedded = this[name];\n const prefixArray = ['span', 'pull', 'push', 'offset', 'order'];\n prefixArray.forEach(prefix => {\n const prefixClass = prefix === 'span' ? '-' : `-${prefix}-`;\n listClassMap[`ant-col-${sizeName}${prefixClass}${embedded[prefix]}`] =\n embedded && isNotNil(embedded[prefix]);\n });\n }\n }\n });\n return listClassMap;\n }\n constructor(elementRef, renderer, directionality) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.directionality = directionality;\n this.classMap = {};\n this.destroy$ = new Subject();\n this.hostFlexStyle = null;\n this.dir = 'ltr';\n this.nzFlex = null;\n this.nzSpan = null;\n this.nzOrder = null;\n this.nzOffset = null;\n this.nzPush = null;\n this.nzPull = null;\n this.nzXs = null;\n this.nzSm = null;\n this.nzMd = null;\n this.nzLg = null;\n this.nzXl = null;\n this.nzXXl = null;\n this.nzRowDirective = inject(NzRowDirective, { host: true, optional: true });\n }\n ngOnInit() {\n this.dir = this.directionality.value;\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction) => {\n this.dir = direction;\n this.setHostClassMap();\n });\n this.setHostClassMap();\n this.setHostFlexStyle();\n }\n ngOnChanges(changes) {\n this.setHostClassMap();\n const { nzFlex } = changes;\n if (nzFlex) {\n this.setHostFlexStyle();\n }\n }\n ngAfterViewInit() {\n if (this.nzRowDirective) {\n this.nzRowDirective.actualGutter$\n .pipe(takeUntil(this.destroy$))\n .subscribe(([horizontalGutter, verticalGutter]) => {\n const renderGutter = (name, gutter) => {\n const nativeElement = this.elementRef.nativeElement;\n if (gutter !== null) {\n this.renderer.setStyle(nativeElement, name, `${gutter / 2}px`);\n }\n };\n renderGutter('padding-left', horizontalGutter);\n renderGutter('padding-right', horizontalGutter);\n renderGutter('padding-top', verticalGutter);\n renderGutter('padding-bottom', verticalGutter);\n });\n }\n }\n ngOnDestroy() {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzColDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.Directionality }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzColDirective, isStandalone: true, selector: \"[nz-col],nz-col,nz-form-control,nz-form-label\", inputs: { nzFlex: \"nzFlex\", nzSpan: \"nzSpan\", nzOrder: \"nzOrder\", nzOffset: \"nzOffset\", nzPush: \"nzPush\", nzPull: \"nzPull\", nzXs: \"nzXs\", nzSm: \"nzSm\", nzMd: \"nzMd\", nzLg: \"nzLg\", nzXl: \"nzXl\", nzXXl: \"nzXXl\" }, host: { properties: { \"style.flex\": \"hostFlexStyle\" } }, exportAs: [\"nzCol\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzColDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[nz-col],nz-col,nz-form-control,nz-form-label',\n exportAs: 'nzCol',\n host: {\n '[style.flex]': 'hostFlexStyle'\n },\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i4.Directionality }], propDecorators: { nzFlex: [{\n type: Input\n }], nzSpan: [{\n type: Input\n }], nzOrder: [{\n type: Input\n }], nzOffset: [{\n type: Input\n }], nzPush: [{\n type: Input\n }], nzPull: [{\n type: Input\n }], nzXs: [{\n type: Input\n }], nzSm: [{\n type: Input\n }], nzMd: [{\n type: Input\n }], nzLg: [{\n type: Input\n }], nzXl: [{\n type: Input\n }], nzXXl: [{\n type: Input\n }] } });\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzGridModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"18.2.1\", ngImport: i0, type: NzGridModule, imports: [NzColDirective, NzRowDirective], exports: [NzColDirective, NzRowDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzGridModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzGridModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [NzColDirective, NzRowDirective],\n exports: [NzColDirective, NzRowDirective]\n }]\n }] });\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NzColDirective, NzGridModule, NzRowDirective };\n"],"mappings":";AAAA,OAAO,KAAKA,EAAE,MAAM,eAAe;AACnC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