@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 { _ as uniqueKeys, a as concat, g as text, i as checkHydratedRoot, n as KeyedBoundary, o as createDispatch, p as nativeAttrs, s as cycleCheckedComputed, 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, s as inputComputed, 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 UiCheckbox_default } from "./UiCheckbox.js";
|
|
5
5
|
import { t as UiScrollArea_default } from "./UiScrollArea.js";
|
|
@@ -34,54 +34,19 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
inheritAttrs: false,
|
|
35
35
|
__name: "UiEditorLinkForm",
|
|
36
36
|
props: {
|
|
37
|
-
error: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
type: null,
|
|
51
|
-
default: false
|
|
52
|
-
},
|
|
53
|
-
placeholder: {
|
|
54
|
-
type: null,
|
|
55
|
-
default: "https://example.com"
|
|
56
|
-
},
|
|
57
|
-
results: {
|
|
58
|
-
type: null,
|
|
59
|
-
default: null
|
|
60
|
-
},
|
|
61
|
-
searchable: {
|
|
62
|
-
type: null,
|
|
63
|
-
default: false
|
|
64
|
-
},
|
|
65
|
-
selected: {
|
|
66
|
-
type: null,
|
|
67
|
-
default: ""
|
|
68
|
-
},
|
|
69
|
-
status: {
|
|
70
|
-
type: null,
|
|
71
|
-
default: ""
|
|
72
|
-
},
|
|
73
|
-
text: {
|
|
74
|
-
type: null,
|
|
75
|
-
default: ""
|
|
76
|
-
},
|
|
77
|
-
textEditable: {
|
|
78
|
-
type: null,
|
|
79
|
-
default: false
|
|
80
|
-
},
|
|
81
|
-
value: {
|
|
82
|
-
type: null,
|
|
83
|
-
default: ""
|
|
84
|
-
}
|
|
37
|
+
error: { type: null },
|
|
38
|
+
existing: { type: null },
|
|
39
|
+
mode: { type: null },
|
|
40
|
+
newTab: { type: null },
|
|
41
|
+
placeholder: { type: null },
|
|
42
|
+
results: { type: null },
|
|
43
|
+
searchable: { type: null },
|
|
44
|
+
selected: { type: null },
|
|
45
|
+
status: { type: null },
|
|
46
|
+
text: { type: null },
|
|
47
|
+
textEditable: { type: null },
|
|
48
|
+
value: { type: null },
|
|
49
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
85
50
|
},
|
|
86
51
|
emits: [
|
|
87
52
|
"update:newTab",
|
|
@@ -248,7 +213,7 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
248
213
|
}
|
|
249
214
|
} };
|
|
250
215
|
const props = __props;
|
|
251
|
-
const
|
|
216
|
+
const inputTracking = vuePropInputs({
|
|
252
217
|
error: "",
|
|
253
218
|
existing: false,
|
|
254
219
|
mode: "url",
|
|
@@ -261,86 +226,125 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
261
226
|
text: "",
|
|
262
227
|
textEditable: false,
|
|
263
228
|
value: ""
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
229
|
+
}, {
|
|
230
|
+
error: "",
|
|
231
|
+
existing: false,
|
|
232
|
+
mode: "url",
|
|
233
|
+
newTab: false,
|
|
234
|
+
placeholder: "https://example.com",
|
|
235
|
+
searchable: false,
|
|
236
|
+
selected: "",
|
|
237
|
+
status: "",
|
|
238
|
+
text: "",
|
|
239
|
+
textEditable: false,
|
|
240
|
+
value: ""
|
|
241
|
+
}, (name, value, source, values) => {
|
|
242
|
+
switch (name) {
|
|
243
|
+
case "error": return checkPropInput(value, {
|
|
244
|
+
kind: "terminal",
|
|
245
|
+
name: "string"
|
|
246
|
+
}, true, true);
|
|
247
|
+
case "existing": return checkPropInput(value, {
|
|
248
|
+
kind: "terminal",
|
|
249
|
+
name: "boolean"
|
|
250
|
+
}, true, true);
|
|
251
|
+
case "mode": return checkPropInput(value, {
|
|
252
|
+
kind: "terminal",
|
|
253
|
+
name: "keyword"
|
|
254
|
+
}, true, true);
|
|
255
|
+
case "newTab": return checkPropInput(value, {
|
|
256
|
+
kind: "terminal",
|
|
257
|
+
name: "boolean"
|
|
258
|
+
}, true, true);
|
|
259
|
+
case "placeholder": return checkPropInput(value, {
|
|
260
|
+
kind: "terminal",
|
|
261
|
+
name: "string"
|
|
262
|
+
}, true, true);
|
|
263
|
+
case "results": return checkPropInput(value, {
|
|
264
|
+
kind: "list",
|
|
265
|
+
item: {
|
|
266
|
+
kind: "object",
|
|
267
|
+
fields: [
|
|
268
|
+
{
|
|
269
|
+
name: "id",
|
|
270
|
+
type: {
|
|
271
|
+
kind: "terminal",
|
|
272
|
+
name: "string"
|
|
273
|
+
},
|
|
274
|
+
optional: false
|
|
304
275
|
},
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
276
|
+
{
|
|
277
|
+
name: "label",
|
|
278
|
+
type: {
|
|
279
|
+
kind: "terminal",
|
|
280
|
+
name: "string"
|
|
281
|
+
},
|
|
282
|
+
optional: false
|
|
312
283
|
},
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
284
|
+
{
|
|
285
|
+
name: "detail",
|
|
286
|
+
type: {
|
|
287
|
+
kind: "terminal",
|
|
288
|
+
name: "string"
|
|
289
|
+
},
|
|
290
|
+
optional: true
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
open: false
|
|
294
|
+
}
|
|
295
|
+
}, true, true);
|
|
296
|
+
case "searchable": return checkPropInput(value, {
|
|
297
|
+
kind: "terminal",
|
|
298
|
+
name: "boolean"
|
|
299
|
+
}, true, true);
|
|
300
|
+
case "selected": return checkPropInput(value, {
|
|
301
|
+
kind: "terminal",
|
|
302
|
+
name: "string"
|
|
303
|
+
}, true, true);
|
|
304
|
+
case "status": return checkPropInput(value, {
|
|
305
|
+
kind: "terminal",
|
|
306
|
+
name: "string"
|
|
307
|
+
}, true, true);
|
|
308
|
+
case "text": return checkPropInput(value, {
|
|
309
|
+
kind: "terminal",
|
|
310
|
+
name: "string"
|
|
311
|
+
}, true, true);
|
|
312
|
+
case "textEditable": return checkPropInput(value, {
|
|
313
|
+
kind: "terminal",
|
|
314
|
+
name: "boolean"
|
|
315
|
+
}, true, true);
|
|
316
|
+
case "value": return checkPropInput(value, {
|
|
317
|
+
kind: "terminal",
|
|
318
|
+
name: "string"
|
|
319
|
+
}, true, true);
|
|
320
|
+
default: return { ok: false };
|
|
321
|
+
}
|
|
322
|
+
}, () => {
|
|
323
|
+
checkedProps.value;
|
|
324
|
+
});
|
|
325
|
+
const propInputs = inputTracking.inputs;
|
|
326
|
+
const checkedProps = computed(() => {
|
|
327
|
+
inputTracking.version.value;
|
|
328
|
+
return {
|
|
329
|
+
error: propInputs.value("error", props["error"], props[BINDING_INPUTS_PROP]),
|
|
330
|
+
existing: propInputs.value("existing", props["existing"], props[BINDING_INPUTS_PROP]),
|
|
331
|
+
mode: propInputs.value("mode", props["mode"], props[BINDING_INPUTS_PROP]),
|
|
332
|
+
newTab: propInputs.value("newTab", props["newTab"], props[BINDING_INPUTS_PROP]),
|
|
333
|
+
placeholder: propInputs.value("placeholder", props["placeholder"], props[BINDING_INPUTS_PROP]),
|
|
334
|
+
results: propInputs.value("results", props["results"], props[BINDING_INPUTS_PROP]),
|
|
335
|
+
searchable: propInputs.value("searchable", props["searchable"], props[BINDING_INPUTS_PROP]),
|
|
336
|
+
selected: propInputs.value("selected", props["selected"], props[BINDING_INPUTS_PROP]),
|
|
337
|
+
status: propInputs.value("status", props["status"], props[BINDING_INPUTS_PROP]),
|
|
338
|
+
text: propInputs.value("text", props["text"], props[BINDING_INPUTS_PROP]),
|
|
339
|
+
textEditable: propInputs.value("textEditable", props["textEditable"], props[BINDING_INPUTS_PROP]),
|
|
340
|
+
value: propInputs.value("value", props["value"], props[BINDING_INPUTS_PROP])
|
|
341
|
+
};
|
|
342
|
+
});
|
|
343
|
+
const inputStatus = (name, handlesError) => {
|
|
344
|
+
checkedProps.value;
|
|
345
|
+
inputTracking.version.value;
|
|
346
|
+
return requireInputStatus(propInputs.status(name), handlesError);
|
|
347
|
+
};
|
|
344
348
|
checkedProps.value;
|
|
345
349
|
watchSyncEffect(() => {
|
|
346
350
|
checkedProps.value;
|
|
@@ -351,23 +355,25 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
351
355
|
const root = ref(null);
|
|
352
356
|
const base = ref("ui-editor-link-form");
|
|
353
357
|
let headingPrevious = null;
|
|
354
|
-
const heading =
|
|
355
|
-
|
|
358
|
+
const heading = inputComputed(() => {
|
|
359
|
+
return ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
356
360
|
true: "Edit link",
|
|
357
361
|
false: "Add link"
|
|
358
|
-
}, concat(checkedProps.value.existing));
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
+
}, concat(inputRead(checkedProps.value.existing, propInputs.status("existing"))));
|
|
363
|
+
}, (read) => {
|
|
364
|
+
const value = cycleCheckedComputed(read);
|
|
365
|
+
return { get: () => value.value };
|
|
366
|
+
}, (next) => next === Symbol.for("html-next.invalid-result") ? headingPrevious : headingPrevious = next);
|
|
362
367
|
let fieldLabelPrevious = null;
|
|
363
|
-
const fieldLabel =
|
|
364
|
-
|
|
368
|
+
const fieldLabel = inputComputed(() => {
|
|
369
|
+
return ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
365
370
|
true: "Link destination",
|
|
366
371
|
false: "URL"
|
|
367
|
-
}, concat(checkedProps.value.searchable));
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
372
|
+
}, concat(inputRead(checkedProps.value.searchable, propInputs.status("searchable"))));
|
|
373
|
+
}, (read) => {
|
|
374
|
+
const value = cycleCheckedComputed(read);
|
|
375
|
+
return { get: () => value.value };
|
|
376
|
+
}, (next) => next === Symbol.for("html-next.invalid-result") ? fieldLabelPrevious : fieldLabelPrevious = next);
|
|
371
377
|
let guardedPrevious = null;
|
|
372
378
|
const guarded = computed(() => {
|
|
373
379
|
const candidate = concat(base.value, "-destination");
|
|
@@ -376,10 +382,7 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
376
382
|
});
|
|
377
383
|
let guardedBindingPrevious = null;
|
|
378
384
|
const guardedBinding = computed(() => {
|
|
379
|
-
const candidate = (
|
|
380
|
-
true: "search",
|
|
381
|
-
false: "link"
|
|
382
|
-
}, concat(checkedProps.value.mode === "target"));
|
|
385
|
+
const candidate = concat(base.value, "-destination");
|
|
383
386
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
|
|
384
387
|
return guardedBindingPrevious = candidate;
|
|
385
388
|
});
|
|
@@ -391,7 +394,7 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
391
394
|
});
|
|
392
395
|
let guardedBinding3Previous = null;
|
|
393
396
|
const guardedBinding3 = computed(() => {
|
|
394
|
-
const candidate = concat(base.value, "-
|
|
397
|
+
const candidate = concat(base.value, "-text");
|
|
395
398
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding3Previous;
|
|
396
399
|
return guardedBinding3Previous = candidate;
|
|
397
400
|
});
|
|
@@ -401,12 +404,6 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
401
404
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding4Previous;
|
|
402
405
|
return guardedBinding4Previous = candidate;
|
|
403
406
|
});
|
|
404
|
-
let guardedBinding5Previous = null;
|
|
405
|
-
const guardedBinding5 = computed(() => {
|
|
406
|
-
const candidate = concat(base.value, "-text");
|
|
407
|
-
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding5Previous;
|
|
408
|
-
return guardedBinding5Previous = candidate;
|
|
409
|
-
});
|
|
410
407
|
provide("html-next:ui-editor-link-form:base", base);
|
|
411
408
|
checkHydratedRoot("form", "ui-editor-link-form");
|
|
412
409
|
const isDestinationDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && typeof detail["value"] === "string" && Object.keys(detail).every((key) => ["value"].includes(key));
|
|
@@ -437,11 +434,14 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
437
434
|
kind: "terminal",
|
|
438
435
|
name: "string"
|
|
439
436
|
} }[name], keys),
|
|
437
|
+
initials: { base: "ui-editor-link-form" },
|
|
440
438
|
controllerSource: {
|
|
441
439
|
specifier: "../components/ui-editor-link-form/ui-editor-link-form.js",
|
|
442
440
|
definition: "./components/ui-editor-link-form/ui-editor-link-form.html"
|
|
443
441
|
},
|
|
444
442
|
props: checkedProps,
|
|
443
|
+
inputs: propInputs,
|
|
444
|
+
inputTracking,
|
|
445
445
|
propInputs: (name) => {
|
|
446
446
|
const incoming = hydrationInstance?.vnode.props;
|
|
447
447
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -469,6 +469,10 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
469
469
|
computed: {
|
|
470
470
|
heading,
|
|
471
471
|
fieldLabel
|
|
472
|
+
},
|
|
473
|
+
availability: {
|
|
474
|
+
heading: () => heading.status(),
|
|
475
|
+
fieldLabel: () => fieldLabel.status()
|
|
472
476
|
}
|
|
473
477
|
});
|
|
474
478
|
return (_ctx, _cache) => {
|
|
@@ -495,74 +499,87 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
495
499
|
size: "sm",
|
|
496
500
|
weight: "semibold"
|
|
497
501
|
}, {
|
|
498
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(text)(unref(heading))), 1)]),
|
|
502
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(text)(unref(heading).get())), 1)]),
|
|
499
503
|
_: 1
|
|
500
504
|
}),
|
|
501
505
|
_cache[11] || (_cache[11] = createTextVNode(toDisplayString(" "), -1)),
|
|
502
506
|
createVNode(UiStack_default, { gap: "s" }, {
|
|
503
507
|
default: withCtx(() => [
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
"prefix-kind": "icon"
|
|
513
|
-
}, {
|
|
514
|
-
prefix: withCtx(() => [createVNode(UiIcon_default, {
|
|
515
|
-
slot: "prefix",
|
|
516
|
-
name: guardedBinding.value
|
|
517
|
-
}, null, 8, ["name"])]),
|
|
518
|
-
action: withCtx(() => [checkedProps.value.value !== "" ? (openBlock(), createBlock(UiIconButton_default, {
|
|
508
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList([unref(evaluateInput)(() => unref(inputRead)(checkedProps.value.error, inputStatus("error", true)) !== "", unref(READY_INPUT))], (boundInput) => {
|
|
509
|
+
return openBlock(), createBlock(UiFormField_default, mergeProps({ invalid: boundInput.value }, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: { invalid: () => boundInput } }), {
|
|
510
|
+
label: withCtx(() => [createElementVNode("label", {
|
|
511
|
+
slot: "label",
|
|
512
|
+
for: guarded.value
|
|
513
|
+
}, toDisplayString(unref(text)(unref(fieldLabel).get())), 9, _hoisted_2)]),
|
|
514
|
+
default: withCtx(() => [
|
|
515
|
+
checkedProps.value.searchable ? (openBlock(), createBlock(UiInputGroup_default, {
|
|
519
516
|
key: 0,
|
|
520
|
-
|
|
521
|
-
label: "Clear search",
|
|
522
|
-
variant: "ghost",
|
|
523
|
-
size: "sm",
|
|
524
|
-
"data-link-clear": ""
|
|
517
|
+
"prefix-kind": "icon"
|
|
525
518
|
}, {
|
|
526
|
-
|
|
519
|
+
prefix: withCtx(() => [(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])({
|
|
520
|
+
true: "search",
|
|
521
|
+
false: "link"
|
|
522
|
+
}, unref(concat)(unref(inputRead)(checkedProps.value.mode, inputStatus("mode", true)) === "target")), unref(READY_INPUT))], (boundInputSnapshot) => {
|
|
523
|
+
return openBlock(), createBlock(UiIcon_default, mergeProps({
|
|
524
|
+
slot: "prefix",
|
|
525
|
+
name: boundInputSnapshot.value
|
|
526
|
+
}, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: { name: () => boundInputSnapshot } }), null, 16, ["name"]);
|
|
527
|
+
}), 256))]),
|
|
528
|
+
action: withCtx(() => [checkedProps.value.value !== "" ? (openBlock(), createBlock(UiIconButton_default, {
|
|
529
|
+
key: 0,
|
|
530
|
+
slot: "action",
|
|
531
|
+
label: "Clear search",
|
|
532
|
+
variant: "ghost",
|
|
533
|
+
size: "sm",
|
|
534
|
+
"data-link-clear": ""
|
|
535
|
+
}, {
|
|
536
|
+
default: withCtx(() => [createVNode(UiIcon_default, { name: "x" })]),
|
|
537
|
+
_: 1
|
|
538
|
+
})) : createCommentVNode("v-if", true)]),
|
|
539
|
+
default: withCtx(() => [createVNode(UiInput_default, mergeProps({
|
|
540
|
+
"data-link-destination": "",
|
|
541
|
+
"data-link-search": "",
|
|
542
|
+
type: "text",
|
|
543
|
+
role: "searchbox",
|
|
544
|
+
autocomplete: "off",
|
|
545
|
+
id: guardedBinding.value,
|
|
546
|
+
placeholder: checkedProps.value.placeholder,
|
|
547
|
+
value: checkedProps.value.value
|
|
548
|
+
}, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: { value: () => ({
|
|
549
|
+
value: checkedProps.value.value,
|
|
550
|
+
status: inputStatus("value", true)
|
|
551
|
+
}) } }), null, 16, [
|
|
552
|
+
"id",
|
|
553
|
+
"placeholder",
|
|
554
|
+
"value"
|
|
555
|
+
])]),
|
|
527
556
|
_: 1
|
|
528
|
-
})) : createCommentVNode("v-if", true)
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
"
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
placeholder: checkedProps.value.placeholder,
|
|
555
|
-
value: checkedProps.value.value
|
|
556
|
-
}, null, 8, [
|
|
557
|
-
"id",
|
|
558
|
-
"placeholder",
|
|
559
|
-
"value"
|
|
560
|
-
]),
|
|
561
|
-
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1))
|
|
562
|
-
], 64)) : createCommentVNode("v-if", true)
|
|
563
|
-
]),
|
|
564
|
-
_: 1
|
|
565
|
-
}, 8, ["invalid"]),
|
|
557
|
+
})) : createCommentVNode("v-if", true),
|
|
558
|
+
_cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
|
|
559
|
+
!checkedProps.value.searchable ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
560
|
+
_cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
|
|
561
|
+
createVNode(UiInput_default, mergeProps({
|
|
562
|
+
"data-link-destination": "",
|
|
563
|
+
type: "text",
|
|
564
|
+
inputmode: "url",
|
|
565
|
+
size: "sm",
|
|
566
|
+
id: guardedBinding2.value,
|
|
567
|
+
placeholder: checkedProps.value.placeholder,
|
|
568
|
+
value: checkedProps.value.value
|
|
569
|
+
}, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: { value: () => ({
|
|
570
|
+
value: checkedProps.value.value,
|
|
571
|
+
status: inputStatus("value", true)
|
|
572
|
+
}) } }), null, 16, [
|
|
573
|
+
"id",
|
|
574
|
+
"placeholder",
|
|
575
|
+
"value"
|
|
576
|
+
]),
|
|
577
|
+
_cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1))
|
|
578
|
+
], 64)) : createCommentVNode("v-if", true)
|
|
579
|
+
]),
|
|
580
|
+
_: 1
|
|
581
|
+
}, 16, ["invalid"]);
|
|
582
|
+
}), 256)),
|
|
566
583
|
_cache[7] || (_cache[7] = createTextVNode(toDisplayString(" "), -1)),
|
|
567
584
|
checkedProps.value.mode === "target" ? (openBlock(), createBlock(UiScrollArea_default, {
|
|
568
585
|
key: 0,
|
|
@@ -582,47 +599,48 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
582
599
|
_cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
|
|
583
600
|
createVNode(unref(KeyedBoundary), null, {
|
|
584
601
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(checkedProps.value.results ?? [], (result, index, loop) => result.id), (result) => {
|
|
585
|
-
return openBlock(),
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
602
|
+
return openBlock(), createElementBlock(Fragment, { key: result.id }, [(openBlock(true), createElementBlock(Fragment, null, renderList([unref(evaluateInput)(() => result.id === unref(inputRead)(checkedProps.value.selected, inputStatus("selected", true)), unref(READY_INPUT))], (boundInputSnapshot2) => {
|
|
603
|
+
return openBlock(), createBlock(UiSearchResultRow_default, mergeProps({
|
|
604
|
+
density: "compact",
|
|
605
|
+
"data-link-result": "",
|
|
606
|
+
selected: boundInputSnapshot2.value,
|
|
607
|
+
"data-link-id": result.id
|
|
608
|
+
}, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: { selected: () => boundInputSnapshot2 } }), {
|
|
609
|
+
leading: withCtx(() => [createVNode(UiIcon_default, {
|
|
610
|
+
slot: "leading",
|
|
611
|
+
name: "file-text"
|
|
612
|
+
})]),
|
|
613
|
+
title: withCtx(() => [createVNode(UiText_default, {
|
|
614
|
+
slot: "title",
|
|
615
|
+
as: "strong",
|
|
616
|
+
size: "sm",
|
|
617
|
+
weight: "medium",
|
|
618
|
+
truncate: true,
|
|
619
|
+
title: result.label
|
|
620
|
+
}, {
|
|
621
|
+
default: withCtx(() => [createTextVNode(toDisplayString(result.label), 1)]),
|
|
622
|
+
_: 2
|
|
623
|
+
}, 1032, ["title"])]),
|
|
624
|
+
meta: withCtx(() => [result.detail ? (openBlock(), createBlock(UiText_default, {
|
|
625
|
+
key: 0,
|
|
626
|
+
slot: "meta",
|
|
627
|
+
as: "span",
|
|
628
|
+
size: "xs",
|
|
629
|
+
tone: "secondary",
|
|
630
|
+
truncate: true,
|
|
631
|
+
title: result.detail
|
|
632
|
+
}, {
|
|
633
|
+
default: withCtx(() => [createTextVNode(toDisplayString(result.detail), 1)]),
|
|
634
|
+
_: 2
|
|
635
|
+
}, 1032, ["title"])) : createCommentVNode("v-if", true)]),
|
|
636
|
+
trailing: withCtx(() => [result.id === checkedProps.value.selected ? (openBlock(), createBlock(UiIcon_default, {
|
|
637
|
+
key: 0,
|
|
638
|
+
slot: "trailing",
|
|
639
|
+
name: "check"
|
|
640
|
+
})) : createCommentVNode("v-if", true)]),
|
|
617
641
|
_: 2
|
|
618
|
-
},
|
|
619
|
-
|
|
620
|
-
key: 0,
|
|
621
|
-
slot: "trailing",
|
|
622
|
-
name: "check"
|
|
623
|
-
})) : createCommentVNode("v-if", true)]),
|
|
624
|
-
_: 2
|
|
625
|
-
}, 1032, ["selected", "data-link-id"]);
|
|
642
|
+
}, 1040, ["selected", "data-link-id"]);
|
|
643
|
+
}), 256))], 64);
|
|
626
644
|
}), 128))]),
|
|
627
645
|
_: 1
|
|
628
646
|
})
|
|
@@ -632,14 +650,17 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
632
650
|
_cache[8] || (_cache[8] = createTextVNode(toDisplayString(" "), -1)),
|
|
633
651
|
checkedProps.value.mode === "url" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
634
652
|
_cache[5] || (_cache[5] = createTextVNode(toDisplayString(" "), -1)),
|
|
635
|
-
createVNode(UiCheckbox_default, {
|
|
653
|
+
createVNode(UiCheckbox_default, mergeProps({
|
|
636
654
|
size: "sm",
|
|
637
655
|
"data-link-new-tab": "",
|
|
638
656
|
checked: checkedProps.value.newTab
|
|
639
|
-
}, {
|
|
657
|
+
}, { [unref(BINDING_INPUTS_PROP)]: { checked: () => ({
|
|
658
|
+
value: checkedProps.value.newTab,
|
|
659
|
+
status: inputStatus("newTab", true)
|
|
660
|
+
}) } }), {
|
|
640
661
|
default: withCtx(() => [..._cache[4] || (_cache[4] = [createTextVNode("Open in new tab", -1)])]),
|
|
641
662
|
_: 1
|
|
642
|
-
},
|
|
663
|
+
}, 16, ["checked"]),
|
|
643
664
|
_cache[6] || (_cache[6] = createTextVNode(toDisplayString(" "), -1))
|
|
644
665
|
], 64)) : createCommentVNode("v-if", true)
|
|
645
666
|
]),
|
|
@@ -651,14 +672,17 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
|
|
|
651
672
|
createVNode(UiFormField_default, null, {
|
|
652
673
|
label: withCtx(() => [createElementVNode("label", {
|
|
653
674
|
slot: "label",
|
|
654
|
-
for:
|
|
675
|
+
for: guardedBinding3.value
|
|
655
676
|
}, "Text", 8, _hoisted_3)]),
|
|
656
|
-
default: withCtx(() => [createVNode(UiInput_default, {
|
|
677
|
+
default: withCtx(() => [createVNode(UiInput_default, mergeProps({
|
|
657
678
|
"data-link-text": "",
|
|
658
679
|
size: "sm",
|
|
659
|
-
id:
|
|
680
|
+
id: guardedBinding4.value,
|
|
660
681
|
value: checkedProps.value.text
|
|
661
|
-
},
|
|
682
|
+
}, { [unref(BINDING_INPUTS_PROP)]: { value: () => ({
|
|
683
|
+
value: checkedProps.value.text,
|
|
684
|
+
status: inputStatus("text", true)
|
|
685
|
+
}) } }), null, 16, ["id", "value"])]),
|
|
662
686
|
_: 1
|
|
663
687
|
}),
|
|
664
688
|
_cache[10] || (_cache[10] = createTextVNode(toDisplayString(" "), -1))
|