@apollion-dsi/core 7.8.0 → 7.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/chunks/Dropdown.floating-QJAJIFQB.esm.js +1 -0
- package/lib/chunks/Notification.group-RFJEBXMQ.esm.js +1 -0
- package/lib/chunks/Tooltip.floating-WYKEOQ4M.esm.js +1 -0
- package/lib/chunks/{chunk-2Z3UZIWZ.esm.js → chunk-2C4RPPWG.esm.js} +1 -1
- package/lib/chunks/{chunk-7YXP5WUW.esm.js → chunk-2O2SROXA.esm.js} +1 -1
- package/lib/chunks/{chunk-SRBIATLE.esm.js → chunk-2V52IYQV.esm.js} +1 -1
- package/lib/chunks/{chunk-AAZFRX52.esm.js → chunk-3BR6IVVX.esm.js} +1 -1
- package/lib/chunks/chunk-3T2OY4KF.esm.js +1 -0
- package/lib/chunks/chunk-3YR2CYJZ.esm.js +1 -0
- package/lib/chunks/{chunk-FNYS25ZX.esm.js → chunk-4JM5PL3S.esm.js} +1 -1
- package/lib/chunks/chunk-4MMTXWN6.esm.js +1 -0
- package/lib/chunks/{chunk-CHX7ZWCF.esm.js → chunk-4O7ESFTW.esm.js} +1 -1
- package/lib/chunks/{chunk-O5TS2XER.esm.js → chunk-4UQS5RWZ.esm.js} +1 -1
- package/lib/chunks/{chunk-4XCYWJYX.esm.js → chunk-4YRJLSB2.esm.js} +1 -1
- package/lib/chunks/chunk-5PVO6N3J.esm.js +1 -0
- package/lib/chunks/chunk-5YWORBNJ.esm.js +1 -0
- package/lib/chunks/{chunk-TBNQUDOJ.esm.js → chunk-6ENKSD5C.esm.js} +1 -1
- package/lib/chunks/{chunk-52EZIGKB.esm.js → chunk-AXDZFTGE.esm.js} +1 -1
- package/lib/chunks/chunk-B772QSAK.esm.js +1 -0
- package/lib/chunks/chunk-BASPM3ZG.esm.js +1 -0
- package/lib/chunks/{chunk-2VRBBC54.esm.js → chunk-BBLB347Z.esm.js} +1 -1
- package/lib/chunks/chunk-BCG4MZZG.esm.js +40 -0
- package/lib/chunks/{chunk-DJY3YRWV.esm.js → chunk-CLBV5RLF.esm.js} +1 -1
- package/lib/chunks/chunk-CNNDH4LV.esm.js +1 -0
- package/lib/chunks/{chunk-3WXII2F3.esm.js → chunk-CRSMYEKV.esm.js} +1 -1
- package/lib/chunks/{chunk-RGBJDHFM.esm.js → chunk-CSAXXFCR.esm.js} +1 -1
- package/lib/chunks/chunk-D6WFXRZX.esm.js +1 -0
- package/lib/chunks/chunk-DKSFPJ4D.esm.js +2 -0
- package/lib/chunks/chunk-E26CL7AQ.esm.js +1 -0
- package/lib/chunks/chunk-E4JLJKFS.esm.js +1 -0
- package/lib/chunks/{chunk-IN2WB2ZK.esm.js → chunk-ENPBIFMV.esm.js} +1 -1
- package/lib/chunks/chunk-EPV3GO7B.esm.js +1 -0
- package/lib/chunks/chunk-FAPRFOYB.esm.js +1 -0
- package/lib/chunks/{chunk-LDOM2UUN.esm.js → chunk-FLYTTTRD.esm.js} +1 -1
- package/lib/chunks/chunk-FVTAFMZS.esm.js +1 -0
- package/lib/chunks/{chunk-B7BKUYC4.esm.js → chunk-G5RULAV3.esm.js} +1 -1
- package/lib/chunks/chunk-G6BWM323.esm.js +1 -0
- package/lib/chunks/chunk-G72VRGFR.esm.js +1 -0
- package/lib/chunks/chunk-GZQXLRSB.esm.js +1 -0
- package/lib/chunks/chunk-HAYP3N7C.esm.js +1 -0
- package/lib/chunks/{chunk-4XKKIEQL.esm.js → chunk-I47BDQKT.esm.js} +1 -1
- package/lib/chunks/chunk-I5HNFKYR.esm.js +32 -0
- package/lib/chunks/{chunk-TQMP7PZI.esm.js → chunk-I6XZCSTD.esm.js} +1 -1
- package/lib/chunks/chunk-IC54RGJD.esm.js +1 -0
- package/lib/chunks/chunk-IN7B3PCD.esm.js +50 -0
- package/lib/chunks/chunk-IW3VOOEV.esm.js +1 -0
- package/lib/chunks/chunk-IWESXUNV.esm.js +1 -0
- package/lib/chunks/chunk-JA7HYODC.esm.js +1 -0
- package/lib/chunks/{chunk-S5ONND5F.esm.js → chunk-JOQLL6XH.esm.js} +1 -1
- package/lib/chunks/{chunk-EU4FKCQL.esm.js → chunk-JSVL6DGF.esm.js} +1 -1
- package/lib/chunks/{chunk-S4K2XENC.esm.js → chunk-JTXT4BH4.esm.js} +1 -1
- package/lib/chunks/{chunk-FOWO4QTS.esm.js → chunk-K6R7CVK4.esm.js} +1 -1
- package/lib/chunks/{chunk-REPFMEFA.esm.js → chunk-KO5FSKVM.esm.js} +1 -1
- package/lib/chunks/{chunk-P7ARPZBU.esm.js → chunk-KUIKMMIH.esm.js} +1 -1
- package/lib/chunks/chunk-LLSORQ2S.esm.js +1 -0
- package/lib/chunks/chunk-LMFC47WU.esm.js +1 -0
- package/lib/chunks/chunk-LRMCUTRX.esm.js +1 -0
- package/lib/chunks/chunk-M2X77U6D.esm.js +1 -0
- package/lib/chunks/{chunk-RRTLPB5F.esm.js → chunk-MDIM6HBL.esm.js} +1 -1
- package/lib/chunks/chunk-MNSZ72SE.esm.js +1 -0
- package/lib/chunks/{chunk-N273ZLSA.esm.js → chunk-MSAOOFU2.esm.js} +1 -1
- package/lib/chunks/{chunk-ZRYB2F7G.esm.js → chunk-N72LVPOX.esm.js} +1 -1
- package/lib/chunks/chunk-NIUGF5KU.esm.js +1 -0
- package/lib/chunks/{chunk-ZVL3UZ6R.esm.js → chunk-NWFQZITM.esm.js} +1 -1
- package/lib/chunks/{chunk-UX2DHPUJ.esm.js → chunk-NXMJZMST.esm.js} +1 -1
- package/lib/chunks/{chunk-2BWCWW2Q.esm.js → chunk-NYKFDMIM.esm.js} +1 -1
- package/lib/chunks/{chunk-IXYOWFP7.esm.js → chunk-NZIVEBN6.esm.js} +1 -1
- package/lib/chunks/chunk-OAMAE3G7.esm.js +1 -0
- package/lib/chunks/chunk-OJ4UJIYY.esm.js +1 -0
- package/lib/chunks/chunk-PD2ZYT6K.esm.js +1 -0
- package/lib/chunks/{chunk-3HZLT4FV.esm.js → chunk-PER3TT67.esm.js} +1 -1
- package/lib/chunks/chunk-PJLMOWDY.esm.js +1 -0
- package/lib/chunks/{chunk-MKGWYKH6.esm.js → chunk-QHV3TXJB.esm.js} +1 -1
- package/lib/chunks/{chunk-LLQWVULM.esm.js → chunk-QTTSRMOW.esm.js} +1 -1
- package/lib/chunks/{chunk-LSLBDF5M.esm.js → chunk-S3XZBMR2.esm.js} +1 -1
- package/lib/chunks/{chunk-SEPVF2TL.esm.js → chunk-SAPHWVC7.esm.js} +1 -1
- package/lib/chunks/{chunk-VJ5GIFXO.esm.js → chunk-SF5BK4KT.esm.js} +1 -1
- package/lib/chunks/{chunk-HZZBNAF4.esm.js → chunk-SSKJNT7I.esm.js} +1 -1
- package/lib/chunks/chunk-SZW2G5KH.esm.js +1 -0
- package/lib/chunks/chunk-T3ANVSKR.esm.js +1 -0
- package/lib/chunks/{chunk-LUVBIWXK.esm.js → chunk-T4R2OTIU.esm.js} +1 -1
- package/lib/chunks/chunk-T5G7LXNZ.esm.js +3 -0
- package/lib/chunks/chunk-TCA5DSF6.esm.js +1 -0
- package/lib/chunks/{chunk-BTPOCQ2L.esm.js → chunk-U3YG36FD.esm.js} +1 -1
- package/lib/chunks/{chunk-6PIT5MY3.esm.js → chunk-U4K7OFBQ.esm.js} +1 -1
- package/lib/chunks/{chunk-64VNULOI.esm.js → chunk-UCNKTKY7.esm.js} +1 -1
- package/lib/chunks/chunk-UEH3ETCI.esm.js +1 -0
- package/lib/chunks/chunk-UGA75LGY.esm.js +1 -0
- package/lib/chunks/chunk-UGIYAS67.esm.js +1 -0
- package/lib/chunks/chunk-USRV73BT.esm.js +1 -0
- package/lib/chunks/{chunk-XR763B4T.esm.js → chunk-UWH5IBPA.esm.js} +1 -1
- package/lib/chunks/chunk-VQK2V46Q.esm.js +4 -0
- package/lib/chunks/{chunk-M3VFZ745.esm.js → chunk-VUZ7WSRT.esm.js} +1 -1
- package/lib/chunks/{chunk-3NQ3E6K6.esm.js → chunk-WAFYMVV2.esm.js} +1 -1
- package/lib/chunks/{chunk-EJ245MA7.esm.js → chunk-WKXEPDPZ.esm.js} +1 -1
- package/lib/chunks/chunk-WPWCWCG7.esm.js +1 -0
- package/lib/chunks/chunk-WSLWGPOE.esm.js +1 -0
- package/lib/chunks/{chunk-ODL5JUYM.esm.js → chunk-XI4HR75A.esm.js} +1 -1
- package/lib/chunks/chunk-XQJ4DROM.esm.js +1 -0
- package/lib/chunks/{chunk-KXU5DIBH.esm.js → chunk-YKMNVUK7.esm.js} +1 -1
- package/lib/chunks/{chunk-WLFYIXN6.esm.js → chunk-YP7EK4TW.esm.js} +1 -1
- package/lib/chunks/chunk-Z4WWUEI5.esm.js +48 -0
- package/lib/chunks/{chunk-CIHS5F2A.esm.js → chunk-Z65RA27A.esm.js} +1 -1
- package/lib/chunks/chunk-Z7CRNRPL.esm.js +1 -0
- package/lib/chunks/{chunk-7ATA5LLY.esm.js → chunk-ZCUESGLP.esm.js} +1 -1
- package/lib/chunks/chunk-ZEA5JYFE.esm.js +1 -0
- package/lib/chunks/{chunk-C7U4X56I.esm.js → chunk-ZJET55OZ.esm.js} +1 -1
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Box/Box.style.d.ts +2 -2
- package/lib/containers/Box/index.esm.js +1 -1
- package/lib/containers/Card/Card.style.d.ts +8 -8
- 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 +2 -2
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.style.d.ts +2 -2
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.style.d.ts +8 -8
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.style.d.ts +4 -4
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.style.d.ts +4 -4
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/Accordion/Accordion.style.d.ts +82 -6
- package/lib/dataDisplay/Accordion/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.filters.d.ts +1 -1
- package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +4 -3
- package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +68 -3
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +20 -25
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Diff/Diff.colors.d.ts +48 -0
- package/lib/dataDisplay/Diff/Diff.d.ts +30 -0
- package/lib/dataDisplay/Diff/Diff.interface.d.ts +174 -0
- package/lib/dataDisplay/Diff/Diff.parser.d.ts +30 -0
- package/lib/dataDisplay/Diff/Diff.style.d.ts +45 -0
- package/lib/dataDisplay/Diff/index.d.ts +9 -0
- package/lib/dataDisplay/Diff/index.esm.js +1 -0
- package/lib/dataDisplay/Meter/Meter.d.ts +13 -0
- package/lib/dataDisplay/Meter/Meter.interface.d.ts +98 -36
- package/lib/dataDisplay/Meter/Meter.style.d.ts +21 -6
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Sparkline/Sparkline.d.ts +23 -0
- package/lib/dataDisplay/Sparkline/Sparkline.interface.d.ts +54 -0
- package/lib/dataDisplay/Sparkline/Sparkline.path.d.ts +13 -0
- package/lib/dataDisplay/Sparkline/Sparkline.style.d.ts +12 -0
- package/lib/dataDisplay/Sparkline/index.d.ts +9 -0
- package/lib/dataDisplay/Sparkline/index.esm.js +1 -0
- package/lib/dataDisplay/Steps/Steps.style.d.ts +12 -12
- package/lib/dataDisplay/Steps/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/Table.d.ts +4 -0
- package/lib/dataDisplay/Table/Table/Table.interface.d.ts +30 -1
- package/lib/dataDisplay/Table/Table/Table.style.d.ts +107 -0
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table.shared.d.ts +0 -6
- package/lib/dataDisplay/Table/TableCell/TableCell.d.ts +19 -1
- package/lib/dataDisplay/Table/TableCell/TableCell.interface.d.ts +13 -0
- package/lib/dataDisplay/Table/TableCell/TableCell.style.d.ts +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.style.d.ts +2 -2
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +12 -12
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeader/TableHeader.style.d.ts +3 -2
- package/lib/dataDisplay/Table/TableHeader/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.d.ts +5 -1
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.interface.d.ts +9 -0
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.style.d.ts +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.style.d.ts +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +22 -22
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.d.ts +2 -0
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.style.d.ts +4 -4
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/Calendar.style.d.ts +77 -1
- package/lib/elements/Calendar/index.esm.js +1 -1
- package/lib/elements/Chip/index.esm.js +1 -1
- package/lib/elements/ChipGroup/index.esm.js +1 -1
- package/lib/elements/Divider/Divider.style.d.ts +4 -4
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +1 -1
- package/lib/elements/Dropdown/Dropdown.floating.d.ts +3 -1
- package/lib/elements/Dropdown/Dropdown.interface.d.ts +9 -2
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.style.d.ts +16 -16
- 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/Link.style.d.ts +2 -2
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.d.ts +5 -0
- package/lib/elements/List/List.interface.d.ts +29 -6
- package/lib/elements/List/List.style.d.ts +18 -4
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.interface.d.ts +11 -1
- package/lib/elements/Modal/Modal.style.d.ts +15 -13
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/NavBar/index.esm.js +1 -1
- package/lib/elements/NavTabs/index.esm.js +1 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +4 -4
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/Sheet.style.d.ts +20 -20
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/StatusDot/index.esm.js +1 -1
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.floating.d.ts +3 -1
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/BackgroundFactory/index.esm.js +1 -1
- package/lib/factory/ColorFactory/index.esm.js +1 -1
- package/lib/factory/ContainerQueryFactory/index.esm.js +1 -1
- package/lib/factory/DeepFactory/index.esm.js +1 -1
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/ViewportMediaFactory/index.esm.js +1 -1
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.d.ts +9 -1
- package/lib/form/Checkbox/Checkbox.interface.d.ts +12 -0
- package/lib/form/Checkbox/Checkbox.style.d.ts +16 -14
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.d.ts +6 -0
- package/lib/form/Field/Field.interface.d.ts +7 -1
- package/lib/form/Field/Field.style.d.ts +4 -4
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/FieldGroup.d.ts +5 -0
- package/lib/form/FieldGroup/FieldGroup.helpers.d.ts +22 -0
- package/lib/form/FieldGroup/FieldGroup.interface.d.ts +48 -10
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.style.d.ts +8 -8
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.helpers.d.ts +1 -1
- package/lib/form/Input/Input.interface.d.ts +6 -0
- package/lib/form/Input/Input.style.d.ts +11 -11
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.style.d.ts +4 -4
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.style.d.ts +84 -10
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/DropdownIndicator.d.ts +8 -7
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Option/Option.style.d.ts +4 -4
- package/lib/form/Option/index.esm.js +1 -1
- package/lib/form/Radio/Radio.style.d.ts +4 -4
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.style.d.ts +2 -2
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.style.d.ts +12 -12
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +16 -16
- 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/hooks/useDrag/index.esm.js +1 -1
- package/lib/hooks/useDrag/useDrag.d.ts +2 -1
- package/lib/hooks/useDrag/useDrag.helpers.d.ts +5 -2
- package/lib/hooks/useDrag/useDrag.interface.d.ts +5 -0
- package/lib/hooks/useFileDialog/index.esm.js +1 -1
- package/lib/hooks/useFileDialog/useFileDialog.d.ts +3 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +10 -10
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.d.ts +6 -5
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +10 -10
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.interface.d.ts +8 -2
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/TextPreset.d.ts +18 -2
- package/lib/skeleton/TextPreset/index.d.ts +1 -0
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/A11y/A11y.focusRing.d.ts +52 -0
- package/lib/themes/A11y/A11y.visuallyHidden.d.ts +7 -0
- package/lib/themes/Colors/index.esm.js +1 -1
- package/lib/themes/Component/Component.interface.d.ts +57 -1
- package/lib/themes/Component/index.d.ts +1 -1
- package/lib/themes/Component/index.esm.js +1 -1
- package/lib/themes/Deep/index.esm.js +1 -1
- package/lib/themes/Depth/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/Ground/index.esm.js +1 -1
- package/lib/themes/Layout/Layout.interface.d.ts +1 -1
- package/lib/themes/Layout/Layout.props.d.ts +10 -3
- package/lib/themes/Layout/index.esm.js +1 -1
- package/lib/themes/Semantic/index.esm.js +1 -1
- package/lib/themes/Surface/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/TanstackReactVirtual/component.d.ts +1 -1
- package/package.json +18 -10
- package/lib/chunks/Dropdown.floating-RZKMFV6N.esm.js +0 -1
- package/lib/chunks/Notification.group-OOLQ3DCI.esm.js +0 -1
- package/lib/chunks/Tooltip.floating-ELFMKU3S.esm.js +0 -1
- package/lib/chunks/chunk-24CF72TV.esm.js +0 -1
- package/lib/chunks/chunk-3EWFXP4N.esm.js +0 -1
- package/lib/chunks/chunk-47UE4K3O.esm.js +0 -1
- package/lib/chunks/chunk-4MBDLRIT.esm.js +0 -1
- package/lib/chunks/chunk-536CYSLZ.esm.js +0 -1
- package/lib/chunks/chunk-6D5LRZHG.esm.js +0 -1
- package/lib/chunks/chunk-6PVZ2DEN.esm.js +0 -1
- package/lib/chunks/chunk-7MX2FUN4.esm.js +0 -1
- package/lib/chunks/chunk-7PPAEO52.esm.js +0 -50
- package/lib/chunks/chunk-7PZTYH4G.esm.js +0 -1
- package/lib/chunks/chunk-A3OJEVGQ.esm.js +0 -1
- package/lib/chunks/chunk-AULAOFBW.esm.js +0 -1
- package/lib/chunks/chunk-AWLWV76H.esm.js +0 -1
- package/lib/chunks/chunk-AWOVVB76.esm.js +0 -1
- package/lib/chunks/chunk-BTO37XLJ.esm.js +0 -1
- package/lib/chunks/chunk-BUPS7DX6.esm.js +0 -1
- package/lib/chunks/chunk-CTNDAXMO.esm.js +0 -1
- package/lib/chunks/chunk-EEPJZ62X.esm.js +0 -39
- package/lib/chunks/chunk-F4JQP5I6.esm.js +0 -1
- package/lib/chunks/chunk-FDF774OD.esm.js +0 -1
- package/lib/chunks/chunk-FMNMEPTI.esm.js +0 -4
- package/lib/chunks/chunk-HG55HD7C.esm.js +0 -1
- package/lib/chunks/chunk-HQG2TBRB.esm.js +0 -1
- package/lib/chunks/chunk-IQQH6HMG.esm.js +0 -1
- package/lib/chunks/chunk-JPHQLSMT.esm.js +0 -1
- package/lib/chunks/chunk-KI46FTJ7.esm.js +0 -34
- package/lib/chunks/chunk-KR2X2UQG.esm.js +0 -1
- package/lib/chunks/chunk-L7A7RA56.esm.js +0 -1
- package/lib/chunks/chunk-LB4UJSH7.esm.js +0 -1
- package/lib/chunks/chunk-LNSQRZR7.esm.js +0 -1
- package/lib/chunks/chunk-MYU2IAR3.esm.js +0 -1
- package/lib/chunks/chunk-PB6W2IE3.esm.js +0 -1
- package/lib/chunks/chunk-PPM5MYBX.esm.js +0 -1
- package/lib/chunks/chunk-Q3FUXFD5.esm.js +0 -1
- package/lib/chunks/chunk-QRUKZL4X.esm.js +0 -1
- package/lib/chunks/chunk-SPN5664Z.esm.js +0 -1
- package/lib/chunks/chunk-U3CY4REV.esm.js +0 -1
- package/lib/chunks/chunk-UKMNA2P3.esm.js +0 -1
- package/lib/chunks/chunk-UPJVBBBN.esm.js +0 -1
- package/lib/chunks/chunk-URGL4O5W.esm.js +0 -1
- package/lib/chunks/chunk-XAXIQDFB.esm.js +0 -48
- package/lib/chunks/chunk-XKACWIWC.esm.js +0 -1
- package/lib/chunks/chunk-YEWND54D.esm.js +0 -1
- package/lib/chunks/chunk-Z4PVL3DV.esm.js +0 -1
- package/lib/chunks/chunk-ZJT2WQTR.esm.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
import{b as y}from"./chunk-BNB3KNKE.esm.js";import{b as f}from"./chunk-VCMHX5VK.esm.js";import{b as m}from"./chunk-AAZFRX52.esm.js";import{b as a}from"./chunk-QYL6LECA.esm.js";import{b as i}from"./chunk-C7U4X56I.esm.js";import{e as c}from"./chunk-QXV2TDLZ.esm.js";import{b as n}from"./chunk-IK5Z5C2R.esm.js";import{b as e}from"./chunk-ODL5JUYM.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var d=o((r,F)=>{let t={theme:F};return{...y(r)(),...a(r)(t),...e(r)(t),...f(r)(t),...m(r)(t),...c(r,{defaultDirection:!1})(t),...n(r)(t),...i(r)(t)}},"channelStyles");export{d as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as y}from"./chunk-LSLBDF5M.esm.js";import{a as h}from"./chunk-EJ245MA7.esm.js";import{k as b}from"./chunk-REPFMEFA.esm.js";import{b as s,g as c}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import{forwardRef as S,useRef as v}from"react";var g=c(y).withConfig({componentId:"sc-rp85te-0"})(["padding:",";border-radius:",";background:",";"],({theme:e})=>e.spacing("micro"),({theme:e})=>e.border.borderRadius.md,({theme:e})=>e.colors.surface.sunken),I={small:s(["min-height:1.75rem;padding:0 ",";font-size:",";"],({theme:e})=>e.spacing("small"),({theme:e})=>e.font.fontSize.xs),medium:s(["min-height:2.25rem;padding:0 ",";font-size:",";"],({theme:e})=>e.spacing("medium"),({theme:e})=>e.font.fontSize.small)},k=c.button.withConfig({componentId:"sc-rp85te-1"})(["appearance:none;border:0;margin:0;background:transparent;cursor:pointer;font-family:",";font-weight:",";line-height:",";color:",";border-radius:",";transition:",";display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:",";",";&:hover:not([aria-checked='true']):not(:disabled){background:",";}&[aria-checked='true']{background:",";box-shadow:",";color:",";}&:focus-visible{outline:2px solid ",";outline-offset:1px;}&:disabled{cursor:not-allowed;color:",";}"],({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.fontWeight.bold,({theme:e})=>e.font.lineHeight.tight,({theme:e})=>e.colors.ink.secondary,({theme:e})=>e.border.borderRadius.sm,({theme:e})=>e.animation.transitions.short,({$fullWidth:e})=>e?"1 1 0":"0 0 auto",({$size:e})=>I[e],({theme:e})=>e.colors.wash.hover,({theme:e})=>e.colors.surface.raised,({theme:e})=>e.depth("level-one"),({theme:e})=>e.colors.ink.primary,({theme:e})=>h(e,i=>b(i.colors.primary,"base")),({theme:e})=>e.colors.ink.disabled);import{jsx as w}from"react/jsx-runtime";var x=S(({options:e,value:i,onChange:O,size:R="medium",label:D,fullWidth:d=!0,...C},a)=>{let f=v(null),m=l(r=>{var o,t;let n=e[r];!n||n.disabled||n.value===i||(O(n.value),(t=(o=f.current)==null?void 0:o.querySelectorAll('[role="radio"]')[r])==null||t.focus())},"pick"),u=l((r,n)=>{let o=e.length,t=r;for(let p=0;p<o;p+=1)if(t=(t+n+o)%o,!e[t].disabled)return t;return r},"step");return w(g,{flexDirection:"row",alignItems:"stretch",gap:"micro",width:d?"100%":void 0,role:"radiogroup","aria-label":D,onKeyDown:l(r=>{let n=e.findIndex(t=>t.value===i),o=null;r.key==="ArrowRight"||r.key==="ArrowDown"?o=u(n,1):r.key==="ArrowLeft"||r.key==="ArrowUp"?o=u(n,-1):r.key==="Home"?o=e.findIndex(t=>!t.disabled):r.key==="End"&&(o=e.length-1-[...e].reverse().findIndex(t=>!t.disabled)),!(o===null||o<0)&&(r.preventDefault(),m(o))},"handleKeyDown"),...C,ref:l(r=>{f.current=r,typeof a=="function"?a(r):a&&(a.current=r)},"setRefs"),children:e.map((r,n)=>{let o=r.value===i;return w(k,{type:"button",role:"radio","aria-checked":o,tabIndex:o?0:-1,disabled:r.disabled,$size:R,$fullWidth:d,onClick:()=>m(n),children:r.label},r.value)})})});x.displayName="Option";export{g as a,k as b,x as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as re}from"./chunk-BE2JDTVA.esm.js";import{b as y}from"./chunk-E2U6IFPB.esm.js";import{a as ee}from"./chunk-EU4FKCQL.esm.js";import{a as p}from"./chunk-TQMP7PZI.esm.js";import{b as v}from"./chunk-G5Z7USXC.esm.js";import{b as R,g as l}from"./chunk-AXUWC2WH.esm.js";import{a as u}from"./chunk-GZONWSRB.esm.js";var Ie=R(["--railColor:",";--trackColor:",";--thumbColor:",";--markColor:",";"],({theme:e})=>e.colors.primary.light,({theme:e})=>e.colors.primary.base,({theme:e})=>e.colors.primary.action,({theme:e})=>e.colors.primary.active),Fe=R(["pointer-events:none;--railColor:",";--trackColor:",";--thumbColor:",";--markColor:transparent;"],({theme:e})=>e.colors.muted,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.strong),oe=l(p).withConfig({componentId:"sc-18639os-0"})(["--height:6px;",";cursor:pointer;box-sizing:content-box;height:var(--height);padding:1.5rem 0 2rem;width:100%;"],({disabled:e})=>e?Fe:Ie),te=l(p).withConfig({componentId:"sc-18639os-1"})(["width:100%;height:var(--height);background:var(--railColor);position:absolute;border-radius:calc(var(--height) / 2);box-shadow:0px 0px 0px 1px var(--railColor);"]),ne=l(p).withConfig({componentId:"sc-18639os-2"})(["height:var(--height);box-shadow:0px 0px 0px 1px var(--trackColor);background:var(--trackColor);border-radius:calc(var(--height) / 2);position:absolute;left:0;"]),Le=u((e,o)=>{let t=[e.colors("danger"),e.colors("warning"),e.colors("success")];return(o==="descending"?t.reverse():t).join(", ")},"gradientStops"),ie=l(p).withConfig({componentId:"sc-18639os-3"})(["height:var(--height);background-image:linear-gradient(to right,",");background-repeat:no-repeat;border-radius:calc(var(--height) / 2);position:absolute;width:100%;left:0;"],({theme:e,$direction:o})=>Le(e,o)),ae=l(p).withConfig({componentId:"sc-18639os-4"})(["height:var(--height);background-color:var(--railColor);background-repeat:no-repeat;position:absolute;right:0;"]),D=l(p).attrs(e=>({bgColor:"surface.raised",color:"ink.primary",borderRadius:"xs",borderWidth:"thin",p:"micro",...e})).withConfig({componentId:"sc-18639os-5"})(["--borderColor:",";opacity:0;transition:all var(--apollion-motion-duration-200,200ms) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1));text-align:center;position:absolute;bottom:",";left:50%;transform:translateX(-50%);font-size:",";white-space:nowrap;border-color:var(--borderColor);@media (pointer:coarse){bottom:",";}&:before{content:'';position:absolute;width:0;height:0;border-top:10px solid var(--borderColor);border-left:5px solid transparent;border-right:5px solid transparent;top:100%;left:50%;margin-left:-5px;margin-top:-1px;}"],({theme:e})=>e.colors.edge.border,({theme:e})=>e.spacing("large"),({theme:e})=>e.font.fontSize.micro,({theme:e})=>e.spacing("xl")),Pe=R(["box-shadow:0px 0px 0px 9px "," !important;& ","{opacity:1;}"],({theme:e})=>e.colors.wash.pressed,D),se=l(p).withConfig({componentId:"sc-18639os-6"})(["--size:calc(var(--height) * 2.4);display:flex;justify-content:center;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);position:absolute;background:var(--thumbColor);transition:box-shadow var(--apollion-motion-intent-micro-duration,150ms) var(--apollion-motion-intent-micro-easing,cubic-bezier(0.42,0,0.58,1));&:hover{box-shadow:0px 0px 0px 6px ",";","{opacity:1;}}&:focus-visible{outline:2px solid var(--trackColor);outline-offset:2px;}@media (pointer:coarse){--size:calc(var(--height) * 3.5);}",""],({theme:e})=>e.colors.wash.hover,D,({active:e})=>e&&Pe),le=l(p).attrs(e=>({borderRadius:"circular",...e})).withConfig({componentId:"sc-18639os-7"})(["--size:calc(var(--height) * 0.8);position:absolute;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);background:",";"],({active:e})=>e?"var(--thumbColor)":"var(--markColor)"),ce=l(p).withConfig({componentId:"sc-18639os-8"})(["position:absolute;margin-top:1rem;transform:translateX(-50%);white-space:nowrap;font-family:",";font-size:",";font-weight:",";color:",";"],({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.fontSize.micro,({theme:e,$picked:o})=>o?e.font.fontWeight.bold:e.font.fontWeight.regular,({theme:e,$picked:o})=>o?e.colors.ink.primary:e.colors.ink.secondary),de=l(p).withConfig({componentId:"sc-18639os-9"})(["display:flex;flex-direction:column;gap:",";width:100%;"],({theme:e})=>e.spacing("micro")),ue=l(p).withConfig({componentId:"sc-18639os-10"})(["display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:",";font-family:",";font-size:",";"],({theme:e})=>e.spacing("xs"),({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.fontSize.xs),pe=l.span.withConfig({componentId:"sc-18639os-11"})(["font-weight:",";color:",";"],({theme:e})=>e.font.fontWeight.bold,({theme:e})=>e.colors.ink.primary),fe=l.span.withConfig({componentId:"sc-18639os-12"})(["margin-inline-start:auto;font-variant-numeric:tabular-nums;color:",";"],({theme:e})=>e.colors.ink.secondary);import Ve,{useCallback as xe,useEffect as H,useId as Be,useMemo as Ge,useRef as I,useState as Xe}from"react";function X(e,o,t){return(e-o)*100/(t-o)}u(X,"valueToPercent");function be(e,o,t){return(t-o)*e+o}u(be,"percentToValue");function me(e){let[,o=""]=String(e).split(".");return o.length}u(me,"decimals");function he(e,o,t){let a=Math.round((e-t)/o)*o+t;return Number(a.toFixed(Math.max(me(o),me(t))))}u(he,"roundValueToStep");function ge(e,o,t,a,f){let i=f>0?f:(a-t)/100,x=Math.max(i,Math.round((a-t)/10/i)*i),S={ArrowLeft:-i,ArrowDown:-i,ArrowRight:i,ArrowUp:i,PageDown:-x,PageUp:x},w;if(e==="Home")w=t;else if(e==="End")w=a;else if(e in S)w=Math.min(Math.max(t,o+S[e]),a);else return;return T(w,a,t,f)}u(ge,"keyboardValue");function ve(e){return e>=1?1:e<=0?0:e}u(ve,"clamp");function T(e,o,t,a){if(Number.isFinite(e)&&e>=t&&e<=o){if(!a)return e;let i=he(e,a,t);return i>o?he(i-a,a,t):i}return Math.min(Math.max(t,e),o)}u(T,"normalizeValue");import{jsx as m,jsxs as F}from"react/jsx-runtime";function $({gradient:e,disabled:o,getLabelValue:t,markLabel:a,onChange:f,onInput:i,label:x,showValue:S=!1,id:w,"aria-label":Se,"aria-labelledby":L,value:P=50,max:d=100,min:c=0,step:h=1,mark:A,area:we,alignSelf:Ce,justifySelf:ye}){let[g,N]=Xe(()=>T(P,d,c,h)),k=I(g);H(()=>{N(r=>{let n=T(P,d,c,h);return n!==r?n:r})},[P,d,c,h]),H(()=>{k.current=g},[g]);let{active:Te,enable:W,disable:ke}=re(),K=I(null),j=I(null),U=`${Be()}-label`,Ee=Ge(()=>{if(!(A===!0&&h))return[];let r=Math.floor((d-c)/h)+1;return!Number.isFinite(r)||r<=0||r>1e4?[]:[...Array(r)].map((n,s)=>{let b=c+h*s;return{value:b,...t&&a&&{label:t(b)}}})},[A,t,a,h,c,d]),E=I(void 0);H(()=>()=>clearTimeout(E.current),[]);let V=xe(r=>r===k.current?!1:(k.current=r,N(r),i==null||i(r),!0),[i]),B=xe(r=>{var Z;let n=0;try{if(r.type==="touchmove"){let[z]=r.changedTouches;n=z==null?void 0:z.clientX}else n=r.clientX}catch(z){n=r.clientX}let s=(Z=K.current)==null?void 0:Z.getBoundingClientRect();if(!s)return;let b=ve((n-s.left)/s.width),Y=T(be(b,c,d),d,c,h);V(Y),f&&(clearTimeout(E.current),E.current=setTimeout(()=>{f(Y)},100))},[c,d,h,f,V]),M=y(r=>{B(r)}),C=y(()=>{var r,n,s,b;ke(),(r=v)==null||r.document.removeEventListener("mousemove",M),(n=v)==null||n.document.removeEventListener("mouseup",C),(s=v)==null||s.document.removeEventListener("touchmove",M),(b=v)==null||b.document.removeEventListener("touchend",C)});H(()=>C,[C]);let Me=y(r=>{var n,s,b;r.preventDefault(),(n=j.current)==null||n.focus({preventScroll:!0}),B(r),W(),(s=v)==null||s.document.addEventListener("mousemove",M,{passive:!1}),(b=v)==null||b.document.addEventListener("mouseup",C,{passive:!1})}),ze=y(r=>{var n,s;r.stopPropagation(),B(r),W(),(n=v)==null||n.document.addEventListener("touchmove",M,{passive:!1}),(s=v)==null||s.document.addEventListener("touchend",C,{passive:!1})}),Re=y(r=>{if(o)return;let n=ge(r.key,k.current,c,d,h);n!==void 0&&(r.preventDefault(),V(n)&&(clearTimeout(E.current),f==null||f(n)))}),G=t?t(g):String(g),_=x!=null||S,De=L!=null?L:x!=null?U:void 0,q=`${X(g,c,d)}%`,He={width:q},J={left:q},O={area:we,alignSelf:Ce,justifySelf:ye},Q=F(oe,{ref:K,onMouseDown:Me,onTouchStart:ze,disabled:o,...!_&&O,children:[m(te,{}),e?m(ie,{$direction:e==="descending"?"descending":"ascending",children:m(ae,{style:J})}):m(ne,{style:He}),Ee.map(r=>{let n={left:`${X(r.value,c,d)}%`};return F(Ve.Fragment,{children:[m(le,{active:r.value<=g,style:n,"aria-hidden":!0}),r.label&&m(ce,{$picked:r.value===g,style:n,"aria-hidden":!0,children:r.label})]},r.value)}),m(se,{ref:j,id:w,role:"slider",tabIndex:o?void 0:0,"aria-valuemin":c,"aria-valuemax":d,"aria-valuenow":g,"aria-valuetext":t?G:void 0,"aria-label":Se,"aria-labelledby":De,"aria-disabled":o||void 0,onKeyDown:Re,borderRadius:"circular",deep:1,active:Te,style:J,"data-testid":"input-range-thumb",children:!o&&!S&&m(D,{children:m(ee,{children:G})})})]});return _?F(de,{...O,children:[F(ue,{children:[x!=null&&m(pe,{id:U,children:x}),S&&m(fe,{"data-testid":"input-range-value",children:G})]}),Q]}):Q}u($,"Slider");$.displayName="Slider";$.ariaLabelledByField=!0;export{oe as a,te as b,ne as c,ie as d,ae as e,D as f,se as g,le as h,ce as i,de as j,ue as k,pe as l,fe as m,$ as n};
|
|
@@ -1 +0,0 @@
|
|
|
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};
|
|
@@ -1 +0,0 @@
|
|
|
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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as S}from"./chunk-EU4FKCQL.esm.js";import{a as v}from"./chunk-2Z3UZIWZ.esm.js";import{a as C}from"./chunk-4XKKIEQL.esm.js";import{a as y}from"./chunk-LSLBDF5M.esm.js";import{d as p}from"./chunk-RWLJNXLX.esm.js";import{b as x}from"./chunk-VCMHX5VK.esm.js";import{e as B}from"./chunk-QXV2TDLZ.esm.js";import{b as g}from"./chunk-IK5Z5C2R.esm.js";import{e as m}from"./chunk-3WXII2F3.esm.js";import{a as u}from"./chunk-EJ245MA7.esm.js";import{j as f}from"./chunk-REPFMEFA.esm.js";import{b as a,g as h}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import{forwardRef as A}from"react";function k(t="2px"){return a(["@media (forced-colors:active){&:focus-visible{outline:2px solid Highlight;outline-offset:",";}}"],t)}n(k,"forcedColorsFocusRestoreCss");var N=5,O=n(({size:t="medium",theme:o})=>{var e;let r=(e=o.component.button.size[t])!=null?e:o.component.button.size.medium;return[g({fontWeight:r.fontWeight,fontSize:r.fontSize,...r.textTransform!==void 0&&{textTransform:r.textTransform}}),x({py:r.py,px:r.px}),p({borderRadius:r.borderRadius})]},"buttonSize"),d=n((t,o)=>o==="neutral"?t.colors.quiet:t.colors[o],"buttonPalette"),I=n((t,o,r)=>d(t,o)[r],"stopOf"),l=n((t,o,r)=>u(t,e=>e.colors.getContrastColor(I(e,o,r))),"contrastInk"),s=n((t,o,r)=>{let e=u(t,i=>{var c;return f(I(i,o,r),(c=i.colors.baseLight)!=null?c:"#FFFFFF",N)});return r==="base"?m(e,"tx",o):e},"readableInk"),H=n((t,o)=>{let r=d(o,t);return a(["color:",";background:",";border-color:",";box-shadow:",";&:hover{color:",";background:",";border-color:",";box-shadow:",";}&:focus{color:",";background:",";border-color:",";&:hover{border-color:",";}}&:active{&,&:hover,&:focus{color:",";background:",";border-color:",";}}&:disabled{background:",";border-color:",";color:",";box-shadow:",";cursor:default;}"],l(o,t,"base"),r.base,r.base,e=>e.theme.depth("level-two"),l(o,t,"action"),r.action,r.action,e=>e.theme.depth("level-zero"),l(o,t,"action"),r.action,r.active,r.action,l(o,t,"active"),r.active,r.light,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color,e=>e.theme.depth("level-zero"))},"ButtonContained"),L=n((t,o)=>{let r=d(o,t);return a(["background:transparent;color:",";border-color:",";&:hover{color:",";background:",";border-color:",";}&:focus{color:",";background:",";border-color:",";box-shadow:",";&:hover{border-color:",";}}&:active{&,&:hover,&:focus{background-color:transparent;color:",";border-color:",";box-shadow:",";}}&:disabled{color:",";background:",";border-color:",";cursor:default;}"],s(o,t,"base"),r.base,l(o,t,"action"),r.action,r.action,l(o,t,"action"),r.action,r.active,e=>e.theme.depth("level-two"),r.action,r.dark,r.light,e=>e.theme.depth("level-two"),o.colors.disabled.color,o.colors.disabled.fill,o.colors.disabled.fill)},"ButtonOutlined"),M=n((t,o)=>{let r=d(o,t);return a(["background:transparent;color:",";border-color:transparent;border-radius:none;&:hover{color:",";text-decoration:underline;}&:focus{color:",";text-decoration:underline;}&:active{color:",";text-decoration:underline;}&:disabled{color:",";text-decoration:none;cursor:default;}"],s(o,t,"base"),s(o,t,"action"),s(o,t,"base"),s(o,t,"active"),o.colors.disabled.color)},"ButtonLinked"),_=n((t,o)=>a(["background:transparent;border-color:transparent;box-shadow:none;color:",";&:hover{background:",";color:",";text-decoration:none;}&:focus-visible{background:",";outline:2px solid ",";outline-offset:1px;}&:active{background:",";color:",";}&:disabled{background:transparent;color:",";cursor:default;}"],s(o,t,"base"),o.colors.wash.hover,s(o,t,"action"),o.colors.wash.hover,s(o,t,"base"),o.colors.wash.pressed,s(o,t,"active"),o.colors.disabled.color),"ButtonGhost"),j=n(({color:t,variant:o,theme:r})=>{let e;switch(o){case"outlined":e=L(t,r);break;case"linked":e=M(t,r);break;case"ghost":e=_(t,r);break;default:e=H(t,r)}return a(["&&{","}"],e)},"buttonVariant"),V=n(({fullWidth:t})=>({width:t?"100%":"fit-content"}),"isFullWidth"),q=a(["outline:0;"," cursor:pointer;transition:",";"," "," "," "," ",""],k("1px"),({theme:t})=>t.animation.transitions.short,p({borderWidth:"regular",borderStyle:"solid"}),B({gap:"xs",flexDirection:"row",alignItems:"center",justifyContent:"center"}),V,O,j),T=h(y).withConfig({componentId:"sc-12djmz6-0"})([""," ","{width:1em;height:1em;}"],q,C);import{jsx as b}from"react/jsx-runtime";var w=A(({children:t,text:o,isLoading:r,icon:e=null,iconPosition:i="left",color:c="primary",size:F="medium",variant:P="contained",fullWidth:R=!1,...z},W)=>b(T,{...z,color:c,size:F,variant:P,fullWidth:R,as:"button",ref:W,children:b(v,{loading:r,...i==="right"?{closer:e}:{opener:e},children:b(S,{fontWeight:"bold",lineHeight:"tight",fontFamily:"main",children:t||o})})}));w.displayName="Button";export{O as a,d as b,j as c,q as d,T as e,w as f};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import{d as m}from"./chunk-Q3FUXFD5.esm.js";import{a as d}from"./chunk-JWNC52FT.esm.js";import{c as p}from"./chunk-AULAOFBW.esm.js";import{b as i}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var s=t(({theme:e,$size:o})=>e.component.select.size[o],"sizeTokens");function u(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)}")`}t(u,"chevron");function x({$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}}t(x,"variantColors");function k(e){let{theme:o}=e,{accent:r,text:l,border:n}=x(e);return i(["color:",";border:1px solid ",";box-shadow:",";&:hover,&:focus{box-shadow:none;border-color:",";}&:focus-visible{outline:2px solid ",";outline-offset:2px;}"],l,n,o.depth("level-one-minus"),n,r)}t(k,"variantStyle");function $({theme:e}){return i(["&:disabled{cursor:default;color:",";border-color:transparent;background-color:",";box-shadow:none;}"],e.colors.disabled.color,e.colors.disabled.fill)}t($,"disabledStyle");var a=p("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=>s(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",s(e).px)};
|
|
20
|
-
padding-right: ${e=>`calc(${e.theme.spacing(s(e).px)} + 1.25em)`};
|
|
21
|
-
|
|
22
|
-
outline: none;
|
|
23
|
-
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
transition: ${({theme:e})=>e.animation.transitions.short};
|
|
26
|
-
|
|
27
|
-
background-image: ${({theme:e})=>u(e.colors.neutral[100])};
|
|
28
|
-
background-repeat: no-repeat;
|
|
29
|
-
background-position: right ${e=>e.theme.spacing(s(e).px)} center;
|
|
30
|
-
|
|
31
|
-
${k}
|
|
32
|
-
${m}
|
|
33
|
-
${$}
|
|
34
|
-
|
|
35
|
-
/* Force readable native option colors — the OS popup inherits these. */
|
|
36
|
-
& option {
|
|
37
|
-
color: ${({theme:e})=>e.colors.ink.primary};
|
|
38
|
-
background-color: ${({theme:e})=>e.colors.surface.paper};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:disabled {
|
|
42
|
-
/* Fade the chevron in step with the disabled text. */
|
|
43
|
-
background-image: ${({theme:e})=>u(e.colors.disabled.color)};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Grid-item placement — the native root neither emits nor strips these, so
|
|
47
|
-
the factory interpolates the CSS here (the System \`styled\` withholds the
|
|
48
|
-
keys from the DOM via its \`shouldForwardProp\`). */
|
|
49
|
-
${d({})}
|
|
50
|
-
`;a.displayName="select";import{forwardRef as v}from"react";import{jsx as f}from"react/jsx-runtime";var b=v(({options:e,size:o="medium",variant:r,borderRadius:l="xs",width:n,...g},h)=>{let S=r!==void 0,y=r!=null?r:"default";return f(a,{ref:h,$size:o,$variant:y,$variantExplicit:S,$radius:l,$width:n,...g,children:e.map(c=>f("option",{value:c.value,children:c.label},String(c.value)))})});b.displayName="Select";export{a,b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as t}from"./chunk-PCQQ762I.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var d=r.thead.withConfig({componentId:"sc-eqsqas-0"})(["width:100%;background:",";position:sticky;top:0;z-index:1;"],({theme:a})=>a.colors.surface.paper);import{jsx as l}from"react/jsx-runtime";var e=o(a=>l(d,{...a,role:t("rowgroup"),children:a.children}),"TableHeaderComponent");e.displayName="TableHeader";export{d as a,e as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-KR2X2UQG.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import{useCallback as a}from"react";function p(e){let n=a(t=>{let i=Array.isArray(t)?t:Array.from(t);i.length&&e.onFilesSelect(i)},[e]);return{getFiles:a(t=>{let{files:i}=t.target,l=Array.from(i).find(c=>!o(c,e.accept));l instanceof File?e.onUnsupportedFile&&e.onUnsupportedFile(l):n(i),t.target.value=null},[n,e])}}r(p,"useFileDialog");export{p as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as N}from"./chunk-4SDDAQ6N.esm.js";import{a as M}from"./chunk-IN2WB2ZK.esm.js";import{a as P,b as E}from"./chunk-FOWO4QTS.esm.js";import{a as s,d as a}from"./chunk-RWLJNXLX.esm.js";import{a as x,c as A}from"./chunk-XR763B4T.esm.js";import{a as K,b as S}from"./chunk-BNB3KNKE.esm.js";import{a as h,b as w}from"./chunk-VCMHX5VK.esm.js";import{a as m,b as p}from"./chunk-AAZFRX52.esm.js";import{a as l,b as y}from"./chunk-QYL6LECA.esm.js";import{a as c,b as f}from"./chunk-C7U4X56I.esm.js";import{a as F,e as g}from"./chunk-QXV2TDLZ.esm.js";import{a as d,b as u}from"./chunk-IK5Z5C2R.esm.js";import{a as b,b as C}from"./chunk-QEB4VTKV.esm.js";import{a as i,b as n}from"./chunk-ODL5JUYM.esm.js";import{g as v}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var e=null,I=t(()=>(e===null&&(e=new Set([...l,...i,...h,...s,...m,...c,...d,...F,...K,...x,...P,...b,"variant","active"])),e),"getCustomPropNames"),D=t(o=>!I().has(o)&&N(o),"shouldForwardProp"),T=new Set(["width","height"]),W=t(o=>T.has(o)||D(o),"shouldForwardDimensionAttrs"),_=t((o=>v(o).withConfig({shouldForwardProp:D})),"styled"),r=t(o=>_(o).withConfig({componentId:`apollion-${o}`})(y({position:"relative"}),g,w,a,n,u,p,f,S,M,A,E,C),"buildElement"),X={a:r("a"),div:r("div"),span:r("span"),input:r("input"),button:r("button")};export{D as a,W as b,_ as c,X as d};
|
|
@@ -1 +0,0 @@
|
|
|
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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as f}from"./chunk-EEPJZ62X.esm.js";import{a as s}from"./chunk-EU4FKCQL.esm.js";import{a as p}from"./chunk-TQMP7PZI.esm.js";import{b as d,g as n}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";var i=n.input.withConfig({componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);i.displayName="input";var r=n(p).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"primary",deep:-1,...o})).withConfig({componentId:"sc-truao3-1"})(["--size:20px;--checked-size:calc(var(--size) * 0.5);width:var(--size);height:var(--size);flex-shrink:0;&::before{content:'';border-radius:50%;display:inline-block;width:var(--checked-size);height:var(--checked-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;}"]);function S({variant:o,$color:t,theme:a}){let e=f(a,o,t);return d(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ","{border-color:",";}& > ",":focus-visible ~ ","{outline:2px solid ",";outline-offset:2px;}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],e.dark,r,e.dark,e.base,r,e.action,i,r,e.base,i,r,e.base,a.depth("level-zero"))}l(S,"inputVariantStyle");function C(o){return d(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";&::before{background:",";}}}"],o.colors.disabled.color,i,r,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color)}l(C,"getDisabledStyle");var m=n(s).withConfig({componentId:"sc-truao3-2"})(["cursor:pointer;position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:",";margin:",";"," "," & ",":checked ~ ","::before{opacity:1;}"],({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing(0,"xs","xs",0),S,({theme:o,disabled:t})=>t&&C(o),i,r);import{jsx as c,jsxs as k}from"react/jsx-runtime";var b=l(({id:o,disabled:t,label:a=null,labelProps:e,variant:u="default",color:y,area:x,alignSelf:g,justifySelf:h,...R})=>k(m,{as:"label",htmlFor:o,variant:u,$color:y,disabled:t,area:x,alignSelf:g,justifySelf:h,children:[c(i,{...R,type:"radio",id:o,disabled:t}),c(r,{}),typeof a=="string"?c(s,{fontSize:"small",color:"ink.primary",...e,children:a}):a]}),"RadioComponent");b.displayName="Radio";export{i as a,r as b,m as c,b as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as a}from"./chunk-3WXII2F3.esm.js";import{a as i}from"./chunk-EJ245MA7.esm.js";import{j as l}from"./chunk-REPFMEFA.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var d=5,f=r((e,t)=>t==="neutral"?e.colors.quiet:e.colors[t],"navPalette"),v=r((e,t)=>a(i(e,o=>{var n;return l(f(o,t).base,(n=o.colors.baseLight)!=null?n:"#FFFFFF",d)}),"tx",t),"navTintInk"),I=r(e=>a(e.colors.ink.secondary,"ink","secondary"),"navRestInk"),N=r((e,t)=>{var o;return(o=e.id)!=null?o:typeof e.label=="string"?e.label:String(t)},"navItemKey"),b=r(({href:e,to:t,as:o,onClick:n,current:p},c)=>{var s;let m=e!==void 0||t!==void 0;return{as:m?(s=o!=null?o:c)!=null?s:"a":"button",props:{...m?{}:{type:"button"},...e!==void 0&&{href:e},...t!==void 0&&{to:t},...n&&{onClick:n},...p&&{"aria-current":"page"}}}},"navItemElement");export{v as a,I as b,N as c,b as d};
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
import{a as g}from"./chunk-EU4FKCQL.esm.js";import{a as m}from"./chunk-LSLBDF5M.esm.js";import{a as A}from"./chunk-EJ245MA7.esm.js";import{j as T}from"./chunk-REPFMEFA.esm.js";import{i as j}from"./chunk-6G22RNUO.esm.js";import{b as B,g as d}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import{useId as X}from"react";var U=i(({theme:t,disabled:h,variant:r})=>{let e=t.colors.ink.primary,f=t.colors.ink.secondary;if(r!=="default"){let S=r==="success"?"success":"danger",a=i(c=>A(t,n=>{var s,y;return T(T((y=(s=n.colors[S])==null?void 0:s[c])!=null?y:n.colors.ink.primary,n.colors.surface.canvas),n.colors.surface.paper)}),"ink");e=a("dark"),f=a("base")}return h&&(e=t.colors.ink.disabled),{"--color-label":e,"--color-hint":f}},"getFieldColor"),z=d(m).withConfig({componentId:"sc-1iiu1tt-0"})(["width:100%;justify-content:center;",";",""],U,({$fill:t})=>t?B(["flex:1 1 auto;"]):null),E=d(g).withConfig({componentId:"sc-1iiu1tt-1"})(["color:var(--color-label);"]),R=d(g).withConfig({componentId:"sc-1iiu1tt-2"})(["color:var(--color-label);"]),V=d(g).withConfig({componentId:"sc-1iiu1tt-3"})(["color:var(--color-hint);min-height:","em;"],({theme:t})=>t.font.lineHeight.tight);import{jsx as b,jsxs as D}from"react/jsx-runtime";var $=i(({name:t,value:h,label:r,inputProps:e,hintText:f,variant:S,setFieldValue:a,readOnly:c,readOnlyText:n="apenas leitura",hintErrorText:s="Something went wrong",hintSuccessText:y="Everything is alright",...l})=>{var O;let I=l.component,M=X(),w=!!l.errors||l.error,k=!!l.success,x=(O=e==null?void 0:e.readOnly)!=null?O:c,N=i(o=>{if(!c&&(e!=null&&e.onChange&&e.onChange(o),a)){let F=o;j(o)&&(F=o.target.type==="checkbox"||o.target.type==="radio"?o.target.checked:o.target.value),a(t,F)}},"onChange"),W=i(()=>{if(c)return;if(typeof(e==null?void 0:e.reset)=="function"){e.reset();return}let o=e==null?void 0:e.type;a&&a(t,o==="checkbox"||o==="radio"?!1:"")},"resetField"),q=typeof l.errors=="string"?l.errors:s,v=w&&q||k&&y||f,H=S||w&&"error"||k&&"success"||"default",G=!r||l.hideLabel,J=x||l.optionalText,K=x?n:l.optionalText,L=e&&e.disabled,Q=(e==null?void 0:e.fill)===!0,C=I.ariaLabelledByField===!0&&!!r&&!(e!=null&&e["aria-label"])&&!(e!=null&&e["aria-labelledby"])&&(e==null?void 0:e.label)==null?`${t!=null?t:M}-label`:void 0;return D(z,{area:l.area,alignSelf:l.alignSelf,justifySelf:l.justifySelf,variant:H,disabled:L,$fill:Q,gap:"micro",...l.fieldProps,children:[D(m,{flexDirection:"row",justifyContent:"between",isHidden:G,children:[b(E,{as:"label",id:C,htmlFor:t,fontSize:"xs",fontWeight:"bold",lineHeight:"regular",children:r}),J&&b(R,{fontStyle:"italic",lineHeight:"tight",fontSize:"micro",children:K})]}),b(I,{...e,...C&&{"aria-labelledby":C},id:t,name:t,value:h,variant:H,readOnly:x,onChange:N,reset:W}),b(V,{lineHeight:"tight",fontSize:"micro",isHidden:L||!v,children:v})]})},"FieldComponent");$.displayName="Field";export{$ as a};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import{a as s}from"./chunk-SRBIATLE.esm.js";import{a as b}from"./chunk-LSLBDF5M.esm.js";import{a as h}from"./chunk-JWNC52FT.esm.js";import{c as a}from"./chunk-AULAOFBW.esm.js";import{b as p}from"./chunk-AAZFRX52.esm.js";import{b as c,g as d}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var i=a("input").withConfig({componentId:"apollion-checkbox-input"})`
|
|
2
|
-
position: absolute;
|
|
3
|
-
left: 0;
|
|
4
|
-
top: 0;
|
|
5
|
-
margin: 0;
|
|
6
|
-
opacity: 0;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
`,r=d(b).attrs(o=>({alignItems:"center",justifyContent:"center",borderRadius:"micro",borderWidth:"thin",boderStyle:"solid",borderColor:"primary",deep:-1,mr:"small",...o})).withConfig({componentId:"sc-o1c91u-0"})(["width:20px;height:20px;flex-shrink:0;transition:",";"],({theme:o})=>o.animation.transitions.short);function m(o,t,l="primary"){var e;return t==="success"?o.colors.success:t==="error"?o.colors.danger:(e=o.colors[l])!=null?e:o.colors.primary}n(m,"resolveControlPalette");function x({variant:o,$color:t,theme:l}){let e=m(l,o,t);return c(["color:",";& > ","{border:1px solid ",";}&:hover > ","{border-color:",";box-shadow:",";}& > ",":focus-visible ~ ","{outline:2px solid ",";outline-offset:2px;}& > ",":checked ~ ","{border-color:",";background-color:",";box-shadow:",";}"],e.dark,r,e.dark,r,e.action,l.depth("level-zero"),i,r,e.base,i,r,e.base,e.base,l.depth("level-zero"))}n(x,"checkboxVariantStyle");function y({theme:o,disabled:t}){return t?c(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";box-shadow:none;& > ","{color:",";}}}"],o.colors.disabled.color,i,r,o.colors.disabled.fill,o.colors.disabled.fill,s,o.colors.disabled.color):null}n(y,"disabledStyle");var w=a("label").withConfig({componentId:"apollion-checkbox-container"})`
|
|
9
|
-
position: relative;
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
align-items: center;
|
|
14
|
-
/* micro — the xs gap read too wide between the box and its label. */
|
|
15
|
-
gap: ${({theme:o})=>o.spacing("micro")};
|
|
16
|
-
/* Pre-v4 margin was \`spacing(0, 8, 'medium', 0)\` (32px right + 16px bottom)
|
|
17
|
-
— excessive, it overrode the consumer's layout. v4 keeps only a small
|
|
18
|
-
breathing space (xs = 8px) horizontal+vertical, enough for inline use
|
|
19
|
-
without dictating layout. A parent with Flex gap adds more when needed. */
|
|
20
|
-
margin: ${({theme:o})=>o.spacing(0,"xs","xs",0)};
|
|
21
|
-
transition: ${({theme:o})=>o.animation.transitions.short};
|
|
22
|
-
|
|
23
|
-
& > ${i} ~ ${r} > ${s} {
|
|
24
|
-
${p({color:"neutral.0"})}
|
|
25
|
-
opacity: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* Shows the check when the native input is :checked */
|
|
29
|
-
& > ${i}:checked ~ ${r} > ${s} {
|
|
30
|
-
opacity: 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
${x}
|
|
34
|
-
${y}
|
|
35
|
-
|
|
36
|
-
/* Grid-item placement — native \`<label>\` root: the factory emits the CSS,
|
|
37
|
-
the System \`styled\` withholds the keys from the DOM. */
|
|
38
|
-
${h({})}
|
|
39
|
-
`;export{i as a,r as b,m as c,w as d};
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{e as s}from"./chunk-7MX2FUN4.esm.js";import{g as m}from"./chunk-4XKKIEQL.esm.js";import{d as t}from"./chunk-RWLJNXLX.esm.js";import{b as n}from"./chunk-VCMHX5VK.esm.js";import{b as r}from"./chunk-IK5Z5C2R.esm.js";import{g as i}from"./chunk-AXUWC2WH.esm.js";import{a as u}from"./chunk-GZONWSRB.esm.js";import{forwardRef as z}from"react";function b({size:o}){switch(o){case"extraSmall":return[n({p:"micro"}),t({borderRadius:"micro"}),r({fontSize:"micro"})];case"small":return[n({p:"xs"}),t({borderRadius:"circular"}),r({fontSize:"xs"})];case"large":return[n({p:"medium"}),t({borderRadius:"circular"}),r({fontSize:"medium"})];default:return[n({p:"small"}),t({borderRadius:"circular"}),r({fontSize:"small"})]}}u(b,"iconButtonSize");var x=i(s).withConfig({componentId:"sc-1uzpf1p-0"})(b),f=i(x).withConfig({componentId:"sc-1uzpf1p-1"})(["",""],({variant:o,theme:e})=>o==="linked"&&`
|
|
2
|
-
&&:hover, &&:focus-visible { text-decoration: none; background: ${e.colors.wash.hover}; }
|
|
3
|
-
&&:active { text-decoration: none; background: ${e.colors.wash.pressed}; }
|
|
4
|
-
`);import{jsx as l}from"react/jsx-runtime";var p=z(({color:o="primary",size:e="medium",variant:d="contained",icon:I=null,label:B,...a},S)=>{let{isLoading:y,loadingComponent:c}=a;return l(f,{"aria-label":B,...a,color:o,size:e,variant:d,as:"button",ref:S,children:y?c!=null?c:l(m,{"data-testid":"icon-spinner"}):I})});p.displayName="IconButton";export{f as a,p as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as H}from"./chunk-HZZBNAF4.esm.js";import{b as F}from"./chunk-SRBIATLE.esm.js";import{o as M}from"./chunk-TVJXEJLN.esm.js";import{a as k}from"./chunk-EU4FKCQL.esm.js";import{a as c}from"./chunk-LSLBDF5M.esm.js";import{a as y}from"./chunk-TQMP7PZI.esm.js";import{a as v}from"./chunk-EJ245MA7.esm.js";import{k as E}from"./chunk-REPFMEFA.esm.js";import{b as u,g as h}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import{forwardRef as q}from"react";var A=s((e,t)=>E(e.colors[t],"base"),"literalStop"),x=s((e,t)=>v(e,i=>A(i,t)),"stop"),z=s((e,t)=>v(e,i=>{var d,m,B;return(B=(m=(d=i.colors).getContrastColor)==null?void 0:m.call(d,A(i,t)))!=null?B:i.colors.ink.primary}),"inkOn"),W=s((e,t)=>{switch(t){case"complete":return{fill:x(e,"success"),ink:z(e,"success")};case"current":return{fill:x(e,"primary"),ink:z(e,"primary")};case"next":return{fill:e.colors.surface.raised,ink:e.colors.ink.primary};default:return{fill:e.colors.surface.sunken,ink:e.colors.ink.disabled}}},"badgePaint"),C=h(c).withConfig({componentId:"sc-1bjowjb-0"})(["width:",";height:",";flex:0 0 auto;border-radius:",";background:",";color:",";box-shadow:",";transition:",";"],({$size:e})=>e,({$size:e})=>e,({theme:e})=>e.border.borderRadius.circular,({theme:e,$status:t})=>W(e,t).fill,({theme:e,$status:t})=>W(e,t).ink,({theme:e,$status:t})=>t==="next"?`inset 0 0 0 1px ${e.colors.edge.border}`:"none",({theme:e})=>e.animation.transitions.short),b=h(c).withConfig({componentId:"sc-1bjowjb-1"})(["flex:1 1 0;align-self:center;"," border-radius:",";background:",";"],({$vertical:e})=>e?u(["width:0.25rem;min-height:0.75rem;"]):u(["height:0.25rem;"]),({theme:e})=>e.border.borderRadius.micro,({theme:e,$done:t})=>t?x(e,"success"):e.colors.edge.hairline),O=u(["cursor:pointer;&:hover ","{box-shadow:",";}"],C,({theme:e})=>e.depth("level-one")),R=h(c).withConfig({componentId:"sc-1bjowjb-2"})(["flex:1 1 0;min-width:0;"," "," a{text-decoration:none;}&:focus-within ","{outline:2px solid ",";outline-offset:2px;}"],({$vertical:e})=>e&&u(["flex:0 0 auto;"]),({$actionable:e})=>e&&O,C,({theme:e})=>x(e,"primary"));import{jsx as n,jsxs as S}from"react/jsx-runtime";var w=q(({stepNumber:e,status:t,size:i="2rem",...d},m)=>n(C,{alignItems:"center",justifyContent:"center",$status:t,$size:typeof i=="number"?`${i}px`:i,...d,ref:m,children:t==="complete"?n(F,{icon:M,size:"small",color:"currentColor","aria-hidden":!0}):n(k,{fontSize:"xs",fontWeight:"bold",lineHeight:"tight",color:"inherit",children:e})}));w.displayName="StepsBadge";var g=s((e,t,i)=>e.isComplete||t<i?"complete":t===i?"current":e.disabled?"disabled":"next","resolveStepStatus"),N=s((e,t)=>t==="next"&&!!(e.href||e.to||e.onClick),"isActionable"),V=q(({steps:e,currentIndex:t=0,linkAs:i,label:d="Etapas",layout:m="auto",counterLabel:B,...I},T)=>{let L=e.length,D=s((a,p,r,o)=>r&&(a.href||a.to)?n(H,{as:a.to?i:void 0,href:a.href,to:a.to,text:a.title,onClick:a.onClick,fontSize:"xs",fontWeight:"bold",color:"primary",textAlign:o}):r?n(k,{as:"button",type:"button",onClick:a.onClick,fontSize:"xs",fontWeight:"bold",color:"primary",textAlign:o,bgColor:"transparent",borderWidth:"none",cursor:"pointer",style:{padding:0},children:a.title}):n(k,{fontSize:"xs",fontWeight:"bold",textAlign:o,color:p==="disabled"?"ink.disabled":"ink.primary",children:a.title}),"renderTitle"),P=s((a={},p)=>n(c,{as:"nav","aria-label":d,flexDirection:"row",width:"100%",...a,ref:p,children:e.map((r,o)=>{let l=g(r,o,t),f=N(r,l),$=o===L-1;return S(R,{$actionable:f,gap:"small",alignItems:"center","aria-current":l==="current"?"step":void 0,"aria-disabled":l==="disabled"||void 0,onClick:f&&!r.href&&!r.to?r.onClick:void 0,children:[S(c,{flexDirection:"row",alignItems:"center",width:"100%",children:[n(b,{$done:o>0&&g(e[o-1],o-1,t)==="complete",style:{visibility:o===0?"hidden":void 0}}),n(w,{stepNumber:o+1,status:l}),n(b,{$done:l==="complete",style:{visibility:$?"hidden":void 0}})]}),D(r,l,f,"center")]},`${o}-${r.title}`)})}),"desktopVariant"),j=s((a={},p)=>n(c,{as:"nav","aria-label":d,flexDirection:"column",width:"100%",...a,ref:p,children:e.map((r,o)=>{let l=g(r,o,t),f=N(r,l),$=o===L-1;return S(R,{$actionable:f,$vertical:!0,flexDirection:"row",gap:"medium",alignItems:"center","aria-current":l==="current"?"step":void 0,"aria-disabled":l==="disabled"||void 0,onClick:f&&!r.href&&!r.to?r.onClick:void 0,children:[S(c,{flexDirection:"column",alignItems:"center",alignSelf:"stretch",children:[n(b,{$vertical:!0,$done:o>0&&g(e[o-1],o-1,t)==="complete",style:{visibility:o===0?"hidden":void 0}}),n(w,{stepNumber:o+1,status:l}),n(b,{$vertical:!0,$done:l==="complete",style:{visibility:$?"hidden":void 0}})]}),D(r,l,f,"left")]},`${o}-${r.title}`)})}),"verticalVariant");return m==="mobile"?j(I,T):m==="desktop"?P(I,T):S(y,{containment:"inline-size",width:"100%",...I,ref:T,children:[n(y,{cq:{md:{display:"none"}},children:j()}),n(y,{display:"none",cq:{md:{display:"block"}},children:P()})]})});V.displayName="Steps";export{W as a,C as b,b as c,R as d,w as e,g as f,V as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as g}from"./chunk-AWOVVB76.esm.js";import{a as v}from"./chunk-URGL4O5W.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import b,{Children as L,useCallback as N,useMemo as A}from"react";function H(e){return Array(e).fill("min-content").join(" ")}o(H,"createSpace");function k(e){return e?H(e):"1fr"}o(k,"getGridColumns");function I(e){let l=e&&e.row?e.row:e,c=e&&e.column?e.column:e;return[l,c]}o(I,"getGridGap");import{jsx as j}from"react/jsx-runtime";import{createElement as P}from"react";var E=o(e=>{let{name:l,variant:c,gap:d="Compact",columns:s,value:t,inputs:p,children:F,onChange:m,type:u,area:f,alignSelf:C,justifySelf:h,...B}=e,w=A(()=>k(s),[s]),[x,R]=A(()=>I(d),[d]),y=N((r,n)=>a=>{if(!m||!l)return;let i=null;u==="radio"?i=n:r&&Array.isArray(t)?i=t.filter(T=>T!==n):i=[...t||[],n],m(i)},[l,t,m,u]);function G(r){return Array.isArray(t)?!!t.includes(r):r===t}o(G,"isInputChecked");function M(){let r=u==="radio"?g:v;return p.map(n=>{let a=G(n.value),i=u==="radio"?l:n.name;return P(r,{...n,key:n.value,variant:c,name:i,checked:a,onChange:y(a,n.value)})})}o(M,"renderInputs");function S(){return L.map(F,r=>{if(!b.isValidElement(r))return null;let n=r.props.value,a=G(n);return b.cloneElement(r,{onChange:y(a,n),checked:a})})}return o(S,"renderChildren"),j("div",{style:{display:"grid",gridRowGap:x,gridColumnGap:R,gridTemplateColumns:w,...f&&{gridArea:f},...C&&{alignSelf:C},...h&&{justifySelf:h}},children:p?M():S()})},"FieldGroupComponent");E.displayName="FieldGroup";export{E as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as n}from"./chunk-REPFMEFA.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";function Oa(c,a=c){var b,m,d,p,k;let e=(b=c.baseLight)!=null?b:"#FFF",r=(m=c.baseDark)!=null?m:"#000",s=(d=a.surface)!=null?d:{canvas:e,sunken:e,paper:e,raised:e,overlay:e,scrim:r},t=(p=a.ink)!=null?p:{primary:r,secondary:r,muted:r,disabled:r},o=(k=a.edge)!=null?k:{hairline:r,border:r,strong:r},i=l(g=>({bg:g,txtOn:t.primary}),"pair");return{surface:{canvas:i(s.canvas),sunken:i(s.sunken),paper:i(s.paper),raised:i(s.raised),overlay:i(s.overlay)},ink:{primary:t.primary,secondary:t.secondary,muted:t.muted,disabled:t.disabled},edge:{hairline:o.hairline,border:o.border,strong:o.strong}}}l(Oa,"ladderSemantic");function Ia(c){var r,s,t,o,i,b,m,d,p,k,g,u,f,y,D,x,S,C,O,h,I,v,L,w,P,T,F,G,z,B,j,q,A,E,H,J,K,M,N,Q,R,U,V,W,X,Y,Z,_,$,aa,ea,ra,na,sa,ta,ia,oa,ca,ba,ma,da,pa,ka,ga,la,ua,fa,ya,Da,xa,Sa,Ca;let{colors:a,spacing:e}=c;return{color:{feedback:{success:{bg:(t=(s=(r=a.success)==null?void 0:r.base)!=null?s:a.baseDark)!=null?t:"#000",txtOn:n((b=(i=(o=a.success)==null?void 0:o.base)!=null?i:a.baseDark)!=null?b:"#000"),border:(p=(d=(m=a.success)==null?void 0:m.dark)!=null?d:a.baseDark)!=null?p:"#000"},danger:{bg:(u=(g=(k=a.danger)==null?void 0:k.base)!=null?g:a.baseDark)!=null?u:"#000",txtOn:n((D=(y=(f=a.danger)==null?void 0:f.base)!=null?y:a.baseDark)!=null?D:"#000"),border:(C=(S=(x=a.danger)==null?void 0:x.dark)!=null?S:a.baseDark)!=null?C:"#000"},warning:{bg:(I=(h=(O=a.warning)==null?void 0:O.base)!=null?h:a.baseDark)!=null?I:"#000",txtOn:n((w=(L=(v=a.warning)==null?void 0:v.base)!=null?L:a.baseDark)!=null?w:"#000"),border:(F=(T=(P=a.warning)==null?void 0:P.dark)!=null?T:a.baseDark)!=null?F:"#000"},information:{bg:(B=(z=(G=a.information)==null?void 0:G.base)!=null?z:a.baseDark)!=null?B:"#000",txtOn:n((A=(q=(j=a.information)==null?void 0:j.base)!=null?q:a.baseDark)!=null?A:"#000"),border:(J=(H=(E=a.information)==null?void 0:E.dark)!=null?H:a.baseDark)!=null?J:"#000"}},interface:{function:{primary:{normal:{bg:(N=(M=(K=a.primary)==null?void 0:K.base)!=null?M:a.baseDark)!=null?N:"#000",txtOn:n((U=(R=(Q=a.primary)==null?void 0:Q.base)!=null?R:a.baseDark)!=null?U:"#000")}},secondary:{normal:{bg:(X=(W=(V=a.secondary)==null?void 0:V.base)!=null?W:a.baseDark)!=null?X:"#000",txtOn:n((_=(Z=(Y=a.secondary)==null?void 0:Y.base)!=null?Z:a.baseDark)!=null?_:"#000")}},tertiary:{normal:{bg:(ea=(aa=($=a.tertiary)==null?void 0:$.base)!=null?aa:a.baseDark)!=null?ea:"#000",txtOn:n((sa=(na=(ra=a.tertiary)==null?void 0:ra.base)!=null?na:a.baseDark)!=null?sa:"#000")}}}},brand:{first:{default:{surface:(oa=(ia=(ta=a.main)==null?void 0:ta.base)!=null?ia:a.baseDark)!=null?oa:"#000",txtOn:n((ma=(ba=(ca=a.main)==null?void 0:ca.base)!=null?ba:a.baseDark)!=null?ma:"#000")}},second:{default:{surface:(ka=(pa=(da=a.opposite)==null?void 0:da.base)!=null?pa:a.baseDark)!=null?ka:"#000",txtOn:n((ua=(la=(ga=a.opposite)==null?void 0:ga.base)!=null?la:a.baseDark)!=null?ua:"#000")}},third:{default:{surface:(Da=(ya=(fa=a.complementary)==null?void 0:fa.base)!=null?ya:a.baseDark)!=null?Da:"#000",txtOn:n((Ca=(Sa=(xa=a.complementary)==null?void 0:xa.base)!=null?Sa:a.baseDark)!=null?Ca:"#000")}}},...Oa(a)},dimension:{spacing:{zero:e("zero"),micro:e("micro"),xs:e("xs"),small:e("small"),medium:e("medium"),large:e("large"),xl:e("xl"),xxl:e("xxl"),giant:e("giant")}}}}l(Ia,"createSemantic");export{Oa as a,Ia as b};
|
|
@@ -1 +0,0 @@
|
|
|
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,34 +0,0 @@
|
|
|
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
|
-
& ${r}, ${c}, ${d} {
|
|
3
|
-
&:nth-child(${g.target}) {
|
|
4
|
-
${s} {
|
|
5
|
-
text-align: ${g.direction};
|
|
6
|
-
align-items: ${H(g.direction)}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
`;return`${t} ${b}`},"");return l(["& ",",",",","{","{text-align:center;align-items:",";}}",""],r,c,d,s,H("center"),i)}return e!==void 0?l(["& ",",",",","{","{text-align:",";align-items:",";}}"],r,c,d,s,e,H(e)):l(["& ",",",",","{","{text-align:center;align-items:center;}}"],r,c,d,s)}o(he,"getAlignStyle");function ye(e){if(e===void 0)return l([""]);let i=e.map((t,g)=>t&&(t.type===void 0?`
|
|
11
|
-
&:nth-child(${g+1}) {
|
|
12
|
-
width: ${t.width}px;
|
|
13
|
-
}
|
|
14
|
-
`:`
|
|
15
|
-
&:nth-child(${g+1}) {
|
|
16
|
-
${t.type}-width: ${t.width}px;
|
|
17
|
-
}
|
|
18
|
-
`));return l(["& ",",",",","{","}"],r,c,d,i)}o(ye,"getColumnSizeStyle");function we(){return l(["& ",",",",","{& ","{width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}}"],r,c,d,W)}o(we,"getEllipsisStyle");function xe(e){return e.map(i=>l(["& ","{&:nth-child(","){",";}}"],y,i+1,$({bgColor:"muted"})))}o(xe,"getSelectedStyle");var pe=l(["--tableHeaderBg:",";& ","{position:sticky;top:0;z-index:",";border-top:none;border-bottom:none;box-shadow:inset 0 1px 0 ",",inset 0 -1px 0 ",";}& "," > ",":first-child > *{border-top:none;}"],({theme:e})=>e.colors.surface.paper,d,({theme:e})=>z(e).sticky,({theme:e})=>e.colors.muted,({theme:e})=>e.colors.muted,p,y),Te=l(["","{& ","{&:nth-child(odd){",";}}& ",",","{",";}}& ","{z-index:",";}"],p,y,$({bgColor:"surface.sunken"}),r,c,j({borderWidth:"none"}),d,({theme:e})=>z(e).sticky),ee=o(e=>`
|
|
19
|
-
& ${y}{
|
|
20
|
-
&:hover{
|
|
21
|
-
& ${r}, ${c}{
|
|
22
|
-
/* box-shadow inset instead of border avoids layout shift on hover
|
|
23
|
-
(rows would get +1px taller on mouseover, causing visible
|
|
24
|
-
drift). Visually identical to the classic border-1px. */
|
|
25
|
-
box-shadow: inset 0 -1px 0 ${e.colors.edge.border};
|
|
26
|
-
&:first-child{
|
|
27
|
-
box-shadow:
|
|
28
|
-
inset 1px 0 0 ${e.colors.getColor(e.colors.primary,"base")},
|
|
29
|
-
inset 0 -1px 0 ${e.colors.edge.border};
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
`,"getHoverableProps"),te=o(e=>l([""," "," "," ",""],e.ellipsis?we():"",ye(e.columnSize),he(e.align),be(e.rowSize)),"getTableLayoutStyle"),Pe=o((e,i)=>{let{theme:t}=e;return l(["display:block;& > ","{","}& > ",",& > ","{display:block;}& ","{display:flex;flex-direction:column;gap:",";padding:",";border-bottom:1px solid ",";}& ",",& ","{display:flex;align-items:baseline;justify-content:space-between;gap:",";min-width:0;padding:0;border:none;overflow-wrap:anywhere;&::before{content:attr(data-label) / '';flex-shrink:0;max-width:50%;color:",";font-weight:",";}&:where(:first-child,:not([data-label]),[data-label=''])::before{content:none;}&:where(:not(:first-child)):where(:not([data-label]),[data-label='']){justify-content:flex-end;}& > ","{min-width:0;text-align:end;align-items:flex-end;}&:where(:first-child){font-weight:",";& > ","{text-align:start;align-items:flex-start;}}}","{display:table;& > ","{display:table-header-group;position:sticky;width:100%;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;}& > ","{display:table-row-group;}& > ","{display:table-footer-group;}& ","{display:table-row;padding:0;border-bottom:none;}& ",",& ","{display:table-cell;min-width:auto;overflow-wrap:normal;",";&::before{content:none;}&:where(:first-child){font-weight:inherit;}}",";","}"],D,G,p,A,y,t.spacing("xs"),t.spacing("medium"),t.colors.muted,r,c,t.spacing("small"),t.colors.ink.secondary,t.font.fontWeight.bold,s,t.font.fontWeight.bold,s,t.containerSizes.up(i),D,p,A,y,r,c,Z({theme:t}),e.hoverable&&ee(t),te(e))},"getStackedStyle"),ne=N.table.withConfig({componentId:"sc-u1ldbs-0"})(["position:relative;isolation:isolate;border-collapse:collapse;display:table;width:",";"," "," ",";"," ",""],({width:e})=>e||"100%",({stickyHeader:e})=>e&&pe,({striped:e})=>e&&Te,({hoverable:e,stackBelow:i,theme:t})=>e&&!i&&ee(t),({selected:e})=>xe(e),e=>e.stackBelow?Pe(e,e.stackBelow):te(e));import{jsx as a,jsxs as F}from"react/jsx-runtime";var ie=o(e=>{let i=T.useId(),[t,g]=v(""),[b,R]=v([]),[B,P]=v([]),[oe,C]=v("Default"),w=T.useRef(null);Se(()=>{if(!w.current)return;let n=Array.from(w.current.children);R(n)},[]);let ae=T.Children.toArray(e.children).length>1?1:0,le=T.Children.map(e.children,(n,f)=>f===ae?T.cloneElement(n,{ref:w}):n),re=o(n=>{if(n.key==="Enter"){if(!w.current)return;let f=w.current.children,u=b.map((h,k)=>{let L=f[k];return L&&(t===""&&(L.style.display=""),h.innerText.toLowerCase().includes(t.toLowerCase())||(L.style.display="none")),h});R(u)}},"getFilterData"),ce=b.length>0&&b.every(n=>n.style.display==="none"),se=b.length,de=o((n,f)=>{f&&P(u=>[...u,n]),f||P(B.filter(u=>u!==n))},"getSelected"),ue=o(n=>(b.forEach((f,u)=>{let h=f.children[0].querySelectorAll("input")[0];return n&&(h.checked=!0,P(k=>[...k,u])),n||(h.checked=!1,P([])),null}),n),"getAllSelected"),fe=o(n=>b.map(u=>parseInt(u.children[n].innerText,10)).reduce((u,h)=>u+h,0),"getAddLines"),S=e.stackBelow!==void 0,me=S?Q(e.children,n=>n.type===U):void 0,ge=e.initialPagination&&e.finalPagination&&e.totalPagination&&e.linesPerPage;function I(n){switch(n){case"normal":if(se<=1)return"visible";if(e.stickyHeader||e.columnSize)return"scroll";break;case"y":if(e.columnSize&&!e.stickyHeader)return"hidden";break;default:return"visible"}return"visible"}return o(I,"getOverflow"),F(s,{overflow:I("normal"),overflowY:I("y"),gap:4,...S&&{containment:"inline-size",width:"100%"},children:[F(s,{flexDirection:"row",justifyContent:"between",alignItems:"center",children:[e.title&&a(M,{id:i,color:"primary",readable:!0,variant:"h5",children:e.title}),F(s,{flexDirection:"row",justifyContent:"end",alignItems:"end",gap:2,children:[e.searching&&a(s,{width:"230px",children:a(Y,{placeholder:"Pesquisar",type:"text",value:t,name:"search",onChange:n=>g(n.target.value),onKeyDown:n=>re(n),width:"230",icon:a(m,{icon:O}),role:"search"})}),e.rowTypes&&a(E,{options:[{icon:a(m,{icon:x}),title:"Layout Condensado",action:o(()=>C("Compact"),"action")},{icon:a(m,{icon:x}),title:"Layout Padr\xE3o",action:o(()=>C("Expansive"),"action")},{icon:a(m,{icon:x}),title:"Layout Expandido",action:o(()=>C("Default"),"action")}],children:a(m,{icon:x,color:"primary"})}),e.share&&a(E,{options:[{icon:a(m,{icon:q}),title:"Enviar por email",action:e.share.email},{icon:a(m,{icon:K}),title:"Compartilhar",action:e.share.social}],children:a(m,{icon:V,color:"primary"})})]})]}),ge&&a(_,{initialPagination:e.initialPagination,finalPagination:e.finalPagination,totalPagination:e.totalPagination,linesPerPage:e.linesPerPage,showingText:e.showingText,linesPerPageLabel:e.linesPerPageLabel,linesPerPageValue:e.linesPerPageValue,onLinesPerPageChange:e.onLinesPerPageChange,onPreviousPage:e.onPreviousPage,onNextPage:e.onNextPage,canPreviousPage:e.canPreviousPage,canNextPage:e.canNextPage,previousLabel:e.previousLabel,nextLabel:e.nextLabel}),a(ne,{...e,stickyHeader:e.stickyHeader,striped:e.striped,rowSize:oe||e.rowSize,align:e.align,columnSize:e.columnSize,width:e.width,ellipsis:e.ellipsis,hoverable:e.hoverable,selected:B,"aria-labelledby":e.title?i:void 0,role:S?"table":void 0,children:a(J.Provider,{value:{ellipsis:e.ellipsis,getSelected:de,getAllSelected:ue,columnSum:e.columnSum!==void 0?{index:e.columnSum,sum:fe(e.columnSum)}:{index:void 0,sum:void 0},stacked:S,columnLabels:me},children:le})}),ce&&a(X,{})]})},"TableComponent");export{ne as a,ie as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./chunk-BE2JDTVA.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import{useCallback as v}from"react";function o(e,a){let c=e.name||"",t=e.type||"",l=t.replace(/\/.*$/,"");return(Array.isArray(a)?a:[a]).some(g=>{let r=g.trim();return r.charAt(0)==="."?c.toLowerCase().endsWith(r.toLowerCase()):r.endsWith("/*")?l===r.replace(/\/.*$/,""):t===r})}n(o,"acceptableFile");var L=n(e=>{let{active:a,enable:c,disable:t}=m(),l=v(r=>{r.stopPropagation(),r.preventDefault(),r.dataTransfer&&!a&&(r.dataTransfer.dropEffect="copy",e.onDragOver&&(e==null||e.onDragOver()),c())},[a,c,e]),f=v(r=>{r.stopPropagation(),r.preventDefault(),e.onDragLeave&&(e==null||e.onDragLeave()),t()},[t,e]),g=v(r=>{r.stopPropagation(),r.preventDefault();let D=r.dataTransfer&&r.dataTransfer.files;if(D&&Array.isArray(e.accept)){let i=Array.from(D).filter(s=>o(s,e.accept));e.single&&i.length>1?e==null||e.onDrop([i[0]]):e==null||e.onDrop(i)}t()},[e,t]);return{isDragging:a,events:{onDragOver:l,onDragLeave:f,onDrop:g,onDragEnd:f}}},"useDrag");export{o as a,L as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-GZONWSRB.esm.js";var p={unit:"px",values:{xs:240,sm:360,md:480,lg:640,xl:900}},u={pageMaxWidth:1366},s=t(e=>{let{values:n,unit:a}=e;return{unit:a,values:n,up:t(o=>`@container (min-width: ${n[o]}${a})`,"up"),width:t(o=>n[o],"width")}},"createContainerSizes"),x=t(e=>({...e}),"createLayout"),r={sticky:10,dropdown:500,toast:1e3,modal:9999},I=t(e=>({...e}),"createZIndex"),i=I(r),c=t(e=>{var n;return(n=e.zIndex)!=null?n:i},"themeZIndex");export{p as a,u as b,s as c,x as d,r as e,I as f,c as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as m,b as C}from"./chunk-U3CY4REV.esm.js";import{c as b}from"./chunk-PCQQ762I.esm.js";import{e as d}from"./chunk-EU4FKCQL.esm.js";import{a as n}from"./chunk-2Z3UZIWZ.esm.js";import{b as t}from"./chunk-ODL5JUYM.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var i=r.th.withConfig({componentId:"sc-1ft9505-0"})([""," background-color:var(--tableHeaderBg,transparent);",""],m,t),f=r.span.withConfig({componentId:"sc-1ft9505-1"})(["",""],C);import{jsx as o}from"react/jsx-runtime";var e=a(({hiddenLabel:H=!1,...l})=>o(i,{...l,bgColor:l.bgColor||void 0,role:b("columnheader"),children:o(n,{children:o(d,{color:"ink.secondary",fontWeight:"stronger",children:H?o(f,{children:l.children}):l.children})})}),"TableHeaderCellComponent");e.displayName="TableHeaderCell";export{i as a,f as b,e as c};
|
|
@@ -1 +0,0 @@
|
|
|
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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as F}from"./chunk-VJ5GIFXO.esm.js";import{F as p,G as D,H as L,I as x,J as B,g as y,j as l,k as C,l as h,t as b,u as I,w as k}from"./chunk-REPFMEFA.esm.js";import{n as d,o as f}from"./chunk-6G22RNUO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a={baseDark:"#0b0b0b",baseLight:"#f9f9f7",transparent:"transparent",deepDark:"#000",deepLight:"#FFF",main:"#003750",opposite:y("#003750"),complementary:"#F6BA20",information:"#3399FF",success:"#2CB567",danger:"#E12712",warning:"#FFBB00",primary:"#32AFDC",secondary:"#2D81AA",tertiary:"#2CE571"},A=/^(#|rgba?\(|hsla?\(|oklch\(|oklab\(|color\(|var\(--|currentColor$|transparent$|inherit$)/;function S(e){let r={baseDark:e.baseDark,baseLight:e.baseLight,deepDark:e.deepDark,deepLight:e.deepLight,transparent:e.transparent,neutral:D(e),grayscale:p(e),...L(e),...x(e),...B(e)},t={...r,...I(r),disabled:b(r),quiet:k(r,e),...F(r,e.ladder)},s=f(d);return Object.assign(o=>A.test(o)?o:s(o,t,"base"),t,{getColor:C,getContrastColor:h})}n(S,"createColors");function E(e=a){let r=p(e);return{...e,main:r[100],opposite:r[10],complementary:r[20],primary:r[60],secondary:r[40],tertiary:r[30],information:r[50],success:r[70],warning:r[80],danger:r[90]}}n(E,"grayscalePalette");function T(e=a){var s;let r=(s=e.baseLight)!=null?s:a.baseLight,t=n(o=>o&&(typeof o=="string"?l(o,r,7):{...o,base:l(o.base,r,7)}),"aaa");return{...e,main:t(e.main),opposite:t(e.opposite),complementary:t(e.complementary),primary:t(e.primary),secondary:t(e.secondary),tertiary:t(e.tertiary),information:t(e.information),success:t(e.success),warning:t(e.warning),danger:t(e.danger)}}n(T,"highContrastPalette");var i={orange:"#E69F00",skyBlue:"#56B4E9",bluishGreen:"#009E73",vermillion:"#D55E00",blue:"#0072B2"};function v(e=a){return{...e,main:e.main,danger:i.vermillion,success:i.bluishGreen,warning:i.orange,primary:i.skyBlue,information:i.blue,secondary:i.blue}}n(v,"colorblindPalette");function M(e=a){var c,m,u,g;let r=(c=e.baseDark)!=null?c:a.baseDark,t=(m=e.baseLight)!=null?m:a.baseLight,s=(u=e.deepDark)!=null?u:a.deepDark,o=(g=e.deepLight)!=null?g:a.deepLight;return{...e,baseDark:t,baseLight:r,deepDark:o,deepLight:s}}n(M,"toDarkColors");var _={grayscale:E,"high-contrast":T,colorblind:v};export{a,S as b,E as c,T as d,i as e,v as f,M as g,_ as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as w,c as E}from"./chunk-4MBDLRIT.esm.js";import{a as F}from"./chunk-43YSWDK6.esm.js";import{f as N,h as k}from"./chunk-Q3FUXFD5.esm.js";import{a as T}from"./chunk-EU4FKCQL.esm.js";import{a as v}from"./chunk-LSLBDF5M.esm.js";import{g as d}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import{forwardRef as H,useEffect as V,useMemo as A,useState as U}from"react";function s(e){return e.replace(/\D/g,"")}c(s,"removeNonDigits");function B(e,r="."){return s(e).replace(/\B(?=(\d{3})+(?!\d))/g,r)}c(B,"formatNumber");function b(e,r){let t=e;if(r.prefix&&t&&(t=e.replaceAll(r.prefix,"").trim()),t==="")return t;let{decimal:n,thousand:o,validate:m}=r,l=t.indexOf(n);if(l>=0){let f=t.substring(0,l),u=t.substring(l);f=B(f,o),m&&(u=`${u}00`),u=s(u).substring(0,2),t=`${f}${n}${u}`}else t=B(t),m&&(t+=`${n}00`);return t}c(b,"formatCurrency");function G(e,r=","){if(typeof e=="number")return e;try{let t=e.indexOf(r);if(t>=0){let n=s(e.substring(0,t)),o=s(e.substring(t));return+`${n}.${o}`}return Number(s(e))}catch(t){return console.log("Failed to convert string to Number"),0}}c(G,"currencyToNumber");function g(e,r){let t=e;return typeof t=="number"&&(t=t.toLocaleString("pt-BR",{style:"decimal"})),b(t,{validate:!0,...r})}c(g,"getInitialCurrencyValue");var M=d(T).withConfig({componentId:"sc-1xhba8m-0"})(["position:absolute;right:1em;align-self:center;pointer-events:none;color:var(--icon-color);z-index:1;"]),P=d(v).withConfig({componentId:"sc-1xhba8m-1"})(["","{border-bottom-left-radius:0;border-bottom-right-radius:0;}","{border-top-left-radius:0;border-top-right-radius:0;}"],N,w);import{jsx as y,jsxs as q}from"react/jsx-runtime";var W=H(({onChange:e,value:r,decimal:t=",",thousand:n=".",prefix:o="R$",suffix:m,options:l,optionValue:f,onOptionChange:u,optionsLabel:R="Percent of balance",...z},D)=>{let[x,p]=U(()=>r?g(r,{decimal:t,thousand:n,prefix:o}):"");V(()=>{p(i=>{let a=r?g(r,{decimal:t,thousand:n,prefix:o}):"";return a!==i?a:i})},[r,t,n,o]);let S=A(()=>F(i=>e==null?void 0:e(i),250),[e]),I=c((i,a)=>{var h;let $=b((h=i.target.value)!=null?h:"",{validate:a,decimal:t,thousand:n,prefix:o});p($),S($)},"handleChange"),L=c(()=>{p(""),S("")},"resetValues"),O=o?`${o} ${x}`:x,C=y(k,{...z,...m&&{icon:y(M,{fontSize:"xs",fontWeight:"bold","data-testid":"input-currency-suffix",children:m})},ref:D,reset:L,value:O,onChange:I,onBlur:i=>I(i,!0)});return l!=null&&l.length?q(P,{flexDirection:"column",width:"100%",children:[C,y(E,{size:"small",label:R,options:l,value:f!=null?f:"",onChange:i=>u==null?void 0:u(i)})]}):C});W.displayName="InputCurrency";export{b as a,G as b,g as c,W as d};
|
|
@@ -1 +0,0 @@
|
|
|
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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b as P}from"./chunk-FMNMEPTI.esm.js";import{a as p,b as f}from"./chunk-SRBIATLE.esm.js";import{ja as g,o as T}from"./chunk-TVJXEJLN.esm.js";import{a as v}from"./chunk-LSLBDF5M.esm.js";import{d as C}from"./chunk-AULAOFBW.esm.js";import{b as u}from"./chunk-C7U4X56I.esm.js";import{b as y}from"./chunk-ODL5JUYM.esm.js";import{a as S}from"./chunk-EJ245MA7.esm.js";import{j as x}from"./chunk-REPFMEFA.esm.js";import{b as l,f as w,g as I}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";function N(){return l(["color:var(--dark-color);border-color:var(--border-color);"," &:focus,&:hover{","}&:focus-visible{outline:2px solid var(--base-color);outline-offset:2px;}&:focus + ","{color:var(--base-color);}"],u({deep:-1}),u({deep:0}),p)}s(N,"inputVariantStyle");var $=l(["&::placeholder{color:",";}&:disabled{&::placeholder{color:var(--disabled-color);}}"],({theme:o})=>o.colors.ink.muted),L=l(["&:disabled,&:read-only{border:1px solid var(--disabled-bg);background-color:var(--disabled-bg);color:var(--disabled-color);}&:read-only{","}"],u({deep:0}));function j({theme:o,$variantExplicit:r}){var e,i,n;if(r)return null;let t=(n=(i=(e=o.colors.danger)==null?void 0:e.base)!=null?i:o.colors.baseDark)!=null?n:"#000";return l(["&:user-invalid{border-color:",";}"],t)}s(j,"userInvalidBorderStyle");function q({iconPosition:o}){return o==="left"?l(["& ~ ",",& ~ ","{left:1em;right:unset;}"],a,p):null}s(q,"invertIconPosition");var G=l(["&:disabled ~ ","{color:var(--disabled-color);}&:disabled ~ ","{pointer-events:none;","}& ~ ","{width:intrinsic;","}& ~ ",",& ~ ","{color:var(--icon-color);z-index:1;position:absolute;align-self:center;right:1em;& > g{fill:var(--icon-color);}}"],p,a,y(()=>({bgColor:"wash.hover"})),a,y(()=>({bgColor:"wash.pressed"})),a,p),B=I(C.input).attrs(o=>({fontFamily:"main",lineHeight:"tight",bgColor:"surface.paper",borderWidth:"thin",borderStyle:"solid",px:"small",...o})).withConfig({componentId:"sc-8elel8-0"})(["-webkit-appearance:none;display:block;width:100%;outline:none;transition:",";"," "," ",";",";",";",";&[type='date']::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;opacity:0;}&[type='number']::-webkit-outer-spin-button,&[type='number']::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;}"],({theme:o})=>o.animation.transitions.short,N,j,G,q,L,$),h=I(v).withConfig({componentId:"sc-8elel8-1"})(({theme:o,variant:r})=>{let t=o.colors.primary;r==="error"?t=o.colors.danger:r==="success"&&(t=o.colors.success);let{base:e,dark:i}=t;return{display:"flex",position:"relative",isolation:"isolate","--base-color":e,"--dark-color":r==="default"?o.colors.ink.primary:S(o,n=>{var c,d;return x((d=(c=n.colors[r==="error"?"danger":"success"])==null?void 0:c.dark)!=null?d:n.colors.ink.primary,n.colors.surface.paper)}),"--disabled-bg":o.colors.disabled.fill,"--disabled-color":o.colors.disabled.color,"--icon-color":r==="default"?o.colors.ink.muted:e,"--border-color":r==="default"?o.colors.edge.border:e}});h.displayName="input";import{forwardRef as J}from"react";import{jsx as m}from"react/jsx-runtime";function W({icon:o,variant:r,clearable:t,reset:e,value:i,readOnly:n}){return t&&e&&i&&!n?m(P,{p:"micro",type:"button",borderWidth:"none",variant:"linked",onClick:e,"data-testid":"input-reset-button",icon:m(f,{size:"small",color:"grayscale.0",icon:g})}):o||(r==="error"?m(f,{icon:g,"data-testid":"input-icon-error"}):r==="success"?m(f,{icon:T,"data-testid":"input-icon-success"}):null)}s(W,"getIconComponent");import{jsx as K,jsxs as O}from"react/jsx-runtime";var D=J(({value:o,variant:r,iconPosition:t="right",size:e="medium",...i},n)=>{let{disabled:c,width:d,style:E,area:F,alignSelf:z,justifySelf:A,...R}=i,V=w(),H=r!==void 0,b=r!=null?r:"default",k=W({...i,value:o,variant:b,size:e,iconPosition:t}),M={...V.component.input.size[e],...k&&{[t==="right"?"pr":"pl"]:"xl"}};return O(h,{variant:b,width:d,flexDirection:"row",area:F,alignSelf:z,justifySelf:A,children:[K(B,{iconPosition:t,disabled:c,variant:b,$variantExplicit:H,...M,...R,...o!==void 0&&{value:o},style:E,ref:n}),k]})});D.displayName="Input";export{N as a,$ as b,L as c,j as d,q as e,B as f,h as g,D as h};
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
import{b as m}from"./chunk-JLQDS5TS.esm.js";import{a as n}from"./chunk-ZJT2WQTR.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import{jsx as f}from"react/jsx-runtime";function e({width:t,height:o=13}){return f(n,{width:t,height:o,children:f(m,{x:0,y:0,width:t,height:o})})}r(e,"TextPresetComponent");e.displayName="TextPreset";export{e as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as o}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var d=r(({theme:e})=>o(["border-top:1px solid ",";border-bottom:1px solid ",";border-right:none;border-left:none;"],e.colors.muted,e.colors.muted),"getBorder"),i=o(["position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;"]);export{d as a,i as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as I,p as R}from"./chunk-TVJXEJLN.esm.js";import{e as P}from"./chunk-WLFYIXN6.esm.js";import{a as S}from"./chunk-EU4FKCQL.esm.js";import{b as k}from"./chunk-SEPVF2TL.esm.js";import{a as g}from"./chunk-TQMP7PZI.esm.js";import{b as c,h as v,k as T}from"./chunk-R2QEO3KP.esm.js";import{e as C}from"./chunk-3WXII2F3.esm.js";import{a as b}from"./chunk-EJ245MA7.esm.js";import{j as x}from"./chunk-REPFMEFA.esm.js";import{b as a,g as i}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import{forwardRef as oo}from"react";var z=T(v),q=k().accordion,J=3,l=s(o=>{var e,n;return(n=(e=o.component)==null?void 0:e.accordion)!=null?n:q},"tier"),Q=["bgColor","borderColor","borderRadius","borderWidth","borderPosition"],$=s((o,e)=>{let n={...l(o).surface};for(let r of Q)e[r]!==void 0&&(n[r]=e[r]);return n},"surfaceAttrs"),E=i(g).attrs(({theme:o,$variant:e,...n})=>e==="divided"?$(o,n):{}).withConfig({componentId:"sc-wxmnzx-0"})(["display:flex;flex-direction:column;min-width:0;",""],({$variant:o,theme:e})=>o==="divided"?a(["overflow:hidden;"]):a(["gap:",";"],e.spacing("small"))),D=i(g).attrs(({theme:o,$variant:e,$surface:n={}})=>e==="separated"?{...$(o,n),overflow:"hidden"}:{}).withConfig({componentId:"sc-wxmnzx-1"})(["display:block;min-width:0;"," ",""],({$variant:o,theme:e})=>o==="divided"&&a(["& + &{border-top:"," solid ",";}"],e.border.borderWidth.thin,e.colors.edge.hairline),({theme:o})=>{var r;let e=(r=o.motion)!=null?r:z,n=s(m=>`${c(e,m,"duration")} ${c(e,m,"easing")}`,"timing");return a(["&::details-content{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows ",",opacity ",",content-visibility "," allow-discrete;}&[open]::details-content{grid-template-rows:1fr;opacity:1;transition-duration:",";transition-timing-function:",";}"],n("exit"),n("exit"),n("exit"),c(e,"emphasis","duration"),c(e,"emphasis","easing"))}),X=s(o=>C(b(o,e=>{var n;return x(e.colors.primary.base,(n=e.colors.baseLight)!=null?n:"#FFFFFF",J)}),"tx","primary"),"focusRingInk"),F=i("summary").withConfig({componentId:"sc-wxmnzx-2"})(["display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:",";row-gap:",";list-style:none;cursor:pointer;min-block-size:2.75rem;box-sizing:border-box;padding:",";&::-webkit-details-marker{display:none;}&::marker{content:'';}&:hover{background:",";}&:active{background:",";}&:focus-visible{outline:2px solid ",";outline-offset:-2px;}"],({theme:o})=>o.spacing("small"),({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing("small","medium"),({theme:o})=>{var e;return(e=o.colors.wash)==null?void 0:e.hover},({theme:o})=>{var e;return(e=o.colors.wash)==null?void 0:e.pressed},({theme:o})=>X(o)),L=i(S).attrs(({theme:o})=>{let{fontSize:e,fontWeight:n,color:r}=l(o).title;return{fontSize:e,fontWeight:n,color:r,lineHeight:"regular"}}).withConfig({componentId:"sc-wxmnzx-3"})(["grid-column:1;"]),B=i(S).attrs(({theme:o})=>{let{fontSize:e,color:n}=l(o).description;return{fontSize:e,color:n,lineHeight:"regular"}}).withConfig({componentId:"sc-wxmnzx-4"})(["grid-column:1;"]),Z={chevron:"180deg",plus:"45deg"},N=i(g).attrs(({theme:o})=>({as:"span",color:l(o).indicator.color,fontSize:l(o).title.fontSize,"aria-hidden":!0})).withConfig({componentId:"sc-wxmnzx-5"})(["grid-column:2;grid-row:1 / -1;display:inline-flex;line-height:0;transition:transform ",";& svg{fill:currentColor;stroke:currentColor;stroke-width:0;}details[open] > summary > &{transform:rotate(",");}"],({theme:o})=>{var n;let e=(n=o.motion)!=null?n:z;return`${c(e,"emphasis","duration")} ${c(e,"emphasis","easing")}`},({$indicator:o})=>Z[o]),_=i("div").withConfig({componentId:"sc-wxmnzx-6"})(["min-height:0;overflow:hidden;"]),M=i("div").withConfig({componentId:"sc-wxmnzx-7"})(["padding:",";"],({theme:o})=>o.spacing("zero","medium","medium"));import{jsx as d,jsxs as O}from"react/jsx-runtime";var eo={chevron:R,plus:I},no=["bgColor","borderColor","borderRadius","borderWidth","borderPosition"],W="data-apollion-accordion-seen",to=oo(({items:o,type:e="multiple",name:n,defaultValue:r,headingLevel:m=3,indicator:w="chevron",variant:h="divided",onItemToggle:p,...U},H)=>{let K=new Set(r===void 0?[]:Array.isArray(r)?r:[r]),V=e==="single"?n:void 0,Y=`h${m}`,f={...U},A={};if(h==="separated")for(let t of no)f[t]!==void 0&&(A[t]=f[t],delete f[t]);let G=s((t,u)=>j=>{let y=j.currentTarget;!y.hasAttribute(W)&&(y.setAttribute(W,""),y.open===u)||p==null||p(t,y.open)},"handleToggle");return d(E,{ref:H,$variant:h,...f,children:o.map(t=>{let u=K.has(t.value);return O(D,{as:"details",$variant:h,$surface:A,name:V,open:u||void 0,onToggle:p?G(t.value,u):void 0,children:[O(F,{children:[typeof t.title=="string"?d(L,{as:Y,children:t.title}):t.title,typeof t.description=="string"?d(B,{children:t.description}):t.description,d(N,{$indicator:w,children:d(P,{...eo[w],size:"1em",fill:"currentColor"})})]}),d(_,{children:d(M,{children:t.content})})]},t.value)})})});to.displayName="Accordion";export{to as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as x,c as b}from"./chunk-LUVBIWXK.esm.js";import{a as h}from"./chunk-LSLBDF5M.esm.js";import{a as l}from"./chunk-TQMP7PZI.esm.js";import{g as t}from"./chunk-AXUWC2WH.esm.js";import{a as M}from"./chunk-GZONWSRB.esm.js";import{forwardRef as v}from"react";var u=t(h).withConfig({componentId:"sc-10ipxtd-0"})([""," width:100%;"],b),s=t(x).withConfig({componentId:"sc-10ipxtd-1"})(["margin-bottom:0;"]),y=t(l).withConfig({componentId:"sc-10ipxtd-2"})(["position:absolute;top:0;bottom:0;background:var(--bg-progress);"]),g=t(l).withConfig({componentId:"sc-10ipxtd-3"})(["position:absolute;top:0;bottom:0;width:2px;background:var(--text-color);"]);import{jsx as d,jsxs as R}from"react/jsx-runtime";var P=v(({label:w,min:r=0,max:i=100,value:n,segments:e,ticks:p,color:C="primary",size:T="medium",border:$,...S},I)=>{let f=i-r,a=M(o=>f>0?Math.min(100,Math.max(0,(o-r)/f*100)):0,"pct"),m=n!=null,k=e!=null&&e.length?e:m?[{from:r,to:n}]:[];return d(u,{color:C,role:m?"meter":"img","aria-label":w,...m&&{"aria-valuemin":r,"aria-valuemax":i,"aria-valuenow":Math.min(i,Math.max(r,n))},...S,ref:I,children:R(s,{size:T,border:$,children:[k.map((o,c)=>d(y,{"aria-hidden":"true",style:{left:`${a(o.from)}%`,width:`${Math.max(a(o.to)-a(o.from),0)}%`,...o.color&&{background:o.color}}},`${o.from}-${o.to}-${c}`)),p==null?void 0:p.map((o,c)=>d(g,{"aria-hidden":"true",style:{left:`calc(${a(o.at)}% - 1px)`,...o.color&&{background:o.color}}},`${o.at}-${c}`))]})})});P.displayName="Meter";export{P as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n,b as a,d as f}from"./chunk-EEPJZ62X.esm.js";import{b as c}from"./chunk-SRBIATLE.esm.js";import{o as i}from"./chunk-TVJXEJLN.esm.js";import{a as m}from"./chunk-EU4FKCQL.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import{jsx as o,jsxs as s}from"react/jsx-runtime";var p=r(({label:e=null,labelProps:x,variant:l="default",color:C,area:k,alignSelf:h,justifySelf:b,...t})=>s(f,{variant:l,$color:C,disabled:t.disabled,area:k,alignSelf:h,justifySelf:b,children:[o(n,{...t,type:"checkbox"}),o(a,{children:o(c,{icon:i,size:"small"})}),typeof e=="string"?o(m,{fontSize:"small",color:"ink.primary",...x,children:e}):e]}),"CheckboxComponent");p.displayName="Checkbox";export{p as a};
|