import{m as v}from"./chunk-J3Q5GF64.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-WOSO3QBJ.js";import{i as o}from"./chunk-C2HMJUB7.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:b44b17e72e4b9ae03afb92709eafda64a985c0c8f0453c865708cceafe42f927*/
//# sourceMappingURL=chunk-6SIZ7WEI.js.map
