@apollion-dsi/core 7.10.0 → 7.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chunks/{Dropdown.floating-QJAJIFQB.esm.js → Dropdown.floating-CGDK6IQB.esm.js} +1 -1
- package/lib/chunks/Notification.group-6ZJ35RFH.esm.js +1 -0
- package/lib/chunks/{Tooltip.floating-WYKEOQ4M.esm.js → Tooltip.floating-GCKKBEPS.esm.js} +1 -1
- package/lib/chunks/chunk-22L6RHSB.esm.js +1 -0
- package/lib/chunks/chunk-2IYNQSEF.esm.js +3 -0
- package/lib/chunks/{chunk-ENPBIFMV.esm.js → chunk-2ZPR5X22.esm.js} +1 -1
- package/lib/chunks/chunk-33GYYZW5.esm.js +3 -0
- package/lib/chunks/chunk-3U45VKPR.esm.js +1 -0
- package/lib/chunks/chunk-45IZXEOV.esm.js +1 -0
- package/lib/chunks/chunk-4DJF3WKO.esm.js +1 -0
- package/lib/chunks/{chunk-E26CL7AQ.esm.js → chunk-4PSGJ4KW.esm.js} +1 -1
- package/lib/chunks/{chunk-XUZQE326.esm.js → chunk-5DB2GNDG.esm.js} +1 -1
- package/lib/chunks/chunk-5SAWZQF2.esm.js +1 -0
- package/lib/chunks/chunk-6DQTCBWZ.esm.js +34 -0
- package/lib/chunks/chunk-6DZLOIJM.esm.js +1 -0
- package/lib/chunks/chunk-6JKM5LWJ.esm.js +1 -0
- package/lib/chunks/chunk-6RDQTTU7.esm.js +1 -0
- package/lib/chunks/{chunk-IAZM4W3N.esm.js → chunk-7BPMKNB4.esm.js} +1 -1
- package/lib/chunks/chunk-7CP7LKXR.esm.js +1 -0
- package/lib/chunks/{chunk-CLBV5RLF.esm.js → chunk-7NRIVJCP.esm.js} +1 -1
- package/lib/chunks/chunk-B4C4W4FQ.esm.js +1 -0
- package/lib/chunks/chunk-CHV2ZUQD.esm.js +1 -0
- package/lib/chunks/{chunk-4YRJLSB2.esm.js → chunk-CQCUYQLG.esm.js} +1 -1
- package/lib/chunks/{chunk-2C4RPPWG.esm.js → chunk-DANPODK7.esm.js} +1 -1
- package/lib/chunks/chunk-DBQUILKQ.esm.js +1 -0
- package/lib/chunks/chunk-DFCTM42P.esm.js +1 -0
- package/lib/chunks/chunk-DNTSG7ID.esm.js +1 -0
- package/lib/chunks/chunk-DUZ3UYGO.esm.js +4 -0
- package/lib/chunks/{chunk-OAMAE3G7.esm.js → chunk-DXPIQ43V.esm.js} +1 -1
- package/lib/chunks/chunk-E2WGTSVG.esm.js +1 -0
- package/lib/chunks/chunk-EDGTRXXL.esm.js +50 -0
- package/lib/chunks/{chunk-QEB4VTKV.esm.js → chunk-ELPFJTKD.esm.js} +1 -1
- package/lib/chunks/chunk-EYMARJ4Q.esm.js +1 -0
- package/lib/chunks/chunk-FSHKQRLP.esm.js +5 -0
- package/lib/chunks/chunk-G245LAH7.esm.js +1 -0
- package/lib/chunks/chunk-GC6FOZ4B.esm.js +1 -0
- package/lib/chunks/{chunk-T4R2OTIU.esm.js → chunk-GCVC74KG.esm.js} +1 -1
- package/lib/chunks/{chunk-BCG4MZZG.esm.js → chunk-GEBN7XFE.esm.js} +1 -1
- package/lib/chunks/chunk-GEVUBPWB.esm.js +1 -0
- package/lib/chunks/{chunk-IC54RGJD.esm.js → chunk-GNO7BQ3B.esm.js} +1 -1
- package/lib/chunks/chunk-GOQVJFQ2.esm.js +1 -0
- package/lib/chunks/{chunk-R2QEO3KP.esm.js → chunk-GXYMVUHX.esm.js} +3 -3
- package/lib/chunks/chunk-H46LQARX.esm.js +32 -0
- package/lib/chunks/{chunk-ZOGV6D7S.esm.js → chunk-HHVRC2P2.esm.js} +1 -1
- package/lib/chunks/chunk-HZGZHA72.esm.js +1 -0
- package/lib/chunks/chunk-I27NMJ2O.esm.js +1 -0
- package/lib/chunks/chunk-I44GUGQY.esm.js +4 -0
- package/lib/chunks/{chunk-TCA5DSF6.esm.js → chunk-I4D6F6PH.esm.js} +1 -1
- package/lib/chunks/chunk-I4J4D6CA.esm.js +1 -0
- package/lib/chunks/chunk-IC3NPVIH.esm.js +1 -0
- package/lib/chunks/{chunk-JTXT4BH4.esm.js → chunk-J3B6PNHW.esm.js} +1 -1
- package/lib/chunks/chunk-JJNKAIKI.esm.js +9 -0
- package/lib/chunks/chunk-K7KSNUEB.esm.js +1 -0
- package/lib/chunks/{chunk-T3ANVSKR.esm.js → chunk-LC4BKV7R.esm.js} +1 -1
- package/lib/chunks/{chunk-I6XZCSTD.esm.js → chunk-LI27QROV.esm.js} +1 -1
- package/lib/chunks/chunk-LKFRVWL5.esm.js +1 -0
- package/lib/chunks/chunk-LLAFAJR6.esm.js +1 -0
- package/lib/chunks/chunk-M72UQD4Y.esm.js +1 -0
- package/lib/chunks/chunk-MZXRPRCH.esm.js +1 -0
- package/lib/chunks/{chunk-MSAOOFU2.esm.js → chunk-N3JC6B5N.esm.js} +1 -1
- package/lib/chunks/chunk-NE3O7IUH.esm.js +1 -0
- package/lib/chunks/{chunk-UWH5IBPA.esm.js → chunk-NKDDPC27.esm.js} +1 -1
- package/lib/chunks/chunk-OGH2NV35.esm.js +1 -0
- package/lib/chunks/chunk-OGHFYC4K.esm.js +1 -0
- package/lib/chunks/chunk-OLGOEEW6.esm.js +1 -0
- package/lib/chunks/chunk-PCWBDQWO.esm.js +1 -0
- package/lib/chunks/chunk-PK6O55XG.esm.js +1 -0
- package/lib/chunks/{chunk-K6R7CVK4.esm.js → chunk-QG3UN4BG.esm.js} +1 -1
- package/lib/chunks/chunk-RDBFLIVD.esm.js +2 -0
- package/lib/chunks/chunk-RKUT26H6.esm.js +1 -0
- package/lib/chunks/chunk-RTA77K7Q.esm.js +1 -0
- package/lib/chunks/chunk-S52XSA7Y.esm.js +1 -0
- package/lib/chunks/chunk-S56GRIFE.esm.js +1 -0
- package/lib/chunks/chunk-S6UGHWWF.esm.js +1 -0
- package/lib/chunks/chunk-SGJQOSFT.esm.js +1 -0
- package/lib/chunks/{chunk-BASPM3ZG.esm.js → chunk-SYDLB7Y5.esm.js} +1 -1
- package/lib/chunks/{chunk-S3XZBMR2.esm.js → chunk-TWCGEBBW.esm.js} +1 -1
- package/lib/chunks/chunk-UD76AVXB.esm.js +1 -0
- package/lib/chunks/{chunk-GPYKOKB2.esm.js → chunk-UIYDNDCA.esm.js} +1 -1
- package/lib/chunks/chunk-VMU4IJ7R.esm.js +1 -0
- package/lib/chunks/chunk-WHJ4OP5O.esm.js +2 -0
- package/lib/chunks/chunk-WI2SPCLP.esm.js +1 -0
- package/lib/chunks/chunk-WM3H2QPO.esm.js +1 -0
- package/lib/chunks/{chunk-Z4WWUEI5.esm.js → chunk-X7VN6HII.esm.js} +7 -7
- package/lib/chunks/chunk-XM4DKPRG.esm.js +1 -0
- package/lib/chunks/chunk-YRKZV6F3.esm.js +1 -0
- package/lib/chunks/chunk-Z45XJAEQ.esm.js +1 -0
- package/lib/chunks/chunk-Z6JEMXFG.esm.js +1 -0
- package/lib/chunks/chunk-ZRUN7ZDR.esm.js +1 -0
- package/lib/chunks/chunk-ZTFCZTJC.esm.js +5 -0
- package/lib/chunks/chunk-ZUCQD2GN.esm.js +1 -0
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Box/Box.style.d.ts +2 -2
- package/lib/containers/Box/index.esm.js +1 -1
- package/lib/containers/Card/Card.style.d.ts +8 -8
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.style.d.ts +2 -2
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.style.d.ts +2 -2
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.style.d.ts +8 -8
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.style.d.ts +4 -4
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.style.d.ts +4 -4
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/Accordion/Accordion.style.d.ts +13 -13
- package/lib/dataDisplay/Accordion/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +9 -9
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Diff/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.style.d.ts +4 -4
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Sparkline/index.esm.js +1 -1
- package/lib/dataDisplay/Steps/Steps.style.d.ts +12 -12
- package/lib/dataDisplay/Steps/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/Table.style.d.ts +4 -4
- 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 +12 -12
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/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.style.d.ts +24 -24
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.style.d.ts +4 -4
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/Calendar.style.d.ts +12 -12
- package/lib/elements/Calendar/index.esm.js +1 -1
- package/lib/elements/Chip/index.esm.js +1 -1
- package/lib/elements/ChipGroup/index.esm.js +1 -1
- package/lib/elements/Divider/Divider.style.d.ts +4 -4
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +1 -1
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.style.d.ts +16 -16
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/IconText/index.esm.js +1 -1
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/Link.style.d.ts +8 -6
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.style.d.ts +4 -4
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.d.ts +1 -1
- package/lib/elements/Modal/Modal.style.d.ts +12 -12
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/NavBar/index.esm.js +1 -1
- package/lib/elements/NavTabs/index.esm.js +1 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +4 -4
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/Sheet.style.d.ts +20 -20
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/StatusDot/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.d.ts +1 -1
- package/lib/elements/Svg/Svg.style.d.ts +1 -1
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.props.d.ts +5 -0
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.d.ts +1 -1
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/ContainerFactory/ContainerFactory.interface.d.ts +5 -0
- package/lib/factory/ContainerFactory/index.esm.js +1 -1
- package/lib/factory/ContainerQueryFactory/index.esm.js +1 -1
- package/lib/factory/MotionFactory/index.esm.js +1 -1
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/ViewportMediaFactory/index.esm.js +1 -1
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.d.ts +1 -1
- package/lib/form/Checkbox/Checkbox.style.d.ts +14 -14
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.d.ts +1 -1
- package/lib/form/Field/Field.style.d.ts +8 -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 +8 -8
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.style.d.ts +10 -10
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.style.d.ts +4 -4
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.d.ts +1 -1
- package/lib/form/InputRange/InputRange.style.d.ts +18 -16
- 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 +4 -4
- package/lib/form/Option/index.esm.js +1 -1
- package/lib/form/Radio/Radio.d.ts +1 -1
- package/lib/form/Radio/Radio.style.d.ts +4 -4
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.d.ts +1 -1
- package/lib/form/Switch/Switch.style.d.ts +2 -2
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.style.d.ts +12 -12
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +16 -16
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/index.esm.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.d.ts +1 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +10 -10
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.d.ts +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +10 -10
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/scenario/CircleComponent/index.esm.js +1 -1
- package/lib/scenario/RectComponent/index.esm.js +1 -1
- package/lib/scenario/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/TextPreset.d.ts +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/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/Motion/index.esm.js +1 -1
- package/lib/themes/Telemetry/index.d.ts +5 -2
- package/lib/themes/Telemetry/index.esm.js +1 -1
- package/lib/themes/Telemetry/telemetry.config.d.ts +121 -0
- package/lib/themes/Telemetry/telemetry.d.ts +179 -52
- package/lib/themes/Telemetry/telemetry.runtime.d.ts +74 -0
- package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +9 -6
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/package.json +2 -2
- package/lib/chunks/Notification.group-JTTEYDLD.esm.js +0 -1
- package/lib/chunks/chunk-2V52IYQV.esm.js +0 -1
- package/lib/chunks/chunk-5YWORBNJ.esm.js +0 -1
- package/lib/chunks/chunk-6N6AWZ2R.esm.js +0 -1
- package/lib/chunks/chunk-7OHWGCC3.esm.js +0 -34
- package/lib/chunks/chunk-7PN2G2NK.esm.js +0 -1
- package/lib/chunks/chunk-7SRYVIHL.esm.js +0 -1
- package/lib/chunks/chunk-AOMCARXY.esm.js +0 -1
- package/lib/chunks/chunk-ATYHOAJ4.esm.js +0 -1
- package/lib/chunks/chunk-AXDZFTGE.esm.js +0 -1
- package/lib/chunks/chunk-BJBQV6AA.esm.js +0 -1
- package/lib/chunks/chunk-C2YDPXJ4.esm.js +0 -32
- package/lib/chunks/chunk-CNZXQX3A.esm.js +0 -1
- package/lib/chunks/chunk-D6WFXRZX.esm.js +0 -1
- package/lib/chunks/chunk-FAPRFOYB.esm.js +0 -1
- package/lib/chunks/chunk-FFOBK35P.esm.js +0 -1
- package/lib/chunks/chunk-FRN3ZKCH.esm.js +0 -50
- package/lib/chunks/chunk-FVTAFMZS.esm.js +0 -1
- package/lib/chunks/chunk-G5RULAV3.esm.js +0 -3
- package/lib/chunks/chunk-GGICV57H.esm.js +0 -1
- package/lib/chunks/chunk-GRUKMZSM.esm.js +0 -1
- package/lib/chunks/chunk-I47BDQKT.esm.js +0 -1
- package/lib/chunks/chunk-IW3VOOEV.esm.js +0 -1
- package/lib/chunks/chunk-IWESXUNV.esm.js +0 -1
- package/lib/chunks/chunk-JA7HYODC.esm.js +0 -1
- package/lib/chunks/chunk-JLQDS5TS.esm.js +0 -1
- package/lib/chunks/chunk-JSVL6DGF.esm.js +0 -1
- package/lib/chunks/chunk-KT4BKJVV.esm.js +0 -1
- package/lib/chunks/chunk-LH7YQF5N.esm.js +0 -1
- package/lib/chunks/chunk-LMFC47WU.esm.js +0 -1
- package/lib/chunks/chunk-MNSZ72SE.esm.js +0 -1
- package/lib/chunks/chunk-N72LVPOX.esm.js +0 -1
- package/lib/chunks/chunk-NDKZV5NA.esm.js +0 -3
- package/lib/chunks/chunk-NIUGF5KU.esm.js +0 -1
- package/lib/chunks/chunk-NXMJZMST.esm.js +0 -5
- package/lib/chunks/chunk-NZIVEBN6.esm.js +0 -1
- package/lib/chunks/chunk-OJ4UJIYY.esm.js +0 -1
- package/lib/chunks/chunk-P2NXGBL4.esm.js +0 -1
- package/lib/chunks/chunk-PER3TT67.esm.js +0 -5
- package/lib/chunks/chunk-Q74P6WPH.esm.js +0 -1
- package/lib/chunks/chunk-Q7VVMURK.esm.js +0 -1
- package/lib/chunks/chunk-QTTSRMOW.esm.js +0 -1
- package/lib/chunks/chunk-QYL6LECA.esm.js +0 -1
- package/lib/chunks/chunk-R2A3LWQU.esm.js +0 -1
- package/lib/chunks/chunk-SICHKJTX.esm.js +0 -1
- package/lib/chunks/chunk-SMHXI7DO.esm.js +0 -1
- package/lib/chunks/chunk-SSKJNT7I.esm.js +0 -1
- package/lib/chunks/chunk-U3YG36FD.esm.js +0 -1
- package/lib/chunks/chunk-UCNKTKY7.esm.js +0 -1
- package/lib/chunks/chunk-UEH3ETCI.esm.js +0 -1
- package/lib/chunks/chunk-UP5QKYFX.esm.js +0 -1
- package/lib/chunks/chunk-VQK2V46Q.esm.js +0 -4
- package/lib/chunks/chunk-VUZ7WSRT.esm.js +0 -1
- package/lib/chunks/chunk-WAFYMVV2.esm.js +0 -1
- package/lib/chunks/chunk-XTDZQJU7.esm.js +0 -1
- package/lib/chunks/chunk-Y43TNRQI.esm.js +0 -9
- package/lib/chunks/chunk-YKMNVUK7.esm.js +0 -1
- package/lib/chunks/chunk-YP7EK4TW.esm.js +0 -4
- package/lib/chunks/chunk-YYE7N2MT.esm.js +0 -1
- package/lib/chunks/chunk-Z65RA27A.esm.js +0 -1
- package/lib/chunks/chunk-Z7CRNRPL.esm.js +0 -1
- package/lib/chunks/chunk-ZAOQD7HC.esm.js +0 -1
- package/lib/chunks/chunk-ZCUESGLP.esm.js +0 -1
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { ApollionTelemetryLimits } from './telemetry.config';
|
|
2
|
+
/** Kind of client-side loop flagged by the telemetry runtime. */
|
|
3
|
+
export type ApollionTelemetryLoopKind = 'render_loop' | 'mount_loop' | 'error_loop' | 'reload_loop' | 'report_cap';
|
|
4
|
+
/** Per-component counters accumulated between two reports. */
|
|
5
|
+
export interface ComponentTelemetryStats {
|
|
6
|
+
mounts: number;
|
|
7
|
+
mountMsSum: number;
|
|
8
|
+
mountMsMax: number;
|
|
9
|
+
timedMounts: number;
|
|
10
|
+
errors: number;
|
|
11
|
+
errorsWithin: number;
|
|
12
|
+
mountWindowStart: number;
|
|
13
|
+
mountWindowCount: number;
|
|
14
|
+
muted: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface TelemetryRuntimeState {
|
|
17
|
+
active: boolean;
|
|
18
|
+
limits: ApollionTelemetryLimits | null;
|
|
19
|
+
stats: Map<string, ComponentTelemetryStats>;
|
|
20
|
+
names: Set<string>;
|
|
21
|
+
callSites: Map<string, string>;
|
|
22
|
+
onLoop: ((kind: ApollionTelemetryLoopKind, component: string) => void) | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Shared state between the per-component hook (this file, imported by every
|
|
26
|
+
* component) and the engine in `telemetry.ts` (imported by the provider).
|
|
27
|
+
*
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
export declare const telemetryRuntime: TelemetryRuntimeState;
|
|
31
|
+
/**
|
|
32
|
+
* Reduces a name to `[A-Za-z0-9_.-]`, at most 48 characters. Returns `''` for
|
|
33
|
+
* empty or reserved names.
|
|
34
|
+
*
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
export declare const cleanTelemetryId: (raw: string) => string;
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const telemetryNow: () => number;
|
|
40
|
+
/**
|
|
41
|
+
* Records one component mount in the active sampled session, with the time
|
|
42
|
+
* from its first render to its commit when known. Does nothing outside a sampled session.
|
|
43
|
+
*/
|
|
44
|
+
export declare const recordComponentMount: (componentName: string, durationMs?: number) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Records one uncaught render error thrown by a component itself in the active
|
|
47
|
+
* sampled session.
|
|
48
|
+
*/
|
|
49
|
+
export declare const recordComponentError: (componentName: string, _errorKind?: string) => void;
|
|
50
|
+
/**
|
|
51
|
+
* Records one error thrown by other code rendered inside a component (an app
|
|
52
|
+
* child, for instance) in the active sampled session.
|
|
53
|
+
*
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
export declare const recordComponentErrorWithin: (componentName: string) => void;
|
|
57
|
+
/**
|
|
58
|
+
* `file:line:col` of a stack frame (`at Name (url:1:2)`, `at url:1:2` or
|
|
59
|
+
* `Name@url:1:2`), or `''`.
|
|
60
|
+
*
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
export declare const frameLocation: (frame: string) => string;
|
|
64
|
+
/**
|
|
65
|
+
* Per-component instrumentation: counts the mount, measures the time from the
|
|
66
|
+
* component's first render to its commit, and flags render loops of this
|
|
67
|
+
* instance. Outside a sampled session it costs one ref, a boolean check per
|
|
68
|
+
* render and a mount-only effect that returns after the same check. Every
|
|
69
|
+
* failure is swallowed.
|
|
70
|
+
*
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
export declare function useComponentTelemetry(componentName: string): void;
|
|
74
|
+
export {};
|
|
@@ -360,14 +360,17 @@ export interface ApollionProviderInterface {
|
|
|
360
360
|
*/
|
|
361
361
|
textSize?: TextSize;
|
|
362
362
|
/**
|
|
363
|
-
* Opt-in anonymous
|
|
364
|
-
*
|
|
365
|
-
* browser session (`sampleRate`,
|
|
366
|
-
*
|
|
367
|
-
*
|
|
363
|
+
* Opt-in anonymous session telemetry, reported to Grafana Faro through the
|
|
364
|
+
* `/_t` edge — see the Telemetry guide (`/docs/concept-telemetry`). Disabled
|
|
365
|
+
* by default. When enabled, rolls once per browser session (`sampleRate`,
|
|
366
|
+
* default `0.01`); a sampled session counts component mounts and
|
|
367
|
+
* first-render-to-commit time, flags render, mount, error and reload loops
|
|
368
|
+
* (`limits`), and reports each time the tab is hidden or closed. Errors are
|
|
369
|
+
* counted through `createTelemetryErrorHandler` or `ApollionTelemetryBoundary`.
|
|
370
|
+
* Pages on `apollion.com.br` and local hosts never report (unless `endpoint` is `''`).
|
|
368
371
|
*
|
|
369
372
|
* @default undefined
|
|
370
|
-
* @see ../Telemetry/telemetry.ts
|
|
373
|
+
* @see ../Telemetry/telemetry.config.ts
|
|
371
374
|
*/
|
|
372
375
|
telemetry?: ApollionTelemetryConfig;
|
|
373
376
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunks/chunk-4L2KOZIQ.esm.js";import{a,e as b,g as c}from"../../chunks/chunk-
|
|
1
|
+
import"../../chunks/chunk-4L2KOZIQ.esm.js";import{a,e as b,g as c}from"../../chunks/chunk-LLAFAJR6.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-NYKFDMIM.esm.js";import"../../chunks/chunk-HAYP3N7C.esm.js";import"../../chunks/chunk-WHJ4OP5O.esm.js";import"../../chunks/chunk-FLYTTTRD.esm.js";import"../../chunks/chunk-Z7GJDO5T.esm.js";import"../../chunks/chunk-LCCVFIPZ.esm.js";import"../../chunks/chunk-TG5BCBO4.esm.js";import"../../chunks/chunk-WB5XXCKL.esm.js";import"../../chunks/chunk-JOKVE3IX.esm.js";import"../../chunks/chunk-CWRWYU7D.esm.js";import"../../chunks/chunk-PFLBU7HG.esm.js";import"../../chunks/chunk-5DB2GNDG.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-UGIYAS67.esm.js";import"../../chunks/chunk-SAPHWVC7.esm.js";import"../../chunks/chunk-RDBFLIVD.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-GXYMVUHX.esm.js";import"../../chunks/chunk-WKXEPDPZ.esm.js";import"../../chunks/chunk-4JM5PL3S.esm.js";import"../../chunks/chunk-UGA75LGY.esm.js";import"../../chunks/chunk-SF5BK4KT.esm.js";import"../../chunks/chunk-KO5FSKVM.esm.js";import"../../chunks/chunk-6G22RNUO.esm.js";import"../../chunks/chunk-J6F4PMW4.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{c as ApollionProvider,a as createTheme,b as useApollionTheme};
|
package/lib/themes/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/chunk-A5EZKWYC.esm.js";import"../chunks/chunk-4L2KOZIQ.esm.js";import{a as
|
|
1
|
+
import"../chunks/chunk-A5EZKWYC.esm.js";import"../chunks/chunk-4L2KOZIQ.esm.js";import{a as Db}from"../chunks/chunk-4E3BR56X.esm.js";import{a as Eb}from"../chunks/chunk-QHV3TXJB.esm.js";import{a as Ab,b as Bb}from"../chunks/chunk-JJNKAIKI.esm.js";import{a as cb,e as yb,g as zb}from"../chunks/chunk-LLAFAJR6.esm.js";import{a as La,b as Ma,c as Na,d as Oa,e as Pa,f as Qa,g as Ra,h as Sa,i as Ta,j as Ua,k as Va,l as Wa,m as Xa,n as Ya,o as Za,p as _a,q as $a,r as ab}from"../chunks/chunk-TLIKQFOT.esm.js";import"../chunks/chunk-IA234JY2.esm.js";import{a as fb}from"../chunks/chunk-NYKFDMIM.esm.js";import{b as bb}from"../chunks/chunk-HAYP3N7C.esm.js";import{a as gb,b as hb,c as ib,d as jb,e as kb,f as lb,g as mb,h as nb,i as ob,j as pb,l as qb,m as rb,n as sb,o as tb,q as ub,r as vb,s as wb,t as xb}from"../chunks/chunk-WHJ4OP5O.esm.js";import{a as ta}from"../chunks/chunk-FLYTTTRD.esm.js";import"../chunks/chunk-Z7GJDO5T.esm.js";import{a as xa,b as Ga,c as Ha,d as Ia,e as Ja}from"../chunks/chunk-LCCVFIPZ.esm.js";import{a as ya,b as za}from"../chunks/chunk-TG5BCBO4.esm.js";import{a as Aa,b as Ba,c as Ca,d as Da,e as Ea,f as Fa}from"../chunks/chunk-WB5XXCKL.esm.js";import{a as ua,b as va,c as wa}from"../chunks/chunk-JOKVE3IX.esm.js";import"../chunks/chunk-CWRWYU7D.esm.js";import{a as Ka}from"../chunks/chunk-PFLBU7HG.esm.js";import{a as Cb}from"../chunks/chunk-4UQS5RWZ.esm.js";import{a as na}from"../chunks/chunk-5DB2GNDG.esm.js";import{a as oa}from"../chunks/chunk-3DUB5C4Z.esm.js";import"../chunks/chunk-HVFI7FHR.esm.js";import"../chunks/chunk-UGIYAS67.esm.js";import{b as sa}from"../chunks/chunk-SAPHWVC7.esm.js";import{c as db,d as eb}from"../chunks/chunk-RDBFLIVD.esm.js";import{a as pa,b as qa,c as ra}from"../chunks/chunk-KT6QQ3UJ.esm.js";import"../chunks/chunk-4SDDAQ6N.esm.js";import"../chunks/chunk-GXYMVUHX.esm.js";import{a as ea,b as fa,c as ga,d as ha,e as ia,f as ja,g as ka,h as la,i as ma}from"../chunks/chunk-CRSMYEKV.esm.js";import"../chunks/chunk-WKXEPDPZ.esm.js";import{a as ba,b as ca,c as da}from"../chunks/chunk-4JM5PL3S.esm.js";import{a as V,b as W,c as X,d as Y,e as Z,f as _,g as $,h as aa}from"../chunks/chunk-UGA75LGY.esm.js";import{a as I,b as J,c as K,d as L,e as M,f as N,g as O,h as P,i as Q,j as R,k as S,l as T,m as U}from"../chunks/chunk-SF5BK4KT.esm.js";import{A as w,B as x,C as y,D as z,E as A,F as B,G as C,H as D,I as E,J as F,K as G,L as H,e as a,f as b,g as c,h as d,i as e,j as f,k as g,l as h,m as i,n as j,o as k,p as l,q as m,r as n,s as o,t as p,u as q,v as r,w as s,x as t,y as u,z as v}from"../chunks/chunk-KO5FSKVM.esm.js";import"../chunks/chunk-6G22RNUO.esm.js";import"../chunks/chunk-J6F4PMW4.esm.js";import"../chunks/chunk-G5Z7USXC.esm.js";import"../chunks/chunk-AXUWC2WH.esm.js";import"../chunks/chunk-GZONWSRB.esm.js";export{Na as A11Y_ATTRIBUTE,Db as ApollionModeScript,zb as ApollionProvider,xb as ApollionTelemetryBoundary,K as DARK_BOOST_TAPER_MAX_L,J as DARK_ELEVATION_BOOST,Oa as DARK_SCHEME_QUERY,va as DEFAULT_DIMENSION,mb as DEFAULT_ENDPOINT_CEILINGS,gb as DEFAULT_TELEMETRY_CORE_VERSION,hb as DEFAULT_TELEMETRY_ENDPOINT,kb as DEFAULT_TELEMETRY_LIMITS,ib as DEFAULT_TELEMETRY_SAMPLE_RATE,Ea as DEFAULT_TEXT_SIZE,ca as DEPTH_SHADOW,ua as DIMENSION_MULTIPLIERS,p as DISABLED_NEUTRAL_INDICES,P as EDGE_ALPHA,Ga as FONT_SIZE_FLOOR_PX,fa as GROUND_INK_ROLES,ea as GROUND_VAR_PREFIX,Bb as GlobalStyle,Ab as GlobalStyleComponent,Cb as Ground,M as HALATION_FLOORS,d as HextoRgb,O as INK_APCA_MIN,N as INK_MIX,I as LADDER_DELTAS,f as MIN_CONTRAST_AA,v as MIN_STATE_CONTRAST,Ma as MODE_ATTRIBUTE,La as MODE_STORAGE_KEY,l as NEUTRAL_TEXT_INDICES,Z as OKABE_ITO,t as QUIET_NEUTRAL_INDICES,k as READABLE_TEXT_PALETTES,ga as ROOT_GROUND_TOKEN,w as STATE_DELTA_L_JND,q as STRUCTURAL_NEUTRAL_INDICES,Eb as SurfaceProvider,jb as TELEMETRY_EXCLUDED_HOSTS,lb as TELEMETRY_LIMIT_RANGES,pb as TELEMETRY_SESSION_KEY,Aa as TEXT_SIZE_ATTRIBUTE,Da as TEXT_SIZE_MULTIPLIERS,Ha as TYPE_WEIGHT_LADDERS,Q as WASH_ALPHA,Pa as a11yStorageKey,aa as accessibilityPalettes,na as animation,b as apcaContrast,a as apcaLuminance,ma as auditGroundVars,pa as breakpointsValues,A as clampLightness,$a as clearDocumentMode,Ca as clearDocumentTextSize,_ as colorblindPalette,ub as configureTelemetry,g as contrastRatio,Wa as cookieAdapter,ra as createBreakpoints,W as createColors,sa as createComponentTokens,ta as createDeepTheme,da as createDeth,Ja as createFont,Ka as createFoundation,m as createReadableTextLayer,bb as createSemantic,za as createSpacing,wb as createTelemetryErrorHandler,cb as createTheme,L as darkElevationBoostFactor,oa as defaultInputBorder,qa as defaultInputBreakpoints,V as defaultInputColors,Ia as defaultInputFont,ya as defaultInputSpacing,tb as disableTelemetry,sb as flushTelemetry,i as getColor,j as getContrastColor,ab as getModeScript,wa as getMultiplierForDimension,Fa as getMultiplierForTextSize,e as getOppositeColor,rb as getTelemetrySnapshot,X as grayscalePalette,ja as groundInkPath,ha as groundVar,ia as groundVarRef,la as groundVars,Y as highContrastPalette,fb as invertForSurface,Ra as isA11yMode,y as isDarkSurface,n as isInvertedNeutralRamp,Qa as isModePreference,ka as isOpaqueGround,ob as isTelemetryHostExcluded,qb as isTelemetrySampled,ba as levelValues,Ua as localStorageAdapter,c as mixOklch,G as mountActionColors,F as mountBaseColors,D as mountGreyscaleColors,H as mountMainColors,E as mountNeutralColors,C as mountSingleColor,o as neutralSpecKey,x as oklchLightness,S as oppositePolarity,Sa as prefersDarkScheme,Za as readA11yFromCookie,Va as readCookieValue,Ya as readModeFromCookie,h as readableColor,eb as recordComponentError,db as recordComponentMount,r as resolveDisabledNeutral,Ta as resolveMode,U as resolveOppositeLadder,R as resolvePolarity,u as resolveQuietPalette,Xa as resolveStorage,s as resolveStructuralNeutrals,T as resolveSurfaceLadder,nb as resolveTelemetryLimits,z as shiftLightness,_a as syncDocumentMode,Ba as syncDocumentTextSize,$ as toDarkColors,B as toRgbaString,xa as typeSizing,yb as useApollionTheme,vb as useTelemetry};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apollion-dsi/core",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.11.0",
|
|
4
4
|
"description": "Apollion Design System — Component Library",
|
|
5
5
|
"homepage": "https://www.apollion.com.br",
|
|
6
6
|
"license": "MIT",
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
"zod": "4.6.7"
|
|
430
430
|
},
|
|
431
431
|
"optionalDependencies": {
|
|
432
|
-
"@apollion-dsi/tokens": "7.
|
|
432
|
+
"@apollion-dsi/tokens": "7.11.0"
|
|
433
433
|
},
|
|
434
434
|
"devDependencies": {
|
|
435
435
|
"@apollion-dsi/eslint-config": "0.11.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as h}from"./chunk-Q7VVMURK.esm.js";import"./chunk-VQK2V46Q.esm.js";import"./chunk-SSKJNT7I.esm.js";import"./chunk-2V52IYQV.esm.js";import"./chunk-U3YG36FD.esm.js";import"./chunk-5YWORBNJ.esm.js";import"./chunk-JLQDS5TS.esm.js";import"./chunk-CLOAQN2O.esm.js";import"./chunk-FVTAFMZS.esm.js";import"./chunk-ZMHNNJNC.esm.js";import"./chunk-KQQ7V7VG.esm.js";import"./chunk-B772QSAK.esm.js";import"./chunk-P3SIJHYM.esm.js";import"./chunk-2FQC32AA.esm.js";import"./chunk-HSKYQ6VP.esm.js";import"./chunk-SPHHNZVP.esm.js";import"./chunk-4UWZA5FD.esm.js";import"./chunk-3QSPHURU.esm.js";import"./chunk-NDIYF5SX.esm.js";import"./chunk-4MMTXWN6.esm.js";import"./chunk-BE2JDTVA.esm.js";import{c as l}from"./chunk-KZTG5TDM.esm.js";import"./chunk-7JYI2AQK.esm.js";import"./chunk-AMN6SRJS.esm.js";import"./chunk-E2U6IFPB.esm.js";import"./chunk-DKSFPJ4D.esm.js";import"./chunk-YP7EK4TW.esm.js";import"./chunk-JSVL6DGF.esm.js";import"./chunk-A5EZKWYC.esm.js";import"./chunk-4L2KOZIQ.esm.js";import"./chunk-4E3BR56X.esm.js";import"./chunk-QHV3TXJB.esm.js";import"./chunk-Y43TNRQI.esm.js";import{d as x}from"./chunk-ZAOQD7HC.esm.js";import"./chunk-TLIKQFOT.esm.js";import"./chunk-IA234JY2.esm.js";import"./chunk-NYKFDMIM.esm.js";import"./chunk-HAYP3N7C.esm.js";import"./chunk-UP5QKYFX.esm.js";import"./chunk-FLYTTTRD.esm.js";import"./chunk-Z7GJDO5T.esm.js";import"./chunk-LCCVFIPZ.esm.js";import"./chunk-TG5BCBO4.esm.js";import"./chunk-WB5XXCKL.esm.js";import"./chunk-JOKVE3IX.esm.js";import"./chunk-CWRWYU7D.esm.js";import"./chunk-PFLBU7HG.esm.js";import"./chunk-4UQS5RWZ.esm.js";import"./chunk-XUZQE326.esm.js";import"./chunk-3DUB5C4Z.esm.js";import"./chunk-HVFI7FHR.esm.js";import{g as u}from"./chunk-UGIYAS67.esm.js";import"./chunk-SAPHWVC7.esm.js";import"./chunk-2C4RPPWG.esm.js";import"./chunk-I47BDQKT.esm.js";import"./chunk-KT4BKJVV.esm.js";import"./chunk-S3XZBMR2.esm.js";import"./chunk-KT6QQ3UJ.esm.js";import{a as e}from"./chunk-I6XZCSTD.esm.js";import"./chunk-MPMCXGOX.esm.js";import"./chunk-JWNC52FT.esm.js";import"./chunk-T3ANVSKR.esm.js";import"./chunk-4SDDAQ6N.esm.js";import"./chunk-QEB4VTKV.esm.js";import"./chunk-R2QEO3KP.esm.js";import"./chunk-ENPBIFMV.esm.js";import"./chunk-K6R7CVK4.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-UWH5IBPA.esm.js";import"./chunk-IC54RGJD.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-VCMHX5VK.esm.js";import"./chunk-XI4HR75A.esm.js";import"./chunk-3BR6IVVX.esm.js";import"./chunk-CRSMYEKV.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-ZJET55OZ.esm.js";import"./chunk-WKXEPDPZ.esm.js";import"./chunk-4JM5PL3S.esm.js";import"./chunk-UGA75LGY.esm.js";import"./chunk-SF5BK4KT.esm.js";import"./chunk-KO5FSKVM.esm.js";import"./chunk-6G22RNUO.esm.js";import"./chunk-J6F4PMW4.esm.js";import{c}from"./chunk-G5Z7USXC.esm.js";import"./chunk-QXV2TDLZ.esm.js";import{f as d}from"./chunk-AXUWC2WH.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";import{useEffect as v,useState as C}from"react";import{createPortal as g}from"react-dom";import{jsx as t}from"react/jsx-runtime";var w=p(({toast:n,onRemove:o})=>{let{id:i,...s}=n,[a,r]=C(!0),{mounted:m,state:f,ref:y}=l(a,{property:"grid-template-rows"});return v(()=>{m||o(i)},[m,i,o]),m?t(e,{ref:y,motion:"collapse","data-state":f,"aria-hidden":f==="closing"||void 0,style:{minWidth:"min(18.75rem, calc(100vw - 2rem))",maxWidth:"30vw"},children:t(e,{motion:"drawer-right","data-state":f,children:t(e,{m:"xs",children:t(h,{...s,visible:!0,closable:!0,onDismiss:()=>r(!1)})})})}):null},"ToastItem"),B=p(()=>{let{notifications:n,removeNotification:o}=x(),i=d(),[s,a]=C(!1);return v(()=>{a(!0)},[]),!s||!c?null:g(t(e,{style:{position:"fixed",bottom:"1rem",right:"1rem",zIndex:u(i).toast},children:n.map(r=>t(w,{toast:r,onRemove:o},r.id))}),c)},"NotificationGroup"),D=B;export{D as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as C}from"./chunk-U3YG36FD.esm.js";import{e as a}from"./chunk-YP7EK4TW.esm.js";import{a as u}from"./chunk-LCCVFIPZ.esm.js";import{a as R}from"./chunk-I6XZCSTD.esm.js";import{j as g,k as d}from"./chunk-6G22RNUO.esm.js";import{a as I}from"./chunk-J6F4PMW4.esm.js";import{g as h}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var f=h(R).withConfig({componentId:"sc-l15crp-0"})(({theme:t,size:o})=>({fontSize:o?u(t,o):"inherit",display:"inline-block",lineHeight:0,"& svg":{stroke:"currentColor",fill:"currentColor",strokeWidth:0,"& g":{fill:"currentColor"}}}));import w,{forwardRef as s,useEffect as E,useState as P}from"react";function y(t,o){if(typeof window!="undefined")try{window.fetch(t).then(e=>e.text()).then(e=>g(e,"svg")).then(d).then(o)}catch(e){I.warn(`[ICON] Failed to load icon from: ${t}`)}}i(y,"getIconFromUrl");import{jsx as c}from"react/jsx-runtime";var S=i((t,o)=>w.cloneElement(t,o),"createIcon"),x=s(({icon:t,iconProps:o,svgProps:e,children:n,...m},l)=>c(f,{...m,ref:l,children:i(()=>{let r=null;return n?r=S(n,e):t?r=c(a,{...t,...e}):o&&(r=a(e)),r},"getIcon")()})),k=s(({title:t,src:o,svgProps:e,...n},m)=>{let[l,p]=P(()=>c(C,{height:"1em",width:"1em",alt:t}));return E(()=>{y(o,r=>{p(S(r,e))})},[o]),c(f,{...n,ref:m,children:l})}),v=s(({title:t,...o},e)=>{let n={...o.iconProps||{},title:t,stroke:"currentColor",fill:"currentColor",strokeWidth:"0",height:"1em",width:"1em"};return o.src?c(k,{...o,svgProps:n,ref:e}):c(x,{...o,svgProps:n,ref:e})});v.displayName="Icon";export{f as a,v as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{m as n}from"./chunk-KO5FSKVM.esm.js";import{f as i}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import p,{BulletList as r,Code as s,Facebook as l,List as m}from"react-content-loader";var C=p;import{jsx as b}from"react/jsx-runtime";var k=t(o=>typeof o=="number"||/^\d+(\.\d+)?$/.test(o),"isUnitless"),c=t((o,e)=>k(o)&&k(e)?`0 0 ${o} ${e}`:void 0,"defaultViewBox");function f({children:o,...e}){var d;let{colors:a}=i();return b(C,{...e,viewBox:(d=e.viewBox)!=null?d:c(e.width,e.height),backgroundColor:n(e.backgroundColor||a.muted),foregroundColor:n(e.foregroundColor||a.edge.border),children:o})}t(f,"ComposedSkeletonComponent");f.displayName="Skeleton";var u=m,L=r,S=s,x=l;export{f as a,u as b,L as c,S as d,x as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as G}from"./chunk-Z65RA27A.esm.js";import{c as V,d as _}from"./chunk-TCA5DSF6.esm.js";import{a as F}from"./chunk-DVMAC4Z4.esm.js";import{b as M}from"./chunk-VQK2V46Q.esm.js";import{b as T}from"./chunk-2V52IYQV.esm.js";import{ca as A,qa as O}from"./chunk-CLOAQN2O.esm.js";import{c as w}from"./chunk-DKSFPJ4D.esm.js";import{a as q}from"./chunk-I6XZCSTD.esm.js";import{e as W}from"./chunk-CRSMYEKV.esm.js";import{b as L}from"./chunk-WKXEPDPZ.esm.js";import{b as c,g as u}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import{forwardRef as ie,useCallback as re,useContext as ne,useId as se,useRef as ae,useState as le}from"react";var g={medium:"2.75rem",small:"2rem"},J=l((e,o)=>o==="neutral"?e.colors.quiet:e.colors.primary,"chipPalette"),oe=l((e,o)=>L(e,i=>{var s,t;return(t=(s=i.colors).getContrastColor)==null?void 0:t.call(s,J(i,o).base)}),"onBaseInk"),te=l(({$variant:e,$color:o,$selected:i,$disabled:s,theme:t})=>{let r=J(t,o);return s?c(["background:transparent;border-color:",";color:",";"],t.colors.edge.hairline,t.colors.disabled.color):e==="contained"?i?c(["background:",";border-color:",";color:",";"],r.base,r.base,oe(t,o)):c(["background:",";border-color:",";color:",";"],r.light,r.light,r.onLight):i?c(["background:",";border-color:",";color:",";"],r.light,r.base,r.onLight):c(["background:transparent;border-color:",";color:",";"],t.colors.edge.border,W(t.colors.ink.primary,"ink","primary"))},"surfaceCss"),K=u(q).withConfig({componentId:"sc-youeq7-0"})(["position:relative;display:inline-flex;flex-direction:row;align-items:stretch;box-sizing:border-box;min-width:0;max-width:",";vertical-align:middle;border:"," solid;border-radius:",";font-family:",";font-size:",";font-weight:",";line-height:",";transition:",";",""],({$maxWidth:e})=>e,({theme:e})=>e.border.borderWidth.thin,({theme:e})=>e.border.borderRadius.large,({$mono:e,theme:o})=>e?o.font.fontFamily.code:o.font.fontFamily.main,({theme:e})=>e.font.fontSize.xs,({$selected:e,theme:o})=>e?o.font.fontWeight.bold:o.font.fontWeight.regular,({theme:e})=>e.font.lineHeight.tight,({theme:e})=>e.animation.transitions.short,te),C=u.span.withConfig({componentId:"sc-youeq7-1"})(["&&{display:inline-flex;flex:1 1 auto;align-items:center;gap:",";min-inline-size:",";min-block-size:",";box-sizing:border-box;margin:calc(-1 * ",") 0;padding-block:0;padding-inline:",";border:0;border-radius:inherit;"," background:transparent;color:inherit;font:inherit;text-align:start;text-decoration:none;cursor:",";outline:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;}",""],({$size:e,theme:o})=>o.spacing(e==="small"?"micro":"xs"),({$size:e,$interactive:o})=>o?g[e]:0,({$size:e})=>g[e],({theme:e})=>e.border.borderWidth.thin,({$size:e,$trailing:o,theme:i})=>i.spacing(e==="small"?"xs":"small",o?"micro":e==="small"?"xs":"small"),({$trailing:e})=>e&&c(["border-start-end-radius:0;border-end-end-radius:0;"]),({$interactive:e})=>e?"pointer":"default",({$interactive:e,theme:o})=>e&&c(["&&:hover:not(:disabled){background:",";}&&:active:not(:disabled){background:",";}&&:focus-visible{","}&&:disabled{cursor:default;}"],o.colors.wash.hover,o.colors.wash.pressed,w(o,{ink:"currentColor",offset:"-2px"}))),Q=u.span.withConfig({componentId:"sc-youeq7-2"})(["display:inline-flex;flex:none;align-items:center;font-size:",";line-height:0;"],({$size:e,theme:o})=>o.font.fontSize[e==="small"?"xs":"small"]),U=u.span.withConfig({componentId:"sc-youeq7-3"})(["min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),P=u(M).withConfig({componentId:"sc-youeq7-4"})(["&&&{flex:none;box-sizing:border-box;inline-size:",";min-block-size:",";margin:calc(-1 * ",");margin-inline-start:0;padding:0;border:0;border-radius:",";border-start-start-radius:0;border-end-start-radius:0;color:inherit;font-size:",";touch-action:manipulation;}&&&:hover,&&&:active{color:inherit;}&&&:focus-visible{","}&&&:disabled{background:transparent;color:inherit;}"],({$size:e})=>g[e],({$size:e})=>g[e],({theme:e})=>e.border.borderWidth.thin,({theme:e})=>e.border.borderRadius.large,({$size:e,theme:o})=>o.font.fontSize[e==="small"?"xs":"small"],({theme:e})=>w(e,{ink:"currentColor",offset:"-2px"}));import{Fragment as de,jsx as a,jsxs as X}from"react/jsx-runtime";function ce(e){let o=se(),i=ne(F),[s,t]=le(!1),r=ae(null),d=e&&(i?i.openId===o:s),p=re(n=>{n||(r.current=null),i?i.setOpenId(m=>n?o:m===o?null:m):t(n)},[i,o]);return{open:d,close:l(()=>p(!1),"close"),triggerProps:{"aria-expanded":d,onClick:l(()=>{if(d&&r.current==="hover"){r.current="press";return}if(d){p(!1);return}r.current="press",p(!0)},"onClick"),onPointerEnter:l(n=>{n.pointerType!=="mouse"||d||(r.current="hover",p(!0))},"onPointerEnter"),onPointerLeave:l(n=>{n.pointerType==="mouse"&&r.current==="hover"&&p(!1)},"onPointerLeave")}}}l(ce,"useDescription");var Y=ie((e,o)=>{let{label:i,description:s,size:t="medium",variant:r="outlined",color:d="primary",mono:p=!1,maxWidth:E="100%",disabled:n=!1,infoLabel:m,icon:H,status:y,statusLabel:N,onToggle:x,selected:v,onRemove:S,removeLabel:z,...Z}=e,f=s!==void 0&&s!=="",{open:j,close:ee,triggerProps:B}=ce(f&&!n),D=l(b=>f?a(G,{visible:j,onDismiss:ee,title:i,description:s!=null?s:"",position:"bottom",children:b}):b,"withDescription"),$=null;y!==void 0?$=a(V,{as:"span","aria-hidden":!0,$status:y,$size:t}):H&&($=a(Q,{"aria-hidden":!0,$size:t,children:H}));let k=X(de,{children:[$,a(U,{title:f?void 0:i,children:i}),y!==void 0&&N&&a(_,{children:` ${N}`})]}),I=x!==void 0,R=S!==void 0||I&&f,h;return x?h=a(C,{as:"button",type:"button","aria-pressed":!!v,disabled:n,onClick:b=>x(!v,b),$size:t,$interactive:!0,$trailing:R,children:k}):f?h=D(a(C,{as:"button",type:"button",disabled:n,...B,$size:t,$interactive:!0,$trailing:R,children:k})):h=a(C,{$size:t,$interactive:!1,$trailing:R,children:k}),X(K,{...Z,as:"span",ref:o,$size:t,$variant:r,$color:d,$selected:!!(I&&v),$mono:p,$maxWidth:E,$disabled:n,children:[h,I&&f&&D(a(P,{type:"button",icon:a(T,{icon:A}),label:m!=null?m:`About ${i}`,variant:"ghost",color:"neutral",size:"small",disabled:n,...B,$size:t})),S&&a(P,{type:"button",icon:a(T,{icon:O}),label:z!=null?z:`Remove ${i}`,variant:"ghost",color:"neutral",size:"small",disabled:n,onClick:S,$size:t})]})});Y.displayName="Chip";export{g as a,K as b,C as c,Q as d,U as e,P as f,Y as g};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{a as g,b as $,c as z,d as C,g as I}from"./chunk-GGICV57H.esm.js";import{a as A}from"./chunk-S3XZBMR2.esm.js";import{c as u}from"./chunk-T3ANVSKR.esm.js";import{d as T}from"./chunk-RWLJNXLX.esm.js";import{b as S}from"./chunk-IK5Z5C2R.esm.js";import{b}from"./chunk-VCMHX5VK.esm.js";import{b as h}from"./chunk-XI4HR75A.esm.js";import{a as y}from"./chunk-J6F4PMW4.esm.js";import{b as m}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function k(e,r){let t=e.spacing("small"),n=e.border.borderWidth.thin;return`calc((${r} * 1lh) + (2 * ${t}) + (2 * ${n}))`}a(k,"rowsBlockSize");function Y({theme:e,autoResize:r,$fill:t,rows:n,maxRows:o}){if(!r||t)return null;let s=a(i=>k(e,i),"blockSize");return m(["field-sizing:content;min-block-size:",";",""],s(n!=null?n:2),o?m(["max-block-size:",";"],s(o)):null)}a(Y,"autoResizeStyle");function j({theme:e,$fill:r,rows:t}){return r?m(["flex:1 1 auto;min-block-size:",";"],k(e,t!=null?t:2)):null}a(j,"fillStyle");var P=u("textarea").withConfig({componentId:"apollion-textarea"})`
|
|
2
|
-
-webkit-appearance: none;
|
|
3
|
-
width: 100%;
|
|
4
|
-
outline: none;
|
|
5
|
-
display: block;
|
|
6
|
-
transition: ${({theme:e})=>e.animation.transitions.short};
|
|
7
|
-
|
|
8
|
-
${Y}
|
|
9
|
-
|
|
10
|
-
${j}
|
|
11
|
-
|
|
12
|
-
${g}
|
|
13
|
-
|
|
14
|
-
${C}
|
|
15
|
-
|
|
16
|
-
${z}
|
|
17
|
-
|
|
18
|
-
${$}
|
|
19
|
-
|
|
20
|
-
${T({borderRadius:"xs",borderWidth:"thin",borderStyle:"solid"})}
|
|
21
|
-
${S({fontFamily:"main"})}
|
|
22
|
-
${b({p:"small"})}
|
|
23
|
-
${h({bgColor:"surface.paper"})}
|
|
24
|
-
`,R=u(A).withConfig({componentId:"apollion-textarea-counter"})`
|
|
25
|
-
position: absolute;
|
|
26
|
-
right: 0;
|
|
27
|
-
bottom: 0;
|
|
28
|
-
line-height: 1.2rem;
|
|
29
|
-
font-size: ${({theme:e})=>e.font.fontSize.micro};
|
|
30
|
-
transform: translateY(100%);
|
|
31
|
-
color: ${({theme:e})=>e.colors.ink.primary};
|
|
32
|
-
`,F=u(I)`
|
|
33
|
-
${({$fill:e})=>e?m(["flex:1 1 auto;"]):null}
|
|
34
|
-
`;import{forwardRef as q,useEffect as w,useState as J}from"react";import{jsx as Q,jsxs as D}from"react/jsx-runtime";var K={expansive:{fontSize:"medium",py:"medium"},medium:{fontSize:"medium",py:"small"},compact:{fontSize:"medium",py:"xs"},micro:{py:"micro",fontSize:"small",borderRadius:"micro"}},E=q(({value:e,defaultValue:r,onChange:t,maxLengthHint:n="characters left",variant:o,resize:s=!1,autoResize:i=!1,fill:l=!1,maxRows:V,size:W="medium",area:L,alignSelf:B,justifySelf:H,style:v,...c},G)=>{let M=o!==void 0,p=o!=null?o:"default",f=e!==void 0,[d,N]=J(r||""),O=f?e:d;return w(()=>{l&&i&&y.warn('[TextArea] "autoResize" has no effect while "fill" is set: the field is sized by its container.')},[l,i]),D(F,{variant:p,$fill:l,area:L,alignSelf:B,justifySelf:H,children:[Q(P,{value:f?e:d,defaultValue:void 0,variant:p,$variantExplicit:M,autoResize:i,$fill:l,maxRows:V,onChange:a(x=>{f||N(x.target.value),t&&t(x)},"handleChange"),...K[W],...c,ref:G,style:{resize:i||l?"none":s?"both":"none",...v}}),c.maxLength&&D(R,{children:[Number(c.maxLength)-(O||"").length," ",n]})]})});E.displayName="TextArea";export{P as a,R as b,F as c,E as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as k}from"./chunk-43YSWDK6.esm.js";import{h as f}from"./chunk-GGICV57H.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 +0,0 @@
|
|
|
1
|
-
import{a as D}from"./chunk-3T2OY4KF.esm.js";import{a as b}from"./chunk-JSVL6DGF.esm.js";import{a as I}from"./chunk-S3XZBMR2.esm.js";import{b as E}from"./chunk-WKXEPDPZ.esm.js";import{l as F}from"./chunk-KO5FSKVM.esm.js";import{i as z}from"./chunk-6G22RNUO.esm.js";import{b as V,g as d}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import{useId as P}from"react";var _=a(({theme:t,disabled:i,variant:c})=>{let e=t.colors.ink.primary,s=t.colors.ink.secondary;if(c!=="default"){let h=c==="success"?"success":"danger",n=a(f=>E(t,r=>{var y,m;return F(F((m=(y=r.colors[h])==null?void 0:y[f])!=null?m:r.colors.ink.primary,r.colors.surface.canvas),r.colors.surface.paper)}),"ink");e=n("dark"),s=n("base")}return i&&(e=t.colors.ink.disabled),{"--color-label":e,"--color-hint":s}},"getFieldColor"),M=d(I).withConfig({componentId:"sc-1iiu1tt-0"})(["width:100%;justify-content:center;",";",""],_,({$fill:t})=>t?V(["flex:1 1 auto;"]):null),N=d(I).withConfig({componentId:"sc-1iiu1tt-1"})(["",""],({$hidden:t})=>t?D:null),u=d(b).withConfig({componentId:"sc-1iiu1tt-2"})(["color:var(--color-label);"]),W=d(b).withConfig({componentId:"sc-1iiu1tt-3"})(["color:var(--color-label);"]),q=d(b).withConfig({componentId:"sc-1iiu1tt-4"})(["color:var(--color-hint);min-height:","em;"],({theme:t})=>t.font.lineHeight.tight);import{jsx as g,jsxs as G}from"react/jsx-runtime";var p=a(t=>{if(typeof t=="string")return t||void 0;if(t&&typeof t=="object"&&"message"in t){let{message:i}=t;if(typeof i=="string"&&i)return i}},"errorMessageOf"),J=a(({name:t,value:i,label:c,inputProps:e,hintText:s,variant:h,setFieldValue:n,readOnly:f,readOnlyText:r="apenas leitura",hintErrorText:y="Something went wrong",hintSuccessText:m="Everything is alright",...l})=>{var A,$;let T=l.component,k=P(),S=!!l.errors||l.error,v=!!l.success,C=(A=e==null?void 0:e.readOnly)!=null?A:f,K=a(o=>{if(!f&&(e!=null&&e.onChange&&e.onChange(o),n)){let w=o;z(o)&&(w=o.target.type==="checkbox"||o.target.type==="radio"?o.target.checked:o.target.value),n(t,w)}},"onChange"),Q=a(()=>{if(f)return;if(typeof(e==null?void 0:e.reset)=="function"){e.reset();return}let o=e==null?void 0:e.type;n&&n(t,o==="checkbox"||o==="radio"?!1:"")},"resetField"),U=($=p(l.errors))!=null?$:y,L=S&&U||v&&m||s,H=h||S&&"error"||v&&"success"||"default",X=C||l.optionalText,Y=C?r:l.optionalText,O=e&&e.disabled,Z=(e==null?void 0:e.fill)===!0,x=T.ariaLabelledByField===!0&&!!c&&!(e!=null&&e["aria-label"])&&!(e!=null&&e["aria-labelledby"])&&(e==null?void 0:e.label)==null?`${t!=null?t:k}-label`:void 0,R=`${k}-hint`,j=!O&&!!L,B=[e==null?void 0:e["aria-describedby"],j?R:void 0].filter(Boolean).join(" ");return G(M,{area:l.area,alignSelf:l.alignSelf,justifySelf:l.justifySelf,variant:H,disabled:O,$fill:Z,gap:"micro",...l.fieldProps,children:[c&&G(N,{flexDirection:"row",justifyContent:"between",$hidden:l.hideLabel,children:[g(u,{as:"label",id:x,htmlFor:t,fontSize:"xs",fontWeight:"bold",lineHeight:"regular",children:c}),X&&g(W,{fontStyle:"italic",lineHeight:"tight",fontSize:"micro",children:Y})]}),g(T,{...e,...x&&{"aria-labelledby":x},...B&&{"aria-describedby":B},...S&&{"aria-invalid":!0},id:t,name:t,value:i,variant:H,readOnly:C,onChange:K,reset:Q}),g(q,{id:R,lineHeight:"tight",fontSize:"micro",isHidden:!j,children:L})]})},"FieldComponent");J.displayName="Field";export{J as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as L}from"./chunk-SSKJNT7I.esm.js";import{b as T}from"./chunk-2V52IYQV.esm.js";import{q as v}from"./chunk-CLOAQN2O.esm.js";import{c as D}from"./chunk-DKSFPJ4D.esm.js";import{e as p}from"./chunk-JSVL6DGF.esm.js";import{b as j}from"./chunk-ZAOQD7HC.esm.js";import{a as F}from"./chunk-S3XZBMR2.esm.js";import{a as k}from"./chunk-I6XZCSTD.esm.js";import{b as h}from"./chunk-XI4HR75A.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a as d}from"./chunk-GZONWSRB.esm.js";import{forwardRef as V,useEffect as W,useState as X}from"react";var H=h(({isSelected:t})=>t?{}:{bgColor:"muted"}),M=h(({isSelected:t})=>t?{bgColor:"wash.selected"}:{}),N=r(F).withConfig({componentId:"sc-1bknes7-0"})(["list-style:none;padding:0;margin:0;"]),U=r(k).withConfig({componentId:"sc-1bknes7-1"})(["display:flex;padding:",";cursor:pointer;&:hover{","}",""],({theme:t})=>t.spacing("xs","small"),H,M),q=r(k).withConfig({componentId:"sc-1bknes7-2"})(["position:relative;display:flex;flex-direction:row;align-items:center;min-width:0;&:hover{","}",""],H,M),C=r.button.withConfig({componentId:"sc-1bknes7-3"})(["&&{display:flex;flex:1 1 auto;align-items:center;gap:",";min-width:0;min-block-size:2.75rem;box-sizing:border-box;margin:0;padding:",";border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;text-align:start;text-decoration:none;cursor:pointer;outline:none;}&&::after{content:'';position:absolute;inset:0;border-radius:inherit;}&&:focus-visible::after{","}"],({theme:t})=>t.spacing("xs"),({theme:t})=>t.spacing("xs","small"),({theme:t})=>D(t,{offset:"-2px"})),A=r.span.withConfig({componentId:"sc-1bknes7-4"})(["display:flex;flex:1 1 auto;flex-direction:column;gap:",";min-width:0;"],({theme:t})=>t.spacing("micro")),G=r.div.withConfig({componentId:"sc-1bknes7-5"})(["position:relative;z-index:1;display:flex;flex:0 0 auto;align-items:center;padding-inline-end:",";pointer-events:none;& :is(a,button,input,select,textarea,label,summary,[tabindex]){pointer-events:auto;}"],({theme:t})=>t.spacing("small")),J=r.li.withConfig({componentId:"sc-1bknes7-6"})(["display:flex;flex-direction:row;align-items:center;gap:",";min-width:0;box-sizing:border-box;margin:0;padding:",";"],({theme:t})=>t.spacing("xs"),({theme:t})=>t.spacing("xs","small")),K=r.div.withConfig({componentId:"sc-1bknes7-7"})(["display:flex;flex:1 1 0;flex-direction:column;gap:",";min-width:0;overflow-wrap:break-word;"],({theme:t})=>t.spacing("micro")),O=r.div.withConfig({componentId:"sc-1bknes7-8"})(["display:flex;flex:0 0 auto;align-items:center;"]);import{Fragment as tt,jsx as i,jsxs as g}from"react/jsx-runtime";var z=d(({to:t,href:n})=>t!==void 0||n!==void 0,"isLinkItem"),B=d(({to:t,href:n},o)=>o?{...n!==void 0&&{href:n},...t!==void 0&&{to:t}}:{href:n!=null?n:t},"linkTarget"),Z=d(({item:t,showCheckIcon:n,action:o,linkAs:a})=>{var s;if(!t.title)throw new Error("You need to pass a title to you object inside the list");let c=z(t),m=n&&t.isSelected&&!c,f=d(()=>!c&&(o==null?void 0:o()),"onClickItem"),l=g(U,{as:"li",gap:"xs",width:"100%",flexDirection:"row",alignItems:"center",borderRadius:"micro",isSelected:t.isSelected,onClick:f,children:[(s=t.icon)!=null?s:m&&i(T,{icon:v,color:"main"}),i(p,{whiteSpace:"nowrap",children:t.title})]});return c?i(L,{as:a,...B(t,a),children:l}):l},"ListItem"),_=d(({item:t,showCheckIcon:n,action:o,selectionAttr:a,linkAs:c})=>{var u;if(!t.title)throw new Error("You need to pass a title to you object inside the list");let m=z(t),f=n&&t.isSelected&&!m,l=(u=t.icon)!=null?u:f&&i(T,{icon:v,color:"main"}),s=g(tt,{children:[l,g(A,{children:[i(p,{wordBreak:"words",children:t.title}),t.description&&i(p,{wordBreak:"words",fontSize:"xs",color:"ink.secondary",children:t.description}),t.meta&&i(p,{wordBreak:"words",fontSize:"micro",color:"ink.secondary",children:t.meta})]})]}),w=m?i(C,{as:L,forwardedAs:c,...B(t,c),"aria-current":t.isSelected?"true":void 0,children:s}):i(C,{type:"button",onClick:o,...a==="aria-pressed"?{"aria-pressed":!!t.isSelected}:{"aria-current":t.isSelected?"true":void 0},children:s});return g(q,{as:"li",width:"100%",borderRadius:"micro",isSelected:t.isSelected,children:[w,t.trailing&&i(G,{children:t.trailing})]})},"ListInteractiveItem"),$=d(({item:t,linkAs:n})=>{if(!t.title)throw new Error("You need to pass a title to you object inside the list");let o=z(t)?i(L,{as:n,...B(t,n),children:t.title}):t.title;return g(J,{children:[t.icon,g(K,{children:[i(p,{as:"div",children:o}),t.description&&i(p,{as:"div",fontSize:"xs",color:"ink.secondary",children:t.description}),t.meta&&i(p,{as:"div",fontSize:"micro",color:"ink.secondary",children:t.meta})]}),t.trailing&&i(O,{children:t.trailing})]})},"ListStaticItem"),P=V(({content:t,multiple:n,exclusive:o,showCheckIcon:a,interactive:c,static:m,linkAs:f,onSelectItems:l,onItemClick:s,...w},u)=>{let[E,R]=X(()=>t.map(e=>({id:j(5),isSelected:!1,...e})));W(()=>{R(e=>e.map((x,b)=>{var S;let I=(S=t[b])==null?void 0:S.isSelected;return I===void 0||I===x.isSelected?x:{...x,isSelected:I}}))},[t]);let Y=d(e=>()=>{var S;let x=e.id,b=o&&!n?!0:!e.isSelected,I=E.map(y=>y.id===x?{...y,isSelected:b}:{...y,isSelected:n?y.isSelected:!1});if(R(I),l==null||l(I),s==null||s(e),e.action){let{action:y,icon:et,...Q}=e;(S=e.action)==null||S.call(e,Q)}},"toggleItem");return i(N,{as:"ul",gap:"micro",...w,ref:u,children:E.map(e=>c?i(_,{item:e,showCheckIcon:a,action:Y(e),selectionAttr:n||o||a?"aria-pressed":"aria-current",linkAs:f},e.id):m?i($,{item:e,linkAs:f},e.id):i(Z,{item:e,showCheckIcon:a,action:Y(e),linkAs:f},e.id))})});P.displayName="List";export{N as a,U as b,q as c,C as d,A as e,G as f,J as g,K as h,O as i,P as j};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as h}from"./chunk-DKSFPJ4D.esm.js";import{a as b}from"./chunk-S3XZBMR2.esm.js";import{b as s,g as c}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import{forwardRef as v,useRef as S}from"react";var y=c(b).withConfig({componentId:"sc-rp85te-0"})(["padding:",";border-radius:",";background:",";"],({theme:e})=>e.spacing("micro"),({theme:e})=>e.border.borderRadius.md,({theme:e})=>e.colors.surface.sunken),D={small:s(["min-height:1.75rem;padding:0 ",";font-size:",";"],({theme:e})=>e.spacing("small"),({theme:e})=>e.font.fontSize.xs),medium:s(["min-height:2.25rem;padding:0 ",";font-size:",";"],({theme:e})=>e.spacing("medium"),({theme:e})=>e.font.fontSize.small)},g=c.button.withConfig({componentId:"sc-rp85te-1"})(["appearance:none;border:0;margin:0;background:transparent;cursor:pointer;font-family:",";font-weight:",";line-height:",";color:",";border-radius:",";transition:",";display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:",";",";&:hover:not([aria-checked='true']):not(:disabled){background:",";}&[aria-checked='true']{background:",";box-shadow:",";color:",";}&:focus-visible{","}&:disabled{cursor:not-allowed;color:",";}"],({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.fontWeight.bold,({theme:e})=>e.font.lineHeight.tight,({theme:e})=>e.colors.ink.secondary,({theme:e})=>e.border.borderRadius.sm,({theme:e})=>e.animation.transitions.short,({$fullWidth:e})=>e?"1 1 0":"0 0 auto",({$size:e})=>D[e],({theme:e})=>e.colors.wash.hover,({theme:e})=>e.colors.surface.raised,({theme:e})=>e.depth("level-one"),({theme:e})=>e.colors.ink.primary,({theme:e})=>h(e,{offset:"1px"}),({theme:e})=>e.colors.ink.disabled);import{jsx as k}from"react/jsx-runtime";var w=v(({options:e,value:a,onChange:x,size:O="medium",label:R,fullWidth:d=!0,...T},l)=>{let f=S(null),m=i(r=>{var t,n;let o=e[r];!o||o.disabled||o.value===a||(x(o.value),(n=(t=f.current)==null?void 0:t.querySelectorAll('[role="radio"]')[r])==null||n.focus())},"pick"),u=i((r,o)=>{let t=e.length,n=r;for(let p=0;p<t;p+=1)if(n=(n+o+t)%t,!e[n].disabled)return n;return r},"step");return k(y,{flexDirection:"row",alignItems:"stretch",gap:"micro",width:d?"100%":void 0,role:"radiogroup","aria-label":R,onKeyDown:i(r=>{let o=e.findIndex(n=>n.value===a),t=null;r.key==="ArrowRight"||r.key==="ArrowDown"?t=u(o,1):r.key==="ArrowLeft"||r.key==="ArrowUp"?t=u(o,-1):r.key==="Home"?t=e.findIndex(n=>!n.disabled):r.key==="End"&&(t=e.length-1-[...e].reverse().findIndex(n=>!n.disabled)),!(t===null||t<0)&&(r.preventDefault(),m(t))},"handleKeyDown"),...T,ref:i(r=>{f.current=r,typeof l=="function"?l(r):l&&(l.current=r)},"setRefs"),children:e.map((r,o)=>{let t=r.value===a;return k(g,{type:"button",role:"radio","aria-checked":t,"aria-label":r.ariaLabel,title:r.ariaLabel,tabIndex:t?0:-1,disabled:r.disabled,$size:O,$fullWidth:d,onClick:()=>m(o),children:r.label},r.value)})})});w.displayName="Option";export{y as a,g as b,w as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as c}from"./chunk-2V52IYQV.esm.js";import{b as g}from"./chunk-U3YG36FD.esm.js";import{e as u}from"./chunk-JSVL6DGF.esm.js";import{a as s}from"./chunk-LCCVFIPZ.esm.js";import{a as f}from"./chunk-I6XZCSTD.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function h(r){return r==="extraLarge"?"xl":r==="giant"?"xxl":r}a(h,"getIconSize");function x({theme:r,size:i,$label:n}){let{fontSize:o}=r.font,e=(n==null?void 0:n.length)||0;switch(i){case"small":{let t=s(r,"medium");return{width:t,height:t,fontSize:o.micro}}case"large":{let t=s(r,"xl");return{width:t,height:t,fontSize:e===1?o.xxl:o.large}}case"extraLarge":{let t=s(r,"xxl");return{width:t,height:t,fontSize:e===1?o.gargantua:o.giant}}case"giant":{let t=s(r,"giant");return{width:t,height:t,fontSize:o.gargantua}}default:{let t=s(r,"large");return{width:t,height:t,fontSize:e===1?o.medium:o.xs}}}}a(x,"getSizes");var d=p(f).withConfig({componentId:"sc-k7r87e-0"})(["display:flex;",""],x);import{jsx as m}from"react/jsx-runtime";function l({imgSrc:r,icon:i,size:n,label:o,alt:e}){return r?m(g,{cover:!0,src:r,alt:e!=null?e:"","data-testid":"avatar-image"}):i?m(c,{icon:i,size:h(n),"data-testid":"avatar-icon"}):m(u,{textTransform:"uppercase",children:o})}a(l,"getContent");var v=a(({size:r,icon:i,imgSrc:n,label:o,alt:e,...t})=>m(d,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"surface.sunken",color:"primary.base",$label:o,size:r,...!n&&!i&&!!o&&{role:"img","aria-label":e!=null?e:o},...t,children:l({size:r,icon:i,imgSrc:n,label:o,alt:e})}),"Avatar");v.displayName="Avatar";export{v as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as t}from"./chunk-JSVL6DGF.esm.js";import{b as c}from"./chunk-ZAOQD7HC.esm.js";import{a as i}from"./chunk-S3XZBMR2.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,32 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./chunk-BASPM3ZG.esm.js";import{a as se}from"./chunk-CLBV5RLF.esm.js";import{a as x}from"./chunk-PPV6A2DH.esm.js";import{a as d}from"./chunk-IAZM4W3N.esm.js";import{b as re}from"./chunk-ZOGV6D7S.esm.js";import{a as H}from"./chunk-MSAOOFU2.esm.js";import{a as h,b as oe}from"./chunk-QZYG7DTG.esm.js";import{a as c}from"./chunk-E26CL7AQ.esm.js";import{a as ie}from"./chunk-XQJ4DROM.esm.js";import{a as S,b as le}from"./chunk-SZW2G5KH.esm.js";import{a as ae}from"./chunk-PCQQ762I.esm.js";import{h as ne}from"./chunk-GGICV57H.esm.js";import{a as I}from"./chunk-XTDZQJU7.esm.js";import{a as te}from"./chunk-3T2OY4KF.esm.js";import{b as z}from"./chunk-VQK2V46Q.esm.js";import{b}from"./chunk-2V52IYQV.esm.js";import{I as X,R as P,fa as ee,y as Q,z as U}from"./chunk-CLOAQN2O.esm.js";import{c as Y}from"./chunk-DKSFPJ4D.esm.js";import{a as Z,e as J}from"./chunk-JSVL6DGF.esm.js";import{g as E}from"./chunk-UGIYAS67.esm.js";import{a as f}from"./chunk-S3XZBMR2.esm.js";import{d as K}from"./chunk-RWLJNXLX.esm.js";import{b as R}from"./chunk-XI4HR75A.esm.js";import{b as l,g as A}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import p,{useEffect as Ne,useState as L}from"react";function ke(e){switch(e){case"Compact":return l(["& ","{padding:",";}& ",",","{padding:",";}"],m,({theme:t})=>t.spacing("micro"),c,d,({theme:t})=>t.spacing("micro"));case"Expansive":return l(["& ","{padding:",";}& ",",","{padding:",";}"],m,({theme:t})=>t.spacing("large"),c,d,({theme:t})=>t.spacing("large"));default:return l(["& ","{padding:",";}& ",",","{padding:",";}"],m,({theme:t})=>t.spacing("medium"),c,d,({theme:t})=>t.spacing("medium"))}}a(ke,"getSizeStyle");var _e={left:"flex-start",start:"flex-start",center:"center",right:"flex-end",end:"flex-end"},Re=["start","center","end"];function Ae(e){let t=`${f}`,n=[`> ${t}`,`> ${t} > ${t}`,`> ${t} > ${t} > ${t}`];return[`& ${c}${e} > ${t}`,...[d,m].flatMap(r=>n.map(u=>`& ${r}${e} ${u}`))].join(`,
|
|
2
|
-
`)}a(Ae,"contentBoxSelectors");function C(e,t){return`
|
|
3
|
-
${Ae(e)} {
|
|
4
|
-
text-align: ${t};
|
|
5
|
-
align-items: ${_e[t]};
|
|
6
|
-
}
|
|
7
|
-
`}a(C,"alignRule");function Ee(e){let t=typeof e=="object"?[C("","center"),...e.map(({direction:r,target:u})=>C(`:nth-child(${u})`,r))]:[C("",e!=null?e:"center")],n=Re.map(r=>C(`[data-align='${r}']`,r));return l(["",""],[...t,...n].join(`
|
|
8
|
-
`))}a(Ee,"getAlignStyle");function ze(e){if(e===void 0)return l([""]);let t=e.map((n,r)=>n&&(n.type===void 0?`
|
|
9
|
-
&:nth-child(${r+1}) {
|
|
10
|
-
width: ${n.width}px;
|
|
11
|
-
}
|
|
12
|
-
`:`
|
|
13
|
-
&:nth-child(${r+1}) {
|
|
14
|
-
${n.type}-width: ${n.width}px;
|
|
15
|
-
}
|
|
16
|
-
`));return l(["& ",",",",","{","}"],c,d,m,t)}a(ze,"getColumnSizeStyle");function Ie(){return l(["& ",",",",","{& ","{width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}}"],c,d,m,Z)}a(Ie,"getEllipsisStyle");function He(e){return e.map(t=>l(["& ","{&:nth-child(","){",";}}"],h,t+1,R({bgColor:"muted"})))}a(He,"getSelectedStyle");var De=l(["--tableHeaderBg:",";& ","{position:sticky;top:0;z-index:",";border-top:none;border-bottom:none;box-shadow:inset 0 1px 0 ",",inset 0 -1px 0 ",";}& "," > ",":first-child > *{border-top:none;}"],({theme:e})=>e.colors.surface.paper,m,({theme:e})=>E(e).sticky,({theme:e})=>e.colors.muted,({theme:e})=>e.colors.muted,x,h),Be=a(e=>l(["& > "," ","{border-top:none;","}& > :last-child > ",":last-child,& > :last-child > ",":last-child > *{border-bottom:none;}"],S,m,e&&"box-shadow: inset 0 -1px 0 var(--tableHeaderRule);",h,h),"getEmbeddedProps"),Ve=l(["","{& ","{&:nth-child(odd){",";}}& ",",","{",";}}& ","{z-index:",";}"],x,h,R({bgColor:"surface.sunken"}),c,d,K({borderWidth:"none"}),m,({theme:e})=>E(e).sticky),ce=a(e=>`
|
|
17
|
-
& ${h}{
|
|
18
|
-
&:hover{
|
|
19
|
-
& ${c}, ${d}{
|
|
20
|
-
/* box-shadow inset instead of border avoids layout shift on hover
|
|
21
|
-
(rows would get +1px taller on mouseover, causing visible
|
|
22
|
-
drift). Visually identical to the classic border-1px. */
|
|
23
|
-
box-shadow: inset 0 -1px 0 ${e.colors.edge.border};
|
|
24
|
-
&:first-child{
|
|
25
|
-
box-shadow:
|
|
26
|
-
inset 1px 0 0 ${e.colors.getColor(e.colors.primary,"base")},
|
|
27
|
-
inset 0 -1px 0 ${e.colors.edge.border};
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
`,"getHoverableProps"),de=a(e=>l([""," "," "," ",""],e.ellipsis?Ie():"",ze(e.columnSize),Ee(e.align),ke(e.rowSize)),"getTableLayoutStyle"),Fe=a((e,t)=>{let{theme:n}=e;return l(["display:block;& > ","{","}& > ",",& > ","{display:block;}& ","{display:flex;flex-direction:column;gap:",";padding:",";border-bottom:1px solid ",";}& ",",& ","{display:flex;align-items:baseline;justify-content:space-between;gap:",";min-width:0;padding:0;border:none;overflow-wrap:anywhere;&::before{content:attr(data-label) / '';flex-shrink:0;max-width:50%;color:",";font-weight:",";}&:where(:first-child,:not([data-label]),[data-label=''])::before{content:none;}&:where(:not(:first-child)):where(:not([data-label]),[data-label='']){justify-content:flex-end;}& > ","{min-width:0;text-align:end;align-items:flex-end;}&:where(:first-child){font-weight:",";& > ","{text-align:start;align-items:flex-start;}}}","{display:table;& > ","{display:table-header-group;position:sticky;width:100%;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;}& > ","{display:table-row-group;}& > ","{display:table-footer-group;}& ","{display:table-row;padding:0;border-bottom:none;}& ",",& ","{display:table-cell;min-width:auto;overflow-wrap:normal;",";&::before{content:none;}&:where(:first-child){font-weight:inherit;}}",";","}"],S,te,x,H,h,n.spacing("xs"),n.spacing("medium"),n.colors.muted,c,d,n.spacing("small"),n.colors.ink.secondary,n.font.fontWeight.bold,f,n.font.fontWeight.bold,f,n.containerSizes.up(t),S,x,H,h,c,d,ie({theme:n}),e.hoverable&&ce(n),de(e))},"getStackedStyle"),ue=A.table.withConfig({componentId:"sc-u1ldbs-0"})(["position:relative;isolation:isolate;border-collapse:collapse;display:table;width:",";"," "," ",";"," "," ",""],({width:e})=>e||"100%",({stickyHeader:e})=>e&&De,({striped:e})=>e&&Ve,({hoverable:e,stackBelow:t,theme:n})=>e&&!t&&ce(n),({selected:e})=>He(e),e=>e.stackBelow?Fe(e,e.stackBelow):de(e),({embedded:e,stickyHeader:t,theme:n})=>e&&l(["--tableHeaderRule:",";",""],n.colors.muted,Be(t))),me=A(f).withConfig({componentId:"sc-u1ldbs-1"})(["&:focus-visible{","}"],({theme:e})=>Y(e,{tone:"ink",offset:"-2px"}));import{jsx as o,jsxs as D}from"react/jsx-runtime";var ge=a(e=>{var N,j,M,W,O;let t=p.useId(),[n,r]=L(""),[u,B]=L([]),[V,T]=L([]),[be,$]=L((N=e.rowSize)!=null?N:"Default"),w=p.useRef(null);Ne(()=>{if(!w.current)return;let i=Array.from(w.current.children);B(i)},[]);let{title:je,searching:Me,scrollRegion:We,rowTypes:Oe,rowTypesLabel:qe,share:Ge,shareLabel:Ke,initialPagination:Ye,finalPagination:Ze,totalPagination:Je,linesPerPage:Qe,showingText:Ue,linesPerPageLabel:Xe,linesPerPageValue:et,onLinesPerPageChange:tt,onPreviousPage:nt,onNextPage:it,canPreviousPage:at,canNextPage:ot,previousLabel:lt,nextLabel:rt,columnSum:st,...fe}=e,he=p.Children.toArray(e.children).length>1?1:0,ye=p.Children.map(e.children,(i,g)=>g===he?p.cloneElement(i,{ref:w}):i),F=a(i=>{if(!w.current)return;let g=w.current.children,s=u.map((y,_)=>{var G;let q=g[_];if(!q)return y;let $e=((G=y.textContent)!=null?G:"").toLowerCase().includes(i.toLowerCase());return q.style.display=$e?"":"none",y});B(s)},"applySearch"),we=a(i=>{i.key==="Enter"&&F(n)},"getFilterData"),Pe=u.length>0&&u.every(i=>i.style.display==="none"),xe=u.length,pe=a((i,g)=>{g&&T(s=>[...s,i]),g||T(V.filter(s=>s!==i))},"getSelected"),Te=a(i=>(u.forEach((g,s)=>{let y=g.children[0].querySelectorAll("input")[0];return i&&(y.checked=!0,T(_=>[..._,s])),i||(y.checked=!1,T([])),null}),i),"getAllSelected"),ve=a(i=>u.map(s=>parseInt(s.children[i].innerText,10)).reduce((s,y)=>s+y,0),"getAddLines"),v=e.stackBelow!==void 0,Se=v?oe(e.children,i=>i.type===le):void 0,Ce=e.initialPagination&&e.finalPagination&&e.totalPagination&&e.linesPerPage;function k(i){switch(i){case"normal":if(xe<=1)return"visible";if(e.stickyHeader||e.columnSize)return"scroll";break;case"y":if(e.columnSize&&!e.stickyHeader)return"hidden";break;default:return"visible"}return"visible"}a(k,"getOverflow");let Le=k("normal")==="scroll";return D(me,{overflow:k("normal"),overflowY:k("y"),gap:4,...v&&{containment:"inline-size",width:"100%"},...Le&&{tabIndex:0,role:"region","aria-label":(M=(j=e.scrollRegion)!=null?j:e.title)!=null?M:"Tabela"},children:[D(f,{flexDirection:"row",justifyContent:"between",alignItems:"center",children:[e.title&&o(J,{id:t,color:"primary",readable:!0,variant:"h5",children:e.title}),D(f,{flexDirection:"row",justifyContent:"end",alignItems:"end",gap:2,children:[e.searching&&o(f,{width:"230px",children:o(ne,{placeholder:"Pesquisar",type:"text",value:n,name:"search",onChange:i=>{r(i.target.value),i.target.value===""&&F("")},onKeyDown:i=>we(i),width:"230",icon:o(b,{icon:Q}),role:"search"})}),e.rowTypes&&o(I,{options:[{icon:o(b,{icon:P}),title:"Layout Condensado",action:a(()=>$("Compact"),"action")},{icon:o(b,{icon:P}),title:"Layout Padr\xE3o",action:a(()=>$("Default"),"action")},{icon:o(b,{icon:P}),title:"Layout Expandido",action:a(()=>$("Expansive"),"action")}],children:o(z,{type:"button",variant:"ghost",size:"small",icon:o(b,{icon:P}),label:(W=e.rowTypesLabel)!=null?W:"Densidade das linhas"})}),e.share&&o(I,{options:[{icon:o(b,{icon:X}),title:"Enviar por email",action:e.share.email},{icon:o(b,{icon:ee}),title:"Compartilhar",action:e.share.social}],children:o(z,{type:"button",variant:"ghost",size:"small",icon:o(b,{icon:U}),label:(O=e.shareLabel)!=null?O:"Compartilhar"})})]})]}),Ce&&o(se,{initialPagination:e.initialPagination,finalPagination:e.finalPagination,totalPagination:e.totalPagination,linesPerPage:e.linesPerPage,showingText:e.showingText,linesPerPageLabel:e.linesPerPageLabel,linesPerPageValue:e.linesPerPageValue,onLinesPerPageChange:e.onLinesPerPageChange,onPreviousPage:e.onPreviousPage,onNextPage:e.onNextPage,canPreviousPage:e.canPreviousPage,canNextPage:e.canNextPage,previousLabel:e.previousLabel,nextLabel:e.nextLabel}),o(ue,{...fe,stickyHeader:e.stickyHeader,striped:e.striped,embedded:e.embedded,rowSize:be,align:e.align,columnSize:e.columnSize,width:e.width,ellipsis:e.ellipsis,hoverable:e.hoverable,selected:V,"aria-labelledby":e.title?t:void 0,role:v?"table":void 0,children:o(ae.Provider,{value:{ellipsis:e.ellipsis,getSelected:pe,getAllSelected:Te,columnSum:e.columnSum!==void 0?{index:e.columnSum,sum:ve(e.columnSum)}:{index:void 0,sum:void 0},stacked:v,columnLabels:Se},children:ye})}),Pe&&o(re,{})]})},"TableComponent");export{ue as a,me as b,ge as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as z}from"./chunk-SSKJNT7I.esm.js";import{b as j}from"./chunk-2V52IYQV.esm.js";import{q as W}from"./chunk-CLOAQN2O.esm.js";import{c as F}from"./chunk-DKSFPJ4D.esm.js";import{a as k}from"./chunk-JSVL6DGF.esm.js";import{a as m}from"./chunk-S3XZBMR2.esm.js";import{a as y}from"./chunk-I6XZCSTD.esm.js";import{b as v}from"./chunk-WKXEPDPZ.esm.js";import{m as P}from"./chunk-KO5FSKVM.esm.js";import{b as p,g as h}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import{forwardRef as O}from"react";var q=s((e,t)=>P(e.colors[t],"base"),"literalStop"),$=s((e,t)=>v(e,a=>q(a,t)),"stop"),A=s((e,t)=>v(e,a=>{var d,f,w;return(w=(f=(d=a.colors).getContrastColor)==null?void 0:f.call(d,q(a,t)))!=null?w:a.colors.ink.primary}),"inkOn"),N=s((e,t)=>{switch(t){case"complete":return{fill:$(e,"success"),ink:A(e,"success")};case"current":return{fill:$(e,"primary"),ink:A(e,"primary")};case"next":return{fill:e.colors.surface.raised,ink:e.colors.ink.primary};default:return{fill:e.colors.surface.sunken,ink:e.colors.ink.disabled}}},"badgePaint"),C=h(m).withConfig({componentId:"sc-1bjowjb-0"})(["width:",";height:",";flex:0 0 auto;border-radius:",";background:",";color:",";box-shadow:",";transition:",";"],({$size:e})=>e,({$size:e})=>e,({theme:e})=>e.border.borderRadius.circular,({theme:e,$status:t})=>N(e,t).fill,({theme:e,$status:t})=>N(e,t).ink,({theme:e,$status:t})=>t==="next"?`inset 0 0 0 1px ${e.colors.edge.border}`:"none",({theme:e})=>e.animation.transitions.short),b=h(m).withConfig({componentId:"sc-1bjowjb-1"})(["flex:1 1 0;align-self:center;"," border-radius:",";background:",";"],({$vertical:e})=>e?p(["width:0.25rem;min-height:0.75rem;"]):p(["height:0.25rem;"]),({theme:e})=>e.border.borderRadius.micro,({theme:e,$done:t})=>t?$(e,"success"):e.colors.edge.hairline),G=p(["cursor:pointer;&:hover ","{box-shadow:",";}"],C,({theme:e})=>e.depth("level-one")),R=h(m).withConfig({componentId:"sc-1bjowjb-2"})(["flex:1 1 0;min-width:0;"," "," a{text-decoration:none;}& :is(button,a):focus-visible{outline:none;}&:has(:focus-visible) ","{","}"],({$vertical:e})=>e&&p(["flex:0 0 auto;"]),({$actionable:e})=>e&&G,C,({theme:e})=>F(e));import{jsx as i,jsxs as S}from"react/jsx-runtime";var x=O(({stepNumber:e,status:t,size:a="2rem",...d},f)=>i(C,{alignItems:"center",justifyContent:"center",$status:t,$size:typeof a=="number"?`${a}px`:a,...d,ref:f,children:t==="complete"?i(j,{icon:W,size:"small",color:"currentColor","aria-hidden":!0}):i(k,{fontSize:"xs",fontWeight:"bold",lineHeight:"tight",color:"inherit",children:e})}));x.displayName="StepsBadge";var g=s((e,t,a)=>e.isComplete||t<a?"complete":t===a?"current":e.disabled?"disabled":"next","resolveStepStatus"),V=s((e,t)=>t==="next"&&!!(e.href||e.to||e.onClick),"isActionable"),_=O(({steps:e,currentIndex:t=0,linkAs:a,label:d="Etapas",layout:f="auto",counterLabel:w,...B},I)=>{let E=e.length,L=s(n=>c=>{var o;let r=c.target.closest("button, a");r&&c.currentTarget.contains(r)||(o=n.onClick)==null||o.call(n,c)},"itemClick"),M=s((n,c,r,o)=>r&&(n.href||n.to)?i(z,{as:n.to?a:void 0,href:n.href,to:n.to,text:n.title,onClick:n.onClick,fontSize:"xs",fontWeight:"bold",color:"primary",textAlign:o}):r?i(k,{as:"button",type:"button",onClick:n.onClick,fontSize:"xs",fontWeight:"bold",color:"primary",textAlign:o,bgColor:"transparent",borderWidth:"none",cursor:"pointer",style:{padding:0},children:n.title}):i(k,{fontSize:"xs",fontWeight:"bold",textAlign:o,color:c==="disabled"?"ink.disabled":"ink.primary",children:n.title}),"renderTitle"),D=s((n={},c)=>i(m,{as:"nav","aria-label":d,flexDirection:"row",width:"100%",...n,ref:c,children:e.map((r,o)=>{let l=g(r,o,t),u=V(r,l),T=o===E-1;return S(R,{$actionable:u,gap:"small",alignItems:"center","aria-current":l==="current"?"step":void 0,"aria-disabled":l==="disabled"||void 0,onClick:u&&!r.href&&!r.to?L(r):void 0,children:[S(m,{flexDirection:"row",alignItems:"center",width:"100%",children:[i(b,{$done:o>0&&g(e[o-1],o-1,t)==="complete",style:{visibility:o===0?"hidden":void 0}}),i(x,{stepNumber:o+1,status:l}),i(b,{$done:l==="complete",style:{visibility:T?"hidden":void 0}})]}),M(r,l,u,"center")]},`${o}-${r.title}`)})}),"desktopVariant"),H=s((n={},c)=>i(m,{as:"nav","aria-label":d,flexDirection:"column",width:"100%",...n,ref:c,children:e.map((r,o)=>{let l=g(r,o,t),u=V(r,l),T=o===E-1;return S(R,{$actionable:u,$vertical:!0,flexDirection:"row",gap:"medium",alignItems:"center","aria-current":l==="current"?"step":void 0,"aria-disabled":l==="disabled"||void 0,onClick:u&&!r.href&&!r.to?L(r):void 0,children:[S(m,{flexDirection:"column",alignItems:"center",alignSelf:"stretch",children:[i(b,{$vertical:!0,$done:o>0&&g(e[o-1],o-1,t)==="complete",style:{visibility:o===0?"hidden":void 0}}),i(x,{stepNumber:o+1,status:l}),i(b,{$vertical:!0,$done:l==="complete",style:{visibility:T?"hidden":void 0}})]}),M(r,l,u,"left")]},`${o}-${r.title}`)})}),"verticalVariant");return f==="mobile"?H(B,I):f==="desktop"?D(B,I):S(y,{containment:"inline-size",width:"100%",...B,ref:I,children:[i(y,{cq:{md:{display:"none"}},children:H()}),i(y,{display:"none",cq:{md:{display:"block"}},children:D()})]})});_.displayName="Steps";export{N as a,C as b,b as c,R as d,x as e,g as f,_ as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as i,b as h,c as g,d as y}from"./chunk-G6BWM323.esm.js";import{b as p}from"./chunk-2V52IYQV.esm.js";import{c as f}from"./chunk-DKSFPJ4D.esm.js";import{g as d}from"./chunk-UGIYAS67.esm.js";import{a as m}from"./chunk-I6XZCSTD.esm.js";import{a as l}from"./chunk-J6F4PMW4.esm.js";import{b as c,g as r}from"./chunk-AXUWC2WH.esm.js";import z,{forwardRef as M,useEffect as R}from"react";var E="3.5rem",v=r(m).withConfig({componentId:"sc-qqoy0d-0"})(["display:block;box-sizing:border-box;width:100%;padding-bottom:env(safe-area-inset-bottom);",""],({$fixed:o,theme:t})=>o&&c(["position:fixed;inset-inline:0;bottom:0;z-index:",";"],d(t).sticky)),b=r.ul.withConfig({componentId:"sc-qqoy0d-1"})(["display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin:0;padding:0;list-style:none;"]),N=r.li.withConfig({componentId:"sc-qqoy0d-2"})(["display:flex;min-width:0;"]),u=r.span.withConfig({componentId:"sc-qqoy0d-3"})(["display:inline-flex;align-items:center;justify-content:center;padding:",";border-radius:",";font-size:",";line-height:0;background:",";transition:",";"],({theme:o})=>o.spacing("micro","medium"),({theme:o})=>o.border.borderRadius.large,({theme:o})=>o.font.fontSize.large,({$current:o,theme:t})=>o?t.colors.wash.selected:"transparent",({theme:o})=>o.animation.transitions.short),x=r.span.withConfig({componentId:"sc-qqoy0d-4"})(["max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),B=r.a.withConfig({componentId:"sc-qqoy0d-5"})(["display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:",";min-width:0;min-height:",";box-sizing:border-box;margin:0;padding:",";border:0;background:transparent;color:",";font-family:",";font-size:",";font-weight:",";line-height:",";text-align:center;text-decoration:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:",";&:hover{background:",";}&:active{background:",";}&:focus-visible{","}"],({theme:o})=>o.spacing("micro"),E,({theme:o})=>o.spacing("xs","micro"),({$current:o,$color:t,theme:a})=>o?i(a,t):h(a),({theme:o})=>o.font.fontFamily.main,({theme:o})=>o.font.fontSize.micro,({$current:o,theme:t})=>o?t.font.fontWeight.bold:t.font.fontWeight.regular,({theme:o})=>o.font.lineHeight.tight,({theme:o})=>o.animation.transitions.short,({theme:o})=>o.colors.wash.hover,({theme:o})=>o.colors.wash.pressed,({$color:o,theme:t})=>f(t,{ink:i(t,o),offset:"-2px"}));import{jsx as n,jsxs as _}from"react/jsx-runtime";var I=3,S=5,w=M(({items:o,linkAs:t,color:a="primary",fixed:C=!1,...q},L)=>(R(()=>{(o.length<I||o.length>S)&&l.warn(`[NavBar] ${o.length} items \u2014 a bottom bar holds ${I} to ${S}; move the rest to a menu or a <Tabs mode="nav"> row.`)},[o.length]),n(v,{...q,as:"nav",bgColor:"surface.paper",borderPosition:"top",borderWidth:"thin",borderStyle:"solid",borderColor:"edge.hairline",$fixed:C,ref:L,children:n(b,{children:o.map((e,T)=>{let{as:k,props:$}=y(e,t),s=!!e.current;return n(N,{children:_(B,{...$,as:k,$current:s,$color:a,children:[n(u,{$current:s,"aria-hidden":!0,children:z.isValidElement(e.icon)?e.icon:n(p,{icon:e.icon})}),n(x,{children:e.label})]})},g(e,T))})})})));w.displayName="NavBar";export{E as a,v as b,b as c,N as d,u as e,x as f,B as g,w as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as oe}from"./chunk-BE2JDTVA.esm.js";import{b as T}from"./chunk-E2U6IFPB.esm.js";import{c as re}from"./chunk-DKSFPJ4D.esm.js";import{a as C}from"./chunk-JSVL6DGF.esm.js";import{a as p}from"./chunk-I6XZCSTD.esm.js";import{b as v}from"./chunk-G5Z7USXC.esm.js";import{b as D,g as l}from"./chunk-AXUWC2WH.esm.js";import{a as u}from"./chunk-GZONWSRB.esm.js";var Fe=D(["--railColor:",";--trackColor:",";--thumbColor:",";--markColor:",";"],({theme:e})=>e.colors.primary.light,({theme:e})=>e.colors.primary.base,({theme:e})=>e.colors.primary.action,({theme:e})=>e.colors.primary.active),Le=D(["pointer-events:none;--railColor:",";--trackColor:",";--thumbColor:",";--markColor:transparent;"],({theme:e})=>e.colors.muted,({theme:e})=>e.colors.edge.border,({theme:e})=>e.colors.edge.strong),te=l(p).withConfig({componentId:"sc-18639os-0"})(["--height:6px;",";cursor:pointer;box-sizing:content-box;height:var(--height);padding:1.5rem 0 2rem;width:100%;"],({disabled:e})=>e?Le:Fe),ne=l(p).withConfig({componentId:"sc-18639os-1"})(["width:100%;height:var(--height);background:var(--railColor);position:absolute;border-radius:calc(var(--height) / 2);box-shadow:0px 0px 0px 1px var(--railColor);"]),ie=l(p).withConfig({componentId:"sc-18639os-2"})(["height:var(--height);box-shadow:0px 0px 0px 1px var(--trackColor);background:var(--trackColor);border-radius:calc(var(--height) / 2);position:absolute;left:0;"]),Pe=u((e,o)=>{let t=[e.colors("danger"),e.colors("warning"),e.colors("success")];return(o==="descending"?t.reverse():t).join(", ")},"gradientStops"),ae=l(p).withConfig({componentId:"sc-18639os-3"})(["height:var(--height);background-image:linear-gradient(to right,",");background-repeat:no-repeat;border-radius:calc(var(--height) / 2);position:absolute;width:100%;left:0;"],({theme:e,$direction:o})=>Pe(e,o)),se=l(p).withConfig({componentId:"sc-18639os-4"})(["height:var(--height);background-color:var(--railColor);background-repeat:no-repeat;position:absolute;right:0;"]),H=l(p).attrs(e=>({bgColor:"surface.raised",color:"ink.primary",borderRadius:"xs",borderWidth:"thin",p:"micro",...e})).withConfig({componentId:"sc-18639os-5"})(["--borderColor:",";opacity:0;transition:all var(--apollion-motion-duration-200,200ms) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1));text-align:center;position:absolute;bottom:",";left:50%;transform:translateX(-50%);font-size:",";white-space:nowrap;border-color:var(--borderColor);@media (pointer:coarse){bottom:",";}&:before{content:'';position:absolute;width:0;height:0;border-top:10px solid var(--borderColor);border-left:5px solid transparent;border-right:5px solid transparent;top:100%;left:50%;margin-left:-5px;margin-top:-1px;}"],({theme:e})=>e.colors.edge.border,({theme:e})=>e.spacing("large"),({theme:e})=>e.font.fontSize.micro,({theme:e})=>e.spacing("xl")),Ve=D(["box-shadow:0px 0px 0px 9px "," !important;& ","{opacity:1;}"],({theme:e})=>e.colors.wash.pressed,H),le=l(p).withConfig({componentId:"sc-18639os-6"})(["--size:calc(var(--height) * 2.4);display:flex;justify-content:center;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);position:absolute;background:var(--thumbColor);transition:box-shadow var(--apollion-motion-intent-micro-duration,150ms) var(--apollion-motion-intent-micro-easing,cubic-bezier(0.42,0,0.58,1));&:hover{box-shadow:0px 0px 0px 6px ",";","{opacity:1;}}&:focus-visible{","}@media (pointer:coarse){--size:calc(var(--height) * 3.5);}",""],({theme:e})=>e.colors.wash.hover,H,({theme:e})=>re(e),({active:e})=>e&&Ve),ce=l(p).attrs(e=>({borderRadius:"circular",...e})).withConfig({componentId:"sc-18639os-7"})(["--size:calc(var(--height) * 0.8);position:absolute;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);background:",";"],({active:e})=>e?"var(--thumbColor)":"var(--markColor)"),de=l(p).withConfig({componentId:"sc-18639os-8"})(["position:absolute;margin-top:1rem;transform:translateX(-50%);white-space:nowrap;font-family:",";font-size:",";font-weight:",";color:",";"],({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.fontSize.micro,({theme:e,$picked:o})=>o?e.font.fontWeight.bold:e.font.fontWeight.regular,({theme:e,$picked:o})=>o?e.colors.ink.primary:e.colors.ink.secondary),ue=l(p).withConfig({componentId:"sc-18639os-9"})(["display:flex;flex-direction:column;gap:",";width:100%;"],({theme:e})=>e.spacing("micro")),pe=l(p).withConfig({componentId:"sc-18639os-10"})(["display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:",";font-family:",";font-size:",";"],({theme:e})=>e.spacing("xs"),({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.fontSize.xs),me=l(C).attrs({fontWeight:"bold",color:"ink.primary"}).withConfig({componentId:"sc-18639os-11"})([""]),fe=l(C).attrs({color:"ink.secondary"}).withConfig({componentId:"sc-18639os-12"})(["margin-inline-start:auto;font-variant-numeric:tabular-nums;"]);import Be,{useCallback as xe,useEffect as I,useId as Ge,useMemo as Xe,useRef as F,useState as $e}from"react";function $(e,o,t){return(e-o)*100/(t-o)}u($,"valueToPercent");function ge(e,o,t){return(t-o)*e+o}u(ge,"percentToValue");function he(e){let[,o=""]=String(e).split(".");return o.length}u(he,"decimals");function be(e,o,t){let a=Math.round((e-t)/o)*o+t;return Number(a.toFixed(Math.max(he(o),he(t))))}u(be,"roundValueToStep");function ve(e,o,t,a,m){let i=m>0?m:(a-t)/100,S=Math.max(i,Math.round((a-t)/10/i)*i),x={ArrowLeft:-i,ArrowDown:-i,ArrowRight:i,ArrowUp:i,PageDown:-S,PageUp:S},w;if(e==="Home")w=t;else if(e==="End")w=a;else if(e in x)w=Math.min(Math.max(t,o+x[e]),a);else return;return k(w,a,t,m)}u(ve,"keyboardValue");function Se(e){return e>=1?1:e<=0?0:e}u(Se,"clamp");function k(e,o,t,a){if(Number.isFinite(e)&&e>=t&&e<=o){if(!a)return e;let i=be(e,a,t);return i>o?be(i-a,a,t):i}return Math.min(Math.max(t,e),o)}u(k,"normalizeValue");import{jsx as f,jsxs as L}from"react/jsx-runtime";function A({gradient:e,disabled:o,getLabelValue:t,markLabel:a,onChange:m,onInput:i,label:S,showValue:x=!1,id:w,"aria-label":we,"aria-labelledby":P,value:V=50,max:d=100,min:c=0,step:h=1,mark:N,area:ye,alignSelf:Te,justifySelf:Ce}){let[g,W]=$e(()=>k(V,d,c,h)),E=F(g);I(()=>{W(r=>{let n=k(V,d,c,h);return n!==r?n:r})},[V,d,c,h]),I(()=>{E.current=g},[g]);let{active:ke,enable:K,disable:Ee}=oe(),j=F(null),U=F(null),_=`${Ge()}-label`,Me=Xe(()=>{if(!(N===!0&&h))return[];let r=Math.floor((d-c)/h)+1;return!Number.isFinite(r)||r<=0||r>1e4?[]:[...Array(r)].map((n,s)=>{let b=c+h*s;return{value:b,...t&&a&&{label:t(b)}}})},[N,t,a,h,c,d]),M=F(void 0);I(()=>()=>clearTimeout(M.current),[]);let B=xe(r=>r===E.current?!1:(E.current=r,W(r),i==null||i(r),!0),[i]),G=xe(r=>{var ee;let n=0;try{if(r.type==="touchmove"){let[R]=r.changedTouches;n=R==null?void 0:R.clientX}else n=r.clientX}catch(R){n=r.clientX}let s=(ee=j.current)==null?void 0:ee.getBoundingClientRect();if(!s)return;let b=Se((n-s.left)/s.width),Z=k(ge(b,c,d),d,c,h);B(Z),m&&(clearTimeout(M.current),M.current=setTimeout(()=>{m(Z)},100))},[c,d,h,m,B]),z=T(r=>{G(r)}),y=T(()=>{var r,n,s,b;Ee(),(r=v)==null||r.document.removeEventListener("mousemove",z),(n=v)==null||n.document.removeEventListener("mouseup",y),(s=v)==null||s.document.removeEventListener("touchmove",z),(b=v)==null||b.document.removeEventListener("touchend",y)});I(()=>y,[y]);let ze=T(r=>{var n,s,b;r.preventDefault(),(n=U.current)==null||n.focus({preventScroll:!0}),G(r),K(),(s=v)==null||s.document.addEventListener("mousemove",z,{passive:!1}),(b=v)==null||b.document.addEventListener("mouseup",y,{passive:!1})}),Re=T(r=>{var n,s;r.stopPropagation(),G(r),K(),(n=v)==null||n.document.addEventListener("touchmove",z,{passive:!1}),(s=v)==null||s.document.addEventListener("touchend",y,{passive:!1})}),De=T(r=>{if(o)return;let n=ve(r.key,E.current,c,d,h);n!==void 0&&(r.preventDefault(),B(n)&&(clearTimeout(M.current),m==null||m(n)))}),X=t?t(g):String(g),q=S!=null||x,He=P!=null?P:S!=null?_:void 0,J=`${$(g,c,d)}%`,Ie={width:J},O={left:J},Q={area:ye,alignSelf:Te,justifySelf:Ce},Y=L(te,{ref:j,onMouseDown:ze,onTouchStart:Re,disabled:o,...!q&&Q,children:[f(ne,{}),e?f(ae,{$direction:e==="descending"?"descending":"ascending",children:f(se,{style:O})}):f(ie,{style:Ie}),Me.map(r=>{let n={left:`${$(r.value,c,d)}%`};return L(Be.Fragment,{children:[f(ce,{active:r.value<=g,style:n,"aria-hidden":!0}),r.label&&f(de,{$picked:r.value===g,style:n,"aria-hidden":!0,children:r.label})]},r.value)}),f(le,{ref:U,id:w,role:"slider",tabIndex:o?void 0:0,"aria-valuemin":c,"aria-valuemax":d,"aria-valuenow":g,"aria-valuetext":t?X:void 0,"aria-label":we,"aria-labelledby":He,"aria-disabled":o||void 0,onKeyDown:De,borderRadius:"circular",deep:1,active:ke,style:O,"data-testid":"input-range-thumb",children:!o&&!x&&f(H,{children:f(C,{children:X})})})]});return q?L(ue,{...Q,children:[L(pe,{children:[S!=null&&f(me,{id:_,children:S}),x&&f(fe,{"data-testid":"input-range-value",children:X})]}),Y]}):Y}u(A,"Slider");A.displayName="Slider";A.ariaLabelledByField=!0;export{te as a,ne as b,ie as c,ae as d,se as e,H as f,le as g,ce as h,de as i,ue as j,pe as k,me as l,fe as m,A as n};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as x,b,e as k}from"./chunk-BCG4MZZG.esm.js";import{b as m}from"./chunk-2V52IYQV.esm.js";import{S as s,q as p}from"./chunk-CLOAQN2O.esm.js";import{a as u}from"./chunk-JSVL6DGF.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import f from"react";import{jsx as o,jsxs as M}from"react/jsx-runtime";var C=a(({label:n=null,labelProps:h,variant:y="default",color:I,area:S,alignSelf:R,justifySelf:T,indeterminate:r=!1,ref:t,onChange:c,...i})=>{let l=f.useRef(null);f.useEffect(()=>{l.current&&(l.current.indeterminate=r)});let E=a(e=>{e.currentTarget.indeterminate=r,c==null||c(e)},"handleChange"),d=f.useCallback(e=>{l.current=e,typeof t=="function"?t(e):t&&(t.current=e)},[t]);return M(k,{variant:y,$color:I,disabled:i.disabled,area:S,alignSelf:R,justifySelf:T,children:[o(x,{...i,onChange:E,ref:d,type:"checkbox"}),o(b,{children:o(m,{icon:r?s:p,size:"small"})}),typeof n=="string"?o(u,{fontSize:"small",color:"ink.primary",...h,children:n}):n]})},"CheckboxComponent");C.displayName="Checkbox";export{C as a};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import{d as u}from"./chunk-GGICV57H.esm.js";import{c as m}from"./chunk-DKSFPJ4D.esm.js";import{a as d}from"./chunk-JWNC52FT.esm.js";import{c as p}from"./chunk-T3ANVSKR.esm.js";import{b as a}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var s=t(({theme:e,$size:o})=>e.component.select.size[o],"sizeTokens");function f(e){let o=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M2.5 4.5L6 8l3.5-3.5" stroke="${e}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(o)}")`}t(f,"chevron");function k({$variant:e,theme:o}){return e==="error"?{accent:o.colors.danger.base,text:o.colors.danger.dark,border:o.colors.danger.base}:e==="success"?{accent:o.colors.success.base,text:o.colors.success.dark,border:o.colors.success.base}:{accent:o.colors.primary.base,text:o.colors.primary.dark,border:o.colors.edge.border}}t(k,"variantColors");function $(e){let{theme:o}=e,{text:r,border:n}=k(e),c=e.$variant==="error"?"danger":e.$variant==="success"?"success":"primary";return a(["color:",";border:1px solid ",";box-shadow:",";&:hover,&:focus{box-shadow:none;border-color:",";}&:focus-visible{","}"],r,n,o.depth("level-one-minus"),n,m(o,{tone:c}))}t($,"variantStyle");function v({theme:e}){return a(["&:disabled{cursor:default;color:",";border-color:transparent;background-color:",";box-shadow:none;}"],e.colors.disabled.color,e.colors.disabled.fill)}t(v,"disabledStyle");var i=p("select").withConfig({componentId:"apollion-select"})`
|
|
2
|
-
appearance: none;
|
|
3
|
-
-webkit-appearance: none;
|
|
4
|
-
-moz-appearance: none;
|
|
5
|
-
|
|
6
|
-
display: block;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
width: ${({$width:e})=>typeof e=="number"?`${e}px`:e!=null?e:"100%"};
|
|
9
|
-
height: ${e=>s(e).height}px;
|
|
10
|
-
|
|
11
|
-
font-family: ${({theme:e})=>e.font.fontFamily.main};
|
|
12
|
-
font-size: ${({theme:e})=>e.font.fontSize.small};
|
|
13
|
-
line-height: ${({theme:e})=>e.font.lineHeight.close};
|
|
14
|
-
|
|
15
|
-
background-color: ${({theme:e})=>e.colors.surface.paper};
|
|
16
|
-
border-radius: ${({theme:e,$radius:o})=>e.border.borderRadius[o]};
|
|
17
|
-
|
|
18
|
-
/* Left padding = size token; right padding reserves room for the chevron. */
|
|
19
|
-
padding: ${e=>e.theme.spacing("zero",s(e).px)};
|
|
20
|
-
padding-right: ${e=>`calc(${e.theme.spacing(s(e).px)} + 1.25em)`};
|
|
21
|
-
|
|
22
|
-
outline: none;
|
|
23
|
-
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
transition: ${({theme:e})=>e.animation.transitions.short};
|
|
26
|
-
|
|
27
|
-
background-image: ${({theme:e})=>f(e.colors.neutral[100])};
|
|
28
|
-
background-repeat: no-repeat;
|
|
29
|
-
background-position: right ${e=>e.theme.spacing(s(e).px)} center;
|
|
30
|
-
|
|
31
|
-
${$}
|
|
32
|
-
${u}
|
|
33
|
-
${v}
|
|
34
|
-
|
|
35
|
-
/* Force readable native option colors — the OS popup inherits these. */
|
|
36
|
-
& option {
|
|
37
|
-
color: ${({theme:e})=>e.colors.ink.primary};
|
|
38
|
-
background-color: ${({theme:e})=>e.colors.surface.paper};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:disabled {
|
|
42
|
-
/* Fade the chevron in step with the disabled text. */
|
|
43
|
-
background-image: ${({theme:e})=>f(e.colors.disabled.color)};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Grid-item placement — the native root neither emits nor strips these, so
|
|
47
|
-
the factory interpolates the CSS here (the System \`styled\` withholds the
|
|
48
|
-
keys from the DOM via its \`shouldForwardProp\`). */
|
|
49
|
-
${d({})}
|
|
50
|
-
`;i.displayName="select";import{forwardRef as P}from"react";import{jsx as b}from"react/jsx-runtime";var g=P(({options:e,size:o="medium",variant:r,borderRadius:n="xs",width:c,...h},S)=>{let y=r!==void 0,x=r!=null?r:"default";return b(i,{ref:S,$size:o,$variant:x,$variantExplicit:y,$radius:n,$width:c,...h,children:e.map(l=>b("option",{value:l.value,children:l.label},String(l.value)))})});g.displayName="Select";export{i as a,g as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as i}from"./chunk-DKSFPJ4D.esm.js";import{a as h}from"./chunk-JSVL6DGF.esm.js";import{a as S}from"./chunk-2C4RPPWG.esm.js";import{a as k}from"./chunk-I47BDQKT.esm.js";import{a as C}from"./chunk-S3XZBMR2.esm.js";import{d as b}from"./chunk-RWLJNXLX.esm.js";import{b as B}from"./chunk-IK5Z5C2R.esm.js";import{b as v}from"./chunk-VCMHX5VK.esm.js";import{e as g}from"./chunk-CRSMYEKV.esm.js";import{b as p}from"./chunk-WKXEPDPZ.esm.js";import{l as m}from"./chunk-KO5FSKVM.esm.js";import{e as x}from"./chunk-QXV2TDLZ.esm.js";import{b as s,g as y}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import{forwardRef as D}from"react";function I(t="2px"){return s(["@media (forced-colors:active){&:focus-visible{outline:2px solid Highlight;outline-offset:",";}}"],t)}n(I,"forcedColorsFocusRestoreCss");var O=5,H=n(({size:t="medium",theme:o})=>{var e;let r=(e=o.component.button.size[t])!=null?e:o.component.button.size.medium;return[B({fontWeight:r.fontWeight,fontSize:r.fontSize,...r.textTransform!==void 0&&{textTransform:r.textTransform}}),v({py:r.py,px:r.px}),b({borderRadius:r.borderRadius})]},"buttonSize"),u=n((t,o)=>o==="neutral"?t.colors.quiet:t.colors[o],"buttonPalette"),T=n((t,o,r)=>u(t,o)[r],"stopOf"),l=n((t,o,r)=>p(t,e=>e.colors.getContrastColor(T(e,o,r))),"contrastInk"),a=n((t,o,r)=>{let e=p(t,c=>{var d;return m(T(c,o,r),(d=c.colors.baseLight)!=null?d:"#FFFFFF",O)});return r==="base"?g(e,"tx",o):e},"readableInk"),L=n((t,o)=>{let r=u(o,t);return s(["color:",";background:",";border-color:",";box-shadow:",";&:hover{color:",";background:",";border-color:",";box-shadow:",";}&:focus-visible{color:",";background:",";border-color:",";"," &:hover{border-color:",";}}&:active{&,&:hover,&:focus-visible{color:",";background:",";border-color:",";}}&:disabled{background:",";border-color:",";color:",";box-shadow:",";cursor:default;}"],l(o,t,"base"),r.base,r.base,e=>e.theme.depth("level-two"),l(o,t,"action"),r.action,r.action,e=>e.theme.depth("level-zero"),l(o,t,"action"),r.action,r.active,i(o,{ink:a(o,t,"base"),offset:"2px"}),r.action,l(o,t,"active"),r.active,r.light,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color,e=>e.theme.depth("level-zero"))},"ButtonContained"),M=n((t,o)=>{let r=u(o,t);return s(["background:transparent;color:",";border-color:",";&:hover{color:",";background:",";border-color:",";}&:focus-visible{color:",";background:",";border-color:",";box-shadow:",";"," &:hover{border-color:",";}}&:active{&,&:hover,&:focus-visible{background-color:transparent;color:",";border-color:",";box-shadow:",";}}&:disabled{color:",";background:",";border-color:",";cursor:default;}"],a(o,t,"base"),r.base,l(o,t,"action"),r.action,r.action,l(o,t,"action"),r.action,r.active,e=>e.theme.depth("level-two"),i(o,{ink:a(o,t,"base"),offset:"2px"}),r.action,r.dark,r.light,e=>e.theme.depth("level-two"),o.colors.disabled.color,o.colors.disabled.fill,o.colors.disabled.fill)},"ButtonOutlined"),_=n((t,o)=>{let r=u(o,t);return s(["background:transparent;color:",";border-color:transparent;border-radius:none;&:hover{color:",";text-decoration:underline;}&:focus-visible{color:",";text-decoration:underline;","}&:active{color:",";text-decoration:underline;}&:disabled{color:",";text-decoration:none;cursor:default;}"],a(o,t,"base"),a(o,t,"action"),a(o,t,"base"),i(o,{ink:a(o,t,"base"),offset:"2px"}),a(o,t,"active"),o.colors.disabled.color)},"ButtonLinked"),j=n((t,o)=>s(["background:transparent;border-color:transparent;box-shadow:none;color:",";&:hover{background:",";color:",";text-decoration:none;}&:focus-visible{background:",";","}&:active{background:",";color:",";}&:disabled{background:transparent;color:",";cursor:default;}"],a(o,t,"base"),o.colors.wash.hover,a(o,t,"action"),o.colors.wash.hover,i(o,{ink:a(o,t,"base"),offset:"1px"}),o.colors.wash.pressed,a(o,t,"active"),o.colors.disabled.color),"ButtonGhost"),V=n(({color:t,variant:o,theme:r})=>{let e;switch(o){case"outlined":e=M(t,r);break;case"linked":e=_(t,r);break;case"ghost":e=j(t,r);break;default:e=L(t,r)}return s(["&&{","}"],e)},"buttonVariant"),q=n(({fullWidth:t})=>({width:t?"100%":"fit-content"}),"isFullWidth"),A=s(["outline:0;"," cursor:pointer;transition:",";"," "," "," "," ",""],I("1px"),({theme:t})=>t.animation.transitions.short,b({borderWidth:"regular",borderStyle:"solid"}),x({gap:"xs",flexDirection:"row",alignItems:"center",justifyContent:"center"}),q,H,V),w=y(C).withConfig({componentId:"sc-12djmz6-0"})([""," ","{width:1em;height:1em;}"],A,k);import{jsx as f}from"react/jsx-runtime";var F=D(({children:t,text:o,isLoading:r,icon:e=null,iconPosition:c="left",color:d="primary",size:P="medium",variant:R="contained",fullWidth:z=!1,...W},N)=>f(w,{...W,color:d,size:P,variant:R,fullWidth:z,as:"button",ref:N,children:f(S,{loading:r,...c==="right"?{closer:e}:{opener:e},children:f(h,{fontWeight:"bold",lineHeight:"tight",fontFamily:"main",children:t||o})})}));F.displayName="Button";export{H as a,u as b,V as c,A as d,w as e,F as f};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{d as f}from"./chunk-JTXT4BH4.esm.js";import{a as i}from"./chunk-S3XZBMR2.esm.js";import{g as a}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var e={columns:"100%",rows:"100%",areas:`
|
|
2
|
-
"content"
|
|
3
|
-
`},p={xs:e};var m=a(f).attrs({medias:e}).withConfig({componentId:"sc-11xb4nx-0"})(["width:100%;height:100%;"]);import{jsx as r}from"react/jsx-runtime";var n=o(({layoutComponents:t})=>r(m,{children:r(i,{area:"content",width:"100%",justifyContent:"center",md_justifyContent:"start",children:t&&t.content&&r(t.content,{})})}),"DefaultLayout");n.displayName="DefaultLayout";export{e as a,p as b,m as c,n as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b as B}from"./chunk-VQK2V46Q.esm.js";import{a as p,b as f}from"./chunk-2V52IYQV.esm.js";import{q as R,qa as g}from"./chunk-CLOAQN2O.esm.js";import{b as P,c as T}from"./chunk-DKSFPJ4D.esm.js";import{a as v}from"./chunk-S3XZBMR2.esm.js";import{d as C}from"./chunk-T3ANVSKR.esm.js";import{b as y}from"./chunk-XI4HR75A.esm.js";import{b as u}from"./chunk-ZJET55OZ.esm.js";import{b as S}from"./chunk-WKXEPDPZ.esm.js";import{l as x}from"./chunk-KO5FSKVM.esm.js";import{b as l,f as w,g as I}from"./chunk-AXUWC2WH.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";function _(){return l(["color:var(--dark-color);border-color:var(--border-color);"," &:focus,&:hover{","}&:focus-visible{","}&:focus + ","{color:var(--base-color);}"],u({deep:-1}),u({deep:0}),({theme:o})=>T(o,{ink:"var(--focus-ring)"}),p)}c(_,"inputVariantStyle");var j=l(["&::placeholder{color:",";}&:disabled{&::placeholder{color:var(--disabled-color);}}"],({theme:o})=>o.colors.ink.muted),q=l(["&:disabled,&:read-only{border:1px solid var(--disabled-bg);background-color:var(--disabled-bg);color:var(--disabled-color);}&:read-only{","}"],u({deep:0}));function G({theme:o,$variantExplicit:r}){var e,i,n;if(r)return null;let t=(n=(i=(e=o.colors.danger)==null?void 0:e.base)!=null?i:o.colors.baseDark)!=null?n:"#000";return l(["&:user-invalid{border-color:",";}"],t)}c(G,"userInvalidBorderStyle");function J({iconPosition:o}){return o==="left"?l(["& ~ ",",& ~ ","{left:1em;right:unset;}"],a,p):null}c(J,"invertIconPosition");var K=l(["&:disabled ~ ","{color:var(--disabled-color);}&:disabled ~ ","{pointer-events:none;","}& ~ ","{width:intrinsic;","}& ~ ",",& ~ ","{color:var(--icon-color);z-index:1;position:absolute;align-self:center;right:1em;& > g{fill:var(--icon-color);}}"],p,a,y(()=>({bgColor:"wash.hover"})),a,y(()=>({bgColor:"wash.pressed"})),a,p),W=I(C.input).attrs(o=>({fontFamily:"main",lineHeight:"tight",bgColor:"surface.paper",borderWidth:"thin",borderStyle:"solid",px:"small",...o})).withConfig({componentId:"sc-8elel8-0"})(["-webkit-appearance:none;display:block;width:100%;outline:none;transition:",";"," "," ",";",";",";",";&[type='date']::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;opacity:0;}&[type='number']::-webkit-outer-spin-button,&[type='number']::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&[type='number']{-moz-appearance:textfield;}"],({theme:o})=>o.animation.transitions.short,_,G,K,J,q,j),h=I(v).withConfig({componentId:"sc-8elel8-1"})(({theme:o,variant:r})=>{let t=o.colors.primary;r==="error"?t=o.colors.danger:r==="success"&&(t=o.colors.success);let{base:e,dark:i}=t;return{display:"flex",position:"relative",isolation:"isolate","--base-color":e,"--focus-ring":P(o,r==="error"?"danger":r==="success"?"success":"primary"),"--dark-color":r==="default"?o.colors.ink.primary:S(o,n=>{var s,d;return x((d=(s=n.colors[r==="error"?"danger":"success"])==null?void 0:s.dark)!=null?d:n.colors.ink.primary,n.colors.surface.paper)}),"--disabled-bg":o.colors.disabled.fill,"--disabled-color":o.colors.disabled.color,"--icon-color":r==="default"?o.colors.ink.muted:e,"--border-color":r==="default"?o.colors.edge.border:e}});h.displayName="input";import{forwardRef as L}from"react";import{jsx as m}from"react/jsx-runtime";function D({icon:o,variant:r,clearable:t,clearLabel:e,reset:i,value:n,readOnly:s}){return t&&i&&n&&!s?m(B,{p:"micro",type:"button",borderWidth:"none",variant:"linked",label:e!=null?e:"Limpar",onClick:i,"data-testid":"input-reset-button",icon:m(f,{size:"small",color:"grayscale.0",icon:g})}):o||(r==="error"?m(f,{icon:g,"data-testid":"input-icon-error"}):r==="success"?m(f,{icon:R,"data-testid":"input-icon-success"}):null)}c(D,"getIconComponent");import{jsx as O,jsxs as Q}from"react/jsx-runtime";var E=L(({value:o,variant:r,iconPosition:t="right",size:e="medium",...i},n)=>{let{disabled:s,width:d,style:F,area:z,alignSelf:A,justifySelf:V,clearLabel:U,...H}=i,M=w(),N=r!==void 0,b=r!=null?r:"default",k=D({...i,value:o,variant:b,size:e,iconPosition:t}),$={...M.component.input.size[e],...k&&{[t==="right"?"pr":"pl"]:"xl"}};return Q(h,{variant:b,width:d,flexDirection:"row",area:z,alignSelf:A,justifySelf:V,children:[O(W,{iconPosition:t,disabled:s,variant:b,$variantExplicit:N,...$,...H,...o!==void 0&&{value:o},style:F,ref:n}),k]})});E.displayName="Input";export{_ as a,j as b,q as c,G as d,J as e,W as f,h as g,E as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as O,c as k,d as D,e as K,f as A,h as C,i as z,j as _,k as j,m as B,n as N,o as U,p as Z}from"./chunk-H2YBLEHV.esm.js";import{b as c,c as q,d as G,e as J,f as Q}from"./chunk-JA7HYODC.esm.js";import{h as H}from"./chunk-GGICV57H.esm.js";import{b as x}from"./chunk-2V52IYQV.esm.js";import{p as L}from"./chunk-CLOAQN2O.esm.js";import{c as F}from"./chunk-KZTG5TDM.esm.js";import{g as R}from"./chunk-UGIYAS67.esm.js";import{a as S}from"./chunk-UCNKTKY7.esm.js";import{f as P}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import{forwardRef as ce,useMemo as m,useState as X}from"react";function W(e,n){let i={value:n,name:e!=null?e:"",type:"text"};return{target:i,currentTarget:i,type:"change",bubbles:!0,cancelable:!0,defaultPrevented:!1,isDefaultPrevented:t(()=>!1,"isDefaultPrevented"),isPropagationStopped:t(()=>!1,"isPropagationStopped"),isTrusted:!1,persist:t(()=>{},"persist"),preventDefault:t(()=>{},"preventDefault"),stopPropagation:t(()=>{},"stopPropagation"),timeStamp:Date.now(),nativeEvent:{target:i},eventPhase:0}}t(W,"buildSyntheticEvent");import{Fragment as ye,jsx as a,jsxs as Me}from"react/jsx-runtime";var me="yyyy-MM-dd";function ge(e){if(!e)return;let n=G(e);return q(n)?n:void 0}t(ge,"toDate");function he(e,n,i){let o=[];if(n&&o.push({before:n}),i&&o.push({after:i}),e&&o.push(...Array.isArray(e)?e:[e]),o.length!==0)return o.length===1?o[0]:o}t(he,"resolveDisabled");var Y=ce(({value:e,onChange:n,onValueChange:i,locale:o=J,minDate:s,maxDate:l,disabledDates:g,displayFormat:h="dd/MM/yyyy",name:y,placeholder:$,disabled:M,readOnly:v,motion:V="scale",...ee},u)=>{let[f,I]=X(!1),{mounted:te,state:E,ref:ne}=F(f),oe=P(),p=m(()=>ge(e),[e]),re=m(()=>p?c(p,h,{locale:o}):"",[p,h,o]),ie=m(()=>he(g,s,l),[g,s,l]),[b,ae]=X(null),w=U(b,f),{floatingStyles:se,context:d,refs:le,placement:pe}=j({open:f,onOpenChange:I,strategy:w.strategy,elements:{reference:b},placement:"bottom-start",middleware:[A(4),k(),C({padding:8})],whileElementsMounted:O}),{getReferenceProps:ue,getFloatingProps:de}=B([z(d,{enabled:!M&&!v}),_(d,{outsidePress:!0,escapeKey:!0}),N(d,{role:"dialog"})]),fe=t(r=>{if(!r)return;let T=c(r,me);i==null||i(T),n==null||n(W(y,T)),I(!1)},"handleSelect");return Me(ye,{children:[a(H,{...ee,ref:r=>{typeof u=="function"?u(r):u&&(u.current=r),ae(r)},type:"text",role:"combobox",disabled:M,readOnly:v,name:y,placeholder:$,value:re,onChange:t(r=>{},"handleInputChange"),inputMode:"none",autoComplete:"off",icon:a(x,{icon:L}),iconPosition:"right",...ue({onKeyDown:t(r=>{r.key.length===1&&r.key!==" "&&r.preventDefault()},"handleKeyDown")})}),te&&a(K,{root:w.root,children:a(D,{context:d,modal:!1,initialFocus:-1,children:a("div",{ref:le.setFloating,style:{...se,zIndex:R(oe).dropdown,...E==="closing"&&{pointerEvents:"none"}},...de(),children:a(S,{ref:ne,"data-state":E,p:"xs",borderRadius:"xs",deep:3,motion:V,style:{transformOrigin:Z(pe)},children:a(Q,{mode:"single",selected:p,onSelect:fe,locale:o,defaultMonth:p,disabled:ie,captionLayout:"dropdown",startMonth:s!=null?s:new Date(1970,0,1),endMonth:l!=null?l:new Date(2100,11,31)})})})})})]})});Y.displayName="InputDate";export{Y as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-KT4BKJVV.esm.js";import{a as i}from"./chunk-I6XZCSTD.esm.js";import{c as t,g as o}from"./chunk-AXUWC2WH.esm.js";var S=t(["to{transform:rotate(360deg);}"]),g=t(["0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}"]),d=o(i).withConfig({componentId:"sc-1teioay-0"})(["animation:"," var(--apollion-motion-indicator-loop,2000ms) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1)) infinite;"],S),p=o(n).withConfig({componentId:"sc-1teioay-1"})(["fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;animation:"," var(--apollion-motion-indicator-pulse,1500ms) var(--apollion-motion-easing-standard,cubic-bezier(0.42,0,0.58,1)) infinite;@media (prefers-reduced-motion:reduce){animation:none;stroke-dasharray:90,150;stroke-dashoffset:-35;}"],g),l=2*Math.PI*20,x=t(["from{stroke-dashoffset:0;}to{stroke-dashoffset:",";}"],l),m=o(i).withConfig({componentId:"sc-1teioay-2"})(["transform:rotate(-90deg);"]),f=o(n).withConfig({componentId:"sc-1teioay-3"})(["fill:none;stroke:currentColor;stroke-width:4;opacity:0.2;"]),h=o(n).withConfig({componentId:"sc-1teioay-4"})(["fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-dasharray:",";animation:"," var(--countdown-duration) var(--apollion-motion-easing-linear,cubic-bezier(0,0,1,1)) forwards;"],l,x);import{forwardRef as v}from"react";import{jsx as r,jsxs as b}from"react/jsx-runtime";var u=v(({size:w,label:a="Carregando",variant:y="indeterminate",duration:C=15e3,cycle:k,...s},c)=>{let e=w||"1em";return y==="countdown"?b(m,{as:"svg",viewBox:"0 0 50 50",role:"timer","aria-label":a,...s,width:e,height:e,ref:c,children:[r(f,{cx:"25",cy:"25",r:"20"}),r(h,{cx:"25",cy:"25",r:"20",style:{"--countdown-duration":`${C}ms`}},k)]}):r(d,{as:"svg",viewBox:"0 0 50 50",role:"status","aria-label":a,...s,width:e,height:e,ref:c,children:r(p,{cx:"25",cy:"25",r:"20"})})});u.displayName="Spinner";export{d as a,p as b,l as c,m as d,f as e,h as f,u as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as s}from"./chunk-5YWORBNJ.esm.js";import{b as p}from"./chunk-JLQDS5TS.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import{jsx as i}from"react/jsx-runtime";var x=100;function o({width:e="100%",height:t=13,...m}){let r=typeof e=="number"?e:x;return i(s,{...m,width:e,height:t,viewBox:`0 0 ${r} ${t}`,preserveAspectRatio:"none",children:i(p,{x:0,y:0,width:r,height:t})})}n(o,"TextPresetComponent");o.displayName="TextPreset";export{o as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as fo}from"./chunk-2FQC32AA.esm.js";import{a as uo}from"./chunk-BE2JDTVA.esm.js";import{a as ao}from"./chunk-E2U6IFPB.esm.js";import{a as co,b as lo}from"./chunk-DKSFPJ4D.esm.js";import{g as so}from"./chunk-UGIYAS67.esm.js";import{g as po}from"./chunk-I47BDQKT.esm.js";import{b as io}from"./chunk-QEB4VTKV.esm.js";import{b as no}from"./chunk-WKXEPDPZ.esm.js";import{c as U,e as W,g as oo,h as eo,o as ro}from"./chunk-6G22RNUO.esm.js";import{a as j}from"./chunk-J6F4PMW4.esm.js";import{f as to}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var Oo=ro((o,s)=>{var y;let a=(y=s.component.inputSelect.size[o!=null?o:"medium"])!=null?y:s.component.inputSelect.size.medium;return{padding:s.spacing(a.py,a.px),fontSize:s.font.fontSize[a.fontSize],...a.lineHeight!==void 0&&{lineHeight:s.font.lineHeight[a.lineHeight]},borderRadius:s.border.borderRadius[a.borderRadius],height:a.height}});function mo(o,s,a={},y="scale"){var O,x,A,z,h,E,M,I,w,H;let c=(O=o.colors.baseDark)!=null?O:"#000",S=(x=o.colors.neutral)!=null?x:{},{defaultBorderColor:R,dark:p}=(()=>{var e,r,n,i,d,u,f,l,b,g,V,v;switch(s){case"error":return{dark:(r=(e=o.colors.danger)==null?void 0:e.dark)!=null?r:c,defaultBorderColor:(i=(n=o.colors.danger)==null?void 0:n.base)!=null?i:c};case"success":return{dark:(u=(d=o.colors.success)==null?void 0:d.dark)!=null?u:c,defaultBorderColor:(l=(f=o.colors.success)==null?void 0:f.base)!=null?l:c};default:return{dark:(g=(b=o.colors.primary)==null?void 0:b.dark)!=null?g:c,defaultBorderColor:(v=(V=o.colors.edge)==null?void 0:V.border)!=null?v:c}}})(),T=(z=(A=o.colors.ink)==null?void 0:A.muted)!=null?z:c,L=(E=(h=o.colors.wash)==null?void 0:h.hover)!=null?E:c,F=lo(o,s==="error"?"danger":s==="success"?"success":"primary"),k=o.colors.disabled.color,P=o.colors.disabled.fill,B=o.colors.muted,$=(I=(M=o.colors.ink)==null?void 0:M.secondary)!=null?I:c,G=(H=(w=o.colors.ink)==null?void 0:w.secondary)!=null?H:c,D=io({motion:y})({theme:o}),C=o.spacing("small"),m=o.spacing("micro");return{container:t((e,r)=>({...e,width:r.selectProps.width,...a,fontFamily:o.font.fontFamily.main}),"container"),control:t((e,{isDisabled:r,selectProps:n})=>{var u,f,l;let i=r?"transparent":R,d=Oo(n.size,o);return{...e,...d,borderColor:i,borderWidth:1,minHeight:void 0,background:r?P:(l=(f=(u=o.colors.surface)==null?void 0:u.paper)!=null?f:o.colors.baseLight)!=null?l:"#fff",boxShadow:o.depth("level-one-minus"),"&:hover, &:focus":{boxShadow:"none",borderColor:i},"&:has(input:focus-visible)":{outline:`${co} solid ${F}`,outlineOffset:2}}},"control"),valueContainer:t((e,{isMulti:r})=>{let n=r?`calc(${m} * -1) 0`:0;return{...e,margin:n,padding:0,lineHeight:1}},"valueContainer"),input:t(e=>{var r,n;return{...e,padding:0,margin:0,fontSize:o.font.fontSize.small,color:(n=(r=o.colors.ink)==null?void 0:r.primary)!=null?n:p}},"input"),singleValue:t(e=>{var r,n;return{...e,color:(n=(r=o.colors.ink)==null?void 0:r.primary)!=null?n:p}},"singleValue"),multiValue:t(e=>({...e,margin:m,fontSize:o.font.fontSize.micro,background:B,"& svg":{color:G,strokeWidth:1},"& > div:first-of-type":{color:$}}),"multiValue"),multiValueLabel:t(e=>({...e,padding:o.spacing(0,"micro"),lineHeight:o.font.lineHeight.regular}),"multiValueLabel"),multiValueRemove:t(e=>({...e,background:L,cursor:"pointer","&:hover":{background:P}}),"multiValueRemove"),placeholder:t((e,{isDisabled:r})=>({...e,color:r?k:p}),"placeholder"),indicatorsContainer:t((e,{isDisabled:r})=>({...e,lineHeight:1,display:"inline-flex",alignItems:"center",alignSelf:"center","& > div":{paddingTop:0,paddingBottom:0},"& svg":{color:r?k:T,fontSize:"inherit",width:"1em",height:"1em"}}),"indicatorsContainer"),indicatorSeparator:t((e,{isDisabled:r})=>({...e,margin:0,height:"1rem",alignSelf:"center",borderColor:r?k:T,backgroundColor:r?k:T}),"indicatorSeparator"),menu:t((e,r)=>{var n,i;return{...e,...D,transformOrigin:(r==null?void 0:r.placement)==="top"?"center bottom":"center top",backgroundColor:(i=(n=o.colors.surface)==null?void 0:n.overlay)!=null?i:o.colors.baseLight,borderRadius:8,overflow:"hidden",boxShadow:o.depth("level-three"),marginTop:m,padding:0,zIndex:so(o).dropdown}},"menu"),menuList:t(e=>{var r,n,i,d;return{...e,borderRadius:8,border:`1px solid ${(n=(r=o.colors.edge)==null?void 0:r.hairline)!=null?n:o.colors.baseLight}`,padding:0,"& div:not(:first-of-type)":{borderTop:`1px solid ${(d=(i=o.colors.edge)==null?void 0:i.hairline)!=null?d:o.colors.baseLight}`}}},"menuList"),option:t((e,r)=>{var i,d,u,f,l,b,g,V;let n="transparent";return r.isSelected&&(n=(d=(i=o.colors.wash)==null?void 0:i.selected)!=null?d:n),r.isFocused&&(n=(f=(u=o.colors.wash)==null?void 0:u.hover)!=null?f:n),{...e,color:(b=(l=o.colors.ink)==null?void 0:l.primary)!=null?b:c,backgroundColor:n,cursor:"pointer",textAlign:"left",padding:C,lineHeight:"1.2rem","&:active":{color:no(o,v=>{var J,K,Q,X,Y;return(Y=(X=(Q=v.colors).getContrastColor)==null?void 0:X.call(Q,(K=(J=v.colors.primary)==null?void 0:J.base)!=null?K:"#000"))!=null?Y:c}),backgroundColor:(V=(g=o.colors.primary)==null?void 0:g.base)!=null?V:c}}},"option"),clearIndicator:t(e=>({...e,cursor:"pointer"}),"clearIndicator"),dropdownIndicator:t(e=>({...e,cursor:"pointer",paddingRight:0}),"dropdownIndicator")}}t(mo,"createComponentStyle");import{forwardRef as Io,useId as wo,useImperativeHandle as xo,useMemo as ho,useState as Vo}from"react";import go,{components as N}from"react-select";import _ from"react-select/async";var Z=go;import{jsx as yo}from"react/jsx-runtime";function So(o){return yo(N.DropdownIndicator,{...o,children:yo(po,{size:"1.5rem",color:"ink.muted","aria-hidden":!0})})}t(So,"DropdownIndicator");import{useCallback as Ro,useRef as To}from"react";function q(o,s){if(!(!o||eo(s))){if(W(o))return o;if(oo(o))return s.find(a=>a.value===o);if(Array.isArray(o)){if(o.every(a=>typeof a=="string"))return s.filter(a=>o.includes(a.value));if(o.every(W))return o}}}t(q,"getDefaultValue");function bo(o){let s=To(o),{active:a,disable:y,enable:c}=uo();ao(()=>{s.current=o});let S=Ro(async R=>{try{c();let p=await s.current(R);if(Array.isArray(p))return p;throw new Error('"LoadOptions" prop did not return the expected result')}catch(p){j.error(p==null?void 0:p.message)}finally{y()}},[c,y]);return[a,S]}t(bo,"useLoadOptions");import{jsx as ko}from"react/jsx-runtime";function vo(o,s){let{loadingPlaceholder:a="Carregando (aguarde)...",emptyMessage:y="Sem Op\xE7\xF5es",isLoading:c,onChange:S,loadOptions:R,onItemSelect:p,variant:T,style:L,readOnly:F,value:k,hideSelectedOptions:P=!1,menuPlacement:B="bottom",placeholder:$="Selecione...",size:G="medium",motion:D="scale",...C}=o,[m,O]=Vo(()=>{let{options:n,defaultValue:i}=C;return q(i||k,n)}),x=t(n=>{O(n||[]);let i=U(n);if(S&&S(n?i:[]),C.isMulti&&p){let d=Array.isArray(m)&&m.length,u=i.length,f=t(()=>{let l=m||[];S&&S(l),O(l)},"cancelAction");if(u===0)m.forEach(l=>{p({option:l,type:"REMOVE",cancelAction:t(()=>O(b=>{let g=[...b,l];return S&&S(g),g}),"cancelAction")})});else if(u>d)p({option:i[u-1],type:"ADD",cancelAction:f});else if(u<d){let l=m.find(b=>!i.some(g=>g.value===b.value));p({option:l,type:"REMOVE",cancelAction:f})}}},"onChangeValue");fo(()=>{O(k||[])},[k]),xo(s,()=>({setValue:t(n=>{x(q(n,C.options))},"setValue")}));let[A,z]=bo(R),h=to(),E=ho(()=>mo(h,T,L,D),[h,T,L,D]),{id:M,inputId:I,instanceId:w,...H}=C,e=wo(),r={ref:s,...H,instanceId:w!=null?w:e,inputId:I!=null?I:M,size:G,hideSelectedOptions:P,menuPlacement:B,placeholder:$,...(c||A)&&{components:{DropdownIndicator:So,LoadingIndicator:null},placeholder:a,isDisabled:!0},closeMenuOnSelect:!C.isMulti,styles:E,value:m,noOptionsMessage:t(()=>y,"noOptionsMessage"),onChange:x,...F&&{isClearable:!1,isSearchable:!1,openMenuOnClick:!1,menuIsOpen:!1}};return R?ko(_,{...r,cacheOptions:!0,defaultOptions:!0,loadOptions:z}):ko(Z,{...r})}t(vo,"InputSelectComponent");var Co=Io(vo);Co.displayName="InputSelect";export{mo as a,Co as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as q}from"./chunk-OAMAE3G7.esm.js";import{a as J,b as K}from"./chunk-DKSFPJ4D.esm.js";import{b as u}from"./chunk-WKXEPDPZ.esm.js";import{l as E}from"./chunk-KO5FSKVM.esm.js";import{b as G,g as V}from"./chunk-AXUWC2WH.esm.js";import{a as A}from"./chunk-GZONWSRB.esm.js";import{forwardRef as or}from"react";var s=V(q).attrs({display:"inline-block"}).withConfig({componentId:"sc-1ihglem-0"})(["",""],({theme:r})=>{var b,g,y,m,x,w,h,v,_,k,C,R,S,F,W,z,D,I,P,j,B,L,N,O,H,M,T;let t=(b=r.colors.baseDark)!=null?b:"#000",l=(g=r.colors.neutral)!=null?g:{},i=(m=(y=r.colors.primary)==null?void 0:y.base)!=null?m:t,$=u(r,d=>{var o,n,a,e;return E((a=(n=(o=d.colors.primary)==null?void 0:o.base)!=null?n:d.colors.baseDark)!=null?a:"#000",(e=d.colors.baseLight)!=null?e:"#FFFFFF")}),c=(w=(x=r.colors.primary)==null?void 0:x.light)!=null?w:t,rr=(v=(h=r.colors.primary)==null?void 0:h.action)!=null?v:t,p=(C=(k=(_=r.colors.disabled)==null?void 0:_.color)!=null?k:l[70])!=null?C:t,f=A(d=>u(r,o=>{var n,a,e,U;return(U=(e=(a=o.colors).getContrastColor)==null?void 0:e.call(a,(n=d(o))!=null?n:"#000"))!=null?U:t}),"contrastOn");return G(["--rdp-accent-color:",";--rdp-accent-background-color:",";--rdp-day-height:2.25rem;--rdp-day-width:2.25rem;--rdp-day_button-border-radius:",";display:inline-block;width:fit-content;font-family:",";color:",";padding:",";.rdp-root{--rdp-outline:"," solid ",";--rdp-outline-offset:2px;position:relative;}.rdp-months{display:flex;flex-wrap:wrap;gap:",";}.rdp-month_caption{display:flex;align-items:center;justify-content:center;padding:"," 0 ",";font-size:",";font-weight:",";text-transform:capitalize;color:",";}.rdp-nav{position:absolute;top:",";right:0;display:flex;gap:",";}.rdp-dropdowns{display:flex;align-items:center;gap:",";}.rdp-dropdown_root{position:relative;display:inline-flex;align-items:center;}.rdp-dropdown{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;border:none;appearance:none;cursor:pointer;}.rdp-dropdown_root .rdp-caption_label{display:inline-flex;align-items:center;gap:",";padding:2px ",";border:1px solid ",";border-radius:",";background:",";white-space:nowrap;}.rdp-caption_label .rdp-chevron{width:0.625rem;height:0.625rem;flex-shrink:0;fill:currentColor;}.rdp-button_previous .rdp-chevron,.rdp-button_next .rdp-chevron{width:0.875rem;height:0.875rem;fill:currentColor;}.rdp-month_caption:has(.rdp-dropdowns){justify-content:flex-start;padding-right:4.5rem;}.rdp-button_previous,.rdp-button_next{width:1.75rem;height:1.75rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid ",";border-radius:",";background:",";color:",";cursor:pointer;transition:",";&:hover:not(:disabled){border-color:",";color:",";}&:disabled{color:",";cursor:default;}&:focus-visible{outline:var(--rdp-outline);outline-offset:var(--rdp-outline-offset);}}.rdp-dropdown_root:has(.rdp-dropdown:focus-visible) .rdp-caption_label{outline:var(--rdp-outline);outline-offset:var(--rdp-outline-offset);}.rdp-weekdays{display:grid;grid-template-columns:repeat(7,var(--rdp-day-width));}.rdp-weekday{width:var(--rdp-day-width);height:1.75rem;display:inline-flex;align-items:center;justify-content:center;font-size:",";font-weight:",";color:",";text-transform:uppercase;}.rdp-week{display:grid;grid-template-columns:repeat(7,var(--rdp-day-width));}.rdp-day{width:var(--rdp-day-width);height:var(--rdp-day-height);padding:0;}.rdp-day_button{width:100%;height:100%;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:var(--rdp-day_button-border-radius);background:transparent;color:inherit;font-size:",";cursor:pointer;transition:",";&:hover:not(:disabled){background:",";color:",";}&:focus-visible{outline:var(--rdp-outline);outline-offset:var(--rdp-outline-offset);}&:disabled{cursor:default;color:",";}}.rdp-today:not(.rdp-outside):not(.rdp-selected) .rdp-day_button{border-color:",";color:",";font-weight:",";}.rdp-selected .rdp-day_button,.rdp-selected .rdp-day_button:hover:not(:disabled){background:",";color:",";border-color:",";}.rdp-outside .rdp-day_button{color:",";}.rdp-disabled .rdp-day_button,.rdp-disabled .rdp-day_button:hover{color:",";background:transparent;cursor:default;}.rdp-hidden{visibility:hidden;}.rdp-range_middle .rdp-day_button{background:",";color:",";border-radius:0;}.rdp-range_start .rdp-day_button{border-top-right-radius:0;border-bottom-right-radius:0;}.rdp-range_end .rdp-day_button{border-top-left-radius:0;border-bottom-left-radius:0;}"],i,c,r.border.borderRadius.micro,r.font.fontFamily.main,(S=(R=r.colors.ink)==null?void 0:R.secondary)!=null?S:t,r.spacing("xs"),J,K(r),r.spacing("medium"),r.spacing("xs"),r.spacing("small"),r.font.fontSize.small,r.font.fontWeight.bold,(W=(F=r.colors.ink)==null?void 0:F.secondary)!=null?W:t,r.spacing("xs"),r.spacing("micro"),r.spacing("small"),r.spacing("micro"),r.spacing("xs"),(D=(z=r.colors.edge)==null?void 0:z.border)!=null?D:t,r.border.borderRadius.micro,(P=(I=r.colors.surface)==null?void 0:I.paper)!=null?P:"transparent",(B=(j=r.colors.edge)==null?void 0:j.border)!=null?B:t,r.border.borderRadius.micro,(N=(L=r.colors.surface)==null?void 0:L.paper)!=null?N:"transparent",(H=(O=r.colors.ink)==null?void 0:O.secondary)!=null?H:t,r.animation.transitions.short,i,i,p,r.font.fontSize.micro,r.font.fontWeight.bold,(T=(M=r.colors.ink)==null?void 0:M.muted)!=null?T:t,r.font.fontSize.small,r.animation.transitions.short,c,f(d=>{var o;return(o=d.colors.primary)==null?void 0:o.light}),p,rr,$,r.font.fontWeight.bold,i,f(d=>{var o;return(o=d.colors.primary)==null?void 0:o.base}),i,p,p,c,f(d=>{var o;return(o=d.colors.primary)==null?void 0:o.light}))});s.displayName="Calendar";import{format as cr,isValid as fr,parse as ur,parseISO as br}from"date-fns";import{enUS as yr,ptBR as Q}from"date-fns/locale";import{DayPicker as X}from"react-day-picker";import{jsx as Y}from"react/jsx-runtime";var Z=or(({locale:r=Q,...t},l)=>Y(s,{ref:l,children:Y(X,{locale:r,...t})}));Z.displayName="Calendar";export{s as a,cr as b,fr as c,br as d,Q as e,Z as f};
|