@threadlabs/looma 0.47.6 → 0.49.0
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 +39 -16
- 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 +399 -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 +933 -84
- 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
|
@@ -1,1099 +0,0 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.69 for Vue 3.5. Do not edit. -->
|
|
2
|
-
<script setup lang="ts">
|
|
3
|
-
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
|
-
import type { PropType } from 'vue'
|
|
5
|
-
import {
|
|
6
|
-
checkHydratedRoot,
|
|
7
|
-
createDispatch,
|
|
8
|
-
isInteger,
|
|
9
|
-
KeyedBoundary,
|
|
10
|
-
nativeAttrs,
|
|
11
|
-
uniqueKeys,
|
|
12
|
-
useComponentHost,
|
|
13
|
-
useReflectedProp,
|
|
14
|
-
warnUnless,
|
|
15
|
-
} from './host'
|
|
16
|
-
import { acceptsControllerWrite } from './props'
|
|
17
|
-
import {
|
|
18
|
-
BINDING_INPUTS_PROP,
|
|
19
|
-
checkedProp,
|
|
20
|
-
checkPropInput,
|
|
21
|
-
type InputBindings,
|
|
22
|
-
propValidityState,
|
|
23
|
-
READY_INPUT,
|
|
24
|
-
requireInputStatus,
|
|
25
|
-
UNRESOLVED_INPUT,
|
|
26
|
-
vPropValidity,
|
|
27
|
-
vuePropInputs,
|
|
28
|
-
} from './props'
|
|
29
|
-
import UiIcon from './UiIcon.vue'
|
|
30
|
-
|
|
31
|
-
defineOptions({ inheritAttrs: false })
|
|
32
|
-
|
|
33
|
-
const propValidityContract = {
|
|
34
|
-
props: {
|
|
35
|
-
geometry: {
|
|
36
|
-
type: {
|
|
37
|
-
kind: 'object',
|
|
38
|
-
fields: [{
|
|
39
|
-
name: 'rowBoundaries',
|
|
40
|
-
type: { kind: 'list', item: { kind: 'terminal', name: 'number' } },
|
|
41
|
-
optional: false,
|
|
42
|
-
}, {
|
|
43
|
-
name: 'columnBoundaries',
|
|
44
|
-
type: { kind: 'list', item: { kind: 'terminal', name: 'number' } },
|
|
45
|
-
optional: false,
|
|
46
|
-
}, {
|
|
47
|
-
name: 'activeCell',
|
|
48
|
-
type: {
|
|
49
|
-
kind: 'object',
|
|
50
|
-
fields: [
|
|
51
|
-
{ name: 'left', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
52
|
-
{ name: 'top', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
53
|
-
{ name: 'width', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
54
|
-
{ name: 'height', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
55
|
-
{ name: 'rowIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
56
|
-
{ name: 'columnIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
57
|
-
],
|
|
58
|
-
open: false,
|
|
59
|
-
},
|
|
60
|
-
optional: true,
|
|
61
|
-
}, {
|
|
62
|
-
name: 'hoveredCell',
|
|
63
|
-
type: {
|
|
64
|
-
kind: 'object',
|
|
65
|
-
fields: [
|
|
66
|
-
{ name: 'left', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
67
|
-
{ name: 'top', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
68
|
-
{ name: 'width', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
69
|
-
{ name: 'height', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
70
|
-
{ name: 'rowIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
71
|
-
{ name: 'columnIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
72
|
-
],
|
|
73
|
-
open: false,
|
|
74
|
-
},
|
|
75
|
-
optional: true,
|
|
76
|
-
}],
|
|
77
|
-
open: false,
|
|
78
|
-
},
|
|
79
|
-
required: false,
|
|
80
|
-
target: { attribute: 'geometry' },
|
|
81
|
-
description:
|
|
82
|
-
'The authoritative editor-measured table boundaries and active or hovered cell rectangles.',
|
|
83
|
-
},
|
|
84
|
-
open: {
|
|
85
|
-
type: { kind: 'terminal', name: 'boolean' },
|
|
86
|
-
required: false,
|
|
87
|
-
target: { attribute: 'open' },
|
|
88
|
-
description: 'Shows the controls after the editor has supplied current geometry.',
|
|
89
|
-
default: false,
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
} as const
|
|
93
|
-
const props = defineProps({
|
|
94
|
-
geometry: {
|
|
95
|
-
type: null as unknown as PropType<
|
|
96
|
-
{
|
|
97
|
-
readonly rowBoundaries: readonly (number)[]
|
|
98
|
-
readonly columnBoundaries: readonly (number)[]
|
|
99
|
-
readonly activeCell?: {
|
|
100
|
-
readonly left: number
|
|
101
|
-
readonly top: number
|
|
102
|
-
readonly width: number
|
|
103
|
-
readonly height: number
|
|
104
|
-
readonly rowIndex: number
|
|
105
|
-
readonly columnIndex: number
|
|
106
|
-
} | null
|
|
107
|
-
readonly hoveredCell?: {
|
|
108
|
-
readonly left: number
|
|
109
|
-
readonly top: number
|
|
110
|
-
readonly width: number
|
|
111
|
-
readonly height: number
|
|
112
|
-
readonly rowIndex: number
|
|
113
|
-
readonly columnIndex: number
|
|
114
|
-
} | null
|
|
115
|
-
} | null
|
|
116
|
-
>,
|
|
117
|
-
},
|
|
118
|
-
open: { type: null as unknown as PropType<boolean | null> },
|
|
119
|
-
[BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
|
|
120
|
-
})
|
|
121
|
-
const acceptedProps: Record<string, unknown> = { geometry: null, open: false }
|
|
122
|
-
const inputTracking = vuePropInputs(
|
|
123
|
-
acceptedProps,
|
|
124
|
-
{ open: false },
|
|
125
|
-
(name, value, source, values) => {
|
|
126
|
-
switch (name) {
|
|
127
|
-
case 'geometry':
|
|
128
|
-
return checkPropInput(
|
|
129
|
-
value,
|
|
130
|
-
{
|
|
131
|
-
kind: 'object',
|
|
132
|
-
fields: [{
|
|
133
|
-
name: 'rowBoundaries',
|
|
134
|
-
type: { kind: 'list', item: { kind: 'terminal', name: 'number' } },
|
|
135
|
-
optional: false,
|
|
136
|
-
}, {
|
|
137
|
-
name: 'columnBoundaries',
|
|
138
|
-
type: { kind: 'list', item: { kind: 'terminal', name: 'number' } },
|
|
139
|
-
optional: false,
|
|
140
|
-
}, {
|
|
141
|
-
name: 'activeCell',
|
|
142
|
-
type: {
|
|
143
|
-
kind: 'object',
|
|
144
|
-
fields: [
|
|
145
|
-
{ name: 'left', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
146
|
-
{ name: 'top', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
147
|
-
{ name: 'width', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
148
|
-
{ name: 'height', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
149
|
-
{
|
|
150
|
-
name: 'rowIndex',
|
|
151
|
-
type: { kind: 'terminal', name: 'integer' },
|
|
152
|
-
optional: false,
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
name: 'columnIndex',
|
|
156
|
-
type: { kind: 'terminal', name: 'integer' },
|
|
157
|
-
optional: false,
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
open: false,
|
|
161
|
-
},
|
|
162
|
-
optional: true,
|
|
163
|
-
}, {
|
|
164
|
-
name: 'hoveredCell',
|
|
165
|
-
type: {
|
|
166
|
-
kind: 'object',
|
|
167
|
-
fields: [
|
|
168
|
-
{ name: 'left', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
169
|
-
{ name: 'top', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
170
|
-
{ name: 'width', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
171
|
-
{ name: 'height', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
172
|
-
{
|
|
173
|
-
name: 'rowIndex',
|
|
174
|
-
type: { kind: 'terminal', name: 'integer' },
|
|
175
|
-
optional: false,
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
name: 'columnIndex',
|
|
179
|
-
type: { kind: 'terminal', name: 'integer' },
|
|
180
|
-
optional: false,
|
|
181
|
-
},
|
|
182
|
-
],
|
|
183
|
-
open: false,
|
|
184
|
-
},
|
|
185
|
-
optional: true,
|
|
186
|
-
}],
|
|
187
|
-
open: false,
|
|
188
|
-
},
|
|
189
|
-
true,
|
|
190
|
-
true,
|
|
191
|
-
)
|
|
192
|
-
case 'open':
|
|
193
|
-
return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
|
|
194
|
-
default:
|
|
195
|
-
return { ok: false }
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
() => {
|
|
199
|
-
void checkedProps.value
|
|
200
|
-
},
|
|
201
|
-
)
|
|
202
|
-
const propInputs = inputTracking.inputs
|
|
203
|
-
const checkedProps = computed(() => {
|
|
204
|
-
void inputTracking.version.value
|
|
205
|
-
return ({
|
|
206
|
-
geometry: propInputs.value<
|
|
207
|
-
{
|
|
208
|
-
readonly rowBoundaries: readonly (number)[]
|
|
209
|
-
readonly columnBoundaries: readonly (number)[]
|
|
210
|
-
readonly activeCell?: {
|
|
211
|
-
readonly left: number
|
|
212
|
-
readonly top: number
|
|
213
|
-
readonly width: number
|
|
214
|
-
readonly height: number
|
|
215
|
-
readonly rowIndex: number
|
|
216
|
-
readonly columnIndex: number
|
|
217
|
-
} | null
|
|
218
|
-
readonly hoveredCell?: {
|
|
219
|
-
readonly left: number
|
|
220
|
-
readonly top: number
|
|
221
|
-
readonly width: number
|
|
222
|
-
readonly height: number
|
|
223
|
-
readonly rowIndex: number
|
|
224
|
-
readonly columnIndex: number
|
|
225
|
-
} | null
|
|
226
|
-
} | null
|
|
227
|
-
>('geometry', props['geometry'], props[BINDING_INPUTS_PROP]),
|
|
228
|
-
open: propInputs.value<boolean | null>(
|
|
229
|
-
'open',
|
|
230
|
-
props['open'],
|
|
231
|
-
props[BINDING_INPUTS_PROP],
|
|
232
|
-
) as boolean,
|
|
233
|
-
})
|
|
234
|
-
})
|
|
235
|
-
const inputStatus = (name: string, handlesError: boolean) => {
|
|
236
|
-
void checkedProps.value
|
|
237
|
-
void inputTracking.version.value
|
|
238
|
-
return requireInputStatus(propInputs.status(name), handlesError)
|
|
239
|
-
}
|
|
240
|
-
void checkedProps.value
|
|
241
|
-
watchSyncEffect(() => {
|
|
242
|
-
void checkedProps.value
|
|
243
|
-
})
|
|
244
|
-
const reflectedProp = useReflectedProp()
|
|
245
|
-
const hydrationInstance = getCurrentInstance()
|
|
246
|
-
const emit = defineEmits<{
|
|
247
|
-
'add-row-before': [event: CustomEvent<{ readonly boundaryIndex: number }>]
|
|
248
|
-
'add-row-after': [event: CustomEvent<{ readonly boundaryIndex: number }>]
|
|
249
|
-
'add-column-before': [event: CustomEvent<{ readonly boundaryIndex: number }>]
|
|
250
|
-
'add-column-after': [event: CustomEvent<{ readonly boundaryIndex: number }>]
|
|
251
|
-
'select-row': [event: CustomEvent<{ readonly rowIndex: number; readonly columnIndex: number }>]
|
|
252
|
-
'select-column': [event: CustomEvent<{ readonly rowIndex: number; readonly columnIndex: number }>]
|
|
253
|
-
'reorder-row': [event: CustomEvent<{ readonly fromIndex: number; readonly toIndex: number }>]
|
|
254
|
-
'reorder-column': [event: CustomEvent<{ readonly fromIndex: number; readonly toIndex: number }>]
|
|
255
|
-
'open-cell-menu': [
|
|
256
|
-
event: CustomEvent<
|
|
257
|
-
{
|
|
258
|
-
readonly rowIndex: number
|
|
259
|
-
readonly columnIndex: number
|
|
260
|
-
readonly anchor: {
|
|
261
|
-
readonly left: number
|
|
262
|
-
readonly top: number
|
|
263
|
-
readonly right: number
|
|
264
|
-
readonly bottom: number
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
>,
|
|
268
|
-
]
|
|
269
|
-
'open-row-menu': [
|
|
270
|
-
event: CustomEvent<
|
|
271
|
-
{
|
|
272
|
-
readonly rowIndex: number
|
|
273
|
-
readonly columnIndex: number
|
|
274
|
-
readonly anchor: {
|
|
275
|
-
readonly left: number
|
|
276
|
-
readonly top: number
|
|
277
|
-
readonly right: number
|
|
278
|
-
readonly bottom: number
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
>,
|
|
282
|
-
]
|
|
283
|
-
'open-column-menu': [
|
|
284
|
-
event: CustomEvent<
|
|
285
|
-
{
|
|
286
|
-
readonly rowIndex: number
|
|
287
|
-
readonly columnIndex: number
|
|
288
|
-
readonly anchor: {
|
|
289
|
-
readonly left: number
|
|
290
|
-
readonly top: number
|
|
291
|
-
readonly right: number
|
|
292
|
-
readonly bottom: number
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
>,
|
|
296
|
-
]
|
|
297
|
-
}>()
|
|
298
|
-
|
|
299
|
-
const root = ref<HTMLElement | null>(null)
|
|
300
|
-
const rows = ref<
|
|
301
|
-
{
|
|
302
|
-
key: string
|
|
303
|
-
index: number
|
|
304
|
-
offset: string
|
|
305
|
-
affordance: 'insert-row' | 'insert-column'
|
|
306
|
-
action: 'add-row-before' | 'add-row-after' | 'add-column-before' | 'add-column-after'
|
|
307
|
-
label: string
|
|
308
|
-
}[]
|
|
309
|
-
>([])
|
|
310
|
-
const cols = ref<
|
|
311
|
-
{
|
|
312
|
-
key: string
|
|
313
|
-
index: number
|
|
314
|
-
offset: string
|
|
315
|
-
affordance: 'insert-row' | 'insert-column'
|
|
316
|
-
action: 'add-row-before' | 'add-row-after' | 'add-column-before' | 'add-column-after'
|
|
317
|
-
label: string
|
|
318
|
-
}[]
|
|
319
|
-
>([])
|
|
320
|
-
const hovered = ref<
|
|
321
|
-
{
|
|
322
|
-
left: number
|
|
323
|
-
top: number
|
|
324
|
-
width: number
|
|
325
|
-
height: number
|
|
326
|
-
rowIndex: number
|
|
327
|
-
columnIndex: number
|
|
328
|
-
rowOffset: string
|
|
329
|
-
columnOffset: string
|
|
330
|
-
} | null
|
|
331
|
-
>(null)
|
|
332
|
-
const active = ref<
|
|
333
|
-
{
|
|
334
|
-
left: number
|
|
335
|
-
top: number
|
|
336
|
-
width: number
|
|
337
|
-
height: number
|
|
338
|
-
rowIndex: number
|
|
339
|
-
columnIndex: number
|
|
340
|
-
menuLeft: string
|
|
341
|
-
menuTop: string
|
|
342
|
-
} | null
|
|
343
|
-
>(null)
|
|
344
|
-
const activeKey = ref('')
|
|
345
|
-
let guardedPrevious: any
|
|
346
|
-
const guarded = computed(() => {
|
|
347
|
-
if (
|
|
348
|
-
!(warnUnless(
|
|
349
|
-
hovered.value?.['rowOffset'] == null || typeof hovered.value?.['rowOffset'] === 'string',
|
|
350
|
-
'$hovered.rowOffset:hovered.rowOffset',
|
|
351
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.rowOffset does not satisfy its declared type.',
|
|
352
|
-
))
|
|
353
|
-
) return guardedPrevious
|
|
354
|
-
return guardedPrevious = hovered.value?.rowOffset
|
|
355
|
-
})
|
|
356
|
-
let guardedBindingPrevious: any
|
|
357
|
-
const guardedBinding = computed(() => {
|
|
358
|
-
if (
|
|
359
|
-
!(warnUnless(
|
|
360
|
-
hovered.value?.['rowIndex'] == null || Number.isInteger(hovered.value?.['rowIndex']),
|
|
361
|
-
'$hovered.rowIndex:hovered.rowIndex',
|
|
362
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.rowIndex does not satisfy its declared type.',
|
|
363
|
-
))
|
|
364
|
-
) return guardedBindingPrevious
|
|
365
|
-
return guardedBindingPrevious = hovered.value?.rowIndex
|
|
366
|
-
})
|
|
367
|
-
let guardedBinding2Previous: any
|
|
368
|
-
const guardedBinding2 = computed(() => {
|
|
369
|
-
if (
|
|
370
|
-
!(warnUnless(
|
|
371
|
-
hovered.value?.['columnIndex'] == null || Number.isInteger(hovered.value?.['columnIndex']),
|
|
372
|
-
'$hovered.columnIndex:hovered.columnIndex',
|
|
373
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.columnIndex does not satisfy its declared type.',
|
|
374
|
-
))
|
|
375
|
-
) return guardedBinding2Previous
|
|
376
|
-
return guardedBinding2Previous = hovered.value?.columnIndex
|
|
377
|
-
})
|
|
378
|
-
let guardedBinding3Previous: any
|
|
379
|
-
const guardedBinding3 = computed(() => {
|
|
380
|
-
if (
|
|
381
|
-
!(warnUnless(
|
|
382
|
-
hovered.value?.['columnOffset'] == null
|
|
383
|
-
|| typeof hovered.value?.['columnOffset'] === 'string',
|
|
384
|
-
'$hovered.columnOffset:hovered.columnOffset',
|
|
385
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.columnOffset does not satisfy its declared type.',
|
|
386
|
-
))
|
|
387
|
-
) return guardedBinding3Previous
|
|
388
|
-
return guardedBinding3Previous = hovered.value?.columnOffset
|
|
389
|
-
})
|
|
390
|
-
let guardedBinding4Previous: any
|
|
391
|
-
const guardedBinding4 = computed(() => {
|
|
392
|
-
if (
|
|
393
|
-
!(warnUnless(
|
|
394
|
-
hovered.value?.['rowIndex'] == null || Number.isInteger(hovered.value?.['rowIndex']),
|
|
395
|
-
'$hovered.rowIndex:hovered.rowIndex',
|
|
396
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.rowIndex does not satisfy its declared type.',
|
|
397
|
-
))
|
|
398
|
-
) return guardedBinding4Previous
|
|
399
|
-
return guardedBinding4Previous = hovered.value?.rowIndex
|
|
400
|
-
})
|
|
401
|
-
let guardedBinding5Previous: any
|
|
402
|
-
const guardedBinding5 = computed(() => {
|
|
403
|
-
if (
|
|
404
|
-
!(warnUnless(
|
|
405
|
-
hovered.value?.['columnIndex'] == null || Number.isInteger(hovered.value?.['columnIndex']),
|
|
406
|
-
'$hovered.columnIndex:hovered.columnIndex',
|
|
407
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference hovered.columnIndex does not satisfy its declared type.',
|
|
408
|
-
))
|
|
409
|
-
) return guardedBinding5Previous
|
|
410
|
-
return guardedBinding5Previous = hovered.value?.columnIndex
|
|
411
|
-
})
|
|
412
|
-
let guardedBinding6Previous: any
|
|
413
|
-
const guardedBinding6 = computed(() => {
|
|
414
|
-
if (
|
|
415
|
-
!(warnUnless(
|
|
416
|
-
active.value?.['menuLeft'] == null || typeof active.value?.['menuLeft'] === 'string',
|
|
417
|
-
'$active.menuLeft:active.menuLeft',
|
|
418
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference active.menuLeft does not satisfy its declared type.',
|
|
419
|
-
))
|
|
420
|
-
) return guardedBinding6Previous
|
|
421
|
-
return guardedBinding6Previous = active.value?.menuLeft
|
|
422
|
-
})
|
|
423
|
-
let guardedBinding7Previous: any
|
|
424
|
-
const guardedBinding7 = computed(() => {
|
|
425
|
-
if (
|
|
426
|
-
!(warnUnless(
|
|
427
|
-
active.value?.['menuTop'] == null || typeof active.value?.['menuTop'] === 'string',
|
|
428
|
-
'$active.menuTop:active.menuTop',
|
|
429
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference active.menuTop does not satisfy its declared type.',
|
|
430
|
-
))
|
|
431
|
-
) return guardedBinding7Previous
|
|
432
|
-
return guardedBinding7Previous = active.value?.menuTop
|
|
433
|
-
})
|
|
434
|
-
let guardedBinding8Previous: any
|
|
435
|
-
const guardedBinding8 = computed(() => {
|
|
436
|
-
if (
|
|
437
|
-
!(warnUnless(
|
|
438
|
-
active.value?.['rowIndex'] == null || Number.isInteger(active.value?.['rowIndex']),
|
|
439
|
-
'$active.rowIndex:active.rowIndex',
|
|
440
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference active.rowIndex does not satisfy its declared type.',
|
|
441
|
-
))
|
|
442
|
-
) return guardedBinding8Previous
|
|
443
|
-
return guardedBinding8Previous = active.value?.rowIndex
|
|
444
|
-
})
|
|
445
|
-
let guardedBinding9Previous: any
|
|
446
|
-
const guardedBinding9 = computed(() => {
|
|
447
|
-
if (
|
|
448
|
-
!(warnUnless(
|
|
449
|
-
active.value?.['columnIndex'] == null || Number.isInteger(active.value?.['columnIndex']),
|
|
450
|
-
'$active.columnIndex:active.columnIndex',
|
|
451
|
-
'./components/ui-editor-table-overlay/ui-editor-table-overlay.html: HR007: Reference active.columnIndex does not satisfy its declared type.',
|
|
452
|
-
))
|
|
453
|
-
) return guardedBinding9Previous
|
|
454
|
-
return guardedBinding9Previous = active.value?.columnIndex
|
|
455
|
-
})
|
|
456
|
-
provide('html-next:ui-editor-table-overlay:rows', rows)
|
|
457
|
-
provide('html-next:ui-editor-table-overlay:cols', cols)
|
|
458
|
-
provide('html-next:ui-editor-table-overlay:hovered', hovered)
|
|
459
|
-
provide('html-next:ui-editor-table-overlay:active', active)
|
|
460
|
-
provide('html-next:ui-editor-table-overlay:activeKey', activeKey)
|
|
461
|
-
checkHydratedRoot('div', 'ui-editor-table-overlay')
|
|
462
|
-
|
|
463
|
-
const isAddRowBeforeDetail = (
|
|
464
|
-
detail: unknown,
|
|
465
|
-
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
466
|
-
&& Number.isInteger((detail as Record<string, unknown>)['boundaryIndex'])
|
|
467
|
-
&& Object.keys(detail as object).every((key) => ['boundaryIndex'].includes(key)))
|
|
468
|
-
const isSelectRowDetail = (
|
|
469
|
-
detail: unknown,
|
|
470
|
-
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
471
|
-
&& Number.isInteger((detail as Record<string, unknown>)['rowIndex'])
|
|
472
|
-
&& Number.isInteger((detail as Record<string, unknown>)['columnIndex'])
|
|
473
|
-
&& Object.keys(detail as object).every((key) => ['rowIndex', 'columnIndex'].includes(key)))
|
|
474
|
-
const isReorderRowDetail = (
|
|
475
|
-
detail: unknown,
|
|
476
|
-
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
477
|
-
&& Number.isInteger((detail as Record<string, unknown>)['fromIndex'])
|
|
478
|
-
&& Number.isInteger((detail as Record<string, unknown>)['toIndex'])
|
|
479
|
-
&& Object.keys(detail as object).every((key) => ['fromIndex', 'toIndex'].includes(key)))
|
|
480
|
-
const isOpenCellMenuDetail = (
|
|
481
|
-
detail: unknown,
|
|
482
|
-
): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
|
|
483
|
-
&& Number.isInteger((detail as Record<string, unknown>)['rowIndex'])
|
|
484
|
-
&& Number.isInteger((detail as Record<string, unknown>)['columnIndex'])
|
|
485
|
-
&& ((detail as Record<string, unknown>)['anchor'] !== null
|
|
486
|
-
&& typeof (detail as Record<string, unknown>)['anchor'] === 'object'
|
|
487
|
-
&& !Array.isArray((detail as Record<string, unknown>)['anchor'])
|
|
488
|
-
&& (typeof ((detail as Record<string, unknown>)['anchor'] as Record<string, unknown>)['left']
|
|
489
|
-
=== 'number'
|
|
490
|
-
&& Number.isFinite(
|
|
491
|
-
((detail as Record<string, unknown>)['anchor'] as Record<string, unknown>)['left'],
|
|
492
|
-
))
|
|
493
|
-
&& (typeof ((detail as Record<string, unknown>)['anchor'] as Record<string, unknown>)['top']
|
|
494
|
-
=== 'number'
|
|
495
|
-
&& Number.isFinite(
|
|
496
|
-
((detail as Record<string, unknown>)['anchor'] as Record<string, unknown>)['top'],
|
|
497
|
-
))
|
|
498
|
-
&& (typeof ((detail as Record<string, unknown>)['anchor'] as Record<string, unknown>)['right']
|
|
499
|
-
=== 'number'
|
|
500
|
-
&& Number.isFinite(
|
|
501
|
-
((detail as Record<string, unknown>)['anchor'] as Record<string, unknown>)['right'],
|
|
502
|
-
))
|
|
503
|
-
&& (typeof ((detail as Record<string, unknown>)['anchor'] as Record<string, unknown>)['bottom']
|
|
504
|
-
=== 'number'
|
|
505
|
-
&& Number.isFinite(
|
|
506
|
-
((detail as Record<string, unknown>)['anchor'] as Record<string, unknown>)['bottom'],
|
|
507
|
-
))
|
|
508
|
-
&& Object.keys((detail as Record<string, unknown>)['anchor'] as object).every((key) =>
|
|
509
|
-
['left', 'top', 'right', 'bottom'].includes(key)
|
|
510
|
-
))
|
|
511
|
-
&& Object.keys(detail as object).every((key) =>
|
|
512
|
-
['rowIndex', 'columnIndex', 'anchor'].includes(key)
|
|
513
|
-
))
|
|
514
|
-
const dispatch = createDispatch(root, emit as (name: string, detail: unknown) => void, {
|
|
515
|
-
checks: {
|
|
516
|
-
'add-row-before': isAddRowBeforeDetail,
|
|
517
|
-
'add-row-after': isAddRowBeforeDetail,
|
|
518
|
-
'add-column-before': isAddRowBeforeDetail,
|
|
519
|
-
'add-column-after': isAddRowBeforeDetail,
|
|
520
|
-
'select-row': isSelectRowDetail,
|
|
521
|
-
'select-column': isSelectRowDetail,
|
|
522
|
-
'reorder-row': isReorderRowDetail,
|
|
523
|
-
'reorder-column': isReorderRowDetail,
|
|
524
|
-
'open-cell-menu': isOpenCellMenuDetail,
|
|
525
|
-
'open-row-menu': isOpenCellMenuDetail,
|
|
526
|
-
'open-column-menu': isOpenCellMenuDetail,
|
|
527
|
-
},
|
|
528
|
-
})
|
|
529
|
-
|
|
530
|
-
useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-table-overlay.js'), {
|
|
531
|
-
root,
|
|
532
|
-
module: true,
|
|
533
|
-
dispatch,
|
|
534
|
-
acceptsState: (name: string, keys: readonly string[], value: unknown) =>
|
|
535
|
-
acceptsControllerWrite(
|
|
536
|
-
value,
|
|
537
|
-
({
|
|
538
|
-
rows: {
|
|
539
|
-
kind: 'list',
|
|
540
|
-
item: {
|
|
541
|
-
kind: 'object',
|
|
542
|
-
fields: [
|
|
543
|
-
{ name: 'key', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
544
|
-
{ name: 'index', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
545
|
-
{ name: 'offset', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
546
|
-
{
|
|
547
|
-
name: 'affordance',
|
|
548
|
-
type: {
|
|
549
|
-
kind: 'constrained',
|
|
550
|
-
base: { kind: 'terminal', name: 'keyword' },
|
|
551
|
-
values: ['insert-row', 'insert-column'],
|
|
552
|
-
},
|
|
553
|
-
optional: false,
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
name: 'action',
|
|
557
|
-
type: {
|
|
558
|
-
kind: 'constrained',
|
|
559
|
-
base: { kind: 'terminal', name: 'keyword' },
|
|
560
|
-
values: [
|
|
561
|
-
'add-row-before',
|
|
562
|
-
'add-row-after',
|
|
563
|
-
'add-column-before',
|
|
564
|
-
'add-column-after',
|
|
565
|
-
],
|
|
566
|
-
},
|
|
567
|
-
optional: false,
|
|
568
|
-
},
|
|
569
|
-
{ name: 'label', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
570
|
-
],
|
|
571
|
-
open: false,
|
|
572
|
-
},
|
|
573
|
-
},
|
|
574
|
-
cols: {
|
|
575
|
-
kind: 'list',
|
|
576
|
-
item: {
|
|
577
|
-
kind: 'object',
|
|
578
|
-
fields: [
|
|
579
|
-
{ name: 'key', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
580
|
-
{ name: 'index', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
581
|
-
{ name: 'offset', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
582
|
-
{
|
|
583
|
-
name: 'affordance',
|
|
584
|
-
type: {
|
|
585
|
-
kind: 'constrained',
|
|
586
|
-
base: { kind: 'terminal', name: 'keyword' },
|
|
587
|
-
values: ['insert-row', 'insert-column'],
|
|
588
|
-
},
|
|
589
|
-
optional: false,
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
name: 'action',
|
|
593
|
-
type: {
|
|
594
|
-
kind: 'constrained',
|
|
595
|
-
base: { kind: 'terminal', name: 'keyword' },
|
|
596
|
-
values: [
|
|
597
|
-
'add-row-before',
|
|
598
|
-
'add-row-after',
|
|
599
|
-
'add-column-before',
|
|
600
|
-
'add-column-after',
|
|
601
|
-
],
|
|
602
|
-
},
|
|
603
|
-
optional: false,
|
|
604
|
-
},
|
|
605
|
-
{ name: 'label', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
606
|
-
],
|
|
607
|
-
open: false,
|
|
608
|
-
},
|
|
609
|
-
},
|
|
610
|
-
hovered: {
|
|
611
|
-
kind: 'object',
|
|
612
|
-
fields: [
|
|
613
|
-
{ name: 'left', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
614
|
-
{ name: 'top', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
615
|
-
{ name: 'width', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
616
|
-
{ name: 'height', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
617
|
-
{ name: 'rowIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
618
|
-
{ name: 'columnIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
619
|
-
{ name: 'rowOffset', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
620
|
-
{ name: 'columnOffset', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
621
|
-
],
|
|
622
|
-
open: false,
|
|
623
|
-
},
|
|
624
|
-
active: {
|
|
625
|
-
kind: 'object',
|
|
626
|
-
fields: [
|
|
627
|
-
{ name: 'left', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
628
|
-
{ name: 'top', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
629
|
-
{ name: 'width', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
630
|
-
{ name: 'height', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
631
|
-
{ name: 'rowIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
632
|
-
{ name: 'columnIndex', type: { kind: 'terminal', name: 'integer' }, optional: false },
|
|
633
|
-
{ name: 'menuLeft', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
634
|
-
{ name: 'menuTop', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
635
|
-
],
|
|
636
|
-
open: false,
|
|
637
|
-
},
|
|
638
|
-
activeKey: { kind: 'terminal', name: 'string' },
|
|
639
|
-
} as Record<string, any>)[name],
|
|
640
|
-
keys,
|
|
641
|
-
),
|
|
642
|
-
initials: { rows: [], cols: [], activeKey: '' },
|
|
643
|
-
controllerSource: {
|
|
644
|
-
specifier: '../components/ui-editor-table-overlay/ui-editor-table-overlay.js',
|
|
645
|
-
definition: './components/ui-editor-table-overlay/ui-editor-table-overlay.html',
|
|
646
|
-
},
|
|
647
|
-
props: checkedProps,
|
|
648
|
-
inputs: propInputs,
|
|
649
|
-
inputTracking,
|
|
650
|
-
propInputs: (name: string) => {
|
|
651
|
-
const incoming = hydrationInstance?.vnode.props
|
|
652
|
-
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
653
|
-
return incoming !== null && incoming !== undefined
|
|
654
|
-
? (incoming[name] ?? incoming[kebab] ?? null)
|
|
655
|
-
: null
|
|
656
|
-
},
|
|
657
|
-
propNames: ['geometry', 'open'],
|
|
658
|
-
propValidity: (name: string) =>
|
|
659
|
-
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
660
|
-
state: { rows, cols, hovered, active, activeKey },
|
|
661
|
-
})
|
|
662
|
-
</script>
|
|
663
|
-
|
|
664
|
-
<template>
|
|
665
|
-
<div
|
|
666
|
-
class="ui-editor-table-overlay"
|
|
667
|
-
aria-label="Table controls"
|
|
668
|
-
v-bind="nativeAttrs($attrs)"
|
|
669
|
-
data-hn
|
|
670
|
-
data-hn-ui-editor-table-overlay
|
|
671
|
-
:hidden="!checkedProps.open"
|
|
672
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
673
|
-
:data-ui-editor-table-overlay-prop-geometry="reflectedProp('geometry', 'geometry', checkedProps.geometry, undefined, false)"
|
|
674
|
-
:data-ui-editor-table-overlay-prop-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
|
|
675
|
-
ref="root"
|
|
676
|
-
>
|
|
677
|
-
<slot />
|
|
678
|
-
<div class="rows" data-hn-ui-editor-table-overlay>
|
|
679
|
-
<KeyedBoundary><div
|
|
680
|
-
v-for="control in uniqueKeys(rows, (control, index, loop) => control.key)"
|
|
681
|
-
:key="control.key"
|
|
682
|
-
class="control row"
|
|
683
|
-
data-hn-ui-editor-table-overlay
|
|
684
|
-
:data-control-key="control.key"
|
|
685
|
-
:class="{ active: control.key === activeKey }"
|
|
686
|
-
:style="{ top: control.offset }"
|
|
687
|
-
>
|
|
688
|
-
<span class="line" aria-hidden="true" data-hn-ui-editor-table-overlay></span>{{
|
|
689
|
-
' '
|
|
690
|
-
}}<span
|
|
691
|
-
class="guide"
|
|
692
|
-
data-ui-guide=""
|
|
693
|
-
aria-hidden="true"
|
|
694
|
-
data-hn-ui-editor-table-overlay
|
|
695
|
-
></span>{{ ' ' }}<button
|
|
696
|
-
type="button"
|
|
697
|
-
class="handle"
|
|
698
|
-
data-hn-ui-editor-table-overlay
|
|
699
|
-
:data-ui-affordance="control.affordance"
|
|
700
|
-
:data-action="control.action"
|
|
701
|
-
:data-boundary-index="control.index"
|
|
702
|
-
:aria-label="control.label"
|
|
703
|
-
>
|
|
704
|
-
<UiIcon class="ui-icon" name="plus" />{{ ' ' }}<span
|
|
705
|
-
class="tooltip"
|
|
706
|
-
role="tooltip"
|
|
707
|
-
data-hn-ui-editor-table-overlay
|
|
708
|
-
>{{ control.label }}</span>
|
|
709
|
-
</button>
|
|
710
|
-
</div></KeyedBoundary>
|
|
711
|
-
</div>
|
|
712
|
-
<div class="cols" data-hn-ui-editor-table-overlay>
|
|
713
|
-
<KeyedBoundary><div
|
|
714
|
-
v-for="control in uniqueKeys(cols, (control, indexLoop, loop) => control.key)"
|
|
715
|
-
:key="control.key"
|
|
716
|
-
class="control col"
|
|
717
|
-
data-hn-ui-editor-table-overlay
|
|
718
|
-
:data-control-key="control.key"
|
|
719
|
-
:class="{ active: control.key === activeKey }"
|
|
720
|
-
:style="{ left: control.offset }"
|
|
721
|
-
>
|
|
722
|
-
<span class="line" aria-hidden="true" data-hn-ui-editor-table-overlay></span>{{
|
|
723
|
-
' '
|
|
724
|
-
}}<span
|
|
725
|
-
class="guide"
|
|
726
|
-
data-ui-guide=""
|
|
727
|
-
aria-hidden="true"
|
|
728
|
-
data-hn-ui-editor-table-overlay
|
|
729
|
-
></span>{{ ' ' }}<button
|
|
730
|
-
type="button"
|
|
731
|
-
class="handle"
|
|
732
|
-
data-hn-ui-editor-table-overlay
|
|
733
|
-
:data-ui-affordance="control.affordance"
|
|
734
|
-
:data-action="control.action"
|
|
735
|
-
:data-boundary-index="control.index"
|
|
736
|
-
:aria-label="control.label"
|
|
737
|
-
>
|
|
738
|
-
<UiIcon class="ui-icon" name="plus" />{{ ' ' }}<span
|
|
739
|
-
class="tooltip"
|
|
740
|
-
role="tooltip"
|
|
741
|
-
data-hn-ui-editor-table-overlay
|
|
742
|
-
>{{ control.label }}</span>
|
|
743
|
-
</button>
|
|
744
|
-
</div></KeyedBoundary>
|
|
745
|
-
</div>
|
|
746
|
-
<template v-if="hovered">{{ ' ' }}<button
|
|
747
|
-
type="button"
|
|
748
|
-
class="selector row"
|
|
749
|
-
data-action="select-row"
|
|
750
|
-
title="Drag row to reorder; click for actions"
|
|
751
|
-
aria-label="Row actions"
|
|
752
|
-
data-hn-ui-editor-table-overlay
|
|
753
|
-
:data-row-index="guardedBinding"
|
|
754
|
-
:data-column-index="guardedBinding2"
|
|
755
|
-
:style="{ top: guarded }"
|
|
756
|
-
>
|
|
757
|
-
<span class="glyph" data-hn-ui-editor-table-overlay><UiIcon
|
|
758
|
-
class="ui-icon"
|
|
759
|
-
name="grip-vertical"
|
|
760
|
-
/></span>
|
|
761
|
-
</button>{{ ' ' }}<button
|
|
762
|
-
type="button"
|
|
763
|
-
class="selector column"
|
|
764
|
-
data-action="select-column"
|
|
765
|
-
title="Drag column to reorder; click for actions"
|
|
766
|
-
aria-label="Column actions"
|
|
767
|
-
data-hn-ui-editor-table-overlay
|
|
768
|
-
:data-row-index="guardedBinding4"
|
|
769
|
-
:data-column-index="guardedBinding5"
|
|
770
|
-
:style="{ left: guardedBinding3 }"
|
|
771
|
-
>
|
|
772
|
-
<span class="glyph" data-hn-ui-editor-table-overlay><UiIcon
|
|
773
|
-
class="ui-icon"
|
|
774
|
-
name="grip-horizontal"
|
|
775
|
-
/></span>
|
|
776
|
-
</button>{{ ' ' }}</template>{{ ' ' }}<button
|
|
777
|
-
v-if="active"
|
|
778
|
-
type="button"
|
|
779
|
-
class="cell-menu"
|
|
780
|
-
data-action="open-cell-menu"
|
|
781
|
-
title="Cell actions"
|
|
782
|
-
aria-label="Cell actions"
|
|
783
|
-
data-hn-ui-editor-table-overlay
|
|
784
|
-
:data-row-index="guardedBinding8"
|
|
785
|
-
:data-column-index="guardedBinding9"
|
|
786
|
-
:style="{ left: guardedBinding6, top: guardedBinding7 }"
|
|
787
|
-
>
|
|
788
|
-
<UiIcon class="ui-icon" name="chevron-down" />
|
|
789
|
-
</button>{{ ' ' }}<span
|
|
790
|
-
class="drop-indicator"
|
|
791
|
-
data-drop-indicator=""
|
|
792
|
-
hidden=""
|
|
793
|
-
aria-hidden="true"
|
|
794
|
-
data-hn-ui-editor-table-overlay
|
|
795
|
-
></span>
|
|
796
|
-
</div>
|
|
797
|
-
</template>
|
|
798
|
-
|
|
799
|
-
<style scoped>
|
|
800
|
-
@scope (.ui-editor-table-overlay) to ([data-hn]) {
|
|
801
|
-
:global(:scope:where([data-hn-ui-editor-table-overlay])) {
|
|
802
|
-
display: block !important;
|
|
803
|
-
width: 100%;
|
|
804
|
-
height: 100%;
|
|
805
|
-
overflow: visible;
|
|
806
|
-
pointer-events: none;
|
|
807
|
-
}
|
|
808
|
-
:global(:scope:where([data-hn-ui-editor-table-overlay])) {
|
|
809
|
-
position: relative;
|
|
810
|
-
width: 100%;
|
|
811
|
-
height: 100%;
|
|
812
|
-
overflow: visible;
|
|
813
|
-
pointer-events: none;
|
|
814
|
-
}
|
|
815
|
-
:global(.rows:where([data-hn-ui-editor-table-overlay])),
|
|
816
|
-
:global(.cols:where([data-hn-ui-editor-table-overlay])) {
|
|
817
|
-
pointer-events: none;
|
|
818
|
-
position: absolute;
|
|
819
|
-
}
|
|
820
|
-
:global(.rows:where([data-hn-ui-editor-table-overlay])) {
|
|
821
|
-
inset: 0;
|
|
822
|
-
width: 100%;
|
|
823
|
-
}
|
|
824
|
-
:global(.cols:where([data-hn-ui-editor-table-overlay])) {
|
|
825
|
-
inset: 0;
|
|
826
|
-
height: 100%;
|
|
827
|
-
}
|
|
828
|
-
:global(.control:where([data-hn-ui-editor-table-overlay])) {
|
|
829
|
-
position: absolute;
|
|
830
|
-
z-index: 1;
|
|
831
|
-
pointer-events: none;
|
|
832
|
-
}
|
|
833
|
-
:global(.handle:where([data-hn-ui-editor-table-overlay])) {
|
|
834
|
-
position: absolute;
|
|
835
|
-
display: inline-flex !important;
|
|
836
|
-
align-items: center !important;
|
|
837
|
-
justify-content: center !important;
|
|
838
|
-
width: 24px;
|
|
839
|
-
height: 24px;
|
|
840
|
-
padding: 0 !important;
|
|
841
|
-
border: var(--ui-border-width) solid var(--ui-affordance-near-color, var(--ui-border-strong));
|
|
842
|
-
border-radius: var(--ui-radius-round);
|
|
843
|
-
background: color-mix(in srgb, var(--ui-surface-elevated) 96%, transparent);
|
|
844
|
-
color: var(--ui-affordance-near-color, var(--ui-text-secondary));
|
|
845
|
-
font: inherit;
|
|
846
|
-
font-size: 16px;
|
|
847
|
-
line-height: 1;
|
|
848
|
-
box-shadow: var(--ui-shadow-xs, 0 1px 2px rgb(0 0 0 / 0.05));
|
|
849
|
-
opacity: 0;
|
|
850
|
-
scale: 0.72;
|
|
851
|
-
transition:
|
|
852
|
-
opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
853
|
-
scale var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
854
|
-
color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
855
|
-
background-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
856
|
-
border-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
857
|
-
pointer-events: auto;
|
|
858
|
-
cursor: pointer;
|
|
859
|
-
}
|
|
860
|
-
:global(.handle:where([data-hn-ui-editor-table-overlay])) {
|
|
861
|
-
--_ui-default-icon-size: 14px;
|
|
862
|
-
--_ui-default-icon-stroke-width: 2;
|
|
863
|
-
}
|
|
864
|
-
:global(.handle[data-ui-proximity="near"]:where([data-hn-ui-editor-table-overlay])),
|
|
865
|
-
:global(.control.active .handle:where([data-hn-ui-editor-table-overlay])),
|
|
866
|
-
:global(.handle:focus-visible:where([data-hn-ui-editor-table-overlay])) {
|
|
867
|
-
opacity: 1;
|
|
868
|
-
scale: 1;
|
|
869
|
-
}
|
|
870
|
-
:global(.control.active .handle:where([data-hn-ui-editor-table-overlay])),
|
|
871
|
-
:global(.handle:focus-visible:where([data-hn-ui-editor-table-overlay])) {
|
|
872
|
-
border-color: var(--ui-affordance-direct-color, var(--ui-accent-solid));
|
|
873
|
-
background: var(--ui-affordance-direct-color, var(--ui-accent-solid));
|
|
874
|
-
color: var(--ui-text-on-accent);
|
|
875
|
-
box-shadow: var(--ui-shadow-sm, 0 1px 3px rgb(0 0 0 / 0.1));
|
|
876
|
-
}
|
|
877
|
-
:global(.handle:focus-visible:where([data-hn-ui-editor-table-overlay])),
|
|
878
|
-
:global(.selector:focus-visible:where([data-hn-ui-editor-table-overlay])),
|
|
879
|
-
:global(.cell-menu:focus-visible:where([data-hn-ui-editor-table-overlay])) {
|
|
880
|
-
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
881
|
-
outline-offset: var(--ui-focus-width);
|
|
882
|
-
}
|
|
883
|
-
:global(.control.row:where([data-hn-ui-editor-table-overlay])) {
|
|
884
|
-
left: 0;
|
|
885
|
-
width: 100%;
|
|
886
|
-
height: 0;
|
|
887
|
-
}
|
|
888
|
-
:global(.control.row .handle:where([data-hn-ui-editor-table-overlay])) {
|
|
889
|
-
top: -12px;
|
|
890
|
-
left: -30px;
|
|
891
|
-
}
|
|
892
|
-
:global(.control.col:where([data-hn-ui-editor-table-overlay])) {
|
|
893
|
-
top: 0;
|
|
894
|
-
width: 0;
|
|
895
|
-
height: 100%;
|
|
896
|
-
}
|
|
897
|
-
:global(.control.col .handle:where([data-hn-ui-editor-table-overlay])) {
|
|
898
|
-
top: -30px;
|
|
899
|
-
left: -12px;
|
|
900
|
-
}
|
|
901
|
-
:global(.line:where([data-hn-ui-editor-table-overlay])) {
|
|
902
|
-
position: absolute;
|
|
903
|
-
background: var(--ui-affordance-direct-color, var(--ui-accent-solid));
|
|
904
|
-
opacity: 0;
|
|
905
|
-
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
906
|
-
}
|
|
907
|
-
:global(.control.row .line:where([data-hn-ui-editor-table-overlay])) {
|
|
908
|
-
inset: calc(-0.5 * var(--ui-accent-line-width)) 0 auto;
|
|
909
|
-
height: var(--ui-accent-line-width);
|
|
910
|
-
}
|
|
911
|
-
:global(.control.col .line:where([data-hn-ui-editor-table-overlay])) {
|
|
912
|
-
inset: 0 auto 0 calc(-0.5 * var(--ui-accent-line-width));
|
|
913
|
-
width: var(--ui-accent-line-width);
|
|
914
|
-
}
|
|
915
|
-
:global(.control.active .line:where([data-hn-ui-editor-table-overlay])) {
|
|
916
|
-
opacity: 0.8;
|
|
917
|
-
}
|
|
918
|
-
:global(.guide:where([data-hn-ui-editor-table-overlay])) {
|
|
919
|
-
position: absolute;
|
|
920
|
-
width: var(--ui-affordance-guide-size);
|
|
921
|
-
height: var(--ui-affordance-guide-size);
|
|
922
|
-
border-radius: var(--ui-radius-round);
|
|
923
|
-
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
924
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
925
|
-
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
926
|
-
}
|
|
927
|
-
:global(.control.row .guide:where([data-hn-ui-editor-table-overlay])) {
|
|
928
|
-
left: -10px;
|
|
929
|
-
top: -2px;
|
|
930
|
-
}
|
|
931
|
-
:global(.control.col .guide:where([data-hn-ui-editor-table-overlay])) {
|
|
932
|
-
left: -2px;
|
|
933
|
-
top: -10px;
|
|
934
|
-
}
|
|
935
|
-
:global(.control:has(.handle[data-ui-proximity="near"])
|
|
936
|
-
.guide:where([data-hn-ui-editor-table-overlay])),
|
|
937
|
-
:global(.control.active .guide:where([data-hn-ui-editor-table-overlay])) {
|
|
938
|
-
opacity: 0;
|
|
939
|
-
}
|
|
940
|
-
:global(.tooltip:where([data-hn-ui-editor-table-overlay])) {
|
|
941
|
-
position: absolute;
|
|
942
|
-
z-index: 2;
|
|
943
|
-
top: calc(100% + 6px);
|
|
944
|
-
left: 50%;
|
|
945
|
-
width: max-content;
|
|
946
|
-
max-width: 14rem;
|
|
947
|
-
padding: var(--ui-space-1) var(--ui-space-2) !important;
|
|
948
|
-
border-radius: var(--ui-radius-sm);
|
|
949
|
-
background: var(--ui-text-primary);
|
|
950
|
-
color: var(--ui-surface-elevated);
|
|
951
|
-
font-size: var(--ui-font-size-xs);
|
|
952
|
-
font-weight: var(--ui-font-medium);
|
|
953
|
-
line-height: var(--ui-line-height-md);
|
|
954
|
-
opacity: 0;
|
|
955
|
-
transform: translateX(-50%);
|
|
956
|
-
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
957
|
-
pointer-events: none;
|
|
958
|
-
}
|
|
959
|
-
:global(.control.row .tooltip:where([data-hn-ui-editor-table-overlay])) {
|
|
960
|
-
top: 50%;
|
|
961
|
-
left: auto;
|
|
962
|
-
right: calc(100% + 8px);
|
|
963
|
-
transform: translateY(-50%);
|
|
964
|
-
}
|
|
965
|
-
:global(.control.active .tooltip:where([data-hn-ui-editor-table-overlay])),
|
|
966
|
-
:global(.handle:focus-visible .tooltip:where([data-hn-ui-editor-table-overlay])) {
|
|
967
|
-
opacity: 1;
|
|
968
|
-
}
|
|
969
|
-
:global(.selector:where([data-hn-ui-editor-table-overlay])),
|
|
970
|
-
:global(.cell-menu:where([data-hn-ui-editor-table-overlay])) {
|
|
971
|
-
position: absolute;
|
|
972
|
-
z-index: 2;
|
|
973
|
-
display: inline-flex !important;
|
|
974
|
-
align-items: center !important;
|
|
975
|
-
justify-content: center !important;
|
|
976
|
-
padding: 0 !important;
|
|
977
|
-
border: var(--ui-border-width) solid transparent;
|
|
978
|
-
background: transparent;
|
|
979
|
-
color: var(--ui-text-secondary);
|
|
980
|
-
box-shadow: none;
|
|
981
|
-
pointer-events: auto;
|
|
982
|
-
cursor: pointer;
|
|
983
|
-
transition:
|
|
984
|
-
color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
985
|
-
background-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
986
|
-
border-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
987
|
-
box-shadow var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
988
|
-
}
|
|
989
|
-
:global(.selector:hover:where([data-hn-ui-editor-table-overlay])),
|
|
990
|
-
:global(.cell-menu:hover:where([data-hn-ui-editor-table-overlay])) {
|
|
991
|
-
background: var(--ui-surface-muted);
|
|
992
|
-
color: var(--ui-text-primary);
|
|
993
|
-
box-shadow: var(--ui-shadow-xs, 0 1px 2px rgb(0 0 0 / 0.05));
|
|
994
|
-
}
|
|
995
|
-
:global(.selector:where([data-hn-ui-editor-table-overlay])) {
|
|
996
|
-
border-radius: var(--ui-radius-round);
|
|
997
|
-
touch-action: none;
|
|
998
|
-
cursor: grab;
|
|
999
|
-
}
|
|
1000
|
-
:global(.selector:active:where([data-hn-ui-editor-table-overlay])) {
|
|
1001
|
-
cursor: grabbing;
|
|
1002
|
-
}
|
|
1003
|
-
:global(.selector:where([data-hn-ui-editor-table-overlay])::before) {
|
|
1004
|
-
content: "";
|
|
1005
|
-
position: absolute;
|
|
1006
|
-
inset: 50% auto auto 50%;
|
|
1007
|
-
border-radius: var(--ui-radius-round);
|
|
1008
|
-
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
1009
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
1010
|
-
transform: translate(-50%, -50%);
|
|
1011
|
-
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
1012
|
-
pointer-events: none;
|
|
1013
|
-
}
|
|
1014
|
-
:global(.selector .glyph:where([data-hn-ui-editor-table-overlay])) {
|
|
1015
|
-
display: block !important;
|
|
1016
|
-
width: 14px;
|
|
1017
|
-
height: 14px;
|
|
1018
|
-
--_ui-default-icon-size: 14px;
|
|
1019
|
-
--_ui-default-icon-stroke-width: 2;
|
|
1020
|
-
opacity: 0;
|
|
1021
|
-
transform: scale(0.72);
|
|
1022
|
-
transition:
|
|
1023
|
-
opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
1024
|
-
transform var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
1025
|
-
}
|
|
1026
|
-
:global(.selector:hover:where([data-hn-ui-editor-table-overlay])::before),
|
|
1027
|
-
:global(.selector:focus-visible:where([data-hn-ui-editor-table-overlay])::before) {
|
|
1028
|
-
opacity: 0;
|
|
1029
|
-
}
|
|
1030
|
-
:global(.selector:hover .glyph:where([data-hn-ui-editor-table-overlay])),
|
|
1031
|
-
:global(.selector:focus-visible .glyph:where([data-hn-ui-editor-table-overlay])) {
|
|
1032
|
-
opacity: 1;
|
|
1033
|
-
transform: scale(1);
|
|
1034
|
-
}
|
|
1035
|
-
:global(.selector.row:where([data-hn-ui-editor-table-overlay])) {
|
|
1036
|
-
left: -9px;
|
|
1037
|
-
width: 18px;
|
|
1038
|
-
height: 32px;
|
|
1039
|
-
transform: translateY(-50%);
|
|
1040
|
-
}
|
|
1041
|
-
:global(.selector.row:where([data-hn-ui-editor-table-overlay])::before) {
|
|
1042
|
-
width: 2px;
|
|
1043
|
-
height: 16px;
|
|
1044
|
-
}
|
|
1045
|
-
:global(.selector.column:where([data-hn-ui-editor-table-overlay])) {
|
|
1046
|
-
top: -9px;
|
|
1047
|
-
width: 32px;
|
|
1048
|
-
height: 18px;
|
|
1049
|
-
transform: translateX(-50%);
|
|
1050
|
-
}
|
|
1051
|
-
:global(.selector.column:where([data-hn-ui-editor-table-overlay])::before) {
|
|
1052
|
-
width: 16px;
|
|
1053
|
-
height: 2px;
|
|
1054
|
-
}
|
|
1055
|
-
@media (hover: none), (pointer: coarse) {
|
|
1056
|
-
:global(.selector:where([data-hn-ui-editor-table-overlay])::before) {
|
|
1057
|
-
opacity: 0;
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
:global(.selector .glyph:where([data-hn-ui-editor-table-overlay])) {
|
|
1061
|
-
opacity: 1;
|
|
1062
|
-
transform: none;
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
:global(.cell-menu:where([data-hn-ui-editor-table-overlay])) {
|
|
1066
|
-
width: 24px;
|
|
1067
|
-
height: 24px;
|
|
1068
|
-
border-radius: var(--ui-radius-sm);
|
|
1069
|
-
background: color-mix(in srgb, var(--ui-surface-muted) 78%, transparent);
|
|
1070
|
-
}
|
|
1071
|
-
:global(.cell-menu:where([data-hn-ui-editor-table-overlay])) {
|
|
1072
|
-
--_ui-default-icon-size: 15px;
|
|
1073
|
-
--_ui-default-icon-stroke-width: 2;
|
|
1074
|
-
}
|
|
1075
|
-
:global(.drop-indicator:where([data-hn-ui-editor-table-overlay])) {
|
|
1076
|
-
position: absolute;
|
|
1077
|
-
z-index: 3;
|
|
1078
|
-
background: var(--ui-accent-solid);
|
|
1079
|
-
box-shadow: 0 0 0 var(--ui-border-width) var(--ui-surface);
|
|
1080
|
-
pointer-events: none;
|
|
1081
|
-
}
|
|
1082
|
-
:global(.drop-indicator.row:where([data-hn-ui-editor-table-overlay])) {
|
|
1083
|
-
left: 0;
|
|
1084
|
-
width: 100%;
|
|
1085
|
-
height: var(--ui-accent-line-width);
|
|
1086
|
-
}
|
|
1087
|
-
:global(.drop-indicator.column:where([data-hn-ui-editor-table-overlay])) {
|
|
1088
|
-
top: 0;
|
|
1089
|
-
width: var(--ui-accent-line-width);
|
|
1090
|
-
height: 100%;
|
|
1091
|
-
}
|
|
1092
|
-
:global(.drop-indicator[hidden]:where([data-hn-ui-editor-table-overlay])) {
|
|
1093
|
-
display: none !important;
|
|
1094
|
-
}
|
|
1095
|
-
:global(:scope[hidden]:where([data-hn-ui-editor-table-overlay])) {
|
|
1096
|
-
display: none !important;
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
</style>
|