@apollion-dsi/core 6.0.0 → 7.0.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/README.md +1 -1
- package/lib/chunks/Dropdown.floating-O5GWHN6F.esm.js +1 -0
- package/lib/chunks/Notification.group-VLYQ6NRW.esm.js +1 -0
- package/lib/chunks/Tooltip.floating-WTJLJZJN.esm.js +1 -0
- package/lib/chunks/{chunk-YHM3YIO6.esm.js → chunk-3FWZII65.esm.js} +1 -1
- package/lib/chunks/chunk-4BZPXLAW.esm.js +1 -0
- package/lib/chunks/chunk-4PAEVB5H.esm.js +1 -0
- package/lib/chunks/{chunk-HRWQDKQV.esm.js → chunk-4RAZZLLG.esm.js} +1 -1
- package/lib/chunks/{chunk-DNEZUVFF.esm.js → chunk-5HLJ7LZZ.esm.js} +1 -1
- package/lib/chunks/chunk-6DILIYS2.esm.js +1 -0
- package/lib/chunks/chunk-7HRVZJBD.esm.js +1 -0
- package/lib/chunks/{chunk-Y3SYDZIF.esm.js → chunk-A77HKHNQ.esm.js} +1 -1
- package/lib/chunks/{chunk-T7HLONFV.esm.js → chunk-A7JDCK3C.esm.js} +1 -1
- package/lib/chunks/{chunk-ZAYWAUKZ.esm.js → chunk-BFP2C5JF.esm.js} +1 -1
- package/lib/chunks/{chunk-5J3XFFOC.esm.js → chunk-BQBDAFDE.esm.js} +1 -1
- package/lib/chunks/{chunk-DOYOTA4M.esm.js → chunk-CB7EKQYI.esm.js} +1 -1
- package/lib/chunks/{chunk-UWNCASVD.esm.js → chunk-CTNZPJ47.esm.js} +1 -1
- package/lib/chunks/{chunk-WUMLGV6U.esm.js → chunk-CXBUSCOB.esm.js} +1 -1
- package/lib/chunks/chunk-D4ZBSTRO.esm.js +1 -0
- package/lib/chunks/{chunk-VNIBGIZ2.esm.js → chunk-DGQ46IKV.esm.js} +1 -1
- package/lib/chunks/chunk-DMLGAY6T.esm.js +1 -0
- package/lib/chunks/{chunk-UKGWJWRQ.esm.js → chunk-DP5DDF7U.esm.js} +1 -1
- package/lib/chunks/{chunk-WUVW6J3R.esm.js → chunk-DRL2R3ED.esm.js} +1 -1
- package/lib/chunks/{chunk-G7MPAQNL.esm.js → chunk-DRXC4B7Z.esm.js} +1 -1
- package/lib/chunks/{chunk-NKSAICKJ.esm.js → chunk-ER6KS2SA.esm.js} +1 -1
- package/lib/chunks/{chunk-FUQKZLIO.esm.js → chunk-EXHRZZ5E.esm.js} +1 -1
- package/lib/chunks/chunk-FBZTXAE3.esm.js +1 -0
- package/lib/chunks/chunk-FH54V56Y.esm.js +1 -0
- package/lib/chunks/{chunk-HV5DUMYV.esm.js → chunk-FJHDGSZE.esm.js} +1 -1
- package/lib/chunks/{chunk-CEQ2E5NR.esm.js → chunk-FNYWD4YI.esm.js} +1 -1
- package/lib/chunks/{chunk-ZZNJQONU.esm.js → chunk-GC2ZV3CY.esm.js} +1 -1
- package/lib/chunks/{chunk-3MZJAPWM.esm.js → chunk-GM3IRR2E.esm.js} +1 -1
- package/lib/chunks/{chunk-SACX6WA6.esm.js → chunk-H4FEHRHK.esm.js} +1 -1
- package/lib/chunks/chunk-HG4FBLPA.esm.js +1 -0
- package/lib/chunks/{chunk-JEDWIAR7.esm.js → chunk-HJYD74KU.esm.js} +1 -1
- package/lib/chunks/chunk-HW42PSLQ.esm.js +1 -0
- package/lib/chunks/chunk-JQSEC336.esm.js +1 -0
- package/lib/chunks/chunk-JTVUOZDH.esm.js +1 -0
- package/lib/chunks/{chunk-N4HS4XKA.esm.js → chunk-JVIACETZ.esm.js} +1 -1
- package/lib/chunks/{chunk-XEUESXXM.esm.js → chunk-KBBFH5LX.esm.js} +1 -1
- package/lib/chunks/{chunk-AY4A3CRI.esm.js → chunk-KIFRBQYQ.esm.js} +1 -1
- package/lib/chunks/chunk-KKFQPSAE.esm.js +1 -0
- package/lib/chunks/{chunk-HCNNXM2C.esm.js → chunk-LCIO2E2K.esm.js} +1 -1
- package/lib/chunks/{chunk-CYE4PE7O.esm.js → chunk-MJK3VHIO.esm.js} +1 -1
- package/lib/chunks/{chunk-256WC4PP.esm.js → chunk-NDMZLKX7.esm.js} +1 -1
- package/lib/chunks/chunk-NHE4GLQK.esm.js +1 -0
- package/lib/chunks/{chunk-52ZUY32C.esm.js → chunk-NW2GV6YI.esm.js} +1 -1
- package/lib/chunks/{chunk-QDLV2F2N.esm.js → chunk-OHLL57EN.esm.js} +1 -1
- package/lib/chunks/{chunk-F62355HF.esm.js → chunk-OHVMP5B7.esm.js} +1 -1
- package/lib/chunks/{chunk-VZJX7POT.esm.js → chunk-OQWC47RM.esm.js} +1 -1
- package/lib/chunks/{chunk-M4OETFK4.esm.js → chunk-QAK32AY3.esm.js} +1 -1
- package/lib/chunks/{chunk-5H2LWL6K.esm.js → chunk-QRU4HAB3.esm.js} +1 -1
- package/lib/chunks/{chunk-PXOXPLL4.esm.js → chunk-R6MCW24V.esm.js} +1 -1
- package/lib/chunks/chunk-RI7KKIJD.esm.js +1 -0
- package/lib/chunks/chunk-SMAAEIJR.esm.js +1 -0
- package/lib/chunks/{chunk-E7F7OX6L.esm.js → chunk-SNZE6LRL.esm.js} +1 -1
- package/lib/chunks/{chunk-JHHHDDJX.esm.js → chunk-T6USFPVA.esm.js} +1 -1
- package/lib/chunks/{chunk-Z2ESWFUW.esm.js → chunk-UFQAFY4P.esm.js} +1 -1
- package/lib/chunks/chunk-UGTJEXCL.esm.js +1 -0
- package/lib/chunks/{chunk-TV2VA222.esm.js → chunk-UWIWI6XE.esm.js} +1 -1
- package/lib/chunks/{chunk-FX4N4XE3.esm.js → chunk-VAA7V65K.esm.js} +1 -1
- package/lib/chunks/{chunk-D2BGFGF5.esm.js → chunk-VU3NKSLB.esm.js} +1 -1
- package/lib/chunks/{chunk-KZGTQCBM.esm.js → chunk-VXAPSA5T.esm.js} +1 -1
- package/lib/chunks/{chunk-BLWZI2HB.esm.js → chunk-VYK6RBMI.esm.js} +1 -1
- package/lib/chunks/{chunk-MMBAI43B.esm.js → chunk-W37MIT56.esm.js} +1 -1
- package/lib/chunks/{chunk-URJHAYIA.esm.js → chunk-WMBOZ7KA.esm.js} +1 -1
- package/lib/chunks/{chunk-VLYDLZDV.esm.js → chunk-X64PGKAO.esm.js} +1 -1
- package/lib/chunks/{chunk-6A67VC76.esm.js → chunk-XYIRIYYK.esm.js} +1 -1
- package/lib/chunks/chunk-Y75NAEIA.esm.js +1 -0
- package/lib/chunks/{chunk-EAPNLQRA.esm.js → chunk-YW2TWFDF.esm.js} +1 -1
- package/lib/chunks/{chunk-45MWDRNM.esm.js → chunk-ZACTPOXN.esm.js} +1 -1
- package/lib/containers/Base/Base.style.d.ts +15 -1
- package/lib/containers/Base/index.d.ts +11 -5
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Box/Box.interface.d.ts +33 -0
- package/lib/containers/Box/Box.style.d.ts +22 -0
- package/lib/containers/Box/index.d.ts +16 -0
- package/lib/containers/Box/index.esm.js +1 -0
- package/lib/containers/Card/Card.d.ts +2 -2
- package/lib/containers/Card/Card.interface.d.ts +42 -9
- package/lib/containers/Card/Card.style.d.ts +80 -15
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.d.ts +8 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.interface.d.ts +23 -6
- package/lib/containers/Flex/Flex.style.d.ts +50 -3
- package/lib/containers/Flex/index.d.ts +1 -1
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.interface.d.ts +31 -7
- package/lib/containers/Grid/Grid.style.d.ts +16 -5
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.d.ts +1 -1
- package/lib/containers/Notification/Notification.interface.d.ts +3 -1
- package/lib/containers/Notification/Notification.style.d.ts +196 -48
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.interface.d.ts +24 -7
- package/lib/containers/Paper/Paper.style.d.ts +75 -33
- 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.style.d.ts +8 -8
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +8 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.style.d.ts +70 -6
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Steps/Steps.style.d.ts +210 -18
- package/lib/dataDisplay/Steps/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +141 -13
- 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/Tabs.style.d.ts +401 -81
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/Avatar.interface.d.ts +4 -1
- package/lib/elements/Avatar/Avatar.style.d.ts +34 -14
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.style.d.ts +70 -6
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Divider/Divider.style.d.ts +104 -20
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +1 -1
- package/lib/elements/Dropdown/Dropdown.floating.d.ts +38 -0
- package/lib/elements/Dropdown/Dropdown.interface.d.ts +9 -0
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.style.d.ts +280 -24
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/IconText/IconText.interface.d.ts +3 -1
- package/lib/elements/IconText/IconText.style.d.ts +39 -18
- 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/Link.style.d.ts +4 -4
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.style.d.ts +104 -20
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.style.d.ts +209 -42
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +70 -6
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/Sheet.style.d.ts +84 -20
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.style.d.ts +1 -1
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.props.d.ts +9 -8
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.floating.d.ts +36 -0
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/ContainerQueryFactory/ContainerQueryFactory.interface.d.ts +21 -6
- package/lib/factory/ContainerQueryFactory/index.esm.js +1 -1
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.interface.d.ts +12 -0
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/System/System.d.ts +5 -0
- package/lib/factory/System/System.interface.d.ts +72 -3
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/ViewportMediaFactory/ViewportMediaFactory.d.ts +25 -0
- package/lib/factory/ViewportMediaFactory/ViewportMediaFactory.interface.d.ts +50 -0
- package/lib/factory/ViewportMediaFactory/index.d.ts +8 -0
- package/lib/factory/ViewportMediaFactory/index.esm.js +1 -0
- package/lib/factory/index.d.ts +1 -0
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.style.d.ts +141 -13
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.style.d.ts +80 -16
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.style.d.ts +76 -12
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.style.d.ts +76 -12
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.style.d.ts +70 -6
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.style.d.ts +8 -8
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Option/Option.style.d.ts +70 -6
- package/lib/form/Option/index.esm.js +1 -1
- package/lib/form/Radio/Radio.style.d.ts +4 -4
- 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/TextArea.style.d.ts +72 -8
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +102 -50
- 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/DefaultLayout.style.d.ts +12 -12
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +12 -12
- 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/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/package.json +5 -13
- package/lib/chunks/Notification.group-A2B3AOWQ.esm.js +0 -1
- package/lib/chunks/chunk-4MZWNQEG.esm.js +0 -1
- package/lib/chunks/chunk-75RZEPGR.esm.js +0 -1
- package/lib/chunks/chunk-CT2E5OHH.esm.js +0 -1
- package/lib/chunks/chunk-DNPDRN65.esm.js +0 -1
- package/lib/chunks/chunk-DXBBCZ2G.esm.js +0 -1
- package/lib/chunks/chunk-E3DFLAI2.esm.js +0 -1
- package/lib/chunks/chunk-HEPTXYI6.esm.js +0 -1
- package/lib/chunks/chunk-HHMU4JQU.esm.js +0 -1
- package/lib/chunks/chunk-I6OALESP.esm.js +0 -1
- package/lib/chunks/chunk-J2WMKVZ6.esm.js +0 -1
- package/lib/chunks/chunk-MZXNUBS6.esm.js +0 -1
- package/lib/chunks/chunk-RSQIUWSS.esm.js +0 -1
- package/lib/chunks/chunk-SGFHFA5O.esm.js +0 -1
- package/lib/chunks/chunk-T45OIU7I.esm.js +0 -1
- package/lib/chunks/chunk-TOLIKUNQ.esm.js +0 -1
- package/lib/chunks/chunk-WYMKPFHD.esm.js +0 -1
- /package/lib/chunks/{chunk-AIUT47H7.esm.js → chunk-PMN6TVDW.esm.js} +0 -0
package/README.md
CHANGED
|
@@ -82,7 +82,7 @@ and `elements/sheet` / `elements/modal` for the primitives that use it.
|
|
|
82
82
|
| Category | Components |
|
|
83
83
|
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
84
84
|
| **Elements** | `Avatar`, `Button`, `Calendar`, `Divider`, `Dropdown`, `Icon`, `IconButton`, `IconText`, `Image`, `Label`, `Link`, `List`, `Modal`, `Popover`, `ProgressBar`, `Sheet`, `Spinner`, `Svg`, `Text`, `Tooltip` |
|
|
85
|
-
| **Containers** | `
|
|
85
|
+
| **Containers** | `Box`, `Card`, `Flex`, `Grid`, `Notification`, `Paper`, `Scroll` |
|
|
86
86
|
| **Form** | `Checkbox`, `Field`, `FieldGroup`, `Form`, `Input`, `InputCurrency`, `InputDate`, `InputMask`, `InputRange`, `InputSelect`, `Option`, `Radio`, `Select`, `Switch`, `TextArea`, `UploadCard` |
|
|
87
87
|
| **Data Display** | `DataTable`, `DescriptionList`, `Meter`, `Steps`, `Table`, `Tabs` |
|
|
88
88
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as r,c as i,d as s,e as a,f as l,g as d,h as p,j as m,k as c,l as f,m as g,n as u}from"./chunk-QRU4HAB3.esm.js";import{a as n}from"./chunk-DMLGAY6T.esm.js";import"./chunk-NHE4GLQK.esm.js";import"./chunk-D4ZBSTRO.esm.js";import"./chunk-PMN6TVDW.esm.js";import"./chunk-KKFQPSAE.esm.js";import"./chunk-VMIXRIQ2.esm.js";import"./chunk-VUFEYXWD.esm.js";import"./chunk-SF2QSF7E.esm.js";import"./chunk-LCIO2E2K.esm.js";import"./chunk-HG4FBLPA.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-OHVMP5B7.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-OXQA5WD3.esm.js";import"./chunk-TZQMBDGR.esm.js";import"./chunk-WCUEINBQ.esm.js";import"./chunk-YJ6PPJQ4.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-3A7I6HM2.esm.js";import"./chunk-WI3WPCW3.esm.js";import"./chunk-R2B57RMV.esm.js";import"./chunk-RFUX53ZX.esm.js";import"./chunk-CQASQBD7.esm.js";import"./chunk-MREWGN5R.esm.js";import"./chunk-PXVTXO3L.esm.js";import"./chunk-BV6GHAF7.esm.js";import"./chunk-G5Z7USXC.esm.js";import"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{jsx as e}from"react/jsx-runtime";var H={left:"bottom-start",right:"bottom-end",center:"bottom"},I=t(({referenceEl:P,open:F,onClose:w,position:b,hoverable:h,role:D,width:v,motion:x,children:M})=>{let{refs:R,floatingStyles:y,context:o}=c({open:F,onOpenChange:t(E=>{E||w()},"onOpenChange"),placement:H[b],middleware:[l(4),i(),p({padding:8})],whileElementsMounted:r,elements:{reference:P}}),{getFloatingProps:C}=g([f(o,{enabled:h,move:!1,handleClose:d()}),m(o,{outsidePress:!0,escapeKey:!0}),u(o,{role:D})]);return e(a,{children:e(s,{context:o,modal:!1,initialFocus:-1,children:e("div",{ref:R.setFloating,style:{...y,zIndex:500},...C(),children:e(n,{p:"xs",borderRadius:"xs",deep:2,width:v,motion:x,children:M})})})})},"DropdownFloating"),L=I;export{L as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as d}from"./chunk-4PAEVB5H.esm.js";import"./chunk-A7JDCK3C.esm.js";import"./chunk-ZMHNNJNC.esm.js";import"./chunk-RR2TYGZC.esm.js";import"./chunk-2FQC32AA.esm.js";import"./chunk-HSKYQ6VP.esm.js";import"./chunk-SPHHNZVP.esm.js";import"./chunk-4UWZA5FD.esm.js";import"./chunk-KQQ7V7VG.esm.js";import"./chunk-3QSPHURU.esm.js";import"./chunk-NDIYF5SX.esm.js";import{c}from"./chunk-KZTG5TDM.esm.js";import"./chunk-A3OJEVGQ.esm.js";import"./chunk-KR2X2UQG.esm.js";import"./chunk-BE2JDTVA.esm.js";import"./chunk-X64PGKAO.esm.js";import"./chunk-DAT6GD4T.esm.js";import"./chunk-CTNZPJ47.esm.js";import"./chunk-5HLJ7LZZ.esm.js";import"./chunk-BFP2C5JF.esm.js";import"./chunk-7TJO34VI.esm.js";import"./chunk-JLQDS5TS.esm.js";import"./chunk-5Q265MC7.esm.js";import"./chunk-3V3ZEGHO.esm.js";import"./chunk-VXAPSA5T.esm.js";import"./chunk-EXHRZZ5E.esm.js";import"./chunk-EBOJSNZ5.esm.js";import"./chunk-4E3BR56X.esm.js";import"./chunk-TMIQIUOH.esm.js";import"./chunk-4L2KOZIQ.esm.js";import"./chunk-R6MCW24V.esm.js";import{d as l}from"./chunk-A77HKHNQ.esm.js";import"./chunk-TLIKQFOT.esm.js";import"./chunk-IA234JY2.esm.js";import"./chunk-TG5BCBO4.esm.js";import"./chunk-G757UD32.esm.js";import"./chunk-OSFHXCPW.esm.js";import"./chunk-LVVNQRJ2.esm.js";import"./chunk-Z7GJDO5T.esm.js";import"./chunk-P7RR4ZHS.esm.js";import"./chunk-JOKVE3IX.esm.js";import"./chunk-CWRWYU7D.esm.js";import"./chunk-PFLBU7HG.esm.js";import"./chunk-TG2P4DDY.esm.js";import"./chunk-YJHYFCT7.esm.js";import"./chunk-UHABJEDB.esm.js";import"./chunk-3DUB5C4Z.esm.js";import"./chunk-KT6QQ3UJ.esm.js";import"./chunk-BERIBF3O.esm.js";import"./chunk-HVFI7FHR.esm.js";import"./chunk-VU3NKSLB.esm.js";import"./chunk-GM3IRR2E.esm.js";import"./chunk-KT4BKJVV.esm.js";import"./chunk-NHE4GLQK.esm.js";import{a as o}from"./chunk-D4ZBSTRO.esm.js";import"./chunk-PMN6TVDW.esm.js";import"./chunk-KKFQPSAE.esm.js";import"./chunk-VMIXRIQ2.esm.js";import"./chunk-VUFEYXWD.esm.js";import"./chunk-SF2QSF7E.esm.js";import"./chunk-LCIO2E2K.esm.js";import"./chunk-HG4FBLPA.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-OHVMP5B7.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-OXQA5WD3.esm.js";import"./chunk-TZQMBDGR.esm.js";import"./chunk-WCUEINBQ.esm.js";import"./chunk-YJ6PPJQ4.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-3A7I6HM2.esm.js";import"./chunk-WI3WPCW3.esm.js";import"./chunk-R2B57RMV.esm.js";import"./chunk-RFUX53ZX.esm.js";import"./chunk-CQASQBD7.esm.js";import"./chunk-MREWGN5R.esm.js";import"./chunk-PXVTXO3L.esm.js";import"./chunk-BV6GHAF7.esm.js";import{c as p}from"./chunk-G5Z7USXC.esm.js";import"./chunk-AXUWC2WH.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import{useEffect as u,useState as y}from"react";import{createPortal as B}from"react-dom";import{jsx as t}from"react/jsx-runtime";var N=f(({toast:r,onRemove:e})=>{let{id:i,...a}=r,[n,C]=y(!0),{mounted:s,state:m,ref:g}=c(n,{property:"grid-template-rows"});return u(()=>{s||e(i)},[s,i,e]),s?t(o,{ref:g,motion:"collapse","data-state":m,"aria-hidden":m==="closing"||void 0,style:{minWidth:300,maxWidth:"30vw",zIndex:100},children:t(o,{motion:"drawer-right","data-state":m,children:t(o,{style:{margin:"0.5rem"},children:t(d,{...a,visible:!0,closable:!0,onDismiss:()=>C(!1)})})})}):null},"ToastItem"),h=f(()=>{let{notifications:r,removeNotification:e}=l(),[i,a]=y(!1);return u(()=>{a(!0)},[]),!i||!p?null:B(t(o,{style:{position:"fixed",bottom:"1rem",right:"1rem"},children:r.map(n=>t(N,{toast:n,onRemove:e},n.id))}),p)},"NotificationGroup"),I=h;export{I as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s,b as p,c,e as d,f,h as m,j as u,k as g,m as w,n as x}from"./chunk-QRU4HAB3.esm.js";import{a as F,b as P}from"./chunk-SMAAEIJR.esm.js";import"./chunk-D4ZBSTRO.esm.js";import"./chunk-PMN6TVDW.esm.js";import"./chunk-KKFQPSAE.esm.js";import"./chunk-VMIXRIQ2.esm.js";import"./chunk-VUFEYXWD.esm.js";import"./chunk-SF2QSF7E.esm.js";import"./chunk-LCIO2E2K.esm.js";import"./chunk-HG4FBLPA.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-OHVMP5B7.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-OXQA5WD3.esm.js";import"./chunk-TZQMBDGR.esm.js";import"./chunk-WCUEINBQ.esm.js";import"./chunk-YJ6PPJQ4.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-3A7I6HM2.esm.js";import"./chunk-WI3WPCW3.esm.js";import"./chunk-R2B57RMV.esm.js";import"./chunk-RFUX53ZX.esm.js";import"./chunk-CQASQBD7.esm.js";import"./chunk-MREWGN5R.esm.js";import"./chunk-PXVTXO3L.esm.js";import"./chunk-BV6GHAF7.esm.js";import"./chunk-G5Z7USXC.esm.js";import"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import L from"react";import{jsx as R,jsxs as K}from"react/jsx-runtime";var $=i(({referenceEl:T,open:y,onOpenChange:b,position:v,inverted:E,noArrow:h,content:C,tooltipId:D})=>{var r,a;let e=L.useRef(null),{refs:M,floatingStyles:A,context:o,placement:H,middlewareData:t}=g({open:y,onOpenChange:b,placement:v,middleware:[f(8),c(),m({padding:4}),s({element:e})],whileElementsMounted:p,elements:{reference:T}}),{getFloatingProps:I}=w([u(o,{outsidePress:!0,escapeKey:!0}),x(o,{role:"tooltip"})]),n=(r=t.arrow)==null?void 0:r.x,l=(a=t.arrow)==null?void 0:a.y;return R(d,{children:K(P,{ref:M.setFloating,id:D,inverted:E,deep:2,p:"xs",borderRadius:"xs","data-placement":H,style:A,...I(),children:[C,!h&&R(F,{ref:e,style:{left:n!=null?`${n}px`:"",top:l!=null?`${l}px`:""}})]})})},"TooltipFloating"),U=$;export{U as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i,b as p,d as x}from"./chunk-
|
|
1
|
+
import{a as i,b as p,d as x}from"./chunk-W37MIT56.esm.js";import{o as n}from"./chunk-DAT6GD4T.esm.js";import{b as c}from"./chunk-CTNZPJ47.esm.js";import{a as m}from"./chunk-EXHRZZ5E.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import{jsx as o,jsxs as k}from"react/jsx-runtime";var a=r(({label:e=null,labelProps:C,variant:f="default",color:h,...t})=>k(x,{variant:f,$color:h,disabled:t.disabled,children:[o(i,{...t,type:"checkbox",hidden:!0}),o(p,{children:o(c,{icon:n,size:"small"})}),typeof e=="string"?o(m,{fontSize:"small",color:"ink.primary",...C,children:e}):e]}),"CheckboxComponent");a.displayName="Checkbox";export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as N}from"./chunk-ER6KS2SA.esm.js";import{a as M,b as H}from"./chunk-A7JDCK3C.esm.js";import{a as V}from"./chunk-RR2TYGZC.esm.js";import{f as G}from"./chunk-HSKYQ6VP.esm.js";import{c as z}from"./chunk-KZTG5TDM.esm.js";import{a as L}from"./chunk-BE2JDTVA.esm.js";import{ga as W}from"./chunk-DAT6GD4T.esm.js";import{b as T}from"./chunk-CTNZPJ47.esm.js";import{f as E}from"./chunk-VXAPSA5T.esm.js";import{a as F,e as B}from"./chunk-EXHRZZ5E.esm.js";import{a as D}from"./chunk-VU3NKSLB.esm.js";import{a as C,b as k}from"./chunk-NHE4GLQK.esm.js";import{a as h}from"./chunk-D4ZBSTRO.esm.js";import{a as R}from"./chunk-BV6GHAF7.esm.js";import{c as I}from"./chunk-G5Z7USXC.esm.js";import{b as f,g as m}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var no=f(["max-width:30rem;min-width:20rem;"]),ao=f(["max-width:40rem;min-width:20rem;"]),lo=f(["max-width:55rem;min-width:40rem;"]),io=f(["max-width:75rem;min-width:40rem;"]),mo=f(["width:95%;"]);function so({size:o}){switch(o){case"small":return no;case"medium":return lo;case"large":return io;default:return ao}}n(so,"modalSize");function co({variant:o,theme:t}){let a=t.colors[o];return f(["--baseColor:",";--lightColor:",";--actionColor:",";"],a.base,a.light,a.action)}n(co,"modalVariantColor");var O=m(h).attrs({p:"large",borderRadius:"md",bgColor:"surface.overlay"}).withConfig({componentId:"sc-8jjm43-0"})(["",";",";","{",";}"],mo,co,({theme:o})=>o.breakpoints.up("sm"),so),Q=m(C).withConfig({componentId:"sc-8jjm43-1"})(["max-height:84vh;overflow:hidden;"]),Y=m(C).withConfig({componentId:"sc-8jjm43-2"})(["& ","{flex:1;}& ","{padding:0.3rem;color:var(--baseColor);&:only-child{margin-left:auto;}}& ",":active{color:var(--actionColor);background-color:var(--lightColor);}& ",":hover{background-color:var(--lightColor);}"],F,M,M,M),$=m(h).withConfig({componentId:"sc-8jjm43-3"})(["flex:1;display:flex;overscroll-behavior:none;overflow:hidden;"]),q=m(k).attrs({borderRadius:"circular"}).withConfig({componentId:"sc-8jjm43-4"})(["background-color:var(--lightColor);& svg{color:var(--baseColor);width:1.25rem;height:1.25rem;g{fill:var(--baseColor);}}"]),J=m(h).withConfig({componentId:"sc-8jjm43-5"})(["z-index:9999;display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;"]),K=m(h).withConfig({componentId:"sc-8jjm43-6"})(["opacity:0.8;will-change:opacity;"]);import x,{cloneElement as uo,isValidElement as fo,useEffect as po,useRef as go,useState as ho}from"react";import{createPortal as Co}from"react-dom";import{Fragment as xo,jsx as e,jsxs as y}from"react/jsx-runtime";var U=n(({isOpen:o,onDismiss:t,...a})=>{if(!o&&!t)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[l,s]=ho(!1),i=go(null),{mounted:r,state:d,ref:c}=z(o!=null?o:!1);return po(()=>{s(!0)},[]),V(i,{active:!!(o&&l&&r),onEscape:t}),!l||!I?null:Co(r?y(J,{"data-testid":"modal-container",children:[e(K,{absoluteFill:!0,bgColor:"surface.scrim","data-testid":"modal-overlay",onClick:t,motion:"fade","data-state":d}),e(Mo,{ref:p=>{i.current=p,c(p)},motionState:d,onDismiss:t,...a})]}):null,I)},"ModalBaseComponent"),yo=n(({defaultOpen:o,trigger:t,isOpen:a,onDismiss:l,onModalOpen:s,...i})=>{let{active:r,disable:d,enable:c,toggle:p}=L(o,{onActive:s});return(a||l)&&R.warn('"isOpen" and "onDismiss" has no effect while using "trigger" prop'),y(xo,{children:[n(()=>{let u=null;if(typeof t=="function"&&(u=t({isOpen:r,open:c})),fo(t)&&(u=uo(t,{onClick:p})),u===null)throw new Error('"trigger" prop is not a valid element');return u},"renderTrigger")(),e(U,{isOpen:r,onDismiss:d,...i})]})},"ModalTriggerVariant"),Mo=x.forwardRef(n(function({noCloseButton:t,primaryButton:a,secondaryButton:l,primaryText:s,secondaryText:i,onDismiss:r,primaryAction:d,secondaryAction:c,children:p,tagline:v,variant:u,footer:w,title:b,size:Z,icon:P,motionState:_,closeLabel:A="Fechar"},oo){let{isMobile:S}=G(),j=x.useId(),eo=n(()=>{d({close:r})},"handlePrimary"),to=n(()=>{c({close:r})},"handleSecondary"),ro=n(()=>{let g={onClick:eo,fullWidth:w==="full"||S,"data-testid":"modal-confirm-button"};return a?x.cloneElement(a,g):e(E,{color:u,...g,children:s})},"renderPrimaryButton");return e(O,{ref:oo,role:"dialog","aria-modal":"true","aria-labelledby":b?j:void 0,tabIndex:-1,size:Z,variant:u,motion:"sheet","data-state":_,children:y(Q,{gap:"medium",children:[y(Y,{gap:"xs",children:[e(D,{opener:P&&e(q,{justifyContent:"center",alignItems:"center",p:"micro",children:P}),closer:!t&&e(H,{onClick:r,"data-testid":"modal-close-button","aria-label":A,icon:e(T,{icon:W}),variant:"linked",color:"secondary",size:"large",alignSelf:"start"}),children:b&&e(B,{id:j,variant:"h4",area:"title",color:"ink.primary",text:b})}),v&&e(B,{variant:"meta",color:"secondary.dark",area:"tagline",children:v})]}),e($,{py:"medium",children:e(N,{children:p})}),(d||c)&&y(C,{flexDirection:S?"column-reverse":"row",justifyContent:w==="expanded"?"between":"end",gap:"medium",children:[c&&n(()=>{if(w==="full")return null;let g={onClick:to,fullWidth:S,"data-testid":"modal-cancel-button"};return l?x.cloneElement(l,g):e(E,{variant:"outlined",color:"secondary",...g,children:i})},"renderSecondaryButton")(),d&&ro()]})]})})},"ModalDialog")),X=n(({noCloseButton:o=!1,secondaryText:t="Cancelar",primaryText:a="Confirmar",variant:l="primary",footer:s="right",...i})=>{let r={noCloseButton:o,secondaryText:t,primaryText:a,variant:l,footer:s,...i};return r!=null&&r.trigger?e(yo,{...r}):e(U,{...r})},"ModalComponent");X.displayName="Modal";export{O as a,Q as b,Y as c,$ as d,q as e,J as f,K as g,X as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as E,b as R}from"./chunk-A7JDCK3C.esm.js";import{f as A}from"./chunk-HSKYQ6VP.esm.js";import{c as z}from"./chunk-KZTG5TDM.esm.js";import{c as M}from"./chunk-X64PGKAO.esm.js";import{ga as F}from"./chunk-DAT6GD4T.esm.js";import{a as w,b as P}from"./chunk-CTNZPJ47.esm.js";import{a as T,e as y}from"./chunk-EXHRZZ5E.esm.js";import{a as B}from"./chunk-VU3NKSLB.esm.js";import{a as b,b as W}from"./chunk-NHE4GLQK.esm.js";import{a as I}from"./chunk-D4ZBSTRO.esm.js";import{c as g}from"./chunk-G5Z7USXC.esm.js";import{b as S,c as k,g as f}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var _=k(["0%{width:0;}100%{width:100%;}"]),C=f(W).withConfig({componentId:"sc-6lckl1-0"})(["--time:15;width:0;height:0.25rem;background-color:var(--baseColor);animation:"," calc(var(--time,15) * 1s) normal forwards;"],_),L=f(b).withConfig({componentId:"sc-6lckl1-1"})(["position:absolute;top:0.25rem;left:0.5rem;right:0.5rem;"]);function J({variant:e,theme:c}){let t=c.colors[e];return S(["--baseColor:",";--lightColor:",";--darkColor:",";--activeColor:",";--actionColor:",";--inkColor:",";position:relative;background-color:var(--lightColor);border-color:var(--baseColor);",":not(button *){color:var(--inkColor);}& ","{width:intrinsic;color:var(--darkColor);&:hover{background:var(--activeColor);}&:active ","{color:var(--actionColor);}}&:hover ","{animation-play-state:paused;}"],t.base,t.light,t.dark,t.active,t.action,t.onLight,T,E,w,C)}i(J,"getWrapperStyle");var v=f(I).withConfig({componentId:"sc-6lckl1-2"})(J);v.displayName="div";var V=f(b).withConfig({componentId:"sc-6lckl1-3"})(["color:var(--darkColor);svg{width:2rem;height:2rem;}"]);import $,{useEffect as K,useState as X}from"react";import{createPortal as Y}from"react-dom";import{jsx as o,jsxs as j}from"react/jsx-runtime";var q=$.forwardRef(i(function({type:c="block",variant:t="primary",visible:d=!0,closable:p=!0,autoClose:s=null,message:r=null,action:n=null,icon:m=null,link:a,onDismiss:l,closeLabel:G="Fechar notifica\xE7\xE3o",...u},H){let{isMobile:N}=A(),O=i(()=>{let h=n;return typeof n=="function"&&(h=n({close:l})),h?$.cloneElement(h,{color:t,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),Q=i(()=>typeof r=="function"?r({close:l}):typeof r=="string"?o(y,{text:r,variant:"p",fontSize:"xs"}):r,"renderMessage"),x=t==="danger",U=x?"alert":"status";return d?j(v,{ref:H,p:"medium",pr:9,round:N?0:"xs",borderWidth:N?"none":"thin",borderStyle:"solid",variant:t,"data-testid":`notification-${c}`,role:U,"aria-live":x?"assertive":"polite","aria-atomic":"true",...u,children:[s&&o(L,{children:o(C,{round:"micro",style:{"--time":s},onAnimationEnd:l})}),j(B,{contentGap:"medium",opener:m&&o(V,{pt:"xs",alignSelf:"start",children:m}),closer:O(),children:[u.title&&o(y,{text:u.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),Q(),a&&o(M,{...a,target:"_blank"})]}),p&&o(R,{p:"xs",borderWidth:"none",icon:o(P,{size:"small",icon:F}),"aria-label":G,variant:"linked",onClick:l,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})]}):null},"BaseNotification")),Z=i(e=>{let[c,t]=X(!1);K(()=>{t(!0)},[]);let d=e.visible!==!1,{mounted:p,state:s,ref:r}=z(d),{pageOffset:n=0,...m}=e,a=e.pagePosition==="top",l=a?{top:n}:{bottom:n};return!c||!g?null:Y(p?o(q,{...m,ref:r,round:0,borderWidth:"thin",borderPosition:a?"bottom":"top",motion:a?"sheet-top":"sheet","data-state":s,"aria-hidden":s==="closing"||void 0,visible:!0,style:{...l,zIndex:1e3,margin:0,position:"fixed",right:0,left:0}}):null,g)},"PageNotification"),D=i(e=>e.type==="page"?o(Z,{...e}):o(q,{...e}),"NotificationComponent");D.displayName="Notification";export{C as a,L as b,v as c,V as d,D as e};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as w}from"./chunk-
|
|
1
|
+
import{c as w}from"./chunk-W37MIT56.esm.js";import{a as m}from"./chunk-EXHRZZ5E.esm.js";import{c as a}from"./chunk-KKFQPSAE.esm.js";import{b as h}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var b=r(({trackW:t,thumb:i,pad:s})=>t-i-s*2,"thumbTravel"),n=r(({theme:t,$size:i="medium"})=>t.component.switch.size[i],"sizeTokens"),o=a("input").withConfig({componentId:"apollion-switch-input"})`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 0;
|
|
4
4
|
top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as g,c as f}from"./chunk-
|
|
1
|
+
import{b as g,c as f}from"./chunk-KKFQPSAE.esm.js";import{g as a}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"),P=o(t=>`fill: ${t.colors.getColor(t.colors.danger)};`,"getFillProps"),l=o(t=>typeof t=="number"&&Number.isFinite(t)?t:void 0,"toNativeLength"),x=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"),p=a("svg").attrs(t=>x(t)).withConfig({shouldForwardProp:g}).withConfig({componentId:"sc-16f7fwn-0"})([""," ",""],t=>({...I(t)}),({error:t,theme:r})=>t&&P(r)),C=o(t=>`transform: ${t};`,"getTransformProps"),s=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&&C(t)}
|
|
4
4
|
`,c=f("path").withConfig({componentId:"apollion-svg-path"})``;import{jsx as m,jsxs as G}from"react/jsx-runtime";import{createElement as b}from"react";var d=o(({transform:t,fill:r,paths:e,fillAll:n,error:i,viewBox:S,title:h,...v})=>G(p,{viewBox:S,error:i,...v,children:[h&&m("title",{children:h}),m(s,{transform:t,fill:r,children:o(()=>e&&e.map(u=>{let{fill:y,...w}=u,D=n?void 0:y;return b(c,{...w,key:u.d,fill:D})}),"RenderPaths")()})]}),"SvgComponent");d.displayName="Svg";export{x as a,p as b,s as c,c as d,d as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as c}from"./chunk-CTNZPJ47.esm.js";import{b as g}from"./chunk-BFP2C5JF.esm.js";import{e as f}from"./chunk-EXHRZZ5E.esm.js";import{b as m}from"./chunk-NHE4GLQK.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function h(r){return r==="extraLarge"?"xl":r==="giant"?"xxl":r}a(h,"getIconSize");function d({theme:r,size:i,$label:n}){let{fontSize:o}=r.font,e=(n==null?void 0:n.length)||0;switch(i){case"small":{let t=r.spacing("medium");return{width:t,height:t,fontSize:o.micro}}case"large":{let t=r.spacing("xl");return{width:t,height:t,fontSize:e===1?o.xxl:o.large}}case"extraLarge":{let t=r.spacing("xxl");return{width:t,height:t,fontSize:e===1?o.gargantua:o.giant}}case"giant":{let t=r.spacing("giant");return{width:t,height:t,fontSize:o.gargantua}}default:{let t=r.spacing("large");return{width:t,height:t,fontSize:e===1?o.medium:o.xs}}}}a(d,"getSizes");var u=p(m).withConfig({componentId:"sc-k7r87e-0"})(d);import{jsx as s}from"react/jsx-runtime";function x({imgSrc:r,icon:i,size:n,label:o,alt:e}){return r?s(g,{width:"100%",height:"100%",src:r,alt:e!=null?e:"","data-testid":"avatar-image"}):i?s(c,{icon:i,size:h(n),"data-testid":"avatar-icon"}):s(f,{textTransform:"uppercase",children:o})}a(x,"getContent");var l=a(({size:r,icon:i,imgSrc:n,label:o,alt:e,...t})=>s(u,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"surface.sunken",color:"primary.base",$label:o,size:r,...!n&&!i&&!!o&&{role:"img","aria-label":e!=null?e:o},...t,children:x({size:r,icon:i,imgSrc:n,label:o,alt:e})}),"Avatar");l.displayName="Avatar";export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as E}from"./chunk-UGTJEXCL.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-O5GWHN6F.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{a as Ge,b as _e}from"./chunk-TG5BCBO4.esm.js";import{a as G}from"./chunk-G757UD32.esm.js";import{b as Fe}from"./chunk-OSFHXCPW.esm.js";import{b as Ee,c as Ne}from"./chunk-P7RR4ZHS.esm.js";import{b as he}from"./chunk-JOKVE3IX.esm.js";import{a as Te}from"./chunk-PFLBU7HG.esm.js";import{a as xe,b as Oe,c as Ye,d as Le}from"./chunk-YJHYFCT7.esm.js";import{a as
|
|
1
|
+
import{a as Me,b as Ae,d as Se,e as ke,f as be,g as we,h as Ie,i as z,m as Re,p as De,q as Ce}from"./chunk-TLIKQFOT.esm.js";import{a as Ge,b as _e}from"./chunk-TG5BCBO4.esm.js";import{a as G}from"./chunk-G757UD32.esm.js";import{b as Fe}from"./chunk-OSFHXCPW.esm.js";import{a as Pe}from"./chunk-LVVNQRJ2.esm.js";import{b as Ee,c as Ne}from"./chunk-P7RR4ZHS.esm.js";import{b as he}from"./chunk-JOKVE3IX.esm.js";import{a as Te}from"./chunk-PFLBU7HG.esm.js";import{a as xe,b as Oe,c as Ye,d as Le}from"./chunk-YJHYFCT7.esm.js";import{a as ue}from"./chunk-UHABJEDB.esm.js";import{a as me}from"./chunk-3DUB5C4Z.esm.js";import{b as le,c as pe}from"./chunk-KT6QQ3UJ.esm.js";import{a as ye,b as ve}from"./chunk-BERIBF3O.esm.js";import{b as Ve}from"./chunk-HVFI7FHR.esm.js";import{a as fe}from"./chunk-VMIXRIQ2.esm.js";import{g as ae,j as de}from"./chunk-SF2QSF7E.esm.js";import{b as re,c as ne,d as ie}from"./chunk-R2B57RMV.esm.js";import{c as te}from"./chunk-RFUX53ZX.esm.js";import{a as F,b as W,g as ee,h as oe}from"./chunk-CQASQBD7.esm.js";import{d as ce,e as se}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";function _(r={}){let{colors:n,breakpoints:t,containerSizes:i,layout:d,spacing:S,border:f,font:u,dimension:v,typeWeight:k,component:R,motion:N}=ye({colors:F,spacing:Ge,font:Ee,border:me,breakpoints:le,containerSizes:xe,layout:Oe,motion:ae,dimension:he,typeWeight:"regular",component:{}},r),P=W(n),m=_e(S,v),D=Ne(u,v,k),l=Fe({colors:P,spacing:m});return{font:D,border:f,animation:ue,colors:P,breakpoints:pe(t),containerSizes:Ye(i),layout:Le(d),motion:de(N),spacing:m,depth:te(P),deep:Pe(P),semantic:l,foundation:Te(l),component:ve(R)}}c(_,"createTheme");import{createContext as Je,lazy as Ke,Suspense as Xe,useContext as Ze,useReducer as We,useRef as eo}from"react";import{nanoid as ze}from"nanoid";import{Fragment as ro,jsx as B,jsxs as no}from"react/jsx-runtime";var oo=Ke(()=>import("./Notification.group-VLYQ6NRW.esm.js")),Be=Je({});function to(r,{type:n,payload:t}){switch(n){case"ADD":return[t,...r];case"REMOVE":return r.filter(i=>i.id!==t.id);default:return r}}c(to,"NotificationReducer");var ge=c(r=>{let[n,t]=We(to,[]),i=eo(!1),d=c(f=>{t({type:"REMOVE",payload:{id:f}})},"removeNotification"),S=c(f=>{if(t({type:"ADD",payload:{id:ze(),...f}}),n.length>=3){let[u]=n.slice(-1);setTimeout(()=>d(u.id),0)}},"showNotification");return n.length>0&&(i.current=!0),B(Be.Provider,{value:{notifications:n,removeNotification:d,showNotification:S},children:no(ro,{children:[r.children,i.current&&B(Xe,{fallback:null,children:B(oo,{})})]})})},"NotificationsProvider");function Do(){let r=Ze(Be);if(r===void 0)throw new Error("cant use useNotification hook outside of <NotificationsProvider />");return r}c(Do,"useNotification");import o from"react";import{jsx as I}from"react/jsx-runtime";function io(r,n){return typeof n=="string"?fe(r):!0}c(io,"shouldForwardProp");var co=typeof window=="undefined"?o.useEffect:o.useLayoutEffect,g=o.createContext(null);function $o(){let r=o.useContext(g);if(r===null)throw new Error("useApollionTheme deve ser usado dentro de um <ApollionProvider>.");return r}c($o,"useApollionTheme");function qo(){return o.useContext(g)}c(qo,"useApollionThemeOptional");var Ho=c(({children:r,theme:n,lightTheme:t,darkTheme:i,colors:d,useSystemPreference:S=!1,themeMode:f,onThemeModeChange:u,mode:v,defaultMode:k,initialMode:R,onModeChange:N,persist:P=!1,storageKey:m=Me,syncDocument:D=!0,attribute:l=Ae,a11y:Q,defaultA11y:Qe=null,onA11yChange:C,surface:x="positive",dimension:T,typeWeight:M})=>{var Z;let s=o.useMemo(()=>Re(P),[P]),O=ke(m),Y=v!==void 0||f!==void 0,Ue=k!=null?k:S?"system":"light",[$e,U]=o.useState(Ue),A=(Z=v!=null?v:f)!=null?Z:$e,[V,$]=o.useState(()=>R!==void 0?R==="dark":A==="system"&&Ie()),a=z(A,V),b=Q!==void 0,[qe,q]=o.useState(Qe),h=b?Q:qe;co(()=>{if(s){if(!Y){let e=s.read(m);be(e)&&U(e)}if(!b){let e=s.read(O);if(e===null||e==="")return;q(we(e)?e:null)}}},[s,m,O,Y,b]),o.useEffect(()=>{var w;if(A!=="system")return;let e=typeof window!="undefined"?(w=window.matchMedia)==null?void 0:w.call(window,Se):void 0;if(!e)return;$(e.matches);let y=c(je=>$(je.matches),"handleChange");return e.addEventListener("change",y),()=>e.removeEventListener("change",y)},[A]),o.useEffect(()=>{if(!(!D||typeof document=="undefined"))return De(document.documentElement,{mode:a,a11y:h},{attribute:l}),()=>Ce(document.documentElement,{attribute:l})},[D,a,h,l]);let L=o.useCallback(e=>{Y||U(e),s==null||s.write(m,e),N==null||N(e),u==null||u(z(e,V))},[Y,s,m,N,u,V]),H=o.useCallback(e=>{b||q(e),s==null||s.write(O,e),C==null||C(e)},[b,s,O,C]),j=o.useCallback(e=>L(e!=null?e:a==="dark"?"light":"dark"),[L,a]),J=o.useMemo(()=>{if(n||t||i)return null;let e=d!=null?d:F,y=h?oe[h](e):e,w={colors:y,...T!==void 0&&{dimension:T},...M!==void 0&&{typeWeight:M}};return{light:_(w),dark:_({...w,colors:ee(y)})}},[n,t,i,d,T,M,h]),p=o.useMemo(()=>t&&i?{light:t,dark:i}:t||i||n?null:J,[t,i,n,J]),K=o.useMemo(()=>{var e,y;return p?a==="dark"?p.dark:p.light:(y=(e=t!=null?t:i)!=null?e:n)!=null?y:_({...T!==void 0&&{dimension:T},...M!==void 0&&{typeWeight:M}})},[p,a,t,i,n,T,M]),E=o.useMemo(()=>{if(!p)return ie(G(K,x));let e={light:G(p.light,x,"light"),dark:G(p.dark,x,"dark")};return re(e)},[p,K,x]),X=o.useMemo(()=>E.modes?ne(a==="dark"?E.modes.dark:E.modes.light,E.modes):E,[E,a]),He=o.useMemo(()=>({theme:X,mode:A,resolvedMode:a,setMode:L,a11y:h,setA11y:H,attribute:l,themeMode:a,toggleTheme:j}),[X,A,a,L,h,H,l,j]);return I(ce,{shouldForwardProp:io,children:I(g.Provider,{value:He,children:I(se,{theme:E,children:I(Ve,{children:I(ge,{children:r})})})})})},"ApollionProvider");export{_ as a,ze as b,ge as c,Do as d,$o as e,qo as f,Ho as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as s}from"./chunk-
|
|
1
|
+
import{e as s}from"./chunk-VXAPSA5T.esm.js";import{g as m}from"./chunk-GM3IRR2E.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{
|
|
1
|
+
import{a as I}from"./chunk-7TJO34VI.esm.js";import{b as s}from"./chunk-JLQDS5TS.esm.js";import{a as f}from"./chunk-5Q265MC7.esm.js";import{b as g}from"./chunk-KKFQPSAE.esm.js";import{c as i}from"./chunk-BV6GHAF7.esm.js";import{g as c}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var b=r(({cover:e,height:t,width:o})=>e&&{width:o!=null?o:"100%",height:t!=null?t:"100%",objectFit:"cover"},"imageCover"),l=r(e=>e?i(e):"fit-content","getSizeValue"),d=c("img").withConfig({shouldForwardProp:g}).withConfig({componentId:"sc-swtbvc-0"})(["display:block;width:",";height:",";",";&[src='']{visibility:hidden;position:absolute;}"],({full:e,width:t})=>e?"100%":l(t),({height:e})=>l(e),b);import C,{forwardRef as L,useState as h}from"react";import{jsx as n,jsxs as R}from"react/jsx-runtime";var p=L(({src:e,...t},o)=>n(d,{src:e,ref:o,...t})),x=r(({width:e=60,height:t=60})=>n(I,{height:t,width:e,children:n(s,{width:e,height:t})}),"ImageDefaultContentLoader");function F(e){return new Promise((t,o)=>{let a=new Image;a.onload=t,a.onerror=o,a.src=e})}r(F,"loadImage");var u=r(({src:e,fallback:t,threshold:o,...a})=>{let[m,y]=h(),[S]=f({threshold:o},()=>{F(e).then(()=>y(e)).catch(()=>console.warn(`[Failed]: error on loading image: ${e}`))}),w=typeof m=="undefined";return R(C.Fragment,{children:[w?t||n(x,{...a}):null,n(p,{src:m||"",ref:S,...a})]})},"ImageLazy");u.displayName="ImageLazy";export{d as a,p as b,u as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-DRXC4B7Z.esm.js";import{a}from"./chunk-3FWZII65.esm.js";import{a as r}from"./chunk-CDRLVSLF.esm.js";import{a as C}from"./chunk-VU3NKSLB.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{a as b,b as i}from"./chunk-F7PA7OCV.esm.js";import{b as n}from"./chunk-
|
|
1
|
+
import{a as b,b as i}from"./chunk-F7PA7OCV.esm.js";import{b as n}from"./chunk-DRXC4B7Z.esm.js";import{a as T}from"./chunk-CDRLVSLF.esm.js";import{e as a}from"./chunk-EXHRZZ5E.esm.js";import{g as f}from"./chunk-AXUWC2WH.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import s from"react";var p=f.tfoot.withConfig({componentId:"sc-lefdns-0"})(["width:100%;& > ","{background-color:",";}"],b,({theme:l})=>l.colors.surface.sunken);import{jsx as e}from"react/jsx-runtime";var r=m(l=>{let{columnSum:o}=s.useContext(T),d=o.index!==void 0?e(i,{children:Array.from({length:o.index+1},(c,t)=>o.index===t?e(n,{children:e(a,{variant:"h6",children:o.sum})},t):o.index-1===t?e(n,{children:e(a,{variant:"h6",children:"Total:"})},t):e(n,{children:"\xA0"},t))}):l.children;return e(p,{isSum:o.index!==void 0,...l,children:d})},"TableFooterComponent");r.displayName="TableFooter";export{p as a,r as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as a}from"./chunk-
|
|
1
|
+
import{e as a}from"./chunk-5HLJ7LZZ.esm.js";import{b as u}from"./chunk-BFP2C5JF.esm.js";import{a as R}from"./chunk-D4ZBSTRO.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 +1 @@
|
|
|
1
|
-
import{d as G}from"./chunk-
|
|
1
|
+
import{d as G}from"./chunk-XYIRIYYK.esm.js";import{a as h}from"./chunk-3FWZII65.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import g,{Children as T,useCallback as H,useMemo as k}from"react";function M(e){return Array(e).fill("min-content").join(" ")}o(M,"createSpace");function y(e){return e?M(e):"1fr"}o(y,"getGridColumns");function v(e){let l=e&&e.row?e.row:e,u=e&&e.column?e.column:e;return[l,u]}o(v,"getGridGap");import{jsx as N}from"react/jsx-runtime";import{createElement as L}from"react";var I=o(e=>{let{name:l,variant:u,gap:d="Compact",columns:s,value:t,inputs:p,children:b,onChange:m,type:c,...P}=e,E=k(()=>y(s),[s]),[F,w]=k(()=>v(d),[d]),C=H((r,n)=>a=>{if(!m||!l)return;let i=null;c==="radio"?i=n:r&&Array.isArray(t)?i=t.filter(R=>R!==n):i=[...t||[],n],m(i)},[l,t,m,c]);function f(r){return Array.isArray(t)?!!t.includes(r):r===t}o(f,"isInputChecked");function x(){let r=c==="radio"?G:h;return p.map(n=>{let a=f(n.value),i=c==="radio"?l:n.name;return L(r,{...n,key:n.value,variant:u,name:i,checked:a,onChange:C(a,n.value)})})}o(x,"renderInputs");function A(){return T.map(b,r=>{if(!g.isValidElement(r))return null;let n=r.props.value,a=f(n);return g.cloneElement(r,{onChange:C(a,n),checked:a})})}return o(A,"renderChildren"),N("div",{style:{display:"grid",gridRowGap:F,gridColumnGap:w,gridTemplateColumns:E},children:p?x():A()})},"FieldGroupComponent");I.displayName="FieldGroup";export{I as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as o}from"./chunk-KKFQPSAE.esm.js";var t=o.div,n=t;export{t as a,n as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as H}from"./chunk-
|
|
1
|
+
import{c as H}from"./chunk-X64PGKAO.esm.js";import{o as M}from"./chunk-DAT6GD4T.esm.js";import{b as F}from"./chunk-CTNZPJ47.esm.js";import{a as k}from"./chunk-EXHRZZ5E.esm.js";import{a as c}from"./chunk-NHE4GLQK.esm.js";import{a as y}from"./chunk-D4ZBSTRO.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as r}from"./chunk-NHE4GLQK.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";var t=e(r).attrs(o=>({p:"medium",borderRadius:"micro",bgColor:"surface.paper",deep:2,...o})).withConfig({componentId:"sc-5vfy6v-0"})([""]);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n}from"./chunk-
|
|
1
|
+
import{b as n}from"./chunk-VXAPSA5T.esm.js";import{a as m}from"./chunk-EXHRZZ5E.esm.js";import{a as i}from"./chunk-NHE4GLQK.esm.js";import{a}from"./chunk-D4ZBSTRO.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{b}from"./chunk-ZZOIX6CV.esm.js";import{e as t}from"./chunk-
|
|
1
|
+
import{b}from"./chunk-ZZOIX6CV.esm.js";import{e as t}from"./chunk-EXHRZZ5E.esm.js";import{a as o}from"./chunk-NHE4GLQK.esm.js";import{a as e}from"./chunk-GZONWSRB.esm.js";import{jsx as r,jsxs as c}from"react/jsx-runtime";var n=e(({initialPagination:i,finalPagination:a,linesPerPage:p,totalPagination:l,showingText:f=e((s,x,T)=>`Exibindo ${s} - ${x} de ${T} itens`,"showingText"),linesPerPageLabel:m="Linhas por p\xE1gina"})=>i&&a&&l&&Array.isArray(p)?c(o,{flexDirection:"row",justifyContent:"between",alignItems:"center",children:[r(t,{color:"primary.dark",children:f(i,a,l)}),c(o,{flexDirection:"row",justifyContent:"center",alignItems:"center",gap:2,children:[r(t,{color:"primary.dark",children:m}),r(b,{width:"150px",options:p,"aria-label":m})]})]}):null,"TablePaginationComponent");n.displayName="TablePagination";export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as p}from"./chunk-FH54V56Y.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-EXHRZZ5E.esm.js";import{a as C}from"./chunk-NHE4GLQK.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 h}from"./chunk-
|
|
1
|
+
import{a as h}from"./chunk-D4ZBSTRO.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{d as S}from"./chunk-
|
|
1
|
+
import{d as S}from"./chunk-KKFQPSAE.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as m}from"./chunk-FH54V56Y.esm.js";import{e as r}from"./chunk-EXHRZZ5E.esm.js";import{a as n,b as i}from"./chunk-NHE4GLQK.esm.js";import{a as p}from"./chunk-D4ZBSTRO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{jsx as o,jsxs as a}from"react/jsx-runtime";var u=t(({children:l,icon:c,title:f,description:x,...e})=>{let s=e.inverted?"ink.primary":"surface.paper";return o(m,{content:o(p,{p:"xs",children:a(i,{gap:"medium",maxWidth:400,color:s,children:[a(n,{flexDirection:"row",alignItems:"center",gap:"medium",children:[c,o(r,{variant:"h4",text:f,color:null})]}),o(r,{variant:"p",text:x,color:null})]})}),...e,children:l})},"Popover");u.displayName="Popover";export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as d}from"./chunk-EXHRZZ5E.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import w,{lazy as H,Suspense as k,useCallback as m,useId as z,useRef as A,useState as T}from"react";import{Fragment as M,jsx as u,jsxs as v}from"react/jsx-runtime";var B=H(()=>import("./Tooltip.floating-WTJLJZJN.esm.js")),L=40,E=s((e,c)=>typeof e=="string"?u(d,{...c,children:e}):e,"getElement"),R=s(({children:e,position:c="top",content:h,inverted:g,noArrow:y,onDismiss:t,visible:a})=>{if(a!==void 0&&typeof t=="undefined")throw new Error('Voc\xEA deve fornecer a fun\xE7\xE3o "onDismiss" quando utilizar a prop "visible"');let r=a!==void 0,[x,o]=T(!1),i=r?!!a:x,[C,S]=T(null),I=m(l=>S(l),[]),p=A(void 0),f=z(),O=m(l=>{r?!l&&t&&t():o(l)},[r,t]),n={ref:I,"aria-describedby":i?f:void 0};r||(n.onPointerEnter=()=>{clearTimeout(p.current),p.current=setTimeout(()=>o(!0),L)},n.onPointerLeave=()=>{clearTimeout(p.current),o(!1)},n.onFocus=()=>o(!0),n.onBlur=()=>o(!1));let P=E(e),b=w.cloneElement(P,n);return v(M,{children:[b,i&&u(k,{fallback:null,children:u(B,{referenceEl:C,open:i,onOpenChange:O,position:c,inverted:g,noArrow:y,tooltipId:f,content:E(h,{fontSize:"micro",lineHeight:"regular"})})})]})},"TooltipComponent");R.displayName="Tooltip";export{R as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as C}from"./chunk-
|
|
1
|
+
import{a as C}from"./chunk-3FWZII65.esm.js";import{a}from"./chunk-CDRLVSLF.esm.js";import{b}from"./chunk-VAA7V65K.esm.js";import{a as t}from"./chunk-NHE4GLQK.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import h from"react";var c=r(b).withConfig({componentId:"sc-a4obcw-0"})([""]);import{jsx as o}from"react/jsx-runtime";var e=l(n=>{let{getAllSelected:m}=h.useContext(a);return o(c,{bgColor:"baseLight",children:o(t,{justifyContent:"center",children:o(C,{label:n.children,onChange:x=>m(x.target.checked)})})})},"TableHeaderCheckboxCellComponent");e.displayName="TableHeaderCheckboxCell";export{c as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as w,c as E}from"./chunk-
|
|
1
|
+
import{a as w,c as E}from"./chunk-T6USFPVA.esm.js";import{a as F}from"./chunk-43YSWDK6.esm.js";import{e as N,g as k}from"./chunk-GC2ZV3CY.esm.js";import{a as T}from"./chunk-EXHRZZ5E.esm.js";import{a as v}from"./chunk-NHE4GLQK.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{a as s,b as P}from"./chunk-
|
|
1
|
+
import{a as s,b as P}from"./chunk-A7JDCK3C.esm.js";import{ga as I,o as v}from"./chunk-DAT6GD4T.esm.js";import{a as c,b as m}from"./chunk-CTNZPJ47.esm.js";import{a as S}from"./chunk-NHE4GLQK.esm.js";import{d as C}from"./chunk-KKFQPSAE.esm.js";import{b}from"./chunk-TZQMBDGR.esm.js";import{b as u}from"./chunk-3A7I6HM2.esm.js";import{a as x}from"./chunk-R2B57RMV.esm.js";import{j as k}from"./chunk-PXVTXO3L.esm.js";import{b as i,f as w,g as y}from"./chunk-AXUWC2WH.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";function D(){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(D,"inputVariantStyle");var R=i(["&::placeholder{color:",";}&:disabled{&::placeholder{color:var(--disabled-color);}}"],({theme:o})=>o.colors.ink.muted),H=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 M({iconPosition:o}){return o==="left"?i(["& ~ ",",& ~ ","{left:1em;right:unset;}"],s,c):null}p(M,"invertIconPosition");var N=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(C.input).attrs(o=>({fontFamily:"main",lineHeight:"tight",bgColor:"surface.paper",borderWidth:"thin",borderStyle:"solid",px:"small",...o})).withConfig({componentId:"sc-8elel8-0"})(["-webkit-appearance:none;display:block;width:100%;outline:none;transition:",";"," ",";",";",";",";&[type='date']::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;opacity:0;}&[type='number']::-webkit-outer-spin-button,&[type='number']::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;}"],({theme:o})=>o.animation.transitions.short,D,N,M,H,R),g=y(S).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:x(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 E}from"react";import{jsx as f}from"react/jsx-runtime";function F({icon:o,variant:r,clearable:e,reset:t,value:l,readOnly:n}){return e&&t&&l&&!n?f(P,{p:"micro",type:"button",borderWidth:"none",variant:"linked",onClick:t,"data-testid":"input-reset-button",icon:f(m,{size:"small",color:"grayscale.0",icon:I})}):o||(r==="error"?f(m,{icon:I,"data-testid":"input-icon-error"}):r==="success"?f(m,{icon:v,"data-testid":"input-icon-success"}):null)}p(F,"getIconComponent");import{jsx as L,jsxs as V}from"react/jsx-runtime";var T=E(({value:o,variant:r="default",iconPosition:e="right",size:t="medium",...l},n)=>{let{disabled:a,width:d,style:q,...z}=l,A=w(),h=F({...l,value:o,variant:r,size:t,iconPosition:e}),B={...A.component.input.size[t],...h&&{[e==="right"?"pr":"pl"]:"xl"}};return V(g,{variant:r,width:d,flexDirection:"row",children:[L(W,{iconPosition:e,disabled:a,variant:r,...B,...z,...o!==void 0&&{value:o},ref:n}),h]})});T.displayName="Input";export{D as a,R as b,H as c,M as d,W as e,g as f,T as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-KT4BKJVV.esm.js";import{a as r}from"./chunk-
|
|
1
|
+
import{a as t}from"./chunk-KT4BKJVV.esm.js";import{a as r}from"./chunk-D4ZBSTRO.esm.js";import{g as o}from"./chunk-AXUWC2WH.esm.js";var c=o(r).withConfig({componentId:"sc-1teioay-0"})(["animation:rotate var(--apollion-motion-indicator-loop,2000ms) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1)) infinite;@keyframes rotate{100%{transform:rotate(360deg);}}"]),l=o(t).withConfig({componentId:"sc-1teioay-1"})(["fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;animation:dash var(--apollion-motion-indicator-pulse,1500ms) var(--apollion-motion-easing-standard,cubic-bezier(0.42,0,0.58,1)) infinite;@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}@media (prefers-reduced-motion:reduce){animation:none;stroke-dasharray:90,150;stroke-dashoffset:-35;}"]),d=2*Math.PI*20,p=o(r).withConfig({componentId:"sc-1teioay-2"})(["transform:rotate(-90deg);"]),m=o(t).withConfig({componentId:"sc-1teioay-3"})(["fill:none;stroke:currentColor;stroke-width:4;opacity:0.2;"]),f=o(t).withConfig({componentId:"sc-1teioay-4"})(["fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-dasharray:",";animation:drain var(--countdown-duration) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1)) forwards;@keyframes drain{0%{stroke-dashoffset:0;}100%{stroke-dashoffset:",";}}"],d,d);import{forwardRef as k}from"react";import{jsx as n,jsxs as S}from"react/jsx-runtime";var h=k(({size:y,label:i="Carregando",variant:u="indeterminate",duration:w=15e3,cycle:C,...a},s)=>{let e=y||"1em";return u==="countdown"?S(p,{as:"svg",viewBox:"0 0 50 50",role:"timer","aria-label":i,...a,width:e,height:e,ref:s,children:[n(m,{cx:"25",cy:"25",r:"20"}),n(f,{cx:"25",cy:"25",r:"20",style:{"--countdown-duration":`${w}ms`}},C)]}):n(c,{as:"svg",viewBox:"0 0 50 50",role:"status","aria-label":i,...a,width:e,height:e,ref:s,children:n(l,{cx:"25",cy:"25",r:"20"})})});h.displayName="Spinner";export{c as a,l as b,d as c,p as d,m as e,f,h as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-BQBDAFDE.esm.js";import{b as W}from"./chunk-NDMZLKX7.esm.js";import{a as T}from"./chunk-F7PA7OCV.esm.js";import{a as l}from"./chunk-DRXC4B7Z.esm.js";import{a as K}from"./chunk-CDRLVSLF.esm.js";import{a as s}from"./chunk-VAA7V65K.esm.js";import{a as V}from"./chunk-DRL2R3ED.esm.js";import{g as j}from"./chunk-GC2ZV3CY.esm.js";import{a as D}from"./chunk-7HRVZJBD.esm.js";import{a as q}from"./chunk-CLU3WNVI.esm.js";import{F as M,K as y,Y as O,v as I,w as B}from"./chunk-DAT6GD4T.esm.js";import{b as g}from"./chunk-CTNZPJ47.esm.js";import{a as z,e as A}from"./chunk-EXHRZZ5E.esm.js";import{a as f}from"./chunk-NHE4GLQK.esm.js";import{d as R}from"./chunk-RWLJNXLX.esm.js";import{b as E}from"./chunk-TZQMBDGR.esm.js";import{b as a,g as F}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import p,{useEffect as ue,useState as S}from"react";function ie(e){switch(e){case"Compact":return a(["& ","{padding:",";}& ",",","{padding:",";}"],s,({theme:t})=>t.spacing("micro"),l,c,({theme:t})=>t.spacing("micro"));case"Expansive":return a(["& ","{padding:",";}& ",",","{padding:",";}"],s,({theme:t})=>t.spacing("large"),l,c,({theme:t})=>t.spacing("large"));default:return a(["& ","{padding:",";}& ",",","{padding:",";}"],s,({theme:t})=>t.spacing("medium"),l,c,({theme:t})=>t.spacing("medium"))}}i(ie,"getSizeStyle");function L(e){switch(e){case"left":return"flex-start";case"right":return"flex-end";default:return"center"}}i(L,"getAlignDirection");function re(e){if(typeof e=="object"){let t=e.reduce((u,o)=>{let w=`
|
|
2
2
|
& ${l}, ${c}, ${s} {
|
|
3
3
|
&:nth-child(${o.target}) {
|
|
4
4
|
${f} {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as y}from"./chunk-IK5Z5C2R.esm.js";import{b as w}from"./chunk-BNB3KNKE.esm.js";import{b as F}from"./chunk-OXQA5WD3.esm.js";import{b as c}from"./chunk-TZQMBDGR.esm.js";import{b as n}from"./chunk-WCUEINBQ.esm.js";import{b as s}from"./chunk-QYL6LECA.esm.js";import{b as f}from"./chunk-3A7I6HM2.esm.js";import{d}from"./chunk-WI3WPCW3.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var P=["viewportMedias"],h=["sm","md","lg","xl"],u=t((r,e)=>{let o={theme:e};return{...w(r)(),...s(r)(o),...c(r)(o),...F(r)(o),...n(r)(o),...d(r)(o),...y(r)(o),...f(r)(o)}},"getStyles"),k=t(r=>e=>{let{theme:o,...M}={...r,...e},{viewportMedias:i}=M;if(!i)return{};let m={};return h.forEach(a=>{let p=i[a];p&&(m[o.breakpoints.up(a)]=u(p,o))}),m},"ViewportMediaFactory");export{P as a,k as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as n}from"./chunk-7TJO34VI.esm.js";import{b as m}from"./chunk-JLQDS5TS.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import{jsx as f}from"react/jsx-runtime";function e({width:t,height:o=13}){return f(n,{width:t,height:o,children:f(m,{x:0,y:0,width:t,height:o})})}r(e,"TextPresetComponent");e.displayName="TextPreset";export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as u}from"./chunk-RI7KKIJD.esm.js";import{a as m}from"./chunk-EXHRZZ5E.esm.js";import{a as t}from"./chunk-NHE4GLQK.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as se}from"./chunk-GC2ZV3CY.esm.js";import{b as V,c as le}from"./chunk-RI7KKIJD.esm.js";import{a as Z,b as ee}from"./chunk-A7JDCK3C.esm.js";import{a as ie}from"./chunk-A3OJEVGQ.esm.js";import{b as oe}from"./chunk-KR2X2UQG.esm.js";import{a as te}from"./chunk-BE2JDTVA.esm.js";import{I as ne,J as re,ga as ae,ja as k}from"./chunk-DAT6GD4T.esm.js";import{b as S}from"./chunk-CTNZPJ47.esm.js";import{b as J}from"./chunk-BFP2C5JF.esm.js";import{f as Y}from"./chunk-VXAPSA5T.esm.js";import{e as I}from"./chunk-EXHRZZ5E.esm.js";import{b as X}from"./chunk-A77HKHNQ.esm.js";import{a as v,b as Q}from"./chunk-NHE4GLQK.esm.js";import{a as R}from"./chunk-D4ZBSTRO.esm.js";import{d as K}from"./chunk-WI3WPCW3.esm.js";import{m as z}from"./chunk-BV6GHAF7.esm.js";import{g as b}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var de=i(({theme:e,readOnly:t,disabled:o,active:c})=>{if(t||o)return null;let d=e.colors.primary.base;return{borderWidth:1,borderStyle:"dashed",borderColor:c?d:"transparent","&:hover":{borderColor:d}}},"activeStyle"),me=i(({disabled:e,readOnly:t})=>(e||t)&&{cursor:"not-allowed",pointerEvents:"none",userSelect:"none"},"disabledStyle"),ce=b(R).withConfig({componentId:"sc-1erdx9t-0"})([""," "," container-type:inline-size;"],de,me),j=b(R).withConfig({componentId:"sc-1erdx9t-1"})(["pointer-events:none;display:flex;justify-content:center;align-items:center;"]),N=b(R).withConfig({componentId:"sc-1erdx9t-2"})(["opacity:0.95;"]),T=b(V).withConfig({componentId:"sc-1erdx9t-3"})(["& ","{padding:0;svg{width:0.8rem;height:0.8rem;}}"],Z),fe=b(v).withConfig({componentId:"sc-1erdx9t-4"})(["min-width:0;overflow-y:auto;overflow-x:hidden;& ","{padding:"," 0;}& "," + & ","{margin-top:",";}"],T,({theme:e})=>e.spacing("xs"),T,T,({theme:e})=>e.spacing("medium")),pe=b(I).withConfig({componentId:"sc-1erdx9t-5"})(["flex:1;width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),ue=b(R).attrs(e=>({borderRadius:"micro",bgColor:"surface.sunken",...e})).withConfig({componentId:"sc-1erdx9t-6"})(["--fillColor:",";height:4px;background-image:linear-gradient(var(--fillColor),var(--fillColor));background-repeat:no-repeat;background-size:0%;transition:all var(--apollion-motion-duration-100,100ms) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1));"],({theme:e})=>e.colors.information.base),A=b(R).attrs(e=>({borderRadius:"micro",...e})).withConfig({componentId:"sc-1erdx9t-7"})(["align-self:center;overflow:hidden;width:2rem;height:2rem;font-size:1.6rem;color:",";"],({theme:e})=>e.colors.primary.base),ge=b(le).withConfig({componentId:"sc-1erdx9t-8"})([""," ",""],de,me),Fe=b(V).withConfig({componentId:"sc-1erdx9t-9"})(["",""],K({flex:"fluid"}));import{forwardRef as qe,useCallback as Me,useEffect as $e,useImperativeHandle as He,useRef as We,useState as Ge}from"react";function q(e){let t=Math.floor(Math.log(e)/Math.log(1e3));return`${(e/1e3**t).toFixed(2)} ${["B","kB","MB","GB","TB"][t]}`}i(q,"fileSize");function M(e,t){let o=t||15728640;return(Array.isArray(e)?e:[e]).filter(d=>d.size<=o)}i(M,"filterFiles");function $(e){return e.map(t=>({id:X(),file:t,fileName:t.name,fileSize:q(t.size)}))}i($,"convertFileToFileItem");function Ce(e){let{fieldName:t,file:o,requestConfig:c}=e,{endpoint:d,timeout:x,auth:p,params:F,withCredentials:r,responseType:m,headers:f,formDataParams:l}=c;return new Promise((u,y)=>{let a=new XMLHttpRequest;a.timeout=x;let h=new FormData;h.append(t,o,o.name),l&&l.forEach(s=>{h.append(s.key,s.value)});let O=new URL(d);if(F&&Object.keys(F).forEach(s=>{O.searchParams.append(s,F[s])}),a.open("post",O.href),"setRequestHeader"in a){let s={...f};if(p){let g=p.username||"",P=unescape(encodeURIComponent(p.password))||"",D=`${g}:${P}`;s.Authorization=`Basic ${btoa(D)}`}Object.keys(s).forEach(g=>{let P=s[g];P!==void 0&&a.setRequestHeader(g,P)})}r!==void 0&&(a.withCredentials=!!r),a.responseType=m||"json";let w=0;a.upload.addEventListener("progress",s=>{e.onProgress&&(w=s.loaded,e.onProgress(s.loaded))}),a.onreadystatechange=()=>{var g;if(!a||a.readyState!==4||a.status===0&&((g=a==null?void 0:a.responseURL)==null?void 0:g.indexOf("file:"))!==0)return;let s={response:a.response,status:a.status,statusText:a.statusText};e.onProgress&&e.onProgress(w,!0,s),u(s),a=null},a.onerror=()=>{e.onProgress&&e.onProgress(w,!1),y(),a=null},a.send(h)})}i(Ce,"uploadFile");import{useEffect as Ee,useState as ze}from"react";function xe(e,t){let[o,c]=ze(null);return Ee(()=>{let d="";return e&&t&&t(e)&&(d=URL.createObjectURL(e),c(d)),()=>{URL.revokeObjectURL(d)}},[e,t]),o}i(xe,"useObjectUrl");import{Fragment as je,jsx as n,jsxs as C}from"react/jsx-runtime";function ye(e){let{disabled:t,acceptLabel:o,isDragging:c,events:d,files:x,removeFile:p,openFileDialogButton:F,readOnly:r,style:m,className:f,inputFile:l}=e,u=x.length>0,y=u&&n(fe,{flexDirection:"column",flex:"fluid",p:"large",children:x.map(a=>n(be,{removeFile:p,readOnly:r,...a},a.id))});return C(ce,{...d,style:m,className:f,active:c,disabled:t,readOnly:r,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",deep:2,children:[l,C(v,{cq:{md:{flexDirection:"row",height:300,maxHeight:300}},children:[C(Q,{gap:"small",flex:"fluid",cq:u?{md:{flex:"initial"}}:void 0,p:"large",bgColor:"deepLight",justifyContent:"center",alignItems:"center",children:[C(v,{gap:"xs",alignItems:"center",children:[n(S,{icon:k,size:16,color:r||t?"ink.disabled":"secondary"}),o&&n(I,{variant:"meta",fontWeight:"bold",children:o})]}),!r&&C(je,{children:[n(I,{variant:"p",children:"Arraste e solte aqui"}),n(I,{variant:"p",fontWeight:"bold",children:"ou"}),F]})]}),y]}),c&&C(j,{absoluteFill:!0,children:[n(N,{absoluteFill:!0,bgColor:"surface.paper"}),C(v,{gap:"small",justifyContent:"center",alignItems:"center",p:8,children:[n(S,{icon:k,color:"information.dark",size:9}),n(I,{variant:"p",color:"information.dark",children:"Arraste e solte aqui"})]})]})]})}i(ye,"UploadCardRegular");function he(e){let{disabled:t,isDragging:o,events:c,files:d,removeFile:x,style:p,className:F,readOnly:r,openFileDialogButton:m,inputFile:f}=e;return C(ge,{...c,style:p,className:F,active:o,disabled:t,readOnly:r,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",p:"large",medias:{xs:{gap:"large"},sm:{columns:"max-content 1fr"}},children:[f,n(v,{flexDirection:"row",justifyContent:"start",alignItems:"start",children:m}),n(Fe,{medias:{xs:{gap:"medium",columns:"repeat(auto-fill, minmax(240px, 1fr))"}},children:d.map(l=>n(be,{removeFile:x,readOnly:r,...l},l.id))}),o&&C(j,{children:[n(N,{}),C(v,{flexDirection:"row",gap:"small",justifyContent:"center",alignItems:"center",children:[n(S,{icon:k,color:"information.dark",size:6}),n(I,{variant:"p",children:"Arraste e solte aqui"})]})]})]})}i(he,"UploadCardCompact");function be({removeFile:e,readOnly:t,...o}){let c=o.uploadLoaded?`${o.uploadLoaded} de`:"";return C(T,{medias:{xs:{gap:"micro",columns:"2rem 1fr"}},children:[n(Ve,{...o}),C(v,{children:[C(v,{flexDirection:"row",justifyContent:"between",children:[n(pe,{variant:"meta",children:n("b",{children:o.fileName})}),!t&&n(ee,{onClick:()=>e(o.id),icon:n(S,{icon:ae}),variant:"linked"})]}),o.uploadPercentage&&n(ue,{style:{backgroundSize:o.uploadPercentage}}),C(v,{flexDirection:"row",justifyContent:"between",children:[n(I,{variant:"meta",children:`${c} ${o.fileSize}`}),o.uploadPercentage&&n(I,{variant:"meta",children:`Enviando ${o.uploadPercentage}`})]})]})]})}i(be,"FileItemComponent");function Ve({file:e}){let t=xe(e,o=>o.type.startsWith("image"));return t?n(A,{children:n(J,{src:t,cover:!0})}):e.name.endsWith(".pdf")?n(A,{children:n(S,{icon:re})}):n(A,{children:n(S,{icon:ne})})}i(Ve,"Preview");import{useState as Ne}from"react";function ve(e){let[t,o]=Ne({files:[],type:null,payload:null});return{files:t,setInitialFiles:i(r=>{var u;let m=M(r,e.maxSize),l={files:$(m),type:"ADD_INITIAL_FILES"};(u=e.onChange)==null||u.call(e,l),o(l)},"setInitialFiles"),removeFile:i(r=>{var f;let m={type:"REMOVE",files:t.files.filter(l=>l.id!==r),payload:t.files.find(l=>l.id===r)};(f=e.onChange)==null||f.call(e,m),o(m)},"removeFile"),removeAll:i(()=>{var m;let r={files:[],type:"REMOVE"};(m=e.onChange)==null||m.call(e,r),o(r)},"removeAll"),addFiles:i(r=>{var y;let m=M(r,e.maxSize),f=$(m),l=[...t.files,...f],u={files:l,type:"ADD",payload:f};e.single&&(l=f,u={files:l,type:"REPLACE",payload:l[0]}),(y=e.onChange)==null||y.call(e,u),o(u)},"addFiles"),updateFileProgress:i((r,m,f,l)=>{var s;let u=t.files.find(g=>g.id===r),y=i(()=>({uploadCompleted:f,uploadError:!f,uploadResponse:l||void 0}),"uploadResponse"),h={...u,...m!==void 0?i(()=>({uploadLoaded:q(m),uploadPercentage:`${Math.min(m/u.file.size*100,100).toFixed(0)}%`}),"progressStatus")():{},...f!==void 0?y():{}},w={files:t.files.map(g=>g.id===h.id?h:g),type:"UPDATE",payload:h};(s=e.onChange)==null||s.call(e,w),o(w)},"updateFileProgress")}}i(ve,"useFileState");import{jsx as B}from"react/jsx-runtime";var _e=qe((e,t)=>{let{accept:o,maxSize:c,singleFile:d,uploadConfig:x,onUnsupportedFile:p,customButton:F,style:r,className:m,onChange:f,initialFiles:l,name:u}=e,[y,a]=Ge(!1),{active:h,enable:O,disable:w}=te(),{files:s,setInitialFiles:g,addFiles:P,removeFile:D,removeAll:we,updateFileProgress:H}=ve({single:d,maxSize:c,onChange:f}),{getFiles:Pe}=ie({accept:o,single:d,onFilesSelect:P,onUnsupportedFile:p}),{isDragging:W,events:Ue}=oe({accept:o,single:d,onDrop:P});$e(()=>{let U=Array.isArray(l)?l.length>0:!!l;!y&&!s.files.length&&U&&(a(!0),g(l))},[y,a,l,g,s.files]);let Se=Me(async U=>{if(s.files.length){O();let Re=s.files.map(({id:De,file:Le})=>Ce({file:Le,fieldName:U.formDataFileKey||"file",requestConfig:{...x,...U},onProgress:i((ke,Ae,Be)=>{H(De,ke,Ae,Be)},"onProgress")})),Te=await Promise.all(Re);return w(),Te}return[]},[s.files,x,O,H,w]);He(t,()=>({submit:Se,addFiles:P,removeFile:D,removeAll:we,files:s.files}));let L=We(null),E=i(()=>{var U;(U=L==null?void 0:L.current)==null||U.click()},"openFileDialog"),Oe=F?F({files:s.files,isDragging:W,openFileDialog:E,isSubmitting:h}):B(Y,{onClick:E,variant:"outlined",color:"secondary",size:"small",disabled:e.readOnly||e.disabled||h,isLoading:h,type:"button",children:e.buttonText||"Enviar arquivos"}),G={...e,...!e.readOnly&&{events:Ue,isDragging:W},files:s.files,style:r,className:m,removeFile:D,openFileDialog:E,openFileDialogButton:Oe,name:u},_=B(se,{type:"file",isHidden:!0,position:"absolute",name:u,id:u,ref:L,onChange:Pe,multiple:!d,accept:Array.isArray(o)?o.join(","):void 0});return e.compact?B(he,{...G,inputFile:_}):B(ye,{...G,inputFile:_})});_e.displayName="UploadCard";import{useCallback as Ke,useState as Ie}from"react";var Nt=i(()=>{let[e,t]=Ie([]),[o,c]=Ie([]);return{onFilesChange:Ke(p=>{if(!p.payload)return;let{payload:F}=p;p.type==="ADD"?c(r=>z(r,F)):p.type==="REMOVE"&&t(r=>z(r,F))},[]),removedFiles:e,addedFiles:o,clear:i(p=>{p==="removedFiles"&&t([]),p==="addedFiles"&&c([])},"clear")}},"useFileControl");export{ce as a,j as b,N as c,T as d,fe as e,pe as f,ue as g,A as h,ge as i,Fe as j,_e as k,Nt as l};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunk-EXHRZZ5E.esm.js";import{a as l,b as s}from"./chunk-NHE4GLQK.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import{forwardRef as g}from"react";var h=n(s).withConfig({componentId:"sc-1ulk0ua-0"})(["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;"),p=n(l).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},f)=>{let r=i==="vertical",x=t!=null?t:`edge.${D}`,d=m((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(p,{role:"separator","aria-label":typeof e=="string"?e:void 0,flexDirection:"row",alignItems:"center",gap:"small",my:o,...a,ref:f,children:[d({flex:"fluid",my:0}),typeof e=="string"?v(c,{fontSize:"micro",lineHeight:"tight",color:"ink.secondary",whiteSpace:"nowrap",children:e}):e,d({flex:"fluid",my:0})]}):d({...a,ref:f})});y.displayName="Divider";export{h as a,p as b,y as c};
|
|
@@ -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-GC2ZV3CY.esm.js";import{a as c}from"./chunk-NHE4GLQK.esm.js";import{c as o}from"./chunk-KKFQPSAE.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 T=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 z}from"./chunk-
|
|
1
|
+
import{a as z}from"./chunk-NW2GV6YI.esm.js";import{b as v}from"./chunk-RI7KKIJD.esm.js";import{f as C}from"./chunk-VXAPSA5T.esm.js";import{a as w}from"./chunk-NHE4GLQK.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 +1 @@
|
|
|
1
|
-
import{a,b as o,d as s}from"./chunk-
|
|
1
|
+
import{a,b as o,d as s}from"./chunk-DP5DDF7U.esm.js";import{a as e}from"./chunk-EXHRZZ5E.esm.js";import{forwardRef as u}from"react";import{jsx as t,jsxs as n}from"react/jsx-runtime";var m=u(({color:i="primary",border:f,size:l="medium",progress:r=0,showProgressLabel:g=!1,...P},c)=>{let p=-100+Number(r),B=Math.min(100,Math.max(0,Number(r)));return n(s,{color:i,justifyContent:"center",alignItems:"center",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":B,...P,ref:c,children:[t(a,{size:l,border:f,children:t(o,{style:{transform:`translateX(${p}%)`}})}),g&&n(e,{children:[r,"%"]})]})});m.displayName="ProgressBar";export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as N}from"./chunk-VMIXRIQ2.esm.js";import{a as b,b as C}from"./chunk-VUFEYXWD.esm.js";import{a as M}from"./chunk-LCIO2E2K.esm.js";import{a as P,b as E}from"./chunk-HG4FBLPA.esm.js";import{a as s,d as a}from"./chunk-RWLJNXLX.esm.js";import{a as x,b as A}from"./chunk-OHVMP5B7.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,d as g}from"./chunk-WI3WPCW3.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
|
|
1
|
+
import{b as R}from"./chunk-IK5Z5C2R.esm.js";import{b as k}from"./chunk-BNB3KNKE.esm.js";import{b as S}from"./chunk-OXQA5WD3.esm.js";import{b as l}from"./chunk-TZQMBDGR.esm.js";import{b as h}from"./chunk-WCUEINBQ.esm.js";import{b as g}from"./chunk-QYL6LECA.esm.js";import{b as F}from"./chunk-3A7I6HM2.esm.js";import{d as b}from"./chunk-WI3WPCW3.esm.js";import{p as y}from"./chunk-BV6GHAF7.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var d=y(t=>t.startsWith("sm_")||t.startsWith("md_")||t.startsWith("lg_")||t.startsWith("xl_")),v=a((t,n)=>{let o={theme:n};return{...k(t)(),...g(t)(o),...l(t)(o),...S(t)(o),...h(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{a as k}from"./chunk-43YSWDK6.esm.js";import{g as f}from"./chunk-
|
|
1
|
+
import{a as k}from"./chunk-43YSWDK6.esm.js";import{g as f}from"./chunk-GC2ZV3CY.esm.js";import{r as c}from"./chunk-BV6GHAF7.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import{useEffect as h,useMemo as I,useState as v}from"react";import{jsx as g}from"react/jsx-runtime";function i(M){let{mask:u,value:e,onChange:t,...d}=M,a=I(()=>c(u),[u]),[C,s]=v(()=>e?a(e):"");h(()=>{s(n=>{let r=e?a(e):"";return r!==n?r:n})},[e,a]);let m=I(()=>k(t!=null?t:(()=>{}),250),[t]);return g(f,{...d,reset:o(()=>{s(""),m("")},"resetValues"),value:C,onChange:o((n,r)=>{var l;let p=a((l=n.target.value)!=null?l:"");s(p),m(p)},"handleChange")})}o(i,"InputMaskComponent");i.displayName="InputMask";export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Q as p}from"./chunk-DAT6GD4T.esm.js";import{b as r}from"./chunk-
|
|
1
|
+
import{Q as p}from"./chunk-DAT6GD4T.esm.js";import{b as r}from"./chunk-CTNZPJ47.esm.js";import{e as m}from"./chunk-EXHRZZ5E.esm.js";import{a as e}from"./chunk-NHE4GLQK.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var i=n(e).attrs(t=>({bgColor:"surface.sunken",...t})).withConfig({componentId:"sc-1rhi83a-0"})([""]);import{jsx as o,jsxs as l}from"react/jsx-runtime";var y=a(t=>l(i,{width:"100%",justifyContent:"center",alignItems:"center",gap:2,p:"xl",...t,children:[t.iconPropsEmpty?o(r,{...t.iconPropsEmpty}):o(r,{icon:p,size:"xl",color:"primary.dark"}),l(e,{width:"50%",children:[o(m,{variant:"h5",color:"primary",readable:5,textAlign:"center",children:t.titleEmpty?t.titleEmpty:"Nada foi encontrado"}),o(m,{variant:"p",color:"primary",readable:5,textAlign:"center",children:t.subtitleEmpty?t.subtitleEmpty:"Tente ajustar os par\xE2metros dos filtros ou tente um novo termo para a busca."})]})]}),"TableEmptyComponent");export{i as a,y as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-D4ZBSTRO.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";var t=e(o).withConfig({componentId:"sc-atg43m-0"})(["display:flex;"]),r=t;export{t as a,r as b};
|