@duro-app/ui 5.11.0 → 5.13.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/dist/Table-Bms2ftt3.js +1694 -0
- package/dist/Table-Bms2ftt3.js.map +1 -0
- package/dist/compiler-runtime-BuugS4D0.js.map +1 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/AppShell/native.css.d.ts +53 -0
- package/dist/components/AppShell/native.css.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +2 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/styles.css.d.ts +1 -0
- package/dist/components/Button/styles.css.d.ts.map +1 -1
- package/dist/components/Callout/Callout.d.ts.map +1 -1
- package/dist/components/Callout/styles.css.d.ts +3 -0
- package/dist/components/Callout/styles.css.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
- package/dist/components/DetailPanel/DetailPanel.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts +2 -17
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +4 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/components/Dialog/native.css.d.ts +82 -0
- package/dist/components/Dialog/native.css.d.ts.map +1 -0
- package/dist/components/Dialog/parts.css.d.ts +82 -0
- package/dist/components/Dialog/parts.css.d.ts.map +1 -0
- package/dist/components/Dialog/parts.d.ts +35 -0
- package/dist/components/Dialog/parts.d.ts.map +1 -0
- package/dist/components/Dialog/styles.css.d.ts +1 -74
- package/dist/components/Dialog/styles.css.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +7 -35
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.meta.d.ts.map +1 -1
- package/dist/components/Drawer/DrawerScroll.stories.d.ts.map +1 -1
- package/dist/components/Drawer/DrawerSnap.stories.d.ts +20 -0
- package/dist/components/Drawer/DrawerSnap.stories.d.ts.map +1 -0
- package/dist/components/Drawer/native.css.d.ts +55 -0
- package/dist/components/Drawer/native.css.d.ts.map +1 -0
- package/dist/components/Drawer/parts.css.d.ts +96 -0
- package/dist/components/Drawer/parts.css.d.ts.map +1 -0
- package/dist/components/Drawer/parts.d.ts +56 -0
- package/dist/components/Drawer/parts.d.ts.map +1 -0
- package/dist/components/Drawer/sheetPhysics.d.ts +56 -0
- package/dist/components/Drawer/sheetPhysics.d.ts.map +1 -0
- package/dist/components/Drawer/styles.css.d.ts +15 -58
- package/dist/components/Drawer/styles.css.d.ts.map +1 -1
- package/dist/components/Drawer/touchInput.d.ts +35 -0
- package/dist/components/Drawer/touchInput.d.ts.map +1 -0
- package/dist/components/Drawer/useDrawerRoot.d.ts +33 -0
- package/dist/components/Drawer/useDrawerRoot.d.ts.map +1 -0
- package/dist/components/Drawer/useSheetHeights.d.ts +7 -0
- package/dist/components/Drawer/useSheetHeights.d.ts.map +1 -0
- package/dist/components/Drawer/useSwipeDismiss.d.ts +13 -2
- package/dist/components/Drawer/useSwipeDismiss.d.ts.map +1 -1
- package/dist/components/Grid/styles.css.d.ts +1 -0
- package/dist/components/Grid/styles.css.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts +3 -9
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/Icon/geometry.d.ts +60 -0
- package/dist/components/Icon/geometry.d.ts.map +1 -0
- package/dist/components/Icon/types.d.ts +15 -0
- package/dist/components/Icon/types.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +5 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/styles.css.d.ts +1 -0
- package/dist/components/Input/styles.css.d.ts.map +1 -1
- package/dist/components/LinkButton/styles.css.d.ts +1 -0
- package/dist/components/LinkButton/styles.css.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts +7 -1
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Menu/native.css.d.ts +14 -0
- package/dist/components/Menu/native.css.d.ts.map +1 -0
- package/dist/components/Menu/useMenuOpen.d.ts +16 -0
- package/dist/components/Menu/useMenuOpen.d.ts.map +1 -0
- package/dist/components/Menu/useMenuRoot.d.ts +3 -6
- package/dist/components/Menu/useMenuRoot.d.ts.map +1 -1
- package/dist/components/Meter/styles.css.d.ts +1 -0
- package/dist/components/Meter/styles.css.d.ts.map +1 -1
- package/dist/components/PageShell/styles.css.d.ts +2 -0
- package/dist/components/PageShell/styles.css.d.ts.map +1 -1
- package/dist/components/Popover/native.css.d.ts +11 -0
- package/dist/components/Popover/native.css.d.ts.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -17
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts +3 -0
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
- package/dist/components/RadioGroup/group.d.ts +31 -0
- package/dist/components/RadioGroup/group.d.ts.map +1 -0
- package/dist/components/RadioGroup/styles.css.d.ts +10 -0
- package/dist/components/RadioGroup/styles.css.d.ts.map +1 -1
- package/dist/components/ScrollArea/styles.css.d.ts +1 -0
- package/dist/components/ScrollArea/styles.css.d.ts.map +1 -1
- package/dist/components/SideNav/Chevron.d.ts +4 -0
- package/dist/components/SideNav/Chevron.d.ts.map +1 -0
- package/dist/components/SideNav/SideNav.d.ts.map +1 -1
- package/dist/components/SideNav/styles.css.d.ts +6 -0
- package/dist/components/SideNav/styles.css.d.ts.map +1 -1
- package/dist/components/SideNav/types.d.ts +6 -0
- package/dist/components/SideNav/types.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.d.ts +2 -6
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.types.d.ts +6 -0
- package/dist/components/Spinner/Spinner.types.d.ts.map +1 -0
- package/dist/components/Spinner/ring.css.d.ts +39 -0
- package/dist/components/Spinner/ring.css.d.ts.map +1 -0
- package/dist/components/Spinner/styles.css.d.ts +1 -28
- package/dist/components/Spinner/styles.css.d.ts.map +1 -1
- package/dist/components/SplitPane/SplitPane.d.ts +38 -0
- package/dist/components/SplitPane/SplitPane.d.ts.map +1 -0
- package/dist/components/SplitPane/SplitPane.meta.d.ts +3 -0
- package/dist/components/SplitPane/SplitPane.meta.d.ts.map +1 -0
- package/dist/components/SplitPane/SplitPane.stories.d.ts +17 -0
- package/dist/components/SplitPane/SplitPane.stories.d.ts.map +1 -0
- package/dist/components/SplitPane/styles.css.d.ts +78 -0
- package/dist/components/SplitPane/styles.css.d.ts.map +1 -0
- package/dist/components/StatusIcon/StatusIcon.d.ts.map +1 -1
- package/dist/components/StatusIcon/styles.css.d.ts +3 -0
- package/dist/components/StatusIcon/styles.css.d.ts.map +1 -1
- package/dist/components/Switch/Switch.d.ts +2 -18
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/Switch.types.d.ts +18 -0
- package/dist/components/Switch/Switch.types.d.ts.map +1 -0
- package/dist/components/TableOfContents/styles.css.d.ts +1 -0
- package/dist/components/TableOfContents/styles.css.d.ts.map +1 -1
- package/dist/components/Tabs/TabLayout.d.ts +7 -0
- package/dist/components/Tabs/TabLayout.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tabs/indicator.d.ts +28 -0
- package/dist/components/Tabs/indicator.d.ts.map +1 -0
- package/dist/components/Tabs/styles.css.d.ts +4 -0
- package/dist/components/Tabs/styles.css.d.ts.map +1 -1
- package/dist/components/Tabs/useTabIndicator.d.ts +4 -0
- package/dist/components/Tabs/useTabIndicator.d.ts.map +1 -0
- package/dist/components/Tabs/useTabKeys.d.ts +13 -0
- package/dist/components/Tabs/useTabKeys.d.ts.map +1 -0
- package/dist/components/Tag/RemoveGlyph.d.ts +4 -0
- package/dist/components/Tag/RemoveGlyph.d.ts.map +1 -0
- package/dist/components/Tag/Tag.d.ts +2 -24
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/styles.css.d.ts +8 -0
- package/dist/components/Tag/styles.css.d.ts.map +1 -1
- package/dist/components/Tag/types.d.ts +39 -0
- package/dist/components/Tag/types.d.ts.map +1 -0
- package/dist/components/Textarea/styles.css.d.ts +1 -0
- package/dist/components/Textarea/styles.css.d.ts.map +1 -1
- package/dist/components/Toast/ToastProvider.d.ts +2 -21
- package/dist/components/Toast/ToastProvider.d.ts.map +1 -1
- package/dist/components/Toast/native.css.d.ts +81 -0
- package/dist/components/Toast/native.css.d.ts.map +1 -0
- package/dist/components/Toast/store.d.ts +47 -0
- package/dist/components/Toast/store.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/styles.css.d.ts +11 -2
- package/dist/components/Toggle/styles.css.d.ts.map +1 -1
- package/dist/components/Tooltip/TooltipHint.d.ts +9 -0
- package/dist/components/Tooltip/TooltipHint.d.ts.map +1 -0
- package/dist/components/Tree/Tree.d.ts.map +1 -1
- package/dist/components/Tree/styles.css.d.ts +6 -0
- package/dist/components/Tree/styles.css.d.ts.map +1 -1
- package/dist/components/Tree/useTreeKeyboard.d.ts +19 -0
- package/dist/components/Tree/useTreeKeyboard.d.ts.map +1 -0
- package/dist/components/VirtualList/VirtualList.d.ts +33 -0
- package/dist/components/VirtualList/VirtualList.d.ts.map +1 -0
- package/dist/components/VirtualList/VirtualList.meta.d.ts +3 -0
- package/dist/components/VirtualList/VirtualList.meta.d.ts.map +1 -0
- package/dist/components/VirtualList/VirtualList.stories.d.ts +15 -0
- package/dist/components/VirtualList/VirtualList.stories.d.ts.map +1 -0
- package/dist/components/VirtualList/styles.css.d.ts +28 -0
- package/dist/components/VirtualList/styles.css.d.ts.map +1 -0
- package/dist/components/VirtualTable/styles.css.d.ts +6 -0
- package/dist/components/VirtualTable/styles.css.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6202 -4794
- package/dist/index.js.map +1 -1
- package/dist/shared/ButtonHost.d.ts +11 -0
- package/dist/shared/ButtonHost.d.ts.map +1 -0
- package/dist/shared/portal/hostRegistry.d.ts +33 -0
- package/dist/shared/portal/hostRegistry.d.ts.map +1 -0
- package/dist/shared/pressableChild.d.ts +14 -0
- package/dist/shared/pressableChild.d.ts.map +1 -0
- package/dist/shared/useOverlayOpenState.d.ts +40 -0
- package/dist/shared/useOverlayOpenState.d.ts.map +1 -0
- package/dist/table.js +141 -135
- package/dist/table.js.map +1 -1
- package/package.json +34 -4
- package/src/components/Alert/Alert.tsx +14 -2
- package/src/components/AppShell/AppShell.meta.ts +1 -1
- package/src/components/AppShell/AppShell.native.tsx +174 -0
- package/src/components/AppShell/native.css.ts +56 -0
- package/src/components/Button/Button.tsx +6 -5
- package/src/components/Button/styles.css.ts +2 -0
- package/src/components/Callout/Callout.tsx +17 -3
- package/src/components/Callout/styles.css.ts +5 -0
- package/src/components/Checkbox/Checkbox.native.tsx +67 -0
- package/src/components/Checkbox/Checkbox.tsx +1 -50
- package/src/components/ConfirmDialog/ConfirmDialog.tsx +3 -0
- package/src/components/DetailPanel/DetailPanel.tsx +9 -45
- package/src/components/Dialog/Dialog.native.tsx +296 -0
- package/src/components/Dialog/Dialog.stories.tsx +71 -0
- package/src/components/Dialog/Dialog.tsx +41 -130
- package/src/components/Dialog/native.css.ts +78 -0
- package/src/components/Dialog/parts.css.ts +101 -0
- package/src/components/Dialog/parts.tsx +61 -0
- package/src/components/Dialog/styles.css.ts +2 -89
- package/src/components/Drawer/Drawer.meta.ts +2 -1
- package/src/components/Drawer/Drawer.native.tsx +469 -0
- package/src/components/Drawer/Drawer.tsx +63 -179
- package/src/components/Drawer/DrawerScroll.stories.tsx +4 -54
- package/src/components/Drawer/DrawerSnap.stories.tsx +205 -0
- package/src/components/Drawer/native.css.ts +58 -0
- package/src/components/Drawer/parts.css.ts +125 -0
- package/src/components/Drawer/parts.tsx +110 -0
- package/src/components/Drawer/sheetPhysics.ts +103 -0
- package/src/components/Drawer/styles.css.ts +19 -74
- package/src/components/Drawer/touchInput.ts +81 -0
- package/src/components/Drawer/useDrawerRoot.ts +90 -0
- package/src/components/Drawer/useSheetHeights.ts +42 -0
- package/src/components/Drawer/useSwipeDismiss.ts +146 -23
- package/src/components/Grid/styles.css.ts +2 -0
- package/src/components/Icon/Icon.native.tsx +54 -0
- package/src/components/Icon/Icon.tsx +19 -430
- package/src/components/Icon/geometry.ts +456 -0
- package/src/components/Icon/types.ts +74 -0
- package/src/components/Input/Input.tsx +8 -0
- package/src/components/Input/styles.css.ts +2 -0
- package/src/components/LinkButton/styles.css.ts +2 -0
- package/src/components/Menu/Menu.meta.ts +1 -1
- package/src/components/Menu/Menu.native.tsx +268 -0
- package/src/components/Menu/Menu.tsx +11 -2
- package/src/components/Menu/native.css.ts +18 -0
- package/src/components/Menu/useMenuOpen.ts +33 -0
- package/src/components/Menu/useMenuRoot.ts +7 -26
- package/src/components/Meter/styles.css.ts +2 -0
- package/src/components/PageShell/styles.css.ts +4 -0
- package/src/components/Popover/Popover.meta.ts +1 -1
- package/src/components/Popover/Popover.native.tsx +205 -0
- package/src/components/Popover/native.css.ts +13 -0
- package/src/components/RadioGroup/RadioGroup.meta.ts +1 -1
- package/src/components/RadioGroup/RadioGroup.native.tsx +48 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +64 -1
- package/src/components/RadioGroup/RadioGroup.tsx +8 -83
- package/src/components/RadioGroup/group.tsx +85 -0
- package/src/components/RadioGroup/styles.css.ts +13 -0
- package/src/components/ScrollArea/styles.css.ts +2 -0
- package/src/components/SideNav/Chevron.native.tsx +20 -0
- package/src/components/SideNav/Chevron.tsx +20 -0
- package/src/components/SideNav/SideNav.meta.ts +1 -1
- package/src/components/SideNav/SideNav.tsx +57 -41
- package/src/components/SideNav/styles.css.ts +8 -0
- package/src/components/SideNav/types.ts +6 -0
- package/src/components/Spinner/Spinner.native.tsx +37 -0
- package/src/components/Spinner/Spinner.tsx +6 -15
- package/src/components/Spinner/Spinner.types.ts +6 -0
- package/src/components/Spinner/ring.css.ts +45 -0
- package/src/components/Spinner/styles.css.ts +2 -32
- package/src/components/SplitPane/SplitPane.meta.ts +40 -0
- package/src/components/SplitPane/SplitPane.native.tsx +47 -0
- package/src/components/SplitPane/SplitPane.stories.tsx +148 -0
- package/src/components/SplitPane/SplitPane.tsx +218 -0
- package/src/components/SplitPane/styles.css.ts +81 -0
- package/src/components/StatusIcon/StatusIcon.tsx +13 -2
- package/src/components/StatusIcon/styles.css.ts +5 -0
- package/src/components/Switch/Switch.native.tsx +45 -0
- package/src/components/Switch/Switch.tsx +22 -44
- package/src/components/Switch/Switch.types.ts +18 -0
- package/src/components/TableOfContents/styles.css.ts +2 -0
- package/src/components/Tabs/TabLayout.native.tsx +9 -0
- package/src/components/Tabs/TabLayout.tsx +6 -0
- package/src/components/Tabs/Tabs.meta.ts +1 -1
- package/src/components/Tabs/Tabs.tsx +38 -136
- package/src/components/Tabs/indicator.ts +36 -0
- package/src/components/Tabs/styles.css.ts +7 -0
- package/src/components/Tabs/useTabIndicator.native.ts +35 -0
- package/src/components/Tabs/useTabIndicator.ts +49 -0
- package/src/components/Tabs/useTabKeys.native.ts +2 -0
- package/src/components/Tabs/useTabKeys.ts +99 -0
- package/src/components/Tag/RemoveGlyph.native.tsx +17 -0
- package/src/components/Tag/RemoveGlyph.tsx +10 -0
- package/src/components/Tag/Tag.meta.ts +1 -1
- package/src/components/Tag/Tag.native.tsx +70 -0
- package/src/components/Tag/Tag.tsx +9 -37
- package/src/components/Tag/styles.css.ts +9 -0
- package/src/components/Tag/types.ts +43 -0
- package/src/components/Textarea/styles.css.ts +2 -0
- package/src/components/ThemeProvider/ThemeProvider.native.tsx +70 -10
- package/src/components/Toast/Toast.meta.ts +1 -1
- package/src/components/Toast/ToastProvider.native.tsx +226 -0
- package/src/components/Toast/ToastProvider.tsx +22 -84
- package/src/components/Toast/native.css.ts +78 -0
- package/src/components/Toast/store.ts +96 -0
- package/src/components/Toggle/Toggle.tsx +5 -3
- package/src/components/Toggle/styles.css.ts +14 -2
- package/src/components/Tooltip/Tooltip.meta.ts +1 -1
- package/src/components/Tooltip/Tooltip.native.tsx +36 -0
- package/src/components/Tooltip/TooltipHint.ts +13 -0
- package/src/components/Tree/Tree.meta.ts +1 -1
- package/src/components/Tree/Tree.tsx +23 -135
- package/src/components/Tree/styles.css.ts +6 -0
- package/src/components/Tree/useTreeKeyboard.native.ts +5 -0
- package/src/components/Tree/useTreeKeyboard.ts +152 -0
- package/src/components/VirtualList/VirtualList.meta.ts +39 -0
- package/src/components/VirtualList/VirtualList.stories.tsx +95 -0
- package/src/components/VirtualList/VirtualList.tsx +103 -0
- package/src/components/VirtualList/styles.css.ts +31 -0
- package/src/components/VirtualTable/styles.css.ts +12 -0
- package/src/hooks/useContainerBelow.native.ts +30 -0
- package/src/index.native.ts +61 -1
- package/src/index.ts +8 -1
- package/src/native-guard/globals.d.ts +10 -0
- package/src/native-guard/react-dom.d.ts +3 -0
- package/src/shared/ButtonHost.native.tsx +70 -0
- package/src/shared/ButtonHost.tsx +12 -0
- package/src/shared/accessibilityFocus.native.ts +23 -0
- package/src/shared/portal/AnchoredOverlay.native.tsx +117 -0
- package/src/shared/portal/OverlayModal.native.tsx +51 -0
- package/src/shared/portal/PortalHost.native.tsx +102 -0
- package/src/shared/portal/hostRegistry.ts +76 -0
- package/src/shared/portal/themeScope.native.ts +18 -0
- package/src/shared/pressableChild.ts +33 -0
- package/src/shared/safeArea.native.ts +22 -0
- package/src/shared/useKeyboardHeight.native.ts +18 -0
- package/src/shared/useOverlayOpenState.ts +128 -0
- package/src/shared/useScreenReaderEnabled.native.ts +19 -0
- package/dist/Table-ColfpgKV.js +0 -1552
- package/dist/Table-ColfpgKV.js.map +0 -1
- package/dist/components/ThemeProvider/ThemeProvider.native.d.ts +0 -10
- package/dist/components/ThemeProvider/ThemeProvider.native.d.ts.map +0 -1
- package/dist/index.native.d.ts +0 -33
- package/dist/index.native.d.ts.map +0 -1
- package/dist/platform.native.d.ts +0 -2
- package/dist/platform.native.d.ts.map +0 -1
|
@@ -0,0 +1,1694 @@
|
|
|
1
|
+
import { jsx as W, jsxs as le, Fragment as Pe } from "react/jsx-runtime";
|
|
2
|
+
import { c as R, m as S, d as C } from "./compiler-runtime-BuugS4D0.js";
|
|
3
|
+
import { useContext as A, createContext as F, useId as Q, useRef as I, useLayoutEffect as ae, useState as ee, useCallback as ye, useEffect as K, Children as ce, isValidElement as Be } from "react";
|
|
4
|
+
import { createPortal as Ee } from "react-dom";
|
|
5
|
+
const Oe = {
|
|
6
|
+
xs: 4,
|
|
7
|
+
sm: 8,
|
|
8
|
+
ms: 12,
|
|
9
|
+
md: 16,
|
|
10
|
+
lg: 24,
|
|
11
|
+
xl: 32,
|
|
12
|
+
xxl: 48,
|
|
13
|
+
xxxl: 64
|
|
14
|
+
}, Mr = {
|
|
15
|
+
instant: 0,
|
|
16
|
+
minimal: 1,
|
|
17
|
+
quick: 120,
|
|
18
|
+
fast: 150,
|
|
19
|
+
brisk: 160,
|
|
20
|
+
base: 200,
|
|
21
|
+
slow: 280
|
|
22
|
+
}, Ge = ["touchTarget", "controlSm", "controlMd", "controlLg", "indicator", "indicatorDot", "checkMarkW", "checkMarkH", "switchTrackW", "switchTrackH", "switchThumb", "iconButton", "iconButtonSm", "spinnerSm", "spinnerMd", "spinnerLg", "glyphXs", "glyphSm", "glyphMd", "iconSm", "iconMd", "iconLg", "iconXl", "iconXxl", "thumbSm", "mediaTileMinW", "glyphClampMax", "timeReadoutW", "navMarkerW", "navMarkerH", "divider", "tabIndicator", "edgeFade", "scrollbar", "swatchW", "swatchH", "labelMinW", "popupMinW", "listMaxH", "listMaxHSm", "dialogSm", "dialogMd", "dialogLg", "panelSm", "panelMd", "panelLg", "toastMaxW", "gridColSm", "gridColMd", "pageSm", "pageMd", "pageLg", "sidebarW", "pageXs", "pageXl", "asideW", "gridColXs", "fieldMinWSm", "fieldMinW", "popoverWSm", "popoverW", "popupMaxW", "meterH", "skeletonChipW", "dropZoneMinH", "canvasMinH", "editorMinH", "toolbarH", "embedW", "colorPickerW", "colorAreaH", "colorTrackH", "colorSwatch", "colorPreviewH", "handle", "chip", "placeholderMinH", "previewMaxH", "barH", "sheetGrabberW", "sheetGrabberH", "readoutW", "sliderW", "paletteMinW", "deviceBarW", "timeGutterW", "dayHeaderH", "timelineLabelW", "appBarH", "dragThumbW", "dragThumbH"], J = {
|
|
23
|
+
touchTarget: 44,
|
|
24
|
+
controlSm: 28,
|
|
25
|
+
controlMd: 39,
|
|
26
|
+
controlLg: 40,
|
|
27
|
+
indicator: 18,
|
|
28
|
+
indicatorDot: 8,
|
|
29
|
+
checkMarkW: 5,
|
|
30
|
+
checkMarkH: 9,
|
|
31
|
+
switchTrackW: 36,
|
|
32
|
+
switchTrackH: 20,
|
|
33
|
+
switchThumb: 16,
|
|
34
|
+
iconButton: 32,
|
|
35
|
+
iconButtonSm: 28,
|
|
36
|
+
spinnerSm: 16,
|
|
37
|
+
spinnerMd: 24,
|
|
38
|
+
spinnerLg: 40,
|
|
39
|
+
glyphXs: 10,
|
|
40
|
+
glyphSm: 12,
|
|
41
|
+
glyphMd: 16,
|
|
42
|
+
iconSm: 16,
|
|
43
|
+
iconMd: 18,
|
|
44
|
+
iconLg: 24,
|
|
45
|
+
iconXl: 36,
|
|
46
|
+
iconXxl: 48,
|
|
47
|
+
thumbSm: 40,
|
|
48
|
+
mediaTileMinW: 108,
|
|
49
|
+
glyphClampMax: 160,
|
|
50
|
+
timeReadoutW: 74,
|
|
51
|
+
navMarkerW: 3,
|
|
52
|
+
navMarkerH: 18,
|
|
53
|
+
divider: 1,
|
|
54
|
+
tabIndicator: 2,
|
|
55
|
+
edgeFade: 32,
|
|
56
|
+
scrollbar: 8,
|
|
57
|
+
swatchW: 44,
|
|
58
|
+
swatchH: 34,
|
|
59
|
+
labelMinW: 120,
|
|
60
|
+
popupMinW: 160,
|
|
61
|
+
listMaxH: 280,
|
|
62
|
+
listMaxHSm: 200,
|
|
63
|
+
dialogSm: 400,
|
|
64
|
+
dialogMd: 520,
|
|
65
|
+
dialogLg: 680,
|
|
66
|
+
panelSm: 360,
|
|
67
|
+
panelMd: 480,
|
|
68
|
+
panelLg: 640,
|
|
69
|
+
toastMaxW: 440,
|
|
70
|
+
gridColSm: 240,
|
|
71
|
+
gridColMd: 280,
|
|
72
|
+
pageSm: 600,
|
|
73
|
+
pageMd: 800,
|
|
74
|
+
pageLg: 1200,
|
|
75
|
+
sidebarW: 240,
|
|
76
|
+
pageXs: 480,
|
|
77
|
+
pageXl: 1440,
|
|
78
|
+
asideW: 320,
|
|
79
|
+
gridColXs: 200,
|
|
80
|
+
fieldMinWSm: 80,
|
|
81
|
+
fieldMinW: 160,
|
|
82
|
+
popoverWSm: 240,
|
|
83
|
+
popoverW: 320,
|
|
84
|
+
popupMaxW: 280,
|
|
85
|
+
meterH: 6,
|
|
86
|
+
skeletonChipW: 96,
|
|
87
|
+
dropZoneMinH: 128,
|
|
88
|
+
canvasMinH: 480,
|
|
89
|
+
editorMinH: 160,
|
|
90
|
+
toolbarH: 36,
|
|
91
|
+
embedW: 550,
|
|
92
|
+
colorPickerW: 196,
|
|
93
|
+
colorAreaH: 150,
|
|
94
|
+
colorTrackH: 12,
|
|
95
|
+
colorSwatch: 20,
|
|
96
|
+
colorPreviewH: 22,
|
|
97
|
+
handle: 16,
|
|
98
|
+
chip: 24,
|
|
99
|
+
placeholderMinH: 80,
|
|
100
|
+
previewMaxH: 320,
|
|
101
|
+
barH: 4,
|
|
102
|
+
sheetGrabberW: 40,
|
|
103
|
+
sheetGrabberH: 4,
|
|
104
|
+
readoutW: 40,
|
|
105
|
+
sliderW: 96,
|
|
106
|
+
paletteMinW: 96,
|
|
107
|
+
deviceBarW: 96,
|
|
108
|
+
timeGutterW: 64,
|
|
109
|
+
dayHeaderH: 46,
|
|
110
|
+
timelineLabelW: 180,
|
|
111
|
+
appBarH: 61,
|
|
112
|
+
dragThumbW: 132,
|
|
113
|
+
dragThumbH: 99
|
|
114
|
+
}, Wr = {
|
|
115
|
+
sm: J.iconSm,
|
|
116
|
+
md: J.iconMd,
|
|
117
|
+
lg: J.iconLg,
|
|
118
|
+
xl: J.iconXl,
|
|
119
|
+
xxl: J.iconXxl
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @license react-strict-dom
|
|
123
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
124
|
+
*
|
|
125
|
+
* This source code is licensed under the MIT license found in the
|
|
126
|
+
* LICENSE file in the root directory of this source tree.
|
|
127
|
+
*/
|
|
128
|
+
const be = {};
|
|
129
|
+
function Ae(o) {
|
|
130
|
+
process.env.NODE_ENV !== "test" && be[o] || (be[o] = !0, console.error(`[error] React Strict DOM: ${o}`));
|
|
131
|
+
}
|
|
132
|
+
const De = /* @__PURE__ */ new Set(["alt", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoComplete", "autoFocus", "checked", "children", "crossOrigin", "decoding", "defaultChecked", "defaultValue", "dir", "disabled", "download", "draggable", "elementTiming", "enterKeyHint", "fetchPriority", "for", "height", "hidden", "href", "id", "inert", "inputMode", "label", "lang", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "onAuxClick", "onBeforeInput", "onBlur", "onChange", "onClick", "onContextMenu", "onCopy", "onCut", "onError", "onFocus", "onFocusIn", "onFocusOut", "onFullscreenChange", "onFullscreenError", "onGotPointerCapture", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onLoad", "onLostPointerCapture", "onPaste", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onScroll", "onSelect", "onSelectionChange", "onWheel", "placeholder", "readOnly", "referrerPolicy", "rel", "required", "role", "rows", "selected", "spellCheck", "src", "srcSet", "step", "style", "tabIndex", "target", "type", "value", "width", "suppressHydrationWarning", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"]);
|
|
133
|
+
function Fe(o) {
|
|
134
|
+
return De.has(o) || o.indexOf("data-") > -1;
|
|
135
|
+
}
|
|
136
|
+
var pe = {};
|
|
137
|
+
Object.defineProperty(pe, "__esModule", {
|
|
138
|
+
value: !0
|
|
139
|
+
});
|
|
140
|
+
var we = pe.styleq = void 0, Xe = /* @__PURE__ */ new WeakMap(), Ve = "$$css";
|
|
141
|
+
function Me(o) {
|
|
142
|
+
var e, t, r;
|
|
143
|
+
return o != null && (e = o.disableCache === !0, t = o.disableMix === !0, r = o.transform), function() {
|
|
144
|
+
for (var i = [], c = "", l = null, s = "", n = e ? null : Xe, d = new Array(arguments.length), p = 0; p < arguments.length; p++)
|
|
145
|
+
d[p] = arguments[p];
|
|
146
|
+
for (; d.length > 0; ) {
|
|
147
|
+
var u = d.pop();
|
|
148
|
+
if (!(u == null || u === !1)) {
|
|
149
|
+
if (Array.isArray(u)) {
|
|
150
|
+
for (var x = 0; x < u.length; x++)
|
|
151
|
+
d.push(u[x]);
|
|
152
|
+
continue;
|
|
153
|
+
}
|
|
154
|
+
var g = r != null ? r(u) : u;
|
|
155
|
+
if (g.$$css != null) {
|
|
156
|
+
var h = "";
|
|
157
|
+
if (n != null && n.has(g)) {
|
|
158
|
+
var w = n.get(g);
|
|
159
|
+
w != null && (h = w[0], s = w[2], i.push.apply(i, w[1]), n = w[3]);
|
|
160
|
+
} else {
|
|
161
|
+
var v = [];
|
|
162
|
+
for (var m in g) {
|
|
163
|
+
var y = g[m];
|
|
164
|
+
if (m === Ve) {
|
|
165
|
+
var $ = g[m];
|
|
166
|
+
$ !== !0 && (s = s ? $ + "; " + s : $);
|
|
167
|
+
continue;
|
|
168
|
+
}
|
|
169
|
+
typeof y == "string" || y === null ? i.includes(m) || (i.push(m), n != null && v.push(m), typeof y == "string" && (h += h ? " " + y : y)) : console.error("styleq: ".concat(m, " typeof ").concat(String(y), ' is not "string" or "null".'));
|
|
170
|
+
}
|
|
171
|
+
if (n != null) {
|
|
172
|
+
var H = /* @__PURE__ */ new WeakMap();
|
|
173
|
+
n.set(g, [h, v, s, H]), n = H;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
h && (c = c ? h + " " + c : h);
|
|
177
|
+
} else if (t)
|
|
178
|
+
l == null && (l = {}), l = Object.assign({}, g, l);
|
|
179
|
+
else {
|
|
180
|
+
var T = null;
|
|
181
|
+
for (var z in g) {
|
|
182
|
+
var B = g[z];
|
|
183
|
+
B !== void 0 && (i.includes(z) || (B != null && (l == null && (l = {}), T == null && (T = {}), T[z] = B), i.push(z), n = null));
|
|
184
|
+
}
|
|
185
|
+
T != null && (l = Object.assign(T, l));
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
var E = [c, l, s];
|
|
190
|
+
return E;
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
var Ke = we = pe.styleq = Me();
|
|
194
|
+
Ke.factory = Me;
|
|
195
|
+
const _e = we.factory({
|
|
196
|
+
disableMix: !0
|
|
197
|
+
});
|
|
198
|
+
function Ne(...o) {
|
|
199
|
+
const [e, t, r] = _e(o), a = {};
|
|
200
|
+
if (e != null && e !== "" && (a.className = e), t != null && (a.style = t), r != null && r !== "") {
|
|
201
|
+
const i = r.split(";"), c = {};
|
|
202
|
+
for (const l of i) {
|
|
203
|
+
const s = l.trim(), [n, d] = s.split(":");
|
|
204
|
+
d != null && (c[n] = c[n] != null ? `${c[n]},${d}` : d);
|
|
205
|
+
}
|
|
206
|
+
a["data-style-src"] = Object.keys(c).map((l) => `${l}:${c[l]}`).join("; ");
|
|
207
|
+
}
|
|
208
|
+
return a;
|
|
209
|
+
}
|
|
210
|
+
function Ye(o) {
|
|
211
|
+
Object.keys(o).forEach((e) => {
|
|
212
|
+
Fe(e) || (Ae(`invalid prop "${e}"`), delete o[e]);
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
function b(o, e) {
|
|
216
|
+
const t = {
|
|
217
|
+
$$css: !0,
|
|
218
|
+
"debug::name": `html-${o}`
|
|
219
|
+
};
|
|
220
|
+
function r({
|
|
221
|
+
ref: a,
|
|
222
|
+
...i
|
|
223
|
+
}) {
|
|
224
|
+
const {
|
|
225
|
+
for: c,
|
|
226
|
+
style: l,
|
|
227
|
+
...s
|
|
228
|
+
} = i, n = s;
|
|
229
|
+
Ye(n), c != null && (n.htmlFor = c), i.role != null && (n.role = i.role === "none" ? "presentation" : i.role), o === "button" ? n.type = n.type ? n.type : "button" : (o === "input" || o === "textarea") && (n.dir = n.dir ? n.dir : "auto");
|
|
230
|
+
const d = Ne([t, e, l]);
|
|
231
|
+
return W(o, {
|
|
232
|
+
...n,
|
|
233
|
+
...d,
|
|
234
|
+
ref: a
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
return r.displayName = `html.${o}`, r;
|
|
238
|
+
}
|
|
239
|
+
const k = {
|
|
240
|
+
block: {
|
|
241
|
+
"margin-kogj98": "margin-x1ghz6dp",
|
|
242
|
+
"padding-kmVPX3": "padding-x1717udv",
|
|
243
|
+
$$css: ".pnpm:web/index.js:226"
|
|
244
|
+
},
|
|
245
|
+
inline: {
|
|
246
|
+
"margin-kogj98": "margin-x1ghz6dp",
|
|
247
|
+
"padding-kmVPX3": "padding-x1717udv",
|
|
248
|
+
"textDecoration-kybGjl": "textDecoration-x1hl2dhg",
|
|
249
|
+
"textAlign-k9WMMc": "textAlign-x16tdsg8",
|
|
250
|
+
"wordWrap-kD5eJx": "wordWrap-x1vvkbs",
|
|
251
|
+
$$css: ".pnpm:web/index.js:230"
|
|
252
|
+
},
|
|
253
|
+
inlineblock: {
|
|
254
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
255
|
+
"margin-kogj98": "margin-x1ghz6dp",
|
|
256
|
+
"padding-kmVPX3": "padding-x1717udv",
|
|
257
|
+
$$css: ".pnpm:web/index.js:237"
|
|
258
|
+
},
|
|
259
|
+
button: {
|
|
260
|
+
"borderWidth-kMzoRj": "borderWidth-xmkeg23",
|
|
261
|
+
$$css: ".pnpm:web/index.js:242"
|
|
262
|
+
},
|
|
263
|
+
codePre: {
|
|
264
|
+
"fontFamily-kMv6JI": "fontFamily-x1lxnp44",
|
|
265
|
+
"fontSize-kGuDYH": "fontSize-xrv4cvt",
|
|
266
|
+
"overflow-kVQacm": "overflow-xysyzu8",
|
|
267
|
+
$$css: ".pnpm:web/index.js:245"
|
|
268
|
+
},
|
|
269
|
+
heading: {
|
|
270
|
+
"fontSize-kGuDYH": "fontSize-xngnso2",
|
|
271
|
+
"wordWrap-kD5eJx": "wordWrap-x1vvkbs",
|
|
272
|
+
$$css: ".pnpm:web/index.js:250"
|
|
273
|
+
},
|
|
274
|
+
hr: {
|
|
275
|
+
"backgroundColor-kWkggS": "backgroundColor-x42x0ya",
|
|
276
|
+
"borderStyle-ksu8eU": "borderStyle-xng3xce",
|
|
277
|
+
"borderWidth-kMzoRj": "borderWidth-xc342km",
|
|
278
|
+
"boxSizing-kB7OPa": "boxSizing-x9f619",
|
|
279
|
+
"height-kZKoxP": "height-xjm9jq1",
|
|
280
|
+
$$css: ".pnpm:web/index.js:254"
|
|
281
|
+
},
|
|
282
|
+
img: {
|
|
283
|
+
"aspectRatio-kOBAk4": "aspectRatio-xuw900x",
|
|
284
|
+
"height-kZKoxP": "height-xt7dq6l",
|
|
285
|
+
"maxWidth-ks0D6T": "maxWidth-x193iq5w",
|
|
286
|
+
$$css: ".pnpm:web/index.js:261"
|
|
287
|
+
},
|
|
288
|
+
input: {
|
|
289
|
+
"borderWidth-kMzoRj": "borderWidth-xmkeg23",
|
|
290
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
291
|
+
$$css: ".pnpm:web/index.js:266"
|
|
292
|
+
},
|
|
293
|
+
list: {
|
|
294
|
+
"listStyle-kB88ic": "listStyle-xe8uvvx",
|
|
295
|
+
$$css: ".pnpm:web/index.js:270"
|
|
296
|
+
},
|
|
297
|
+
strong: {
|
|
298
|
+
"fontWeight-k63SB2": "fontWeight-x117nqv4",
|
|
299
|
+
$$css: ".pnpm:web/index.js:273"
|
|
300
|
+
},
|
|
301
|
+
textarea: {
|
|
302
|
+
"borderWidth-kMzoRj": "borderWidth-xmkeg23",
|
|
303
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
304
|
+
"resize-kHenm0": "resize-x288g5",
|
|
305
|
+
$$css: ".pnpm:web/index.js:276"
|
|
306
|
+
}
|
|
307
|
+
}, Ze = k.inline, Ue = k.block, Je = k.block, Qe = k.inline, et = k.inline, tt = k.inline, ot = k.block, rt = null, nt = [k.inlineblock, k.button], it = [k.inline, k.codePre], st = null, lt = k.block, at = k.inline, ct = k.block, dt = k.block, ut = k.block, Z = [k.block, k.heading], pt = k.block, xt = [k.block, k.hr], gt = k.inline, ht = k.img, mt = [k.inlineblock, k.input], bt = null, ft = null, kt = k.inline, vt = k.block, yt = k.block, wt = k.inline, Mt = k.block, Wt = [k.list, k.block], Tt = null, $t = null, St = k.block, Ct = [k.block, k.codePre], Ht = null, Rt = k.block, zt = k.inlineblock, jt = k.inline, Lt = [k.inline, k.strong], It = k.inline, qt = k.inline, Pt = [k.inlineblock, k.textarea], Bt = null, Et = [k.list, k.block], f = {
|
|
308
|
+
a: Ze,
|
|
309
|
+
article: Ue,
|
|
310
|
+
aside: Je,
|
|
311
|
+
b: Qe,
|
|
312
|
+
bdi: et,
|
|
313
|
+
bdo: tt,
|
|
314
|
+
blockquote: ot,
|
|
315
|
+
br: rt,
|
|
316
|
+
button: nt,
|
|
317
|
+
code: it,
|
|
318
|
+
del: st,
|
|
319
|
+
div: lt,
|
|
320
|
+
em: at,
|
|
321
|
+
fieldset: ct,
|
|
322
|
+
footer: dt,
|
|
323
|
+
form: ut,
|
|
324
|
+
h1: Z,
|
|
325
|
+
h2: Z,
|
|
326
|
+
h3: Z,
|
|
327
|
+
h4: Z,
|
|
328
|
+
h5: Z,
|
|
329
|
+
h6: Z,
|
|
330
|
+
header: pt,
|
|
331
|
+
hr: xt,
|
|
332
|
+
i: gt,
|
|
333
|
+
img: ht,
|
|
334
|
+
input: mt,
|
|
335
|
+
ins: bt,
|
|
336
|
+
kbd: ft,
|
|
337
|
+
label: kt,
|
|
338
|
+
li: vt,
|
|
339
|
+
main: yt,
|
|
340
|
+
mark: wt,
|
|
341
|
+
nav: Mt,
|
|
342
|
+
ol: Wt,
|
|
343
|
+
optgroup: Tt,
|
|
344
|
+
option: $t,
|
|
345
|
+
p: St,
|
|
346
|
+
pre: Ct,
|
|
347
|
+
s: Ht,
|
|
348
|
+
section: Rt,
|
|
349
|
+
select: zt,
|
|
350
|
+
span: jt,
|
|
351
|
+
strong: Lt,
|
|
352
|
+
sub: It,
|
|
353
|
+
sup: qt,
|
|
354
|
+
textarea: Pt,
|
|
355
|
+
u: Bt,
|
|
356
|
+
ul: Et
|
|
357
|
+
}, Ot = b("a", f.a), Gt = b("article", f.article), At = b("aside", f.aside), Dt = b("b", f.b), Ft = b("bdi", f.bdi), Xt = b("bdo", f.bdo), Vt = b("blockquote", f.blockquote), Kt = b("br", f.br), _t = b("button", f.button), Nt = b("code", f.code), Yt = b("del", f.del), Zt = b("div", f.div), Ut = b("em", f.em), Jt = b("fieldset", f.fieldset), Qt = b("footer", f.footer), eo = b("form", f.form), to = b("h1", f.h1), oo = b("h2", f.h2), ro = b("h3", f.h3), no = b("h4", f.h4), io = b("h5", f.h5), so = b("h6", f.h6), lo = b("header", f.header), ao = b("hr", f.hr), co = b("i", f.i), uo = b("img", f.img), po = b("input", f.input), xo = b("ins", f.ins), go = b("kbd", f.kbd), ho = b("label", f.label), mo = b("li", f.li), bo = b("main", f.main), fo = b("mark", f.mark), ko = b("nav", f.nav), vo = b("ol", f.ol), yo = b("optgroup", f.optgroup), wo = b("option", f.option), Mo = b("p", f.p), Wo = b("pre", f.pre), To = b("s", f.s), $o = b("section", f.section), So = b("select", f.select), Co = b("span", f.span), Ho = b("strong", f.strong), Ro = b("sub", f.sub), zo = b("sup", f.sup), jo = b("textarea", f.textarea), Lo = b("u", f.u), Io = b("ul", f.ul);
|
|
358
|
+
var qo = /* @__PURE__ */ Object.freeze({
|
|
359
|
+
__proto__: null,
|
|
360
|
+
a: Ot,
|
|
361
|
+
article: Gt,
|
|
362
|
+
aside: At,
|
|
363
|
+
b: Dt,
|
|
364
|
+
bdi: Ft,
|
|
365
|
+
bdo: Xt,
|
|
366
|
+
blockquote: Vt,
|
|
367
|
+
br: Kt,
|
|
368
|
+
button: _t,
|
|
369
|
+
code: Nt,
|
|
370
|
+
del: Yt,
|
|
371
|
+
div: Zt,
|
|
372
|
+
em: Ut,
|
|
373
|
+
fieldset: Jt,
|
|
374
|
+
footer: Qt,
|
|
375
|
+
form: eo,
|
|
376
|
+
h1: to,
|
|
377
|
+
h2: oo,
|
|
378
|
+
h3: ro,
|
|
379
|
+
h4: no,
|
|
380
|
+
h5: io,
|
|
381
|
+
h6: so,
|
|
382
|
+
header: lo,
|
|
383
|
+
hr: ao,
|
|
384
|
+
i: co,
|
|
385
|
+
img: uo,
|
|
386
|
+
input: po,
|
|
387
|
+
ins: xo,
|
|
388
|
+
kbd: go,
|
|
389
|
+
label: ho,
|
|
390
|
+
li: mo,
|
|
391
|
+
main: bo,
|
|
392
|
+
mark: fo,
|
|
393
|
+
nav: ko,
|
|
394
|
+
ol: vo,
|
|
395
|
+
optgroup: yo,
|
|
396
|
+
option: wo,
|
|
397
|
+
p: Mo,
|
|
398
|
+
pre: Wo,
|
|
399
|
+
s: To,
|
|
400
|
+
section: $o,
|
|
401
|
+
select: So,
|
|
402
|
+
span: Co,
|
|
403
|
+
strong: Ho,
|
|
404
|
+
sub: Ro,
|
|
405
|
+
sup: zo,
|
|
406
|
+
textarea: jo,
|
|
407
|
+
u: Lo,
|
|
408
|
+
ul: Io
|
|
409
|
+
});
|
|
410
|
+
const We = F(null);
|
|
411
|
+
function Po() {
|
|
412
|
+
return A(We);
|
|
413
|
+
}
|
|
414
|
+
const Te = F(null);
|
|
415
|
+
function Bo() {
|
|
416
|
+
return A(Te);
|
|
417
|
+
}
|
|
418
|
+
const _ = {
|
|
419
|
+
item: {
|
|
420
|
+
"position-kVAEAm": "position-x1n2onr6",
|
|
421
|
+
"zIndex-kY2c9j": "zIndex-x1lhispz",
|
|
422
|
+
$$css: "ButtonGroup/attached.css.ts:14"
|
|
423
|
+
},
|
|
424
|
+
horizontalFirst: {
|
|
425
|
+
"borderTopRightRadius-ksF3WI": "borderTopRightRadius-x1a2w583",
|
|
426
|
+
"borderBottomRightRadius-kYm2EN": "borderBottomRightRadius-xjppbhk",
|
|
427
|
+
$$css: "ButtonGroup/attached.css.ts:18"
|
|
428
|
+
},
|
|
429
|
+
horizontalMiddle: {
|
|
430
|
+
"borderRadius-kaIpWk": "borderRadius-x2u8bby",
|
|
431
|
+
"marginLeft-koQZXg": "marginLeft-x1804tp4",
|
|
432
|
+
$$css: "ButtonGroup/attached.css.ts:22"
|
|
433
|
+
},
|
|
434
|
+
horizontalLast: {
|
|
435
|
+
"borderTopLeftRadius-kIxVMA": "borderTopLeftRadius-x1ia1hqs",
|
|
436
|
+
"borderBottomLeftRadius-kqGeR4": "borderBottomLeftRadius-xfrllxf",
|
|
437
|
+
"marginLeft-koQZXg": "marginLeft-x1804tp4",
|
|
438
|
+
$$css: "ButtonGroup/attached.css.ts:26"
|
|
439
|
+
},
|
|
440
|
+
verticalFirst: {
|
|
441
|
+
"borderBottomLeftRadius-kqGeR4": "borderBottomLeftRadius-xfrllxf",
|
|
442
|
+
"borderBottomRightRadius-kYm2EN": "borderBottomRightRadius-xjppbhk",
|
|
443
|
+
$$css: "ButtonGroup/attached.css.ts:31"
|
|
444
|
+
},
|
|
445
|
+
verticalMiddle: {
|
|
446
|
+
"borderRadius-kaIpWk": "borderRadius-x2u8bby",
|
|
447
|
+
"marginTop-keoZOQ": "marginTop-xn1ib9x",
|
|
448
|
+
$$css: "ButtonGroup/attached.css.ts:35"
|
|
449
|
+
},
|
|
450
|
+
verticalLast: {
|
|
451
|
+
"borderTopLeftRadius-kIxVMA": "borderTopLeftRadius-x1ia1hqs",
|
|
452
|
+
"borderTopRightRadius-ksF3WI": "borderTopRightRadius-x1a2w583",
|
|
453
|
+
"marginTop-keoZOQ": "marginTop-xn1ib9x",
|
|
454
|
+
$$css: "ButtonGroup/attached.css.ts:39"
|
|
455
|
+
}
|
|
456
|
+
}, Eo = {
|
|
457
|
+
horizontal: {
|
|
458
|
+
first: _.horizontalFirst,
|
|
459
|
+
middle: _.horizontalMiddle,
|
|
460
|
+
last: _.horizontalLast,
|
|
461
|
+
only: null
|
|
462
|
+
},
|
|
463
|
+
vertical: {
|
|
464
|
+
first: _.verticalFirst,
|
|
465
|
+
middle: _.verticalMiddle,
|
|
466
|
+
last: _.verticalLast,
|
|
467
|
+
only: null
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
function Oo(o) {
|
|
471
|
+
const e = R.c(26);
|
|
472
|
+
let t;
|
|
473
|
+
e[0] !== o ? (t = o === void 0 ? {} : o, e[0] = o, e[1] = t) : t = e[1];
|
|
474
|
+
const {
|
|
475
|
+
disabled: r
|
|
476
|
+
} = t, a = r === void 0 ? !1 : r, i = Q(), c = I(null), l = Bo(), s = Po(), n = l?.register, d = s?.register;
|
|
477
|
+
let p, u;
|
|
478
|
+
e[2] !== a || e[3] !== n || e[4] !== i || e[5] !== d ? (p = () => {
|
|
479
|
+
const H = c.current;
|
|
480
|
+
if (!H)
|
|
481
|
+
return;
|
|
482
|
+
const T = n?.(i, H, a), z = d?.(i, H, a);
|
|
483
|
+
return () => {
|
|
484
|
+
T?.(), z?.();
|
|
485
|
+
};
|
|
486
|
+
}, u = [i, a, n, d], e[2] = a, e[3] = n, e[4] = i, e[5] = d, e[6] = p, e[7] = u) : (p = e[6], u = e[7]), ae(p, u);
|
|
487
|
+
let x;
|
|
488
|
+
e[8] !== l || e[9] !== i ? (x = l ? l.positionOf(i) : null, e[8] = l, e[9] = i, e[10] = x) : x = e[10];
|
|
489
|
+
const g = x;
|
|
490
|
+
let h;
|
|
491
|
+
e[11] !== l || e[12] !== g ? (h = l && g ? [_.item, Eo[l.orientation][g]] : null, e[11] = l, e[12] = g, e[13] = h) : h = e[13];
|
|
492
|
+
const w = h, v = l !== null;
|
|
493
|
+
let m;
|
|
494
|
+
e[14] !== i || e[15] !== s ? (m = s?.tabIndexOf(i), e[14] = i, e[15] = s, e[16] = m) : m = e[16];
|
|
495
|
+
let y;
|
|
496
|
+
e[17] !== i || e[18] !== s ? (y = s ? () => s.onItemFocus(i) : void 0, e[17] = i, e[18] = s, e[19] = y) : y = e[19];
|
|
497
|
+
let $;
|
|
498
|
+
return e[20] !== g || e[21] !== w || e[22] !== v || e[23] !== m || e[24] !== y ? ($ = {
|
|
499
|
+
ref: c,
|
|
500
|
+
attached: v,
|
|
501
|
+
position: g,
|
|
502
|
+
style: w,
|
|
503
|
+
tabIndex: m,
|
|
504
|
+
onFocus: y
|
|
505
|
+
}, e[20] = g, e[21] = w, e[22] = v, e[23] = m, e[24] = y, e[25] = $) : $ = e[25], $;
|
|
506
|
+
}
|
|
507
|
+
const Go = {
|
|
508
|
+
xjvd03b: "x14i52nv xjvd03b",
|
|
509
|
+
$$css: !0
|
|
510
|
+
}, Ao = {
|
|
511
|
+
x13v825q: "x1jk1o70 x13v825q",
|
|
512
|
+
$$css: !0
|
|
513
|
+
}, Do = {
|
|
514
|
+
xjvd03b: "xorrbe1 xjvd03b",
|
|
515
|
+
$$css: !0
|
|
516
|
+
}, Fo = {
|
|
517
|
+
x13v825q: "xc8o4hb x13v825q",
|
|
518
|
+
$$css: !0
|
|
519
|
+
}, Xo = {
|
|
520
|
+
light: [Go, Ao],
|
|
521
|
+
"high-contrast": [Do, Fo]
|
|
522
|
+
}, fe = {
|
|
523
|
+
root: {
|
|
524
|
+
"display-k1xSpc": "display-xjp7ctv",
|
|
525
|
+
"color-kMwMTN": "color-x95150z",
|
|
526
|
+
$$css: "ThemeProvider/ThemeProvider.tsx:21"
|
|
527
|
+
},
|
|
528
|
+
portalMount: {
|
|
529
|
+
"position-kVAEAm": "position-xixxii4",
|
|
530
|
+
"top-k87sOh": "top-x13vifvy",
|
|
531
|
+
"left-kbCHJM": "left-xu96u03",
|
|
532
|
+
"right-kCIrl2": "right-x3m8u43",
|
|
533
|
+
"bottom-krVfgx": "bottom-x1ey2m1c",
|
|
534
|
+
"pointerEvents-kfzvcC": "pointerEvents-x47corl",
|
|
535
|
+
"zIndex-kY2c9j": "zIndex-x3z26px",
|
|
536
|
+
$$css: "ThemeProvider/ThemeProvider.tsx:29"
|
|
537
|
+
}
|
|
538
|
+
}, $e = F(null);
|
|
539
|
+
function Vo() {
|
|
540
|
+
return A($e);
|
|
541
|
+
}
|
|
542
|
+
function Tr(o) {
|
|
543
|
+
const e = R.c(11), {
|
|
544
|
+
theme: t,
|
|
545
|
+
children: r
|
|
546
|
+
} = o, a = t === void 0 ? "dark" : t, i = Xo[a], c = i?.[0], l = i?.[1];
|
|
547
|
+
let s;
|
|
548
|
+
e[0] !== c || e[1] !== l ? (s = [c, l, fe.root], e[0] = c, e[1] = l, e[2] = s) : s = e[2];
|
|
549
|
+
const n = s, [d, p] = ee(null);
|
|
550
|
+
let u;
|
|
551
|
+
e[3] !== r || e[4] !== d ? (u = /* @__PURE__ */ W($e.Provider, { value: d, children: r }), e[3] = r, e[4] = d, e[5] = u) : u = e[5];
|
|
552
|
+
let x;
|
|
553
|
+
e[6] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ W("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:60", ref: p, "data-portal-mount": !0, ...S(C.div, fe.portalMount) }), e[6] = x) : x = e[6];
|
|
554
|
+
let g;
|
|
555
|
+
return e[7] !== u || e[8] !== a || e[9] !== n ? (g = /* @__PURE__ */ le("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:58", "data-theme": a, ...S(C.div, n), children: [
|
|
556
|
+
u,
|
|
557
|
+
x
|
|
558
|
+
] }), e[7] = u, e[8] = a, e[9] = n, e[10] = g) : g = e[10], g;
|
|
559
|
+
}
|
|
560
|
+
function Ko(o) {
|
|
561
|
+
const e = R.c(2), {
|
|
562
|
+
children: t
|
|
563
|
+
} = o;
|
|
564
|
+
let r;
|
|
565
|
+
return e[0] !== t ? (r = /* @__PURE__ */ W(Te.Provider, { value: null, children: /* @__PURE__ */ W(We.Provider, { value: null, children: t }) }), e[0] = t, e[1] = r) : r = e[1], r;
|
|
566
|
+
}
|
|
567
|
+
function Se(o) {
|
|
568
|
+
return o.button === 0 && !o.metaKey && !o.ctrlKey && !o.shiftKey && !o.altKey && !o.defaultPrevented;
|
|
569
|
+
}
|
|
570
|
+
function $r(o, e, t) {
|
|
571
|
+
if (e)
|
|
572
|
+
return (r) => {
|
|
573
|
+
t != null || !Se(r) || e(o, r);
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
const Sr = {
|
|
577
|
+
xs: 480,
|
|
578
|
+
sm: 640,
|
|
579
|
+
md: 768,
|
|
580
|
+
lg: 1024,
|
|
581
|
+
xl: 1280
|
|
582
|
+
}, Ce = {
|
|
583
|
+
touchTarget: "var(--touchTarget-x1u5badx)",
|
|
584
|
+
controlSm: "var(--controlSm-x6ymn93)",
|
|
585
|
+
controlMd: "var(--controlMd-xkvaeme)",
|
|
586
|
+
controlLg: "var(--controlLg-xf3drh3)",
|
|
587
|
+
indicator: "var(--indicator-xce456j)",
|
|
588
|
+
indicatorDot: "var(--indicatorDot-xqflvbi)",
|
|
589
|
+
checkMarkW: "var(--checkMarkW-xvyirw7)",
|
|
590
|
+
checkMarkH: "var(--checkMarkH-xz3lx6u)",
|
|
591
|
+
switchTrackW: "var(--switchTrackW-xcah3tt)",
|
|
592
|
+
switchTrackH: "var(--switchTrackH-x1h3icne)",
|
|
593
|
+
switchThumb: "var(--switchThumb-x6qupft)",
|
|
594
|
+
iconButton: "var(--iconButton-x16lr7a8)",
|
|
595
|
+
iconButtonSm: "var(--iconButtonSm-xtjgrhy)",
|
|
596
|
+
spinnerSm: "var(--spinnerSm-xoj3xel)",
|
|
597
|
+
spinnerMd: "var(--spinnerMd-x11a4rba)",
|
|
598
|
+
spinnerLg: "var(--spinnerLg-x1lgp9p9)",
|
|
599
|
+
glyphXs: "var(--glyphXs-x7xktls)",
|
|
600
|
+
glyphSm: "var(--glyphSm-x17geiot)",
|
|
601
|
+
glyphMd: "var(--glyphMd-x1hz0jso)",
|
|
602
|
+
iconSm: "var(--iconSm-x1k4bwrj)",
|
|
603
|
+
iconMd: "var(--iconMd-x1oru5hg)",
|
|
604
|
+
iconLg: "var(--iconLg-x1lsumnr)",
|
|
605
|
+
iconXl: "var(--iconXl-x7w40q9)",
|
|
606
|
+
iconXxl: "var(--iconXxl-xij55jf)",
|
|
607
|
+
thumbSm: "var(--thumbSm-x1t1g9ky)",
|
|
608
|
+
mediaTileMinW: "var(--mediaTileMinW-x1pavouy)",
|
|
609
|
+
glyphClampMax: "var(--glyphClampMax-x3c2ety)",
|
|
610
|
+
timeReadoutW: "var(--timeReadoutW-x4630c6)",
|
|
611
|
+
navMarkerW: "var(--navMarkerW-x1swbkx4)",
|
|
612
|
+
navMarkerH: "var(--navMarkerH-xlc6r7a)",
|
|
613
|
+
divider: "var(--divider-x34oj7m)",
|
|
614
|
+
tabIndicator: "var(--tabIndicator-xeswvk3)",
|
|
615
|
+
edgeFade: "var(--edgeFade-x1a8srg4)",
|
|
616
|
+
scrollbar: "var(--scrollbar-xppi9bb)",
|
|
617
|
+
swatchW: "var(--swatchW-x14v7170)",
|
|
618
|
+
swatchH: "var(--swatchH-x5k3223)",
|
|
619
|
+
labelMinW: "var(--labelMinW-x1tnvsg3)",
|
|
620
|
+
popupMinW: "var(--popupMinW-xzyp04)",
|
|
621
|
+
listMaxH: "var(--listMaxH-x1g3bmh3)",
|
|
622
|
+
listMaxHSm: "var(--listMaxHSm-xhny4oa)",
|
|
623
|
+
dialogSm: "var(--dialogSm-x16fibl1)",
|
|
624
|
+
dialogMd: "var(--dialogMd-x1yjoj5l)",
|
|
625
|
+
dialogLg: "var(--dialogLg-xsd9wl3)",
|
|
626
|
+
panelSm: "var(--panelSm-x1ng1dcv)",
|
|
627
|
+
panelMd: "var(--panelMd-x11x23mn)",
|
|
628
|
+
panelLg: "var(--panelLg-x19cpfjm)",
|
|
629
|
+
toastMaxW: "var(--toastMaxW-x1po6n0z)",
|
|
630
|
+
gridColSm: "var(--gridColSm-xzwpy92)",
|
|
631
|
+
gridColMd: "var(--gridColMd-x1cjqdt9)",
|
|
632
|
+
pageSm: "var(--pageSm-x5j4ghi)",
|
|
633
|
+
pageMd: "var(--pageMd-xloo57l)",
|
|
634
|
+
pageLg: "var(--pageLg-x393fnm)",
|
|
635
|
+
sidebarW: "var(--sidebarW-x16fh60r)",
|
|
636
|
+
pageXs: "var(--pageXs-xkx7b2k)",
|
|
637
|
+
pageXl: "var(--pageXl-xe1y5wy)",
|
|
638
|
+
asideW: "var(--asideW-x1sefzvd)",
|
|
639
|
+
gridColXs: "var(--gridColXs-x1uralsc)",
|
|
640
|
+
fieldMinWSm: "var(--fieldMinWSm-x17qqf6g)",
|
|
641
|
+
fieldMinW: "var(--fieldMinW-x3410dk)",
|
|
642
|
+
popoverWSm: "var(--popoverWSm-x17g62mi)",
|
|
643
|
+
popoverW: "var(--popoverW-xf1f07)",
|
|
644
|
+
popupMaxW: "var(--popupMaxW-x16p43ce)",
|
|
645
|
+
meterH: "var(--meterH-x5xauib)",
|
|
646
|
+
skeletonChipW: "var(--skeletonChipW-xmw24hn)",
|
|
647
|
+
dropZoneMinH: "var(--dropZoneMinH-x9asgie)",
|
|
648
|
+
canvasMinH: "var(--canvasMinH-xpv99dk)",
|
|
649
|
+
editorMinH: "var(--editorMinH-x7umtuv)",
|
|
650
|
+
toolbarH: "var(--toolbarH-x16tj5lc)",
|
|
651
|
+
embedW: "var(--embedW-x1jprk4i)",
|
|
652
|
+
colorPickerW: "var(--colorPickerW-xafjozf)",
|
|
653
|
+
colorAreaH: "var(--colorAreaH-xn4he4)",
|
|
654
|
+
colorTrackH: "var(--colorTrackH-x1ixtmdy)",
|
|
655
|
+
colorSwatch: "var(--colorSwatch-xr73m8p)",
|
|
656
|
+
colorPreviewH: "var(--colorPreviewH-x1by70nu)",
|
|
657
|
+
handle: "var(--handle-xt9m584)",
|
|
658
|
+
chip: "var(--chip-xofdvjg)",
|
|
659
|
+
placeholderMinH: "var(--placeholderMinH-xy0p02w)",
|
|
660
|
+
previewMaxH: "var(--previewMaxH-x1phh3ob)",
|
|
661
|
+
barH: "var(--barH-x1oc8exn)",
|
|
662
|
+
sheetGrabberW: "var(--sheetGrabberW-xqnf4ck)",
|
|
663
|
+
sheetGrabberH: "var(--sheetGrabberH-x1mzwlvd)",
|
|
664
|
+
readoutW: "var(--readoutW-xi5rn1i)",
|
|
665
|
+
sliderW: "var(--sliderW-xvcfp7i)",
|
|
666
|
+
paletteMinW: "var(--paletteMinW-x1514e6j)",
|
|
667
|
+
deviceBarW: "var(--deviceBarW-xqnx4o4)",
|
|
668
|
+
timeGutterW: "var(--timeGutterW-xsc6tna)",
|
|
669
|
+
dayHeaderH: "var(--dayHeaderH-x1j7gty0)",
|
|
670
|
+
timelineLabelW: "var(--timelineLabelW-xx6mz1f)",
|
|
671
|
+
appBarH: "var(--appBarH-x12xs6hi)",
|
|
672
|
+
dragThumbW: "var(--dragThumbW-x1bz26bx)",
|
|
673
|
+
dragThumbH: "var(--dragThumbH-xbt2de9)",
|
|
674
|
+
__varGroupHash__: "x1w57kmz"
|
|
675
|
+
}, _o = typeof process < "u" && process.env?.NODE_ENV === "production", ke = /* @__PURE__ */ new Set();
|
|
676
|
+
function He(o, e, t) {
|
|
677
|
+
const r = `${o}:${e}`;
|
|
678
|
+
_o || ke.has(r) || (ke.add(r), console.warn(`[duro-app/ui ${o}] ${t}`));
|
|
679
|
+
}
|
|
680
|
+
const Re = new Set(Ge);
|
|
681
|
+
function ze(o) {
|
|
682
|
+
return typeof o == "string" && Re.has(o) ? Ce[o] : o;
|
|
683
|
+
}
|
|
684
|
+
function ve(o) {
|
|
685
|
+
const e = o;
|
|
686
|
+
if (typeof e != "string") return e;
|
|
687
|
+
const t = /^(minmax|fit-content)\((.*)\)$/.exec(e);
|
|
688
|
+
if (t) {
|
|
689
|
+
const r = t[2].split(",").map((a) => String(ze(a.trim())));
|
|
690
|
+
return `${t[1]}(${r.join(", ")})`;
|
|
691
|
+
}
|
|
692
|
+
return Re.has(e) ? Ce[e] : e;
|
|
693
|
+
}
|
|
694
|
+
const P = {
|
|
695
|
+
root: {
|
|
696
|
+
"position-kVAEAm": "position-x1n2onr6",
|
|
697
|
+
"display-k1xSpc": "display-x3nfvp2",
|
|
698
|
+
$$css: "Menu/styles.css.ts:12"
|
|
699
|
+
},
|
|
700
|
+
trigger: {
|
|
701
|
+
"display-k1xSpc": "display-x3nfvp2",
|
|
702
|
+
"alignItems-kGNEyG": "alignItems-x6s0dn4",
|
|
703
|
+
"gap-kOIVth": "gap-x175yhtj",
|
|
704
|
+
"paddingTop-kLKAdn": "paddingTop-xc2wovk",
|
|
705
|
+
"paddingBottom-kGO01o": "paddingBottom-x1dr83cj",
|
|
706
|
+
"paddingLeft-kE3dHu": "paddingLeft-x2rk66v",
|
|
707
|
+
"paddingRight-kpe85a": "paddingRight-x7huf2v",
|
|
708
|
+
"fontFamily-kMv6JI": "fontFamily-xce2pww",
|
|
709
|
+
"fontSize-kGuDYH": "fontSize-x1tzajr0",
|
|
710
|
+
"color-kMwMTN": "color-x95150z",
|
|
711
|
+
"backgroundColor-kWkggS": "backgroundColor-xjbqb8w backgroundColor-x14zl4n5",
|
|
712
|
+
"borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
|
|
713
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
714
|
+
"borderColor-kVAM5u": "borderColor-x15ykms2",
|
|
715
|
+
"borderRadius-kaIpWk": "borderRadius-x17rit4p",
|
|
716
|
+
"minWidth-k7Eaqz": "minWidth-x7pv91t",
|
|
717
|
+
"minHeight-kAzted": "minHeight-xztz0i",
|
|
718
|
+
"cursor-kkrTdU": "cursor-x1ypdohk",
|
|
719
|
+
"transitionProperty-k1ekBW": "transitionProperty-xts7igz",
|
|
720
|
+
"transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
|
|
721
|
+
$$css: "Menu/styles.css.ts:16"
|
|
722
|
+
},
|
|
723
|
+
triggerGhost: {
|
|
724
|
+
"justifyContent-kjj79g": "justifyContent-xl56j7k",
|
|
725
|
+
"minWidth-k7Eaqz": "minWidth-x1v8ggfx minWidth-x7pv91t",
|
|
726
|
+
"minHeight-kAzted": "minHeight-x1304zm3 minHeight-xztz0i",
|
|
727
|
+
"paddingTop-kLKAdn": "paddingTop-x1i738hq",
|
|
728
|
+
"paddingBottom-kGO01o": "paddingBottom-x6sojwk",
|
|
729
|
+
"paddingLeft-kE3dHu": "paddingLeft-xzmizx3",
|
|
730
|
+
"paddingRight-kpe85a": "paddingRight-x7ulw7g",
|
|
731
|
+
"borderColor-kVAM5u": "borderColor-x9r1u3d",
|
|
732
|
+
$$css: "Menu/styles.css.ts:43"
|
|
733
|
+
},
|
|
734
|
+
triggerSmall: {
|
|
735
|
+
"gap-kOIVth": "gap-xl5ne8a",
|
|
736
|
+
"paddingTop-kLKAdn": "paddingTop-x1i738hq",
|
|
737
|
+
"paddingBottom-kGO01o": "paddingBottom-x6sojwk",
|
|
738
|
+
"paddingLeft-kE3dHu": "paddingLeft-x6xq64o",
|
|
739
|
+
"paddingRight-kpe85a": "paddingRight-xpkaq21",
|
|
740
|
+
"fontSize-kGuDYH": "fontSize-x1f81oxx",
|
|
741
|
+
"minHeight-kAzted": "minHeight-xjf0s44 minHeight-xztz0i",
|
|
742
|
+
$$css: "Menu/styles.css.ts:56"
|
|
743
|
+
},
|
|
744
|
+
triggerGhostSmall: {
|
|
745
|
+
"fontSize-kGuDYH": "fontSize-x1f81oxx",
|
|
746
|
+
"minWidth-k7Eaqz": "minWidth-x1xyvl2a minWidth-x7pv91t",
|
|
747
|
+
"minHeight-kAzted": "minHeight-xmlnt67 minHeight-xztz0i",
|
|
748
|
+
$$css: "Menu/styles.css.ts:66"
|
|
749
|
+
},
|
|
750
|
+
popup: {
|
|
751
|
+
"position-kVAEAm": "position-xixxii4",
|
|
752
|
+
"top-k87sOh": "top-x13vifvy",
|
|
753
|
+
"left-kbCHJM": "left-xu96u03",
|
|
754
|
+
"backgroundColor-kWkggS": "backgroundColor-xuw63hu",
|
|
755
|
+
"borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
|
|
756
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
757
|
+
"borderColor-kVAM5u": "borderColor-x15ykms2",
|
|
758
|
+
"borderRadius-kaIpWk": "borderRadius-x17rit4p",
|
|
759
|
+
"boxShadow-kGVxlE": "boxShadow-x1e78jka",
|
|
760
|
+
"paddingTop-kLKAdn": "paddingTop-x1i738hq",
|
|
761
|
+
"paddingBottom-kGO01o": "paddingBottom-x6sojwk",
|
|
762
|
+
"minWidth-k7Eaqz": "minWidth-x9i2ahm",
|
|
763
|
+
"maxHeight-kskxy": "maxHeight-x2usv7r",
|
|
764
|
+
"overflowY-kORKVm": "overflowY-x1odjw0f",
|
|
765
|
+
"zIndex-kY2c9j": "zIndex-x9qr3eb",
|
|
766
|
+
"pointerEvents-kfzvcC": "pointerEvents-x67bb7w",
|
|
767
|
+
"outlineStyle-k3XXqK": "outlineStyle-x1t137rt",
|
|
768
|
+
$$css: "Menu/styles.css.ts:71"
|
|
769
|
+
},
|
|
770
|
+
popupPosition: (o, e) => [{
|
|
771
|
+
"top-k87sOh": o != null ? "top-xjbys53" : o,
|
|
772
|
+
"left-kbCHJM": e != null ? "left-xgq9j65" : e,
|
|
773
|
+
$$css: "Menu/styles.css.ts:94"
|
|
774
|
+
}, {
|
|
775
|
+
"--x-top": ((t) => typeof t == "number" ? t + "px" : t ?? void 0)(o),
|
|
776
|
+
"--x-left": ((t) => typeof t == "number" ? t + "px" : t ?? void 0)(e)
|
|
777
|
+
}],
|
|
778
|
+
item: {
|
|
779
|
+
"display-k1xSpc": "display-x78zum5",
|
|
780
|
+
"alignItems-kGNEyG": "alignItems-x6s0dn4",
|
|
781
|
+
"paddingTop-kLKAdn": "paddingTop-xc2wovk",
|
|
782
|
+
"paddingBottom-kGO01o": "paddingBottom-x1dr83cj",
|
|
783
|
+
"paddingLeft-kE3dHu": "paddingLeft-x2rk66v",
|
|
784
|
+
"paddingRight-kpe85a": "paddingRight-x7huf2v",
|
|
785
|
+
"fontSize-kGuDYH": "fontSize-x1tzajr0",
|
|
786
|
+
"fontFamily-kMv6JI": "fontFamily-xce2pww",
|
|
787
|
+
"color-kMwMTN": "color-x95150z",
|
|
788
|
+
"borderRadius-kaIpWk": "borderRadius-x17rit4p",
|
|
789
|
+
"cursor-kkrTdU": "cursor-x1ypdohk",
|
|
790
|
+
"backgroundColor-kWkggS": "backgroundColor-xjbqb8w",
|
|
791
|
+
"transitionProperty-k1ekBW": "transitionProperty-x15406qy",
|
|
792
|
+
"transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
|
|
793
|
+
$$css: "Menu/styles.css.ts:98"
|
|
794
|
+
},
|
|
795
|
+
itemHighlighted: {
|
|
796
|
+
"backgroundColor-kWkggS": "backgroundColor-xlyqa1p",
|
|
797
|
+
"outlineStyle-k3XXqK": "outlineStyle-xaatb59",
|
|
798
|
+
"outlineWidth-kMeerF": "outlineWidth-x1a33d5h",
|
|
799
|
+
"outlineColor-kjBf7l": "outlineColor-x1uczgqu",
|
|
800
|
+
"outlineOffset-kInvED": "outlineOffset-x186wpgv",
|
|
801
|
+
$$css: "Menu/styles.css.ts:116"
|
|
802
|
+
},
|
|
803
|
+
separator: {
|
|
804
|
+
"height-kZKoxP": "height-xqtp20y",
|
|
805
|
+
"marginTop-keoZOQ": "marginTop-xuerg7n",
|
|
806
|
+
"marginBottom-k1K539": "marginBottom-xnccn3x",
|
|
807
|
+
"borderTopWidth-kEafiO": "borderTopWidth-xljp14s",
|
|
808
|
+
"borderTopStyle-kPef9Z": "borderTopStyle-x13fuv20",
|
|
809
|
+
"borderTopColor-kLZC3w": "borderTopColor-xvuocu",
|
|
810
|
+
$$css: "Menu/styles.css.ts:123"
|
|
811
|
+
},
|
|
812
|
+
linkItem: {
|
|
813
|
+
"textDecoration-kybGjl": "textDecoration-x1hl2dhg",
|
|
814
|
+
"color-kMwMTN": "color-x95150z color-xtolcfe",
|
|
815
|
+
$$css: "Menu/styles.css.ts:131"
|
|
816
|
+
}
|
|
817
|
+
}, je = F(null);
|
|
818
|
+
function de() {
|
|
819
|
+
const o = A(je);
|
|
820
|
+
if (!o)
|
|
821
|
+
throw new Error("Menu compound components must be used within Menu.Root");
|
|
822
|
+
return o;
|
|
823
|
+
}
|
|
824
|
+
function No(o, e) {
|
|
825
|
+
return o ? !e.some((t) => t != null && t.contains(o)) : !0;
|
|
826
|
+
}
|
|
827
|
+
function Yo({
|
|
828
|
+
open: o,
|
|
829
|
+
defaultOpen: e = !1,
|
|
830
|
+
onOpenChange: t
|
|
831
|
+
}) {
|
|
832
|
+
const [r, a] = ee(e), i = o !== void 0, c = i ? o : r, l = I(c);
|
|
833
|
+
l.current = c;
|
|
834
|
+
const s = I(t);
|
|
835
|
+
s.current = t;
|
|
836
|
+
const n = ye((d) => {
|
|
837
|
+
d !== l.current && (i || a(d), s.current?.(d));
|
|
838
|
+
}, [i]);
|
|
839
|
+
return {
|
|
840
|
+
open: c,
|
|
841
|
+
openRef: l,
|
|
842
|
+
setOpen: n
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
function Zo(o) {
|
|
846
|
+
const e = R.c(37), {
|
|
847
|
+
open: t,
|
|
848
|
+
openRef: r,
|
|
849
|
+
setOpen: a
|
|
850
|
+
} = Yo(o), [i, c] = ee(null), l = I(i);
|
|
851
|
+
let s, n;
|
|
852
|
+
e[0] !== i ? (s = () => {
|
|
853
|
+
l.current = i;
|
|
854
|
+
}, n = [i], e[0] = i, e[1] = s, e[2] = n) : (s = e[1], n = e[2]), ae(s, n);
|
|
855
|
+
const d = Q(), p = Q(), u = I(null), x = I(null), g = I(null);
|
|
856
|
+
let h;
|
|
857
|
+
e[3] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ new Map(), e[3] = h) : h = e[3];
|
|
858
|
+
const w = I(h);
|
|
859
|
+
let v;
|
|
860
|
+
e[4] === Symbol.for("react.memo_cache_sentinel") ? (v = [], e[4] = v) : v = e[4];
|
|
861
|
+
const m = I(v);
|
|
862
|
+
let y;
|
|
863
|
+
e[5] !== r || e[6] !== a ? (y = () => {
|
|
864
|
+
r.current && (a(!1), c(null));
|
|
865
|
+
}, e[5] = r, e[6] = a, e[7] = y) : y = e[7];
|
|
866
|
+
const $ = y;
|
|
867
|
+
let H;
|
|
868
|
+
e[8] !== $ || e[9] !== r ? (H = () => {
|
|
869
|
+
r.current && ($(), x.current?.focus());
|
|
870
|
+
}, e[8] = $, e[9] = r, e[10] = H) : H = e[10];
|
|
871
|
+
const T = H;
|
|
872
|
+
let z;
|
|
873
|
+
e[11] !== T || e[12] !== r || e[13] !== a ? (z = () => {
|
|
874
|
+
r.current ? T() : a(!0);
|
|
875
|
+
}, e[11] = T, e[12] = r, e[13] = a, e[14] = z) : z = e[14];
|
|
876
|
+
const B = z, E = I(!1);
|
|
877
|
+
let X, O;
|
|
878
|
+
e[15] !== t ? (X = () => {
|
|
879
|
+
if (t && !E.current) {
|
|
880
|
+
g.current?.focus({
|
|
881
|
+
preventScroll: !0
|
|
882
|
+
});
|
|
883
|
+
const j = m.current[0];
|
|
884
|
+
j && c(j);
|
|
885
|
+
} else
|
|
886
|
+
!t && E.current && c(null);
|
|
887
|
+
E.current = t;
|
|
888
|
+
}, O = [t], e[15] = t, e[16] = X, e[17] = O) : (X = e[16], O = e[17]), K(X, O);
|
|
889
|
+
let D, V;
|
|
890
|
+
e[18] !== i ? (V = () => {
|
|
891
|
+
if (!i)
|
|
892
|
+
return;
|
|
893
|
+
w.current.get(i)?.scrollIntoView?.({
|
|
894
|
+
block: "nearest"
|
|
895
|
+
});
|
|
896
|
+
}, D = [i], e[18] = i, e[19] = D, e[20] = V) : (D = e[19], V = e[20]), K(V, D);
|
|
897
|
+
let te;
|
|
898
|
+
e[21] === Symbol.for("react.memo_cache_sentinel") ? (te = (j, U) => {
|
|
899
|
+
w.current.set(j, U);
|
|
900
|
+
const N = w.current, q = [...N.keys()];
|
|
901
|
+
return q.sort((L, G) => {
|
|
902
|
+
const Y = N.get(L), me = N.get(G);
|
|
903
|
+
return !Y || !me ? 0 : Y.compareDocumentPosition(me) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
|
|
904
|
+
}), m.current = q, () => {
|
|
905
|
+
w.current.delete(j), m.current = m.current.filter((L) => L !== j);
|
|
906
|
+
};
|
|
907
|
+
}, e[21] = te) : te = e[21];
|
|
908
|
+
const qe = te;
|
|
909
|
+
let oe, re;
|
|
910
|
+
e[22] !== T || e[23] !== t ? (oe = () => {
|
|
911
|
+
const j = g.current;
|
|
912
|
+
if (!j || !t)
|
|
913
|
+
return;
|
|
914
|
+
const U = function(q) {
|
|
915
|
+
if (q.key === "Escape") {
|
|
916
|
+
q.preventDefault(), q.stopPropagation(), T();
|
|
917
|
+
return;
|
|
918
|
+
}
|
|
919
|
+
if (q.key === "Tab") {
|
|
920
|
+
T();
|
|
921
|
+
return;
|
|
922
|
+
}
|
|
923
|
+
const L = m.current;
|
|
924
|
+
if (L.length !== 0)
|
|
925
|
+
e: switch (q.key) {
|
|
926
|
+
case "ArrowDown": {
|
|
927
|
+
q.preventDefault(), c((G) => {
|
|
928
|
+
const Y = G ? L.indexOf(G) : -1;
|
|
929
|
+
return L[(Y + 1) % L.length];
|
|
930
|
+
});
|
|
931
|
+
break e;
|
|
932
|
+
}
|
|
933
|
+
case "ArrowUp": {
|
|
934
|
+
q.preventDefault(), c((G) => {
|
|
935
|
+
const Y = G ? L.indexOf(G) : 0;
|
|
936
|
+
return L[(Y - 1 + L.length) % L.length];
|
|
937
|
+
});
|
|
938
|
+
break e;
|
|
939
|
+
}
|
|
940
|
+
case "Home": {
|
|
941
|
+
q.preventDefault(), c(L[0]);
|
|
942
|
+
break e;
|
|
943
|
+
}
|
|
944
|
+
case "End": {
|
|
945
|
+
q.preventDefault(), c(L[L.length - 1]);
|
|
946
|
+
break e;
|
|
947
|
+
}
|
|
948
|
+
case "Enter":
|
|
949
|
+
case " ": {
|
|
950
|
+
q.preventDefault();
|
|
951
|
+
const G = l.current;
|
|
952
|
+
G && w.current.get(G)?.click();
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
};
|
|
956
|
+
return j.addEventListener("keydown", U), () => j.removeEventListener("keydown", U);
|
|
957
|
+
}, re = [t, T], e[22] = T, e[23] = t, e[24] = oe, e[25] = re) : (oe = e[24], re = e[25]), K(oe, re);
|
|
958
|
+
let ne, ie;
|
|
959
|
+
e[26] !== $ || e[27] !== t ? (ne = () => {
|
|
960
|
+
if (!t)
|
|
961
|
+
return;
|
|
962
|
+
const j = function(N) {
|
|
963
|
+
No(N.target, [g.current, x.current]) && $();
|
|
964
|
+
};
|
|
965
|
+
return document.addEventListener("pointerdown", j, !0), () => document.removeEventListener("pointerdown", j, !0);
|
|
966
|
+
}, ie = [t, $], e[26] = $, e[27] = t, e[28] = ne, e[29] = ie) : (ne = e[28], ie = e[29]), K(ne, ie);
|
|
967
|
+
let se;
|
|
968
|
+
return e[30] !== T || e[31] !== i || e[32] !== d || e[33] !== t || e[34] !== B || e[35] !== p ? (se = {
|
|
969
|
+
ctx: {
|
|
970
|
+
open: t,
|
|
971
|
+
toggle: B,
|
|
972
|
+
close: T,
|
|
973
|
+
menuId: d,
|
|
974
|
+
triggerId: p,
|
|
975
|
+
highlightedId: i,
|
|
976
|
+
setHighlightedId: c,
|
|
977
|
+
registerItem: qe,
|
|
978
|
+
triggerRef: x,
|
|
979
|
+
popupRef: g
|
|
980
|
+
},
|
|
981
|
+
rootRef: u
|
|
982
|
+
}, e[30] = T, e[31] = i, e[32] = d, e[33] = t, e[34] = B, e[35] = p, e[36] = se) : se = e[36], se;
|
|
983
|
+
}
|
|
984
|
+
function Uo({
|
|
985
|
+
anchor: o,
|
|
986
|
+
popup: e,
|
|
987
|
+
viewport: t,
|
|
988
|
+
side: r,
|
|
989
|
+
align: a,
|
|
990
|
+
offset: i
|
|
991
|
+
}) {
|
|
992
|
+
const c = o.top + o.height + i, l = o.top - i - e.height, s = c + e.height <= t.height, n = l >= 0;
|
|
993
|
+
let d = r;
|
|
994
|
+
r === "bottom" && !s && n ? d = "top" : r === "top" && !n && s && (d = "bottom");
|
|
995
|
+
const p = d === "bottom" ? c : l;
|
|
996
|
+
let u = o.left;
|
|
997
|
+
a === "center" ? u = o.left + (o.width - e.width) / 2 : a === "end" && (u = o.left + o.width - e.width);
|
|
998
|
+
const x = Math.max(0, t.width - e.width);
|
|
999
|
+
return u = Math.min(Math.max(0, u), x), {
|
|
1000
|
+
top: p,
|
|
1001
|
+
left: u,
|
|
1002
|
+
side: d
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
const Jo = F(null);
|
|
1006
|
+
function Qo(o, e) {
|
|
1007
|
+
const t = R.c(5), {
|
|
1008
|
+
active: r
|
|
1009
|
+
} = e, a = A(Jo);
|
|
1010
|
+
let i, c;
|
|
1011
|
+
t[0] !== r || t[1] !== a || t[2] !== o ? (i = () => {
|
|
1012
|
+
const l = o.current;
|
|
1013
|
+
if (!(!a || !r || !l))
|
|
1014
|
+
return a.register(l);
|
|
1015
|
+
}, c = [a, r, o], t[0] = r, t[1] = a, t[2] = o, t[3] = i, t[4] = c) : (i = t[3], c = t[4]), ae(i, c);
|
|
1016
|
+
}
|
|
1017
|
+
function er(o) {
|
|
1018
|
+
const e = R.c(10), {
|
|
1019
|
+
children: t,
|
|
1020
|
+
open: r,
|
|
1021
|
+
defaultOpen: a,
|
|
1022
|
+
onOpenChange: i
|
|
1023
|
+
} = o;
|
|
1024
|
+
let c;
|
|
1025
|
+
e[0] !== a || e[1] !== i || e[2] !== r ? (c = {
|
|
1026
|
+
open: r,
|
|
1027
|
+
defaultOpen: a,
|
|
1028
|
+
onOpenChange: i
|
|
1029
|
+
}, e[0] = a, e[1] = i, e[2] = r, e[3] = c) : c = e[3];
|
|
1030
|
+
const {
|
|
1031
|
+
ctx: l,
|
|
1032
|
+
rootRef: s
|
|
1033
|
+
} = Zo(c);
|
|
1034
|
+
let n;
|
|
1035
|
+
e[4] !== t || e[5] !== s ? (n = /* @__PURE__ */ W("div", { "data-element-src": "Menu/Menu.tsx:42", ref: s, ...S(C.div, P.root), children: t }), e[4] = t, e[5] = s, e[6] = n) : n = e[6];
|
|
1036
|
+
let d;
|
|
1037
|
+
return e[7] !== l || e[8] !== n ? (d = /* @__PURE__ */ W(je.Provider, { value: l, children: n }), e[7] = l, e[8] = n, e[9] = d) : d = e[9], d;
|
|
1038
|
+
}
|
|
1039
|
+
const tr = 'button, a[href], input, select, textarea, [role="button"]';
|
|
1040
|
+
function or({
|
|
1041
|
+
children: o,
|
|
1042
|
+
"aria-label": e,
|
|
1043
|
+
variant: t = "default",
|
|
1044
|
+
size: r = "default",
|
|
1045
|
+
ref: a
|
|
1046
|
+
}) {
|
|
1047
|
+
const {
|
|
1048
|
+
open: i,
|
|
1049
|
+
toggle: c,
|
|
1050
|
+
menuId: l,
|
|
1051
|
+
triggerId: s,
|
|
1052
|
+
triggerRef: n
|
|
1053
|
+
} = de(), d = Oo(), p = d.ref, u = ye((x) => {
|
|
1054
|
+
n.current = x, p.current = x, typeof a == "function" ? a(x) : a && (a.current = x);
|
|
1055
|
+
}, [a, n, p]);
|
|
1056
|
+
return K(() => {
|
|
1057
|
+
n.current?.querySelector(tr) && He("Menu", "trigger-nested-control", "Menu.Trigger is itself the button — give it the label (text, an Icon), not a Button, link or other control. A control inside a <button> is invalid HTML: it breaks hydration and hands assistive tech a button inside a button.");
|
|
1058
|
+
}, [n]), /* @__PURE__ */ W("button", { "data-element-src": "Menu/Menu.tsx:101", ref: u, tabIndex: d.tabIndex, onFocus: d.onFocus, id: s, type: "button", onClick: c, "aria-label": e, "aria-expanded": i, "aria-haspopup": "menu", "aria-controls": i ? l : void 0, ...S(C.button, P.trigger, t === "ghost" ? [P.triggerGhost, r === "small" && P.triggerGhostSmall] : r === "small" && P.triggerSmall, d.style), children: o });
|
|
1059
|
+
}
|
|
1060
|
+
function rr(o) {
|
|
1061
|
+
const e = R.c(26), {
|
|
1062
|
+
children: t,
|
|
1063
|
+
align: r
|
|
1064
|
+
} = o, a = r === void 0 ? "start" : r, {
|
|
1065
|
+
open: i,
|
|
1066
|
+
menuId: c,
|
|
1067
|
+
triggerId: l,
|
|
1068
|
+
highlightedId: s,
|
|
1069
|
+
triggerRef: n,
|
|
1070
|
+
popupRef: d
|
|
1071
|
+
} = de();
|
|
1072
|
+
let p;
|
|
1073
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (p = {
|
|
1074
|
+
top: 0,
|
|
1075
|
+
left: 0
|
|
1076
|
+
}, e[0] = p) : p = e[0];
|
|
1077
|
+
const [u, x] = ee(p), g = Vo();
|
|
1078
|
+
let h;
|
|
1079
|
+
e[1] !== i ? (h = {
|
|
1080
|
+
active: i
|
|
1081
|
+
}, e[1] = i, e[2] = h) : h = e[2], Qo(d, h);
|
|
1082
|
+
let w, v;
|
|
1083
|
+
if (e[3] !== a || e[4] !== i || e[5] !== d || e[6] !== n ? (w = () => {
|
|
1084
|
+
if (!i)
|
|
1085
|
+
return;
|
|
1086
|
+
const E = () => {
|
|
1087
|
+
const X = d.current, O = n.current?.getBoundingClientRect();
|
|
1088
|
+
if (!X || !O)
|
|
1089
|
+
return;
|
|
1090
|
+
const D = Uo({
|
|
1091
|
+
anchor: {
|
|
1092
|
+
top: O.top,
|
|
1093
|
+
left: O.left,
|
|
1094
|
+
width: O.width,
|
|
1095
|
+
height: O.height
|
|
1096
|
+
},
|
|
1097
|
+
popup: {
|
|
1098
|
+
width: X.offsetWidth,
|
|
1099
|
+
height: X.offsetHeight
|
|
1100
|
+
},
|
|
1101
|
+
viewport: {
|
|
1102
|
+
width: window.innerWidth,
|
|
1103
|
+
height: window.innerHeight
|
|
1104
|
+
},
|
|
1105
|
+
side: "bottom",
|
|
1106
|
+
align: a,
|
|
1107
|
+
offset: Oe.xs
|
|
1108
|
+
});
|
|
1109
|
+
x((V) => V.top === D.top && V.left === D.left ? V : {
|
|
1110
|
+
top: D.top,
|
|
1111
|
+
left: D.left
|
|
1112
|
+
});
|
|
1113
|
+
};
|
|
1114
|
+
return E(), window.addEventListener("resize", E), window.addEventListener("scroll", E, !0), () => {
|
|
1115
|
+
window.removeEventListener("resize", E), window.removeEventListener("scroll", E, !0);
|
|
1116
|
+
};
|
|
1117
|
+
}, v = [i, a, d, n], e[3] = a, e[4] = i, e[5] = d, e[6] = n, e[7] = w, e[8] = v) : (w = e[7], v = e[8]), ae(w, v), !i || typeof document > "u")
|
|
1118
|
+
return null;
|
|
1119
|
+
const m = s ?? void 0;
|
|
1120
|
+
let y;
|
|
1121
|
+
e[9] !== u.left || e[10] !== u.top ? (y = P.popupPosition(u.top, u.left), e[9] = u.left, e[10] = u.top, e[11] = y) : y = e[11];
|
|
1122
|
+
let $;
|
|
1123
|
+
e[12] !== y ? ($ = [P.popup, y], e[12] = y, e[13] = $) : $ = e[13];
|
|
1124
|
+
let H;
|
|
1125
|
+
e[14] !== t ? (H = /* @__PURE__ */ W(Ko, { children: t }), e[14] = t, e[15] = H) : H = e[15];
|
|
1126
|
+
let T;
|
|
1127
|
+
e[16] !== c || e[17] !== d || e[18] !== m || e[19] !== $ || e[20] !== H || e[21] !== l ? (T = /* @__PURE__ */ W("div", { "data-element-src": "Menu/Menu.tsx:171", ref: d, id: c, role: "menu", tabIndex: -1, "aria-labelledby": l, "aria-activedescendant": m, ...S(C.div, $), children: H }), e[16] = c, e[17] = d, e[18] = m, e[19] = $, e[20] = H, e[21] = l, e[22] = T) : T = e[22];
|
|
1128
|
+
const z = g ?? document.body;
|
|
1129
|
+
let B;
|
|
1130
|
+
return e[23] !== T || e[24] !== z ? (B = Ee(T, z), e[23] = T, e[24] = z, e[25] = B) : B = e[25], B;
|
|
1131
|
+
}
|
|
1132
|
+
function nr(o) {
|
|
1133
|
+
const e = R.c(18), {
|
|
1134
|
+
onClick: t,
|
|
1135
|
+
children: r
|
|
1136
|
+
} = o, {
|
|
1137
|
+
close: a,
|
|
1138
|
+
highlightedId: i,
|
|
1139
|
+
setHighlightedId: c,
|
|
1140
|
+
registerItem: l
|
|
1141
|
+
} = de(), s = Q(), n = I(null), d = i === s;
|
|
1142
|
+
let p, u;
|
|
1143
|
+
e[0] !== s || e[1] !== l ? (p = () => {
|
|
1144
|
+
const y = n.current;
|
|
1145
|
+
if (y)
|
|
1146
|
+
return l(s, y);
|
|
1147
|
+
}, u = [s, l], e[0] = s, e[1] = l, e[2] = p, e[3] = u) : (p = e[2], u = e[3]), K(p, u);
|
|
1148
|
+
let x;
|
|
1149
|
+
e[4] !== a || e[5] !== t ? (x = () => {
|
|
1150
|
+
t?.(), a();
|
|
1151
|
+
}, e[4] = a, e[5] = t, e[6] = x) : x = e[6];
|
|
1152
|
+
const g = x;
|
|
1153
|
+
let h;
|
|
1154
|
+
e[7] !== s || e[8] !== c ? (h = () => c(s), e[7] = s, e[8] = c, e[9] = h) : h = e[9];
|
|
1155
|
+
const w = d && P.itemHighlighted;
|
|
1156
|
+
let v;
|
|
1157
|
+
e[10] !== w ? (v = [P.item, w], e[10] = w, e[11] = v) : v = e[11];
|
|
1158
|
+
let m;
|
|
1159
|
+
return e[12] !== r || e[13] !== g || e[14] !== s || e[15] !== h || e[16] !== v ? (m = /* @__PURE__ */ W("div", { "data-element-src": "Menu/Menu.tsx:210", ref: n, id: s, role: "menuitem", onClick: g, onPointerEnter: h, ...S(C.div, v), children: r }), e[12] = r, e[13] = g, e[14] = s, e[15] = h, e[16] = v, e[17] = m) : m = e[17], m;
|
|
1160
|
+
}
|
|
1161
|
+
function ir(o) {
|
|
1162
|
+
const e = R.c(20), {
|
|
1163
|
+
href: t,
|
|
1164
|
+
onNavigate: r,
|
|
1165
|
+
children: a
|
|
1166
|
+
} = o, {
|
|
1167
|
+
close: i,
|
|
1168
|
+
highlightedId: c,
|
|
1169
|
+
setHighlightedId: l,
|
|
1170
|
+
registerItem: s
|
|
1171
|
+
} = de(), n = Q(), d = I(null), p = c === n;
|
|
1172
|
+
let u, x;
|
|
1173
|
+
e[0] !== n || e[1] !== s ? (u = () => {
|
|
1174
|
+
const y = d.current;
|
|
1175
|
+
if (y)
|
|
1176
|
+
return s(n, y);
|
|
1177
|
+
}, x = [n, s], e[0] = n, e[1] = s, e[2] = u, e[3] = x) : (u = e[2], x = e[3]), K(u, x);
|
|
1178
|
+
let g;
|
|
1179
|
+
e[4] !== i || e[5] !== t || e[6] !== r ? (g = (y) => {
|
|
1180
|
+
r && Se(y) && r(t, y), i();
|
|
1181
|
+
}, e[4] = i, e[5] = t, e[6] = r, e[7] = g) : g = e[7];
|
|
1182
|
+
let h;
|
|
1183
|
+
e[8] !== n || e[9] !== l ? (h = () => l(n), e[8] = n, e[9] = l, e[10] = h) : h = e[10];
|
|
1184
|
+
const w = p && P.itemHighlighted;
|
|
1185
|
+
let v;
|
|
1186
|
+
e[11] !== w ? (v = [P.item, P.linkItem, w], e[11] = w, e[12] = v) : v = e[12];
|
|
1187
|
+
let m;
|
|
1188
|
+
return e[13] !== a || e[14] !== t || e[15] !== n || e[16] !== g || e[17] !== h || e[18] !== v ? (m = /* @__PURE__ */ W("a", { "data-element-src": "Menu/Menu.tsx:247", ref: d, id: n, href: t, onClick: g, role: "menuitem", onPointerEnter: h, ...S(C.a, v), children: a }), e[13] = a, e[14] = t, e[15] = n, e[16] = g, e[17] = h, e[18] = v, e[19] = m) : m = e[19], m;
|
|
1189
|
+
}
|
|
1190
|
+
function sr() {
|
|
1191
|
+
const o = R.c(1);
|
|
1192
|
+
let e;
|
|
1193
|
+
return o[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ W("div", { "data-element-src": "Menu/Menu.tsx:269", role: "separator", "aria-orientation": "horizontal", ...S(C.div, P.separator) }), o[0] = e) : e = o[0], e;
|
|
1194
|
+
}
|
|
1195
|
+
const Cr = {
|
|
1196
|
+
Root: er,
|
|
1197
|
+
Trigger: or,
|
|
1198
|
+
Popup: rr,
|
|
1199
|
+
Item: nr,
|
|
1200
|
+
LinkItem: ir,
|
|
1201
|
+
Separator: sr
|
|
1202
|
+
}, M = {
|
|
1203
|
+
container: {
|
|
1204
|
+
"containerType-k9g6sI": "containerType-x12h1iku",
|
|
1205
|
+
"display-k1xSpc": "display-x78zum5",
|
|
1206
|
+
"flexDirection-kXwgrk": "flexDirection-xdt5ytf",
|
|
1207
|
+
"gap-kOIVth": "gap-x175yhtj",
|
|
1208
|
+
$$css: "Table/styles.css.ts:25"
|
|
1209
|
+
},
|
|
1210
|
+
rootContainer: {
|
|
1211
|
+
"containerType-k9g6sI": "containerType-x12h1iku",
|
|
1212
|
+
"display-k1xSpc": "display-x78zum5",
|
|
1213
|
+
"flexDirection-kXwgrk": "flexDirection-xdt5ytf",
|
|
1214
|
+
"gap-kOIVth": "gap-x175yhtj",
|
|
1215
|
+
$$css: "Table/styles.css.ts:34"
|
|
1216
|
+
},
|
|
1217
|
+
clickableRow: {
|
|
1218
|
+
"cursor-kkrTdU": "cursor-x1ypdohk",
|
|
1219
|
+
"outlineWidth-kMeerF": "outlineWidth-x1k57tk5 outlineWidth-x4u4vcp",
|
|
1220
|
+
"outlineStyle-k3XXqK": "outlineStyle-xaatb59",
|
|
1221
|
+
"outlineColor-kjBf7l": "outlineColor-x1e3ajik",
|
|
1222
|
+
"outlineOffset-kInvED": "outlineOffset-x1j8r21s",
|
|
1223
|
+
$$css: "Table/styles.css.ts:43"
|
|
1224
|
+
},
|
|
1225
|
+
root: {
|
|
1226
|
+
"display-k1xSpc": "display-xrvj5dj",
|
|
1227
|
+
"borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
|
|
1228
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
1229
|
+
"borderColor-kVAM5u": "borderColor-x15ykms2",
|
|
1230
|
+
"borderRadius-kaIpWk": "borderRadius-xwbokb3",
|
|
1231
|
+
"overflow-kVQacm": "overflow-xb3r6kr",
|
|
1232
|
+
"backgroundColor-kWkggS": "backgroundColor-xuw63hu",
|
|
1233
|
+
"fontFamily-kMv6JI": "fontFamily-xce2pww",
|
|
1234
|
+
"color-kMwMTN": "color-x95150z",
|
|
1235
|
+
$$css: "Table/styles.css.ts:55"
|
|
1236
|
+
},
|
|
1237
|
+
rootResponsive: {
|
|
1238
|
+
"minWidth-k7Eaqz": "minWidth-x13qp9f6 minWidth-xym1sjy",
|
|
1239
|
+
"borderWidth-kMzoRj": "borderWidth-x1qc3l2q borderWidth-xtteep3",
|
|
1240
|
+
"backgroundColor-kWkggS": "backgroundColor-xuw63hu backgroundColor-x1i4f0qi",
|
|
1241
|
+
"overflow-kVQacm": "overflow-xb3r6kr overflow-x2v4zgh",
|
|
1242
|
+
"rowGap-khm7nJ": "rowGap-xxs79tx rowGap-xijoxap",
|
|
1243
|
+
$$css: "Table/styles.css.ts:74"
|
|
1244
|
+
},
|
|
1245
|
+
header: {
|
|
1246
|
+
"display-k1xSpc": "display-xrvj5dj display-xncg82s",
|
|
1247
|
+
"gridColumn-kBCFzs": "gridColumn-x1osaytk",
|
|
1248
|
+
"gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx",
|
|
1249
|
+
"backgroundColor-kWkggS": "backgroundColor-xuw63hu",
|
|
1250
|
+
$$css: "Table/styles.css.ts:106"
|
|
1251
|
+
},
|
|
1252
|
+
body: {
|
|
1253
|
+
"display-k1xSpc": "display-xrvj5dj",
|
|
1254
|
+
"gridColumn-kBCFzs": "gridColumn-x1osaytk",
|
|
1255
|
+
"gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx",
|
|
1256
|
+
$$css: "Table/styles.css.ts:117"
|
|
1257
|
+
},
|
|
1258
|
+
row: {
|
|
1259
|
+
"display-k1xSpc": "display-xrvj5dj",
|
|
1260
|
+
"gridColumn-kBCFzs": "gridColumn-x1osaytk",
|
|
1261
|
+
"gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx gridTemplateColumns-x1iukyyp",
|
|
1262
|
+
"borderBottomWidth-kt9PQ7": "borderBottomWidth-x12yxxv5 borderBottomWidth-xatuo0m",
|
|
1263
|
+
"borderBottomStyle-kfdmCh": "borderBottomStyle-x1q0q8m5",
|
|
1264
|
+
"borderBottomColor-kL6WhQ": "borderBottomColor-x19cyuh1",
|
|
1265
|
+
$$css: "Table/styles.css.ts:126"
|
|
1266
|
+
},
|
|
1267
|
+
bodyRow: {
|
|
1268
|
+
"backgroundColor-kWkggS": "backgroundColor-xjbqb8w backgroundColor-xp88rol backgroundColor-x14zl4n5",
|
|
1269
|
+
"transitionProperty-k1ekBW": "transitionProperty-x15406qy",
|
|
1270
|
+
"transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
|
|
1271
|
+
"transitionTimingFunction-kAMwcw": "transitionTimingFunction-xrbxpra",
|
|
1272
|
+
"padding-kmVPX3": "padding-x1717udv padding-x1s7rzzx",
|
|
1273
|
+
"borderRadius-kaIpWk": "borderRadius-x2u8bby borderRadius-x95x1h7",
|
|
1274
|
+
"borderWidth-kMzoRj": "borderWidth-xc342km borderWidth-xrp8l4a",
|
|
1275
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
1276
|
+
"borderColor-kVAM5u": "borderColor-x15ykms2",
|
|
1277
|
+
$$css: "Table/styles.css.ts:140"
|
|
1278
|
+
},
|
|
1279
|
+
headerCell: {
|
|
1280
|
+
"fontWeight-k63SB2": "fontWeight-x1x12jc5",
|
|
1281
|
+
"color-kMwMTN": "color-x4opovt",
|
|
1282
|
+
"textAlign-k9WMMc": "textAlign-x1yc453h",
|
|
1283
|
+
"minWidth-k7Eaqz": "minWidth-xeuugli",
|
|
1284
|
+
"overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
|
|
1285
|
+
"whiteSpace-khDVqt": "whiteSpace-xeaf4i8 whiteSpace-x1348v4l",
|
|
1286
|
+
$$css: "Table/styles.css.ts:167"
|
|
1287
|
+
},
|
|
1288
|
+
cell: {
|
|
1289
|
+
"color-kMwMTN": "color-x95150z",
|
|
1290
|
+
"display-k1xSpc": "display-x78zum5 display-xs8gwy4",
|
|
1291
|
+
"alignItems-kGNEyG": "alignItems-x6s0dn4",
|
|
1292
|
+
"minWidth-k7Eaqz": "minWidth-xeuugli",
|
|
1293
|
+
"overflow-kVQacm": "overflow-x1rea2x4 overflow-x1axt6uq",
|
|
1294
|
+
"whiteSpace-khDVqt": "whiteSpace-xeaf4i8",
|
|
1295
|
+
"overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
|
|
1296
|
+
"gridTemplateColumns-kumcoG": "gridTemplateColumns-xzgtm8w",
|
|
1297
|
+
"gap-kOIVth": "gap-xxhr3t gap-xgrwfsz",
|
|
1298
|
+
$$css: "Table/styles.css.ts:190"
|
|
1299
|
+
},
|
|
1300
|
+
cellValue: {
|
|
1301
|
+
"minWidth-k7Eaqz": "minWidth-xeuugli",
|
|
1302
|
+
"flexGrow-kzQI83": "flexGrow-x1iyjqo2",
|
|
1303
|
+
"overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
|
|
1304
|
+
$$css: "Table/styles.css.ts:228"
|
|
1305
|
+
},
|
|
1306
|
+
cellLabel: {
|
|
1307
|
+
"display-k1xSpc": "display-x1s85apg display-x1sim00f",
|
|
1308
|
+
"color-kMwMTN": "color-x4opovt",
|
|
1309
|
+
"fontWeight-k63SB2": "fontWeight-x120ksxs",
|
|
1310
|
+
"fontSize-kGuDYH": "fontSize-x1f81oxx",
|
|
1311
|
+
$$css: "Table/styles.css.ts:237"
|
|
1312
|
+
},
|
|
1313
|
+
cellActions: {
|
|
1314
|
+
"gridTemplateColumns-kumcoG": "gridTemplateColumns-x1iukyyp",
|
|
1315
|
+
"justifyContent-kjj79g": "justifyContent-xalo3at",
|
|
1316
|
+
"marginTop-keoZOQ": "marginTop-xdj266r marginTop-x1mip588",
|
|
1317
|
+
"paddingTop-kLKAdn": "paddingTop-x1waenea",
|
|
1318
|
+
"borderTopWidth-kEafiO": "borderTopWidth-x972fbf borderTopWidth-x1ijfi2n",
|
|
1319
|
+
"borderTopStyle-kPef9Z": "borderTopStyle-x13fuv20",
|
|
1320
|
+
"borderTopColor-kLZC3w": "borderTopColor-xvuocu",
|
|
1321
|
+
$$css: "Table/styles.css.ts:251"
|
|
1322
|
+
},
|
|
1323
|
+
cellSm: {
|
|
1324
|
+
"paddingTop-kLKAdn": "paddingTop-x1i738hq paddingTop-x81it4n",
|
|
1325
|
+
"paddingBottom-kGO01o": "paddingBottom-x6sojwk paddingBottom-x1jele16",
|
|
1326
|
+
"paddingLeft-kE3dHu": "paddingLeft-x6xq64o",
|
|
1327
|
+
"paddingRight-kpe85a": "paddingRight-xpkaq21",
|
|
1328
|
+
"fontSize-kGuDYH": "fontSize-x1f81oxx",
|
|
1329
|
+
$$css: "Table/styles.css.ts:277"
|
|
1330
|
+
},
|
|
1331
|
+
cellMd: {
|
|
1332
|
+
"paddingTop-kLKAdn": "paddingTop-xc2wovk",
|
|
1333
|
+
"paddingBottom-kGO01o": "paddingBottom-x1dr83cj",
|
|
1334
|
+
"paddingLeft-kE3dHu": "paddingLeft-x2rk66v paddingLeft-x1u39w1b",
|
|
1335
|
+
"paddingRight-kpe85a": "paddingRight-x7huf2v paddingRight-x1cevoma",
|
|
1336
|
+
"fontSize-kGuDYH": "fontSize-x1tzajr0",
|
|
1337
|
+
$$css: "Table/styles.css.ts:291"
|
|
1338
|
+
},
|
|
1339
|
+
stripedEven: {
|
|
1340
|
+
"backgroundColor-kWkggS": "backgroundColor-xlyqa1p backgroundColor-xp88rol backgroundColor-x14zl4n5",
|
|
1341
|
+
$$css: "Table/styles.css.ts:307"
|
|
1342
|
+
},
|
|
1343
|
+
borderedCell: {
|
|
1344
|
+
"borderRightWidth-kWqL5O": "borderRightWidth-xnwp6cp borderRightWidth-xc5nm28",
|
|
1345
|
+
"borderRightStyle-kSWEuD": "borderRightStyle-x32b0ac",
|
|
1346
|
+
"borderRightColor-k26BEO": "borderRightColor-x9iiiab",
|
|
1347
|
+
$$css: "Table/styles.css.ts:316"
|
|
1348
|
+
},
|
|
1349
|
+
borderedCellLast: {
|
|
1350
|
+
"borderRightWidth-kWqL5O": "borderRightWidth-xgfja2r",
|
|
1351
|
+
$$css: "Table/styles.css.ts:324"
|
|
1352
|
+
},
|
|
1353
|
+
sortChip: {
|
|
1354
|
+
"display-k1xSpc": "display-x1s85apg display-x11cgw9t",
|
|
1355
|
+
"alignSelf-kSGwAc": "alignSelf-xqcrz7y",
|
|
1356
|
+
$$css: "Table/styles.css.ts:329"
|
|
1357
|
+
},
|
|
1358
|
+
scrollX: {
|
|
1359
|
+
"overflowX-kXHlph": "overflowX-xw2csxc",
|
|
1360
|
+
"overflowY-kORKVm": "overflowY-xryxfnj",
|
|
1361
|
+
"WebkitOverflowScrolling-kuHK5b": "WebkitOverflowScrolling-x5lxg6s",
|
|
1362
|
+
$$css: "Table/styles.css.ts:343"
|
|
1363
|
+
},
|
|
1364
|
+
scrollFrame: {
|
|
1365
|
+
"position-kVAEAm": "position-x1n2onr6",
|
|
1366
|
+
$$css: "Table/styles.css.ts:354"
|
|
1367
|
+
},
|
|
1368
|
+
edgeFade: {
|
|
1369
|
+
"position-kVAEAm": "position-x10l6tqk",
|
|
1370
|
+
"top-k87sOh": "top-xnfr1j",
|
|
1371
|
+
"bottom-krVfgx": "bottom-x19ip775",
|
|
1372
|
+
"width-kzqmXN": "width-x1xju080",
|
|
1373
|
+
"pointerEvents-kfzvcC": "pointerEvents-x47corl",
|
|
1374
|
+
"opacity-kSiTet": "opacity-xg01cxk",
|
|
1375
|
+
"transitionProperty-k1ekBW": "transitionProperty-x19991ni",
|
|
1376
|
+
"transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
|
|
1377
|
+
"transitionTimingFunction-kAMwcw": "transitionTimingFunction-xrbxpra",
|
|
1378
|
+
$$css: "Table/styles.css.ts:361"
|
|
1379
|
+
},
|
|
1380
|
+
edgeFadeLeft: {
|
|
1381
|
+
"left-kbCHJM": "left-xt9097p",
|
|
1382
|
+
"borderTopLeftRadius-kIxVMA": "borderTopLeftRadius-xha5hpv",
|
|
1383
|
+
"borderBottomLeftRadius-kqGeR4": "borderBottomLeftRadius-x1hsk2v7",
|
|
1384
|
+
"backgroundImage-kKwaWg": "backgroundImage-xvdn1ag",
|
|
1385
|
+
$$css: "Table/styles.css.ts:372"
|
|
1386
|
+
},
|
|
1387
|
+
edgeFadeRight: {
|
|
1388
|
+
"right-kCIrl2": "right-x1hp3iq1",
|
|
1389
|
+
"borderTopRightRadius-ksF3WI": "borderTopRightRadius-xbbsgyh",
|
|
1390
|
+
"borderBottomRightRadius-kYm2EN": "borderBottomRightRadius-xitffcu",
|
|
1391
|
+
"backgroundImage-kKwaWg": "backgroundImage-x1ykoi01",
|
|
1392
|
+
$$css: "Table/styles.css.ts:378"
|
|
1393
|
+
},
|
|
1394
|
+
edgeFadeVisible: {
|
|
1395
|
+
"opacity-kSiTet": "opacity-x1hc1fzr",
|
|
1396
|
+
$$css: "Table/styles.css.ts:384"
|
|
1397
|
+
},
|
|
1398
|
+
gridColumns: (o) => [{
|
|
1399
|
+
"gridTemplateColumns-kumcoG": o != null ? "gridTemplateColumns-xqketvx" : o,
|
|
1400
|
+
$$css: "Table/styles.css.ts:389"
|
|
1401
|
+
}, {
|
|
1402
|
+
"--x-gridTemplateColumns": o ?? void 0
|
|
1403
|
+
}],
|
|
1404
|
+
gridColumnsResponsive: (o, e) => [{
|
|
1405
|
+
"gridTemplateColumns-kumcoG": (o != null ? "gridTemplateColumns-x39pwss " : o) + (e != null ? "gridTemplateColumns-x17u3dsi " : e) + "gridTemplateColumns-x1iukyyp",
|
|
1406
|
+
$$css: "Table/styles.css.ts:408"
|
|
1407
|
+
}, {
|
|
1408
|
+
"--x-1pds3uo": o ?? void 0,
|
|
1409
|
+
"--x-1n5740v": e ?? void 0
|
|
1410
|
+
}]
|
|
1411
|
+
}, Le = F(null);
|
|
1412
|
+
function ue() {
|
|
1413
|
+
const o = A(Le);
|
|
1414
|
+
if (!o)
|
|
1415
|
+
throw new Error("Table compound components must be used within Table.Root");
|
|
1416
|
+
return o;
|
|
1417
|
+
}
|
|
1418
|
+
const xe = F(!1);
|
|
1419
|
+
function lr(o) {
|
|
1420
|
+
const e = R.c(2), {
|
|
1421
|
+
children: t
|
|
1422
|
+
} = o;
|
|
1423
|
+
let r;
|
|
1424
|
+
return e[0] !== t ? (r = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:55", ...S(C.div, M.container), children: t }), e[0] = t, e[1] = r) : r = e[1], r;
|
|
1425
|
+
}
|
|
1426
|
+
function ar(o) {
|
|
1427
|
+
let e = "";
|
|
1428
|
+
return ce.forEach(o, (t) => {
|
|
1429
|
+
(typeof t == "string" || typeof t == "number") && (e += String(t));
|
|
1430
|
+
}), e;
|
|
1431
|
+
}
|
|
1432
|
+
function cr(o) {
|
|
1433
|
+
let e = o;
|
|
1434
|
+
for (let t = 0; t < 8 && e && typeof e == "object"; t++) {
|
|
1435
|
+
const r = e.type ?? e.render;
|
|
1436
|
+
if (r == null) break;
|
|
1437
|
+
e = r;
|
|
1438
|
+
}
|
|
1439
|
+
return e;
|
|
1440
|
+
}
|
|
1441
|
+
function dr(o, e) {
|
|
1442
|
+
const t = [], r = [], a = [];
|
|
1443
|
+
function i(c) {
|
|
1444
|
+
ce.forEach(c, (l) => {
|
|
1445
|
+
if (!Be(l)) return;
|
|
1446
|
+
const s = l.props, n = cr(l.type), d = n?.displayName || n?.name || "";
|
|
1447
|
+
if (n === he || d === "HeaderCell") {
|
|
1448
|
+
const p = s.width ? String(ve(s.width)) : `minmax(${ze(e)}, 1fr)`;
|
|
1449
|
+
t.push(p), r.push(s.compactWidth ? String(ve(s.compactWidth)) : p);
|
|
1450
|
+
const u = typeof s.label == "string" ? s.label : void 0, x = ar(s.children).trim(), g = u ?? x;
|
|
1451
|
+
!u && x === "" && s.children != null && He("Table", "headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), a.push(g);
|
|
1452
|
+
} else s.children && i(s.children);
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
return i(o), {
|
|
1456
|
+
template: t.join(" "),
|
|
1457
|
+
compactTemplate: r.join(" "),
|
|
1458
|
+
labels: a
|
|
1459
|
+
};
|
|
1460
|
+
}
|
|
1461
|
+
function ur(o) {
|
|
1462
|
+
const e = R.c(13), {
|
|
1463
|
+
children: t
|
|
1464
|
+
} = o, r = I(null);
|
|
1465
|
+
let a;
|
|
1466
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (a = {
|
|
1467
|
+
start: !1,
|
|
1468
|
+
end: !1
|
|
1469
|
+
}, e[0] = a) : a = e[0];
|
|
1470
|
+
const [i, c] = ee(a);
|
|
1471
|
+
let l, s;
|
|
1472
|
+
e[1] === Symbol.for("react.memo_cache_sentinel") ? (l = () => {
|
|
1473
|
+
const h = r.current;
|
|
1474
|
+
if (!h)
|
|
1475
|
+
return;
|
|
1476
|
+
const w = () => {
|
|
1477
|
+
const m = h.scrollWidth - h.clientWidth > 1;
|
|
1478
|
+
c({
|
|
1479
|
+
start: m && h.scrollLeft > 1,
|
|
1480
|
+
end: m && h.scrollLeft + h.clientWidth < h.scrollWidth - 1
|
|
1481
|
+
});
|
|
1482
|
+
};
|
|
1483
|
+
w(), h.addEventListener("scroll", w, {
|
|
1484
|
+
passive: !0
|
|
1485
|
+
});
|
|
1486
|
+
const v = typeof ResizeObserver < "u" ? new ResizeObserver(w) : null;
|
|
1487
|
+
return v?.observe(h), () => {
|
|
1488
|
+
h.removeEventListener("scroll", w), v?.disconnect();
|
|
1489
|
+
};
|
|
1490
|
+
}, s = [], e[1] = l, e[2] = s) : (l = e[1], s = e[2]), K(l, s);
|
|
1491
|
+
let n;
|
|
1492
|
+
e[3] !== t ? (n = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:196", ref: r, ...S(C.div, M.scrollX), children: t }), e[3] = t, e[4] = n) : n = e[4];
|
|
1493
|
+
const d = i.start && M.edgeFadeVisible;
|
|
1494
|
+
let p;
|
|
1495
|
+
e[5] !== d ? (p = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:199", "aria-hidden": !0, ...S(C.div, M.edgeFade, M.edgeFadeLeft, d) }), e[5] = d, e[6] = p) : p = e[6];
|
|
1496
|
+
const u = i.end && M.edgeFadeVisible;
|
|
1497
|
+
let x;
|
|
1498
|
+
e[7] !== u ? (x = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:203", "aria-hidden": !0, ...S(C.div, M.edgeFade, M.edgeFadeRight, u) }), e[7] = u, e[8] = x) : x = e[8];
|
|
1499
|
+
let g;
|
|
1500
|
+
return e[9] !== n || e[10] !== p || e[11] !== x ? (g = /* @__PURE__ */ le("div", { "data-element-src": "Table/Table.tsx:195", ...S(C.div, M.scrollFrame), children: [
|
|
1501
|
+
n,
|
|
1502
|
+
p,
|
|
1503
|
+
x
|
|
1504
|
+
] }), e[9] = n, e[10] = p, e[11] = x, e[12] = g) : g = e[12], g;
|
|
1505
|
+
}
|
|
1506
|
+
function pr({
|
|
1507
|
+
children: o,
|
|
1508
|
+
variant: e = "default",
|
|
1509
|
+
size: t = "md",
|
|
1510
|
+
responsive: r = !0,
|
|
1511
|
+
minColumnWidth: a = "labelMinW",
|
|
1512
|
+
sortChip: i,
|
|
1513
|
+
pagination: c
|
|
1514
|
+
}) {
|
|
1515
|
+
const l = I(null), {
|
|
1516
|
+
template: s,
|
|
1517
|
+
compactTemplate: n,
|
|
1518
|
+
labels: d
|
|
1519
|
+
} = dr(o, a);
|
|
1520
|
+
s && (l.current = s);
|
|
1521
|
+
const p = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:257", role: "table", ...S(
|
|
1522
|
+
C.div,
|
|
1523
|
+
M.root,
|
|
1524
|
+
// When responsive, use gridColumnsResponsive so the explicit column
|
|
1525
|
+
// template and the stack-mode @container override live in one StyleX
|
|
1526
|
+
// style object. Splitting them across two styles (gridColumns +
|
|
1527
|
+
// rootResponsive) causes StyleX conflict resolution to drop the
|
|
1528
|
+
// column template because rootResponsive's gridTemplateColumns key
|
|
1529
|
+
// always wins as the later entry in the array.
|
|
1530
|
+
s ? r ? M.gridColumnsResponsive(s, n) : M.gridColumns(s) : void 0,
|
|
1531
|
+
r && M.rootResponsive
|
|
1532
|
+
), children: o }), x = /* @__PURE__ */ le(Pe, { children: [
|
|
1533
|
+
i,
|
|
1534
|
+
r ? /* @__PURE__ */ W(ur, { children: p }) : p,
|
|
1535
|
+
c
|
|
1536
|
+
] });
|
|
1537
|
+
return /* @__PURE__ */ W(Le.Provider, { value: {
|
|
1538
|
+
variant: e,
|
|
1539
|
+
size: t,
|
|
1540
|
+
responsive: r,
|
|
1541
|
+
labels: d,
|
|
1542
|
+
inferredTemplateRef: l
|
|
1543
|
+
}, children: r ? /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:299", ...S(C.div, M.rootContainer), children: x }) : x });
|
|
1544
|
+
}
|
|
1545
|
+
function xr(o) {
|
|
1546
|
+
const e = R.c(2), {
|
|
1547
|
+
children: t
|
|
1548
|
+
} = o;
|
|
1549
|
+
let r;
|
|
1550
|
+
return e[0] !== t ? (r = /* @__PURE__ */ W(xe.Provider, { value: !0, children: /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:309", role: "rowgroup", ...S(C.div, M.header), children: t }) }), e[0] = t, e[1] = r) : r = e[1], r;
|
|
1551
|
+
}
|
|
1552
|
+
function gr(o) {
|
|
1553
|
+
const e = R.c(19), {
|
|
1554
|
+
children: t
|
|
1555
|
+
} = o, {
|
|
1556
|
+
variant: r
|
|
1557
|
+
} = ue();
|
|
1558
|
+
let a, i, c, l, s, n;
|
|
1559
|
+
if (e[0] !== t || e[1] !== r) {
|
|
1560
|
+
const u = ce.toArray(t);
|
|
1561
|
+
i = xe.Provider, n = !1, a = qo.div, c = "rowgroup", l = M.body;
|
|
1562
|
+
let x;
|
|
1563
|
+
e[8] !== r ? (x = (g, h) => r !== "striped" ? g : /* @__PURE__ */ W(Ie.Provider, { value: h, children: g }, g.key ?? h), e[8] = r, e[9] = x) : x = e[9], s = u.map(x), e[0] = t, e[1] = r, e[2] = a, e[3] = i, e[4] = c, e[5] = l, e[6] = s, e[7] = n;
|
|
1564
|
+
} else
|
|
1565
|
+
a = e[2], i = e[3], c = e[4], l = e[5], s = e[6], n = e[7];
|
|
1566
|
+
let d;
|
|
1567
|
+
e[10] !== a || e[11] !== c || e[12] !== l || e[13] !== s ? (d = /* @__PURE__ */ W(a, { role: c, style: l, children: s }), e[10] = a, e[11] = c, e[12] = l, e[13] = s, e[14] = d) : d = e[14];
|
|
1568
|
+
let p;
|
|
1569
|
+
return e[15] !== i || e[16] !== n || e[17] !== d ? (p = /* @__PURE__ */ W(i, { value: n, children: d }), e[15] = i, e[16] = n, e[17] = d, e[18] = p) : p = e[18], p;
|
|
1570
|
+
}
|
|
1571
|
+
const Ie = F(-1), hr = 'button, a, input, select, textarea, [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="switch"], [role="tab"], [contenteditable="true"]';
|
|
1572
|
+
function mr(o) {
|
|
1573
|
+
const e = R.c(17), {
|
|
1574
|
+
children: t,
|
|
1575
|
+
onClick: r,
|
|
1576
|
+
"aria-label": a
|
|
1577
|
+
} = o, {
|
|
1578
|
+
variant: i
|
|
1579
|
+
} = ue(), c = A(xe), l = A(Ie), s = l >= 0 && l % 2 === 1;
|
|
1580
|
+
let n;
|
|
1581
|
+
if (e[0] !== a || e[1] !== t || e[2] !== s || e[3] !== c || e[4] !== r || e[5] !== i) {
|
|
1582
|
+
const d = ce.toArray(t), p = r !== void 0 && !c;
|
|
1583
|
+
let u;
|
|
1584
|
+
e[7] !== p || e[8] !== r ? (u = p ? (m) => {
|
|
1585
|
+
const y = m.target;
|
|
1586
|
+
y instanceof Element && y.closest(hr) || r();
|
|
1587
|
+
} : void 0, e[7] = p, e[8] = r, e[9] = u) : u = e[9];
|
|
1588
|
+
let x;
|
|
1589
|
+
e[10] !== p || e[11] !== r ? (x = p ? (m) => {
|
|
1590
|
+
(m.key === "Enter" || m.key === " ") && r();
|
|
1591
|
+
} : void 0, e[10] = p, e[11] = r, e[12] = x) : x = e[12];
|
|
1592
|
+
const g = !c && M.bodyRow, h = !c && i === "striped" && s && M.stripedEven, w = p && M.clickableRow;
|
|
1593
|
+
let v;
|
|
1594
|
+
e[13] !== g || e[14] !== h || e[15] !== w ? (v = [M.row, g, h, w], e[13] = g, e[14] = h, e[15] = w, e[16] = v) : v = e[16], n = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:381", role: "row", tabIndex: p ? 0 : void 0, "aria-label": p ? a : void 0, onClick: u, onKeyDown: x, ...S(C.div, v), children: d.map((m, y) => /* @__PURE__ */ W(ge.Provider, { value: {
|
|
1595
|
+
index: y,
|
|
1596
|
+
total: d.length
|
|
1597
|
+
}, children: m }, m.key ?? y)) }), e[0] = a, e[1] = t, e[2] = s, e[3] = c, e[4] = r, e[5] = i, e[6] = n;
|
|
1598
|
+
} else
|
|
1599
|
+
n = e[6];
|
|
1600
|
+
return n;
|
|
1601
|
+
}
|
|
1602
|
+
const ge = F({
|
|
1603
|
+
index: 0,
|
|
1604
|
+
total: 0
|
|
1605
|
+
});
|
|
1606
|
+
function he(o) {
|
|
1607
|
+
const e = R.c(8), {
|
|
1608
|
+
children: t,
|
|
1609
|
+
"aria-label": r
|
|
1610
|
+
} = o, {
|
|
1611
|
+
size: a,
|
|
1612
|
+
variant: i
|
|
1613
|
+
} = ue(), {
|
|
1614
|
+
index: c,
|
|
1615
|
+
total: l
|
|
1616
|
+
} = A(ge), s = i === "bordered" && c === l - 1, n = a === "sm" ? M.cellSm : M.cellMd, d = i === "bordered" && M.borderedCell, p = s && M.borderedCellLast;
|
|
1617
|
+
let u;
|
|
1618
|
+
e[0] !== n || e[1] !== d || e[2] !== p ? (u = [M.headerCell, n, d, p], e[0] = n, e[1] = d, e[2] = p, e[3] = u) : u = e[3];
|
|
1619
|
+
let x;
|
|
1620
|
+
return e[4] !== r || e[5] !== t || e[6] !== u ? (x = /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:467", role: "columnheader", "aria-label": r, ...S(C.div, u), children: t }), e[4] = r, e[5] = t, e[6] = u, e[7] = x) : x = e[7], x;
|
|
1621
|
+
}
|
|
1622
|
+
he.displayName = "HeaderCell";
|
|
1623
|
+
function br(o) {
|
|
1624
|
+
const e = R.c(16), {
|
|
1625
|
+
children: t,
|
|
1626
|
+
isActions: r
|
|
1627
|
+
} = o, {
|
|
1628
|
+
size: a,
|
|
1629
|
+
variant: i,
|
|
1630
|
+
labels: c,
|
|
1631
|
+
responsive: l
|
|
1632
|
+
} = ue(), {
|
|
1633
|
+
index: s,
|
|
1634
|
+
total: n
|
|
1635
|
+
} = A(ge), d = i === "bordered" && s === n - 1, p = c[s] ?? "", u = a === "sm" ? M.cellSm : M.cellMd, x = i === "bordered" && M.borderedCell, g = d && M.borderedCellLast, h = r && M.cellActions;
|
|
1636
|
+
let w;
|
|
1637
|
+
e[0] !== u || e[1] !== x || e[2] !== g || e[3] !== h ? (w = [M.cell, u, x, g, h], e[0] = u, e[1] = x, e[2] = g, e[3] = h, e[4] = w) : w = e[4];
|
|
1638
|
+
let v;
|
|
1639
|
+
e[5] !== r || e[6] !== p || e[7] !== l ? (v = l && !r && p !== "" ? /* @__PURE__ */ W("span", { "data-element-src": "Table/Table.tsx:507", ...S(C.span, M.cellLabel), children: p }) : null, e[5] = r, e[6] = p, e[7] = l, e[8] = v) : v = e[8];
|
|
1640
|
+
let m;
|
|
1641
|
+
e[9] !== t || e[10] !== r ? (m = r ? t : /* @__PURE__ */ W("div", { "data-element-src": "Table/Table.tsx:509", ...S(C.div, M.cellValue), children: t }), e[9] = t, e[10] = r, e[11] = m) : m = e[11];
|
|
1642
|
+
let y;
|
|
1643
|
+
return e[12] !== w || e[13] !== v || e[14] !== m ? (y = /* @__PURE__ */ le("div", { "data-element-src": "Table/Table.tsx:496", role: "cell", ...S(C.div, w), children: [
|
|
1644
|
+
v,
|
|
1645
|
+
m
|
|
1646
|
+
] }), e[12] = w, e[13] = v, e[14] = m, e[15] = y) : y = e[15], y;
|
|
1647
|
+
}
|
|
1648
|
+
const fr = {
|
|
1649
|
+
/** @deprecated Wrap behaviour is built into Table.Root. Drop this wrapper from new code. */
|
|
1650
|
+
Container: lr,
|
|
1651
|
+
Root: pr,
|
|
1652
|
+
Header: xr,
|
|
1653
|
+
Body: gr,
|
|
1654
|
+
Row: mr,
|
|
1655
|
+
HeaderCell: he,
|
|
1656
|
+
Cell: br
|
|
1657
|
+
}, Hr = fr;
|
|
1658
|
+
export {
|
|
1659
|
+
Te as B,
|
|
1660
|
+
Ko as C,
|
|
1661
|
+
Mr as D,
|
|
1662
|
+
he as H,
|
|
1663
|
+
Wr as I,
|
|
1664
|
+
Cr as M,
|
|
1665
|
+
Jo as P,
|
|
1666
|
+
mr as R,
|
|
1667
|
+
Oe as S,
|
|
1668
|
+
Tr as T,
|
|
1669
|
+
Vo as a,
|
|
1670
|
+
Sr as b,
|
|
1671
|
+
Qo as c,
|
|
1672
|
+
He as d,
|
|
1673
|
+
Uo as e,
|
|
1674
|
+
J as f,
|
|
1675
|
+
Po as g,
|
|
1676
|
+
qo as h,
|
|
1677
|
+
Se as i,
|
|
1678
|
+
Bo as j,
|
|
1679
|
+
We as k,
|
|
1680
|
+
$r as l,
|
|
1681
|
+
No as m,
|
|
1682
|
+
ve as n,
|
|
1683
|
+
Hr as o,
|
|
1684
|
+
M as p,
|
|
1685
|
+
xr as q,
|
|
1686
|
+
ze as r,
|
|
1687
|
+
Ce as s,
|
|
1688
|
+
gr as t,
|
|
1689
|
+
Oo as u,
|
|
1690
|
+
pr as v,
|
|
1691
|
+
br as w,
|
|
1692
|
+
fr as x
|
|
1693
|
+
};
|
|
1694
|
+
//# sourceMappingURL=Table-Bms2ftt3.js.map
|