plataforma-fundacao-componentes 2.26.17 → 2.26.18

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.
@@ -25257,7 +25257,7 @@ function ZE({
25257
25257
  ]
25258
25258
  ), ue = lt(() => {
25259
25259
  if (o && Array.isArray(m.value))
25260
- return (i == null ? void 0 : i(m.value.length)) || "";
25260
+ return m.value.length && (i == null ? void 0 : i(m.value.length)) || "";
25261
25261
  if (m.value) {
25262
25262
  const ie = h == null ? void 0 : h.find((ce) => ce.value === m.value);
25263
25263
  return (ie == null ? void 0 : ie.label) ?? "";
@@ -40879,7 +40879,7 @@ function(e) {
40879
40879
  */
40880
40880
  function(e) {
40881
40881
  function t() {
40882
- return (St.canvg ? Promise.resolve(St.canvg) : import("./index.es-B5GfQI7h.js")).catch(function(r) {
40882
+ return (St.canvg ? Promise.resolve(St.canvg) : import("./index.es-DnY2NrhV.js")).catch(function(r) {
40883
40883
  return Promise.reject(new Error("Could not load canvg: " + r));
40884
40884
  }).then(function(r) {
40885
40885
  return r.default ? r.default : r;
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-Dsd_w2nh.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-BAkw0-3o.js";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, V = (
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bA as o, w as e, bo as n, x as c, a as t, y as i, bp as r, bq as l, bq as I, br as b, bs as d, A as u, bt as C, bu as A, bv as T, bw as g, z as h, bx as S, by as p, bz as m, bB as P, G as L, bC as E, bD as M, bE as R, bF as y, J as D, bG as B, bH as f, K as w, L as F, u as U, P as k, Q as v, B as O, U as N, bI as _, V as H, bJ as x, W as V, b as q, bK as W, X as G, Y as Q, Z as z, bL as Y, bM as J, bN as j, $ as K, d as X, bO as Z, bP as $, bQ as aa, bR as sa, a0 as oa, bS as ea, bT as na, bU as ca, bV as ta, bW as ia, bX as ra, a1 as la, a2 as Ia, bY as ba, bZ as da, C as ua, a3 as Ca, a4 as Aa, e as Ta, b_ as ga, b$ as ha, c0 as Sa, c1 as pa, a5 as ma, D as Pa, c2 as La, a6 as Ea, a7 as Ma, c3 as Ra, c4 as ya, a8 as Da, a9 as Ba, aa as fa, c5 as wa, ab as Fa, ac as Ua, ad as ka, E as va, c6 as Oa, c7 as Na, c8 as _a, c9 as Ha, ca as xa, h as Va, f as qa, ae as Wa, cb as Ga, F as Qa, af as za, cc as Ya, cd as Ja, ag as ja, ce as Ka, cf as Xa, ah as Za, cg as $a, ai as as, aj as ss, ch as os, i as es, ci as ns, cj as cs, ck as ts, H as is, j as rs, cl as ls, cm as Is, ak as bs, al as ds, k as us, cn as Cs, am as As, an as Ts, l as gs, I as hs, ao as Ss, co as ps, ap as ms, aq as Ps, ar as Ls, cp as Es, cq as Ms, as as Rs, at as ys, at as Ds, cr as Bs, cs as fs, ct as ws, cu as Fs, cv as Us, cw as ks, cx as vs, au as Os, av as Ns, cy as _s, cz as Hs, aw as xs, ax as Vs, M as qs, ay as Ws, cA as Gs, az as Qs, cB as zs, cC as Ys, aA as Js, aB as js, N as Ks, m as Xs, O as Zs, cD as $s, aC as ao, aD as so, aE as oo, aF as eo, cE as no, cF as co, cG as to, cH as io, cI as ro, cJ as lo, aG as Io, cK as bo, aH as uo, cL as Co, cM as Ao, aI as To, R as go, cN as ho, cO as So, aJ as po, q as mo, S as Po, o as Lo, n as Eo, r as Mo, aK as Ro, aL as yo, cP as Do, aM as Bo, cQ as fo, cR as wo, cS as Fo, t as Uo, cT as ko, cU as vo, aN as Oo, aO as No, aP as _o, aQ as Ho, aR as xo, aS as Vo, aT as qo, cV as Wo, cW as Go, cX as Qo, aU as zo, aV as Yo, aW as Jo, T as jo, aX as Ko, aY as Xo, aZ as Zo, v as $o, a_ as ae, cY as se, cZ as oe, c_ as ee, c$ as ne, a$ as ce, b0 as te, d0 as ie, d1 as re, d2 as le, b1 as Ie, b2 as be, b3 as de, d3 as ue, p as Ce, s as Ae, b4 as Te, b5 as ge, b6 as he, b7 as Se, b8 as pe, b9 as me, ba as Pe, bb as Le, bc as Ee, bd as Me, be as Re, bf as ye, bg as De, bh as Be, bi as fe, bj as we, bk as Fe, bl as Ue, bm as ke, bn as ve } from "./index-Dsd_w2nh.js";
1
+ import { bA as o, w as e, bo as n, x as c, a as t, y as i, bp as r, bq as l, bq as I, br as b, bs as d, A as u, bt as C, bu as A, bv as T, bw as g, z as h, bx as S, by as p, bz as m, bB as P, G as L, bC as E, bD as M, bE as R, bF as y, J as D, bG as B, bH as f, K as w, L as F, u as U, P as k, Q as v, B as O, U as N, bI as _, V as H, bJ as x, W as V, b as q, bK as W, X as G, Y as Q, Z as z, bL as Y, bM as J, bN as j, $ as K, d as X, bO as Z, bP as $, bQ as aa, bR as sa, a0 as oa, bS as ea, bT as na, bU as ca, bV as ta, bW as ia, bX as ra, a1 as la, a2 as Ia, bY as ba, bZ as da, C as ua, a3 as Ca, a4 as Aa, e as Ta, b_ as ga, b$ as ha, c0 as Sa, c1 as pa, a5 as ma, D as Pa, c2 as La, a6 as Ea, a7 as Ma, c3 as Ra, c4 as ya, a8 as Da, a9 as Ba, aa as fa, c5 as wa, ab as Fa, ac as Ua, ad as ka, E as va, c6 as Oa, c7 as Na, c8 as _a, c9 as Ha, ca as xa, h as Va, f as qa, ae as Wa, cb as Ga, F as Qa, af as za, cc as Ya, cd as Ja, ag as ja, ce as Ka, cf as Xa, ah as Za, cg as $a, ai as as, aj as ss, ch as os, i as es, ci as ns, cj as cs, ck as ts, H as is, j as rs, cl as ls, cm as Is, ak as bs, al as ds, k as us, cn as Cs, am as As, an as Ts, l as gs, I as hs, ao as Ss, co as ps, ap as ms, aq as Ps, ar as Ls, cp as Es, cq as Ms, as as Rs, at as ys, at as Ds, cr as Bs, cs as fs, ct as ws, cu as Fs, cv as Us, cw as ks, cx as vs, au as Os, av as Ns, cy as _s, cz as Hs, aw as xs, ax as Vs, M as qs, ay as Ws, cA as Gs, az as Qs, cB as zs, cC as Ys, aA as Js, aB as js, N as Ks, m as Xs, O as Zs, cD as $s, aC as ao, aD as so, aE as oo, aF as eo, cE as no, cF as co, cG as to, cH as io, cI as ro, cJ as lo, aG as Io, cK as bo, aH as uo, cL as Co, cM as Ao, aI as To, R as go, cN as ho, cO as So, aJ as po, q as mo, S as Po, o as Lo, n as Eo, r as Mo, aK as Ro, aL as yo, cP as Do, aM as Bo, cQ as fo, cR as wo, cS as Fo, t as Uo, cT as ko, cU as vo, aN as Oo, aO as No, aP as _o, aQ as Ho, aR as xo, aS as Vo, aT as qo, cV as Wo, cW as Go, cX as Qo, aU as zo, aV as Yo, aW as Jo, T as jo, aX as Ko, aY as Xo, aZ as Zo, v as $o, a_ as ae, cY as se, cZ as oe, c_ as ee, c$ as ne, a$ as ce, b0 as te, d0 as ie, d1 as re, d2 as le, b1 as Ie, b2 as be, b3 as de, d3 as ue, p as Ce, s as Ae, b4 as Te, b5 as ge, b6 as he, b7 as Se, b8 as pe, b9 as me, ba as Pe, bb as Le, bc as Ee, bd as Me, be as Re, bf as ye, bg as De, bh as Be, bi as fe, bj as we, bk as Fe, bl as Ue, bm as ke, bn as ve } from "./index-BAkw0-3o.js";
2
2
  export {
3
3
  o as ATMIcon,
4
4
  e as Accordion,
@@ -121,7 +121,7 @@ Make sure your charset is UTF-8`);r=(r>>>8&255)*192+(r&255),t.put(r,13)}};var mV
121
121
  The chosen QR Code version cannot contain this amount of data.
122
122
  Minimum version required to store current data is: `+a+`.
123
123
  `);const s=NV(e,r,i),o=xf.getSymbolSize(e),c=new yV(o);return FV(c,e),HV(c),MV(c,e),Mh(c,r,0),e>=7&&LV(c,e),_V(c,s),isNaN(n)&&(n=Sh.getBestMask(c,Mh.bind(null,c,r))),Sh.applyMask(n,c),Mh(c,r,n),{modules:c,version:e,errorCorrectionLevel:r,maskPattern:n,segments:i}}ZC.create=function(e,r){if(typeof e>"u"||e==="")throw new Error("No input text");let n=Eh.M,i,a;return typeof r<"u"&&(n=Eh.from(r.errorCorrectionLevel,Eh.M),i=Ef.from(r.version),a=Sh.from(r.maskPattern),r.toSJISFunc&&xf.setToSJISFunction(r.toSJISFunc)),TV(e,i,n,a)};var Aw={},Lh={};(function(t){function e(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(a){return[a,a]}))),n.length===6&&n.push("F","F");const i=parseInt(n.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+n.slice(0,6).join("")}}t.getOptions=function(n){n||(n={}),n.color||(n.color={});const i=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,a=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:a,scale:a?4:s,margin:i,color:{dark:e(n.color.dark||"#000000ff"),light:e(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},t.getScale=function(n,i){return i.width&&i.width>=n+i.margin*2?i.width/(n+i.margin*2):i.scale},t.getImageWidth=function(n,i){const a=t.getScale(n,i);return Math.floor((n+i.margin*2)*a)},t.qrToImageData=function(n,i,a){const s=i.modules.size,o=i.modules.data,c=t.getScale(s,a),d=Math.floor((s+a.margin*2)*c),g=a.margin*c,m=[a.color.light,a.color.dark];for(let w=0;w<d;w++)for(let p=0;p<d;p++){let S=(w*d+p)*4,x=a.color.light;if(w>=g&&p>=g&&w<d-g&&p<d-g){const L=Math.floor((w-g)/c),M=Math.floor((p-g)/c);x=m[o[L*s+M]?1:0]}n[S++]=x.r,n[S++]=x.g,n[S++]=x.b,n[S]=x.a}}})(Lh),function(t){const e=Lh;function r(i,a,s){i.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=s,a.width=s,a.style.height=s+"px",a.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}t.render=function(a,s,o){let c=o,d=s;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(d=n()),c=e.getOptions(c);const g=e.getImageWidth(a.modules.size,c),m=d.getContext("2d"),w=m.createImageData(g,g);return e.qrToImageData(w.data,a,c),r(m,d,g),m.putImageData(w,0,0),d},t.renderToDataURL=function(a,s,o){let c=o;typeof c>"u"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const d=t.render(a,s,c),g=c.type||"image/png",m=c.rendererOpts||{};return d.toDataURL(g,m.quality)}}(Aw);var sw={};const UV=Lh;function ow(t,e){const r=t.a/255,n=e+'="'+t.hex+'"';return r<1?n+" "+e+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function _h(t,e,r){let n=t+e;return typeof r<"u"&&(n+=" "+r),n}function OV(t,e,r){let n="",i=0,a=!1,s=0;for(let o=0;o<t.length;o++){const c=Math.floor(o%e),d=Math.floor(o/e);!c&&!a&&(a=!0),t[o]?(s++,o>0&&c>0&&t[o-1]||(n+=a?_h("M",c+r,.5+d+r):_h("m",i,0),i=0,a=!1),c+1<e&&t[o+1]||(n+=_h("h",s),s=0)):i++}return n}sw.render=function(e,r,n){const i=UV.getOptions(r),a=e.modules.size,s=e.modules.data,o=a+i.margin*2,c=i.color.light.a?"<path "+ow(i.color.light,"fill")+' d="M0 0h'+o+"v"+o+'H0z"/>':"",d="<path "+ow(i.color.dark,"stroke")+' d="'+OV(s,a,i.margin)+'"/>',g='viewBox="0 0 '+o+" "+o+'"',w='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+g+' shape-rendering="crispEdges">'+c+d+`</svg>
124
- `;return typeof n=="function"&&n(null,w),w};const QV=XQ,Nh=ZC,lw=Aw,VV=sw;function Ih(t,e,r,n,i){const a=[].slice.call(arguments,1),s=a.length,o=typeof a[s-1]=="function";if(!o&&!QV())throw new Error("Callback required as last argument");if(o){if(s<2)throw new Error("Too few arguments provided");s===2?(i=r,r=e,e=n=void 0):s===3&&(e.getContext&&typeof i>"u"?(i=n,n=void 0):(i=n,n=r,r=e,e=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=e,e=n=void 0):s===2&&!e.getContext&&(n=r,r=e,e=void 0),new Promise(function(c,d){try{const g=Nh.create(r,n);c(t(g,e,n))}catch(g){d(g)}})}try{const c=Nh.create(r,n);i(null,t(c,e,n))}catch(c){i(c)}}Su.create=Nh.create,Su.toCanvas=Ih.bind(null,lw.render),Su.toDataURL=Ih.bind(null,lw.renderToDataURL),Su.toString=Ih.bind(null,function(t,e,r){return VV.render(t,r)});const DV="qrcode";function kV({margin:t=0,color:e="#3fa110",...r}){const n=k.createRef();k.useEffect(()=>{Su.toString(r.text||"-",{type:"svg",width:r.size,margin:t,color:{dark:e,light:"#0000"}}).then(a=>{n.current&&(n.current.innerHTML=a)})},[r,n]);const i=k.useMemo(()=>tt([DV,r.button?"button":""]),[r.button]);return u.jsx("div",{className:i,ref:n,style:{width:r.size,height:r.size,backgroundColor:r.backgroundColor},onClick:r.onClick,children:u.jsx(Co,{theme:"secondary"})})}const PV=k.memo(kV),jV="component-radio-button";function RV({onChange:t,value:e,className:r="",theme:n=Td.New,error:i=!1,type:a="button",disabled:s=!1,...o}){const c=Pr([jV,n,r]);return u.jsx("button",{...o,type:a,"data-checked":e,"data-error":i,className:c,disabled:s,onClick:()=>{s||t==null||t(!e)}})}const $V=k.memo(RV),B2="component-search";function ZV({minLenghtToSearch:t=1,...e}){const[r,n]=k.useState(),[i,a]=k.useState(),[s,o]=k.useState(!1),[c,d]=k.useState(e.data),[g]=k.useState(br()),[m]=k.useState(br()),[w,p]=k.useState(!1),S=k.createRef();ff([S],V=>{V||p(!1)});const L=V=>{if(V.key==="Escape"){p(!1);const j=document.querySelector(`#${g} input`);j&&j.focus(),V.preventDefault(),V.stopPropagation()}},M=k.useCallback(V=>{const{value:j}=V.target;n(j),(j==null?void 0:j.length)>=(t??0)&&(e.loadData?(p(!1),d([])):p(!0)),e.onChange&&e.onChange(j)},[r,e.onChange]),I=k.useCallback(V=>{e.showSelected?n(""):n(V.label),p(!1),a(V.label),e.onSelect&&e.onSelect(V)},[]),Q=()=>{if(typeof e.loadData=="function"){o(!0);const V=e.loadData();V instanceof Promise&&V.then(()=>{p(!0),a(void 0),o(!1)}).catch(()=>{o(!1)})}};return k.useEffect(()=>{const V=setTimeout(()=>{r!==i&&((r==null?void 0:r.length)??1)>=(t??0)&&Q()},1e3);return()=>clearTimeout(V)},[r]),k.useEffect(()=>{d(e.data)},[e.data]),k.useEffect(()=>(document.addEventListener("keydown",L),e.loadData&&(c!=null&&c.length)&&((r==null?void 0:r.length)??1)>=(t??0)&&(o(!1),p(!0)),()=>{document.removeEventListener("keydown",L)}),[c]),k.useEffect(()=>{n(e.value),e.value||a(void 0),e.value!==i&&a(void 0)},[e.value]),u.jsxs("div",{tabIndex:1,id:g,className:B2,ref:S,children:[u.jsx(xu,{id:br(),value:r,onChange:M,label:e.label,placeholder:e.placeholder,onKeyDown:V=>{if(V.key==="Tab"&&!V.shiftKey||V.key==="ArrowDown"){const j=`#${m} .${B2}-options:nth-child(1)`,q=document.querySelector(j);q&&(q.focus(),V.preventDefault())}},rightObject:u.jsxs("div",{className:`${B2}-right-container`,children:[e.showSelected&&i?u.jsx(Em,{label:i,allClickable:!1,w100:!0,onClick:()=>{e.onSelect(void 0),n(""),a(void 0)}}):void 0,i&&e.onSelect&&e.clearButton?u.jsx(Dr,{icon:u.jsx(mo,{}),tabIndex:-1,onClick:()=>{e.onSelect(void 0),n(""),a(void 0)}}):void 0,u.jsx(Dr,{icon:s?u.jsx(c2,{indefinido:!0}):u.jsx(vh,{}),tabIndex:-1,onClick:()=>{if(e.value&&typeof e.loadData=="function"){p(!1),o(!0);const V=e.loadData();V instanceof Promise&&V.then(()=>{p(!0),o(!1)}).catch(()=>{o(!1)})}}})]}),loading:s,error:e.error,helperText:e.helperText,disabled:e.disabled||s}),u.jsx(ln,{in:w,timeout:300,classNames:"panel-fade",unmountOnExit:!0,children:u.jsx("div",{id:m,className:`${B2}-panel scroll-white`,children:e.loadData?c==null?void 0:c.map((V,j)=>u.jsx("div",{tabIndex:1,className:`${B2}-options`,onClick:()=>{I(V)},onKeyDown:q=>{const re=q.currentTarget,X=re.parentNode,le=Array.prototype.indexOf.call(X.children,re),ge=X.childElementCount,R=document.querySelector(`#${g} input`);switch(q.key){case"Tab":if(q.shiftKey&&le===0){const K=document.querySelector(`#${g} input`);K&&(K.focus(),q.preventDefault())}break;case"Enter":I(V),p(!1),R&&R.focus(),q.preventDefault();break;case" ":I(V),q.preventDefault();break;case"ArrowUp":if(le>0)X.children[le-1].focus();else{const K=document.querySelector(`#${g} input`);K&&K.focus()}q.preventDefault();break;case"ArrowDown":le<ge-1&&(X.children[le+1].focus(),q.preventDefault());break}},children:u.jsx("span",{children:V.label})},j)):c==null?void 0:c.filter(V=>cu(V.label).toLowerCase().match(cu(e.value).toLowerCase())).map((V,j)=>u.jsx("div",{tabIndex:1,className:`${B2}-options`,onClick:()=>{I(V)},onKeyDown:q=>{const re=q.currentTarget,X=re.parentNode,le=Array.prototype.indexOf.call(X.children,re),ge=X.childElementCount,R=document.querySelector(`#${g} input`);switch(q.key){case"Tab":if(q.shiftKey&&le===0){const K=document.querySelector(`#${g} input`);K&&(K.focus(),q.preventDefault())}break;case"Enter":I(V),p(!1),R&&R.focus(),q.preventDefault();break;case" ":I(V),q.preventDefault();break;case"ArrowUp":if(le>0)X.children[le-1].focus();else{const K=document.querySelector(`#${g} input`);K&&K.focus()}q.preventDefault();break;case"ArrowDown":le<ge-1&&(X.children[le+1].focus(),q.preventDefault());break}},children:u.jsx("span",{children:V.label})},j))})})]})}const KV=k.memo(ZV),Br="component-select";function WV({clearButton:t=!0,showPanelFooter:e=!0,panelFilterPlaceholder:r=Vi.components.select.panelFilterPlaceholder,noOptionMessage:n=Vi.components.select.noOptionMessage,multiplePlaceholder:i=Vi.components.select.multiple.numberOfItems.items,preSelectUniqueOption:a=!1,multiple:s,onChange:o,panelFilter:c,options:d,...g}){const m=X5(),w=k.useMemo(()=>br(),[]),[p,S]=k.useState(),x=k.createRef(),[L,M]=k.useState(!1),[I,Q]=k.useState(""),[V,j]=k.useState(!1),q=se=>{if(se){if(se.key)return se.key;if(se.value&&typeof se.value!="boolean")return se.value}return br()},re=JSON.stringify(d);k.useLayoutEffect(()=>{a&&d&&d.length===1&&(s&&g.value&&Array.isArray(g.value)&&g.value.length!==1?o==null||o([d[0].value],{setPanelOpened:M}):!s&&g.value!==d[0].value&&(o==null||o(d[0].value,{setPanelOpened:M})))},[re,a]);const X=k.useMemo(()=>u.jsxs("div",{className:`${Br}-objects`,children:[t&&!g.readOnly&&(s&&g.value&&Array.isArray(g.value)&&g.value.length||!s&&(g.value||g.value===0||g.value===!1))?u.jsx(Dr,{disabled:g.disabled||!1,tabIndex:-1,className:`${Br}-clear-button`,icon:u.jsx(mo,{}),onClick:()=>{M(!1),s?o==null||o([],{setPanelOpened:M}):o==null||o(null,{setPanelOpened:M})}}):void 0,u.jsx(Dr,{disabled:g.disabled||!1,tabIndex:-1,className:`${Br}-arrow ${Br}-arrow-${L?"up":"down"}`,onClick:()=>M(!L),icon:u.jsx(i2,{})})]}),[t,s,o,L,g.disabled,g.readOnly,g.value]),le=k.useMemo(()=>{if(s&&Array.isArray(g.value))return(i==null?void 0:i(g.value.length))||"";if(g.value){const se=d==null?void 0:d.find(ce=>ce.value===g.value);return(se==null?void 0:se.label)??""}return""},[i,s,d,g.value]),ge=k.useMemo(()=>({...g,className:tt([Br,g.className]),forceFocus:V,readOnly:!0,rightObject:X,onClick:()=>{var ce;const se=(ce=x.current)==null?void 0:ce.querySelector(`.${Br}-select-fake`);!s&&m.os===Di.iOS&&se?se.focus():M(!L)},onFocus:se=>{var be;const ce=(be=x.current)==null?void 0:be.querySelector(`.${Br}-select-fake`);!s&&m.os===Di.iOS&&ce?ce.focus():se.target.setSelectionRange(0,0)},onKeyDown:se=>{if(se.keyCode===32&&(M(!L),se.preventDefault()),se.keyCode===9&&L){const ce=document.querySelector(`#${w} .${Br}-panel-input input`);if(ce)ce.focus(),se.preventDefault();else{const be=document.querySelector(`#${w} .${Br}-options div`);be&&(be.focus(),se.preventDefault())}}},value:le}),[X,V,le,s,w,L,g,m.os,x]),R=se=>{const ce=Array.isArray(g.value)&&g.value.indexOf(se.value)>-1,be=()=>{if(!g.readOnly&&s)if(ce){const oe=Array.isArray(g.value)?g.value.slice():[];oe.splice(oe.indexOf(se.value),1),o==null||o(oe,{setPanelOpened:M})}else{const oe=Array.isArray(g.value)?g.value.slice():[];oe.push(se.value),o==null||o(oe,{setPanelOpened:M})}};return u.jsxs("div",{tabIndex:1,className:`${Br}-multiple-option ${g.readOnly?"read-only":""}`,onKeyDown:oe=>{const xe=oe.currentTarget,D=xe.parentNode,G=Array.prototype.indexOf.call(D.children,xe),Ae=D.childElementCount;switch(oe.key){case"Tab":if(oe.shiftKey){if(G===0){const J=document.querySelector(`#${w} .${Br}-panel-input input`);J&&(J.focus(),oe.preventDefault())}}else if(G===Ae-1){const J=document.querySelector(`#${w} ${Br}-footer-button.${Br}-selectAll`);J&&J.focus()}break;case"Enter":ce||be(),M(!1),oe.preventDefault();break;case" ":be(),oe.preventDefault();break;case"ArrowUp":if(G>0)D.children[G-1].focus();else{const J=document.querySelector(`#${w} .${Br}-panel-input input`);J&&J.focus()}oe.preventDefault();break;case"ArrowDown":G<Ae-1&&(D.children[G+1].focus(),oe.preventDefault());break}},onClick:be,children:[u.jsx(q5,{value:ce,disabled:g.readOnly,onChange:()=>{be()}}),u.jsx("div",{className:`${Br}-multiple-option-label`,children:se.label})]},q(se))},K=se=>{if(s)return;const ce=()=>{!g.readOnly&&g.value!==se.value&&(M(!1),o==null||o(se.value,{setPanelOpened:M}))};return u.jsx("div",{tabIndex:1,className:`${Br}-single-option ${g.readOnly?"read-only":""}`,onClick:ce,onKeyDown:be=>{const oe=be.currentTarget,xe=oe.parentNode,D=Array.prototype.indexOf.call(xe.children,oe),G=xe.childElementCount;switch(be.key){case"Tab":if(be.shiftKey&&D===0){const Ae=document.querySelector(`#${w} .${Br}-panel-input input`);Ae&&(Ae.focus(),be.preventDefault())}break;case"Enter":ce(),M(!1),be.preventDefault();break;case" ":ce(),be.preventDefault();break;case"ArrowUp":if(D>0)xe.children[D-1].focus();else{const Ae=document.querySelector(`#${w} .${Br}-panel-input input`);Ae&&Ae.focus()}be.preventDefault();break;case"ArrowDown":D<G-1&&xe.children[D+1].focus(),be.preventDefault();break}},children:se.label},q(se))},ae=k.useMemo(()=>u.jsx("div",{className:`${Br}-no-result`,children:n}),[n]),te=k.useMemo(()=>(d==null?void 0:d.filter(se=>cu(String(se.label)).toLowerCase().includes(cu(I).toLowerCase())))||[],[d,I]),we=k.useRef(!0);k.useLayoutEffect(()=>{var se;if(L){const ce=document.querySelector(`#${w}`);window.innerHeight<ce.getBoundingClientRect().bottom&&(ce.style.top="unset",ce.style.bottom="0");const be=document.querySelector(`#${w} .${Br}-panel-input input`);if(be&&m.os!==Di.iOS)setTimeout(()=>{be.focus()},50);else if(s){const oe=document.querySelector(`#${w} .${Br}-options div`);oe&&setTimeout(()=>{oe.focus()},50)}else{const oe=d==null?void 0:d.map((Ae,J)=>({...Ae,ind:J})).find(Ae=>Ae.value===g.value),xe=oe?oe.ind+1:1,D=`#${w} .${Br}-options div:nth-child(${xe})`,G=document.querySelector(D);G&&setTimeout(()=>{G.focus()},50)}}else if(we.current)we&&(we.current=!1);else{const ce=(se=x.current)==null?void 0:se.querySelector("input");ce&&m.os!==Di.iOS&&ce.focus()}},[L]);const ve=k.useCallback(se=>{let ce=se-12;const be=document.querySelector(`#${w} .${Br}-options`);e&&(ce-=40),c&&(ce-=48),window.innerHeight>400&&(ce=Math.min(ce,40*6)),be==null||be.style.setProperty("max-height",`${ce}px`)},[w,e,c]);return u.jsxs("div",{ref:x,className:`${Br}-outer`,children:[!s&&m.os===Di.iOS&&u.jsxs("select",{className:`${Br}-select-fake`,value:g.value?String(g.value):"",onChange:se=>o==null?void 0:o(se.target.value,{setPanelOpened:M}),tabIndex:g.tabIndex,onFocus:()=>j(!0),onBlur:()=>j(!1),children:[u.jsx("option",{value:"",disabled:!0,children:Vi.components.select.single.fakeOption}),d==null?void 0:d.map(se=>u.jsx("option",{value:typeof se.value!="string"?String(se.value):se.value,children:se.label},q(se)))]}),u.jsx(xu,{...ge,ref:se=>S(se)}),u.jsxs(bu,{statedAnchorRef:p,opened:L,setOpened:M,matchWidth:!0,placement:"bottom",fallbackPlacements:["top","left","right"],offset:1,id:w,className:`${Br}-panel ${s?"multiple":""}`,heightAvaliableCallback:ve,children:[c&&d&&!!d.length&&u.jsx("div",{className:`${Br}-panel-input`,children:u.jsx(xu,{value:I,onChange:se=>Q(se==null?void 0:se.target.value),placeholder:r,hideLabelAndHelperText:!0,onKeyDown:se=>{if(se.key==="Tab"&&!se.shiftKey||se.key==="ArrowDown"){const ce=document.querySelector(`#${w} .${Br}-options div`);ce&&(ce.focus(),se.preventDefault())}}})}),u.jsx("div",{className:`${Br}-options scroll-white`,children:d!=null&&d.length?te.map(se=>s?R(se):K(se)):ae}),s&&e&&d&&!!d.length&&u.jsxs(k.Fragment,{children:[u.jsx("div",{className:`${Br}-panel-footer-clearfix`}),u.jsxs("div",{className:`${Br}-panel-footer`,children:[u.jsx(Kl,{theme:aa.DefaultPrimary,disabled:g.readOnly,className:`${Br}-footer-button`,onClick:()=>o==null?void 0:o(te.map(se=>se.value),{setPanelOpened:M}),tabIndex:1,children:Vi.components.select.selectAll}),u.jsx(Kl,{tabIndex:1,theme:aa.DefaultPrimary,disabled:g.readOnly,className:`${Br}-footer-button`,onClick:()=>o==null?void 0:o([],{setPanelOpened:M}),children:Vi.components.select.clearAll})]})]})]})]})}const GV=k.memo(WV),Th="component-switch";function zV({theme:t="android",value:e=!1,onChange:r,className:n="",error:i=!1,...a}){const s=Pr([Th,n,t]);return u.jsxs("button",{...a,className:s,"data-checked":e?"true":"false","data-error":i?"true":"false",onClick:o=>r==null?void 0:r(!e,o),children:[u.jsx("div",{className:`${Th}-track`}),u.jsx("div",{className:`${Th}-thumb`})]})}/**!
124
+ `;return typeof n=="function"&&n(null,w),w};const QV=XQ,Nh=ZC,lw=Aw,VV=sw;function Ih(t,e,r,n,i){const a=[].slice.call(arguments,1),s=a.length,o=typeof a[s-1]=="function";if(!o&&!QV())throw new Error("Callback required as last argument");if(o){if(s<2)throw new Error("Too few arguments provided");s===2?(i=r,r=e,e=n=void 0):s===3&&(e.getContext&&typeof i>"u"?(i=n,n=void 0):(i=n,n=r,r=e,e=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=e,e=n=void 0):s===2&&!e.getContext&&(n=r,r=e,e=void 0),new Promise(function(c,d){try{const g=Nh.create(r,n);c(t(g,e,n))}catch(g){d(g)}})}try{const c=Nh.create(r,n);i(null,t(c,e,n))}catch(c){i(c)}}Su.create=Nh.create,Su.toCanvas=Ih.bind(null,lw.render),Su.toDataURL=Ih.bind(null,lw.renderToDataURL),Su.toString=Ih.bind(null,function(t,e,r){return VV.render(t,r)});const DV="qrcode";function kV({margin:t=0,color:e="#3fa110",...r}){const n=k.createRef();k.useEffect(()=>{Su.toString(r.text||"-",{type:"svg",width:r.size,margin:t,color:{dark:e,light:"#0000"}}).then(a=>{n.current&&(n.current.innerHTML=a)})},[r,n]);const i=k.useMemo(()=>tt([DV,r.button?"button":""]),[r.button]);return u.jsx("div",{className:i,ref:n,style:{width:r.size,height:r.size,backgroundColor:r.backgroundColor},onClick:r.onClick,children:u.jsx(Co,{theme:"secondary"})})}const PV=k.memo(kV),jV="component-radio-button";function RV({onChange:t,value:e,className:r="",theme:n=Td.New,error:i=!1,type:a="button",disabled:s=!1,...o}){const c=Pr([jV,n,r]);return u.jsx("button",{...o,type:a,"data-checked":e,"data-error":i,className:c,disabled:s,onClick:()=>{s||t==null||t(!e)}})}const $V=k.memo(RV),B2="component-search";function ZV({minLenghtToSearch:t=1,...e}){const[r,n]=k.useState(),[i,a]=k.useState(),[s,o]=k.useState(!1),[c,d]=k.useState(e.data),[g]=k.useState(br()),[m]=k.useState(br()),[w,p]=k.useState(!1),S=k.createRef();ff([S],V=>{V||p(!1)});const L=V=>{if(V.key==="Escape"){p(!1);const j=document.querySelector(`#${g} input`);j&&j.focus(),V.preventDefault(),V.stopPropagation()}},M=k.useCallback(V=>{const{value:j}=V.target;n(j),(j==null?void 0:j.length)>=(t??0)&&(e.loadData?(p(!1),d([])):p(!0)),e.onChange&&e.onChange(j)},[r,e.onChange]),I=k.useCallback(V=>{e.showSelected?n(""):n(V.label),p(!1),a(V.label),e.onSelect&&e.onSelect(V)},[]),Q=()=>{if(typeof e.loadData=="function"){o(!0);const V=e.loadData();V instanceof Promise&&V.then(()=>{p(!0),a(void 0),o(!1)}).catch(()=>{o(!1)})}};return k.useEffect(()=>{const V=setTimeout(()=>{r!==i&&((r==null?void 0:r.length)??1)>=(t??0)&&Q()},1e3);return()=>clearTimeout(V)},[r]),k.useEffect(()=>{d(e.data)},[e.data]),k.useEffect(()=>(document.addEventListener("keydown",L),e.loadData&&(c!=null&&c.length)&&((r==null?void 0:r.length)??1)>=(t??0)&&(o(!1),p(!0)),()=>{document.removeEventListener("keydown",L)}),[c]),k.useEffect(()=>{n(e.value),e.value||a(void 0),e.value!==i&&a(void 0)},[e.value]),u.jsxs("div",{tabIndex:1,id:g,className:B2,ref:S,children:[u.jsx(xu,{id:br(),value:r,onChange:M,label:e.label,placeholder:e.placeholder,onKeyDown:V=>{if(V.key==="Tab"&&!V.shiftKey||V.key==="ArrowDown"){const j=`#${m} .${B2}-options:nth-child(1)`,q=document.querySelector(j);q&&(q.focus(),V.preventDefault())}},rightObject:u.jsxs("div",{className:`${B2}-right-container`,children:[e.showSelected&&i?u.jsx(Em,{label:i,allClickable:!1,w100:!0,onClick:()=>{e.onSelect(void 0),n(""),a(void 0)}}):void 0,i&&e.onSelect&&e.clearButton?u.jsx(Dr,{icon:u.jsx(mo,{}),tabIndex:-1,onClick:()=>{e.onSelect(void 0),n(""),a(void 0)}}):void 0,u.jsx(Dr,{icon:s?u.jsx(c2,{indefinido:!0}):u.jsx(vh,{}),tabIndex:-1,onClick:()=>{if(e.value&&typeof e.loadData=="function"){p(!1),o(!0);const V=e.loadData();V instanceof Promise&&V.then(()=>{p(!0),o(!1)}).catch(()=>{o(!1)})}}})]}),loading:s,error:e.error,helperText:e.helperText,disabled:e.disabled||s}),u.jsx(ln,{in:w,timeout:300,classNames:"panel-fade",unmountOnExit:!0,children:u.jsx("div",{id:m,className:`${B2}-panel scroll-white`,children:e.loadData?c==null?void 0:c.map((V,j)=>u.jsx("div",{tabIndex:1,className:`${B2}-options`,onClick:()=>{I(V)},onKeyDown:q=>{const re=q.currentTarget,X=re.parentNode,le=Array.prototype.indexOf.call(X.children,re),ge=X.childElementCount,R=document.querySelector(`#${g} input`);switch(q.key){case"Tab":if(q.shiftKey&&le===0){const K=document.querySelector(`#${g} input`);K&&(K.focus(),q.preventDefault())}break;case"Enter":I(V),p(!1),R&&R.focus(),q.preventDefault();break;case" ":I(V),q.preventDefault();break;case"ArrowUp":if(le>0)X.children[le-1].focus();else{const K=document.querySelector(`#${g} input`);K&&K.focus()}q.preventDefault();break;case"ArrowDown":le<ge-1&&(X.children[le+1].focus(),q.preventDefault());break}},children:u.jsx("span",{children:V.label})},j)):c==null?void 0:c.filter(V=>cu(V.label).toLowerCase().match(cu(e.value).toLowerCase())).map((V,j)=>u.jsx("div",{tabIndex:1,className:`${B2}-options`,onClick:()=>{I(V)},onKeyDown:q=>{const re=q.currentTarget,X=re.parentNode,le=Array.prototype.indexOf.call(X.children,re),ge=X.childElementCount,R=document.querySelector(`#${g} input`);switch(q.key){case"Tab":if(q.shiftKey&&le===0){const K=document.querySelector(`#${g} input`);K&&(K.focus(),q.preventDefault())}break;case"Enter":I(V),p(!1),R&&R.focus(),q.preventDefault();break;case" ":I(V),q.preventDefault();break;case"ArrowUp":if(le>0)X.children[le-1].focus();else{const K=document.querySelector(`#${g} input`);K&&K.focus()}q.preventDefault();break;case"ArrowDown":le<ge-1&&(X.children[le+1].focus(),q.preventDefault());break}},children:u.jsx("span",{children:V.label})},j))})})]})}const KV=k.memo(ZV),Br="component-select";function WV({clearButton:t=!0,showPanelFooter:e=!0,panelFilterPlaceholder:r=Vi.components.select.panelFilterPlaceholder,noOptionMessage:n=Vi.components.select.noOptionMessage,multiplePlaceholder:i=Vi.components.select.multiple.numberOfItems.items,preSelectUniqueOption:a=!1,multiple:s,onChange:o,panelFilter:c,options:d,...g}){const m=X5(),w=k.useMemo(()=>br(),[]),[p,S]=k.useState(),x=k.createRef(),[L,M]=k.useState(!1),[I,Q]=k.useState(""),[V,j]=k.useState(!1),q=se=>{if(se){if(se.key)return se.key;if(se.value&&typeof se.value!="boolean")return se.value}return br()},re=JSON.stringify(d);k.useLayoutEffect(()=>{a&&d&&d.length===1&&(s&&g.value&&Array.isArray(g.value)&&g.value.length!==1?o==null||o([d[0].value],{setPanelOpened:M}):!s&&g.value!==d[0].value&&(o==null||o(d[0].value,{setPanelOpened:M})))},[re,a]);const X=k.useMemo(()=>u.jsxs("div",{className:`${Br}-objects`,children:[t&&!g.readOnly&&(s&&g.value&&Array.isArray(g.value)&&g.value.length||!s&&(g.value||g.value===0||g.value===!1))?u.jsx(Dr,{disabled:g.disabled||!1,tabIndex:-1,className:`${Br}-clear-button`,icon:u.jsx(mo,{}),onClick:()=>{M(!1),s?o==null||o([],{setPanelOpened:M}):o==null||o(null,{setPanelOpened:M})}}):void 0,u.jsx(Dr,{disabled:g.disabled||!1,tabIndex:-1,className:`${Br}-arrow ${Br}-arrow-${L?"up":"down"}`,onClick:()=>M(!L),icon:u.jsx(i2,{})})]}),[t,s,o,L,g.disabled,g.readOnly,g.value]),le=k.useMemo(()=>{if(s&&Array.isArray(g.value))return g.value.length&&(i==null?void 0:i(g.value.length))||"";if(g.value){const se=d==null?void 0:d.find(ce=>ce.value===g.value);return(se==null?void 0:se.label)??""}return""},[i,s,d,g.value]),ge=k.useMemo(()=>({...g,className:tt([Br,g.className]),forceFocus:V,readOnly:!0,rightObject:X,onClick:()=>{var ce;const se=(ce=x.current)==null?void 0:ce.querySelector(`.${Br}-select-fake`);!s&&m.os===Di.iOS&&se?se.focus():M(!L)},onFocus:se=>{var be;const ce=(be=x.current)==null?void 0:be.querySelector(`.${Br}-select-fake`);!s&&m.os===Di.iOS&&ce?ce.focus():se.target.setSelectionRange(0,0)},onKeyDown:se=>{if(se.keyCode===32&&(M(!L),se.preventDefault()),se.keyCode===9&&L){const ce=document.querySelector(`#${w} .${Br}-panel-input input`);if(ce)ce.focus(),se.preventDefault();else{const be=document.querySelector(`#${w} .${Br}-options div`);be&&(be.focus(),se.preventDefault())}}},value:le}),[X,V,le,s,w,L,g,m.os,x]),R=se=>{const ce=Array.isArray(g.value)&&g.value.indexOf(se.value)>-1,be=()=>{if(!g.readOnly&&s)if(ce){const oe=Array.isArray(g.value)?g.value.slice():[];oe.splice(oe.indexOf(se.value),1),o==null||o(oe,{setPanelOpened:M})}else{const oe=Array.isArray(g.value)?g.value.slice():[];oe.push(se.value),o==null||o(oe,{setPanelOpened:M})}};return u.jsxs("div",{tabIndex:1,className:`${Br}-multiple-option ${g.readOnly?"read-only":""}`,onKeyDown:oe=>{const xe=oe.currentTarget,D=xe.parentNode,G=Array.prototype.indexOf.call(D.children,xe),Ae=D.childElementCount;switch(oe.key){case"Tab":if(oe.shiftKey){if(G===0){const J=document.querySelector(`#${w} .${Br}-panel-input input`);J&&(J.focus(),oe.preventDefault())}}else if(G===Ae-1){const J=document.querySelector(`#${w} ${Br}-footer-button.${Br}-selectAll`);J&&J.focus()}break;case"Enter":ce||be(),M(!1),oe.preventDefault();break;case" ":be(),oe.preventDefault();break;case"ArrowUp":if(G>0)D.children[G-1].focus();else{const J=document.querySelector(`#${w} .${Br}-panel-input input`);J&&J.focus()}oe.preventDefault();break;case"ArrowDown":G<Ae-1&&(D.children[G+1].focus(),oe.preventDefault());break}},onClick:be,children:[u.jsx(q5,{value:ce,disabled:g.readOnly,onChange:()=>{be()}}),u.jsx("div",{className:`${Br}-multiple-option-label`,children:se.label})]},q(se))},K=se=>{if(s)return;const ce=()=>{!g.readOnly&&g.value!==se.value&&(M(!1),o==null||o(se.value,{setPanelOpened:M}))};return u.jsx("div",{tabIndex:1,className:`${Br}-single-option ${g.readOnly?"read-only":""}`,onClick:ce,onKeyDown:be=>{const oe=be.currentTarget,xe=oe.parentNode,D=Array.prototype.indexOf.call(xe.children,oe),G=xe.childElementCount;switch(be.key){case"Tab":if(be.shiftKey&&D===0){const Ae=document.querySelector(`#${w} .${Br}-panel-input input`);Ae&&(Ae.focus(),be.preventDefault())}break;case"Enter":ce(),M(!1),be.preventDefault();break;case" ":ce(),be.preventDefault();break;case"ArrowUp":if(D>0)xe.children[D-1].focus();else{const Ae=document.querySelector(`#${w} .${Br}-panel-input input`);Ae&&Ae.focus()}be.preventDefault();break;case"ArrowDown":D<G-1&&xe.children[D+1].focus(),be.preventDefault();break}},children:se.label},q(se))},ae=k.useMemo(()=>u.jsx("div",{className:`${Br}-no-result`,children:n}),[n]),te=k.useMemo(()=>(d==null?void 0:d.filter(se=>cu(String(se.label)).toLowerCase().includes(cu(I).toLowerCase())))||[],[d,I]),we=k.useRef(!0);k.useLayoutEffect(()=>{var se;if(L){const ce=document.querySelector(`#${w}`);window.innerHeight<ce.getBoundingClientRect().bottom&&(ce.style.top="unset",ce.style.bottom="0");const be=document.querySelector(`#${w} .${Br}-panel-input input`);if(be&&m.os!==Di.iOS)setTimeout(()=>{be.focus()},50);else if(s){const oe=document.querySelector(`#${w} .${Br}-options div`);oe&&setTimeout(()=>{oe.focus()},50)}else{const oe=d==null?void 0:d.map((Ae,J)=>({...Ae,ind:J})).find(Ae=>Ae.value===g.value),xe=oe?oe.ind+1:1,D=`#${w} .${Br}-options div:nth-child(${xe})`,G=document.querySelector(D);G&&setTimeout(()=>{G.focus()},50)}}else if(we.current)we&&(we.current=!1);else{const ce=(se=x.current)==null?void 0:se.querySelector("input");ce&&m.os!==Di.iOS&&ce.focus()}},[L]);const ve=k.useCallback(se=>{let ce=se-12;const be=document.querySelector(`#${w} .${Br}-options`);e&&(ce-=40),c&&(ce-=48),window.innerHeight>400&&(ce=Math.min(ce,40*6)),be==null||be.style.setProperty("max-height",`${ce}px`)},[w,e,c]);return u.jsxs("div",{ref:x,className:`${Br}-outer`,children:[!s&&m.os===Di.iOS&&u.jsxs("select",{className:`${Br}-select-fake`,value:g.value?String(g.value):"",onChange:se=>o==null?void 0:o(se.target.value,{setPanelOpened:M}),tabIndex:g.tabIndex,onFocus:()=>j(!0),onBlur:()=>j(!1),children:[u.jsx("option",{value:"",disabled:!0,children:Vi.components.select.single.fakeOption}),d==null?void 0:d.map(se=>u.jsx("option",{value:typeof se.value!="string"?String(se.value):se.value,children:se.label},q(se)))]}),u.jsx(xu,{...ge,ref:se=>S(se)}),u.jsxs(bu,{statedAnchorRef:p,opened:L,setOpened:M,matchWidth:!0,placement:"bottom",fallbackPlacements:["top","left","right"],offset:1,id:w,className:`${Br}-panel ${s?"multiple":""}`,heightAvaliableCallback:ve,children:[c&&d&&!!d.length&&u.jsx("div",{className:`${Br}-panel-input`,children:u.jsx(xu,{value:I,onChange:se=>Q(se==null?void 0:se.target.value),placeholder:r,hideLabelAndHelperText:!0,onKeyDown:se=>{if(se.key==="Tab"&&!se.shiftKey||se.key==="ArrowDown"){const ce=document.querySelector(`#${w} .${Br}-options div`);ce&&(ce.focus(),se.preventDefault())}}})}),u.jsx("div",{className:`${Br}-options scroll-white`,children:d!=null&&d.length?te.map(se=>s?R(se):K(se)):ae}),s&&e&&d&&!!d.length&&u.jsxs(k.Fragment,{children:[u.jsx("div",{className:`${Br}-panel-footer-clearfix`}),u.jsxs("div",{className:`${Br}-panel-footer`,children:[u.jsx(Kl,{theme:aa.DefaultPrimary,disabled:g.readOnly,className:`${Br}-footer-button`,onClick:()=>o==null?void 0:o(te.map(se=>se.value),{setPanelOpened:M}),tabIndex:1,children:Vi.components.select.selectAll}),u.jsx(Kl,{tabIndex:1,theme:aa.DefaultPrimary,disabled:g.readOnly,className:`${Br}-footer-button`,onClick:()=>o==null?void 0:o([],{setPanelOpened:M}),children:Vi.components.select.clearAll})]})]})]})]})}const GV=k.memo(WV),Th="component-switch";function zV({theme:t="android",value:e=!1,onChange:r,className:n="",error:i=!1,...a}){const s=Pr([Th,n,t]);return u.jsxs("button",{...a,className:s,"data-checked":e?"true":"false","data-error":i?"true":"false",onClick:o=>r==null?void 0:r(!e,o),children:[u.jsx("div",{className:`${Th}-track`}),u.jsx("div",{className:`${Th}-thumb`})]})}/**!
125
125
  * Sortable 1.15.6
126
126
  * @author RubaXa <trash@rubaxa.org>
127
127
  * @author owenm <owen23355@gmail.com>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plataforma-fundacao-componentes",
3
- "version": "2.26.17",
3
+ "version": "2.26.18",
4
4
  "type": "module",
5
5
  "description": "Made with vitejs",
6
6
  "author": "Guvidaletti",