dgrcorrientes-modulos 1.0.73 → 1.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components.js +33 -31
- package/components.umd.cjs +1 -1
- package/package.json +1 -1
package/components.js
CHANGED
|
@@ -31874,32 +31874,33 @@ const aL = ({
|
|
|
31874
31874
|
logo_1: s,
|
|
31875
31875
|
logo_2: a,
|
|
31876
31876
|
endButtonLinks: r,
|
|
31877
|
-
|
|
31878
|
-
|
|
31877
|
+
butonLegal: p,
|
|
31878
|
+
className: f,
|
|
31879
|
+
...m
|
|
31879
31880
|
}) => {
|
|
31880
|
-
var
|
|
31881
|
+
var g = new Date(), C = g.getFullYear();
|
|
31881
31882
|
return /* @__PURE__ */ v("div", {
|
|
31882
31883
|
className: "elv-component elv-footer",
|
|
31883
|
-
...
|
|
31884
|
+
...m,
|
|
31884
31885
|
children: /* @__PURE__ */ L("div", {
|
|
31885
|
-
className: `footer-component is-flex is-flex-direction-column ${
|
|
31886
|
+
className: `footer-component is-flex is-flex-direction-column ${f || ""}`,
|
|
31886
31887
|
children: [/* @__PURE__ */ L("div", {
|
|
31887
31888
|
className: "footer-component__container",
|
|
31888
31889
|
children: [u && /* @__PURE__ */ v(Qt, {
|
|
31889
|
-
children: u.map((
|
|
31890
|
+
children: u.map((S) => /* @__PURE__ */ L("div", {
|
|
31890
31891
|
className: "column-item is-flex is-flex-direction-column",
|
|
31891
31892
|
children: [/* @__PURE__ */ v("p", {
|
|
31892
31893
|
className: "column-item__title",
|
|
31893
|
-
children:
|
|
31894
|
-
}),
|
|
31894
|
+
children: S.title
|
|
31895
|
+
}), S.buttonLinks.map((E) => /* @__PURE__ */ v("span", {
|
|
31895
31896
|
className: "column-item__button",
|
|
31896
31897
|
children: /* @__PURE__ */ v(Pe, {
|
|
31897
|
-
...
|
|
31898
|
+
...E
|
|
31898
31899
|
})
|
|
31899
31900
|
}, Fn())), /* @__PURE__ */ v("span", {
|
|
31900
31901
|
className: "column-item__final",
|
|
31901
31902
|
children: /* @__PURE__ */ v(Pe, {
|
|
31902
|
-
...
|
|
31903
|
+
...S.finalLink
|
|
31903
31904
|
})
|
|
31904
31905
|
})]
|
|
31905
31906
|
}, Fn()))
|
|
@@ -31908,10 +31909,10 @@ const aL = ({
|
|
|
31908
31909
|
children: [/* @__PURE__ */ v("p", {
|
|
31909
31910
|
className: "final-item__title",
|
|
31910
31911
|
children: l.title
|
|
31911
|
-
}), l.buttonLinks.map((
|
|
31912
|
+
}), l.buttonLinks.map((S) => /* @__PURE__ */ v("span", {
|
|
31912
31913
|
className: "final-item__button",
|
|
31913
31914
|
children: /* @__PURE__ */ v(Pe, {
|
|
31914
|
-
...
|
|
31915
|
+
...S
|
|
31915
31916
|
})
|
|
31916
31917
|
}, Fn())), /* @__PURE__ */ v("p", {
|
|
31917
31918
|
className: "final-item__phoneNumber",
|
|
@@ -31925,44 +31926,45 @@ const aL = ({
|
|
|
31925
31926
|
children: [/* @__PURE__ */ v("img", {
|
|
31926
31927
|
className: "logo1",
|
|
31927
31928
|
src: s,
|
|
31928
|
-
alt: ""
|
|
31929
|
-
width: "155px",
|
|
31930
|
-
height: "37px"
|
|
31929
|
+
alt: ""
|
|
31931
31930
|
}), /* @__PURE__ */ L("div", {
|
|
31932
|
-
className: "
|
|
31933
|
-
children: [/* @__PURE__ */
|
|
31934
|
-
|
|
31935
|
-
|
|
31936
|
-
|
|
31937
|
-
|
|
31938
|
-
|
|
31939
|
-
|
|
31940
|
-
|
|
31931
|
+
className: "gob-centro is-flex is-flex-direction-column is-justify-content-center",
|
|
31932
|
+
children: [/* @__PURE__ */ L("div", {
|
|
31933
|
+
className: "text-gob-centro",
|
|
31934
|
+
children: [/* @__PURE__ */ v("p", {
|
|
31935
|
+
children: /* @__PURE__ */ v("strong", {
|
|
31936
|
+
children: " Gobierno de Corrientes. Ministerio de Hacienda y Finanzas. Direccion General de Rentas"
|
|
31937
|
+
})
|
|
31938
|
+
}), /* @__PURE__ */ v("p", {
|
|
31939
|
+
children: "Casa Central: 25 de Mayo 902 PB, Corrientes(W3400BCJ) - Corrientes"
|
|
31940
|
+
}), /* @__PURE__ */ v("p", {
|
|
31941
|
+
children: "Centro Integral de Atencion al Contribuyente(CIAC): Av. Juan Pujol 2330, Corrientes(W3400BKU)."
|
|
31942
|
+
})]
|
|
31943
|
+
}), /* @__PURE__ */ v(Pe, {
|
|
31944
|
+
...p
|
|
31941
31945
|
})]
|
|
31942
31946
|
}), /* @__PURE__ */ v("img", {
|
|
31943
31947
|
className: "logo2",
|
|
31944
31948
|
src: a,
|
|
31945
|
-
alt: ""
|
|
31946
|
-
width: "261px",
|
|
31947
|
-
height: "37px"
|
|
31949
|
+
alt: ""
|
|
31948
31950
|
})]
|
|
31949
31951
|
}), /* @__PURE__ */ L("div", {
|
|
31950
31952
|
className: "copy is-flex",
|
|
31951
31953
|
children: [/* @__PURE__ */ v("div", {
|
|
31952
31954
|
className: "copy__text is-flex",
|
|
31953
31955
|
children: /* @__PURE__ */ L("p", {
|
|
31954
|
-
children: ["Copyright\xA9 ",
|
|
31956
|
+
children: ["Copyright\xA9 ", C, " - Rentas Corrientes"]
|
|
31955
31957
|
})
|
|
31956
31958
|
}), r && /* @__PURE__ */ v("div", {
|
|
31957
31959
|
className: "end-button-links is-flex",
|
|
31958
|
-
children: r.map((
|
|
31960
|
+
children: r.map((S) => /* @__PURE__ */ v("div", {
|
|
31959
31961
|
className: "end-button-links__item is-flex",
|
|
31960
31962
|
children: /* @__PURE__ */ v("span", {
|
|
31961
31963
|
className: "end-button-links__button",
|
|
31962
31964
|
children: /* @__PURE__ */ v(Pe, {
|
|
31963
|
-
...
|
|
31965
|
+
...S
|
|
31964
31966
|
})
|
|
31965
|
-
},
|
|
31967
|
+
}, S.label)
|
|
31966
31968
|
}, Fn()))
|
|
31967
31969
|
})]
|
|
31968
31970
|
})]
|
package/components.umd.cjs
CHANGED
|
@@ -309,4 +309,4 @@ https://sweetalert2.github.io/#ajax-request`),Hd(b),typeof b.title=="string"&&(b
|
|
|
309
309
|
m 0,-`+a+`
|
|
310
310
|
a `+a+","+a+" "+r+" 1 1 0,"+2*a+`
|
|
311
311
|
a `+a+","+a+" "+r+" 1 1 0,-"+2*a+`
|
|
312
|
-
`}function $2(s){var l=s.counterClockwise,u=s.dashRatio,a=s.pathRadius,r=Math.PI*2*a,p=(1-u)*r;return{strokeDasharray:r+"px "+r+"px",strokeDashoffset:(l?-p:p)+"px"}}var H2=function(s){U2(l,s);function l(){return s!==null&&s.apply(this,arguments)||this}return l.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},l.prototype.getPathRadius=function(){return wx-this.props.strokeWidth/2-this.getBackgroundPadding()},l.prototype.getPathRatio=function(){var u=this.props,a=u.value,r=u.minValue,p=u.maxValue,f=Math.min(Math.max(a,r),p);return(f-r)/(p-r)},l.prototype.render=function(){var u=this.props,a=u.circleRatio,r=u.className,p=u.classes,f=u.counterClockwise,m=u.styles,g=u.strokeWidth,x=u.text,k=this.getPathRadius(),N=this.getPathRatio();return re.createElement("svg",{className:p.root+" "+r,style:m.root,viewBox:"0 0 "+I2+" "+z2,"data-test-id":"CircularProgressbar"},this.props.background?re.createElement("circle",{className:p.background,style:m.background,cx:Ry,cy:My,r:wx}):null,re.createElement(bx,{className:p.trail,counterClockwise:f,dashRatio:a,pathRadius:k,strokeWidth:g,style:m.trail}),re.createElement(bx,{className:p.path,counterClockwise:f,dashRatio:N*a,pathRadius:k,strokeWidth:g,style:m.path}),x?re.createElement("text",{className:p.text,style:m.text,x:Ry,y:My},x):null)},l.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},l}(re.Component);function Y2(s){s.children;var l=j2(s,["children"]);return re.createElement("div",{"data-test-id":"CircularProgressbarWithChildren"},re.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},re.createElement(H2,Oy({},l)),s.children?re.createElement("div",{"data-test-id":"CircularProgressbarWithChildren__children",style:{position:"absolute",width:"100%",height:"100%",marginTop:"-100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},s.children):null))}function W2(s){var l=s.rotation,u=s.strokeLinecap,a=s.textColor,r=s.textSize,p=s.pathColor,f=s.pathTransition,m=s.pathTransitionDuration,g=s.trailColor,x=s.backgroundColor,k=l==null?void 0:"rotate("+l+"turn)",N=l==null?void 0:"center center";return{root:{},path:xv({stroke:p,strokeLinecap:u,transform:k,transformOrigin:N,transition:f,transitionDuration:m==null?void 0:m+"s"}),trail:xv({stroke:g,strokeLinecap:u,transform:k,transformOrigin:N}),text:xv({fill:a,fontSize:r}),background:xv({fill:x})}}function xv(s){return Object.keys(s).forEach(function(l){s[l]==null&&delete s[l]}),s}const V2=({labelPerformance:s,dataTime:l,percentage:u,description:a,star:r,qualification:p,rating:f,className:m})=>{const g=Math.round(f*2)/2;return v("div",{className:"elv-component elv-performanceAssessment",children:L("div",{className:["performanceAssessment box is-flex is-flex-direction-column p-5 is-gap-6 is-align-items-center",`${m?" "+m:""}`].join(""),children:[L("div",{className:"is-flex is-flex-direction-column is-gap-3",children:[v("div",{className:"has-text-weight-bold has-text-grey-dark",children:s}),v("div",{children:l==null?void 0:l.map(x=>v("div",{className:"performanceAssessment__date is-size-14px has-text-weight-medium",children:x.date}))})]}),v("div",{style:{maxWidth:"214.277px"},className:"progressCircular",children:L(Y2,{value:u,text:"",strokeWidth:15,background:!0,backgroundPadding:10,styles:W2({backgroundColor:"#FFFFFF",pathColor:"#7DAFFF",trailColor:"#CED4DA4D",strokeLinecap:"butt"}),children:[v("div",{className:"is-size-4",children:v("strong",{children:`${u}%`})}),v("div",{className:"progressCircular__desc is-size-7 has-text-centered",children:a})]})}),L("div",{className:"mt-2",children:[v("div",{className:"is-flex",children:r==null?void 0:r.map((x,k)=>{const N=g-k===.5;return L("div",{children:[!N&&v(Ve,{icon:x.star,className:"iconStar mr-3 is-size-5",color:k<g?"#16A34A":"#CED4DA"}),N&&v(Ve,{icon:x.starStroke,className:"iconStar mr-3 is-size-5",color:"#16A34A"})]},k)})}),L("p",{className:"has-text-grey is-size-14px mt-3",children:[" ",f," ",p]})]})]})})},VL="",B2=({title:s,option:l,labelQuantity:u,totalNumber:a,labelAssigned:r,numberAssigned:p,onSeeMore:f,className:m})=>v("div",{className:"elv-component elv-shiftdiary",children:L("div",{className:["shiftdiary box is-flex is-flex-direction-column p-5 is-gap-5",`${m?" "+m:""}`].join(""),children:[L("div",{className:"is-flex is-justify-content-space-between is-align-items-center",children:[v("p",{className:"is-size-4 has-text-weight-bold has-text-grey-dark",children:s}),v(Ae,{label:"Ver m\xE1s",fill:"unstyled",color:"primary",className:"shiftdiary__button is-size-10px has-text-weight-medium",onClick:()=>f&&f()})]}),L("div",{className:" shiftdiary__boxdiary is-flex is-gap-5",children:[v("div",{className:"item is-flex is-flex-direction-column is-gap-4",children:l==null?void 0:l.map(g=>L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[v("div",{className:"has-text-grey-dark",children:g.time}),L("div",{className:"is-flex is-align-items-center py-4 is-justify-content-space-between",children:[L("div",{className:"is-flex is-gap-4",children:[v("div",{className:"has-text-weight-semibold has-text-grey-dark",children:g.name}),v("div",{className:"has-text-grey-dark",children:g.age})]}),L("div",{className:"shiftdiary__status is-flex",style:{backgroundColor:g.colorContains},children:[v(Ve,{icon:"fa-solid fa-circle",color:g.colorIcon,className:"mr-2"}),v("p",{className:"has-text-light is-size-7",children:g.state})]})]})]}))}),L("div",{className:"item is-flex is-flex-direction-column is-align-items-start is-gap-4",children:[L("div",{className:"shiftdiary__present radius is-flex p-4 is-align-items-center is-justify-content-space-between is-fullw",children:[L("div",{className:"is-flex",children:[v(Ve,{icon:"fa-regular fa-circle-check",className:"icon mr-2",size:"24px"}),v("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:u})]}),v("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:a})]}),L("div",{className:"shiftdiary__assigned radius is-flex p-4 is-align-items-center is-fullw is-justify-content-space-between",children:[L("div",{className:"is-flex",children:[v(Ve,{icon:"fa-regular fa-calendar",className:"icon2 mr-2",size:"24px"}),v("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:r})]}),v("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:p})]})]})]})]})}),BL="",q2=({items:s,activeLabel:l,handlePosition:u,className:a,...r})=>{var p=0;const f=s.find(O=>O.label===l),[m,g]=re.useState(f),[x,k]=re.useState(f);if(m)var p=s.indexOf(m);re.useEffect(()=>{var O=s.find(M=>M.label===l);g(O),m&&(p=s.indexOf(m)),k(O)},[l,s]);const N=O=>{k(O),u&&u(O),O.onClick&&O.onClick()};return v("div",{className:"elv-component elv-steps",...r,children:v("ul",{className:`steps has-content-centered is-horizontal ${a||""}`,children:s.map((O,M)=>L("li",{className:`steps-segment ${s[M+1]!==void 0&&s[M+1]==m?"is-pre-active":""} ${O==m?"is-active":""}`,children:[v("span",{className:"steps-marker",onClick:()=>{M<=p?N(O):O.onClick&&O.onClick()},children:M<p?v("span",{className:"icon",children:v("i",{className:`${O.icon}`})}):v("span",{children:M+1})}),v("div",{className:`steps-content ${M<=p?"steps-content--completed":"steps-content--incompleted"} ${O===x&&"steps-content--position"}`,children:v("p",{className:"steps-content__item-label",children:O.label})})]},M))})})},qL="",Q2=({items:s,type:l,activeTab:u,handleActive:a,handleSubActive:r,subactiveTab:p,className:f,...m})=>v("div",{className:"elv-component elv-tabs",...m,children:v("ul",{className:`tabs tabs--${l} ${f||""}`,children:s.map((g,x)=>L("div",{className:"tabs__item",children:[l==="boxed"&&g.icon&&g.subtitle?L("li",{onClick:()=>{a&&a(g),g.sub_labels&&r&&r(g.sub_labels[0]),g.onClick&&g.onClick()},className:`item is-clickable ${x!==0?"ml-3":""} ${g.label==(u==null?void 0:u.label)?"item--active":""} ${g.disabled?"item--disabled":""}`,children:[L("div",{className:"boxed-container is-flex is-justify-content-center mb-1",children:[v(Ve,{...g.icon,className:"boxed-container__icon mb-1 mr-1"}),v("p",{className:"boxed-container__label",children:Nt(g.label,30)})]}),v("p",{className:"boxed-subtitle mb-1 is-size-7 has-text-weight-normal has-tc-truegray-600 has-text-centered",children:Nt(g.subtitle,20)})]}):v("li",{onClick:()=>{a&&a(g),g.sub_labels&&r&&r(g.sub_labels[0]),g.onClick&&g.onClick()},className:`item is-clickable ${x===0?"item--is-first":""} ${g.label==(u==null?void 0:u.label)?"item--active":""} ${g.disabled?"item--disabled":""}`,children:Nt(g.label,30)}),g.sub_labels!==void 0&&l==="vertical"&&g.sub_labels.map((k,N)=>v("li",{onClick:()=>{a&&a(g),r&&r(k),k.onClick&&k.onClick()},className:`sub-item ${x===0?"sub-item__--first":""} ${g.label==(u==null?void 0:u.label)&&k.label==(p==null?void 0:p.label)?"sub-item--active":""} ${k.disabled?"sub-item--inactive":""}`,children:Nt(k.label,25)},An()))]},g.label+An()))})}),QL="",K2=({size:s="md",fill:l="outline",disabled:u=!1,placeholder:a,error:r,options:p,defaultValue:f,minWidth:m,maxCharacters:g=30,autocomplete:x,onChangeSelect:k,className:N,...O})=>{const[M,z]=re.useState(f||""),[Y,A]=re.useState(""),[q,te]=re.useState(f||""),[J,Q]=re.useState(!1),W=($,ne)=>{$==""?z(""):z(ne),A($),te(ne),k&&k($),Q(!1)};function V($){const ne=$.target.value;z(ne),Q(!0)}const ee=p.filter($=>$.label.toLowerCase().includes(M?M.toLowerCase():"")),se=re.useRef(null);return re.useEffect(()=>{function $(ne){se.current&&!se.current.contains(ne.target)&&Q(!1)}return document.addEventListener("click",$),()=>{document.removeEventListener("click",$)}},[se]),re.useEffect(()=>{const $=p.find(ne=>ne.value===f);$?W($.value,$.label):W("","")},[f,p]),v("div",{className:"elv-component elv-autocomplete",style:{minWidth:m},...O,children:L("div",{className:`autocomplete-container ${N||""}`,ref:se,children:[L("div",{className:["autocomplete-container__autocomplete",`autocomplete--${l}`,`autocomplete--${s}`,`${r?"autocomplete--error":""} ${u?"autocomplete--disabled":""}`,,].join(" "),children:[v("input",{className:"input-autocomplete is-clickable ",type:"text",value:M||q,onChange:V,placeholder:a||"",onFocus:()=>Q(!0),readOnly:!!Y,autoComplete:x}),Y&&q!=""?v("div",{onClick:()=>{W("","")},className:"",children:v(Ve,{icon:"fa-solid fa-circle-xmark fa-2xl"})}):null]}),v("div",{className:`autocomplete-container__dropdown autocomplete--${s} ${J?"autocomplete-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",children:[a&&v("li",{className:`list__item list__item--default ${Y==a?"list__item--active":""}`,onClick:()=>{W("",a)},children:Nt(a,g||30)}),ee==null?void 0:ee.map(($,ne)=>L("li",{className:"list__item",onClick:()=>{W($.value,$.label)},children:[$.icon&&v("i",{className:`item__icon ${$.icon}`}),Nt($.label,g||30)]},ne))]})})]})})},G2=({size:s="md",fill:l="outline",disabled:u=!1,placeholder:a,error:r,options:p,value:f,defaultValue:m,minWidth:g,maxCharacters:x=30,onChangeSelect:k,className:N,...O})=>{const[M,z]=re.useState(m||""),[Y,A]=re.useState(!1),q=re.useRef(null),te=f!==void 0?f:M,J=V=>{f===void 0&&z(V.value),k==null||k(V),A(!1)},Q=V=>{f===void 0&&z(V.target.value),A(!0)},W=p.filter(V=>(V.value+" "+V.label).toLowerCase().includes((te||"").toLowerCase()));return re.useEffect(()=>{const V=ee=>{q.current&&!q.current.contains(ee.target)&&A(!1)};return document.addEventListener("click",V),()=>document.removeEventListener("click",V)},[]),re.useEffect(()=>{m&&f===void 0&&z(m)},[m,f]),v("div",{className:"elv-component elv-autocomplete",style:{minWidth:g},...O,children:L("div",{className:`autocomplete-container ${N!=null?N:""}`,ref:q,children:[L("div",{className:["autocomplete-container__autocomplete",`autocomplete--${l}`,`autocomplete--${s}`,r?"autocomplete--error":"",u?"autocomplete--disabled":""].join(" "),children:[v("input",{className:"input-autocomplete is-clickable",type:"text",disabled:u,placeholder:a,value:te,onChange:Q,onFocus:()=>A(!0)}),te&&!u&&v("div",{style:{cursor:"pointer"},onClick:()=>{f===void 0&&z(""),k==null||k({value:"",label:""})},children:v(Ve,{icon:"fa-solid fa-circle-xmark fa-2xl"})})]}),Y&&v("div",{className:`autocomplete-container__dropdown autocomplete--${s} autocomplete-container__dropdown--active `,children:v("ul",{className:"dropdown__list",children:W.length>0?W.map((V,ee)=>v("li",{className:"list__item",style:{cursor:"pointer",padding:"6px 0"},onClick:()=>J(V),children:L("div",{style:{display:"flex",flexDirection:"column"},children:[v("span",{style:{fontWeight:"bold"},children:Nt(V.value,x)}),v("span",{style:{color:"#999",fontSize:"0.85rem",marginTop:"2px"},children:Nt(V.label,x)})]})},ee)):v("li",{className:"list__item",style:{padding:"6px 0",textAlign:"center",color:"#666"},children:"No se encontraron coincidencias"})})})]})})},KL="",X2=({size:s="md",fill:l="outline",disabled:u=!1,placeholder:a,error:r,options:p,defaultValue:f,minWidth:m,maxCharacters:g=30,autocomplete:x,onChangeSelect:k,className:N,...O})=>{const[M,z]=re.useState(f||""),[Y,A]=re.useState(""),[q,te]=re.useState(f||""),[J,Q]=re.useState(!1),W=($,ne)=>{$==""?z(""):z(ne),A($),te(ne),k&&k($,ne),Q(!1)};function V($){const ne=$.target.value;z(ne),Q(!0)}const ee=p.filter($=>$.label.toLowerCase().includes(M?M.toLowerCase():"")),se=re.useRef(null);return re.useEffect(()=>{function $(ne){se.current&&!se.current.contains(ne.target)&&Q(!1)}return document.addEventListener("click",$),()=>{document.removeEventListener("click",$)}},[se]),re.useEffect(()=>{const $=p.find(ne=>ne.value===f);$?W($.value,$.label):W("","")},[f,p]),v("div",{className:"elv-component elv-autocomplete",style:{minWidth:m},...O,children:L("div",{className:`autocomplete-container ${N||""}`,ref:se,children:[L("div",{className:["autocomplete-container__autocomplete",`autocomplete--${l}`,`autocomplete--${s}`,`${r?"autocomplete--error":""} ${u?"autocomplete--disabled":""}`,,].join(" "),children:[v("input",{className:"input-autocomplete is-clickable ",type:"text",value:M||q,onChange:V,placeholder:a||"",onFocus:()=>Q(!0),readOnly:!!Y,autoComplete:x,disabled:u}),Y&&q!=""?v("div",{onClick:()=>{W("","")},className:"",children:v(Ve,{icon:"fa-solid fa-circle-xmark fa-2xl"})}):null]}),v("div",{className:`autocomplete-container__dropdown autocomplete--${s} ${J?"autocomplete-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",children:[a&&v("li",{className:`list__item list__item--default ${Y==a?"list__item--active":""}`,onClick:()=>{W("",a)},children:Nt(a,g||30)}),ee==null?void 0:ee.map(($,ne)=>L("li",{className:"list__item",onClick:()=>{W($.value,$.label)},children:[$.icon&&v("i",{className:`item__icon ${$.icon}`}),Nt($.label,g||30)]},ne))]})})]})})},GL="",Z2=({type:s,dateFormat:l,startDate:u,endDate:a,showIcon:r,withPortal:p,isRange:f,locale:m,onStartDateChange:g,onEndDateChange:x,className:k,...N})=>{const[O,M]=re.useState(u||new Date),[z,Y]=re.useState(a||new Date);return re.useEffect(()=>{g&&g(O)},[O]),re.useEffect(()=>{x&&x(z)},[z]),f?L("div",{className:"elv-component elv-datepicker",...N,children:[v(bv,{selected:O,onChange:A=>M(A),withPortal:p,showMonthYearPicker:s=="months",showYearPicker:s=="year",dateFormat:l,showIcon:r,selectsStart:!0,startDate:O,endDate:z,className:k}),v(bv,{selected:z,onChange:A=>Y(A),withPortal:p,showMonthYearPicker:s=="months",showYearPicker:s=="year",dateFormat:l,showIcon:r,selectsEnd:!0,startDate:O,endDate:z,minDate:O,className:k})]}):v("div",{className:"elv-component elv-datepicker",...N,children:v(bv,{selected:O,onChange:A=>M(A),withPortal:p,showMonthYearPicker:s=="months",showYearPicker:s=="year",dateFormat:l,showIcon:r,className:k,locale:m||"es"})})},XL="",J2=({size:s="sm",fill:l="outline",disabled:u=!1,placeholder:a,error:r,section:p,button:f,buttonCleaner:m,onChangeFilters:g,className:x,...k})=>{const[N,O]=re.useState(!1),[M,z]=re.useState(!1),[Y,A]=re.useState(!1),[q,te]=re.useState([]),[J,Q]=re.useState([]),W=(ne,de,me)=>{var De,_e,Ne;const Ce=q.findIndex(Ie=>Ie.name===de),he=[...q];if(ne==="radio")Ce>=0?he[Ce]={name:de,value:[me]}:he.push({name:de,value:[me]});else{const Ie=(_e=(De=q[Ce])==null?void 0:De.value)==null?void 0:_e.indexOf(me);Ce>=0&&Ie>=0?he[Ce].value.splice(Ie,1):Ce>=0?he[Ce].value.push(me):he.push({name:de,value:[me]})}((Ne=he[Ce])==null?void 0:Ne.value.length)===0&&he.splice(Ce,1),he.length>0&&A(!0),te(he)},V=()=>{g&&(g(q),Q(q),A(!1),q.length===0?z(!1):z(!0))},ee=()=>{te([]),document.querySelectorAll(".section__options").forEach(de=>{de.querySelectorAll("label").forEach(Ce=>{Ce.querySelectorAll("input").forEach(De=>{De.checked=!1})})}),z(!1),A(!1),g&&(g([]),Q([]))};function se(){return ne=>{O(!N)}}const $=re.useRef(null);return re.useEffect(()=>{function ne(de){$.current&&!$.current.contains(de.target)&&O(!1)}return document.addEventListener("click",ne),()=>{document.removeEventListener("click",ne)}},[$]),v("div",{className:"elv-component elv-filters",...k,children:L("div",{className:`filter-container ${x||""}`,ref:$,children:[L("div",{className:["filter-container__filter",`filter--${l}`,`filter--${s}`,`${r?"filter--error":""} ${u?"filter--disabled":""}`,,].join(" "),onClick:se(),children:[v(Ve,{icon:"fa-solid fa-filter",className:"filter"}),v("span",{className:"placeholder",children:Nt(a,25)}),J.length>0&&v(ji,{color:"primary",text:J.length.toString()}),v(Ve,{icon:"fa-solid fa-chevron-down",className:"chebron"})]}),L("div",{className:`filter-container__dropdown filter--${s} ${N?"filter-container__dropdown--active":""}`,children:[p==null?void 0:p.map(ne=>{var de;return L("div",{className:"section",children:[v("p",{className:"section__title is-5",children:ne.label}),v("div",{className:`section__options ${ne.type=="radio"?"control":"checkbox"} is-flex is-flex-direction-column`,children:(de=ne.options)==null?void 0:de.map(me=>v("div",{children:L("label",{htmlFor:me.name,className:`filter-label ${ne.type=="radio"?"radio":"checkbox"} is-flex is-justify-content-space-between`,children:[L("span",{className:"filter-label__name is-flex",children:[me.iconItem&&v(Ve,{...me.iconItem}),v("p",{className:"",children:me.name})]}),ne.type=="radio"?v(qh,{label:"",name:ne.name,size:"md",value:me.name,onCheck:()=>W(ne.type,ne.name,me.name)}):v(td,{label:"",size:"md",value:me.name,name:ne.name,onCheck:()=>W(ne.type,ne.name,me.name)})]})},me.name))})]},ne.name)}),Y||M?L("div",{className:"actionButtons is-flex is-flex-direction-column",children:[Y&&v("span",{className:"button-aplicate is-flex is-justify-content-center",children:v(Ae,{label:f.label!==void 0?Nt(f.label,25):"",trailingIcon:f.trailingIcon,isFullWidth:!0,onClick:V,...f})}),M&&v("span",{className:"button-cleaner is-flex is-justify-content-center",children:v(Ae,{...m,label:m.label!==void 0?Nt(m.label,25):"",trailingIcon:m.trailingIcon,onClick:ee})})]}):v(Qt,{})]})]})})},ZL="",eO=({nameInput:s,id:l,type:u,color:a,size:r,placeholder:p,defaultValue:f,value:m,autocomplete:g,pattern:x,onRef:k,iconLeft:N,iconRight:O,isRounded:M,isLoading:z,isDisabled:Y,hasError:A,className:q,onChangeInput:te,onKeyDown:J,onSearch:Q,...W})=>{const V=se=>{se.key==="Enter"&&ee()},ee=()=>{var ne,de;const se=re.useRef(null),$=k?(ne=k.current)==null?void 0:ne.value:(de=se.current)==null?void 0:de.value;Q&&Q($||"")};return v("div",{className:"elv-component elv-input",...W,children:v("div",{className:`field e-input ${q||""}`,children:L("p",{className:["control",`${N?" has-icons-left":""}`,`${O?" has-icons-right":""}`,`${z?" is-loading":""}`].join(""),children:[v("input",{className:["input",`${" is-"+r}`,`${a!=="none"?" is-"+a:""}`,`${M?" is-rounded":""}`,`${A?" has-error":""}`].join(""),type:u,name:s,id:l,placeholder:p,onChange:se=>{te&&te(se)},defaultValue:f,value:m,ref:k,disabled:Y,onKeyDown:J||V,autoComplete:g,pattern:x}),N&&v("span",{className:`icon is-left ${"is-"+r}`,children:v(Ve,{...N})}),O&&v("span",{className:`icon is-right ${"is-"+r}`,children:v(Ve,{...O})})]})})})},JL="",tO=({input:s,label:l,helperText:u,defaultValue:a,maxLength:r,error:p,className:f,...m})=>v("div",{className:["elv-component"," elv-form-control"].join(""),...m,children:L("div",{className:`e-input-form ${f||""}`,children:[v("div",{children:l}),v(Qh,{...s}),L("div",{children:[v("span",{className:["helper",`${p?"text--error":""}`,`${a.length>r?"text--error":""}`,`${f||""}`].join(" "),children:u}),a.length&&r?L("span",{className:["length",,].join(" "),children:[a.length,"/",r]}):null]})]})}),eU="",op=({size:s,backgroundColor:l,placeholder:u,defaultValue:a,value:r,buttonSearch:p,name:f,id:m,isDisabled:g,onChangeInput:x,onSearch:k,className:N,...O})=>{const M=re.useRef(null),z=A=>{A.key==="Enter"&&Y()},Y=()=>{var q;const A=(q=M.current)==null?void 0:q.value;k&&k(A||"")};return v("div",{className:"elv-component elv-search",...O,children:L("div",{className:`elv-component search-container search-container--${s} ${N||""}`,style:{backgroundColor:l},children:[v("input",{className:`search-container__input + ${g?"is-disabled":""}`,type:"text",name:f,id:m,placeholder:u,onChange:A=>x&&x(A.target.value),defaultValue:a,value:r,ref:M,disabled:g,onKeyDown:z}),v("span",{className:"search-container__button-search",children:v(Ae,{...p,size:s,onClick:()=>{Y()}})})]})})},nO=({size:s="md",fill:l="outline",disabled:u=!1,placeholder:a,error:r,options:p=[],value:f,minWidth:m,maxCharacters:g=30,onChangeSelect:x,className:k,...N})=>{var J,Q;const[O,M]=re.useState(!1),z=re.useRef(null),Y=re.useMemo(()=>p.find(W=>W.value===f),[p,f]),A=(Q=(J=Y==null?void 0:Y.label)!=null?J:a)!=null?Q:"";re.useEffect(()=>{if(!O)return;function W(ee){!z.current||z.current.contains(ee.target)||M(!1)}function V(ee){ee.key==="Escape"&&M(!1)}return document.addEventListener("click",W),document.addEventListener("keydown",V),()=>{document.removeEventListener("click",W),document.removeEventListener("keydown",V)}},[O]),re.useEffect(()=>{u&&M(!1)},[u]);const q=()=>{u||M(W=>!W)},te=W=>{x==null||x(W),M(!1)};return v("div",{className:"elv-component elv-select",style:{minWidth:m},...N,children:L("div",{className:`select-container ${k!=null?k:""}`,ref:z,children:[v("div",{className:["select-container__select",`select--${l}`,`select--${s}`,`${r?"select--error":""}`,`${u?"select--disabled":""}`].join(" "),role:"button","aria-haspopup":"listbox","aria-expanded":O,onClick:q,children:v("span",{children:Nt(A,g)})}),v("div",{className:`select-container__dropdown select--${s} ${O?"select-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",role:"listbox",children:[a&&v("li",{className:`list__item list__item--default ${f===""?"list__item--active":""}`,onClick:()=>te(""),role:"option","aria-selected":f==="",children:Nt(a,g)}),p!=null&&p.length?p.map((W,V)=>{const ee=f===W.value;return L("li",{className:`list__item ${ee?"list__item--active":""}`,onClick:()=>te(W.value),role:"option","aria-selected":ee,children:[W.icon&&v("i",{className:`item__icon ${W.icon}`}),Nt(W.label,g)]},V)}):v("li",{className:"list__item",style:{opacity:.7,cursor:"default"},children:"No hay opciones"})]})})]})})},tU="",Cx=({size:s="md",disabled:l=!1,defaultChecked:u,error:a,onCheck:r,className:p,...f})=>{const[m,g]=re.useState(),x=()=>{g(!m),r&&r(!m)};return v("div",{className:"elv-component elv-switch",...f,children:L("label",{className:["switch",` switch--${s}`,`${a?" switch--error":""}`,`${p?" "+p:""}`].join(""),children:[v("input",{type:"checkbox",disabled:l,defaultChecked:u,onChange:x}),v("span",{className:"slider round"})]})})},nU="",rO=({value:s,error:l,onChangeInput:u,placeholder:a,defaultValue:r,disabled:p,required:f,rows:m=5,cols:g=50,className:x,...k})=>v("div",{className:"elv-component elv-textArea",children:v("textarea",{className:["textarea",`${l?" textarea--error":""}`,`${x?" "+x:""}`].join(""),onChange:N=>u(N.target.value),placeholder:a,disabled:p,defaultValue:r,required:f,rows:m,cols:g,...k})}),rU="",aU="",xx=({className:s,progressBar:l,showBar:u,file:a,file_name:r,file_size:p,onPreview:f,onDelete:m,...g})=>v("div",{className:"elv-component elv-uploadfile",...g,children:L("div",{className:["uploadfile p-4 is-flex is-align-items-center is-relative ",`${s?" "+s:""}`].join(""),children:[v("div",{className:"mr-5",children:r&&v(Ve,{icon:lk(r),className:"has-tc-primary-600",size:"24px"})}),L("div",{className:"uploadfile__info is-flex-direction-column ",children:[L("div",{className:"is-flex is-justify-content-space-between is-align-items-center ",children:[L("div",{className:"is-flex is-align-items-center",children:[r?v("p",{className:"file_name is-size-7",children:r}):a?v("p",{className:"file_name is-size-7",children:a.name}):v(Qt,{}),v("span",{className:"uploadfile__elipse has-background-grey mt-2 mr-2 ml-2"}),v(Ae,{label:"Previsualizar",fill:"unstyled",className:"preview",onClick:()=>{a&&f&&f(a)}})]}),p?v("div",{className:"is-size-7",children:E0(p)}):a?v("div",{className:"is-size-7",children:E0(a.size)}):v(Qt,{})]}),u&&v("div",{className:"uploadfile__progress pt-2",children:v(D0,{...l})})]}),v("div",{className:"uploadfile__icon is-absolute",onClick:()=>{a&&m&&m(a)},children:v(Ve,{icon:"fa-solid fa-circle-xmark fa-2xl"})})]})}),aO=({className:s,labelSelection:l,labelData:u,maxSizeInMB:a,maxFiles:r,progressUpload:p,defaultFiles:f,acceptedExtensions:m,onProgressFile:g,onPreviewFile:x,onDeleteFile:k,onErrorSize:N,onErrorExtensions:O,...M})=>{const[z,Y]=re.useState(!1),[A,q]=re.useState(()=>!m||(m==null?void 0:m.length)===0?f||[]:(f||[]).filter(se=>{var ne;const $=(ne=se.name.split(".").pop())==null?void 0:ne.toLowerCase();return m==null?void 0:m.includes($||"")})),te=se=>{se.preventDefault(),Y(!0)},J=()=>{Y(!1)},Q=se=>{se.preventDefault(),Y(!1);const $=se.dataTransfer.files;$&&V($)},W=se=>{const $=se.target.files;$&&V($)},V=se=>{var $;if(console.log(""),se.length<=r&&A.length+se.length<=r)for(let ne=0;ne<se.length;ne++){const de=se[ne],me=de.name.split("."),Ce=me.length>1?($=me.pop())==null?void 0:$.toLowerCase():"";if((m==null?void 0:m.length)===0||(m==null?void 0:m.includes(Ce||""))){if(de.size<=a*1024*1024)g&&g(de);else{N&&N(de);return}q(he=>[...he,de])}else{O&&O(de);return}}else{alert("La cantidad de archivos exceden el m\xE1ximo que es: "+r+".");return}},ee=se=>{const $=A.filter(ne=>ne!==se);q($)};return v("div",{className:"elv-component elv-uploadfiles",...M,children:L("div",{className:["uploadfiles is-flex is-flex-direction-column is-align-items-center is-gap-4 p-5",`${s?" "+s:""}`].join(""),children:[v("div",{className:`uploadfiles__files file ${z?"dragging":""}`,onDragEnter:te,onDragLeave:J,onDragOver:se=>se.preventDefault(),onDrop:Q,children:L("label",{htmlFor:"file-input",className:"file-label",children:[v("input",{id:"file-input",className:"file-input",type:"file",name:"resume",onChange:W,multiple:!0}),L("span",{className:"file-cta px-6 py-5 is-flex-direction-column",children:[v("span",{className:"file-icon",children:v(Ve,{icon:"fas fa-upload has-text-grey-dark mb-3"})}),v("span",{className:"file-label has-text-grey-dark",children:l})]})]})}),v("div",{className:"uploadfiles__data",children:u}),A.length>0?v("div",{children:A.map((se,$)=>v("div",{className:"uploadfiles__download mb-3",children:v(xx,{showBar:!!(p&&p[$]&&p[$]!==100),file:se,file_name:se.name,file_size:se.size,onPreview:ne=>{x&&x(ne)},onDelete:ne=>{k&&k(ne),ee(ne)},progressBar:{value:p&&p[$]?p[$]:0}})},$))}):null]})})},iU="",iO=({columnItems:s,finalItem:l,logo_1:u,logo_2:a,endButtonLinks:r,className:p,...f})=>{var m=new Date,g=m.getFullYear();return v("div",{className:"elv-component elv-footer",...f,children:L("div",{className:`footer-component is-flex is-flex-direction-column ${p||""}`,children:[L("div",{className:"footer-component__container",children:[s&&v(Qt,{children:s.map(x=>L("div",{className:"column-item is-flex is-flex-direction-column",children:[v("p",{className:"column-item__title",children:x.title}),x.buttonLinks.map(k=>v("span",{className:"column-item__button",children:v(Ae,{...k})},An())),v("span",{className:"column-item__final",children:v(Ae,{...x.finalLink})})]},An()))}),l&&L("div",{className:"final-item is-flex is-flex-direction-column",children:[v("p",{className:"final-item__title",children:l.title}),l.buttonLinks.map(x=>v("span",{className:"final-item__button",children:v(Ae,{...x})},An())),v("p",{className:"final-item__phoneNumber",children:l.phoneNumber})]})]}),L("div",{className:"footer-component__end",children:[L("div",{className:"logos is-flex",children:[v("img",{className:"logo1",src:u,alt:"",width:"155px",height:"37px"}),L("div",{className:"text-gob-centro",children:[v("p",{children:v("strong",{children:" Gobierno de Corrientes. Ministerio de Haccienda y Finanzas. Direccion General de Rentas"})}),v("p",{children:"Casa central: 25 de Mayo 902 PB, Corrientes(W3400BCJ) - Corrientes"}),v("p",{children:"Centro Integral de Atencion al Contribuyente(CIAC): Av. Juan Pujol 2330, Corrientes(W3400BKU)"})]}),v("img",{className:"logo2",src:a,alt:"",width:"261px",height:"37px"})]}),L("div",{className:"copy is-flex",children:[v("div",{className:"copy__text is-flex",children:L("p",{children:["Copyright\xA9 ",g," - Rentas Corrientes"]})}),r&&v("div",{className:"end-button-links is-flex",children:r.map(x=>v("div",{className:"end-button-links__item is-flex",children:v("span",{className:"end-button-links__button",children:v(Ae,{...x})},x.label)},An()))})]})]})]})})},oU="",oO="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNlZ21lbnQiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTUuODMyNSAxOC45MzA3SDMuODMyNTJWMTYuOTMwN0gxNS44MzI1VjE4LjkzMDdaTTIxLjgzMjUgNi45MzA2NlY4LjkzMDY2SDMuODMyNTJWNi45MzA2NkgyMS44MzI1Wk0xNS44MzI1IDEzLjkzMDdIMy44MzI1MlYxMS45MzA3SDE1LjgzMjVWMTMuOTMwN1oiIGZpbGw9ImJsYWNrIi8+CjwvZz4KPC9zdmc+Cg==",lO=({className:s,logged:l,logo:u,logoMobile:a,navItems:r,iconFunctions:p,buttonLogin:f,userInfo:m,notUserDropComponent:g,...x})=>{var ne,de,me,Ce;const[k,N]=re.useState(!1),[O,M]=re.useState(!1),[z,Y]=re.useState(window.innerWidth<1217),[A,q]=re.useState(window.innerWidth<654),[te,J]=re.useState(null),[Q,W]=re.useState((ne=p==null?void 0:p.reduce((he,De)=>({...he,[De.uniqueValue]:{active:!1,name:null}}),{}))!=null?ne:{}),V=re.useRef(null),ee=p==null?void 0:p.map(()=>re.useRef(null)),se=he=>{J(De=>De===he?null:he),W(De=>({...Object.keys(De).reduce((_e,Ne)=>(_e[Ne]={active:Ne===he,name:De[Ne].name},_e),{})}))};re.useEffect(()=>{function he(De){var _e;Object.values(Q).some(Ne=>Ne.active)&&!De.defaultPrevented&&!((_e=V.current)!=null&&_e.contains(De.target))&&(W(Ne=>Object.keys(Ne).reduce((Ie,ft)=>({...Ie,[ft]:{active:!1,name:Ne[ft].name}}),{})),J(null))}return document.addEventListener("click",he),()=>{document.removeEventListener("click",he)}},[V,Q]);const $=re.useRef(null);return re.useEffect(()=>{function he(De){$.current&&!$.current.contains(De.target)&&M(!1)}return document.addEventListener("click",he),()=>{document.removeEventListener("click",he)}},[$]),re.useEffect(()=>{function he(){Y(window.innerWidth<1217),q(window.innerWidth<654)}return window.addEventListener("resize",he),()=>{window.removeEventListener("resize",he)}},[]),v("div",{className:"elv-component elv-header",...x,children:v("div",{className:`navbar-container ${s||""}`,children:L("nav",{className:"navbar container",role:"navigation","aria-label":"main navigation",children:[L("div",{className:"navbar-brand",children:[v("a",{role:"button",className:`navbar-burger ${k?"is-active":""}`,"aria-label":"menu","aria-expanded":"false","data-target":"rentas-ctes-header",onClick:()=>N(!k),children:v("img",{src:oO,alt:"Burger SVG"})}),u&&v(Qt,{children:A?v("a",{className:"navbar-item px-1",onClick:()=>{a!=null&&a.onClick&&a.onClick()},children:v("img",{src:a==null?void 0:a.src,alt:"Logo Header",height:u.height,width:u.width})}):v("a",{className:"navbar-item pt-0",onClick:()=>{u!=null&&u.onClick&&u.onClick()},children:v("img",{src:u.src,alt:"Logo Header",height:u.height,width:u.width})})})]}),v("div",{id:"rentas-ctes-header",className:`navbar-menu ${k?"is-active":""}`,children:v("div",{className:"navbar-start",children:r&&r.map(he=>v("a",{className:"navbar-item item-text",onClick:he.onClick,children:he.label},An()))})}),L("div",{className:"navbar-end is-flex",children:[v("div",{className:"icon-functions is-flex",ref:V,children:p&&p.map((he,De)=>L("div",{className:["item-icon "].join(""),ref:ee&&ee[De],children:[v("span",{children:v(Ae,{...he.buttonIcon,onClick:()=>{var _e;se(he.uniqueValue),(_e=he.buttonIcon)!=null&&_e.onClick&&he.buttonIcon.onClick()}})}),he.badge&&v(Qt,{children:v("span",{className:"item-icon__badge-notif",children:v(ji,{...he.badge})})}),he.iconDropComponent&&v("div",{className:`drop-component drop-component__icon ${Q[he.uniqueValue]&&p[De].uniqueValue===te?"is-active":""}`,children:he.iconDropComponent})]},An()))}),l?v(Qt,{children:z?L("div",{className:"navbar-item user-mobile is-flex is-align-items-center",ref:$,children:[v("div",{className:"user-mobile__icon",children:v(Ve,{icon:"far fa-user",size:"20px",className:"pb-1 is-clickable",onClick:()=>M(!O)})}),m.userDropComponent&&v("div",{className:`drop-component drop-component__user ${O&&"is-active"}`,children:m.userDropComponent})]}):L("div",{className:"navbar-item user-desktop",ref:$,children:[L("div",{className:"user-sec is-flex is-align-items-center",onClick:()=>M(!O),children:[L("div",{className:"user-sec__text",children:[L("p",{className:"names",children:["Hola, ",m.name," ",m.lastName]}),v("p",{className:"description",children:m.description})]}),L("div",{className:"user-sec__icons is-flex",children:[(de=m.avatar)!=null&&de.icon?L("div",{className:"user-icon",children:[v(Ve,{icon:m.avatar.icon.icon}),m.avatar.stateColor&&v("span",{className:"user-icon__state",children:v(Ve,{icon:"fa fa-circle",color:m.avatar.stateColor,size:"10px"})})]}):v("img",{src:(Ce=(me=m.avatar)==null?void 0:me.img)==null?void 0:Ce.src,width:"16px",height:"16px",style:{borderRadius:"50%"}}),v(Ve,{icon:"fa-solid fa-chevron-down"})]})]}),m.userDropComponent&&v("div",{className:`drop-component drop-component__user ${O&&"is-active"}`,children:m.userDropComponent})]})}):v(Qt,{children:z?L("div",{className:"navbar-item user-mobile is-flex is-align-items-center",ref:$,children:[v("div",{className:"user-mobile__icon",children:v(Ve,{icon:"far fa-user",size:"20px",className:"pb-1 is-clickable",onClick:()=>M(!O)})}),g&&v("div",{className:`drop-component drop-component__user ${O&&"is-active"}`,children:g})]}):v("div",{className:"navbar-item",children:v(Ae,{...f})})})]})]})})})},lU="",sO=({className:s,search:l,pagination:u,selectList:a,button:r,menuButton:p,menuDropComponent:f,...m})=>{const[g,x]=re.useState(!1),k=re.useRef(null);return re.useEffect(()=>{function N(O){k.current&&!k.current.contains(O.target)&&x(!1)}return document.addEventListener("click",N),()=>{document.removeEventListener("click",N)}},[k]),v("div",{className:`elv-component elv-header-table ${s||""}`,...m,children:L("div",{className:"header-table is-flex",children:[l&&v("span",{children:v(op,{...l})}),a&&a.map(N=>v("span",{children:v(nd,{...N})},An())),u&&v(Cv,{...u}),r&&v(Ae,{...r}),p&&L("div",{ref:k,className:"menuButton",children:[v(Ae,{...p,onClick:()=>{x(!g),p.onClick&&p.onClick()}}),f&&g&&v("div",{className:"menuButton__dropComponent",children:f})]})]})})},sU="",uO=({className:s,buttonShow:l,title:u,show:a,search:r,itemsPerPage:p=5,listClassName:f="",listOfComponents:m,listLineSeparation:g=!1,onShow:x,onClose:k,...N})=>{const[O,M]=re.useState(a),[z,Y]=re.useState(1),[A,q]=re.useState(0),te=re.useRef(null),J=re.useRef(null),[Q,W]=re.useState(p);re.useEffect(()=>{M(a)},[a]),re.useEffect(()=>{W(p)},[p]);const V=`${p*A+p}px`;return L("div",{className:"elv-component elv-sidebar",...N,children:[!O&&v("div",{className:"is-flex is-justify-content-end",children:v(Ae,{...l,onClick:()=>{M(!0),x&&x()}})}),O&&v("div",{className:"modal-background",onClick:()=>{M(!1),k&&k()}}),L("div",{className:`sidebar-container is-flex is-flex-direction-column ${O?"is-open":""} ${s||""}`,children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center",children:[v(Ae,{fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{M(!1),k&&k()}}),v("p",{className:"title is-5",children:u})]}),r&&v("div",{className:"sidebar-container__search",children:v(op,{...r})}),v("div",{ref:J,className:`sidebar-container__list is-flex is-flex-direction-column is-gap-4 ${f} `,style:{minHeight:V},children:m.slice((z-1)*p,z*p).map((ee,se)=>v("div",{ref:te,className:`listItem ${g?" line-separation":""}`,children:ee},An()))}),v("div",{className:"sidebar-container__pagination is-flex is-justify-content-center is-align-items-end",children:(m==null?void 0:m.length)>p&&v(Cv,{onChangePage:ee=>{Y(ee)},minItemsPerPage:Q,totalItems:m.length,showTotals:!0,isColumn:!0})})]})]})},uU="",cO=({className:s,title:l,show:u,button:a,buttonShow:r,buttonShowVisible:p,optionalButton:f,optionalButton2:m,children:g,position:x="right",footerbutton:k,onShow:N,...O})=>{const[M,z]=re.useState(u);return re.useEffect(()=>{z(u)},[u]),L("div",{className:"elv-component elv-sidebarEmpty",...O,children:[p&&!M&&v("div",{className:"is-flex is-justify-content-end",children:v(Ae,{...r,onClick:()=>{z(!0),N&&N()}})}),M&&v("div",{className:"modal-background",onClick:()=>{z(!1),N&&N()}}),L("div",{className:[`sidebar-container is-flex is-flex-direction-column is-justify-content-space-between ${M?"is-open":""}`,` sidebar-container--${x}`,`${s?" "+s:""}`].join(""),children:[L("div",{children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center mb-4 is-gap-4",children:[v("div",{className:"sidebar-container__button mr-3",children:v(Ae,{...a,fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{z(!1),N&&N()}})}),v("p",{className:"title is-5 has-text-link-dark",children:l})]}),v("div",{className:"sidebar-container__content",children:g})]}),k&&v("div",{children:L("div",{className:"button-container is-flex pl-5 pb-5",children:[v("div",{className:"button-container__opt ml-5",children:f&&v(Ae,{...f})}),v("div",{className:"button-container__opt",children:m&&v(Ae,{...m})})]})})]})]})},cU="",dO=({className:s,border:l,size:u,label:a,description:r,backButton:p,leftIcon:f,rectangle:m,actionButtons:g,addButton:x,removeButton:k,linkButton:N,iconButton:O,switcherLabel:M,switcher:z,labelRight:Y,...A})=>v("div",{className:"elv-component elv-subtitle",...A,children:L("div",{className:`subtitle-component ${l&&"subtitle-component--border-bot-gray"} ${s||""}`,children:[L("div",{className:"subtitle-component__left is-flex is-justify-content-start is-align-items-start",children:[p&&v("div",{className:"left-backButton",children:v(Ae,{...p})}),L("div",{className:"left-texts",children:[L("div",{className:"left-texts__principal is-flex is-align-items-center",children:[f&&v(Ve,{...f}),m&&v("span",{className:"left-texts__principal__rectangle"}),a&&v("p",{className:`left-texts__principal__label left-texts__principal__label--${u}`,children:a})]}),r&&v("p",{className:`left-texts__description left-texts__description--${u}`,children:r})]})]}),L("div",{className:"subtitle-component__right is-flex is-align-items-center",children:[x||k?L("div",{className:"right-editButtons is-flex",children:[x&&v("span",{className:"right-editButtons__addButton",children:v(Ae,{...x})}),k&&v("span",{className:"right-editButtons__removeButton",children:v(Ae,{...k})})]}):v(Qt,{}),N&&v("span",{className:"right-linkButton",children:v(Ae,{...N})}),O&&v("span",{children:v(Ae,{...O})}),z&&L("div",{className:"right-switcher is-flex is-align-items-center",children:[M&&v("p",{className:"right-switcher__label",children:M}),v(Cx,{...z})]}),Y&&v("p",{className:"right-label",children:Y})]})]})}),dU="",fO=({className:s,subtitle:l,title:u,description:a,descriptionWidth:r,secondDescription:p,actionsButtons:f,search:m,button:g,buttonWidth:x,backButton:k,searchWidth:N,align:O,...M})=>v("div",{className:"elv-component elv-title",...M,children:L("div",{className:`title-component-container ${k&&"title-component-container--backButton"} ${s||""}`,children:[k&&v("div",{className:"title-component-container__backButton is-flex",children:v(Ae,{...k})}),L("div",{className:`title-component title-component--${O} is-flex is-flex-direction-column`,children:[l&&v("p",{className:"title-component__subtitle",children:l.toUpperCase()}),u&&v("p",{className:"title-component__title",children:u}),L("div",{className:`title-component__content is-flex title-component__content--${O} is-flex-direction-column ${k&&"title-component__content--backButton"}`,children:[a&&v("p",{className:"title-component__description",style:{width:r},children:a}),p&&v("p",{className:"title-component__secondDescription",style:{width:r},children:p}),f&&v("span",{className:"title-component__actionButtons is-flex",children:f.map(z=>v("span",{children:v(Ae,{...z})},z.label))}),m&&v("span",{className:"title-component__search",style:{width:N},children:v(op,{...m})}),g&&v("span",{className:"title-component__button",style:{width:x},children:v(Ae,{...g})})]})]})]})}),fU="",pO=({className:s,buttonShow:l,title:u,show:a,search:r,itemsPerPage:p=5,listClassName:f="",listOfComponents:m=[],listLineSeparation:g=!1,onShow:x,onClose:k,children:N,width:O="315px",showOpenButton:M=!1,...z})=>{const[Y,A]=re.useState(a),[q,te]=re.useState(1),[J,Q]=re.useState(0),W=re.useRef(null),V=re.useRef(null),[ee,se]=re.useState(p);re.useEffect(()=>{A(a)},[a]),re.useEffect(()=>{se(p)},[p]);const $=`${p*J+p}px`;return L("div",{className:"elv-component elv-sidebar",...z,children:[!Y&&M&&l&&v("div",{className:"is-flex is-justify-content-end",children:v(Ae,{...l,onClick:()=>{A(!0),x&&x()}})}),Y&&v("div",{className:"modal-background",onClick:()=>{A(!1),k&&k()}}),L("div",{className:`sidebar-container is-flex is-flex-direction-column ${s!=null?s:""}`,style:{width:O,right:Y?"0":`-${O}`},children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center",children:[v(Ae,{fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{A(!1),k&&k()}}),v("p",{className:"title is-5",children:u})]}),r&&v("div",{className:"sidebar-container__search",children:v(op,{...r})}),v("div",{ref:V,className:`sidebar-container__list overflow-y-scroll is-flex is-flex-direction-column is-gap-4 ${f}`,style:{minHeight:$},children:N||m.slice((q-1)*ee,q*ee).map(ne=>v("div",{ref:W,className:`listItem ${g?" line-separation":""}`,children:ne},An()))}),!N&&(m==null?void 0:m.length)>ee&&v("div",{className:"sidebar-container__pagination is-flex is-justify-content-center is-align-items-end",children:v(Cv,{onChangePage:ne=>{te(ne)},minItemsPerPage:ee,totalItems:m.length,showTotals:!0,isColumn:!0})})]})]})};nt.Alert=ak,nt.AssistanceDiary=ik,nt.Autocomplete=K2,nt.Autocomplete2=G2,nt.Autocomplete3=X2,nt.AverageAttended=ok,nt.Badge=ji,nt.Breadcrumb=sk,nt.Button=Ae,nt.CTA=k2,nt.CardActivity=fk,nt.CardCTA=uk,nt.CardExpiration=ck,nt.CardHorizontal=pk,nt.CardUser=hk,nt.CardVertical=dk,nt.Cart=vk,nt.Checkbox=td,nt.Collapse=N0,nt.CollapseEdit=Ig,nt.CollapseMobile=T0,nt.CompleteDiary=S2,nt.DatePickerComponent=Z2,nt.Dropdown=D2,nt.EmptyState=E2,nt.ErrorPage=N2,nt.Filters=J2,nt.Footer=iO,nt.Header=lO,nt.HeaderTable=sO,nt.Icon=Ve,nt.IncomingCall=T2,nt.Input=Qh,nt.Input2=eO,nt.InputForm=tO,nt.ModalConfirm=M2,nt.ModalConfirm2=P2,nt.ModalConfirm3=A2,nt.Pagination=Cv,nt.Pagination2=L2,nt.PerformanceAssessment=V2,nt.ProgressBar=D0,nt.Radio=qh,nt.Search=op,nt.Select=nd,nt.Select2=nO,nt.ShiftDiary=B2,nt.Sidebar=uO,nt.SidebarChildren=pO,nt.SidebarEmpty=cO,nt.Stepper=q2,nt.Subtitle=dO,nt.Switch=Cx,nt.Tabs=Q2,nt.Textarea=rO,nt.Title=fO,nt.Tooltip=Bh,nt.UploadFileItem=xx,nt.UploadFiles=aO,Object.defineProperties(nt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
312
|
+
`}function $2(s){var l=s.counterClockwise,u=s.dashRatio,a=s.pathRadius,r=Math.PI*2*a,p=(1-u)*r;return{strokeDasharray:r+"px "+r+"px",strokeDashoffset:(l?-p:p)+"px"}}var H2=function(s){U2(l,s);function l(){return s!==null&&s.apply(this,arguments)||this}return l.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},l.prototype.getPathRadius=function(){return wx-this.props.strokeWidth/2-this.getBackgroundPadding()},l.prototype.getPathRatio=function(){var u=this.props,a=u.value,r=u.minValue,p=u.maxValue,f=Math.min(Math.max(a,r),p);return(f-r)/(p-r)},l.prototype.render=function(){var u=this.props,a=u.circleRatio,r=u.className,p=u.classes,f=u.counterClockwise,m=u.styles,g=u.strokeWidth,x=u.text,k=this.getPathRadius(),N=this.getPathRatio();return re.createElement("svg",{className:p.root+" "+r,style:m.root,viewBox:"0 0 "+I2+" "+z2,"data-test-id":"CircularProgressbar"},this.props.background?re.createElement("circle",{className:p.background,style:m.background,cx:Ry,cy:My,r:wx}):null,re.createElement(bx,{className:p.trail,counterClockwise:f,dashRatio:a,pathRadius:k,strokeWidth:g,style:m.trail}),re.createElement(bx,{className:p.path,counterClockwise:f,dashRatio:N*a,pathRadius:k,strokeWidth:g,style:m.path}),x?re.createElement("text",{className:p.text,style:m.text,x:Ry,y:My},x):null)},l.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},l}(re.Component);function Y2(s){s.children;var l=j2(s,["children"]);return re.createElement("div",{"data-test-id":"CircularProgressbarWithChildren"},re.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},re.createElement(H2,Oy({},l)),s.children?re.createElement("div",{"data-test-id":"CircularProgressbarWithChildren__children",style:{position:"absolute",width:"100%",height:"100%",marginTop:"-100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},s.children):null))}function W2(s){var l=s.rotation,u=s.strokeLinecap,a=s.textColor,r=s.textSize,p=s.pathColor,f=s.pathTransition,m=s.pathTransitionDuration,g=s.trailColor,x=s.backgroundColor,k=l==null?void 0:"rotate("+l+"turn)",N=l==null?void 0:"center center";return{root:{},path:xv({stroke:p,strokeLinecap:u,transform:k,transformOrigin:N,transition:f,transitionDuration:m==null?void 0:m+"s"}),trail:xv({stroke:g,strokeLinecap:u,transform:k,transformOrigin:N}),text:xv({fill:a,fontSize:r}),background:xv({fill:x})}}function xv(s){return Object.keys(s).forEach(function(l){s[l]==null&&delete s[l]}),s}const V2=({labelPerformance:s,dataTime:l,percentage:u,description:a,star:r,qualification:p,rating:f,className:m})=>{const g=Math.round(f*2)/2;return v("div",{className:"elv-component elv-performanceAssessment",children:L("div",{className:["performanceAssessment box is-flex is-flex-direction-column p-5 is-gap-6 is-align-items-center",`${m?" "+m:""}`].join(""),children:[L("div",{className:"is-flex is-flex-direction-column is-gap-3",children:[v("div",{className:"has-text-weight-bold has-text-grey-dark",children:s}),v("div",{children:l==null?void 0:l.map(x=>v("div",{className:"performanceAssessment__date is-size-14px has-text-weight-medium",children:x.date}))})]}),v("div",{style:{maxWidth:"214.277px"},className:"progressCircular",children:L(Y2,{value:u,text:"",strokeWidth:15,background:!0,backgroundPadding:10,styles:W2({backgroundColor:"#FFFFFF",pathColor:"#7DAFFF",trailColor:"#CED4DA4D",strokeLinecap:"butt"}),children:[v("div",{className:"is-size-4",children:v("strong",{children:`${u}%`})}),v("div",{className:"progressCircular__desc is-size-7 has-text-centered",children:a})]})}),L("div",{className:"mt-2",children:[v("div",{className:"is-flex",children:r==null?void 0:r.map((x,k)=>{const N=g-k===.5;return L("div",{children:[!N&&v(Ve,{icon:x.star,className:"iconStar mr-3 is-size-5",color:k<g?"#16A34A":"#CED4DA"}),N&&v(Ve,{icon:x.starStroke,className:"iconStar mr-3 is-size-5",color:"#16A34A"})]},k)})}),L("p",{className:"has-text-grey is-size-14px mt-3",children:[" ",f," ",p]})]})]})})},VL="",B2=({title:s,option:l,labelQuantity:u,totalNumber:a,labelAssigned:r,numberAssigned:p,onSeeMore:f,className:m})=>v("div",{className:"elv-component elv-shiftdiary",children:L("div",{className:["shiftdiary box is-flex is-flex-direction-column p-5 is-gap-5",`${m?" "+m:""}`].join(""),children:[L("div",{className:"is-flex is-justify-content-space-between is-align-items-center",children:[v("p",{className:"is-size-4 has-text-weight-bold has-text-grey-dark",children:s}),v(Ae,{label:"Ver m\xE1s",fill:"unstyled",color:"primary",className:"shiftdiary__button is-size-10px has-text-weight-medium",onClick:()=>f&&f()})]}),L("div",{className:" shiftdiary__boxdiary is-flex is-gap-5",children:[v("div",{className:"item is-flex is-flex-direction-column is-gap-4",children:l==null?void 0:l.map(g=>L("div",{className:"is-flex is-flex-direction-column is-gap-4",children:[v("div",{className:"has-text-grey-dark",children:g.time}),L("div",{className:"is-flex is-align-items-center py-4 is-justify-content-space-between",children:[L("div",{className:"is-flex is-gap-4",children:[v("div",{className:"has-text-weight-semibold has-text-grey-dark",children:g.name}),v("div",{className:"has-text-grey-dark",children:g.age})]}),L("div",{className:"shiftdiary__status is-flex",style:{backgroundColor:g.colorContains},children:[v(Ve,{icon:"fa-solid fa-circle",color:g.colorIcon,className:"mr-2"}),v("p",{className:"has-text-light is-size-7",children:g.state})]})]})]}))}),L("div",{className:"item is-flex is-flex-direction-column is-align-items-start is-gap-4",children:[L("div",{className:"shiftdiary__present radius is-flex p-4 is-align-items-center is-justify-content-space-between is-fullw",children:[L("div",{className:"is-flex",children:[v(Ve,{icon:"fa-regular fa-circle-check",className:"icon mr-2",size:"24px"}),v("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:u})]}),v("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:a})]}),L("div",{className:"shiftdiary__assigned radius is-flex p-4 is-align-items-center is-fullw is-justify-content-space-between",children:[L("div",{className:"is-flex",children:[v(Ve,{icon:"fa-regular fa-calendar",className:"icon2 mr-2",size:"24px"}),v("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:r})]}),v("div",{className:"has-text-light is-size-5 has-text-weight-bold",children:p})]})]})]})]})}),BL="",q2=({items:s,activeLabel:l,handlePosition:u,className:a,...r})=>{var p=0;const f=s.find(O=>O.label===l),[m,g]=re.useState(f),[x,k]=re.useState(f);if(m)var p=s.indexOf(m);re.useEffect(()=>{var O=s.find(M=>M.label===l);g(O),m&&(p=s.indexOf(m)),k(O)},[l,s]);const N=O=>{k(O),u&&u(O),O.onClick&&O.onClick()};return v("div",{className:"elv-component elv-steps",...r,children:v("ul",{className:`steps has-content-centered is-horizontal ${a||""}`,children:s.map((O,M)=>L("li",{className:`steps-segment ${s[M+1]!==void 0&&s[M+1]==m?"is-pre-active":""} ${O==m?"is-active":""}`,children:[v("span",{className:"steps-marker",onClick:()=>{M<=p?N(O):O.onClick&&O.onClick()},children:M<p?v("span",{className:"icon",children:v("i",{className:`${O.icon}`})}):v("span",{children:M+1})}),v("div",{className:`steps-content ${M<=p?"steps-content--completed":"steps-content--incompleted"} ${O===x&&"steps-content--position"}`,children:v("p",{className:"steps-content__item-label",children:O.label})})]},M))})})},qL="",Q2=({items:s,type:l,activeTab:u,handleActive:a,handleSubActive:r,subactiveTab:p,className:f,...m})=>v("div",{className:"elv-component elv-tabs",...m,children:v("ul",{className:`tabs tabs--${l} ${f||""}`,children:s.map((g,x)=>L("div",{className:"tabs__item",children:[l==="boxed"&&g.icon&&g.subtitle?L("li",{onClick:()=>{a&&a(g),g.sub_labels&&r&&r(g.sub_labels[0]),g.onClick&&g.onClick()},className:`item is-clickable ${x!==0?"ml-3":""} ${g.label==(u==null?void 0:u.label)?"item--active":""} ${g.disabled?"item--disabled":""}`,children:[L("div",{className:"boxed-container is-flex is-justify-content-center mb-1",children:[v(Ve,{...g.icon,className:"boxed-container__icon mb-1 mr-1"}),v("p",{className:"boxed-container__label",children:Nt(g.label,30)})]}),v("p",{className:"boxed-subtitle mb-1 is-size-7 has-text-weight-normal has-tc-truegray-600 has-text-centered",children:Nt(g.subtitle,20)})]}):v("li",{onClick:()=>{a&&a(g),g.sub_labels&&r&&r(g.sub_labels[0]),g.onClick&&g.onClick()},className:`item is-clickable ${x===0?"item--is-first":""} ${g.label==(u==null?void 0:u.label)?"item--active":""} ${g.disabled?"item--disabled":""}`,children:Nt(g.label,30)}),g.sub_labels!==void 0&&l==="vertical"&&g.sub_labels.map((k,N)=>v("li",{onClick:()=>{a&&a(g),r&&r(k),k.onClick&&k.onClick()},className:`sub-item ${x===0?"sub-item__--first":""} ${g.label==(u==null?void 0:u.label)&&k.label==(p==null?void 0:p.label)?"sub-item--active":""} ${k.disabled?"sub-item--inactive":""}`,children:Nt(k.label,25)},An()))]},g.label+An()))})}),QL="",K2=({size:s="md",fill:l="outline",disabled:u=!1,placeholder:a,error:r,options:p,defaultValue:f,minWidth:m,maxCharacters:g=30,autocomplete:x,onChangeSelect:k,className:N,...O})=>{const[M,z]=re.useState(f||""),[Y,A]=re.useState(""),[q,te]=re.useState(f||""),[J,Q]=re.useState(!1),W=($,ne)=>{$==""?z(""):z(ne),A($),te(ne),k&&k($),Q(!1)};function V($){const ne=$.target.value;z(ne),Q(!0)}const ee=p.filter($=>$.label.toLowerCase().includes(M?M.toLowerCase():"")),se=re.useRef(null);return re.useEffect(()=>{function $(ne){se.current&&!se.current.contains(ne.target)&&Q(!1)}return document.addEventListener("click",$),()=>{document.removeEventListener("click",$)}},[se]),re.useEffect(()=>{const $=p.find(ne=>ne.value===f);$?W($.value,$.label):W("","")},[f,p]),v("div",{className:"elv-component elv-autocomplete",style:{minWidth:m},...O,children:L("div",{className:`autocomplete-container ${N||""}`,ref:se,children:[L("div",{className:["autocomplete-container__autocomplete",`autocomplete--${l}`,`autocomplete--${s}`,`${r?"autocomplete--error":""} ${u?"autocomplete--disabled":""}`,,].join(" "),children:[v("input",{className:"input-autocomplete is-clickable ",type:"text",value:M||q,onChange:V,placeholder:a||"",onFocus:()=>Q(!0),readOnly:!!Y,autoComplete:x}),Y&&q!=""?v("div",{onClick:()=>{W("","")},className:"",children:v(Ve,{icon:"fa-solid fa-circle-xmark fa-2xl"})}):null]}),v("div",{className:`autocomplete-container__dropdown autocomplete--${s} ${J?"autocomplete-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",children:[a&&v("li",{className:`list__item list__item--default ${Y==a?"list__item--active":""}`,onClick:()=>{W("",a)},children:Nt(a,g||30)}),ee==null?void 0:ee.map(($,ne)=>L("li",{className:"list__item",onClick:()=>{W($.value,$.label)},children:[$.icon&&v("i",{className:`item__icon ${$.icon}`}),Nt($.label,g||30)]},ne))]})})]})})},G2=({size:s="md",fill:l="outline",disabled:u=!1,placeholder:a,error:r,options:p,value:f,defaultValue:m,minWidth:g,maxCharacters:x=30,onChangeSelect:k,className:N,...O})=>{const[M,z]=re.useState(m||""),[Y,A]=re.useState(!1),q=re.useRef(null),te=f!==void 0?f:M,J=V=>{f===void 0&&z(V.value),k==null||k(V),A(!1)},Q=V=>{f===void 0&&z(V.target.value),A(!0)},W=p.filter(V=>(V.value+" "+V.label).toLowerCase().includes((te||"").toLowerCase()));return re.useEffect(()=>{const V=ee=>{q.current&&!q.current.contains(ee.target)&&A(!1)};return document.addEventListener("click",V),()=>document.removeEventListener("click",V)},[]),re.useEffect(()=>{m&&f===void 0&&z(m)},[m,f]),v("div",{className:"elv-component elv-autocomplete",style:{minWidth:g},...O,children:L("div",{className:`autocomplete-container ${N!=null?N:""}`,ref:q,children:[L("div",{className:["autocomplete-container__autocomplete",`autocomplete--${l}`,`autocomplete--${s}`,r?"autocomplete--error":"",u?"autocomplete--disabled":""].join(" "),children:[v("input",{className:"input-autocomplete is-clickable",type:"text",disabled:u,placeholder:a,value:te,onChange:Q,onFocus:()=>A(!0)}),te&&!u&&v("div",{style:{cursor:"pointer"},onClick:()=>{f===void 0&&z(""),k==null||k({value:"",label:""})},children:v(Ve,{icon:"fa-solid fa-circle-xmark fa-2xl"})})]}),Y&&v("div",{className:`autocomplete-container__dropdown autocomplete--${s} autocomplete-container__dropdown--active `,children:v("ul",{className:"dropdown__list",children:W.length>0?W.map((V,ee)=>v("li",{className:"list__item",style:{cursor:"pointer",padding:"6px 0"},onClick:()=>J(V),children:L("div",{style:{display:"flex",flexDirection:"column"},children:[v("span",{style:{fontWeight:"bold"},children:Nt(V.value,x)}),v("span",{style:{color:"#999",fontSize:"0.85rem",marginTop:"2px"},children:Nt(V.label,x)})]})},ee)):v("li",{className:"list__item",style:{padding:"6px 0",textAlign:"center",color:"#666"},children:"No se encontraron coincidencias"})})})]})})},KL="",X2=({size:s="md",fill:l="outline",disabled:u=!1,placeholder:a,error:r,options:p,defaultValue:f,minWidth:m,maxCharacters:g=30,autocomplete:x,onChangeSelect:k,className:N,...O})=>{const[M,z]=re.useState(f||""),[Y,A]=re.useState(""),[q,te]=re.useState(f||""),[J,Q]=re.useState(!1),W=($,ne)=>{$==""?z(""):z(ne),A($),te(ne),k&&k($,ne),Q(!1)};function V($){const ne=$.target.value;z(ne),Q(!0)}const ee=p.filter($=>$.label.toLowerCase().includes(M?M.toLowerCase():"")),se=re.useRef(null);return re.useEffect(()=>{function $(ne){se.current&&!se.current.contains(ne.target)&&Q(!1)}return document.addEventListener("click",$),()=>{document.removeEventListener("click",$)}},[se]),re.useEffect(()=>{const $=p.find(ne=>ne.value===f);$?W($.value,$.label):W("","")},[f,p]),v("div",{className:"elv-component elv-autocomplete",style:{minWidth:m},...O,children:L("div",{className:`autocomplete-container ${N||""}`,ref:se,children:[L("div",{className:["autocomplete-container__autocomplete",`autocomplete--${l}`,`autocomplete--${s}`,`${r?"autocomplete--error":""} ${u?"autocomplete--disabled":""}`,,].join(" "),children:[v("input",{className:"input-autocomplete is-clickable ",type:"text",value:M||q,onChange:V,placeholder:a||"",onFocus:()=>Q(!0),readOnly:!!Y,autoComplete:x,disabled:u}),Y&&q!=""?v("div",{onClick:()=>{W("","")},className:"",children:v(Ve,{icon:"fa-solid fa-circle-xmark fa-2xl"})}):null]}),v("div",{className:`autocomplete-container__dropdown autocomplete--${s} ${J?"autocomplete-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",children:[a&&v("li",{className:`list__item list__item--default ${Y==a?"list__item--active":""}`,onClick:()=>{W("",a)},children:Nt(a,g||30)}),ee==null?void 0:ee.map(($,ne)=>L("li",{className:"list__item",onClick:()=>{W($.value,$.label)},children:[$.icon&&v("i",{className:`item__icon ${$.icon}`}),Nt($.label,g||30)]},ne))]})})]})})},GL="",Z2=({type:s,dateFormat:l,startDate:u,endDate:a,showIcon:r,withPortal:p,isRange:f,locale:m,onStartDateChange:g,onEndDateChange:x,className:k,...N})=>{const[O,M]=re.useState(u||new Date),[z,Y]=re.useState(a||new Date);return re.useEffect(()=>{g&&g(O)},[O]),re.useEffect(()=>{x&&x(z)},[z]),f?L("div",{className:"elv-component elv-datepicker",...N,children:[v(bv,{selected:O,onChange:A=>M(A),withPortal:p,showMonthYearPicker:s=="months",showYearPicker:s=="year",dateFormat:l,showIcon:r,selectsStart:!0,startDate:O,endDate:z,className:k}),v(bv,{selected:z,onChange:A=>Y(A),withPortal:p,showMonthYearPicker:s=="months",showYearPicker:s=="year",dateFormat:l,showIcon:r,selectsEnd:!0,startDate:O,endDate:z,minDate:O,className:k})]}):v("div",{className:"elv-component elv-datepicker",...N,children:v(bv,{selected:O,onChange:A=>M(A),withPortal:p,showMonthYearPicker:s=="months",showYearPicker:s=="year",dateFormat:l,showIcon:r,className:k,locale:m||"es"})})},XL="",J2=({size:s="sm",fill:l="outline",disabled:u=!1,placeholder:a,error:r,section:p,button:f,buttonCleaner:m,onChangeFilters:g,className:x,...k})=>{const[N,O]=re.useState(!1),[M,z]=re.useState(!1),[Y,A]=re.useState(!1),[q,te]=re.useState([]),[J,Q]=re.useState([]),W=(ne,de,me)=>{var De,_e,Ne;const Ce=q.findIndex(Ie=>Ie.name===de),he=[...q];if(ne==="radio")Ce>=0?he[Ce]={name:de,value:[me]}:he.push({name:de,value:[me]});else{const Ie=(_e=(De=q[Ce])==null?void 0:De.value)==null?void 0:_e.indexOf(me);Ce>=0&&Ie>=0?he[Ce].value.splice(Ie,1):Ce>=0?he[Ce].value.push(me):he.push({name:de,value:[me]})}((Ne=he[Ce])==null?void 0:Ne.value.length)===0&&he.splice(Ce,1),he.length>0&&A(!0),te(he)},V=()=>{g&&(g(q),Q(q),A(!1),q.length===0?z(!1):z(!0))},ee=()=>{te([]),document.querySelectorAll(".section__options").forEach(de=>{de.querySelectorAll("label").forEach(Ce=>{Ce.querySelectorAll("input").forEach(De=>{De.checked=!1})})}),z(!1),A(!1),g&&(g([]),Q([]))};function se(){return ne=>{O(!N)}}const $=re.useRef(null);return re.useEffect(()=>{function ne(de){$.current&&!$.current.contains(de.target)&&O(!1)}return document.addEventListener("click",ne),()=>{document.removeEventListener("click",ne)}},[$]),v("div",{className:"elv-component elv-filters",...k,children:L("div",{className:`filter-container ${x||""}`,ref:$,children:[L("div",{className:["filter-container__filter",`filter--${l}`,`filter--${s}`,`${r?"filter--error":""} ${u?"filter--disabled":""}`,,].join(" "),onClick:se(),children:[v(Ve,{icon:"fa-solid fa-filter",className:"filter"}),v("span",{className:"placeholder",children:Nt(a,25)}),J.length>0&&v(ji,{color:"primary",text:J.length.toString()}),v(Ve,{icon:"fa-solid fa-chevron-down",className:"chebron"})]}),L("div",{className:`filter-container__dropdown filter--${s} ${N?"filter-container__dropdown--active":""}`,children:[p==null?void 0:p.map(ne=>{var de;return L("div",{className:"section",children:[v("p",{className:"section__title is-5",children:ne.label}),v("div",{className:`section__options ${ne.type=="radio"?"control":"checkbox"} is-flex is-flex-direction-column`,children:(de=ne.options)==null?void 0:de.map(me=>v("div",{children:L("label",{htmlFor:me.name,className:`filter-label ${ne.type=="radio"?"radio":"checkbox"} is-flex is-justify-content-space-between`,children:[L("span",{className:"filter-label__name is-flex",children:[me.iconItem&&v(Ve,{...me.iconItem}),v("p",{className:"",children:me.name})]}),ne.type=="radio"?v(qh,{label:"",name:ne.name,size:"md",value:me.name,onCheck:()=>W(ne.type,ne.name,me.name)}):v(td,{label:"",size:"md",value:me.name,name:ne.name,onCheck:()=>W(ne.type,ne.name,me.name)})]})},me.name))})]},ne.name)}),Y||M?L("div",{className:"actionButtons is-flex is-flex-direction-column",children:[Y&&v("span",{className:"button-aplicate is-flex is-justify-content-center",children:v(Ae,{label:f.label!==void 0?Nt(f.label,25):"",trailingIcon:f.trailingIcon,isFullWidth:!0,onClick:V,...f})}),M&&v("span",{className:"button-cleaner is-flex is-justify-content-center",children:v(Ae,{...m,label:m.label!==void 0?Nt(m.label,25):"",trailingIcon:m.trailingIcon,onClick:ee})})]}):v(Qt,{})]})]})})},ZL="",eO=({nameInput:s,id:l,type:u,color:a,size:r,placeholder:p,defaultValue:f,value:m,autocomplete:g,pattern:x,onRef:k,iconLeft:N,iconRight:O,isRounded:M,isLoading:z,isDisabled:Y,hasError:A,className:q,onChangeInput:te,onKeyDown:J,onSearch:Q,...W})=>{const V=se=>{se.key==="Enter"&&ee()},ee=()=>{var ne,de;const se=re.useRef(null),$=k?(ne=k.current)==null?void 0:ne.value:(de=se.current)==null?void 0:de.value;Q&&Q($||"")};return v("div",{className:"elv-component elv-input",...W,children:v("div",{className:`field e-input ${q||""}`,children:L("p",{className:["control",`${N?" has-icons-left":""}`,`${O?" has-icons-right":""}`,`${z?" is-loading":""}`].join(""),children:[v("input",{className:["input",`${" is-"+r}`,`${a!=="none"?" is-"+a:""}`,`${M?" is-rounded":""}`,`${A?" has-error":""}`].join(""),type:u,name:s,id:l,placeholder:p,onChange:se=>{te&&te(se)},defaultValue:f,value:m,ref:k,disabled:Y,onKeyDown:J||V,autoComplete:g,pattern:x}),N&&v("span",{className:`icon is-left ${"is-"+r}`,children:v(Ve,{...N})}),O&&v("span",{className:`icon is-right ${"is-"+r}`,children:v(Ve,{...O})})]})})})},JL="",tO=({input:s,label:l,helperText:u,defaultValue:a,maxLength:r,error:p,className:f,...m})=>v("div",{className:["elv-component"," elv-form-control"].join(""),...m,children:L("div",{className:`e-input-form ${f||""}`,children:[v("div",{children:l}),v(Qh,{...s}),L("div",{children:[v("span",{className:["helper",`${p?"text--error":""}`,`${a.length>r?"text--error":""}`,`${f||""}`].join(" "),children:u}),a.length&&r?L("span",{className:["length",,].join(" "),children:[a.length,"/",r]}):null]})]})}),eU="",op=({size:s,backgroundColor:l,placeholder:u,defaultValue:a,value:r,buttonSearch:p,name:f,id:m,isDisabled:g,onChangeInput:x,onSearch:k,className:N,...O})=>{const M=re.useRef(null),z=A=>{A.key==="Enter"&&Y()},Y=()=>{var q;const A=(q=M.current)==null?void 0:q.value;k&&k(A||"")};return v("div",{className:"elv-component elv-search",...O,children:L("div",{className:`elv-component search-container search-container--${s} ${N||""}`,style:{backgroundColor:l},children:[v("input",{className:`search-container__input + ${g?"is-disabled":""}`,type:"text",name:f,id:m,placeholder:u,onChange:A=>x&&x(A.target.value),defaultValue:a,value:r,ref:M,disabled:g,onKeyDown:z}),v("span",{className:"search-container__button-search",children:v(Ae,{...p,size:s,onClick:()=>{Y()}})})]})})},nO=({size:s="md",fill:l="outline",disabled:u=!1,placeholder:a,error:r,options:p=[],value:f,minWidth:m,maxCharacters:g=30,onChangeSelect:x,className:k,...N})=>{var J,Q;const[O,M]=re.useState(!1),z=re.useRef(null),Y=re.useMemo(()=>p.find(W=>W.value===f),[p,f]),A=(Q=(J=Y==null?void 0:Y.label)!=null?J:a)!=null?Q:"";re.useEffect(()=>{if(!O)return;function W(ee){!z.current||z.current.contains(ee.target)||M(!1)}function V(ee){ee.key==="Escape"&&M(!1)}return document.addEventListener("click",W),document.addEventListener("keydown",V),()=>{document.removeEventListener("click",W),document.removeEventListener("keydown",V)}},[O]),re.useEffect(()=>{u&&M(!1)},[u]);const q=()=>{u||M(W=>!W)},te=W=>{x==null||x(W),M(!1)};return v("div",{className:"elv-component elv-select",style:{minWidth:m},...N,children:L("div",{className:`select-container ${k!=null?k:""}`,ref:z,children:[v("div",{className:["select-container__select",`select--${l}`,`select--${s}`,`${r?"select--error":""}`,`${u?"select--disabled":""}`].join(" "),role:"button","aria-haspopup":"listbox","aria-expanded":O,onClick:q,children:v("span",{children:Nt(A,g)})}),v("div",{className:`select-container__dropdown select--${s} ${O?"select-container__dropdown--active":""}`,children:L("ul",{className:"dropdown__list",role:"listbox",children:[a&&v("li",{className:`list__item list__item--default ${f===""?"list__item--active":""}`,onClick:()=>te(""),role:"option","aria-selected":f==="",children:Nt(a,g)}),p!=null&&p.length?p.map((W,V)=>{const ee=f===W.value;return L("li",{className:`list__item ${ee?"list__item--active":""}`,onClick:()=>te(W.value),role:"option","aria-selected":ee,children:[W.icon&&v("i",{className:`item__icon ${W.icon}`}),Nt(W.label,g)]},V)}):v("li",{className:"list__item",style:{opacity:.7,cursor:"default"},children:"No hay opciones"})]})})]})})},tU="",Cx=({size:s="md",disabled:l=!1,defaultChecked:u,error:a,onCheck:r,className:p,...f})=>{const[m,g]=re.useState(),x=()=>{g(!m),r&&r(!m)};return v("div",{className:"elv-component elv-switch",...f,children:L("label",{className:["switch",` switch--${s}`,`${a?" switch--error":""}`,`${p?" "+p:""}`].join(""),children:[v("input",{type:"checkbox",disabled:l,defaultChecked:u,onChange:x}),v("span",{className:"slider round"})]})})},nU="",rO=({value:s,error:l,onChangeInput:u,placeholder:a,defaultValue:r,disabled:p,required:f,rows:m=5,cols:g=50,className:x,...k})=>v("div",{className:"elv-component elv-textArea",children:v("textarea",{className:["textarea",`${l?" textarea--error":""}`,`${x?" "+x:""}`].join(""),onChange:N=>u(N.target.value),placeholder:a,disabled:p,defaultValue:r,required:f,rows:m,cols:g,...k})}),rU="",aU="",xx=({className:s,progressBar:l,showBar:u,file:a,file_name:r,file_size:p,onPreview:f,onDelete:m,...g})=>v("div",{className:"elv-component elv-uploadfile",...g,children:L("div",{className:["uploadfile p-4 is-flex is-align-items-center is-relative ",`${s?" "+s:""}`].join(""),children:[v("div",{className:"mr-5",children:r&&v(Ve,{icon:lk(r),className:"has-tc-primary-600",size:"24px"})}),L("div",{className:"uploadfile__info is-flex-direction-column ",children:[L("div",{className:"is-flex is-justify-content-space-between is-align-items-center ",children:[L("div",{className:"is-flex is-align-items-center",children:[r?v("p",{className:"file_name is-size-7",children:r}):a?v("p",{className:"file_name is-size-7",children:a.name}):v(Qt,{}),v("span",{className:"uploadfile__elipse has-background-grey mt-2 mr-2 ml-2"}),v(Ae,{label:"Previsualizar",fill:"unstyled",className:"preview",onClick:()=>{a&&f&&f(a)}})]}),p?v("div",{className:"is-size-7",children:E0(p)}):a?v("div",{className:"is-size-7",children:E0(a.size)}):v(Qt,{})]}),u&&v("div",{className:"uploadfile__progress pt-2",children:v(D0,{...l})})]}),v("div",{className:"uploadfile__icon is-absolute",onClick:()=>{a&&m&&m(a)},children:v(Ve,{icon:"fa-solid fa-circle-xmark fa-2xl"})})]})}),aO=({className:s,labelSelection:l,labelData:u,maxSizeInMB:a,maxFiles:r,progressUpload:p,defaultFiles:f,acceptedExtensions:m,onProgressFile:g,onPreviewFile:x,onDeleteFile:k,onErrorSize:N,onErrorExtensions:O,...M})=>{const[z,Y]=re.useState(!1),[A,q]=re.useState(()=>!m||(m==null?void 0:m.length)===0?f||[]:(f||[]).filter(se=>{var ne;const $=(ne=se.name.split(".").pop())==null?void 0:ne.toLowerCase();return m==null?void 0:m.includes($||"")})),te=se=>{se.preventDefault(),Y(!0)},J=()=>{Y(!1)},Q=se=>{se.preventDefault(),Y(!1);const $=se.dataTransfer.files;$&&V($)},W=se=>{const $=se.target.files;$&&V($)},V=se=>{var $;if(console.log(""),se.length<=r&&A.length+se.length<=r)for(let ne=0;ne<se.length;ne++){const de=se[ne],me=de.name.split("."),Ce=me.length>1?($=me.pop())==null?void 0:$.toLowerCase():"";if((m==null?void 0:m.length)===0||(m==null?void 0:m.includes(Ce||""))){if(de.size<=a*1024*1024)g&&g(de);else{N&&N(de);return}q(he=>[...he,de])}else{O&&O(de);return}}else{alert("La cantidad de archivos exceden el m\xE1ximo que es: "+r+".");return}},ee=se=>{const $=A.filter(ne=>ne!==se);q($)};return v("div",{className:"elv-component elv-uploadfiles",...M,children:L("div",{className:["uploadfiles is-flex is-flex-direction-column is-align-items-center is-gap-4 p-5",`${s?" "+s:""}`].join(""),children:[v("div",{className:`uploadfiles__files file ${z?"dragging":""}`,onDragEnter:te,onDragLeave:J,onDragOver:se=>se.preventDefault(),onDrop:Q,children:L("label",{htmlFor:"file-input",className:"file-label",children:[v("input",{id:"file-input",className:"file-input",type:"file",name:"resume",onChange:W,multiple:!0}),L("span",{className:"file-cta px-6 py-5 is-flex-direction-column",children:[v("span",{className:"file-icon",children:v(Ve,{icon:"fas fa-upload has-text-grey-dark mb-3"})}),v("span",{className:"file-label has-text-grey-dark",children:l})]})]})}),v("div",{className:"uploadfiles__data",children:u}),A.length>0?v("div",{children:A.map((se,$)=>v("div",{className:"uploadfiles__download mb-3",children:v(xx,{showBar:!!(p&&p[$]&&p[$]!==100),file:se,file_name:se.name,file_size:se.size,onPreview:ne=>{x&&x(ne)},onDelete:ne=>{k&&k(ne),ee(ne)},progressBar:{value:p&&p[$]?p[$]:0}})},$))}):null]})})},iU="",iO=({columnItems:s,finalItem:l,logo_1:u,logo_2:a,endButtonLinks:r,butonLegal:p,className:f,...m})=>{var g=new Date,x=g.getFullYear();return v("div",{className:"elv-component elv-footer",...m,children:L("div",{className:`footer-component is-flex is-flex-direction-column ${f||""}`,children:[L("div",{className:"footer-component__container",children:[s&&v(Qt,{children:s.map(k=>L("div",{className:"column-item is-flex is-flex-direction-column",children:[v("p",{className:"column-item__title",children:k.title}),k.buttonLinks.map(N=>v("span",{className:"column-item__button",children:v(Ae,{...N})},An())),v("span",{className:"column-item__final",children:v(Ae,{...k.finalLink})})]},An()))}),l&&L("div",{className:"final-item is-flex is-flex-direction-column",children:[v("p",{className:"final-item__title",children:l.title}),l.buttonLinks.map(k=>v("span",{className:"final-item__button",children:v(Ae,{...k})},An())),v("p",{className:"final-item__phoneNumber",children:l.phoneNumber})]})]}),L("div",{className:"footer-component__end",children:[L("div",{className:"logos is-flex",children:[v("img",{className:"logo1",src:u,alt:""}),L("div",{className:"gob-centro is-flex is-flex-direction-column is-justify-content-center",children:[L("div",{className:"text-gob-centro",children:[v("p",{children:v("strong",{children:" Gobierno de Corrientes. Ministerio de Hacienda y Finanzas. Direccion General de Rentas"})}),v("p",{children:"Casa Central: 25 de Mayo 902 PB, Corrientes(W3400BCJ) - Corrientes"}),v("p",{children:"Centro Integral de Atencion al Contribuyente(CIAC): Av. Juan Pujol 2330, Corrientes(W3400BKU)."})]}),v(Ae,{...p})]}),v("img",{className:"logo2",src:a,alt:""})]}),L("div",{className:"copy is-flex",children:[v("div",{className:"copy__text is-flex",children:L("p",{children:["Copyright\xA9 ",x," - Rentas Corrientes"]})}),r&&v("div",{className:"end-button-links is-flex",children:r.map(k=>v("div",{className:"end-button-links__item is-flex",children:v("span",{className:"end-button-links__button",children:v(Ae,{...k})},k.label)},An()))})]})]})]})})},oU="",oO="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNlZ21lbnQiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTUuODMyNSAxOC45MzA3SDMuODMyNTJWMTYuOTMwN0gxNS44MzI1VjE4LjkzMDdaTTIxLjgzMjUgNi45MzA2NlY4LjkzMDY2SDMuODMyNTJWNi45MzA2NkgyMS44MzI1Wk0xNS44MzI1IDEzLjkzMDdIMy44MzI1MlYxMS45MzA3SDE1LjgzMjVWMTMuOTMwN1oiIGZpbGw9ImJsYWNrIi8+CjwvZz4KPC9zdmc+Cg==",lO=({className:s,logged:l,logo:u,logoMobile:a,navItems:r,iconFunctions:p,buttonLogin:f,userInfo:m,notUserDropComponent:g,...x})=>{var ne,de,me,Ce;const[k,N]=re.useState(!1),[O,M]=re.useState(!1),[z,Y]=re.useState(window.innerWidth<1217),[A,q]=re.useState(window.innerWidth<654),[te,J]=re.useState(null),[Q,W]=re.useState((ne=p==null?void 0:p.reduce((he,De)=>({...he,[De.uniqueValue]:{active:!1,name:null}}),{}))!=null?ne:{}),V=re.useRef(null),ee=p==null?void 0:p.map(()=>re.useRef(null)),se=he=>{J(De=>De===he?null:he),W(De=>({...Object.keys(De).reduce((_e,Ne)=>(_e[Ne]={active:Ne===he,name:De[Ne].name},_e),{})}))};re.useEffect(()=>{function he(De){var _e;Object.values(Q).some(Ne=>Ne.active)&&!De.defaultPrevented&&!((_e=V.current)!=null&&_e.contains(De.target))&&(W(Ne=>Object.keys(Ne).reduce((Ie,ft)=>({...Ie,[ft]:{active:!1,name:Ne[ft].name}}),{})),J(null))}return document.addEventListener("click",he),()=>{document.removeEventListener("click",he)}},[V,Q]);const $=re.useRef(null);return re.useEffect(()=>{function he(De){$.current&&!$.current.contains(De.target)&&M(!1)}return document.addEventListener("click",he),()=>{document.removeEventListener("click",he)}},[$]),re.useEffect(()=>{function he(){Y(window.innerWidth<1217),q(window.innerWidth<654)}return window.addEventListener("resize",he),()=>{window.removeEventListener("resize",he)}},[]),v("div",{className:"elv-component elv-header",...x,children:v("div",{className:`navbar-container ${s||""}`,children:L("nav",{className:"navbar container",role:"navigation","aria-label":"main navigation",children:[L("div",{className:"navbar-brand",children:[v("a",{role:"button",className:`navbar-burger ${k?"is-active":""}`,"aria-label":"menu","aria-expanded":"false","data-target":"rentas-ctes-header",onClick:()=>N(!k),children:v("img",{src:oO,alt:"Burger SVG"})}),u&&v(Qt,{children:A?v("a",{className:"navbar-item px-1",onClick:()=>{a!=null&&a.onClick&&a.onClick()},children:v("img",{src:a==null?void 0:a.src,alt:"Logo Header",height:u.height,width:u.width})}):v("a",{className:"navbar-item pt-0",onClick:()=>{u!=null&&u.onClick&&u.onClick()},children:v("img",{src:u.src,alt:"Logo Header",height:u.height,width:u.width})})})]}),v("div",{id:"rentas-ctes-header",className:`navbar-menu ${k?"is-active":""}`,children:v("div",{className:"navbar-start",children:r&&r.map(he=>v("a",{className:"navbar-item item-text",onClick:he.onClick,children:he.label},An()))})}),L("div",{className:"navbar-end is-flex",children:[v("div",{className:"icon-functions is-flex",ref:V,children:p&&p.map((he,De)=>L("div",{className:["item-icon "].join(""),ref:ee&&ee[De],children:[v("span",{children:v(Ae,{...he.buttonIcon,onClick:()=>{var _e;se(he.uniqueValue),(_e=he.buttonIcon)!=null&&_e.onClick&&he.buttonIcon.onClick()}})}),he.badge&&v(Qt,{children:v("span",{className:"item-icon__badge-notif",children:v(ji,{...he.badge})})}),he.iconDropComponent&&v("div",{className:`drop-component drop-component__icon ${Q[he.uniqueValue]&&p[De].uniqueValue===te?"is-active":""}`,children:he.iconDropComponent})]},An()))}),l?v(Qt,{children:z?L("div",{className:"navbar-item user-mobile is-flex is-align-items-center",ref:$,children:[v("div",{className:"user-mobile__icon",children:v(Ve,{icon:"far fa-user",size:"20px",className:"pb-1 is-clickable",onClick:()=>M(!O)})}),m.userDropComponent&&v("div",{className:`drop-component drop-component__user ${O&&"is-active"}`,children:m.userDropComponent})]}):L("div",{className:"navbar-item user-desktop",ref:$,children:[L("div",{className:"user-sec is-flex is-align-items-center",onClick:()=>M(!O),children:[L("div",{className:"user-sec__text",children:[L("p",{className:"names",children:["Hola, ",m.name," ",m.lastName]}),v("p",{className:"description",children:m.description})]}),L("div",{className:"user-sec__icons is-flex",children:[(de=m.avatar)!=null&&de.icon?L("div",{className:"user-icon",children:[v(Ve,{icon:m.avatar.icon.icon}),m.avatar.stateColor&&v("span",{className:"user-icon__state",children:v(Ve,{icon:"fa fa-circle",color:m.avatar.stateColor,size:"10px"})})]}):v("img",{src:(Ce=(me=m.avatar)==null?void 0:me.img)==null?void 0:Ce.src,width:"16px",height:"16px",style:{borderRadius:"50%"}}),v(Ve,{icon:"fa-solid fa-chevron-down"})]})]}),m.userDropComponent&&v("div",{className:`drop-component drop-component__user ${O&&"is-active"}`,children:m.userDropComponent})]})}):v(Qt,{children:z?L("div",{className:"navbar-item user-mobile is-flex is-align-items-center",ref:$,children:[v("div",{className:"user-mobile__icon",children:v(Ve,{icon:"far fa-user",size:"20px",className:"pb-1 is-clickable",onClick:()=>M(!O)})}),g&&v("div",{className:`drop-component drop-component__user ${O&&"is-active"}`,children:g})]}):v("div",{className:"navbar-item",children:v(Ae,{...f})})})]})]})})})},lU="",sO=({className:s,search:l,pagination:u,selectList:a,button:r,menuButton:p,menuDropComponent:f,...m})=>{const[g,x]=re.useState(!1),k=re.useRef(null);return re.useEffect(()=>{function N(O){k.current&&!k.current.contains(O.target)&&x(!1)}return document.addEventListener("click",N),()=>{document.removeEventListener("click",N)}},[k]),v("div",{className:`elv-component elv-header-table ${s||""}`,...m,children:L("div",{className:"header-table is-flex",children:[l&&v("span",{children:v(op,{...l})}),a&&a.map(N=>v("span",{children:v(nd,{...N})},An())),u&&v(Cv,{...u}),r&&v(Ae,{...r}),p&&L("div",{ref:k,className:"menuButton",children:[v(Ae,{...p,onClick:()=>{x(!g),p.onClick&&p.onClick()}}),f&&g&&v("div",{className:"menuButton__dropComponent",children:f})]})]})})},sU="",uO=({className:s,buttonShow:l,title:u,show:a,search:r,itemsPerPage:p=5,listClassName:f="",listOfComponents:m,listLineSeparation:g=!1,onShow:x,onClose:k,...N})=>{const[O,M]=re.useState(a),[z,Y]=re.useState(1),[A,q]=re.useState(0),te=re.useRef(null),J=re.useRef(null),[Q,W]=re.useState(p);re.useEffect(()=>{M(a)},[a]),re.useEffect(()=>{W(p)},[p]);const V=`${p*A+p}px`;return L("div",{className:"elv-component elv-sidebar",...N,children:[!O&&v("div",{className:"is-flex is-justify-content-end",children:v(Ae,{...l,onClick:()=>{M(!0),x&&x()}})}),O&&v("div",{className:"modal-background",onClick:()=>{M(!1),k&&k()}}),L("div",{className:`sidebar-container is-flex is-flex-direction-column ${O?"is-open":""} ${s||""}`,children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center",children:[v(Ae,{fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{M(!1),k&&k()}}),v("p",{className:"title is-5",children:u})]}),r&&v("div",{className:"sidebar-container__search",children:v(op,{...r})}),v("div",{ref:J,className:`sidebar-container__list is-flex is-flex-direction-column is-gap-4 ${f} `,style:{minHeight:V},children:m.slice((z-1)*p,z*p).map((ee,se)=>v("div",{ref:te,className:`listItem ${g?" line-separation":""}`,children:ee},An()))}),v("div",{className:"sidebar-container__pagination is-flex is-justify-content-center is-align-items-end",children:(m==null?void 0:m.length)>p&&v(Cv,{onChangePage:ee=>{Y(ee)},minItemsPerPage:Q,totalItems:m.length,showTotals:!0,isColumn:!0})})]})]})},uU="",cO=({className:s,title:l,show:u,button:a,buttonShow:r,buttonShowVisible:p,optionalButton:f,optionalButton2:m,children:g,position:x="right",footerbutton:k,onShow:N,...O})=>{const[M,z]=re.useState(u);return re.useEffect(()=>{z(u)},[u]),L("div",{className:"elv-component elv-sidebarEmpty",...O,children:[p&&!M&&v("div",{className:"is-flex is-justify-content-end",children:v(Ae,{...r,onClick:()=>{z(!0),N&&N()}})}),M&&v("div",{className:"modal-background",onClick:()=>{z(!1),N&&N()}}),L("div",{className:[`sidebar-container is-flex is-flex-direction-column is-justify-content-space-between ${M?"is-open":""}`,` sidebar-container--${x}`,`${s?" "+s:""}`].join(""),children:[L("div",{children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center mb-4 is-gap-4",children:[v("div",{className:"sidebar-container__button mr-3",children:v(Ae,{...a,fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{z(!1),N&&N()}})}),v("p",{className:"title is-5 has-text-link-dark",children:l})]}),v("div",{className:"sidebar-container__content",children:g})]}),k&&v("div",{children:L("div",{className:"button-container is-flex pl-5 pb-5",children:[v("div",{className:"button-container__opt ml-5",children:f&&v(Ae,{...f})}),v("div",{className:"button-container__opt",children:m&&v(Ae,{...m})})]})})]})]})},cU="",dO=({className:s,border:l,size:u,label:a,description:r,backButton:p,leftIcon:f,rectangle:m,actionButtons:g,addButton:x,removeButton:k,linkButton:N,iconButton:O,switcherLabel:M,switcher:z,labelRight:Y,...A})=>v("div",{className:"elv-component elv-subtitle",...A,children:L("div",{className:`subtitle-component ${l&&"subtitle-component--border-bot-gray"} ${s||""}`,children:[L("div",{className:"subtitle-component__left is-flex is-justify-content-start is-align-items-start",children:[p&&v("div",{className:"left-backButton",children:v(Ae,{...p})}),L("div",{className:"left-texts",children:[L("div",{className:"left-texts__principal is-flex is-align-items-center",children:[f&&v(Ve,{...f}),m&&v("span",{className:"left-texts__principal__rectangle"}),a&&v("p",{className:`left-texts__principal__label left-texts__principal__label--${u}`,children:a})]}),r&&v("p",{className:`left-texts__description left-texts__description--${u}`,children:r})]})]}),L("div",{className:"subtitle-component__right is-flex is-align-items-center",children:[x||k?L("div",{className:"right-editButtons is-flex",children:[x&&v("span",{className:"right-editButtons__addButton",children:v(Ae,{...x})}),k&&v("span",{className:"right-editButtons__removeButton",children:v(Ae,{...k})})]}):v(Qt,{}),N&&v("span",{className:"right-linkButton",children:v(Ae,{...N})}),O&&v("span",{children:v(Ae,{...O})}),z&&L("div",{className:"right-switcher is-flex is-align-items-center",children:[M&&v("p",{className:"right-switcher__label",children:M}),v(Cx,{...z})]}),Y&&v("p",{className:"right-label",children:Y})]})]})}),dU="",fO=({className:s,subtitle:l,title:u,description:a,descriptionWidth:r,secondDescription:p,actionsButtons:f,search:m,button:g,buttonWidth:x,backButton:k,searchWidth:N,align:O,...M})=>v("div",{className:"elv-component elv-title",...M,children:L("div",{className:`title-component-container ${k&&"title-component-container--backButton"} ${s||""}`,children:[k&&v("div",{className:"title-component-container__backButton is-flex",children:v(Ae,{...k})}),L("div",{className:`title-component title-component--${O} is-flex is-flex-direction-column`,children:[l&&v("p",{className:"title-component__subtitle",children:l.toUpperCase()}),u&&v("p",{className:"title-component__title",children:u}),L("div",{className:`title-component__content is-flex title-component__content--${O} is-flex-direction-column ${k&&"title-component__content--backButton"}`,children:[a&&v("p",{className:"title-component__description",style:{width:r},children:a}),p&&v("p",{className:"title-component__secondDescription",style:{width:r},children:p}),f&&v("span",{className:"title-component__actionButtons is-flex",children:f.map(z=>v("span",{children:v(Ae,{...z})},z.label))}),m&&v("span",{className:"title-component__search",style:{width:N},children:v(op,{...m})}),g&&v("span",{className:"title-component__button",style:{width:x},children:v(Ae,{...g})})]})]})]})}),fU="",pO=({className:s,buttonShow:l,title:u,show:a,search:r,itemsPerPage:p=5,listClassName:f="",listOfComponents:m=[],listLineSeparation:g=!1,onShow:x,onClose:k,children:N,width:O="315px",showOpenButton:M=!1,...z})=>{const[Y,A]=re.useState(a),[q,te]=re.useState(1),[J,Q]=re.useState(0),W=re.useRef(null),V=re.useRef(null),[ee,se]=re.useState(p);re.useEffect(()=>{A(a)},[a]),re.useEffect(()=>{se(p)},[p]);const $=`${p*J+p}px`;return L("div",{className:"elv-component elv-sidebar",...z,children:[!Y&&M&&l&&v("div",{className:"is-flex is-justify-content-end",children:v(Ae,{...l,onClick:()=>{A(!0),x&&x()}})}),Y&&v("div",{className:"modal-background",onClick:()=>{A(!1),k&&k()}}),L("div",{className:`sidebar-container is-flex is-flex-direction-column ${s!=null?s:""}`,style:{width:O,right:Y?"0":`-${O}`},children:[L("div",{className:"sidebar-container__header is-flex is-align-items-center",children:[v(Ae,{fill:"unstyled",icon:"fa-solid fa-xmark",size:"medium",onClick:()=>{A(!1),k&&k()}}),v("p",{className:"title is-5",children:u})]}),r&&v("div",{className:"sidebar-container__search",children:v(op,{...r})}),v("div",{ref:V,className:`sidebar-container__list overflow-y-scroll is-flex is-flex-direction-column is-gap-4 ${f}`,style:{minHeight:$},children:N||m.slice((q-1)*ee,q*ee).map(ne=>v("div",{ref:W,className:`listItem ${g?" line-separation":""}`,children:ne},An()))}),!N&&(m==null?void 0:m.length)>ee&&v("div",{className:"sidebar-container__pagination is-flex is-justify-content-center is-align-items-end",children:v(Cv,{onChangePage:ne=>{te(ne)},minItemsPerPage:ee,totalItems:m.length,showTotals:!0,isColumn:!0})})]})]})};nt.Alert=ak,nt.AssistanceDiary=ik,nt.Autocomplete=K2,nt.Autocomplete2=G2,nt.Autocomplete3=X2,nt.AverageAttended=ok,nt.Badge=ji,nt.Breadcrumb=sk,nt.Button=Ae,nt.CTA=k2,nt.CardActivity=fk,nt.CardCTA=uk,nt.CardExpiration=ck,nt.CardHorizontal=pk,nt.CardUser=hk,nt.CardVertical=dk,nt.Cart=vk,nt.Checkbox=td,nt.Collapse=N0,nt.CollapseEdit=Ig,nt.CollapseMobile=T0,nt.CompleteDiary=S2,nt.DatePickerComponent=Z2,nt.Dropdown=D2,nt.EmptyState=E2,nt.ErrorPage=N2,nt.Filters=J2,nt.Footer=iO,nt.Header=lO,nt.HeaderTable=sO,nt.Icon=Ve,nt.IncomingCall=T2,nt.Input=Qh,nt.Input2=eO,nt.InputForm=tO,nt.ModalConfirm=M2,nt.ModalConfirm2=P2,nt.ModalConfirm3=A2,nt.Pagination=Cv,nt.Pagination2=L2,nt.PerformanceAssessment=V2,nt.ProgressBar=D0,nt.Radio=qh,nt.Search=op,nt.Select=nd,nt.Select2=nO,nt.ShiftDiary=B2,nt.Sidebar=uO,nt.SidebarChildren=pO,nt.SidebarEmpty=cO,nt.Stepper=q2,nt.Subtitle=dO,nt.Switch=Cx,nt.Tabs=Q2,nt.Textarea=rO,nt.Title=fO,nt.Tooltip=Bh,nt.UploadFileItem=xx,nt.UploadFiles=aO,Object.defineProperties(nt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|