@apollion-dsi/core 7.3.0 → 7.5.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 +7 -0
- package/lib/chunks/Dropdown.floating-BZADQ5AX.esm.js +1 -0
- package/lib/chunks/Notification.group-BC3U4UX6.esm.js +1 -0
- package/lib/chunks/Tooltip.floating-LDFMVRIA.esm.js +1 -0
- package/lib/chunks/{chunk-G757UD32.esm.js → chunk-2BWCWW2Q.esm.js} +1 -1
- package/lib/chunks/chunk-3437GMP7.esm.js +1 -0
- package/lib/chunks/{chunk-XCJYI6FQ.esm.js → chunk-3PLVWHLK.esm.js} +1 -1
- package/lib/chunks/{chunk-WU3U64UA.esm.js → chunk-3VZTMO2Z.esm.js} +1 -1
- package/lib/chunks/{chunk-YJ6PPJQ4.esm.js → chunk-3WXII2F3.esm.js} +1 -1
- package/lib/chunks/chunk-46CG3ZZX.esm.js +50 -0
- package/lib/chunks/chunk-4KW43QHY.esm.js +1 -0
- package/lib/chunks/{chunk-S7Y2IM73.esm.js → chunk-4MZWYLJH.esm.js} +1 -1
- package/lib/chunks/{chunk-PV4PSGB7.esm.js → chunk-52O36B6T.esm.js} +1 -1
- package/lib/chunks/chunk-5PLSFFP6.esm.js +1 -0
- package/lib/chunks/chunk-6G22RNUO.esm.js +1 -0
- package/lib/chunks/{chunk-5Q265MC7.esm.js → chunk-7JYI2AQK.esm.js} +1 -1
- package/lib/chunks/chunk-7PHMFL32.esm.js +1 -0
- package/lib/chunks/chunk-A4QGVHIH.esm.js +1 -0
- package/lib/chunks/chunk-A77KMXEI.esm.js +5 -0
- package/lib/chunks/{chunk-67E7VWGJ.esm.js → chunk-A7STAO6C.esm.js} +1 -1
- package/lib/chunks/{chunk-WCUEINBQ.esm.js → chunk-AAZFRX52.esm.js} +1 -1
- package/lib/chunks/{chunk-5HZUIEYR.esm.js → chunk-ATYYPKUP.esm.js} +1 -1
- package/lib/chunks/{chunk-5RKOPGWH.esm.js → chunk-BKMH5ZKN.esm.js} +1 -1
- package/lib/chunks/{chunk-LS3AMOAD.esm.js → chunk-BZNSA3AA.esm.js} +1 -1
- package/lib/chunks/{chunk-3A7I6HM2.esm.js → chunk-C7U4X56I.esm.js} +1 -1
- package/lib/chunks/chunk-CPQPRAAV.esm.js +1 -0
- package/lib/chunks/chunk-DA65U576.esm.js +1 -0
- package/lib/chunks/chunk-DXCL3MVA.esm.js +30 -0
- package/lib/chunks/{chunk-WEZKDYTI.esm.js → chunk-DYLFA33G.esm.js} +1 -1
- package/lib/chunks/chunk-E2U6IFPB.esm.js +1 -0
- package/lib/chunks/{chunk-R2B57RMV.esm.js → chunk-EJ245MA7.esm.js} +1 -1
- package/lib/chunks/chunk-EYAGAJRL.esm.js +1 -0
- package/lib/chunks/chunk-F3SAEVZJ.esm.js +1 -0
- package/lib/chunks/{chunk-RFUX53ZX.esm.js → chunk-FNYS25ZX.esm.js} +1 -1
- package/lib/chunks/chunk-FUVFPMSI.esm.js +39 -0
- package/lib/chunks/{chunk-2EYK6SOO.esm.js → chunk-G5L6INCM.esm.js} +1 -1
- package/lib/chunks/{chunk-ZIPR5STE.esm.js → chunk-GAQ3CPOM.esm.js} +1 -1
- package/lib/chunks/{chunk-RHRKGRQP.esm.js → chunk-GQZGW3EG.esm.js} +1 -1
- package/lib/chunks/chunk-GXGV64D2.esm.js +9 -0
- package/lib/chunks/{chunk-CXAWY4CK.esm.js → chunk-H5EZPFXA.esm.js} +1 -1
- package/lib/chunks/chunk-HPMNSONF.esm.js +0 -0
- package/lib/chunks/chunk-HTYWYOZQ.esm.js +1 -0
- package/lib/chunks/chunk-IFSAA4OC.esm.js +1 -0
- package/lib/chunks/chunk-IMS5TWF3.esm.js +1 -0
- package/lib/chunks/{chunk-OSFHXCPW.esm.js → chunk-IQQH6HMG.esm.js} +1 -1
- package/lib/chunks/chunk-ITSDQBLF.esm.js +1 -0
- package/lib/chunks/chunk-IZHCHFTU.esm.js +1 -0
- package/lib/chunks/{chunk-QHRNEUNP.esm.js → chunk-J4VMAQM3.esm.js} +5 -5
- package/lib/chunks/chunk-J6F4PMW4.esm.js +1 -0
- package/lib/chunks/{chunk-TWGEF7LA.esm.js → chunk-JNV3RCLH.esm.js} +1 -1
- package/lib/chunks/chunk-JVFVXNCA.esm.js +1 -0
- package/lib/chunks/{chunk-ZR433YL7.esm.js → chunk-JVJJNNK3.esm.js} +1 -1
- package/lib/chunks/{chunk-TBHGVERY.esm.js → chunk-JWNC52FT.esm.js} +1 -1
- package/lib/chunks/{chunk-CGPZLU4O.esm.js → chunk-JYFJX4EO.esm.js} +1 -1
- package/lib/chunks/{chunk-KVWFEJRW.esm.js → chunk-KE4YU2FM.esm.js} +1 -1
- package/lib/chunks/chunk-KITEZ7OW.esm.js +1 -0
- package/lib/chunks/chunk-KW62FBMI.esm.js +1 -0
- package/lib/chunks/chunk-KXRGSB6P.esm.js +1 -0
- package/lib/chunks/chunk-L7A7RA56.esm.js +1 -0
- package/lib/chunks/chunk-LA7VVT23.esm.js +1 -0
- package/lib/chunks/chunk-LCCVFIPZ.esm.js +1 -0
- package/lib/chunks/{chunk-LVVNQRJ2.esm.js → chunk-LDOM2UUN.esm.js} +1 -1
- package/lib/chunks/chunk-LN65BGR5.esm.js +1 -0
- package/lib/chunks/{chunk-6VBJ7CSY.esm.js → chunk-M4EIGJZZ.esm.js} +1 -1
- package/lib/chunks/{chunk-TMIQIUOH.esm.js → chunk-MKGWYKH6.esm.js} +1 -1
- package/lib/chunks/{chunk-IIC6OHTB.esm.js → chunk-MTJOR4UX.esm.js} +1 -1
- package/lib/chunks/{chunk-CQASQBD7.esm.js → chunk-MYU2IAR3.esm.js} +1 -1
- package/lib/chunks/{chunk-NSMXX277.esm.js → chunk-NGCCXGDN.esm.js} +1 -1
- package/lib/chunks/{chunk-TG2P4DDY.esm.js → chunk-O5TS2XER.esm.js} +1 -1
- package/lib/chunks/{chunk-ZV2ZWK53.esm.js → chunk-OC7CKHRF.esm.js} +1 -1
- package/lib/chunks/{chunk-TZQMBDGR.esm.js → chunk-ODL5JUYM.esm.js} +1 -1
- package/lib/chunks/chunk-OOYR6EZR.esm.js +1 -0
- package/lib/chunks/chunk-P3SIJHYM.esm.js +1 -0
- package/lib/chunks/chunk-P3XOIBAC.esm.js +1 -0
- package/lib/chunks/{chunk-O5ZHMMMV.esm.js → chunk-PB7O2NHF.esm.js} +1 -1
- package/lib/chunks/{chunk-QL2OVYDI.esm.js → chunk-PCLKWRMD.esm.js} +1 -1
- package/lib/chunks/{chunk-QIN2X7SN.esm.js → chunk-PRQOVSM6.esm.js} +4 -4
- package/lib/chunks/{chunk-PXPFWWKL.esm.js → chunk-Q2PMRBCL.esm.js} +1 -1
- package/lib/chunks/{chunk-VCA76NG3.esm.js → chunk-Q3XFSLPE.esm.js} +1 -1
- package/lib/chunks/chunk-QXV2TDLZ.esm.js +1 -0
- package/lib/chunks/chunk-R2QEO3KP.esm.js +18 -0
- package/lib/chunks/chunk-REPFMEFA.esm.js +1 -0
- package/lib/chunks/{chunk-BERIBF3O.esm.js → chunk-SEPVF2TL.esm.js} +1 -1
- package/lib/chunks/{chunk-HJYD74KU.esm.js → chunk-SPN5664Z.esm.js} +1 -1
- package/lib/chunks/chunk-TF3JNXQO.esm.js +1 -0
- package/lib/chunks/{chunk-KP35QBYF.esm.js → chunk-TWZWNWBQ.esm.js} +1 -1
- package/lib/chunks/chunk-U3GZABRG.esm.js +1 -0
- package/lib/chunks/{chunk-Z2YRSJP4.esm.js → chunk-UAXSZ3UE.esm.js} +1 -1
- package/lib/chunks/chunk-V2GA7W66.esm.js +1 -0
- package/lib/chunks/{chunk-OXQA5WD3.esm.js → chunk-VCMHX5VK.esm.js} +1 -1
- package/lib/chunks/{chunk-KGR36P56.esm.js → chunk-VFCCRDG4.esm.js} +1 -1
- package/lib/chunks/chunk-VFM3QFOU.esm.js +4 -0
- package/lib/chunks/{chunk-MREWGN5R.esm.js → chunk-VJ5GIFXO.esm.js} +1 -1
- package/lib/chunks/chunk-VR23WM3F.esm.js +1 -0
- package/lib/chunks/chunk-VYHY4SSS.esm.js +1 -0
- package/lib/chunks/chunk-W4NSHFN4.esm.js +1 -0
- package/lib/chunks/chunk-WB5XXCKL.esm.js +1 -0
- package/lib/chunks/chunk-WCJC5AG7.esm.js +1 -0
- package/lib/chunks/chunk-WDGATQZG.esm.js +1 -0
- package/lib/chunks/{chunk-K2FNA2E5.esm.js → chunk-X62RTM6B.esm.js} +1 -1
- package/lib/chunks/chunk-XKACWIWC.esm.js +1 -0
- package/lib/chunks/{chunk-A4N7BBKS.esm.js → chunk-XSULIEOF.esm.js} +1 -1
- package/lib/chunks/{chunk-3ULXR3PR.esm.js → chunk-XUZQE326.esm.js} +1 -1
- package/lib/chunks/chunk-YBKS2HAY.esm.js +1 -0
- package/lib/chunks/chunk-Z23O3NNN.esm.js +1 -0
- package/lib/chunks/{chunk-KMD7LUDX.esm.js → chunk-ZDB7ECI3.esm.js} +1 -1
- package/lib/chunks/{chunk-7TJO34VI.esm.js → chunk-ZJT2WQTR.esm.js} +1 -1
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Box/index.esm.js +1 -1
- package/lib/containers/Card/Card.style.d.ts +16 -8
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/Content.interface.d.ts +7 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.interface.d.ts +10 -0
- package/lib/containers/Flex/Flex.style.d.ts +9 -4
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.style.d.ts +32 -16
- 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/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/Accordion/Accordion.d.ts +34 -0
- package/lib/dataDisplay/Accordion/Accordion.interface.d.ts +97 -0
- package/lib/dataDisplay/Accordion/Accordion.style.d.ts +122 -0
- package/lib/dataDisplay/Accordion/index.d.ts +8 -0
- package/lib/dataDisplay/Accordion/index.esm.js +1 -0
- package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +8 -0
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +8 -8
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +7 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.style.d.ts +16 -8
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Steps/Steps.interface.d.ts +7 -0
- package/lib/dataDisplay/Steps/Steps.style.d.ts +48 -24
- package/lib/dataDisplay/Steps/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +36 -20
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.interface.d.ts +7 -1
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +84 -44
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.d.ts +1 -0
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/Avatar.style.d.ts +4 -0
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.style.d.ts +16 -8
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/index.esm.js +1 -1
- package/lib/elements/Divider/Divider.style.d.ts +16 -8
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.floating.d.ts +3 -1
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/Icon.d.ts +3 -1
- package/lib/elements/Icon/Icon.interface.d.ts +3 -1
- package/lib/elements/Icon/Icon.style.d.ts +3 -2
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.style.d.ts +64 -32
- 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 +8 -8
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.style.d.ts +16 -8
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.interface.d.ts +5 -1
- package/lib/elements/Modal/Modal.style.d.ts +44 -27
- package/lib/elements/Modal/Modal.width.d.ts +30 -0
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.interface.d.ts +2 -2
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +16 -8
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/Sheet.d.ts +4 -0
- package/lib/elements/Sheet/Sheet.interface.d.ts +15 -1
- package/lib/elements/Sheet/Sheet.style.d.ts +60 -44
- package/lib/elements/Sheet/index.d.ts +3 -1
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Spinner/Spinner.style.d.ts +2 -3
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.style.d.ts +7 -5
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.props.d.ts +22 -22
- 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/FlexFactory/FlexFactory.d.ts +7 -2
- package/lib/factory/FlexFactory/index.esm.js +1 -1
- package/lib/factory/FontFactory/FontFactory.interface.d.ts +1 -1
- package/lib/factory/MotionFactory/index.esm.js +1 -1
- package/lib/factory/PlacementFactory/index.esm.js +1 -1
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.channel.d.ts +14 -0
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.d.ts +1 -1
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/SpacingFactory/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.style.d.ts +36 -20
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.style.d.ts +16 -8
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.style.d.ts +16 -8
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.interface.d.ts +2 -0
- package/lib/form/Input/Input.style.d.ts +47 -20
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.style.d.ts +16 -8
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/InputDate.d.ts +3 -0
- 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 +8 -8
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Option/Option.style.d.ts +16 -8
- 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/Select.interface.d.ts +2 -0
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.style.d.ts +1 -2
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.interface.d.ts +30 -1
- package/lib/form/TextArea/TextArea.style.d.ts +29 -17
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.interface.d.ts +8 -0
- package/lib/form/UploadCard/UploadCard.style.d.ts +29 -20
- 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/useClipboard/index.esm.js +1 -1
- package/lib/hooks/useEventCallback/index.esm.js +1 -1
- package/lib/hooks/useFocusTrap/index.esm.js +1 -1
- package/lib/hooks/useIntersect/index.esm.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/Animation/index.esm.js +1 -1
- package/lib/themes/Colors/Colors.helpers.d.ts +42 -10
- package/lib/themes/Colors/index.esm.js +1 -1
- package/lib/themes/Component/Component.interface.d.ts +41 -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/Font/Font.helpers.d.ts +14 -0
- package/lib/themes/Font/Font.interface.d.ts +23 -5
- package/lib/themes/Font/Font.props.d.ts +47 -17
- package/lib/themes/Font/index.d.ts +1 -0
- package/lib/themes/Font/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/GlobalStyle.d.ts +8 -4
- package/lib/themes/GlobalStyle/GlobalStyle.forcedColors.d.ts +8 -0
- package/lib/themes/GlobalStyle/GlobalStyle.helpers.d.ts +14 -0
- 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 +10 -0
- package/lib/themes/Layout/Layout.props.d.ts +25 -1
- package/lib/themes/Layout/index.esm.js +1 -1
- package/lib/themes/Motion/Motion.helpers.d.ts +9 -6
- package/lib/themes/Motion/index.esm.js +1 -1
- package/lib/themes/Semantic/Semantic.interface.d.ts +3 -2
- package/lib/themes/Semantic/index.esm.js +1 -1
- package/lib/themes/Surface/index.esm.js +1 -1
- package/lib/themes/TextSize/TextSize.helpers.d.ts +14 -0
- package/lib/themes/TextSize/TextSize.interface.d.ts +14 -0
- package/lib/themes/TextSize/TextSize.props.d.ts +27 -0
- package/lib/themes/TextSize/index.d.ts +8 -0
- package/lib/themes/TextSize/index.esm.js +1 -0
- package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +48 -4
- package/lib/themes/ThemeProvider/ThemeProvider.modes.d.ts +1 -1
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.d.ts +1 -0
- package/lib/themes/index.esm.js +1 -1
- package/lib/utils/capabilities.d.ts +185 -0
- package/lib/utils/index.esm.js +1 -1
- package/lib/vendors/FloatingUI/index.d.ts +1 -0
- package/lib/vendors/FloatingUI/interface.d.ts +12 -2
- package/lib/vendors/FloatingUI/layer.d.ts +46 -0
- package/package.json +27 -9
- package/lib/chunks/Dropdown.floating-J32D2QRS.esm.js +0 -1
- package/lib/chunks/Notification.group-AS4LA5D6.esm.js +0 -1
- package/lib/chunks/Tooltip.floating-3ONULW2L.esm.js +0 -1
- package/lib/chunks/chunk-2SNAO7NC.esm.js +0 -1
- package/lib/chunks/chunk-2Y4WLA5I.esm.js +0 -1
- package/lib/chunks/chunk-3LYH4EYD.esm.js +0 -1
- package/lib/chunks/chunk-3V3ZEGHO.esm.js +0 -1
- package/lib/chunks/chunk-4AZHB45P.esm.js +0 -1
- package/lib/chunks/chunk-4IYOKQA7.esm.js +0 -5
- package/lib/chunks/chunk-5UYRWNCM.esm.js +0 -39
- package/lib/chunks/chunk-7UXK4EG7.esm.js +0 -1
- package/lib/chunks/chunk-AH6Y5HZ7.esm.js +0 -2
- package/lib/chunks/chunk-BV6GHAF7.esm.js +0 -1
- package/lib/chunks/chunk-CAE4JJJR.esm.js +0 -1
- package/lib/chunks/chunk-CK3WBMQQ.esm.js +0 -1
- package/lib/chunks/chunk-E4B4OTEY.esm.js +0 -1
- package/lib/chunks/chunk-EPAHWTZU.esm.js +0 -1
- package/lib/chunks/chunk-FK5R4PVA.esm.js +0 -1
- package/lib/chunks/chunk-GHPI3RFU.esm.js +0 -1
- package/lib/chunks/chunk-GZSGD3CF.esm.js +0 -1
- package/lib/chunks/chunk-H4CHFD6I.esm.js +0 -1
- package/lib/chunks/chunk-IJBZ45BC.esm.js +0 -1
- package/lib/chunks/chunk-IV6ORC5K.esm.js +0 -1
- package/lib/chunks/chunk-JCPRNQ6K.esm.js +0 -1
- package/lib/chunks/chunk-JHPEWQBA.esm.js +0 -1
- package/lib/chunks/chunk-KK7GJC3H.esm.js +0 -1
- package/lib/chunks/chunk-MBQGF5IM.esm.js +0 -1
- package/lib/chunks/chunk-OEQN4UYJ.esm.js +0 -1
- package/lib/chunks/chunk-OULN77LP.esm.js +0 -1
- package/lib/chunks/chunk-OVUUG4UQ.esm.js +0 -4
- package/lib/chunks/chunk-P7RR4ZHS.esm.js +0 -1
- package/lib/chunks/chunk-PXVTXO3L.esm.js +0 -1
- package/lib/chunks/chunk-QRU4HAB3.esm.js +0 -1
- package/lib/chunks/chunk-RR2TYGZC.esm.js +0 -1
- package/lib/chunks/chunk-RZLOZ3NW.esm.js +0 -1
- package/lib/chunks/chunk-S2SVVZOG.esm.js +0 -1
- package/lib/chunks/chunk-S7AKJ6C3.esm.js +0 -1
- package/lib/chunks/chunk-UN3R576I.esm.js +0 -48
- package/lib/chunks/chunk-V3JQI7KV.esm.js +0 -20
- package/lib/chunks/chunk-VMNCGW4Z.esm.js +0 -26
- package/lib/chunks/chunk-X2ARVSJZ.esm.js +0 -1
- package/lib/chunks/chunk-XE4O5TMX.esm.js +0 -1
- package/lib/chunks/chunk-XR6VYETA.esm.js +0 -1
- package/lib/chunks/chunk-XTY6DXMK.esm.js +0 -1
- package/lib/chunks/chunk-YJHYFCT7.esm.js +0 -1
- package/lib/chunks/chunk-ZOPD2T72.esm.js +0 -1
- package/lib/chunks/chunk-ZZOIX6CV.esm.js +0 -1
- /package/lib/chunks/{chunk-EBOJSNZ5.esm.js → chunk-AMN6SRJS.esm.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-NGCCXGDN.esm.js";import{a}from"./chunk-7PHMFL32.esm.js";import{a as r}from"./chunk-CDRLVSLF.esm.js";import{a as C}from"./chunk-UAXSZ3UE.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import d from"react";var b=n(c).withConfig({componentId:"sc-g7895e-0"})([""]);import{jsx as t}from"react/jsx-runtime";var o=l(m=>{let{getSelected:p}=d.useContext(r),x=l(e=>[...e.parentNode.children].indexOf(e),"getNodeIndex"),h=l(e=>{let T=x(e.target.closest("tr"));p(T,e.target.checked)},"handleChecked");return t(b,{children:t(C,{children:t(a,{label:m.children,onChange:h})})})},"TableCheckboxCellComponent");o.displayName="TableCheckboxCell";export{b as a,o as b};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{f as n}from"./chunk-W4NSHFN4.esm.js";import{b as l}from"./chunk-TLIKQFOT.esm.js";import{e as m}from"./chunk-R2QEO3KP.esm.js";import{c as a,h as i}from"./chunk-3WXII2F3.esm.js";import{a as s}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var c="apollion.reset";function p(){return`
|
|
2
|
+
@media (forced-colors: active) {
|
|
3
|
+
:focus-visible {
|
|
4
|
+
outline: 2px solid Highlight;
|
|
5
|
+
outline-offset: 2px;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
`}r(p,"forcedColorsFocusCss");import{normalize as f}from"styled-normalize";import{jsx as d}from"react/jsx-runtime";var b=s(["@layer ","{"," *,*::before,*::after{box-sizing:inherit;}}[hidden]{display:none;}html{font-size:100%;color-scheme:light;}html[","='dark']{color-scheme:dark;}"," html,body{margin:0;padding:0;box-sizing:border-box;background-color:",";color:",";","}"," "," ",";"],c,f,({$attribute:o=l})=>o,({$system:o,$attribute:e=l})=>o?`@media (prefers-color-scheme: dark) { html:not([${e}]) { color-scheme: dark; } }`:"",({theme:o})=>{var e,t;return(t=(e=o.colors.surface)==null?void 0:e.canvas)!=null?t:o.colors.baseLight},({theme:o})=>{var e,t;return(t=(e=o.colors.ink)==null?void 0:e.primary)!=null?t:o.colors.baseDark},({theme:o})=>Object.entries(i(o,a)).map(([e,t])=>`${e}: ${t};`).join(`
|
|
9
|
+
`),({theme:o})=>o.motion?m(o.motion):"",p(),({extend:o})=>o);function u(o){let e=n();return d(b,{...o,$attribute:e==null?void 0:e.attribute,$system:(e==null?void 0:e.mode)==="system"})}r(u,"GlobalStyle");export{b as a,u as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as A}from"./chunk-
|
|
1
|
+
import{b as A}from"./chunk-KITEZ7OW.esm.js";import{f as u}from"./chunk-ITSDQBLF.esm.js";import{e as b}from"./chunk-EYAGAJRL.esm.js";import{a as p}from"./chunk-IZHCHFTU.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};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s}from"./chunk-F3SAEVZJ.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var f=["viewportMedias"],c=["sm","md","lg","xl"],w=i(a=>m=>{let{theme:e,...n}={...a,...m},{viewportMedias:r}=n;if(!r)return{};let o={};return c.forEach(t=>{let p=r[t];p&&(o[e.breakpoints.up(t)]=s(p,e))}),o},"ViewportMediaFactory");export{f as a,w as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as M,b as z}from"./chunk-ZDB7ECI3.esm.js";import{c as L}from"./chunk-KZTG5TDM.esm.js";import{f as V}from"./chunk-HSKYQ6VP.esm.js";import{c as A}from"./chunk-VFCCRDG4.esm.js";import{a as B,b as T}from"./chunk-P3XOIBAC.esm.js";import{ga as F}from"./chunk-DAT6GD4T.esm.js";import{a as R,e as v}from"./chunk-EYAGAJRL.esm.js";import{g as W}from"./chunk-L7A7RA56.esm.js";import{a as E}from"./chunk-UAXSZ3UE.esm.js";import{a as C}from"./chunk-IZHCHFTU.esm.js";import{a as y}from"./chunk-5PLSFFP6.esm.js";import{c as b}from"./chunk-G5Z7USXC.esm.js";import{b as I,c as w,f as P,g as s}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var _=w(["0%{width:0;}100%{width:100%;}"]),x=s(y).withConfig({componentId:"sc-6lckl1-0"})(["display:flex;--time:15;width:0;height:0.25rem;background-color:var(--baseColor);animation:"," calc(var(--time,15) * 1s) normal forwards;"],_),$=s(C).withConfig({componentId:"sc-6lckl1-1"})(["position:absolute;top:0.25rem;left:0.5rem;right:0.5rem;"]);function J({variant:e,theme:a}){let t=a.colors[e];return I(["--baseColor:",";--lightColor:",";--darkColor:",";--activeColor:",";--actionColor:",";--inkColor:",";position:relative;background-color:var(--lightColor);border-color:var(--baseColor);",":not(button *){color:var(--inkColor);}& ","{width:intrinsic;color:var(--darkColor);&:hover{background:var(--activeColor);}&:active ","{color:var(--actionColor);}}&:hover ","{animation-play-state:paused;}"],t.base,t.light,t.dark,t.active,t.action,t.onLight,R,M,B,x)}n(J,"getWrapperStyle");var N=s(y).withConfig({componentId:"sc-6lckl1-2"})(J);N.displayName="div";var j=s(C).withConfig({componentId:"sc-6lckl1-3"})(["color:var(--darkColor);svg{width:2rem;height:2rem;}"]);import q,{useEffect as K,useState as X}from"react";import{createPortal as Y}from"react-dom";import{jsx as o,jsxs as G}from"react/jsx-runtime";var H=q.forwardRef(n(function({type:a="block",variant:t="primary",visible:p=!0,closable:d=!0,autoClose:f=null,message:i=null,action:l=null,icon:c=null,link:m,onDismiss:r,closeLabel:u="Fechar notifica\xE7\xE3o",...h},O){let{isMobile:S}=V(),Q=n(()=>{let g=l;return typeof l=="function"&&(g=l({close:r})),g?q.cloneElement(g,{color:t,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),U=n(()=>typeof i=="function"?i({close:r}):typeof i=="string"?o(v,{text:i,variant:"p",fontSize:"xs"}):i,"renderMessage"),k=t==="danger",Z=k?"alert":"status";return p?G(N,{ref:O,p:"medium",pr:9,round:S?0:"xs",borderWidth:S?"none":"thin",borderStyle:"solid",variant:t,"data-testid":`notification-${a}`,role:Z,"aria-live":k?"assertive":"polite","aria-atomic":"true",...h,children:[f&&o($,{children:o(x,{round:"micro",style:{"--time":f},onAnimationEnd:r})}),G(E,{contentGap:"medium",opener:c&&o(j,{pt:"xs",alignSelf:"start",children:c}),closer:Q(),children:[h.title&&o(v,{text:h.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),U(),m&&o(A,{...m,target:"_blank"})]}),d&&o(z,{p:"xs",borderWidth:"none",icon:o(T,{size:"small",icon:F}),"aria-label":u,variant:"linked",onClick:r,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})]}):null},"BaseNotification")),D=n(e=>{let a=P(),[t,p]=X(!1);K(()=>{p(!0)},[]);let d=e.visible!==!1,{mounted:f,state:i,ref:l}=L(d),{pageOffset:c=0,...m}=e,r=e.pagePosition==="top",u=r?{top:c}:{bottom:c};return!t||!b?null:Y(f?o(H,{...m,ref:l,round:0,borderWidth:"thin",borderPosition:r?"bottom":"top",motion:r?"sheet-top":"sheet","data-state":i,"aria-hidden":i==="closing"||void 0,visible:!0,style:{...u,zIndex:W(a).toast,margin:0,position:"fixed",right:0,left:0}}):null,b)},"PageNotification"),tt=n(e=>e.type==="page"?o(D,{...e}):o(H,{...e}),"NotificationComponent");tt.displayName="Notification";export{x as a,$ as b,N as c,j as d,tt as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var m={small:{min:"20rem",max:"30rem"},base:{min:"20rem",max:"40rem"},medium:{min:"40rem",max:"55rem"},large:{min:"40rem",max:"75rem"}},e="95%",r="84svh";export{m as a,e as b,r as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as n}from"./chunk-
|
|
1
|
+
import{l as n}from"./chunk-REPFMEFA.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";function Oa(c,a=c){var b,m,d,p,k;let e=(b=c.baseLight)!=null?b:"#FFF",r=(m=c.baseDark)!=null?m:"#000",s=(d=a.surface)!=null?d:{canvas:e,sunken:e,paper:e,raised:e,overlay:e,scrim:r},t=(p=a.ink)!=null?p:{primary:r,secondary:r,muted:r,disabled:r},o=(k=a.edge)!=null?k:{hairline:r,border:r,strong:r},i=l(g=>({bg:g,txtOn:t.primary}),"pair");return{surface:{canvas:i(s.canvas),sunken:i(s.sunken),paper:i(s.paper),raised:i(s.raised),overlay:i(s.overlay)},ink:{primary:t.primary,secondary:t.secondary,muted:t.muted,disabled:t.disabled},edge:{hairline:o.hairline,border:o.border,strong:o.strong}}}l(Oa,"ladderSemantic");function Ia(c){var r,s,t,o,i,b,m,d,p,k,g,u,f,y,D,x,S,C,O,h,I,v,L,w,P,T,F,G,z,B,j,q,A,E,H,J,K,M,N,Q,R,U,V,W,X,Y,Z,_,$,aa,ea,ra,na,sa,ta,ia,oa,ca,ba,ma,da,pa,ka,ga,la,ua,fa,ya,Da,xa,Sa,Ca;let{colors:a,spacing:e}=c;return{color:{feedback:{success:{bg:(t=(s=(r=a.success)==null?void 0:r.base)!=null?s:a.baseDark)!=null?t:"#000",txtOn:n((b=(i=(o=a.success)==null?void 0:o.base)!=null?i:a.baseDark)!=null?b:"#000"),border:(p=(d=(m=a.success)==null?void 0:m.dark)!=null?d:a.baseDark)!=null?p:"#000"},danger:{bg:(u=(g=(k=a.danger)==null?void 0:k.base)!=null?g:a.baseDark)!=null?u:"#000",txtOn:n((D=(y=(f=a.danger)==null?void 0:f.base)!=null?y:a.baseDark)!=null?D:"#000"),border:(C=(S=(x=a.danger)==null?void 0:x.dark)!=null?S:a.baseDark)!=null?C:"#000"},warning:{bg:(I=(h=(O=a.warning)==null?void 0:O.base)!=null?h:a.baseDark)!=null?I:"#000",txtOn:n((w=(L=(v=a.warning)==null?void 0:v.base)!=null?L:a.baseDark)!=null?w:"#000"),border:(F=(T=(P=a.warning)==null?void 0:P.dark)!=null?T:a.baseDark)!=null?F:"#000"},information:{bg:(B=(z=(G=a.information)==null?void 0:G.base)!=null?z:a.baseDark)!=null?B:"#000",txtOn:n((A=(q=(j=a.information)==null?void 0:j.base)!=null?q:a.baseDark)!=null?A:"#000"),border:(J=(H=(E=a.information)==null?void 0:E.dark)!=null?H:a.baseDark)!=null?J:"#000"}},interface:{function:{primary:{normal:{bg:(N=(M=(K=a.primary)==null?void 0:K.base)!=null?M:a.baseDark)!=null?N:"#000",txtOn:n((U=(R=(Q=a.primary)==null?void 0:Q.base)!=null?R:a.baseDark)!=null?U:"#000")}},secondary:{normal:{bg:(X=(W=(V=a.secondary)==null?void 0:V.base)!=null?W:a.baseDark)!=null?X:"#000",txtOn:n((_=(Z=(Y=a.secondary)==null?void 0:Y.base)!=null?Z:a.baseDark)!=null?_:"#000")}},tertiary:{normal:{bg:(ea=(aa=($=a.tertiary)==null?void 0:$.base)!=null?aa:a.baseDark)!=null?ea:"#000",txtOn:n((sa=(na=(ra=a.tertiary)==null?void 0:ra.base)!=null?na:a.baseDark)!=null?sa:"#000")}}}},brand:{first:{default:{surface:(oa=(ia=(ta=a.main)==null?void 0:ta.base)!=null?ia:a.baseDark)!=null?oa:"#000",txtOn:n((ma=(ba=(ca=a.main)==null?void 0:ca.base)!=null?ba:a.baseDark)!=null?ma:"#000")}},second:{default:{surface:(ka=(pa=(da=a.opposite)==null?void 0:da.base)!=null?pa:a.baseDark)!=null?ka:"#000",txtOn:n((ua=(la=(ga=a.opposite)==null?void 0:ga.base)!=null?la:a.baseDark)!=null?ua:"#000")}},third:{default:{surface:(Da=(ya=(fa=a.complementary)==null?void 0:fa.base)!=null?ya:a.baseDark)!=null?Da:"#000",txtOn:n((Ca=(Sa=(xa=a.complementary)==null?void 0:xa.base)!=null?Sa:a.baseDark)!=null?Ca:"#000")}}},...Oa(a)},dimension:{spacing:{zero:e("zero"),micro:e("micro"),xs:e("xs"),small:e("small"),medium:e("medium"),large:e("large"),xl:e("xl"),xxl:e("xxl"),giant:e("giant")}}}}l(Ia,"createSemantic");export{Oa as a,Ia as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as S}from"./chunk-EYAGAJRL.esm.js";import{a as v}from"./chunk-UAXSZ3UE.esm.js";import{a as C}from"./chunk-WCJC5AG7.esm.js";import{a as y}from"./chunk-IZHCHFTU.esm.js";import{d as p}from"./chunk-RWLJNXLX.esm.js";import{b as g}from"./chunk-IK5Z5C2R.esm.js";import{e as B}from"./chunk-QXV2TDLZ.esm.js";import{b as x}from"./chunk-VCMHX5VK.esm.js";import{e as m}from"./chunk-3WXII2F3.esm.js";import{a as u}from"./chunk-EJ245MA7.esm.js";import{j as f}from"./chunk-REPFMEFA.esm.js";import{b as a,g as h}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import{forwardRef as A}from"react";function k(t="2px"){return a(["@media (forced-colors:active){&:focus-visible{outline:2px solid Highlight;outline-offset:",";}}"],t)}n(k,"forcedColorsFocusRestoreCss");var N=5,O=n(({size:t="medium",theme:o})=>{var e;let r=(e=o.component.button.size[t])!=null?e:o.component.button.size.medium;return[g({fontWeight:r.fontWeight,fontSize:r.fontSize,...r.textTransform!==void 0&&{textTransform:r.textTransform}}),x({py:r.py,px:r.px}),p({borderRadius:r.borderRadius})]},"buttonSize"),d=n((t,o)=>o==="neutral"?t.colors.quiet:t.colors[o],"buttonPalette"),I=n((t,o,r)=>d(t,o)[r],"stopOf"),l=n((t,o,r)=>u(t,e=>e.colors.getContrastColor(I(e,o,r))),"contrastInk"),s=n((t,o,r)=>{let e=u(t,i=>{var c;return f(I(i,o,r),(c=i.colors.baseLight)!=null?c:"#FFFFFF",N)});return r==="base"?m(e,"tx",o):e},"readableInk"),H=n((t,o)=>{let r=d(o,t);return a(["color:",";background:",";border-color:",";box-shadow:",";&:hover{color:",";background:",";border-color:",";box-shadow:",";}&:focus{color:",";background:",";border-color:",";&:hover{border-color:",";}}&:active{&,&:hover,&:focus{color:",";background:",";border-color:",";}}&:disabled{background:",";border-color:",";color:",";box-shadow:",";cursor:default;}"],l(o,t,"base"),r.base,r.base,e=>e.theme.depth("level-two"),l(o,t,"action"),r.action,r.action,e=>e.theme.depth("level-zero"),l(o,t,"action"),r.action,r.active,r.action,l(o,t,"active"),r.active,r.light,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color,e=>e.theme.depth("level-zero"))},"ButtonContained"),L=n((t,o)=>{let r=d(o,t);return a(["background:transparent;color:",";border-color:",";&:hover{color:",";background:",";border-color:",";}&:focus{color:",";background:",";border-color:",";box-shadow:",";&:hover{border-color:",";}}&:active{&,&:hover,&:focus{background-color:transparent;color:",";border-color:",";box-shadow:",";}}&:disabled{color:",";background:",";border-color:",";cursor:default;}"],s(o,t,"base"),r.base,l(o,t,"action"),r.action,r.action,l(o,t,"action"),r.action,r.active,e=>e.theme.depth("level-two"),r.action,r.dark,r.light,e=>e.theme.depth("level-two"),o.colors.disabled.color,o.colors.disabled.fill,o.colors.disabled.fill)},"ButtonOutlined"),M=n((t,o)=>{let r=d(o,t);return a(["background:transparent;color:",";border-color:transparent;border-radius:none;&:hover{color:",";text-decoration:underline;}&:focus{color:",";text-decoration:underline;}&:active{color:",";text-decoration:underline;}&:disabled{color:",";text-decoration:none;cursor:default;}"],s(o,t,"base"),s(o,t,"action"),s(o,t,"base"),s(o,t,"active"),o.colors.disabled.color)},"ButtonLinked"),_=n((t,o)=>a(["background:transparent;border-color:transparent;box-shadow:none;color:",";&:hover{background:",";color:",";text-decoration:none;}&:focus-visible{background:",";outline:2px solid ",";outline-offset:1px;}&:active{background:",";color:",";}&:disabled{background:transparent;color:",";cursor:default;}"],s(o,t,"base"),o.colors.wash.hover,s(o,t,"action"),o.colors.wash.hover,s(o,t,"base"),o.colors.wash.pressed,s(o,t,"active"),o.colors.disabled.color),"ButtonGhost"),j=n(({color:t,variant:o,theme:r})=>{let e;switch(o){case"outlined":e=L(t,r);break;case"linked":e=M(t,r);break;case"ghost":e=_(t,r);break;default:e=H(t,r)}return a(["&&{","}"],e)},"buttonVariant"),V=n(({fullWidth:t})=>({width:t?"100%":"fit-content"}),"isFullWidth"),q=a(["outline:0;"," cursor:pointer;transition:",";"," "," "," "," ",""],k("1px"),({theme:t})=>t.animation.transitions.short,p({borderWidth:"regular",borderStyle:"solid"}),B({gap:"xs",flexDirection:"row",alignItems:"center",justifyContent:"center"}),V,O,j),T=h(y).withConfig({componentId:"sc-12djmz6-0"})([""," ","{width:1em;height:1em;}"],q,C);import{jsx as b}from"react/jsx-runtime";var w=A(({children:t,text:o,isLoading:r,icon:e=null,iconPosition:i="left",color:c="primary",size:F="medium",variant:P="contained",fullWidth:R=!1,...z},W)=>b(T,{...z,color:c,size:F,variant:P,fullWidth:R,as:"button",ref:W,children:b(v,{loading:r,...i==="right"?{closer:e}:{opener:e},children:b(S,{fontWeight:"bold",lineHeight:"tight",fontFamily:"main",children:t||o})})}));w.displayName="Button";export{O as a,d as b,j as c,q as d,T as e,w as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-5PLSFFP6.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";var l=e(o).withConfig({componentId:"sc-atg43m-0"})(["display:",";"],({display:t})=>t==="inline-flex"?"inline-flex":"flex");export{l as a};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as s}from"./chunk-P3XOIBAC.esm.js";import{a as b}from"./chunk-IZHCHFTU.esm.js";import{a as h}from"./chunk-JWNC52FT.esm.js";import{c as a}from"./chunk-3PLVWHLK.esm.js";import{b as p}from"./chunk-AAZFRX52.esm.js";import{b as c,g as d}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var i=a("input").withConfig({componentId:"apollion-checkbox-input"})`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 0;
|
|
4
4
|
top: 0;
|
|
5
5
|
margin: 0;
|
|
6
6
|
opacity: 0;
|
|
7
7
|
cursor: pointer;
|
|
8
|
-
`,r=d(
|
|
8
|
+
`,r=d(b).attrs(o=>({alignItems:"center",justifyContent:"center",borderRadius:"micro",borderWidth:"thin",boderStyle:"solid",borderColor:"primary",deep:-1,mr:"small",...o})).withConfig({componentId:"sc-o1c91u-0"})(["width:20px;height:20px;flex-shrink:0;transition:",";"],({theme:o})=>o.animation.transitions.short);function m(o,t,l="primary"){var e;return t==="success"?o.colors.success:t==="error"?o.colors.danger:(e=o.colors[l])!=null?e:o.colors.primary}n(m,"resolveControlPalette");function x({variant:o,$color:t,theme:l}){let e=m(l,o,t);return c(["color:",";& > ","{border:1px solid ",";}&:hover > ","{border-color:",";box-shadow:",";}& > ",":focus-visible ~ ","{outline:2px solid ",";outline-offset:2px;}& > ",":checked ~ ","{border-color:",";background-color:",";box-shadow:",";}"],e.dark,r,e.dark,r,e.action,l.depth("level-zero"),i,r,e.base,i,r,e.base,e.base,l.depth("level-zero"))}n(x,"checkboxVariantStyle");function y({theme:o,disabled:t}){return t?c(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";box-shadow:none;& > ","{color:",";}}}"],o.colors.disabled.color,i,r,o.colors.disabled.fill,o.colors.disabled.fill,s,o.colors.disabled.color):null}n(y,"disabledStyle");var w=a("label").withConfig({componentId:"apollion-checkbox-container"})`
|
|
9
9
|
position: relative;
|
|
10
10
|
display: inline-flex;
|
|
11
11
|
flex-direction: row;
|
|
@@ -20,13 +20,13 @@ import{a as i}from"./chunk-OULN77LP.esm.js";import{a as m}from"./chunk-S2SVVZOG.
|
|
|
20
20
|
margin: ${({theme:o})=>o.spacing(0,"xs","xs",0)};
|
|
21
21
|
transition: ${({theme:o})=>o.animation.transitions.short};
|
|
22
22
|
|
|
23
|
-
& > ${
|
|
23
|
+
& > ${i} ~ ${r} > ${s} {
|
|
24
24
|
${p({color:"neutral.0"})}
|
|
25
25
|
opacity: 0;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Shows the check when the native input is :checked */
|
|
29
|
-
& > ${
|
|
29
|
+
& > ${i}:checked ~ ${r} > ${s} {
|
|
30
30
|
opacity: 1;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -36,4 +36,4 @@ import{a as i}from"./chunk-OULN77LP.esm.js";import{a as m}from"./chunk-S2SVVZOG.
|
|
|
36
36
|
/* Grid-item placement — native \`<label>\` root: the factory emits the CSS,
|
|
37
37
|
the System \`styled\` withholds the keys from the DOM. */
|
|
38
38
|
${h({})}
|
|
39
|
-
`;export{
|
|
39
|
+
`;export{i as a,r as b,m as c,w as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-GZONWSRB.esm.js";function a(){function g(n,r,e){}o(g,"executeLog");function c(n,...r){}o(c,"log");function i(n,...r){}o(i,"warn");function s(n,...r){}return o(s,"error"),{log:c,warn:i,error:s}}o(a,"createLogger");var l=a();export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-EYAGAJRL.esm.js";import{a as s}from"./chunk-IZHCHFTU.esm.js";import{a as l}from"./chunk-5PLSFFP6.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import{forwardRef as g}from"react";var h=n(l).withConfig({componentId:"sc-1ulk0ua-0"})(["display:flex;flex-shrink:0;margin:0;",""],({$orientation:i})=>i==="vertical"?"border-top-width: 0; border-right-width: 0; border-bottom-width: 0;":"border-right-width: 0; border-bottom-width: 0; border-left-width: 0;"),c=n(s).withConfig({componentId:"sc-1ulk0ua-1"})(["width:100%;"]);import{jsx as v,jsxs as u}from"react/jsx-runtime";var y=g(({orientation:i="horizontal",tone:D="hairline",color:t,thickness:w="thin",spacing:o="micro",label:e,...a},m)=>{let r=i==="vertical",x=t!=null?t:`edge.${D}`,d=f((b={})=>v(h,{as:r?"div":"hr",$orientation:i,role:r?"separator":void 0,"aria-orientation":r?"vertical":void 0,borderStyle:"solid",borderWidth:w,borderPosition:r?"left":"top",borderColor:x,...r?{alignSelf:"stretch",mx:o,minHeight:"1em"}:{width:"100%",my:o},...b}),"line");return e&&!r?u(c,{role:"separator","aria-label":typeof e=="string"?e:void 0,flexDirection:"row",alignItems:"center",gap:"small",my:o,...a,ref:m,children:[d({flex:"fluid",my:0}),typeof e=="string"?v(p,{fontSize:"micro",lineHeight:"tight",color:"ink.secondary",whiteSpace:"nowrap",children:e}):e,d({flex:"fluid",my:0})]}):d({...a,ref:m})});y.displayName="Divider";export{h as a,c as b,y as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as N}from"./chunk-BE2JDTVA.esm.js";import{b as h}from"./chunk-E2U6IFPB.esm.js";import{a as G}from"./chunk-EYAGAJRL.esm.js";import{a as s}from"./chunk-5PLSFFP6.esm.js";import{b as d}from"./chunk-G5Z7USXC.esm.js";import{b as w,g as a}from"./chunk-AXUWC2WH.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";var le=w(["--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),de=w(["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),D=a(s).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?de:le),$=a(s).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);"]),j=a(s).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;"]),A=a(s).withConfig({componentId:"sc-18639os-3"})(["height:var(--height);background-image:linear-gradient(to right,#e12712,#ffbb00,#2cb567);background-repeat:no-repeat;border-radius:calc(var(--height) / 2);position:absolute;width:100%;left:0;"]),H=a(s).withConfig({componentId:"sc-18639os-4"})(["height:var(--height);background-color:var(--railColor);background-repeat:no-repeat;position:absolute;right:0;"]),T=a(s).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);&: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),ue=w(["box-shadow:0px 0px 0px 9px #00000033 !important;& ","{opacity:1;}"],T),W=a(s).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 #00000033;","{opacity:1;}}",""],T,({active:e})=>e&&ue),_=a(s).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)"),q=a(s).withConfig({componentId:"sc-18639os-8"})(["position:absolute;margin-top:1rem;transform:translateX(-50%);white-space:nowrap;font-size:",";color:",";"],({theme:e})=>e.font.fontSize.micro,({theme:e})=>e.colors.ink.secondary);import pe,{useCallback as me,useEffect as he,useMemo as be,useRef as O,useState as ve}from"react";function z(e,t,r){return(e-t)*100/(r-t)}p(z,"valueToPercent");function J(e,t,r){return(r-t)*e+t}p(J,"percentToValue");function M(e,t,r){let m=Math.round((e-r)/t)*t+r;return Number(m.toFixed(t))}p(M,"roundValueToStep");function K(e){return e>=1?1:e<=0?0:e}p(K,"clamp");function R(e,t,r,m){return Number.isFinite(e)&&e>=r&&e<=t?m?M(e,m,r):e:Math.min(Math.max(r,e),t)}p(R,"normalizeValue");import{jsx as u,jsxs as Q}from"react/jsx-runtime";function U({gradient:e,disabled:t,getLabelValue:r,markLabel:m,onChange:b,value:k=50,max:c=100,min:n=0,step:l=1,mark:I,area:Y,alignSelf:Z,justifySelf:ee}){let[v,L]=ve(()=>R(k,c,n,l));he(()=>{L(o=>{let i=R(k,c,n,l);return i!==o?i:o})},[k,c,n,l]);let{active:oe,enable:V,disable:re}=N(),B=O(null),te=be(()=>{if(!(I===!0&&l))return[];let o=Math.floor((c-n)/l)+1;return!Number.isFinite(o)||o<=0||o>1e4?[]:[...Array(o)].map((i,E)=>{let x=n+l*E;return{value:x,...r&&m&&{label:r(x)}}})},[I,r,m,l,n,c]),P=O(0),y=me(o=>{let i=0;try{if(o.type==="touchmove"){let[S]=o.changedTouches;i=S==null?void 0:S.clientX}else i=o.clientX}catch(S){i=o.clientX}let{width:E,left:x}=B.current.getBoundingClientRect(),ce=K((i-x)/E),C=J(ce,n,c);C=M(C,l,n),L(C),b&&(clearTimeout(P.current),P.current=setTimeout(()=>{b(C)},100))},[n,c,l,b]),f=h(o=>{y(o)}),g=h(()=>{re(),d.document.removeEventListener("mousemove",f),d.document.removeEventListener("mouseup",g),d.document.removeEventListener("touchmove",f),d.document.removeEventListener("touchend",g)}),ne=h(o=>{o.preventDefault(),y(o),V(),d.document.addEventListener("mousemove",f,{passive:!1}),d.document.addEventListener("mouseup",g,{passive:!1})}),ie=h(o=>{o.stopPropagation(),y(o),V(),d.document.addEventListener("touchmove",f,{passive:!1}),d.document.addEventListener("touchend",g,{passive:!1})}),ae=r?r(v):String(v),F=`${z(v,n,c)}%`,se={width:F},X={left:F};return Q(D,{ref:B,onMouseDown:ne,onTouchStart:ie,disabled:t,area:Y,alignSelf:Z,justifySelf:ee,children:[u($,{}),e?u(A,{children:u(H,{style:X})}):u(j,{style:se}),te.map(o=>{let i={left:`${z(o.value,n,c)}%`};return Q(pe.Fragment,{children:[u(_,{active:o.value<=v,style:i}),o.label&&u(q,{style:i,children:o.label})]},o.value)}),u(W,{borderRadius:"circular",deep:1,active:oe,style:X,"data-testid":"input-range-thumb",children:!t&&u(T,{children:u(G,{children:ae})})})]})}p(U,"Slider");U.displayName="Slider";export{D as a,$ as b,j as c,A as d,H as e,T as f,W as g,_ as h,q as i,U as j};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as t}from"./chunk-
|
|
1
|
+
import{e as t}from"./chunk-EYAGAJRL.esm.js";import{b as c}from"./chunk-W4NSHFN4.esm.js";import{a as i}from"./chunk-IZHCHFTU.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import{forwardRef as L,useMemo as T}from"react";import{jsx as r,jsxs as a}from"react/jsx-runtime";var y=L(({title:m,contents:d,direction:p="row",itemProps:x,dividers:h=!1,gap:n,...u},w)=>{let l=T(()=>d.map(e=>{var o;return{...e,id:(o=e.id)!=null?o:c()}}),[d]),s=p==="row",g=f(e=>h&&e<l.length-1?{borderPosition:"bottom",borderWidth:"thin",borderColor:"edge.strong"}:void 0,"dividerProps");return a(i,{ref:w,flexDirection:"column",gap:"small",width:"100%",...u,children:[m&&r(t,{fontWeight:"bold",lineHeight:"regular",children:m}),r(i,{as:"dl",flexDirection:"column",gap:"micro",width:"100%",m:"zero",children:l.map(({id:e,key:o,value:D},b)=>a(i,{as:"div",width:"100%",flexDirection:s?"row":"column",justifyContent:s?"between":void 0,gap:n!=null?n:s?"medium":"micro",...g(b),...x,children:[r(t,{as:"dt",fontSize:"xs",lineHeight:"tight",color:"ink.primary",children:o}),r(t,{as:"dd",fontSize:"xs",lineHeight:"tight",children:D})]},e))})]})});y.displayName="DescriptionList";export{y as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,d as f}from"./chunk-
|
|
1
|
+
import{b as a,d as f}from"./chunk-QXV2TDLZ.esm.js";import{b as n}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var p=o(i=>s=>{let{area:e,alignSelf:r,justifySelf:t}={...i,...s},l=r&&a("alignSelf",r,f);return n([""," "," ",""],e?`grid-area: ${e};`:"",l?`align-self: ${l};`:"",t?`justify-self: ${t};`:"")},"PlacementFactory");var g=["area","alignSelf","justifySelf"];export{p as a,g as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b,b as i}from"./chunk-F7PA7OCV.esm.js";import{b as n}from"./chunk-
|
|
1
|
+
import{a as b,b as i}from"./chunk-F7PA7OCV.esm.js";import{b as n}from"./chunk-NGCCXGDN.esm.js";import{a as T}from"./chunk-CDRLVSLF.esm.js";import{e as a}from"./chunk-EYAGAJRL.esm.js";import{g as f}from"./chunk-AXUWC2WH.esm.js";import{a as m}from"./chunk-GZONWSRB.esm.js";import s from"react";var p=f.tfoot.withConfig({componentId:"sc-lefdns-0"})(["width:100%;& > ","{background-color:",";}"],b,({theme:l})=>l.colors.surface.sunken);import{jsx as e}from"react/jsx-runtime";var r=m(l=>{let{columnSum:o}=s.useContext(T),d=o.index!==void 0?e(i,{children:Array.from({length:o.index+1},(c,t)=>o.index===t?e(n,{children:e(a,{variant:"h6",children:o.sum})},t):o.index-1===t?e(n,{children:e(a,{variant:"h6",children:"Total:"})},t):e(n,{children:"\xA0"},t))}):l.children;return e(p,{isSum:o.index!==void 0,...l,children:d})},"TableFooterComponent");r.displayName="TableFooter";export{p as a,r as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as g}from"./chunk-
|
|
1
|
+
import{d as g}from"./chunk-LN65BGR5.esm.js";import{a as v}from"./chunk-7PHMFL32.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import b,{Children as L,useCallback as N,useMemo as A}from"react";function H(e){return Array(e).fill("min-content").join(" ")}o(H,"createSpace");function k(e){return e?H(e):"1fr"}o(k,"getGridColumns");function I(e){let l=e&&e.row?e.row:e,c=e&&e.column?e.column:e;return[l,c]}o(I,"getGridGap");import{jsx as j}from"react/jsx-runtime";import{createElement as P}from"react";var E=o(e=>{let{name:l,variant:c,gap:d="Compact",columns:s,value:t,inputs:p,children:F,onChange:m,type:u,area:f,alignSelf:C,justifySelf:h,...B}=e,w=A(()=>k(s),[s]),[x,R]=A(()=>I(d),[d]),y=N((r,n)=>a=>{if(!m||!l)return;let i=null;u==="radio"?i=n:r&&Array.isArray(t)?i=t.filter(T=>T!==n):i=[...t||[],n],m(i)},[l,t,m,u]);function G(r){return Array.isArray(t)?!!t.includes(r):r===t}o(G,"isInputChecked");function M(){let r=u==="radio"?g:v;return p.map(n=>{let a=G(n.value),i=u==="radio"?l:n.name;return P(r,{...n,key:n.value,variant:c,name:i,checked:a,onChange:y(a,n.value)})})}o(M,"renderInputs");function S(){return L.map(F,r=>{if(!b.isValidElement(r))return null;let n=r.props.value,a=G(n);return b.cloneElement(r,{onChange:y(a,n),checked:a})})}return o(S,"renderChildren"),j("div",{style:{display:"grid",gridRowGap:x,gridColumnGap:R,gridTemplateColumns:w,...f&&{gridArea:f},...C&&{alignSelf:C},...h&&{justifySelf:h}},children:p?M():S()})},"FieldGroupComponent");E.displayName="FieldGroup";export{E as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as me}from"./chunk-2FQC32AA.esm.js";import{a as fe}from"./chunk-BE2JDTVA.esm.js";import{a as de}from"./chunk-E2U6IFPB.esm.js";import{g as ue}from"./chunk-L7A7RA56.esm.js";import{a as ce}from"./chunk-EJ245MA7.esm.js";import{c as ie,e as K,g as ae,h as se,o as le}from"./chunk-6G22RNUO.esm.js";import{a as ne}from"./chunk-J6F4PMW4.esm.js";import{f as pe}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var Ce=le((e,s)=>{var i;let l=(i=s.component.inputSelect.size[e!=null?e:"medium"])!=null?i:s.component.inputSelect.size.medium;return{padding:s.spacing(l.py,l.px),fontSize:s.font.fontSize[l.fontSize],...l.lineHeight!==void 0&&{lineHeight:s.font.lineHeight[l.lineHeight]},borderRadius:s.border.borderRadius[l.borderRadius],height:l.height}});function ge(e,s,l={}){var y,O,N,$,G,A,W,D,d,b,h,w,P,f,V,x;let i=(y=e.colors.baseDark)!=null?y:"#000",L=(O=e.colors.neutral)!=null?O:{},{defaultBorderColor:u,dark:S}=(()=>{var r,o,a,p,m,k,C,v,E,z,M,H;switch(s){case"error":return{dark:(o=(r=e.colors.danger)==null?void 0:r.dark)!=null?o:i,defaultBorderColor:(p=(a=e.colors.danger)==null?void 0:a.base)!=null?p:i};case"success":return{dark:(k=(m=e.colors.success)==null?void 0:m.dark)!=null?k:i,defaultBorderColor:(v=(C=e.colors.success)==null?void 0:C.base)!=null?v:i};default:return{dark:(z=(E=e.colors.primary)==null?void 0:E.dark)!=null?z:i,defaultBorderColor:(H=(M=e.colors.edge)==null?void 0:M.border)!=null?H:i}}})(),c=($=(N=e.colors.ink)==null?void 0:N.muted)!=null?$:i,B=(A=(G=e.colors.wash)==null?void 0:G.hover)!=null?A:i,F=s==="error"?(D=(W=e.colors.danger)==null?void 0:W.base)!=null?D:i:s==="success"?(b=(d=e.colors.success)==null?void 0:d.base)!=null?b:i:(w=(h=e.colors.primary)==null?void 0:h.base)!=null?w:i,R=e.colors.disabled.color,I=e.colors.disabled.fill,Y=e.colors.muted,Z=(f=(P=e.colors.ink)==null?void 0:P.secondary)!=null?f:i,q=(x=(V=e.colors.ink)==null?void 0:V.secondary)!=null?x:i,J=e.spacing("small"),g=e.spacing("micro");return{container:t((r,o)=>({...r,width:o.selectProps.width,...l,fontFamily:e.font.fontFamily.main}),"container"),control:t((r,{isDisabled:o,selectProps:a})=>{var k,C,v;let p=o?"transparent":u,m=Ce(a.size,e);return{...r,...m,borderColor:p,borderWidth:1,minHeight:void 0,background:o?I:(v=(C=(k=e.colors.surface)==null?void 0:k.paper)!=null?C:e.colors.baseLight)!=null?v:"#fff",boxShadow:e.depth("level-one-minus"),"&:hover, &:focus":{boxShadow:"none",borderColor:p},"&:has(input:focus-visible)":{outline:`2px solid ${F}`,outlineOffset:2}}},"control"),valueContainer:t((r,{isMulti:o})=>{let a=o?`calc(${g} * -1) 0`:0;return{...r,margin:a,padding:0,lineHeight:1}},"valueContainer"),input:t(r=>{var o,a;return{...r,padding:0,margin:0,fontSize:e.font.fontSize.small,color:(a=(o=e.colors.ink)==null?void 0:o.primary)!=null?a:S}},"input"),singleValue:t(r=>{var o,a;return{...r,color:(a=(o=e.colors.ink)==null?void 0:o.primary)!=null?a:S}},"singleValue"),multiValue:t(r=>({...r,margin:g,fontSize:e.font.fontSize.micro,background:Y,"& svg":{color:q,strokeWidth:1},"& > div:first-of-type":{color:Z}}),"multiValue"),multiValueLabel:t(r=>({...r,padding:e.spacing(0,"micro"),lineHeight:e.font.lineHeight.regular}),"multiValueLabel"),multiValueRemove:t(r=>({...r,background:B,cursor:"pointer","&:hover":{background:I}}),"multiValueRemove"),placeholder:t((r,{isDisabled:o})=>({...r,color:o?R:S}),"placeholder"),indicatorsContainer:t((r,{isDisabled:o})=>({...r,lineHeight:1,display:"inline-flex",alignItems:"center",alignSelf:"center","& > div":{paddingTop:0,paddingBottom:0},"& svg":{color:o?R:c,fontSize:"inherit",width:"1em",height:"1em"}}),"indicatorsContainer"),indicatorSeparator:t((r,{isDisabled:o})=>({...r,margin:0,height:"1rem",alignSelf:"center",borderColor:o?R:c,backgroundColor:o?R:c}),"indicatorSeparator"),menu:t(r=>{var o,a;return{...r,backgroundColor:(a=(o=e.colors.surface)==null?void 0:o.overlay)!=null?a:e.colors.baseLight,borderRadius:8,overflow:"hidden",boxShadow:e.depth("level-three"),marginTop:g,padding:0,zIndex:ue(e).dropdown}},"menu"),menuList:t(r=>{var o,a,p,m;return{...r,borderRadius:8,border:`1px solid ${(a=(o=e.colors.edge)==null?void 0:o.hairline)!=null?a:e.colors.baseLight}`,padding:0,"& div:not(:first-of-type)":{borderTop:`1px solid ${(m=(p=e.colors.edge)==null?void 0:p.hairline)!=null?m:e.colors.baseLight}`}}},"menuList"),option:t((r,o)=>{var p,m,k,C,v,E,z,M;let a="transparent";return o.isSelected&&(a=(m=(p=e.colors.wash)==null?void 0:p.selected)!=null?m:a),o.isFocused&&(a=(C=(k=e.colors.wash)==null?void 0:k.hover)!=null?C:a),{...r,color:(E=(v=e.colors.ink)==null?void 0:v.primary)!=null?E:i,backgroundColor:a,cursor:"pointer",textAlign:"left",padding:J,lineHeight:"1.2rem","&:active":{color:ce(e,H=>{var U,ee,re,oe,te;return(te=(oe=(re=H.colors).getContrastColor)==null?void 0:oe.call(re,(ee=(U=H.colors.primary)==null?void 0:U.base)!=null?ee:"#000"))!=null?te:i}),backgroundColor:(M=(z=e.colors.primary)==null?void 0:z.base)!=null?M:i}}},"option"),clearIndicator:t(r=>({...r,cursor:"pointer"}),"clearIndicator"),dropdownIndicator:t(r=>({...r,cursor:"pointer",paddingRight:0}),"dropdownIndicator")}}t(ge,"createComponentStyle");import{forwardRef as we,useImperativeHandle as xe,useMemo as Re,useState as Ie}from"react";import ye,{components as Q}from"react-select";import X from"react-select/async";var _=ye;import{jsx as n,jsxs as T}from"react/jsx-runtime";function be(e){return n(Q.DropdownIndicator,{...e,children:n("div",{style:{width:24},children:T("svg",{xmlns:"http://www.w3.org/2000/svg",style:{margin:"auto",background:"0 0"},viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",display:"block",children:[n("defs",{}),n("g",{transform:"translate(80 50)",children:T("circle",{r:"6",fill:"#9bb6c0",transform:"scale(1.37926)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.875s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.875s"})]})}),n("g",{transform:"rotate(45 -50 122)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".9",transform:"scale(1.44176)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.75s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.75s"})]})}),n("g",{transform:"rotate(90 -15 65)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".8",transform:"scale(1.00426)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.625s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.625s"})]})}),n("g",{transform:"rotate(135 0 42)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".6",transform:"scale(1.06676)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.5s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.5s"})]})}),n("g",{transform:"rotate(180 10 25)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".5",transform:"scale(1.12926)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.375s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.375s"})]})}),n("g",{transform:"rotate(-135 20 8)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".4",transform:"scale(1.19176)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.25s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.25s"})]})}),n("g",{transform:"rotate(-90 35 -15)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".3",transform:"scale(1.25426)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"-0.125s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"-0.125s"})]})}),n("g",{transform:"rotate(-45 70 -72)",children:T("circle",{r:"6",fill:"#9bb6c0",fillOpacity:".1",transform:"scale(1.31676)",children:[n("animateTransform",{attributeName:"transform",type:"scale",begin:"0s",values:"1.5 1.5;1 1",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite"}),n("animate",{attributeName:"fill-opacity",keyTimes:"0;1",dur:"1s",repeatCount:"indefinite",values:"1;0",begin:"0s"})]})})]})})})}t(be,"DropdownIndicator");import{useCallback as ve,useRef as Oe}from"react";function j(e,s){if(!(!e||se(s))){if(K(e))return e;if(ae(e))return s.find(l=>l.value===e);if(Array.isArray(e)){if(e.every(l=>typeof l=="string"))return s.filter(l=>e.includes(l.value));if(e.every(K))return e}}}t(j,"getDefaultValue");function Te(e){let s=Oe(e),{active:l,disable:i,enable:L}=fe();de(()=>{s.current=e});let u=ve(async S=>{try{L();let c=await s.current(S);if(Array.isArray(c))return c;throw new Error('"LoadOptions" prop did not return the expected result')}catch(c){ne.error(c==null?void 0:c.message)}finally{i()}},[L,i]);return[l,u]}t(Te,"useLoadOptions");import{jsx as Se}from"react/jsx-runtime";function he(e,s){let{loadingPlaceholder:l="Carregando (aguarde)...",emptyMessage:i="Sem Op\xE7\xF5es",isLoading:L,onChange:u,loadOptions:S,onItemSelect:c,variant:B,style:F,readOnly:R,value:I,hideSelectedOptions:Y=!1,menuPlacement:Z="bottom",placeholder:q="Selecione...",size:J="medium",...g}=e,[y,O]=Ie(()=>{let{options:d,defaultValue:b}=g;return j(b||I,d)}),N=t(d=>{O(d||[]);let b=ie(d);if(u&&u(d?b:[]),g.isMulti&&c){let h=Array.isArray(y)&&y.length,w=b.length,P=t(()=>{let f=y||[];u&&u(f),O(f)},"cancelAction");if(w===0)y.forEach(f=>{c({option:f,type:"REMOVE",cancelAction:t(()=>O(V=>{let x=[...V,f];return u&&u(x),x}),"cancelAction")})});else if(w>h)c({option:b[w-1],type:"ADD",cancelAction:P});else if(w<h){let f=y.find(V=>!b.some(x=>x.value===V.value));c({option:f,type:"REMOVE",cancelAction:P})}}},"onChangeValue");me(()=>{O(I||[])},[I]),xe(s,()=>({setValue:t(d=>{N(j(d,g.options))},"setValue")}));let[$,G]=Te(S),A=pe(),W=Re(()=>ge(A,B,F),[A,B,F]),D={ref:s,...g,size:J,hideSelectedOptions:Y,menuPlacement:Z,placeholder:q,...(L||$)&&{components:{DropdownIndicator:be,LoadingIndicator:null},placeholder:l,isDisabled:!0},closeMenuOnSelect:!g.isMulti,styles:W,value:y,noOptionsMessage:t(()=>i,"noOptionsMessage"),onChange:N,...R&&{isClearable:!1,isSearchable:!1,openMenuOnClick:!1,menuIsOpen:!1}};return S?Se(X,{...D,cacheOptions:!0,defaultOptions:!0,loadOptions:G}):Se(_,{...D})}t(he,"InputSelectComponent");var ke=we(he);ke.displayName="InputSelect";export{ge as a,ke as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as S,c as H,d as k,e as O,f as D,h as K,i as A,j as C,k as z,m as _,n as j,o as B}from"./chunk-3437GMP7.esm.js";import{b as c,c as N,d as U,e as Z,f as q}from"./chunk-XKACWIWC.esm.js";import{h as L}from"./chunk-4KW43QHY.esm.js";import{b as R}from"./chunk-P3XOIBAC.esm.js";import{n as x}from"./chunk-DAT6GD4T.esm.js";import{g as T}from"./chunk-L7A7RA56.esm.js";import{a as F}from"./chunk-52O36B6T.esm.js";import{f as P}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{forwardRef as ae,useMemo as m,useState as J}from"react";function G(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(G,"buildSyntheticEvent");import{Fragment as ue,jsx as a,jsxs as de}from"react/jsx-runtime";var se="yyyy-MM-dd";function pe(e){if(!e)return;let n=U(e);return N(n)?n:void 0}t(pe,"toDate");function le(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(le,"resolveDisabled");var Q=ae(({value:e,onChange:n,onValueChange:i,locale:o=Z,minDate:s,maxDate:p,disabledDates:h,displayFormat:y="dd/MM/yyyy",name:g,placeholder:W,disabled:M,readOnly:I,...X},u)=>{let[f,v]=J(!1),Y=P(),l=m(()=>pe(e),[e]),$=m(()=>l?c(l,y,{locale:o}):"",[l,y,o]),V=m(()=>le(h,s,p),[h,s,p]),[E,ee]=J(null),b=B(E,f),{floatingStyles:te,context:d,refs:ne}=z({open:f,onOpenChange:v,strategy:b.strategy,elements:{reference:E},placement:"bottom-start",middleware:[D(4),H(),K({padding:8})],whileElementsMounted:S}),{getReferenceProps:oe,getFloatingProps:re}=_([A(d,{enabled:!M&&!I}),C(d,{outsidePress:!0,escapeKey:!0}),j(d,{role:"dialog"})]),ie=t(r=>{if(!r)return;let w=c(r,se);i==null||i(w),n==null||n(G(g,w)),v(!1)},"handleSelect");return de(ue,{children:[a(L,{...X,ref:r=>{typeof u=="function"?u(r):u&&(u.current=r),ee(r)},type:"text",role:"combobox",disabled:M,readOnly:I,name:g,placeholder:W,value:$,onChange:t(r=>{},"handleInputChange"),inputMode:"none",autoComplete:"off",icon:a(R,{icon:x}),iconPosition:"right",...oe({onKeyDown:t(r=>{r.key.length===1&&r.key!==" "&&r.preventDefault()},"handleKeyDown")})}),f&&a(O,{root:b.root,children:a(k,{context:d,modal:!1,initialFocus:-1,children:a("div",{ref:ne.setFloating,style:{...te,zIndex:T(Y).dropdown},...re(),children:a(F,{p:"xs",borderRadius:"xs",deep:3,children:a(q,{mode:"single",selected:l,onSelect:ie,locale:o,defaultMonth:l,disabled:V,captionLayout:"dropdown",startMonth:s!=null?s:new Date(1970,0,1),endMonth:p!=null?p:new Date(2100,11,31)})})})})})]})});Q.displayName="InputDate";export{Q as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s}from"./chunk-F3SAEVZJ.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var u=["cq"],m=["xs","sm","md","lg","xl"],C=i(p=>a=>{let{theme:r,...c}={...p,...a},{cq:e}=c;if(!e)return{};let o={};return m.forEach(t=>{let n=e[t];n&&(o[r.containerSizes.up(t)]=s(n,r))}),o},"ContainerQueryFactory");export{u as a,C as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-GZONWSRB.esm.js";var p={unit:"px",values:{xs:240,sm:360,md:480,lg:640,xl:900}},u={pageMaxWidth:1366},s=t(e=>{let{values:n,unit:a}=e;return{unit:a,values:n,up:t(o=>`@container (min-width: ${n[o]}${a})`,"up"),width:t(o=>n[o],"width")}},"createContainerSizes"),x=t(e=>({...e}),"createLayout"),r={sticky:10,dropdown:500,toast:1e3,modal:9999},I=t(e=>({...e}),"createZIndex"),i=I(r),c=t(e=>{var n;return(n=e.zIndex)!=null?n:i},"themeZIndex");export{p as a,u as b,s as c,x as d,r as e,I as f,c as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as y}from"./chunk-IZHCHFTU.esm.js";import{a as h}from"./chunk-EJ245MA7.esm.js";import{k as b}from"./chunk-REPFMEFA.esm.js";import{b as s,g as c}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import{forwardRef as S,useRef as v}from"react";var g=c(y).withConfig({componentId:"sc-rp85te-0"})(["padding:",";border-radius:",";background:",";"],({theme:e})=>e.spacing("micro"),({theme:e})=>e.border.borderRadius.md,({theme:e})=>e.colors.surface.sunken),I={small:s(["min-height:1.75rem;padding:0 ",";font-size:",";"],({theme:e})=>e.spacing("small"),({theme:e})=>e.font.fontSize.xs),medium:s(["min-height:2.25rem;padding:0 ",";font-size:",";"],({theme:e})=>e.spacing("medium"),({theme:e})=>e.font.fontSize.small)},k=c.button.withConfig({componentId:"sc-rp85te-1"})(["appearance:none;border:0;margin:0;background:transparent;cursor:pointer;font-family:",";font-weight:",";line-height:",";color:",";border-radius:",";transition:",";display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:",";",";&:hover:not([aria-checked='true']):not(:disabled){background:",";}&[aria-checked='true']{background:",";box-shadow:",";color:",";}&:focus-visible{outline:2px solid ",";outline-offset:1px;}&:disabled{cursor:not-allowed;color:",";}"],({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.fontWeight.bold,({theme:e})=>e.font.lineHeight.tight,({theme:e})=>e.colors.ink.secondary,({theme:e})=>e.border.borderRadius.sm,({theme:e})=>e.animation.transitions.short,({$fullWidth:e})=>e?"1 1 0":"0 0 auto",({$size:e})=>I[e],({theme:e})=>e.colors.wash.hover,({theme:e})=>e.colors.surface.raised,({theme:e})=>e.depth("level-one"),({theme:e})=>e.colors.ink.primary,({theme:e})=>h(e,i=>b(i.colors.primary,"base")),({theme:e})=>e.colors.ink.disabled);import{jsx as w}from"react/jsx-runtime";var x=S(({options:e,value:i,onChange:O,size:R="medium",label:D,fullWidth:d=!0,...C},a)=>{let f=v(null),m=l(r=>{var o,t;let n=e[r];!n||n.disabled||n.value===i||(O(n.value),(t=(o=f.current)==null?void 0:o.querySelectorAll('[role="radio"]')[r])==null||t.focus())},"pick"),u=l((r,n)=>{let o=e.length,t=r;for(let p=0;p<o;p+=1)if(t=(t+n+o)%o,!e[t].disabled)return t;return r},"step");return w(g,{flexDirection:"row",alignItems:"stretch",gap:"micro",width:d?"100%":void 0,role:"radiogroup","aria-label":D,onKeyDown:l(r=>{let n=e.findIndex(t=>t.value===i),o=null;r.key==="ArrowRight"||r.key==="ArrowDown"?o=u(n,1):r.key==="ArrowLeft"||r.key==="ArrowUp"?o=u(n,-1):r.key==="Home"?o=e.findIndex(t=>!t.disabled):r.key==="End"&&(o=e.length-1-[...e].reverse().findIndex(t=>!t.disabled)),!(o===null||o<0)&&(r.preventDefault(),m(o))},"handleKeyDown"),...C,ref:l(r=>{f.current=r,typeof a=="function"?a(r):a&&(a.current=r)},"setRefs"),children:e.map((r,n)=>{let o=r.value===i;return w(k,{type:"button",role:"radio","aria-checked":o,tabIndex:o?0:-1,disabled:r.disabled,$size:R,$fullWidth:d,onClick:()=>m(n),children:r.label},r.value)})})});x.displayName="Option";export{g as a,k as b,x as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as h}from"./chunk-TG5BCBO4.esm.js";import{e as F,f as S}from"./chunk-WB5XXCKL.esm.js";import{a as u}from"./chunk-J6F4PMW4.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";function R(e,...r){var t;return((t=e.font.sizing)!=null?t:e.spacing)(...r)}o(R,"typeSizing");var d=16,z=.25,W=10;function p(e){return Number(e.toFixed(4))}o(p,"clean");var _={light:{light:300,regular:300,bold:400,stronger:600},regular:{light:300,regular:400,bold:600,stronger:900},stronger:{light:400,regular:600,bold:700,stronger:900}},K={fontFamily:{main:"'Mulish', sans-serif;",code:"Consolas, monospace, serif"},fontSize:{nano:10,micro:12,xs:14,small:16,medium:20,large:24,xl:28,xxl:36,giant:44,colossal:52,gargantua:60},fontWeight:{light:300,regular:400,bold:600,stronger:900},lineHeight:{tight:1,close:1.2,regular:1.4,wild:1.8},letterSpacing:{tight:"-0.045em",regular:0,wild:"0.05em"},textTransform:{uppercase:"uppercase",lowercase:"lowercase",captalyze:"capitalize",normal:"none"},fontStyle:{italic:"italic",normal:"normal"}},T=!1;function L({fontSize:e,...r},t,c){let a;typeof t=="string"||c!==void 0?(T||(T=!0,u.warn("createFont(input, dimension, typeWeight) is deprecated: `dimension` no longer scales type (ADR-030). Use createFont(input, { textSize, typeWeight }).")),a={typeWeight:c}):a=t!=null?t:{};let{textSize:g=F,typeWeight:s,alias:I=h.alias}=a,f=S(g),x=s?_[s]:r.fontWeight,m={},l={};for(let n of Object.keys(e)){let i=p(Math.max(e[n]*f,Math.min(e[n],W)));l[n]=i,m[n]=`${p(i/d)}rem`}let y=z*f;return{...r,fontWeight:x,fontSize:m,fontSizePx:l,textSize:g,sizing:o((...n)=>n.map(i=>`${p(y*(typeof i=="string"?I[i]:i))}rem`).join(" "),"sizing")}}o(L,"createFont");export{R as a,W as b,_ as c,K as d,L as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as e}from"./chunk-
|
|
1
|
+
import{f as e}from"./chunk-REPFMEFA.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 f}from"./chunk-J4VMAQM3.esm.js";import{a as s}from"./chunk-EYAGAJRL.esm.js";import{a as p}from"./chunk-5PLSFFP6.esm.js";import{b as d,g as n}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";var i=n.input.withConfig({componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);i.displayName="input";var r=n(p).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"primary",deep:-1,...o})).withConfig({componentId:"sc-truao3-1"})(["--size:20px;--checked-size:calc(var(--size) * 0.5);width:var(--size);height:var(--size);flex-shrink:0;&::before{content:'';border-radius:50%;display:inline-block;width:var(--checked-size);height:var(--checked-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;}"]);function S({variant:o,$color:t,theme:a}){let e=f(a,o,t);return d(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ","{border-color:",";}& > ",":focus-visible ~ ","{outline:2px solid ",";outline-offset:2px;}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],e.dark,r,e.dark,e.base,r,e.action,i,r,e.base,i,r,e.base,a.depth("level-zero"))}l(S,"inputVariantStyle");function C(o){return d(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";&::before{background:",";}}}"],o.colors.disabled.color,i,r,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color)}l(C,"getDisabledStyle");var m=n(s).withConfig({componentId:"sc-truao3-2"})(["cursor:pointer;position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:",";margin:",";"," "," & ",":checked ~ ","::before{opacity:1;}"],({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing(0,"xs","xs",0),S,({theme:o,disabled:t})=>t&&C(o),i,r);import{jsx as c,jsxs as k}from"react/jsx-runtime";var b=l(({id:o,disabled:t,label:a=null,labelProps:e,variant:u="default",color:y,area:x,alignSelf:g,justifySelf:h,...R})=>k(m,{as:"label",htmlFor:o,variant:u,$color:y,disabled:t,area:x,alignSelf:g,justifySelf:h,children:[c(i,{...R,type:"radio",id:o,disabled:t}),c(r,{}),typeof a=="string"?c(s,{fontSize:"small",color:"ink.primary",...e,children:a}):a]}),"RadioComponent");b.displayName="Radio";export{i as a,r as b,m as c,b as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k}from"./chunk-43YSWDK6.esm.js";import{
|
|
1
|
+
import{a as k}from"./chunk-43YSWDK6.esm.js";import{h as f}from"./chunk-4KW43QHY.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{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-2BWCWW2Q.esm.js";import{e as t}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import a from"react";import{jsx as p}from"react/jsx-runtime";var m=o(({surface:r="positive",children:f})=>{let c=a.useCallback(i=>e(i,r),[r]);return p(t,{theme:c,children:f})},"SurfaceProvider");export{m as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-EYAGAJRL.esm.js";import{a as f}from"./chunk-5PLSFFP6.esm.js";import{g as n}from"./chunk-AXUWC2WH.esm.js";import{forwardRef as I}from"react";var m=n(f).withConfig({componentId:"sc-1x3so2v-0"})(["display:inline-flex;font-family:",";& > svg,& > [class*='icon']{flex-shrink:0;}"],({theme:e})=>e.font.fontFamily.main);import{jsx as T,jsxs as y}from"react/jsx-runtime";var a=I(({icon:e,text:s,children:t,iconPosition:o="left",align:x="center",gap:p="xs",as:c="span",...i},l)=>y(m,{as:c,flexDirection:"row",alignItems:x,gap:p,...i,ref:l,children:[o==="left"&&e,T(r,{as:"span",children:t!=null?t:s}),o==="right"&&e]}));a.displayName="IconText";export{m as a,a as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as F}from"./chunk-
|
|
1
|
+
import{l as F}from"./chunk-VJ5GIFXO.esm.js";import{F as p,G as D,H as L,I as x,J as B,g as y,j as l,k as C,l as h,t as b,u as I,w as k}from"./chunk-REPFMEFA.esm.js";import{n as d,o as f}from"./chunk-6G22RNUO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a={baseDark:"#0b0b0b",baseLight:"#f9f9f7",transparent:"transparent",deepDark:"#000",deepLight:"#FFF",main:"#003750",opposite:y("#003750"),complementary:"#F6BA20",information:"#3399FF",success:"#2CB567",danger:"#E12712",warning:"#FFBB00",primary:"#32AFDC",secondary:"#2D81AA",tertiary:"#2CE571"},A=/^(#|rgba?\(|hsla?\(|oklch\(|oklab\(|color\(|var\(--|currentColor$|transparent$|inherit$)/;function S(e){let r={baseDark:e.baseDark,baseLight:e.baseLight,deepDark:e.deepDark,deepLight:e.deepLight,transparent:e.transparent,neutral:D(e),grayscale:p(e),...L(e),...x(e),...B(e)},t={...r,...I(r),disabled:b(r),quiet:k(r,e),...F(r,e.ladder)},s=f(d);return Object.assign(o=>A.test(o)?o:s(o,t,"base"),t,{getColor:C,getContrastColor:h})}n(S,"createColors");function E(e=a){let r=p(e);return{...e,main:r[100],opposite:r[10],complementary:r[20],primary:r[60],secondary:r[40],tertiary:r[30],information:r[50],success:r[70],warning:r[80],danger:r[90]}}n(E,"grayscalePalette");function T(e=a){var s;let r=(s=e.baseLight)!=null?s:a.baseLight,t=n(o=>o&&(typeof o=="string"?l(o,r,7):{...o,base:l(o.base,r,7)}),"aaa");return{...e,main:t(e.main),opposite:t(e.opposite),complementary:t(e.complementary),primary:t(e.primary),secondary:t(e.secondary),tertiary:t(e.tertiary),information:t(e.information),success:t(e.success),warning:t(e.warning),danger:t(e.danger)}}n(T,"highContrastPalette");var i={orange:"#E69F00",skyBlue:"#56B4E9",bluishGreen:"#009E73",vermillion:"#D55E00",blue:"#0072B2"};function v(e=a){return{...e,main:e.main,danger:i.vermillion,success:i.bluishGreen,warning:i.orange,primary:i.skyBlue,information:i.blue,secondary:i.blue}}n(v,"colorblindPalette");function M(e=a){var c,m,u,g;let r=(c=e.baseDark)!=null?c:a.baseDark,t=(m=e.baseLight)!=null?m:a.baseLight,s=(u=e.deepDark)!=null?u:a.deepDark,o=(g=e.deepLight)!=null?g:a.deepLight;return{...e,baseDark:t,baseLight:r,deepDark:o,deepLight:s}}n(M,"toDarkColors");var _={grayscale:E,"high-contrast":T,colorblind:v};export{a,S as b,E as c,T as d,i as e,v as f,M as g,_ as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-XSULIEOF.esm.js";import{a as h}from"./chunk-CDRLVSLF.esm.js";import{a as b}from"./chunk-XQJ4DROM.esm.js";import{e as T}from"./chunk-EYAGAJRL.esm.js";import{a as C}from"./chunk-IZHCHFTU.esm.js";import{b as d}from"./chunk-IK5Z5C2R.esm.js";import{b as c}from"./chunk-ODL5JUYM.esm.js";import{g as u}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import n,{useEffect as F}from"react";var y=u.td.withConfig({componentId:"sc-1t8iq38-0"})(["",";",";",";"],b,c,d({fontFamily:"main"}));import{jsx as r}from"react/jsx-runtime";var l=o(e=>{let{ellipsis:i}=n.useContext(h),[m,x]=n.useState(null),f=n.useRef(null);function S(){return m===null?e.children:i&&m?r(p,{content:e.children,children:e.children}):e.children==="string"?r(T,{color:"baseDark",children:e.children}):e.children}return o(S,"getCustomChild"),F(()=>{let t=f.current;if(!t)return;let a=o(()=>x(t.offsetWidth<t.scrollWidth),"measure");if(a(),typeof ResizeObserver=="undefined")return;let s=new ResizeObserver(a);return s.observe(t),()=>s.disconnect()},[e.children,i]),r(y,{ref:f,...e,children:r(C,{children:S()})})},"TableCellComponent");l.displayName="TableCell";export{y as a,l as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as i}from"./chunk-
|
|
1
|
+
import{h as i}from"./chunk-3WXII2F3.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 x,c as b}from"./chunk-
|
|
1
|
+
import{a as x,c as b}from"./chunk-4MZWYLJH.esm.js";import{a as h}from"./chunk-IZHCHFTU.esm.js";import{a as l}from"./chunk-5PLSFFP6.esm.js";import{g as t}from"./chunk-AXUWC2WH.esm.js";import{a as M}from"./chunk-GZONWSRB.esm.js";import{forwardRef as v}from"react";var u=t(h).withConfig({componentId:"sc-10ipxtd-0"})([""," width:100%;"],b),s=t(x).withConfig({componentId:"sc-10ipxtd-1"})(["margin-bottom:0;"]),y=t(l).withConfig({componentId:"sc-10ipxtd-2"})(["position:absolute;top:0;bottom:0;background:var(--bg-progress);"]),g=t(l).withConfig({componentId:"sc-10ipxtd-3"})(["position:absolute;top:0;bottom:0;width:2px;background:var(--text-color);"]);import{jsx as d,jsxs as R}from"react/jsx-runtime";var P=v(({label:w,min:r=0,max:i=100,value:n,segments:e,ticks:p,color:C="primary",size:T="medium",border:$,...S},I)=>{let f=i-r,a=M(o=>f>0?Math.min(100,Math.max(0,(o-r)/f*100)):0,"pct"),m=n!=null,k=e!=null&&e.length?e:m?[{from:r,to:n}]:[];return d(u,{color:C,role:m?"meter":"img","aria-label":w,...m&&{"aria-valuemin":r,"aria-valuemax":i,"aria-valuenow":Math.min(i,Math.max(r,n))},...S,ref:I,children:R(s,{size:T,border:$,children:[k.map((o,c)=>d(y,{"aria-hidden":"true",style:{left:`${a(o.from)}%`,width:`${Math.max(a(o.to)-a(o.from),0)}%`,...o.color&&{background:o.color}}},`${o.from}-${o.to}-${c}`)),p==null?void 0:p.map((o,c)=>d(g,{"aria-hidden":"true",style:{left:`calc(${a(o.at)}% - 1px)`,...o.color&&{background:o.color}}},`${o.at}-${c}`))]})})});P.displayName="Meter";export{P as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as p}from"./chunk-
|
|
1
|
+
import{h as p}from"./chunk-3WXII2F3.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var g=["bgColor"],y=a(o=>({theme:c,...t})=>{let n={...o,...t},{bgColor:r}=typeof o=="function"?o(n):n;return r&&{backgroundColor:c.colors(r),...p(c,r)}},"BackgroundFactory");export{g as a,y as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as g}from"./chunk-EYAGAJRL.esm.js";import{a as y}from"./chunk-IZHCHFTU.esm.js";import{a as L}from"./chunk-EJ245MA7.esm.js";import{j as F}from"./chunk-REPFMEFA.esm.js";import{i as O}from"./chunk-6G22RNUO.esm.js";import{g as f}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var G=n(({theme:o,disabled:S,variant:a})=>{let e=o.colors.ink.primary,s=o.colors.ink.secondary;if(a!=="default"){let x=a==="success"?"success":"danger",l=n(c=>L(o,r=>{var d,m;return F(F((m=(d=r.colors[x])==null?void 0:d[c])!=null?m:r.colors.ink.primary,r.colors.surface.canvas),r.colors.surface.paper)}),"ink");e=l("dark"),s=l("base")}return S&&(e=o.colors.ink.disabled),{"--color-label":e,"--color-hint":s}},"getFieldColor"),j=f(y).withConfig({componentId:"sc-1iiu1tt-0"})(["width:100%;justify-content:center;",";"],G),u=f(g).withConfig({componentId:"sc-1iiu1tt-1"})(["color:var(--color-label);"]),z=f(g).withConfig({componentId:"sc-1iiu1tt-2"})(["color:var(--color-label);"]),E=f(g).withConfig({componentId:"sc-1iiu1tt-3"})(["color:var(--color-hint);min-height:","em;"],({theme:o})=>o.font.lineHeight.tight);import{jsx as h,jsxs as R}from"react/jsx-runtime";var V=n(({name:o,value:S,label:a,inputProps:e,hintText:s,variant:x,setFieldValue:l,readOnly:c,readOnlyText:r="apenas leitura",hintErrorText:d="Something went wrong",hintSuccessText:m="Everything is alright",...t})=>{var I;let D=t.component,T=!!t.errors||t.error,w=!!t.success,C=(I=e==null?void 0:e.readOnly)!=null?I:c,B=n(i=>{if(!c&&(e!=null&&e.onChange&&e.onChange(i),l)){let b=i;O(i)&&(b=i.target.type==="checkbox"||i.target.type==="radio"?i.target.checked:i.target.value),l(o,b)}},"onChange"),M=n(()=>{if(c)return;if(typeof(e==null?void 0:e.reset)=="function"){e.reset();return}let i=e==null?void 0:e.type;l&&l(o,i==="checkbox"||i==="radio"?!1:"")},"resetField"),N=typeof t.errors=="string"?t.errors:d,k=T&&N||w&&m||s,v=x||T&&"error"||w&&"success"||"default",W=!a||t.hideLabel,q=C||t.optionalText,A=C?r:t.optionalText,H=e&&e.disabled;return R(j,{area:t.area,alignSelf:t.alignSelf,justifySelf:t.justifySelf,variant:v,disabled:H,gap:"micro",...t.fieldProps,children:[R(y,{flexDirection:"row",justifyContent:"between",isHidden:W,children:[h(u,{as:"label",htmlFor:o,fontSize:"xs",fontWeight:"bold",lineHeight:"regular",children:a}),q&&h(z,{fontStyle:"italic",lineHeight:"tight",fontSize:"micro",children:A})]}),h(D,{...e,id:o,name:o,value:S,variant:v,readOnly:C,onChange:B,reset:M}),h(E,{lineHeight:"tight",fontSize:"micro",isHidden:H||!k,children:k})]})},"FieldComponent");V.displayName="Field";export{V as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as T}from"./chunk-E2U6IFPB.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import{useEffect as y,useRef as L}from"react";var h=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function k(f,{active:a,onEscape:i}){let n=L(i);T(()=>{n.current=i}),y(()=>{var d,m;if(!a)return;let t=document.activeElement,o=f.current,u=s(()=>o?Array.from(o.querySelectorAll(h)).filter(e=>e.offsetParent!==null):[],"getFocusable");(m=(d=u()[0])!=null?d:o)==null||m.focus();let l=s(e=>{var E;if(e.key==="Escape"){e.stopPropagation(),(E=n.current)==null||E.call(n);return}if(e.key!=="Tab")return;let r=u();if(!r.length){e.preventDefault();return}let b=r[0],p=r[r.length-1],c=document.activeElement;e.shiftKey&&(c===b||c===o)?(e.preventDefault(),p.focus()):!e.shiftKey&&c===p&&(e.preventDefault(),b.focus())},"onKeyDown");return document.addEventListener("keydown",l),()=>{var e;document.removeEventListener("keydown",l),(e=t==null?void 0:t.focus)==null||e.call(t)}},[a,f])}s(k,"useFocusTrap");export{k as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as C}from"./chunk-WDGATQZG.esm.js";import{e as a}from"./chunk-VFM3QFOU.esm.js";import{a as u}from"./chunk-LCCVFIPZ.esm.js";import{a as R}from"./chunk-5PLSFFP6.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{a as m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-XSULIEOF.esm.js";import{e as r}from"./chunk-EYAGAJRL.esm.js";import{a as i}from"./chunk-IZHCHFTU.esm.js";import{a as o}from"./chunk-5PLSFFP6.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a=p(o).withConfig({componentId:"sc-qi04g0-0"})(["display:flex;flex-direction:column;"]);import{jsx as t,jsxs as l}from"react/jsx-runtime";var d=n(({children:c,icon:f,title:x,description:s,...e})=>{let v=e.inverted?"ink.primary":"surface.paper";return t(m,{content:t(o,{p:"xs",children:l(a,{gap:"medium",maxWidth:400,color:v,children:[l(i,{flexDirection:"row",alignItems:"center",gap:"medium",children:[f,t(r,{variant:"h4",text:x,color:null})]}),t(r,{variant:"p",text:s,color:null})]})}),...e,children:c})},"Popover");d.displayName="Popover";export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u}from"./chunk-
|
|
1
|
+
import{a as u}from"./chunk-EYAGAJRL.esm.js";import{d as s}from"./chunk-RWLJNXLX.esm.js";import{b as p}from"./chunk-IK5Z5C2R.esm.js";import{b}from"./chunk-VCMHX5VK.esm.js";import{a as f}from"./chunk-EJ245MA7.esm.js";import{g as d}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";function g(r){return r==="default"?"primary":r==="info"?"information":r}i(g,"getColorVariant");function L(r,t,n){let e=g(t),o=r.colors[e];if(n){let a=o==null?void 0:o.action;return{backgroundColor:a,color:a&&f(r,l=>{var m;let c=(m=l.colors[e])==null?void 0:m.action;return c&&l.colors.getContrastColor(c)})}}return{backgroundColor:o==null?void 0:o.light,color:o==null?void 0:o.onLight}}i(L,"getColor");var y=d(u).withConfig({componentId:"sc-dznqj7-0"})(["display:inline;"," "," "," ",""],p({fontSize:"micro",lineHeight:"close"}),b({px:"small",py:"xs"}),s({borderRadius:"micro"}),({theme:r,variant:t,inverted:n})=>L(r,t,n));import{jsx as x}from"react/jsx-runtime";function C(r){let{variant:t="default",text:n,children:e,alignSelf:o="start",...a}=r;return x(y,{variant:t,alignSelf:o,...a,children:e||n})}i(C,"Label");C.displayName="Label";export{y as a,C as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as u}from"./chunk-
|
|
1
|
+
import{c as u}from"./chunk-J4VMAQM3.esm.js";import{a as w}from"./chunk-EYAGAJRL.esm.js";import{a as S}from"./chunk-JWNC52FT.esm.js";import{c as a}from"./chunk-3PLVWHLK.esm.js";import{b as h}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var g=r(({trackW:t,thumb:e,pad:s})=>t-e-s*2,"thumbTravel"),n=r(({theme:t,$size:e="medium"})=>t.component.switch.size[e],"sizeTokens"),o=a("input").withConfig({componentId:"apollion-switch-input"})`
|
|
2
2
|
position: absolute;
|
|
3
3
|
left: 0;
|
|
4
4
|
top: 0;
|
|
@@ -6,7 +6,7 @@ import{c as u}from"./chunk-QHRNEUNP.esm.js";import{a as w}from"./chunk-IJBZ45BC.
|
|
|
6
6
|
z-index: 1;
|
|
7
7
|
opacity: 0;
|
|
8
8
|
cursor: pointer;
|
|
9
|
-
`,
|
|
9
|
+
`,l=a("span").withConfig({componentId:"apollion-switch-thumb"})`
|
|
10
10
|
--travel: ${t=>g(n(t))}px;
|
|
11
11
|
|
|
12
12
|
position: absolute;
|
|
@@ -27,7 +27,7 @@ import{c as u}from"./chunk-QHRNEUNP.esm.js";import{a as w}from"./chunk-IJBZ45BC.
|
|
|
27
27
|
border-radius: ${t=>n(t).trackH/2}px;
|
|
28
28
|
background: ${({theme:t})=>t.colors.muted};
|
|
29
29
|
transition: ${({theme:t})=>t.animation.transitions.short};
|
|
30
|
-
`;function $({variant:t,$color:e,theme:s}){let
|
|
30
|
+
`;function $({variant:t,$color:e,theme:s}){let c=u(s,t,e);return h(["&:hover > ",":enabled ~ ","{box-shadow:",";}& > ",":focus-visible ~ ","{outline:2px solid ",";outline-offset:2px;}& > ",":checked ~ ","{background:",";}& > ",":checked ~ "," > ","{transform:translateY(-50%) translateX(var(--travel));}"],o,i,s.depth("level-zero"),o,i,c.base,o,i,c.base,o,i,l)}r($,"switchVariantStyle");function P({theme:t,disabled:e}){return e?h(["color:",";cursor:default;& > ",":disabled{cursor:default;}& > ",":disabled ~ ","{background-color:",";box-shadow:none;}& > ",":disabled:checked ~ ","{background-color:",";}& > ",":disabled:checked ~ "," > ","{background:",";}"],t.colors.disabled.color,o,o,i,t.colors.disabled.fill,o,i,t.colors.disabled.fill,o,i,l,t.colors.disabled.color):null}r(P,"disabledStyle");var f=a("label").withConfig({componentId:"apollion-switch-container"})`
|
|
31
31
|
position: relative;
|
|
32
32
|
display: inline-flex;
|
|
33
33
|
flex-direction: row;
|
|
@@ -45,4 +45,4 @@ import{c as u}from"./chunk-QHRNEUNP.esm.js";import{a as w}from"./chunk-IJBZ45BC.
|
|
|
45
45
|
/* Grid-item placement — native \`<label>\` root: the factory emits the CSS,
|
|
46
46
|
the System \`styled\` withholds the keys from the DOM. */
|
|
47
47
|
${S({})}
|
|
48
|
-
`;import{jsx as
|
|
48
|
+
`;import{jsx as p,jsxs as T}from"react/jsx-runtime";var y=r(({label:t=null,labelProps:e,variant:s="default",color:c,size:d="medium",area:b,alignSelf:x,justifySelf:k,...m})=>T(f,{variant:s,$color:c,disabled:m.disabled,area:b,alignSelf:x,justifySelf:k,children:[p(o,{...m,type:"checkbox",role:"switch"}),p(i,{$size:d,children:p(l,{$size:d})}),typeof t=="string"?p(w,{fontSize:"small",color:"ink.primary",...e,children:t}):t]}),"SwitchComponent");y.displayName="Switch";export{o as a,l as b,i as c,f as d,y as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t,h as a,k as s}from"./chunk-
|
|
1
|
+
import{b as t,h as a,k as s}from"./chunk-R2QEO3KP.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var M=["motion"],f=s(a),x={fade:{properties:["opacity"],hidden:{opacity:0},enter:"enter",exit:"exit"},scale:{properties:["opacity","transform"],hidden:{opacity:0,transform:"scale(0.95)"},enter:"enter",exit:"exit"},"slide-up":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateY(12px)"},enter:"enter",exit:"exit"},"slide-down":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateY(-12px)"},enter:"enter",exit:"exit"},"slide-left":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateX(12px)"},enter:"enter",exit:"exit"},"slide-right":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateX(-12px)"},enter:"enter",exit:"exit"},collapse:{properties:["grid-template-rows","opacity"],hidden:{gridTemplateRows:"0fr",opacity:0},enter:"emphasis",exit:"exit",base:{display:"grid",gridTemplateRows:"1fr","& > *":{minHeight:0,overflow:"hidden"}}},sheet:{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateY(100%)"},enter:"emphasis",exit:"exit"},"sheet-top":{properties:["opacity","transform"],hidden:{opacity:0,transform:"translateY(-100%)"},enter:"emphasis",exit:"exit"},"drawer-left":{properties:["transform"],hidden:{transform:"translateX(-100%)"},enter:"emphasis",exit:"exit"},"drawer-right":{properties:["transform"],hidden:{transform:"translateX(100%)"},enter:"emphasis",exit:"exit"}},g=n(p=>d=>{var i;let{theme:c,...m}={...p,...d},{motion:o}=m;if(!o||o==="none")return{};let e=x[o],r=(i=c.motion)!=null?i:f;return{...e.base,transition:e.properties.map(y=>`${y} ${t(r,e.enter,"duration")} ${t(r,e.enter,"easing")}`).join(", "),"@starting-style":{...e.hidden},'&[data-state="closing"]':{...e.hidden,transitionDuration:t(r,e.exit,"duration"),transitionTimingFunction:t(r,e.exit,"easing")}}},"MotionFactory");export{M as a,g as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as z}from"./chunk-
|
|
1
|
+
import{a as z}from"./chunk-OOYR6EZR.esm.js";import{b as v}from"./chunk-GAQ3CPOM.esm.js";import{f as C}from"./chunk-ITSDQBLF.esm.js";import{a as w}from"./chunk-IZHCHFTU.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}from"./chunk-GZONWSRB.esm.js";var T=["flex","gap","flexDirection","flexBasis","justifyContent","alignItems","alignContent","justifyItems","placeItems","wrap","alignSelf","grow","shrink","order","justifySelf"],S={auto:"1 1 auto",fluid:"1 1 0%",initial:"0 1 auto",none:"none"},w={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly"},b={start:"flex-start",end:"flex-end",center:"center",baseline:"baseline",stretch:"stretch"},h={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly",stretch:"stretch"},p={start:"start",end:"end",center:"center",stretch:"stretch"},A={"flex-start":"start","flex-end":"end","space-between":"between","space-around":"around","space-evenly":"evenly"},o=a((e,t,s)=>{var r;if(t==null)return;let l=(r=A[t])!=null?r:t,n=s[l];return n},"resolveAlignment"),v=a(e=>{let t=o("justifyContent",e.justifyContent,w),s=o("alignItems",e.alignItems,b),l=o("alignContent",e.alignContent,h),n=o("justifyItems",e.justifyItems,p),r=o("placeItems",e.placeItems,p);return{...t&&{justifyContent:t},...s&&{alignItems:s},...l&&{alignContent:l},...n&&{justifyItems:n},...r&&{placeItems:r}}},"alignmentCss"),O={wrap:"wrap",nowrap:"nowrap",reverse:"wrap-reverse"},P={start:"flex-start",end:"flex-end",auto:"auto",center:"center",stretch:"stretch"},R=a(e=>typeof e=="string"?{first:-999,last:999}[e]:e,"flexOrderMap"),D=a((e,{defaultDirection:t=!0}={})=>({theme:s,...l})=>{let{flex:n,flexDirection:r,flexBasis:g,gap:i,justifyContent:d,alignItems:u,alignContent:m,justifyItems:y,placeItems:F,wrap:c,justifySelf:I,alignSelf:f,grow:j,shrink:C,order:x}={...e,...l};return{...i!=null?{gap:s.spacing(i)}:void 0,...n&&{flex:S[n]},...v({justifyContent:d,alignItems:u,alignContent:m,justifyItems:y,placeItems:F}),...f&&{alignSelf:o("alignSelf",f,P)},...c&&{flexWrap:O[c]},...x&&{order:R(x)},...C&&{flexShrink:1},...j&&{flexGrow:1},...r?{flexDirection:r}:t&&{flexDirection:"column"},flexBasis:g,justifySelf:I}},"FlexFactory");export{T as a,o as b,v as c,P as d,D as e};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{b as l}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var r=n(t=>{let o=t.replace(/-([a-z])/g,(e,a)=>a.toUpperCase());return[new RegExp(`(?<![\\w-])${t}(?![\\w-])`),new RegExp(`(?<![\\w$])${o}\\s*:`)]},"property"),m={"view-transitions":{condition:"view-transition-name: none",tier:"T2",patterns:[...r("view-transition-name"),/::view-transition/],bcd:{chrome:"111",firefox:"144",safari:"18"}},overlay:{condition:"overlay: auto",tier:"T1",patterns:[/\btransition(?:-property|Property)?\s*:[^;{}]*?[\s,:'"`]overlay(?![\w.-])/,/(?<![\w.'"$-])overlay\s+(?:\$\{|\d|allow-discrete\b)/],bcd:{chrome:"117",firefox:!1,safari:!1}},"anchor-positioning":{condition:"anchor-name: --a",tier:"T2",patterns:[...r("anchor-name"),...r("position-anchor"),...r("position-area")],bcd:{chrome:"125",firefox:"147",safari:"26"}},"scroll-driven-animations":{condition:"animation-timeline: scroll()",tier:"T2",patterns:[...r("animation-timeline"),...r("scroll-timeline")],bcd:{chrome:"115",firefox:!1,safari:"26"}},scope:{condition:"at-rule(@scope)",tier:"T2",patterns:[/@scope\b/],bcd:{chrome:"118",firefox:"146",safari:"26.4"}},"interpolate-size":{condition:"interpolate-size: allow-keywords",tier:"T3",patterns:r("interpolate-size"),bcd:{chrome:"129",firefox:!1,safari:!1}},"calc-size":{condition:"width: calc-size(auto, size)",tier:"T3",patterns:[/(?<![\w-])calc-size\(/],bcd:{chrome:"129",firefox:!1,safari:!1}},"if-function":{condition:"width: if(style(--x): 1px; else: 2px)",tier:"T3",patterns:[/:\s*if\(/],bcd:{chrome:"137",firefox:!1,safari:!1}},"corner-shape":{condition:"corner-shape: bevel",tier:"T3",patterns:r("corner-shape"),bcd:{chrome:"139",firefox:!1,safari:!1}},"base-select":{condition:"appearance: base-select",tier:"T3",patterns:[/(?<![\w-])base-select(?![\w-])/],bcd:{chrome:"135",firefox:!1,safari:!1}},"field-sizing":{condition:"field-sizing: content",tier:"T1",patterns:r("field-sizing"),bcd:{chrome:"123",firefox:"152",safari:"26.2"}},"details-content":{condition:"selector(::details-content)",tier:"T1",patterns:[/::details-content(?![\w-])/],bcd:{chrome:"131",firefox:"143",safari:"18.4"}}};function p(t,o){let{condition:e}=m[t];return l(["@supports (","){","}"],e,o)}n(p,"supports");var y="0.01ms",s=n(t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),"kebab"),R=n((t,o,e)=>`var(--apollion-motion-intent-${s(o)}-${e}, ${t.intent[o][e]})`,"motionIntentVar");function u(t){let o={};for(let e of Object.keys(t.duration))o[`--apollion-motion-duration-${e}`]=t.duration[e];for(let e of Object.keys(t.easing))o[`--apollion-motion-easing-${s(e)}`]=t.easing[e];for(let e of Object.keys(t.indicator))o[`--apollion-motion-indicator-${s(e)}`]=t.indicator[e];for(let e of Object.keys(t.intent))o[`--apollion-motion-intent-${s(e)}-duration`]=t.intent[e].duration,o[`--apollion-motion-intent-${s(e)}-easing`]=t.intent[e].easing;return o}n(u,"motionVars");function b(t){let o={};for(let e of Object.keys(t.duration))o[`--apollion-motion-duration-${e}`]=y;for(let e of Object.keys(t.intent))o[`--apollion-motion-intent-${s(e)}-duration`]=y;return o}n(b,"reducedMotionVars");var g=n((t,o)=>Object.entries(t).map(([e,a])=>`${e}: ${a};`).join(`
|
|
2
|
+
${o}`),"declarations");function k(t){return`:root {
|
|
3
|
+
${g(u(t)," ")}
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@media (prefers-reduced-motion: reduce) {
|
|
7
|
+
:root {
|
|
8
|
+
${g(b(t)," ")}
|
|
9
|
+
}
|
|
10
|
+
}`}n(k,"motionGlobalCss");function x(){return`::view-transition-old(root) {
|
|
11
|
+
animation-duration: var(--apollion-motion-intent-exit-duration, 150ms);
|
|
12
|
+
animation-timing-function: var(--apollion-motion-intent-exit-easing, cubic-bezier(0.4, 0, 1, 1));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
::view-transition-new(root) {
|
|
16
|
+
animation-duration: var(--apollion-motion-intent-enter-duration, 200ms);
|
|
17
|
+
animation-timing-function: var(--apollion-motion-intent-enter-easing, cubic-bezier(0, 0, 0.2, 1));
|
|
18
|
+
}`}n(x,"viewTransitionCss");var z=p("view-transitions",l(["",""],x()));var E={duration:{0:0,50:50,100:100,150:150,200:200,300:300,500:500},easing:{linear:[0,0,1,1],standard:[.42,0,.58,1],enter:[0,0,.2,1],exit:[.4,0,1,1],emphasized:[.2,0,0,1],bounce:[.34,1.56,.64,1],settle:[0,0,.58,1]},indicator:{loop:2e3,pulse:1500},intent:{micro:{duration:"150",easing:"standard"},enter:{duration:"200",easing:"enter"},enterFast:{duration:"150",easing:"enter"},exit:{duration:"150",easing:"exit"},exitFast:{duration:"100",easing:"exit"},emphasis:{duration:"300",easing:"emphasized"},settle:{duration:2750,easing:"settle"}}},d=n(t=>`${t}ms`,"formatMotionDuration"),M=n(t=>`cubic-bezier(${t.join(", ")})`,"formatMotionEasing"),O=n(t=>{let o={};for(let i of Object.keys(t.duration))o[i]=d(t.duration[i]);let e={};for(let i of Object.keys(t.easing))e[i]=M(t.easing[i]);let a={};for(let i of Object.keys(t.indicator))a[i]=d(t.indicator[i]);let f={};for(let i of Object.keys(t.intent)){let c=t.intent[i];f[i]={duration:typeof c.duration=="number"?d(c.duration):o[c.duration],easing:e[c.easing]}}return{duration:o,easing:e,indicator:a,intent:f}},"createMotion");export{y as a,R as b,u as c,b as d,k as e,x as f,z as g,E as h,d as i,M as j,O as k};
|