import{l as v}from"./chunk-I267ADJP.js";import{Ga as l,Gc as m,Ma as c,Na as f,Ne as h,_ as s,bb as p,ec as g,sa as a,wb as u}from"./chunk-4JM6MIZ5.js";import{i as o}from"./chunk-QJQRWPYR.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:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*/
//# sourceMappingURL=chunk-VUTPVHTM.js.map
