1 |
- {"ast":null,"code":"var _NzNoAnimationDirective, _NzNoAnimationModule;\nimport * as i0 from '@angular/core';\nimport { inject, booleanAttribute, Directive, Input, NgModule } from '@angular/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\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 NzNoAnimationDirective {\n constructor() {\n this.animationType = inject(ANIMATION_MODULE_TYPE, {\n optional: true\n });\n this.nzNoAnimation = false;\n }\n}\n_NzNoAnimationDirective = NzNoAnimationDirective;\n_NzNoAnimationDirective.ɵfac = function _NzNoAnimationDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzNoAnimationDirective)();\n};\n_NzNoAnimationDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzNoAnimationDirective,\n selectors: [[\"\", \"nzNoAnimation\", \"\"]],\n hostVars: 2,\n hostBindings: function _NzNoAnimationDirective_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"nz-animate-disabled\", ctx.nzNoAnimation || ctx.animationType === \"NoopAnimations\");\n }\n },\n inputs: {\n nzNoAnimation: [2, \"nzNoAnimation\", \"nzNoAnimation\", booleanAttribute]\n },\n exportAs: [\"nzNoAnimation\"],\n standalone: true,\n features: [i0.ɵɵInputTransformsFeature]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzNoAnimationDirective, [{\n type: Directive,\n args: [{\n selector: '[nzNoAnimation]',\n exportAs: 'nzNoAnimation',\n standalone: true,\n host: {\n '[class.nz-animate-disabled]': `nzNoAnimation || animationType === 'NoopAnimations'`\n }\n }]\n }], null, {\n nzNoAnimation: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\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 NzNoAnimationModule {}\n_NzNoAnimationModule = NzNoAnimationModule;\n_NzNoAnimationModule.ɵfac = function _NzNoAnimationModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzNoAnimationModule)();\n};\n_NzNoAnimationModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: _NzNoAnimationModule\n});\n_NzNoAnimationModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzNoAnimationModule, [{\n type: NgModule,\n args: [{\n imports: [NzNoAnimationDirective],\n exports: [NzNoAnimationDirective]\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 { NzNoAnimationDirective, NzNoAnimationModule };","map":{"version":3,"names":["i0","inject","booleanAttribute","Directive","Input","NgModule","ANIMATION_MODULE_TYPE","NzNoAnimationDirective","constructor","animationType","optional","nzNoAnimation","_NzNoAnimationDirective","ɵfac","_NzNoAnimationDirective_Factory","__ngFactoryType__","ɵdir","ɵɵdefineDirective","type","selectors","hostVars","hostBindings","_NzNoAnimationDirective_HostBindings","rf","ctx","ɵɵclassProp","inputs","exportAs","standalone","features","ɵɵInputTransformsFeature","ngDevMode","ɵsetClassMetadata","args","selector","host","transform","NzNoAnimationModule","_NzNoAnimationModule","_NzNoAnimationModule_Factory","ɵmod","ɵɵdefineNgModule","ɵinj","ɵɵdefineInjector","imports","exports"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-core-no-animation.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { inject, booleanAttribute, Directive, Input, NgModule } from '@angular/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\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 NzNoAnimationDirective {\n constructor() {\n this.animationType = inject(ANIMATION_MODULE_TYPE, { optional: true });\n this.nzNoAnimation = false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzNoAnimationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"16.1.0\", version: \"18.2.1\", type: NzNoAnimationDirective, isStandalone: true, selector: \"[nzNoAnimation]\", inputs: { nzNoAnimation: [\"nzNoAnimation\", \"nzNoAnimation\", booleanAttribute] }, host: { properties: { \"class.nz-animate-disabled\": \"nzNoAnimation || animationType === 'NoopAnimations'\" } }, exportAs: [\"nzNoAnimation\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzNoAnimationDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[nzNoAnimation]',\n exportAs: 'nzNoAnimation',\n standalone: true,\n host: {\n '[class.nz-animate-disabled]': `nzNoAnimation || animationType === 'NoopAnimations'`\n }\n }]\n }], propDecorators: { nzNoAnimation: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\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 NzNoAnimationModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzNoAnimationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"18.2.1\", ngImport: i0, type: NzNoAnimationModule, imports: [NzNoAnimationDirective], exports: [NzNoAnimationDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzNoAnimationModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzNoAnimationModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [NzNoAnimationDirective],\n exports: [NzNoAnimationDirective]\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 { NzNoAnimationDirective, NzNoAnimationModule };\n"],"mappings":";AAAA,OAAO,KAAKA,EAAE,MAAM,eAAe;AACnC,SAASC,MAAM,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,KAAK,EAAEC,QAAQ,QAAQ,eAAe;AACpF,SAASC,qBAAqB,QAAQ,sCAAsC;;AAE5E;AACA;AACA;AACA;AACA,MAAMC,sBAAsB,CAAC;EACzBC,WAAWA,CAAA,EAAG;IACV,IAAI,CAACC,aAAa,GAAGR,MAAM,CAACK,qBAAqB,EAAE;MAAEI,QAAQ,EAAE;IAAK,CAAC,CAAC;IACtE,IAAI,CAACC,aAAa,GAAG,KAAK;EAC9B;AAGJ;AAACC,uBAAA,GAPKL,sBAAsB;AAKfK,uBAAA,CAAKC,IAAI,YAAAC,gCAAAC,iBAAA;EAAA,YAAAA,iBAAA,IAAwFR,uBAAsB;AAAA,CAAmD;AAC1KK,uBAAA,CAAKI,IAAI,kBAE2DhB,EAAE,CAAAiB,iBAAA;EAAAC,IAAA,EAFeX,uBAAsB;EAAAY,SAAA;EAAAC,QAAA;EAAAC,YAAA,WAAAC,qCAAAC,EAAA,EAAAC,GAAA;IAAA,IAAAD,EAAA;MAEvCvB,EAAE,CAAAyB,WAAA,wBAAAD,GAAA,CAAAb,aAAA,IAAAa,GAAA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