@threadlabs/looma 0.30.2 → 0.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-combobox/ui-combobox.html +10 -10
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -4
- package/components/ui-image/ui-image.html +2 -2
- package/components/ui-listbox/ui-listbox.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -2
- package/dist/index.js +5 -4
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-swatch.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +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 +4 -4
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +4 -4
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +4 -4
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +4 -4
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +3 -3
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +3 -3
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +6 -6
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +4 -4
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +6 -6
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +4 -4
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +4 -4
- package/vanilla/UiCombobox.d.ts +12 -12
- package/vanilla/UiCombobox.js +12 -10
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +4 -4
- package/vanilla/UiContextMenu.d.ts +2 -2
- package/vanilla/UiContextMenu.js +3 -3
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +4 -4
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +3 -3
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +4 -4
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +4 -4
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +4 -4
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +3 -3
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +4 -4
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +4 -4
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +3 -3
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +4 -4
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +3 -3
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +8 -6
- package/vanilla/UiEditorLinkForm.d.ts +2 -2
- package/vanilla/UiEditorLinkForm.js +9 -7
- package/vanilla/UiEditorMentionMenu.d.ts +3 -3
- package/vanilla/UiEditorMentionMenu.js +3 -3
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +3 -3
- package/vanilla/UiEditorSlashMenu.d.ts +3 -3
- package/vanilla/UiEditorSlashMenu.js +3 -3
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +3 -3
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +3 -3
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +4 -4
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +4 -4
- package/vanilla/UiEditorTableOverlay.d.ts +2 -2
- package/vanilla/UiEditorTableOverlay.js +4 -4
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +4 -4
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +3 -3
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +3 -3
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +3 -3
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +4 -4
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +9 -7
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +4 -4
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +4 -4
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +4 -4
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +4 -4
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +6 -6
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +4 -4
- package/vanilla/UiListbox.d.ts +2 -2
- package/vanilla/UiListbox.js +3 -3
- package/vanilla/UiMenu.d.ts +2 -2
- package/vanilla/UiMenu.js +4 -4
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +3 -3
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +6 -6
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +9 -7
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +6 -6
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +4 -4
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +4 -4
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +4 -4
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +4 -4
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +4 -4
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +4 -4
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +4 -4
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +3 -3
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +4 -4
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +4 -4
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +4 -4
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +4 -4
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +4 -4
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +4 -4
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +4 -4
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +9 -7
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +4 -4
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +4 -4
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +4 -4
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +6 -6
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +4 -4
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +4 -4
- package/vanilla/UiToastRegion.d.ts +2 -2
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +4 -4
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +4 -4
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +35 -23
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.d.ts +8 -8
- package/vue/UiAffordanceScope.vue +57 -20
- package/vue/UiAvatar.d.ts +9 -27
- package/vue/UiAvatar.vue +100 -68
- package/vue/UiAvatarGroup.d.ts +9 -18
- package/vue/UiAvatarGroup.vue +73 -44
- package/vue/UiBadge.d.ts +9 -15
- package/vue/UiBadge.vue +67 -39
- package/vue/UiBreadcrumbItem.d.ts +8 -5
- package/vue/UiBreadcrumbItem.vue +45 -12
- package/vue/UiBreadcrumbs.d.ts +8 -5
- package/vue/UiBreadcrumbs.vue +45 -12
- package/vue/UiButton.d.ts +9 -45
- package/vue/UiButton.vue +148 -119
- package/vue/UiCallout.d.ts +8 -8
- package/vue/UiCallout.vue +68 -25
- package/vue/UiCard.d.ts +8 -17
- package/vue/UiCard.vue +77 -53
- package/vue/UiCheckbox.d.ts +8 -29
- package/vue/UiCheckbox.vue +118 -76
- package/vue/UiCluster.d.ts +9 -24
- package/vue/UiCluster.vue +91 -66
- package/vue/UiCombobox.d.ts +135 -219
- package/vue/UiCombobox.vue +528 -496
- package/vue/UiContainer.d.ts +8 -11
- package/vue/UiContainer.vue +61 -28
- package/vue/UiContextMenu.d.ts +10 -10
- package/vue/UiContextMenu.vue +55 -22
- package/vue/UiCover.d.ts +8 -5
- package/vue/UiCover.vue +45 -12
- package/vue/UiDescriptionItem.d.ts +8 -5
- package/vue/UiDescriptionItem.vue +40 -12
- package/vue/UiDescriptionList.d.ts +8 -11
- package/vue/UiDescriptionList.vue +61 -34
- package/vue/UiDialog.d.ts +8 -26
- package/vue/UiDialog.vue +99 -74
- package/vue/UiDisclosure.d.ts +8 -29
- package/vue/UiDisclosure.vue +118 -79
- package/vue/UiEditable.d.ts +8 -35
- package/vue/UiEditable.vue +136 -92
- package/vue/UiEditorBlockActions.d.ts +8 -8
- package/vue/UiEditorBlockActions.vue +58 -23
- package/vue/UiEditorChipEditor.d.ts +8 -8
- package/vue/UiEditorChipEditor.vue +65 -20
- package/vue/UiEditorCodeLanguage.d.ts +8 -11
- package/vue/UiEditorCodeLanguage.vue +74 -31
- package/vue/UiEditorImageToolbar.d.ts +8 -11
- package/vue/UiEditorImageToolbar.vue +175 -144
- package/vue/UiEditorInsertTableGrid.d.ts +8 -14
- package/vue/UiEditorInsertTableGrid.vue +73 -36
- package/vue/UiEditorLinkCard.d.ts +8 -17
- package/vue/UiEditorLinkCard.vue +157 -90
- package/vue/UiEditorLinkForm.d.ts +10 -44
- package/vue/UiEditorLinkForm.vue +336 -228
- package/vue/UiEditorMentionMenu.d.ts +28 -60
- package/vue/UiEditorMentionMenu.vue +166 -121
- package/vue/UiEditorMentionMenuItem.d.ts +8 -11
- package/vue/UiEditorMentionMenuItem.vue +61 -28
- package/vue/UiEditorSlashMenu.d.ts +26 -52
- package/vue/UiEditorSlashMenu.vue +141 -104
- package/vue/UiEditorSlashMenuGroup.d.ts +8 -5
- package/vue/UiEditorSlashMenuGroup.vue +40 -12
- package/vue/UiEditorSlashMenuItem.d.ts +8 -17
- package/vue/UiEditorSlashMenuItem.vue +90 -48
- package/vue/UiEditorSurface.d.ts +8 -5
- package/vue/UiEditorSurface.vue +45 -15
- package/vue/UiEditorTableContextMenu.d.ts +8 -20
- package/vue/UiEditorTableContextMenu.vue +151 -113
- package/vue/UiEditorTableOverlay.d.ts +10 -29
- package/vue/UiEditorTableOverlay.vue +180 -153
- package/vue/UiEditorTableToolbar.d.ts +8 -20
- package/vue/UiEditorTableToolbar.vue +158 -116
- package/vue/UiEditorToolbar.d.ts +8 -5
- package/vue/UiEditorToolbar.vue +48 -12
- package/vue/UiFloatingActionButton.d.ts +8 -11
- package/vue/UiFloatingActionButton.vue +60 -28
- package/vue/UiFormField.d.ts +8 -11
- package/vue/UiFormField.vue +63 -28
- package/vue/UiGrid.d.ts +8 -11
- package/vue/UiGrid.vue +56 -28
- package/vue/UiIcon.d.ts +8 -8
- package/vue/UiIcon.vue +444 -395
- package/vue/UiIconButton.d.ts +9 -39
- package/vue/UiIconButton.vue +138 -103
- package/vue/UiImage.d.ts +8 -23
- package/vue/UiImage.vue +80 -60
- package/vue/UiInput.d.ts +4 -7
- package/vue/UiInput.vue +169 -149
- package/vue/UiInputGroup.d.ts +8 -17
- package/vue/UiInputGroup.vue +81 -47
- package/vue/UiList.d.ts +9 -15
- package/vue/UiList.vue +67 -39
- package/vue/UiListItem.d.ts +8 -20
- package/vue/UiListItem.vue +87 -52
- package/vue/UiListbox.d.ts +10 -28
- package/vue/UiListbox.vue +111 -71
- package/vue/UiMenu.d.ts +10 -25
- package/vue/UiMenu.vue +96 -65
- package/vue/UiMenuGroup.d.ts +8 -5
- package/vue/UiMenuGroup.vue +40 -12
- package/vue/UiMenuItem.d.ts +8 -20
- package/vue/UiMenuItem.vue +91 -55
- package/vue/UiMeter.d.ts +9 -33
- package/vue/UiMeter.vue +202 -147
- package/vue/UiNavItem.d.ts +9 -24
- package/vue/UiNavItem.vue +78 -63
- package/vue/UiPageHeader.d.ts +8 -5
- package/vue/UiPageHeader.vue +45 -12
- package/vue/UiPopover.d.ts +8 -14
- package/vue/UiPopover.vue +90 -58
- package/vue/UiRadio.d.ts +8 -20
- package/vue/UiRadio.vue +91 -52
- package/vue/UiRadioGroup.d.ts +8 -26
- package/vue/UiRadioGroup.vue +109 -74
- package/vue/UiReel.d.ts +8 -11
- package/vue/UiReel.vue +56 -28
- package/vue/UiScrollArea.d.ts +9 -18
- package/vue/UiScrollArea.vue +81 -53
- package/vue/UiSearchResultRow.d.ts +8 -11
- package/vue/UiSearchResultRow.vue +60 -31
- package/vue/UiSearchShell.d.ts +8 -14
- package/vue/UiSearchShell.vue +73 -36
- package/vue/UiSection.d.ts +8 -11
- package/vue/UiSection.vue +60 -31
- package/vue/UiSelect.d.ts +8 -17
- package/vue/UiSelect.vue +83 -51
- package/vue/UiSeparator.d.ts +9 -15
- package/vue/UiSeparator.vue +69 -39
- package/vue/UiSidebar.d.ts +8 -29
- package/vue/UiSidebar.vue +118 -76
- package/vue/UiSpinner.d.ts +8 -8
- package/vue/UiSpinner.vue +51 -20
- package/vue/UiStack.d.ts +9 -18
- package/vue/UiStack.vue +73 -53
- package/vue/UiStatusMessage.d.ts +8 -11
- package/vue/UiStatusMessage.vue +60 -33
- package/vue/UiSwatch.d.ts +8 -5
- package/vue/UiSwatch.vue +64 -22
- package/vue/UiSwitch.d.ts +8 -20
- package/vue/UiSwitch.vue +91 -52
- package/vue/UiSwitcher.d.ts +9 -15
- package/vue/UiSwitcher.vue +64 -39
- package/vue/UiTable.d.ts +8 -8
- package/vue/UiTable.vue +56 -23
- package/vue/UiTabs.d.ts +8 -23
- package/vue/UiTabs.vue +100 -66
- package/vue/UiText.d.ts +9 -36
- package/vue/UiText.vue +152 -109
- package/vue/UiTextarea.d.ts +8 -29
- package/vue/UiTextarea.vue +118 -83
- package/vue/UiToast.d.ts +8 -8
- package/vue/UiToast.vue +55 -20
- package/vue/UiToastRegion.d.ts +14 -14
- package/vue/UiToastRegion.vue +66 -28
- package/vue/UiTooltip.d.ts +8 -23
- package/vue/UiTooltip.vue +117 -82
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.d.ts +8 -23
- package/vue/UiTree.vue +99 -69
- package/vue/UiTreeItem.d.ts +8 -47
- package/vue/UiTreeItem.vue +178 -127
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +35 -22
- package/vue/chunks/UiAvatar.js +81 -70
- package/vue/chunks/UiAvatarGroup.js +58 -46
- package/vue/chunks/UiBadge.js +46 -38
- package/vue/chunks/UiBreadcrumbItem.js +22 -11
- package/vue/chunks/UiBreadcrumbs.js +22 -11
- package/vue/chunks/UiButton.js +115 -118
- package/vue/chunks/UiCallout.js +32 -22
- package/vue/chunks/UiCard.js +53 -46
- package/vue/chunks/UiCheckbox.js +84 -78
- package/vue/chunks/UiCluster.js +63 -62
- package/vue/chunks/UiCombobox.js +359 -382
- package/vue/chunks/UiContainer.js +35 -30
- package/vue/chunks/UiContextMenu.js +36 -23
- package/vue/chunks/UiCover.js +22 -11
- package/vue/chunks/UiDescriptionItem.js +22 -11
- package/vue/chunks/UiDescriptionList.js +38 -30
- package/vue/chunks/UiDialog.js +78 -70
- package/vue/chunks/UiDisclosure.js +87 -78
- package/vue/chunks/UiEditable.js +102 -94
- package/vue/chunks/UiEditorBlockActions.js +49 -23
- package/vue/chunks/UiEditorChipEditor.js +48 -25
- package/vue/chunks/UiEditorCodeLanguage.js +58 -41
- package/vue/chunks/UiEditorImageToolbar.js +153 -148
- package/vue/chunks/UiEditorInsertTableGrid.js +55 -38
- package/vue/chunks/UiEditorLinkCard.js +104 -82
- package/vue/chunks/UiEditorLinkForm.js +282 -258
- package/vue/chunks/UiEditorMentionMenu.js +156 -145
- package/vue/chunks/UiEditorMentionMenuItem.js +39 -30
- package/vue/chunks/UiEditorSlashMenu.js +141 -130
- package/vue/chunks/UiEditorSlashMenuGroup.js +22 -11
- package/vue/chunks/UiEditorSlashMenuItem.js +62 -47
- package/vue/chunks/UiEditorSurface.js +22 -11
- package/vue/chunks/UiEditorTableContextMenu.js +98 -87
- package/vue/chunks/UiEditorTableOverlay.js +286 -308
- package/vue/chunks/UiEditorTableToolbar.js +102 -87
- package/vue/chunks/UiEditorToolbar.js +24 -11
- package/vue/chunks/UiFloatingActionButton.js +39 -30
- package/vue/chunks/UiFormField.js +41 -30
- package/vue/chunks/UiGrid.js +35 -30
- package/vue/chunks/UiIcon.js +38 -25
- package/vue/chunks/UiIconButton.js +102 -102
- package/vue/chunks/UiImage.js +67 -62
- package/vue/chunks/UiInput.js +275 -274
- package/vue/chunks/UiInputGroup.js +55 -46
- package/vue/chunks/UiList.js +46 -38
- package/vue/chunks/UiListItem.js +60 -54
- package/vue/chunks/UiListbox.js +83 -72
- package/vue/chunks/UiMenu.js +71 -63
- package/vue/chunks/UiMenuGroup.js +22 -11
- package/vue/chunks/UiMenuItem.js +63 -54
- package/vue/chunks/UiMeter.js +124 -119
- package/vue/chunks/UiNavItem.js +64 -62
- package/vue/chunks/UiPageHeader.js +22 -11
- package/vue/chunks/UiPopover.js +49 -38
- package/vue/chunks/UiRadio.js +63 -54
- package/vue/chunks/UiRadioGroup.js +77 -70
- package/vue/chunks/UiReel.js +35 -30
- package/vue/chunks/UiScrollArea.js +55 -46
- package/vue/chunks/UiSearchResultRow.js +39 -30
- package/vue/chunks/UiSearchShell.js +49 -38
- package/vue/chunks/UiSection.js +39 -30
- package/vue/chunks/UiSelect.js +57 -48
- package/vue/chunks/UiSeparator.js +46 -38
- package/vue/chunks/UiSidebar.js +88 -78
- package/vue/chunks/UiSpinner.js +32 -22
- package/vue/chunks/UiStack.js +47 -46
- package/vue/chunks/UiStatusMessage.js +39 -30
- package/vue/chunks/UiSwatch.js +28 -14
- package/vue/chunks/UiSwitch.js +63 -54
- package/vue/chunks/UiSwitcher.js +44 -38
- package/vue/chunks/UiTable.js +34 -22
- package/vue/chunks/UiTabs.js +73 -62
- package/vue/chunks/UiText.js +95 -94
- package/vue/chunks/UiTextarea.js +84 -80
- package/vue/chunks/UiToast.js +34 -22
- package/vue/chunks/UiToastRegion.js +36 -23
- package/vue/chunks/UiTooltip.js +70 -62
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +69 -62
- package/vue/chunks/UiTreeItem.js +154 -151
- package/vue/chunks/_plugin-vue_export-helper.js +185 -36
- package/vue/chunks/control.js +6 -1
- package/vue/chunks/props.js +435 -11
- package/vue/components.css +39 -39
- package/vue/editor/index.js +129 -291
- package/vue/host.ts +320 -14
- package/vue/props.d.ts +272 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as concat, i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as inputRead, f as vPropValidity, i as checkPropInput, l as propValidityState, n as READY_INPUT, o as evaluateInput, p as vuePropInputs, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP, u as requireInputStatus } from "./props.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
4
|
import { t as UiButton_default } from "./UiButton.js";
|
|
5
5
|
import { t as UiCluster_default } from "./UiCluster.js";
|
|
@@ -11,7 +11,7 @@ import { t as UiFormField_default } from "./UiFormField.js";
|
|
|
11
11
|
import { t as UiIconButton_default } from "./UiIconButton.js";
|
|
12
12
|
import { t as UiPopover_default } from "./UiPopover.js";
|
|
13
13
|
import { t as UiText_default } from "./UiText.js";
|
|
14
|
-
import { computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
14
|
+
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderList, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
15
15
|
//#region .build/vue/UiEditorImageToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
16
16
|
var _hoisted_1 = [
|
|
17
17
|
"data-ui-editor-image-toolbar-prop-alt",
|
|
@@ -26,18 +26,10 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
inheritAttrs: false,
|
|
27
27
|
__name: "UiEditorImageToolbar",
|
|
28
28
|
props: {
|
|
29
|
-
alt: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
placement: {
|
|
34
|
-
type: null,
|
|
35
|
-
default: "block"
|
|
36
|
-
},
|
|
37
|
-
target: {
|
|
38
|
-
type: null,
|
|
39
|
-
default: ""
|
|
40
|
-
}
|
|
29
|
+
alt: { type: null },
|
|
30
|
+
placement: { type: null },
|
|
31
|
+
target: { type: null },
|
|
32
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
41
33
|
},
|
|
42
34
|
emits: [
|
|
43
35
|
"update:alt",
|
|
@@ -86,25 +78,47 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
86
78
|
}
|
|
87
79
|
} };
|
|
88
80
|
const props = __props;
|
|
89
|
-
const
|
|
81
|
+
const inputTracking = vuePropInputs({
|
|
90
82
|
alt: "",
|
|
91
83
|
placement: "block",
|
|
92
84
|
target: ""
|
|
85
|
+
}, {
|
|
86
|
+
alt: "",
|
|
87
|
+
placement: "block",
|
|
88
|
+
target: ""
|
|
89
|
+
}, (name, value, source, values) => {
|
|
90
|
+
switch (name) {
|
|
91
|
+
case "alt": return checkPropInput(value, {
|
|
92
|
+
kind: "terminal",
|
|
93
|
+
name: "string"
|
|
94
|
+
}, true, true);
|
|
95
|
+
case "placement": return checkPropInput(value, {
|
|
96
|
+
kind: "terminal",
|
|
97
|
+
name: "keyword"
|
|
98
|
+
}, true, true);
|
|
99
|
+
case "target": return checkPropInput(value, {
|
|
100
|
+
kind: "terminal",
|
|
101
|
+
name: "string"
|
|
102
|
+
}, true, true);
|
|
103
|
+
default: return { ok: false };
|
|
104
|
+
}
|
|
105
|
+
}, () => {
|
|
106
|
+
checkedProps.value;
|
|
107
|
+
});
|
|
108
|
+
const propInputs = inputTracking.inputs;
|
|
109
|
+
const checkedProps = computed(() => {
|
|
110
|
+
inputTracking.version.value;
|
|
111
|
+
return {
|
|
112
|
+
alt: propInputs.value("alt", props["alt"], props[BINDING_INPUTS_PROP]),
|
|
113
|
+
placement: propInputs.value("placement", props["placement"], props[BINDING_INPUTS_PROP]),
|
|
114
|
+
target: propInputs.value("target", props["target"], props[BINDING_INPUTS_PROP])
|
|
115
|
+
};
|
|
116
|
+
});
|
|
117
|
+
const inputStatus = (name, handlesError) => {
|
|
118
|
+
checkedProps.value;
|
|
119
|
+
inputTracking.version.value;
|
|
120
|
+
return requireInputStatus(propInputs.status(name), handlesError);
|
|
93
121
|
};
|
|
94
|
-
const checkedProps = computed(() => ({
|
|
95
|
-
alt: checkedProp(props["alt"], {
|
|
96
|
-
kind: "terminal",
|
|
97
|
-
name: "string"
|
|
98
|
-
}, false, "alt", acceptedProps),
|
|
99
|
-
placement: checkedProp(props["placement"], {
|
|
100
|
-
kind: "terminal",
|
|
101
|
-
name: "keyword"
|
|
102
|
-
}, false, "placement", acceptedProps),
|
|
103
|
-
target: checkedProp(props["target"], {
|
|
104
|
-
kind: "terminal",
|
|
105
|
-
name: "string"
|
|
106
|
-
}, false, "target", acceptedProps)
|
|
107
|
-
}));
|
|
108
122
|
checkedProps.value;
|
|
109
123
|
watchSyncEffect(() => {
|
|
110
124
|
checkedProps.value;
|
|
@@ -126,130 +140,94 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
126
140
|
});
|
|
127
141
|
let guardedBindingPrevious = null;
|
|
128
142
|
const guardedBinding = computed(() => {
|
|
129
|
-
const candidate = (
|
|
130
|
-
true: "outline",
|
|
131
|
-
false: "ghost"
|
|
132
|
-
}, concat(checkedProps.value.placement === "block"));
|
|
143
|
+
const candidate = concat(checkedProps.value.placement === "block");
|
|
133
144
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
|
|
134
145
|
return guardedBindingPrevious = candidate;
|
|
135
146
|
});
|
|
136
147
|
let guardedBinding2Previous = null;
|
|
137
148
|
const guardedBinding2 = computed(() => {
|
|
138
|
-
const candidate = concat(
|
|
149
|
+
const candidate = concat(base.value, "-center");
|
|
139
150
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding2Previous;
|
|
140
151
|
return guardedBinding2Previous = candidate;
|
|
141
152
|
});
|
|
142
153
|
let guardedBinding3Previous = null;
|
|
143
154
|
const guardedBinding3 = computed(() => {
|
|
144
|
-
const candidate = concat(
|
|
155
|
+
const candidate = concat(checkedProps.value.placement === "center");
|
|
145
156
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding3Previous;
|
|
146
157
|
return guardedBinding3Previous = candidate;
|
|
147
158
|
});
|
|
148
159
|
let guardedBinding4Previous = null;
|
|
149
160
|
const guardedBinding4 = computed(() => {
|
|
150
|
-
const candidate = (
|
|
151
|
-
true: "outline",
|
|
152
|
-
false: "ghost"
|
|
153
|
-
}, concat(checkedProps.value.placement === "center"));
|
|
161
|
+
const candidate = concat(base.value, "-wrap-left");
|
|
154
162
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding4Previous;
|
|
155
163
|
return guardedBinding4Previous = candidate;
|
|
156
164
|
});
|
|
157
165
|
let guardedBinding5Previous = null;
|
|
158
166
|
const guardedBinding5 = computed(() => {
|
|
159
|
-
const candidate = concat(checkedProps.value.placement === "
|
|
167
|
+
const candidate = concat(checkedProps.value.placement === "wrap-left");
|
|
160
168
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding5Previous;
|
|
161
169
|
return guardedBinding5Previous = candidate;
|
|
162
170
|
});
|
|
163
171
|
let guardedBinding6Previous = null;
|
|
164
172
|
const guardedBinding6 = computed(() => {
|
|
165
|
-
const candidate = concat(base.value, "-wrap-
|
|
173
|
+
const candidate = concat(base.value, "-wrap-right");
|
|
166
174
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding6Previous;
|
|
167
175
|
return guardedBinding6Previous = candidate;
|
|
168
176
|
});
|
|
169
177
|
let guardedBinding7Previous = null;
|
|
170
178
|
const guardedBinding7 = computed(() => {
|
|
171
|
-
const candidate = (
|
|
172
|
-
true: "outline",
|
|
173
|
-
false: "ghost"
|
|
174
|
-
}, concat(checkedProps.value.placement === "wrap-left"));
|
|
179
|
+
const candidate = concat(checkedProps.value.placement === "wrap-right");
|
|
175
180
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding7Previous;
|
|
176
181
|
return guardedBinding7Previous = candidate;
|
|
177
182
|
});
|
|
178
183
|
let guardedBinding8Previous = null;
|
|
179
184
|
const guardedBinding8 = computed(() => {
|
|
180
|
-
const candidate = concat(
|
|
185
|
+
const candidate = concat(base.value, "-delete");
|
|
181
186
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding8Previous;
|
|
182
187
|
return guardedBinding8Previous = candidate;
|
|
183
188
|
});
|
|
184
189
|
let guardedBinding9Previous = null;
|
|
185
190
|
const guardedBinding9 = computed(() => {
|
|
186
|
-
const candidate = concat(base.value, "-
|
|
191
|
+
const candidate = concat(base.value, "-block");
|
|
187
192
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding9Previous;
|
|
188
193
|
return guardedBinding9Previous = candidate;
|
|
189
194
|
});
|
|
190
195
|
let guardedBinding10Previous = null;
|
|
191
196
|
const guardedBinding10 = computed(() => {
|
|
192
|
-
const candidate = (
|
|
193
|
-
true: "outline",
|
|
194
|
-
false: "ghost"
|
|
195
|
-
}, concat(checkedProps.value.placement === "wrap-right"));
|
|
197
|
+
const candidate = concat(base.value, "-center");
|
|
196
198
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding10Previous;
|
|
197
199
|
return guardedBinding10Previous = candidate;
|
|
198
200
|
});
|
|
199
201
|
let guardedBinding11Previous = null;
|
|
200
202
|
const guardedBinding11 = computed(() => {
|
|
201
|
-
const candidate = concat(
|
|
203
|
+
const candidate = concat(base.value, "-wrap-left");
|
|
202
204
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding11Previous;
|
|
203
205
|
return guardedBinding11Previous = candidate;
|
|
204
206
|
});
|
|
205
207
|
let guardedBinding12Previous = null;
|
|
206
208
|
const guardedBinding12 = computed(() => {
|
|
207
|
-
const candidate = concat(base.value, "-
|
|
209
|
+
const candidate = concat(base.value, "-wrap-right");
|
|
208
210
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding12Previous;
|
|
209
211
|
return guardedBinding12Previous = candidate;
|
|
210
212
|
});
|
|
211
213
|
let guardedBinding13Previous = null;
|
|
212
214
|
const guardedBinding13 = computed(() => {
|
|
213
|
-
const candidate = concat(base.value, "-
|
|
215
|
+
const candidate = concat(base.value, "-delete");
|
|
214
216
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding13Previous;
|
|
215
217
|
return guardedBinding13Previous = candidate;
|
|
216
218
|
});
|
|
217
219
|
let guardedBinding14Previous = null;
|
|
218
220
|
const guardedBinding14 = computed(() => {
|
|
219
|
-
const candidate = concat(base.value, "-
|
|
221
|
+
const candidate = concat(base.value, "-alt");
|
|
220
222
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding14Previous;
|
|
221
223
|
return guardedBinding14Previous = candidate;
|
|
222
224
|
});
|
|
223
225
|
let guardedBinding15Previous = null;
|
|
224
226
|
const guardedBinding15 = computed(() => {
|
|
225
|
-
const candidate = concat(base.value, "-
|
|
227
|
+
const candidate = concat(base.value, "-alt");
|
|
226
228
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding15Previous;
|
|
227
229
|
return guardedBinding15Previous = candidate;
|
|
228
230
|
});
|
|
229
|
-
let guardedBinding16Previous = null;
|
|
230
|
-
const guardedBinding16 = computed(() => {
|
|
231
|
-
const candidate = concat(base.value, "-wrap-right");
|
|
232
|
-
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding16Previous;
|
|
233
|
-
return guardedBinding16Previous = candidate;
|
|
234
|
-
});
|
|
235
|
-
let guardedBinding17Previous = null;
|
|
236
|
-
const guardedBinding17 = computed(() => {
|
|
237
|
-
const candidate = concat(base.value, "-delete");
|
|
238
|
-
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding17Previous;
|
|
239
|
-
return guardedBinding17Previous = candidate;
|
|
240
|
-
});
|
|
241
|
-
let guardedBinding18Previous = null;
|
|
242
|
-
const guardedBinding18 = computed(() => {
|
|
243
|
-
const candidate = concat(base.value, "-alt");
|
|
244
|
-
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding18Previous;
|
|
245
|
-
return guardedBinding18Previous = candidate;
|
|
246
|
-
});
|
|
247
|
-
let guardedBinding19Previous = null;
|
|
248
|
-
const guardedBinding19 = computed(() => {
|
|
249
|
-
const candidate = concat(base.value, "-alt");
|
|
250
|
-
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding19Previous;
|
|
251
|
-
return guardedBinding19Previous = candidate;
|
|
252
|
-
});
|
|
253
231
|
provide("html-next:ui-editor-image-toolbar:base", base);
|
|
254
232
|
provide("html-next:ui-editor-image-toolbar:describing", describing);
|
|
255
233
|
provide("html-next:ui-editor-image-toolbar:draft", draft);
|
|
@@ -282,11 +260,18 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
282
260
|
name: "string"
|
|
283
261
|
}
|
|
284
262
|
}[name], keys),
|
|
263
|
+
initials: {
|
|
264
|
+
base: "ui-editor-image-toolbar",
|
|
265
|
+
describing: false,
|
|
266
|
+
draft: ""
|
|
267
|
+
},
|
|
285
268
|
controllerSource: {
|
|
286
269
|
specifier: "../components/ui-editor-image-toolbar/ui-editor-image-toolbar.js",
|
|
287
270
|
definition: "./components/ui-editor-image-toolbar/ui-editor-image-toolbar.html"
|
|
288
271
|
},
|
|
289
272
|
props: checkedProps,
|
|
273
|
+
inputs: propInputs,
|
|
274
|
+
inputTracking,
|
|
290
275
|
propInputs: (name) => {
|
|
291
276
|
const incoming = hydrationInstance?.vnode.props;
|
|
292
277
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -329,69 +314,89 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
329
314
|
"aria-label": "Image actions"
|
|
330
315
|
}, {
|
|
331
316
|
default: withCtx(() => [
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
317
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList([unref(evaluateInput)(() => ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
318
|
+
true: "outline",
|
|
319
|
+
false: "ghost"
|
|
320
|
+
}, unref(concat)(unref(inputRead)(checkedProps.value.placement, inputStatus("placement", true)) === "block")), unref(READY_INPUT))], (boundInput) => {
|
|
321
|
+
return openBlock(), createBlock(UiIconButton_default, mergeProps({
|
|
322
|
+
label: "Image in line",
|
|
323
|
+
size: "sm",
|
|
324
|
+
"data-placement": "block",
|
|
325
|
+
id: guarded.value,
|
|
326
|
+
variant: boundInput.value,
|
|
327
|
+
"aria-pressed": guardedBinding.value
|
|
328
|
+
}, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: { variant: () => boundInput } }), {
|
|
329
|
+
default: withCtx(() => [createVNode(UiIcon_default, { name: "panel-top" })]),
|
|
330
|
+
_: 1
|
|
331
|
+
}, 16, [
|
|
332
|
+
"id",
|
|
333
|
+
"variant",
|
|
334
|
+
"aria-pressed"
|
|
335
|
+
]);
|
|
336
|
+
}), 256)),
|
|
347
337
|
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
338
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList([unref(evaluateInput)(() => ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
339
|
+
true: "outline",
|
|
340
|
+
false: "ghost"
|
|
341
|
+
}, unref(concat)(unref(inputRead)(checkedProps.value.placement, inputStatus("placement", true)) === "center")), unref(READY_INPUT))], (boundInputSnapshot) => {
|
|
342
|
+
return openBlock(), createBlock(UiIconButton_default, mergeProps({
|
|
343
|
+
label: "Center image",
|
|
344
|
+
size: "sm",
|
|
345
|
+
"data-placement": "center",
|
|
346
|
+
id: guardedBinding2.value,
|
|
347
|
+
variant: boundInputSnapshot.value,
|
|
348
|
+
"aria-pressed": guardedBinding3.value
|
|
349
|
+
}, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: { variant: () => boundInputSnapshot } }), {
|
|
350
|
+
default: withCtx(() => [createVNode(UiIcon_default, { name: "align-center" })]),
|
|
351
|
+
_: 1
|
|
352
|
+
}, 16, [
|
|
353
|
+
"id",
|
|
354
|
+
"variant",
|
|
355
|
+
"aria-pressed"
|
|
356
|
+
]);
|
|
357
|
+
}), 256)),
|
|
363
358
|
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
359
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList([unref(evaluateInput)(() => ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
360
|
+
true: "outline",
|
|
361
|
+
false: "ghost"
|
|
362
|
+
}, unref(concat)(unref(inputRead)(checkedProps.value.placement, inputStatus("placement", true)) === "wrap-left")), unref(READY_INPUT))], (boundInputSnapshot2) => {
|
|
363
|
+
return openBlock(), createBlock(UiIconButton_default, mergeProps({
|
|
364
|
+
label: "Wrap text to the right",
|
|
365
|
+
size: "sm",
|
|
366
|
+
"data-placement": "wrap-left",
|
|
367
|
+
id: guardedBinding4.value,
|
|
368
|
+
variant: boundInputSnapshot2.value,
|
|
369
|
+
"aria-pressed": guardedBinding5.value
|
|
370
|
+
}, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: { variant: () => boundInputSnapshot2 } }), {
|
|
371
|
+
default: withCtx(() => [createVNode(UiIcon_default, { name: "panel-left" })]),
|
|
372
|
+
_: 1
|
|
373
|
+
}, 16, [
|
|
374
|
+
"id",
|
|
375
|
+
"variant",
|
|
376
|
+
"aria-pressed"
|
|
377
|
+
]);
|
|
378
|
+
}), 256)),
|
|
379
379
|
_cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
380
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList([unref(evaluateInput)(() => ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
381
|
+
true: "outline",
|
|
382
|
+
false: "ghost"
|
|
383
|
+
}, unref(concat)(unref(inputRead)(checkedProps.value.placement, inputStatus("placement", true)) === "wrap-right")), unref(READY_INPUT))], (boundInputSnapshot3) => {
|
|
384
|
+
return openBlock(), createBlock(UiIconButton_default, mergeProps({
|
|
385
|
+
label: "Wrap text to the left",
|
|
386
|
+
size: "sm",
|
|
387
|
+
"data-placement": "wrap-right",
|
|
388
|
+
id: guardedBinding6.value,
|
|
389
|
+
variant: boundInputSnapshot3.value,
|
|
390
|
+
"aria-pressed": guardedBinding7.value
|
|
391
|
+
}, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: { variant: () => boundInputSnapshot3 } }), {
|
|
392
|
+
default: withCtx(() => [createVNode(UiIcon_default, { name: "panel-right" })]),
|
|
393
|
+
_: 1
|
|
394
|
+
}, 16, [
|
|
395
|
+
"id",
|
|
396
|
+
"variant",
|
|
397
|
+
"aria-pressed"
|
|
398
|
+
]);
|
|
399
|
+
}), 256)),
|
|
395
400
|
_cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
|
|
396
401
|
createVNode(UiIconButton_default, {
|
|
397
402
|
label: "Image description",
|
|
@@ -408,7 +413,7 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
408
413
|
size: "sm",
|
|
409
414
|
variant: "ghost",
|
|
410
415
|
"data-action": "delete",
|
|
411
|
-
id:
|
|
416
|
+
id: guardedBinding8.value
|
|
412
417
|
}, {
|
|
413
418
|
default: withCtx(() => [createVNode(UiIcon_default, { name: "trash" })]),
|
|
414
419
|
_: 1
|
|
@@ -417,22 +422,22 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
417
422
|
_: 1
|
|
418
423
|
}),
|
|
419
424
|
_cache[17] || (_cache[17] = createTextVNode(toDisplayString(" "), -1)),
|
|
420
|
-
createVNode(UiTooltip_default, { for:
|
|
425
|
+
createVNode(UiTooltip_default, { for: guardedBinding9.value }, {
|
|
421
426
|
default: withCtx(() => [..._cache[5] || (_cache[5] = [createTextVNode("Image in line", -1)])]),
|
|
422
427
|
_: 1
|
|
423
428
|
}, 8, ["for"]),
|
|
424
429
|
_cache[18] || (_cache[18] = createTextVNode(toDisplayString(" "), -1)),
|
|
425
|
-
createVNode(UiTooltip_default, { for:
|
|
430
|
+
createVNode(UiTooltip_default, { for: guardedBinding10.value }, {
|
|
426
431
|
default: withCtx(() => [..._cache[6] || (_cache[6] = [createTextVNode("Center image", -1)])]),
|
|
427
432
|
_: 1
|
|
428
433
|
}, 8, ["for"]),
|
|
429
434
|
_cache[19] || (_cache[19] = createTextVNode(toDisplayString(" "), -1)),
|
|
430
|
-
createVNode(UiTooltip_default, { for:
|
|
435
|
+
createVNode(UiTooltip_default, { for: guardedBinding11.value }, {
|
|
431
436
|
default: withCtx(() => [..._cache[7] || (_cache[7] = [createTextVNode("Wrap text to the right", -1)])]),
|
|
432
437
|
_: 1
|
|
433
438
|
}, 8, ["for"]),
|
|
434
439
|
_cache[20] || (_cache[20] = createTextVNode(toDisplayString(" "), -1)),
|
|
435
|
-
createVNode(UiTooltip_default, { for:
|
|
440
|
+
createVNode(UiTooltip_default, { for: guardedBinding12.value }, {
|
|
436
441
|
default: withCtx(() => [..._cache[8] || (_cache[8] = [createTextVNode("Wrap text to the left", -1)])]),
|
|
437
442
|
_: 1
|
|
438
443
|
}, 8, ["for"]),
|
|
@@ -442,7 +447,7 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
442
447
|
_: 1
|
|
443
448
|
}, 8, ["for"]),
|
|
444
449
|
_cache[22] || (_cache[22] = createTextVNode(toDisplayString(" "), -1)),
|
|
445
|
-
createVNode(UiTooltip_default, { for:
|
|
450
|
+
createVNode(UiTooltip_default, { for: guardedBinding13.value }, {
|
|
446
451
|
default: withCtx(() => [..._cache[10] || (_cache[10] = [createTextVNode("Delete image", -1)])]),
|
|
447
452
|
_: 1
|
|
448
453
|
}, 8, ["for"]),
|
|
@@ -460,11 +465,11 @@ var UiEditorImageToolbar_default = /* @__PURE__ */ defineComponent({
|
|
|
460
465
|
createVNode(UiFormField_default, null, {
|
|
461
466
|
label: withCtx(() => [createElementVNode("label", {
|
|
462
467
|
slot: "label",
|
|
463
|
-
for:
|
|
468
|
+
for: guardedBinding14.value
|
|
464
469
|
}, "Alt text", 8, _hoisted_3)]),
|
|
465
470
|
default: withCtx(() => [createVNode(UiInput_default, {
|
|
466
471
|
size: "sm",
|
|
467
|
-
id:
|
|
472
|
+
id: guardedBinding15.value,
|
|
468
473
|
value: draft.value,
|
|
469
474
|
ref_key: "altElement",
|
|
470
475
|
ref: altElement
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as uniqueKeys, i as checkHydratedRoot, n as KeyedBoundary, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { r as vBindControl } from "./control.js";
|
|
4
4
|
import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiEditorInsertTableGrid.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -25,22 +25,11 @@ var UiEditorInsertTableGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
25
25
|
inheritAttrs: false,
|
|
26
26
|
__name: "UiEditorInsertTableGrid",
|
|
27
27
|
props: {
|
|
28
|
-
headerRow: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
type: null,
|
|
34
|
-
default: 8
|
|
35
|
-
},
|
|
36
|
-
maxRows: {
|
|
37
|
-
type: null,
|
|
38
|
-
default: 8
|
|
39
|
-
},
|
|
40
|
-
open: {
|
|
41
|
-
type: null,
|
|
42
|
-
default: false
|
|
43
|
-
}
|
|
28
|
+
headerRow: { type: null },
|
|
29
|
+
maxCols: { type: null },
|
|
30
|
+
maxRows: { type: null },
|
|
31
|
+
open: { type: null },
|
|
32
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
44
33
|
},
|
|
45
34
|
emits: ["insert"],
|
|
46
35
|
setup(__props, { emit: __emit }) {
|
|
@@ -87,30 +76,49 @@ var UiEditorInsertTableGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
87
76
|
}
|
|
88
77
|
} };
|
|
89
78
|
const props = __props;
|
|
90
|
-
const
|
|
79
|
+
const inputTracking = vuePropInputs({
|
|
91
80
|
headerRow: false,
|
|
92
81
|
maxCols: 8,
|
|
93
82
|
maxRows: 8,
|
|
94
83
|
open: false
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
84
|
+
}, {
|
|
85
|
+
headerRow: false,
|
|
86
|
+
maxCols: 8,
|
|
87
|
+
maxRows: 8,
|
|
88
|
+
open: false
|
|
89
|
+
}, (name, value, source, values) => {
|
|
90
|
+
switch (name) {
|
|
91
|
+
case "headerRow": return checkPropInput(value, {
|
|
92
|
+
kind: "terminal",
|
|
93
|
+
name: "boolean"
|
|
94
|
+
}, true, true);
|
|
95
|
+
case "maxCols": return checkPropInput(value, {
|
|
96
|
+
kind: "terminal",
|
|
97
|
+
name: "integer"
|
|
98
|
+
}, true, true);
|
|
99
|
+
case "maxRows": return checkPropInput(value, {
|
|
100
|
+
kind: "terminal",
|
|
101
|
+
name: "integer"
|
|
102
|
+
}, true, true);
|
|
103
|
+
case "open": return checkPropInput(value, {
|
|
104
|
+
kind: "terminal",
|
|
105
|
+
name: "boolean"
|
|
106
|
+
}, true, true);
|
|
107
|
+
default: return { ok: false };
|
|
108
|
+
}
|
|
109
|
+
}, () => {
|
|
110
|
+
checkedProps.value;
|
|
111
|
+
});
|
|
112
|
+
const propInputs = inputTracking.inputs;
|
|
113
|
+
const checkedProps = computed(() => {
|
|
114
|
+
inputTracking.version.value;
|
|
115
|
+
return {
|
|
116
|
+
headerRow: propInputs.value("headerRow", props["headerRow"], props[BINDING_INPUTS_PROP]),
|
|
117
|
+
maxCols: propInputs.value("maxCols", props["maxCols"], props[BINDING_INPUTS_PROP]),
|
|
118
|
+
maxRows: propInputs.value("maxRows", props["maxRows"], props[BINDING_INPUTS_PROP]),
|
|
119
|
+
open: propInputs.value("open", props["open"], props[BINDING_INPUTS_PROP])
|
|
120
|
+
};
|
|
121
|
+
});
|
|
114
122
|
checkedProps.value;
|
|
115
123
|
watchSyncEffect(() => {
|
|
116
124
|
checkedProps.value;
|
|
@@ -216,11 +224,20 @@ var UiEditorInsertTableGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
216
224
|
name: "boolean"
|
|
217
225
|
}
|
|
218
226
|
}[name], keys),
|
|
227
|
+
initials: {
|
|
228
|
+
cells: [],
|
|
229
|
+
rows: 8,
|
|
230
|
+
cols: 8,
|
|
231
|
+
hint: "",
|
|
232
|
+
withHeaderRow: false
|
|
233
|
+
},
|
|
219
234
|
controllerSource: {
|
|
220
235
|
specifier: "../components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js",
|
|
221
236
|
definition: "./components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html"
|
|
222
237
|
},
|
|
223
238
|
props: checkedProps,
|
|
239
|
+
inputs: propInputs,
|
|
240
|
+
inputTracking,
|
|
224
241
|
propInputs: (name) => {
|
|
225
242
|
const incoming = hydrationInstance?.vnode.props;
|
|
226
243
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -302,6 +319,6 @@ var UiEditorInsertTableGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
302
319
|
}]]);
|
|
303
320
|
};
|
|
304
321
|
}
|
|
305
|
-
}), [["__scopeId", "data-v-
|
|
322
|
+
}), [["__scopeId", "data-v-c90a6519"]]);
|
|
306
323
|
//#endregion
|
|
307
324
|
export { UiEditorInsertTableGrid_default as t };
|