@apollion-dsi/core 7.5.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chunks/{Notification.group-BC3U4UX6.esm.js → Notification.group-UEHHUFKO.esm.js} +1 -1
- package/lib/chunks/{chunk-A7STAO6C.esm.js → chunk-2MXXNBFD.esm.js} +1 -1
- package/lib/chunks/{chunk-JVJJNNK3.esm.js → chunk-32CSTPKS.esm.js} +1 -1
- package/lib/chunks/{chunk-ATYYPKUP.esm.js → chunk-5CMB3PB6.esm.js} +1 -1
- package/lib/chunks/{chunk-GXGV64D2.esm.js → chunk-77HQWHNM.esm.js} +1 -1
- package/lib/chunks/chunk-7APTVF7S.esm.js +1 -0
- package/lib/chunks/{chunk-IFSAA4OC.esm.js → chunk-7GK5INA3.esm.js} +1 -1
- package/lib/chunks/{chunk-TF3JNXQO.esm.js → chunk-AOVAXNO3.esm.js} +1 -1
- package/lib/chunks/{chunk-G5L6INCM.esm.js → chunk-B4TRGTFT.esm.js} +1 -1
- package/lib/chunks/{chunk-7PHMFL32.esm.js → chunk-ECCXQYRB.esm.js} +1 -1
- package/lib/chunks/{chunk-V2GA7W66.esm.js → chunk-EW3VYGDY.esm.js} +1 -1
- package/lib/chunks/{chunk-3VZTMO2Z.esm.js → chunk-EW4KAYRU.esm.js} +1 -1
- package/lib/chunks/{chunk-KW62FBMI.esm.js → chunk-HTTKBIYD.esm.js} +1 -1
- package/lib/chunks/chunk-JHQPLHSC.esm.js +1 -0
- package/lib/chunks/{chunk-GQZGW3EG.esm.js → chunk-NJZRFWBX.esm.js} +1 -1
- package/lib/chunks/{chunk-U3GZABRG.esm.js → chunk-NZ6DQLPV.esm.js} +1 -1
- package/lib/chunks/{chunk-DA65U576.esm.js → chunk-P2DV4LBJ.esm.js} +1 -1
- package/lib/chunks/{chunk-M4EIGJZZ.esm.js → chunk-PO5YIF7A.esm.js} +1 -1
- package/lib/chunks/{chunk-4KW43QHY.esm.js → chunk-T2DH7STP.esm.js} +1 -1
- package/lib/chunks/chunk-TVJXEJLN.esm.js +1 -0
- package/lib/chunks/{chunk-CPQPRAAV.esm.js → chunk-TYBUJJ6S.esm.js} +1 -1
- package/lib/chunks/chunk-UAD4ISGH.esm.js +34 -0
- package/lib/chunks/{chunk-DXCL3MVA.esm.js → chunk-UHSENSZK.esm.js} +1 -1
- package/lib/chunks/{chunk-46CG3ZZX.esm.js → chunk-VUEWNP6N.esm.js} +1 -1
- package/lib/chunks/{chunk-W4NSHFN4.esm.js → chunk-VXPF6E3F.esm.js} +1 -1
- package/lib/chunks/{chunk-A4QGVHIH.esm.js → chunk-XUCQVQZK.esm.js} +1 -1
- package/lib/chunks/{chunk-KE4YU2FM.esm.js → chunk-ZQLJ76W7.esm.js} +1 -1
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/Accordion/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Steps/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.style.d.ts +2 -1
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/IconText/index.esm.js +1 -1
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.d.ts +3 -1
- package/lib/form/InputRange/InputRange.interface.d.ts +39 -1
- package/lib/form/InputRange/InputRange.style.d.ts +9 -3
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/Option/index.esm.js +1 -1
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/index.esm.js +1 -1
- package/lib/icons/index.d.ts +4 -1
- package/lib/icons/index.esm.js +1 -1
- package/lib/icons/set/desktop.d.ts +3 -0
- package/lib/icons/set/moon.d.ts +3 -0
- package/lib/icons/set/sun.d.ts +3 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/package.json +2 -2
- package/lib/chunks/chunk-DAT6GD4T.esm.js +0 -1
- package/lib/chunks/chunk-FUVFPMSI.esm.js +0 -39
- package/lib/chunks/chunk-JVFVXNCA.esm.js +0 -1
- package/lib/chunks/chunk-X62RTM6B.esm.js +0 -1
package/lib/chunks/{Notification.group-BC3U4UX6.esm.js → Notification.group-UEHHUFKO.esm.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as h}from"./chunk-
|
|
1
|
+
import{e as h}from"./chunk-7GK5INA3.esm.js";import"./chunk-ZDB7ECI3.esm.js";import"./chunk-ZMHNNJNC.esm.js";import"./chunk-KQQ7V7VG.esm.js";import{c as l}from"./chunk-KZTG5TDM.esm.js";import"./chunk-A3OJEVGQ.esm.js";import"./chunk-P3SIJHYM.esm.js";import"./chunk-2FQC32AA.esm.js";import"./chunk-HSKYQ6VP.esm.js";import"./chunk-SPHHNZVP.esm.js";import"./chunk-4UWZA5FD.esm.js";import"./chunk-3QSPHURU.esm.js";import"./chunk-NDIYF5SX.esm.js";import"./chunk-KR2X2UQG.esm.js";import"./chunk-BE2JDTVA.esm.js";import"./chunk-VFCCRDG4.esm.js";import"./chunk-P3XOIBAC.esm.js";import"./chunk-WDGATQZG.esm.js";import"./chunk-JLQDS5TS.esm.js";import"./chunk-ZJT2WQTR.esm.js";import"./chunk-7JYI2AQK.esm.js";import"./chunk-AMN6SRJS.esm.js";import"./chunk-E2U6IFPB.esm.js";import"./chunk-TVJXEJLN.esm.js";import"./chunk-VFM3QFOU.esm.js";import"./chunk-ITSDQBLF.esm.js";import"./chunk-EYAGAJRL.esm.js";import"./chunk-HPMNSONF.esm.js";import"./chunk-4L2KOZIQ.esm.js";import"./chunk-O5TS2XER.esm.js";import"./chunk-4E3BR56X.esm.js";import"./chunk-MKGWYKH6.esm.js";import"./chunk-77HQWHNM.esm.js";import{d as y}from"./chunk-VXPF6E3F.esm.js";import"./chunk-TLIKQFOT.esm.js";import"./chunk-IA234JY2.esm.js";import"./chunk-2BWCWW2Q.esm.js";import"./chunk-IQQH6HMG.esm.js";import"./chunk-SEPVF2TL.esm.js";import"./chunk-LDOM2UUN.esm.js";import"./chunk-Z7GJDO5T.esm.js";import"./chunk-LCCVFIPZ.esm.js";import"./chunk-TG5BCBO4.esm.js";import"./chunk-WB5XXCKL.esm.js";import"./chunk-JOKVE3IX.esm.js";import"./chunk-CWRWYU7D.esm.js";import"./chunk-PFLBU7HG.esm.js";import"./chunk-XUZQE326.esm.js";import"./chunk-3DUB5C4Z.esm.js";import"./chunk-KT6QQ3UJ.esm.js";import{g as u}from"./chunk-L7A7RA56.esm.js";import"./chunk-HVFI7FHR.esm.js";import"./chunk-UAXSZ3UE.esm.js";import"./chunk-WCJC5AG7.esm.js";import"./chunk-KT4BKJVV.esm.js";import"./chunk-IZHCHFTU.esm.js";import{a as o}from"./chunk-5PLSFFP6.esm.js";import"./chunk-MPMCXGOX.esm.js";import"./chunk-JWNC52FT.esm.js";import"./chunk-3PLVWHLK.esm.js";import"./chunk-4SDDAQ6N.esm.js";import"./chunk-HTYWYOZQ.esm.js";import"./chunk-Q2PMRBCL.esm.js";import"./chunk-R2QEO3KP.esm.js";import"./chunk-YBKS2HAY.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-KXRGSB6P.esm.js";import"./chunk-F3SAEVZJ.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-QXV2TDLZ.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-VCMHX5VK.esm.js";import"./chunk-ODL5JUYM.esm.js";import"./chunk-AAZFRX52.esm.js";import"./chunk-3WXII2F3.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-C7U4X56I.esm.js";import"./chunk-EJ245MA7.esm.js";import"./chunk-FNYS25ZX.esm.js";import"./chunk-MYU2IAR3.esm.js";import"./chunk-VJ5GIFXO.esm.js";import"./chunk-REPFMEFA.esm.js";import"./chunk-6G22RNUO.esm.js";import"./chunk-J6F4PMW4.esm.js";import{c}from"./chunk-G5Z7USXC.esm.js";import{f as d}from"./chunk-AXUWC2WH.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";import{useEffect as C,useState as g}from"react";import{createPortal as N}from"react-dom";import{jsx as t}from"react/jsx-runtime";var v=p(({toast:n,onRemove:e})=>{let{id:i,...a}=n,[s,r]=g(!0),{mounted:m,state:f,ref:B}=l(s,{property:"grid-template-rows"});return C(()=>{m||e(i)},[m,i,e]),m?t(o,{ref:B,motion:"collapse","data-state":f,"aria-hidden":f==="closing"||void 0,style:{minWidth:300,maxWidth:"30vw"},children:t(o,{motion:"drawer-right","data-state":f,children:t(o,{style:{margin:"0.5rem"},children:t(h,{...a,visible:!0,closable:!0,onDismiss:()=>r(!1)})})})}):null},"ToastItem"),x=p(()=>{let{notifications:n,removeNotification:e}=y(),i=d(),[a,s]=g(!1);return C(()=>{s(!0)},[]),!a||!c?null:N(t(o,{style:{position:"fixed",bottom:"1rem",right:"1rem",zIndex:u(i).toast},children:n.map(r=>t(v,{toast:r,onRemove:e},r.id))}),c)},"NotificationGroup"),D=x;export{D as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as k}from"./chunk-VFCCRDG4.esm.js";import{b as h}from"./chunk-P3XOIBAC.esm.js";import{o as C}from"./chunk-
|
|
1
|
+
import{c as k}from"./chunk-VFCCRDG4.esm.js";import{b as h}from"./chunk-P3XOIBAC.esm.js";import{o as C}from"./chunk-TVJXEJLN.esm.js";import{e as b}from"./chunk-EYAGAJRL.esm.js";import{b as g}from"./chunk-VXPF6E3F.esm.js";import{a as w}from"./chunk-IZHCHFTU.esm.js";import{a as x}from"./chunk-5PLSFFP6.esm.js";import{b as y}from"./chunk-ODL5JUYM.esm.js";import{g as S}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import{forwardRef as v,useEffect as D,useState as H}from"react";var T=S(w).withConfig({componentId:"sc-1bknes7-0"})(["list-style:none;padding:0;margin:0;"]),E=S(x).withConfig({componentId:"sc-1bknes7-1"})(["display:flex;padding:8px 12px;cursor:pointer;&:hover{","}",""],y(({isSelected:t})=>!t&&{bgColor:"muted"}),y(({isSelected:t})=>t&&{bgColor:"wash.selected"}));import{jsx as a,jsxs as U}from"react/jsx-runtime";var M=l(({item:t,showCheckIcon:d,action:p})=>{var f;if(!t.title)throw new Error("You need to pass a title to you object inside the list");let m=d&&t.isSelected&&!t.to,i=l(()=>!t.to&&p(),"onClickItem"),o=U(E,{as:"li",gap:"xs",width:"100%",flexDirection:"row",alignItems:"center",borderRadius:"micro",isSelected:t.isSelected,onClick:i,children:[(f=t.icon)!=null?f:m&&a(h,{icon:C,color:"main"}),a(b,{whiteSpace:"nowrap",children:t.title})]});return t.to?a(k,{href:t.to,children:o}):o},"ListItem"),N=v(({content:t,multiple:d,exclusive:p,showCheckIcon:m,onSelectItems:i,onItemClick:o,...f},R)=>{let[u,I]=H(()=>t.map(e=>({id:g(5),isSelected:!1,...e})));D(()=>{I(e=>e.map((s,L)=>{var n;let r=(n=t[L])==null?void 0:n.isSelected;return r===void 0||r===s.isSelected?s:{...s,isSelected:r}}))},[t]);let B=l(e=>()=>{var n;let s=e.id,L=p&&!d?!0:!e.isSelected,r=u.map(c=>c.id===s?{...c,isSelected:L}:{...c,isSelected:d?c.isSelected:!1});if(I(r),i==null||i(r),o==null||o(e),e.action){let{action:c,icon:Y,...F}=e;(n=e.action)==null||n.call(e,F)}},"toggleItem");return a(T,{as:"ul",gap:"micro",...f,ref:R,children:u.map(e=>a(M,{item:e,showCheckIcon:m,action:B(e)},e.id))})});N.displayName="List";export{T as a,E as b,N as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as t}from"./chunk-EYAGAJRL.esm.js";import{b as c}from"./chunk-
|
|
1
|
+
import{e as t}from"./chunk-EYAGAJRL.esm.js";import{b as c}from"./chunk-VXPF6E3F.esm.js";import{a as i}from"./chunk-IZHCHFTU.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import{forwardRef as L,useMemo as T}from"react";import{jsx as r,jsxs as a}from"react/jsx-runtime";var y=L(({title:m,contents:d,direction:p="row",itemProps:x,dividers:h=!1,gap:n,...u},w)=>{let l=T(()=>d.map(e=>{var o;return{...e,id:(o=e.id)!=null?o:c()}}),[d]),s=p==="row",g=f(e=>h&&e<l.length-1?{borderPosition:"bottom",borderWidth:"thin",borderColor:"edge.strong"}:void 0,"dividerProps");return a(i,{ref:w,flexDirection:"column",gap:"small",width:"100%",...u,children:[m&&r(t,{fontWeight:"bold",lineHeight:"regular",children:m}),r(i,{as:"dl",flexDirection:"column",gap:"micro",width:"100%",m:"zero",children:l.map(({id:e,key:o,value:D},b)=>a(i,{as:"div",width:"100%",flexDirection:s?"row":"column",justifyContent:s?"between":void 0,gap:n!=null?n:s?"medium":"micro",...g(b),...x,children:[r(t,{as:"dt",fontSize:"xs",lineHeight:"tight",color:"ink.primary",children:o}),r(t,{as:"dd",fontSize:"xs",lineHeight:"tight",children:D})]},e))})]})});y.displayName="DescriptionList";export{y as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as C}from"./chunk-
|
|
1
|
+
import{a as C}from"./chunk-ECCXQYRB.esm.js";import{a}from"./chunk-CDRLVSLF.esm.js";import{b}from"./chunk-7APTVF7S.esm.js";import{a as t}from"./chunk-IZHCHFTU.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import h from"react";var c=r(b).withConfig({componentId:"sc-a4obcw-0"})([""]);import{jsx as o}from"react/jsx-runtime";var e=l(n=>{let{getAllSelected:m}=h.useContext(a);return o(c,{bgColor:"baseLight",children:o(t,{justifyContent:"center",children:o(C,{label:n.children,onChange:x=>m(x.target.checked)})})})},"TableHeaderCheckboxCellComponent");e.displayName="TableHeaderCheckboxCell";export{c as a,e as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as n}from"./chunk-
|
|
1
|
+
import{f as n}from"./chunk-VXPF6E3F.esm.js";import{b as l}from"./chunk-TLIKQFOT.esm.js";import{e as m}from"./chunk-R2QEO3KP.esm.js";import{c as a,h as i}from"./chunk-3WXII2F3.esm.js";import{a as s}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var c="apollion.reset";function p(){return`
|
|
2
2
|
@media (forced-colors: active) {
|
|
3
3
|
:focus-visible {
|
|
4
4
|
outline: 2px solid Highlight;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as d}from"./chunk-XQJ4DROM.esm.js";import{e as m}from"./chunk-EYAGAJRL.esm.js";import{a as n}from"./chunk-UAXSZ3UE.esm.js";import{b as a}from"./chunk-ODL5JUYM.esm.js";import{g as t}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";var C=t.th.withConfig({componentId:"sc-1ft9505-0"})([""," background-color:var(--tableHeaderBg,transparent);",""],d,a);import{jsx as o}from"react/jsx-runtime";var e=l(r=>o(C,{...r,bgColor:r.bgColor||void 0,children:o(n,{children:o(m,{color:"ink.secondary",fontWeight:"stronger",children:r.children})})}),"TableHeaderCellComponent");e.displayName="TableHeaderCell";export{C as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as M,b as z}from"./chunk-ZDB7ECI3.esm.js";import{c as L}from"./chunk-KZTG5TDM.esm.js";import{f as V}from"./chunk-HSKYQ6VP.esm.js";import{c as A}from"./chunk-VFCCRDG4.esm.js";import{a as B,b as T}from"./chunk-P3XOIBAC.esm.js";import{
|
|
1
|
+
import{a as M,b as z}from"./chunk-ZDB7ECI3.esm.js";import{c as L}from"./chunk-KZTG5TDM.esm.js";import{f as V}from"./chunk-HSKYQ6VP.esm.js";import{c as A}from"./chunk-VFCCRDG4.esm.js";import{a as B,b as T}from"./chunk-P3XOIBAC.esm.js";import{ja as F}from"./chunk-TVJXEJLN.esm.js";import{a as R,e as v}from"./chunk-EYAGAJRL.esm.js";import{g as W}from"./chunk-L7A7RA56.esm.js";import{a as E}from"./chunk-UAXSZ3UE.esm.js";import{a as C}from"./chunk-IZHCHFTU.esm.js";import{a as y}from"./chunk-5PLSFFP6.esm.js";import{c as b}from"./chunk-G5Z7USXC.esm.js";import{b as I,c as w,f as P,g as s}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var _=w(["0%{width:0;}100%{width:100%;}"]),x=s(y).withConfig({componentId:"sc-6lckl1-0"})(["display:flex;--time:15;width:0;height:0.25rem;background-color:var(--baseColor);animation:"," calc(var(--time,15) * 1s) normal forwards;"],_),$=s(C).withConfig({componentId:"sc-6lckl1-1"})(["position:absolute;top:0.25rem;left:0.5rem;right:0.5rem;"]);function J({variant:e,theme:a}){let t=a.colors[e];return I(["--baseColor:",";--lightColor:",";--darkColor:",";--activeColor:",";--actionColor:",";--inkColor:",";position:relative;background-color:var(--lightColor);border-color:var(--baseColor);",":not(button *){color:var(--inkColor);}& ","{width:intrinsic;color:var(--darkColor);&:hover{background:var(--activeColor);}&:active ","{color:var(--actionColor);}}&:hover ","{animation-play-state:paused;}"],t.base,t.light,t.dark,t.active,t.action,t.onLight,R,M,B,x)}n(J,"getWrapperStyle");var N=s(y).withConfig({componentId:"sc-6lckl1-2"})(J);N.displayName="div";var j=s(C).withConfig({componentId:"sc-6lckl1-3"})(["color:var(--darkColor);svg{width:2rem;height:2rem;}"]);import q,{useEffect as K,useState as X}from"react";import{createPortal as Y}from"react-dom";import{jsx as o,jsxs as G}from"react/jsx-runtime";var H=q.forwardRef(n(function({type:a="block",variant:t="primary",visible:p=!0,closable:d=!0,autoClose:f=null,message:i=null,action:l=null,icon:c=null,link:m,onDismiss:r,closeLabel:u="Fechar notifica\xE7\xE3o",...h},O){let{isMobile:S}=V(),Q=n(()=>{let g=l;return typeof l=="function"&&(g=l({close:r})),g?q.cloneElement(g,{color:t,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),U=n(()=>typeof i=="function"?i({close:r}):typeof i=="string"?o(v,{text:i,variant:"p",fontSize:"xs"}):i,"renderMessage"),k=t==="danger",Z=k?"alert":"status";return p?G(N,{ref:O,p:"medium",pr:9,round:S?0:"xs",borderWidth:S?"none":"thin",borderStyle:"solid",variant:t,"data-testid":`notification-${a}`,role:Z,"aria-live":k?"assertive":"polite","aria-atomic":"true",...h,children:[f&&o($,{children:o(x,{round:"micro",style:{"--time":f},onAnimationEnd:r})}),G(E,{contentGap:"medium",opener:c&&o(j,{pt:"xs",alignSelf:"start",children:c}),closer:Q(),children:[h.title&&o(v,{text:h.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),U(),m&&o(A,{...m,target:"_blank"})]}),d&&o(z,{p:"xs",borderWidth:"none",icon:o(T,{size:"small",icon:F}),"aria-label":u,variant:"linked",onClick:r,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})]}):null},"BaseNotification")),D=n(e=>{let a=P(),[t,p]=X(!1);K(()=>{p(!0)},[]);let d=e.visible!==!1,{mounted:f,state:i,ref:l}=L(d),{pageOffset:c=0,...m}=e,r=e.pagePosition==="top",u=r?{top:c}:{bottom:c};return!t||!b?null:Y(f?o(H,{...m,ref:l,round:0,borderWidth:"thin",borderPosition:r?"bottom":"top",motion:r?"sheet-top":"sheet","data-state":i,"aria-hidden":i==="closing"||void 0,visible:!0,style:{...u,zIndex:W(a).toast,margin:0,position:"fixed",right:0,left:0}}):null,b)},"PageNotification"),tt=n(e=>e.type==="page"?o(D,{...e}):o(H,{...e}),"NotificationComponent");tt.displayName="Notification";export{x as a,$ as b,N as c,j as d,tt as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as B,b as K,c as N}from"./chunk-IMS5TWF3.esm.js";import{a as A}from"./chunk-DYLFA33G.esm.js";import{a as M,b as F}from"./chunk-ZDB7ECI3.esm.js";import{c as O}from"./chunk-KZTG5TDM.esm.js";import{a as _}from"./chunk-P3SIJHYM.esm.js";import{f as W}from"./chunk-HSKYQ6VP.esm.js";import{a as G}from"./chunk-BE2JDTVA.esm.js";import{b as D}from"./chunk-P3XOIBAC.esm.js";import{
|
|
1
|
+
import{a as B,b as K,c as N}from"./chunk-IMS5TWF3.esm.js";import{a as A}from"./chunk-DYLFA33G.esm.js";import{a as M,b as F}from"./chunk-ZDB7ECI3.esm.js";import{c as O}from"./chunk-KZTG5TDM.esm.js";import{a as _}from"./chunk-P3SIJHYM.esm.js";import{f as W}from"./chunk-HSKYQ6VP.esm.js";import{a as G}from"./chunk-BE2JDTVA.esm.js";import{b as D}from"./chunk-P3XOIBAC.esm.js";import{ja as V}from"./chunk-TVJXEJLN.esm.js";import{f as E}from"./chunk-ITSDQBLF.esm.js";import{a as H,e as P}from"./chunk-EYAGAJRL.esm.js";import{g as k}from"./chunk-L7A7RA56.esm.js";import{a as L}from"./chunk-UAXSZ3UE.esm.js";import{a as C}from"./chunk-IZHCHFTU.esm.js";import{a as u}from"./chunk-5PLSFFP6.esm.js";import{a as R}from"./chunk-J6F4PMW4.esm.js";import{c as S}from"./chunk-G5Z7USXC.esm.js";import{b as y,g as c}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var co=y(["width:",";"],K);function mo({size:o}){var n;let e=(n=B[o!=null?o:"base"])!=null?n:B.base;return y(["max-width:",";min-width:min(",",100%);"],e.max,e.min)}a(mo,"modalSize");function so({variant:o,theme:e}){let n=e.colors[o];return y(["--baseColor:",";--lightColor:",";--actionColor:",";"],n.base,n.light,n.action)}a(so,"modalVariantColor");var Q=c(u).attrs({p:"large",borderRadius:"md",bgColor:"surface.overlay"}).withConfig({componentId:"sc-8jjm43-0"})(["",";",";","{",";}"],co,so,({theme:o})=>o.breakpoints.up("sm"),mo),U=c(C).withConfig({componentId:"sc-8jjm43-1"})(["max-height:",";overflow:hidden;"],N),X=c(C).withConfig({componentId:"sc-8jjm43-2"})(["& ","{flex:1;}& ","{padding:0.3rem;color:var(--baseColor);&:only-child{margin-left:auto;}}& ",":active{color:var(--actionColor);background-color:var(--lightColor);}& ",":hover{background-color:var(--lightColor);}"],H,M,M,M),Y=c(u).withConfig({componentId:"sc-8jjm43-3"})(["flex:1;display:flex;overflow:hidden;"]),Z=c(u).attrs({borderRadius:"circular"}).withConfig({componentId:"sc-8jjm43-4"})(["display:flex;background-color:var(--lightColor);& svg{color:var(--baseColor);width:1.25rem;height:1.25rem;g{fill:var(--baseColor);}}"]),$=c(u).withConfig({componentId:"sc-8jjm43-5"})(["z-index:",";display:flex;justify-content:center;align-items:center;position:fixed;inset:0;html:has(&){overflow:hidden;}"],({theme:o})=>k(o).modal),q=c(u).withConfig({componentId:"sc-8jjm43-6"})(["opacity:0.8;will-change:opacity;"]);import x,{cloneElement as fo,isValidElement as po,useEffect as uo,useRef as go,useState as Co}from"react";import{createPortal as ho}from"react-dom";import{Fragment as xo,jsx as r,jsxs as h}from"react/jsx-runtime";var z=a(({isOpen:o,onDismiss:e,...n})=>{if(!o&&!e)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[l,m]=Co(!1),i=go(null),{mounted:t,state:d,ref:s}=O(o!=null?o:!1);return uo(()=>{m(!0)},[]),_(i,{active:!!(o&&l&&t),onEscape:e}),!l||!S?null:ho(t?h($,{"data-testid":"modal-container",children:[r(q,{absoluteFill:!0,bgColor:"surface.scrim","data-testid":"modal-overlay",onClick:e,motion:"fade","data-state":d}),r(Mo,{ref:p=>{i.current=p,s(p)},motionState:d,onDismiss:e,...n})]}):null,S)},"ModalBaseComponent"),yo=a(({defaultOpen:o,trigger:e,isOpen:n,onDismiss:l,onModalOpen:m,...i})=>{let{active:t,disable:d,enable:s,toggle:p}=G(o,{onActive:m});return(n||l)&&R.warn('"isOpen" and "onDismiss" has no effect while using "trigger" prop'),h(xo,{children:[a(()=>{let f=null;if(typeof e=="function"&&(f=e({isOpen:t,open:s})),po(e)&&(f=fo(e,{onClick:p})),f===null)throw new Error('"trigger" prop is not a valid element');return f},"renderTrigger")(),r(z,{isOpen:t,onDismiss:d,...i})]})},"ModalTriggerVariant"),Mo=x.forwardRef(a(function({noCloseButton:e,primaryButton:n,secondaryButton:l,primaryText:m,secondaryText:i,onDismiss:t,primaryAction:d,secondaryAction:s,children:p,tagline:b,variant:f,footer:v,title:w,size:oo,icon:j,motionState:eo,closeLabel:to="Fechar",role:ro="dialog"},no){let{isMobile:I}=W(),T=x.useId(),ao=a(()=>{d({close:t})},"handlePrimary"),lo=a(()=>{s({close:t})},"handleSecondary"),io=a(()=>{let g={onClick:ao,fullWidth:v==="full"||I,"data-testid":"modal-confirm-button"};return n?x.cloneElement(n,g):r(E,{color:f,...g,children:m})},"renderPrimaryButton");return r(Q,{ref:no,role:ro,"aria-modal":"true","aria-labelledby":w?T:void 0,tabIndex:-1,size:oo,variant:f,motion:"sheet","data-state":eo,children:h(U,{gap:"medium",children:[h(X,{gap:"xs",children:[r(L,{opener:j&&r(Z,{justifyContent:"center",alignItems:"center",p:"micro",children:j}),closer:!e&&r(F,{onClick:t,"data-testid":"modal-close-button","aria-label":to,icon:r(D,{icon:V}),variant:"linked",color:"secondary",size:"large",alignSelf:"start"}),children:w&&r(P,{id:T,variant:"h4",area:"title",color:"ink.primary",text:w})}),b&&r(P,{variant:"meta",color:"secondary.dark",area:"tagline",children:b})]}),r(Y,{py:"medium",children:r(A,{children:p})}),(d||s)&&h(C,{flexDirection:I?"column-reverse":"row",justifyContent:v==="expanded"?"between":"end",gap:"medium",children:[s&&a(()=>{if(v==="full")return null;let g={onClick:lo,fullWidth:I,"data-testid":"modal-cancel-button"};return typeof l=="function"?l({close:a(()=>t==null?void 0:t(),"close")}):l?x.cloneElement(l,g):r(E,{variant:"outlined",color:"secondary",...g,children:i})},"renderSecondaryButton")(),d&&io()]})]})})},"ModalDialog")),J=a(({noCloseButton:o=!1,secondaryText:e="Cancelar",primaryText:n="Confirmar",variant:l="primary",footer:m="right",...i})=>{let t={noCloseButton:o,secondaryText:e,primaryText:n,variant:l,footer:m,...i};return t!=null&&t.trigger?r(yo,{...t}):r(z,{...t})},"ModalComponent");J.displayName="Modal";export{Q as a,U as b,X as c,Y as d,Z as e,$ as f,q as g,J as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as r}from"./chunk-P3XOIBAC.esm.js";import{
|
|
1
|
+
import{b as r}from"./chunk-P3XOIBAC.esm.js";import{S as p}from"./chunk-TVJXEJLN.esm.js";import{e as m}from"./chunk-EYAGAJRL.esm.js";import{a as e}from"./chunk-IZHCHFTU.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var i=n(e).attrs(t=>({bgColor:"surface.sunken",...t})).withConfig({componentId:"sc-1rhi83a-0"})([""]);import{jsx as o,jsxs as l}from"react/jsx-runtime";var y=a(t=>l(i,{width:"100%",justifyContent:"center",alignItems:"center",gap:2,p:"xl",...t,children:[t.iconPropsEmpty?o(r,{...t.iconPropsEmpty}):o(r,{icon:p,size:"xl",color:"primary.dark"}),l(e,{width:"50%",children:[o(m,{variant:"h5",color:"primary",readable:5,textAlign:"center",children:t.titleEmpty?t.titleEmpty:"Nada foi encontrado"}),o(m,{variant:"p",color:"primary",readable:5,textAlign:"center",children:t.subtitleEmpty?t.subtitleEmpty:"Tente ajustar os par\xE2metros dos filtros ou tente um novo termo para a busca."})]})]}),"TableEmptyComponent");export{i as a,y as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,b as a,d as f}from"./chunk-J4VMAQM3.esm.js";import{b as c}from"./chunk-P3XOIBAC.esm.js";import{o as i}from"./chunk-
|
|
1
|
+
import{a as n,b as a,d as f}from"./chunk-J4VMAQM3.esm.js";import{b as c}from"./chunk-P3XOIBAC.esm.js";import{o as i}from"./chunk-TVJXEJLN.esm.js";import{a as m}from"./chunk-EYAGAJRL.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import{jsx as o,jsxs as s}from"react/jsx-runtime";var p=r(({label:e=null,labelProps:x,variant:l="default",color:C,area:k,alignSelf:h,justifySelf:b,...t})=>s(f,{variant:l,$color:C,disabled:t.disabled,area:k,alignSelf:h,justifySelf:b,children:[o(n,{...t,type:"checkbox"}),o(a,{children:o(c,{icon:i,size:"small"})}),typeof e=="string"?o(m,{fontSize:"small",color:"ink.primary",...x,children:e}):e]}),"CheckboxComponent");p.displayName="Checkbox";export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{U as I,p as R}from"./chunk-TVJXEJLN.esm.js";import{e as P}from"./chunk-VFM3QFOU.esm.js";import{a as S}from"./chunk-EYAGAJRL.esm.js";import{b as k}from"./chunk-SEPVF2TL.esm.js";import{a as g}from"./chunk-5PLSFFP6.esm.js";import{b as c,h as v,k as T}from"./chunk-R2QEO3KP.esm.js";import{e as C}from"./chunk-3WXII2F3.esm.js";import{a as b}from"./chunk-EJ245MA7.esm.js";import{j as x}from"./chunk-REPFMEFA.esm.js";import{b as a,g as i}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import{forwardRef as oo}from"react";var z=T(v),q=k().accordion,J=3,l=s(o=>{var e,n;return(n=(e=o.component)==null?void 0:e.accordion)!=null?n:q},"tier"),Q=["bgColor","borderColor","borderRadius","borderWidth","borderPosition"],$=s((o,e)=>{let n={...l(o).surface};for(let r of Q)e[r]!==void 0&&(n[r]=e[r]);return n},"surfaceAttrs"),E=i(g).attrs(({theme:o,$variant:e,...n})=>e==="divided"?$(o,n):{}).withConfig({componentId:"sc-wxmnzx-0"})(["display:flex;flex-direction:column;min-width:0;",""],({$variant:o,theme:e})=>o==="divided"?a(["overflow:hidden;"]):a(["gap:",";"],e.spacing("small"))),D=i(g).attrs(({theme:o,$variant:e,$surface:n={}})=>e==="separated"?{...$(o,n),overflow:"hidden"}:{}).withConfig({componentId:"sc-wxmnzx-1"})(["display:block;min-width:0;"," ",""],({$variant:o,theme:e})=>o==="divided"&&a(["& + &{border-top:"," solid ",";}"],e.border.borderWidth.thin,e.colors.edge.hairline),({theme:o})=>{var r;let e=(r=o.motion)!=null?r:z,n=s(m=>`${c(e,m,"duration")} ${c(e,m,"easing")}`,"timing");return a(["&::details-content{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows ",",opacity ",",content-visibility "," allow-discrete;}&[open]::details-content{grid-template-rows:1fr;opacity:1;transition-duration:",";transition-timing-function:",";}"],n("exit"),n("exit"),n("exit"),c(e,"emphasis","duration"),c(e,"emphasis","easing"))}),X=s(o=>C(b(o,e=>{var n;return x(e.colors.primary.base,(n=e.colors.baseLight)!=null?n:"#FFFFFF",J)}),"tx","primary"),"focusRingInk"),F=i("summary").withConfig({componentId:"sc-wxmnzx-2"})(["display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:",";row-gap:",";list-style:none;cursor:pointer;min-block-size:2.75rem;box-sizing:border-box;padding:",";&::-webkit-details-marker{display:none;}&::marker{content:'';}&:hover{background:",";}&:active{background:",";}&:focus-visible{outline:2px solid ",";outline-offset:-2px;}"],({theme:o})=>o.spacing("small"),({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing("small","medium"),({theme:o})=>{var e;return(e=o.colors.wash)==null?void 0:e.hover},({theme:o})=>{var e;return(e=o.colors.wash)==null?void 0:e.pressed},({theme:o})=>X(o)),L=i(S).attrs(({theme:o})=>{let{fontSize:e,fontWeight:n,color:r}=l(o).title;return{fontSize:e,fontWeight:n,color:r,lineHeight:"regular"}}).withConfig({componentId:"sc-wxmnzx-3"})(["grid-column:1;"]),B=i(S).attrs(({theme:o})=>{let{fontSize:e,color:n}=l(o).description;return{fontSize:e,color:n,lineHeight:"regular"}}).withConfig({componentId:"sc-wxmnzx-4"})(["grid-column:1;"]),Z={chevron:"180deg",plus:"45deg"},N=i(g).attrs(({theme:o})=>({as:"span",color:l(o).indicator.color,fontSize:l(o).title.fontSize,"aria-hidden":!0})).withConfig({componentId:"sc-wxmnzx-5"})(["grid-column:2;grid-row:1 / -1;display:inline-flex;line-height:0;transition:transform ",";& svg{fill:currentColor;stroke:currentColor;stroke-width:0;}details[open] > summary > &{transform:rotate(",");}"],({theme:o})=>{var n;let e=(n=o.motion)!=null?n:z;return`${c(e,"emphasis","duration")} ${c(e,"emphasis","easing")}`},({$indicator:o})=>Z[o]),_=i("div").withConfig({componentId:"sc-wxmnzx-6"})(["min-height:0;overflow:hidden;"]),M=i("div").withConfig({componentId:"sc-wxmnzx-7"})(["padding:",";"],({theme:o})=>o.spacing("zero","medium","medium"));import{jsx as d,jsxs as O}from"react/jsx-runtime";var eo={chevron:R,plus:I},no=["bgColor","borderColor","borderRadius","borderWidth","borderPosition"],W="data-apollion-accordion-seen",to=oo(({items:o,type:e="multiple",name:n,defaultValue:r,headingLevel:m=3,indicator:w="chevron",variant:h="divided",onItemToggle:p,...U},H)=>{let K=new Set(r===void 0?[]:Array.isArray(r)?r:[r]),V=e==="single"?n:void 0,Y=`h${m}`,f={...U},A={};if(h==="separated")for(let t of no)f[t]!==void 0&&(A[t]=f[t],delete f[t]);let G=s((t,u)=>j=>{let y=j.currentTarget;!y.hasAttribute(W)&&(y.setAttribute(W,""),y.open===u)||p==null||p(t,y.open)},"handleToggle");return d(E,{ref:H,$variant:h,...f,children:o.map(t=>{let u=K.has(t.value);return O(D,{as:"details",$variant:h,$surface:A,name:V,open:u||void 0,onToggle:p?G(t.value,u):void 0,children:[O(F,{children:[typeof t.title=="string"?d(L,{as:Y,children:t.title}):t.title,typeof t.description=="string"?d(B,{children:t.description}):t.description,d(N,{$indicator:w,children:d(P,{...eo[w],size:"1em",fill:"currentColor"})})]}),d(_,{children:d(M,{children:t.content})})]},t.value)})})});to.displayName="Accordion";export{to as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as H}from"./chunk-VFCCRDG4.esm.js";import{b as F}from"./chunk-P3XOIBAC.esm.js";import{o as M}from"./chunk-
|
|
1
|
+
import{c as H}from"./chunk-VFCCRDG4.esm.js";import{b as F}from"./chunk-P3XOIBAC.esm.js";import{o as M}from"./chunk-TVJXEJLN.esm.js";import{a as k}from"./chunk-EYAGAJRL.esm.js";import{a as c}from"./chunk-IZHCHFTU.esm.js";import{a as y}from"./chunk-5PLSFFP6.esm.js";import{a as v}from"./chunk-EJ245MA7.esm.js";import{k as E}from"./chunk-REPFMEFA.esm.js";import{b as u,g as h}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import{forwardRef as q}from"react";var A=s((e,t)=>E(e.colors[t],"base"),"literalStop"),x=s((e,t)=>v(e,i=>A(i,t)),"stop"),z=s((e,t)=>v(e,i=>{var d,m,B;return(B=(m=(d=i.colors).getContrastColor)==null?void 0:m.call(d,A(i,t)))!=null?B:i.colors.ink.primary}),"inkOn"),W=s((e,t)=>{switch(t){case"complete":return{fill:x(e,"success"),ink:z(e,"success")};case"current":return{fill:x(e,"primary"),ink:z(e,"primary")};case"next":return{fill:e.colors.surface.raised,ink:e.colors.ink.primary};default:return{fill:e.colors.surface.sunken,ink:e.colors.ink.disabled}}},"badgePaint"),C=h(c).withConfig({componentId:"sc-1bjowjb-0"})(["width:",";height:",";flex:0 0 auto;border-radius:",";background:",";color:",";box-shadow:",";transition:",";"],({$size:e})=>e,({$size:e})=>e,({theme:e})=>e.border.borderRadius.circular,({theme:e,$status:t})=>W(e,t).fill,({theme:e,$status:t})=>W(e,t).ink,({theme:e,$status:t})=>t==="next"?`inset 0 0 0 1px ${e.colors.edge.border}`:"none",({theme:e})=>e.animation.transitions.short),b=h(c).withConfig({componentId:"sc-1bjowjb-1"})(["flex:1 1 0;align-self:center;"," border-radius:",";background:",";"],({$vertical:e})=>e?u(["width:0.25rem;min-height:0.75rem;"]):u(["height:0.25rem;"]),({theme:e})=>e.border.borderRadius.micro,({theme:e,$done:t})=>t?x(e,"success"):e.colors.edge.hairline),O=u(["cursor:pointer;&:hover ","{box-shadow:",";}"],C,({theme:e})=>e.depth("level-one")),R=h(c).withConfig({componentId:"sc-1bjowjb-2"})(["flex:1 1 0;min-width:0;"," "," a{text-decoration:none;}&:focus-within ","{outline:2px solid ",";outline-offset:2px;}"],({$vertical:e})=>e&&u(["flex:0 0 auto;"]),({$actionable:e})=>e&&O,C,({theme:e})=>x(e,"primary"));import{jsx as n,jsxs as S}from"react/jsx-runtime";var w=q(({stepNumber:e,status:t,size:i="2rem",...d},m)=>n(C,{alignItems:"center",justifyContent:"center",$status:t,$size:typeof i=="number"?`${i}px`:i,...d,ref:m,children:t==="complete"?n(F,{icon:M,size:"small",color:"currentColor","aria-hidden":!0}):n(k,{fontSize:"xs",fontWeight:"bold",lineHeight:"tight",color:"inherit",children:e})}));w.displayName="StepsBadge";var g=s((e,t,i)=>e.isComplete||t<i?"complete":t===i?"current":e.disabled?"disabled":"next","resolveStepStatus"),N=s((e,t)=>t==="next"&&!!(e.href||e.to||e.onClick),"isActionable"),V=q(({steps:e,currentIndex:t=0,linkAs:i,label:d="Etapas",layout:m="auto",counterLabel:B,...I},T)=>{let L=e.length,D=s((a,p,r,o)=>r&&(a.href||a.to)?n(H,{as:a.to?i:void 0,href:a.href,to:a.to,text:a.title,onClick:a.onClick,fontSize:"xs",fontWeight:"bold",color:"primary",textAlign:o}):r?n(k,{as:"button",type:"button",onClick:a.onClick,fontSize:"xs",fontWeight:"bold",color:"primary",textAlign:o,bgColor:"transparent",borderWidth:"none",cursor:"pointer",style:{padding:0},children:a.title}):n(k,{fontSize:"xs",fontWeight:"bold",textAlign:o,color:p==="disabled"?"ink.disabled":"ink.primary",children:a.title}),"renderTitle"),P=s((a={},p)=>n(c,{as:"nav","aria-label":d,flexDirection:"row",width:"100%",...a,ref:p,children:e.map((r,o)=>{let l=g(r,o,t),f=N(r,l),$=o===L-1;return S(R,{$actionable:f,gap:"small",alignItems:"center","aria-current":l==="current"?"step":void 0,"aria-disabled":l==="disabled"||void 0,onClick:f&&!r.href&&!r.to?r.onClick:void 0,children:[S(c,{flexDirection:"row",alignItems:"center",width:"100%",children:[n(b,{$done:o>0&&g(e[o-1],o-1,t)==="complete",style:{visibility:o===0?"hidden":void 0}}),n(w,{stepNumber:o+1,status:l}),n(b,{$done:l==="complete",style:{visibility:$?"hidden":void 0}})]}),D(r,l,f,"center")]},`${o}-${r.title}`)})}),"desktopVariant"),j=s((a={},p)=>n(c,{as:"nav","aria-label":d,flexDirection:"column",width:"100%",...a,ref:p,children:e.map((r,o)=>{let l=g(r,o,t),f=N(r,l),$=o===L-1;return S(R,{$actionable:f,$vertical:!0,flexDirection:"row",gap:"medium",alignItems:"center","aria-current":l==="current"?"step":void 0,"aria-disabled":l==="disabled"||void 0,onClick:f&&!r.href&&!r.to?r.onClick:void 0,children:[S(c,{flexDirection:"column",alignItems:"center",alignSelf:"stretch",children:[n(b,{$vertical:!0,$done:o>0&&g(e[o-1],o-1,t)==="complete",style:{visibility:o===0?"hidden":void 0}}),n(w,{stepNumber:o+1,status:l}),n(b,{$vertical:!0,$done:l==="complete",style:{visibility:$?"hidden":void 0}})]}),D(r,l,f,"left")]},`${o}-${r.title}`)})}),"verticalVariant");return m==="mobile"?j(I,T):m==="desktop"?P(I,T):S(y,{containment:"inline-size",width:"100%",...I,ref:T,children:[n(y,{cq:{md:{display:"none"}},children:j()}),n(y,{display:"none",cq:{md:{display:"block"}},children:P()})]})});V.displayName="Steps";export{W as a,C as b,b as c,R as d,w as e,g as f,V as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as S,c as H,d as k,e as O,f as D,h as K,i as A,j as C,k as z,m as _,n as j,o as B}from"./chunk-3437GMP7.esm.js";import{b as c,c as N,d as U,e as Z,f as q}from"./chunk-XKACWIWC.esm.js";import{h as L}from"./chunk-
|
|
1
|
+
import{b as S,c as H,d as k,e as O,f as D,h as K,i as A,j as C,k as z,m as _,n as j,o as B}from"./chunk-3437GMP7.esm.js";import{b as c,c as N,d as U,e as Z,f as q}from"./chunk-XKACWIWC.esm.js";import{h as L}from"./chunk-T2DH7STP.esm.js";import{b as R}from"./chunk-P3XOIBAC.esm.js";import{n as x}from"./chunk-TVJXEJLN.esm.js";import{g as T}from"./chunk-L7A7RA56.esm.js";import{a as F}from"./chunk-52O36B6T.esm.js";import{f as P}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{forwardRef as ae,useMemo as m,useState as J}from"react";function G(e,n){let i={value:n,name:e!=null?e:"",type:"text"};return{target:i,currentTarget:i,type:"change",bubbles:!0,cancelable:!0,defaultPrevented:!1,isDefaultPrevented:t(()=>!1,"isDefaultPrevented"),isPropagationStopped:t(()=>!1,"isPropagationStopped"),isTrusted:!1,persist:t(()=>{},"persist"),preventDefault:t(()=>{},"preventDefault"),stopPropagation:t(()=>{},"stopPropagation"),timeStamp:Date.now(),nativeEvent:{target:i},eventPhase:0}}t(G,"buildSyntheticEvent");import{Fragment as ue,jsx as a,jsxs as de}from"react/jsx-runtime";var se="yyyy-MM-dd";function pe(e){if(!e)return;let n=U(e);return N(n)?n:void 0}t(pe,"toDate");function le(e,n,i){let o=[];if(n&&o.push({before:n}),i&&o.push({after:i}),e&&o.push(...Array.isArray(e)?e:[e]),o.length!==0)return o.length===1?o[0]:o}t(le,"resolveDisabled");var Q=ae(({value:e,onChange:n,onValueChange:i,locale:o=Z,minDate:s,maxDate:p,disabledDates:h,displayFormat:y="dd/MM/yyyy",name:g,placeholder:W,disabled:M,readOnly:I,...X},u)=>{let[f,v]=J(!1),Y=P(),l=m(()=>pe(e),[e]),$=m(()=>l?c(l,y,{locale:o}):"",[l,y,o]),V=m(()=>le(h,s,p),[h,s,p]),[E,ee]=J(null),b=B(E,f),{floatingStyles:te,context:d,refs:ne}=z({open:f,onOpenChange:v,strategy:b.strategy,elements:{reference:E},placement:"bottom-start",middleware:[D(4),H(),K({padding:8})],whileElementsMounted:S}),{getReferenceProps:oe,getFloatingProps:re}=_([A(d,{enabled:!M&&!I}),C(d,{outsidePress:!0,escapeKey:!0}),j(d,{role:"dialog"})]),ie=t(r=>{if(!r)return;let w=c(r,se);i==null||i(w),n==null||n(G(g,w)),v(!1)},"handleSelect");return de(ue,{children:[a(L,{...X,ref:r=>{typeof u=="function"?u(r):u&&(u.current=r),ee(r)},type:"text",role:"combobox",disabled:M,readOnly:I,name:g,placeholder:W,value:$,onChange:t(r=>{},"handleInputChange"),inputMode:"none",autoComplete:"off",icon:a(R,{icon:x}),iconPosition:"right",...oe({onKeyDown:t(r=>{r.key.length===1&&r.key!==" "&&r.preventDefault()},"handleKeyDown")})}),f&&a(O,{root:b.root,children:a(k,{context:d,modal:!1,initialFocus:-1,children:a("div",{ref:ne.setFloating,style:{...te,zIndex:T(Y).dropdown},...re(),children:a(F,{p:"xs",borderRadius:"xs",deep:3,children:a(q,{mode:"single",selected:l,onSelect:ie,locale:o,defaultMonth:l,disabled:V,captionLayout:"dropdown",startMonth:s!=null?s:new Date(1970,0,1),endMonth:p!=null?p:new Date(2100,11,31)})})})})})]})});Q.displayName="InputDate";export{Q as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as X}from"./chunk-BE2JDTVA.esm.js";import{b as h}from"./chunk-E2U6IFPB.esm.js";import{a as F}from"./chunk-EYAGAJRL.esm.js";import{a as c}from"./chunk-5PLSFFP6.esm.js";import{b as u}from"./chunk-G5Z7USXC.esm.js";import{b as w,g as s}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var le=w(["--railColor:",";--trackColor:",";--thumbColor:",";--markColor:",";"],({theme:e})=>e.colors.primary.light,({theme:e})=>e.colors.primary.base,({theme:e})=>e.colors.primary.action,({theme:e})=>e.colors.primary.active),de=w(["pointer-events:none;--railColor:",";--trackColor:",";--thumbColor:",";--markColor:transparent;"],({theme:e})=>e.colors.muted,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.strong),N=s(c).withConfig({componentId:"sc-18639os-0"})(["--height:6px;",";cursor:pointer;box-sizing:content-box;height:var(--height);padding:1.5rem 0 2rem;width:100%;"],({disabled:e})=>e?de:le),$=s(c).withConfig({componentId:"sc-18639os-1"})(["width:100%;height:var(--height);background:var(--railColor);position:absolute;border-radius:calc(var(--height) / 2);box-shadow:0px 0px 0px 1px var(--railColor);"]),j=s(c).withConfig({componentId:"sc-18639os-2"})(["height:var(--height);box-shadow:0px 0px 0px 1px var(--trackColor);background:var(--trackColor);border-radius:calc(var(--height) / 2);position:absolute;left:0;"]),ue=a((e,r)=>{let t=[e.colors("danger"),e.colors("warning"),e.colors("success")];return(r==="descending"?t.reverse():t).join(", ")},"gradientStops"),A=s(c).withConfig({componentId:"sc-18639os-3"})(["height:var(--height);background-image:linear-gradient(to right,",");background-repeat:no-repeat;border-radius:calc(var(--height) / 2);position:absolute;width:100%;left:0;"],({theme:e,$direction:r})=>ue(e,r)),H=s(c).withConfig({componentId:"sc-18639os-4"})(["height:var(--height);background-color:var(--railColor);background-repeat:no-repeat;position:absolute;right:0;"]),T=s(c).attrs(e=>({bgColor:"surface.raised",color:"ink.primary",borderRadius:"xs",borderWidth:"thin",p:"micro",...e})).withConfig({componentId:"sc-18639os-5"})(["--borderColor:",";opacity:0;transition:all var(--apollion-motion-duration-200,200ms) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1));text-align:center;position:absolute;bottom:",";left:50%;transform:translateX(-50%);font-size:",";white-space:nowrap;border-color:var(--borderColor);&:before{content:'';position:absolute;width:0;height:0;border-top:10px solid var(--borderColor);border-left:5px solid transparent;border-right:5px solid transparent;top:100%;left:50%;margin-left:-5px;margin-top:-1px;}"],({theme:e})=>e.colors.edge.border,({theme:e})=>e.spacing("large"),({theme:e})=>e.font.fontSize.micro),pe=w(["box-shadow:0px 0px 0px 9px "," !important;& ","{opacity:1;}"],({theme:e})=>e.colors.wash.pressed,T),W=s(c).withConfig({componentId:"sc-18639os-6"})(["--size:calc(var(--height) * 2.4);display:flex;justify-content:center;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);position:absolute;background:var(--thumbColor);transition:box-shadow var(--apollion-motion-intent-micro-duration,150ms) var(--apollion-motion-intent-micro-easing,cubic-bezier(0.42,0,0.58,1));&:hover{box-shadow:0px 0px 0px 6px ",";","{opacity:1;}}",""],({theme:e})=>e.colors.wash.hover,T,({active:e})=>e&&pe),_=s(c).attrs(e=>({borderRadius:"circular",...e})).withConfig({componentId:"sc-18639os-7"})(["--size:calc(var(--height) * 0.8);position:absolute;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);background:",";"],({active:e})=>e?"var(--thumbColor)":"var(--markColor)"),q=s(c).withConfig({componentId:"sc-18639os-8"})(["position:absolute;margin-top:1rem;transform:translateX(-50%);white-space:nowrap;font-size:",";color:",";"],({theme:e})=>e.font.fontSize.micro,({theme:e})=>e.colors.ink.secondary);import me,{useCallback as he,useEffect as be,useMemo as ve,useRef as O,useState as ge}from"react";function z(e,r,t){return(e-r)*100/(t-r)}a(z,"valueToPercent");function J(e,r,t){return(t-r)*e+r}a(J,"percentToValue");function M(e,r,t){let m=Math.round((e-t)/r)*r+t;return Number(m.toFixed(r))}a(M,"roundValueToStep");function K(e){return e>=1?1:e<=0?0:e}a(K,"clamp");function R(e,r,t,m){return Number.isFinite(e)&&e>=t&&e<=r?m?M(e,m,t):e:Math.min(Math.max(t,e),r)}a(R,"normalizeValue");import{jsx as p,jsxs as Q}from"react/jsx-runtime";function U({gradient:e,disabled:r,getLabelValue:t,markLabel:m,onChange:b,value:k=50,max:l=100,min:n=0,step:d=1,mark:I,area:Y,alignSelf:Z,justifySelf:ee}){let[v,L]=ge(()=>R(k,l,n,d));be(()=>{L(o=>{let i=R(k,l,n,d);return i!==o?i:o})},[k,l,n,d]);let{active:oe,enable:V,disable:re}=X(),B=O(null),te=ve(()=>{if(!(I===!0&&d))return[];let o=Math.floor((l-n)/d)+1;return!Number.isFinite(o)||o<=0||o>1e4?[]:[...Array(o)].map((i,E)=>{let x=n+d*E;return{value:x,...t&&m&&{label:t(x)}}})},[I,t,m,d,n,l]),P=O(0),y=he(o=>{let i=0;try{if(o.type==="touchmove"){let[C]=o.changedTouches;i=C==null?void 0:C.clientX}else i=o.clientX}catch(C){i=o.clientX}let{width:E,left:x}=B.current.getBoundingClientRect(),ce=K((i-x)/E),S=J(ce,n,l);S=M(S,d,n),L(S),b&&(clearTimeout(P.current),P.current=setTimeout(()=>{b(S)},100))},[n,l,d,b]),g=h(o=>{y(o)}),f=h(()=>{re(),u.document.removeEventListener("mousemove",g),u.document.removeEventListener("mouseup",f),u.document.removeEventListener("touchmove",g),u.document.removeEventListener("touchend",f)}),ne=h(o=>{o.preventDefault(),y(o),V(),u.document.addEventListener("mousemove",g,{passive:!1}),u.document.addEventListener("mouseup",f,{passive:!1})}),ie=h(o=>{o.stopPropagation(),y(o),V(),u.document.addEventListener("touchmove",g,{passive:!1}),u.document.addEventListener("touchend",f,{passive:!1})}),ae=t?t(v):String(v),D=`${z(v,n,l)}%`,se={width:D},G={left:D};return Q(N,{ref:B,onMouseDown:ne,onTouchStart:ie,disabled:r,area:Y,alignSelf:Z,justifySelf:ee,children:[p($,{}),e?p(A,{$direction:e==="descending"?"descending":"ascending",children:p(H,{style:G})}):p(j,{style:se}),te.map(o=>{let i={left:`${z(o.value,n,l)}%`};return Q(me.Fragment,{children:[p(_,{active:o.value<=v,style:i}),o.label&&p(q,{style:i,children:o.label})]},o.value)}),p(W,{borderRadius:"circular",deep:1,active:oe,style:G,"data-testid":"input-range-thumb",children:!r&&p(T,{children:p(F,{children:ae})})})]})}a(U,"Slider");U.displayName="Slider";export{N as a,$ as b,j as c,A as d,H as e,T as f,W as g,_ as h,q as i,U as j};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-NGCCXGDN.esm.js";import{a}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-NGCCXGDN.esm.js";import{a}from"./chunk-ECCXQYRB.esm.js";import{a as r}from"./chunk-CDRLVSLF.esm.js";import{a as C}from"./chunk-UAXSZ3UE.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import d from"react";var b=n(c).withConfig({componentId:"sc-g7895e-0"})([""]);import{jsx as t}from"react/jsx-runtime";var o=l(m=>{let{getSelected:p}=d.useContext(r),x=l(e=>[...e.parentNode.children].indexOf(e),"getNodeIndex"),h=l(e=>{let T=x(e.target.closest("tr"));p(T,e.target.checked)},"handleChecked");return t(b,{children:t(C,{children:t(a,{label:m.children,onChange:h})})})},"TableCheckboxCellComponent");o.displayName="TableCheckboxCell";export{b as a,o as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as D}from"./chunk-
|
|
1
|
+
import{c as D}from"./chunk-2MXXNBFD.esm.js";import{a as E}from"./chunk-BE2JDTVA.esm.js";import{d as p}from"./chunk-6G22RNUO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import N,{lazy as H,Suspense as S,useCallback as z,useEffect as A,useState as T}from"react";import{Fragment as B,jsx as c,jsxs as I}from"react/jsx-runtime";var W=H(()=>import("./Dropdown.floating-BZADQ5AX.esm.js")),b=t(({children:s,options:e,content:o,hoverable:d=!1,position:C="left",width:i,full:g,motion:P="scale"})=>{if(!e&&!o)throw new Error('Dropdown deve receber "content" ou "options" props');let m=p(s),u=e?"menu":"dialog",[r,v]=T(null),[y,k]=T(),{active:n,enable:f,disable:R,toggle:w}=E(!1),x=z(a=>v(a),[]);A(()=>{g&&r&&k(r.getBoundingClientRect().width)},[g,r]);let F=t(()=>{let a=m?s({isOpen:n,open:f,toggle:w}):s,l={ref:x,"aria-haspopup":u,"aria-expanded":n};return m||(l.onClick=w),d&&(l.onPointerEnter=M=>{M.pointerType==="mouse"&&f()}),N.cloneElement(a,l)},"renderTrigger"),L=t(()=>Array.isArray(e)?c(D,{gap:"zero",color:"primary.action",exclusive:!0,content:e}):p(o)?o({close:R}):o,"renderMenuContent");return I(B,{children:[F(),n&&c(S,{fallback:null,children:c(W,{referenceEl:r,open:n,onClose:R,position:C,hoverable:d,role:u,width:i!=null?i:y,motion:P,children:L()})})]})},"DropdownComponent");b.displayName="Dropdown";export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as j}from"./chunk-4KW43QHY.esm.js";import{a as ee}from"./chunk-U3GZABRG.esm.js";import{a as Ae}from"./chunk-2FQC32AA.esm.js";import{b as I}from"./chunk-P3XOIBAC.esm.js";import{K as Z,X as Ue,aa as Be,ba as _e,ca as Ge,p as We,r as Oe,w as $e}from"./chunk-DAT6GD4T.esm.js";import{f as le}from"./chunk-ITSDQBLF.esm.js";import{e as P}from"./chunk-EYAGAJRL.esm.js";import{a as F}from"./chunk-IZHCHFTU.esm.js";import{a as h}from"./chunk-5PLSFFP6.esm.js";import{g as Se}from"./chunk-6G22RNUO.esm.js";import{f as He,g as C}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import S from"react";import X from"react";var q=C(h).withConfig({componentId:"sc-npwc89-0"})(({theme:e})=>({margin:0,padding:"0 0.5rem",minHeight:40,lineHeight:1.2,display:"flex",flexDirection:"row",alignItems:"center",color:e.colors.ink.primary,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontFamily:e.font.fontFamily.main})),z=C(h).withConfig({componentId:"sc-npwc89-1"})(["display:flex;flex-direction:row;align-items:stretch;min-width:max-content;border-bottom:1px solid transparent;border-left:1px solid transparent;"]),je=C(z).attrs(e=>({bgColor:"muted",...e})).withConfig({componentId:"sc-npwc89-2"})([""]),qe=C(h).withConfig({componentId:"sc-npwc89-3"})(["& ",":hover{border-bottom-color:"," !important;border-left-color:"," !important;}"],z,({theme:e})=>e.colors.edge.strong,({theme:e})=>e.colors.primary.base),Xe=C(z).withConfig({componentId:"sc-npwc89-4"})(["position:sticky;top:0;z-index:2;background:",";"],({theme:e})=>e.colors.surface.paper),Ye=C(h).withConfig({componentId:"sc-npwc89-5"})(["border-spacing:0;border-top:2px solid ",";border-bottom:1px solid ",";isolation:isolate;overflow:auto;scrollbar-gutter:stable;&[data-border='true'] ","{border-right:1px solid ",";border-left-color:",";border-bottom-color:",";}&[data-border='true'] ",":not(:last-child){border-right:1px solid ",";}&[data-default='true'] ","{border-bottom-color:",";}& > "," > ","{font-weight:600;align-items:center;justify-content:space-between;gap:",";padding-right:",";color:",";}"],({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,z,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,q,({theme:e})=>e.colors.edge.border,z,({theme:e})=>e.colors.muted,z,q,({theme:e})=>e.spacing("xs"),({theme:e})=>e.spacing("xs"),({theme:e})=>e.colors.ink.secondary),Ke=C(h).withConfig({componentId:"sc-npwc89-6"})(["display:none;","{display:inline-flex;align-items:center;flex-shrink:0;}"],({theme:e})=>e.breakpoints.up("sm")),Je=C(h).withConfig({componentId:"sc-npwc89-7"})(["cursor:col-resize;display:inline-block;width:10px;height:100%;position:absolute;right:0;top:0;transform:translateX(50%);z-index:1;touch-action:none;"]),E=C(h).withConfig({componentId:"sc-npwc89-8"})(({theme:e})=>({position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",width:"var(--size)",height:"var(--size)",border:"2px solid var(--border-color)",borderRadius:e.spacing("micro"),"&:after":{content:"''",position:"absolute",display:"none"}})),se=C.input.withConfig({componentId:"sc-npwc89-9"})(["cursor:pointer;position:absolute;opacity:0;height:0;width:0;&:indeterminate ~ ",",&:checked ~ ","{background-color:var(--checked-color);border-color:var(--checked-color);}&:checked ~ ",":after{display:block;left:4px;top:0px;width:4px;height:8px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg);}&:indeterminate ~ ",":after{display:block;left:3px;top:5px;width:9px;height:4px;background-color:white;}&:indeterminate:hover{cursor:wait;}"],E,E,E,E),ce=C(h).withConfig({componentId:"sc-npwc89-10"})(({theme:e})=>({"--checked-color":e.colors.information.base,"--border-color":e.colors.edge.strong,"--size":"18px",position:"relative",minWidth:"var(--size)",minHeight:"var(--size)",width:"fit-content",cursor:"pointer",display:"inline-flex",alignItems:"center",userSelect:"none",paddingLeft:`calc(var(--size) + ${e.spacing("xs")})`})),Qe=C(h).attrs(e=>({bgColor:"surface.sunken",...e})).withConfig({componentId:"sc-npwc89-11"})(({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",color:e.colors.ink.primary})),Ze=C(h).withConfig({componentId:"sc-npwc89-12"})(({theme:e})=>({display:"flex",justifyContent:"space-between",alignItems:"center",padding:`${e.spacing("xs")} ${e.spacing("small")}`,borderTop:`1px solid ${e.colors.muted}`,gap:e.spacing("small")})),et=C(h).withConfig({componentId:"sc-npwc89-13"})(({theme:e})=>({display:"inline-flex",flexDirection:"row",alignItems:"center",gap:e.spacing("xs"),flexShrink:0})),de=C(h).withConfig({componentId:"sc-npwc89-14"})(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing("xs"),maxHeight:"240px",overflowY:"auto",minWidth:"200px",padding:e.spacing("xs")}));import{jsx as T,jsxs as Fe}from"react/jsx-runtime";var tt={select:"arrIncludesSome",range:"inNumberRange",text:"includesString"};function nt(e,o){let t=X.useRef(null);return X.useCallback((...n)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(()=>e(...n),o)},[e,o])}i(nt,"useDebounce");var Wt=i(({column:e,labels:o})=>{var a,l;let t=X.useMemo(()=>Array.from(e.getFacetedUniqueValues().entries()).sort(([s],[m])=>String(s).localeCompare(String(m))),[e,e.getFilterValue()]),n=(a=e.getFilterValue())!=null?a:[];return Fe(de,{children:[t.length===0&&T(P,{variant:"meta",text:(l=o==null?void 0:o.filterNoValues)!=null?l:"Sem valores"}),t.map(([s,m])=>{let d=String(s),f=n.includes(d);return Fe(ce,{as:"label",children:[T(se,{type:"checkbox",checked:f,onChange:()=>{let c=f?n.filter(N=>N!==d):[...n,d];e.setFilterValue(c.length?c:void 0)}}),T(E,{}),T(P,{variant:"meta",text:`${d} (${m})`})]},d)})]})},"SelectFilter"),Ot=i(({column:e,labels:o})=>{var O,$;let[t,n]=(O=e.getFacetedMinMaxValues())!=null?O:[0,0],a=o!=null&&o.filterRangeMin?o.filterRangeMin(t):`min (${t})`,l=o!=null&&o.filterRangeMax?o.filterRangeMax(n):`max (${n})`,s=($=e.getFilterValue())!=null?$:[void 0,void 0],m=nt(k=>{let[R,U]=k,B=R===void 0&&U===void 0;e.setFilterValue(B?void 0:k)},200),[d,f]=X.useState(s[0]!==void 0?String(s[0]):""),[c,N]=X.useState(s[1]!==void 0?String(s[1]):"");return T(de,{children:Fe(F,{flexDirection:"row",gap:"xs",alignItems:"center",children:[T(j,{type:"number",placeholder:a,value:d,onChange:k=>{let R=k.target.value;f(R),m([R===""?void 0:Number(R),c===""?void 0:Number(c)])}}),T(P,{variant:"meta",text:"\u2014"}),T(j,{type:"number",placeholder:l,value:c,onChange:k=>{let R=k.target.value;N(R),m([d===""?void 0:Number(d),R===""?void 0:Number(R)])}})]})})},"RangeFilter"),$t=i(({column:e,labels:o})=>{var s,m;let t=(s=e.getFilterValue())!=null?s:"",[n,a]=X.useState(t),l=nt(d=>{e.setFilterValue(d||void 0)},200);return T(de,{children:T(j,{placeholder:(m=o==null?void 0:o.filterPlaceholder)!=null?m:"Filtrar...",value:n,onChange:d=>{let f=d.target.value;a(f),l(f)}})})},"TextFilter"),ot=i((e,o,t,n)=>{switch(e){case"select":return T(Wt,{column:o,onClose:t,labels:n});case"range":return T(Ot,{column:o,onClose:t,labels:n});case"text":return T($t,{column:o,onClose:t,labels:n})}},"filterUIForVariant");import V,{forwardRef as Ut}from"react";import{Fragment as _t,jsx as b,jsxs as pe}from"react/jsx-runtime";var at=Ut((e,o)=>b(Je,{...e,ref:o})),it=i(e=>e==="asc"?Ge:e==="desc"?_e:Be,"getSortIcon"),rt=V.forwardRef(({indeterminate:e,children:o,...t},n)=>{let a=V.useRef(null),l=n||a;return V.useEffect(()=>{l.current&&(l.current.indeterminate=e!=null?e:!1)},[l,e]),pe(ce,{as:"label",children:[o,b(se,{type:"checkbox",ref:l,...t}),b(E,{})]})});function lt(e,o){return e?{id:"expand",size:o!=null?o:48,enableSorting:!1,enableResizing:!1,header:i(()=>null,"header"),cell:i(({row:n})=>n.getCanExpand()?b(I,{icon:n.getIsExpanded()?We:Oe,onClick:n.getToggleExpandedHandler(),style:{cursor:"pointer",marginLeft:`${n.depth*16}px`}}):b("span",{style:{display:"inline-block",marginLeft:`${n.depth*16}px`}}),"cell"),meta:{selectable:!1,align:void 0}}:null}i(lt,"buildExpandColumnDef");function st(e,o){return e?{id:"checkbox",size:o!=null?o:64,enableSorting:!1,enableResizing:!1,header:i(({table:n})=>b(rt,{checked:n.getIsAllRowsSelected(),indeterminate:n.getIsSomeRowsSelected(),onChange:n.getToggleAllRowsSelectedHandler(),"aria-label":Se(e)?void 0:"Select all rows",children:Se(e)?e:void 0}),"header"),cell:i(({row:n})=>{var a,l;return b(rt,{checked:n.getIsSelected(),indeterminate:(l=(a=n.getIsSomeSelected)==null?void 0:a.call(n))!=null?l:!1,onChange:n.getToggleSelectedHandler(),"aria-label":"Select row"})},"cell"),meta:{selectable:!1,align:void 0}}:null}i(st,"buildSelectableColumnDef");function Bt(e,o){let t=V.useRef(null);return V.useCallback((...n)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(()=>e(...n),o)},[e,o])}i(Bt,"useDebounce");var ct=i(({globalFilter:e,setGlobalFilter:o,placeholder:t})=>{let[n,a]=V.useState(e),l=Bt(s=>{o(s||"")},200);return b(j,{clearable:!0,width:"250px",size:"compact",reset:()=>{a(""),l("")},value:n||"",onChange:s=>{a(s.target.value),l(s.target.value)},placeholder:t,"aria-label":t!=null?t:"Search",icon:b(I,{icon:Ue})})},"GlobalFilter"),dt=i(({height:e,emptyIcon:o,emptyTitle:t="Nada foi encontrado",emptyDescription:n})=>b(Qe,{style:{height:e},children:pe(F,{gap:"medium",justifyContent:"center",alignItems:"center",width:"80%",style:{height:e},children:[o,b(P,{textAlign:"center",variant:"h5",text:t}),n&&b(P,{textAlign:"center",variant:"p",text:n})]})}),"EmptyTable");function ue(e,o,t){let[n,a]=V.useState(t),l=e!==void 0,s=l?e:n,m=V.useCallback(d=>{let f=typeof d=="function"?d(s):d;l||a(f),o==null||o(f)},[l,o,s]);return[s,m]}i(ue,"useHybridState");var pt=i(({pageIndex:e,pageSize:o,pageCount:t,rowCount:n,canPreviousPage:a,canNextPage:l,pageSizeOptions:s,onPrevious:m,onNext:d,onPageSizeChange:f,labels:c})=>{var U,B,H,Y,ne;let N=n===0?0:e*o+1,O=Math.min((e+1)*o,n),$=(U=c==null?void 0:c.showingRange)!=null?U:((y,M,me)=>`Mostrando ${y}-${M} de ${me}`),k=(B=c==null?void 0:c.perPageOption)!=null?B:(y=>`${y} por p\xE1gina`),R=(H=c==null?void 0:c.perPageTrigger)!=null?H:(y=>`${y} / p\xE1gina`);return pe(_t,{children:[b(P,{variant:"meta",text:$(N,O,n)}),pe(F,{flexDirection:"row",gap:"small",alignItems:"center",children:[s.length>1&&b(ee,{position:"right",options:s.map(y=>({title:k(y),action:i(()=>f(y),"action")})),children:b(le,{variant:"linked",size:"small",text:R(o)})}),b(le,{variant:"linked",size:"small",disabled:!a,onClick:m,text:(Y=c==null?void 0:c.previous)!=null?Y:"Anterior"}),b(P,{variant:"meta",text:`${e+1} / ${Math.max(t,1)}`}),b(le,{variant:"linked",size:"small",disabled:!l,onClick:d,text:(ne=c==null?void 0:c.next)!=null?ne:"Pr\xF3ximo"})]})]})},"PaginationControls");var Gt=(a=>(a.primary="primary",a.success="success",a.alert="warning",a.error="danger",a))(Gt||{}),jt=(n=>(n.left="flex-start",n.center="center",n.right="flex-end",n))(jt||{});var te={minWidth:30,width:150,maxWidth:400};import{flexRender as ge,getCoreRowModel as ut,getExpandedRowModel as gt,getFacetedMinMaxValues as mt,getFacetedRowModel as ft,getFacetedUniqueValues as bt,getFilteredRowModel as xt,getPaginationRowModel as Ct,getSortedRowModel as ht,useReactTable as Rt}from"@tanstack/react-table";import{useVirtualizer as wt}from"@tanstack/react-virtual";import{Fragment as Xt,jsx as p,jsxs as L}from"react/jsx-runtime";function qt(e,o){return e.map(t=>{var l,s,m,d,f;let n=t.accessor?String(t.accessor):void 0,a={id:(l=t.id)!=null?l:n||void 0,header:i(()=>t.Header,"header"),footer:t.Footer?c=>t.Footer({table:c.table}):void 0,enableSorting:!t.disableSortBy,enableResizing:!0,enableColumnFilter:t.disableFilters?!1:!!t.filterVariant,...t.filterVariant&&{filterFn:(s=t.filterFn)!=null?s:tt[t.filterVariant]},size:(m=t.width)!=null?m:o.width,minSize:(d=t.minWidth)!=null?d:o.minWidth,maxSize:(f=t.maxWidth)!=null?f:o.maxWidth,meta:{align:t.align,selectable:t.selectable,filterVariant:t.filterVariant}};return n?a.accessorKey=n:a.accessorFn=()=>null,t.Cell&&(a.cell=c=>t.Cell({row:c.row,value:c.getValue()})),a})}i(qt,"toTanstackColumns");function qn(e){var Ve,Le,Ne;let{data:o,columns:t,onRowSelect:n,onRowClick:a,selectableColumnWidth:l,selectableColumn:s,setRowColor:m,title:d,striped:f,bordered:c,searchPlaceholder:N,hasHeader:O,hasFooter:$,hasSpacingMenu:k,inputSearchComponent:R,headerLeftComponent:U=null,headerRightComponent:B=null,lastRowComponent:H,height:Y=400,spacing:ne=0,paginated:y=!1,initialPagination:M,pagination:me,onPaginationChange:yt,pageSizeOptions:Pe=[10,25,50,100],getSubRows:ke,expandedColumnWidth:oe,initialExpanded:fe,expanded:Tt,onExpandedChange:St,initialColumnFilters:be,columnFilters:Ft,onColumnFiltersChange:Pt,labels:K}=e,A=!!ke,xe=S.useMemo(()=>t.some(r=>r.filterVariant&&!r.disableFilters),[t]),[kt,Ce]=S.useState(48),[vt,It]=S.useState([]),[ve,Ie]=S.useState(""),[he,Mt]=S.useState({}),[Re,Dt]=ue(me,yt,()=>{var r,g,u;return{pageIndex:(r=M==null?void 0:M.pageIndex)!=null?r:0,pageSize:(u=(g=M==null?void 0:M.pageSize)!=null?g:Pe[0])!=null?u:10}}),[Et,zt]=ue(Tt,St,()=>fe!=null?fe:{}),[Vt,Lt]=ue(Ft,Pt,()=>be!=null?be:[]),Nt=S.useMemo(()=>{let r=qt(t,te),g=st(s,l),u=lt(A,oe!=null?oe:l),w=[];return u&&w.push(u),g&&w.push(g),[...w,...r]},[t,s,l,A,oe]),v=Rt({data:o,columns:Nt,state:{sorting:vt,globalFilter:ve,rowSelection:he,...y&&{pagination:Re},...A&&{expanded:Et},...xe&&{columnFilters:Vt}},enableRowSelection:!!s,enableExpanding:A,...A&&{getSubRows:ke},onSortingChange:It,onGlobalFilterChange:Ie,onRowSelectionChange:Mt,...y&&{onPaginationChange:Dt},...A&&{onExpandedChange:zt},...xe&&{onColumnFiltersChange:Lt},getCoreRowModel:ut(),getSortedRowModel:ht(),getFilteredRowModel:xt(),...y&&{getPaginationRowModel:Ct()},...A&&{getExpandedRowModel:gt()},...xe&&{getFacetedRowModel:ft(),getFacetedUniqueValues:bt(),getFacetedMinMaxValues:mt()},columnResizeMode:"onChange",defaultColumn:{size:te.width,minSize:te.minWidth,maxSize:te.maxWidth}}),J=v.getRowModel().rows;Ae(()=>{if(n){let r=J.filter(g=>he[g.id]).map(g=>g.original);n(r)}},[he]);let W=He(),we=J.length+(H?1:0),Me=S.useCallback((r,g)=>{let u=m&&m(r),w=f&&g%2===0,x=W.colors.surface.paper;return u?x=W.colors[u].light:r.getIsSelected()&&n?x=W.colors.muted:w&&(x=W.colors.surface.sunken),{backgroundColor:x}},[m,f,W,n]),re=kt+ne,ae=S.useCallback(({align:r="flex-start",cellProps:g={},header:u,hasCheckbox:w,selectable:x})=>Object.assign(g,{title:void 0,style:{height:re,overflow:"hidden",display:"flex",alignItems:u?"flex-end":"center",justifyContent:r,paddingLeft:w?W.spacing("small"):void 0,cursor:x?"pointer":void 0}}),[re,W]),Ht=S.useCallback(({index:r,style:g})=>{if(H&&r===we-1)return S.cloneElement(H,{style:g});let u=J[r],w={...g,...Me(u,r)};return p(z,{style:w,children:u.getVisibleCells().map(x=>{var D;let _=(D=x.column.columnDef.meta)!=null?D:{},Te=x.column.id,G;a?G=i(()=>a(u.original),"onClickAction"):n&&(G=i(()=>u.toggleSelected(),"onClickAction"));let Q=ae({align:_.align,hasCheckbox:Te==="checkbox",selectable:(n||a)&&_.selectable!==!1,cellProps:_.selectable!==!1?{onClick:G}:void 0});return p(q,{...Q,style:{...Q.style,width:x.column.getSize(),flex:`${x.column.getSize()} 0 auto`},children:ge(x.column.columnDef.cell,x.getContext())},x.id)})})},[J,ae,H,a,n,Me,we]),ye=!!J.length,At=$&&ye&&t.some(r=>"Footer"in r),De=S.useRef(null),ie=wt({count:we,getScrollElement:i(()=>De.current,"getScrollElement"),estimateSize:i(()=>re,"estimateSize"),overscan:5});S.useEffect(()=>{ie.measure()},[re,ie]);let Ee=L(Ye,{ref:De,role:"region","aria-label":(Le=(Ve=K==null?void 0:K.scrollRegion)!=null?Ve:d)!=null?Le:"Tabela",tabIndex:0,style:{maxHeight:Y},bgColor:"baseLight","data-border":c,"data-default":!f&&!c,children:[p(Xe,{children:v.getFlatHeaders().map(r=>{var Q;let g=(Q=r.column.columnDef.meta)!=null?Q:{},u=r.column.getCanSort(),w=r.column.getCanResize(),x=r.column.getIsSorted(),_=!!g.filterVariant&&r.column.getCanFilter(),Te=r.column.getIsFiltered(),G=ae({align:g.align,header:!0,hasCheckbox:r.column.id==="checkbox"});return L(q,{...G,style:{...G.style,width:r.getSize(),flex:`${r.getSize()} 0 auto`,cursor:u?"pointer":void 0,position:"relative"},onClick:u?r.column.getToggleSortingHandler():void 0,children:[r.isPlaceholder?null:ge(r.column.columnDef.header,r.getContext()),(_||u)&&L(et,{children:[_&&p("span",{role:"presentation",onClick:D=>D.stopPropagation(),children:p(ee,{content:({close:D})=>ot(g.filterVariant,r.column,D,K),children:p(I,{icon:$e,color:Te?"primary.action":"ink.disabled",style:{cursor:"pointer"},role:"button",tabIndex:0,"aria-label":"Filter column"})})}),u&&p(Ke,{children:p(I,{icon:it(x)})})]}),w&&p(at,{onMouseDown:r.getResizeHandler(),onTouchStart:r.getResizeHandler(),onClick:D=>D.stopPropagation()})]},r.id)})}),ye?p(qe,{style:{height:ie.getTotalSize(),position:"relative",minWidth:"max-content"},children:ie.getVirtualItems().map(r=>p(h,{style:{position:"absolute",top:0,left:0,width:"100%",height:r.size,transform:`translateY(${r.start}px)`},children:Ht({index:r.index,style:{}})},r.key))}):p(dt,{...e,height:Y}),At&&p(h,{children:p(je,{children:(Ne=v.getFooterGroups()[0])==null?void 0:Ne.headers.map(r=>{var w;let g=(w=r.column.columnDef.meta)!=null?w:{},u=ae({align:g.align});return p(q,{...u,style:{...u.style,width:r.getSize(),flex:`${r.getSize()} 0 auto`},children:r.isPlaceholder?null:ge(r.column.columnDef.footer,r.getContext())},r.id)})})})]}),ze=y&&ye&&p(Ze,{children:p(pt,{pageIndex:Re.pageIndex,pageSize:Re.pageSize,pageCount:v.getPageCount(),rowCount:v.getFilteredRowModel().rows.length,canPreviousPage:v.getCanPreviousPage(),canNextPage:v.getCanNextPage(),pageSizeOptions:Pe,onPrevious:()=>v.previousPage(),onNext:()=>v.nextPage(),onPageSizeChange:r=>v.setPageSize(r),labels:K})});return O?L(F,{gap:"medium",children:[L(F,{flexDirection:"row",alignItems:"center",justifyContent:"between",children:[L(F,{flexDirection:"row",gap:"medium",children:[d&&p(P,{variant:"h5",color:"primary.dark",text:d}),U]}),L(F,{flexDirection:"row",gap:"medium",children:[R!=null?R:p(ct,{globalFilter:ve,setGlobalFilter:Ie,placeholder:N}),B,k?p(F,{alignSelf:"center",children:p(ee,{position:"right",options:[{icon:p(I,{icon:Z}),title:"Layout Compacto",action:i(()=>Ce(32),"action")},{icon:p(I,{icon:Z}),title:"Layout Padr\xE3o",action:i(()=>Ce(48),"action")},{icon:p(I,{icon:Z}),title:"Layout Expandido",action:i(()=>Ce(64),"action")}],children:p(I,{size:5,icon:Z,color:"primary.action",style:{alignSelf:"center",cursor:"pointer"}})})}):null]})]}),Ee,ze]}):L(Xt,{children:[Ee,ze]})}i(qn,"DataTable");export{Gt as a,jt as b,qn as c};
|
|
1
|
+
import{h as j}from"./chunk-T2DH7STP.esm.js";import{a as ee}from"./chunk-NZ6DQLPV.esm.js";import{a as Ae}from"./chunk-2FQC32AA.esm.js";import{b as I}from"./chunk-P3XOIBAC.esm.js";import{L as Z,Z as Ue,ca as Be,da as _e,ea as Ge,p as We,r as Oe,x as $e}from"./chunk-TVJXEJLN.esm.js";import{f as le}from"./chunk-ITSDQBLF.esm.js";import{e as P}from"./chunk-EYAGAJRL.esm.js";import{a as F}from"./chunk-IZHCHFTU.esm.js";import{a as h}from"./chunk-5PLSFFP6.esm.js";import{g as Se}from"./chunk-6G22RNUO.esm.js";import{f as He,g as C}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import S from"react";import X from"react";var q=C(h).withConfig({componentId:"sc-npwc89-0"})(({theme:e})=>({margin:0,padding:"0 0.5rem",minHeight:40,lineHeight:1.2,display:"flex",flexDirection:"row",alignItems:"center",color:e.colors.ink.primary,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontFamily:e.font.fontFamily.main})),z=C(h).withConfig({componentId:"sc-npwc89-1"})(["display:flex;flex-direction:row;align-items:stretch;min-width:max-content;border-bottom:1px solid transparent;border-left:1px solid transparent;"]),je=C(z).attrs(e=>({bgColor:"muted",...e})).withConfig({componentId:"sc-npwc89-2"})([""]),qe=C(h).withConfig({componentId:"sc-npwc89-3"})(["& ",":hover{border-bottom-color:"," !important;border-left-color:"," !important;}"],z,({theme:e})=>e.colors.edge.strong,({theme:e})=>e.colors.primary.base),Xe=C(z).withConfig({componentId:"sc-npwc89-4"})(["position:sticky;top:0;z-index:2;background:",";"],({theme:e})=>e.colors.surface.paper),Ye=C(h).withConfig({componentId:"sc-npwc89-5"})(["border-spacing:0;border-top:2px solid ",";border-bottom:1px solid ",";isolation:isolate;overflow:auto;scrollbar-gutter:stable;&[data-border='true'] ","{border-right:1px solid ",";border-left-color:",";border-bottom-color:",";}&[data-border='true'] ",":not(:last-child){border-right:1px solid ",";}&[data-default='true'] ","{border-bottom-color:",";}& > "," > ","{font-weight:600;align-items:center;justify-content:space-between;gap:",";padding-right:",";color:",";}"],({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,z,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,q,({theme:e})=>e.colors.edge.border,z,({theme:e})=>e.colors.muted,z,q,({theme:e})=>e.spacing("xs"),({theme:e})=>e.spacing("xs"),({theme:e})=>e.colors.ink.secondary),Ke=C(h).withConfig({componentId:"sc-npwc89-6"})(["display:none;","{display:inline-flex;align-items:center;flex-shrink:0;}"],({theme:e})=>e.breakpoints.up("sm")),Je=C(h).withConfig({componentId:"sc-npwc89-7"})(["cursor:col-resize;display:inline-block;width:10px;height:100%;position:absolute;right:0;top:0;transform:translateX(50%);z-index:1;touch-action:none;"]),E=C(h).withConfig({componentId:"sc-npwc89-8"})(({theme:e})=>({position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",width:"var(--size)",height:"var(--size)",border:"2px solid var(--border-color)",borderRadius:e.spacing("micro"),"&:after":{content:"''",position:"absolute",display:"none"}})),se=C.input.withConfig({componentId:"sc-npwc89-9"})(["cursor:pointer;position:absolute;opacity:0;height:0;width:0;&:indeterminate ~ ",",&:checked ~ ","{background-color:var(--checked-color);border-color:var(--checked-color);}&:checked ~ ",":after{display:block;left:4px;top:0px;width:4px;height:8px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg);}&:indeterminate ~ ",":after{display:block;left:3px;top:5px;width:9px;height:4px;background-color:white;}&:indeterminate:hover{cursor:wait;}"],E,E,E,E),ce=C(h).withConfig({componentId:"sc-npwc89-10"})(({theme:e})=>({"--checked-color":e.colors.information.base,"--border-color":e.colors.edge.strong,"--size":"18px",position:"relative",minWidth:"var(--size)",minHeight:"var(--size)",width:"fit-content",cursor:"pointer",display:"inline-flex",alignItems:"center",userSelect:"none",paddingLeft:`calc(var(--size) + ${e.spacing("xs")})`})),Qe=C(h).attrs(e=>({bgColor:"surface.sunken",...e})).withConfig({componentId:"sc-npwc89-11"})(({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",color:e.colors.ink.primary})),Ze=C(h).withConfig({componentId:"sc-npwc89-12"})(({theme:e})=>({display:"flex",justifyContent:"space-between",alignItems:"center",padding:`${e.spacing("xs")} ${e.spacing("small")}`,borderTop:`1px solid ${e.colors.muted}`,gap:e.spacing("small")})),et=C(h).withConfig({componentId:"sc-npwc89-13"})(({theme:e})=>({display:"inline-flex",flexDirection:"row",alignItems:"center",gap:e.spacing("xs"),flexShrink:0})),de=C(h).withConfig({componentId:"sc-npwc89-14"})(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing("xs"),maxHeight:"240px",overflowY:"auto",minWidth:"200px",padding:e.spacing("xs")}));import{jsx as T,jsxs as Fe}from"react/jsx-runtime";var tt={select:"arrIncludesSome",range:"inNumberRange",text:"includesString"};function nt(e,o){let t=X.useRef(null);return X.useCallback((...n)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(()=>e(...n),o)},[e,o])}i(nt,"useDebounce");var Wt=i(({column:e,labels:o})=>{var a,l;let t=X.useMemo(()=>Array.from(e.getFacetedUniqueValues().entries()).sort(([s],[m])=>String(s).localeCompare(String(m))),[e,e.getFilterValue()]),n=(a=e.getFilterValue())!=null?a:[];return Fe(de,{children:[t.length===0&&T(P,{variant:"meta",text:(l=o==null?void 0:o.filterNoValues)!=null?l:"Sem valores"}),t.map(([s,m])=>{let d=String(s),f=n.includes(d);return Fe(ce,{as:"label",children:[T(se,{type:"checkbox",checked:f,onChange:()=>{let c=f?n.filter(N=>N!==d):[...n,d];e.setFilterValue(c.length?c:void 0)}}),T(E,{}),T(P,{variant:"meta",text:`${d} (${m})`})]},d)})]})},"SelectFilter"),Ot=i(({column:e,labels:o})=>{var O,$;let[t,n]=(O=e.getFacetedMinMaxValues())!=null?O:[0,0],a=o!=null&&o.filterRangeMin?o.filterRangeMin(t):`min (${t})`,l=o!=null&&o.filterRangeMax?o.filterRangeMax(n):`max (${n})`,s=($=e.getFilterValue())!=null?$:[void 0,void 0],m=nt(k=>{let[R,U]=k,B=R===void 0&&U===void 0;e.setFilterValue(B?void 0:k)},200),[d,f]=X.useState(s[0]!==void 0?String(s[0]):""),[c,N]=X.useState(s[1]!==void 0?String(s[1]):"");return T(de,{children:Fe(F,{flexDirection:"row",gap:"xs",alignItems:"center",children:[T(j,{type:"number",placeholder:a,value:d,onChange:k=>{let R=k.target.value;f(R),m([R===""?void 0:Number(R),c===""?void 0:Number(c)])}}),T(P,{variant:"meta",text:"\u2014"}),T(j,{type:"number",placeholder:l,value:c,onChange:k=>{let R=k.target.value;N(R),m([d===""?void 0:Number(d),R===""?void 0:Number(R)])}})]})})},"RangeFilter"),$t=i(({column:e,labels:o})=>{var s,m;let t=(s=e.getFilterValue())!=null?s:"",[n,a]=X.useState(t),l=nt(d=>{e.setFilterValue(d||void 0)},200);return T(de,{children:T(j,{placeholder:(m=o==null?void 0:o.filterPlaceholder)!=null?m:"Filtrar...",value:n,onChange:d=>{let f=d.target.value;a(f),l(f)}})})},"TextFilter"),ot=i((e,o,t,n)=>{switch(e){case"select":return T(Wt,{column:o,onClose:t,labels:n});case"range":return T(Ot,{column:o,onClose:t,labels:n});case"text":return T($t,{column:o,onClose:t,labels:n})}},"filterUIForVariant");import V,{forwardRef as Ut}from"react";import{Fragment as _t,jsx as b,jsxs as pe}from"react/jsx-runtime";var at=Ut((e,o)=>b(Je,{...e,ref:o})),it=i(e=>e==="asc"?Ge:e==="desc"?_e:Be,"getSortIcon"),rt=V.forwardRef(({indeterminate:e,children:o,...t},n)=>{let a=V.useRef(null),l=n||a;return V.useEffect(()=>{l.current&&(l.current.indeterminate=e!=null?e:!1)},[l,e]),pe(ce,{as:"label",children:[o,b(se,{type:"checkbox",ref:l,...t}),b(E,{})]})});function lt(e,o){return e?{id:"expand",size:o!=null?o:48,enableSorting:!1,enableResizing:!1,header:i(()=>null,"header"),cell:i(({row:n})=>n.getCanExpand()?b(I,{icon:n.getIsExpanded()?We:Oe,onClick:n.getToggleExpandedHandler(),style:{cursor:"pointer",marginLeft:`${n.depth*16}px`}}):b("span",{style:{display:"inline-block",marginLeft:`${n.depth*16}px`}}),"cell"),meta:{selectable:!1,align:void 0}}:null}i(lt,"buildExpandColumnDef");function st(e,o){return e?{id:"checkbox",size:o!=null?o:64,enableSorting:!1,enableResizing:!1,header:i(({table:n})=>b(rt,{checked:n.getIsAllRowsSelected(),indeterminate:n.getIsSomeRowsSelected(),onChange:n.getToggleAllRowsSelectedHandler(),"aria-label":Se(e)?void 0:"Select all rows",children:Se(e)?e:void 0}),"header"),cell:i(({row:n})=>{var a,l;return b(rt,{checked:n.getIsSelected(),indeterminate:(l=(a=n.getIsSomeSelected)==null?void 0:a.call(n))!=null?l:!1,onChange:n.getToggleSelectedHandler(),"aria-label":"Select row"})},"cell"),meta:{selectable:!1,align:void 0}}:null}i(st,"buildSelectableColumnDef");function Bt(e,o){let t=V.useRef(null);return V.useCallback((...n)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(()=>e(...n),o)},[e,o])}i(Bt,"useDebounce");var ct=i(({globalFilter:e,setGlobalFilter:o,placeholder:t})=>{let[n,a]=V.useState(e),l=Bt(s=>{o(s||"")},200);return b(j,{clearable:!0,width:"250px",size:"compact",reset:()=>{a(""),l("")},value:n||"",onChange:s=>{a(s.target.value),l(s.target.value)},placeholder:t,"aria-label":t!=null?t:"Search",icon:b(I,{icon:Ue})})},"GlobalFilter"),dt=i(({height:e,emptyIcon:o,emptyTitle:t="Nada foi encontrado",emptyDescription:n})=>b(Qe,{style:{height:e},children:pe(F,{gap:"medium",justifyContent:"center",alignItems:"center",width:"80%",style:{height:e},children:[o,b(P,{textAlign:"center",variant:"h5",text:t}),n&&b(P,{textAlign:"center",variant:"p",text:n})]})}),"EmptyTable");function ue(e,o,t){let[n,a]=V.useState(t),l=e!==void 0,s=l?e:n,m=V.useCallback(d=>{let f=typeof d=="function"?d(s):d;l||a(f),o==null||o(f)},[l,o,s]);return[s,m]}i(ue,"useHybridState");var pt=i(({pageIndex:e,pageSize:o,pageCount:t,rowCount:n,canPreviousPage:a,canNextPage:l,pageSizeOptions:s,onPrevious:m,onNext:d,onPageSizeChange:f,labels:c})=>{var U,B,H,Y,ne;let N=n===0?0:e*o+1,O=Math.min((e+1)*o,n),$=(U=c==null?void 0:c.showingRange)!=null?U:((y,M,me)=>`Mostrando ${y}-${M} de ${me}`),k=(B=c==null?void 0:c.perPageOption)!=null?B:(y=>`${y} por p\xE1gina`),R=(H=c==null?void 0:c.perPageTrigger)!=null?H:(y=>`${y} / p\xE1gina`);return pe(_t,{children:[b(P,{variant:"meta",text:$(N,O,n)}),pe(F,{flexDirection:"row",gap:"small",alignItems:"center",children:[s.length>1&&b(ee,{position:"right",options:s.map(y=>({title:k(y),action:i(()=>f(y),"action")})),children:b(le,{variant:"linked",size:"small",text:R(o)})}),b(le,{variant:"linked",size:"small",disabled:!a,onClick:m,text:(Y=c==null?void 0:c.previous)!=null?Y:"Anterior"}),b(P,{variant:"meta",text:`${e+1} / ${Math.max(t,1)}`}),b(le,{variant:"linked",size:"small",disabled:!l,onClick:d,text:(ne=c==null?void 0:c.next)!=null?ne:"Pr\xF3ximo"})]})]})},"PaginationControls");var Gt=(a=>(a.primary="primary",a.success="success",a.alert="warning",a.error="danger",a))(Gt||{}),jt=(n=>(n.left="flex-start",n.center="center",n.right="flex-end",n))(jt||{});var te={minWidth:30,width:150,maxWidth:400};import{flexRender as ge,getCoreRowModel as ut,getExpandedRowModel as gt,getFacetedMinMaxValues as mt,getFacetedRowModel as ft,getFacetedUniqueValues as bt,getFilteredRowModel as xt,getPaginationRowModel as Ct,getSortedRowModel as ht,useReactTable as Rt}from"@tanstack/react-table";import{useVirtualizer as wt}from"@tanstack/react-virtual";import{Fragment as Xt,jsx as p,jsxs as L}from"react/jsx-runtime";function qt(e,o){return e.map(t=>{var l,s,m,d,f;let n=t.accessor?String(t.accessor):void 0,a={id:(l=t.id)!=null?l:n||void 0,header:i(()=>t.Header,"header"),footer:t.Footer?c=>t.Footer({table:c.table}):void 0,enableSorting:!t.disableSortBy,enableResizing:!0,enableColumnFilter:t.disableFilters?!1:!!t.filterVariant,...t.filterVariant&&{filterFn:(s=t.filterFn)!=null?s:tt[t.filterVariant]},size:(m=t.width)!=null?m:o.width,minSize:(d=t.minWidth)!=null?d:o.minWidth,maxSize:(f=t.maxWidth)!=null?f:o.maxWidth,meta:{align:t.align,selectable:t.selectable,filterVariant:t.filterVariant}};return n?a.accessorKey=n:a.accessorFn=()=>null,t.Cell&&(a.cell=c=>t.Cell({row:c.row,value:c.getValue()})),a})}i(qt,"toTanstackColumns");function qn(e){var Ve,Le,Ne;let{data:o,columns:t,onRowSelect:n,onRowClick:a,selectableColumnWidth:l,selectableColumn:s,setRowColor:m,title:d,striped:f,bordered:c,searchPlaceholder:N,hasHeader:O,hasFooter:$,hasSpacingMenu:k,inputSearchComponent:R,headerLeftComponent:U=null,headerRightComponent:B=null,lastRowComponent:H,height:Y=400,spacing:ne=0,paginated:y=!1,initialPagination:M,pagination:me,onPaginationChange:yt,pageSizeOptions:Pe=[10,25,50,100],getSubRows:ke,expandedColumnWidth:oe,initialExpanded:fe,expanded:Tt,onExpandedChange:St,initialColumnFilters:be,columnFilters:Ft,onColumnFiltersChange:Pt,labels:K}=e,A=!!ke,xe=S.useMemo(()=>t.some(r=>r.filterVariant&&!r.disableFilters),[t]),[kt,Ce]=S.useState(48),[vt,It]=S.useState([]),[ve,Ie]=S.useState(""),[he,Mt]=S.useState({}),[Re,Dt]=ue(me,yt,()=>{var r,g,u;return{pageIndex:(r=M==null?void 0:M.pageIndex)!=null?r:0,pageSize:(u=(g=M==null?void 0:M.pageSize)!=null?g:Pe[0])!=null?u:10}}),[Et,zt]=ue(Tt,St,()=>fe!=null?fe:{}),[Vt,Lt]=ue(Ft,Pt,()=>be!=null?be:[]),Nt=S.useMemo(()=>{let r=qt(t,te),g=st(s,l),u=lt(A,oe!=null?oe:l),w=[];return u&&w.push(u),g&&w.push(g),[...w,...r]},[t,s,l,A,oe]),v=Rt({data:o,columns:Nt,state:{sorting:vt,globalFilter:ve,rowSelection:he,...y&&{pagination:Re},...A&&{expanded:Et},...xe&&{columnFilters:Vt}},enableRowSelection:!!s,enableExpanding:A,...A&&{getSubRows:ke},onSortingChange:It,onGlobalFilterChange:Ie,onRowSelectionChange:Mt,...y&&{onPaginationChange:Dt},...A&&{onExpandedChange:zt},...xe&&{onColumnFiltersChange:Lt},getCoreRowModel:ut(),getSortedRowModel:ht(),getFilteredRowModel:xt(),...y&&{getPaginationRowModel:Ct()},...A&&{getExpandedRowModel:gt()},...xe&&{getFacetedRowModel:ft(),getFacetedUniqueValues:bt(),getFacetedMinMaxValues:mt()},columnResizeMode:"onChange",defaultColumn:{size:te.width,minSize:te.minWidth,maxSize:te.maxWidth}}),J=v.getRowModel().rows;Ae(()=>{if(n){let r=J.filter(g=>he[g.id]).map(g=>g.original);n(r)}},[he]);let W=He(),we=J.length+(H?1:0),Me=S.useCallback((r,g)=>{let u=m&&m(r),w=f&&g%2===0,x=W.colors.surface.paper;return u?x=W.colors[u].light:r.getIsSelected()&&n?x=W.colors.muted:w&&(x=W.colors.surface.sunken),{backgroundColor:x}},[m,f,W,n]),re=kt+ne,ae=S.useCallback(({align:r="flex-start",cellProps:g={},header:u,hasCheckbox:w,selectable:x})=>Object.assign(g,{title:void 0,style:{height:re,overflow:"hidden",display:"flex",alignItems:u?"flex-end":"center",justifyContent:r,paddingLeft:w?W.spacing("small"):void 0,cursor:x?"pointer":void 0}}),[re,W]),Ht=S.useCallback(({index:r,style:g})=>{if(H&&r===we-1)return S.cloneElement(H,{style:g});let u=J[r],w={...g,...Me(u,r)};return p(z,{style:w,children:u.getVisibleCells().map(x=>{var D;let _=(D=x.column.columnDef.meta)!=null?D:{},Te=x.column.id,G;a?G=i(()=>a(u.original),"onClickAction"):n&&(G=i(()=>u.toggleSelected(),"onClickAction"));let Q=ae({align:_.align,hasCheckbox:Te==="checkbox",selectable:(n||a)&&_.selectable!==!1,cellProps:_.selectable!==!1?{onClick:G}:void 0});return p(q,{...Q,style:{...Q.style,width:x.column.getSize(),flex:`${x.column.getSize()} 0 auto`},children:ge(x.column.columnDef.cell,x.getContext())},x.id)})})},[J,ae,H,a,n,Me,we]),ye=!!J.length,At=$&&ye&&t.some(r=>"Footer"in r),De=S.useRef(null),ie=wt({count:we,getScrollElement:i(()=>De.current,"getScrollElement"),estimateSize:i(()=>re,"estimateSize"),overscan:5});S.useEffect(()=>{ie.measure()},[re,ie]);let Ee=L(Ye,{ref:De,role:"region","aria-label":(Le=(Ve=K==null?void 0:K.scrollRegion)!=null?Ve:d)!=null?Le:"Tabela",tabIndex:0,style:{maxHeight:Y},bgColor:"baseLight","data-border":c,"data-default":!f&&!c,children:[p(Xe,{children:v.getFlatHeaders().map(r=>{var Q;let g=(Q=r.column.columnDef.meta)!=null?Q:{},u=r.column.getCanSort(),w=r.column.getCanResize(),x=r.column.getIsSorted(),_=!!g.filterVariant&&r.column.getCanFilter(),Te=r.column.getIsFiltered(),G=ae({align:g.align,header:!0,hasCheckbox:r.column.id==="checkbox"});return L(q,{...G,style:{...G.style,width:r.getSize(),flex:`${r.getSize()} 0 auto`,cursor:u?"pointer":void 0,position:"relative"},onClick:u?r.column.getToggleSortingHandler():void 0,children:[r.isPlaceholder?null:ge(r.column.columnDef.header,r.getContext()),(_||u)&&L(et,{children:[_&&p("span",{role:"presentation",onClick:D=>D.stopPropagation(),children:p(ee,{content:({close:D})=>ot(g.filterVariant,r.column,D,K),children:p(I,{icon:$e,color:Te?"primary.action":"ink.disabled",style:{cursor:"pointer"},role:"button",tabIndex:0,"aria-label":"Filter column"})})}),u&&p(Ke,{children:p(I,{icon:it(x)})})]}),w&&p(at,{onMouseDown:r.getResizeHandler(),onTouchStart:r.getResizeHandler(),onClick:D=>D.stopPropagation()})]},r.id)})}),ye?p(qe,{style:{height:ie.getTotalSize(),position:"relative",minWidth:"max-content"},children:ie.getVirtualItems().map(r=>p(h,{style:{position:"absolute",top:0,left:0,width:"100%",height:r.size,transform:`translateY(${r.start}px)`},children:Ht({index:r.index,style:{}})},r.key))}):p(dt,{...e,height:Y}),At&&p(h,{children:p(je,{children:(Ne=v.getFooterGroups()[0])==null?void 0:Ne.headers.map(r=>{var w;let g=(w=r.column.columnDef.meta)!=null?w:{},u=ae({align:g.align});return p(q,{...u,style:{...u.style,width:r.getSize(),flex:`${r.getSize()} 0 auto`},children:r.isPlaceholder?null:ge(r.column.columnDef.footer,r.getContext())},r.id)})})})]}),ze=y&&ye&&p(Ze,{children:p(pt,{pageIndex:Re.pageIndex,pageSize:Re.pageSize,pageCount:v.getPageCount(),rowCount:v.getFilteredRowModel().rows.length,canPreviousPage:v.getCanPreviousPage(),canNextPage:v.getCanNextPage(),pageSizeOptions:Pe,onPrevious:()=>v.previousPage(),onNext:()=>v.nextPage(),onPageSizeChange:r=>v.setPageSize(r),labels:K})});return O?L(F,{gap:"medium",children:[L(F,{flexDirection:"row",alignItems:"center",justifyContent:"between",children:[L(F,{flexDirection:"row",gap:"medium",children:[d&&p(P,{variant:"h5",color:"primary.dark",text:d}),U]}),L(F,{flexDirection:"row",gap:"medium",children:[R!=null?R:p(ct,{globalFilter:ve,setGlobalFilter:Ie,placeholder:N}),B,k?p(F,{alignSelf:"center",children:p(ee,{position:"right",options:[{icon:p(I,{icon:Z}),title:"Layout Compacto",action:i(()=>Ce(32),"action")},{icon:p(I,{icon:Z}),title:"Layout Padr\xE3o",action:i(()=>Ce(48),"action")},{icon:p(I,{icon:Z}),title:"Layout Expandido",action:i(()=>Ce(64),"action")}],children:p(I,{size:5,icon:Z,color:"primary.action",style:{alignSelf:"center",cursor:"pointer"}})})}):null]})]}),Ee,ze]}):L(Xt,{children:[Ee,ze]})}i(qn,"DataTable");export{Gt as a,jt as b,qn as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k}from"./chunk-43YSWDK6.esm.js";import{h as f}from"./chunk-
|
|
1
|
+
import{a as k}from"./chunk-43YSWDK6.esm.js";import{h as f}from"./chunk-T2DH7STP.esm.js";import{q as c}from"./chunk-6G22RNUO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import{useEffect as h,useMemo as I,useState as v}from"react";import{jsx as g}from"react/jsx-runtime";function i(M){let{mask:u,value:e,onChange:t,...d}=M,a=I(()=>c(u),[u]),[C,s]=v(()=>e?a(e):"");h(()=>{s(n=>{let r=e?a(e):"";return r!==n?r:n})},[e,a]);let m=I(()=>k(t!=null?t:(()=>{}),250),[t]);return g(f,{...d,reset:o(()=>{s(""),m("")},"resetValues"),value:C,onChange:o((n,r)=>{var l;let p=a((l=n.target.value)!=null?l:"");s(p),m(p)},"handleChange")})}o(i,"InputMaskComponent");i.displayName="InputMask";export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b as P}from"./chunk-ZDB7ECI3.esm.js";import{a as p,b as f}from"./chunk-P3XOIBAC.esm.js";import{
|
|
1
|
+
import{a,b as P}from"./chunk-ZDB7ECI3.esm.js";import{a as p,b as f}from"./chunk-P3XOIBAC.esm.js";import{ja as g,o as T}from"./chunk-TVJXEJLN.esm.js";import{a as v}from"./chunk-IZHCHFTU.esm.js";import{d as C}from"./chunk-3PLVWHLK.esm.js";import{b as y}from"./chunk-ODL5JUYM.esm.js";import{b as u}from"./chunk-C7U4X56I.esm.js";import{a as S}from"./chunk-EJ245MA7.esm.js";import{j as x}from"./chunk-REPFMEFA.esm.js";import{b as l,f as w,g as I}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";function N(){return l(["color:var(--dark-color);border-color:var(--border-color);"," &:focus,&:hover{","}&:focus-visible{outline:2px solid var(--base-color);outline-offset:2px;}&:focus + ","{color:var(--base-color);}"],u({deep:-1}),u({deep:0}),p)}s(N,"inputVariantStyle");var $=l(["&::placeholder{color:",";}&:disabled{&::placeholder{color:var(--disabled-color);}}"],({theme:o})=>o.colors.ink.muted),L=l(["&:disabled,&:read-only{border:1px solid var(--disabled-bg);background-color:var(--disabled-bg);color:var(--disabled-color);}&:read-only{","}"],u({deep:0}));function j({theme:o,$variantExplicit:r}){var e,i,n;if(r)return null;let t=(n=(i=(e=o.colors.danger)==null?void 0:e.base)!=null?i:o.colors.baseDark)!=null?n:"#000";return l(["&:user-invalid{border-color:",";}"],t)}s(j,"userInvalidBorderStyle");function q({iconPosition:o}){return o==="left"?l(["& ~ ",",& ~ ","{left:1em;right:unset;}"],a,p):null}s(q,"invertIconPosition");var G=l(["&:disabled ~ ","{color:var(--disabled-color);}&:disabled ~ ","{pointer-events:none;","}& ~ ","{width:intrinsic;","}& ~ ",",& ~ ","{color:var(--icon-color);z-index:1;position:absolute;align-self:center;right:1em;& > g{fill:var(--icon-color);}}"],p,a,y(()=>({bgColor:"wash.hover"})),a,y(()=>({bgColor:"wash.pressed"})),a,p),B=I(C.input).attrs(o=>({fontFamily:"main",lineHeight:"tight",bgColor:"surface.paper",borderWidth:"thin",borderStyle:"solid",px:"small",...o})).withConfig({componentId:"sc-8elel8-0"})(["-webkit-appearance:none;display:block;width:100%;outline:none;transition:",";"," "," ",";",";",";",";&[type='date']::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;opacity:0;}&[type='number']::-webkit-outer-spin-button,&[type='number']::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;}"],({theme:o})=>o.animation.transitions.short,N,j,G,q,L,$),h=I(v).withConfig({componentId:"sc-8elel8-1"})(({theme:o,variant:r})=>{let t=o.colors.primary;r==="error"?t=o.colors.danger:r==="success"&&(t=o.colors.success);let{base:e,dark:i}=t;return{display:"flex",position:"relative",isolation:"isolate","--base-color":e,"--dark-color":r==="default"?o.colors.ink.primary:S(o,n=>{var c,d;return x((d=(c=n.colors[r==="error"?"danger":"success"])==null?void 0:c.dark)!=null?d:n.colors.ink.primary,n.colors.surface.paper)}),"--disabled-bg":o.colors.disabled.fill,"--disabled-color":o.colors.disabled.color,"--icon-color":r==="default"?o.colors.ink.muted:e,"--border-color":r==="default"?o.colors.edge.border:e}});h.displayName="input";import{forwardRef as J}from"react";import{jsx as m}from"react/jsx-runtime";function W({icon:o,variant:r,clearable:t,reset:e,value:i,readOnly:n}){return t&&e&&i&&!n?m(P,{p:"micro",type:"button",borderWidth:"none",variant:"linked",onClick:e,"data-testid":"input-reset-button",icon:m(f,{size:"small",color:"grayscale.0",icon:g})}):o||(r==="error"?m(f,{icon:g,"data-testid":"input-icon-error"}):r==="success"?m(f,{icon:T,"data-testid":"input-icon-success"}):null)}s(W,"getIconComponent");import{jsx as K,jsxs as O}from"react/jsx-runtime";var D=J(({value:o,variant:r,iconPosition:t="right",size:e="medium",...i},n)=>{let{disabled:c,width:d,style:E,area:F,alignSelf:z,justifySelf:A,...R}=i,V=w(),H=r!==void 0,b=r!=null?r:"default",k=W({...i,value:o,variant:b,size:e,iconPosition:t}),M={...V.component.input.size[e],...k&&{[t==="right"?"pr":"pl"]:"xl"}};return O(h,{variant:b,width:d,flexDirection:"row",area:F,alignSelf:z,justifySelf:A,children:[K(B,{iconPosition:t,disabled:c,variant:b,$variantExplicit:H,...M,...R,...o!==void 0&&{value:o},style:E,ref:n}),k]})});D.displayName="Input";export{N as a,$ as b,L as c,j as d,q as e,B as f,h as g,D as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a={viewBox:"0 0 16 16",paths:[{d:"M15.8 13c.5 1-.1 2-1.1 2H1.3c-1 0-1.6-1.1-1.1-2L6.8 1.7c.6-1 1.8-1 2.4 0L15.8 13zM8 10.7c-.7 0-1.3.5-1.3 1.2s.6 1.3 1.3 1.3c.7 0 1.3-.6 1.3-1.3 0-.7-.6-1.2-1.3-1.2zM6.8 6.2L7 9.9c0 .2.1.3.3.3h1.4c.2 0 .3-.1.3-.3l.2-3.7c0-.2-.1-.4-.3-.4H7c-.2 0-.3.2-.3.4z"}]};var o={viewBox:"0 0 16 16",paths:[{d:"M14.5 4.6h-13l-.4.1-.1.4v1.2l.1.4.4.2h13l.4-.2.1-.4V5l-.1-.4-.4-.1zm0 9.1h-13c-.1 0-.3 0-.4.2l-.1.4v1.1l.1.4.4.2h13c.1 0 .3 0 .4-.2l.1-.4v-1.1l-.1-.4-.4-.2zM4.4 2.3h7.4v-.1L12 2V.4a.5.5 0 00-.1-.3h-.1l-.2-.1H4.4h-.2v.1L4 .3v1.6l.1.3h.3zm7.2 9.1h.2v-.1l.2-.1V9.6l-.1-.3-.3-.2H4.4h-.2v.2l-.2.1V11.2l.1.1.1.1h7.4z"}]};var t={viewBox:"0 0 16 16",paths:[{d:"M15.4 13.7H.6a.6.6 0 00-.6.6v1.1a.6.6 0 00.6.6h14.8a.6.6 0 00.6-.6v-1.1a.6.6 0 00-.6-.6zm0-4.6H.6a.6.6 0 00-.6.6V11a.6.6 0 00.6.5h14.8a.6.6 0 00.6-.5V9.7a.6.6 0 00-.6-.6zm0-4.5H.6A.6.6 0 000 5v1.2a.6.6 0 00.6.6h14.8a.6.6 0 00.6-.6V5a.6.6 0 00-.6-.5zm0-4.6H.6a.6.6 0 00-.6.6v1.1a.6.6 0 00.6.6h14.8a.6.6 0 00.6-.6V.6a.6.6 0 00-.6-.6z"}]};var c={viewBox:"0 0 16 16",paths:[{d:"M.5 11.4h9.3a.5.5 0 00.5-.4V9.6a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5V11a.5.5 0 00.5.4zm0-9.1h9.3a.5.5 0 00.5-.5V.5a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v1.3a.5.5 0 00.5.5zm15 2.3H.4A.6.6 0 000 5v1.2a.6.6 0 00.6.6h14.8a.6.6 0 00.6-.6V5a.6.6 0 00-.6-.5zm0 9.1H.4a.6.6 0 00-.5.6v1.1a.6.6 0 00.6.6h14.8a.6.6 0 00.6-.6v-1.1a.6.6 0 00-.6-.6z"}]};var e={viewBox:"0 0 16 16",paths:[{d:"M.6 6.9h14.8a.6.6 0 00.6-.6V5a.6.6 0 00-.6-.5H.6A.6.6 0 000 5v1.2a.6.6 0 00.6.6zm14.8 6.8H.6a.6.6 0 00-.6.6v1.1a.6.6 0 00.6.6h14.8a.6.6 0 00.6-.6v-1.1a.6.6 0 00-.6-.6zM15.5 0H6.2a.5.5 0 00-.5.5v1.3a.5.5 0 00.5.5h9.3a.5.5 0 00.5-.5V.5a.5.5 0 00-.5-.5zm0 9.1H6.2a.5.5 0 00-.5.5V11a.5.5 0 00.5.4h9.3a.5.5 0 00.5-.4V9.6a.5.5 0 00-.5-.5z"}]};var r={viewBox:"0 0 512 512",paths:[{d:"M504 256a248 248 0 11-496 0 248 248 0 01496 0zm-143.6-28.9L288 302.6V120a24 24 0 00-24-24h-16a24 24 0 00-24 24v182.6l-72.4-75.5a24 24 0 00-34.3-.4l-10.9 11a23.9 23.9 0 000 33.9L239 404.3a23.9 23.9 0 0033.9 0l132.7-132.7a23.9 23.9 0 000-33.9l-10.9-11a24 24 0 00-34.3.4z"}]};var n={viewBox:"0 0 512 512",paths:[{d:"M256 504a248 248 0 110-496 248 248 0 010 496zm28.9-143.6L209.4 288H392a24 24 0 0024-24v-16a24 24 0 00-24-24H209.4l75.5-72.4a24 24 0 00.4-34.3l-11-10.9a23.9 23.9 0 00-33.9 0L107.7 239a23.9 23.9 0 000 33.9l132.7 132.7a23.9 23.9 0 0033.9 0l11-10.9a24 24 0 00-.4-34.3z"}]};var p={viewBox:"0 0 512 512",paths:[{d:"M256 8a248 248 0 110 496 248 248 0 010-496zm-28.9 143.6l75.5 72.4H120a24 24 0 00-24 24v16a24 24 0 0024 24h182.6l-75.5 72.4a24 24 0 00-.4 34.3l11 10.9a23.9 23.9 0 0033.9 0L404.3 273a23.9 23.9 0 000-33.9L271.6 106.3a23.9 23.9 0 00-33.9 0l-11 10.9a24.1 24.1 0 00.4 34.4z"}]};var i={viewBox:"0 0 512 512",paths:[{d:"M8 256a248 248 0 11496 0 248 248 0 01-496 0zm143.6 28.9l72.4-75.5V392a24 24 0 0024 24h16a24 24 0 0024-24V209.4l72.4 75.5a24 24 0 0034.3.4l10.9-11a23.9 23.9 0 000-33.9L273 107.7a23.9 23.9 0 00-33.9 0L106.3 240.4a23.9 23.9 0 000 33.9l10.9 11a24.1 24.1 0 0034.4-.4z"}]};var m={viewBox:"0 0 16 16",paths:[{d:"M9.2 15l-.8.7c-.3.4-.9.4-1.2 0l-7-7a.9.9 0 010-1.3l7-7.1c.3-.4.9-.4 1.2 0l.8.8c.3.3.3.9 0 1.2L4.9 6.5H15c.5 0 .9.4.9 1v1c0 .6-.4 1-.9 1H5l4.3 4.2c.3.3.3.9 0 1.2z"}]};var l={viewBox:"0 0 16 16",paths:[{d:"M6.8 1l.8-.7c.3-.4.9-.4 1.2 0l7 7c.3.4.3 1 0 1.3l-7 7.1c-.3.4-.9.4-1.2 0l-.8-.8a.9.9 0 010-1.2l4.3-4.2H1a.9.9 0 01-.9-1v-1c0-.6.4-1 .9-1H11L6.8 2.3a.9.9 0 010-1.2z"}]};var h={viewBox:"0 0 16 16",paths:[{d:"M11 13.5c0 1.4-1.3 2.5-3 2.5s-3-1.1-3-2.5S6.3 11 8 11s3 1.1 3 2.5zM5.3.8L6 9.3c0 .4.4.7.9.7h2.4c.5 0 1-.3 1-.7l.5-8.5c0-.4-.4-.8-1-.8H6.3c-.5 0-.9.4-.9.8z"}]};var f={viewBox:"0 0 16 16",paths:[{d:"M8 .3a7.8 7.8 0 100 15.5A7.8 7.8 0 008 .2zm4 3.6c2.1 2 2.3 5.2.7 7.4l-8-8a5.8 5.8 0 017.4.6zm-8 8.2c-2.1-2-2.3-5.2-.7-7.4l8 8a5.8 5.8 0 01-7.4-.6z"}]};var s={viewBox:"0 0 16 16",paths:[{fillRule:"evenodd",clipRule:"evenodd",d:"M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"},{d:"M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}]};var x={viewBox:"0 0 512 512",paths:[{d:"M173.9 439.4L7.5 273c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0l112.1 112 240.1-240c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2L210.1 439.4c-10 10-26.2 10-36.2 0z"}]};var v={viewBox:"0 0 448 512",paths:[{d:"M207 381.5L12.7 187a24 24 0 010-34l22.7-22.6a24 24 0 0133.9 0l154.7 154 154.7-154a24 24 0 0134 0l22.6 22.7a24 24 0 010 34L241 381.4a24 24 0 01-34 0z"}]};var z={viewBox:"0 0 320 512",paths:[{d:"M34.5 239L229 44.7a24 24 0 0134 0l22.6 22.7a24 24 0 010 33.9L131.5 256l154 154.8a24 24 0 010 33.8l-22.7 22.7a24 24 0 01-34 0L34.6 273a24 24 0 010-34z"}]};var D={viewBox:"0 0 320 512",paths:[{d:"M285.5 273L91 467.3a24 24 0 01-34 0l-22.6-22.7a24 24 0 010-33.9l154-154.7-154-154.7a24 24 0 010-34l22.7-22.6a24 24 0 0134 0L285.4 239a24 24 0 010 34z"}]};var I={viewBox:"0 0 448 512",paths:[{d:"M241 130.5L435.3 325a24 24 0 010 34l-22.7 22.6a24 24 0 01-33.9 0L224 227.5l-154.7 154a24 24 0 01-34 0l-22.6-22.7a24 24 0 010-34L207 130.6a24 24 0 0134 0z"}]};var M={viewBox:"0 0 512 512",paths:[{d:"M256 8a248 248 0 100 496 248 248 0 000-496zm92.5 313l-20 25a16 16 0 01-22.5 2.5l-67-49.7a40 40 0 01-15-31.3V112a16 16 0 0116-16h32a16 16 0 0116 16v144l58 42.5a16 16 0 012.5 22.5z"}]};var d={viewBox:"0 0 512 512",paths:[{d:"M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6a12 12 0 005.5-14 249 249 0 00-54.7-94.6 12 12 0 00-14.8-2.3L380.8 110A188.7 188.7 0 00320 74.9V25.8a12 12 0 00-9.4-11.7 251.4 251.4 0 00-109.2 0 12 12 0 00-9.4 11.7V75a194.7 194.7 0 00-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3a247.6 247.6 0 00-54.7 94.6 12 12 0 005.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6a12 12 0 00-5.5 14 249 249 0 0054.7 94.6 12 12 0 0014.8 2.3l42.6-24.6a188.7 188.7 0 0060.8 35.1v49.2a12 12 0 009.4 11.7c36.7 8.2 74.3 7.8 109.2 0a12 12 0 009.4-11.7v-49.2a194.7 194.7 0 0060.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3a247.6 247.6 0 0054.7-94.6c1.5-5.5-.7-11.3-5.6-14.1zM256 336a80.1 80.1 0 010-160 80.1 80.1 0 010 160z"}]};var L={viewBox:"0 0 512 512",paths:[{d:"M53.3 85.3H458.7V362.7H53.3ZM87.5 119.5V328.5H424.5V119.5Z",fillRule:"evenodd",clipRule:"evenodd"},{d:"M221.9 362.7H290.1V413.9H221.9ZM160 413.9H352V448H160Z"}]};var w={viewBox:"0 0 576 512",paths:[{d:"M402.6 83.2l90.2 90.2a9.8 9.8 0 010 13.8L274.4 405.6l-92.8 10.3a19.4 19.4 0 01-21.5-21.5l10.3-92.8L388.8 83.2a9.8 9.8 0 0113.8 0zm162-22.9l-48.8-48.8a39.1 39.1 0 00-55.2 0l-35.4 35.4a9.8 9.8 0 000 13.8l90.2 90.2a9.8 9.8 0 0013.8 0l35.4-35.4a39.1 39.1 0 000-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40a12 12 0 00-8.5-20.5H48a48 48 0 00-48 48v352a48 48 0 0048 48h352a48 48 0 0048-48V306.2a12 12 0 00-20.5-8.5l-40 40a12.3 12.3 0 00-3.5 8.5z"}]};var H={viewBox:"0 0 16 4",paths:[{d:"M2 4a2 2 0 100-4 2 2 0 000 4zM8 4a2 2 0 100-4 2 2 0 000 4zM14 4a2 2 0 100-4 2 2 0 000 4z"}]};var y={viewBox:"0 0 16 16",paths:[{d:"M8 0a8 8 0 100 16A8 8 0 008 0zM4.4 7.5c0-.3.1-.6.3-.8l-1-.3a.5.5 0 01-.3-.6c0-.3.3-.4.6-.4l2.6.8c.3.1.4.4.3.7 0 .2-.2.3-.4.3h-.1v.3c0 .6-.4 1-1 1a1 1 0 01-1-1zm5.4 5c-.9-1.1-2.7-1.1-3.6 0-.4.5-1.2-.2-.8-.7a3.4 3.4 0 015.2 0c.4.5-.4 1.2-.8.7zm2.5-6l-1 .2a1 1 0 01-.7 1.8 1 1 0 01-1-1v-.3a.5.5 0 01-.2-1l2.6-.8c.3 0 .5.1.6.4.1.3 0 .5-.3.6z"}]};var B={viewBox:"0 0 16 16",paths:[{d:"M14.5 4c.8 0 1.5-.6 1.5-1.4 0-.7-.9-2-1.3-2.5a.3.3 0 00-.4 0C13.9.7 13 1.9 13 2.6c0 .8.6 1.5 1.5 1.5zm0 1a2.5 2.5 0 01-2.6-2.4c0-.2 0-.5.3-1A7.8 7.8 0 000 8 7.9 7.9 0 1015.1 5h-.6zm-4-.2c.7 0 1.6 1 1.7 2.3 0 .3-.4.4-.5.1l-.3-.5c-.2-.4-.6-.7-1-.7s-.7.3-1 .7l-.3.5c-.1.3-.5.2-.5-.1.1-1.3 1-2.3 1.8-2.3zm-5.2 0c.8 0 1.7 1 1.8 2.3 0 .3-.3.4-.5.1l-.3-.5c-.2-.4-.6-.7-1-.7s-.7.3-1 .7l-.3.5c-.1.3-.5.2-.4-.1 0-1.3 1-2.3 1.7-2.3zm2.6 9c-2 0-4.3-1.3-4.6-3 0-.4.3-.7.7-.6 1 .3 2.3.5 3.9.5 1.5 0 3-.2 3.9-.5.3-.1.7.2.6.6-.3 1.7-2.6 3-4.5 3z"}]};var V={viewBox:"0 0 16 16",paths:[{d:"M8 0a8 8 0 100 16A8 8 0 008 0zm2.6 5.4a1 1 0 110 2 1 1 0 010-2zm-5.7 7.8c-.9 0-1.5-.7-1.5-1.6 0-.6.9-1.9 1.3-2.5.1-.1.3-.1.4 0 .4.6 1.4 1.9 1.4 2.5 0 .9-.7 1.6-1.6 1.6zm.5-5.7a1 1 0 110-2 1 1 0 010 2zm5.5 5A3.8 3.8 0 008 11c-.7 0-.7-1 0-1 1.4 0 2.8.6 3.7 1.7.4.5-.4 1.2-.8.7z"}]};var u={viewBox:"0 0 16 16",paths:[{d:"M12.8 3.5c.7-.1 2.3-.4 2.8-.8.6-.6.5-1.6 0-2.2-.7-.6-1.7-.7-2.3 0-.4.4-.7 2-.8 2.7 0 .2.1.3.3.3zm-9.6 9c-.7.1-2.3.4-2.8.8-.6.6-.5 1.6 0 2.2.7.6 1.7.7 2.3 0 .4-.4.7-2 .8-2.7 0-.2-.1-.3-.3-.3zm9.7-8c-1 .1-1.5-.8-1.4-1.4.1-.8.2-1.4.4-1.8A7.7 7.7 0 001.3 11.9c.4-.2 1-.3 1.8-.4 1-.1 1.5.8 1.4 1.4-.1.8-.2 1.4-.4 1.8A7.7 7.7 0 0014.7 4.1c-.4.2-1 .3-1.8.4zM8 3.3c.2-.4.8-.3.8 0L9 5l1.6.2c.4 0 .5.6 0 .7l-2.8.7a.4.4 0 01-.4-.5L8 3.3zm-2.8 7.2L5 9l-1.6-.2c-.5 0-.5-.6 0-.7L6 7.3c.3 0 .6.2.5.4l-.7 2.9c-.1.4-.7.3-.8 0zM12 12c-1 1-2.4 1.6-3.7 1.6-.5 0-1.1-.2-1.6-.5a.5.5 0 01.1-.8c.9-.5 2-1.4 3-2.4 1.1-1 2-2.2 2.5-3 .1-.4.6-.5.8-.1 1 1.4.2 3.9-1.1 5.2z"}]};var A={viewBox:"0 0 16 16",paths:[{d:"M7.1.6l-2 4-4.3.8c-.8 0-1 1-.5 1.7l3.2 3.2-.8 4.5c-.1.9.7 1.5 1.4 1l3.9-2 4 2c.6.5 1.4-.1 1.3-1l-.8-4.5L15.7 7c.6-.6.3-1.6-.5-1.7l-4.4-.7-2-4.1a1 1 0 00-1.7 0z"}]};var C={viewBox:"0 0 16 16",paths:[{d:"M8 0a8 8 0 100 16A8 8 0 008 0zm1 6.1l2.7-1.5c.3-.3.7.2.5.6L11 6.5l1 1.3c.3.3 0 .8-.4.5L9 6.8A.4.4 0 019 6zm-5.2-1c-.2-.3.2-.8.5-.5L7 6c.3.2.3.5 0 .7L4.3 8.3c-.3.3-.7-.2-.5-.5L5 6.5 4 5.2zm4.2 4c1.7 0 3.7 1.3 4 3.4 0 .4-.3.8-.6.6-.8-.3-2-.5-3.4-.5-1.3 0-2.6.2-3.4.5-.3.2-.6-.2-.6-.6.3-2 2.3-3.5 4-3.5z"}]};var g={viewBox:"0 0 16 16",paths:[{d:"M8 0a8 8 0 00-8 7.9c0 3.3 2.2 6.2 5.2 7.3a3 3 0 01-.3-1.2v-1.5c-.8-.5-1.4-1.2-1.5-2-.1-.4.3-.7.6-.6 1 .3 2.5.5 4 .5s3-.2 4-.5c.3 0 .7.2.6.6-.1.8-.7 1.5-1.5 2V14c0 .4-.1.9-.3 1.2 3-1 5.2-4 5.2-7.3A8 8 0 008 0zM5.4 7.4a1 1 0 01-1-1c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1zm5.2 0a1 1 0 01-1-1c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1zm-1.1 4.2c-.5-.2-1 .1-1.2.6v.2c0 .3-.5.3-.6 0v-.2a.8.8 0 00-1.2-.6L6 12v2a2 2 0 004.2 0v-2l-.6-.3z"}]};var S={viewBox:"0 0 16 16",paths:[{d:"M9.5 11.6c-.5-.2-1 .1-1.2.6v.2c0 .3-.5.3-.6 0v-.2a.8.8 0 00-1.2-.6L6 12v2a2 2 0 004.2 0v-2l-.6-.3zM8 0a8 8 0 00-8 7.9c0 3.3 2.2 6.2 5.2 7.3a3 3 0 01-.3-1.2v-1.5c-.8-.5-1.4-1.2-1.5-2-.1-.4.3-.7.6-.6 1 .3 2.5.5 4 .5s3-.2 4-.5c.3 0 .7.2.6.6-.1.8-.7 1.5-1.5 2V14c0 .4-.1.9-.3 1.2 3-1 5.2-4 5.2-7.3A8 8 0 008 0zM7 6.7L4.2 8.2c-.3.2-.7-.2-.5-.6L5 6.4 4 5c-.3-.4 0-.8.4-.6L7 6c.3.2.3.5 0 .7zm5.2 1c.2.3-.2.7-.5.5L9 6.7A.4.4 0 019 6l2.6-1.5c.3-.2.7.2.5.6L11 6.4l1 1.2z"}]};var j={viewBox:"0 0 16 12",paths:[{d:"M15.6969 3.9625C15.8187 3.86563 16 3.95625 16 4.10938V10.5C16 11.3281 15.3281 12 14.5 12H1.5C0.671875 12 0 11.3281 0 10.5V4.1125C0 3.95625 0.178125 3.86875 0.303125 3.96562C1.00312 4.50937 1.93125 5.2 5.11875 7.51562C5.77813 7.99687 6.89062 9.00938 8 9.00313C9.11563 9.0125 10.25 7.97813 10.8844 7.51562C14.0719 5.2 14.9969 4.50625 15.6969 3.9625ZM8 8C8.725 8.0125 9.76875 7.0875 10.2937 6.70625C14.4406 3.69688 14.7562 3.43437 15.7125 2.68437C15.8937 2.54375 16 2.325 16 2.09375V1.5C16 0.671875 15.3281 0 14.5 0H1.5C0.671875 0 0 0.671875 0 1.5V2.09375C0 2.325 0.10625 2.54062 0.2875 2.68437C1.24375 3.43125 1.55938 3.69688 5.70625 6.70625C6.23125 7.0875 7.275 8.0125 8 8"}]};var k={viewBox:"0 0 576 512",paths:[{d:"M572.5 241.4C518.3 135.6 411 64 288 64S57.7 135.6 3.5 241.4a32.4 32.4 0 000 29.2C57.7 376.4 165 448 288 448s230.3-71.6 284.5-177.4a32.4 32.4 0 000-29.2zM288 400a144 144 0 11144-144 144 144 0 01-144 144zm0-240a95.3 95.3 0 00-25.3 3.8 47.9 47.9 0 01-67 66.9A95.8 95.8 0 10288 160z"}]};var Z={viewBox:"0 0 640 512",paths:[{d:"M320 400a143.5 143.5 0 01-142.9-133.1l-104.9-81a333.3 333.3 0 00-36.7 55.5 32.4 32.4 0 000 29.2C89.7 376.4 197 448 320 448c27 0 52.9-4 77.9-10.5L346 397.4a144.1 144.1 0 01-26 2.6zm313.8 58.1l-110.5-85.4a331.3 331.3 0 0081.2-102.1 32.4 32.4 0 000-29.2C550.3 135.6 443 64 320 64a308.1 308.1 0 00-147.3 37.7L45.5 3.4A16 16 0 0023 6.2L3.4 31.5a16 16 0 002.8 22.4l588.3 454.7a16 16 0 0022.5-2.8l19.6-25.3a16 16 0 00-2.8-22.4zm-183.7-142l-39.3-30.4A94.8 94.8 0 00416 256a94.8 94.8 0 00-121.3-92.2A47.6 47.6 0 01304 192a46.6 46.6 0 01-1.5 10l-73.7-56.9A142.3 142.3 0 01320 112a144 144 0 01144 144c0 21.6-5.3 41.8-13.9 60.1z"}]};var R={viewBox:"0 0 384 512",paths:[{d:"M224 136V0H24A24 24 0 000 24v464a24 24 0 0024 24h336a24 24 0 0024-24V160H248a24 24 0 01-24-24zm160-14.1v6.1H256V0h6.1a24 24 0 0117 7l97.9 98a24 24 0 017 16.9z"}]};var T={viewBox:"0 0 384 512",paths:[{d:"M181.9 256.1c-5-16-4.9-46.9-2-46.9 8.4 0 7.6 36.9 2 46.9zm-1.7 47.2a461.4 461.4 0 01-28.4 62.7c18.3-7 39-17.2 62.9-21.9a129.5 129.5 0 01-34.5-40.8zM86.1 428.1c0 .8 13.2-5.4 34.9-40.2-6.7 6.3-29.1 24.5-34.9 40.2zM248 160h136v328a24 24 0 01-24 24H24a24 24 0 01-24-24V24A24 24 0 0124 0h200v136a24 24 0 0024 24zm-8 171.8c-20-12.2-33.3-29-42.7-53.8 4.5-18.5 11.6-46.6 6.2-64.2-4.7-29.4-42.4-26.5-47.8-6.8-5 18.3-.4 44.1 8.1 77a939 939 0 01-40.8 85.8l-.2.1c-27.1 13.9-73.6 44.5-54.5 68a31 31 0 0021.5 10c17.9 0 35.7-18 61.1-61.8 25.8-8.5 54.1-19.1 79-23.2 21.7 11.8 47.1 19.5 64 19.5 29.2 0 31.2-32 19.7-43.4-13.9-13.6-54.3-9.7-73.6-7.2zM377 105L279 7a24 24 0 00-17-7h-6v128h128v-6.1a24 24 0 00-7-16.9zm-74.1 255.3c4.1-2.7-2.5-11.9-42.8-9 37.1 15.8 42.8 9 42.8 9z"}]};var U={viewBox:"0 0 16 14",paths:[{d:"M0 .7C0 .3.3 0 .7 0h14.6c.4 0 .7.3.7.7v1.4c0 .4-.3.7-.7.7H.7a.7.7 0 01-.7-.7V.7zM0 6.3c0-.4.3-.7.7-.7h14.6c.4 0 .7.3.7.7v1.4c0 .4-.3.7-.7.7H.7a.7.7 0 01-.7-.7V6.3zM0 11.9c0-.4.3-.7.7-.7h14.6c.4 0 .7.3.7.7v1.4c0 .4-.3.7-.7.7H.7a.7.7 0 01-.7-.7v-1.4z"}]};var b={viewBox:"0 0 448 512",paths:[{d:"M416 208H32a32 32 0 00-32 32v32a32 32 0 0032 32h384a32 32 0 0032-32v-32a32 32 0 00-32-32z"}]};var q={viewBox:"0 0 512 512",paths:[{d:"M311.5 55.5A204.8 204.8 0 1 0 456.5 332.8A162.1 162.1 0 0 1 311.5 55.5Z"}]};var P={viewBox:"0 0 16 16",paths:[{d:"M9 3l4 4-8.6 8.6-3.6.4a.8.8 0 01-.8-.8l.4-3.6 8.7-8.7zm6.6-.7l-2-1.9c-.5-.5-1.5-.5-2 0L9.8 2.2l4 4 1.8-1.8c.5-.5.5-1.5 0-2z"}]};var E={viewBox:"0 0 16 16",paths:[{d:"M15.5 11.3L12 9.8a.7.7 0 00-.8.2l-1.6 2a11.6 11.6 0 01-5.5-5.6L6 4.8a.7.7 0 00.2-.8L4.7.5a.8.8 0 00-.9-.5L.6.8a.8.8 0 00-.6.7C0 9.5 6.5 16 14.5 16a.7.7 0 00.7-.6l.8-3.2a.8.8 0 00-.5-.9z"}]};var J={viewBox:"0 0 16 16",paths:[{d:"M6.7 11L5.5 9.4a.6.6 0 00-.7-.1l-2.8 1c-.3.2-.4.5-.4.7l.6 2.5c0 .2.3.4.6.4a12 12 0 006.7-2l-2-1.5-.8.4zm9.1 1.7l-4-2.8C13.5 8 14.5 5.7 14.5 3c0-.2-.2-.5-.5-.5L11.3 2c-.2 0-.5 0-.7.3L9.4 5c0 .2 0 .5.2.6l1.5 1.2L10 8.5 1 2a.4.4 0 00-.5 0l-.5.6c-.2.2-.1.4 0 .6L15 13.9h.5l.5-.6c.2-.2.1-.4 0-.6z"}]};var O={viewBox:"0 0 16 16",paths:[{d:"M14.5 14h-13C.7 14 0 13.3 0 12.5v-9C0 2.7.7 2 1.5 2h13c.8 0 1.5.7 1.5 1.5v9c0 .8-.7 1.5-1.5 1.5zM3.5 3.7a1.7 1.7 0 100 3.5 1.7 1.7 0 000-3.5zM2 12h12V8.5l-2.7-2.7a.4.4 0 00-.6 0L6.5 10 4.8 8.3a.4.4 0 00-.6 0L2 10.5V12z"}]};var F={viewBox:"0 0 16 16",paths:[{d:"M13.3 12.3v.4c0 .7-.6 1.3-1.3 1.3H1.3C.6 14 0 13.4 0 12.7V6c0-.8.6-1.3 1.3-1.3h.5V10c0 1.2 1 2.2 2.2 2.2h9.3zM16 10V3.3c0-.7-.6-1.3-1.3-1.3H4c-.7 0-1.3.6-1.3 1.3V10c0 .8.6 1.3 1.3 1.3h10.7c.7 0 1.3-.5 1.3-1.3zM7.1 4.6c0 .7-.6 1.3-1.3 1.3-.8 0-1.4-.6-1.4-1.3 0-.7.6-1.3 1.4-1.3.7 0 1.3.6 1.3 1.3zM4.4 8.4L6 7h.5l1 1.1 3.8-3.6c.1-.2.4-.2.5 0l2.4 2.3v3H4.4V8.4z"}]};var G={viewBox:"0 0 16 16",paths:[{d:"M12.4 7.5c.4.2.4.8 0 1l-6.2 3.4c-.4.2-.9 0-.9-.5V4.6c0-.5.5-.7 1-.5l6 3.4z"},{d:"M8 14.7A6.7 6.7 0 108 1.3a6.7 6.7 0 000 13.4zM8 16A8 8 0 108 0a8 8 0 000 16z",fillRule:"evenodd",clipRule:"evenodd"}]};var K={viewBox:"0 0 448 512",paths:[{d:"M416 208H272V64a32 32 0 00-32-32h-32a32 32 0 00-32 32v144H32a32 32 0 00-32 32v32a32 32 0 0032 32h144v144a32 32 0 0032 32h32a32 32 0 0032-32V304h144a32 32 0 0032-32v-32a32 32 0 00-32-32z"}]};var N={viewBox:"0 0 16 16",paths:[{d:"M16 8A8 8 0 110 8a8 8 0 0116 0zM8 9.6a1.5 1.5 0 100 3 1.5 1.5 0 000-3zM6.6 4.3l.2 4.4c0 .2.2.3.4.3h1.6c.2 0 .4-.1.4-.3l.2-4.4c0-.2-.2-.4-.4-.4H7c-.2 0-.4.2-.4.4z"}]};var Q={viewBox:"0 0 16 16",paths:[{d:"M16 8A8 8 0 110 8a8 8 0 0116 0zm-9 4.2l6-5.9c.2-.2.2-.5 0-.7l-.7-.8a.5.5 0 00-.7 0L6.7 9.7 4.4 7.4a.5.5 0 00-.7 0l-.7.8c-.2.2-.2.5 0 .7l3.3 3.3c.2.2.6.2.8 0z"}]};var W={viewBox:"0 0 16 16",paths:[{d:"M8 0a8 8 0 100 16A8 8 0 008 0zm0 3.5a1.4 1.4 0 110 2.8 1.4 1.4 0 010-2.8zm1.8 8.2c0 .3-.2.4-.4.4H6.6a.4.4 0 01-.4-.4V11c0-.2.2-.4.4-.4H7v-2h-.4a.4.4 0 01-.4-.5v-.7c0-.3.2-.4.4-.4h2c.3 0 .4.1.4.4v3.2h.4c.2 0 .4.2.4.4v.7z"}]};var X={viewBox:"0 0 416 512",paths:[{d:"M272 96a48 48 0 100-96 48 48 0 000 96zM113.7 317.5L98.9 352H32a32 32 0 000 64h77.5a47.9 47.9 0 0044-29.1l8.9-20.5-10.7-6.3a95.2 95.2 0 01-38-42.6zM384 224h-44l-26-53.3a96 96 0 00-61.9-50.9l-71-21.1a95.6 95.6 0 00-80.9 17.1l-39.7 30.4a32 32 0 1039 50.8l39.7-30.4c7.6-6 17.4-8 25.2-6.2l14.7 4.4-37.4 87.4a64.2 64.2 0 0026.3 80.3l85 50.2-27.5 87.7a32 32 0 1061 19.1l31.7-101c6-20.8-2.9-43.1-21.6-54.4l-61.3-36.2 31.3-78.2L287 261c8 16.3 25 26.9 43.1 26.9h54a32 32 0 000-64z"}]};var Y={viewBox:"0 0 512 512",paths:[{d:"M505 442.7L405.3 343a24 24 0 00-17-7H372a208 208 0 10-36 36v16.3a24 24 0 007 17l99.7 99.7a23.9 23.9 0 0033.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336a128 128 0 11-.1-255.9A128 128 0 01208 336z"}]};var _={viewBox:"0 0 16 16",paths:[{d:"M12 10a3 3 0 00-1.9.7L7 8.7V7.3l3.2-2a3 3 0 10-1-1.7l-3.2 2a3 3 0 100 4.7l3.2 2A3 3 0 0012 16a3 3 0 000-6z"}]};var $={viewBox:"0 0 16 16",paths:[{d:"M15.8 5.9l-4 3.7c-.4.4-1.1 0-1.1-.5V7c-4 0-5.7 1-4.6 4.7.1.4-.4.7-.7.5-1-.8-2-2.4-2-4 0-3.9 3.2-4.7 7.3-4.7v-2c0-.5.7-.8 1-.4l4 3.7c.4.3.4.7 0 1zm-5.1 5.5v1.8h-9V4.6h1.5a.3.3 0 00.2-.1l1.4-1c.4-.2.2-.6-.1-.6H1.3C.6 2.8 0 3.3 0 4v9.6c0 .7.6 1.3 1.3 1.3h9.8c.7 0 1.3-.6 1.3-1.3v-2.4c0-.3-.2-.4-.4-.3a2 2 0 01-1 0c-.2 0-.3.2-.3.4z"}]};var a0={viewBox:"0 0 512 512",paths:[{d:"M416 448h-84a12 12 0 01-12-12v-40a12 12 0 0112-12h84a32 32 0 0032-32V160a32 32 0 00-32-32h-84a12 12 0 01-12-12V76a12 12 0 0112-12h84c53 0 96 43 96 96v192c0 53-43 96-96 96zm-47-201L201 79a24 24 0 00-41 17v96H24a24 24 0 00-24 24v96a24 24 0 0024 24h136v96a24 24 0 0041 17l168-168a24.2 24.2 0 000-34z"}]};var o0={viewBox:"0 0 512 512",paths:[{d:"M497 273L329 441a24 24 0 01-41-17v-96H152a24 24 0 01-24-24v-96a24 24 0 0124-24h136V88a24 24 0 0141-17l168 168a24.2 24.2 0 010 34zM192 436v-40a12 12 0 00-12-12H96a32 32 0 01-32-32V160a32 32 0 0132-32h84a12 12 0 0012-12V76a12 12 0 00-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84a12 12 0 0012-12z"}]};var t0={viewBox:"0 0 320 512",paths:[{d:"M41 288h238a24 24 0 0117 41L177 448a23.9 23.9 0 01-33.9 0L24 329a24 24 0 0117-41zm255-105L177 64a23.9 23.9 0 00-33.9 0L24 183a24 24 0 0017 41h238a24 24 0 0017-41z"}]};var c0={viewBox:"0 0 320 512",paths:[{d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"}]};var e0={viewBox:"0 0 320 512",paths:[{d:"M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"}]};var r0={viewBox:"0 0 16 16",paths:[{d:"M6.5 1.5a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zM8 13a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM1.5 6.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM13 8a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zm-.4 3.1a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-9.2 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm9.2-9.2a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"}]};var n0={viewBox:"0 0 512 512",paths:[{d:"M256 153.6A102.4 102.4 0 1 0 256 358.4A102.4 102.4 0 1 0 256 153.6Z"},{d:"M238.9 38.4H273.1V106.7H238.9ZM238.9 405.3H273.1V473.6H238.9ZM38.4 238.9H106.7V273.1H38.4ZM405.3 238.9H473.6V273.1H405.3ZM89.6 113.1L113.1 89.6L162.1 138.7L138.7 162.1ZM349.9 373.3L373.3 349.9L422.4 398.9L398.9 422.4ZM89.6 398.9L138.7 349.9L162.1 373.3L113.1 422.4ZM349.9 138.7L398.9 89.6L422.4 113.1L373.3 162.1Z"}]};var p0={viewBox:"0 0 512 512",paths:[{d:"M466.3 225.3c4.6-22.6.8-44.5-9-63 3-23.8-4-48.5-17.4-67C439 39.4 404.1 0 327 0h-22.2C201.2 0 169 40 128 40h-10.8c-5.7-5-13-8-21.2-8H32A32 32 0 000 64v240a32 32 0 0032 32h64a32 32 0 0027.7-16h7c19.2 17 46 60.7 68.8 83.4 13.7 13.7 10.2 108.6 71.8 108.6 57.6 0 95.2-32 95.2-104.7 0-18.4-3.9-33.8-8.8-46.6h36.5a87 87 0 0085.8-85.6c0-19.1-5-35-13.7-49.8zM64 296a24 24 0 110-48 24 24 0 010 48zm330.2 16.7h-104c0 37.9 28.4 55.4 28.4 94.6 0 23.7 0 56.7-47.3 56.7-19-19-9.5-66.2-37.8-94.5-26.6-26.6-66.2-97.5-94.6-97.5H128V85.8c53.6 0 100-37.8 171.6-37.8h37.9c35.5 0 60.8 17.1 53 66 15.3 8 26.6 36.3 14 57.5 21.6 20.4 18.7 51 5.2 65.6 9.5 0 22.4 19 22.3 37.8a39 39 0 01-37.8 37.8z"}]};var i0={viewBox:"0 0 512 512",paths:[{d:"M466.3 286.7a94.6 94.6 0 0013.7-49.8 87 87 0 00-85.8-85.6h-36.5c5-12.8 8.8-28.2 8.8-46.6C366.6 32 329 0 271.4 0c-61.6 0-58.1 95-71.8 108.6-22.7 22.7-49.6 66.4-68.7 83.4H32a32 32 0 00-32 32v240a32 32 0 0032 32h64a32 32 0 0031-24c44.5 1 75 40 177.8 40H327c77.1 0 112-39.4 113-95.3a96.4 96.4 0 0017.3-67 92.9 92.9 0 009-63zm-61.8 53.8c12.6 21.1 1.3 49.4-14 57.6 7.8 48.8-17.5 65.9-53 65.9h-37.9c-71.6 0-118-37.8-171.6-37.8V240h11c28.3 0 67.9-70.9 94.5-97.5 28.3-28.3 18.9-75.6 37.8-94.5 47.2 0 47.2 33 47.2 56.7 0 39.2-28.3 56.8-28.3 94.6h104A39 39 0 01432 237c0 18.9-12.8 37.8-22.3 37.8 13.5 14.6 16.4 45.2-5.2 65.6zM88 432a24 24 0 11-48 0 24 24 0 0148 0z"}]};var m0={viewBox:"0 0 352 512",paths:[{d:"M242.7 256l100-100a31.5 31.5 0 000-44.5l-22.2-22.3a31.5 31.5 0 00-44.4 0L176 189.2 76 89.3a31.5 31.5 0 00-44.5 0L9.2 111.5a31.5 31.5 0 000 44.4l100 100.1-100 100a31.5 31.5 0 000 44.5l22.3 22.3a31.5 31.5 0 0044.4 0l100.1-100 100 100a31.5 31.5 0 0044.5 0l22.3-22.2a31.5 31.5 0 000-44.5L242.8 256z"}]};var l0={viewBox:"0 0 448 512",paths:[{d:"M432 32H312l-9.4-18.7A24 24 0 00281.1 0H166.8a23.7 23.7 0 00-21.4 13.3L136 32H16A16 16 0 000 48v32a16 16 0 0016 16h416a16 16 0 0016-16V48a16 16 0 00-16-16zM53.2 467a48 48 0 0047.9 45h245.8a48 48 0 0047.9-45L416 128H32z"}]};var h0={viewBox:"0 0 16 16",paths:[{d:"M9.5 12.7v.5l-1.4 1.4A4.8 4.8 0 011.4 8l1.4-1.4h.5l1.3 1.2v.6L3.2 9.7a2.3 2.3 0 003.1 3.1l1.4-1.4h.6l1.2 1.3zM7.7 4.6h.6l1.4-1.4a2.3 2.3 0 013.1 3.1l-1.4 1.4v.6l1.3 1.2h.5l1.4-1.4A4.8 4.8 0 008 1.4L6.5 2.8v.5l1.2 1.3zm7.4 11.2l.7-.7c.3-.3.3-.8 0-1L2 .1a.7.7 0 00-1 0L.1 1c-.3.3-.3.8 0 1L14 15.9c.3.3.8.3 1 0z"}]};var f0={viewBox:"0 0 16 16",paths:[{d:"M9.3 12H6.7a.7.7 0 01-.7-.8V6H3.3a.6.6 0 01-.5-1L7.6.1c.2-.3.6-.3.8 0l4.8 4.7c.4.4.1 1.1-.5 1.1H10v5.2c0 .5-.3.8-.8.8zm6.7-.3v3.5c0 .5-.3.8-.8.8H.8a.7.7 0 01-.8-.8v-3.5c0-.4.3-.7.8-.7H5v.2c0 1 .8 1.8 1.8 1.8h2.5c1 0 1.7-.8 1.7-1.8V11h4.3c.4 0 .7.3.7.7zm-3.9 2.8c0-.3-.3-.6-.6-.6s-.6.3-.6.6.3.6.6.6.6-.3.6-.6zm2 0c0-.3-.3-.6-.6-.6s-.6.3-.6.6.3.6.6.6.6-.3.6-.6z"}]};var s0={viewBox:"0 0 448 512",paths:[{d:"M224 256a128 128 0 100-256 128 128 0 000 256zm89.6 32h-16.7a174.3 174.3 0 01-145.8 0h-16.7A134.4 134.4 0 000 422.4V464a48 48 0 0048 48h352a48 48 0 0048-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}]};var x0={viewBox:"0 0 16 16",paths:[{d:"M15.6 7.3H14V5.7c0-.3-.2-.5-.4-.5h-.8c-.2 0-.4.2-.4.5v1.6h-1.6c-.2 0-.4.2-.4.4v.8c0 .2.2.4.4.4h1.6v1.6c0 .3.2.4.4.4h.8c.2 0 .4-.1.4-.4V9h1.6c.2 0 .4-.2.4-.4v-.8c0-.2-.2-.4-.4-.4zm-10 1.2c1.8 0 3.2-1.5 3.2-3.3C8.8 3.5 7.4 2 5.6 2a3.2 3.2 0 00-3.2 3.3c0 1.7 1.4 3.2 3.2 3.2zm2.2.8h-.4a4.3 4.3 0 01-3.6 0h-.4A3.4 3.4 0 000 12.7v1c0 .8.5 1.3 1.2 1.3H10c.7 0 1.2-.5 1.2-1.2v-1c0-2-1.5-3.5-3.4-3.5z"}]};var v0={viewBox:"0 0 16 16",paths:[{d:"M15.8 13.6l-6-4.8a3.6 3.6 0 001.8-3.1C11.6 3.7 10 2 8 2 6.3 2 5 3.2 4.5 4.7L1.1 2.1a.4.4 0 00-.5 0l-.5.7c-.2.2-.1.4 0 .6L15 14.9h.5l.5-.7c.2-.2.1-.4 0-.6zM5 10.1a3.4 3.4 0 00-3.4 3.4v.3c0 .7.5 1.2 1.2 1.2h9.6L6 10.1H5z"}]};var z0={viewBox:"0 0 16 16",paths:[{d:"M5.6 8.5c1.8 0 3.2-1.5 3.2-3.3C8.8 3.5 7.4 2 5.6 2a3.2 3.2 0 00-3.2 3.3c0 1.7 1.4 3.2 3.2 3.2zm2.2.8h-.4a4.3 4.3 0 01-3.6 0h-.4A3.4 3.4 0 000 12.7v1c0 .8.5 1.3 1.2 1.3H10c.7 0 1.2-.5 1.2-1.2v-1c0-2-1.5-3.5-3.4-3.5zM16 6.1l-.7-.8a.3.3 0 00-.4 0L12.2 8 11 6.8a.3.3 0 00-.4 0l-.7.7c-.1.1-.1.3 0 .4l2 2.1c.2.2.4.2.5 0l3.5-3.5c.1-.1.1-.3 0-.4z"}]};var D0={viewBox:"0 0 16 16",paths:[{d:"M15.3 11.5v-1.1l.6-.4s.1-.1 0-.2c0-.5-.4-1-.7-1.5h-.3l-.6.4a3 3 0 00-1-.6v-.7-.2h-1.7l-.2.2V8a3 3 0 00-.9.6l-.6-.4h-.3l-.8 1.5v.2l.7.4v1L9 12s-.1 0 0 .2c0 .5.4 1 .7 1.4h.3l.6-.3 1 .5v1h1.7l.2-.2v-.8a3 3 0 00.9-.5l.6.4h.3L16 12v-.2l-.7-.4zm-2.9.7c-.7 0-1.2-.6-1.2-1.3 0-.6.5-1.2 1.2-1.2s1.2.6 1.2 1.2c0 .7-.5 1.3-1.2 1.3zM5.6 8.5c1.8 0 3.2-1.5 3.2-3.3C8.8 3.5 7.4 2 5.6 2a3.2 3.2 0 00-3.2 3.3c0 1.7 1.4 3.2 3.2 3.2zm5 5.8l-.1-.1h-.2a1 1 0 01-.5.2 1 1 0 01-.7-.3c-.5-.5-.9-1.1-1-1.8a1 1 0 01.4-1.1l.2-.2v-.2h-.2A1 1 0 018 9.5l.1-.3h-.7a4.3 4.3 0 01-3.6 0h-.4A3.4 3.4 0 000 12.7v1c0 .8.5 1.3 1.2 1.3H10c.3 0 .5 0 .7-.2v-.5z"}]};var I0={viewBox:"0 0 16 16",paths:[{d:"M15.6 7.3h-4.8c-.2 0-.4.2-.4.4v.8c0 .2.2.4.4.4h4.8c.2 0 .4-.2.4-.4v-.8c0-.2-.2-.4-.4-.4zm-10 1.2c1.8 0 3.2-1.5 3.2-3.3C8.8 3.5 7.4 2 5.6 2a3.2 3.2 0 00-3.2 3.3c0 1.7 1.4 3.2 3.2 3.2zm2.2.8h-.4a4.3 4.3 0 01-3.6 0h-.4A3.4 3.4 0 000 12.7v1c0 .8.5 1.3 1.2 1.3H10c.7 0 1.2-.5 1.2-1.2v-1c0-2-1.5-3.5-3.4-3.5z"}]};var M0={viewBox:"0 0 16 16",paths:[{d:"M5.6 8.5c1.8 0 3.2-1.5 3.2-3.3C8.8 3.5 7.4 2 5.6 2a3.2 3.2 0 00-3.2 3.2c0 1.8 1.4 3.3 3.2 3.3zm2.2.8h-.4a4.3 4.3 0 01-3.6 0h-.4A3.4 3.4 0 000 12.7v1c0 .8.5 1.3 1.2 1.3h6.9v-2.1l.1-.3.2-.2 2-2a3.3 3.3 0 00-2.6-1zM9 13l-.2 1.6c0 .2.2.4.4.4l1.6-.2 3.4-3.5-1.8-1.8L9 13zm6.8-4.2l-1-1a.6.6 0 00-.8 0l-1 1V9l1.8 1.8 1-1c.3-.3.3-.6 0-.9z"}]};var d0={viewBox:"0 0 16 16",paths:[{d:"M14.7 8L16 7v-.6l-.6-.6a.4.4 0 00-.6 0l-1.1 1.1-1.1-1.1a.4.4 0 00-.6 0l-.6.6v.5l1.2 1.2-1.2 1.2v.5l.6.6c.1.2.4.2.6 0l1.1-1.1 1.1 1.1c.2.2.5.2.6 0l.6-.6v-.5L14.7 8zm-9.1.5c1.8 0 3.2-1.5 3.2-3.3C8.8 3.5 7.4 2 5.6 2a3.2 3.2 0 00-3.2 3.3c0 1.7 1.4 3.2 3.2 3.2zm2.2.8h-.4a4.3 4.3 0 01-3.6 0h-.4A3.4 3.4 0 000 12.7v1c0 .8.5 1.3 1.2 1.3H10c.7 0 1.2-.5 1.2-1.2v-1c0-2-1.5-3.5-3.4-3.5z"}]};var L0={viewBox:"0 0 16 16",paths:[{d:"M5.6 8.5a3.2 3.2 0 003-2A3.3 3.3 0 007.9 3a3.2 3.2 0 00-5.5 2.3c0 .8.3 1.6 1 2.2.5.7 1.4 1 2.2 1zM8 10.1c0-.2 0-.5.2-.7h-.8a4.3 4.3 0 01-3.6 0h-.4c-1 0-1.8.3-2.4 1-.6.6-1 1.4-1 2.3v1c0 .4.1.7.4 1 .2.2.5.3.8.3h7l-.2-.8v-4zm7.2-.8h-.8v-2c0-.6-.2-1-.6-1.5a2 2 0 00-2.8 0 2 2 0 00-.6 1.5v2h-.8l-.6.3-.2.5v4c0 .3 0 .5.2.7l.6.2h5.6c.2 0 .4 0 .6-.2l.2-.6v-4c0-.3 0-.5-.2-.6a.8.8 0 00-.6-.3zM12.4 13a.8.8 0 01-.7-.5.8.8 0 01.1-1 .8.8 0 011.4.7c0 .2 0 .4-.2.5l-.6.3zm.8-3.7h-1.6v-2c0-.2 0-.4.2-.6a.8.8 0 011.2 0l.2.6v2z"}]};var w0={viewBox:"0 0 640 512",paths:[{d:"M96 224a64 64 0 10-.1-128.1A64 64 0 0096 224zm448 0a64 64 0 10-.1-128.1A64 64 0 00544 224zm32 32h-64a63.8 63.8 0 00-45.1 18.6c40.3 22.1 68.9 62 75.1 109.4h66a32 32 0 0032-32v-32a64 64 0 00-64-64zm-256 0a112 112 0 10.1-223.9A112 112 0 00320 256zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3A115.2 115.2 0 00128 403.2V432a48 48 0 0048 48h288a48 48 0 0048-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4A63.8 63.8 0 00128 256H64a64 64 0 00-64 64v32a32 32 0 0032 32h65.9a146.6 146.6 0 0175.2-109.4z"}]};export{a,o as b,t as c,c as d,e,r as f,n as g,p as h,i,m as j,l as k,h as l,f as m,s as n,x as o,v as p,z as q,D as r,I as s,M as t,d as u,L as v,w,H as x,y,B as z,V as A,u as B,A as C,C as D,g as E,S as F,j as G,k as H,Z as I,R as J,T as K,U as L,b as M,q as N,P as O,E as P,J as Q,O as R,F as S,G as T,K as U,N as V,Q as W,W as X,X as Y,Y as Z,_,$,a0 as aa,o0 as ba,t0 as ca,c0 as da,e0 as ea,r0 as fa,n0 as ga,p0 as ha,i0 as ia,m0 as ja,l0 as ka,h0 as la,f0 as ma,s0 as na,x0 as oa,v0 as pa,z0 as qa,D0 as ra,I0 as sa,M0 as ta,d0 as ua,L0 as va,w0 as wa};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as F}from"./chunk-43YSWDK6.esm.js";import{a as w,c as E}from"./chunk-LA7VVT23.esm.js";import{f as N,h as k}from"./chunk-
|
|
1
|
+
import{a as F}from"./chunk-43YSWDK6.esm.js";import{a as w,c as E}from"./chunk-LA7VVT23.esm.js";import{f as N,h as k}from"./chunk-T2DH7STP.esm.js";import{a as T}from"./chunk-EYAGAJRL.esm.js";import{a as v}from"./chunk-IZHCHFTU.esm.js";import{g as d}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import{forwardRef as H,useEffect as V,useMemo as A,useState as U}from"react";function s(e){return e.replace(/\D/g,"")}c(s,"removeNonDigits");function B(e,r="."){return s(e).replace(/\B(?=(\d{3})+(?!\d))/g,r)}c(B,"formatNumber");function b(e,r){let t=e;if(r.prefix&&t&&(t=e.replaceAll(r.prefix,"").trim()),t==="")return t;let{decimal:n,thousand:o,validate:m}=r,l=t.indexOf(n);if(l>=0){let f=t.substring(0,l),u=t.substring(l);f=B(f,o),m&&(u=`${u}00`),u=s(u).substring(0,2),t=`${f}${n}${u}`}else t=B(t),m&&(t+=`${n}00`);return t}c(b,"formatCurrency");function G(e,r=","){if(typeof e=="number")return e;try{let t=e.indexOf(r);if(t>=0){let n=s(e.substring(0,t)),o=s(e.substring(t));return+`${n}.${o}`}return Number(s(e))}catch(t){return console.log("Failed to convert string to Number"),0}}c(G,"currencyToNumber");function g(e,r){let t=e;return typeof t=="number"&&(t=t.toLocaleString("pt-BR",{style:"decimal"})),b(t,{validate:!0,...r})}c(g,"getInitialCurrencyValue");var M=d(T).withConfig({componentId:"sc-1xhba8m-0"})(["position:absolute;right:1em;align-self:center;pointer-events:none;color:var(--icon-color);z-index:1;"]),P=d(v).withConfig({componentId:"sc-1xhba8m-1"})(["","{border-bottom-left-radius:0;border-bottom-right-radius:0;}","{border-top-left-radius:0;border-top-right-radius:0;}"],N,w);import{jsx as y,jsxs as q}from"react/jsx-runtime";var W=H(({onChange:e,value:r,decimal:t=",",thousand:n=".",prefix:o="R$",suffix:m,options:l,optionValue:f,onOptionChange:u,optionsLabel:R="Percent of balance",...z},D)=>{let[x,p]=U(()=>r?g(r,{decimal:t,thousand:n,prefix:o}):"");V(()=>{p(i=>{let a=r?g(r,{decimal:t,thousand:n,prefix:o}):"";return a!==i?a:i})},[r,t,n,o]);let S=A(()=>F(i=>e==null?void 0:e(i),250),[e]),I=c((i,a)=>{var h;let $=b((h=i.target.value)!=null?h:"",{validate:a,decimal:t,thousand:n,prefix:o});p($),S($)},"handleChange"),L=c(()=>{p(""),S("")},"resetValues"),O=o?`${o} ${x}`:x,C=y(k,{...z,...m&&{icon:y(M,{fontSize:"xs",fontWeight:"bold","data-testid":"input-currency-suffix",children:m})},ref:D,reset:L,value:O,onChange:I,onBlur:i=>I(i,!0)});return l!=null&&l.length?q(P,{flexDirection:"column",width:"100%",children:[C,y(E,{size:"small",label:R,options:l,value:f!=null?f:"",onChange:i=>u==null?void 0:u(i)})]}):C});W.displayName="InputCurrency";export{b as a,G as b,g as c,W as d};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{a as Y}from"./chunk-H5EZPFXA.esm.js";import{a as A}from"./chunk-CLU3WNVI.esm.js";import{a as c}from"./chunk-NJZRFWBX.esm.js";import{b as W}from"./chunk-B4TRGTFT.esm.js";import{a as w}from"./chunk-F7PA7OCV.esm.js";import{a as l}from"./chunk-NGCCXGDN.esm.js";import{a as K}from"./chunk-CDRLVSLF.esm.js";import{a as s}from"./chunk-7APTVF7S.esm.js";import{h as q}from"./chunk-T2DH7STP.esm.js";import{a as E}from"./chunk-NZ6DQLPV.esm.js";import{b as m}from"./chunk-P3XOIBAC.esm.js";import{G as V,L as x,_ as j,w as M,x as O}from"./chunk-TVJXEJLN.esm.js";import{a as B,e as N}from"./chunk-EYAGAJRL.esm.js";import{g as L}from"./chunk-L7A7RA56.esm.js";import{a as u}from"./chunk-IZHCHFTU.esm.js";import{d as F}from"./chunk-RWLJNXLX.esm.js";import{b as $}from"./chunk-ODL5JUYM.esm.js";import{b as r,g as I}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import T,{useEffect as me,useState as v}from"react";function re(e){switch(e){case"Compact":return r(["& ","{padding:",";}& ",",","{padding:",";}"],s,({theme:n})=>n.spacing("micro"),l,c,({theme:n})=>n.spacing("micro"));case"Expansive":return r(["& ","{padding:",";}& ",",","{padding:",";}"],s,({theme:n})=>n.spacing("large"),l,c,({theme:n})=>n.spacing("large"));default:return r(["& ","{padding:",";}& ",",","{padding:",";}"],s,({theme:n})=>n.spacing("medium"),l,c,({theme:n})=>n.spacing("medium"))}}i(re,"getSizeStyle");function D(e){switch(e){case"left":return"flex-start";case"right":return"flex-end";default:return"center"}}i(D,"getAlignDirection");function ae(e){if(typeof e=="object"){let n=e.reduce((a,g)=>{let b=`
|
|
2
|
+
& ${l}, ${c}, ${s} {
|
|
3
|
+
&:nth-child(${g.target}) {
|
|
4
|
+
${u} {
|
|
5
|
+
text-align: ${g.direction};
|
|
6
|
+
align-items: ${D(g.direction)}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
`;return`${a} ${b}`},"");return r(["& ",",",",","{","{text-align:center;align-items:",";}}",""],l,c,s,u,D("center"),n)}return e!==void 0?r(["& ",",",",","{","{text-align:",";align-items:",";}}"],l,c,s,u,e,D(e)):r(["& ",",",",","{","{text-align:center;align-items:center;}}"],l,c,s,u)}i(ae,"getAlignStyle");function le(e){if(e===void 0)return r([""]);let n=e.map((a,g)=>a&&(a.type===void 0?`
|
|
11
|
+
&:nth-child(${g+1}) {
|
|
12
|
+
width: ${a.width}px;
|
|
13
|
+
}
|
|
14
|
+
`:`
|
|
15
|
+
&:nth-child(${g+1}) {
|
|
16
|
+
${a.type}-width: ${a.width}px;
|
|
17
|
+
}
|
|
18
|
+
`));return r(["& ",",",",","{","}"],l,c,s,n)}i(le,"getColumnSizeStyle");function ce(){return r(["& ",",",",","{& ","{width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}}"],l,c,s,B)}i(ce,"getEllipsisStyle");function se(e){return e.map(n=>r(["& ","{&:nth-child(","){",";}}"],w,n+1,$({bgColor:"muted"})))}i(se,"getSelectedStyle");var de=r(["--tableHeaderBg:",";& ","{position:sticky;top:0;z-index:",";border-top:none;border-bottom:none;box-shadow:inset 0 1px 0 ",",inset 0 -1px 0 ",";}& "," > ",":first-child > *{border-top:none;}"],({theme:e})=>e.colors.surface.paper,s,({theme:e})=>L(e).sticky,({theme:e})=>e.colors.muted,({theme:e})=>e.colors.muted,A,w),ue=r(["","{& ","{&:nth-child(odd){",";}}& ",",","{",";}}& ","{z-index:",";}"],A,w,$({bgColor:"surface.sunken"}),l,c,F({borderWidth:"none"}),s,({theme:e})=>L(e).sticky),fe=i(e=>`
|
|
19
|
+
& ${w}{
|
|
20
|
+
&:hover{
|
|
21
|
+
& ${l}, ${c}{
|
|
22
|
+
/* box-shadow inset instead of border avoids layout shift on hover
|
|
23
|
+
(rows would get +1px taller on mouseover, causing visible
|
|
24
|
+
drift). Visually identical to the classic border-1px. */
|
|
25
|
+
box-shadow: inset 0 -1px 0 ${e.colors.edge.border};
|
|
26
|
+
&:first-child{
|
|
27
|
+
box-shadow:
|
|
28
|
+
inset 1px 0 0 ${e.colors.getColor(e.colors.primary,"base")},
|
|
29
|
+
inset 0 -1px 0 ${e.colors.edge.border};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
`,"getHoverableProps"),Z=I.table.withConfig({componentId:"sc-u1ldbs-0"})(["position:relative;isolation:isolate;border-collapse:collapse;display:table;width:",";"," "," ",";"," "," "," "," ",""],({width:e})=>e||"100%",({stickyHeader:e})=>e&&de,({striped:e})=>e&&ue,({hoverable:e,theme:n})=>e&&fe(n),({selected:e})=>se(e),({ellipsis:e})=>e?ce():"",({columnSize:e})=>le(e),({align:e})=>ae(e),({rowSize:e})=>re(e));import{jsx as o,jsxs as k}from"react/jsx-runtime";var G=i(e=>{let n=T.useId(),[a,g]=v(""),[b,H]=v([]),[R,P]=v([]),[J,p]=v("Default"),y=T.useRef(null);me(()=>{if(!y.current)return;let t=Array.from(y.current.children);H(t)},[]);let Q=T.Children.toArray(e.children).length>1?1:0,U=T.Children.map(e.children,(t,f)=>f===Q?T.cloneElement(t,{ref:y}):t),X=i(t=>{if(t.key==="Enter"){if(!y.current)return;let f=y.current.children,d=b.map((h,C)=>{let S=f[C];return S&&(a===""&&(S.style.display=""),h.innerText.toLowerCase().includes(a.toLowerCase())||(S.style.display="none")),h});H(d)}},"getFilterData"),_=b.length>0&&b.every(t=>t.style.display==="none"),ee=b.length,te=i((t,f)=>{f&&P(d=>[...d,t]),f||P(R.filter(d=>d!==t))},"getSelected"),ne=i(t=>(b.forEach((f,d)=>{let h=f.children[0].querySelectorAll("input")[0];return t&&(h.checked=!0,P(C=>[...C,d])),t||(h.checked=!1,P([])),null}),t),"getAllSelected"),ie=i(t=>b.map(d=>parseInt(d.children[t].innerText,10)).reduce((d,h)=>d+h,0),"getAddLines"),oe=e.initialPagination&&e.finalPagination&&e.totalPagination&&e.linesPerPage;function z(t){switch(t){case"normal":if(ee<=1)return"visible";if(e.stickyHeader||e.columnSize)return"scroll";break;case"y":if(e.columnSize&&!e.stickyHeader)return"hidden";break;default:return"visible"}return"visible"}return i(z,"getOverflow"),k(u,{overflow:z("normal"),overflowY:z("y"),gap:4,children:[k(u,{flexDirection:"row",justifyContent:"between",alignItems:"center",children:[e.title&&o(N,{id:n,color:"primary",readable:!0,variant:"h5",children:e.title}),k(u,{flexDirection:"row",justifyContent:"end",alignItems:"end",gap:2,children:[e.searching&&o(u,{width:"230px",children:o(q,{placeholder:"Pesquisar",type:"text",value:a,name:"search",onChange:t=>g(t.target.value),onKeyDown:t=>X(t),width:"230",icon:o(m,{icon:M}),role:"search"})}),e.rowTypes&&o(E,{options:[{icon:o(m,{icon:x}),title:"Layout Condensado",action:i(()=>p("Compact"),"action")},{icon:o(m,{icon:x}),title:"Layout Padr\xE3o",action:i(()=>p("Expansive"),"action")},{icon:o(m,{icon:x}),title:"Layout Expandido",action:i(()=>p("Default"),"action")}],children:o(m,{icon:x,color:"primary"})}),e.share&&o(E,{options:[{icon:o(m,{icon:V}),title:"Enviar por email",action:e.share.email},{icon:o(m,{icon:j}),title:"Compartilhar",action:e.share.social}],children:o(m,{icon:O,color:"primary"})})]})]}),oe&&o(Y,{initialPagination:e.initialPagination,finalPagination:e.finalPagination,totalPagination:e.totalPagination,linesPerPage:e.linesPerPage,showingText:e.showingText,linesPerPageLabel:e.linesPerPageLabel,linesPerPageValue:e.linesPerPageValue,onLinesPerPageChange:e.onLinesPerPageChange,onPreviousPage:e.onPreviousPage,onNextPage:e.onNextPage,canPreviousPage:e.canPreviousPage,canNextPage:e.canNextPage,previousLabel:e.previousLabel,nextLabel:e.nextLabel}),o(Z,{...e,stickyHeader:e.stickyHeader,striped:e.striped,rowSize:J||e.rowSize,align:e.align,columnSize:e.columnSize,width:e.width,ellipsis:e.ellipsis,hoverable:e.hoverable,selected:R,"aria-labelledby":e.title?n:void 0,children:o(K.Provider,{value:{ellipsis:e.ellipsis,getSelected:te,getAllSelected:ne,columnSum:e.columnSum!==void 0?{index:e.columnSum,sum:ie(e.columnSum)}:{index:void 0,sum:void 0}},children:U})}),_&&o(W,{})]})},"TableComponent");export{Z as a,G as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b,b as A,c as $,d as z,g as C}from"./chunk-
|
|
1
|
+
import{a as b,b as A,c as $,d as z,g as C}from"./chunk-T2DH7STP.esm.js";import{a as g}from"./chunk-IZHCHFTU.esm.js";import{c as u}from"./chunk-3PLVWHLK.esm.js";import{d as h}from"./chunk-RWLJNXLX.esm.js";import{b as S}from"./chunk-IK5Z5C2R.esm.js";import{b as T}from"./chunk-VCMHX5VK.esm.js";import{b as y}from"./chunk-ODL5JUYM.esm.js";import{b as p}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";function M({theme:e,autoResize:l,rows:t,maxRows:a}){if(!l)return null;let r=e.spacing("small"),m=e.border.borderWidth.thin,o=n(s=>`calc((${s} * 1lh) + (2 * ${r}) + (2 * ${m}))`,"blockSize");return p(["field-sizing:content;min-block-size:",";",""],o(t!=null?t:2),a?p(["max-block-size:",";"],o(a)):null)}n(M,"autoResizeStyle");var I=u("textarea").withConfig({componentId:"apollion-textarea"})`
|
|
2
2
|
-webkit-appearance: none;
|
|
3
3
|
width: 100%;
|
|
4
4
|
outline: none;
|