import{c as B,d as N}from"./chunk-YBGMN6OR.js";import{a as D}from"./chunk-WQGDHA2L.js";import{a as P,c as G,d as L,g as j}from"./chunk-YFLLMV2L.js";import{Tc as w,Uc as F,ld as k,pd as h,xc as g}from"./chunk-ATD4AEXQ.js";import{$a as M,Bb as c,Cb as y,Db as T,Ka as o,Kc as V,Qb as s,Rb as f,Ta as I,Ua as S,da as C,hb as r,ib as m,ja as _,ka as x,nb as p,ob as l,pb as a,qb as v,xb as E,zb as u}from"./chunk-BXH3QC5E.js";var q=[[["","prefixContent",""]]],A=["[prefixContent]"];function H(t,d){t&1&&(l(0,"span",1),T(1),a())}function J(t,d){if(t&1&&v(0,"mat-icon",5),t&2){let e=c(2);p("svgIcon",e.customSVGIcon)}}function K(t,d){if(t&1&&(l(0,"mat-icon"),s(1),a()),t&2){let e=c(2);o(),f(e.matIcon)}}function Q(t,d){if(t&1){let e=E();l(0,"button",4),u("click",function(n){_(e);let b=c();return x(b.editClicked(n))}),r(1,J,1,1,"mat-icon",5)(2,K,2,1,"mat-icon"),a()}if(t&2){let e=c();p("disabled",!e.enabled||!e.editEnabled),o(),m(e.customSVGIcon?1:2)}}var nt=(()=>{class t{withPrefix=!1;inputText="";inputLabel="";enabled=!0;editEnabled=!0;matIcon="mode_edit";customSVGIcon;iconVisible=!0;editClick=new M;editClicked(e){this.editClick.emit(),e.stopPropagation()}actionFocus(e){e.currentTarget.dispatchEvent(new Event("blur"))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=I({type:t,selectors:[["abs-selectable-input"]],inputs:{withPrefix:"withPrefix",inputText:"inputText",inputLabel:"inputLabel",enabled:"enabled",editEnabled:"editEnabled",matIcon:"matIcon",customSVGIcon:"customSVGIcon",iconVisible:"iconVisible"},outputs:{editClick:"editClick"},standalone:!1,ngContentSelectors:A,decls:6,vars:5,consts:[["appearance","outline","subscriptSizing","dynamic",1,"abs-form-field","selectable-form-field"],["matPrefix",""],["type","text","matInput","","readonly","true",3,"focus","value","disabled"],["mat-icon-button","","matSuffix","","color","primary",3,"disabled"],["mat-icon-button","","matSuffix","","color","primary",3,"click","disabled"],[3,"svgIcon"]],template:function(i,n){i&1&&(y(q),l(0,"mat-form-field",0)(1,"mat-label"),s(2),a(),r(3,H,2,0,"span",1),l(4,"input",2),u("focus",function(z){return n.actionFocus(z)}),a(),r(5,Q,3,2,"button",3),a()),i&2&&(o(2),f(n.inputLabel),o(),m(n.withPrefix?3:-1),o(),p("value",n.inputText)("disabled",!n.enabled),o(),m(n.iconVisible?5:-1))},dependencies:[j,P,G,L,B,w,k],encapsulation:2})}return t})();var R=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=S({type:t});static \u0275inj=C({imports:[V,g,D,N,F,h]})}return t})();export{nt as a,R as b};
