@threadlabs/looma 0.29.0 → 0.29.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-editor-code-language/ui-editor-code-language.html +1 -1
- package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.html +1 -2
- package/components/ui-editor-link-form/ui-editor-link-form.html +2 -3
- package/components/ui-tooltip/ui-tooltip.html +5 -2
- 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-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.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-swatch.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 +7 -2
- 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 +6 -6
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +7 -7
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +4 -4
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +4 -4
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +3 -3
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +17 -17
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +13 -13
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +6 -6
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +48 -48
- 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 +4 -4
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +7 -7
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +8 -8
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +11 -11
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +3 -3
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +4 -4
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +7 -12
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +90 -95
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +7 -7
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +13 -13
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +32 -44
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +12 -12
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +4 -4
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +11 -11
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +5 -5
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +4 -4
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +16 -16
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +18 -18
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +33 -33
- 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 +8 -8
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +4 -4
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +4 -4
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +6 -6
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +6 -6
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +7 -7
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +12 -12
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +4 -4
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +11 -11
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +8 -8
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +13 -13
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +8 -8
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +6 -6
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +4 -4
- 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 +8 -8
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +8 -8
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +8 -8
- 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 +4 -4
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +7 -7
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +6 -6
- 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 +7 -7
- 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 +5 -5
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +8 -8
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +9 -8
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +6 -6
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +13 -13
- package/vue/UiActionBar.vue +8 -5
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +10 -11
- package/vue/UiAvatarGroup.vue +2 -3
- package/vue/UiBadge.vue +5 -3
- package/vue/UiBreadcrumbItem.vue +2 -3
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +15 -13
- package/vue/UiCallout.vue +8 -15
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +5 -4
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +25 -27
- 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 +4 -3
- package/vue/UiDisclosure.vue +9 -8
- package/vue/UiEditable.vue +13 -9
- package/vue/UiEditorBlockActions.vue +5 -4
- package/vue/UiEditorChipEditor.vue +7 -9
- package/vue/UiEditorCodeLanguage.vue +2 -2
- package/vue/UiEditorImageToolbar.vue +25 -32
- package/vue/UiEditorInsertTableGrid.vue +1 -1
- package/vue/UiEditorLinkCard.vue +17 -20
- package/vue/UiEditorLinkForm.vue +21 -23
- package/vue/UiEditorMentionMenu.vue +9 -7
- package/vue/UiEditorMentionMenuItem.vue +5 -6
- package/vue/UiEditorSlashMenu.vue +3 -5
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +5 -6
- package/vue/UiEditorSurface.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +4 -7
- package/vue/UiEditorTableOverlay.vue +26 -18
- package/vue/UiEditorTableToolbar.vue +23 -21
- package/vue/UiEditorToolbar.vue +1 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +4 -3
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +4 -3
- package/vue/UiImage.vue +4 -7
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +7 -5
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +10 -7
- package/vue/UiListbox.vue +3 -5
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +2 -3
- package/vue/UiMenuItem.vue +15 -10
- package/vue/UiMeter.vue +4 -5
- package/vue/UiNavItem.vue +19 -13
- package/vue/UiPageHeader.vue +8 -7
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +10 -6
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +11 -8
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +7 -4
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +1 -1
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +10 -6
- package/vue/UiSwatch.vue +1 -1
- package/vue/UiSwitch.vue +10 -6
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +3 -3
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +7 -5
- package/vue/UiTooltip.vue +10 -5
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +14 -13
- package/vue/chunks/UiActionBar.js +4 -2
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +18 -12
- package/vue/chunks/UiAvatarGroup.js +15 -11
- package/vue/chunks/UiBadge.js +7 -3
- package/vue/chunks/UiBreadcrumbItem.js +10 -6
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +10 -2
- package/vue/chunks/UiCallout.js +13 -3
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +35 -27
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +108 -74
- 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 +14 -10
- package/vue/chunks/UiDisclosure.js +3 -1
- package/vue/chunks/UiEditable.js +36 -24
- package/vue/chunks/UiEditorBlockActions.js +3 -1
- package/vue/chunks/UiEditorChipEditor.js +31 -22
- package/vue/chunks/UiEditorCodeLanguage.js +1 -1
- package/vue/chunks/UiEditorImageToolbar.js +45 -27
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkCard.js +58 -42
- package/vue/chunks/UiEditorLinkForm.js +110 -90
- package/vue/chunks/UiEditorMentionMenu.js +23 -14
- package/vue/chunks/UiEditorMentionMenuItem.js +6 -2
- package/vue/chunks/UiEditorSlashMenu.js +24 -16
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +10 -6
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +65 -53
- package/vue/chunks/UiEditorTableOverlay.js +60 -40
- package/vue/chunks/UiEditorTableToolbar.js +100 -74
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +7 -3
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +11 -7
- package/vue/chunks/UiImage.js +5 -2
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +5 -2
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +9 -3
- package/vue/chunks/UiListbox.js +17 -11
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +7 -3
- package/vue/chunks/UiMenuItem.js +7 -2
- package/vue/chunks/UiMeter.js +28 -16
- package/vue/chunks/UiNavItem.js +20 -6
- package/vue/chunks/UiPageHeader.js +4 -2
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +32 -24
- 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 +6 -2
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +15 -7
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +13 -7
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +33 -25
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +21 -17
- 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 +39 -31
- package/vue/chunks/UiTooltip.js +11 -3
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +25 -15
- package/vue/chunks/_plugin-vue_export-helper.js +1 -0
- package/vue/components.css +25 -21
- package/vue/editor/index.js +1 -1
- package/vue/host.ts +4 -1
|
@@ -498,6 +498,7 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
498
498
|
default: withCtx(() => [createTextVNode(toDisplayString(unref(text)(unref(heading))), 1)]),
|
|
499
499
|
_: 1
|
|
500
500
|
}),
|
|
501
|
+
_cache[11] || (_cache[11] = createTextVNode(toDisplayString(" "), -1)),
|
|
501
502
|
createVNode(UiStack_default, { gap: "s" }, {
|
|
502
503
|
default: withCtx(() => [
|
|
503
504
|
createVNode(UiFormField_default, { invalid: checkedProps.value.error !== "" }, {
|
|
@@ -543,110 +544,129 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
543
544
|
]),
|
|
544
545
|
_: 1
|
|
545
546
|
})) : createCommentVNode("v-if", true),
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
"
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
547
|
+
_cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
|
|
548
|
+
!checkedProps.value.searchable ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
549
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
550
|
+
createVNode(UiInput_default, {
|
|
551
|
+
"data-link-destination": "",
|
|
552
|
+
type: "text",
|
|
553
|
+
inputmode: "url",
|
|
554
|
+
size: "sm",
|
|
555
|
+
id: guardedBinding3.value,
|
|
556
|
+
placeholder: checkedProps.value.placeholder,
|
|
557
|
+
value: checkedProps.value.value
|
|
558
|
+
}, null, 8, [
|
|
559
|
+
"id",
|
|
560
|
+
"placeholder",
|
|
561
|
+
"value"
|
|
562
|
+
]),
|
|
563
|
+
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1))
|
|
564
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
560
565
|
]),
|
|
561
566
|
_: 1
|
|
562
567
|
}, 8, ["invalid"]),
|
|
568
|
+
_cache[7] || (_cache[7] = createTextVNode(toDisplayString(" "), -1)),
|
|
563
569
|
checkedProps.value.mode === "target" ? (openBlock(), createBlock(UiScrollArea_default, {
|
|
564
570
|
key: 0,
|
|
565
571
|
size: "sm",
|
|
566
572
|
"aria-label": "Destination search results"
|
|
567
573
|
}, {
|
|
568
|
-
default: withCtx(() => [
|
|
569
|
-
|
|
574
|
+
default: withCtx(() => [
|
|
575
|
+
checkedProps.value.status !== "" ? (openBlock(), createBlock(UiText_default, {
|
|
576
|
+
key: 0,
|
|
577
|
+
size: "sm",
|
|
578
|
+
tone: "secondary",
|
|
579
|
+
role: "status"
|
|
580
|
+
}, {
|
|
581
|
+
default: withCtx(() => [createTextVNode(toDisplayString(checkedProps.value.status), 1)]),
|
|
582
|
+
_: 1
|
|
583
|
+
})) : createCommentVNode("v-if", true),
|
|
584
|
+
_cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
|
|
585
|
+
createVNode(unref(KeyedBoundary), null, {
|
|
586
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(checkedProps.value.results ?? [], (result, index, loop) => result.id), (result) => {
|
|
587
|
+
return openBlock(), createBlock(UiSearchResultRow_default, {
|
|
588
|
+
key: result.id,
|
|
589
|
+
density: "compact",
|
|
590
|
+
"data-link-result": "",
|
|
591
|
+
selected: result.id === checkedProps.value.selected,
|
|
592
|
+
"data-link-id": result.id
|
|
593
|
+
}, {
|
|
594
|
+
default: withCtx(() => [
|
|
595
|
+
createVNode(UiIcon_default, {
|
|
596
|
+
slot: "leading",
|
|
597
|
+
name: "file-text"
|
|
598
|
+
}),
|
|
599
|
+
createVNode(UiText_default, {
|
|
600
|
+
slot: "title",
|
|
601
|
+
as: "strong",
|
|
602
|
+
size: "sm",
|
|
603
|
+
weight: "medium",
|
|
604
|
+
truncate: true,
|
|
605
|
+
title: result.label
|
|
606
|
+
}, {
|
|
607
|
+
default: withCtx(() => [createTextVNode(toDisplayString(result.label), 1)]),
|
|
608
|
+
_: 2
|
|
609
|
+
}, 1032, ["title"]),
|
|
610
|
+
result.detail ? (openBlock(), createBlock(UiText_default, {
|
|
611
|
+
key: 0,
|
|
612
|
+
slot: "meta",
|
|
613
|
+
as: "span",
|
|
614
|
+
size: "xs",
|
|
615
|
+
tone: "secondary",
|
|
616
|
+
truncate: true,
|
|
617
|
+
title: result.detail
|
|
618
|
+
}, {
|
|
619
|
+
default: withCtx(() => [createTextVNode(toDisplayString(result.detail), 1)]),
|
|
620
|
+
_: 2
|
|
621
|
+
}, 1032, ["title"])) : createCommentVNode("v-if", true),
|
|
622
|
+
result.id === checkedProps.value.selected ? (openBlock(), createBlock(UiIcon_default, {
|
|
623
|
+
key: 1,
|
|
624
|
+
slot: "trailing",
|
|
625
|
+
name: "check"
|
|
626
|
+
})) : createCommentVNode("v-if", true)
|
|
627
|
+
]),
|
|
628
|
+
_: 2
|
|
629
|
+
}, 1032, ["selected", "data-link-id"]);
|
|
630
|
+
}), 128))]),
|
|
631
|
+
_: 1
|
|
632
|
+
})
|
|
633
|
+
]),
|
|
634
|
+
_: 1
|
|
635
|
+
})) : createCommentVNode("v-if", true),
|
|
636
|
+
_cache[8] || (_cache[8] = createTextVNode(toDisplayString(" "), -1)),
|
|
637
|
+
checkedProps.value.mode === "url" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
638
|
+
_cache[5] || (_cache[5] = createTextVNode(toDisplayString(" "), -1)),
|
|
639
|
+
createVNode(UiCheckbox_default, {
|
|
570
640
|
size: "sm",
|
|
571
|
-
|
|
572
|
-
|
|
641
|
+
"data-link-new-tab": "",
|
|
642
|
+
checked: checkedProps.value.newTab
|
|
573
643
|
}, {
|
|
574
|
-
default: withCtx(() => [createTextVNode(
|
|
575
|
-
_: 1
|
|
576
|
-
})) : createCommentVNode("v-if", true), createVNode(unref(KeyedBoundary), null, {
|
|
577
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(checkedProps.value.results ?? [], (result, index, loop) => result.id), (result) => {
|
|
578
|
-
return openBlock(), createBlock(UiSearchResultRow_default, {
|
|
579
|
-
key: result.id,
|
|
580
|
-
density: "compact",
|
|
581
|
-
"data-link-result": "",
|
|
582
|
-
selected: result.id === checkedProps.value.selected,
|
|
583
|
-
"data-link-id": result.id
|
|
584
|
-
}, {
|
|
585
|
-
default: withCtx(() => [
|
|
586
|
-
createVNode(UiIcon_default, {
|
|
587
|
-
slot: "leading",
|
|
588
|
-
name: "file-text"
|
|
589
|
-
}),
|
|
590
|
-
createVNode(UiText_default, {
|
|
591
|
-
slot: "title",
|
|
592
|
-
as: "strong",
|
|
593
|
-
size: "sm",
|
|
594
|
-
weight: "medium",
|
|
595
|
-
truncate: true,
|
|
596
|
-
title: result.label
|
|
597
|
-
}, {
|
|
598
|
-
default: withCtx(() => [createTextVNode(toDisplayString(result.label), 1)]),
|
|
599
|
-
_: 2
|
|
600
|
-
}, 1032, ["title"]),
|
|
601
|
-
result.detail ? (openBlock(), createBlock(UiText_default, {
|
|
602
|
-
key: 0,
|
|
603
|
-
slot: "meta",
|
|
604
|
-
as: "span",
|
|
605
|
-
size: "xs",
|
|
606
|
-
tone: "secondary",
|
|
607
|
-
truncate: true,
|
|
608
|
-
title: result.detail
|
|
609
|
-
}, {
|
|
610
|
-
default: withCtx(() => [createTextVNode(toDisplayString(result.detail), 1)]),
|
|
611
|
-
_: 2
|
|
612
|
-
}, 1032, ["title"])) : createCommentVNode("v-if", true),
|
|
613
|
-
result.id === checkedProps.value.selected ? (openBlock(), createBlock(UiIcon_default, {
|
|
614
|
-
key: 1,
|
|
615
|
-
slot: "trailing",
|
|
616
|
-
name: "check"
|
|
617
|
-
})) : createCommentVNode("v-if", true)
|
|
618
|
-
]),
|
|
619
|
-
_: 2
|
|
620
|
-
}, 1032, ["selected", "data-link-id"]);
|
|
621
|
-
}), 128))]),
|
|
644
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [createTextVNode("Open in new tab", -1)])]),
|
|
622
645
|
_: 1
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
checkedProps.value.mode === "url" ? (openBlock(), createBlock(UiCheckbox_default, {
|
|
627
|
-
key: 1,
|
|
628
|
-
size: "sm",
|
|
629
|
-
"data-link-new-tab": "",
|
|
630
|
-
checked: checkedProps.value.newTab
|
|
631
|
-
}, {
|
|
632
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode("Open in new tab", -1)])]),
|
|
633
|
-
_: 1
|
|
634
|
-
}, 8, ["checked"])) : createCommentVNode("v-if", true)
|
|
646
|
+
}, 8, ["checked"]),
|
|
647
|
+
_cache[6] || (_cache[6] = createTextVNode(toDisplayString(" "), -1))
|
|
648
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
635
649
|
]),
|
|
636
650
|
_: 1
|
|
637
651
|
}),
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
652
|
+
_cache[12] || (_cache[12] = createTextVNode(toDisplayString(" "), -1)),
|
|
653
|
+
checkedProps.value.textEditable ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
654
|
+
_cache[9] || (_cache[9] = createTextVNode(toDisplayString(" "), -1)),
|
|
655
|
+
createVNode(UiFormField_default, null, {
|
|
656
|
+
default: withCtx(() => [createElementVNode("label", {
|
|
657
|
+
slot: "label",
|
|
658
|
+
for: guardedBinding4.value
|
|
659
|
+
}, "Text", 8, _hoisted_3), createVNode(UiInput_default, {
|
|
660
|
+
"data-link-text": "",
|
|
661
|
+
size: "sm",
|
|
662
|
+
id: guardedBinding5.value,
|
|
663
|
+
value: checkedProps.value.text
|
|
664
|
+
}, null, 8, ["id", "value"])]),
|
|
665
|
+
_: 1
|
|
666
|
+
}),
|
|
667
|
+
_cache[10] || (_cache[10] = createTextVNode(toDisplayString(" "), -1))
|
|
668
|
+
], 64)) : createCommentVNode("v-if", true),
|
|
669
|
+
_cache[13] || (_cache[13] = createTextVNode(toDisplayString(" "), -1)),
|
|
650
670
|
checkedProps.value.error !== "" ? (openBlock(), createBlock(UiText_default, {
|
|
651
671
|
key: 1,
|
|
652
672
|
size: "sm",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as concat, i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
|
|
3
|
-
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
3
|
+
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiEditorMentionMenu.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
6
|
"aria-busy",
|
|
@@ -568,18 +568,27 @@ var UiEditorMentionMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_defaul
|
|
|
568
568
|
}), [
|
|
569
569
|
createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "header", {}, void 0, true)]),
|
|
570
570
|
searching.value ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(checkedProps.value.loadingLabel), 1)) : createCommentVNode("v-if", true),
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
571
|
+
_cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
|
|
572
|
+
!searching.value ? (openBlock(), createElementBlock("ul", _hoisted_4, [
|
|
573
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(rows.value, (row, index) => {
|
|
574
|
+
return openBlock(), createElementBlock("li", {
|
|
575
|
+
key: index,
|
|
576
|
+
class: normalizeClass(["item", { active: index === active.value }]),
|
|
577
|
+
role: "option",
|
|
578
|
+
"data-hn-ui-editor-mention-menu": "",
|
|
579
|
+
id: unref(concat)(prefix.value, "-option-", index),
|
|
580
|
+
"aria-selected": index === active.value,
|
|
581
|
+
"data-index": index,
|
|
582
|
+
"data-value": row.id
|
|
583
|
+
}, [
|
|
584
|
+
createElementVNode("span", _hoisted_6, toDisplayString(row.initials), 1),
|
|
585
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
586
|
+
createElementVNode("span", _hoisted_7, [createElementVNode("span", _hoisted_8, toDisplayString(row.label), 1), row.detail ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(row.detail), 1)) : createCommentVNode("v-if", true)])
|
|
587
|
+
], 10, _hoisted_5);
|
|
588
|
+
}), 128)),
|
|
589
|
+
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
|
|
590
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
591
|
+
])) : createCommentVNode("v-if", true),
|
|
583
592
|
createElementVNode("div", {
|
|
584
593
|
class: "empty",
|
|
585
594
|
"data-hn-ui-editor-mention-menu": "",
|
|
@@ -592,6 +601,6 @@ var UiEditorMentionMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_defaul
|
|
|
592
601
|
}]]);
|
|
593
602
|
};
|
|
594
603
|
}
|
|
595
|
-
}), [["__scopeId", "data-v-
|
|
604
|
+
}), [["__scopeId", "data-v-056be20d"]]);
|
|
596
605
|
//#endregion
|
|
597
606
|
export { UiEditorMentionMenu_default as t };
|
|
@@ -116,12 +116,16 @@ var UiEditorMentionMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
116
116
|
"data-ui-editor-mention-menu-item-prop-detail": unref(reflectedProp)("detail", "detail", checkedProps.value.detail, void 0, false),
|
|
117
117
|
"data-ui-editor-mention-menu-item-prop-initials": unref(reflectedProp)("initials", "initials", checkedProps.value.initials, void 0, false),
|
|
118
118
|
"data-ui-editor-mention-menu-item-prop-value": unref(reflectedProp)("value", "value", checkedProps.value.value, void 0, false)
|
|
119
|
-
}), [
|
|
119
|
+
}), [
|
|
120
|
+
createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "start", {}, () => [createTextVNode(toDisplayString(checkedProps.value.initials), 1)], true)]),
|
|
121
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
122
|
+
createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), checkedProps.value.detail ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(checkedProps.value.detail), 1)) : createCommentVNode("v-if", true)])
|
|
123
|
+
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
120
124
|
contract: propValidityContract,
|
|
121
125
|
values: { ...props }
|
|
122
126
|
}]]);
|
|
123
127
|
};
|
|
124
128
|
}
|
|
125
|
-
}), [["__scopeId", "data-v-
|
|
129
|
+
}), [["__scopeId", "data-v-0e62aedb"]]);
|
|
126
130
|
//#endregion
|
|
127
131
|
export { UiEditorMentionMenuItem_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
|
-
import { Fragment, computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
4
|
+
import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiEditorSlashMenu.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"hidden",
|
|
@@ -503,20 +503,28 @@ var UiEditorSlashMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
503
503
|
ref: root
|
|
504
504
|
}), [
|
|
505
505
|
createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "header", {}, void 0, true)]),
|
|
506
|
-
createElementVNode("ul", _hoisted_3, [
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
506
|
+
createElementVNode("ul", _hoisted_3, [
|
|
507
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(rows.value, (item, index) => {
|
|
508
|
+
return openBlock(), createElementBlock("li", {
|
|
509
|
+
key: index,
|
|
510
|
+
class: normalizeClass(["item", { active: index === active.value }]),
|
|
511
|
+
role: "option",
|
|
512
|
+
"data-hn-ui-editor-slash-menu": "",
|
|
513
|
+
"aria-selected": index === active.value,
|
|
514
|
+
"data-index": index,
|
|
515
|
+
"data-value": item.value
|
|
516
|
+
}, [
|
|
517
|
+
createElementVNode("span", _hoisted_5, [createVNode(UiIcon_default, {
|
|
518
|
+
class: "ui-icon",
|
|
519
|
+
name: item.icon
|
|
520
|
+
}, null, 8, ["name"])]),
|
|
521
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
522
|
+
createElementVNode("span", _hoisted_6, [createElementVNode("span", _hoisted_7, toDisplayString(item.title), 1), createElementVNode("span", _hoisted_8, toDisplayString(item.description), 1)])
|
|
523
|
+
], 10, _hoisted_4);
|
|
524
|
+
}), 128)),
|
|
525
|
+
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
|
|
526
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
527
|
+
]),
|
|
520
528
|
createElementVNode("div", {
|
|
521
529
|
class: "empty",
|
|
522
530
|
"data-hn-ui-editor-slash-menu": "",
|
|
@@ -530,6 +538,6 @@ var UiEditorSlashMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
530
538
|
}]]);
|
|
531
539
|
};
|
|
532
540
|
}
|
|
533
|
-
}), [["__scopeId", "data-v-
|
|
541
|
+
}), [["__scopeId", "data-v-135eef12"]]);
|
|
534
542
|
//#endregion
|
|
535
543
|
export { UiEditorSlashMenu_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { a as vPropValidity, n as checkedProp } from "./props.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
|
-
import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
|
+
import { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, 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",
|
|
@@ -164,15 +164,19 @@ var UiEditorSlashMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_defa
|
|
|
164
164
|
"data-ui-editor-slash-menu-item-prop-icon": unref(reflectedProp)("icon", "icon", checkedProps.value.icon, void 0, false),
|
|
165
165
|
"data-ui-editor-slash-menu-item-prop-keywords": unref(reflectedProp)("keywords", "keywords", checkedProps.value.keywords, void 0, false),
|
|
166
166
|
"data-ui-editor-slash-menu-item-prop-value": unref(reflectedProp)("value", "value", checkedProps.value.value, void 0, false)
|
|
167
|
-
}), [
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
}), [
|
|
168
|
+
checkedProps.value.icon ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiIcon_default, {
|
|
169
|
+
class: "ui-icon",
|
|
170
|
+
name: checkedProps.value.icon
|
|
171
|
+
}, null, 8, ["name"])])) : createCommentVNode("v-if", true),
|
|
172
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
173
|
+
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)])
|
|
174
|
+
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
171
175
|
contract: propValidityContract,
|
|
172
176
|
values: { ...props }
|
|
173
177
|
}]]);
|
|
174
178
|
};
|
|
175
179
|
}
|
|
176
|
-
}), [["__scopeId", "data-v-
|
|
180
|
+
}), [["__scopeId", "data-v-cdc924cb"]]);
|
|
177
181
|
//#endregion
|
|
178
182
|
export { UiEditorSlashMenuItem_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as uniqueKeys, a as concat, i as checkHydratedRoot, n as KeyedBoundary, o as createDispatch, p as nativeAttrs, r as attribute, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
|
-
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
4
|
+
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiEditorTableContextMenu.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"hidden",
|
|
@@ -415,62 +415,74 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
415
415
|
"data-ui-editor-table-context-menu-prop-scope": unref(reflectedProp)("scope", "scope", checkedProps.value.scope, void 0, false),
|
|
416
416
|
ref_key: "root",
|
|
417
417
|
ref: root
|
|
418
|
-
}), [
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
418
|
+
}), [
|
|
419
|
+
swatches.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, [_cache[1] || (_cache[1] = createElementVNode("div", {
|
|
420
|
+
class: "heading",
|
|
421
|
+
role: "presentation"
|
|
422
|
+
}, "Cell background", -1)), createElementVNode("div", _hoisted_3, [createVNode(unref(KeyedBoundary), null, {
|
|
423
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(swatches.value, (swatch, index, loop) => swatch.action), (swatch) => {
|
|
424
|
+
return openBlock(), createElementBlock("button", {
|
|
425
|
+
key: swatch.action,
|
|
426
|
+
type: "button",
|
|
427
|
+
class: normalizeClass(["swatch-button", { selected: swatch.selected }]),
|
|
428
|
+
role: "menuitemradio",
|
|
429
|
+
"aria-checked": swatch.selected,
|
|
430
|
+
"data-action": swatch.action
|
|
431
|
+
}, [
|
|
432
|
+
createElementVNode("span", {
|
|
433
|
+
class: normalizeClass(["swatch", { default: !swatch.color }]),
|
|
434
|
+
style: normalizeStyle({ "--_swatch": swatch.color })
|
|
435
|
+
}, null, 6),
|
|
436
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
437
|
+
createElementVNode("span", _hoisted_5, toDisplayString(swatch.label), 1)
|
|
438
|
+
], 10, _hoisted_4);
|
|
439
|
+
}), 128))]),
|
|
440
|
+
_: 1
|
|
441
|
+
})])])) : createCommentVNode("v-if", true),
|
|
442
|
+
_cache[4] || (_cache[4] = createTextVNode(toDisplayString(" "), -1)),
|
|
443
|
+
createVNode(unref(KeyedBoundary), null, {
|
|
444
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(sections.value, (section, indexLoop, loop) => section.heading), (section) => {
|
|
445
|
+
return openBlock(), createElementBlock(Fragment, { key: section.heading }, [_cache[3] || (_cache[3] = createElementVNode("div", { class: "sep" }, null, -1)), createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, toDisplayString(section.heading), 1), createVNode(unref(KeyedBoundary), null, {
|
|
446
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(section.items, (item, indexLoop2, loop) => item.action), (item) => {
|
|
447
|
+
return openBlock(), createElementBlock("button", {
|
|
448
|
+
key: item.action,
|
|
449
|
+
type: "button",
|
|
450
|
+
role: unref(attribute)(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
451
|
+
true: "menuitemcheckbox",
|
|
452
|
+
false: "menuitem"
|
|
453
|
+
}, unref(concat)(item.checkable))),
|
|
454
|
+
"aria-checked": typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
455
|
+
true: item.checked,
|
|
456
|
+
false: null
|
|
457
|
+
}, unref(concat)(item.checkable)) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
458
|
+
true: item.checked,
|
|
459
|
+
false: null
|
|
460
|
+
}, unref(concat)(item.checkable))) : unref(attribute)(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
461
|
+
true: item.checked,
|
|
462
|
+
false: null
|
|
463
|
+
}, unref(concat)(item.checkable))),
|
|
464
|
+
"data-action": item.action,
|
|
465
|
+
class: normalizeClass({ danger: item.danger })
|
|
466
|
+
}, [
|
|
467
|
+
createVNode(UiIcon_default, {
|
|
468
|
+
class: "ui-icon",
|
|
469
|
+
name: item.icon
|
|
470
|
+
}, null, 8, ["name"]),
|
|
471
|
+
_cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
|
|
472
|
+
createElementVNode("span", null, toDisplayString(item.label), 1)
|
|
473
|
+
], 10, _hoisted_8);
|
|
474
|
+
}), 128))]),
|
|
475
|
+
_: 2
|
|
476
|
+
}, 1024)])], 64);
|
|
477
|
+
}), 128))]),
|
|
478
|
+
_: 1
|
|
479
|
+
})
|
|
480
|
+
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
469
481
|
contract: propValidityContract,
|
|
470
482
|
values: { ...props }
|
|
471
483
|
}]]);
|
|
472
484
|
};
|
|
473
485
|
}
|
|
474
|
-
}), [["__scopeId", "data-v-
|
|
486
|
+
}), [["__scopeId", "data-v-f1776914"]]);
|
|
475
487
|
//#endregion
|
|
476
488
|
export { UiEditorTableContextMenu_default as t };
|