You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
10 KiB
8 lines
10 KiB
8 months ago
|
{
|
||
|
"version": 3,
|
||
|
"sources": ["../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-core-form.mjs"],
|
||
|
"sourcesContent": ["import * as i0 from '@angular/core';\nimport { Injectable, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';\nimport { ReplaySubject, BehaviorSubject } from 'rxjs';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from 'ng-zorro-antd/icon';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\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 NzFormItemFeedbackIconComponent_span_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 1);\n }\n if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"nzType\", ctx_r0.iconType);\n }\n}\nclass NzFormStatusService {\n constructor() {\n this.formStatusChanges = new ReplaySubject(1);\n }\n static {\n this.ɵfac = function NzFormStatusService_Factory(t) {\n return new (t || NzFormStatusService)();\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NzFormStatusService,\n factory: NzFormStatusService.ɵfac\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzFormStatusService, [{\n type: Injectable\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// Used in input-group/input-number-group to make sure components in addon work well\nclass NzFormNoStatusService {\n constructor() {\n this.noFormStatus = new BehaviorSubject(false);\n }\n static {\n this.ɵfac = function NzFormNoStatusService_Factory(t) {\n return new (t || NzFormNoStatusService)();\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NzFormNoStatusService,\n factory: NzFormNoStatusService.ɵfac\n });\n }\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzFormNoStatusService, [{\n type: Injectable\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 */\nconst iconTypeMap = {\n error: 'close-circle-fill',\n validating: 'loading',\n success: 'check-circle-fill',\n warning: 'exclamation-circle-fill'\n};\nclass NzFormItemFeedbackIconComponent {\n constructor(cdr) {\n this.cdr = cdr;\n this.status = '';\n this.iconType = null;\n }\n ngOnChanges(_changes) {\n this.updateIcon();\n }\n updateIcon() {\n this.iconType = this.status ? iconTypeMap[this.status] : null;\n this.cdr.markForCheck();\n }\n static {\n this.ɵfac = function NzFormItemFeedbackIconComponent_Factory(t) {\n return new (t || NzFormItemFeedbackIconComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef));\n };\n }\n static {\n this.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NzFormItemFeedbackIconComponent,\n selectors: [[\"nz-form-item-feedback-icon\"]],\n hostAttrs: [1, \"ant-form-item-feedback-icon\"],\n hostVars: 8,\n hostBindings: function NzFormItemFeedbackIconComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"ant-form-item-feedback-icon-error\", ctx.status === \"error\")(\"ant-form-item-feedback-icon-warning\", ctx.status === \"warning\")(\"ant-form-item-feedback-icon-success\", ctx.status === \"success\")(\"ant-form-item-feedback-icon-validating\", ctx.status === \"validating\");\n }\n },\n inputs: {\n status: \"status\"\n },\n exportAs: [\"nzFormFeedbackIcon\"],\n features: [i0.ɵɵNgOnChangesFeature],\n decls: 1,\n vars: 1,\n consts: [[\"nz-icon\", \"\",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