@threadlabs/looma 0.47.5 → 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-card/ui-card.html +8 -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 +945 -86
- 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 +9 -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 -522
- 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 -17539
- 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,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as TABLE_CELL_BACKGROUND_PRESETS, n as resolveTableCellAt } from "./table-overlay.js";
|
|
2
2
|
import { _ as normalizeLoomaChipTone, c as LoomaReferencePresentation, g as normalizeLoomaCalloutTone, h as loomaHeadingSlug, l as getReferenceDisplay, m as assignLoomaHeadingIds, o as markdownToEditorDocument, p as LOOMA_CHIP_TONES, s as LoomaReference, u as referenceDisplay, v as splitLoomaFrontmatter } from "./expressmark.js";
|
|
3
|
+
import { a as Bold, c as Document, i as Italic, l as LoomaInputRuleHistory, n as History, o as Text$1, r as HardBreak, s as Paragraph, t as Code } from "./dist.js";
|
|
3
4
|
import { Extension, InputRule, Mark, Node as Node$1, PasteRule, callOrReturn, canInsertNode, combineTransactionSteps, escapeForRegEx, findChildren, findChildrenInRange, findParentNodeClosestToPos, getAttributes, getChangedRanges, getExtensionField, getMarksBetween, getText, getTextSerializersFromSchema, isNodeEmpty, isNodeSelection, markInputRule, markPasteRule, mergeAttributes, nodeInputRule, textInputRule, textblockTypeInputRule, wrappingInputRule } from "@tiptap/core";
|
|
4
5
|
import { NodeSelection, Plugin, PluginKey, Selection, TextSelection } from "@tiptap/pm/state";
|
|
5
6
|
import { Decoration, DecorationSet } from "@tiptap/pm/view";
|
|
6
7
|
import { DOMParser, DOMSerializer, Fragment, Node as Node$2, Slice } from "@tiptap/pm/model";
|
|
7
|
-
import { closeHistory, history, redo, undo } from "@tiptap/pm/history";
|
|
8
8
|
import { dropCursor } from "@tiptap/pm/dropcursor";
|
|
9
9
|
import { gapCursor } from "@tiptap/pm/gapcursor";
|
|
10
10
|
import { createLowlight } from "lowlight";
|
|
@@ -1396,288 +1396,15 @@ var LoomaTableOfContents = Node$1.create({
|
|
|
1396
1396
|
}
|
|
1397
1397
|
});
|
|
1398
1398
|
//#endregion
|
|
1399
|
-
//#region src/editor/extensions/input-rule-history.ts
|
|
1400
|
-
/**
|
|
1401
|
-
* Keep the literal trigger in typing history before converting it. Tiptap's
|
|
1402
|
-
* usual input rule consumes the final character, so simply closing history
|
|
1403
|
-
* would restore an incomplete Markdown delimiter on Undo.
|
|
1404
|
-
* @invariant Conversion and subsequent typing are separate history events.
|
|
1405
|
-
* @lifecycle Tiptap clears its undoable input rule on typing or caret movement.
|
|
1406
|
-
*/
|
|
1407
|
-
var LoomaInputRuleHistory = Extension.create({
|
|
1408
|
-
name: "loomaInputRuleHistory",
|
|
1409
|
-
priority: 50,
|
|
1410
|
-
onBeforeCreate() {
|
|
1411
|
-
const props = this.editor.options.editorProps;
|
|
1412
|
-
this.editor.setOptions({ editorProps: {
|
|
1413
|
-
...props,
|
|
1414
|
-
handleTextInput(view, from, to, text, defaultTransaction) {
|
|
1415
|
-
if (props.handleTextInput?.call(props, view, from, to, text, defaultTransaction)) return true;
|
|
1416
|
-
if (view.composing) return false;
|
|
1417
|
-
const rules = view.state.plugins.find((plugin) => plugin.spec.isInputRules);
|
|
1418
|
-
if (!rules?.props.handleTextInput) return false;
|
|
1419
|
-
view.dispatch((defaultTransaction?.() ?? view.state.tr.insertText(text, from, to)).scrollIntoView());
|
|
1420
|
-
const position = view.state.selection.from;
|
|
1421
|
-
rules.props.handleTextInput.call(rules, view, position, position, "", defaultTransaction);
|
|
1422
|
-
return true;
|
|
1423
|
-
}
|
|
1424
|
-
} });
|
|
1425
|
-
},
|
|
1426
|
-
addKeyboardShortcuts() {
|
|
1427
|
-
return { Escape: () => this.editor.commands.undoInputRule() };
|
|
1428
|
-
},
|
|
1429
|
-
addProseMirrorPlugins() {
|
|
1430
|
-
return [new Plugin({
|
|
1431
|
-
filterTransaction(tr, state) {
|
|
1432
|
-
if (state.plugins.some((plugin) => plugin.spec.isInputRules && tr.getMeta(plugin))) closeHistory(tr);
|
|
1433
|
-
return true;
|
|
1434
|
-
},
|
|
1435
|
-
appendTransaction(transactions, _old, state) {
|
|
1436
|
-
if (transactions.some((tr) => state.plugins.some((plugin) => plugin.spec.isInputRules && tr.getMeta(plugin)))) return closeHistory(state.tr);
|
|
1437
|
-
return null;
|
|
1438
|
-
}
|
|
1439
|
-
})];
|
|
1440
|
-
}
|
|
1441
|
-
});
|
|
1442
|
-
//#endregion
|
|
1443
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-document@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2_/node_modules/@tiptap/extension-document/dist/index.js
|
|
1444
|
-
/**
|
|
1445
|
-
* The default document node which represents the top level node of the editor.
|
|
1446
|
-
* @see https://tiptap.dev/api/nodes/document
|
|
1447
|
-
*/
|
|
1448
|
-
var Document = Node$1.create({
|
|
1449
|
-
name: "doc",
|
|
1450
|
-
topNode: true,
|
|
1451
|
-
content: "block+"
|
|
1452
|
-
});
|
|
1453
|
-
//#endregion
|
|
1454
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-paragraph@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2_/node_modules/@tiptap/extension-paragraph/dist/index.js
|
|
1455
|
-
/**
|
|
1456
|
-
* This extension allows you to create paragraphs.
|
|
1457
|
-
* @see https://www.tiptap.dev/api/nodes/paragraph
|
|
1458
|
-
*/
|
|
1459
|
-
var Paragraph = Node$1.create({
|
|
1460
|
-
name: "paragraph",
|
|
1461
|
-
priority: 1e3,
|
|
1462
|
-
addOptions() {
|
|
1463
|
-
return { HTMLAttributes: {} };
|
|
1464
|
-
},
|
|
1465
|
-
group: "block",
|
|
1466
|
-
content: "inline*",
|
|
1467
|
-
parseHTML() {
|
|
1468
|
-
return [{ tag: "p" }];
|
|
1469
|
-
},
|
|
1470
|
-
renderHTML({ HTMLAttributes }) {
|
|
1471
|
-
return [
|
|
1472
|
-
"p",
|
|
1473
|
-
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),
|
|
1474
|
-
0
|
|
1475
|
-
];
|
|
1476
|
-
},
|
|
1477
|
-
addCommands() {
|
|
1478
|
-
return { setParagraph: () => ({ commands }) => {
|
|
1479
|
-
return commands.setNode(this.name);
|
|
1480
|
-
} };
|
|
1481
|
-
},
|
|
1482
|
-
addKeyboardShortcuts() {
|
|
1483
|
-
return { "Mod-Alt-0": () => this.editor.commands.setParagraph() };
|
|
1484
|
-
}
|
|
1485
|
-
});
|
|
1486
|
-
//#endregion
|
|
1487
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-text@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2_/node_modules/@tiptap/extension-text/dist/index.js
|
|
1488
|
-
/**
|
|
1489
|
-
* This extension allows you to create text nodes.
|
|
1490
|
-
* @see https://www.tiptap.dev/api/nodes/text
|
|
1491
|
-
*/
|
|
1492
|
-
var Text$1 = Node$1.create({
|
|
1493
|
-
name: "text",
|
|
1494
|
-
group: "inline"
|
|
1495
|
-
});
|
|
1496
|
-
//#endregion
|
|
1497
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-bold@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2_/node_modules/@tiptap/extension-bold/dist/index.js
|
|
1498
|
-
/**
|
|
1499
|
-
* Matches bold text via `**` as input.
|
|
1500
|
-
*/
|
|
1501
|
-
var starInputRegex$1 = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/;
|
|
1502
|
-
/**
|
|
1503
|
-
* Matches bold text via `**` while pasting.
|
|
1504
|
-
*/
|
|
1505
|
-
var starPasteRegex$1 = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g;
|
|
1506
|
-
/**
|
|
1507
|
-
* Matches bold text via `__` as input.
|
|
1508
|
-
*/
|
|
1509
|
-
var underscoreInputRegex$1 = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/;
|
|
1510
|
-
/**
|
|
1511
|
-
* Matches bold text via `__` while pasting.
|
|
1512
|
-
*/
|
|
1513
|
-
var underscorePasteRegex$1 = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g;
|
|
1514
|
-
/**
|
|
1515
|
-
* This extension allows you to mark text as bold.
|
|
1516
|
-
* @see https://tiptap.dev/api/marks/bold
|
|
1517
|
-
*/
|
|
1518
|
-
var Bold = Mark.create({
|
|
1519
|
-
name: "bold",
|
|
1520
|
-
addOptions() {
|
|
1521
|
-
return { HTMLAttributes: {} };
|
|
1522
|
-
},
|
|
1523
|
-
parseHTML() {
|
|
1524
|
-
return [
|
|
1525
|
-
{ tag: "strong" },
|
|
1526
|
-
{
|
|
1527
|
-
tag: "b",
|
|
1528
|
-
getAttrs: (node) => node.style.fontWeight !== "normal" && null
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
style: "font-weight=400",
|
|
1532
|
-
clearMark: (mark) => mark.type.name === this.name
|
|
1533
|
-
},
|
|
1534
|
-
{
|
|
1535
|
-
style: "font-weight",
|
|
1536
|
-
getAttrs: (value) => /^(bold(er)?|[5-9]\d{2,})$/.test(value) && null
|
|
1537
|
-
}
|
|
1538
|
-
];
|
|
1539
|
-
},
|
|
1540
|
-
renderHTML({ HTMLAttributes }) {
|
|
1541
|
-
return [
|
|
1542
|
-
"strong",
|
|
1543
|
-
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),
|
|
1544
|
-
0
|
|
1545
|
-
];
|
|
1546
|
-
},
|
|
1547
|
-
addCommands() {
|
|
1548
|
-
return {
|
|
1549
|
-
setBold: () => ({ commands }) => {
|
|
1550
|
-
return commands.setMark(this.name);
|
|
1551
|
-
},
|
|
1552
|
-
toggleBold: () => ({ commands }) => {
|
|
1553
|
-
return commands.toggleMark(this.name);
|
|
1554
|
-
},
|
|
1555
|
-
unsetBold: () => ({ commands }) => {
|
|
1556
|
-
return commands.unsetMark(this.name);
|
|
1557
|
-
}
|
|
1558
|
-
};
|
|
1559
|
-
},
|
|
1560
|
-
addKeyboardShortcuts() {
|
|
1561
|
-
return {
|
|
1562
|
-
"Mod-b": () => this.editor.commands.toggleBold(),
|
|
1563
|
-
"Mod-B": () => this.editor.commands.toggleBold()
|
|
1564
|
-
};
|
|
1565
|
-
},
|
|
1566
|
-
addInputRules() {
|
|
1567
|
-
return [markInputRule({
|
|
1568
|
-
find: starInputRegex$1,
|
|
1569
|
-
type: this.type
|
|
1570
|
-
}), markInputRule({
|
|
1571
|
-
find: underscoreInputRegex$1,
|
|
1572
|
-
type: this.type
|
|
1573
|
-
})];
|
|
1574
|
-
},
|
|
1575
|
-
addPasteRules() {
|
|
1576
|
-
return [markPasteRule({
|
|
1577
|
-
find: starPasteRegex$1,
|
|
1578
|
-
type: this.type
|
|
1579
|
-
}), markPasteRule({
|
|
1580
|
-
find: underscorePasteRegex$1,
|
|
1581
|
-
type: this.type
|
|
1582
|
-
})];
|
|
1583
|
-
}
|
|
1584
|
-
});
|
|
1585
|
-
//#endregion
|
|
1586
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-italic@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2_/node_modules/@tiptap/extension-italic/dist/index.js
|
|
1587
|
-
/**
|
|
1588
|
-
* Matches an italic to a *italic* on input.
|
|
1589
|
-
*/
|
|
1590
|
-
var starInputRegex = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/;
|
|
1591
|
-
/**
|
|
1592
|
-
* Matches an italic to a *italic* on paste.
|
|
1593
|
-
*/
|
|
1594
|
-
var starPasteRegex = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g;
|
|
1595
|
-
/**
|
|
1596
|
-
* Matches an italic to a _italic_ on input.
|
|
1597
|
-
*/
|
|
1598
|
-
var underscoreInputRegex = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/;
|
|
1599
|
-
/**
|
|
1600
|
-
* Matches an italic to a _italic_ on paste.
|
|
1601
|
-
*/
|
|
1602
|
-
var underscorePasteRegex = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g;
|
|
1603
|
-
/**
|
|
1604
|
-
* This extension allows you to create italic text.
|
|
1605
|
-
* @see https://www.tiptap.dev/api/marks/italic
|
|
1606
|
-
*/
|
|
1607
|
-
var Italic = Mark.create({
|
|
1608
|
-
name: "italic",
|
|
1609
|
-
addOptions() {
|
|
1610
|
-
return { HTMLAttributes: {} };
|
|
1611
|
-
},
|
|
1612
|
-
parseHTML() {
|
|
1613
|
-
return [
|
|
1614
|
-
{ tag: "em" },
|
|
1615
|
-
{
|
|
1616
|
-
tag: "i",
|
|
1617
|
-
getAttrs: (node) => node.style.fontStyle !== "normal" && null
|
|
1618
|
-
},
|
|
1619
|
-
{
|
|
1620
|
-
style: "font-style=normal",
|
|
1621
|
-
clearMark: (mark) => mark.type.name === this.name
|
|
1622
|
-
},
|
|
1623
|
-
{ style: "font-style=italic" }
|
|
1624
|
-
];
|
|
1625
|
-
},
|
|
1626
|
-
renderHTML({ HTMLAttributes }) {
|
|
1627
|
-
return [
|
|
1628
|
-
"em",
|
|
1629
|
-
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),
|
|
1630
|
-
0
|
|
1631
|
-
];
|
|
1632
|
-
},
|
|
1633
|
-
addCommands() {
|
|
1634
|
-
return {
|
|
1635
|
-
setItalic: () => ({ commands }) => {
|
|
1636
|
-
return commands.setMark(this.name);
|
|
1637
|
-
},
|
|
1638
|
-
toggleItalic: () => ({ commands }) => {
|
|
1639
|
-
return commands.toggleMark(this.name);
|
|
1640
|
-
},
|
|
1641
|
-
unsetItalic: () => ({ commands }) => {
|
|
1642
|
-
return commands.unsetMark(this.name);
|
|
1643
|
-
}
|
|
1644
|
-
};
|
|
1645
|
-
},
|
|
1646
|
-
addKeyboardShortcuts() {
|
|
1647
|
-
return {
|
|
1648
|
-
"Mod-i": () => this.editor.commands.toggleItalic(),
|
|
1649
|
-
"Mod-I": () => this.editor.commands.toggleItalic()
|
|
1650
|
-
};
|
|
1651
|
-
},
|
|
1652
|
-
addInputRules() {
|
|
1653
|
-
return [markInputRule({
|
|
1654
|
-
find: starInputRegex,
|
|
1655
|
-
type: this.type
|
|
1656
|
-
}), markInputRule({
|
|
1657
|
-
find: underscoreInputRegex,
|
|
1658
|
-
type: this.type
|
|
1659
|
-
})];
|
|
1660
|
-
},
|
|
1661
|
-
addPasteRules() {
|
|
1662
|
-
return [markPasteRule({
|
|
1663
|
-
find: starPasteRegex,
|
|
1664
|
-
type: this.type
|
|
1665
|
-
}), markPasteRule({
|
|
1666
|
-
find: underscorePasteRegex,
|
|
1667
|
-
type: this.type
|
|
1668
|
-
})];
|
|
1669
|
-
}
|
|
1670
|
-
});
|
|
1671
|
-
//#endregion
|
|
1672
1399
|
//#region ../../node_modules/.pnpm/@tiptap+extension-strike@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2_/node_modules/@tiptap/extension-strike/dist/index.js
|
|
1673
1400
|
/**
|
|
1674
1401
|
* Matches a strike to a ~~strike~~ on input.
|
|
1675
1402
|
*/
|
|
1676
|
-
var inputRegex$
|
|
1403
|
+
var inputRegex$6 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/;
|
|
1677
1404
|
/**
|
|
1678
1405
|
* Matches a strike to a ~~strike~~ on paste.
|
|
1679
1406
|
*/
|
|
1680
|
-
var pasteRegex$
|
|
1407
|
+
var pasteRegex$1 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g;
|
|
1681
1408
|
/**
|
|
1682
1409
|
* This extension allows you to create strike text.
|
|
1683
1410
|
* @see https://www.tiptap.dev/api/marks/strike
|
|
@@ -1724,13 +1451,13 @@ var Strike = Mark.create({
|
|
|
1724
1451
|
},
|
|
1725
1452
|
addInputRules() {
|
|
1726
1453
|
return [markInputRule({
|
|
1727
|
-
find: inputRegex$
|
|
1454
|
+
find: inputRegex$6,
|
|
1728
1455
|
type: this.type
|
|
1729
1456
|
})];
|
|
1730
1457
|
},
|
|
1731
1458
|
addPasteRules() {
|
|
1732
1459
|
return [markPasteRule({
|
|
1733
|
-
find: pasteRegex$
|
|
1460
|
+
find: pasteRegex$1,
|
|
1734
1461
|
type: this.type
|
|
1735
1462
|
})];
|
|
1736
1463
|
}
|
|
@@ -1858,7 +1585,7 @@ var TextStyleName$1 = "textStyle";
|
|
|
1858
1585
|
/**
|
|
1859
1586
|
* Matches a bullet list to a dash or asterisk.
|
|
1860
1587
|
*/
|
|
1861
|
-
var inputRegex$
|
|
1588
|
+
var inputRegex$5 = /^\s*([-+*])\s$/;
|
|
1862
1589
|
/**
|
|
1863
1590
|
* This extension allows you to create bullet lists.
|
|
1864
1591
|
* This requires the ListItem extension
|
|
@@ -1900,11 +1627,11 @@ var BulletList = Node$1.create({
|
|
|
1900
1627
|
},
|
|
1901
1628
|
addInputRules() {
|
|
1902
1629
|
let inputRule = wrappingInputRule({
|
|
1903
|
-
find: inputRegex$
|
|
1630
|
+
find: inputRegex$5,
|
|
1904
1631
|
type: this.type
|
|
1905
1632
|
});
|
|
1906
1633
|
if (this.options.keepMarks || this.options.keepAttributes) inputRule = wrappingInputRule({
|
|
1907
|
-
find: inputRegex$
|
|
1634
|
+
find: inputRegex$5,
|
|
1908
1635
|
type: this.type,
|
|
1909
1636
|
keepMarks: this.options.keepMarks,
|
|
1910
1637
|
keepAttributes: this.options.keepAttributes,
|
|
@@ -1923,7 +1650,7 @@ var TextStyleName = "textStyle";
|
|
|
1923
1650
|
/**
|
|
1924
1651
|
* Matches an ordered list to a 1. on input (or any number followed by a dot).
|
|
1925
1652
|
*/
|
|
1926
|
-
var inputRegex$
|
|
1653
|
+
var inputRegex$4 = /^(\d+)\.\s$/;
|
|
1927
1654
|
/**
|
|
1928
1655
|
* This extension allows you to create ordered lists.
|
|
1929
1656
|
* This requires the ListItem extension
|
|
@@ -1984,13 +1711,13 @@ var OrderedList = Node$1.create({
|
|
|
1984
1711
|
},
|
|
1985
1712
|
addInputRules() {
|
|
1986
1713
|
let inputRule = wrappingInputRule({
|
|
1987
|
-
find: inputRegex$
|
|
1714
|
+
find: inputRegex$4,
|
|
1988
1715
|
type: this.type,
|
|
1989
1716
|
getAttributes: (match) => ({ start: +match[1] }),
|
|
1990
1717
|
joinPredicate: (match, node) => node.childCount + node.attrs.start === +match[1]
|
|
1991
1718
|
});
|
|
1992
1719
|
if (this.options.keepMarks || this.options.keepAttributes) inputRule = wrappingInputRule({
|
|
1993
|
-
find: inputRegex$
|
|
1720
|
+
find: inputRegex$4,
|
|
1994
1721
|
type: this.type,
|
|
1995
1722
|
keepMarks: this.options.keepMarks,
|
|
1996
1723
|
keepAttributes: this.options.keepAttributes,
|
|
@@ -2084,7 +1811,7 @@ var TaskList = Node$1.create({
|
|
|
2084
1811
|
/**
|
|
2085
1812
|
* Matches a blockquote to a `>` as input.
|
|
2086
1813
|
*/
|
|
2087
|
-
var inputRegex$
|
|
1814
|
+
var inputRegex$3 = /^\s*>\s$/;
|
|
2088
1815
|
/**
|
|
2089
1816
|
* This extension allows you to create blockquotes.
|
|
2090
1817
|
* @see https://tiptap.dev/api/nodes/blockquote
|
|
@@ -2125,7 +1852,7 @@ var Blockquote = Node$1.create({
|
|
|
2125
1852
|
},
|
|
2126
1853
|
addInputRules() {
|
|
2127
1854
|
return [wrappingInputRule({
|
|
2128
|
-
find: inputRegex$
|
|
1855
|
+
find: inputRegex$3,
|
|
2129
1856
|
type: this.type
|
|
2130
1857
|
})];
|
|
2131
1858
|
}
|
|
@@ -2190,100 +1917,6 @@ var HorizontalRule = Node$1.create({
|
|
|
2190
1917
|
}
|
|
2191
1918
|
});
|
|
2192
1919
|
//#endregion
|
|
2193
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-hard-break@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2_/node_modules/@tiptap/extension-hard-break/dist/index.js
|
|
2194
|
-
/**
|
|
2195
|
-
* This extension allows you to insert hard breaks.
|
|
2196
|
-
* @see https://www.tiptap.dev/api/nodes/hard-break
|
|
2197
|
-
*/
|
|
2198
|
-
var HardBreak = Node$1.create({
|
|
2199
|
-
name: "hardBreak",
|
|
2200
|
-
addOptions() {
|
|
2201
|
-
return {
|
|
2202
|
-
keepMarks: true,
|
|
2203
|
-
HTMLAttributes: {}
|
|
2204
|
-
};
|
|
2205
|
-
},
|
|
2206
|
-
inline: true,
|
|
2207
|
-
group: "inline",
|
|
2208
|
-
selectable: false,
|
|
2209
|
-
linebreakReplacement: true,
|
|
2210
|
-
parseHTML() {
|
|
2211
|
-
return [{ tag: "br" }];
|
|
2212
|
-
},
|
|
2213
|
-
renderHTML({ HTMLAttributes }) {
|
|
2214
|
-
return ["br", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)];
|
|
2215
|
-
},
|
|
2216
|
-
renderText() {
|
|
2217
|
-
return "\n";
|
|
2218
|
-
},
|
|
2219
|
-
addCommands() {
|
|
2220
|
-
return { setHardBreak: () => ({ commands, chain, state, editor }) => {
|
|
2221
|
-
return commands.first([() => commands.exitCode(), () => commands.command(() => {
|
|
2222
|
-
const { selection, storedMarks } = state;
|
|
2223
|
-
if (selection.$from.parent.type.spec.isolating) return false;
|
|
2224
|
-
const { keepMarks } = this.options;
|
|
2225
|
-
const { splittableMarks } = editor.extensionManager;
|
|
2226
|
-
const marks = storedMarks || selection.$to.parentOffset && selection.$from.marks();
|
|
2227
|
-
return chain().insertContent({ type: this.name }).command(({ tr, dispatch }) => {
|
|
2228
|
-
if (dispatch && marks && keepMarks) {
|
|
2229
|
-
const filteredMarks = marks.filter((mark) => splittableMarks.includes(mark.type.name));
|
|
2230
|
-
tr.ensureMarks(filteredMarks);
|
|
2231
|
-
}
|
|
2232
|
-
return true;
|
|
2233
|
-
}).run();
|
|
2234
|
-
})]);
|
|
2235
|
-
} };
|
|
2236
|
-
},
|
|
2237
|
-
addKeyboardShortcuts() {
|
|
2238
|
-
return {
|
|
2239
|
-
"Mod-Enter": () => this.editor.commands.setHardBreak(),
|
|
2240
|
-
"Shift-Enter": () => this.editor.commands.setHardBreak()
|
|
2241
|
-
};
|
|
2242
|
-
}
|
|
2243
|
-
});
|
|
2244
|
-
//#endregion
|
|
2245
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-history@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2__@tiptap+pm@2.27.2/node_modules/@tiptap/extension-history/dist/index.js
|
|
2246
|
-
/**
|
|
2247
|
-
* This extension allows you to undo and redo recent changes.
|
|
2248
|
-
* @see https://www.tiptap.dev/api/extensions/history
|
|
2249
|
-
*
|
|
2250
|
-
* **Important**: If the `@tiptap/extension-collaboration` package is used, make sure to remove
|
|
2251
|
-
* the `history` extension, as it is not compatible with the `collaboration` extension.
|
|
2252
|
-
*
|
|
2253
|
-
* `@tiptap/extension-collaboration` uses its own history implementation.
|
|
2254
|
-
*/
|
|
2255
|
-
var History = Extension.create({
|
|
2256
|
-
name: "history",
|
|
2257
|
-
addOptions() {
|
|
2258
|
-
return {
|
|
2259
|
-
depth: 100,
|
|
2260
|
-
newGroupDelay: 500
|
|
2261
|
-
};
|
|
2262
|
-
},
|
|
2263
|
-
addCommands() {
|
|
2264
|
-
return {
|
|
2265
|
-
undo: () => ({ state, dispatch }) => {
|
|
2266
|
-
return undo(state, dispatch);
|
|
2267
|
-
},
|
|
2268
|
-
redo: () => ({ state, dispatch }) => {
|
|
2269
|
-
return redo(state, dispatch);
|
|
2270
|
-
}
|
|
2271
|
-
};
|
|
2272
|
-
},
|
|
2273
|
-
addProseMirrorPlugins() {
|
|
2274
|
-
return [history(this.options)];
|
|
2275
|
-
},
|
|
2276
|
-
addKeyboardShortcuts() {
|
|
2277
|
-
return {
|
|
2278
|
-
"Mod-z": () => this.editor.commands.undo(),
|
|
2279
|
-
"Shift-Mod-z": () => this.editor.commands.redo(),
|
|
2280
|
-
"Mod-y": () => this.editor.commands.redo(),
|
|
2281
|
-
"Mod-я": () => this.editor.commands.undo(),
|
|
2282
|
-
"Shift-Mod-я": () => this.editor.commands.redo()
|
|
2283
|
-
};
|
|
2284
|
-
}
|
|
2285
|
-
});
|
|
2286
|
-
//#endregion
|
|
2287
1920
|
//#region ../../node_modules/.pnpm/@tiptap+extension-dropcursor@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2__@tiptap+pm@2.27.2/node_modules/@tiptap/extension-dropcursor/dist/index.js
|
|
2288
1921
|
/**
|
|
2289
1922
|
* This extension allows you to add a drop cursor to your editor.
|
|
@@ -4076,7 +3709,7 @@ var Link = Mark.create({
|
|
|
4076
3709
|
/**
|
|
4077
3710
|
* Matches an image to a  on input.
|
|
4078
3711
|
*/
|
|
4079
|
-
var inputRegex$
|
|
3712
|
+
var inputRegex$2 = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/;
|
|
4080
3713
|
/**
|
|
4081
3714
|
* This extension allows you to insert images.
|
|
4082
3715
|
* @see https://www.tiptap.dev/api/nodes/image
|
|
@@ -4120,7 +3753,7 @@ var Image = Node$1.create({
|
|
|
4120
3753
|
},
|
|
4121
3754
|
addInputRules() {
|
|
4122
3755
|
return [nodeInputRule({
|
|
4123
|
-
find: inputRegex$
|
|
3756
|
+
find: inputRegex$2,
|
|
4124
3757
|
type: this.type,
|
|
4125
3758
|
getAttributes: (match) => {
|
|
4126
3759
|
const [, , alt, src, title] = match;
|
|
@@ -4177,11 +3810,11 @@ var LoomaImage = Image.extend({ addAttributes() {
|
|
|
4177
3810
|
/**
|
|
4178
3811
|
* Matches a highlight to a ==highlight== on input.
|
|
4179
3812
|
*/
|
|
4180
|
-
var inputRegex$
|
|
3813
|
+
var inputRegex$1 = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/;
|
|
4181
3814
|
/**
|
|
4182
3815
|
* Matches a highlight to a ==highlight== on paste.
|
|
4183
3816
|
*/
|
|
4184
|
-
var pasteRegex
|
|
3817
|
+
var pasteRegex = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g;
|
|
4185
3818
|
/**
|
|
4186
3819
|
* This extension allows you to highlight text.
|
|
4187
3820
|
* @see https://www.tiptap.dev/api/marks/highlight
|
|
@@ -4236,13 +3869,13 @@ var Highlight = Mark.create({
|
|
|
4236
3869
|
},
|
|
4237
3870
|
addInputRules() {
|
|
4238
3871
|
return [markInputRule({
|
|
4239
|
-
find: inputRegex$
|
|
3872
|
+
find: inputRegex$1,
|
|
4240
3873
|
type: this.type
|
|
4241
3874
|
})];
|
|
4242
3875
|
},
|
|
4243
3876
|
addPasteRules() {
|
|
4244
3877
|
return [markPasteRule({
|
|
4245
|
-
find: pasteRegex
|
|
3878
|
+
find: pasteRegex,
|
|
4246
3879
|
type: this.type
|
|
4247
3880
|
})];
|
|
4248
3881
|
}
|
|
@@ -4449,73 +4082,6 @@ var Placeholder = Extension.create({
|
|
|
4449
4082
|
}
|
|
4450
4083
|
});
|
|
4451
4084
|
//#endregion
|
|
4452
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-code@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2_/node_modules/@tiptap/extension-code/dist/index.js
|
|
4453
|
-
/**
|
|
4454
|
-
* Regular expressions to match inline code blocks enclosed in backticks.
|
|
4455
|
-
* It matches:
|
|
4456
|
-
* - An opening backtick, followed by
|
|
4457
|
-
* - Any text that doesn't include a backtick (captured for marking), followed by
|
|
4458
|
-
* - A closing backtick.
|
|
4459
|
-
* This ensures that any text between backticks is formatted as code,
|
|
4460
|
-
* regardless of the surrounding characters (exception being another backtick).
|
|
4461
|
-
*/
|
|
4462
|
-
var inputRegex$1 = /(^|[^`])`([^`]+)`(?!`)/;
|
|
4463
|
-
/**
|
|
4464
|
-
* Matches inline code while pasting.
|
|
4465
|
-
*/
|
|
4466
|
-
var pasteRegex = /(^|[^`])`([^`]+)`(?!`)/g;
|
|
4467
|
-
/**
|
|
4468
|
-
* This extension allows you to mark text as inline code.
|
|
4469
|
-
* @see https://tiptap.dev/api/marks/code
|
|
4470
|
-
*/
|
|
4471
|
-
var Code = Mark.create({
|
|
4472
|
-
name: "code",
|
|
4473
|
-
addOptions() {
|
|
4474
|
-
return { HTMLAttributes: {} };
|
|
4475
|
-
},
|
|
4476
|
-
excludes: "_",
|
|
4477
|
-
code: true,
|
|
4478
|
-
exitable: true,
|
|
4479
|
-
parseHTML() {
|
|
4480
|
-
return [{ tag: "code" }];
|
|
4481
|
-
},
|
|
4482
|
-
renderHTML({ HTMLAttributes }) {
|
|
4483
|
-
return [
|
|
4484
|
-
"code",
|
|
4485
|
-
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),
|
|
4486
|
-
0
|
|
4487
|
-
];
|
|
4488
|
-
},
|
|
4489
|
-
addCommands() {
|
|
4490
|
-
return {
|
|
4491
|
-
setCode: () => ({ commands }) => {
|
|
4492
|
-
return commands.setMark(this.name);
|
|
4493
|
-
},
|
|
4494
|
-
toggleCode: () => ({ commands }) => {
|
|
4495
|
-
return commands.toggleMark(this.name);
|
|
4496
|
-
},
|
|
4497
|
-
unsetCode: () => ({ commands }) => {
|
|
4498
|
-
return commands.unsetMark(this.name);
|
|
4499
|
-
}
|
|
4500
|
-
};
|
|
4501
|
-
},
|
|
4502
|
-
addKeyboardShortcuts() {
|
|
4503
|
-
return { "Mod-e": () => this.editor.commands.toggleCode() };
|
|
4504
|
-
},
|
|
4505
|
-
addInputRules() {
|
|
4506
|
-
return [markInputRule({
|
|
4507
|
-
find: inputRegex$1,
|
|
4508
|
-
type: this.type
|
|
4509
|
-
})];
|
|
4510
|
-
},
|
|
4511
|
-
addPasteRules() {
|
|
4512
|
-
return [markPasteRule({
|
|
4513
|
-
find: pasteRegex,
|
|
4514
|
-
type: this.type
|
|
4515
|
-
})];
|
|
4516
|
-
}
|
|
4517
|
-
});
|
|
4518
|
-
//#endregion
|
|
4519
4085
|
//#region ../../node_modules/.pnpm/@tiptap+extension-code-block@2.27.2_@tiptap+core@2.27.2_@tiptap+pm@2.27.2__@tiptap+pm@2.27.2/node_modules/@tiptap/extension-code-block/dist/index.js
|
|
4520
4086
|
/**
|
|
4521
4087
|
* Matches a code block with backticks.
|
|
@@ -10796,6 +10362,34 @@ function getDefaultEditorExtensions(options = {}) {
|
|
|
10796
10362
|
];
|
|
10797
10363
|
}
|
|
10798
10364
|
//#endregion
|
|
10365
|
+
//#region src/editor/selection-geometry.ts
|
|
10366
|
+
/** A plain copy of a client rectangle, the anchor shape the slash and mention menus accept as a prop. */
|
|
10367
|
+
function menuAnchorRect(rect) {
|
|
10368
|
+
if (!rect) return null;
|
|
10369
|
+
return {
|
|
10370
|
+
left: rect.left,
|
|
10371
|
+
top: rect.top,
|
|
10372
|
+
right: rect.right,
|
|
10373
|
+
bottom: rect.bottom,
|
|
10374
|
+
x: rect.x,
|
|
10375
|
+
y: rect.y,
|
|
10376
|
+
width: rect.width,
|
|
10377
|
+
height: rect.height
|
|
10378
|
+
};
|
|
10379
|
+
}
|
|
10380
|
+
function selectionElement(editor) {
|
|
10381
|
+
const { node } = editor.view.domAtPos(editor.state.selection.from);
|
|
10382
|
+
return node instanceof HTMLElement ? node : node.parentElement;
|
|
10383
|
+
}
|
|
10384
|
+
/** The rendered table that holds the selection's start. */
|
|
10385
|
+
function selectedTableElement(editor) {
|
|
10386
|
+
return selectionElement(editor)?.closest("table");
|
|
10387
|
+
}
|
|
10388
|
+
/** The rendered cell that holds the selection's start. */
|
|
10389
|
+
function selectedTableCellElement(editor) {
|
|
10390
|
+
return selectionElement(editor)?.closest("td, th");
|
|
10391
|
+
}
|
|
10392
|
+
//#endregion
|
|
10799
10393
|
//#region src/editor/extensions/table-commands.ts
|
|
10800
10394
|
var NO_TABLE_CAPABILITIES = {
|
|
10801
10395
|
canToggleHeaderRow: false,
|
|
@@ -11190,6 +10784,20 @@ function handleTableOverlayAction(editor, detail) {
|
|
|
11190
10784
|
editor.commands.focus();
|
|
11191
10785
|
return true;
|
|
11192
10786
|
}
|
|
10787
|
+
/**
|
|
10788
|
+
* Moves the caret to the cell an overlay action names when the action comes from a table other
|
|
10789
|
+
* than the selected one, so table commands act on that table. A cell menu also selects its cell,
|
|
10790
|
+
* unless that cell is already part of the selection.
|
|
10791
|
+
*/
|
|
10792
|
+
function focusTableOverlayTarget(editor, table, detail) {
|
|
10793
|
+
const target = "rowIndex" in detail ? resolveTableCellAt(table, detail.rowIndex, detail.columnIndex) : "fromIndex" in detail ? resolveTableCellAt(table, detail.action === "reorder-row" ? detail.fromIndex : 0, detail.action === "reorder-column" ? detail.fromIndex : 0) : resolveTableCellAt(table, detail.action.startsWith("add-row") ? Math.max(0, detail.boundaryIndex - 1) : 0, detail.action.startsWith("add-column") ? Math.max(0, detail.boundaryIndex - 1) : 0);
|
|
10794
|
+
if (target && selectedTableElement(editor) !== table) editor.chain().focus().setTextSelection(editor.view.posAtDOM(target, 0) + 1).run();
|
|
10795
|
+
if (detail.action !== "open-cell-menu") return;
|
|
10796
|
+
const selected = selectedTableCellElement(editor);
|
|
10797
|
+
const cell = resolveTableCellAt(table, detail.rowIndex, detail.columnIndex) ?? selected;
|
|
10798
|
+
if (cell && selected !== cell && !cell.classList.contains("selectedCell")) editor.chain().focus().setTextSelection(editor.view.posAtDOM(cell, 0) + 1).run();
|
|
10799
|
+
else editor.commands.focus();
|
|
10800
|
+
}
|
|
11193
10801
|
//#endregion
|
|
11194
10802
|
//#region src/editor/extensions/slash-command.ts
|
|
11195
10803
|
var CALLOUT_COMMANDS = [
|
|
@@ -11785,4 +11393,4 @@ function createLoomaSlashCommandExtension(options = {}) {
|
|
|
11785
11393
|
});
|
|
11786
11394
|
}
|
|
11787
11395
|
//#endregion
|
|
11788
|
-
export {
|
|
11396
|
+
export { LoomaExpand as $, createLoomaMentionExtension as A, navigateTableOfContents as B, getActiveTableCellBackground as C, createSiteRelativeLinks as D, LoomaSmartPaste as E, LoomaImage as F, LoomaLinkDefinition as G, tableOfContentsTree as H, normalizeImageDimension as I, LoomaFootnote as J, LOOMA_FOOTNOTE_INSERTED as K, normalizeImagePlacement as L, MAX_MENTION_RESULT_LIMIT as M, filterLoomaMentionItems as N, siteRelativeHref as O, normalizeMentionResultLimit as P, LoomaFigure as Q, LoomaTableOfContents as R, getActiveTableCellAlignment as S, setActiveTableCellBackground as T, LoomaTab as U, normalizeTableOfContentsConfig as V, LoomaTabs as W, findLoomaFootnote as X, LoomaFootnoteReference as Y, LoomaFigcaption as Z, getDefaultEditorExtensions as _, NO_TABLE_CAPABILITIES as a, LOOMA_ACTIVE_BLOCK_BLUR_GRACE_MS as at, LoomaTableCell as b, handleTableAction as c, LoomaActiveBlock as ct, normalizeActiveTableColumnWidths as d, revealLoomaExpandAt as et, shouldShowTextFormattingToolbar as f, LoomaTableKit as g, selectedTableElement as h, getDefaultSlashCommands as i, LoomaCallout as it, DEFAULT_MENTION_RESULT_LIMIT as j, LoomaMentionSuggestionPluginKey as k, handleTableOverlayAction as l, LoomaActiveBlockPluginKey as lt, selectedTableCellElement as m, createLoomaSlashCommandExtension as n, LoomaChip as nt, focusTableOverlayTarget as o, LOOMA_ACTIVE_BLOCK_CLASS as ot, menuAnchorRect as p, LOOMA_FOOTNOTE_LABEL as q, filterLoomaSlashCommands as r, normalizeLoomaChipColor as rt, getActiveTableUiState as s, LOOMA_ACTIVE_BLOCK_TYPING_IDLE_MS as st, LoomaSlashCommand as t, LOOMA_CHIP_COLORS as tt, insertTableAtRange as u, getLoomaTableExtensions as v, setActiveTableCellAlignment as w, LoomaTableHeader as x, LoomaTable as y, getTableOfContentsEntries as z };
|