@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
|
@@ -1,8 +1,8 @@
|
|
|
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, toAttribute, toText, truthy, writeAttribute, dispose, acceptProps, manageProps, project, fillSlot, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-editor-mention-menu-item.css";
|
|
4
4
|
|
|
5
|
-
const T0 = ["",[],["span",["class","avatar","aria-hidden","true"],4],["span",["class","body"],["span",["class","label"],4],1]];
|
|
5
|
+
const T0 = ["",[],"\n ",["span",["class","avatar","aria-hidden","true"],4],"\n ",["span",["class","body"],["span",["class","label"],4],1],"\n "];
|
|
6
6
|
const T1 = ["",[],0];
|
|
7
7
|
const T2 = ["",[]];
|
|
8
8
|
const T3 = ["span",["class","detail"],0];
|
|
@@ -76,9 +76,9 @@ export function createUiEditorMentionMenuItem(options = {}, html) {
|
|
|
76
76
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m2(d); at.before(r.b1.n); } }
|
|
77
77
|
else if (r.b1 !== undefined) p2(r.b1, c, d);
|
|
78
78
|
};
|
|
79
|
-
const t0 = element.firstChild;
|
|
79
|
+
const t0 = element.firstChild.nextSibling;
|
|
80
80
|
const t1 = t0.firstChild;
|
|
81
|
-
const t2 = t0.nextSibling;
|
|
81
|
+
const t2 = t0.nextSibling.nextSibling;
|
|
82
82
|
const t3 = t2.firstChild;
|
|
83
83
|
const t4 = t3.firstChild;
|
|
84
84
|
const t5 = t3.nextSibling;
|
|
@@ -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 UiEditorSlashMenuEventMap {
|
|
3
3
|
highlight: CustomEvent<{ readonly index: number; readonly value: string }>;
|
|
4
4
|
select: CustomEvent<{ readonly index: number; readonly value: string }>;
|
|
@@ -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, readMember, toAttribute, toText, trackContainer, 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-slash-menu/ui-editor-slash-menu.js";
|
|
4
4
|
import "../styles/ui-editor-slash-menu.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],["div",["class","header"],4],["ul",["class","list","role","presentation"],2,4],["div",["class","empty"],4],["div",["class","footer"],4]];
|
|
6
|
+
const T0 = ["",[],"\n ",["div",["class","header"],4],"\n ",["ul",["class","list","role","presentation"],"\n ",2,"\n ",4,"\n "],"\n ",["div",["class","empty"],4],"\n ",["div",["class","footer"],4],"\n "];
|
|
7
7
|
const T1 = ["",[]];
|
|
8
|
-
const T2 = ["li",["class","item","role","option"],["span",["class","icon","aria-hidden","true"],["ui-icon",[]]],["span",["class","body"],["span",["class","title"],0],["span",["class","description"],0]]];
|
|
8
|
+
const T2 = ["li",["class","item","role","option"],"\n ",["span",["class","icon","aria-hidden","true"],["ui-icon",[]]],"\n ",["span",["class","body"],["span",["class","title"],0],["span",["class","description"],0]],"\n "];
|
|
9
9
|
const T3 = ["",[]];
|
|
10
10
|
const T4 = ["",[]];
|
|
11
11
|
const T5 = ["",[]];
|
|
@@ -37,9 +37,9 @@ export function createUiEditorSlashMenu(options = {}, html) {
|
|
|
37
37
|
};
|
|
38
38
|
const m2 = (o, j, l) => {
|
|
39
39
|
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
40
|
-
const t0 = n.firstChild;
|
|
40
|
+
const t0 = n.firstChild.nextSibling;
|
|
41
41
|
const t1 = t0.firstChild;
|
|
42
|
-
const t2 = t0.nextSibling;
|
|
42
|
+
const t2 = t0.nextSibling.nextSibling;
|
|
43
43
|
const t3 = t2.firstChild;
|
|
44
44
|
const t4 = t3.firstChild;
|
|
45
45
|
const t5 = t3.nextSibling.firstChild;
|
|
@@ -122,14 +122,14 @@ export function createUiEditorSlashMenu(options = {}, html) {
|
|
|
122
122
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b4 = m5(d); at.before(r.b4.n); } }
|
|
123
123
|
else if (r.b4 !== undefined) p5(r.b4, c, d);
|
|
124
124
|
};
|
|
125
|
-
const t0 = element.firstChild;
|
|
125
|
+
const t0 = element.firstChild.nextSibling;
|
|
126
126
|
const t1 = t0.firstChild;
|
|
127
|
-
const t2 = t0.nextSibling;
|
|
128
|
-
const t3 = t2.firstChild;
|
|
129
|
-
const t4 = t3.nextSibling.nextSibling;
|
|
130
|
-
const t5 = t2.nextSibling;
|
|
127
|
+
const t2 = t0.nextSibling.nextSibling;
|
|
128
|
+
const t3 = t2.firstChild.nextSibling;
|
|
129
|
+
const t4 = t3.nextSibling.nextSibling.nextSibling;
|
|
130
|
+
const t5 = t2.nextSibling.nextSibling;
|
|
131
131
|
const t6 = t5.firstChild;
|
|
132
|
-
const t7 = t5.nextSibling.firstChild;
|
|
132
|
+
const t7 = t5.nextSibling.nextSibling.firstChild;
|
|
133
133
|
const R = { n: element, v0: undefined, a1: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, L1: new IndexedList(t3, t3.nextSibling, m2, p2, undefined, "item"), a3: t4, e2: t4.nextSibling, b2: undefined, f2: undefined, a5: t6, e3: t6.nextSibling, b3: undefined, f3: undefined, a6: t7, e4: t7.nextSibling, b4: undefined, f4: undefined };
|
|
134
134
|
const I = { B };
|
|
135
135
|
const J = project(I, children, slots);
|
|
@@ -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 UiEditorSlashMenuGroupEventMap {
|
|
3
3
|
}
|
|
4
4
|
export interface UiEditorSlashMenuGroupElement extends HTMLLIElement {
|
|
@@ -1,8 +1,8 @@
|
|
|
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, toAttribute, toText, writeAttribute, dispose, acceptProps, manageProps, project, fillSlot, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-editor-slash-menu-group.css";
|
|
4
4
|
|
|
5
|
-
const T0 = ["",[],["div",["role","group"],["div",["class","heading"],0],["ul",["role","presentation"],4]]];
|
|
5
|
+
const T0 = ["",[],"\n ",["div",["role","group"],"\n ",["div",["class","heading"],0],"\n ",["ul",["role","presentation"],4],"\n "],"\n "];
|
|
6
6
|
const T1 = ["",[]];
|
|
7
7
|
let P0, P1;
|
|
8
8
|
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-slash-menu-group" };
|
|
@@ -40,10 +40,10 @@ export function createUiEditorSlashMenuGroup(options = {}, html) {
|
|
|
40
40
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
|
|
41
41
|
else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
42
42
|
};
|
|
43
|
-
const t0 = element.firstChild;
|
|
44
|
-
const t1 = t0.firstChild;
|
|
43
|
+
const t0 = element.firstChild.nextSibling;
|
|
44
|
+
const t1 = t0.firstChild.nextSibling;
|
|
45
45
|
const t2 = t1.firstChild;
|
|
46
|
-
const t3 = t1.nextSibling.firstChild;
|
|
46
|
+
const t3 = t1.nextSibling.nextSibling.firstChild;
|
|
47
47
|
const R = { a0: t0, a1: t2, v0: null, v1: "", a2: t3, e0: t3.nextSibling, b0: undefined, f0: undefined };
|
|
48
48
|
const I = { B };
|
|
49
49
|
const J = project(I, children, slots);
|
|
@@ -1,8 +1,8 @@
|
|
|
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, toAttribute, toText, truthy, writeAttribute, dispose, acceptProps, manageProps, project, fillSlot, checkBoolean, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-editor-slash-menu-item.css";
|
|
4
4
|
|
|
5
|
-
const T0 = ["",[],1,["span",["class","body"],["span",["class","title"],4],1]];
|
|
5
|
+
const T0 = ["",[],"\n ",1,"\n ",["span",["class","body"],["span",["class","title"],4],1],"\n "];
|
|
6
6
|
const T1 = ["span",["class","icon","aria-hidden","true"],["ui-icon",[]]];
|
|
7
7
|
const T2 = ["",[]];
|
|
8
8
|
const T3 = ["span",["class","description"],0];
|
|
@@ -87,8 +87,8 @@ export function createUiEditorSlashMenuItem(options = {}, html) {
|
|
|
87
87
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m2(d); at.before(r.b1.n); } }
|
|
88
88
|
else if (r.b1 !== undefined) p2(r.b1, c, d);
|
|
89
89
|
};
|
|
90
|
-
const t0 = element.firstChild;
|
|
91
|
-
const t1 = t0.nextSibling.nextSibling;
|
|
90
|
+
const t0 = element.firstChild.nextSibling;
|
|
91
|
+
const t1 = t0.nextSibling.nextSibling.nextSibling;
|
|
92
92
|
const t2 = t1.firstChild;
|
|
93
93
|
const t3 = t2.firstChild;
|
|
94
94
|
const t4 = t2.nextSibling;
|
|
@@ -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
|
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkFormat } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-editor-surface.css";
|
|
4
4
|
|
|
@@ -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 UiEditorTableContextMenuEventMap {
|
|
3
3
|
action: CustomEvent<{ readonly action: "align-left" | "align-center" | "align-right" | "background-none" | "background-gray" | "background-yellow" | "background-blue" | "background-green" | "background-red" | "add-row-before" | "add-row-after" | "add-column-before" | "add-column-after" | "toggle-header-row" | "toggle-header-column" | "move-row-up" | "move-row-down" | "move-column-left" | "move-column-right" | "clear-cells" | "merge-cells" | "split-cell" | "delete-row" | "delete-column" | "delete-table" }>;
|
|
4
4
|
}
|
|
@@ -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, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, RangedKeyedList, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-table-context-menu/ui-editor-table-context-menu.js";
|
|
4
4
|
import "../styles/ui-editor-table-context-menu.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],1,2];
|
|
7
|
-
const T1 = ["div",["class","section","role","none"],["div",["class","heading","role","presentation"],"Cell background"],["div",["class","swatches","role","group","aria-label","Cell background"],2]];
|
|
8
|
-
const T2 = ["button",["type","button","class","swatch-button","role","menuitemradio"],["span",["class","swatch"]],["span",["class","swatch-label"],0]];
|
|
9
|
-
const T3 = ["",[],["div",["class","sep"]],["div",["class","section","role","none"],["div",["class","heading","role","presentation"],0],2]];
|
|
10
|
-
const T4 = ["button",["type","button"],["ui-icon",[]],["span",[],0]];
|
|
6
|
+
const T0 = ["",[],"\n ",1,"\n ",2,"\n "];
|
|
7
|
+
const T1 = ["div",["class","section","role","none"],"\n ",["div",["class","heading","role","presentation"],"Cell background"],"\n ",["div",["class","swatches","role","group","aria-label","Cell background"],"\n ",2,"\n "],"\n "];
|
|
8
|
+
const T2 = ["button",["type","button","class","swatch-button","role","menuitemradio"],"\n ",["span",["class","swatch"]],"\n ",["span",["class","swatch-label"],0],"\n "];
|
|
9
|
+
const T3 = ["",[],"\n ",["div",["class","sep"]],"\n ",["div",["class","section","role","none"],"\n ",["div",["class","heading","role","presentation"],0],"\n ",2,"\n "],"\n "];
|
|
10
|
+
const T4 = ["button",["type","button"],"\n ",["ui-icon",[]],"\n ",["span",[],0],"\n "];
|
|
11
11
|
let P0, P1, P2, P3, P4;
|
|
12
12
|
const E = new Map();
|
|
13
13
|
const S = { n: ["swatches","sections"], t: [["l",["o",["action","s","label","s","color","s","selected","b"]]],["l",["o",["heading","s","items",["l",["o",["action","s","label","s","icon","s","danger","b","checkable","b","checked","b"]]]]]]], f: import.meta.url, g: "ui-editor-table-context-menu", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
@@ -28,7 +28,7 @@ export function createUiEditorTableContextMenu(options = {}, html) {
|
|
|
28
28
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
29
29
|
const m1 = (d) => {
|
|
30
30
|
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
31
|
-
const t0 = n.firstChild.nextSibling.firstChild;
|
|
31
|
+
const t0 = n.firstChild.nextSibling.nextSibling.nextSibling.firstChild.nextSibling;
|
|
32
32
|
const r = { n, L0: new KeyedList(t0, t0.nextSibling, m2, p2, (o) => readMember(o, "action"), "swatch") };
|
|
33
33
|
p1(r, -1, d);
|
|
34
34
|
return r;
|
|
@@ -38,8 +38,8 @@ export function createUiEditorTableContextMenu(options = {}, html) {
|
|
|
38
38
|
};
|
|
39
39
|
const m2 = (o, j, l) => {
|
|
40
40
|
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
41
|
-
const t0 = n.firstChild;
|
|
42
|
-
const t1 = t0.nextSibling.firstChild;
|
|
41
|
+
const t0 = n.firstChild.nextSibling;
|
|
42
|
+
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
43
43
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: false, v1: null, v2: null, v3: false, v4: undefined, v5: "" };
|
|
44
44
|
p2(r, -1, E);
|
|
45
45
|
return r;
|
|
@@ -69,10 +69,10 @@ export function createUiEditorTableContextMenu(options = {}, html) {
|
|
|
69
69
|
};
|
|
70
70
|
const m3 = (o, j, l) => {
|
|
71
71
|
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
72
|
-
const t0 = n.firstChild.nextSibling;
|
|
73
|
-
const t1 = t0.firstChild;
|
|
72
|
+
const t0 = n.firstChild.nextSibling.nextSibling.nextSibling;
|
|
73
|
+
const t1 = t0.firstChild.nextSibling;
|
|
74
74
|
const t2 = t1.firstChild;
|
|
75
|
-
const t3 = t1.nextSibling;
|
|
75
|
+
const t3 = t1.nextSibling.nextSibling;
|
|
76
76
|
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
77
77
|
n.prepend(s);
|
|
78
78
|
n.append(t);
|
|
@@ -92,8 +92,8 @@ export function createUiEditorTableContextMenu(options = {}, html) {
|
|
|
92
92
|
};
|
|
93
93
|
const m4 = (o, j, l) => {
|
|
94
94
|
const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
|
|
95
|
-
const t0 = n.firstChild;
|
|
96
|
-
const t1 = t0.nextSibling.firstChild;
|
|
95
|
+
const t0 = n.firstChild.nextSibling;
|
|
96
|
+
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
97
97
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: null, v1: null, v2: false, v3: null, v4: null, v5: "" };
|
|
98
98
|
p4(r, -1, E);
|
|
99
99
|
return r;
|
|
@@ -138,8 +138,8 @@ export function createUiEditorTableContextMenu(options = {}, html) {
|
|
|
138
138
|
} else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
139
139
|
if (c & 1073741826) r.L1.update(v[1], d, c);
|
|
140
140
|
};
|
|
141
|
-
const t0 = element.firstChild;
|
|
142
|
-
const t1 = t0.nextSibling.nextSibling;
|
|
141
|
+
const t0 = element.firstChild.nextSibling;
|
|
142
|
+
const t1 = t0.nextSibling.nextSibling.nextSibling;
|
|
143
143
|
const R = { n: element, v0: undefined, a1: t0, e0: t0.nextSibling, b0: undefined, L1: new RangedKeyedList(t1, t1.nextSibling, m3, p3, (o) => readMember(o, "heading"), "section") };
|
|
144
144
|
const I = { B };
|
|
145
145
|
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 UiEditorTableOverlayEventMap {
|
|
3
3
|
"add-row-before": CustomEvent<{ readonly boundaryIndex: number }>;
|
|
4
4
|
"add-row-after": CustomEvent<{ readonly boundaryIndex: number }>;
|
|
@@ -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, checkReference, clearRegion, KeyedList, NONCONFORMING, readDeclared, readMember, toAttribute, toText, trackContainer, truthy, visitSelected, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, checkBoolean, checkInteger, checkList, checkNull, checkNumber, checkObject, checkUnion } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-table-overlay/ui-editor-table-overlay.js";
|
|
4
4
|
import "../styles/ui-editor-table-overlay.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],["div",["class","rows"],2],["div",["class","cols"],2],1,1,["span",["class","drop-indicator","data-drop-indicator","","hidden","","aria-hidden","true"]]];
|
|
7
|
-
const T1 = ["div",["class","control row"],["span",["class","line","aria-hidden","true"]],["span",["class","guide","data-ui-guide","","aria-hidden","true"]],["button",["type","button","class","handle"],["ui-icon",["name","plus"]],["span",["class","tooltip","role","tooltip"],0]]];
|
|
8
|
-
const T2 = ["div",["class","control col"],["span",["class","line","aria-hidden","true"]],["span",["class","guide","data-ui-guide","","aria-hidden","true"]],["button",["type","button","class","handle"],["ui-icon",["name","plus"]],["span",["class","tooltip","role","tooltip"],0]]];
|
|
9
|
-
const T3 = ["",[],["button",["type","button","class","selector row","data-action","select-row","title","Drag row to reorder; click for actions","aria-label","Row actions"],["span",["class","glyph"],["ui-icon",["name","grip-vertical"]]]],["button",["type","button","class","selector column","data-action","select-column","title","Drag column to reorder; click for actions","aria-label","Column actions"],["span",["class","glyph"],["ui-icon",["name","grip-horizontal"]]]]];
|
|
10
|
-
const T4 = ["button",["type","button","class","cell-menu","data-action","open-cell-menu","title","Cell actions","aria-label","Cell actions"],["ui-icon",["name","chevron-down"]]];
|
|
6
|
+
const T0 = ["",[],"\n ",["div",["class","rows"],"\n ",2,"\n "],"\n ",["div",["class","cols"],"\n ",2,"\n "],"\n ",1,"\n ",1,"\n ",["span",["class","drop-indicator","data-drop-indicator","","hidden","","aria-hidden","true"]],"\n "];
|
|
7
|
+
const T1 = ["div",["class","control row"],"\n ",["span",["class","line","aria-hidden","true"]],"\n ",["span",["class","guide","data-ui-guide","","aria-hidden","true"]],"\n ",["button",["type","button","class","handle"],"\n ",["ui-icon",["name","plus"]],"\n ",["span",["class","tooltip","role","tooltip"],0],"\n "],"\n "];
|
|
8
|
+
const T2 = ["div",["class","control col"],"\n ",["span",["class","line","aria-hidden","true"]],"\n ",["span",["class","guide","data-ui-guide","","aria-hidden","true"]],"\n ",["button",["type","button","class","handle"],"\n ",["ui-icon",["name","plus"]],"\n ",["span",["class","tooltip","role","tooltip"],0],"\n "],"\n "];
|
|
9
|
+
const T3 = ["",[],"\n ",["button",["type","button","class","selector row","data-action","select-row","title","Drag row to reorder; click for actions","aria-label","Row actions"],"\n ",["span",["class","glyph"],["ui-icon",["name","grip-vertical"]]],"\n "],"\n ",["button",["type","button","class","selector column","data-action","select-column","title","Drag column to reorder; click for actions","aria-label","Column actions"],"\n ",["span",["class","glyph"],["ui-icon",["name","grip-horizontal"]]],"\n "],"\n "];
|
|
10
|
+
const T4 = ["button",["type","button","class","cell-menu","data-action","open-cell-menu","title","Cell actions","aria-label","Cell actions"],"\n ",["ui-icon",["name","chevron-down"]],"\n "];
|
|
11
11
|
let P0, P1, P2, P3, P4;
|
|
12
12
|
const E = new Map();
|
|
13
13
|
const S = { n: ["rows","cols","hovered","active","activeKey"], t: [["l",["o",["key","s","index","i","offset","s","affordance",["p",formatOf(keywordFormat),false],"action",["p",formatOf(keywordFormat),false],"label","s"]]],["l",["o",["key","s","index","i","offset","s","affordance",["p",formatOf(keywordFormat),false],"action",["p",formatOf(keywordFormat),false],"label","s"]]],["u",["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i","rowOffset","s","columnOffset","s"]],"z"],["u",["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i","menuLeft","s","menuTop","s"]],"z"],"s"], f: import.meta.url, g: "ui-editor-table-overlay", d: { "add-row-before": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-row-after": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-column-before": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-column-after": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "select-row": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false)), true, true, false], "select-column": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false)), true, true, false], "reorder-row": [detailCheck(checkObject([["fromIndex", checkInteger, false], ["toIndex", checkInteger, false]], false)), true, true, false], "reorder-column": [detailCheck(checkObject([["fromIndex", checkInteger, false], ["toIndex", checkInteger, false]], false)), true, true, false], "open-cell-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false], "open-row-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false], "open-column-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
@@ -29,8 +29,8 @@ export function createUiEditorTableOverlay(options = {}, html) {
|
|
|
29
29
|
let s4 = v[4];
|
|
30
30
|
const m1 = (o, j, l) => {
|
|
31
31
|
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
32
|
-
const t0 = n.firstChild.nextSibling.nextSibling;
|
|
33
|
-
const t1 = t0.firstChild.nextSibling.firstChild;
|
|
32
|
+
const t0 = n.firstChild.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling;
|
|
33
|
+
const t1 = t0.firstChild.nextSibling.nextSibling.nextSibling.firstChild;
|
|
34
34
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: false, v1: undefined, v2: null, v3: null, v4: null, v5: null, v6: null, v7: "" };
|
|
35
35
|
p1(r, -1, E);
|
|
36
36
|
return r;
|
|
@@ -68,8 +68,8 @@ export function createUiEditorTableOverlay(options = {}, html) {
|
|
|
68
68
|
};
|
|
69
69
|
const m2 = (o, j, l) => {
|
|
70
70
|
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
71
|
-
const t0 = n.firstChild.nextSibling.nextSibling;
|
|
72
|
-
const t1 = t0.firstChild.nextSibling.firstChild;
|
|
71
|
+
const t0 = n.firstChild.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling;
|
|
72
|
+
const t1 = t0.firstChild.nextSibling.nextSibling.nextSibling.firstChild;
|
|
73
73
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: false, v1: undefined, v2: null, v3: null, v4: null, v5: null, v6: null, v7: "" };
|
|
74
74
|
p2(r, -1, E);
|
|
75
75
|
return r;
|
|
@@ -107,8 +107,8 @@ export function createUiEditorTableOverlay(options = {}, html) {
|
|
|
107
107
|
};
|
|
108
108
|
const m3 = (d) => {
|
|
109
109
|
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
110
|
-
const t0 = n.firstChild;
|
|
111
|
-
const t1 = t0.nextSibling;
|
|
110
|
+
const t0 = n.firstChild.nextSibling;
|
|
111
|
+
const t1 = t0.nextSibling.nextSibling;
|
|
112
112
|
const r = { n, a0: t0, a1: t1, v0: undefined, v1: null, v2: null, v3: undefined, v4: null, v5: null };
|
|
113
113
|
p3(r, -1, d);
|
|
114
114
|
return r;
|
|
@@ -195,12 +195,12 @@ export function createUiEditorTableOverlay(options = {}, html) {
|
|
|
195
195
|
} else if (r.b3 !== undefined) p4(r.b3, c, d);
|
|
196
196
|
s4 = v[4];
|
|
197
197
|
};
|
|
198
|
-
const t0 = element.firstChild;
|
|
199
|
-
const t1 = t0.firstChild;
|
|
200
|
-
const t2 = t0.nextSibling;
|
|
201
|
-
const t3 = t2.firstChild;
|
|
202
|
-
const t4 = t2.nextSibling;
|
|
203
|
-
const t5 = t4.nextSibling.nextSibling;
|
|
198
|
+
const t0 = element.firstChild.nextSibling;
|
|
199
|
+
const t1 = t0.firstChild.nextSibling;
|
|
200
|
+
const t2 = t0.nextSibling.nextSibling;
|
|
201
|
+
const t3 = t2.firstChild.nextSibling;
|
|
202
|
+
const t4 = t2.nextSibling.nextSibling;
|
|
203
|
+
const t5 = t4.nextSibling.nextSibling.nextSibling;
|
|
204
204
|
const R = { n: element, v0: undefined, L0: new KeyedList(t1, t1.nextSibling, m1, p1, (o) => readMember(o, "key"), "control"), L1: new KeyedList(t3, t3.nextSibling, m2, p2, (o) => readMember(o, "key"), "control"), a3: t4, e2: t4.nextSibling, b2: undefined, a4: t5, e3: t5.nextSibling, b3: undefined };
|
|
205
205
|
const I = { B };
|
|
206
206
|
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 UiEditorTableToolbarEventMap {
|
|
3
3
|
action: CustomEvent<{ readonly action: "align-left" | "align-center" | "align-right" | "background-none" | "background-gray" | "background-yellow" | "background-blue" | "background-green" | "background-red" | "add-row-before" | "add-row-after" | "add-column-before" | "add-column-after" | "toggle-header-row" | "toggle-header-column" | "move-row-up" | "move-row-down" | "move-column-left" | "move-column-right" | "clear-cells" | "merge-cells" | "split-cell" | "delete-row" | "delete-column" | "delete-table" }>;
|
|
4
4
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
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, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-table-toolbar/ui-editor-table-toolbar.js";
|
|
4
4
|
import "../styles/ui-editor-table-toolbar.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],1,1,1,1,1];
|
|
7
|
-
const T1 = ["div",["class","group","role","group","aria-label","Cell alignment"],2];
|
|
8
|
-
const T2 = ["button",["type","button","class","icon-button"],["ui-icon",[]]];
|
|
6
|
+
const T0 = ["",[],"\n ",1,"\n ",1,"\n ",1,"\n ",1,"\n ",1,"\n "];
|
|
7
|
+
const T1 = ["div",["class","group","role","group","aria-label","Cell alignment"],"\n ",2,"\n "];
|
|
8
|
+
const T2 = ["button",["type","button","class","icon-button"],"\n ",["ui-icon",[]],"\n "];
|
|
9
9
|
const T3 = ["div",["class","sep","aria-hidden","true"]];
|
|
10
|
-
const T4 = ["div",["class","group","role","group","aria-label","Table structure"],2];
|
|
11
|
-
const T5 = ["button",["type","button"],["ui-icon",[]],["span",[],0]];
|
|
10
|
+
const T4 = ["div",["class","group","role","group","aria-label","Table structure"],"\n ",2,"\n "];
|
|
11
|
+
const T5 = ["button",["type","button"],"\n ",["ui-icon",[]],"\n ",["span",[],0],"\n "];
|
|
12
12
|
const T6 = ["div",["class","sep","aria-hidden","true"]];
|
|
13
|
-
const T7 = ["div",["class","overflow"],["button",["type","button","class","more","data-action","toggle-overflow","aria-haspopup","menu"],["ui-icon",["name","table"]],["span",[],"Table options"],["span",["class","chevron"],["ui-icon",["name","chevron-down"]]]],1];
|
|
14
|
-
const T8 = ["div",["class","menu","role","menu","aria-label","More table actions"],1,2];
|
|
15
|
-
const T9 = ["div",["class","menu-section","role","none"],["div",["class","menu-heading","role","presentation"],"Background"],["div",["class","swatches","role","group","aria-label","Cell background"],2]];
|
|
16
|
-
const T10 = ["button",["type","button","class","swatch-button","role","menuitemradio"],["span",["class","swatch"]],["span",[],0]];
|
|
17
|
-
const T11 = ["div",["class","menu-section divided","role","none"],["div",["class","menu-heading","role","presentation"],0],2];
|
|
18
|
-
const T12 = ["button",["type","button"],["ui-icon",[]],["span",[],0]];
|
|
13
|
+
const T7 = ["div",["class","overflow"],"\n ",["button",["type","button","class","more","data-action","toggle-overflow","aria-haspopup","menu"],"\n ",["ui-icon",["name","table"]],"\n ",["span",[],"Table options"],"\n ",["span",["class","chevron"],["ui-icon",["name","chevron-down"]]],"\n "],"\n ",1,"\n "];
|
|
14
|
+
const T8 = ["div",["class","menu","role","menu","aria-label","More table actions"],"\n ",1,"\n ",2,"\n "];
|
|
15
|
+
const T9 = ["div",["class","menu-section","role","none"],"\n ",["div",["class","menu-heading","role","presentation"],"Background"],"\n ",["div",["class","swatches","role","group","aria-label","Cell background"],"\n ",2,"\n "],"\n "];
|
|
16
|
+
const T10 = ["button",["type","button","class","swatch-button","role","menuitemradio"],"\n ",["span",["class","swatch"]],"\n ",["span",[],0],"\n "];
|
|
17
|
+
const T11 = ["div",["class","menu-section divided","role","none"],"\n ",["div",["class","menu-heading","role","presentation"],0],"\n ",2,"\n "];
|
|
18
|
+
const T12 = ["button",["type","button"],"\n ",["ui-icon",[]],"\n ",["span",[],0],"\n "];
|
|
19
19
|
let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12;
|
|
20
20
|
const E = new Map();
|
|
21
21
|
const S = { n: ["alignments","structure","swatches","sections","hasOverflow","overflowOpen"], t: [["l",["o",["action",["p",formatOf(keywordFormat),false],"label","s","active","b"]]],["l",["o",["action",["p",formatOf(keywordFormat),false],"label","s","icon","s"]]],["l",["o",["action","s","label","s","color","s","selected","b"]]],["l",["o",["heading","s","items",["l",["o",["action","s","label","s","icon","s","danger","b","checkable","b","checked","b"]]]]]],"b","b"], f: import.meta.url, g: "ui-editor-table-toolbar", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
@@ -37,7 +37,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
37
37
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
38
38
|
const m1 = (d) => {
|
|
39
39
|
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
40
|
-
const t0 = n.firstChild;
|
|
40
|
+
const t0 = n.firstChild.nextSibling;
|
|
41
41
|
const r = { n, L0: new KeyedList(t0, t0.nextSibling, m2, p2, (o) => readMember(o, "action"), "item") };
|
|
42
42
|
p1(r, -1, d);
|
|
43
43
|
return r;
|
|
@@ -47,7 +47,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
47
47
|
};
|
|
48
48
|
const m2 = (o, j, l) => {
|
|
49
49
|
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
50
|
-
const t0 = n.firstChild;
|
|
50
|
+
const t0 = n.firstChild.nextSibling;
|
|
51
51
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, w: 0, v0: false, v1: null, v2: null, v3: null, v4: null, v5: null };
|
|
52
52
|
p2(r, -1, E);
|
|
53
53
|
return r;
|
|
@@ -83,7 +83,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
83
83
|
};
|
|
84
84
|
const m4 = (d) => {
|
|
85
85
|
const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
|
|
86
|
-
const t0 = n.firstChild;
|
|
86
|
+
const t0 = n.firstChild.nextSibling;
|
|
87
87
|
const r = { n, L0: new KeyedList(t0, t0.nextSibling, m5, p5, (o) => readMember(o, "action"), "item") };
|
|
88
88
|
p4(r, -1, d);
|
|
89
89
|
return r;
|
|
@@ -93,8 +93,8 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
93
93
|
};
|
|
94
94
|
const m5 = (o, j, l) => {
|
|
95
95
|
const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
|
|
96
|
-
const t0 = n.firstChild;
|
|
97
|
-
const t1 = t0.nextSibling.firstChild;
|
|
96
|
+
const t0 = n.firstChild.nextSibling;
|
|
97
|
+
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
98
98
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: null, v1: null, v2: "" };
|
|
99
99
|
p5(r, -1, E);
|
|
100
100
|
return r;
|
|
@@ -124,8 +124,8 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
124
124
|
};
|
|
125
125
|
const m7 = (d) => {
|
|
126
126
|
const n = (P7 ??= buildTemplate(T7)).cloneNode(true);
|
|
127
|
-
const t0 = n.firstChild;
|
|
128
|
-
const t1 = t0.nextSibling;
|
|
127
|
+
const t0 = n.firstChild.nextSibling;
|
|
128
|
+
const t1 = t0.nextSibling.nextSibling;
|
|
129
129
|
const r = { n, a0: t0, v0: null, a1: t1, e0: t1.nextSibling, b0: undefined };
|
|
130
130
|
p7(r, -1, d);
|
|
131
131
|
return r;
|
|
@@ -143,8 +143,8 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
143
143
|
};
|
|
144
144
|
const m8 = (d) => {
|
|
145
145
|
const n = (P8 ??= buildTemplate(T8)).cloneNode(true);
|
|
146
|
-
const t0 = n.firstChild;
|
|
147
|
-
const t1 = t0.nextSibling.nextSibling;
|
|
146
|
+
const t0 = n.firstChild.nextSibling;
|
|
147
|
+
const t1 = t0.nextSibling.nextSibling.nextSibling;
|
|
148
148
|
const r = { n, a0: t0, e0: t0.nextSibling, b0: undefined, L1: new KeyedList(t1, t1.nextSibling, m11, p11, (o) => readMember(o, "heading"), "section") };
|
|
149
149
|
p8(r, -1, d);
|
|
150
150
|
return r;
|
|
@@ -158,7 +158,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
158
158
|
};
|
|
159
159
|
const m9 = (d) => {
|
|
160
160
|
const n = (P9 ??= buildTemplate(T9)).cloneNode(true);
|
|
161
|
-
const t0 = n.firstChild.nextSibling.firstChild;
|
|
161
|
+
const t0 = n.firstChild.nextSibling.nextSibling.nextSibling.firstChild.nextSibling;
|
|
162
162
|
const r = { n, L0: new KeyedList(t0, t0.nextSibling, m10, p10, (o) => readMember(o, "action"), "swatch") };
|
|
163
163
|
p9(r, -1, d);
|
|
164
164
|
return r;
|
|
@@ -168,8 +168,8 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
168
168
|
};
|
|
169
169
|
const m10 = (o, j, l) => {
|
|
170
170
|
const n = (P10 ??= buildTemplate(T10)).cloneNode(true);
|
|
171
|
-
const t0 = n.firstChild;
|
|
172
|
-
const t1 = t0.nextSibling.firstChild;
|
|
171
|
+
const t0 = n.firstChild.nextSibling;
|
|
172
|
+
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
173
173
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: false, v1: null, v2: null, v3: false, v4: undefined, v5: "" };
|
|
174
174
|
p10(r, -1, E);
|
|
175
175
|
return r;
|
|
@@ -199,9 +199,9 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
199
199
|
};
|
|
200
200
|
const m11 = (o, j, l) => {
|
|
201
201
|
const n = (P11 ??= buildTemplate(T11)).cloneNode(true);
|
|
202
|
-
const t0 = n.firstChild;
|
|
202
|
+
const t0 = n.firstChild.nextSibling;
|
|
203
203
|
const t1 = t0.firstChild;
|
|
204
|
-
const t2 = t0.nextSibling;
|
|
204
|
+
const t2 = t0.nextSibling.nextSibling;
|
|
205
205
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a0: t1, w: 0, v0: "", L0: new KeyedList(t2, t2.nextSibling, m12, p12, (o) => readMember(o, "action"), "item") };
|
|
206
206
|
p11(r, -1, E);
|
|
207
207
|
return r;
|
|
@@ -218,8 +218,8 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
218
218
|
};
|
|
219
219
|
const m12 = (o, j, l) => {
|
|
220
220
|
const n = (P12 ??= buildTemplate(T12)).cloneNode(true);
|
|
221
|
-
const t0 = n.firstChild;
|
|
222
|
-
const t1 = t0.nextSibling.firstChild;
|
|
221
|
+
const t0 = n.firstChild.nextSibling;
|
|
222
|
+
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
223
223
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: null, v1: null, v2: false, v3: null, v4: null, v5: "" };
|
|
224
224
|
p12(r, -1, E);
|
|
225
225
|
return r;
|
|
@@ -279,11 +279,11 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
279
279
|
else { r.b4 = m7(d); r.e4.before(r.b4.n); }
|
|
280
280
|
} else if (r.b4 !== undefined) p7(r.b4, c, d);
|
|
281
281
|
};
|
|
282
|
-
const t0 = element.firstChild;
|
|
283
|
-
const t1 = t0.nextSibling.nextSibling;
|
|
284
|
-
const t2 = t1.nextSibling.nextSibling;
|
|
285
|
-
const t3 = t2.nextSibling.nextSibling;
|
|
286
|
-
const t4 = t3.nextSibling.nextSibling;
|
|
282
|
+
const t0 = element.firstChild.nextSibling;
|
|
283
|
+
const t1 = t0.nextSibling.nextSibling.nextSibling;
|
|
284
|
+
const t2 = t1.nextSibling.nextSibling.nextSibling;
|
|
285
|
+
const t3 = t2.nextSibling.nextSibling.nextSibling;
|
|
286
|
+
const t4 = t3.nextSibling.nextSibling.nextSibling;
|
|
287
287
|
const R = { n: element, v0: undefined, a1: t0, e0: t0.nextSibling, b0: undefined, a2: t1, e1: t1.nextSibling, b1: undefined, a3: t2, e2: t2.nextSibling, b2: undefined, a4: t3, e3: t3.nextSibling, b3: undefined, a5: t4, e4: t4.nextSibling, b4: undefined };
|
|
288
288
|
const I = { B };
|
|
289
289
|
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
|
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-toolbar/ui-editor-toolbar.js";
|
|
4
4
|
import "../styles/ui-editor-toolbar.css";
|
|
@@ -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 UiFloatingActionButtonEventMap {
|
|
3
3
|
}
|
|
4
4
|
export interface UiFloatingActionButtonElement extends HTMLButtonElement {
|
|
@@ -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
|
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-floating-action-button.css";
|
|
4
4
|
|
package/vanilla/UiFormField.d.ts
CHANGED
package/vanilla/UiFormField.js
CHANGED
|
@@ -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, writeAttribute, dispose, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-form-field/ui-form-field.js";
|
|
4
4
|
import "../styles/ui-form-field.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],["div",["class","label"],4,["span",["class","label-action"],4]],4,["div",["class","help"],4],["div",["class","error"],4]];
|
|
6
|
+
const T0 = ["",[],"\n ",["div",["class","label"],"\n ",4,"\n ",["span",["class","label-action"],4],"\n "],"\n ",4,"\n ",["div",["class","help"],4],"\n ",["div",["class","error"],4],"\n "];
|
|
7
7
|
const T1 = ["",[]];
|
|
8
8
|
const T2 = ["",[]];
|
|
9
9
|
const T3 = ["",[]];
|
|
@@ -87,13 +87,13 @@ export function createUiFormField(options = {}, html) {
|
|
|
87
87
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m3(d); at.before(r.b2.n); } }
|
|
88
88
|
else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
89
89
|
};
|
|
90
|
-
const t0 = element.firstChild;
|
|
91
|
-
const t1 = t0.firstChild;
|
|
92
|
-
const t2 = t1.nextSibling.nextSibling.firstChild;
|
|
93
|
-
const t3 = t0.nextSibling;
|
|
94
|
-
const t4 = t3.nextSibling.nextSibling;
|
|
90
|
+
const t0 = element.firstChild.nextSibling;
|
|
91
|
+
const t1 = t0.firstChild.nextSibling;
|
|
92
|
+
const t2 = t1.nextSibling.nextSibling.nextSibling.firstChild;
|
|
93
|
+
const t3 = t0.nextSibling.nextSibling;
|
|
94
|
+
const t4 = t3.nextSibling.nextSibling.nextSibling;
|
|
95
95
|
const t5 = t4.firstChild;
|
|
96
|
-
const t6 = t4.nextSibling.firstChild;
|
|
96
|
+
const t6 = t4.nextSibling.nextSibling.firstChild;
|
|
97
97
|
const R = { n: element, v0: undefined, a0: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a1: t2, e1: t2.nextSibling, b1: undefined, f1: undefined, a2: t3, e2: t3.nextSibling, b2: undefined, f2: undefined, a3: t5, e3: t5.nextSibling, b3: undefined, f3: undefined, a4: t6, e4: t6.nextSibling, b4: undefined, f4: undefined };
|
|
98
98
|
const I = { B };
|
|
99
99
|
const J = project(I, children, slots);
|
package/vanilla/UiGrid.d.ts
CHANGED
package/vanilla/UiGrid.js
CHANGED
|
@@ -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
|
import { attachGeneratedController, buildTemplate, toText, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkFormat, checkInteger } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-grid.css";
|
|
4
4
|
|
package/vanilla/UiIcon.d.ts
CHANGED