@threadlabs/looma 0.47.6 → 0.49.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/README.md +40 -17
- package/components/shared/input-modality.d.ts +2 -0
- package/components/shared/input-modality.js +2 -0
- package/components/shared/overlay.js +9 -0
- package/components/ui-compact-content/ui-compact-content.html +8 -0
- package/components/ui-compact-content/ui-compact-content.js +1 -0
- package/components/ui-compact-editor/ui-compact-editor.css +39 -0
- package/components/ui-compact-editor/ui-compact-editor.html +22 -0
- package/components/ui-compact-editor/ui-compact-editor.js +30 -0
- package/components/ui-compact-mark/ui-compact-mark.html +26 -0
- package/components/ui-compact-node/ui-compact-node.html +14 -0
- package/components/ui-dialog/ui-dialog.html +4 -1
- package/components/ui-editor/ui-editor.css +531 -0
- package/components/ui-editor/ui-editor.html +414 -0
- package/components/ui-editor/ui-editor.js +87 -0
- package/components/ui-editor-chip-editor/ui-editor-chip-editor.html +2 -1
- package/components/ui-editor-chip-editor/ui-editor-chip-editor.js +6 -0
- package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.html +59 -0
- package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.js +44 -0
- package/components/ui-editor-link-form/ui-editor-link-form.html +1 -0
- package/components/ui-editor-link-form/ui-editor-link-form.js +7 -0
- package/components/ui-editor-surface/ui-editor-surface.css +109 -0
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +7 -4
- package/components/ui-menu/ui-menu.html +4 -1
- package/components/ui-meter/ui-meter.html +7 -7
- package/components/ui-popover/ui-popover.html +4 -1
- package/components/ui-radio-group/ui-radio-group.html +3 -1
- package/components/ui-radio-group/ui-radio-group.js +5 -0
- package/dist/index.js +57 -53
- package/docs/README.md +5 -7
- package/docs/catalog.json +1080 -180
- package/docs/catalog.mjs +2 -2
- package/docs/framework-examples.d.mts +7 -0
- package/docs/framework-examples.mjs +89 -0
- package/docs/index.d.ts +1 -1
- package/docs/render.mjs +3 -40
- package/editor/chunks/content.js +29 -0
- package/{vue/chunks/compact.js → editor/chunks/dist.js} +103 -230
- package/editor/chunks/expressmark.js +1 -24
- package/editor/chunks/extensions.js +63 -455
- package/editor/chunks/session.js +61 -0
- package/editor/chunks/{ui.js → table-overlay.js} +51 -1
- package/editor/compact.d.ts +22 -0
- package/editor/compact.js +63 -0
- package/editor/components.css +3699 -0
- package/editor/document-session.d.ts +274 -0
- package/editor/extensions/index.js +2 -2
- package/editor/index.d.ts +4 -0
- package/editor/index.js +15578 -4
- package/editor/session.d.ts +1 -1
- package/editor/toolbar-tooltip.d.ts +5 -1
- package/editor/ui.js +1 -2
- package/package.json +31 -46
- 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-group.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-color-picker.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-compact-content.css +1 -0
- package/styles/ui-compact-editor.css +1 -0
- package/styles/ui-compact-mark.css +1 -0
- package/styles/ui-compact-node.css +1 -0
- 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-curve-editor.css +1 -1
- package/styles/ui-cycle-button.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +9 -3
- 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-footnote-editor.css +1 -1
- package/styles/ui-editor-formatting-tools.css +1 -0
- 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-editor.css +1 -0
- 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-light-editor.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 +5 -2
- package/styles/ui-meter.css +8 -8
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-number-input.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-pagination.css +1 -1
- package/styles/ui-popover.css +5 -2
- 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-site-header.css +1 -1
- package/styles/ui-skeleton.css +1 -1
- package/styles/ui-slider.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 +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +1 -1
- package/vanilla/UiCompactContent.d.ts +23 -0
- package/vanilla/UiCompactContent.js +51 -0
- package/vanilla/UiCompactEditor.d.ts +29 -0
- package/vanilla/UiCompactEditor.js +59 -0
- package/vanilla/UiCompactMark.d.ts +25 -0
- package/vanilla/UiCompactMark.js +206 -0
- package/vanilla/UiCompactNode.d.ts +23 -0
- package/vanilla/UiCompactNode.js +156 -0
- 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/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +1 -1
- package/vanilla/UiCycleButton.d.ts +1 -1
- package/vanilla/UiCycleButton.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditor.d.ts +57 -0
- package/vanilla/UiEditor.js +1067 -0
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +1 -1
- package/vanilla/UiEditorChipEditor.d.ts +2 -1
- package/vanilla/UiEditorChipEditor.js +10 -10
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +1 -1
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +1 -1
- package/vanilla/UiEditorFormattingTools.d.ts +27 -0
- package/vanilla/UiEditorFormattingTools.js +188 -0
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +1 -1
- package/vanilla/UiEditorLinkForm.d.ts +2 -1
- package/vanilla/UiEditorLinkForm.js +41 -41
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +10 -5
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +1 -1
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.js +1 -1
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +1 -1
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +2 -1
- package/vanilla/UiRadioGroup.js +33 -28
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +1 -1
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +1 -1
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- 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 +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +1 -1
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vanilla/index.js +6 -0
- package/editor/chunks/table-backgrounds.js +0 -51
- package/vue/UiActionBar.d.ts +0 -19
- package/vue/UiActionBar.js +0 -2
- package/vue/UiActionBar.vue +0 -90
- package/vue/UiAffordanceScope.d.ts +0 -35
- package/vue/UiAffordanceScope.js +0 -2
- package/vue/UiAffordanceScope.vue +0 -182
- package/vue/UiAvatar.d.ts +0 -71
- package/vue/UiAvatar.js +0 -2
- package/vue/UiAvatar.vue +0 -394
- package/vue/UiAvatarGroup.d.ts +0 -53
- package/vue/UiAvatarGroup.js +0 -2
- package/vue/UiAvatarGroup.vue +0 -305
- package/vue/UiBadge.d.ts +0 -49
- package/vue/UiBadge.js +0 -2
- package/vue/UiBadge.vue +0 -810
- package/vue/UiBreadcrumbItem.d.ts +0 -29
- package/vue/UiBreadcrumbItem.js +0 -2
- package/vue/UiBreadcrumbItem.vue +0 -192
- package/vue/UiBreadcrumbs.d.ts +0 -29
- package/vue/UiBreadcrumbs.js +0 -2
- package/vue/UiBreadcrumbs.vue +0 -117
- package/vue/UiButton.d.ts +0 -131
- package/vue/UiButton.js +0 -2
- package/vue/UiButton.vue +0 -1609
- package/vue/UiCallout.d.ts +0 -35
- package/vue/UiCallout.js +0 -2
- package/vue/UiCallout.vue +0 -418
- package/vue/UiCard.d.ts +0 -81
- package/vue/UiCard.js +0 -2
- package/vue/UiCard.vue +0 -530
- package/vue/UiCardGroup.d.ts +0 -41
- package/vue/UiCardGroup.js +0 -2
- package/vue/UiCardGroup.vue +0 -168
- package/vue/UiCheckbox.d.ts +0 -95
- package/vue/UiCheckbox.js +0 -2
- package/vue/UiCheckbox.vue +0 -601
- package/vue/UiCluster.d.ts +0 -65
- package/vue/UiCluster.js +0 -2
- package/vue/UiCluster.vue +0 -304
- package/vue/UiColorPicker.d.ts +0 -71
- package/vue/UiColorPicker.js +0 -2
- package/vue/UiColorPicker.vue +0 -563
- package/vue/UiCombobox.d.ts +0 -538
- package/vue/UiCombobox.js +0 -2
- package/vue/UiCombobox.vue +0 -2894
- package/vue/UiContainer.d.ts +0 -41
- package/vue/UiContainer.js +0 -2
- package/vue/UiContainer.vue +0 -177
- package/vue/UiContextMenu.d.ts +0 -69
- package/vue/UiContextMenu.js +0 -2
- package/vue/UiContextMenu.vue +0 -289
- package/vue/UiCover.d.ts +0 -29
- package/vue/UiCover.js +0 -2
- package/vue/UiCover.vue +0 -127
- package/vue/UiCurveEditor.d.ts +0 -59
- package/vue/UiCurveEditor.js +0 -2
- package/vue/UiCurveEditor.vue +0 -429
- package/vue/UiCycleButton.d.ts +0 -69
- package/vue/UiCycleButton.js +0 -2
- package/vue/UiCycleButton.vue +0 -403
- package/vue/UiDescriptionItem.d.ts +0 -29
- package/vue/UiDescriptionItem.js +0 -2
- package/vue/UiDescriptionItem.vue +0 -124
- package/vue/UiDescriptionList.d.ts +0 -41
- package/vue/UiDescriptionList.js +0 -2
- package/vue/UiDescriptionList.vue +0 -217
- package/vue/UiDialog.d.ts +0 -97
- package/vue/UiDialog.js +0 -2
- package/vue/UiDialog.vue +0 -817
- package/vue/UiDisclosure.d.ts +0 -107
- package/vue/UiDisclosure.js +0 -2
- package/vue/UiDisclosure.vue +0 -605
- package/vue/UiEditable.d.ts +0 -113
- package/vue/UiEditable.js +0 -2
- package/vue/UiEditable.vue +0 -582
- package/vue/UiEditorBlockActions.d.ts +0 -33
- package/vue/UiEditorBlockActions.js +0 -2
- package/vue/UiEditorBlockActions.vue +0 -163
- package/vue/UiEditorChipEditor.d.ts +0 -45
- package/vue/UiEditorChipEditor.js +0 -2
- package/vue/UiEditorChipEditor.vue +0 -208
- package/vue/UiEditorCodeLanguage.d.ts +0 -41
- package/vue/UiEditorCodeLanguage.js +0 -2
- package/vue/UiEditorCodeLanguage.vue +0 -200
- package/vue/UiEditorFootnoteEditor.d.ts +0 -39
- package/vue/UiEditorFootnoteEditor.js +0 -2
- package/vue/UiEditorFootnoteEditor.vue +0 -152
- package/vue/UiEditorImageToolbar.d.ts +0 -51
- package/vue/UiEditorImageToolbar.js +0 -2
- package/vue/UiEditorImageToolbar.vue +0 -446
- package/vue/UiEditorInsertTableGrid.d.ts +0 -49
- package/vue/UiEditorInsertTableGrid.js +0 -2
- package/vue/UiEditorInsertTableGrid.vue +0 -367
- package/vue/UiEditorLinkCard.d.ts +0 -49
- package/vue/UiEditorLinkCard.js +0 -2
- package/vue/UiEditorLinkCard.vue +0 -385
- package/vue/UiEditorLinkForm.d.ts +0 -131
- package/vue/UiEditorLinkForm.js +0 -2
- package/vue/UiEditorLinkForm.vue +0 -664
- package/vue/UiEditorMentionMenu.d.ts +0 -121
- package/vue/UiEditorMentionMenu.js +0 -2
- package/vue/UiEditorMentionMenu.vue +0 -596
- package/vue/UiEditorMentionMenuItem.d.ts +0 -43
- package/vue/UiEditorMentionMenuItem.js +0 -2
- package/vue/UiEditorMentionMenuItem.vue +0 -205
- package/vue/UiEditorSlashMenu.d.ts +0 -111
- package/vue/UiEditorSlashMenu.js +0 -2
- package/vue/UiEditorSlashMenu.vue +0 -549
- package/vue/UiEditorSlashMenuGroup.d.ts +0 -29
- package/vue/UiEditorSlashMenuGroup.js +0 -2
- package/vue/UiEditorSlashMenuGroup.vue +0 -113
- package/vue/UiEditorSlashMenuItem.d.ts +0 -53
- package/vue/UiEditorSlashMenuItem.js +0 -2
- package/vue/UiEditorSlashMenuItem.vue +0 -249
- package/vue/UiEditorSurface.d.ts +0 -29
- package/vue/UiEditorSurface.js +0 -2
- package/vue/UiEditorSurface.vue +0 -117
- package/vue/UiEditorTableContextMenu.d.ts +0 -57
- package/vue/UiEditorTableContextMenu.js +0 -2
- package/vue/UiEditorTableContextMenu.vue +0 -694
- package/vue/UiEditorTableOverlay.d.ts +0 -191
- package/vue/UiEditorTableOverlay.js +0 -2
- package/vue/UiEditorTableOverlay.vue +0 -1099
- package/vue/UiEditorTableToolbar.d.ts +0 -57
- package/vue/UiEditorTableToolbar.js +0 -2
- package/vue/UiEditorTableToolbar.vue +0 -834
- package/vue/UiEditorToolbar.d.ts +0 -29
- package/vue/UiEditorToolbar.js +0 -2
- package/vue/UiEditorToolbar.vue +0 -296
- package/vue/UiFloatingActionButton.d.ts +0 -41
- package/vue/UiFloatingActionButton.js +0 -2
- package/vue/UiFloatingActionButton.vue +0 -201
- package/vue/UiFormField.d.ts +0 -49
- package/vue/UiFormField.js +0 -2
- package/vue/UiFormField.vue +0 -256
- package/vue/UiGrid.d.ts +0 -41
- package/vue/UiGrid.js +0 -2
- package/vue/UiGrid.vue +0 -190
- package/vue/UiIcon.d.ts +0 -25
- package/vue/UiIcon.js +0 -2
- package/vue/UiIcon.vue +0 -612
- package/vue/UiIconButton.d.ts +0 -101
- package/vue/UiIconButton.js +0 -2
- package/vue/UiIconButton.vue +0 -1141
- package/vue/UiImage.d.ts +0 -85
- package/vue/UiImage.js +0 -2
- package/vue/UiImage.vue +0 -462
- package/vue/UiInput.d.ts +0 -50
- package/vue/UiInput.js +0 -2
- package/vue/UiInput.vue +0 -671
- package/vue/UiInputGroup.d.ts +0 -59
- package/vue/UiInputGroup.js +0 -2
- package/vue/UiInputGroup.vue +0 -447
- package/vue/UiLightEditor.d.ts +0 -83
- package/vue/UiLightEditor.js +0 -2
- package/vue/UiLightEditor.vue +0 -537
- package/vue/UiList.d.ts +0 -49
- package/vue/UiList.js +0 -2
- package/vue/UiList.vue +0 -260
- package/vue/UiListItem.d.ts +0 -65
- package/vue/UiListItem.js +0 -2
- package/vue/UiListItem.vue +0 -407
- package/vue/UiListbox.d.ts +0 -87
- package/vue/UiListbox.js +0 -2
- package/vue/UiListbox.vue +0 -554
- package/vue/UiMenu.d.ts +0 -99
- package/vue/UiMenu.js +0 -2
- package/vue/UiMenu.vue +0 -541
- package/vue/UiMenuGroup.d.ts +0 -29
- package/vue/UiMenuGroup.js +0 -2
- package/vue/UiMenuGroup.vue +0 -105
- package/vue/UiMenuItem.d.ts +0 -89
- package/vue/UiMenuItem.js +0 -2
- package/vue/UiMenuItem.vue +0 -532
- package/vue/UiMeter.d.ts +0 -73
- package/vue/UiMeter.js +0 -2
- package/vue/UiMeter.vue +0 -1112
- package/vue/UiNavItem.d.ts +0 -79
- package/vue/UiNavItem.js +0 -2
- package/vue/UiNavItem.vue +0 -493
- package/vue/UiNumberInput.d.ts +0 -89
- package/vue/UiNumberInput.js +0 -2
- package/vue/UiNumberInput.vue +0 -445
- package/vue/UiPageHeader.d.ts +0 -37
- package/vue/UiPageHeader.js +0 -2
- package/vue/UiPageHeader.vue +0 -192
- package/vue/UiPagination.d.ts +0 -115
- package/vue/UiPagination.js +0 -2
- package/vue/UiPagination.vue +0 -596
- package/vue/UiPopover.d.ts +0 -77
- package/vue/UiPopover.js +0 -2
- package/vue/UiPopover.vue +0 -495
- package/vue/UiRadio.d.ts +0 -77
- package/vue/UiRadio.js +0 -2
- package/vue/UiRadio.vue +0 -475
- package/vue/UiRadioGroup.d.ts +0 -95
- package/vue/UiRadioGroup.js +0 -2
- package/vue/UiRadioGroup.vue +0 -393
- package/vue/UiReel.d.ts +0 -41
- package/vue/UiReel.js +0 -2
- package/vue/UiReel.vue +0 -223
- package/vue/UiScrollArea.d.ts +0 -53
- package/vue/UiScrollArea.js +0 -2
- package/vue/UiScrollArea.vue +0 -307
- package/vue/UiSearchResultRow.d.ts +0 -49
- package/vue/UiSearchResultRow.js +0 -2
- package/vue/UiSearchResultRow.vue +0 -268
- package/vue/UiSearchShell.d.ts +0 -67
- package/vue/UiSearchShell.js +0 -2
- package/vue/UiSearchShell.vue +0 -391
- package/vue/UiSection.d.ts +0 -51
- package/vue/UiSection.js +0 -2
- package/vue/UiSection.vue +0 -331
- package/vue/UiSelect.d.ts +0 -69
- package/vue/UiSelect.js +0 -2
- package/vue/UiSelect.vue +0 -391
- package/vue/UiSeparator.d.ts +0 -37
- package/vue/UiSeparator.js +0 -2
- package/vue/UiSeparator.vue +0 -199
- package/vue/UiSidebar.d.ts +0 -99
- package/vue/UiSidebar.js +0 -2
- package/vue/UiSidebar.vue +0 -579
- package/vue/UiSiteHeader.d.ts +0 -59
- package/vue/UiSiteHeader.js +0 -2
- package/vue/UiSiteHeader.vue +0 -904
- package/vue/UiSkeleton.d.ts +0 -37
- package/vue/UiSkeleton.js +0 -2
- package/vue/UiSkeleton.vue +0 -287
- package/vue/UiSlider.d.ts +0 -89
- package/vue/UiSlider.js +0 -2
- package/vue/UiSlider.vue +0 -448
- package/vue/UiSpinner.d.ts +0 -25
- package/vue/UiSpinner.js +0 -2
- package/vue/UiSpinner.vue +0 -330
- package/vue/UiStack.d.ts +0 -53
- package/vue/UiStack.js +0 -2
- package/vue/UiStack.vue +0 -247
- package/vue/UiStatusMessage.d.ts +0 -43
- package/vue/UiStatusMessage.js +0 -2
- package/vue/UiStatusMessage.vue +0 -239
- package/vue/UiSwatch.d.ts +0 -19
- package/vue/UiSwatch.js +0 -2
- package/vue/UiSwatch.vue +0 -188
- package/vue/UiSwitch.d.ts +0 -77
- package/vue/UiSwitch.js +0 -2
- package/vue/UiSwitch.vue +0 -478
- package/vue/UiSwitcher.d.ts +0 -47
- package/vue/UiSwitcher.js +0 -2
- package/vue/UiSwitcher.vue +0 -258
- package/vue/UiTable.d.ts +0 -35
- package/vue/UiTable.js +0 -2
- package/vue/UiTable.vue +0 -280
- package/vue/UiTabs.d.ts +0 -81
- package/vue/UiTabs.js +0 -2
- package/vue/UiTabs.vue +0 -493
- package/vue/UiText.d.ts +0 -111
- package/vue/UiText.js +0 -2
- package/vue/UiText.vue +0 -836
- package/vue/UiTextarea.d.ts +0 -77
- package/vue/UiTextarea.js +0 -2
- package/vue/UiTextarea.vue +0 -477
- package/vue/UiToast.d.ts +0 -49
- package/vue/UiToast.js +0 -2
- package/vue/UiToast.vue +0 -337
- package/vue/UiToastRegion.d.ts +0 -61
- package/vue/UiToastRegion.js +0 -2
- package/vue/UiToastRegion.vue +0 -631
- package/vue/UiTooltip.d.ts +0 -93
- package/vue/UiTooltip.js +0 -2
- package/vue/UiTooltip.vue +0 -627
- package/vue/UiTopBar.d.ts +0 -35
- package/vue/UiTopBar.js +0 -2
- package/vue/UiTopBar.vue +0 -240
- package/vue/UiTree.d.ts +0 -123
- package/vue/UiTree.js +0 -2
- package/vue/UiTree.vue +0 -419
- package/vue/UiTreeItem.d.ts +0 -133
- package/vue/UiTreeItem.js +0 -2
- package/vue/UiTreeItem.vue +0 -1962
- package/vue/chunks/UiActionBar.js +0 -42
- package/vue/chunks/UiAffordanceScope.js +0 -136
- package/vue/chunks/UiAvatar.js +0 -341
- package/vue/chunks/UiAvatarGroup.js +0 -234
- package/vue/chunks/UiBadge.js +0 -188
- package/vue/chunks/UiBreadcrumbItem.js +0 -104
- package/vue/chunks/UiBreadcrumbs.js +0 -67
- package/vue/chunks/UiButton.js +0 -881
- package/vue/chunks/UiCallout.js +0 -302
- package/vue/chunks/UiCard.js +0 -369
- package/vue/chunks/UiCardGroup.js +0 -153
- package/vue/chunks/UiCheckbox.js +0 -361
- package/vue/chunks/UiCluster.js +0 -236
- package/vue/chunks/UiColorPicker.js +0 -375
- package/vue/chunks/UiCombobox.js +0 -2186
- package/vue/chunks/UiContainer.js +0 -122
- package/vue/chunks/UiContextMenu.js +0 -157
- package/vue/chunks/UiCover.js +0 -66
- package/vue/chunks/UiCurveEditor.js +0 -415
- package/vue/chunks/UiCycleButton.js +0 -352
- package/vue/chunks/UiDescriptionItem.js +0 -64
- package/vue/chunks/UiDescriptionList.js +0 -133
- package/vue/chunks/UiDialog.js +0 -367
- package/vue/chunks/UiDisclosure.js +0 -403
- package/vue/chunks/UiEditable.js +0 -436
- package/vue/chunks/UiEditorBlockActions.js +0 -157
- package/vue/chunks/UiEditorChipEditor.js +0 -191
- package/vue/chunks/UiEditorCodeLanguage.js +0 -181
- package/vue/chunks/UiEditorFootnoteEditor.js +0 -114
- package/vue/chunks/UiEditorImageToolbar.js +0 -531
- package/vue/chunks/UiEditorInsertTableGrid.js +0 -325
- package/vue/chunks/UiEditorLinkCard.js +0 -391
- package/vue/chunks/UiEditorLinkForm.js +0 -711
- package/vue/chunks/UiEditorMentionMenu.js +0 -618
- package/vue/chunks/UiEditorMentionMenuItem.js +0 -140
- package/vue/chunks/UiEditorSlashMenu.js +0 -555
- package/vue/chunks/UiEditorSlashMenuGroup.js +0 -78
- package/vue/chunks/UiEditorSlashMenuItem.js +0 -197
- package/vue/chunks/UiEditorSurface.js +0 -66
- package/vue/chunks/UiEditorTableContextMenu.js +0 -500
- package/vue/chunks/UiEditorTableOverlay.js +0 -987
- package/vue/chunks/UiEditorTableToolbar.js +0 -707
- package/vue/chunks/UiEditorToolbar.js +0 -103
- package/vue/chunks/UiFloatingActionButton.js +0 -123
- package/vue/chunks/UiFormField.js +0 -172
- package/vue/chunks/UiGrid.js +0 -127
- package/vue/chunks/UiIcon.js +0 -1361
- package/vue/chunks/UiIconButton.js +0 -469
- package/vue/chunks/UiImage.js +0 -312
- package/vue/chunks/UiInput.js +0 -709
- package/vue/chunks/UiInputGroup.js +0 -225
- package/vue/chunks/UiLightEditor.js +0 -365
- package/vue/chunks/UiList.js +0 -178
- package/vue/chunks/UiListItem.js +0 -219
- package/vue/chunks/UiListbox.js +0 -489
- package/vue/chunks/UiMenu.js +0 -286
- package/vue/chunks/UiMenuGroup.js +0 -75
- package/vue/chunks/UiMenuItem.js +0 -374
- package/vue/chunks/UiMeter.js +0 -540
- package/vue/chunks/UiNavItem.js +0 -380
- package/vue/chunks/UiNumberInput.js +0 -432
- package/vue/chunks/UiPageHeader.js +0 -100
- package/vue/chunks/UiPagination.js +0 -537
- package/vue/chunks/UiPopover.js +0 -243
- package/vue/chunks/UiRadio.js +0 -291
- package/vue/chunks/UiRadioGroup.js +0 -300
- package/vue/chunks/UiReel.js +0 -133
- package/vue/chunks/UiScrollArea.js +0 -219
- package/vue/chunks/UiSearchResultRow.js +0 -164
- package/vue/chunks/UiSearchShell.js +0 -215
- package/vue/chunks/UiSection.js +0 -228
- package/vue/chunks/UiSelect.js +0 -251
- package/vue/chunks/UiSeparator.js +0 -144
- package/vue/chunks/UiSidebar.js +0 -358
- package/vue/chunks/UiSiteHeader.js +0 -335
- package/vue/chunks/UiSkeleton.js +0 -183
- package/vue/chunks/UiSlider.js +0 -427
- package/vue/chunks/UiSpinner.js +0 -181
- package/vue/chunks/UiStack.js +0 -177
- package/vue/chunks/UiStatusMessage.js +0 -176
- package/vue/chunks/UiSwatch.js +0 -93
- package/vue/chunks/UiSwitch.js +0 -292
- package/vue/chunks/UiSwitcher.js +0 -194
- package/vue/chunks/UiTable.js +0 -128
- package/vue/chunks/UiTabs.js +0 -334
- package/vue/chunks/UiText.js +0 -747
- package/vue/chunks/UiTextarea.js +0 -313
- package/vue/chunks/UiToast.js +0 -174
- package/vue/chunks/UiToastRegion.js +0 -275
- package/vue/chunks/UiTooltip.js +0 -297
- package/vue/chunks/UiTopBar.js +0 -129
- package/vue/chunks/UiTree.js +0 -282
- package/vue/chunks/UiTreeItem.js +0 -699
- package/vue/chunks/_plugin-vue_export-helper.js +0 -1265
- package/vue/chunks/control.js +0 -214
- package/vue/chunks/props.js +0 -1228
- package/vue/components.css +0 -17545
- package/vue/editor/LoomaEditor.d.ts +0 -433
- package/vue/editor/compact/index.d.ts +0 -84
- package/vue/editor/compact/index.js +0 -2
- package/vue/editor/index.d.ts +0 -5
- package/vue/editor/index.js +0 -17281
- package/vue/editor/primitives.d.ts +0 -120
- package/vue/host.ts +0 -2272
- package/vue/index.d.ts +0 -94
- package/vue/index.js +0 -95
- package/vue/props.d.ts +0 -272
- /package/{vue → editor}/chunks/1c.js +0 -0
- /package/{vue → editor}/chunks/abnf.js +0 -0
- /package/{vue → editor}/chunks/accesslog.js +0 -0
- /package/{vue → editor}/chunks/actionscript.js +0 -0
- /package/{vue → editor}/chunks/ada.js +0 -0
- /package/{vue → editor}/chunks/angelscript.js +0 -0
- /package/{vue → editor}/chunks/apache.js +0 -0
- /package/{vue → editor}/chunks/applescript.js +0 -0
- /package/{vue → editor}/chunks/arcade.js +0 -0
- /package/{vue → editor}/chunks/arduino.js +0 -0
- /package/{vue → editor}/chunks/armasm.js +0 -0
- /package/{vue → editor}/chunks/asciidoc.js +0 -0
- /package/{vue → editor}/chunks/aspectj.js +0 -0
- /package/{vue → editor}/chunks/autohotkey.js +0 -0
- /package/{vue → editor}/chunks/autoit.js +0 -0
- /package/{vue → editor}/chunks/avrasm.js +0 -0
- /package/{vue → editor}/chunks/awk.js +0 -0
- /package/{vue → editor}/chunks/axapta.js +0 -0
- /package/{vue → editor}/chunks/bash.js +0 -0
- /package/{vue → editor}/chunks/basic.js +0 -0
- /package/{vue → editor}/chunks/bnf.js +0 -0
- /package/{vue → editor}/chunks/brainfuck.js +0 -0
- /package/{vue → editor}/chunks/c.js +0 -0
- /package/{vue → editor}/chunks/cal.js +0 -0
- /package/{vue → editor}/chunks/capnproto.js +0 -0
- /package/{vue → editor}/chunks/ceylon.js +0 -0
- /package/{vue → editor}/chunks/clean.js +0 -0
- /package/{vue → editor}/chunks/clojure-repl.js +0 -0
- /package/{vue → editor}/chunks/clojure.js +0 -0
- /package/{vue → editor}/chunks/cmake.js +0 -0
- /package/{vue → editor}/chunks/coffeescript.js +0 -0
- /package/{vue → editor}/chunks/coq.js +0 -0
- /package/{vue → editor}/chunks/cos.js +0 -0
- /package/{vue → editor}/chunks/cpp.js +0 -0
- /package/{vue → editor}/chunks/crmsh.js +0 -0
- /package/{vue → editor}/chunks/crystal.js +0 -0
- /package/{vue → editor}/chunks/csharp.js +0 -0
- /package/{vue → editor}/chunks/csp.js +0 -0
- /package/{vue → editor}/chunks/css.js +0 -0
- /package/{vue → editor}/chunks/d.js +0 -0
- /package/{vue → editor}/chunks/dart.js +0 -0
- /package/{vue → editor}/chunks/delphi.js +0 -0
- /package/{vue → editor}/chunks/diff.js +0 -0
- /package/{vue → editor}/chunks/django.js +0 -0
- /package/{vue → editor}/chunks/dns.js +0 -0
- /package/{vue → editor}/chunks/dockerfile.js +0 -0
- /package/{vue → editor}/chunks/dos.js +0 -0
- /package/{vue → editor}/chunks/dsconfig.js +0 -0
- /package/{vue → editor}/chunks/dts.js +0 -0
- /package/{vue → editor}/chunks/dust.js +0 -0
- /package/{vue → editor}/chunks/ebnf.js +0 -0
- /package/{vue → editor}/chunks/elixir.js +0 -0
- /package/{vue → editor}/chunks/elm.js +0 -0
- /package/{vue → editor}/chunks/erb.js +0 -0
- /package/{vue → editor}/chunks/erlang-repl.js +0 -0
- /package/{vue → editor}/chunks/erlang.js +0 -0
- /package/{vue → editor}/chunks/excel.js +0 -0
- /package/{vue → editor}/chunks/fix.js +0 -0
- /package/{vue → editor}/chunks/flix.js +0 -0
- /package/{vue → editor}/chunks/fortran.js +0 -0
- /package/{vue → editor}/chunks/fsharp.js +0 -0
- /package/{vue → editor}/chunks/gams.js +0 -0
- /package/{vue → editor}/chunks/gauss.js +0 -0
- /package/{vue → editor}/chunks/gcode.js +0 -0
- /package/{vue → editor}/chunks/gherkin.js +0 -0
- /package/{vue → editor}/chunks/glsl.js +0 -0
- /package/{vue → editor}/chunks/gml.js +0 -0
- /package/{vue → editor}/chunks/go.js +0 -0
- /package/{vue → editor}/chunks/golo.js +0 -0
- /package/{vue → editor}/chunks/gradle.js +0 -0
- /package/{vue → editor}/chunks/graphql.js +0 -0
- /package/{vue → editor}/chunks/groovy.js +0 -0
- /package/{vue → editor}/chunks/haml.js +0 -0
- /package/{vue → editor}/chunks/handlebars.js +0 -0
- /package/{vue → editor}/chunks/haskell.js +0 -0
- /package/{vue → editor}/chunks/haxe.js +0 -0
- /package/{vue → editor}/chunks/hsp.js +0 -0
- /package/{vue → editor}/chunks/http.js +0 -0
- /package/{vue → editor}/chunks/hy.js +0 -0
- /package/{vue → editor}/chunks/inform7.js +0 -0
- /package/{vue → editor}/chunks/ini.js +0 -0
- /package/{vue → editor}/chunks/irpf90.js +0 -0
- /package/{vue → editor}/chunks/isbl.js +0 -0
- /package/{vue → editor}/chunks/java.js +0 -0
- /package/{vue → editor}/chunks/javascript.js +0 -0
- /package/{vue → editor}/chunks/jboss-cli.js +0 -0
- /package/{vue → editor}/chunks/json.js +0 -0
- /package/{vue → editor}/chunks/julia-repl.js +0 -0
- /package/{vue → editor}/chunks/julia.js +0 -0
- /package/{vue → editor}/chunks/kotlin.js +0 -0
- /package/{vue → editor}/chunks/lasso.js +0 -0
- /package/{vue → editor}/chunks/latex.js +0 -0
- /package/{vue → editor}/chunks/ldif.js +0 -0
- /package/{vue → editor}/chunks/leaf.js +0 -0
- /package/{vue → editor}/chunks/less.js +0 -0
- /package/{vue → editor}/chunks/lisp.js +0 -0
- /package/{vue → editor}/chunks/livecodeserver.js +0 -0
- /package/{vue → editor}/chunks/livescript.js +0 -0
- /package/{vue → editor}/chunks/llvm.js +0 -0
- /package/{vue → editor}/chunks/lsl.js +0 -0
- /package/{vue → editor}/chunks/lua.js +0 -0
- /package/{vue → editor}/chunks/makefile.js +0 -0
- /package/{vue → editor}/chunks/markdown.js +0 -0
- /package/{vue → editor}/chunks/mathematica.js +0 -0
- /package/{vue → editor}/chunks/matlab.js +0 -0
- /package/{vue → editor}/chunks/maxima.js +0 -0
- /package/{vue → editor}/chunks/mel.js +0 -0
- /package/{vue → editor}/chunks/mercury.js +0 -0
- /package/{vue → editor}/chunks/mipsasm.js +0 -0
- /package/{vue → editor}/chunks/mizar.js +0 -0
- /package/{vue → editor}/chunks/mojolicious.js +0 -0
- /package/{vue → editor}/chunks/monkey.js +0 -0
- /package/{vue → editor}/chunks/moonscript.js +0 -0
- /package/{vue → editor}/chunks/n1ql.js +0 -0
- /package/{vue → editor}/chunks/nestedtext.js +0 -0
- /package/{vue → editor}/chunks/nginx.js +0 -0
- /package/{vue → editor}/chunks/nim.js +0 -0
- /package/{vue → editor}/chunks/nix.js +0 -0
- /package/{vue → editor}/chunks/node-repl.js +0 -0
- /package/{vue → editor}/chunks/nsis.js +0 -0
- /package/{vue → editor}/chunks/objectivec.js +0 -0
- /package/{vue → editor}/chunks/ocaml.js +0 -0
- /package/{vue → editor}/chunks/openscad.js +0 -0
- /package/{vue → editor}/chunks/oxygene.js +0 -0
- /package/{vue → editor}/chunks/parser3.js +0 -0
- /package/{vue → editor}/chunks/perl.js +0 -0
- /package/{vue → editor}/chunks/pf.js +0 -0
- /package/{vue → editor}/chunks/pgsql.js +0 -0
- /package/{vue → editor}/chunks/php-template.js +0 -0
- /package/{vue → editor}/chunks/php.js +0 -0
- /package/{vue → editor}/chunks/plaintext.js +0 -0
- /package/{vue → editor}/chunks/pony.js +0 -0
- /package/{vue → editor}/chunks/powershell.js +0 -0
- /package/{vue → editor}/chunks/processing.js +0 -0
- /package/{vue → editor}/chunks/profile.js +0 -0
- /package/{vue → editor}/chunks/prolog.js +0 -0
- /package/{vue → editor}/chunks/properties.js +0 -0
- /package/{vue → editor}/chunks/protobuf.js +0 -0
- /package/{vue → editor}/chunks/puppet.js +0 -0
- /package/{vue → editor}/chunks/purebasic.js +0 -0
- /package/{vue → editor}/chunks/python-repl.js +0 -0
- /package/{vue → editor}/chunks/python.js +0 -0
- /package/{vue → editor}/chunks/q.js +0 -0
- /package/{vue → editor}/chunks/qml.js +0 -0
- /package/{vue → editor}/chunks/r.js +0 -0
- /package/{vue → editor}/chunks/reasonml.js +0 -0
- /package/{vue → editor}/chunks/rib.js +0 -0
- /package/{vue → editor}/chunks/roboconf.js +0 -0
- /package/{vue → editor}/chunks/routeros.js +0 -0
- /package/{vue → editor}/chunks/rsl.js +0 -0
- /package/{vue → editor}/chunks/ruby.js +0 -0
- /package/{vue → editor}/chunks/ruleslanguage.js +0 -0
- /package/{vue → editor}/chunks/rust.js +0 -0
- /package/{vue → editor}/chunks/sas.js +0 -0
- /package/{vue → editor}/chunks/scala.js +0 -0
- /package/{vue → editor}/chunks/scheme.js +0 -0
- /package/{vue → editor}/chunks/scilab.js +0 -0
- /package/{vue → editor}/chunks/scss.js +0 -0
- /package/{vue → editor}/chunks/shell.js +0 -0
- /package/{vue → editor}/chunks/smali.js +0 -0
- /package/{vue → editor}/chunks/smalltalk.js +0 -0
- /package/{vue → editor}/chunks/sml.js +0 -0
- /package/{vue → editor}/chunks/sqf.js +0 -0
- /package/{vue → editor}/chunks/sql.js +0 -0
- /package/{vue → editor}/chunks/stan.js +0 -0
- /package/{vue → editor}/chunks/stata.js +0 -0
- /package/{vue → editor}/chunks/step21.js +0 -0
- /package/{vue → editor}/chunks/stylus.js +0 -0
- /package/{vue → editor}/chunks/subunit.js +0 -0
- /package/{vue → editor}/chunks/swift.js +0 -0
- /package/{vue → editor}/chunks/taggerscript.js +0 -0
- /package/{vue → editor}/chunks/tap.js +0 -0
- /package/{vue → editor}/chunks/tcl.js +0 -0
- /package/{vue → editor}/chunks/thrift.js +0 -0
- /package/{vue → editor}/chunks/tp.js +0 -0
- /package/{vue → editor}/chunks/twig.js +0 -0
- /package/{vue → editor}/chunks/typescript.js +0 -0
- /package/{vue → editor}/chunks/vala.js +0 -0
- /package/{vue → editor}/chunks/vbnet.js +0 -0
- /package/{vue → editor}/chunks/vbscript-html.js +0 -0
- /package/{vue → editor}/chunks/vbscript.js +0 -0
- /package/{vue → editor}/chunks/verilog.js +0 -0
- /package/{vue → editor}/chunks/vhdl.js +0 -0
- /package/{vue → editor}/chunks/vim.js +0 -0
- /package/{vue → editor}/chunks/wasm.js +0 -0
- /package/{vue → editor}/chunks/wren.js +0 -0
- /package/{vue → editor}/chunks/x86asm.js +0 -0
- /package/{vue → editor}/chunks/xl.js +0 -0
- /package/{vue → editor}/chunks/xml.js +0 -0
- /package/{vue → editor}/chunks/xquery.js +0 -0
- /package/{vue → editor}/chunks/yaml.js +0 -0
- /package/{vue → editor}/chunks/zephir.js +0 -0
- /package/{vue/editor/compact/extensions.d.ts → editor/compact-extensions.d.ts} +0 -0
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
<link rel="component" href="../ui-button/ui-button.html">
|
|
2
|
+
<link rel="component" href="../ui-card/ui-card.html">
|
|
3
|
+
<link rel="component" href="../ui-cluster/ui-cluster.html">
|
|
4
|
+
<link rel="component" href="../ui-compact-editor/ui-compact-editor.html">
|
|
5
|
+
<link rel="component" href="../ui-editor-block-actions/ui-editor-block-actions.html">
|
|
6
|
+
<link rel="component" href="../ui-editor-chip-editor/ui-editor-chip-editor.html">
|
|
7
|
+
<link rel="component" href="../ui-editor-code-language/ui-editor-code-language.html">
|
|
8
|
+
<link rel="component" href="../ui-editor-footnote-editor/ui-editor-footnote-editor.html">
|
|
9
|
+
<link rel="component" href="../ui-editor-formatting-tools/ui-editor-formatting-tools.html">
|
|
10
|
+
<link rel="component" href="../ui-editor-image-toolbar/ui-editor-image-toolbar.html">
|
|
11
|
+
<link rel="component" href="../ui-editor-insert-table-grid/ui-editor-insert-table-grid.html">
|
|
12
|
+
<link rel="component" href="../ui-editor-link-card/ui-editor-link-card.html">
|
|
13
|
+
<link rel="component" href="../ui-editor-link-form/ui-editor-link-form.html">
|
|
14
|
+
<link rel="component" href="../ui-editor-mention-menu/ui-editor-mention-menu.html">
|
|
15
|
+
<link rel="component" href="../ui-editor-slash-menu/ui-editor-slash-menu.html">
|
|
16
|
+
<link rel="component" href="../ui-editor-slash-menu-group/ui-editor-slash-menu-group.html">
|
|
17
|
+
<link rel="component" href="../ui-editor-slash-menu-item/ui-editor-slash-menu-item.html">
|
|
18
|
+
<link rel="component" href="../ui-editor-surface/ui-editor-surface.html">
|
|
19
|
+
<link rel="component" href="../ui-editor-table-context-menu/ui-editor-table-context-menu.html">
|
|
20
|
+
<link rel="component" href="../ui-editor-table-overlay/ui-editor-table-overlay.html">
|
|
21
|
+
<link rel="component" href="../ui-editor-table-toolbar/ui-editor-table-toolbar.html">
|
|
22
|
+
<link rel="component" href="../ui-icon/ui-icon.html">
|
|
23
|
+
<link rel="component" href="../ui-icon-button/ui-icon-button.html">
|
|
24
|
+
<link rel="component" href="../ui-popover/ui-popover.html">
|
|
25
|
+
<link rel="component" href="../ui-stack/ui-stack.html">
|
|
26
|
+
<link rel="component" href="../ui-status-message/ui-status-message.html">
|
|
27
|
+
<link rel="component" href="../ui-text/ui-text.html">
|
|
28
|
+
<link rel="component" href="../ui-tooltip/ui-tooltip.html">
|
|
29
|
+
<template component="ui-editor" module="./ui-editor.js">
|
|
30
|
+
<defs>
|
|
31
|
+
<prop name="content" type="object({ type: string, ... })" default="{ type: 'doc', content: [{ type: 'paragraph' }] }"
|
|
32
|
+
>The controlled Tiptap document. A change reports the updated content.</prop>
|
|
33
|
+
<prop name="references" type="object({ ... })">Cached reference display values. Replacing this map refreshes labels without editing content.</prop>
|
|
34
|
+
<prop
|
|
35
|
+
name="editable"
|
|
36
|
+
type="boolean"
|
|
37
|
+
default="true"
|
|
38
|
+
default-true-reason="An editor accepts writing by default; read-only rendering is an explicit use of the same document contract."
|
|
39
|
+
>Allow authoring. Read-only documents can still expose passage actions.</prop>
|
|
40
|
+
<prop name="contentDensity" type="keyword" values="comfortable, compact" default="comfortable"
|
|
41
|
+
>Choose the padding and minimum height of read-only documents.</prop>
|
|
42
|
+
<prop name="placeholder" type="string" default="Type “/” for commands, or start writing…">The empty document's writing prompt.</prop>
|
|
43
|
+
<prop name="label" type="string" default="Document">Accessible name of the textbox.</prop>
|
|
44
|
+
<prop name="mentionItems" type="list(object({ id: string, label: string, detail?: string, initials?: string }))" default="[]"
|
|
45
|
+
>Default mention choices when nobody answers mention-query.</prop>
|
|
46
|
+
<prop name="mentionLimit" type="integer" default="8">Maximum number of mention suggestions.</prop>
|
|
47
|
+
<prop name="linkBaseUrl" type="string" default="">Origin used for newly inserted relative links.</prop>
|
|
48
|
+
<prop name="linkTargetLabel" type="string" default="Item">The name of a searchable link destination.</prop>
|
|
49
|
+
<prop name="toolbarMode" type="keyword" values="bubble, sticky, popover, contextual" default="bubble">Where formatting controls appear.</prop>
|
|
50
|
+
<prop name="compactToolbar" type="boolean" default="false">Keep frequent inline controls visible and put the full inventory behind Format.</prop>
|
|
51
|
+
<prop name="selectionActions" type="list(object({ id: string, label: string }))" default="[]">Application actions available for a selected passage.</prop>
|
|
52
|
+
<prop name="rangeActions" type="list(object({ id: string, label: string, from: integer, to: integer }))" default="[]"
|
|
53
|
+
>Application caret actions with host-owned durable ranges.</prop>
|
|
54
|
+
<prop name="toolbarTriggerId" type="string" default="">External trigger for popover mode.</prop>
|
|
55
|
+
<prop name="toolbarOpen" type="boolean" default="false">Controlled popover toolbar visibility.</prop>
|
|
56
|
+
<prop name="disableHighlight" type="boolean" default="false">Disable authoring new highlights while retaining saved highlights.</prop>
|
|
57
|
+
<state name="view" type="object({ ... })" value="{}"></state>
|
|
58
|
+
<event name="change" type="object"><prop name="content" type="object({ type: string, ... })" required></prop>The edited document changed.</event>
|
|
59
|
+
<event name="toolbar-open" type="object({ ... })">The popover toolbar opened.</event>
|
|
60
|
+
<event name="toolbar-close" type="object({ ... })">The popover toolbar closed.</event>
|
|
61
|
+
<event name="selection-action" type="object({ id: string, from: integer, to: integer, text: string, before: string, after: string })"
|
|
62
|
+
>An application passage action was chosen.</event>
|
|
63
|
+
<event name="range-action" type="object({ id: string, ranges: list(object({ from: integer, to: integer })) })"
|
|
64
|
+
>An application caret action was chosen.</event>
|
|
65
|
+
<event name="upload-error" type="object"><prop name="error" type="unknown" required></prop><prop name="file" type="unknown" required></prop>An upload
|
|
66
|
+
failed; authored content is retained.</event>
|
|
67
|
+
<event name="image-activate" type="object" open><prop name="src" type="string" required></prop><prop
|
|
68
|
+
name="trigger"
|
|
69
|
+
type="keyword"
|
|
70
|
+
values="pointer, keyboard"
|
|
71
|
+
required
|
|
72
|
+
></prop>An image was activated.</event>
|
|
73
|
+
<event name="image-rendition-error" type="object" open><prop name="src" type="string" required></prop><prop
|
|
74
|
+
name="trigger"
|
|
75
|
+
type="keyword"
|
|
76
|
+
values="programmatic"
|
|
77
|
+
required
|
|
78
|
+
></prop>A transient image rendition failed.</event>
|
|
79
|
+
<request name="extensions" returns="list(unknown)">Additional Tiptap extensions.</request>
|
|
80
|
+
<request name="slash-commands" type="object({ defaults: list(unknown) })" returns="list(unknown)">Customize the default slash commands.</request>
|
|
81
|
+
<request
|
|
82
|
+
name="mention-query"
|
|
83
|
+
type="object({ query: string, limit: integer })"
|
|
84
|
+
returns="list(object({ id: string, label: string, detail?: string, initials?: string }))"
|
|
85
|
+
>Find authorized mention choices.</request>
|
|
86
|
+
<request name="link-search" type="object({ query: string })" returns="list(object({ id: string, label: string, href: string, detail?: string }))"
|
|
87
|
+
>Find authorized link destinations.</request>
|
|
88
|
+
<request name="link-resolve" type="object({ href: string })" returns="object({ id: string, label: string, href: string, detail?: string })"
|
|
89
|
+
>Resolve a saved link's display record.</request>
|
|
90
|
+
<request name="image-upload" type="object"><prop name="file" type="unknown" required></prop><returns type="object({ src: string, ... })"></returns>Retain an
|
|
91
|
+
image before insertion.</request>
|
|
92
|
+
<request name="file-upload" type="object"><prop name="file" type="unknown" required></prop><returns
|
|
93
|
+
type="object({ href: string, name: string, size: number, contentType: string, ... })"
|
|
94
|
+
></returns>Retain a file before inserting its link.</request>
|
|
95
|
+
<request name="code-languages" returns="object({ ... })"
|
|
96
|
+
>The code grammar catalog chosen before creation. null keeps the built-in lazy catalog; an empty record disables highlighting.</request>
|
|
97
|
+
<request name="image-delivery" returns="unknown"
|
|
98
|
+
>The host's synchronous source and rendition policy, resolved before the editor mounts. This transient policy is never persisted.</request>
|
|
99
|
+
</defs>
|
|
100
|
+
<div tabindex="-1" from:class="concat('looma-editor', $editable ? '' : ' looma-editor--readonly', $view.dragOver ? ' looma-editor--drag-over' : '')">
|
|
101
|
+
<ui-tooltip $if="$view.resizeHintFor" from:for="$view.resizeHintFor" placement="top" inverse>Drag to resize column</ui-tooltip>
|
|
102
|
+
<div $if="$view.formatting">
|
|
103
|
+
<div $ref="formattingShell" class="looma-editor__floating-shell looma-editor__formatting-shell" hidden>
|
|
104
|
+
<ui-stack gap="xs">
|
|
105
|
+
<ui-editor-formatting-tools floating from:items="$view.selectionTools"></ui-editor-formatting-tools>
|
|
106
|
+
<ui-card class="looma-editor__link-context" $if="$view.contextual and $view.linkContext and $view.linkForm" variant="elevated" padding="sm" size="sm">
|
|
107
|
+
<ui-editor-link-form
|
|
108
|
+
$ref="contextLinkForm"
|
|
109
|
+
autofocus
|
|
110
|
+
from:existing="$view.link.existing"
|
|
111
|
+
from:searchable="$view.link.searchable"
|
|
112
|
+
from:mode="$view.link.mode"
|
|
113
|
+
from:value="$view.link.value"
|
|
114
|
+
from:placeholder="$view.link.placeholder"
|
|
115
|
+
from:new-tab="$view.link.newTab"
|
|
116
|
+
from:text-editable="$view.link.textEditable"
|
|
117
|
+
from:text="$view.link.text"
|
|
118
|
+
from:error="$view.link.error"
|
|
119
|
+
from:status="$view.link.status"
|
|
120
|
+
from:results="$view.link.results"
|
|
121
|
+
from:selected="$view.link.selected"
|
|
122
|
+
></ui-editor-link-form>
|
|
123
|
+
</ui-card>
|
|
124
|
+
<ui-editor-link-card
|
|
125
|
+
class="looma-editor__link-context"
|
|
126
|
+
$if="$view.contextual and $view.linkContext and not $view.linkForm"
|
|
127
|
+
$ref="contextLinkCard"
|
|
128
|
+
from:href="$view.link.href"
|
|
129
|
+
from:open-href="$view.link.openHref"
|
|
130
|
+
from:label="$view.link.label"
|
|
131
|
+
from:detail="$view.link.detail"
|
|
132
|
+
from:target-label="$view.link.targetLabel"
|
|
133
|
+
></ui-editor-link-card>
|
|
134
|
+
</ui-stack>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
<div $if="$view.ready and $editable">
|
|
138
|
+
<div $ref="linkShell" class="looma-editor__floating-shell looma-editor__link-shell" hidden>
|
|
139
|
+
<ui-card $if="not $view.linkInFormatting and $view.linkForm" variant="elevated" padding="sm" size="sm"><ui-editor-link-form
|
|
140
|
+
$ref="floatingLinkForm"
|
|
141
|
+
autofocus
|
|
142
|
+
from:existing="$view.link.existing"
|
|
143
|
+
from:searchable="$view.link.searchable"
|
|
144
|
+
from:mode="$view.link.mode"
|
|
145
|
+
from:value="$view.link.value"
|
|
146
|
+
from:placeholder="$view.link.placeholder"
|
|
147
|
+
from:new-tab="$view.link.newTab"
|
|
148
|
+
from:text-editable="$view.link.textEditable"
|
|
149
|
+
from:text="$view.link.text"
|
|
150
|
+
from:error="$view.link.error"
|
|
151
|
+
from:status="$view.link.status"
|
|
152
|
+
from:results="$view.link.results"
|
|
153
|
+
from:selected="$view.link.selected"
|
|
154
|
+
></ui-editor-link-form></ui-card>
|
|
155
|
+
<ui-editor-link-card
|
|
156
|
+
$if="not $view.linkInFormatting and not $view.linkForm"
|
|
157
|
+
$ref="floatingLinkCard"
|
|
158
|
+
from:href="$view.link.href"
|
|
159
|
+
from:open-href="$view.link.openHref"
|
|
160
|
+
from:label="$view.link.label"
|
|
161
|
+
from:detail="$view.link.detail"
|
|
162
|
+
from:target-label="$view.link.targetLabel"
|
|
163
|
+
></ui-editor-link-card>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
<ui-popover
|
|
167
|
+
$if="$view.popover"
|
|
168
|
+
$ref="toolbarPopover"
|
|
169
|
+
class="looma-editor__formatting-popover"
|
|
170
|
+
bare
|
|
171
|
+
role="region"
|
|
172
|
+
aria-label="Formatting tools"
|
|
173
|
+
from:open="$toolbarOpen"
|
|
174
|
+
from:for="$toolbarTriggerId"
|
|
175
|
+
placement="bottom-end"
|
|
176
|
+
>
|
|
177
|
+
<ui-editor-formatting-tools floating from:items="$view.fullTools"></ui-editor-formatting-tools>
|
|
178
|
+
</ui-popover>
|
|
179
|
+
<div $if="$view.sticky" class="looma-editor__sticky-toolbar-shell" role="toolbar" aria-label="Editor tools">
|
|
180
|
+
<ui-editor-formatting-tools from:items="$view.tools"></ui-editor-formatting-tools>
|
|
181
|
+
</div>
|
|
182
|
+
<div $if="$view.ready and $editable">
|
|
183
|
+
<div $ref="imageShell" class="looma-editor__floating-shell looma-editor__image-shell" hidden>
|
|
184
|
+
<ui-editor-image-toolbar
|
|
185
|
+
$ref="imageTools"
|
|
186
|
+
from:placement="$view.image.placement"
|
|
187
|
+
from:alt="$view.image.alt"
|
|
188
|
+
from:target="$view.image.target"
|
|
189
|
+
></ui-editor-image-toolbar>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
<ui-editor-surface from:density="$view.density"><div $if="not $view.ready"><slot name="fallback"></slot></div><div $ref="mount"></div></ui-editor-surface>
|
|
193
|
+
<div $if="$view.code.open" $ref="codeShell" class="looma-editor__code-language">
|
|
194
|
+
<ui-editor-code-language $ref="codeTools" from:value="$view.code.language" from:languages="$view.code.languages"></ui-editor-code-language>
|
|
195
|
+
</div>
|
|
196
|
+
<div
|
|
197
|
+
$if="$view.mobileToolbar"
|
|
198
|
+
$ref="mobileShell"
|
|
199
|
+
class="looma-editor__mobile-toolbar-shell"
|
|
200
|
+
from:data-mode="$view.mobileToolbarMode"
|
|
201
|
+
role="toolbar"
|
|
202
|
+
from:aria-label="$view.mobileToolbarMode = 'table' ? 'Table editing' : 'Text formatting'"
|
|
203
|
+
>
|
|
204
|
+
<ui-button
|
|
205
|
+
$if="$view.mobileToolbarMode = 'table'"
|
|
206
|
+
data-editor-action="formatting"
|
|
207
|
+
size="sm"
|
|
208
|
+
variant="ghost"
|
|
209
|
+
tone="neutral"
|
|
210
|
+
aria-label="Formatting tools"
|
|
211
|
+
><ui-icon slot="icon" name="chevron-left"></ui-icon>Formatting</ui-button>
|
|
212
|
+
<ui-editor-table-toolbar
|
|
213
|
+
$if="$view.mobileToolbarMode = 'table'"
|
|
214
|
+
$ref="mobileTableTools"
|
|
215
|
+
open
|
|
216
|
+
from:cell-alignment="$view.table.alignment"
|
|
217
|
+
from:cell-background="$view.table.background"
|
|
218
|
+
from:header-row="$view.table.headerRow"
|
|
219
|
+
from:header-column="$view.table.headerColumn"
|
|
220
|
+
from:actions="$view.table.actions"
|
|
221
|
+
></ui-editor-table-toolbar>
|
|
222
|
+
<ui-editor-formatting-tools $if="$view.mobileToolbarMode != 'table'" from:items="$view.tools"></ui-editor-formatting-tools>
|
|
223
|
+
</div>
|
|
224
|
+
<input
|
|
225
|
+
$ref="fileInput"
|
|
226
|
+
class="looma-editor__file-input"
|
|
227
|
+
type="file"
|
|
228
|
+
accept="image/jpeg,image/png,image/gif,image/webp,image/svg+xml"
|
|
229
|
+
from:multiple="true"
|
|
230
|
+
tabindex="-1"
|
|
231
|
+
aria-hidden="true"
|
|
232
|
+
>
|
|
233
|
+
<input $ref="attachmentInput" class="looma-editor__file-input" type="file" tabindex="-1" aria-hidden="true">
|
|
234
|
+
<ui-status-message $if="$view.files.uploading" kind="loading">{$view.files.progress}<ui-button
|
|
235
|
+
slot="action"
|
|
236
|
+
data-editor-action="file-cancel"
|
|
237
|
+
size="sm"
|
|
238
|
+
variant="ghost"
|
|
239
|
+
>Cancel</ui-button></ui-status-message>
|
|
240
|
+
<ui-status-message $if="$view.files.failed" kind="error">Couldn’t attach file.<ui-button
|
|
241
|
+
slot="action"
|
|
242
|
+
data-editor-action="file-cancel"
|
|
243
|
+
size="sm"
|
|
244
|
+
variant="ghost"
|
|
245
|
+
>Dismiss</ui-button><ui-button slot="action" data-editor-action="file-retry" size="sm">Retry</ui-button></ui-status-message>
|
|
246
|
+
<ui-status-message $if="$view.upload.uploading" kind="loading">{$view.upload.progress}<ui-button
|
|
247
|
+
slot="action"
|
|
248
|
+
data-editor-action="image-cancel"
|
|
249
|
+
size="sm"
|
|
250
|
+
variant="ghost"
|
|
251
|
+
>Cancel</ui-button></ui-status-message>
|
|
252
|
+
<ui-status-message $if="$view.upload.failed" kind="error">Couldn’t upload image.<ui-button
|
|
253
|
+
slot="action"
|
|
254
|
+
data-editor-action="image-retry"
|
|
255
|
+
size="sm"
|
|
256
|
+
variant="ghost"
|
|
257
|
+
tone="neutral"
|
|
258
|
+
from:disabled="$view.upload.uploading"
|
|
259
|
+
>Retry</ui-button></ui-status-message>
|
|
260
|
+
<div $if="$view.dragOver" class="looma-editor__drop-overlay" aria-hidden="true">
|
|
261
|
+
<ui-icon name="image"></ui-icon>
|
|
262
|
+
<span>Drop image to upload</span>
|
|
263
|
+
</div>
|
|
264
|
+
<ui-popover $ref="chipPopover" class="looma-editor__chip-popover" from:open="$view.chip.open" from:for="$view.chipAnchorId" placement="bottom-start">
|
|
265
|
+
<ui-editor-chip-editor $ref="chipEditor" autofocus from:label="$view.chip.label" from:color="$view.chip.color"></ui-editor-chip-editor>
|
|
266
|
+
</ui-popover>
|
|
267
|
+
<ui-popover
|
|
268
|
+
$if="$view.footnote.open and $view.footnote.surface = 'actions'"
|
|
269
|
+
$ref="footnoteActions"
|
|
270
|
+
bare
|
|
271
|
+
open
|
|
272
|
+
from:for="$view.footnoteAnchorId"
|
|
273
|
+
role="dialog"
|
|
274
|
+
aria-label="Footnote actions"
|
|
275
|
+
>
|
|
276
|
+
<ui-card variant="elevated" padding="xs" size="sm"><ui-cluster gap="xs" wrap="nowrap" role="group" aria-label="Footnote actions">
|
|
277
|
+
<ui-icon-button
|
|
278
|
+
$ref="footnoteGo"
|
|
279
|
+
data-editor-action="footnote-go"
|
|
280
|
+
from:id="concat($view.footnoteAnchorId, '-go')"
|
|
281
|
+
label="Go to note"
|
|
282
|
+
variant="ghost"
|
|
283
|
+
tone="neutral"
|
|
284
|
+
size="sm"
|
|
285
|
+
><ui-icon name="external-link"></ui-icon></ui-icon-button>
|
|
286
|
+
<ui-tooltip from:for="concat($view.footnoteAnchorId, '-go')">Go to note</ui-tooltip>
|
|
287
|
+
<ui-button data-editor-action="footnote-edit" variant="ghost" tone="neutral" size="sm"><ui-icon name="pencil"></ui-icon>Edit note</ui-button>
|
|
288
|
+
</ui-cluster></ui-card>
|
|
289
|
+
</ui-popover>
|
|
290
|
+
<ui-popover
|
|
291
|
+
$if="$view.footnote.open and $view.footnote.surface = 'editor'"
|
|
292
|
+
$ref="footnotePopover"
|
|
293
|
+
size="md"
|
|
294
|
+
open
|
|
295
|
+
from:for="$view.footnoteAnchorId"
|
|
296
|
+
from:placement="$view.placement"
|
|
297
|
+
>
|
|
298
|
+
<ui-editor-footnote-editor $ref="footnoteEditor"><ui-compact-editor
|
|
299
|
+
$ref="footnoteField"
|
|
300
|
+
label="Footnote"
|
|
301
|
+
from:content="$view.footnote.content"
|
|
302
|
+
></ui-compact-editor></ui-editor-footnote-editor>
|
|
303
|
+
</ui-popover>
|
|
304
|
+
<ui-popover
|
|
305
|
+
$ref="linkPopover"
|
|
306
|
+
class="looma-editor__link-popover"
|
|
307
|
+
size="sm"
|
|
308
|
+
from:open="$view.linkOpen"
|
|
309
|
+
from:for="$view.linkAnchorId"
|
|
310
|
+
from:placement="$view.placement"
|
|
311
|
+
><template $if="$view.linkOpen"><ui-editor-link-form
|
|
312
|
+
$ref="linkForm"
|
|
313
|
+
autofocus
|
|
314
|
+
from:existing="$view.link.existing"
|
|
315
|
+
from:searchable="$view.link.searchable"
|
|
316
|
+
from:mode="$view.link.mode"
|
|
317
|
+
from:value="$view.link.value"
|
|
318
|
+
from:placeholder="$view.link.placeholder"
|
|
319
|
+
from:new-tab="$view.link.newTab"
|
|
320
|
+
from:text-editable="$view.link.textEditable"
|
|
321
|
+
from:text="$view.link.text"
|
|
322
|
+
from:error="$view.link.error"
|
|
323
|
+
from:status="$view.link.status"
|
|
324
|
+
from:results="$view.link.results"
|
|
325
|
+
from:selected="$view.link.selected"
|
|
326
|
+
></ui-editor-link-form></template></ui-popover>
|
|
327
|
+
<ui-popover
|
|
328
|
+
$if="$view.compactFormat"
|
|
329
|
+
$ref="formatPopover"
|
|
330
|
+
class="looma-editor__compact-formatting"
|
|
331
|
+
from:for="$view.formatAnchorId"
|
|
332
|
+
bare
|
|
333
|
+
from:open="$view.formatOpen"
|
|
334
|
+
placement="bottom-start"
|
|
335
|
+
><ui-editor-formatting-tools floating from:items="$view.fullTools"></ui-editor-formatting-tools></ui-popover>
|
|
336
|
+
<ui-editor-block-actions $ref="blockActions" from:for="$view.blockActionAnchorId" from:placement="$view.placement"></ui-editor-block-actions>
|
|
337
|
+
<ui-popover
|
|
338
|
+
$ref="tablePopover"
|
|
339
|
+
class="looma-editor__table-picker-popover"
|
|
340
|
+
from:open="$view.tablePickerOpen"
|
|
341
|
+
from:for="$view.tablePickerAnchorId"
|
|
342
|
+
from:placement="$view.placement"
|
|
343
|
+
><ui-editor-insert-table-grid $ref="tablePicker" open></ui-editor-insert-table-grid></ui-popover>
|
|
344
|
+
<ui-editor-slash-menu
|
|
345
|
+
$if="$view.slash.active"
|
|
346
|
+
$ref="slashMenu"
|
|
347
|
+
open
|
|
348
|
+
from:query="$view.slash.query"
|
|
349
|
+
from:selected-index="$view.slash.selectedIndex"
|
|
350
|
+
from:anchor-rect="$view.slash.anchorRect"
|
|
351
|
+
>
|
|
352
|
+
<template $each="group of $view.slash.groups">
|
|
353
|
+
<ui-editor-slash-menu-group $if="$group.label" from:label="$group.label"><ui-editor-slash-menu-item
|
|
354
|
+
$each="row of $group.rows"
|
|
355
|
+
$key="$row.id"
|
|
356
|
+
from:value="$row.value"
|
|
357
|
+
from:description="$row.description"
|
|
358
|
+
from:icon="$row.icon"
|
|
359
|
+
from:keywords="$row.keywords"
|
|
360
|
+
>{$row.title}</ui-editor-slash-menu-item></ui-editor-slash-menu-group>
|
|
361
|
+
<template $if="not $group.label"><ui-editor-slash-menu-item
|
|
362
|
+
$each="row of $group.rows"
|
|
363
|
+
$key="$row.id"
|
|
364
|
+
from:value="$row.value"
|
|
365
|
+
from:description="$row.description"
|
|
366
|
+
from:icon="$row.icon"
|
|
367
|
+
from:keywords="$row.keywords"
|
|
368
|
+
>{$row.title}</ui-editor-slash-menu-item></template>
|
|
369
|
+
</template>
|
|
370
|
+
<ui-text slot="empty" role="status" size="sm" tone="muted">No commands found.</ui-text>
|
|
371
|
+
</ui-editor-slash-menu>
|
|
372
|
+
<ui-editor-mention-menu
|
|
373
|
+
$if="$view.mention.active"
|
|
374
|
+
$ref="mentionMenu"
|
|
375
|
+
open
|
|
376
|
+
from:id="$view.mention.id"
|
|
377
|
+
from:query="$view.mention.query"
|
|
378
|
+
from:items="$view.mention.items"
|
|
379
|
+
from:selected-index="$view.mention.selectedIndex"
|
|
380
|
+
from:anchor-rect="$view.mention.anchorRect"
|
|
381
|
+
from:loading="$view.mention.loading"
|
|
382
|
+
></ui-editor-mention-menu>
|
|
383
|
+
<div $if="$view.table.toolbarOpen" $ref="tableToolbarShell" class="looma-editor__table-toolbar-shell">
|
|
384
|
+
<ui-editor-table-toolbar
|
|
385
|
+
$ref="tableTools"
|
|
386
|
+
open
|
|
387
|
+
from:cell-alignment="$view.table.alignment"
|
|
388
|
+
from:cell-background="$view.table.background"
|
|
389
|
+
from:header-row="$view.table.headerRow"
|
|
390
|
+
from:header-column="$view.table.headerColumn"
|
|
391
|
+
from:actions="$view.table.actions"
|
|
392
|
+
></ui-editor-table-toolbar>
|
|
393
|
+
</div>
|
|
394
|
+
<div
|
|
395
|
+
$if="$view.ready and $editable and not $view.mobile"
|
|
396
|
+
$ref="tableOverlayShell"
|
|
397
|
+
class="looma-editor__table-overlay-shell"
|
|
398
|
+
from:hidden="not $view.table.overlayOpen"
|
|
399
|
+
>
|
|
400
|
+
<ui-editor-table-overlay $if="$view.table.overlayOpen" $ref="tableOverlay" open from:geometry="$view.table.geometry"></ui-editor-table-overlay>
|
|
401
|
+
</div>
|
|
402
|
+
<div $if="$view.table.menuOpen" $ref="tableMenuShell" class="looma-editor__table-menu-shell">
|
|
403
|
+
<ui-editor-table-context-menu
|
|
404
|
+
$ref="tableMenu"
|
|
405
|
+
open
|
|
406
|
+
from:scope="$view.table.scope"
|
|
407
|
+
from:cell-background="$view.table.background"
|
|
408
|
+
from:header-row="$view.table.headerRow"
|
|
409
|
+
from:header-column="$view.table.headerColumn"
|
|
410
|
+
from:actions="$view.table.actions"
|
|
411
|
+
></ui-editor-table-context-menu>
|
|
412
|
+
</div>
|
|
413
|
+
</div>
|
|
414
|
+
</template>
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { createDocumentEditorSession } from "@threadlabs/looma/editor";
|
|
2
|
+
import "@threadlabs/looma/editor.css";
|
|
3
|
+
import { placeSurface } from "../shared/overlay.js";
|
|
4
|
+
import "../ui-editor-surface/ui-editor-surface.css";
|
|
5
|
+
import "./ui-editor.css";
|
|
6
|
+
|
|
7
|
+
let sequence = 0;
|
|
8
|
+
const connections = new WeakMap();
|
|
9
|
+
|
|
10
|
+
// The host projects session snapshots and forwards native requests; all chrome is authored HTML.
|
|
11
|
+
export function connect(host, { signal }) {
|
|
12
|
+
const root = host.element;
|
|
13
|
+
let codeLanguages = null;
|
|
14
|
+
const props = () => ({
|
|
15
|
+
content: host.props.content.value, references: host.props.references.value ?? undefined,
|
|
16
|
+
editable: host.props.editable.value, contentDensity: host.props.contentDensity.value,
|
|
17
|
+
placeholder: host.props.placeholder.value, label: host.props.label.value,
|
|
18
|
+
codeLanguages,
|
|
19
|
+
mentionItems: host.props.mentionItems.value, mentionLimit: host.props.mentionLimit.value,
|
|
20
|
+
linkBaseUrl: host.props.linkBaseUrl.value, linkTargetLabel: host.props.linkTargetLabel.value,
|
|
21
|
+
toolbarMode: host.props.toolbarMode.value, compactToolbar: host.props.compactToolbar.value,
|
|
22
|
+
selectionActions: host.props.selectionActions.value, rangeActions: host.props.rangeActions.value,
|
|
23
|
+
toolbarTriggerId: host.props.toolbarTriggerId.value, toolbarOpen: host.props.toolbarOpen.value,
|
|
24
|
+
disableHighlight: host.props.disableHighlight.value,
|
|
25
|
+
});
|
|
26
|
+
let entry = connections.get(root);
|
|
27
|
+
if (!entry) {
|
|
28
|
+
entry = { host, token: 0 };
|
|
29
|
+
entry.session = createDocumentEditorSession(props(), {
|
|
30
|
+
root, identity: `editor-${++sequence}`,
|
|
31
|
+
hasResponder: name => entry.host.hasResponder(name),
|
|
32
|
+
request: (name, detail, options) => entry.host.request(name, detail, options),
|
|
33
|
+
dispatch: (name, detail) => entry.host.dispatch(name, detail),
|
|
34
|
+
changed: snapshot => { entry.host.state.view = snapshot; },
|
|
35
|
+
});
|
|
36
|
+
connections.set(root, entry);
|
|
37
|
+
}
|
|
38
|
+
entry.host = host;
|
|
39
|
+
const token = ++entry.token;
|
|
40
|
+
const session = entry.session;
|
|
41
|
+
host.state.view = session.snapshot();
|
|
42
|
+
host.effect(() => { session.update(props()); });
|
|
43
|
+
host.effect(() => {
|
|
44
|
+
const view = host.state.view;
|
|
45
|
+
queueMicrotask(() => queueMicrotask(() => {
|
|
46
|
+
if (signal.aborted) return;
|
|
47
|
+
session.rendered(host.refs);
|
|
48
|
+
placeSurface(host.refs.codeShell, view.code?.placement);
|
|
49
|
+
placeSurface(host.refs.mobileShell, view.mobileToolbarStyle);
|
|
50
|
+
placeSurface(host.refs.tableOverlayShell, view.table?.overlayPlacement);
|
|
51
|
+
placeSurface(host.refs.tableMenu, view.table?.menuPlacement);
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
let policyRequest;
|
|
55
|
+
let servicesInitialized = false;
|
|
56
|
+
const loadPolicy = (refresh = false) => {
|
|
57
|
+
policyRequest?.abort();
|
|
58
|
+
const request = policyRequest = new AbortController();
|
|
59
|
+
const requestSignal = AbortSignal.any([signal, request.signal]);
|
|
60
|
+
const service = name => host.request(name, null, { signal: requestSignal }).catch(error => {
|
|
61
|
+
if (!requestSignal.aborted) reportError(error);
|
|
62
|
+
return null;
|
|
63
|
+
});
|
|
64
|
+
Promise.all([service("image-delivery"), servicesInitialized ? codeLanguages : service("code-languages")]).then(([policy, languages]) => {
|
|
65
|
+
if (requestSignal.aborted || token !== entry.token) return;
|
|
66
|
+
servicesInitialized = true;
|
|
67
|
+
codeLanguages = languages ?? null;
|
|
68
|
+
session.update({ codeLanguages, resolveImageSource: typeof policy?.resolveSource === "function" ? policy.resolveSource : undefined, resolveImageAttributes: typeof policy?.resolveAttributes === "function" ? policy.resolveAttributes : undefined });
|
|
69
|
+
session.connect();
|
|
70
|
+
if (refresh) session.refreshServices();
|
|
71
|
+
}, error => { if (!requestSignal.aborted) { reportError(error); session.connect(); } });
|
|
72
|
+
};
|
|
73
|
+
host.on("command", event => {
|
|
74
|
+
if (event.target === root && event.command === "--refresh-services") loadPolicy(true);
|
|
75
|
+
});
|
|
76
|
+
host.on("responder", event => {
|
|
77
|
+
if (event.detail?.name === "image-delivery" && host.hasResponder("image-delivery")) loadPolicy(true);
|
|
78
|
+
});
|
|
79
|
+
loadPolicy();
|
|
80
|
+
return () => {
|
|
81
|
+
queueMicrotask(() => {
|
|
82
|
+
if (entry.token !== token) return;
|
|
83
|
+
session.destroy();
|
|
84
|
+
connections.delete(root);
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<link rel="component" href="../ui-swatch/ui-swatch.html">
|
|
5
5
|
<template component="ui-editor-chip-editor" module="./ui-editor-chip-editor.js">
|
|
6
6
|
<defs>
|
|
7
|
+
<prop name="autofocus" type="boolean" default="false">Focus the label field when this editor connects. The --focus command focuses it again.</prop>
|
|
7
8
|
<prop name="label" type="string" default="">The chip's text, shown in the field as the reader edits it.</prop>
|
|
8
9
|
<prop name="color" type="keyword" values="neutral, blue, green, yellow, red, purple" default="neutral">The chip's colour, checked among the swatches.</prop>
|
|
9
10
|
<event name="label" type="object">
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
<div role="dialog" aria-label="Edit chip">
|
|
20
21
|
<ui-stack gap="s">
|
|
21
22
|
<ui-input data-chip-label size="sm" placeholder="Set a label" aria-label="Chip text" from:value="$label"></ui-input>
|
|
22
|
-
<ui-radio-group label="Chip color" label-visibility="sr-only" from:value="$color">
|
|
23
|
+
<ui-radio-group form="" label="Chip color" label-visibility="sr-only" from:value="$color">
|
|
23
24
|
<ui-swatch tone="neutral"></ui-swatch>
|
|
24
25
|
<ui-swatch tone="blue"></ui-swatch>
|
|
25
26
|
<ui-swatch tone="green"></ui-swatch>
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
export function connect(host) {
|
|
4
4
|
const element = host.element;
|
|
5
5
|
const text = () => element.querySelector("[data-chip-label]");
|
|
6
|
+
const onCommand = event => {
|
|
7
|
+
if (event.target === element && event.command === "--focus") { event.stopPropagation(); text()?.focus(); }
|
|
8
|
+
};
|
|
9
|
+
element.addEventListener("command", onCommand);
|
|
10
|
+
if (host.props.autofocus.value) queueMicrotask(() => text()?.focus());
|
|
6
11
|
const onInput = (event) => {
|
|
7
12
|
if (event.target === text()) host.dispatch("label", { label: event.target.value });
|
|
8
13
|
};
|
|
@@ -21,6 +26,7 @@ export function connect(host) {
|
|
|
21
26
|
element.addEventListener("select", onSelect);
|
|
22
27
|
element.addEventListener("keydown", onKeyDown);
|
|
23
28
|
return () => {
|
|
29
|
+
element.removeEventListener("command", onCommand);
|
|
24
30
|
element.removeEventListener("input", onInput);
|
|
25
31
|
element.removeEventListener("select", onSelect);
|
|
26
32
|
element.removeEventListener("keydown", onKeyDown);
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<link rel="component" href="../ui-editor-toolbar/ui-editor-toolbar.html">
|
|
2
|
+
<link rel="component" href="../ui-icon-button/ui-icon-button.html">
|
|
3
|
+
<link rel="component" href="../ui-button/ui-button.html">
|
|
4
|
+
<link rel="component" href="../ui-icon/ui-icon.html">
|
|
5
|
+
<link rel="component" href="../ui-separator/ui-separator.html">
|
|
6
|
+
<link rel="component" href="../ui-tooltip/ui-tooltip.html">
|
|
7
|
+
<template component="ui-editor-formatting-tools" module="./ui-editor-formatting-tools.js">
|
|
8
|
+
<defs>
|
|
9
|
+
<prop
|
|
10
|
+
name="items"
|
|
11
|
+
type="list(object({ id: string, kind: keyword, label: string, icon: string, active: boolean, disabled: boolean, expanded: boolean, shortcut: string }))"
|
|
12
|
+
default="[]"
|
|
13
|
+
>The document session's current formatting and passage actions.</prop>
|
|
14
|
+
<prop name="floating" type="boolean" default="false">Use the shared toolbar's floating presentation.</prop>
|
|
15
|
+
<state
|
|
16
|
+
name="hint"
|
|
17
|
+
type="object({ for: string, open: boolean, label: string, shortcut: string })"
|
|
18
|
+
value="{ for: '', open: false, label: '', shortcut: '' }"
|
|
19
|
+
></state>
|
|
20
|
+
<event name="tool-action" type="object({ id: string })">An enabled action was activated.</event>
|
|
21
|
+
<event name="tool-focus" type="object({ id: string })">An action received keyboard focus.</event>
|
|
22
|
+
<event name="tool-press" type="object({ id: string })">An action was pressed while the document selection was retained.</event>
|
|
23
|
+
</defs>
|
|
24
|
+
<ui-editor-toolbar from:floating="$floating">
|
|
25
|
+
<template $each="item of $items" $key="$item.id">
|
|
26
|
+
<ui-separator $if="$item.kind = 'separator'" orientation="vertical"></ui-separator>
|
|
27
|
+
<ui-icon-button
|
|
28
|
+
$if="$item.kind = 'icon'"
|
|
29
|
+
class="looma-editor__toolbar-button"
|
|
30
|
+
size="sm"
|
|
31
|
+
variant="ghost"
|
|
32
|
+
from:id="$item.id"
|
|
33
|
+
from:label="$item.label"
|
|
34
|
+
from:disabled="$item.disabled"
|
|
35
|
+
from:aria-pressed="$item.active"
|
|
36
|
+
from:aria-expanded="$item.expanded"
|
|
37
|
+
from:data-active="$item.active"
|
|
38
|
+
from:data-editor-tool="$item.id"
|
|
39
|
+
>
|
|
40
|
+
<ui-icon from:name="$item.icon"></ui-icon>
|
|
41
|
+
</ui-icon-button>
|
|
42
|
+
<ui-button
|
|
43
|
+
$if="$item.kind = 'text'"
|
|
44
|
+
size="sm"
|
|
45
|
+
variant="ghost"
|
|
46
|
+
tone="neutral"
|
|
47
|
+
type="button"
|
|
48
|
+
from:id="$item.id"
|
|
49
|
+
from:aria-label="$item.label"
|
|
50
|
+
from:disabled="$item.disabled"
|
|
51
|
+
from:aria-expanded="$item.expanded"
|
|
52
|
+
from:data-editor-tool="$item.id"
|
|
53
|
+
>{$item.label}</ui-button>
|
|
54
|
+
</template>
|
|
55
|
+
<ui-tooltip trigger="focus" from:for="$hint.for" from:open="$hint.open" from:placement="$floating ? 'top' : 'bottom'">
|
|
56
|
+
{$hint.label}<kbd slot="shortcut" $if="$hint.shortcut">{$hint.shortcut}</kbd>
|
|
57
|
+
</ui-tooltip>
|
|
58
|
+
</ui-editor-toolbar>
|
|
59
|
+
</template>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { createToolbarTooltip } from "@threadlabs/looma/editor";
|
|
2
|
+
import { tooltipShowDelay } from "../shared/tooltip.js";
|
|
3
|
+
|
|
4
|
+
// The toolbar owns focus and hints; the document session owns commands and selection.
|
|
5
|
+
export function connect(host) {
|
|
6
|
+
const root = host.element;
|
|
7
|
+
const hint = createToolbarTooltip(value => { host.state.hint = value; }, () => tooltipShowDelay(root));
|
|
8
|
+
const itemFor = event => {
|
|
9
|
+
const control = event.target instanceof Element ? event.target.closest("[data-editor-tool]") : null;
|
|
10
|
+
return control && root.contains(control) ? host.props.items.value.find(item => item.id === control.dataset.editorTool) : null;
|
|
11
|
+
};
|
|
12
|
+
const press = event => {
|
|
13
|
+
const item = itemFor(event);
|
|
14
|
+
if (!item || item.disabled) return;
|
|
15
|
+
event.preventDefault();
|
|
16
|
+
host.dispatch("tool-press", { id: item.id });
|
|
17
|
+
};
|
|
18
|
+
const activate = event => {
|
|
19
|
+
const item = itemFor(event);
|
|
20
|
+
if (item && !item.disabled) host.dispatch("tool-action", { id: item.id });
|
|
21
|
+
};
|
|
22
|
+
const show = event => {
|
|
23
|
+
const item = itemFor(event);
|
|
24
|
+
if (item) {
|
|
25
|
+
if (event.type === "focusin") host.dispatch("tool-focus", { id: item.id });
|
|
26
|
+
hint.show(item.id, item.label, event.type === "focusin", item.shortcut);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
root.addEventListener("pointerdown", press, true);
|
|
30
|
+
root.addEventListener("click", activate);
|
|
31
|
+
root.addEventListener("pointerover", show);
|
|
32
|
+
root.addEventListener("focusin", show);
|
|
33
|
+
root.addEventListener("pointerleave", hint.hide);
|
|
34
|
+
root.addEventListener("focusout", hint.hide);
|
|
35
|
+
return () => {
|
|
36
|
+
hint.destroy();
|
|
37
|
+
root.removeEventListener("pointerdown", press, true);
|
|
38
|
+
root.removeEventListener("click", activate);
|
|
39
|
+
root.removeEventListener("pointerover", show);
|
|
40
|
+
root.removeEventListener("focusin", show);
|
|
41
|
+
root.removeEventListener("pointerleave", hint.hide);
|
|
42
|
+
root.removeEventListener("focusout", hint.hide);
|
|
43
|
+
};
|
|
44
|
+
}
|