@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,852 @@
|
|
|
1
|
+
import { createLazyMeasurementsView as N, getMeasurementKey as K } from "./lazy-measurements.js";
|
|
2
|
+
import { memo as M, approxEqual as L, notUndefined as W, debounce as P } from "./utils.js";
|
|
3
|
+
let C;
|
|
4
|
+
const F = () => {
|
|
5
|
+
if (C !== void 0) return C;
|
|
6
|
+
if (typeof navigator > "u") return C = !1;
|
|
7
|
+
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return C = !0;
|
|
8
|
+
const r = navigator.maxTouchPoints;
|
|
9
|
+
return C = navigator.platform === "MacIntel" && r !== void 0 && r > 0;
|
|
10
|
+
}, k = (r) => {
|
|
11
|
+
const { offsetWidth: h, offsetHeight: t } = r;
|
|
12
|
+
return { width: h, height: t };
|
|
13
|
+
}, B = (r) => r, H = (r) => {
|
|
14
|
+
const h = Math.max(r.startIndex - r.overscan, 0), s = Math.min(r.endIndex + r.overscan, r.count - 1) - h + 1, e = new Array(s);
|
|
15
|
+
for (let i = 0; i < s; i++)
|
|
16
|
+
e[i] = h + i;
|
|
17
|
+
return e;
|
|
18
|
+
}, tt = (r, h) => {
|
|
19
|
+
const t = r.scrollElement;
|
|
20
|
+
if (!t)
|
|
21
|
+
return;
|
|
22
|
+
const s = r.targetWindow;
|
|
23
|
+
if (!s)
|
|
24
|
+
return;
|
|
25
|
+
const e = (n) => {
|
|
26
|
+
const { width: l, height: o } = n;
|
|
27
|
+
h({ width: Math.round(l), height: Math.round(o) });
|
|
28
|
+
};
|
|
29
|
+
if (e(k(t)), !s.ResizeObserver)
|
|
30
|
+
return () => {
|
|
31
|
+
};
|
|
32
|
+
const i = new s.ResizeObserver((n) => {
|
|
33
|
+
const l = () => {
|
|
34
|
+
const o = n[0];
|
|
35
|
+
if (o?.borderBoxSize) {
|
|
36
|
+
const a = o.borderBoxSize[0];
|
|
37
|
+
if (a) {
|
|
38
|
+
e({ width: a.inlineSize, height: a.blockSize });
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
e(k(t));
|
|
43
|
+
};
|
|
44
|
+
r.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(l) : l();
|
|
45
|
+
});
|
|
46
|
+
return i.observe(t, { box: "border-box" }), () => {
|
|
47
|
+
i.unobserve(t);
|
|
48
|
+
};
|
|
49
|
+
}, j = {
|
|
50
|
+
passive: !0
|
|
51
|
+
}, J = typeof window > "u" ? !0 : "onscrollend" in window, q = (r, h, t) => {
|
|
52
|
+
const s = r.scrollElement;
|
|
53
|
+
if (!s)
|
|
54
|
+
return;
|
|
55
|
+
const e = r.targetWindow;
|
|
56
|
+
if (!e)
|
|
57
|
+
return;
|
|
58
|
+
const i = r.options.useScrollendEvent && J;
|
|
59
|
+
let n = 0;
|
|
60
|
+
const l = i ? null : P(
|
|
61
|
+
e,
|
|
62
|
+
() => h(t(s), !1),
|
|
63
|
+
r.options.isScrollingResetDelay
|
|
64
|
+
), o = (c) => () => {
|
|
65
|
+
n = t(s), l?.(), h(n, c);
|
|
66
|
+
}, a = o(!0), f = o(!1);
|
|
67
|
+
return s.addEventListener("scroll", a, j), i && s.addEventListener("scrollend", f, j), () => {
|
|
68
|
+
s.removeEventListener("scroll", a), i && s.removeEventListener("scrollend", f), l?.cancel();
|
|
69
|
+
};
|
|
70
|
+
}, et = (r, h) => q(r, h, (t) => {
|
|
71
|
+
const { horizontal: s, isRtl: e } = r.options;
|
|
72
|
+
return s ? t.scrollLeft * (e && -1 || 1) : t.scrollTop;
|
|
73
|
+
}), U = (r, h, t) => {
|
|
74
|
+
if (t.options.useCachedMeasurements) {
|
|
75
|
+
const s = t.indexFromElement(r), e = t.options.getItemKey(s);
|
|
76
|
+
return t.itemSizeCache.get(e) ?? t.options.estimateSize(s);
|
|
77
|
+
}
|
|
78
|
+
if (h?.borderBoxSize) {
|
|
79
|
+
const s = h.borderBoxSize[0];
|
|
80
|
+
if (s)
|
|
81
|
+
return Math.round(
|
|
82
|
+
s[t.options.horizontal ? "inlineSize" : "blockSize"]
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
if (!h) {
|
|
86
|
+
const s = t.indexFromElement(r), e = t.options.getItemKey(s), i = t.itemSizeCache.get(e);
|
|
87
|
+
if (i !== void 0)
|
|
88
|
+
return i;
|
|
89
|
+
}
|
|
90
|
+
return r[t.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
91
|
+
}, X = (r, {
|
|
92
|
+
adjustments: h = 0,
|
|
93
|
+
behavior: t
|
|
94
|
+
}, s) => {
|
|
95
|
+
var e, i;
|
|
96
|
+
(i = (e = s.scrollElement) == null ? void 0 : e.scrollTo) == null || i.call(e, {
|
|
97
|
+
[s.options.horizontal ? "left" : "top"]: r + h,
|
|
98
|
+
behavior: t
|
|
99
|
+
});
|
|
100
|
+
}, st = X;
|
|
101
|
+
function $(r, h, t, s) {
|
|
102
|
+
if (h === 0) return !1;
|
|
103
|
+
const e = s(0), i = /* @__PURE__ */ new Set();
|
|
104
|
+
let n = 0;
|
|
105
|
+
for (; n < r; ) {
|
|
106
|
+
const o = t(n);
|
|
107
|
+
if (o === e) break;
|
|
108
|
+
i.add(o), n++;
|
|
109
|
+
}
|
|
110
|
+
const l = r - n;
|
|
111
|
+
if (l === 0 || l >= h) return !1;
|
|
112
|
+
for (let o = 0; o < l; o++)
|
|
113
|
+
if (s(o) !== t(n + o)) return !1;
|
|
114
|
+
for (let o = l; o < h; o++)
|
|
115
|
+
if (i.has(s(o))) return !1;
|
|
116
|
+
return !0;
|
|
117
|
+
}
|
|
118
|
+
class it {
|
|
119
|
+
constructor(h) {
|
|
120
|
+
this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollState = null, this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = !1, this.lanesSettling = !1, this.pendingScrollAnchor = null, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this._iosDeferredAdjustment = 0, this._iosTouching = !1, this._iosJustTouchEnded = !1, this._iosTouchEndTimerId = null, this._intendedScrollOffset = null, this._clampedAdjustment = null, this.elementsCache = /* @__PURE__ */ new Map(), this.now = () => {
|
|
121
|
+
var t, s, e;
|
|
122
|
+
return ((e = (s = (t = this.targetWindow) == null ? void 0 : t.performance) == null ? void 0 : s.now) == null ? void 0 : e.call(s)) ?? Date.now();
|
|
123
|
+
}, this.observer = /* @__PURE__ */ (() => {
|
|
124
|
+
let t = null;
|
|
125
|
+
const s = () => t || (!this.targetWindow || !this.targetWindow.ResizeObserver ? null : t = new this.targetWindow.ResizeObserver((e) => {
|
|
126
|
+
e.forEach((i) => {
|
|
127
|
+
const n = () => {
|
|
128
|
+
const l = i.target, o = this.indexFromElement(l);
|
|
129
|
+
if (!l.isConnected) {
|
|
130
|
+
this.observer.unobserve(l);
|
|
131
|
+
for (const [a, f] of this.elementsCache)
|
|
132
|
+
if (f === l) {
|
|
133
|
+
this.elementsCache.delete(a);
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
this.isIndexInRange(o) && this.shouldMeasureDuringScroll(o) && this.resizeItem(
|
|
139
|
+
o,
|
|
140
|
+
this.options.measureElement(l, i, this)
|
|
141
|
+
);
|
|
142
|
+
};
|
|
143
|
+
this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(n) : n();
|
|
144
|
+
});
|
|
145
|
+
}));
|
|
146
|
+
return {
|
|
147
|
+
disconnect: () => {
|
|
148
|
+
var e;
|
|
149
|
+
(e = s()) == null || e.disconnect(), t = null;
|
|
150
|
+
},
|
|
151
|
+
observe: (e) => {
|
|
152
|
+
var i;
|
|
153
|
+
return (i = s()) == null ? void 0 : i.observe(e, { box: "border-box" });
|
|
154
|
+
},
|
|
155
|
+
unobserve: (e) => {
|
|
156
|
+
var i;
|
|
157
|
+
return (i = s()) == null ? void 0 : i.unobserve(e);
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
})(), this.range = null, this.setOptions = (t) => {
|
|
161
|
+
var s;
|
|
162
|
+
const e = {
|
|
163
|
+
debug: !1,
|
|
164
|
+
initialOffset: 0,
|
|
165
|
+
overscan: 1,
|
|
166
|
+
paddingStart: 0,
|
|
167
|
+
paddingEnd: 0,
|
|
168
|
+
scrollPaddingStart: 0,
|
|
169
|
+
scrollPaddingEnd: 0,
|
|
170
|
+
horizontal: !1,
|
|
171
|
+
getItemKey: B,
|
|
172
|
+
rangeExtractor: H,
|
|
173
|
+
onChange: () => {
|
|
174
|
+
},
|
|
175
|
+
measureElement: U,
|
|
176
|
+
initialRect: { width: 0, height: 0 },
|
|
177
|
+
scrollMargin: 0,
|
|
178
|
+
gap: 0,
|
|
179
|
+
indexAttribute: "data-index",
|
|
180
|
+
initialMeasurementsCache: [],
|
|
181
|
+
lanes: 1,
|
|
182
|
+
anchorTo: "start",
|
|
183
|
+
followOnAppend: !1,
|
|
184
|
+
scrollEndThreshold: 1,
|
|
185
|
+
isScrollingResetDelay: 150,
|
|
186
|
+
enabled: !0,
|
|
187
|
+
isRtl: !1,
|
|
188
|
+
useScrollendEvent: !1,
|
|
189
|
+
useAnimationFrameWithResizeObserver: !1,
|
|
190
|
+
laneAssignmentMode: "estimate",
|
|
191
|
+
useCachedMeasurements: !1
|
|
192
|
+
};
|
|
193
|
+
for (const c in t) {
|
|
194
|
+
const g = t[c];
|
|
195
|
+
g !== void 0 && (e[c] = g);
|
|
196
|
+
}
|
|
197
|
+
const i = this.options;
|
|
198
|
+
let n = null, l = null, o = !1;
|
|
199
|
+
if (i !== void 0 && i.enabled && e.enabled && e.anchorTo === "end" && this.scrollElement !== null) {
|
|
200
|
+
const c = i.count, g = e.count, m = this.getMeasurements(), b = ((s = this._singleLaneMeasurements) == null ? void 0 : s.items) ?? m, S = (_) => K(b[_]), E = c > 0 ? S(0) : null, O = c > 0 ? S(c - 1) : null;
|
|
201
|
+
if (g !== c || c > 0 && g > 0 && (e.getItemKey(0) !== E || e.getItemKey(g - 1) !== O)) {
|
|
202
|
+
o = !0;
|
|
203
|
+
const _ = c > 0 ? this.getVirtualItemForOffset(this.getScrollOffset()) ?? m[0] : null;
|
|
204
|
+
_ && (n = [_.key, this.getScrollOffset() - _.start]);
|
|
205
|
+
const p = e.followOnAppend === !0 ? "auto" : e.followOnAppend || null;
|
|
206
|
+
p && g > 0 && this.isAtEnd(i.scrollEndThreshold) && (c === 0 || e.getItemKey(g - 1) !== O) && (g > c || $(
|
|
207
|
+
c,
|
|
208
|
+
g,
|
|
209
|
+
S,
|
|
210
|
+
e.getItemKey
|
|
211
|
+
)) && (l = p);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
this.options = e, o && (this.pendingMin = 0, this.itemSizeCacheVersion++);
|
|
215
|
+
let a = !1, f = 0;
|
|
216
|
+
if (n && this.scrollOffset !== null) {
|
|
217
|
+
const [c, g] = n, m = this.getMeasurements(), { count: b, getItemKey: S } = this.options;
|
|
218
|
+
let E = 0;
|
|
219
|
+
for (; E < b && S(E) !== c; )
|
|
220
|
+
E++;
|
|
221
|
+
if (E < b) {
|
|
222
|
+
const O = m[E];
|
|
223
|
+
if (O) {
|
|
224
|
+
const u = Math.max(0, O.start + g);
|
|
225
|
+
!l && u !== this.scrollOffset && (f = u - this.scrollOffset, this.scrollOffset = u, a = !0);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
(a || l) && (this.pendingScrollAnchor = [
|
|
230
|
+
a ? n[0] : null,
|
|
231
|
+
a ? n[1] : 0,
|
|
232
|
+
l,
|
|
233
|
+
f
|
|
234
|
+
]);
|
|
235
|
+
}, this.notify = (t) => {
|
|
236
|
+
var s, e;
|
|
237
|
+
(e = (s = this.options).onChange) == null || e.call(s, this, t);
|
|
238
|
+
}, this.maybeNotify = M(
|
|
239
|
+
() => (this.calculateRange(), [
|
|
240
|
+
this.isScrolling,
|
|
241
|
+
this.range ? this.range.startIndex : null,
|
|
242
|
+
this.range ? this.range.endIndex : null
|
|
243
|
+
]),
|
|
244
|
+
(t) => {
|
|
245
|
+
this.notify(t);
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
key: process.env.NODE_ENV !== "production" && "maybeNotify",
|
|
249
|
+
debug: () => this.options.debug,
|
|
250
|
+
initialDeps: [
|
|
251
|
+
this.isScrolling,
|
|
252
|
+
this.range ? this.range.startIndex : null,
|
|
253
|
+
this.range ? this.range.endIndex : null
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
), this.cleanup = () => {
|
|
257
|
+
this.unsubs.filter(Boolean).forEach((t) => t()), this.unsubs = [], this.observer.disconnect(), this.rafId != null && this.targetWindow && (this.targetWindow.cancelAnimationFrame(this.rafId), this.rafId = null), this.scrollState = null, this.isScrolling = !1, this.scrollDirection = null, this._iosDeferredAdjustment = 0, this._iosTouching = !1, this._iosJustTouchEnded = !1, this._clampedAdjustment = null, this.scrollElement = null, this.targetWindow = null;
|
|
258
|
+
}, this._didMount = () => () => {
|
|
259
|
+
this.cleanup();
|
|
260
|
+
}, this._willUpdate = () => {
|
|
261
|
+
var t, s;
|
|
262
|
+
const e = this.options.enabled ? this.options.getScrollElement() : null;
|
|
263
|
+
if (this.scrollElement !== e) {
|
|
264
|
+
if (this.cleanup(), !e) {
|
|
265
|
+
this.maybeNotify();
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
268
|
+
if (this.scrollElement = e, this.scrollElement && "ownerDocument" in this.scrollElement ? this.targetWindow = this.scrollElement.ownerDocument.defaultView : this.targetWindow = ((t = this.scrollElement) == null ? void 0 : t.window) ?? null, this.elementsCache.forEach((n) => {
|
|
269
|
+
this.observer.observe(n);
|
|
270
|
+
}), this.unsubs.push(
|
|
271
|
+
this.options.observeElementRect(this, (n) => {
|
|
272
|
+
this.scrollRect = n, this.maybeNotify();
|
|
273
|
+
})
|
|
274
|
+
), this.unsubs.push(
|
|
275
|
+
this.options.observeElementOffset(this, (n, l) => {
|
|
276
|
+
if (l && this._intendedScrollOffset === null && n === this.scrollOffset)
|
|
277
|
+
return;
|
|
278
|
+
this._intendedScrollOffset !== null && Math.abs(n - this._intendedScrollOffset) < 1.5 && (n = this._intendedScrollOffset), this._intendedScrollOffset = null, this._clampedAdjustment !== null && Math.abs(n - this._clampedAdjustment.maxAtWrite) >= 1.5 && (this._clampedAdjustment = null), this.scrollAdjustments = 0;
|
|
279
|
+
const o = this.getScrollOffset();
|
|
280
|
+
this.scrollDirection = l ? o === n ? this.scrollDirection : o < n ? "forward" : "backward" : null, this.scrollOffset = n, this.isScrolling = l, this._flushIosDeferredIfReady(), this.scrollState && this.scheduleScrollReconcile(), this.maybeNotify();
|
|
281
|
+
})
|
|
282
|
+
), "addEventListener" in this.scrollElement) {
|
|
283
|
+
const n = this.scrollElement, l = () => {
|
|
284
|
+
this._iosTouching = !0, this._iosJustTouchEnded = !1, this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
285
|
+
}, o = () => {
|
|
286
|
+
this._iosTouching = !1, !(!F() || this.targetWindow == null) && (this._iosJustTouchEnded = !0, this._iosTouchEndTimerId = this.targetWindow.setTimeout(() => {
|
|
287
|
+
this._iosJustTouchEnded = !1, this._iosTouchEndTimerId = null, this._flushIosDeferredIfReady();
|
|
288
|
+
}, 150));
|
|
289
|
+
};
|
|
290
|
+
n.addEventListener(
|
|
291
|
+
"touchstart",
|
|
292
|
+
l,
|
|
293
|
+
j
|
|
294
|
+
), n.addEventListener(
|
|
295
|
+
"touchend",
|
|
296
|
+
o,
|
|
297
|
+
j
|
|
298
|
+
), this.unsubs.push(() => {
|
|
299
|
+
n.removeEventListener("touchstart", l), n.removeEventListener("touchend", o), this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
this._scrollToOffset(this.getScrollOffset(), {
|
|
303
|
+
adjustments: void 0,
|
|
304
|
+
behavior: void 0
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
const i = this.pendingScrollAnchor;
|
|
308
|
+
if (this.pendingScrollAnchor = null, i && this.scrollElement && this.options.enabled) {
|
|
309
|
+
const [n, l, o, a] = i;
|
|
310
|
+
n !== null && !o && (F() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded) ? a !== 0 && (this._iosDeferredAdjustment += a) : ((s = this.scrollState) == null ? void 0 : s.behavior) === "smooth" && !L(
|
|
311
|
+
this.getScrollOffset() - a,
|
|
312
|
+
this.scrollState.lastTargetOffset
|
|
313
|
+
) || this._scrollToOffset(this.getScrollOffset(), {
|
|
314
|
+
adjustments: void 0,
|
|
315
|
+
behavior: void 0
|
|
316
|
+
})), o && this.scrollToEnd({ behavior: o });
|
|
317
|
+
}
|
|
318
|
+
this._retryClampedAdjustment();
|
|
319
|
+
}, this._retryClampedAdjustment = () => {
|
|
320
|
+
if (this._clampedAdjustment === null || !this.scrollElement || !this.options.enabled)
|
|
321
|
+
return;
|
|
322
|
+
const { target: t, maxAtWrite: s } = this._clampedAdjustment, e = this.getMaxScrollOffset();
|
|
323
|
+
e > s + 0.5 && (this._clampedAdjustment = t > e + 0.5 ? { target: t, maxAtWrite: e } : null, this._scrollToOffset(t, {
|
|
324
|
+
adjustments: void 0,
|
|
325
|
+
behavior: void 0
|
|
326
|
+
}));
|
|
327
|
+
}, this._flushIosDeferredIfReady = () => {
|
|
328
|
+
if (this._iosDeferredAdjustment === 0 || this.isScrolling || this._iosTouching || this._iosJustTouchEnded) return;
|
|
329
|
+
const t = this.getScrollOffset(), s = this.getMaxScrollOffset();
|
|
330
|
+
if (t < 0 || t > s) return;
|
|
331
|
+
if (this._iosDeferredAdjustment < 0 && t >= s - 1) {
|
|
332
|
+
this._iosDeferredAdjustment = 0;
|
|
333
|
+
return;
|
|
334
|
+
}
|
|
335
|
+
const e = this._iosDeferredAdjustment;
|
|
336
|
+
this._iosDeferredAdjustment = 0, this._scrollToOffset(t, {
|
|
337
|
+
adjustments: this.scrollAdjustments += e,
|
|
338
|
+
behavior: void 0
|
|
339
|
+
});
|
|
340
|
+
}, this.rafId = null, this.getSize = () => this.options.enabled ? (this.scrollRect = this.scrollRect ?? this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0), this.getScrollOffset = () => this.options.enabled ? (this.scrollOffset = this.scrollOffset ?? (typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset), this.scrollOffset) : (this.scrollOffset = null, 0), this.getMeasurementOptions = M(
|
|
341
|
+
() => [
|
|
342
|
+
this.options.count,
|
|
343
|
+
this.options.paddingStart,
|
|
344
|
+
this.options.scrollMargin,
|
|
345
|
+
this.options.getItemKey,
|
|
346
|
+
this.options.enabled,
|
|
347
|
+
this.options.lanes,
|
|
348
|
+
this.options.laneAssignmentMode,
|
|
349
|
+
this.options.gap
|
|
350
|
+
],
|
|
351
|
+
(t, s, e, i, n, l, o, a) => (this.prevLanes !== void 0 && this.prevLanes !== l && (this.lanesChangedFlag = !0), this.prevLanes = l, this.pendingMin = null, {
|
|
352
|
+
count: t,
|
|
353
|
+
paddingStart: s,
|
|
354
|
+
scrollMargin: e,
|
|
355
|
+
getItemKey: i,
|
|
356
|
+
enabled: n,
|
|
357
|
+
lanes: l,
|
|
358
|
+
laneAssignmentMode: o,
|
|
359
|
+
gap: a
|
|
360
|
+
}),
|
|
361
|
+
{
|
|
362
|
+
key: !1
|
|
363
|
+
}
|
|
364
|
+
), this.isIndexInRange = (t) => t >= 0 && t < this.options.count, this.getMeasurements = M(
|
|
365
|
+
() => [this.getMeasurementOptions(), this.itemSizeCacheVersion],
|
|
366
|
+
({
|
|
367
|
+
count: t,
|
|
368
|
+
paddingStart: s,
|
|
369
|
+
scrollMargin: e,
|
|
370
|
+
getItemKey: i,
|
|
371
|
+
enabled: n,
|
|
372
|
+
lanes: l,
|
|
373
|
+
laneAssignmentMode: o,
|
|
374
|
+
gap: a
|
|
375
|
+
}, f) => {
|
|
376
|
+
var c;
|
|
377
|
+
const g = this.itemSizeCache;
|
|
378
|
+
if (!n)
|
|
379
|
+
return this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), [];
|
|
380
|
+
if (this.laneAssignments.size > t)
|
|
381
|
+
for (const u of this.laneAssignments.keys())
|
|
382
|
+
u >= t && this.laneAssignments.delete(u);
|
|
383
|
+
this.lanesChangedFlag && (this.lanesChangedFlag = !1, this.lanesSettling = !0, this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), this.pendingMin = null), this.measurementsCache.length === 0 && !this.lanesSettling && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((u) => {
|
|
384
|
+
this.itemSizeCache.set(u.key, u.size);
|
|
385
|
+
}));
|
|
386
|
+
const m = this.lanesSettling ? 0 : this.pendingMin ?? 0;
|
|
387
|
+
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === t && (this.lanesSettling = !1), l === 1) {
|
|
388
|
+
const u = t * 2;
|
|
389
|
+
let d = (c = this._singleLaneMeasurements) == null ? void 0 : c.flat;
|
|
390
|
+
if (!d || d.length < u) {
|
|
391
|
+
const v = new Float64Array(u);
|
|
392
|
+
d && m > 0 && v.set(d.subarray(0, m * 2)), d = v;
|
|
393
|
+
}
|
|
394
|
+
const _ = m === 0 ? new Array(t) : this._singleLaneMeasurements.items.slice();
|
|
395
|
+
let p;
|
|
396
|
+
if (m === 0)
|
|
397
|
+
p = s + e;
|
|
398
|
+
else {
|
|
399
|
+
const v = m - 1;
|
|
400
|
+
p = d[v * 2] + d[v * 2 + 1] + a;
|
|
401
|
+
}
|
|
402
|
+
for (let v = m; v < t; v++) {
|
|
403
|
+
const y = i(v);
|
|
404
|
+
_[v] = y;
|
|
405
|
+
const T = g.get(y), z = typeof T == "number" ? T : this.options.estimateSize(v);
|
|
406
|
+
d[v * 2] = p, d[v * 2 + 1] = z, p += z + a;
|
|
407
|
+
}
|
|
408
|
+
this._singleLaneMeasurements = { flat: d, items: _ };
|
|
409
|
+
const A = N(_, d);
|
|
410
|
+
return this.measurementsCache = A, A;
|
|
411
|
+
}
|
|
412
|
+
const b = this.measurementsCache.slice(0, m), S = new Array(l).fill(
|
|
413
|
+
void 0
|
|
414
|
+
), E = new Float64Array(l);
|
|
415
|
+
let O = 0;
|
|
416
|
+
for (let u = 0; u < m; u++) {
|
|
417
|
+
const d = b[u];
|
|
418
|
+
d && (S[d.lane] === void 0 && O++, S[d.lane] = u, E[d.lane] = d.end);
|
|
419
|
+
}
|
|
420
|
+
for (let u = m; u < t; u++) {
|
|
421
|
+
const d = i(u), _ = this.laneAssignments.get(u);
|
|
422
|
+
let p, A;
|
|
423
|
+
const v = o === "estimate" || g.has(d);
|
|
424
|
+
if (_ !== void 0 && this.options.lanes > 1) {
|
|
425
|
+
p = _;
|
|
426
|
+
const w = S[p], I = w !== void 0 ? b[w] : void 0;
|
|
427
|
+
A = I ? I.end + a : s + e;
|
|
428
|
+
} else if (O === l) {
|
|
429
|
+
let w = 0, I = E[0], D = S[0];
|
|
430
|
+
for (let x = 1; x < l; x++) {
|
|
431
|
+
const R = E[x];
|
|
432
|
+
(R < I || R === I && S[x] < D) && (w = x, I = R, D = S[x]);
|
|
433
|
+
}
|
|
434
|
+
p = w, A = I + a, v && this.laneAssignments.set(u, p);
|
|
435
|
+
} else
|
|
436
|
+
p = u % this.options.lanes, A = s + e, v && this.laneAssignments.set(u, p);
|
|
437
|
+
const y = g.get(d), T = typeof y == "number" ? y : this.options.estimateSize(u), z = A + T;
|
|
438
|
+
b[u] = {
|
|
439
|
+
index: u,
|
|
440
|
+
start: A,
|
|
441
|
+
size: T,
|
|
442
|
+
end: z,
|
|
443
|
+
key: d,
|
|
444
|
+
lane: p
|
|
445
|
+
}, S[p] === void 0 && O++, S[p] = u, E[p] = z;
|
|
446
|
+
}
|
|
447
|
+
return this.measurementsCache = b, b;
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
key: process.env.NODE_ENV !== "production" && "getMeasurements",
|
|
451
|
+
debug: () => this.options.debug
|
|
452
|
+
}
|
|
453
|
+
), this.calculateRange = M(
|
|
454
|
+
() => [
|
|
455
|
+
this.getMeasurements(),
|
|
456
|
+
this.getSize(),
|
|
457
|
+
this.getScrollOffset(),
|
|
458
|
+
this.options.lanes
|
|
459
|
+
],
|
|
460
|
+
(t, s, e, i) => t.length === 0 || s === 0 ? (this.range = null, null) : (this.range = Q(
|
|
461
|
+
t,
|
|
462
|
+
s,
|
|
463
|
+
e,
|
|
464
|
+
i,
|
|
465
|
+
// Pass the typed array so binary search + forward-walk can read
|
|
466
|
+
// start/end directly from Float64Array, skipping the Proxy traps.
|
|
467
|
+
i === 1 && this._singleLaneMeasurements !== null ? this._singleLaneMeasurements.flat : null
|
|
468
|
+
), this.range),
|
|
469
|
+
{
|
|
470
|
+
key: process.env.NODE_ENV !== "production" && "calculateRange",
|
|
471
|
+
debug: () => this.options.debug
|
|
472
|
+
}
|
|
473
|
+
), this.getVirtualIndexes = M(
|
|
474
|
+
() => {
|
|
475
|
+
let t = null, s = null;
|
|
476
|
+
const e = this.calculateRange();
|
|
477
|
+
return e && (t = e.startIndex, s = e.endIndex), this.maybeNotify.updateDeps([this.isScrolling, t, s]), [
|
|
478
|
+
this.options.rangeExtractor,
|
|
479
|
+
this.options.overscan,
|
|
480
|
+
this.options.count,
|
|
481
|
+
t,
|
|
482
|
+
s
|
|
483
|
+
];
|
|
484
|
+
},
|
|
485
|
+
(t, s, e, i, n) => i === null || n === null ? [] : t({
|
|
486
|
+
startIndex: i,
|
|
487
|
+
endIndex: n,
|
|
488
|
+
overscan: s,
|
|
489
|
+
count: e
|
|
490
|
+
}),
|
|
491
|
+
{
|
|
492
|
+
key: process.env.NODE_ENV !== "production" && "getVirtualIndexes",
|
|
493
|
+
debug: () => this.options.debug
|
|
494
|
+
}
|
|
495
|
+
), this.indexFromElement = (t) => {
|
|
496
|
+
const s = this.options.indexAttribute, e = t.getAttribute(s);
|
|
497
|
+
return e ? parseInt(e, 10) : (console.warn(
|
|
498
|
+
`Missing attribute name '${s}={index}' on measured element.`
|
|
499
|
+
), -1);
|
|
500
|
+
}, this.shouldMeasureDuringScroll = (t) => {
|
|
501
|
+
var s;
|
|
502
|
+
if (!this.scrollState || this.scrollState.behavior !== "smooth")
|
|
503
|
+
return !0;
|
|
504
|
+
const e = this.scrollState.index ?? ((s = this.getVirtualItemForOffset(this.scrollState.lastTargetOffset)) == null ? void 0 : s.index);
|
|
505
|
+
if (e !== void 0 && this.range) {
|
|
506
|
+
const i = Math.max(
|
|
507
|
+
this.options.overscan,
|
|
508
|
+
Math.ceil((this.range.endIndex - this.range.startIndex) / 2)
|
|
509
|
+
), n = Math.max(0, e - i), l = Math.min(
|
|
510
|
+
this.options.count - 1,
|
|
511
|
+
e + i
|
|
512
|
+
);
|
|
513
|
+
return t >= n && t <= l;
|
|
514
|
+
}
|
|
515
|
+
return !0;
|
|
516
|
+
}, this.measureElement = (t) => {
|
|
517
|
+
if (!t) {
|
|
518
|
+
this.elementsCache.forEach((n, l) => {
|
|
519
|
+
n.isConnected || (this.observer.unobserve(n), this.elementsCache.delete(l));
|
|
520
|
+
});
|
|
521
|
+
return;
|
|
522
|
+
}
|
|
523
|
+
const s = this.indexFromElement(t);
|
|
524
|
+
if (!this.isIndexInRange(s)) return;
|
|
525
|
+
const e = this.options.getItemKey(s), i = this.elementsCache.get(e);
|
|
526
|
+
i !== t && (i && this.observer.unobserve(i), this.observer.observe(t), this.elementsCache.set(e, t)), (!this.isScrolling || this.scrollState) && this.shouldMeasureDuringScroll(s) && this.resizeItem(s, this.options.measureElement(t, void 0, this));
|
|
527
|
+
}, this.resizeItem = (t, s) => {
|
|
528
|
+
var e, i, n;
|
|
529
|
+
if (!this.isIndexInRange(t)) return;
|
|
530
|
+
let l, o, a;
|
|
531
|
+
const f = (e = this._singleLaneMeasurements) == null ? void 0 : e.flat;
|
|
532
|
+
if (this.options.lanes === 1 && f != null)
|
|
533
|
+
a = this.options.getItemKey(t), o = f[t * 2], l = f[t * 2 + 1];
|
|
534
|
+
else {
|
|
535
|
+
const m = this.measurementsCache[t];
|
|
536
|
+
if (!m) return;
|
|
537
|
+
a = m.key, o = m.start, l = m.size;
|
|
538
|
+
}
|
|
539
|
+
const c = this.itemSizeCache.get(a) ?? l, g = s - c;
|
|
540
|
+
if (g !== 0) {
|
|
541
|
+
const m = this.options.anchorTo === "end" && ((i = this.scrollState) == null ? void 0 : i.behavior) !== "smooth" && this.getVirtualDistanceFromEnd() <= this.options.scrollEndThreshold, b = m ? this.getTotalSize() : 0, S = this.getScrollOffset() + this.scrollAdjustments, O = !this.itemSizeCache.has(a) ? (
|
|
542
|
+
// First measurement: compensate any item whose top sits above the
|
|
543
|
+
// fold — the estimate→actual delta must be corrected regardless of
|
|
544
|
+
// scroll direction, since the whole estimated block was above it.
|
|
545
|
+
o < S
|
|
546
|
+
) : (
|
|
547
|
+
// Re-measurement: only compensate an item that is ENTIRELY above the
|
|
548
|
+
// fold. An item that merely *spans* the fold (top above, bottom
|
|
549
|
+
// below — e.g. a streaming chat message growing at its bottom)
|
|
550
|
+
// changes size *below* the anchor point, so shifting scrollTop by the
|
|
551
|
+
// delta would drag the viewport downward on every growth (#1218).
|
|
552
|
+
// Also skip during backward scroll to avoid the "items jump while
|
|
553
|
+
// scrolling up" cascade.
|
|
554
|
+
o + c <= S && this.scrollDirection !== "backward"
|
|
555
|
+
), u = ((n = this.scrollState) == null ? void 0 : n.behavior) !== "smooth" && (this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(
|
|
556
|
+
// The callback expects a VirtualItem; build one lazily only
|
|
557
|
+
// when the consumer actually supplied a custom predicate.
|
|
558
|
+
this.measurementsCache[t] ?? {
|
|
559
|
+
index: t,
|
|
560
|
+
key: a,
|
|
561
|
+
start: o,
|
|
562
|
+
size: l,
|
|
563
|
+
end: o + l,
|
|
564
|
+
lane: 0
|
|
565
|
+
},
|
|
566
|
+
g,
|
|
567
|
+
this
|
|
568
|
+
) : O);
|
|
569
|
+
(this.pendingMin === null || t < this.pendingMin) && (this.pendingMin = t), this.itemSizeCache.set(a, s), this.itemSizeCacheVersion++;
|
|
570
|
+
let d = !1;
|
|
571
|
+
m ? d = this.applyScrollAdjustment(
|
|
572
|
+
this.getTotalSize() - b
|
|
573
|
+
) : u && (d = this.applyScrollAdjustment(g)), this.notify(d), this._retryClampedAdjustment();
|
|
574
|
+
}
|
|
575
|
+
}, this.getVirtualItems = M(
|
|
576
|
+
() => [this.getVirtualIndexes(), this.getMeasurements()],
|
|
577
|
+
(t, s) => {
|
|
578
|
+
const e = [];
|
|
579
|
+
for (let i = 0, n = t.length; i < n; i++) {
|
|
580
|
+
const l = t[i], o = s[l];
|
|
581
|
+
e.push(o);
|
|
582
|
+
}
|
|
583
|
+
return e;
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
key: process.env.NODE_ENV !== "production" && "getVirtualItems",
|
|
587
|
+
debug: () => this.options.debug
|
|
588
|
+
}
|
|
589
|
+
), this.getVirtualItemForOffset = (t) => {
|
|
590
|
+
var s;
|
|
591
|
+
const e = this.getMeasurements();
|
|
592
|
+
if (e.length === 0)
|
|
593
|
+
return;
|
|
594
|
+
const i = (s = this._singleLaneMeasurements) == null ? void 0 : s.flat, n = this.options.lanes === 1 && i != null, l = V(
|
|
595
|
+
0,
|
|
596
|
+
e.length - 1,
|
|
597
|
+
n ? (o) => i[o * 2] : (o) => W(e[o]).start,
|
|
598
|
+
t
|
|
599
|
+
);
|
|
600
|
+
return W(e[l]);
|
|
601
|
+
}, this.getMaxScrollOffset = () => {
|
|
602
|
+
if (!this.scrollElement) return 0;
|
|
603
|
+
if ("scrollHeight" in this.scrollElement)
|
|
604
|
+
return this.options.horizontal ? this.scrollElement.scrollWidth - this.scrollElement.clientWidth : this.scrollElement.scrollHeight - this.scrollElement.clientHeight;
|
|
605
|
+
{
|
|
606
|
+
const t = this.scrollElement.document.documentElement;
|
|
607
|
+
return this.options.horizontal ? t.scrollWidth - this.scrollElement.innerWidth : t.scrollHeight - this.scrollElement.innerHeight;
|
|
608
|
+
}
|
|
609
|
+
}, this.getVirtualDistanceFromEnd = () => Math.max(
|
|
610
|
+
this.getTotalSize() - this.getSize() - this.getScrollOffset(),
|
|
611
|
+
0
|
|
612
|
+
), this.getDistanceFromEnd = () => Math.max(this.getMaxScrollOffset() - this.getScrollOffset(), 0), this.isAtEnd = (t = this.options.scrollEndThreshold) => this.getDistanceFromEnd() <= t, this.getOffsetForAlignment = (t, s, e = 0) => {
|
|
613
|
+
if (!this.scrollElement) return 0;
|
|
614
|
+
const i = this.getSize(), n = this.getScrollOffset();
|
|
615
|
+
s === "auto" && (s = t >= n + i ? "end" : "start"), s === "center" ? t += (e - i) / 2 : s === "end" && (t -= i);
|
|
616
|
+
const l = this.getMaxScrollOffset();
|
|
617
|
+
return Math.max(Math.min(l, t), 0);
|
|
618
|
+
}, this.getOffsetForIndex = (t, s = "auto") => {
|
|
619
|
+
t = Math.max(0, Math.min(t, this.options.count - 1));
|
|
620
|
+
const e = this.getSize(), i = this.getScrollOffset(), n = this.measurementsCache[t];
|
|
621
|
+
if (!n) return;
|
|
622
|
+
if (s === "auto")
|
|
623
|
+
if (n.end >= i + e - this.options.scrollPaddingEnd)
|
|
624
|
+
s = "end";
|
|
625
|
+
else if (n.start <= i + this.options.scrollPaddingStart)
|
|
626
|
+
s = "start";
|
|
627
|
+
else
|
|
628
|
+
return [i, s];
|
|
629
|
+
if (s === "end" && t === this.options.count - 1)
|
|
630
|
+
return [this.getMaxScrollOffset(), s];
|
|
631
|
+
const l = s === "end" ? n.end + this.options.scrollPaddingEnd : n.start - this.options.scrollPaddingStart;
|
|
632
|
+
return [
|
|
633
|
+
this.getOffsetForAlignment(l, s, n.size),
|
|
634
|
+
s
|
|
635
|
+
];
|
|
636
|
+
}, this.scrollToOffset = (t, { align: s = "start", behavior: e = "auto" } = {}) => {
|
|
637
|
+
this._iosDeferredAdjustment = 0;
|
|
638
|
+
const i = this.getOffsetForAlignment(t, s), n = this.now();
|
|
639
|
+
this.scrollState = {
|
|
640
|
+
index: null,
|
|
641
|
+
align: s,
|
|
642
|
+
behavior: e,
|
|
643
|
+
startedAt: n,
|
|
644
|
+
lastTargetOffset: i,
|
|
645
|
+
stableFrames: 0
|
|
646
|
+
}, this._scrollToOffset(i, { adjustments: void 0, behavior: e }), this.scheduleScrollReconcile();
|
|
647
|
+
}, this.scrollToIndex = (t, {
|
|
648
|
+
align: s = "auto",
|
|
649
|
+
behavior: e = "auto"
|
|
650
|
+
} = {}) => {
|
|
651
|
+
this._iosDeferredAdjustment = 0, t = Math.max(0, Math.min(t, this.options.count - 1));
|
|
652
|
+
const i = this.getOffsetForIndex(t, s);
|
|
653
|
+
if (!i)
|
|
654
|
+
return;
|
|
655
|
+
const [n, l] = i, o = this.now();
|
|
656
|
+
this.scrollState = {
|
|
657
|
+
index: t,
|
|
658
|
+
align: l,
|
|
659
|
+
behavior: e,
|
|
660
|
+
startedAt: o,
|
|
661
|
+
lastTargetOffset: n,
|
|
662
|
+
stableFrames: 0
|
|
663
|
+
}, this._scrollToOffset(n, { adjustments: void 0, behavior: e }), this.scheduleScrollReconcile();
|
|
664
|
+
}, this.scrollBy = (t, { behavior: s = "auto" } = {}) => {
|
|
665
|
+
const e = this.getScrollOffset() + t, i = this.now();
|
|
666
|
+
this.scrollState = {
|
|
667
|
+
index: null,
|
|
668
|
+
align: "start",
|
|
669
|
+
behavior: s,
|
|
670
|
+
startedAt: i,
|
|
671
|
+
lastTargetOffset: e,
|
|
672
|
+
stableFrames: 0
|
|
673
|
+
}, this._scrollToOffset(e, { adjustments: void 0, behavior: s }), this.scheduleScrollReconcile();
|
|
674
|
+
}, this.scrollToEnd = ({ behavior: t = "auto" } = {}) => {
|
|
675
|
+
if (this.options.count > 0) {
|
|
676
|
+
this.scrollToIndex(this.options.count - 1, {
|
|
677
|
+
align: "end",
|
|
678
|
+
behavior: t
|
|
679
|
+
});
|
|
680
|
+
return;
|
|
681
|
+
}
|
|
682
|
+
this.scrollToOffset(Math.max(this.getTotalSize() - this.getSize(), 0), {
|
|
683
|
+
behavior: t
|
|
684
|
+
});
|
|
685
|
+
}, this.getTotalSize = () => {
|
|
686
|
+
var t, s;
|
|
687
|
+
const e = this.getMeasurements();
|
|
688
|
+
let i;
|
|
689
|
+
if (e.length === 0)
|
|
690
|
+
i = this.options.paddingStart;
|
|
691
|
+
else if (this.options.lanes === 1) {
|
|
692
|
+
const n = e.length - 1, l = (t = this._singleLaneMeasurements) == null ? void 0 : t.flat;
|
|
693
|
+
l != null ? i = l[n * 2] + l[n * 2 + 1] : i = ((s = e[n]) == null ? void 0 : s.end) ?? 0;
|
|
694
|
+
} else {
|
|
695
|
+
const n = Array(this.options.lanes).fill(null);
|
|
696
|
+
let l = e.length - 1;
|
|
697
|
+
for (; l >= 0 && n.some((o) => o === null); ) {
|
|
698
|
+
const o = e[l];
|
|
699
|
+
n[o.lane] === null && (n[o.lane] = o.end), l--;
|
|
700
|
+
}
|
|
701
|
+
i = Math.max(...n.filter((o) => o !== null));
|
|
702
|
+
}
|
|
703
|
+
return Math.max(
|
|
704
|
+
i - this.options.scrollMargin + this.options.paddingEnd,
|
|
705
|
+
0
|
|
706
|
+
);
|
|
707
|
+
}, this.takeSnapshot = () => {
|
|
708
|
+
const t = [];
|
|
709
|
+
if (this.itemSizeCache.size === 0) return t;
|
|
710
|
+
const s = this.getMeasurements();
|
|
711
|
+
for (const e of s)
|
|
712
|
+
e && this.itemSizeCache.has(e.key) && t.push({
|
|
713
|
+
index: e.index,
|
|
714
|
+
key: e.key,
|
|
715
|
+
start: e.start,
|
|
716
|
+
size: e.size,
|
|
717
|
+
end: e.end,
|
|
718
|
+
lane: e.lane
|
|
719
|
+
});
|
|
720
|
+
return t;
|
|
721
|
+
}, this._scrollToOffset = (t, {
|
|
722
|
+
adjustments: s,
|
|
723
|
+
behavior: e
|
|
724
|
+
}) => {
|
|
725
|
+
this._intendedScrollOffset = t + (s ?? 0), this.options.scrollToFn(t, { behavior: e, adjustments: s }, this);
|
|
726
|
+
}, this.measure = () => {
|
|
727
|
+
this.pendingMin = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), this.itemSizeCacheVersion++, this.notify(!1);
|
|
728
|
+
}, this.setOptions(h);
|
|
729
|
+
}
|
|
730
|
+
// Returns `true` when it performed a synchronous `scrollTop` write this
|
|
731
|
+
// tick, `false` when the delta was zero or the write was deferred (iOS).
|
|
732
|
+
// `resizeItem` uses that to decide whether the follow-up `notify` must be
|
|
733
|
+
// synchronous so the grown transforms commit in the same paint (#1227).
|
|
734
|
+
applyScrollAdjustment(h, t) {
|
|
735
|
+
if (h === 0) return !1;
|
|
736
|
+
if (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", h), F() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded))
|
|
737
|
+
return this._iosDeferredAdjustment += h, !1;
|
|
738
|
+
{
|
|
739
|
+
const s = this.getScrollOffset() + this.scrollAdjustments + h, e = this.scrollElement, i = e !== null && ("scrollHeight" in e || "document" in e) ? this.getMaxScrollOffset() : null;
|
|
740
|
+
return this._clampedAdjustment = i !== null && s > i + 0.5 ? { target: s, maxAtWrite: i } : null, this._scrollToOffset(this.getScrollOffset(), {
|
|
741
|
+
adjustments: this.scrollAdjustments += h,
|
|
742
|
+
behavior: t
|
|
743
|
+
}), this.scrollOffset !== null && (this.scrollOffset += this.scrollAdjustments, this.scrollOffset < 0 && (this.scrollOffset = 0), this.scrollAdjustments = 0), !0;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
scheduleScrollReconcile() {
|
|
747
|
+
if (!this.targetWindow) {
|
|
748
|
+
this.scrollState = null;
|
|
749
|
+
return;
|
|
750
|
+
}
|
|
751
|
+
this.rafId == null && (this.rafId = this.targetWindow.requestAnimationFrame(() => {
|
|
752
|
+
this.rafId = null, this.reconcileScroll();
|
|
753
|
+
}));
|
|
754
|
+
}
|
|
755
|
+
reconcileScroll() {
|
|
756
|
+
if (!this.scrollState || !this.scrollElement) return;
|
|
757
|
+
if (this.now() - this.scrollState.startedAt > 5e3) {
|
|
758
|
+
this.scrollState = null;
|
|
759
|
+
return;
|
|
760
|
+
}
|
|
761
|
+
const s = this.scrollState.index != null ? this.getOffsetForIndex(this.scrollState.index, this.scrollState.align) : void 0, e = s ? s[0] : this.scrollState.lastTargetOffset, i = 1, n = e !== this.scrollState.lastTargetOffset;
|
|
762
|
+
if (!n && L(e, this.getScrollOffset())) {
|
|
763
|
+
if (this.scrollState.stableFrames++, this.scrollState.stableFrames >= i) {
|
|
764
|
+
this.getScrollOffset() !== e && this._scrollToOffset(e, {
|
|
765
|
+
adjustments: void 0,
|
|
766
|
+
behavior: "auto"
|
|
767
|
+
}), this.scrollState = null;
|
|
768
|
+
return;
|
|
769
|
+
}
|
|
770
|
+
} else if (this.scrollState.stableFrames = 0, n) {
|
|
771
|
+
const l = this.getSize() || 600, o = Math.abs(e - this.getScrollOffset()), a = this.scrollState.behavior === "smooth" && o > l;
|
|
772
|
+
this.scrollState.lastTargetOffset = e, a || (this.scrollState.behavior = "auto"), this._scrollToOffset(e, {
|
|
773
|
+
adjustments: void 0,
|
|
774
|
+
behavior: a ? "smooth" : "auto"
|
|
775
|
+
});
|
|
776
|
+
}
|
|
777
|
+
this.scheduleScrollReconcile();
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
const V = (r, h, t, s) => {
|
|
781
|
+
for (; r <= h; ) {
|
|
782
|
+
const e = (r + h) / 2 | 0, i = t(e);
|
|
783
|
+
if (i < s)
|
|
784
|
+
r = e + 1;
|
|
785
|
+
else if (i > s)
|
|
786
|
+
h = e - 1;
|
|
787
|
+
else
|
|
788
|
+
return e;
|
|
789
|
+
}
|
|
790
|
+
return r > 0 ? r - 1 : 0;
|
|
791
|
+
};
|
|
792
|
+
function G(r, h, t) {
|
|
793
|
+
let s = 0;
|
|
794
|
+
for (; s <= h; ) {
|
|
795
|
+
const e = (s + h) / 2 | 0, i = r[e * 2];
|
|
796
|
+
if (i < t)
|
|
797
|
+
s = e + 1;
|
|
798
|
+
else if (i > t)
|
|
799
|
+
h = e - 1;
|
|
800
|
+
else
|
|
801
|
+
return e;
|
|
802
|
+
}
|
|
803
|
+
return s > 0 ? s - 1 : 0;
|
|
804
|
+
}
|
|
805
|
+
function Q(r, h, t, s, e) {
|
|
806
|
+
const i = r.length - 1;
|
|
807
|
+
if (r.length <= s)
|
|
808
|
+
return { startIndex: 0, endIndex: i };
|
|
809
|
+
if (s === 1 && e !== null) {
|
|
810
|
+
const a = G(
|
|
811
|
+
e,
|
|
812
|
+
i,
|
|
813
|
+
t
|
|
814
|
+
);
|
|
815
|
+
let f = a;
|
|
816
|
+
const c = t + h;
|
|
817
|
+
for (; f < i && e[f * 2] + e[f * 2 + 1] < c; )
|
|
818
|
+
f++;
|
|
819
|
+
return { startIndex: a, endIndex: f };
|
|
820
|
+
}
|
|
821
|
+
let l = V(0, i, (a) => r[a].start, t), o = l;
|
|
822
|
+
if (s === 1)
|
|
823
|
+
for (; o < i && r[o].end < t + h; )
|
|
824
|
+
o++;
|
|
825
|
+
else if (s > 1) {
|
|
826
|
+
const a = Array(s).fill(0);
|
|
827
|
+
for (; o < i && a.some((c) => c < t + h); ) {
|
|
828
|
+
const c = r[o];
|
|
829
|
+
a[c.lane] = c.end, o++;
|
|
830
|
+
}
|
|
831
|
+
const f = Array(s).fill(t + h);
|
|
832
|
+
for (; l >= 0 && f.some((c) => c >= t); ) {
|
|
833
|
+
const c = r[l];
|
|
834
|
+
f[c.lane] = c.start, l--;
|
|
835
|
+
}
|
|
836
|
+
l = Math.max(0, l - l % s), o = Math.min(i, o + (s - 1 - o % s));
|
|
837
|
+
}
|
|
838
|
+
return { startIndex: l, endIndex: o };
|
|
839
|
+
}
|
|
840
|
+
export {
|
|
841
|
+
it as Virtualizer,
|
|
842
|
+
L as approxEqual,
|
|
843
|
+
P as debounce,
|
|
844
|
+
B as defaultKeyExtractor,
|
|
845
|
+
H as defaultRangeExtractor,
|
|
846
|
+
st as elementScroll,
|
|
847
|
+
U as measureElement,
|
|
848
|
+
M as memo,
|
|
849
|
+
W as notUndefined,
|
|
850
|
+
et as observeElementOffset,
|
|
851
|
+
tt as observeElementRect
|
|
852
|
+
};
|