1 |
- {"ast":null,"code":"var _NzInputGroupSlotComponent, _NzInputDirective, _NzInputGroupWhitSuffixOrPrefixDirective, _NzInputGroupComponent, _NzAutosizeDirective, _NzTextareaCountComponent, _NzInputModule;\nconst _c0 = [\"nz-input-group-slot\", \"\"];\nconst _c1 = [\"*\"];\nfunction _NzInputGroupSlotComponent_Conditional_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 0);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"nzType\", ctx_r0.icon);\n }\n}\nfunction _NzInputGroupSlotComponent_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r0.template);\n }\n}\nfunction _NzInputGroupComponent_Conditional_0_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 3);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"icon\", ctx_r0.nzAddOnBeforeIcon)(\"template\", ctx_r0.nzAddOnBefore);\n }\n}\nfunction _NzInputGroupComponent_Conditional_0_Conditional_2_ng_template_1_Template(rf, ctx) {}\nfunction _NzInputGroupComponent_Conditional_0_Conditional_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 6);\n i0.ɵɵtemplate(1, _NzInputGroupComponent_Conditional_0_Conditional_2_ng_template_1_Template, 0, 0, \"ng-template\", 5);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(2);\n const affixTemplate_r2 = i0.ɵɵreference(3);\n i0.ɵɵclassProp(\"ant-input-affix-wrapper-disabled\", ctx_r0.disabled)(\"ant-input-affix-wrapper-sm\", ctx_r0.isSmall)(\"ant-input-affix-wrapper-lg\", ctx_r0.isLarge)(\"ant-input-affix-wrapper-focused\", ctx_r0.focused);\n i0.ɵɵproperty(\"ngClass\", ctx_r0.affixInGroupStatusCls);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", affixTemplate_r2);\n }\n}\nfunction _NzInputGroupComponent_Conditional_0_Conditional_3_ng_template_0_Template(rf, ctx) {}\nfunction _NzInputGroupComponent_Conditional_0_Conditional_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, _NzInputGroupComponent_Conditional_0_Conditional_3_ng_template_0_Template, 0, 0, \"ng-template\", 5);\n }\n if (rf & 2) {\n i0.ɵɵnextContext(2);\n const contentTemplate_r3 = i0.ɵɵreference(5);\n i0.ɵɵproperty(\"ngTemplateOutlet\", contentTemplate_r3);\n }\n}\nfunction _NzInputGroupComponent_Conditional_0_Conditional_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 3);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"icon\", ctx_r0.nzAddOnAfterIcon)(\"template\", ctx_r0.nzAddOnAfter);\n }\n}\nfunction _NzInputGroupComponent_Conditional_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 2);\n i0.ɵɵtemplate(1, _NzInputGroupComponent_Conditional_0_Conditional_1_Template, 1, 2, \"span\", 3)(2, _NzInputGroupComponent_Conditional_0_Conditional_2_Template, 2, 10, \"span\", 4)(3, _NzInputGroupComponent_Conditional_0_Conditional_3_Template, 1, 1, null, 5)(4, _NzInputGroupComponent_Conditional_0_Conditional_4_Template, 1, 2, \"span\", 3);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx_r0.nzAddOnBefore || ctx_r0.nzAddOnBeforeIcon ? 1 : -1);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx_r0.isAffix || ctx_r0.hasFeedback ? 2 : 3);\n i0.ɵɵadvance(2);\n i0.ɵɵconditional(ctx_r0.nzAddOnAfter || ctx_r0.nzAddOnAfterIcon ? 4 : -1);\n }\n}\nfunction _NzInputGroupComponent_Conditional_1_Conditional_0_ng_template_0_Template(rf, ctx) {}\nfunction _NzInputGroupComponent_Conditional_1_Conditional_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, _NzInputGroupComponent_Conditional_1_Conditional_0_ng_template_0_Template, 0, 0, \"ng-template\", 5);\n }\n if (rf & 2) {\n i0.ɵɵnextContext(2);\n const affixTemplate_r2 = i0.ɵɵreference(3);\n i0.ɵɵproperty(\"ngTemplateOutlet\", affixTemplate_r2);\n }\n}\nfunction _NzInputGroupComponent_Conditional_1_Conditional_1_ng_template_0_Template(rf, ctx) {}\nfunction _NzInputGroupComponent_Conditional_1_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, _NzInputGroupComponent_Conditional_1_Conditional_1_ng_template_0_Template, 0, 0, \"ng-template\", 5);\n }\n if (rf & 2) {\n i0.ɵɵnextContext(2);\n const contentTemplate_r3 = i0.ɵɵreference(5);\n i0.ɵɵproperty(\"ngTemplateOutlet\", contentTemplate_r3);\n }\n}\nfunction _NzInputGroupComponent_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, _NzInputGroupComponent_Conditional_1_Conditional_0_Template, 1, 1, null, 5)(1, _NzInputGroupComponent_Conditional_1_Conditional_1_Template, 1, 1, null, 5);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵconditional(ctx_r0.isAffix ? 0 : 1);\n }\n}\nfunction _NzInputGroupComponent_ng_template_2_Conditional_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 7);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"icon\", ctx_r0.nzPrefixIcon)(\"template\", ctx_r0.nzPrefix);\n }\n}\nfunction _NzInputGroupComponent_ng_template_2_ng_template_1_Template(rf, ctx) {}\nfunction _NzInputGroupComponent_ng_template_2_Conditional_2_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"nz-form-item-feedback-icon\", 9);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(3);\n i0.ɵɵproperty(\"status\", ctx_r0.status);\n }\n}\nfunction _NzInputGroupComponent_ng_template_2_Conditional_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 8);\n i0.ɵɵtemplate(1, _NzInputGroupComponent_ng_template_2_Conditional_2_Conditional_1_Template, 1, 1, \"nz-form-item-feedback-icon\", 9);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"icon\", ctx_r0.nzSuffixIcon)(\"template\", ctx_r0.nzSuffix);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx_r0.isFeedback ? 1 : -1);\n }\n}\nfunction _NzInputGroupComponent_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, _NzInputGroupComponent_ng_template_2_Conditional_0_Template, 1, 2, \"span\", 7)(1, _NzInputGroupComponent_ng_template_2_ng_template_1_Template, 0, 0, \"ng-template\", 5)(2, _NzInputGroupComponent_ng_template_2_Conditional_2_Template, 2, 3, \"span\", 8);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n const contentTemplate_r3 = i0.ɵɵreference(5);\n i0.ɵɵconditional(ctx_r0.nzPrefix || ctx_r0.nzPrefixIcon ? 0 : -1);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", contentTemplate_r3);\n i0.ɵɵadvance();\n i0.ɵɵconditional(ctx_r0.nzSuffix || ctx_r0.nzSuffixIcon || ctx_r0.isFeedback ? 2 : -1);\n }\n}\nfunction _NzInputGroupComponent_ng_template_4_Conditional_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 10);\n i0.ɵɵelement(1, \"nz-form-item-feedback-icon\", 9);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"status\", ctx_r0.status);\n }\n}\nfunction _NzInputGroupComponent_ng_template_4_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojection(0);\n i0.ɵɵtemplate(1, _NzInputGroupComponent_ng_template_4_Conditional_1_Template, 2, 1, \"span\", 10);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵconditional(!ctx_r0.isAddOn && !ctx_r0.isAffix && ctx_r0.isFeedback ? 1 : -1);\n }\n}\nconst _c2 = [[[\"textarea\", \"nz-input\", \"\"]]];\nconst _c3 = [\"textarea[nz-input]\"];\nimport { NgClass, NgTemplateOutlet } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, inject, booleanAttribute, Directive, ContentChildren, isDevMode, numberAttribute, ContentChild, NgModule } from '@angular/core';\nimport { Subject, merge, EMPTY } from 'rxjs';\nimport { distinctUntilChanged, takeUntil, filter, startWith, switchMap, mergeMap, map } from 'rxjs/operators';\nimport * as i3 from 'ng-zorro-antd/core/form';\nimport { NzFormStatusService, NzFormNoStatusService, NzFormItemFeedbackIconComponent, NzFormPatchModule } from 'ng-zorro-antd/core/form';\nimport { getStatusClassNames, isNotNil } from 'ng-zorro-antd/core/util';\nimport * as i2 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i1 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NgControl } from '@angular/forms';\nimport * as i1$1 from '@angular/cdk/bidi';\nimport * as i1$2 from '@angular/cdk/a11y';\nimport * as i1$3 from '@angular/cdk/platform';\nimport * as i2$1 from 'ng-zorro-antd/core/services';\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 NzInputGroupSlotComponent {\n constructor() {\n this.icon = null;\n this.type = null;\n this.template = null;\n }\n}\n_NzInputGroupSlotComponent = NzInputGroupSlotComponent;\n_NzInputGroupSlotComponent.ɵfac = function _NzInputGroupSlotComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzInputGroupSlotComponent)();\n};\n_NzInputGroupSlotComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzInputGroupSlotComponent,\n selectors: [[\"\", \"nz-input-group-slot\", \"\"]],\n hostVars: 6,\n hostBindings: function _NzInputGroupSlotComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"ant-input-group-addon\", ctx.type === \"addon\")(\"ant-input-prefix\", ctx.type === \"prefix\")(\"ant-input-suffix\", ctx.type === \"suffix\");\n }\n },\n inputs: {\n icon: \"icon\",\n type: \"type\",\n template: \"template\"\n },\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n attrs: _c0,\n ngContentSelectors: _c1,\n decls: 3,\n vars: 2,\n consts: [[\"nz-icon\", \"\", 3, \"nzType\"], [4, \"nzStringTemplateOutlet\"]],\n template: function _NzInputGroupSlotComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵtemplate(0, _NzInputGroupSlotComponent_Conditional_0_Template, 1, 1, \"span\", 0)(1, _NzInputGroupSlotComponent_ng_container_1_Template, 2, 1, \"ng-container\", 1);\n i0.ɵɵprojection(2);\n }\n if (rf & 2) {\n i0.ɵɵconditional(ctx.icon ? 0 : -1);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx.template);\n }\n },\n dependencies: [NzIconModule, i1.NzIconDirective, NzOutletModule, i2.NzStringTemplateOutletDirective],\n encapsulation: 2,\n changeDetection: 0\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzInputGroupSlotComponent, [{\n type: Component,\n args: [{\n selector: '[nz-input-group-slot]',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n @if (icon) {\n <span nz-icon [nzType]=\"icon\"></span>\n }\n <ng-container *nzStringTemplateOutlet=\"template\">{{ template }}</ng-container>\n <ng-content></ng-content>\n `,\n host: {\n '[class.ant-input-group-addon]': `type === 'addon'`,\n '[class.ant-input-prefix]': `type === 'prefix'`,\n '[class.ant-input-suffix]': `type === 'suffix'`\n },\n imports: [NzIconModule, NzOutletModule],\n standalone: true\n }]\n }], null, {\n icon: [{\n type: Input\n }],\n type: [{\n type: Input\n }],\n template: [{\n type: Input\n }]\n });\n})();\nclass NzInputDirective {\n get disabled() {\n if (this.ngControl && this.ngControl.disabled !== null) {\n return this.ngControl.disabled;\n }\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = value;\n }\n constructor(renderer, elementRef, hostView, directionality) {\n this.renderer = renderer;\n this.elementRef = elementRef;\n this.hostView = hostView;\n this.directionality = directionality;\n this.nzBorderless = false;\n this.nzSize = 'default';\n this.nzStepperless = true;\n this.nzStatus = '';\n this._disabled = false;\n this.disabled$ = new Subject();\n this.dir = 'ltr';\n // status\n this.prefixCls = 'ant-input';\n this.status = '';\n this.statusCls = {};\n this.hasFeedback = false;\n this.feedbackRef = null;\n this.components = [];\n this.destroy$ = new Subject();\n this.ngControl = inject(NgControl, {\n self: true,\n optional: true\n });\n this.nzFormStatusService = inject(NzFormStatusService, {\n optional: true\n });\n this.nzFormNoStatusService = inject(NzFormNoStatusService, {\n optional: true\n });\n }\n ngOnInit() {\n var _this$nzFormStatusSer, _this$directionality$;\n (_this$nzFormStatusSer = this.nzFormStatusService) === null || _this$nzFormStatusSer === void 0 || _this$nzFormStatusSer.formStatusChanges.pipe(distinctUntilChanged((pre, cur) => {\n return pre.status === cur.status && pre.hasFeedback === cur.hasFeedback;\n }), takeUntil(this.destroy$)).subscribe(({\n status,\n hasFeedback\n }) => {\n this.setStatusStyles(status, hasFeedback);\n });\n if (this.ngControl) {\n var _this$ngControl$statu;\n (_this$ngControl$statu = this.ngControl.statusChanges) === null || _this$ngControl$statu === void 0 || _this$ngControl$statu.pipe(filter(() => this.ngControl.disabled !== null), takeUntil(this.destroy$)).subscribe(() => {\n this.disabled$.next(this.ngControl.disabled);\n });\n }\n this.dir = this.directionality.value;\n (_this$directionality$ = this.directionality.change) === null || _this$directionality$ === void 0 || _this$directionality$.pipe(takeUntil(this.destroy$)).subscribe(direction => {\n this.dir = direction;\n });\n }\n ngOnChanges(changes) {\n const {\n disabled,\n nzStatus\n } = changes;\n if (disabled) {\n this.disabled$.next(this.disabled);\n }\n if (nzStatus) {\n this.setStatusStyles(this.nzStatus, this.hasFeedback);\n }\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n setStatusStyles(status, hasFeedback) {\n // set inner status\n this.status = status;\n this.hasFeedback = hasFeedback;\n this.renderFeedbackIcon();\n // render status if nzStatus is set\n this.statusCls = getStatusClassNames(this.prefixCls, status, hasFeedback);\n Object.keys(this.statusCls).forEach(status => {\n if (this.statusCls[status]) {\n this.renderer.addClass(this.elementRef.nativeElement, status);\n } else {\n this.renderer.removeClass(this.elementRef.nativeElement, status);\n }\n });\n }\n renderFeedbackIcon() {\n if (!this.status || !this.hasFeedback || !!this.nzFormNoStatusService) {\n // remove feedback\n this.hostView.clear();\n this.feedbackRef = null;\n return;\n }\n this.feedbackRef = this.feedbackRef || this.hostView.createComponent(NzFormItemFeedbackIconComponent);\n this.feedbackRef.location.nativeElement.classList.add('ant-input-suffix');\n this.feedbackRef.instance.status = this.status;\n this.feedbackRef.instance.updateIcon();\n }\n}\n_NzInputDirective = NzInputDirective;\n_NzInputDirective.ɵfac = function _NzInputDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzInputDirective)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i1$1.Directionality));\n};\n_NzInputDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzInputDirective,\n selectors: [[\"input\", \"nz-input\", \"\"], [\"textarea\", \"nz-input\", \"\"]],\n hostAttrs: [1, \"ant-input\"],\n hostVars: 13,\n hostBindings: function _NzInputDirective_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"disabled\", ctx.disabled || null);\n i0.ɵɵclassProp(\"ant-input-disabled\", ctx.disabled)(\"ant-input-borderless\", ctx.nzBorderless)(\"ant-input-lg\", ctx.nzSize === \"large\")(\"ant-input-sm\", ctx.nzSize === \"small\")(\"ant-input-rtl\", ctx.dir === \"rtl\")(\"ant-input-stepperless\", ctx.nzStepperless);\n }\n },\n inputs: {\n nzBorderless: [2, \"nzBorderless\", \"nzBorderless\", booleanAttribute],\n nzSize: \"nzSize\",\n nzStepperless: [2, \"nzStepperless\", \"nzStepperless\", booleanAttribute],\n nzStatus: \"nzStatus\",\n disabled: [2, \"disabled\", \"disabled\", booleanAttribute]\n },\n exportAs: [\"nzInput\"],\n standalone: true,\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵNgOnChangesFeature]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzInputDirective, [{\n type: Directive,\n args: [{\n selector: 'input[nz-input],textarea[nz-input]',\n exportAs: 'nzInput',\n host: {\n class: 'ant-input',\n '[class.ant-input-disabled]': 'disabled',\n '[class.ant-input-borderless]': 'nzBorderless',\n '[class.ant-input-lg]': `nzSize === 'large'`,\n '[class.ant-input-sm]': `nzSize === 'small'`,\n '[attr.disabled]': 'disabled || null',\n '[class.ant-input-rtl]': `dir=== 'rtl'`,\n '[class.ant-input-stepperless]': `nzStepperless`\n },\n standalone: true\n }]\n }], () => [{\n type: i0.Renderer2\n }, {\n type: i0.ElementRef\n }, {\n type: i0.ViewContainerRef\n }, {\n type: i1$1.Directionality\n }], {\n nzBorderless: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzSize: [{\n type: Input\n }],\n nzStepperless: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzStatus: [{\n type: Input\n }],\n disabled: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }]\n });\n})();\nclass NzInputGroupWhitSuffixOrPrefixDirective {\n constructor(elementRef) {\n this.elementRef = elementRef;\n }\n}\n_NzInputGroupWhitSuffixOrPrefixDirective = NzInputGroupWhitSuffixOrPrefixDirective;\n_NzInputGroupWhitSuffixOrPrefixDirective.ɵfac = function _NzInputGroupWhitSuffixOrPrefixDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzInputGroupWhitSuffixOrPrefixDirective)(i0.ɵɵdirectiveInject(i0.ElementRef));\n};\n_NzInputGroupWhitSuffixOrPrefixDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzInputGroupWhitSuffixOrPrefixDirective,\n selectors: [[\"nz-input-group\", \"nzSuffix\", \"\"], [\"nz-input-group\", \"nzPrefix\", \"\"]],\n standalone: true\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzInputGroupWhitSuffixOrPrefixDirective, [{\n type: Directive,\n args: [{\n selector: `nz-input-group[nzSuffix], nz-input-group[nzPrefix]`,\n standalone: true\n }]\n }], () => [{\n type: i0.ElementRef\n }], null);\n})();\nclass NzInputGroupComponent {\n constructor(focusMonitor, elementRef, renderer, cdr, directionality) {\n this.focusMonitor = focusMonitor;\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.cdr = cdr;\n this.directionality = directionality;\n this.nzAddOnBeforeIcon = null;\n this.nzAddOnAfterIcon = null;\n this.nzPrefixIcon = null;\n this.nzSuffixIcon = null;\n this.nzStatus = '';\n this.nzSize = 'default';\n this.nzSearch = false;\n this.nzCompact = false;\n this.isLarge = false;\n this.isSmall = false;\n this.isAffix = false;\n this.isAddOn = false;\n this.isFeedback = false;\n this.focused = false;\n this.disabled = false;\n this.dir = 'ltr';\n // status\n this.prefixCls = 'ant-input';\n this.affixStatusCls = {};\n this.groupStatusCls = {};\n this.affixInGroupStatusCls = {};\n this.status = '';\n this.hasFeedback = false;\n this.destroy$ = new Subject();\n this.nzFormStatusService = inject(NzFormStatusService, {\n optional: true\n });\n this.nzFormNoStatusService = inject(NzFormNoStatusService, {\n optional: true\n });\n }\n updateChildrenInputSize() {\n if (this.listOfNzInputDirective) {\n this.listOfNzInputDirective.forEach(item => item.nzSize = this.nzSize);\n }\n }\n ngOnInit() {\n var _this$nzFormStatusSer2, _this$directionality$2;\n (_this$nzFormStatusSer2 = this.nzFormStatusService) === null || _this$nzFormStatusSer2 === void 0 || _this$nzFormStatusSer2.formStatusChanges.pipe(distinctUntilChanged((pre, cur) => {\n return pre.status === cur.status && pre.hasFeedback === cur.hasFeedback;\n }), takeUntil(this.destroy$)).subscribe(({\n status,\n hasFeedback\n }) => {\n this.setStatusStyles(status, hasFeedback);\n });\n this.focusMonitor.monitor(this.elementRef, true).pipe(takeUntil(this.destroy$)).subscribe(focusOrigin => {\n this.focused = !!focusOrigin;\n this.cdr.markForCheck();\n });\n this.dir = this.directionality.value;\n (_this$directionality$2 = this.directionality.change) === null || _this$directionality$2 === void 0 || _this$directionality$2.pipe(takeUntil(this.destroy$)).subscribe(direction => {\n this.dir = direction;\n });\n }\n ngAfterContentInit() {\n this.updateChildrenInputSize();\n const listOfInputChange$ = this.listOfNzInputDirective.changes.pipe(startWith(this.listOfNzInputDirective));\n listOfInputChange$.pipe(switchMap(list => merge(...[listOfInputChange$, ...list.map(input => input.disabled$)])), mergeMap(() => listOfInputChange$), map(list => list.some(input => input.disabled)), takeUntil(this.destroy$)).subscribe(disabled => {\n this.disabled = disabled;\n this.cdr.markForCheck();\n });\n }\n ngOnChanges(changes) {\n const {\n nzSize,\n nzSuffix,\n nzPrefix,\n nzPrefixIcon,\n nzSuffixIcon,\n nzAddOnAfter,\n nzAddOnBefore,\n nzAddOnAfterIcon,\n nzAddOnBeforeIcon,\n nzStatus\n } = changes;\n if (nzSize) {\n this.updateChildrenInputSize();\n this.isLarge = this.nzSize === 'large';\n this.isSmall = this.nzSize === 'small';\n }\n if (nzSuffix || nzPrefix || nzPrefixIcon || nzSuffixIcon) {\n this.isAffix = !!(this.nzSuffix || this.nzPrefix || this.nzPrefixIcon || this.nzSuffixIcon);\n }\n if (nzAddOnAfter || nzAddOnBefore || nzAddOnAfterIcon || nzAddOnBeforeIcon) {\n var _this$nzFormNoStatusS;\n this.isAddOn = !!(this.nzAddOnAfter || this.nzAddOnBefore || this.nzAddOnAfterIcon || this.nzAddOnBeforeIcon);\n (_this$nzFormNoStatusS = this.nzFormNoStatusService) === null || _this$nzFormNoStatusS === void 0 || (_this$nzFormNoStatusS = _this$nzFormNoStatusS.noFormStatus) === null || _this$nzFormNoStatusS === void 0 || _this$nzFormNoStatusS.next(this.isAddOn);\n }\n if (nzStatus) {\n this.setStatusStyles(this.nzStatus, this.hasFeedback);\n }\n }\n ngOnDestroy() {\n this.focusMonitor.stopMonitoring(this.elementRef);\n this.destroy$.next();\n this.destroy$.complete();\n }\n setStatusStyles(status, hasFeedback) {\n // set inner status\n this.status = status;\n this.hasFeedback = hasFeedback;\n this.isFeedback = !!status && hasFeedback;\n const baseAffix = !!(this.nzSuffix || this.nzPrefix || this.nzPrefixIcon || this.nzSuffixIcon);\n this.isAffix = baseAffix || !this.isAddOn && hasFeedback;\n this.affixInGroupStatusCls = this.isAffix || this.isFeedback ? this.affixStatusCls = getStatusClassNames(`${this.prefixCls}-affix-wrapper`, status, hasFeedback) : {};\n this.cdr.markForCheck();\n // render status if nzStatus is set\n this.affixStatusCls = getStatusClassNames(`${this.prefixCls}-affix-wrapper`, this.isAddOn ? '' : status, this.isAddOn ? false : hasFeedback);\n this.groupStatusCls = getStatusClassNames(`${this.prefixCls}-group-wrapper`, this.isAddOn ? status : '', this.isAddOn ? hasFeedback : false);\n const statusCls = {\n ...this.affixStatusCls,\n ...this.groupStatusCls\n };\n Object.keys(statusCls).forEach(status => {\n if (statusCls[status]) {\n this.renderer.addClass(this.elementRef.nativeElement, status);\n } else {\n this.renderer.removeClass(this.elementRef.nativeElement, status);\n }\n });\n }\n}\n_NzInputGroupComponent = NzInputGroupComponent;\n_NzInputGroupComponent.ɵfac = function _NzInputGroupComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzInputGroupComponent)(i0.ɵɵdirectiveInject(i1$2.FocusMonitor), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$1.Directionality));\n};\n_NzInputGroupComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzInputGroupComponent,\n selectors: [[\"nz-input-group\"]],\n contentQueries: function _NzInputGroupComponent_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, NzInputDirective, 4);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listOfNzInputDirective = _t);\n }\n },\n hostVars: 40,\n hostBindings: function _NzInputGroupComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"ant-input-group-compact\", ctx.nzCompact)(\"ant-input-search-enter-button\", ctx.nzSearch)(\"ant-input-search\", ctx.nzSearch)(\"ant-input-search-rtl\", ctx.dir === \"rtl\")(\"ant-input-search-sm\", ctx.nzSearch && ctx.isSmall)(\"ant-input-search-large\", ctx.nzSearch && ctx.isLarge)(\"ant-input-group-wrapper\", ctx.isAddOn)(\"ant-input-group-wrapper-rtl\", ctx.dir === \"rtl\")(\"ant-input-group-wrapper-lg\", ctx.isAddOn && ctx.isLarge)(\"ant-input-group-wrapper-sm\", ctx.isAddOn && ctx.isSmall)(\"ant-input-affix-wrapper\", ctx.isAffix && !ctx.isAddOn)(\"ant-input-affix-wrapper-rtl\", ctx.dir === \"rtl\")(\"ant-input-affix-wrapper-focused\", ctx.isAffix && ctx.focused)(\"ant-input-affix-wrapper-disabled\", ctx.isAffix && ctx.disabled)(\"ant-input-affix-wrapper-lg\", ctx.isAffix && !ctx.isAddOn && ctx.isLarge)(\"ant-input-affix-wrapper-sm\", ctx.isAffix && !ctx.isAddOn && ctx.isSmall)(\"ant-input-group\", !ctx.isAffix && !ctx.isAddOn)(\"ant-input-group-rtl\", ctx.dir === \"rtl\")(\"ant-input-group-lg\", !ctx.isAffix && !ctx.isAddOn && ctx.isLarge)(\"ant-input-group-sm\", !ctx.isAffix && !ctx.isAddOn && ctx.isSmall);\n }\n },\n inputs: {\n nzAddOnBeforeIcon: \"nzAddOnBeforeIcon\",\n nzAddOnAfterIcon: \"nzAddOnAfterIcon\",\n nzPrefixIcon: \"nzPrefixIcon\",\n nzSuffixIcon: \"nzSuffixIcon\",\n nzAddOnBefore: \"nzAddOnBefore\",\n nzAddOnAfter: \"nzAddOnAfter\",\n nzPrefix: \"nzPrefix\",\n nzStatus: \"nzStatus\",\n nzSuffix: \"nzSuffix\",\n nzSize: \"nzSize\",\n nzSearch: [2, \"nzSearch\", \"nzSearch\", booleanAttribute],\n nzCompact: [2, \"nzCompact\", \"nzCompact\", booleanAttribute]\n },\n exportAs: [\"nzInputGroup\"],\n standalone: true,\n features: [i0.ɵɵProvidersFeature([NzFormNoStatusService]), i0.ɵɵInputTransformsFeature, i0.ɵɵNgOnChangesFeature, i0.ɵɵStandaloneFeature],\n ngContentSelectors: _c1,\n decls: 6,\n vars: 1,\n consts: [[\"affixTemplate\", \"\"], [\"contentTemplate\", \"\"], [1, \"ant-input-wrapper\", \"ant-input-group\"], [\"nz-input-group-slot\", \"\", \"type\", \"addon\", 3, \"icon\", \"template\"], [1, \"ant-input-affix-wrapper\", 3, \"ant-input-affix-wrapper-disabled\", \"ant-input-affix-wrapper-sm\", \"ant-input-affix-wrapper-lg\", \"ant-input-affix-wrapper-focused\", \"ngClass\"], [3, \"ngTemplateOutlet\"], [1, \"ant-input-affix-wrapper\", 3, \"ngClass\"], [\"nz-input-group-slot\", \"\", \"type\", \"prefix\", 3, \"icon\", \"template\"], [\"nz-input-group-slot\", \"\", \"type\", \"suffix\", 3, \"icon\", \"template\"], [3, \"status\"], [\"nz-input-group-slot\", \"\", \"type\", \"suffix\"]],\n template: function _NzInputGroupComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵtemplate(0, _NzInputGroupComponent_Conditional_0_Template, 5, 3, \"span\", 2)(1, _NzInputGroupComponent_Conditional_1_Template, 2, 1)(2, _NzInputGroupComponent_ng_template_2_Template, 3, 3, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(4, _NzInputGroupComponent_ng_template_4_Template, 2, 1, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor);\n }\n if (rf & 2) {\n i0.ɵɵconditional(ctx.isAddOn ? 0 : 1);\n }\n },\n dependencies: [NzInputGroupSlotComponent, NgClass, NgTemplateOutlet, NzFormPatchModule, i3.NzFormItemFeedbackIconComponent],\n encapsulation: 2,\n changeDetection: 0\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzInputGroupComponent, [{\n type: Component,\n args: [{\n selector: 'nz-input-group',\n exportAs: 'nzInputGroup',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [NzFormNoStatusService],\n template: `\n @if (isAddOn) {\n <span class=\"ant-input-wrapper ant-input-group\">\n @if (nzAddOnBefore || nzAddOnBeforeIcon) {\n <span nz-input-group-slot type=\"addon\" [icon]=\"nzAddOnBeforeIcon\" [template]=\"nzAddOnBefore\"></span>\n }\n\n @if (isAffix || hasFeedback) {\n <span\n class=\"ant-input-affix-wrapper\"\n [class.ant-input-affix-wrapper-disabled]=\"disabled\"\n [class.ant-input-affix-wrapper-sm]=\"isSmall\"\n [class.ant-input-affix-wrapper-lg]=\"isLarge\"\n [class.ant-input-affix-wrapper-focused]=\"focused\"\n [ngClass]=\"affixInGroupStatusCls\"\n >\n <ng-template [ngTemplateOutlet]=\"affixTemplate\"></ng-template>\n </span>\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentTemplate\" />\n }\n @if (nzAddOnAfter || nzAddOnAfterIcon) {\n <span nz-input-group-slot type=\"addon\" [icon]=\"nzAddOnAfterIcon\" [template]=\"nzAddOnAfter\"></span>\n }\n </span>\n } @else {\n @if (isAffix) {\n <ng-template [ngTemplateOutlet]=\"affixTemplate\" />\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentTemplate\" />\n }\n }\n\n <!-- affix template -->\n <ng-template #affixTemplate>\n @if (nzPrefix || nzPrefixIcon) {\n <span nz-input-group-slot type=\"prefix\" [icon]=\"nzPrefixIcon\" [template]=\"nzPrefix\"></span>\n }\n <ng-template [ngTemplateOutlet]=\"contentTemplate\" />\n @if (nzSuffix || nzSuffixIcon || isFeedback) {\n <span nz-input-group-slot type=\"suffix\" [icon]=\"nzSuffixIcon\" [template]=\"nzSuffix\">\n @if (isFeedback) {\n <nz-form-item-feedback-icon [status]=\"status\" />\n }\n </span>\n }\n </ng-template>\n\n <!-- content template -->\n <ng-template #contentTemplate>\n <ng-content></ng-content>\n @if (!isAddOn && !isAffix && isFeedback) {\n <span nz-input-group-slot type=\"suffix\">\n <nz-form-item-feedback-icon [status]=\"status\" />\n </span>\n }\n </ng-template>\n `,\n host: {\n '[class.ant-input-group-compact]': `nzCompact`,\n '[class.ant-input-search-enter-button]': `nzSearch`,\n '[class.ant-input-search]': `nzSearch`,\n '[class.ant-input-search-rtl]': `dir === 'rtl'`,\n '[class.ant-input-search-sm]': `nzSearch && isSmall`,\n '[class.ant-input-search-large]': `nzSearch && isLarge`,\n '[class.ant-input-group-wrapper]': `isAddOn`,\n '[class.ant-input-group-wrapper-rtl]': `dir === 'rtl'`,\n '[class.ant-input-group-wrapper-lg]': `isAddOn && isLarge`,\n '[class.ant-input-group-wrapper-sm]': `isAddOn && isSmall`,\n '[class.ant-input-affix-wrapper]': `isAffix && !isAddOn`,\n '[class.ant-input-affix-wrapper-rtl]': `dir === 'rtl'`,\n '[class.ant-input-affix-wrapper-focused]': `isAffix && focused`,\n '[class.ant-input-affix-wrapper-disabled]': `isAffix && disabled`,\n '[class.ant-input-affix-wrapper-lg]': `isAffix && !isAddOn && isLarge`,\n '[class.ant-input-affix-wrapper-sm]': `isAffix && !isAddOn && isSmall`,\n '[class.ant-input-group]': `!isAffix && !isAddOn`,\n '[class.ant-input-group-rtl]': `dir === 'rtl'`,\n '[class.ant-input-group-lg]': `!isAffix && !isAddOn && isLarge`,\n '[class.ant-input-group-sm]': `!isAffix && !isAddOn && isSmall`\n },\n imports: [NzInputGroupSlotComponent, NgClass, NgTemplateOutlet, NzFormPatchModule],\n standalone: true\n }]\n }], () => [{\n type: i1$2.FocusMonitor\n }, {\n type: i0.ElementRef\n }, {\n type: i0.Renderer2\n }, {\n type: i0.ChangeDetectorRef\n }, {\n type: i1$1.Directionality\n }], {\n listOfNzInputDirective: [{\n type: ContentChildren,\n args: [NzInputDirective]\n }],\n nzAddOnBeforeIcon: [{\n type: Input\n }],\n nzAddOnAfterIcon: [{\n type: Input\n }],\n nzPrefixIcon: [{\n type: Input\n }],\n nzSuffixIcon: [{\n type: Input\n }],\n nzAddOnBefore: [{\n type: Input\n }],\n nzAddOnAfter: [{\n type: Input\n }],\n nzPrefix: [{\n type: Input\n }],\n nzStatus: [{\n type: Input\n }],\n nzSuffix: [{\n type: Input\n }],\n nzSize: [{\n type: Input\n }],\n nzSearch: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzCompact: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }]\n });\n})();\nclass NzAutosizeDirective {\n set nzAutosize(value) {\n const isAutoSizeType = data => typeof data !== 'string' && typeof data !== 'boolean' && (!!data.maxRows || !!data.minRows);\n if (typeof value === 'string' || value === true) {\n this.autosize = true;\n } else if (isAutoSizeType(value)) {\n this.autosize = true;\n this.minRows = value.minRows;\n this.maxRows = value.maxRows;\n this.maxHeight = this.setMaxHeight();\n this.minHeight = this.setMinHeight();\n }\n }\n resizeToFitContent(force = false) {\n this.cacheTextareaLineHeight();\n // If we haven't determined the line-height yet, we know we're still hidden and there's no point\n // in checking the height of the textarea.\n if (!this.cachedLineHeight) {\n return;\n }\n const textarea = this.el;\n const value = textarea.value;\n // Only resize if the value or minRows have changed since these calculations can be expensive.\n if (!force && this.minRows === this.previousMinRows && value === this.previousValue) {\n return;\n }\n const placeholderText = textarea.placeholder;\n // Reset the textarea height to auto in order to shrink back to its default size.\n // Also temporarily force overflow:hidden, so scroll bars do not interfere with calculations.\n // Long placeholders that are wider than the textarea width may lead to a bigger scrollHeight\n // value. To ensure that the scrollHeight is not bigger than the content, the placeholders\n // need to be removed temporarily.\n textarea.classList.add('nz-textarea-autosize-measuring');\n textarea.placeholder = '';\n let height = Math.round((textarea.scrollHeight - this.inputGap) / this.cachedLineHeight) * this.cachedLineHeight + this.inputGap;\n if (this.maxHeight !== null && height > this.maxHeight) {\n height = this.maxHeight;\n }\n if (this.minHeight !== null && height < this.minHeight) {\n height = this.minHeight;\n }\n // Use the scrollHeight to know how large the textarea *would* be if fit its entire value.\n textarea.style.height = `${height}px`;\n textarea.classList.remove('nz-textarea-autosize-measuring');\n textarea.placeholder = placeholderText;\n // On Firefox resizing the textarea will prevent it from scrolling to the caret position.\n // We need to re-set the selection in order for it to scroll to the proper position.\n if (typeof requestAnimationFrame !== 'undefined') {\n this.ngZone.runOutsideAngular(() => requestAnimationFrame(() => {\n const {\n selectionStart,\n selectionEnd\n } = textarea;\n // IE will throw an \"Unspecified error\" if we try to set the selection range after the\n // element has been removed from the DOM. Assert that the directive hasn't been destroyed\n // between the time we requested the animation frame and when it was executed.\n // Also note that we have to assert that the textarea is focused before we set the\n // selection range. Setting the selection range on a non-focused textarea will cause\n // it to receive focus on IE and Edge.\n if (!this.destroy$.isStopped && document.activeElement === textarea) {\n textarea.setSelectionRange(selectionStart, selectionEnd);\n }\n }));\n }\n this.previousValue = value;\n this.previousMinRows = this.minRows;\n }\n cacheTextareaLineHeight() {\n if (this.cachedLineHeight >= 0 || !this.el.parentNode) {\n return;\n }\n // Use a clone element because we have to override some styles.\n const textareaClone = this.el.cloneNode(false);\n textareaClone.rows = 1;\n // Use `position: absolute` so that this doesn't cause a browser layout and use\n // `visibility: hidden` so that nothing is rendered. Clear any other styles that\n // would affect the height.\n textareaClone.style.position = 'absolute';\n textareaClone.style.visibility = 'hidden';\n textareaClone.style.border = 'none';\n textareaClone.style.padding = '0';\n textareaClone.style.height = '';\n textareaClone.style.minHeight = '';\n textareaClone.style.maxHeight = '';\n // In Firefox it happens that textarea elements are always bigger than the specified amount\n // of rows. This is because Firefox tries to add extra space for the horizontal scrollbar.\n // As a workaround that removes the extra space for the scrollbar, we can just set overflow\n // to hidden. This ensures that there is no invalid calculation of the line height.\n // See Firefox bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=33654\n textareaClone.style.overflow = 'hidden';\n this.el.parentNode.appendChild(textareaClone);\n this.cachedLineHeight = textareaClone.clientHeight - this.inputGap;\n this.el.parentNode.removeChild(textareaClone);\n // Min and max heights have to be re-calculated if the cached line height changes\n this.maxHeight = this.setMaxHeight();\n this.minHeight = this.setMinHeight();\n }\n setMinHeight() {\n const minHeight = this.minRows && this.cachedLineHeight ? this.minRows * this.cachedLineHeight + this.inputGap : null;\n if (minHeight !== null) {\n this.el.style.minHeight = `${minHeight}px`;\n }\n return minHeight;\n }\n setMaxHeight() {\n const maxHeight = this.maxRows && this.cachedLineHeight ? this.maxRows * this.cachedLineHeight + this.inputGap : null;\n if (maxHeight !== null) {\n this.el.style.maxHeight = `${maxHeight}px`;\n }\n return maxHeight;\n }\n noopInputHandler() {\n // no-op handler that ensures we're running change detection on input events.\n }\n constructor(elementRef, ngZone, platform, resizeService) {\n this.elementRef = elementRef;\n this.ngZone = ngZone;\n this.platform = platform;\n this.resizeService = resizeService;\n this.autosize = false;\n this.el = this.elementRef.nativeElement;\n this.maxHeight = null;\n this.minHeight = null;\n this.destroy$ = new Subject();\n this.inputGap = 10;\n }\n ngAfterViewInit() {\n if (this.autosize && this.platform.isBrowser) {\n this.resizeToFitContent();\n this.resizeService.subscribe().pipe(takeUntil(this.destroy$)).subscribe(() => this.resizeToFitContent(true));\n }\n }\n ngOnDestroy() {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n ngDoCheck() {\n if (this.autosize && this.platform.isBrowser) {\n this.resizeToFitContent();\n }\n }\n}\n_NzAutosizeDirective = NzAutosizeDirective;\n_NzAutosizeDirective.ɵfac = function _NzAutosizeDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzAutosizeDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$3.Platform), i0.ɵɵdirectiveInject(i2$1.NzResizeService));\n};\n_NzAutosizeDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzAutosizeDirective,\n selectors: [[\"textarea\", \"nzAutosize\", \"\"]],\n hostAttrs: [\"rows\", \"1\"],\n hostBindings: function _NzAutosizeDirective_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"input\", function _NzAutosizeDirective_input_HostBindingHandler() {\n return ctx.noopInputHandler();\n });\n }\n },\n inputs: {\n nzAutosize: \"nzAutosize\"\n },\n exportAs: [\"nzAutosize\"],\n standalone: true\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzAutosizeDirective, [{\n type: Directive,\n args: [{\n selector: 'textarea[nzAutosize]',\n exportAs: 'nzAutosize',\n host: {\n // Textarea elements that have the directive applied should have a single row by default.\n // Browsers normally show two rows by default and therefore this limits the minRows binding.\n rows: '1',\n '(input)': 'noopInputHandler()'\n },\n standalone: true\n }]\n }], () => [{\n type: i0.ElementRef\n }, {\n type: i0.NgZone\n }, {\n type: i1$3.Platform\n }, {\n type: i2$1.NzResizeService\n }], {\n nzAutosize: [{\n type: Input\n }]\n });\n})();\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzTextareaCountComponent {\n constructor(renderer, elementRef) {\n this.renderer = renderer;\n this.elementRef = elementRef;\n this.nzMaxCharacterCount = 0;\n this.nzComputeCharacterCount = v => v.length;\n this.nzFormatter = (c, m) => `${c}${m > 0 ? `/${m}` : ``}`;\n this.configChange$ = new Subject();\n this.destroy$ = new Subject();\n }\n ngAfterContentInit() {\n if (!this.nzInputDirective && isDevMode()) {\n throw new Error('[nz-textarea-count]: Could not find matching textarea[nz-input] child.');\n }\n if (this.nzInputDirective.ngControl) {\n const valueChanges = this.nzInputDirective.ngControl.valueChanges || EMPTY;\n merge(valueChanges, this.configChange$).pipe(takeUntil(this.destroy$), map(() => this.nzInputDirective.ngControl.value), startWith(this.nzInputDirective.ngControl.value)).subscribe(value => {\n this.setDataCount(value);\n });\n }\n }\n setDataCount(value) {\n const inputValue = isNotNil(value) ? String(value) : '';\n const currentCount = this.nzComputeCharacterCount(inputValue);\n const dataCount = this.nzFormatter(currentCount, this.nzMaxCharacterCount);\n this.renderer.setAttribute(this.elementRef.nativeElement, 'data-count', dataCount);\n }\n ngOnDestroy() {\n this.configChange$.complete();\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n}\n_NzTextareaCountComponent = NzTextareaCountComponent;\n_NzTextareaCountComponent.ɵfac = function _NzTextareaCountComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzTextareaCountComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef));\n};\n_NzTextareaCountComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzTextareaCountComponent,\n selectors: [[\"nz-textarea-count\"]],\n contentQueries: function _NzTextareaCountComponent_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, NzInputDirective, 7);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nzInputDirective = _t.first);\n }\n },\n hostAttrs: [1, \"ant-input-textarea-show-count\"],\n inputs: {\n nzMaxCharacterCount: [2, \"nzMaxCharacterCount\", \"nzMaxCharacterCount\", numberAttribute],\n nzComputeCharacterCount: \"nzComputeCharacterCount\",\n nzFormatter: \"nzFormatter\"\n },\n standalone: true,\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature],\n ngContentSelectors: _c3,\n decls: 1,\n vars: 0,\n template: function _NzTextareaCountComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c2);\n i0.ɵɵprojection(0);\n }\n },\n encapsulation: 2,\n changeDetection: 0\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTextareaCountComponent, [{\n type: Component,\n args: [{\n selector: 'nz-textarea-count',\n template: ` <ng-content select=\"textarea[nz-input]\"></ng-content> `,\n host: {\n class: 'ant-input-textarea-show-count'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true\n }]\n }], () => [{\n type: i0.Renderer2\n }, {\n type: i0.ElementRef\n }], {\n nzInputDirective: [{\n type: ContentChild,\n args: [NzInputDirective, {\n static: true\n }]\n }],\n nzMaxCharacterCount: [{\n type: Input,\n args: [{\n transform: numberAttribute\n }]\n }],\n nzComputeCharacterCount: [{\n type: Input\n }],\n nzFormatter: [{\n type: Input\n }]\n });\n})();\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzInputModule {}\n_NzInputModule = NzInputModule;\n_NzInputModule.ɵfac = function _NzInputModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzInputModule)();\n};\n_NzInputModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: _NzInputModule\n});\n_NzInputModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [NzInputGroupComponent, NzInputGroupSlotComponent]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzInputModule, [{\n type: NgModule,\n args: [{\n imports: [NzTextareaCountComponent, NzInputDirective, NzInputGroupComponent, NzAutosizeDirective, NzInputGroupSlotComponent, NzInputGroupWhitSuffixOrPrefixDirective],\n exports: [NzTextareaCountComponent, NzInputDirective, NzInputGroupComponent, NzAutosizeDirective, NzInputGroupWhitSuffixOrPrefixDirective]\n }]\n }], null, null);\n})();\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NzAutosizeDirective, NzInputDirective, NzInputGroupComponent, NzInputGroupSlotComponent, NzInputGroupWhitSuffixOrPrefixDirective, NzInputModule, NzTextareaCountComponent };","map":{"version":3,"names":["i0","ɵɵelement","rf","ctx_r0","ɵɵnextContext","ɵɵproperty","icon","_NzInputGroupSlotComponent_ng_container_1_Template","ctx","ɵɵelementContainerStart","ɵɵtext","ɵɵelementContainerEnd","ɵɵadvance","ɵɵtextInterpolate","template","_NzInputGroupComponent_Conditional_0_Conditional_1_Template","nzAddOnBeforeIcon","nzAddOnBefore","_NzInputGroupComponent_Conditional_0_Conditional_2_ng_template_1_Template","_NzInputGroupComponent_Conditional_0_Conditional_2_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","affixTemplate_r2","ɵɵreference","ɵɵclassProp","disabled","isSmall","isLarge","focused","affixInGroupStatusCls","_NzInputGroupComponent_Conditional_0_Conditional_3_ng_template_0_Template","_NzInputGroupComponent_Conditional_0_Conditional_3_Template","contentTemplate_r3","_NzInputGroupComponent_Conditional_0_Conditional_4_Template","nzAddOnAfterIcon","nzAddOnAfter","_NzInputGroupComponent_Conditional_0_Template","ɵɵconditional","isAffix","hasFeedback","_NzInputGroupComponent_Conditional_1_Conditional_0_ng_template_0_Template","_NzInputGroupComponent_Conditional_1_Conditional_0_Template","_NzInputGroupComponent_Conditional_1_Conditional_1_ng_template_0_Template","_NzInputGroupComponent_Conditional_1_Conditional_1_Template","_NzInputGroupComponent_Conditional_1_Template","_NzInputGroupComponent_ng_template_2_Conditional_0_Template","nzPrefixIcon","nzPrefix","_NzInputGroupComponent_ng_template_2_ng_template_1_Template","_NzInputGroupComponent_ng_template_2_Conditional_2_Conditional_1_Template","status","_NzInputGroupComponent_ng_template_2_Conditional_2_Template","nzSuffixIcon","nzSuffix","isFeedback","_NzInputGroupComponent_ng_template_2_Template","_NzInputGroupComponent_ng_template_4_Conditional_1_Template","_NzInputGroupComponent_ng_template_4_Template","ɵɵprojection","isAddOn","_c2","_c3","NgClass","NgTemplateOutlet","Component","ViewEncapsulation","ChangeDetectionStrategy","Input","inject","booleanAttribute","Directive","ContentChildren","isDevMode","numberAttribute","ContentChild","NgModule","Subject","merge","EMPTY","distinctUntilChanged","takeUntil","filter","startWith","switchMap","mergeMap","map","i3","NzFormStatusService","NzFormNoStatusService","NzFormItemFeedbackIconComponent","NzFormPatchModule","getStatusClassNames","isNotNil","i2","NzOutletModule","i1","NzIconModule","NgControl","i1$1","i1$2","i1$3","i2$1","NzInputGroupSlotComponent","constructor","type","_NzInputGroupSlotComponent","ɵfac","_NzInputGroupSlotComponent_Factory","__ngFactoryType__","ɵcmp","ɵɵdefineComponent","selectors","hostVars","hostBindings","_NzInputGroupSlotComponent_HostBindings","inputs","standalone","features","ɵɵStandaloneFeature","attrs","_c0","ngContentSelectors","_c1","decls","vars","consts","_NzInputGroupSlotComponent_Template","ɵɵprojectionDef","_NzInputGroupSlotComponent_Conditional_0_Template","dependencies","NzIconDirective","NzStringTemplateOutletDirective","encapsulation","changeDetection","ngDevMode","ɵsetClassMetadata","args","selector","preserveWhitespaces","None","OnPush","host","imports","NzInputDirective","ngControl","_disabled","value","renderer","elementRef","hostView","directionality","nzBorderless","nzSize","nzStepperless","nzStatus","disabled$","dir","prefixCls","statusCls","feedbackRef","components","destroy$","self","optional","nzFormStatusService","nzFormNoStatusService","ngOnInit","_this$nzFormStatusSer","_this$directionality$","formStatusChanges","pipe","pre","cur","subscribe","setStatusStyles","_this$ngControl$statu","statusChanges","next","change","direction","ngOnChanges","changes","ngOnDestroy","complete","renderFeedbackIcon","Object","keys","forEach","addClass","nativeElement","removeClass","clear","createComponent","location","classList","add","instance","updateIcon","_NzInputDirective","_NzInputDirective_Factory","ɵɵdirectiveInject","Renderer2","ElementRef","ViewContainerRef","Directionality","ɵdir","ɵɵdefineDirective","hostAttrs","_NzInputDirective_HostBindings","ɵɵattribute","exportAs","ɵɵInputTransformsFeature","ɵɵNgOnChangesFeature","class","transform","NzInputGroupWhitSuffixOrPrefixDirective","_NzInputGroupWhitSuffixOrPrefixDirective","_NzInputGroupWhitSuffixOrPrefixDirective_Factory","NzInputGroupComponent","focusMonitor","cdr","nzSearch","nzCompact","affixStatusCls","groupStatusCls","updateChildrenInputSize","listOfNzInputDirective","item","_this$nzFormStatusSer2","_this$directionality$2","monitor","focusOrigin","markForCheck","ngAfterContentInit","listOfInputChange$","list","input","some","_this$nzFormNoStatusS","noFormStatus","stopMonitoring","baseAffix","_NzInputGroupComponent","_NzInputGroupComponent_Factory","FocusMonitor","ChangeDetectorRef","contentQueries","_NzInputGroupComponent_ContentQueries","dirIndex","ɵɵcontentQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","_NzInputGroupComponent_HostBindings","ɵɵProvidersFeature","_NzInputGroupComponent_Template","ɵɵtemplateRefExtractor","providers","NzAutosizeDirective","nzAutosize","isAutoSizeType","data","maxRows","minRows","autosize","maxHeight","setMaxHeight","minHeight","setMinHeight","resizeToFitContent","force","cacheTextareaLineHeight","cachedLineHeight","textarea","el","previousMinRows","previousValue","placeholderText","placeholder","height","Math","round","scrollHeight","inputGap","style","remove","requestAnimationFrame","ngZone","runOutsideAngular","selectionStart","selectionEnd","isStopped","document","activeElement","setSelectionRange","parentNode","textareaClone","cloneNode","rows","position","visibility","border","padding","overflow","appendChild","clientHeight","removeChild","noopInputHandler","platform","resizeService","ngAfterViewInit","isBrowser","ngDoCheck","_NzAutosizeDirective","_NzAutosizeDirective_Factory","NgZone","Platform","NzResizeService","_NzAutosizeDirective_HostBindings","ɵɵlistener","_NzAutosizeDirective_input_HostBindingHandler","NzTextareaCountComponent","nzMaxCharacterCount","nzComputeCharacterCount","v","length","nzFormatter","c","m","configChange$","nzInputDirective","Error","valueChanges","setDataCount","inputValue","String","currentCount","dataCount","setAttribute","_NzTextareaCountComponent","_NzTextareaCountComponent_Factory","_NzTextareaCountComponent_ContentQueries","first","_NzTextareaCountComponent_Template","static","NzInputModule","_NzInputModule","_NzInputModule_Factory","ɵmod","ɵɵdefineNgModule","ɵinj","ɵɵdefineInjector","exports"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-input.mjs"],"sourcesContent":["import { NgClass, NgTemplateOutlet } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, inject, booleanAttribute, Directive, ContentChildren, isDevMode, numberAttribute, ContentChild, NgModule } from '@angular/core';\nimport { Subject, merge, EMPTY } from 'rxjs';\nimport { distinctUntilChanged, takeUntil, filter, startWith, switchMap, mergeMap, map } from 'rxjs/operators';\nimport * as i3 from 'ng-zorro-antd/core/form';\nimport { NzFormStatusService, NzFormNoStatusService, NzFormItemFeedbackIconComponent, NzFormPatchModule } from 'ng-zorro-antd/core/form';\nimport { getStatusClassNames, isNotNil } from 'ng-zorro-antd/core/util';\nimport * as i2 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i1 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NgControl } from '@angular/forms';\nimport * as i1$1 from '@angular/cdk/bidi';\nimport * as i1$2 from '@angular/cdk/a11y';\nimport * as i1$3 from '@angular/cdk/platform';\nimport * as i2$1 from 'ng-zorro-antd/core/services';\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 NzInputGroupSlotComponent {\n constructor() {\n this.icon = null;\n this.type = null;\n this.template = null;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputGroupSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"18.2.1\", type: NzInputGroupSlotComponent, isStandalone: true, selector: \"[nz-input-group-slot]\", inputs: { icon: \"icon\", type: \"type\", template: \"template\" }, host: { properties: { \"class.ant-input-group-addon\": \"type === 'addon'\", \"class.ant-input-prefix\": \"type === 'prefix'\", \"class.ant-input-suffix\": \"type === 'suffix'\" } }, ngImport: i0, template: `\n @if (icon) {\n <span nz-icon [nzType]=\"icon\"></span>\n }\n <ng-container *nzStringTemplateOutlet=\"template\">{{ template }}</ng-container>\n <ng-content></ng-content>\n `, isInline: true, dependencies: [{ kind: \"ngmodule\", type: NzIconModule }, { kind: \"directive\", type: i1.NzIconDirective, selector: \"[nz-icon]\", inputs: [\"nzSpin\", \"nzRotate\", \"nzType\", \"nzTheme\", \"nzTwotoneColor\", \"nzIconfont\"], exportAs: [\"nzIcon\"] }, { kind: \"ngmodule\", type: NzOutletModule }, { kind: \"directive\", type: i2.NzStringTemplateOutletDirective, selector: \"[nzStringTemplateOutlet]\", inputs: [\"nzStringTemplateOutletContext\", \"nzStringTemplateOutlet\"], exportAs: [\"nzStringTemplateOutlet\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputGroupSlotComponent, decorators: [{\n type: Component,\n args: [{\n selector: '[nz-input-group-slot]',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n @if (icon) {\n <span nz-icon [nzType]=\"icon\"></span>\n }\n <ng-container *nzStringTemplateOutlet=\"template\">{{ template }}</ng-container>\n <ng-content></ng-content>\n `,\n host: {\n '[class.ant-input-group-addon]': `type === 'addon'`,\n '[class.ant-input-prefix]': `type === 'prefix'`,\n '[class.ant-input-suffix]': `type === 'suffix'`\n },\n imports: [NzIconModule, NzOutletModule],\n standalone: true\n }]\n }], propDecorators: { icon: [{\n type: Input\n }], type: [{\n type: Input\n }], template: [{\n type: Input\n }] } });\n\nclass NzInputDirective {\n get disabled() {\n if (this.ngControl && this.ngControl.disabled !== null) {\n return this.ngControl.disabled;\n }\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = value;\n }\n constructor(renderer, elementRef, hostView, directionality) {\n this.renderer = renderer;\n this.elementRef = elementRef;\n this.hostView = hostView;\n this.directionality = directionality;\n this.nzBorderless = false;\n this.nzSize = 'default';\n this.nzStepperless = true;\n this.nzStatus = '';\n this._disabled = false;\n this.disabled$ = new Subject();\n this.dir = 'ltr';\n // status\n this.prefixCls = 'ant-input';\n this.status = '';\n this.statusCls = {};\n this.hasFeedback = false;\n this.feedbackRef = null;\n this.components = [];\n this.destroy$ = new Subject();\n this.ngControl = inject(NgControl, { self: true, optional: true });\n this.nzFormStatusService = inject(NzFormStatusService, { optional: true });\n this.nzFormNoStatusService = inject(NzFormNoStatusService, { optional: true });\n }\n ngOnInit() {\n this.nzFormStatusService?.formStatusChanges\n .pipe(distinctUntilChanged((pre, cur) => {\n return pre.status === cur.status && pre.hasFeedback === cur.hasFeedback;\n }), takeUntil(this.destroy$))\n .subscribe(({ status, hasFeedback }) => {\n this.setStatusStyles(status, hasFeedback);\n });\n if (this.ngControl) {\n this.ngControl.statusChanges\n ?.pipe(filter(() => this.ngControl.disabled !== null), takeUntil(this.destroy$))\n .subscribe(() => {\n this.disabled$.next(this.ngControl.disabled);\n });\n }\n this.dir = this.directionality.value;\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction) => {\n this.dir = direction;\n });\n }\n ngOnChanges(changes) {\n const { disabled, nzStatus } = changes;\n if (disabled) {\n this.disabled$.next(this.disabled);\n }\n if (nzStatus) {\n this.setStatusStyles(this.nzStatus, this.hasFeedback);\n }\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n }\n setStatusStyles(status, hasFeedback) {\n // set inner status\n this.status = status;\n this.hasFeedback = hasFeedback;\n this.renderFeedbackIcon();\n // render status if nzStatus is set\n this.statusCls = getStatusClassNames(this.prefixCls, status, hasFeedback);\n Object.keys(this.statusCls).forEach(status => {\n if (this.statusCls[status]) {\n this.renderer.addClass(this.elementRef.nativeElement, status);\n }\n else {\n this.renderer.removeClass(this.elementRef.nativeElement, status);\n }\n });\n }\n renderFeedbackIcon() {\n if (!this.status || !this.hasFeedback || !!this.nzFormNoStatusService) {\n // remove feedback\n this.hostView.clear();\n this.feedbackRef = null;\n return;\n }\n this.feedbackRef = this.feedbackRef || this.hostView.createComponent(NzFormItemFeedbackIconComponent);\n this.feedbackRef.location.nativeElement.classList.add('ant-input-suffix');\n this.feedbackRef.instance.status = this.status;\n this.feedbackRef.instance.updateIcon();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i1$1.Directionality }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"16.1.0\", version: \"18.2.1\", type: NzInputDirective, isStandalone: true, selector: \"input[nz-input],textarea[nz-input]\", inputs: { nzBorderless: [\"nzBorderless\", \"nzBorderless\", booleanAttribute], nzSize: \"nzSize\", nzStepperless: [\"nzStepperless\", \"nzStepperless\", booleanAttribute], nzStatus: \"nzStatus\", disabled: [\"disabled\", \"disabled\", booleanAttribute] }, host: { properties: { \"class.ant-input-disabled\": \"disabled\", \"class.ant-input-borderless\": \"nzBorderless\", \"class.ant-input-lg\": \"nzSize === 'large'\", \"class.ant-input-sm\": \"nzSize === 'small'\", \"attr.disabled\": \"disabled || null\", \"class.ant-input-rtl\": \"dir=== 'rtl'\", \"class.ant-input-stepperless\": \"nzStepperless\" }, classAttribute: \"ant-input\" }, exportAs: [\"nzInput\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputDirective, decorators: [{\n type: Directive,\n args: [{\n selector: 'input[nz-input],textarea[nz-input]',\n exportAs: 'nzInput',\n host: {\n class: 'ant-input',\n '[class.ant-input-disabled]': 'disabled',\n '[class.ant-input-borderless]': 'nzBorderless',\n '[class.ant-input-lg]': `nzSize === 'large'`,\n '[class.ant-input-sm]': `nzSize === 'small'`,\n '[attr.disabled]': 'disabled || null',\n '[class.ant-input-rtl]': `dir=== 'rtl'`,\n '[class.ant-input-stepperless]': `nzStepperless`\n },\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i1$1.Directionality }], propDecorators: { nzBorderless: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzSize: [{\n type: Input\n }], nzStepperless: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzStatus: [{\n type: Input\n }], disabled: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }] } });\n\nclass NzInputGroupWhitSuffixOrPrefixDirective {\n constructor(elementRef) {\n this.elementRef = elementRef;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputGroupWhitSuffixOrPrefixDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzInputGroupWhitSuffixOrPrefixDirective, isStandalone: true, selector: \"nz-input-group[nzSuffix], nz-input-group[nzPrefix]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputGroupWhitSuffixOrPrefixDirective, decorators: [{\n type: Directive,\n args: [{\n selector: `nz-input-group[nzSuffix], nz-input-group[nzPrefix]`,\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }] });\nclass NzInputGroupComponent {\n constructor(focusMonitor, elementRef, renderer, cdr, directionality) {\n this.focusMonitor = focusMonitor;\n this.elementRef = elementRef;\n this.renderer = renderer;\n this.cdr = cdr;\n this.directionality = directionality;\n this.nzAddOnBeforeIcon = null;\n this.nzAddOnAfterIcon = null;\n this.nzPrefixIcon = null;\n this.nzSuffixIcon = null;\n this.nzStatus = '';\n this.nzSize = 'default';\n this.nzSearch = false;\n this.nzCompact = false;\n this.isLarge = false;\n this.isSmall = false;\n this.isAffix = false;\n this.isAddOn = false;\n this.isFeedback = false;\n this.focused = false;\n this.disabled = false;\n this.dir = 'ltr';\n // status\n this.prefixCls = 'ant-input';\n this.affixStatusCls = {};\n this.groupStatusCls = {};\n this.affixInGroupStatusCls = {};\n this.status = '';\n this.hasFeedback = false;\n this.destroy$ = new Subject();\n this.nzFormStatusService = inject(NzFormStatusService, { optional: true });\n this.nzFormNoStatusService = inject(NzFormNoStatusService, { optional: true });\n }\n updateChildrenInputSize() {\n if (this.listOfNzInputDirective) {\n this.listOfNzInputDirective.forEach(item => (item.nzSize = this.nzSize));\n }\n }\n ngOnInit() {\n this.nzFormStatusService?.formStatusChanges\n .pipe(distinctUntilChanged((pre, cur) => {\n return pre.status === cur.status && pre.hasFeedback === cur.hasFeedback;\n }), takeUntil(this.destroy$))\n .subscribe(({ status, hasFeedback }) => {\n this.setStatusStyles(status, hasFeedback);\n });\n this.focusMonitor\n .monitor(this.elementRef, true)\n .pipe(takeUntil(this.destroy$))\n .subscribe(focusOrigin => {\n this.focused = !!focusOrigin;\n this.cdr.markForCheck();\n });\n this.dir = this.directionality.value;\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction) => {\n this.dir = direction;\n });\n }\n ngAfterContentInit() {\n this.updateChildrenInputSize();\n const listOfInputChange$ = this.listOfNzInputDirective.changes.pipe(startWith(this.listOfNzInputDirective));\n listOfInputChange$\n .pipe(switchMap(list => merge(...[listOfInputChange$, ...list.map((input) => input.disabled$)])), mergeMap(() => listOfInputChange$), map(list => list.some((input) => input.disabled)), takeUntil(this.destroy$))\n .subscribe(disabled => {\n this.disabled = disabled;\n this.cdr.markForCheck();\n });\n }\n ngOnChanges(changes) {\n const { nzSize, nzSuffix, nzPrefix, nzPrefixIcon, nzSuffixIcon, nzAddOnAfter, nzAddOnBefore, nzAddOnAfterIcon, nzAddOnBeforeIcon, nzStatus } = changes;\n if (nzSize) {\n this.updateChildrenInputSize();\n this.isLarge = this.nzSize === 'large';\n this.isSmall = this.nzSize === 'small';\n }\n if (nzSuffix || nzPrefix || nzPrefixIcon || nzSuffixIcon) {\n this.isAffix = !!(this.nzSuffix || this.nzPrefix || this.nzPrefixIcon || this.nzSuffixIcon);\n }\n if (nzAddOnAfter || nzAddOnBefore || nzAddOnAfterIcon || nzAddOnBeforeIcon) {\n this.isAddOn = !!(this.nzAddOnAfter || this.nzAddOnBefore || this.nzAddOnAfterIcon || this.nzAddOnBeforeIcon);\n this.nzFormNoStatusService?.noFormStatus?.next(this.isAddOn);\n }\n if (nzStatus) {\n this.setStatusStyles(this.nzStatus, this.hasFeedback);\n }\n }\n ngOnDestroy() {\n this.focusMonitor.stopMonitoring(this.elementRef);\n this.destroy$.next();\n this.destroy$.complete();\n }\n setStatusStyles(status, hasFeedback) {\n // set inner status\n this.status = status;\n this.hasFeedback = hasFeedback;\n this.isFeedback = !!status && hasFeedback;\n const baseAffix = !!(this.nzSuffix || this.nzPrefix || this.nzPrefixIcon || this.nzSuffixIcon);\n this.isAffix = baseAffix || (!this.isAddOn && hasFeedback);\n this.affixInGroupStatusCls =\n this.isAffix || this.isFeedback\n ? (this.affixStatusCls = getStatusClassNames(`${this.prefixCls}-affix-wrapper`, status, hasFeedback))\n : {};\n this.cdr.markForCheck();\n // render status if nzStatus is set\n this.affixStatusCls = getStatusClassNames(`${this.prefixCls}-affix-wrapper`, this.isAddOn ? '' : status, this.isAddOn ? false : hasFeedback);\n this.groupStatusCls = getStatusClassNames(`${this.prefixCls}-group-wrapper`, this.isAddOn ? status : '', this.isAddOn ? hasFeedback : false);\n const statusCls = {\n ...this.affixStatusCls,\n ...this.groupStatusCls\n };\n Object.keys(statusCls).forEach(status => {\n if (statusCls[status]) {\n this.renderer.addClass(this.elementRef.nativeElement, status);\n }\n else {\n this.renderer.removeClass(this.elementRef.nativeElement, status);\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputGroupComponent, deps: [{ token: i1$2.FocusMonitor }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1$1.Directionality }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"18.2.1\", type: NzInputGroupComponent, isStandalone: true, selector: \"nz-input-group\", inputs: { nzAddOnBeforeIcon: \"nzAddOnBeforeIcon\", nzAddOnAfterIcon: \"nzAddOnAfterIcon\", nzPrefixIcon: \"nzPrefixIcon\", nzSuffixIcon: \"nzSuffixIcon\", nzAddOnBefore: \"nzAddOnBefore\", nzAddOnAfter: \"nzAddOnAfter\", nzPrefix: \"nzPrefix\", nzStatus: \"nzStatus\", nzSuffix: \"nzSuffix\", nzSize: \"nzSize\", nzSearch: [\"nzSearch\", \"nzSearch\", booleanAttribute], nzCompact: [\"nzCompact\", \"nzCompact\", booleanAttribute] }, host: { properties: { \"class.ant-input-group-compact\": \"nzCompact\", \"class.ant-input-search-enter-button\": \"nzSearch\", \"class.ant-input-search\": \"nzSearch\", \"class.ant-input-search-rtl\": \"dir === 'rtl'\", \"class.ant-input-search-sm\": \"nzSearch && isSmall\", \"class.ant-input-search-large\": \"nzSearch && isLarge\", \"class.ant-input-group-wrapper\": \"isAddOn\", \"class.ant-input-group-wrapper-rtl\": \"dir === 'rtl'\", \"class.ant-input-group-wrapper-lg\": \"isAddOn && isLarge\", \"class.ant-input-group-wrapper-sm\": \"isAddOn && isSmall\", \"class.ant-input-affix-wrapper\": \"isAffix && !isAddOn\", \"class.ant-input-affix-wrapper-rtl\": \"dir === 'rtl'\", \"class.ant-input-affix-wrapper-focused\": \"isAffix && focused\", \"class.ant-input-affix-wrapper-disabled\": \"isAffix && disabled\", \"class.ant-input-affix-wrapper-lg\": \"isAffix && !isAddOn && isLarge\", \"class.ant-input-affix-wrapper-sm\": \"isAffix && !isAddOn && isSmall\", \"class.ant-input-group\": \"!isAffix && !isAddOn\", \"class.ant-input-group-rtl\": \"dir === 'rtl'\", \"class.ant-input-group-lg\": \"!isAffix && !isAddOn && isLarge\", \"class.ant-input-group-sm\": \"!isAffix && !isAddOn && isSmall\" } }, providers: [NzFormNoStatusService], queries: [{ propertyName: \"listOfNzInputDirective\", predicate: NzInputDirective }], exportAs: [\"nzInputGroup\"], usesOnChanges: true, ngImport: i0, template: `\n @if (isAddOn) {\n <span class=\"ant-input-wrapper ant-input-group\">\n @if (nzAddOnBefore || nzAddOnBeforeIcon) {\n <span nz-input-group-slot type=\"addon\" [icon]=\"nzAddOnBeforeIcon\" [template]=\"nzAddOnBefore\"></span>\n }\n\n @if (isAffix || hasFeedback) {\n <span\n class=\"ant-input-affix-wrapper\"\n [class.ant-input-affix-wrapper-disabled]=\"disabled\"\n [class.ant-input-affix-wrapper-sm]=\"isSmall\"\n [class.ant-input-affix-wrapper-lg]=\"isLarge\"\n [class.ant-input-affix-wrapper-focused]=\"focused\"\n [ngClass]=\"affixInGroupStatusCls\"\n >\n <ng-template [ngTemplateOutlet]=\"affixTemplate\"></ng-template>\n </span>\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentTemplate\" />\n }\n @if (nzAddOnAfter || nzAddOnAfterIcon) {\n <span nz-input-group-slot type=\"addon\" [icon]=\"nzAddOnAfterIcon\" [template]=\"nzAddOnAfter\"></span>\n }\n </span>\n } @else {\n @if (isAffix) {\n <ng-template [ngTemplateOutlet]=\"affixTemplate\" />\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentTemplate\" />\n }\n }\n\n <!-- affix template -->\n <ng-template #affixTemplate>\n @if (nzPrefix || nzPrefixIcon) {\n <span nz-input-group-slot type=\"prefix\" [icon]=\"nzPrefixIcon\" [template]=\"nzPrefix\"></span>\n }\n <ng-template [ngTemplateOutlet]=\"contentTemplate\" />\n @if (nzSuffix || nzSuffixIcon || isFeedback) {\n <span nz-input-group-slot type=\"suffix\" [icon]=\"nzSuffixIcon\" [template]=\"nzSuffix\">\n @if (isFeedback) {\n <nz-form-item-feedback-icon [status]=\"status\" />\n }\n </span>\n }\n </ng-template>\n\n <!-- content template -->\n <ng-template #contentTemplate>\n <ng-content></ng-content>\n @if (!isAddOn && !isAffix && isFeedback) {\n <span nz-input-group-slot type=\"suffix\">\n <nz-form-item-feedback-icon [status]=\"status\" />\n </span>\n }\n </ng-template>\n `, isInline: true, dependencies: [{ kind: \"component\", type: NzInputGroupSlotComponent, selector: \"[nz-input-group-slot]\", inputs: [\"icon\", \"type\", \"template\"] }, { kind: \"directive\", type: NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"ngmodule\", type: NzFormPatchModule }, { kind: \"component\", type: i3.NzFormItemFeedbackIconComponent, selector: \"nz-form-item-feedback-icon\", inputs: [\"status\"], exportAs: [\"nzFormFeedbackIcon\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputGroupComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'nz-input-group',\n exportAs: 'nzInputGroup',\n preserveWhitespaces: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [NzFormNoStatusService],\n template: `\n @if (isAddOn) {\n <span class=\"ant-input-wrapper ant-input-group\">\n @if (nzAddOnBefore || nzAddOnBeforeIcon) {\n <span nz-input-group-slot type=\"addon\" [icon]=\"nzAddOnBeforeIcon\" [template]=\"nzAddOnBefore\"></span>\n }\n\n @if (isAffix || hasFeedback) {\n <span\n class=\"ant-input-affix-wrapper\"\n [class.ant-input-affix-wrapper-disabled]=\"disabled\"\n [class.ant-input-affix-wrapper-sm]=\"isSmall\"\n [class.ant-input-affix-wrapper-lg]=\"isLarge\"\n [class.ant-input-affix-wrapper-focused]=\"focused\"\n [ngClass]=\"affixInGroupStatusCls\"\n >\n <ng-template [ngTemplateOutlet]=\"affixTemplate\"></ng-template>\n </span>\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentTemplate\" />\n }\n @if (nzAddOnAfter || nzAddOnAfterIcon) {\n <span nz-input-group-slot type=\"addon\" [icon]=\"nzAddOnAfterIcon\" [template]=\"nzAddOnAfter\"></span>\n }\n </span>\n } @else {\n @if (isAffix) {\n <ng-template [ngTemplateOutlet]=\"affixTemplate\" />\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentTemplate\" />\n }\n }\n\n <!-- affix template -->\n <ng-template #affixTemplate>\n @if (nzPrefix || nzPrefixIcon) {\n <span nz-input-group-slot type=\"prefix\" [icon]=\"nzPrefixIcon\" [template]=\"nzPrefix\"></span>\n }\n <ng-template [ngTemplateOutlet]=\"contentTemplate\" />\n @if (nzSuffix || nzSuffixIcon || isFeedback) {\n <span nz-input-group-slot type=\"suffix\" [icon]=\"nzSuffixIcon\" [template]=\"nzSuffix\">\n @if (isFeedback) {\n <nz-form-item-feedback-icon [status]=\"status\" />\n }\n </span>\n }\n </ng-template>\n\n <!-- content template -->\n <ng-template #contentTemplate>\n <ng-content></ng-content>\n @if (!isAddOn && !isAffix && isFeedback) {\n <span nz-input-group-slot type=\"suffix\">\n <nz-form-item-feedback-icon [status]=\"status\" />\n </span>\n }\n </ng-template>\n `,\n host: {\n '[class.ant-input-group-compact]': `nzCompact`,\n '[class.ant-input-search-enter-button]': `nzSearch`,\n '[class.ant-input-search]': `nzSearch`,\n '[class.ant-input-search-rtl]': `dir === 'rtl'`,\n '[class.ant-input-search-sm]': `nzSearch && isSmall`,\n '[class.ant-input-search-large]': `nzSearch && isLarge`,\n '[class.ant-input-group-wrapper]': `isAddOn`,\n '[class.ant-input-group-wrapper-rtl]': `dir === 'rtl'`,\n '[class.ant-input-group-wrapper-lg]': `isAddOn && isLarge`,\n '[class.ant-input-group-wrapper-sm]': `isAddOn && isSmall`,\n '[class.ant-input-affix-wrapper]': `isAffix && !isAddOn`,\n '[class.ant-input-affix-wrapper-rtl]': `dir === 'rtl'`,\n '[class.ant-input-affix-wrapper-focused]': `isAffix && focused`,\n '[class.ant-input-affix-wrapper-disabled]': `isAffix && disabled`,\n '[class.ant-input-affix-wrapper-lg]': `isAffix && !isAddOn && isLarge`,\n '[class.ant-input-affix-wrapper-sm]': `isAffix && !isAddOn && isSmall`,\n '[class.ant-input-group]': `!isAffix && !isAddOn`,\n '[class.ant-input-group-rtl]': `dir === 'rtl'`,\n '[class.ant-input-group-lg]': `!isAffix && !isAddOn && isLarge`,\n '[class.ant-input-group-sm]': `!isAffix && !isAddOn && isSmall`\n },\n imports: [NzInputGroupSlotComponent, NgClass, NgTemplateOutlet, NzFormPatchModule],\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i1$2.FocusMonitor }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1$1.Directionality }], propDecorators: { listOfNzInputDirective: [{\n type: ContentChildren,\n args: [NzInputDirective]\n }], nzAddOnBeforeIcon: [{\n type: Input\n }], nzAddOnAfterIcon: [{\n type: Input\n }], nzPrefixIcon: [{\n type: Input\n }], nzSuffixIcon: [{\n type: Input\n }], nzAddOnBefore: [{\n type: Input\n }], nzAddOnAfter: [{\n type: Input\n }], nzPrefix: [{\n type: Input\n }], nzStatus: [{\n type: Input\n }], nzSuffix: [{\n type: Input\n }], nzSize: [{\n type: Input\n }], nzSearch: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzCompact: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }] } });\n\nclass NzAutosizeDirective {\n set nzAutosize(value) {\n const isAutoSizeType = (data) => typeof data !== 'string' && typeof data !== 'boolean' && (!!data.maxRows || !!data.minRows);\n if (typeof value === 'string' || value === true) {\n this.autosize = true;\n }\n else if (isAutoSizeType(value)) {\n this.autosize = true;\n this.minRows = value.minRows;\n this.maxRows = value.maxRows;\n this.maxHeight = this.setMaxHeight();\n this.minHeight = this.setMinHeight();\n }\n }\n resizeToFitContent(force = false) {\n this.cacheTextareaLineHeight();\n // If we haven't determined the line-height yet, we know we're still hidden and there's no point\n // in checking the height of the textarea.\n if (!this.cachedLineHeight) {\n return;\n }\n const textarea = this.el;\n const value = textarea.value;\n // Only resize if the value or minRows have changed since these calculations can be expensive.\n if (!force && this.minRows === this.previousMinRows && value === this.previousValue) {\n return;\n }\n const placeholderText = textarea.placeholder;\n // Reset the textarea height to auto in order to shrink back to its default size.\n // Also temporarily force overflow:hidden, so scroll bars do not interfere with calculations.\n // Long placeholders that are wider than the textarea width may lead to a bigger scrollHeight\n // value. To ensure that the scrollHeight is not bigger than the content, the placeholders\n // need to be removed temporarily.\n textarea.classList.add('nz-textarea-autosize-measuring');\n textarea.placeholder = '';\n let height = Math.round((textarea.scrollHeight - this.inputGap) / this.cachedLineHeight) * this.cachedLineHeight +\n this.inputGap;\n if (this.maxHeight !== null && height > this.maxHeight) {\n height = this.maxHeight;\n }\n if (this.minHeight !== null && height < this.minHeight) {\n height = this.minHeight;\n }\n // Use the scrollHeight to know how large the textarea *would* be if fit its entire value.\n textarea.style.height = `${height}px`;\n textarea.classList.remove('nz-textarea-autosize-measuring');\n textarea.placeholder = placeholderText;\n // On Firefox resizing the textarea will prevent it from scrolling to the caret position.\n // We need to re-set the selection in order for it to scroll to the proper position.\n if (typeof requestAnimationFrame !== 'undefined') {\n this.ngZone.runOutsideAngular(() => requestAnimationFrame(() => {\n const { selectionStart, selectionEnd } = textarea;\n // IE will throw an \"Unspecified error\" if we try to set the selection range after the\n // element has been removed from the DOM. Assert that the directive hasn't been destroyed\n // between the time we requested the animation frame and when it was executed.\n // Also note that we have to assert that the textarea is focused before we set the\n // selection range. Setting the selection range on a non-focused textarea will cause\n // it to receive focus on IE and Edge.\n if (!this.destroy$.isStopped && document.activeElement === textarea) {\n textarea.setSelectionRange(selectionStart, selectionEnd);\n }\n }));\n }\n this.previousValue = value;\n this.previousMinRows = this.minRows;\n }\n cacheTextareaLineHeight() {\n if (this.cachedLineHeight >= 0 || !this.el.parentNode) {\n return;\n }\n // Use a clone element because we have to override some styles.\n const textareaClone = this.el.cloneNode(false);\n textareaClone.rows = 1;\n // Use `position: absolute` so that this doesn't cause a browser layout and use\n // `visibility: hidden` so that nothing is rendered. Clear any other styles that\n // would affect the height.\n textareaClone.style.position = 'absolute';\n textareaClone.style.visibility = 'hidden';\n textareaClone.style.border = 'none';\n textareaClone.style.padding = '0';\n textareaClone.style.height = '';\n textareaClone.style.minHeight = '';\n textareaClone.style.maxHeight = '';\n // In Firefox it happens that textarea elements are always bigger than the specified amount\n // of rows. This is because Firefox tries to add extra space for the horizontal scrollbar.\n // As a workaround that removes the extra space for the scrollbar, we can just set overflow\n // to hidden. This ensures that there is no invalid calculation of the line height.\n // See Firefox bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=33654\n textareaClone.style.overflow = 'hidden';\n this.el.parentNode.appendChild(textareaClone);\n this.cachedLineHeight = textareaClone.clientHeight - this.inputGap;\n this.el.parentNode.removeChild(textareaClone);\n // Min and max heights have to be re-calculated if the cached line height changes\n this.maxHeight = this.setMaxHeight();\n this.minHeight = this.setMinHeight();\n }\n setMinHeight() {\n const minHeight = this.minRows && this.cachedLineHeight ? this.minRows * this.cachedLineHeight + this.inputGap : null;\n if (minHeight !== null) {\n this.el.style.minHeight = `${minHeight}px`;\n }\n return minHeight;\n }\n setMaxHeight() {\n const maxHeight = this.maxRows && this.cachedLineHeight ? this.maxRows * this.cachedLineHeight + this.inputGap : null;\n if (maxHeight !== null) {\n this.el.style.maxHeight = `${maxHeight}px`;\n }\n return maxHeight;\n }\n noopInputHandler() {\n // no-op handler that ensures we're running change detection on input events.\n }\n constructor(elementRef, ngZone, platform, resizeService) {\n this.elementRef = elementRef;\n this.ngZone = ngZone;\n this.platform = platform;\n this.resizeService = resizeService;\n this.autosize = false;\n this.el = this.elementRef.nativeElement;\n this.maxHeight = null;\n this.minHeight = null;\n this.destroy$ = new Subject();\n this.inputGap = 10;\n }\n ngAfterViewInit() {\n if (this.autosize && this.platform.isBrowser) {\n this.resizeToFitContent();\n this.resizeService\n .subscribe()\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => this.resizeToFitContent(true));\n }\n }\n ngOnDestroy() {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n ngDoCheck() {\n if (this.autosize && this.platform.isBrowser) {\n this.resizeToFitContent();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzAutosizeDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1$3.Platform }, { token: i2$1.NzResizeService }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzAutosizeDirective, isStandalone: true, selector: \"textarea[nzAutosize]\", inputs: { nzAutosize: \"nzAutosize\" }, host: { attributes: { \"rows\": \"1\" }, listeners: { \"input\": \"noopInputHandler()\" } }, exportAs: [\"nzAutosize\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzAutosizeDirective, decorators: [{\n type: Directive,\n args: [{\n selector: 'textarea[nzAutosize]',\n exportAs: 'nzAutosize',\n host: {\n // Textarea elements that have the directive applied should have a single row by default.\n // Browsers normally show two rows by default and therefore this limits the minRows binding.\n rows: '1',\n '(input)': 'noopInputHandler()'\n },\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1$3.Platform }, { type: i2$1.NzResizeService }], propDecorators: { nzAutosize: [{\n type: Input\n }] } });\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzTextareaCountComponent {\n constructor(renderer, elementRef) {\n this.renderer = renderer;\n this.elementRef = elementRef;\n this.nzMaxCharacterCount = 0;\n this.nzComputeCharacterCount = v => v.length;\n this.nzFormatter = (c, m) => `${c}${m > 0 ? `/${m}` : ``}`;\n this.configChange$ = new Subject();\n this.destroy$ = new Subject();\n }\n ngAfterContentInit() {\n if (!this.nzInputDirective && isDevMode()) {\n throw new Error('[nz-textarea-count]: Could not find matching textarea[nz-input] child.');\n }\n if (this.nzInputDirective.ngControl) {\n const valueChanges = this.nzInputDirective.ngControl.valueChanges || EMPTY;\n merge(valueChanges, this.configChange$)\n .pipe(takeUntil(this.destroy$), map(() => this.nzInputDirective.ngControl.value), startWith(this.nzInputDirective.ngControl.value))\n .subscribe(value => {\n this.setDataCount(value);\n });\n }\n }\n setDataCount(value) {\n const inputValue = isNotNil(value) ? String(value) : '';\n const currentCount = this.nzComputeCharacterCount(inputValue);\n const dataCount = this.nzFormatter(currentCount, this.nzMaxCharacterCount);\n this.renderer.setAttribute(this.elementRef.nativeElement, 'data-count', dataCount);\n }\n ngOnDestroy() {\n this.configChange$.complete();\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzTextareaCountComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"16.1.0\", version: \"18.2.1\", type: NzTextareaCountComponent, isStandalone: true, selector: \"nz-textarea-count\", inputs: { nzMaxCharacterCount: [\"nzMaxCharacterCount\", \"nzMaxCharacterCount\", numberAttribute], nzComputeCharacterCount: \"nzComputeCharacterCount\", nzFormatter: \"nzFormatter\" }, host: { classAttribute: \"ant-input-textarea-show-count\" }, queries: [{ propertyName: \"nzInputDirective\", first: true, predicate: NzInputDirective, descendants: true, static: true }], ngImport: i0, template: ` <ng-content select=\"textarea[nz-input]\"></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzTextareaCountComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'nz-textarea-count',\n template: ` <ng-content select=\"textarea[nz-input]\"></ng-content> `,\n host: {\n class: 'ant-input-textarea-show-count'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true\n }]\n }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { nzInputDirective: [{\n type: ContentChild,\n args: [NzInputDirective, { static: true }]\n }], nzMaxCharacterCount: [{\n type: Input,\n args: [{ transform: numberAttribute }]\n }], nzComputeCharacterCount: [{\n type: Input\n }], nzFormatter: [{\n type: Input\n }] } });\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nclass NzInputModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputModule, imports: [NzTextareaCountComponent,\n NzInputDirective,\n NzInputGroupComponent,\n NzAutosizeDirective,\n NzInputGroupSlotComponent,\n NzInputGroupWhitSuffixOrPrefixDirective], exports: [NzTextareaCountComponent,\n NzInputDirective,\n NzInputGroupComponent,\n NzAutosizeDirective,\n NzInputGroupWhitSuffixOrPrefixDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputModule, imports: [NzInputGroupComponent,\n NzInputGroupSlotComponent] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzInputModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [\n NzTextareaCountComponent,\n NzInputDirective,\n NzInputGroupComponent,\n NzAutosizeDirective,\n NzInputGroupSlotComponent,\n NzInputGroupWhitSuffixOrPrefixDirective\n ],\n exports: [\n NzTextareaCountComponent,\n NzInputDirective,\n NzInputGroupComponent,\n NzAutosizeDirective,\n NzInputGroupWhitSuffixOrPrefixDirective\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 */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NzAutosizeDirective, NzInputDirective, NzInputGroupComponent, NzInputGroupSlotComponent, NzInputGroupWhitSuffixOrPrefixDirective, NzInputModule, NzTextareaCountComponent };\n"],"mappings":";;;;;IAqCiFA,EAAE,CAAAC,SAAA,aANzC,CAAC;EAAA;EAAA,IAAAC,EAAA;IAAA,MAAAC,MAAA,GAMsCH,EAAE,CAAAI,aAAA;IAAFJ,EAAE,CAAAK,UAAA,WAAAF,MAAA,CAAAG,IANjD,CAAC;EAAA;AAAA;AAAA,SAAAC,mDAAAL,EAAA,EAAAM,GAAA;EAAA,IAAAN,EAAA;IAM8CF,EAAE,CAAAS,uBAAA,EAJ/B,CAAC;IAI4BT,EAAE,CAAAU,MAAA,EAJjB,CAAC;IAIcV,EAAE,CAAAW,qBAAA;EAAA;EAAA,IAAAT,EAAA;IAAA,MAAAC,MAAA,GAAFH,EAAE,CAAAI,aAAA;IAAFJ,EAAE,CAAAY,SAAA,CAJjB,CAAC;IAIcZ,EAAE,CAAAa,iBAAA,CAAAV,MAAA,CAAAW,QAJjB,CAAC;EAAA;AAAA;AAAA,SAAAC,4DAAAb,EAAA,EAAAM,GAAA;EAAA,IAAAN,EAAA;IAIcF,EAAE,CAAAC,SAAA,aA2S0B,CAAC;EAAA;EAAA,IAAAC,EAAA;IAAA,MAAAC,MAAA,GA3S7BH,EAAE,CAAAI,aAAA;IAAFJ,EAAE,CAAAK,UAAA,SAA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