@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,210 @@
|
|
|
1
|
+
import { defineComponent as D, inject as U, ref as C, onMounted as X, onBeforeUnmount as Y, computed as F, useId as q, openBlock as a, createElementBlock as n, createBlock as m, unref as s, withCtx as f, createElementVNode as o, createTextVNode as V, toDisplayString as r, createCommentVNode as d, Fragment as b, renderList as _, normalizeClass as L, createVNode as x } from "vue";
|
|
2
|
+
import { useLocalizedDefaults as K } from "../../../i18n/text.js";
|
|
3
|
+
import R from "../../primitives/motion/MotionCollapse.vue.js";
|
|
4
|
+
import { Check as M, ListFilter as G, ChevronDown as H } from "@lucide/vue";
|
|
5
|
+
import E from "../../primitives/button/Button.vue.js";
|
|
6
|
+
import J from "../../primitives/sheet/Sheet.vue.js";
|
|
7
|
+
import { APP_PRESENTATION_KEY as Q, MOBILE_LAYOUT_MAX as W } from "../../../lib/adaptiveLayout.js";
|
|
8
|
+
const Z = ["data-presentation"], ee = {
|
|
9
|
+
key: 0,
|
|
10
|
+
"data-ui-facet-panel-count": "",
|
|
11
|
+
"data-icon": "",
|
|
12
|
+
class: "inline-flex h-4 min-w-4 items-center justify-center rounded-[var(--ui-radius-pill)] bg-[var(--ui-primary)] px-1 text-[length:var(--ui-font-size-sm)] leading-4 text-[var(--ui-primary-foreground)] tabular-nums"
|
|
13
|
+
}, te = { class: "flex flex-col gap-[var(--ui-space-3)]" }, ae = ["aria-labelledby", "data-key"], se = ["id"], ne = ["aria-pressed", "onClick"], ie = ["data-state"], re = { class: "min-w-0 flex-1 truncate" }, le = {
|
|
14
|
+
key: 0,
|
|
15
|
+
"data-ui-facet-count": "",
|
|
16
|
+
class: "shrink-0 text-[length:var(--ui-font-size-sm)] text-[var(--ui-text-muted)] tabular-nums"
|
|
17
|
+
}, oe = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "flex flex-col gap-[var(--ui-space-2)]"
|
|
20
|
+
}, ue = { class: "flex min-h-[var(--ui-control-md)] items-center gap-2" }, ce = { class: "min-w-0 flex-1 truncate text-[length:var(--ui-font-size)] font-semibold" }, de = ["aria-labelledby", "data-key"], ve = ["id", "aria-expanded", "aria-controls", "onClick"], fe = { class: "min-w-0 flex-1 truncate" }, he = {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: "shrink-0 tabular-nums text-[var(--ui-primary)]"
|
|
23
|
+
}, me = ["id"], ke = ["aria-pressed", "onClick"], pe = ["data-state"], ye = { class: "min-w-0 flex-1 truncate" }, be = {
|
|
24
|
+
key: 0,
|
|
25
|
+
"data-ui-facet-count": "",
|
|
26
|
+
class: "shrink-0 text-[length:var(--ui-font-size-sm)] text-[var(--ui-text-muted)] tabular-nums"
|
|
27
|
+
}, S = "flex size-[var(--ui-choice-box-size)] shrink-0 items-center justify-center rounded-[var(--ui-radius-inner)] border border-[var(--ui-border-strong)] bg-[var(--ui-surface)] text-[var(--ui-primary-foreground)] transition-[border-color,background-color] duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] data-[state=checked]:border-[var(--ui-primary)] data-[state=checked]:bg-[var(--ui-primary)]", Le = /* @__PURE__ */ D({
|
|
28
|
+
__name: "FacetPanel",
|
|
29
|
+
props: {
|
|
30
|
+
groups: {},
|
|
31
|
+
modelValue: { default: () => ({}) },
|
|
32
|
+
presentation: { default: "auto" },
|
|
33
|
+
title: {},
|
|
34
|
+
clearLabel: {}
|
|
35
|
+
},
|
|
36
|
+
emits: ["update:modelValue"],
|
|
37
|
+
setup(w, { emit: T }) {
|
|
38
|
+
const l = K(w, { title: "Filters", clearLabel: "Clear filters" }), O = T, g = U(Q, null), P = C(!1);
|
|
39
|
+
let k;
|
|
40
|
+
const z = () => {
|
|
41
|
+
P.value = !!k?.matches;
|
|
42
|
+
};
|
|
43
|
+
X(() => {
|
|
44
|
+
g || typeof window > "u" || typeof window.matchMedia != "function" || (k = window.matchMedia(`(max-width: ${W}px)`), z(), k.addEventListener?.("change", z));
|
|
45
|
+
}), Y(() => k?.removeEventListener?.("change", z));
|
|
46
|
+
const A = F(() => l.presentation !== "auto" ? l.presentation === "sheet" : g ? g.value === "mobile" : P.value), B = C(!1), h = C(Object.fromEntries(l.groups.map((i) => [i.key, !!i.collapsed]))), v = q(), u = (i) => l.modelValue[i] ?? [], p = F(() => Object.values(l.modelValue).reduce((i, c) => i + c.length, 0));
|
|
47
|
+
function N(i, c) {
|
|
48
|
+
const e = u(i.key), t = e.includes(c), y = i.multiple ? t ? e.filter((I) => I !== c) : [...e, c] : t ? [] : [c], $ = { ...l.modelValue };
|
|
49
|
+
y.length ? $[i.key] = y : delete $[i.key], O("update:modelValue", $);
|
|
50
|
+
}
|
|
51
|
+
function j() {
|
|
52
|
+
O("update:modelValue", {});
|
|
53
|
+
}
|
|
54
|
+
return (i, c) => (a(), n("div", {
|
|
55
|
+
"data-ui-facet-panel": "",
|
|
56
|
+
"data-presentation": A.value ? "sheet" : "panel",
|
|
57
|
+
"data-syno-pkg-land-ui": ""
|
|
58
|
+
}, [
|
|
59
|
+
A.value ? (a(), m(J, {
|
|
60
|
+
key: 0,
|
|
61
|
+
open: B.value,
|
|
62
|
+
"onUpdate:open": c[0] || (c[0] = (e) => B.value = e),
|
|
63
|
+
side: "bottom",
|
|
64
|
+
size: "70%",
|
|
65
|
+
title: s(l).title
|
|
66
|
+
}, {
|
|
67
|
+
trigger: f(() => [
|
|
68
|
+
x(E, { "data-ui-facet-panel-trigger": "" }, {
|
|
69
|
+
default: f(() => [
|
|
70
|
+
x(s(G), { class: "size-4" }),
|
|
71
|
+
V(r(s(l).title), 1),
|
|
72
|
+
p.value ? (a(), n("span", ee, r(p.value), 1)) : d("", !0)
|
|
73
|
+
]),
|
|
74
|
+
_: 1
|
|
75
|
+
})
|
|
76
|
+
]),
|
|
77
|
+
default: f(() => [
|
|
78
|
+
o("div", te, [
|
|
79
|
+
p.value ? (a(), m(E, {
|
|
80
|
+
key: 0,
|
|
81
|
+
variant: "ghost",
|
|
82
|
+
class: "self-start",
|
|
83
|
+
"data-ui-facet-panel-clear": "",
|
|
84
|
+
onClick: j
|
|
85
|
+
}, {
|
|
86
|
+
default: f(() => [
|
|
87
|
+
V(r(s(l).clearLabel), 1)
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
})) : d("", !0),
|
|
91
|
+
(a(!0), n(b, null, _(w.groups, (e) => (a(), n("div", {
|
|
92
|
+
key: e.key,
|
|
93
|
+
role: "group",
|
|
94
|
+
"aria-labelledby": `${s(v)}-${e.key}`,
|
|
95
|
+
"data-ui-facet-group": "",
|
|
96
|
+
"data-key": e.key
|
|
97
|
+
}, [
|
|
98
|
+
o("div", {
|
|
99
|
+
id: `${s(v)}-${e.key}`,
|
|
100
|
+
class: "mb-1 text-[length:var(--ui-font-size-sm)] leading-4 font-semibold text-[var(--ui-text-secondary)]"
|
|
101
|
+
}, r(e.label), 9, se),
|
|
102
|
+
(a(!0), n(b, null, _(e.values, (t) => (a(), n("button", {
|
|
103
|
+
key: t.value,
|
|
104
|
+
type: "button",
|
|
105
|
+
"aria-pressed": u(e.key).includes(t.value),
|
|
106
|
+
class: "ui-facet-value flex min-h-10 w-full items-center gap-2 rounded-[var(--ui-radius-inner)] px-2 text-start text-[length:var(--ui-font-size)] outline-none hover:bg-[var(--ui-surface-hover)] focus-visible:shadow-[var(--ui-shadow-focus)] aria-pressed:bg-[var(--ui-primary-soft)]",
|
|
107
|
+
"data-ui-facet-value": "",
|
|
108
|
+
onClick: (y) => N(e, t.value)
|
|
109
|
+
}, [
|
|
110
|
+
o("span", {
|
|
111
|
+
"data-ui-facet-box": "",
|
|
112
|
+
"data-state": u(e.key).includes(t.value) ? "checked" : "unchecked",
|
|
113
|
+
"aria-hidden": "true",
|
|
114
|
+
class: L(S)
|
|
115
|
+
}, [
|
|
116
|
+
u(e.key).includes(t.value) ? (a(), m(s(M), {
|
|
117
|
+
key: 0,
|
|
118
|
+
class: "size-[calc(var(--ui-choice-box-size)*0.75)] stroke-[2.5]"
|
|
119
|
+
})) : d("", !0)
|
|
120
|
+
], 8, ie),
|
|
121
|
+
o("span", re, r(t.label), 1),
|
|
122
|
+
t.count !== void 0 ? (a(), n("span", le, r(t.count), 1)) : d("", !0)
|
|
123
|
+
], 8, ne))), 128))
|
|
124
|
+
], 8, ae))), 128))
|
|
125
|
+
])
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
}, 8, ["open", "title"])) : (a(), n("div", oe, [
|
|
129
|
+
o("div", ue, [
|
|
130
|
+
o("span", ce, r(s(l).title), 1),
|
|
131
|
+
p.value ? (a(), m(E, {
|
|
132
|
+
key: 0,
|
|
133
|
+
variant: "ghost",
|
|
134
|
+
size: "sm",
|
|
135
|
+
"data-ui-facet-panel-clear": "",
|
|
136
|
+
onClick: j
|
|
137
|
+
}, {
|
|
138
|
+
default: f(() => [
|
|
139
|
+
V(r(s(l).clearLabel), 1)
|
|
140
|
+
]),
|
|
141
|
+
_: 1
|
|
142
|
+
})) : d("", !0)
|
|
143
|
+
]),
|
|
144
|
+
(a(!0), n(b, null, _(w.groups, (e) => (a(), n("div", {
|
|
145
|
+
key: e.key,
|
|
146
|
+
role: "group",
|
|
147
|
+
"aria-labelledby": `${s(v)}-${e.key}`,
|
|
148
|
+
"data-ui-facet-group": "",
|
|
149
|
+
"data-key": e.key,
|
|
150
|
+
class: "border-t border-[var(--ui-border-subtle)] pt-1"
|
|
151
|
+
}, [
|
|
152
|
+
o("button", {
|
|
153
|
+
id: `${s(v)}-${e.key}`,
|
|
154
|
+
type: "button",
|
|
155
|
+
"aria-expanded": !h.value[e.key],
|
|
156
|
+
"aria-controls": `${s(v)}-${e.key}-values`,
|
|
157
|
+
class: "flex min-h-7 w-full items-center gap-1 rounded-[var(--ui-radius-inner)] px-1 text-start text-[length:var(--ui-font-size-sm)] leading-4 font-semibold text-[var(--ui-text-secondary)] outline-none hover:text-[var(--ui-text)] focus-visible:shadow-[var(--ui-shadow-focus)]",
|
|
158
|
+
"data-ui-facet-group-toggle": "",
|
|
159
|
+
"data-ui-hit": "",
|
|
160
|
+
onClick: (t) => h.value[e.key] = !h.value[e.key]
|
|
161
|
+
}, [
|
|
162
|
+
o("span", fe, r(e.label), 1),
|
|
163
|
+
u(e.key).length ? (a(), n("span", he, r(u(e.key).length), 1)) : d("", !0),
|
|
164
|
+
x(s(H), {
|
|
165
|
+
class: L(["size-3.5 shrink-0 transition-transform duration-[var(--ui-motion-fast)]", h.value[e.key] && "-rotate-90"]),
|
|
166
|
+
"aria-hidden": "true"
|
|
167
|
+
}, null, 8, ["class"])
|
|
168
|
+
], 8, ve),
|
|
169
|
+
x(R, {
|
|
170
|
+
open: !h.value[e.key]
|
|
171
|
+
}, {
|
|
172
|
+
default: f(() => [
|
|
173
|
+
o("div", {
|
|
174
|
+
id: `${s(v)}-${e.key}-values`,
|
|
175
|
+
class: "flex flex-col pb-1"
|
|
176
|
+
}, [
|
|
177
|
+
(a(!0), n(b, null, _(e.values, (t) => (a(), n("button", {
|
|
178
|
+
key: t.value,
|
|
179
|
+
type: "button",
|
|
180
|
+
"aria-pressed": u(e.key).includes(t.value),
|
|
181
|
+
class: "ui-facet-value flex min-h-7 w-full items-center gap-2 rounded-[var(--ui-radius-inner)] px-1 text-start text-[length:var(--ui-font-size)] outline-none hover:bg-[var(--ui-surface-hover)] focus-visible:shadow-[var(--ui-shadow-focus)] aria-pressed:bg-[var(--ui-primary-soft)] [@media(pointer:coarse)]:min-h-[var(--ui-list-row-height)]",
|
|
182
|
+
"data-ui-facet-value": "",
|
|
183
|
+
onClick: (y) => N(e, t.value)
|
|
184
|
+
}, [
|
|
185
|
+
o("span", {
|
|
186
|
+
"data-ui-facet-box": "",
|
|
187
|
+
"data-state": u(e.key).includes(t.value) ? "checked" : "unchecked",
|
|
188
|
+
"aria-hidden": "true",
|
|
189
|
+
class: L(S)
|
|
190
|
+
}, [
|
|
191
|
+
u(e.key).includes(t.value) ? (a(), m(s(M), {
|
|
192
|
+
key: 0,
|
|
193
|
+
class: "size-[calc(var(--ui-choice-box-size)*0.75)] stroke-[2.5]"
|
|
194
|
+
})) : d("", !0)
|
|
195
|
+
], 8, pe),
|
|
196
|
+
o("span", ye, r(t.label), 1),
|
|
197
|
+
t.count !== void 0 ? (a(), n("span", be, r(t.count), 1)) : d("", !0)
|
|
198
|
+
], 8, ke))), 128))
|
|
199
|
+
], 8, me)
|
|
200
|
+
]),
|
|
201
|
+
_: 2
|
|
202
|
+
}, 1032, ["open"])
|
|
203
|
+
], 8, de))), 128))
|
|
204
|
+
]))
|
|
205
|
+
], 8, Z));
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
export {
|
|
209
|
+
Le as default
|
|
210
|
+
};
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { defineComponent as le, ref as V, computed as c, openBlock as l, createElementBlock as d, mergeProps as O, unref as o, createElementVNode as m, withModifiers as b, normalizeClass as E, createBlock as A, resolveDynamicComponent as ne, toDisplayString as n, createVNode as v, withCtx as g, createTextVNode as w, createCommentVNode as u, Fragment as de, renderList as ue, renderSlot as ce } from "vue";
|
|
2
|
+
import { useFormControl as pe } from "../../../composables/formControl.js";
|
|
3
|
+
import { filePickerText as me } from "../../../i18n/filePicker.js";
|
|
4
|
+
import { useUiLocale as ve, formatUiText as p } from "../../../i18n/locale.js";
|
|
5
|
+
import { formatFileSize as H } from "../../../lib/fileSize.js";
|
|
6
|
+
import { chooserAccept as fe } from "../../../lib/fileAccept.js";
|
|
7
|
+
import { FolderOpen as be, UploadCloud as he, ClipboardPaste as I, FileText as ye, X as xe } from "@lucide/vue";
|
|
8
|
+
import k from "../../primitives/button/Button.vue.js";
|
|
9
|
+
import ge from "../../primitives/button/IconButton.vue.js";
|
|
10
|
+
import { coarsePointer as _e } from "../../primitives/popover/floating.js";
|
|
11
|
+
const ze = ["aria-label", "multiple", "accept", "disabled", "webkitdirectory"], we = ["tabindex", "aria-label", "aria-disabled"], ke = { class: "text-[length:var(--ui-font-size-control)] font-semibold text-[var(--ui-text)]" }, Ce = { class: "mt-1 text-[length:var(--ui-font-size-sm)] text-[var(--ui-text-muted)]" }, Fe = { class: "mt-3 flex flex-wrap justify-center gap-2" }, $e = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "mb-2 text-[length:var(--ui-font-size-sm)] text-[var(--ui-text-muted)]",
|
|
14
|
+
"data-file-picker-description": ""
|
|
15
|
+
}, Se = {
|
|
16
|
+
key: 2,
|
|
17
|
+
class: "flex flex-wrap gap-2"
|
|
18
|
+
}, Ve = {
|
|
19
|
+
key: 4,
|
|
20
|
+
class: "mt-2 text-[length:var(--ui-font-size-sm)] text-[var(--ui-text-muted)]",
|
|
21
|
+
"data-file-picker-hint": ""
|
|
22
|
+
}, Ae = { key: 0 }, De = { key: 1 }, Te = { key: 2 }, je = {
|
|
23
|
+
key: 5,
|
|
24
|
+
class: "mt-2 overflow-hidden rounded-[var(--ui-radius-container)] border border-[var(--ui-border)]"
|
|
25
|
+
}, Be = { class: "min-w-0 flex-1" }, Le = { class: "truncate text-[length:var(--ui-font-size-sm)] text-[var(--ui-text)]" }, Pe = { class: "text-[length:var(--ui-font-size-sm)] text-[var(--ui-text-muted)]" }, qe = /* @__PURE__ */ le({
|
|
26
|
+
inheritAttrs: !1,
|
|
27
|
+
__name: "FilePicker",
|
|
28
|
+
props: {
|
|
29
|
+
modelValue: { default: () => [] },
|
|
30
|
+
multiple: { type: Boolean, default: !1 },
|
|
31
|
+
accept: {},
|
|
32
|
+
nativeAccept: {},
|
|
33
|
+
disabled: { type: Boolean, default: !1 },
|
|
34
|
+
maxFiles: { default: 0 },
|
|
35
|
+
maxSize: { default: 0 },
|
|
36
|
+
directory: { type: Boolean, default: !1 },
|
|
37
|
+
showList: { type: Boolean, default: !0 },
|
|
38
|
+
variant: { default: "dropzone" },
|
|
39
|
+
paste: { type: Boolean, default: !1 },
|
|
40
|
+
locale: {},
|
|
41
|
+
text: {},
|
|
42
|
+
title: {},
|
|
43
|
+
description: {},
|
|
44
|
+
showHint: { type: Boolean, default: !0 }
|
|
45
|
+
},
|
|
46
|
+
emits: ["update:modelValue", "rejected"],
|
|
47
|
+
setup(X, { emit: q }) {
|
|
48
|
+
const e = X, C = q, D = V(), T = _e(), j = c(() => T ? "compact" : e.variant), h = V(!1), G = ve(() => e.locale), r = c(() => ({ ...me[G.value], ...e.text })), F = c(() => e.directory ? r.value.chooseFolder : e.multiple ? r.value.chooseFiles : r.value.chooseFile), B = c(() => e.title ?? (e.multiple || e.directory ? r.value.title : r.value.titleOne)), J = c(() => e.description ?? (e.multiple || e.directory ? r.value.description : r.value.descriptionOne));
|
|
49
|
+
function $() {
|
|
50
|
+
!e.disabled && y.value && D.value?.click();
|
|
51
|
+
}
|
|
52
|
+
const K = c(() => fe(e.accept, e.nativeAccept)), y = c(() => !e.maxFiles || e.modelValue.length < e.maxFiles), L = c(() => (e.accept ?? "").split(",").map((t) => t.trim().toLowerCase()).filter(Boolean)), P = c(() => ({ "image/*": r.value.images, "video/*": r.value.videos, "audio/*": r.value.audio }));
|
|
53
|
+
function Q(t) {
|
|
54
|
+
if (t.startsWith(".")) return t.slice(1).toUpperCase();
|
|
55
|
+
if (P.value[t]) return P.value[t];
|
|
56
|
+
const a = t.split("/")[1]?.replace(/^x-/, "").replace(/\+.*$/, "");
|
|
57
|
+
return a && /^[a-z0-9-]+$/.test(a) ? a.toUpperCase() : t;
|
|
58
|
+
}
|
|
59
|
+
const S = c(() => {
|
|
60
|
+
const t = [...new Set(L.value.map(Q))];
|
|
61
|
+
return t.length ? p(r.value.acceptedTypes, { types: t.join(", ") }) : "";
|
|
62
|
+
});
|
|
63
|
+
function Y(t) {
|
|
64
|
+
if (!e.accept) return !0;
|
|
65
|
+
const a = L.value, i = t.name.toLowerCase(), s = t.type.toLowerCase();
|
|
66
|
+
return a.some((f) => f.startsWith(".") ? i.endsWith(f) : f.endsWith("/*") ? s.startsWith(f.slice(0, -1)) : s === f);
|
|
67
|
+
}
|
|
68
|
+
function Z(t, a) {
|
|
69
|
+
return a.some((i) => i.name === t.name && i.size === t.size && i.lastModified === t.lastModified);
|
|
70
|
+
}
|
|
71
|
+
function _(t) {
|
|
72
|
+
if (e.disabled || t.length === 0) return;
|
|
73
|
+
const a = [...e.modelValue], i = [];
|
|
74
|
+
for (const s of t) {
|
|
75
|
+
if (!Y(s)) {
|
|
76
|
+
i.push({ file: s, reason: "type", message: p(r.value.typeRejected, { name: s.name }) });
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
if (e.maxSize && s.size > e.maxSize) {
|
|
80
|
+
i.push({ file: s, reason: "size", message: p(r.value.sizeRejected, { name: s.name }) });
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
if (Z(s, a)) {
|
|
84
|
+
i.push({ file: s, reason: "duplicate", message: p(r.value.duplicateRejected, { name: s.name }) });
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
87
|
+
if (!e.multiple && a.length >= 1 || e.maxFiles && a.length >= e.maxFiles) {
|
|
88
|
+
i.push({ file: s, reason: "count", message: p(r.value.countRejected, { name: s.name }) });
|
|
89
|
+
continue;
|
|
90
|
+
}
|
|
91
|
+
e.multiple ? a.push(s) : a.splice(0, a.length, s);
|
|
92
|
+
}
|
|
93
|
+
U(a), C("update:modelValue", a), i.length && C("rejected", i);
|
|
94
|
+
}
|
|
95
|
+
function ee(t) {
|
|
96
|
+
const a = t.target;
|
|
97
|
+
_(Array.from(a.files ?? [])), a.value = "";
|
|
98
|
+
}
|
|
99
|
+
function te(t) {
|
|
100
|
+
h.value = !1, _(Array.from(t.dataTransfer?.files ?? []));
|
|
101
|
+
}
|
|
102
|
+
function ae(t) {
|
|
103
|
+
const a = t.name ?? "";
|
|
104
|
+
return a && !/^image\.\w+$/i.test(a) ? a : `pasted-${(/* @__PURE__ */ new Date()).toISOString().slice(0, 19).replace(/[-:]/g, "").replace("T", "-")}.${(t.type.split("/")[1] ?? "bin").replace(/\W.*$/, "")}`;
|
|
105
|
+
}
|
|
106
|
+
const W = (t) => new File([t], ae(t), { type: t.type, lastModified: Date.now() }), z = V("");
|
|
107
|
+
let M;
|
|
108
|
+
function ie(t) {
|
|
109
|
+
clearTimeout(M), z.value = t ? "" : r.value.pasteEmpty, t || (M = setTimeout(() => {
|
|
110
|
+
z.value = "";
|
|
111
|
+
}, 4e3));
|
|
112
|
+
}
|
|
113
|
+
function se(t) {
|
|
114
|
+
if (!e.paste || e.disabled) return;
|
|
115
|
+
const a = Array.from(t.clipboardData?.files ?? []);
|
|
116
|
+
a.length && (t.preventDefault(), _(a.map(W)));
|
|
117
|
+
}
|
|
118
|
+
const N = typeof navigator < "u" && typeof navigator.clipboard?.read == "function";
|
|
119
|
+
async function R() {
|
|
120
|
+
if (e.disabled) return;
|
|
121
|
+
const t = [];
|
|
122
|
+
try {
|
|
123
|
+
for (const a of await navigator.clipboard.read()) {
|
|
124
|
+
const i = a.types.find((s) => !s.startsWith("text/"));
|
|
125
|
+
i && t.push(W(await a.getType(i)));
|
|
126
|
+
}
|
|
127
|
+
} catch {
|
|
128
|
+
}
|
|
129
|
+
ie(t.length), _(t);
|
|
130
|
+
}
|
|
131
|
+
function re(t) {
|
|
132
|
+
if (e.disabled) return;
|
|
133
|
+
const a = e.modelValue.filter((i, s) => s !== t);
|
|
134
|
+
U(a), C("update:modelValue", a);
|
|
135
|
+
}
|
|
136
|
+
const { controlAttrs: x, wrapperAttrs: oe, changed: U } = pe({ value: () => e.modelValue, disabled: () => e.disabled });
|
|
137
|
+
return (t, a) => (l(), d("div", O(o(oe)(), {
|
|
138
|
+
class: "min-w-0",
|
|
139
|
+
"data-syno-pkg-land-ui": "",
|
|
140
|
+
onPaste: se
|
|
141
|
+
}), [
|
|
142
|
+
m("input", O({
|
|
143
|
+
ref_key: "input",
|
|
144
|
+
ref: D
|
|
145
|
+
}, o(x)(), {
|
|
146
|
+
type: "file",
|
|
147
|
+
class: "sr-only",
|
|
148
|
+
tabindex: "-1",
|
|
149
|
+
"aria-label": o(x)()["aria-label"] ?? (o(x)()["aria-labelledby"] ? void 0 : F.value),
|
|
150
|
+
multiple: e.multiple,
|
|
151
|
+
accept: K.value,
|
|
152
|
+
disabled: e.disabled,
|
|
153
|
+
webkitdirectory: e.directory ? "" : void 0,
|
|
154
|
+
onChange: ee
|
|
155
|
+
}), null, 16, ze),
|
|
156
|
+
j.value === "dropzone" ? (l(), d("div", {
|
|
157
|
+
key: 0,
|
|
158
|
+
"data-file-dropzone": "",
|
|
159
|
+
class: E([
|
|
160
|
+
"flex min-h-36 flex-col items-center justify-center rounded-[var(--ui-radius-panel)] border border-dashed px-6 py-6 text-center outline-none transition-[background-color,border-color,box-shadow] focus-visible:border-[var(--ui-primary)] focus-visible:shadow-[var(--ui-shadow-focus)]",
|
|
161
|
+
h.value ? "border-[var(--ui-primary)] bg-[var(--ui-primary-soft)] shadow-[var(--ui-shadow-focus)]" : "border-[var(--ui-border-strong)] bg-[var(--ui-surface-subtle)]",
|
|
162
|
+
e.disabled && "pointer-events-none opacity-50"
|
|
163
|
+
]),
|
|
164
|
+
role: "group",
|
|
165
|
+
tabindex: e.paste && !e.disabled ? 0 : void 0,
|
|
166
|
+
"aria-label": B.value,
|
|
167
|
+
"aria-disabled": e.disabled,
|
|
168
|
+
onDragenter: a[0] || (a[0] = b((i) => h.value = !0, ["prevent"])),
|
|
169
|
+
onDragover: a[1] || (a[1] = b((i) => h.value = !0, ["prevent"])),
|
|
170
|
+
onDragleave: a[2] || (a[2] = b((i) => h.value = !1, ["prevent"])),
|
|
171
|
+
onDrop: b(te, ["prevent"]),
|
|
172
|
+
onClick: $
|
|
173
|
+
}, [
|
|
174
|
+
(l(), A(ne(e.directory ? o(be) : o(he)), {
|
|
175
|
+
class: "mb-2 size-7 text-[var(--ui-primary)]",
|
|
176
|
+
"aria-hidden": "true"
|
|
177
|
+
})),
|
|
178
|
+
m("div", ke, n(B.value), 1),
|
|
179
|
+
m("div", Ce, n(J.value), 1),
|
|
180
|
+
m("div", Fe, [
|
|
181
|
+
v(k, {
|
|
182
|
+
"aria-describedby": String(o(x)()["aria-describedby"] ?? "") || void 0,
|
|
183
|
+
size: "sm",
|
|
184
|
+
disabled: e.disabled || !y.value,
|
|
185
|
+
onClick: b($, ["stop"])
|
|
186
|
+
}, {
|
|
187
|
+
default: g(() => [
|
|
188
|
+
w(n(F.value), 1)
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["aria-describedby", "disabled"]),
|
|
192
|
+
e.paste && o(N) ? (l(), A(k, {
|
|
193
|
+
key: 0,
|
|
194
|
+
size: "sm",
|
|
195
|
+
variant: "ghost",
|
|
196
|
+
disabled: e.disabled || !y.value,
|
|
197
|
+
"data-file-paste": "",
|
|
198
|
+
onClick: b(R, ["stop"])
|
|
199
|
+
}, {
|
|
200
|
+
default: g(() => [
|
|
201
|
+
v(o(I), {
|
|
202
|
+
class: "size-4",
|
|
203
|
+
"aria-hidden": "true"
|
|
204
|
+
}),
|
|
205
|
+
w(n(r.value.paste), 1)
|
|
206
|
+
]),
|
|
207
|
+
_: 1
|
|
208
|
+
}, 8, ["disabled"])) : u("", !0)
|
|
209
|
+
])
|
|
210
|
+
], 42, we)) : u("", !0),
|
|
211
|
+
o(T) && e.variant === "dropzone" && e.description ? (l(), d("div", $e, n(e.description), 1)) : u("", !0),
|
|
212
|
+
j.value === "compact" ? (l(), d("div", Se, [
|
|
213
|
+
v(k, {
|
|
214
|
+
"aria-describedby": String(o(x)()["aria-describedby"] ?? "") || void 0,
|
|
215
|
+
disabled: e.disabled || !y.value,
|
|
216
|
+
onClick: $
|
|
217
|
+
}, {
|
|
218
|
+
default: g(() => [
|
|
219
|
+
w(n(F.value), 1)
|
|
220
|
+
]),
|
|
221
|
+
_: 1
|
|
222
|
+
}, 8, ["aria-describedby", "disabled"]),
|
|
223
|
+
e.paste && o(N) ? (l(), A(k, {
|
|
224
|
+
key: 0,
|
|
225
|
+
variant: "ghost",
|
|
226
|
+
disabled: e.disabled || !y.value,
|
|
227
|
+
"data-file-paste": "",
|
|
228
|
+
onClick: R
|
|
229
|
+
}, {
|
|
230
|
+
default: g(() => [
|
|
231
|
+
v(o(I), {
|
|
232
|
+
class: "size-4",
|
|
233
|
+
"aria-hidden": "true"
|
|
234
|
+
}),
|
|
235
|
+
w(n(r.value.paste), 1)
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
}, 8, ["disabled"])) : u("", !0)
|
|
239
|
+
])) : u("", !0),
|
|
240
|
+
e.paste ? (l(), d("div", {
|
|
241
|
+
key: 3,
|
|
242
|
+
class: E(["text-[length:var(--ui-font-size-sm)] text-[var(--ui-text-muted)] empty:hidden", z.value && "mt-2"]),
|
|
243
|
+
"aria-live": "polite",
|
|
244
|
+
"data-file-paste-note": ""
|
|
245
|
+
}, n(z.value), 3)) : u("", !0),
|
|
246
|
+
e.showHint && (S.value || e.maxSize || e.maxFiles > 1) ? (l(), d("div", Ve, [
|
|
247
|
+
S.value ? (l(), d("div", Ae, n(S.value), 1)) : u("", !0),
|
|
248
|
+
e.maxSize ? (l(), d("div", De, n(o(p)(r.value.maxSize, { size: o(H)(e.maxSize) })), 1)) : u("", !0),
|
|
249
|
+
e.maxFiles > 1 ? (l(), d("div", Te, n(o(p)(r.value.maxFiles, { count: e.maxFiles })), 1)) : u("", !0)
|
|
250
|
+
])) : u("", !0),
|
|
251
|
+
e.showList && e.modelValue.length ? (l(), d("div", je, [
|
|
252
|
+
(l(!0), d(de, null, ue(e.modelValue, (i, s) => (l(), d("div", {
|
|
253
|
+
key: `${i.name}-${i.size}-${i.lastModified}`,
|
|
254
|
+
class: "flex min-h-10 items-center gap-2 border-b border-[var(--ui-border-subtle)] px-3 last:border-b-0"
|
|
255
|
+
}, [
|
|
256
|
+
v(o(ye), {
|
|
257
|
+
class: "size-4 shrink-0 text-[var(--ui-text-muted)]",
|
|
258
|
+
"aria-hidden": "true"
|
|
259
|
+
}),
|
|
260
|
+
m("div", Be, [
|
|
261
|
+
m("div", Le, n(i.name), 1),
|
|
262
|
+
m("div", Pe, n(o(H)(i.size)), 1)
|
|
263
|
+
]),
|
|
264
|
+
ce(t.$slots, "file-actions", {
|
|
265
|
+
file: i,
|
|
266
|
+
index: s
|
|
267
|
+
}),
|
|
268
|
+
v(ge, {
|
|
269
|
+
label: o(p)(r.value.remove, { name: i.name }),
|
|
270
|
+
size: "sm",
|
|
271
|
+
disabled: e.disabled,
|
|
272
|
+
onClick: (f) => re(s)
|
|
273
|
+
}, {
|
|
274
|
+
default: g(() => [
|
|
275
|
+
v(o(xe), {
|
|
276
|
+
class: "size-3.5",
|
|
277
|
+
"aria-hidden": "true"
|
|
278
|
+
})
|
|
279
|
+
]),
|
|
280
|
+
_: 1
|
|
281
|
+
}, 8, ["label", "disabled", "onClick"])
|
|
282
|
+
]))), 128))
|
|
283
|
+
])) : u("", !0)
|
|
284
|
+
], 16));
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
export {
|
|
288
|
+
qe as default
|
|
289
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { defineComponent as j, computed as v, ref as h, openBlock as s, createElementBlock as r, normalizeClass as l, Fragment as E, renderList as F, createElementVNode as N, normalizeStyle as w, createBlock as g, unref as u, createVNode as P, createCommentVNode as d, toDisplayString as U } from "vue";
|
|
2
|
+
import { X as V } from "@lucide/vue";
|
|
3
|
+
import { useUiText as T } from "../../../i18n/text.js";
|
|
4
|
+
import { isPicture as D } from "../../../lib/files.js";
|
|
5
|
+
import L from "../../primitives/icon/FileTypeIcon.vue.js";
|
|
6
|
+
import R from "../../primitives/spinner/Spinner.vue.js";
|
|
7
|
+
import X from "../image-lightbox/ImageLightbox.vue.js";
|
|
8
|
+
const q = ["data-size"], A = ["aria-label", "title", "data-state", "data-ui-file-thumb", "onClick"], G = ["src", "onError"], H = ["aria-label", "data-ui-file-thumb-remove", "onClick"], I = ["aria-label"], Z = /* @__PURE__ */ j({
|
|
9
|
+
__name: "FileThumbs",
|
|
10
|
+
props: {
|
|
11
|
+
items: {},
|
|
12
|
+
max: { default: 3 },
|
|
13
|
+
size: { default: "sm" },
|
|
14
|
+
removable: { type: Boolean, default: !1 },
|
|
15
|
+
lightbox: { type: Boolean, default: !0 }
|
|
16
|
+
},
|
|
17
|
+
emits: ["open", "remove"],
|
|
18
|
+
setup(a, { emit: $ }) {
|
|
19
|
+
const n = a, p = $, i = T(), c = v(() => n.max > 0 ? n.items.slice(0, n.max) : n.items), y = v(() => n.items.length - c.value.length), f = h(!1), m = h(0), b = h(/* @__PURE__ */ new Set());
|
|
20
|
+
function x(t) {
|
|
21
|
+
p("open", t, n.items[t]), n.lightbox && (m.value = t, f.value = !0);
|
|
22
|
+
}
|
|
23
|
+
const C = (t) => D(t) && t.thumb && (t.state ?? "ready") === "ready" && !b.value.has(t.id), k = v(() => n.size === "sm" ? "size-7 rounded-[var(--ui-radius-inner)]" : "size-16 rounded-[var(--ui-radius-container)]"), B = (t) => t.state === "processing" ? `${t.name}, ${i("Processing")}` : t.state === "missing" ? `${t.name}, ${i("File is missing")}` : t.state === "failed" ? `${t.name}, ${i("Can't show this file")}` : t.name;
|
|
24
|
+
return (t, o) => a.items.length ? (s(), r("div", {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: l(["flex min-w-0 flex-wrap items-center gap-1 [&>:last-child]:after:end-0 [&>:last-child>button]:after:end-0", a.removable && "pe-2"]),
|
|
27
|
+
"data-size": a.size,
|
|
28
|
+
"data-ui-file-thumbs": "",
|
|
29
|
+
"data-syno-pkg-land-ui": ""
|
|
30
|
+
}, [
|
|
31
|
+
(s(!0), r(E, null, F(c.value, (e, S) => (s(), r("span", {
|
|
32
|
+
key: e.id,
|
|
33
|
+
class: "relative inline-flex shrink-0",
|
|
34
|
+
"data-ui-file-thumb-wrap": ""
|
|
35
|
+
}, [
|
|
36
|
+
N("button", {
|
|
37
|
+
type: "button",
|
|
38
|
+
class: l([
|
|
39
|
+
"relative flex shrink-0 items-center justify-center overflow-hidden border border-[var(--ui-border-subtle)] bg-[var(--ui-surface-subtle)] p-0 outline-none focus-visible:shadow-[var(--ui-shadow-focus)]",
|
|
40
|
+
"after:absolute after:-inset-2 [@media(pointer:fine)]:after:hidden",
|
|
41
|
+
k.value
|
|
42
|
+
]),
|
|
43
|
+
style: w({ background: e.state === "processing" ? e.dominant : void 0 }),
|
|
44
|
+
"aria-label": B(e),
|
|
45
|
+
title: e.name,
|
|
46
|
+
"data-state": e.state ?? "ready",
|
|
47
|
+
"data-ui-file-thumb": e.id,
|
|
48
|
+
onClick: (z) => x(S)
|
|
49
|
+
}, [
|
|
50
|
+
C(e) ? (s(), r("img", {
|
|
51
|
+
key: 0,
|
|
52
|
+
src: e.thumb,
|
|
53
|
+
alt: "",
|
|
54
|
+
loading: "lazy",
|
|
55
|
+
decoding: "async",
|
|
56
|
+
draggable: "false",
|
|
57
|
+
class: "size-full object-cover",
|
|
58
|
+
style: w({ background: e.dominant }),
|
|
59
|
+
onError: (z) => b.value = new Set(b.value).add(e.id)
|
|
60
|
+
}, null, 44, G)) : e.state === "processing" ? (s(), g(R, {
|
|
61
|
+
key: 1,
|
|
62
|
+
size: a.size === "sm" ? 16 : 24,
|
|
63
|
+
inline: "",
|
|
64
|
+
label: u(i)("Processing")
|
|
65
|
+
}, null, 8, ["size", "label"])) : (s(), g(L, {
|
|
66
|
+
key: 2,
|
|
67
|
+
name: e.name,
|
|
68
|
+
size: a.size === "sm" ? "sm" : "m",
|
|
69
|
+
class: l((e.state === "missing" || e.state === "failed") && "opacity-40")
|
|
70
|
+
}, null, 8, ["name", "size", "class"]))
|
|
71
|
+
], 14, A),
|
|
72
|
+
a.removable ? (s(), r("button", {
|
|
73
|
+
key: 0,
|
|
74
|
+
type: "button",
|
|
75
|
+
class: "absolute -end-2 -top-2 flex size-5 items-center justify-center rounded-full border border-[var(--ui-surface)] bg-[var(--ui-text-secondary)] p-0 text-[var(--ui-surface)] outline-none hover:bg-[var(--ui-text)] focus-visible:shadow-[var(--ui-shadow-focus)] after:absolute after:-inset-3 [@media(pointer:fine)]:after:hidden",
|
|
76
|
+
"aria-label": u(i)("Remove {name}", { name: e.name }),
|
|
77
|
+
"data-ui-file-thumb-remove": e.id,
|
|
78
|
+
onClick: (z) => p("remove", e)
|
|
79
|
+
}, [
|
|
80
|
+
P(u(V), {
|
|
81
|
+
class: "size-3",
|
|
82
|
+
"aria-hidden": "true"
|
|
83
|
+
})
|
|
84
|
+
], 8, H)) : d("", !0)
|
|
85
|
+
]))), 128)),
|
|
86
|
+
y.value > 0 ? (s(), r("button", {
|
|
87
|
+
key: 0,
|
|
88
|
+
type: "button",
|
|
89
|
+
class: l([
|
|
90
|
+
"relative flex shrink-0 items-center justify-center border border-[var(--ui-border-subtle)] bg-[var(--ui-surface-subtle)] px-1 text-[length:var(--ui-font-size-sm)] font-semibold tabular-nums text-[var(--ui-text-secondary)] outline-none hover:bg-[var(--ui-surface-hover)] focus-visible:shadow-[var(--ui-shadow-focus)]",
|
|
91
|
+
"after:absolute after:-inset-2 [@media(pointer:fine)]:after:hidden",
|
|
92
|
+
k.value,
|
|
93
|
+
"w-auto min-w-7"
|
|
94
|
+
]),
|
|
95
|
+
"aria-label": u(i)("Show all {count} files", { count: a.items.length }),
|
|
96
|
+
"data-ui-file-thumbs-more": "",
|
|
97
|
+
onClick: o[0] || (o[0] = (e) => x(c.value.length))
|
|
98
|
+
}, "+" + U(y.value), 11, I)) : d("", !0),
|
|
99
|
+
a.lightbox ? (s(), g(X, {
|
|
100
|
+
key: 1,
|
|
101
|
+
open: f.value,
|
|
102
|
+
"onUpdate:open": o[1] || (o[1] = (e) => f.value = e),
|
|
103
|
+
index: m.value,
|
|
104
|
+
"onUpdate:index": o[2] || (o[2] = (e) => m.value = e),
|
|
105
|
+
items: a.items
|
|
106
|
+
}, null, 8, ["open", "index", "items"])) : d("", !0)
|
|
107
|
+
], 10, q)) : d("", !0);
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
export {
|
|
111
|
+
Z as default
|
|
112
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as p, computed as s, openBlock as e, createElementBlock as o, createElementVNode as f, Fragment as _, renderList as k, normalizeClass as y, createVNode as b } from "vue";
|
|
2
|
+
import g from "./FootbarButtons.vue.js";
|
|
3
|
+
import { provideButtonKind as x } from "../../../composables/buttonKind.js";
|
|
4
|
+
import { groupFootbarButtons as v } from "./types.js";
|
|
5
|
+
const B = {
|
|
6
|
+
class: "@container",
|
|
7
|
+
"data-syno-pkg-land-ui": ""
|
|
8
|
+
}, h = { class: "grid grid-cols-[minmax(max-content,1fr)_auto_minmax(max-content,1fr)] items-center gap-[var(--ui-space-2)] @max-md:grid-cols-1" }, j = ["data-footbar-region"], w = /* @__PURE__ */ p({
|
|
9
|
+
__name: "Footbar",
|
|
10
|
+
props: {
|
|
11
|
+
buttons: { default: () => [] }
|
|
12
|
+
},
|
|
13
|
+
emits: ["click-button"],
|
|
14
|
+
setup(a, { emit: r }) {
|
|
15
|
+
const i = a;
|
|
16
|
+
x("action");
|
|
17
|
+
const c = r, m = s(() => v(i.buttons)), l = s(() => [
|
|
18
|
+
{ key: "left", class: "justify-start" },
|
|
19
|
+
{ key: "center", class: "justify-center" },
|
|
20
|
+
{ key: "right", class: "justify-end" }
|
|
21
|
+
]);
|
|
22
|
+
return (C, n) => (e(), o("div", B, [
|
|
23
|
+
f("div", h, [
|
|
24
|
+
(e(!0), o(_, null, k(l.value, (t) => (e(), o("div", {
|
|
25
|
+
key: t.key,
|
|
26
|
+
class: y(["flex flex-wrap items-center gap-[var(--ui-space-2)] @max-md:empty:hidden", t.class]),
|
|
27
|
+
"data-footbar-region": t.key
|
|
28
|
+
}, [
|
|
29
|
+
b(g, {
|
|
30
|
+
buttons: m.value[t.key],
|
|
31
|
+
onClickButton: n[0] || (n[0] = (u, d) => c("click-button", u, d))
|
|
32
|
+
}, null, 8, ["buttons"])
|
|
33
|
+
], 10, j))), 128))
|
|
34
|
+
])
|
|
35
|
+
]));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
w as default
|
|
40
|
+
};
|