@apollion-dsi/core 3.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -21
- package/lib/chunks/chunk-2UQUA5JQ.esm.js +14 -0
- package/lib/chunks/chunk-34F43UAI.esm.js +4 -0
- package/lib/chunks/chunk-43YSWDK6.esm.js +1 -0
- package/lib/chunks/chunk-4HE643OX.esm.js +1 -0
- package/lib/chunks/{chunk-BKF5RIHP.esm.js → chunk-4HGSFSHL.esm.js} +1 -1
- package/lib/chunks/chunk-4RPR6CZT.esm.js +1 -0
- package/lib/chunks/chunk-4WWVMB7R.esm.js +67 -0
- package/lib/chunks/chunk-53R7OVXP.esm.js +1 -0
- package/lib/chunks/chunk-5BR6JTC5.esm.js +5 -0
- package/lib/chunks/chunk-5H2LWL6K.esm.js +1 -0
- package/lib/chunks/{chunk-3XS7RVYS.esm.js → chunk-5NIX5AK7.esm.js} +3 -3
- package/lib/chunks/chunk-76C7AHBV.esm.js +1 -0
- package/lib/chunks/chunk-777HH5XE.esm.js +9 -0
- package/lib/chunks/chunk-7LG563DZ.esm.js +1 -0
- package/lib/chunks/chunk-7WVLGVVA.esm.js +1 -0
- package/lib/chunks/{chunk-G3IXCOJI.esm.js → chunk-A4BXGJYW.esm.js} +1 -1
- package/lib/chunks/chunk-APD22JEO.esm.js +1 -0
- package/lib/chunks/chunk-BFZUNHO5.esm.js +4 -0
- package/lib/chunks/{chunk-TAVNLEMI.esm.js → chunk-BJFSNET7.esm.js} +5 -5
- package/lib/chunks/chunk-BXLZT77M.esm.js +5 -0
- package/lib/chunks/{chunk-5XXISYUW.esm.js → chunk-BYRL7X5M.esm.js} +4 -4
- package/lib/chunks/chunk-C2HYRKZ5.esm.js +72 -0
- package/lib/chunks/{chunk-SKV75I6W.esm.js → chunk-C7NZ4MPY.esm.js} +1 -1
- package/lib/chunks/chunk-CPOKPPFV.esm.js +7 -0
- package/lib/chunks/chunk-DEAQAH6B.esm.js +171 -0
- package/lib/chunks/chunk-E2S4LJNF.esm.js +40 -0
- package/lib/chunks/chunk-EC3O6B7O.esm.js +1 -0
- package/lib/chunks/chunk-EEBGH4FW.esm.js +23 -0
- package/lib/chunks/chunk-EWU2RG4F.esm.js +38 -0
- package/lib/chunks/{chunk-D43MLNCQ.esm.js → chunk-FKAOGMRM.esm.js} +1 -1
- package/lib/chunks/chunk-FPQOBUTR.esm.js +1 -0
- package/lib/chunks/{chunk-TGTH3E4X.esm.js → chunk-H4CYNDAM.esm.js} +1 -1
- package/lib/chunks/{chunk-V77X6UJ2.esm.js → chunk-H6RGCTRX.esm.js} +1 -1
- package/lib/chunks/chunk-HSNUZR7V.esm.js +1 -0
- package/lib/chunks/chunk-IT4J7I6H.esm.js +1 -0
- package/lib/chunks/chunk-IWMEDT6U.esm.js +1 -0
- package/lib/chunks/{chunk-XNBK5E7D.esm.js → chunk-J73BJCFK.esm.js} +2 -2
- package/lib/chunks/chunk-JD7UXJES.esm.js +1 -0
- package/lib/chunks/chunk-JOKVE3IX.esm.js +1 -0
- package/lib/chunks/chunk-KB2USQJE.esm.js +1 -0
- package/lib/chunks/chunk-LP4ND77J.esm.js +15 -0
- package/lib/chunks/chunk-M3BBRFF2.esm.js +1 -0
- package/lib/chunks/{chunk-BYYMKYCC.esm.js → chunk-MJ7ZMPLR.esm.js} +1 -1
- package/lib/chunks/chunk-N7OQM7C7.esm.js +1 -0
- package/lib/chunks/chunk-NSZRKCOX.esm.js +1 -0
- package/lib/chunks/{chunk-WTRTFZV6.esm.js → chunk-NYWQDBFO.esm.js} +1 -1
- package/lib/chunks/chunk-O4NT6MN7.esm.js +15 -0
- package/lib/chunks/chunk-O7P2XALT.esm.js +104 -0
- package/lib/chunks/chunk-OFLB4VL6.esm.js +1 -0
- package/lib/chunks/chunk-OTJ32SHO.esm.js +94 -0
- package/lib/chunks/chunk-P4JVQK7V.esm.js +81 -0
- package/lib/chunks/chunk-PP2U26DD.esm.js +6 -0
- package/lib/chunks/{chunk-KDYOOGW7.esm.js → chunk-Q44UHGO6.esm.js} +1 -1
- package/lib/chunks/chunk-Q6KSPMLW.esm.js +1 -0
- package/lib/chunks/chunk-RF5E2C7X.esm.js +6 -0
- package/lib/chunks/chunk-TDVKGVGD.esm.js +1 -0
- package/lib/chunks/chunk-TG5BCBO4.esm.js +1 -0
- package/lib/chunks/chunk-THOEVSMN.esm.js +3 -0
- package/lib/chunks/chunk-TOYBV66A.esm.js +1 -0
- package/lib/chunks/chunk-TVJISBND.esm.js +1 -0
- package/lib/chunks/chunk-U4ODIBWG.esm.js +1 -0
- package/lib/chunks/{chunk-XNCMA56H.esm.js → chunk-UUVZW6VR.esm.js} +14 -10
- package/lib/chunks/chunk-UZFVIKSU.esm.js +142 -0
- package/lib/chunks/chunk-V2CHFCNJ.esm.js +4 -0
- package/lib/chunks/chunk-V2DSTTQA.esm.js +1 -0
- package/lib/chunks/{chunk-TR4PVAXI.esm.js → chunk-V2FPYZTP.esm.js} +1 -1
- package/lib/chunks/chunk-V5ZKDMDH.esm.js +1 -0
- package/lib/chunks/{chunk-WAHR5LIT.esm.js → chunk-VVZ6FCG7.esm.js} +1 -1
- package/lib/chunks/chunk-XD7WY5I4.esm.js +7 -0
- package/lib/chunks/chunk-Y2T3ENA4.esm.js +1 -0
- package/lib/chunks/chunk-Y4VB4DRM.esm.js +1 -0
- package/lib/chunks/chunk-Y7EHFKPF.esm.js +61 -0
- package/lib/chunks/{chunk-3HHYBI4E.esm.js → chunk-ZRIEVBTB.esm.js} +1 -1
- package/lib/chunks/{chunk-6H6SEPAI.esm.js → chunk-ZX7OP4LN.esm.js} +15 -15
- package/lib/containers/Base/Base.style.d.ts +144 -144
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.style.d.ts +145 -145
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.style.d.ts +3 -3
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.interface.d.ts +1 -1
- package/lib/containers/Notification/Notification.style.d.ts +1156 -1156
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.style.d.ts +9 -9
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.style.d.ts +8 -8
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.d.ts +1 -1
- package/lib/dataDisplay/DataTable/DataTable.filters.d.ts +53 -0
- package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +82 -4
- package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +137 -4
- package/lib/dataDisplay/DataTable/DataTable.props.d.ts +4 -2
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +71 -31
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/DescriptionList.d.ts +33 -0
- package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +61 -0
- package/lib/dataDisplay/DescriptionList/index.d.ts +11 -0
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -0
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableBody/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +9 -9
- 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/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableRow/index.esm.js +1 -1
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +25 -25
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/Avatar.style.d.ts +4 -4
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.style.d.ts +7 -7
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/Calendar.d.ts +30 -0
- package/lib/elements/Calendar/Calendar.interface.d.ts +37 -0
- package/lib/elements/Calendar/Calendar.style.d.ts +17 -0
- package/lib/elements/Calendar/index.d.ts +13 -0
- package/lib/elements/Calendar/index.esm.js +1 -0
- package/lib/elements/Dropdown/Dropdown.d.ts +8 -2
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/Icon.style.d.ts +2 -2
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.style.d.ts +8 -8
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/Label.style.d.ts +4 -4
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/Link.d.ts +19 -8
- package/lib/elements/Link/Link.interface.d.ts +33 -12
- package/lib/elements/Link/Link.style.d.ts +38 -690
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.style.d.ts +8 -8
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.style.d.ts +4317 -4317
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +10 -10
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Spinner/Spinner.style.d.ts +2 -2
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.props.d.ts +140 -140
- package/lib/elements/Text/Text.style.d.ts +2 -2
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.d.ts +6 -6
- package/lib/elements/Tooltip/Tooltip.interface.d.ts +14 -6
- package/lib/elements/Tooltip/Tooltip.style.d.ts +15 -10
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/BorderFactory/BorderFactory.d.ts +1 -1
- package/lib/factory/ContainerFactory/ContainerFactory.d.ts +1 -1
- package/lib/factory/DeepFactory/DeepFactory.d.ts +1 -1
- package/lib/factory/DeepFactory/index.esm.js +1 -1
- package/lib/factory/FlexFactory/FlexFactory.d.ts +1 -1
- package/lib/factory/FontFactory/FontFactory.d.ts +1 -1
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.d.ts +1 -1
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/SizeFactory/SizeFactory.d.ts +1 -1
- package/lib/factory/SpacingFactory/SpacingFactory.d.ts +1 -1
- package/lib/factory/System/System.d.ts +2 -4
- package/lib/factory/System/System.interface.d.ts +2 -2
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.style.d.ts +11 -11
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.d.ts +2 -1
- package/lib/form/Field/Field.interface.d.ts +16 -7
- package/lib/form/Field/Field.props.d.ts +39 -0
- package/lib/form/Field/Field.style.d.ts +16 -16
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.helpers.d.ts +11 -8
- package/lib/form/Form/Form.interface.d.ts +24 -20
- package/lib/form/Form/Form.style.d.ts +10 -10
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.style.d.ts +22 -22
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/InputDate.d.ts +21 -11
- package/lib/form/InputDate/InputDate.interface.d.ts +67 -0
- package/lib/form/InputDate/buildSyntheticEvent.d.ts +26 -0
- package/lib/form/InputDate/index.d.ts +9 -2
- 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 +24 -24
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/DropdownIndicator.d.ts +1 -1
- package/lib/form/InputSelect/InputSelect.interface.d.ts +1 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Radio/Radio.style.d.ts +9 -9
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.style.d.ts +21 -21
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +39 -39
- 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/useMediaQuery/index.esm.js +1 -1
- package/lib/hooks/useMediaQuery/useMediaQuery.d.ts +1 -1
- package/lib/hooks/useScript/index.esm.js +1 -1
- package/lib/icons/Icons/categoryInterface.d.ts +1 -0
- package/lib/icons/Icons/index.d.ts +1 -0
- package/lib/icons/Icons/index.esm.js +1 -1
- package/lib/icons/index.esm.js +1 -1
- package/lib/index.d.ts +27 -14
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1262
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +12 -12
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +12 -12
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/scenario/CircleComponent/index.esm.js +1 -1
- package/lib/scenario/RectComponent/index.esm.js +1 -1
- package/lib/scenario/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.interface.d.ts +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/Colors/Colors.helpers.d.ts +56 -4
- package/lib/themes/Colors/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/Dimension/Dimension.interface.d.ts +24 -0
- package/lib/themes/Dimension/Dimension.props.d.ts +36 -0
- package/lib/themes/Dimension/index.d.ts +10 -0
- package/lib/themes/Dimension/index.esm.js +1 -0
- package/lib/themes/Foundation/Foundation.helpers.d.ts +32 -0
- package/lib/themes/Foundation/Foundation.interface.d.ts +84 -0
- package/lib/themes/Foundation/index.d.ts +17 -0
- package/lib/themes/Foundation/index.esm.js +1 -0
- package/lib/themes/GlobalStyle/GlobalStyle.d.ts +1 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/Semantic/Semantic.helpers.d.ts +50 -0
- package/lib/themes/Semantic/Semantic.interface.d.ts +131 -0
- package/lib/themes/Semantic/index.d.ts +18 -0
- package/lib/themes/Semantic/index.esm.js +1 -0
- package/lib/themes/Spacing/Spacing.props.d.ts +32 -1
- package/lib/themes/Spacing/index.esm.js +1 -1
- package/lib/themes/Surface/Surface.d.ts +46 -0
- package/lib/themes/Surface/Surface.helpers.d.ts +52 -0
- package/lib/themes/Surface/Surface.interface.d.ts +20 -0
- package/lib/themes/Surface/index.d.ts +18 -0
- package/lib/themes/Surface/index.esm.js +1 -0
- package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +69 -0
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.d.ts +4 -0
- package/lib/themes/index.esm.js +1 -1
- package/lib/utils/components/Breakpoints/index.esm.js +1 -1
- package/lib/utils/components/index.esm.js +1 -1
- package/lib/vendors/Culori/component.d.ts +26 -0
- package/lib/vendors/Culori/index.d.ts +2 -0
- package/lib/vendors/Culori/interface.d.ts +28 -0
- package/lib/vendors/DateFns/component.d.ts +30 -0
- package/lib/vendors/DateFns/index.d.ts +2 -0
- package/lib/vendors/DateFns/interface.d.ts +14 -0
- package/lib/vendors/Deepmerge/component.d.ts +11 -0
- package/lib/vendors/Deepmerge/index.d.ts +1 -0
- package/lib/vendors/Deepmerge/interface.d.ts +10 -0
- package/lib/vendors/EmotionIsPropValid/component.d.ts +12 -0
- package/lib/vendors/EmotionIsPropValid/index.d.ts +1 -0
- package/lib/vendors/EmotionIsPropValid/interface.d.ts +9 -0
- package/lib/vendors/FastDeepEqual/component.d.ts +11 -0
- package/lib/vendors/FastDeepEqual/index.d.ts +1 -0
- package/lib/vendors/FastDeepEqual/interface.d.ts +9 -0
- package/lib/vendors/FloatingUI/component.d.ts +34 -0
- package/lib/vendors/FloatingUI/index.d.ts +2 -0
- package/lib/vendors/FloatingUI/interface.d.ts +18 -0
- package/lib/vendors/FramerMotion/component.d.ts +20 -0
- package/lib/vendors/FramerMotion/index.d.ts +2 -0
- package/lib/vendors/FramerMotion/interface.d.ts +15 -0
- package/lib/vendors/LodashDebounce/component.d.ts +11 -0
- package/lib/vendors/LodashDebounce/index.d.ts +2 -0
- package/lib/vendors/LodashDebounce/interface.d.ts +11 -0
- package/lib/vendors/Nanoid/component.d.ts +13 -0
- package/lib/vendors/Nanoid/index.d.ts +2 -0
- package/lib/vendors/Nanoid/interface.d.ts +11 -0
- package/lib/vendors/ObjectHash/component.d.ts +9 -0
- package/lib/vendors/ObjectHash/index.d.ts +2 -0
- package/lib/vendors/ObjectHash/interface.d.ts +8 -0
- package/lib/vendors/ReactContentLoader/component.d.ts +15 -0
- package/lib/vendors/ReactContentLoader/index.d.ts +2 -0
- package/lib/vendors/ReactContentLoader/interface.d.ts +10 -0
- package/lib/vendors/ReactDayPicker/component.d.ts +17 -0
- package/lib/vendors/ReactDayPicker/index.d.ts +2 -0
- package/lib/vendors/ReactDayPicker/interface.d.ts +19 -0
- package/lib/vendors/ReactHookForm/component.d.ts +27 -0
- package/lib/vendors/ReactHookForm/index.d.ts +2 -0
- package/lib/vendors/ReactHookForm/interface.d.ts +25 -0
- package/lib/vendors/ReactSelect/component.d.ts +17 -0
- package/lib/vendors/ReactSelect/index.d.ts +2 -0
- package/lib/vendors/ReactSelect/interface.d.ts +17 -0
- package/lib/vendors/StyledComponents/component.d.ts +21 -0
- package/lib/vendors/StyledComponents/index.d.ts +2 -0
- package/lib/vendors/StyledComponents/interface.d.ts +27 -0
- package/lib/vendors/StyledNormalize/component.d.ts +10 -0
- package/lib/vendors/StyledNormalize/index.d.ts +1 -0
- package/lib/vendors/StyledNormalize/interface.d.ts +9 -0
- package/lib/vendors/TanstackReactTable/component.d.ts +23 -0
- package/lib/vendors/TanstackReactTable/index.d.ts +2 -0
- package/lib/vendors/TanstackReactTable/interface.d.ts +24 -0
- package/lib/vendors/TanstackReactVirtual/component.d.ts +16 -0
- package/lib/vendors/TanstackReactVirtual/index.d.ts +2 -0
- package/lib/vendors/TanstackReactVirtual/interface.d.ts +14 -0
- package/lib/vendors/Zod/component.d.ts +18 -0
- package/lib/vendors/Zod/index.d.ts +2 -0
- package/lib/vendors/Zod/interface.d.ts +6 -0
- package/package.json +73 -24
- package/lib/chunks/chunk-2B3RKGV2.esm.js +0 -1
- package/lib/chunks/chunk-4PCG2KFF.esm.js +0 -1
- package/lib/chunks/chunk-4WBZAWFH.esm.js +0 -0
- package/lib/chunks/chunk-4Z3FXC7B.esm.js +0 -5
- package/lib/chunks/chunk-6KYLIXBS.esm.js +0 -1
- package/lib/chunks/chunk-6RNKPTEX.esm.js +0 -40
- package/lib/chunks/chunk-7PD7R2RB.esm.js +0 -15
- package/lib/chunks/chunk-7VYSPE3B.esm.js +0 -14
- package/lib/chunks/chunk-CH7BVIBG.esm.js +0 -1
- package/lib/chunks/chunk-CSVGEHXH.esm.js +0 -1
- package/lib/chunks/chunk-DAFBKFTS.esm.js +0 -67
- package/lib/chunks/chunk-DEAAQK5J.esm.js +0 -5
- package/lib/chunks/chunk-DP6AXK72.esm.js +0 -1
- package/lib/chunks/chunk-E4GPRFIB.esm.js +0 -1
- package/lib/chunks/chunk-ELYUJKST.esm.js +0 -1
- package/lib/chunks/chunk-ERLPEOAG.esm.js +0 -7
- package/lib/chunks/chunk-EWFUWYNO.esm.js +0 -81
- package/lib/chunks/chunk-FVRWVTQD.esm.js +0 -7
- package/lib/chunks/chunk-G3PLMKGA.esm.js +0 -6
- package/lib/chunks/chunk-G5M2X3TX.esm.js +0 -7
- package/lib/chunks/chunk-GWCDFVWM.esm.js +0 -1
- package/lib/chunks/chunk-HK3DHNXU.esm.js +0 -38
- package/lib/chunks/chunk-I2E5B4NH.esm.js +0 -1
- package/lib/chunks/chunk-IA7RR4C7.esm.js +0 -136
- package/lib/chunks/chunk-JIDBKHKA.esm.js +0 -9
- package/lib/chunks/chunk-JTQYUIZP.esm.js +0 -1
- package/lib/chunks/chunk-KEQXETSP.esm.js +0 -1
- package/lib/chunks/chunk-L6UB7RUM.esm.js +0 -104
- package/lib/chunks/chunk-LXG3BZB5.esm.js +0 -1
- package/lib/chunks/chunk-LZTZMWTK.esm.js +0 -67
- package/lib/chunks/chunk-NGODVNJB.esm.js +0 -61
- package/lib/chunks/chunk-OMBZMCKV.esm.js +0 -1
- package/lib/chunks/chunk-OXD4QSRP.esm.js +0 -1
- package/lib/chunks/chunk-PZYCW5IZ.esm.js +0 -4
- package/lib/chunks/chunk-Q3FXXXUX.esm.js +0 -1
- package/lib/chunks/chunk-QUHHEZMP.esm.js +0 -1
- package/lib/chunks/chunk-QZYXRYI7.esm.js +0 -4
- package/lib/chunks/chunk-RMTAUQ4Q.esm.js +0 -0
- package/lib/chunks/chunk-SAVXHMAA.esm.js +0 -6
- package/lib/chunks/chunk-SHDMTEPB.esm.js +0 -46
- package/lib/chunks/chunk-SR7ARLZ4.esm.js +0 -1
- package/lib/chunks/chunk-UJDBHSL7.esm.js +0 -1
- package/lib/chunks/chunk-VTRVGJA6.esm.js +0 -3
- package/lib/chunks/chunk-WOI7ZDPE.esm.js +0 -94
- package/lib/chunks/chunk-WTWPQ4EL.esm.js +0 -1
- package/lib/chunks/chunk-WZALORLW.esm.js +0 -1
- package/lib/chunks/chunk-XFQI4QU6.esm.js +0 -1
- package/lib/chunks/chunk-XW52MLHU.esm.js +0 -15
- /package/lib/chunks/{chunk-4H6GW4MC.esm.js → chunk-CWRWYU7D.esm.js} +0 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import{b as a,g as t}from"./chunk-APD22JEO.esm.js";import n,{forwardRef as e}from"react";var o=t.div`
|
|
2
|
+
${({theme:r})=>a`
|
|
3
|
+
--rdp-accent-color: ${r.colors.primary.base};
|
|
4
|
+
--rdp-accent-background-color: ${r.colors.primary.light};
|
|
5
|
+
--rdp-day-height: 2.25rem;
|
|
6
|
+
--rdp-day-width: 2.25rem;
|
|
7
|
+
--rdp-day_button-border-radius: ${r.border.borderRadius.micro};
|
|
8
|
+
|
|
9
|
+
display: inline-block;
|
|
10
|
+
font-family: ${r.font.fontFamily.main};
|
|
11
|
+
color: ${r.colors.neutral[100]};
|
|
12
|
+
padding: ${r.spacing("xs")};
|
|
13
|
+
|
|
14
|
+
.rdp-root {
|
|
15
|
+
--rdp-outline: 2px solid ${r.colors.primary.action};
|
|
16
|
+
--rdp-outline-offset: 2px;
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.rdp-months {
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: ${r.spacing("medium")};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rdp-month_caption {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
padding: ${r.spacing("xs")} 0 ${r.spacing("small")};
|
|
30
|
+
font-size: ${r.font.fontSize.small}px;
|
|
31
|
+
font-weight: ${r.font.fontWeight.bold};
|
|
32
|
+
text-transform: capitalize;
|
|
33
|
+
color: ${r.colors.neutral[100]};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.rdp-nav {
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: ${r.spacing("xs")};
|
|
39
|
+
right: 0;
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: ${r.spacing("micro")};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.rdp-button_previous,
|
|
45
|
+
.rdp-button_next {
|
|
46
|
+
width: 1.75rem;
|
|
47
|
+
height: 1.75rem;
|
|
48
|
+
display: inline-flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
border: 1px solid ${r.colors.neutral[40]};
|
|
52
|
+
border-radius: ${r.border.borderRadius.micro};
|
|
53
|
+
background: ${r.colors.grayscale[0]};
|
|
54
|
+
color: ${r.colors.neutral[100]};
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
transition: ${r.animation.transitions.short};
|
|
57
|
+
|
|
58
|
+
&:hover:not(:disabled) {
|
|
59
|
+
border-color: ${r.colors.primary.base};
|
|
60
|
+
color: ${r.colors.primary.base};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:disabled {
|
|
64
|
+
color: ${r.colors.neutral[40]};
|
|
65
|
+
cursor: default;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rdp-weekdays {
|
|
70
|
+
display: grid;
|
|
71
|
+
grid-template-columns: repeat(7, var(--rdp-day-width));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.rdp-weekday {
|
|
75
|
+
width: var(--rdp-day-width);
|
|
76
|
+
height: 1.75rem;
|
|
77
|
+
display: inline-flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
font-size: ${r.font.fontSize.micro}px;
|
|
81
|
+
font-weight: ${r.font.fontWeight.bold};
|
|
82
|
+
color: ${r.colors.neutral[70]};
|
|
83
|
+
text-transform: uppercase;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.rdp-week {
|
|
87
|
+
display: grid;
|
|
88
|
+
grid-template-columns: repeat(7, var(--rdp-day-width));
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.rdp-day {
|
|
92
|
+
width: var(--rdp-day-width);
|
|
93
|
+
height: var(--rdp-day-height);
|
|
94
|
+
padding: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.rdp-day_button {
|
|
98
|
+
width: 100%;
|
|
99
|
+
height: 100%;
|
|
100
|
+
display: inline-flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
border: 1px solid transparent;
|
|
104
|
+
border-radius: var(--rdp-day_button-border-radius);
|
|
105
|
+
background: transparent;
|
|
106
|
+
color: inherit;
|
|
107
|
+
font-size: ${r.font.fontSize.small}px;
|
|
108
|
+
cursor: pointer;
|
|
109
|
+
transition: ${r.animation.transitions.short};
|
|
110
|
+
|
|
111
|
+
&:hover:not(:disabled) {
|
|
112
|
+
background: ${r.colors.primary.light};
|
|
113
|
+
color: ${r.colors.getContrastColor(r.colors.primary.light)};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&:focus-visible {
|
|
117
|
+
outline: var(--rdp-outline);
|
|
118
|
+
outline-offset: var(--rdp-outline-offset);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:disabled {
|
|
122
|
+
cursor: default;
|
|
123
|
+
color: ${r.colors.neutral[40]};
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.rdp-today:not(.rdp-outside) .rdp-day_button {
|
|
128
|
+
border-color: ${r.colors.primary.action};
|
|
129
|
+
color: ${r.colors.primary.base};
|
|
130
|
+
font-weight: ${r.font.fontWeight.bold};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.rdp-selected .rdp-day_button,
|
|
134
|
+
.rdp-selected .rdp-day_button:hover:not(:disabled) {
|
|
135
|
+
background: ${r.colors.primary.base};
|
|
136
|
+
color: ${r.colors.getContrastColor(r.colors.primary.base)};
|
|
137
|
+
border-color: ${r.colors.primary.base};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.rdp-outside .rdp-day_button {
|
|
141
|
+
color: ${r.colors.neutral[40]};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.rdp-disabled .rdp-day_button,
|
|
145
|
+
.rdp-disabled .rdp-day_button:hover {
|
|
146
|
+
color: ${r.colors.neutral[40]};
|
|
147
|
+
background: transparent;
|
|
148
|
+
cursor: default;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.rdp-hidden {
|
|
152
|
+
visibility: hidden;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.rdp-range_middle .rdp-day_button {
|
|
156
|
+
background: ${r.colors.primary.light};
|
|
157
|
+
color: ${r.colors.getContrastColor(r.colors.primary.light)};
|
|
158
|
+
border-radius: 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.rdp-range_start .rdp-day_button {
|
|
162
|
+
border-top-right-radius: 0;
|
|
163
|
+
border-bottom-right-radius: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.rdp-range_end .rdp-day_button {
|
|
167
|
+
border-top-left-radius: 0;
|
|
168
|
+
border-bottom-left-radius: 0;
|
|
169
|
+
}
|
|
170
|
+
`}
|
|
171
|
+
`;o.displayName="Calendar";import{format as b,isValid as g,parse as $,parseISO as m}from"date-fns";import{enUS as C,ptBR as d}from"date-fns/locale";import{DayPicker as i}from"react-day-picker";var l=e(({locale:r=d,...s},p)=>n.createElement(o,{ref:p},n.createElement(i,{locale:r,...s})));l.displayName="Calendar";export{o as a,b,g as c,m as d,d as e,l as f};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import{d as u}from"./chunk-BYRL7X5M.esm.js";import{a as c}from"./chunk-IWMEDT6U.esm.js";import{a as f}from"./chunk-J73BJCFK.esm.js";import{a as e}from"./chunk-THOEVSMN.esm.js";import{c as p}from"./chunk-4RPR6CZT.esm.js";import{g as b}from"./chunk-APD22JEO.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import a,{forwardRef as F,useMemo as H}from"react";var x=b(e)`
|
|
2
|
+
border-bottom: 1px solid ${({theme:o})=>o.colors.neutral[20]};
|
|
3
|
+
|
|
4
|
+
& > ${e} {
|
|
5
|
+
transform: translateY(1px);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
${({theme:o})=>o.breakpoints.down("sm")} {
|
|
9
|
+
> ${e} {
|
|
10
|
+
overflow-x: scroll;
|
|
11
|
+
overflow-y: hidden;
|
|
12
|
+
|
|
13
|
+
&::-webkit-scrollbar {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`,T=b(u).attrs(o=>{var t,r;return{borderRadius:(t=o.borderRadius)!=null?t:"straight",borderWidth:(r=o.borderWidth)!=null?r:"none"}})`
|
|
19
|
+
flex-shrink: 0;
|
|
20
|
+
|
|
21
|
+
/*
|
|
22
|
+
* Em mobile, o cabeçalho rolável (parent com overflow-x) + a borda inferior
|
|
23
|
+
* do header podiam interceptar o tap antes do botão. position:relative + z-index
|
|
24
|
+
* garante a hit-zone do botão acima do border-bottom do parent, e
|
|
25
|
+
* touch-action:manipulation desabilita o delay de 300 ms herdado do double-tap.
|
|
26
|
+
*/
|
|
27
|
+
position: relative;
|
|
28
|
+
z-index: 1;
|
|
29
|
+
touch-action: manipulation;
|
|
30
|
+
|
|
31
|
+
border-bottom: 2px solid
|
|
32
|
+
${({isActive:o,theme:t,color:r})=>o?p(t.colors[r],"base"):"transparent"};
|
|
33
|
+
|
|
34
|
+
&:focus,
|
|
35
|
+
&:active,
|
|
36
|
+
&:hover {
|
|
37
|
+
box-shadow: none;
|
|
38
|
+
text-decoration: none;
|
|
39
|
+
}
|
|
40
|
+
`;function $({isActive:o,tabTitle:t,color:r="primary",buttonProps:m}){return a.createElement(T,{as:"button",variant:"linked",isActive:o,color:r,...m},a.createElement(f,{fontWeight:"bold",lineHeight:"tight"},t))}s($,"TabButton");var g=F(({selectedIndex:o=0,onChange:t,tabs:r,tabHeaderProps:m,tabContentProps:y,...v},B)=>{let d=H(()=>r.map(i=>({...i,id:c()})),[r]),h=s(i=>o===i,"isCurrentIndex");return a.createElement(e,{...v,ref:B},a.createElement(x,{...m},a.createElement(e,{flexDirection:"row",width:"100%",gap:"medium",container:!0,position:"relative",alignItems:"end",as:"section"},d.map(({id:i,buttonProps:w,handleClick:l,...I},n)=>a.createElement($,{key:i,isActive:h(n),...I,buttonProps:{...w,onClick:s(S=>{n!==o&&(l==null||l(n,S),t==null||t(n))},"onClick")}})))),a.createElement(e,{flex:"fluid",as:"section",container:!0,width:"100%",...y},d[o].content))});g.displayName="Tabs";export{x as a,T as b,$ as c,g as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-THOEVSMN.esm.js";import{g as r}from"./chunk-APD22JEO.esm.js";var t=r(e).attrs(o=>({p:"medium",borderRadius:"micro",bgColor:"neutral.0",deep:2,...o}))``;export{t as a};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import{a as o}from"./chunk-APD22JEO.esm.js";import{normalize as t}from"styled-normalize";var l=o`
|
|
2
|
+
${t}
|
|
3
|
+
|
|
4
|
+
*,
|
|
5
|
+
*::before,
|
|
6
|
+
*::after {
|
|
7
|
+
box-sizing: inherit;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
html {
|
|
11
|
+
font-size: clamp(16px, 1vw + 12px, 28px);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
html,
|
|
15
|
+
body {
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
background-color: ${({theme:e})=>e.colors.baseLight};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
${({extend:e})=>e};
|
|
23
|
+
`;export{l as a};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import{a as b,b as P,c as C,e as k,f as v,h as E,j as R,k as S,l as $,m as F,n as z,o as B}from"./chunk-5H2LWL6K.esm.js";import{a as h}from"./chunk-J73BJCFK.esm.js";import{c}from"./chunk-U4ODIBWG.esm.js";import{g as i}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";function G({inverted:t,theme:e}){return t?{"--background":e.colors.grayscale[0],"--color":e.colors.neutral[170]}:{"--background":e.colors.grayscale[80],"--color":e.colors.grayscale[0]}}n(G,"getContainerStyle");var r=i(c)`
|
|
2
|
+
position: absolute;
|
|
3
|
+
width: 8px;
|
|
4
|
+
height: 8px;
|
|
5
|
+
z-index: -1;
|
|
6
|
+
|
|
7
|
+
&::before {
|
|
8
|
+
content: '';
|
|
9
|
+
transform: rotate(45deg);
|
|
10
|
+
background: var(--background);
|
|
11
|
+
position: absolute;
|
|
12
|
+
width: 8px;
|
|
13
|
+
height: 8px;
|
|
14
|
+
z-index: -1;
|
|
15
|
+
}
|
|
16
|
+
`,H=i(c)`
|
|
17
|
+
${G}
|
|
18
|
+
|
|
19
|
+
color: var(--color);
|
|
20
|
+
background-color: var(--background);
|
|
21
|
+
line-height: 1;
|
|
22
|
+
|
|
23
|
+
&[data-placement^='top'] > ${r} {
|
|
24
|
+
bottom: -3px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&[data-placement^='bottom'] > ${r} {
|
|
28
|
+
top: -3px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&[data-placement^='left'] > ${r} {
|
|
32
|
+
right: -4px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&[data-placement^='right'] > ${r} {
|
|
36
|
+
left: -4px;
|
|
37
|
+
}
|
|
38
|
+
`;var I=n((t,e)=>typeof t=="string"?o.createElement(h,{...e},t):t,"getElement"),M=n(({children:t,position:e="top",content:O,inverted:A,noArrow:N,onDismiss:l,visible:p})=>{var y,T;if(p!==void 0&&typeof l=="undefined")throw new Error('Voc\xEA deve fornecer a fun\xE7\xE3o "onDismiss" quando utilizar a prop "visible"');let f=o.useRef(null),[U,q]=o.useState(!1),s=p!==void 0,d=s?!!p:U,D=o.useCallback(w=>{s?!w&&l&&l():q(w)},[s,l]),{refs:u,floatingStyles:K,context:a,placement:L,middlewareData:m}=S({open:d,onOpenChange:D,placement:e,middleware:[v(8),C(),E({padding:4}),b({element:f})],whileElementsMounted:P}),{getReferenceProps:V,getFloatingProps:X}=z([F(a,{move:!1,restMs:40}),$(a),R(a,{outsidePress:!0,escapeKey:!0}),B(a,{role:"tooltip"})]),g=(y=m.arrow)==null?void 0:y.x,x=(T=m.arrow)==null?void 0:T.y,Y=I(t),j=o.cloneElement(Y,{ref:u.setReference,...V()});return o.createElement(o.Fragment,null,j,d&&o.createElement(k,null,o.createElement(H,{ref:u.setFloating,inverted:A,deep:2,p:"xs",borderRadius:"xs","data-placement":L,style:K,...X()},I(O,{fontSize:"micro",lineHeight:"regular"}),!N&&o.createElement(r,{ref:f,style:{left:g!=null?`${g}px`:"",top:x!=null?`${x}px`:""}}))))},"TooltipComponent");M.displayName="Tooltip";export{r as a,H as b,M as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as x,b as y,c as T,f as h}from"./chunk-
|
|
1
|
+
import{a as x,b as y,c as T,f as h}from"./chunk-O7P2XALT.esm.js";import{a as c}from"./chunk-THOEVSMN.esm.js";import{b as o}from"./chunk-TOYBV66A.esm.js";import{b as f}from"./chunk-752Z7BQF.esm.js";import{b as d}from"./chunk-W663AGNE.esm.js";import{b as p}from"./chunk-A6Z2M2XU.esm.js";import{d as u}from"./chunk-U27SLYIV.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var S=o("textarea")`
|
|
2
2
|
-webkit-appearance: none;
|
|
3
3
|
width: 100%;
|
|
4
4
|
outline: none;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as f}from"./chunk-V5AWVNU6.esm.js";import{f as x}from"./chunk-APD22JEO.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import d,{createContext as m,useEffect as k,useState as v}from"react";var C=m({}),w=c(({children:l})=>{let{breakpoints:o}=x(),[y,h]=v({isLaptop:!1,isMobile:!1,isTablet:!1,isPortrait:!1}),n={isMobile:`(max-width: ${o.values.md}px)`,isTablet:`(min-width: ${o.values.md}px) and (max-width: ${o.values.lg}px)`,isLaptop:`(min-width: ${o.values.lg}px) and (max-width: ${o.values.xl}px)`,isPortrait:"(orientation: portrait)"};return k(()=>{var u;let t={},a=Object.keys(n),i=c(()=>{let e=a.reduce((r,s)=>(r[s]=!!(t[s]&&t[s].matches),r),{});h(e)},"handleQueryListener");if(!((u=f)!=null&&u.matchMedia))return;let p={};return a.forEach(e=>{typeof n[e]=="string"?(t[e]=f.matchMedia(n[e]),p[e]=t[e].matches):p[e]=!1}),h(p),a.forEach(e=>{if(typeof n[e]=="string")try{t[e].addEventListener("change",i)}catch(r){t[e].addListener(i)}}),()=>{a.forEach(e=>{var r,s;if(typeof n[e]=="string")try{(r=t[e])==null||r.removeEventListener("change",i)}catch(B){(s=t[e])==null||s.removeListener(i)}})}},[]),d.createElement(C.Provider,{value:y},l)},"BreakpointsProvider");export{C as a,w as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as
|
|
1
|
+
import{b as F}from"./chunk-VVZ6FCG7.esm.js";import{b}from"./chunk-OEH5ARPF.esm.js";import{b as R}from"./chunk-752Z7BQF.esm.js";import{b as k}from"./chunk-BNB3KNKE.esm.js";import{b as S}from"./chunk-W663AGNE.esm.js";import{p as g}from"./chunk-44EW3LMK.esm.js";import{b as y}from"./chunk-A6Z2M2XU.esm.js";import{b as l}from"./chunk-JB7G6UGV.esm.js";import{b as h}from"./chunk-GP7NECT4.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var d=g(t=>t.startsWith("sm_")||t.startsWith("md_")||t.startsWith("lg_")||t.startsWith("xl_")),v=a((t,n)=>{let o={theme:n};return{...k(t)(),...h(t)(o),...y(t)(o),...S(t)(o),...l(t)(o),...b(t)(o),...R(t)(o),...F(t)(o)}},"getStyles"),p=["sm","md","lg","xl"],_=a(t=>n=>{let{theme:o,...e}={...t,...n};if(e!=null&&e.ignoreResponsive)return null;let r={};Object.keys(e).forEach(i=>{if(d(i)){let[m,c]=i.split("_"),f=e[i];m in r?r[m][c]=f:r[m]={[c]:f}}});let s={};return e!=null&&e.enableBreakpoint&&(e==null?void 0:e.enableBreakpoint)in r&&Object.assign(s,v(r[e==null?void 0:e.enableBreakpoint],o)),p.forEach(i=>{i in r&&(s[o.breakpoints.up(i)]=v(r[i],o))}),s},"ResponsiveFactory");export{_ as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-FPQOBUTR.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";function i({innerWidth:e,innerHeight:r}){return{width:e,height:r}}t(i,"getBoundaries");function a({innerWidth:e},r){return e<=r.md}t(a,"checkIsMobile");function u({innerWidth:e},r){return e>r.md&&e<=r.lg}t(u,"checkIsTablet");function p({innerWidth:e},r){return e>r.lg&&e<=r.xl}t(p,"checkIsLaptop");import{useContext as o}from"react";function x(){let e=o(n);if(e===void 0)throw new Error("cant use useMediaQuery hook outside of <BreakpointsProvider />");return e}t(x,"useMediaQuery");export{i as a,a as b,u as c,p as d,x as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as f,c as R,d as _,e as j,f as B}from"./chunk-DEAQAH6B.esm.js";import{g as A}from"./chunk-O7P2XALT.esm.js";import{b as T,c as F,d as S,e as L,f as H,h as k,i as O,j as D,k as K,n as C,o as x}from"./chunk-5H2LWL6K.esm.js";import{o as P}from"./chunk-4WWVMB7R.esm.js";import{a as b}from"./chunk-EC3O6B7O.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import s,{forwardRef as Z,useMemo as c,useState as $}from"react";function N(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(N,"buildSyntheticEvent");var V="yyyy-MM-dd";function ee(e){if(!e)return;let n=_(e);return R(n)?n:void 0}t(ee,"toDate");function te(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(te,"resolveDisabled");var U=Z(({value:e,onChange:n,onValueChange:i,locale:o=j,minDate:u,maxDate:a,disabledDates:h,displayFormat:y="dd/MM/yyyy",name:M,placeholder:q,disabled:g,readOnly:m,...z},d)=>{let[v,I]=$(!1),p=c(()=>ee(e),[e]),G=c(()=>p?f(p,y,{locale:o}):"",[p,y,o]),J=c(()=>te(h,u,a),[h,u,a]),{refs:E,floatingStyles:Q,context:l}=K({open:v,onOpenChange:I,placement:"bottom-start",middleware:[H(4),F(),k({padding:8})],whileElementsMounted:T}),{getReferenceProps:W,getFloatingProps:X}=C([O(l,{enabled:!g&&!m}),D(l,{outsidePress:!0,escapeKey:!0}),x(l,{role:"dialog"})]),Y=t(r=>{if(!r)return;let w=f(r,V);i==null||i(w),n==null||n(N(M,w)),I(!1)},"handleSelect");return s.createElement(s.Fragment,null,s.createElement(A,{...z,ref:r=>{typeof d=="function"?d(r):d&&(d.current=r),E.setReference(r)},type:"text",disabled:g,readOnly:m,name:M,placeholder:q,value:G,onChange:t(r=>{},"handleInputChange"),inputMode:"none",autoComplete:"off",icon:s.createElement(P,{name:"calendar"}),iconPosition:"right",...W({onKeyDown:t(r=>{r.key.length===1&&r.key!==" "&&r.preventDefault()},"handleKeyDown")})}),v&&s.createElement(L,null,s.createElement(S,{context:l,modal:!1,initialFocus:-1},s.createElement("div",{ref:E.setFloating,style:Q,...X()},s.createElement(b,{p:"xs",borderRadius:"xs",deep:3},s.createElement(B,{mode:"single",selected:p,onSelect:Y,locale:o,defaultMonth:p,disabled:J,captionLayout:"dropdown",startMonth:u!=null?u:new Date(1970,0,1),endMonth:a!=null?a:new Date(2100,11,31)}))))))});U.displayName="InputDate";export{U as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n,d as s}from"./chunk-7WVLGVVA.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";var m={"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"},v=n("rgb"),g=l(a=>c=>{var t,o,x;let p=m[c],r=a.neutral[180],e=v(s(r));if(!e)return`${p} ${r}`;let h=Math.round(((t=e.r)!=null?t:0)*255),f=Math.round(((o=e.g)!=null?o:0)*255),i=Math.round(((x=e.b)!=null?x:0)*255);return`${p} rgba(${h}, ${f}, ${i}, 0.15)`},"createDeth");export{m as a,g as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{nanoid as r}from"nanoid";export{r as a};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as i}from"./chunk-TOYBV66A.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var p=a(i.span)`
|
|
2
2
|
margin: 0;
|
|
3
3
|
font-family: ${({theme:e})=>e.font.fontFamily.main};
|
|
4
4
|
line-height: ${({theme:e})=>e.font.lineHeight.regular};
|
|
5
|
-
`;var x={p:{props:{fontSize:"small"}},meta:{tag:"p",props:{fontSize:"micro"}},lead:{tag:"p",props:{fontSize:"medium"}},blockquote:{props:{fontSize:"xxl"}},h1:{props:{fontSize:"xl",md_fontSize:"colossal"}},h2:{props:{fontSize:"large",md_fontSize:"giant"}},h3:{props:{fontSize:"large",fontStyle:"italic",md_fontSize:"xxl",md_fontStyle:"normal"}},h4:{props:{fontSize:"medium",md_fontSize:"xl"}},h5:{props:{fontSize:"medium",fontStyle:"italic",color:"neutral.170",md_fontSize:"large",md_fontStyle:"normal",md_color:"neutral.180"}},h6:{props:{fontSize:"small",color:"neutral.170",textTransform:"uppercase",md_fontSize:"medium",md_textTransform:"normal",md_color:"neutral.180"}},d1:{tag:"h1",props:{fontSize:"xxl",md_fontSize:"gargantua"}},d2:{tag:"h2",props:{fontSize:"xl",md_fontSize:"colossal"}},d3:{tag:"h3",props:{fontSize:"large",md_fontSize:"giant"}},d4:{tag:"h4",props:{fontSize:"medium",md_fontSize:"xxl"}}},g={fontWeight:"bold",lineHeight:"close"},S={fontWeight:"stronger",lineHeight:"close"};function u(e){switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return g;case"d1":case"d2":case"d3":case"d4":return S;default:return{}}}r(u,"getDefaultProps");function
|
|
5
|
+
`;var x={p:{props:{fontSize:"small"}},meta:{tag:"p",props:{fontSize:"micro"}},lead:{tag:"p",props:{fontSize:"medium"}},blockquote:{props:{fontSize:"xxl"}},h1:{props:{fontSize:"xl",md_fontSize:"colossal"}},h2:{props:{fontSize:"large",md_fontSize:"giant"}},h3:{props:{fontSize:"large",fontStyle:"italic",md_fontSize:"xxl",md_fontStyle:"normal"}},h4:{props:{fontSize:"medium",md_fontSize:"xl"}},h5:{props:{fontSize:"medium",fontStyle:"italic",color:"neutral.170",md_fontSize:"large",md_fontStyle:"normal",md_color:"neutral.180"}},h6:{props:{fontSize:"small",color:"neutral.170",textTransform:"uppercase",md_fontSize:"medium",md_textTransform:"normal",md_color:"neutral.180"}},d1:{tag:"h1",props:{fontSize:"xxl",md_fontSize:"gargantua"}},d2:{tag:"h2",props:{fontSize:"xl",md_fontSize:"colossal"}},d3:{tag:"h3",props:{fontSize:"large",md_fontSize:"giant"}},d4:{tag:"h4",props:{fontSize:"medium",md_fontSize:"xxl"}}},g={fontWeight:"bold",lineHeight:"close"},S={fontWeight:"stronger",lineHeight:"close"};function u(e){switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return g;case"d1":case"d2":case"d3":case"d4":return S;default:return{}}}r(u,"getDefaultProps");function l(e){let{tag:t=e,props:o={}}=x[e]||{};return{tag:t,variantProps:{fontWeight:"regular",letterSpacing:"regular",color:"neutral.180",...u(e),...o}}}r(l,"getTextProps");import h,{forwardRef as z}from"react";var s=z(({text:e,children:t,variant:o="span",type:n,...f},m)=>{let{tag:d,variantProps:c}=l(o);return h.createElement(p,{as:d,ignoreResponsive:n==="mobile",enableBreakpoint:n==="desktop"?"md":void 0,...c,...f,ref:m},e||t)});s.displayName="Text";export{p as a,x as b,l as c,s as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as H}from"./chunk-2UQUA5JQ.esm.js";import{b as D,c as F,d as R,e as b,f as y,g as v,h as E,i as x,j as C,k as M,m as T,n as h,o as N}from"./chunk-5H2LWL6K.esm.js";import{a as P}from"./chunk-BE2JDTVA.esm.js";import{a as w}from"./chunk-EC3O6B7O.esm.js";import{e as d}from"./chunk-44EW3LMK.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import o,{useEffect as q,useState as G}from"react";var J={left:"bottom-start",right:"bottom-end",center:"bottom"},L=r(({children:a,options:n,content:s,hoverable:A=!1,position:I="left",width:i,full:c})=>{if(!n&&!s)throw new Error('Dropdown deve receber "content" ou "options" props');let m=d(a),O=n?"menu":"dialog",[S,W]=G(),{active:l,enable:f,disable:g,toggle:k}=P(!1),{refs:u,floatingStyles:z,context:t,elements:p}=M({open:l,onOpenChange:r(e=>e?f():g(),"onOpenChange"),placement:J[I],middleware:[y(4),F(),E({padding:8})],whileElementsMounted:D}),{getReferenceProps:B,getFloatingProps:K}=h([x(t,{enabled:!m}),T(t,{enabled:A,move:!1,handleClose:v()}),C(t,{outsidePress:!0,escapeKey:!0}),N(t,{role:O})]);q(()=>{if(c&&p.reference){let e=p.reference.getBoundingClientRect();W(e.width)}},[c,p.reference]);let U=r(()=>{let e=m?a({isOpen:l,open:f,toggle:k}):a;return o.cloneElement(e,{ref:u.setReference,...B()})},"renderTrigger"),j=r(()=>{let e=s;return Array.isArray(n)&&(e=o.createElement(H,{gap:"zero",color:"primary.action",content:n})),d(s)&&(e=s({close:g})),o.createElement(w,{p:"xs",borderRadius:"xs",deep:2,width:i!=null?i:S},e)},"renderDropdownContent");return o.createElement(o.Fragment,null,U(),l&&o.createElement(b,null,o.createElement(R,{context:t,modal:!1,initialFocus:-1},o.createElement("div",{ref:u.setFloating,style:z,...K()},j()))))},"DropdownComponent");L.displayName="Dropdown";export{L as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-GZONWSRB.esm.js";var n=Object.freeze({compact:.2,normal:.25,spacious:.32}),r="normal";function i(e){return n[e]}o(i,"getMultiplierForDimension");export{n as a,r as b,i as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as e}from"./chunk-APD22JEO.esm.js";import t from"react";var a=e.tbody``;var o=t.forwardRef((r,y)=>t.createElement(a,{ref:y},r.children));o.displayName="TableBody";export{a,o as b};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{a as d}from"./chunk-J73BJCFK.esm.js";import{a as f}from"./chunk-THOEVSMN.esm.js";import{j as v}from"./chunk-44EW3LMK.esm.js";import{g as c}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import n from"react";var u=r(({theme:t,disabled:y,variant:i})=>{let e=t.colors.neutral[180],s=t.colors.neutral[180];if(i!=="default"){let{base:g,dark:a}=i==="success"?t.colors.success:t.colors.danger;e=a,s=g}return y&&(e=t.colors.grayscale[30]),{"--colorLabel":e,"--colorHint":s}},"getFieldColor"),w=c(f)`
|
|
2
|
+
width: 100%;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
${u};
|
|
5
|
+
`,L=c(d)`
|
|
6
|
+
color: var(--color-label);
|
|
7
|
+
`,O=c(d)`
|
|
8
|
+
color: var(--color-label);
|
|
9
|
+
`,j=c(d)`
|
|
10
|
+
color: var(--color-hint);
|
|
11
|
+
|
|
12
|
+
&:empty {
|
|
13
|
+
height: ${({theme:t})=>t.spacing("small")};
|
|
14
|
+
}
|
|
15
|
+
`;var k=r(({name:t,value:y,label:i,inputProps:e,hintText:s,variant:g,setFieldValue:a,readOnly:m,readOnlyText:V="apenas leitura",hintErrorText:z="Something went wrong",hintSuccessText:E="Everything is alright",...o})=>{var H;let I=o.component,h=!!o.errors||o.error,b=!!o.success,x=(H=e==null?void 0:e.readOnly)!=null?H:m,D=r(l=>{if(!m&&(e!=null&&e.onChange&&e.onChange(l),a)){let S=l;v(l)&&(S=l.target.type==="checkbox"||l.target.type==="radio"?l.target.checked:l.target.value),a(t,S)}},"onChange"),$=r(()=>{if(m)return;if(typeof(e==null?void 0:e.reset)=="function"){e.reset();return}let l=e==null?void 0:e.type;a(t,l==="checkbox"||l==="radio"?!1:"")},"resetField"),B=typeof o.errors=="string"?o.errors:z,F=h&&B||b&&E||s,C=g||h&&"error"||b&&"success"||"default",N=!i||o.hideLabel,W=x||o.optionalText,q=x?V:o.optionalText,T=e&&e.disabled;return n.createElement(w,{area:o.area,variant:C,disabled:T,gap:"micro",...o.fieldProps},n.createElement(f,{flexDirection:"row",justifyContent:"between",isHidden:N},n.createElement(L,{as:"label",htmlFor:t,fontSize:"xs",fontWeight:"bold",lineHeight:"regular"},i),W&&n.createElement(O,{fontStyle:"italic",lineHeight:"tight",fontSize:"micro"},q)),n.createElement(I,{...e,id:t,name:t,value:y,variant:C,readOnly:x,onChange:D,reset:$}),n.createElement(j,{lineHeight:"tight",fontSize:"micro",isHidden:T||!F},F))},"FieldComponent");k.displayName="Field";export{k as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as $}from"./chunk-3V3ZEGHO.esm.js";import{a as Y}from"./chunk-BE2JDTVA.esm.js";import{a as q}from"./chunk-2FQC32AA.esm.js";import{a as H,d as B,f as I,h as F,i as G,p as W}from"./chunk-44EW3LMK.esm.js";import{f as j}from"./chunk-APD22JEO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var re=W((e,n)=>{switch(e){case"expansive":return{padding:n.spacing("medium","small"),fontSize:n.font.fontSize.small,borderRadius:n.border.borderRadius.xs,height:54};case"compact":return{padding:n.spacing("zero","small"),fontSize:n.font.fontSize.small,borderRadius:n.border.borderRadius.xs,height:38};case"micro":return{padding:n.spacing("zero","small"),fontSize:n.font.fontSize.micro,borderRadius:n.border.borderRadius.micro,height:26};default:return{padding:n.spacing("xs","small"),fontSize:n.font.fontSize.small,lineHeight:n.font.lineHeight.close,borderRadius:n.border.borderRadius.xs,height:46}}});function J(e,n,c={}){let{defaultBorderColor:m,dark:p}=(()=>{switch(n){case"error":return{dark:e.colors.danger.dark,defaultBorderColor:e.colors.danger.base};case"success":return{dark:e.colors.success.dark,defaultBorderColor:e.colors.success.base};default:return{dark:e.colors.primary.dark,defaultBorderColor:e.colors.neutral[40]}}})(),l=e.colors.neutral[100],g=e.colors.neutral[20],a=e.colors.neutral[50],T=e.colors.neutral[10],k=e.colors.neutral[10],w=e.colors.neutral[150],S=e.colors.neutral[150],x=e.spacing("small"),C=e.spacing("micro");return{container:t((o,i)=>({...o,width:i.selectProps.width,...c,fontFamily:e.font.fontFamily.main}),"container"),control:t((o,{isDisabled:i,selectProps:s})=>{let u=i?"transparent":m,y=re(s.size,e);return{...o,...y,borderColor:u,borderWidth:1,minHeight:void 0,background:i?T:"#fff",boxShadow:e.depth("level-one-minus"),"&:hover, &:focus":{boxShadow:"none",borderColor:u}}},"control"),valueContainer:t((o,{isMulti:i})=>{let s=i?`calc(${C} * -1) 0`:0;return{...o,margin:s,padding:0,lineHeight:1}},"valueContainer"),input:t(o=>({...o,padding:0,margin:0,fontSize:"1rem"}),"input"),singleValue:t(o=>({...o,color:p}),"singleValue"),multiValue:t(o=>({...o,margin:C,fontSize:"0.75rem",background:k,"& svg":{color:S,strokeWidth:1},"& > div:first-of-type":{color:w}}),"multiValue"),multiValueLabel:t(o=>({...o,padding:e.spacing(0,"micro"),lineHeight:e.font.lineHeight.regular}),"multiValueLabel"),multiValueRemove:t(o=>({...o,background:g,cursor:"pointer","&:hover":{background:T}}),"multiValueRemove"),placeholder:t((o,{isDisabled:i})=>({...o,color:i?a:p}),"placeholder"),indicatorsContainer:t((o,{isDisabled:i})=>({...o,lineHeight:1,display:"inline-flex",alignItems:"center",alignSelf:"center","& > div":{paddingTop:0,paddingBottom:0},"& svg":{color:i?a:l,fontSize:"inherit",width:"1em",height:"1em"}}),"indicatorsContainer"),indicatorSeparator:t((o,{isDisabled:i})=>({...o,margin:0,height:"1rem",alignSelf:"center",borderColor:i?a:l,backgroundColor:i?a:l}),"indicatorSeparator"),menu:t(o=>({...o,borderRadius:8,overflow:"hidden",boxShadow:e.depth("level-three"),marginTop:C,padding:0}),"menu"),menuList:t(o=>({...o,borderRadius:8,border:"1px solid #fff",padding:0,"& div:not(:first-of-type)":{borderTop:"1px solid #fff"}}),"menuList"),option:t((o,i)=>{let s=e.colors.baseLight;return i.isSelected&&(s=e.colors.neutral[5]),i.isFocused&&(s=e.colors.neutral[20]),{...o,color:e.colors.primary.dark,backgroundColor:s,cursor:"pointer",textAlign:"left",padding:x,lineHeight:"1.2rem","&:active":{color:e.colors.baseLight,backgroundColor:e.colors.primary.base}}},"option"),clearIndicator:t(o=>({...o,cursor:"pointer"}),"clearIndicator"),dropdownIndicator:t(o=>({...o,cursor:"pointer",paddingRight:0}),"dropdownIndicator")}}t(J,"createComponentStyle");import Z,{forwardRef as ne,useImperativeHandle as ie,useMemo as ae,useState as se}from"react";import r from"react";import K,{components as z}from"react-select";import L from"react-select/async";var N=K;function Q(e){return r.createElement(z.DropdownIndicator,{...e},r.createElement("div",{style:{width:24}},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{margin:"auto",background:"0 0"},viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",display:"block"},r.createElement("defs",null),r.createElement("g",{transform:"translate(80 50)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",transform:"scale(1.37926)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.875s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.875s"}))),r.createElement("g",{transform:"rotate(45 -50 122)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".9",transform:"scale(1.44176)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.75s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.75s"}))),r.createElement("g",{transform:"rotate(90 -15 65)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".8",transform:"scale(1.00426)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.625s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.625s"}))),r.createElement("g",{transform:"rotate(135 0 42)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".6",transform:"scale(1.06676)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.5s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.5s"}))),r.createElement("g",{transform:"rotate(180 10 25)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".5",transform:"scale(1.12926)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.375s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.375s"}))),r.createElement("g",{transform:"rotate(-135 20 8)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".4",transform:"scale(1.19176)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.25s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.25s"}))),r.createElement("g",{transform:"rotate(-90 35 -15)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".3",transform:"scale(1.25426)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.125s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.125s"}))),r.createElement("g",{transform:"rotate(-45 70 -72)"},r.createElement("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".1",transform:"scale(1.31676)"},r.createElement("animateTransform",{attributeName:"transform",type:"scale",begin:"0s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"0s"}))))))}t(Q,"DropdownIndicator");import{useCallback as oe,useRef as te}from"react";function A(e,n){if(!(!e||G(n))){if(I(e))return e;if(F(e))return n.find(c=>c.value===e);if(Array.isArray(e)){if(e.every(c=>typeof c=="string"))return n.filter(c=>e.includes(c.value));if(e.every(I))return e}}}t(A,"getDefaultValue");function X(e){let n=te(e),{active:c,disable:m,enable:p}=Y();$(()=>{n.current=e});let l=oe(async g=>{try{p();let a=await n.current(g);if(Array.isArray(a))return a;throw new Error('"LoadOptions" prop did not return the expected result')}catch(a){H.error(a==null?void 0:a.message)}finally{m()}},[p,m]);return[c,l]}t(X,"useLoadOptions");function le(e,n){let{loadingPlaceholder:c="Carregando (aguarde)...",emptyMessage:m="Sem Op\xE7\xF5es",isLoading:p,onChange:l,loadOptions:g,onItemSelect:a,variant:T,style:k,readOnly:w,value:S,hideSelectedOptions:x=!1,menuPlacement:C="bottom",placeholder:o="Selecione...",size:i="medium",...s}=e,[u,y]=se(()=>{let{options:d,defaultValue:b}=s;return A(b||S,d)}),P=t(d=>{y(d||[]);let b=B(d);if(l&&l(d?b:[]),s.isMulti&&a){let h=Array.isArray(u)&&u.length,O=b.length,M=t(()=>{let f=u||[];l&&l(f),y(f)},"cancelAction");if(O===0)u.forEach(f=>{a({option:f,type:"REMOVE",cancelAction:t(()=>y(V=>{let v=[...V,f];return l&&l(v),v}),"cancelAction")})});else if(O>h)a({option:b[O-1],type:"ADD",cancelAction:M});else if(O<h){let f=u.find(V=>!b.some(v=>v.value===V.value));a({option:f,type:"REMOVE",cancelAction:M})}}},"onChangeValue");q(()=>{y(S||[])},[S]),ie(n,()=>({setValue:t(d=>{P(A(d,s.options))},"setValue")}));let[U,R]=X(g),D=j(),ee=ae(()=>J(D,T,k),[D,T,k]),E={ref:n,...s,size:i,hideSelectedOptions:x,menuPlacement:C,placeholder:o,...(p||U)&&{components:{DropdownIndicator:Q,LoadingIndicator:null},placeholder:c,isDisabled:!0},closeMenuOnSelect:!s.isMulti,styles:ee,value:u,noOptionsMessage:t(()=>m,"noOptionsMessage"),onChange:P,...w&&{isClearable:!1,isSearchable:!1,openMenuOnClick:!1,menuIsOpen:!1}};return g?Z.createElement(L,{...E,cacheOptions:!0,defaultOptions:!0,loadOptions:R}):Z.createElement(N,{...E})}t(le,"InputSelectComponent");var _=ne(le);_.displayName="InputSelect";export{J as a,_ as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as e}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var d=r(({theme:o})=>e`
|
|
2
2
|
border-top: 1px solid ${o.colors.neutral[10]};
|
|
3
3
|
border-bottom: 1px solid ${o.colors.neutral[10]};
|
|
4
4
|
border-right: none;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b}from"./chunk-V2CHFCNJ.esm.js";import{d as a}from"./chunk-C2HYRKZ5.esm.js";import{a as C}from"./chunk-CDRLVSLF.esm.js";import{a as t}from"./chunk-THOEVSMN.esm.js";import{g as r}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import l from"react";var m=r(b)``;var e=o(c=>{let{getAllSelected:n}=l.useContext(C);return l.createElement(m,{bgColor:"baseLight"},l.createElement(t,{justifyContent:"center"},l.createElement(a,{label:c.children,onChange:x=>n(x.target.checked)})))},"TableHeaderCheckboxCellComponent");e.displayName="TableHeaderCheckboxCell";export{m as a,e as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-GZONWSRB.esm.js";import{useEffect as p,useState as d}from"react";import{sha1 as i}from"object-hash";var g=n(({src:o})=>{let e=document,s=i(o),[c,r]=d(!0),a=e.getElementById(s);return p(()=>{if(a)r(!1);else{let t=e.createElement("script");t.async=!0,t.id=s,t.src=o,t.onload=()=>{r(!1)},e.body.appendChild(t)}},[]),{isLoadingScript:c}},"useScript");export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as l}from"./chunk-
|
|
1
|
+
import{b as l}from"./chunk-M3BBRFF2.esm.js";import{d as o}from"./chunk-J73BJCFK.esm.js";import{a as r}from"./chunk-THOEVSMN.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import e from"react";var n=m(({initialPagination:t,finalPagination:i,linesPerPage:a,totalPagination:p})=>t&&i&&p&&Array.isArray(a)?e.createElement(r,{flexDirection:"row",justifyContent:"between",alignItems:"center"},e.createElement(o,{color:"primary.dark"},"Exibindo ",t," - ",i," de ",p," itens"),e.createElement(r,{flexDirection:"row",justifyContent:"center",alignItems:"center",gap:2},e.createElement(o,{color:"primary.dark"},"Linhas por p\xE1gina"),e.createElement(l,{width:"150px",options:a}))):null,"TablePaginationComponent");n.displayName="TablePagination";export{n as a};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{a}from"./chunk-J73BJCFK.esm.js";import{a as g}from"./chunk-THOEVSMN.esm.js";import{c as l}from"./chunk-U4ODIBWG.esm.js";import{g as t}from"./chunk-APD22JEO.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import n,{forwardRef as B}from"react";function h({size:e,border:o}){let r;switch(e){case"extraSmall":r={height:"0.25rem",borderRadius:"micro",mb:"micro"};break;case"small":r={height:"0.5rem",borderRadius:"xs",mb:"micro"};break;case"large":r={height:"1rem",borderRadius:"md",mb:"small"};break;default:r={height:"0.75rem",borderRadius:"sm",mb:"xs"}}return o||(r.borderRadius=void 0),r}m(h,"progressOverlayProps");var f=t(l).attrs(h)`
|
|
2
|
+
background: var(--bg-overlay);
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
width: 100%;
|
|
5
|
+
`,c=t(l)`
|
|
6
|
+
height: 100%;
|
|
7
|
+
background: var(--bg-progress);
|
|
8
|
+
transition: ${({theme:e})=>e.animation.transitions.short};
|
|
9
|
+
`;function y({color:e,theme:o}){let{base:r,dark:s,light:i}=o.colors[e];return{"--text-color":s,"--bg-overlay":i,"--bg-progress":r}}m(y,"getProgressColor");var p=t(g)`
|
|
10
|
+
${y}
|
|
11
|
+
|
|
12
|
+
${a} {
|
|
13
|
+
color: var(--text-color);
|
|
14
|
+
}
|
|
15
|
+
`;var d=B(({color:e="primary",border:o,size:r="medium",progress:s=0,showProgressLabel:i=!1},P)=>{let b=-100+Number(s);return n.createElement(p,{color:e,justifyContent:"center",alignItems:"center",ref:P},n.createElement(f,{size:r,border:o},n.createElement(c,{style:{transform:`translateX(${b}%)`}})),i&&n.createElement(a,null,s,"%"))});d.displayName="ProgressBar";export{d as a};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import{a as p,o as c}from"./chunk-4WWVMB7R.esm.js";import{a,b as h}from"./chunk-53R7OVXP.esm.js";import{a as g}from"./chunk-THOEVSMN.esm.js";import{c as I}from"./chunk-TOYBV66A.esm.js";import{b as s}from"./chunk-VVZ6FCG7.esm.js";import{b as m}from"./chunk-A6Z2M2XU.esm.js";import{b as i,g as f}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";function T(){return i`
|
|
2
|
+
color: var(--dark-color);
|
|
3
|
+
border-color: var(--border-color);
|
|
4
|
+
|
|
5
|
+
${s({deep:-1})}
|
|
6
|
+
|
|
7
|
+
&:focus, &:hover {
|
|
8
|
+
${s({deep:0})}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:focus + ${p} {
|
|
12
|
+
color: var(--base-color);
|
|
13
|
+
}
|
|
14
|
+
`}l(T,"inputVariantStyle");var W=i`
|
|
15
|
+
&::placeholder {
|
|
16
|
+
color: ${({theme:o})=>o.colors.neutral[70]};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:disabled {
|
|
20
|
+
&::placeholder {
|
|
21
|
+
color: var(--disabled-color);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`,F=i`
|
|
25
|
+
&:disabled,
|
|
26
|
+
&:read-only {
|
|
27
|
+
border: 1px solid var(--disabled-bg);
|
|
28
|
+
background-color: var(--disabled-bg);
|
|
29
|
+
color: var(--disabled-color);
|
|
30
|
+
}
|
|
31
|
+
&:read-only {
|
|
32
|
+
${s({deep:0})}
|
|
33
|
+
}
|
|
34
|
+
`;function A({iconPosition:o}){return o==="left"?i`
|
|
35
|
+
& + ${a}, & + ${p} {
|
|
36
|
+
left: 1em;
|
|
37
|
+
right: unset;
|
|
38
|
+
}
|
|
39
|
+
`:null}l(A,"invertIconPosition");var B=i`
|
|
40
|
+
&:disabled + ${p} {
|
|
41
|
+
color: var(--disabled-color);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:disabled + ${a} {
|
|
45
|
+
pointer-events: none;
|
|
46
|
+
${m(()=>({bgColor:"grayscale.10"}))}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
& + ${a} {
|
|
50
|
+
width: intrinsic;
|
|
51
|
+
${m(()=>({bgColor:"grayscale.40"}))}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& + ${a}, & + ${p} {
|
|
55
|
+
color: var(--icon-color);
|
|
56
|
+
z-index: 100;
|
|
57
|
+
position: absolute;
|
|
58
|
+
align-self: center;
|
|
59
|
+
right: 1em;
|
|
60
|
+
|
|
61
|
+
& > g {
|
|
62
|
+
fill: var(--icon-color);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
`,x=f(I.input).attrs(o=>({fontFamily:"main",lineHeight:"tight",bgColor:"grayscale.0",borderWidth:"thin",borderStyle:"solid",px:"small",...o}))`
|
|
66
|
+
-webkit-appearance: none;
|
|
67
|
+
display: block;
|
|
68
|
+
|
|
69
|
+
width: 100%;
|
|
70
|
+
|
|
71
|
+
outline: none;
|
|
72
|
+
transition: ${({theme:o})=>o.animation.transitions.short};
|
|
73
|
+
|
|
74
|
+
${T}
|
|
75
|
+
|
|
76
|
+
${B};
|
|
77
|
+
|
|
78
|
+
${A};
|
|
79
|
+
|
|
80
|
+
${F};
|
|
81
|
+
|
|
82
|
+
${W};
|
|
83
|
+
|
|
84
|
+
&[type='date']::-webkit-calendar-picker-indicator {
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: 0;
|
|
87
|
+
left: 0;
|
|
88
|
+
right: 0;
|
|
89
|
+
bottom: 0;
|
|
90
|
+
width: auto;
|
|
91
|
+
height: auto;
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&[type='number']::-webkit-outer-spin-button,
|
|
96
|
+
&[type='number']::-webkit-inner-spin-button {
|
|
97
|
+
-webkit-appearance: none;
|
|
98
|
+
margin: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&[type='number'] {
|
|
102
|
+
-moz-appearance: textfield;
|
|
103
|
+
}
|
|
104
|
+
`,b=f(g)(({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:n}=t;return{display:"flex",position:"relative","--base-color":e,"--dark-color":n,"--disabled-bg":o.colors.neutral[10],"--disabled-color":o.colors.neutral[50],"--icon-color":r==="default"?o.colors.neutral[100]:e,"--border-color":r==="default"?o.colors.neutral[40]:e}});b.displayName="input";import S,{forwardRef as D}from"react";import d from"react";var k={expansive:{py:"medium",fontSize:"small",borderRadius:"xs",height:54},medium:{py:"small",fontSize:"small",borderRadius:"xs",height:46},compact:{py:"xs",fontSize:"small",borderRadius:"xs",height:38},micro:{py:"micro",fontSize:"micro",borderRadius:"micro",height:26}};function $({icon:o,variant:r,clearable:t,reset:e,value:n,readOnly:u}){return t&&e&&n&&!u?d.createElement(h,{p:"micro",type:"button",borderWidth:"none",variant:"linked",onClick:e,"data-testid":"input-reset-button",icon:d.createElement(c,{size:"small",color:"grayscale.0",name:"times"})}):o||(r==="error"?d.createElement(c,{name:"times","data-testid":"input-icon-error"}):r==="success"?d.createElement(c,{name:"check","data-testid":"input-icon-success"}):null)}l($,"getIconComponent");var P=D(({value:o,variant:r="default",iconPosition:t="right",size:e="medium",...n},u)=>{let{disabled:w,width:v,style:H,...C}=n,y=$({...n,value:o,variant:r,size:e,iconPosition:t}),z={...k[e],...y&&{[t==="right"?"pr":"pl"]:"xl"}};return S.createElement(b,{variant:r,width:v,flexDirection:"row"},S.createElement(x,{iconPosition:t,disabled:w,variant:r,...z,...C,...o!==void 0&&{value:o},ref:u}),y)});P.displayName="Input";export{T as a,W as b,F as c,A as d,x as e,b as f,P as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as I}from"./chunk-43YSWDK6.esm.js";import{g as y}from"./chunk-O7P2XALT.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import S,{forwardRef as V,useMemo as O,useState as h}from"react";function c(e){return e.replace(/\D/g,"")}n(c,"removeNonDigits");function C(e,r="."){return c(e).replace(/\B(?=(\d{3})+(?!\d))/g,r)}n(C,"formatNumber");function f(e,r){let t=e;if(r.prefix&&t&&(t=e.replaceAll(r.prefix,"").trim()),t==="")return t;let{decimal:i,thousand:o,validate:m}=r,s=t.indexOf(i);if(s>=0){let a=t.substring(0,s),u=t.substring(s);a=C(a,o),m&&(u=`${u}00`),u=c(u).substring(0,2),t=`${a}${i}${u}`}else t=C(t),m&&(t+=`${i}00`);return t}n(f,"formatCurrency");function F(e,r=","){if(typeof e=="number")return e;try{let t=e.indexOf(r);if(t>=0){let i=c(e.substring(0,t)),o=c(e.substring(t));return+`${i}.${o}`}return Number(c(e))}catch(t){return console.log("Failed to convert string to Number"),0}}n(F,"currencyToNumber");function $(e,r){let t=e;return typeof t=="number"&&(t=t.toLocaleString("pt-BR",{style:"decimal"})),f(t,{validate:!0,...r})}n($,"getInitialCurrencyValue");var E=V(({onChange:e,value:r,decimal:t=",",thousand:i=".",prefix:o="R$",...m},s)=>{let[a,u]=h(()=>r?$(r,{decimal:t,thousand:i,prefix:o}):""),p=O(()=>I(l=>e==null?void 0:e(l),250),[e]),d=n((l,N)=>{var b;let g=f((b=l.target.value)!=null?b:"",{validate:N,decimal:t,thousand:i,prefix:o});u(g),p(g)},"handleChange"),v=n(()=>{u(""),p("")},"resetValues"),x=o?`${o} ${a}`:a;return S.createElement(y,{...m,ref:s,reset:v,value:x,onChange:d,onBlur:l=>d(l,!0)})});E.displayName="InputCurrency";export{f as a,F as b,$ as c,E as d};
|