@editora/ui-react 0.1.20 → 0.1.21
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/Accordion.cjs.js +1 -1
- package/dist/Accordion.esm.js +48 -50
- package/dist/Alert.cjs.js +1 -1
- package/dist/Alert.esm.js +18 -18
- package/dist/AlertDialog.cjs.js +1 -1
- package/dist/AlertDialog.esm.js +53 -54
- package/dist/AlertDialogProvider.cjs.js +1 -1
- package/dist/AlertDialogProvider.esm.js +33 -47
- package/dist/AnimatedBeam.cjs.js +1 -1
- package/dist/AnimatedBeam.esm.js +4 -7
- package/dist/AnimatedList.cjs.js +1 -1
- package/dist/AnimatedList.esm.js +4 -7
- package/dist/AnimatedNumber.cjs.js +1 -1
- package/dist/AnimatedNumber.esm.js +81 -80
- package/dist/AnimatedText.cjs.js +1 -1
- package/dist/AnimatedText.esm.js +4 -7
- package/dist/AppHeader.esm.js +2 -4
- package/dist/AspectRatio.esm.js +1 -2
- package/dist/Avatar.cjs.js +1 -1
- package/dist/Avatar.esm.js +53 -53
- package/dist/Badge.cjs.js +1 -1
- package/dist/Badge.esm.js +23 -23
- package/dist/BlockControls.cjs.js +1 -1
- package/dist/BlockControls.esm.js +2 -3
- package/dist/Breadcrumb.cjs.js +1 -1
- package/dist/Breadcrumb.esm.js +34 -34
- package/dist/Button.cjs.js +1 -1
- package/dist/Button.esm.js +3 -5
- package/dist/Calendar.cjs.js +1 -1
- package/dist/Calendar.esm.js +84 -84
- package/dist/Card.cjs.js +1 -1
- package/dist/Card.esm.js +2 -3
- package/dist/Carousel.cjs.js +1 -1
- package/dist/Carousel.esm.js +172 -186
- package/dist/Chart.cjs.js +1 -1
- package/dist/Chart.esm.js +3 -5
- package/dist/Checkbox.cjs.js +1 -1
- package/dist/Checkbox.esm.js +48 -48
- package/dist/Collapsible.cjs.js +1 -1
- package/dist/Collapsible.esm.js +71 -71
- package/dist/Collection.cjs.js +1 -1
- package/dist/Collection.esm.js +13 -14
- package/dist/ColorPicker.cjs.js +1 -1
- package/dist/ColorPicker.esm.js +73 -73
- package/dist/Combobox.cjs.js +1 -1
- package/dist/Combobox.esm.js +95 -100
- package/dist/Command.cjs.js +1 -1
- package/dist/Command.esm.js +38 -40
- package/dist/CommandPalette.cjs.js +1 -1
- package/dist/CommandPalette.esm.js +47 -50
- package/dist/ContextMenu.cjs.js +1 -1
- package/dist/ContextMenu.esm.js +109 -117
- package/dist/CopyButton.cjs.js +1 -1
- package/dist/CopyButton.esm.js +30 -35
- package/dist/DataTable.cjs.js +1 -1
- package/dist/DataTable.esm.js +105 -106
- package/dist/DataViewToolbar.cjs.js +1 -1
- package/dist/DataViewToolbar.esm.js +7 -14
- package/dist/DateField.cjs.js +1 -1
- package/dist/DateField.esm.js +23 -23
- package/dist/DatePicker.cjs.js +1 -1
- package/dist/DatePicker.esm.js +89 -89
- package/dist/DateRangePicker.cjs.js +1 -1
- package/dist/DateRangePicker.esm.js +79 -79
- package/dist/DateRangeTimePicker.cjs.js +1 -1
- package/dist/DateRangeTimePicker.esm.js +76 -76
- package/dist/DateTimePicker.cjs.js +1 -1
- package/dist/DateTimePicker.esm.js +77 -77
- package/dist/Dialog.cjs.js +1 -1
- package/dist/Dialog.esm.js +85 -85
- package/dist/DialogProvider.cjs.js +1 -1
- package/dist/DialogProvider.esm.js +27 -37
- package/dist/DismissableLayer.cjs.js +1 -1
- package/dist/DismissableLayer.esm.js +30 -31
- package/dist/Dock.cjs.js +1 -1
- package/dist/Dock.esm.js +4 -7
- package/dist/Drawer.cjs.js +1 -1
- package/dist/Drawer.esm.js +71 -73
- package/dist/Dropdown.cjs.js +1 -1
- package/dist/Dropdown.esm.js +83 -85
- package/dist/EmptyState.cjs.js +1 -1
- package/dist/EmptyState.esm.js +15 -15
- package/dist/FieldSemantics.esm.js +2 -4
- package/dist/FileUpload.cjs.js +1 -1
- package/dist/FileUpload.esm.js +46 -48
- package/dist/FiltersBar.cjs.js +1 -1
- package/dist/FiltersBar.esm.js +47 -51
- package/dist/FloatingToolbar.cjs.js +1 -1
- package/dist/FloatingToolbar.esm.js +74 -77
- package/dist/FocusScope.cjs.js +1 -1
- package/dist/FocusScope.esm.js +13 -14
- package/dist/Form.cjs.js +1 -1
- package/dist/Form.esm.js +81 -82
- package/dist/Gantt.cjs.js +1 -1
- package/dist/Gantt.esm.js +65 -70
- package/dist/HoverCard.cjs.js +1 -1
- package/dist/HoverCard.esm.js +43 -44
- package/dist/IconCloud.cjs.js +1 -1
- package/dist/IconCloud.esm.js +4 -7
- package/dist/InlineEdit.cjs.js +1 -1
- package/dist/InlineEdit.esm.js +22 -24
- package/dist/Input.cjs.js +1 -1
- package/dist/Input.esm.js +71 -71
- package/dist/Kbd.cjs.js +1 -1
- package/dist/Kbd.esm.js +14 -14
- package/dist/Layout.cjs.js +1 -1
- package/dist/Layout.esm.js +22 -23
- package/dist/Listbox.cjs.js +1 -1
- package/dist/Listbox.esm.js +13 -14
- package/dist/Marquee.cjs.js +1 -1
- package/dist/Marquee.esm.js +2 -3
- package/dist/MasonryGrid.cjs.js +1 -1
- package/dist/MasonryGrid.esm.js +1 -1
- package/dist/Menu.cjs.js +1 -1
- package/dist/Menu.esm.js +74 -76
- package/dist/Menubar.cjs.js +1 -1
- package/dist/Menubar.esm.js +63 -63
- package/dist/Meter.cjs.js +1 -1
- package/dist/Meter.esm.js +28 -28
- package/dist/MultiSelect.cjs.js +1 -1
- package/dist/MultiSelect.esm.js +67 -69
- package/dist/NavigationMenu.cjs.js +1 -1
- package/dist/NavigationMenu.esm.js +56 -58
- package/dist/NumberField.cjs.js +1 -1
- package/dist/NumberField.esm.js +65 -65
- package/dist/NumberTicker.cjs.js +1 -1
- package/dist/NumberTicker.esm.js +4 -7
- package/dist/Orbiter.cjs.js +1 -1
- package/dist/Orbiter.esm.js +4 -7
- package/dist/PageHeader.cjs.js +1 -1
- package/dist/PageHeader.esm.js +9 -12
- package/dist/PageToolbar.cjs.js +1 -1
- package/dist/PageToolbar.esm.js +21 -26
- package/dist/Pagination.cjs.js +1 -1
- package/dist/Pagination.esm.js +52 -54
- package/dist/PanelGroup.cjs.js +1 -1
- package/dist/PanelGroup.esm.js +36 -38
- package/dist/PasswordField.cjs.js +1 -1
- package/dist/PasswordField.esm.js +89 -89
- package/dist/PinInput.cjs.js +1 -1
- package/dist/PinInput.esm.js +41 -43
- package/dist/PlacementGrid.cjs.js +1 -1
- package/dist/PlacementGrid.esm.js +1 -1
- package/dist/PluginPanel.cjs.js +1 -1
- package/dist/PluginPanel.esm.js +27 -30
- package/dist/Popover.cjs.js +1 -1
- package/dist/Popover.esm.js +36 -39
- package/dist/Portal.cjs.js +1 -1
- package/dist/Portal.esm.js +16 -17
- package/dist/Positioner.cjs.js +1 -1
- package/dist/Positioner.esm.js +25 -26
- package/dist/Presence.cjs.js +1 -1
- package/dist/Presence.esm.js +33 -37
- package/dist/Progress.cjs.js +1 -1
- package/dist/Progress.esm.js +34 -34
- package/dist/QuickActions.cjs.js +1 -1
- package/dist/QuickActions.esm.js +45 -47
- package/dist/Radio.cjs.js +1 -1
- package/dist/Radio.esm.js +50 -50
- package/dist/RadioGroup.cjs.js +1 -1
- package/dist/RadioGroup.esm.js +24 -24
- package/dist/Rating.cjs.js +1 -1
- package/dist/Rating.esm.js +52 -54
- package/dist/RecordHeader.cjs.js +1 -1
- package/dist/RecordHeader.esm.js +14 -19
- package/dist/RovingFocusGroup.cjs.js +1 -1
- package/dist/RovingFocusGroup.esm.js +18 -19
- package/dist/ScrollArea.cjs.js +1 -1
- package/dist/ScrollArea.esm.js +40 -42
- package/dist/Select.cjs.js +1 -1
- package/dist/Select.esm.js +99 -102
- package/dist/SelectionPopup.cjs.js +1 -1
- package/dist/SelectionPopup.esm.js +59 -62
- package/dist/Sidebar.cjs.js +1 -1
- package/dist/Sidebar.esm.js +198 -216
- package/dist/Skeleton.cjs.js +1 -1
- package/dist/Skeleton.esm.js +1 -1
- package/dist/Slider.cjs.js +1 -1
- package/dist/Slider.esm.js +63 -63
- package/dist/Slot.cjs.js +1 -1
- package/dist/Slot.esm.js +40 -42
- package/dist/Sortable.cjs.js +1 -1
- package/dist/Sortable.esm.js +152 -167
- package/dist/SpinningText.cjs.js +1 -1
- package/dist/SpinningText.esm.js +4 -7
- package/dist/SplitButton.cjs.js +2 -2
- package/dist/SplitButton.esm.js +144 -156
- package/dist/Stepper.cjs.js +1 -1
- package/dist/Stepper.esm.js +32 -32
- package/dist/Switch.cjs.js +1 -1
- package/dist/Switch.esm.js +42 -42
- package/dist/Table.cjs.js +1 -1
- package/dist/Table.esm.js +36 -37
- package/dist/Tabs.cjs.js +1 -1
- package/dist/Tabs.esm.js +59 -61
- package/dist/TagsInput.cjs.js +1 -1
- package/dist/TagsInput.esm.js +45 -45
- package/dist/Textarea.cjs.js +1 -1
- package/dist/Textarea.esm.js +87 -87
- package/dist/ThemeProvider.cjs.js +1 -1
- package/dist/ThemeProvider.esm.js +61 -63
- package/dist/TimePicker.cjs.js +1 -1
- package/dist/TimePicker.esm.js +70 -70
- package/dist/Timeline.esm.js +1 -2
- package/dist/Toast.cjs.js +1 -1
- package/dist/Toast.esm.js +37 -40
- package/dist/ToastAPI.esm.js +1 -2
- package/dist/Toggle.cjs.js +1 -1
- package/dist/Toggle.esm.js +39 -39
- package/dist/ToggleGroup.cjs.js +1 -1
- package/dist/ToggleGroup.esm.js +53 -57
- package/dist/Toolbar.esm.js +1 -2
- package/dist/Tooltip.cjs.js +1 -1
- package/dist/Tooltip.esm.js +48 -50
- package/dist/TransferList.cjs.js +1 -1
- package/dist/TransferList.esm.js +67 -69
- package/dist/Tree.cjs.js +1 -1
- package/dist/Tree.esm.js +36 -37
- package/dist/Wizard.cjs.js +1 -1
- package/dist/Wizard.esm.js +104 -109
- package/dist/{_internals-68620b0c.mjs → _internals-pNJ1oPIS.mjs} +7 -13
- package/dist/client.cjs.js +1 -1
- package/dist/client.esm.js +127 -172
- package/dist/components/Accordion.cjs.js +1 -1
- package/dist/components/Accordion.esm.js +1 -1
- package/dist/components/Alert.cjs.js +1 -1
- package/dist/components/Alert.esm.js +1 -1
- package/dist/components/AnimatedBeam.cjs.js +1 -1
- package/dist/components/AnimatedBeam.esm.js +1 -1
- package/dist/components/AnimatedList.cjs.js +1 -1
- package/dist/components/AnimatedList.esm.js +1 -1
- package/dist/components/AnimatedNumber.cjs.js +1 -1
- package/dist/components/AnimatedNumber.d.ts +1 -0
- package/dist/components/AnimatedNumber.d.ts.map +1 -1
- package/dist/components/AnimatedNumber.esm.js +7 -6
- package/dist/components/AnimatedText.cjs.js +1 -1
- package/dist/components/AnimatedText.esm.js +1 -1
- package/dist/components/Avatar.cjs.js +1 -1
- package/dist/components/Avatar.esm.js +1 -1
- package/dist/components/Badge.cjs.js +1 -1
- package/dist/components/Badge.esm.js +1 -1
- package/dist/components/BlockControls.cjs.js +1 -1
- package/dist/components/BlockControls.esm.js +1 -1
- package/dist/components/Breadcrumb.cjs.js +1 -1
- package/dist/components/Breadcrumb.esm.js +1 -1
- package/dist/components/Button.cjs.js +1 -1
- package/dist/components/Button.esm.js +1 -1
- package/dist/components/Calendar.cjs.js +1 -1
- package/dist/components/Calendar.esm.js +1 -1
- package/dist/components/Card.cjs.js +1 -1
- package/dist/components/Card.esm.js +1 -1
- package/dist/components/Carousel.cjs.js +1 -1
- package/dist/components/Carousel.esm.js +3 -5
- package/dist/components/Chart.cjs.js +1 -1
- package/dist/components/Chart.esm.js +1 -1
- package/dist/components/Checkbox.cjs.js +1 -1
- package/dist/components/Checkbox.esm.js +1 -1
- package/dist/components/Collapsible.cjs.js +1 -1
- package/dist/components/Collapsible.esm.js +1 -1
- package/dist/components/ColorPicker.cjs.js +1 -1
- package/dist/components/ColorPicker.esm.js +1 -1
- package/dist/components/Command.cjs.js +1 -1
- package/dist/components/Command.esm.js +1 -1
- package/dist/components/CommandPalette.cjs.js +1 -1
- package/dist/components/CommandPalette.esm.js +1 -1
- package/dist/components/CopyButton.cjs.js +1 -1
- package/dist/components/CopyButton.esm.js +3 -5
- package/dist/components/DataViewToolbar.cjs.js +1 -1
- package/dist/components/DataViewToolbar.esm.js +3 -10
- package/dist/components/DateField.cjs.js +1 -1
- package/dist/components/DateField.esm.js +1 -1
- package/dist/components/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker.esm.js +1 -1
- package/dist/components/DateRangePicker.cjs.js +1 -1
- package/dist/components/DateRangePicker.esm.js +1 -1
- package/dist/components/DateRangeTimePicker.cjs.js +1 -1
- package/dist/components/DateRangeTimePicker.esm.js +1 -1
- package/dist/components/DateTimePicker.cjs.js +1 -1
- package/dist/components/DateTimePicker.esm.js +1 -1
- package/dist/components/Dialog.cjs.js +1 -1
- package/dist/components/Dialog.esm.js +1 -1
- package/dist/components/Dock.cjs.js +1 -1
- package/dist/components/Dock.esm.js +1 -1
- package/dist/components/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState.esm.js +1 -1
- package/dist/components/FiltersBar.cjs.js +1 -1
- package/dist/components/FiltersBar.esm.js +3 -7
- package/dist/components/FloatingToolbar.cjs.js +1 -1
- package/dist/components/FloatingToolbar.esm.js +1 -1
- package/dist/components/HoverCard.cjs.js +1 -1
- package/dist/components/HoverCard.esm.js +1 -1
- package/dist/components/IconCloud.cjs.js +1 -1
- package/dist/components/IconCloud.esm.js +1 -1
- package/dist/components/Input.cjs.js +1 -1
- package/dist/components/Input.esm.js +1 -1
- package/dist/components/Marquee.cjs.js +1 -1
- package/dist/components/Marquee.esm.js +1 -1
- package/dist/components/MasonryGrid.cjs.js +1 -1
- package/dist/components/MasonryGrid.esm.js +1 -1
- package/dist/components/Menubar.cjs.js +1 -1
- package/dist/components/Menubar.esm.js +1 -1
- package/dist/components/Meter.cjs.js +1 -1
- package/dist/components/Meter.esm.js +1 -1
- package/dist/components/NumberField.cjs.js +1 -1
- package/dist/components/NumberField.esm.js +1 -1
- package/dist/components/NumberTicker.cjs.js +1 -1
- package/dist/components/NumberTicker.esm.js +1 -1
- package/dist/components/Orbiter.cjs.js +1 -1
- package/dist/components/Orbiter.esm.js +1 -1
- package/dist/components/PageHeader.cjs.js +1 -1
- package/dist/components/PageHeader.esm.js +3 -6
- package/dist/components/PageToolbar.cjs.js +1 -1
- package/dist/components/PageToolbar.esm.js +3 -8
- package/dist/components/PasswordField.cjs.js +1 -1
- package/dist/components/PasswordField.esm.js +1 -1
- package/dist/components/PinInput.cjs.js +1 -1
- package/dist/components/PinInput.esm.js +1 -1
- package/dist/components/PlacementGrid.cjs.js +1 -1
- package/dist/components/PlacementGrid.esm.js +1 -1
- package/dist/components/PluginPanel.cjs.js +1 -1
- package/dist/components/PluginPanel.esm.js +1 -1
- package/dist/components/Popover.cjs.js +1 -1
- package/dist/components/Popover.esm.js +1 -1
- package/dist/components/Progress.cjs.js +1 -1
- package/dist/components/Progress.esm.js +1 -1
- package/dist/components/QuickActions.cjs.js +1 -1
- package/dist/components/QuickActions.esm.js +1 -1
- package/dist/components/Radio.cjs.js +1 -1
- package/dist/components/Radio.esm.js +1 -1
- package/dist/components/RadioGroup.cjs.js +1 -1
- package/dist/components/RadioGroup.esm.js +1 -1
- package/dist/components/RecordHeader.cjs.js +1 -1
- package/dist/components/RecordHeader.esm.js +3 -8
- package/dist/components/Select.cjs.js +1 -1
- package/dist/components/Select.esm.js +1 -1
- package/dist/components/SelectionPopup.cjs.js +1 -1
- package/dist/components/SelectionPopup.esm.js +1 -1
- package/dist/components/Skeleton.cjs.js +1 -1
- package/dist/components/Skeleton.esm.js +1 -1
- package/dist/components/Slider.cjs.js +1 -1
- package/dist/components/Slider.esm.js +1 -1
- package/dist/components/Sortable.cjs.js +1 -1
- package/dist/components/Sortable.esm.js +1 -1
- package/dist/components/SpinningText.cjs.js +1 -1
- package/dist/components/SpinningText.esm.js +1 -1
- package/dist/components/Stepper.cjs.js +1 -1
- package/dist/components/Stepper.esm.js +1 -1
- package/dist/components/Switch.cjs.js +1 -1
- package/dist/components/Switch.esm.js +1 -1
- package/dist/components/TagsInput.cjs.js +1 -1
- package/dist/components/TagsInput.esm.js +1 -1
- package/dist/components/Textarea.cjs.js +1 -1
- package/dist/components/Textarea.esm.js +1 -1
- package/dist/components/TimePicker.cjs.js +1 -1
- package/dist/components/TimePicker.esm.js +1 -1
- package/dist/components/Toggle.cjs.js +1 -1
- package/dist/components/Toggle.esm.js +1 -1
- package/dist/components/ToggleGroup.cjs.js +1 -1
- package/dist/components/ToggleGroup.esm.js +2 -4
- package/dist/components/TransferList.cjs.js +1 -1
- package/dist/components/TransferList.esm.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1109 -1286
- package/dist/server.cjs.js +1 -1
- package/dist/server.esm.js +38 -52
- package/dist/ui-react.css +1 -0
- package/package.json +3 -3
- package/dist/style.css +0 -1
- /package/dist/{_internals-a238f8ce.js → _internals-C0zzLj8J.js} +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -1,607 +1,477 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import "@editora/ui-core";
|
|
3
|
-
import { Button as
|
|
4
|
-
import { Tooltip as
|
|
5
|
-
import { Alert as
|
|
6
|
-
import { Dropdown as
|
|
7
|
-
import { Input as
|
|
8
|
-
import { PasswordField as
|
|
9
|
-
import { TagsInput as
|
|
10
|
-
import { OTPInput as
|
|
11
|
-
import { Dropzone as
|
|
12
|
-
import { Textarea as
|
|
13
|
-
import { Field as
|
|
14
|
-
import { ControlGroup as
|
|
15
|
-
import { FiltersBar as
|
|
16
|
-
import { Combobox as
|
|
17
|
-
import { Badge as
|
|
18
|
-
import { EmptyState as
|
|
19
|
-
import { Table as
|
|
20
|
-
import { DataTable as
|
|
21
|
-
import { Chart as
|
|
22
|
-
import { Timeline as
|
|
23
|
-
import { Carousel as
|
|
24
|
-
import { CodeBlock as
|
|
25
|
-
import { CodeSnippet as
|
|
26
|
-
import { CopyButton as
|
|
27
|
-
import { DataViewToolbar as
|
|
28
|
-
import { Stat as
|
|
29
|
-
import { MetricCard as
|
|
30
|
-
import { Calendar as
|
|
31
|
-
import { ColorPicker as
|
|
32
|
-
import { DatePicker as
|
|
33
|
-
import { DateRangePicker as
|
|
34
|
-
import { DateField as
|
|
35
|
-
import { NumberField as
|
|
36
|
-
import { MultiSelect as
|
|
37
|
-
import { SplitButton as
|
|
38
|
-
import { TransferList as
|
|
39
|
-
import { Sortable as
|
|
40
|
-
import { InlineEdit as
|
|
41
|
-
import { TimePicker as
|
|
42
|
-
import { DateTimePicker as
|
|
43
|
-
import { DateRangeTimePicker as
|
|
44
|
-
import { Gantt as
|
|
45
|
-
import { Stepper as
|
|
46
|
-
import { Wizard as
|
|
47
|
-
import { Rating as
|
|
48
|
-
import { QuickActions as
|
|
49
|
-
import { NavigationMenu as
|
|
50
|
-
import { Menubar as
|
|
51
|
-
import { Dialog as
|
|
52
|
-
import { DialogProvider as
|
|
53
|
-
import { Popover as
|
|
54
|
-
import { Tabs as
|
|
55
|
-
import { Menu as
|
|
56
|
-
import { Icon as
|
|
57
|
-
import { ToastAPI as
|
|
58
|
-
import { Toast as
|
|
59
|
-
import { FloatingToolbar as
|
|
60
|
-
import { BlockControls as
|
|
61
|
-
import { Kbd as
|
|
62
|
-
import { Shortcut as
|
|
63
|
-
import { Command as
|
|
64
|
-
import { CommandPalette as
|
|
65
|
-
import { ContextMenu as
|
|
66
|
-
import { SelectionPopup as
|
|
67
|
-
import { PluginPanel as
|
|
68
|
-
import { Form as
|
|
69
|
-
import
|
|
70
|
-
import { createPositioner as
|
|
71
|
-
import { createPortal as
|
|
72
|
-
import { Box as
|
|
73
|
-
import { Flex as
|
|
74
|
-
import { Grid as
|
|
75
|
-
import { PlacementGrid as
|
|
76
|
-
import { MasonryGrid as
|
|
77
|
-
import { Section as
|
|
78
|
-
import { Container as
|
|
79
|
-
import { Sidebar as
|
|
80
|
-
import { Panel as
|
|
81
|
-
import { Tree as
|
|
82
|
-
import { Breadcrumb as
|
|
83
|
-
import { AppHeader as
|
|
84
|
-
import { PageHeader as
|
|
85
|
-
import { PageToolbar as
|
|
86
|
-
import { RecordHeader as
|
|
87
|
-
import { Drawer as
|
|
88
|
-
import { Layout as
|
|
89
|
-
import { ThemeProvider as
|
|
90
|
-
import { Collection as
|
|
91
|
-
import { Listbox as
|
|
92
|
-
import { RovingFocusGroup as
|
|
93
|
-
import { DismissableLayer as
|
|
94
|
-
import { FocusScope as
|
|
95
|
-
import { Positioner as
|
|
96
|
-
import { Anchor as
|
|
97
|
-
import { Checkbox as
|
|
98
|
-
import { Radio as
|
|
99
|
-
import { RadioGroup as
|
|
100
|
-
import { Switch as
|
|
101
|
-
import { Toggle as
|
|
102
|
-
import { ToggleGroup as
|
|
103
|
-
import { AspectRatio as
|
|
104
|
-
import { Avatar as
|
|
105
|
-
import { Presence as
|
|
106
|
-
import { Progress as
|
|
107
|
-
import { Meter as
|
|
108
|
-
import { Portal as
|
|
109
|
-
import { ScrollArea as
|
|
110
|
-
import { Separator as
|
|
111
|
-
import { Slot as
|
|
112
|
-
import { Toolbar as
|
|
113
|
-
import { VisuallyHidden as
|
|
114
|
-
import { Collapsible as
|
|
115
|
-
import { Pagination as
|
|
116
|
-
import { Accordion as
|
|
117
|
-
import { DirectionProvider as
|
|
118
|
-
import { HoverCard as
|
|
119
|
-
import { Card as
|
|
120
|
-
import { Label as
|
|
121
|
-
import { AlertDialog as
|
|
122
|
-
import { AlertDialogProvider as
|
|
123
|
-
import { AnimatedText as
|
|
124
|
-
import { SpinningText as
|
|
125
|
-
import { NumberTicker as
|
|
126
|
-
import { AnimatedList as
|
|
127
|
-
import { AnimatedBeam as
|
|
128
|
-
import { IconCloud as
|
|
129
|
-
import { Dock as
|
|
130
|
-
import { Orbiter as
|
|
131
|
-
import { Marquee as
|
|
132
|
-
import { Select as
|
|
133
|
-
import { Slider as
|
|
134
|
-
import { Skeleton as
|
|
135
|
-
import { AnimatedNumber as
|
|
136
|
-
import { toastAdvanced as
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
import "@editora/ui-core/empty-state";
|
|
153
|
-
import "@editora/ui-core/table";
|
|
154
|
-
import "@editora/ui-core/data-table";
|
|
155
|
-
import "@editora/ui-core/chart";
|
|
156
|
-
import "@editora/ui-core/timeline";
|
|
157
|
-
import "@editora/ui-core/calendar";
|
|
158
|
-
import "@editora/ui-core/color-picker";
|
|
159
|
-
import "@editora/ui-core/date-picker";
|
|
160
|
-
import "@editora/ui-core/date-range-picker";
|
|
161
|
-
import "@editora/ui-core/date-field";
|
|
162
|
-
import "@editora/ui-core/number-field";
|
|
163
|
-
import "@editora/ui-core/multi-select";
|
|
164
|
-
import "@editora/ui-core/split-button";
|
|
165
|
-
import "@editora/ui-core/transfer-list";
|
|
166
|
-
import "@editora/ui-core/inline-edit";
|
|
167
|
-
import "@editora/ui-core/time-picker";
|
|
168
|
-
import "@editora/ui-core/date-time-picker";
|
|
169
|
-
import "@editora/ui-core/date-range-time-picker";
|
|
170
|
-
import "@editora/ui-core/gantt";
|
|
171
|
-
import "@editora/ui-core/stepper";
|
|
172
|
-
import "@editora/ui-core/wizard";
|
|
173
|
-
import "@editora/ui-core/rating";
|
|
174
|
-
import "@editora/ui-core/quick-actions";
|
|
175
|
-
import "@editora/ui-core/navigation-menu";
|
|
176
|
-
import "@editora/ui-core/menubar";
|
|
177
|
-
import "@editora/ui-core/dialog";
|
|
178
|
-
import "@editora/ui-core/popover";
|
|
179
|
-
import "@editora/ui-core/tabs";
|
|
180
|
-
import "@editora/ui-core/menu";
|
|
181
|
-
import "@editora/ui-core/icon";
|
|
182
|
-
import "@editora/ui-core/toast";
|
|
183
|
-
import "@editora/ui-core/floating-toolbar";
|
|
184
|
-
import "@editora/ui-core/block-controls";
|
|
185
|
-
import "@editora/ui-core/command";
|
|
186
|
-
import "@editora/ui-core/command-palette";
|
|
187
|
-
import "@editora/ui-core/context-menu";
|
|
188
|
-
import "@editora/ui-core/selection-popup";
|
|
189
|
-
import "@editora/ui-core/plugin-panel";
|
|
190
|
-
import "@editora/ui-core/form";
|
|
191
|
-
import "@editora/ui-core/box";
|
|
192
|
-
import "@editora/ui-core/flex";
|
|
193
|
-
import "@editora/ui-core/grid";
|
|
194
|
-
import "@editora/ui-core/placement-grid";
|
|
195
|
-
import "@editora/ui-core/masonry-grid";
|
|
196
|
-
import "@editora/ui-core/section";
|
|
197
|
-
import "@editora/ui-core/container";
|
|
198
|
-
import "@editora/ui-core/sidebar";
|
|
199
|
-
import "react-dom/server";
|
|
200
|
-
import "@editora/ui-core/panel-group";
|
|
201
|
-
import "@editora/ui-core/tree";
|
|
202
|
-
import "@editora/ui-core/breadcrumb";
|
|
203
|
-
import "@editora/ui-core/app-header";
|
|
204
|
-
import "@editora/ui-core/drawer";
|
|
205
|
-
import "@editora/ui-core/layout";
|
|
206
|
-
import "@editora/ui-core/collection";
|
|
207
|
-
import "@editora/ui-core/listbox";
|
|
208
|
-
import "@editora/ui-core/roving-focus-group";
|
|
209
|
-
import "@editora/ui-core/dismissable-layer";
|
|
210
|
-
import "@editora/ui-core/focus-scope";
|
|
211
|
-
import "@editora/ui-core/positioner";
|
|
212
|
-
import "@editora/ui-core/anchor";
|
|
213
|
-
import "@editora/ui-core/checkbox";
|
|
214
|
-
import "@editora/ui-core/radio";
|
|
215
|
-
import "@editora/ui-core/radio-group";
|
|
216
|
-
import "@editora/ui-core/switch";
|
|
217
|
-
import "@editora/ui-core/toggle";
|
|
218
|
-
import "@editora/ui-core/toggle-group";
|
|
219
|
-
import "@editora/ui-core/aspect-ratio";
|
|
220
|
-
import "@editora/ui-core/avatar";
|
|
221
|
-
import "@editora/ui-core/presence";
|
|
222
|
-
import "@editora/ui-core/progress";
|
|
223
|
-
import "@editora/ui-core/meter";
|
|
224
|
-
import "@editora/ui-core/portal";
|
|
225
|
-
import "@editora/ui-core/scroll-area";
|
|
226
|
-
import "@editora/ui-core/separator";
|
|
227
|
-
import "@editora/ui-core/slot";
|
|
228
|
-
import "@editora/ui-core/toolbar";
|
|
229
|
-
import "@editora/ui-core/visually-hidden";
|
|
230
|
-
import "@editora/ui-core/collapsible";
|
|
231
|
-
import "@editora/ui-core/pagination";
|
|
232
|
-
import "@editora/ui-core/accordion";
|
|
233
|
-
import "@editora/ui-core/direction-provider";
|
|
234
|
-
import "@editora/ui-core/hover-card";
|
|
235
|
-
import "@editora/ui-core/card";
|
|
236
|
-
import "@editora/ui-core/label";
|
|
237
|
-
import "@editora/ui-core/alert-dialog";
|
|
238
|
-
import "@editora/ui-core/animated-text";
|
|
239
|
-
import "@editora/ui-core/spinning-text";
|
|
240
|
-
import "@editora/ui-core/number-ticker";
|
|
241
|
-
import "@editora/ui-core/animated-list";
|
|
242
|
-
import "@editora/ui-core/animated-beam";
|
|
243
|
-
import "@editora/ui-core/icon-cloud";
|
|
244
|
-
import "@editora/ui-core/dock";
|
|
245
|
-
import "@editora/ui-core/orbiter";
|
|
246
|
-
import "@editora/ui-core/marquee";
|
|
247
|
-
import "@editora/ui-core/slider";
|
|
248
|
-
import "@editora/ui-core/skeleton";
|
|
249
|
-
function ao() {
|
|
250
|
-
const e = R(null), o = D(async () => {
|
|
251
|
-
const c = e.current;
|
|
252
|
-
return c ? await c.submit() : !1;
|
|
253
|
-
}, []), r = D(async () => {
|
|
254
|
-
const c = e.current;
|
|
255
|
-
return c ? await c.validate() : { valid: !0, errors: {} };
|
|
256
|
-
}, []), t = D(() => {
|
|
257
|
-
var i;
|
|
258
|
-
const c = e.current;
|
|
259
|
-
return c ? (i = c.getValues) == null ? void 0 : i.call(c) : {};
|
|
260
|
-
}, []), n = D((c) => {
|
|
261
|
-
var u;
|
|
262
|
-
const i = e.current;
|
|
263
|
-
return (u = i == null ? void 0 : i.reset) == null ? void 0 : u.call(i, c);
|
|
264
|
-
}, []), f = D(() => {
|
|
265
|
-
var i;
|
|
266
|
-
const c = e.current;
|
|
267
|
-
return c ? typeof c.isDirty == "function" ? !!c.isDirty() : ((i = c.hasAttribute) == null ? void 0 : i.call(c, "dirty")) || !1 : !1;
|
|
268
|
-
}, []), s = D((c) => {
|
|
269
|
-
var u;
|
|
270
|
-
const i = e.current;
|
|
271
|
-
return (u = i == null ? void 0 : i.markClean) == null ? void 0 : u.call(i, c);
|
|
272
|
-
}, []);
|
|
273
|
-
return { ref: e, submit: o, validate: r, getValues: t, reset: n, isDirty: f, markClean: s };
|
|
3
|
+
import { Button as Mt } from "./Button.esm.js";
|
|
4
|
+
import { Tooltip as Ct } from "./Tooltip.esm.js";
|
|
5
|
+
import { Alert as Lt, AlertActions as St, AlertDescription as Ot, AlertIcon as kt, AlertTitle as Nt } from "./Alert.esm.js";
|
|
6
|
+
import { Dropdown as $t, DropdownContent as Bt, DropdownItem as Ht, DropdownSectionLabel as Gt, DropdownSeparator as Vt, DropdownTrigger as zt } from "./Dropdown.esm.js";
|
|
7
|
+
import { Input as Ut } from "./Input.esm.js";
|
|
8
|
+
import { PasswordField as _t } from "./PasswordField.esm.js";
|
|
9
|
+
import { TagsInput as Xt } from "./TagsInput.esm.js";
|
|
10
|
+
import { OTPInput as Zt, PinInput as Jt } from "./PinInput.esm.js";
|
|
11
|
+
import { Dropzone as er, FileUpload as tr } from "./FileUpload.esm.js";
|
|
12
|
+
import { Textarea as nr } from "./Textarea.esm.js";
|
|
13
|
+
import { Field as ir } from "./Field.esm.js";
|
|
14
|
+
import { ControlGroup as ur, Description as ar, FieldError as lr, Fieldset as fr } from "./FieldSemantics.esm.js";
|
|
15
|
+
import { FiltersBar as mr } from "./FiltersBar.esm.js";
|
|
16
|
+
import { Combobox as pr } from "./Combobox.esm.js";
|
|
17
|
+
import { Badge as yr } from "./Badge.esm.js";
|
|
18
|
+
import { EmptyState as xr } from "./EmptyState.esm.js";
|
|
19
|
+
import { Table as Dr } from "./Table.esm.js";
|
|
20
|
+
import { DataTable as hr } from "./DataTable.esm.js";
|
|
21
|
+
import { Chart as Ar } from "./Chart.esm.js";
|
|
22
|
+
import { Timeline as Er } from "./Timeline.esm.js";
|
|
23
|
+
import { Carousel as Mr } from "./Carousel.esm.js";
|
|
24
|
+
import { CodeBlock as Cr } from "./CodeBlock.esm.js";
|
|
25
|
+
import { CodeSnippet as Lr } from "./CodeSnippet.esm.js";
|
|
26
|
+
import { CopyButton as Or } from "./CopyButton.esm.js";
|
|
27
|
+
import { DataViewToolbar as Nr } from "./DataViewToolbar.esm.js";
|
|
28
|
+
import { Stat as $r } from "./Stat.esm.js";
|
|
29
|
+
import { MetricCard as Hr } from "./MetricCard.esm.js";
|
|
30
|
+
import { Calendar as Vr } from "./Calendar.esm.js";
|
|
31
|
+
import { ColorPicker as qr } from "./ColorPicker.esm.js";
|
|
32
|
+
import { DatePicker as jr } from "./DatePicker.esm.js";
|
|
33
|
+
import { DateRangePicker as Qr } from "./DateRangePicker.esm.js";
|
|
34
|
+
import { DateField as Yr, TimeField as Zr } from "./DateField.esm.js";
|
|
35
|
+
import { NumberField as Wr } from "./NumberField.esm.js";
|
|
36
|
+
import { MultiSelect as tn } from "./MultiSelect.esm.js";
|
|
37
|
+
import { SplitButton as nn } from "./SplitButton.esm.js";
|
|
38
|
+
import { TransferList as sn } from "./TransferList.esm.js";
|
|
39
|
+
import { Sortable as an } from "./Sortable.esm.js";
|
|
40
|
+
import { InlineEdit as fn } from "./InlineEdit.esm.js";
|
|
41
|
+
import { TimePicker as mn } from "./TimePicker.esm.js";
|
|
42
|
+
import { DateTimePicker as pn } from "./DateTimePicker.esm.js";
|
|
43
|
+
import { DateRangeTimePicker as yn } from "./DateRangeTimePicker.esm.js";
|
|
44
|
+
import { Gantt as xn } from "./Gantt.esm.js";
|
|
45
|
+
import { Stepper as Dn } from "./Stepper.esm.js";
|
|
46
|
+
import { Wizard as hn } from "./Wizard.esm.js";
|
|
47
|
+
import { Rating as An } from "./Rating.esm.js";
|
|
48
|
+
import { QuickActions as En } from "./QuickActions.esm.js";
|
|
49
|
+
import { NavigationMenu as Mn, NavigationMenuContent as Tn, NavigationMenuIndicator as Cn, NavigationMenuItem as Fn, NavigationMenuLink as Ln, NavigationMenuList as Sn, NavigationMenuRoot as On, NavigationMenuTrigger as kn, NavigationMenuViewport as Nn } from "./NavigationMenu.esm.js";
|
|
50
|
+
import { Menubar as $n } from "./Menubar.esm.js";
|
|
51
|
+
import { Dialog as Hn } from "./Dialog.esm.js";
|
|
52
|
+
import { DialogProvider as Vn, useDialog as zn } from "./DialogProvider.esm.js";
|
|
53
|
+
import { Popover as Un } from "./Popover.esm.js";
|
|
54
|
+
import { Tabs as _n } from "./Tabs.esm.js";
|
|
55
|
+
import { Menu as Xn, MenuItem as Yn, MenuSectionLabel as Zn, MenuSeparator as Jn } from "./Menu.esm.js";
|
|
56
|
+
import { Icon as eo } from "./Icon.esm.js";
|
|
57
|
+
import { ToastAPI as ro, ToastProvider as no, toast as oo, toastApi as io, useToast as so } from "./ToastAPI.esm.js";
|
|
58
|
+
import { Toast as ao } from "./Toast.esm.js";
|
|
59
|
+
import { FloatingToolbar as fo } from "./FloatingToolbar.esm.js";
|
|
60
|
+
import { BlockControls as mo } from "./BlockControls.esm.js";
|
|
61
|
+
import { Kbd as go } from "./Kbd.esm.js";
|
|
62
|
+
import { Shortcut as wo } from "./Shortcut.esm.js";
|
|
63
|
+
import { Command as bo, CommandItem as Do } from "./Command.esm.js";
|
|
64
|
+
import { CommandPalette as ho, CommandPaletteItem as vo } from "./CommandPalette.esm.js";
|
|
65
|
+
import { ContextMenu as Io } from "./ContextMenu.esm.js";
|
|
66
|
+
import { SelectionPopup as Ro } from "./SelectionPopup.esm.js";
|
|
67
|
+
import { PluginPanel as To } from "./PluginPanel.esm.js";
|
|
68
|
+
import { Form as Fo } from "./Form.esm.js";
|
|
69
|
+
import F, { useRef as A, useCallback as b, useState as H, useLayoutEffect as Te, useEffect as N, createContext as ue, useMemo as $, useContext as ee } from "react";
|
|
70
|
+
import { createPositioner as ze, createVirtualPoint as qe } from "@editora/ui-core/runtime";
|
|
71
|
+
import { createPortal as Ue } from "react-dom";
|
|
72
|
+
import { Box as So } from "./Box.esm.js";
|
|
73
|
+
import { Flex as ko } from "./Flex.esm.js";
|
|
74
|
+
import { Grid as Ko } from "./Grid.esm.js";
|
|
75
|
+
import { PlacementGrid as Bo } from "./PlacementGrid.esm.js";
|
|
76
|
+
import { MasonryGrid as Go } from "./MasonryGrid.esm.js";
|
|
77
|
+
import { Section as zo } from "./Section.esm.js";
|
|
78
|
+
import { Container as Uo } from "./Container.esm.js";
|
|
79
|
+
import { Sidebar as _o } from "./Sidebar.esm.js";
|
|
80
|
+
import { Panel as Xo, PanelGroup as Yo, Splitter as Zo } from "./PanelGroup.esm.js";
|
|
81
|
+
import { Tree as Wo } from "./Tree.esm.js";
|
|
82
|
+
import { Breadcrumb as ti } from "./Breadcrumb.esm.js";
|
|
83
|
+
import { AppHeader as ni, AppHeaderCenter as oi, AppHeaderEnd as ii, AppHeaderStart as si, AppHeaderSubtitle as ui, AppHeaderTitle as ai } from "./AppHeader.esm.js";
|
|
84
|
+
import { PageHeader as fi } from "./PageHeader.esm.js";
|
|
85
|
+
import { PageToolbar as mi } from "./PageToolbar.esm.js";
|
|
86
|
+
import { RecordHeader as pi } from "./RecordHeader.esm.js";
|
|
87
|
+
import { Drawer as yi } from "./Drawer.esm.js";
|
|
88
|
+
import { Layout as xi } from "./Layout.esm.js";
|
|
89
|
+
import { ThemeProvider as Di, useTheme as Pi } from "./ThemeProvider.esm.js";
|
|
90
|
+
import { Collection as vi } from "./Collection.esm.js";
|
|
91
|
+
import { Listbox as Ii } from "./Listbox.esm.js";
|
|
92
|
+
import { RovingFocusGroup as Ri } from "./RovingFocusGroup.esm.js";
|
|
93
|
+
import { DismissableLayer as Ti } from "./DismissableLayer.esm.js";
|
|
94
|
+
import { FocusScope as Fi } from "./FocusScope.esm.js";
|
|
95
|
+
import { Positioner as Si } from "./Positioner.esm.js";
|
|
96
|
+
import { Anchor as ki } from "./Anchor.esm.js";
|
|
97
|
+
import { Checkbox as Ki } from "./Checkbox.esm.js";
|
|
98
|
+
import { Radio as Bi } from "./Radio.esm.js";
|
|
99
|
+
import { RadioGroup as Gi } from "./RadioGroup.esm.js";
|
|
100
|
+
import { Switch as zi } from "./Switch.esm.js";
|
|
101
|
+
import { Toggle as Ui } from "./Toggle.esm.js";
|
|
102
|
+
import { ToggleGroup as _i } from "./ToggleGroup.esm.js";
|
|
103
|
+
import { AspectRatio as Xi } from "./AspectRatio.esm.js";
|
|
104
|
+
import { Avatar as Zi } from "./Avatar.esm.js";
|
|
105
|
+
import { Presence as Wi } from "./Presence.esm.js";
|
|
106
|
+
import { Progress as ts } from "./Progress.esm.js";
|
|
107
|
+
import { Meter as ns } from "./Meter.esm.js";
|
|
108
|
+
import { Portal as is } from "./Portal.esm.js";
|
|
109
|
+
import { ScrollArea as us } from "./ScrollArea.esm.js";
|
|
110
|
+
import { Separator as ls } from "./Separator.esm.js";
|
|
111
|
+
import { Slot as cs } from "./Slot.esm.js";
|
|
112
|
+
import { Toolbar as ds } from "./Toolbar.esm.js";
|
|
113
|
+
import { VisuallyHidden as gs } from "./VisuallyHidden.esm.js";
|
|
114
|
+
import { Collapsible as ws } from "./Collapsible.esm.js";
|
|
115
|
+
import { Pagination as bs } from "./Pagination.esm.js";
|
|
116
|
+
import { Accordion as Ps } from "./Accordion.esm.js";
|
|
117
|
+
import { DirectionProvider as vs } from "./DirectionProvider.esm.js";
|
|
118
|
+
import { HoverCard as Is } from "./HoverCard.esm.js";
|
|
119
|
+
import { Card as Rs } from "./Card.esm.js";
|
|
120
|
+
import { Label as Ts } from "./Label.esm.js";
|
|
121
|
+
import { AlertDialog as Fs, AlertDialogActions as Ls, AlertDialogContent as Ss, AlertDialogDescription as Os, AlertDialogIcon as ks, AlertDialogTitle as Ns } from "./AlertDialog.esm.js";
|
|
122
|
+
import { AlertDialogProvider as $s, useAlertDialog as Bs } from "./AlertDialogProvider.esm.js";
|
|
123
|
+
import { AnimatedText as Gs } from "./AnimatedText.esm.js";
|
|
124
|
+
import { SpinningText as zs } from "./SpinningText.esm.js";
|
|
125
|
+
import { NumberTicker as Us } from "./NumberTicker.esm.js";
|
|
126
|
+
import { AnimatedList as _s } from "./AnimatedList.esm.js";
|
|
127
|
+
import { AnimatedBeam as Xs } from "./AnimatedBeam.esm.js";
|
|
128
|
+
import { IconCloud as Zs } from "./IconCloud.esm.js";
|
|
129
|
+
import { Dock as Ws } from "./Dock.esm.js";
|
|
130
|
+
import { Orbiter as tu } from "./Orbiter.esm.js";
|
|
131
|
+
import { Marquee as nu } from "./Marquee.esm.js";
|
|
132
|
+
import { Select as iu } from "./Select.esm.js";
|
|
133
|
+
import { Slider as uu } from "./Slider.esm.js";
|
|
134
|
+
import { Skeleton as lu } from "./Skeleton.esm.js";
|
|
135
|
+
import { AnimatedNumber as cu, useAnimatedNumber as mu, useAnimatedNumberValue as du } from "./AnimatedNumber.esm.js";
|
|
136
|
+
import { toastAdvanced as gu, default as yu, toastPro as wu } from "@editora/toast";
|
|
137
|
+
function nt() {
|
|
138
|
+
const e = A(null), n = b(async () => {
|
|
139
|
+
const l = e.current;
|
|
140
|
+
return l ? await l.submit() : !1;
|
|
141
|
+
}, []), t = b(async () => {
|
|
142
|
+
const l = e.current;
|
|
143
|
+
return l ? await l.validate() : { valid: !0, errors: {} };
|
|
144
|
+
}, []), r = b(() => {
|
|
145
|
+
const l = e.current;
|
|
146
|
+
return l ? l.getValues?.() : {};
|
|
147
|
+
}, []), o = b((l) => e.current?.reset?.(l), []), u = b(() => {
|
|
148
|
+
const l = e.current;
|
|
149
|
+
return l ? typeof l.isDirty == "function" ? !!l.isDirty() : l.hasAttribute?.("dirty") || !1 : !1;
|
|
150
|
+
}, []), i = b((l) => e.current?.markClean?.(l), []);
|
|
151
|
+
return { ref: e, submit: n, validate: t, getValues: r, reset: o, isDirty: u, markClean: i };
|
|
274
152
|
}
|
|
275
|
-
const
|
|
276
|
-
function
|
|
153
|
+
const Me = typeof window < "u" ? Te : N;
|
|
154
|
+
function ge(e, n) {
|
|
277
155
|
if (e) {
|
|
278
156
|
if (typeof e == "function") {
|
|
279
|
-
e(
|
|
157
|
+
e(n);
|
|
280
158
|
return;
|
|
281
159
|
}
|
|
282
|
-
e.current =
|
|
160
|
+
e.current = n;
|
|
283
161
|
}
|
|
284
162
|
}
|
|
285
|
-
function
|
|
286
|
-
return (
|
|
287
|
-
e.forEach((
|
|
163
|
+
function ye(...e) {
|
|
164
|
+
return (n) => {
|
|
165
|
+
e.forEach((t) => ge(t, n));
|
|
288
166
|
};
|
|
289
167
|
}
|
|
290
|
-
function
|
|
291
|
-
return (...
|
|
292
|
-
e.forEach((
|
|
168
|
+
function je(...e) {
|
|
169
|
+
return (...n) => {
|
|
170
|
+
e.forEach((t) => t?.(...n));
|
|
293
171
|
};
|
|
294
172
|
}
|
|
295
|
-
function
|
|
296
|
-
return (
|
|
297
|
-
e
|
|
173
|
+
function S(e, n, t = {}) {
|
|
174
|
+
return (r) => {
|
|
175
|
+
e?.(r), !((t.checkDefaultPrevented ?? !0) && r.defaultPrevented) && n(r);
|
|
298
176
|
};
|
|
299
177
|
}
|
|
300
|
-
function
|
|
178
|
+
function ot(e) {
|
|
301
179
|
const {
|
|
302
|
-
placement:
|
|
303
|
-
offset:
|
|
304
|
-
open:
|
|
305
|
-
onOpen:
|
|
306
|
-
onClose:
|
|
307
|
-
onOpenChange:
|
|
308
|
-
role:
|
|
309
|
-
flip:
|
|
310
|
-
shift:
|
|
311
|
-
matchWidth:
|
|
312
|
-
fitViewport:
|
|
180
|
+
placement: n = "bottom",
|
|
181
|
+
offset: t = 8,
|
|
182
|
+
open: r,
|
|
183
|
+
onOpen: o,
|
|
184
|
+
onClose: u,
|
|
185
|
+
onOpenChange: i,
|
|
186
|
+
role: l = "menu",
|
|
187
|
+
flip: p = !0,
|
|
188
|
+
shift: a = !0,
|
|
189
|
+
matchWidth: m = !1,
|
|
190
|
+
fitViewport: f = !1,
|
|
313
191
|
strategy: d = "absolute",
|
|
314
|
-
arrowPadding:
|
|
315
|
-
dir:
|
|
316
|
-
boundary:
|
|
317
|
-
boundaryPadding:
|
|
318
|
-
autoPlacement:
|
|
192
|
+
arrowPadding: s = 8,
|
|
193
|
+
dir: c,
|
|
194
|
+
boundary: g = null,
|
|
195
|
+
boundaryPadding: h,
|
|
196
|
+
autoPlacement: O = !1,
|
|
319
197
|
allowedPlacements: E,
|
|
320
|
-
fallbackPlacements:
|
|
198
|
+
fallbackPlacements: T,
|
|
321
199
|
inline: I = !1,
|
|
322
|
-
hideWhenDetached:
|
|
323
|
-
observeWindowResize:
|
|
324
|
-
observeScroll:
|
|
325
|
-
observeAncestorScroll:
|
|
326
|
-
observeAncestorResize:
|
|
327
|
-
observeLayoutShift:
|
|
328
|
-
observeAnchorResize:
|
|
329
|
-
observeFloatingResize:
|
|
330
|
-
animationFrame:
|
|
331
|
-
middleware:
|
|
332
|
-
} = e || {},
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
fe || qe(x), s == null || s(x, w), x ? n == null || n(w) : f == null || f(w);
|
|
200
|
+
hideWhenDetached: R = !1,
|
|
201
|
+
observeWindowResize: L,
|
|
202
|
+
observeScroll: k,
|
|
203
|
+
observeAncestorScroll: z,
|
|
204
|
+
observeAncestorResize: V,
|
|
205
|
+
observeLayoutShift: Q,
|
|
206
|
+
observeAnchorResize: y,
|
|
207
|
+
observeFloatingResize: D,
|
|
208
|
+
animationFrame: v,
|
|
209
|
+
middleware: M
|
|
210
|
+
} = e || {}, B = A(null), C = A(null), q = A(null), ae = A(null), W = A(null), te = A(`floating-${Math.random().toString(36).slice(2, 9)}`), [ke, be] = H(0), [De, Ne] = H(null), [X, Ke] = H(null), [Pe, $e] = H(null), [Y, Be] = H({ top: 0, left: 0, placement: n }), le = typeof r < "u", [He, Ge] = H(!!r), G = le ? !!r : He, he = b(() => {
|
|
211
|
+
W.current?.update();
|
|
212
|
+
}, []), U = b(
|
|
213
|
+
(w, x = "manual") => {
|
|
214
|
+
le || Ge(w), i?.(w, x), w ? o?.(x) : u?.(x);
|
|
338
215
|
},
|
|
339
|
-
[
|
|
340
|
-
),
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
const x =
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
anchor: Y.current || x,
|
|
351
|
-
floating: w,
|
|
352
|
-
placement: o,
|
|
216
|
+
[le, o, u, i]
|
|
217
|
+
), fe = b((w = "manual") => U(!G, w), [G, U]), ve = b((w = "manual") => U(!0, w), [U]), Ae = b((w = "manual") => U(!1, w), [U]);
|
|
218
|
+
Me(() => {
|
|
219
|
+
if (!G) return;
|
|
220
|
+
const w = De, x = X;
|
|
221
|
+
if (!w || !x) return;
|
|
222
|
+
const K = x.style.visibility, _ = x.style.pointerEvents, Z = !x.offsetWidth && !x.offsetHeight;
|
|
223
|
+
return Z && (x.style.visibility = "hidden", x.style.pointerEvents = "none"), W.current?.destroy(), W.current = ze({
|
|
224
|
+
anchor: ae.current || w,
|
|
225
|
+
floating: x,
|
|
226
|
+
placement: n,
|
|
353
227
|
strategy: d,
|
|
354
|
-
offset:
|
|
355
|
-
flip:
|
|
356
|
-
shift:
|
|
357
|
-
matchWidth:
|
|
358
|
-
fitViewport:
|
|
359
|
-
arrow:
|
|
360
|
-
arrowPadding:
|
|
361
|
-
dir:
|
|
362
|
-
boundary:
|
|
363
|
-
boundaryPadding:
|
|
364
|
-
autoPlacement:
|
|
228
|
+
offset: t,
|
|
229
|
+
flip: p,
|
|
230
|
+
shift: a,
|
|
231
|
+
matchWidth: m,
|
|
232
|
+
fitViewport: f,
|
|
233
|
+
arrow: Pe,
|
|
234
|
+
arrowPadding: s,
|
|
235
|
+
dir: c,
|
|
236
|
+
boundary: g,
|
|
237
|
+
boundaryPadding: h,
|
|
238
|
+
autoPlacement: O,
|
|
365
239
|
allowedPlacements: E,
|
|
366
|
-
fallbackPlacements:
|
|
240
|
+
fallbackPlacements: T,
|
|
367
241
|
inline: I,
|
|
368
|
-
hideWhenDetached:
|
|
369
|
-
observeWindowResize:
|
|
370
|
-
observeScroll:
|
|
371
|
-
observeAncestorScroll:
|
|
372
|
-
observeAncestorResize:
|
|
373
|
-
observeLayoutShift:
|
|
374
|
-
observeAnchorResize:
|
|
375
|
-
observeFloatingResize:
|
|
376
|
-
animationFrame:
|
|
377
|
-
middleware:
|
|
378
|
-
onUpdate: (
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
centerOffset: G.middlewareData.arrow.centerOffset
|
|
242
|
+
hideWhenDetached: R,
|
|
243
|
+
observeWindowResize: L,
|
|
244
|
+
observeScroll: k,
|
|
245
|
+
observeAncestorScroll: z,
|
|
246
|
+
observeAncestorResize: V,
|
|
247
|
+
observeLayoutShift: Q,
|
|
248
|
+
observeAnchorResize: y,
|
|
249
|
+
observeFloatingResize: D,
|
|
250
|
+
animationFrame: v,
|
|
251
|
+
middleware: M,
|
|
252
|
+
onUpdate: (P) => {
|
|
253
|
+
Be({
|
|
254
|
+
top: Math.round(P.y),
|
|
255
|
+
left: Math.round(P.x),
|
|
256
|
+
placement: P.placement,
|
|
257
|
+
arrow: P.middlewareData?.arrow ? {
|
|
258
|
+
x: P.middlewareData.arrow.x,
|
|
259
|
+
y: P.middlewareData.arrow.y,
|
|
260
|
+
centerOffset: P.middlewareData.arrow.centerOffset
|
|
388
261
|
} : void 0
|
|
389
262
|
});
|
|
390
263
|
}
|
|
391
264
|
}), () => {
|
|
392
|
-
|
|
393
|
-
W && (w.style.visibility = $, w.style.pointerEvents = X), (G = te.current) == null || G.destroy(), te.current = null;
|
|
265
|
+
Z && (x.style.visibility = K, x.style.pointerEvents = _), W.current?.destroy(), W.current = null;
|
|
394
266
|
};
|
|
395
267
|
}, [
|
|
396
|
-
|
|
397
|
-
|
|
268
|
+
G,
|
|
269
|
+
n,
|
|
398
270
|
d,
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
u,
|
|
271
|
+
t,
|
|
272
|
+
p,
|
|
402
273
|
a,
|
|
403
274
|
m,
|
|
404
|
-
|
|
275
|
+
f,
|
|
276
|
+
ke,
|
|
405
277
|
De,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
278
|
+
X,
|
|
279
|
+
Pe,
|
|
280
|
+
s,
|
|
281
|
+
c,
|
|
282
|
+
g,
|
|
283
|
+
h,
|
|
284
|
+
O,
|
|
413
285
|
E,
|
|
414
|
-
|
|
286
|
+
T,
|
|
415
287
|
I,
|
|
288
|
+
R,
|
|
416
289
|
L,
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
return;
|
|
446
|
-
const $ = Math.max(0, Math.min(w.length - 1, x));
|
|
290
|
+
k,
|
|
291
|
+
z,
|
|
292
|
+
V,
|
|
293
|
+
Q,
|
|
294
|
+
y,
|
|
295
|
+
D,
|
|
296
|
+
v,
|
|
297
|
+
M
|
|
298
|
+
]), Me(() => {
|
|
299
|
+
!G || !X || (X.style.visibility = "", X.style.pointerEvents = "");
|
|
300
|
+
}, [Y.left, Y.top, G, X]);
|
|
301
|
+
const re = b((w) => {
|
|
302
|
+
B.current = w, Ne((x) => x === w ? x : w);
|
|
303
|
+
}, []), ne = b((w) => {
|
|
304
|
+
C.current = w, Ke((x) => x === w ? x : w);
|
|
305
|
+
}, []), ce = b((w) => {
|
|
306
|
+
q.current = w, $e((x) => x === w ? x : w);
|
|
307
|
+
}, []), me = b((w) => {
|
|
308
|
+
ae.current = w, be((x) => x + 1);
|
|
309
|
+
}, []), Ve = b((w, x) => {
|
|
310
|
+
const K = B.current || C.current || void 0;
|
|
311
|
+
ae.current = qe(w, x, K), be((_) => _ + 1);
|
|
312
|
+
}, []), oe = () => C.current ? Array.from(
|
|
313
|
+
C.current.querySelectorAll('[role="menuitem"], .item, [data-menu-item]')
|
|
314
|
+
).filter(Boolean) : [], ie = (w) => {
|
|
315
|
+
const x = oe();
|
|
316
|
+
if (!x.length) return;
|
|
317
|
+
const K = Math.max(0, Math.min(x.length - 1, w));
|
|
447
318
|
try {
|
|
448
|
-
|
|
319
|
+
x[K].focus();
|
|
449
320
|
} catch {
|
|
450
321
|
}
|
|
451
|
-
}, de = () =>
|
|
452
|
-
const
|
|
453
|
-
|
|
322
|
+
}, de = () => ie(0), Ie = () => {
|
|
323
|
+
const w = oe();
|
|
324
|
+
w.length && ie(w.length - 1);
|
|
325
|
+
}, Ee = () => {
|
|
326
|
+
const w = oe(), x = w.findIndex((K) => K === document.activeElement);
|
|
327
|
+
ie(x < 0 ? 0 : (x + 1) % w.length);
|
|
454
328
|
}, Re = () => {
|
|
455
|
-
const
|
|
456
|
-
|
|
457
|
-
}, Me = () => {
|
|
458
|
-
const x = se(), w = x.findIndex(($) => $ === document.activeElement);
|
|
459
|
-
ue(w <= 0 ? x.length - 1 : w - 1);
|
|
329
|
+
const w = oe(), x = w.findIndex((K) => K === document.activeElement);
|
|
330
|
+
ie(x <= 0 ? w.length - 1 : x - 1);
|
|
460
331
|
};
|
|
461
332
|
return {
|
|
462
|
-
referenceRef:
|
|
463
|
-
floatingRef:
|
|
464
|
-
arrowRef:
|
|
465
|
-
setPositionReference:
|
|
466
|
-
setClientPoint:
|
|
467
|
-
coords:
|
|
333
|
+
referenceRef: re,
|
|
334
|
+
floatingRef: ne,
|
|
335
|
+
arrowRef: ce,
|
|
336
|
+
setPositionReference: me,
|
|
337
|
+
setClientPoint: Ve,
|
|
338
|
+
coords: Y,
|
|
468
339
|
update: he,
|
|
469
|
-
open:
|
|
470
|
-
setOpen:
|
|
471
|
-
toggle:
|
|
472
|
-
openPopup:
|
|
473
|
-
closePopup:
|
|
474
|
-
getReferenceProps: (
|
|
475
|
-
const { onClick:
|
|
340
|
+
open: G,
|
|
341
|
+
setOpen: U,
|
|
342
|
+
toggle: fe,
|
|
343
|
+
openPopup: ve,
|
|
344
|
+
closePopup: Ae,
|
|
345
|
+
getReferenceProps: (w = {}) => {
|
|
346
|
+
const { onClick: x, onKeyDown: K, ref: _, ...Z } = w;
|
|
476
347
|
return {
|
|
477
|
-
...
|
|
478
|
-
ref: (
|
|
479
|
-
|
|
348
|
+
...Z,
|
|
349
|
+
ref: (P) => {
|
|
350
|
+
re(P), ge(_, P);
|
|
480
351
|
},
|
|
481
|
-
"aria-haspopup":
|
|
482
|
-
"aria-controls":
|
|
483
|
-
"aria-expanded":
|
|
484
|
-
onClick: (
|
|
485
|
-
|
|
352
|
+
"aria-haspopup": l,
|
|
353
|
+
"aria-controls": te.current,
|
|
354
|
+
"aria-expanded": G ? "true" : "false",
|
|
355
|
+
onClick: (P) => {
|
|
356
|
+
x?.(P), !P.defaultPrevented && fe();
|
|
486
357
|
},
|
|
487
|
-
onKeyDown: (
|
|
488
|
-
|
|
358
|
+
onKeyDown: (P) => {
|
|
359
|
+
K?.(P), !P.defaultPrevented && P.key === "ArrowDown" && (P.preventDefault(), ve("list-navigation"), setTimeout(() => de(), 0));
|
|
489
360
|
}
|
|
490
361
|
};
|
|
491
362
|
},
|
|
492
|
-
getFloatingProps: (
|
|
493
|
-
const { onKeyDown:
|
|
363
|
+
getFloatingProps: (w = {}) => {
|
|
364
|
+
const { onKeyDown: x, style: K, ref: _, ...Z } = w;
|
|
494
365
|
return {
|
|
495
|
-
...
|
|
496
|
-
id:
|
|
497
|
-
ref: (
|
|
498
|
-
|
|
366
|
+
...Z,
|
|
367
|
+
id: te.current,
|
|
368
|
+
ref: (P) => {
|
|
369
|
+
ne(P), ge(_, P);
|
|
499
370
|
},
|
|
500
|
-
role:
|
|
371
|
+
role: l,
|
|
501
372
|
tabIndex: -1,
|
|
502
373
|
style: {
|
|
503
|
-
|
|
374
|
+
...K || {},
|
|
504
375
|
position: d,
|
|
505
|
-
top:
|
|
506
|
-
left:
|
|
376
|
+
top: Y.top,
|
|
377
|
+
left: Y.left
|
|
507
378
|
},
|
|
508
|
-
hidden: !
|
|
509
|
-
onKeyDown: (
|
|
510
|
-
|
|
379
|
+
hidden: !G,
|
|
380
|
+
onKeyDown: (P) => {
|
|
381
|
+
x?.(P), !P.defaultPrevented && (P.key === "Escape" ? (P.preventDefault(), Ae("dismiss")) : P.key === "ArrowDown" ? (P.preventDefault(), Ee()) : P.key === "ArrowUp" ? (P.preventDefault(), Re()) : P.key === "Home" ? (P.preventDefault(), de()) : P.key === "End" && (P.preventDefault(), Ie()));
|
|
511
382
|
}
|
|
512
383
|
};
|
|
513
384
|
},
|
|
514
385
|
focusFirstItem: de,
|
|
515
386
|
focusLastItem: Ie,
|
|
516
|
-
focusNext:
|
|
517
|
-
focusPrev:
|
|
387
|
+
focusNext: Ee,
|
|
388
|
+
focusPrev: Re,
|
|
518
389
|
refs: {
|
|
519
|
-
reference:
|
|
520
|
-
floating:
|
|
521
|
-
arrow:
|
|
522
|
-
setReference:
|
|
523
|
-
setFloating:
|
|
524
|
-
setArrow:
|
|
525
|
-
setPositionReference:
|
|
390
|
+
reference: B,
|
|
391
|
+
floating: C,
|
|
392
|
+
arrow: q,
|
|
393
|
+
setReference: re,
|
|
394
|
+
setFloating: ne,
|
|
395
|
+
setArrow: ce,
|
|
396
|
+
setPositionReference: me
|
|
526
397
|
},
|
|
527
398
|
elements: {
|
|
528
399
|
get reference() {
|
|
529
|
-
return
|
|
400
|
+
return B.current;
|
|
530
401
|
},
|
|
531
402
|
get floating() {
|
|
532
|
-
return
|
|
403
|
+
return C.current;
|
|
533
404
|
},
|
|
534
405
|
get arrow() {
|
|
535
|
-
return
|
|
406
|
+
return q.current;
|
|
536
407
|
}
|
|
537
408
|
},
|
|
538
|
-
floatingId:
|
|
539
|
-
role:
|
|
540
|
-
placement:
|
|
409
|
+
floatingId: te.current,
|
|
410
|
+
role: l,
|
|
411
|
+
placement: n,
|
|
541
412
|
context: {
|
|
542
|
-
open:
|
|
543
|
-
setOpen:
|
|
544
|
-
toggle:
|
|
413
|
+
open: G,
|
|
414
|
+
setOpen: U,
|
|
415
|
+
toggle: fe,
|
|
545
416
|
refs: {
|
|
546
|
-
reference:
|
|
547
|
-
floating:
|
|
548
|
-
arrow:
|
|
549
|
-
setReference:
|
|
550
|
-
setFloating:
|
|
551
|
-
setArrow:
|
|
552
|
-
setPositionReference:
|
|
417
|
+
reference: B,
|
|
418
|
+
floating: C,
|
|
419
|
+
arrow: q,
|
|
420
|
+
setReference: re,
|
|
421
|
+
setFloating: ne,
|
|
422
|
+
setArrow: ce,
|
|
423
|
+
setPositionReference: me
|
|
553
424
|
},
|
|
554
425
|
elements: {
|
|
555
426
|
get reference() {
|
|
556
|
-
return
|
|
427
|
+
return B.current;
|
|
557
428
|
},
|
|
558
429
|
get floating() {
|
|
559
|
-
return
|
|
430
|
+
return C.current;
|
|
560
431
|
},
|
|
561
432
|
get arrow() {
|
|
562
|
-
return
|
|
433
|
+
return q.current;
|
|
563
434
|
}
|
|
564
435
|
},
|
|
565
|
-
coords:
|
|
436
|
+
coords: Y,
|
|
566
437
|
update: he,
|
|
567
|
-
floatingId:
|
|
568
|
-
role:
|
|
569
|
-
placement:
|
|
438
|
+
floatingId: te.current,
|
|
439
|
+
role: l,
|
|
440
|
+
placement: n,
|
|
570
441
|
strategy: d
|
|
571
442
|
}
|
|
572
443
|
};
|
|
573
444
|
}
|
|
574
|
-
function
|
|
575
|
-
return e.reduce((
|
|
576
|
-
const
|
|
577
|
-
return
|
|
578
|
-
},
|
|
445
|
+
function pe(e, n = {}) {
|
|
446
|
+
return e.reduce((t, r) => {
|
|
447
|
+
const o = r?.(t) || t;
|
|
448
|
+
return _e(t, o);
|
|
449
|
+
}, n);
|
|
579
450
|
}
|
|
580
|
-
function
|
|
581
|
-
const
|
|
582
|
-
return Object.keys(e).forEach((
|
|
583
|
-
/^on[A-Z]/.test(
|
|
584
|
-
}), (e.ref ||
|
|
451
|
+
function _e(e, n) {
|
|
452
|
+
const t = { ...e, ...n };
|
|
453
|
+
return Object.keys(e).forEach((r) => {
|
|
454
|
+
/^on[A-Z]/.test(r) && typeof e[r] == "function" && typeof n[r] == "function" && (t[r] = je(e[r], n[r]));
|
|
455
|
+
}), (e.ref || n.ref) && (t.ref = ye(e.ref, n.ref)), (e.style || n.style) && (t.style = { ...e.style || {}, ...n.style || {} }), t;
|
|
585
456
|
}
|
|
586
|
-
function
|
|
587
|
-
return !!e && !!
|
|
457
|
+
function j(e, n) {
|
|
458
|
+
return !!e && !!n && e.contains(n);
|
|
588
459
|
}
|
|
589
|
-
function
|
|
590
|
-
return typeof e == "number" ? e :
|
|
460
|
+
function J(e, n) {
|
|
461
|
+
return typeof e == "number" ? e : e?.[n] ?? 0;
|
|
591
462
|
}
|
|
592
|
-
function
|
|
463
|
+
function se(e) {
|
|
593
464
|
return Array.from(
|
|
594
|
-
|
|
465
|
+
e?.querySelectorAll(
|
|
595
466
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
596
|
-
)
|
|
597
|
-
).filter((
|
|
467
|
+
) || []
|
|
468
|
+
).filter((n) => !n.hasAttribute("disabled") && n.getAttribute("aria-hidden") !== "true");
|
|
598
469
|
}
|
|
599
|
-
function
|
|
600
|
-
const
|
|
601
|
-
if (!
|
|
602
|
-
return !0;
|
|
470
|
+
function Qe(e) {
|
|
471
|
+
const n = e.target;
|
|
472
|
+
if (!n) return !0;
|
|
603
473
|
try {
|
|
604
|
-
return typeof
|
|
474
|
+
return typeof n.matches != "function" || n.matches(":focus-visible");
|
|
605
475
|
} catch {
|
|
606
476
|
return !0;
|
|
607
477
|
}
|
|
@@ -609,627 +479,585 @@ function Ye(e) {
|
|
|
609
479
|
function Ce(e) {
|
|
610
480
|
return typeof e == "object" && e !== null && "current" in e;
|
|
611
481
|
}
|
|
612
|
-
function
|
|
613
|
-
if (!(e instanceof Element))
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
return o && (o.dataset.floatingNodeId || o.dataset.floatingReferenceId) || null;
|
|
482
|
+
function Fe(e) {
|
|
483
|
+
if (!(e instanceof Element)) return null;
|
|
484
|
+
const n = e.closest("[data-floating-node-id], [data-floating-reference-id]");
|
|
485
|
+
return n && (n.dataset.floatingNodeId || n.dataset.floatingReferenceId) || null;
|
|
617
486
|
}
|
|
618
|
-
function
|
|
619
|
-
if (!e ||
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
return !0;
|
|
625
|
-
t = e.getNode(t.parentId);
|
|
487
|
+
function Le(e, n, t) {
|
|
488
|
+
if (!e || n === t) return !1;
|
|
489
|
+
let r = e.getNode(n);
|
|
490
|
+
for (; r?.parentId; ) {
|
|
491
|
+
if (r.parentId === t) return !0;
|
|
492
|
+
r = e.getNode(r.parentId);
|
|
626
493
|
}
|
|
627
494
|
return !1;
|
|
628
495
|
}
|
|
629
|
-
function
|
|
630
|
-
const
|
|
631
|
-
return
|
|
632
|
-
getReferenceProps: (
|
|
633
|
-
getFloatingProps: (
|
|
634
|
-
getItemProps: (
|
|
635
|
-
}), [
|
|
496
|
+
function it(e) {
|
|
497
|
+
const n = e.filter(Boolean);
|
|
498
|
+
return $(() => ({
|
|
499
|
+
getReferenceProps: (t = {}) => pe(n.map((r) => r.getReferenceProps), t),
|
|
500
|
+
getFloatingProps: (t = {}) => pe(n.map((r) => r.getFloatingProps), t),
|
|
501
|
+
getItemProps: (t = {}) => pe(n.map((r) => r.getItemProps), t)
|
|
502
|
+
}), [n]);
|
|
636
503
|
}
|
|
637
|
-
function
|
|
504
|
+
function st(e, n = {}) {
|
|
638
505
|
const {
|
|
639
|
-
enabled:
|
|
640
|
-
toggle:
|
|
641
|
-
event:
|
|
642
|
-
ignoreMouse:
|
|
643
|
-
keyboardHandlers:
|
|
644
|
-
stickIfOpen:
|
|
645
|
-
} =
|
|
646
|
-
return
|
|
647
|
-
getReferenceProps(
|
|
648
|
-
if (!
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
e.open && c || (t ? e.toggle(m) : e.setOpen(!0, m));
|
|
506
|
+
enabled: t = !0,
|
|
507
|
+
toggle: r = !0,
|
|
508
|
+
event: o = "click",
|
|
509
|
+
ignoreMouse: u = !1,
|
|
510
|
+
keyboardHandlers: i = !0,
|
|
511
|
+
stickIfOpen: l = !1
|
|
512
|
+
} = n;
|
|
513
|
+
return $(() => ({
|
|
514
|
+
getReferenceProps(p = {}) {
|
|
515
|
+
if (!t) return p;
|
|
516
|
+
const a = o === "mousedown" ? "onMouseDown" : "onClick", m = (f = "click") => {
|
|
517
|
+
e.open && l || (r ? e.toggle(f) : e.setOpen(!0, f));
|
|
652
518
|
};
|
|
653
519
|
return {
|
|
654
|
-
...
|
|
655
|
-
[
|
|
656
|
-
|
|
520
|
+
...p,
|
|
521
|
+
[a]: S(p[a], (f) => {
|
|
522
|
+
u && (f.detail ?? 0) !== 0 || m("click");
|
|
657
523
|
}),
|
|
658
|
-
onKeyDown:
|
|
659
|
-
|
|
524
|
+
onKeyDown: S(p.onKeyDown, (f) => {
|
|
525
|
+
i && (f.key !== "Enter" && f.key !== " " || (f.preventDefault(), !(e.open && l) && (r ? e.toggle("click") : e.setOpen(!0, "click"))));
|
|
660
526
|
})
|
|
661
527
|
};
|
|
662
528
|
}
|
|
663
|
-
}), [e,
|
|
529
|
+
}), [e, t, o, u, i, l, r]);
|
|
664
530
|
}
|
|
665
|
-
function
|
|
666
|
-
const { enabled:
|
|
667
|
-
|
|
668
|
-
}, []),
|
|
531
|
+
function ut(e, n = {}) {
|
|
532
|
+
const { enabled: t = !0, delay: r = 0, closeDelay: o, mouseOnly: u = !1, move: i = !0, restMs: l = 0 } = n, p = ee(xe), a = A(`delay-group-${Math.random().toString(36).slice(2, 9)}`), m = A(null), f = A(null), d = b(() => {
|
|
533
|
+
m.current && window.clearTimeout(m.current), m.current = null, f.current && window.clearTimeout(f.current), f.current = null;
|
|
534
|
+
}, []), s = b((c) => {
|
|
669
535
|
d();
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
},
|
|
674
|
-
}, [d,
|
|
675
|
-
return
|
|
676
|
-
getReferenceProps(
|
|
677
|
-
return
|
|
678
|
-
...
|
|
679
|
-
onMouseEnter:
|
|
680
|
-
if (!(
|
|
681
|
-
if (
|
|
682
|
-
d(),
|
|
536
|
+
const g = o ?? J(r, "close"), h = c ? p?.instantPhase || p?.currentId && p.currentId !== a.current ? 1 : J(r, "open") : g;
|
|
537
|
+
m.current = window.setTimeout(() => {
|
|
538
|
+
c ? p?.beginInstantPhase(a.current) : p?.currentIdRef.current === a.current && (p.setCurrentId(null), p.scheduleInstantPhaseReset(a.current)), e.setOpen(c, "hover");
|
|
539
|
+
}, h);
|
|
540
|
+
}, [d, o, e, r, p]);
|
|
541
|
+
return N(() => d, [d]), $(() => ({
|
|
542
|
+
getReferenceProps(c = {}) {
|
|
543
|
+
return t ? {
|
|
544
|
+
...c,
|
|
545
|
+
onMouseEnter: S(c.onMouseEnter, (g) => {
|
|
546
|
+
if (!(u && g.pointerType && g.pointerType !== "mouse")) {
|
|
547
|
+
if (l > 0) {
|
|
548
|
+
d(), f.current = window.setTimeout(() => s(!0), l);
|
|
683
549
|
return;
|
|
684
550
|
}
|
|
685
|
-
|
|
551
|
+
s(!0);
|
|
686
552
|
}
|
|
687
553
|
}),
|
|
688
|
-
onMouseLeave:
|
|
689
|
-
} :
|
|
554
|
+
onMouseLeave: S(c.onMouseLeave, () => s(!1))
|
|
555
|
+
} : c;
|
|
690
556
|
},
|
|
691
|
-
getFloatingProps(
|
|
692
|
-
return
|
|
693
|
-
...
|
|
694
|
-
onMouseEnter:
|
|
695
|
-
|
|
557
|
+
getFloatingProps(c = {}) {
|
|
558
|
+
return t ? {
|
|
559
|
+
...c,
|
|
560
|
+
onMouseEnter: S(c.onMouseEnter, () => {
|
|
561
|
+
i && s(!0);
|
|
696
562
|
}),
|
|
697
|
-
onMouseLeave:
|
|
698
|
-
} :
|
|
563
|
+
onMouseLeave: S(c.onMouseLeave, () => s(!1))
|
|
564
|
+
} : c;
|
|
699
565
|
}
|
|
700
|
-
}), [d,
|
|
566
|
+
}), [d, t, u, i, l, s]);
|
|
701
567
|
}
|
|
702
|
-
function
|
|
703
|
-
const { enabled:
|
|
704
|
-
return
|
|
705
|
-
getReferenceProps(
|
|
706
|
-
return
|
|
707
|
-
...
|
|
708
|
-
onFocus:
|
|
709
|
-
|
|
568
|
+
function at(e, n = {}) {
|
|
569
|
+
const { enabled: t = !0, visibleOnly: r = !0 } = n;
|
|
570
|
+
return $(() => ({
|
|
571
|
+
getReferenceProps(o = {}) {
|
|
572
|
+
return t ? {
|
|
573
|
+
...o,
|
|
574
|
+
onFocus: S(o.onFocus, (u) => {
|
|
575
|
+
r && !Qe(u) || e.setOpen(!0, "focus");
|
|
710
576
|
}),
|
|
711
|
-
onBlur:
|
|
712
|
-
const
|
|
713
|
-
|
|
577
|
+
onBlur: S(o.onBlur, (u) => {
|
|
578
|
+
const i = u.relatedTarget;
|
|
579
|
+
j(e.elements.floating, i) || e.setOpen(!1, "focus");
|
|
714
580
|
})
|
|
715
|
-
} :
|
|
581
|
+
} : o;
|
|
716
582
|
},
|
|
717
|
-
getFloatingProps(
|
|
718
|
-
return
|
|
719
|
-
...
|
|
720
|
-
onBlur:
|
|
721
|
-
const
|
|
722
|
-
|
|
583
|
+
getFloatingProps(o = {}) {
|
|
584
|
+
return t ? {
|
|
585
|
+
...o,
|
|
586
|
+
onBlur: S(o.onBlur, (u) => {
|
|
587
|
+
const i = u.relatedTarget;
|
|
588
|
+
j(e.elements.reference, i) || j(e.elements.floating, i) || e.setOpen(!1, "focus");
|
|
723
589
|
})
|
|
724
|
-
} :
|
|
590
|
+
} : o;
|
|
725
591
|
}
|
|
726
|
-
}), [e,
|
|
592
|
+
}), [e, t, r]);
|
|
727
593
|
}
|
|
728
|
-
function
|
|
729
|
-
const { role:
|
|
730
|
-
return
|
|
731
|
-
getReferenceProps(
|
|
732
|
-
return
|
|
733
|
-
...
|
|
734
|
-
"aria-haspopup":
|
|
594
|
+
function lt(e, n = {}) {
|
|
595
|
+
const { role: t = e.role, enabled: r = !0 } = n;
|
|
596
|
+
return $(() => ({
|
|
597
|
+
getReferenceProps(o = {}) {
|
|
598
|
+
return r ? {
|
|
599
|
+
...o,
|
|
600
|
+
"aria-haspopup": t,
|
|
735
601
|
"aria-expanded": e.open ? "true" : "false",
|
|
736
602
|
"aria-controls": e.floatingId
|
|
737
|
-
} :
|
|
603
|
+
} : o;
|
|
738
604
|
},
|
|
739
|
-
getFloatingProps(
|
|
740
|
-
return
|
|
741
|
-
...
|
|
605
|
+
getFloatingProps(o = {}) {
|
|
606
|
+
return r ? {
|
|
607
|
+
...o,
|
|
742
608
|
id: e.floatingId,
|
|
743
|
-
role:
|
|
744
|
-
} :
|
|
609
|
+
role: t
|
|
610
|
+
} : o;
|
|
745
611
|
}
|
|
746
|
-
}), [e.floatingId, e.open,
|
|
612
|
+
}), [e.floatingId, e.open, r, t]);
|
|
747
613
|
}
|
|
748
|
-
function
|
|
614
|
+
function ft(e, n = {}) {
|
|
749
615
|
const {
|
|
750
|
-
enabled:
|
|
751
|
-
escapeKey:
|
|
752
|
-
outsidePress:
|
|
753
|
-
outsidePressEvent:
|
|
754
|
-
ancestorScroll:
|
|
755
|
-
referencePress:
|
|
756
|
-
referencePressEvent:
|
|
757
|
-
nodeId:
|
|
758
|
-
} =
|
|
759
|
-
if (!
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
},
|
|
772
|
-
|
|
773
|
-
}, y = () => {
|
|
774
|
-
s && d("dismiss");
|
|
616
|
+
enabled: t = !0,
|
|
617
|
+
escapeKey: r = !0,
|
|
618
|
+
outsidePress: o = !0,
|
|
619
|
+
outsidePressEvent: u = "pointerdown",
|
|
620
|
+
ancestorScroll: i = !1,
|
|
621
|
+
referencePress: l = !1,
|
|
622
|
+
referencePressEvent: p = "pointerdown",
|
|
623
|
+
nodeId: a = null
|
|
624
|
+
} = n, m = we(), f = b((s) => {
|
|
625
|
+
if (!m || !a) return !1;
|
|
626
|
+
const c = Fe(s);
|
|
627
|
+
return !c || c === a ? !1 : Le(m, c, a);
|
|
628
|
+
}, [a, m]), d = b((s = "dismiss") => {
|
|
629
|
+
a && m?.closeDescendants(a, s), e.setOpen(!1, s);
|
|
630
|
+
}, [e, a, m]);
|
|
631
|
+
return N(() => {
|
|
632
|
+
if (!t || !e.open) return;
|
|
633
|
+
const s = (h) => {
|
|
634
|
+
o && (j(e.elements.reference, h.target) || j(e.elements.floating, h.target) || f(h.target) || typeof o == "function" && !o(h) || d("dismiss"));
|
|
635
|
+
}, c = (h) => {
|
|
636
|
+
!r || h.key !== "Escape" || h.defaultPrevented || f(h.target) || (h.preventDefault(), d("dismiss"));
|
|
637
|
+
}, g = () => {
|
|
638
|
+
i && d("dismiss");
|
|
775
639
|
};
|
|
776
|
-
return document.addEventListener(
|
|
777
|
-
document.removeEventListener(
|
|
640
|
+
return document.addEventListener(u, s, !0), document.addEventListener("keydown", c), window.addEventListener("scroll", g, !0), () => {
|
|
641
|
+
document.removeEventListener(u, s, !0), document.removeEventListener("keydown", c), window.removeEventListener("scroll", g, !0);
|
|
778
642
|
};
|
|
779
643
|
}, [
|
|
780
|
-
|
|
644
|
+
i,
|
|
781
645
|
d,
|
|
782
646
|
e,
|
|
783
|
-
r,
|
|
784
647
|
t,
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
const
|
|
793
|
-
...
|
|
794
|
-
"data-floating-reference-id":
|
|
648
|
+
r,
|
|
649
|
+
f,
|
|
650
|
+
o,
|
|
651
|
+
u
|
|
652
|
+
]), $(() => ({
|
|
653
|
+
getReferenceProps(s = {}) {
|
|
654
|
+
if (!t && !a) return s;
|
|
655
|
+
const c = p === "click" ? "onClick" : p === "mousedown" ? "onMouseDown" : "onPointerDown", g = {
|
|
656
|
+
...s,
|
|
657
|
+
"data-floating-reference-id": a ?? s["data-floating-reference-id"]
|
|
795
658
|
};
|
|
796
|
-
return
|
|
797
|
-
...
|
|
798
|
-
[
|
|
659
|
+
return l ? {
|
|
660
|
+
...g,
|
|
661
|
+
[c]: S(s[c], () => {
|
|
799
662
|
e.open && d("dismiss");
|
|
800
663
|
})
|
|
801
|
-
} :
|
|
664
|
+
} : g;
|
|
802
665
|
},
|
|
803
|
-
getFloatingProps(
|
|
804
|
-
if (!
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
"data-floating-node-id": u ?? l["data-floating-node-id"]
|
|
666
|
+
getFloatingProps(s = {}) {
|
|
667
|
+
if (!t && !a) return s;
|
|
668
|
+
const c = {
|
|
669
|
+
...s,
|
|
670
|
+
"data-floating-node-id": a ?? s["data-floating-node-id"]
|
|
809
671
|
};
|
|
810
|
-
return
|
|
811
|
-
...
|
|
812
|
-
onKeyDown:
|
|
813
|
-
|
|
672
|
+
return t ? {
|
|
673
|
+
...c,
|
|
674
|
+
onKeyDown: S(s.onKeyDown, (g) => {
|
|
675
|
+
r && g.key === "Escape" && (g.preventDefault(), d("dismiss"));
|
|
814
676
|
})
|
|
815
|
-
} :
|
|
677
|
+
} : c;
|
|
816
678
|
}
|
|
817
|
-
}), [d, e,
|
|
679
|
+
}), [d, e, t, r, a, l, p]);
|
|
818
680
|
}
|
|
819
|
-
function
|
|
681
|
+
function ct(e, n) {
|
|
820
682
|
const {
|
|
821
|
-
enabled:
|
|
822
|
-
listRef:
|
|
823
|
-
activeIndex:
|
|
824
|
-
onNavigate:
|
|
825
|
-
loop:
|
|
826
|
-
orientation:
|
|
827
|
-
cols:
|
|
828
|
-
rtl:
|
|
829
|
-
focusItemOnOpen:
|
|
830
|
-
openOnArrowKeyDown:
|
|
683
|
+
enabled: t = !0,
|
|
684
|
+
listRef: r,
|
|
685
|
+
activeIndex: o,
|
|
686
|
+
onNavigate: u,
|
|
687
|
+
loop: i = !0,
|
|
688
|
+
orientation: l = "vertical",
|
|
689
|
+
cols: p = 1,
|
|
690
|
+
rtl: a = !1,
|
|
691
|
+
focusItemOnOpen: m = !1,
|
|
692
|
+
openOnArrowKeyDown: f = !1,
|
|
831
693
|
nested: d = !1,
|
|
832
|
-
nodeId:
|
|
833
|
-
getItemHasSubmenu:
|
|
834
|
-
getItemExpanded:
|
|
835
|
-
onOpenSubmenu:
|
|
836
|
-
onCloseSubmenu:
|
|
837
|
-
openSubmenuKey: E =
|
|
838
|
-
closeSubmenuKey:
|
|
694
|
+
nodeId: s = null,
|
|
695
|
+
getItemHasSubmenu: c,
|
|
696
|
+
getItemExpanded: g,
|
|
697
|
+
onOpenSubmenu: h,
|
|
698
|
+
onCloseSubmenu: O,
|
|
699
|
+
openSubmenuKey: E = a ? "ArrowLeft" : "ArrowRight",
|
|
700
|
+
closeSubmenuKey: T = a ? "ArrowRight" : "ArrowLeft",
|
|
839
701
|
restoreFocusOnClose: I = d
|
|
840
|
-
} =
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
const
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
if (!(
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
return;
|
|
866
|
-
const g = n ?? 0;
|
|
867
|
-
let b = 0, A = !1, C = 0;
|
|
868
|
-
const O = () => {
|
|
869
|
-
var Y;
|
|
870
|
-
if (A)
|
|
871
|
-
return;
|
|
872
|
-
const v = L();
|
|
873
|
-
if (!(v != null && v.length)) {
|
|
874
|
-
C < 4 && (C += 1, b = requestAnimationFrame(O));
|
|
702
|
+
} = n, R = b(() => r?.current?.filter(Boolean), [r]), L = b((y) => {
|
|
703
|
+
if (!(y instanceof Element)) return null;
|
|
704
|
+
const D = y.closest("[data-index]");
|
|
705
|
+
if (!D) return null;
|
|
706
|
+
const v = Number(D.dataset.index);
|
|
707
|
+
return Number.isFinite(v) ? v : null;
|
|
708
|
+
}, []), k = b(() => {
|
|
709
|
+
const y = I && Ce(I) ? I.current : e.elements.reference;
|
|
710
|
+
!I || !y || requestAnimationFrame(() => y.focus());
|
|
711
|
+
}, [e.elements, I]), z = b((y, D) => {
|
|
712
|
+
const v = R();
|
|
713
|
+
if (!v?.length) return;
|
|
714
|
+
const M = v.indexOf(document.activeElement);
|
|
715
|
+
let C = (D ?? o ?? (M >= 0 ? M : -1)) + y;
|
|
716
|
+
i ? C = (C + v.length) % v.length : C = Math.max(0, Math.min(v.length - 1, C)), u(C), v[C]?.focus();
|
|
717
|
+
}, [o, R, i, u]);
|
|
718
|
+
N(() => {
|
|
719
|
+
if (!t || !e.open || !(m === !0 || m === "auto")) return;
|
|
720
|
+
const y = o ?? 0;
|
|
721
|
+
let D = 0, v = !1, M = 0;
|
|
722
|
+
const B = () => {
|
|
723
|
+
if (v) return;
|
|
724
|
+
const C = R();
|
|
725
|
+
if (!C?.length) {
|
|
726
|
+
M < 4 && (M += 1, D = requestAnimationFrame(B));
|
|
875
727
|
return;
|
|
876
728
|
}
|
|
877
|
-
const
|
|
878
|
-
if (
|
|
879
|
-
|
|
729
|
+
const q = C.indexOf(document.activeElement);
|
|
730
|
+
if (q >= 0) {
|
|
731
|
+
u(q);
|
|
880
732
|
return;
|
|
881
733
|
}
|
|
882
|
-
|
|
734
|
+
u(y), C[y]?.focus();
|
|
883
735
|
};
|
|
884
|
-
return
|
|
885
|
-
|
|
736
|
+
return D = requestAnimationFrame(B), () => {
|
|
737
|
+
v = !0, cancelAnimationFrame(D);
|
|
886
738
|
};
|
|
887
|
-
}, [
|
|
888
|
-
const
|
|
889
|
-
const
|
|
890
|
-
return
|
|
891
|
-
}, [
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
g.preventDefault(), f(b), P == null || P(b);
|
|
739
|
+
}, [o, e.open, t, m, R, u]);
|
|
740
|
+
const V = b((y) => {
|
|
741
|
+
const D = l === "vertical" || l === "both", v = l === "horizontal" || l === "both";
|
|
742
|
+
return D && y === "ArrowDown" ? p : D && y === "ArrowUp" ? -p : v && y === (a ? "ArrowLeft" : "ArrowRight") ? 1 : v && y === (a ? "ArrowRight" : "ArrowLeft") ? -1 : 0;
|
|
743
|
+
}, [p, l, a]), Q = b((y) => {
|
|
744
|
+
const D = L(y.target) ?? o;
|
|
745
|
+
if (d && y.key === E && D != null && c?.(D)) {
|
|
746
|
+
y.preventDefault(), u(D), h?.(D);
|
|
896
747
|
return;
|
|
897
748
|
}
|
|
898
|
-
if (d &&
|
|
899
|
-
|
|
749
|
+
if (d && O && y.key === T) {
|
|
750
|
+
y.preventDefault(), O?.(), k();
|
|
900
751
|
return;
|
|
901
752
|
}
|
|
902
|
-
const
|
|
903
|
-
if (
|
|
904
|
-
|
|
905
|
-
else if (
|
|
906
|
-
const
|
|
907
|
-
if (!
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
return;
|
|
914
|
-
g.preventDefault(), f(v.length - 1), (O = v[v.length - 1]) == null || O.focus();
|
|
753
|
+
const v = V(y.key);
|
|
754
|
+
if (v)
|
|
755
|
+
y.preventDefault(), z(v, D);
|
|
756
|
+
else if (y.key === "Home") {
|
|
757
|
+
const M = R();
|
|
758
|
+
if (!M?.length) return;
|
|
759
|
+
y.preventDefault(), u(0), M[0]?.focus();
|
|
760
|
+
} else if (y.key === "End") {
|
|
761
|
+
const M = R();
|
|
762
|
+
if (!M?.length) return;
|
|
763
|
+
y.preventDefault(), u(M.length - 1), M[M.length - 1]?.focus();
|
|
915
764
|
}
|
|
916
765
|
}, [
|
|
917
|
-
|
|
918
|
-
M,
|
|
766
|
+
o,
|
|
919
767
|
T,
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
768
|
+
k,
|
|
769
|
+
V,
|
|
770
|
+
c,
|
|
923
771
|
L,
|
|
924
|
-
|
|
772
|
+
R,
|
|
773
|
+
z,
|
|
925
774
|
d,
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
775
|
+
O,
|
|
776
|
+
u,
|
|
777
|
+
h,
|
|
929
778
|
E
|
|
930
779
|
]);
|
|
931
|
-
return
|
|
932
|
-
getReferenceProps(
|
|
933
|
-
return !
|
|
934
|
-
...
|
|
935
|
-
onKeyDown:
|
|
936
|
-
if (e.open || !
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
} else
|
|
943
|
-
b.key !== "ArrowUp" && b.key !== (u ? "ArrowRight" : "ArrowLeft") && f(0);
|
|
780
|
+
return $(() => ({
|
|
781
|
+
getReferenceProps(y = {}) {
|
|
782
|
+
return !t || !f ? y : {
|
|
783
|
+
...y,
|
|
784
|
+
onKeyDown: S(y.onKeyDown, (D) => {
|
|
785
|
+
if (e.open || !V(D.key)) return;
|
|
786
|
+
const M = R();
|
|
787
|
+
if (D.preventDefault(), M?.length) {
|
|
788
|
+
const B = D.key === "ArrowUp" || D.key === (a ? "ArrowRight" : "ArrowLeft") ? M.length - 1 : 0;
|
|
789
|
+
u(B);
|
|
790
|
+
} else D.key !== "ArrowUp" && D.key !== (a ? "ArrowRight" : "ArrowLeft") && u(0);
|
|
944
791
|
e.setOpen(!0, "list-navigation");
|
|
945
792
|
})
|
|
946
793
|
};
|
|
947
794
|
},
|
|
948
|
-
getFloatingProps(
|
|
949
|
-
return
|
|
950
|
-
...
|
|
951
|
-
"data-floating-node-id":
|
|
952
|
-
"aria-activedescendant":
|
|
953
|
-
onKeyDown:
|
|
954
|
-
} :
|
|
795
|
+
getFloatingProps(y = {}) {
|
|
796
|
+
return t ? {
|
|
797
|
+
...y,
|
|
798
|
+
"data-floating-node-id": s ?? y["data-floating-node-id"],
|
|
799
|
+
"aria-activedescendant": o != null ? `floating-item-${o}` : void 0,
|
|
800
|
+
onKeyDown: S(y.onKeyDown, Q)
|
|
801
|
+
} : y;
|
|
955
802
|
},
|
|
956
|
-
getItemProps(
|
|
957
|
-
const
|
|
803
|
+
getItemProps(y = {}) {
|
|
804
|
+
const D = y["data-index"], v = typeof D == "number" ? D : Number(D), M = Number.isFinite(v) ? c?.(v) : !1;
|
|
958
805
|
return {
|
|
959
|
-
...
|
|
960
|
-
id: typeof
|
|
961
|
-
tabIndex:
|
|
962
|
-
"data-active":
|
|
963
|
-
"aria-haspopup":
|
|
964
|
-
"aria-expanded":
|
|
965
|
-
onKeyDown:
|
|
806
|
+
...y,
|
|
807
|
+
id: typeof D == "number" ? `floating-item-${D}` : y.id,
|
|
808
|
+
tabIndex: D === o ? 0 : -1,
|
|
809
|
+
"data-active": D === o ? "" : void 0,
|
|
810
|
+
"aria-haspopup": M ? "menu" : y["aria-haspopup"],
|
|
811
|
+
"aria-expanded": M ? String(g?.(v) ?? !1) : y["aria-expanded"],
|
|
812
|
+
onKeyDown: S(y.onKeyDown, Q)
|
|
966
813
|
};
|
|
967
814
|
}
|
|
968
815
|
}), [
|
|
969
|
-
|
|
816
|
+
o,
|
|
970
817
|
e,
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
818
|
+
t,
|
|
819
|
+
g,
|
|
820
|
+
c,
|
|
821
|
+
Q,
|
|
822
|
+
V,
|
|
823
|
+
R,
|
|
824
|
+
s,
|
|
825
|
+
u,
|
|
978
826
|
f,
|
|
979
|
-
|
|
980
|
-
u
|
|
827
|
+
a
|
|
981
828
|
]);
|
|
982
829
|
}
|
|
983
|
-
function
|
|
830
|
+
function mt(e, n) {
|
|
984
831
|
const {
|
|
985
|
-
enabled:
|
|
986
|
-
labelsRef:
|
|
987
|
-
listRef:
|
|
988
|
-
activeIndex:
|
|
989
|
-
onMatch:
|
|
990
|
-
resetMs:
|
|
991
|
-
selectedIndex:
|
|
992
|
-
onTypingChange:
|
|
993
|
-
findMatch:
|
|
994
|
-
} =
|
|
995
|
-
return
|
|
832
|
+
enabled: t = !0,
|
|
833
|
+
labelsRef: r,
|
|
834
|
+
listRef: o,
|
|
835
|
+
activeIndex: u,
|
|
836
|
+
onMatch: i,
|
|
837
|
+
resetMs: l = 750,
|
|
838
|
+
selectedIndex: p = null,
|
|
839
|
+
onTypingChange: a,
|
|
840
|
+
findMatch: m
|
|
841
|
+
} = n, f = A(""), d = A(null);
|
|
842
|
+
return N(() => () => {
|
|
996
843
|
d.current && window.clearTimeout(d.current);
|
|
997
|
-
}, []),
|
|
998
|
-
getFloatingProps(
|
|
999
|
-
return
|
|
1000
|
-
...
|
|
1001
|
-
onKeyDown:
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
var T;
|
|
1012
|
-
return (T = y[B]) == null ? void 0 : T.startsWith(m.current);
|
|
1013
|
-
}) ?? null;
|
|
1014
|
-
})(), F = P == null || P < 0 ? null : P;
|
|
1015
|
-
F != null && (p.preventDefault(), s(F), (M = (E = n == null ? void 0 : n.current) == null ? void 0 : E[F]) == null || M.focus(), e.setOpen(!0, "typeahead"));
|
|
844
|
+
}, []), $(() => ({
|
|
845
|
+
getFloatingProps(s = {}) {
|
|
846
|
+
return t ? {
|
|
847
|
+
...s,
|
|
848
|
+
onKeyDown: S(s.onKeyDown, (c) => {
|
|
849
|
+
if (c.key.length !== 1 || c.altKey || c.ctrlKey || c.metaKey) return;
|
|
850
|
+
f.current += c.key.toLocaleLowerCase(), a?.(!0), d.current && window.clearTimeout(d.current), d.current = window.setTimeout(() => {
|
|
851
|
+
f.current = "", a?.(!1);
|
|
852
|
+
}, l);
|
|
853
|
+
const g = r.current.map((E) => E.toLocaleLowerCase()), h = m ? m(g, f.current, u) : (() => {
|
|
854
|
+
const E = (u ?? p) == null ? 0 : (u ?? p) + 1;
|
|
855
|
+
return g.map((I, R) => (E + R) % g.length).find((I) => g[I]?.startsWith(f.current)) ?? null;
|
|
856
|
+
})(), O = h == null || h < 0 ? null : h;
|
|
857
|
+
O != null && (c.preventDefault(), i(O), o?.current?.[O]?.focus(), e.setOpen(!0, "typeahead"));
|
|
1016
858
|
})
|
|
1017
|
-
} :
|
|
859
|
+
} : s;
|
|
1018
860
|
}
|
|
1019
|
-
}), [
|
|
861
|
+
}), [u, e, t, m, r, o, i, a, l, p]);
|
|
1020
862
|
}
|
|
1021
|
-
function
|
|
1022
|
-
const { duration:
|
|
1023
|
-
return
|
|
863
|
+
function dt(e, n = {}) {
|
|
864
|
+
const { duration: t = 160, initial: r, open: o, close: u } = n, [i, l] = H(e.open), [p, a] = H(e.open ? "open" : "unmounted"), m = J(t, "open"), f = J(t, "close");
|
|
865
|
+
return N(() => {
|
|
1024
866
|
if (e.open) {
|
|
1025
|
-
|
|
1026
|
-
const
|
|
1027
|
-
return () => cancelAnimationFrame(
|
|
867
|
+
l(!0), a("initial");
|
|
868
|
+
const s = requestAnimationFrame(() => a("open"));
|
|
869
|
+
return () => cancelAnimationFrame(s);
|
|
1028
870
|
}
|
|
1029
|
-
if (!
|
|
1030
|
-
|
|
1031
|
-
u("close");
|
|
871
|
+
if (!i) return;
|
|
872
|
+
a("close");
|
|
1032
873
|
const d = window.setTimeout(() => {
|
|
1033
|
-
|
|
1034
|
-
},
|
|
874
|
+
l(!1), a("unmounted");
|
|
875
|
+
}, f);
|
|
1035
876
|
return () => window.clearTimeout(d);
|
|
1036
|
-
}, [
|
|
1037
|
-
isMounted:
|
|
1038
|
-
status:
|
|
877
|
+
}, [f, e.open, i]), {
|
|
878
|
+
isMounted: i,
|
|
879
|
+
status: p,
|
|
1039
880
|
styles: {
|
|
1040
|
-
transition: `opacity ${
|
|
1041
|
-
...
|
|
1042
|
-
...
|
|
1043
|
-
...
|
|
881
|
+
transition: `opacity ${p === "close" ? f : m}ms ease, transform ${p === "close" ? f : m}ms ease`,
|
|
882
|
+
...p === "initial" ? { opacity: 0, transform: "scale(0.98)", ...r } : null,
|
|
883
|
+
...p === "open" ? { opacity: 1, transform: "scale(1)", ...o } : null,
|
|
884
|
+
...p === "close" ? { opacity: 0, transform: "scale(0.98)", ...u } : null
|
|
1044
885
|
}
|
|
1045
886
|
};
|
|
1046
887
|
}
|
|
1047
|
-
function
|
|
1048
|
-
const { enabled:
|
|
1049
|
-
return
|
|
1050
|
-
getReferenceProps(
|
|
1051
|
-
return
|
|
1052
|
-
...
|
|
1053
|
-
onPointerMove:
|
|
1054
|
-
|
|
1055
|
-
x:
|
|
1056
|
-
y:
|
|
888
|
+
function pt(e, n = {}) {
|
|
889
|
+
const { enabled: t = !0, axis: r = "both" } = n, o = A({ x: 0, y: 0 });
|
|
890
|
+
return $(() => ({
|
|
891
|
+
getReferenceProps(u = {}) {
|
|
892
|
+
return t ? {
|
|
893
|
+
...u,
|
|
894
|
+
onPointerMove: S(u.onPointerMove, (i) => {
|
|
895
|
+
o.current = {
|
|
896
|
+
x: r === "y" ? o.current.x : i.clientX,
|
|
897
|
+
y: r === "x" ? o.current.y : i.clientY
|
|
1057
898
|
}, e.refs.setPositionReference({
|
|
1058
899
|
contextElement: e.elements.reference || void 0,
|
|
1059
|
-
getBoundingClientRect: () => new DOMRect(
|
|
900
|
+
getBoundingClientRect: () => new DOMRect(o.current.x, o.current.y, 0, 0)
|
|
1060
901
|
}), e.update();
|
|
1061
902
|
})
|
|
1062
|
-
} :
|
|
903
|
+
} : u;
|
|
1063
904
|
}
|
|
1064
|
-
}), [
|
|
905
|
+
}), [r, e, t]);
|
|
1065
906
|
}
|
|
1066
|
-
const
|
|
1067
|
-
function
|
|
1068
|
-
const
|
|
1069
|
-
elementsRef:
|
|
1070
|
-
labelsRef:
|
|
1071
|
-
}), [
|
|
1072
|
-
return /* @__PURE__ */
|
|
907
|
+
const Se = ue(null);
|
|
908
|
+
function gt({ children: e, elementsRef: n, labelsRef: t }) {
|
|
909
|
+
const r = A([]), o = A([]), u = $(() => ({
|
|
910
|
+
elementsRef: n || r,
|
|
911
|
+
labelsRef: t || o
|
|
912
|
+
}), [n, t]);
|
|
913
|
+
return /* @__PURE__ */ F.createElement(Se.Provider, { value: u }, e);
|
|
1073
914
|
}
|
|
1074
|
-
function
|
|
1075
|
-
return
|
|
915
|
+
function yt() {
|
|
916
|
+
return ee(Se);
|
|
1076
917
|
}
|
|
1077
|
-
const
|
|
1078
|
-
context:
|
|
1079
|
-
width:
|
|
1080
|
-
height:
|
|
1081
|
-
fill:
|
|
1082
|
-
stroke:
|
|
1083
|
-
strokeWidth:
|
|
1084
|
-
style:
|
|
1085
|
-
...
|
|
1086
|
-
},
|
|
1087
|
-
const
|
|
1088
|
-
top: `M0 ${
|
|
1089
|
-
bottom: `M0 ${
|
|
1090
|
-
left: `M${
|
|
1091
|
-
right: `M${
|
|
1092
|
-
},
|
|
918
|
+
const wt = F.forwardRef(function({
|
|
919
|
+
context: n,
|
|
920
|
+
width: t = 14,
|
|
921
|
+
height: r = 8,
|
|
922
|
+
fill: o = "currentColor",
|
|
923
|
+
stroke: u,
|
|
924
|
+
strokeWidth: i = 1,
|
|
925
|
+
style: l,
|
|
926
|
+
...p
|
|
927
|
+
}, a) {
|
|
928
|
+
const m = n.coords.arrow, f = n.coords.placement.split("-")[0], d = {
|
|
929
|
+
top: `M0 ${i / 2} L${t / 2} ${r - i / 2} L${t} ${i / 2}`,
|
|
930
|
+
bottom: `M0 ${r - i / 2} L${t / 2} ${i / 2} L${t} ${r - i / 2}`,
|
|
931
|
+
left: `M${i / 2} ${i / 2} L${t - i / 2} ${r / 2} L${i / 2} ${r - i / 2}`,
|
|
932
|
+
right: `M${t - i / 2} ${i / 2} L${i / 2} ${r / 2} L${t - i / 2} ${r - i / 2}`
|
|
933
|
+
}, s = {
|
|
1093
934
|
position: "absolute",
|
|
1094
|
-
width:
|
|
1095
|
-
height:
|
|
935
|
+
width: t,
|
|
936
|
+
height: r,
|
|
1096
937
|
pointerEvents: "none",
|
|
1097
938
|
overflow: "visible",
|
|
1098
|
-
left: typeof
|
|
1099
|
-
top: typeof
|
|
1100
|
-
transform:
|
|
939
|
+
left: typeof m?.x == "number" ? Math.round(m.x) : void 0,
|
|
940
|
+
top: typeof m?.y == "number" ? Math.round(m.y) : void 0,
|
|
941
|
+
transform: m?.centerOffset ? `translate(${Math.round(m.centerOffset * (f === "top" || f === "bottom" ? 0.15 : 0))}px, ${Math.round(m.centerOffset * (f === "left" || f === "right" ? 0.15 : 0))}px)` : void 0
|
|
1101
942
|
};
|
|
1102
|
-
return
|
|
943
|
+
return f === "top" && (s.top = void 0, s.bottom = -r + i), f === "bottom" && (s.top = -r + i), f === "left" && (s.left = void 0, s.right = -t + i), f === "right" && (s.left = -t + i, s.top = typeof m?.y == "number" ? Math.round(m.y) : void 0), /* @__PURE__ */ F.createElement(
|
|
1103
944
|
"div",
|
|
1104
945
|
{
|
|
1105
|
-
...
|
|
1106
|
-
ref:
|
|
946
|
+
...p,
|
|
947
|
+
ref: ye(n.refs.setArrow, a),
|
|
1107
948
|
"aria-hidden": "true",
|
|
1108
|
-
"data-side":
|
|
1109
|
-
"data-center-offset": typeof
|
|
1110
|
-
style: { ...
|
|
949
|
+
"data-side": f,
|
|
950
|
+
"data-center-offset": typeof m?.centerOffset == "number" ? String(Math.round(m.centerOffset)) : void 0,
|
|
951
|
+
style: { ...s, ...l }
|
|
1111
952
|
},
|
|
1112
|
-
/* @__PURE__ */
|
|
953
|
+
/* @__PURE__ */ F.createElement(
|
|
1113
954
|
"svg",
|
|
1114
955
|
{
|
|
1115
|
-
width:
|
|
1116
|
-
height:
|
|
1117
|
-
viewBox: `0 0 ${
|
|
956
|
+
width: t,
|
|
957
|
+
height: r,
|
|
958
|
+
viewBox: `0 0 ${t} ${r}`,
|
|
1118
959
|
style: { display: "block", overflow: "visible" }
|
|
1119
960
|
},
|
|
1120
|
-
/* @__PURE__ */
|
|
961
|
+
/* @__PURE__ */ F.createElement(
|
|
1121
962
|
"path",
|
|
1122
963
|
{
|
|
1123
|
-
d: d[
|
|
1124
|
-
fill:
|
|
1125
|
-
stroke:
|
|
1126
|
-
strokeWidth:
|
|
964
|
+
d: d[f] || d.bottom,
|
|
965
|
+
fill: o,
|
|
966
|
+
stroke: u,
|
|
967
|
+
strokeWidth: u ? i : 0,
|
|
1127
968
|
strokeLinejoin: "round"
|
|
1128
969
|
}
|
|
1129
970
|
)
|
|
1130
971
|
)
|
|
1131
972
|
);
|
|
1132
973
|
});
|
|
1133
|
-
function
|
|
1134
|
-
const [
|
|
1135
|
-
return
|
|
974
|
+
function xt({ children: e, root: n }) {
|
|
975
|
+
const [t, r] = H(!1);
|
|
976
|
+
return N(() => r(!0), []), t ? Ue(e, n || document.body) : null;
|
|
1136
977
|
}
|
|
1137
|
-
function
|
|
1138
|
-
return
|
|
1139
|
-
if (!e)
|
|
1140
|
-
|
|
1141
|
-
const t = document.body.style.overflow;
|
|
978
|
+
function bt({ lockScroll: e = !1, style: n, ...t }) {
|
|
979
|
+
return N(() => {
|
|
980
|
+
if (!e) return;
|
|
981
|
+
const r = document.body.style.overflow;
|
|
1142
982
|
return document.body.style.overflow = "hidden", () => {
|
|
1143
|
-
document.body.style.overflow =
|
|
983
|
+
document.body.style.overflow = r;
|
|
1144
984
|
};
|
|
1145
|
-
}, [e]), /* @__PURE__ */
|
|
985
|
+
}, [e]), /* @__PURE__ */ F.createElement("div", { ...t, style: { position: "fixed", inset: 0, ...n } });
|
|
1146
986
|
}
|
|
1147
|
-
function
|
|
987
|
+
function Dt({
|
|
1148
988
|
context: e,
|
|
1149
|
-
children:
|
|
1150
|
-
modal:
|
|
1151
|
-
initialFocus:
|
|
1152
|
-
returnFocus:
|
|
1153
|
-
guards:
|
|
1154
|
-
disabled:
|
|
1155
|
-
closeOnFocusOut:
|
|
1156
|
-
outsideElementsInert:
|
|
1157
|
-
visuallyHiddenDismiss:
|
|
989
|
+
children: n,
|
|
990
|
+
modal: t = !1,
|
|
991
|
+
initialFocus: r = !0,
|
|
992
|
+
returnFocus: o = !0,
|
|
993
|
+
guards: u = !0,
|
|
994
|
+
disabled: i = !1,
|
|
995
|
+
closeOnFocusOut: l = !t,
|
|
996
|
+
outsideElementsInert: p = !1,
|
|
997
|
+
visuallyHiddenDismiss: a = !1
|
|
1158
998
|
}) {
|
|
1159
|
-
const
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
}, [e.elements.floating, t]), F = D((E = !1) => {
|
|
1163
|
-
const M = le(e.elements.floating), I = E ? M[M.length - 1] : M[0];
|
|
1164
|
-
I == null || I.focus();
|
|
999
|
+
const m = we(), f = A(null), d = A(null), s = A(null), c = A(null), g = A(!1), h = b(() => typeof r == "number" ? se(e.elements.floating)[r] || null : typeof r == "object" && r && "current" in r ? r.current : e.elements.floating?.querySelector("[autofocus]") || se(e.elements.floating)[0] || null, [e.elements.floating, r]), O = b((E = !1) => {
|
|
1000
|
+
const T = se(e.elements.floating);
|
|
1001
|
+
(E ? T[T.length - 1] : T[0])?.focus();
|
|
1165
1002
|
}, [e.elements.floating]);
|
|
1166
|
-
return
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
var M;
|
|
1171
|
-
y.current = !1, n && (Ce(n) ? (M = n.current) == null || M.focus() : p.current instanceof HTMLElement && p.current.focus());
|
|
1003
|
+
return Te(() => {
|
|
1004
|
+
if (!(!e.open || i))
|
|
1005
|
+
return g.current = !1, c.current = document.activeElement, r && (g.current = !0, h()?.focus()), () => {
|
|
1006
|
+
g.current = !1, o && (Ce(o) ? o.current?.focus() : c.current instanceof HTMLElement && c.current.focus());
|
|
1172
1007
|
};
|
|
1173
|
-
}, [e.open,
|
|
1174
|
-
if (
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
const I =
|
|
1179
|
-
if (!
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
if (r) {
|
|
1184
|
-
if (!y.current && t) {
|
|
1185
|
-
y.current = !0, (b = P()) == null || b.focus();
|
|
1008
|
+
}, [e.open, i, r, h, o]), N(() => {
|
|
1009
|
+
if (i || !e.open) return;
|
|
1010
|
+
const E = (T) => {
|
|
1011
|
+
const I = T.target;
|
|
1012
|
+
if (!I) return;
|
|
1013
|
+
const R = j(f.current, I) || j(e.elements.floating, I), L = j(e.elements.reference, I), k = e.elements.floating?.dataset.floatingNodeId || e.elements.reference?.dataset.floatingReferenceId || null, z = Fe(I), V = !!k && !!z && Le(m, z, k);
|
|
1014
|
+
if (!(R || L || V)) {
|
|
1015
|
+
if (t) {
|
|
1016
|
+
if (!g.current && r) {
|
|
1017
|
+
g.current = !0, h()?.focus();
|
|
1186
1018
|
return;
|
|
1187
1019
|
}
|
|
1188
|
-
|
|
1020
|
+
O();
|
|
1189
1021
|
return;
|
|
1190
1022
|
}
|
|
1191
|
-
|
|
1023
|
+
l && e.setOpen(!1, "dismiss");
|
|
1192
1024
|
}
|
|
1193
1025
|
};
|
|
1194
1026
|
return document.addEventListener("focusin", E), () => {
|
|
1195
1027
|
document.removeEventListener("focusin", E);
|
|
1196
1028
|
};
|
|
1197
|
-
}, [
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
return;
|
|
1201
|
-
const E = ((B = m.current) == null ? void 0 : B.parentElement) || document.body, M = Array.from(E.children), I = new Set(
|
|
1029
|
+
}, [l, e, e.open, i, O, r, t, h, m]), N(() => {
|
|
1030
|
+
if (!p || !t || !e.open || i) return;
|
|
1031
|
+
const E = f.current?.parentElement || document.body, T = Array.from(E.children), I = new Set(
|
|
1202
1032
|
[
|
|
1203
|
-
|
|
1033
|
+
f.current,
|
|
1204
1034
|
e.elements.floating,
|
|
1205
1035
|
d.current,
|
|
1206
|
-
|
|
1036
|
+
s.current
|
|
1207
1037
|
].filter(Boolean)
|
|
1208
|
-
),
|
|
1209
|
-
return
|
|
1210
|
-
Array.from(I).some((
|
|
1038
|
+
), R = /* @__PURE__ */ new Map();
|
|
1039
|
+
return T.forEach((L) => {
|
|
1040
|
+
Array.from(I).some((k) => k === L || k.contains(L) || L.contains(k)) || (R.set(L, L.getAttribute("aria-hidden")), L.setAttribute("aria-hidden", "true"));
|
|
1211
1041
|
}), () => {
|
|
1212
|
-
|
|
1213
|
-
|
|
1042
|
+
R.forEach((L, k) => {
|
|
1043
|
+
L == null ? k.removeAttribute("aria-hidden") : k.setAttribute("aria-hidden", L);
|
|
1214
1044
|
});
|
|
1215
1045
|
};
|
|
1216
|
-
}, [e.elements.floating, e.open,
|
|
1046
|
+
}, [e.elements.floating, e.open, i, t, p]), i ? /* @__PURE__ */ F.createElement(F.Fragment, null, n) : /* @__PURE__ */ F.createElement(F.Fragment, null, t && u ? /* @__PURE__ */ F.createElement("span", { ref: d, tabIndex: 0, "data-floating-focus-guard": "", "aria-hidden": "true", onFocus: () => O(!0) }) : null, /* @__PURE__ */ F.createElement(
|
|
1217
1047
|
"div",
|
|
1218
1048
|
{
|
|
1219
|
-
ref:
|
|
1220
|
-
role:
|
|
1221
|
-
"aria-modal":
|
|
1049
|
+
ref: f,
|
|
1050
|
+
role: t ? "dialog" : void 0,
|
|
1051
|
+
"aria-modal": t ? "true" : void 0,
|
|
1222
1052
|
onKeyDown: (E) => {
|
|
1223
|
-
if (!
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
const I = M[0], L = M[M.length - 1];
|
|
1229
|
-
E.shiftKey && document.activeElement === I ? (E.preventDefault(), L.focus()) : !E.shiftKey && document.activeElement === L && (E.preventDefault(), I.focus());
|
|
1053
|
+
if (!t || E.key !== "Tab") return;
|
|
1054
|
+
const T = se(e.elements.floating);
|
|
1055
|
+
if (!T.length) return;
|
|
1056
|
+
const I = T[0], R = T[T.length - 1];
|
|
1057
|
+
E.shiftKey && document.activeElement === I ? (E.preventDefault(), R.focus()) : !E.shiftKey && document.activeElement === R && (E.preventDefault(), I.focus());
|
|
1230
1058
|
}
|
|
1231
1059
|
},
|
|
1232
|
-
|
|
1060
|
+
a ? /* @__PURE__ */ F.createElement(
|
|
1233
1061
|
"button",
|
|
1234
1062
|
{
|
|
1235
1063
|
type: "button",
|
|
@@ -1246,341 +1074,336 @@ function Ro({
|
|
|
1246
1074
|
},
|
|
1247
1075
|
onClick: () => e.setOpen(!1, "dismiss")
|
|
1248
1076
|
},
|
|
1249
|
-
typeof
|
|
1077
|
+
typeof a == "string" ? a : "Dismiss"
|
|
1250
1078
|
) : null,
|
|
1251
|
-
|
|
1252
|
-
),
|
|
1079
|
+
n
|
|
1080
|
+
), t && u ? /* @__PURE__ */ F.createElement("span", { ref: s, tabIndex: 0, "data-floating-focus-guard": "", "aria-hidden": "true", onFocus: () => O(!1) }) : null);
|
|
1253
1081
|
}
|
|
1254
|
-
const Oe =
|
|
1255
|
-
function
|
|
1256
|
-
const
|
|
1257
|
-
|
|
1258
|
-
}), []),
|
|
1259
|
-
|
|
1260
|
-
}, [
|
|
1261
|
-
const
|
|
1262
|
-
return
|
|
1263
|
-
|
|
1082
|
+
const Oe = ue(null), Xe = ue(null);
|
|
1083
|
+
function Pt({ children: e }) {
|
|
1084
|
+
const n = A([]), [t, r] = H(0), o = $(() => new EventTarget(), []), u = b((d) => (n.current = [...n.current.filter((s) => s.id !== d.id), d], r((s) => s + 1), () => {
|
|
1085
|
+
n.current = n.current.filter((s) => s.id !== d.id), r((s) => s + 1);
|
|
1086
|
+
}), []), i = b((d, s = {}) => {
|
|
1087
|
+
o.dispatchEvent(new CustomEvent(d, { detail: s }));
|
|
1088
|
+
}, [o]), l = b((d, s) => {
|
|
1089
|
+
const c = s;
|
|
1090
|
+
return o.addEventListener(d, c), () => {
|
|
1091
|
+
o.removeEventListener(d, c);
|
|
1264
1092
|
};
|
|
1265
|
-
}, [
|
|
1266
|
-
const
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
(F = P.setOpen) == null || F.call(P, !1, l), p(P.id);
|
|
1093
|
+
}, [o]), p = b((d) => n.current.find((s) => s.id === d) || null, []), a = b((d) => n.current.filter((s) => (s.parentId ?? null) === (d ?? null)), []), m = b((d, s = "dismiss") => {
|
|
1094
|
+
const c = (g) => {
|
|
1095
|
+
n.current.filter((h) => h.parentId === g).forEach((h) => {
|
|
1096
|
+
h.setOpen?.(!1, s), c(h.id);
|
|
1270
1097
|
});
|
|
1271
1098
|
};
|
|
1272
|
-
|
|
1273
|
-
}, []),
|
|
1274
|
-
nodes:
|
|
1275
|
-
register:
|
|
1276
|
-
events:
|
|
1277
|
-
emit:
|
|
1278
|
-
on:
|
|
1279
|
-
getNode:
|
|
1280
|
-
getChildren:
|
|
1281
|
-
closeDescendants:
|
|
1282
|
-
}), [
|
|
1283
|
-
return /* @__PURE__ */
|
|
1099
|
+
c(d);
|
|
1100
|
+
}, []), f = $(() => ({
|
|
1101
|
+
nodes: n,
|
|
1102
|
+
register: u,
|
|
1103
|
+
events: o,
|
|
1104
|
+
emit: i,
|
|
1105
|
+
on: l,
|
|
1106
|
+
getNode: p,
|
|
1107
|
+
getChildren: a,
|
|
1108
|
+
closeDescendants: m
|
|
1109
|
+
}), [m, i, o, a, p, l, u, t]);
|
|
1110
|
+
return /* @__PURE__ */ F.createElement(Oe.Provider, { value: f }, e);
|
|
1284
1111
|
}
|
|
1285
1112
|
function we() {
|
|
1286
|
-
return
|
|
1113
|
+
return ee(Oe);
|
|
1287
1114
|
}
|
|
1288
|
-
function
|
|
1289
|
-
return
|
|
1115
|
+
function Ye() {
|
|
1116
|
+
return ee(Xe);
|
|
1290
1117
|
}
|
|
1291
|
-
function
|
|
1292
|
-
const
|
|
1293
|
-
let
|
|
1294
|
-
typeof e == "string" || e == null ?
|
|
1295
|
-
|
|
1296
|
-
}, [
|
|
1297
|
-
const
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
return K(() => i == null ? void 0 : i({ id: t.current, parentId: f, setOpen: c }), [c, f, i]), t.current;
|
|
1118
|
+
function ht(e) {
|
|
1119
|
+
const n = we(), t = Ye(), r = A(`floating-node-${Math.random().toString(36).slice(2, 9)}`), o = A(void 0);
|
|
1120
|
+
let u, i;
|
|
1121
|
+
typeof e == "string" || e == null ? u = e ?? t : (u = e.parentId ?? t, i = e.setOpen), N(() => {
|
|
1122
|
+
o.current = i;
|
|
1123
|
+
}, [i]);
|
|
1124
|
+
const l = b((a, m) => {
|
|
1125
|
+
o.current?.(a, m);
|
|
1126
|
+
}, []), p = n?.register;
|
|
1127
|
+
return N(() => p?.({ id: r.current, parentId: u, setOpen: l }), [l, u, p]), r.current;
|
|
1302
1128
|
}
|
|
1303
|
-
const
|
|
1304
|
-
function
|
|
1305
|
-
const
|
|
1306
|
-
|
|
1129
|
+
const xe = ue(null);
|
|
1130
|
+
function vt({ children: e, delay: n = 250, closeDelay: t }) {
|
|
1131
|
+
const r = A(null), [o, u] = H(null), [i, l] = H(!1), p = A(null), a = J(n, "open"), m = t ?? (J(n, "close") || 120), f = b(() => {
|
|
1132
|
+
r.current && (window.clearTimeout(r.current), r.current = null);
|
|
1307
1133
|
}, []);
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
}, [
|
|
1311
|
-
const d =
|
|
1312
|
-
|
|
1313
|
-
}, [
|
|
1314
|
-
|
|
1315
|
-
(
|
|
1316
|
-
},
|
|
1317
|
-
}, [
|
|
1318
|
-
|
|
1319
|
-
const
|
|
1320
|
-
delay:
|
|
1321
|
-
closeDelay:
|
|
1322
|
-
timeoutRef:
|
|
1323
|
-
currentId:
|
|
1324
|
-
currentIdRef:
|
|
1325
|
-
setCurrentId:
|
|
1326
|
-
instantPhase:
|
|
1327
|
-
setInstantPhase:
|
|
1134
|
+
N(() => {
|
|
1135
|
+
p.current = o;
|
|
1136
|
+
}, [o]);
|
|
1137
|
+
const d = b((g) => {
|
|
1138
|
+
f(), p.current = g, u(g), l(!0);
|
|
1139
|
+
}, [f]), s = b((g) => {
|
|
1140
|
+
f(), r.current = window.setTimeout(() => {
|
|
1141
|
+
(p.current === g || p.current == null) && (p.current = null, u(null), l(!1)), r.current = null;
|
|
1142
|
+
}, m);
|
|
1143
|
+
}, [f, m]);
|
|
1144
|
+
N(() => f, [f]);
|
|
1145
|
+
const c = $(() => ({
|
|
1146
|
+
delay: a,
|
|
1147
|
+
closeDelay: m,
|
|
1148
|
+
timeoutRef: r,
|
|
1149
|
+
currentId: o,
|
|
1150
|
+
currentIdRef: p,
|
|
1151
|
+
setCurrentId: u,
|
|
1152
|
+
instantPhase: i,
|
|
1153
|
+
setInstantPhase: l,
|
|
1328
1154
|
beginInstantPhase: d,
|
|
1329
|
-
scheduleInstantPhaseReset:
|
|
1330
|
-
cancelInstantPhaseReset:
|
|
1155
|
+
scheduleInstantPhaseReset: s,
|
|
1156
|
+
cancelInstantPhaseReset: f
|
|
1331
1157
|
}), [
|
|
1332
1158
|
d,
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
u,
|
|
1159
|
+
f,
|
|
1160
|
+
o,
|
|
1161
|
+
i,
|
|
1337
1162
|
a,
|
|
1338
|
-
|
|
1163
|
+
m,
|
|
1164
|
+
s
|
|
1339
1165
|
]);
|
|
1340
|
-
return /* @__PURE__ */
|
|
1166
|
+
return /* @__PURE__ */ F.createElement(xe.Provider, { value: c }, e);
|
|
1341
1167
|
}
|
|
1342
|
-
function
|
|
1343
|
-
const e =
|
|
1168
|
+
function At() {
|
|
1169
|
+
const e = ee(xe);
|
|
1344
1170
|
return e ? {
|
|
1345
1171
|
...e,
|
|
1346
1172
|
isInstantPhase: e.instantPhase
|
|
1347
1173
|
} : null;
|
|
1348
1174
|
}
|
|
1349
|
-
const
|
|
1350
|
-
const
|
|
1351
|
-
return /* @__PURE__ */
|
|
1175
|
+
const It = F.forwardRef(function({ children: n, orientation: t = "vertical", loop: r = !0, cols: o = 1, rtl: u = !1, ...i }, l) {
|
|
1176
|
+
const p = A(null);
|
|
1177
|
+
return /* @__PURE__ */ F.createElement(
|
|
1352
1178
|
"div",
|
|
1353
1179
|
{
|
|
1354
|
-
...
|
|
1355
|
-
ref:
|
|
1356
|
-
role:
|
|
1357
|
-
onKeyDown:
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
u.preventDefault();
|
|
1367
|
-
let y = m;
|
|
1368
|
-
u.key === "Home" ? y = 0 : u.key === "End" ? y = a.length - 1 : y += p, t && u.key !== "Home" && u.key !== "End" ? y = (y + a.length) % a.length : y = Math.max(0, Math.min(a.length - 1, y)), (F = a[y]) == null || F.focus();
|
|
1180
|
+
...i,
|
|
1181
|
+
ref: ye(p, l),
|
|
1182
|
+
role: i.role || "group",
|
|
1183
|
+
onKeyDown: S(i.onKeyDown, (a) => {
|
|
1184
|
+
const m = Array.from(p.current?.querySelectorAll("[data-composite-item]") || []);
|
|
1185
|
+
if (!m.length) return;
|
|
1186
|
+
const f = m.indexOf(document.activeElement), d = t === "vertical" || t === "both", s = t === "horizontal" || t === "both";
|
|
1187
|
+
let c = 0;
|
|
1188
|
+
if (d && a.key === "ArrowDown" ? c = o : d && a.key === "ArrowUp" ? c = -o : s && a.key === (u ? "ArrowLeft" : "ArrowRight") ? c = 1 : s && a.key === (u ? "ArrowRight" : "ArrowLeft") && (c = -1), !c && a.key !== "Home" && a.key !== "End") return;
|
|
1189
|
+
a.preventDefault();
|
|
1190
|
+
let g = f;
|
|
1191
|
+
a.key === "Home" ? g = 0 : a.key === "End" ? g = m.length - 1 : g += c, r && a.key !== "Home" && a.key !== "End" ? g = (g + m.length) % m.length : g = Math.max(0, Math.min(m.length - 1, g)), m[g]?.focus();
|
|
1369
1192
|
})
|
|
1370
1193
|
},
|
|
1371
|
-
|
|
1194
|
+
n
|
|
1372
1195
|
);
|
|
1373
1196
|
});
|
|
1374
1197
|
export {
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1198
|
+
Ps as Accordion,
|
|
1199
|
+
Lt as Alert,
|
|
1200
|
+
St as AlertActions,
|
|
1201
|
+
Ot as AlertDescription,
|
|
1202
|
+
Fs as AlertDialog,
|
|
1203
|
+
Ls as AlertDialogActions,
|
|
1204
|
+
Ss as AlertDialogContent,
|
|
1205
|
+
Os as AlertDialogDescription,
|
|
1206
|
+
ks as AlertDialogIcon,
|
|
1207
|
+
$s as AlertDialogProvider,
|
|
1208
|
+
Ns as AlertDialogTitle,
|
|
1209
|
+
kt as AlertIcon,
|
|
1210
|
+
Nt as AlertTitle,
|
|
1211
|
+
ki as Anchor,
|
|
1212
|
+
Xs as AnimatedBeam,
|
|
1213
|
+
_s as AnimatedList,
|
|
1214
|
+
cu as AnimatedNumber,
|
|
1215
|
+
Gs as AnimatedText,
|
|
1216
|
+
ni as AppHeader,
|
|
1217
|
+
oi as AppHeaderCenter,
|
|
1218
|
+
ii as AppHeaderEnd,
|
|
1219
|
+
si as AppHeaderStart,
|
|
1220
|
+
ui as AppHeaderSubtitle,
|
|
1221
|
+
ai as AppHeaderTitle,
|
|
1222
|
+
Xi as AspectRatio,
|
|
1223
|
+
Zi as Avatar,
|
|
1224
|
+
yr as Badge,
|
|
1225
|
+
mo as BlockControls,
|
|
1226
|
+
So as Box,
|
|
1227
|
+
ti as Breadcrumb,
|
|
1228
|
+
Mt as Button,
|
|
1229
|
+
Vr as Calendar,
|
|
1230
|
+
Rs as Card,
|
|
1231
|
+
Mr as Carousel,
|
|
1232
|
+
Ar as Chart,
|
|
1233
|
+
Ki as Checkbox,
|
|
1234
|
+
Cr as CodeBlock,
|
|
1235
|
+
Lr as CodeSnippet,
|
|
1236
|
+
ws as Collapsible,
|
|
1237
|
+
vi as Collection,
|
|
1238
|
+
qr as ColorPicker,
|
|
1239
|
+
pr as Combobox,
|
|
1240
|
+
bo as Command,
|
|
1241
|
+
Do as CommandItem,
|
|
1242
|
+
ho as CommandPalette,
|
|
1243
|
+
vo as CommandPaletteItem,
|
|
1244
|
+
It as Composite,
|
|
1245
|
+
Uo as Container,
|
|
1246
|
+
Io as ContextMenu,
|
|
1247
|
+
ur as ControlGroup,
|
|
1248
|
+
Or as CopyButton,
|
|
1249
|
+
hr as DataTable,
|
|
1250
|
+
Nr as DataViewToolbar,
|
|
1251
|
+
Yr as DateField,
|
|
1252
|
+
jr as DatePicker,
|
|
1253
|
+
Qr as DateRangePicker,
|
|
1254
|
+
yn as DateRangeTimePicker,
|
|
1255
|
+
pn as DateTimePicker,
|
|
1256
|
+
ar as Description,
|
|
1257
|
+
Hn as Dialog,
|
|
1258
|
+
Vn as DialogProvider,
|
|
1259
|
+
vs as DirectionProvider,
|
|
1260
|
+
Ti as DismissableLayer,
|
|
1261
|
+
Ws as Dock,
|
|
1262
|
+
yi as Drawer,
|
|
1263
|
+
$t as Dropdown,
|
|
1264
|
+
Bt as DropdownContent,
|
|
1265
|
+
Ht as DropdownItem,
|
|
1266
|
+
Gt as DropdownSectionLabel,
|
|
1267
|
+
Vt as DropdownSeparator,
|
|
1268
|
+
zt as DropdownTrigger,
|
|
1269
|
+
er as Dropzone,
|
|
1270
|
+
xr as EmptyState,
|
|
1271
|
+
ir as Field,
|
|
1272
|
+
lr as FieldError,
|
|
1273
|
+
fr as Fieldset,
|
|
1274
|
+
tr as FileUpload,
|
|
1275
|
+
mr as FiltersBar,
|
|
1276
|
+
ko as Flex,
|
|
1277
|
+
wt as FloatingArrow,
|
|
1278
|
+
vt as FloatingDelayGroup,
|
|
1279
|
+
Dt as FloatingFocusManager,
|
|
1280
|
+
gt as FloatingList,
|
|
1281
|
+
Se as FloatingListContext,
|
|
1282
|
+
bt as FloatingOverlay,
|
|
1283
|
+
xt as FloatingPortal,
|
|
1284
|
+
fo as FloatingToolbar,
|
|
1285
|
+
Pt as FloatingTree,
|
|
1286
|
+
Fi as FocusScope,
|
|
1287
|
+
Fo as Form,
|
|
1288
|
+
xn as Gantt,
|
|
1289
|
+
Ko as Grid,
|
|
1290
|
+
Is as HoverCard,
|
|
1291
|
+
eo as Icon,
|
|
1292
|
+
Zs as IconCloud,
|
|
1293
|
+
fn as InlineEdit,
|
|
1294
|
+
Ut as Input,
|
|
1295
|
+
go as Kbd,
|
|
1296
|
+
Ts as Label,
|
|
1297
|
+
xi as Layout,
|
|
1298
|
+
Ii as Listbox,
|
|
1299
|
+
nu as Marquee,
|
|
1300
|
+
Go as MasonryGrid,
|
|
1301
|
+
Xn as Menu,
|
|
1302
|
+
Yn as MenuItem,
|
|
1303
|
+
Zn as MenuSectionLabel,
|
|
1304
|
+
Jn as MenuSeparator,
|
|
1305
|
+
$n as Menubar,
|
|
1306
|
+
ns as Meter,
|
|
1307
|
+
Hr as MetricCard,
|
|
1308
|
+
tn as MultiSelect,
|
|
1309
|
+
Mn as NavigationMenu,
|
|
1310
|
+
Tn as NavigationMenuContent,
|
|
1311
|
+
Cn as NavigationMenuIndicator,
|
|
1312
|
+
Fn as NavigationMenuItem,
|
|
1313
|
+
Ln as NavigationMenuLink,
|
|
1314
|
+
Sn as NavigationMenuList,
|
|
1315
|
+
On as NavigationMenuRoot,
|
|
1316
|
+
kn as NavigationMenuTrigger,
|
|
1317
|
+
Nn as NavigationMenuViewport,
|
|
1318
|
+
Wr as NumberField,
|
|
1319
|
+
Us as NumberTicker,
|
|
1320
|
+
Zt as OTPInput,
|
|
1321
|
+
tu as Orbiter,
|
|
1322
|
+
fi as PageHeader,
|
|
1323
|
+
mi as PageToolbar,
|
|
1324
|
+
bs as Pagination,
|
|
1325
|
+
Xo as Panel,
|
|
1326
|
+
Yo as PanelGroup,
|
|
1327
|
+
_t as PasswordField,
|
|
1328
|
+
Jt as PinInput,
|
|
1329
|
+
Bo as PlacementGrid,
|
|
1330
|
+
To as PluginPanel,
|
|
1331
|
+
Un as Popover,
|
|
1332
|
+
is as Portal,
|
|
1333
|
+
Si as Positioner,
|
|
1334
|
+
Wi as Presence,
|
|
1335
|
+
ts as Progress,
|
|
1336
|
+
En as QuickActions,
|
|
1337
|
+
Bi as Radio,
|
|
1338
|
+
Gi as RadioGroup,
|
|
1339
|
+
An as Rating,
|
|
1340
|
+
pi as RecordHeader,
|
|
1341
|
+
Ri as RovingFocusGroup,
|
|
1342
|
+
us as ScrollArea,
|
|
1343
|
+
zo as Section,
|
|
1344
|
+
iu as Select,
|
|
1345
|
+
Ro as SelectionPopup,
|
|
1346
|
+
ls as Separator,
|
|
1347
|
+
wo as Shortcut,
|
|
1348
|
+
_o as Sidebar,
|
|
1349
|
+
lu as Skeleton,
|
|
1350
|
+
uu as Slider,
|
|
1351
|
+
cs as Slot,
|
|
1352
|
+
an as Sortable,
|
|
1353
|
+
zs as SpinningText,
|
|
1354
|
+
nn as SplitButton,
|
|
1355
|
+
Zo as Splitter,
|
|
1356
|
+
$r as Stat,
|
|
1357
|
+
Dn as Stepper,
|
|
1358
|
+
zi as Switch,
|
|
1359
|
+
Dr as Table,
|
|
1360
|
+
_n as Tabs,
|
|
1361
|
+
Xt as TagsInput,
|
|
1362
|
+
nr as Textarea,
|
|
1363
|
+
Di as ThemeProvider,
|
|
1364
|
+
Zr as TimeField,
|
|
1365
|
+
mn as TimePicker,
|
|
1366
|
+
Er as Timeline,
|
|
1367
|
+
ao as Toast,
|
|
1368
|
+
ro as ToastAPI,
|
|
1369
|
+
no as ToastProvider,
|
|
1370
|
+
Ui as Toggle,
|
|
1371
|
+
_i as ToggleGroup,
|
|
1372
|
+
ds as Toolbar,
|
|
1373
|
+
Ct as Tooltip,
|
|
1374
|
+
sn as TransferList,
|
|
1375
|
+
Wo as Tree,
|
|
1376
|
+
gs as VisuallyHidden,
|
|
1377
|
+
hn as Wizard,
|
|
1378
|
+
ge as assignRef,
|
|
1379
|
+
je as callAll,
|
|
1380
|
+
S as composeEventHandlers,
|
|
1381
|
+
ye as mergeRefs,
|
|
1382
|
+
oo as toast,
|
|
1383
|
+
gu as toastAdvanced,
|
|
1384
|
+
io as toastApi,
|
|
1385
|
+
yu as toastLegacy,
|
|
1386
|
+
wu as toastPro,
|
|
1387
|
+
Bs as useAlertDialog,
|
|
1388
|
+
mu as useAnimatedNumber,
|
|
1389
|
+
du as useAnimatedNumberValue,
|
|
1390
|
+
st as useClick,
|
|
1391
|
+
pt as useClientPoint,
|
|
1392
|
+
At as useDelayGroup,
|
|
1393
|
+
zn as useDialog,
|
|
1394
|
+
ft as useDismiss,
|
|
1395
|
+
ot as useFloating,
|
|
1396
|
+
yt as useFloatingList,
|
|
1397
|
+
ht as useFloatingNodeId,
|
|
1575
1398
|
we as useFloatingTree,
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1399
|
+
at as useFocus,
|
|
1400
|
+
nt as useForm,
|
|
1401
|
+
ut as useHover,
|
|
1402
|
+
it as useInteractions,
|
|
1403
|
+
ct as useListNavigation,
|
|
1404
|
+
lt as useRole,
|
|
1405
|
+
Pi as useTheme,
|
|
1406
|
+
so as useToast,
|
|
1407
|
+
dt as useTransition,
|
|
1408
|
+
mt as useTypeahead
|
|
1586
1409
|
};
|