@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
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ and `elements/sheet` / `elements/modal` for the primitives that use it.
|
|
|
93
93
|
| **Actions** | `Button`, `IconButton`, `Link`, `Dropdown` |
|
|
94
94
|
| **Navigation** | `Tabs`, `NavBar`, `Steps`, `NavTabs` (deprecated) |
|
|
95
95
|
| **Forms** | `Form`, `Field`, `FieldGroup`, `Input`, `InputMask`, `InputCurrency`, `InputDate`, `InputRange`, `InputSelect`, `Select`, `TextArea`, `Checkbox`, `Radio`, `Switch`, `Option`, `UploadCard` |
|
|
96
|
-
| **Data Display** | `Table`, `DataTable`, `List`, `DescriptionList`, `Accordion`, `Meter`, `Chip`, `ChipGroup`, `StatusDot`, `Label`, `Calendar`
|
|
96
|
+
| **Data Display** | `Table`, `DataTable`, `List`, `DescriptionList`, `Accordion`, `Diff`, `Meter`, `Sparkline`, `Chip`, `ChipGroup`, `StatusDot`, `Label`, `Calendar` |
|
|
97
97
|
| **Feedback** | `Notification`, `ProgressBar`, `Spinner`, `Skeleton` (+ list/code/item presets), `TextPreset` |
|
|
98
98
|
| **Overlays** | `Modal`, `Sheet`, `Popover`, `Tooltip` |
|
|
99
99
|
| **Page Layouts** | `DefaultLayout`, `SideBarLayout` |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as d,c as p,d as f,e as g,f as c,g as u,h as P,j as h,k as F,l as w,m as y,n as b,o as x,p as v}from"./chunk-H2YBLEHV.esm.js";import{g as l}from"./chunk-UGIYAS67.esm.js";import{a as m}from"./chunk-UCNKTKY7.esm.js";import"./chunk-I6XZCSTD.esm.js";import"./chunk-MPMCXGOX.esm.js";import"./chunk-JWNC52FT.esm.js";import"./chunk-T3ANVSKR.esm.js";import"./chunk-4SDDAQ6N.esm.js";import"./chunk-QEB4VTKV.esm.js";import"./chunk-R2QEO3KP.esm.js";import"./chunk-ENPBIFMV.esm.js";import"./chunk-K6R7CVK4.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-UWH5IBPA.esm.js";import"./chunk-IC54RGJD.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-VCMHX5VK.esm.js";import"./chunk-XI4HR75A.esm.js";import"./chunk-3BR6IVVX.esm.js";import"./chunk-CRSMYEKV.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-ZJET55OZ.esm.js";import"./chunk-WKXEPDPZ.esm.js";import"./chunk-4JM5PL3S.esm.js";import"./chunk-UGA75LGY.esm.js";import"./chunk-SF5BK4KT.esm.js";import"./chunk-KO5FSKVM.esm.js";import"./chunk-6G22RNUO.esm.js";import"./chunk-J6F4PMW4.esm.js";import"./chunk-G5Z7USXC.esm.js";import"./chunk-QXV2TDLZ.esm.js";import{f as a}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{jsx as e}from"react/jsx-runtime";var U={left:"bottom-start",right:"bottom-end",center:"bottom"},Z=t(({referenceEl:n,open:r,motionState:i,motionRef:D,onClose:M,position:R,hoverable:E,role:T,width:O,motion:C,distance:H,children:I})=>{let L=a(),s=x(n,r),{refs:k,floatingStyles:z,context:o,placement:K}=F({open:r,strategy:s.strategy,onOpenChange:t(S=>{S||M()},"onOpenChange"),placement:U[R],middleware:[c(H),p(),P({padding:8})],whileElementsMounted:d,elements:{reference:n}}),{getFloatingProps:N}=y([w(o,{enabled:E,mouseOnly:!0,move:!1,handleClose:u()}),h(o,{outsidePress:!0,escapeKey:!0}),b(o,{role:T})]);return e(g,{root:s.root,children:e(f,{context:o,modal:!1,initialFocus:-1,children:e("div",{ref:k.setFloating,style:{...z,zIndex:l(L).dropdown,...i==="closing"&&{pointerEvents:"none"}},...N(),children:e(m,{ref:D,"data-state":i,p:"xs",borderRadius:"xs",deep:2,width:O,motion:C,style:{transformOrigin:v(K)},children:I})})})})},"DropdownFloating"),J=Z;export{J as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as h}from"./chunk-JOQLL6XH.esm.js";import"./chunk-VQK2V46Q.esm.js";import"./chunk-SSKJNT7I.esm.js";import"./chunk-2V52IYQV.esm.js";import"./chunk-U3YG36FD.esm.js";import"./chunk-5YWORBNJ.esm.js";import"./chunk-JLQDS5TS.esm.js";import"./chunk-TVJXEJLN.esm.js";import"./chunk-FVTAFMZS.esm.js";import"./chunk-ZMHNNJNC.esm.js";import"./chunk-KQQ7V7VG.esm.js";import"./chunk-B772QSAK.esm.js";import"./chunk-P3SIJHYM.esm.js";import"./chunk-2FQC32AA.esm.js";import"./chunk-HSKYQ6VP.esm.js";import"./chunk-SPHHNZVP.esm.js";import"./chunk-4UWZA5FD.esm.js";import"./chunk-3QSPHURU.esm.js";import"./chunk-NDIYF5SX.esm.js";import"./chunk-4MMTXWN6.esm.js";import"./chunk-BE2JDTVA.esm.js";import{c as l}from"./chunk-KZTG5TDM.esm.js";import"./chunk-7JYI2AQK.esm.js";import"./chunk-AMN6SRJS.esm.js";import"./chunk-E2U6IFPB.esm.js";import"./chunk-DKSFPJ4D.esm.js";import"./chunk-YP7EK4TW.esm.js";import"./chunk-JSVL6DGF.esm.js";import"./chunk-HPMNSONF.esm.js";import"./chunk-4E3BR56X.esm.js";import"./chunk-QHV3TXJB.esm.js";import"./chunk-4L2KOZIQ.esm.js";import"./chunk-6ENKSD5C.esm.js";import{d as x}from"./chunk-MDIM6HBL.esm.js";import"./chunk-TLIKQFOT.esm.js";import"./chunk-IA234JY2.esm.js";import"./chunk-NYKFDMIM.esm.js";import"./chunk-HAYP3N7C.esm.js";import"./chunk-FLYTTTRD.esm.js";import"./chunk-Z7GJDO5T.esm.js";import"./chunk-LCCVFIPZ.esm.js";import"./chunk-TG5BCBO4.esm.js";import"./chunk-WB5XXCKL.esm.js";import"./chunk-JOKVE3IX.esm.js";import"./chunk-CWRWYU7D.esm.js";import"./chunk-PFLBU7HG.esm.js";import"./chunk-4UQS5RWZ.esm.js";import"./chunk-XUZQE326.esm.js";import"./chunk-3DUB5C4Z.esm.js";import"./chunk-HVFI7FHR.esm.js";import{g as u}from"./chunk-UGIYAS67.esm.js";import"./chunk-SAPHWVC7.esm.js";import"./chunk-2C4RPPWG.esm.js";import"./chunk-I47BDQKT.esm.js";import"./chunk-KT4BKJVV.esm.js";import"./chunk-S3XZBMR2.esm.js";import"./chunk-KT6QQ3UJ.esm.js";import{a as e}from"./chunk-I6XZCSTD.esm.js";import"./chunk-MPMCXGOX.esm.js";import"./chunk-JWNC52FT.esm.js";import"./chunk-T3ANVSKR.esm.js";import"./chunk-4SDDAQ6N.esm.js";import"./chunk-QEB4VTKV.esm.js";import"./chunk-R2QEO3KP.esm.js";import"./chunk-ENPBIFMV.esm.js";import"./chunk-K6R7CVK4.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-UWH5IBPA.esm.js";import"./chunk-IC54RGJD.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-VCMHX5VK.esm.js";import"./chunk-XI4HR75A.esm.js";import"./chunk-3BR6IVVX.esm.js";import"./chunk-CRSMYEKV.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-ZJET55OZ.esm.js";import"./chunk-WKXEPDPZ.esm.js";import"./chunk-4JM5PL3S.esm.js";import"./chunk-UGA75LGY.esm.js";import"./chunk-SF5BK4KT.esm.js";import"./chunk-KO5FSKVM.esm.js";import"./chunk-6G22RNUO.esm.js";import"./chunk-J6F4PMW4.esm.js";import{c}from"./chunk-G5Z7USXC.esm.js";import"./chunk-QXV2TDLZ.esm.js";import{f as d}from"./chunk-AXUWC2WH.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";import{useEffect as v,useState as C}from"react";import{createPortal as g}from"react-dom";import{jsx as t}from"react/jsx-runtime";var w=p(({toast:n,onRemove:o})=>{let{id:i,...s}=n,[a,r]=C(!0),{mounted:m,state:f,ref:y}=l(a,{property:"grid-template-rows"});return v(()=>{m||o(i)},[m,i,o]),m?t(e,{ref:y,motion:"collapse","data-state":f,"aria-hidden":f==="closing"||void 0,style:{minWidth:"min(18.75rem, calc(100vw - 2rem))",maxWidth:"30vw"},children:t(e,{motion:"drawer-right","data-state":f,children:t(e,{m:"xs",children:t(h,{...s,visible:!0,closable:!0,onDismiss:()=>r(!1)})})})}):null},"ToastItem"),B=p(()=>{let{notifications:n,removeNotification:o}=x(),i=d(),[s,a]=C(!1);return v(()=>{a(!0)},[]),!s||!c?null:g(t(e,{style:{position:"fixed",bottom:"1rem",right:"1rem",zIndex:u(i).toast},children:n.map(r=>t(w,{toast:r,onRemove:o},r.id))}),c)},"NotificationGroup"),D=B;export{D as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as b,b as w,c as T,e as x,f as P,h as F,j as M,k as v,m as E,n as R,o as L,p as C}from"./chunk-H2YBLEHV.esm.js";import{a as H,b as I}from"./chunk-4YRJLSB2.esm.js";import{g as y}from"./chunk-UGIYAS67.esm.js";import"./chunk-I6XZCSTD.esm.js";import"./chunk-MPMCXGOX.esm.js";import"./chunk-JWNC52FT.esm.js";import"./chunk-T3ANVSKR.esm.js";import"./chunk-4SDDAQ6N.esm.js";import"./chunk-QEB4VTKV.esm.js";import"./chunk-R2QEO3KP.esm.js";import"./chunk-ENPBIFMV.esm.js";import"./chunk-K6R7CVK4.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-UWH5IBPA.esm.js";import"./chunk-IC54RGJD.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-VCMHX5VK.esm.js";import"./chunk-XI4HR75A.esm.js";import"./chunk-3BR6IVVX.esm.js";import"./chunk-CRSMYEKV.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-ZJET55OZ.esm.js";import"./chunk-WKXEPDPZ.esm.js";import"./chunk-4JM5PL3S.esm.js";import"./chunk-UGA75LGY.esm.js";import"./chunk-SF5BK4KT.esm.js";import"./chunk-KO5FSKVM.esm.js";import"./chunk-6G22RNUO.esm.js";import"./chunk-J6F4PMW4.esm.js";import"./chunk-G5Z7USXC.esm.js";import"./chunk-QXV2TDLZ.esm.js";import{f as h}from"./chunk-AXUWC2WH.esm.js";import{a as g}from"./chunk-GZONWSRB.esm.js";import A from"react";import{jsx as D,jsxs as q}from"react/jsx-runtime";var Z=g(({referenceEl:e,open:t,motion:O,motionState:o,motionRef:n,onOpenChange:k,position:S,inverted:$,noArrow:z,content:B,tooltipId:K})=>{var c,f;let r=A.useRef(null),a=L(e,t),{refs:i,floatingStyles:N,context:l,placement:s,middlewareData:p}=v({open:t,strategy:a.strategy,transform:!1,onOpenChange:k,placement:S,middleware:[P(8),T(),F({padding:4}),b({element:r})],whileElementsMounted:w,elements:{reference:e}}),{getFloatingProps:U}=E([M(l,{outsidePress:!0,escapeKey:!0}),R(l,{role:"tooltip"})]),X=A.useCallback(u=>{i.setFloating(u),n(u)},[i,n]),Y=h(),m=(c=p.arrow)==null?void 0:c.x,d=(f=p.arrow)==null?void 0:f.y;return D(x,{root:a.root,children:q(I,{ref:X,inverted:$,motion:O,"data-state":o,deep:2,p:"xs",borderRadius:"xs","data-placement":s,style:{...N,zIndex:y(Y).tooltip,transformOrigin:C(s),...o==="closing"&&{pointerEvents:"none"}},...U(),id:K,children:[B,!z&&D(H,{ref:r,style:{left:m!=null?`${m}px`:"",top:d!=null?`${d}px`:""}})]})})},"TooltipFloating"),_=Z;export{_ as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as o}from"./chunk-
|
|
1
|
+
import{g as o}from"./chunk-I47BDQKT.esm.js";import{a as e}from"./chunk-S3XZBMR2.esm.js";import{forwardRef as u}from"react";import{jsx as n,jsxs as i}from"react/jsx-runtime";var f=u(({loading:r,opener:l=null,closer:m=null,content:s,contentGap:p="xs",children:x,loadingComponent:t,...c},a)=>i(e,{flexDirection:"row",justifyContent:"center",alignItems:"center",...c,ref:a,children:[i(e,{flexDirection:"row",flex:"fluid",alignItems:"center",gap:p,isHidden:r,children:[l,n(e,{flex:"fluid",minWidth:0,children:x||s}),m]}),r&&(t!=null?t:n(o,{"data-testid":"content-spinner",color:"gray.0",position:"absolute"}))]}));f.displayName="Content";export{f as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k}from"./chunk-43YSWDK6.esm.js";import{h as f}from"./chunk-
|
|
1
|
+
import{a as k}from"./chunk-43YSWDK6.esm.js";import{h as f}from"./chunk-GZQXLRSB.esm.js";import{q as c}from"./chunk-6G22RNUO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import{useEffect as h,useMemo as I,useState as v}from"react";import{jsx as g}from"react/jsx-runtime";function i(M){let{mask:u,value:e,onChange:t,...d}=M,a=I(()=>c(u),[u]),[C,s]=v(()=>e?a(e):"");h(()=>{s(n=>{let r=e?a(e):"";return r!==n?r:n})},[e,a]);let m=I(()=>k(t!=null?t:(()=>{}),250),[t]);return g(f,{...d,reset:o(()=>{s(""),m("")},"resetValues"),value:C,onChange:o((n,r)=>{var l;let p=a((l=n.target.value)!=null?l:"");s(p),m(p)},"handleChange")})}o(i,"InputMaskComponent");i.displayName="InputMask";export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as C}from"./chunk-
|
|
1
|
+
import{b as C}from"./chunk-U3YG36FD.esm.js";import{e as a}from"./chunk-YP7EK4TW.esm.js";import{a as u}from"./chunk-LCCVFIPZ.esm.js";import{a as R}from"./chunk-I6XZCSTD.esm.js";import{j as g,k as d}from"./chunk-6G22RNUO.esm.js";import{a as I}from"./chunk-J6F4PMW4.esm.js";import{g as h}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var f=h(R).withConfig({componentId:"sc-l15crp-0"})(({theme:t,size:o})=>({fontSize:o?u(t,o):"inherit",display:"inline-block",lineHeight:0,"& svg":{stroke:"currentColor",fill:"currentColor",strokeWidth:0,"& g":{fill:"currentColor"}}}));import w,{forwardRef as s,useEffect as E,useState as P}from"react";function y(t,o){if(typeof window!="undefined")try{window.fetch(t).then(e=>e.text()).then(e=>g(e,"svg")).then(d).then(o)}catch(e){I.warn(`[ICON] Failed to load icon from: ${t}`)}}i(y,"getIconFromUrl");import{jsx as c}from"react/jsx-runtime";var S=i((t,o)=>w.cloneElement(t,o),"createIcon"),x=s(({icon:t,iconProps:o,svgProps:e,children:n,...m},l)=>c(f,{...m,ref:l,children:i(()=>{let r=null;return n?r=S(n,e):t?r=c(a,{...t,...e}):o&&(r=a(e)),r},"getIcon")()})),k=s(({title:t,src:o,svgProps:e,...n},m)=>{let[l,p]=P(()=>c(C,{height:"1em",width:"1em",alt:t}));return E(()=>{y(o,r=>{p(S(r,e))})},[o]),c(f,{...n,ref:m,children:l})}),v=s(({title:t,...o},e)=>{let n={...o.iconProps||{},title:t,stroke:"currentColor",fill:"currentColor",strokeWidth:"0",height:"1em",width:"1em"};return o.src?c(k,{...o,svgProps:n,ref:e}):c(x,{...o,svgProps:n,ref:e})});v.displayName="Icon";export{f as a,v as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as T,f as l}from"./chunk-
|
|
1
|
+
import{e as T,f as l}from"./chunk-CRSMYEKV.esm.js";import{b as c}from"./chunk-WKXEPDPZ.esm.js";import{j as d,l as C,p as u}from"./chunk-KO5FSKVM.esm.js";import{a as F}from"./chunk-GZONWSRB.esm.js";var E=new RegExp(`^neutral\\.(${u.join("|")})$`),I=["color","contrast","readable"],N=F(b=>g=>{var i,p;let{theme:a,...o}={...b,...g},r;if(o.contrast){let{contrast:t}=o;r=c(a,e=>e.colors.getContrastColor(e.colors(t)))}else if(o.color){let t=o.color,e=(p=o.readable)!=null?p:E.test(t)||((i=l(t))==null?void 0:i[0])==="tx";if(e){let h=typeof o.readable=="number"?o.readable:d;r=c(a,m=>{var y;let n=m.colors(t);return n&&C(n,(y=m.colors.baseLight)!=null?y:"#FFFFFF",h)})}else r=a.colors(t);let f=r?l(t):null;f&&(e||t.startsWith("ink."))&&(r=T(r,...f))}if(!o.opacity)return{color:r};let s;return o.opacity==="high"?s=.9:s=o.opacity==="md"?.5:.1,{color:r,opacity:s}},"ColorFactory");export{I as a,N as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as i}from"./chunk-AXUWC2WH.esm.js";var o=i(["position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;"]);export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as F}from"./chunk-43YSWDK6.esm.js";import{a as w,c as E}from"./chunk-CNNDH4LV.esm.js";import{f as N,h as k}from"./chunk-GZQXLRSB.esm.js";import{a as T}from"./chunk-JSVL6DGF.esm.js";import{a as v}from"./chunk-S3XZBMR2.esm.js";import{g as b}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 a(e){return e.replace(/\D/g,"")}c(a,"removeNonDigits");function B(e,r="."){return a(e).replace(/\B(?=(\d{3})+(?!\d))/g,r)}c(B,"formatNumber");function g(e,r){let t=e;if(r!=null&&r.prefix&&t&&(t=e.replaceAll(r.prefix,"").trim()),t==="")return t;let{decimal:i,thousand:n,validate:m}=r!=null?r:{},l=t.indexOf(i);if(l>=0){let f=t.substring(0,l),u=t.substring(l);f=B(f,n),m&&(u=`${u}00`),u=a(u).substring(0,2),t=`${f}${i}${u}`}else t=B(t,n),m&&(t+=`${i}00`);return t}c(g,"formatCurrency");function G(e,r=","){if(typeof e=="number")return e;try{let t=e.indexOf(r);if(t>=0){let i=a(e.substring(0,t)),n=a(e.substring(t));return+`${i}.${n}`}return Number(a(e))}catch(t){return console.log("Failed to convert string to Number"),0}}c(G,"currencyToNumber");function p(e,r){let t=e;return typeof t=="number"&&(t=t.toLocaleString("pt-BR",{style:"decimal"})),g(t,{validate:!0,...r})}c(p,"getInitialCurrencyValue");var M=b(T).withConfig({componentId:"sc-1xhba8m-0"})(["position:absolute;right:1em;align-self:center;pointer-events:none;color:var(--icon-color);z-index:1;"]),P=b(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:i=".",prefix:n="R$",suffix:m,options:l,optionValue:f,onOptionChange:u,optionsLabel:R="Percent of balance",...z},D)=>{let[x,d]=U(()=>r?p(r,{decimal:t,thousand:i,prefix:n}):"");V(()=>{d(o=>{let s=r?p(r,{decimal:t,thousand:i,prefix:n}):"";return s!==o?s:o})},[r,t,i,n]);let S=A(()=>F(o=>e==null?void 0:e(o),250),[e]),I=c((o,s)=>{var h;let $=g((h=o.target.value)!=null?h:"",{validate:s,decimal:t,thousand:i,prefix:n});d($),S($)},"handleChange"),L=c(()=>{d(""),S("")},"resetValues"),O=n?`${n} ${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:o=>I(o,!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:o=>u==null?void 0:u(o)})]}):C});W.displayName="InputCurrency";export{g as a,G as b,p as c,W as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{C as i,a as s,b as h}from"./chunk-KO5FSKVM.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var d={"level-one-minus":"inset 0px 0px 4px","level-zero":"0px 0px 0px","level-one":"0px 0px 4px","level-two":"0px 0px 8px","level-three":"0px 0px 16px","level-four":"0px 0px 28px","level-five":"0px 0px 44px","level-six":"0px 0px 72px"},m=h("rgb"),c={light:{alpha:.15},dark:{alpha:.4}},$=n(p=>{var o,a,l,x;let t=i(p.baseLight),r=t?(o=p.deepLight)!=null?o:"#000":p.neutral[180],v=t?c.dark.alpha:c.light.alpha,e=m(s(r)),f=e?`rgba(${Math.round(((a=e.r)!=null?a:0)*255)}, ${Math.round(((l=e.g)!=null?l:0)*255)}, ${Math.round(((x=e.b)!=null?x:0)*255)}, ${v})`:r;return g=>`${d[g]} ${f}`},"createDeth");export{d as a,c as b,$ as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as D}from"./chunk-BE2JDTVA.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import{useCallback as v}from"react";function d(r,a){if(a===void 0||a.length===0)return!0;let i=r.name||"",t=r.type||"",c=t.replace(/\/.*$/,"");return(Array.isArray(a)?a:[a]).some(g=>{let e=g.trim();return e.charAt(0)==="."?i.toLowerCase().endsWith(e.toLowerCase()):e.endsWith("/*")?c===e.replace(/\/.*$/,""):t===e})}f(d,"acceptableFile");var E=f(r=>{let{active:a,enable:i,disable:t}=D(),c=v(e=>{e.stopPropagation(),e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),e.dataTransfer&&!a&&(r.onDragOver&&(r==null||r.onDragOver()),i())},[a,i,r]),o=v(e=>{var l;e.stopPropagation(),e.preventDefault();let n=e.relatedTarget;n&&((l=e.currentTarget)!=null&&l.contains(n))||(r.onDragLeave&&(r==null||r.onDragLeave()),t())},[t,r]),g=v(e=>{var l;e.stopPropagation(),e.preventDefault();let n=e.dataTransfer&&e.dataTransfer.files;if(n){let s=Array.from(n).filter(m=>d(m,r.accept));s.length&&((l=r.onDrop)==null||l.call(r,r.single?s.slice(0,1):s))}t()},[r,t]);return{isDragging:a,events:{onDragOver:c,onDragLeave:o,onDrop:g,onDragEnd:o}}},"useDrag");export{d as a,E as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as b}from"./chunk-BASPM3ZG.esm.js";import{a as C}from"./chunk-PCQQ762I.esm.js";import{a}from"./chunk-LLSORQ2S.esm.js";import{a as t}from"./chunk-S3XZBMR2.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import h from"react";var c=r(b).withConfig({componentId:"sc-a4obcw-0"})([""]);import{jsx as o}from"react/jsx-runtime";var e=l(n=>{let{getAllSelected:m}=h.useContext(C);return o(c,{bgColor:"baseLight",children:o(t,{justifyContent:"center",children:o(a,{label:n.children,onChange:x=>m(x.target.checked)})})})},"TableHeaderCheckboxCellComponent");e.displayName="TableHeaderCheckboxCell";export{c as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as i}from"./chunk-
|
|
1
|
+
import{h as i}from"./chunk-CRSMYEKV.esm.js";import{f as s}from"./chunk-AXUWC2WH.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import c from"react";import{jsx as u}from"react/jsx-runtime";function R({bg:e,paint:r=!0,style:t,children:a,...d}){let o=s(),n=c.useMemo(()=>i(o,e),[o,e]),p=c.useMemo(()=>({...r?{backgroundColor:o.colors(e)}:{},...n,...t}),[r,o,e,n,t]);return u("div",{...d,style:p,children:a})}m(R,"Ground");export{R as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
1
|
+
import{a as i}from"./chunk-I6XZCSTD.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";function e({inverted:a,theme:o}){return a?{"--background":o.colors.surface.raised,"--color":o.colors.ink.primary}:{"--background":o.colors.ink.primary,"--color":o.colors.surface.paper}}n(e,"getContainerStyle");var t=r(i).withConfig({componentId:"sc-10yilai-0"})(["position:absolute;width:8px;height:8px;z-index:-1;&::before{content:'';transform:rotate(45deg);background:var(--background);position:absolute;width:8px;height:8px;z-index:-1;}"]),l=r(i).withConfig({componentId:"sc-10yilai-1"})([""," color:var(--color);background-color:var(--background);line-height:1;&[data-placement^='top'] > ","{bottom:-3px;}&[data-placement^='bottom'] > ","{top:-3px;}&[data-placement^='left'] > ","{right:-4px;}&[data-placement^='right'] > ","{left:-4px;}"],e,t,t,t,t);export{t as a,l as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as S}from"./chunk-OAMAE3G7.esm.js";import{U as R,p as P}from"./chunk-TVJXEJLN.esm.js";import{c as k}from"./chunk-DKSFPJ4D.esm.js";import{e as T}from"./chunk-YP7EK4TW.esm.js";import{a as w}from"./chunk-JSVL6DGF.esm.js";import{b as C}from"./chunk-SAPHWVC7.esm.js";import{a as g}from"./chunk-I6XZCSTD.esm.js";import{b as c,h as b,k as v}from"./chunk-R2QEO3KP.esm.js";import{b as a,g as i}from"./chunk-AXUWC2WH.esm.js";import{a as d}from"./chunk-GZONWSRB.esm.js";import{forwardRef as Q}from"react";var z=v(b),G=C().accordion,l=d(o=>{var n,e;return(e=(n=o.component)==null?void 0:n.accordion)!=null?e:G},"tier"),q=["bgColor","borderColor","borderRadius","borderWidth","borderPosition"],I=d((o,n)=>{let e={...l(o).surface};for(let r of q)n[r]!==void 0&&(e[r]=n[r]);return e},"surfaceAttrs"),$=i(g).attrs(({theme:o,$variant:n,...e})=>n==="divided"?I(o,e):{}).withConfig({componentId:"sc-wxmnzx-0"})(["display:flex;flex-direction:column;min-width:0;",""],({$variant:o,theme:n})=>o==="divided"?a(["overflow:hidden;"]):a(["gap:",";"],n.spacing("small"))),E=i(g).attrs(({theme:o,$variant:n,$surface:e={}})=>n==="separated"?{...I(o,e),overflow:"hidden"}:{}).withConfig({componentId:"sc-wxmnzx-1"})(["display:block;min-width:0;"," ",""],({$variant:o,theme:n})=>o==="divided"&&a(["& + &{border-top:"," solid ",";}"],n.border.borderWidth.thin,n.colors.edge.hairline),({theme:o})=>{var r;let n=(r=o.motion)!=null?r:z,e=d(p=>`${c(n,p,"duration")} ${c(n,p,"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:",";}"],e("exit"),e("exit"),e("exit"),c(n,"emphasis","duration"),c(n,"emphasis","easing"))}),D=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{","}"],({theme:o})=>o.spacing("small"),({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing("small","medium"),({theme:o})=>{var n;return(n=o.colors.wash)==null?void 0:n.hover},({theme:o})=>{var n;return(n=o.colors.wash)==null?void 0:n.pressed},({theme:o})=>k(o,{offset:"-2px"})),B=i(w).attrs(({theme:o})=>{let{fontSize:n,fontWeight:e,color:r}=l(o).title;return{fontSize:n,fontWeight:e,color:r,lineHeight:"regular"}}).withConfig({componentId:"sc-wxmnzx-3"})(["grid-column:1;"]),L=i(w).attrs(({theme:o})=>{let{fontSize:n,color:e}=l(o).description;return{fontSize:n,color:e,lineHeight:"regular"}}).withConfig({componentId:"sc-wxmnzx-4"})(["grid-column:1;"]),J={chevron:"180deg",plus:"45deg"},W=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 e;let n=(e=o.motion)!=null?e:z;return`${c(n,"emphasis","duration")} ${c(n,"emphasis","easing")}`},({$indicator:o})=>J[o]),N=i(S).withConfig({componentId:"sc-wxmnzx-6"})(["min-height:0;overflow:hidden;"]),H=i(S).withConfig({componentId:"sc-wxmnzx-7"})(["padding:",";"],({theme:o})=>o.spacing("zero","medium","medium"));import{jsx as s,jsxs as U}from"react/jsx-runtime";var X={chevron:P,plus:R},Z=["bgColor","borderColor","borderRadius","borderWidth","borderPosition"],M="data-apollion-accordion-seen",oo=Q(({items:o,type:n="multiple",name:e,defaultValue:r,headingLevel:p=3,indicator:A="chevron",variant:h="divided",onItemToggle:m,..._},F)=>{let O=new Set(r===void 0?[]:Array.isArray(r)?r:[r]),K=n==="single"?e:void 0,Y=`h${p}`,f={..._},x={};if(h==="separated")for(let t of Z)f[t]!==void 0&&(x[t]=f[t],delete f[t]);let V=d((t,u)=>j=>{let y=j.currentTarget;!y.hasAttribute(M)&&(y.setAttribute(M,""),y.open===u)||m==null||m(t,y.open)},"handleToggle");return s($,{ref:F,$variant:h,...f,children:o.map(t=>{let u=O.has(t.value);return U(E,{as:"details",$variant:h,$surface:x,name:K,open:u||void 0,onToggle:m?V(t.value,u):void 0,children:[U(D,{children:[typeof t.title=="string"?s(B,{as:Y,children:t.title}):t.title,typeof t.description=="string"?s(L,{children:t.description}):t.description,s(W,{$indicator:A,children:s(T,{...X[A],size:"1em",fill:"currentColor"})})]}),s(N,{children:s(H,{children:t.content})})]},t.value)})})});oo.displayName="Accordion";export{oo as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as n}from"./chunk-KO5FSKVM.esm.js";import{f as i}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import p,{BulletList as r,Code as s,Facebook as l,List as m}from"react-content-loader";var C=p;import{jsx as b}from"react/jsx-runtime";var k=t(o=>typeof o=="number"||/^\d+(\.\d+)?$/.test(o),"isUnitless"),c=t((o,e)=>k(o)&&k(e)?`0 0 ${o} ${e}`:void 0,"defaultViewBox");function f({children:o,...e}){var d;let{colors:a}=i();return b(C,{...e,viewBox:(d=e.viewBox)!=null?d:c(e.width,e.height),backgroundColor:n(e.backgroundColor||a.muted),foregroundColor:n(e.foregroundColor||a.edge.border),children:o})}t(f,"ComposedSkeletonComponent");f.displayName="Skeleton";var u=m,L=r,S=s,x=l;export{f as a,u as b,L as c,S as d,x as e};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as s}from"./chunk-
|
|
1
|
+
import{f as s}from"./chunk-MDIM6HBL.esm.js";import{b as l}from"./chunk-TLIKQFOT.esm.js";import{e as m}from"./chunk-R2QEO3KP.esm.js";import{c as i,h as n}from"./chunk-CRSMYEKV.esm.js";import{a}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var c="apollion.reset";function f(){return`
|
|
2
2
|
@media (forced-colors: active) {
|
|
3
3
|
:focus-visible {
|
|
4
4
|
outline: 2px solid Highlight;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as c}from"./chunk-
|
|
1
|
+
import{b as c}from"./chunk-2V52IYQV.esm.js";import{b as g}from"./chunk-U3YG36FD.esm.js";import{e as u}from"./chunk-JSVL6DGF.esm.js";import{a as s}from"./chunk-LCCVFIPZ.esm.js";import{a as f}from"./chunk-I6XZCSTD.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function h(r){return r==="extraLarge"?"xl":r==="giant"?"xxl":r}a(h,"getIconSize");function x({theme:r,size:i,$label:n}){let{fontSize:o}=r.font,e=(n==null?void 0:n.length)||0;switch(i){case"small":{let t=s(r,"medium");return{width:t,height:t,fontSize:o.micro}}case"large":{let t=s(r,"xl");return{width:t,height:t,fontSize:e===1?o.xxl:o.large}}case"extraLarge":{let t=s(r,"xxl");return{width:t,height:t,fontSize:e===1?o.gargantua:o.giant}}case"giant":{let t=s(r,"giant");return{width:t,height:t,fontSize:o.gargantua}}default:{let t=s(r,"large");return{width:t,height:t,fontSize:e===1?o.medium:o.xs}}}}a(x,"getSizes");var d=p(f).withConfig({componentId:"sc-k7r87e-0"})(["display:flex;",""],x);import{jsx as m}from"react/jsx-runtime";function l({imgSrc:r,icon:i,size:n,label:o,alt:e}){return r?m(g,{cover:!0,src:r,alt:e!=null?e:"","data-testid":"avatar-image"}):i?m(c,{icon:i,size:h(n),"data-testid":"avatar-icon"}):m(u,{textTransform:"uppercase",children:o})}a(l,"getContent");var v=a(({size:r,icon:i,imgSrc:n,label:o,alt:e,...t})=>m(d,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"surface.sunken",color:"primary.base",$label:o,size:r,...!n&&!i&&!!o&&{role:"img","aria-label":e!=null?e:o},...t,children:l({size:r,icon:i,imgSrc:n,label:o,alt:e})}),"Avatar");v.displayName="Avatar";export{v as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-4MMTXWN6.esm.js";import{a as F}from"./chunk-GZONWSRB.esm.js";import{useCallback as g}from"react";function y(e){let r=g(i=>{let n=Array.isArray(i)?i:Array.from(i),l=e!=null&&e.single?n.slice(0,1):n;l.length&&(e==null||e.onFilesSelect(l))},[e]);return{getFiles:g(i=>{var a,f;let n=Array.from((a=i.target.files)!=null?a:[]),l=e!=null&&e.single?n.slice(0,1):n,c=l.find(d=>!t(d,e==null?void 0:e.accept));c instanceof File?(f=e==null?void 0:e.onUnsupportedFile)==null||f.call(e,c):r(l),i.target.value=""},[r,e])}}F(y,"useFileDialog");export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as C}from"./chunk-XQJ4DROM.esm.js";import{c as i}from"./chunk-PCQQ762I.esm.js";import{a as m}from"./chunk-3T2OY4KF.esm.js";import{e as d}from"./chunk-JSVL6DGF.esm.js";import{a as n}from"./chunk-2C4RPPWG.esm.js";import{b as t}from"./chunk-XI4HR75A.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var b=r.th.withConfig({componentId:"sc-1ft9505-0"})([""," background-color:var(--tableHeaderBg,transparent);",""],C,t),f=r.span.withConfig({componentId:"sc-1ft9505-1"})(["",""],m);import{jsx as o}from"react/jsx-runtime";var e=a(({hiddenLabel:p=!1,align:H,...l})=>o(b,{...l,bgColor:l.bgColor||void 0,role:i("columnheader"),"data-align":H,children:o(n,{children:o(d,{color:"ink.secondary",fontWeight:"stronger",children:p?o(f,{children:l.children}):l.children})})}),"TableHeaderCellComponent");e.displayName="TableHeaderCell";export{b as a,f as b,e as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as O,c as k,d as D,e as K,f as A,h as C,i as z,j as _,k as j,m as B,n as N,o as U,p as Z}from"./chunk-H2YBLEHV.esm.js";import{b as c,c as q,d as G,e as J,f as Q}from"./chunk-
|
|
1
|
+
import{b as O,c as k,d as D,e as K,f as A,h as C,i as z,j as _,k as j,m as B,n as N,o as U,p as Z}from"./chunk-H2YBLEHV.esm.js";import{b as c,c as q,d as G,e as J,f as Q}from"./chunk-JA7HYODC.esm.js";import{h as H}from"./chunk-GZQXLRSB.esm.js";import{b as x}from"./chunk-2V52IYQV.esm.js";import{n as L}from"./chunk-TVJXEJLN.esm.js";import{c as F}from"./chunk-KZTG5TDM.esm.js";import{g as R}from"./chunk-UGIYAS67.esm.js";import{a as S}from"./chunk-UCNKTKY7.esm.js";import{f as P}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{forwardRef as ce,useMemo as m,useState as X}from"react";function W(e,n){let i={value:n,name:e!=null?e:"",type:"text"};return{target:i,currentTarget:i,type:"change",bubbles:!0,cancelable:!0,defaultPrevented:!1,isDefaultPrevented:t(()=>!1,"isDefaultPrevented"),isPropagationStopped:t(()=>!1,"isPropagationStopped"),isTrusted:!1,persist:t(()=>{},"persist"),preventDefault:t(()=>{},"preventDefault"),stopPropagation:t(()=>{},"stopPropagation"),timeStamp:Date.now(),nativeEvent:{target:i},eventPhase:0}}t(W,"buildSyntheticEvent");import{Fragment as ye,jsx as a,jsxs as Me}from"react/jsx-runtime";var me="yyyy-MM-dd";function ge(e){if(!e)return;let n=G(e);return q(n)?n:void 0}t(ge,"toDate");function he(e,n,i){let o=[];if(n&&o.push({before:n}),i&&o.push({after:i}),e&&o.push(...Array.isArray(e)?e:[e]),o.length!==0)return o.length===1?o[0]:o}t(he,"resolveDisabled");var Y=ce(({value:e,onChange:n,onValueChange:i,locale:o=J,minDate:s,maxDate:l,disabledDates:g,displayFormat:h="dd/MM/yyyy",name:y,placeholder:$,disabled:M,readOnly:v,motion:V="scale",...ee},u)=>{let[f,I]=X(!1),{mounted:te,state:E,ref:ne}=F(f),oe=P(),p=m(()=>ge(e),[e]),re=m(()=>p?c(p,h,{locale:o}):"",[p,h,o]),ie=m(()=>he(g,s,l),[g,s,l]),[b,ae]=X(null),w=U(b,f),{floatingStyles:se,context:d,refs:le,placement:pe}=j({open:f,onOpenChange:I,strategy:w.strategy,elements:{reference:b},placement:"bottom-start",middleware:[A(4),k(),C({padding:8})],whileElementsMounted:O}),{getReferenceProps:ue,getFloatingProps:de}=B([z(d,{enabled:!M&&!v}),_(d,{outsidePress:!0,escapeKey:!0}),N(d,{role:"dialog"})]),fe=t(r=>{if(!r)return;let T=c(r,me);i==null||i(T),n==null||n(W(y,T)),I(!1)},"handleSelect");return Me(ye,{children:[a(H,{...ee,ref:r=>{typeof u=="function"?u(r):u&&(u.current=r),ae(r)},type:"text",role:"combobox",disabled:M,readOnly:v,name:y,placeholder:$,value:re,onChange:t(r=>{},"handleInputChange"),inputMode:"none",autoComplete:"off",icon:a(x,{icon:L}),iconPosition:"right",...ue({onKeyDown:t(r=>{r.key.length===1&&r.key!==" "&&r.preventDefault()},"handleKeyDown")})}),te&&a(K,{root:w.root,children:a(D,{context:d,modal:!1,initialFocus:-1,children:a("div",{ref:le.setFloating,style:{...se,zIndex:R(oe).dropdown,...E==="closing"&&{pointerEvents:"none"}},...de(),children:a(S,{ref:ne,"data-state":E,p:"xs",borderRadius:"xs",deep:3,motion:V,style:{transformOrigin:Z(pe)},children:a(Q,{mode:"single",selected:p,onSelect:fe,locale:o,defaultMonth:p,disabled:ie,captionLayout:"dropdown",startMonth:s!=null?s:new Date(1970,0,1),endMonth:l!=null?l:new Date(2100,11,31)})})})})})]})});Y.displayName="InputDate";export{Y as a};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import{a as s}from"./chunk-2V52IYQV.esm.js";import{c as b}from"./chunk-DKSFPJ4D.esm.js";import{a as m}from"./chunk-S3XZBMR2.esm.js";import{a as h}from"./chunk-JWNC52FT.esm.js";import{c as a}from"./chunk-T3ANVSKR.esm.js";import{b as d}from"./chunk-3BR6IVVX.esm.js";import{b as c,g as p}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";var n=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
|
+
`,e=p(m).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 y(o,r,i="primary"){var t;return(t=o.colors[x(r,i)])!=null?t:o.colors.primary}l(y,"resolveControlPalette");function x(o,r="primary"){return o==="success"?"success":o==="error"?"danger":r}l(x,"resolveControlTone");function f({variant:o,$color:r,theme:i}){let t=y(i,o,r);return c(["color:",";& > ","{border:1px solid ",";}&:hover > ","{border-color:",";box-shadow:",";}& > ",":focus-visible ~ ","{","}& > ",":checked ~ ",",& > ",":indeterminate ~ ","{border-color:",";background-color:",";box-shadow:",";}"],t.dark,e,t.dark,e,t.action,i.depth("level-zero"),n,e,b(i,{tone:x(o,r)}),n,e,n,e,t.base,t.base,i.depth("level-zero"))}l(f,"checkboxVariantStyle");function u({theme:o,disabled:r}){return r?c(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";box-shadow:none;& > ","{color:",";}}}"],o.colors.disabled.color,n,e,o.colors.disabled.fill,o.colors.disabled.fill,s,o.colors.disabled.color):null}l(u,"disabledStyle");var I=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
|
+
& > ${n} ~ ${e} > ${s} {
|
|
24
|
+
${d({color:"neutral.0"})}
|
|
25
|
+
opacity: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Shows the glyph (check, or the dash when mixed) on :checked / :indeterminate */
|
|
29
|
+
& > ${n}:checked ~ ${e} > ${s},
|
|
30
|
+
& > ${n}:indeterminate ~ ${e} > ${s} {
|
|
31
|
+
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
${f}
|
|
35
|
+
${u}
|
|
36
|
+
|
|
37
|
+
/* Grid-item placement — native \`<label>\` root: the factory emits the CSS,
|
|
38
|
+
the System \`styled\` withholds the keys from the DOM. */
|
|
39
|
+
${h({})}
|
|
40
|
+
`;export{n as a,e as b,y as c,x as d,I as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as A}from"./chunk-
|
|
1
|
+
import{b as A}from"./chunk-IWESXUNV.esm.js";import{f as u}from"./chunk-FVTAFMZS.esm.js";import{e as b}from"./chunk-JSVL6DGF.esm.js";import{a as p}from"./chunk-S3XZBMR2.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import{Fragment as O,jsx as t,jsxs as c}from"react/jsx-runtime";var a=i(n=>{if(typeof n=="number")return Number.isFinite(n)?n:void 0;if(typeof n=="string"&&/^\d+$/.test(n.trim()))return Number(n)},"asNumber"),x=i(({initialPagination:n,finalPagination:r,linesPerPage:o,totalPagination:d,showingText:E=i((I,l,e)=>`Exibindo ${I} - ${l} de ${e} itens`,"showingText"),linesPerPageLabel:T="Linhas por p\xE1gina",linesPerPageValue:y,onLinesPerPageChange:C,onPreviousPage:k,onNextPage:w,canPreviousPage:m,canNextPage:f,previousLabel:z="Anterior",nextLabel:B="Pr\xF3ximo"})=>{if(!(n&&r&&d&&Array.isArray(o)))return null;let l=!!(k||w),e=a(n),F=a(r),$=a(d),D=m!=null?m:e===void 0?!0:e>1,S=f!=null?f:F===void 0||$===void 0?!0:F<$,j=y===void 0?void 0:o.find(s=>s.value===y);return c(p,{flexDirection:"row",justifyContent:"between",alignItems:"center",children:[t(b,{color:"primary.dark",children:E(n,r,d)}),c(p,{flexDirection:"row",justifyContent:"center",alignItems:"center",gap:2,children:[t(b,{color:"primary.dark",children:T}),t(A,{width:"150px",options:o,"aria-label":T,value:j,onChange:C?s=>{var h;return C((h=s[0])==null?void 0:h.value)}:void 0}),l&&c(O,{children:[t(u,{variant:"linked",size:"small",disabled:!D,onClick:k,text:z}),t(u,{variant:"linked",size:"small",disabled:!S,onClick:w,text:B})]})]})]})},"TablePaginationComponent");x.displayName="TablePagination";export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as h}from"./chunk-DKSFPJ4D.esm.js";import{a as b}from"./chunk-S3XZBMR2.esm.js";import{b as s,g as c}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import{forwardRef as v,useRef as S}from"react";var y=c(b).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),D={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)},g=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{","}&: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})=>D[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,{offset:"1px"}),({theme:e})=>e.colors.ink.disabled);import{jsx as k}from"react/jsx-runtime";var w=v(({options:e,value:a,onChange:x,size:O="medium",label:R,fullWidth:d=!0,...T},l)=>{let f=S(null),m=i(t=>{var r,o;let n=e[t];!n||n.disabled||n.value===a||(x(n.value),(o=(r=f.current)==null?void 0:r.querySelectorAll('[role="radio"]')[t])==null||o.focus())},"pick"),u=i((t,n)=>{let r=e.length,o=t;for(let p=0;p<r;p+=1)if(o=(o+n+r)%r,!e[o].disabled)return o;return t},"step");return k(y,{flexDirection:"row",alignItems:"stretch",gap:"micro",width:d?"100%":void 0,role:"radiogroup","aria-label":R,onKeyDown:i(t=>{let n=e.findIndex(o=>o.value===a),r=null;t.key==="ArrowRight"||t.key==="ArrowDown"?r=u(n,1):t.key==="ArrowLeft"||t.key==="ArrowUp"?r=u(n,-1):t.key==="Home"?r=e.findIndex(o=>!o.disabled):t.key==="End"&&(r=e.length-1-[...e].reverse().findIndex(o=>!o.disabled)),!(r===null||r<0)&&(t.preventDefault(),m(r))},"handleKeyDown"),...T,ref:i(t=>{f.current=t,typeof l=="function"?l(t):l&&(l.current=t)},"setRefs"),children:e.map((t,n)=>{let r=t.value===a;return k(g,{type:"button",role:"radio","aria-checked":r,tabIndex:r?0:-1,disabled:t.disabled,$size:O,$fullWidth:d,onClick:()=>m(n),children:t.label},t.value)})})});w.displayName="Option";export{y as a,g as b,w as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as O}from"./chunk-WKXEPDPZ.esm.js";import{h as E}from"./chunk-SF5BK4KT.esm.js";import{C as h,F as k,a as x,j as m,k as p,l as y,o as b,p as T}from"./chunk-KO5FSKVM.esm.js";import{a as d}from"./chunk-GZONWSRB.esm.js";var G="--apollion-on-ground",v=["primary","secondary","muted","disabled"],C="surface.canvas";function f(...r){return[G,...r].join("-")}d(f,"groundVar");function U(r,...e){return`var(${f(...e)}, ${r})`}d(U,"groundVarRef");function V(r){if(r.startsWith("ink.")){let a=r.slice(4);return v.includes(a)?["ink",a]:null}if(b.includes(r))return["tx",r];let e=/^neutral\.(\d+)$/.exec(r);return e&&T.includes(Number(e[1]))?["neutral",e[1]]:null}d(V,"groundInkPath");function R(r,e){var a,i,u,n;return(n=(u=(i=r.colors(e))!=null?i:(a=r.colors.surface)==null?void 0:a.canvas)!=null?u:r.colors.baseLight)!=null?n:"#FFFFFF"}d(R,"groundLiteral");function N(r){if(r==="transparent"||r.startsWith("var("))return!1;let e=x(r);return e?e.alpha===void 0||e.alpha>=1:!1}d(N,"isOpaqueGround");function g(r,e,a,i=m){var o,t,s;let u=(s=(t=(o=r.colors.ink)==null?void 0:o.primary)!=null?t:r.colors.baseDark)!=null?s:"#000000",n=y(e!=null?e:u,a,i);return p(n,a)>=i?n:p("#ffffff",a)>=p("#000000",a)?"#ffffff":"#000000"}d(g,"readableOver");function F(r,e){return r.modes?h(e)?r.modes.dark:r.modes.light:r}d(F,"inkTableFor");function D(r,e){if(!(r.modes?[r.modes.light,r.modes.dark]:[r]).every(n=>N(R(n,e))))return{};let i=d(n=>O(r,o=>{let t=R(o,e);return n(F(r,t),t)}),"over"),u={[f()]:i((n,o)=>o),[f("contrast")]:i((n,o)=>{var t,s,c;return(c=(s=(t=n.colors).getContrastColor)==null?void 0:s.call(t,o))!=null?c:g(n,void 0,o)})};for(let n of v)u[f("ink",n)]=i((o,t)=>{var s,c,l;return n==="disabled"?(c=(s=o.colors.ink)==null?void 0:s.disabled)!=null?c:g(o,void 0,t):g(o,(l=o.colors.ink)==null?void 0:l[n],t)});for(let n of b)u[f("tx",n)]=i((o,t)=>{var s;return g(o,(s=o.colors[n])==null?void 0:s.base,t)});for(let n of T)u[f("neutral",n)]=i((o,t)=>{var s;return g(o,(s=o.colors.neutral)==null?void 0:s[n],t)});for(let[n,o]of Object.entries(E))u[f("edge",n)]=i((t,s)=>{var c;return k(g(t,(c=t.colors.ink)==null?void 0:c.primary,s),o)});return u}d(D,"groundVars");function j(r,e,a=m){let i=[],u=r.modes?[["light",r.modes.light],["dark",r.modes.dark]]:[["light",r]];for(let n of e)for(let[o,t]of u){let s=R(t,n),c=D(r.modes?{...t,modes:r.modes}:t,s);for(let[l,A]of Object.entries(c)){if(l===f()||l.includes("-edge-")||l.endsWith("-disabled"))continue;let _=p(A,s);_<a&&i.push({ground:n,mode:o,variable:l,ink:A,ratio:_})}}return i}d(j,"auditGroundVars");export{G as a,v as b,C as c,f as d,U as e,V as f,N as g,D as h,j as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as z}from"./chunk-
|
|
1
|
+
import{a as z}from"./chunk-EPV3GO7B.esm.js";import{d as v}from"./chunk-JTXT4BH4.esm.js";import{f as C}from"./chunk-FVTAFMZS.esm.js";import{a as w}from"./chunk-S3XZBMR2.esm.js";import{f as T,m as E}from"./chunk-6G22RNUO.esm.js";import{g as c}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var g=c(w).attrs({as:"form",width:"100%"}).withConfig({componentId:"sc-1vzg0wj-0"})([""]),j=c(v).attrs({as:"form",width:"100%"}).withConfig({componentId:"sc-1vzg0wj-1"})([""]);import{z as d,ZodError as P}from"zod";function B(e){var o;return(o=e==null?void 0:e.value)!=null?o:e}s(B,"normalizeValues");function Z(e,o,i){let r=E(B,e);i(r,o)}s(Z,"prepareSubmit");function k(e){let o=Object.keys(e).reduce((i,r)=>{var t;let l=(t=e[r].validation)!=null?t:d.unknown().optional();return{...i,[r]:l}},{});return d.object(o)}s(k,"getValidationSchema");function O(e,o){return{...Object.keys(e).reduce((r,l)=>{var p;let t=(p=e[l].inputProps)==null?void 0:p.type;return r[l]=t==="checkbox"||t==="radio"?!1:"",r},{}),...o}}s(O,"buildDefaultValues");var ue=s(e=>e,"newField");import{forwardRef as Q,useEffect as W,useImperativeHandle as X,useState as Y}from"react";import U from"fast-deep-equal";var y=U;import{Controller as L,useFieldArray as J,useForm as x,useFormContext as M}from"react-hook-form";import{zodResolver as b}from"@hookform/resolvers/zod";import{jsx as K,jsxs as re}from"react/jsx-runtime";import{createElement as ee}from"react";var _=s((e,o)=>{let{initialValues:i,children:r,submitLabel:l,fields:t,handleSubmit:p,conditionalFields:R,mode:u,medias:S,onError:f,...D}=e,q=k(t),m=x({defaultValues:O(t,i),resolver:b(q),mode:u!=null?u:"onSubmit"});X(o,()=>m);let F=m.watch(),a=m.formState.errors,[V,G]=Y(()=>a);W(()=>{f&&!y(V,a)&&(T(a)||f(a),G(a))},[V,a,f]);let N=S?j:g,A=m.handleSubmit(n=>Z(n,m,p)),H=s(()=>typeof r=="undefined"?K(C,{disabled:m.formState.isSubmitting,type:"submit",text:l||"Enviar",color:"primary",area:"button"}):typeof r=="function"?r(F):r,"renderChildren");return re(N,{medias:S,...D,onSubmit:A,children:[Object.keys(t).map(n=>{let h=ee(z,{...t[n],key:n,name:n,area:n,value:F[n],errors:a[n],setFieldValue:m.setValue}),I=R&&R[n];return I?I(F)?h:null:h}),H()]})},"FormInputComponent"),$=Q(_);export{g as a,j as b,B as c,Z as d,k as e,O as f,ue as g,$ as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i,b as h,c as g,d as y}from"./chunk-G6BWM323.esm.js";import{b as p}from"./chunk-2V52IYQV.esm.js";import{c as f}from"./chunk-DKSFPJ4D.esm.js";import{g as d}from"./chunk-UGIYAS67.esm.js";import{a as m}from"./chunk-I6XZCSTD.esm.js";import{a as l}from"./chunk-J6F4PMW4.esm.js";import{b as c,g as r}from"./chunk-AXUWC2WH.esm.js";import z,{forwardRef as M,useEffect as R}from"react";var E="3.5rem",v=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)),b=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;"]),N=r.li.withConfig({componentId:"sc-qqoy0d-2"})(["display:flex;min-width:0;"]),u=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),x=r.span.withConfig({componentId:"sc-qqoy0d-4"})(["max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),B=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{","}"],({theme:o})=>o.spacing("micro"),E,({theme:o})=>o.spacing("xs","micro"),({$current:o,$color:t,theme:a})=>o?i(a,t):h(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})=>f(t,{ink:i(t,o),offset:"-2px"}));import{jsx as n,jsxs as _}from"react/jsx-runtime";var I=3,S=5,w=M(({items:o,linkAs:t,color:a="primary",fixed:C=!1,...q},L)=>(R(()=>{(o.length<I||o.length>S)&&l.warn(`[NavBar] ${o.length} items \u2014 a bottom bar holds ${I} to ${S}; move the rest to a menu or a <Tabs mode="nav"> row.`)},[o.length]),n(v,{...q,as:"nav",bgColor:"surface.paper",borderPosition:"top",borderWidth:"thin",borderStyle:"solid",borderColor:"edge.hairline",$fixed:C,ref:L,children:n(b,{children:o.map((e,T)=>{let{as:k,props:$}=y(e,t),s=!!e.current;return n(N,{children:_(B,{...$,as:k,$current:s,$color:a,children:[n(u,{$current:s,"aria-hidden":!0,children:z.isValidElement(e.icon)?e.icon:n(p,{icon:e.icon})}),n(x,{children:e.label})]})},g(e,T))})})})));w.displayName="NavBar";export{E as a,v as b,b as c,N as d,u as e,x as f,B as g,w as h};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{e as s}from"./chunk-CRSMYEKV.esm.js";import{b as g}from"./chunk-WKXEPDPZ.esm.js";import{k as i,l as T}from"./chunk-KO5FSKVM.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var R=3,F="2px",d=t((r,e)=>{var o,n;return e==="ink"?(o=r.colors.ink)==null?void 0:o.primary:(n=r.colors[e])==null?void 0:n.base},"toneBase"),l=t((r,e)=>{var c,u,p,a,m;let o=(c=r.colors.baseLight)!=null?c:"#FFFFFF",n=(a=(p=(u=r.colors.ink)==null?void 0:u.primary)!=null?p:r.colors.baseDark)!=null?a:"#000000",f=T((m=d(r,e))!=null?m:n,o,R);return i(f,o)>=R?f:i("#ffffff",o)>=i("#000000",o)?"#ffffff":"#000000"},"guarded");function y(r,e="primary"){let o=g(r,n=>l(n,e));return e==="ink"?s(o,"ink","primary"):e==="quiet"?s(o,"ink","secondary"):s(o,"tx",e)}t(y,"focusRingInk");function I(r,{offset:e="2px",tone:o="primary",ink:n}={}){return`outline: ${F} solid ${n!=null?n:y(r,o)};
|
|
2
|
+
outline-offset: ${e};`}t(I,"focusRing");export{F as a,y as b,I as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as F}from"./chunk-XQJ4DROM.esm.js";import{a as m,b as R}from"./chunk-PCQQ762I.esm.js";import{a as g}from"./chunk-LMFC47WU.esm.js";import{e as S}from"./chunk-JSVL6DGF.esm.js";import{a as x}from"./chunk-S3XZBMR2.esm.js";import{b as h}from"./chunk-IK5Z5C2R.esm.js";import{b}from"./chunk-XI4HR75A.esm.js";import{g as y}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import l,{useEffect as z}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,align:v,...e})=>{let{ellipsis:a}=l.useContext(m),t=l.useContext(m),c=t==null?void 0:t.stacked,s=t==null?void 0:t.columnLabels,d=l.useContext(R),E=c?f!=null?f:d===void 0||s==null?void 0:s[d]:void 0,[u,I]=l.useState(null),C=l.useRef(null);function w(){return u===null?e.children:a&&u?i(g,{content:e.children,children:e.children}):e.children==="string"?i(S,{color:"baseDark",children:e.children}):e.children}return r(w,"getCustomChild"),z(()=>{let o=C.current;if(!o)return;let T=r(()=>I(o.offsetWidth<o.scrollWidth),"measure");if(T(),typeof ResizeObserver=="undefined")return;let p=new ResizeObserver(T);return p.observe(o),()=>p.disconnect()},[e.children,a]),i(k,{ref:C,...e,role:c?"cell":void 0,"data-label":E,"data-align":v,children:i(x,{children:w()})})},"TableCellComponent");n.displayName="TableCell";export{k as a,n as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as X}from"./chunk-GZQXLRSB.esm.js";import{a as te}from"./chunk-G72VRGFR.esm.js";import{a as ee}from"./chunk-LLSORQ2S.esm.js";import{e as Fe}from"./chunk-BCG4MZZG.esm.js";import{a as lt}from"./chunk-WPWCWCG7.esm.js";import{a as Se}from"./chunk-MNSZ72SE.esm.js";import{a as it}from"./chunk-3T2OY4KF.esm.js";import{b as Q}from"./chunk-VQK2V46Q.esm.js";import{b as z}from"./chunk-2V52IYQV.esm.js";import{L as Z,Z as nt,ca as ot,da as rt,ea as at,p as Ze,r as et,x as tt}from"./chunk-TVJXEJLN.esm.js";import{f as de}from"./chunk-FVTAFMZS.esm.js";import{a as Qe}from"./chunk-2FQC32AA.esm.js";import{e as I}from"./chunk-JSVL6DGF.esm.js";import{a as M}from"./chunk-S3XZBMR2.esm.js";import{a as R}from"./chunk-I6XZCSTD.esm.js";import{g as Te}from"./chunk-6G22RNUO.esm.js";import{f as Je,g as T}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import k from"react";import Y from"react";var K=T(R).withConfig({componentId:"sc-npwc89-0"})(({theme:e})=>({margin:0,padding:e.spacing("zero","xs"),minHeight:40,lineHeight:e.font.lineHeight.close,display:"flex",flexDirection:"row",alignItems:"center",color:e.colors.ink.primary,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontFamily:e.font.fontFamily.main})),U=T(R).withConfig({componentId:"sc-npwc89-1"})(["display:flex;flex-direction:row;align-items:stretch;min-width:max-content;border-bottom:1px solid transparent;border-left:1px solid transparent;"]),st=T(U).attrs(e=>({bgColor:"muted",...e})).withConfig({componentId:"sc-npwc89-2"})([""]),ct=T(R).withConfig({componentId:"sc-npwc89-3"})(["& ",":hover{border-bottom-color:"," !important;border-left-color:"," !important;}"],U,({theme:e})=>e.colors.edge.strong,({theme:e})=>e.colors.primary.base),Pe=T(U).withConfig({componentId:"sc-npwc89-4"})(["position:sticky;top:0;z-index:1;background:",";"],({theme:e})=>e.colors.surface.paper),dt=T(Se).withConfig({componentId:"sc-npwc89-5"})(["flex:0 1 auto;border-spacing:0;border-top:2px solid ",";border-bottom:1px solid ",";isolation:isolate;--datatable-indent:",";& ","{margin:0;}&[data-border='true'] ","{border-right:1px solid ",";border-left-color:",";border-bottom-color:",";}&[data-border='true'] ",":not(:last-child){border-right:1px solid ",";}&[data-default='true'] ","{border-bottom-color:",";}& "," > ","{font-weight:",";align-items:center;justify-content:space-between;gap:",";padding-right:",";color:",";}"],({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,({theme:e})=>e.spacing("medium"),Fe,U,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.border,K,({theme:e})=>e.colors.edge.border,U,({theme:e})=>e.colors.muted,Pe,K,({theme:e})=>e.font.fontWeight.bold,({theme:e})=>e.spacing("xs"),({theme:e})=>e.spacing("xs"),({theme:e})=>e.colors.ink.secondary),ut=T(R).withConfig({componentId:"sc-npwc89-6"})(["display:inline-flex;align-items:center;flex-shrink:0;&:not(:focus-within){","}","{&:not(:focus-within){position:static;inline-size:auto;block-size:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;}}"],it,({theme:e})=>e.breakpoints.up("sm")),pt=T(R).withConfig({componentId:"sc-npwc89-7"})(["cursor:col-resize;display:inline-block;width:10px;height:100%;position:absolute;right:0;top:0;transform:translateX(50%);z-index:1;touch-action:none;"]),gt=T(R).attrs(e=>({bgColor:"surface.sunken",...e})).withConfig({componentId:"sc-npwc89-8"})(({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",color:e.colors.ink.primary})),mt=T(R).withConfig({componentId:"sc-npwc89-9"})(({theme:e})=>({display:"flex",justifyContent:"space-between",alignItems:"center",padding:`${e.spacing("xs")} ${e.spacing("small")}`,borderTop:`1px solid ${e.colors.muted}`,gap:e.spacing("small")})),ft=T(R).withConfig({componentId:"sc-npwc89-10"})(({theme:e})=>({display:"inline-flex",flexDirection:"row",alignItems:"center",gap:e.spacing("xs"),flexShrink:0})),ue=T(R).withConfig({componentId:"sc-npwc89-11"})(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing("xs"),minWidth:"200px",padding:e.spacing("xs"),[`& ${Fe}`]:{margin:0}})),xt=T(Se).attrs({maxHeight:"240px",overscroll:"contain"}).withConfig({componentId:"sc-npwc89-12"})([""]);import{jsx as P,jsxs as ht}from"react/jsx-runtime";var bt={select:"arrIncludesSome",range:"inNumberRange",text:"includesString"};function Ct(e,n){let t=Y.useRef(null);return Y.useCallback((...r)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(()=>e(...r),n)},[e,n])}l(Ct,"useDebounce");var ve=l(e=>{var n,t;return((t=(n=e.columnDef)==null?void 0:n.meta)==null?void 0:t.label)||e.id},"columnTitle"),nn=l(({column:e,labels:n})=>{var a,s;let t=Y.useMemo(()=>Array.from(e.getFacetedUniqueValues().entries()).sort(([i],[g])=>String(i).localeCompare(String(g))),[e,e.getFilterValue()]),r=(a=e.getFilterValue())!=null?a:[];return P(xt,{children:ht(ue,{children:[t.length===0&&P(I,{variant:"meta",text:(s=n==null?void 0:n.filterNoValues)!=null?s:"Sem valores"}),t.map(([i,g])=>{let u=String(i),m=r.includes(u);return P(ee,{checked:m,onChange:()=>{let c=m?r.filter(D=>D!==u):[...r,u];e.setFilterValue(c.length?c:void 0)},label:P(I,{variant:"meta",text:`${u} (${g})`})},u)})]})})},"SelectFilter"),on=l(({column:e,labels:n})=>{var S,_,G,V;let[t,r]=(S=e.getFacetedMinMaxValues())!=null?S:[0,0],a=n!=null&&n.filterRangeMin?n.filterRangeMin(t):`min (${t})`,s=n!=null&&n.filterRangeMax?n.filterRangeMax(r):`max (${r})`,i=(_=e.getFilterValue())!=null?_:[void 0,void 0],g=Ct(h=>{let[w,E]=h,A=w===void 0&&E===void 0;e.setFilterValue(A?void 0:h)},200),[u,m]=Y.useState(i[0]!==void 0?String(i[0]):""),[c,D]=Y.useState(i[1]!==void 0?String(i[1]):"");return P(ue,{children:ht(M,{flexDirection:"row",gap:"xs",alignItems:"center",children:[P(X,{type:"number",placeholder:a,"aria-label":((G=n==null?void 0:n.filterRangeMinLabel)!=null?G:(h=>`M\xEDnimo de ${h}`))(ve(e)),value:u,onChange:h=>{let w=h.target.value;m(w),g([w===""?void 0:Number(w),c===""?void 0:Number(c)])}}),P(I,{variant:"meta",text:"\u2014"}),P(X,{type:"number",placeholder:s,"aria-label":((V=n==null?void 0:n.filterRangeMaxLabel)!=null?V:(h=>`M\xE1ximo de ${h}`))(ve(e)),value:c,onChange:h=>{let w=h.target.value;D(w),g([u===""?void 0:Number(u),w===""?void 0:Number(w)])}})]})})},"RangeFilter"),rn=l(({column:e,labels:n})=>{var i,g,u;let t=(i=e.getFilterValue())!=null?i:"",[r,a]=Y.useState(t),s=Ct(m=>{e.setFilterValue(m||void 0)},200);return P(ue,{children:P(X,{placeholder:(g=n==null?void 0:n.filterPlaceholder)!=null?g:"Filtrar...","aria-label":((u=n==null?void 0:n.filterTextLabel)!=null?u:(m=>`Filtrar ${m}`))(ve(e)),value:r,onChange:m=>{let c=m.target.value;a(c),s(c)}})})},"TextFilter"),Rt=l((e,n,t,r)=>{switch(e){case"select":return P(nn,{column:n,onClose:t,labels:r});case"range":return P(on,{column:n,onClose:t,labels:r});case"text":return P(rn,{column:n,onClose:t,labels:r})}},"filterUIForVariant");import ne,{forwardRef as an}from"react";import{Fragment as sn,jsx as C,jsxs as ke}from"react/jsx-runtime";var yt=an((e,n)=>C(pt,{...e,ref:n})),Tt=l(e=>e==="asc"?at:e==="desc"?rt:ot,"getSortIcon");function St(e,n,t){return e?{id:"expand",size:n!=null?n:48,enableSorting:!1,enableResizing:!1,header:l(()=>null,"header"),cell:l(({row:a})=>{var s,i;return a.getCanExpand()?C(Q,{type:"button",variant:"ghost",color:"neutral",size:"small",icon:C(z,{icon:a.getIsExpanded()?Ze:et}),label:a.getIsExpanded()?(s=t==null?void 0:t.collapseRow)!=null?s:"Recolher linha":(i=t==null?void 0:t.expandRow)!=null?i:"Expandir linha","aria-expanded":a.getIsExpanded(),onClick:a.getToggleExpandedHandler(),style:{marginInlineStart:wt(a.depth)}}):C("span",{style:{display:"inline-block",marginInlineStart:wt(a.depth)}})},"cell"),meta:{selectable:!1,align:void 0}}:null}l(St,"buildExpandColumnDef");var wt=l(e=>`calc(${e} * var(--datatable-indent, 1rem))`,"indent");function Ft(e,n,t){return e?{id:"checkbox",size:n!=null?n:64,enableSorting:!1,enableResizing:!1,header:l(({table:a})=>{var s;return C(ee,{checked:a.getIsAllRowsSelected(),indeterminate:a.getIsSomeRowsSelected(),onChange:a.getToggleAllRowsSelectedHandler(),"aria-label":Te(e)?void 0:(s=t==null?void 0:t.selectAllRows)!=null?s:"Selecionar todas as linhas",label:Te(e)?e:void 0})},"header"),cell:l(({row:a})=>{var s,i,g;return C(ee,{checked:a.getIsSelected(),indeterminate:(i=(s=a.getIsSomeSelected)==null?void 0:s.call(a))!=null?i:!1,onChange:a.getToggleSelectedHandler(),"aria-label":(g=t==null?void 0:t.selectRow)!=null?g:"Selecionar linha"})},"cell"),meta:{selectable:!1,align:void 0}}:null}l(Ft,"buildSelectableColumnDef");function ln(e,n){let t=ne.useRef(null);return ne.useCallback((...r)=>{t.current&&clearTimeout(t.current),t.current=setTimeout(()=>e(...r),n)},[e,n])}l(ln,"useDebounce");var Pt=l(({globalFilter:e,setGlobalFilter:n,placeholder:t})=>{let[r,a]=ne.useState(e),s=ln(i=>{n(i||"")},200);return C(X,{clearable:!0,width:"250px",size:"compact",reset:()=>{a(""),s("")},value:r||"",onChange:i=>{a(i.target.value),s(i.target.value)},placeholder:t,"aria-label":t!=null?t:"Search",icon:C(z,{icon:nt})})},"GlobalFilter"),vt=l(({height:e,emptyIcon:n,emptyTitle:t="Nada foi encontrado",emptyDescription:r})=>C(gt,{style:{height:e},children:ke(M,{gap:"medium",justifyContent:"center",alignItems:"center",width:"80%",style:{height:e},children:[n,C(I,{textAlign:"center",variant:"h5",text:t}),r&&C(I,{textAlign:"center",variant:"p",text:r})]})}),"EmptyTable");function pe(e,n,t){let[r,a]=ne.useState(t),s=e!==void 0,i=s?e:r,g=ne.useCallback(u=>{let m=typeof u=="function"?u(i):u;s||a(m),n==null||n(m)},[s,n,i]);return[i,g]}l(pe,"useHybridState");var kt=l(({pageIndex:e,pageSize:n,pageCount:t,rowCount:r,canPreviousPage:a,canNextPage:s,pageSizeOptions:i,onPrevious:g,onNext:u,onPageSizeChange:m,labels:c})=>{var h,w,E,A,re;let D=r===0?0:e*n+1,S=Math.min((e+1)*n,r),_=(h=c==null?void 0:c.showingRange)!=null?h:((F,H,me)=>`Mostrando ${F}-${H} de ${me}`),G=(w=c==null?void 0:c.perPageOption)!=null?w:(F=>`${F} por p\xE1gina`),V=(E=c==null?void 0:c.perPageTrigger)!=null?E:(F=>`${F} / p\xE1gina`);return ke(sn,{children:[C(I,{variant:"meta",text:_(D,S,r)}),ke(M,{flexDirection:"row",gap:"small",alignItems:"center",children:[i.length>1&&C(te,{position:"right",options:i.map(F=>({title:G(F),action:l(()=>m(F),"action")})),children:C(de,{variant:"linked",size:"small",text:V(n)})}),C(de,{variant:"linked",size:"small",disabled:!a,onClick:g,text:(A=c==null?void 0:c.previous)!=null?A:"Anterior"}),C(I,{variant:"meta",text:`${e+1} / ${Math.max(t,1)}`}),C(de,{variant:"linked",size:"small",disabled:!s,onClick:u,text:(re=c==null?void 0:c.next)!=null?re:"Pr\xF3ximo"})]})]})},"PaginationControls");var cn=(a=>(a.primary="primary",a.success="success",a.alert="warning",a.error="danger",a))(cn||{}),dn=(r=>(r.left="flex-start",r.center="center",r.right="flex-end",r))(dn||{});var oe={minWidth:30,width:150,maxWidth:400};import{flexRender as ge,getCoreRowModel as Mt,getExpandedRowModel as It,getFacetedMinMaxValues as Dt,getFacetedRowModel as Et,getFacetedUniqueValues as zt,getFilteredRowModel as Lt,getPaginationRowModel as Vt,getSortedRowModel as Ht,useReactTable as Nt}from"@tanstack/react-table";import{Fragment as gn,jsx as d,jsxs as L}from"react/jsx-runtime";var un={asc:"ascending",desc:"descending",none:"none"};function pn(e,n){return e.map(t=>{var s,i,g,u,m,c,D;let r=t.accessor?String(t.accessor):void 0,a={id:(s=t.id)!=null?s:r||void 0,header:l(()=>t.Header,"header"),footer:t.Footer?S=>t.Footer({table:S.table}):void 0,enableSorting:!t.disableSortBy,enableResizing:!0,enableColumnFilter:t.disableFilters?!1:!!t.filterVariant,...t.filterVariant&&{filterFn:(i=t.filterFn)!=null?i:bt[t.filterVariant]},size:(g=t.width)!=null?g:n.width,minSize:(u=t.minWidth)!=null?u:n.minWidth,maxSize:(m=t.maxWidth)!=null?m:n.maxWidth,meta:{align:t.align,selectable:t.selectable,filterVariant:t.filterVariant,label:typeof t.Header=="string"?t.Header:(D=(c=t.id)!=null?c:r)!=null?D:""}};return r?a.accessorKey=r:a.accessorFn=()=>null,t.Cell&&(a.cell=S=>t.Cell({row:S.row,value:S.getValue()})),a})}l(pn,"toTanstackColumns");function ho(e){var Ge,qe,je,Xe,Ke;let{data:n,columns:t,onRowSelect:r,onRowClick:a,selectableColumnWidth:s,selectableColumn:i,setRowColor:g,title:u,striped:m,bordered:c,searchPlaceholder:D,hasHeader:S,hasFooter:_,hasSpacingMenu:G,inputSearchComponent:V,headerLeftComponent:h=null,headerRightComponent:w=null,lastRowComponent:E,height:A=400,spacing:re=0,paginated:F=!1,initialPagination:H,pagination:me,onPaginationChange:At,pageSizeOptions:Me=[10,25,50,100],getSubRows:Ie,expandedColumnWidth:ae,initialExpanded:fe,expanded:Bt,onExpandedChange:$t,initialColumnFilters:xe,columnFilters:Ot,onColumnFiltersChange:Wt,labels:f,emptyIcon:mn,emptyTitle:fn,emptyDescription:xn,...be}=e,B=!!Ie,De=f==null?void 0:f.expandRow,Ee=f==null?void 0:f.collapseRow,ze=f==null?void 0:f.selectRow,Le=f==null?void 0:f.selectAllRows,Ut=(Ge=f==null?void 0:f.sortColumn)!=null?Ge:(o=>`Ordenar por ${o}`),_t=(qe=f==null?void 0:f.filterColumn)!=null?qe:(o=>`Filtrar ${o}`),Ce=k.useMemo(()=>t.some(o=>o.filterVariant&&!o.disableFilters),[t]),[Gt,Re]=k.useState(48),[qt,jt]=k.useState([]),[Ve,He]=k.useState(""),[Ne,Xt]=k.useState({}),[he,Kt]=pe(me,At,()=>{var o,x,p;return{pageIndex:(o=H==null?void 0:H.pageIndex)!=null?o:0,pageSize:(p=(x=H==null?void 0:H.pageSize)!=null?x:Me[0])!=null?p:10}}),[Yt,Jt]=pe(Bt,$t,()=>fe!=null?fe:{}),[Qt,Zt]=pe(Ot,Wt,()=>xe!=null?xe:[]),en=k.useMemo(()=>{let o=pn(t,oe),x=Ft(i,s,{selectRow:ze,selectAllRows:Le}),p=St(B,ae!=null?ae:s,{expandRow:De,collapseRow:Ee}),y=[];return p&&y.push(p),x&&y.push(x),[...y,...o]},[t,i,s,B,ae,De,Ee,ze,Le]),v=Nt({data:n,columns:en,state:{sorting:qt,globalFilter:Ve,rowSelection:Ne,...F&&{pagination:he},...B&&{expanded:Yt},...Ce&&{columnFilters:Qt}},enableRowSelection:!!i,enableExpanding:B,...B&&{getSubRows:Ie},onSortingChange:jt,onGlobalFilterChange:He,onRowSelectionChange:Xt,...F&&{onPaginationChange:Kt},...B&&{onExpandedChange:Jt},...Ce&&{onColumnFiltersChange:Zt},getCoreRowModel:Mt(),getSortedRowModel:Ht(),getFilteredRowModel:Lt(),...F&&{getPaginationRowModel:Vt()},...B&&{getExpandedRowModel:It()},...Ce&&{getFacetedRowModel:Et(),getFacetedUniqueValues:zt(),getFacetedMinMaxValues:Dt()},columnResizeMode:"onChange",defaultColumn:{size:oe.width,minSize:oe.minWidth,maxSize:oe.maxWidth}}),$=v.getRowModel().rows,Ae=v.getVisibleLeafColumns().length,Be=E?1:0;Qe(()=>{r&&r(v.getSelectedRowModel().flatRows.map(o=>o.original))},[Ne]);let O=Je(),we=$.length+(E?1:0),$e=k.useCallback((o,x)=>{let p=g&&g(o),y=m&&x%2===0,b=O.colors.surface.paper;return p?b=O.colors[p].light:o.getIsSelected()&&r?b=O.colors.muted:y&&(b=O.colors.surface.sunken),{backgroundColor:b}},[g,m,O,r]),ie=Gt+re,le=k.useCallback(({align:o="flex-start",cellProps:x={},header:p,hasCheckbox:y,selectable:b})=>Object.assign(x,{title:void 0,style:{height:ie,overflow:"hidden",display:"flex",alignItems:p?"flex-end":"center",justifyContent:o,paddingLeft:y?O.spacing("small"):void 0,cursor:b?"pointer":void 0}}),[ie,O]),tn=k.useCallback(({index:o,style:x})=>{if(E&&o===we-1)return d(R,{role:"row","aria-rowindex":$.length+2,style:{height:"100%"},children:d(R,{role:"cell","aria-colspan":Ae,style:{height:"100%"},children:k.cloneElement(E,{style:x})})});let p=$[o],y={...x,...$e(p,o)};return d(U,{role:"row","aria-rowindex":o+2,style:y,children:p.getVisibleCells().map(b=>{var J;let q=(J=b.column.columnDef.meta)!=null?J:{},ye=b.column.id,j;a?j=l(()=>a(p.original),"onClickAction"):r&&(j=l(()=>p.toggleSelected(),"onClickAction"));let W=le({align:q.align,hasCheckbox:ye==="checkbox",selectable:(r||a)&&q.selectable!==!1,cellProps:q.selectable!==!1?{onClick:j}:void 0});return d(K,{...W,role:"cell",style:{...W.style,width:b.column.getSize(),flex:`${b.column.getSize()} 0 auto`},children:ge(b.column.columnDef.cell,b.getContext())},b.id)})})},[$,le,E,a,r,$e,we,Ae]),se=!!$.length,Oe=_&&se&&t.some(o=>"Footer"in o),We=k.useRef(null),ce=lt({count:we,getScrollElement:l(()=>We.current,"getScrollElement"),estimateSize:l(()=>ie,"estimateSize"),overscan:5});k.useEffect(()=>{ce.measure()},[ie,ce]);let Ue=L(dt,{...!S&&be,axis:"both",scrollableRef:We,scrollerProps:{role:"region","aria-label":(Xe=(je=f==null?void 0:f.scrollRegion)!=null?je:u)!=null?Xe:"Tabela"},style:{...!S&&be.style,maxHeight:A},bgColor:"baseLight","data-border":c,"data-default":!m&&!c,children:[L(R,{role:"table","aria-label":u,"aria-rowcount":$.length+1+Be+(Oe?1:0),children:[d(Pe,{role:"row","aria-rowindex":1,children:v.getFlatHeaders().map(o=>{var Ye;let x=(Ye=o.column.columnDef.meta)!=null?Ye:{},p=o.column.getCanSort(),y=o.column.getCanResize(),b=o.column.getIsSorted(),q=!!x.filterVariant&&o.column.getCanFilter(),ye=o.column.getIsFiltered(),j=x.label||o.column.id,W=o.column.getToggleSortingHandler(),J=le({align:x.align,header:!0,hasCheckbox:o.column.id==="checkbox"});return L(K,{...J,role:"columnheader","aria-sort":p?un[b||"none"]:void 0,style:{...J.style,width:o.getSize(),flex:`${o.getSize()} 0 auto`,cursor:p?"pointer":void 0,position:"relative"},onClick:p?W:void 0,children:[o.isPlaceholder?null:ge(o.column.columnDef.header,o.getContext()),(q||p)&&L(ft,{children:[q&&d("span",{role:"presentation",onClick:N=>N.stopPropagation(),children:d(te,{content:({close:N})=>Rt(x.filterVariant,o.column,N,f),children:d(Q,{type:"button",variant:"ghost",size:"small",color:ye?"primary":"neutral",icon:d(z,{icon:tt}),label:_t(j)})})}),p&&d(ut,{children:d(Q,{type:"button",variant:"ghost",size:"small",color:"neutral",icon:d(z,{icon:Tt(b)}),label:Ut(j),onClick:N=>{N.stopPropagation(),W==null||W(N)}})})]}),y&&d(yt,{onMouseDown:o.getResizeHandler(),onTouchStart:o.getResizeHandler(),onClick:N=>N.stopPropagation()})]},o.id)})}),se&&d(ct,{style:{height:ce.getTotalSize(),position:"relative",minWidth:"max-content"},children:ce.getVirtualItems().map(o=>d(R,{style:{position:"absolute",top:0,left:0,width:"100%",height:o.size,transform:`translateY(${o.start}px)`},children:tn({index:o.index,style:{}})},o.key))}),Oe&&d(R,{children:d(st,{role:"row","aria-rowindex":$.length+2+Be,children:(Ke=v.getFooterGroups()[0])==null?void 0:Ke.headers.map(o=>{var y;let x=(y=o.column.columnDef.meta)!=null?y:{},p=le({align:x.align});return d(K,{...p,role:"cell",style:{...p.style,width:o.getSize(),flex:`${o.getSize()} 0 auto`},children:o.isPlaceholder?null:ge(o.column.columnDef.footer,o.getContext())},o.id)})})})]}),!se&&d(vt,{...e,height:A})]}),_e=F&&se&&d(mt,{children:d(kt,{pageIndex:he.pageIndex,pageSize:he.pageSize,pageCount:v.getPageCount(),rowCount:v.getFilteredRowModel().rows.length,canPreviousPage:v.getCanPreviousPage(),canNextPage:v.getCanNextPage(),pageSizeOptions:Me,onPrevious:()=>v.previousPage(),onNext:()=>v.nextPage(),onPageSizeChange:o=>v.setPageSize(o),labels:f})});return S?L(M,{...be,gap:"medium",children:[L(M,{flexDirection:"row",alignItems:"center",justifyContent:"between",children:[L(M,{flexDirection:"row",gap:"medium",children:[u&&d(I,{variant:"h5",color:"primary.dark",text:u}),h]}),L(M,{flexDirection:"row",gap:"medium",children:[V!=null?V:d(Pt,{globalFilter:Ve,setGlobalFilter:He,placeholder:D}),w,G?d(M,{alignSelf:"center",children:d(te,{position:"right",options:[{icon:d(z,{icon:Z}),title:"Layout Compacto",action:l(()=>Re(32),"action")},{icon:d(z,{icon:Z}),title:"Layout Padr\xE3o",action:l(()=>Re(48),"action")},{icon:d(z,{icon:Z}),title:"Layout Expandido",action:l(()=>Re(64),"action")}],children:d(z,{size:5,icon:Z,color:"primary.action",style:{alignSelf:"center",cursor:"pointer"}})})}):null]})]}),Ue,_e]}):L(gn,{children:[Ue,_e]})}l(ho,"DataTable");export{cn as a,dn as b,ho as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-IC54RGJD.esm.js";import{o as l}from"./chunk-6G22RNUO.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";var p=l(o=>o.startsWith("sm_")||o.startsWith("md_")||o.startsWith("lg_")||o.startsWith("xl_")),y=["sm","md","lg","xl"],k=f(o=>h=>{let{theme:i,...e}={...o,...h};if(e!=null&&e.ignoreResponsive)return null;let t={};Object.keys(e).forEach(s=>{if(p(s)){let[r,a]=s.split("_"),c=e[s];r in t?t[r][a]=c:t[r]={[a]:c}}});let n={};return e!=null&&e.enableBreakpoint&&(e==null?void 0:e.enableBreakpoint)in t&&Object.assign(n,m(t[e==null?void 0:e.enableBreakpoint],i)),y.forEach(s=>{s in t&&(n[i.breakpoints.up(s)]=m(t[s],i))}),n},"ResponsiveFactory");export{k as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as g}from"./chunk-JSVL6DGF.esm.js";import{a as b}from"./chunk-S3XZBMR2.esm.js";import{b as V}from"./chunk-WKXEPDPZ.esm.js";import{l as I}from"./chunk-KO5FSKVM.esm.js";import{i as E}from"./chunk-6G22RNUO.esm.js";import{b as $,g as f}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import{useId as u}from"react";var _=a(({theme:t,disabled:i,variant:c})=>{let e=t.colors.ink.primary,s=t.colors.ink.secondary;if(c!=="default"){let S=c==="success"?"success":"danger",n=a(d=>V(t,r=>{var y,m;return I(I((m=(y=r.colors[S])==null?void 0:y[d])!=null?m:r.colors.ink.primary,r.colors.surface.canvas),r.colors.surface.paper)}),"ink");e=n("dark"),s=n("base")}return i&&(e=t.colors.ink.disabled),{"--color-label":e,"--color-hint":s}},"getFieldColor"),D=f(b).withConfig({componentId:"sc-1iiu1tt-0"})(["width:100%;justify-content:center;",";",""],_,({$fill:t})=>t?$(["flex:1 1 auto;"]):null),M=f(g).withConfig({componentId:"sc-1iiu1tt-1"})(["color:var(--color-label);"]),N=f(g).withConfig({componentId:"sc-1iiu1tt-2"})(["color:var(--color-label);"]),W=f(g).withConfig({componentId:"sc-1iiu1tt-3"})(["color:var(--color-hint);min-height:","em;"],({theme:t})=>t.font.lineHeight.tight);import{jsx as h,jsxs as q}from"react/jsx-runtime";var P=a(t=>{if(typeof t=="string")return t||void 0;if(t&&typeof t=="object"&&"message"in t){let{message:i}=t;if(typeof i=="string"&&i)return i}},"errorMessageOf"),G=a(({name:t,value:i,label:c,inputProps:e,hintText:s,variant:S,setFieldValue:n,readOnly:d,readOnlyText:r="apenas leitura",hintErrorText:y="Something went wrong",hintSuccessText:m="Everything is alright",...l})=>{var A,z;let T=l.component,k=u(),x=!!l.errors||l.error,v=!!l.success,C=(A=e==null?void 0:e.readOnly)!=null?A:d,J=a(o=>{if(!d&&(e!=null&&e.onChange&&e.onChange(o),n)){let w=o;E(o)&&(w=o.target.type==="checkbox"||o.target.type==="radio"?o.target.checked:o.target.value),n(t,w)}},"onChange"),K=a(()=>{if(d)return;if(typeof(e==null?void 0:e.reset)=="function"){e.reset();return}let o=e==null?void 0:e.type;n&&n(t,o==="checkbox"||o==="radio"?!1:"")},"resetField"),Q=(z=P(l.errors))!=null?z:y,H=x&&Q||v&&m||s,L=S||x&&"error"||v&&"success"||"default",U=!c||l.hideLabel,X=C||l.optionalText,Y=C?r:l.optionalText,O=e&&e.disabled,Z=(e==null?void 0:e.fill)===!0,F=T.ariaLabelledByField===!0&&!!c&&!(e!=null&&e["aria-label"])&&!(e!=null&&e["aria-labelledby"])&&(e==null?void 0:e.label)==null?`${t!=null?t:k}-label`:void 0,j=`${k}-hint`,B=!O&&!!H,R=[e==null?void 0:e["aria-describedby"],B?j:void 0].filter(Boolean).join(" ");return q(D,{area:l.area,alignSelf:l.alignSelf,justifySelf:l.justifySelf,variant:L,disabled:O,$fill:Z,gap:"micro",...l.fieldProps,children:[q(b,{flexDirection:"row",justifyContent:"between",isHidden:U,children:[h(M,{as:"label",id:F,htmlFor:t,fontSize:"xs",fontWeight:"bold",lineHeight:"regular",children:c}),X&&h(N,{fontStyle:"italic",lineHeight:"tight",fontSize:"micro",children:Y})]}),h(T,{...e,...F&&{"aria-labelledby":F},...R&&{"aria-describedby":R},...x&&{"aria-invalid":!0},id:t,name:t,value:i,variant:L,readOnly:C,onChange:J,reset:K}),h(W,{id:j,lineHeight:"tight",fontSize:"micro",isHidden:!B,children:H})]})},"FieldComponent");G.displayName="Field";export{G as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as oe}from"./chunk-BE2JDTVA.esm.js";import{b as T}from"./chunk-E2U6IFPB.esm.js";import{c as re}from"./chunk-DKSFPJ4D.esm.js";import{a as C}from"./chunk-JSVL6DGF.esm.js";import{a as p}from"./chunk-I6XZCSTD.esm.js";import{b as v}from"./chunk-G5Z7USXC.esm.js";import{b as D,g as l}from"./chunk-AXUWC2WH.esm.js";import{a as u}from"./chunk-GZONWSRB.esm.js";var Fe=D(["--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),Le=D(["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),te=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?Le:Fe),ne=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);"]),ie=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;"]),Pe=u((e,o)=>{let t=[e.colors("danger"),e.colors("warning"),e.colors("success")];return(o==="descending"?t.reverse():t).join(", ")},"gradientStops"),ae=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})=>Pe(e,o)),se=l(p).withConfig({componentId:"sc-18639os-4"})(["height:var(--height);background-color:var(--railColor);background-repeat:no-repeat;position:absolute;right:0;"]),H=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")),Ve=D(["box-shadow:0px 0px 0px 9px "," !important;& ","{opacity:1;}"],({theme:e})=>e.colors.wash.pressed,H),le=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{","}@media (pointer:coarse){--size:calc(var(--height) * 3.5);}",""],({theme:e})=>e.colors.wash.hover,H,({theme:e})=>re(e),({active:e})=>e&&Ve),ce=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)"),de=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),ue=l(p).withConfig({componentId:"sc-18639os-9"})(["display:flex;flex-direction:column;gap:",";width:100%;"],({theme:e})=>e.spacing("micro")),pe=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),me=l(C).attrs({fontWeight:"bold",color:"ink.primary"}).withConfig({componentId:"sc-18639os-11"})([""]),fe=l(C).attrs({color:"ink.secondary"}).withConfig({componentId:"sc-18639os-12"})(["margin-inline-start:auto;font-variant-numeric:tabular-nums;"]);import Be,{useCallback as xe,useEffect as I,useId as Ge,useMemo as Xe,useRef as F,useState as $e}from"react";function $(e,o,t){return(e-o)*100/(t-o)}u($,"valueToPercent");function ge(e,o,t){return(t-o)*e+o}u(ge,"percentToValue");function he(e){let[,o=""]=String(e).split(".");return o.length}u(he,"decimals");function be(e,o,t){let a=Math.round((e-t)/o)*o+t;return Number(a.toFixed(Math.max(he(o),he(t))))}u(be,"roundValueToStep");function ve(e,o,t,a,m){let i=m>0?m:(a-t)/100,S=Math.max(i,Math.round((a-t)/10/i)*i),x={ArrowLeft:-i,ArrowDown:-i,ArrowRight:i,ArrowUp:i,PageDown:-S,PageUp:S},w;if(e==="Home")w=t;else if(e==="End")w=a;else if(e in x)w=Math.min(Math.max(t,o+x[e]),a);else return;return k(w,a,t,m)}u(ve,"keyboardValue");function Se(e){return e>=1?1:e<=0?0:e}u(Se,"clamp");function k(e,o,t,a){if(Number.isFinite(e)&&e>=t&&e<=o){if(!a)return e;let i=be(e,a,t);return i>o?be(i-a,a,t):i}return Math.min(Math.max(t,e),o)}u(k,"normalizeValue");import{jsx as f,jsxs as L}from"react/jsx-runtime";function A({gradient:e,disabled:o,getLabelValue:t,markLabel:a,onChange:m,onInput:i,label:S,showValue:x=!1,id:w,"aria-label":we,"aria-labelledby":P,value:V=50,max:d=100,min:c=0,step:h=1,mark:N,area:ye,alignSelf:Te,justifySelf:Ce}){let[g,W]=$e(()=>k(V,d,c,h)),E=F(g);I(()=>{W(r=>{let n=k(V,d,c,h);return n!==r?n:r})},[V,d,c,h]),I(()=>{E.current=g},[g]);let{active:ke,enable:K,disable:Ee}=oe(),j=F(null),U=F(null),_=`${Ge()}-label`,Me=Xe(()=>{if(!(N===!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)}}})},[N,t,a,h,c,d]),M=F(void 0);I(()=>()=>clearTimeout(M.current),[]);let B=xe(r=>r===E.current?!1:(E.current=r,W(r),i==null||i(r),!0),[i]),G=xe(r=>{var ee;let n=0;try{if(r.type==="touchmove"){let[R]=r.changedTouches;n=R==null?void 0:R.clientX}else n=r.clientX}catch(R){n=r.clientX}let s=(ee=j.current)==null?void 0:ee.getBoundingClientRect();if(!s)return;let b=Se((n-s.left)/s.width),Z=k(ge(b,c,d),d,c,h);B(Z),m&&(clearTimeout(M.current),M.current=setTimeout(()=>{m(Z)},100))},[c,d,h,m,B]),z=T(r=>{G(r)}),y=T(()=>{var r,n,s,b;Ee(),(r=v)==null||r.document.removeEventListener("mousemove",z),(n=v)==null||n.document.removeEventListener("mouseup",y),(s=v)==null||s.document.removeEventListener("touchmove",z),(b=v)==null||b.document.removeEventListener("touchend",y)});I(()=>y,[y]);let ze=T(r=>{var n,s,b;r.preventDefault(),(n=U.current)==null||n.focus({preventScroll:!0}),G(r),K(),(s=v)==null||s.document.addEventListener("mousemove",z,{passive:!1}),(b=v)==null||b.document.addEventListener("mouseup",y,{passive:!1})}),Re=T(r=>{var n,s;r.stopPropagation(),G(r),K(),(n=v)==null||n.document.addEventListener("touchmove",z,{passive:!1}),(s=v)==null||s.document.addEventListener("touchend",y,{passive:!1})}),De=T(r=>{if(o)return;let n=ve(r.key,E.current,c,d,h);n!==void 0&&(r.preventDefault(),B(n)&&(clearTimeout(M.current),m==null||m(n)))}),X=t?t(g):String(g),q=S!=null||x,He=P!=null?P:S!=null?_:void 0,J=`${$(g,c,d)}%`,Ie={width:J},O={left:J},Q={area:ye,alignSelf:Te,justifySelf:Ce},Y=L(te,{ref:j,onMouseDown:ze,onTouchStart:Re,disabled:o,...!q&&Q,children:[f(ne,{}),e?f(ae,{$direction:e==="descending"?"descending":"ascending",children:f(se,{style:O})}):f(ie,{style:Ie}),Me.map(r=>{let n={left:`${$(r.value,c,d)}%`};return L(Be.Fragment,{children:[f(ce,{active:r.value<=g,style:n,"aria-hidden":!0}),r.label&&f(de,{$picked:r.value===g,style:n,"aria-hidden":!0,children:r.label})]},r.value)}),f(le,{ref:U,id:w,role:"slider",tabIndex:o?void 0:0,"aria-valuemin":c,"aria-valuemax":d,"aria-valuenow":g,"aria-valuetext":t?X:void 0,"aria-label":we,"aria-labelledby":He,"aria-disabled":o||void 0,onKeyDown:De,borderRadius:"circular",deep:1,active:ke,style:O,"data-testid":"input-range-thumb",children:!o&&!x&&f(H,{children:f(C,{children:X})})})]});return q?L(ue,{...Q,children:[L(pe,{children:[S!=null&&f(me,{id:_,children:S}),x&&f(fe,{"data-testid":"input-range-value",children:X})]}),Y]}):Y}u(A,"Slider");A.displayName="Slider";A.ariaLabelledByField=!0;export{te as a,ne as b,ie as c,ae as d,se as e,H as f,le as g,ce as h,de as i,ue as j,pe as k,me as l,fe as m,A as n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{h as e}from"./chunk-KO5FSKVM.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function n(r){return{position:{outter:"",internal:"inset"},distance:{flat:0,micro:4,xs:8,sm:16,md:28,lg:44,xl:72},intensity:{low:.05,medium:.15,high:.3},proximity:{flat:0,close:-2,medium:-4,distant:-8},color:{deep:e(r.baseDark),regular:e(r.grayscale[50]),smooth:e(r.grayscale[30]),light:e(r.baseLight),primary:e(r.primary.base),success:e(r.success.base),warning:e(r.warning.base),danger:e(r.danger.base)}}}a(n,"createDeepTheme");export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as i}from"./chunk-DKSFPJ4D.esm.js";import{a as h}from"./chunk-JSVL6DGF.esm.js";import{a as S}from"./chunk-2C4RPPWG.esm.js";import{a as k}from"./chunk-I47BDQKT.esm.js";import{a as C}from"./chunk-S3XZBMR2.esm.js";import{d as b}from"./chunk-RWLJNXLX.esm.js";import{b as B}from"./chunk-IK5Z5C2R.esm.js";import{b as v}from"./chunk-VCMHX5VK.esm.js";import{e as g}from"./chunk-CRSMYEKV.esm.js";import{b as p}from"./chunk-WKXEPDPZ.esm.js";import{l as m}from"./chunk-KO5FSKVM.esm.js";import{e as x}from"./chunk-QXV2TDLZ.esm.js";import{b as s,g as y}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import{forwardRef as D}from"react";function I(t="2px"){return s(["@media (forced-colors:active){&:focus-visible{outline:2px solid Highlight;outline-offset:",";}}"],t)}n(I,"forcedColorsFocusRestoreCss");var O=5,H=n(({size:t="medium",theme:o})=>{var e;let r=(e=o.component.button.size[t])!=null?e:o.component.button.size.medium;return[B({fontWeight:r.fontWeight,fontSize:r.fontSize,...r.textTransform!==void 0&&{textTransform:r.textTransform}}),v({py:r.py,px:r.px}),b({borderRadius:r.borderRadius})]},"buttonSize"),u=n((t,o)=>o==="neutral"?t.colors.quiet:t.colors[o],"buttonPalette"),T=n((t,o,r)=>u(t,o)[r],"stopOf"),l=n((t,o,r)=>p(t,e=>e.colors.getContrastColor(T(e,o,r))),"contrastInk"),a=n((t,o,r)=>{let e=p(t,c=>{var d;return m(T(c,o,r),(d=c.colors.baseLight)!=null?d:"#FFFFFF",O)});return r==="base"?g(e,"tx",o):e},"readableInk"),L=n((t,o)=>{let r=u(o,t);return s(["color:",";background:",";border-color:",";box-shadow:",";&:hover{color:",";background:",";border-color:",";box-shadow:",";}&:focus-visible{color:",";background:",";border-color:",";"," &:hover{border-color:",";}}&:active{&,&:hover,&:focus-visible{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,i(o,{ink:a(o,t,"base"),offset:"2px"}),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"),M=n((t,o)=>{let r=u(o,t);return s(["background:transparent;color:",";border-color:",";&:hover{color:",";background:",";border-color:",";}&:focus-visible{color:",";background:",";border-color:",";box-shadow:",";"," &:hover{border-color:",";}}&:active{&,&:hover,&:focus-visible{background-color:transparent;color:",";border-color:",";box-shadow:",";}}&:disabled{color:",";background:",";border-color:",";cursor:default;}"],a(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"),i(o,{ink:a(o,t,"base"),offset:"2px"}),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"),_=n((t,o)=>{let r=u(o,t);return s(["background:transparent;color:",";border-color:transparent;border-radius:none;&:hover{color:",";text-decoration:underline;}&:focus-visible{color:",";text-decoration:underline;","}&:active{color:",";text-decoration:underline;}&:disabled{color:",";text-decoration:none;cursor:default;}"],a(o,t,"base"),a(o,t,"action"),a(o,t,"base"),i(o,{ink:a(o,t,"base"),offset:"2px"}),a(o,t,"active"),o.colors.disabled.color)},"ButtonLinked"),j=n((t,o)=>s(["background:transparent;border-color:transparent;box-shadow:none;color:",";&:hover{background:",";color:",";text-decoration:none;}&:focus-visible{background:",";","}&:active{background:",";color:",";}&:disabled{background:transparent;color:",";cursor:default;}"],a(o,t,"base"),o.colors.wash.hover,a(o,t,"action"),o.colors.wash.hover,i(o,{ink:a(o,t,"base"),offset:"1px"}),o.colors.wash.pressed,a(o,t,"active"),o.colors.disabled.color),"ButtonGhost"),V=n(({color:t,variant:o,theme:r})=>{let e;switch(o){case"outlined":e=M(t,r);break;case"linked":e=_(t,r);break;case"ghost":e=j(t,r);break;default:e=L(t,r)}return s(["&&{","}"],e)},"buttonVariant"),q=n(({fullWidth:t})=>({width:t?"100%":"fit-content"}),"isFullWidth"),A=s(["outline:0;"," cursor:pointer;transition:",";"," "," "," "," ",""],I("1px"),({theme:t})=>t.animation.transitions.short,b({borderWidth:"regular",borderStyle:"solid"}),x({gap:"xs",flexDirection:"row",alignItems:"center",justifyContent:"center"}),q,H,V),w=y(C).withConfig({componentId:"sc-12djmz6-0"})([""," ","{width:1em;height:1em;}"],A,k);import{jsx as f}from"react/jsx-runtime";var F=D(({children:t,text:o,isLoading:r,icon:e=null,iconPosition:c="left",color:d="primary",size:P="medium",variant:R="contained",fullWidth:z=!1,...W},N)=>f(w,{...W,color:d,size:P,variant:R,fullWidth:z,as:"button",ref:N,children:f(S,{loading:r,...c==="right"?{closer:e}:{opener:e},children:f(h,{fontWeight:"bold",lineHeight:"tight",fontFamily:"main",children:t||o})})}));F.displayName="Button";export{H as a,u as b,V as c,A as d,w as e,F as f};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{d as f}from"./chunk-
|
|
1
|
+
import{d as f}from"./chunk-JTXT4BH4.esm.js";import{a as i}from"./chunk-S3XZBMR2.esm.js";import{g as a}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var e={columns:"100%",rows:"100%",areas:`
|
|
2
2
|
"content"
|
|
3
3
|
`},p={xs:e};var m=a(f).attrs({medias:e}).withConfig({componentId:"sc-11xb4nx-0"})(["width:100%;height:100%;"]);import{jsx as r}from"react/jsx-runtime";var n=o(({layoutComponents:t})=>r(m,{children:r(i,{area:"content",width:"100%",justifyContent:"center",md_justifyContent:"start",children:t&&t.content&&r(t.content,{})})}),"DefaultLayout");n.displayName="DefaultLayout";export{e as a,p as b,m as c,n as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as a}from"./chunk-CRSMYEKV.esm.js";import{b as i}from"./chunk-WKXEPDPZ.esm.js";import{l}from"./chunk-KO5FSKVM.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as T}from"./chunk-PD2ZYT6K.esm.js";import{a as w}from"./chunk-BE2JDTVA.esm.js";import{c as D}from"./chunk-KZTG5TDM.esm.js";import{d as p}from"./chunk-6G22RNUO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import W,{lazy as B,Suspense as I,useCallback as O,useEffect as h,useState as C}from"react";import{Fragment as G,jsx as c,jsxs as J}from"react/jsx-runtime";var q=B(()=>import("./Dropdown.floating-QJAJIFQB.esm.js")),P=t(({children:s,options:e,content:o,hoverable:m=!1,position:b="left",width:i,full:d,motion:y="scale",distance:v=4})=>{if(!e&&!o)throw new Error('Dropdown needs a "content" or an "options" prop.');let f=p(s),g=e?"menu":"dialog",[n,x]=C(null),[S,k]=C(),{active:r,enable:u,disable:R,toggle:E}=w(!1),{mounted:F,state:L,ref:M}=D(r),N=O(a=>x(a),[]);h(()=>{d&&n&&k(n.getBoundingClientRect().width)},[d,n]);let H=t(()=>{let a=f?s({isOpen:r,open:u,toggle:E}):s,l={ref:N,"aria-haspopup":g,"aria-expanded":r};return f||(l.onClick=E),m&&(l.onPointerEnter=A=>{A.pointerType==="mouse"&&u()}),W.cloneElement(a,l)},"renderTrigger"),z=t(()=>Array.isArray(e)?c(T,{gap:"zero",color:"primary.action",exclusive:!0,content:e}):p(o)?o({close:R}):o,"renderMenuContent");return J(G,{children:[H(),F&&c(I,{fallback:null,children:c(q,{referenceEl:n,open:r,motionState:L,motionRef:M,onClose:R,position:b,hoverable:m,role:g,width:i!=null?i:S,motion:y,distance:v,children:z()})})]})},"DropdownComponent");P.displayName="Dropdown";export{P as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b as B}from"./chunk-VQK2V46Q.esm.js";import{a as p,b as f}from"./chunk-2V52IYQV.esm.js";import{ja as g,o as R}from"./chunk-TVJXEJLN.esm.js";import{b as P,c as T}from"./chunk-DKSFPJ4D.esm.js";import{a as v}from"./chunk-S3XZBMR2.esm.js";import{d as C}from"./chunk-T3ANVSKR.esm.js";import{b as y}from"./chunk-XI4HR75A.esm.js";import{b as u}from"./chunk-ZJET55OZ.esm.js";import{b as S}from"./chunk-WKXEPDPZ.esm.js";import{l as x}from"./chunk-KO5FSKVM.esm.js";import{b as l,f as w,g as I}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";function _(){return l(["color:var(--dark-color);border-color:var(--border-color);"," &:focus,&:hover{","}&:focus-visible{","}&:focus + ","{color:var(--base-color);}"],u({deep:-1}),u({deep:0}),({theme:o})=>T(o,{ink:"var(--focus-ring)"}),p)}c(_,"inputVariantStyle");var j=l(["&::placeholder{color:",";}&:disabled{&::placeholder{color:var(--disabled-color);}}"],({theme:o})=>o.colors.ink.muted),q=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 G({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)}c(G,"userInvalidBorderStyle");function J({iconPosition:o}){return o==="left"?l(["& ~ ",",& ~ ","{left:1em;right:unset;}"],a,p):null}c(J,"invertIconPosition");var K=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),W=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,_,G,K,J,q,j),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,"--focus-ring":P(o,r==="error"?"danger":r==="success"?"success":"primary"),"--dark-color":r==="default"?o.colors.ink.primary:S(o,n=>{var s,d;return x((d=(s=n.colors[r==="error"?"danger":"success"])==null?void 0:s.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 L}from"react";import{jsx as m}from"react/jsx-runtime";function D({icon:o,variant:r,clearable:t,clearLabel:e,reset:i,value:n,readOnly:s}){return t&&i&&n&&!s?m(B,{p:"micro",type:"button",borderWidth:"none",variant:"linked",label:e!=null?e:"Limpar",onClick:i,"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:R,"data-testid":"input-icon-success"}):null)}c(D,"getIconComponent");import{jsx as O,jsxs as Q}from"react/jsx-runtime";var E=L(({value:o,variant:r,iconPosition:t="right",size:e="medium",...i},n)=>{let{disabled:s,width:d,style:F,area:z,alignSelf:A,justifySelf:V,clearLabel:U,...H}=i,M=w(),N=r!==void 0,b=r!=null?r:"default",k=D({...i,value:o,variant:b,size:e,iconPosition:t}),$={...M.component.input.size[e],...k&&{[t==="right"?"pr":"pl"]:"xl"}};return Q(h,{variant:b,width:d,flexDirection:"row",area:z,alignSelf:A,justifySelf:V,children:[O(W,{iconPosition:t,disabled:s,variant:b,$variantExplicit:N,...$,...H,...o!==void 0&&{value:o},style:F,ref:n}),k]})});E.displayName="Input";export{_ as a,j as b,q as c,G as d,J as e,W as f,h as g,E as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n}from"./chunk-KO5FSKVM.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 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-KT4BKJVV.esm.js";import{a as i}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-KT4BKJVV.esm.js";import{a as i}from"./chunk-I6XZCSTD.esm.js";import{c as t,g as o}from"./chunk-AXUWC2WH.esm.js";var S=t(["to{transform:rotate(360deg);}"]),g=t(["0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}"]),d=o(i).withConfig({componentId:"sc-1teioay-0"})(["animation:"," var(--apollion-motion-indicator-loop,2000ms) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1)) infinite;"],S),p=o(n).withConfig({componentId:"sc-1teioay-1"})(["fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;animation:"," var(--apollion-motion-indicator-pulse,1500ms) var(--apollion-motion-easing-standard,cubic-bezier(0.42,0,0.58,1)) infinite;@media (prefers-reduced-motion:reduce){animation:none;stroke-dasharray:90,150;stroke-dashoffset:-35;}"],g),l=2*Math.PI*20,x=t(["from{stroke-dashoffset:0;}to{stroke-dashoffset:",";}"],l),m=o(i).withConfig({componentId:"sc-1teioay-2"})(["transform:rotate(-90deg);"]),f=o(n).withConfig({componentId:"sc-1teioay-3"})(["fill:none;stroke:currentColor;stroke-width:4;opacity:0.2;"]),h=o(n).withConfig({componentId:"sc-1teioay-4"})(["fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-dasharray:",";animation:"," var(--countdown-duration) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1)) forwards;"],l,x);import{forwardRef as v}from"react";import{jsx as r,jsxs as b}from"react/jsx-runtime";var u=v(({size:w,label:a="Carregando",variant:y="indeterminate",duration:C=15e3,cycle:k,...s},c)=>{let e=w||"1em";return y==="countdown"?b(m,{as:"svg",viewBox:"0 0 50 50",role:"timer","aria-label":a,...s,width:e,height:e,ref:c,children:[r(f,{cx:"25",cy:"25",r:"20"}),r(h,{cx:"25",cy:"25",r:"20",style:{"--countdown-duration":`${C}ms`}},k)]}):r(d,{as:"svg",viewBox:"0 0 50 50",role:"status","aria-label":a,...s,width:e,height:e,ref:c,children:r(p,{cx:"25",cy:"25",r:"20"})})});u.displayName="Spinner";export{d as a,p as b,l as c,m as d,f as e,h as f,u as g};
|