import{d as S}from"./chunk-AJVKZJ62.js";import{B as M,c as D,g as k,l as y}from"./chunk-LPD7J4JW.js";import{Q as w}from"./chunk-2YE7XEKS.js";import{Ab as _,Ea as f,Mb as b,Sc as s,Tc as m,Vb as p,Wb as r,Xb as c,gc as v,ic as d,jb as l,se as I,uc as u,va as o,wa as a,yc as C}from"./chunk-UNHECMG2.js";var z=(()=>{class n{constructor(){this.value=null,this.placeholder="shared.date-select.default-placeholder",this.minDate=null,this.valueChange=new f,this.componentId=w("bkd-date-select-")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=_({type:n,selectors:[["bkd-date-select"]],inputs:{value:"value",placeholder:"placeholder",minDate:"minDate"},outputs:{valueChange:"valueChange"},decls:9,vars:10,consts:[["dp","ngbDatepicker"],[1,"input-group"],[1,"input-group-prepend"],["type","button",1,"btn","btn-outline-secondary",3,"click","id"],[1,"material-icons"],["type","text","ngbDatepicker","",1,"form-control",3,"click","ngModelChange","minDate","ngModel"]],template:function(i,e){if(i&1){let g=v();r(0,"div",1)(1,"div",2)(2,"button",3),d("click",function(){o(g);let t=u(6);return a(t.toggle())}),r(3,"i",4),C(4,"calendar_today"),c()()(),r(5,"input",5,0),s(7,"translate"),s(8,"translate"),d("click",function(){o(g);let t=u(6);return a(t.toggle())})("ngModelChange",function(t){return e.valueChange.emit(t)}),c()()}i&2&&(l(2),p("id",e.componentId),l(3),p("minDate",e.minDate)("ngModel",e.value),b("placeholder",m(7,6,e.placeholder))("aria-label",m(8,8,e.placeholder))("aria-describedby",e.componentId))},dependencies:[S,M,D,k,y,I],styles:[".input-group-prepend[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:.375rem .75rem;background-color:var(--bs-tertiary-bg);border-color:#dedede;border-radius:0;height:100%}"]})}}return n})();export{z as a};
