34b95d2357f45aa7e1d38046bde8c598cdb5e02521209b92fa1d6750539b0efc.json 242 KB

1
  1. {"ast":null,"code":"import _asyncToGenerator from \"F:/workspace/202226701027/huinongbao-app/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";\nvar _NzModalCloseComponent, _BaseModalContainerComponent, _NzModalConfirmContainerComponent, _NzModalFooterComponent, _NzModalTitleComponent, _NzModalContainerComponent, _NzModalService, _NzModalContentDirective, _NzModalFooterDirective, _NzModalTitleDirective, _NzModalComponent, _NzModalModule;\nconst _c0 = [\"nz-modal-close\", \"\"];\nfunction _NzModalCloseComponent_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelement(1, \"span\", 2);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const closeIcon_r1 = ctx.$implicit;\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"nzType\", closeIcon_r1);\n }\n}\nconst _c1 = [\"modalElement\"];\nfunction _NzModalConfirmContainerComponent_Conditional_4_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 16);\n i0.ɵɵlistener(\"click\", function _NzModalConfirmContainerComponent_Conditional_4_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onCloseClick());\n });\n i0.ɵɵelementEnd();\n }\n}\nfunction _NzModalConfirmContainerComponent_ng_container_10_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelement(1, \"span\", 12);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"innerHTML\", ctx_r1.config.nzTitle, i0.ɵɵsanitizeHtml);\n }\n}\nfunction _NzModalConfirmContainerComponent_ng_template_12_Template(rf, ctx) {}\nfunction _NzModalConfirmContainerComponent_Conditional_13_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", 12);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"innerHTML\", ctx_r1.config.nzContent, i0.ɵɵsanitizeHtml);\n }\n}\nfunction _NzModalConfirmContainerComponent_Conditional_15_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 17);\n i0.ɵɵlistener(\"click\", function _NzModalConfirmContainerComponent_Conditional_15_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onCancel());\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"nzLoading\", ctx_r1.config.nzCancelLoading)(\"disabled\", ctx_r1.config.nzCancelDisabled);\n i0.ɵɵattribute(\"cdkFocusInitial\", ctx_r1.config.nzAutofocus === \"cancel\" || null);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", ctx_r1.config.nzCancelText || ctx_r1.locale.cancelText, \" \");\n }\n}\nfunction _NzModalConfirmContainerComponent_Conditional_16_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 18);\n i0.ɵɵlistener(\"click\", function _NzModalConfirmContainerComponent_Conditional_16_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r4);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onOk());\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"nzType\", ctx_r1.config.nzOkType)(\"nzLoading\", ctx_r1.config.nzOkLoading)(\"disabled\", ctx_r1.config.nzOkDisabled)(\"nzDanger\", ctx_r1.config.nzOkDanger);\n i0.ɵɵattribute(\"cdkFocusInitial\", ctx_r1.config.nzAutofocus === \"ok\" || null);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", ctx_r1.config.nzOkText || ctx_r1.locale.okText, \" \");\n }\n}\nconst _c2 = [\"nz-modal-footer\", \"\"];\nconst _c3 = (a0, a1) => ({\n $implicit: a0,\n modalRef: a1\n});\nfunction _NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_1_For_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 3);\n i0.ɵɵlistener(\"click\", function _NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_1_For_1_Template_button_click_0_listener() {\n const button_r2 = i0.ɵɵrestoreView(_r1).$implicit;\n const ctx_r2 = i0.ɵɵnextContext(4);\n return i0.ɵɵresetView(ctx_r2.onButtonClick(button_r2));\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const button_r2 = ctx.$implicit;\n const ctx_r2 = i0.ɵɵnextContext(4);\n i0.ɵɵproperty(\"hidden\", !ctx_r2.getButtonCallableProp(button_r2, \"show\"))(\"nzLoading\", ctx_r2.getButtonCallableProp(button_r2, \"loading\"))(\"disabled\", ctx_r2.getButtonCallableProp(button_r2, \"disabled\"))(\"nzType\", button_r2.type)(\"nzDanger\", button_r2.danger)(\"nzShape\", button_r2.shape)(\"nzSize\", button_r2.size)(\"nzGhost\", button_r2.ghost);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", button_r2.label, \" \");\n }\n}\nfunction _NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵrepeaterCreate(0, _NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_1_For_1_Template, 2, 9, \"button\", 2, i0.ɵɵrepeaterTrackByIdentity);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵrepeater(ctx_r2.buttons);\n }\n}\nfunction _NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", 1);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"innerHTML\", ctx_r2.config.nzFooter, i0.ɵɵsanitizeHtml);\n }\n}\nfunction _NzModalFooterComponent_Conditional_0_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, _NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_1_Template, 2, 0)(2, _NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_2_Template, 1, 1, \"div\", 1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx_r2.buttonsFooter ? 1 : 2);\n }\n}\nfunction _NzModalFooterComponent_Conditional_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, _NzModalFooterComponent_Conditional_0_ng_container_0_Template, 3, 1, \"ng-container\", 0);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx_r2.config.nzFooter)(\"nzStringTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c3, ctx_r2.config.nzData, ctx_r2.modalRef));\n }\n}\nfunction _NzModalFooterComponent_Conditional_1_Conditional_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 6);\n i0.ɵɵlistener(\"click\", function _NzModalFooterComponent_Conditional_1_Conditional_0_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r4);\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.onCancel());\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"nzLoading\", ctx_r2.config.nzCancelLoading)(\"disabled\", ctx_r2.config.nzCancelDisabled);\n i0.ɵɵattribute(\"cdkFocusInitial\", ctx_r2.config.nzAutofocus === \"cancel\" || null);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", ctx_r2.config.nzCancelText || ctx_r2.locale.cancelText, \" \");\n }\n}\nfunction _NzModalFooterComponent_Conditional_1_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 7);\n i0.ɵɵlistener(\"click\", function _NzModalFooterComponent_Conditional_1_Conditional_1_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r5);\n const ctx_r2 = i0.ɵɵnextContext(2);\n return i0.ɵɵresetView(ctx_r2.onOk());\n });\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"nzType\", ctx_r2.config.nzOkType)(\"nzDanger\", ctx_r2.config.nzOkDanger)(\"nzLoading\", ctx_r2.config.nzOkLoading)(\"disabled\", ctx_r2.config.nzOkDisabled);\n i0.ɵɵattribute(\"cdkFocusInitial\", ctx_r2.config.nzAutofocus === \"ok\" || null);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", ctx_r2.config.nzOkText || ctx_r2.locale.okText, \" \");\n }\n}\nfunction _NzModalFooterComponent_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, _NzModalFooterComponent_Conditional_1_Conditional_0_Template, 2, 4, \"button\", 4)(1, _NzModalFooterComponent_Conditional_1_Conditional_1_Template, 2, 6, \"button\", 5);\n }\n if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵconditional(ctx_r2.config.nzCancelText !== null ? 0 : -1);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx_r2.config.nzOkText !== null ? 1 : -1);\n }\n}\nconst _c4 = [\"nz-modal-title\", \"\"];\nfunction _NzModalTitleComponent_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵelement(1, \"div\", 2);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"innerHTML\", ctx_r0.config.nzTitle, i0.ɵɵsanitizeHtml);\n }\n}\nfunction _NzModalContainerComponent_Conditional_4_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 9);\n i0.ɵɵlistener(\"click\", function _NzModalContainerComponent_Conditional_4_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r1);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onCloseClick());\n });\n i0.ɵɵelementEnd();\n }\n}\nfunction _NzModalContainerComponent_Conditional_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", 10);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵstyleProp(\"cursor\", ctx_r1.config.nzDraggable ? \"move\" : \"auto\");\n }\n}\nfunction _NzModalContainerComponent_ng_template_7_Template(rf, ctx) {}\nfunction _NzModalContainerComponent_Conditional_8_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", 7);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"innerHTML\", ctx_r1.config.nzContent, i0.ɵɵsanitizeHtml);\n }\n}\nfunction _NzModalContainerComponent_Conditional_9_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 11);\n i0.ɵɵlistener(\"cancelTriggered\", function _NzModalContainerComponent_Conditional_9_Template_div_cancelTriggered_0_listener() {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onCloseClick());\n })(\"okTriggered\", function _NzModalContainerComponent_Conditional_9_Template_div_okTriggered_0_listener() {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onOkClick());\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"modalRef\", ctx_r1.modalRef);\n }\n}\nimport * as i1 from '@angular/cdk/overlay';\nimport { OverlayRef, CdkScrollable, OverlayConfig } from '@angular/cdk/overlay';\nimport * as i5 from '@angular/cdk/portal';\nimport { BasePortalOutlet, CdkPortalOutlet, PortalModule, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Component, ChangeDetectionStrategy, EventEmitter, inject, ChangeDetectorRef, NgZone, ElementRef, Renderer2, ANIMATION_MODULE_TYPE, Directive, ViewChild, Output, Input, Injector, TemplateRef, Injectable, booleanAttribute, numberAttribute, ContentChild, NgModule } from '@angular/core';\nimport { Subject, fromEvent, defer } from 'rxjs';\nimport { takeUntil, filter, take, startWith } from 'rxjs/operators';\nimport { warn } from 'ng-zorro-antd/core/logger';\nimport { overlayZIndexSetter } from 'ng-zorro-antd/core/overlay';\nimport { getElementOffset, isNotNil, isPromise } from 'ng-zorro-antd/core/util';\nimport { DOCUMENT, NgClass, NgStyle } from '@angular/common';\nimport * as i6 from 'ng-zorro-antd/button';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport * as i3 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i1$1 from 'ng-zorro-antd/i18n';\nimport { NzI18nService } from 'ng-zorro-antd/i18n';\nimport * as i2 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport * as i2$1 from 'ng-zorro-antd/pipes';\nimport { NzPipesModule } from 'ng-zorro-antd/pipes';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport { FocusTrapFactory } from '@angular/cdk/a11y';\nimport * as i2$2 from 'ng-zorro-antd/core/config';\nimport { NzConfigService } from 'ng-zorro-antd/core/config';\nimport { reqAnimFrame } from 'ng-zorro-antd/core/polyfill';\nimport * as i7 from 'ng-zorro-antd/core/transition-patch';\nimport * as i8 from 'ng-zorro-antd/core/wave';\nimport { CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop';\nimport { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';\nimport * as i3$1 from '@angular/cdk/bidi';\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 */\nconst noopFun = () => void 0;\nclass ModalOptions {\n constructor() {\n this.nzCentered = false;\n this.nzClosable = true;\n this.nzOkLoading = false;\n this.nzOkDisabled = false;\n this.nzCancelDisabled = false;\n this.nzCancelLoading = false;\n this.nzDraggable = false;\n this.nzNoAnimation = false;\n this.nzAutofocus = 'auto';\n this.nzKeyboard = true;\n this.nzZIndex = 1000;\n this.nzWidth = 520;\n this.nzCloseIcon = 'close';\n this.nzOkType = 'primary';\n this.nzOkDanger = false;\n this.nzModalType = 'default';\n this.nzOnCancel = noopFun;\n this.nzOnOk = noopFun;\n // Confirm\n this.nzIconType = 'question-circle';\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 */\nconst ZOOM_CLASS_NAME_MAP = {\n enter: 'ant-zoom-enter',\n enterActive: 'ant-zoom-enter-active',\n leave: 'ant-zoom-leave',\n leaveActive: 'ant-zoom-leave-active'\n};\nconst FADE_CLASS_NAME_MAP = {\n enter: 'ant-fade-enter',\n enterActive: 'ant-fade-enter-active',\n leave: 'ant-fade-leave',\n leaveActive: 'ant-fade-leave-active'\n};\nconst MODAL_MASK_CLASS_NAME = 'ant-modal-mask';\nconst NZ_CONFIG_MODULE_NAME = 'modal';\nconst NZ_MODAL_DATA = new InjectionToken('NZ_MODAL_DATA');\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 */\nconst nzModalAnimations = {\n modalContainer: trigger('modalContainer', [state('void, exit', style({})), state('enter', style({})), transition('* => enter', animate('.24s', style({}))), transition('* => void, * => exit', animate('.2s', style({})))])\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 NzModalCloseComponent {\n constructor(config) {\n this.config = config;\n }\n}\n_NzModalCloseComponent = NzModalCloseComponent;\n_NzModalCloseComponent.ɵfac = function _NzModalCloseComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalCloseComponent)(i0.ɵɵdirectiveInject(ModalOptions));\n};\n_NzModalCloseComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzModalCloseComponent,\n selectors: [[\"button\", \"nz-modal-close\", \"\"]],\n hostAttrs: [\"aria-label\", \"Close\", 1, \"ant-modal-close\"],\n exportAs: [\"NzModalCloseBuiltin\"],\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n attrs: _c0,\n decls: 2,\n vars: 1,\n consts: [[1, \"ant-modal-close-x\"], [4, \"nzStringTemplateOutlet\"], [\"nz-icon\", \"\", 1, \"ant-modal-close-icon\", 3, \"nzType\"]],\n template: function _NzModalCloseComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 0);\n i0.ɵɵtemplate(1, _NzModalCloseComponent_ng_container_1_Template, 2, 1, \"ng-container\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx.config.nzCloseIcon);\n }\n },\n dependencies: [NzIconModule, i2.NzIconDirective, NzOutletModule, i3.NzStringTemplateOutletDirective],\n encapsulation: 2,\n changeDetection: 0\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalCloseComponent, [{\n type: Component,\n args: [{\n selector: 'button[nz-modal-close]',\n exportAs: 'NzModalCloseBuiltin',\n template: `\n <span class=\"ant-modal-close-x\">\n <ng-container *nzStringTemplateOutlet=\"config.nzCloseIcon; let closeIcon\">\n <span nz-icon [nzType]=\"closeIcon\" class=\"ant-modal-close-icon\"></span>\n </ng-container>\n </span>\n `,\n host: {\n class: 'ant-modal-close',\n 'aria-label': 'Close'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NzIconModule, NzOutletModule],\n standalone: true\n }]\n }], () => [{\n type: ModalOptions\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 */\nfunction applyConfigDefaults(config, defaultOptions) {\n return {\n ...defaultOptions,\n ...config\n };\n}\nfunction getValueWithConfig(userValue, configValue, defaultValue) {\n return typeof userValue === 'undefined' ? typeof configValue === 'undefined' ? defaultValue : configValue : userValue;\n}\nfunction getConfigFromComponent(component) {\n const {\n nzCentered,\n nzMask,\n nzMaskClosable,\n nzClosable,\n nzOkLoading,\n nzOkDisabled,\n nzCancelDisabled,\n nzCancelLoading,\n nzKeyboard,\n nzNoAnimation,\n nzDraggable,\n nzContent,\n nzFooter,\n nzZIndex,\n nzWidth,\n nzWrapClassName,\n nzClassName,\n nzStyle,\n nzTitle,\n nzCloseIcon,\n nzMaskStyle,\n nzBodyStyle,\n nzOkText,\n nzCancelText,\n nzOkType,\n nzOkDanger,\n nzIconType,\n nzModalType,\n nzOnOk,\n nzOnCancel,\n nzAfterOpen,\n nzAfterClose,\n nzCloseOnNavigation,\n nzAutofocus\n } = component;\n return {\n nzCentered,\n nzMask,\n nzMaskClosable,\n nzDraggable,\n nzClosable,\n nzOkLoading,\n nzOkDisabled,\n nzCancelDisabled,\n nzCancelLoading,\n nzKeyboard,\n nzNoAnimation,\n nzContent,\n nzFooter,\n nzZIndex,\n nzWidth,\n nzWrapClassName,\n nzClassName,\n nzStyle,\n nzTitle,\n nzCloseIcon,\n nzMaskStyle,\n nzBodyStyle,\n nzOkText,\n nzCancelText,\n nzOkType,\n nzOkDanger,\n nzIconType,\n nzModalType,\n nzOnOk,\n nzOnCancel,\n nzAfterOpen,\n nzAfterClose,\n nzCloseOnNavigation,\n nzAutofocus\n };\n}\nfunction throwNzModalContentAlreadyAttachedError() {\n throw Error('Attempting to attach modal content after content is already attached');\n}\nclass BaseModalContainerComponent extends BasePortalOutlet {\n get showMask() {\n const defaultConfig = this.nzConfigService.getConfigForComponent(NZ_CONFIG_MODULE_NAME) || {};\n return !!getValueWithConfig(this.config.nzMask, defaultConfig.nzMask, true);\n }\n get maskClosable() {\n const defaultConfig = this.nzConfigService.getConfigForComponent(NZ_CONFIG_MODULE_NAME) || {};\n return !!getValueWithConfig(this.config.nzMaskClosable, defaultConfig.nzMaskClosable, true);\n }\n constructor() {\n super();\n this.animationStateChanged = new EventEmitter();\n this.containerClick = new EventEmitter();\n this.cancelTriggered = new EventEmitter();\n this.okTriggered = new EventEmitter();\n this.state = 'enter';\n this.document = inject(DOCUMENT);\n this.isStringContent = false;\n this.dir = 'ltr';\n this.elementFocusedBeforeModalWasOpened = null;\n this.mouseDown = false;\n this.oldMaskStyle = null;\n this.cdr = inject(ChangeDetectorRef);\n this.config = inject(ModalOptions);\n this.destroy$ = new Subject();\n this.ngZone = inject(NgZone);\n this.host = inject(ElementRef);\n this.focusTrapFactory = inject(FocusTrapFactory);\n this.render = inject(Renderer2);\n this.overlayRef = inject(OverlayRef);\n this.nzConfigService = inject(NzConfigService);\n this.animationType = inject(ANIMATION_MODULE_TYPE, {\n optional: true\n });\n this.dir = this.overlayRef.getDirection();\n this.isStringContent = typeof this.config.nzContent === 'string';\n this.nzConfigService.getConfigChangeEventForComponent(NZ_CONFIG_MODULE_NAME).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.updateMaskClassname();\n });\n }\n onContainerClick(e) {\n if (e.target === e.currentTarget && !this.mouseDown && this.showMask && this.maskClosable) {\n this.containerClick.emit();\n }\n }\n onCloseClick() {\n this.cancelTriggered.emit();\n }\n onOkClick() {\n this.okTriggered.emit();\n }\n attachComponentPortal(portal) {\n if (this.portalOutlet.hasAttached()) {\n throwNzModalContentAlreadyAttachedError();\n }\n this.savePreviouslyFocusedElement();\n this.setZIndexForBackdrop();\n return this.portalOutlet.attachComponentPortal(portal);\n }\n attachTemplatePortal(portal) {\n if (this.portalOutlet.hasAttached()) {\n throwNzModalContentAlreadyAttachedError();\n }\n this.savePreviouslyFocusedElement();\n this.setZIndexForBackdrop();\n return this.portalOutlet.attachTemplatePortal(portal);\n }\n attachStringContent() {\n this.savePreviouslyFocusedElement();\n this.setZIndexForBackdrop();\n }\n getNativeElement() {\n return this.host.nativeElement;\n }\n animationDisabled() {\n return this.config.nzNoAnimation || this.animationType === 'NoopAnimations';\n }\n setModalTransformOrigin() {\n const modalElement = this.modalElementRef.nativeElement;\n if (this.elementFocusedBeforeModalWasOpened) {\n const previouslyDOMRect = this.elementFocusedBeforeModalWasOpened.getBoundingClientRect();\n const lastPosition = getElementOffset(this.elementFocusedBeforeModalWasOpened);\n const x = lastPosition.left + previouslyDOMRect.width / 2;\n const y = lastPosition.top + previouslyDOMRect.height / 2;\n const transformOrigin = `${x - modalElement.offsetLeft}px ${y - modalElement.offsetTop}px 0px`;\n this.render.setStyle(modalElement, 'transform-origin', transformOrigin);\n }\n }\n savePreviouslyFocusedElement() {\n if (!this.focusTrap) {\n this.focusTrap = this.focusTrapFactory.create(this.host.nativeElement);\n }\n if (this.document) {\n this.elementFocusedBeforeModalWasOpened = this.document.activeElement;\n if (this.host.nativeElement.focus) {\n this.ngZone.runOutsideAngular(() => reqAnimFrame(() => this.host.nativeElement.focus()));\n }\n }\n }\n trapFocus() {\n const element = this.host.nativeElement;\n if (this.config.nzAutofocus) {\n this.focusTrap.focusInitialElementWhenReady();\n } else {\n const activeElement = this.document.activeElement;\n if (activeElement !== element && !element.contains(activeElement)) {\n element.focus();\n }\n }\n }\n restoreFocus() {\n const toFocus = this.elementFocusedBeforeModalWasOpened;\n // We need the extra check, because IE can set the `activeElement` to null in some cases.\n if (toFocus && typeof toFocus.focus === 'function') {\n const activeElement = this.document.activeElement;\n const element = this.host.nativeElement;\n if (!activeElement || activeElement === this.document.body || activeElement === element || element.contains(activeElement)) {\n toFocus.focus();\n }\n }\n if (this.focusTrap) {\n this.focusTrap.destroy();\n }\n }\n setEnterAnimationClass() {\n if (this.animationDisabled()) {\n return;\n }\n // Make sure to set the `TransformOrigin` style before set the modelElement's class names\n this.setModalTransformOrigin();\n const modalElement = this.modalElementRef.nativeElement;\n const backdropElement = this.overlayRef.backdropElement;\n modalElement.classList.add(ZOOM_CLASS_NAME_MAP.enter);\n modalElement.classList.add(ZOOM_CLASS_NAME_MAP.enterActive);\n if (backdropElement) {\n backdropElement.classList.add(FADE_CLASS_NAME_MAP.enter);\n backdropElement.classList.add(FADE_CLASS_NAME_MAP.enterActive);\n }\n }\n setExitAnimationClass() {\n const modalElement = this.modalElementRef.nativeElement;\n modalElement.classList.add(ZOOM_CLASS_NAME_MAP.leave);\n modalElement.classList.add(ZOOM_CLASS_NAME_MAP.leaveActive);\n this.setMaskExitAnimationClass();\n }\n setMaskExitAnimationClass(force = false) {\n const backdropElement = this.overlayRef.backdropElement;\n if (backdropElement) {\n if (this.animationDisabled() || force) {\n // https://github.com/angular/components/issues/18645\n backdropElement.classList.remove(MODAL_MASK_CLASS_NAME);\n return;\n }\n backdropElement.classList.add(FADE_CLASS_NAME_MAP.leave);\n backdropElement.classList.add(FADE_CLASS_NAME_MAP.leaveActive);\n }\n }\n cleanAnimationClass() {\n if (this.animationDisabled()) {\n return;\n }\n const backdropElement = this.overlayRef.backdropElement;\n const modalElement = this.modalElementRef.nativeElement;\n if (backdropElement) {\n backdropElement.classList.remove(FADE_CLASS_NAME_MAP.enter);\n backdropElement.classList.remove(FADE_CLASS_NAME_MAP.enterActive);\n }\n modalElement.classList.remove(ZOOM_CLASS_NAME_MAP.enter);\n modalElement.classList.remove(ZOOM_CLASS_NAME_MAP.enterActive);\n modalElement.classList.remove(ZOOM_CLASS_NAME_MAP.leave);\n modalElement.classList.remove(ZOOM_CLASS_NAME_MAP.leaveActive);\n }\n setZIndexForBackdrop() {\n const backdropElement = this.overlayRef.backdropElement;\n if (backdropElement) {\n if (isNotNil(this.config.nzZIndex)) {\n this.render.setStyle(backdropElement, 'z-index', this.config.nzZIndex);\n }\n }\n }\n bindBackdropStyle() {\n const backdropElement = this.overlayRef.backdropElement;\n if (backdropElement) {\n if (this.oldMaskStyle) {\n const styles = this.oldMaskStyle;\n Object.keys(styles).forEach(key => {\n this.render.removeStyle(backdropElement, key);\n });\n this.oldMaskStyle = null;\n }\n this.setZIndexForBackdrop();\n if (typeof this.config.nzMaskStyle === 'object' && Object.keys(this.config.nzMaskStyle).length) {\n const styles = {\n ...this.config.nzMaskStyle\n };\n Object.keys(styles).forEach(key => {\n this.render.setStyle(backdropElement, key, styles[key]);\n });\n this.oldMaskStyle = styles;\n }\n }\n }\n updateMaskClassname() {\n const backdropElement = this.overlayRef.backdropElement;\n if (backdropElement) {\n if (this.showMask) {\n backdropElement.classList.add(MODAL_MASK_CLASS_NAME);\n } else {\n backdropElement.classList.remove(MODAL_MASK_CLASS_NAME);\n }\n }\n }\n onAnimationDone(event) {\n if (event.toState === 'enter') {\n this.trapFocus();\n } else if (event.toState === 'exit') {\n this.restoreFocus();\n }\n this.cleanAnimationClass();\n this.animationStateChanged.emit(event);\n }\n onAnimationStart(event) {\n if (event.toState === 'enter') {\n this.setEnterAnimationClass();\n this.bindBackdropStyle();\n } else if (event.toState === 'exit') {\n this.setExitAnimationClass();\n }\n this.animationStateChanged.emit(event);\n }\n startExitAnimation() {\n this.state = 'exit';\n this.cdr.markForCheck();\n }\n ngOnDestroy() {\n this.setMaskExitAnimationClass(true);\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n setupMouseListeners(modalContainer) {\n this.ngZone.runOutsideAngular(() => {\n fromEvent(this.host.nativeElement, 'mouseup').pipe(takeUntil(this.destroy$)).subscribe(() => {\n if (this.mouseDown) {\n setTimeout(() => {\n this.mouseDown = false;\n });\n }\n });\n fromEvent(modalContainer.nativeElement, 'mousedown').pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.mouseDown = true;\n });\n });\n }\n}\n_BaseModalContainerComponent = BaseModalContainerComponent;\n_BaseModalContainerComponent.ɵfac = function _BaseModalContainerComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _BaseModalContainerComponent)();\n};\n_BaseModalContainerComponent.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _BaseModalContainerComponent,\n features: [i0.ɵɵInheritDefinitionFeature]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(BaseModalContainerComponent, [{\n type: Directive\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 NzModalConfirmContainerComponent extends BaseModalContainerComponent {\n constructor() {\n super();\n this.cancelTriggered = new EventEmitter();\n this.okTriggered = new EventEmitter();\n this.i18n = inject(NzI18nService);\n this.i18n.localeChange.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.locale = this.i18n.getLocaleData('Modal');\n });\n }\n ngOnInit() {\n this.setupMouseListeners(this.modalElementRef);\n }\n onCancel() {\n this.cancelTriggered.emit();\n }\n onOk() {\n this.okTriggered.emit();\n }\n}\n_NzModalConfirmContainerComponent = NzModalConfirmContainerComponent;\n_NzModalConfirmContainerComponent.ɵfac = function _NzModalConfirmContainerComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalConfirmContainerComponent)();\n};\n_NzModalConfirmContainerComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzModalConfirmContainerComponent,\n selectors: [[\"nz-modal-confirm-container\"]],\n viewQuery: function _NzModalConfirmContainerComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(CdkPortalOutlet, 7);\n i0.ɵɵviewQuery(_c1, 7);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.portalOutlet = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalElementRef = _t.first);\n }\n },\n hostAttrs: [\"tabindex\", \"-1\", \"role\", \"dialog\"],\n hostVars: 10,\n hostBindings: function _NzModalConfirmContainerComponent_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵsyntheticHostListener(\"@modalContainer.start\", function _NzModalConfirmContainerComponent_animation_modalContainer_start_HostBindingHandler($event) {\n return ctx.onAnimationStart($event);\n })(\"@modalContainer.done\", function _NzModalConfirmContainerComponent_animation_modalContainer_done_HostBindingHandler($event) {\n return ctx.onAnimationDone($event);\n });\n i0.ɵɵlistener(\"click\", function _NzModalConfirmContainerComponent_click_HostBindingHandler($event) {\n return ctx.onContainerClick($event);\n });\n }\n if (rf & 2) {\n i0.ɵɵsyntheticHostProperty(\"@.disabled\", ctx.config.nzNoAnimation)(\"@modalContainer\", ctx.state);\n i0.ɵɵclassMap(ctx.config.nzWrapClassName ? \"ant-modal-wrap \" + ctx.config.nzWrapClassName : \"ant-modal-wrap\");\n i0.ɵɵstyleProp(\"z-index\", ctx.config.nzZIndex);\n i0.ɵɵclassProp(\"ant-modal-wrap-rtl\", ctx.dir === \"rtl\")(\"ant-modal-centered\", ctx.config.nzCentered);\n }\n },\n outputs: {\n cancelTriggered: \"cancelTriggered\",\n okTriggered: \"okTriggered\"\n },\n exportAs: [\"nzModalConfirmContainer\"],\n standalone: true,\n features: [i0.ɵɵHostDirectivesFeature([i1.CdkScrollable]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n decls: 17,\n vars: 13,\n consts: [[\"modalElement\", \"\"], [\"role\", \"document\", 1, \"ant-modal\", 3, \"ngClass\", \"ngStyle\"], [1, \"ant-modal-content\"], [\"nz-modal-close\", \"\"], [1, \"ant-modal-body\", 3, \"ngStyle\"], [1, \"ant-modal-confirm-body-wrapper\"], [1, \"ant-modal-confirm-body\"], [\"nz-icon\", \"\", 3, \"nzType\"], [1, \"ant-modal-confirm-title\"], [4, \"nzStringTemplateOutlet\"], [1, \"ant-modal-confirm-content\"], [\"cdkPortalOutlet\", \"\"], [3, \"innerHTML\"], [1, \"ant-modal-confirm-btns\"], [\"nz-button\", \"\", 3, \"nzLoading\", \"disabled\"], [\"nz-button\", \"\", 3, \"nzType\", \"nzLoading\", \"disabled\", \"nzDanger\"], [\"nz-modal-close\", \"\", 3, \"click\"], [\"nz-button\", \"\", 3, \"click\", \"nzLoading\", \"disabled\"], [\"nz-button\", \"\", 3, \"click\", \"nzType\", \"nzLoading\", \"disabled\", \"nzDanger\"]],\n template: function _NzModalConfirmContainerComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 1, 0);\n i0.ɵɵpipe(2, \"nzToCssUnit\");\n i0.ɵɵelementStart(3, \"div\", 2);\n i0.ɵɵtemplate(4, _NzModalConfirmContainerComponent_Conditional_4_Template, 1, 0, \"button\", 3);\n i0.ɵɵelementStart(5, \"div\", 4)(6, \"div\", 5)(7, \"div\", 6);\n i0.ɵɵelement(8, \"span\", 7);\n i0.ɵɵelementStart(9, \"span\", 8);\n i0.ɵɵtemplate(10, _NzModalConfirmContainerComponent_ng_container_10_Template, 2, 1, \"ng-container\", 9);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(11, \"div\", 10);\n i0.ɵɵtemplate(12, _NzModalConfirmContainerComponent_ng_template_12_Template, 0, 0, \"ng-template\", 11)(13, _NzModalConfirmContainerComponent_Conditional_13_Template, 1, 1, \"div\", 12);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(14, \"div\", 13);\n i0.ɵɵtemplate(15, _NzModalConfirmContainerComponent_Conditional_15_Template, 2, 4, \"button\", 14)(16, _NzModalConfirmContainerComponent_Conditional_16_Template, 2, 6, \"button\", 15);\n i0.ɵɵelementEnd()()()()();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"width\", i0.ɵɵpipeBind1(2, 11, ctx.config == null ? null : ctx.config.nzWidth));\n i0.ɵɵproperty(\"ngClass\", ctx.config.nzClassName)(\"ngStyle\", ctx.config.nzStyle);\n i0.ɵɵadvance(4);\n i0.ɵɵconditional(ctx.config.nzClosable ? 4 : -1);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngStyle\", ctx.config.nzBodyStyle);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"nzType\", ctx.config.nzIconType);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx.config.nzTitle);\n i0.ɵɵadvance(3);\n i0.ɵɵconditional(ctx.isStringContent ? 13 : -1);\n i0.ɵɵadvance(2);\n i0.ɵɵconditional(ctx.config.nzCancelText !== null ? 15 : -1);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx.config.nzOkText !== null ? 16 : -1);\n }\n },\n dependencies: [NgClass, NgStyle, NzPipesModule, i2$1.NzToCssUnitPipe, NzIconModule, i2.NzIconDirective, NzModalCloseComponent, NzOutletModule, i3.NzStringTemplateOutletDirective, PortalModule, i5.CdkPortalOutlet, NzButtonModule, i6.NzButtonComponent, i7.ɵNzTransitionPatchDirective, i8.NzWaveDirective],\n encapsulation: 2,\n data: {\n animation: [nzModalAnimations.modalContainer]\n }\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalConfirmContainerComponent, [{\n type: Component,\n args: [{\n selector: 'nz-modal-confirm-container',\n exportAs: 'nzModalConfirmContainer',\n template: `\n <div\n #modalElement\n role=\"document\"\n class=\"ant-modal\"\n [ngClass]=\"config.nzClassName!\"\n [ngStyle]=\"config.nzStyle!\"\n [style.width]=\"config?.nzWidth! | nzToCssUnit\"\n >\n <div class=\"ant-modal-content\">\n @if (config.nzClosable) {\n <button nz-modal-close (click)=\"onCloseClick()\"></button>\n }\n\n <div class=\"ant-modal-body\" [ngStyle]=\"config.nzBodyStyle!\">\n <div class=\"ant-modal-confirm-body-wrapper\">\n <div class=\"ant-modal-confirm-body\">\n <span nz-icon [nzType]=\"config.nzIconType!\"></span>\n <span class=\"ant-modal-confirm-title\">\n <ng-container *nzStringTemplateOutlet=\"config.nzTitle\">\n <span [innerHTML]=\"config.nzTitle\"></span>\n </ng-container>\n </span>\n <div class=\"ant-modal-confirm-content\">\n <ng-template cdkPortalOutlet></ng-template>\n @if (isStringContent) {\n <div [innerHTML]=\"config.nzContent\"></div>\n }\n </div>\n </div>\n <div class=\"ant-modal-confirm-btns\">\n @if (config.nzCancelText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'cancel' || null\"\n nz-button\n (click)=\"onCancel()\"\n [nzLoading]=\"config.nzCancelLoading\"\n [disabled]=\"config.nzCancelDisabled\"\n >\n {{ config.nzCancelText || locale.cancelText }}\n </button>\n }\n @if (config.nzOkText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'ok' || null\"\n nz-button\n [nzType]=\"config.nzOkType!\"\n (click)=\"onOk()\"\n [nzLoading]=\"config.nzOkLoading\"\n [disabled]=\"config.nzOkDisabled\"\n [nzDanger]=\"config.nzOkDanger\"\n >\n {{ config.nzOkText || locale.okText }}\n </button>\n }\n </div>\n </div>\n </div>\n </div>\n </div>\n `,\n hostDirectives: [CdkScrollable],\n animations: [nzModalAnimations.modalContainer],\n // Using OnPush for modal caused footer can not to detect changes. we can fix it when 8.x.\n changeDetection: ChangeDetectionStrategy.Default,\n host: {\n tabindex: '-1',\n role: 'dialog',\n '[class]': 'config.nzWrapClassName ? \"ant-modal-wrap \" + config.nzWrapClassName : \"ant-modal-wrap\"',\n '[class.ant-modal-wrap-rtl]': `dir === 'rtl'`,\n '[class.ant-modal-centered]': 'config.nzCentered',\n '[style.zIndex]': 'config.nzZIndex',\n '[@.disabled]': 'config.nzNoAnimation',\n '[@modalContainer]': 'state',\n '(@modalContainer.start)': 'onAnimationStart($event)',\n '(@modalContainer.done)': 'onAnimationDone($event)',\n '(click)': 'onContainerClick($event)'\n },\n imports: [NgClass, NgStyle, NzPipesModule, NzIconModule, NzModalCloseComponent, NzOutletModule, PortalModule, NzButtonModule],\n standalone: true\n }]\n }], () => [], {\n portalOutlet: [{\n type: ViewChild,\n args: [CdkPortalOutlet, {\n static: true\n }]\n }],\n modalElementRef: [{\n type: ViewChild,\n args: ['modalElement', {\n static: true\n }]\n }],\n cancelTriggered: [{\n type: Output\n }],\n okTriggered: [{\n type: Output\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 NzModalFooterComponent {\n constructor(i18n, config) {\n this.i18n = i18n;\n this.config = config;\n this.buttonsFooter = false;\n this.buttons = [];\n this.cancelTriggered = new EventEmitter();\n this.okTriggered = new EventEmitter();\n this.destroy$ = new Subject();\n if (Array.isArray(config.nzFooter)) {\n this.buttonsFooter = true;\n this.buttons = config.nzFooter.map(mergeDefaultOption);\n }\n this.i18n.localeChange.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.locale = this.i18n.getLocaleData('Modal');\n });\n }\n onCancel() {\n this.cancelTriggered.emit();\n }\n onOk() {\n this.okTriggered.emit();\n }\n /**\n * Returns the value of the specified key.\n * If it is a function, run and return the return value of the function.\n */\n getButtonCallableProp(options, prop) {\n const value = options[prop];\n const componentInstance = this.modalRef.getContentComponent();\n return typeof value === 'function' ? value.apply(options, componentInstance && [componentInstance]) : value;\n }\n /**\n * Run function based on the type and set its `loading` prop if needed.\n */\n onButtonClick(options) {\n const loading = this.getButtonCallableProp(options, 'loading');\n if (!loading) {\n const result = this.getButtonCallableProp(options, 'onClick');\n if (options.autoLoading && isPromise(result)) {\n options.loading = true;\n result.then(() => options.loading = false).catch(e => {\n options.loading = false;\n throw e;\n });\n }\n }\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n}\n_NzModalFooterComponent = NzModalFooterComponent;\n_NzModalFooterComponent.ɵfac = function _NzModalFooterComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalFooterComponent)(i0.ɵɵdirectiveInject(i1$1.NzI18nService), i0.ɵɵdirectiveInject(ModalOptions));\n};\n_NzModalFooterComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzModalFooterComponent,\n selectors: [[\"div\", \"nz-modal-footer\", \"\"]],\n hostAttrs: [1, \"ant-modal-footer\"],\n inputs: {\n modalRef: \"modalRef\"\n },\n outputs: {\n cancelTriggered: \"cancelTriggered\",\n okTriggered: \"okTriggered\"\n },\n exportAs: [\"NzModalFooterBuiltin\"],\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n attrs: _c2,\n decls: 2,\n vars: 1,\n consts: [[4, \"nzStringTemplateOutlet\", \"nzStringTemplateOutletContext\"], [3, \"innerHTML\"], [\"nz-button\", \"\", 3, \"hidden\", \"nzLoading\", \"disabled\", \"nzType\", \"nzDanger\", \"nzShape\", \"nzSize\", \"nzGhost\"], [\"nz-button\", \"\", 3, \"click\", \"hidden\", \"nzLoading\", \"disabled\", \"nzType\", \"nzDanger\", \"nzShape\", \"nzSize\", \"nzGhost\"], [\"nz-button\", \"\", 3, \"nzLoading\", \"disabled\"], [\"nz-button\", \"\", 3, \"nzType\", \"nzDanger\", \"nzLoading\", \"disabled\"], [\"nz-button\", \"\", 3, \"click\", \"nzLoading\", \"disabled\"], [\"nz-button\", \"\", 3, \"click\", \"nzType\", \"nzDanger\", \"nzLoading\", \"disabled\"]],\n template: function _NzModalFooterComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, _NzModalFooterComponent_Conditional_0_Template, 1, 5, \"ng-container\")(1, _NzModalFooterComponent_Conditional_1_Template, 2, 2);\n }\n if (rf & 2) {\n i0.ɵɵconditional(ctx.config.nzFooter ? 0 : 1);\n }\n },\n dependencies: [NzOutletModule, i3.NzStringTemplateOutletDirective, NzButtonModule, i6.NzButtonComponent, i7.ɵNzTransitionPatchDirective, i8.NzWaveDirective],\n encapsulation: 2\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalFooterComponent, [{\n type: Component,\n args: [{\n selector: 'div[nz-modal-footer]',\n exportAs: 'NzModalFooterBuiltin',\n template: `\n @if (config.nzFooter) {\n <ng-container\n *nzStringTemplateOutlet=\"config.nzFooter; context: { $implicit: config.nzData, modalRef: modalRef }\"\n >\n @if (buttonsFooter) {\n @for (button of buttons; track button) {\n <button\n nz-button\n (click)=\"onButtonClick(button)\"\n [hidden]=\"!getButtonCallableProp(button, 'show')\"\n [nzLoading]=\"getButtonCallableProp(button, 'loading')\"\n [disabled]=\"getButtonCallableProp(button, 'disabled')\"\n [nzType]=\"button.type!\"\n [nzDanger]=\"button.danger\"\n [nzShape]=\"button.shape!\"\n [nzSize]=\"button.size!\"\n [nzGhost]=\"button.ghost!\"\n >\n {{ button.label }}\n </button>\n }\n } @else {\n <div [innerHTML]=\"config.nzFooter\"></div>\n }\n </ng-container>\n } @else {\n @if (config.nzCancelText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'cancel' || null\"\n nz-button\n (click)=\"onCancel()\"\n [nzLoading]=\"config.nzCancelLoading\"\n [disabled]=\"config.nzCancelDisabled\"\n >\n {{ config.nzCancelText || locale.cancelText }}\n </button>\n }\n @if (config.nzOkText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'ok' || null\"\n nz-button\n [nzType]=\"config.nzOkType!\"\n [nzDanger]=\"config.nzOkDanger\"\n (click)=\"onOk()\"\n [nzLoading]=\"config.nzOkLoading\"\n [disabled]=\"config.nzOkDisabled\"\n >\n {{ config.nzOkText || locale.okText }}\n </button>\n }\n }\n `,\n host: {\n class: 'ant-modal-footer'\n },\n changeDetection: ChangeDetectionStrategy.Default,\n imports: [NzOutletModule, NzButtonModule],\n standalone: true\n }]\n }], () => [{\n type: i1$1.NzI18nService\n }, {\n type: ModalOptions\n }], {\n cancelTriggered: [{\n type: Output\n }],\n okTriggered: [{\n type: Output\n }],\n modalRef: [{\n type: Input\n }]\n });\n})();\nfunction mergeDefaultOption(options) {\n return {\n type: null,\n size: 'default',\n autoLoading: true,\n show: true,\n loading: false,\n disabled: false,\n ...options\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 NzModalTitleComponent {\n constructor(config) {\n this.config = config;\n }\n}\n_NzModalTitleComponent = NzModalTitleComponent;\n_NzModalTitleComponent.ɵfac = function _NzModalTitleComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalTitleComponent)(i0.ɵɵdirectiveInject(ModalOptions));\n};\n_NzModalTitleComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzModalTitleComponent,\n selectors: [[\"div\", \"nz-modal-title\", \"\"]],\n hostAttrs: [1, \"ant-modal-header\"],\n exportAs: [\"NzModalTitleBuiltin\"],\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n attrs: _c4,\n decls: 2,\n vars: 1,\n consts: [[1, \"ant-modal-title\"], [4, \"nzStringTemplateOutlet\"], [3, \"innerHTML\"]],\n template: function _NzModalTitleComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0);\n i0.ɵɵtemplate(1, _NzModalTitleComponent_ng_container_1_Template, 2, 1, \"ng-container\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx.config.nzTitle);\n }\n },\n dependencies: [NzOutletModule, i3.NzStringTemplateOutletDirective],\n encapsulation: 2,\n changeDetection: 0\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalTitleComponent, [{\n type: Component,\n args: [{\n selector: 'div[nz-modal-title]',\n exportAs: 'NzModalTitleBuiltin',\n template: `\n <div class=\"ant-modal-title\">\n <ng-container *nzStringTemplateOutlet=\"config.nzTitle\">\n <div [innerHTML]=\"config.nzTitle\"></div>\n </ng-container>\n </div>\n `,\n host: {\n class: 'ant-modal-header'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NzOutletModule],\n standalone: true\n }]\n }], () => [{\n type: ModalOptions\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 NzModalContainerComponent extends BaseModalContainerComponent {\n ngOnInit() {\n this.setupMouseListeners(this.modalElementRef);\n }\n}\n_NzModalContainerComponent = NzModalContainerComponent;\n_NzModalContainerComponent.ɵfac = /* @__PURE__ */(() => {\n let ɵ_NzModalContainerComponent_BaseFactory;\n return function _NzModalContainerComponent_Factory(__ngFactoryType__) {\n return (ɵ_NzModalContainerComponent_BaseFactory || (ɵ_NzModalContainerComponent_BaseFactory = i0.ɵɵgetInheritedFactory(_NzModalContainerComponent)))(__ngFactoryType__ || _NzModalContainerComponent);\n };\n})();\n_NzModalContainerComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzModalContainerComponent,\n selectors: [[\"nz-modal-container\"]],\n viewQuery: function _NzModalContainerComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(CdkPortalOutlet, 7);\n i0.ɵɵviewQuery(_c1, 7);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.portalOutlet = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalElementRef = _t.first);\n }\n },\n hostAttrs: [\"tabindex\", \"-1\", \"role\", \"dialog\"],\n hostVars: 10,\n hostBindings: function _NzModalContainerComponent_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵsyntheticHostListener(\"@modalContainer.start\", function _NzModalContainerComponent_animation_modalContainer_start_HostBindingHandler($event) {\n return ctx.onAnimationStart($event);\n })(\"@modalContainer.done\", function _NzModalContainerComponent_animation_modalContainer_done_HostBindingHandler($event) {\n return ctx.onAnimationDone($event);\n });\n i0.ɵɵlistener(\"click\", function _NzModalContainerComponent_click_HostBindingHandler($event) {\n return ctx.onContainerClick($event);\n });\n }\n if (rf & 2) {\n i0.ɵɵsyntheticHostProperty(\"@.disabled\", ctx.config.nzNoAnimation)(\"@modalContainer\", ctx.state);\n i0.ɵɵclassMap(ctx.config.nzWrapClassName ? \"ant-modal-wrap \" + ctx.config.nzWrapClassName : \"ant-modal-wrap\");\n i0.ɵɵstyleProp(\"z-index\", ctx.config.nzZIndex);\n i0.ɵɵclassProp(\"ant-modal-wrap-rtl\", ctx.dir === \"rtl\")(\"ant-modal-centered\", ctx.config.nzCentered);\n }\n },\n exportAs: [\"nzModalContainer\"],\n standalone: true,\n features: [i0.ɵɵHostDirectivesFeature([i1.CdkScrollable]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n decls: 10,\n vars: 12,\n consts: [[\"modalElement\", \"\"], [\"cdkDrag\", \"\", \"cdkDragBoundary\", \".cdk-overlay-container\", \"role\", \"document\", 1, \"ant-modal\", 3, \"cdkDragDisabled\", \"ngClass\", \"ngStyle\"], [1, \"ant-modal-content\"], [\"nz-modal-close\", \"\"], [\"nz-modal-title\", \"\", \"cdkDragHandle\", \"\", 3, \"cursor\"], [1, \"ant-modal-body\", 3, \"ngStyle\"], [\"cdkPortalOutlet\", \"\"], [3, \"innerHTML\"], [\"nz-modal-footer\", \"\", 3, \"modalRef\"], [\"nz-modal-close\", \"\", 3, \"click\"], [\"nz-modal-title\", \"\", \"cdkDragHandle\", \"\"], [\"nz-modal-footer\", \"\", 3, \"cancelTriggered\", \"okTriggered\", \"modalRef\"]],\n template: function _NzModalContainerComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 1, 0);\n i0.ɵɵpipe(2, \"nzToCssUnit\");\n i0.ɵɵelementStart(3, \"div\", 2);\n i0.ɵɵtemplate(4, _NzModalContainerComponent_Conditional_4_Template, 1, 0, \"button\", 3)(5, _NzModalContainerComponent_Conditional_5_Template, 1, 2, \"div\", 4);\n i0.ɵɵelementStart(6, \"div\", 5);\n i0.ɵɵtemplate(7, _NzModalContainerComponent_ng_template_7_Template, 0, 0, \"ng-template\", 6)(8, _NzModalContainerComponent_Conditional_8_Template, 1, 1, \"div\", 7);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(9, _NzModalContainerComponent_Conditional_9_Template, 1, 1, \"div\", 8);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵstyleProp(\"width\", i0.ɵɵpipeBind1(2, 10, ctx.config == null ? null : ctx.config.nzWidth));\n i0.ɵɵproperty(\"cdkDragDisabled\", !ctx.config.nzDraggable)(\"ngClass\", ctx.config.nzClassName)(\"ngStyle\", ctx.config.nzStyle);\n i0.ɵɵadvance(4);\n i0.ɵɵconditional(ctx.config.nzClosable ? 4 : -1);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx.config.nzTitle ? 5 : -1);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngStyle\", ctx.config.nzBodyStyle);\n i0.ɵɵadvance(2);\n i0.ɵɵconditional(ctx.isStringContent ? 8 : -1);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx.config.nzFooter !== null ? 9 : -1);\n }\n },\n dependencies: [NgClass, NgStyle, NzModalCloseComponent, NzModalTitleComponent, PortalModule, i5.CdkPortalOutlet, NzModalFooterComponent, NzPipesModule, i2$1.NzToCssUnitPipe, CdkDrag, CdkDragHandle],\n encapsulation: 2,\n data: {\n animation: [nzModalAnimations.modalContainer]\n }\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalContainerComponent, [{\n type: Component,\n args: [{\n selector: 'nz-modal-container',\n exportAs: 'nzModalContainer',\n hostDirectives: [CdkScrollable],\n template: `\n <div\n #modalElement\n cdkDrag\n cdkDragBoundary=\".cdk-overlay-container\"\n [cdkDragDisabled]=\"!config.nzDraggable\"\n role=\"document\"\n class=\"ant-modal\"\n [ngClass]=\"config.nzClassName!\"\n [ngStyle]=\"config.nzStyle!\"\n [style.width]=\"config?.nzWidth! | nzToCssUnit\"\n >\n <div class=\"ant-modal-content\">\n @if (config.nzClosable) {\n <button nz-modal-close (click)=\"onCloseClick()\"></button>\n }\n @if (config.nzTitle) {\n <div nz-modal-title cdkDragHandle [style.cursor]=\"config.nzDraggable ? 'move' : 'auto'\"></div>\n }\n\n <div class=\"ant-modal-body\" [ngStyle]=\"config.nzBodyStyle!\">\n <ng-template cdkPortalOutlet />\n @if (isStringContent) {\n <div [innerHTML]=\"config.nzContent\"></div>\n }\n </div>\n @if (config.nzFooter !== null) {\n <div\n nz-modal-footer\n [modalRef]=\"modalRef\"\n (cancelTriggered)=\"onCloseClick()\"\n (okTriggered)=\"onOkClick()\"\n ></div>\n }\n </div>\n </div>\n `,\n animations: [nzModalAnimations.modalContainer],\n // Using OnPush for modal caused footer can not to detect changes. we can fix it when 8.x.\n changeDetection: ChangeDetectionStrategy.Default,\n host: {\n tabindex: '-1',\n role: 'dialog',\n '[class]': 'config.nzWrapClassName ? \"ant-modal-wrap \" + config.nzWrapClassName : \"ant-modal-wrap\"',\n '[class.ant-modal-wrap-rtl]': `dir === 'rtl'`,\n '[class.ant-modal-centered]': 'config.nzCentered',\n '[style.zIndex]': 'config.nzZIndex',\n '[@.disabled]': 'config.nzNoAnimation',\n '[@modalContainer]': 'state',\n '(@modalContainer.start)': 'onAnimationStart($event)',\n '(@modalContainer.done)': 'onAnimationDone($event)',\n '(click)': 'onContainerClick($event)'\n },\n imports: [NgClass, NgStyle, NzModalCloseComponent, NzModalTitleComponent, PortalModule, NzModalFooterComponent, NzPipesModule, CdkDrag, CdkDragHandle],\n standalone: true\n }]\n }], null, {\n portalOutlet: [{\n type: ViewChild,\n args: [CdkPortalOutlet, {\n static: true\n }]\n }],\n modalElementRef: [{\n type: ViewChild,\n args: ['modalElement', {\n static: true\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 NzModalRef {\n constructor(overlayRef, config, containerInstance) {\n this.overlayRef = overlayRef;\n this.config = config;\n this.containerInstance = containerInstance;\n this.componentInstance = null;\n this.componentRef = null;\n this.state = 0 /* NzModalState.OPEN */;\n this.afterClose = new Subject();\n this.afterOpen = new Subject();\n this.destroy$ = new Subject();\n containerInstance.animationStateChanged.pipe(filter(event => event.phaseName === 'done' && event.toState === 'enter'), take(1)).subscribe(() => {\n this.afterOpen.next();\n this.afterOpen.complete();\n if (config.nzAfterOpen instanceof EventEmitter) {\n config.nzAfterOpen.emit();\n }\n });\n containerInstance.animationStateChanged.pipe(filter(event => event.phaseName === 'done' && event.toState === 'exit'), take(1)).subscribe(() => {\n clearTimeout(this.closeTimeout);\n this._finishDialogClose();\n });\n containerInstance.containerClick.pipe(takeUntil(this.destroy$)).subscribe(() => {\n const cancelable = !this.config.nzCancelLoading && !this.config.nzOkLoading;\n if (cancelable) {\n this.trigger(\"cancel\" /* NzTriggerAction.CANCEL */);\n }\n });\n overlayRef.keydownEvents().pipe(filter(event => this.config.nzKeyboard && !this.config.nzCancelLoading && !this.config.nzOkLoading && event.keyCode === ESCAPE && !hasModifierKey(event))).subscribe(event => {\n event.preventDefault();\n this.trigger(\"cancel\" /* NzTriggerAction.CANCEL */);\n });\n containerInstance.cancelTriggered.pipe(takeUntil(this.destroy$)).subscribe(() => this.trigger(\"cancel\" /* NzTriggerAction.CANCEL */));\n containerInstance.okTriggered.pipe(takeUntil(this.destroy$)).subscribe(() => this.trigger(\"ok\" /* NzTriggerAction.OK */));\n overlayRef.detachments().subscribe(() => {\n this.afterClose.next(this.result);\n this.afterClose.complete();\n if (config.nzAfterClose instanceof EventEmitter) {\n config.nzAfterClose.emit(this.result);\n }\n this.componentInstance = null;\n this.componentRef = null;\n this.overlayRef.dispose();\n });\n }\n getContentComponent() {\n return this.componentInstance;\n }\n getContentComponentRef() {\n return this.componentRef;\n }\n getElement() {\n return this.containerInstance.getNativeElement();\n }\n destroy(result) {\n this.close(result);\n }\n triggerOk() {\n return this.trigger(\"ok\" /* NzTriggerAction.OK */);\n }\n triggerCancel() {\n return this.trigger(\"cancel\" /* NzTriggerAction.CANCEL */);\n }\n close(result) {\n if (this.state !== 0 /* NzModalState.OPEN */) {\n return;\n }\n this.result = result;\n this.containerInstance.animationStateChanged.pipe(filter(event => event.phaseName === 'start'), take(1)).subscribe(event => {\n this.overlayRef.detachBackdrop();\n this.closeTimeout = setTimeout(() => {\n this._finishDialogClose();\n }, event.totalTime + 100);\n });\n this.containerInstance.startExitAnimation();\n this.state = 1 /* NzModalState.CLOSING */;\n }\n updateConfig(config) {\n Object.assign(this.config, config);\n this.containerInstance.bindBackdropStyle();\n this.containerInstance.cdr.markForCheck();\n }\n getState() {\n return this.state;\n }\n getConfig() {\n return this.config;\n }\n getBackdropElement() {\n return this.overlayRef.backdropElement;\n }\n trigger(action) {\n var _this = this;\n return _asyncToGenerator(function* () {\n if (_this.state === 1 /* NzModalState.CLOSING */) {\n return;\n }\n const trigger = {\n ok: _this.config.nzOnOk,\n cancel: _this.config.nzOnCancel\n }[action];\n const loadingKey = {\n ok: 'nzOkLoading',\n cancel: 'nzCancelLoading'\n }[action];\n const loading = _this.config[loadingKey];\n if (loading) {\n return;\n }\n if (trigger instanceof EventEmitter) {\n trigger.emit(_this.getContentComponent());\n } else if (typeof trigger === 'function') {\n const result = trigger(_this.getContentComponent());\n if (isPromise(result)) {\n _this.config[loadingKey] = true;\n let doClose = false;\n try {\n doClose = yield result;\n } finally {\n _this.config[loadingKey] = false;\n _this.closeWhitResult(doClose);\n }\n } else {\n _this.closeWhitResult(result);\n }\n }\n })();\n }\n closeWhitResult(result) {\n if (result !== false) {\n this.close(result);\n }\n }\n _finishDialogClose() {\n this.state = 2 /* NzModalState.CLOSED */;\n this.overlayRef.dispose();\n this.destroy$.next();\n }\n}\nclass NzModalService {\n get openModals() {\n return this.parentModal ? this.parentModal.openModals : this.openModalsAtThisLevel;\n }\n get _afterAllClosed() {\n const parent = this.parentModal;\n return parent ? parent._afterAllClosed : this.afterAllClosedAtThisLevel;\n }\n constructor(overlay, injector, nzConfigService, directionality) {\n this.overlay = overlay;\n this.injector = injector;\n this.nzConfigService = nzConfigService;\n this.directionality = directionality;\n this.openModalsAtThisLevel = [];\n this.afterAllClosedAtThisLevel = new Subject();\n this.afterAllClose = defer(() => this.openModals.length ? this._afterAllClosed : this._afterAllClosed.pipe(startWith(undefined)));\n this.parentModal = inject(NzModalService, {\n skipSelf: true,\n optional: true\n });\n }\n create(config) {\n return this.open(config.nzContent, config);\n }\n closeAll() {\n this.closeModals(this.openModals);\n }\n confirm(options = {}, confirmType = 'confirm') {\n if ('nzFooter' in options) {\n warn(`The Confirm-Modal doesn't support \"nzFooter\", this property will be ignored.`);\n }\n if (!('nzWidth' in options)) {\n options.nzWidth = 416;\n }\n if (!('nzMaskClosable' in options)) {\n options.nzMaskClosable = false;\n }\n options.nzModalType = 'confirm';\n options.nzClassName = `ant-modal-confirm ant-modal-confirm-${confirmType} ${options.nzClassName || ''}`;\n return this.create(options);\n }\n info(options = {}) {\n return this.confirmFactory(options, 'info');\n }\n success(options = {}) {\n return this.confirmFactory(options, 'success');\n }\n error(options = {}) {\n return this.confirmFactory(options, 'error');\n }\n warning(options = {}) {\n return this.confirmFactory(options, 'warning');\n }\n open(componentOrTemplateRef, config) {\n const configMerged = applyConfigDefaults(config || {}, new ModalOptions());\n const overlayRef = this.createOverlay(configMerged);\n const modalContainer = this.attachModalContainer(overlayRef, configMerged);\n const modalRef = this.attachModalContent(componentOrTemplateRef, modalContainer, overlayRef, configMerged);\n modalContainer.modalRef = modalRef;\n overlayZIndexSetter(overlayRef, config === null || config === void 0 ? void 0 : config.nzZIndex);\n this.openModals.push(modalRef);\n modalRef.afterClose.subscribe(() => this.removeOpenModal(modalRef));\n return modalRef;\n }\n removeOpenModal(modalRef) {\n const index = this.openModals.indexOf(modalRef);\n if (index > -1) {\n this.openModals.splice(index, 1);\n if (!this.openModals.length) {\n this._afterAllClosed.next();\n }\n }\n }\n closeModals(dialogs) {\n let i = dialogs.length;\n while (i--) {\n dialogs[i].close();\n if (!this.openModals.length) {\n this._afterAllClosed.next();\n }\n }\n }\n createOverlay(config) {\n const globalConfig = this.nzConfigService.getConfigForComponent(NZ_CONFIG_MODULE_NAME) || {};\n const overlayConfig = new OverlayConfig({\n hasBackdrop: true,\n scrollStrategy: this.overlay.scrollStrategies.block(),\n backdropClass: getValueWithConfig(config.nzMask, globalConfig.nzMask, true) ? MODAL_MASK_CLASS_NAME : '',\n positionStrategy: this.overlay.position().global(),\n disposeOnNavigation: getValueWithConfig(config.nzCloseOnNavigation, globalConfig.nzCloseOnNavigation, true),\n direction: getValueWithConfig(config.nzDirection, globalConfig.nzDirection, this.directionality.value)\n });\n return this.overlay.create(overlayConfig);\n }\n attachModalContainer(overlayRef, config) {\n const userInjector = config && config.nzViewContainerRef && config.nzViewContainerRef.injector;\n const injector = Injector.create({\n parent: userInjector || this.injector,\n providers: [{\n provide: OverlayRef,\n useValue: overlayRef\n }, {\n provide: ModalOptions,\n useValue: config\n }]\n });\n const ContainerComponent = config.nzModalType === 'confirm' ?\n // If the mode is `confirm`, use `NzModalConfirmContainerComponent`\n NzModalConfirmContainerComponent :\n // If the mode is not `confirm`, use `NzModalContainerComponent`\n NzModalContainerComponent;\n const containerPortal = new ComponentPortal(ContainerComponent, config.nzViewContainerRef, injector);\n const containerRef = overlayRef.attach(containerPortal);\n return containerRef.instance;\n }\n attachModalContent(componentOrTemplateRef, modalContainer, overlayRef, config) {\n const modalRef = new NzModalRef(overlayRef, config, modalContainer);\n if (componentOrTemplateRef instanceof TemplateRef) {\n modalContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null, {\n $implicit: config.nzData,\n modalRef\n }));\n } else if (isNotNil(componentOrTemplateRef) && typeof componentOrTemplateRef !== 'string') {\n const injector = this.createInjector(modalRef, config);\n const contentRef = modalContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef, config.nzViewContainerRef, injector));\n modalRef.componentRef = contentRef;\n modalRef.componentInstance = contentRef.instance;\n } else {\n modalContainer.attachStringContent();\n }\n return modalRef;\n }\n createInjector(modalRef, config) {\n const userInjector = config && config.nzViewContainerRef && config.nzViewContainerRef.injector;\n return Injector.create({\n parent: userInjector || this.injector,\n providers: [{\n provide: NzModalRef,\n useValue: modalRef\n }, {\n provide: NZ_MODAL_DATA,\n useValue: config.nzData\n }]\n });\n }\n confirmFactory(options = {}, confirmType) {\n const iconMap = {\n info: 'info-circle',\n success: 'check-circle',\n error: 'close-circle',\n warning: 'exclamation-circle'\n };\n if (!('nzIconType' in options)) {\n options.nzIconType = iconMap[confirmType];\n }\n if (!('nzCancelText' in options)) {\n // Remove the Cancel button if the user not specify a Cancel button\n options.nzCancelText = null;\n }\n return this.confirm(options, confirmType);\n }\n ngOnDestroy() {\n this.closeModals(this.openModalsAtThisLevel);\n this.afterAllClosedAtThisLevel.complete();\n }\n}\n_NzModalService = NzModalService;\n_NzModalService.ɵfac = function _NzModalService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalService)(i0.ɵɵinject(i1.Overlay), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(i2$2.NzConfigService), i0.ɵɵinject(i3$1.Directionality));\n};\n_NzModalService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: _NzModalService,\n factory: _NzModalService.ɵfac\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalService, [{\n type: Injectable\n }], () => [{\n type: i1.Overlay\n }, {\n type: i0.Injector\n }, {\n type: i2$2.NzConfigService\n }, {\n type: i3$1.Directionality\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 NzModalContentDirective {\n constructor(templateRef) {\n this.templateRef = templateRef;\n }\n}\n_NzModalContentDirective = NzModalContentDirective;\n_NzModalContentDirective.ɵfac = function _NzModalContentDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalContentDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef));\n};\n_NzModalContentDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzModalContentDirective,\n selectors: [[\"\", \"nzModalContent\", \"\"]],\n exportAs: [\"nzModalContent\"],\n standalone: true\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalContentDirective, [{\n type: Directive,\n args: [{\n selector: '[nzModalContent]',\n exportAs: 'nzModalContent',\n standalone: true\n }]\n }], () => [{\n type: i0.TemplateRef\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 NzModalFooterDirective {\n constructor(templateRef) {\n this.templateRef = templateRef;\n this.nzModalRef = inject(NzModalRef, {\n optional: true\n });\n if (this.nzModalRef) {\n this.nzModalRef.updateConfig({\n nzFooter: this.templateRef\n });\n }\n }\n}\n_NzModalFooterDirective = NzModalFooterDirective;\n_NzModalFooterDirective.ɵfac = function _NzModalFooterDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalFooterDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef));\n};\n_NzModalFooterDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzModalFooterDirective,\n selectors: [[\"\", \"nzModalFooter\", \"\"]],\n exportAs: [\"nzModalFooter\"],\n standalone: true\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalFooterDirective, [{\n type: Directive,\n args: [{\n selector: '[nzModalFooter]',\n exportAs: 'nzModalFooter',\n standalone: true\n }]\n }], () => [{\n type: i0.TemplateRef\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 NzModalTitleDirective {\n constructor(templateRef) {\n this.templateRef = templateRef;\n this.nzModalRef = inject(NzModalRef, {\n optional: true\n });\n if (this.nzModalRef) {\n this.nzModalRef.updateConfig({\n nzTitle: this.templateRef\n });\n }\n }\n}\n_NzModalTitleDirective = NzModalTitleDirective;\n_NzModalTitleDirective.ɵfac = function _NzModalTitleDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalTitleDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef));\n};\n_NzModalTitleDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzModalTitleDirective,\n selectors: [[\"\", \"nzModalTitle\", \"\"]],\n exportAs: [\"nzModalTitle\"],\n standalone: true\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalTitleDirective, [{\n type: Directive,\n args: [{\n selector: '[nzModalTitle]',\n exportAs: 'nzModalTitle',\n standalone: true\n }]\n }], () => [{\n type: i0.TemplateRef\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 NzModalComponent {\n set modalTitle(value) {\n if (value) {\n this.setTitleWithTemplate(value);\n }\n }\n set modalFooter(value) {\n if (value) {\n this.setFooterWithTemplate(value);\n }\n }\n get afterOpen() {\n // Observable alias for nzAfterOpen\n return this.nzAfterOpen.asObservable();\n }\n get afterClose() {\n // Observable alias for nzAfterClose\n return this.nzAfterClose.asObservable();\n }\n constructor(cdr, modal, viewContainerRef) {\n this.cdr = cdr;\n this.modal = modal;\n this.viewContainerRef = viewContainerRef;\n this.nzVisible = false;\n this.nzClosable = true;\n this.nzOkLoading = false;\n this.nzOkDisabled = false;\n this.nzCancelDisabled = false;\n this.nzCancelLoading = false;\n this.nzKeyboard = true;\n this.nzNoAnimation = false;\n this.nzCentered = false;\n this.nzDraggable = false;\n this.nzZIndex = 1000;\n this.nzWidth = 520;\n this.nzCloseIcon = 'close';\n this.nzOkType = 'primary';\n this.nzOkDanger = false;\n this.nzIconType = 'question-circle'; // Confirm Modal ONLY\n this.nzModalType = 'default';\n this.nzAutofocus = 'auto';\n // TODO(@hsuanxyz) Input will not be supported\n this.nzOnOk = new EventEmitter();\n // TODO(@hsuanxyz) Input will not be supported\n this.nzOnCancel = new EventEmitter();\n this.nzAfterOpen = new EventEmitter();\n this.nzAfterClose = new EventEmitter();\n this.nzVisibleChange = new EventEmitter();\n this.modalRef = null;\n this.destroy$ = new Subject();\n }\n open() {\n if (!this.nzVisible) {\n this.nzVisible = true;\n this.nzVisibleChange.emit(true);\n }\n if (!this.modalRef) {\n const config = this.getConfig();\n this.modalRef = this.modal.create(config);\n // When the modal is implicitly closed (e.g. closeAll) the nzVisible needs to be set to the correct value and emit.\n this.modalRef.afterClose.asObservable().pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.close();\n });\n }\n }\n close(result) {\n if (this.nzVisible) {\n this.nzVisible = false;\n this.nzVisibleChange.emit(false);\n }\n if (this.modalRef) {\n this.modalRef.close(result);\n this.modalRef = null;\n }\n }\n destroy(result) {\n this.close(result);\n }\n triggerOk() {\n var _this$modalRef;\n (_this$modalRef = this.modalRef) === null || _this$modalRef === void 0 || _this$modalRef.triggerOk();\n }\n triggerCancel() {\n var _this$modalRef2;\n (_this$modalRef2 = this.modalRef) === null || _this$modalRef2 === void 0 || _this$modalRef2.triggerCancel();\n }\n getContentComponent() {\n var _this$modalRef3;\n return (_this$modalRef3 = this.modalRef) === null || _this$modalRef3 === void 0 ? void 0 : _this$modalRef3.getContentComponent();\n }\n getElement() {\n var _this$modalRef4;\n return (_this$modalRef4 = this.modalRef) === null || _this$modalRef4 === void 0 ? void 0 : _this$modalRef4.getElement();\n }\n getModalRef() {\n return this.modalRef;\n }\n setTitleWithTemplate(templateRef) {\n this.nzTitle = templateRef;\n if (this.modalRef) {\n // If modalRef already created, set the title in next tick\n Promise.resolve().then(() => {\n this.modalRef.updateConfig({\n nzTitle: this.nzTitle\n });\n });\n }\n }\n setFooterWithTemplate(templateRef) {\n this.nzFooter = templateRef;\n if (this.modalRef) {\n // If modalRef already created, set the footer in next tick\n Promise.resolve().then(() => {\n this.modalRef.updateConfig({\n nzFooter: this.nzFooter\n });\n });\n }\n this.cdr.markForCheck();\n }\n getConfig() {\n const componentConfig = getConfigFromComponent(this);\n componentConfig.nzViewContainerRef = this.viewContainerRef;\n componentConfig.nzContent = this.nzContent || this.contentFromContentChild;\n return componentConfig;\n }\n ngOnChanges(changes) {\n const {\n nzVisible,\n ...otherChanges\n } = changes;\n if (Object.keys(otherChanges).length && this.modalRef) {\n this.modalRef.updateConfig(getConfigFromComponent(this));\n }\n if (nzVisible) {\n if (this.nzVisible) {\n this.open();\n } else {\n this.close();\n }\n }\n }\n ngOnDestroy() {\n var _this$modalRef5;\n (_this$modalRef5 = this.modalRef) === null || _this$modalRef5 === void 0 || _this$modalRef5._finishDialogClose();\n this.destroy$.next();\n this.destroy$.complete();\n }\n}\n_NzModalComponent = NzModalComponent;\n_NzModalComponent.ɵfac = function _NzModalComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(NzModalService), i0.ɵɵdirectiveInject(i0.ViewContainerRef));\n};\n_NzModalComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzModalComponent,\n selectors: [[\"nz-modal\"]],\n contentQueries: function _NzModalComponent_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, NzModalTitleDirective, 7, TemplateRef);\n i0.ɵɵcontentQuery(dirIndex, NzModalContentDirective, 7, TemplateRef);\n i0.ɵɵcontentQuery(dirIndex, NzModalFooterDirective, 7, TemplateRef);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalTitle = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentFromContentChild = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalFooter = _t.first);\n }\n },\n inputs: {\n nzMask: [2, \"nzMask\", \"nzMask\", booleanAttribute],\n nzMaskClosable: [2, \"nzMaskClosable\", \"nzMaskClosable\", booleanAttribute],\n nzCloseOnNavigation: [2, \"nzCloseOnNavigation\", \"nzCloseOnNavigation\", booleanAttribute],\n nzVisible: [2, \"nzVisible\", \"nzVisible\", booleanAttribute],\n nzClosable: [2, \"nzClosable\", \"nzClosable\", booleanAttribute],\n nzOkLoading: [2, \"nzOkLoading\", \"nzOkLoading\", booleanAttribute],\n nzOkDisabled: [2, \"nzOkDisabled\", \"nzOkDisabled\", booleanAttribute],\n nzCancelDisabled: [2, \"nzCancelDisabled\", \"nzCancelDisabled\", booleanAttribute],\n nzCancelLoading: [2, \"nzCancelLoading\", \"nzCancelLoading\", booleanAttribute],\n nzKeyboard: [2, \"nzKeyboard\", \"nzKeyboard\", booleanAttribute],\n nzNoAnimation: [2, \"nzNoAnimation\", \"nzNoAnimation\", booleanAttribute],\n nzCentered: [2, \"nzCentered\", \"nzCentered\", booleanAttribute],\n nzDraggable: [2, \"nzDraggable\", \"nzDraggable\", booleanAttribute],\n nzContent: \"nzContent\",\n nzFooter: \"nzFooter\",\n nzZIndex: [2, \"nzZIndex\", \"nzZIndex\", numberAttribute],\n nzWidth: \"nzWidth\",\n nzWrapClassName: \"nzWrapClassName\",\n nzClassName: \"nzClassName\",\n nzStyle: \"nzStyle\",\n nzTitle: \"nzTitle\",\n nzCloseIcon: \"nzCloseIcon\",\n nzMaskStyle: \"nzMaskStyle\",\n nzBodyStyle: \"nzBodyStyle\",\n nzOkText: \"nzOkText\",\n nzCancelText: \"nzCancelText\",\n nzOkType: \"nzOkType\",\n nzOkDanger: [2, \"nzOkDanger\", \"nzOkDanger\", booleanAttribute],\n nzIconType: \"nzIconType\",\n nzModalType: \"nzModalType\",\n nzAutofocus: \"nzAutofocus\",\n nzOnOk: \"nzOnOk\",\n nzOnCancel: \"nzOnCancel\"\n },\n outputs: {\n nzOnOk: \"nzOnOk\",\n nzOnCancel: \"nzOnCancel\",\n nzAfterOpen: \"nzAfterOpen\",\n nzAfterClose: \"nzAfterClose\",\n nzVisibleChange: \"nzVisibleChange\"\n },\n exportAs: [\"nzModal\"],\n standalone: true,\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵNgOnChangesFeature, i0.ɵɵStandaloneFeature],\n decls: 0,\n vars: 0,\n template: function _NzModalComponent_Template(rf, ctx) {},\n encapsulation: 2,\n changeDetection: 0\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalComponent, [{\n type: Component,\n args: [{\n selector: 'nz-modal',\n exportAs: 'nzModal',\n template: ``,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true\n }]\n }], () => [{\n type: i0.ChangeDetectorRef\n }, {\n type: NzModalService\n }, {\n type: i0.ViewContainerRef\n }], {\n nzMask: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzMaskClosable: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzCloseOnNavigation: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzVisible: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzClosable: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzOkLoading: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzOkDisabled: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzCancelDisabled: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzCancelLoading: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzKeyboard: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzNoAnimation: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzCentered: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzDraggable: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzContent: [{\n type: Input\n }],\n nzFooter: [{\n type: Input\n }],\n nzZIndex: [{\n type: Input,\n args: [{\n transform: numberAttribute\n }]\n }],\n nzWidth: [{\n type: Input\n }],\n nzWrapClassName: [{\n type: Input\n }],\n nzClassName: [{\n type: Input\n }],\n nzStyle: [{\n type: Input\n }],\n nzTitle: [{\n type: Input\n }],\n nzCloseIcon: [{\n type: Input\n }],\n nzMaskStyle: [{\n type: Input\n }],\n nzBodyStyle: [{\n type: Input\n }],\n nzOkText: [{\n type: Input\n }],\n nzCancelText: [{\n type: Input\n }],\n nzOkType: [{\n type: Input\n }],\n nzOkDanger: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzIconType: [{\n type: Input\n }],\n nzModalType: [{\n type: Input\n }],\n nzAutofocus: [{\n type: Input\n }],\n nzOnOk: [{\n type: Input\n }, {\n type: Output\n }],\n nzOnCancel: [{\n type: Input\n }, {\n type: Output\n }],\n nzAfterOpen: [{\n type: Output\n }],\n nzAfterClose: [{\n type: Output\n }],\n nzVisibleChange: [{\n type: Output\n }],\n modalTitle: [{\n type: ContentChild,\n args: [NzModalTitleDirective, {\n static: true,\n read: TemplateRef\n }]\n }],\n contentFromContentChild: [{\n type: ContentChild,\n args: [NzModalContentDirective, {\n static: true,\n read: TemplateRef\n }]\n }],\n modalFooter: [{\n type: ContentChild,\n args: [NzModalFooterDirective, {\n static: true,\n read: TemplateRef\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 NzModalModule {}\n_NzModalModule = NzModalModule;\n_NzModalModule.ɵfac = function _NzModalModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzModalModule)();\n};\n_NzModalModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: _NzModalModule\n});\n_NzModalModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [NzModalService],\n imports: [NzModalCloseComponent, NzModalFooterComponent, NzModalTitleComponent, NzModalContainerComponent, NzModalConfirmContainerComponent]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzModalModule, [{\n type: NgModule,\n args: [{\n imports: [NzModalComponent, NzModalFooterDirective, NzModalContentDirective, NzModalCloseComponent, NzModalFooterComponent, NzModalTitleComponent, NzModalTitleDirective, NzModalContainerComponent, NzModalConfirmContainerComponent],\n exports: [NzModalComponent, NzModalFooterDirective, NzModalContentDirective, NzModalTitleDirective],\n providers: [NzModalService]\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 */\nclass NzModalLegacyAPI {}\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 { BaseModalContainerComponent, FADE_CLASS_NAME_MAP, MODAL_MASK_CLASS_NAME, ModalOptions, NZ_CONFIG_MODULE_NAME, NZ_MODAL_DATA, NzModalCloseComponent, NzModalComponent, NzModalConfirmContainerComponent, NzModalContainerComponent, NzModalContentDirective, NzModalFooterComponent, NzModalFooterDirective, NzModalLegacyAPI, NzModalModule, NzModalRef, NzModalService, NzModalTitleComponent, NzModalTitleDirective, ZOOM_CLASS_NAME_MAP, applyConfigDefaults, getConfigFromComponent, getValueWithConfig, nzModalAnimations, throwNzModalContentAlreadyAttachedError };","map":{"version":3,"names":["i0","ɵɵelementContainerStart","ɵɵelement","ɵɵelementContainerEnd","rf","closeIcon_r1","ctx","$implicit","ɵɵadvance","ɵɵproperty","_c1","_NzModalConfirmContainerComponent_Conditional_4_Template","_r1","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","_NzModalConfirmContainerComponent_Conditional_4_Template_button_click_0_listener","ɵɵrestoreView","ctx_r1","ɵɵnextContext","ɵɵresetView","onCloseClick","ɵɵelementEnd","_NzModalConfirmContainerComponent_ng_container_10_Template","config","nzTitle","ɵɵsanitizeHtml","_NzModalConfirmContainerComponent_ng_template_12_Template","_NzModalConfirmContainerComponent_Conditional_13_Template","nzContent","_NzModalConfirmContainerComponent_Conditional_15_Template","_r3","_NzModalConfirmContainerComponent_Conditional_15_Template_button_click_0_listener","onCancel","ɵɵtext","nzCancelLoading","nzCancelDisabled","ɵɵattribute","nzAutofocus","ɵɵtextInterpolate1","nzCancelText","locale","cancelText","_NzModalConfirmContainerComponent_Conditional_16_Template","_r4","_NzModalConfirmContainerComponent_Conditional_16_Template_button_click_0_listener","onOk","nzOkType","nzOkLoading","nzOkDisabled","nzOkDanger","nzOkText","okText","_c2","_c3","a0","a1","modalRef","_NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_1_For_1_Template","_NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_1_For_1_Template_button_click_0_listener","button_r2","ctx_r2","onButtonClick","getButtonCallableProp","type","danger","shape","size","ghost","label","_NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_1_Template","ɵɵrepeaterCreate","ɵɵrepeaterTrackByIdentity","ɵɵrepeater","buttons","_NzModalFooterComponent_Conditional_0_ng_container_0_Conditional_2_Template","nzFooter","_NzModalFooterComponent_Conditional_0_ng_container_0_Template","ɵɵtemplate","ɵɵconditional","buttonsFooter","_NzModalFooterComponent_Conditional_0_Template","ɵɵpureFunction2","nzData","_NzModalFooterComponent_Conditional_1_Conditional_0_Template","_NzModalFooterComponent_Conditional_1_Conditional_0_Template_button_click_0_listener","_NzModalFooterComponent_Conditional_1_Conditional_1_Template","_r5","_NzModalFooterComponent_Conditional_1_Conditional_1_Template_button_click_0_listener","_NzModalFooterComponent_Conditional_1_Template","_c4","_NzModalTitleComponent_ng_container_1_Template","ctx_r0","_NzModalContainerComponent_Conditional_4_Template","_NzModalContainerComponent_Conditional_4_Template_button_click_0_listener","_NzModalContainerComponent_Conditional_5_Template","ɵɵstyleProp","nzDraggable","_NzModalContainerComponent_ng_template_7_Template","_NzModalContainerComponent_Conditional_8_Template","_NzModalContainerComponent_Conditional_9_Template","_NzModalContainerComponent_Conditional_9_Template_div_cancelTriggered_0_listener","_NzModalContainerComponent_Conditional_9_Template_div_okTriggered_0_listener","onOkClick","i1","OverlayRef","CdkScrollable","OverlayConfig","i5","BasePortalOutlet","CdkPortalOutlet","PortalModule","ComponentPortal","TemplatePortal","InjectionToken","Component","ChangeDetectionStrategy","EventEmitter","inject","ChangeDetectorRef","NgZone","ElementRef","Renderer2","ANIMATION_MODULE_TYPE","Directive","ViewChild","Output","Input","Injector","TemplateRef","Injectable","booleanAttribute","numberAttribute","ContentChild","NgModule","Subject","fromEvent","defer","takeUntil","filter","take","startWith","warn","overlayZIndexSetter","getElementOffset","isNotNil","isPromise","DOCUMENT","NgClass","NgStyle","i6","NzButtonModule","i3","NzOutletModule","i1$1","NzI18nService","i2","NzIconModule","i2$1","NzPipesModule","trigger","state","style","transition","animate","FocusTrapFactory","i2$2","NzConfigService","reqAnimFrame","i7","i8","CdkDrag","CdkDragHandle","ESCAPE","hasModifierKey","i3$1","noopFun","ModalOptions","constructor","nzCentered","nzClosable","nzNoAnimation","nzKeyboard","nzZIndex","nzWidth","nzCloseIcon","nzModalType","nzOnCancel","nzOnOk","nzIconType","ZOOM_CLASS_NAME_MAP","enter","enterActive","leave","leaveActive","FADE_CLASS_NAME_MAP","MODAL_MASK_CLASS_NAME","NZ_CONFIG_MODULE_NAME","NZ_MODAL_DATA","nzModalAnimations","modalContainer","NzModalCloseComponent","_NzModalCloseComponent","ɵfac","_NzModalCloseComponent_Factory","__ngFactoryType__","ɵɵdirectiveInject","ɵcmp","ɵɵdefineComponent","selectors","hostAttrs","exportAs","standalone","features","ɵɵStandaloneFeature","attrs","_c0","decls","vars","consts","template","_NzModalCloseComponent_Template","_NzModalCloseComponent_ng_container_1_Template","dependencies","NzIconDirective","NzStringTemplateOutletDirective","encapsulation","changeDetection","ngDevMode","ɵsetClassMetadata","args","selector","host","class","OnPush","imports","applyConfigDefaults","defaultOptions","getValueWithConfig","userValue","configValue","defaultValue","getConfigFromComponent","component","nzMask","nzMaskClosable","nzWrapClassName","nzClassName","nzStyle","nzMaskStyle","nzBodyStyle","nzAfterOpen","nzAfterClose","nzCloseOnNavigation","throwNzModalContentAlreadyAttachedError","Error","BaseModalContainerComponent","showMask","defaultConfig","nzConfigService","getConfigForComponent","maskClosable","animationStateChanged","containerClick","cancelTriggered","okTriggered","document","isStringContent","dir","elementFocusedBeforeModalWasOpened","mouseDown","oldMaskStyle","cdr","destroy$","ngZone","focusTrapFactory","render","overlayRef","animationType","optional","getDirection","getConfigChangeEventForComponent","pipe","subscribe","updateMaskClassname","onContainerClick","e","target","currentTarget","emit","attachComponentPortal","portal","portalOutlet","hasAttached","savePreviouslyFocusedElement","setZIndexForBackdrop","attachTemplatePortal","attachStringContent","getNativeElement","nativeElement","animationDisabled","setModalTransformOrigin","modalElement","modalElementRef","previouslyDOMRect","getBoundingClientRect","lastPosition","x","left","width","y","top","height","transformOrigin","offsetLeft","offsetTop","setStyle","focusTrap","create","activeElement","focus","runOutsideAngular","trapFocus","element","focusInitialElementWhenReady","contains","restoreFocus","toFocus","body","destroy","setEnterAnimationClass","backdropElement","classList","add","setExitAnimationClass","setMaskExitAnimationClass","force","remove","cleanAnimationClass","bindBackdropStyle","styles","Object","keys","forEach","key","removeStyle","length","onAnimationDone","event","toState","onAnimationStart","startExitAnimation","markForCheck","ngOnDestroy","next","complete","setupMouseListeners","setTimeout","_BaseModalContainerComponent","_BaseModalContainerComponent_Factory","ɵdir","ɵɵdefineDirective","ɵɵInheritDefinitionFeature","NzModalConfirmContainerComponent","i18n","localeChange","getLocaleData","ngOnInit","_NzModalConfirmContainerComponent","_NzModalConfirmContainerComponent_Factory","viewQuery","_NzModalConfirmContainerComponent_Query","ɵɵviewQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","first","hostVars","hostBindings","_NzModalConfirmContainerComponent_HostBindings","ɵɵsyntheticHostListener","_NzModalConfirmContainerComponent_animation_modalContainer_start_HostBindingHandler","$event","_NzModalConfirmContainerComponent_animation_modalContainer_done_HostBindingHandler","_NzModalConfirmContainerComponent_click_HostBindingHandler","ɵɵsyntheticHostProperty","ɵɵclassMap","ɵɵclassProp","outputs","ɵɵHostDirectivesFeature","_NzModalConfirmContainerComponent_Template","ɵɵpipe","ɵɵpipeBind1","NzToCssUnitPipe","NzButtonComponent","ɵNzTransitionPatchDirective","NzWaveDirective","data","animation","hostDirectives","animations","Default","tabindex","role","static","NzModalFooterComponent","Array","isArray","map","mergeDefaultOption","options","prop","value","componentInstance","getContentComponent","apply","loading","result","autoLoading","then","catch","_NzModalFooterComponent","_NzModalFooterComponent_Factory","inputs","_NzModalFooterComponent_Template","show","disabled","NzModalTitleComponent","_NzModalTitleComponent","_NzModalTitleComponent_Factory","_NzModalTitleComponent_Template","NzModalContainerComponent","_NzModalContainerComponent","ɵ_NzModalContainerComponent_BaseFactory","_NzModalContainerComponent_Factory","ɵɵgetInheritedFactory","_NzModalContainerComponent_Query","_NzModalContainerComponent_HostBindings","_NzModalContainerComponent_animation_modalContainer_start_HostBindingHandler","_NzModalContainerComponent_animation_modalContainer_done_HostBindingHandler","_NzModalContainerComponent_click_HostBindingHandler","_NzModalContainerComponent_Template","NzModalRef","containerInstance","componentRef","afterClose","afterOpen","phaseName","clearTimeout","closeTimeout","_finishDialogClose","cancelable","keydownEvents","keyCode","preventDefault","detachments","dispose","getContentComponentRef","getElement","close","triggerOk","triggerCancel","detachBackdrop","totalTime","updateConfig","assign","getState","getConfig","getBackdropElement","action","_this","_asyncToGenerator","ok","cancel","loadingKey","doClose","closeWhitResult","NzModalService","openModals","parentModal","openModalsAtThisLevel","_afterAllClosed","parent","afterAllClosedAtThisLevel","overlay","injector","directionality","afterAllClose","undefined","skipSelf","open","closeAll","closeModals","confirm","confirmType","info","confirmFactory","success","error","warning","componentOrTemplateRef","configMerged","createOverlay","attachModalContainer","attachModalContent","push","removeOpenModal","index","indexOf","splice","dialogs","i","globalConfig","overlayConfig","hasBackdrop","scrollStrategy","scrollStrategies","block","backdropClass","positionStrategy","position","global","disposeOnNavigation","direction","nzDirection","userInjector","nzViewContainerRef","providers","provide","useValue","ContainerComponent","containerPortal","containerRef","attach","instance","createInjector","contentRef","iconMap","_NzModalService","_NzModalService_Factory","ɵɵinject","Overlay","Directionality","ɵprov","ɵɵdefineInjectable","token","factory","NzModalContentDirective","templateRef","_NzModalContentDirective","_NzModalContentDirective_Factory","NzModalFooterDirective","nzModalRef","_NzModalFooterDirective","_NzModalFooterDirective_Factory","NzModalTitleDirective","_NzModalTitleDirective","_NzModalTitleDirective_Factory","NzModalComponent","modalTitle","setTitleWithTemplate","modalFooter","setFooterWithTemplate","asObservable","modal","viewContainerRef","nzVisible","nzVisibleChange","_this$modalRef","_this$modalRef2","_this$modalRef3","_this$modalRef4","getModalRef","Promise","resolve","componentConfig","contentFromContentChild","ngOnChanges","changes","otherChanges","_this$modalRef5","_NzModalComponent","_NzModalComponent_Factory","ViewContainerRef","contentQueries","_NzModalComponent_ContentQueries","dirIndex","ɵɵcontentQuery","ɵɵInputTransformsFeature","ɵɵNgOnChangesFeature","_NzModalComponent_Template","transform","read","NzModalModule","_NzModalModule","_NzModalModule_Factory","ɵmod","ɵɵdefineNgModule","ɵinj","ɵɵdefineInjector","exports","NzModalLegacyAPI"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-modal.mjs"],"sourcesContent":["import * as i1 from '@angular/cdk/overlay';\nimport { OverlayRef, CdkScrollable, OverlayConfig } from '@angular/cdk/overlay';\nimport * as i5 from '@angular/cdk/portal';\nimport { BasePortalOutlet, CdkPortalOutlet, PortalModule, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Component, ChangeDetectionStrategy, EventEmitter, inject, ChangeDetectorRef, NgZone, ElementRef, Renderer2, ANIMATION_MODULE_TYPE, Directive, ViewChild, Output, Input, Injector, TemplateRef, Injectable, booleanAttribute, numberAttribute, ContentChild, NgModule } from '@angular/core';\nimport { Subject, fromEvent, defer } from 'rxjs';\nimport { takeUntil, filter, take, startWith } from 'rxjs/operators';\nimport { warn } from 'ng-zorro-antd/core/logger';\nimport { overlayZIndexSetter } from 'ng-zorro-antd/core/overlay';\nimport { getElementOffset, isNotNil, isPromise } from 'ng-zorro-antd/core/util';\nimport { DOCUMENT, NgClass, NgStyle } from '@angular/common';\nimport * as i6 from 'ng-zorro-antd/button';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport * as i3 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i1$1 from 'ng-zorro-antd/i18n';\nimport { NzI18nService } from 'ng-zorro-antd/i18n';\nimport * as i2 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport * as i2$1 from 'ng-zorro-antd/pipes';\nimport { NzPipesModule } from 'ng-zorro-antd/pipes';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport { FocusTrapFactory } from '@angular/cdk/a11y';\nimport * as i2$2 from 'ng-zorro-antd/core/config';\nimport { NzConfigService } from 'ng-zorro-antd/core/config';\nimport { reqAnimFrame } from 'ng-zorro-antd/core/polyfill';\nimport * as i7 from 'ng-zorro-antd/core/transition-patch';\nimport * as i8 from 'ng-zorro-antd/core/wave';\nimport { CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop';\nimport { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';\nimport * as i3$1 from '@angular/cdk/bidi';\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 */\nconst noopFun = () => void 0;\nclass ModalOptions {\n constructor() {\n this.nzCentered = false;\n this.nzClosable = true;\n this.nzOkLoading = false;\n this.nzOkDisabled = false;\n this.nzCancelDisabled = false;\n this.nzCancelLoading = false;\n this.nzDraggable = false;\n this.nzNoAnimation = false;\n this.nzAutofocus = 'auto';\n this.nzKeyboard = true;\n this.nzZIndex = 1000;\n this.nzWidth = 520;\n this.nzCloseIcon = 'close';\n this.nzOkType = 'primary';\n this.nzOkDanger = false;\n this.nzModalType = 'default';\n this.nzOnCancel = noopFun;\n this.nzOnOk = noopFun;\n // Confirm\n this.nzIconType = 'question-circle';\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 */\nconst ZOOM_CLASS_NAME_MAP = {\n enter: 'ant-zoom-enter',\n enterActive: 'ant-zoom-enter-active',\n leave: 'ant-zoom-leave',\n leaveActive: 'ant-zoom-leave-active'\n};\nconst FADE_CLASS_NAME_MAP = {\n enter: 'ant-fade-enter',\n enterActive: 'ant-fade-enter-active',\n leave: 'ant-fade-leave',\n leaveActive: 'ant-fade-leave-active'\n};\nconst MODAL_MASK_CLASS_NAME = 'ant-modal-mask';\nconst NZ_CONFIG_MODULE_NAME = 'modal';\nconst NZ_MODAL_DATA = new InjectionToken('NZ_MODAL_DATA');\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 */\nconst nzModalAnimations = {\n modalContainer: trigger('modalContainer', [\n state('void, exit', style({})),\n state('enter', style({})),\n transition('* => enter', animate('.24s', style({}))),\n transition('* => void, * => exit', animate('.2s', style({})))\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 NzModalCloseComponent {\n constructor(config) {\n this.config = config;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalCloseComponent, deps: [{ token: ModalOptions }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzModalCloseComponent, isStandalone: true, selector: \"button[nz-modal-close]\", host: { attributes: { \"aria-label\": \"Close\" }, classAttribute: \"ant-modal-close\" }, exportAs: [\"NzModalCloseBuiltin\"], ngImport: i0, template: `\n <span class=\"ant-modal-close-x\">\n <ng-container *nzStringTemplateOutlet=\"config.nzCloseIcon; let closeIcon\">\n <span nz-icon [nzType]=\"closeIcon\" class=\"ant-modal-close-icon\"></span>\n </ng-container>\n </span>\n `, isInline: true, dependencies: [{ kind: \"ngmodule\", type: NzIconModule }, { kind: \"directive\", type: i2.NzIconDirective, selector: \"[nz-icon]\", inputs: [\"nzSpin\", \"nzRotate\", \"nzType\", \"nzTheme\", \"nzTwotoneColor\", \"nzIconfont\"], exportAs: [\"nzIcon\"] }, { kind: \"ngmodule\", type: NzOutletModule }, { kind: \"directive\", type: i3.NzStringTemplateOutletDirective, selector: \"[nzStringTemplateOutlet]\", inputs: [\"nzStringTemplateOutletContext\", \"nzStringTemplateOutlet\"], exportAs: [\"nzStringTemplateOutlet\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalCloseComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'button[nz-modal-close]',\n exportAs: 'NzModalCloseBuiltin',\n template: `\n <span class=\"ant-modal-close-x\">\n <ng-container *nzStringTemplateOutlet=\"config.nzCloseIcon; let closeIcon\">\n <span nz-icon [nzType]=\"closeIcon\" class=\"ant-modal-close-icon\"></span>\n </ng-container>\n </span>\n `,\n host: {\n class: 'ant-modal-close',\n 'aria-label': 'Close'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NzIconModule, NzOutletModule],\n standalone: true\n }]\n }], ctorParameters: () => [{ type: ModalOptions }] });\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 */\nfunction applyConfigDefaults(config, defaultOptions) {\n return { ...defaultOptions, ...config };\n}\nfunction getValueWithConfig(userValue, configValue, defaultValue) {\n return typeof userValue === 'undefined'\n ? typeof configValue === 'undefined'\n ? defaultValue\n : configValue\n : userValue;\n}\nfunction getConfigFromComponent(component) {\n const { nzCentered, nzMask, nzMaskClosable, nzClosable, nzOkLoading, nzOkDisabled, nzCancelDisabled, nzCancelLoading, nzKeyboard, nzNoAnimation, nzDraggable, nzContent, nzFooter, nzZIndex, nzWidth, nzWrapClassName, nzClassName, nzStyle, nzTitle, nzCloseIcon, nzMaskStyle, nzBodyStyle, nzOkText, nzCancelText, nzOkType, nzOkDanger, nzIconType, nzModalType, nzOnOk, nzOnCancel, nzAfterOpen, nzAfterClose, nzCloseOnNavigation, nzAutofocus } = component;\n return {\n nzCentered,\n nzMask,\n nzMaskClosable,\n nzDraggable,\n nzClosable,\n nzOkLoading,\n nzOkDisabled,\n nzCancelDisabled,\n nzCancelLoading,\n nzKeyboard,\n nzNoAnimation,\n nzContent,\n nzFooter,\n nzZIndex,\n nzWidth,\n nzWrapClassName,\n nzClassName,\n nzStyle,\n nzTitle,\n nzCloseIcon,\n nzMaskStyle,\n nzBodyStyle,\n nzOkText,\n nzCancelText,\n nzOkType,\n nzOkDanger,\n nzIconType,\n nzModalType,\n nzOnOk,\n nzOnCancel,\n nzAfterOpen,\n nzAfterClose,\n nzCloseOnNavigation,\n nzAutofocus\n };\n}\n\nfunction throwNzModalContentAlreadyAttachedError() {\n throw Error('Attempting to attach modal content after content is already attached');\n}\nclass BaseModalContainerComponent extends BasePortalOutlet {\n get showMask() {\n const defaultConfig = this.nzConfigService.getConfigForComponent(NZ_CONFIG_MODULE_NAME) || {};\n return !!getValueWithConfig(this.config.nzMask, defaultConfig.nzMask, true);\n }\n get maskClosable() {\n const defaultConfig = this.nzConfigService.getConfigForComponent(NZ_CONFIG_MODULE_NAME) || {};\n return !!getValueWithConfig(this.config.nzMaskClosable, defaultConfig.nzMaskClosable, true);\n }\n constructor() {\n super();\n this.animationStateChanged = new EventEmitter();\n this.containerClick = new EventEmitter();\n this.cancelTriggered = new EventEmitter();\n this.okTriggered = new EventEmitter();\n this.state = 'enter';\n this.document = inject(DOCUMENT);\n this.isStringContent = false;\n this.dir = 'ltr';\n this.elementFocusedBeforeModalWasOpened = null;\n this.mouseDown = false;\n this.oldMaskStyle = null;\n this.cdr = inject(ChangeDetectorRef);\n this.config = inject(ModalOptions);\n this.destroy$ = new Subject();\n this.ngZone = inject(NgZone);\n this.host = inject(ElementRef);\n this.focusTrapFactory = inject(FocusTrapFactory);\n this.render = inject(Renderer2);\n this.overlayRef = inject(OverlayRef);\n this.nzConfigService = inject(NzConfigService);\n this.animationType = inject(ANIMATION_MODULE_TYPE, { optional: true });\n this.dir = this.overlayRef.getDirection();\n this.isStringContent = typeof this.config.nzContent === 'string';\n this.nzConfigService\n .getConfigChangeEventForComponent(NZ_CONFIG_MODULE_NAME)\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n this.updateMaskClassname();\n });\n }\n onContainerClick(e) {\n if (e.target === e.currentTarget && !this.mouseDown && this.showMask && this.maskClosable) {\n this.containerClick.emit();\n }\n }\n onCloseClick() {\n this.cancelTriggered.emit();\n }\n onOkClick() {\n this.okTriggered.emit();\n }\n attachComponentPortal(portal) {\n if (this.portalOutlet.hasAttached()) {\n throwNzModalContentAlreadyAttachedError();\n }\n this.savePreviouslyFocusedElement();\n this.setZIndexForBackdrop();\n return this.portalOutlet.attachComponentPortal(portal);\n }\n attachTemplatePortal(portal) {\n if (this.portalOutlet.hasAttached()) {\n throwNzModalContentAlreadyAttachedError();\n }\n this.savePreviouslyFocusedElement();\n this.setZIndexForBackdrop();\n return this.portalOutlet.attachTemplatePortal(portal);\n }\n attachStringContent() {\n this.savePreviouslyFocusedElement();\n this.setZIndexForBackdrop();\n }\n getNativeElement() {\n return this.host.nativeElement;\n }\n animationDisabled() {\n return this.config.nzNoAnimation || this.animationType === 'NoopAnimations';\n }\n setModalTransformOrigin() {\n const modalElement = this.modalElementRef.nativeElement;\n if (this.elementFocusedBeforeModalWasOpened) {\n const previouslyDOMRect = this.elementFocusedBeforeModalWasOpened.getBoundingClientRect();\n const lastPosition = getElementOffset(this.elementFocusedBeforeModalWasOpened);\n const x = lastPosition.left + previouslyDOMRect.width / 2;\n const y = lastPosition.top + previouslyDOMRect.height / 2;\n const transformOrigin = `${x - modalElement.offsetLeft}px ${y - modalElement.offsetTop}px 0px`;\n this.render.setStyle(modalElement, 'transform-origin', transformOrigin);\n }\n }\n savePreviouslyFocusedElement() {\n if (!this.focusTrap) {\n this.focusTrap = this.focusTrapFactory.create(this.host.nativeElement);\n }\n if (this.document) {\n this.elementFocusedBeforeModalWasOpened = this.document.activeElement;\n if (this.host.nativeElement.focus) {\n this.ngZone.runOutsideAngular(() => reqAnimFrame(() => this.host.nativeElement.focus()));\n }\n }\n }\n trapFocus() {\n const element = this.host.nativeElement;\n if (this.config.nzAutofocus) {\n this.focusTrap.focusInitialElementWhenReady();\n }\n else {\n const activeElement = this.document.activeElement;\n if (activeElement !== element && !element.contains(activeElement)) {\n element.focus();\n }\n }\n }\n restoreFocus() {\n const toFocus = this.elementFocusedBeforeModalWasOpened;\n // We need the extra check, because IE can set the `activeElement` to null in some cases.\n if (toFocus && typeof toFocus.focus === 'function') {\n const activeElement = this.document.activeElement;\n const element = this.host.nativeElement;\n if (!activeElement ||\n activeElement === this.document.body ||\n activeElement === element ||\n element.contains(activeElement)) {\n toFocus.focus();\n }\n }\n if (this.focusTrap) {\n this.focusTrap.destroy();\n }\n }\n setEnterAnimationClass() {\n if (this.animationDisabled()) {\n return;\n }\n // Make sure to set the `TransformOrigin` style before set the modelElement's class names\n this.setModalTransformOrigin();\n const modalElement = this.modalElementRef.nativeElement;\n const backdropElement = this.overlayRef.backdropElement;\n modalElement.classList.add(ZOOM_CLASS_NAME_MAP.enter);\n modalElement.classList.add(ZOOM_CLASS_NAME_MAP.enterActive);\n if (backdropElement) {\n backdropElement.classList.add(FADE_CLASS_NAME_MAP.enter);\n backdropElement.classList.add(FADE_CLASS_NAME_MAP.enterActive);\n }\n }\n setExitAnimationClass() {\n const modalElement = this.modalElementRef.nativeElement;\n modalElement.classList.add(ZOOM_CLASS_NAME_MAP.leave);\n modalElement.classList.add(ZOOM_CLASS_NAME_MAP.leaveActive);\n this.setMaskExitAnimationClass();\n }\n setMaskExitAnimationClass(force = false) {\n const backdropElement = this.overlayRef.backdropElement;\n if (backdropElement) {\n if (this.animationDisabled() || force) {\n // https://github.com/angular/components/issues/18645\n backdropElement.classList.remove(MODAL_MASK_CLASS_NAME);\n return;\n }\n backdropElement.classList.add(FADE_CLASS_NAME_MAP.leave);\n backdropElement.classList.add(FADE_CLASS_NAME_MAP.leaveActive);\n }\n }\n cleanAnimationClass() {\n if (this.animationDisabled()) {\n return;\n }\n const backdropElement = this.overlayRef.backdropElement;\n const modalElement = this.modalElementRef.nativeElement;\n if (backdropElement) {\n backdropElement.classList.remove(FADE_CLASS_NAME_MAP.enter);\n backdropElement.classList.remove(FADE_CLASS_NAME_MAP.enterActive);\n }\n modalElement.classList.remove(ZOOM_CLASS_NAME_MAP.enter);\n modalElement.classList.remove(ZOOM_CLASS_NAME_MAP.enterActive);\n modalElement.classList.remove(ZOOM_CLASS_NAME_MAP.leave);\n modalElement.classList.remove(ZOOM_CLASS_NAME_MAP.leaveActive);\n }\n setZIndexForBackdrop() {\n const backdropElement = this.overlayRef.backdropElement;\n if (backdropElement) {\n if (isNotNil(this.config.nzZIndex)) {\n this.render.setStyle(backdropElement, 'z-index', this.config.nzZIndex);\n }\n }\n }\n bindBackdropStyle() {\n const backdropElement = this.overlayRef.backdropElement;\n if (backdropElement) {\n if (this.oldMaskStyle) {\n const styles = this.oldMaskStyle;\n Object.keys(styles).forEach(key => {\n this.render.removeStyle(backdropElement, key);\n });\n this.oldMaskStyle = null;\n }\n this.setZIndexForBackdrop();\n if (typeof this.config.nzMaskStyle === 'object' && Object.keys(this.config.nzMaskStyle).length) {\n const styles = { ...this.config.nzMaskStyle };\n Object.keys(styles).forEach(key => {\n this.render.setStyle(backdropElement, key, styles[key]);\n });\n this.oldMaskStyle = styles;\n }\n }\n }\n updateMaskClassname() {\n const backdropElement = this.overlayRef.backdropElement;\n if (backdropElement) {\n if (this.showMask) {\n backdropElement.classList.add(MODAL_MASK_CLASS_NAME);\n }\n else {\n backdropElement.classList.remove(MODAL_MASK_CLASS_NAME);\n }\n }\n }\n onAnimationDone(event) {\n if (event.toState === 'enter') {\n this.trapFocus();\n }\n else if (event.toState === 'exit') {\n this.restoreFocus();\n }\n this.cleanAnimationClass();\n this.animationStateChanged.emit(event);\n }\n onAnimationStart(event) {\n if (event.toState === 'enter') {\n this.setEnterAnimationClass();\n this.bindBackdropStyle();\n }\n else if (event.toState === 'exit') {\n this.setExitAnimationClass();\n }\n this.animationStateChanged.emit(event);\n }\n startExitAnimation() {\n this.state = 'exit';\n this.cdr.markForCheck();\n }\n ngOnDestroy() {\n this.setMaskExitAnimationClass(true);\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n setupMouseListeners(modalContainer) {\n this.ngZone.runOutsideAngular(() => {\n fromEvent(this.host.nativeElement, 'mouseup')\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n if (this.mouseDown) {\n setTimeout(() => {\n this.mouseDown = false;\n });\n }\n });\n fromEvent(modalContainer.nativeElement, 'mousedown')\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n this.mouseDown = true;\n });\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: BaseModalContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: BaseModalContainerComponent, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: BaseModalContainerComponent, decorators: [{\n type: Directive\n }], ctorParameters: () => [] });\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 NzModalConfirmContainerComponent extends BaseModalContainerComponent {\n constructor() {\n super();\n this.cancelTriggered = new EventEmitter();\n this.okTriggered = new EventEmitter();\n this.i18n = inject(NzI18nService);\n this.i18n.localeChange.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.locale = this.i18n.getLocaleData('Modal');\n });\n }\n ngOnInit() {\n this.setupMouseListeners(this.modalElementRef);\n }\n onCancel() {\n this.cancelTriggered.emit();\n }\n onOk() {\n this.okTriggered.emit();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalConfirmContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"18.2.1\", type: NzModalConfirmContainerComponent, isStandalone: true, selector: \"nz-modal-confirm-container\", outputs: { cancelTriggered: \"cancelTriggered\", okTriggered: \"okTriggered\" }, host: { attributes: { \"tabindex\": \"-1\", \"role\": \"dialog\" }, listeners: { \"@modalContainer.start\": \"onAnimationStart($event)\", \"@modalContainer.done\": \"onAnimationDone($event)\", \"click\": \"onContainerClick($event)\" }, properties: { \"class\": \"config.nzWrapClassName ? \\\"ant-modal-wrap \\\" + config.nzWrapClassName : \\\"ant-modal-wrap\\\"\", \"class.ant-modal-wrap-rtl\": \"dir === 'rtl'\", \"class.ant-modal-centered\": \"config.nzCentered\", \"style.zIndex\": \"config.nzZIndex\", \"@.disabled\": \"config.nzNoAnimation\", \"@modalContainer\": \"state\" } }, viewQueries: [{ propertyName: \"portalOutlet\", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }, { propertyName: \"modalElementRef\", first: true, predicate: [\"modalElement\"], descendants: true, static: true }], exportAs: [\"nzModalConfirmContainer\"], usesInheritance: true, hostDirectives: [{ directive: i1.CdkScrollable }], ngImport: i0, template: `\n <div\n #modalElement\n role=\"document\"\n class=\"ant-modal\"\n [ngClass]=\"config.nzClassName!\"\n [ngStyle]=\"config.nzStyle!\"\n [style.width]=\"config?.nzWidth! | nzToCssUnit\"\n >\n <div class=\"ant-modal-content\">\n @if (config.nzClosable) {\n <button nz-modal-close (click)=\"onCloseClick()\"></button>\n }\n\n <div class=\"ant-modal-body\" [ngStyle]=\"config.nzBodyStyle!\">\n <div class=\"ant-modal-confirm-body-wrapper\">\n <div class=\"ant-modal-confirm-body\">\n <span nz-icon [nzType]=\"config.nzIconType!\"></span>\n <span class=\"ant-modal-confirm-title\">\n <ng-container *nzStringTemplateOutlet=\"config.nzTitle\">\n <span [innerHTML]=\"config.nzTitle\"></span>\n </ng-container>\n </span>\n <div class=\"ant-modal-confirm-content\">\n <ng-template cdkPortalOutlet></ng-template>\n @if (isStringContent) {\n <div [innerHTML]=\"config.nzContent\"></div>\n }\n </div>\n </div>\n <div class=\"ant-modal-confirm-btns\">\n @if (config.nzCancelText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'cancel' || null\"\n nz-button\n (click)=\"onCancel()\"\n [nzLoading]=\"config.nzCancelLoading\"\n [disabled]=\"config.nzCancelDisabled\"\n >\n {{ config.nzCancelText || locale.cancelText }}\n </button>\n }\n @if (config.nzOkText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'ok' || null\"\n nz-button\n [nzType]=\"config.nzOkType!\"\n (click)=\"onOk()\"\n [nzLoading]=\"config.nzOkLoading\"\n [disabled]=\"config.nzOkDisabled\"\n [nzDanger]=\"config.nzOkDanger\"\n >\n {{ config.nzOkText || locale.okText }}\n </button>\n }\n </div>\n </div>\n </div>\n </div>\n </div>\n `, isInline: true, dependencies: [{ kind: \"directive\", type: NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"ngmodule\", type: NzPipesModule }, { kind: \"pipe\", type: i2$1.NzToCssUnitPipe, name: \"nzToCssUnit\" }, { kind: \"ngmodule\", type: NzIconModule }, { kind: \"directive\", type: i2.NzIconDirective, selector: \"[nz-icon]\", inputs: [\"nzSpin\", \"nzRotate\", \"nzType\", \"nzTheme\", \"nzTwotoneColor\", \"nzIconfont\"], exportAs: [\"nzIcon\"] }, { kind: \"component\", type: NzModalCloseComponent, selector: \"button[nz-modal-close]\", exportAs: [\"NzModalCloseBuiltin\"] }, { kind: \"ngmodule\", type: NzOutletModule }, { kind: \"directive\", type: i3.NzStringTemplateOutletDirective, selector: \"[nzStringTemplateOutlet]\", inputs: [\"nzStringTemplateOutletContext\", \"nzStringTemplateOutlet\"], exportAs: [\"nzStringTemplateOutlet\"] }, { kind: \"ngmodule\", type: PortalModule }, { kind: \"directive\", type: i5.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }, { kind: \"ngmodule\", type: NzButtonModule }, { kind: \"component\", type: i6.NzButtonComponent, selector: \"button[nz-button], a[nz-button]\", inputs: [\"nzBlock\", \"nzGhost\", \"nzSearch\", \"nzLoading\", \"nzDanger\", \"disabled\", \"tabIndex\", \"nzType\", \"nzShape\", \"nzSize\"], exportAs: [\"nzButton\"] }, { kind: \"directive\", type: i7.ɵNzTransitionPatchDirective, selector: \"[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group\", inputs: [\"hidden\"] }, { kind: \"directive\", type: i8.NzWaveDirective, selector: \"[nz-wave],button[nz-button]:not([nzType=\\\"link\\\"]):not([nzType=\\\"text\\\"])\", inputs: [\"nzWaveExtraNode\"], exportAs: [\"nzWave\"] }], animations: [nzModalAnimations.modalContainer], changeDetection: i0.ChangeDetectionStrategy.Default }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalConfirmContainerComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'nz-modal-confirm-container',\n exportAs: 'nzModalConfirmContainer',\n template: `\n <div\n #modalElement\n role=\"document\"\n class=\"ant-modal\"\n [ngClass]=\"config.nzClassName!\"\n [ngStyle]=\"config.nzStyle!\"\n [style.width]=\"config?.nzWidth! | nzToCssUnit\"\n >\n <div class=\"ant-modal-content\">\n @if (config.nzClosable) {\n <button nz-modal-close (click)=\"onCloseClick()\"></button>\n }\n\n <div class=\"ant-modal-body\" [ngStyle]=\"config.nzBodyStyle!\">\n <div class=\"ant-modal-confirm-body-wrapper\">\n <div class=\"ant-modal-confirm-body\">\n <span nz-icon [nzType]=\"config.nzIconType!\"></span>\n <span class=\"ant-modal-confirm-title\">\n <ng-container *nzStringTemplateOutlet=\"config.nzTitle\">\n <span [innerHTML]=\"config.nzTitle\"></span>\n </ng-container>\n </span>\n <div class=\"ant-modal-confirm-content\">\n <ng-template cdkPortalOutlet></ng-template>\n @if (isStringContent) {\n <div [innerHTML]=\"config.nzContent\"></div>\n }\n </div>\n </div>\n <div class=\"ant-modal-confirm-btns\">\n @if (config.nzCancelText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'cancel' || null\"\n nz-button\n (click)=\"onCancel()\"\n [nzLoading]=\"config.nzCancelLoading\"\n [disabled]=\"config.nzCancelDisabled\"\n >\n {{ config.nzCancelText || locale.cancelText }}\n </button>\n }\n @if (config.nzOkText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'ok' || null\"\n nz-button\n [nzType]=\"config.nzOkType!\"\n (click)=\"onOk()\"\n [nzLoading]=\"config.nzOkLoading\"\n [disabled]=\"config.nzOkDisabled\"\n [nzDanger]=\"config.nzOkDanger\"\n >\n {{ config.nzOkText || locale.okText }}\n </button>\n }\n </div>\n </div>\n </div>\n </div>\n </div>\n `,\n hostDirectives: [CdkScrollable],\n animations: [nzModalAnimations.modalContainer],\n // Using OnPush for modal caused footer can not to detect changes. we can fix it when 8.x.\n changeDetection: ChangeDetectionStrategy.Default,\n host: {\n tabindex: '-1',\n role: 'dialog',\n '[class]': 'config.nzWrapClassName ? \"ant-modal-wrap \" + config.nzWrapClassName : \"ant-modal-wrap\"',\n '[class.ant-modal-wrap-rtl]': `dir === 'rtl'`,\n '[class.ant-modal-centered]': 'config.nzCentered',\n '[style.zIndex]': 'config.nzZIndex',\n '[@.disabled]': 'config.nzNoAnimation',\n '[@modalContainer]': 'state',\n '(@modalContainer.start)': 'onAnimationStart($event)',\n '(@modalContainer.done)': 'onAnimationDone($event)',\n '(click)': 'onContainerClick($event)'\n },\n imports: [\n NgClass,\n NgStyle,\n NzPipesModule,\n NzIconModule,\n NzModalCloseComponent,\n NzOutletModule,\n PortalModule,\n NzButtonModule\n ],\n standalone: true\n }]\n }], ctorParameters: () => [], propDecorators: { portalOutlet: [{\n type: ViewChild,\n args: [CdkPortalOutlet, { static: true }]\n }], modalElementRef: [{\n type: ViewChild,\n args: ['modalElement', { static: true }]\n }], cancelTriggered: [{\n type: Output\n }], okTriggered: [{\n type: Output\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 NzModalFooterComponent {\n constructor(i18n, config) {\n this.i18n = i18n;\n this.config = config;\n this.buttonsFooter = false;\n this.buttons = [];\n this.cancelTriggered = new EventEmitter();\n this.okTriggered = new EventEmitter();\n this.destroy$ = new Subject();\n if (Array.isArray(config.nzFooter)) {\n this.buttonsFooter = true;\n this.buttons = config.nzFooter.map(mergeDefaultOption);\n }\n this.i18n.localeChange.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.locale = this.i18n.getLocaleData('Modal');\n });\n }\n onCancel() {\n this.cancelTriggered.emit();\n }\n onOk() {\n this.okTriggered.emit();\n }\n /**\n * Returns the value of the specified key.\n * If it is a function, run and return the return value of the function.\n */\n getButtonCallableProp(options, prop) {\n const value = options[prop];\n const componentInstance = this.modalRef.getContentComponent();\n return typeof value === 'function' ? value.apply(options, componentInstance && [componentInstance]) : value;\n }\n /**\n * Run function based on the type and set its `loading` prop if needed.\n */\n onButtonClick(options) {\n const loading = this.getButtonCallableProp(options, 'loading');\n if (!loading) {\n const result = this.getButtonCallableProp(options, 'onClick');\n if (options.autoLoading && isPromise(result)) {\n options.loading = true;\n result\n .then(() => (options.loading = false))\n .catch(e => {\n options.loading = false;\n throw e;\n });\n }\n }\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalFooterComponent, deps: [{ token: i1$1.NzI18nService }, { token: ModalOptions }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"18.2.1\", type: NzModalFooterComponent, isStandalone: true, selector: \"div[nz-modal-footer]\", inputs: { modalRef: \"modalRef\" }, outputs: { cancelTriggered: \"cancelTriggered\", okTriggered: \"okTriggered\" }, host: { classAttribute: \"ant-modal-footer\" }, exportAs: [\"NzModalFooterBuiltin\"], ngImport: i0, template: `\n @if (config.nzFooter) {\n <ng-container\n *nzStringTemplateOutlet=\"config.nzFooter; context: { $implicit: config.nzData, modalRef: modalRef }\"\n >\n @if (buttonsFooter) {\n @for (button of buttons; track button) {\n <button\n nz-button\n (click)=\"onButtonClick(button)\"\n [hidden]=\"!getButtonCallableProp(button, 'show')\"\n [nzLoading]=\"getButtonCallableProp(button, 'loading')\"\n [disabled]=\"getButtonCallableProp(button, 'disabled')\"\n [nzType]=\"button.type!\"\n [nzDanger]=\"button.danger\"\n [nzShape]=\"button.shape!\"\n [nzSize]=\"button.size!\"\n [nzGhost]=\"button.ghost!\"\n >\n {{ button.label }}\n </button>\n }\n } @else {\n <div [innerHTML]=\"config.nzFooter\"></div>\n }\n </ng-container>\n } @else {\n @if (config.nzCancelText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'cancel' || null\"\n nz-button\n (click)=\"onCancel()\"\n [nzLoading]=\"config.nzCancelLoading\"\n [disabled]=\"config.nzCancelDisabled\"\n >\n {{ config.nzCancelText || locale.cancelText }}\n </button>\n }\n @if (config.nzOkText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'ok' || null\"\n nz-button\n [nzType]=\"config.nzOkType!\"\n [nzDanger]=\"config.nzOkDanger\"\n (click)=\"onOk()\"\n [nzLoading]=\"config.nzOkLoading\"\n [disabled]=\"config.nzOkDisabled\"\n >\n {{ config.nzOkText || locale.okText }}\n </button>\n }\n }\n `, isInline: true, dependencies: [{ kind: \"ngmodule\", type: NzOutletModule }, { kind: \"directive\", type: i3.NzStringTemplateOutletDirective, selector: \"[nzStringTemplateOutlet]\", inputs: [\"nzStringTemplateOutletContext\", \"nzStringTemplateOutlet\"], exportAs: [\"nzStringTemplateOutlet\"] }, { kind: \"ngmodule\", type: NzButtonModule }, { kind: \"component\", type: i6.NzButtonComponent, selector: \"button[nz-button], a[nz-button]\", inputs: [\"nzBlock\", \"nzGhost\", \"nzSearch\", \"nzLoading\", \"nzDanger\", \"disabled\", \"tabIndex\", \"nzType\", \"nzShape\", \"nzSize\"], exportAs: [\"nzButton\"] }, { kind: \"directive\", type: i7.ɵNzTransitionPatchDirective, selector: \"[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group\", inputs: [\"hidden\"] }, { kind: \"directive\", type: i8.NzWaveDirective, selector: \"[nz-wave],button[nz-button]:not([nzType=\\\"link\\\"]):not([nzType=\\\"text\\\"])\", inputs: [\"nzWaveExtraNode\"], exportAs: [\"nzWave\"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalFooterComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'div[nz-modal-footer]',\n exportAs: 'NzModalFooterBuiltin',\n template: `\n @if (config.nzFooter) {\n <ng-container\n *nzStringTemplateOutlet=\"config.nzFooter; context: { $implicit: config.nzData, modalRef: modalRef }\"\n >\n @if (buttonsFooter) {\n @for (button of buttons; track button) {\n <button\n nz-button\n (click)=\"onButtonClick(button)\"\n [hidden]=\"!getButtonCallableProp(button, 'show')\"\n [nzLoading]=\"getButtonCallableProp(button, 'loading')\"\n [disabled]=\"getButtonCallableProp(button, 'disabled')\"\n [nzType]=\"button.type!\"\n [nzDanger]=\"button.danger\"\n [nzShape]=\"button.shape!\"\n [nzSize]=\"button.size!\"\n [nzGhost]=\"button.ghost!\"\n >\n {{ button.label }}\n </button>\n }\n } @else {\n <div [innerHTML]=\"config.nzFooter\"></div>\n }\n </ng-container>\n } @else {\n @if (config.nzCancelText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'cancel' || null\"\n nz-button\n (click)=\"onCancel()\"\n [nzLoading]=\"config.nzCancelLoading\"\n [disabled]=\"config.nzCancelDisabled\"\n >\n {{ config.nzCancelText || locale.cancelText }}\n </button>\n }\n @if (config.nzOkText !== null) {\n <button\n [attr.cdkFocusInitial]=\"config.nzAutofocus === 'ok' || null\"\n nz-button\n [nzType]=\"config.nzOkType!\"\n [nzDanger]=\"config.nzOkDanger\"\n (click)=\"onOk()\"\n [nzLoading]=\"config.nzOkLoading\"\n [disabled]=\"config.nzOkDisabled\"\n >\n {{ config.nzOkText || locale.okText }}\n </button>\n }\n }\n `,\n host: {\n class: 'ant-modal-footer'\n },\n changeDetection: ChangeDetectionStrategy.Default,\n imports: [NzOutletModule, NzButtonModule],\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i1$1.NzI18nService }, { type: ModalOptions }], propDecorators: { cancelTriggered: [{\n type: Output\n }], okTriggered: [{\n type: Output\n }], modalRef: [{\n type: Input\n }] } });\nfunction mergeDefaultOption(options) {\n return {\n type: null,\n size: 'default',\n autoLoading: true,\n show: true,\n loading: false,\n disabled: false,\n ...options\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 NzModalTitleComponent {\n constructor(config) {\n this.config = config;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalTitleComponent, deps: [{ token: ModalOptions }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzModalTitleComponent, isStandalone: true, selector: \"div[nz-modal-title]\", host: { classAttribute: \"ant-modal-header\" }, exportAs: [\"NzModalTitleBuiltin\"], ngImport: i0, template: `\n <div class=\"ant-modal-title\">\n <ng-container *nzStringTemplateOutlet=\"config.nzTitle\">\n <div [innerHTML]=\"config.nzTitle\"></div>\n </ng-container>\n </div>\n `, isInline: true, dependencies: [{ kind: \"ngmodule\", type: NzOutletModule }, { kind: \"directive\", type: i3.NzStringTemplateOutletDirective, selector: \"[nzStringTemplateOutlet]\", inputs: [\"nzStringTemplateOutletContext\", \"nzStringTemplateOutlet\"], exportAs: [\"nzStringTemplateOutlet\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalTitleComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'div[nz-modal-title]',\n exportAs: 'NzModalTitleBuiltin',\n template: `\n <div class=\"ant-modal-title\">\n <ng-container *nzStringTemplateOutlet=\"config.nzTitle\">\n <div [innerHTML]=\"config.nzTitle\"></div>\n </ng-container>\n </div>\n `,\n host: {\n class: 'ant-modal-header'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NzOutletModule],\n standalone: true\n }]\n }], ctorParameters: () => [{ type: ModalOptions }] });\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 NzModalContainerComponent extends BaseModalContainerComponent {\n ngOnInit() {\n this.setupMouseListeners(this.modalElementRef);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"18.2.1\", type: NzModalContainerComponent, isStandalone: true, selector: \"nz-modal-container\", host: { attributes: { \"tabindex\": \"-1\", \"role\": \"dialog\" }, listeners: { \"@modalContainer.start\": \"onAnimationStart($event)\", \"@modalContainer.done\": \"onAnimationDone($event)\", \"click\": \"onContainerClick($event)\" }, properties: { \"class\": \"config.nzWrapClassName ? \\\"ant-modal-wrap \\\" + config.nzWrapClassName : \\\"ant-modal-wrap\\\"\", \"class.ant-modal-wrap-rtl\": \"dir === 'rtl'\", \"class.ant-modal-centered\": \"config.nzCentered\", \"style.zIndex\": \"config.nzZIndex\", \"@.disabled\": \"config.nzNoAnimation\", \"@modalContainer\": \"state\" } }, viewQueries: [{ propertyName: \"portalOutlet\", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }, { propertyName: \"modalElementRef\", first: true, predicate: [\"modalElement\"], descendants: true, static: true }], exportAs: [\"nzModalContainer\"], usesInheritance: true, hostDirectives: [{ directive: i1.CdkScrollable }], ngImport: i0, template: `\n <div\n #modalElement\n cdkDrag\n cdkDragBoundary=\".cdk-overlay-container\"\n [cdkDragDisabled]=\"!config.nzDraggable\"\n role=\"document\"\n class=\"ant-modal\"\n [ngClass]=\"config.nzClassName!\"\n [ngStyle]=\"config.nzStyle!\"\n [style.width]=\"config?.nzWidth! | nzToCssUnit\"\n >\n <div class=\"ant-modal-content\">\n @if (config.nzClosable) {\n <button nz-modal-close (click)=\"onCloseClick()\"></button>\n }\n @if (config.nzTitle) {\n <div nz-modal-title cdkDragHandle [style.cursor]=\"config.nzDraggable ? 'move' : 'auto'\"></div>\n }\n\n <div class=\"ant-modal-body\" [ngStyle]=\"config.nzBodyStyle!\">\n <ng-template cdkPortalOutlet />\n @if (isStringContent) {\n <div [innerHTML]=\"config.nzContent\"></div>\n }\n </div>\n @if (config.nzFooter !== null) {\n <div\n nz-modal-footer\n [modalRef]=\"modalRef\"\n (cancelTriggered)=\"onCloseClick()\"\n (okTriggered)=\"onOkClick()\"\n ></div>\n }\n </div>\n </div>\n `, isInline: true, dependencies: [{ kind: \"directive\", type: NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"component\", type: NzModalCloseComponent, selector: \"button[nz-modal-close]\", exportAs: [\"NzModalCloseBuiltin\"] }, { kind: \"component\", type: NzModalTitleComponent, selector: \"div[nz-modal-title]\", exportAs: [\"NzModalTitleBuiltin\"] }, { kind: \"ngmodule\", type: PortalModule }, { kind: \"directive\", type: i5.CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: [\"cdkPortalOutlet\"], outputs: [\"attached\"], exportAs: [\"cdkPortalOutlet\"] }, { kind: \"component\", type: NzModalFooterComponent, selector: \"div[nz-modal-footer]\", inputs: [\"modalRef\"], outputs: [\"cancelTriggered\", \"okTriggered\"], exportAs: [\"NzModalFooterBuiltin\"] }, { kind: \"ngmodule\", type: NzPipesModule }, { kind: \"pipe\", type: i2$1.NzToCssUnitPipe, name: \"nzToCssUnit\" }, { kind: \"directive\", type: CdkDrag, selector: \"[cdkDrag]\", inputs: [\"cdkDragData\", \"cdkDragLockAxis\", \"cdkDragRootElement\", \"cdkDragBoundary\", \"cdkDragStartDelay\", \"cdkDragFreeDragPosition\", \"cdkDragDisabled\", \"cdkDragConstrainPosition\", \"cdkDragPreviewClass\", \"cdkDragPreviewContainer\", \"cdkDragScale\"], outputs: [\"cdkDragStarted\", \"cdkDragReleased\", \"cdkDragEnded\", \"cdkDragEntered\", \"cdkDragExited\", \"cdkDragDropped\", \"cdkDragMoved\"], exportAs: [\"cdkDrag\"] }, { kind: \"directive\", type: CdkDragHandle, selector: \"[cdkDragHandle]\", inputs: [\"cdkDragHandleDisabled\"] }], animations: [nzModalAnimations.modalContainer], changeDetection: i0.ChangeDetectionStrategy.Default }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalContainerComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'nz-modal-container',\n exportAs: 'nzModalContainer',\n hostDirectives: [CdkScrollable],\n template: `\n <div\n #modalElement\n cdkDrag\n cdkDragBoundary=\".cdk-overlay-container\"\n [cdkDragDisabled]=\"!config.nzDraggable\"\n role=\"document\"\n class=\"ant-modal\"\n [ngClass]=\"config.nzClassName!\"\n [ngStyle]=\"config.nzStyle!\"\n [style.width]=\"config?.nzWidth! | nzToCssUnit\"\n >\n <div class=\"ant-modal-content\">\n @if (config.nzClosable) {\n <button nz-modal-close (click)=\"onCloseClick()\"></button>\n }\n @if (config.nzTitle) {\n <div nz-modal-title cdkDragHandle [style.cursor]=\"config.nzDraggable ? 'move' : 'auto'\"></div>\n }\n\n <div class=\"ant-modal-body\" [ngStyle]=\"config.nzBodyStyle!\">\n <ng-template cdkPortalOutlet />\n @if (isStringContent) {\n <div [innerHTML]=\"config.nzContent\"></div>\n }\n </div>\n @if (config.nzFooter !== null) {\n <div\n nz-modal-footer\n [modalRef]=\"modalRef\"\n (cancelTriggered)=\"onCloseClick()\"\n (okTriggered)=\"onOkClick()\"\n ></div>\n }\n </div>\n </div>\n `,\n animations: [nzModalAnimations.modalContainer],\n // Using OnPush for modal caused footer can not to detect changes. we can fix it when 8.x.\n changeDetection: ChangeDetectionStrategy.Default,\n host: {\n tabindex: '-1',\n role: 'dialog',\n '[class]': 'config.nzWrapClassName ? \"ant-modal-wrap \" + config.nzWrapClassName : \"ant-modal-wrap\"',\n '[class.ant-modal-wrap-rtl]': `dir === 'rtl'`,\n '[class.ant-modal-centered]': 'config.nzCentered',\n '[style.zIndex]': 'config.nzZIndex',\n '[@.disabled]': 'config.nzNoAnimation',\n '[@modalContainer]': 'state',\n '(@modalContainer.start)': 'onAnimationStart($event)',\n '(@modalContainer.done)': 'onAnimationDone($event)',\n '(click)': 'onContainerClick($event)'\n },\n imports: [\n NgClass,\n NgStyle,\n NzModalCloseComponent,\n NzModalTitleComponent,\n PortalModule,\n NzModalFooterComponent,\n NzPipesModule,\n CdkDrag,\n CdkDragHandle\n ],\n standalone: true\n }]\n }], propDecorators: { portalOutlet: [{\n type: ViewChild,\n args: [CdkPortalOutlet, { static: true }]\n }], modalElementRef: [{\n type: ViewChild,\n args: ['modalElement', { static: true }]\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 NzModalRef {\n constructor(overlayRef, config, containerInstance) {\n this.overlayRef = overlayRef;\n this.config = config;\n this.containerInstance = containerInstance;\n this.componentInstance = null;\n this.componentRef = null;\n this.state = 0 /* NzModalState.OPEN */;\n this.afterClose = new Subject();\n this.afterOpen = new Subject();\n this.destroy$ = new Subject();\n containerInstance.animationStateChanged\n .pipe(filter(event => event.phaseName === 'done' && event.toState === 'enter'), take(1))\n .subscribe(() => {\n this.afterOpen.next();\n this.afterOpen.complete();\n if (config.nzAfterOpen instanceof EventEmitter) {\n config.nzAfterOpen.emit();\n }\n });\n containerInstance.animationStateChanged\n .pipe(filter(event => event.phaseName === 'done' && event.toState === 'exit'), take(1))\n .subscribe(() => {\n clearTimeout(this.closeTimeout);\n this._finishDialogClose();\n });\n containerInstance.containerClick.pipe(takeUntil(this.destroy$)).subscribe(() => {\n const cancelable = !this.config.nzCancelLoading && !this.config.nzOkLoading;\n if (cancelable) {\n this.trigger(\"cancel\" /* NzTriggerAction.CANCEL */);\n }\n });\n overlayRef\n .keydownEvents()\n .pipe(filter(event => this.config.nzKeyboard &&\n !this.config.nzCancelLoading &&\n !this.config.nzOkLoading &&\n event.keyCode === ESCAPE &&\n !hasModifierKey(event)))\n .subscribe(event => {\n event.preventDefault();\n this.trigger(\"cancel\" /* NzTriggerAction.CANCEL */);\n });\n containerInstance.cancelTriggered\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => this.trigger(\"cancel\" /* NzTriggerAction.CANCEL */));\n containerInstance.okTriggered.pipe(takeUntil(this.destroy$)).subscribe(() => this.trigger(\"ok\" /* NzTriggerAction.OK */));\n overlayRef.detachments().subscribe(() => {\n this.afterClose.next(this.result);\n this.afterClose.complete();\n if (config.nzAfterClose instanceof EventEmitter) {\n config.nzAfterClose.emit(this.result);\n }\n this.componentInstance = null;\n this.componentRef = null;\n this.overlayRef.dispose();\n });\n }\n getContentComponent() {\n return this.componentInstance;\n }\n getContentComponentRef() {\n return this.componentRef;\n }\n getElement() {\n return this.containerInstance.getNativeElement();\n }\n destroy(result) {\n this.close(result);\n }\n triggerOk() {\n return this.trigger(\"ok\" /* NzTriggerAction.OK */);\n }\n triggerCancel() {\n return this.trigger(\"cancel\" /* NzTriggerAction.CANCEL */);\n }\n close(result) {\n if (this.state !== 0 /* NzModalState.OPEN */) {\n return;\n }\n this.result = result;\n this.containerInstance.animationStateChanged\n .pipe(filter(event => event.phaseName === 'start'), take(1))\n .subscribe(event => {\n this.overlayRef.detachBackdrop();\n this.closeTimeout = setTimeout(() => {\n this._finishDialogClose();\n }, event.totalTime + 100);\n });\n this.containerInstance.startExitAnimation();\n this.state = 1 /* NzModalState.CLOSING */;\n }\n updateConfig(config) {\n Object.assign(this.config, config);\n this.containerInstance.bindBackdropStyle();\n this.containerInstance.cdr.markForCheck();\n }\n getState() {\n return this.state;\n }\n getConfig() {\n return this.config;\n }\n getBackdropElement() {\n return this.overlayRef.backdropElement;\n }\n async trigger(action) {\n if (this.state === 1 /* NzModalState.CLOSING */) {\n return;\n }\n const trigger = { ok: this.config.nzOnOk, cancel: this.config.nzOnCancel }[action];\n const loadingKey = { ok: 'nzOkLoading', cancel: 'nzCancelLoading' }[action];\n const loading = this.config[loadingKey];\n if (loading) {\n return;\n }\n if (trigger instanceof EventEmitter) {\n trigger.emit(this.getContentComponent());\n }\n else if (typeof trigger === 'function') {\n const result = trigger(this.getContentComponent());\n if (isPromise(result)) {\n this.config[loadingKey] = true;\n let doClose = false;\n try {\n doClose = (await result);\n }\n finally {\n this.config[loadingKey] = false;\n this.closeWhitResult(doClose);\n }\n }\n else {\n this.closeWhitResult(result);\n }\n }\n }\n closeWhitResult(result) {\n if (result !== false) {\n this.close(result);\n }\n }\n _finishDialogClose() {\n this.state = 2 /* NzModalState.CLOSED */;\n this.overlayRef.dispose();\n this.destroy$.next();\n }\n}\n\nclass NzModalService {\n get openModals() {\n return this.parentModal ? this.parentModal.openModals : this.openModalsAtThisLevel;\n }\n get _afterAllClosed() {\n const parent = this.parentModal;\n return parent ? parent._afterAllClosed : this.afterAllClosedAtThisLevel;\n }\n constructor(overlay, injector, nzConfigService, directionality) {\n this.overlay = overlay;\n this.injector = injector;\n this.nzConfigService = nzConfigService;\n this.directionality = directionality;\n this.openModalsAtThisLevel = [];\n this.afterAllClosedAtThisLevel = new Subject();\n this.afterAllClose = defer(() => this.openModals.length ? this._afterAllClosed : this._afterAllClosed.pipe(startWith(undefined)));\n this.parentModal = inject(NzModalService, { skipSelf: true, optional: true });\n }\n create(config) {\n return this.open(config.nzContent, config);\n }\n closeAll() {\n this.closeModals(this.openModals);\n }\n confirm(options = {}, confirmType = 'confirm') {\n if ('nzFooter' in options) {\n warn(`The Confirm-Modal doesn't support \"nzFooter\", this property will be ignored.`);\n }\n if (!('nzWidth' in options)) {\n options.nzWidth = 416;\n }\n if (!('nzMaskClosable' in options)) {\n options.nzMaskClosable = false;\n }\n options.nzModalType = 'confirm';\n options.nzClassName = `ant-modal-confirm ant-modal-confirm-${confirmType} ${options.nzClassName || ''}`;\n return this.create(options);\n }\n info(options = {}) {\n return this.confirmFactory(options, 'info');\n }\n success(options = {}) {\n return this.confirmFactory(options, 'success');\n }\n error(options = {}) {\n return this.confirmFactory(options, 'error');\n }\n warning(options = {}) {\n return this.confirmFactory(options, 'warning');\n }\n open(componentOrTemplateRef, config) {\n const configMerged = applyConfigDefaults(config || {}, new ModalOptions());\n const overlayRef = this.createOverlay(configMerged);\n const modalContainer = this.attachModalContainer(overlayRef, configMerged);\n const modalRef = this.attachModalContent(componentOrTemplateRef, modalContainer, overlayRef, configMerged);\n modalContainer.modalRef = modalRef;\n overlayZIndexSetter(overlayRef, config?.nzZIndex);\n this.openModals.push(modalRef);\n modalRef.afterClose.subscribe(() => this.removeOpenModal(modalRef));\n return modalRef;\n }\n removeOpenModal(modalRef) {\n const index = this.openModals.indexOf(modalRef);\n if (index > -1) {\n this.openModals.splice(index, 1);\n if (!this.openModals.length) {\n this._afterAllClosed.next();\n }\n }\n }\n closeModals(dialogs) {\n let i = dialogs.length;\n while (i--) {\n dialogs[i].close();\n if (!this.openModals.length) {\n this._afterAllClosed.next();\n }\n }\n }\n createOverlay(config) {\n const globalConfig = this.nzConfigService.getConfigForComponent(NZ_CONFIG_MODULE_NAME) || {};\n const overlayConfig = new OverlayConfig({\n hasBackdrop: true,\n scrollStrategy: this.overlay.scrollStrategies.block(),\n backdropClass: getValueWithConfig(config.nzMask, globalConfig.nzMask, true) ? MODAL_MASK_CLASS_NAME : '',\n positionStrategy: this.overlay.position().global(),\n disposeOnNavigation: getValueWithConfig(config.nzCloseOnNavigation, globalConfig.nzCloseOnNavigation, true),\n direction: getValueWithConfig(config.nzDirection, globalConfig.nzDirection, this.directionality.value)\n });\n return this.overlay.create(overlayConfig);\n }\n attachModalContainer(overlayRef, config) {\n const userInjector = config && config.nzViewContainerRef && config.nzViewContainerRef.injector;\n const injector = Injector.create({\n parent: userInjector || this.injector,\n providers: [\n { provide: OverlayRef, useValue: overlayRef },\n { provide: ModalOptions, useValue: config }\n ]\n });\n const ContainerComponent = config.nzModalType === 'confirm'\n ? // If the mode is `confirm`, use `NzModalConfirmContainerComponent`\n NzModalConfirmContainerComponent\n : // If the mode is not `confirm`, use `NzModalContainerComponent`\n NzModalContainerComponent;\n const containerPortal = new ComponentPortal(ContainerComponent, config.nzViewContainerRef, injector);\n const containerRef = overlayRef.attach(containerPortal);\n return containerRef.instance;\n }\n attachModalContent(componentOrTemplateRef, modalContainer, overlayRef, config) {\n const modalRef = new NzModalRef(overlayRef, config, modalContainer);\n if (componentOrTemplateRef instanceof TemplateRef) {\n modalContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null, {\n $implicit: config.nzData,\n modalRef\n }));\n }\n else if (isNotNil(componentOrTemplateRef) && typeof componentOrTemplateRef !== 'string') {\n const injector = this.createInjector(modalRef, config);\n const contentRef = modalContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef, config.nzViewContainerRef, injector));\n modalRef.componentRef = contentRef;\n modalRef.componentInstance = contentRef.instance;\n }\n else {\n modalContainer.attachStringContent();\n }\n return modalRef;\n }\n createInjector(modalRef, config) {\n const userInjector = config && config.nzViewContainerRef && config.nzViewContainerRef.injector;\n return Injector.create({\n parent: userInjector || this.injector,\n providers: [\n { provide: NzModalRef, useValue: modalRef },\n { provide: NZ_MODAL_DATA, useValue: config.nzData }\n ]\n });\n }\n confirmFactory(options = {}, confirmType) {\n const iconMap = {\n info: 'info-circle',\n success: 'check-circle',\n error: 'close-circle',\n warning: 'exclamation-circle'\n };\n if (!('nzIconType' in options)) {\n options.nzIconType = iconMap[confirmType];\n }\n if (!('nzCancelText' in options)) {\n // Remove the Cancel button if the user not specify a Cancel button\n options.nzCancelText = null;\n }\n return this.confirm(options, confirmType);\n }\n ngOnDestroy() {\n this.closeModals(this.openModalsAtThisLevel);\n this.afterAllClosedAtThisLevel.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalService, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: i2$2.NzConfigService }, { token: i3$1.Directionality }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalService, decorators: [{\n type: Injectable\n }], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Injector }, { type: i2$2.NzConfigService }, { type: i3$1.Directionality }] });\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 NzModalContentDirective {\n constructor(templateRef) {\n this.templateRef = templateRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalContentDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzModalContentDirective, isStandalone: true, selector: \"[nzModalContent]\", exportAs: [\"nzModalContent\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalContentDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[nzModalContent]',\n exportAs: 'nzModalContent',\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.TemplateRef }] });\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 NzModalFooterDirective {\n constructor(templateRef) {\n this.templateRef = templateRef;\n this.nzModalRef = inject(NzModalRef, { optional: true });\n if (this.nzModalRef) {\n this.nzModalRef.updateConfig({\n nzFooter: this.templateRef\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalFooterDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzModalFooterDirective, isStandalone: true, selector: \"[nzModalFooter]\", exportAs: [\"nzModalFooter\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalFooterDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[nzModalFooter]',\n exportAs: 'nzModalFooter',\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.TemplateRef }] });\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 NzModalTitleDirective {\n constructor(templateRef) {\n this.templateRef = templateRef;\n this.nzModalRef = inject(NzModalRef, { optional: true });\n if (this.nzModalRef) {\n this.nzModalRef.updateConfig({\n nzTitle: this.templateRef\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalTitleDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzModalTitleDirective, isStandalone: true, selector: \"[nzModalTitle]\", exportAs: [\"nzModalTitle\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalTitleDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[nzModalTitle]',\n exportAs: 'nzModalTitle',\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.TemplateRef }] });\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 NzModalComponent {\n set modalTitle(value) {\n if (value) {\n this.setTitleWithTemplate(value);\n }\n }\n set modalFooter(value) {\n if (value) {\n this.setFooterWithTemplate(value);\n }\n }\n get afterOpen() {\n // Observable alias for nzAfterOpen\n return this.nzAfterOpen.asObservable();\n }\n get afterClose() {\n // Observable alias for nzAfterClose\n return this.nzAfterClose.asObservable();\n }\n constructor(cdr, modal, viewContainerRef) {\n this.cdr = cdr;\n this.modal = modal;\n this.viewContainerRef = viewContainerRef;\n this.nzVisible = false;\n this.nzClosable = true;\n this.nzOkLoading = false;\n this.nzOkDisabled = false;\n this.nzCancelDisabled = false;\n this.nzCancelLoading = false;\n this.nzKeyboard = true;\n this.nzNoAnimation = false;\n this.nzCentered = false;\n this.nzDraggable = false;\n this.nzZIndex = 1000;\n this.nzWidth = 520;\n this.nzCloseIcon = 'close';\n this.nzOkType = 'primary';\n this.nzOkDanger = false;\n this.nzIconType = 'question-circle'; // Confirm Modal ONLY\n this.nzModalType = 'default';\n this.nzAutofocus = 'auto';\n // TODO(@hsuanxyz) Input will not be supported\n this.nzOnOk = new EventEmitter();\n // TODO(@hsuanxyz) Input will not be supported\n this.nzOnCancel = new EventEmitter();\n this.nzAfterOpen = new EventEmitter();\n this.nzAfterClose = new EventEmitter();\n this.nzVisibleChange = new EventEmitter();\n this.modalRef = null;\n this.destroy$ = new Subject();\n }\n open() {\n if (!this.nzVisible) {\n this.nzVisible = true;\n this.nzVisibleChange.emit(true);\n }\n if (!this.modalRef) {\n const config = this.getConfig();\n this.modalRef = this.modal.create(config);\n // When the modal is implicitly closed (e.g. closeAll) the nzVisible needs to be set to the correct value and emit.\n this.modalRef.afterClose\n .asObservable()\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n this.close();\n });\n }\n }\n close(result) {\n if (this.nzVisible) {\n this.nzVisible = false;\n this.nzVisibleChange.emit(false);\n }\n if (this.modalRef) {\n this.modalRef.close(result);\n this.modalRef = null;\n }\n }\n destroy(result) {\n this.close(result);\n }\n triggerOk() {\n this.modalRef?.triggerOk();\n }\n triggerCancel() {\n this.modalRef?.triggerCancel();\n }\n getContentComponent() {\n return this.modalRef?.getContentComponent();\n }\n getElement() {\n return this.modalRef?.getElement();\n }\n getModalRef() {\n return this.modalRef;\n }\n setTitleWithTemplate(templateRef) {\n this.nzTitle = templateRef;\n if (this.modalRef) {\n // If modalRef already created, set the title in next tick\n Promise.resolve().then(() => {\n this.modalRef.updateConfig({\n nzTitle: this.nzTitle\n });\n });\n }\n }\n setFooterWithTemplate(templateRef) {\n this.nzFooter = templateRef;\n if (this.modalRef) {\n // If modalRef already created, set the footer in next tick\n Promise.resolve().then(() => {\n this.modalRef.updateConfig({\n nzFooter: this.nzFooter\n });\n });\n }\n this.cdr.markForCheck();\n }\n getConfig() {\n const componentConfig = getConfigFromComponent(this);\n componentConfig.nzViewContainerRef = this.viewContainerRef;\n componentConfig.nzContent = this.nzContent || this.contentFromContentChild;\n return componentConfig;\n }\n ngOnChanges(changes) {\n const { nzVisible, ...otherChanges } = changes;\n if (Object.keys(otherChanges).length && this.modalRef) {\n this.modalRef.updateConfig(getConfigFromComponent(this));\n }\n if (nzVisible) {\n if (this.nzVisible) {\n this.open();\n }\n else {\n this.close();\n }\n }\n }\n ngOnDestroy() {\n this.modalRef?._finishDialogClose();\n this.destroy$.next();\n this.destroy$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: NzModalService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"16.1.0\", version: \"18.2.1\", type: NzModalComponent, isStandalone: true, selector: \"nz-modal\", inputs: { nzMask: [\"nzMask\", \"nzMask\", booleanAttribute], nzMaskClosable: [\"nzMaskClosable\", \"nzMaskClosable\", booleanAttribute], nzCloseOnNavigation: [\"nzCloseOnNavigation\", \"nzCloseOnNavigation\", booleanAttribute], nzVisible: [\"nzVisible\", \"nzVisible\", booleanAttribute], nzClosable: [\"nzClosable\", \"nzClosable\", booleanAttribute], nzOkLoading: [\"nzOkLoading\", \"nzOkLoading\", booleanAttribute], nzOkDisabled: [\"nzOkDisabled\", \"nzOkDisabled\", booleanAttribute], nzCancelDisabled: [\"nzCancelDisabled\", \"nzCancelDisabled\", booleanAttribute], nzCancelLoading: [\"nzCancelLoading\", \"nzCancelLoading\", booleanAttribute], nzKeyboard: [\"nzKeyboard\", \"nzKeyboard\", booleanAttribute], nzNoAnimation: [\"nzNoAnimation\", \"nzNoAnimation\", booleanAttribute], nzCentered: [\"nzCentered\", \"nzCentered\", booleanAttribute], nzDraggable: [\"nzDraggable\", \"nzDraggable\", booleanAttribute], nzContent: \"nzContent\", nzFooter: \"nzFooter\", nzZIndex: [\"nzZIndex\", \"nzZIndex\", numberAttribute], nzWidth: \"nzWidth\", nzWrapClassName: \"nzWrapClassName\", nzClassName: \"nzClassName\", nzStyle: \"nzStyle\", nzTitle: \"nzTitle\", nzCloseIcon: \"nzCloseIcon\", nzMaskStyle: \"nzMaskStyle\", nzBodyStyle: \"nzBodyStyle\", nzOkText: \"nzOkText\", nzCancelText: \"nzCancelText\", nzOkType: \"nzOkType\", nzOkDanger: [\"nzOkDanger\", \"nzOkDanger\", booleanAttribute], nzIconType: \"nzIconType\", nzModalType: \"nzModalType\", nzAutofocus: \"nzAutofocus\", nzOnOk: \"nzOnOk\", nzOnCancel: \"nzOnCancel\" }, outputs: { nzOnOk: \"nzOnOk\", nzOnCancel: \"nzOnCancel\", nzAfterOpen: \"nzAfterOpen\", nzAfterClose: \"nzAfterClose\", nzVisibleChange: \"nzVisibleChange\" }, queries: [{ propertyName: \"modalTitle\", first: true, predicate: NzModalTitleDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: \"contentFromContentChild\", first: true, predicate: NzModalContentDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: \"modalFooter\", first: true, predicate: NzModalFooterDirective, descendants: true, read: TemplateRef, static: true }], exportAs: [\"nzModal\"], usesOnChanges: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'nz-modal',\n exportAs: 'nzModal',\n template: ``,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: NzModalService }, { type: i0.ViewContainerRef }], propDecorators: { nzMask: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzMaskClosable: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzCloseOnNavigation: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzVisible: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzClosable: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzOkLoading: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzOkDisabled: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzCancelDisabled: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzCancelLoading: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzKeyboard: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzNoAnimation: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzCentered: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzDraggable: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzContent: [{\n type: Input\n }], nzFooter: [{\n type: Input\n }], nzZIndex: [{\n type: Input,\n args: [{ transform: numberAttribute }]\n }], nzWidth: [{\n type: Input\n }], nzWrapClassName: [{\n type: Input\n }], nzClassName: [{\n type: Input\n }], nzStyle: [{\n type: Input\n }], nzTitle: [{\n type: Input\n }], nzCloseIcon: [{\n type: Input\n }], nzMaskStyle: [{\n type: Input\n }], nzBodyStyle: [{\n type: Input\n }], nzOkText: [{\n type: Input\n }], nzCancelText: [{\n type: Input\n }], nzOkType: [{\n type: Input\n }], nzOkDanger: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzIconType: [{\n type: Input\n }], nzModalType: [{\n type: Input\n }], nzAutofocus: [{\n type: Input\n }], nzOnOk: [{\n type: Input\n }, {\n type: Output\n }], nzOnCancel: [{\n type: Input\n }, {\n type: Output\n }], nzAfterOpen: [{\n type: Output\n }], nzAfterClose: [{\n type: Output\n }], nzVisibleChange: [{\n type: Output\n }], modalTitle: [{\n type: ContentChild,\n args: [NzModalTitleDirective, { static: true, read: TemplateRef }]\n }], contentFromContentChild: [{\n type: ContentChild,\n args: [NzModalContentDirective, { static: true, read: TemplateRef }]\n }], modalFooter: [{\n type: ContentChild,\n args: [NzModalFooterDirective, { static: true, read: TemplateRef }]\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 NzModalModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalModule, imports: [NzModalComponent,\n NzModalFooterDirective,\n NzModalContentDirective,\n NzModalCloseComponent,\n NzModalFooterComponent,\n NzModalTitleComponent,\n NzModalTitleDirective,\n NzModalContainerComponent,\n NzModalConfirmContainerComponent], exports: [NzModalComponent, NzModalFooterDirective, NzModalContentDirective, NzModalTitleDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalModule, providers: [NzModalService], imports: [NzModalCloseComponent,\n NzModalFooterComponent,\n NzModalTitleComponent,\n NzModalContainerComponent,\n NzModalConfirmContainerComponent] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzModalModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n NzModalComponent,\n NzModalFooterDirective,\n NzModalContentDirective,\n NzModalCloseComponent,\n NzModalFooterComponent,\n NzModalTitleComponent,\n NzModalTitleDirective,\n NzModalContainerComponent,\n NzModalConfirmContainerComponent\n ],\n exports: [NzModalComponent, NzModalFooterDirective, NzModalContentDirective, NzModalTitleDirective],\n providers: [NzModalService]\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 NzModalLegacyAPI {\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 { BaseModalContainerComponent, FADE_CLASS_NAME_MAP, MODAL_MASK_CLASS_NAME, ModalOptions, NZ_CONFIG_MODULE_NAME, NZ_MODAL_DATA, NzModalCloseComponent, NzModalComponent, NzModalConfirmContainerComponent, NzModalContainerComponent, NzModalContentDirective, NzModalFooterComponent, NzModalFooterDirective, NzModalLegacyAPI, NzModalModule, NzModalRef, NzModalService, NzModalTitleComponent, NzModalTitleDirective, ZOOM_CLASS_NAME_MAP, applyConfigDefaults, getConfigFromComponent, getValueWithConfig, nzModalAnimations, throwNzModalContentAlreadyAttachedError };\n"],"mappings":";;;;;IAiHiFA,EAAE,CAAAC,uBAAA,EANJ,CAAC;IAMCD,EAAE,CAAAE,SAAA,aALL,CAAC;IAKEF,EAAE,CAAAG,qBAAA;EAAA;EAAA,IAAAC,EAAA;IAAA,MAAAC,YAAA,GAAAC,GAAA,CAAAC,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