@threadlabs/looma 0.24.1 → 0.25.1
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/README.md +1 -1
- package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
- package/components/ui-affordance-scope/ui-affordance-scope.js +6 -1
- package/components/ui-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar/ui-avatar.js +6 -1
- package/components/ui-avatar-group/ui-avatar-group.html +2 -2
- package/components/ui-avatar-group/ui-avatar-group.js +6 -1
- package/components/ui-badge/ui-badge.html +30 -30
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
- package/components/ui-button/ui-button.html +33 -33
- package/components/ui-button/ui-button.js +6 -1
- package/components/ui-callout/ui-callout.html +4 -4
- package/components/ui-card/ui-card.html +9 -9
- package/components/ui-checkbox/ui-checkbox.html +11 -11
- package/components/ui-checkbox/ui-checkbox.js +6 -1
- package/components/ui-cluster/ui-cluster.html +12 -12
- package/components/ui-combobox/ui-combobox.html +15 -17
- package/components/ui-combobox/ui-combobox.js +13 -15
- package/components/ui-container/ui-container.html +5 -5
- package/components/ui-context-menu/ui-context-menu.js +6 -1
- package/components/ui-cover/ui-cover.html +1 -1
- package/components/ui-description-list/ui-description-list.html +10 -10
- package/components/ui-dialog/ui-dialog.html +4 -4
- package/components/ui-dialog/ui-dialog.js +6 -1
- package/components/ui-disclosure/ui-disclosure.html +13 -13
- package/components/ui-disclosure/ui-disclosure.js +6 -1
- package/components/ui-editable/ui-editable.html +1 -1
- package/components/ui-editable/ui-editable.js +6 -1
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +6 -1
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +6 -1
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +6 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +6 -1
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +6 -1
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +6 -1
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +4 -4
- package/components/ui-editor-toolbar/ui-editor-toolbar.js +6 -1
- package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
- package/components/ui-form-field/ui-form-field.html +1 -1
- package/components/ui-form-field/ui-form-field.js +6 -1
- package/components/ui-grid/ui-grid.html +7 -7
- package/components/ui-icon-button/ui-icon-button.html +26 -26
- package/components/ui-icon-button/ui-icon-button.js +6 -1
- package/components/ui-image/ui-image.html +11 -11
- package/components/ui-image/ui-image.js +6 -1
- package/components/ui-input/ui-input.html +9 -7
- package/components/ui-input/ui-input.js +6 -1
- package/components/ui-input-group/ui-input-group.html +37 -8
- package/components/ui-input-group/ui-input-group.js +8 -3
- package/components/ui-list/ui-list.html +6 -6
- package/components/ui-list-item/ui-list-item.html +8 -8
- package/components/ui-listbox/ui-listbox.js +6 -1
- package/components/ui-menu/ui-menu.html +3 -3
- package/components/ui-menu/ui-menu.js +6 -1
- package/components/ui-menu-item/ui-menu-item.html +3 -3
- package/components/ui-menu-item/ui-menu-item.js +6 -1
- package/components/ui-meter/ui-meter.html +7 -7
- package/components/ui-nav-item/ui-nav-item.html +6 -6
- package/components/ui-page-header/ui-page-header.html +2 -2
- package/components/ui-popover/ui-popover.html +3 -3
- package/components/ui-popover/ui-popover.js +6 -1
- package/components/ui-radio/ui-radio.html +10 -10
- package/components/ui-radio/ui-radio.js +6 -1
- package/components/ui-radio-group/ui-radio-group.html +2 -2
- package/components/ui-radio-group/ui-radio-group.js +6 -1
- package/components/ui-reel/ui-reel.html +11 -11
- package/components/ui-scroll-area/ui-scroll-area.html +4 -4
- package/components/ui-scroll-area/ui-scroll-area.js +6 -1
- package/components/ui-search-result-row/ui-search-result-row.html +5 -5
- package/components/ui-search-shell/ui-search-shell.js +6 -1
- package/components/ui-section/ui-section.html +4 -4
- package/components/ui-select/ui-select.html +3 -3
- package/components/ui-select/ui-select.js +6 -1
- package/components/ui-separator/ui-separator.html +4 -4
- package/components/ui-sidebar/ui-sidebar.html +6 -6
- package/components/ui-sidebar/ui-sidebar.js +6 -1
- package/components/ui-spinner/ui-spinner.html +1 -1
- package/components/ui-stack/ui-stack.html +12 -12
- package/components/ui-status-message/ui-status-message.html +4 -4
- package/components/ui-switch/ui-switch.html +11 -11
- package/components/ui-switch/ui-switch.js +6 -1
- package/components/ui-switcher/ui-switcher.html +11 -11
- package/components/ui-switcher/ui-switcher.js +6 -1
- package/components/ui-table/ui-table.html +2 -2
- package/components/ui-table/ui-table.js +6 -1
- package/components/ui-tabs/ui-tabs.html +8 -8
- package/components/ui-tabs/ui-tabs.js +6 -1
- package/components/ui-text/ui-text.html +20 -20
- package/components/ui-textarea/ui-textarea.html +46 -18
- package/components/ui-textarea/ui-textarea.js +6 -1
- package/components/ui-toast/ui-toast.html +4 -4
- package/components/ui-toast/ui-toast.js +6 -1
- package/components/ui-toast-region/ui-toast-region.html +16 -11
- package/components/ui-toast-region/ui-toast-region.js +12 -9
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tooltip/ui-tooltip.js +6 -1
- package/components/ui-tree/ui-tree.html +2 -2
- package/components/ui-tree/ui-tree.js +6 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -4
- package/components/ui-tree-item/ui-tree-item.js +6 -1
- package/dist/index.js +10 -4
- 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 +2 -2
- 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-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 +36 -6
- 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 +2 -2
- 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 +43 -15
- 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 +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -3
- package/vanilla/UiCombobox.js +2 -2
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +1 -1
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +1 -1
- package/vanilla/UiInput.d.ts +4 -4
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +2 -1
- package/vanilla/UiInputGroup.js +2 -2
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +1 -1
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +1 -1
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +2 -2
- package/vanilla/UiToastRegion.js +2 -2
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +8 -1
- package/vue/UiAvatar.d.ts +6 -9
- package/vue/UiAvatar.vue +71 -20
- package/vue/UiAvatarGroup.d.ts +7 -10
- package/vue/UiAvatarGroup.vue +45 -12
- 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.d.ts +8 -11
- package/vue/UiCheckbox.vue +34 -11
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.d.ts +60 -66
- package/vue/UiCombobox.vue +476 -124
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +18 -9
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.d.ts +8 -11
- package/vue/UiDialog.vue +39 -12
- package/vue/UiDisclosure.d.ts +12 -15
- package/vue/UiDisclosure.vue +70 -24
- package/vue/UiEditable.d.ts +3 -3
- package/vue/UiEditable.vue +60 -21
- package/vue/UiEditorInsertTableGrid.d.ts +2 -2
- package/vue/UiEditorInsertTableGrid.vue +75 -14
- package/vue/UiEditorMentionMenu.d.ts +10 -13
- package/vue/UiEditorMentionMenu.vue +50 -7
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.d.ts +12 -15
- package/vue/UiEditorSlashMenu.vue +48 -7
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +73 -4
- package/vue/UiEditorTableOverlay.d.ts +2 -2
- package/vue/UiEditorTableOverlay.vue +202 -38
- package/vue/UiEditorTableToolbar.d.ts +2 -2
- package/vue/UiEditorTableToolbar.vue +128 -7
- package/vue/UiEditorToolbar.vue +3 -3
- 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 +7 -6
- package/vue/UiInput.d.ts +5 -5
- package/vue/UiInput.vue +15 -3
- package/vue/UiInputGroup.d.ts +9 -0
- package/vue/UiInputGroup.vue +57 -8
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.d.ts +6 -9
- package/vue/UiListbox.vue +70 -19
- package/vue/UiMenu.vue +20 -10
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.d.ts +13 -16
- package/vue/UiMenuItem.vue +30 -7
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.vue +1 -1
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +12 -4
- package/vue/UiRadio.d.ts +8 -11
- package/vue/UiRadio.vue +34 -11
- package/vue/UiRadioGroup.vue +16 -7
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +3 -3
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +14 -6
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +3 -2
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.d.ts +7 -10
- package/vue/UiSidebar.vue +44 -12
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.d.ts +8 -11
- package/vue/UiSwitch.vue +34 -11
- package/vue/UiSwitcher.vue +8 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +30 -8
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +78 -17
- package/vue/UiToast.vue +7 -6
- package/vue/UiToastRegion.d.ts +15 -3
- package/vue/UiToastRegion.vue +90 -45
- package/vue/UiTooltip.d.ts +9 -12
- package/vue/UiTooltip.vue +30 -7
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +17 -13
- package/vue/UiTreeItem.d.ts +15 -18
- package/vue/UiTreeItem.vue +79 -30
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +6 -2
- package/vue/chunks/UiAvatar.js +37 -10
- package/vue/chunks/UiAvatarGroup.js +26 -7
- package/vue/chunks/UiBadge.js +2 -2
- package/vue/chunks/UiBreadcrumbItem.js +2 -2
- package/vue/chunks/UiBreadcrumbs.js +2 -2
- package/vue/chunks/UiButton.js +2 -2
- package/vue/chunks/UiCallout.js +2 -2
- package/vue/chunks/UiCard.js +2 -2
- package/vue/chunks/UiCheckbox.js +25 -12
- package/vue/chunks/UiCluster.js +2 -2
- package/vue/chunks/UiCombobox.js +628 -117
- package/vue/chunks/UiContainer.js +2 -2
- package/vue/chunks/UiContextMenu.js +14 -10
- package/vue/chunks/UiCover.js +2 -2
- package/vue/chunks/UiDescriptionItem.js +2 -2
- package/vue/chunks/UiDescriptionList.js +2 -2
- package/vue/chunks/UiDialog.js +29 -11
- package/vue/chunks/UiDisclosure.js +44 -14
- package/vue/chunks/UiEditable.js +33 -9
- package/vue/chunks/UiEditorInsertTableGrid.js +98 -14
- package/vue/chunks/UiEditorMentionMenu.js +76 -9
- package/vue/chunks/UiEditorMentionMenuItem.js +2 -2
- package/vue/chunks/UiEditorSlashMenu.js +70 -11
- package/vue/chunks/UiEditorSlashMenuGroup.js +2 -2
- package/vue/chunks/UiEditorSlashMenuItem.js +2 -2
- package/vue/chunks/UiEditorTableContextMenu.js +120 -2
- package/vue/chunks/UiEditorTableOverlay.js +306 -12
- package/vue/chunks/UiEditorTableToolbar.js +215 -3
- package/vue/chunks/UiEditorToolbar.js +8 -8
- package/vue/chunks/UiFloatingActionButton.js +2 -2
- package/vue/chunks/UiFormField.js +2 -2
- package/vue/chunks/UiGrid.js +2 -2
- package/vue/chunks/UiIcon.js +2 -2
- package/vue/chunks/UiIconButton.js +2 -2
- package/vue/chunks/UiImage.js +12 -12
- package/vue/chunks/UiInput.js +34 -4
- package/vue/chunks/UiInputGroup.js +30 -4
- package/vue/chunks/UiList.js +2 -2
- package/vue/chunks/UiListItem.js +2 -2
- package/vue/chunks/UiListbox.js +96 -12
- package/vue/chunks/UiMenu.js +6 -2
- package/vue/chunks/UiMenuGroup.js +2 -2
- package/vue/chunks/UiMenuItem.js +15 -3
- package/vue/chunks/UiMeter.js +2 -2
- package/vue/chunks/UiNavItem.js +2 -2
- package/vue/chunks/UiPageHeader.js +2 -2
- package/vue/chunks/UiPopover.js +6 -2
- package/vue/chunks/UiRadio.js +25 -12
- package/vue/chunks/UiRadioGroup.js +6 -2
- package/vue/chunks/UiReel.js +2 -2
- package/vue/chunks/UiScrollArea.js +8 -8
- package/vue/chunks/UiSearchResultRow.js +2 -2
- package/vue/chunks/UiSearchShell.js +9 -4
- package/vue/chunks/UiSection.js +2 -2
- package/vue/chunks/UiSelect.js +5 -3
- package/vue/chunks/UiSeparator.js +2 -2
- package/vue/chunks/UiSidebar.js +28 -5
- package/vue/chunks/UiSpinner.js +2 -2
- package/vue/chunks/UiStack.js +2 -2
- package/vue/chunks/UiStatusMessage.js +2 -2
- package/vue/chunks/UiSwitch.js +25 -12
- package/vue/chunks/UiSwitcher.js +6 -2
- package/vue/chunks/UiTable.js +2 -2
- package/vue/chunks/UiTabs.js +39 -10
- package/vue/chunks/UiText.js +2 -2
- package/vue/chunks/UiTextarea.js +3 -2
- package/vue/chunks/UiToast.js +8 -8
- package/vue/chunks/UiToastRegion.js +86 -20
- package/vue/chunks/UiTooltip.js +15 -3
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +2 -2
- package/vue/chunks/UiTreeItem.js +84 -51
- package/vue/chunks/control.js +9 -2
- package/vue/chunks/host.js +203 -29
- package/vue/chunks/props.js +43 -7
- package/vue/components.css +1447 -1360
- package/vue/host.ts +286 -42
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
const htmlNextAuthoredCheck2Reported = new Set<string>()
|
|
4
|
+
function htmlNextAuthoredCheck2(accepted: boolean, location: string, message: string): boolean {
|
|
5
|
+
if (!accepted && !htmlNextAuthoredCheck2Reported.has(location)) {
|
|
6
|
+
htmlNextAuthoredCheck2Reported.add(location)
|
|
7
|
+
console.warn(message)
|
|
8
|
+
}
|
|
9
|
+
return accepted
|
|
10
|
+
}
|
|
11
|
+
</script>
|
|
12
|
+
|
|
2
13
|
<script setup lang="ts">
|
|
3
14
|
import {
|
|
4
15
|
computed,
|
|
@@ -11,6 +22,7 @@ import {
|
|
|
11
22
|
} from 'vue'
|
|
12
23
|
import type { PropType, VNode } from 'vue'
|
|
13
24
|
import { createDispatch, useComponentHost } from './host'
|
|
25
|
+
import { acceptsControllerWrite } from './props'
|
|
14
26
|
import { checkedProp, propValidityState, vPropValidity } from './props'
|
|
15
27
|
import UiIcon from './UiIcon.vue'
|
|
16
28
|
|
|
@@ -368,73 +380,113 @@ const active = ref<
|
|
|
368
380
|
const activeKey = ref('')
|
|
369
381
|
let guardedPrevious: any
|
|
370
382
|
const guarded = computed(() => {
|
|
371
|
-
if (
|
|
372
|
-
|
|
373
|
-
|
|
383
|
+
if (
|
|
384
|
+
!(htmlNextAuthoredCheck2(
|
|
385
|
+
hovered.value?.['rowOffset'] == null || typeof hovered.value?.['rowOffset'] === 'string',
|
|
386
|
+
'hovered.rowOffset:hovered.rowOffset',
|
|
387
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.rowOffset does not satisfy its declared type.',
|
|
388
|
+
))
|
|
389
|
+
) return guardedPrevious
|
|
374
390
|
return guardedPrevious = hovered.value?.rowOffset
|
|
375
391
|
})
|
|
376
392
|
let guardedBindingPrevious: any
|
|
377
393
|
const guardedBinding = computed(() => {
|
|
378
|
-
if (
|
|
379
|
-
|
|
380
|
-
|
|
394
|
+
if (
|
|
395
|
+
!(htmlNextAuthoredCheck2(
|
|
396
|
+
hovered.value?.['rowIndex'] == null || Number.isInteger(hovered.value?.['rowIndex']),
|
|
397
|
+
'hovered.rowIndex:hovered.rowIndex',
|
|
398
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.rowIndex does not satisfy its declared type.',
|
|
399
|
+
))
|
|
400
|
+
) return guardedBindingPrevious
|
|
381
401
|
return guardedBindingPrevious = hovered.value?.rowIndex
|
|
382
402
|
})
|
|
383
403
|
let guardedBinding2Previous: any
|
|
384
404
|
const guardedBinding2 = computed(() => {
|
|
385
405
|
if (
|
|
386
|
-
!(
|
|
406
|
+
!(htmlNextAuthoredCheck2(
|
|
407
|
+
hovered.value?.['columnIndex'] == null || Number.isInteger(hovered.value?.['columnIndex']),
|
|
408
|
+
'hovered.columnIndex:hovered.columnIndex',
|
|
409
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.columnIndex does not satisfy its declared type.',
|
|
410
|
+
))
|
|
387
411
|
) return guardedBinding2Previous
|
|
388
412
|
return guardedBinding2Previous = hovered.value?.columnIndex
|
|
389
413
|
})
|
|
390
414
|
let guardedBinding3Previous: any
|
|
391
415
|
const guardedBinding3 = computed(() => {
|
|
392
416
|
if (
|
|
393
|
-
!(
|
|
394
|
-
|
|
417
|
+
!(htmlNextAuthoredCheck2(
|
|
418
|
+
hovered.value?.['columnOffset'] == null
|
|
419
|
+
|| typeof hovered.value?.['columnOffset'] === 'string',
|
|
420
|
+
'hovered.columnOffset:hovered.columnOffset',
|
|
421
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.columnOffset does not satisfy its declared type.',
|
|
422
|
+
))
|
|
395
423
|
) return guardedBinding3Previous
|
|
396
424
|
return guardedBinding3Previous = hovered.value?.columnOffset
|
|
397
425
|
})
|
|
398
426
|
let guardedBinding4Previous: any
|
|
399
427
|
const guardedBinding4 = computed(() => {
|
|
400
|
-
if (
|
|
401
|
-
|
|
402
|
-
|
|
428
|
+
if (
|
|
429
|
+
!(htmlNextAuthoredCheck2(
|
|
430
|
+
hovered.value?.['rowIndex'] == null || Number.isInteger(hovered.value?.['rowIndex']),
|
|
431
|
+
'hovered.rowIndex:hovered.rowIndex',
|
|
432
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.rowIndex does not satisfy its declared type.',
|
|
433
|
+
))
|
|
434
|
+
) return guardedBinding4Previous
|
|
403
435
|
return guardedBinding4Previous = hovered.value?.rowIndex
|
|
404
436
|
})
|
|
405
437
|
let guardedBinding5Previous: any
|
|
406
438
|
const guardedBinding5 = computed(() => {
|
|
407
439
|
if (
|
|
408
|
-
!(
|
|
440
|
+
!(htmlNextAuthoredCheck2(
|
|
441
|
+
hovered.value?.['columnIndex'] == null || Number.isInteger(hovered.value?.['columnIndex']),
|
|
442
|
+
'hovered.columnIndex:hovered.columnIndex',
|
|
443
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.columnIndex does not satisfy its declared type.',
|
|
444
|
+
))
|
|
409
445
|
) return guardedBinding5Previous
|
|
410
446
|
return guardedBinding5Previous = hovered.value?.columnIndex
|
|
411
447
|
})
|
|
412
448
|
let guardedBinding6Previous: any
|
|
413
449
|
const guardedBinding6 = computed(() => {
|
|
414
|
-
if (
|
|
415
|
-
|
|
416
|
-
|
|
450
|
+
if (
|
|
451
|
+
!(htmlNextAuthoredCheck2(
|
|
452
|
+
active.value?.['menuLeft'] == null || typeof active.value?.['menuLeft'] === 'string',
|
|
453
|
+
'active.menuLeft:active.menuLeft',
|
|
454
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference active.menuLeft does not satisfy its declared type.',
|
|
455
|
+
))
|
|
456
|
+
) return guardedBinding6Previous
|
|
417
457
|
return guardedBinding6Previous = active.value?.menuLeft
|
|
418
458
|
})
|
|
419
459
|
let guardedBinding7Previous: any
|
|
420
460
|
const guardedBinding7 = computed(() => {
|
|
421
|
-
if (
|
|
422
|
-
|
|
423
|
-
|
|
461
|
+
if (
|
|
462
|
+
!(htmlNextAuthoredCheck2(
|
|
463
|
+
active.value?.['menuTop'] == null || typeof active.value?.['menuTop'] === 'string',
|
|
464
|
+
'active.menuTop:active.menuTop',
|
|
465
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference active.menuTop does not satisfy its declared type.',
|
|
466
|
+
))
|
|
467
|
+
) return guardedBinding7Previous
|
|
424
468
|
return guardedBinding7Previous = active.value?.menuTop
|
|
425
469
|
})
|
|
426
470
|
let guardedBinding8Previous: any
|
|
427
471
|
const guardedBinding8 = computed(() => {
|
|
428
|
-
if (
|
|
429
|
-
|
|
430
|
-
|
|
472
|
+
if (
|
|
473
|
+
!(htmlNextAuthoredCheck2(
|
|
474
|
+
active.value?.['rowIndex'] == null || Number.isInteger(active.value?.['rowIndex']),
|
|
475
|
+
'active.rowIndex:active.rowIndex',
|
|
476
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference active.rowIndex does not satisfy its declared type.',
|
|
477
|
+
))
|
|
478
|
+
) return guardedBinding8Previous
|
|
431
479
|
return guardedBinding8Previous = active.value?.rowIndex
|
|
432
480
|
})
|
|
433
481
|
let guardedBinding9Previous: any
|
|
434
482
|
const guardedBinding9 = computed(() => {
|
|
435
|
-
if (
|
|
436
|
-
|
|
437
|
-
|
|
483
|
+
if (
|
|
484
|
+
!(htmlNextAuthoredCheck2(
|
|
485
|
+
active.value?.['columnIndex'] == null || Number.isInteger(active.value?.['columnIndex']),
|
|
486
|
+
'active.columnIndex:active.columnIndex',
|
|
487
|
+
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference active.columnIndex does not satisfy its declared type.',
|
|
488
|
+
))
|
|
489
|
+
) return guardedBinding9Previous
|
|
438
490
|
return guardedBinding9Previous = active.value?.columnIndex
|
|
439
491
|
})
|
|
440
492
|
provide('html-next:ui-editor-table-overlay:rows', rows)
|
|
@@ -459,22 +511,26 @@ if (
|
|
|
459
511
|
)
|
|
460
512
|
}
|
|
461
513
|
|
|
462
|
-
const isAddRowBeforeDetail = (
|
|
463
|
-
detail
|
|
514
|
+
const isAddRowBeforeDetail = (
|
|
515
|
+
detail: unknown,
|
|
516
|
+
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
464
517
|
&& Number.isInteger((detail as Record<string, unknown>)['boundaryIndex'])
|
|
465
|
-
&& Object.keys(detail as object).every((key) => ['boundaryIndex'].includes(key))
|
|
466
|
-
const isSelectRowDetail = (
|
|
467
|
-
detail
|
|
518
|
+
&& Object.keys(detail as object).every((key) => ['boundaryIndex'].includes(key)))
|
|
519
|
+
const isSelectRowDetail = (
|
|
520
|
+
detail: unknown,
|
|
521
|
+
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
468
522
|
&& Number.isInteger((detail as Record<string, unknown>)['rowIndex'])
|
|
469
523
|
&& Number.isInteger((detail as Record<string, unknown>)['columnIndex'])
|
|
470
|
-
&& Object.keys(detail as object).every((key) => ['rowIndex', 'columnIndex'].includes(key))
|
|
471
|
-
const isReorderRowDetail = (
|
|
472
|
-
detail
|
|
524
|
+
&& Object.keys(detail as object).every((key) => ['rowIndex', 'columnIndex'].includes(key)))
|
|
525
|
+
const isReorderRowDetail = (
|
|
526
|
+
detail: unknown,
|
|
527
|
+
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
473
528
|
&& Number.isInteger((detail as Record<string, unknown>)['fromIndex'])
|
|
474
529
|
&& Number.isInteger((detail as Record<string, unknown>)['toIndex'])
|
|
475
|
-
&& Object.keys(detail as object).every((key) => ['fromIndex', 'toIndex'].includes(key))
|
|
476
|
-
const isOpenCellMenuDetail = (
|
|
477
|
-
detail
|
|
530
|
+
&& Object.keys(detail as object).every((key) => ['fromIndex', 'toIndex'].includes(key)))
|
|
531
|
+
const isOpenCellMenuDetail = (
|
|
532
|
+
detail: unknown,
|
|
533
|
+
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
478
534
|
&& Number.isInteger((detail as Record<string, unknown>)['rowIndex'])
|
|
479
535
|
&& Number.isInteger((detail as Record<string, unknown>)['columnIndex'])
|
|
480
536
|
&& ((detail as Record<string, unknown>)['anchor'] !== null
|
|
@@ -505,7 +561,7 @@ const isOpenCellMenuDetail = (detail: unknown): boolean =>
|
|
|
505
561
|
))
|
|
506
562
|
&& Object.keys(detail as object).every((key) =>
|
|
507
563
|
['rowIndex', 'columnIndex', 'anchor'].includes(key)
|
|
508
|
-
)
|
|
564
|
+
))
|
|
509
565
|
const dispatch = createDispatch(root, emit as (name: string, detail: unknown) => void, {
|
|
510
566
|
checks: {
|
|
511
567
|
'add-row-before': isAddRowBeforeDetail,
|
|
@@ -525,6 +581,114 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
|
|
|
525
581
|
useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-table-overlay.js'), {
|
|
526
582
|
root,
|
|
527
583
|
dispatch,
|
|
584
|
+
acceptsState: (name: string, keys: readonly string[], value: unknown) =>
|
|
585
|
+
acceptsControllerWrite(
|
|
586
|
+
value,
|
|
587
|
+
({
|
|
588
|
+
rows: {
|
|
589
|
+
kind: 'list',
|
|
590
|
+
item: {
|
|
591
|
+
kind: 'object',
|
|
592
|
+
fields: [
|
|
593
|
+
{ name: 'key', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
594
|
+
{ name: 'index', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
595
|
+
{ name: 'offset', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
596
|
+
{
|
|
597
|
+
name: 'affordance',
|
|
598
|
+
type: {
|
|
599
|
+
kind: 'constrained',
|
|
600
|
+
base: { kind: 'terminal', name: 'keyword' },
|
|
601
|
+
values: ['insert-row', 'insert-column'],
|
|
602
|
+
},
|
|
603
|
+
optional: false,
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
name: 'action',
|
|
607
|
+
type: {
|
|
608
|
+
kind: 'constrained',
|
|
609
|
+
base: { kind: 'terminal', name: 'keyword' },
|
|
610
|
+
values: [
|
|
611
|
+
'add-row-before',
|
|
612
|
+
'add-row-after',
|
|
613
|
+
'add-column-before',
|
|
614
|
+
'add-column-after',
|
|
615
|
+
],
|
|
616
|
+
},
|
|
617
|
+
optional: false,
|
|
618
|
+
},
|
|
619
|
+
{ name: 'label', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
620
|
+
],
|
|
621
|
+
open: false,
|
|
622
|
+
},
|
|
623
|
+
},
|
|
624
|
+
cols: {
|
|
625
|
+
kind: 'list',
|
|
626
|
+
item: {
|
|
627
|
+
kind: 'object',
|
|
628
|
+
fields: [
|
|
629
|
+
{ name: 'key', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
630
|
+
{ name: 'index', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
631
|
+
{ name: 'offset', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
632
|
+
{
|
|
633
|
+
name: 'affordance',
|
|
634
|
+
type: {
|
|
635
|
+
kind: 'constrained',
|
|
636
|
+
base: { kind: 'terminal', name: 'keyword' },
|
|
637
|
+
values: ['insert-row', 'insert-column'],
|
|
638
|
+
},
|
|
639
|
+
optional: false,
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
name: 'action',
|
|
643
|
+
type: {
|
|
644
|
+
kind: 'constrained',
|
|
645
|
+
base: { kind: 'terminal', name: 'keyword' },
|
|
646
|
+
values: [
|
|
647
|
+
'add-row-before',
|
|
648
|
+
'add-row-after',
|
|
649
|
+
'add-column-before',
|
|
650
|
+
'add-column-after',
|
|
651
|
+
],
|
|
652
|
+
},
|
|
653
|
+
optional: false,
|
|
654
|
+
},
|
|
655
|
+
{ name: 'label', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
656
|
+
],
|
|
657
|
+
open: false,
|
|
658
|
+
},
|
|
659
|
+
},
|
|
660
|
+
hovered: {
|
|
661
|
+
kind: 'object',
|
|
662
|
+
fields: [
|
|
663
|
+
{ name: 'left', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
664
|
+
{ name: 'top', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
665
|
+
{ name: 'width', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
666
|
+
{ name: 'height', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
667
|
+
{ name: 'rowIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
668
|
+
{ name: 'columnIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
669
|
+
{ name: 'rowOffset', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
670
|
+
{ name: 'columnOffset', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
671
|
+
],
|
|
672
|
+
open: false,
|
|
673
|
+
},
|
|
674
|
+
active: {
|
|
675
|
+
kind: 'object',
|
|
676
|
+
fields: [
|
|
677
|
+
{ name: 'left', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
678
|
+
{ name: 'top', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
679
|
+
{ name: 'width', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
680
|
+
{ name: 'height', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
681
|
+
{ name: 'rowIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
682
|
+
{ name: 'columnIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
683
|
+
{ name: 'menuLeft', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
684
|
+
{ name: 'menuTop', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
685
|
+
],
|
|
686
|
+
open: false,
|
|
687
|
+
},
|
|
688
|
+
activeKey: { kind: 'terminal', name: 'string' },
|
|
689
|
+
} as Record<string, any>)[name],
|
|
690
|
+
keys,
|
|
691
|
+
),
|
|
528
692
|
controllerSource: {
|
|
529
693
|
specifier: '../components/ui-editor-table-overlay/ui-editor-table-overlay.js',
|
|
530
694
|
definition: './components/ui-editor-table-overlay/ui-editor-table-overlay.html',
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
2
4
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
5
|
actions: {
|
|
4
6
|
type: PropType<readonly ("align-left" | "align-center" | "align-right" | "background-none" | "background-gray" | "background-yellow" | "background-blue" | "background-green" | "background-red" | "add-row-before" | "add-row-after" | "add-column-before" | "add-column-after" | "toggle-header-row" | "toggle-header-column" | "move-row-up" | "move-row-down" | "move-column-left" | "move-column-right" | "clear-cells" | "merge-cells" | "split-cell" | "delete-row" | "delete-column" | "delete-table")[] | null>;
|
|
@@ -65,5 +67,3 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
65
67
|
headerColumn: boolean | null;
|
|
66
68
|
cellAlignment: "left" | "right" | "center" | null;
|
|
67
69
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
|
-
declare const _default: typeof __VLS_export;
|
|
69
|
-
export default _default;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
const htmlNextAuthoredCheck2Reported = new Set<string>()
|
|
4
|
+
function htmlNextAuthoredCheck2(accepted: boolean, location: string, message: string): boolean {
|
|
5
|
+
if (!accepted && !htmlNextAuthoredCheck2Reported.has(location)) {
|
|
6
|
+
htmlNextAuthoredCheck2Reported.add(location)
|
|
7
|
+
console.warn(message)
|
|
8
|
+
}
|
|
9
|
+
return accepted
|
|
10
|
+
}
|
|
11
|
+
</script>
|
|
12
|
+
|
|
2
13
|
<script setup lang="ts">
|
|
3
14
|
import {
|
|
4
15
|
computed,
|
|
@@ -11,6 +22,7 @@ import {
|
|
|
11
22
|
} from 'vue'
|
|
12
23
|
import type { PropType, VNode } from 'vue'
|
|
13
24
|
import { createDispatch, useComponentHost } from './host'
|
|
25
|
+
import { acceptsControllerWrite } from './props'
|
|
14
26
|
import { checkedProp, propValidityState, vPropValidity } from './props'
|
|
15
27
|
import UiIcon from './UiIcon.vue'
|
|
16
28
|
|
|
@@ -373,9 +385,13 @@ const hasOverflow = ref(false)
|
|
|
373
385
|
const overflowOpen = ref(false)
|
|
374
386
|
let guardedPrevious: any
|
|
375
387
|
const guarded = computed(() => {
|
|
376
|
-
if (
|
|
377
|
-
|
|
378
|
-
|
|
388
|
+
if (
|
|
389
|
+
!(htmlNextAuthoredCheck2(
|
|
390
|
+
overflowOpen.value == null || typeof overflowOpen.value === 'boolean',
|
|
391
|
+
'overflowOpen:overflowOpen',
|
|
392
|
+
'./components/ui-editor-table-toolbar/ui-editor-table-toolbar.html: HR007: Reference overflowOpen does not satisfy its declared type.',
|
|
393
|
+
))
|
|
394
|
+
) return guardedPrevious
|
|
379
395
|
return guardedPrevious = overflowOpen.value
|
|
380
396
|
})
|
|
381
397
|
provide('html-next:ui-editor-table-toolbar:alignments', alignments)
|
|
@@ -401,8 +417,9 @@ if (
|
|
|
401
417
|
)
|
|
402
418
|
}
|
|
403
419
|
|
|
404
|
-
const isActionDetail = (
|
|
405
|
-
detail
|
|
420
|
+
const isActionDetail = (
|
|
421
|
+
detail: unknown,
|
|
422
|
+
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
406
423
|
&& ((detail as Record<string, unknown>)['action'] === 'align-left'
|
|
407
424
|
|| (detail as Record<string, unknown>)['action'] === 'align-center'
|
|
408
425
|
|| (detail as Record<string, unknown>)['action'] === 'align-right'
|
|
@@ -428,7 +445,7 @@ const isActionDetail = (detail: unknown): boolean =>
|
|
|
428
445
|
|| (detail as Record<string, unknown>)['action'] === 'delete-row'
|
|
429
446
|
|| (detail as Record<string, unknown>)['action'] === 'delete-column'
|
|
430
447
|
|| (detail as Record<string, unknown>)['action'] === 'delete-table')
|
|
431
|
-
&& Object.keys(detail as object).every((key) => ['action'].includes(key))
|
|
448
|
+
&& Object.keys(detail as object).every((key) => ['action'].includes(key)))
|
|
432
449
|
const dispatch = createDispatch(root, emit as (name: string, detail: unknown) => void, {
|
|
433
450
|
checks: {
|
|
434
451
|
action: isActionDetail,
|
|
@@ -438,6 +455,110 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
|
|
|
438
455
|
useComponentHost(() => import('../components/ui-editor-table-toolbar/ui-editor-table-toolbar.js'), {
|
|
439
456
|
root,
|
|
440
457
|
dispatch,
|
|
458
|
+
acceptsState: (name: string, keys: readonly string[], value: unknown) =>
|
|
459
|
+
acceptsControllerWrite(
|
|
460
|
+
value,
|
|
461
|
+
({
|
|
462
|
+
alignments: {
|
|
463
|
+
kind: 'list',
|
|
464
|
+
item: {
|
|
465
|
+
kind: 'object',
|
|
466
|
+
fields: [
|
|
467
|
+
{
|
|
468
|
+
name: 'action',
|
|
469
|
+
type: {
|
|
470
|
+
kind: 'constrained',
|
|
471
|
+
base: { kind: 'terminal', name: 'keyword' },
|
|
472
|
+
values: ['align-left', 'align-center', 'align-right'],
|
|
473
|
+
},
|
|
474
|
+
optional: false,
|
|
475
|
+
},
|
|
476
|
+
{ name: 'label', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
477
|
+
{ name: 'active', type: { kind: 'terminal', name: 'boolean' }, optional: false },
|
|
478
|
+
],
|
|
479
|
+
open: false,
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
structure: {
|
|
483
|
+
kind: 'list',
|
|
484
|
+
item: {
|
|
485
|
+
kind: 'object',
|
|
486
|
+
fields: [
|
|
487
|
+
{
|
|
488
|
+
name: 'action',
|
|
489
|
+
type: {
|
|
490
|
+
kind: 'constrained',
|
|
491
|
+
base: { kind: 'terminal', name: 'keyword' },
|
|
492
|
+
values: ['add-row-after', 'add-column-after'],
|
|
493
|
+
},
|
|
494
|
+
optional: false,
|
|
495
|
+
},
|
|
496
|
+
{ name: 'label', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
497
|
+
{ name: 'icon', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
498
|
+
],
|
|
499
|
+
open: false,
|
|
500
|
+
},
|
|
501
|
+
},
|
|
502
|
+
swatches: {
|
|
503
|
+
kind: 'list',
|
|
504
|
+
item: {
|
|
505
|
+
kind: 'object',
|
|
506
|
+
fields: [
|
|
507
|
+
{ name: 'action', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
508
|
+
{ name: 'label', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
509
|
+
{ name: 'color', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
510
|
+
{ name: 'selected', type: { kind: 'terminal', name: 'boolean' }, optional: false },
|
|
511
|
+
],
|
|
512
|
+
open: false,
|
|
513
|
+
},
|
|
514
|
+
},
|
|
515
|
+
sections: {
|
|
516
|
+
kind: 'list',
|
|
517
|
+
item: {
|
|
518
|
+
kind: 'object',
|
|
519
|
+
fields: [{
|
|
520
|
+
name: 'heading',
|
|
521
|
+
type: { kind: 'terminal', name: 'string' },
|
|
522
|
+
optional: false,
|
|
523
|
+
}, {
|
|
524
|
+
name: 'items',
|
|
525
|
+
type: {
|
|
526
|
+
kind: 'list',
|
|
527
|
+
item: {
|
|
528
|
+
kind: 'object',
|
|
529
|
+
fields: [
|
|
530
|
+
{ name: 'action', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
531
|
+
{ name: 'label', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
532
|
+
{ name: 'icon', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
533
|
+
{
|
|
534
|
+
name: 'danger',
|
|
535
|
+
type: { kind: 'terminal', name: 'boolean' },
|
|
536
|
+
optional: false,
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
name: 'checkable',
|
|
540
|
+
type: { kind: 'terminal', name: 'boolean' },
|
|
541
|
+
optional: false,
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
name: 'checked',
|
|
545
|
+
type: { kind: 'terminal', name: 'boolean' },
|
|
546
|
+
optional: false,
|
|
547
|
+
},
|
|
548
|
+
],
|
|
549
|
+
open: false,
|
|
550
|
+
},
|
|
551
|
+
},
|
|
552
|
+
optional: false,
|
|
553
|
+
}],
|
|
554
|
+
open: false,
|
|
555
|
+
},
|
|
556
|
+
},
|
|
557
|
+
hasOverflow: { kind: 'terminal', name: 'boolean' },
|
|
558
|
+
overflowOpen: { kind: 'terminal', name: 'boolean' },
|
|
559
|
+
} as Record<string, any>)[name],
|
|
560
|
+
keys,
|
|
561
|
+
),
|
|
441
562
|
controllerSource: {
|
|
442
563
|
specifier: '../components/ui-editor-table-toolbar/ui-editor-table-toolbar.js',
|
|
443
564
|
definition: './components/ui-editor-table-toolbar/ui-editor-table-toolbar.html',
|
package/vue/UiEditorToolbar.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -71,7 +71,7 @@ function reflectedProp(
|
|
|
71
71
|
const hydrationInstance = getCurrentInstance()
|
|
72
72
|
|
|
73
73
|
const root = ref<HTMLElement | null>(null)
|
|
74
|
-
const stripElement = useTemplateRef<HTMLElement>('
|
|
74
|
+
const stripElement = useTemplateRef<HTMLElement>('stripElement')
|
|
75
75
|
const hydrationNode = hydrationInstance?.vnode.el
|
|
76
76
|
if (
|
|
77
77
|
typeof window !== 'undefined' && hydrationNode != null
|
|
@@ -131,7 +131,7 @@ useComponentHost(() => import('../components/ui-editor-toolbar/ui-editor-toolbar
|
|
|
131
131
|
:data-ui-editor-toolbar-state="hostState || undefined"
|
|
132
132
|
ref="root"
|
|
133
133
|
>
|
|
134
|
-
<div class="strip" ref="
|
|
134
|
+
<div class="strip" ref="stripElement"><slot /></div>
|
|
135
135
|
</div>
|
|
136
136
|
</template>
|
|
137
137
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiFormField.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiGrid.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiIcon.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiIconButton.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiImage.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -187,7 +187,7 @@ const emit = defineEmits<{
|
|
|
187
187
|
}>()
|
|
188
188
|
|
|
189
189
|
const root = ref<HTMLElement | null>(null)
|
|
190
|
-
const frameElement = useTemplateRef<HTMLElement>('
|
|
190
|
+
const frameElement = useTemplateRef<HTMLElement>('frameElement')
|
|
191
191
|
const hydrationNode = hydrationInstance?.vnode.el
|
|
192
192
|
if (
|
|
193
193
|
typeof window !== 'undefined' && hydrationNode != null
|
|
@@ -212,8 +212,9 @@ const hostState = computed(() =>
|
|
|
212
212
|
].filter(Boolean).join(' ')
|
|
213
213
|
)
|
|
214
214
|
|
|
215
|
-
const isResizeDetail = (
|
|
216
|
-
detail
|
|
215
|
+
const isResizeDetail = (
|
|
216
|
+
detail: unknown,
|
|
217
|
+
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
217
218
|
&& Number.isInteger((detail as Record<string, unknown>)['width'])
|
|
218
219
|
&& Number.isInteger((detail as Record<string, unknown>)['height'])
|
|
219
220
|
&& ((detail as Record<string, unknown>)['phase'] === 'preview'
|
|
@@ -223,7 +224,7 @@ const isResizeDetail = (detail: unknown): boolean =>
|
|
|
223
224
|
|| (detail as Record<string, unknown>)['trigger'] === 'keyboard')
|
|
224
225
|
&& Object.keys(detail as object).every((key) =>
|
|
225
226
|
['width', 'height', 'phase', 'trigger'].includes(key)
|
|
226
|
-
)
|
|
227
|
+
))
|
|
227
228
|
const dispatch = createDispatch(root, emit as (name: string, detail: unknown) => void, {
|
|
228
229
|
checks: {
|
|
229
230
|
resize: isResizeDetail,
|
|
@@ -268,7 +269,7 @@ useComponentHost(() => import('../components/ui-image/ui-image.js'), {
|
|
|
268
269
|
:data-ui-image-state="hostState || undefined"
|
|
269
270
|
ref="root"
|
|
270
271
|
>
|
|
271
|
-
<div class="frame" ref="
|
|
272
|
+
<div class="frame" ref="frameElement">
|
|
272
273
|
<slot name="media"><img
|
|
273
274
|
:src="checkedProps.src ?? undefined"
|
|
274
275
|
:alt="checkedProps.alt ?? undefined"
|