import{m as v}from"./chunk-5V4OEYNC.js";import{Ab as u,Ka as l,Nc as m,Sa as c,Ta as f,Z as s,af as h,fb as p,mc as g,ta as a}from"./chunk-7XZKA4JV.js";import{i as o}from"./chunk-ROL33JP2.js";var F=(()=>{let e=class e{el;ngModel;cd;config;variant="outlined";filled;constructor(d,t,n,r){this.el=d,this.ngModel=t,this.cd=n,this.config=r}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}};o(e,"\u0275fac",function(t){return new(t||e)(l(a),l(v,8),l(g),l(h))}),o(e,"\u0275dir",f({type:e,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:4,hostBindings:function(t,n){t&1&&u("input",function(M){return n.onInput(M)}),t&2&&p("p-filled",n.filled)("p-variant-filled",n.variant==="filled"||n.config.inputStyle()==="filled")},inputs:{variant:"variant"},standalone:!1}));let i=e;return i})(),C=(()=>{let e=class e{};o(e,"\u0275fac",function(t){return new(t||e)}),o(e,"\u0275mod",c({type:e})),o(e,"\u0275inj",s({imports:[m]}));let i=e;return i})();export{F as a,C as b};
/**i18n:37786acc6a78281d9fbe29f0e76f79a0df01fc58cd74a91d2d29106b1f1580b1*/
//# sourceMappingURL=chunk-XDD4WM6C.js.map
