@threadlabs/looma 0.29.0 → 0.29.2
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/chip-editing.d.ts +39 -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 +2 -2
- package/vue/editor/compact/index.d.ts +2 -2
- package/vue/editor/index.js +241 -77
- package/vue/host.ts +4 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, NONCONFORMING, readIndex, textCall, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-image-toolbar/ui-editor-image-toolbar.js";
|
|
4
4
|
import "../styles/ui-editor-image-toolbar.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],["ui-text",["as","div","font","sans"],["ui-editor-toolbar",["aria-label","Image actions"],["ui-icon-button",["label","Image in line","size","sm","data-placement","block"],["ui-icon",["name","panel-top"]]],["ui-icon-button",["label","Center image","size","sm","data-placement","center"],["ui-icon",["name","align-center"]]],["ui-icon-button",["label","Wrap text to the right","size","sm","data-placement","wrap-left"],["ui-icon",["name","panel-left"]]],["ui-icon-button",["label","Wrap text to the left","size","sm","data-placement","wrap-right"],["ui-icon",["name","panel-right"]]],["ui-icon-button",["label","Image description","size","sm","variant","ghost"],["ui-icon",["name","file-text"]]],["ui-icon-button",["label","Delete image","size","sm","variant","ghost","data-action","delete"],["ui-icon",["name","trash"]]]],["ui-tooltip",[],"Image in line"],["ui-tooltip",[],"Center image"],["ui-tooltip",[],"Wrap text to the right"],["ui-tooltip",[],"Wrap text to the left"],["ui-tooltip",[],"Image description"],["ui-tooltip",[],"Delete image"],["ui-popover",["size","sm","aria-label","Image description"],["form",["aria-label","Image description"],["ui-stack",["gap","s"],["ui-form-field",[],["label",["slot","label"],"Alt text"],["ui-input",["size","sm"]]],["ui-text",["size","xs","tone","secondary"],"Describe the image for people using a screen reader."],["ui-cluster",["justify","end","gap","xs"],["ui-button",["type","button","variant","ghost","tone","neutral","size","sm","data-action","cancel"],"Cancel"],["ui-button",["type","submit","variant","solid","size","sm"],"Save"]]]]]]];
|
|
6
|
+
const T0 = ["",[],"\n ",["ui-text",["as","div","font","sans"],["ui-editor-toolbar",["floating","","aria-label","Image actions"],["ui-icon-button",["label","Image in line","size","sm","data-placement","block"],["ui-icon",["name","panel-top"]]],"\n ",["ui-icon-button",["label","Center image","size","sm","data-placement","center"],["ui-icon",["name","align-center"]]],"\n ",["ui-icon-button",["label","Wrap text to the right","size","sm","data-placement","wrap-left"],["ui-icon",["name","panel-left"]]],"\n ",["ui-icon-button",["label","Wrap text to the left","size","sm","data-placement","wrap-right"],["ui-icon",["name","panel-right"]]],"\n ",["ui-icon-button",["label","Image description","size","sm","variant","ghost"],["ui-icon",["name","file-text"]]],"\n ",["ui-icon-button",["label","Delete image","size","sm","variant","ghost","data-action","delete"],["ui-icon",["name","trash"]]]],"\n ",["ui-tooltip",[],"Image in line"],"\n ",["ui-tooltip",[],"Center image"],"\n ",["ui-tooltip",[],"Wrap text to the right"],"\n ",["ui-tooltip",[],"Wrap text to the left"],"\n ",["ui-tooltip",[],"Image description"],"\n ",["ui-tooltip",[],"Delete image"],"\n ",["ui-popover",["size","sm","aria-label","Image description"],["form",["aria-label","Image description"],"\n ",["ui-stack",["gap","s"],["ui-form-field",[],["label",["slot","label"],"Alt text"],["ui-input",["size","sm"]]],"\n ",["ui-text",["size","xs","tone","secondary"],"Describe the image for people using a screen reader."],"\n ",["ui-cluster",["justify","end","gap","xs"],["ui-button",["type","button","variant","ghost","tone","neutral","size","sm","data-action","cancel"],"Cancel"],"\n ",["ui-button",["type","submit","variant","solid","size","sm"],"Save"]]],"\n "]]],"\n "];
|
|
7
7
|
let P0;
|
|
8
8
|
const S = { n: ["base","describing","draft"], t: ["s","b","s"], f: import.meta.url, g: "ui-editor-image-toolbar", d: { "placement": [detailCheck(checkObject([["placement", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["block","center","wrap-left","wrap-right"]}), false]], false)), true, true, false], "describe": [detailCheck(checkObject([["alt", checkString, false]], false)), true, true, false], "delete": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared };
|
|
9
9
|
const D = { g: "ui-editor-image-toolbar", props: { "alt": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "placement": { "required":false,"values":["block","center","wrap-left","wrap-right"],"default":"block", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "target": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
@@ -21,39 +21,38 @@ export function createUiEditorImageToolbar(options = {}, html) {
|
|
|
21
21
|
const v = ["ui-editor-image-toolbar", false, "", null, null, null];
|
|
22
22
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
23
23
|
const p0 = (r, c, d) => {
|
|
24
|
-
if (c === -1) {
|
|
25
|
-
const x0 = true;
|
|
26
|
-
const s0 = toAttribute(x0, "floating");
|
|
27
|
-
if (s0 !== r.v0) writeAttribute(r.a0, "floating", r.v0 = s0);
|
|
28
|
-
}
|
|
29
24
|
if (c & 1) {
|
|
30
|
-
const
|
|
25
|
+
const x0 = textCall("concat", [v[0], "-block"]);
|
|
26
|
+
if (x0 !== NONCONFORMING) {
|
|
27
|
+
const s0 = toAttribute(x0, "id");
|
|
28
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "id", r.v0 = s0);
|
|
29
|
+
}
|
|
30
|
+
const x1 = textCall("concat", [v[0], "-center"]);
|
|
31
31
|
if (x1 !== NONCONFORMING) {
|
|
32
|
-
const
|
|
33
|
-
if (
|
|
32
|
+
const s3 = toAttribute(x1, "id");
|
|
33
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "id", r.v3 = s3);
|
|
34
34
|
}
|
|
35
|
-
const x2 = textCall("concat", [v[0], "-
|
|
35
|
+
const x2 = textCall("concat", [v[0], "-wrap-left"]);
|
|
36
36
|
if (x2 !== NONCONFORMING) {
|
|
37
|
-
const
|
|
38
|
-
if (
|
|
37
|
+
const s6 = toAttribute(x2, "id");
|
|
38
|
+
if (s6 !== r.v6) writeAttribute(r.a2, "id", r.v6 = s6);
|
|
39
39
|
}
|
|
40
|
-
const x3 = textCall("concat", [v[0], "-wrap-
|
|
40
|
+
const x3 = textCall("concat", [v[0], "-wrap-right"]);
|
|
41
41
|
if (x3 !== NONCONFORMING) {
|
|
42
|
-
const
|
|
43
|
-
if (
|
|
44
|
-
}
|
|
45
|
-
const x4 =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
if (s14 !== r.v14) writeAttribute(r.a6, "id", r.v14 = s14);
|
|
42
|
+
const s9 = toAttribute(x3, "id");
|
|
43
|
+
if (s9 !== r.v9) writeAttribute(r.a3, "id", r.v9 = s9);
|
|
44
|
+
}
|
|
45
|
+
const x4 = v[0];
|
|
46
|
+
const s12 = toAttribute(x4, "id");
|
|
47
|
+
if (s12 !== r.v12) writeAttribute(r.a4, "id", r.v12 = s12);
|
|
48
|
+
const x5 = textCall("concat", [v[0], "-delete"]);
|
|
49
|
+
if (x5 !== NONCONFORMING) {
|
|
50
|
+
const s13 = toAttribute(x5, "id");
|
|
51
|
+
if (s13 !== r.v13) writeAttribute(r.a5, "id", r.v13 = s13);
|
|
52
|
+
}
|
|
53
|
+
if (x0 !== NONCONFORMING) {
|
|
54
|
+
const s14 = toAttribute(x0, "for");
|
|
55
|
+
if (s14 !== r.v14) writeAttribute(r.a6, "for", r.v14 = s14);
|
|
57
56
|
}
|
|
58
57
|
if (x1 !== NONCONFORMING) {
|
|
59
58
|
const s15 = toAttribute(x1, "for");
|
|
@@ -67,102 +66,98 @@ export function createUiEditorImageToolbar(options = {}, html) {
|
|
|
67
66
|
const s17 = toAttribute(x3, "for");
|
|
68
67
|
if (s17 !== r.v17) writeAttribute(r.a9, "for", r.v17 = s17);
|
|
69
68
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
const s18 = toAttribute(x4, "for");
|
|
70
|
+
if (s18 !== r.v18) writeAttribute(r.a10, "for", r.v18 = s18);
|
|
71
|
+
if (x5 !== NONCONFORMING) {
|
|
72
|
+
const s19 = toAttribute(x5, "for");
|
|
73
|
+
if (s19 !== r.v19) writeAttribute(r.a11, "for", r.v19 = s19);
|
|
73
74
|
}
|
|
74
|
-
const
|
|
75
|
-
if (
|
|
75
|
+
const s20 = toAttribute(x4, "for");
|
|
76
|
+
if (s20 !== r.v20) writeAttribute(r.a12, "for", r.v20 = s20);
|
|
77
|
+
const x6 = textCall("concat", [v[0], "-alt"]);
|
|
76
78
|
if (x6 !== NONCONFORMING) {
|
|
77
|
-
const
|
|
78
|
-
if (
|
|
79
|
-
}
|
|
80
|
-
const s21 = toAttribute(x5, "for");
|
|
81
|
-
if (s21 !== r.v21) writeAttribute(r.a13, "for", r.v21 = s21);
|
|
82
|
-
const x7 = textCall("concat", [v[0], "-alt"]);
|
|
83
|
-
if (x7 !== NONCONFORMING) {
|
|
84
|
-
const s23 = toAttribute(x7, "for");
|
|
85
|
-
if (s23 !== r.v23) writeAttribute(r.a14, "for", r.v23 = s23);
|
|
79
|
+
const s22 = toAttribute(x6, "for");
|
|
80
|
+
if (s22 !== r.v22) writeAttribute(r.a13, "for", r.v22 = s22);
|
|
86
81
|
}
|
|
87
|
-
if (
|
|
88
|
-
const
|
|
89
|
-
if (
|
|
82
|
+
if (x6 !== NONCONFORMING) {
|
|
83
|
+
const s23 = toAttribute(x6, "id");
|
|
84
|
+
if (s23 !== r.v23) writeAttribute(r.a14, "id", r.v23 = s23);
|
|
90
85
|
}
|
|
91
86
|
}
|
|
92
87
|
if (c & 1073741840) {
|
|
93
|
-
const
|
|
88
|
+
const x7 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [(v[4] === "block")]));
|
|
89
|
+
if (x7 !== NONCONFORMING) {
|
|
90
|
+
const s1 = toAttribute(x7, "variant");
|
|
91
|
+
if (s1 !== r.v1) writeAttribute(r.a0, "variant", r.v1 = s1);
|
|
92
|
+
}
|
|
93
|
+
const x8 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [(v[4] === "center")]));
|
|
94
94
|
if (x8 !== NONCONFORMING) {
|
|
95
|
-
const
|
|
96
|
-
if (
|
|
95
|
+
const s4 = toAttribute(x8, "variant");
|
|
96
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "variant", r.v4 = s4);
|
|
97
97
|
}
|
|
98
|
-
const x9 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [(v[4] === "
|
|
98
|
+
const x9 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [(v[4] === "wrap-left")]));
|
|
99
99
|
if (x9 !== NONCONFORMING) {
|
|
100
|
-
const
|
|
101
|
-
if (
|
|
100
|
+
const s7 = toAttribute(x9, "variant");
|
|
101
|
+
if (s7 !== r.v7) writeAttribute(r.a2, "variant", r.v7 = s7);
|
|
102
102
|
}
|
|
103
|
-
const x10 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [(v[4] === "wrap-
|
|
103
|
+
const x10 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [(v[4] === "wrap-right")]));
|
|
104
104
|
if (x10 !== NONCONFORMING) {
|
|
105
|
-
const
|
|
106
|
-
if (
|
|
107
|
-
}
|
|
108
|
-
const x11 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [(v[4] === "wrap-right")]));
|
|
109
|
-
if (x11 !== NONCONFORMING) {
|
|
110
|
-
const s11 = toAttribute(x11, "variant");
|
|
111
|
-
if (s11 !== r.v11) writeAttribute(r.a4, "variant", r.v11 = s11);
|
|
105
|
+
const s10 = toAttribute(x10, "variant");
|
|
106
|
+
if (s10 !== r.v10) writeAttribute(r.a3, "variant", r.v10 = s10);
|
|
112
107
|
}
|
|
113
108
|
}
|
|
114
109
|
if (c & 16) {
|
|
115
|
-
const
|
|
110
|
+
const x11 = textCall("concat", [(v[4] === "block")]);
|
|
111
|
+
if (x11 !== NONCONFORMING) {
|
|
112
|
+
const s2 = toAttribute(x11, "aria-pressed");
|
|
113
|
+
if (s2 !== r.v2) writeAttribute(r.a0, "aria-pressed", r.v2 = s2);
|
|
114
|
+
}
|
|
115
|
+
const x12 = textCall("concat", [(v[4] === "center")]);
|
|
116
116
|
if (x12 !== NONCONFORMING) {
|
|
117
|
-
const
|
|
118
|
-
if (
|
|
117
|
+
const s5 = toAttribute(x12, "aria-pressed");
|
|
118
|
+
if (s5 !== r.v5) writeAttribute(r.a1, "aria-pressed", r.v5 = s5);
|
|
119
119
|
}
|
|
120
|
-
const x13 = textCall("concat", [(v[4] === "
|
|
120
|
+
const x13 = textCall("concat", [(v[4] === "wrap-left")]);
|
|
121
121
|
if (x13 !== NONCONFORMING) {
|
|
122
|
-
const
|
|
123
|
-
if (
|
|
122
|
+
const s8 = toAttribute(x13, "aria-pressed");
|
|
123
|
+
if (s8 !== r.v8) writeAttribute(r.a2, "aria-pressed", r.v8 = s8);
|
|
124
124
|
}
|
|
125
|
-
const x14 = textCall("concat", [(v[4] === "wrap-
|
|
125
|
+
const x14 = textCall("concat", [(v[4] === "wrap-right")]);
|
|
126
126
|
if (x14 !== NONCONFORMING) {
|
|
127
|
-
const
|
|
128
|
-
if (
|
|
129
|
-
}
|
|
130
|
-
const x15 = textCall("concat", [(v[4] === "wrap-right")]);
|
|
131
|
-
if (x15 !== NONCONFORMING) {
|
|
132
|
-
const s12 = toAttribute(x15, "aria-pressed");
|
|
133
|
-
if (s12 !== r.v12) writeAttribute(r.a4, "aria-pressed", r.v12 = s12);
|
|
127
|
+
const s11 = toAttribute(x14, "aria-pressed");
|
|
128
|
+
if (s11 !== r.v11) writeAttribute(r.a3, "aria-pressed", r.v11 = s11);
|
|
134
129
|
}
|
|
135
130
|
}
|
|
136
131
|
if (c & 2) {
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
if (
|
|
132
|
+
const x15 = v[1];
|
|
133
|
+
const s21 = toAttribute(x15, "open");
|
|
134
|
+
if (s21 !== r.v21) writeAttribute(r.a12, "open", r.v21 = s21);
|
|
140
135
|
}
|
|
141
136
|
if (c & 4) {
|
|
142
|
-
const
|
|
143
|
-
const
|
|
144
|
-
if (
|
|
137
|
+
const x16 = v[2];
|
|
138
|
+
const s24 = toAttribute(x16, "value");
|
|
139
|
+
if (s24 !== r.v24) writeAttribute(r.a14, "value", r.v24 = s24);
|
|
145
140
|
}
|
|
146
141
|
};
|
|
147
|
-
const t0 = element.firstChild;
|
|
142
|
+
const t0 = element.firstChild.nextSibling;
|
|
148
143
|
const t1 = t0.firstChild;
|
|
149
144
|
const t2 = t1.firstChild;
|
|
150
|
-
const t3 = t2.nextSibling;
|
|
151
|
-
const t4 = t3.nextSibling;
|
|
152
|
-
const t5 = t4.nextSibling;
|
|
153
|
-
const t6 = t5.nextSibling;
|
|
154
|
-
const t7 = t6.nextSibling;
|
|
155
|
-
const t8 = t1.nextSibling;
|
|
156
|
-
const t9 = t8.nextSibling;
|
|
157
|
-
const t10 = t9.nextSibling;
|
|
158
|
-
const t11 = t10.nextSibling;
|
|
159
|
-
const t12 = t11.nextSibling;
|
|
160
|
-
const t13 = t12.nextSibling;
|
|
161
|
-
const t14 = t13.nextSibling;
|
|
162
|
-
const t15 = t14.firstChild.firstChild.firstChild;
|
|
145
|
+
const t3 = t2.nextSibling.nextSibling;
|
|
146
|
+
const t4 = t3.nextSibling.nextSibling;
|
|
147
|
+
const t5 = t4.nextSibling.nextSibling;
|
|
148
|
+
const t6 = t5.nextSibling.nextSibling;
|
|
149
|
+
const t7 = t6.nextSibling.nextSibling;
|
|
150
|
+
const t8 = t1.nextSibling.nextSibling;
|
|
151
|
+
const t9 = t8.nextSibling.nextSibling;
|
|
152
|
+
const t10 = t9.nextSibling.nextSibling;
|
|
153
|
+
const t11 = t10.nextSibling.nextSibling;
|
|
154
|
+
const t12 = t11.nextSibling.nextSibling;
|
|
155
|
+
const t13 = t12.nextSibling.nextSibling;
|
|
156
|
+
const t14 = t13.nextSibling.nextSibling;
|
|
157
|
+
const t15 = t14.firstChild.firstChild.nextSibling.firstChild;
|
|
163
158
|
const t16 = t15.firstChild;
|
|
164
159
|
const t17 = t16.nextSibling;
|
|
165
|
-
const R = { a0:
|
|
160
|
+
const R = { a0: t2, a1: t3, a2: t4, a3: t5, a4: t6, a5: t7, a6: t8, a7: t9, a8: t10, a9: t11, a10: t12, a11: t13, a12: t14, a13: t16, a14: t17, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, v8: null, v9: null, v10: null, v11: null, v12: null, v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, v19: null, v20: null, v21: null, v22: null, v23: null, v24: null };
|
|
166
161
|
const I = { B };
|
|
167
162
|
I.R = new Set();
|
|
168
163
|
attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, C, undefined, I);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorInsertTableGridEventMap {
|
|
3
3
|
insert: CustomEvent<{ readonly rows: number; readonly cols: number; readonly withHeaderRow: boolean }>;
|
|
4
4
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, KeyedList, readMember, readsChanged, rec, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, acceptProps, manageProps, checkBoolean, checkInteger, checkObject } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js";
|
|
4
4
|
import "../styles/ui-editor-insert-table-grid.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],["p",["class","hint"],0],["div",["class","grid","role","group","aria-label","Table dimensions"],2],["label",["class","header"],["input",["type","checkbox"]]," Header row"]];
|
|
7
|
-
const T1 = ["button",["type","button","class","cell"]];
|
|
6
|
+
const T0 = ["",[],"\n ",["p",["class","hint"],0],"\n ",["div",["class","grid","role","group","aria-label","Table dimensions"],"\n ",2,"\n "],"\n ",["label",["class","header"],["input",["type","checkbox"]]," Header row"],"\n "];
|
|
7
|
+
const T1 = ["button",["type","button","class","cell"],"\n "];
|
|
8
8
|
let P0, P1;
|
|
9
9
|
const E = new Map();
|
|
10
10
|
const S = { n: ["cells","rows","cols","hint","withHeaderRow"], t: [["l",["o",["key","s","row","i","col","i","label","s","selected","b","tabIndex","i"]]],"i","i","s","b"], f: import.meta.url, g: "ui-editor-insert-table-grid", d: { "insert": [detailCheck(checkObject([["rows", checkInteger, false], ["cols", checkInteger, false], ["withHeaderRow", checkBoolean, false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
@@ -82,11 +82,11 @@ export function createUiEditorInsertTableGrid(options = {}, html) {
|
|
|
82
82
|
}
|
|
83
83
|
if (c & 1073741825) r.L0.update(v[0], d, c);
|
|
84
84
|
};
|
|
85
|
-
const t0 = element.firstChild;
|
|
85
|
+
const t0 = element.firstChild.nextSibling;
|
|
86
86
|
const t1 = t0.firstChild;
|
|
87
|
-
const t2 = t0.nextSibling;
|
|
88
|
-
const t3 = t2.firstChild;
|
|
89
|
-
const t4 = t2.nextSibling.firstChild;
|
|
87
|
+
const t2 = t0.nextSibling.nextSibling;
|
|
88
|
+
const t3 = t2.firstChild.nextSibling;
|
|
89
|
+
const t4 = t2.nextSibling.nextSibling.firstChild;
|
|
90
90
|
const R = { n: element, a1: t1, a2: t2, a4: t4, v0: undefined, v1: "", v2: undefined, v3: undefined, v4: undefined, L0: new KeyedList(t3, t3.nextSibling, m1, p1, (o) => readMember(o, "key"), "cell") };
|
|
91
91
|
const I = { B };
|
|
92
92
|
I.R = new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorLinkCardEventMap {
|
|
3
3
|
edit: CustomEvent<Readonly<Record<string, unknown>>>;
|
|
4
4
|
remove: CustomEvent<Readonly<Record<string, unknown>>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, toText, writeAttribute, writeUrlAttribute, computedCycle, dispatchDeclared, detailCheck, acceptProps, manageProps, readonlyView, checkRecord, checkString, checkUnknown } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-link-card/ui-editor-link-card.js";
|
|
4
4
|
import "../styles/ui-editor-link-card.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],["ui-card",["variant","elevated","padding","xs","size","content"],["ui-cluster",["gap","xs","wrap","nowrap","role","group","aria-label","Link actions"],["ui-icon",[]],["ui-stack",["gap","none"],["ui-text",["as","strong","size","sm","weight","medium","font","sans","wrap","anywhere"],0],1],1,["ui-icon-button",["label","Edit link","variant","ghost","size","sm","data-link-action","edit"],["ui-icon",["name","pencil"]]],["ui-tooltip",[],"Edit link"],["ui-icon-button",["label","Remove link","variant","ghost","size","sm","data-link-action","remove"],["ui-icon",["name","unlink"]]],["ui-tooltip",[],"Remove link"]]]];
|
|
6
|
+
const T0 = ["",[],"\n ",["ui-card",["variant","elevated","padding","xs","size","content"],["ui-cluster",["gap","xs","wrap","nowrap","role","group","aria-label","Link actions"],["ui-icon",[]],"\n ",["ui-stack",["gap","none"],["ui-text",["as","strong","size","sm","weight","medium","font","sans","wrap","anywhere"],0],"\n ",1],"\n ",1,"\n ",["ui-icon-button",["label","Edit link","variant","ghost","size","sm","data-link-action","edit"],["ui-icon",["name","pencil"]]],"\n ",["ui-tooltip",[],"Edit link"],"\n ",["ui-icon-button",["label","Remove link","variant","ghost","size","sm","data-link-action","remove"],["ui-icon",["name","unlink"]]],"\n ",["ui-tooltip",[],"Remove link"]]],"\n "];
|
|
7
7
|
const T1 = ["ui-text",["as","small","size","xs","tone","secondary","font","sans"],0];
|
|
8
|
-
const T2 = ["",[],["ui-button",["as","a","variant","ghost","tone","neutral","size","sm","target","_blank","rel","noopener noreferrer","aria-label","Open link"],["ui-cluster",["gap","xs","wrap","nowrap"],["ui-icon",["name","external-link"]],"Open link"]],["ui-tooltip",[],"Open link"]];
|
|
8
|
+
const T2 = ["",[],"\n ",["ui-button",["as","a","variant","ghost","tone","neutral","size","sm","target","_blank","rel","noopener noreferrer","aria-label","Open link"],["ui-cluster",["gap","xs","wrap","nowrap"],["ui-icon",["name","external-link"]],"Open link"]],"\n ",["ui-tooltip",[],"Open link"],"\n "];
|
|
9
9
|
let P0, P1, P2;
|
|
10
10
|
const S = { n: ["base","resolved","shown"], t: ["s","?","?"], f: import.meta.url, g: "ui-editor-link-card", k: 1, d: { "edit": [detailCheck(checkRecord(checkUnknown)), true, true, false], "remove": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared, r: readonlyView };
|
|
11
11
|
const D = { g: "ui-editor-link-card", props: { "detail": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "href": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "openHref": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "targetLabel": { "required":false,"default":"Item", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
@@ -53,8 +53,8 @@ export function createUiEditorLinkCard(options = {}, html) {
|
|
|
53
53
|
};
|
|
54
54
|
const m2 = (d) => {
|
|
55
55
|
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
56
|
-
const t0 = n.firstChild;
|
|
57
|
-
const t1 = t0.nextSibling;
|
|
56
|
+
const t0 = n.firstChild.nextSibling;
|
|
57
|
+
const t1 = t0.nextSibling.nextSibling;
|
|
58
58
|
const r = { n, a0: t0, a1: t1, v0: null, v1: null, v2: null };
|
|
59
59
|
p2(r, -1, d);
|
|
60
60
|
return r;
|
|
@@ -133,17 +133,17 @@ export function createUiEditorLinkCard(options = {}, html) {
|
|
|
133
133
|
else { r.b1 = m2(d); r.e1.before(r.b1.n); }
|
|
134
134
|
} else if (r.b1 !== undefined) p2(r.b1, c, d);
|
|
135
135
|
};
|
|
136
|
-
const t0 = element.firstChild.firstChild;
|
|
136
|
+
const t0 = element.firstChild.nextSibling.firstChild;
|
|
137
137
|
const t1 = t0.firstChild;
|
|
138
|
-
const t2 = t1.nextSibling;
|
|
138
|
+
const t2 = t1.nextSibling.nextSibling;
|
|
139
139
|
const t3 = t2.firstChild;
|
|
140
140
|
const t4 = t3.firstChild;
|
|
141
|
-
const t5 = t3.nextSibling;
|
|
142
|
-
const t6 = t2.nextSibling;
|
|
143
|
-
const t7 = t6.nextSibling.nextSibling;
|
|
144
|
-
const t8 = t7.nextSibling;
|
|
145
|
-
const t9 = t8.nextSibling;
|
|
146
|
-
const t10 = t9.nextSibling;
|
|
141
|
+
const t5 = t3.nextSibling.nextSibling;
|
|
142
|
+
const t6 = t2.nextSibling.nextSibling;
|
|
143
|
+
const t7 = t6.nextSibling.nextSibling.nextSibling;
|
|
144
|
+
const t8 = t7.nextSibling.nextSibling;
|
|
145
|
+
const t9 = t8.nextSibling.nextSibling;
|
|
146
|
+
const t10 = t9.nextSibling.nextSibling;
|
|
147
147
|
const R = { a0: t1, a1: t2, a2: t4, a5: t7, a6: t8, a7: t9, a8: t10, v0: null, v1: null, v2: null, v3: "", v4: null, v5: null, v6: null, v7: null, a3: t5, e0: t5.nextSibling, b0: undefined, a4: t6, e1: t6.nextSibling, b1: undefined };
|
|
148
148
|
const I = { B };
|
|
149
149
|
I.R = new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorLinkFormEventMap {
|
|
3
3
|
destination: CustomEvent<{ readonly value: string }>;
|
|
4
4
|
text: CustomEvent<{ readonly text: string }>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, readonlyView, checkBoolean, checkFormat, checkList, checkObject, checkRecord, checkString, checkUnknown } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-link-form/ui-editor-link-form.js";
|
|
4
4
|
import "../styles/ui-editor-link-form.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],["ui-stack",["gap","s"],["ui-text",["as","h3","size","sm","weight","semibold"],0],["ui-stack",["gap","s"],["ui-form-field",[],["label",["slot","label"],0],1,1],1,1],1,1]];
|
|
6
|
+
const T0 = ["",[],"\n ",["ui-stack",["gap","s"],["ui-text",["as","h3","size","sm","weight","semibold"],0],"\n ",["ui-stack",["gap","s"],["ui-form-field",[],["label",["slot","label"],0],1,"\n ",1],"\n ",1,"\n ",1],"\n ",1,"\n ",1],"\n "];
|
|
7
7
|
const T1 = ["ui-input-group",["prefix-kind","icon"],["ui-icon",["slot","prefix"]],["ui-input",["data-link-destination","","data-link-search","","type","text","role","searchbox","autocomplete","off"]],1];
|
|
8
8
|
const T2 = ["ui-icon-button",["slot","action","label","Clear search","variant","ghost","size","sm","data-link-clear",""],["ui-icon",["name","x"]]];
|
|
9
|
-
const T3 = ["",[],["ui-input",["data-link-destination","","type","text","inputmode","url","size","sm"]]];
|
|
10
|
-
const T4 = ["ui-scroll-area",["size","sm","aria-label","Destination search results"],1,2];
|
|
9
|
+
const T3 = ["",[],"\n ",["ui-input",["data-link-destination","","type","text","inputmode","url","size","sm"]],"\n "];
|
|
10
|
+
const T4 = ["ui-scroll-area",["size","sm","aria-label","Destination search results"],1,"\n ",2];
|
|
11
11
|
const T5 = ["ui-text",["size","sm","tone","secondary","role","status"],0];
|
|
12
|
-
const T6 = ["ui-search-result-row",["density","compact","data-link-result",""],["ui-icon",["slot","leading","name","file-text"]],["ui-text",["slot","title","as","strong","size","sm","weight","medium"],0],1,1];
|
|
13
|
-
const T7 = ["ui-text",["slot","meta","as","span","size","xs","tone","secondary"],0];
|
|
12
|
+
const T6 = ["ui-search-result-row",["density","compact","data-link-result",""],["ui-icon",["slot","leading","name","file-text"]],["ui-text",["slot","title","as","strong","size","sm","weight","medium","truncate",""],0],1,1];
|
|
13
|
+
const T7 = ["ui-text",["slot","meta","as","span","size","xs","tone","secondary","truncate",""],0];
|
|
14
14
|
const T8 = ["ui-icon",["slot","trailing","name","check"]];
|
|
15
|
-
const T9 = ["",[],["ui-checkbox",["size","sm","data-link-new-tab",""],"Open in new tab"]];
|
|
16
|
-
const T10 = ["",[],["ui-form-field",[],["label",["slot","label"],"Text"],["ui-input",["data-link-text","","size","sm"]]]];
|
|
15
|
+
const T9 = ["",[],"\n ",["ui-checkbox",["size","sm","data-link-new-tab",""],"Open in new tab"],"\n "];
|
|
16
|
+
const T10 = ["",[],"\n ",["ui-form-field",[],["label",["slot","label"],"Text"],["ui-input",["data-link-text","","size","sm"]]],"\n "];
|
|
17
17
|
const T11 = ["ui-text",["size","sm","tone","danger","role","alert"],0];
|
|
18
18
|
let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11;
|
|
19
19
|
const E = new Map();
|
|
@@ -97,7 +97,7 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
97
97
|
};
|
|
98
98
|
const m3 = (d) => {
|
|
99
99
|
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
100
|
-
const t0 = n.firstChild;
|
|
100
|
+
const t0 = n.firstChild.nextSibling;
|
|
101
101
|
const r = { n, a0: t0, v0: null, v1: null, v2: null };
|
|
102
102
|
p3(r, -1, d);
|
|
103
103
|
return r;
|
|
@@ -124,7 +124,7 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
124
124
|
const m4 = (d) => {
|
|
125
125
|
const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
|
|
126
126
|
const t0 = n.firstChild;
|
|
127
|
-
const t1 = t0.nextSibling.nextSibling;
|
|
127
|
+
const t1 = t0.nextSibling.nextSibling.nextSibling;
|
|
128
128
|
const r = { n, a0: t0, e0: t0.nextSibling, b0: undefined, L1: new KeyedList(t1, t1.nextSibling, m6, p6, (o) => readMember(o, "id"), "result") };
|
|
129
129
|
p4(r, -1, d);
|
|
130
130
|
return r;
|
|
@@ -157,7 +157,7 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
157
157
|
const t1 = t0.firstChild;
|
|
158
158
|
const t2 = t0.nextSibling;
|
|
159
159
|
const t3 = t2.nextSibling.nextSibling;
|
|
160
|
-
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: null, v1: null, v2: null, v3:
|
|
160
|
+
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: null, v1: null, v2: null, v3: "", a3: t2, e0: t2.nextSibling, b0: undefined, a4: t3, e1: t3.nextSibling, b1: undefined };
|
|
161
161
|
p6(r, -1, E);
|
|
162
162
|
return r;
|
|
163
163
|
};
|
|
@@ -173,18 +173,11 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
173
173
|
const x1 = trackContainer(r, readMember(o, "id"));
|
|
174
174
|
const s1 = toAttribute(x1, "data-link-id");
|
|
175
175
|
if (s1 !== r.v1) writeAttribute(r.n, "data-link-id", r.v1 = s1);
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
const
|
|
180
|
-
if (
|
|
181
|
-
}
|
|
182
|
-
if (c & 1073741824) {
|
|
183
|
-
const x3 = trackContainer(r, readMember(o, "label"));
|
|
184
|
-
const s3 = toAttribute(x3, "title");
|
|
185
|
-
if (s3 !== r.v3) writeAttribute(r.a1, "title", r.v3 = s3);
|
|
186
|
-
const s4 = toText(x3);
|
|
187
|
-
if (s4 !== r.v4) r.a2.data = r.v4 = s4;
|
|
176
|
+
const x2 = trackContainer(r, readMember(o, "label"));
|
|
177
|
+
const s2 = toAttribute(x2, "title");
|
|
178
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "title", r.v2 = s2);
|
|
179
|
+
const s3 = toText(x2);
|
|
180
|
+
if (s3 !== r.v3) r.a2.data = r.v3 = s3;
|
|
188
181
|
}
|
|
189
182
|
if (c & 1073741824 && !(truthy(trackContainer(r, readMember(o, "detail")))) !== !r.b0) {
|
|
190
183
|
if (r.b0) { r.b0 = undefined; clearRegion(r.a3, r.e0); }
|
|
@@ -198,23 +191,18 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
198
191
|
const m7 = (d, o, u) => {
|
|
199
192
|
const n = (P7 ??= buildTemplate(T7)).cloneNode(true);
|
|
200
193
|
const t0 = n.firstChild;
|
|
201
|
-
const r = { n, u, a1: t0, w: 0, v0: null, v1:
|
|
194
|
+
const r = { n, u, a1: t0, w: 0, v0: null, v1: "" };
|
|
202
195
|
p7(r, -1, d);
|
|
203
196
|
return r;
|
|
204
197
|
};
|
|
205
198
|
const p7 = (r, c, d) => {
|
|
206
|
-
if (c & 1073741824) r.w = 0;
|
|
207
|
-
if (c === -1) {
|
|
208
|
-
const x0 = true;
|
|
209
|
-
const s0 = toAttribute(x0, "truncate");
|
|
210
|
-
if (s0 !== r.v0) writeAttribute(r.n, "truncate", r.v0 = s0);
|
|
211
|
-
}
|
|
212
199
|
if (c & 1073741824) {
|
|
213
|
-
|
|
214
|
-
const
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
200
|
+
r.w = 0;
|
|
201
|
+
const x0 = trackContainer(r, readMember(r.u.i, "detail"));
|
|
202
|
+
const s0 = toAttribute(x0, "title");
|
|
203
|
+
if (s0 !== r.v0) writeAttribute(r.n, "title", r.v0 = s0);
|
|
204
|
+
const s1 = toText(x0);
|
|
205
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
218
206
|
}
|
|
219
207
|
};
|
|
220
208
|
const m8 = (d) => {
|
|
@@ -227,7 +215,7 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
227
215
|
};
|
|
228
216
|
const m9 = (d) => {
|
|
229
217
|
const n = (P9 ??= buildTemplate(T9)).cloneNode(true);
|
|
230
|
-
const t0 = n.firstChild;
|
|
218
|
+
const t0 = n.firstChild.nextSibling;
|
|
231
219
|
const r = { n, a0: t0, v0: null };
|
|
232
220
|
p9(r, -1, d);
|
|
233
221
|
return r;
|
|
@@ -241,7 +229,7 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
241
229
|
};
|
|
242
230
|
const m10 = (d) => {
|
|
243
231
|
const n = (P10 ??= buildTemplate(T10)).cloneNode(true);
|
|
244
|
-
const t0 = n.firstChild;
|
|
232
|
+
const t0 = n.firstChild.nextSibling;
|
|
245
233
|
const t1 = t0.firstChild;
|
|
246
234
|
const t2 = t1.nextSibling;
|
|
247
235
|
const r = { n, a0: t1, a1: t2, v0: null, v1: null, v2: null };
|
|
@@ -332,19 +320,19 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
332
320
|
else { r.b5 = m11(d); r.e5.before(r.b5.n); }
|
|
333
321
|
} else if (r.b5 !== undefined) p11(r.b5, c, d);
|
|
334
322
|
};
|
|
335
|
-
const t0 = element.firstChild;
|
|
323
|
+
const t0 = element.firstChild.nextSibling;
|
|
336
324
|
const t1 = t0.firstChild;
|
|
337
325
|
const t2 = t1.firstChild;
|
|
338
|
-
const t3 = t1.nextSibling;
|
|
326
|
+
const t3 = t1.nextSibling.nextSibling;
|
|
339
327
|
const t4 = t3.firstChild;
|
|
340
328
|
const t5 = t4.firstChild;
|
|
341
329
|
const t6 = t5.firstChild;
|
|
342
330
|
const t7 = t5.nextSibling;
|
|
343
|
-
const t8 = t7.nextSibling.nextSibling;
|
|
344
|
-
const t9 = t4.nextSibling;
|
|
345
|
-
const t10 = t9.nextSibling.nextSibling;
|
|
346
|
-
const t11 = t3.nextSibling;
|
|
347
|
-
const t12 = t11.nextSibling.nextSibling;
|
|
331
|
+
const t8 = t7.nextSibling.nextSibling.nextSibling;
|
|
332
|
+
const t9 = t4.nextSibling.nextSibling;
|
|
333
|
+
const t10 = t9.nextSibling.nextSibling.nextSibling;
|
|
334
|
+
const t11 = t3.nextSibling.nextSibling;
|
|
335
|
+
const t12 = t11.nextSibling.nextSibling.nextSibling;
|
|
348
336
|
const R = { a0: t2, a1: t4, a2: t5, a3: t6, v0: "", v1: null, v2: null, v3: "", a4: t7, e0: t7.nextSibling, b0: undefined, a5: t8, e1: t8.nextSibling, b1: undefined, a6: t9, e2: t9.nextSibling, b2: undefined, a7: t10, e3: t10.nextSibling, b3: undefined, a8: t11, e4: t11.nextSibling, b4: undefined, a9: t12, e5: t12.nextSibling, b5: undefined };
|
|
349
337
|
const I = { B };
|
|
350
338
|
I.R = new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorMentionMenuEventMap {
|
|
3
3
|
highlight: CustomEvent<{ readonly index: number; readonly value: string }>;
|
|
4
4
|
select: CustomEvent<{ readonly index: number; readonly value: string }>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, acceptProps, manageProps, project, fillSlot, checkBoolean, checkInteger, checkList, checkNumber, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-mention-menu/ui-editor-mention-menu.js";
|
|
4
4
|
import "../styles/ui-editor-mention-menu.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],["div",["class","header"],4],1,1,["div",["class","empty"],4]];
|
|
6
|
+
const T0 = ["",[],"\n ",["div",["class","header"],4],"\n ",1,"\n ",1,"\n ",["div",["class","empty"],4],"\n "];
|
|
7
7
|
const T1 = ["",[]];
|
|
8
8
|
const T2 = ["div",["class","loading","role","status"],0];
|
|
9
|
-
const T3 = ["ul",["class","list","role","presentation"],2,4];
|
|
10
|
-
const T4 = ["li",["class","item","role","option"],["span",["class","avatar","aria-hidden","true"],0],["span",["class","body"],["span",["class","label"],0],1]];
|
|
9
|
+
const T3 = ["ul",["class","list","role","presentation"],"\n ",2,"\n ",4,"\n "];
|
|
10
|
+
const T4 = ["li",["class","item","role","option"],"\n ",["span",["class","avatar","aria-hidden","true"],0],"\n ",["span",["class","body"],["span",["class","label"],0],1],"\n "];
|
|
11
11
|
const T5 = ["span",["class","detail"],0];
|
|
12
12
|
const T6 = ["",[]];
|
|
13
13
|
const T7 = ["",[]];
|
|
@@ -53,8 +53,8 @@ export function createUiEditorMentionMenu(options = {}, html) {
|
|
|
53
53
|
};
|
|
54
54
|
const m3 = (d) => {
|
|
55
55
|
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
56
|
-
const t0 = n.firstChild;
|
|
57
|
-
const t1 = t0.nextSibling.nextSibling;
|
|
56
|
+
const t0 = n.firstChild.nextSibling;
|
|
57
|
+
const t1 = t0.nextSibling.nextSibling.nextSibling;
|
|
58
58
|
const r = { n, L0: new IndexedList(t0, t0.nextSibling, m4, p4, undefined, "row"), a1: t1, e1: t1.nextSibling, b1: undefined, f1: undefined };
|
|
59
59
|
p3(r, -1, d);
|
|
60
60
|
return r;
|
|
@@ -68,9 +68,9 @@ export function createUiEditorMentionMenu(options = {}, html) {
|
|
|
68
68
|
};
|
|
69
69
|
const m4 = (o, j, l) => {
|
|
70
70
|
const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
|
|
71
|
-
const t0 = n.firstChild;
|
|
71
|
+
const t0 = n.firstChild.nextSibling;
|
|
72
72
|
const t1 = t0.firstChild;
|
|
73
|
-
const t2 = t0.nextSibling;
|
|
73
|
+
const t2 = t0.nextSibling.nextSibling;
|
|
74
74
|
const t3 = t2.firstChild;
|
|
75
75
|
const t4 = t3.firstChild;
|
|
76
76
|
const t5 = t3.nextSibling;
|
|
@@ -173,11 +173,11 @@ export function createUiEditorMentionMenu(options = {}, html) {
|
|
|
173
173
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b3 = m7(d); at.before(r.b3.n); } }
|
|
174
174
|
else if (r.b3 !== undefined) p7(r.b3, c, d);
|
|
175
175
|
};
|
|
176
|
-
const t0 = element.firstChild;
|
|
176
|
+
const t0 = element.firstChild.nextSibling;
|
|
177
177
|
const t1 = t0.firstChild;
|
|
178
|
-
const t2 = t0.nextSibling;
|
|
179
|
-
const t3 = t2.nextSibling.nextSibling;
|
|
180
|
-
const t4 = t3.nextSibling.nextSibling;
|
|
178
|
+
const t2 = t0.nextSibling.nextSibling;
|
|
179
|
+
const t3 = t2.nextSibling.nextSibling.nextSibling;
|
|
180
|
+
const t4 = t3.nextSibling.nextSibling.nextSibling;
|
|
181
181
|
const t5 = t4.firstChild;
|
|
182
182
|
const R = { n: element, v0: undefined, v1: undefined, a1: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a2: t2, e1: t2.nextSibling, b1: undefined, a3: t3, e2: t3.nextSibling, b2: undefined, a5: t5, e3: t5.nextSibling, b3: undefined, f3: undefined };
|
|
183
183
|
const I = { B };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorMentionMenuItemEventMap {
|
|
3
3
|
}
|
|
4
4
|
export interface UiEditorMentionMenuItemElement extends HTMLLIElement {
|