@apollion-dsi/core 7.1.0 → 7.3.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/{Dropdown.floating-7EM6JR7N.esm.js → Dropdown.floating-J32D2QRS.esm.js} +1 -1
- package/lib/chunks/{Notification.group-4FQM35YN.esm.js → Notification.group-AS4LA5D6.esm.js} +1 -1
- package/lib/chunks/{Tooltip.floating-IEWE6XP4.esm.js → Tooltip.floating-3ONULW2L.esm.js} +1 -1
- package/lib/chunks/{chunk-RNAHUZE7.esm.js → chunk-2EYK6SOO.esm.js} +1 -1
- package/lib/chunks/{chunk-42TLD4GM.esm.js → chunk-2SNAO7NC.esm.js} +1 -1
- package/lib/chunks/{chunk-N5QK3LZW.esm.js → chunk-2Y4WLA5I.esm.js} +1 -1
- package/lib/chunks/chunk-3LYH4EYD.esm.js +1 -0
- package/lib/chunks/{chunk-UHABJEDB.esm.js → chunk-3ULXR3PR.esm.js} +1 -1
- package/lib/chunks/{chunk-4DUZ532N.esm.js → chunk-4AZHB45P.esm.js} +1 -1
- package/lib/chunks/{chunk-57RF3T2U.esm.js → chunk-4IYOKQA7.esm.js} +1 -1
- package/lib/chunks/chunk-4SDDAQ6N.esm.js +1 -0
- package/lib/chunks/{chunk-CTFEQBY7.esm.js → chunk-5HZUIEYR.esm.js} +1 -1
- package/lib/chunks/{chunk-KU2OQ3LP.esm.js → chunk-5RKOPGWH.esm.js} +1 -1
- package/lib/chunks/chunk-5UYRWNCM.esm.js +39 -0
- package/lib/chunks/{chunk-3ICGUDL7.esm.js → chunk-67E7VWGJ.esm.js} +1 -1
- package/lib/chunks/{chunk-UNYBUDKE.esm.js → chunk-6VBJ7CSY.esm.js} +1 -1
- package/lib/chunks/{chunk-ETEH25BP.esm.js → chunk-7UXK4EG7.esm.js} +1 -1
- package/lib/chunks/{chunk-JY6IWPBO.esm.js → chunk-A4N7BBKS.esm.js} +1 -1
- package/lib/chunks/{chunk-MYGV5PMT.esm.js → chunk-AH6Y5HZ7.esm.js} +1 -1
- package/lib/chunks/{chunk-OUTATATT.esm.js → chunk-CAE4JJJR.esm.js} +1 -1
- package/lib/chunks/{chunk-AM56FZLE.esm.js → chunk-CGPZLU4O.esm.js} +1 -1
- package/lib/chunks/chunk-CXAWY4CK.esm.js +1 -0
- package/lib/chunks/{chunk-CC5NKEXF.esm.js → chunk-E4B4OTEY.esm.js} +1 -1
- package/lib/chunks/{chunk-R3VRFUEK.esm.js → chunk-EPAHWTZU.esm.js} +1 -1
- package/lib/chunks/{chunk-LPIWPCM4.esm.js → chunk-FK5R4PVA.esm.js} +1 -1
- package/lib/chunks/{chunk-ZQ5JOSGH.esm.js → chunk-GHPI3RFU.esm.js} +1 -1
- package/lib/chunks/chunk-GZSGD3CF.esm.js +1 -0
- package/lib/chunks/{chunk-4TQV5FFJ.esm.js → chunk-H4CHFD6I.esm.js} +1 -1
- package/lib/chunks/{chunk-GWC4QADH.esm.js → chunk-IIC6OHTB.esm.js} +1 -1
- package/lib/chunks/{chunk-J2ZPCUOE.esm.js → chunk-IJBZ45BC.esm.js} +1 -1
- package/lib/chunks/{chunk-JLUNVLUS.esm.js → chunk-IV6ORC5K.esm.js} +1 -1
- package/lib/chunks/{chunk-TBWTTUID.esm.js → chunk-JCPRNQ6K.esm.js} +1 -1
- package/lib/chunks/{chunk-XTYYQH7J.esm.js → chunk-JHPEWQBA.esm.js} +1 -1
- package/lib/chunks/{chunk-EFFENLBC.esm.js → chunk-K2FNA2E5.esm.js} +1 -1
- package/lib/chunks/{chunk-5ILT45RQ.esm.js → chunk-KGR36P56.esm.js} +1 -1
- package/lib/chunks/{chunk-UQVJ7IG5.esm.js → chunk-KK7GJC3H.esm.js} +1 -1
- package/lib/chunks/{chunk-EK6YOJCW.esm.js → chunk-KMD7LUDX.esm.js} +1 -1
- package/lib/chunks/{chunk-YA5EBWSR.esm.js → chunk-KP35QBYF.esm.js} +1 -1
- package/lib/chunks/{chunk-CNJA3S6G.esm.js → chunk-KVWFEJRW.esm.js} +1 -1
- package/lib/chunks/{chunk-ODL6ZIU7.esm.js → chunk-LS3AMOAD.esm.js} +1 -1
- package/lib/chunks/{chunk-FBHZTBNG.esm.js → chunk-NSMXX277.esm.js} +1 -1
- package/lib/chunks/{chunk-H7ADZSZ7.esm.js → chunk-O5ZHMMMV.esm.js} +1 -1
- package/lib/chunks/{chunk-BHRDNR3A.esm.js → chunk-OEQN4UYJ.esm.js} +1 -1
- package/lib/chunks/{chunk-H4XR4LGF.esm.js → chunk-OULN77LP.esm.js} +1 -1
- package/lib/chunks/{chunk-HGOJTQ3L.esm.js → chunk-OVUUG4UQ.esm.js} +1 -1
- package/lib/chunks/{chunk-VUK26WF2.esm.js → chunk-PV4PSGB7.esm.js} +1 -1
- package/lib/chunks/chunk-PXPFWWKL.esm.js +1 -0
- package/lib/chunks/{chunk-UACWLLHE.esm.js → chunk-QHRNEUNP.esm.js} +1 -1
- package/lib/chunks/{chunk-ET2EP4QA.esm.js → chunk-QIN2X7SN.esm.js} +1 -1
- package/lib/chunks/{chunk-MMKXCJ23.esm.js → chunk-QL2OVYDI.esm.js} +1 -1
- package/lib/chunks/{chunk-X2CMFDNG.esm.js → chunk-RHRKGRQP.esm.js} +1 -1
- package/lib/chunks/{chunk-UDQ3TYVZ.esm.js → chunk-S2SVVZOG.esm.js} +1 -1
- package/lib/chunks/{chunk-ULRUO4J4.esm.js → chunk-S7AKJ6C3.esm.js} +1 -1
- package/lib/chunks/{chunk-GHDDFAEP.esm.js → chunk-S7Y2IM73.esm.js} +1 -1
- package/lib/chunks/{chunk-R2TPABZ3.esm.js → chunk-TWGEF7LA.esm.js} +1 -1
- package/lib/chunks/{chunk-IQWHAMQB.esm.js → chunk-UN3R576I.esm.js} +1 -1
- package/lib/chunks/chunk-V3JQI7KV.esm.js +20 -0
- package/lib/chunks/{chunk-7PFH2RKV.esm.js → chunk-VCA76NG3.esm.js} +1 -1
- package/lib/chunks/{chunk-GC5QKJHS.esm.js → chunk-VMNCGW4Z.esm.js} +1 -1
- package/lib/chunks/{chunk-O2EYNJ7I.esm.js → chunk-WEZKDYTI.esm.js} +1 -1
- package/lib/chunks/{chunk-HD42Q2PS.esm.js → chunk-WU3U64UA.esm.js} +1 -1
- package/lib/chunks/{chunk-ZJ3V4V3H.esm.js → chunk-X2ARVSJZ.esm.js} +1 -1
- package/lib/chunks/{chunk-62CVSGJD.esm.js → chunk-XCJYI6FQ.esm.js} +1 -1
- package/lib/chunks/{chunk-DKLZWHQO.esm.js → chunk-XR6VYETA.esm.js} +1 -1
- package/lib/chunks/{chunk-YSSFTYCU.esm.js → chunk-Z2YRSJP4.esm.js} +1 -1
- package/lib/chunks/{chunk-OEEVC5Y2.esm.js → chunk-ZIPR5STE.esm.js} +1 -1
- package/lib/chunks/{chunk-7BPSZCSD.esm.js → chunk-ZOPD2T72.esm.js} +1 -1
- package/lib/chunks/{chunk-YHQ6S4MF.esm.js → chunk-ZR433YL7.esm.js} +1 -1
- package/lib/chunks/{chunk-CWSD3AXD.esm.js → chunk-ZV2ZWK53.esm.js} +1 -1
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Box/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/DataTable.filters.d.ts +5 -5
- package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +25 -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/Table.interface.d.ts +24 -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/TablePagination.d.ts +7 -7
- package/lib/dataDisplay/Table/TablePagination/TablePagination.interface.d.ts +44 -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/Sheet.d.ts +14 -5
- package/lib/elements/Sheet/Sheet.helpers.d.ts +36 -0
- package/lib/elements/Sheet/Sheet.interface.d.ts +47 -13
- package/lib/elements/Sheet/Sheet.style.d.ts +111 -4
- package/lib/elements/Sheet/SheetScript.d.ts +12 -0
- package/lib/elements/Sheet/index.d.ts +2 -0
- package/lib/elements/Sheet/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/MotionFactory/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/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/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/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/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/Animation/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/Motion/Motion.helpers.d.ts +8 -1
- package/lib/themes/Motion/index.esm.js +1 -1
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/lib/vendors/EmotionIsPropValid/component.d.ts +1 -10
- package/package.json +2 -2
- package/lib/chunks/chunk-347TNROV.esm.js +0 -1
- package/lib/chunks/chunk-4EVYPW5X.esm.js +0 -1
- package/lib/chunks/chunk-6V6NLBEI.esm.js +0 -39
- package/lib/chunks/chunk-RKHQJTYX.esm.js +0 -1
- package/lib/chunks/chunk-SF2QSF7E.esm.js +0 -20
- package/lib/chunks/chunk-VMIXRIQ2.esm.js +0 -1
- package/lib/chunks/chunk-VUFEYXWD.esm.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as S}from"./chunk-
|
|
1
|
+
import{d as S}from"./chunk-XCJYI6FQ.esm.js";import{a as T}from"./chunk-R2B57RMV.esm.js";import{k as x}from"./chunk-PXVTXO3L.esm.js";import{f as g,g as m}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var c=m(S.span).withConfig({componentId:"sc-29xk67-0"})(["margin:0;font-family:",";line-height:",";& a:not([data-ds-link-button]){text-decoration:underline;}& a[data-ds-link-button]{display:inline-flex;vertical-align:middle;}"],({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.lineHeight.regular),h=i((e,t)=>T(e,o=>x(o.colors[t],"base")),"tickInk"),y=m(c).withConfig({componentId:"sc-29xk67-1"})(["&[data-tick-settle]{transition:",";}&[data-tick]{transition:none;}&[data-tick='up']{color:",";}&[data-tick='down']{color:",";}@media (prefers-reduced-motion:reduce){&[data-tick-settle]{transition:none;}}"],({theme:e})=>e.animation.transitions.settle,({theme:e})=>h(e,"success"),({theme:e})=>h(e,"danger"));var C={p:{props:{fontSize:"small"}},meta:{tag:"p",props:{fontSize:"micro"}},lead:{tag:"p",props:{fontSize:"medium"}},blockquote:{props:{fontSize:"xxl"}},h1:{props:{fontSize:"xl",md_fontSize:"colossal"}},h2:{props:{fontSize:"large",md_fontSize:"giant"}},h3:{props:{fontSize:"large",fontStyle:"italic",md_fontSize:"xxl",md_fontStyle:"normal"}},h4:{props:{fontSize:"medium",md_fontSize:"xl"}},h5:{props:{fontSize:"medium",fontStyle:"italic",color:"ink.primary",md_fontSize:"large",md_fontStyle:"normal",md_color:"ink.primary"}},h6:{props:{fontSize:"small",color:"ink.primary",textTransform:"uppercase",md_fontSize:"medium",md_textTransform:"normal",md_color:"ink.primary"}},d1:{tag:"h1",props:{fontSize:"xxl",md_fontSize:"gargantua"}},d2:{tag:"h2",props:{fontSize:"xl",md_fontSize:"colossal"}},d3:{tag:"h3",props:{fontSize:"large",md_fontSize:"giant"}},d4:{tag:"h4",props:{fontSize:"medium",md_fontSize:"xxl"}}},I={fontWeight:"bold",lineHeight:"close"},V={fontWeight:"stronger",lineHeight:"close"};function E(e){switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return I;case"d1":case"d2":case"d3":case"d4":return V;default:return{}}}i(E,"getDefaultProps");function z(e,t={}){var a,s;let o=C,{tag:n=e,props:r={}}=o[e]||{};return{tag:n,variantProps:{fontWeight:(a=t.fontWeight)!=null?a:"regular",letterSpacing:"regular",color:(s=t.color)!=null?s:"ink.primary",...t.fontSize&&{fontSize:t.fontSize},...E(e),...r}}}i(z,"getTextProps");import{forwardRef as F}from"react";import{useEffect as w,useRef as D,useState as H}from"react";function k(e){let t=D(e),[o,n]=H(null);return w(()=>{if(e===void 0||t.current===void 0||e===t.current){t.current=e;return}n(e>t.current?"up":"down"),t.current=e;let r=requestAnimationFrame(()=>n(null));return()=>cancelAnimationFrame(r)},[e]),o}i(k,"useTickFlash");import{jsx as B}from"react/jsx-runtime";var _=F(({text:e,children:t,variant:o="span",type:n,tick:r,...a},s)=>{var d;let p=g(),{tag:P,variantProps:f}=z(o,(d=p==null?void 0:p.component)==null?void 0:d.text),l=k(r),R=r===void 0?c:y,b=a.color!==void 0||a.contrast!==void 0?Object.fromEntries(Object.entries(f).filter(([u])=>u!=="color"&&!u.endsWith("_color"))):f;return B(R,{as:P,ignoreResponsive:n==="mobile",enableBreakpoint:n==="desktop"?"md":void 0,...b,...a,"data-tick-settle":r===void 0?void 0:"","data-tick":l!=null?l:void 0,ref:s,children:t||e})});_.displayName="Text";var v=_;export{c as a,y as b,C as c,z as d,v as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk-7TJO34VI.esm.js";import{b as I}from"./chunk-JLQDS5TS.esm.js";import{a as s}from"./chunk-5Q265MC7.esm.js";import{a as g}from"./chunk-TBHGVERY.esm.js";import{b as f}from"./chunk-
|
|
1
|
+
import{a as l}from"./chunk-7TJO34VI.esm.js";import{b as I}from"./chunk-JLQDS5TS.esm.js";import{a as s}from"./chunk-5Q265MC7.esm.js";import{a as g}from"./chunk-TBHGVERY.esm.js";import{b as f}from"./chunk-XCJYI6FQ.esm.js";import{c}from"./chunk-BV6GHAF7.esm.js";import{g as i}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var C=r(({cover:e,height:t,width:o})=>e&&{width:o!=null?o:"100%",height:t!=null?t:"100%",objectFit:"cover"},"imageCover"),d=r(e=>e?c(e):"fit-content","getSizeValue"),p=i("img").withConfig({shouldForwardProp:f}).withConfig({componentId:"sc-swtbvc-0"})(["display:block;width:",";height:",";",";&[src='']{visibility:hidden;position:absolute;}",""],({full:e,width:t})=>e?"100%":d(t),({height:e})=>d(e),C,g({}));import L,{forwardRef as h,useState as F}from"react";import{jsx as n,jsxs as z}from"react/jsx-runtime";var u=h(({src:e,...t},o)=>n(p,{src:e,ref:o,...t})),x=r(({width:e=60,height:t=60})=>n(l,{height:t,width:e,children:n(I,{width:e,height:t})}),"ImageDefaultContentLoader");function R(e){return new Promise((t,o)=>{let a=new Image;a.onload=t,a.onerror=o,a.src=e})}r(R,"loadImage");var y=r(({src:e,fallback:t,threshold:o,...a})=>{let[m,S]=F(),[w]=s({threshold:o},()=>{R(e).then(()=>S(e)).catch(()=>console.warn(`[Failed]: error on loading image: ${e}`))}),b=typeof m=="undefined";return z(L.Fragment,{children:[b?t||n(x,{...a}):null,n(u,{src:m||"",ref:w,...a})]})},"ImageLazy");y.displayName="ImageLazy";export{p as a,u as b,y as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as F}from"./chunk-43YSWDK6.esm.js";import{a as w,c as E}from"./chunk-
|
|
1
|
+
import{a as F}from"./chunk-43YSWDK6.esm.js";import{a as w,c as E}from"./chunk-EPAHWTZU.esm.js";import{e as N,g as k}from"./chunk-KK7GJC3H.esm.js";import{a as T}from"./chunk-IJBZ45BC.esm.js";import{a as v}from"./chunk-S2SVVZOG.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:100;"]),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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as m}from"./chunk-
|
|
1
|
+
import{b as m}from"./chunk-OULN77LP.esm.js";import{b as c}from"./chunk-IV6ORC5K.esm.js";import{e as f}from"./chunk-IJBZ45BC.esm.js";import{a as g}from"./chunk-3LYH4EYD.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function h(t){return t==="extraLarge"?"xl":t==="giant"?"xxl":t}a(h,"getIconSize");function d({theme:t,size:i,$label:e}){let{fontSize:o}=t.font,n=(e==null?void 0:e.length)||0;switch(i){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:n===1?o.xxl:o.large}}case"extraLarge":{let r=t.spacing("xxl");return{width:r,height:r,fontSize:n===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:n===1?o.medium:o.xs}}}}a(d,"getSizes");var u=p(g).withConfig({componentId:"sc-k7r87e-0"})(["display:flex;",""],d);import{jsx as s}from"react/jsx-runtime";function x({imgSrc:t,icon:i,size:e,label:o,alt:n}){return t?s(c,{width:"100%",height:"100%",src:t,alt:n!=null?n:"","data-testid":"avatar-image"}):i?s(m,{icon:i,size:h(e),"data-testid":"avatar-icon"}):s(f,{textTransform:"uppercase",children:o})}a(x,"getContent");var l=a(({size:t,icon:i,imgSrc:e,label:o,alt:n,...r})=>s(u,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"surface.sunken",color:"primary.base",$label:o,size:t,...!e&&!i&&!!o&&{role:"img","aria-label":n!=null?n:o},...r,children:x({size:t,icon:i,imgSrc:e,label:o,alt:n})}),"Avatar");l.displayName="Avatar";export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as C}from"./chunk-XQJ4DROM.esm.js";import{e as m}from"./chunk-
|
|
1
|
+
import{a as C}from"./chunk-XQJ4DROM.esm.js";import{e as m}from"./chunk-IJBZ45BC.esm.js";import{a as n}from"./chunk-Z2YRSJP4.esm.js";import{b as t}from"./chunk-TZQMBDGR.esm.js";import{g as a}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var d=a.th.withConfig({componentId:"sc-1ft9505-0"})([""," ",""],C,t);import{jsx as l}from"react/jsx-runtime";var e=r(o=>l(d,{...o,bgColor:o.bgColor||void 0,children:l(n,{children:l(m,{color:"ink.secondary",fontWeight:"stronger",children:o.children})})}),"TableHeaderCellComponent");e.displayName="TableHeaderCell";export{d as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as C}from"./chunk-
|
|
1
|
+
import{d as C}from"./chunk-E4B4OTEY.esm.js";import{a as B}from"./chunk-IJBZ45BC.esm.js";import{b as p}from"./chunk-IK5Z5C2R.esm.js";import{b as g}from"./chunk-WCUEINBQ.esm.js";import{b as x}from"./chunk-QYL6LECA.esm.js";import{a as y}from"./chunk-R2B57RMV.esm.js";import{j as u}from"./chunk-PXVTXO3L.esm.js";import{b as h,g as L}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import{forwardRef as F}from"react";var R=5,v=c(t=>{let e=g(t),n=e(t);if(!(n!=null&&n.color)||t.contrast)return n;let a=y(t.theme,r=>{var i,s;let o=(i=e({...t,theme:r}))==null?void 0:i.color;return o&&u(o,(s=r.colors.baseLight)!=null?s:"#FFFFFF",R)});return{...n,color:a}},"readableLinkColor"),b=L.a.withConfig({componentId:"sc-jsghq-0"})(["",";",";",";",""],v,x({cursor:"pointer"}),p({textDecoration:"underline",fontFamily:"main"}),({textDecoration:t})=>t==="none"&&h(["&:hover,&:focus-visible{text-decoration:underline;}"])),E=L.a.attrs({"data-ds-link-button":""}).withConfig({componentId:"sc-jsghq-1"})(["",";",";text-decoration:none;",""],C,p({lineHeight:"tight"}),({variant:t})=>t==="linked"&&"padding: 0;");import{jsx as k}from"react/jsx-runtime";var I=c(t=>t?/^(https?:)?\/\//i.test(t)||/^(mailto|tel|sms):/i.test(t):!1,"isExternalHref"),w=["noopener","noreferrer"],S=c(t=>{let e=(t!=null?t:"").toLowerCase().split(/\s+/).filter(Boolean);return[...new Set([...w,...e])].join(" ")},"mergeRel"),A={target:"_blank"},H=F(({as:t,text:e,children:n,variant:a="contained",color:r="primary",href:o,rel:i,...s},l)=>{let f=I(o),m=f?"a":t,T=f?{...A,rel:S(i)}:{rel:i};return k(E,{...s,...T,as:m,variant:a,color:r,href:o,ref:l,children:k(B,{fontWeight:a==="linked"?void 0:"bold",lineHeight:"tight",children:n||e})})}),d=F(({as:t,text:e,children:n,color:a="primary",href:r,rel:o,...i},s)=>{let l=I(r),f=l?"a":t,m=l?{...A,rel:S(o)}:{rel:o};return k(b,{...i,...m,as:f,color:a,href:r,ref:s,children:n||e})});d.Button=H;d.displayName="Link";export{b as a,E as b,d as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s,b as P}from"./chunk-
|
|
1
|
+
import{a as s,b as P}from"./chunk-KMD7LUDX.esm.js";import{ga as I,o as v}from"./chunk-DAT6GD4T.esm.js";import{a as c,b as f}from"./chunk-OULN77LP.esm.js";import{a as C}from"./chunk-S2SVVZOG.esm.js";import{d as w}from"./chunk-XCJYI6FQ.esm.js";import{b}from"./chunk-TZQMBDGR.esm.js";import{b as u}from"./chunk-3A7I6HM2.esm.js";import{a as S}from"./chunk-R2B57RMV.esm.js";import{j as k}from"./chunk-PXVTXO3L.esm.js";import{b as i,f as x,g as y}from"./chunk-AXUWC2WH.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";function M(){return i(["color:var(--dark-color);border-color:var(--border-color);"," &:focus,&:hover{","}&:focus + ","{color:var(--base-color);}"],u({deep:-1}),u({deep:0}),c)}p(M,"inputVariantStyle");var N=i(["&::placeholder{color:",";}&:disabled{&::placeholder{color:var(--disabled-color);}}"],({theme:o})=>o.colors.ink.muted),E=i(["&:disabled,&:read-only{border:1px solid var(--disabled-bg);background-color:var(--disabled-bg);color:var(--disabled-color);}&:read-only{","}"],u({deep:0}));function L({iconPosition:o}){return o==="left"?i(["& ~ ",",& ~ ","{left:1em;right:unset;}"],s,c):null}p(L,"invertIconPosition");var V=i(["&:disabled ~ ","{color:var(--disabled-color);}&:disabled ~ ","{pointer-events:none;","}& ~ ","{width:intrinsic;","}& ~ ",",& ~ ","{color:var(--icon-color);z-index:100;position:absolute;align-self:center;right:1em;& > g{fill:var(--icon-color);}}"],c,s,b(()=>({bgColor:"wash.hover"})),s,b(()=>({bgColor:"wash.pressed"})),s,c),W=y(w.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,M,V,L,E,N),g=y(C).withConfig({componentId:"sc-8elel8-1"})(({theme:o,variant:r})=>{let e=o.colors.primary;r==="error"?e=o.colors.danger:r==="success"&&(e=o.colors.success);let{base:t,dark:l}=e;return{display:"flex",position:"relative","--base-color":t,"--dark-color":r==="default"?o.colors.ink.primary:S(o,n=>{var a,d;return k((d=(a=n.colors[r==="error"?"danger":"success"])==null?void 0:a.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:t,"--border-color":r==="default"?o.colors.edge.border:t}});g.displayName="input";import{forwardRef as j}from"react";import{jsx as m}from"react/jsx-runtime";function F({icon:o,variant:r,clearable:e,reset:t,value:l,readOnly:n}){return e&&t&&l&&!n?m(P,{p:"micro",type:"button",borderWidth:"none",variant:"linked",onClick:t,"data-testid":"input-reset-button",icon:m(f,{size:"small",color:"grayscale.0",icon:I})}):o||(r==="error"?m(f,{icon:I,"data-testid":"input-icon-error"}):r==="success"?m(f,{icon:v,"data-testid":"input-icon-success"}):null)}p(F,"getIconComponent");import{jsx as q,jsxs as G}from"react/jsx-runtime";var T=j(({value:o,variant:r="default",iconPosition:e="right",size:t="medium",...l},n)=>{let{disabled:a,width:d,style:J,area:z,alignSelf:A,justifySelf:B,...D}=l,R=x(),h=F({...l,value:o,variant:r,size:t,iconPosition:e}),H={...R.component.input.size[t],...h&&{[e==="right"?"pr":"pl"]:"xl"}};return G(g,{variant:r,width:d,flexDirection:"row",area:z,alignSelf:A,justifySelf:B,children:[q(W,{iconPosition:e,disabled:a,variant:r,...H,...D,...o!==void 0&&{value:o},ref:n}),h]})});T.displayName="Input";export{M as a,N as b,E as c,L as d,W as e,g as f,T as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as s}from"./chunk-
|
|
1
|
+
import{e as s}from"./chunk-E4B4OTEY.esm.js";import{g as m}from"./chunk-GHPI3RFU.esm.js";import{d as t}from"./chunk-RWLJNXLX.esm.js";import{b as r}from"./chunk-IK5Z5C2R.esm.js";import{b as n}from"./chunk-OXQA5WD3.esm.js";import{g as i}from"./chunk-AXUWC2WH.esm.js";import{a as u}from"./chunk-GZONWSRB.esm.js";import{forwardRef as z}from"react";function b({size:o}){switch(o){case"extraSmall":return[n({p:"micro"}),t({borderRadius:"micro"}),r({fontSize:"micro"})];case"small":return[n({p:"xs"}),t({borderRadius:"circular"}),r({fontSize:"xs"})];case"large":return[n({p:"medium"}),t({borderRadius:"circular"}),r({fontSize:"medium"})];default:return[n({p:"small"}),t({borderRadius:"circular"}),r({fontSize:"small"})]}}u(b,"iconButtonSize");var x=i(s).withConfig({componentId:"sc-1uzpf1p-0"})(b),f=i(x).withConfig({componentId:"sc-1uzpf1p-1"})(["",""],({variant:o,theme:e})=>o==="linked"&&`
|
|
2
2
|
&&:hover, &&:focus-visible { text-decoration: none; background: ${e.colors.wash.hover}; }
|
|
3
3
|
&&:active { text-decoration: none; background: ${e.colors.wash.pressed}; }
|
|
4
4
|
`);import{jsx as l}from"react/jsx-runtime";var p=z(({color:o="primary",size:e="medium",variant:d="contained",icon:I=null,label:B,...a},S)=>{let{isLoading:y,loadingComponent:c}=a;return l(f,{"aria-label":B,...a,color:o,size:e,variant:d,as:"button",ref:S,children:y?c!=null?c:l(m,{"data-testid":"icon-spinner"}):I})});p.displayName="IconButton";export{f as a,p as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as u}from"./chunk-
|
|
1
|
+
import{b as u}from"./chunk-ZIPR5STE.esm.js";import{a as m}from"./chunk-IJBZ45BC.esm.js";import{a as t}from"./chunk-S2SVVZOG.esm.js";import{a as f}from"./chunk-R2B57RMV.esm.js";import{k as c}from"./chunk-PXVTXO3L.esm.js";import{b as h,g as l}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var I=h(["cursor:pointer;&:hover,&:focus-within{border-color:",";box-shadow:",";transform:translateY(-2px);}@media (prefers-reduced-motion:reduce){&:hover,&:focus-within{transform:none;}}"],({theme:e})=>f(e,r=>c(r.colors.primary,"base")),({theme:e})=>e.depth("level-three")),g=l(u).withConfig({componentId:"sc-mtfzzn-0"})(["transition:",";",""],({theme:e})=>e.animation.transitions.short,({$interactive:e})=>e&&I),C=l(t).withConfig({componentId:"sc-mtfzzn-1"})(["margin:",";overflow:hidden;border-top-left-radius:inherit;border-top-right-radius:inherit;"],({theme:e,$pad:r})=>{let o=`calc(${e.spacing(r)} * -1)`;return`${o} ${o} 0`});import{jsx as a,jsxs as y}from"react/jsx-runtime";var B=s(e=>{let r=[],o=[];return e.media&&(r.push("media"),o.push("auto")),e.title&&(r.push("title"),o.push("auto")),r.push("content"),o.push(e.action?"1fr":"auto"),e.action&&(r.push("action"),o.push("auto")),{columns:"1fr",rows:o.join(" "),areas:r.map(i=>`"${i}"`).join(" ")}},"cardTemplate"),x=s(({media:e,title:r,description:o,subtitle:i,actionComponent:n,children:b,interactive:p=!1,medias:S,p:d="large",...w})=>{let v=typeof r=="string"?a(m,{as:"h4",fontSize:"small",fontWeight:"bold",lineHeight:"regular",color:"ink.primary",children:r}):r,z=typeof o=="string"?a(m,{as:"p",fontSize:"micro",lineHeight:"wild",color:"ink.secondary",children:o}):o,F=B({media:!!e,title:!!r,action:!!n});return y(g,{borderRadius:"md",borderWidth:"thin",borderColor:"edge.hairline",bgColor:"surface.paper",overflow:p?"visible":"hidden",p:d,medias:{...F,gap:"large",...S},$interactive:p,containment:"inline-size",...w,children:[e&&a(C,{area:"media",$pad:d,children:e}),r&&a(t,{area:"title",children:v}),y(t,{area:"content",gap:"xs",children:[z,i,b]}),n&&a(t,{area:"action",children:n})]})},"CardComponent");x.displayName="Card";export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as g}from"./chunk-
|
|
1
|
+
import{d as g}from"./chunk-S7AKJ6C3.esm.js";import{a as v}from"./chunk-ZOPD2T72.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import b,{Children as L,useCallback as N,useMemo as A}from"react";function H(e){return Array(e).fill("min-content").join(" ")}o(H,"createSpace");function k(e){return e?H(e):"1fr"}o(k,"getGridColumns");function I(e){let l=e&&e.row?e.row:e,c=e&&e.column?e.column:e;return[l,c]}o(I,"getGridGap");import{jsx as j}from"react/jsx-runtime";import{createElement as P}from"react";var E=o(e=>{let{name:l,variant:c,gap:d="Compact",columns:s,value:t,inputs:p,children:F,onChange:m,type:u,area:f,alignSelf:C,justifySelf:h,...B}=e,w=A(()=>k(s),[s]),[x,R]=A(()=>I(d),[d]),y=N((r,n)=>a=>{if(!m||!l)return;let i=null;u==="radio"?i=n:r&&Array.isArray(t)?i=t.filter(T=>T!==n):i=[...t||[],n],m(i)},[l,t,m,u]);function G(r){return Array.isArray(t)?!!t.includes(r):r===t}o(G,"isInputChecked");function M(){let r=u==="radio"?g:v;return p.map(n=>{let a=G(n.value),i=u==="radio"?l:n.name;return P(r,{...n,key:n.value,variant:c,name:i,checked:a,onChange:y(a,n.value)})})}o(M,"renderInputs");function S(){return L.map(F,r=>{if(!b.isValidElement(r))return null;let n=r.props.value,a=G(n);return b.cloneElement(r,{onChange:y(a,n),checked:a})})}return o(S,"renderChildren"),j("div",{style:{display:"grid",gridRowGap:x,gridColumnGap:R,gridTemplateColumns:w,...f&&{gridArea:f},...C&&{alignSelf:C},...h&&{justifySelf:h}},children:p?M():S()})},"FieldGroupComponent");E.displayName="FieldGroup";export{E as a};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{b as a}from"./chunk-
|
|
1
|
+
import{b as a}from"./chunk-ZIPR5STE.esm.js";import{a as i}from"./chunk-S2SVVZOG.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var f={xs:{columns:"100%",rows:"100%",areas:`
|
|
2
2
|
"content"
|
|
3
3
|
`}};var m=e(a).attrs({medias:f}).withConfig({componentId:"sc-11xb4nx-0"})(["width:100%;height:100%;"]);import{jsx as o}from"react/jsx-runtime";var n=r(({layoutComponents:t})=>o(m,{children:o(i,{area:"content",width:"100%",justifyContent:"center",md_justifyContent:"start",children:t&&t.content&&o(t.content,{})})}),"DefaultLayout");n.displayName="DefaultLayout";export{f as a,m as b,n as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-A4N7BBKS.esm.js";import{a as h}from"./chunk-CDRLVSLF.esm.js";import{a as b}from"./chunk-XQJ4DROM.esm.js";import{e as T}from"./chunk-IJBZ45BC.esm.js";import{a as C}from"./chunk-S2SVVZOG.esm.js";import{b as d}from"./chunk-IK5Z5C2R.esm.js";import{b as c}from"./chunk-TZQMBDGR.esm.js";import{g as u}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import n,{useEffect as F}from"react";var y=u.td.withConfig({componentId:"sc-1t8iq38-0"})(["",";",";",";"],b,c,d({fontFamily:"main"}));import{jsx as r}from"react/jsx-runtime";var l=o(e=>{let{ellipsis:i}=n.useContext(h),[m,x]=n.useState(null),f=n.useRef(null);function S(){return m===null?e.children:i&&m?r(p,{content:e.children,children:e.children}):e.children==="string"?r(T,{color:"baseDark",children:e.children}):e.children}return o(S,"getCustomChild"),F(()=>{let t=f.current;if(!t)return;let a=o(()=>x(t.offsetWidth<t.scrollWidth),"measure");if(a(),typeof ResizeObserver=="undefined")return;let s=new ResizeObserver(a);return s.observe(t),()=>s.disconnect()},[e.children,i]),r(y,{ref:f,...e,children:r(C,{children:S()})})},"TableCellComponent");l.displayName="TableCell";export{y as a,l as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-A4N7BBKS.esm.js";import{e as r}from"./chunk-IJBZ45BC.esm.js";import{a as i}from"./chunk-S2SVVZOG.esm.js";import{a as o}from"./chunk-3LYH4EYD.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a=p(o).withConfig({componentId:"sc-qi04g0-0"})(["display:flex;flex-direction:column;"]);import{jsx as t,jsxs as l}from"react/jsx-runtime";var d=n(({children:c,icon:f,title:x,description:s,...e})=>{let v=e.inverted?"ink.primary":"surface.paper";return t(m,{content:t(o,{p:"xs",children:l(a,{gap:"medium",maxWidth:400,color:v,children:[l(i,{flexDirection:"row",alignItems:"center",gap:"medium",children:[f,t(r,{variant:"h4",text:x,color:null})]}),t(r,{variant:"p",text:s,color:null})]})}),...e,children:c})},"Popover");d.displayName="Popover";export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as E}from"./chunk-
|
|
1
|
+
import{c as E}from"./chunk-67E7VWGJ.esm.js";import{a as D}from"./chunk-BE2JDTVA.esm.js";import{e as p}from"./chunk-BV6GHAF7.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import M,{lazy as N,Suspense as H,useCallback as S,useEffect as z,useState as T}from"react";import{Fragment as W,jsx as c,jsxs as B}from"react/jsx-runtime";var A=N(()=>import("./Dropdown.floating-J32D2QRS.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}=D(!1),x=S(a=>v(a),[]);z(()=>{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=f),M.cloneElement(a,l)},"renderTrigger"),L=t(()=>Array.isArray(e)?c(E,{gap:"zero",color:"primary.action",exclusive:!0,content:e}):p(o)?o({close:R}):o,"renderMenuContent");return B(W,{children:[F(),n&&c(H,{fallback:null,children:c(A,{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{e as a}from"./chunk-
|
|
1
|
+
import{e as a}from"./chunk-OVUUG4UQ.esm.js";import{b as u}from"./chunk-IV6ORC5K.esm.js";import{a as R}from"./chunk-3LYH4EYD.esm.js";import{a as I,k as g,l as d}from"./chunk-BV6GHAF7.esm.js";import{g as h}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var f=h(R).withConfig({componentId:"sc-l15crp-0"})(({theme:t,size:o})=>({fontSize:o?t.spacing(o):"inherit",display:"inline-block",lineHeight:0,"& svg":{stroke:"currentColor",fill:"currentColor",strokeWidth:0,"& g":{fill:"currentColor"}}}));import v,{forwardRef as s,useEffect as w,useState as E}from"react";function C(t,o){if(typeof window!="undefined")try{window.fetch(t).then(e=>e.text()).then(e=>g(e,"svg")).then(d).then(o)}catch(e){I.warn(`[ICON] Failed to load icon from: ${t}`)}}i(C,"getIconFromUrl");import{jsx as c}from"react/jsx-runtime";var y=i((t,o)=>v.cloneElement(t,o),"createIcon"),P=s(({icon:t,iconProps:o,svgProps:e,children:n,...m},l)=>c(f,{...m,ref:l,children:i(()=>{let r=null;return n?r=y(n,e):t?r=c(a,{...t,...e}):o&&(r=a(e)),r},"getIcon")()})),x=s(({title:t,src:o,svgProps:e,...n},m)=>{let[l,p]=E(()=>c(u,{height:"1em",width:"1em",alt:t}));return w(()=>{C(o,r=>{p(y(r,e))})},[o]),c(f,{...n,ref:m,children:l})}),S=s(({title:t,...o},e)=>{let n={...o.iconProps||{},title:t,stroke:"currentColor",fill:"currentColor",strokeWidth:"0",height:"1em",width:"1em"};return o.src?c(x,{...o,svgProps:n,ref:e}):c(P,{...o,svgProps:n,ref:e})});S.displayName="Icon";export{f as a,S as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as g}from"./chunk-TBHGVERY.esm.js";import{b as p,c as f}from"./chunk-
|
|
1
|
+
import{a as g}from"./chunk-TBHGVERY.esm.js";import{b as p,c as f}from"./chunk-XCJYI6FQ.esm.js";import{g as u}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var I=o(({size:t,dimensions:r})=>{if(t)return{width:t,height:t};if(r){let{width:e,height:n,ratio:i}=r;if(n)return{width:e,height:n};if(i)return typeof e=="number"?{width:e,height:e/i}:e.endsWith("px")?{width:e,height:`calc(${e} / ${i})`}:{width:e,height:"auto"}}return{width:"1em",height:"1em"}},"getComputedSize"),x=o(t=>`fill: ${t.colors.getColor(t.colors.danger)};`,"getFillProps"),l=o(t=>typeof t=="number"&&Number.isFinite(t)?t:void 0,"toNativeLength"),C=o(({size:t,dimensions:r})=>{if(t!==void 0){let e=l(t);return e===void 0?{}:{width:e,height:e}}if(r){let e=l(r.width);if(e===void 0)return{};if(r.height!==void 0){let n=l(r.height);return n===void 0?{}:{width:e,height:n}}if(r.ratio)return{width:e,height:e/r.ratio}}return{}},"getNativeDims"),c=u("svg").attrs(t=>C(t)).withConfig({shouldForwardProp:p}).withConfig({componentId:"sc-16f7fwn-0"})([""," "," ",""],t=>({...I(t)}),({error:t,theme:r})=>t&&x(r),g({})),b=o(t=>`transform: ${t};`,"getTransformProps"),m=f("g").withConfig({componentId:"apollion-svg-g"})`
|
|
2
2
|
fill: ${({fill:t,theme:r})=>t||r.colors.getColor(r.colors.main)};
|
|
3
3
|
${({transform:t})=>t&&b(t)}
|
|
4
4
|
`,s=f("path").withConfig({componentId:"apollion-svg-path"})``;import{jsx as d,jsxs as G}from"react/jsx-runtime";import{createElement as F}from"react";var S=o(({transform:t,fill:r,paths:e,fillAll:n,error:i,viewBox:v,title:h,...y})=>G(c,{viewBox:v,error:i,...y,children:[h&&d("title",{children:h}),d(m,{transform:t,fill:r,children:o(()=>e&&e.map(a=>{let{fill:w,...D}=a,P=n?void 0:w;return F(s,{...D,key:a.d,fill:P})}),"RenderPaths")()})]}),"SvgComponent");S.displayName="Svg";export{C as a,c as b,m as c,s as d,S as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-3LYH4EYD.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";var a=e(r).attrs(({flat:o,...t})=>({p:"medium",borderRadius:"micro",...o?{}:{bgColor:"surface.paper",deep:2},...t})).withConfig({componentId:"sc-5vfy6v-0"})(["display:flex;"]);export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as t,h as a,k as s}from"./chunk-V3JQI7KV.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var M=["motion"],f=s(a),x={fade:{properties:["opacity"],hidden:{opacity:0},enter:"enter",exit:"exit"},scale:{properties:["opacity","transform"],hidden:{opacity:0,transform:"scale(0.95)"},enter:"enter",exit:"exit"},"slide-up":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateY(12px)"},enter:"enter",exit:"exit"},"slide-down":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateY(-12px)"},enter:"enter",exit:"exit"},"slide-left":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateX(12px)"},enter:"enter",exit:"exit"},"slide-right":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateX(-12px)"},enter:"enter",exit:"exit"},collapse:{properties:["grid-template-rows","opacity"],hidden:{gridTemplateRows:"0fr",opacity:0},enter:"emphasis",exit:"exit",base:{display:"grid",gridTemplateRows:"1fr","& > *":{minHeight:0,overflow:"hidden"}}},sheet:{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateY(100%)"},enter:"emphasis",exit:"exit"},"sheet-top":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateY(-100%)"},enter:"emphasis",exit:"exit"},"drawer-left":{properties:["transform"],hidden:{transform:"translateX(-100%)"},enter:"emphasis",exit:"exit"},"drawer-right":{properties:["transform"],hidden:{transform:"translateX(100%)"},enter:"emphasis",exit:"exit"}},g=n(p=>d=>{var i;let{theme:c,...m}={...p,...d},{motion:o}=m;if(!o||o==="none")return{};let e=x[o],r=(i=c.motion)!=null?i:f;return{...e.base,transition:e.properties.map(y=>`${y} ${t(r,e.enter,"duration")} ${t(r,e.enter,"easing")}`).join(", "),"@starting-style":{...e.hidden},'&[data-state="closing"]':{...e.hidden,transitionDuration:t(r,e.exit,"duration"),transitionTimingFunction:t(r,e.exit,"easing")}}},"MotionFactory");export{M as a,g as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
1
|
+
import{a as i}from"./chunk-OULN77LP.esm.js";import{a as m}from"./chunk-S2SVVZOG.esm.js";import{a as h}from"./chunk-TBHGVERY.esm.js";import{c as a}from"./chunk-XCJYI6FQ.esm.js";import{b as p}from"./chunk-WCUEINBQ.esm.js";import{b as s,g as d}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var c=a("input").withConfig({componentId:"apollion-checkbox-input"})`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 0;
|
|
4
4
|
top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as u}from"./chunk-
|
|
1
|
+
import{c as u}from"./chunk-QHRNEUNP.esm.js";import{a as w}from"./chunk-IJBZ45BC.esm.js";import{a as S}from"./chunk-TBHGVERY.esm.js";import{c as a}from"./chunk-XCJYI6FQ.esm.js";import{b as h}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var g=r(({trackW:t,thumb:e,pad:s})=>t-e-s*2,"thumbTravel"),n=r(({theme:t,$size:e="medium"})=>t.component.switch.size[e],"sizeTokens"),o=a("input").withConfig({componentId:"apollion-switch-input"})`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 0;
|
|
4
4
|
top: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u}from"./chunk-
|
|
1
|
+
import{a as u}from"./chunk-IJBZ45BC.esm.js";import{d as s}from"./chunk-RWLJNXLX.esm.js";import{b as p}from"./chunk-IK5Z5C2R.esm.js";import{b}from"./chunk-OXQA5WD3.esm.js";import{a as f}from"./chunk-R2B57RMV.esm.js";import{g as d}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";function g(r){return r==="default"?"primary":r==="info"?"information":r}i(g,"getColorVariant");function L(r,t,n){let e=g(t),o=r.colors[e];if(n){let a=o==null?void 0:o.action;return{backgroundColor:a,color:a&&f(r,l=>{var m;let c=(m=l.colors[e])==null?void 0:m.action;return c&&l.colors.getContrastColor(c)})}}return{backgroundColor:o==null?void 0:o.light,color:o==null?void 0:o.onLight}}i(L,"getColor");var y=d(u).withConfig({componentId:"sc-dznqj7-0"})(["display:inline;"," "," "," ",""],p({fontSize:"micro",lineHeight:"close"}),b({px:"small",py:"xs"}),s({borderRadius:"micro"}),({theme:r,variant:t,inverted:n})=>L(r,t,n));import{jsx as x}from"react/jsx-runtime";function C(r){let{variant:t="default",text:n,children:e,alignSelf:o="start",...a}=r;return x(y,{variant:t,alignSelf:o,...a,children:e||n})}i(C,"Label");C.displayName="Label";export{y as a,C as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-NSMXX277.esm.js";import{a}from"./chunk-ZOPD2T72.esm.js";import{a as r}from"./chunk-CDRLVSLF.esm.js";import{a as C}from"./chunk-Z2YRSJP4.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{b as t}from"./chunk-
|
|
1
|
+
import{b as t}from"./chunk-3LYH4EYD.esm.js";import{g as o}from"./chunk-AXUWC2WH.esm.js";var e=o(t).withConfig({componentId:"sc-atg43m-0"})(["display:flex;"]);export{e as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as f}from"./chunk-
|
|
1
|
+
import{c as f}from"./chunk-QHRNEUNP.esm.js";import{a as s}from"./chunk-IJBZ45BC.esm.js";import{a as p}from"./chunk-3LYH4EYD.esm.js";import{b as d,g as l}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a=l.input.withConfig({componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);a.displayName="input";var r=l(p).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"primary",deep:-1,...o})).withConfig({componentId:"sc-truao3-1"})(["--size:20px;--checked-size:calc(var(--size) * 0.5);width:var(--size);height:var(--size);flex-shrink:0;&::before{content:'';border-radius:50%;display:inline-block;width:var(--checked-size);height:var(--checked-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;}"]);function S({variant:o,$color:i,theme:t}){let e=f(t,o,i);return d(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ",",&:focus > ","{border-color:",";}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],e.dark,r,e.dark,e.base,r,r,e.action,a,r,e.base,t.depth("level-zero"))}n(S,"inputVariantStyle");function C(o){return d(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";&::before{background:",";}}}"],o.colors.disabled.color,a,r,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color)}n(C,"getDisabledStyle");var m=l(s).withConfig({componentId:"sc-truao3-2"})(["cursor:pointer;position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:",";margin:",";"," "," & ",":checked ~ ","::before{opacity:1;}"],({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing(0,"xs","xs",0),S,({theme:o,disabled:i})=>i&&C(o),a,r);import{jsx as c,jsxs as k}from"react/jsx-runtime";var b=n(({id:o,disabled:i,label:t=null,labelProps:e,variant:u="default",color:y,area:g,alignSelf:h,justifySelf:x,...R})=>k(m,{as:"label",htmlFor:o,variant:u,$color:y,disabled:i,area:g,alignSelf:h,justifySelf:x,children:[c(a,{...R,type:"radio",id:o,disabled:i}),c(r,{}),typeof t=="string"?c(s,{fontSize:"small",color:"ink.primary",...e,children:t}):t]}),"RadioComponent");b.displayName="Radio";export{a,r as b,m as c,b as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n}from"./chunk-
|
|
1
|
+
import{b as n}from"./chunk-E4B4OTEY.esm.js";import{a as m}from"./chunk-IJBZ45BC.esm.js";import{a as i}from"./chunk-S2SVVZOG.esm.js";import{a}from"./chunk-3LYH4EYD.esm.js";import{g as o}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";function h({size:e,border:t}){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 t||(r.borderRadius=void 0),r}s(h,"progressOverlayProps");var x=o(a).attrs(h).withConfig({componentId:"sc-13s1fh5-0"})(["background:var(--bg-overlay);overflow:hidden;width:100%;"]),B=o(a).withConfig({componentId:"sc-13s1fh5-1"})(["height:100%;background:var(--bg-progress);transition:",";"],({theme:e})=>e.animation.transitions.short);function l({color:e,theme:t}){let{base:r,dark:c,light:g}=n(t,e);return{"--text-color":c,"--bg-overlay":g,"--bg-progress":r}}s(l,"getProgressColor");var C=o(i).withConfig({componentId:"sc-13s1fh5-2"})([""," ","{color:var(--text-color);}"],l,m);export{x as a,B as b,l as c,C as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-IJBZ45BC.esm.js";import{a as s}from"./chunk-S2SVVZOG.esm.js";import{a as l}from"./chunk-3LYH4EYD.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import{forwardRef as g}from"react";var h=n(l).withConfig({componentId:"sc-1ulk0ua-0"})(["display:flex;flex-shrink:0;margin:0;",""],({$orientation:i})=>i==="vertical"?"border-top-width: 0; border-right-width: 0; border-bottom-width: 0;":"border-right-width: 0; border-bottom-width: 0; border-left-width: 0;"),c=n(s).withConfig({componentId:"sc-1ulk0ua-1"})(["width:100%;"]);import{jsx as v,jsxs as u}from"react/jsx-runtime";var y=g(({orientation:i="horizontal",tone:D="hairline",color:t,thickness:w="thin",spacing:o="micro",label:e,...a},m)=>{let r=i==="vertical",x=t!=null?t:`edge.${D}`,d=f((b={})=>v(h,{as:r?"div":"hr",$orientation:i,role:r?"separator":void 0,"aria-orientation":r?"vertical":void 0,borderStyle:"solid",borderWidth:w,borderPosition:r?"left":"top",borderColor:x,...r?{alignSelf:"stretch",mx:o,minHeight:"1em"}:{width:"100%",my:o},...b}),"line");return e&&!r?u(c,{role:"separator","aria-label":typeof e=="string"?e:void 0,flexDirection:"row",alignItems:"center",gap:"small",my:o,...a,ref:m,children:[d({flex:"fluid",my:0}),typeof e=="string"?v(p,{fontSize:"micro",lineHeight:"tight",color:"ink.secondary",whiteSpace:"nowrap",children:e}):e,d({flex:"fluid",my:0})]}):d({...a,ref:m})});y.displayName="Divider";export{h as a,c as b,y as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk-TBHGVERY.esm.js";import{c as p}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-TBHGVERY.esm.js";import{c as p}from"./chunk-XCJYI6FQ.esm.js";import{b as a}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var n=r(({theme:e,$size:o})=>e.component.select.size[o],"sizeTokens");function m(e){let o=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M2.5 4.5L6 8l3.5-3.5" stroke="${e}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(o)}")`}r(m,"chevron");function h({$variant:e,theme:o}){return e==="error"?{accent:o.colors.danger.base,text:o.colors.danger.dark,border:o.colors.danger.base}:e==="success"?{accent:o.colors.success.base,text:o.colors.success.dark,border:o.colors.success.base}:{accent:o.colors.primary.base,text:o.colors.primary.dark,border:o.colors.edge.border}}r(h,"variantColors");function S(e){let{theme:o}=e,{accent:s,text:c,border:t}=h(e);return a(["color:",";border:1px solid ",";box-shadow:",";&:hover,&:focus{box-shadow:none;border-color:",";}&:focus-visible{outline:2px solid ",";outline-offset:2px;}"],c,t,o.depth("level-one-minus"),t,s)}r(S,"variantStyle");function y({theme:e}){return a(["&:disabled{cursor:default;color:",";border-color:transparent;background-color:",";box-shadow:none;}"],e.colors.disabled.color,e.colors.disabled.fill)}r(y,"disabledStyle");var i=p("select").withConfig({componentId:"apollion-select"})`
|
|
2
2
|
appearance: none;
|
|
3
3
|
-webkit-appearance: none;
|
|
4
4
|
-moz-appearance: none;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{b as u}from"./chunk-AXUWC2WH.esm.js";import{a as e}from"./chunk-GZONWSRB.esm.js";var g="0.01ms",r=e(n=>n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),"kebab"),b=e((n,o,t)=>`var(--apollion-motion-intent-${r(o)}-${t}, ${n.intent[o][t]})`,"motionIntentVar");function f(n){let o={};for(let t of Object.keys(n.duration))o[`--apollion-motion-duration-${t}`]=n.duration[t];for(let t of Object.keys(n.easing))o[`--apollion-motion-easing-${r(t)}`]=n.easing[t];for(let t of Object.keys(n.indicator))o[`--apollion-motion-indicator-${r(t)}`]=n.indicator[t];for(let t of Object.keys(n.intent))o[`--apollion-motion-intent-${r(t)}-duration`]=n.intent[t].duration,o[`--apollion-motion-intent-${r(t)}-easing`]=n.intent[t].easing;return o}e(f,"motionVars");function m(n){let o={};for(let t of Object.keys(n.duration))o[`--apollion-motion-duration-${t}`]=g;for(let t of Object.keys(n.intent))o[`--apollion-motion-intent-${r(t)}-duration`]=g;return o}e(m,"reducedMotionVars");var y=e((n,o)=>Object.entries(n).map(([t,a])=>`${t}: ${a};`).join(`
|
|
2
|
+
${o}`),"declarations");function K(n){return`:root {
|
|
3
|
+
${y(f(n)," ")}
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@media (prefers-reduced-motion: reduce) {
|
|
7
|
+
:root {
|
|
8
|
+
${y(m(n)," ")}
|
|
9
|
+
}
|
|
10
|
+
}`}e(K,"motionGlobalCss");function M(){return`@supports (view-transition-name: none) {
|
|
11
|
+
::view-transition-old(root) {
|
|
12
|
+
animation-duration: var(--apollion-motion-intent-exit-duration, 150ms);
|
|
13
|
+
animation-timing-function: var(--apollion-motion-intent-exit-easing, cubic-bezier(0.4, 0, 1, 1));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
::view-transition-new(root) {
|
|
17
|
+
animation-duration: var(--apollion-motion-intent-enter-duration, 200ms);
|
|
18
|
+
animation-timing-function: var(--apollion-motion-intent-enter-easing, cubic-bezier(0, 0, 0.2, 1));
|
|
19
|
+
}
|
|
20
|
+
}`}e(M,"viewTransitionCss");var k=u(["",""],M());var j={duration:{0:0,50:50,100:100,150:150,200:200,300:300,500:500},easing:{linear:[0,0,1,1],standard:[.42,0,.58,1],enter:[0,0,.2,1],exit:[.4,0,1,1],emphasized:[.2,0,0,1],bounce:[.34,1.56,.64,1],settle:[0,0,.58,1]},indicator:{loop:2e3,pulse:1500},intent:{micro:{duration:"150",easing:"standard"},enter:{duration:"200",easing:"enter"},enterFast:{duration:"150",easing:"enter"},exit:{duration:"150",easing:"exit"},exitFast:{duration:"100",easing:"exit"},emphasis:{duration:"300",easing:"emphasized"},settle:{duration:2750,easing:"settle"}}},c=e(n=>`${n}ms`,"formatMotionDuration"),l=e(n=>`cubic-bezier(${n.join(", ")})`,"formatMotionEasing"),O=e(n=>{let o={};for(let i of Object.keys(n.duration))o[i]=c(n.duration[i]);let t={};for(let i of Object.keys(n.easing))t[i]=l(n.easing[i]);let a={};for(let i of Object.keys(n.indicator))a[i]=c(n.indicator[i]);let d={};for(let i of Object.keys(n.intent)){let s=n.intent[i];d[i]={duration:typeof s.duration=="number"?c(s.duration):o[s.duration],easing:t[s.easing]}}return{duration:o,easing:t,indicator:a,intent:d}},"createMotion");export{g as a,b,f as c,m as d,K as e,M as f,k as g,j as h,c as i,l as j,O as k};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as z}from"./chunk-
|
|
1
|
+
import{a as z}from"./chunk-FK5R4PVA.esm.js";import{b as v}from"./chunk-ZIPR5STE.esm.js";import{f as C}from"./chunk-E4B4OTEY.esm.js";import{a as w}from"./chunk-S2SVVZOG.esm.js";import{g as T,n as E}from"./chunk-BV6GHAF7.esm.js";import{g as c}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var g=c(w).attrs({as:"form",width:"100%"}).withConfig({componentId:"sc-1vzg0wj-0"})([""]),j=c(v).attrs({as:"form",width:"100%"}).withConfig({componentId:"sc-1vzg0wj-1"})([""]);import{z as d,ZodError as P}from"zod";function B(e){var o;return(o=e==null?void 0:e.value)!=null?o:e}s(B,"normalizeValues");function Z(e,o,i){let r=E(B,e);i(r,o)}s(Z,"prepareSubmit");function k(e){let o=Object.keys(e).reduce((i,r)=>{var t;let l=(t=e[r].validation)!=null?t:d.unknown().optional();return{...i,[r]:l}},{});return d.object(o)}s(k,"getValidationSchema");function O(e,o){return{...Object.keys(e).reduce((r,l)=>{var p;let t=(p=e[l].inputProps)==null?void 0:p.type;return r[l]=t==="checkbox"||t==="radio"?!1:"",r},{}),...o}}s(O,"buildDefaultValues");var ue=s(e=>e,"newField");import{forwardRef as Q,useEffect as W,useImperativeHandle as X,useState as Y}from"react";import U from"fast-deep-equal";var y=U;import{Controller as L,useFieldArray as J,useForm as x,useFormContext as M}from"react-hook-form";import{zodResolver as b}from"@hookform/resolvers/zod";import{jsx as K,jsxs as re}from"react/jsx-runtime";import{createElement as ee}from"react";var _=s((e,o)=>{let{initialValues:i,children:r,submitLabel:l,fields:t,handleSubmit:p,conditionalFields:R,mode:u,medias:S,onError:f,...D}=e,q=k(t),m=x({defaultValues:O(t,i),resolver:b(q),mode:u!=null?u:"onSubmit"});X(o,()=>m);let F=m.watch(),a=m.formState.errors,[V,G]=Y(()=>a);W(()=>{f&&!y(V,a)&&(T(a)||f(a),G(a))},[V,a,f]);let N=S?j:g,A=m.handleSubmit(n=>Z(n,m,p)),H=s(()=>typeof r=="undefined"?K(C,{disabled:m.formState.isSubmitting,type:"submit",text:l||"Enviar",color:"primary",area:"button"}):typeof r=="function"?r(F):r,"renderChildren");return re(N,{medias:S,...D,onSubmit:A,children:[Object.keys(t).map(n=>{let h=ee(z,{...t[n],key:n,name:n,area:n,value:F[n],errors:a[n],setFieldValue:m.setValue}),I=R&&R[n];return I?I(F)?h:null:h}),H()]})},"FormInputComponent"),$=Q(_);export{g as a,j as b,B as c,Z as d,k as e,O as f,ue as g,$ as h};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d,b as x,c as y,f as h}from"./chunk-
|
|
1
|
+
import{a as d,b as x,c as y,f as h}from"./chunk-KK7GJC3H.esm.js";import{a as c}from"./chunk-S2SVVZOG.esm.js";import{c as o}from"./chunk-XCJYI6FQ.esm.js";import{d as s}from"./chunk-RWLJNXLX.esm.js";import{b as f}from"./chunk-IK5Z5C2R.esm.js";import{b as u}from"./chunk-OXQA5WD3.esm.js";import{b as p}from"./chunk-TZQMBDGR.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";var S=o("textarea").withConfig({componentId:"apollion-textarea"})`
|
|
2
2
|
-webkit-appearance: none;
|
|
3
3
|
width: 100%;
|
|
4
4
|
outline: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h}from"./chunk-
|
|
1
|
+
import{a as h}from"./chunk-3LYH4EYD.esm.js";import{b as o}from"./chunk-G5Z7USXC.esm.js";import{g as f}from"./chunk-AXUWC2WH.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import{forwardRef as G,useCallback as x,useLayoutEffect as X,useRef as w,useState as _}from"react";var g;function y(){if(typeof window=="undefined")return 15;if(g!==void 0)return g;let e=o.document.createElement("div"),i=o.document.createElement("div");return e.style.overflow="scroll",e.style.width="100%",i.style.width="100%",o.document.body.appendChild(e),e.appendChild(i),g=e.offsetWidth-i.offsetWidth,e.removeChild(i),o.document.body.removeChild(e),g}m(y,"getOsScrollbarWidth");function W(){let e=y();return e?e+1:20}m(W,"getScrollbarWidth");var I=f(h).withConfig({componentId:"sc-wsu612-0"})(["flex:1;height:100%;overflow:hidden;"]),k=f(h).withConfig({componentId:"sc-wsu612-1"})(["height:100%;box-sizing:border-box;overflow-y:scroll;"]),b=f(h).withConfig({componentId:"sc-wsu612-2"})(["position:absolute;top:0;right:2px;cursor:pointer;user-select:none;width:6px;min-height:30px;max-height:100%;background:rgba(0,0,0,0.4);opacity:0;transition:opacity var(--apollion-motion-duration-300,300ms) var(--apollion-motion-easing-exit,cubic-bezier(0.4,0,1,1));z-index:1;"]),M=f(h).withConfig({componentId:"sc-wsu612-3"})(["flex:1;display:flex;overscroll-behavior:auto;overflow:hidden;&:hover ","{opacity:0.75;}"],b);import{jsx as S,jsxs as J}from"react/jsx-runtime";var j=G(({children:e,onScroll:i,style:R,scrollableRef:u,...D},P)=>{let[d,z]=_(1),s=w(null),p=w(null),C=w(0),E=w({}),F=x(n=>{s.current=n,typeof u=="function"?u(n):u&&(u.current=n)},[u]);X(()=>{let n=s.current,t,r=m(()=>{cancelAnimationFrame(t),t=requestAnimationFrame(()=>{var c;if(n){let{clientHeight:l,scrollHeight:a}=n;z(l/a),E.current={clientHeight:l,scrollHeight:a,trackHeight:(c=p==null?void 0:p.current)==null?void 0:c.clientHeight}}})},"updateScrollbar");return o.addEventListener("resize",r),r(),()=>{cancelAnimationFrame(t),o.removeEventListener("resize",r)}},[s,e]);let $=x(n=>{if(i&&i(n),d===1)return;let t=s.current,r=p.current;cancelAnimationFrame(C.current),C.current=requestAnimationFrame(()=>{let{clientHeight:c,scrollHeight:l,trackHeight:a}=E.current,v=t.scrollTop/(l-c)*(c-a);r&&(r.style.transform=`translateY(${v}px)`)})},[s,d,i]),O=x(n=>{let t=s.current,r,c=n.pageY,l=(t==null?void 0:t.scrollTop)||0,a=m(({pageY:v})=>{cancelAnimationFrame(r),r=requestAnimationFrame(()=>{let Y=v-c;l+=Y/d,c=v,t&&(t.scrollTop=l)})},"drag"),A=m(()=>{o.removeEventListener("mousemove",a)},"stop");o.addEventListener("mousemove",a),o.addEventListener("mouseup",A,{once:!0})},[s,d]),L=y(),T=!!L,H=T?W():0,q={style:{marginRight:`-${H}px`}},N={...R,paddingRight:H},B={onScroll:$,ref:F,tabIndex:0,style:{width:`calc(100% + ${L}px)`,overflowX:"hidden"}},U={ref:p,onMouseDown:O,style:{height:`${d*100}%`,display:d===1?"none":void 0}};return J(M,{...D,style:N,ref:P,children:[S(I,{...q,children:S(k,{...B,children:e})}),T&&S(b,{round:"micro",...U})]})});j.displayName="CustomScroll";export{j as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as H}from"./chunk-
|
|
1
|
+
import{c as H}from"./chunk-KGR36P56.esm.js";import{o as M}from"./chunk-DAT6GD4T.esm.js";import{b as F}from"./chunk-OULN77LP.esm.js";import{a as k}from"./chunk-IJBZ45BC.esm.js";import{a as c}from"./chunk-S2SVVZOG.esm.js";import{a as y}from"./chunk-3LYH4EYD.esm.js";import{a as v}from"./chunk-R2B57RMV.esm.js";import{k as E}from"./chunk-PXVTXO3L.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{e as g}from"./chunk-
|
|
1
|
+
import{e as g}from"./chunk-E4B4OTEY.esm.js";import{a as k}from"./chunk-IJBZ45BC.esm.js";import{a}from"./chunk-S2SVVZOG.esm.js";import{a as I}from"./chunk-R2B57RMV.esm.js";import{k as v}from"./chunk-PXVTXO3L.esm.js";import{g as d}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import{forwardRef as F,useId as L,useMemo as K,useRef as P}from"react";var B=d(a).withConfig({componentId:"sc-1hkckjr-0"})(["border-bottom:1px solid ",";& > ","{transform:translateY(1px);}> ","{overflow-x:scroll;overflow-y:hidden;&::-webkit-scrollbar{display:none;}}","{> ","{overflow-x:visible;overflow-y:visible;}}"],({theme:t})=>t.colors.edge.hairline,a,a,({theme:t})=>t.breakpoints.up("sm"),a),S=d(g).attrs(t=>{var e,n;return{borderRadius:(e=t.borderRadius)!=null?e:"straight",borderWidth:(n=t.borderWidth)!=null?n:"none"}}).withConfig({componentId:"sc-1hkckjr-1"})(["flex-shrink:0;position:relative;z-index:1;touch-action:manipulation;-webkit-tap-highlight-color:transparent;&::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:1px;background:",";transition:",";}&&&,&&&:focus,&&&:active,&&&:hover{box-shadow:none;text-decoration:none;}"],({isActive:t,theme:e,color:n})=>t?I(e,m=>v(m.colors[n],"base")):"transparent",({theme:t})=>t.animation.transitions.short);import{jsx as f,jsxs as j}from"react/jsx-runtime";function $({isActive:t,tabTitle:e,color:n="primary",buttonProps:m}){return f(S,{as:"button",variant:"linked",isActive:t,color:n,...m,children:f(k,{fontWeight:"bold",lineHeight:"tight",children:e})})}l($,"TabButton");var W=F(({selectedIndex:t=0,onChange:e,tabs:n,tabHeaderProps:m,tabContentProps:H,...D},R)=>{var w;let y=L(),b=K(()=>n.map((o,i)=>({...o,id:`${y}-${i}`})),[n,y]),x=P(null),A=l(o=>t===o,"isCurrentIndex"),T=l(o=>`tab-${o}`,"tabId"),h=l(o=>`tabpanel-${o}`,"panelId"),s=(w=b[t])!=null?w:b[0],E=l(o=>{var r,p;e==null||e(o);let i=(r=x.current)==null?void 0:r.querySelectorAll('[role="tab"]');(p=i==null?void 0:i[o])==null||p.focus()},"selectTab");return j(a,{...D,ref:R,children:[f(B,{...m,children:f(a,{flexDirection:"row",width:"100%",gap:"medium",pageShell:!0,position:"relative",alignItems:"end",role:"tablist",onKeyDown:l(o=>{let i=b.length-1,r=null;o.key==="ArrowRight"?r=t>=i?0:t+1:o.key==="ArrowLeft"?r=t<=0?i:t-1:o.key==="Home"?r=0:o.key==="End"&&(r=i),r!==null&&(o.preventDefault(),E(r))},"handleKeyDown"),ref:x,children:b.map(({id:o,buttonProps:i,handleClick:r,...p},c)=>{let u=A(c);return f($,{isActive:u,...p,buttonProps:{...i,id:T(o),role:"tab","aria-selected":u,"aria-controls":h(o),tabIndex:u?0:-1,onClick:l(M=>{c!==t&&(r==null||r(c,M),e==null||e(c))},"onClick")}},o)})})}),f(a,{flex:"fluid",pageShell:!0,width:"100%",role:"tabpanel",id:s?h(s.id):void 0,"aria-labelledby":s?T(s.id):void 0,...H,children:s==null?void 0:s.content})]})});W.displayName="Tabs";export{B as a,S as b,$ as c,W as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as N}from"./chunk-
|
|
1
|
+
import{a as N}from"./chunk-4SDDAQ6N.esm.js";import{a as b,b as C}from"./chunk-PXPFWWKL.esm.js";import{a as M}from"./chunk-MBQGF5IM.esm.js";import{a as P,b as E}from"./chunk-CK3WBMQQ.esm.js";import{a as s,d as a}from"./chunk-RWLJNXLX.esm.js";import{a as x,b as A}from"./chunk-RZLOZ3NW.esm.js";import{a as d,b as u}from"./chunk-IK5Z5C2R.esm.js";import{a as K,b as S}from"./chunk-BNB3KNKE.esm.js";import{a as h,b as w}from"./chunk-OXQA5WD3.esm.js";import{a as i,b as n}from"./chunk-TZQMBDGR.esm.js";import{a as m,b as p}from"./chunk-WCUEINBQ.esm.js";import{a as l,b as y}from"./chunk-QYL6LECA.esm.js";import{a as c,b as f}from"./chunk-3A7I6HM2.esm.js";import{a as F,e as g}from"./chunk-XTY6DXMK.esm.js";import{g as v}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var e=null,I=t(()=>(e===null&&(e=new Set([...l,...i,...h,...s,...m,...c,...d,...F,...K,...x,...P,...b,"variant","active"])),e),"getCustomPropNames"),D=t(o=>!I().has(o)&&N(o),"shouldForwardProp"),T=new Set(["width","height"]),W=t(o=>T.has(o)||D(o),"shouldForwardDimensionAttrs"),_=t((o=>v(o).withConfig({shouldForwardProp:D})),"styled"),r=t(o=>_(o).withConfig({componentId:`apollion-${o}`})(y({position:"relative"}),g,w,a,n,u,p,f,S,M,A,E,C),"buildElement"),X={a:r("a"),div:r("div"),span:r("span"),input:r("input"),button:r("button")};export{D as a,W as b,_ as c,X as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as F,c as S,d as x,e as L,f as H,h as k,i as O,j as D,k as K,m as A,n as C}from"./chunk-QRU4HAB3.esm.js";import{b as f,c as _,d as j,e as z,f as B}from"./chunk-XE4O5TMX.esm.js";import{g as T}from"./chunk-
|
|
1
|
+
import{b as F,c as S,d as x,e as L,f as H,h as k,i as O,j as D,k as K,m as A,n as C}from"./chunk-QRU4HAB3.esm.js";import{b as f,c as _,d as j,e as z,f as B}from"./chunk-XE4O5TMX.esm.js";import{g as T}from"./chunk-KK7GJC3H.esm.js";import{n as P}from"./chunk-DAT6GD4T.esm.js";import{b as w}from"./chunk-OULN77LP.esm.js";import{a as R}from"./chunk-PV4PSGB7.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{forwardRef as $,useMemo as c,useState as V}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");import{Fragment as oe,jsx as a,jsxs as re}from"react/jsx-runtime";var ee="yyyy-MM-dd";function te(e){if(!e)return;let n=j(e);return _(n)?n:void 0}t(te,"toDate");function ne(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(ne,"resolveDisabled");var U=$(({value:e,onChange:n,onValueChange:i,locale:o=z,minDate:s,maxDate:p,disabledDates:h,displayFormat:g="dd/MM/yyyy",name:y,placeholder:q,disabled:m,readOnly:M,...G},d)=>{let[v,I]=V(!1),u=c(()=>te(e),[e]),J=c(()=>u?f(u,g,{locale:o}):"",[u,g,o]),Q=c(()=>ne(h,s,p),[h,s,p]),{refs:b,floatingStyles:W,context:l}=K({open:v,onOpenChange:I,placement:"bottom-start",middleware:[H(4),S(),k({padding:8})],whileElementsMounted:F}),{getReferenceProps:X,getFloatingProps:Y}=A([O(l,{enabled:!m&&!M}),D(l,{outsidePress:!0,escapeKey:!0}),C(l,{role:"dialog"})]),Z=t(r=>{if(!r)return;let E=f(r,ee);i==null||i(E),n==null||n(N(y,E)),I(!1)},"handleSelect");return re(oe,{children:[a(T,{...G,ref:r=>{typeof d=="function"?d(r):d&&(d.current=r),b.setReference(r)},type:"text",role:"combobox",disabled:m,readOnly:M,name:y,placeholder:q,value:J,onChange:t(r=>{},"handleInputChange"),inputMode:"none",autoComplete:"off",icon:a(w,{icon:P}),iconPosition:"right",...X({onKeyDown:t(r=>{r.key.length===1&&r.key!==" "&&r.preventDefault()},"handleKeyDown")})}),v&&a(L,{children:a(x,{context:l,modal:!1,initialFocus:-1,children:a("div",{ref:b.setFloating,style:W,...Y(),children:a(R,{p:"xs",borderRadius:"xs",deep:3,children:a(B,{mode:"single",selected:u,onSelect:Z,locale:o,defaultMonth:u,disabled:Q,captionLayout:"dropdown",startMonth:s!=null?s:new Date(1970,0,1),endMonth:p!=null?p:new Date(2100,11,31)})})})})})]})});U.displayName="InputDate";export{U as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as o}from"./chunk-
|
|
1
|
+
import{g as o}from"./chunk-GHPI3RFU.esm.js";import{a as e}from"./chunk-S2SVVZOG.esm.js";import{forwardRef as u}from"react";import{jsx as n,jsxs as i}from"react/jsx-runtime";var f=u(({loading:r,opener:l=null,closer:m=null,content:s,contentGap:p="xs",children:x,loadingComponent:t,...c},a)=>i(e,{flexDirection:"row",justifyContent:"center",alignItems:"center",...c,ref:a,children:[i(e,{flexDirection:"row",flex:"fluid",alignItems:"center",gap:p,isHidden:r,children:[l,n(e,{flex:"fluid",minWidth:0,children:x||s}),m]}),r&&(t!=null?t:n(o,{"data-testid":"content-spinner",color:"gray.0",position:"absolute"}))]}));f.displayName="Content";export{f as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as d}from"./chunk-
|
|
1
|
+
import{b as d}from"./chunk-3LYH4EYD.esm.js";import{c as a}from"./chunk-XTY6DXMK.esm.js";import{g as o}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var u=t(e=>{var i;if(e===void 0)return;if(typeof e=="string")return e;let r="autoFit"in e?"auto-fit":"auto-fill",n="autoFit"in e?e.autoFit:e.autoFill;return`repeat(${r}, minmax(min(${n}, 100%), ${(i=e.max)!=null?i:"1fr"}))`},"resolveColumns"),f=t((e,r)=>({gridTemplateColumns:u(r.columns),gridTemplateRows:r.rows,gridTemplateAreas:r.areas,gap:r.gap?e.spacing(r.gap):void 0,gridColumnGap:r.columnGap?e.spacing(r.columnGap):void 0,gridRowGap:r.rowGap?e.spacing(r.rowGap):void 0,...a(r)}),"getGridProps"),s=t(({medias:e,theme:r})=>e?"xs"in e?Object.keys(e).reduce((n,i)=>({...n,[r.breakpoints.up(i)]:f(r,e[i])}),{}):f(r,e):{},"setGridBreakpoints"),p=o(d).withConfig({componentId:"sc-11fh3lu-0"})(["display:grid;",""],s);export{s as a,p as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,b as a,d as f}from"./chunk-
|
|
1
|
+
import{a as n,b as a,d as f}from"./chunk-QHRNEUNP.esm.js";import{o as m}from"./chunk-DAT6GD4T.esm.js";import{b as c}from"./chunk-OULN77LP.esm.js";import{a as i}from"./chunk-IJBZ45BC.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:h,alignSelf:k,justifySelf:b,...t})=>s(f,{variant:l,$color:C,disabled:t.disabled,area:h,alignSelf:k,justifySelf:b,children:[o(n,{...t,type:"checkbox",hidden:!0}),o(a,{children:o(c,{icon:m,size:"small"})}),typeof e=="string"?o(i,{fontSize:"small",color:"ink.primary",...x,children:e}):e]}),"CheckboxComponent");p.displayName="Checkbox";export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as t}from"./chunk-
|
|
1
|
+
import{e as t}from"./chunk-IJBZ45BC.esm.js";import{b as c}from"./chunk-H4CHFD6I.esm.js";import{a as i}from"./chunk-S2SVVZOG.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 x,c as b}from"./chunk-
|
|
1
|
+
import{a as x,c as b}from"./chunk-S7Y2IM73.esm.js";import{a as h}from"./chunk-S2SVVZOG.esm.js";import{a as l}from"./chunk-3LYH4EYD.esm.js";import{g as t}from"./chunk-AXUWC2WH.esm.js";import{a as M}from"./chunk-GZONWSRB.esm.js";import{forwardRef as v}from"react";var u=t(h).withConfig({componentId:"sc-10ipxtd-0"})([""," width:100%;"],b),s=t(x).withConfig({componentId:"sc-10ipxtd-1"})(["margin-bottom:0;"]),y=t(l).withConfig({componentId:"sc-10ipxtd-2"})(["position:absolute;top:0;bottom:0;background:var(--bg-progress);"]),g=t(l).withConfig({componentId:"sc-10ipxtd-3"})(["position:absolute;top:0;bottom:0;width:2px;background:var(--text-color);"]);import{jsx as d,jsxs as R}from"react/jsx-runtime";var P=v(({label:w,min:r=0,max:i=100,value:n,segments:e,ticks:p,color:C="primary",size:T="medium",border:$,...S},I)=>{let f=i-r,a=M(o=>f>0?Math.min(100,Math.max(0,(o-r)/f*100)):0,"pct"),m=n!=null,k=e!=null&&e.length?e:m?[{from:r,to:n}]:[];return d(u,{color:C,role:m?"meter":"img","aria-label":w,...m&&{"aria-valuemin":r,"aria-valuemax":i,"aria-valuenow":Math.min(i,Math.max(r,n))},...S,ref:I,children:R(s,{size:T,border:$,children:[k.map((o,c)=>d(y,{"aria-hidden":"true",style:{left:`${a(o.from)}%`,width:`${Math.max(a(o.to)-a(o.from),0)}%`,...o.color&&{background:o.color}}},`${o.from}-${o.to}-${c}`)),p==null?void 0:p.map((o,c)=>d(g,{"aria-hidden":"true",style:{left:`calc(${a(o.at)}% - 1px)`,...o.color&&{background:o.color}}},`${o.at}-${c}`))]})})});P.displayName="Meter";export{P as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../chunks/chunk-3LYH4EYD.esm.js";import"../../chunks/chunk-MPMCXGOX.esm.js";import"../../chunks/chunk-TBHGVERY.esm.js";import"../../chunks/chunk-XCJYI6FQ.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-PXPFWWKL.esm.js";import"../../chunks/chunk-V3JQI7KV.esm.js";import"../../chunks/chunk-MBQGF5IM.esm.js";import"../../chunks/chunk-CK3WBMQQ.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-RZLOZ3NW.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-TZQMBDGR.esm.js";import"../../chunks/chunk-WCUEINBQ.esm.js";import"../../chunks/chunk-YJ6PPJQ4.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-3A7I6HM2.esm.js";import"../../chunks/chunk-XTY6DXMK.esm.js";import"../../chunks/chunk-R2B57RMV.esm.js";import"../../chunks/chunk-RFUX53ZX.esm.js";import"../../chunks/chunk-CQASQBD7.esm.js";import"../../chunks/chunk-MREWGN5R.esm.js";import"../../chunks/chunk-PXVTXO3L.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as BaseContainer,b as LayoutBase};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t}from"../../chunks/chunk-
|
|
1
|
+
import{b as t}from"../../chunks/chunk-3LYH4EYD.esm.js";import"../../chunks/chunk-MPMCXGOX.esm.js";import"../../chunks/chunk-TBHGVERY.esm.js";import"../../chunks/chunk-XCJYI6FQ.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-PXPFWWKL.esm.js";import"../../chunks/chunk-V3JQI7KV.esm.js";import"../../chunks/chunk-MBQGF5IM.esm.js";import"../../chunks/chunk-CK3WBMQQ.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-RZLOZ3NW.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-TZQMBDGR.esm.js";import"../../chunks/chunk-WCUEINBQ.esm.js";import"../../chunks/chunk-YJ6PPJQ4.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-3A7I6HM2.esm.js";import"../../chunks/chunk-XTY6DXMK.esm.js";import"../../chunks/chunk-R2B57RMV.esm.js";import"../../chunks/chunk-RFUX53ZX.esm.js";import"../../chunks/chunk-CQASQBD7.esm.js";import"../../chunks/chunk-MREWGN5R.esm.js";import"../../chunks/chunk-PXVTXO3L.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import{g as o}from"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";var r=o(t).withConfig({componentId:"sc-fc1jyz-0"})(["display:block;"]);export{r as Box};
|