@synopackageland/ui 0.25.20 → 0.25.22
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/CHANGELOG.md +26 -0
- package/dist/composables/elementWidth.d.ts +8 -1
- package/dist/index.js +609 -49725
- package/dist/json-preview/preview.js +864 -844
- package/dist/modules/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/modules/components/advanced-panel/AdvancePanelColumns.vue.js +26 -0
- package/dist/modules/components/advanced-panel/AdvancePanelColumns2.vue.js +4 -0
- package/dist/modules/components/advanced-panel/AdvancePanelForm.vue.js +35 -0
- package/dist/modules/components/advanced-panel/AdvancePanelForm2.vue.js +4 -0
- package/dist/modules/components/advanced-panel/AdvancePanelGrid.vue.js +313 -0
- package/dist/modules/components/advanced-panel/AdvancePanelGrid2.vue.js +4 -0
- package/dist/modules/components/advanced-panel/types.js +19 -0
- package/dist/modules/components/app/app-action-bar/AppActionBar.vue.js +46 -0
- package/dist/modules/components/app/app-action-bar/AppActionBar2.vue.js +4 -0
- package/dist/modules/components/app/app-layout/AppBrand.vue.js +41 -0
- package/dist/modules/components/app/app-layout/AppBrand2.vue.js +4 -0
- package/dist/modules/components/app/app-layout/AppLayout.vue.js +781 -0
- package/dist/modules/components/app/app-layout/AppLayout2.vue.js +4 -0
- package/dist/modules/components/app/app-layout/BackArrowIcon.vue.js +28 -0
- package/dist/modules/components/app/app-layout/BackArrowIcon2.vue.js +4 -0
- package/dist/modules/components/app/app-layout/MovableActions.js +35 -0
- package/dist/modules/components/app/app-layout/PhoneFab.vue.js +135 -0
- package/dist/modules/components/app/app-layout/PhoneFab2.vue.js +4 -0
- package/dist/modules/components/app/app-layout/ShellBackButton.vue.js +25 -0
- package/dist/modules/components/app/app-layout/ShellBackButton2.vue.js +4 -0
- package/dist/modules/components/app/app-layout/back-arrow.json.js +13 -0
- package/dist/modules/components/app/app-layout/hideOnScroll.js +72 -0
- package/dist/modules/components/app/app-layout/iconActionTitles.js +31 -0
- package/dist/modules/components/app/app-layout/pageTitle.js +62 -0
- package/dist/modules/components/app/app-layout/shellBack.js +34 -0
- package/dist/modules/components/app/app-root/AppRoot.vue.js +103 -0
- package/dist/modules/components/app/app-root/AppRoot2.vue.js +4 -0
- package/dist/modules/components/app/app-sidebar/AppSidebar.vue.js +134 -0
- package/dist/modules/components/app/app-sidebar/AppSidebar2.vue.js +4 -0
- package/dist/modules/components/app/app-sidebar/AppSidebarItems.vue.js +125 -0
- package/dist/modules/components/app/app-sidebar/AppSidebarItems2.vue.js +4 -0
- package/dist/modules/components/app/app-sidebar/AppSidebarTip.vue.js +24 -0
- package/dist/modules/components/app/app-sidebar/AppSidebarTip2.vue.js +4 -0
- package/dist/modules/components/app/app-sidebar/AppSidebarUser.vue.js +56 -0
- package/dist/modules/components/app/app-sidebar/AppSidebarUser2.vue.js +4 -0
- package/dist/modules/components/app/app-sidebar/AppTopNav.vue.js +113 -0
- package/dist/modules/components/app/app-sidebar/AppTopNav2.vue.js +4 -0
- package/dist/modules/components/app/app-sidebar/AppTopNavItems.vue.js +108 -0
- package/dist/modules/components/app/app-sidebar/AppTopNavItems2.vue.js +4 -0
- package/dist/modules/components/app/app-tab-bar/AppTabBar.vue.js +208 -0
- package/dist/modules/components/app/app-tab-bar/AppTabBar2.vue.js +4 -0
- package/dist/modules/components/app/app-toolbar/AppToolbar.vue.js +62 -0
- package/dist/modules/components/app/app-toolbar/AppToolbar2.vue.js +4 -0
- package/dist/modules/components/app/aside-panel/AsidePanel.vue.js +372 -0
- package/dist/modules/components/app/aside-panel/AsidePanel2.vue.js +4 -0
- package/dist/modules/components/app/aside-panel/asidePreference.js +43 -0
- package/dist/modules/components/app/page-content/PageContent.vue.js +215 -0
- package/dist/modules/components/app/page-content/PageContent2.vue.js +4 -0
- package/dist/modules/components/app/page-content/pageSticky.js +34 -0
- package/dist/modules/components/app/page-fab/PageFab.vue.js +20 -0
- package/dist/modules/components/app/page-fab/PageFab2.vue.js +4 -0
- package/dist/modules/components/app/page-header/PageHeader.vue.js +90 -0
- package/dist/modules/components/app/page-header/PageHeader2.vue.js +4 -0
- package/dist/modules/components/app/page-toolbar/PageToolbar.vue.js +40 -0
- package/dist/modules/components/app/page-toolbar/PageToolbar2.vue.js +4 -0
- package/dist/modules/components/app/responsive-view/ResponsiveView.vue.js +18 -0
- package/dist/modules/components/app/responsive-view/ResponsiveView2.vue.js +4 -0
- package/dist/modules/components/app/section-tabs/SectionTabs.vue.js +226 -0
- package/dist/modules/components/app/section-tabs/SectionTabs2.vue.js +4 -0
- package/dist/modules/components/app/settings-page/SettingsPage.vue.js +69 -0
- package/dist/modules/components/app/settings-page/SettingsPage2.vue.js +4 -0
- package/dist/modules/components/composite/about-dialog/AboutDialog.vue.js +241 -0
- package/dist/modules/components/composite/about-dialog/AboutDialog2.vue.js +4 -0
- package/dist/modules/components/composite/adaptive-panel/AdaptivePanel.vue.js +159 -0
- package/dist/modules/components/composite/adaptive-panel/AdaptivePanel2.vue.js +4 -0
- package/dist/modules/components/composite/callout/Callout.vue.js +225 -0
- package/dist/modules/components/composite/callout/Callout2.vue.js +4 -0
- package/dist/modules/components/composite/callout/CalloutRecall.vue.js +26 -0
- package/dist/modules/components/composite/callout/CalloutRecall2.vue.js +4 -0
- package/dist/modules/components/composite/callout/CalloutRecallList.vue.js +38 -0
- package/dist/modules/components/composite/callout/CalloutRecallList2.vue.js +4 -0
- package/dist/modules/components/composite/callout/calloutDismissal.js +83 -0
- package/dist/modules/components/composite/comment-item/CommentItem.vue.js +82 -0
- package/dist/modules/components/composite/comment-item/CommentItem2.vue.js +4 -0
- package/dist/modules/components/composite/comment-item/PersonInitials.vue.js +41 -0
- package/dist/modules/components/composite/comment-item/PersonInitials2.vue.js +4 -0
- package/dist/modules/components/composite/completion-toggle/CompletionToggle.vue.js +62 -0
- package/dist/modules/components/composite/completion-toggle/CompletionToggle2.vue.js +4 -0
- package/dist/modules/components/composite/config-provider/ConfigProvider.vue.js +20 -0
- package/dist/modules/components/composite/config-provider/ConfigProvider2.vue.js +4 -0
- package/dist/modules/components/composite/connection-topology/ConnectionTopology.vue.js +253 -0
- package/dist/modules/components/composite/connection-topology/ConnectionTopology2.vue.js +4 -0
- package/dist/modules/components/composite/connection-topology/TopologyLink.vue.js +70 -0
- package/dist/modules/components/composite/connection-topology/TopologyLink2.vue.js +4 -0
- package/dist/modules/components/composite/connection-topology/TopologyNode.vue.js +44 -0
- package/dist/modules/components/composite/connection-topology/TopologyNode2.vue.js +4 -0
- package/dist/modules/components/composite/copy-button/CopyButton.vue.js +112 -0
- package/dist/modules/components/composite/copy-button/CopyButton2.vue.js +4 -0
- package/dist/modules/components/composite/copy-cut-field/CopyCutField.vue.js +124 -0
- package/dist/modules/components/composite/copy-cut-field/CopyCutField2.vue.js +4 -0
- package/dist/modules/components/composite/data-grid/DataGrid.vue.js +1327 -0
- package/dist/modules/components/composite/data-grid/DataGrid2.vue.js +4 -0
- package/dist/modules/components/composite/data-grid/DataGridSelectBox.vue.js +41 -0
- package/dist/modules/components/composite/data-grid/DataGridSelectBox2.vue.js +4 -0
- package/dist/modules/components/composite/data-grid/columnState.js +12 -0
- package/dist/modules/components/composite/data-grid/columnType.js +12 -0
- package/dist/modules/components/composite/data-grid/columnWidths.js +45 -0
- package/dist/modules/components/composite/data-grid/labels.js +31 -0
- package/dist/modules/components/composite/data-grid/listLayout.js +9 -0
- package/dist/modules/components/composite/data-grid/rowFilter.js +12 -0
- package/dist/modules/components/composite/data-grid/viewState.js +31 -0
- package/dist/modules/components/composite/data-table/DataTable.vue.js +295 -0
- package/dist/modules/components/composite/data-table/DataTable2.vue.js +4 -0
- package/dist/modules/components/composite/data-view/DataView.vue.js +243 -0
- package/dist/modules/components/composite/data-view/DataView2.vue.js +4 -0
- package/dist/modules/components/composite/detail-list/DetailList.vue.js +111 -0
- package/dist/modules/components/composite/detail-list/DetailList2.vue.js +4 -0
- package/dist/modules/components/composite/disclosure-row/DisclosureRow.vue.js +84 -0
- package/dist/modules/components/composite/disclosure-row/DisclosureRow2.vue.js +4 -0
- package/dist/modules/components/composite/empty-state/EmptyState.vue.js +39 -0
- package/dist/modules/components/composite/empty-state/EmptyState2.vue.js +4 -0
- package/dist/modules/components/composite/expand-all/ExpandAllButtons.vue.js +64 -0
- package/dist/modules/components/composite/expand-all/ExpandAllButtons2.vue.js +4 -0
- package/dist/modules/components/composite/expand-all/expandAll.js +17 -0
- package/dist/modules/components/composite/facet-panel/FacetPanel.vue.js +210 -0
- package/dist/modules/components/composite/facet-panel/FacetPanel2.vue.js +4 -0
- package/dist/modules/components/composite/file-picker/FilePicker.vue.js +289 -0
- package/dist/modules/components/composite/file-picker/FilePicker2.vue.js +4 -0
- package/dist/modules/components/composite/file-thumbs/FileThumbs.vue.js +112 -0
- package/dist/modules/components/composite/file-thumbs/FileThumbs2.vue.js +4 -0
- package/dist/modules/components/composite/footbar/Footbar.vue.js +40 -0
- package/dist/modules/components/composite/footbar/Footbar2.vue.js +4 -0
- package/dist/modules/components/composite/footbar/FootbarButtons.vue.js +37 -0
- package/dist/modules/components/composite/footbar/FootbarButtons2.vue.js +4 -0
- package/dist/modules/components/composite/footbar/types.js +18 -0
- package/dist/modules/components/composite/form/Form.vue.js +121 -0
- package/dist/modules/components/composite/form/Form2.vue.js +4 -0
- package/dist/modules/components/composite/form/FormGroup.vue.js +25 -0
- package/dist/modules/components/composite/form/FormGroup2.vue.js +4 -0
- package/dist/modules/components/composite/form/FormItem.vue.js +329 -0
- package/dist/modules/components/composite/form/FormItem2.vue.js +4 -0
- package/dist/modules/components/composite/form/context.js +15 -0
- package/dist/modules/components/composite/form/rules.js +101 -0
- package/dist/modules/components/composite/form-actions/FormActions.vue.js +60 -0
- package/dist/modules/components/composite/form-actions/FormActions2.vue.js +4 -0
- package/dist/modules/components/composite/form-note/FormNote.vue.js +58 -0
- package/dist/modules/components/composite/form-note/FormNote2.vue.js +4 -0
- package/dist/modules/components/composite/image-lightbox/ImageLightbox.vue.js +243 -0
- package/dist/modules/components/composite/image-lightbox/ImageLightbox2.vue.js +4 -0
- package/dist/modules/components/composite/info-box/InfoBox.vue.js +24 -0
- package/dist/modules/components/composite/info-box/InfoBox2.vue.js +4 -0
- package/dist/modules/components/composite/key-value-row/KeyValueRow.vue.js +44 -0
- package/dist/modules/components/composite/key-value-row/KeyValueRow2.vue.js +4 -0
- package/dist/modules/components/composite/list-item/ListItem.vue.js +69 -0
- package/dist/modules/components/composite/list-item/ListItem2.vue.js +4 -0
- package/dist/modules/components/composite/mention-list/MentionList.vue.js +99 -0
- package/dist/modules/components/composite/mention-list/MentionList2.vue.js +4 -0
- package/dist/modules/components/composite/message-box/MessageBox.vue.js +215 -0
- package/dist/modules/components/composite/message-box/MessageBox2.vue.js +4 -0
- package/dist/modules/components/composite/message-box/MessageBoxProvider.vue.js +26 -0
- package/dist/modules/components/composite/message-box/MessageBoxProvider2.vue.js +4 -0
- package/dist/modules/components/composite/message-box/controller.js +77 -0
- package/dist/modules/components/composite/message-box/types.js +4 -0
- package/dist/modules/components/composite/new-items-pill/NewItemsPill.vue.js +36 -0
- package/dist/modules/components/composite/new-items-pill/NewItemsPill2.vue.js +4 -0
- package/dist/modules/components/composite/overflow-list/OverflowList.vue.js +218 -0
- package/dist/modules/components/composite/overflow-list/OverflowList2.vue.js +4 -0
- package/dist/modules/components/composite/overflow-list/OverflowListItem.vue.js +22 -0
- package/dist/modules/components/composite/overflow-list/OverflowListItem2.vue.js +4 -0
- package/dist/modules/components/composite/overflow-toolbar/OverflowToolbar.vue.js +306 -0
- package/dist/modules/components/composite/overflow-toolbar/OverflowToolbar2.vue.js +4 -0
- package/dist/modules/components/composite/overflow-toolbar/overflow.js +19 -0
- package/dist/modules/components/composite/path-display/PathDisplay.vue.js +91 -0
- package/dist/modules/components/composite/path-display/PathDisplay2.vue.js +4 -0
- package/dist/modules/components/composite/record-panel/RecordPanel.vue.js +479 -0
- package/dist/modules/components/composite/record-panel/RecordPanel2.vue.js +5 -0
- package/dist/modules/components/composite/record-panel/recordPanelWidth.js +43 -0
- package/dist/modules/components/composite/repeat-rows/FieldCell.vue.js +23 -0
- package/dist/modules/components/composite/repeat-rows/FieldCell2.vue.js +4 -0
- package/dist/modules/components/composite/repeat-rows/RepeatRow.vue.js +69 -0
- package/dist/modules/components/composite/repeat-rows/RepeatRow2.vue.js +4 -0
- package/dist/modules/components/composite/repeat-rows/RepeatRows.vue.js +37 -0
- package/dist/modules/components/composite/repeat-rows/RepeatRows2.vue.js +4 -0
- package/dist/modules/components/composite/rich-text-view/RichTextBlocks.vue.js +127 -0
- package/dist/modules/components/composite/rich-text-view/RichTextBlocks2.vue.js +4 -0
- package/dist/modules/components/composite/rich-text-view/RichTextImage.vue.js +60 -0
- package/dist/modules/components/composite/rich-text-view/RichTextImage2.vue.js +4 -0
- package/dist/modules/components/composite/rich-text-view/RichTextInline.vue.js +42 -0
- package/dist/modules/components/composite/rich-text-view/RichTextInline2.vue.js +4 -0
- package/dist/modules/components/composite/rich-text-view/RichTextView.vue.js +58 -0
- package/dist/modules/components/composite/rich-text-view/RichTextView2.vue.js +4 -0
- package/dist/modules/components/composite/scroll-edges/ScrollEdges.vue.js +34 -0
- package/dist/modules/components/composite/scroll-edges/ScrollEdges2.vue.js +4 -0
- package/dist/modules/components/composite/search-field/SearchField.vue.js +65 -0
- package/dist/modules/components/composite/search-field/SearchField2.vue.js +4 -0
- package/dist/modules/components/composite/settings-row/SettingsRow.vue.js +57 -0
- package/dist/modules/components/composite/settings-row/SettingsRow2.vue.js +4 -0
- package/dist/modules/components/composite/settings-section/SettingsSection.vue.js +105 -0
- package/dist/modules/components/composite/settings-section/SettingsSection2.vue.js +4 -0
- package/dist/modules/components/composite/stacked-bar/StackedBar.vue.js +94 -0
- package/dist/modules/components/composite/stacked-bar/StackedBar2.vue.js +4 -0
- package/dist/modules/components/composite/stat-tile/StatTile.vue.js +74 -0
- package/dist/modules/components/composite/stat-tile/StatTile2.vue.js +4 -0
- package/dist/modules/components/composite/stat-tile/StatTileGroup.vue.js +37 -0
- package/dist/modules/components/composite/stat-tile/StatTileGroup2.vue.js +4 -0
- package/dist/modules/components/composite/statistic/Statistic.vue.js +45 -0
- package/dist/modules/components/composite/statistic/Statistic2.vue.js +4 -0
- package/dist/modules/components/composite/step-list/StepList.vue.js +76 -0
- package/dist/modules/components/composite/step-list/StepList2.vue.js +4 -0
- package/dist/modules/components/composite/storage-meter/StorageMeter.vue.js +66 -0
- package/dist/modules/components/composite/storage-meter/StorageMeter2.vue.js +4 -0
- package/dist/modules/components/composite/summary-card/SummaryCard.vue.js +109 -0
- package/dist/modules/components/composite/summary-card/SummaryCard2.vue.js +4 -0
- package/dist/modules/components/composite/table-cell/CellStatus.vue.js +74 -0
- package/dist/modules/components/composite/table-cell/CellStatus2.vue.js +4 -0
- package/dist/modules/components/composite/table-cell/CellText.vue.js +82 -0
- package/dist/modules/components/composite/table-cell/CellText2.vue.js +4 -0
- package/dist/modules/components/composite/tag-editor/TagEditor.vue.js +164 -0
- package/dist/modules/components/composite/tag-editor/TagEditor2.vue.js +4 -0
- package/dist/modules/components/composite/tag-picker/TagPicker.vue.js +316 -0
- package/dist/modules/components/composite/tag-picker/TagPicker2.vue.js +4 -0
- package/dist/modules/components/composite/tag-picker/TagPickerList.vue.js +203 -0
- package/dist/modules/components/composite/tag-picker/TagPickerList2.vue.js +4 -0
- package/dist/modules/components/composite/tag-picker/tagPicker.js +28 -0
- package/dist/modules/components/composite/timeline-row/TimelineRow.vue.js +140 -0
- package/dist/modules/components/composite/timeline-row/TimelineRow2.vue.js +4 -0
- package/dist/modules/components/composite/tree-view/TreeView.vue.js +276 -0
- package/dist/modules/components/composite/tree-view/TreeView2.vue.js +4 -0
- package/dist/modules/components/composite/tree-view/treeUtils.js +71 -0
- package/dist/modules/components/composite/upload-queue/UploadQueue.vue.js +192 -0
- package/dist/modules/components/composite/upload-queue/UploadQueue2.vue.js +4 -0
- package/dist/modules/components/composite/virtual-list/VirtualList.vue.js +192 -0
- package/dist/modules/components/composite/virtual-list/VirtualList2.vue.js +4 -0
- package/dist/modules/components/composite/wizard/Wizard.vue.js +397 -0
- package/dist/modules/components/composite/wizard/Wizard2.vue.js +4 -0
- package/dist/modules/components/composite/wizard/WizardDialog.vue.js +129 -0
- package/dist/modules/components/composite/wizard/WizardDialog2.vue.js +4 -0
- package/dist/modules/components/composite/wizard/WizardStep.vue.js +144 -0
- package/dist/modules/components/composite/wizard/WizardStep2.vue.js +4 -0
- package/dist/modules/components/composite/wizard/wizardContext.js +9 -0
- package/dist/modules/components/containers/card/Card.vue.js +120 -0
- package/dist/modules/components/containers/card/Card2.vue.js +4 -0
- package/dist/modules/components/containers/card/CardField.vue.js +38 -0
- package/dist/modules/components/containers/card/CardField2.vue.js +4 -0
- package/dist/modules/components/containers/card-grid/CardCover.vue.js +48 -0
- package/dist/modules/components/containers/card-grid/CardCover2.vue.js +4 -0
- package/dist/modules/components/containers/card-grid/CardGrid.vue.js +54 -0
- package/dist/modules/components/containers/card-grid/CardGrid2.vue.js +4 -0
- package/dist/modules/components/containers/card-grid/VirtualCardGrid.vue.js +269 -0
- package/dist/modules/components/containers/card-grid/VirtualCardGrid2.vue.js +4 -0
- package/dist/modules/components/containers/card-grid/cardGrid.js +10 -0
- package/dist/modules/components/containers/expandable-item/ExpandableItem.vue.js +211 -0
- package/dist/modules/components/containers/expandable-item/ExpandableItem2.vue.js +4 -0
- package/dist/modules/components/containers/fieldset/Fieldset.vue.js +139 -0
- package/dist/modules/components/containers/fieldset/Fieldset2.vue.js +4 -0
- package/dist/modules/components/containers/highlight-box/HighlightBox.vue.js +32 -0
- package/dist/modules/components/containers/highlight-box/HighlightBox2.vue.js +4 -0
- package/dist/modules/components/containers/list-detail/ListDetail.vue.js +175 -0
- package/dist/modules/components/containers/list-detail/ListDetail2.vue.js +4 -0
- package/dist/modules/components/containers/panel/Panel.vue.js +99 -0
- package/dist/modules/components/containers/panel/Panel2.vue.js +4 -0
- package/dist/modules/components/containers/split-pane/SplitPane.vue.js +180 -0
- package/dist/modules/components/containers/split-pane/SplitPane2.vue.js +4 -0
- package/dist/modules/components/feedback/info-mask/InfoMask.vue.js +39 -0
- package/dist/modules/components/feedback/info-mask/InfoMask2.vue.js +4 -0
- package/dist/modules/components/feedback/info-tip/InfoTip.vue.js +237 -0
- package/dist/modules/components/feedback/info-tip/InfoTip2.vue.js +4 -0
- package/dist/modules/components/feedback/notification/Notification.vue.js +159 -0
- package/dist/modules/components/feedback/notification/Notification2.vue.js +4 -0
- package/dist/modules/components/feedback/notification/NotificationProvider.vue.js +178 -0
- package/dist/modules/components/feedback/notification/NotificationProvider2.vue.js +4 -0
- package/dist/modules/components/feedback/notification/notification.js +14 -0
- package/dist/modules/components/feedback/validation-popup/ValidationPopup.vue.js +108 -0
- package/dist/modules/components/feedback/validation-popup/ValidationPopup2.vue.js +4 -0
- package/dist/modules/components/primitives/accordion/Accordion.vue.js +70 -0
- package/dist/modules/components/primitives/accordion/Accordion2.vue.js +4 -0
- package/dist/modules/components/primitives/affix/Affix.vue.js +84 -0
- package/dist/modules/components/primitives/affix/Affix2.vue.js +4 -0
- package/dist/modules/components/primitives/affix/affixPosition.js +12 -0
- package/dist/modules/components/primitives/avatar/AvatarStack.vue.js +58 -0
- package/dist/modules/components/primitives/avatar/AvatarStack2.vue.js +4 -0
- package/dist/modules/components/primitives/badge/Badge.vue.js +33 -0
- package/dist/modules/components/primitives/badge/Badge2.vue.js +4 -0
- package/dist/modules/components/primitives/breadcrumb/Breadcrumb.vue.js +261 -0
- package/dist/modules/components/primitives/breadcrumb/Breadcrumb2.vue.js +4 -0
- package/dist/modules/components/primitives/breadcrumb/BreadcrumbCrumb.vue.js +39 -0
- package/dist/modules/components/primitives/breadcrumb/BreadcrumbCrumb2.vue.js +4 -0
- package/dist/modules/components/primitives/breadcrumb/collapse.js +15 -0
- package/dist/modules/components/primitives/breadcrumb/types.js +6 -0
- package/dist/modules/components/primitives/button/Button.vue.js +94 -0
- package/dist/modules/components/primitives/button/Button2.vue.js +4 -0
- package/dist/modules/components/primitives/button/ButtonKindScope.vue.js +14 -0
- package/dist/modules/components/primitives/button/ButtonKindScope2.vue.js +4 -0
- package/dist/modules/components/primitives/button/IconButton.vue.js +48 -0
- package/dist/modules/components/primitives/button/IconButton2.vue.js +4 -0
- package/dist/modules/components/primitives/checkbox/Checkbox.vue.js +75 -0
- package/dist/modules/components/primitives/checkbox/Checkbox2.vue.js +4 -0
- package/dist/modules/components/primitives/checkbox/CheckboxGroup.vue.js +41 -0
- package/dist/modules/components/primitives/checkbox/CheckboxGroup2.vue.js +4 -0
- package/dist/modules/components/primitives/color-picker/ColorPicker.vue.js +292 -0
- package/dist/modules/components/primitives/color-picker/ColorPicker2.vue.js +4 -0
- package/dist/modules/components/primitives/color-picker/palette.js +57 -0
- package/dist/modules/components/primitives/combobox/Combobox.vue.js +51 -0
- package/dist/modules/components/primitives/combobox/Combobox2.vue.js +4 -0
- package/dist/modules/components/primitives/context-menu/ContextMenu.vue.js +107 -0
- package/dist/modules/components/primitives/context-menu/ContextMenu2.vue.js +4 -0
- package/dist/modules/components/primitives/context-menu/ContextMenuItems.vue.js +140 -0
- package/dist/modules/components/primitives/context-menu/ContextMenuItems2.vue.js +4 -0
- package/dist/modules/components/primitives/date-picker/DatePicker.vue.js +479 -0
- package/dist/modules/components/primitives/date-picker/DatePicker2.vue.js +4 -0
- package/dist/modules/components/primitives/date-picker/dateTime.js +67 -0
- package/dist/modules/components/primitives/dialog/Dialog.vue.js +300 -0
- package/dist/modules/components/primitives/dialog/Dialog2.vue.js +4 -0
- package/dist/modules/components/primitives/dialog/FloatingLayer.vue.js +33 -0
- package/dist/modules/components/primitives/dialog/FloatingLayer2.vue.js +4 -0
- package/dist/modules/components/primitives/dialog/dialogCover.js +24 -0
- package/dist/modules/components/primitives/dialog/dialogSize.js +15 -0
- package/dist/modules/components/primitives/dropdown-menu/DropdownMenu.vue.js +127 -0
- package/dist/modules/components/primitives/dropdown-menu/DropdownMenu2.vue.js +4 -0
- package/dist/modules/components/primitives/dropdown-menu/DropdownMenuItems.vue.js +264 -0
- package/dist/modules/components/primitives/dropdown-menu/DropdownMenuItems2.vue.js +4 -0
- package/dist/modules/components/primitives/dropdown-menu/DropdownMenuSheet.vue.js +184 -0
- package/dist/modules/components/primitives/dropdown-menu/DropdownMenuSheet2.vue.js +4 -0
- package/dist/modules/components/primitives/ghost/Ghost.vue.js +55 -0
- package/dist/modules/components/primitives/ghost/Ghost2.vue.js +4 -0
- package/dist/modules/components/primitives/icon/FileTypeIcon.vue.js +24 -0
- package/dist/modules/components/primitives/icon/FileTypeIcon2.vue.js +4 -0
- package/dist/modules/components/primitives/icon/Icon.vue.js +59 -0
- package/dist/modules/components/primitives/icon/Icon2.vue.js +4 -0
- package/dist/modules/components/primitives/icon/fileType.js +16 -0
- package/dist/modules/components/primitives/icon/icon.js +31 -0
- package/dist/modules/components/primitives/icon/iconRegistry.js +17 -0
- package/dist/modules/components/primitives/icon/useIconButton.js +24 -0
- package/dist/modules/components/primitives/input/Input.vue.js +121 -0
- package/dist/modules/components/primitives/input/Input2.vue.js +4 -0
- package/dist/modules/components/primitives/input/Textarea.vue.js +45 -0
- package/dist/modules/components/primitives/input/Textarea2.vue.js +4 -0
- package/dist/modules/components/primitives/input-group/InputGroup.vue.js +15 -0
- package/dist/modules/components/primitives/input-group/InputGroup2.vue.js +4 -0
- package/dist/modules/components/primitives/input-steppers/InputSteppers.vue.js +265 -0
- package/dist/modules/components/primitives/input-steppers/InputSteppers2.vue.js +4 -0
- package/dist/modules/components/primitives/layout/Col.vue.js +37 -0
- package/dist/modules/components/primitives/layout/Col2.vue.js +4 -0
- package/dist/modules/components/primitives/layout/Grid.vue.js +41 -0
- package/dist/modules/components/primitives/layout/Grid2.vue.js +4 -0
- package/dist/modules/components/primitives/layout/Row.vue.js +30 -0
- package/dist/modules/components/primitives/layout/Row2.vue.js +4 -0
- package/dist/modules/components/primitives/layout/breakpoints.js +58 -0
- package/dist/modules/components/primitives/layout/context.js +12 -0
- package/dist/modules/components/primitives/layout/gap.js +20 -0
- package/dist/modules/components/primitives/link/Link.vue.js +62 -0
- package/dist/modules/components/primitives/link/Link2.vue.js +4 -0
- package/dist/modules/components/primitives/loading/LoadingArea.vue.js +19 -0
- package/dist/modules/components/primitives/loading/LoadingArea2.vue.js +4 -0
- package/dist/modules/components/primitives/loading/LoadingIndicator.vue.js +28 -0
- package/dist/modules/components/primitives/loading/LoadingIndicator2.vue.js +4 -0
- package/dist/modules/components/primitives/loading/LoadingMask.vue.js +47 -0
- package/dist/modules/components/primitives/loading/LoadingMask2.vue.js +4 -0
- package/dist/modules/components/primitives/motion/MotionCollapse.vue.js +51 -0
- package/dist/modules/components/primitives/motion/MotionCollapse2.vue.js +4 -0
- package/dist/modules/components/primitives/motion/MotionSwap.vue.js +26 -0
- package/dist/modules/components/primitives/motion/MotionSwap2.vue.js +4 -0
- package/dist/modules/components/primitives/motion/PushTransition.vue.js +198 -0
- package/dist/modules/components/primitives/motion/PushTransition2.vue.js +4 -0
- package/dist/modules/components/primitives/multiple-select/MultipleSelect.vue.js +51 -0
- package/dist/modules/components/primitives/multiple-select/MultipleSelect2.vue.js +4 -0
- package/dist/modules/components/primitives/pagination/Pagination.vue.js +313 -0
- package/dist/modules/components/primitives/pagination/Pagination2.vue.js +4 -0
- package/dist/modules/components/primitives/pagination/PaginationSheet.vue.js +108 -0
- package/dist/modules/components/primitives/pagination/PaginationSheet2.vue.js +4 -0
- package/dist/modules/components/primitives/pagination/labels.js +20 -0
- package/dist/modules/components/primitives/pagination/model.js +25 -0
- package/dist/modules/components/primitives/popover/Popover.vue.js +75 -0
- package/dist/modules/components/primitives/popover/Popover2.vue.js +4 -0
- package/dist/modules/components/primitives/popover/floating.js +67 -0
- package/dist/modules/components/primitives/popover/overlay.js +49 -0
- package/dist/modules/components/primitives/progress/Progress.vue.js +66 -0
- package/dist/modules/components/primitives/progress/Progress2.vue.js +4 -0
- package/dist/modules/components/primitives/radio-group/RadioGroup.vue.js +79 -0
- package/dist/modules/components/primitives/radio-group/RadioGroup2.vue.js +4 -0
- package/dist/modules/components/primitives/refresh-bar/RefreshBar.vue.js +64 -0
- package/dist/modules/components/primitives/refresh-bar/RefreshBar2.vue.js +4 -0
- package/dist/modules/components/primitives/rich-text/RichText.vue.js +55 -0
- package/dist/modules/components/primitives/rich-text/RichText2.vue.js +4 -0
- package/dist/modules/components/primitives/rich-text/parseRichText.js +71 -0
- package/dist/modules/components/primitives/schedule-table/ScheduleTable.vue.js +363 -0
- package/dist/modules/components/primitives/schedule-table/ScheduleTable2.vue.js +4 -0
- package/dist/modules/components/primitives/schedule-table/schedule.js +34 -0
- package/dist/modules/components/primitives/scrollbar/Scrollbar.vue.js +317 -0
- package/dist/modules/components/primitives/scrollbar/Scrollbar2.vue.js +4 -0
- package/dist/modules/components/primitives/segment-control/SegmentControl.vue.js +123 -0
- package/dist/modules/components/primitives/segment-control/SegmentControl2.vue.js +4 -0
- package/dist/modules/components/primitives/segment-control/SegmentItem.vue.js +149 -0
- package/dist/modules/components/primitives/segment-control/SegmentItem2.vue.js +4 -0
- package/dist/modules/components/primitives/segment-control/context.js +9 -0
- package/dist/modules/components/primitives/select/Select.vue.js +272 -0
- package/dist/modules/components/primitives/select/Select2.vue.js +4 -0
- package/dist/modules/components/primitives/select/internal/ComboboxField.vue.js +460 -0
- package/dist/modules/components/primitives/select/internal/ComboboxField2.vue.js +4 -0
- package/dist/modules/components/primitives/select/internal/SelectSheet.vue.js +183 -0
- package/dist/modules/components/primitives/select/internal/SelectSheet2.vue.js +4 -0
- package/dist/modules/components/primitives/select/internal/SelectTag.vue.js +41 -0
- package/dist/modules/components/primitives/select/internal/SelectTag2.vue.js +4 -0
- package/dist/modules/components/primitives/select/internal/options.js +45 -0
- package/dist/modules/components/primitives/select/internal/useSelectSearch.js +29 -0
- package/dist/modules/components/primitives/separator/Separator.vue.js +17 -0
- package/dist/modules/components/primitives/separator/Separator2.vue.js +4 -0
- package/dist/modules/components/primitives/sheet/BottomSheet.vue.js +303 -0
- package/dist/modules/components/primitives/sheet/BottomSheet2.vue.js +4 -0
- package/dist/modules/components/primitives/sheet/Sheet.vue.js +186 -0
- package/dist/modules/components/primitives/sheet/Sheet2.vue.js +4 -0
- package/dist/modules/components/primitives/sheet/phone.js +17 -0
- package/dist/modules/components/primitives/size-bar/SizeBar.vue.js +40 -0
- package/dist/modules/components/primitives/size-bar/SizeBar2.vue.js +4 -0
- package/dist/modules/components/primitives/skeleton/SectionSkeleton.vue.js +171 -0
- package/dist/modules/components/primitives/skeleton/SectionSkeleton2.vue.js +4 -0
- package/dist/modules/components/primitives/skeleton/Skeleton.vue.js +21 -0
- package/dist/modules/components/primitives/skeleton/Skeleton2.vue.js +4 -0
- package/dist/modules/components/primitives/slider/Slider.vue.js +173 -0
- package/dist/modules/components/primitives/slider/Slider2.vue.js +4 -0
- package/dist/modules/components/primitives/space/Space.vue.js +39 -0
- package/dist/modules/components/primitives/space/Space2.vue.js +4 -0
- package/dist/modules/components/primitives/space/space.js +21 -0
- package/dist/modules/components/primitives/spinner/Spinner.vue.js +41 -0
- package/dist/modules/components/primitives/spinner/Spinner2.vue.js +4 -0
- package/dist/modules/components/primitives/split-button/SplitButton.vue.js +72 -0
- package/dist/modules/components/primitives/split-button/SplitButton2.vue.js +4 -0
- package/dist/modules/components/primitives/status-dot/StatusDot.vue.js +24 -0
- package/dist/modules/components/primitives/status-dot/StatusDot2.vue.js +4 -0
- package/dist/modules/components/primitives/superbox-select/SuperboxSelect.vue.js +51 -0
- package/dist/modules/components/primitives/superbox-select/SuperboxSelect2.vue.js +4 -0
- package/dist/modules/components/primitives/surface/Surface.vue.js +30 -0
- package/dist/modules/components/primitives/surface/Surface2.vue.js +4 -0
- package/dist/modules/components/primitives/switch/Switch.vue.js +58 -0
- package/dist/modules/components/primitives/switch/Switch2.vue.js +4 -0
- package/dist/modules/components/primitives/tabs/Tabs.vue.js +74 -0
- package/dist/modules/components/primitives/tabs/Tabs2.vue.js +4 -0
- package/dist/modules/components/primitives/tag/Tag.vue.js +133 -0
- package/dist/modules/components/primitives/tag/Tag2.vue.js +4 -0
- package/dist/modules/components/primitives/toast/ToastProvider.vue.js +197 -0
- package/dist/modules/components/primitives/toast/ToastProvider2.vue.js +4 -0
- package/dist/modules/components/primitives/toast/toast.js +24 -0
- package/dist/modules/components/primitives/toggle-button/ToggleButton.vue.js +69 -0
- package/dist/modules/components/primitives/toggle-button/ToggleButton2.vue.js +4 -0
- package/dist/modules/components/primitives/toggle-button/ToggleButtonGroup.vue.js +45 -0
- package/dist/modules/components/primitives/toggle-button/ToggleButtonGroup2.vue.js +4 -0
- package/dist/modules/components/primitives/toggle-button/toggleButton.js +5 -0
- package/dist/modules/components/primitives/tooltip/OverflowTooltip.vue.js +149 -0
- package/dist/modules/components/primitives/tooltip/OverflowTooltip2.vue.js +4 -0
- package/dist/modules/components/primitives/tooltip/Tooltip.vue.js +87 -0
- package/dist/modules/components/primitives/tooltip/Tooltip2.vue.js +4 -0
- package/dist/modules/components/primitives/tooltip/tooltipStyle.js +21 -0
- package/dist/modules/components/primitives/typography/TypoA.vue.js +15 -0
- package/dist/modules/components/primitives/typography/TypoBlockquote.vue.js +16 -0
- package/dist/modules/components/primitives/typography/TypoBlockquote2.vue.js +4 -0
- package/dist/modules/components/primitives/typography/TypoCode.vue.js +20 -0
- package/dist/modules/components/primitives/typography/TypoCode2.vue.js +4 -0
- package/dist/modules/components/primitives/typography/TypoDivider.vue.js +13 -0
- package/dist/modules/components/primitives/typography/TypoHeader.vue.js +42 -0
- package/dist/modules/components/primitives/typography/TypoHeader2.vue.js +4 -0
- package/dist/modules/components/primitives/typography/TypoHr.vue.js +13 -0
- package/dist/modules/components/primitives/typography/TypoLi.vue.js +20 -0
- package/dist/modules/components/primitives/typography/TypoLi2.vue.js +4 -0
- package/dist/modules/components/primitives/typography/TypoList.vue.js +16 -0
- package/dist/modules/components/primitives/typography/TypoList2.vue.js +4 -0
- package/dist/modules/components/primitives/typography/TypoP.vue.js +16 -0
- package/dist/modules/components/primitives/typography/TypoP2.vue.js +4 -0
- package/dist/modules/components/primitives/typography/TypoTable.vue.js +26 -0
- package/dist/modules/components/primitives/typography/TypoTable2.vue.js +4 -0
- package/dist/modules/components/primitives/typography/TypoText.vue.js +31 -0
- package/dist/modules/components/primitives/typography/TypoText2.vue.js +4 -0
- package/dist/modules/components/primitives/typography/TypoTip.vue.js +33 -0
- package/dist/modules/components/primitives/typography/TypoTip2.vue.js +4 -0
- package/dist/modules/components/primitives/typography/typography.js +34 -0
- package/dist/modules/composables/backDismiss.js +58 -0
- package/dist/modules/composables/buttonKind.js +13 -0
- package/dist/modules/composables/collisionBoundary.js +15 -0
- package/dist/modules/composables/configCascade.js +80 -0
- package/dist/modules/composables/elementWidth.js +44 -0
- package/dist/modules/composables/fitHeight.js +60 -0
- package/dist/modules/composables/floatingHost.js +91 -0
- package/dist/modules/composables/floatingPlacement.js +67 -0
- package/dist/modules/composables/focusOwner.js +11 -0
- package/dist/modules/composables/formControl.js +69 -0
- package/dist/modules/composables/formGroup.js +14 -0
- package/dist/modules/composables/inputModality.js +16 -0
- package/dist/modules/composables/openerFocus.js +42 -0
- package/dist/modules/composables/pageWindow.js +55 -0
- package/dist/modules/composables/pendingClick.js +21 -0
- package/dist/modules/composables/phone.js +10 -0
- package/dist/modules/composables/phoneSurface.js +26 -0
- package/dist/modules/composables/scrollEdges.js +34 -0
- package/dist/modules/composables/sidebarPreference.js +24 -0
- package/dist/modules/composables/softKeyboard.js +64 -0
- package/dist/modules/composables/stickyRoom.js +34 -0
- package/dist/modules/composables/tabIndicator.js +25 -0
- package/dist/modules/composables/tabStripScroll.js +33 -0
- package/dist/modules/composables/visualViewport.js +56 -0
- package/dist/modules/dnd/autoScroll.js +38 -0
- package/dist/modules/dnd/dragKit.js +485 -0
- package/dist/modules/dnd/layout.js +81 -0
- package/dist/modules/dnd/vue.js +30 -0
- package/dist/modules/feedback/StatusSlot.vue.js +58 -0
- package/dist/modules/feedback/StatusSlot2.vue.js +4 -0
- package/dist/modules/feedback/showAfter.js +19 -0
- package/dist/modules/feedback/stackMotion.js +34 -0
- package/dist/modules/feedback/timing.js +18 -0
- package/dist/modules/i18n/filePicker.js +203 -0
- package/dist/modules/i18n/locale.js +41 -0
- package/dist/modules/i18n/text.js +2484 -0
- package/dist/modules/interaction/editSession.js +76 -0
- package/dist/modules/interaction/focus.js +35 -0
- package/dist/modules/interaction/gesture.js +62 -0
- package/dist/modules/interaction/ime.js +45 -0
- package/dist/modules/interaction/outside.js +77 -0
- package/dist/modules/interaction/velocity.js +72 -0
- package/dist/modules/interaction/vue.js +46 -0
- package/dist/modules/lib/accent.js +28 -0
- package/dist/modules/lib/adaptiveLayout.js +36 -0
- package/dist/modules/lib/appRoot.js +5 -0
- package/dist/modules/lib/clipboard.js +24 -0
- package/dist/modules/lib/cn.js +6 -0
- package/dist/modules/lib/color.js +49 -0
- package/dist/modules/lib/controllable.js +14 -0
- package/dist/modules/lib/deviceViewport.js +30 -0
- package/dist/modules/lib/fieldWidth.js +10 -0
- package/dist/modules/lib/fileAccept.js +21 -0
- package/dist/modules/lib/fileSize.js +21 -0
- package/dist/modules/lib/files.js +11 -0
- package/dist/modules/lib/floatingDialog.js +33 -0
- package/dist/modules/lib/format.js +54 -0
- package/dist/modules/lib/localModal.js +275 -0
- package/dist/modules/lib/mentions.js +19 -0
- package/dist/modules/lib/motion.js +64 -0
- package/dist/modules/lib/nativeShell.js +30 -0
- package/dist/modules/lib/numberField.js +47 -0
- package/dist/modules/lib/overflow.js +17 -0
- package/dist/modules/lib/richText.js +216 -0
- package/dist/modules/lib/scroll.js +38 -0
- package/dist/modules/lib/slots.js +10 -0
- package/dist/modules/lib/truncation.js +68 -0
- package/dist/modules/lib/typeScale.js +23 -0
- package/dist/modules/lib/uploadQueue.js +76 -0
- package/dist/modules/vendor/@floating-ui/core/dist/floating-ui.core.js +511 -0
- package/dist/modules/vendor/@floating-ui/dom/dist/floating-ui.dom.js +395 -0
- package/dist/modules/vendor/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/modules/vendor/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
- package/dist/modules/vendor/@floating-ui/vue/dist/floating-ui.vue.js +130 -0
- package/dist/modules/vendor/@tanstack/virtual-core/dist/esm/index.js +852 -0
- package/dist/modules/vendor/@tanstack/virtual-core/dist/esm/lazy-measurements.js +37 -0
- package/dist/modules/vendor/@tanstack/virtual-core/dist/esm/utils.js +63 -0
- package/dist/modules/vendor/@tanstack/vue-virtual/dist/esm/index.js +49 -0
- package/dist/modules/vendor/@vueuse/core/dist/index.js +289 -0
- package/dist/modules/vendor/@vueuse/shared/dist/index.js +191 -0
- package/dist/modules/vendor/aria-hidden/dist/es2015/index.js +52 -0
- package/dist/modules/vendor/defu/dist/defu.js +35 -0
- package/dist/modules/vendor/ohash/dist/_chunks/is-equal.js +138 -0
- package/dist/modules/vendor/reka-ui/dist/Accordion/AccordionContent.js +54 -0
- package/dist/modules/vendor/reka-ui/dist/Accordion/AccordionHeader.js +41 -0
- package/dist/modules/vendor/reka-ui/dist/Accordion/AccordionItem.js +97 -0
- package/dist/modules/vendor/reka-ui/dist/Accordion/AccordionRoot.js +82 -0
- package/dist/modules/vendor/reka-ui/dist/Accordion/AccordionTrigger.js +56 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarCell.js +44 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarCellTrigger.js +203 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarGrid.js +39 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarGridBody.js +26 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarGridHead.js +26 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarGridRow.js +26 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarHeadCell.js +26 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarHeader.js +26 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarHeading.js +27 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarNext.js +50 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarPrev.js +50 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/CalendarRoot.js +291 -0
- package/dist/modules/vendor/reka-ui/dist/Calendar/useCalendar.js +197 -0
- package/dist/modules/vendor/reka-ui/dist/Checkbox/CheckboxGroupRoot.js +6 -0
- package/dist/modules/vendor/reka-ui/dist/Checkbox/CheckboxIndicator.js +49 -0
- package/dist/modules/vendor/reka-ui/dist/Checkbox/CheckboxRoot.js +198 -0
- package/dist/modules/vendor/reka-ui/dist/Checkbox/utils.js +10 -0
- package/dist/modules/vendor/reka-ui/dist/Collapsible/CollapsibleContent.js +86 -0
- package/dist/modules/vendor/reka-ui/dist/Collapsible/CollapsibleRoot.js +71 -0
- package/dist/modules/vendor/reka-ui/dist/Collapsible/CollapsibleTrigger.js +50 -0
- package/dist/modules/vendor/reka-ui/dist/Collection/Collection.js +68 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxAnchor.js +41 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxContent.js +148 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxContentImpl.js +234 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxGroup.js +44 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxInput.js +131 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxItem.js +73 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxItemIndicator.js +30 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxLabel.js +38 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxPortal.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxRoot.js +231 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/ComboboxViewport.js +50 -0
- package/dist/modules/vendor/reka-ui/dist/Combobox/useComboboxContentPositioning.js +32 -0
- package/dist/modules/vendor/reka-ui/dist/ConfigProvider/ConfigProvider.js +54 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuCheckboxItem.js +43 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuContent.js +132 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuItem.js +39 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuItemIndicator.js +30 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuPortal.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuRoot.js +67 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuSeparator.js +26 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuSub.js +37 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuSubContent.js +118 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuSubTrigger.js +38 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/ContextMenuTrigger.js +101 -0
- package/dist/modules/vendor/reka-ui/dist/ContextMenu/utils.js +6 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerCalendar.js +49 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerCell.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerCellTrigger.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerContent.js +139 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerGrid.js +25 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerGridBody.js +25 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerGridHead.js +25 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerGridRow.js +25 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerHeadCell.js +25 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerHeader.js +25 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerHeading.js +25 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerNext.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerPrev.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerRoot.js +235 -0
- package/dist/modules/vendor/reka-ui/dist/DatePicker/DatePickerTrigger.js +31 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogClose.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogContent.js +72 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogContentImpl.js +102 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogContentModal.js +84 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogContentNonModal.js +74 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogDescription.js +30 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogOverlay.js +48 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogOverlayImpl.js +48 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogPortal.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogRoot.js +63 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogTitle.js +28 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/DialogTrigger.js +45 -0
- package/dist/modules/vendor/reka-ui/dist/Dialog/utils.js +17 -0
- package/dist/modules/vendor/reka-ui/dist/DismissableLayer/DismissableLayer.js +98 -0
- package/dist/modules/vendor/reka-ui/dist/DismissableLayer/DismissableLayerBranch.js +35 -0
- package/dist/modules/vendor/reka-ui/dist/DismissableLayer/context.js +9 -0
- package/dist/modules/vendor/reka-ui/dist/DismissableLayer/utils.js +70 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerClose.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerContent.js +108 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerContentImpl.js +250 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerDescription.js +30 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerOverlay.js +48 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerOverlayImpl.js +51 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerPortal.js +32 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerProvider.js +6 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerRoot.js +159 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerTitle.js +28 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerTrigger.js +46 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerViewport.js +37 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/DrawerVirtualKeyboardProvider.js +23 -0
- package/dist/modules/vendor/reka-ui/dist/Drawer/utils.js +116 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuCheckboxItem.js +43 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuContent.js +151 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuItem.js +39 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuItemIndicator.js +30 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuPortal.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuRadioGroup.js +35 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuRadioItem.js +40 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuRoot.js +69 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuSeparator.js +26 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuSub.js +35 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuSubContent.js +118 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuSubTrigger.js +38 -0
- package/dist/modules/vendor/reka-ui/dist/DropdownMenu/DropdownMenuTrigger.js +75 -0
- package/dist/modules/vendor/reka-ui/dist/Field/FieldRoot.js +6 -0
- package/dist/modules/vendor/reka-ui/dist/FocusScope/FocusScope.js +139 -0
- package/dist/modules/vendor/reka-ui/dist/FocusScope/stack.js +22 -0
- package/dist/modules/vendor/reka-ui/dist/FocusScope/utils.js +61 -0
- package/dist/modules/vendor/reka-ui/dist/Listbox/ListboxContent.js +65 -0
- package/dist/modules/vendor/reka-ui/dist/Listbox/ListboxFilter.js +99 -0
- package/dist/modules/vendor/reka-ui/dist/Listbox/ListboxGroup.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/Listbox/ListboxGroupLabel.js +31 -0
- package/dist/modules/vendor/reka-ui/dist/Listbox/ListboxItem.js +90 -0
- package/dist/modules/vendor/reka-ui/dist/Listbox/ListboxItemIndicator.js +46 -0
- package/dist/modules/vendor/reka-ui/dist/Listbox/ListboxRoot.js +320 -0
- package/dist/modules/vendor/reka-ui/dist/Listbox/utils.js +11 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuAnchor.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuCheckboxItem.js +53 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuContent.js +134 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuContentImpl.js +305 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuGroup.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuItem.js +61 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuItemImpl.js +80 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuItemIndicator.js +46 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuPortal.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuRadioGroup.js +42 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuRadioItem.js +49 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuRoot.js +56 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuRootContentModal.js +125 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuRootContentNonModal.js +121 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuSeparator.js +28 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuSub.js +47 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuSubContent.js +151 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/MenuSubTrigger.js +127 -0
- package/dist/modules/vendor/reka-ui/dist/Menu/utils.js +69 -0
- package/dist/modules/vendor/reka-ui/dist/Popover/PopoverAnchor.js +37 -0
- package/dist/modules/vendor/reka-ui/dist/Popover/PopoverContent.js +133 -0
- package/dist/modules/vendor/reka-ui/dist/Popover/PopoverContentImpl.js +165 -0
- package/dist/modules/vendor/reka-ui/dist/Popover/PopoverContentModal.js +139 -0
- package/dist/modules/vendor/reka-ui/dist/Popover/PopoverContentNonModal.js +131 -0
- package/dist/modules/vendor/reka-ui/dist/Popover/PopoverPortal.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/Popover/PopoverRoot.js +56 -0
- package/dist/modules/vendor/reka-ui/dist/Popover/PopoverTrigger.js +55 -0
- package/dist/modules/vendor/reka-ui/dist/Popper/PopperAnchor.js +37 -0
- package/dist/modules/vendor/reka-ui/dist/Popper/PopperArrow.js +84 -0
- package/dist/modules/vendor/reka-ui/dist/Popper/PopperContent.js +272 -0
- package/dist/modules/vendor/reka-ui/dist/Popper/PopperRoot.js +18 -0
- package/dist/modules/vendor/reka-ui/dist/Popper/utils.js +34 -0
- package/dist/modules/vendor/reka-ui/dist/Presence/Presence.js +41 -0
- package/dist/modules/vendor/reka-ui/dist/Presence/usePresence.js +73 -0
- package/dist/modules/vendor/reka-ui/dist/Primitive/Primitive.js +27 -0
- package/dist/modules/vendor/reka-ui/dist/Primitive/Slot.js +23 -0
- package/dist/modules/vendor/reka-ui/dist/Primitive/usePrimitiveElement.js +12 -0
- package/dist/modules/vendor/reka-ui/dist/RadioGroup/Radio.js +111 -0
- package/dist/modules/vendor/reka-ui/dist/RadioGroup/RadioGroupIndicator.js +47 -0
- package/dist/modules/vendor/reka-ui/dist/RadioGroup/RadioGroupItem.js +115 -0
- package/dist/modules/vendor/reka-ui/dist/RadioGroup/RadioGroupRoot.js +123 -0
- package/dist/modules/vendor/reka-ui/dist/RadioGroup/utils.js +11 -0
- package/dist/modules/vendor/reka-ui/dist/RovingFocus/RovingFocusGroup.js +121 -0
- package/dist/modules/vendor/reka-ui/dist/RovingFocus/RovingFocusItem.js +110 -0
- package/dist/modules/vendor/reka-ui/dist/RovingFocus/utils.js +38 -0
- package/dist/modules/vendor/reka-ui/dist/Select/BubbleSelect.js +67 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectContent.js +162 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectContentImpl.js +288 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectGroup.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectIcon.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectItem.js +116 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectItemAlignedPosition.js +93 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectItemIndicator.js +46 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectItemText.js +45 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectLabel.js +31 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectPopperPosition.js +116 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectPortal.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectProvider.js +17 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectRoot.js +165 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectTrigger.js +152 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectValue.js +55 -0
- package/dist/modules/vendor/reka-ui/dist/Select/SelectViewport.js +72 -0
- package/dist/modules/vendor/reka-ui/dist/Select/utils.js +24 -0
- package/dist/modules/vendor/reka-ui/dist/Slider/SliderHorizontal.js +80 -0
- package/dist/modules/vendor/reka-ui/dist/Slider/SliderImpl.js +51 -0
- package/dist/modules/vendor/reka-ui/dist/Slider/SliderRange.js +46 -0
- package/dist/modules/vendor/reka-ui/dist/Slider/SliderRoot.js +184 -0
- package/dist/modules/vendor/reka-ui/dist/Slider/SliderThumb.js +28 -0
- package/dist/modules/vendor/reka-ui/dist/Slider/SliderThumbImpl.js +78 -0
- package/dist/modules/vendor/reka-ui/dist/Slider/SliderTrack.js +38 -0
- package/dist/modules/vendor/reka-ui/dist/Slider/SliderVertical.js +73 -0
- package/dist/modules/vendor/reka-ui/dist/Slider/utils.js +93 -0
- package/dist/modules/vendor/reka-ui/dist/Switch/SwitchRoot.js +137 -0
- package/dist/modules/vendor/reka-ui/dist/Switch/SwitchThumb.js +38 -0
- package/dist/modules/vendor/reka-ui/dist/Tabs/TabsContent.js +70 -0
- package/dist/modules/vendor/reka-ui/dist/Tabs/TabsList.js +55 -0
- package/dist/modules/vendor/reka-ui/dist/Tabs/TabsRoot.js +94 -0
- package/dist/modules/vendor/reka-ui/dist/Tabs/TabsTrigger.js +80 -0
- package/dist/modules/vendor/reka-ui/dist/Tabs/utils.js +10 -0
- package/dist/modules/vendor/reka-ui/dist/Teleport/Teleport.js +40 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/FocusProxy.js +24 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastAnnounce.js +27 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastAnnounceExclude.js +37 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastClose.js +36 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastDescription.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastPortal.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastPositioner.js +6 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastProvider.js +125 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastRoot.js +126 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastRootImpl.js +215 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastTitle.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/ToastViewport.js +146 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/createToastManager.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/useToastStore.js +64 -0
- package/dist/modules/vendor/reka-ui/dist/Toast/utils.js +37 -0
- package/dist/modules/vendor/reka-ui/dist/Toggle/Toggle.js +98 -0
- package/dist/modules/vendor/reka-ui/dist/ToggleGroup/ToggleGroupItem.js +54 -0
- package/dist/modules/vendor/reka-ui/dist/ToggleGroup/ToggleGroupRoot.js +113 -0
- package/dist/modules/vendor/reka-ui/dist/Tooltip/TooltipArrow.js +37 -0
- package/dist/modules/vendor/reka-ui/dist/Tooltip/TooltipContent.js +90 -0
- package/dist/modules/vendor/reka-ui/dist/Tooltip/TooltipContentHoverable.js +93 -0
- package/dist/modules/vendor/reka-ui/dist/Tooltip/TooltipContentImpl.js +138 -0
- package/dist/modules/vendor/reka-ui/dist/Tooltip/TooltipPortal.js +33 -0
- package/dist/modules/vendor/reka-ui/dist/Tooltip/TooltipProvider.js +70 -0
- package/dist/modules/vendor/reka-ui/dist/Tooltip/TooltipRoot.js +102 -0
- package/dist/modules/vendor/reka-ui/dist/Tooltip/TooltipTrigger.js +88 -0
- package/dist/modules/vendor/reka-ui/dist/Tooltip/utils.js +4 -0
- package/dist/modules/vendor/reka-ui/dist/Tree/TreeItem.js +153 -0
- package/dist/modules/vendor/reka-ui/dist/Tree/TreeRoot.js +216 -0
- package/dist/modules/vendor/reka-ui/dist/Tree/utils.js +6 -0
- package/dist/modules/vendor/reka-ui/dist/VisuallyHidden/VisuallyHidden.js +57 -0
- package/dist/modules/vendor/reka-ui/dist/VisuallyHidden/VisuallyHiddenInput.js +65 -0
- package/dist/modules/vendor/reka-ui/dist/VisuallyHidden/VisuallyHiddenInputBubble.js +55 -0
- package/dist/modules/vendor/reka-ui/dist/color/convert.js +157 -0
- package/dist/modules/vendor/reka-ui/dist/color/parse.js +70 -0
- package/dist/modules/vendor/reka-ui/dist/component/Arrow.js +58 -0
- package/dist/modules/vendor/reka-ui/dist/composables/useDrawerSnapPoints.js +81 -0
- package/dist/modules/vendor/reka-ui/dist/composables/useDrawerVirtualKeyboard.js +343 -0
- package/dist/modules/vendor/reka-ui/dist/composables/useSwipeDismiss.js +280 -0
- package/dist/modules/vendor/reka-ui/dist/date/calendar.js +60 -0
- package/dist/modules/vendor/reka-ui/dist/date/comparators.js +72 -0
- package/dist/modules/vendor/reka-ui/dist/date/utils.js +17 -0
- package/dist/modules/vendor/reka-ui/dist/shared/arrays.js +10 -0
- package/dist/modules/vendor/reka-ui/dist/shared/bodyPointerEvents.js +17 -0
- package/dist/modules/vendor/reka-ui/dist/shared/clamp.js +6 -0
- package/dist/modules/vendor/reka-ui/dist/shared/createContext.js +12 -0
- package/dist/modules/vendor/reka-ui/dist/shared/getActiveElement.js +9 -0
- package/dist/modules/vendor/reka-ui/dist/shared/handleAndDispatchCustomEvent.js +11 -0
- package/dist/modules/vendor/reka-ui/dist/shared/isHTMLElement.js +8 -0
- package/dist/modules/vendor/reka-ui/dist/shared/isValueEqualOrExist.js +8 -0
- package/dist/modules/vendor/reka-ui/dist/shared/nullish.js +6 -0
- package/dist/modules/vendor/reka-ui/dist/shared/renderSlotFragments.js +7 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useArrowNavigation.js +32 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useBodyScrollLock.js +83 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useCalendarKeyboardNavigation.js +70 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useComposing.js +29 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useDateFormatter.js +125 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useDirection.js +9 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useEmitAsProps.js +10 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useFilter.js +23 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useFocusGuards.js +20 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useFormControl.js +8 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useForwardExpose.js +50 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useForwardProps.js +19 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useForwardPropsEmits.js +13 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useForwardScopeId.js +8 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useGraceArea.js +162 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useHideOthers.js +21 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useId.js +12 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useIsUsingKeyboard.js +23 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useKbd.js +41 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useLocale.js +9 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useNonce.js +9 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useSelectionBehavior.js +44 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useSingleOrMultipleValue.js +45 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useSize.js +34 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useStateMachine.js +16 -0
- package/dist/modules/vendor/reka-ui/dist/shared/useTypeahead.js +36 -0
- package/dist/modules/virtual/cardHeight.js +32 -0
- package/dist/modules/virtual/galleryColumns.js +38 -0
- package/dist/modules/virtual/layoutMotion.js +51 -0
- package/dist/reka-runtime.json +2 -2
- package/package.json +1 -99
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
/*! @synopackageland/ui: MIT, Copyright (c) 2023-2025 Teable, Inc. and Copyright (c) 2019-present Baserow B.V. in parts; see LICENSES/source-notices.md */
|
|
2
|
+
import { APP_ROOT_SELECTOR as me } from "../lib/appRoot.js";
|
|
3
|
+
import { motionMs as W } from "../lib/motion.js";
|
|
4
|
+
import { trackPointerGesture as Z, DRAG_THRESHOLD_PX as ge, dropIndexAt as pe } from "../interaction/gesture.js";
|
|
5
|
+
import { isComposingKey as he } from "../interaction/ime.js";
|
|
6
|
+
import { registerOutsideLayer as ye, swallowNextClick as xe } from "../interaction/outside.js";
|
|
7
|
+
import { createAutoScroll as J } from "./autoScroll.js";
|
|
8
|
+
import { listGeometry as be, gridGeometry as Te, measuredGeometry as we } from "./layout.js";
|
|
9
|
+
const ke = 250, Ae = 6, Se = 100, Q = "data-dnd-lane", X = "data-dnd-key", _ = "data-dnd-index", G = "data-dnd-state", ve = "data-dnd-ghost", O = { x: 0, y: 0, width: 0, height: 0 };
|
|
10
|
+
function w(f) {
|
|
11
|
+
const p = f.getBoundingClientRect();
|
|
12
|
+
return { x: p.left, y: p.top, width: p.width, height: p.height };
|
|
13
|
+
}
|
|
14
|
+
function De(f, p, c) {
|
|
15
|
+
return p >= f.x && p < f.x + f.width && c >= f.y && c < f.y + f.height;
|
|
16
|
+
}
|
|
17
|
+
function ee(f) {
|
|
18
|
+
return f.performance?.now() ?? Date.now();
|
|
19
|
+
}
|
|
20
|
+
function Ee(f) {
|
|
21
|
+
const p = String(f);
|
|
22
|
+
return typeof CSS < "u" && CSS.escape ? CSS.escape(p) : p.replace(/["\\]/g, "\\$&");
|
|
23
|
+
}
|
|
24
|
+
function Ce(f) {
|
|
25
|
+
const p = /* @__PURE__ */ new Map(), c = {
|
|
26
|
+
phase: "idle",
|
|
27
|
+
mode: null,
|
|
28
|
+
key: null,
|
|
29
|
+
from: null,
|
|
30
|
+
to: null,
|
|
31
|
+
version: 0
|
|
32
|
+
};
|
|
33
|
+
let d = null, T = null, D = null, S = null, E = null;
|
|
34
|
+
const v = () => {
|
|
35
|
+
c.version++, f.onChange?.(c);
|
|
36
|
+
}, te = (e) => {
|
|
37
|
+
if (E?.view === e) return;
|
|
38
|
+
E?.remove();
|
|
39
|
+
const t = (n) => {
|
|
40
|
+
d?.pointerType === "touch" && d.mode === "pointer" && n.cancelable && n.preventDefault();
|
|
41
|
+
}, o = (n) => {
|
|
42
|
+
(T || d?.pointerType === "touch") && n.preventDefault();
|
|
43
|
+
};
|
|
44
|
+
e.addEventListener("touchmove", t, { passive: !1 }), e.addEventListener("contextmenu", o, !0), E = {
|
|
45
|
+
view: e,
|
|
46
|
+
remove: () => {
|
|
47
|
+
e.removeEventListener("touchmove", t), e.removeEventListener("contextmenu", o, !0);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}, oe = (e, t, o, n, s) => {
|
|
51
|
+
const i = e.axis ?? "y", r = Math.max(0, e.count()), a = e.layout?.() ?? { kind: "measured" };
|
|
52
|
+
if (a.kind === "list") return be(i, r, a.size, a.gap, a.start);
|
|
53
|
+
if (a.kind === "grid") return Te(r, a);
|
|
54
|
+
const l = [];
|
|
55
|
+
for (const h of t.querySelectorAll(`[${_}]`)) {
|
|
56
|
+
if (h.closest(`[${Q}]`) !== t) continue;
|
|
57
|
+
const x = Number(h.getAttribute(_));
|
|
58
|
+
if (!Number.isInteger(x) || x < 0 || x >= r) continue;
|
|
59
|
+
const m = w(h);
|
|
60
|
+
l[x] = { x: m.x - o.x + n, y: m.y - o.y + s, width: m.width, height: m.height };
|
|
61
|
+
}
|
|
62
|
+
const y = t.ownerDocument.defaultView?.getComputedStyle(t), g = Number.parseFloat((i === "y" ? y?.paddingTop : y?.paddingLeft) ?? "") || 0;
|
|
63
|
+
return we(i, Array.from({ length: r }, (h, x) => l[x] ?? O), g);
|
|
64
|
+
}, ne = (e) => {
|
|
65
|
+
const t = e.element();
|
|
66
|
+
if (!t) return null;
|
|
67
|
+
const o = e.scroller?.() ?? t, n = w(t), s = o === t ? n : w(o), i = o.scrollLeft, r = o.scrollTop, a = oe(e, t, n, 0, 0), l = e.autoScroll === !1 ? null : J(() => o, { axis: e.axis ?? "y", ...typeof e.autoScroll == "object" ? e.autoScroll : {} });
|
|
68
|
+
return {
|
|
69
|
+
options: e,
|
|
70
|
+
element: t,
|
|
71
|
+
scroller: o,
|
|
72
|
+
box: n,
|
|
73
|
+
hit: s,
|
|
74
|
+
scrollX0: i,
|
|
75
|
+
scrollY0: r,
|
|
76
|
+
scrollX: i,
|
|
77
|
+
scrollY: r,
|
|
78
|
+
geometry: a,
|
|
79
|
+
arrangement: a.arrange(-1, -1, O),
|
|
80
|
+
scroll: l
|
|
81
|
+
};
|
|
82
|
+
}, H = (e) => ({ x: 0, y: 0, width: e.sourceBox.width, height: e.sourceBox.height }), C = (e, t) => {
|
|
83
|
+
const o = t.options.id;
|
|
84
|
+
t.arrangement = t.geometry.arrange(
|
|
85
|
+
o === e.from.lane ? e.from.index : -1,
|
|
86
|
+
o === e.to.lane ? e.to.index : -1,
|
|
87
|
+
H(e)
|
|
88
|
+
);
|
|
89
|
+
}, se = (e, t, o) => {
|
|
90
|
+
let n = t === e.from.lane && o > e.from.index ? o - 1 : o;
|
|
91
|
+
return t === e.to.lane && n >= e.to.index && (n += 1), n;
|
|
92
|
+
}, ie = (e, t, o) => {
|
|
93
|
+
const n = e.hit, s = Math.min(n.x + n.width - 1, Math.max(n.x, t)), i = Math.min(n.y + n.height - 1, Math.max(n.y, o));
|
|
94
|
+
return {
|
|
95
|
+
x: s - e.box.x + e.scrollX - e.scrollX0,
|
|
96
|
+
y: i - e.box.y + e.scrollY - e.scrollY0
|
|
97
|
+
};
|
|
98
|
+
}, re = (e, t, o, n) => {
|
|
99
|
+
const s = t.options.id, i = s === e.to.lane, r = i ? t.arrangement : t.geometry.arrange(s === e.from.lane ? e.from.index : -1, -1, H(e)), a = ie(t, o, n), l = r.slotAt(a.x, a.y);
|
|
100
|
+
if (l < 0) return 0;
|
|
101
|
+
if (i && l === e.to.index) return e.to.index;
|
|
102
|
+
const y = i && l > e.to.index ? l - 1 : l, g = r.rect(l), h = t.geometry.axis;
|
|
103
|
+
return pe(h === "y" ? a.y : a.x, y, h === "y" ? g.y : g.x, h === "y" ? g.height : g.width);
|
|
104
|
+
}, U = (e, t, o) => {
|
|
105
|
+
if (e.to.lane === t && e.to.index === o) return !1;
|
|
106
|
+
e.to = { lane: t, index: o };
|
|
107
|
+
for (const n of e.lanes.values()) C(e, n);
|
|
108
|
+
return c.to = e.to, v(), !0;
|
|
109
|
+
}, Y = (e, t) => {
|
|
110
|
+
if (e.mode !== "pointer" || c.phase !== "dragging" || ee(t) < e.lockedUntil) return;
|
|
111
|
+
const { pointerX: o, pointerY: n } = e;
|
|
112
|
+
let s;
|
|
113
|
+
for (const r of e.lanes.values())
|
|
114
|
+
if (De(r.hit, o, n) && !(r.options.accepts && !r.options.accepts(e.key, e.from))) {
|
|
115
|
+
s = r;
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
if (s ??= e.lanes.get(e.to.lane), !s) return;
|
|
119
|
+
const i = re(e, s, o, n);
|
|
120
|
+
if (U(e, s.options.id, i)) {
|
|
121
|
+
const r = f.swapLockMs ?? Se;
|
|
122
|
+
e.lockedUntil = ee(t) + r, e.lockTimer && t.clearTimeout(e.lockTimer), e.lockTimer = t.setTimeout(() => {
|
|
123
|
+
e.lockTimer = 0, d === e && Y(e, t);
|
|
124
|
+
}, r + 1);
|
|
125
|
+
}
|
|
126
|
+
}, q = (e, t) => ({
|
|
127
|
+
x: e.box.x + t.x - (e.scrollX - e.scrollX0),
|
|
128
|
+
y: e.box.y + t.y - (e.scrollY - e.scrollY0),
|
|
129
|
+
width: t.width,
|
|
130
|
+
height: t.height
|
|
131
|
+
}), F = (e) => {
|
|
132
|
+
const t = e.lanes.get(e.to.lane);
|
|
133
|
+
return t ? q(t, t.arrangement.rect(e.to.index)) : null;
|
|
134
|
+
}, R = (e) => {
|
|
135
|
+
const t = e.ghost;
|
|
136
|
+
if (!t) return;
|
|
137
|
+
if (e.mode === "pointer") {
|
|
138
|
+
const n = e.pointerX - e.grabX - e.sourceBox.x, s = e.pointerY - e.grabY - e.sourceBox.y;
|
|
139
|
+
t.style.transform = `translate3d(${n}px, ${s}px, 0)`;
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
const o = F(e);
|
|
143
|
+
o && (t.style.transform = `translate3d(${o.x - e.sourceBox.x}px, ${o.y - e.sourceBox.y}px, 0)`);
|
|
144
|
+
}, le = (e) => {
|
|
145
|
+
const t = e.source;
|
|
146
|
+
if (!t) return null;
|
|
147
|
+
const o = f.ghost?.(t) ?? t.cloneNode(!0);
|
|
148
|
+
o.setAttribute(ve, ""), o.setAttribute("aria-hidden", "true"), o.removeAttribute("id"), o.removeAttribute(X), o.removeAttribute(_), o.removeAttribute(G);
|
|
149
|
+
for (const i of o.querySelectorAll("[id]")) i.removeAttribute("id");
|
|
150
|
+
const n = e.sourceBox;
|
|
151
|
+
return Object.assign(o.style, {
|
|
152
|
+
position: "fixed",
|
|
153
|
+
left: `${n.x}px`,
|
|
154
|
+
top: `${n.y}px`,
|
|
155
|
+
width: `${n.width}px`,
|
|
156
|
+
height: `${n.height}px`,
|
|
157
|
+
margin: "0",
|
|
158
|
+
boxSizing: "border-box",
|
|
159
|
+
zIndex: "5000",
|
|
160
|
+
pointerEvents: "none",
|
|
161
|
+
opacity: "1",
|
|
162
|
+
visibility: "visible",
|
|
163
|
+
boxShadow: "var(--ui-shadow-menu)",
|
|
164
|
+
transform: "translate3d(0, 0, 0)",
|
|
165
|
+
transition: e.mode === "keyboard" ? "transform var(--ui-motion-drag, var(--ui-motion-normal)) var(--ui-motion-drag-ease, var(--ui-motion-ease))" : "none",
|
|
166
|
+
willChange: "transform",
|
|
167
|
+
cursor: "grabbing"
|
|
168
|
+
}), (f.ghostParent?.(t) ?? t.closest(me) ?? t.ownerDocument.body).appendChild(o), o;
|
|
169
|
+
}, ae = (e) => [...e.lanes.values()].map((t) => t.element), L = (e) => {
|
|
170
|
+
const t = `[${X}="${Ee(e)}"]`;
|
|
171
|
+
for (const o of p.values()) {
|
|
172
|
+
const n = o.element()?.querySelector(t);
|
|
173
|
+
if (n) return n;
|
|
174
|
+
}
|
|
175
|
+
return null;
|
|
176
|
+
}, B = (e, t, o) => {
|
|
177
|
+
const n = e.ghost, s = e.view, i = W("--ui-motion-drag-settle", e.source ?? void 0);
|
|
178
|
+
if (!n || !t || i <= 0) {
|
|
179
|
+
n?.remove(), o();
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
const r = `translate3d(${t.x - e.sourceBox.x}px, ${t.y - e.sourceBox.y}px, 0)`;
|
|
183
|
+
n.style.transition = `transform ${i}ms var(--ui-motion-drag-settle-ease, cubic-bezier(.2, 1, .1, 1))`, n.style.transform = r;
|
|
184
|
+
let a = !1;
|
|
185
|
+
const l = () => {
|
|
186
|
+
a || (a = !0, s.clearTimeout(g), n.removeEventListener("transitionend", y), n.remove(), S === l && (S = null), o());
|
|
187
|
+
}, y = (h) => {
|
|
188
|
+
h.target === n && l();
|
|
189
|
+
};
|
|
190
|
+
n.addEventListener("transitionend", y);
|
|
191
|
+
const g = s.setTimeout(l, i + 50);
|
|
192
|
+
S = l;
|
|
193
|
+
}, N = (e, t = !1) => {
|
|
194
|
+
t || (e.gesture?.dispose(), e.gesture = null), e.layer?.dispose(), e.layer = null;
|
|
195
|
+
for (const o of e.lanes.values()) o.scroll?.stop();
|
|
196
|
+
for (const o of e.outer) o.stop();
|
|
197
|
+
e.lockTimer && e.view.clearTimeout(e.lockTimer), e.lockTimer = 0;
|
|
198
|
+
for (const o of e.cleanup.splice(0)) o();
|
|
199
|
+
}, M = () => {
|
|
200
|
+
d = null, D = null, Object.assign(c, { phase: "idle", mode: null, key: null, from: null, to: null }), v();
|
|
201
|
+
}, ce = (e, t, o) => {
|
|
202
|
+
if (!t) return;
|
|
203
|
+
const n = W("--ui-motion-drag-settle", L(e));
|
|
204
|
+
n <= 0 || o.requestAnimationFrame(() => {
|
|
205
|
+
const s = L(e);
|
|
206
|
+
if (!s || typeof s.animate != "function") return;
|
|
207
|
+
const i = w(s), r = t.x - i.x, a = t.y - i.y;
|
|
208
|
+
!r && !a || s.animate(
|
|
209
|
+
[{ transform: `translate(${r}px, ${a}px)` }, { transform: "none" }],
|
|
210
|
+
{ duration: n, easing: "cubic-bezier(.2, 1, .1, 1)" }
|
|
211
|
+
);
|
|
212
|
+
});
|
|
213
|
+
}, I = (e) => {
|
|
214
|
+
const t = e.view;
|
|
215
|
+
N(e);
|
|
216
|
+
const o = { key: e.key, from: e.from, to: e.to }, n = o.from.lane === o.to.lane && o.from.index === o.to.index, s = F(e);
|
|
217
|
+
if (n) {
|
|
218
|
+
c.phase = "returning", v(), B(e, s, () => {
|
|
219
|
+
d === e && M();
|
|
220
|
+
});
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
D = e.key, c.phase = "settling", v();
|
|
224
|
+
let i;
|
|
225
|
+
try {
|
|
226
|
+
i = f.onDrop(o);
|
|
227
|
+
} catch (r) {
|
|
228
|
+
i = Promise.reject(r);
|
|
229
|
+
}
|
|
230
|
+
B(e, s, () => {
|
|
231
|
+
d === e && M(), e.mode === "keyboard" && t.requestAnimationFrame(() => L(o.key)?.focus({ preventScroll: !0 }));
|
|
232
|
+
}), i && typeof i.then == "function" && i.then(void 0, (r) => {
|
|
233
|
+
d === e && S?.();
|
|
234
|
+
const a = L(o.key), l = a ? w(a) : null;
|
|
235
|
+
f.onRestore?.(o, r), ce(o.key, l, t);
|
|
236
|
+
});
|
|
237
|
+
}, $ = (e) => {
|
|
238
|
+
if (c.phase !== "dragging") return;
|
|
239
|
+
const t = !!e.gesture?.active;
|
|
240
|
+
N(e, t), e.to = e.from;
|
|
241
|
+
for (const n of e.lanes.values()) C(e, n);
|
|
242
|
+
c.to = e.from, c.phase = "returning", v(), f.onCancel?.(c);
|
|
243
|
+
const o = e.source?.isConnected ? e.source : L(e.key);
|
|
244
|
+
B(e, o ? w(o) : null, () => {
|
|
245
|
+
d === e && M();
|
|
246
|
+
});
|
|
247
|
+
}, K = (e, t) => {
|
|
248
|
+
for (const s of p.values()) {
|
|
249
|
+
const i = ne(s);
|
|
250
|
+
i && e.lanes.set(s.id, i);
|
|
251
|
+
}
|
|
252
|
+
if (!e.lanes.has(e.from.lane)) return !1;
|
|
253
|
+
for (const s of e.lanes.values()) {
|
|
254
|
+
C(e, s);
|
|
255
|
+
const i = s.scroller, r = () => {
|
|
256
|
+
s.scrollX = i.scrollLeft, s.scrollY = i.scrollTop, e.mode === "keyboard" ? R(e) : Y(e, t);
|
|
257
|
+
};
|
|
258
|
+
i.addEventListener("scroll", r, { passive: !0 }), e.cleanup.push(() => i.removeEventListener("scroll", r));
|
|
259
|
+
}
|
|
260
|
+
let o = 0;
|
|
261
|
+
const n = (s) => {
|
|
262
|
+
[...e.lanes.values()].some((i) => i.scroller === s.target) || o || (o = t.requestAnimationFrame(() => {
|
|
263
|
+
o = 0;
|
|
264
|
+
for (const i of e.lanes.values()) {
|
|
265
|
+
const r = w(i.element), a = i.scroller !== i.element;
|
|
266
|
+
i.box = a ? { ...r, x: r.x + i.scrollX - i.scrollX0, y: r.y + i.scrollY - i.scrollY0 } : r, i.hit = a ? w(i.scroller) : r;
|
|
267
|
+
}
|
|
268
|
+
Y(e, t);
|
|
269
|
+
}));
|
|
270
|
+
};
|
|
271
|
+
if (t.addEventListener("scroll", n, { capture: !0, passive: !0 }), e.cleanup.push(() => {
|
|
272
|
+
t.removeEventListener("scroll", n, { capture: !0 }), o && t.cancelAnimationFrame(o);
|
|
273
|
+
}), e.outer = (f.scrollers ?? []).map((s) => J(s.element, s)), e.ghost = le(e), e.mode === "pointer") {
|
|
274
|
+
const s = t.document.documentElement, i = { select: s.style.userSelect, cursor: s.style.cursor };
|
|
275
|
+
s.style.userSelect = "none", s.style.cursor = "grabbing", t.getSelection?.()?.removeAllRanges(), e.cleanup.push(() => {
|
|
276
|
+
s.style.userSelect = i.select, s.style.cursor = i.cursor;
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
return e.layer = ye(t, {
|
|
280
|
+
elements: () => [...ae(e), e.ghost],
|
|
281
|
+
onEscape: () => ($(e), !0)
|
|
282
|
+
}), d = e, Object.assign(c, { phase: "dragging", mode: e.mode, key: e.key, from: e.from, to: e.to }), v(), f.onStart?.(c), !0;
|
|
283
|
+
}, P = (e, t, o) => {
|
|
284
|
+
if (e.pointerX = t, e.pointerY = o, !(c.phase !== "dragging" || d !== e)) {
|
|
285
|
+
R(e), Y(e, e.view), e.lanes.get(e.to.lane)?.scroll?.update(t, o);
|
|
286
|
+
for (const n of e.outer) n.update(t, o);
|
|
287
|
+
}
|
|
288
|
+
}, V = (e, t, o, n, s, i, r) => {
|
|
289
|
+
const a = o ? w(o) : O;
|
|
290
|
+
return {
|
|
291
|
+
key: e,
|
|
292
|
+
from: t,
|
|
293
|
+
to: t,
|
|
294
|
+
mode: n,
|
|
295
|
+
pointerType: s,
|
|
296
|
+
source: o,
|
|
297
|
+
sourceBox: a,
|
|
298
|
+
grabX: i - a.x,
|
|
299
|
+
grabY: r - a.y,
|
|
300
|
+
pointerX: i,
|
|
301
|
+
pointerY: r,
|
|
302
|
+
lanes: /* @__PURE__ */ new Map(),
|
|
303
|
+
ghost: null,
|
|
304
|
+
lockedUntil: 0,
|
|
305
|
+
lockTimer: 0,
|
|
306
|
+
view: o?.ownerDocument.defaultView ?? window,
|
|
307
|
+
gesture: null,
|
|
308
|
+
layer: null,
|
|
309
|
+
outer: [],
|
|
310
|
+
cleanup: []
|
|
311
|
+
};
|
|
312
|
+
}, j = () => c.phase !== "idle" || !!T, fe = (e, t, o) => {
|
|
313
|
+
const n = d;
|
|
314
|
+
if (D !== null && o === D && c.phase === "settling") return { visibility: "hidden" };
|
|
315
|
+
if (!n || c.phase !== "dragging" && c.phase !== "returning") return {};
|
|
316
|
+
if (e === n.from.lane && t === n.from.index)
|
|
317
|
+
return { opacity: "0", pointerEvents: "none" };
|
|
318
|
+
const s = n.lanes.get(e), i = "transform var(--ui-motion-drag, var(--ui-motion-normal)) var(--ui-motion-drag-ease, var(--ui-motion-ease))";
|
|
319
|
+
if (!s) return { transition: i };
|
|
320
|
+
const r = se(n, e, t), a = s.arrangement.rect(r), l = s.geometry.origin(t), y = a.x - l.x, g = a.y - l.y;
|
|
321
|
+
return { transform: y || g ? `translate3d(${y}px, ${g}px, 0)` : "none", transition: i };
|
|
322
|
+
}, z = {
|
|
323
|
+
get state() {
|
|
324
|
+
return c;
|
|
325
|
+
},
|
|
326
|
+
lane(e) {
|
|
327
|
+
return p.set(e.id, e), () => {
|
|
328
|
+
p.get(e.id) === e && p.delete(e.id);
|
|
329
|
+
};
|
|
330
|
+
},
|
|
331
|
+
pointerDown(e, t, o, n) {
|
|
332
|
+
if (e.button !== 0 || e.defaultPrevented || ((c.phase === "settling" || c.phase === "returning") && S?.(), j())) return;
|
|
333
|
+
const s = { lane: t, index: o };
|
|
334
|
+
if (f.canDrag && !f.canDrag(n, s)) return;
|
|
335
|
+
const i = e.currentTarget instanceof HTMLElement ? e.currentTarget.closest(`[${X}]`) ?? e.currentTarget : null, r = i?.ownerDocument.defaultView ?? window, a = e.pointerType === "touch", l = V(n, s, i, "pointer", e.pointerType, e.clientX, e.clientY), y = () => (l.sourceBox = i ? w(i) : O, l.grabX = e.clientX - l.sourceBox.x, l.grabY = e.clientY - l.sourceBox.y, K(l, r));
|
|
336
|
+
if (!a) {
|
|
337
|
+
const u = Z(e, {
|
|
338
|
+
threshold: f.threshold ?? ge,
|
|
339
|
+
onStart: () => {
|
|
340
|
+
l.gesture = u, y() || u.dispose();
|
|
341
|
+
},
|
|
342
|
+
onMove: (A) => {
|
|
343
|
+
d === l && P(l, A.x, A.y);
|
|
344
|
+
},
|
|
345
|
+
onEnd: () => {
|
|
346
|
+
d === l && c.phase === "dragging" && I(l);
|
|
347
|
+
},
|
|
348
|
+
onCancel: (A, ue) => {
|
|
349
|
+
d === l && ue !== "dispose" && $(l);
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
te(r);
|
|
355
|
+
const g = f.holdTolerance ?? Ae;
|
|
356
|
+
let h = !1;
|
|
357
|
+
const x = (u) => {
|
|
358
|
+
u.pointerId === e.pointerId && (l.pointerX = u.clientX, l.pointerY = u.clientY, h ? d === l && P(l, u.clientX, u.clientY) : Math.max(Math.abs(u.clientX - e.clientX), Math.abs(u.clientY - e.clientY)) > g && b.dispose());
|
|
359
|
+
}, m = () => {
|
|
360
|
+
r.removeEventListener("pointermove", x, !0), T?.gesture === b && (r.clearTimeout(T.timer), T = null);
|
|
361
|
+
}, b = Z(e, {
|
|
362
|
+
threshold: Number.POSITIVE_INFINITY,
|
|
363
|
+
// Capturing a touch before it lifts would keep native scrolling from taking it.
|
|
364
|
+
capture: !1,
|
|
365
|
+
onEnd: () => {
|
|
366
|
+
m(), h && (xe(r), d === l && c.phase === "dragging" && I(l));
|
|
367
|
+
},
|
|
368
|
+
onCancel: (u, A) => {
|
|
369
|
+
m(), d === l && A !== "dispose" && $(l);
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
r.addEventListener("pointermove", x, !0);
|
|
373
|
+
const k = r.setTimeout(() => {
|
|
374
|
+
if (b.active) {
|
|
375
|
+
if (T = null, h = !0, l.gesture = b, !y()) return b.dispose();
|
|
376
|
+
if (i) {
|
|
377
|
+
const u = i.style.touchAction;
|
|
378
|
+
i.style.touchAction = "none", l.cleanup.push(() => {
|
|
379
|
+
i.style.touchAction = u;
|
|
380
|
+
});
|
|
381
|
+
try {
|
|
382
|
+
i.setPointerCapture?.(e.pointerId);
|
|
383
|
+
} catch {
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
l.cleanup.push(m), P(l, l.pointerX, l.pointerY);
|
|
387
|
+
}
|
|
388
|
+
}, f.holdMs ?? ke);
|
|
389
|
+
T = { gesture: b, timer: k, view: r };
|
|
390
|
+
},
|
|
391
|
+
keyDown(e, t, o, n) {
|
|
392
|
+
if (he(e)) return !1;
|
|
393
|
+
const s = d;
|
|
394
|
+
if (!s || s.mode !== "keyboard") {
|
|
395
|
+
if (e.key !== " " || e.repeat || j()) return !1;
|
|
396
|
+
const m = { lane: t, index: o };
|
|
397
|
+
if (f.canDrag && !f.canDrag(n, m)) return !1;
|
|
398
|
+
const b = e.currentTarget instanceof HTMLElement ? e.currentTarget.closest(`[${X}]`) ?? e.currentTarget : null, k = b?.ownerDocument.defaultView ?? window, u = V(n, m, b, "keyboard", "keyboard", 0, 0);
|
|
399
|
+
return K(u, k) ? (e.preventDefault(), !0) : !1;
|
|
400
|
+
}
|
|
401
|
+
if (c.phase !== "dragging") return !1;
|
|
402
|
+
if (e.key === " " || e.key === "Enter")
|
|
403
|
+
return e.preventDefault(), I(s), !0;
|
|
404
|
+
const i = s.lanes.get(s.to.lane);
|
|
405
|
+
if (!i) return !1;
|
|
406
|
+
const r = i.geometry.axis, a = i.options.layout?.(), l = a?.kind === "grid" ? Math.max(1, Math.floor(a.columns)) : 1, y = r === "y" ? ["ArrowUp", "ArrowDown"] : ["ArrowLeft", "ArrowRight"], g = r === "y" ? ["ArrowLeft", "ArrowRight"] : ["ArrowUp", "ArrowDown"], h = i.arrangement.count - 1;
|
|
407
|
+
let x = null;
|
|
408
|
+
if (y.includes(e.key)) {
|
|
409
|
+
const m = e.key === y[0] ? -1 : 1;
|
|
410
|
+
x = { lane: s.to.lane, index: Math.min(h, Math.max(0, s.to.index + m)) };
|
|
411
|
+
} else if (g.includes(e.key) && l > 1) {
|
|
412
|
+
const m = e.key === g[0] ? -l : l;
|
|
413
|
+
x = { lane: s.to.lane, index: Math.min(h, Math.max(0, s.to.index + m)) };
|
|
414
|
+
} else if (g.includes(e.key)) {
|
|
415
|
+
const m = [...s.lanes.keys()], b = e.key === g[0] ? -1 : 1;
|
|
416
|
+
for (let k = m.indexOf(s.to.lane) + b; k >= 0 && k < m.length; k += b) {
|
|
417
|
+
const u = s.lanes.get(m[k]);
|
|
418
|
+
if (u.options.accepts && !u.options.accepts(s.key, s.from)) continue;
|
|
419
|
+
const A = u.geometry.count - (u.options.id === s.from.lane ? 1 : 0);
|
|
420
|
+
x = { lane: u.options.id, index: Math.min(A, s.to.index) };
|
|
421
|
+
break;
|
|
422
|
+
}
|
|
423
|
+
} else
|
|
424
|
+
return !1;
|
|
425
|
+
return e.preventDefault(), x && U(s, x.lane, x.index) && (de(s), R(s)), !0;
|
|
426
|
+
},
|
|
427
|
+
item(e, t, o) {
|
|
428
|
+
const n = {
|
|
429
|
+
[X]: String(o),
|
|
430
|
+
[_]: t,
|
|
431
|
+
style: fe(e, t, o)
|
|
432
|
+
};
|
|
433
|
+
return c.phase === "settling" && D === o ? n[G] = "settling" : d && c.phase !== "idle" && d.key === o && (n[G] = "source"), n;
|
|
434
|
+
},
|
|
435
|
+
laneAttrs(e) {
|
|
436
|
+
return { [Q]: e };
|
|
437
|
+
},
|
|
438
|
+
placeholder(e) {
|
|
439
|
+
const t = d;
|
|
440
|
+
if (!t || c.phase !== "dragging" || t.to.lane !== e) return null;
|
|
441
|
+
const o = t.lanes.get(e);
|
|
442
|
+
if (!o) return null;
|
|
443
|
+
const n = o.arrangement.rect(t.to.index);
|
|
444
|
+
return {
|
|
445
|
+
index: t.to.index,
|
|
446
|
+
rect: n,
|
|
447
|
+
style: {
|
|
448
|
+
position: "absolute",
|
|
449
|
+
left: `${n.x}px`,
|
|
450
|
+
top: `${n.y}px`,
|
|
451
|
+
width: `${n.width || t.sourceBox.width}px`,
|
|
452
|
+
height: `${n.height || t.sourceBox.height}px`,
|
|
453
|
+
pointerEvents: "none",
|
|
454
|
+
transition: "transform var(--ui-motion-drag, var(--ui-motion-normal)) var(--ui-motion-drag-ease, var(--ui-motion-ease))"
|
|
455
|
+
}
|
|
456
|
+
};
|
|
457
|
+
},
|
|
458
|
+
isDragging(e) {
|
|
459
|
+
return c.phase !== "idle" && c.key === e;
|
|
460
|
+
},
|
|
461
|
+
cancel() {
|
|
462
|
+
T && (T.gesture.dispose(), T = null), d && c.phase === "dragging" && $(d);
|
|
463
|
+
},
|
|
464
|
+
dispose() {
|
|
465
|
+
z.cancel(), S?.(), d && (N(d), d.ghost?.remove(), M()), E?.remove(), E = null, p.clear();
|
|
466
|
+
}
|
|
467
|
+
}, de = (e) => {
|
|
468
|
+
const t = e.lanes.get(e.to.lane);
|
|
469
|
+
if (!t) return;
|
|
470
|
+
const o = q(t, t.arrangement.rect(e.to.index)), n = t.hit, s = t.scroller;
|
|
471
|
+
o.y < n.y ? s.scrollTop -= n.y - o.y : o.y + o.height > n.y + n.height && (s.scrollTop += o.y + o.height - n.y - n.height), o.x < n.x ? s.scrollLeft -= n.x - o.x : o.x + o.width > n.x + n.width && (s.scrollLeft += o.x + o.width - n.x - n.width), t.scrollX = s.scrollLeft, t.scrollY = s.scrollTop;
|
|
472
|
+
};
|
|
473
|
+
return z;
|
|
474
|
+
}
|
|
475
|
+
export {
|
|
476
|
+
ve as DND_GHOST_ATTR,
|
|
477
|
+
_ as DND_INDEX_ATTR,
|
|
478
|
+
X as DND_KEY_ATTR,
|
|
479
|
+
Q as DND_LANE_ATTR,
|
|
480
|
+
G as DND_STATE_ATTR,
|
|
481
|
+
Se as SWAP_LOCK_MS,
|
|
482
|
+
ke as TOUCH_HOLD_MS,
|
|
483
|
+
Ae as TOUCH_HOLD_TOLERANCE_PX,
|
|
484
|
+
Ce as createDragKit
|
|
485
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
const p = (n, t, h) => Math.min(h, Math.max(t, n)), X = (n, t, h) => n - (t >= 0 ? 1 : 0) + (h >= 0 ? 1 : 0);
|
|
2
|
+
function A(n, t, h, a = 0, m = 0, o = 0) {
|
|
3
|
+
const u = h + a, f = (r, e) => {
|
|
4
|
+
const c = m + r * u, s = n === "y" ? e?.width ?? 0 : e?.height ?? 0;
|
|
5
|
+
return n === "y" ? { x: o, y: c, width: s, height: h } : { x: c, y: o, width: h, height: s };
|
|
6
|
+
};
|
|
7
|
+
return {
|
|
8
|
+
axis: n,
|
|
9
|
+
count: t,
|
|
10
|
+
origin: (r) => f(r),
|
|
11
|
+
arrange(r, e, c) {
|
|
12
|
+
const s = X(t, r, e);
|
|
13
|
+
return {
|
|
14
|
+
count: s,
|
|
15
|
+
rect: (l) => f(l, c),
|
|
16
|
+
slotAt(l, g) {
|
|
17
|
+
return s === 0 ? -1 : p(Math.floor(((n === "y" ? g : l) - m) / (u || 1)), 0, s - 1);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function G(n, t) {
|
|
24
|
+
const h = Math.max(1, Math.floor(t.columns)), { width: a, height: m } = t, o = a + (t.gapX ?? 0), u = m + (t.gapY ?? 0), f = t.startX ?? 0, r = t.startY ?? 0, e = (c) => ({
|
|
25
|
+
x: f + c % h * o,
|
|
26
|
+
y: r + Math.floor(c / h) * u,
|
|
27
|
+
width: a,
|
|
28
|
+
height: m
|
|
29
|
+
});
|
|
30
|
+
return {
|
|
31
|
+
axis: "x",
|
|
32
|
+
count: n,
|
|
33
|
+
origin: e,
|
|
34
|
+
arrange(c, s) {
|
|
35
|
+
const l = X(n, c, s);
|
|
36
|
+
return {
|
|
37
|
+
count: l,
|
|
38
|
+
rect: e,
|
|
39
|
+
slotAt(g, w) {
|
|
40
|
+
if (l === 0) return -1;
|
|
41
|
+
const i = p(Math.floor((g - f) / (o || 1)), 0, h - 1), y = Math.max(0, Math.floor((w - r) / (u || 1)));
|
|
42
|
+
return p(y * h + i, 0, l - 1);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function S(n, t, h = 0) {
|
|
49
|
+
const a = (e) => n === "y" ? e.y : e.x, m = (e) => n === "y" ? e.height : e.width, o = t[0], u = o ? a(o) : h, f = t.length > 1 ? Math.max(0, a(t[1]) - a(o) - m(o)) : 0, r = o ? n === "y" ? o.x : o.y : 0;
|
|
50
|
+
return {
|
|
51
|
+
axis: n,
|
|
52
|
+
count: t.length,
|
|
53
|
+
origin: (e) => t[e] ?? { x: 0, y: u, width: 0, height: 0 },
|
|
54
|
+
arrange(e, c, s) {
|
|
55
|
+
const l = t.filter((i, y) => y !== e), g = [];
|
|
56
|
+
c >= 0 && l.splice(p(c, 0, l.length), 0, s);
|
|
57
|
+
let w = u;
|
|
58
|
+
for (const i of l)
|
|
59
|
+
g.push(n === "y" ? { x: r, y: w, width: i.width, height: i.height } : { x: w, y: r, width: i.width, height: i.height }), w += m(i) + f;
|
|
60
|
+
return {
|
|
61
|
+
count: g.length,
|
|
62
|
+
rect: (i) => g[i] ?? { x: r, y: u, width: s.width, height: s.height },
|
|
63
|
+
slotAt(i, y) {
|
|
64
|
+
if (!g.length) return -1;
|
|
65
|
+
const Y = n === "y" ? y : i;
|
|
66
|
+
let d = 0, M = g.length - 1;
|
|
67
|
+
for (; d < M; ) {
|
|
68
|
+
const x = d + M + 1 >> 1;
|
|
69
|
+
a(g[x]) <= Y ? d = x : M = x - 1;
|
|
70
|
+
}
|
|
71
|
+
return d;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
G as gridGeometry,
|
|
79
|
+
A as listGeometry,
|
|
80
|
+
S as measuredGeometry
|
|
81
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { shallowRef as u, getCurrentScope as t, onScopeDispose as a } from "vue";
|
|
2
|
+
import { createDragKit as g } from "./dragKit.js";
|
|
3
|
+
function p(i) {
|
|
4
|
+
const o = u(0), r = g({
|
|
5
|
+
...i,
|
|
6
|
+
onChange: (e) => {
|
|
7
|
+
o.value = e.version, i.onChange?.(e);
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
return t() && a(() => r.dispose()), {
|
|
11
|
+
kit: r,
|
|
12
|
+
version: o,
|
|
13
|
+
item(e, n, s) {
|
|
14
|
+
return o.value, r.item(e, n, s);
|
|
15
|
+
},
|
|
16
|
+
placeholder(e) {
|
|
17
|
+
return o.value, r.placeholder(e);
|
|
18
|
+
},
|
|
19
|
+
isDragging(e) {
|
|
20
|
+
return o.value, r.isDragging(e);
|
|
21
|
+
},
|
|
22
|
+
useLane(e) {
|
|
23
|
+
const n = r.lane(e);
|
|
24
|
+
return t() && a(n), n;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
p as useDragKit
|
|
30
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as y, computed as n, openBlock as a, createElementBlock as o, normalizeStyle as g, unref as t, Fragment as h, createBlock as d, resolveDynamicComponent as k, normalizeClass as v, createCommentVNode as r, toDisplayString as u, withCtx as C, createTextVNode as w } from "vue";
|
|
2
|
+
import { CircleAlert as L, CircleCheck as S, LoaderCircle as _ } from "@lucide/vue";
|
|
3
|
+
import b from "../components/primitives/button/Button.vue.js";
|
|
4
|
+
import { useLocalizedDefaults as x } from "../i18n/text.js";
|
|
5
|
+
import { useShowAfter as D } from "./showAfter.js";
|
|
6
|
+
import { PENDING_DELAY_MS as z } from "./timing.js";
|
|
7
|
+
const N = ["data-state"], A = ["title"], R = /* @__PURE__ */ y({
|
|
8
|
+
__name: "StatusSlot",
|
|
9
|
+
props: {
|
|
10
|
+
state: { default: "idle" },
|
|
11
|
+
message: { default: "" },
|
|
12
|
+
width: { default: "100%" },
|
|
13
|
+
height: { default: "var(--ui-control-md)" },
|
|
14
|
+
delay: { default: z },
|
|
15
|
+
retryLabel: {}
|
|
16
|
+
},
|
|
17
|
+
emits: ["retry"],
|
|
18
|
+
setup(s, { emit: m }) {
|
|
19
|
+
const e = x(s, { retryLabel: "Retry" }), c = m, p = D(() => e.state === "pending", { delay: e.delay }), f = n(() => e.state === "pending" ? p.value : e.state !== "idle"), i = n(() => ({ pending: _, saved: S, error: L, idle: null })[e.state]);
|
|
20
|
+
return (E, l) => (a(), o("span", {
|
|
21
|
+
class: "ui-status-slot",
|
|
22
|
+
role: "status",
|
|
23
|
+
"aria-live": "polite",
|
|
24
|
+
"data-state": s.state,
|
|
25
|
+
style: g({ width: t(e).width, height: t(e).height }),
|
|
26
|
+
"data-ui-status-slot": "",
|
|
27
|
+
"data-syno-pkg-land-ui": ""
|
|
28
|
+
}, [
|
|
29
|
+
f.value ? (a(), o(h, { key: 0 }, [
|
|
30
|
+
i.value ? (a(), d(k(i.value), {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: v(["ui-status-slot-icon", { "animate-spin": s.state === "pending" }]),
|
|
33
|
+
"aria-hidden": "true"
|
|
34
|
+
}, null, 8, ["class"])) : r("", !0),
|
|
35
|
+
t(e).message ? (a(), o("span", {
|
|
36
|
+
key: 1,
|
|
37
|
+
class: "ui-status-slot-text",
|
|
38
|
+
title: t(e).message
|
|
39
|
+
}, u(t(e).message), 9, A)) : r("", !0),
|
|
40
|
+
s.state === "error" && t(e).retryLabel ? (a(), d(b, {
|
|
41
|
+
key: 2,
|
|
42
|
+
kind: "tool",
|
|
43
|
+
size: "sm",
|
|
44
|
+
variant: "ghost",
|
|
45
|
+
onClick: l[0] || (l[0] = (P) => c("retry"))
|
|
46
|
+
}, {
|
|
47
|
+
default: C(() => [
|
|
48
|
+
w(u(t(e).retryLabel), 1)
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
})) : r("", !0)
|
|
52
|
+
], 64)) : r("", !0)
|
|
53
|
+
], 12, N));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
R as default
|
|
58
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ref as f, watch as c, onBeforeUnmount as w } from "vue";
|
|
2
|
+
import { PENDING_DELAY_MS as h } from "./timing.js";
|
|
3
|
+
function D(i, n = {}) {
|
|
4
|
+
const s = Math.max(0, n.delay ?? h), u = Math.max(0, n.minVisible ?? 0), t = f(s === 0 && i());
|
|
5
|
+
let e, a = t.value ? Date.now() : 0;
|
|
6
|
+
const r = () => {
|
|
7
|
+
e !== void 0 && clearTimeout(e), e = void 0;
|
|
8
|
+
};
|
|
9
|
+
return c(i, (o) => {
|
|
10
|
+
if (r(), o === t.value) return;
|
|
11
|
+
const m = () => {
|
|
12
|
+
e = void 0, t.value = o, o && (a = Date.now());
|
|
13
|
+
}, l = o ? s : a + u - Date.now();
|
|
14
|
+
l <= 0 ? m() : e = setTimeout(m, l);
|
|
15
|
+
}, { immediate: !0, flush: "sync" }), w(r), t;
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
D as useShowAfter
|
|
19
|
+
};
|