@solfacil/girassol 0.2.4 → 0.2.7

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.
Files changed (31) hide show
  1. package/dist/components.d.ts +3 -0
  2. package/dist/components.json +1 -1
  3. package/dist/girassol.es.js +1083 -808
  4. package/dist/girassol.umd.js +6 -6
  5. package/dist/style.css +1 -1
  6. package/dist/theme/solfacil/index.d.ts +2 -1
  7. package/dist/theme/solfacil/miscs.d.ts +124 -0
  8. package/dist/theme/solfacil/screens.d.ts +11 -0
  9. package/dist/theme/solfacil/spacing.d.ts +28 -18
  10. package/dist/types/components/informations/chip/Chip.vue.d.ts +1 -1
  11. package/dist/types/components/menus/menu/Menu.vue.d.ts +114 -0
  12. package/dist/types/components/menus/menu/index.d.ts +2 -0
  13. package/dist/types/components/menus/menu/menu.spec.d.ts +1 -0
  14. package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +88 -0
  15. package/dist/types/components/menus/menu-item/menu-item-link/index.d.ts +2 -0
  16. package/dist/types/components/menus/menu-item/menu-item-link/types.d.ts +6 -0
  17. package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +83 -0
  18. package/dist/types/components/menus/menu-navigation-links/index.d.ts +2 -0
  19. package/dist/types/composables/use-navigate/index.d.ts +20 -0
  20. package/dist/types/composables/use-navigate/types.d.ts +19 -0
  21. package/dist/types/composables/use-toast/Toast.vue.d.ts +4 -4
  22. package/dist/types/index.d.ts +385 -26
  23. package/package.json +11 -11
  24. package/theme/safelist.ts +2 -0
  25. package/theme/solfacil/index.ts +3 -1
  26. package/theme/solfacil/miscs.ts +12 -1
  27. package/theme/solfacil/screens.ts +5 -0
  28. package/theme/solfacil/spacing.ts +27 -50
  29. package/theme/solfacil/utilities.ts +11 -0
  30. package/vite.config.ts +2 -1
  31. package/windi.config.ts +5 -2
@@ -1,6 +1,6 @@
1
- (function(y,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(y=typeof globalThis<"u"?globalThis:y||self,e(y.girassol={},y.Vue))})(this,function(y,e){"use strict";const se=[e.createElementVNode("path",{class:"path",d:"M16.0008 1.5C17.905 1.5 19.7905 1.87506 21.5497 2.60375C23.3089 3.33244 24.9074 4.4005 26.2538 5.74695C27.6003 7.0934 28.6684 8.69187 29.397 10.4511C30.1257 12.2103 30.5008 14.0958 30.5008 16C30.5008 17.9042 30.1257 19.7897 29.397 21.5489C28.6684 23.3081 27.6003 24.9066 26.2538 26.2531C24.9074 27.5995 23.3089 28.6676 21.5497 29.3963C19.7905 30.1249 17.905 30.5 16.0008 30.5C14.0966 30.5 12.2111 30.1249 10.4519 29.3963C8.69266 28.6676 7.09419 27.5995 5.74774 26.253C4.4013 24.9066 3.33323 23.3081 2.60454 21.5489C1.87585 19.7897 1.50079 17.9042 1.50079 16C1.5008 14.0958 1.87585 12.2103 2.60454 10.4511C3.33324 8.69187 4.4013 7.0934 5.74775 5.74695C7.0942 4.4005 8.69267 3.33244 10.4519 2.60375C12.2111 1.87505 14.0966 1.5 16.0008 1.5L16.0008 1.5Z"},null,-1)],re=e.defineComponent({__name:"CircleLoader",props:{size:{default:"large"},dark:{type:Boolean}},setup(t){return(n,l)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["sol-inner-loader",`-${t.size}`]),viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},se,2))}}),Bl="",me=["data-testid","disabled"],he={class:"icon -left"},ue={class:"icon -right"},fe={key:0,class:"loading"},x=e.defineComponent({__name:"Button",props:{id:null,loading:{type:Boolean},onColor:{type:Boolean,default:!1},disabled:{type:Boolean},size:{default:"large"},variant:{default:"primary"}},setup(t){function n(i,d){return i?d:""}const l=e.useSlots(),a=e.computed(()=>!!(l!=null&&l.default)&&(!!(l!=null&&l["icon-right"])||!!(l!=null&&l["icon-left"]))),o=e.computed(()=>!(l!=null&&l.default)&&(!!(l!=null&&l["icon-right"])||!!(l!=null&&l["icon-left"])));return(i,d)=>(e.openBlock(),e.createElementBlock("button",{"data-testid":`button-${t.id}`,class:e.normalizeClass(["sol-button-core",`-${t.variant} -${t.size}
2
- ${n(t.loading,"-loading-helper")}
3
- ${n(t.onColor,"-on-color")}
4
- ${n(e.unref(a),"-has-icon")}
5
- ${n(e.unref(o),"-only-icon")}
6
- `]),type:"button",disabled:t.disabled||t.loading},[e.createElementVNode("div",he,[e.renderSlot(i.$slots,"icon-left")]),e.renderSlot(i.$slots,"default"),e.createElementVNode("div",ue,[e.renderSlot(i.$slots,"icon-right")]),t.loading?(e.openBlock(),e.createElementBlock("div",fe,[e.createVNode(re,{"data-testid":`button-loader-${t.id}`,size:t.size==="small"?"small":"medium",dark:t.onColor},null,8,["data-testid","size","dark"])])):e.createCommentVNode("",!0)],10,me))}}),wl="",$e={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},be=[e.createElementVNode("path",{fill:"currentColor",d:"M7 21q-.825 0-1.412-.587Q5 19.825 5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413Q17.825 21 17 21ZM17 6H7v13h10ZM9 17h2V8H9Zm4 0h2V8h-2ZM7 6v13Z"},null,-1)];function ye(t,n){return e.openBlock(),e.createElementBlock("svg",$e,be)}const ge={name:"material-symbols-delete-outline",render:ye},Z=e.defineComponent({__name:"ButtonDestructive",props:{id:null,size:null,loading:{type:Boolean}},setup(t){return(n,l)=>(e.openBlock(),e.createBlock(x,{id:`destructive-${t.id}`,size:t.size,loading:t.loading,variant:"primary",class:"button-destructive"},{"icon-left":e.withCtx(()=>[e.createVNode(e.unref(ge))]),default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["id","size","loading"]))}}),Sl="";x.install=t=>{t.component("SolButton",x)},Z.install=t=>{t.component("SolButton",x)};const ke=["id","data-testid","value"],V=e.defineComponent({__name:"Input",props:{id:null,modelValue:null,invert:{type:Boolean},error:{type:Boolean}},emits:["update:modelValue"],setup(t,{expose:n,emit:l}){function a({target:i}){l("update:modelValue",i==null?void 0:i.value)}const o=e.ref("");return n({input:o}),(i,d)=>(e.openBlock(),e.createElementBlock("input",{id:`input-${t.id}`,ref_key:"input",ref:o,"data-testid":`input-${t.id}`,value:t.modelValue,class:e.normalizeClass(["sol-input-core",{"-invert":t.invert,"-error":t.error}]),onInput:a},null,42,ke))}}),El="";V.install=t=>{t.component("SolInput",V)};const Be=["id","data-testid"],we=["for"],Ce={class:"container-input"},Se=["id"],Ee=["id"],T=e.defineComponent({__name:"Textfield",props:{id:null,class:null,modelValue:{default:""},label:{default:"label"},hint:null,invert:{type:Boolean},error:null},emits:["update:modelValue"],setup(t,{emit:n}){const l=t,a=e.computed({get:()=>l.modelValue,set:d=>{n("update:modelValue",d)}});function o(d,s){return!!d&&!s}function i(d,s){return s?`error-${l.id}`:o(d,s)?`hint-${l.id}`:null}return(d,s)=>{var r;return e.openBlock(),e.createElementBlock("div",{id:`textfield-${t.id}`,"data-testid":`textfield-${t.id}`,class:e.normalizeClass([[`${(r=d.$props.class)!=null?r:""}`,{"-invert":t.invert}],"sol-textfield-core"])},[e.renderSlot(d.$slots,"label",{},()=>[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:`input-${t.id}`,class:"label"},[e.createElementVNode("span",null,e.toDisplayString(t.label),1)],8,we)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ce,[e.renderSlot(d.$slots,"default",{},()=>[e.createVNode(V,e.mergeProps(d.$attrs,{id:t.id,modelValue:e.unref(a),"onUpdate:modelValue":s[0]||(s[0]=m=>e.isRef(a)?a.value=m:null),"data-testid":`input-${t.id}`,class:[t.error&&"-error","input"],invert:t.invert,"aria-invalid":!!t.error,"aria-describedby":i(t.hint,t.error)}),null,16,["id","modelValue","data-testid","class","invert","aria-invalid","aria-describedby"])]),e.renderSlot(d.$slots,"icon")]),o(t.hint,t.error)?(e.openBlock(),e.createElementBlock("span",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,Se)):t.error?(e.openBlock(),e.createElementBlock("span",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,Ee)):e.createCommentVNode("",!0)],10,Be)}}}),Vl="",Ve={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},pe=[e.createElementVNode("g",{fill:"currentColor"},[e.createElementVNode("path",{d:"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0z"}),e.createElementVNode("path",{d:"M21.894 11.553C19.736 7.236 15.904 5 12 5c-3.903 0-7.736 2.236-9.894 6.553a1 1 0 0 0 0 .894C4.264 16.764 8.096 19 12 19c3.903 0 7.736-2.236 9.894-6.553a1 1 0 0 0 0-.894zM12 17c-2.969 0-6.002-1.62-7.87-5C5.998 8.62 9.03 7 12 7c2.969 0 6.002 1.62 7.87 5c-1.868 3.38-4.901 5-7.87 5z"})],-1)];function xe(t,n){return e.openBlock(),e.createElementBlock("svg",Ve,pe)}const Ne={name:"mi-eye",render:xe},ze={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Te=[e.createElementVNode("path",{fill:"currentColor",d:"M4.707 3.293a1 1 0 0 0-1.414 1.414l2.424 2.424c-1.43 1.076-2.678 2.554-3.611 4.422a1 1 0 0 0 0 .894C4.264 16.764 8.096 19 12 19c1.555 0 3.1-.355 4.53-1.055l2.763 2.762a1 1 0 0 0 1.414-1.414l-16-16zm10.307 13.135c-.98.383-2 .572-3.014.572c-2.969 0-6.002-1.62-7.87-5c.817-1.479 1.858-2.62 3.018-3.437l2.144 2.144a3 3 0 0 0 4.001 4.001l1.72 1.72zm3.538-2.532c.483-.556.926-1.187 1.318-1.896c-1.868-3.38-4.9-5-7.87-5c-.112 0-.224.002-.336.007L9.879 5.223A10.215 10.215 0 0 1 12 5c3.903 0 7.736 2.236 9.894 6.553a1 1 0 0 1 0 .894a13.106 13.106 0 0 1-1.925 2.865l-1.417-1.416z"},null,-1)];function Me(t,n){return e.openBlock(),e.createElementBlock("svg",ze,Te)}const De={name:"mi-eye-off",render:Me},Le=["aria-label"],R=e.defineComponent({__name:"TextfieldPassword",props:{id:{default:""},label:{default:"Sua senha"}},setup(t){const n=e.ref(!1),l=e.computed(()=>n.value?"text":"password");return(a,o)=>(e.openBlock(),e.createBlock(T,{id:t.id,required:"",type:e.unref(l),label:t.label,placeholder:"Insira sua senha"},{icon:e.withCtx(()=>[e.createElementVNode("button",{type:"button","data-testid":"toggle-type-password","aria-label":n.value?"Hide password":"Show password",onClick:o[0]||(o[0]=i=>n.value=!n.value)},[e.withDirectives(e.createVNode(e.unref(Ne),{"aria-hidden":"true"},null,512),[[e.vShow,n.value]]),e.withDirectives(e.createVNode(e.unref(De),{"aria-hidden":"true"},null,512),[[e.vShow,!n.value]])],8,Le)]),_:1},8,["id","type","label"]))}});T.install=t=>{t.component("SolTextfield",T)},R.install=t=>{t.component("SolTextfieldPassword",R)};const Pe=["id","data-testid"],Ae=["for"],Ie={class:"container-textarea"},Oe=["id","data-testid","invert","aria-invalid","aria-describedby"],Re=["id"],He=["id"],H=e.defineComponent({__name:"Textarea",props:{id:null,class:null,modelValue:{default:""},label:{default:"label"},hint:null,invert:{type:Boolean},resize:{default:"both"},error:null},emits:["update:modelValue"],setup(t,{emit:n}){const l=t,a=e.computed({get:()=>l.modelValue,set:d=>{n("update:modelValue",d)}});function o(d,s){return!!d&&!s}function i(d,s){return s?`error-${l.id}`:o(d,s)?`hint-${l.id}`:null}return(d,s)=>{var r;return e.openBlock(),e.createElementBlock("div",{id:`textarea-${t.id}`,"data-testid":`textarea-${t.id}`,class:e.normalizeClass([[`${(r=d.$props.class)!=null?r:""}`,{"-invert":t.invert}],"sol-textarea-core"])},[e.renderSlot(d.$slots,"label",{},()=>[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:`input-${t.id}`,class:"label"},[e.createElementVNode("span",null,e.toDisplayString(t.label),1)],8,Ae)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ie,[e.renderSlot(d.$slots,"default",{},()=>[e.withDirectives(e.createElementVNode("textarea",e.mergeProps(d.$attrs,{id:`input-${t.id}`,"onUpdate:modelValue":s[0]||(s[0]=m=>e.isRef(a)?a.value=m:null),"data-testid":`input-${t.id}`,class:[t.error&&"-error","textarea"],invert:t.invert,style:{resize:t.resize},"aria-invalid":!!t.error,"aria-describedby":i(t.hint,t.error)}),null,16,Oe),[[e.vModelText,e.unref(a)]])])]),o(t.hint,t.error)?(e.openBlock(),e.createElementBlock("span",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,Re)):t.error?(e.openBlock(),e.createElementBlock("span",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,He)):e.createCommentVNode("",!0)],10,Pe)}}}),Nl="";H.install=t=>{t.component("SolTextarea",H)};const Fe=["id","data-testid","checked","value","name"],Ke=["for"],M=e.defineComponent({__name:"Radio",props:{id:null,name:null,value:null,label:null,checked:null,class:null},emits:["change"],setup(t,{emit:n}){return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sol-radio-core",l.$props.class])},[e.createElementVNode("input",e.mergeProps(l.$attrs,{id:`radio-${t.name}-${t.id}`,type:"radio",class:"radio","data-testid":`radio-${t.name}-${t.id}`,checked:t.checked,value:t.value,name:t.name,onChange:a[0]||(a[0]=o=>n("change",t.value))}),null,16,Fe),e.createElementVNode("label",{class:"label",for:`radio-${t.name}-${t.id}`},e.toDisplayString(t.label),9,Ke)],2))}}),zl="",Ue=["aria-labelledby"],Ge=["id","data-testid"],Ye=["id"],We=["id"],F=e.defineComponent({__name:"RadioGroup",props:{id:null,title:null,hideTitle:{type:Boolean,default:!1},hint:null,error:null,radios:null,modelValue:null,direction:{default:"row"}},emits:["change","update:modelValue"],setup(t,{emit:n}){const l=t;function a(s,r){return!!s&&!r}function o(s,r){return r?`error-${l.id}`:a(s,r)?`hint-${l.id}`:null}function i(s){return(l==null?void 0:l.modelValue)===s}function d(s){n("change",s.value),n("update:modelValue",s.value)}return(s,r)=>(e.openBlock(),e.createElementBlock("fieldset",{class:"sol-radio-group-core","aria-labelledby":`radio-group-title-${t.id}`},[e.renderSlot(s.$slots,"title",{id:`radio-group-title-${t.id}`},()=>[e.createElementVNode("legend",{id:`radio-group-title-${t.id}`,class:e.normalizeClass(["title",{"sr-only":t.hideTitle}]),"data-testid":`radio-group-title-${t.id}`},e.toDisplayString(t.title),11,Ge)]),e.createElementVNode("ul",{class:e.normalizeClass(["container-radios",{"flex-col":t.direction==="column"}])},[e.renderSlot(s.$slots,"default",{radios:t.radios,direction:t.direction},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,(m,f)=>{var w;return e.openBlock(),e.createElementBlock("li",{key:f},[e.createVNode(M,e.mergeProps(s.$attrs,{id:(w=m==null?void 0:m.id)!=null?w:`${m.value}`,class:["radio",{"mb-micro":t.direction==="column","mr-micro":t.direction==="row"}],name:m.name,value:m.value,label:m.label,checked:i(m.value),"aria-invalid":!!t.error,"aria-describedby":o(t.hint,t.error),onChange:b=>d(m)}),null,16,["id","class","name","value","label","checked","aria-invalid","aria-describedby","onChange"])])}),128))])],2),a(t.hint,t.error)?(e.openBlock(),e.createElementBlock("p",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,Ye)):t.error?(e.openBlock(),e.createElementBlock("p",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,We)):e.createCommentVNode("",!0)],8,Ue))}}),Tl="";M.install=t=>{t.component("SolRadio",M)},F.install=t=>{t.component("SolRadioGroup",F)};const je=["id","data-testid","checked","value","name"],qe=["for"],D=e.defineComponent({__name:"Checkbox",props:{id:null,name:null,value:null,label:null,checked:null,class:null},emits:["change"],setup(t,{emit:n}){return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sol-checkbox-core",l.$props.class])},[e.createElementVNode("input",e.mergeProps(l.$attrs,{id:`checkbox-${t.name}-${t.id}`,type:"checkbox",class:"checkbox","data-testid":`checkbox-${t.name}-${t.id}`,checked:t.checked,value:t.value,name:t.name,onChange:a[0]||(a[0]=o=>n("change",t.value))}),null,16,je),e.createElementVNode("label",{class:"label",for:`checkbox-${t.name}-${t.id}`},e.toDisplayString(t.label),9,qe)],2))}}),Ml="",Ze=["aria-labelledby"],Qe=["id","data-testid"],Je=["id"],Xe=["id"],K=e.defineComponent({__name:"CheckboxGroup",props:{id:null,title:null,hideTitle:{type:Boolean,default:!1},hint:null,error:null,checkboxes:null,modelValue:null,direction:{default:"row"}},emits:["change","update:modelValue"],setup(t,{emit:n}){const l=t;function a(r,m){return!!r&&!m}function o(r,m){return m?`error-${l.id}`:a(r,m)?`hint-${l.id}`:null}function i(r){var m;return(m=l==null?void 0:l.modelValue)==null?void 0:m.includes(r)}function d(r){return Array.isArray(l==null?void 0:l.modelValue)?[...l.modelValue,r]:[r]}function s(r){var f;n("change",r.value);const m=i(r.value)?(f=l.modelValue)==null?void 0:f.filter(w=>w!==r.value):d(r.value);n("update:modelValue",m)}return(r,m)=>(e.openBlock(),e.createElementBlock("fieldset",{class:"sol-checkbox-group-core","aria-labelledby":`checkbox-group-title-${t.id}`},[e.renderSlot(r.$slots,"title",{id:`checkbox-group-title-${t.id}`},()=>[e.createElementVNode("legend",{id:`checkbox-group-title-${t.id}`,class:e.normalizeClass(["title",{"sr-only":t.hideTitle}]),"data-testid":`checkbox-group-title-${t.id}`},e.toDisplayString(t.title),11,Qe)]),e.createElementVNode("ul",{class:e.normalizeClass(["container-checkboxes",{"flex-col":t.direction==="column"}])},[e.renderSlot(r.$slots,"default",{checkboxes:t.checkboxes,direction:t.direction},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.checkboxes,(f,w)=>{var b;return e.openBlock(),e.createElementBlock("li",{key:w},[e.createVNode(D,e.mergeProps(r.$attrs,{id:(b=f==null?void 0:f.id)!=null?b:`${f.value}`,class:["checkbox",{"mb-micro":t.direction==="column","mr-micro":t.direction==="row"}],label:f.label,name:f.name,value:f.value,checked:i(f.value),"aria-invalid":!!t.error,"aria-describedby":o(t.hint,t.error),onChange:g=>s(f)}),null,16,["id","class","label","name","value","checked","aria-invalid","aria-describedby","onChange"])])}),128))])],2),a(t.hint,t.error)?(e.openBlock(),e.createElementBlock("p",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,Je)):t.error?(e.openBlock(),e.createElementBlock("p",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,Xe)):e.createCommentVNode("",!0)],8,Ze))}}),Dl="";D.install=t=>{t.component("SolCheckbox",D)},K.install=t=>{t.component("SolCheckboxGroup",K)};const _e=["id","for","data-testid"],ve={class:"switch-container"},et=["id","aria-checked","aria-labelledby","data-testid","checked","value","name"],tt=e.createElementVNode("span",{class:"ellipse"},null,-1),U=e.defineComponent({__name:"Switch",props:{id:null,name:null,value:null,label:null,checked:{type:Boolean},class:null,hideLabel:{type:Boolean},horizontalLabel:{type:Boolean}},emits:["change"],setup(t,{emit:n}){return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sol-switch-core",[l.$props.class,{"-horizontal":t.horizontalLabel}]])},[e.createElementVNode("label",{id:`switch-label-${t.name}-${t.id}`,class:e.normalizeClass(["label",{"mb-1":!t.horizontalLabel,"sr-only":t.hideLabel}]),for:`switch-${t.name}-${t.id}`,"data-testid":`switch-label-${t.name}-${t.id}`},e.toDisplayString(t.label),11,_e),e.createElementVNode("div",ve,[e.createElementVNode("input",e.mergeProps(l.$attrs,{id:`switch-${t.name}-${t.id}`,type:"checkbox",class:"switch",role:"switch","aria-checked":t.checked,"aria-labelledby":`switch-label-${t.name}-${t.id}`,"data-testid":`switch-${t.name}-${t.id}`,checked:t.checked,value:t.value,name:t.name,onChange:a[0]||(a[0]=o=>n("change",t.value))}),null,16,et),tt])],2))}}),Ll="";U.install=t=>{t.component("SolSwitch",U)};var ee;const L=typeof window<"u",lt=t=>typeof t=="string",Q=()=>{};L&&((ee=window==null?void 0:window.navigator)==null?void 0:ee.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function nt(t){return typeof t=="function"?t():e.unref(t)}function ot(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function P(t){var n;const l=nt(t);return(n=l==null?void 0:l.$el)!=null?n:l}const te=L?window:void 0;L&&window.document,L&&window.navigator,L&&window.location;function G(...t){let n,l,a,o;if(lt(t[0])?([l,a,o]=t,n=te):[n,l,a,o]=t,!n)return Q;let i=Q;const d=e.watch(()=>P(n),r=>{i(),r&&(r.addEventListener(l,a,o),i=()=>{r.removeEventListener(l,a,o),i=Q})},{immediate:!0,flush:"post"}),s=()=>{d(),i()};return ot(s),s}function le(t,n,l={}){const{window:a=te,ignore:o,capture:i=!0,detectIframe:d=!1}=l;if(!a)return;const s=e.ref(!0);let r;const m=b=>{a.clearTimeout(r);const g=P(t),k=b.composedPath();!g||g===b.target||k.includes(g)||!s.value||o&&o.length>0&&o.some(S=>{const p=P(S);return p&&(b.target===p||k.includes(p))})||n(b)},f=[G(a,"click",m,{passive:!0,capture:i}),G(a,"pointerdown",b=>{const g=P(t);s.value=!!g&&!b.composedPath().includes(g)},{passive:!0}),G(a,"pointerup",b=>{if(b.button===0){const g=b.composedPath();b.composedPath=()=>g,r=a.setTimeout(()=>m(b),50)}},{passive:!0}),d&&G(a,"blur",b=>{var g;const k=P(t);((g=document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(k!=null&&k.contains(document.activeElement))&&n(b)})].filter(Boolean);return()=>f.forEach(b=>b())}const J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},X="__vueuse_ssr_handlers__";J[X]=J[X]||{},J[X];var ne;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(ne||(ne={}));const at={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},it=[e.createElementVNode("path",{fill:"currentColor",d:"M10 4a6 6 0 1 0 0 12a6 6 0 0 0 0-12zm-8 6a8 8 0 1 1 14.32 4.906l5.387 5.387a1 1 0 0 1-1.414 1.414l-5.387-5.387A8 8 0 0 1 2 10z"},null,-1)];function dt(t,n){return e.openBlock(),e.createElementBlock("svg",at,it)}const oe={name:"mi-search",render:dt},ct=["data-testid"],st=["id","for"],rt=["id","disabled","data-testid","aria-expanded","aria-labelledby","aria-label","aria-controls","onClick"],mt={class:"dropdown-container"},ht=["id","data-testid","aria-multiselectable","aria-labelledby"],ut=["id","data-testid","selected","aria-selected","onClick","onKeyup"],ft={key:0,class:"no-data"},$t=e.createTextVNode(" Sem dados "),Y=e.defineComponent({__name:"Dropdown",props:{id:null,label:null,ariaLabel:null,smallerWidth:{type:Boolean},disabled:{type:Boolean},loading:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},fetchOnSearch:{type:Boolean,default:!1},isMultipleSelect:{type:Boolean},searchPlaceholder:null,selected:null,options:{default:()=>[]}},emits:["closeDropdown","search","update:selected"],setup(t,{emit:n}){const l=t,a=e.ref(),o=e.ref(!1),i=e.ref(""),d=e.computed(()=>{var c;return l.fetchOnSearch?l.options:(c=l.options)==null?void 0:c.filter(h=>typeof h=="string"?h.includes(i.value):h.name.includes(i.value))}),s=e.computed(()=>Array.isArray(l.selected)?l.selected.join(", ").trim():l.selected);le(a,()=>{o.value&&f()});function r(){l.disabled||(o.value?f():m())}function m(){o.value=!0}function f(){q(),n("closeDropdown")}function w(c){const h=new Set(l.selected);return h.has(c)?h.delete(c):h.add(c),[...h]}function b(c){const h=typeof c=="string"?c:c.value,u=l.isMultipleSelect?w(h):h;n("update:selected",u),l.closeOnSelect&&!l.isMultipleSelect&&f()}function g(c){return Array.isArray(l.selected)?typeof c=="string"?l.selected.includes(c):l.selected.includes(c.value):typeof c=="string"?c===l.selected:c.value===l.selected}const k=e.reactive({list:void 0,search:void 0}),S=e.reactive({id:"",index:0});function p({code:c}){const h=B=>{const C=B!=null?B:S.index;B!==void 0&&(S.index=B),setTimeout(()=>{var O,ce;const E=(O=k.list)==null?void 0:O.children[C];S.id=(ce=E==null?void 0:E.id)!=null?ce:"",E==null||E.focus()},0)},u=()=>{var B;l.searchable&&(S.index=0,(B=k==null?void 0:k.search)==null||B.focus())};switch(c){case"ArrowUp":return S.index>0&&(S.index-=1),h();case"ArrowDown":return o.value?(S.index<d.value.length-1&&(S.index+=1),h()):(m(),h(0));case"Home":return h(0);case"End":return h(l.options.length-1);case"Escape":return f();default:!["Enter","NumpadEnter","Space"].includes(c)&&u()}}function q(){o.value=!1,S.index=0,i.value=""}function z(c,h){return typeof c=="string"?c:c[h!=null?h:"value"]}function $(c,h){k[c]=h!=null?h:void 0}return(c,h)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:a,class:e.normalizeClass(["sol-dropdown-core",{"-smaller":t.smallerWidth}]),"data-testid":`dropdown-${t.id}`,onKeydownPassive:p},[e.renderSlot(c.$slots,"label",{},()=>[e.createElementVNode("label",{id:`label-dropdown-${t.id}`,class:e.normalizeClass(["label",{"-disabled":t.disabled,"sr-only":t.ariaLabel}]),for:`toggle-dropdown-${t.id}`},e.toDisplayString(t.label||t.ariaLabel),11,st)]),e.createElementVNode("button",{id:`toggle-dropdown-${t.id}`,disabled:t.disabled,"data-testid":`toggle-dropdown-${t.id}`,class:"button-toggle-dropdown toggle-dropdown","aria-haspopup":"listbox","aria-expanded":o.value,"aria-labelledby":`label-dropdown-${t.id}`,"aria-label":t.ariaLabel,"aria-controls":`dropdown-list-${t.id}`,onClick:e.withModifiers(r,["stop"])},[e.renderSlot(c.$slots,"toggle-dropdown",{toggle:{open:m,close:f,toggleDropdown:r},isOpen:o.value,select:b,selectedSanitized:e.unref(s),selected:t.selected},()=>[e.createTextVNode(e.toDisplayString(e.unref(s)||"Selecione"),1)])],8,rt),e.createVNode(e.Transition,{mode:"out-in",name:"dropdown"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",mt,[t.searchable?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["search-container",{"-loading":t.loading}])},[e.renderSlot(c.$slots,"search",{filter:i.value},()=>[e.createVNode(V,{id:`search-dropdown-${t.id}`,ref:u=>$("search",u==null?void 0:u.input),modelValue:i.value,"onUpdate:modelValue":h[0]||(h[0]=u=>i.value=u),"data-testid":`search-dropdown-${t.id}`,role:"combobox",class:"search","aria-autocomplete":"list",placeholder:t.searchPlaceholder,"aria-expanded":o.value,"aria-haspopup":"listbox","aria-owns":`dropdown-list-${t.id}`,"aria-controls":`dropdown-list-${t.id}`,"aria-activedescendant":S.id,"aria-labelledby":`label-dropdown-${t.id}`,onClick:h[1]||(h[1]=e.withModifiers(()=>{},["stop"])),onInput:h[2]||(h[2]=u=>{var B;return n("search",(B=u.target)==null?void 0:B.value)})},null,8,["id","modelValue","data-testid","placeholder","aria-expanded","aria-owns","aria-controls","aria-activedescendant","aria-labelledby"]),e.createVNode(e.unref(oe),{"aria-hidden":"true",class:"icon"})])],2)):e.createCommentVNode("",!0),e.createElementVNode("ul",{id:`dropdown-list-${t.id}`,ref:u=>$("list",u),"data-testid":`dropdown-list-${t.id}`,role:"listbox",tabindex:"-1","aria-multiselectable":t.isMultipleSelect,"aria-labelledby":`label-dropdown-${t.id}`,class:"dropdown-list-core"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d),(u,B)=>(e.openBlock(),e.createElementBlock("li",{id:`option-${t.id}-${z(u,"value")}`,key:B,"data-testid":`option-${t.id}-${z(u,"value")}`,role:"option",tabindex:"-1",class:"dropdown-item",style:e.normalizeStyle(`--item: ${B+1}`),selected:g(u),"aria-selected":g(u),onClick:C=>b(u),onKeyup:[e.withKeys(C=>b(u),["enter"]),e.withKeys(C=>b(u),["space"])]},[e.renderSlot(c.$slots,"default",{text:z(u,"name"),option:u,isSelect:g},()=>[e.createTextVNode(e.toDisplayString(z(u,"name")),1)])],44,ut))),128)),e.unref(d).length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",ft,[e.renderSlot(c.$slots,"no-data",{},()=>[$t])]))],8,ht)],512),[[e.vShow,o.value]])]),_:3})],42,ct))}}),Al="";Y.install=t=>{t.component("SolDropdown",Y)};const bt={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},yt=[e.createElementVNode("path",{fill:"currentColor",d:"M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12L5.293 6.707a1 1 0 0 1 0-1.414z"},null,-1)];function gt(t,n){return e.openBlock(),e.createElementBlock("svg",bt,yt)}const ae={name:"mi-close",render:gt},kt=["id","data-testid","title","aria-describedby","aria-disabled","onKeydown"],Bt=["id"],wt={class:"label"},A=e.defineComponent({__name:"Chip",props:{id:null,label:null,selected:{type:Boolean},disabled:{type:Boolean},removable:{type:Boolean,default:!0}},emits:["close","update:selected"],setup(t,{emit:n}){const l=t;function a({code:o}){if(!l.disabled)switch(o){case"Enter":case"NumpadEnter":case"Space":return n("update:selected");case"Delete":case"Backspace":return l.removable&&n("close");default:return!1}}return(o,i)=>(e.openBlock(),e.createElementBlock("div",{id:`chip-${t.id}`,"data-testid":`chip-${t.id}`,class:e.normalizeClass(["sol-chip-core",{"-selected":t.selected,"-disabled":t.disabled}]),tabindex:"0",title:t.label,"aria-describedby":`chip-description-${t.id}`,"aria-disabled":t.disabled,onClick:i[1]||(i[1]=d=>n("update:selected")),onKeydown:e.withModifiers(a,["self"])},[e.createElementVNode("span",{id:`chip-description-${t.id}`,"z-index":"-1",class:"sr-only"},"Press Delete or Backspace to remove this Chip",8,Bt),e.createElementVNode("span",wt,[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.label),1)])]),t.removable?(e.openBlock(),e.createElementBlock("i",{key:0,role:"presentation","aira-hidden":"true",class:"close",onClick:i[0]||(i[0]=e.withModifiers(d=>n("close"),["stop"]))},[e.createVNode(e.unref(ae),{class:"icon"})])):e.createCommentVNode("",!0)],42,kt))}}),Ol="",Ct=["id","data-testid","aria-multiselectable","aria-labelledby"],St=["id","data-testid","selected","aria-selected","onClick","onKeyup"],Et={key:0,class:"no-data"},Vt=e.createTextVNode(" Sem dados "),pt=e.defineComponent({__name:"ListOption",props:{id:null,options:null,multiple:{type:Boolean},isSelected:null},emits:["select"],setup(t,{expose:n,emit:l}){const a=e.ref("");return n({list:a}),(o,i)=>(e.openBlock(),e.createElementBlock("ul",{id:`select-list-${t.id}`,ref_key:"list",ref:a,"data-testid":`select-list-${t.id}`,role:"listbox",tabindex:"-1","aria-multiselectable":t.multiple,"aria-labelledby":`select-label-${t.id}`,class:"select-list-core"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,(d,s)=>(e.openBlock(),e.createElementBlock("li",{id:`option-${t.id}-${d.value}`,key:s,"data-testid":`option-${t.id}-${d.value}`,role:"option",tabindex:"-1",class:"select-option-item",style:e.normalizeStyle(`--item: ${s+1}`),selected:t.isSelected(d),"aria-selected":t.isSelected(d),onClick:r=>l("select",d),onKeyup:[e.withKeys(r=>l("select",d),["enter"]),e.withKeys(r=>l("select",d),["space"])]},[e.renderSlot(o.$slots,"item-list",{text:d.name,value:d.value,option:d,isSelected:t.isSelected(d)},()=>[e.createTextVNode(e.toDisplayString(d.name),1)])],44,St))),128)),t.options.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",Et,[e.renderSlot(o.$slots,"no-data",{},()=>[Vt])]))],8,Ct))}}),Rl="",xt={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Nt=[e.createElementVNode("path",{fill:"currentColor",d:"m17 10l-5 6l-5-6h10z"},null,-1)];function zt(t,n){return e.openBlock(),e.createElementBlock("svg",xt,Nt)}const Tt={name:"mi-caret-down",render:zt},Mt=["data-testid"],Dt=["id"],Lt=["id","disabled","data-testid","aria-expanded","aria-labelledby","aria-label","aria-controls","onClick"],Pt={key:0,class:"container-tags"},At={key:1,class:"mr-micro placeholder-inline",tabindex:"-1"},It={class:"error"},Ot={class:"select-options-container"},W=e.defineComponent({__name:"Select",props:{id:null,label:null,ariaLabel:null,smallerWidth:{type:Boolean},disabled:{type:Boolean},loading:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},fetchOnSearch:{type:Boolean,default:!1},multiple:{type:Boolean},searchPlaceholder:null,selected:null,options:{default:()=>[]},error:null,placeholder:{default:"placeholder"}},emits:["closeDropdown","search","update:selected"],setup(t,{emit:n}){const l=t,a=e.ref(),o=e.ref(!1),i=e.ref(""),d=e.computed(()=>{var $;return l.fetchOnSearch?l.options:($=l.options)==null?void 0:$.filter(c=>c.name.includes(i.value))});le(a,()=>{o.value&&m()});function s(){l.disabled||(o.value?m():r())}function r(){o.value=!0}function m(){p(),n("closeDropdown")}function f($){if(Array.isArray(l.selected)){const c=l.selected.findIndex(({value:h})=>h===$.value);return c===-1?[...l.selected,$]:l.selected.filter((h,u)=>u!==c)}return[$]}function w($){l.multiple?n("update:selected",f($)):n("update:selected",$),l.closeOnSelect&&!l.multiple&&m()}function b($){var c;return Array.isArray(l.selected)?l.selected.some(({value:h})=>h===$.value):$.value===((c=l.selected)==null?void 0:c.value)}const g=e.reactive({list:void 0,search:void 0}),k=e.reactive({id:"",index:0});function S({code:$}){const c=u=>{const B=u!=null?u:k.index;u!==void 0&&(k.index=u),setTimeout(()=>{var E,O;const C=(E=g.list)==null?void 0:E.children[B];k.id=(O=C==null?void 0:C.id)!=null?O:"",C==null||C.focus()},0)},h=()=>{var u;l.searchable&&(k.index=0,(u=g==null?void 0:g.search)==null||u.focus())};switch($){case"ArrowUp":return k.index>0&&(k.index-=1),c();case"ArrowDown":return o.value?(k.index<l.options.length-1&&(k.index+=1),c()):(r(),c(0));case"Home":return c(0);case"End":return c(l.options.length-1);case"Escape":return m();default:!["Enter","NumpadEnter","Space"].includes($)&&h()}}function p(){o.value=!1,k.index=0,i.value=""}function q($){return c=>{g[$]=$==="search"?c==null?void 0:c.input:c==null?void 0:c.list}}function z(){var c;const $=l.selected;return(c=$==null?void 0:$.name)!=null?c:l.placeholder}return($,c)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:a,class:e.normalizeClass(["sol-select-core",{"-smaller":t.smallerWidth}]),"data-testid":`select-${t.id}`,onKeydownPassive:S},[e.renderSlot($.$slots,"label",{id:`select-label-${t.id}`,for:`select-toggle-${t.id}`},()=>[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,id:`select-label-${t.id}`,class:e.normalizeClass(["label",{"-disabled":t.disabled}])},e.toDisplayString(t.label),11,Dt)):e.createCommentVNode("",!0)]),e.createElementVNode("button",{id:`select-toggle-${t.id}`,disabled:t.disabled,"data-testid":`select-toggle-${t.id}`,class:"select-button-toggle","aria-haspopup":"listbox","aria-expanded":o.value,"aria-labelledby":`select-label-${t.id}`,"aria-label":t.ariaLabel,"aria-controls":`select-list-${t.id}`,onClick:e.withModifiers(s,["stop"])},[e.renderSlot($.$slots,"toggle-dropdown",{toggle:{open:r,close:m,toggleDropdown:s},isOpen:o.value,select:w,selected:t.selected},()=>{var h;return[t.multiple&&Array.isArray(t.selected)&&((h=t.selected)==null?void 0:h.length)?(e.openBlock(),e.createElementBlock("div",Pt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selected,(u,B)=>(e.openBlock(),e.createBlock(A,{id:u.value,key:B,label:u.name,onClick:e.withModifiers(C=>w(u),["stop"]),onClose:C=>w(u)},null,8,["id","label","onClick","onClose"]))),128))])):(e.openBlock(),e.createElementBlock("span",At,e.toDisplayString(z()),1)),e.createVNode(e.unref(Tt),{"aria-hidden":"true",tabindex:"-1",class:e.normalizeClass(["icon",{"-open":o.value}])},null,8,["class"])]})],8,Lt),e.createElementVNode("span",It,e.toDisplayString(t.error),1),e.createVNode(e.Transition,{mode:"out-in",name:"dropdown"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",Ot,[e.renderSlot($.$slots,"search",{},()=>[t.searchable?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["search-container",{"-loading":t.loading}])},[e.renderSlot($.$slots,"search",{filter:i.value},()=>[e.createVNode(V,{id:`select-search-${t.id}`,ref:q("search"),modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=h=>i.value=h),"data-testid":`select-search-${t.id}`,role:"combobox",class:"search","aria-autocomplete":"list",placeholder:t.searchPlaceholder,"aria-expanded":o.value,"aria-haspopup":"listbox","aria-owns":`select-list-${t.id}`,"aria-controls":`select-list-${t.id}`,"aria-activedescendant":k.id,"aria-labelledby":`select-label-${t.id}`,onClick:c[1]||(c[1]=e.withModifiers(()=>{},["stop"])),onInput:c[2]||(c[2]=h=>{var u;return n("search",(u=h.target)==null?void 0:u.value)})},null,8,["id","modelValue","data-testid","placeholder","aria-expanded","aria-owns","aria-controls","aria-activedescendant","aria-labelledby"]),e.createVNode(e.unref(oe),{"aria-hidden":"true",class:"icon"})])],2)):e.createCommentVNode("",!0),e.createVNode(pt,{id:t.id,ref:q("list"),options:e.unref(d),multiple:t.multiple,"is-selected":b,onSelect:w},{"item-list":e.withCtx(({text:h,value:u,option:B,isSelected:C})=>[e.renderSlot($.$slots,"default",{text:h,value:u,option:B,isSelected:C})]),"no-data":e.withCtx(()=>[e.renderSlot($.$slots,"no-data")]),_:3},8,["id","options","multiple"])])],512),[[e.vShow,o.value]])]),_:3})],42,Mt))}}),Fl="";W.install=t=>{t.component("SolSelect",W)},A.install=t=>{t.component("SolChip",A)};const Rt={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Ht=[e.createElementVNode("path",{fill:"currentColor",d:"M11.293 7.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1-1.414 1.414L12 9.414l-5.293 5.293a1 1 0 0 1-1.414-1.414l6-6z"},null,-1)];function Ft(t,n){return e.openBlock(),e.createElementBlock("svg",Rt,Ht)}const Kt={name:"mi-chevron-up",render:Ft},Ut=["id","data-testid","aria-disabled"],Gt=["data-testid","tabindex"],Yt=["data-testid"],j=e.defineComponent({__name:"Accordion",props:{id:null,title:{default:"Title"},invert:{type:Boolean},disabled:{type:Boolean}},setup(t){return(n,l)=>(e.openBlock(),e.createElementBlock("details",{id:`accordion-${t.id}`,"data-testid":`accordion-${t.id}`,class:e.normalizeClass(["sol-accordion-core",{"-invert":t.invert,"-disabled":t.disabled}]),"aria-disabled":t.disabled},[e.createElementVNode("summary",{"data-testid":`accordion-title-${t.id}`,class:"summary",tabindex:t.disabled?-1:0},[e.renderSlot(n.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),e.createVNode(e.unref(Kt),{class:"icon","aria-hidden":"true"})],8,Gt),e.createElementVNode("div",{"data-testid":`accordion-content-${t.id}`,class:"container"},[e.renderSlot(n.$slots,"default")],8,Yt)],10,Ut))}}),Ul="";j.install=t=>{t.component("SolAccordion",j)};const Gl="",Yl="",Wl="",jl="",ie=12,N={type:"success",timeout:5e3,showIcon:!0,showCloseButton:!0,position:"top-right",hideProgressBar:!1};function Wt(t,n){const l=e.reactive({id:null,intervalId:null,startTime:0,remaining:n}),a=e.ref(100);function o(){clearInterval(l.intervalId),clearTimeout(l.id),l.remaining-=Date.now()-l.startTime}function i(){l.startTime=Date.now(),clearTimeout(l.id),l.intervalId=setInterval(()=>{a.value--},n/100-5),l.id=setTimeout(t,l.remaining)}function d(){clearInterval(l.intervalId),clearTimeout(l.id),a.value=100}return e.onMounted(()=>{if(n<=0)return!1}),e.onUnmounted(()=>{d()}),{start:i,stop:o,clear:d,progress:a}}function jt(t){return{stylePosition:e.computed(()=>{const{position:l,offset:a}=t();switch(l){case"top-left":return{left:"0",top:`${a}px`};case"bottom-left":return{left:"0",bottom:`${a}px`};case"bottom-right":return{right:"0",bottom:`${a}px`};case"top-center":return{top:`${a}px`,left:"0",right:"0",marginRight:"auto",marginLeft:"auto"};case"bottom-center":return{bottom:`${a}px`,left:"0",right:"0",marginRight:"auto",marginLeft:"auto"};default:return{right:"0",top:`${a}px`}}})}}var de=(t=>(t["top-left"]="bounce-left",t["top-right"]="bounce-right",t["top-center"]="bounce-down",t["bottom-left"]="bounce-left",t["bottom-center"]="bounce-up",t["bottom-right"]="bounce-right",t))(de||{});const qt={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Zt=[e.createElementVNode("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12zm14.664-3.247a1 1 0 0 1 .083 1.411l-5.333 6a1 1 0 0 1-1.495 0l-2.666-3a1 1 0 0 1 1.494-1.328l1.92 2.159l4.586-5.16a1 1 0 0 1 1.411-.082z"},null,-1)];function Qt(t,n){return e.openBlock(),e.createElementBlock("svg",qt,Zt)}const Jt={name:"mi-circle-check",render:Qt},Xt={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},_t=[e.createElementVNode("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12zm5.793-4.207a1 1 0 0 1 1.414 0L12 10.586l2.793-2.793a1 1 0 1 1 1.414 1.414L13.414 12l2.793 2.793a1 1 0 0 1-1.414 1.414L12 13.414l-2.793 2.793a1 1 0 0 1-1.414-1.414L10.586 12L7.793 9.207a1 1 0 0 1 0-1.414z"},null,-1)];function vt(t,n){return e.openBlock(),e.createElementBlock("svg",Xt,_t)}const el={name:"mi-circle-error",render:vt},tl={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},ll=[e.createElementVNode("g",{fill:"currentColor"},[e.createElementVNode("path",{d:"M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12z"}),e.createElementVNode("path",{d:"M12 14a1 1 0 0 1-1-1V7a1 1 0 1 1 2 0v6a1 1 0 0 1-1 1zm-1.5 2.5a1.5 1.5 0 1 1 3 0a1.5 1.5 0 0 1-3 0z"})],-1)];function nl(t,n){return e.openBlock(),e.createElementBlock("svg",tl,ll)}const ol={name:"mi-circle-warning",render:nl},al=["id","data-testid"],il={class:"content-wrapper"},dl={key:0,class:"icon-container","aria-hidden":"true"},cl={class:"content"},sl={key:0,class:"description"},rl=["data-testid"],ml=e.defineComponent({__name:"Toast",props:{id:null,type:{default:N.type},visible:{type:Boolean,default:!1},title:null,description:null,timeout:null,hideProgressBar:{type:Boolean,default:N.hideProgressBar},showIcon:{type:Boolean,default:N.showIcon},offset:{default:0},onClose:null,onCloseHandler:null,position:{default:N.position}},setup(t){const n=t,{start:l,stop:a,progress:o}=Wt(()=>{var m;(m=n.onCloseHandler)==null||m.call(n)},n.timeout),{stylePosition:i}=jt(()=>({offset:n.offset,position:n.position})),d=e.computed(()=>n.title&&n.description);function s(){n.timeout>0&&a()}function r(){l()}return e.onMounted(()=>{l()}),(m,f)=>(e.openBlock(),e.createBlock(e.Transition,{name:e.unref(de)[t.position],type:"animation"},{default:e.withCtx(()=>[t.visible?(e.openBlock(),e.createElementBlock("div",{key:0,id:`toast-${t.type}-${t.id}`,role:"status","data-testid":`toast-${t.type}-${t.id}`,style:e.normalizeStyle(e.unref(i)),class:e.normalizeClass(["sol-toast-core",[`-${t.type}`,{"-multiline":e.unref(d)}]]),onKeyup:f[1]||(f[1]=e.withKeys((...w)=>t.onCloseHandler&&t.onCloseHandler(...w),["esc"])),onMouseenter:s,onMouseleave:r,onFocusin:s,onFocusout:r},[e.createElementVNode("section",il,[t.showIcon?(e.openBlock(),e.createElementBlock("div",dl,[e.renderSlot(m.$slots,"icon-status",{type:t.type},()=>[t.type==="success"?(e.openBlock(),e.createBlock(e.unref(Jt),{key:0,class:"icon"})):e.createCommentVNode("",!0),t.type==="info"?(e.openBlock(),e.createBlock(e.unref(ol),{key:1,class:"icon"})):e.createCommentVNode("",!0),t.type==="danger"?(e.openBlock(),e.createBlock(e.unref(el),{key:2,class:"icon"})):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.createElementVNode("div",cl,[e.createElementVNode("p",{class:e.normalizeClass(["title",{"-multiline":e.unref(d)}])},[e.renderSlot(m.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],2),t.description?(e.openBlock(),e.createElementBlock("p",sl,[e.renderSlot(m.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)])])):e.createCommentVNode("",!0)])]),e.createElementVNode("button",{type:"button",class:e.normalizeClass(["close",{"-multiline":e.unref(d)}]),"data-testid":`toast-close-button-${t.type}-${t.id}`,"aria-label":"close notification",onClick:f[0]||(f[0]=(...w)=>t.onCloseHandler&&t.onCloseHandler(...w))},[e.createVNode(e.unref(ae),{class:"icon"})],10,rl),t.hideProgressBar?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"progressbar","aria-hidden":"true",style:e.normalizeStyle({width:`${e.unref(o)}%`})},null,4))],46,al)):e.createCommentVNode("",!0)]),_:3},8,["name"]))}}),Jl="",I={"top-left":[],"top-right":[],"top-center":[],"bottom-left":[],"bottom-right":[],"bottom-center":[]};function hl(){let t=0;function n(){Object.entries(I).forEach(([a,o])=>{o.length&&o.forEach(i=>{var s;const d=(s=i.toastVNode.props)==null?void 0:s.id;_(d,a)})})}return{createToast:(a,o)=>{const i=t++,d=o?ul(o):N;return o!=null&&o.showOneToast&&n(),fl(i,d,typeof a=="string"?{title:a}:a),{close:()=>_(i,d.position)}},clearAllToasts:n}}function ul(t){const n={...N,...t,showIcon:t.showIcon};return n.hideProgressBar=!!(n.timeout&&(n==null?void 0:n.timeout)<=0),t.hideProgressBar&&(n.hideProgressBar=t.hideProgressBar),n}function fl(t,n,l){setTimeout(()=>{const a=bl(n,I,ie),o=document.createElement("div");document.body.appendChild(o);const i=e.createVNode(ml,$l(n,t,a,_,l));e.render(i,o),I[n.position].push({toastVNode:i,container:o}),i.component&&(i.component.props.visible=!0)},1)}function $l(t,n,l,a,o){return{...t,...o,id:n,offset:l,visible:!1,onCloseHandler(){a(n,t.position?t.position:"top-right")}}}function bl(t,n,l){if(!t.position)throw new Error("no position");return n[t.position].reduce((a,{toastVNode:o})=>(a+=o.el.offsetHeight+l||0,a),l)}function yl(t,n,l,a){for(let o=t;o<n.length;o++){const{toastVNode:i}=n[o];if(!i.el)return;const d=l.split("-")[0]||"top",s=parseInt(i.el.style[d],10)-a-ie;if(!i.component)return;i.component.props.offset=s}}function _(t,n){var r;const l=I[n],a=l.findIndex(({toastVNode:m})=>{var f;return t===((f=m==null?void 0:m.props)==null?void 0:f.id)});if(a===-1)return;const{container:o,toastVNode:i}=l[a],d=(r=i==null?void 0:i.el)==null?void 0:r.offsetHeight;if(I[n].splice(a,1),yl(a,l,n,d),!i.component)return;const s=i.component.props;s.visible=!1,s.onClose&&s.onClose(),setTimeout(()=>{e.render(null,o),document.body.removeChild(o)},1e3)}console.log("%c\u{1F33B}[Girassol]\u{1F33B}","padding: 8px;background: #212121;color: gold; font-family: 'Fira code'; font-weight: bold; font-size: 1.2rem");const v={SolButton:x,SolButtonDestructive:Z,SolInput:V,SolTextarea:H,SolTextfield:T,SolTextfieldPassword:R,SolRadio:M,SolRadioGroup:F,SolCheckbox:D,SolCheckboxGroup:K,SolSwitch:U,SolDropdown:Y,SolSelect:W,SolChip:A,SolAccordion:j};function gl(t){for(const n in v)t.component(n,v[n])}y.SolAccordion=j,y.SolButton=x,y.SolButtonDestructive=Z,y.SolCheckbox=D,y.SolCheckboxGroup=K,y.SolChip=A,y.SolDropdown=Y,y.SolInput=V,y.SolRadio=M,y.SolRadioGroup=F,y.SolSelect=W,y.SolSwitch=U,y.SolTextarea=H,y.SolTextfield=T,y.SolTextfieldPassword=R,y.components=v,y.install=gl,y.useToast=hl,Object.defineProperties(y,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(k,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(k=typeof globalThis<"u"?globalThis:k||self,e(k.girassol={},k.Vue))})(this,function(k,e){"use strict";const Be=[e.createElementVNode("path",{class:"path",d:"M16.0008 1.5C17.905 1.5 19.7905 1.87506 21.5497 2.60375C23.3089 3.33244 24.9074 4.4005 26.2538 5.74695C27.6003 7.0934 28.6684 8.69187 29.397 10.4511C30.1257 12.2103 30.5008 14.0958 30.5008 16C30.5008 17.9042 30.1257 19.7897 29.397 21.5489C28.6684 23.3081 27.6003 24.9066 26.2538 26.2531C24.9074 27.5995 23.3089 28.6676 21.5497 29.3963C19.7905 30.1249 17.905 30.5 16.0008 30.5C14.0966 30.5 12.2111 30.1249 10.4519 29.3963C8.69266 28.6676 7.09419 27.5995 5.74774 26.253C4.4013 24.9066 3.33323 23.3081 2.60454 21.5489C1.87585 19.7897 1.50079 17.9042 1.50079 16C1.5008 14.0958 1.87585 12.2103 2.60454 10.4511C3.33324 8.69187 4.4013 7.0934 5.74775 5.74695C7.0942 4.4005 8.69267 3.33244 10.4519 2.60375C12.2111 1.87505 14.0966 1.5 16.0008 1.5L16.0008 1.5Z"},null,-1)],we=e.defineComponent({__name:"CircleLoader",props:{size:{default:"large"},dark:{type:Boolean}},setup(t){return(l,n)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["sol-inner-loader",`-${t.size}`]),viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Be,2))}}),Wn="",Se=["data-testid","disabled"],Ce={class:"icon -left"},Ee={class:"icon -right"},pe={key:0,class:"loading"},M=e.defineComponent({__name:"Button",props:{id:null,loading:{type:Boolean},onColor:{type:Boolean,default:!1},disabled:{type:Boolean},size:{default:"large"},variant:{default:"primary"}},setup(t){function l(i,d){return i?d:""}const n=e.useSlots(),o=e.computed(()=>!!(n!=null&&n.default)&&(!!(n!=null&&n["icon-right"])||!!(n!=null&&n["icon-left"]))),a=e.computed(()=>!(n!=null&&n.default)&&(!!(n!=null&&n["icon-right"])||!!(n!=null&&n["icon-left"])));return(i,d)=>(e.openBlock(),e.createElementBlock("button",{"data-testid":`button-${t.id}`,class:e.normalizeClass(["sol-button-core",`-${t.variant} -${t.size}
2
+ ${l(t.loading,"-loading-helper")}
3
+ ${l(t.onColor,"-on-color")}
4
+ ${l(e.unref(o),"-has-icon")}
5
+ ${l(e.unref(a),"-only-icon")}
6
+ `]),type:"button",disabled:t.disabled||t.loading},[e.createElementVNode("div",Ce,[e.renderSlot(i.$slots,"icon-left")]),e.renderSlot(i.$slots,"default"),e.createElementVNode("div",Ee,[e.renderSlot(i.$slots,"icon-right")]),t.loading?(e.openBlock(),e.createElementBlock("div",pe,[e.createVNode(we,{"data-testid":`button-loader-${t.id}`,size:t.size==="small"?"small":"medium",dark:t.onColor},null,8,["data-testid","size","dark"])])):e.createCommentVNode("",!0)],10,Se))}}),Zn="",Ve={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},xe=[e.createElementVNode("path",{fill:"currentColor",d:"M7 21q-.825 0-1.412-.587Q5 19.825 5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413Q17.825 21 17 21ZM17 6H7v13h10ZM9 17h2V8H9Zm4 0h2V8h-2ZM7 6v13Z"},null,-1)];function Ne(t,l){return e.openBlock(),e.createElementBlock("svg",Ve,xe)}const ze={name:"material-symbols-delete-outline",render:Ne},ee=e.defineComponent({__name:"ButtonDestructive",props:{id:null,size:null,loading:{type:Boolean}},setup(t){return(l,n)=>(e.openBlock(),e.createBlock(M,{id:`destructive-${t.id}`,size:t.size,loading:t.loading,variant:"primary",class:"button-destructive"},{"icon-left":e.withCtx(()=>[e.createVNode(e.unref(ze))]),default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["id","size","loading"]))}}),Xn="";M.install=t=>{t.component("SolButton",M)},ee.install=t=>{t.component("SolButton",M)};const Me=["id","data-testid","value"],N=e.defineComponent({__name:"Input",props:{id:null,modelValue:null,invert:{type:Boolean},error:{type:Boolean}},emits:["update:modelValue"],setup(t,{expose:l,emit:n}){function o({target:i}){n("update:modelValue",i==null?void 0:i.value)}const a=e.ref("");return l({input:a}),(i,d)=>(e.openBlock(),e.createElementBlock("input",{id:`input-${t.id}`,ref_key:"input",ref:a,"data-testid":`input-${t.id}`,value:t.modelValue,class:e.normalizeClass(["sol-input-core",{"-invert":t.invert,"-error":t.error}]),onInput:o},null,42,Me))}}),_n="";N.install=t=>{t.component("SolInput",N)};const Ie=["id","data-testid"],Oe=["for"],Te={class:"container-input"},De=["id"],Le=["id"],D=e.defineComponent({__name:"Textfield",props:{id:null,class:null,modelValue:{default:""},label:{default:"label"},hint:null,invert:{type:Boolean},error:null},emits:["update:modelValue"],setup(t,{emit:l}){const n=t,o=e.computed({get:()=>n.modelValue,set:d=>{l("update:modelValue",d)}});function a(d,s){return!!d&&!s}function i(d,s){return s?`error-${n.id}`:a(d,s)?`hint-${n.id}`:null}return(d,s)=>{var c;return e.openBlock(),e.createElementBlock("div",{id:`textfield-${t.id}`,"data-testid":`textfield-${t.id}`,class:e.normalizeClass([[`${(c=d.$props.class)!=null?c:""}`,{"-invert":t.invert}],"sol-textfield-core"])},[e.renderSlot(d.$slots,"label",{},()=>[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:`input-${t.id}`,class:"label"},[e.createElementVNode("span",null,e.toDisplayString(t.label),1)],8,Oe)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Te,[e.renderSlot(d.$slots,"default",{},()=>[e.createVNode(N,e.mergeProps(d.$attrs,{id:t.id,modelValue:e.unref(o),"onUpdate:modelValue":s[0]||(s[0]=r=>e.isRef(o)?o.value=r:null),"data-testid":`input-${t.id}`,class:[t.error&&"-error","input"],invert:t.invert,"aria-invalid":!!t.error,"aria-describedby":i(t.hint,t.error)}),null,16,["id","modelValue","data-testid","class","invert","aria-invalid","aria-describedby"])]),e.renderSlot(d.$slots,"icon")]),a(t.hint,t.error)?(e.openBlock(),e.createElementBlock("span",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,De)):t.error?(e.openBlock(),e.createElementBlock("span",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,Le)):e.createCommentVNode("",!0)],10,Ie)}}}),vn="",Pe={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Ae=[e.createElementVNode("g",{fill:"currentColor"},[e.createElementVNode("path",{d:"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0z"}),e.createElementVNode("path",{d:"M21.894 11.553C19.736 7.236 15.904 5 12 5c-3.903 0-7.736 2.236-9.894 6.553a1 1 0 0 0 0 .894C4.264 16.764 8.096 19 12 19c3.903 0 7.736-2.236 9.894-6.553a1 1 0 0 0 0-.894zM12 17c-2.969 0-6.002-1.62-7.87-5C5.998 8.62 9.03 7 12 7c2.969 0 6.002 1.62 7.87 5c-1.868 3.38-4.901 5-7.87 5z"})],-1)];function Re(t,l){return e.openBlock(),e.createElementBlock("svg",Pe,Ae)}const Fe={name:"mi-eye",render:Re},He={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},qe=[e.createElementVNode("path",{fill:"currentColor",d:"M4.707 3.293a1 1 0 0 0-1.414 1.414l2.424 2.424c-1.43 1.076-2.678 2.554-3.611 4.422a1 1 0 0 0 0 .894C4.264 16.764 8.096 19 12 19c1.555 0 3.1-.355 4.53-1.055l2.763 2.762a1 1 0 0 0 1.414-1.414l-16-16zm10.307 13.135c-.98.383-2 .572-3.014.572c-2.969 0-6.002-1.62-7.87-5c.817-1.479 1.858-2.62 3.018-3.437l2.144 2.144a3 3 0 0 0 4.001 4.001l1.72 1.72zm3.538-2.532c.483-.556.926-1.187 1.318-1.896c-1.868-3.38-4.9-5-7.87-5c-.112 0-.224.002-.336.007L9.879 5.223A10.215 10.215 0 0 1 12 5c3.903 0 7.736 2.236 9.894 6.553a1 1 0 0 1 0 .894a13.106 13.106 0 0 1-1.925 2.865l-1.417-1.416z"},null,-1)];function Ke(t,l){return e.openBlock(),e.createElementBlock("svg",He,qe)}const Ue={name:"mi-eye-off",render:Ke},Ge=["aria-label"],U=e.defineComponent({__name:"TextfieldPassword",props:{id:{default:""},label:{default:"Sua senha"}},setup(t){const l=e.ref(!1),n=e.computed(()=>l.value?"text":"password");return(o,a)=>(e.openBlock(),e.createBlock(D,{id:t.id,required:"",type:e.unref(n),label:t.label,placeholder:"Insira sua senha"},{icon:e.withCtx(()=>[e.createElementVNode("button",{type:"button","data-testid":"toggle-type-password","aria-label":l.value?"Hide password":"Show password",onClick:a[0]||(a[0]=i=>l.value=!l.value)},[e.withDirectives(e.createVNode(e.unref(Fe),{"aria-hidden":"true"},null,512),[[e.vShow,l.value]]),e.withDirectives(e.createVNode(e.unref(Ue),{"aria-hidden":"true"},null,512),[[e.vShow,!l.value]])],8,Ge)]),_:1},8,["id","type","label"]))}});D.install=t=>{t.component("SolTextfield",D)},U.install=t=>{t.component("SolTextfieldPassword",U)};const Qe=["id","data-testid"],Ye=["for"],je={class:"container-textarea"},We=["id","data-testid","invert","aria-invalid","aria-describedby"],Ze=["id"],Je=["id"],G=e.defineComponent({__name:"Textarea",props:{id:null,class:null,modelValue:{default:""},label:{default:"label"},hint:null,invert:{type:Boolean},resize:{default:"both"},error:null},emits:["update:modelValue"],setup(t,{emit:l}){const n=t,o=e.computed({get:()=>n.modelValue,set:d=>{l("update:modelValue",d)}});function a(d,s){return!!d&&!s}function i(d,s){return s?`error-${n.id}`:a(d,s)?`hint-${n.id}`:null}return(d,s)=>{var c;return e.openBlock(),e.createElementBlock("div",{id:`textarea-${t.id}`,"data-testid":`textarea-${t.id}`,class:e.normalizeClass([[`${(c=d.$props.class)!=null?c:""}`,{"-invert":t.invert}],"sol-textarea-core"])},[e.renderSlot(d.$slots,"label",{},()=>[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:`input-${t.id}`,class:"label"},[e.createElementVNode("span",null,e.toDisplayString(t.label),1)],8,Ye)):e.createCommentVNode("",!0)]),e.createElementVNode("div",je,[e.renderSlot(d.$slots,"default",{},()=>[e.withDirectives(e.createElementVNode("textarea",e.mergeProps(d.$attrs,{id:`input-${t.id}`,"onUpdate:modelValue":s[0]||(s[0]=r=>e.isRef(o)?o.value=r:null),"data-testid":`input-${t.id}`,class:[t.error&&"-error","textarea"],invert:t.invert,style:{resize:t.resize},"aria-invalid":!!t.error,"aria-describedby":i(t.hint,t.error)}),null,16,We),[[e.vModelText,e.unref(o)]])])]),a(t.hint,t.error)?(e.openBlock(),e.createElementBlock("span",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,Ze)):t.error?(e.openBlock(),e.createElementBlock("span",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,Je)):e.createCommentVNode("",!0)],10,Qe)}}}),nl="";G.install=t=>{t.component("SolTextarea",G)};const Xe=["id","data-testid","checked","value","name"],_e=["for"],L=e.defineComponent({__name:"Radio",props:{id:null,name:null,value:null,label:null,checked:null,class:null},emits:["change"],setup(t,{emit:l}){return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sol-radio-core",n.$props.class])},[e.createElementVNode("input",e.mergeProps(n.$attrs,{id:`radio-${t.name}-${t.id}`,type:"radio",class:"radio","data-testid":`radio-${t.name}-${t.id}`,checked:t.checked,value:t.value,name:t.name,onChange:o[0]||(o[0]=a=>l("change",t.value))}),null,16,Xe),e.createElementVNode("label",{class:"label",for:`radio-${t.name}-${t.id}`},e.toDisplayString(t.label),9,_e)],2))}}),ll="",ve=["aria-labelledby"],et=["id","data-testid"],tt=["id"],nt=["id"],Q=e.defineComponent({__name:"RadioGroup",props:{id:null,title:null,hideTitle:{type:Boolean,default:!1},hint:null,error:null,radios:null,modelValue:null,direction:{default:"row"}},emits:["change","update:modelValue"],setup(t,{emit:l}){const n=t;function o(s,c){return!!s&&!c}function a(s,c){return c?`error-${n.id}`:o(s,c)?`hint-${n.id}`:null}function i(s){return(n==null?void 0:n.modelValue)===s}function d(s){l("change",s.value),l("update:modelValue",s.value)}return(s,c)=>(e.openBlock(),e.createElementBlock("fieldset",{class:"sol-radio-group-core","aria-labelledby":`radio-group-title-${t.id}`},[e.renderSlot(s.$slots,"title",{id:`radio-group-title-${t.id}`},()=>[e.createElementVNode("legend",{id:`radio-group-title-${t.id}`,class:e.normalizeClass(["title",{"sr-only":t.hideTitle}]),"data-testid":`radio-group-title-${t.id}`},e.toDisplayString(t.title),11,et)]),e.createElementVNode("ul",{class:e.normalizeClass(["container-radios",{"flex-col":t.direction==="column"}])},[e.renderSlot(s.$slots,"default",{radios:t.radios,direction:t.direction},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,(r,m)=>{var B;return e.openBlock(),e.createElementBlock("li",{key:m},[e.createVNode(L,e.mergeProps(s.$attrs,{id:(B=r==null?void 0:r.id)!=null?B:`${r.value}`,class:["radio",{"mb-micro":t.direction==="column","mr-micro":t.direction==="row"}],name:r.name,value:r.value,label:r.label,checked:i(r.value),"aria-invalid":!!t.error,"aria-describedby":a(t.hint,t.error),onChange:h=>d(r)}),null,16,["id","class","name","value","label","checked","aria-invalid","aria-describedby","onChange"])])}),128))])],2),o(t.hint,t.error)?(e.openBlock(),e.createElementBlock("p",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,tt)):t.error?(e.openBlock(),e.createElementBlock("p",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,nt)):e.createCommentVNode("",!0)],8,ve))}}),ol="";L.install=t=>{t.component("SolRadio",L)},Q.install=t=>{t.component("SolRadioGroup",Q)};const lt=["id","data-testid","checked","value","name"],ot=["for"],P=e.defineComponent({__name:"Checkbox",props:{id:null,name:null,value:null,label:null,checked:null,class:null},emits:["change"],setup(t,{emit:l}){return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sol-checkbox-core",n.$props.class])},[e.createElementVNode("input",e.mergeProps(n.$attrs,{id:`checkbox-${t.name}-${t.id}`,type:"checkbox",class:"checkbox","data-testid":`checkbox-${t.name}-${t.id}`,checked:t.checked,value:t.value,name:t.name,onChange:o[0]||(o[0]=a=>l("change",t.value))}),null,16,lt),e.createElementVNode("label",{class:"label",for:`checkbox-${t.name}-${t.id}`},e.toDisplayString(t.label),9,ot)],2))}}),al="",at=["aria-labelledby"],it=["id","data-testid"],dt=["id"],st=["id"],Y=e.defineComponent({__name:"CheckboxGroup",props:{id:null,title:null,hideTitle:{type:Boolean,default:!1},hint:null,error:null,checkboxes:null,modelValue:null,direction:{default:"row"}},emits:["change","update:modelValue"],setup(t,{emit:l}){const n=t;function o(c,r){return!!c&&!r}function a(c,r){return r?`error-${n.id}`:o(c,r)?`hint-${n.id}`:null}function i(c){var r;return(r=n==null?void 0:n.modelValue)==null?void 0:r.includes(c)}function d(c){return Array.isArray(n==null?void 0:n.modelValue)?[...n.modelValue,c]:[c]}function s(c){var m;l("change",c.value);const r=i(c.value)?(m=n.modelValue)==null?void 0:m.filter(B=>B!==c.value):d(c.value);l("update:modelValue",r)}return(c,r)=>(e.openBlock(),e.createElementBlock("fieldset",{class:"sol-checkbox-group-core","aria-labelledby":`checkbox-group-title-${t.id}`},[e.renderSlot(c.$slots,"title",{id:`checkbox-group-title-${t.id}`},()=>[e.createElementVNode("legend",{id:`checkbox-group-title-${t.id}`,class:e.normalizeClass(["title",{"sr-only":t.hideTitle}]),"data-testid":`checkbox-group-title-${t.id}`},e.toDisplayString(t.title),11,it)]),e.createElementVNode("ul",{class:e.normalizeClass(["container-checkboxes",{"flex-col":t.direction==="column"}])},[e.renderSlot(c.$slots,"default",{checkboxes:t.checkboxes,direction:t.direction},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.checkboxes,(m,B)=>{var h;return e.openBlock(),e.createElementBlock("li",{key:B},[e.createVNode(P,e.mergeProps(c.$attrs,{id:(h=m==null?void 0:m.id)!=null?h:`${m.value}`,class:["checkbox",{"mb-micro":t.direction==="column","mr-micro":t.direction==="row"}],label:m.label,name:m.name,value:m.value,checked:i(m.value),"aria-invalid":!!t.error,"aria-describedby":a(t.hint,t.error),onChange:b=>s(m)}),null,16,["id","class","label","name","value","checked","aria-invalid","aria-describedby","onChange"])])}),128))])],2),o(t.hint,t.error)?(e.openBlock(),e.createElementBlock("p",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,dt)):t.error?(e.openBlock(),e.createElementBlock("p",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,st)):e.createCommentVNode("",!0)],8,at))}}),il="";P.install=t=>{t.component("SolCheckbox",P)},Y.install=t=>{t.component("SolCheckboxGroup",Y)};const ct=["id","for","data-testid"],rt={class:"switch-container"},mt=["id","aria-checked","aria-labelledby","data-testid","checked","value","name"],ut=e.createElementVNode("span",{class:"ellipse"},null,-1),j=e.defineComponent({__name:"Switch",props:{id:null,name:null,value:null,label:null,checked:{type:Boolean},class:null,hideLabel:{type:Boolean},horizontalLabel:{type:Boolean}},emits:["change"],setup(t,{emit:l}){return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sol-switch-core",[n.$props.class,{"-horizontal":t.horizontalLabel}]])},[e.createElementVNode("label",{id:`switch-label-${t.name}-${t.id}`,class:e.normalizeClass(["label",{"mb-1":!t.horizontalLabel,"sr-only":t.hideLabel}]),for:`switch-${t.name}-${t.id}`,"data-testid":`switch-label-${t.name}-${t.id}`},e.toDisplayString(t.label),11,ct),e.createElementVNode("div",rt,[e.createElementVNode("input",e.mergeProps(n.$attrs,{id:`switch-${t.name}-${t.id}`,type:"checkbox",class:"switch",role:"switch","aria-checked":t.checked,"aria-labelledby":`switch-label-${t.name}-${t.id}`,"data-testid":`switch-${t.name}-${t.id}`,checked:t.checked,value:t.value,name:t.name,onChange:o[0]||(o[0]=a=>l("change",t.value))}),null,16,mt),ut])],2))}}),dl="";j.install=t=>{t.component("SolSwitch",j)};var ce;const A=typeof window<"u",ft=t=>typeof t=="string",te=()=>{};A&&((ce=window==null?void 0:window.navigator)==null?void 0:ce.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ht(t){return typeof t=="function"?t():e.unref(t)}function $t(t){return t}function bt(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function R(t){var l;const n=ht(t);return(l=n==null?void 0:n.$el)!=null?l:n}const re=A?window:void 0;A&&window.document,A&&window.navigator,A&&window.location;function W(...t){let l,n,o,a;if(ft(t[0])?([n,o,a]=t,l=re):[l,n,o,a]=t,!l)return te;let i=te;const d=e.watch(()=>R(l),c=>{i(),c&&(c.addEventListener(n,o,a),i=()=>{c.removeEventListener(n,o,a),i=te})},{immediate:!0,flush:"post"}),s=()=>{d(),i()};return bt(s),s}function ne(t,l,n={}){const{window:o=re,ignore:a,capture:i=!0,detectIframe:d=!1}=n;if(!o)return;const s=e.ref(!0);let c;const r=h=>{o.clearTimeout(c);const b=R(t),w=h.composedPath();!b||b===h.target||w.includes(b)||!s.value||a&&a.length>0&&a.some(S=>{const p=R(S);return p&&(h.target===p||w.includes(p))})||l(h)},m=[W(o,"click",r,{passive:!0,capture:i}),W(o,"pointerdown",h=>{const b=R(t);s.value=!!b&&!h.composedPath().includes(b)},{passive:!0}),W(o,"pointerup",h=>{if(h.button===0){const b=h.composedPath();h.composedPath=()=>b,c=o.setTimeout(()=>r(h),50)}},{passive:!0}),d&&W(o,"blur",h=>{var b;const w=R(t);((b=document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!(w!=null&&w.contains(document.activeElement))&&l(h)})].filter(Boolean);return()=>m.forEach(h=>h())}const le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oe="__vueuse_ssr_handlers__";le[oe]=le[oe]||{},le[oe];var me;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(me||(me={}));var yt=Object.defineProperty,ue=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,fe=(t,l,n)=>l in t?yt(t,l,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[l]=n,Bt=(t,l)=>{for(var n in l||(l={}))kt.call(l,n)&&fe(t,n,l[n]);if(ue)for(var n of ue(l))gt.call(l,n)&&fe(t,n,l[n]);return t};Bt({linear:$t},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const wt={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},St=[e.createElementVNode("path",{fill:"currentColor",d:"M10 4a6 6 0 1 0 0 12a6 6 0 0 0 0-12zm-8 6a8 8 0 1 1 14.32 4.906l5.387 5.387a1 1 0 0 1-1.414 1.414l-5.387-5.387A8 8 0 0 1 2 10z"},null,-1)];function Ct(t,l){return e.openBlock(),e.createElementBlock("svg",wt,St)}const he={name:"mi-search",render:Ct},Et=["data-testid"],pt=["id","for"],Vt=["id","disabled","data-testid","aria-expanded","aria-labelledby","aria-label","aria-controls","onClick"],xt={class:"dropdown-container"},Nt=["id","data-testid","aria-multiselectable","aria-labelledby"],zt=["id","data-testid","selected","aria-selected","onClick","onKeyup"],Mt={key:0,class:"no-data"},It=e.createTextVNode(" Sem dados "),Z=e.defineComponent({__name:"Dropdown",props:{id:null,label:null,ariaLabel:null,smallerWidth:{type:Boolean},disabled:{type:Boolean},loading:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},fetchOnSearch:{type:Boolean,default:!1},isMultipleSelect:{type:Boolean},searchPlaceholder:null,selected:null,options:{default:()=>[]}},emits:["closeDropdown","search","update:selected"],setup(t,{emit:l}){const n=t,o=e.ref(),a=e.ref(!1),i=e.ref(""),d=e.computed(()=>{var f;return n.fetchOnSearch?n.options:(f=n.options)==null?void 0:f.filter(u=>typeof u=="string"?u.includes(i.value):u.name.includes(i.value))}),s=e.computed(()=>Array.isArray(n.selected)?n.selected.join(", ").trim():n.selected);ne(o,()=>{a.value&&m()});function c(){n.disabled||(a.value?m():r())}function r(){a.value=!0}function m(){O(),l("closeDropdown")}function B(f){const u=new Set(n.selected);return u.has(f)?u.delete(f):u.add(f),[...u]}function h(f){const u=typeof f=="string"?f:f.value,g=n.isMultipleSelect?B(u):u;l("update:selected",g),n.closeOnSelect&&!n.isMultipleSelect&&m()}function b(f){return Array.isArray(n.selected)?typeof f=="string"?n.selected.includes(f):n.selected.includes(f.value):typeof f=="string"?f===n.selected:f.value===n.selected}const w=e.reactive({list:void 0,search:void 0}),S=e.reactive({id:"",index:0});function p({code:f}){const u=C=>{const z=C!=null?C:S.index;C!==void 0&&(S.index=C),setTimeout(()=>{var $,y;const x=($=w.list)==null?void 0:$.children[z];S.id=(y=x==null?void 0:x.id)!=null?y:"",x==null||x.focus()},0)},g=()=>{var C;n.searchable&&(S.index=0,(C=w==null?void 0:w.search)==null||C.focus())};switch(f){case"ArrowUp":return S.index>0&&(S.index-=1),u();case"ArrowDown":return a.value?(S.index<d.value.length-1&&(S.index+=1),u()):(r(),u(0));case"Home":return u(0);case"End":return u(n.options.length-1);case"Escape":return m();default:!["Enter","NumpadEnter","Space"].includes(f)&&g()}}function O(){a.value=!1,S.index=0,i.value=""}function T(f,u){return typeof f=="string"?f:f[u!=null?u:"value"]}function v(f,u){w[f]=u!=null?u:void 0}return(f,u)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:o,class:e.normalizeClass(["sol-dropdown-core",{"-smaller":t.smallerWidth}]),"data-testid":`dropdown-${t.id}`,onKeydownPassive:p},[e.renderSlot(f.$slots,"label",{},()=>[e.createElementVNode("label",{id:`label-dropdown-${t.id}`,class:e.normalizeClass(["label",{"-disabled":t.disabled,"sr-only":t.ariaLabel}]),for:`toggle-dropdown-${t.id}`},e.toDisplayString(t.label||t.ariaLabel),11,pt)]),e.createElementVNode("button",{id:`toggle-dropdown-${t.id}`,disabled:t.disabled,"data-testid":`toggle-dropdown-${t.id}`,class:"button-toggle-dropdown toggle-dropdown","aria-haspopup":"listbox","aria-expanded":a.value,"aria-labelledby":`label-dropdown-${t.id}`,"aria-label":t.ariaLabel,"aria-controls":`dropdown-list-${t.id}`,onClick:e.withModifiers(c,["stop"])},[e.renderSlot(f.$slots,"toggle-dropdown",{toggle:{open:r,close:m,toggleDropdown:c},isOpen:a.value,select:h,selectedSanitized:e.unref(s),selected:t.selected},()=>[e.createTextVNode(e.toDisplayString(e.unref(s)||"Selecione"),1)])],8,Vt),e.createVNode(e.Transition,{mode:"out-in",name:"dropdown"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",xt,[t.searchable?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["search-container",{"-loading":t.loading}])},[e.renderSlot(f.$slots,"search",{filter:i.value},()=>[e.createVNode(N,{id:`search-dropdown-${t.id}`,ref:g=>v("search",g==null?void 0:g.input),modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=g=>i.value=g),"data-testid":`search-dropdown-${t.id}`,role:"combobox",class:"search","aria-autocomplete":"list",placeholder:t.searchPlaceholder,"aria-expanded":a.value,"aria-haspopup":"listbox","aria-owns":`dropdown-list-${t.id}`,"aria-controls":`dropdown-list-${t.id}`,"aria-activedescendant":S.id,"aria-labelledby":`label-dropdown-${t.id}`,onClick:u[1]||(u[1]=e.withModifiers(()=>{},["stop"])),onInput:u[2]||(u[2]=g=>{var C;return l("search",(C=g.target)==null?void 0:C.value)})},null,8,["id","modelValue","data-testid","placeholder","aria-expanded","aria-owns","aria-controls","aria-activedescendant","aria-labelledby"]),e.createVNode(e.unref(he),{"aria-hidden":"true",class:"icon"})])],2)):e.createCommentVNode("",!0),e.createElementVNode("ul",{id:`dropdown-list-${t.id}`,ref:g=>v("list",g),"data-testid":`dropdown-list-${t.id}`,role:"listbox",tabindex:"-1","aria-multiselectable":t.isMultipleSelect,"aria-labelledby":`label-dropdown-${t.id}`,class:"dropdown-list-core"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d),(g,C)=>(e.openBlock(),e.createElementBlock("li",{id:`option-${t.id}-${T(g,"value")}`,key:C,"data-testid":`option-${t.id}-${T(g,"value")}`,role:"option",tabindex:"-1",class:"dropdown-item",style:e.normalizeStyle(`--item: ${C+1}`),selected:b(g),"aria-selected":b(g),onClick:z=>h(g),onKeyup:[e.withKeys(z=>h(g),["enter"]),e.withKeys(z=>h(g),["space"])]},[e.renderSlot(f.$slots,"default",{text:T(g,"name"),option:g,isSelect:b},()=>[e.createTextVNode(e.toDisplayString(T(g,"name")),1)])],44,zt))),128)),e.unref(d).length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",Mt,[e.renderSlot(f.$slots,"no-data",{},()=>[It])]))],8,Nt)],512),[[e.vShow,a.value]])]),_:3})],42,Et))}}),rl="";Z.install=t=>{t.component("SolDropdown",Z)};const Ot={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Tt=[e.createElementVNode("path",{fill:"currentColor",d:"M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12L5.293 6.707a1 1 0 0 1 0-1.414z"},null,-1)];function Dt(t,l){return e.openBlock(),e.createElementBlock("svg",Ot,Tt)}const $e={name:"mi-close",render:Dt},Lt=["id","data-testid","title","aria-describedby","aria-disabled","onKeydown"],Pt=["id"],At={class:"label"},F=e.defineComponent({__name:"Chip",props:{id:null,label:null,selected:{type:Boolean},disabled:{type:Boolean},removable:{type:Boolean,default:!0}},emits:["close","update:selected"],setup(t,{emit:l}){const n=t;function o({code:a}){if(!n.disabled)switch(a){case"Enter":case"NumpadEnter":case"Space":return l("update:selected");case"Delete":case"Backspace":return n.removable&&l("close");default:return!1}}return(a,i)=>(e.openBlock(),e.createElementBlock("div",{id:`chip-${t.id}`,"data-testid":`chip-${t.id}`,class:e.normalizeClass(["sol-chip-core",{"-selected":t.selected,"-disabled":t.disabled}]),tabindex:"0",title:t.label,"aria-describedby":`chip-description-${t.id}`,"aria-disabled":t.disabled,onClick:i[1]||(i[1]=d=>l("update:selected")),onKeydown:e.withModifiers(o,["self"])},[e.createElementVNode("span",{id:`chip-description-${t.id}`,"z-index":"-1",class:"sr-only"},"Press Delete or Backspace to remove this Chip",8,Pt),e.createElementVNode("span",At,[e.renderSlot(a.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.label),1)])]),t.removable?(e.openBlock(),e.createElementBlock("i",{key:0,role:"presentation","aira-hidden":"true",class:"close",onClick:i[0]||(i[0]=e.withModifiers(d=>l("close"),["stop"]))},[e.createVNode(e.unref($e),{class:"icon"})])):e.createCommentVNode("",!0)],42,Lt))}}),ul="",Rt=["id","data-testid","aria-multiselectable","aria-labelledby"],Ft=["id","data-testid","selected","aria-selected","onClick","onKeyup"],Ht={key:0,class:"no-data"},qt=e.createTextVNode(" Sem dados "),Kt=e.defineComponent({__name:"ListOption",props:{id:null,options:null,multiple:{type:Boolean},isSelected:null},emits:["select"],setup(t,{expose:l,emit:n}){const o=e.ref("");return l({list:o}),(a,i)=>(e.openBlock(),e.createElementBlock("ul",{id:`select-list-${t.id}`,ref_key:"list",ref:o,"data-testid":`select-list-${t.id}`,role:"listbox",tabindex:"-1","aria-multiselectable":t.multiple,"aria-labelledby":`select-label-${t.id}`,class:"select-list-core"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,(d,s)=>(e.openBlock(),e.createElementBlock("li",{id:`option-${t.id}-${d.value}`,key:s,"data-testid":`option-${t.id}-${d.value}`,role:"option",tabindex:"-1",class:"select-option-item",style:e.normalizeStyle(`--item: ${s+1}`),selected:t.isSelected(d),"aria-selected":t.isSelected(d),onClick:c=>n("select",d),onKeyup:[e.withKeys(c=>n("select",d),["enter"]),e.withKeys(c=>n("select",d),["space"])]},[e.renderSlot(a.$slots,"item-list",{text:d.name,value:d.value,option:d,isSelected:t.isSelected(d)},()=>[e.createTextVNode(e.toDisplayString(d.name),1)])],44,Ft))),128)),t.options.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",Ht,[e.renderSlot(a.$slots,"no-data",{},()=>[qt])]))],8,Rt))}}),fl="",Ut={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Gt=[e.createElementVNode("path",{fill:"currentColor",d:"m17 10l-5 6l-5-6h10z"},null,-1)];function Qt(t,l){return e.openBlock(),e.createElementBlock("svg",Ut,Gt)}const Yt={name:"mi-caret-down",render:Qt};function be(t,l){function n({code:o}){var d;const a=o;(()=>{if(!(l!=null&&l.fallback))return!1;const s=c=>Array.isArray(c)?!c.includes(a):a!==c;return l!=null&&l.exclude?!t.hasOwnProperty(a)&&s(l.exclude):!t.hasOwnProperty(a)})()&&(l==null||l.fallback()),t.hasOwnProperty(a)&&((d=t[a])==null||d.call(t))}return{navigate:n}}function ye({target:t,query:l}){const n=e.reactive({id:"",index:-1});function o(m){const B=m!=null?m:n.index,h=t==null?void 0:t.value;m!==void 0&&(n.index=m),setTimeout(()=>{var S;const b=h.children[B],w=l&&b.querySelector(l)?b.querySelector(l):b;n.id=(S=b==null?void 0:b.id)!=null?S:"",w==null||w.focus()},0)}function a(){n.index>0&&(n.index-=1,o())}function i(m){n.index<m-1&&(n.index+=1,o())}function d(){o(0)}function s(m){o(m-1)}function c(m){return m.id?m.id===n.id:m.index===n.index}function r(){n.id="",n.index=-1}return{elementFocus:n,isItemFocused:c,resetStateFocus:r,focusListItem:o,focusOnPreviousItem:a,focusOnNextItem:i,focusOnFirstItem:d,focusOnLastItem:s}}const jt=["data-testid"],Wt=["id"],Zt=["id","disabled","data-testid","aria-expanded","aria-labelledby","aria-label","aria-controls","onClick"],Jt={key:0,class:"container-tags"},Xt={key:1,class:"mr-micro placeholder-inline",tabindex:"-1"},_t={class:"error"},vt={class:"select-options-container"},J=e.defineComponent({__name:"Select",props:{id:null,label:null,ariaLabel:null,smallerWidth:{type:Boolean},disabled:{type:Boolean},loading:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},fetchOnSearch:{type:Boolean,default:!1},multiple:{type:Boolean},searchPlaceholder:null,selected:null,options:{default:()=>[]},error:null,placeholder:{default:"placeholder"}},emits:["closeDropdown","search","update:selected"],setup(t,{emit:l}){const n=t,o=e.ref(),a=e.ref(!1),i=e.ref(""),d=e.computed(()=>{var $;return n.fetchOnSearch?n.options:($=n.options)==null?void 0:$.filter(y=>y.name.includes(i.value))});ne(o,()=>{a.value&&r()});function s(){n.disabled||(a.value?r():c())}function c(){a.value=!0}function r(){C(),l("closeDropdown")}function m($){if(Array.isArray(n.selected)){const y=n.selected.findIndex(({value:E})=>E===$.value);return y===-1?[...n.selected,$]:n.selected.filter((E,V)=>V!==y)}return[$]}function B($){n.multiple?l("update:selected",m($)):l("update:selected",$),n.closeOnSelect&&!n.multiple&&r()}function h($){var y;return Array.isArray(n.selected)?n.selected.some(({value:E})=>E===$.value):$.value===((y=n.selected)==null?void 0:y.value)}const b=e.ref(),w=e.ref();function S(){var $;n.searchable&&(u(),($=b.value)==null||$.focus())}const{elementFocus:p,focusOnFirstItem:O,focusOnLastItem:T,focusOnNextItem:v,focusOnPreviousItem:f,resetStateFocus:u}=ye({target:w}),{navigate:g}=be({Home:O,End:()=>T(n.options.length),ArrowUp:f,ArrowDown:()=>{!a.value&&c(),v(n.options.length)},Escape:r},{fallback:S,exclude:["Enter","NumpadEnter","Space"]});function C(){a.value=!1,i.value="",u()}function z($){return y=>{$==="search"?b.value=y==null?void 0:y.input:w.value=y==null?void 0:y.list}}function x(){var y;const $=n.selected;return(y=$==null?void 0:$.name)!=null?y:n.placeholder}return($,y)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:o,class:e.normalizeClass(["sol-select-core",{"-smaller":t.smallerWidth}]),"data-testid":`select-${t.id}`,onKeydownPassive:y[3]||(y[3]=(...E)=>e.unref(g)&&e.unref(g)(...E))},[e.renderSlot($.$slots,"label",{id:`select-label-${t.id}`,for:`select-toggle-${t.id}`},()=>[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,id:`select-label-${t.id}`,class:e.normalizeClass(["label",{"-disabled":t.disabled}])},e.toDisplayString(t.label),11,Wt)):e.createCommentVNode("",!0)]),e.createElementVNode("button",{id:`select-toggle-${t.id}`,disabled:t.disabled,"data-testid":`select-toggle-${t.id}`,class:"select-button-toggle","aria-haspopup":"listbox","aria-expanded":a.value,"aria-labelledby":`select-label-${t.id}`,"aria-label":t.ariaLabel,"aria-controls":`select-list-${t.id}`,onClick:e.withModifiers(s,["stop"])},[e.renderSlot($.$slots,"toggle-dropdown",{toggle:{open:c,close:r,toggleDropdown:s},isOpen:a.value,select:B,selected:t.selected},()=>{var E;return[t.multiple&&Array.isArray(t.selected)&&((E=t.selected)==null?void 0:E.length)?(e.openBlock(),e.createElementBlock("div",Jt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selected,(V,de)=>(e.openBlock(),e.createBlock(F,{id:V.value,key:de,label:V.name,onClick:e.withModifiers(se=>B(V),["stop"]),onClose:se=>B(V)},null,8,["id","label","onClick","onClose"]))),128))])):(e.openBlock(),e.createElementBlock("span",Xt,e.toDisplayString(x()),1)),e.createVNode(e.unref(Yt),{"aria-hidden":"true",tabindex:"-1",class:e.normalizeClass(["icon",{"-open":a.value}])},null,8,["class"])]})],8,Zt),e.createElementVNode("span",_t,e.toDisplayString(t.error),1),e.createVNode(e.Transition,{mode:"out-in",name:"dropdown"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",vt,[e.renderSlot($.$slots,"search",{},()=>[t.searchable?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["search-container",{"-loading":t.loading}])},[e.renderSlot($.$slots,"search",{filter:i.value},()=>[e.createVNode(N,{id:`select-search-${t.id}`,ref:z("search"),modelValue:i.value,"onUpdate:modelValue":y[0]||(y[0]=E=>i.value=E),"data-testid":`select-search-${t.id}`,role:"combobox",class:"search","aria-autocomplete":"list",placeholder:t.searchPlaceholder,"aria-expanded":a.value,"aria-haspopup":"listbox","aria-owns":`select-list-${t.id}`,"aria-controls":`select-list-${t.id}`,"aria-activedescendant":e.unref(p).id,"aria-labelledby":`select-label-${t.id}`,onClick:y[1]||(y[1]=e.withModifiers(()=>{},["stop"])),onInput:y[2]||(y[2]=E=>{var V;return l("search",(V=E.target)==null?void 0:V.value)})},null,8,["id","modelValue","data-testid","placeholder","aria-expanded","aria-owns","aria-controls","aria-activedescendant","aria-labelledby"]),e.createVNode(e.unref(he),{"aria-hidden":"true",class:"icon"})])],2)):e.createCommentVNode("",!0),e.createVNode(Kt,{id:t.id,ref:z("list"),options:e.unref(d),multiple:t.multiple,"is-selected":h,onSelect:B},{"item-list":e.withCtx(({text:E,value:V,option:de,isSelected:se})=>[e.renderSlot($.$slots,"default",{text:E,value:V,option:de,isSelected:se})]),"no-data":e.withCtx(()=>[e.renderSlot($.$slots,"no-data")]),_:3},8,["id","options","multiple"])])],512),[[e.vShow,a.value]])]),_:3})],42,jt))}}),$l="";J.install=t=>{t.component("SolSelect",J)},F.install=t=>{t.component("SolChip",F)};const en={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},tn=[e.createElementVNode("path",{fill:"currentColor",d:"M11.293 7.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1-1.414 1.414L12 9.414l-5.293 5.293a1 1 0 0 1-1.414-1.414l6-6z"},null,-1)];function nn(t,l){return e.openBlock(),e.createElementBlock("svg",en,tn)}const ln={name:"mi-chevron-up",render:nn},on=["id","data-testid","aria-disabled"],an=["data-testid","tabindex"],dn=["data-testid"],X=e.defineComponent({__name:"Accordion",props:{id:null,title:{default:"Title"},invert:{type:Boolean},disabled:{type:Boolean}},setup(t){return(l,n)=>(e.openBlock(),e.createElementBlock("details",{id:`accordion-${t.id}`,"data-testid":`accordion-${t.id}`,class:e.normalizeClass(["sol-accordion-core",{"-invert":t.invert,"-disabled":t.disabled}]),"aria-disabled":t.disabled},[e.createElementVNode("summary",{"data-testid":`accordion-title-${t.id}`,class:"summary",tabindex:t.disabled?-1:0},[e.renderSlot(l.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),e.createVNode(e.unref(ln),{class:"icon","aria-hidden":"true"})],8,an),e.createElementVNode("div",{"data-testid":`accordion-content-${t.id}`,class:"container"},[e.renderSlot(l.$slots,"default")],8,dn)],10,on))}}),yl="";X.install=t=>{t.component("SolAccordion",X)};const sn=["id","data-testid"],cn=["id","aria-expanded"],rn=["id","data-testid","aria-labelledby"],H=e.defineComponent({__name:"Menu",props:{id:null,label:{default:"Teste"},position:{default:"bottom"}},emits:["change"],setup(t,{emit:l}){const n=e.ref();ne(n,()=>{h()});const o=e.ref(!1),a=e.ref(),i=e.computed(()=>a.value?a.value.childElementCount:0),{resetStateFocus:d,focusOnPreviousItem:s,focusOnNextItem:c,focusOnFirstItem:r,focusOnLastItem:m}=ye({target:a,query:'[role="menuitem"]'}),{navigate:B}=be({Home:r,End:()=>m(i.value),ArrowUp:s,ArrowDown:()=>{!o.value&&b(),c(i.value)},Escape:h});function h(){o.value=!1,d()}function b(){o.value=!0}function w(){o.value?h():b()}return(S,p)=>(e.openBlock(),e.createElementBlock("div",{id:`menu-${t.id}`,ref_key:"el",ref:n,"data-testid":`menu-${t.id}`,class:e.normalizeClass([`-${t.position}`,"sol-menu-core"]),onKeyupPassive:p[0]||(p[0]=(...O)=>e.unref(B)&&e.unref(B)(...O)),onFocusin:p[1]||(p[1]=O=>l("change","teste"))},[e.createElementVNode("button",{id:`menu-button-${t.id}`,type:"button",role:"menuitem",class:"toggle-menu","aria-haspopup":"true","aria-expanded":o.value,onClick:w},[e.renderSlot(S.$slots,"label",{isOpen:o.value},()=>[e.createTextVNode(e.toDisplayString(t.label),1)])],8,cn),e.withDirectives(e.createElementVNode("menu",{id:`menu-container-${t.id}`,ref_key:"menu",ref:a,"data-testid":`menu-container-${t.id}`,role:"menu","aria-labelledby":`menu-button-${t.id}`,class:e.normalizeClass(["menu",{"-open":o.value}])},[e.renderSlot(S.$slots,"default")],10,rn),[[e.vShow,o.value]])],42,sn))}}),kl="";H.install=t=>{t.component("SolMenu",H)};const mn=["id"],un=["href","target"],q=e.defineComponent({__name:"MenuItemLink",props:{id:null,text:null,link:null,active:null,external:null},setup(t){return(l,n)=>(e.openBlock(),e.createElementBlock("li",{id:`menu-item-link-${t.id}`,class:"sol-menuitem-link-core",tabindex:"-1",role:"none"},[e.renderSlot(l.$slots,"default",{id:t.id,active:t.active,link:t.link,text:t.text,external:t.external},()=>[e.createElementVNode("a",{role:"menuitem",class:e.normalizeClass({"-active":t.active}),href:t.link,target:t.external?"_blank":"_parent"},e.toDisplayString(t.text),11,un)])],8,mn))}}),gl="";q.install=t=>{t.component("SolMenuItemLink",q)};const fn={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},hn=[e.createElementVNode("path",{fill:"currentColor",d:"M12 14.975q-.2 0-.387-.075q-.188-.075-.313-.2l-4.6-4.6q-.275-.275-.275-.7q0-.425.275-.7q.275-.275.7-.275q.425 0 .7.275l3.9 3.9l3.9-3.9q.275-.275.7-.275q.425 0 .7.275q.275.275.275.7q0 .425-.275.7l-4.6 4.6q-.15.15-.325.212q-.175.063-.375.063Z"},null,-1)];function $n(t,l){return e.openBlock(),e.createElementBlock("svg",fn,hn)}const bn={name:"material-symbols-keyboard-arrow-down-rounded",render:$n},yn={class:"label-container"},kn={class:"label"},_=e.defineComponent({__name:"MenuNavigationLinks",props:{id:null,label:null,linkItems:null},setup(t){return(l,n)=>(e.openBlock(),e.createBlock(H,{id:`navigation-${t.id}`,class:"sol-menu-navigation-links-core"},{label:e.withCtx(({isOpen:o})=>[e.renderSlot(l.$slots,"label",{isOpen:o},()=>[e.createElementVNode("div",yn,[e.createElementVNode("span",kn,e.toDisplayString(t.label),1),e.createVNode(e.unref(bn),{class:e.normalizeClass(["icon",{"-opened":o}]),"aria-hidden":"true"},null,8,["class"])])])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.linkItems,(o,a)=>(e.openBlock(),e.createBlock(q,{id:`${t.id}-${o.text}`,key:a,text:o.text,link:o.link,external:o.external,active:o.active},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{id:t.id,active:o.active,link:o.link,text:o.text,external:o.external})]),_:2},1032,["id","text","link","external","active"]))),128))]),_:3},8,["id"]))}}),wl="";_.install=t=>{t.component("SolMenuNavigationLinks",_)};const Sl="",Cl="",El="",pl="",ke=12,I={type:"success",timeout:5e3,showIcon:!0,showCloseButton:!0,position:"top-right",hideProgressBar:!1};function gn(t,l){const n=e.reactive({id:null,intervalId:null,startTime:0,remaining:l}),o=e.ref(100);function a(){clearInterval(n.intervalId),clearTimeout(n.id),n.remaining-=Date.now()-n.startTime}function i(){n.startTime=Date.now(),clearTimeout(n.id),n.intervalId=setInterval(()=>{o.value--},l/100-5),n.id=setTimeout(t,n.remaining)}function d(){clearInterval(n.intervalId),clearTimeout(n.id),o.value=100}return e.onMounted(()=>{if(l<=0)return!1}),e.onUnmounted(()=>{d()}),{start:i,stop:a,clear:d,progress:o}}function Bn(t){return{stylePosition:e.computed(()=>{const{position:n,offset:o}=t();switch(n){case"top-left":return{left:"0",top:`${o}px`};case"bottom-left":return{left:"0",bottom:`${o}px`};case"bottom-right":return{right:"0",bottom:`${o}px`};case"top-center":return{top:`${o}px`,left:"0",right:"0",marginRight:"auto",marginLeft:"auto"};case"bottom-center":return{bottom:`${o}px`,left:"0",right:"0",marginRight:"auto",marginLeft:"auto"};default:return{right:"0",top:`${o}px`}}})}}var ge=(t=>(t["top-left"]="bounce-left",t["top-right"]="bounce-right",t["top-center"]="bounce-down",t["bottom-left"]="bounce-left",t["bottom-center"]="bounce-up",t["bottom-right"]="bounce-right",t))(ge||{});const wn={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Sn=[e.createElementVNode("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12zm14.664-3.247a1 1 0 0 1 .083 1.411l-5.333 6a1 1 0 0 1-1.495 0l-2.666-3a1 1 0 0 1 1.494-1.328l1.92 2.159l4.586-5.16a1 1 0 0 1 1.411-.082z"},null,-1)];function Cn(t,l){return e.openBlock(),e.createElementBlock("svg",wn,Sn)}const En={name:"mi-circle-check",render:Cn},pn={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Vn=[e.createElementVNode("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12zm5.793-4.207a1 1 0 0 1 1.414 0L12 10.586l2.793-2.793a1 1 0 1 1 1.414 1.414L13.414 12l2.793 2.793a1 1 0 0 1-1.414 1.414L12 13.414l-2.793 2.793a1 1 0 0 1-1.414-1.414L10.586 12L7.793 9.207a1 1 0 0 1 0-1.414z"},null,-1)];function xn(t,l){return e.openBlock(),e.createElementBlock("svg",pn,Vn)}const Nn={name:"mi-circle-error",render:xn},zn={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1em",height:"1em"},Mn=[e.createElementVNode("g",{fill:"currentColor"},[e.createElementVNode("path",{d:"M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12z"}),e.createElementVNode("path",{d:"M12 14a1 1 0 0 1-1-1V7a1 1 0 1 1 2 0v6a1 1 0 0 1-1 1zm-1.5 2.5a1.5 1.5 0 1 1 3 0a1.5 1.5 0 0 1-3 0z"})],-1)];function In(t,l){return e.openBlock(),e.createElementBlock("svg",zn,Mn)}const On={name:"mi-circle-warning",render:In},Tn=["id","data-testid"],Dn={class:"content-wrapper"},Ln={key:0,class:"icon-container","aria-hidden":"true"},Pn={class:"content"},An={key:0,class:"description"},Rn=["data-testid"],Fn=e.defineComponent({__name:"Toast",props:{id:null,type:{default:I.type},visible:{type:Boolean,default:!1},title:null,description:null,timeout:null,hideProgressBar:{type:Boolean,default:I.hideProgressBar},showIcon:{type:Boolean,default:I.showIcon},offset:{default:0},onClose:null,onCloseHandler:null,position:{default:I.position}},setup(t){const l=t,{start:n,stop:o,progress:a}=gn(()=>{var r;(r=l.onCloseHandler)==null||r.call(l)},l.timeout),{stylePosition:i}=Bn(()=>({offset:l.offset,position:l.position})),d=e.computed(()=>l.title&&l.description);function s(){l.timeout>0&&o()}function c(){n()}return e.onMounted(()=>{n()}),(r,m)=>(e.openBlock(),e.createBlock(e.Transition,{name:e.unref(ge)[t.position],type:"animation"},{default:e.withCtx(()=>[t.visible?(e.openBlock(),e.createElementBlock("div",{key:0,id:`toast-${t.type}-${t.id}`,role:"status","data-testid":`toast-${t.type}-${t.id}`,style:e.normalizeStyle(e.unref(i)),class:e.normalizeClass(["sol-toast-core",[`-${t.type}`,{"-multiline":e.unref(d)}]]),onKeyup:m[1]||(m[1]=e.withKeys((...B)=>t.onCloseHandler&&t.onCloseHandler(...B),["esc"])),onMouseenter:s,onMouseleave:c,onFocusin:s,onFocusout:c},[e.createElementVNode("section",Dn,[t.showIcon?(e.openBlock(),e.createElementBlock("div",Ln,[e.renderSlot(r.$slots,"icon-status",{type:t.type},()=>[t.type==="success"?(e.openBlock(),e.createBlock(e.unref(En),{key:0,class:"icon"})):e.createCommentVNode("",!0),t.type==="info"?(e.openBlock(),e.createBlock(e.unref(On),{key:1,class:"icon"})):e.createCommentVNode("",!0),t.type==="danger"?(e.openBlock(),e.createBlock(e.unref(Nn),{key:2,class:"icon"})):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Pn,[e.createElementVNode("p",{class:e.normalizeClass(["title",{"-multiline":e.unref(d)}])},[e.renderSlot(r.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],2),t.description?(e.openBlock(),e.createElementBlock("p",An,[e.renderSlot(r.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)])])):e.createCommentVNode("",!0)])]),e.createElementVNode("button",{type:"button",class:e.normalizeClass(["close",{"-multiline":e.unref(d)}]),"data-testid":`toast-close-button-${t.type}-${t.id}`,"aria-label":"close notification",onClick:m[0]||(m[0]=(...B)=>t.onCloseHandler&&t.onCloseHandler(...B))},[e.createVNode(e.unref($e),{class:"icon"})],10,Rn),t.hideProgressBar?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"progressbar","aria-hidden":"true",style:e.normalizeStyle({width:`${e.unref(a)}%`})},null,4))],46,Tn)):e.createCommentVNode("",!0)]),_:3},8,["name"]))}}),zl="",K={"top-left":[],"top-right":[],"top-center":[],"bottom-left":[],"bottom-right":[],"bottom-center":[]};function Hn(){let t=0;function l(){Object.entries(K).forEach(([o,a])=>{a.length&&a.forEach(i=>{var s;const d=(s=i.toastVNode.props)==null?void 0:s.id;ae(d,o)})})}return{createToast:(o,a)=>{const i=t++,d=a?qn(a):I;return a!=null&&a.showOneToast&&l(),Kn(i,d,typeof o=="string"?{title:o}:o),{close:()=>ae(i,d.position)}},clearAllToasts:l}}function qn(t){const l={...I,...t,showIcon:t.showIcon};return l.hideProgressBar=!!(l.timeout&&(l==null?void 0:l.timeout)<=0),t.hideProgressBar&&(l.hideProgressBar=t.hideProgressBar),l}function Kn(t,l,n){setTimeout(()=>{const o=Gn(l,K,ke),a=document.createElement("div");document.body.appendChild(a);const i=e.createVNode(Fn,Un(l,t,o,ae,n));e.render(i,a),K[l.position].push({toastVNode:i,container:a}),i.component&&(i.component.props.visible=!0)},1)}function Un(t,l,n,o,a){return{...t,...a,id:l,offset:n,visible:!1,onCloseHandler(){o(l,t.position?t.position:"top-right")}}}function Gn(t,l,n){if(!t.position)throw new Error("no position");return l[t.position].reduce((o,{toastVNode:a})=>(o+=a.el.offsetHeight+n||0,o),n)}function Qn(t,l,n,o){for(let a=t;a<l.length;a++){const{toastVNode:i}=l[a];if(!i.el)return;const d=n.split("-")[0]||"top",s=parseInt(i.el.style[d],10)-o-ke;if(!i.component)return;i.component.props.offset=s}}function ae(t,l){var c;const n=K[l],o=n.findIndex(({toastVNode:r})=>{var m;return t===((m=r==null?void 0:r.props)==null?void 0:m.id)});if(o===-1)return;const{container:a,toastVNode:i}=n[o],d=(c=i==null?void 0:i.el)==null?void 0:c.offsetHeight;if(K[l].splice(o,1),Qn(o,n,l,d),!i.component)return;const s=i.component.props;s.visible=!1,s.onClose&&s.onClose(),setTimeout(()=>{e.render(null,a),document.body.removeChild(a)},1e3)}console.log("%c\u{1F33B}[Girassol]\u{1F33B}","padding: 8px;background: #212121;color: gold; font-family: 'Fira code'; font-weight: bold; font-size: 1.2rem");const ie={SolButton:M,SolButtonDestructive:ee,SolInput:N,SolTextarea:G,SolTextfield:D,SolTextfieldPassword:U,SolRadio:L,SolRadioGroup:Q,SolCheckbox:P,SolCheckboxGroup:Y,SolSwitch:j,SolDropdown:Z,SolSelect:J,SolChip:F,SolAccordion:X,SolMenu:H,SolMenuItemLink:q,SolMenuNavigationLinks:_};function Yn(t){for(const l in ie)t.component(l,ie[l])}k.SolAccordion=X,k.SolButton=M,k.SolButtonDestructive=ee,k.SolCheckbox=P,k.SolCheckboxGroup=Y,k.SolChip=F,k.SolDropdown=Z,k.SolInput=N,k.SolMenu=H,k.SolMenuItemLink=q,k.SolMenuNavigationLinks=_,k.SolRadio=L,k.SolRadioGroup=Q,k.SolSelect=J,k.SolSwitch=j,k.SolTextarea=G,k.SolTextfield=D,k.SolTextfieldPassword=U,k.components=ie,k.install=Yn,k.useToast=Hn,Object.defineProperties(k,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});