-
Notifications
You must be signed in to change notification settings - Fork 11
/
chunk-MGFBB5Y4.js
1 lines (1 loc) · 1.64 KB
/
chunk-MGFBB5Y4.js
1
import{Ca as y,Ea as v}from"./chunk-YWVGY2C2.js";import{Ib as d,Pb as f,Wb as u,Yb as m,dc as l,ed as g,g as c,h as s,ia as i,kc as p,sb as r,tc as h,ya as a}from"./chunk-GBKJFEQZ.js";function I(e,b){if(e&1&&p(0,"nz-icon",0),e&2){let n=h();u("nzType",n.iconType)}}var N=(()=>{class e{constructor(){this.formStatusChanges=new s(1)}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})(),T=(()=>{class e{constructor(){this.noFormStatus=new c(!1)}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})(),F={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"},j=(()=>{class e{constructor(n){this.cdr=n,this.status="",this.iconType=null}ngOnChanges(n){this.updateIcon()}updateIcon(){this.iconType=this.status?F[this.status]:null,this.cdr.markForCheck()}static{this.\u0275fac=function(t){return new(t||e)(r(g))}}static{this.\u0275cmp=d({type:e,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(t,o){t&2&&m("ant-form-item-feedback-icon-error",o.status==="error")("ant-form-item-feedback-icon-warning",o.status==="warning")("ant-form-item-feedback-icon-success",o.status==="success")("ant-form-item-feedback-icon-validating",o.status==="validating")},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[a],decls:1,vars:1,consts:[[3,"nzType"]],template:function(t,o){t&1&&f(0,I,1,1,"nz-icon",0),t&2&&l(o.iconType?0:-1)},dependencies:[v,y],encapsulation:2,changeDetection:0})}}return e})();export{N as a,T as b,j as c};