@threadlabs/looma 0.28.22 → 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/editor/image-uploads.d.ts +23 -15
- package/editor/link-editing.d.ts +4 -4
- package/editor/requests.d.ts +43 -0
- 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/LoomaEditor.d.ts +90 -32
- package/vue/editor/index.d.ts +1 -1
- package/vue/editor/index.js +332 -53
- package/vue/host.ts +4 -1
package/vue/chunks/UiEditable.js
CHANGED
|
@@ -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 { r as vBindControl } from "./control.js";
|
|
4
|
-
import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
4
|
+
import { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiEditable.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"data-ui-editable-prop-actions",
|
|
@@ -383,33 +383,45 @@ var UiEditable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
383
383
|
"data-ui-editable-state": hostState.value || void 0,
|
|
384
384
|
ref_key: "root",
|
|
385
385
|
ref: root
|
|
386
|
-
}), [createElementVNode("div", _hoisted_2, [
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
386
|
+
}), [createElementVNode("div", _hoisted_2, [
|
|
387
|
+
createElementVNode("button", {
|
|
388
|
+
class: "preview",
|
|
389
|
+
type: "button",
|
|
390
|
+
disabled: checkedProps.value.disabled ?? void 0,
|
|
391
|
+
ref_key: "previewElement",
|
|
392
|
+
ref: previewElement
|
|
393
|
+
}, [
|
|
394
|
+
createElementVNode("span", _hoisted_4, toDisplayString(internalValue.value), 1),
|
|
395
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
396
|
+
checkedProps.value.hint ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(checkedProps.value.hint), 1)) : createCommentVNode("v-if", true)
|
|
397
|
+
], 8, _hoisted_3),
|
|
398
|
+
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
|
|
399
|
+
withDirectives(createElementVNode("input", {
|
|
400
|
+
class: "input",
|
|
401
|
+
type: "text",
|
|
402
|
+
"aria-label": checkedProps.value.label ?? void 0,
|
|
403
|
+
placeholder: checkedProps.value.placeholder ?? void 0,
|
|
404
|
+
required: checkedProps.value.required ?? void 0,
|
|
405
|
+
disabled: checkedProps.value.disabled || !internalEdit.value,
|
|
406
|
+
ref_key: "inputElement",
|
|
407
|
+
ref: inputElement
|
|
408
|
+
}, null, 8, _hoisted_6), [[unref(vBindControl), {
|
|
409
|
+
tag: "input",
|
|
410
|
+
name: "value",
|
|
411
|
+
value: draft.value,
|
|
412
|
+
nativeProperty: true,
|
|
413
|
+
defaultValue: ""
|
|
414
|
+
}]])
|
|
415
|
+
]), checkedProps.value.actions ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
416
|
+
createElementVNode("button", _hoisted_8, toDisplayString(checkedProps.value.saveLabel), 1),
|
|
417
|
+
_cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
|
|
418
|
+
createElementVNode("button", _hoisted_9, toDisplayString(checkedProps.value.cancelLabel), 1)
|
|
419
|
+
])) : createCommentVNode("v-if", true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
408
420
|
contract: propValidityContract,
|
|
409
421
|
values: { ...props }
|
|
410
422
|
}]]);
|
|
411
423
|
};
|
|
412
424
|
}
|
|
413
|
-
}), [["__scopeId", "data-v-
|
|
425
|
+
}), [["__scopeId", "data-v-705cbc2d"]]);
|
|
414
426
|
//#endregion
|
|
415
427
|
export { UiEditable_default as t };
|
|
@@ -2,7 +2,7 @@ import { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, v as use
|
|
|
2
2
|
import { a as vPropValidity, n as checkedProp, r as propValidityState } from "./props.js";
|
|
3
3
|
import { t as UiMenu_default } from "./UiMenu.js";
|
|
4
4
|
import { t as UiMenuItem_default } from "./UiMenuItem.js";
|
|
5
|
-
import { computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
5
|
+
import { computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiEditorBlockActions.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = ["data-ui-editor-block-actions-prop-for", "data-ui-editor-block-actions-prop-placement"];
|
|
8
8
|
//#endregion
|
|
@@ -107,10 +107,12 @@ var UiEditorBlockActions_default = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
default: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode("Insert paragraph below", -1)])]),
|
|
108
108
|
_: 1
|
|
109
109
|
}),
|
|
110
|
+
_cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
|
|
110
111
|
createVNode(UiMenuItem_default, { value: "duplicate" }, {
|
|
111
112
|
default: withCtx(() => [..._cache[1] || (_cache[1] = [createTextVNode("Duplicate block", -1)])]),
|
|
112
113
|
_: 1
|
|
113
114
|
}),
|
|
115
|
+
_cache[4] || (_cache[4] = createTextVNode(toDisplayString(" "), -1)),
|
|
114
116
|
createVNode(UiMenuItem_default, { value: "delete" }, {
|
|
115
117
|
default: withCtx(() => [..._cache[2] || (_cache[2] = [createTextVNode("Delete block", -1)])]),
|
|
116
118
|
_: 1
|
|
@@ -4,7 +4,7 @@ import { t as UiInput_default } from "./UiInput.js";
|
|
|
4
4
|
import { t as UiRadioGroup_default } from "./UiRadioGroup.js";
|
|
5
5
|
import { t as UiStack_default } from "./UiStack.js";
|
|
6
6
|
import { t as UiSwatch_default } from "./UiSwatch.js";
|
|
7
|
-
import { computed, createElementBlock, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
7
|
+
import { computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
8
8
|
//#region .build/vue/UiEditorChipEditor.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var _hoisted_1 = ["data-ui-editor-chip-editor-prop-color", "data-ui-editor-chip-editor-prop-label"];
|
|
10
10
|
//#endregion
|
|
@@ -125,27 +125,36 @@ var UiEditorChipEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
125
125
|
ref_key: "root",
|
|
126
126
|
ref: root
|
|
127
127
|
}), [createVNode(UiStack_default, { gap: "s" }, {
|
|
128
|
-
default: withCtx(() => [
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
128
|
+
default: withCtx(() => [
|
|
129
|
+
createVNode(UiInput_default, {
|
|
130
|
+
"data-chip-label": "",
|
|
131
|
+
size: "sm",
|
|
132
|
+
placeholder: "Set a label",
|
|
133
|
+
"aria-label": "Chip text",
|
|
134
|
+
value: checkedProps.value.label
|
|
135
|
+
}, null, 8, ["value"]),
|
|
136
|
+
_cache[5] || (_cache[5] = createTextVNode(toDisplayString(" "), -1)),
|
|
137
|
+
createVNode(UiRadioGroup_default, {
|
|
138
|
+
label: "Chip color",
|
|
139
|
+
"label-visibility": "sr-only",
|
|
140
|
+
value: checkedProps.value.color
|
|
141
|
+
}, {
|
|
142
|
+
default: withCtx(() => [
|
|
143
|
+
createVNode(UiSwatch_default, { tone: "neutral" }),
|
|
144
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
145
|
+
createVNode(UiSwatch_default, { tone: "blue" }),
|
|
146
|
+
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
|
|
147
|
+
createVNode(UiSwatch_default, { tone: "green" }),
|
|
148
|
+
_cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
|
|
149
|
+
createVNode(UiSwatch_default, { tone: "yellow" }),
|
|
150
|
+
_cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
|
|
151
|
+
createVNode(UiSwatch_default, { tone: "red" }),
|
|
152
|
+
_cache[4] || (_cache[4] = createTextVNode(toDisplayString(" "), -1)),
|
|
153
|
+
createVNode(UiSwatch_default, { tone: "purple" })
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}, 8, ["value"])
|
|
157
|
+
]),
|
|
149
158
|
_: 1
|
|
150
159
|
})], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
151
160
|
contract: propValidityContract,
|
|
@@ -138,8 +138,8 @@ var UiEditorCodeLanguage_default = /* @__PURE__ */ defineComponent({
|
|
|
138
138
|
label: "Code language",
|
|
139
139
|
"label-visibility": "sr-only",
|
|
140
140
|
size: "sm",
|
|
141
|
-
filter: "label",
|
|
142
141
|
disclosure: true,
|
|
142
|
+
filter: "label",
|
|
143
143
|
value: checkedProps.value.value
|
|
144
144
|
}, {
|
|
145
145
|
default: withCtx(() => [createVNode(unref(KeyedBoundary), null, {
|
|
@@ -11,7 +11,7 @@ import { t as UiFormField_default } from "./UiFormField.js";
|
|
|
11
11
|
import { t as UiIconButton_default } from "./UiIconButton.js";
|
|
12
12
|
import { t as UiPopover_default } from "./UiPopover.js";
|
|
13
13
|
import { t as UiText_default } from "./UiText.js";
|
|
14
|
-
import { computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
14
|
+
import { computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
15
15
|
//#region .build/vue/UiEditorImageToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
16
16
|
var _hoisted_1 = [
|
|
17
17
|
"data-ui-editor-image-toolbar-prop-alt",
|
|
@@ -325,8 +325,8 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
325
325
|
}, {
|
|
326
326
|
default: withCtx(() => [
|
|
327
327
|
createVNode(UiEditorToolbar_default, {
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
floating: true,
|
|
329
|
+
"aria-label": "Image actions"
|
|
330
330
|
}, {
|
|
331
331
|
default: withCtx(() => [
|
|
332
332
|
createVNode(UiIconButton_default, {
|
|
@@ -344,6 +344,7 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
344
344
|
"variant",
|
|
345
345
|
"aria-pressed"
|
|
346
346
|
]),
|
|
347
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
347
348
|
createVNode(UiIconButton_default, {
|
|
348
349
|
label: "Center image",
|
|
349
350
|
size: "sm",
|
|
@@ -359,6 +360,7 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
359
360
|
"variant",
|
|
360
361
|
"aria-pressed"
|
|
361
362
|
]),
|
|
363
|
+
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
|
|
362
364
|
createVNode(UiIconButton_default, {
|
|
363
365
|
label: "Wrap text to the right",
|
|
364
366
|
size: "sm",
|
|
@@ -374,6 +376,7 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
374
376
|
"variant",
|
|
375
377
|
"aria-pressed"
|
|
376
378
|
]),
|
|
379
|
+
_cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
|
|
377
380
|
createVNode(UiIconButton_default, {
|
|
378
381
|
label: "Wrap text to the left",
|
|
379
382
|
size: "sm",
|
|
@@ -389,6 +392,7 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
389
392
|
"variant",
|
|
390
393
|
"aria-pressed"
|
|
391
394
|
]),
|
|
395
|
+
_cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
|
|
392
396
|
createVNode(UiIconButton_default, {
|
|
393
397
|
label: "Image description",
|
|
394
398
|
size: "sm",
|
|
@@ -398,6 +402,7 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
398
402
|
default: withCtx(() => [createVNode(UiIcon_default, { name: "file-text" })]),
|
|
399
403
|
_: 1
|
|
400
404
|
}, 8, ["id"]),
|
|
405
|
+
_cache[4] || (_cache[4] = createTextVNode(toDisplayString(" "), -1)),
|
|
401
406
|
createVNode(UiIconButton_default, {
|
|
402
407
|
label: "Delete image",
|
|
403
408
|
size: "sm",
|
|
@@ -411,30 +416,37 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
411
416
|
]),
|
|
412
417
|
_: 1
|
|
413
418
|
}),
|
|
419
|
+
_cache[17] || (_cache[17] = createTextVNode(toDisplayString(" "), -1)),
|
|
414
420
|
createVNode(UiTooltip_default, { for: guardedBinding13.value }, {
|
|
415
|
-
default: withCtx(() => [..._cache[
|
|
421
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [createTextVNode("Image in line", -1)])]),
|
|
416
422
|
_: 1
|
|
417
423
|
}, 8, ["for"]),
|
|
424
|
+
_cache[18] || (_cache[18] = createTextVNode(toDisplayString(" "), -1)),
|
|
418
425
|
createVNode(UiTooltip_default, { for: guardedBinding14.value }, {
|
|
419
|
-
default: withCtx(() => [..._cache[
|
|
426
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [createTextVNode("Center image", -1)])]),
|
|
420
427
|
_: 1
|
|
421
428
|
}, 8, ["for"]),
|
|
429
|
+
_cache[19] || (_cache[19] = createTextVNode(toDisplayString(" "), -1)),
|
|
422
430
|
createVNode(UiTooltip_default, { for: guardedBinding15.value }, {
|
|
423
|
-
default: withCtx(() => [..._cache[
|
|
431
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [createTextVNode("Wrap text to the right", -1)])]),
|
|
424
432
|
_: 1
|
|
425
433
|
}, 8, ["for"]),
|
|
434
|
+
_cache[20] || (_cache[20] = createTextVNode(toDisplayString(" "), -1)),
|
|
426
435
|
createVNode(UiTooltip_default, { for: guardedBinding16.value }, {
|
|
427
|
-
default: withCtx(() => [..._cache[
|
|
436
|
+
default: withCtx(() => [..._cache[8] || (_cache[8] = [createTextVNode("Wrap text to the left", -1)])]),
|
|
428
437
|
_: 1
|
|
429
438
|
}, 8, ["for"]),
|
|
439
|
+
_cache[21] || (_cache[21] = createTextVNode(toDisplayString(" "), -1)),
|
|
430
440
|
createVNode(UiTooltip_default, { for: base.value }, {
|
|
431
|
-
default: withCtx(() => [..._cache[
|
|
441
|
+
default: withCtx(() => [..._cache[9] || (_cache[9] = [createTextVNode("Image description", -1)])]),
|
|
432
442
|
_: 1
|
|
433
443
|
}, 8, ["for"]),
|
|
444
|
+
_cache[22] || (_cache[22] = createTextVNode(toDisplayString(" "), -1)),
|
|
434
445
|
createVNode(UiTooltip_default, { for: guardedBinding17.value }, {
|
|
435
|
-
default: withCtx(() => [..._cache[
|
|
446
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [createTextVNode("Delete image", -1)])]),
|
|
436
447
|
_: 1
|
|
437
448
|
}, 8, ["for"]),
|
|
449
|
+
_cache[23] || (_cache[23] = createTextVNode(toDisplayString(" "), -1)),
|
|
438
450
|
createVNode(UiPopover_default, {
|
|
439
451
|
size: "sm",
|
|
440
452
|
"aria-label": "Image description",
|
|
@@ -458,34 +470,40 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
458
470
|
}, null, 8, ["id", "value"])]),
|
|
459
471
|
_: 1
|
|
460
472
|
}),
|
|
473
|
+
_cache[15] || (_cache[15] = createTextVNode(toDisplayString(" "), -1)),
|
|
461
474
|
createVNode(UiText_default, {
|
|
462
475
|
size: "xs",
|
|
463
476
|
tone: "secondary"
|
|
464
477
|
}, {
|
|
465
|
-
default: withCtx(() => [..._cache[
|
|
478
|
+
default: withCtx(() => [..._cache[11] || (_cache[11] = [createTextVNode("Describe the image for people using a screen reader.", -1)])]),
|
|
466
479
|
_: 1
|
|
467
480
|
}),
|
|
481
|
+
_cache[16] || (_cache[16] = createTextVNode(toDisplayString(" "), -1)),
|
|
468
482
|
createVNode(UiCluster_default, {
|
|
469
483
|
justify: "end",
|
|
470
484
|
gap: "xs"
|
|
471
485
|
}, {
|
|
472
|
-
default: withCtx(() => [
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
486
|
+
default: withCtx(() => [
|
|
487
|
+
createVNode(UiButton_default, {
|
|
488
|
+
type: "button",
|
|
489
|
+
variant: "ghost",
|
|
490
|
+
tone: "neutral",
|
|
491
|
+
size: "sm",
|
|
492
|
+
"data-action": "cancel"
|
|
493
|
+
}, {
|
|
494
|
+
default: withCtx(() => [..._cache[12] || (_cache[12] = [createTextVNode("Cancel", -1)])]),
|
|
495
|
+
_: 1
|
|
496
|
+
}),
|
|
497
|
+
_cache[14] || (_cache[14] = createTextVNode(toDisplayString(" "), -1)),
|
|
498
|
+
createVNode(UiButton_default, {
|
|
499
|
+
type: "submit",
|
|
500
|
+
variant: "solid",
|
|
501
|
+
size: "sm"
|
|
502
|
+
}, {
|
|
503
|
+
default: withCtx(() => [..._cache[13] || (_cache[13] = [createTextVNode("Save", -1)])]),
|
|
504
|
+
_: 1
|
|
505
|
+
})
|
|
506
|
+
]),
|
|
489
507
|
_: 1
|
|
490
508
|
})
|
|
491
509
|
]),
|
|
@@ -302,6 +302,6 @@ var UiEditorInsertTableGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
302
302
|
}]]);
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
|
-
}), [["__scopeId", "data-v-
|
|
305
|
+
}), [["__scopeId", "data-v-76563062"]]);
|
|
306
306
|
//#endregion
|
|
307
307
|
export { UiEditorInsertTableGrid_default as t };
|
|
@@ -265,55 +265,68 @@ var UiEditorLinkCard_default = /* @__PURE__ */ defineComponent({
|
|
|
265
265
|
}, {
|
|
266
266
|
default: withCtx(() => [
|
|
267
267
|
createVNode(UiIcon_default, { name: guarded.value }, null, 8, ["name"]),
|
|
268
|
+
_cache[8] || (_cache[8] = createTextVNode(toDisplayString(" "), -1)),
|
|
268
269
|
createVNode(UiStack_default, {
|
|
269
270
|
gap: "none",
|
|
270
271
|
title: checkedProps.value.href,
|
|
271
272
|
"aria-label": guardedBinding.value
|
|
272
273
|
}, {
|
|
273
|
-
default: withCtx(() => [
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
274
|
+
default: withCtx(() => [
|
|
275
|
+
createVNode(UiText_default, {
|
|
276
|
+
as: "strong",
|
|
277
|
+
size: "sm",
|
|
278
|
+
weight: "medium",
|
|
279
|
+
font: "sans",
|
|
280
|
+
wrap: "anywhere"
|
|
281
|
+
}, {
|
|
282
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(text)(unref(shown))), 1)]),
|
|
283
|
+
_: 1
|
|
284
|
+
}),
|
|
285
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
286
|
+
checkedProps.value.detail !== "" ? (openBlock(), createBlock(UiText_default, {
|
|
287
|
+
key: 0,
|
|
288
|
+
as: "small",
|
|
289
|
+
size: "xs",
|
|
290
|
+
tone: "secondary",
|
|
291
|
+
font: "sans"
|
|
292
|
+
}, {
|
|
293
|
+
default: withCtx(() => [createTextVNode(toDisplayString(checkedProps.value.detail), 1)]),
|
|
294
|
+
_: 1
|
|
295
|
+
})) : createCommentVNode("v-if", true)
|
|
296
|
+
]),
|
|
292
297
|
_: 1
|
|
293
298
|
}, 8, ["title", "aria-label"]),
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
wrap: "nowrap"
|
|
299
|
+
_cache[9] || (_cache[9] = createTextVNode(toDisplayString(" "), -1)),
|
|
300
|
+
checkedProps.value.openHref !== "" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
301
|
+
_cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
|
|
302
|
+
createVNode(UiButton_default, {
|
|
303
|
+
as: "a",
|
|
304
|
+
variant: "ghost",
|
|
305
|
+
tone: "neutral",
|
|
306
|
+
size: "sm",
|
|
307
|
+
target: "_blank",
|
|
308
|
+
rel: "noopener noreferrer",
|
|
309
|
+
"aria-label": "Open link",
|
|
310
|
+
id: guardedBinding2.value,
|
|
311
|
+
href: checkedProps.value.openHref
|
|
308
312
|
}, {
|
|
309
|
-
default: withCtx(() => [createVNode(
|
|
313
|
+
default: withCtx(() => [createVNode(UiCluster_default, {
|
|
314
|
+
gap: "xs",
|
|
315
|
+
wrap: "nowrap"
|
|
316
|
+
}, {
|
|
317
|
+
default: withCtx(() => [createVNode(UiIcon_default, { name: "external-link" }), _cache[1] || (_cache[1] = createTextVNode("Open link", -1))]),
|
|
318
|
+
_: 1
|
|
319
|
+
})]),
|
|
310
320
|
_: 1
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
321
|
+
}, 8, ["id", "href"]),
|
|
322
|
+
_cache[4] || (_cache[4] = createTextVNode(toDisplayString(" "), -1)),
|
|
323
|
+
createVNode(UiTooltip_default, { for: guardedBinding3.value }, {
|
|
324
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [createTextVNode("Open link", -1)])]),
|
|
325
|
+
_: 1
|
|
326
|
+
}, 8, ["for"]),
|
|
327
|
+
_cache[5] || (_cache[5] = createTextVNode(toDisplayString(" "), -1))
|
|
328
|
+
], 64)) : createCommentVNode("v-if", true),
|
|
329
|
+
_cache[10] || (_cache[10] = createTextVNode(toDisplayString(" "), -1)),
|
|
317
330
|
createVNode(UiIconButton_default, {
|
|
318
331
|
label: "Edit link",
|
|
319
332
|
variant: "ghost",
|
|
@@ -324,10 +337,12 @@ var UiEditorLinkCard_default = /* @__PURE__ */ defineComponent({
|
|
|
324
337
|
default: withCtx(() => [createVNode(UiIcon_default, { name: "pencil" })]),
|
|
325
338
|
_: 1
|
|
326
339
|
}, 8, ["id"]),
|
|
340
|
+
_cache[11] || (_cache[11] = createTextVNode(toDisplayString(" "), -1)),
|
|
327
341
|
createVNode(UiTooltip_default, { for: guardedBinding5.value }, {
|
|
328
|
-
default: withCtx(() => [..._cache[
|
|
342
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [createTextVNode("Edit link", -1)])]),
|
|
329
343
|
_: 1
|
|
330
344
|
}, 8, ["for"]),
|
|
345
|
+
_cache[12] || (_cache[12] = createTextVNode(toDisplayString(" "), -1)),
|
|
331
346
|
createVNode(UiIconButton_default, {
|
|
332
347
|
label: "Remove link",
|
|
333
348
|
variant: "ghost",
|
|
@@ -338,8 +353,9 @@ var UiEditorLinkCard_default = /* @__PURE__ */ defineComponent({
|
|
|
338
353
|
default: withCtx(() => [createVNode(UiIcon_default, { name: "unlink" })]),
|
|
339
354
|
_: 1
|
|
340
355
|
}, 8, ["id"]),
|
|
356
|
+
_cache[13] || (_cache[13] = createTextVNode(toDisplayString(" "), -1)),
|
|
341
357
|
createVNode(UiTooltip_default, { for: guardedBinding7.value }, {
|
|
342
|
-
default: withCtx(() => [..._cache[
|
|
358
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [createTextVNode("Remove link", -1)])]),
|
|
343
359
|
_: 1
|
|
344
360
|
}, 8, ["for"])
|
|
345
361
|
]),
|