@apollion-dsi/core 7.7.0 → 7.8.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 +18 -10
- package/lib/chunks/Dropdown.floating-RZKMFV6N.esm.js +1 -0
- package/lib/chunks/{Notification.group-4D3CNTGF.esm.js → Notification.group-OOLQ3DCI.esm.js} +1 -1
- package/lib/chunks/Tooltip.floating-ELFMKU3S.esm.js +1 -0
- package/lib/chunks/chunk-2VRBBC54.esm.js +1 -0
- package/lib/chunks/chunk-3EWFXP4N.esm.js +1 -0
- package/lib/chunks/{chunk-7QZAWMWZ.esm.js → chunk-6D5LRZHG.esm.js} +1 -1
- package/lib/chunks/chunk-6PVZ2DEN.esm.js +1 -0
- package/lib/chunks/chunk-AWLWV76H.esm.js +1 -0
- package/lib/chunks/chunk-B7BKUYC4.esm.js +3 -0
- package/lib/chunks/chunk-BUPS7DX6.esm.js +1 -0
- package/lib/chunks/{chunk-RIDQQLK7.esm.js → chunk-CIHS5F2A.esm.js} +1 -1
- package/lib/chunks/{chunk-YPEM3MWB.esm.js → chunk-DJY3YRWV.esm.js} +1 -1
- package/lib/chunks/chunk-F4JQP5I6.esm.js +1 -0
- package/lib/chunks/{chunk-HJVFE7FQ.esm.js → chunk-FDF774OD.esm.js} +1 -1
- package/lib/chunks/chunk-H2YBLEHV.esm.js +1 -0
- package/lib/chunks/{chunk-MPOW55EU.esm.js → chunk-JPHQLSMT.esm.js} +1 -1
- package/lib/chunks/{chunk-URD3VE47.esm.js → chunk-KI46FTJ7.esm.js} +1 -1
- package/lib/chunks/{chunk-EXZZEN2U.esm.js → chunk-LLQWVULM.esm.js} +1 -1
- package/lib/chunks/{chunk-ZOO4TDFX.esm.js → chunk-LNSQRZR7.esm.js} +1 -1
- package/lib/chunks/chunk-M3VFZ745.esm.js +1 -0
- package/lib/chunks/{chunk-PIZ5RV6D.esm.js → chunk-N273ZLSA.esm.js} +1 -1
- package/lib/chunks/{chunk-SVPEVGOA.esm.js → chunk-P7ARPZBU.esm.js} +1 -1
- package/lib/chunks/chunk-PPM5MYBX.esm.js +1 -0
- package/lib/chunks/chunk-QRUKZL4X.esm.js +1 -0
- package/lib/chunks/{chunk-COFDJE74.esm.js → chunk-RGBJDHFM.esm.js} +1 -1
- package/lib/chunks/{chunk-D6OVUFOQ.esm.js → chunk-RRTLPB5F.esm.js} +1 -1
- package/lib/chunks/chunk-S4K2XENC.esm.js +1 -0
- package/lib/chunks/{chunk-JNK7ZSEU.esm.js → chunk-TBNQUDOJ.esm.js} +1 -1
- package/lib/chunks/chunk-UX2DHPUJ.esm.js +5 -0
- package/lib/chunks/{chunk-FOHV4WEQ.esm.js → chunk-YEWND54D.esm.js} +1 -1
- package/lib/chunks/chunk-Z4PVL3DV.esm.js +1 -0
- package/lib/containers/Card/Card.interface.d.ts +12 -2
- package/lib/containers/Card/Card.style.d.ts +8 -4
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.interface.d.ts +73 -19
- package/lib/containers/Grid/Grid.style.d.ts +28 -11
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.d.ts +3 -0
- package/lib/containers/Scroll/Scroll.interface.d.ts +11 -0
- package/lib/containers/Scroll/Scroll.style.d.ts +18 -8
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/Accordion/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +1 -1
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Steps/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/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.d.ts +32 -16
- package/lib/dataDisplay/Tabs/Tabs.interface.d.ts +78 -1
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +57 -4
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Chip/Chip.style.d.ts +8 -1
- package/lib/elements/Chip/index.esm.js +1 -1
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +6 -0
- package/lib/elements/Dropdown/Dropdown.floating.d.ts +12 -2
- package/lib/elements/Dropdown/Dropdown.interface.d.ts +6 -3
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/IconText/index.esm.js +1 -1
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.style.d.ts +9 -5
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/NavBar/NavBar.interface.d.ts +1 -1
- package/lib/elements/NavBar/index.d.ts +1 -1
- package/lib/elements/NavBar/index.esm.js +1 -1
- package/lib/elements/NavTabs/NavTabs.d.ts +15 -20
- package/lib/elements/NavTabs/NavTabs.interface.d.ts +9 -2
- package/lib/elements/NavTabs/NavTabs.style.d.ts +10 -24
- package/lib/elements/NavTabs/index.esm.js +1 -1
- package/lib/elements/Popover/Popover.d.ts +3 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/Sheet.style.d.ts +5 -2
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.d.ts +6 -1
- package/lib/elements/Tooltip/Tooltip.floating.d.ts +16 -2
- package/lib/elements/Tooltip/Tooltip.interface.d.ts +12 -0
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.interface.d.ts +8 -4
- package/lib/form/Form/Form.style.d.ts +8 -4
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/InputDate.d.ts +3 -0
- package/lib/form/InputDate/InputDate.interface.d.ts +12 -0
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/InputSelect.interface.d.ts +11 -0
- package/lib/form/InputSelect/InputSelect.style.d.ts +5 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Option/index.esm.js +1 -1
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +31 -19
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/index.esm.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.props.d.ts +10 -5
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +17 -9
- package/lib/layouts/DefaultLayout/index.d.ts +2 -1
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.props.d.ts +18 -8
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +22 -13
- package/lib/layouts/SideBarLayout/index.d.ts +2 -1
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/lib/vendors/FloatingUI/index.d.ts +1 -0
- package/lib/vendors/FloatingUI/origin.d.ts +18 -0
- package/package.json +2 -2
- package/lib/chunks/Dropdown.floating-LUGBBHPK.esm.js +0 -1
- package/lib/chunks/Tooltip.floating-X5XZSZ2I.esm.js +0 -1
- package/lib/chunks/chunk-2E56GHZG.esm.js +0 -1
- package/lib/chunks/chunk-3437GMP7.esm.js +0 -1
- package/lib/chunks/chunk-3R2MJA2X.esm.js +0 -1
- package/lib/chunks/chunk-6HPOOHYI.esm.js +0 -1
- package/lib/chunks/chunk-74AODEHL.esm.js +0 -1
- package/lib/chunks/chunk-A4A5GN53.esm.js +0 -1
- package/lib/chunks/chunk-CSBTMK6G.esm.js +0 -1
- package/lib/chunks/chunk-D75HJH24.esm.js +0 -1
- package/lib/chunks/chunk-K2QIMPT3.esm.js +0 -1
- package/lib/chunks/chunk-KITEZ7OW.esm.js +0 -1
- package/lib/chunks/chunk-RQZ3NB7A.esm.js +0 -1
- package/lib/chunks/chunk-UXUJNLR7.esm.js +0 -3
- package/lib/chunks/chunk-XUJF6HTG.esm.js +0 -5
- package/lib/chunks/chunk-ZZ5EX7HG.esm.js +0 -1
package/README.md
CHANGED
|
@@ -86,16 +86,24 @@ and `elements/sheet` / `elements/modal` for the primitives that use it.
|
|
|
86
86
|
|
|
87
87
|
## Components
|
|
88
88
|
|
|
89
|
-
| Category
|
|
90
|
-
|
|
|
91
|
-
| **
|
|
92
|
-
| **
|
|
93
|
-
| **
|
|
94
|
-
| **
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
`
|
|
89
|
+
| Category | Components |
|
|
90
|
+
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
91
|
+
| **Layout** | `Box`, `Flex`, `Grid`, `Paper`, `Card`, `CustomScroll`, `Divider` |
|
|
92
|
+
| **Typography & Media** | `Text`, `Icon`, `IconText`, `Image`, `Svg`, `Avatar` |
|
|
93
|
+
| **Actions** | `Button`, `IconButton`, `Link`, `Dropdown` |
|
|
94
|
+
| **Navigation** | `Tabs`, `NavBar`, `Steps`, `NavTabs` (deprecated) |
|
|
95
|
+
| **Forms** | `Form`, `Field`, `FieldGroup`, `Input`, `InputMask`, `InputCurrency`, `InputDate`, `InputRange`, `InputSelect`, `Select`, `TextArea`, `Checkbox`, `Radio`, `Switch`, `Option`, `UploadCard` |
|
|
96
|
+
| **Data Display** | `Table`, `DataTable`, `List`, `DescriptionList`, `Accordion`, `Meter`, `Chip`, `ChipGroup`, `StatusDot`, `Label`, `Calendar` |
|
|
97
|
+
| **Feedback** | `Notification`, `ProgressBar`, `Spinner`, `Skeleton` (+ list/code/item presets), `TextPreset` |
|
|
98
|
+
| **Overlays** | `Modal`, `Sheet`, `Popover`, `Tooltip` |
|
|
99
|
+
| **Page Layouts** | `DefaultLayout`, `SideBarLayout` |
|
|
100
|
+
|
|
101
|
+
Categories group components by purpose (the docs site sidebar uses the same
|
|
102
|
+
tree); import subpaths follow the source folder instead — `elements/`,
|
|
103
|
+
`containers/`, `form/`, `data-display/`, `skeleton/`, `layouts/` — and each
|
|
104
|
+
component's docs page shows its import. Also available: `scenario/*` (skeleton
|
|
105
|
+
shape primitives), `icons`, `hooks`, `utils`, `factory`, and the theme scales
|
|
106
|
+
under `themes/*`.
|
|
99
107
|
|
|
100
108
|
## Theming
|
|
101
109
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as d,c as p,d as f,e as g,f as c,g as u,h as P,j as h,k as F,l as w,m as y,n as b,o as x,p as v}from"./chunk-H2YBLEHV.esm.js";import{g as l}from"./chunk-L7A7RA56.esm.js";import{a as m}from"./chunk-64VNULOI.esm.js";import"./chunk-TQMP7PZI.esm.js";import"./chunk-MPMCXGOX.esm.js";import"./chunk-JWNC52FT.esm.js";import"./chunk-AULAOFBW.esm.js";import"./chunk-4SDDAQ6N.esm.js";import"./chunk-IN2WB2ZK.esm.js";import"./chunk-FOWO4QTS.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-XR763B4T.esm.js";import"./chunk-47UE4K3O.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-VCMHX5VK.esm.js";import"./chunk-AAZFRX52.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-C7U4X56I.esm.js";import"./chunk-QXV2TDLZ.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-QEB4VTKV.esm.js";import"./chunk-R2QEO3KP.esm.js";import"./chunk-ODL5JUYM.esm.js";import"./chunk-3WXII2F3.esm.js";import"./chunk-EJ245MA7.esm.js";import"./chunk-FNYS25ZX.esm.js";import"./chunk-MYU2IAR3.esm.js";import"./chunk-VJ5GIFXO.esm.js";import"./chunk-REPFMEFA.esm.js";import"./chunk-6G22RNUO.esm.js";import"./chunk-J6F4PMW4.esm.js";import"./chunk-G5Z7USXC.esm.js";import{f as a}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{jsx as e}from"react/jsx-runtime";var S={left:"bottom-start",right:"bottom-end",center:"bottom"},U=t(({referenceEl:n,open:r,motionState:i,motionRef:D,onClose:M,position:R,hoverable:E,role:T,width:O,motion:C,children:H})=>{let I=a(),s=x(n,r),{refs:L,floatingStyles:k,context:o,placement:z}=F({open:r,strategy:s.strategy,onOpenChange:t(N=>{N||M()},"onOpenChange"),placement:S[R],middleware:[c(4),p(),P({padding:8})],whileElementsMounted:d,elements:{reference:n}}),{getFloatingProps:K}=y([w(o,{enabled:E,mouseOnly:!0,move:!1,handleClose:u()}),h(o,{outsidePress:!0,escapeKey:!0}),b(o,{role:T})]);return e(g,{root:s.root,children:e(f,{context:o,modal:!1,initialFocus:-1,children:e("div",{ref:L.setFloating,style:{...k,zIndex:l(I).dropdown,...i==="closing"&&{pointerEvents:"none"}},...K(),children:e(m,{ref:D,"data-state":i,p:"xs",borderRadius:"xs",deep:2,width:O,motion:C,style:{transformOrigin:v(z)},children:H})})})})},"DropdownFloating"),G=U;export{G as default};
|
package/lib/chunks/{Notification.group-4D3CNTGF.esm.js → Notification.group-OOLQ3DCI.esm.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as h}from"./chunk-S5ONND5F.esm.js";import"./chunk-FMNMEPTI.esm.js";import"./chunk-ZMHNNJNC.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 as l}from"./chunk-KZTG5TDM.esm.js";import"./chunk-A3OJEVGQ.esm.js";import"./chunk-KR2X2UQG.esm.js";import"./chunk-BE2JDTVA.esm.js";import"./chunk-P3SIJHYM.esm.js";import"./chunk-HZZBNAF4.esm.js";import"./chunk-SRBIATLE.esm.js";import"./chunk-BTPOCQ2L.esm.js";import"./chunk-JLQDS5TS.esm.js";import"./chunk-ZJT2WQTR.esm.js";import"./chunk-7JYI2AQK.esm.js";import"./chunk-AMN6SRJS.esm.js";import"./chunk-E2U6IFPB.esm.js";import"./chunk-TVJXEJLN.esm.js";import"./chunk-WLFYIXN6.esm.js";import"./chunk-7MX2FUN4.esm.js";import"./chunk-EU4FKCQL.esm.js";import"./chunk-HPMNSONF.esm.js";import"./chunk-MKGWYKH6.esm.js";import"./chunk-4L2KOZIQ.esm.js";import"./chunk-
|
|
1
|
+
import{e as h}from"./chunk-S5ONND5F.esm.js";import"./chunk-FMNMEPTI.esm.js";import"./chunk-ZMHNNJNC.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 as l}from"./chunk-KZTG5TDM.esm.js";import"./chunk-A3OJEVGQ.esm.js";import"./chunk-KR2X2UQG.esm.js";import"./chunk-BE2JDTVA.esm.js";import"./chunk-P3SIJHYM.esm.js";import"./chunk-HZZBNAF4.esm.js";import"./chunk-SRBIATLE.esm.js";import"./chunk-BTPOCQ2L.esm.js";import"./chunk-JLQDS5TS.esm.js";import"./chunk-ZJT2WQTR.esm.js";import"./chunk-7JYI2AQK.esm.js";import"./chunk-AMN6SRJS.esm.js";import"./chunk-E2U6IFPB.esm.js";import"./chunk-TVJXEJLN.esm.js";import"./chunk-WLFYIXN6.esm.js";import"./chunk-7MX2FUN4.esm.js";import"./chunk-EU4FKCQL.esm.js";import"./chunk-HPMNSONF.esm.js";import"./chunk-MKGWYKH6.esm.js";import"./chunk-4L2KOZIQ.esm.js";import"./chunk-TBNQUDOJ.esm.js";import{d as y}from"./chunk-RRTLPB5F.esm.js";import"./chunk-IA234JY2.esm.js";import"./chunk-2BWCWW2Q.esm.js";import"./chunk-IQQH6HMG.esm.js";import"./chunk-Z7GJDO5T.esm.js";import"./chunk-LCCVFIPZ.esm.js";import"./chunk-TG5BCBO4.esm.js";import"./chunk-WB5XXCKL.esm.js";import"./chunk-JOKVE3IX.esm.js";import"./chunk-CWRWYU7D.esm.js";import"./chunk-PFLBU7HG.esm.js";import"./chunk-O5TS2XER.esm.js";import"./chunk-4E3BR56X.esm.js";import"./chunk-TLIKQFOT.esm.js";import"./chunk-XUZQE326.esm.js";import"./chunk-3DUB5C4Z.esm.js";import"./chunk-SEPVF2TL.esm.js";import"./chunk-LDOM2UUN.esm.js";import{g as u}from"./chunk-L7A7RA56.esm.js";import"./chunk-HVFI7FHR.esm.js";import"./chunk-2Z3UZIWZ.esm.js";import"./chunk-4XKKIEQL.esm.js";import"./chunk-KT4BKJVV.esm.js";import"./chunk-LSLBDF5M.esm.js";import"./chunk-KT6QQ3UJ.esm.js";import{a as o}from"./chunk-TQMP7PZI.esm.js";import"./chunk-MPMCXGOX.esm.js";import"./chunk-JWNC52FT.esm.js";import"./chunk-AULAOFBW.esm.js";import"./chunk-4SDDAQ6N.esm.js";import"./chunk-IN2WB2ZK.esm.js";import"./chunk-FOWO4QTS.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-XR763B4T.esm.js";import"./chunk-47UE4K3O.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-VCMHX5VK.esm.js";import"./chunk-AAZFRX52.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-C7U4X56I.esm.js";import"./chunk-QXV2TDLZ.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-QEB4VTKV.esm.js";import"./chunk-R2QEO3KP.esm.js";import"./chunk-ODL5JUYM.esm.js";import"./chunk-3WXII2F3.esm.js";import"./chunk-EJ245MA7.esm.js";import"./chunk-FNYS25ZX.esm.js";import"./chunk-MYU2IAR3.esm.js";import"./chunk-VJ5GIFXO.esm.js";import"./chunk-REPFMEFA.esm.js";import"./chunk-6G22RNUO.esm.js";import"./chunk-J6F4PMW4.esm.js";import{c}from"./chunk-G5Z7USXC.esm.js";import{f as d}from"./chunk-AXUWC2WH.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";import{useEffect as C,useState as g}from"react";import{createPortal as N}from"react-dom";import{jsx as t}from"react/jsx-runtime";var v=p(({toast:n,onRemove:e})=>{let{id:i,...a}=n,[s,r]=g(!0),{mounted:m,state:f,ref:B}=l(s,{property:"grid-template-rows"});return C(()=>{m||e(i)},[m,i,e]),m?t(o,{ref:B,motion:"collapse","data-state":f,"aria-hidden":f==="closing"||void 0,style:{minWidth:300,maxWidth:"30vw"},children:t(o,{motion:"drawer-right","data-state":f,children:t(o,{style:{margin:"0.5rem"},children:t(h,{...a,visible:!0,closable:!0,onDismiss:()=>r(!1)})})})}):null},"ToastItem"),x=p(()=>{let{notifications:n,removeNotification:e}=y(),i=d(),[a,s]=g(!1);return C(()=>{s(!0)},[]),!a||!c?null:N(t(o,{style:{position:"fixed",bottom:"1rem",right:"1rem",zIndex:u(i).toast},children:n.map(r=>t(v,{toast:r,onRemove:e},r.id))}),c)},"NotificationGroup"),D=x;export{D as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as y,b,c as T,e as x,f as P,h as F,j as E,k as M,m as R,n as v,o as L,p as C}from"./chunk-H2YBLEHV.esm.js";import{a as D,b as H}from"./chunk-4XCYWJYX.esm.js";import{g as w}from"./chunk-L7A7RA56.esm.js";import"./chunk-TQMP7PZI.esm.js";import"./chunk-MPMCXGOX.esm.js";import"./chunk-JWNC52FT.esm.js";import"./chunk-AULAOFBW.esm.js";import"./chunk-4SDDAQ6N.esm.js";import"./chunk-IN2WB2ZK.esm.js";import"./chunk-FOWO4QTS.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-XR763B4T.esm.js";import"./chunk-47UE4K3O.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-VCMHX5VK.esm.js";import"./chunk-AAZFRX52.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-C7U4X56I.esm.js";import"./chunk-QXV2TDLZ.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-QEB4VTKV.esm.js";import"./chunk-R2QEO3KP.esm.js";import"./chunk-ODL5JUYM.esm.js";import"./chunk-3WXII2F3.esm.js";import"./chunk-EJ245MA7.esm.js";import"./chunk-FNYS25ZX.esm.js";import"./chunk-MYU2IAR3.esm.js";import"./chunk-VJ5GIFXO.esm.js";import"./chunk-REPFMEFA.esm.js";import"./chunk-6G22RNUO.esm.js";import"./chunk-J6F4PMW4.esm.js";import"./chunk-G5Z7USXC.esm.js";import{f as h}from"./chunk-AXUWC2WH.esm.js";import{a as g}from"./chunk-GZONWSRB.esm.js";import I from"react";import{jsx as k,jsxs as q}from"react/jsx-runtime";var Z=g(({referenceEl:e,open:t,motion:A,motionState:o,motionRef:n,onOpenChange:O,position:S,inverted:$,noArrow:z,content:B,tooltipId:K})=>{var c,f;let r=I.useRef(null),a=L(e,t),{refs:i,floatingStyles:N,context:l,placement:s,middlewareData:p}=M({open:t,strategy:a.strategy,transform:!1,onOpenChange:O,placement:S,middleware:[P(8),T(),F({padding:4}),y({element:r})],whileElementsMounted:b,elements:{reference:e}}),{getFloatingProps:U}=R([E(l,{outsidePress:!0,escapeKey:!0}),v(l,{role:"tooltip"})]),X=I.useCallback(u=>{i.setFloating(u),n(u)},[i,n]),Y=h(),m=(c=p.arrow)==null?void 0:c.x,d=(f=p.arrow)==null?void 0:f.y;return k(x,{root:a.root,children:q(H,{ref:X,inverted:$,motion:A,"data-state":o,deep:2,p:"xs",borderRadius:"xs","data-placement":s,style:{...N,zIndex:w(Y).dropdown,transformOrigin:C(s),...o==="closing"&&{pointerEvents:"none"}},...U(),id:K,children:[B,!z&&k(D,{ref:r,style:{left:m!=null?`${m}px`:"",top:d!=null?`${d}px`:""}})]})})},"TooltipFloating"),_=Z;export{_ as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as O,c as k,d as D,e as K,f as A,h as C,i as z,j as _,k as j,m as B,n as N,o as U,p as Z}from"./chunk-H2YBLEHV.esm.js";import{b as c,c as q,d as G,e as J,f as Q}from"./chunk-XKACWIWC.esm.js";import{h as H}from"./chunk-Q3FUXFD5.esm.js";import{c as F}from"./chunk-KZTG5TDM.esm.js";import{b as x}from"./chunk-SRBIATLE.esm.js";import{n as L}from"./chunk-TVJXEJLN.esm.js";import{g as R}from"./chunk-L7A7RA56.esm.js";import{a as S}from"./chunk-64VNULOI.esm.js";import{f as P}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{forwardRef as ce,useMemo as m,useState as X}from"react";function W(e,n){let i={value:n,name:e!=null?e:"",type:"text"};return{target:i,currentTarget:i,type:"change",bubbles:!0,cancelable:!0,defaultPrevented:!1,isDefaultPrevented:t(()=>!1,"isDefaultPrevented"),isPropagationStopped:t(()=>!1,"isPropagationStopped"),isTrusted:!1,persist:t(()=>{},"persist"),preventDefault:t(()=>{},"preventDefault"),stopPropagation:t(()=>{},"stopPropagation"),timeStamp:Date.now(),nativeEvent:{target:i},eventPhase:0}}t(W,"buildSyntheticEvent");import{Fragment as ye,jsx as a,jsxs as Me}from"react/jsx-runtime";var me="yyyy-MM-dd";function ge(e){if(!e)return;let n=G(e);return q(n)?n:void 0}t(ge,"toDate");function he(e,n,i){let o=[];if(n&&o.push({before:n}),i&&o.push({after:i}),e&&o.push(...Array.isArray(e)?e:[e]),o.length!==0)return o.length===1?o[0]:o}t(he,"resolveDisabled");var Y=ce(({value:e,onChange:n,onValueChange:i,locale:o=J,minDate:s,maxDate:l,disabledDates:g,displayFormat:h="dd/MM/yyyy",name:y,placeholder:$,disabled:M,readOnly:v,motion:V="scale",...ee},u)=>{let[f,I]=X(!1),{mounted:te,state:E,ref:ne}=F(f),oe=P(),p=m(()=>ge(e),[e]),re=m(()=>p?c(p,h,{locale:o}):"",[p,h,o]),ie=m(()=>he(g,s,l),[g,s,l]),[b,ae]=X(null),w=U(b,f),{floatingStyles:se,context:d,refs:le,placement:pe}=j({open:f,onOpenChange:I,strategy:w.strategy,elements:{reference:b},placement:"bottom-start",middleware:[A(4),k(),C({padding:8})],whileElementsMounted:O}),{getReferenceProps:ue,getFloatingProps:de}=B([z(d,{enabled:!M&&!v}),_(d,{outsidePress:!0,escapeKey:!0}),N(d,{role:"dialog"})]),fe=t(r=>{if(!r)return;let T=c(r,me);i==null||i(T),n==null||n(W(y,T)),I(!1)},"handleSelect");return Me(ye,{children:[a(H,{...ee,ref:r=>{typeof u=="function"?u(r):u&&(u.current=r),ae(r)},type:"text",role:"combobox",disabled:M,readOnly:v,name:y,placeholder:$,value:re,onChange:t(r=>{},"handleInputChange"),inputMode:"none",autoComplete:"off",icon:a(x,{icon:L}),iconPosition:"right",...ue({onKeyDown:t(r=>{r.key.length===1&&r.key!==" "&&r.preventDefault()},"handleKeyDown")})}),te&&a(K,{root:w.root,children:a(D,{context:d,modal:!1,initialFocus:-1,children:a("div",{ref:le.setFloating,style:{...se,zIndex:R(oe).dropdown,...E==="closing"&&{pointerEvents:"none"}},...de(),children:a(S,{ref:ne,"data-state":E,p:"xs",borderRadius:"xs",deep:3,motion:V,style:{transformOrigin:Z(pe)},children:a(Q,{mode:"single",selected:p,onSelect:fe,locale:o,defaultMonth:p,disabled:ie,captionLayout:"dropdown",startMonth:s!=null?s:new Date(1970,0,1),endMonth:l!=null?l:new Date(2100,11,31)})})})})})]})});Y.displayName="InputDate";export{Y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as le}from"./chunk-PPM5MYBX.esm.js";import{f as se}from"./chunk-Q3FUXFD5.esm.js";import{d as D}from"./chunk-S4K2XENC.esm.js";import{a as Y,b as ee}from"./chunk-FMNMEPTI.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{b as O}from"./chunk-SRBIATLE.esm.js";import{b as J}from"./chunk-BTPOCQ2L.esm.js";import{J as ne,K as re,ja as ae,ma as A}from"./chunk-TVJXEJLN.esm.js";import{f as Q}from"./chunk-7MX2FUN4.esm.js";import{e as I}from"./chunk-EU4FKCQL.esm.js";import{b as X}from"./chunk-RRTLPB5F.esm.js";import{a as z}from"./chunk-LCCVFIPZ.esm.js";import{a as v}from"./chunk-LSLBDF5M.esm.js";import{a as U}from"./chunk-TQMP7PZI.esm.js";import{e as K}from"./chunk-QXV2TDLZ.esm.js";import{l as j}from"./chunk-6G22RNUO.esm.js";import{g as h}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var de=i(({theme:e,readOnly:t,disabled:o,active:r})=>{if(t||o)return null;let c=e.colors.primary.base;return{borderWidth:1,borderStyle:"dashed",borderColor:r?c:"transparent","&:hover":{borderColor:c}}},"activeStyle"),me=i(({disabled:e,readOnly:t})=>(e||t)&&{cursor:"not-allowed",pointerEvents:"none",userSelect:"none"},"disabledStyle"),ce=h(U).withConfig({componentId:"sc-1erdx9t-0"})([""," "," container-type:inline-size;"],de,me),N=h(U).withConfig({componentId:"sc-1erdx9t-1"})(["pointer-events:none;display:flex;justify-content:center;align-items:center;"]),q=h(U).withConfig({componentId:"sc-1erdx9t-2"})(["opacity:0.95;"]),L=h(D).withConfig({componentId:"sc-1erdx9t-3"})(["& ","{padding:0;svg{width:0.8rem;height:0.8rem;}}"],Y),fe=h(le).withConfig({componentId:"sc-1erdx9t-4"})(["min-width:0;& ","{padding:"," 0;}& "," + & ","{margin-top:",";}"],L,({theme:e})=>e.spacing("xs"),L,L,({theme:e})=>e.spacing("medium")),pe=h(I).withConfig({componentId:"sc-1erdx9t-5"})(["flex:1;width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),ue=h(U).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),B=h(U).attrs(e=>({borderRadius:"micro",...e})).withConfig({componentId:"sc-1erdx9t-7"})(["align-self:center;overflow:hidden;width:",";height:",";font-size:",";color:",";"],({theme:e})=>z(e,8),({theme:e})=>z(e,8),({theme:e})=>z(e,6.4),({theme:e})=>e.colors.primary.base),ge=h(U).withConfig({componentId:"sc-1erdx9t-8"})(["container-type:inline-size;"," ",""],de,me),Fe=h(U).withConfig({componentId:"sc-1erdx9t-9"})(["display:flex;flex-direction:column;"]),Ce=h(D).withConfig({componentId:"sc-1erdx9t-10"})(["",""],K({flex:"fluid"}));import{forwardRef as $e,useCallback as Me,useEffect as He,useImperativeHandle as We,useRef as Ge,useState as Ze}from"react";function $(e){let t=Math.floor(Math.log(e)/Math.log(1e3));return`${(e/1e3**t).toFixed(2)} ${["B","kB","MB","GB","TB"][t]}`}i($,"fileSize");function M(e,t){let o=t||15728640;return(Array.isArray(e)?e:[e]).filter(c=>c.size<=o)}i(M,"filterFiles");function H(e){return e.map(t=>({id:X(),file:t,fileName:t.name,fileSize:$(t.size)}))}i(H,"convertFileToFileItem");function ye(e){let{fieldName:t,file:o,requestConfig:r}=e,{endpoint:c,timeout:b,auth:u,params:C,withCredentials:m,responseType:d,headers:p,formDataParams:s}=r;return new Promise((f,x)=>{let a=new XMLHttpRequest;a.timeout=b;let y=new FormData;y.append(t,o,o.name),s&&s.forEach(l=>{y.append(l.key,l.value)});let R=new URL(c);if(C&&Object.keys(C).forEach(l=>{R.searchParams.append(l,C[l])}),a.open("post",R.href),"setRequestHeader"in a){let l={...p};if(u){let g=u.username||"",P=unescape(encodeURIComponent(u.password))||"",T=`${g}:${P}`;l.Authorization=`Basic ${btoa(T)}`}Object.keys(l).forEach(g=>{let P=l[g];P!==void 0&&a.setRequestHeader(g,P)})}m!==void 0&&(a.withCredentials=!!m),a.responseType=d||"json";let w=0;a.upload.addEventListener("progress",l=>{e.onProgress&&(w=l.loaded,e.onProgress(l.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 l={response:a.response,status:a.status,statusText:a.statusText};e.onProgress&&e.onProgress(w,!0,l),f(l),a=null},a.onerror=()=>{e.onProgress&&e.onProgress(w,!1),x(),a=null},a.send(y)})}i(ye,"uploadFile");import{useEffect as Ee,useState as Ve}from"react";function xe(e,t){let[o,r]=Ve(null);return Ee(()=>{let c="";return e&&t&&t(e)&&(c=URL.createObjectURL(e),r(c)),()=>{URL.revokeObjectURL(c)}},[e,t]),o}i(xe,"useObjectUrl");import{Fragment as Ne,jsx as n,jsxs as F}from"react/jsx-runtime";function he(e){let{disabled:t,acceptLabel:o,isDragging:r,events:c,files:b,removeFile:u,removeFileLabel:C,openFileDialogButton:m,readOnly:d,style:p,className:s,inputFile:f}=e,x=b.length>0,a=x&&n(fe,{children:n(v,{flexDirection:"column",p:"large",children:b.map(y=>n(ve,{removeFile:u,removeFileLabel:C,readOnly:d,...y},y.id))})});return F(ce,{...c,style:p,className:s,active:r,disabled:t,readOnly:d,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",deep:2,children:[f,F(v,{cq:{md:{flexDirection:"row",height:300,maxHeight:300}},children:[F(Fe,{gap:"small",flex:"fluid",cq:x?{md:{flex:"initial"}}:void 0,p:"large",bgColor:"deepLight",justifyContent:"center",alignItems:"center",children:[F(v,{gap:"xs",alignItems:"center",children:[n(O,{icon:A,size:16,color:d||t?"ink.disabled":"secondary"}),o&&n(I,{variant:"meta",fontWeight:"bold",children:o})]}),!d&&F(Ne,{children:[n(I,{variant:"p",children:"Arraste e solte aqui"}),n(I,{variant:"p",fontWeight:"bold",children:"ou"}),m]})]}),a]}),r&&F(N,{absoluteFill:!0,children:[n(q,{absoluteFill:!0,bgColor:"surface.paper"}),F(v,{gap:"small",justifyContent:"center",alignItems:"center",p:8,children:[n(O,{icon:A,color:"information.dark",size:9}),n(I,{variant:"p",color:"information.dark",children:"Arraste e solte aqui"})]})]})]})}i(he,"UploadCardRegular");function be(e){let{disabled:t,isDragging:o,events:r,files:c,removeFile:b,removeFileLabel:u,style:C,className:m,readOnly:d,openFileDialogButton:p,inputFile:s}=e;return F(ge,{...r,style:C,className:m,active:o,disabled:t,readOnly:d,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",p:"large",children:[s,F(D,{medias:{gap:"large"},cq:{md:{columns:"max-content 1fr"}},children:[n(v,{flexDirection:"row",justifyContent:"start",alignItems:"start",children:p}),n(Ce,{medias:{gap:"medium",columns:"repeat(auto-fill, minmax(240px, 1fr))"},children:c.map(f=>n(ve,{removeFile:b,removeFileLabel:u,readOnly:d,...f},f.id))})]}),o&&F(N,{children:[n(q,{}),F(v,{flexDirection:"row",gap:"small",justifyContent:"center",alignItems:"center",children:[n(O,{icon:A,color:"information.dark",size:6}),n(I,{variant:"p",children:"Arraste e solte aqui"})]})]})]})}i(be,"UploadCardCompact");function ve({removeFile:e,removeFileLabel:t="Remover arquivo",readOnly:o,...r}){let c=r.uploadLoaded?`${r.uploadLoaded} de`:"";return F(L,{medias:{gap:"micro",columns:"2rem 1fr"},children:[n(je,{...r}),F(v,{children:[F(v,{flexDirection:"row",justifyContent:"between",children:[n(pe,{variant:"meta",children:n("b",{children:r.fileName})}),!o&&n(ee,{onClick:()=>e(r.id),icon:n(O,{icon:ae}),label:`${t} ${r.fileName}`,variant:"linked"})]}),r.uploadPercentage&&n(ue,{style:{backgroundSize:r.uploadPercentage}}),F(v,{flexDirection:"row",justifyContent:"between",children:[n(I,{variant:"meta",children:`${c} ${r.fileSize}`}),r.uploadPercentage&&n(I,{variant:"meta",children:`Enviando ${r.uploadPercentage}`})]})]})]})}i(ve,"FileItemComponent");function je({file:e}){let t=xe(e,o=>o.type.startsWith("image"));return t?n(B,{children:n(J,{src:t,cover:!0})}):e.name.endsWith(".pdf")?n(B,{children:n(O,{icon:re})}):n(B,{children:n(O,{icon:ne})})}i(je,"Preview");import{useState as qe}from"react";function Ie(e){let[t,o]=qe({files:[],type:null,payload:null});return{files:t,setInitialFiles:i(m=>{var f;let d=M(m,e.maxSize),s={files:H(d),type:"ADD_INITIAL_FILES"};(f=e.onChange)==null||f.call(e,s),o(s)},"setInitialFiles"),removeFile:i(m=>{var p;let d={type:"REMOVE",files:t.files.filter(s=>s.id!==m),payload:t.files.find(s=>s.id===m)};(p=e.onChange)==null||p.call(e,d),o(d)},"removeFile"),removeAll:i(()=>{var d;let m={files:[],type:"REMOVE"};(d=e.onChange)==null||d.call(e,m),o(m)},"removeAll"),addFiles:i(m=>{var x;let d=M(m,e.maxSize),p=H(d),s=[...t.files,...p],f={files:s,type:"ADD",payload:p};e.single&&(s=p,f={files:s,type:"REPLACE",payload:s[0]}),(x=e.onChange)==null||x.call(e,f),o(f)},"addFiles"),updateFileProgress:i((m,d,p,s)=>{var l;let f=t.files.find(g=>g.id===m),x=i(()=>({uploadCompleted:p,uploadError:!p,uploadResponse:s||void 0}),"uploadResponse"),y={...f,...d!==void 0?i(()=>({uploadLoaded:$(d),uploadPercentage:`${Math.min(d/f.file.size*100,100).toFixed(0)}%`}),"progressStatus")():{},...p!==void 0?x():{}},w={files:t.files.map(g=>g.id===y.id?y:g),type:"UPDATE",payload:y};(l=e.onChange)==null||l.call(e,w),o(w)},"updateFileProgress")}}i(Ie,"useFileState");import{jsx as E}from"react/jsx-runtime";var _e=$e((e,t)=>{let{accept:o,maxSize:r,singleFile:c,uploadConfig:b,onUnsupportedFile:u,customButton:C,style:m,className:d,onChange:p,initialFiles:s,name:f}=e,[x,a]=Ze(!1),{active:y,enable:R,disable:w}=te(),{files:l,setInitialFiles:g,addFiles:P,removeFile:T,removeAll:Pe,updateFileProgress:W}=Ie({single:c,maxSize:r,onChange:p}),{getFiles:Ue}=ie({accept:o,single:c,onFilesSelect:P,onUnsupportedFile:u}),{isDragging:G,events:Se}=oe({accept:o,single:c,onDrop:P});He(()=>{let S=Array.isArray(s)?s.length>0:!!s;!x&&!l.files.length&&S&&(a(!0),g(s))},[x,a,s,g,l.files]);let Oe=Me(async S=>{if(l.files.length){R();let De=l.files.map(({id:Te,file:ke})=>ye({file:ke,fieldName:S.formDataFileKey||"file",requestConfig:{...b,...S},onProgress:i((ze,Ae,Be)=>{W(Te,ze,Ae,Be)},"onProgress")})),Le=await Promise.all(De);return w(),Le}return[]},[l.files,b,R,W,w]);We(t,()=>({submit:Oe,addFiles:P,removeFile:T,removeAll:Pe,files:l.files}));let k=Ge(null),V=i(()=>{var S;(S=k==null?void 0:k.current)==null||S.click()},"openFileDialog"),Re=C?C({files:l.files,isDragging:G,openFileDialog:V,isSubmitting:y}):E(Q,{onClick:V,variant:"outlined",color:"secondary",size:"small",disabled:e.readOnly||e.disabled||y,isLoading:y,type:"button",children:e.buttonText||"Enviar arquivos"}),Z={...e,...!e.readOnly&&{events:Se,isDragging:G},files:l.files,style:m,className:d,removeFile:T,openFileDialog:V,openFileDialogButton:Re,name:f},_=E(se,{type:"file",isHidden:!0,position:"absolute",name:f,id:f,ref:k,onChange:Ue,multiple:!c,accept:Array.isArray(o)?o.join(","):void 0});return e.compact?E(be,{...Z,inputFile:_}):E(he,{...Z,inputFile:_})});_e.displayName="UploadCard";import{useCallback as Ke,useState as we}from"react";var Mt=i(()=>{let[e,t]=we([]),[o,r]=we([]);return{onFilesChange:Ke(u=>{if(!u.payload)return;let{payload:C}=u;u.type==="ADD"?r(m=>j(m,C)):u.type==="REMOVE"&&t(m=>j(m,C))},[]),removedFiles:e,addedFiles:o,clear:i(u=>{u==="removedFiles"&&t([]),u==="addedFiles"&&r([])},"clear")}},"useFileControl");export{ce as a,N as b,q as c,L as d,fe as e,pe as f,ue as g,B as h,ge as i,Fe as j,Ce as k,_e as l,Mt as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-FDF774OD.esm.js";import{a as b}from"./chunk-URGL4O5W.esm.js";import{a as c,c as r}from"./chunk-PCQQ762I.esm.js";import{a as C}from"./chunk-2Z3UZIWZ.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import s from"react";var m=n(a).withConfig({componentId:"sc-g7895e-0"})([""]);import{jsx as t}from"react/jsx-runtime";var o=l(p=>{let{getSelected:x}=s.useContext(c),h=r("cell"),d=l(e=>[...e.parentNode.children].indexOf(e),"getNodeIndex"),T=l(e=>{let k=d(e.target.closest("tr"));x(k,e.target.checked)},"handleChecked");return t(m,{role:h,children:t(C,{children:t(b,{label:p.children,onChange:T})})})},"TableCheckboxCellComponent");o.displayName="TableCheckboxCell";export{m as a,o as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as be}from"./chunk-2FQC32AA.esm.js";import{a as ye}from"./chunk-BE2JDTVA.esm.js";import{a as ge}from"./chunk-E2U6IFPB.esm.js";import{g as me}from"./chunk-L7A7RA56.esm.js";import{b as fe}from"./chunk-QEB4VTKV.esm.js";import{a as ue}from"./chunk-EJ245MA7.esm.js";import{c as se,e as Q,g as le,h as ce,o as pe}from"./chunk-6G22RNUO.esm.js";import{a as ae}from"./chunk-J6F4PMW4.esm.js";import{f as de}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var we=pe((e,s)=>{var g;let l=(g=s.component.inputSelect.size[e!=null?e:"medium"])!=null?g:s.component.inputSelect.size.medium;return{padding:s.spacing(l.py,l.px),fontSize:s.font.fontSize[l.fontSize],...l.lineHeight!==void 0&&{lineHeight:s.font.lineHeight[l.lineHeight]},borderRadius:s.border.borderRadius[l.borderRadius],height:l.height}});function Te(e,s,l={},g="scale"){var w,P,G,W,N,Y,A,d,b,h,R,D,f,L,x,ee;let a=(w=e.colors.baseDark)!=null?w:"#000",y=(P=e.colors.neutral)!=null?P:{},{defaultBorderColor:I,dark:c}=(()=>{var r,o,i,p,m,k,C,v,M,E,z,H;switch(s){case"error":return{dark:(o=(r=e.colors.danger)==null?void 0:r.dark)!=null?o:a,defaultBorderColor:(p=(i=e.colors.danger)==null?void 0:i.base)!=null?p:a};case"success":return{dark:(k=(m=e.colors.success)==null?void 0:m.dark)!=null?k:a,defaultBorderColor:(v=(C=e.colors.success)==null?void 0:C.base)!=null?v:a};default:return{dark:(E=(M=e.colors.primary)==null?void 0:M.dark)!=null?E:a,defaultBorderColor:(H=(z=e.colors.edge)==null?void 0:z.border)!=null?H:a}}})(),V=(W=(G=e.colors.ink)==null?void 0:G.muted)!=null?W:a,B=(Y=(N=e.colors.wash)==null?void 0:N.hover)!=null?Y:a,Z=s==="error"?(d=(A=e.colors.danger)==null?void 0:A.base)!=null?d:a:s==="success"?(h=(b=e.colors.success)==null?void 0:b.base)!=null?h:a:(D=(R=e.colors.primary)==null?void 0:R.base)!=null?D:a,S=e.colors.disabled.color,F=e.colors.disabled.fill,q=e.colors.muted,J=(L=(f=e.colors.ink)==null?void 0:f.secondary)!=null?L:a,K=(ee=(x=e.colors.ink)==null?void 0:x.secondary)!=null?ee:a,$=fe({motion:g})({theme:e}),O=e.spacing("small"),u=e.spacing("micro");return{container:t((r,o)=>({...r,width:o.selectProps.width,...l,fontFamily:e.font.fontFamily.main}),"container"),control:t((r,{isDisabled:o,selectProps:i})=>{var k,C,v;let p=o?"transparent":I,m=we(i.size,e);return{...r,...m,borderColor:p,borderWidth:1,minHeight:void 0,background:o?F:(v=(C=(k=e.colors.surface)==null?void 0:k.paper)!=null?C:e.colors.baseLight)!=null?v:"#fff",boxShadow:e.depth("level-one-minus"),"&:hover, &:focus":{boxShadow:"none",borderColor:p},"&:has(input:focus-visible)":{outline:`2px solid ${Z}`,outlineOffset:2}}},"control"),valueContainer:t((r,{isMulti:o})=>{let i=o?`calc(${u} * -1) 0`:0;return{...r,margin:i,padding:0,lineHeight:1}},"valueContainer"),input:t(r=>{var o,i;return{...r,padding:0,margin:0,fontSize:e.font.fontSize.small,color:(i=(o=e.colors.ink)==null?void 0:o.primary)!=null?i:c}},"input"),singleValue:t(r=>{var o,i;return{...r,color:(i=(o=e.colors.ink)==null?void 0:o.primary)!=null?i:c}},"singleValue"),multiValue:t(r=>({...r,margin:u,fontSize:e.font.fontSize.micro,background:q,"& svg":{color:K,strokeWidth:1},"& > div:first-of-type":{color:J}}),"multiValue"),multiValueLabel:t(r=>({...r,padding:e.spacing(0,"micro"),lineHeight:e.font.lineHeight.regular}),"multiValueLabel"),multiValueRemove:t(r=>({...r,background:B,cursor:"pointer","&:hover":{background:F}}),"multiValueRemove"),placeholder:t((r,{isDisabled:o})=>({...r,color:o?S:c}),"placeholder"),indicatorsContainer:t((r,{isDisabled:o})=>({...r,lineHeight:1,display:"inline-flex",alignItems:"center",alignSelf:"center","& > div":{paddingTop:0,paddingBottom:0},"& svg":{color:o?S:V,fontSize:"inherit",width:"1em",height:"1em"}}),"indicatorsContainer"),indicatorSeparator:t((r,{isDisabled:o})=>({...r,margin:0,height:"1rem",alignSelf:"center",borderColor:o?S:V,backgroundColor:o?S:V}),"indicatorSeparator"),menu:t((r,o)=>{var i,p;return{...r,...$,transformOrigin:(o==null?void 0:o.placement)==="top"?"center bottom":"center top",backgroundColor:(p=(i=e.colors.surface)==null?void 0:i.overlay)!=null?p:e.colors.baseLight,borderRadius:8,overflow:"hidden",boxShadow:e.depth("level-three"),marginTop:u,padding:0,zIndex:me(e).dropdown}},"menu"),menuList:t(r=>{var o,i,p,m;return{...r,borderRadius:8,border:`1px solid ${(i=(o=e.colors.edge)==null?void 0:o.hairline)!=null?i:e.colors.baseLight}`,padding:0,"& div:not(:first-of-type)":{borderTop:`1px solid ${(m=(p=e.colors.edge)==null?void 0:p.hairline)!=null?m:e.colors.baseLight}`}}},"menuList"),option:t((r,o)=>{var p,m,k,C,v,M,E,z;let i="transparent";return o.isSelected&&(i=(m=(p=e.colors.wash)==null?void 0:p.selected)!=null?m:i),o.isFocused&&(i=(C=(k=e.colors.wash)==null?void 0:k.hover)!=null?C:i),{...r,color:(M=(v=e.colors.ink)==null?void 0:v.primary)!=null?M:a,backgroundColor:i,cursor:"pointer",textAlign:"left",padding:O,lineHeight:"1.2rem","&:active":{color:ue(e,H=>{var re,oe,te,ne,ie;return(ie=(ne=(te=H.colors).getContrastColor)==null?void 0:ne.call(te,(oe=(re=H.colors.primary)==null?void 0:re.base)!=null?oe:"#000"))!=null?ie:a}),backgroundColor:(z=(E=e.colors.primary)==null?void 0:E.base)!=null?z:a}}},"option"),clearIndicator:t(r=>({...r,cursor:"pointer"}),"clearIndicator"),dropdownIndicator:t(r=>({...r,cursor:"pointer",paddingRight:0}),"dropdownIndicator")}}t(Te,"createComponentStyle");import{forwardRef as Ie,useImperativeHandle as Ve,useMemo as he,useState as Le}from"react";import Se,{components as X}from"react-select";import _ from"react-select/async";var j=Se;import{jsx as n,jsxs as T}from"react/jsx-runtime";function ke(e){return n(X.DropdownIndicator,{...e,children:n("div",{style:{width:24},children:T("svg",{xmlns:"http://www.w3.org/2000/svg",style:{margin:"auto",background:"0 0"},viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",display:"block",children:[n("defs",{}),n("g",{transform:"translate(80 50)",children:T("circle",{r:"6",fill:"#9bb6c0",transform:"scale(1.37926)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.875s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.875s"})]})}),n("g",{transform:"rotate(45 -50 122)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".9",transform:"scale(1.44176)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.75s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.75s"})]})}),n("g",{transform:"rotate(90 -15 65)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".8",transform:"scale(1.00426)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.625s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.625s"})]})}),n("g",{transform:"rotate(135 0 42)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".6",transform:"scale(1.06676)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.5s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.5s"})]})}),n("g",{transform:"rotate(180 10 25)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".5",transform:"scale(1.12926)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.375s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.375s"})]})}),n("g",{transform:"rotate(-135 20 8)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".4",transform:"scale(1.19176)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.25s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.25s"})]})}),n("g",{transform:"rotate(-90 35 -15)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".3",transform:"scale(1.25426)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.125s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.125s"})]})}),n("g",{transform:"rotate(-45 70 -72)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".1",transform:"scale(1.31676)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"0s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"0s"})]})})]})})})}t(ke,"DropdownIndicator");import{useCallback as Re,useRef as xe}from"react";function U(e,s){if(!(!e||ce(s))){if(Q(e))return e;if(le(e))return s.find(l=>l.value===e);if(Array.isArray(e)){if(e.every(l=>typeof l=="string"))return s.filter(l=>e.includes(l.value));if(e.every(Q))return e}}}t(U,"getDefaultValue");function Ce(e){let s=xe(e),{active:l,disable:g,enable:a}=ye();ge(()=>{s.current=e});let y=Re(async I=>{try{a();let c=await s.current(I);if(Array.isArray(c))return c;throw new Error('"LoadOptions" prop did not return the expected result')}catch(c){ae.error(c==null?void 0:c.message)}finally{g()}},[a,g]);return[l,y]}t(Ce,"useLoadOptions");import{jsx as ve}from"react/jsx-runtime";function Pe(e,s){let{loadingPlaceholder:l="Carregando (aguarde)...",emptyMessage:g="Sem Op\xE7\xF5es",isLoading:a,onChange:y,loadOptions:I,onItemSelect:c,variant:V,style:B,readOnly:Z,value:S,hideSelectedOptions:F=!1,menuPlacement:q="bottom",placeholder:J="Selecione...",size:K="medium",motion:$="scale",...O}=e,[u,w]=Le(()=>{let{options:d,defaultValue:b}=O;return U(b||S,d)}),P=t(d=>{w(d||[]);let b=se(d);if(y&&y(d?b:[]),O.isMulti&&c){let h=Array.isArray(u)&&u.length,R=b.length,D=t(()=>{let f=u||[];y&&y(f),w(f)},"cancelAction");if(R===0)u.forEach(f=>{c({option:f,type:"REMOVE",cancelAction:t(()=>w(L=>{let x=[...L,f];return y&&y(x),x}),"cancelAction")})});else if(R>h)c({option:b[R-1],type:"ADD",cancelAction:D});else if(R<h){let f=u.find(L=>!b.some(x=>x.value===L.value));c({option:f,type:"REMOVE",cancelAction:D})}}},"onChangeValue");be(()=>{w(S||[])},[S]),Ve(s,()=>({setValue:t(d=>{P(U(d,O.options))},"setValue")}));let[G,W]=Ce(I),N=de(),Y=he(()=>Te(N,V,B,$),[N,V,B,$]),A={ref:s,...O,size:K,hideSelectedOptions:F,menuPlacement:q,placeholder:J,...(a||G)&&{components:{DropdownIndicator:ke,LoadingIndicator:null},placeholder:l,isDisabled:!0},closeMenuOnSelect:!O.isMulti,styles:Y,value:u,noOptionsMessage:t(()=>g,"noOptionsMessage"),onChange:P,...Z&&{isClearable:!1,isSearchable:!1,openMenuOnClick:!1,menuIsOpen:!1}};return I?ve(_,{...A,cacheOptions:!0,defaultOptions:!0,loadOptions:W}):ve(j,{...A})}t(Pe,"InputSelectComponent");var Oe=Ie(Pe);Oe.displayName="InputSelect";export{Te as a,Oe as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as G,d as V}from"./chunk-24CF72TV.esm.js";import{a as F}from"./chunk-CIHS5F2A.esm.js";import{a as O}from"./chunk-DVMAC4Z4.esm.js";import{b as q}from"./chunk-FMNMEPTI.esm.js";import{b as R}from"./chunk-SRBIATLE.esm.js";import{X as M,ja as A}from"./chunk-TVJXEJLN.esm.js";import{a as W}from"./chunk-TQMP7PZI.esm.js";import{e as L}from"./chunk-3WXII2F3.esm.js";import{a as D}from"./chunk-EJ245MA7.esm.js";import{b as c,g as f}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import{forwardRef as te,useCallback as ie,useContext as ne,useId as re,useRef as se,useState as le}from"react";var g={medium:"2.75rem",small:"2rem"},_=a((e,o)=>o==="neutral"?e.colors.quiet:e.colors.primary,"chipPalette"),ee=a((e,o)=>D(e,i=>{var s,t;return(t=(s=i.colors).getContrastColor)==null?void 0:t.call(s,_(i,o).base)}),"onBaseInk"),oe=a(({$variant:e,$color:o,$selected:i,$disabled:s,theme:t})=>{let n=_(t,o);return s?c(["background:transparent;border-color:",";color:",";"],t.colors.edge.hairline,t.colors.disabled.color):e==="contained"?i?c(["background:",";border-color:",";color:",";"],n.base,n.base,ee(t,o)):c(["background:",";border-color:",";color:",";"],n.light,n.light,n.onLight):i?c(["background:",";border-color:",";color:",";"],n.light,n.base,n.onLight):c(["background:transparent;border-color:",";color:",";"],t.colors.edge.border,L(t.colors.ink.primary,"ink","primary"))},"surfaceCss"),J=f(W).withConfig({componentId:"sc-youeq7-0"})(["position:relative;display:inline-flex;flex-direction:row;align-items:stretch;box-sizing:border-box;min-width:0;max-width:",";vertical-align:middle;border:"," solid;border-radius:",";font-family:",";font-size:",";font-weight:",";line-height:",";transition:",";",""],({$maxWidth:e})=>e,({theme:e})=>e.border.borderWidth.thin,({theme:e})=>e.border.borderRadius.large,({$mono:e,theme:o})=>e?o.font.fontFamily.code:o.font.fontFamily.main,({theme:e})=>e.font.fontSize.xs,({$selected:e,theme:o})=>e?o.font.fontWeight.bold:o.font.fontWeight.regular,({theme:e})=>e.font.lineHeight.tight,({theme:e})=>e.animation.transitions.short,oe),C=f.span.withConfig({componentId:"sc-youeq7-1"})(["&&{display:inline-flex;flex:1 1 auto;align-items:center;gap:",";min-inline-size:",";min-block-size:",";box-sizing:border-box;margin:calc(-1 * ",") 0;padding-block:0;padding-inline:",";border:0;border-radius:inherit;"," background:transparent;color:inherit;font:inherit;text-align:start;text-decoration:none;cursor:",";outline:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;}",""],({$size:e,theme:o})=>o.spacing(e==="small"?"micro":"xs"),({$size:e,$interactive:o})=>o?g[e]:0,({$size:e})=>g[e],({theme:e})=>e.border.borderWidth.thin,({$size:e,$trailing:o,theme:i})=>i.spacing(e==="small"?"xs":"small",o?"micro":e==="small"?"xs":"small"),({$trailing:e})=>e&&c(["border-start-end-radius:0;border-end-end-radius:0;"]),({$interactive:e})=>e?"pointer":"default",({$interactive:e,theme:o})=>e&&c(["&&:hover:not(:disabled){background:",";}&&:active:not(:disabled){background:",";}&&:focus-visible{outline:2px solid currentColor;outline-offset:-2px;}&&:disabled{cursor:default;}"],o.colors.wash.hover,o.colors.wash.pressed)),K=f.span.withConfig({componentId:"sc-youeq7-2"})(["display:inline-flex;flex:none;align-items:center;font-size:",";line-height:0;"],({$size:e,theme:o})=>o.font.fontSize[e==="small"?"xs":"small"]),Q=f.span.withConfig({componentId:"sc-youeq7-3"})(["min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),T=f(q).withConfig({componentId:"sc-youeq7-4"})(["&&&{flex:none;box-sizing:border-box;inline-size:",";min-block-size:",";margin:calc(-1 * ",");margin-inline-start:0;padding:0;border:0;border-radius:",";border-start-start-radius:0;border-end-start-radius:0;color:inherit;font-size:",";touch-action:manipulation;}&&&:hover,&&&:active{color:inherit;}&&&:focus-visible{outline:2px solid currentColor;outline-offset:-2px;}&&&:disabled{background:transparent;color:inherit;}"],({$size:e})=>g[e],({$size:e})=>g[e],({theme:e})=>e.border.borderWidth.thin,({theme:e})=>e.border.borderRadius.large,({$size:e,theme:o})=>o.font.fontSize[e==="small"?"xs":"small"]);import{Fragment as ce,jsx as l,jsxs as U}from"react/jsx-runtime";function ae(e){let o=re(),i=ne(O),[s,t]=le(!1),n=se(null),d=e&&(i?i.openId===o:s),p=ie(r=>{r||(n.current=null),i?i.setOpenId(m=>r?o:m===o?null:m):t(r)},[i,o]);return{open:d,close:a(()=>p(!1),"close"),triggerProps:{"aria-expanded":d,onClick:a(()=>{if(d&&n.current==="hover"){n.current="press";return}if(d){p(!1);return}n.current="press",p(!0)},"onClick"),onPointerEnter:a(r=>{r.pointerType!=="mouse"||d||(n.current="hover",p(!0))},"onPointerEnter"),onPointerLeave:a(r=>{r.pointerType==="mouse"&&n.current==="hover"&&p(!1)},"onPointerLeave")}}}a(ae,"useDescription");var X=te((e,o)=>{let{label:i,description:s,size:t="medium",variant:n="outlined",color:d="primary",mono:p=!1,maxWidth:P="100%",disabled:r=!1,infoLabel:m,icon:E,status:y,statusLabel:H,onToggle:x,selected:v,onRemove:S,removeLabel:z,...Y}=e,u=s!==void 0&&s!=="",{open:Z,close:j,triggerProps:N}=ae(u&&!r),B=a(b=>u?l(F,{visible:Z,onDismiss:j,title:i,description:s!=null?s:"",position:"bottom",children:b}):b,"withDescription"),$=null;y!==void 0?$=l(G,{as:"span","aria-hidden":!0,$status:y,$size:t}):E&&($=l(K,{"aria-hidden":!0,$size:t,children:E}));let I=U(ce,{children:[$,l(Q,{title:u?void 0:i,children:i}),y!==void 0&&H&&l(V,{children:` ${H}`})]}),k=x!==void 0,w=S!==void 0||k&&u,h;return x?h=l(C,{as:"button",type:"button","aria-pressed":!!v,disabled:r,onClick:b=>x(!v,b),$size:t,$interactive:!0,$trailing:w,children:I}):u?h=B(l(C,{as:"button",type:"button",disabled:r,...N,$size:t,$interactive:!0,$trailing:w,children:I})):h=l(C,{$size:t,$interactive:!1,$trailing:w,children:I}),U(J,{...Y,as:"span",ref:o,$size:t,$variant:n,$color:d,$selected:!!(k&&v),$mono:p,$maxWidth:P,$disabled:r,children:[h,k&&u&&B(l(T,{type:"button",icon:l(R,{icon:M}),label:m!=null?m:`About ${i}`,variant:"ghost",color:"neutral",size:"small",disabled:r,...N,$size:t})),S&&l(T,{type:"button",icon:l(R,{icon:A}),label:z!=null?z:`Remove ${i}`,variant:"ghost",color:"neutral",size:"small",disabled:r,onClick:S,$size:t})]})});X.displayName="Chip";export{g as a,J as b,C as c,K as d,Q as e,T as f,X as g};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{d as f}from"./chunk-S4K2XENC.esm.js";import{a as i}from"./chunk-LSLBDF5M.esm.js";import{g as a}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var e={columns:"100%",rows:"100%",areas:`
|
|
2
|
+
"content"
|
|
3
|
+
`},p={xs:e};var m=a(f).attrs({medias:e}).withConfig({componentId:"sc-11xb4nx-0"})(["width:100%;height:100%;"]);import{jsx as r}from"react/jsx-runtime";var n=o(({layoutComponents:t})=>r(m,{children:r(i,{area:"content",width:"100%",justifyContent:"center",md_justifyContent:"start",children:t&&t.content&&r(t.content,{})})}),"DefaultLayout");n.displayName="DefaultLayout";export{e as a,p as b,m as c,n as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as d}from"./chunk-KZTG5TDM.esm.js";import{a as m}from"./chunk-EU4FKCQL.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";import B,{lazy as L,Suspense as M,useCallback as T,useId as v,useRef as F,useState as E}from"react";import{Fragment as _,jsx as f,jsxs as q}from"react/jsx-runtime";var N=L(()=>import("./Tooltip.floating-ELFMKU3S.esm.js")),V=40,R=p((e,c)=>typeof e=="string"?f(m,{...c,children:e}):e,"getElement"),h=p(({children:e,position:c="top",content:g,inverted:y,noArrow:S,onDismiss:n,visible:i,motion:x="scale"})=>{if(i!==void 0&&typeof n=="undefined")throw new Error('Voc\xEA deve fornecer a fun\xE7\xE3o "onDismiss" quando utilizar a prop "visible"');let r=i!==void 0,[C,o]=E(!1),a=r?!!i:C,{mounted:I,state:O,ref:P}=d(a),[b,w]=E(null),H=T(l=>w(l),[]),s=F(void 0),u=v(),k=T(l=>{r?!l&&n&&n():o(l)},[r,n]),t={ref:H,"aria-describedby":a?u:void 0};r||(t.onPointerEnter=()=>{clearTimeout(s.current),s.current=setTimeout(()=>o(!0),V)},t.onPointerLeave=()=>{clearTimeout(s.current),o(!1)},t.onFocus=()=>o(!0),t.onBlur=()=>o(!1));let z=R(e),A=B.cloneElement(z,t);return q(_,{children:[A,I&&f(M,{fallback:null,children:f(N,{referenceEl:b,open:a,motion:x,motionState:O,motionRef:P,onOpenChange:k,position:c,inverted:y,noArrow:S,tooltipId:u,content:R(g,{fontSize:"micro",lineHeight:"regular"})})})]})},"TooltipComponent");h.displayName="Tooltip";export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-BUPS7DX6.esm.js";import{e as r}from"./chunk-EU4FKCQL.esm.js";import{a as i}from"./chunk-LSLBDF5M.esm.js";import{a as o}from"./chunk-TQMP7PZI.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a=p(o).withConfig({componentId:"sc-qi04g0-0"})(["display:flex;flex-direction:column;"]);import{jsx as t,jsxs as l}from"react/jsx-runtime";var d=n(({children:c,icon:f,title:x,description:s,...e})=>{let v=e.inverted?"ink.primary":"surface.paper";return t(m,{content:t(o,{p:"xs",children:l(a,{gap:"medium",maxWidth:400,color:v,children:[l(i,{flexDirection:"row",alignItems:"center",gap:"medium",children:[f,t(r,{variant:"h4",text:x,color:null})]}),t(r,{variant:"p",text:s,color:null})]})}),...e,children:c})},"Popover");d.displayName="Popover";export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as A}from"./chunk-
|
|
1
|
+
import{b as A}from"./chunk-6PVZ2DEN.esm.js";import{f as u}from"./chunk-7MX2FUN4.esm.js";import{e as b}from"./chunk-EU4FKCQL.esm.js";import{a as p}from"./chunk-LSLBDF5M.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import{Fragment as O,jsx as t,jsxs as c}from"react/jsx-runtime";var a=i(n=>{if(typeof n=="number")return Number.isFinite(n)?n:void 0;if(typeof n=="string"&&/^\d+$/.test(n.trim()))return Number(n)},"asNumber"),x=i(({initialPagination:n,finalPagination:r,linesPerPage:o,totalPagination:d,showingText:E=i((I,l,e)=>`Exibindo ${I} - ${l} de ${e} itens`,"showingText"),linesPerPageLabel:T="Linhas por p\xE1gina",linesPerPageValue:y,onLinesPerPageChange:C,onPreviousPage:k,onNextPage:w,canPreviousPage:m,canNextPage:f,previousLabel:z="Anterior",nextLabel:B="Pr\xF3ximo"})=>{if(!(n&&r&&d&&Array.isArray(o)))return null;let l=!!(k||w),e=a(n),F=a(r),$=a(d),D=m!=null?m:e===void 0?!0:e>1,S=f!=null?f:F===void 0||$===void 0?!0:F<$,j=y===void 0?void 0:o.find(s=>s.value===y);return c(p,{flexDirection:"row",justifyContent:"between",alignItems:"center",children:[t(b,{color:"primary.dark",children:E(n,r,d)}),c(p,{flexDirection:"row",justifyContent:"center",alignItems:"center",gap:2,children:[t(b,{color:"primary.dark",children:T}),t(A,{width:"150px",options:o,"aria-label":T,value:j,onChange:C?s=>{var h;return C((h=s[0])==null?void 0:h.value)}:void 0}),l&&c(O,{children:[t(u,{variant:"linked",size:"small",disabled:!D,onClick:k,text:z}),t(u,{variant:"linked",size:"small",disabled:!S,onClick:w,text:B})]})]})]})},"TablePaginationComponent");x.displayName="TablePagination";export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as B,b as K,c as N}from"./chunk-IMS5TWF3.esm.js";import{a as A}from"./chunk-PPM5MYBX.esm.js";import{a as M,b as F}from"./chunk-FMNMEPTI.esm.js";import{f as W}from"./chunk-HSKYQ6VP.esm.js";import{c as O}from"./chunk-KZTG5TDM.esm.js";import{a as G}from"./chunk-BE2JDTVA.esm.js";import{a as _}from"./chunk-P3SIJHYM.esm.js";import{b as D}from"./chunk-SRBIATLE.esm.js";import{ja as V}from"./chunk-TVJXEJLN.esm.js";import{f as E}from"./chunk-7MX2FUN4.esm.js";import{a as H,e as P}from"./chunk-EU4FKCQL.esm.js";import{g as k}from"./chunk-L7A7RA56.esm.js";import{a as L}from"./chunk-2Z3UZIWZ.esm.js";import{a as h}from"./chunk-LSLBDF5M.esm.js";import{a as u}from"./chunk-TQMP7PZI.esm.js";import{a as R}from"./chunk-J6F4PMW4.esm.js";import{c as S}from"./chunk-G5Z7USXC.esm.js";import{b as y,g as c}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var co=y(["width:",";"],K);function mo({size:o}){var n;let e=(n=B[o!=null?o:"base"])!=null?n:B.base;return y(["max-width:",";min-width:min(",",100%);"],e.max,e.min)}a(mo,"modalSize");function so({variant:o,theme:e}){let n=e.colors[o];return y(["--baseColor:",";--lightColor:",";--actionColor:",";"],n.base,n.light,n.action)}a(so,"modalVariantColor");var Q=c(u).attrs({p:"large",borderRadius:"md",bgColor:"surface.overlay"}).withConfig({componentId:"sc-8jjm43-0"})(["",";",";","{",";}"],co,so,({theme:o})=>o.breakpoints.up("sm"),mo),U=c(h).withConfig({componentId:"sc-8jjm43-1"})(["max-height:",";min-height:0;"],N),X=c(h).withConfig({componentId:"sc-8jjm43-2"})(["& ","{flex:1;}& ","{padding:0.3rem;color:var(--baseColor);&:only-child{margin-left:auto;}}& ",":active{color:var(--actionColor);background-color:var(--lightColor);}& ",":hover{background-color:var(--lightColor);}"],H,M,M,M),Y=c(u).withConfig({componentId:"sc-8jjm43-3"})(["flex:1;display:flex;min-width:0;min-height:0;"]),Z=c(u).attrs({borderRadius:"circular"}).withConfig({componentId:"sc-8jjm43-4"})(["display:flex;background-color:var(--lightColor);& svg{color:var(--baseColor);width:1.25rem;height:1.25rem;g{fill:var(--baseColor);}}"]),$=c(u).withConfig({componentId:"sc-8jjm43-5"})(["z-index:",";display:flex;justify-content:center;align-items:center;position:fixed;inset:0;html:has(&){overflow:hidden;}"],({theme:o})=>k(o).modal),q=c(u).withConfig({componentId:"sc-8jjm43-6"})(["opacity:0.8;will-change:opacity;"]);import x,{cloneElement as po,isValidElement as fo,useEffect as uo,useRef as go,useState as ho}from"react";import{createPortal as Co}from"react-dom";import{Fragment as xo,jsx as r,jsxs as C}from"react/jsx-runtime";var z=a(({isOpen:o,onDismiss:e,...n})=>{if(!o&&!e)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[l,m]=ho(!1),i=go(null),{mounted:t,state:d,ref:s}=O(o!=null?o:!1);return uo(()=>{m(!0)},[]),_(i,{active:!!(o&&l&&t),onEscape:e}),!l||!S?null:Co(t?C($,{"data-testid":"modal-container",children:[r(q,{absoluteFill:!0,bgColor:"surface.scrim","data-testid":"modal-overlay",onClick:e,motion:"fade","data-state":d}),r(Mo,{ref:f=>{i.current=f,s(f)},motionState:d,onDismiss:e,...n})]}):null,S)},"ModalBaseComponent"),yo=a(({defaultOpen:o,trigger:e,isOpen:n,onDismiss:l,onModalOpen:m,...i})=>{let{active:t,disable:d,enable:s,toggle:f}=G(o,{onActive:m});return(n||l)&&R.warn('"isOpen" and "onDismiss" has no effect while using "trigger" prop'),C(xo,{children:[a(()=>{let p=null;if(typeof e=="function"&&(p=e({isOpen:t,open:s})),fo(e)&&(p=po(e,{onClick:f})),p===null)throw new Error('"trigger" prop is not a valid element');return p},"renderTrigger")(),r(z,{isOpen:t,onDismiss:d,...i})]})},"ModalTriggerVariant"),Mo=x.forwardRef(a(function({noCloseButton:e,primaryButton:n,secondaryButton:l,primaryText:m,secondaryText:i,onDismiss:t,primaryAction:d,secondaryAction:s,children:f,tagline:b,variant:p,footer:v,title:w,size:oo,icon:j,motionState:eo,closeLabel:to="Fechar",role:ro="dialog"},no){let{isMobile:I}=W(),T=x.useId(),ao=a(()=>{d({close:t})},"handlePrimary"),lo=a(()=>{s({close:t})},"handleSecondary"),io=a(()=>{let g={onClick:ao,fullWidth:v==="full"||I,"data-testid":"modal-confirm-button"};return n?x.cloneElement(n,g):r(E,{color:p,...g,children:m})},"renderPrimaryButton");return r(Q,{ref:no,role:ro,"aria-modal":"true","aria-labelledby":w?T:void 0,tabIndex:-1,size:oo,variant:p,motion:"sheet","data-state":eo,children:C(U,{gap:"medium",children:[C(X,{gap:"xs",children:[r(L,{opener:j&&r(Z,{justifyContent:"center",alignItems:"center",p:"micro",children:j}),closer:!e&&r(F,{onClick:t,"data-testid":"modal-close-button","aria-label":to,icon:r(D,{icon:V}),variant:"linked",color:"secondary",size:"large",alignSelf:"start"}),children:w&&r(P,{id:T,variant:"h4",area:"title",color:"ink.primary",text:w})}),b&&r(P,{variant:"meta",color:"secondary.dark",area:"tagline",children:b})]}),r(Y,{py:"medium",children:r(A,{overscroll:"contain",bleed:"large",children:f})}),(d||s)&&C(h,{flexDirection:I?"column-reverse":"row",justifyContent:v==="expanded"?"between":"end",gap:"medium",children:[s&&a(()=>{if(v==="full")return null;let g={onClick:lo,fullWidth:I,"data-testid":"modal-cancel-button"};return typeof l=="function"?l({close:a(()=>t==null?void 0:t(),"close")}):l?x.cloneElement(l,g):r(E,{variant:"outlined",color:"secondary",...g,children:i})},"renderSecondaryButton")(),d&&io()]})]})})},"ModalDialog")),J=a(({noCloseButton:o=!1,secondaryText:e="Cancelar",primaryText:n="Confirmar",variant:l="primary",footer:m="right",...i})=>{let t={noCloseButton:o,secondaryText:e,primaryText:n,variant:l,footer:m,...i};return t!=null&&t.trigger?r(yo,{...t}):r(z,{...t})},"ModalComponent");J.displayName="Modal";export{Q as a,U as b,X as c,Y as d,Z as e,$ as f,q as g,J as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as R}from"./chunk-
|
|
1
|
+
import{a as R}from"./chunk-BUPS7DX6.esm.js";import{a as F}from"./chunk-U3CY4REV.esm.js";import{a as m,b as g}from"./chunk-PCQQ762I.esm.js";import{e as S}from"./chunk-EU4FKCQL.esm.js";import{a as x}from"./chunk-LSLBDF5M.esm.js";import{b as h}from"./chunk-IK5Z5C2R.esm.js";import{b}from"./chunk-ODL5JUYM.esm.js";import{g as y}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import l,{useEffect as w}from"react";var k=y.td.withConfig({componentId:"sc-1t8iq38-0"})(["",";",";",";"],F,b,h({fontFamily:"main"}));import{jsx as i}from"react/jsx-runtime";var n=r(({label:f,...e})=>{let{ellipsis:c}=l.useContext(m),t=l.useContext(m),d=t==null?void 0:t.stacked,s=t==null?void 0:t.columnLabels,a=l.useContext(g),v=d?f!=null?f:a===void 0||s==null?void 0:s[a]:void 0,[u,E]=l.useState(null),C=l.useRef(null);function I(){return u===null?e.children:c&&u?i(R,{content:e.children,children:e.children}):e.children==="string"?i(S,{color:"baseDark",children:e.children}):e.children}return r(I,"getCustomChild"),w(()=>{let o=C.current;if(!o)return;let T=r(()=>E(o.offsetWidth<o.scrollWidth),"measure");if(T(),typeof ResizeObserver=="undefined")return;let p=new ResizeObserver(T);return p.observe(o),()=>p.disconnect()},[e.children,c]),i(k,{ref:C,...e,role:d?"cell":void 0,"data-label":v,children:i(x,{children:I()})})},"TableCellComponent");n.displayName="TableCell";export{k as a,n as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s}from"./chunk-J6F4PMW4.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import{arrow as E,autoUpdate as F,flip as L,FloatingFocusManager as D,FloatingPortal as h,offset as b,safePolygon as O,shift as x,useClick as G,useDismiss as _,useFloating as v,useFocus as M,useHover as P,useInteractions as R,useRole as S}from"@floating-ui/react";import{useEffect as l}from"react";var u={root:void 0,strategy:"absolute"},c={root:null,strategy:"absolute"},f='dialog[open], [aria-modal="true"]';function g(e){if(!e)return c;let t=e.closest(f);return t?{root:t,strategy:"fixed"}:u}n(g,"getFloatingLayer");function I(e,t){return l(()=>{if(!t||e)return;let o=setTimeout(()=>{s.warn("[apollion] A floating layer is open but its reference element never mounted, so it renders nothing. Make sure the trigger forwards its ref to a DOM element.")},0);return()=>clearTimeout(o)},[t,e]),g(e)}n(I,"useFloatingLayer");var m={top:"bottom",bottom:"top",left:"right",right:"left"},d={vertical:{start:"left",end:"right",center:"center"},horizontal:{start:"top",end:"bottom",center:"center"}};function w(e){let[t,o]=e.split("-"),r=t==="top"||t==="bottom"?"vertical":"horizontal",a=d[r][o!=null?o:"center"],i=m[t];return r==="vertical"?`${a} ${i}`:`${i} ${a}`}n(w,"floatingTransformOrigin");export{E as a,F as b,L as c,D as d,h as e,b as f,O as g,x as h,G as i,_ as j,v as k,P as l,R as m,S as n,I as o,w as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i,b as f,c as h,d as g}from"./chunk-BTO37XLJ.esm.js";import{b as p}from"./chunk-SRBIATLE.esm.js";import{g as d}from"./chunk-L7A7RA56.esm.js";import{a as m}from"./chunk-TQMP7PZI.esm.js";import{a as l}from"./chunk-J6F4PMW4.esm.js";import{b as c,g as r}from"./chunk-AXUWC2WH.esm.js";import E,{forwardRef as z,useEffect as M}from"react";var $="3.5rem",y=r(m).withConfig({componentId:"sc-qqoy0d-0"})(["display:block;box-sizing:border-box;width:100%;padding-bottom:env(safe-area-inset-bottom);",""],({$fixed:o,theme:t})=>o&&c(["position:fixed;inset-inline:0;bottom:0;z-index:",";"],d(t).sticky)),v=r.ul.withConfig({componentId:"sc-qqoy0d-1"})(["display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin:0;padding:0;list-style:none;"]),b=r.li.withConfig({componentId:"sc-qqoy0d-2"})(["display:flex;min-width:0;"]),N=r.span.withConfig({componentId:"sc-qqoy0d-3"})(["display:inline-flex;align-items:center;justify-content:center;padding:",";border-radius:",";font-size:",";line-height:0;background:",";transition:",";"],({theme:o})=>o.spacing("micro","medium"),({theme:o})=>o.border.borderRadius.large,({theme:o})=>o.font.fontSize.large,({$current:o,theme:t})=>o?t.colors.wash.selected:"transparent",({theme:o})=>o.animation.transitions.short),u=r.span.withConfig({componentId:"sc-qqoy0d-4"})(["max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),x=r.a.withConfig({componentId:"sc-qqoy0d-5"})(["display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:",";min-width:0;min-height:",";box-sizing:border-box;margin:0;padding:",";border:0;background:transparent;color:",";font-family:",";font-size:",";font-weight:",";line-height:",";text-align:center;text-decoration:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:",";&:hover{background:",";}&:active{background:",";}&:focus-visible{outline:2px solid ",";outline-offset:-2px;}"],({theme:o})=>o.spacing("micro"),$,({theme:o})=>o.spacing("xs","micro"),({$current:o,$color:t,theme:a})=>o?i(a,t):f(a),({theme:o})=>o.font.fontFamily.main,({theme:o})=>o.font.fontSize.micro,({$current:o,theme:t})=>o?t.font.fontWeight.bold:t.font.fontWeight.regular,({theme:o})=>o.font.lineHeight.tight,({theme:o})=>o.animation.transitions.short,({theme:o})=>o.colors.wash.hover,({theme:o})=>o.colors.wash.pressed,({$color:o,theme:t})=>i(t,o));import{jsx as n,jsxs as R}from"react/jsx-runtime";var B=3,I=5,S=z(({items:o,linkAs:t,color:a="primary",fixed:w=!1,...C},q)=>(M(()=>{(o.length<B||o.length>I)&&l.warn(`[NavBar] ${o.length} items \u2014 a bottom bar holds ${B} to ${I}; move the rest to a menu or
|
|
1
|
+
import{a as i,b as f,c as h,d as g}from"./chunk-BTO37XLJ.esm.js";import{b as p}from"./chunk-SRBIATLE.esm.js";import{g as d}from"./chunk-L7A7RA56.esm.js";import{a as m}from"./chunk-TQMP7PZI.esm.js";import{a as l}from"./chunk-J6F4PMW4.esm.js";import{b as c,g as r}from"./chunk-AXUWC2WH.esm.js";import E,{forwardRef as z,useEffect as M}from"react";var $="3.5rem",y=r(m).withConfig({componentId:"sc-qqoy0d-0"})(["display:block;box-sizing:border-box;width:100%;padding-bottom:env(safe-area-inset-bottom);",""],({$fixed:o,theme:t})=>o&&c(["position:fixed;inset-inline:0;bottom:0;z-index:",";"],d(t).sticky)),v=r.ul.withConfig({componentId:"sc-qqoy0d-1"})(["display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin:0;padding:0;list-style:none;"]),b=r.li.withConfig({componentId:"sc-qqoy0d-2"})(["display:flex;min-width:0;"]),N=r.span.withConfig({componentId:"sc-qqoy0d-3"})(["display:inline-flex;align-items:center;justify-content:center;padding:",";border-radius:",";font-size:",";line-height:0;background:",";transition:",";"],({theme:o})=>o.spacing("micro","medium"),({theme:o})=>o.border.borderRadius.large,({theme:o})=>o.font.fontSize.large,({$current:o,theme:t})=>o?t.colors.wash.selected:"transparent",({theme:o})=>o.animation.transitions.short),u=r.span.withConfig({componentId:"sc-qqoy0d-4"})(["max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),x=r.a.withConfig({componentId:"sc-qqoy0d-5"})(["display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:",";min-width:0;min-height:",";box-sizing:border-box;margin:0;padding:",";border:0;background:transparent;color:",";font-family:",";font-size:",";font-weight:",";line-height:",";text-align:center;text-decoration:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:",";&:hover{background:",";}&:active{background:",";}&:focus-visible{outline:2px solid ",";outline-offset:-2px;}"],({theme:o})=>o.spacing("micro"),$,({theme:o})=>o.spacing("xs","micro"),({$current:o,$color:t,theme:a})=>o?i(a,t):f(a),({theme:o})=>o.font.fontFamily.main,({theme:o})=>o.font.fontSize.micro,({$current:o,theme:t})=>o?t.font.fontWeight.bold:t.font.fontWeight.regular,({theme:o})=>o.font.lineHeight.tight,({theme:o})=>o.animation.transitions.short,({theme:o})=>o.colors.wash.hover,({theme:o})=>o.colors.wash.pressed,({$color:o,theme:t})=>i(t,o));import{jsx as n,jsxs as R}from"react/jsx-runtime";var B=3,I=5,S=z(({items:o,linkAs:t,color:a="primary",fixed:w=!1,...C},q)=>(M(()=>{(o.length<B||o.length>I)&&l.warn(`[NavBar] ${o.length} items \u2014 a bottom bar holds ${B} to ${I}; move the rest to a menu or a <Tabs mode="nav"> row.`)},[o.length]),n(y,{...C,as:"nav",bgColor:"surface.paper",borderPosition:"top",borderWidth:"thin",borderStyle:"solid",borderColor:"edge.hairline",$fixed:w,ref:q,children:n(v,{children:o.map((e,L)=>{let{as:T,props:k}=g(e,t),s=!!e.current;return n(b,{children:R(x,{...k,as:T,$current:s,$color:a,children:[n(N,{$current:s,"aria-hidden":!0,children:E.isValidElement(e.icon)?e.icon:n(p,{icon:e.icon})}),n(u,{children:e.label})]})},h(e,L))})})})));S.displayName="NavBar";export{$ as a,y as b,v as c,b as d,N as e,u as f,x as g,S as h};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as _}from"./chunk-
|
|
1
|
+
import{a as _}from"./chunk-DJY3YRWV.esm.js";import{a as p}from"./chunk-PPV6A2DH.esm.js";import{a as c}from"./chunk-6D5LRZHG.esm.js";import{b as X}from"./chunk-ZVL3UZ6R.esm.js";import{a as A}from"./chunk-N273ZLSA.esm.js";import{a as y,b as Q}from"./chunk-QZYG7DTG.esm.js";import{a as r}from"./chunk-FDF774OD.esm.js";import{a as D,b as U}from"./chunk-7PZTYH4G.esm.js";import{a as d}from"./chunk-LB4UJSH7.esm.js";import{a as Z,b as G}from"./chunk-U3CY4REV.esm.js";import{a as J}from"./chunk-PCQQ762I.esm.js";import{h as Y}from"./chunk-Q3FUXFD5.esm.js";import{a as E}from"./chunk-Z4PVL3DV.esm.js";import{b as m}from"./chunk-SRBIATLE.esm.js";import{G as q,L as x,_ as K,w as O,x as V}from"./chunk-TVJXEJLN.esm.js";import{a as W,e as M}from"./chunk-EU4FKCQL.esm.js";import{g as z}from"./chunk-L7A7RA56.esm.js";import{a as s}from"./chunk-LSLBDF5M.esm.js";import{d as j}from"./chunk-RWLJNXLX.esm.js";import{b as $}from"./chunk-ODL5JUYM.esm.js";import{b as l,g as N}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import T,{useEffect as Se,useState as v}from"react";function be(e){switch(e){case"Compact":return l(["& ","{padding:",";}& ",",","{padding:",";}"],d,({theme:i})=>i.spacing("micro"),r,c,({theme:i})=>i.spacing("micro"));case"Expansive":return l(["& ","{padding:",";}& ",",","{padding:",";}"],d,({theme:i})=>i.spacing("large"),r,c,({theme:i})=>i.spacing("large"));default:return l(["& ","{padding:",";}& ",",","{padding:",";}"],d,({theme:i})=>i.spacing("medium"),r,c,({theme:i})=>i.spacing("medium"))}}o(be,"getSizeStyle");function H(e){switch(e){case"left":return"flex-start";case"right":return"flex-end";default:return"center"}}o(H,"getAlignDirection");function he(e){if(typeof e=="object"){let i=e.reduce((t,g)=>{let b=`
|
|
2
2
|
& ${r}, ${c}, ${d} {
|
|
3
3
|
&:nth-child(${g.target}) {
|
|
4
4
|
${s} {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as u}from"./chunk-S4K2XENC.esm.js";import{a as m}from"./chunk-EU4FKCQL.esm.js";import{a as t}from"./chunk-LSLBDF5M.esm.js";import{a as f}from"./chunk-EJ245MA7.esm.js";import{k as c}from"./chunk-REPFMEFA.esm.js";import{b as h,g as l}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var I=h(["cursor:pointer;&:hover,&:focus-within{border-color:",";box-shadow:",";transform:translateY(-2px);}@media (prefers-reduced-motion:reduce){&:hover,&:focus-within{transform:none;}}"],({theme:e})=>f(e,r=>c(r.colors.primary,"base")),({theme:e})=>e.depth("level-three")),g=l(u).withConfig({componentId:"sc-mtfzzn-0"})(["transition:",";",""],({theme:e})=>e.animation.transitions.short,({$interactive:e})=>e&&I),C=l(t).withConfig({componentId:"sc-mtfzzn-1"})(["margin:",";overflow:hidden;border-top-left-radius:inherit;border-top-right-radius:inherit;"],({theme:e,$pad:r})=>{let o=`calc(${e.spacing(r)} * -1)`;return`${o} ${o} 0`});import{jsx as a,jsxs as y}from"react/jsx-runtime";var B=s(e=>{let r=[],o=[];return e.media&&(r.push("media"),o.push("auto")),e.title&&(r.push("title"),o.push("auto")),r.push("content"),o.push(e.action?"1fr":"auto"),e.action&&(r.push("action"),o.push("auto")),{columns:"1fr",rows:o.join(" "),areas:r.map(i=>`"${i}"`).join(" ")}},"cardTemplate"),x=s(({media:e,title:r,description:o,subtitle:i,actionComponent:n,children:b,interactive:p=!1,medias:S,p:d="large",...w})=>{let v=typeof r=="string"?a(m,{as:"h4",fontSize:"small",fontWeight:"bold",lineHeight:"regular",color:"ink.primary",children:r}):r,z=typeof o=="string"?a(m,{as:"p",fontSize:"micro",lineHeight:"wild",color:"ink.secondary",children:o}):o,F=B({media:!!e,title:!!r,action:!!n});return y(g,{borderRadius:"md",borderWidth:"thin",borderColor:"edge.hairline",bgColor:"surface.paper",overflow:p?"visible":"hidden",p:d,medias:{...F,gap:"large",...S},$interactive:p,containment:"inline-size",...w,children:[e&&a(C,{area:"media",$pad:d,children:e}),r&&a(t,{area:"title",children:v}),y(t,{area:"content",gap:"xs",children:[z,i,b]}),n&&a(t,{area:"action",children:n})]})},"CardComponent");x.displayName="Card";export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as C}from"./chunk-HZZBNAF4.esm.js";import{b as k}from"./chunk-SRBIATLE.esm.js";import{o as T}from"./chunk-TVJXEJLN.esm.js";import{e as y}from"./chunk-EU4FKCQL.esm.js";import{b as N}from"./chunk-
|
|
1
|
+
import{c as C}from"./chunk-HZZBNAF4.esm.js";import{b as k}from"./chunk-SRBIATLE.esm.js";import{o as T}from"./chunk-TVJXEJLN.esm.js";import{e as y}from"./chunk-EU4FKCQL.esm.js";import{b as N}from"./chunk-RRTLPB5F.esm.js";import{a as M}from"./chunk-LSLBDF5M.esm.js";import{a as h}from"./chunk-TQMP7PZI.esm.js";import{b as w}from"./chunk-ODL5JUYM.esm.js";import{e as E}from"./chunk-3WXII2F3.esm.js";import{a as z}from"./chunk-EJ245MA7.esm.js";import{j as B}from"./chunk-REPFMEFA.esm.js";import{g as f}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import{forwardRef as K,useEffect as Q,useState as W}from"react";var _=w(({isSelected:e})=>e?{}:{bgColor:"muted"}),A=w(({isSelected:e})=>e?{bgColor:"wash.selected"}:{}),O=f(M).withConfig({componentId:"sc-1bknes7-0"})(["list-style:none;padding:0;margin:0;"]),U=f(h).withConfig({componentId:"sc-1bknes7-1"})(["display:flex;padding:8px 12px;cursor:pointer;&:hover{","}",""],_,A),q=3,J=r(e=>E(z(e,o=>{var n;return B(o.colors.primary.base,(n=o.colors.baseLight)!=null?n:"#FFFFFF",q)}),"tx","primary"),"focusRingInk"),Y=f(h).withConfig({componentId:"sc-1bknes7-2"})(["position:relative;display:flex;flex-direction:row;align-items:center;min-width:0;&:hover{","}",""],_,A),v=f.button.withConfig({componentId:"sc-1bknes7-3"})(["&&{display:flex;flex:1 1 auto;align-items:center;gap:",";min-width:0;min-block-size:2.75rem;box-sizing:border-box;margin:0;padding:",";border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;text-align:start;text-decoration:none;cursor:pointer;outline:none;}&&::after{content:'';position:absolute;inset:0;border-radius:inherit;}&&:focus-visible::after{outline:2px solid ",";outline-offset:-2px;}"],({theme:e})=>e.spacing("xs"),({theme:e})=>e.spacing("xs","small"),({theme:e})=>J(e)),j=f.span.withConfig({componentId:"sc-1bknes7-4"})(["display:flex;flex:1 1 auto;flex-direction:column;gap:",";min-width:0;"],({theme:e})=>e.spacing("micro")),D=f.div.withConfig({componentId:"sc-1bknes7-5"})(["position:relative;z-index:1;display:flex;flex:0 0 auto;align-items:center;padding-inline-end:",";pointer-events:none;& :is(a,button,input,select,textarea,label,summary,[tabindex]){pointer-events:auto;}"],({theme:e})=>e.spacing("small"));import{Fragment as P,jsx as i,jsxs as L}from"react/jsx-runtime";var G=r(({to:e,href:o})=>e!==void 0||o!==void 0,"isLinkItem"),H=r(({to:e,href:o},n)=>n?{...o!==void 0&&{href:o},...e!==void 0&&{to:e}}:{href:o!=null?o:e},"linkTarget"),X=r(({item:e,showCheckIcon:o,action:n,linkAs:s})=>{var p;if(!e.title)throw new Error("You need to pass a title to you object inside the list");let a=G(e),l=o&&e.isSelected&&!a,d=r(()=>!a&&(n==null?void 0:n()),"onClickItem"),c=L(U,{as:"li",gap:"xs",width:"100%",flexDirection:"row",alignItems:"center",borderRadius:"micro",isSelected:e.isSelected,onClick:d,children:[(p=e.icon)!=null?p:l&&i(k,{icon:T,color:"main"}),i(y,{whiteSpace:"nowrap",children:e.title})]});return a?i(C,{as:s,...H(e,s),children:c}):c},"ListItem"),Z=r(({item:e,showCheckIcon:o,action:n,selectionAttr:s,linkAs:a})=>{var I;if(!e.title)throw new Error("You need to pass a title to you object inside the list");let l=G(e),d=o&&e.isSelected&&!l,c=(I=e.icon)!=null?I:d&&i(k,{icon:T,color:"main"}),p=L(P,{children:[c,L(j,{children:[i(y,{wordBreak:"words",children:e.title}),e.description&&i(y,{wordBreak:"words",fontSize:"xs",color:"ink.secondary",children:e.description}),e.meta&&i(y,{wordBreak:"words",fontSize:"micro",color:"ink.secondary",children:e.meta})]})]}),S=l?i(v,{as:C,forwardedAs:a,...H(e,a),"aria-current":e.isSelected?"true":void 0,children:p}):i(v,{type:"button",onClick:n,...s==="aria-pressed"?{"aria-pressed":!!e.isSelected}:{"aria-current":e.isSelected?"true":void 0},children:p});return L(Y,{as:"li",width:"100%",borderRadius:"micro",isSelected:e.isSelected,children:[S,e.trailing&&i(D,{children:e.trailing})]})},"ListInteractiveItem"),$=K(({content:e,multiple:o,exclusive:n,showCheckIcon:s,interactive:a,linkAs:l,onSelectItems:d,onItemClick:c,...p},S)=>{let[I,F]=W(()=>e.map(t=>({id:N(5),isSelected:!1,...t})));Q(()=>{F(t=>t.map((u,b)=>{var g;let m=(g=e[b])==null?void 0:g.isSelected;return m===void 0||m===u.isSelected?u:{...u,isSelected:m}}))},[e]);let R=r(t=>()=>{var g;let u=t.id,b=n&&!o?!0:!t.isSelected,m=I.map(x=>x.id===u?{...x,isSelected:b}:{...x,isSelected:o?x.isSelected:!1});if(F(m),d==null||d(m),c==null||c(t),t.action){let{action:x,icon:ee,...V}=t;(g=t.action)==null||g.call(t,V)}},"toggleItem");return i(O,{as:"ul",gap:"micro",...p,ref:S,children:I.map(t=>a?i(Z,{item:t,showCheckIcon:s,action:R(t),selectionAttr:o||n||s?"aria-pressed":"aria-current",linkAs:l},t.id):i(X,{item:t,showCheckIcon:s,action:R(t),linkAs:l},t.id))})});$.displayName="List";export{O as a,U as b,Y as c,v as d,j as e,D as f,$ as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as r,d as n,e as m,f as T,g as b,i as p}from"./chunk-QRUKZL4X.esm.js";import{a as o}from"./chunk-J6F4PMW4.esm.js";import{b as s}from"./chunk-G5Z7USXC.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{forwardRef as _,useEffect as I,useMemo as y}from"react";import{jsx as x}from"react/jsx-runtime";var i="apl_deprecated_NavTabs",S=t(()=>{let a=s;!a||a[i]||(a[i]=!0,o.warn('[NavTabs] is deprecated and will be removed in the next major \u2014 use <Tabs mode="nav"> from @apollion-dsi/core/data-display/tabs (items: `label` \u2192 `tabTitle`).'))},"warnDeprecatedOnce"),N=_(({items:a,color:e="primary",onChange:L,...v},f)=>{I(S,[]);let l=y(()=>a.map(({label:d,...c})=>({...c,tabTitle:d,color:e})),[a,e]);return x(p,{...v,mode:"nav",tabs:l,ref:f})});N.displayName="NavTabs";var h=r,G=n,V=m,D=T,K=b;export{N as a,h as b,G as c,V as d,D as e,K as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i,c as p}from"./chunk-QZYG7DTG.esm.js";import{b as n}from"./chunk-
|
|
1
|
+
import{a as i,c as p}from"./chunk-QZYG7DTG.esm.js";import{b as n}from"./chunk-FDF774OD.esm.js";import{a as T,c as b}from"./chunk-PCQQ762I.esm.js";import{e as a}from"./chunk-EU4FKCQL.esm.js";import{g as f}from"./chunk-AXUWC2WH.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import u from"react";var s=f.tfoot.withConfig({componentId:"sc-lefdns-0"})(["width:100%;& > ","{background-color:",";}"],i,({theme:l})=>l.colors.surface.sunken);import{jsx as e}from"react/jsx-runtime";var r=m(l=>{let{columnSum:o}=u.useContext(T),c=b("rowgroup"),d=o.index!==void 0?e(p,{children:Array.from({length:o.index+1},(x,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(s,{isSum:o.index!==void 0,...l,role:c,children:d})},"TableFooterComponent");r.displayName="TableFooter";export{s as a,r as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as t}from"./chunk-EU4FKCQL.esm.js";import{b as c}from"./chunk-
|
|
1
|
+
import{e as t}from"./chunk-EU4FKCQL.esm.js";import{b as c}from"./chunk-RRTLPB5F.esm.js";import{a as i}from"./chunk-LSLBDF5M.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import{forwardRef as L,useMemo as T}from"react";import{jsx as r,jsxs as a}from"react/jsx-runtime";var y=L(({title:m,contents:d,direction:p="row",itemProps:x,dividers:h=!1,gap:n,...u},w)=>{let l=T(()=>d.map(e=>{var o;return{...e,id:(o=e.id)!=null?o:c()}}),[d]),s=p==="row",g=f(e=>h&&e<l.length-1?{borderPosition:"bottom",borderWidth:"thin",borderColor:"edge.strong"}:void 0,"dividerProps");return a(i,{ref:w,flexDirection:"column",gap:"small",width:"100%",...u,children:[m&&r(t,{fontWeight:"bold",lineHeight:"regular",children:m}),r(i,{as:"dl",flexDirection:"column",gap:"micro",width:"100%",m:"zero",children:l.map(({id:e,key:o,value:D},b)=>a(i,{as:"div",width:"100%",flexDirection:s?"row":"column",justifyContent:s?"between":void 0,gap:n!=null?n:s?"medium":"micro",...g(b),...x,children:[r(t,{as:"dt",fontSize:"xs",lineHeight:"tight",color:"ink.primary",children:o}),r(t,{as:"dd",fontSize:"xs",lineHeight:"tight",children:D})]},e))})]})});y.displayName="DescriptionList";export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as k,c as W}from"./chunk-TQMP7PZI.esm.js";import{b as a}from"./chunk-G5Z7USXC.esm.js";import{b as z,g as v}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import{forwardRef as at,useCallback as E,useEffect as K,useLayoutEffect as ct,useRef as m}from"react";var R=v.div.withConfig({componentId:"sc-wsu612-0"})(["position:absolute;top:0;left:0;border-radius:999px;background:",";opacity:0.55;cursor:pointer;touch-action:none;transition:opacity var(--apollion-motion-duration-150,150ms) var(--apollion-motion-easing-standard,ease);&:hover,[data-dragging='true'] > &{opacity:0.85;}"],({theme:t})=>t.colors.ink.muted),l=v.div.withConfig({componentId:"sc-wsu612-1"})(["position:absolute;z-index:1;opacity:0;user-select:none;transition:opacity var(--apollion-motion-duration-300,300ms) var(--apollion-motion-easing-exit,cubic-bezier(0.4,0,1,1));&[data-active='false']{display:none;}&[data-axis='y']{top:2px;inset-inline-end:2px;bottom:2px;width:8px;& > ","{width:100%;}}&[data-axis='x']{right:2px;bottom:2px;left:2px;height:8px;& > ","{height:100%;}}"],R,R),X=v(k).withConfig({componentId:"sc-wsu612-2"})(["flex:1 1 auto;min-width:0;min-height:0;box-sizing:border-box;scrollbar-width:none;-webkit-overflow-scrolling:touch;&::-webkit-scrollbar{display:none;width:0;height:0;}&[data-axis='y']{overflow-x:hidden;overflow-y:auto;}&[data-axis='x']{overflow-x:auto;overflow-y:hidden;}&[data-axis='both']{overflow:auto;}&[data-overscroll='contain']{overscroll-behavior:contain;}&:focus-visible{outline:2px solid ",";outline-offset:-2px;}",""],({theme:t})=>t.colors.ink.primary,({$bleed:t,theme:i})=>t&&z(["padding-inline-end:",";"],i.spacing(t))),Y=v.div.withConfig({componentId:"sc-wsu612-3"})(["display:flow-root;&[data-axis='x'],&[data-axis='both']{width:fit-content;min-width:100%;}"]),_=v(k).attrs(({display:t})=>({display:t!=null?t:"flex"})).withConfig({componentId:"sc-wsu612-4"})([""," position:relative;flex:1;flex-direction:column;min-width:0;min-height:0;overflow:hidden;&:hover > ",",&:focus-within > ",",&[data-scrolling='true'] > ",",& > ","[data-dragging='true']{opacity:1;transition-timing-function:var(--apollion-motion-easing-enter,cubic-bezier(0,0,0.2,1));}&[data-thumb='always'] > ","{opacity:1;}&[data-axis='both'] > ","[data-axis='y']{bottom:12px;}&[data-axis='both'] > ","[data-axis='x']{right:12px;}",""],W("flex"),l,l,l,l,l,l,l,({$bleed:t,theme:i})=>t&&z(["margin-inline-end:calc(-1 * ",");"],i.spacing(t)));import{jsx as M,jsxs as mt}from"react/jsx-runtime";var st=24,lt=800,ut=a?ct:K,U=c((t,i)=>i==="y"?{client:t.clientHeight,size:t.scrollHeight,position:t.scrollTop}:{client:t.clientWidth,size:t.scrollWidth,position:t.scrollLeft},"metrics"),q=c((t,i)=>i==="y"?t.clientHeight:t.clientWidth,"railLength"),G=c((t,i,g)=>Math.min(g,Math.max(st,t/i*g)),"thumbLength"),j=c(t=>t==="both"?["y","x"]:[t],"axesOf"),J=c((t,i)=>{typeof t=="function"?t(i):t&&(t.current=i)},"assignRef"),pt=at(({children:t,onScroll:i,scrollableRef:g,scrollerProps:Q,axis:d="y",thumb:V="auto",overscroll:Z="auto",bleed:P,...tt},A)=>{let N=m(null),x=m(null),B=m(null),H=m({}),C=m({}),I=m(0),S=m(void 0),et=E(e=>{N.current=e,J(A,e)},[A]),nt=E(e=>{x.current=e,J(g,e)},[g]),L=E(()=>{let e=x.current;e&&j(d).forEach(n=>{let o=H.current[n],r=C.current[n];if(!o||!r)return;let{client:s,size:u,position:p}=U(e,n),y=u-s>1;if(o.dataset.active=String(y),!y)return;let b=q(o,n),w=G(s,u,b),T=p/(u-s)*(b-w);r.style[n==="y"?"height":"width"]=`${w}px`,r.style.transform=n==="y"?`translateY(${T}px)`:`translateX(${T}px)`})},[d]),f=E(()=>{a&&(a.cancelAnimationFrame(I.current),I.current=a.requestAnimationFrame(L))},[L]);ut(()=>{L()},[L,t]),K(()=>{if(!a)return;let e=[x.current,B.current].filter(o=>!!o),n=typeof ResizeObserver=="undefined"?void 0:new ResizeObserver(f);return e.forEach(o=>n==null?void 0:n.observe(o)),a.addEventListener("resize",f),()=>{var o,r;n==null||n.disconnect(),(o=a)==null||o.removeEventListener("resize",f),(r=a)==null||r.cancelAnimationFrame(I.current),clearTimeout(S.current)}},[f]);let ot=E(e=>{i==null||i(e),f();let n=N.current;n&&(n.dataset.scrolling="true",clearTimeout(S.current),S.current=setTimeout(()=>{n.dataset.scrolling="false"},lt))},[i,f]),it=c(e=>n=>{let o=x.current,r=H.current[e];if(!o||!r||!a||n.button>0)return;n.preventDefault(),n.stopPropagation();let{client:s,size:u,position:p}=U(o,e),y=q(r,e),b=y-G(s,u,y),w=b>0?(u-s)/b:0,T=e==="y"?n.clientY:n.clientX,h=a;r.dataset.dragging="true";let F=c(O=>{let $=(e==="y"?O.clientY:O.clientX)-T;e==="y"?o.scrollTop=p+$*w:o.scrollLeft=p+$*w},"move"),D=c(()=>{r.dataset.dragging="false",h.removeEventListener("pointermove",F),h.removeEventListener("pointerup",D),h.removeEventListener("pointercancel",D)},"stop");h.addEventListener("pointermove",F),h.addEventListener("pointerup",D),h.addEventListener("pointercancel",D)},"startDrag"),rt=c(e=>n=>{let o=x.current,r=C.current[e];if(!o||!r||n.button>0)return;let s=r.getBoundingClientRect(),u=e==="y"?n.clientY<s.top:n.clientX<s.left,p=(e==="y"?o.clientHeight:o.clientWidth)*(u?-1:1);e==="y"?o.scrollTop+=p:o.scrollLeft+=p},"pageTowards");return mt(_,{...tt,ref:et,"data-axis":d,"data-thumb":V,$bleed:P,children:[M(X,{...Q,ref:nt,$bleed:P,"data-axis":d,"data-overscroll":Z,tabIndex:0,onScroll:ot,children:M(Y,{ref:B,"data-axis":d,children:t})}),j(d).map(e=>M(l,{ref:n=>{H.current[e]=n},"data-axis":e,"data-active":"false","aria-hidden":"true",onPointerDown:rt(e),children:M(R,{ref:n=>{C.current[e]=n},onPointerDown:it(e)})},e))]})});pt.displayName="CustomScroll";export{pt as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as w,c as z,d as W}from"./chunk-BTO37XLJ.esm.js";import{e as A}from"./chunk-7MX2FUN4.esm.js";import{a as H}from"./chunk-EU4FKCQL.esm.js";import{a as f}from"./chunk-LSLBDF5M.esm.js";import{a as P}from"./chunk-TQMP7PZI.esm.js";import{a as E}from"./chunk-EJ245MA7.esm.js";import{k as B}from"./chunk-REPFMEFA.esm.js";import{b as D,g as b}from"./chunk-AXUWC2WH.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import{forwardRef as M,useEffect as G,useId as J,useMemo as Q,useRef as q}from"react";var $=b(f).withConfig({componentId:"sc-1hkckjr-0"})(["border-bottom:1px solid ",";& > ","{transform:translateY(1px);}> ","{overflow-x:scroll;overflow-y:hidden;&::-webkit-scrollbar{display:none;}}","{> ","{overflow-x:visible;overflow-y:visible;}}"],({theme:t})=>t.colors.edge.hairline,f,f,({theme:t})=>t.breakpoints.up("sm"),f),F=b(A).attrs(t=>{var e,r;return{borderRadius:(e=t.borderRadius)!=null?e:"straight",borderWidth:(r=t.borderWidth)!=null?r:"none"}}).withConfig({componentId:"sc-1hkckjr-1"})(["flex-shrink:0;position:relative;z-index:1;touch-action:manipulation;-webkit-tap-highlight-color:transparent;&::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:1px;background:",";transition:",";}&&&,&&&:focus,&&&:active,&&&:hover{box-shadow:none;text-decoration:none;}&&&:focus-visible{outline:2px solid ",";outline-offset:-2px;}"],({isActive:t,theme:e,color:r})=>t?E(e,p=>B(p.colors[r],"base")):"transparent",({theme:t})=>t.animation.transitions.short,({theme:t,color:e="primary"})=>E(t,r=>B(r.colors[e],"base"))),Y="2.75rem",K=b(P).withConfig({componentId:"sc-1hkckjr-2"})(["display:block;min-width:0;"]),_=b.ul.withConfig({componentId:"sc-1hkckjr-3"})(["position:relative;display:flex;gap:",";margin:0;padding:0;list-style:none;box-shadow:inset 0 -1px 0 ",";overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;&::-webkit-scrollbar{display:none;}",""],({theme:t})=>t.spacing("medium"),({theme:t})=>t.colors.edge.hairline,({$snap:t})=>t&&D(["scroll-snap-type:x proximity;& > li{scroll-snap-align:start;}"])),j=b.li.withConfig({componentId:"sc-1hkckjr-4"})(["display:flex;flex-shrink:0;"]),C=b.a.withConfig({componentId:"sc-1hkckjr-5"})(["position:relative;display:inline-flex;align-items:center;min-height:",";box-sizing:border-box;margin:0;padding:",";border:0;background:transparent;color:",";font-family:",";font-size:",";font-weight:",";white-space:nowrap;text-decoration:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:",";&::after{content:'';position:absolute;inset-inline:0;bottom:0;height:2px;border-radius:1px;background:",";transition:",";}&:hover{background:",";}&:active{background:",";}&:focus-visible{outline:2px solid ",";outline-offset:-2px;}"],Y,({theme:t})=>{let{py:e,px:r}=t.component.button.size.medium;return t.spacing(e,r)},({$color:t,theme:e})=>w(e,t),({theme:t})=>t.font.fontFamily.main,({theme:t})=>t.font.fontSize[t.component.button.size.medium.fontSize],({theme:t})=>t.font.fontWeight.bold,({theme:t})=>t.animation.transitions.short,({$current:t,$color:e,theme:r})=>t?w(r,e):"transparent",({theme:t})=>t.animation.transitions.short,({theme:t})=>t.colors.wash.hover,({theme:t})=>t.colors.wash.pressed,({$color:t,theme:e})=>w(e,t));import{jsx as i,jsxs as tt}from"react/jsx-runtime";function X({isActive:t,tabTitle:e,color:r="primary",buttonProps:p}){return i(F,{as:"button",variant:"linked",isActive:t,color:r,...p,children:i(H,{fontWeight:"bold",lineHeight:"tight",children:e})})}m(X,"TabButton");var O=M(({mode:t,selectedIndex:e=0,onChange:r,tabs:p,tabHeaderProps:d,tabContentProps:k,...I},T)=>{var R;let u=J(),o=Q(()=>p.map((n,s)=>({...n,id:`${u}-${s}`})),[p,u]),c=q(null),S=m(n=>e===n,"isCurrentIndex"),y=m(n=>`tab-${n}`,"tabId"),h=m(n=>`tabpanel-${n}`,"panelId"),l=(R=o[e])!=null?R:o[0],v=m(n=>{var a,x;r==null||r(n);let s=(a=c.current)==null?void 0:a.querySelectorAll('[role="tab"]');(x=s==null?void 0:s[n])==null||x.focus()},"selectTab");return tt(f,{...I,ref:T,children:[i($,{...d,children:i(f,{flexDirection:"row",width:"100%",gap:"medium",pageShell:!0,position:"relative",alignItems:"end",role:"tablist",onKeyDown:m(n=>{let s=o.length-1,a=null;n.key==="ArrowRight"?a=e>=s?0:e+1:n.key==="ArrowLeft"?a=e<=0?s:e-1:n.key==="Home"?a=0:n.key==="End"&&(a=s),a!==null&&(n.preventDefault(),v(a))},"handleKeyDown"),ref:c,children:o.map(({id:n,buttonProps:s,handleClick:a,...x},g)=>{let L=S(g);return i(X,{isActive:L,...x,buttonProps:{...s,id:y(n),role:"tab","aria-selected":L,"aria-controls":h(n),tabIndex:L?0:-1,onClick:m(V=>{g!==e&&(a==null||a(g,V),r==null||r(g))},"onClick")}},n)})})}),i(f,{flex:"fluid",pageShell:!0,width:"100%",role:"tabpanel",id:l?h(l.id):void 0,"aria-labelledby":l?y(l.id):void 0,...k,children:l==null?void 0:l.content})]})}),U=M(({mode:t,tabs:e,linkAs:r,snap:p=!1,onChange:d,...k},I)=>{let T=q(null),u=e.findIndex(o=>o.current);return G(()=>{let o=T.current,c=u>=0?o==null?void 0:o.children[u]:void 0;!o||!c||(o.scrollLeft=c.offsetLeft-(o.clientWidth-c.offsetWidth)/2)},[u]),i(K,{...k,as:"nav",ref:I,children:i(_,{ref:T,$snap:p,children:e.map((o,c)=>{var l;let S=o.onClick||d?v=>{var N;(N=o.onClick)==null||N.call(o,v),o.current||d==null||d(c,v)}:void 0,{as:y,props:h}=W({...o,onClick:S},r);return i(j,{children:i(C,{...h,as:y,$current:!!o.current,$color:(l=o.color)!=null?l:"primary",children:i(H,{fontWeight:"bold",lineHeight:"tight",children:o.tabTitle})})},z({...o,label:o.tabTitle},c))})})})}),Z=M((t,e)=>t.mode==="nav"?i(U,{...t,ref:e}):i(O,{...t,ref:e}));O.displayName="TabsContent";U.displayName="TabsNav";Z.displayName="Tabs";export{$ as a,F as b,Y as c,K as d,_ as e,j as f,C as g,X as h,Z as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as z}from"./chunk-CTNDAXMO.esm.js";import{
|
|
1
|
+
import{a as z}from"./chunk-CTNDAXMO.esm.js";import{d as v}from"./chunk-S4K2XENC.esm.js";import{f as C}from"./chunk-7MX2FUN4.esm.js";import{a as w}from"./chunk-LSLBDF5M.esm.js";import{f as T,m as E}from"./chunk-6G22RNUO.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 as B}from"./chunk-2BWCWW2Q.esm.js";import{b as qe}from"./chunk-IQQH6HMG.esm.js";import{d as xe,e as De}from"./chunk-LCCVFIPZ.esm.js";import{a as Me,b as ke}from"./chunk-TG5BCBO4.esm.js";import{b as be,c as we,e as V}from"./chunk-WB5XXCKL.esm.js";import{b as Ae}from"./chunk-JOKVE3IX.esm.js";import{a as Re}from"./chunk-PFLBU7HG.esm.js";import{a as Ce,b as Le,d as Oe,e as Ye,f as _e,g as ze,h as Fe,i as X,m as Ge,p as Ve,q as Be}from"./chunk-TLIKQFOT.esm.js";import{a as ve}from"./chunk-XUZQE326.esm.js";import{a as Te}from"./chunk-3DUB5C4Z.esm.js";import{
|
|
1
|
+
import{a as B}from"./chunk-2BWCWW2Q.esm.js";import{b as qe}from"./chunk-IQQH6HMG.esm.js";import{d as xe,e as De}from"./chunk-LCCVFIPZ.esm.js";import{a as Me,b as ke}from"./chunk-TG5BCBO4.esm.js";import{b as be,c as we,e as V}from"./chunk-WB5XXCKL.esm.js";import{b as Ae}from"./chunk-JOKVE3IX.esm.js";import{a as Re}from"./chunk-PFLBU7HG.esm.js";import{a as Ce,b as Le,d as Oe,e as Ye,f as _e,g as ze,h as Fe,i as X,m as Ge,p as Ve,q as Be}from"./chunk-TLIKQFOT.esm.js";import{a as ve}from"./chunk-XUZQE326.esm.js";import{a as Te}from"./chunk-3DUB5C4Z.esm.js";import{a as Ne,b as Ie}from"./chunk-SEPVF2TL.esm.js";import{a as Se}from"./chunk-LDOM2UUN.esm.js";import{a as Ue,b as ge,c as Ze,d as Qe,e as Xe,f as $e}from"./chunk-L7A7RA56.esm.js";import{b as He}from"./chunk-HVFI7FHR.esm.js";import{b as Pe,c as he}from"./chunk-KT6QQ3UJ.esm.js";import{a as Ee}from"./chunk-4SDDAQ6N.esm.js";import{h as pe,k as ye}from"./chunk-R2QEO3KP.esm.js";import{b as ae,c as fe,d as ue}from"./chunk-EJ245MA7.esm.js";import{c as de}from"./chunk-FNYS25ZX.esm.js";import{a as G,b as ie,g as ce,h as se}from"./chunk-MYU2IAR3.esm.js";import{d as me,e as le}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";function U(n={}){let{colors:r,breakpoints:o,containerSizes:i,layout:a,zIndex:M,spacing:f,border:m,font:P,dimension:k,textSize:D,typeWeight:h,component:R,motion:E}=Ne({colors:G,spacing:Me,font:xe,border:Te,breakpoints:Pe,containerSizes:Ue,layout:ge,zIndex:Xe,motion:pe,dimension:Ae,textSize:V,typeWeight:"regular",component:{}},n),u=ie(r),l=ke(f,k),C=De(P,{textSize:D,typeWeight:h,alias:f.alias}),L=qe({colors:u,spacing:l});return{font:C,border:m,animation:ve,colors:u,breakpoints:he(o),containerSizes:Ze(i),layout:Qe(a),zIndex:$e(M),motion:ye(E),spacing:l,depth:de(u),deep:Se(u),semantic:L,foundation:Re(L),component:Ie(R)}}c(U,"createTheme");import{createContext as rt,lazy as it,Suspense as ct,useContext as st,useReducer as dt,useRef as at}from"react";import{nanoid as je}from"nanoid";import{Fragment as mt,jsx as $,jsxs as lt}from"react/jsx-runtime";var ft=it(()=>import("./Notification.group-OOLQ3DCI.esm.js")),Je=rt({});function ut(n,{type:r,payload:o}){switch(r){case"ADD":return[o,...n];case"REMOVE":return n.filter(i=>i.id!==o.id);default:return n}}c(ut,"NotificationReducer");var Ke=c(n=>{let[r,o]=dt(ut,[]),i=at(!1),a=c(f=>{o({type:"REMOVE",payload:{id:f}})},"removeNotification"),M=c(f=>{if(o({type:"ADD",payload:{id:je(),...f}}),r.length>=3){let[m]=r.slice(-1);setTimeout(()=>a(m.id),0)}},"showNotification");return r.length>0&&(i.current=!0),$(Je.Provider,{value:{notifications:r,removeNotification:a,showNotification:M},children:lt(mt,{children:[n.children,i.current&&$(ct,{fallback:null,children:$(ft,{})})]})})},"NotificationsProvider");function Gt(){let n=st(Je);if(n===void 0)throw new Error("cant use useNotification hook outside of <NotificationsProvider />");return n}c(Gt,"useNotification");import t from"react";import{jsx as x}from"react/jsx-runtime";function pt(n,r){return typeof r=="string"?Ee(n):!0}c(pt,"shouldForwardProp");var yt=typeof window=="undefined"?t.useEffect:t.useLayoutEffect,g=t.createContext(null);function to(){let n=t.useContext(g);if(n===null)throw new Error("useApollionTheme deve ser usado dentro de um <ApollionProvider>.");return n}c(to,"useApollionTheme");function oo(){return t.useContext(g)}c(oo,"useApollionThemeOptional");var no=c(({children:n,theme:r,lightTheme:o,darkTheme:i,colors:a,useSystemPreference:M=!1,themeMode:f,onThemeModeChange:m,mode:P,defaultMode:k,initialMode:D,onModeChange:h,persist:R=!1,storageKey:E=Ce,syncDocument:u=!0,attribute:l=Le,a11y:C,defaultA11y:L=null,onA11yChange:O,surface:Y="positive",dimension:N,textSize:I,typeWeight:S})=>{var ne,re;let s=t.useMemo(()=>Ge(R),[R]),_=Ye(E),z=P!==void 0||f!==void 0,We=k!=null?k:M?"system":"light",[et,q]=t.useState(We),A=(ne=P!=null?P:f)!=null?ne:et,[Z,H]=t.useState(()=>D!==void 0?D==="dark":A==="system"&&Fe()),d=X(A,Z),b=C!==void 0,[tt,j]=t.useState(L),v=b?C:tt;yt(()=>{if(s){if(!z){let e=s.read(E);_e(e)&&q(e)}if(!b){let e=s.read(_);if(e===null||e==="")return;j(ze(e)?e:null)}}},[s,E,_,z,b]),t.useEffect(()=>{var w;if(A!=="system")return;let e=typeof window!="undefined"?(w=window.matchMedia)==null?void 0:w.call(window,Oe):void 0;if(!e)return;H(e.matches);let y=c(nt=>H(nt.matches),"handleChange");return e.addEventListener("change",y),()=>e.removeEventListener("change",y)},[A]),t.useEffect(()=>{if(!(!u||typeof document=="undefined"))return Ve(document.documentElement,{mode:d,a11y:v},{attribute:l}),()=>Be(document.documentElement,{attribute:l})},[u,d,v,l]);let F=t.useCallback(e=>{z||q(e),s==null||s.write(E,e),h==null||h(e),m==null||m(X(e,Z))},[z,s,E,h,m,Z]),J=t.useCallback(e=>{b||j(e),s==null||s.write(_,e),O==null||O(e)},[b,s,_,O]),K=t.useCallback(e=>F(e!=null?e:d==="dark"?"light":"dark"),[F,d]),W=t.useMemo(()=>{if(r||o||i)return null;let e=a!=null?a:G,y=v?se[v](e):e,w={colors:y,...N!==void 0&&{dimension:N},...S!==void 0&&{typeWeight:S},...I!==void 0&&{textSize:I}};return{light:U(w),dark:U({...w,colors:ce(y)})}},[r,o,i,a,N,S,I,v]),p=t.useMemo(()=>o&&i?{light:o,dark:i}:o||i||r?null:W,[o,i,r,W]),Q=t.useMemo(()=>{var e,y;return p?d==="dark"?p.dark:p.light:(y=(e=o!=null?o:i)!=null?e:r)!=null?y:U({...N!==void 0&&{dimension:N},...S!==void 0&&{typeWeight:S},...I!==void 0&&{textSize:I}})},[p,d,o,i,r,N,S,I]),ee=t.useContext(g)!==null,te=(re=Q.font.textSize)!=null?re:V;t.useEffect(()=>{if(!(!u||ee||typeof document=="undefined"))return be(document.documentElement,te),()=>we(document.documentElement)},[u,ee,te]);let T=t.useMemo(()=>{if(!p)return ue(B(Q,Y));let e={light:B(p.light,Y,"light"),dark:B(p.dark,Y,"dark")};return ae(e)},[p,Q,Y]),oe=t.useMemo(()=>T.modes?fe(d==="dark"?T.modes.dark:T.modes.light,T.modes):T,[T,d]),ot=t.useMemo(()=>({theme:oe,mode:A,resolvedMode:d,setMode:F,a11y:v,setA11y:J,attribute:l,themeMode:d,toggleTheme:K}),[oe,A,d,F,v,J,l,K]);return x(me,{shouldForwardProp:pt,children:x(g.Provider,{value:ot,children:x(le,{theme:T,children:x(He,{children:x(Ke,{children:n})})})})})},"ApollionProvider");export{U as a,je as b,Ke as c,Gt as d,to as e,oo as f,no as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as d}from"./chunk-KT6QQ3UJ.esm.js";import{b as S,c as y}from"./chunk-TQMP7PZI.esm.js";import{b as l}from"./chunk-XR763B4T.esm.js";import{c as u}from"./chunk-QXV2TDLZ.esm.js";import{a as c}from"./chunk-J6F4PMW4.esm.js";import{b as m}from"./chunk-G5Z7USXC.esm.js";import{g as G}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var C=i(e=>{var n;if(e===void 0)return;if(typeof e=="string")return e;if(typeof e=="number")return`repeat(${e}, minmax(0, 1fr))`;let r="autoFit"in e?"auto-fit":"auto-fill",t="autoFit"in e?e.autoFit:e.autoFill;return`repeat(${r}, minmax(min(${t}, 100%), ${(n=e.max)!=null?n:"1fr"}))`},"resolveColumns"),o=i((e,r)=>({gridTemplateColumns:C(r.columns),gridTemplateRows:r.rows,gridTemplateAreas:r.areas,gap:r.gap?e.spacing(r.gap):void 0,gridColumnGap:r.columnGap?e.spacing(r.columnGap):void 0,gridRowGap:r.rowGap?e.spacing(r.rowGap):void 0,...u(r)}),"getGridProps"),x=i(({medias:e,theme:r})=>e?"xs"in e?Object.keys(e).reduce((t,n)=>({...t,[r.breakpoints.up(n)]:o(r,e[n])}),{}):o(r,e):{},"setGridBreakpoints"),b=i((e,r,t,n)=>r.reduce((a,s)=>{let f=t==null?void 0:t[s];if(!f)return a;let p=Object.fromEntries(Object.entries(o(e,f)).filter(([,w])=>w!==void 0));return Object.keys(p).length===0?a:{...a,[n(s)]:p}},{}),"gridTemplateBlocks"),k=i(({cq:e,theme:r})=>b(r,l,e,t=>r.containerSizes.up(t)),"setGridContainerQueries"),O=d.filter(e=>e!=="xs"),M=i(({viewportMedias:e,theme:r})=>b(r,O,e,t=>r.breakpoints.up(t)),"setGridViewportMedias"),g="apl_deprecated_Grid.medias",T=i(({medias:e})=>{if(!e||!d.some(t=>t in e))return;let r=m;!r||r[g]||(r[g]=!0,c.warn('[Grid] Breakpoint-keyed "medias" ({ xs, sm, md, lg, xl }) is deprecated and will be removed in the next major. Keep "medias" as the flat base template and move each breakpoint to "viewportMedias" (viewport width, same CSS) or to "cq" (slot width \u2014 needs an ancestor marked with "containment").'))},"warnKeyedMedias"),h=G(S).attrs(({display:e})=>({display:e!=null?e:"grid"})).withConfig({componentId:"sc-11fh3lu-0"})([""," "," "," "," ",""],y("grid"),T,x,M,k);export{x as a,k as b,M as c,h as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as s}from"./chunk-
|
|
1
|
+
import{f as s}from"./chunk-RRTLPB5F.esm.js";import{b as l}from"./chunk-TLIKQFOT.esm.js";import{e as m}from"./chunk-R2QEO3KP.esm.js";import{c as i,h as n}from"./chunk-3WXII2F3.esm.js";import{a}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var c="apollion.reset";function f(){return`
|
|
2
2
|
@media (forced-colors: active) {
|
|
3
3
|
:focus-visible {
|
|
4
4
|
outline: 2px solid Highlight;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{d as n}from"./chunk-S4K2XENC.esm.js";import{a as m}from"./chunk-LSLBDF5M.esm.js";import{a as d}from"./chunk-TQMP7PZI.esm.js";import{g as a}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var t={columns:"minmax(0, 1fr)",rows:"100%",areas:`
|
|
2
|
+
"content"
|
|
3
|
+
`},i={md:{columns:"200px minmax(0, 1fr)",rows:"100%",areas:`
|
|
4
|
+
"sidebar content"
|
|
5
|
+
`}},c={xs:t,md:i.md};var s=a(n).attrs({medias:t,viewportMedias:i}).withConfig({componentId:"sc-191lt0b-0"})(["height:100%;"]);import{jsx as e,jsxs as f}from"react/jsx-runtime";function p({layoutComponents:r}){return f(s,{children:[r.sidebar&&e(d,{area:"sidebar",display:"none",md_display:"flex",children:e(r.sidebar,{})}),e(m,{area:"content",width:"100%",justifyContent:"center",md_justifyContent:"start",children:r.content&&e(r.content,{})})]})}o(p,"SideBarLayout");p.displayName="SideBarLayout";export{t as a,i as b,c,s as d,p as e};
|