@apollion-dsi/core 4.0.0 → 4.1.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/{chunk-VTTPJS32.esm.js → chunk-2UQUA5JQ.esm.js} +1 -1
- package/lib/chunks/{chunk-A6R3W3MH.esm.js → chunk-4HE643OX.esm.js} +1 -1
- package/lib/chunks/{chunk-4XERQINB.esm.js → chunk-4HGSFSHL.esm.js} +1 -1
- package/lib/chunks/chunk-4WWVMB7R.esm.js +67 -0
- package/lib/chunks/{chunk-LEDRBAW5.esm.js → chunk-53R7OVXP.esm.js} +1 -1
- package/lib/chunks/{chunk-26IFGRDF.esm.js → chunk-5BR6JTC5.esm.js} +1 -1
- package/lib/chunks/{chunk-SASIBVD2.esm.js → chunk-5NIX5AK7.esm.js} +1 -1
- package/lib/chunks/{chunk-IEGER4VB.esm.js → chunk-777HH5XE.esm.js} +1 -1
- package/lib/chunks/{chunk-VUHSUILC.esm.js → chunk-7LG563DZ.esm.js} +1 -1
- package/lib/chunks/{chunk-QNQ4OW7T.esm.js → chunk-BFZUNHO5.esm.js} +1 -1
- package/lib/chunks/{chunk-2BXBMNBD.esm.js → chunk-BJFSNET7.esm.js} +1 -1
- package/lib/chunks/{chunk-RWDJBOAC.esm.js → chunk-BXLZT77M.esm.js} +1 -1
- package/lib/chunks/{chunk-EGC6TYNS.esm.js → chunk-BYRL7X5M.esm.js} +1 -1
- package/lib/chunks/{chunk-FLFOQPKD.esm.js → chunk-C2HYRKZ5.esm.js} +1 -1
- package/lib/chunks/{chunk-L4FPPJHH.esm.js → chunk-C7NZ4MPY.esm.js} +1 -1
- package/lib/chunks/{chunk-DDWCOMUN.esm.js → chunk-CPOKPPFV.esm.js} +1 -1
- package/lib/chunks/{chunk-CCZVMA2I.esm.js → chunk-E2S4LJNF.esm.js} +1 -1
- package/lib/chunks/{chunk-HW4IUAPQ.esm.js → chunk-EC3O6B7O.esm.js} +1 -1
- package/lib/chunks/{chunk-WSEDBJO3.esm.js → chunk-EWU2RG4F.esm.js} +1 -1
- package/lib/chunks/{chunk-HX3TYUGD.esm.js → chunk-FKAOGMRM.esm.js} +1 -1
- package/lib/chunks/{chunk-5BGSGGUV.esm.js → chunk-H4CYNDAM.esm.js} +1 -1
- package/lib/chunks/{chunk-T4NQQFTY.esm.js → chunk-HSNUZR7V.esm.js} +1 -1
- package/lib/chunks/chunk-IWMEDT6U.esm.js +1 -0
- package/lib/chunks/{chunk-ILBHBMWO.esm.js → chunk-J73BJCFK.esm.js} +1 -1
- package/lib/chunks/{chunk-WUOHPB5R.esm.js → chunk-JD7UXJES.esm.js} +1 -1
- package/lib/chunks/{chunk-34N4XNXU.esm.js → chunk-LP4ND77J.esm.js} +1 -1
- package/lib/chunks/{chunk-2NX55TTL.esm.js → chunk-M3BBRFF2.esm.js} +1 -1
- package/lib/chunks/{chunk-N3QTL6BB.esm.js → chunk-N7OQM7C7.esm.js} +1 -1
- package/lib/chunks/{chunk-HZRGN3R2.esm.js → chunk-NYWQDBFO.esm.js} +1 -1
- package/lib/chunks/{chunk-7ASEEZ7M.esm.js → chunk-O4NT6MN7.esm.js} +1 -1
- package/lib/chunks/{chunk-O7OKMTNU.esm.js → chunk-O7P2XALT.esm.js} +1 -1
- package/lib/chunks/{chunk-EFHY5LLY.esm.js → chunk-OFLB4VL6.esm.js} +1 -1
- package/lib/chunks/{chunk-3KZGQZXT.esm.js → chunk-OTJ32SHO.esm.js} +1 -1
- package/lib/chunks/{chunk-YQPAZ6ZQ.esm.js → chunk-P4JVQK7V.esm.js} +1 -1
- package/lib/chunks/{chunk-BSTXG3RR.esm.js → chunk-PP2U26DD.esm.js} +1 -1
- package/lib/chunks/{chunk-QYMXU5YD.esm.js → chunk-Q44UHGO6.esm.js} +1 -1
- package/lib/chunks/{chunk-UXSHB2H7.esm.js → chunk-RF5E2C7X.esm.js} +1 -1
- package/lib/chunks/{chunk-6XWL3BHB.esm.js → chunk-THOEVSMN.esm.js} +1 -1
- package/lib/chunks/{chunk-TJ52MNVI.esm.js → chunk-TOYBV66A.esm.js} +1 -1
- package/lib/chunks/{chunk-5HHC44UU.esm.js → chunk-U4ODIBWG.esm.js} +1 -1
- package/lib/chunks/{chunk-LQLFWLYH.esm.js → chunk-UUVZW6VR.esm.js} +1 -1
- package/lib/chunks/{chunk-BZYZXUVU.esm.js → chunk-UZFVIKSU.esm.js} +1 -1
- package/lib/chunks/{chunk-432W3QJX.esm.js → chunk-V2CHFCNJ.esm.js} +1 -1
- package/lib/chunks/{chunk-EXUN3ZYF.esm.js → chunk-V2DSTTQA.esm.js} +1 -1
- package/lib/chunks/{chunk-J6WU4PU3.esm.js → chunk-V2FPYZTP.esm.js} +1 -1
- package/lib/chunks/{chunk-C7QM23W2.esm.js → chunk-Y2T3ENA4.esm.js} +1 -1
- package/lib/chunks/{chunk-EDGVNBGB.esm.js → chunk-Y4VB4DRM.esm.js} +1 -1
- package/lib/chunks/{chunk-CL2HK4JL.esm.js → chunk-Y7EHFKPF.esm.js} +1 -1
- package/lib/chunks/{chunk-TN4BCWOH.esm.js → chunk-ZRIEVBTB.esm.js} +1 -1
- package/lib/chunks/{chunk-OVWQSCBW.esm.js → chunk-ZX7OP4LN.esm.js} +1 -1
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/DescriptionList.d.ts +33 -0
- package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +61 -0
- package/lib/dataDisplay/DescriptionList/index.d.ts +11 -0
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -0
- 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/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/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/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/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/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/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.interface.d.ts +12 -3
- 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/index.esm.js +1 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Radio/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/hooks/index.esm.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/scenario/RectComponent/index.esm.js +1 -1
- package/lib/scenario/index.esm.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/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/package.json +18 -2
- package/lib/chunks/chunk-JBISNWMI.esm.js +0 -67
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o as S
|
|
1
|
+
import{o as S}from"./chunk-4WWVMB7R.esm.js";import{c as x}from"./chunk-BFZUNHO5.esm.js";import{a as g}from"./chunk-IWMEDT6U.esm.js";import{d as I}from"./chunk-J73BJCFK.esm.js";import{a as m}from"./chunk-THOEVSMN.esm.js";import{b as f}from"./chunk-A6Z2M2XU.esm.js";import{g as p}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import o,{forwardRef as F,useState as $}from"react";var h=p(m)`
|
|
2
2
|
list-style: none;
|
|
3
3
|
padding: 0;
|
|
4
4
|
margin: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-43YSWDK6.esm.js";import{g as l}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-43YSWDK6.esm.js";import{g as l}from"./chunk-O7P2XALT.esm.js";import{r as p}from"./chunk-44EW3LMK.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import v,{useMemo as f,useState as C}from"react";function i(k){let{mask:a,value:n,onChange:e,...I}=k,o=f(()=>p(a),[a]),[M,s]=C(()=>n?o(n):""),r=f(()=>c(e!=null?e:(()=>{}),250),[e]);return v.createElement(l,{...I,reset:t(()=>{s(""),r("")},"resetValues"),value:M,onChange:t((d,V)=>{var m;let u=o((m=d.target.value)!=null?m:"");s(u),r(u)},"handleChange")})}t(i,"InputMaskComponent");i.displayName="InputMask";export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m}from"./chunk-
|
|
1
|
+
import{c as m}from"./chunk-EWU2RG4F.esm.js";import{d as r}from"./chunk-J73BJCFK.esm.js";import{a as t}from"./chunk-THOEVSMN.esm.js";import{c as i}from"./chunk-U4ODIBWG.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";var f=n(({children:p,icon:l,title:a,description:x,...e})=>{let c=e.inverted?"neutral.170":"grayscale.0";return o.createElement(m,{content:o.createElement(i,{p:"xs"},o.createElement(t,{gap:"medium",maxWidth:400,color:c},o.createElement(t,{flexDirection:"row",alignItems:"center",gap:"medium"},l,o.createElement(r,{variant:"h4",text:a,color:null})),o.createElement(r,{variant:"p",text:x,color:null}))),...e},p)},"Popover");f.displayName="Popover";export{f as a};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import{a as yo}from"./chunk-V5ZKDMDH.esm.js";import{a as ho,b as So}from"./chunk-TG5BCBO4.esm.js";import{a as No}from"./chunk-76C7AHBV.esm.js";import{a as so}from"./chunk-3DUB5C4Z.esm.js";import{b as po,c as lo}from"./chunk-KT6QQ3UJ.esm.js";import{a as uo}from"./chunk-A4BXGJYW.esm.js";import{b as go}from"./chunk-IT4J7I6H.esm.js";import{b as Co}from"./chunk-JOKVE3IX.esm.js";import{a as Io}from"./chunk-Z5OQHLDW.esm.js";import{a as xo}from"./chunk-TVJISBND.esm.js";import{a as fo}from"./chunk-NQBO2D7L.esm.js";import{a as mo}from"./chunk-TDVKGVGD.esm.js";import{c as Lo}from"./chunk-BFZUNHO5.esm.js";import{d as vo}from"./chunk-Q44UHGO6.esm.js";import{a as ko,b as bo}from"./chunk-53R7OVXP.esm.js";import{a as co}from"./chunk-KFFUMDHD.esm.js";import{e as $}from"./chunk-H6RGCTRX.esm.js";import{b as Po}from"./chunk-FPQOBUTR.esm.js";import{a as To}from"./chunk-IWMEDT6U.esm.js";import{a as io,d as B}from"./chunk-J73BJCFK.esm.js";import{a as ao}from"./chunk-ZRIEVBTB.esm.js";import{a as k}from"./chunk-THOEVSMN.esm.js";import{a as P,c as S,d as v}from"./chunk-U4ODIBWG.esm.js";import{a as X,b as no}from"./chunk-TOYBV66A.esm.js";import{c as C,k as J,l as K}from"./chunk-4RPR6CZT.esm.js";import{a as U,c as _,k as Q,l as q}from"./chunk-44EW3LMK.esm.js";import{d as g}from"./chunk-V5AWVNU6.esm.js";import{b as Z,c as oo,d as eo,e as to,f as ro,g as p}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import h from"react";import wo from"deepmerge";var A=wo;function M(o={}){let{colors:e,breakpoints:t,spacing:n,border:a,font:i,dimension:c}=A({colors:J,spacing:ho,font:Io,border:so,breakpoints:po,dimension:Co},o),f=K(e),s=So(n,c),d=yo({colors:f,spacing:s});return{font:i,border:a,animation:fo,colors:f,breakpoints:lo(t),spacing:s,depth:go(f),deep:uo(f),semantic:d,foundation:xo(d)}}r(M,"createTheme");import m,{useEffect as me,useState as ce}from"react";import{createPortal as fe}from"react-dom";var N=p(S)(({theme:o,size:e})=>({fontSize:e?o.spacing(e):"inherit",display:"inline-block",lineHeight:0,"& svg":{stroke:"currentColor",fill:"currentColor",strokeWidth:0,"& g":{fill:"currentColor"}}}));import y,{forwardRef as z,useEffect as ee,useState as te}from"react";function Eo(o,e){if(typeof window!="undefined")try{window.fetch(o).then(t=>t.text()).then(t=>Q(t,"svg")).then(q).then(e)}catch(t){U.warn(`[ICON] Failed to load icon from: ${o}`)}}r(Eo,"getIconFromUrl");var Ho=r(({cover:o,height:e,width:t})=>o&&{width:t!=null?t:"100%",height:e!=null?e:"100%",objectFit:"cover"},"imageCover"),Fo=r(o=>o?_(o):"fit-content","getSizeValue"),Bo=no("img")`
|
|
2
|
+
display: block;
|
|
3
|
+
width: ${({full:o,width:e})=>o?"100%":Fo(e)};
|
|
4
|
+
height: ${({height:o})=>Fo(o)};
|
|
5
|
+
${Ho};
|
|
6
|
+
|
|
7
|
+
&[src=''] {
|
|
8
|
+
visibility: hidden;
|
|
9
|
+
position: absolute;
|
|
10
|
+
}
|
|
11
|
+
`;import u,{forwardRef as Ko,useState as Xo}from"react";var $o=p.rect`
|
|
12
|
+
stroke: ${({theme:o})=>C(o.colors.neutral[20])};
|
|
13
|
+
fill: ${({theme:o})=>C(o.colors.neutral[5])};
|
|
14
|
+
`;import jo from"react";function I(o){return jo.createElement($o,{...o})}r(I,"RectComponent");I.displayName="Rect";import Uo from"react";import Ao,{BulletList as R,Code as V,Facebook as W,List as D}from"react-content-loader";var Y=Ao;function x({children:o,...e}){let{colors:t}=ro();return Uo.createElement(Y,{...e,viewBox:`0 0 ${e.width} ${e.height}`,backgroundColor:C(e.backgroundColor||t.neutral[10]),foregroundColor:C(e.foregroundColor||t.neutral[30])},o)}r(x,"ComposedSkeletonComponent");x.displayName="Skeleton";var _o=D,Qo=R,qo=V,Jo=W;import Mo from"react";function O({width:o,height:e=13}){return Mo.createElement(x,{width:o,height:e},Mo.createElement(I,{x:0,y:0,width:o,height:e}))}r(O,"TextPresetComponent");O.displayName="TextPreset";var b=Ko(({src:o,...e},t)=>u.createElement(Bo,{src:o,ref:t,...e})),Zo=r(({width:o=60,height:e=60})=>u.createElement(x,{height:e,width:o},u.createElement(I,{width:o,height:e})),"ImageDefaultContentLoader");function oe(o){return new Promise((e,t)=>{let n=new Image;n.onload=e,n.onerror=t,n.src=o})}r(oe,"loadImage");var Ro=r(({src:o,fallback:e,threshold:t,...n})=>{let[a,i]=Xo(),[c]=co({threshold:t},()=>{oe(o).then(()=>i(o)).catch(()=>console.warn(`[Failed]: error on loading image: ${o}`))}),f=typeof a=="undefined";return u.createElement(u.Fragment,null,f?e||u.createElement(Zo,{...n}):null,u.createElement(b,{src:a||"",ref:c,...n}))},"ImageLazy");Ro.displayName="ImageLazy";var L=r((o,e)=>y.cloneElement(o,e),"createIcon"),re=z(({icon:o,name:e,iconProps:t,svgProps:n,children:a,...i},c)=>{let f=r(()=>{let s=null;return a?s=L(a,n):e?s=L(mo[e],n):o?s=L(o,n):t&&(s=vo(n)),s},"getIcon");return y.createElement(N,{...i,ref:c},f())}),ne=z(({title:o,src:e,svgProps:t,...n},a)=>{let[i,c]=te(()=>y.createElement(b,{height:"1em",width:"1em",alt:o}));return ee(()=>{Eo(e,f=>{c(L(f,t))})},[e]),y.createElement(N,{...n,ref:a},i)}),T=z(({title:o,...e},t)=>{let n={...e.iconProps||{},title:o,stroke:"currentColor",fill:"currentColor",strokeWidth:"0",height:"1em",width:"1em"};return e.src?y.createElement(ne,{...e,svgProps:n,ref:t}):y.createElement(re,{...e,svgProps:n,ref:t})});T.displayName="Icon";var ie=oo`
|
|
15
|
+
0% { width: 0; }
|
|
16
|
+
100% { width: 100%; }
|
|
17
|
+
`,G=p(k)`
|
|
18
|
+
--time: 15;
|
|
19
|
+
|
|
20
|
+
width: 0;
|
|
21
|
+
height: 0.25rem;
|
|
22
|
+
background-color: var(--baseColor);
|
|
23
|
+
animation: ${ie} calc(var(--time, 15) * 1s) normal forwards;
|
|
24
|
+
`,Vo=p(k)`
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0.25rem;
|
|
27
|
+
left: 0.5rem;
|
|
28
|
+
right: 0.5rem;
|
|
29
|
+
`;function ae({variant:o,theme:e}){let t=e.colors[o];return Z`
|
|
30
|
+
--baseColor: ${t.base};
|
|
31
|
+
--lightColor: ${t.light};
|
|
32
|
+
--darkColor: ${t.dark};
|
|
33
|
+
--activeColor: ${t.active};
|
|
34
|
+
--actionColor: ${t.action};
|
|
35
|
+
|
|
36
|
+
position: relative;
|
|
37
|
+
background-color: var(--lightColor);
|
|
38
|
+
border-color: var(--baseColor);
|
|
39
|
+
|
|
40
|
+
${io} {
|
|
41
|
+
color: var(--darkColor);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
& ${ko} {
|
|
45
|
+
width: intrinsic;
|
|
46
|
+
color: var(--darkColor);
|
|
47
|
+
|
|
48
|
+
&:hover {
|
|
49
|
+
background: var(--activeColor);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:active ${N} {
|
|
53
|
+
color: var(--actionColor);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:hover ${G} {
|
|
58
|
+
animation-play-state: paused;
|
|
59
|
+
}
|
|
60
|
+
`}r(ae,"getWrapperStyle");var H=p(v)(ae);H.displayName="div";var Wo=p(k)`
|
|
61
|
+
color: var(--darkColor);
|
|
62
|
+
|
|
63
|
+
svg {
|
|
64
|
+
width: 2rem;
|
|
65
|
+
height: 2rem;
|
|
66
|
+
}
|
|
67
|
+
`;var Do=r(({type:o="block",variant:e="primary",visible:t=!0,closable:n=!0,autoClose:a=null,message:i=null,action:c=null,icon:f=null,link:s,onDismiss:d,...E})=>{let{isMobile:j}=$(),zo=r(()=>{let F=c;return typeof c=="function"&&(F=c({close:d})),F?m.cloneElement(F,{color:e,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),Go=r(()=>typeof i=="function"?i({close:d}):typeof i=="string"?m.createElement(B,{text:i,variant:"p",fontSize:"xs"}):i,"renderMessage");return t?m.createElement(H,{p:"medium",pr:9,round:j?0:"xs",borderWidth:j?"none":"thin",borderStyle:"solid",variant:e,"data-testid":`notification-${o}`,...E},a&&m.createElement(Vo,null,m.createElement(G,{round:"micro",style:{"--time":a},onAnimationEnd:d})),m.createElement(ao,{contentGap:"medium",opener:f&&m.createElement(Wo,{pt:"xs",alignSelf:"start"},f),closer:zo()},E.title&&m.createElement(B,{text:E.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),Go(),s&&m.createElement(Lo,{...s,target:"_blank"})),n&&m.createElement(bo,{p:"xs",borderWidth:"none",icon:m.createElement(T,{size:"small",name:"times"}),variant:"linked",onClick:d,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})):null},"BaseNotification"),se=r(o=>{let{isMobile:e}=$(),[t,n]=ce(!1);me(()=>{n(!0)},[]);let a=o.pagePosition==="top"?{top:0}:{bottom:0};if(!t||!g)return null;let i=o.visible!==!1;return fe(m.createElement(P,null,i?m.createElement(Do,{...o,initial:{y:"-100%",opacity:0},animate:{y:0,opacity:1},exit:{y:"-100%",opacity:0},style:{...a,zIndex:1e3,margin:e?0:"1rem",position:"fixed",right:0,left:0}}):null),g)},"PageNotification"),w=r(o=>o.type==="page"?m.createElement(se,{...o}):m.createElement(Do,{...o}),"NotificationComponent");w.displayName="Notification";import l,{createContext as pe,useContext as le,useEffect as de,useReducer as ue,useState as ge}from"react";import{createPortal as Ce}from"react-dom";var Yo=pe({});function Ie(o,{type:e,payload:t}){switch(e){case"ADD":return[t,...o];case"REMOVE":return o.filter(n=>n.id!==t.id);default:return o}}r(Ie,"NotificationReducer");var Oo=r(o=>{let[e,t]=ue(Ie,[]),n=r(i=>{t({type:"REMOVE",payload:{id:i}})},"removeNotification"),a=r(i=>{if(t({type:"ADD",payload:{id:To(),...i}}),e.length>=3){let[c]=e.slice(-1);setTimeout(()=>n(c.id),0)}},"showNotification");return l.createElement(Yo.Provider,{value:{notifications:e,removeNotification:n,showNotification:a}},l.createElement(l.Fragment,null,o.children,l.createElement(ye,null)))},"NotificationsProvider");function xe(){let o=le(Yo);if(o===void 0)throw new Error("cant use useNotification hook outside of <NotificationsProvider />");return o}r(xe,"useNotification");var ye=r(()=>{let{notifications:o,removeNotification:e}=xe(),[t,n]=ge(!1);return de(()=>{n(!0)},[]),!t||!g?null:Ce(l.createElement(S,{style:{position:"fixed",bottom:"1rem",right:"1rem"}},l.createElement(P,null,o.map(({id:a,...i})=>l.createElement(v,{key:a,initial:{x:"100%",opacity:0},animate:{x:0,opacity:1},exit:{scale:0,opacity:0,height:0},style:{minWidth:300,maxWidth:"30vw",zIndex:100}},l.createElement(S,{style:{margin:"0.5rem"}},l.createElement(w,{...i,visible:!0,closable:!0,onDismiss:()=>e(a)})))))),g)},"NotificationGroup");function he(o,e){return typeof e=="string"?X(o):!0}r(he,"shouldForwardProp");var Se=r(({children:o,theme:e,surface:t="positive",dimension:n})=>{let a=h.useMemo(()=>e!=null?e:M(n!==void 0?{dimension:n}:void 0),[e,n]),i=h.useMemo(()=>No(a,t),[a,t]);return h.createElement(eo,{shouldForwardProp:he},h.createElement(to,{theme:i},h.createElement(Po,null,h.createElement(Oo,null,o))))},"ApollionProvider");export{N as a,Bo as b,M as c,Se as d,$o as e,I as f,x as g,_o as h,Qo as i,qo as j,Jo as k,O as l,b as m,Ro as n,T as o,G as p,Vo as q,H as r,Wo as s,w as t,Oo as u,xe as v,ye as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as u}from"./chunk-
|
|
1
|
+
import{d as u}from"./chunk-BYRL7X5M.esm.js";import{c as m}from"./chunk-5NIX5AK7.esm.js";import{b as o}from"./chunk-752Z7BQF.esm.js";import{b as r}from"./chunk-W663AGNE.esm.js";import{d as t}from"./chunk-U27SLYIV.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import s,{forwardRef as x}from"react";function y({size:n}){switch(n){case"extraSmall":return[r({p:"micro"}),t({borderRadius:"micro"}),o({fontSize:"micro"})];case"small":return[r({p:"xs"}),t({borderRadius:"circular"}),o({fontSize:"xs"})];case"large":return[r({p:"medium"}),t({borderRadius:"circular"}),o({fontSize:"medium"})];default:return[r({p:"small"}),t({borderRadius:"circular"}),o({fontSize:"small"})]}}i(y,"iconButtonSize");var f=a(u)(y);var l=x(({color:n="primary",size:p="medium",variant:d="contained",icon:I=null,...c},B)=>{let{isLoading:S,loadingComponent:e}=c;return s.createElement(f,{...c,color:n,size:p,variant:d,as:"button",ref:B},S?e!=null?e:s.createElement(m,{"data-testid":"icon-spinner"}):I)});l.displayName="IconButton";export{f as a,l as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as u}from"./chunk-CDRLVSLF.esm.js";import{a as T}from"./chunk-MJ7ZMPLR.esm.js";import{c as s}from"./chunk-
|
|
1
|
+
import{a as u}from"./chunk-CDRLVSLF.esm.js";import{a as T}from"./chunk-MJ7ZMPLR.esm.js";import{c as s}from"./chunk-EWU2RG4F.esm.js";import{d as C}from"./chunk-J73BJCFK.esm.js";import{a as c}from"./chunk-THOEVSMN.esm.js";import{b as a}from"./chunk-752Z7BQF.esm.js";import{b as m}from"./chunk-A6Z2M2XU.esm.js";import{g as f}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import l,{useEffect as x}from"react";var d=f.td`
|
|
2
2
|
${T};
|
|
3
3
|
${m};
|
|
4
4
|
${a({fontFamily:"main"})};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as t}from"./chunk-34F43UAI.esm.js";import{c as o}from"./chunk-
|
|
1
|
+
import{a as t}from"./chunk-34F43UAI.esm.js";import{c as o}from"./chunk-U4ODIBWG.esm.js";import{g as e}from"./chunk-APD22JEO.esm.js";var n=e(o)`
|
|
2
2
|
animation: rotate 2s linear infinite;
|
|
3
3
|
|
|
4
4
|
@keyframes rotate {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as f}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-J73BJCFK.esm.js";import{b as n}from"./chunk-752Z7BQF.esm.js";import{b as m}from"./chunk-W663AGNE.esm.js";import{d as l}from"./chunk-U27SLYIV.esm.js";import{g as p}from"./chunk-APD22JEO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import y from"react";function c(r){return r==="default"?"primary":r==="info"?"information":r}t(c,"getColorVariant");function b(r,o){var a,i;let e=c(o);return{backgroundColor:(a=r.colors[e])==null?void 0:a.light,color:(i=r.colors[e])==null?void 0:i.action}}t(b,"getColor");var s=p(f)`
|
|
2
2
|
display: inline;
|
|
3
3
|
align-self: flex-start;
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r}from"./chunk-
|
|
1
|
+
import{d as r}from"./chunk-C2HYRKZ5.esm.js";import{a as c}from"./chunk-5BR6JTC5.esm.js";import{a as b}from"./chunk-CDRLVSLF.esm.js";import{a as n}from"./chunk-ZRIEVBTB.esm.js";import{g as C}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import t from"react";var a=C(c)``;var o=l(m=>{let{getSelected:x}=t.useContext(b),p=l(e=>[...e.parentNode.children].indexOf(e),"getNodeIndex"),h=l(e=>{let T=p(e.target.closest("tr"));x(T,e.target.checked)},"handleChecked");return t.createElement(a,null,t.createElement(n,null,t.createElement(r,{label:m.children,onChange:h})))},"TableCheckboxCellComponent");o.displayName="TableCheckboxCell";export{a,o as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as u}from"./chunk-
|
|
1
|
+
import{c as u}from"./chunk-BYRL7X5M.esm.js";import{a as x}from"./chunk-J73BJCFK.esm.js";import{b as c}from"./chunk-752Z7BQF.esm.js";import{b as y}from"./chunk-JB7G6UGV.esm.js";import{b as k}from"./chunk-GP7NECT4.esm.js";import{g as l}from"./chunk-APD22JEO.esm.js";import{a as L}from"./chunk-GZONWSRB.esm.js";import m,{forwardRef as S}from"react";var B=l.a(y,k({cursor:"pointer"}),c({textDecoration:"underline",fontFamily:"main"})),A=l.a`
|
|
2
2
|
${u};
|
|
3
3
|
${c({lineHeight:"tight"})};
|
|
4
4
|
`;var d=L(t=>t?/^(https?:)?\/\//i.test(t)||/^(mailto|tel|sms):/i.test(t):!1,"isExternalHref"),g={target:"_blank",rel:"noopener noreferrer"},C=S(({as:t,text:r,children:i,variant:a="contained",color:e="primary",href:n,...s},o)=>{let f=d(n);return m.createElement(A,{...s,...f?g:{},as:f?"a":t,variant:a,color:e,href:n,ref:o},m.createElement(x,{fontWeight:"bold",lineHeight:"tight"},i||r))}),p=S(({as:t,text:r,children:i,color:a="primary",href:e,...n},s)=>{let o=d(e);return m.createElement(B,{...n,...o?g:{},as:o?"a":t,color:a,href:e,ref:s},i||r)});p.Button=C;p.displayName="Link";export{B as a,A as b,p as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as u}from"./chunk-
|
|
1
|
+
import{c as u}from"./chunk-U4ODIBWG.esm.js";import{c as t}from"./chunk-V5AWVNU6.esm.js";import{g as d}from"./chunk-APD22JEO.esm.js";import{a as v}from"./chunk-GZONWSRB.esm.js";import y,{forwardRef as z,useCallback as D,useLayoutEffect as q,useRef as g,useState as N}from"react";var f=(()=>{if(typeof window=="undefined")return 15;let o=t.document.createElement("div"),n=t.document.createElement("div");o.style.overflow="scroll",o.style.width="100%",n.style.width="100%",t.document.body.appendChild(o),o.appendChild(n);let x=o.offsetWidth-n.offsetWidth;return o.removeChild(n),t.document.body.removeChild(o),x})(),A=f?f+1:20;var E=d(u)`
|
|
2
2
|
flex: 1;
|
|
3
3
|
height: 100%;
|
|
4
4
|
overflow: hidden;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as n}from"./chunk-
|
|
1
|
+
import{c as n}from"./chunk-U4ODIBWG.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var d=i((r,e)=>({gridTemplateColumns:e.columns,gridTemplateRows:e.rows,gridTemplateAreas:e.areas,gap:e.gap?r.spacing(e.gap):void 0,gridColumnGap:e.columnGap?r.spacing(e.columnGap):void 0,gridRowGap:e.rowGap?r.spacing(e.rowGap):void 0}),"getGridProps"),f=i(({medias:r,theme:e})=>r?"xs"in r?Object.keys(r).reduce((o,t)=>({...o,[e.breakpoints.up(t)]:d(e,r[t])}),{}):d(e,r):{},"setGridBreakpoints"),G=a(n)`
|
|
2
2
|
display: grid;
|
|
3
3
|
|
|
4
4
|
${f}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-J73BJCFK.esm.js";import{a as $}from"./chunk-ZRIEVBTB.esm.js";import{a as f}from"./chunk-5NIX5AK7.esm.js";import{a as b}from"./chunk-THOEVSMN.esm.js";import{b as d}from"./chunk-OEH5ARPF.esm.js";import{b as l}from"./chunk-752Z7BQF.esm.js";import{b as c}from"./chunk-W663AGNE.esm.js";import{d as a}from"./chunk-U27SLYIV.esm.js";import{b as s,g as u}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import i,{forwardRef as C}from"react";var w=n(({size:o})=>{switch(o){case"extraSmall":return[l({textTransform:"uppercase",fontWeight:"bold",fontSize:"micro"}),c({py:"micro",px:"medium"}),a({borderRadius:"micro"})];case"small":return[l({fontWeight:"bold",fontSize:"small"}),c({py:"xs",px:"medium"}),a({borderRadius:"large"})];case"large":return[l({fontWeight:"bold",fontSize:"medium"}),c({py:"medium",px:"xl"}),a({borderRadius:"large"})];default:return[l({fontWeight:"bold",fontSize:"small"}),c({py:"small",px:"large"}),a({borderRadius:"large"})]}},"buttonSize"),P=n((o,t)=>s`
|
|
2
2
|
color: ${t.colors.getContrastColor(o.base)};
|
|
3
3
|
background: ${o.base};
|
|
4
4
|
border-color: ${o.base};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c,o as m}from"./chunk-
|
|
1
|
+
import{a as c,o as m}from"./chunk-4WWVMB7R.esm.js";import{a as d}from"./chunk-J73BJCFK.esm.js";import{a as b}from"./chunk-THOEVSMN.esm.js";import{b as p}from"./chunk-TOYBV66A.esm.js";import{b as l}from"./chunk-JB7G6UGV.esm.js";import{b as a,g as x}from"./chunk-APD22JEO.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var n=p("input")`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 0;
|
|
4
4
|
top: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-J73BJCFK.esm.js";import{a as r}from"./chunk-THOEVSMN.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import e from"react";var d=i(({media:t,title:o,description:l,actionComponent:n,children:m,...f})=>{let x=typeof o=="string"?e.createElement(a,{as:"h4",fontSize:"small",fontWeight:"bold",lineHeight:"regular",color:"neutral.180"},o):o,s=typeof l=="string"?e.createElement(a,{as:"p",fontSize:"micro",lineHeight:"wild",color:"neutral.180"},l):l;return e.createElement(r,{display:"inline-flex",borderRadius:"md",borderWidth:"thin",borderColor:"neutral.30",overflow:"hidden",...f},t&&e.createElement(r,{area:"media"},t),e.createElement(r,{p:"large",gap:"large"},e.createElement(r,{area:"content",gap:"xs"},e.createElement(r,{area:"title"},x),e.createElement(r,{area:"subtitle"},s,m)),n&&e.createElement(r,{area:"action",flex:"fluid",mt:"large"},n)))},"CardComponent");d.displayName="Card";export{d as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as a}from"./chunk-
|
|
1
|
+
import{b as a}from"./chunk-BXLZT77M.esm.js";import{e as m}from"./chunk-H6RGCTRX.esm.js";import{a as d}from"./chunk-THOEVSMN.esm.js";import{g as i}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import e from"react";var n={xs:{columns:"1fr",rows:"100%",areas:`
|
|
2
2
|
"content"
|
|
3
3
|
`},md:{columns:"200px 1fr",rows:"100%",areas:`
|
|
4
4
|
"sidebar content"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as u}from"./chunk-BYRL7X5M.esm.js";import{a as c}from"./chunk-IWMEDT6U.esm.js";import{a as f}from"./chunk-J73BJCFK.esm.js";import{a as e}from"./chunk-THOEVSMN.esm.js";import{c as p}from"./chunk-4RPR6CZT.esm.js";import{g as b}from"./chunk-APD22JEO.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import a,{forwardRef as F,useMemo as H}from"react";var x=b(e)`
|
|
2
2
|
border-bottom: 1px solid ${({theme:o})=>o.colors.neutral[20]};
|
|
3
3
|
|
|
4
4
|
& > ${e} {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-THOEVSMN.esm.js";import{g as r}from"./chunk-APD22JEO.esm.js";var t=r(e).attrs(o=>({p:"medium",borderRadius:"micro",bgColor:"neutral.0",deep:2,...o}))``;export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b,b as P,c as C,e as k,f as v,h as E,j as R,k as S,l as $,m as F,n as z,o as B}from"./chunk-5H2LWL6K.esm.js";import{a as h}from"./chunk-
|
|
1
|
+
import{a as b,b as P,c as C,e as k,f as v,h as E,j as R,k as S,l as $,m as F,n as z,o as B}from"./chunk-5H2LWL6K.esm.js";import{a as h}from"./chunk-J73BJCFK.esm.js";import{c}from"./chunk-U4ODIBWG.esm.js";import{g as i}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";function G({inverted:t,theme:e}){return t?{"--background":e.colors.grayscale[0],"--color":e.colors.neutral[170]}:{"--background":e.colors.grayscale[80],"--color":e.colors.grayscale[0]}}n(G,"getContainerStyle");var r=i(c)`
|
|
2
2
|
position: absolute;
|
|
3
3
|
width: 8px;
|
|
4
4
|
height: 8px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as x,b as y,c as T,f as h}from"./chunk-
|
|
1
|
+
import{a as x,b as y,c as T,f as h}from"./chunk-O7P2XALT.esm.js";import{a as c}from"./chunk-THOEVSMN.esm.js";import{b as o}from"./chunk-TOYBV66A.esm.js";import{b as f}from"./chunk-752Z7BQF.esm.js";import{b as d}from"./chunk-W663AGNE.esm.js";import{b as p}from"./chunk-A6Z2M2XU.esm.js";import{d as u}from"./chunk-U27SLYIV.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var S=o("textarea")`
|
|
2
2
|
-webkit-appearance: none;
|
|
3
3
|
width: 100%;
|
|
4
4
|
outline: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b}from"./chunk-
|
|
1
|
+
import{b as F}from"./chunk-VVZ6FCG7.esm.js";import{b}from"./chunk-OEH5ARPF.esm.js";import{b as R}from"./chunk-752Z7BQF.esm.js";import{b as k}from"./chunk-BNB3KNKE.esm.js";import{b as S}from"./chunk-W663AGNE.esm.js";import{p as g}from"./chunk-44EW3LMK.esm.js";import{b as y}from"./chunk-A6Z2M2XU.esm.js";import{b as l}from"./chunk-JB7G6UGV.esm.js";import{b as h}from"./chunk-GP7NECT4.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var d=g(t=>t.startsWith("sm_")||t.startsWith("md_")||t.startsWith("lg_")||t.startsWith("xl_")),v=a((t,n)=>{let o={theme:n};return{...k(t)(),...h(t)(o),...y(t)(o),...S(t)(o),...l(t)(o),...b(t)(o),...R(t)(o),...F(t)(o)}},"getStyles"),p=["sm","md","lg","xl"],_=a(t=>n=>{let{theme:o,...e}={...t,...n};if(e!=null&&e.ignoreResponsive)return null;let r={};Object.keys(e).forEach(i=>{if(d(i)){let[m,c]=i.split("_"),f=e[i];m in r?r[m][c]=f:r[m]={[c]:f}}});let s={};return e!=null&&e.enableBreakpoint&&(e==null?void 0:e.enableBreakpoint)in r&&Object.assign(s,v(r[e==null?void 0:e.enableBreakpoint],o)),p.forEach(i=>{i in r&&(s[o.breakpoints.up(i)]=v(r[i],o))}),s},"ResponsiveFactory");export{_ as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as f,c as R,d as _,e as j,f as B}from"./chunk-DEAQAH6B.esm.js";import{g as A}from"./chunk-
|
|
1
|
+
import{b as f,c as R,d as _,e as j,f as B}from"./chunk-DEAQAH6B.esm.js";import{g as A}from"./chunk-O7P2XALT.esm.js";import{b as T,c as F,d as S,e as L,f as H,h as k,i as O,j as D,k as K,n as C,o as x}from"./chunk-5H2LWL6K.esm.js";import{o as P}from"./chunk-4WWVMB7R.esm.js";import{a as b}from"./chunk-EC3O6B7O.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import s,{forwardRef as Z,useMemo as c,useState as $}from"react";function N(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(N,"buildSyntheticEvent");var V="yyyy-MM-dd";function ee(e){if(!e)return;let n=_(e);return R(n)?n:void 0}t(ee,"toDate");function te(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(te,"resolveDisabled");var U=Z(({value:e,onChange:n,onValueChange:i,locale:o=j,minDate:u,maxDate:a,disabledDates:h,displayFormat:y="dd/MM/yyyy",name:M,placeholder:q,disabled:g,readOnly:m,...z},d)=>{let[v,I]=$(!1),p=c(()=>ee(e),[e]),G=c(()=>p?f(p,y,{locale:o}):"",[p,y,o]),J=c(()=>te(h,u,a),[h,u,a]),{refs:E,floatingStyles:Q,context:l}=K({open:v,onOpenChange:I,placement:"bottom-start",middleware:[H(4),F(),k({padding:8})],whileElementsMounted:T}),{getReferenceProps:W,getFloatingProps:X}=C([O(l,{enabled:!g&&!m}),D(l,{outsidePress:!0,escapeKey:!0}),x(l,{role:"dialog"})]),Y=t(r=>{if(!r)return;let w=f(r,V);i==null||i(w),n==null||n(N(M,w)),I(!1)},"handleSelect");return s.createElement(s.Fragment,null,s.createElement(A,{...z,ref:r=>{typeof d=="function"?d(r):d&&(d.current=r),E.setReference(r)},type:"text",disabled:g,readOnly:m,name:M,placeholder:q,value:G,onChange:t(r=>{},"handleInputChange"),inputMode:"none",autoComplete:"off",icon:s.createElement(P,{name:"calendar"}),iconPosition:"right",...W({onKeyDown:t(r=>{r.key.length===1&&r.key!==" "&&r.preventDefault()},"handleKeyDown")})}),v&&s.createElement(L,null,s.createElement(S,{context:l,modal:!1,initialFocus:-1},s.createElement("div",{ref:E.setFloating,style:Q,...X()},s.createElement(b,{p:"xs",borderRadius:"xs",deep:3},s.createElement(B,{mode:"single",selected:p,onSelect:Y,locale:o,defaultMonth:p,disabled:J,captionLayout:"dropdown",startMonth:u!=null?u:new Date(1970,0,1),endMonth:a!=null?a:new Date(2100,11,31)}))))))});U.displayName="InputDate";export{U as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{nanoid as r}from"nanoid";export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as i}from"./chunk-
|
|
1
|
+
import{c as i}from"./chunk-TOYBV66A.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var p=a(i.span)`
|
|
2
2
|
margin: 0;
|
|
3
3
|
font-family: ${({theme:e})=>e.font.fontFamily.main};
|
|
4
4
|
line-height: ${({theme:e})=>e.font.lineHeight.regular};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as H}from"./chunk-
|
|
1
|
+
import{c as H}from"./chunk-2UQUA5JQ.esm.js";import{b as D,c as F,d as R,e as b,f as y,g as v,h as E,i as x,j as C,k as M,m as T,n as h,o as N}from"./chunk-5H2LWL6K.esm.js";import{a as P}from"./chunk-BE2JDTVA.esm.js";import{a as w}from"./chunk-EC3O6B7O.esm.js";import{e as d}from"./chunk-44EW3LMK.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import o,{useEffect as q,useState as G}from"react";var J={left:"bottom-start",right:"bottom-end",center:"bottom"},L=r(({children:a,options:n,content:s,hoverable:A=!1,position:I="left",width:i,full:c})=>{if(!n&&!s)throw new Error('Dropdown deve receber "content" ou "options" props');let m=d(a),O=n?"menu":"dialog",[S,W]=G(),{active:l,enable:f,disable:g,toggle:k}=P(!1),{refs:u,floatingStyles:z,context:t,elements:p}=M({open:l,onOpenChange:r(e=>e?f():g(),"onOpenChange"),placement:J[I],middleware:[y(4),F(),E({padding:8})],whileElementsMounted:D}),{getReferenceProps:B,getFloatingProps:K}=h([x(t,{enabled:!m}),T(t,{enabled:A,move:!1,handleClose:v()}),C(t,{outsidePress:!0,escapeKey:!0}),N(t,{role:O})]);q(()=>{if(c&&p.reference){let e=p.reference.getBoundingClientRect();W(e.width)}},[c,p.reference]);let U=r(()=>{let e=m?a({isOpen:l,open:f,toggle:k}):a;return o.cloneElement(e,{ref:u.setReference,...B()})},"renderTrigger"),j=r(()=>{let e=s;return Array.isArray(n)&&(e=o.createElement(H,{gap:"zero",color:"primary.action",content:n})),d(s)&&(e=s({close:g})),o.createElement(w,{p:"xs",borderRadius:"xs",deep:2,width:i!=null?i:S},e)},"renderDropdownContent");return o.createElement(o.Fragment,null,U(),l&&o.createElement(b,null,o.createElement(R,{context:t,modal:!1,initialFocus:-1},o.createElement("div",{ref:u.setFloating,style:z,...K()},j()))))},"DropdownComponent");L.displayName="Dropdown";export{L as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-J73BJCFK.esm.js";import{a as f}from"./chunk-THOEVSMN.esm.js";import{j as v}from"./chunk-44EW3LMK.esm.js";import{g as c}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import n from"react";var u=r(({theme:t,disabled:y,variant:i})=>{let e=t.colors.neutral[180],s=t.colors.neutral[180];if(i!=="default"){let{base:g,dark:a}=i==="success"?t.colors.success:t.colors.danger;e=a,s=g}return y&&(e=t.colors.grayscale[30]),{"--colorLabel":e,"--colorHint":s}},"getFieldColor"),w=c(f)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
${u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as $}from"./chunk-3V3ZEGHO.esm.js";import{a as
|
|
1
|
+
import{a as $}from"./chunk-3V3ZEGHO.esm.js";import{a as Y}from"./chunk-BE2JDTVA.esm.js";import{a as q}from"./chunk-2FQC32AA.esm.js";import{a as H,d as B,f as I,h as F,i as G,p as W}from"./chunk-44EW3LMK.esm.js";import{f as j}from"./chunk-APD22JEO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var re=W((e,n)=>{switch(e){case"expansive":return{padding:n.spacing("medium","small"),fontSize:n.font.fontSize.small,borderRadius:n.border.borderRadius.xs,height:54};case"compact":return{padding:n.spacing("zero","small"),fontSize:n.font.fontSize.small,borderRadius:n.border.borderRadius.xs,height:38};case"micro":return{padding:n.spacing("zero","small"),fontSize:n.font.fontSize.micro,borderRadius:n.border.borderRadius.micro,height:26};default:return{padding:n.spacing("xs","small"),fontSize:n.font.fontSize.small,lineHeight:n.font.lineHeight.close,borderRadius:n.border.borderRadius.xs,height:46}}});function J(e,n,c={}){let{defaultBorderColor:m,dark:p}=(()=>{switch(n){case"error":return{dark:e.colors.danger.dark,defaultBorderColor:e.colors.danger.base};case"success":return{dark:e.colors.success.dark,defaultBorderColor:e.colors.success.base};default:return{dark:e.colors.primary.dark,defaultBorderColor:e.colors.neutral[40]}}})(),l=e.colors.neutral[100],g=e.colors.neutral[20],a=e.colors.neutral[50],T=e.colors.neutral[10],k=e.colors.neutral[10],w=e.colors.neutral[150],S=e.colors.neutral[150],x=e.spacing("small"),C=e.spacing("micro");return{container:t((o,i)=>({...o,width:i.selectProps.width,...c,fontFamily:e.font.fontFamily.main}),"container"),control:t((o,{isDisabled:i,selectProps:s})=>{let u=i?"transparent":m,y=re(s.size,e);return{...o,...y,borderColor:u,borderWidth:1,minHeight:void 0,background:i?T:"#fff",boxShadow:e.depth("level-one-minus"),"&:hover, &:focus":{boxShadow:"none",borderColor:u}}},"control"),valueContainer:t((o,{isMulti:i})=>{let s=i?`calc(${C} * -1) 0`:0;return{...o,margin:s,padding:0,lineHeight:1}},"valueContainer"),input:t(o=>({...o,padding:0,margin:0,fontSize:"1rem"}),"input"),singleValue:t(o=>({...o,color:p}),"singleValue"),multiValue:t(o=>({...o,margin:C,fontSize:"0.75rem",background:k,"& svg":{color:S,strokeWidth:1},"& > div:first-of-type":{color:w}}),"multiValue"),multiValueLabel:t(o=>({...o,padding:e.spacing(0,"micro"),lineHeight:e.font.lineHeight.regular}),"multiValueLabel"),multiValueRemove:t(o=>({...o,background:g,cursor:"pointer","&:hover":{background:T}}),"multiValueRemove"),placeholder:t((o,{isDisabled:i})=>({...o,color:i?a:p}),"placeholder"),indicatorsContainer:t((o,{isDisabled:i})=>({...o,lineHeight:1,display:"inline-flex",alignItems:"center",alignSelf:"center","& > div":{paddingTop:0,paddingBottom:0},"& svg":{color:i?a:l,fontSize:"inherit",width:"1em",height:"1em"}}),"indicatorsContainer"),indicatorSeparator:t((o,{isDisabled:i})=>({...o,margin:0,height:"1rem",alignSelf:"center",borderColor:i?a:l,backgroundColor:i?a:l}),"indicatorSeparator"),menu:t(o=>({...o,borderRadius:8,overflow:"hidden",boxShadow:e.depth("level-three"),marginTop:C,padding:0}),"menu"),menuList:t(o=>({...o,borderRadius:8,border:"1px solid #fff",padding:0,"& div:not(:first-of-type)":{borderTop:"1px solid #fff"}}),"menuList"),option:t((o,i)=>{let s=e.colors.baseLight;return i.isSelected&&(s=e.colors.neutral[5]),i.isFocused&&(s=e.colors.neutral[20]),{...o,color:e.colors.primary.dark,backgroundColor:s,cursor:"pointer",textAlign:"left",padding:x,lineHeight:"1.2rem","&:active":{color:e.colors.baseLight,backgroundColor:e.colors.primary.base}}},"option"),clearIndicator:t(o=>({...o,cursor:"pointer"}),"clearIndicator"),dropdownIndicator:t(o=>({...o,cursor:"pointer",paddingRight:0}),"dropdownIndicator")}}t(J,"createComponentStyle");import Z,{forwardRef as ne,useImperativeHandle as ie,useMemo as ae,useState as se}from"react";import r from"react";import K,{components as z}from"react-select";import L from"react-select/async";var N=K;function Q(e){return r.createElement(z.DropdownIndicator,{...e},r.createElement("div",{style:{width:24}},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{margin:"auto",background:"0 0"},viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",display:"block"},r.createElement("defs",null),r.createElement("g",{transform:"translate(80 50)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",transform:"scale(1.37926)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.875s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.875s"}))),r.createElement("g",{transform:"rotate(45 -50 122)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".9",transform:"scale(1.44176)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.75s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.75s"}))),r.createElement("g",{transform:"rotate(90 -15 65)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".8",transform:"scale(1.00426)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.625s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.625s"}))),r.createElement("g",{transform:"rotate(135 0 42)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".6",transform:"scale(1.06676)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.5s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.5s"}))),r.createElement("g",{transform:"rotate(180 10 25)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".5",transform:"scale(1.12926)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.375s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.375s"}))),r.createElement("g",{transform:"rotate(-135 20 8)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".4",transform:"scale(1.19176)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.25s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.25s"}))),r.createElement("g",{transform:"rotate(-90 35 -15)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".3",transform:"scale(1.25426)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.125s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.125s"}))),r.createElement("g",{transform:"rotate(-45 70 -72)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".1",transform:"scale(1.31676)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"0s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"0s"}))))))}t(Q,"DropdownIndicator");import{useCallback as oe,useRef as te}from"react";function A(e,n){if(!(!e||G(n))){if(I(e))return e;if(F(e))return n.find(c=>c.value===e);if(Array.isArray(e)){if(e.every(c=>typeof c=="string"))return n.filter(c=>e.includes(c.value));if(e.every(I))return e}}}t(A,"getDefaultValue");function X(e){let n=te(e),{active:c,disable:m,enable:p}=Y();$(()=>{n.current=e});let l=oe(async g=>{try{p();let a=await n.current(g);if(Array.isArray(a))return a;throw new Error('"LoadOptions" prop did not return the expected result')}catch(a){H.error(a==null?void 0:a.message)}finally{m()}},[p,m]);return[c,l]}t(X,"useLoadOptions");function le(e,n){let{loadingPlaceholder:c="Carregando (aguarde)...",emptyMessage:m="Sem Op\xE7\xF5es",isLoading:p,onChange:l,loadOptions:g,onItemSelect:a,variant:T,style:k,readOnly:w,value:S,hideSelectedOptions:x=!1,menuPlacement:C="bottom",placeholder:o="Selecione...",size:i="medium",...s}=e,[u,y]=se(()=>{let{options:d,defaultValue:b}=s;return A(b||S,d)}),P=t(d=>{y(d||[]);let b=B(d);if(l&&l(d?b:[]),s.isMulti&&a){let h=Array.isArray(u)&&u.length,O=b.length,M=t(()=>{let f=u||[];l&&l(f),y(f)},"cancelAction");if(O===0)u.forEach(f=>{a({option:f,type:"REMOVE",cancelAction:t(()=>y(V=>{let v=[...V,f];return l&&l(v),v}),"cancelAction")})});else if(O>h)a({option:b[O-1],type:"ADD",cancelAction:M});else if(O<h){let f=u.find(V=>!b.some(v=>v.value===V.value));a({option:f,type:"REMOVE",cancelAction:M})}}},"onChangeValue");q(()=>{y(S||[])},[S]),ie(n,()=>({setValue:t(d=>{P(A(d,s.options))},"setValue")}));let[U,R]=X(g),D=j(),ee=ae(()=>J(D,T,k),[D,T,k]),E={ref:n,...s,size:i,hideSelectedOptions:x,menuPlacement:C,placeholder:o,...(p||U)&&{components:{DropdownIndicator:Q,LoadingIndicator:null},placeholder:c,isDisabled:!0},closeMenuOnSelect:!s.isMulti,styles:ee,value:u,noOptionsMessage:t(()=>m,"noOptionsMessage"),onChange:P,...w&&{isClearable:!1,isSearchable:!1,openMenuOnClick:!1,menuIsOpen:!1}};return g?Z.createElement(L,{...E,cacheOptions:!0,defaultOptions:!0,loadOptions:R}):Z.createElement(N,{...E})}t(le,"InputSelectComponent");var _=ne(le);_.displayName="InputSelect";export{J as a,_ as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b}from"./chunk-
|
|
1
|
+
import{b}from"./chunk-V2CHFCNJ.esm.js";import{d as a}from"./chunk-C2HYRKZ5.esm.js";import{a as C}from"./chunk-CDRLVSLF.esm.js";import{a as t}from"./chunk-THOEVSMN.esm.js";import{g as r}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import l from"react";var m=r(b)``;var e=o(c=>{let{getAllSelected:n}=l.useContext(C);return l.createElement(m,{bgColor:"baseLight"},l.createElement(t,{justifyContent:"center"},l.createElement(a,{label:c.children,onChange:x=>n(x.target.checked)})))},"TableHeaderCheckboxCellComponent");e.displayName="TableHeaderCheckboxCell";export{m as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as l}from"./chunk-
|
|
1
|
+
import{b as l}from"./chunk-M3BBRFF2.esm.js";import{d as o}from"./chunk-J73BJCFK.esm.js";import{a as r}from"./chunk-THOEVSMN.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import e from"react";var n=m(({initialPagination:t,finalPagination:i,linesPerPage:a,totalPagination:p})=>t&&i&&p&&Array.isArray(a)?e.createElement(r,{flexDirection:"row",justifyContent:"between",alignItems:"center"},e.createElement(o,{color:"primary.dark"},"Exibindo ",t," - ",i," de ",p," itens"),e.createElement(r,{flexDirection:"row",justifyContent:"center",alignItems:"center",gap:2},e.createElement(o,{color:"primary.dark"},"Linhas por p\xE1gina"),e.createElement(l,{width:"150px",options:a}))):null,"TablePaginationComponent");n.displayName="TablePagination";export{n as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-J73BJCFK.esm.js";import{a as g}from"./chunk-THOEVSMN.esm.js";import{c as l}from"./chunk-U4ODIBWG.esm.js";import{g as t}from"./chunk-APD22JEO.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import n,{forwardRef as B}from"react";function h({size:e,border:o}){let r;switch(e){case"extraSmall":r={height:"0.25rem",borderRadius:"micro",mb:"micro"};break;case"small":r={height:"0.5rem",borderRadius:"xs",mb:"micro"};break;case"large":r={height:"1rem",borderRadius:"md",mb:"small"};break;default:r={height:"0.75rem",borderRadius:"sm",mb:"xs"}}return o||(r.borderRadius=void 0),r}m(h,"progressOverlayProps");var f=t(l).attrs(h)`
|
|
2
2
|
background: var(--bg-overlay);
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p,o as c}from"./chunk-
|
|
1
|
+
import{a as p,o as c}from"./chunk-4WWVMB7R.esm.js";import{a,b as h}from"./chunk-53R7OVXP.esm.js";import{a as g}from"./chunk-THOEVSMN.esm.js";import{c as I}from"./chunk-TOYBV66A.esm.js";import{b as s}from"./chunk-VVZ6FCG7.esm.js";import{b as m}from"./chunk-A6Z2M2XU.esm.js";import{b as i,g as f}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";function T(){return i`
|
|
2
2
|
color: var(--dark-color);
|
|
3
3
|
border-color: var(--border-color);
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as I}from"./chunk-43YSWDK6.esm.js";import{g as y}from"./chunk-
|
|
1
|
+
import{a as I}from"./chunk-43YSWDK6.esm.js";import{g as y}from"./chunk-O7P2XALT.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import S,{forwardRef as V,useMemo as O,useState as h}from"react";function c(e){return e.replace(/\D/g,"")}n(c,"removeNonDigits");function C(e,r="."){return c(e).replace(/\B(?=(\d{3})+(?!\d))/g,r)}n(C,"formatNumber");function f(e,r){let t=e;if(r.prefix&&t&&(t=e.replaceAll(r.prefix,"").trim()),t==="")return t;let{decimal:i,thousand:o,validate:m}=r,s=t.indexOf(i);if(s>=0){let a=t.substring(0,s),u=t.substring(s);a=C(a,o),m&&(u=`${u}00`),u=c(u).substring(0,2),t=`${a}${i}${u}`}else t=C(t),m&&(t+=`${i}00`);return t}n(f,"formatCurrency");function F(e,r=","){if(typeof e=="number")return e;try{let t=e.indexOf(r);if(t>=0){let i=c(e.substring(0,t)),o=c(e.substring(t));return+`${i}.${o}`}return Number(c(e))}catch(t){return console.log("Failed to convert string to Number"),0}}n(F,"currencyToNumber");function $(e,r){let t=e;return typeof t=="number"&&(t=t.toLocaleString("pt-BR",{style:"decimal"})),f(t,{validate:!0,...r})}n($,"getInitialCurrencyValue");var E=V(({onChange:e,value:r,decimal:t=",",thousand:i=".",prefix:o="R$",...m},s)=>{let[a,u]=h(()=>r?$(r,{decimal:t,thousand:i,prefix:o}):""),p=O(()=>I(l=>e==null?void 0:e(l),250),[e]),d=n((l,N)=>{var b;let g=f((b=l.target.value)!=null?b:"",{validate:N,decimal:t,thousand:i,prefix:o});u(g),p(g)},"handleChange"),v=n(()=>{u(""),p("")},"resetValues"),x=o?`${o} ${a}`:a;return S.createElement(y,{...m,ref:s,reset:v,value:x,onChange:d,onBlur:l=>d(l,!0)})});E.displayName="InputCurrency";export{f as a,F as b,$ as c,E as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as L}from"./chunk-
|
|
1
|
+
import{g as L}from"./chunk-O7P2XALT.esm.js";import{a as W}from"./chunk-JD7UXJES.esm.js";import{o as v}from"./chunk-4WWVMB7R.esm.js";import{e as j}from"./chunk-BYRL7X5M.esm.js";import{a as Se}from"./chunk-2FQC32AA.esm.js";import{d as w}from"./chunk-J73BJCFK.esm.js";import{a as P}from"./chunk-THOEVSMN.esm.js";import{a as Te}from"./chunk-BJFSNET7.esm.js";import{c as h}from"./chunk-U4ODIBWG.esm.js";import{h as he}from"./chunk-44EW3LMK.esm.js";import{f as ye,g as C}from"./chunk-APD22JEO.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import a from"react";import g from"react";var N=C(h)(({theme:e})=>({margin:0,padding:"0 0.5rem",minHeight:40,lineHeight:1.2,display:"flex",flexDirection:"row",alignItems:"center",color:e.colors.neutral[180],whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontFamily:e.font.fontFamily.main})),E=C(h)`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: stretch;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o as D}from"./chunk-
|
|
1
|
+
import{o as D}from"./chunk-4WWVMB7R.esm.js";import{a as y,b as F}from"./chunk-53R7OVXP.esm.js";import{e as S}from"./chunk-BYRL7X5M.esm.js";import{a as T}from"./chunk-BE2JDTVA.esm.js";import{e as z}from"./chunk-H6RGCTRX.esm.js";import{a as k,d as P}from"./chunk-J73BJCFK.esm.js";import{a as I}from"./chunk-ZRIEVBTB.esm.js";import{a as p}from"./chunk-THOEVSMN.esm.js";import{a as O}from"./chunk-BJFSNET7.esm.js";import{a as $,c as v,d as b}from"./chunk-U4ODIBWG.esm.js";import{a as E}from"./chunk-44EW3LMK.esm.js";import{d as h}from"./chunk-V5AWVNU6.esm.js";import{b as c,g as i}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var U=c`
|
|
2
2
|
max-width: 30rem;
|
|
3
3
|
min-width: 20rem;
|
|
4
4
|
`,X=c`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as a}from"./chunk-
|
|
1
|
+
import{b as a}from"./chunk-BXLZT77M.esm.js";import{e as f}from"./chunk-H6RGCTRX.esm.js";import{a as i}from"./chunk-THOEVSMN.esm.js";import{g as e}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var m={xs:{columns:"100%",rows:"100%",areas:`
|
|
2
2
|
"content"
|
|
3
3
|
`}};var n=e(a).attrs({medias:m})`
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as i}from"./chunk-
|
|
1
|
+
import{b as i}from"./chunk-TOYBV66A.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var v=o(({size:t,dimensions:r})=>{if(t)return{width:t,height:t};if(r){let{width:e,height:f,ratio:l}=r;if(f)return{width:e,height:f};if(l)return typeof e=="number"?{width:e,height:e/l}:e.endsWith("px")?{width:e,height:`calc(${e} / ${l})`}:{width:e,height:"auto"}}return{width:"1em",height:"1em"}},"getComputedSize"),d=o(t=>`fill: ${t.colors.getColor(t.colors.danger)};`,"getFillProps"),g=i("svg")`
|
|
2
2
|
${t=>({...v(t)})}
|
|
3
3
|
${({error:t,theme:r})=>t&&d(r)}
|
|
4
4
|
`,D=o(t=>`transform: ${t};`,"getTransformProps"),m=i("g")`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as f,b as i}from"./chunk-Q6KSPMLW.esm.js";import{b as n}from"./chunk-
|
|
1
|
+
import{a as f,b as i}from"./chunk-Q6KSPMLW.esm.js";import{b as n}from"./chunk-5BR6JTC5.esm.js";import{a as b}from"./chunk-CDRLVSLF.esm.js";import{d as a}from"./chunk-J73BJCFK.esm.js";import{g as T}from"./chunk-APD22JEO.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import o from"react";var p=T.tfoot`
|
|
2
2
|
width: 100%;
|
|
3
3
|
& > ${f} {
|
|
4
4
|
background-color: ${({theme:r})=>r.colors.getColor(r.colors.neutral[20])};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as A}from"./chunk-
|
|
1
|
+
import{a as A}from"./chunk-H4CYNDAM.esm.js";import{a as f,b as d}from"./chunk-VVZ6FCG7.esm.js";import{a as g,b as x}from"./chunk-OEH5ARPF.esm.js";import{a as u,b as F}from"./chunk-752Z7BQF.esm.js";import{a as K,b as P}from"./chunk-BNB3KNKE.esm.js";import{a as S,b as v}from"./chunk-W663AGNE.esm.js";import{a as n,b as p}from"./chunk-A6Z2M2XU.esm.js";import{a,d as s}from"./chunk-U27SLYIV.esm.js";import{a as l,b as m}from"./chunk-JB7G6UGV.esm.js";import{a as y,b as c}from"./chunk-GP7NECT4.esm.js";import{g as b}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import C from"@emotion/is-prop-valid";var e=C;var i=null,h=r(()=>(i===null&&(i=new Set([...y,...n,...S,...a,...l,...f,...u,...g,...K,"variant","active"])),i),"getCustomPropNames"),w=r(o=>!h().has(o)&&e(o),"shouldForwardProp"),E=r((o=>b(o).withConfig({shouldForwardProp:w})),"styled"),t=r(o=>E(o)(c({position:"relative"}),x,v,s,p,F,m,d,P,A),"buildElement"),O={a:t("a"),div:t("div"),span:t("span"),input:t("input"),button:t("button")};export{e as a,E as b,O as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o}from"./chunk-
|
|
1
|
+
import{c as o}from"./chunk-TOYBV66A.esm.js";import{AnimatePresence as i,motion as e,MotionConfig as m,useReducedMotion as p}from"framer-motion";var t=o.div,c=e.create(t);export{i as a,e as b,t as c,c as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-J73BJCFK.esm.js";import{c as d}from"./chunk-U4ODIBWG.esm.js";import{b as n,g as s}from"./chunk-APD22JEO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var a=s.input`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 0;
|
|
4
4
|
top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-V2CHFCNJ.esm.js";import{a as I}from"./chunk-NYWQDBFO.esm.js";import{a as T}from"./chunk-Q6KSPMLW.esm.js";import{g as z}from"./chunk-O7P2XALT.esm.js";import{a as S}from"./chunk-JD7UXJES.esm.js";import{a as F}from"./chunk-KB2USQJE.esm.js";import{a as c}from"./chunk-7LG563DZ.esm.js";import{a as s}from"./chunk-5BR6JTC5.esm.js";import{a as L}from"./chunk-CDRLVSLF.esm.js";import{b as B}from"./chunk-Y2T3ENA4.esm.js";import{o as $}from"./chunk-4WWVMB7R.esm.js";import{a as H,d as C}from"./chunk-J73BJCFK.esm.js";import{a as m}from"./chunk-THOEVSMN.esm.js";import{b as v}from"./chunk-A6Z2M2XU.esm.js";import{d as D}from"./chunk-U27SLYIV.esm.js";import{b as a,g as k}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import t,{useEffect as ie,useState as w}from"react";function U(e){switch(e){case"Compact":return a`
|
|
2
2
|
& ${d} {
|
|
3
3
|
padding: ${({theme:n})=>n.spacing("micro")};
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as C}from"./chunk-MJ7ZMPLR.esm.js";import{d as m}from"./chunk-
|
|
1
|
+
import{a as C}from"./chunk-MJ7ZMPLR.esm.js";import{d as m}from"./chunk-J73BJCFK.esm.js";import{a as n}from"./chunk-ZRIEVBTB.esm.js";import{b as a}from"./chunk-A6Z2M2XU.esm.js";import{g as t}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import r from"react";var d=t.th`
|
|
2
2
|
${C}
|
|
3
3
|
${a}
|
|
4
4
|
`;var e=o(l=>r.createElement(d,{...l,bgColor:l.bgColor||void 0},r.createElement(n,null,r.createElement(m,{color:"neutral.170",fontWeight:"stronger"},l.children))),"TableHeaderCellComponent");e.displayName="TableHeaderCell";export{d as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as c,o as f}from"./chunk-
|
|
1
|
+
import{m as c,o as f}from"./chunk-4WWVMB7R.esm.js";import{d as m}from"./chunk-J73BJCFK.esm.js";import{a as p}from"./chunk-THOEVSMN.esm.js";import{g}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import s from"react";function h(t){return t==="extraLarge"?"xl":t==="giant"?"xxl":t}a(h,"getIconSize");function l({theme:t,size:n,label:e}){let{fontSize:o}=t.font,i=(e==null?void 0:e.length)||0;switch(n){case"small":{let r=t.spacing("medium");return{width:r,height:r,fontSize:o.micro}}case"large":{let r=t.spacing("xl");return{width:r,height:r,fontSize:i===1?o.xxl:o.large}}case"extraLarge":{let r=t.spacing("xxl");return{width:r,height:r,fontSize:i===1?o.gargantua:o.giant}}case"giant":{let r=t.spacing("giant");return{width:r,height:r,fontSize:o.gargantua}}default:{let r=t.spacing("large");return{width:r,height:r,fontSize:i===1?o.medium:o.xs}}}}a(l,"getSizes");var u=g(p)(l);function x({imgSrc:t,icon:n,size:e,label:o}){return t?s.createElement(c,{width:"100%",height:"100%",src:t,"data-testid":"avatar-image"}):n?s.createElement(f,{name:n,size:h(e),"data-testid":"avatar-icon"}):s.createElement(m,{textTransform:"uppercase"},o)}a(x,"getContent");var d=a(({size:t,icon:n,imgSrc:e,label:o,...i})=>s.createElement(u,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"grayscale.5",color:"primary.base",label:o,size:t,...i},x({size:t,icon:n,imgSrc:e,label:o})),"Avatar");d.displayName="Avatar";export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as y}from"./chunk-
|
|
1
|
+
import{d as y}from"./chunk-UUVZW6VR.esm.js";import{d as h}from"./chunk-C2HYRKZ5.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import m,{Children as R,useCallback as T,useMemo as g}from"react";function N(e){return Array(e).fill("min-content").join(" ")}o(N,"createSpace");function v(e){return e?N(e):"1fr"}o(v,"getGridColumns");function k(e){let l=e&&e.row?e.row:e,u=e&&e.column?e.column:e;return[l,u]}o(k,"getGridGap");var x=o(e=>{let{name:l,variant:u,gap:s="Compact",columns:p,value:t,inputs:f,children:F,onChange:d,type:c,...j}=e,b=g(()=>v(p),[p]),[w,A]=g(()=>k(s),[s]),C=T((r,n)=>a=>{if(!d||!l)return;let i=null;c==="radio"?i=n:r&&Array.isArray(t)?i=t.filter(M=>M!==n):i=[...t||[],n],d(i)},[l,t,d,c]);function G(r){return Array.isArray(t)?!!t.includes(r):r===t}o(G,"isInputChecked");function I(){let r=c==="radio"?y:h;return f.map(n=>{let a=G(n.value),i=c==="radio"?l:n.name;return m.createElement(r,{...n,key:n.value,variant:u,name:i,checked:a,onChange:C(a,n.value)})})}o(I,"renderInputs");function E(){return R.map(F,r=>{if(!m.isValidElement(r))return null;let n=r.props.value,a=G(t);return m.cloneElement(r,{onChange:C(a,n),checked:a})})}return o(E,"renderChildren"),m.createElement("div",{style:{display:"grid",gridRowGap:w,gridColumnGap:A,gridTemplateColumns:b}},f?I():E())},"FieldGroupComponent");x.displayName="FieldGroup";export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as m}from"./chunk-
|
|
1
|
+
import{o as m}from"./chunk-4WWVMB7R.esm.js";import{d as r}from"./chunk-J73BJCFK.esm.js";import{a as o}from"./chunk-THOEVSMN.esm.js";import{g as n}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import e from"react";var p=n(o).attrs(t=>({bgColor:"neutral.5",...t}))``;var i=a(t=>e.createElement(p,{width:"100%",justifyContent:"center",alignItems:"center",gap:2,p:"xl",...t},t.iconPropsEmpty?e.createElement(m,{...t.iconPropsEmpty}):e.createElement(m,{name:"pictures",size:"xl",color:"primary.dark"}),e.createElement(o,{width:"50%"},e.createElement(r,{variant:"h5",color:"primary",textAlign:"center"},t.titleEmpty?t.titleEmpty:"Nada foi encontrado"),e.createElement(r,{variant:"p",color:"primary",textAlign:"center"},t.subtitleEmpty?t.subtitleEmpty:"Tente ajustar os par\xE2metros dos filtros ou tente um novo termo para a busca."))),"TableEmptyComponent");export{p as a,i as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as z}from"./chunk-
|
|
1
|
+
import{a as z}from"./chunk-LP4ND77J.esm.js";import{b as v}from"./chunk-BXLZT77M.esm.js";import{e as w}from"./chunk-BYRL7X5M.esm.js";import{a as C}from"./chunk-THOEVSMN.esm.js";import{g as I,n as T}from"./chunk-44EW3LMK.esm.js";import{g as F}from"./chunk-APD22JEO.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";var Z=F(C).attrs({as:"form",width:"100%"})``,j=F(v).attrs({as:"form",width:"100%"})``;import{z as l,ZodError as L}from"zod";function P(e){var t;return(t=e==null?void 0:e.value)!=null?t:e}m(P,"normalizeValues");function k(e,t,i){let r=T(P,e);i(r,t)}m(k,"prepareSubmit");function U(e){let t=Object.keys(e).reduce((i,r)=>{var a;let p=(a=e[r].validation)!=null?a:l.unknown().optional();return{...i,[r]:p}},{});return l.object(t)}m(U,"getValidationSchema");var le=m(e=>e,"newField");import S,{forwardRef as Q,useEffect as W,useImperativeHandle as X,useState as Y}from"react";import g from"fast-deep-equal";var c=g;import{Controller as D,useFieldArray as J,useForm as x,useFormContext as M}from"react-hook-form";import{zodResolver as y}from"@hookform/resolvers/zod";var _=m((e,t)=>{let{initialValues:i,children:r,submitLabel:p,fields:a,handleSubmit:O,conditionalFields:b,mode:d,medias:R,onError:u,...q}=e,G=U(a),n=x({defaultValues:{...i},resolver:y(G),mode:d!=null?d:"onSubmit"});X(t,()=>n);let f=n.watch(),s=n.formState.errors,[h,N]=Y(()=>s);W(()=>{u&&!c(h,s)&&(I(s)||u(s),N(s))},[h,s,u]);let A=R?j:Z,H=n.handleSubmit(o=>k(o,n,O)),B=m(()=>typeof r=="undefined"?S.createElement(w,{disabled:n.formState.isSubmitting,type:"submit",text:p||"Enviar",color:"primary",area:"button"}):typeof r=="function"?r(f):r,"renderChildren");return S.createElement(A,{medias:R,...q,onSubmit:H},Object.keys(a).map(o=>{let V=S.createElement(z,{...a[o],key:o,name:o,area:o,value:f[o],errors:s[o],setFieldValue:n.setValue}),E=b&&b[o];return E?E(f)?V:null:V}),B())},"FormInputComponent"),$=Q(_);export{Z as a,j as b,P as c,k as d,U as e,le as f,$ as g};
|