1 |
- {"ast":null,"code":"var _NzMNContainerComponent, _NzMNComponent, _NzMessageComponent, _NzMessageContainerComponent, _NzMessageModule, _NzMessageService;\nfunction _NzMessageComponent_Case_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 3);\n }\n}\nfunction _NzMessageComponent_Case_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 4);\n }\n}\nfunction _NzMessageComponent_Case_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 5);\n }\n}\nfunction _NzMessageComponent_Case_6_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 6);\n }\n}\nfunction _NzMessageComponent_Case_7_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 7);\n }\n}\nfunction _NzMessageComponent_ng_container_8_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelement(1, \"span\", 9);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"innerHTML\", ctx_r0.instance.content, i0.ɵɵsanitizeHtml);\n }\n}\nfunction _NzMessageContainerComponent_For_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"nz-message\", 2);\n i0.ɵɵlistener(\"destroyed\", function _NzMessageContainerComponent_For_2_Template_nz_message_destroyed_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.remove($event.id, $event.userAction));\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const instance_r3 = ctx.$implicit;\n i0.ɵɵproperty(\"instance\", instance_r3);\n }\n}\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport * as i0 from '@angular/core';\nimport { Directive, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, NgModule, Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { filter, take, takeUntil } from 'rxjs/operators';\nimport * as i1 from 'ng-zorro-antd/core/config';\nimport { toCssPixel } from 'ng-zorro-antd/core/util';\nimport { NgClass } from '@angular/common';\nimport { moveUpMotion } from 'ng-zorro-antd/core/animation';\nimport * as i2 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i1$1 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport * as i1$2 from 'ng-zorro-antd/core/services';\nimport * as i2$1 from '@angular/cdk/overlay';\nlet globalCounter = 0;\nclass NzMNService {\n constructor(nzSingletonService, overlay, injector) {\n this.nzSingletonService = nzSingletonService;\n this.overlay = overlay;\n this.injector = injector;\n }\n remove(id) {\n if (this.container) {\n if (id) {\n this.container.remove(id);\n } else {\n this.container.removeAll();\n }\n }\n }\n getInstanceId() {\n return `${this.componentPrefix}-${globalCounter++}`;\n }\n withContainer(ctor) {\n let containerInstance = this.nzSingletonService.getSingletonWithKey(this.componentPrefix);\n if (containerInstance) {\n return containerInstance;\n }\n const overlayRef = this.overlay.create({\n hasBackdrop: false,\n scrollStrategy: this.overlay.scrollStrategies.noop(),\n positionStrategy: this.overlay.position().global()\n });\n const componentPortal = new ComponentPortal(ctor, null, this.injector);\n const componentRef = overlayRef.attach(componentPortal);\n const overlayWrapper = overlayRef.hostElement;\n overlayWrapper.style.zIndex = '1010';\n if (!containerInstance) {\n this.container = containerInstance = componentRef.instance;\n this.nzSingletonService.registerSingletonWithKey(this.componentPrefix, containerInstance);\n this.container.afterAllInstancesRemoved.subscribe(() => {\n this.container = undefined;\n this.nzSingletonService.unregisterSingletonWithKey(this.componentPrefix);\n overlayRef.dispose();\n });\n }\n return containerInstance;\n }\n}\nclass NzMNContainerComponent {\n constructor(cdr, nzConfigService) {\n this.cdr = cdr;\n this.nzConfigService = nzConfigService;\n this.instances = [];\n this._afterAllInstancesRemoved = new Subject();\n this.afterAllInstancesRemoved = this._afterAllInstancesRemoved.asObservable();\n this.destroy$ = new Subject();\n this.updateConfig();\n }\n ngOnInit() {\n this.subscribeConfigChange();\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n create(data) {\n const instance = this.onCreate(data);\n if (this.instances.length >= this.config.nzMaxStack) {\n this.instances = this.instances.slice(1);\n }\n this.instances = [...this.instances, instance];\n this.readyInstances();\n return instance;\n }\n remove(id, userAction = false) {\n this.instances.map((instance, index) => ({\n index,\n instance\n })).filter(({\n instance\n }) => instance.messageId === id).forEach(({\n index,\n instance\n }) => {\n this.instances.splice(index, 1);\n this.instances = [...this.instances];\n this.onRemove(instance, userAction);\n this.readyInstances();\n });\n if (!this.instances.length) {\n this.onAllInstancesRemoved();\n }\n }\n removeAll() {\n this.instances.forEach(i => this.onRemove(i, false));\n this.instances = [];\n this.readyInstances();\n this.onAllInstancesRemoved();\n }\n onCreate(instance) {\n instance.options = this.mergeOptions(instance.options);\n instance.onClose = new Subject();\n return instance;\n }\n onRemove(instance, userAction) {\n instance.onClose.next(userAction);\n instance.onClose.complete();\n }\n onAllInstancesRemoved() {\n this._afterAllInstancesRemoved.next();\n this._afterAllInstancesRemoved.complete();\n }\n readyInstances() {\n this.cdr.detectChanges();\n }\n mergeOptions(options) {\n const {\n nzDuration,\n nzAnimate,\n nzPauseOnHover\n } = this.config;\n return {\n nzDuration,\n nzAnimate,\n nzPauseOnHover,\n ...options\n };\n }\n}\n_NzMNContainerComponent = NzMNContainerComponent;\n_NzMNContainerComponent.ɵfac = function _NzMNContainerComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzMNContainerComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.NzConfigService));\n};\n_NzMNContainerComponent.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzMNContainerComponent\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzMNContainerComponent, [{\n type: Directive\n }], () => [{\n type: i0.ChangeDetectorRef\n }, {\n type: i1.NzConfigService\n }], null);\n})();\nclass NzMNComponent {\n constructor(cdr) {\n this.cdr = cdr;\n this.destroyed = new EventEmitter();\n this.animationStateChanged = new Subject();\n this.userAction = false;\n }\n ngOnInit() {\n this.options = this.instance.options;\n if (this.options.nzAnimate) {\n this.instance.state = 'enter';\n this.animationStateChanged.pipe(filter(event => event.phaseName === 'done' && event.toState === 'leave'), take(1)).subscribe(() => {\n clearTimeout(this.closeTimer);\n this.destroyed.next({\n id: this.instance.messageId,\n userAction: this.userAction\n });\n });\n }\n this.autoClose = this.options.nzDuration > 0;\n if (this.autoClose) {\n this.initErase();\n this.startEraseTimeout();\n }\n }\n ngOnDestroy() {\n if (this.autoClose) {\n this.clearEraseTimeout();\n }\n this.animationStateChanged.complete();\n }\n onEnter() {\n if (this.autoClose && this.options.nzPauseOnHover) {\n this.clearEraseTimeout();\n this.updateTTL();\n }\n }\n onLeave() {\n if (this.autoClose && this.options.nzPauseOnHover) {\n this.startEraseTimeout();\n }\n }\n destroy(userAction = false) {\n this.userAction = userAction;\n if (this.options.nzAnimate) {\n this.instance.state = 'leave';\n this.cdr.detectChanges();\n this.closeTimer = setTimeout(() => {\n this.closeTimer = undefined;\n this.destroyed.next({\n id: this.instance.messageId,\n userAction\n });\n }, 200);\n } else {\n this.destroyed.next({\n id: this.instance.messageId,\n userAction\n });\n }\n }\n initErase() {\n this.eraseTTL = this.options.nzDuration;\n this.eraseTimingStart = Date.now();\n }\n updateTTL() {\n if (this.autoClose) {\n this.eraseTTL -= Date.now() - this.eraseTimingStart;\n }\n }\n startEraseTimeout() {\n if (this.eraseTTL > 0) {\n this.clearEraseTimeout();\n this.eraseTimer = setTimeout(() => this.destroy(), this.eraseTTL);\n this.eraseTimingStart = Date.now();\n } else {\n this.destroy();\n }\n }\n clearEraseTimeout() {\n if (this.eraseTimer !== null) {\n clearTimeout(this.eraseTimer);\n this.eraseTimer = undefined;\n }\n }\n}\n_NzMNComponent = NzMNComponent;\n_NzMNComponent.ɵfac = function _NzMNComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzMNComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef));\n};\n_NzMNComponent.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzMNComponent\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzMNComponent, [{\n type: Directive\n }], () => [{\n type: i0.ChangeDetectorRef\n }], 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 */\nclass NzMessageComponent extends NzMNComponent {\n constructor(cdr) {\n super(cdr);\n this.destroyed = new EventEmitter();\n }\n}\n_NzMessageComponent = NzMessageComponent;\n_NzMessageComponent.ɵfac = function _NzMessageComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzMessageComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef));\n};\n_NzMessageComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzMessageComponent,\n selectors: [[\"nz-message\"]],\n inputs: {\n instance: \"instance\"\n },\n outputs: {\n destroyed: \"destroyed\"\n },\n exportAs: [\"nzMessage\"],\n standalone: true,\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n decls: 9,\n vars: 4,\n consts: [[1, \"ant-message-notice\", 3, \"mouseenter\", \"mouseleave\"], [1, \"ant-message-notice-content\"], [1, \"ant-message-custom-content\", 3, \"ngClass\"], [\"nz-icon\", \"\", \"nzType\", \"check-circle\"], [\"nz-icon\", \"\", \"nzType\", \"info-circle\"], [\"nz-icon\", \"\", \"nzType\", \"exclamation-circle\"], [\"nz-icon\", \"\", \"nzType\", \"close-circle\"], [\"nz-icon\", \"\", \"nzType\", \"loading\"], [4, \"nzStringTemplateOutlet\"], [3, \"innerHTML\"]],\n template: function _NzMessageComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵlistener(\"@moveUpMotion.done\", function _NzMessageComponent_Template_div_animation_moveUpMotion_done_0_listener($event) {\n return ctx.animationStateChanged.next($event);\n })(\"mouseenter\", function _NzMessageComponent_Template_div_mouseenter_0_listener() {\n return ctx.onEnter();\n })(\"mouseleave\", function _NzMessageComponent_Template_div_mouseleave_0_listener() {\n return ctx.onLeave();\n });\n i0.ɵɵelementStart(1, \"div\", 1)(2, \"div\", 2);\n i0.ɵɵtemplate(3, _NzMessageComponent_Case_3_Template, 1, 0, \"span\", 3)(4, _NzMessageComponent_Case_4_Template, 1, 0, \"span\", 4)(5, _NzMessageComponent_Case_5_Template, 1, 0, \"span\", 5)(6, _NzMessageComponent_Case_6_Template, 1, 0, \"span\", 6)(7, _NzMessageComponent_Case_7_Template, 1, 0, \"span\", 7)(8, _NzMessageComponent_ng_container_8_Template, 2, 1, \"ng-container\", 8);\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n let tmp_2_0;\n i0.ɵɵproperty(\"@moveUpMotion\", ctx.instance.state);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngClass\", \"ant-message-\" + ctx.instance.type);\n i0.ɵɵadvance();\n i0.ɵɵconditional((tmp_2_0 = ctx.instance.type) === \"success\" ? 3 : tmp_2_0 === \"info\" ? 4 : tmp_2_0 === \"warning\" ? 5 : tmp_2_0 === \"error\" ? 6 : tmp_2_0 === \"loading\" ? 7 : -1);\n i0.ɵɵadvance(5);\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx.instance.content);\n }\n },\n dependencies: [NgClass, NzIconModule, i1$1.NzIconDirective, NzOutletModule, i2.NzStringTemplateOutletDirective],\n encapsulation: 2,\n data: {\n animation: [moveUpMotion]\n },\n changeDetection: 0\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzMessageComponent, [{\n type: Component,\n args: [{\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-message',\n exportAs: 'nzMessage',\n preserveWhitespaces: false,\n animations: [moveUpMotion],\n template: `\n <div\n class=\"ant-message-notice\"\n [@moveUpMotion]=\"instance.state\"\n (@moveUpMotion.done)=\"animationStateChanged.next($event)\"\n (mouseenter)=\"onEnter()\"\n (mouseleave)=\"onLeave()\"\n >\n <div class=\"ant-message-notice-content\">\n <div class=\"ant-message-custom-content\" [ngClass]=\"'ant-message-' + instance.type\">\n @switch (instance.type) {\n @case ('success') {\n <span nz-icon nzType=\"check-circle\"></span>\n }\n @case ('info') {\n <span nz-icon nzType=\"info-circle\"></span>\n }\n @case ('warning') {\n <span nz-icon nzType=\"exclamation-circle\"></span>\n }\n @case ('error') {\n <span nz-icon nzType=\"close-circle\"></span>\n }\n @case ('loading') {\n <span nz-icon nzType=\"loading\"></span>\n }\n }\n <ng-container *nzStringTemplateOutlet=\"instance.content\">\n <span [innerHTML]=\"instance.content\"></span>\n </ng-container>\n </div>\n </div>\n </div>\n `,\n imports: [NgClass, NzIconModule, NzOutletModule],\n standalone: true\n }]\n }], () => [{\n type: i0.ChangeDetectorRef\n }], {\n instance: [{\n type: Input\n }],\n destroyed: [{\n type: Output\n }]\n });\n})();\nconst NZ_CONFIG_COMPONENT_NAME = 'message';\nconst NZ_MESSAGE_DEFAULT_CONFIG = {\n nzAnimate: true,\n nzDuration: 3000,\n nzMaxStack: 7,\n nzPauseOnHover: true,\n nzTop: 24,\n nzDirection: 'ltr'\n};\nclass NzMessageContainerComponent extends NzMNContainerComponent {\n constructor(cdr, nzConfigService) {\n super(cdr, nzConfigService);\n this.dir = 'ltr';\n const config = this.nzConfigService.getConfigForComponent(NZ_CONFIG_COMPONENT_NAME);\n this.dir = (config === null || config === void 0 ? void 0 : config.nzDirection) || 'ltr';\n }\n subscribeConfigChange() {\n this.nzConfigService.getConfigChangeEventForComponent(NZ_CONFIG_COMPONENT_NAME).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.updateConfig();\n const config = this.nzConfigService.getConfigForComponent(NZ_CONFIG_COMPONENT_NAME);\n if (config) {\n const {\n nzDirection\n } = config;\n this.dir = nzDirection || this.dir;\n }\n });\n }\n updateConfig() {\n this.config = {\n ...NZ_MESSAGE_DEFAULT_CONFIG,\n ...this.config,\n ...this.nzConfigService.getConfigForComponent(NZ_CONFIG_COMPONENT_NAME)\n };\n this.top = toCssPixel(this.config.nzTop);\n this.cdr.markForCheck();\n }\n}\n_NzMessageContainerComponent = NzMessageContainerComponent;\n_NzMessageContainerComponent.ɵfac = function _NzMessageContainerComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzMessageContainerComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.NzConfigService));\n};\n_NzMessageContainerComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzMessageContainerComponent,\n selectors: [[\"nz-message-container\"]],\n exportAs: [\"nzMessageContainer\"],\n standalone: true,\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n decls: 3,\n vars: 4,\n consts: [[1, \"ant-message\"], [3, \"instance\"], [3, \"destroyed\", \"instance\"]],\n template: function _NzMessageContainerComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵrepeaterCreate(1, _NzMessageContainerComponent_For_2_Template, 1, 1, \"nz-message\", 1, i0.ɵɵrepeaterTrackByIdentity);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"top\", ctx.top);\n i0.ɵɵclassProp(\"ant-message-rtl\", ctx.dir === \"rtl\");\n i0.ɵɵadvance();\n i0.ɵɵrepeater(ctx.instances);\n }\n },\n dependencies: [NzMessageComponent],\n encapsulation: 2,\n changeDetection: 0\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzMessageContainerComponent, [{\n type: Component,\n args: [{\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-message-container',\n exportAs: 'nzMessageContainer',\n preserveWhitespaces: false,\n template: `\n <div class=\"ant-message\" [class.ant-message-rtl]=\"dir === 'rtl'\" [style.top]=\"top\">\n @for (instance of instances; track instance) {\n <nz-message [instance]=\"instance\" (destroyed)=\"remove($event.id, $event.userAction)\"></nz-message>\n }\n </div>\n `,\n imports: [NzMessageComponent],\n standalone: true\n }]\n }], () => [{\n type: i0.ChangeDetectorRef\n }, {\n type: i1.NzConfigService\n }], 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 */\nclass NzMessageModule {}\n_NzMessageModule = NzMessageModule;\n_NzMessageModule.ɵfac = function _NzMessageModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzMessageModule)();\n};\n_NzMessageModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: _NzMessageModule\n});\n_NzMessageModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [NzMessageContainerComponent, NzMessageComponent]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzMessageModule, [{\n type: NgModule,\n args: [{\n imports: [NzMessageContainerComponent, NzMessageComponent]\n }]\n }], null, null);\n})();\nclass NzMessageService extends NzMNService {\n constructor(nzSingletonService, overlay, injector) {\n super(nzSingletonService, overlay, injector);\n this.componentPrefix = 'message-';\n }\n success(content, options) {\n return this.createInstance({\n type: 'success',\n content\n }, options);\n }\n error(content, options) {\n return this.createInstance({\n type: 'error',\n content\n }, options);\n }\n info(content, options) {\n return this.createInstance({\n type: 'info',\n content\n }, options);\n }\n warning(content, options) {\n return this.createInstance({\n type: 'warning',\n content\n }, options);\n }\n loading(content, options) {\n return this.createInstance({\n type: 'loading',\n content\n }, options);\n }\n create(type, content, options) {\n return this.createInstance({\n type,\n content\n }, options);\n }\n createInstance(message, options) {\n this.container = this.withContainer(NzMessageContainerComponent);\n return this.container.create({\n ...message,\n ...{\n createdAt: new Date(),\n messageId: this.getInstanceId(),\n options\n }\n });\n }\n}\n_NzMessageService = NzMessageService;\n_NzMessageService.ɵfac = function _NzMessageService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzMessageService)(i0.ɵɵinject(i1$2.NzSingletonService), i0.ɵɵinject(i2$1.Overlay), i0.ɵɵinject(i0.Injector));\n};\n_NzMessageService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: _NzMessageService,\n factory: _NzMessageService.ɵfac,\n providedIn: 'root'\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzMessageService, [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], () => [{\n type: i1$2.NzSingletonService\n }, {\n type: i2$1.Overlay\n }, {\n type: i0.Injector\n }], 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 * 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 { NzMNComponent, NzMNContainerComponent, NzMNService, NzMessageComponent, NzMessageContainerComponent, NzMessageModule, NzMessageService };","map":{"version":3,"names":["i0","ɵɵelement","_NzMessageComponent_Case_4_Template","rf","ctx","_NzMessageComponent_Case_5_Template","_NzMessageComponent_Case_6_Template","_NzMessageComponent_Case_7_Template","_NzMessageComponent_ng_container_8_Template","ɵɵelementContainerStart","ɵɵelementContainerEnd","ctx_r0","ɵɵnextContext","ɵɵadvance","ɵɵproperty","instance","content","ɵɵsanitizeHtml","_NzMessageContainerComponent_For_2_Template","_r1","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","_NzMessageContainerComponent_For_2_Template_nz_message_destroyed_0_listener","$event","ɵɵrestoreView","ctx_r1","ɵɵresetView","remove","id","userAction","ɵɵelementEnd","instance_r3","$implicit","ComponentPortal","Directive","EventEmitter","Component","ChangeDetectionStrategy","ViewEncapsulation","Input","Output","NgModule","Injectable","Subject","filter","take","takeUntil","i1","toCssPixel","NgClass","moveUpMotion","i2","NzOutletModule","i1$1","NzIconModule","i1$2","i2$1","globalCounter","NzMNService","constructor","nzSingletonService","overlay","injector","container","removeAll","getInstanceId","componentPrefix","withContainer","ctor","containerInstance","getSingletonWithKey","overlayRef","create","hasBackdrop","scrollStrategy","scrollStrategies","noop","positionStrategy","position","global","componentPortal","componentRef","attach","overlayWrapper","hostElement","style","zIndex","registerSingletonWithKey","afterAllInstancesRemoved","subscribe","undefined","unregisterSingletonWithKey","dispose","NzMNContainerComponent","cdr","nzConfigService","instances","_afterAllInstancesRemoved","asObservable","destroy$","updateConfig","ngOnInit","subscribeConfigChange","ngOnDestroy","next","complete","data","onCreate","length","config","nzMaxStack","slice","readyInstances","map","index","messageId","forEach","splice","onRemove","onAllInstancesRemoved","i","options","mergeOptions","onClose","detectChanges","nzDuration","nzAnimate","nzPauseOnHover","_NzMNContainerComponent","ɵfac","_NzMNContainerComponent_Factory","__ngFactoryType__","ɵɵdirectiveInject","ChangeDetectorRef","NzConfigService","ɵdir","ɵɵdefineDirective","type","ngDevMode","ɵsetClassMetadata","NzMNComponent","destroyed","animationStateChanged","state","pipe","event","phaseName","toState","clearTimeout","closeTimer","autoClose","initErase","startEraseTimeout","clearEraseTimeout","onEnter","updateTTL","onLeave","destroy","setTimeout","eraseTTL","eraseTimingStart","Date","now","eraseTimer","_NzMNComponent","_NzMNComponent_Factory","NzMessageComponent","_NzMessageComponent","_NzMessageComponent_Factory","ɵcmp","ɵɵdefineComponent","selectors","inputs","outputs","exportAs","standalone","features","ɵɵInheritDefinitionFeature","ɵɵStandaloneFeature","decls","vars","consts","template","_NzMessageComponent_Template","_NzMessageComponent_Template_div_animation_moveUpMotion_done_0_listener","_NzMessageComponent_Template_div_mouseenter_0_listener","_NzMessageComponent_Template_div_mouseleave_0_listener","ɵɵtemplate","_NzMessageComponent_Case_3_Template","tmp_2_0","ɵɵconditional","dependencies","NzIconDirective","NzStringTemplateOutletDirective","encapsulation","animation","changeDetection","args","OnPush","None","selector","preserveWhitespaces","animations","imports","NZ_CONFIG_COMPONENT_NAME","NZ_MESSAGE_DEFAULT_CONFIG","nzTop","nzDirection","NzMessageContainerComponent","dir","getConfigForComponent","getConfigChangeEventForComponent","top","markForCheck","_NzMessageContainerComponent","_NzMessageContainerComponent_Factory","_NzMessageContainerComponent_Template","ɵɵrepeaterCreate","ɵɵrepeaterTrackByIdentity","ɵɵstyleProp","ɵɵclassProp","ɵɵrepeater","NzMessageModule","_NzMessageModule","_NzMessageModule_Factory","ɵmod","ɵɵdefineNgModule","ɵinj","ɵɵdefineInjector","NzMessageService","success","createInstance","error","info","warning","loading","message","createdAt","_NzMessageService","_NzMessageService_Factory","ɵɵinject","NzSingletonService","Overlay","Injector","ɵprov","ɵɵdefineInjectable","token","factory","providedIn"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-message.mjs"],"sourcesContent":["import { ComponentPortal } from '@angular/cdk/portal';\nimport * as i0 from '@angular/core';\nimport { Directive, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, NgModule, Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { filter, take, takeUntil } from 'rxjs/operators';\nimport * as i1 from 'ng-zorro-antd/core/config';\nimport { toCssPixel } from 'ng-zorro-antd/core/util';\nimport { NgClass } from '@angular/common';\nimport { moveUpMotion } from 'ng-zorro-antd/core/animation';\nimport * as i2 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i1$1 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport * as i1$2 from 'ng-zorro-antd/core/services';\nimport * as i2$1 from '@angular/cdk/overlay';\n\nlet globalCounter = 0;\nclass NzMNService {\n constructor(nzSingletonService, overlay, injector) {\n this.nzSingletonService = nzSingletonService;\n this.overlay = overlay;\n this.injector = injector;\n }\n remove(id) {\n if (this.container) {\n if (id) {\n this.container.remove(id);\n }\n else {\n this.container.removeAll();\n }\n }\n }\n getInstanceId() {\n return `${this.componentPrefix}-${globalCounter++}`;\n }\n withContainer(ctor) {\n let containerInstance = this.nzSingletonService.getSingletonWithKey(this.componentPrefix);\n if (containerInstance) {\n return containerInstance;\n }\n const overlayRef = this.overlay.create({\n hasBackdrop: false,\n scrollStrategy: this.overlay.scrollStrategies.noop(),\n positionStrategy: this.overlay.position().global()\n });\n const componentPortal = new ComponentPortal(ctor, null, this.injector);\n const componentRef = overlayRef.attach(componentPortal);\n const overlayWrapper = overlayRef.hostElement;\n overlayWrapper.style.zIndex = '1010';\n if (!containerInstance) {\n this.container = containerInstance = componentRef.instance;\n this.nzSingletonService.registerSingletonWithKey(this.componentPrefix, containerInstance);\n this.container.afterAllInstancesRemoved.subscribe(() => {\n this.container = undefined;\n this.nzSingletonService.unregisterSingletonWithKey(this.componentPrefix);\n overlayRef.dispose();\n });\n }\n return containerInstance;\n }\n}\nclass NzMNContainerComponent {\n constructor(cdr, nzConfigService) {\n this.cdr = cdr;\n this.nzConfigService = nzConfigService;\n this.instances = [];\n this._afterAllInstancesRemoved = new Subject();\n this.afterAllInstancesRemoved = this._afterAllInstancesRemoved.asObservable();\n this.destroy$ = new Subject();\n this.updateConfig();\n }\n ngOnInit() {\n this.subscribeConfigChange();\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n create(data) {\n const instance = this.onCreate(data);\n if (this.instances.length >= this.config.nzMaxStack) {\n this.instances = this.instances.slice(1);\n }\n this.instances = [...this.instances, instance];\n this.readyInstances();\n return instance;\n }\n remove(id, userAction = false) {\n this.instances\n .map((instance, index) => ({ index, instance }))\n .filter(({ instance }) => instance.messageId === id)\n .forEach(({ index, instance }) => {\n this.instances.splice(index, 1);\n this.instances = [...this.instances];\n this.onRemove(instance, userAction);\n this.readyInstances();\n });\n if (!this.instances.length) {\n this.onAllInstancesRemoved();\n }\n }\n removeAll() {\n this.instances.forEach(i => this.onRemove(i, false));\n this.instances = [];\n this.readyInstances();\n this.onAllInstancesRemoved();\n }\n onCreate(instance) {\n instance.options = this.mergeOptions(instance.options);\n instance.onClose = new Subject();\n return instance;\n }\n onRemove(instance, userAction) {\n instance.onClose.next(userAction);\n instance.onClose.complete();\n }\n onAllInstancesRemoved() {\n this._afterAllInstancesRemoved.next();\n this._afterAllInstancesRemoved.complete();\n }\n readyInstances() {\n this.cdr.detectChanges();\n }\n mergeOptions(options) {\n const { nzDuration, nzAnimate, nzPauseOnHover } = this.config;\n return { nzDuration, nzAnimate, nzPauseOnHover, ...options };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMNContainerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NzConfigService }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzMNContainerComponent, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMNContainerComponent, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.NzConfigService }] });\nclass NzMNComponent {\n constructor(cdr) {\n this.cdr = cdr;\n this.destroyed = new EventEmitter();\n this.animationStateChanged = new Subject();\n this.userAction = false;\n }\n ngOnInit() {\n this.options = this.instance.options;\n if (this.options.nzAnimate) {\n this.instance.state = 'enter';\n this.animationStateChanged\n .pipe(filter(event => event.phaseName === 'done' && event.toState === 'leave'), take(1))\n .subscribe(() => {\n clearTimeout(this.closeTimer);\n this.destroyed.next({ id: this.instance.messageId, userAction: this.userAction });\n });\n }\n this.autoClose = this.options.nzDuration > 0;\n if (this.autoClose) {\n this.initErase();\n this.startEraseTimeout();\n }\n }\n ngOnDestroy() {\n if (this.autoClose) {\n this.clearEraseTimeout();\n }\n this.animationStateChanged.complete();\n }\n onEnter() {\n if (this.autoClose && this.options.nzPauseOnHover) {\n this.clearEraseTimeout();\n this.updateTTL();\n }\n }\n onLeave() {\n if (this.autoClose && this.options.nzPauseOnHover) {\n this.startEraseTimeout();\n }\n }\n destroy(userAction = false) {\n this.userAction = userAction;\n if (this.options.nzAnimate) {\n this.instance.state = 'leave';\n this.cdr.detectChanges();\n this.closeTimer = setTimeout(() => {\n this.closeTimer = undefined;\n this.destroyed.next({ id: this.instance.messageId, userAction });\n }, 200);\n }\n else {\n this.destroyed.next({ id: this.instance.messageId, userAction });\n }\n }\n initErase() {\n this.eraseTTL = this.options.nzDuration;\n this.eraseTimingStart = Date.now();\n }\n updateTTL() {\n if (this.autoClose) {\n this.eraseTTL -= Date.now() - this.eraseTimingStart;\n }\n }\n startEraseTimeout() {\n if (this.eraseTTL > 0) {\n this.clearEraseTimeout();\n this.eraseTimer = setTimeout(() => this.destroy(), this.eraseTTL);\n this.eraseTimingStart = Date.now();\n }\n else {\n this.destroy();\n }\n }\n clearEraseTimeout() {\n if (this.eraseTimer !== null) {\n clearTimeout(this.eraseTimer);\n this.eraseTimer = undefined;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMNComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzMNComponent, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMNComponent, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }] });\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 NzMessageComponent extends NzMNComponent {\n constructor(cdr) {\n super(cdr);\n this.destroyed = new EventEmitter();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"18.2.1\", type: NzMessageComponent, isStandalone: true, selector: \"nz-message\", inputs: { instance: \"instance\" }, outputs: { destroyed: \"destroyed\" }, exportAs: [\"nzMessage\"], usesInheritance: true, ngImport: i0, template: `\n <div\n class=\"ant-message-notice\"\n [@moveUpMotion]=\"instance.state\"\n (@moveUpMotion.done)=\"animationStateChanged.next($event)\"\n (mouseenter)=\"onEnter()\"\n (mouseleave)=\"onLeave()\"\n >\n <div class=\"ant-message-notice-content\">\n <div class=\"ant-message-custom-content\" [ngClass]=\"'ant-message-' + instance.type\">\n @switch (instance.type) {\n @case ('success') {\n <span nz-icon nzType=\"check-circle\"></span>\n }\n @case ('info') {\n <span nz-icon nzType=\"info-circle\"></span>\n }\n @case ('warning') {\n <span nz-icon nzType=\"exclamation-circle\"></span>\n }\n @case ('error') {\n <span nz-icon nzType=\"close-circle\"></span>\n }\n @case ('loading') {\n <span nz-icon nzType=\"loading\"></span>\n }\n }\n <ng-container *nzStringTemplateOutlet=\"instance.content\">\n <span [innerHTML]=\"instance.content\"></span>\n </ng-container>\n </div>\n </div>\n </div>\n `, isInline: true, dependencies: [{ kind: \"directive\", type: NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"ngmodule\", type: NzIconModule }, { kind: \"directive\", type: i1$1.NzIconDirective, selector: \"[nz-icon]\", inputs: [\"nzSpin\", \"nzRotate\", \"nzType\", \"nzTheme\", \"nzTwotoneColor\", \"nzIconfont\"], exportAs: [\"nzIcon\"] }, { kind: \"ngmodule\", type: NzOutletModule }, { kind: \"directive\", type: i2.NzStringTemplateOutletDirective, selector: \"[nzStringTemplateOutlet]\", inputs: [\"nzStringTemplateOutletContext\", \"nzStringTemplateOutlet\"], exportAs: [\"nzStringTemplateOutlet\"] }], animations: [moveUpMotion], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageComponent, decorators: [{\n type: Component,\n args: [{\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-message',\n exportAs: 'nzMessage',\n preserveWhitespaces: false,\n animations: [moveUpMotion],\n template: `\n <div\n class=\"ant-message-notice\"\n [@moveUpMotion]=\"instance.state\"\n (@moveUpMotion.done)=\"animationStateChanged.next($event)\"\n (mouseenter)=\"onEnter()\"\n (mouseleave)=\"onLeave()\"\n >\n <div class=\"ant-message-notice-content\">\n <div class=\"ant-message-custom-content\" [ngClass]=\"'ant-message-' + instance.type\">\n @switch (instance.type) {\n @case ('success') {\n <span nz-icon nzType=\"check-circle\"></span>\n }\n @case ('info') {\n <span nz-icon nzType=\"info-circle\"></span>\n }\n @case ('warning') {\n <span nz-icon nzType=\"exclamation-circle\"></span>\n }\n @case ('error') {\n <span nz-icon nzType=\"close-circle\"></span>\n }\n @case ('loading') {\n <span nz-icon nzType=\"loading\"></span>\n }\n }\n <ng-container *nzStringTemplateOutlet=\"instance.content\">\n <span [innerHTML]=\"instance.content\"></span>\n </ng-container>\n </div>\n </div>\n </div>\n `,\n imports: [NgClass, NzIconModule, NzOutletModule],\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { instance: [{\n type: Input\n }], destroyed: [{\n type: Output\n }] } });\n\nconst NZ_CONFIG_COMPONENT_NAME = 'message';\nconst NZ_MESSAGE_DEFAULT_CONFIG = {\n nzAnimate: true,\n nzDuration: 3000,\n nzMaxStack: 7,\n nzPauseOnHover: true,\n nzTop: 24,\n nzDirection: 'ltr'\n};\nclass NzMessageContainerComponent extends NzMNContainerComponent {\n constructor(cdr, nzConfigService) {\n super(cdr, nzConfigService);\n this.dir = 'ltr';\n const config = this.nzConfigService.getConfigForComponent(NZ_CONFIG_COMPONENT_NAME);\n this.dir = config?.nzDirection || 'ltr';\n }\n subscribeConfigChange() {\n this.nzConfigService\n .getConfigChangeEventForComponent(NZ_CONFIG_COMPONENT_NAME)\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n this.updateConfig();\n const config = this.nzConfigService.getConfigForComponent(NZ_CONFIG_COMPONENT_NAME);\n if (config) {\n const { nzDirection } = config;\n this.dir = nzDirection || this.dir;\n }\n });\n }\n updateConfig() {\n this.config = {\n ...NZ_MESSAGE_DEFAULT_CONFIG,\n ...this.config,\n ...this.nzConfigService.getConfigForComponent(NZ_CONFIG_COMPONENT_NAME)\n };\n this.top = toCssPixel(this.config.nzTop);\n this.cdr.markForCheck();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageContainerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NzConfigService }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"18.2.1\", type: NzMessageContainerComponent, isStandalone: true, selector: \"nz-message-container\", exportAs: [\"nzMessageContainer\"], usesInheritance: true, ngImport: i0, template: `\n <div class=\"ant-message\" [class.ant-message-rtl]=\"dir === 'rtl'\" [style.top]=\"top\">\n @for (instance of instances; track instance) {\n <nz-message [instance]=\"instance\" (destroyed)=\"remove($event.id, $event.userAction)\"></nz-message>\n }\n </div>\n `, isInline: true, dependencies: [{ kind: \"component\", type: NzMessageComponent, selector: \"nz-message\", inputs: [\"instance\"], outputs: [\"destroyed\"], exportAs: [\"nzMessage\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageContainerComponent, decorators: [{\n type: Component,\n args: [{\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-message-container',\n exportAs: 'nzMessageContainer',\n preserveWhitespaces: false,\n template: `\n <div class=\"ant-message\" [class.ant-message-rtl]=\"dir === 'rtl'\" [style.top]=\"top\">\n @for (instance of instances; track instance) {\n <nz-message [instance]=\"instance\" (destroyed)=\"remove($event.id, $event.userAction)\"></nz-message>\n }\n </div>\n `,\n imports: [NzMessageComponent],\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.NzConfigService }] });\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 NzMessageModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageModule, imports: [NzMessageContainerComponent, NzMessageComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageModule, imports: [NzMessageContainerComponent, NzMessageComponent] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [NzMessageContainerComponent, NzMessageComponent]\n }]\n }] });\n\nclass NzMessageService extends NzMNService {\n constructor(nzSingletonService, overlay, injector) {\n super(nzSingletonService, overlay, injector);\n this.componentPrefix = 'message-';\n }\n success(content, options) {\n return this.createInstance({ type: 'success', content }, options);\n }\n error(content, options) {\n return this.createInstance({ type: 'error', content }, options);\n }\n info(content, options) {\n return this.createInstance({ type: 'info', content }, options);\n }\n warning(content, options) {\n return this.createInstance({ type: 'warning', content }, options);\n }\n loading(content, options) {\n return this.createInstance({ type: 'loading', content }, options);\n }\n create(type, content, options) {\n return this.createInstance({ type, content }, options);\n }\n createInstance(message, options) {\n this.container = this.withContainer(NzMessageContainerComponent);\n return this.container.create({\n ...message,\n ...{\n createdAt: new Date(),\n messageId: this.getInstanceId(),\n options\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageService, deps: [{ token: i1$2.NzSingletonService }, { token: i2$1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzMessageService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }], ctorParameters: () => [{ type: i1$2.NzSingletonService }, { type: i2$1.Overlay }, { type: i0.Injector }] });\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 * 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 { NzMNComponent, NzMNContainerComponent, NzMNService, NzMessageComponent, NzMessageContainerComponent, NzMessageModule, NzMessageService };\n"],"mappings":";;;IAmIiFA,EAAE,CAAAC,SAAA,aAgH3B,CAAC;EAAA;AAAA;AAAA,SAAAC,oCAAAC,EAAA,EAAAC,GAAA;EAAA,IAAAD,EAAA;IAhHwBH,EAAE,CAAAC,SAAA,aAmH5B,CAAC;EAAA;AAAA;AAAA,SAAAI,oCAAAF,EAAA,EAAAC,GAAA;EAAA,IAAAD,EAAA;IAnHyBH,EAAE,CAAAC,SAAA,aAsHrB,CAAC;EAAA;AAAA;AAAA,SAAAK,oCAAAH,EAAA,EAAAC,GAAA;EAAA,IAAAD,EAAA;IAtHkBH,EAAE,CAAAC,SAAA,aAyH3B,CAAC;EAAA;AAAA;AAAA,SAAAM,oCAAAJ,EAAA,EAAAC,GAAA;EAAA,IAAAD,EAAA;IAzHwBH,EAAE,CAAAC,SAAA,aA4HhC,CAAC;EAAA;AAAA;AAAA,SAAAO,4CAAAL,EAAA,EAAAC,GAAA;EAAA,IAAAD,EAAA;IA5H6BH,EAAE,CAAAS,uBAAA,EA+HjB,CAAC;IA/HcT,EAAE,CAAAC,SAAA,aAgI5B,CAAC;IAhIyBD,EAAE,CAAAU,qBAAA;EAAA;EAAA,IAAAP,EAAA;IAAA,MAAAQ,MAAA,GAAFX,EAAE,CAAAY,aAAA;IAAFZ,EAAE,CAAAa,SAAA,CAgIpC,CAAC;IAhIiCb,EAAE,CAAAc,UAAA,cAAAH,MAAA,CAAAI,QAAA,CAAAC,OAAA,EAAFhB,EAAE,CAAAiB,cAgIpC,CAAC;EAAA;AAAA;AAAA,SAAAC,4CAAAf,EAAA,EAAAC,GAAA;EAAA,IAAAD,EAAA;IAAA,MAAAgB,GAAA,GA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