import{m as v}from"./chunk-HYHNBP3O.js";import{Db as u,Ia as l,Qc as m,Ta as c,Ua as f,_ as s,bf as h,ib as p,oc as g,ua as a}from"./chunk-7W5IJG57.js";import{i as o}from"./chunk-RB5FWREQ.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:3558f4fa3a6acf6a8a484a0589828971efacd00f9f89386e64ec00a5fc269cc5*/
//# sourceMappingURL=chunk-3ZHM23VT.js.map
