@threadlabs/looma 0.21.6 → 0.22.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/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
- package/components/ui-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar-group/ui-avatar-group.html +2 -2
- package/components/ui-checkbox/ui-checkbox.html +1 -1
- package/components/ui-combobox/ui-combobox.html +18 -18
- package/components/ui-context-menu/ui-context-menu.html +1 -1
- package/components/ui-dialog/ui-dialog.html +2 -2
- package/components/ui-disclosure/ui-disclosure.html +4 -4
- package/components/ui-editable/ui-editable.html +3 -3
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +5 -5
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +5 -5
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +3 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -7
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +6 -6
- package/components/ui-listbox/ui-listbox.html +6 -6
- package/components/ui-menu/ui-menu.html +1 -1
- package/components/ui-menu-item/ui-menu-item.html +1 -1
- package/components/ui-popover/ui-popover.html +1 -1
- package/components/ui-radio/ui-radio.html +1 -1
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-search-shell/ui-search-shell.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +2 -2
- package/components/ui-switch/ui-switch.html +1 -1
- package/components/ui-switcher/ui-switcher.html +1 -1
- package/components/ui-tabs/ui-tabs.html +2 -2
- package/components/ui-toast-region/ui-toast-region.html +1 -1
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -4
- package/dist/index.js +1 -1
- package/package.json +2 -2
- 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-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-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 +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 +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- 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 +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- 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 +2 -2
- 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 +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +2 -2
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +2 -2
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +2 -2
- 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 +2 -2
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +2 -2
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +2 -2
- 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/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- 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 +2 -2
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +2 -2
- 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 +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +2 -2
- 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 +1 -1
- package/vanilla/UiToastRegion.js +2 -2
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- 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 +2 -2
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +25 -7
- package/vue/UiAvatar.vue +125 -30
- package/vue/UiAvatarGroup.d.ts +1 -1
- package/vue/UiAvatarGroup.vue +67 -21
- package/vue/UiBadge.vue +34 -8
- package/vue/UiBreadcrumbItem.vue +15 -4
- package/vue/UiBreadcrumbs.vue +14 -4
- package/vue/UiButton.vue +123 -42
- package/vue/UiCallout.vue +16 -4
- package/vue/UiCard.vue +46 -10
- package/vue/UiCheckbox.d.ts +5 -5
- package/vue/UiCheckbox.vue +73 -19
- package/vue/UiCluster.vue +39 -10
- package/vue/UiCombobox.d.ts +5 -5
- package/vue/UiCombobox.vue +317 -78
- package/vue/UiContainer.vue +23 -6
- package/vue/UiContextMenu.vue +24 -7
- package/vue/UiCover.vue +16 -4
- package/vue/UiDescriptionItem.vue +14 -4
- package/vue/UiDescriptionList.vue +33 -8
- package/vue/UiDialog.vue +79 -26
- package/vue/UiDisclosure.vue +101 -38
- package/vue/UiEditable.d.ts +3 -3
- package/vue/UiEditable.vue +107 -27
- package/vue/UiEditorInsertTableGrid.vue +47 -11
- package/vue/UiEditorMentionMenu.vue +99 -20
- package/vue/UiEditorMentionMenuItem.vue +29 -8
- package/vue/UiEditorSlashMenu.vue +85 -16
- package/vue/UiEditorSlashMenuGroup.vue +14 -4
- package/vue/UiEditorSlashMenuItem.vue +43 -12
- package/vue/UiEditorTableContextMenu.d.ts +1 -1
- package/vue/UiEditorTableContextMenu.vue +95 -19
- package/vue/UiEditorTableOverlay.vue +91 -7
- package/vue/UiEditorTableToolbar.vue +105 -16
- package/vue/UiEditorToolbar.vue +15 -4
- package/vue/UiFloatingActionButton.vue +31 -8
- package/vue/UiFormField.d.ts +1 -1
- package/vue/UiFormField.vue +31 -8
- package/vue/UiGrid.vue +30 -8
- package/vue/UiIcon.vue +15 -4
- package/vue/UiIconButton.vue +70 -24
- package/vue/UiInput.vue +114 -39
- package/vue/UiInputGroup.vue +15 -4
- package/vue/UiList.vue +47 -16
- package/vue/UiListItem.vue +24 -6
- package/vue/UiListbox.d.ts +3 -3
- package/vue/UiListbox.vue +72 -24
- package/vue/UiMenu.vue +55 -15
- package/vue/UiMenuGroup.vue +14 -4
- package/vue/UiMenuItem.d.ts +4 -4
- package/vue/UiMenuItem.vue +77 -27
- package/vue/UiMeter.vue +65 -16
- package/vue/UiNavItem.vue +48 -24
- package/vue/UiPageHeader.vue +16 -4
- package/vue/UiPopover.vue +46 -21
- package/vue/UiRadio.d.ts +4 -4
- package/vue/UiRadio.vue +58 -15
- package/vue/UiRadioGroup.d.ts +3 -3
- package/vue/UiRadioGroup.vue +66 -17
- package/vue/UiReel.d.ts +1 -1
- package/vue/UiReel.vue +31 -8
- package/vue/UiScrollArea.vue +16 -4
- package/vue/UiSearchResultRow.vue +23 -6
- package/vue/UiSearchShell.vue +38 -11
- package/vue/UiSection.vue +33 -8
- package/vue/UiSelect.d.ts +1 -1
- package/vue/UiSelect.vue +45 -20
- package/vue/UiSeparator.vue +16 -4
- package/vue/UiSidebar.d.ts +2 -2
- package/vue/UiSidebar.vue +86 -22
- package/vue/UiSpinner.vue +23 -6
- package/vue/UiStack.vue +31 -8
- package/vue/UiStatusMessage.vue +32 -8
- package/vue/UiSwitch.d.ts +4 -4
- package/vue/UiSwitch.vue +57 -15
- package/vue/UiSwitcher.vue +41 -17
- package/vue/UiTable.vue +24 -6
- package/vue/UiTabs.vue +60 -14
- package/vue/UiText.vue +98 -35
- package/vue/UiTextarea.d.ts +1 -1
- package/vue/UiTextarea.vue +67 -26
- package/vue/UiToast.vue +24 -6
- package/vue/UiToastRegion.vue +41 -13
- package/vue/UiTooltip.d.ts +1 -1
- package/vue/UiTooltip.vue +85 -30
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +56 -14
- package/vue/UiTreeItem.d.ts +3 -3
- package/vue/UiTreeItem.vue +147 -36
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +34 -7
- package/vue/chunks/UiAvatar.js +141 -21
- package/vue/chunks/UiAvatarGroup.js +83 -16
- package/vue/chunks/UiBadge.js +57 -19
- package/vue/chunks/UiBreadcrumbItem.js +19 -6
- package/vue/chunks/UiBreadcrumbs.js +19 -6
- package/vue/chunks/UiButton.js +194 -42
- package/vue/chunks/UiCallout.js +27 -13
- package/vue/chunks/UiCard.js +83 -25
- package/vue/chunks/UiCheckbox.js +104 -17
- package/vue/chunks/UiCluster.js +70 -25
- package/vue/chunks/UiCombobox.js +441 -46
- package/vue/chunks/UiContainer.js +36 -11
- package/vue/chunks/UiContextMenu.js +33 -7
- package/vue/chunks/UiCover.js +20 -6
- package/vue/chunks/UiDescriptionItem.js +18 -5
- package/vue/chunks/UiDescriptionList.js +54 -17
- package/vue/chunks/UiDialog.js +115 -23
- package/vue/chunks/UiDisclosure.js +110 -24
- package/vue/chunks/UiEditable.js +146 -18
- package/vue/chunks/UiEditorInsertTableGrid.js +65 -10
- package/vue/chunks/UiEditorMentionMenu.js +210 -14
- package/vue/chunks/UiEditorMentionMenuItem.js +43 -8
- package/vue/chunks/UiEditorSlashMenu.js +186 -12
- package/vue/chunks/UiEditorSlashMenuGroup.js +19 -6
- package/vue/chunks/UiEditorSlashMenuItem.js +65 -10
- package/vue/chunks/UiEditorTableContextMenu.js +116 -16
- package/vue/chunks/UiEditorTableOverlay.js +188 -7
- package/vue/chunks/UiEditorTableToolbar.js +125 -16
- package/vue/chunks/UiEditorToolbar.js +19 -6
- package/vue/chunks/UiFloatingActionButton.js +43 -8
- package/vue/chunks/UiFormField.js +43 -8
- package/vue/chunks/UiGrid.js +52 -18
- package/vue/chunks/UiIcon.js +19 -6
- package/vue/chunks/UiIconButton.js +107 -21
- package/vue/chunks/UiInput.js +309 -30
- package/vue/chunks/UiInputGroup.js +19 -6
- package/vue/chunks/UiList.js +62 -10
- package/vue/chunks/UiListItem.js +33 -7
- package/vue/chunks/UiListbox.js +105 -13
- package/vue/chunks/UiMenu.js +79 -11
- package/vue/chunks/UiMenuGroup.js +19 -6
- package/vue/chunks/UiMenuItem.js +93 -28
- package/vue/chunks/UiMeter.js +96 -19
- package/vue/chunks/UiNavItem.js +74 -17
- package/vue/chunks/UiPageHeader.js +20 -6
- package/vue/chunks/UiPopover.js +58 -21
- package/vue/chunks/UiRadio.js +82 -15
- package/vue/chunks/UiRadioGroup.js +89 -12
- package/vue/chunks/UiReel.js +53 -18
- package/vue/chunks/UiScrollArea.js +20 -6
- package/vue/chunks/UiSearchResultRow.js +32 -7
- package/vue/chunks/UiSearchShell.js +55 -9
- package/vue/chunks/UiSection.js +49 -12
- package/vue/chunks/UiSelect.js +68 -13
- package/vue/chunks/UiSeparator.js +20 -6
- package/vue/chunks/UiSidebar.js +123 -19
- package/vue/chunks/UiSpinner.js +33 -7
- package/vue/chunks/UiStack.js +59 -24
- package/vue/chunks/UiStatusMessage.js +53 -16
- package/vue/chunks/UiSwitch.js +82 -15
- package/vue/chunks/UiSwitcher.js +70 -25
- package/vue/chunks/UiTable.js +33 -7
- package/vue/chunks/UiTabs.js +81 -11
- package/vue/chunks/UiText.js +169 -58
- package/vue/chunks/UiTextarea.js +101 -16
- package/vue/chunks/UiToast.js +39 -13
- package/vue/chunks/UiToastRegion.js +41 -14
- package/vue/chunks/UiTooltip.js +113 -30
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +82 -15
- package/vue/chunks/UiTreeItem.js +184 -22
- package/vue/chunks/props.js +271 -35
- package/vue/components.css +1197 -1197
- package/vue/editor/index.js +5 -2
- package/vue/editor/primitives.d.ts +4 -1
- package/vue/host.ts +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import { t as checkedProp } from "./props.js";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
|
-
import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, toDisplayString, watchSyncEffect } from "vue";
|
|
4
|
+
import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiEditorSlashMenuItem.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"aria-disabled",
|
|
@@ -50,28 +50,80 @@ var UiEditorSlashMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_defa
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
setup(__props) {
|
|
53
|
+
const propValidityContract = { props: {
|
|
54
|
+
description: {
|
|
55
|
+
type: {
|
|
56
|
+
kind: "terminal",
|
|
57
|
+
name: "string"
|
|
58
|
+
},
|
|
59
|
+
required: false,
|
|
60
|
+
target: { attribute: "description" },
|
|
61
|
+
description: "One line explaining the command.",
|
|
62
|
+
default: ""
|
|
63
|
+
},
|
|
64
|
+
disabled: {
|
|
65
|
+
type: {
|
|
66
|
+
kind: "terminal",
|
|
67
|
+
name: "boolean"
|
|
68
|
+
},
|
|
69
|
+
required: false,
|
|
70
|
+
target: { attribute: "aria-disabled" },
|
|
71
|
+
description: "Keeps the command visible but unavailable for selection.",
|
|
72
|
+
default: false
|
|
73
|
+
},
|
|
74
|
+
icon: {
|
|
75
|
+
type: {
|
|
76
|
+
kind: "terminal",
|
|
77
|
+
name: "string"
|
|
78
|
+
},
|
|
79
|
+
required: false,
|
|
80
|
+
target: { attribute: "name" },
|
|
81
|
+
description: "A Lucide icon name for the leading symbol.",
|
|
82
|
+
default: ""
|
|
83
|
+
},
|
|
84
|
+
keywords: {
|
|
85
|
+
type: {
|
|
86
|
+
kind: "terminal",
|
|
87
|
+
name: "string"
|
|
88
|
+
},
|
|
89
|
+
required: false,
|
|
90
|
+
target: { attribute: "data-keywords" },
|
|
91
|
+
description: "Additional space-separated search terms matched by the containing Slash Menu.",
|
|
92
|
+
default: ""
|
|
93
|
+
},
|
|
94
|
+
value: {
|
|
95
|
+
type: {
|
|
96
|
+
kind: "terminal",
|
|
97
|
+
name: "string"
|
|
98
|
+
},
|
|
99
|
+
required: false,
|
|
100
|
+
target: { attribute: "data-value" },
|
|
101
|
+
description: "Stable identifier reported by the containing Slash Menu when this command is chosen.",
|
|
102
|
+
default: ""
|
|
103
|
+
}
|
|
104
|
+
} };
|
|
53
105
|
const props = __props;
|
|
54
106
|
const checkedProps = computed(() => ({
|
|
55
107
|
description: checkedProp(props["description"], {
|
|
56
108
|
kind: "terminal",
|
|
57
109
|
name: "string"
|
|
58
|
-
}, false, "description"
|
|
110
|
+
}, false, "description"),
|
|
59
111
|
disabled: checkedProp(props["disabled"], {
|
|
60
112
|
kind: "terminal",
|
|
61
113
|
name: "boolean"
|
|
62
|
-
}, false, "disabled"
|
|
114
|
+
}, false, "disabled"),
|
|
63
115
|
icon: checkedProp(props["icon"], {
|
|
64
116
|
kind: "terminal",
|
|
65
117
|
name: "string"
|
|
66
|
-
}, false, "icon"
|
|
118
|
+
}, false, "icon"),
|
|
67
119
|
keywords: checkedProp(props["keywords"], {
|
|
68
120
|
kind: "terminal",
|
|
69
121
|
name: "string"
|
|
70
|
-
}, false, "keywords"
|
|
122
|
+
}, false, "keywords"),
|
|
71
123
|
value: checkedProp(props["value"], {
|
|
72
124
|
kind: "terminal",
|
|
73
125
|
name: "string"
|
|
74
|
-
}, false, "value"
|
|
126
|
+
}, false, "value")
|
|
75
127
|
}));
|
|
76
128
|
checkedProps.value;
|
|
77
129
|
watchSyncEffect(() => {
|
|
@@ -98,7 +150,7 @@ var UiEditorSlashMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_defa
|
|
|
98
150
|
})
|
|
99
151
|
});
|
|
100
152
|
return (_ctx, _cache) => {
|
|
101
|
-
return openBlock(), createElementBlock("li", mergeProps({
|
|
153
|
+
return withDirectives((openBlock(), createElementBlock("li", mergeProps({
|
|
102
154
|
"data-component": "ui-editor-slash-menu-item",
|
|
103
155
|
role: "option",
|
|
104
156
|
tabindex: "-1"
|
|
@@ -109,9 +161,12 @@ var UiEditorSlashMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_defa
|
|
|
109
161
|
"data-icon": reflectedProp("icon", "icon", checkedProps.value.icon, void 0, false),
|
|
110
162
|
"data-keywords": reflectedProp("keywords", "keywords", checkedProps.value.keywords, void 0, true),
|
|
111
163
|
"data-value": reflectedProp("value", "value", checkedProps.value.value, void 0, true)
|
|
112
|
-
}), [checkedProps.value.icon ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiIcon_default, { name: checkedProps.value.icon }, null, 8, ["name"])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), checkedProps.value.description ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(checkedProps.value.description), 1)) : createCommentVNode("v-if", true)])], 16, _hoisted_1)
|
|
164
|
+
}), [checkedProps.value.icon ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiIcon_default, { name: checkedProps.value.icon }, null, 8, ["name"])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), checkedProps.value.description ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(checkedProps.value.description), 1)) : createCommentVNode("v-if", true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
165
|
+
contract: propValidityContract,
|
|
166
|
+
values: { ...checkedProps.value }
|
|
167
|
+
}]]);
|
|
113
168
|
};
|
|
114
169
|
}
|
|
115
|
-
}), [["__scopeId", "data-v-
|
|
170
|
+
}), [["__scopeId", "data-v-5bc63805"]]);
|
|
116
171
|
//#endregion
|
|
117
172
|
export { UiEditorSlashMenuItem_default as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import { t as checkedProp } from "./props.js";
|
|
3
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
4
4
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
5
|
-
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, h, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx } from "vue";
|
|
5
|
+
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, h, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiEditorTableContextMenu.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = [
|
|
8
8
|
"hidden",
|
|
@@ -71,6 +71,105 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
71
71
|
},
|
|
72
72
|
emits: ["action"],
|
|
73
73
|
setup(__props, { emit: __emit }) {
|
|
74
|
+
const propValidityContract = { props: {
|
|
75
|
+
actions: {
|
|
76
|
+
type: {
|
|
77
|
+
kind: "list",
|
|
78
|
+
item: {
|
|
79
|
+
kind: "constrained",
|
|
80
|
+
base: {
|
|
81
|
+
kind: "terminal",
|
|
82
|
+
name: "keyword"
|
|
83
|
+
},
|
|
84
|
+
values: [
|
|
85
|
+
"align-left",
|
|
86
|
+
"align-center",
|
|
87
|
+
"align-right",
|
|
88
|
+
"background-none",
|
|
89
|
+
"background-gray",
|
|
90
|
+
"background-yellow",
|
|
91
|
+
"background-blue",
|
|
92
|
+
"background-green",
|
|
93
|
+
"background-red",
|
|
94
|
+
"add-row-before",
|
|
95
|
+
"add-row-after",
|
|
96
|
+
"add-column-before",
|
|
97
|
+
"add-column-after",
|
|
98
|
+
"toggle-header-row",
|
|
99
|
+
"toggle-header-column",
|
|
100
|
+
"move-row-up",
|
|
101
|
+
"move-row-down",
|
|
102
|
+
"move-column-left",
|
|
103
|
+
"move-column-right",
|
|
104
|
+
"clear-cells",
|
|
105
|
+
"merge-cells",
|
|
106
|
+
"split-cell",
|
|
107
|
+
"delete-row",
|
|
108
|
+
"delete-column",
|
|
109
|
+
"delete-table"
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
required: false,
|
|
114
|
+
target: { attribute: "actions" },
|
|
115
|
+
description: "The complete set of commands the current selection permits."
|
|
116
|
+
},
|
|
117
|
+
cellBackground: {
|
|
118
|
+
type: {
|
|
119
|
+
kind: "terminal",
|
|
120
|
+
name: "string"
|
|
121
|
+
},
|
|
122
|
+
required: false,
|
|
123
|
+
target: { attribute: "cellbackground" },
|
|
124
|
+
description: "Identifies the background choice that is active for the current cell.",
|
|
125
|
+
default: ""
|
|
126
|
+
},
|
|
127
|
+
headerColumn: {
|
|
128
|
+
type: {
|
|
129
|
+
kind: "terminal",
|
|
130
|
+
name: "boolean"
|
|
131
|
+
},
|
|
132
|
+
required: false,
|
|
133
|
+
target: { attribute: "headercolumn" },
|
|
134
|
+
description: "Whether the table's first column currently uses header cells.",
|
|
135
|
+
default: false
|
|
136
|
+
},
|
|
137
|
+
headerRow: {
|
|
138
|
+
type: {
|
|
139
|
+
kind: "terminal",
|
|
140
|
+
name: "boolean"
|
|
141
|
+
},
|
|
142
|
+
required: false,
|
|
143
|
+
target: { attribute: "headerrow" },
|
|
144
|
+
description: "Whether the table's first row currently uses header cells.",
|
|
145
|
+
default: false
|
|
146
|
+
},
|
|
147
|
+
open: {
|
|
148
|
+
type: {
|
|
149
|
+
kind: "terminal",
|
|
150
|
+
name: "boolean"
|
|
151
|
+
},
|
|
152
|
+
required: false,
|
|
153
|
+
target: { attribute: "open" },
|
|
154
|
+
description: "Shows the menu at the position owned by the editor integration.",
|
|
155
|
+
default: false
|
|
156
|
+
},
|
|
157
|
+
scope: {
|
|
158
|
+
type: {
|
|
159
|
+
kind: "terminal",
|
|
160
|
+
name: "keyword"
|
|
161
|
+
},
|
|
162
|
+
required: false,
|
|
163
|
+
target: { attribute: "scope" },
|
|
164
|
+
description: "Keeps structure actions relevant to a cell, row handle, or column handle.",
|
|
165
|
+
values: [
|
|
166
|
+
"cell",
|
|
167
|
+
"row",
|
|
168
|
+
"column"
|
|
169
|
+
],
|
|
170
|
+
default: "cell"
|
|
171
|
+
}
|
|
172
|
+
} };
|
|
74
173
|
const props = __props;
|
|
75
174
|
const checkedProps = computed(() => ({
|
|
76
175
|
actions: checkedProp(props["actions"], {
|
|
@@ -109,31 +208,27 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
109
208
|
"delete-table"
|
|
110
209
|
]
|
|
111
210
|
}
|
|
112
|
-
}, false, "actions"
|
|
211
|
+
}, false, "actions"),
|
|
113
212
|
cellBackground: checkedProp(props["cellBackground"], {
|
|
114
213
|
kind: "terminal",
|
|
115
214
|
name: "string"
|
|
116
|
-
}, false, "cellBackground"
|
|
215
|
+
}, false, "cellBackground"),
|
|
117
216
|
headerColumn: checkedProp(props["headerColumn"], {
|
|
118
217
|
kind: "terminal",
|
|
119
218
|
name: "boolean"
|
|
120
|
-
}, false, "headerColumn"
|
|
219
|
+
}, false, "headerColumn"),
|
|
121
220
|
headerRow: checkedProp(props["headerRow"], {
|
|
122
221
|
kind: "terminal",
|
|
123
222
|
name: "boolean"
|
|
124
|
-
}, false, "headerRow"
|
|
223
|
+
}, false, "headerRow"),
|
|
125
224
|
open: checkedProp(props["open"], {
|
|
126
225
|
kind: "terminal",
|
|
127
226
|
name: "boolean"
|
|
128
|
-
}, false, "open"
|
|
227
|
+
}, false, "open"),
|
|
129
228
|
scope: checkedProp(props["scope"], {
|
|
130
229
|
kind: "terminal",
|
|
131
230
|
name: "keyword"
|
|
132
|
-
}, false, "scope"
|
|
133
|
-
"cell",
|
|
134
|
-
"row",
|
|
135
|
-
"column"
|
|
136
|
-
])
|
|
231
|
+
}, false, "scope")
|
|
137
232
|
}));
|
|
138
233
|
checkedProps.value;
|
|
139
234
|
watchSyncEffect(() => {
|
|
@@ -180,6 +275,8 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
180
275
|
const root = ref(null);
|
|
181
276
|
const swatches = ref([]);
|
|
182
277
|
const sections = ref([]);
|
|
278
|
+
provide("html-next:ui-editor-table-context-menu:swatches", swatches);
|
|
279
|
+
provide("html-next:ui-editor-table-context-menu:sections", sections);
|
|
183
280
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
184
281
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "div")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-editor-table-context-menu> has an incompatible root."), {
|
|
185
282
|
name: "HtmlDiagnosticError",
|
|
@@ -235,7 +332,7 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
235
332
|
return items;
|
|
236
333
|
}
|
|
237
334
|
return (_ctx, _cache) => {
|
|
238
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
335
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
239
336
|
"data-component": "ui-editor-table-context-menu",
|
|
240
337
|
role: "menu"
|
|
241
338
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -248,7 +345,7 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
248
345
|
"data-scope": reflectedProp("scope", "scope", checkedProps.value.scope, void 0, false),
|
|
249
346
|
ref_key: "root",
|
|
250
347
|
ref: root
|
|
251
|
-
}), [swatches.value
|
|
348
|
+
}), [swatches.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, [_cache[0] || (_cache[0] = createElementVNode("div", {
|
|
252
349
|
class: "heading",
|
|
253
350
|
role: "presentation"
|
|
254
351
|
}, "Cell background", -1)), createElementVNode("div", _hoisted_3, [createVNode(unref(KeyedBoundary), null, {
|
|
@@ -295,9 +392,12 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
295
392
|
}, 1024)])], 64);
|
|
296
393
|
}), 128))]),
|
|
297
394
|
_: 1
|
|
298
|
-
})], 16, _hoisted_1)
|
|
395
|
+
})], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
396
|
+
contract: propValidityContract,
|
|
397
|
+
values: { ...checkedProps.value }
|
|
398
|
+
}]]);
|
|
299
399
|
};
|
|
300
400
|
}
|
|
301
|
-
}), [["__scopeId", "data-v-
|
|
401
|
+
}), [["__scopeId", "data-v-fa67c68c"]]);
|
|
302
402
|
//#endregion
|
|
303
403
|
export { UiEditorTableContextMenu_default as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import { t as checkedProp } from "./props.js";
|
|
3
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
4
4
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
5
|
-
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, h, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx } from "vue";
|
|
5
|
+
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, h, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiEditorTableOverlay.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = [
|
|
8
8
|
"hidden",
|
|
@@ -67,6 +67,179 @@ var UiEditorTableOverlay_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
67
67
|
"open-column-menu"
|
|
68
68
|
],
|
|
69
69
|
setup(__props, { emit: __emit }) {
|
|
70
|
+
const propValidityContract = { props: {
|
|
71
|
+
geometry: {
|
|
72
|
+
type: {
|
|
73
|
+
kind: "object",
|
|
74
|
+
fields: [
|
|
75
|
+
{
|
|
76
|
+
name: "rowBoundaries",
|
|
77
|
+
type: {
|
|
78
|
+
kind: "list",
|
|
79
|
+
item: {
|
|
80
|
+
kind: "terminal",
|
|
81
|
+
name: "number"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
optional: false
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: "columnBoundaries",
|
|
88
|
+
type: {
|
|
89
|
+
kind: "list",
|
|
90
|
+
item: {
|
|
91
|
+
kind: "terminal",
|
|
92
|
+
name: "number"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
optional: false
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: "activeCell",
|
|
99
|
+
type: {
|
|
100
|
+
kind: "union",
|
|
101
|
+
members: [{
|
|
102
|
+
kind: "object",
|
|
103
|
+
fields: [
|
|
104
|
+
{
|
|
105
|
+
name: "left",
|
|
106
|
+
type: {
|
|
107
|
+
kind: "terminal",
|
|
108
|
+
name: "number"
|
|
109
|
+
},
|
|
110
|
+
optional: false
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "top",
|
|
114
|
+
type: {
|
|
115
|
+
kind: "terminal",
|
|
116
|
+
name: "number"
|
|
117
|
+
},
|
|
118
|
+
optional: false
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: "width",
|
|
122
|
+
type: {
|
|
123
|
+
kind: "terminal",
|
|
124
|
+
name: "number"
|
|
125
|
+
},
|
|
126
|
+
optional: false
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: "height",
|
|
130
|
+
type: {
|
|
131
|
+
kind: "terminal",
|
|
132
|
+
name: "number"
|
|
133
|
+
},
|
|
134
|
+
optional: false
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: "rowIndex",
|
|
138
|
+
type: {
|
|
139
|
+
kind: "terminal",
|
|
140
|
+
name: "integer"
|
|
141
|
+
},
|
|
142
|
+
optional: false
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
name: "columnIndex",
|
|
146
|
+
type: {
|
|
147
|
+
kind: "terminal",
|
|
148
|
+
name: "integer"
|
|
149
|
+
},
|
|
150
|
+
optional: false
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
open: false
|
|
154
|
+
}, {
|
|
155
|
+
kind: "terminal",
|
|
156
|
+
name: "null"
|
|
157
|
+
}]
|
|
158
|
+
},
|
|
159
|
+
optional: false
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "hoveredCell",
|
|
163
|
+
type: {
|
|
164
|
+
kind: "union",
|
|
165
|
+
members: [{
|
|
166
|
+
kind: "object",
|
|
167
|
+
fields: [
|
|
168
|
+
{
|
|
169
|
+
name: "left",
|
|
170
|
+
type: {
|
|
171
|
+
kind: "terminal",
|
|
172
|
+
name: "number"
|
|
173
|
+
},
|
|
174
|
+
optional: false
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
name: "top",
|
|
178
|
+
type: {
|
|
179
|
+
kind: "terminal",
|
|
180
|
+
name: "number"
|
|
181
|
+
},
|
|
182
|
+
optional: false
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: "width",
|
|
186
|
+
type: {
|
|
187
|
+
kind: "terminal",
|
|
188
|
+
name: "number"
|
|
189
|
+
},
|
|
190
|
+
optional: false
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
name: "height",
|
|
194
|
+
type: {
|
|
195
|
+
kind: "terminal",
|
|
196
|
+
name: "number"
|
|
197
|
+
},
|
|
198
|
+
optional: false
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: "rowIndex",
|
|
202
|
+
type: {
|
|
203
|
+
kind: "terminal",
|
|
204
|
+
name: "integer"
|
|
205
|
+
},
|
|
206
|
+
optional: false
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: "columnIndex",
|
|
210
|
+
type: {
|
|
211
|
+
kind: "terminal",
|
|
212
|
+
name: "integer"
|
|
213
|
+
},
|
|
214
|
+
optional: false
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
open: false
|
|
218
|
+
}, {
|
|
219
|
+
kind: "terminal",
|
|
220
|
+
name: "null"
|
|
221
|
+
}]
|
|
222
|
+
},
|
|
223
|
+
optional: true
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
open: false
|
|
227
|
+
},
|
|
228
|
+
required: false,
|
|
229
|
+
target: { attribute: "geometry" },
|
|
230
|
+
description: "The authoritative editor-measured table boundaries and active or hovered cell rectangles."
|
|
231
|
+
},
|
|
232
|
+
open: {
|
|
233
|
+
type: {
|
|
234
|
+
kind: "terminal",
|
|
235
|
+
name: "boolean"
|
|
236
|
+
},
|
|
237
|
+
required: false,
|
|
238
|
+
target: { attribute: "open" },
|
|
239
|
+
description: "Shows the controls after the editor has supplied current geometry.",
|
|
240
|
+
default: false
|
|
241
|
+
}
|
|
242
|
+
} };
|
|
70
243
|
const props = __props;
|
|
71
244
|
const checkedProps = computed(() => ({
|
|
72
245
|
geometry: checkedProp(props["geometry"], {
|
|
@@ -224,11 +397,11 @@ var UiEditorTableOverlay_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
224
397
|
}
|
|
225
398
|
],
|
|
226
399
|
open: false
|
|
227
|
-
}, false, "geometry"
|
|
400
|
+
}, false, "geometry"),
|
|
228
401
|
open: checkedProp(props["open"], {
|
|
229
402
|
kind: "terminal",
|
|
230
403
|
name: "boolean"
|
|
231
|
-
}, false, "open"
|
|
404
|
+
}, false, "open")
|
|
232
405
|
}));
|
|
233
406
|
checkedProps.value;
|
|
234
407
|
watchSyncEffect(() => {
|
|
@@ -308,6 +481,11 @@ var UiEditorTableOverlay_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
308
481
|
if (!(active.value?.["columnIndex"] == null || Number.isInteger(active.value?.["columnIndex"]))) return guardedBinding5Previous;
|
|
309
482
|
return guardedBinding5Previous = active.value?.columnIndex;
|
|
310
483
|
});
|
|
484
|
+
provide("html-next:ui-editor-table-overlay:rows", rows);
|
|
485
|
+
provide("html-next:ui-editor-table-overlay:cols", cols);
|
|
486
|
+
provide("html-next:ui-editor-table-overlay:hovered", hovered);
|
|
487
|
+
provide("html-next:ui-editor-table-overlay:active", active);
|
|
488
|
+
provide("html-next:ui-editor-table-overlay:activeKey", activeKey);
|
|
311
489
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
312
490
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "div")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-editor-table-overlay> has an incompatible root."), {
|
|
313
491
|
name: "HtmlDiagnosticError",
|
|
@@ -386,7 +564,7 @@ var UiEditorTableOverlay_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
386
564
|
return items;
|
|
387
565
|
}
|
|
388
566
|
return (_ctx, _cache) => {
|
|
389
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
567
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
390
568
|
"data-component": "ui-editor-table-overlay",
|
|
391
569
|
"aria-label": "Table controls"
|
|
392
570
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -493,9 +671,12 @@ var UiEditorTableOverlay_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
493
671
|
hidden: "",
|
|
494
672
|
"aria-hidden": "true"
|
|
495
673
|
}, null, -1))
|
|
496
|
-
], 16, _hoisted_1)
|
|
674
|
+
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
675
|
+
contract: propValidityContract,
|
|
676
|
+
values: { ...checkedProps.value }
|
|
677
|
+
}]]);
|
|
497
678
|
};
|
|
498
679
|
}
|
|
499
|
-
}), [["__scopeId", "data-v-
|
|
680
|
+
}), [["__scopeId", "data-v-024f527b"]]);
|
|
500
681
|
//#endregion
|
|
501
682
|
export { UiEditorTableOverlay_default as t };
|