@threadlabs/looma 0.25.6 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar-group/ui-avatar-group.html +2 -2
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
- package/components/ui-breadcrumbs/ui-breadcrumbs.html +1 -1
- package/components/ui-button/ui-button.html +27 -27
- package/components/ui-callout/ui-callout.html +5 -5
- package/components/ui-card/ui-card.html +3 -3
- package/components/ui-checkbox/ui-checkbox.html +8 -8
- package/components/ui-combobox/ui-combobox.html +59 -59
- package/components/ui-dialog/ui-dialog.html +2 -2
- package/components/ui-disclosure/ui-disclosure.html +3 -3
- package/components/ui-editable/ui-editable.html +8 -8
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +11 -11
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +10 -10
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +7 -7
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +3 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +16 -16
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +31 -31
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +33 -33
- package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
- package/components/ui-grid/ui-grid.html +1 -1
- package/components/ui-icon/ui-icon.html +12 -12
- package/components/ui-icon-button/ui-icon-button.html +6 -6
- package/components/ui-image/ui-image.html +2 -2
- package/components/ui-input/ui-input.html +1 -1
- package/components/ui-list/ui-list.html +1 -1
- package/components/ui-list-item/ui-list-item.html +1 -1
- package/components/ui-listbox/ui-listbox.html +24 -24
- package/components/ui-menu-group/ui-menu-group.html +2 -2
- package/components/ui-menu-item/ui-menu-item.html +9 -9
- package/components/ui-meter/ui-meter.html +8 -8
- package/components/ui-nav-item/ui-nav-item.html +6 -6
- package/components/ui-radio/ui-radio.html +1 -1
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-search-result-row/ui-search-result-row.html +1 -1
- package/components/ui-search-shell/ui-search-shell.html +1 -1
- package/components/ui-section/ui-section.html +1 -1
- package/components/ui-select/ui-select.html +1 -1
- package/components/ui-separator/ui-separator.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +2 -2
- package/components/ui-spinner/ui-spinner.html +4 -4
- package/components/ui-stack/ui-stack.html +1 -1
- package/components/ui-status-message/ui-status-message.html +3 -3
- package/components/ui-switch/ui-switch.html +5 -5
- package/components/ui-tabs/ui-tabs.html +8 -8
- package/components/ui-text/ui-text.html +10 -10
- package/components/ui-textarea/ui-textarea.html +8 -8
- package/components/ui-toast/ui-toast.html +1 -1
- package/components/ui-toast-region/ui-toast-region.html +8 -8
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +32 -18
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +14 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +70 -52
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +36 -17
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +72 -37
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +57 -26
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +49 -39
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +41 -26
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +35 -24
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +444 -156
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +135 -111
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +147 -47
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +100 -58
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +35 -29
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +879 -283
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +35 -19
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +34 -23
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +35 -15
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +37 -24
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +35 -21
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +83 -42
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +113 -72
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +125 -58
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +85 -30
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +193 -75
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +81 -44
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +123 -78
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +40 -34
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +98 -45
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +35 -15
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +143 -60
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +212 -109
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +330 -113
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +37 -20
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +44 -22
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +89 -65
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +39 -19
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +186 -27
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +82 -32
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +76 -69
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +51 -27
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +77 -56
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +91 -27
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +81 -74
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +204 -81
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +36 -20
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +60 -24
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +177 -77
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +77 -14
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +199 -123
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +91 -69
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +36 -20
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +82 -50
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +58 -30
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +35 -21
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +37 -20
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +98 -74
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +81 -64
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +71 -53
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +50 -26
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +23 -22
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +49 -37
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +43 -26
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +39 -19
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +70 -41
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +82 -51
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +36 -17
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +35 -17
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +97 -42
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +343 -117
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +56 -33
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +61 -40
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +85 -35
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +54 -31
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +70 -52
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +35 -17
- package/vanilla/UiTreeItem.d.ts +2 -1
- package/vanilla/UiTreeItem.js +219 -181
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +7 -7
- package/vue/UiAvatarGroup.vue +3 -3
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +1 -1
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +1 -1
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +2 -2
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +25 -25
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +2 -2
- package/vue/UiDisclosure.vue +6 -6
- package/vue/UiEditable.vue +3 -3
- package/vue/UiEditorInsertTableGrid.vue +4 -4
- package/vue/UiEditorMentionMenu.vue +2 -2
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +2 -2
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorSurface.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +11 -11
- package/vue/UiEditorTableToolbar.vue +2 -2
- package/vue/UiEditorToolbar.vue +1 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +1 -1
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiImage.vue +1 -1
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.vue +4 -4
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +2 -2
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.vue +1 -1
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +2 -2
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +3 -3
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +2 -2
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +1 -1
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +1 -1
- package/vue/UiTooltip.vue +2 -2
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.d.ts +9 -0
- package/vue/UiTreeItem.vue +41 -6
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +6 -6
- package/vue/chunks/UiAvatarGroup.js +3 -3
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +2 -2
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +22 -22
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +2 -2
- package/vue/chunks/UiDisclosure.js +6 -6
- package/vue/chunks/UiEditable.js +3 -3
- package/vue/chunks/UiEditorInsertTableGrid.js +4 -4
- package/vue/chunks/UiEditorMentionMenu.js +2 -2
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +2 -2
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +11 -11
- package/vue/chunks/UiEditorTableToolbar.js +2 -2
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +4 -4
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +2 -2
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +2 -2
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +2 -2
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwitch.js +2 -2
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +2 -2
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +28 -5
- package/vue/chunks/control.js +41 -13
- package/vue/chunks/host.js +19 -18
- package/vue/components.css +1398 -1383
- package/vue/host.ts +22 -20
package/vue/chunks/UiImage.js
CHANGED
package/vue/chunks/UiInput.js
CHANGED
package/vue/chunks/UiList.js
CHANGED
package/vue/chunks/UiListItem.js
CHANGED
package/vue/chunks/UiListbox.js
CHANGED
|
@@ -288,17 +288,17 @@ var UiListbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
288
288
|
});
|
|
289
289
|
let guardedBindingPrevious;
|
|
290
290
|
const guardedBinding = computed(() => {
|
|
291
|
-
if (!htmlNextAuthoredCheck2(validationError.value == null || typeof validationError.value === "boolean", "invalid or validationError:validationError", "./components/ui-listbox/ui-listbox.html: HR007: Reference validationError does not satisfy its declared type.")) return guardedBindingPrevious;
|
|
291
|
+
if (!htmlNextAuthoredCheck2(validationError.value == null || typeof validationError.value === "boolean", "$invalid or $validationError:validationError", "./components/ui-listbox/ui-listbox.html: HR007: Reference validationError does not satisfy its declared type.")) return guardedBindingPrevious;
|
|
292
292
|
return guardedBindingPrevious = checkedProps.value.invalid || validationError.value;
|
|
293
293
|
});
|
|
294
294
|
let guardedBinding2Previous;
|
|
295
295
|
const guardedBinding2 = computed(() => {
|
|
296
|
-
if (!htmlNextAuthoredCheck2(hasSelection.value == null || typeof hasSelection.value === "boolean", "required and not hasSelection and not disabled:hasSelection", "./components/ui-listbox/ui-listbox.html: HR007: Reference hasSelection does not satisfy its declared type.")) return guardedBinding2Previous;
|
|
296
|
+
if (!htmlNextAuthoredCheck2(hasSelection.value == null || typeof hasSelection.value === "boolean", "$required and not $hasSelection and not $disabled:hasSelection", "./components/ui-listbox/ui-listbox.html: HR007: Reference hasSelection does not satisfy its declared type.")) return guardedBinding2Previous;
|
|
297
297
|
return guardedBinding2Previous = checkedProps.value.required && !hasSelection.value && !checkedProps.value.disabled;
|
|
298
298
|
});
|
|
299
299
|
let guardedBinding3Previous;
|
|
300
300
|
const guardedBinding3 = computed(() => {
|
|
301
|
-
if (!htmlNextAuthoredCheck2(hasSelection.value == null || typeof hasSelection.value === "boolean", "hasSelection:hasSelection", "./components/ui-listbox/ui-listbox.html: HR007: Reference hasSelection does not satisfy its declared type.")) return guardedBinding3Previous;
|
|
301
|
+
if (!htmlNextAuthoredCheck2(hasSelection.value == null || typeof hasSelection.value === "boolean", "$hasSelection:hasSelection", "./components/ui-listbox/ui-listbox.html: HR007: Reference hasSelection does not satisfy its declared type.")) return guardedBinding3Previous;
|
|
302
302
|
return guardedBinding3Previous = hasSelection.value ? true : void 0;
|
|
303
303
|
});
|
|
304
304
|
provide("html-next:ui-listbox:choices", choices);
|
|
@@ -557,6 +557,6 @@ var UiListbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
557
557
|
}]]);
|
|
558
558
|
};
|
|
559
559
|
}
|
|
560
|
-
}), [["__scopeId", "data-v-
|
|
560
|
+
}), [["__scopeId", "data-v-1ba46396"]]);
|
|
561
561
|
//#endregion
|
|
562
562
|
export { UiListbox_default as t };
|
package/vue/chunks/UiMenu.js
CHANGED
package/vue/chunks/UiMenuItem.js
CHANGED
|
@@ -202,7 +202,7 @@ var UiMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
202
202
|
});
|
|
203
203
|
let guardedBindingPrevious;
|
|
204
204
|
const guardedBinding = computed(() => {
|
|
205
|
-
if (!htmlNextAuthoredCheck2(internalChecked.value == null || typeof internalChecked.value === "boolean", "{ action: null, checkbox: internalChecked, radio: internalChecked }[type]:internalChecked", "./components/ui-menu-item/ui-menu-item.html: HR007: Reference internalChecked does not satisfy its declared type.")) return guardedBindingPrevious;
|
|
205
|
+
if (!htmlNextAuthoredCheck2(internalChecked.value == null || typeof internalChecked.value === "boolean", "{ action: null, checkbox: $internalChecked, radio: $internalChecked }[$type]:internalChecked", "./components/ui-menu-item/ui-menu-item.html: HR007: Reference internalChecked does not satisfy its declared type.")) return guardedBindingPrevious;
|
|
206
206
|
return guardedBindingPrevious = typeof {
|
|
207
207
|
action: null,
|
|
208
208
|
checkbox: internalChecked.value,
|
|
@@ -337,6 +337,6 @@ var UiMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
337
337
|
}]]);
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
|
-
}), [["__scopeId", "data-v-
|
|
340
|
+
}), [["__scopeId", "data-v-3aab9247"]]);
|
|
341
341
|
//#endregion
|
|
342
342
|
export { UiMenuItem_default as t };
|
package/vue/chunks/UiMeter.js
CHANGED
package/vue/chunks/UiNavItem.js
CHANGED
package/vue/chunks/UiPopover.js
CHANGED
package/vue/chunks/UiRadio.js
CHANGED
|
@@ -192,7 +192,7 @@ var UiRadio_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
192
192
|
const internalChecked = ref(false);
|
|
193
193
|
let guardedPrevious;
|
|
194
194
|
computed(() => {
|
|
195
|
-
if (!htmlNextAuthoredCheck2(internalChecked.value == null || typeof internalChecked.value === "boolean", "internalChecked:internalChecked", "./components/ui-radio/ui-radio.html: HR007: Reference internalChecked does not satisfy its declared type.")) return guardedPrevious;
|
|
195
|
+
if (!htmlNextAuthoredCheck2(internalChecked.value == null || typeof internalChecked.value === "boolean", "$internalChecked:internalChecked", "./components/ui-radio/ui-radio.html: HR007: Reference internalChecked does not satisfy its declared type.")) return guardedPrevious;
|
|
196
196
|
return guardedPrevious = internalChecked.value;
|
|
197
197
|
});
|
|
198
198
|
provide("html-next:ui-radio:internalChecked", internalChecked);
|
|
@@ -290,6 +290,6 @@ var UiRadio_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
290
290
|
}]]);
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
}), [["__scopeId", "data-v-
|
|
293
|
+
}), [["__scopeId", "data-v-40a723c3"]]);
|
|
294
294
|
//#endregion
|
|
295
295
|
export { UiRadio_default as t };
|
package/vue/chunks/UiReel.js
CHANGED
|
@@ -144,6 +144,6 @@ var UiSearchResultRow_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
144
144
|
}]]);
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
-
}), [["__scopeId", "data-v-
|
|
147
|
+
}), [["__scopeId", "data-v-6ea384f9"]]);
|
|
148
148
|
//#endregion
|
|
149
149
|
export { UiSearchResultRow_default as t };
|
package/vue/chunks/UiSection.js
CHANGED
package/vue/chunks/UiSelect.js
CHANGED
package/vue/chunks/UiSidebar.js
CHANGED
|
@@ -248,7 +248,7 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
248
248
|
const resizing = ref(false);
|
|
249
249
|
let guardedPrevious;
|
|
250
250
|
const guarded = computed(() => {
|
|
251
|
-
if (!(htmlNextAuthoredCheck2(drawer.value == null || typeof drawer.value === "boolean", "not resizable or drawer or internalCollapsed:drawer", "./components/ui-sidebar/ui-sidebar.html: HR007: Reference drawer does not satisfy its declared type.") && htmlNextAuthoredCheck2(internalCollapsed.value == null || typeof internalCollapsed.value === "boolean", "not resizable or drawer or internalCollapsed:internalCollapsed", "./components/ui-sidebar/ui-sidebar.html: HR007: Reference internalCollapsed does not satisfy its declared type."))) return guardedPrevious;
|
|
251
|
+
if (!(htmlNextAuthoredCheck2(drawer.value == null || typeof drawer.value === "boolean", "not $resizable or $drawer or $internalCollapsed:drawer", "./components/ui-sidebar/ui-sidebar.html: HR007: Reference drawer does not satisfy its declared type.") && htmlNextAuthoredCheck2(internalCollapsed.value == null || typeof internalCollapsed.value === "boolean", "not $resizable or $drawer or $internalCollapsed:internalCollapsed", "./components/ui-sidebar/ui-sidebar.html: HR007: Reference internalCollapsed does not satisfy its declared type."))) return guardedPrevious;
|
|
252
252
|
return guardedPrevious = !checkedProps.value.resizable || drawer.value || internalCollapsed.value;
|
|
253
253
|
});
|
|
254
254
|
provide("html-next:ui-sidebar:internalCollapsed", internalCollapsed);
|
|
@@ -364,6 +364,6 @@ var UiSidebar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
364
364
|
}]]);
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
|
-
}), [["__scopeId", "data-v-
|
|
367
|
+
}), [["__scopeId", "data-v-2a2e6016"]]);
|
|
368
368
|
//#endregion
|
|
369
369
|
export { UiSidebar_default as t };
|
package/vue/chunks/UiSpinner.js
CHANGED
package/vue/chunks/UiStack.js
CHANGED
package/vue/chunks/UiSwitch.js
CHANGED
|
@@ -192,7 +192,7 @@ var UiSwitch_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
192
192
|
const internalChecked = ref(false);
|
|
193
193
|
let guardedPrevious;
|
|
194
194
|
computed(() => {
|
|
195
|
-
if (!htmlNextAuthoredCheck2(internalChecked.value == null || typeof internalChecked.value === "boolean", "internalChecked:internalChecked", "./components/ui-switch/ui-switch.html: HR007: Reference internalChecked does not satisfy its declared type.")) return guardedPrevious;
|
|
195
|
+
if (!htmlNextAuthoredCheck2(internalChecked.value == null || typeof internalChecked.value === "boolean", "$internalChecked:internalChecked", "./components/ui-switch/ui-switch.html: HR007: Reference internalChecked does not satisfy its declared type.")) return guardedPrevious;
|
|
196
196
|
return guardedPrevious = internalChecked.value;
|
|
197
197
|
});
|
|
198
198
|
provide("html-next:ui-switch:internalChecked", internalChecked);
|
|
@@ -291,6 +291,6 @@ var UiSwitch_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
291
291
|
}]]);
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
-
}), [["__scopeId", "data-v-
|
|
294
|
+
}), [["__scopeId", "data-v-0e78d118"]]);
|
|
295
295
|
//#endregion
|
|
296
296
|
export { UiSwitch_default as t };
|
package/vue/chunks/UiSwitcher.js
CHANGED
package/vue/chunks/UiTable.js
CHANGED
package/vue/chunks/UiTabs.js
CHANGED
package/vue/chunks/UiText.js
CHANGED
package/vue/chunks/UiTextarea.js
CHANGED
package/vue/chunks/UiToast.js
CHANGED
package/vue/chunks/UiTooltip.js
CHANGED
|
@@ -219,7 +219,7 @@ var UiTooltip_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
219
219
|
const internalOpen = ref(false);
|
|
220
220
|
let guardedPrevious;
|
|
221
221
|
const guarded = computed(() => {
|
|
222
|
-
if (!htmlNextAuthoredCheck2(internalOpen.value == null || typeof internalOpen.value === "boolean", "not internalOpen:internalOpen", "./components/ui-tooltip/ui-tooltip.html: HR007: Reference internalOpen does not satisfy its declared type.")) return guardedPrevious;
|
|
222
|
+
if (!htmlNextAuthoredCheck2(internalOpen.value == null || typeof internalOpen.value === "boolean", "not $internalOpen:internalOpen", "./components/ui-tooltip/ui-tooltip.html: HR007: Reference internalOpen does not satisfy its declared type.")) return guardedPrevious;
|
|
223
223
|
return guardedPrevious = !internalOpen.value;
|
|
224
224
|
});
|
|
225
225
|
provide("html-next:ui-tooltip:internalOpen", internalOpen);
|
|
@@ -299,6 +299,6 @@ var UiTooltip_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
299
299
|
}]]);
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
|
-
}), [["__scopeId", "data-v-
|
|
302
|
+
}), [["__scopeId", "data-v-a876d863"]]);
|
|
303
303
|
//#endregion
|
|
304
304
|
export { UiTooltip_default as t };
|
package/vue/chunks/UiTopBar.js
CHANGED
package/vue/chunks/UiTree.js
CHANGED
package/vue/chunks/UiTreeItem.js
CHANGED
|
@@ -10,6 +10,7 @@ var _hoisted_1 = [
|
|
|
10
10
|
"aria-selected",
|
|
11
11
|
"aria-disabled",
|
|
12
12
|
"data-accepts",
|
|
13
|
+
"data-actions-visible",
|
|
13
14
|
"data-container",
|
|
14
15
|
"data-disabled",
|
|
15
16
|
"data-drag-type",
|
|
@@ -52,6 +53,10 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
52
53
|
type: null,
|
|
53
54
|
default: ""
|
|
54
55
|
},
|
|
56
|
+
actionsVisible: {
|
|
57
|
+
type: null,
|
|
58
|
+
default: false
|
|
59
|
+
},
|
|
55
60
|
container: {
|
|
56
61
|
type: null,
|
|
57
62
|
default: false
|
|
@@ -118,6 +123,16 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
118
123
|
description: "A comma-separated list of the dragType values this branch accepts dropped inside it. Empty accepts any type. It does not affect drops before or after the\n item.",
|
|
119
124
|
default: ""
|
|
120
125
|
},
|
|
126
|
+
actionsVisible: {
|
|
127
|
+
type: {
|
|
128
|
+
kind: "terminal",
|
|
129
|
+
name: "boolean"
|
|
130
|
+
},
|
|
131
|
+
required: false,
|
|
132
|
+
target: { attribute: "actionsvisible" },
|
|
133
|
+
description: "Keeps the actions slot visible before hover or focus, for persistent status or controls. The label fades beneath its measured width on pointer devices;\n touch rows retain a separate actions column with a short end fade. Does not change keyboard navigation or start the marquee.",
|
|
134
|
+
default: false
|
|
135
|
+
},
|
|
121
136
|
container: {
|
|
122
137
|
type: {
|
|
123
138
|
kind: "terminal",
|
|
@@ -250,6 +265,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
250
265
|
const props = __props;
|
|
251
266
|
const acceptedProps = {
|
|
252
267
|
accepts: "",
|
|
268
|
+
actionsVisible: false,
|
|
253
269
|
container: false,
|
|
254
270
|
disabled: false,
|
|
255
271
|
dragType: "item",
|
|
@@ -269,6 +285,10 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
269
285
|
kind: "terminal",
|
|
270
286
|
name: "string"
|
|
271
287
|
}, false, "accepts", acceptedProps),
|
|
288
|
+
actionsVisible: checkedProp(props["actionsVisible"], {
|
|
289
|
+
kind: "terminal",
|
|
290
|
+
name: "boolean"
|
|
291
|
+
}, false, "actionsVisible", acceptedProps),
|
|
272
292
|
container: checkedProp(props["container"], {
|
|
273
293
|
kind: "terminal",
|
|
274
294
|
name: "boolean"
|
|
@@ -356,12 +376,12 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
356
376
|
const moving = ref(false);
|
|
357
377
|
let guardedPrevious;
|
|
358
378
|
const guarded = computed(() => {
|
|
359
|
-
if (!htmlNextAuthoredCheck2(structuralLevel.value == null || Number.isInteger(structuralLevel.value), "structuralLevel:structuralLevel", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference structuralLevel does not satisfy its declared type.")) return guardedPrevious;
|
|
379
|
+
if (!htmlNextAuthoredCheck2(structuralLevel.value == null || Number.isInteger(structuralLevel.value), "$structuralLevel:structuralLevel", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference structuralLevel does not satisfy its declared type.")) return guardedPrevious;
|
|
360
380
|
return guardedPrevious = structuralLevel.value;
|
|
361
381
|
});
|
|
362
382
|
let guardedBindingPrevious = null;
|
|
363
383
|
const guardedBinding = computed(() => {
|
|
364
|
-
if (!htmlNextAuthoredCheck2(moving.value == null || typeof moving.value === "boolean", "{ true: concat('Cancel moving ', label), false: concat('Drag ', label, ' to reorder') }[concat(moving)]:moving", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference moving does not satisfy its declared type.")) return guardedBindingPrevious;
|
|
384
|
+
if (!htmlNextAuthoredCheck2(moving.value == null || typeof moving.value === "boolean", "{ true: concat('Cancel moving ', $label), false: concat('Drag ', $label, ' to reorder') }[concat($moving)]:moving", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference moving does not satisfy its declared type.")) return guardedBindingPrevious;
|
|
365
385
|
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])((() => {
|
|
366
386
|
const value = {
|
|
367
387
|
true: concat("Cancel moving ", checkedProps.value.label),
|
|
@@ -391,7 +411,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
391
411
|
});
|
|
392
412
|
let guardedBinding2Previous;
|
|
393
413
|
const guardedBinding2 = computed(() => {
|
|
394
|
-
if (!htmlNextAuthoredCheck2(isContainer.value == null || typeof isContainer.value === "boolean", "not isContainer:isContainer", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference isContainer does not satisfy its declared type.")) return guardedBinding2Previous;
|
|
414
|
+
if (!htmlNextAuthoredCheck2(isContainer.value == null || typeof isContainer.value === "boolean", "not $isContainer:isContainer", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference isContainer does not satisfy its declared type.")) return guardedBinding2Previous;
|
|
395
415
|
return guardedBinding2Previous = !isContainer.value;
|
|
396
416
|
});
|
|
397
417
|
let guardedBinding3Previous = null;
|
|
@@ -402,7 +422,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
402
422
|
});
|
|
403
423
|
let guardedBinding4Previous;
|
|
404
424
|
const guardedBinding4 = computed(() => {
|
|
405
|
-
if (!(htmlNextAuthoredCheck2(internalExpanded.value == null || typeof internalExpanded.value === "boolean", "not (isContainer and internalExpanded):internalExpanded", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference internalExpanded does not satisfy its declared type.") && htmlNextAuthoredCheck2(isContainer.value == null || typeof isContainer.value === "boolean", "not (isContainer and internalExpanded):isContainer", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference isContainer does not satisfy its declared type."))) return guardedBinding4Previous;
|
|
425
|
+
if (!(htmlNextAuthoredCheck2(internalExpanded.value == null || typeof internalExpanded.value === "boolean", "not ($isContainer and $internalExpanded):internalExpanded", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference internalExpanded does not satisfy its declared type.") && htmlNextAuthoredCheck2(isContainer.value == null || typeof isContainer.value === "boolean", "not ($isContainer and $internalExpanded):isContainer", "./components/ui-tree-item/ui-tree-item.html: HR007: Reference isContainer does not satisfy its declared type."))) return guardedBinding4Previous;
|
|
406
426
|
return guardedBinding4Previous = !(isContainer.value && internalExpanded.value);
|
|
407
427
|
});
|
|
408
428
|
provide("html-next:ui-tree-item:internalExpanded", internalExpanded);
|
|
@@ -422,6 +442,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
422
442
|
const hostState = computed(() => [
|
|
423
443
|
checkedProps.value.selected && "selected",
|
|
424
444
|
checkedProps.value.disabled && "disabled",
|
|
445
|
+
checkedProps.value.actionsVisible && "actionsVisible",
|
|
425
446
|
isContainer.value && "isContainer"
|
|
426
447
|
].filter(Boolean).join(" "));
|
|
427
448
|
const isExpandDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && typeof detail["id"] === "string" && typeof detail["expanded"] === "boolean" && (detail["trigger"] === "keyboard" || detail["trigger"] === "pointer" || detail["trigger"] === "programmatic") && Object.keys(detail).every((key) => [
|
|
@@ -475,6 +496,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
475
496
|
},
|
|
476
497
|
propNames: [
|
|
477
498
|
"accepts",
|
|
499
|
+
"actionsVisible",
|
|
478
500
|
"container",
|
|
479
501
|
"disabled",
|
|
480
502
|
"dragType",
|
|
@@ -535,6 +557,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
535
557
|
"aria-selected": checkedProps.value.selected ?? void 0,
|
|
536
558
|
"aria-disabled": checkedProps.value.disabled ?? void 0,
|
|
537
559
|
"data-accepts": reflectedProp("accepts", "accepts", checkedProps.value.accepts, void 0, true),
|
|
560
|
+
"data-actions-visible": reflectedProp("actionsVisible", "actions-visible", checkedProps.value.actionsVisible, void 0, false),
|
|
538
561
|
"data-container": reflectedProp("container", "container", checkedProps.value.container, void 0, false),
|
|
539
562
|
"data-disabled": reflectedProp("disabled", "disabled", checkedProps.value.disabled, void 0, false),
|
|
540
563
|
"data-drag-type": reflectedProp("dragType", "drag-type", checkedProps.value.dragType, void 0, true),
|
|
@@ -676,6 +699,6 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
676
699
|
}]]);
|
|
677
700
|
};
|
|
678
701
|
}
|
|
679
|
-
}), [["__scopeId", "data-v-
|
|
702
|
+
}), [["__scopeId", "data-v-9fa5fb80"]]);
|
|
680
703
|
//#endregion
|
|
681
704
|
export { UiTreeItem_default as t };
|
package/vue/chunks/control.js
CHANGED
|
@@ -4,7 +4,43 @@ var connectedControls = /* @__PURE__ */ new WeakSet();
|
|
|
4
4
|
var boundValues = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
var selectOptions = /* @__PURE__ */ new WeakMap();
|
|
6
6
|
var selectBindings = /* @__PURE__ */ new WeakMap();
|
|
7
|
-
var
|
|
7
|
+
var selectWatches = /* @__PURE__ */ new WeakMap();
|
|
8
|
+
var optionWatches = /* @__PURE__ */ new WeakMap();
|
|
9
|
+
function watchOptions(select, check) {
|
|
10
|
+
const document = select.ownerDocument;
|
|
11
|
+
let watch = optionWatches.get(document);
|
|
12
|
+
if (watch === void 0) {
|
|
13
|
+
const checks = /* @__PURE__ */ new Map();
|
|
14
|
+
watch = {
|
|
15
|
+
observer: new MutationObserver((records) => {
|
|
16
|
+
const changed = /* @__PURE__ */ new Set();
|
|
17
|
+
for (const record of records) {
|
|
18
|
+
const select = (record.target.nodeType === 1 ? record.target : record.target.parentElement)?.closest("select");
|
|
19
|
+
if (select) changed.add(select);
|
|
20
|
+
}
|
|
21
|
+
for (const select of changed) checks.get(select)?.();
|
|
22
|
+
}),
|
|
23
|
+
checks
|
|
24
|
+
};
|
|
25
|
+
optionWatches.set(document, watch);
|
|
26
|
+
}
|
|
27
|
+
watch.observer.observe(select, {
|
|
28
|
+
childList: true,
|
|
29
|
+
characterData: true,
|
|
30
|
+
subtree: true,
|
|
31
|
+
attributes: true,
|
|
32
|
+
attributeFilter: ["value"]
|
|
33
|
+
});
|
|
34
|
+
watch.checks.set(select, check);
|
|
35
|
+
const current = watch;
|
|
36
|
+
return () => {
|
|
37
|
+
if (current.checks.get(select) === check) current.checks.delete(select);
|
|
38
|
+
if (current.checks.size === 0 && optionWatches.get(document) === current) {
|
|
39
|
+
current.observer.disconnect();
|
|
40
|
+
optionWatches.delete(document);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
8
44
|
function currentOptions(element) {
|
|
9
45
|
return Array.from(element.options, (option) => [option, option.value]);
|
|
10
46
|
}
|
|
@@ -133,18 +169,10 @@ var vBindControl = {
|
|
|
133
169
|
if (element instanceof HTMLSelectElement) {
|
|
134
170
|
selectBindings.set(element, binding.value);
|
|
135
171
|
selectOptions.set(element, currentOptions(element));
|
|
136
|
-
|
|
172
|
+
selectWatches.set(element, watchOptions(element, () => {
|
|
137
173
|
const current = selectBindings.get(element);
|
|
138
174
|
if (current !== void 0 && optionsChanged(element)) writeBoundControl(element, current);
|
|
139
|
-
});
|
|
140
|
-
observer.observe(element, {
|
|
141
|
-
childList: true,
|
|
142
|
-
subtree: true,
|
|
143
|
-
characterData: true,
|
|
144
|
-
attributes: true,
|
|
145
|
-
attributeFilter: ["value"]
|
|
146
|
-
});
|
|
147
|
-
selectObservers.set(element, observer);
|
|
175
|
+
}));
|
|
148
176
|
}
|
|
149
177
|
},
|
|
150
178
|
updated(element, binding) {
|
|
@@ -161,8 +189,8 @@ var vBindControl = {
|
|
|
161
189
|
if (element instanceof HTMLSelectElement) {
|
|
162
190
|
selectOptions.delete(element);
|
|
163
191
|
selectBindings.delete(element);
|
|
164
|
-
|
|
165
|
-
|
|
192
|
+
selectWatches.get(element)?.();
|
|
193
|
+
selectWatches.delete(element);
|
|
166
194
|
}
|
|
167
195
|
}
|
|
168
196
|
};
|