@apollion-dsi/core 7.0.0 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chunks/{Dropdown.floating-O5GWHN6F.esm.js → Dropdown.floating-7EM6JR7N.esm.js} +1 -1
- package/lib/chunks/Notification.group-4FQM35YN.esm.js +1 -0
- package/lib/chunks/Tooltip.floating-IEWE6XP4.esm.js +1 -0
- package/lib/chunks/chunk-347TNROV.esm.js +1 -0
- package/lib/chunks/chunk-3ICGUDL7.esm.js +1 -0
- package/lib/chunks/chunk-42TLD4GM.esm.js +1 -0
- package/lib/chunks/{chunk-OHLL57EN.esm.js → chunk-4DUZ532N.esm.js} +1 -1
- package/lib/chunks/{chunk-DRL2R3ED.esm.js → chunk-4EVYPW5X.esm.js} +1 -1
- package/lib/chunks/{chunk-A77HKHNQ.esm.js → chunk-4TQV5FFJ.esm.js} +1 -1
- package/lib/chunks/{chunk-QAK32AY3.esm.js → chunk-57RF3T2U.esm.js} +1 -1
- package/lib/chunks/{chunk-X64PGKAO.esm.js → chunk-5ILT45RQ.esm.js} +1 -1
- package/lib/chunks/{chunk-KKFQPSAE.esm.js → chunk-62CVSGJD.esm.js} +1 -1
- package/lib/chunks/{chunk-H4FEHRHK.esm.js → chunk-6V6NLBEI.esm.js} +1 -1
- package/lib/chunks/chunk-7BPSZCSD.esm.js +1 -0
- package/lib/chunks/{chunk-KBBFH5LX.esm.js → chunk-7PFH2RKV.esm.js} +1 -1
- package/lib/chunks/{chunk-CB7EKQYI.esm.js → chunk-AM56FZLE.esm.js} +1 -1
- package/lib/chunks/{chunk-7HRVZJBD.esm.js → chunk-BHRDNR3A.esm.js} +1 -1
- package/lib/chunks/{chunk-VXAPSA5T.esm.js → chunk-CC5NKEXF.esm.js} +1 -1
- package/lib/chunks/chunk-CK3WBMQQ.esm.js +1 -0
- package/lib/chunks/chunk-CNJA3S6G.esm.js +1 -0
- package/lib/chunks/{chunk-FJHDGSZE.esm.js → chunk-CTFEQBY7.esm.js} +1 -1
- package/lib/chunks/{chunk-OQWC47RM.esm.js → chunk-CWSD3AXD.esm.js} +1 -1
- package/lib/chunks/{chunk-YW2TWFDF.esm.js → chunk-DKLZWHQO.esm.js} +1 -1
- package/lib/chunks/{chunk-VAA7V65K.esm.js → chunk-EFFENLBC.esm.js} +1 -1
- package/lib/chunks/{chunk-A7JDCK3C.esm.js → chunk-EK6YOJCW.esm.js} +1 -1
- package/lib/chunks/{chunk-4RAZZLLG.esm.js → chunk-ET2EP4QA.esm.js} +11 -7
- package/lib/chunks/chunk-ETEH25BP.esm.js +1 -0
- package/lib/chunks/{chunk-DRXC4B7Z.esm.js → chunk-FBHZTBNG.esm.js} +1 -1
- package/lib/chunks/chunk-GC5QKJHS.esm.js +26 -0
- package/lib/chunks/{chunk-DP5DDF7U.esm.js → chunk-GHDDFAEP.esm.js} +1 -1
- package/lib/chunks/chunk-GWC4QADH.esm.js +1 -0
- package/lib/chunks/{chunk-CTNZPJ47.esm.js → chunk-H4XR4LGF.esm.js} +1 -1
- package/lib/chunks/chunk-H7ADZSZ7.esm.js +1 -0
- package/lib/chunks/{chunk-DGQ46IKV.esm.js → chunk-HD42Q2PS.esm.js} +1 -1
- package/lib/chunks/chunk-HGOJTQ3L.esm.js +4 -0
- package/lib/chunks/chunk-IQWHAMQB.esm.js +48 -0
- package/lib/chunks/{chunk-EXHRZZ5E.esm.js → chunk-J2ZPCUOE.esm.js} +1 -1
- package/lib/chunks/chunk-JLUNVLUS.esm.js +1 -0
- package/lib/chunks/{chunk-FH54V56Y.esm.js → chunk-JY6IWPBO.esm.js} +1 -1
- package/lib/chunks/{chunk-SMAAEIJR.esm.js → chunk-KU2OQ3LP.esm.js} +1 -1
- package/lib/chunks/chunk-LPIWPCM4.esm.js +1 -0
- package/lib/chunks/{chunk-LCIO2E2K.esm.js → chunk-MBQGF5IM.esm.js} +1 -1
- package/lib/chunks/{chunk-ZACTPOXN.esm.js → chunk-MMKXCJ23.esm.js} +1 -1
- package/lib/chunks/{chunk-R6MCW24V.esm.js → chunk-MYGV5PMT.esm.js} +1 -1
- package/lib/chunks/chunk-N5QK3LZW.esm.js +1 -0
- package/lib/chunks/{chunk-ER6KS2SA.esm.js → chunk-O2EYNJ7I.esm.js} +1 -1
- package/lib/chunks/{chunk-SNZE6LRL.esm.js → chunk-ODL6ZIU7.esm.js} +1 -1
- package/lib/chunks/chunk-OEEVC5Y2.esm.js +1 -0
- package/lib/chunks/{chunk-KIFRBQYQ.esm.js → chunk-OUTATATT.esm.js} +1 -1
- package/lib/chunks/chunk-R2TPABZ3.esm.js +1 -0
- package/lib/chunks/{chunk-T6USFPVA.esm.js → chunk-R3VRFUEK.esm.js} +1 -1
- package/lib/chunks/{chunk-VYK6RBMI.esm.js → chunk-RKHQJTYX.esm.js} +1 -1
- package/lib/chunks/{chunk-NDMZLKX7.esm.js → chunk-RNAHUZE7.esm.js} +1 -1
- package/lib/chunks/{chunk-OHVMP5B7.esm.js → chunk-RZLOZ3NW.esm.js} +1 -1
- package/lib/chunks/chunk-TBHGVERY.esm.js +1 -0
- package/lib/chunks/{chunk-FNYWD4YI.esm.js → chunk-TBWTTUID.esm.js} +1 -1
- package/lib/chunks/{chunk-W37MIT56.esm.js → chunk-UACWLLHE.esm.js} +10 -6
- package/lib/chunks/chunk-UDQ3TYVZ.esm.js +1 -0
- package/lib/chunks/chunk-ULRUO4J4.esm.js +1 -0
- package/lib/chunks/{chunk-MJK3VHIO.esm.js → chunk-UNYBUDKE.esm.js} +1 -1
- package/lib/chunks/{chunk-GC2ZV3CY.esm.js → chunk-UQVJ7IG5.esm.js} +1 -1
- package/lib/chunks/chunk-VUK26WF2.esm.js +1 -0
- package/lib/chunks/{chunk-BQBDAFDE.esm.js → chunk-X2CMFDNG.esm.js} +1 -1
- package/lib/chunks/{chunk-WI3WPCW3.esm.js → chunk-XTY6DXMK.esm.js} +1 -1
- package/lib/chunks/chunk-XTYYQH7J.esm.js +1 -0
- package/lib/chunks/{chunk-HW42PSLQ.esm.js → chunk-YA5EBWSR.esm.js} +1 -1
- package/lib/chunks/{chunk-UWIWI6XE.esm.js → chunk-YHQ6S4MF.esm.js} +1 -1
- package/lib/chunks/{chunk-VU3NKSLB.esm.js → chunk-YSSFTYCU.esm.js} +1 -1
- package/lib/chunks/{chunk-WMBOZ7KA.esm.js → chunk-ZJ3V4V3H.esm.js} +1 -1
- package/lib/chunks/{chunk-GM3IRR2E.esm.js → chunk-ZQ5JOSGH.esm.js} +1 -1
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Box/index.esm.js +1 -1
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.style.d.ts +0 -15
- package/lib/containers/Flex/index.d.ts +1 -1
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.style.d.ts +1 -12
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.style.d.ts +2 -34
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.interface.d.ts +10 -0
- package/lib/containers/Paper/Paper.style.d.ts +11 -75
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.interface.d.ts +2 -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/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/Avatar.style.d.ts +6 -38
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Divider/Divider.style.d.ts +7 -38
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/IconText/IconText.style.d.ts +7 -39
- package/lib/elements/IconText/index.esm.js +1 -1
- package/lib/elements/Image/Image.interface.d.ts +2 -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/List.style.d.ts +2 -34
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.style.d.ts +6 -69
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/Popover.style.d.ts +13 -0
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.interface.d.ts +2 -1
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.interface.d.ts +2 -1
- package/lib/elements/Svg/Svg.style.d.ts +1 -1
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/ContainerQueryFactory/index.esm.js +1 -1
- package/lib/factory/FlexFactory/FlexFactory.d.ts +3 -1
- package/lib/factory/FlexFactory/index.esm.js +1 -1
- package/lib/factory/PlacementFactory/PlacementFactory.d.ts +25 -0
- package/lib/factory/PlacementFactory/PlacementFactory.interface.d.ts +30 -0
- package/lib/factory/PlacementFactory/index.d.ts +2 -0
- package/lib/factory/PlacementFactory/index.esm.js +1 -0
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/ViewportMediaFactory/index.esm.js +1 -1
- package/lib/factory/index.d.ts +1 -0
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.d.ts +1 -1
- package/lib/form/Checkbox/Checkbox.interface.d.ts +2 -1
- package/lib/form/Checkbox/Checkbox.style.d.ts +4 -3
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.interface.d.ts +2 -2
- 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 +2 -1
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.interface.d.ts +2 -2
- package/lib/form/Input/Input.style.d.ts +2 -2
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.d.ts +1 -1
- package/lib/form/InputRange/InputRange.interface.d.ts +2 -1
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Option/index.esm.js +1 -1
- package/lib/form/Radio/Radio.d.ts +1 -1
- package/lib/form/Radio/Radio.interface.d.ts +2 -1
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/Select.interface.d.ts +2 -1
- package/lib/form/Select/Select.style.d.ts +2 -1
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.d.ts +1 -1
- package/lib/form/Switch/Switch.interface.d.ts +2 -1
- package/lib/form/Switch/Switch.style.d.ts +4 -3
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.interface.d.ts +2 -1
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +25 -11
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/index.esm.js +1 -1
- package/lib/hooks/index.esm.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/package.json +2 -2
- package/lib/chunks/Notification.group-VLYQ6NRW.esm.js +0 -1
- package/lib/chunks/Tooltip.floating-WTJLJZJN.esm.js +0 -1
- package/lib/chunks/chunk-3FWZII65.esm.js +0 -1
- package/lib/chunks/chunk-4BZPXLAW.esm.js +0 -1
- package/lib/chunks/chunk-4PAEVB5H.esm.js +0 -1
- package/lib/chunks/chunk-5HLJ7LZZ.esm.js +0 -4
- package/lib/chunks/chunk-6DILIYS2.esm.js +0 -1
- package/lib/chunks/chunk-BFP2C5JF.esm.js +0 -1
- package/lib/chunks/chunk-CXBUSCOB.esm.js +0 -1
- package/lib/chunks/chunk-D4ZBSTRO.esm.js +0 -1
- package/lib/chunks/chunk-DMLGAY6T.esm.js +0 -1
- package/lib/chunks/chunk-FBZTXAE3.esm.js +0 -1
- package/lib/chunks/chunk-HG4FBLPA.esm.js +0 -1
- package/lib/chunks/chunk-JQSEC336.esm.js +0 -1
- package/lib/chunks/chunk-JTVUOZDH.esm.js +0 -1
- package/lib/chunks/chunk-JVIACETZ.esm.js +0 -26
- package/lib/chunks/chunk-NHE4GLQK.esm.js +0 -1
- package/lib/chunks/chunk-NW2GV6YI.esm.js +0 -1
- package/lib/chunks/chunk-RI7KKIJD.esm.js +0 -1
- package/lib/chunks/chunk-UFQAFY4P.esm.js +0 -43
- package/lib/chunks/chunk-UGTJEXCL.esm.js +0 -1
- package/lib/chunks/chunk-XYIRIYYK.esm.js +0 -1
- package/lib/chunks/chunk-Y75NAEIA.esm.js +0 -1
- /package/lib/chunks/{chunk-PMN6TVDW.esm.js → chunk-MPMCXGOX.esm.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as d}from"./chunk-4PAEVB5H.esm.js";import"./chunk-A7JDCK3C.esm.js";import"./chunk-ZMHNNJNC.esm.js";import"./chunk-RR2TYGZC.esm.js";import"./chunk-2FQC32AA.esm.js";import"./chunk-HSKYQ6VP.esm.js";import"./chunk-SPHHNZVP.esm.js";import"./chunk-4UWZA5FD.esm.js";import"./chunk-KQQ7V7VG.esm.js";import"./chunk-3QSPHURU.esm.js";import"./chunk-NDIYF5SX.esm.js";import{c}from"./chunk-KZTG5TDM.esm.js";import"./chunk-A3OJEVGQ.esm.js";import"./chunk-KR2X2UQG.esm.js";import"./chunk-BE2JDTVA.esm.js";import"./chunk-X64PGKAO.esm.js";import"./chunk-DAT6GD4T.esm.js";import"./chunk-CTNZPJ47.esm.js";import"./chunk-5HLJ7LZZ.esm.js";import"./chunk-BFP2C5JF.esm.js";import"./chunk-7TJO34VI.esm.js";import"./chunk-JLQDS5TS.esm.js";import"./chunk-5Q265MC7.esm.js";import"./chunk-3V3ZEGHO.esm.js";import"./chunk-VXAPSA5T.esm.js";import"./chunk-EXHRZZ5E.esm.js";import"./chunk-EBOJSNZ5.esm.js";import"./chunk-4E3BR56X.esm.js";import"./chunk-TMIQIUOH.esm.js";import"./chunk-4L2KOZIQ.esm.js";import"./chunk-R6MCW24V.esm.js";import{d as l}from"./chunk-A77HKHNQ.esm.js";import"./chunk-TLIKQFOT.esm.js";import"./chunk-IA234JY2.esm.js";import"./chunk-TG5BCBO4.esm.js";import"./chunk-G757UD32.esm.js";import"./chunk-OSFHXCPW.esm.js";import"./chunk-LVVNQRJ2.esm.js";import"./chunk-Z7GJDO5T.esm.js";import"./chunk-P7RR4ZHS.esm.js";import"./chunk-JOKVE3IX.esm.js";import"./chunk-CWRWYU7D.esm.js";import"./chunk-PFLBU7HG.esm.js";import"./chunk-TG2P4DDY.esm.js";import"./chunk-YJHYFCT7.esm.js";import"./chunk-UHABJEDB.esm.js";import"./chunk-3DUB5C4Z.esm.js";import"./chunk-KT6QQ3UJ.esm.js";import"./chunk-BERIBF3O.esm.js";import"./chunk-HVFI7FHR.esm.js";import"./chunk-VU3NKSLB.esm.js";import"./chunk-GM3IRR2E.esm.js";import"./chunk-KT4BKJVV.esm.js";import"./chunk-NHE4GLQK.esm.js";import{a as o}from"./chunk-D4ZBSTRO.esm.js";import"./chunk-PMN6TVDW.esm.js";import"./chunk-KKFQPSAE.esm.js";import"./chunk-VMIXRIQ2.esm.js";import"./chunk-VUFEYXWD.esm.js";import"./chunk-SF2QSF7E.esm.js";import"./chunk-LCIO2E2K.esm.js";import"./chunk-HG4FBLPA.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-OHVMP5B7.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-OXQA5WD3.esm.js";import"./chunk-TZQMBDGR.esm.js";import"./chunk-WCUEINBQ.esm.js";import"./chunk-YJ6PPJQ4.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-3A7I6HM2.esm.js";import"./chunk-WI3WPCW3.esm.js";import"./chunk-R2B57RMV.esm.js";import"./chunk-RFUX53ZX.esm.js";import"./chunk-CQASQBD7.esm.js";import"./chunk-MREWGN5R.esm.js";import"./chunk-PXVTXO3L.esm.js";import"./chunk-BV6GHAF7.esm.js";import{c as p}from"./chunk-G5Z7USXC.esm.js";import"./chunk-AXUWC2WH.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import{useEffect as u,useState as y}from"react";import{createPortal as B}from"react-dom";import{jsx as t}from"react/jsx-runtime";var N=f(({toast:r,onRemove:e})=>{let{id:i,...a}=r,[n,C]=y(!0),{mounted:s,state:m,ref:g}=c(n,{property:"grid-template-rows"});return u(()=>{s||e(i)},[s,i,e]),s?t(o,{ref:g,motion:"collapse","data-state":m,"aria-hidden":m==="closing"||void 0,style:{minWidth:300,maxWidth:"30vw",zIndex:100},children:t(o,{motion:"drawer-right","data-state":m,children:t(o,{style:{margin:"0.5rem"},children:t(d,{...a,visible:!0,closable:!0,onDismiss:()=>C(!1)})})})}):null},"ToastItem"),h=f(()=>{let{notifications:r,removeNotification:e}=l(),[i,a]=y(!1);return u(()=>{a(!0)},[]),!i||!p?null:B(t(o,{style:{position:"fixed",bottom:"1rem",right:"1rem"},children:r.map(n=>t(N,{toast:n,onRemove:e},n.id))}),p)},"NotificationGroup"),I=h;export{I as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as s,b as p,c,e as d,f,h as m,j as u,k as g,m as w,n as x}from"./chunk-QRU4HAB3.esm.js";import{a as F,b as P}from"./chunk-SMAAEIJR.esm.js";import"./chunk-D4ZBSTRO.esm.js";import"./chunk-PMN6TVDW.esm.js";import"./chunk-KKFQPSAE.esm.js";import"./chunk-VMIXRIQ2.esm.js";import"./chunk-VUFEYXWD.esm.js";import"./chunk-SF2QSF7E.esm.js";import"./chunk-LCIO2E2K.esm.js";import"./chunk-HG4FBLPA.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-OHVMP5B7.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-OXQA5WD3.esm.js";import"./chunk-TZQMBDGR.esm.js";import"./chunk-WCUEINBQ.esm.js";import"./chunk-YJ6PPJQ4.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-3A7I6HM2.esm.js";import"./chunk-WI3WPCW3.esm.js";import"./chunk-R2B57RMV.esm.js";import"./chunk-RFUX53ZX.esm.js";import"./chunk-CQASQBD7.esm.js";import"./chunk-MREWGN5R.esm.js";import"./chunk-PXVTXO3L.esm.js";import"./chunk-BV6GHAF7.esm.js";import"./chunk-G5Z7USXC.esm.js";import"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import L from"react";import{jsx as R,jsxs as K}from"react/jsx-runtime";var $=i(({referenceEl:T,open:y,onOpenChange:b,position:v,inverted:E,noArrow:h,content:C,tooltipId:D})=>{var r,a;let e=L.useRef(null),{refs:M,floatingStyles:A,context:o,placement:H,middlewareData:t}=g({open:y,onOpenChange:b,placement:v,middleware:[f(8),c(),m({padding:4}),s({element:e})],whileElementsMounted:p,elements:{reference:T}}),{getFloatingProps:I}=w([u(o,{outsidePress:!0,escapeKey:!0}),x(o,{role:"tooltip"})]),n=(r=t.arrow)==null?void 0:r.x,l=(a=t.arrow)==null?void 0:a.y;return R(d,{children:K(P,{ref:M.setFloating,id:D,inverted:E,deep:2,p:"xs",borderRadius:"xs","data-placement":H,style:A,...I(),children:[C,!h&&R(F,{ref:e,style:{left:n!=null?`${n}px`:"",top:l!=null?`${l}px`:""}})]})})},"TooltipFloating"),U=$;export{U as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as i,b as p,d as x}from"./chunk-W37MIT56.esm.js";import{o as n}from"./chunk-DAT6GD4T.esm.js";import{b as c}from"./chunk-CTNZPJ47.esm.js";import{a as m}from"./chunk-EXHRZZ5E.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import{jsx as o,jsxs as k}from"react/jsx-runtime";var a=r(({label:e=null,labelProps:C,variant:f="default",color:h,...t})=>k(x,{variant:f,$color:h,disabled:t.disabled,children:[o(i,{...t,type:"checkbox",hidden:!0}),o(p,{children:o(c,{icon:n,size:"small"})}),typeof e=="string"?o(m,{fontSize:"small",color:"ink.primary",...C,children:e}):e]}),"CheckboxComponent");a.displayName="Checkbox";export{a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as N}from"./chunk-ER6KS2SA.esm.js";import{a as M,b as H}from"./chunk-A7JDCK3C.esm.js";import{a as V}from"./chunk-RR2TYGZC.esm.js";import{f as G}from"./chunk-HSKYQ6VP.esm.js";import{c as z}from"./chunk-KZTG5TDM.esm.js";import{a as L}from"./chunk-BE2JDTVA.esm.js";import{ga as W}from"./chunk-DAT6GD4T.esm.js";import{b as T}from"./chunk-CTNZPJ47.esm.js";import{f as E}from"./chunk-VXAPSA5T.esm.js";import{a as F,e as B}from"./chunk-EXHRZZ5E.esm.js";import{a as D}from"./chunk-VU3NKSLB.esm.js";import{a as C,b as k}from"./chunk-NHE4GLQK.esm.js";import{a as h}from"./chunk-D4ZBSTRO.esm.js";import{a as R}from"./chunk-BV6GHAF7.esm.js";import{c as I}from"./chunk-G5Z7USXC.esm.js";import{b as f,g as m}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var no=f(["max-width:30rem;min-width:20rem;"]),ao=f(["max-width:40rem;min-width:20rem;"]),lo=f(["max-width:55rem;min-width:40rem;"]),io=f(["max-width:75rem;min-width:40rem;"]),mo=f(["width:95%;"]);function so({size:o}){switch(o){case"small":return no;case"medium":return lo;case"large":return io;default:return ao}}n(so,"modalSize");function co({variant:o,theme:t}){let a=t.colors[o];return f(["--baseColor:",";--lightColor:",";--actionColor:",";"],a.base,a.light,a.action)}n(co,"modalVariantColor");var O=m(h).attrs({p:"large",borderRadius:"md",bgColor:"surface.overlay"}).withConfig({componentId:"sc-8jjm43-0"})(["",";",";","{",";}"],mo,co,({theme:o})=>o.breakpoints.up("sm"),so),Q=m(C).withConfig({componentId:"sc-8jjm43-1"})(["max-height:84vh;overflow:hidden;"]),Y=m(C).withConfig({componentId:"sc-8jjm43-2"})(["& ","{flex:1;}& ","{padding:0.3rem;color:var(--baseColor);&:only-child{margin-left:auto;}}& ",":active{color:var(--actionColor);background-color:var(--lightColor);}& ",":hover{background-color:var(--lightColor);}"],F,M,M,M),$=m(h).withConfig({componentId:"sc-8jjm43-3"})(["flex:1;display:flex;overscroll-behavior:none;overflow:hidden;"]),q=m(k).attrs({borderRadius:"circular"}).withConfig({componentId:"sc-8jjm43-4"})(["background-color:var(--lightColor);& svg{color:var(--baseColor);width:1.25rem;height:1.25rem;g{fill:var(--baseColor);}}"]),J=m(h).withConfig({componentId:"sc-8jjm43-5"})(["z-index:9999;display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;"]),K=m(h).withConfig({componentId:"sc-8jjm43-6"})(["opacity:0.8;will-change:opacity;"]);import x,{cloneElement as uo,isValidElement as fo,useEffect as po,useRef as go,useState as ho}from"react";import{createPortal as Co}from"react-dom";import{Fragment as xo,jsx as e,jsxs as y}from"react/jsx-runtime";var U=n(({isOpen:o,onDismiss:t,...a})=>{if(!o&&!t)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[l,s]=ho(!1),i=go(null),{mounted:r,state:d,ref:c}=z(o!=null?o:!1);return po(()=>{s(!0)},[]),V(i,{active:!!(o&&l&&r),onEscape:t}),!l||!I?null:Co(r?y(J,{"data-testid":"modal-container",children:[e(K,{absoluteFill:!0,bgColor:"surface.scrim","data-testid":"modal-overlay",onClick:t,motion:"fade","data-state":d}),e(Mo,{ref:p=>{i.current=p,c(p)},motionState:d,onDismiss:t,...a})]}):null,I)},"ModalBaseComponent"),yo=n(({defaultOpen:o,trigger:t,isOpen:a,onDismiss:l,onModalOpen:s,...i})=>{let{active:r,disable:d,enable:c,toggle:p}=L(o,{onActive:s});return(a||l)&&R.warn('"isOpen" and "onDismiss" has no effect while using "trigger" prop'),y(xo,{children:[n(()=>{let u=null;if(typeof t=="function"&&(u=t({isOpen:r,open:c})),fo(t)&&(u=uo(t,{onClick:p})),u===null)throw new Error('"trigger" prop is not a valid element');return u},"renderTrigger")(),e(U,{isOpen:r,onDismiss:d,...i})]})},"ModalTriggerVariant"),Mo=x.forwardRef(n(function({noCloseButton:t,primaryButton:a,secondaryButton:l,primaryText:s,secondaryText:i,onDismiss:r,primaryAction:d,secondaryAction:c,children:p,tagline:v,variant:u,footer:w,title:b,size:Z,icon:P,motionState:_,closeLabel:A="Fechar"},oo){let{isMobile:S}=G(),j=x.useId(),eo=n(()=>{d({close:r})},"handlePrimary"),to=n(()=>{c({close:r})},"handleSecondary"),ro=n(()=>{let g={onClick:eo,fullWidth:w==="full"||S,"data-testid":"modal-confirm-button"};return a?x.cloneElement(a,g):e(E,{color:u,...g,children:s})},"renderPrimaryButton");return e(O,{ref:oo,role:"dialog","aria-modal":"true","aria-labelledby":b?j:void 0,tabIndex:-1,size:Z,variant:u,motion:"sheet","data-state":_,children:y(Q,{gap:"medium",children:[y(Y,{gap:"xs",children:[e(D,{opener:P&&e(q,{justifyContent:"center",alignItems:"center",p:"micro",children:P}),closer:!t&&e(H,{onClick:r,"data-testid":"modal-close-button","aria-label":A,icon:e(T,{icon:W}),variant:"linked",color:"secondary",size:"large",alignSelf:"start"}),children:b&&e(B,{id:j,variant:"h4",area:"title",color:"ink.primary",text:b})}),v&&e(B,{variant:"meta",color:"secondary.dark",area:"tagline",children:v})]}),e($,{py:"medium",children:e(N,{children:p})}),(d||c)&&y(C,{flexDirection:S?"column-reverse":"row",justifyContent:w==="expanded"?"between":"end",gap:"medium",children:[c&&n(()=>{if(w==="full")return null;let g={onClick:to,fullWidth:S,"data-testid":"modal-cancel-button"};return l?x.cloneElement(l,g):e(E,{variant:"outlined",color:"secondary",...g,children:i})},"renderSecondaryButton")(),d&&ro()]})]})})},"ModalDialog")),X=n(({noCloseButton:o=!1,secondaryText:t="Cancelar",primaryText:a="Confirmar",variant:l="primary",footer:s="right",...i})=>{let r={noCloseButton:o,secondaryText:t,primaryText:a,variant:l,footer:s,...i};return r!=null&&r.trigger?e(yo,{...r}):e(U,{...r})},"ModalComponent");X.displayName="Modal";export{O as a,Q as b,Y as c,$ as d,q as e,J as f,K as g,X as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as E,b as R}from"./chunk-A7JDCK3C.esm.js";import{f as A}from"./chunk-HSKYQ6VP.esm.js";import{c as z}from"./chunk-KZTG5TDM.esm.js";import{c as M}from"./chunk-X64PGKAO.esm.js";import{ga as F}from"./chunk-DAT6GD4T.esm.js";import{a as w,b as P}from"./chunk-CTNZPJ47.esm.js";import{a as T,e as y}from"./chunk-EXHRZZ5E.esm.js";import{a as B}from"./chunk-VU3NKSLB.esm.js";import{a as b,b as W}from"./chunk-NHE4GLQK.esm.js";import{a as I}from"./chunk-D4ZBSTRO.esm.js";import{c as g}from"./chunk-G5Z7USXC.esm.js";import{b as S,c as k,g as f}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var _=k(["0%{width:0;}100%{width:100%;}"]),C=f(W).withConfig({componentId:"sc-6lckl1-0"})(["--time:15;width:0;height:0.25rem;background-color:var(--baseColor);animation:"," calc(var(--time,15) * 1s) normal forwards;"],_),L=f(b).withConfig({componentId:"sc-6lckl1-1"})(["position:absolute;top:0.25rem;left:0.5rem;right:0.5rem;"]);function J({variant:e,theme:c}){let t=c.colors[e];return S(["--baseColor:",";--lightColor:",";--darkColor:",";--activeColor:",";--actionColor:",";--inkColor:",";position:relative;background-color:var(--lightColor);border-color:var(--baseColor);",":not(button *){color:var(--inkColor);}& ","{width:intrinsic;color:var(--darkColor);&:hover{background:var(--activeColor);}&:active ","{color:var(--actionColor);}}&:hover ","{animation-play-state:paused;}"],t.base,t.light,t.dark,t.active,t.action,t.onLight,T,E,w,C)}i(J,"getWrapperStyle");var v=f(I).withConfig({componentId:"sc-6lckl1-2"})(J);v.displayName="div";var V=f(b).withConfig({componentId:"sc-6lckl1-3"})(["color:var(--darkColor);svg{width:2rem;height:2rem;}"]);import $,{useEffect as K,useState as X}from"react";import{createPortal as Y}from"react-dom";import{jsx as o,jsxs as j}from"react/jsx-runtime";var q=$.forwardRef(i(function({type:c="block",variant:t="primary",visible:d=!0,closable:p=!0,autoClose:s=null,message:r=null,action:n=null,icon:m=null,link:a,onDismiss:l,closeLabel:G="Fechar notifica\xE7\xE3o",...u},H){let{isMobile:N}=A(),O=i(()=>{let h=n;return typeof n=="function"&&(h=n({close:l})),h?$.cloneElement(h,{color:t,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),Q=i(()=>typeof r=="function"?r({close:l}):typeof r=="string"?o(y,{text:r,variant:"p",fontSize:"xs"}):r,"renderMessage"),x=t==="danger",U=x?"alert":"status";return d?j(v,{ref:H,p:"medium",pr:9,round:N?0:"xs",borderWidth:N?"none":"thin",borderStyle:"solid",variant:t,"data-testid":`notification-${c}`,role:U,"aria-live":x?"assertive":"polite","aria-atomic":"true",...u,children:[s&&o(L,{children:o(C,{round:"micro",style:{"--time":s},onAnimationEnd:l})}),j(B,{contentGap:"medium",opener:m&&o(V,{pt:"xs",alignSelf:"start",children:m}),closer:O(),children:[u.title&&o(y,{text:u.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),Q(),a&&o(M,{...a,target:"_blank"})]}),p&&o(R,{p:"xs",borderWidth:"none",icon:o(P,{size:"small",icon:F}),"aria-label":G,variant:"linked",onClick:l,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})]}):null},"BaseNotification")),Z=i(e=>{let[c,t]=X(!1);K(()=>{t(!0)},[]);let d=e.visible!==!1,{mounted:p,state:s,ref:r}=z(d),{pageOffset:n=0,...m}=e,a=e.pagePosition==="top",l=a?{top:n}:{bottom:n};return!c||!g?null:Y(p?o(q,{...m,ref:r,round:0,borderWidth:"thin",borderPosition:a?"bottom":"top",motion:a?"sheet-top":"sheet","data-state":s,"aria-hidden":s==="closing"||void 0,visible:!0,style:{...l,zIndex:1e3,margin:0,position:"fixed",right:0,left:0}}):null,g)},"PageNotification"),D=i(e=>e.type==="page"?o(Z,{...e}):o(q,{...e}),"NotificationComponent");D.displayName="Notification";export{C as a,L as b,v as c,V as d,D as e};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{b as g,c as f}from"./chunk-KKFQPSAE.esm.js";import{g as a}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var I=o(({size:t,dimensions:r})=>{if(t)return{width:t,height:t};if(r){let{width:e,height:n,ratio:i}=r;if(n)return{width:e,height:n};if(i)return typeof e=="number"?{width:e,height:e/i}:e.endsWith("px")?{width:e,height:`calc(${e} / ${i})`}:{width:e,height:"auto"}}return{width:"1em",height:"1em"}},"getComputedSize"),P=o(t=>`fill: ${t.colors.getColor(t.colors.danger)};`,"getFillProps"),l=o(t=>typeof t=="number"&&Number.isFinite(t)?t:void 0,"toNativeLength"),x=o(({size:t,dimensions:r})=>{if(t!==void 0){let e=l(t);return e===void 0?{}:{width:e,height:e}}if(r){let e=l(r.width);if(e===void 0)return{};if(r.height!==void 0){let n=l(r.height);return n===void 0?{}:{width:e,height:n}}if(r.ratio)return{width:e,height:e/r.ratio}}return{}},"getNativeDims"),p=a("svg").attrs(t=>x(t)).withConfig({shouldForwardProp:g}).withConfig({componentId:"sc-16f7fwn-0"})([""," ",""],t=>({...I(t)}),({error:t,theme:r})=>t&&P(r)),C=o(t=>`transform: ${t};`,"getTransformProps"),s=f("g").withConfig({componentId:"apollion-svg-g"})`
|
|
2
|
-
fill: ${({fill:t,theme:r})=>t||r.colors.getColor(r.colors.main)};
|
|
3
|
-
${({transform:t})=>t&&C(t)}
|
|
4
|
-
`,c=f("path").withConfig({componentId:"apollion-svg-path"})``;import{jsx as m,jsxs as G}from"react/jsx-runtime";import{createElement as b}from"react";var d=o(({transform:t,fill:r,paths:e,fillAll:n,error:i,viewBox:S,title:h,...v})=>G(p,{viewBox:S,error:i,...v,children:[h&&m("title",{children:h}),m(s,{transform:t,fill:r,children:o(()=>e&&e.map(u=>{let{fill:y,...w}=u,D=n?void 0:y;return b(c,{...w,key:u.d,fill:D})}),"RenderPaths")()})]}),"SvgComponent");d.displayName="Svg";export{x as a,p as b,s as c,c as d,d as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as c}from"./chunk-CTNZPJ47.esm.js";import{b as g}from"./chunk-BFP2C5JF.esm.js";import{e as f}from"./chunk-EXHRZZ5E.esm.js";import{b as m}from"./chunk-NHE4GLQK.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function h(r){return r==="extraLarge"?"xl":r==="giant"?"xxl":r}a(h,"getIconSize");function d({theme:r,size:i,$label:n}){let{fontSize:o}=r.font,e=(n==null?void 0:n.length)||0;switch(i){case"small":{let t=r.spacing("medium");return{width:t,height:t,fontSize:o.micro}}case"large":{let t=r.spacing("xl");return{width:t,height:t,fontSize:e===1?o.xxl:o.large}}case"extraLarge":{let t=r.spacing("xxl");return{width:t,height:t,fontSize:e===1?o.gargantua:o.giant}}case"giant":{let t=r.spacing("giant");return{width:t,height:t,fontSize:o.gargantua}}default:{let t=r.spacing("large");return{width:t,height:t,fontSize:e===1?o.medium:o.xs}}}}a(d,"getSizes");var u=p(m).withConfig({componentId:"sc-k7r87e-0"})(d);import{jsx as s}from"react/jsx-runtime";function x({imgSrc:r,icon:i,size:n,label:o,alt:e}){return r?s(g,{width:"100%",height:"100%",src:r,alt:e!=null?e:"","data-testid":"avatar-image"}):i?s(c,{icon:i,size:h(n),"data-testid":"avatar-icon"}):s(f,{textTransform:"uppercase",children:o})}a(x,"getContent");var l=a(({size:r,icon:i,imgSrc:n,label:o,alt:e,...t})=>s(u,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"surface.sunken",color:"primary.base",$label:o,size:r,...!n&&!i&&!!o&&{role:"img","aria-label":e!=null?e:o},...t,children:x({size:r,icon:i,imgSrc:n,label:o,alt:e})}),"Avatar");l.displayName="Avatar";export{l as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as I}from"./chunk-7TJO34VI.esm.js";import{b as s}from"./chunk-JLQDS5TS.esm.js";import{a as f}from"./chunk-5Q265MC7.esm.js";import{b as g}from"./chunk-KKFQPSAE.esm.js";import{c as i}from"./chunk-BV6GHAF7.esm.js";import{g as c}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var b=r(({cover:e,height:t,width:o})=>e&&{width:o!=null?o:"100%",height:t!=null?t:"100%",objectFit:"cover"},"imageCover"),l=r(e=>e?i(e):"fit-content","getSizeValue"),d=c("img").withConfig({shouldForwardProp:g}).withConfig({componentId:"sc-swtbvc-0"})(["display:block;width:",";height:",";",";&[src='']{visibility:hidden;position:absolute;}"],({full:e,width:t})=>e?"100%":l(t),({height:e})=>l(e),b);import C,{forwardRef as L,useState as h}from"react";import{jsx as n,jsxs as R}from"react/jsx-runtime";var p=L(({src:e,...t},o)=>n(d,{src:e,ref:o,...t})),x=r(({width:e=60,height:t=60})=>n(I,{height:t,width:e,children:n(s,{width:e,height:t})}),"ImageDefaultContentLoader");function F(e){return new Promise((t,o)=>{let a=new Image;a.onload=t,a.onerror=o,a.src=e})}r(F,"loadImage");var u=r(({src:e,fallback:t,threshold:o,...a})=>{let[m,y]=h(),[S]=f({threshold:o},()=>{F(e).then(()=>y(e)).catch(()=>console.warn(`[Failed]: error on loading image: ${e}`))}),w=typeof m=="undefined";return R(C.Fragment,{children:[w?t||n(x,{...a}):null,n(p,{src:m||"",ref:S,...a})]})},"ImageLazy");u.displayName="ImageLazy";export{d as a,p as b,u as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as G}from"./chunk-XYIRIYYK.esm.js";import{a as h}from"./chunk-3FWZII65.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import g,{Children as T,useCallback as H,useMemo as k}from"react";function M(e){return Array(e).fill("min-content").join(" ")}o(M,"createSpace");function y(e){return e?M(e):"1fr"}o(y,"getGridColumns");function v(e){let l=e&&e.row?e.row:e,u=e&&e.column?e.column:e;return[l,u]}o(v,"getGridGap");import{jsx as N}from"react/jsx-runtime";import{createElement as L}from"react";var I=o(e=>{let{name:l,variant:u,gap:d="Compact",columns:s,value:t,inputs:p,children:b,onChange:m,type:c,...P}=e,E=k(()=>y(s),[s]),[F,w]=k(()=>v(d),[d]),C=H((r,n)=>a=>{if(!m||!l)return;let i=null;c==="radio"?i=n:r&&Array.isArray(t)?i=t.filter(R=>R!==n):i=[...t||[],n],m(i)},[l,t,m,c]);function f(r){return Array.isArray(t)?!!t.includes(r):r===t}o(f,"isInputChecked");function x(){let r=c==="radio"?G:h;return p.map(n=>{let a=f(n.value),i=c==="radio"?l:n.name;return L(r,{...n,key:n.value,variant:u,name:i,checked:a,onChange:C(a,n.value)})})}o(x,"renderInputs");function A(){return T.map(b,r=>{if(!g.isValidElement(r))return null;let n=r.props.value,a=f(n);return g.cloneElement(r,{onChange:C(a,n),checked:a})})}return o(A,"renderChildren"),N("div",{style:{display:"grid",gridRowGap:F,gridColumnGap:w,gridTemplateColumns:E},children:p?x():A()})},"FieldGroupComponent");I.displayName="FieldGroup";export{I as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as o}from"./chunk-KKFQPSAE.esm.js";var t=o.div,n=t;export{t as a,n as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as r}from"./chunk-NHE4GLQK.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";var t=e(r).attrs(o=>({p:"medium",borderRadius:"micro",bgColor:"surface.paper",deep:2,...o})).withConfig({componentId:"sc-5vfy6v-0"})([""]);export{t as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./chunk-FH54V56Y.esm.js";import{e as r}from"./chunk-EXHRZZ5E.esm.js";import{a as n,b as i}from"./chunk-NHE4GLQK.esm.js";import{a as p}from"./chunk-D4ZBSTRO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{jsx as o,jsxs as a}from"react/jsx-runtime";var u=t(({children:l,icon:c,title:f,description:x,...e})=>{let s=e.inverted?"ink.primary":"surface.paper";return o(m,{content:o(p,{p:"xs",children:a(i,{gap:"medium",maxWidth:400,color:s,children:[a(n,{flexDirection:"row",alignItems:"center",gap:"medium",children:[c,o(r,{variant:"h4",text:f,color:null})]}),o(r,{variant:"p",text:x,color:null})]})}),...e,children:l})},"Popover");u.displayName="Popover";export{u as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as y}from"./chunk-IK5Z5C2R.esm.js";import{b as w}from"./chunk-BNB3KNKE.esm.js";import{b as F}from"./chunk-OXQA5WD3.esm.js";import{b as c}from"./chunk-TZQMBDGR.esm.js";import{b as n}from"./chunk-WCUEINBQ.esm.js";import{b as s}from"./chunk-QYL6LECA.esm.js";import{b as f}from"./chunk-3A7I6HM2.esm.js";import{d}from"./chunk-WI3WPCW3.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var P=["viewportMedias"],h=["sm","md","lg","xl"],u=t((r,e)=>{let o={theme:e};return{...w(r)(),...s(r)(o),...c(r)(o),...F(r)(o),...n(r)(o),...d(r)(o),...y(r)(o),...f(r)(o)}},"getStyles"),k=t(r=>e=>{let{theme:o,...M}={...r,...e},{viewportMedias:i}=M;if(!i)return{};let m={};return h.forEach(a=>{let p=i[a];p&&(m[o.breakpoints.up(a)]=u(p,o))}),m},"ViewportMediaFactory");export{P as a,k as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as se}from"./chunk-GC2ZV3CY.esm.js";import{b as V,c as le}from"./chunk-RI7KKIJD.esm.js";import{a as Z,b as ee}from"./chunk-A7JDCK3C.esm.js";import{a as ie}from"./chunk-A3OJEVGQ.esm.js";import{b as oe}from"./chunk-KR2X2UQG.esm.js";import{a as te}from"./chunk-BE2JDTVA.esm.js";import{I as ne,J as re,ga as ae,ja as k}from"./chunk-DAT6GD4T.esm.js";import{b as S}from"./chunk-CTNZPJ47.esm.js";import{b as J}from"./chunk-BFP2C5JF.esm.js";import{f as Y}from"./chunk-VXAPSA5T.esm.js";import{e as I}from"./chunk-EXHRZZ5E.esm.js";import{b as X}from"./chunk-A77HKHNQ.esm.js";import{a as v,b as Q}from"./chunk-NHE4GLQK.esm.js";import{a as R}from"./chunk-D4ZBSTRO.esm.js";import{d as K}from"./chunk-WI3WPCW3.esm.js";import{m as z}from"./chunk-BV6GHAF7.esm.js";import{g as b}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var de=i(({theme:e,readOnly:t,disabled:o,active:c})=>{if(t||o)return null;let d=e.colors.primary.base;return{borderWidth:1,borderStyle:"dashed",borderColor:c?d:"transparent","&:hover":{borderColor:d}}},"activeStyle"),me=i(({disabled:e,readOnly:t})=>(e||t)&&{cursor:"not-allowed",pointerEvents:"none",userSelect:"none"},"disabledStyle"),ce=b(R).withConfig({componentId:"sc-1erdx9t-0"})([""," "," container-type:inline-size;"],de,me),j=b(R).withConfig({componentId:"sc-1erdx9t-1"})(["pointer-events:none;display:flex;justify-content:center;align-items:center;"]),N=b(R).withConfig({componentId:"sc-1erdx9t-2"})(["opacity:0.95;"]),T=b(V).withConfig({componentId:"sc-1erdx9t-3"})(["& ","{padding:0;svg{width:0.8rem;height:0.8rem;}}"],Z),fe=b(v).withConfig({componentId:"sc-1erdx9t-4"})(["min-width:0;overflow-y:auto;overflow-x:hidden;& ","{padding:"," 0;}& "," + & ","{margin-top:",";}"],T,({theme:e})=>e.spacing("xs"),T,T,({theme:e})=>e.spacing("medium")),pe=b(I).withConfig({componentId:"sc-1erdx9t-5"})(["flex:1;width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),ue=b(R).attrs(e=>({borderRadius:"micro",bgColor:"surface.sunken",...e})).withConfig({componentId:"sc-1erdx9t-6"})(["--fillColor:",";height:4px;background-image:linear-gradient(var(--fillColor),var(--fillColor));background-repeat:no-repeat;background-size:0%;transition:all var(--apollion-motion-duration-100,100ms) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1));"],({theme:e})=>e.colors.information.base),A=b(R).attrs(e=>({borderRadius:"micro",...e})).withConfig({componentId:"sc-1erdx9t-7"})(["align-self:center;overflow:hidden;width:2rem;height:2rem;font-size:1.6rem;color:",";"],({theme:e})=>e.colors.primary.base),ge=b(le).withConfig({componentId:"sc-1erdx9t-8"})([""," ",""],de,me),Fe=b(V).withConfig({componentId:"sc-1erdx9t-9"})(["",""],K({flex:"fluid"}));import{forwardRef as qe,useCallback as Me,useEffect as $e,useImperativeHandle as He,useRef as We,useState as Ge}from"react";function q(e){let t=Math.floor(Math.log(e)/Math.log(1e3));return`${(e/1e3**t).toFixed(2)} ${["B","kB","MB","GB","TB"][t]}`}i(q,"fileSize");function M(e,t){let o=t||15728640;return(Array.isArray(e)?e:[e]).filter(d=>d.size<=o)}i(M,"filterFiles");function $(e){return e.map(t=>({id:X(),file:t,fileName:t.name,fileSize:q(t.size)}))}i($,"convertFileToFileItem");function Ce(e){let{fieldName:t,file:o,requestConfig:c}=e,{endpoint:d,timeout:x,auth:p,params:F,withCredentials:r,responseType:m,headers:f,formDataParams:l}=c;return new Promise((u,y)=>{let a=new XMLHttpRequest;a.timeout=x;let h=new FormData;h.append(t,o,o.name),l&&l.forEach(s=>{h.append(s.key,s.value)});let O=new URL(d);if(F&&Object.keys(F).forEach(s=>{O.searchParams.append(s,F[s])}),a.open("post",O.href),"setRequestHeader"in a){let s={...f};if(p){let g=p.username||"",P=unescape(encodeURIComponent(p.password))||"",D=`${g}:${P}`;s.Authorization=`Basic ${btoa(D)}`}Object.keys(s).forEach(g=>{let P=s[g];P!==void 0&&a.setRequestHeader(g,P)})}r!==void 0&&(a.withCredentials=!!r),a.responseType=m||"json";let w=0;a.upload.addEventListener("progress",s=>{e.onProgress&&(w=s.loaded,e.onProgress(s.loaded))}),a.onreadystatechange=()=>{var g;if(!a||a.readyState!==4||a.status===0&&((g=a==null?void 0:a.responseURL)==null?void 0:g.indexOf("file:"))!==0)return;let s={response:a.response,status:a.status,statusText:a.statusText};e.onProgress&&e.onProgress(w,!0,s),u(s),a=null},a.onerror=()=>{e.onProgress&&e.onProgress(w,!1),y(),a=null},a.send(h)})}i(Ce,"uploadFile");import{useEffect as Ee,useState as ze}from"react";function xe(e,t){let[o,c]=ze(null);return Ee(()=>{let d="";return e&&t&&t(e)&&(d=URL.createObjectURL(e),c(d)),()=>{URL.revokeObjectURL(d)}},[e,t]),o}i(xe,"useObjectUrl");import{Fragment as je,jsx as n,jsxs as C}from"react/jsx-runtime";function ye(e){let{disabled:t,acceptLabel:o,isDragging:c,events:d,files:x,removeFile:p,openFileDialogButton:F,readOnly:r,style:m,className:f,inputFile:l}=e,u=x.length>0,y=u&&n(fe,{flexDirection:"column",flex:"fluid",p:"large",children:x.map(a=>n(be,{removeFile:p,readOnly:r,...a},a.id))});return C(ce,{...d,style:m,className:f,active:c,disabled:t,readOnly:r,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",deep:2,children:[l,C(v,{cq:{md:{flexDirection:"row",height:300,maxHeight:300}},children:[C(Q,{gap:"small",flex:"fluid",cq:u?{md:{flex:"initial"}}:void 0,p:"large",bgColor:"deepLight",justifyContent:"center",alignItems:"center",children:[C(v,{gap:"xs",alignItems:"center",children:[n(S,{icon:k,size:16,color:r||t?"ink.disabled":"secondary"}),o&&n(I,{variant:"meta",fontWeight:"bold",children:o})]}),!r&&C(je,{children:[n(I,{variant:"p",children:"Arraste e solte aqui"}),n(I,{variant:"p",fontWeight:"bold",children:"ou"}),F]})]}),y]}),c&&C(j,{absoluteFill:!0,children:[n(N,{absoluteFill:!0,bgColor:"surface.paper"}),C(v,{gap:"small",justifyContent:"center",alignItems:"center",p:8,children:[n(S,{icon:k,color:"information.dark",size:9}),n(I,{variant:"p",color:"information.dark",children:"Arraste e solte aqui"})]})]})]})}i(ye,"UploadCardRegular");function he(e){let{disabled:t,isDragging:o,events:c,files:d,removeFile:x,style:p,className:F,readOnly:r,openFileDialogButton:m,inputFile:f}=e;return C(ge,{...c,style:p,className:F,active:o,disabled:t,readOnly:r,borderRadius:"md",bgColor:"surface.sunken",overflow:"hidden",p:"large",medias:{xs:{gap:"large"},sm:{columns:"max-content 1fr"}},children:[f,n(v,{flexDirection:"row",justifyContent:"start",alignItems:"start",children:m}),n(Fe,{medias:{xs:{gap:"medium",columns:"repeat(auto-fill, minmax(240px, 1fr))"}},children:d.map(l=>n(be,{removeFile:x,readOnly:r,...l},l.id))}),o&&C(j,{children:[n(N,{}),C(v,{flexDirection:"row",gap:"small",justifyContent:"center",alignItems:"center",children:[n(S,{icon:k,color:"information.dark",size:6}),n(I,{variant:"p",children:"Arraste e solte aqui"})]})]})]})}i(he,"UploadCardCompact");function be({removeFile:e,readOnly:t,...o}){let c=o.uploadLoaded?`${o.uploadLoaded} de`:"";return C(T,{medias:{xs:{gap:"micro",columns:"2rem 1fr"}},children:[n(Ve,{...o}),C(v,{children:[C(v,{flexDirection:"row",justifyContent:"between",children:[n(pe,{variant:"meta",children:n("b",{children:o.fileName})}),!t&&n(ee,{onClick:()=>e(o.id),icon:n(S,{icon:ae}),variant:"linked"})]}),o.uploadPercentage&&n(ue,{style:{backgroundSize:o.uploadPercentage}}),C(v,{flexDirection:"row",justifyContent:"between",children:[n(I,{variant:"meta",children:`${c} ${o.fileSize}`}),o.uploadPercentage&&n(I,{variant:"meta",children:`Enviando ${o.uploadPercentage}`})]})]})]})}i(be,"FileItemComponent");function Ve({file:e}){let t=xe(e,o=>o.type.startsWith("image"));return t?n(A,{children:n(J,{src:t,cover:!0})}):e.name.endsWith(".pdf")?n(A,{children:n(S,{icon:re})}):n(A,{children:n(S,{icon:ne})})}i(Ve,"Preview");import{useState as Ne}from"react";function ve(e){let[t,o]=Ne({files:[],type:null,payload:null});return{files:t,setInitialFiles:i(r=>{var u;let m=M(r,e.maxSize),l={files:$(m),type:"ADD_INITIAL_FILES"};(u=e.onChange)==null||u.call(e,l),o(l)},"setInitialFiles"),removeFile:i(r=>{var f;let m={type:"REMOVE",files:t.files.filter(l=>l.id!==r),payload:t.files.find(l=>l.id===r)};(f=e.onChange)==null||f.call(e,m),o(m)},"removeFile"),removeAll:i(()=>{var m;let r={files:[],type:"REMOVE"};(m=e.onChange)==null||m.call(e,r),o(r)},"removeAll"),addFiles:i(r=>{var y;let m=M(r,e.maxSize),f=$(m),l=[...t.files,...f],u={files:l,type:"ADD",payload:f};e.single&&(l=f,u={files:l,type:"REPLACE",payload:l[0]}),(y=e.onChange)==null||y.call(e,u),o(u)},"addFiles"),updateFileProgress:i((r,m,f,l)=>{var s;let u=t.files.find(g=>g.id===r),y=i(()=>({uploadCompleted:f,uploadError:!f,uploadResponse:l||void 0}),"uploadResponse"),h={...u,...m!==void 0?i(()=>({uploadLoaded:q(m),uploadPercentage:`${Math.min(m/u.file.size*100,100).toFixed(0)}%`}),"progressStatus")():{},...f!==void 0?y():{}},w={files:t.files.map(g=>g.id===h.id?h:g),type:"UPDATE",payload:h};(s=e.onChange)==null||s.call(e,w),o(w)},"updateFileProgress")}}i(ve,"useFileState");import{jsx as B}from"react/jsx-runtime";var _e=qe((e,t)=>{let{accept:o,maxSize:c,singleFile:d,uploadConfig:x,onUnsupportedFile:p,customButton:F,style:r,className:m,onChange:f,initialFiles:l,name:u}=e,[y,a]=Ge(!1),{active:h,enable:O,disable:w}=te(),{files:s,setInitialFiles:g,addFiles:P,removeFile:D,removeAll:we,updateFileProgress:H}=ve({single:d,maxSize:c,onChange:f}),{getFiles:Pe}=ie({accept:o,single:d,onFilesSelect:P,onUnsupportedFile:p}),{isDragging:W,events:Ue}=oe({accept:o,single:d,onDrop:P});$e(()=>{let U=Array.isArray(l)?l.length>0:!!l;!y&&!s.files.length&&U&&(a(!0),g(l))},[y,a,l,g,s.files]);let Se=Me(async U=>{if(s.files.length){O();let Re=s.files.map(({id:De,file:Le})=>Ce({file:Le,fieldName:U.formDataFileKey||"file",requestConfig:{...x,...U},onProgress:i((ke,Ae,Be)=>{H(De,ke,Ae,Be)},"onProgress")})),Te=await Promise.all(Re);return w(),Te}return[]},[s.files,x,O,H,w]);He(t,()=>({submit:Se,addFiles:P,removeFile:D,removeAll:we,files:s.files}));let L=We(null),E=i(()=>{var U;(U=L==null?void 0:L.current)==null||U.click()},"openFileDialog"),Oe=F?F({files:s.files,isDragging:W,openFileDialog:E,isSubmitting:h}):B(Y,{onClick:E,variant:"outlined",color:"secondary",size:"small",disabled:e.readOnly||e.disabled||h,isLoading:h,type:"button",children:e.buttonText||"Enviar arquivos"}),G={...e,...!e.readOnly&&{events:Ue,isDragging:W},files:s.files,style:r,className:m,removeFile:D,openFileDialog:E,openFileDialogButton:Oe,name:u},_=B(se,{type:"file",isHidden:!0,position:"absolute",name:u,id:u,ref:L,onChange:Pe,multiple:!d,accept:Array.isArray(o)?o.join(","):void 0});return e.compact?B(he,{...G,inputFile:_}):B(ye,{...G,inputFile:_})});_e.displayName="UploadCard";import{useCallback as Ke,useState as Ie}from"react";var Nt=i(()=>{let[e,t]=Ie([]),[o,c]=Ie([]);return{onFilesChange:Ke(p=>{if(!p.payload)return;let{payload:F}=p;p.type==="ADD"?c(r=>z(r,F)):p.type==="REMOVE"&&t(r=>z(r,F))},[]),removedFiles:e,addedFiles:o,clear:i(p=>{p==="removedFiles"&&t([]),p==="addedFiles"&&c([])},"clear")}},"useFileControl");export{ce as a,j as b,N as c,T as d,fe as e,pe as f,ue as g,A as h,ge as i,Fe as j,_e as k,Nt as l};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk-EXHRZZ5E.esm.js";import{a as l,b as s}from"./chunk-NHE4GLQK.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import{forwardRef as g}from"react";var h=n(s).withConfig({componentId:"sc-1ulk0ua-0"})(["flex-shrink:0;margin:0;",""],({$orientation:i})=>i==="vertical"?"border-top-width: 0; border-right-width: 0; border-bottom-width: 0;":"border-right-width: 0; border-bottom-width: 0; border-left-width: 0;"),p=n(l).withConfig({componentId:"sc-1ulk0ua-1"})(["width:100%;"]);import{jsx as v,jsxs as u}from"react/jsx-runtime";var y=g(({orientation:i="horizontal",tone:D="hairline",color:t,thickness:w="thin",spacing:o="micro",label:e,...a},f)=>{let r=i==="vertical",x=t!=null?t:`edge.${D}`,d=m((b={})=>v(h,{as:r?"div":"hr",$orientation:i,role:r?"separator":void 0,"aria-orientation":r?"vertical":void 0,borderStyle:"solid",borderWidth:w,borderPosition:r?"left":"top",borderColor:x,...r?{alignSelf:"stretch",mx:o,minHeight:"1em"}:{width:"100%",my:o},...b}),"line");return e&&!r?u(p,{role:"separator","aria-label":typeof e=="string"?e:void 0,flexDirection:"row",alignItems:"center",gap:"small",my:o,...a,ref:f,children:[d({flex:"fluid",my:0}),typeof e=="string"?v(c,{fontSize:"micro",lineHeight:"tight",color:"ink.secondary",whiteSpace:"nowrap",children:e}):e,d({flex:"fluid",my:0})]}):d({...a,ref:f})});y.displayName="Divider";export{h as a,p as b,y as c};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import{a as d,b as x,c as y,f as h}from"./chunk-GC2ZV3CY.esm.js";import{a as c}from"./chunk-NHE4GLQK.esm.js";import{c as o}from"./chunk-KKFQPSAE.esm.js";import{d as s}from"./chunk-RWLJNXLX.esm.js";import{b as f}from"./chunk-IK5Z5C2R.esm.js";import{b as u}from"./chunk-OXQA5WD3.esm.js";import{b as p}from"./chunk-TZQMBDGR.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";var T=o("textarea").withConfig({componentId:"apollion-textarea"})`
|
|
2
|
-
-webkit-appearance: none;
|
|
3
|
-
width: 100%;
|
|
4
|
-
outline: none;
|
|
5
|
-
display: block;
|
|
6
|
-
transition: ${({theme:e})=>e.animation.transitions.short};
|
|
7
|
-
|
|
8
|
-
${d}
|
|
9
|
-
|
|
10
|
-
${y}
|
|
11
|
-
|
|
12
|
-
${x}
|
|
13
|
-
|
|
14
|
-
${s({borderRadius:"xs",borderWidth:"thin",borderStyle:"solid"})}
|
|
15
|
-
${f({fontFamily:"main"})}
|
|
16
|
-
${u({p:"small"})}
|
|
17
|
-
${p({bgColor:"surface.paper"})}
|
|
18
|
-
`,S=o(c).withConfig({componentId:"apollion-textarea-counter"})`
|
|
19
|
-
position: absolute;
|
|
20
|
-
right: 0;
|
|
21
|
-
bottom: 0;
|
|
22
|
-
line-height: 1.2rem;
|
|
23
|
-
font-size: 0.6875rem;
|
|
24
|
-
transform: translateY(100%);
|
|
25
|
-
color: ${({theme:e})=>e.colors.ink.primary};
|
|
26
|
-
`;import{forwardRef as R,useState as k}from"react";import{jsx as V,jsxs as A}from"react/jsx-runtime";var w={expansive:{fontSize:"medium",py:"medium"},medium:{fontSize:"medium",py:"small"},compact:{fontSize:"medium",py:"xs"},micro:{py:"micro",fontSize:"small",borderRadius:"micro"}},g=R(({value:e,defaultValue:C,onChange:a,maxLengthHint:b="characters left",variant:n="default",resize:I=!1,size:z="medium",...r},F)=>{let t=e!==void 0,[i,$]=k(C||""),P=t?e:i;return A(h,{variant:n,children:[V(T,{value:t?e:i,defaultValue:void 0,variant:n,onChange:m(l=>{t||$(l.target.value),a&&a(l)},"handleChange"),...w[z],...r,ref:F,style:{resize:I?"both":"none"}}),r.maxLength&&A(S,{children:[Number(r.maxLength)-(P||"").length," ",b]})]})});g.displayName="TextArea";export{T as a,S as b,g as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as o}from"./chunk-D4ZBSTRO.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";var t=e(o).withConfig({componentId:"sc-atg43m-0"})(["display:flex;"]),r=t;export{t as a,r as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as s}from"./chunk-EXHRZZ5E.esm.js";import{a as d}from"./chunk-NHE4GLQK.esm.js";import{j as H}from"./chunk-BV6GHAF7.esm.js";import{g as c}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";var A=l(({theme:t,disabled:y,variant:r})=>{let e=t.colors.ink.primary,a=t.colors.ink.secondary;if(r!=="default"){let{base:g,dark:n}=r==="success"?t.colors.success:t.colors.danger;e=n,a=g}return y&&(e=t.colors.ink.disabled),{"--colorLabel":e,"--colorHint":a}},"getFieldColor"),v=c(d).withConfig({componentId:"sc-1iiu1tt-0"})(["width:100%;justify-content:center;",";"],A),k=c(s).withConfig({componentId:"sc-1iiu1tt-1"})(["color:var(--color-label);"]),I=c(s).withConfig({componentId:"sc-1iiu1tt-2"})(["color:var(--color-label);"]),L=c(s).withConfig({componentId:"sc-1iiu1tt-3"})(["color:var(--color-hint);min-height:","em;"],({theme:t})=>t.font.lineHeight.tight);import{jsx as f,jsxs as O}from"react/jsx-runtime";var j=l(({name:t,value:y,label:r,inputProps:e,hintText:a,variant:g,setFieldValue:n,readOnly:m,readOnlyText:z="apenas leitura",hintErrorText:E="Something went wrong",hintSuccessText:R="Everything is alright",...o})=>{var w;let V=o.component,S=!!o.errors||o.error,b=!!o.success,h=(w=e==null?void 0:e.readOnly)!=null?w:m,D=l(i=>{if(!m&&(e!=null&&e.onChange&&e.onChange(i),n)){let x=i;H(i)&&(x=i.target.type==="checkbox"||i.target.type==="radio"?i.target.checked:i.target.value),n(t,x)}},"onChange"),B=l(()=>{if(m)return;if(typeof(e==null?void 0:e.reset)=="function"){e.reset();return}let i=e==null?void 0:e.type;n&&n(t,i==="checkbox"||i==="radio"?!1:"")},"resetField"),N=typeof o.errors=="string"?o.errors:E,C=S&&N||b&&R||a,F=g||S&&"error"||b&&"success"||"default",W=!r||o.hideLabel,q=h||o.optionalText,u=h?z:o.optionalText,T=e&&e.disabled;return O(v,{area:o.area,variant:F,disabled:T,gap:"micro",...o.fieldProps,children:[O(d,{flexDirection:"row",justifyContent:"between",isHidden:W,children:[f(k,{as:"label",htmlFor:t,fontSize:"xs",fontWeight:"bold",lineHeight:"regular",children:r}),q&&f(I,{fontStyle:"italic",lineHeight:"tight",fontSize:"micro",children:u})]}),f(V,{...e,id:t,name:t,value:y,variant:F,readOnly:h,onChange:D,reset:B}),f(L,{lineHeight:"tight",fontSize:"micro",isHidden:T||!C,children:C})]})},"FieldComponent");j.displayName="Field";export{j as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as d}from"./chunk-D4ZBSTRO.esm.js";import{c as a}from"./chunk-WI3WPCW3.esm.js";import{g as o}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var p=i(e=>{var t;if(e===void 0)return;if(typeof e=="string")return e;let r="autoFit"in e?"auto-fit":"auto-fill",n="autoFit"in e?e.autoFit:e.autoFill;return`repeat(${r}, minmax(min(${n}, 100%), ${(t=e.max)!=null?t:"1fr"}))`},"resolveColumns"),f=i((e,r)=>({gridTemplateColumns:p(r.columns),gridTemplateRows:r.rows,gridTemplateAreas:r.areas,gap:r.gap?e.spacing(r.gap):void 0,gridColumnGap:r.columnGap?e.spacing(r.columnGap):void 0,gridRowGap:r.rowGap?e.spacing(r.rowGap):void 0,...a(r)}),"getGridProps"),u=i(({medias:e,theme:r})=>e?"xs"in e?Object.keys(e).reduce((n,t)=>({...n,[r.breakpoints.up(t)]:f(r,e[t])}),{}):f(r,e):{},"setGridBreakpoints"),s=o(d).withConfig({componentId:"sc-11fh3lu-0"})(["display:grid;",""],u),g=s;export{u as a,s as b,g as c};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import{c as d}from"./chunk-KKFQPSAE.esm.js";import{b as a}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var n=r(({theme:e,$size:o})=>e.component.select.size[o],"sizeTokens");function p(e){let o=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M2.5 4.5L6 8l3.5-3.5" stroke="${e}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(o)}")`}r(p,"chevron");function g({$variant:e,theme:o}){return e==="error"?{accent:o.colors.danger.base,text:o.colors.danger.dark,border:o.colors.danger.base}:e==="success"?{accent:o.colors.success.base,text:o.colors.success.dark,border:o.colors.success.base}:{accent:o.colors.primary.base,text:o.colors.primary.dark,border:o.colors.edge.border}}r(g,"variantColors");function S(e){let{theme:o}=e,{accent:s,text:c,border:t}=g(e);return a(["color:",";border:1px solid ",";box-shadow:",";&:hover,&:focus{box-shadow:none;border-color:",";}&:focus-visible{outline:2px solid ",";outline-offset:2px;}"],c,t,o.depth("level-one-minus"),t,s)}r(S,"variantStyle");function h({theme:e}){return a(["&:disabled{cursor:default;color:",";border-color:transparent;background-color:",";box-shadow:none;}"],e.colors.disabled.color,e.colors.disabled.fill)}r(h,"disabledStyle");var i=d("select").withConfig({componentId:"apollion-select"})`
|
|
2
|
-
appearance: none;
|
|
3
|
-
-webkit-appearance: none;
|
|
4
|
-
-moz-appearance: none;
|
|
5
|
-
|
|
6
|
-
display: block;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
width: ${({$width:e})=>typeof e=="number"?`${e}px`:e!=null?e:"100%"};
|
|
9
|
-
height: ${e=>n(e).height}px;
|
|
10
|
-
|
|
11
|
-
font-family: ${({theme:e})=>e.font.fontFamily.main};
|
|
12
|
-
font-size: ${({theme:e})=>e.font.fontSize.small};
|
|
13
|
-
line-height: ${({theme:e})=>e.font.lineHeight.close};
|
|
14
|
-
|
|
15
|
-
background-color: ${({theme:e})=>e.colors.surface.paper};
|
|
16
|
-
border-radius: ${({theme:e,$radius:o})=>e.border.borderRadius[o]};
|
|
17
|
-
|
|
18
|
-
/* Left padding = size token; right padding reserves room for the chevron. */
|
|
19
|
-
padding: ${e=>e.theme.spacing("zero",n(e).px)};
|
|
20
|
-
padding-right: ${e=>`calc(${e.theme.spacing(n(e).px)} + 1.25em)`};
|
|
21
|
-
|
|
22
|
-
outline: none;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
transition: ${({theme:e})=>e.animation.transitions.short};
|
|
25
|
-
|
|
26
|
-
background-image: ${({theme:e})=>p(e.colors.neutral[100])};
|
|
27
|
-
background-repeat: no-repeat;
|
|
28
|
-
background-position: right ${e=>e.theme.spacing(n(e).px)} center;
|
|
29
|
-
|
|
30
|
-
${S}
|
|
31
|
-
${h}
|
|
32
|
-
|
|
33
|
-
/* Force readable native option colors — the OS popup inherits these. */
|
|
34
|
-
& option {
|
|
35
|
-
color: ${({theme:e})=>e.colors.ink.primary};
|
|
36
|
-
background-color: ${({theme:e})=>e.colors.surface.paper};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&:disabled {
|
|
40
|
-
/* Fade the chevron in step with the disabled text. */
|
|
41
|
-
background-image: ${({theme:e})=>p(e.colors.disabled.color)};
|
|
42
|
-
}
|
|
43
|
-
`;i.displayName="select";import{forwardRef as x}from"react";import{jsx as u}from"react/jsx-runtime";var f=x(({options:e,size:o="medium",variant:s="default",borderRadius:c="xs",width:t,...m},b)=>u(i,{ref:b,$size:o,$variant:s,$radius:c,$width:t,...m,children:e.map(l=>u("option",{value:l.value,children:l.label},String(l.value)))}));f.displayName="Select";export{i as a,f as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as k}from"./chunk-X64PGKAO.esm.js";import{o as C}from"./chunk-DAT6GD4T.esm.js";import{b as g}from"./chunk-CTNZPJ47.esm.js";import{e as b}from"./chunk-EXHRZZ5E.esm.js";import{b as x}from"./chunk-A77HKHNQ.esm.js";import{a as h,b as w}from"./chunk-NHE4GLQK.esm.js";import{b as S}from"./chunk-TZQMBDGR.esm.js";import{g as u}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import{forwardRef as B,useEffect as D,useState as H}from"react";var T=u(h).withConfig({componentId:"sc-1bknes7-0"})(["list-style:none;padding:0;margin:0;"]),E=u(w).withConfig({componentId:"sc-1bknes7-1"})(["padding:8px 12px;cursor:pointer;&:hover{","}",""],S(({isSelected:t})=>!t&&{bgColor:"muted"}),S(({isSelected:t})=>t&&{bgColor:"wash.selected"}));import{jsx as a,jsxs as U}from"react/jsx-runtime";var M=l(({item:t,showCheckIcon:d,action:p})=>{var f;if(!t.title)throw new Error("You need to pass a title to you object inside the list");let m=d&&t.isSelected&&!t.to,i=l(()=>!t.to&&p(),"onClickItem"),o=U(E,{as:"li",gap:"xs",width:"100%",flexDirection:"row",alignItems:"center",borderRadius:"micro",isSelected:t.isSelected,onClick:i,children:[(f=t.icon)!=null?f:m&&a(g,{icon:C,color:"main"}),a(b,{whiteSpace:"nowrap",children:t.title})]});return t.to?a(k,{href:t.to,children:o}):o},"ListItem"),N=B(({content:t,multiple:d,exclusive:p,showCheckIcon:m,onSelectItems:i,onItemClick:o,...f},F)=>{let[y,I]=H(()=>t.map(e=>({id:x(5),isSelected:!1,...e})));D(()=>{I(e=>e.map((s,L)=>{var n;let r=(n=t[L])==null?void 0:n.isSelected;return r===void 0||r===s.isSelected?s:{...s,isSelected:r}}))},[t]);let R=l(e=>()=>{var n;let s=e.id,L=p&&!d?!0:!e.isSelected,r=y.map(c=>c.id===s?{...c,isSelected:L}:{...c,isSelected:d?c.isSelected:!1});if(I(r),i==null||i(r),o==null||o(e),e.action){let{action:c,icon:Y,...v}=e;(n=e.action)==null||n.call(e,v)}},"toggleItem");return a(T,{as:"ul",gap:"micro",...f,ref:F,children:y.map(e=>a(M,{item:e,showCheckIcon:m,action:R(e)},e.id))})});N.displayName="List";export{T as a,E as b,N as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as f}from"./chunk-W37MIT56.esm.js";import{a as l}from"./chunk-EXHRZZ5E.esm.js";import{a as p}from"./chunk-D4ZBSTRO.esm.js";import{b as d,g as s}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a=s.input.withConfig({componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);a.displayName="input";var r=s(p).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"primary",deep:-1,...o})).withConfig({componentId:"sc-truao3-1"})(["--size:20px;--checked-size:calc(var(--size) * 0.5);width:var(--size);height:var(--size);flex-shrink:0;&::before{content:'';border-radius:50%;display:inline-block;width:var(--checked-size);height:var(--checked-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;}"]);function x({variant:o,$color:i,theme:t}){let e=f(t,o,i);return d(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ",",&:focus > ","{border-color:",";}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],e.dark,r,e.dark,e.base,r,r,e.action,a,r,e.base,t.depth("level-zero"))}n(x,"inputVariantStyle");function g(o){return d(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";&::before{background:",";}}}"],o.colors.disabled.color,a,r,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color)}n(g,"getDisabledStyle");var m=s(l).withConfig({componentId:"sc-truao3-2"})(["cursor:pointer;position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:",";margin:",";"," "," & ",":checked ~ ","::before{opacity:1;}"],({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing(0,"xs","xs",0),x,({theme:o,disabled:i})=>i&&g(o),a,r);import{jsx as c,jsxs as R}from"react/jsx-runtime";var b=n(({id:o,disabled:i,label:t=null,labelProps:e,variant:u="default",color:y,...h})=>R(m,{as:"label",htmlFor:o,variant:u,$color:y,disabled:i,children:[c(a,{...h,type:"radio",id:o,disabled:i}),c(r,{}),typeof t=="string"?c(l,{fontSize:"small",color:"ink.primary",...e,children:t}):t]}),"RadioComponent");b.displayName="Radio";export{a,r as b,m as c,b as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-EXHRZZ5E.esm.js";import{b as f}from"./chunk-NHE4GLQK.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{forwardRef as I}from"react";var m=n(f).withConfig({componentId:"sc-1x3so2v-0"})(["display:inline-flex;font-family:",";& > svg,& > [class*='icon']{flex-shrink:0;}"],({theme:e})=>e.font.fontFamily.main);import{jsx as T,jsxs as y}from"react/jsx-runtime";var a=I(({icon:e,text:x,children:t,iconPosition:o="left",align:p="center",gap:s="xs",as:c="span",...l},i)=>y(m,{as:c,flexDirection:"row",alignItems:p,gap:s,...l,ref:i,children:[o==="left"&&e,T(r,{as:"span",children:t!=null?t:x}),o==="right"&&e]}));a.displayName="IconText";export{m as a,a as b};
|
|
File without changes
|