import{l as v}from"./chunk-K34LZIA3.js";import{Da as l,Ec as m,Re as h,Xa as p,Z as s,ca as a,cc as g,da as c,qb as u,ua as f}from"./chunk-X3RCWQ3R.js";import{i as t}from"./chunk-SR6RTMQI.js";var F=(()=>{let e=class e{constructor(d,i,o,r){t(this,"el");t(this,"ngModel");t(this,"cd");t(this,"config");t(this,"variant","outlined");t(this,"filled");this.el=d,this.ngModel=i,this.cd=o,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}};t(e,"\u0275fac",function(i){return new(i||e)(l(f),l(v,8),l(g),l(h))}),t(e,"\u0275dir",c({type:e,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:4,hostBindings:function(i,o){i&1&&u("input",function(M){return o.onInput(M)}),i&2&&p("p-filled",o.filled)("p-variant-filled",o.variant==="filled"||o.config.inputStyle()==="filled")},inputs:{variant:"variant"}}));let n=e;return n})(),C=(()=>{let e=class e{};t(e,"\u0275fac",function(i){return new(i||e)}),t(e,"\u0275mod",a({type:e})),t(e,"\u0275inj",s({imports:[m]}));let n=e;return n})();export{F as a,C as b};
/**i18n:3d16453f213eb5db982e7e7dd90631843ac5d3f860726a614777c3e9e3f9b57e*/
//# sourceMappingURL=chunk-RP4ASVUX.js.map
