@duro-app/ui 4.4.0 → 5.0.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-JTgcR_Fh.js → Table-BKN_d-mp.js} +506 -410
- package/dist/Table-BKN_d-mp.js.map +1 -0
- package/dist/components/ActionBar/ActionBar.stories.d.ts.map +1 -1
- package/dist/components/ActionBar/styles.css.d.ts +7 -7
- package/dist/components/ActionBar/styles.css.d.ts.map +1 -1
- package/dist/components/Alert/styles.css.d.ts +2 -2
- package/dist/components/Alert/styles.css.d.ts.map +1 -1
- package/dist/components/Badge/styles.css.d.ts +2 -2
- package/dist/components/Button/styles.css.d.ts +5 -5
- package/dist/components/Button/styles.css.d.ts.map +1 -1
- package/dist/components/Callout/styles.css.d.ts +1 -1
- package/dist/components/Callout/styles.css.d.ts.map +1 -1
- package/dist/components/Card/styles.css.d.ts +3 -3
- package/dist/components/Card/styles.css.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/styles.css.d.ts +7 -11
- package/dist/components/Checkbox/styles.css.d.ts.map +1 -1
- package/dist/components/Cluster/Cluster.stories.d.ts.map +1 -1
- package/dist/components/ColorInput/styles.css.d.ts +6 -6
- package/dist/components/ColorInput/styles.css.d.ts.map +1 -1
- package/dist/components/ColorMode/styles.css.d.ts +3 -3
- package/dist/components/ColorMode/styles.css.d.ts.map +1 -1
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/Combobox/Combobox.meta.d.ts.map +1 -1
- package/dist/components/Combobox/styles.css.d.ts +3 -3
- package/dist/components/Combobox/styles.css.d.ts.map +1 -1
- package/dist/components/DetailPanel/DetailPanel.d.ts.map +1 -1
- package/dist/components/DetailPanel/DetailPanel.stories.d.ts.map +1 -1
- package/dist/components/DetailPanel/styles.css.d.ts +19 -10
- package/dist/components/DetailPanel/styles.css.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css.d.ts +18 -9
- package/dist/components/Dialog/styles.css.d.ts.map +1 -1
- package/dist/components/DragDrop/DragDrop.d.ts.map +1 -1
- package/dist/components/DragDrop/DragDrop.stories.d.ts.map +1 -1
- package/dist/components/DragDrop/styles.css.d.ts +0 -6
- package/dist/components/DragDrop/styles.css.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Drawer/DrawerScroll.stories.d.ts +13 -0
- package/dist/components/Drawer/DrawerScroll.stories.d.ts.map +1 -0
- package/dist/components/Drawer/styles.css.d.ts +19 -10
- package/dist/components/Drawer/styles.css.d.ts.map +1 -1
- package/dist/components/Drawer/useSwipeDismiss.d.ts +7 -2
- package/dist/components/Drawer/useSwipeDismiss.d.ts.map +1 -1
- package/dist/components/Field/Field.stories.d.ts.map +1 -1
- package/dist/components/Field/styles.css.d.ts +1 -1
- package/dist/components/Field/styles.css.d.ts.map +1 -1
- package/dist/components/Form/Form.stories.d.ts.map +1 -1
- package/dist/components/Grid/Grid.d.ts +6 -4
- package/dist/components/Grid/Grid.d.ts.map +1 -1
- package/dist/components/Grid/Grid.stories.d.ts.map +1 -1
- package/dist/components/Grid/styles.css.d.ts +3 -3
- package/dist/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/components/Input/styles.css.d.ts +3 -3
- package/dist/components/Input/styles.css.d.ts.map +1 -1
- package/dist/components/InputGroup/InputGroup.d.ts +4 -2
- package/dist/components/InputGroup/InputGroup.d.ts.map +1 -1
- package/dist/components/InputGroup/InputGroup.stories.d.ts.map +1 -1
- package/dist/components/InputGroup/styles.css.d.ts +3 -3
- package/dist/components/InputGroup/styles.css.d.ts.map +1 -1
- package/dist/components/LinkButton/styles.css.d.ts +1 -1
- package/dist/components/LinkButton/styles.css.d.ts.map +1 -1
- package/dist/components/List/List.stories.d.ts.map +1 -1
- package/dist/components/List/styles.css.d.ts +3 -3
- package/dist/components/List/styles.css.d.ts.map +1 -1
- package/dist/components/Menu/styles.css.d.ts +4 -4
- package/dist/components/Menu/styles.css.d.ts.map +1 -1
- package/dist/components/Menu/useMenuRoot.d.ts.map +1 -1
- package/dist/components/PageShell/styles.css.d.ts +3 -3
- package/dist/components/PageShell/styles.css.d.ts.map +1 -1
- package/dist/components/Panel/styles.css.d.ts +3 -3
- package/dist/components/Panel/styles.css.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/Popover.meta.d.ts.map +1 -1
- package/dist/components/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/components/Popover/PopoverLayerContext.d.ts +10 -0
- package/dist/components/Popover/PopoverLayerContext.d.ts.map +1 -0
- package/dist/components/Popover/PopoverLayers.stories.d.ts +13 -0
- package/dist/components/Popover/PopoverLayers.stories.d.ts.map +1 -0
- package/dist/components/Popover/styles.css.d.ts +2 -2
- package/dist/components/Popover/styles.css.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/RadioGroup/styles.css.d.ts +5 -9
- package/dist/components/RadioGroup/styles.css.d.ts.map +1 -1
- package/dist/components/ScrollArea/ScrollArea.d.ts +10 -3
- package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -1
- package/dist/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
- package/dist/components/ScrollArea/styles.css.d.ts +8 -8
- package/dist/components/ScrollArea/styles.css.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.meta.d.ts.map +1 -1
- package/dist/components/Select/styles.css.d.ts +4 -4
- package/dist/components/Select/styles.css.d.ts.map +1 -1
- package/dist/components/Select/useSelectRoot.d.ts.map +1 -1
- package/dist/components/SideNav/styles.css.d.ts +7 -7
- package/dist/components/SideNav/styles.css.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner/styles.css.d.ts +10 -14
- package/dist/components/Spinner/styles.css.d.ts.map +1 -1
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/styles.css.d.ts +10 -14
- package/dist/components/Switch/styles.css.d.ts.map +1 -1
- package/dist/components/Table/ColumnFilter.d.ts.map +1 -1
- package/dist/components/Table/FromTanstack.d.ts +2 -1
- package/dist/components/Table/FromTanstack.d.ts.map +1 -1
- package/dist/components/Table/Pagination.d.ts.map +1 -1
- package/dist/components/Table/SortIndicator.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts +11 -9
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Table/Table.stories.d.ts.map +1 -1
- package/dist/components/Table/styles.css.d.ts +6 -6
- package/dist/components/Table/styles.css.d.ts.map +1 -1
- package/dist/components/Tabs/styles.css.d.ts +8 -8
- package/dist/components/Tabs/styles.css.d.ts.map +1 -1
- package/dist/components/Tag/Tag.stories.d.ts.map +1 -1
- package/dist/components/Tag/styles.css.d.ts +4 -4
- package/dist/components/Tag/styles.css.d.ts.map +1 -1
- package/dist/components/TagGroup/TagGroup.d.ts.map +1 -1
- package/dist/components/TagGroup/styles.css.d.ts +4 -10
- package/dist/components/TagGroup/styles.css.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.stories.d.ts.map +1 -1
- package/dist/components/Textarea/styles.css.d.ts +3 -3
- package/dist/components/Textarea/styles.css.d.ts.map +1 -1
- package/dist/components/ThemeProvider/ThemeProvider.stories.d.ts.map +1 -1
- package/dist/components/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/components/Toast/styles.css.d.ts +12 -12
- package/dist/components/Toast/styles.css.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/styles.css.d.ts +14 -4
- package/dist/components/Toggle/styles.css.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +7 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.meta.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +4 -0
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroupContext.d.ts +6 -0
- package/dist/components/ToggleGroup/ToggleGroupContext.d.ts.map +1 -1
- package/dist/components/ToggleGroup/styles.css.d.ts +20 -1
- package/dist/components/ToggleGroup/styles.css.d.ts.map +1 -1
- package/dist/components/ToggleGroup/useRovingFocus.d.ts +17 -0
- package/dist/components/ToggleGroup/useRovingFocus.d.ts.map +1 -0
- package/dist/components/Tooltip/styles.css.d.ts +1 -1
- package/dist/components/Tooltip/styles.css.d.ts.map +1 -1
- package/dist/components/Tree/styles.css.d.ts +4 -4
- package/dist/components/Tree/styles.css.d.ts.map +1 -1
- package/dist/components/VirtualTable/VirtualTable.d.ts +2 -1
- package/dist/components/VirtualTable/VirtualTable.d.ts.map +1 -1
- package/dist/components/VirtualTable/VirtualTable.stories.d.ts.map +1 -1
- package/dist/components/VirtualTable/styles.css.d.ts +7 -7
- package/dist/components/VirtualTable/styles.css.d.ts.map +1 -1
- package/dist/docs/Spacing.stories.d.ts.map +1 -1
- package/dist/docs/Typography.stories.d.ts.map +1 -1
- package/dist/docs/helpers.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3788 -3515
- package/dist/index.js.map +1 -1
- package/dist/shared/length.d.ts +24 -0
- package/dist/shared/length.d.ts.map +1 -0
- package/dist/shared/length.typecheck.d.ts +28 -0
- package/dist/shared/length.typecheck.d.ts.map +1 -0
- package/dist/styles/visually-hidden.css.d.ts +10 -0
- package/dist/styles/visually-hidden.css.d.ts.map +1 -0
- package/dist/table.js +166 -166
- package/dist/table.js.map +1 -1
- package/package.json +2 -2
- package/src/components/ActionBar/ActionBar.stories.tsx +4 -2
- package/src/components/ActionBar/styles.css.ts +11 -9
- package/src/components/Alert/styles.css.ts +4 -3
- package/src/components/Badge/styles.css.ts +3 -3
- package/src/components/Button/styles.css.ts +8 -7
- package/src/components/Callout/styles.css.ts +2 -1
- package/src/components/Card/styles.css.ts +4 -3
- package/src/components/Checkbox/Checkbox.tsx +2 -1
- package/src/components/Checkbox/styles.css.ts +10 -11
- package/src/components/Cluster/Cluster.stories.tsx +2 -1
- package/src/components/ColorInput/styles.css.ts +9 -7
- package/src/components/ColorMode/styles.css.ts +4 -3
- package/src/components/Combobox/Combobox.meta.ts +6 -0
- package/src/components/Combobox/Combobox.tsx +5 -0
- package/src/components/Combobox/styles.css.ts +5 -3
- package/src/components/DetailPanel/DetailPanel.stories.tsx +5 -3
- package/src/components/DetailPanel/DetailPanel.tsx +3 -0
- package/src/components/DetailPanel/styles.css.ts +17 -11
- package/src/components/Dialog/Dialog.stories.tsx +2 -1
- package/src/components/Dialog/Dialog.tsx +3 -0
- package/src/components/Dialog/styles.css.ts +14 -9
- package/src/components/DragDrop/DragDrop.stories.tsx +2 -1
- package/src/components/DragDrop/DragDrop.tsx +2 -1
- package/src/components/DragDrop/styles.css.ts +0 -7
- package/src/components/Drawer/Drawer.meta.ts +1 -1
- package/src/components/Drawer/Drawer.tsx +15 -2
- package/src/components/Drawer/DrawerScroll.stories.tsx +292 -0
- package/src/components/Drawer/styles.css.ts +15 -10
- package/src/components/Drawer/useSwipeDismiss.ts +53 -8
- package/src/components/Field/Field.stories.tsx +3 -2
- package/src/components/Field/styles.css.ts +2 -1
- package/src/components/Form/Form.stories.tsx +4 -3
- package/src/components/Grid/Grid.meta.ts +2 -2
- package/src/components/Grid/Grid.stories.tsx +3 -2
- package/src/components/Grid/Grid.tsx +8 -6
- package/src/components/Grid/styles.css.ts +2 -2
- package/src/components/Input/Input.stories.tsx +2 -1
- package/src/components/Input/styles.css.ts +4 -3
- package/src/components/InputGroup/InputGroup.stories.tsx +3 -2
- package/src/components/InputGroup/InputGroup.tsx +5 -3
- package/src/components/InputGroup/styles.css.ts +4 -3
- package/src/components/LinkButton/styles.css.ts +2 -1
- package/src/components/List/List.stories.tsx +4 -2
- package/src/components/List/styles.css.ts +6 -4
- package/src/components/Menu/styles.css.ts +6 -4
- package/src/components/Menu/useMenuRoot.ts +5 -1
- package/src/components/PageShell/styles.css.ts +4 -3
- package/src/components/Panel/styles.css.ts +4 -3
- package/src/components/Popover/Popover.meta.ts +7 -0
- package/src/components/Popover/Popover.stories.tsx +6 -4
- package/src/components/Popover/Popover.tsx +30 -24
- package/src/components/Popover/PopoverLayerContext.ts +20 -0
- package/src/components/Popover/PopoverLayers.stories.tsx +234 -0
- package/src/components/Popover/styles.css.ts +3 -2
- package/src/components/RadioGroup/RadioGroup.tsx +2 -1
- package/src/components/RadioGroup/styles.css.ts +8 -9
- package/src/components/ScrollArea/ScrollArea.meta.ts +2 -2
- package/src/components/ScrollArea/ScrollArea.stories.tsx +7 -5
- package/src/components/ScrollArea/ScrollArea.tsx +18 -7
- package/src/components/ScrollArea/styles.css.ts +10 -9
- package/src/components/Select/Select.meta.ts +6 -0
- package/src/components/Select/Select.tsx +8 -1
- package/src/components/Select/styles.css.ts +6 -4
- package/src/components/Select/useSelectRoot.ts +6 -2
- package/src/components/SideNav/styles.css.ts +10 -8
- package/src/components/Spinner/Spinner.tsx +2 -1
- package/src/components/Spinner/styles.css.ts +14 -14
- package/src/components/Switch/Switch.tsx +2 -1
- package/src/components/Switch/styles.css.ts +15 -15
- package/src/components/Table/ColumnFilter.tsx +5 -4
- package/src/components/Table/FromTanstack.tsx +2 -1
- package/src/components/Table/Pagination.tsx +6 -4
- package/src/components/Table/SortIndicator.tsx +4 -2
- package/src/components/Table/Table.stories.tsx +8 -8
- package/src/components/Table/Table.tsx +19 -15
- package/src/components/Table/styles.css.ts +9 -7
- package/src/components/Tabs/styles.css.ts +11 -9
- package/src/components/Tag/Tag.stories.tsx +4 -2
- package/src/components/Tag/styles.css.ts +6 -5
- package/src/components/TagGroup/TagGroup.tsx +2 -1
- package/src/components/TagGroup/styles.css.ts +6 -10
- package/src/components/Textarea/Textarea.stories.tsx +2 -1
- package/src/components/Textarea/styles.css.ts +4 -3
- package/src/components/ThemeProvider/ThemeProvider.stories.tsx +7 -5
- package/src/components/Toast/Toast.stories.tsx +2 -1
- package/src/components/Toast/styles.css.ts +16 -14
- package/src/components/Toggle/Toggle.meta.ts +1 -1
- package/src/components/Toggle/Toggle.tsx +19 -2
- package/src/components/Toggle/styles.css.ts +18 -4
- package/src/components/ToggleGroup/ToggleGroup.meta.ts +11 -1
- package/src/components/ToggleGroup/ToggleGroup.stories.tsx +157 -0
- package/src/components/ToggleGroup/ToggleGroup.tsx +87 -10
- package/src/components/ToggleGroup/ToggleGroupContext.ts +6 -0
- package/src/components/ToggleGroup/styles.css.ts +32 -2
- package/src/components/ToggleGroup/useRovingFocus.ts +121 -0
- package/src/components/Tooltip/styles.css.ts +2 -1
- package/src/components/Tree/styles.css.ts +8 -6
- package/src/components/VirtualTable/VirtualTable.stories.tsx +4 -3
- package/src/components/VirtualTable/VirtualTable.tsx +5 -3
- package/src/components/VirtualTable/styles.css.ts +9 -8
- package/src/docs/Spacing.stories.tsx +11 -10
- package/src/docs/Typography.stories.tsx +8 -6
- package/src/docs/helpers.tsx +3 -2
- package/src/shared/length.ts +51 -0
- package/src/shared/length.typecheck.tsx +47 -0
- package/src/styles/visually-hidden.css.ts +16 -0
- package/dist/Table-JTgcR_Fh.js.map +0 -1
|
@@ -1,11 +1,98 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { useContext as
|
|
4
|
-
const
|
|
1
|
+
import { jsx as $, jsxs as X, Fragment as se } from "react/jsx-runtime";
|
|
2
|
+
import { c as j, m as S, d as M } from "./compiler-runtime-B2IcI8_O.js";
|
|
3
|
+
import { useContext as A, createContext as V, useState as J, useId as Z, useRef as q, useEffect as P, Children as K, isValidElement as be } from "react";
|
|
4
|
+
const Ho = {
|
|
5
|
+
xs: 4,
|
|
6
|
+
sm: 8,
|
|
7
|
+
ms: 12,
|
|
8
|
+
md: 16,
|
|
9
|
+
lg: 24,
|
|
10
|
+
xl: 32,
|
|
11
|
+
xxl: 48,
|
|
12
|
+
xxxl: 64
|
|
13
|
+
}, Po = {
|
|
14
|
+
instant: 0,
|
|
15
|
+
minimal: 1,
|
|
16
|
+
quick: 120,
|
|
17
|
+
fast: 150,
|
|
18
|
+
brisk: 160,
|
|
19
|
+
base: 200,
|
|
20
|
+
slow: 280
|
|
21
|
+
}, ke = ["touchTarget", "controlSm", "controlMd", "controlLg", "indicator", "indicatorDot", "checkMarkW", "checkMarkH", "switchTrackW", "switchTrackH", "switchThumb", "iconButton", "iconButtonSm", "spinnerSm", "spinnerMd", "spinnerLg", "glyphXs", "glyphSm", "glyphMd", "iconSm", "iconMd", "iconLg", "iconXl", "iconXxl", "navMarkerW", "navMarkerH", "divider", "tabIndicator", "edgeFade", "scrollbar", "swatchW", "swatchH", "labelMinW", "popupMinW", "listMaxH", "listMaxHSm", "dialogSm", "dialogMd", "dialogLg", "panelSm", "panelMd", "panelLg", "toastMaxW", "gridColSm", "gridColMd", "pageSm", "pageMd", "pageLg"], G = {
|
|
22
|
+
touchTarget: 44,
|
|
23
|
+
iconSm: 16,
|
|
24
|
+
iconMd: 18,
|
|
25
|
+
iconLg: 24,
|
|
26
|
+
iconXl: 36,
|
|
27
|
+
iconXxl: 48
|
|
28
|
+
}, Do = {
|
|
29
|
+
sm: G.iconSm,
|
|
30
|
+
md: G.iconMd,
|
|
31
|
+
lg: G.iconLg,
|
|
32
|
+
xl: G.iconXl,
|
|
33
|
+
xxl: G.iconXxl
|
|
34
|
+
}, le = {
|
|
35
|
+
touchTarget: "var(--touchTarget-x1u5badx)",
|
|
36
|
+
controlSm: "var(--controlSm-x6ymn93)",
|
|
37
|
+
controlMd: "var(--controlMd-xkvaeme)",
|
|
38
|
+
controlLg: "var(--controlLg-xf3drh3)",
|
|
39
|
+
indicator: "var(--indicator-xce456j)",
|
|
40
|
+
indicatorDot: "var(--indicatorDot-xqflvbi)",
|
|
41
|
+
checkMarkW: "var(--checkMarkW-xvyirw7)",
|
|
42
|
+
checkMarkH: "var(--checkMarkH-xz3lx6u)",
|
|
43
|
+
switchTrackW: "var(--switchTrackW-xcah3tt)",
|
|
44
|
+
switchTrackH: "var(--switchTrackH-x1h3icne)",
|
|
45
|
+
switchThumb: "var(--switchThumb-x6qupft)",
|
|
46
|
+
iconButton: "var(--iconButton-x16lr7a8)",
|
|
47
|
+
iconButtonSm: "var(--iconButtonSm-xtjgrhy)",
|
|
48
|
+
spinnerSm: "var(--spinnerSm-xoj3xel)",
|
|
49
|
+
spinnerMd: "var(--spinnerMd-x11a4rba)",
|
|
50
|
+
spinnerLg: "var(--spinnerLg-x1lgp9p9)",
|
|
51
|
+
glyphXs: "var(--glyphXs-x7xktls)",
|
|
52
|
+
glyphSm: "var(--glyphSm-x17geiot)",
|
|
53
|
+
glyphMd: "var(--glyphMd-x1hz0jso)",
|
|
54
|
+
iconSm: "var(--iconSm-x1k4bwrj)",
|
|
55
|
+
iconMd: "var(--iconMd-x1oru5hg)",
|
|
56
|
+
iconLg: "var(--iconLg-x1lsumnr)",
|
|
57
|
+
iconXl: "var(--iconXl-x7w40q9)",
|
|
58
|
+
iconXxl: "var(--iconXxl-xij55jf)",
|
|
59
|
+
navMarkerW: "var(--navMarkerW-x1swbkx4)",
|
|
60
|
+
navMarkerH: "var(--navMarkerH-xlc6r7a)",
|
|
61
|
+
divider: "var(--divider-x34oj7m)",
|
|
62
|
+
tabIndicator: "var(--tabIndicator-xeswvk3)",
|
|
63
|
+
edgeFade: "var(--edgeFade-x1a8srg4)",
|
|
64
|
+
scrollbar: "var(--scrollbar-xppi9bb)",
|
|
65
|
+
swatchW: "var(--swatchW-x14v7170)",
|
|
66
|
+
swatchH: "var(--swatchH-x5k3223)",
|
|
67
|
+
labelMinW: "var(--labelMinW-x1tnvsg3)",
|
|
68
|
+
popupMinW: "var(--popupMinW-xzyp04)",
|
|
69
|
+
listMaxH: "var(--listMaxH-x1g3bmh3)",
|
|
70
|
+
listMaxHSm: "var(--listMaxHSm-xhny4oa)",
|
|
71
|
+
dialogSm: "var(--dialogSm-x16fibl1)",
|
|
72
|
+
dialogMd: "var(--dialogMd-x1yjoj5l)",
|
|
73
|
+
dialogLg: "var(--dialogLg-xsd9wl3)",
|
|
74
|
+
panelSm: "var(--panelSm-x1ng1dcv)",
|
|
75
|
+
panelMd: "var(--panelMd-x11x23mn)",
|
|
76
|
+
panelLg: "var(--panelLg-x19cpfjm)",
|
|
77
|
+
toastMaxW: "var(--toastMaxW-x1po6n0z)",
|
|
78
|
+
gridColSm: "var(--gridColSm-xzwpy92)",
|
|
79
|
+
gridColMd: "var(--gridColMd-x1cjqdt9)",
|
|
80
|
+
pageSm: "var(--pageSm-x5j4ghi)",
|
|
81
|
+
pageMd: "var(--pageMd-xloo57l)",
|
|
82
|
+
pageLg: "var(--pageLg-x393fnm)",
|
|
83
|
+
__varGroupHash__: "x1w57kmz"
|
|
84
|
+
}, ae = new Set(ke);
|
|
85
|
+
function me(t) {
|
|
86
|
+
return typeof t == "string" && ae.has(t) ? le[t] : t;
|
|
87
|
+
}
|
|
88
|
+
function ne(t) {
|
|
89
|
+
return typeof t == "string" && ae.has(t) ? le[t] : t;
|
|
90
|
+
}
|
|
91
|
+
const R = {
|
|
5
92
|
root: {
|
|
6
93
|
"position-kVAEAm": "position-x1n2onr6",
|
|
7
94
|
"display-k1xSpc": "display-x3nfvp2",
|
|
8
|
-
$$css: "Menu/styles.css.ts:
|
|
95
|
+
$$css: "Menu/styles.css.ts:11"
|
|
9
96
|
},
|
|
10
97
|
trigger: {
|
|
11
98
|
"display-k1xSpc": "display-x3nfvp2",
|
|
@@ -19,14 +106,14 @@ const j = {
|
|
|
19
106
|
"fontSize-kGuDYH": "fontSize-x1tzajr0",
|
|
20
107
|
"color-kMwMTN": "color-x95150z",
|
|
21
108
|
"backgroundColor-kWkggS": "backgroundColor-xjbqb8w backgroundColor-x14zl4n5",
|
|
22
|
-
"borderWidth-kMzoRj": "borderWidth-
|
|
109
|
+
"borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
|
|
23
110
|
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
24
111
|
"borderColor-kVAM5u": "borderColor-x15ykms2",
|
|
25
112
|
"borderRadius-kaIpWk": "borderRadius-x17rit4p",
|
|
26
113
|
"cursor-kkrTdU": "cursor-x1ypdohk",
|
|
27
114
|
"transitionProperty-k1ekBW": "transitionProperty-xts7igz",
|
|
28
115
|
"transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
|
|
29
|
-
$$css: "Menu/styles.css.ts:
|
|
116
|
+
$$css: "Menu/styles.css.ts:15"
|
|
30
117
|
},
|
|
31
118
|
backdrop: {
|
|
32
119
|
"position-kVAEAm": "position-xixxii4",
|
|
@@ -35,7 +122,7 @@ const j = {
|
|
|
35
122
|
"right-kCIrl2": "right-x3m8u43",
|
|
36
123
|
"bottom-krVfgx": "bottom-x1ey2m1c",
|
|
37
124
|
"zIndex-kY2c9j": "zIndex-x1ygf0dq",
|
|
38
|
-
$$css: "Menu/styles.css.ts:
|
|
125
|
+
$$css: "Menu/styles.css.ts:38"
|
|
39
126
|
},
|
|
40
127
|
popup: {
|
|
41
128
|
"position-kVAEAm": "position-x10l6tqk",
|
|
@@ -43,21 +130,21 @@ const j = {
|
|
|
43
130
|
"left-kbCHJM": "left-xu96u03",
|
|
44
131
|
"marginTop-keoZOQ": "marginTop-xuerg7n",
|
|
45
132
|
"backgroundColor-kWkggS": "backgroundColor-xuw63hu",
|
|
46
|
-
"borderWidth-kMzoRj": "borderWidth-
|
|
133
|
+
"borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
|
|
47
134
|
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
48
135
|
"borderColor-kVAM5u": "borderColor-x15ykms2",
|
|
49
136
|
"borderRadius-kaIpWk": "borderRadius-x17rit4p",
|
|
50
137
|
"boxShadow-kGVxlE": "boxShadow-x1e78jka",
|
|
51
138
|
"paddingTop-kLKAdn": "paddingTop-x1i738hq",
|
|
52
139
|
"paddingBottom-kGO01o": "paddingBottom-x6sojwk",
|
|
53
|
-
"minWidth-k7Eaqz": "minWidth-
|
|
140
|
+
"minWidth-k7Eaqz": "minWidth-x9i2ahm",
|
|
54
141
|
"zIndex-kY2c9j": "zIndex-xa9119d",
|
|
55
|
-
$$css: "Menu/styles.css.ts:
|
|
142
|
+
$$css: "Menu/styles.css.ts:46"
|
|
56
143
|
},
|
|
57
144
|
popupEnd: {
|
|
58
145
|
"left-kbCHJM": "left-x1t8mvi6",
|
|
59
146
|
"right-kCIrl2": "right-x3m8u43",
|
|
60
|
-
$$css: "Menu/styles.css.ts:
|
|
147
|
+
$$css: "Menu/styles.css.ts:62"
|
|
61
148
|
},
|
|
62
149
|
item: {
|
|
63
150
|
"display-k1xSpc": "display-x78zum5",
|
|
@@ -74,121 +161,124 @@ const j = {
|
|
|
74
161
|
"backgroundColor-kWkggS": "backgroundColor-xjbqb8w",
|
|
75
162
|
"transitionProperty-k1ekBW": "transitionProperty-x15406qy",
|
|
76
163
|
"transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
|
|
77
|
-
$$css: "Menu/styles.css.ts:
|
|
164
|
+
$$css: "Menu/styles.css.ts:66"
|
|
78
165
|
},
|
|
79
166
|
itemHighlighted: {
|
|
80
167
|
"backgroundColor-kWkggS": "backgroundColor-xlyqa1p",
|
|
81
|
-
$$css: "Menu/styles.css.ts:
|
|
168
|
+
$$css: "Menu/styles.css.ts:82"
|
|
82
169
|
},
|
|
83
170
|
separator: {
|
|
84
171
|
"height-kZKoxP": "height-xqtp20y",
|
|
85
172
|
"marginTop-keoZOQ": "marginTop-xuerg7n",
|
|
86
173
|
"marginBottom-k1K539": "marginBottom-xnccn3x",
|
|
87
|
-
"borderTopWidth-kEafiO": "borderTopWidth-
|
|
174
|
+
"borderTopWidth-kEafiO": "borderTopWidth-xljp14s",
|
|
88
175
|
"borderTopStyle-kPef9Z": "borderTopStyle-x13fuv20",
|
|
89
176
|
"borderTopColor-kLZC3w": "borderTopColor-xvuocu",
|
|
90
|
-
$$css: "Menu/styles.css.ts:
|
|
177
|
+
$$css: "Menu/styles.css.ts:85"
|
|
91
178
|
},
|
|
92
179
|
linkItem: {
|
|
93
180
|
"textDecoration-kybGjl": "textDecoration-x1hl2dhg",
|
|
94
181
|
"color-kMwMTN": "color-x95150z color-xtolcfe",
|
|
95
|
-
$$css: "Menu/styles.css.ts:
|
|
182
|
+
$$css: "Menu/styles.css.ts:93"
|
|
96
183
|
}
|
|
97
|
-
},
|
|
184
|
+
}, ce = V(null);
|
|
98
185
|
function N() {
|
|
99
|
-
const t =
|
|
186
|
+
const t = A(ce);
|
|
100
187
|
if (!t)
|
|
101
188
|
throw new Error("Menu compound components must be used within Menu.Root");
|
|
102
189
|
return t;
|
|
103
190
|
}
|
|
104
|
-
function
|
|
105
|
-
const t =
|
|
191
|
+
function he() {
|
|
192
|
+
const t = j.c(15), [e, i] = J(!1), [o, c] = J(null), p = Z(), d = q(null), l = q(null);
|
|
106
193
|
let n;
|
|
107
194
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ new Map(), t[0] = n) : n = t[0];
|
|
108
|
-
const r =
|
|
195
|
+
const r = q(n);
|
|
109
196
|
let x;
|
|
110
197
|
t[1] === Symbol.for("react.memo_cache_sentinel") ? (x = [], t[1] = x) : x = t[1];
|
|
111
|
-
const s =
|
|
198
|
+
const s = q(x), a = q(!1);
|
|
112
199
|
let u;
|
|
113
200
|
t[2] === Symbol.for("react.memo_cache_sentinel") ? (u = () => {
|
|
114
201
|
i(!1), c(null), a.current = !1, l.current?.focus();
|
|
115
202
|
}, t[2] = u) : u = t[2];
|
|
116
203
|
const m = u;
|
|
117
|
-
let
|
|
118
|
-
t[3] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
119
|
-
i((
|
|
120
|
-
}, t[3] =
|
|
121
|
-
const
|
|
122
|
-
let
|
|
123
|
-
t[4] !== e ? (
|
|
204
|
+
let k;
|
|
205
|
+
t[3] === Symbol.for("react.memo_cache_sentinel") ? (k = () => {
|
|
206
|
+
i((C) => (C ? (c(null), a.current = !1) : a.current = !0, !C));
|
|
207
|
+
}, t[3] = k) : k = t[3];
|
|
208
|
+
const y = k;
|
|
209
|
+
let w, f;
|
|
210
|
+
t[4] !== e ? (w = () => {
|
|
124
211
|
if (e && a.current) {
|
|
125
212
|
a.current = !1;
|
|
126
|
-
const
|
|
127
|
-
|
|
213
|
+
const C = s.current;
|
|
214
|
+
C.length > 0 && c(C[0]);
|
|
128
215
|
}
|
|
129
|
-
},
|
|
216
|
+
}, f = [e], t[4] = e, t[5] = w, t[6] = f) : (w = t[5], f = t[6]), P(w, f);
|
|
130
217
|
let T;
|
|
131
|
-
t[7] === Symbol.for("react.memo_cache_sentinel") ? (T = (
|
|
132
|
-
r.current.set(
|
|
133
|
-
const
|
|
134
|
-
return
|
|
135
|
-
const
|
|
136
|
-
return !
|
|
137
|
-
}), s.current =
|
|
138
|
-
r.current.delete(
|
|
218
|
+
t[7] === Symbol.for("react.memo_cache_sentinel") ? (T = (C, D) => {
|
|
219
|
+
r.current.set(C, D);
|
|
220
|
+
const _ = r.current, I = [..._.keys()];
|
|
221
|
+
return I.sort((W, O) => {
|
|
222
|
+
const L = _.get(W), Y = _.get(O);
|
|
223
|
+
return !L || !Y ? 0 : L.compareDocumentPosition(Y) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
|
|
224
|
+
}), s.current = I, () => {
|
|
225
|
+
r.current.delete(C), s.current = s.current.filter((W) => W !== C);
|
|
139
226
|
};
|
|
140
227
|
}, t[7] = T) : T = t[7];
|
|
141
228
|
const F = T;
|
|
142
|
-
let
|
|
143
|
-
t[8] !== e ? (
|
|
144
|
-
const
|
|
145
|
-
if (!
|
|
229
|
+
let H, z;
|
|
230
|
+
t[8] !== e ? (H = () => {
|
|
231
|
+
const C = d.current;
|
|
232
|
+
if (!C || !e)
|
|
146
233
|
return;
|
|
147
|
-
const
|
|
148
|
-
const
|
|
149
|
-
if (
|
|
150
|
-
e: switch (
|
|
234
|
+
const D = function(I) {
|
|
235
|
+
const W = s.current;
|
|
236
|
+
if (W.length !== 0)
|
|
237
|
+
e: switch (I.key) {
|
|
151
238
|
case "ArrowDown": {
|
|
152
|
-
|
|
153
|
-
const
|
|
154
|
-
return
|
|
239
|
+
I.preventDefault(), c((O) => {
|
|
240
|
+
const L = O ? W.indexOf(O) : -1;
|
|
241
|
+
return W[(L + 1) % W.length];
|
|
155
242
|
});
|
|
156
243
|
break e;
|
|
157
244
|
}
|
|
158
245
|
case "ArrowUp": {
|
|
159
|
-
|
|
160
|
-
const
|
|
161
|
-
return
|
|
246
|
+
I.preventDefault(), c((O) => {
|
|
247
|
+
const L = O ? W.indexOf(O) : 0;
|
|
248
|
+
return W[(L - 1 + W.length) % W.length];
|
|
162
249
|
});
|
|
163
250
|
break e;
|
|
164
251
|
}
|
|
165
252
|
case "Home": {
|
|
166
|
-
|
|
253
|
+
I.preventDefault(), c(W[0]);
|
|
167
254
|
break e;
|
|
168
255
|
}
|
|
169
256
|
case "End": {
|
|
170
|
-
|
|
257
|
+
I.preventDefault(), c(W[W.length - 1]);
|
|
171
258
|
break e;
|
|
172
259
|
}
|
|
173
260
|
case "Enter":
|
|
174
261
|
case " ": {
|
|
175
|
-
|
|
176
|
-
const
|
|
177
|
-
c((
|
|
262
|
+
I.preventDefault();
|
|
263
|
+
const O = r.current;
|
|
264
|
+
c((L) => (L && O.get(L)?.click(), L));
|
|
265
|
+
break e;
|
|
266
|
+
}
|
|
267
|
+
case "Escape": {
|
|
268
|
+
I.preventDefault(), m();
|
|
178
269
|
break e;
|
|
179
270
|
}
|
|
180
|
-
case "Escape":
|
|
181
271
|
case "Tab":
|
|
182
272
|
m();
|
|
183
273
|
}
|
|
184
274
|
};
|
|
185
|
-
return
|
|
186
|
-
}, z = [e, m], t[8] = e, t[9] =
|
|
187
|
-
let
|
|
188
|
-
return t[11] !== o || t[12] !== p || t[13] !== e ? (
|
|
275
|
+
return C.addEventListener("keydown", D), () => C.removeEventListener("keydown", D);
|
|
276
|
+
}, z = [e, m], t[8] = e, t[9] = H, t[10] = z) : (H = t[9], z = t[10]), P(H, z);
|
|
277
|
+
let E;
|
|
278
|
+
return t[11] !== o || t[12] !== p || t[13] !== e ? (E = {
|
|
189
279
|
ctx: {
|
|
190
280
|
open: e,
|
|
191
|
-
toggle:
|
|
281
|
+
toggle: y,
|
|
192
282
|
close: m,
|
|
193
283
|
menuId: p,
|
|
194
284
|
highlightedId: o,
|
|
@@ -197,49 +287,49 @@ function pe() {
|
|
|
197
287
|
triggerRef: l
|
|
198
288
|
},
|
|
199
289
|
rootRef: d
|
|
200
|
-
}, t[11] = o, t[12] = p, t[13] = e, t[14] =
|
|
290
|
+
}, t[11] = o, t[12] = p, t[13] = e, t[14] = E) : E = t[14], E;
|
|
201
291
|
}
|
|
202
|
-
const
|
|
203
|
-
function
|
|
292
|
+
const fe = typeof process < "u" && process.env?.NODE_ENV === "production", re = /* @__PURE__ */ new Set();
|
|
293
|
+
function de(t, e, i) {
|
|
204
294
|
const o = `${t}:${e}`;
|
|
205
|
-
|
|
295
|
+
fe || re.has(o) || (re.add(o), console.warn(`[duro-app/ui ${t}] ${i}`));
|
|
206
296
|
}
|
|
207
|
-
function
|
|
208
|
-
const e =
|
|
297
|
+
function ve(t) {
|
|
298
|
+
const e = j.c(6), {
|
|
209
299
|
children: i
|
|
210
300
|
} = t, {
|
|
211
301
|
ctx: o,
|
|
212
302
|
rootRef: c
|
|
213
|
-
} =
|
|
303
|
+
} = he();
|
|
214
304
|
let p;
|
|
215
|
-
e[0] !== i || e[1] !== c ? (p = /* @__PURE__ */
|
|
305
|
+
e[0] !== i || e[1] !== c ? (p = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:18", ref: c, ...S(M.div, R.root), children: i }), e[0] = i, e[1] = c, e[2] = p) : p = e[2];
|
|
216
306
|
let d;
|
|
217
|
-
return e[3] !== o || e[4] !== p ? (d = /* @__PURE__ */
|
|
307
|
+
return e[3] !== o || e[4] !== p ? (d = /* @__PURE__ */ $(ce.Provider, { value: o, children: p }), e[3] = o, e[4] = p, e[5] = d) : d = e[5], d;
|
|
218
308
|
}
|
|
219
|
-
const
|
|
220
|
-
function
|
|
221
|
-
const e =
|
|
309
|
+
const ye = 'button, a[href], input, select, textarea, [role="button"]';
|
|
310
|
+
function we(t) {
|
|
311
|
+
const e = j.c(9), {
|
|
222
312
|
children: i
|
|
223
313
|
} = t, {
|
|
224
314
|
open: o,
|
|
225
315
|
toggle: c,
|
|
226
316
|
menuId: p,
|
|
227
317
|
triggerRef: d
|
|
228
|
-
} = N(), l =
|
|
318
|
+
} = N(), l = q(null);
|
|
229
319
|
let n;
|
|
230
320
|
e[0] !== d ? (n = () => {
|
|
231
321
|
d.current = l.current;
|
|
232
|
-
}, e[0] = d, e[1] = n) : n = e[1],
|
|
322
|
+
}, e[0] = d, e[1] = n) : n = e[1], P(n);
|
|
233
323
|
let r, x;
|
|
234
324
|
e[2] === Symbol.for("react.memo_cache_sentinel") ? (r = () => {
|
|
235
|
-
l.current?.querySelector(
|
|
236
|
-
}, x = [], e[2] = r, e[3] = x) : (r = e[2], x = e[3]),
|
|
325
|
+
l.current?.querySelector(ye) && de("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.");
|
|
326
|
+
}, x = [], e[2] = r, e[3] = x) : (r = e[2], x = e[3]), P(r, x);
|
|
237
327
|
const s = o ? p : void 0;
|
|
238
328
|
let a;
|
|
239
|
-
return e[4] !== i || e[5] !== o || e[6] !== s || e[7] !== c ? (a = /* @__PURE__ */
|
|
329
|
+
return e[4] !== i || e[5] !== o || e[6] !== s || e[7] !== c ? (a = /* @__PURE__ */ $("button", { "data-element-src": "Menu/Menu.tsx:52", ref: l, type: "button", onClick: c, "aria-expanded": o, "aria-haspopup": "menu", "aria-controls": s, ...S(M.button, R.trigger), children: i }), e[4] = i, e[5] = o, e[6] = s, e[7] = c, e[8] = a) : a = e[8], a;
|
|
240
330
|
}
|
|
241
|
-
function
|
|
242
|
-
const e =
|
|
331
|
+
function $e(t) {
|
|
332
|
+
const e = j.c(12), {
|
|
243
333
|
children: i,
|
|
244
334
|
align: o
|
|
245
335
|
} = t, c = o === void 0 ? "start" : o, {
|
|
@@ -251,20 +341,20 @@ function me(t) {
|
|
|
251
341
|
if (!p)
|
|
252
342
|
return null;
|
|
253
343
|
let r;
|
|
254
|
-
e[0] !== d ? (r = /* @__PURE__ */
|
|
255
|
-
const x = n ?? void 0, s = c === "end" &&
|
|
344
|
+
e[0] !== d ? (r = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:79", ...S(M.div, R.backdrop), onClick: d }), e[0] = d, e[1] = r) : r = e[1];
|
|
345
|
+
const x = n ?? void 0, s = c === "end" && R.popupEnd;
|
|
256
346
|
let a;
|
|
257
|
-
e[2] !== s ? (a = [
|
|
347
|
+
e[2] !== s ? (a = [R.popup, s], e[2] = s, e[3] = a) : a = e[3];
|
|
258
348
|
let u;
|
|
259
|
-
e[4] !== i || e[5] !== l || e[6] !== x || e[7] !== a ? (u = /* @__PURE__ */
|
|
349
|
+
e[4] !== i || e[5] !== l || e[6] !== x || e[7] !== a ? (u = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:80", id: l, role: "menu", "aria-activedescendant": x, ...S(M.div, a), children: i }), e[4] = i, e[5] = l, e[6] = x, e[7] = a, e[8] = u) : u = e[8];
|
|
260
350
|
let m;
|
|
261
|
-
return e[9] !== r || e[10] !== u ? (m = /* @__PURE__ */
|
|
351
|
+
return e[9] !== r || e[10] !== u ? (m = /* @__PURE__ */ X(se, { children: [
|
|
262
352
|
r,
|
|
263
353
|
u
|
|
264
354
|
] }), e[9] = r, e[10] = u, e[11] = m) : m = e[11], m;
|
|
265
355
|
}
|
|
266
|
-
function
|
|
267
|
-
const e =
|
|
356
|
+
function Te(t) {
|
|
357
|
+
const e = j.c(18), {
|
|
268
358
|
onClick: i,
|
|
269
359
|
children: o
|
|
270
360
|
} = t, {
|
|
@@ -272,28 +362,28 @@ function fe(t) {
|
|
|
272
362
|
highlightedId: p,
|
|
273
363
|
setHighlightedId: d,
|
|
274
364
|
registerItem: l
|
|
275
|
-
} = N(), n =
|
|
365
|
+
} = N(), n = Z(), r = q(null), x = p === n;
|
|
276
366
|
let s, a;
|
|
277
367
|
e[0] !== n || e[1] !== l ? (s = () => {
|
|
278
368
|
const T = r.current;
|
|
279
369
|
if (T)
|
|
280
370
|
return l(n, T);
|
|
281
|
-
}, a = [n, l], e[0] = n, e[1] = l, e[2] = s, e[3] = a) : (s = e[2], a = e[3]),
|
|
371
|
+
}, a = [n, l], e[0] = n, e[1] = l, e[2] = s, e[3] = a) : (s = e[2], a = e[3]), P(s, a);
|
|
282
372
|
let u;
|
|
283
373
|
e[4] !== c || e[5] !== i ? (u = () => {
|
|
284
374
|
i?.(), c();
|
|
285
375
|
}, e[4] = c, e[5] = i, e[6] = u) : u = e[6];
|
|
286
376
|
const m = u;
|
|
287
|
-
let
|
|
288
|
-
e[7] !== n || e[8] !== d ? (
|
|
289
|
-
const
|
|
290
|
-
let
|
|
291
|
-
e[10] !==
|
|
292
|
-
let
|
|
293
|
-
return e[12] !== o || e[13] !== m || e[14] !== n || e[15] !==
|
|
377
|
+
let k;
|
|
378
|
+
e[7] !== n || e[8] !== d ? (k = () => d(n), e[7] = n, e[8] = d, e[9] = k) : k = e[9];
|
|
379
|
+
const y = x && R.itemHighlighted;
|
|
380
|
+
let w;
|
|
381
|
+
e[10] !== y ? (w = [R.item, y], e[10] = y, e[11] = w) : w = e[11];
|
|
382
|
+
let f;
|
|
383
|
+
return e[12] !== o || e[13] !== m || e[14] !== n || e[15] !== k || e[16] !== w ? (f = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:116", ref: r, id: n, role: "menuitem", onClick: m, onPointerEnter: k, ...S(M.div, w), children: o }), e[12] = o, e[13] = m, e[14] = n, e[15] = k, e[16] = w, e[17] = f) : f = e[17], f;
|
|
294
384
|
}
|
|
295
|
-
function
|
|
296
|
-
const e =
|
|
385
|
+
function Se(t) {
|
|
386
|
+
const e = j.c(16), {
|
|
297
387
|
href: i,
|
|
298
388
|
children: o
|
|
299
389
|
} = t, {
|
|
@@ -301,33 +391,33 @@ function he(t) {
|
|
|
301
391
|
highlightedId: p,
|
|
302
392
|
setHighlightedId: d,
|
|
303
393
|
registerItem: l
|
|
304
|
-
} = N(), n =
|
|
394
|
+
} = N(), n = Z(), r = q(null), x = p === n;
|
|
305
395
|
let s, a;
|
|
306
396
|
e[0] !== n || e[1] !== l ? (s = () => {
|
|
307
|
-
const
|
|
308
|
-
if (
|
|
309
|
-
return l(n,
|
|
310
|
-
}, a = [n, l], e[0] = n, e[1] = l, e[2] = s, e[3] = a) : (s = e[2], a = e[3]),
|
|
397
|
+
const w = r.current;
|
|
398
|
+
if (w)
|
|
399
|
+
return l(n, w);
|
|
400
|
+
}, a = [n, l], e[0] = n, e[1] = l, e[2] = s, e[3] = a) : (s = e[2], a = e[3]), P(s, a);
|
|
311
401
|
let u;
|
|
312
402
|
e[4] !== n || e[5] !== d ? (u = () => d(n), e[4] = n, e[5] = d, e[6] = u) : u = e[6];
|
|
313
|
-
const m = x &&
|
|
314
|
-
let
|
|
315
|
-
e[7] !== m ? (
|
|
316
|
-
let
|
|
317
|
-
return e[9] !== o || e[10] !== c || e[11] !== i || e[12] !== n || e[13] !== u || e[14] !==
|
|
403
|
+
const m = x && R.itemHighlighted;
|
|
404
|
+
let k;
|
|
405
|
+
e[7] !== m ? (k = [R.item, R.linkItem, m], e[7] = m, e[8] = k) : k = e[8];
|
|
406
|
+
let y;
|
|
407
|
+
return e[9] !== o || e[10] !== c || e[11] !== i || e[12] !== n || e[13] !== u || e[14] !== k ? (y = /* @__PURE__ */ $("a", { "data-element-src": "Menu/Menu.tsx:148", ref: r, id: n, href: i, onClick: c, role: "menuitem", onPointerEnter: u, ...S(M.a, k), children: o }), e[9] = o, e[10] = c, e[11] = i, e[12] = n, e[13] = u, e[14] = k, e[15] = y) : y = e[15], y;
|
|
318
408
|
}
|
|
319
|
-
function
|
|
320
|
-
const t =
|
|
409
|
+
function Me() {
|
|
410
|
+
const t = j.c(1);
|
|
321
411
|
let e;
|
|
322
|
-
return t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
412
|
+
return t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ $("div", { "data-element-src": "Menu/Menu.tsx:167", role: "separator", "aria-orientation": "horizontal", ...S(M.div, R.separator) }), t[0] = e) : e = t[0], e;
|
|
323
413
|
}
|
|
324
|
-
const
|
|
325
|
-
Root:
|
|
326
|
-
Trigger:
|
|
327
|
-
Popup:
|
|
328
|
-
Item:
|
|
329
|
-
LinkItem:
|
|
330
|
-
Separator:
|
|
414
|
+
const Bo = {
|
|
415
|
+
Root: ve,
|
|
416
|
+
Trigger: we,
|
|
417
|
+
Popup: $e,
|
|
418
|
+
Item: Te,
|
|
419
|
+
LinkItem: Se,
|
|
420
|
+
Separator: Me
|
|
331
421
|
};
|
|
332
422
|
/**
|
|
333
423
|
* @license react-strict-dom
|
|
@@ -336,23 +426,23 @@ const zo = {
|
|
|
336
426
|
* This source code is licensed under the MIT license found in the
|
|
337
427
|
* LICENSE file in the root directory of this source tree.
|
|
338
428
|
*/
|
|
339
|
-
const
|
|
340
|
-
function
|
|
341
|
-
process.env.NODE_ENV !== "test" &&
|
|
429
|
+
const ie = {};
|
|
430
|
+
function Ce(t) {
|
|
431
|
+
process.env.NODE_ENV !== "test" && ie[t] || (ie[t] = !0, console.error(`[error] React Strict DOM: ${t}`));
|
|
342
432
|
}
|
|
343
|
-
const
|
|
344
|
-
function
|
|
345
|
-
return
|
|
433
|
+
const We = /* @__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"]);
|
|
434
|
+
function je(t) {
|
|
435
|
+
return We.has(t) || t.indexOf("data-") > -1;
|
|
346
436
|
}
|
|
347
437
|
var Q = {};
|
|
348
438
|
Object.defineProperty(Q, "__esModule", {
|
|
349
439
|
value: !0
|
|
350
440
|
});
|
|
351
|
-
var
|
|
352
|
-
function
|
|
441
|
+
var ue = Q.styleq = void 0, Re = /* @__PURE__ */ new WeakMap(), ze = "$$css";
|
|
442
|
+
function pe(t) {
|
|
353
443
|
var e, i, o;
|
|
354
444
|
return t != null && (e = t.disableCache === !0, i = t.disableMix === !0, o = t.transform), function() {
|
|
355
|
-
for (var p = [], d = "", l = null, n = "", r = e ? null :
|
|
445
|
+
for (var p = [], d = "", l = null, n = "", r = e ? null : Re, x = new Array(arguments.length), s = 0; s < arguments.length; s++)
|
|
356
446
|
x[s] = arguments[s];
|
|
357
447
|
for (; x.length > 0; ) {
|
|
358
448
|
var a = x.pop();
|
|
@@ -364,50 +454,50 @@ function ae(t) {
|
|
|
364
454
|
}
|
|
365
455
|
var m = o != null ? o(a) : a;
|
|
366
456
|
if (m.$$css != null) {
|
|
367
|
-
var
|
|
457
|
+
var k = "";
|
|
368
458
|
if (r != null && r.has(m)) {
|
|
369
|
-
var
|
|
370
|
-
|
|
459
|
+
var y = r.get(m);
|
|
460
|
+
y != null && (k = y[0], n = y[2], p.push.apply(p, y[1]), r = y[3]);
|
|
371
461
|
} else {
|
|
372
|
-
var
|
|
373
|
-
for (var
|
|
374
|
-
var T = m[
|
|
375
|
-
if (
|
|
376
|
-
var F = m[
|
|
462
|
+
var w = [];
|
|
463
|
+
for (var f in m) {
|
|
464
|
+
var T = m[f];
|
|
465
|
+
if (f === ze) {
|
|
466
|
+
var F = m[f];
|
|
377
467
|
F !== !0 && (n = n ? F + "; " + n : F);
|
|
378
468
|
continue;
|
|
379
469
|
}
|
|
380
|
-
typeof T == "string" || T === null ? p.includes(
|
|
470
|
+
typeof T == "string" || T === null ? p.includes(f) || (p.push(f), r != null && w.push(f), typeof T == "string" && (k += k ? " " + T : T)) : console.error("styleq: ".concat(f, " typeof ").concat(String(T), ' is not "string" or "null".'));
|
|
381
471
|
}
|
|
382
472
|
if (r != null) {
|
|
383
|
-
var
|
|
384
|
-
r.set(m, [
|
|
473
|
+
var H = /* @__PURE__ */ new WeakMap();
|
|
474
|
+
r.set(m, [k, w, n, H]), r = H;
|
|
385
475
|
}
|
|
386
476
|
}
|
|
387
|
-
|
|
477
|
+
k && (d = d ? k + " " + d : k);
|
|
388
478
|
} else if (i)
|
|
389
479
|
l == null && (l = {}), l = Object.assign({}, m, l);
|
|
390
480
|
else {
|
|
391
481
|
var z = null;
|
|
392
|
-
for (var
|
|
393
|
-
var
|
|
394
|
-
|
|
482
|
+
for (var E in m) {
|
|
483
|
+
var C = m[E];
|
|
484
|
+
C !== void 0 && (p.includes(E) || (C != null && (l == null && (l = {}), z == null && (z = {}), z[E] = C), p.push(E), r = null));
|
|
395
485
|
}
|
|
396
486
|
z != null && (l = Object.assign(z, l));
|
|
397
487
|
}
|
|
398
488
|
}
|
|
399
489
|
}
|
|
400
|
-
var
|
|
401
|
-
return
|
|
490
|
+
var D = [d, l, n];
|
|
491
|
+
return D;
|
|
402
492
|
};
|
|
403
493
|
}
|
|
404
|
-
var
|
|
405
|
-
|
|
406
|
-
const
|
|
494
|
+
var Ie = ue = Q.styleq = pe();
|
|
495
|
+
Ie.factory = pe;
|
|
496
|
+
const Le = ue.factory({
|
|
407
497
|
disableMix: !0
|
|
408
498
|
});
|
|
409
|
-
function
|
|
410
|
-
const [e, i, o] =
|
|
499
|
+
function qe(...t) {
|
|
500
|
+
const [e, i, o] = Le(t), c = {};
|
|
411
501
|
if (e != null && e !== "" && (c.className = e), i != null && (c.style = i), o != null && o !== "") {
|
|
412
502
|
const p = o.split(";"), d = {};
|
|
413
503
|
for (const l of p) {
|
|
@@ -418,12 +508,12 @@ function Me(...t) {
|
|
|
418
508
|
}
|
|
419
509
|
return c;
|
|
420
510
|
}
|
|
421
|
-
function
|
|
511
|
+
function Ee(t) {
|
|
422
512
|
Object.keys(t).forEach((e) => {
|
|
423
|
-
|
|
513
|
+
je(e) || (Ce(`invalid prop "${e}"`), delete t[e]);
|
|
424
514
|
});
|
|
425
515
|
}
|
|
426
|
-
function
|
|
516
|
+
function g(t, e) {
|
|
427
517
|
const i = {
|
|
428
518
|
$$css: !0,
|
|
429
519
|
"debug::name": `html-${t}`
|
|
@@ -437,9 +527,9 @@ function b(t, e) {
|
|
|
437
527
|
style: l,
|
|
438
528
|
...n
|
|
439
529
|
} = p, r = n;
|
|
440
|
-
|
|
441
|
-
const x =
|
|
442
|
-
return
|
|
530
|
+
Ee(r), d != null && (r.htmlFor = d), p.role != null && (r.role = p.role === "none" ? "presentation" : p.role), t === "button" ? r.type = r.type ? r.type : "button" : (t === "input" || t === "textarea") && (r.dir = r.dir ? r.dir : "auto");
|
|
531
|
+
const x = qe([i, e, l]);
|
|
532
|
+
return $(t, {
|
|
443
533
|
...r,
|
|
444
534
|
...x,
|
|
445
535
|
ref: c
|
|
@@ -447,7 +537,7 @@ function b(t, e) {
|
|
|
447
537
|
}
|
|
448
538
|
return o.displayName = `html.${t}`, o;
|
|
449
539
|
}
|
|
450
|
-
const
|
|
540
|
+
const h = {
|
|
451
541
|
block: {
|
|
452
542
|
"margin-kogj98": "margin-x1ghz6dp",
|
|
453
543
|
"padding-kmVPX3": "padding-x1717udv",
|
|
@@ -515,141 +605,141 @@ const f = {
|
|
|
515
605
|
"resize-kHenm0": "resize-x288g5",
|
|
516
606
|
$$css: ".pnpm:web/index.js:276"
|
|
517
607
|
}
|
|
518
|
-
},
|
|
519
|
-
a:
|
|
520
|
-
article:
|
|
521
|
-
aside:
|
|
522
|
-
b:
|
|
523
|
-
bdi:
|
|
524
|
-
bdo:
|
|
525
|
-
blockquote:
|
|
526
|
-
br:
|
|
527
|
-
button:
|
|
528
|
-
code:
|
|
529
|
-
del:
|
|
530
|
-
div:
|
|
531
|
-
em:
|
|
532
|
-
fieldset:
|
|
533
|
-
footer:
|
|
534
|
-
form:
|
|
608
|
+
}, Oe = h.inline, He = h.block, Pe = h.block, De = h.inline, Be = h.inline, Ae = h.inline, Fe = h.block, Ge = null, Ve = [h.inlineblock, h.button], _e = [h.inline, h.codePre], Xe = null, Ke = h.block, Ne = h.inline, Ue = h.block, Ye = h.block, Je = h.block, B = [h.block, h.heading], Ze = h.block, Qe = [h.block, h.hr], et = h.inline, tt = h.img, ot = [h.inlineblock, h.input], nt = null, rt = null, it = h.inline, st = h.block, lt = h.block, at = h.inline, ct = h.block, dt = [h.list, h.block], ut = null, pt = null, xt = h.block, gt = [h.block, h.codePre], bt = null, kt = h.block, mt = h.inlineblock, ht = h.inline, ft = [h.inline, h.strong], vt = h.inline, yt = h.inline, wt = [h.inlineblock, h.textarea], $t = null, Tt = [h.list, h.block], b = {
|
|
609
|
+
a: Oe,
|
|
610
|
+
article: He,
|
|
611
|
+
aside: Pe,
|
|
612
|
+
b: De,
|
|
613
|
+
bdi: Be,
|
|
614
|
+
bdo: Ae,
|
|
615
|
+
blockquote: Fe,
|
|
616
|
+
br: Ge,
|
|
617
|
+
button: Ve,
|
|
618
|
+
code: _e,
|
|
619
|
+
del: Xe,
|
|
620
|
+
div: Ke,
|
|
621
|
+
em: Ne,
|
|
622
|
+
fieldset: Ue,
|
|
623
|
+
footer: Ye,
|
|
624
|
+
form: Je,
|
|
535
625
|
h1: B,
|
|
536
626
|
h2: B,
|
|
537
627
|
h3: B,
|
|
538
628
|
h4: B,
|
|
539
629
|
h5: B,
|
|
540
630
|
h6: B,
|
|
541
|
-
header:
|
|
542
|
-
hr:
|
|
543
|
-
i:
|
|
544
|
-
img:
|
|
545
|
-
input:
|
|
546
|
-
ins:
|
|
547
|
-
kbd:
|
|
548
|
-
label:
|
|
549
|
-
li:
|
|
550
|
-
main:
|
|
551
|
-
mark:
|
|
552
|
-
nav:
|
|
553
|
-
ol:
|
|
554
|
-
optgroup:
|
|
555
|
-
option:
|
|
556
|
-
p:
|
|
557
|
-
pre:
|
|
558
|
-
s:
|
|
559
|
-
section:
|
|
560
|
-
select:
|
|
561
|
-
span:
|
|
562
|
-
strong:
|
|
563
|
-
sub:
|
|
564
|
-
sup:
|
|
565
|
-
textarea:
|
|
566
|
-
u:
|
|
567
|
-
ul:
|
|
568
|
-
},
|
|
569
|
-
var
|
|
631
|
+
header: Ze,
|
|
632
|
+
hr: Qe,
|
|
633
|
+
i: et,
|
|
634
|
+
img: tt,
|
|
635
|
+
input: ot,
|
|
636
|
+
ins: nt,
|
|
637
|
+
kbd: rt,
|
|
638
|
+
label: it,
|
|
639
|
+
li: st,
|
|
640
|
+
main: lt,
|
|
641
|
+
mark: at,
|
|
642
|
+
nav: ct,
|
|
643
|
+
ol: dt,
|
|
644
|
+
optgroup: ut,
|
|
645
|
+
option: pt,
|
|
646
|
+
p: xt,
|
|
647
|
+
pre: gt,
|
|
648
|
+
s: bt,
|
|
649
|
+
section: kt,
|
|
650
|
+
select: mt,
|
|
651
|
+
span: ht,
|
|
652
|
+
strong: ft,
|
|
653
|
+
sub: vt,
|
|
654
|
+
sup: yt,
|
|
655
|
+
textarea: wt,
|
|
656
|
+
u: $t,
|
|
657
|
+
ul: Tt
|
|
658
|
+
}, St = g("a", b.a), Mt = g("article", b.article), Ct = g("aside", b.aside), Wt = g("b", b.b), jt = g("bdi", b.bdi), Rt = g("bdo", b.bdo), zt = g("blockquote", b.blockquote), It = g("br", b.br), Lt = g("button", b.button), qt = g("code", b.code), Et = g("del", b.del), Ot = g("div", b.div), Ht = g("em", b.em), Pt = g("fieldset", b.fieldset), Dt = g("footer", b.footer), Bt = g("form", b.form), At = g("h1", b.h1), Ft = g("h2", b.h2), Gt = g("h3", b.h3), Vt = g("h4", b.h4), _t = g("h5", b.h5), Xt = g("h6", b.h6), Kt = g("header", b.header), Nt = g("hr", b.hr), Ut = g("i", b.i), Yt = g("img", b.img), Jt = g("input", b.input), Zt = g("ins", b.ins), Qt = g("kbd", b.kbd), eo = g("label", b.label), to = g("li", b.li), oo = g("main", b.main), no = g("mark", b.mark), ro = g("nav", b.nav), io = g("ol", b.ol), so = g("optgroup", b.optgroup), lo = g("option", b.option), ao = g("p", b.p), co = g("pre", b.pre), uo = g("s", b.s), po = g("section", b.section), xo = g("select", b.select), go = g("span", b.span), bo = g("strong", b.strong), ko = g("sub", b.sub), mo = g("sup", b.sup), ho = g("textarea", b.textarea), fo = g("u", b.u), vo = g("ul", b.ul);
|
|
659
|
+
var yo = /* @__PURE__ */ Object.freeze({
|
|
570
660
|
__proto__: null,
|
|
571
|
-
a:
|
|
572
|
-
article:
|
|
573
|
-
aside:
|
|
574
|
-
b:
|
|
575
|
-
bdi:
|
|
576
|
-
bdo:
|
|
577
|
-
blockquote:
|
|
578
|
-
br:
|
|
579
|
-
button:
|
|
580
|
-
code:
|
|
581
|
-
del:
|
|
582
|
-
div:
|
|
583
|
-
em:
|
|
584
|
-
fieldset:
|
|
585
|
-
footer:
|
|
586
|
-
form:
|
|
587
|
-
h1:
|
|
588
|
-
h2:
|
|
589
|
-
h3:
|
|
590
|
-
h4:
|
|
591
|
-
h5:
|
|
592
|
-
h6:
|
|
593
|
-
header:
|
|
594
|
-
hr:
|
|
595
|
-
i:
|
|
596
|
-
img:
|
|
597
|
-
input:
|
|
598
|
-
ins:
|
|
599
|
-
kbd:
|
|
600
|
-
label:
|
|
601
|
-
li:
|
|
602
|
-
main:
|
|
603
|
-
mark:
|
|
604
|
-
nav:
|
|
605
|
-
ol:
|
|
606
|
-
optgroup:
|
|
607
|
-
option:
|
|
608
|
-
p:
|
|
609
|
-
pre:
|
|
610
|
-
s:
|
|
611
|
-
section:
|
|
612
|
-
select:
|
|
613
|
-
span:
|
|
614
|
-
strong:
|
|
615
|
-
sub:
|
|
616
|
-
sup:
|
|
617
|
-
textarea:
|
|
618
|
-
u:
|
|
619
|
-
ul:
|
|
661
|
+
a: St,
|
|
662
|
+
article: Mt,
|
|
663
|
+
aside: Ct,
|
|
664
|
+
b: Wt,
|
|
665
|
+
bdi: jt,
|
|
666
|
+
bdo: Rt,
|
|
667
|
+
blockquote: zt,
|
|
668
|
+
br: It,
|
|
669
|
+
button: Lt,
|
|
670
|
+
code: qt,
|
|
671
|
+
del: Et,
|
|
672
|
+
div: Ot,
|
|
673
|
+
em: Ht,
|
|
674
|
+
fieldset: Pt,
|
|
675
|
+
footer: Dt,
|
|
676
|
+
form: Bt,
|
|
677
|
+
h1: At,
|
|
678
|
+
h2: Ft,
|
|
679
|
+
h3: Gt,
|
|
680
|
+
h4: Vt,
|
|
681
|
+
h5: _t,
|
|
682
|
+
h6: Xt,
|
|
683
|
+
header: Kt,
|
|
684
|
+
hr: Nt,
|
|
685
|
+
i: Ut,
|
|
686
|
+
img: Yt,
|
|
687
|
+
input: Jt,
|
|
688
|
+
ins: Zt,
|
|
689
|
+
kbd: Qt,
|
|
690
|
+
label: eo,
|
|
691
|
+
li: to,
|
|
692
|
+
main: oo,
|
|
693
|
+
mark: no,
|
|
694
|
+
nav: ro,
|
|
695
|
+
ol: io,
|
|
696
|
+
optgroup: so,
|
|
697
|
+
option: lo,
|
|
698
|
+
p: ao,
|
|
699
|
+
pre: co,
|
|
700
|
+
s: uo,
|
|
701
|
+
section: po,
|
|
702
|
+
select: xo,
|
|
703
|
+
span: go,
|
|
704
|
+
strong: bo,
|
|
705
|
+
sub: ko,
|
|
706
|
+
sup: mo,
|
|
707
|
+
textarea: ho,
|
|
708
|
+
u: fo,
|
|
709
|
+
ul: vo
|
|
620
710
|
});
|
|
621
|
-
const
|
|
711
|
+
const Ao = {
|
|
622
712
|
xs: 480,
|
|
623
713
|
sm: 640,
|
|
624
714
|
md: 768,
|
|
625
715
|
lg: 1024,
|
|
626
716
|
xl: 1280
|
|
627
|
-
},
|
|
717
|
+
}, v = {
|
|
628
718
|
container: {
|
|
629
719
|
"containerType-k9g6sI": "containerType-x12h1iku",
|
|
630
720
|
"display-k1xSpc": "display-x78zum5",
|
|
631
721
|
"flexDirection-kXwgrk": "flexDirection-xdt5ytf",
|
|
632
722
|
"gap-kOIVth": "gap-x175yhtj",
|
|
633
|
-
$$css: "Table/styles.css.ts:
|
|
723
|
+
$$css: "Table/styles.css.ts:25"
|
|
634
724
|
},
|
|
635
725
|
rootContainer: {
|
|
636
726
|
"containerType-k9g6sI": "containerType-x12h1iku",
|
|
637
727
|
"display-k1xSpc": "display-x78zum5",
|
|
638
728
|
"flexDirection-kXwgrk": "flexDirection-xdt5ytf",
|
|
639
729
|
"gap-kOIVth": "gap-x175yhtj",
|
|
640
|
-
$$css: "Table/styles.css.ts:
|
|
730
|
+
$$css: "Table/styles.css.ts:34"
|
|
641
731
|
},
|
|
642
732
|
clickableRow: {
|
|
643
733
|
"cursor-kkrTdU": "cursor-x1ypdohk",
|
|
644
|
-
"outlineWidth-kMeerF": "outlineWidth-x1k57tk5 outlineWidth-
|
|
734
|
+
"outlineWidth-kMeerF": "outlineWidth-x1k57tk5 outlineWidth-x4u4vcp",
|
|
645
735
|
"outlineStyle-k3XXqK": "outlineStyle-xaatb59",
|
|
646
736
|
"outlineColor-kjBf7l": "outlineColor-x1e3ajik",
|
|
647
|
-
"outlineOffset-kInvED": "outlineOffset-
|
|
648
|
-
$$css: "Table/styles.css.ts:
|
|
737
|
+
"outlineOffset-kInvED": "outlineOffset-x1j8r21s",
|
|
738
|
+
$$css: "Table/styles.css.ts:43"
|
|
649
739
|
},
|
|
650
740
|
root: {
|
|
651
741
|
"display-k1xSpc": "display-xrvj5dj",
|
|
652
|
-
"borderWidth-kMzoRj": "borderWidth-
|
|
742
|
+
"borderWidth-kMzoRj": "borderWidth-x1qc3l2q",
|
|
653
743
|
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
654
744
|
"borderColor-kVAM5u": "borderColor-x15ykms2",
|
|
655
745
|
"borderRadius-kaIpWk": "borderRadius-xwbokb3",
|
|
@@ -657,37 +747,37 @@ const Io = {
|
|
|
657
747
|
"backgroundColor-kWkggS": "backgroundColor-xuw63hu",
|
|
658
748
|
"fontFamily-kMv6JI": "fontFamily-xce2pww",
|
|
659
749
|
"color-kMwMTN": "color-x95150z",
|
|
660
|
-
$$css: "Table/styles.css.ts:
|
|
750
|
+
$$css: "Table/styles.css.ts:55"
|
|
661
751
|
},
|
|
662
752
|
rootResponsive: {
|
|
663
753
|
"minWidth-k7Eaqz": "minWidth-x13qp9f6 minWidth-xym1sjy",
|
|
664
|
-
"borderWidth-kMzoRj": "borderWidth-
|
|
754
|
+
"borderWidth-kMzoRj": "borderWidth-x1qc3l2q borderWidth-xtteep3",
|
|
665
755
|
"backgroundColor-kWkggS": "backgroundColor-xuw63hu backgroundColor-x1i4f0qi",
|
|
666
756
|
"overflow-kVQacm": "overflow-xb3r6kr overflow-x2v4zgh",
|
|
667
757
|
"rowGap-khm7nJ": "rowGap-xxs79tx rowGap-xijoxap",
|
|
668
|
-
$$css: "Table/styles.css.ts:
|
|
758
|
+
$$css: "Table/styles.css.ts:74"
|
|
669
759
|
},
|
|
670
760
|
header: {
|
|
671
761
|
"display-k1xSpc": "display-xrvj5dj display-xncg82s",
|
|
672
762
|
"gridColumn-kBCFzs": "gridColumn-x1osaytk",
|
|
673
763
|
"gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx",
|
|
674
764
|
"backgroundColor-kWkggS": "backgroundColor-xuw63hu",
|
|
675
|
-
$$css: "Table/styles.css.ts:
|
|
765
|
+
$$css: "Table/styles.css.ts:106"
|
|
676
766
|
},
|
|
677
767
|
body: {
|
|
678
768
|
"display-k1xSpc": "display-xrvj5dj",
|
|
679
769
|
"gridColumn-kBCFzs": "gridColumn-x1osaytk",
|
|
680
770
|
"gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx",
|
|
681
|
-
$$css: "Table/styles.css.ts:
|
|
771
|
+
$$css: "Table/styles.css.ts:117"
|
|
682
772
|
},
|
|
683
773
|
row: {
|
|
684
774
|
"display-k1xSpc": "display-xrvj5dj",
|
|
685
775
|
"gridColumn-kBCFzs": "gridColumn-x1osaytk",
|
|
686
776
|
"gridTemplateColumns-kumcoG": "gridTemplateColumns-x4w6khx gridTemplateColumns-x1iukyyp",
|
|
687
|
-
"borderBottomWidth-kt9PQ7": "borderBottomWidth-
|
|
777
|
+
"borderBottomWidth-kt9PQ7": "borderBottomWidth-x12yxxv5 borderBottomWidth-xatuo0m",
|
|
688
778
|
"borderBottomStyle-kfdmCh": "borderBottomStyle-x1q0q8m5",
|
|
689
779
|
"borderBottomColor-kL6WhQ": "borderBottomColor-x19cyuh1",
|
|
690
|
-
$$css: "Table/styles.css.ts:
|
|
780
|
+
$$css: "Table/styles.css.ts:126"
|
|
691
781
|
},
|
|
692
782
|
bodyRow: {
|
|
693
783
|
"backgroundColor-kWkggS": "backgroundColor-xjbqb8w backgroundColor-xp88rol backgroundColor-x14zl4n5",
|
|
@@ -699,7 +789,7 @@ const Io = {
|
|
|
699
789
|
"borderWidth-kMzoRj": "borderWidth-xc342km borderWidth-xrp8l4a",
|
|
700
790
|
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
701
791
|
"borderColor-kVAM5u": "borderColor-x15ykms2",
|
|
702
|
-
$$css: "Table/styles.css.ts:
|
|
792
|
+
$$css: "Table/styles.css.ts:140"
|
|
703
793
|
},
|
|
704
794
|
headerCell: {
|
|
705
795
|
"fontWeight-k63SB2": "fontWeight-x1x12jc5",
|
|
@@ -708,7 +798,7 @@ const Io = {
|
|
|
708
798
|
"minWidth-k7Eaqz": "minWidth-xeuugli",
|
|
709
799
|
"overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
|
|
710
800
|
"whiteSpace-khDVqt": "whiteSpace-xeaf4i8 whiteSpace-x1348v4l",
|
|
711
|
-
$$css: "Table/styles.css.ts:
|
|
801
|
+
$$css: "Table/styles.css.ts:167"
|
|
712
802
|
},
|
|
713
803
|
cell: {
|
|
714
804
|
"color-kMwMTN": "color-x95150z",
|
|
@@ -720,20 +810,20 @@ const Io = {
|
|
|
720
810
|
"overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
|
|
721
811
|
"gridTemplateColumns-kumcoG": "gridTemplateColumns-xzgtm8w",
|
|
722
812
|
"gap-kOIVth": "gap-xxhr3t gap-xgrwfsz",
|
|
723
|
-
$$css: "Table/styles.css.ts:
|
|
813
|
+
$$css: "Table/styles.css.ts:190"
|
|
724
814
|
},
|
|
725
815
|
cellValue: {
|
|
726
816
|
"minWidth-k7Eaqz": "minWidth-xeuugli",
|
|
727
817
|
"flexGrow-kzQI83": "flexGrow-x1iyjqo2",
|
|
728
818
|
"overflowWrap-kHjlTd": "overflowWrap-x1mzt3pk",
|
|
729
|
-
$$css: "Table/styles.css.ts:
|
|
819
|
+
$$css: "Table/styles.css.ts:228"
|
|
730
820
|
},
|
|
731
821
|
cellLabel: {
|
|
732
822
|
"display-k1xSpc": "display-x1s85apg display-x1sim00f",
|
|
733
823
|
"color-kMwMTN": "color-x4opovt",
|
|
734
824
|
"fontWeight-k63SB2": "fontWeight-x120ksxs",
|
|
735
825
|
"fontSize-kGuDYH": "fontSize-x1f81oxx",
|
|
736
|
-
$$css: "Table/styles.css.ts:
|
|
826
|
+
$$css: "Table/styles.css.ts:237"
|
|
737
827
|
},
|
|
738
828
|
cellActions: {
|
|
739
829
|
"gridTemplateColumns-kumcoG": "gridTemplateColumns-x1iukyyp",
|
|
@@ -743,7 +833,7 @@ const Io = {
|
|
|
743
833
|
"borderTopWidth-kEafiO": "borderTopWidth-x972fbf borderTopWidth-x1ijfi2n",
|
|
744
834
|
"borderTopStyle-kPef9Z": "borderTopStyle-x13fuv20",
|
|
745
835
|
"borderTopColor-kLZC3w": "borderTopColor-xvuocu",
|
|
746
|
-
$$css: "Table/styles.css.ts:
|
|
836
|
+
$$css: "Table/styles.css.ts:251"
|
|
747
837
|
},
|
|
748
838
|
cellSm: {
|
|
749
839
|
"paddingTop-kLKAdn": "paddingTop-x1i738hq paddingTop-x81it4n",
|
|
@@ -751,7 +841,7 @@ const Io = {
|
|
|
751
841
|
"paddingLeft-kE3dHu": "paddingLeft-x6xq64o",
|
|
752
842
|
"paddingRight-kpe85a": "paddingRight-xpkaq21",
|
|
753
843
|
"fontSize-kGuDYH": "fontSize-x1f81oxx",
|
|
754
|
-
$$css: "Table/styles.css.ts:
|
|
844
|
+
$$css: "Table/styles.css.ts:277"
|
|
755
845
|
},
|
|
756
846
|
cellMd: {
|
|
757
847
|
"paddingTop-kLKAdn": "paddingTop-xc2wovk",
|
|
@@ -759,102 +849,102 @@ const Io = {
|
|
|
759
849
|
"paddingLeft-kE3dHu": "paddingLeft-x2rk66v paddingLeft-x1u39w1b",
|
|
760
850
|
"paddingRight-kpe85a": "paddingRight-x7huf2v paddingRight-x1cevoma",
|
|
761
851
|
"fontSize-kGuDYH": "fontSize-x1tzajr0",
|
|
762
|
-
$$css: "Table/styles.css.ts:
|
|
852
|
+
$$css: "Table/styles.css.ts:291"
|
|
763
853
|
},
|
|
764
854
|
stripedEven: {
|
|
765
855
|
"backgroundColor-kWkggS": "backgroundColor-xlyqa1p backgroundColor-xp88rol backgroundColor-x14zl4n5",
|
|
766
|
-
$$css: "Table/styles.css.ts:
|
|
856
|
+
$$css: "Table/styles.css.ts:307"
|
|
767
857
|
},
|
|
768
858
|
borderedCell: {
|
|
769
|
-
"borderRightWidth-kWqL5O": "borderRightWidth-
|
|
859
|
+
"borderRightWidth-kWqL5O": "borderRightWidth-xnwp6cp borderRightWidth-xc5nm28",
|
|
770
860
|
"borderRightStyle-kSWEuD": "borderRightStyle-x32b0ac",
|
|
771
861
|
"borderRightColor-k26BEO": "borderRightColor-x9iiiab",
|
|
772
|
-
$$css: "Table/styles.css.ts:
|
|
862
|
+
$$css: "Table/styles.css.ts:316"
|
|
773
863
|
},
|
|
774
864
|
borderedCellLast: {
|
|
775
865
|
"borderRightWidth-kWqL5O": "borderRightWidth-xgfja2r",
|
|
776
|
-
$$css: "Table/styles.css.ts:
|
|
866
|
+
$$css: "Table/styles.css.ts:324"
|
|
777
867
|
},
|
|
778
868
|
sortChip: {
|
|
779
869
|
"display-k1xSpc": "display-x1s85apg display-x11cgw9t",
|
|
780
870
|
"alignSelf-kSGwAc": "alignSelf-xqcrz7y",
|
|
781
|
-
$$css: "Table/styles.css.ts:
|
|
871
|
+
$$css: "Table/styles.css.ts:329"
|
|
782
872
|
},
|
|
783
873
|
scrollX: {
|
|
784
874
|
"overflowX-kXHlph": "overflowX-xw2csxc",
|
|
785
875
|
"overflowY-kORKVm": "overflowY-xryxfnj",
|
|
786
876
|
"WebkitOverflowScrolling-kuHK5b": "WebkitOverflowScrolling-x5lxg6s",
|
|
787
|
-
$$css: "Table/styles.css.ts:
|
|
877
|
+
$$css: "Table/styles.css.ts:343"
|
|
788
878
|
},
|
|
789
879
|
scrollFrame: {
|
|
790
880
|
"position-kVAEAm": "position-x1n2onr6",
|
|
791
|
-
$$css: "Table/styles.css.ts:
|
|
881
|
+
$$css: "Table/styles.css.ts:354"
|
|
792
882
|
},
|
|
793
883
|
edgeFade: {
|
|
794
884
|
"position-kVAEAm": "position-x10l6tqk",
|
|
795
885
|
"top-k87sOh": "top-xnfr1j",
|
|
796
886
|
"bottom-krVfgx": "bottom-x19ip775",
|
|
797
|
-
"width-kzqmXN": "width-
|
|
887
|
+
"width-kzqmXN": "width-x1xju080",
|
|
798
888
|
"pointerEvents-kfzvcC": "pointerEvents-x47corl",
|
|
799
889
|
"opacity-kSiTet": "opacity-xg01cxk",
|
|
800
890
|
"transitionProperty-k1ekBW": "transitionProperty-x19991ni",
|
|
801
891
|
"transitionDuration-kIyJzY": "transitionDuration-x13k8chi",
|
|
802
892
|
"transitionTimingFunction-kAMwcw": "transitionTimingFunction-xrbxpra",
|
|
803
|
-
$$css: "Table/styles.css.ts:
|
|
893
|
+
$$css: "Table/styles.css.ts:361"
|
|
804
894
|
},
|
|
805
895
|
edgeFadeLeft: {
|
|
806
896
|
"left-kbCHJM": "left-xt9097p",
|
|
807
897
|
"borderTopLeftRadius-kIxVMA": "borderTopLeftRadius-xha5hpv",
|
|
808
898
|
"borderBottomLeftRadius-kqGeR4": "borderBottomLeftRadius-x1hsk2v7",
|
|
809
899
|
"backgroundImage-kKwaWg": "backgroundImage-xvdn1ag",
|
|
810
|
-
$$css: "Table/styles.css.ts:
|
|
900
|
+
$$css: "Table/styles.css.ts:372"
|
|
811
901
|
},
|
|
812
902
|
edgeFadeRight: {
|
|
813
903
|
"right-kCIrl2": "right-x1hp3iq1",
|
|
814
904
|
"borderTopRightRadius-ksF3WI": "borderTopRightRadius-xbbsgyh",
|
|
815
905
|
"borderBottomRightRadius-kYm2EN": "borderBottomRightRadius-xitffcu",
|
|
816
906
|
"backgroundImage-kKwaWg": "backgroundImage-x1ykoi01",
|
|
817
|
-
$$css: "Table/styles.css.ts:
|
|
907
|
+
$$css: "Table/styles.css.ts:378"
|
|
818
908
|
},
|
|
819
909
|
edgeFadeVisible: {
|
|
820
910
|
"opacity-kSiTet": "opacity-x1hc1fzr",
|
|
821
|
-
$$css: "Table/styles.css.ts:
|
|
911
|
+
$$css: "Table/styles.css.ts:384"
|
|
822
912
|
},
|
|
823
913
|
gridColumns: (t) => [{
|
|
824
914
|
"gridTemplateColumns-kumcoG": t != null ? "gridTemplateColumns-xqketvx" : t,
|
|
825
|
-
$$css: "Table/styles.css.ts:
|
|
915
|
+
$$css: "Table/styles.css.ts:389"
|
|
826
916
|
}, {
|
|
827
917
|
"--x-gridTemplateColumns": t ?? void 0
|
|
828
918
|
}],
|
|
829
919
|
gridColumnsResponsive: (t, e) => [{
|
|
830
920
|
"gridTemplateColumns-kumcoG": (t != null ? "gridTemplateColumns-x39pwss " : t) + (e != null ? "gridTemplateColumns-x17u3dsi " : e) + "gridTemplateColumns-x1iukyyp",
|
|
831
|
-
$$css: "Table/styles.css.ts:
|
|
921
|
+
$$css: "Table/styles.css.ts:408"
|
|
832
922
|
}, {
|
|
833
923
|
"--x-1pds3uo": t ?? void 0,
|
|
834
924
|
"--x-1n5740v": e ?? void 0
|
|
835
925
|
}]
|
|
836
|
-
},
|
|
837
|
-
function
|
|
838
|
-
const t =
|
|
926
|
+
}, xe = V(null);
|
|
927
|
+
function U() {
|
|
928
|
+
const t = A(xe);
|
|
839
929
|
if (!t)
|
|
840
930
|
throw new Error("Table compound components must be used within Table.Root");
|
|
841
931
|
return t;
|
|
842
932
|
}
|
|
843
|
-
const
|
|
844
|
-
function
|
|
845
|
-
const e =
|
|
933
|
+
const ee = V(!1);
|
|
934
|
+
function wo(t) {
|
|
935
|
+
const e = j.c(2), {
|
|
846
936
|
children: i
|
|
847
937
|
} = t;
|
|
848
938
|
let o;
|
|
849
|
-
return e[0] !== i ? (o = /* @__PURE__ */
|
|
939
|
+
return e[0] !== i ? (o = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:55", ...S(M.div, v.container), children: i }), e[0] = i, e[1] = o) : o = e[1], o;
|
|
850
940
|
}
|
|
851
|
-
function
|
|
941
|
+
function $o(t) {
|
|
852
942
|
let e = "";
|
|
853
943
|
return K.forEach(t, (i) => {
|
|
854
944
|
(typeof i == "string" || typeof i == "number") && (e += String(i));
|
|
855
945
|
}), e;
|
|
856
946
|
}
|
|
857
|
-
function
|
|
947
|
+
function To(t) {
|
|
858
948
|
let e = t;
|
|
859
949
|
for (let i = 0; i < 8 && e && typeof e == "object"; i++) {
|
|
860
950
|
const o = e.type ?? e.render;
|
|
@@ -863,17 +953,17 @@ function fo(t) {
|
|
|
863
953
|
}
|
|
864
954
|
return e;
|
|
865
955
|
}
|
|
866
|
-
function
|
|
956
|
+
function So(t, e) {
|
|
867
957
|
const i = [], o = [], c = [];
|
|
868
958
|
function p(d) {
|
|
869
959
|
K.forEach(d, (l) => {
|
|
870
|
-
if (!
|
|
871
|
-
const n = l.props, r =
|
|
872
|
-
if (r ===
|
|
873
|
-
const s = n.width
|
|
874
|
-
i.push(s), o.push(n.compactWidth
|
|
875
|
-
const a = typeof n.label == "string" ? n.label : void 0, u =
|
|
876
|
-
!a && u === "" && n.children != null &&
|
|
960
|
+
if (!be(l)) return;
|
|
961
|
+
const n = l.props, r = To(l.type), x = r?.displayName || r?.name || "";
|
|
962
|
+
if (r === oe || x === "HeaderCell") {
|
|
963
|
+
const s = n.width ? String(ne(n.width)) : `minmax(${me(e)}, 1fr)`;
|
|
964
|
+
i.push(s), o.push(n.compactWidth ? String(ne(n.compactWidth)) : s);
|
|
965
|
+
const a = typeof n.label == "string" ? n.label : void 0, u = $o(n.children).trim(), m = a ?? u;
|
|
966
|
+
!a && u === "" && n.children != null && de("Table", "headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), c.push(m);
|
|
877
967
|
} else n.children && p(n.children);
|
|
878
968
|
});
|
|
879
969
|
}
|
|
@@ -883,170 +973,170 @@ function ho(t, e) {
|
|
|
883
973
|
labels: c
|
|
884
974
|
};
|
|
885
975
|
}
|
|
886
|
-
function
|
|
887
|
-
const e =
|
|
976
|
+
function Mo(t) {
|
|
977
|
+
const e = j.c(13), {
|
|
888
978
|
children: i
|
|
889
|
-
} = t, o =
|
|
979
|
+
} = t, o = q(null);
|
|
890
980
|
let c;
|
|
891
981
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
892
982
|
start: !1,
|
|
893
983
|
end: !1
|
|
894
984
|
}, e[0] = c) : c = e[0];
|
|
895
|
-
const [p, d] =
|
|
985
|
+
const [p, d] = J(c);
|
|
896
986
|
let l, n;
|
|
897
987
|
e[1] === Symbol.for("react.memo_cache_sentinel") ? (l = () => {
|
|
898
|
-
const
|
|
899
|
-
if (!
|
|
988
|
+
const k = o.current;
|
|
989
|
+
if (!k)
|
|
900
990
|
return;
|
|
901
|
-
const
|
|
902
|
-
const
|
|
991
|
+
const y = () => {
|
|
992
|
+
const f = k.scrollWidth - k.clientWidth > 1;
|
|
903
993
|
d({
|
|
904
|
-
start:
|
|
905
|
-
end:
|
|
994
|
+
start: f && k.scrollLeft > 1,
|
|
995
|
+
end: f && k.scrollLeft + k.clientWidth < k.scrollWidth - 1
|
|
906
996
|
});
|
|
907
997
|
};
|
|
908
|
-
|
|
998
|
+
y(), k.addEventListener("scroll", y, {
|
|
909
999
|
passive: !0
|
|
910
1000
|
});
|
|
911
|
-
const
|
|
912
|
-
return
|
|
913
|
-
|
|
1001
|
+
const w = typeof ResizeObserver < "u" ? new ResizeObserver(y) : null;
|
|
1002
|
+
return w?.observe(k), () => {
|
|
1003
|
+
k.removeEventListener("scroll", y), w?.disconnect();
|
|
914
1004
|
};
|
|
915
|
-
}, n = [], e[1] = l, e[2] = n) : (l = e[1], n = e[2]),
|
|
1005
|
+
}, n = [], e[1] = l, e[2] = n) : (l = e[1], n = e[2]), P(l, n);
|
|
916
1006
|
let r;
|
|
917
|
-
e[3] !== i ? (r = /* @__PURE__ */
|
|
918
|
-
const x = p.start &&
|
|
1007
|
+
e[3] !== i ? (r = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:196", ref: o, ...S(M.div, v.scrollX), children: i }), e[3] = i, e[4] = r) : r = e[4];
|
|
1008
|
+
const x = p.start && v.edgeFadeVisible;
|
|
919
1009
|
let s;
|
|
920
|
-
e[5] !== x ? (s = /* @__PURE__ */
|
|
921
|
-
const a = p.end &&
|
|
1010
|
+
e[5] !== x ? (s = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:199", "aria-hidden": !0, ...S(M.div, v.edgeFade, v.edgeFadeLeft, x) }), e[5] = x, e[6] = s) : s = e[6];
|
|
1011
|
+
const a = p.end && v.edgeFadeVisible;
|
|
922
1012
|
let u;
|
|
923
|
-
e[7] !== a ? (u = /* @__PURE__ */
|
|
1013
|
+
e[7] !== a ? (u = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:203", "aria-hidden": !0, ...S(M.div, v.edgeFade, v.edgeFadeRight, a) }), e[7] = a, e[8] = u) : u = e[8];
|
|
924
1014
|
let m;
|
|
925
|
-
return e[9] !== r || e[10] !== s || e[11] !== u ? (m = /* @__PURE__ */
|
|
1015
|
+
return e[9] !== r || e[10] !== s || e[11] !== u ? (m = /* @__PURE__ */ X("div", { "data-element-src": "Table/Table.tsx:195", ...S(M.div, v.scrollFrame), children: [
|
|
926
1016
|
r,
|
|
927
1017
|
s,
|
|
928
1018
|
u
|
|
929
1019
|
] }), e[9] = r, e[10] = s, e[11] = u, e[12] = m) : m = e[12], m;
|
|
930
1020
|
}
|
|
931
|
-
function
|
|
1021
|
+
function Co({
|
|
932
1022
|
children: t,
|
|
933
1023
|
variant: e = "default",
|
|
934
1024
|
size: i = "md",
|
|
935
1025
|
responsive: o = !0,
|
|
936
|
-
minColumnWidth: c =
|
|
1026
|
+
minColumnWidth: c = "labelMinW",
|
|
937
1027
|
sortChip: p,
|
|
938
1028
|
pagination: d
|
|
939
1029
|
}) {
|
|
940
|
-
const l =
|
|
1030
|
+
const l = q(null), {
|
|
941
1031
|
template: n,
|
|
942
1032
|
compactTemplate: r,
|
|
943
1033
|
labels: x
|
|
944
|
-
} =
|
|
1034
|
+
} = So(t, c);
|
|
945
1035
|
n && (l.current = n);
|
|
946
|
-
const s = /* @__PURE__ */
|
|
947
|
-
|
|
948
|
-
|
|
1036
|
+
const s = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:257", role: "table", ...S(
|
|
1037
|
+
M.div,
|
|
1038
|
+
v.root,
|
|
949
1039
|
// When responsive, use gridColumnsResponsive so the explicit column
|
|
950
1040
|
// template and the stack-mode @container override live in one StyleX
|
|
951
1041
|
// style object. Splitting them across two styles (gridColumns +
|
|
952
1042
|
// rootResponsive) causes StyleX conflict resolution to drop the
|
|
953
1043
|
// column template because rootResponsive's gridTemplateColumns key
|
|
954
1044
|
// always wins as the later entry in the array.
|
|
955
|
-
n ? o ?
|
|
956
|
-
o &&
|
|
957
|
-
), children: t }), u = /* @__PURE__ */
|
|
1045
|
+
n ? o ? v.gridColumnsResponsive(n, r) : v.gridColumns(n) : void 0,
|
|
1046
|
+
o && v.rootResponsive
|
|
1047
|
+
), children: t }), u = /* @__PURE__ */ X(se, { children: [
|
|
958
1048
|
p,
|
|
959
|
-
o ? /* @__PURE__ */
|
|
1049
|
+
o ? /* @__PURE__ */ $(Mo, { children: s }) : s,
|
|
960
1050
|
d
|
|
961
1051
|
] });
|
|
962
|
-
return /* @__PURE__ */
|
|
1052
|
+
return /* @__PURE__ */ $(xe.Provider, { value: {
|
|
963
1053
|
variant: e,
|
|
964
1054
|
size: i,
|
|
965
1055
|
responsive: o,
|
|
966
1056
|
labels: x,
|
|
967
1057
|
inferredTemplateRef: l
|
|
968
|
-
}, children: o ? /* @__PURE__ */
|
|
1058
|
+
}, children: o ? /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:299", ...S(M.div, v.rootContainer), children: u }) : u });
|
|
969
1059
|
}
|
|
970
|
-
function
|
|
971
|
-
const e =
|
|
1060
|
+
function Wo(t) {
|
|
1061
|
+
const e = j.c(2), {
|
|
972
1062
|
children: i
|
|
973
1063
|
} = t;
|
|
974
1064
|
let o;
|
|
975
|
-
return e[0] !== i ? (o = /* @__PURE__ */
|
|
1065
|
+
return e[0] !== i ? (o = /* @__PURE__ */ $(ee.Provider, { value: !0, children: /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:309", role: "rowgroup", ...S(M.div, v.header), children: i }) }), e[0] = i, e[1] = o) : o = e[1], o;
|
|
976
1066
|
}
|
|
977
|
-
function
|
|
978
|
-
const e =
|
|
1067
|
+
function jo(t) {
|
|
1068
|
+
const e = j.c(19), {
|
|
979
1069
|
children: i
|
|
980
1070
|
} = t, {
|
|
981
1071
|
variant: o
|
|
982
|
-
} =
|
|
1072
|
+
} = U();
|
|
983
1073
|
let c, p, d, l, n, r;
|
|
984
1074
|
if (e[0] !== i || e[1] !== o) {
|
|
985
1075
|
const a = K.toArray(i);
|
|
986
|
-
p =
|
|
1076
|
+
p = ee.Provider, r = !1, c = yo.div, d = "rowgroup", l = v.body;
|
|
987
1077
|
let u;
|
|
988
|
-
e[8] !== o ? (u = (m,
|
|
1078
|
+
e[8] !== o ? (u = (m, k) => o !== "striped" ? m : /* @__PURE__ */ $(ge.Provider, { value: k, children: m }, m.key ?? k), e[8] = o, e[9] = u) : u = e[9], n = a.map(u), e[0] = i, e[1] = o, e[2] = c, e[3] = p, e[4] = d, e[5] = l, e[6] = n, e[7] = r;
|
|
989
1079
|
} else
|
|
990
1080
|
c = e[2], p = e[3], d = e[4], l = e[5], n = e[6], r = e[7];
|
|
991
1081
|
let x;
|
|
992
|
-
e[10] !== c || e[11] !== d || e[12] !== l || e[13] !== n ? (x = /* @__PURE__ */
|
|
1082
|
+
e[10] !== c || e[11] !== d || e[12] !== l || e[13] !== n ? (x = /* @__PURE__ */ $(c, { role: d, style: l, children: n }), e[10] = c, e[11] = d, e[12] = l, e[13] = n, e[14] = x) : x = e[14];
|
|
993
1083
|
let s;
|
|
994
|
-
return e[15] !== p || e[16] !== r || e[17] !== x ? (s = /* @__PURE__ */
|
|
1084
|
+
return e[15] !== p || e[16] !== r || e[17] !== x ? (s = /* @__PURE__ */ $(p, { value: r, children: x }), e[15] = p, e[16] = r, e[17] = x, e[18] = s) : s = e[18], s;
|
|
995
1085
|
}
|
|
996
|
-
const
|
|
997
|
-
function
|
|
998
|
-
const e =
|
|
1086
|
+
const ge = V(-1), Ro = 'button, a, input, select, textarea, [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="switch"], [role="tab"], [contenteditable="true"]';
|
|
1087
|
+
function zo(t) {
|
|
1088
|
+
const e = j.c(17), {
|
|
999
1089
|
children: i,
|
|
1000
1090
|
onClick: o,
|
|
1001
1091
|
"aria-label": c
|
|
1002
1092
|
} = t, {
|
|
1003
1093
|
variant: p
|
|
1004
|
-
} =
|
|
1094
|
+
} = U(), d = A(ee), l = A(ge), n = l >= 0 && l % 2 === 1;
|
|
1005
1095
|
let r;
|
|
1006
1096
|
if (e[0] !== c || e[1] !== i || e[2] !== n || e[3] !== d || e[4] !== o || e[5] !== p) {
|
|
1007
1097
|
const x = K.toArray(i), s = o !== void 0 && !d;
|
|
1008
1098
|
let a;
|
|
1009
|
-
e[7] !== s || e[8] !== o ? (a = s ? (
|
|
1010
|
-
const T =
|
|
1011
|
-
T instanceof Element && T.closest(
|
|
1099
|
+
e[7] !== s || e[8] !== o ? (a = s ? (f) => {
|
|
1100
|
+
const T = f.target;
|
|
1101
|
+
T instanceof Element && T.closest(Ro) || o();
|
|
1012
1102
|
} : void 0, e[7] = s, e[8] = o, e[9] = a) : a = e[9];
|
|
1013
1103
|
let u;
|
|
1014
|
-
e[10] !== s || e[11] !== o ? (u = s ? (
|
|
1015
|
-
(
|
|
1104
|
+
e[10] !== s || e[11] !== o ? (u = s ? (f) => {
|
|
1105
|
+
(f.key === "Enter" || f.key === " ") && o();
|
|
1016
1106
|
} : void 0, e[10] = s, e[11] = o, e[12] = u) : u = e[12];
|
|
1017
|
-
const m = !d &&
|
|
1018
|
-
let
|
|
1019
|
-
e[13] !== m || e[14] !==
|
|
1107
|
+
const m = !d && v.bodyRow, k = !d && p === "striped" && n && v.stripedEven, y = s && v.clickableRow;
|
|
1108
|
+
let w;
|
|
1109
|
+
e[13] !== m || e[14] !== k || e[15] !== y ? (w = [v.row, m, k, y], e[13] = m, e[14] = k, e[15] = y, e[16] = w) : w = e[16], r = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:381", role: "row", tabIndex: s ? 0 : void 0, "aria-label": s ? c : void 0, onClick: a, onKeyDown: u, ...S(M.div, w), children: x.map((f, T) => /* @__PURE__ */ $(te.Provider, { value: {
|
|
1020
1110
|
index: T,
|
|
1021
1111
|
total: x.length
|
|
1022
|
-
}, children:
|
|
1112
|
+
}, children: f }, f.key ?? T)) }), e[0] = c, e[1] = i, e[2] = n, e[3] = d, e[4] = o, e[5] = p, e[6] = r;
|
|
1023
1113
|
} else
|
|
1024
1114
|
r = e[6];
|
|
1025
1115
|
return r;
|
|
1026
1116
|
}
|
|
1027
|
-
const
|
|
1117
|
+
const te = V({
|
|
1028
1118
|
index: 0,
|
|
1029
1119
|
total: 0
|
|
1030
1120
|
});
|
|
1031
|
-
function
|
|
1032
|
-
const e =
|
|
1121
|
+
function oe(t) {
|
|
1122
|
+
const e = j.c(8), {
|
|
1033
1123
|
children: i,
|
|
1034
1124
|
"aria-label": o
|
|
1035
1125
|
} = t, {
|
|
1036
1126
|
size: c,
|
|
1037
1127
|
variant: p
|
|
1038
|
-
} =
|
|
1128
|
+
} = U(), {
|
|
1039
1129
|
index: d,
|
|
1040
1130
|
total: l
|
|
1041
|
-
} =
|
|
1131
|
+
} = A(te), n = p === "bordered" && d === l - 1, r = c === "sm" ? v.cellSm : v.cellMd, x = p === "bordered" && v.borderedCell, s = n && v.borderedCellLast;
|
|
1042
1132
|
let a;
|
|
1043
|
-
e[0] !== r || e[1] !== x || e[2] !== s ? (a = [
|
|
1133
|
+
e[0] !== r || e[1] !== x || e[2] !== s ? (a = [v.headerCell, r, x, s], e[0] = r, e[1] = x, e[2] = s, e[3] = a) : a = e[3];
|
|
1044
1134
|
let u;
|
|
1045
|
-
return e[4] !== o || e[5] !== i || e[6] !== a ? (u = /* @__PURE__ */
|
|
1135
|
+
return e[4] !== o || e[5] !== i || e[6] !== a ? (u = /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:467", role: "columnheader", "aria-label": o, ...S(M.div, a), children: i }), e[4] = o, e[5] = i, e[6] = a, e[7] = u) : u = e[7], u;
|
|
1046
1136
|
}
|
|
1047
|
-
|
|
1048
|
-
function
|
|
1049
|
-
const e =
|
|
1137
|
+
oe.displayName = "HeaderCell";
|
|
1138
|
+
function Io(t) {
|
|
1139
|
+
const e = j.c(16), {
|
|
1050
1140
|
children: i,
|
|
1051
1141
|
isActions: o
|
|
1052
1142
|
} = t, {
|
|
@@ -1054,43 +1144,49 @@ function So(t) {
|
|
|
1054
1144
|
variant: p,
|
|
1055
1145
|
labels: d,
|
|
1056
1146
|
responsive: l
|
|
1057
|
-
} =
|
|
1147
|
+
} = U(), {
|
|
1058
1148
|
index: n,
|
|
1059
1149
|
total: r
|
|
1060
|
-
} =
|
|
1061
|
-
let
|
|
1062
|
-
e[0] !== a || e[1] !== u || e[2] !== m || e[3] !==
|
|
1063
|
-
let
|
|
1064
|
-
e[5] !== o || e[6] !== s || e[7] !== l ? (
|
|
1065
|
-
let
|
|
1066
|
-
e[9] !== i || e[10] !== o ? (
|
|
1150
|
+
} = A(te), x = p === "bordered" && n === r - 1, s = d[n] ?? "", a = c === "sm" ? v.cellSm : v.cellMd, u = p === "bordered" && v.borderedCell, m = x && v.borderedCellLast, k = o && v.cellActions;
|
|
1151
|
+
let y;
|
|
1152
|
+
e[0] !== a || e[1] !== u || e[2] !== m || e[3] !== k ? (y = [v.cell, a, u, m, k], e[0] = a, e[1] = u, e[2] = m, e[3] = k, e[4] = y) : y = e[4];
|
|
1153
|
+
let w;
|
|
1154
|
+
e[5] !== o || e[6] !== s || e[7] !== l ? (w = l && !o && s !== "" ? /* @__PURE__ */ $("span", { "data-element-src": "Table/Table.tsx:507", ...S(M.span, v.cellLabel), children: s }) : null, e[5] = o, e[6] = s, e[7] = l, e[8] = w) : w = e[8];
|
|
1155
|
+
let f;
|
|
1156
|
+
e[9] !== i || e[10] !== o ? (f = o ? i : /* @__PURE__ */ $("div", { "data-element-src": "Table/Table.tsx:509", ...S(M.div, v.cellValue), children: i }), e[9] = i, e[10] = o, e[11] = f) : f = e[11];
|
|
1067
1157
|
let T;
|
|
1068
|
-
return e[12] !==
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
] }), e[12] =
|
|
1158
|
+
return e[12] !== y || e[13] !== w || e[14] !== f ? (T = /* @__PURE__ */ X("div", { "data-element-src": "Table/Table.tsx:496", role: "cell", ...S(M.div, y), children: [
|
|
1159
|
+
w,
|
|
1160
|
+
f
|
|
1161
|
+
] }), e[12] = y, e[13] = w, e[14] = f, e[15] = T) : T = e[15], T;
|
|
1072
1162
|
}
|
|
1073
|
-
const
|
|
1163
|
+
const Lo = {
|
|
1074
1164
|
/** @deprecated Wrap behaviour is built into Table.Root. Drop this wrapper from new code. */
|
|
1075
|
-
Container:
|
|
1076
|
-
Root:
|
|
1077
|
-
Header:
|
|
1078
|
-
Body:
|
|
1079
|
-
Row:
|
|
1080
|
-
HeaderCell:
|
|
1081
|
-
Cell:
|
|
1082
|
-
},
|
|
1165
|
+
Container: wo,
|
|
1166
|
+
Root: Co,
|
|
1167
|
+
Header: Wo,
|
|
1168
|
+
Body: jo,
|
|
1169
|
+
Row: zo,
|
|
1170
|
+
HeaderCell: oe,
|
|
1171
|
+
Cell: Io
|
|
1172
|
+
}, Fo = Lo;
|
|
1083
1173
|
export {
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1174
|
+
jo as B,
|
|
1175
|
+
Io as C,
|
|
1176
|
+
Po as D,
|
|
1177
|
+
oe as H,
|
|
1178
|
+
Do as I,
|
|
1179
|
+
Bo as M,
|
|
1180
|
+
zo as R,
|
|
1181
|
+
Ho as S,
|
|
1182
|
+
Fo as T,
|
|
1183
|
+
v as a,
|
|
1184
|
+
Ao as b,
|
|
1185
|
+
Wo as c,
|
|
1186
|
+
Co as d,
|
|
1187
|
+
G as e,
|
|
1188
|
+
Lo as f,
|
|
1189
|
+
me as r,
|
|
1190
|
+
le as s
|
|
1095
1191
|
};
|
|
1096
|
-
//# sourceMappingURL=Table-
|
|
1192
|
+
//# sourceMappingURL=Table-BKN_d-mp.js.map
|