@threadlabs/looma 0.30.1 → 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/EXPRESSIVE-MARKDOWN.md +5 -0
- 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 +4 -4
- 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,24 +1,23 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
+
import { type InputBindings } from './props.js';
|
|
2
3
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
detail: {
|
|
4
5
|
type: PropType<string | null>;
|
|
5
|
-
default: string;
|
|
6
6
|
};
|
|
7
7
|
href: {
|
|
8
8
|
type: PropType<string | null>;
|
|
9
|
-
default: string;
|
|
10
9
|
};
|
|
11
10
|
label: {
|
|
12
11
|
type: PropType<string | null>;
|
|
13
|
-
default: string;
|
|
14
12
|
};
|
|
15
13
|
openHref: {
|
|
16
14
|
type: PropType<string | null>;
|
|
17
|
-
default: string;
|
|
18
15
|
};
|
|
19
16
|
targetLabel: {
|
|
20
17
|
type: PropType<string | null>;
|
|
21
|
-
|
|
18
|
+
};
|
|
19
|
+
"\0htmlNextInputStatus": {
|
|
20
|
+
type: PropType<InputBindings>;
|
|
22
21
|
};
|
|
23
22
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
23
|
edit: (event: CustomEvent<Readonly<Record<string, unknown>>>) => any;
|
|
@@ -26,33 +25,25 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
26
25
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
26
|
detail: {
|
|
28
27
|
type: PropType<string | null>;
|
|
29
|
-
default: string;
|
|
30
28
|
};
|
|
31
29
|
href: {
|
|
32
30
|
type: PropType<string | null>;
|
|
33
|
-
default: string;
|
|
34
31
|
};
|
|
35
32
|
label: {
|
|
36
33
|
type: PropType<string | null>;
|
|
37
|
-
default: string;
|
|
38
34
|
};
|
|
39
35
|
openHref: {
|
|
40
36
|
type: PropType<string | null>;
|
|
41
|
-
default: string;
|
|
42
37
|
};
|
|
43
38
|
targetLabel: {
|
|
44
39
|
type: PropType<string | null>;
|
|
45
|
-
|
|
40
|
+
};
|
|
41
|
+
"\0htmlNextInputStatus": {
|
|
42
|
+
type: PropType<InputBindings>;
|
|
46
43
|
};
|
|
47
44
|
}>> & Readonly<{
|
|
48
45
|
onEdit?: ((event: CustomEvent<Readonly<Record<string, unknown>>>) => any) | undefined;
|
|
49
46
|
onRemove?: ((event: CustomEvent<Readonly<Record<string, unknown>>>) => any) | undefined;
|
|
50
|
-
}>, {
|
|
51
|
-
detail: string | null;
|
|
52
|
-
label: string | null;
|
|
53
|
-
href: string | null;
|
|
54
|
-
openHref: string | null;
|
|
55
|
-
targetLabel: string | null;
|
|
56
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
57
48
|
declare const _default: typeof __VLS_export;
|
|
58
49
|
export default _default;
|
package/vue/UiEditorLinkCard.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.63 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -13,7 +13,22 @@ import {
|
|
|
13
13
|
useReflectedProp,
|
|
14
14
|
} from './host'
|
|
15
15
|
import { acceptsControllerWrite } from './props'
|
|
16
|
-
import {
|
|
16
|
+
import {
|
|
17
|
+
BINDING_INPUTS_PROP,
|
|
18
|
+
checkedProp,
|
|
19
|
+
checkPropInput,
|
|
20
|
+
evaluateInput,
|
|
21
|
+
type InputBindings,
|
|
22
|
+
inputComputed,
|
|
23
|
+
inputDefault,
|
|
24
|
+
inputRead,
|
|
25
|
+
propValidityState,
|
|
26
|
+
READY_INPUT,
|
|
27
|
+
requireInputStatus,
|
|
28
|
+
UNRESOLVED_INPUT,
|
|
29
|
+
vPropValidity,
|
|
30
|
+
vuePropInputs,
|
|
31
|
+
} from './props'
|
|
17
32
|
import UiButton from './UiButton.vue'
|
|
18
33
|
import UiCard from './UiCard.vue'
|
|
19
34
|
import UiCluster from './UiCluster.vue'
|
|
@@ -68,11 +83,12 @@ const propValidityContract = {
|
|
|
68
83
|
},
|
|
69
84
|
} as const
|
|
70
85
|
const props = defineProps({
|
|
71
|
-
detail: { type: null as unknown as PropType<string | null
|
|
72
|
-
href: { type: null as unknown as PropType<string | null
|
|
73
|
-
label: { type: null as unknown as PropType<string | null
|
|
74
|
-
openHref: { type: null as unknown as PropType<string | null
|
|
75
|
-
targetLabel: { type: null as unknown as PropType<string | null
|
|
86
|
+
detail: { type: null as unknown as PropType<string | null> },
|
|
87
|
+
href: { type: null as unknown as PropType<string | null> },
|
|
88
|
+
label: { type: null as unknown as PropType<string | null> },
|
|
89
|
+
openHref: { type: null as unknown as PropType<string | null> },
|
|
90
|
+
targetLabel: { type: null as unknown as PropType<string | null> },
|
|
91
|
+
[BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
|
|
76
92
|
})
|
|
77
93
|
const acceptedProps: Record<string, unknown> = {
|
|
78
94
|
detail: '',
|
|
@@ -81,43 +97,66 @@ const acceptedProps: Record<string, unknown> = {
|
|
|
81
97
|
openHref: '',
|
|
82
98
|
targetLabel: 'Item',
|
|
83
99
|
}
|
|
84
|
-
const
|
|
85
|
-
detail:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
)
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
'
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
100
|
+
const inputTracking = vuePropInputs(acceptedProps, {
|
|
101
|
+
detail: '',
|
|
102
|
+
href: '',
|
|
103
|
+
label: '',
|
|
104
|
+
openHref: '',
|
|
105
|
+
targetLabel: 'Item',
|
|
106
|
+
}, (name, value, source, values) => {
|
|
107
|
+
switch (name) {
|
|
108
|
+
case 'detail':
|
|
109
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
110
|
+
case 'href':
|
|
111
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
112
|
+
case 'label':
|
|
113
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
114
|
+
case 'openHref':
|
|
115
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
116
|
+
case 'targetLabel':
|
|
117
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
118
|
+
default:
|
|
119
|
+
return { ok: false }
|
|
120
|
+
}
|
|
121
|
+
}, () => {
|
|
122
|
+
void checkedProps.value
|
|
123
|
+
})
|
|
124
|
+
const propInputs = inputTracking.inputs
|
|
125
|
+
const checkedProps = computed(() => {
|
|
126
|
+
void inputTracking.version.value
|
|
127
|
+
return ({
|
|
128
|
+
detail: propInputs.value<string | null>(
|
|
129
|
+
'detail',
|
|
130
|
+
props['detail'],
|
|
131
|
+
props[BINDING_INPUTS_PROP],
|
|
132
|
+
) as string,
|
|
133
|
+
href: propInputs.value<string | null>(
|
|
134
|
+
'href',
|
|
135
|
+
props['href'],
|
|
136
|
+
props[BINDING_INPUTS_PROP],
|
|
137
|
+
) as string,
|
|
138
|
+
label: propInputs.value<string | null>(
|
|
139
|
+
'label',
|
|
140
|
+
props['label'],
|
|
141
|
+
props[BINDING_INPUTS_PROP],
|
|
142
|
+
) as string,
|
|
143
|
+
openHref: propInputs.value<string | null>(
|
|
144
|
+
'openHref',
|
|
145
|
+
props['openHref'],
|
|
146
|
+
props[BINDING_INPUTS_PROP],
|
|
147
|
+
) as string,
|
|
148
|
+
targetLabel: propInputs.value<string | null>(
|
|
149
|
+
'targetLabel',
|
|
150
|
+
props['targetLabel'],
|
|
151
|
+
props[BINDING_INPUTS_PROP],
|
|
152
|
+
) as string,
|
|
153
|
+
})
|
|
154
|
+
})
|
|
155
|
+
const inputStatus = (name: string, handlesError: boolean) => {
|
|
156
|
+
void checkedProps.value
|
|
157
|
+
void inputTracking.version.value
|
|
158
|
+
return requireInputStatus(propInputs.status(name), handlesError)
|
|
159
|
+
}
|
|
121
160
|
void checkedProps.value
|
|
122
161
|
watchSyncEffect(() => {
|
|
123
162
|
void checkedProps.value
|
|
@@ -131,36 +170,39 @@ const emit = defineEmits<{
|
|
|
131
170
|
|
|
132
171
|
const root = ref<HTMLElement | null>(null)
|
|
133
172
|
const base = ref('ui-editor-link-card')
|
|
134
|
-
const resolved
|
|
173
|
+
const resolved: ReturnType<typeof inputComputed<boolean | null>> = inputComputed<boolean | null>(
|
|
174
|
+
() => inputRead(checkedProps.value.label, propInputs.status('label')) !== '' as any,
|
|
175
|
+
(read) => {
|
|
176
|
+
const value = cycleCheckedComputed(read)
|
|
177
|
+
return { get: () => value.value }
|
|
178
|
+
},
|
|
179
|
+
)
|
|
135
180
|
let shownPrevious: any = null
|
|
136
|
-
const shown =
|
|
137
|
-
|
|
138
|
-
objectValue
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
181
|
+
const shown: ReturnType<typeof inputComputed<any>> = inputComputed<any>(
|
|
182
|
+
() => {
|
|
183
|
+
return ((objectValue: any, indexValue: any) =>
|
|
184
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
185
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
186
|
+
? Symbol.for('html-next.invalid-result')
|
|
187
|
+
: objectValue[indexValue])(
|
|
188
|
+
{
|
|
189
|
+
true: inputRead(checkedProps.value.label, propInputs.status('label')),
|
|
190
|
+
false: inputRead(checkedProps.value.href, propInputs.status('href')),
|
|
191
|
+
},
|
|
192
|
+
concat(inputRead(resolved.get(), resolved.status())),
|
|
193
|
+
) as any
|
|
194
|
+
},
|
|
195
|
+
(read) => {
|
|
196
|
+
const value = cycleCheckedComputed(read)
|
|
197
|
+
return { get: () => value.value }
|
|
198
|
+
},
|
|
199
|
+
next =>
|
|
200
|
+
(next as unknown) === Symbol.for('html-next.invalid-result')
|
|
201
|
+
? shownPrevious
|
|
202
|
+
: (shownPrevious = next),
|
|
203
|
+
)
|
|
150
204
|
let guardedPrevious: any = null
|
|
151
205
|
const guarded = computed(() => {
|
|
152
|
-
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
153
|
-
objectValue === Symbol.for('html-next.invalid-result')
|
|
154
|
-
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
155
|
-
? Symbol.for('html-next.invalid-result')
|
|
156
|
-
: objectValue[indexValue])({ true: 'file-text', false: 'link' }, concat(resolved.value))
|
|
157
|
-
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
158
|
-
return guardedPrevious
|
|
159
|
-
}
|
|
160
|
-
return guardedPrevious = candidate
|
|
161
|
-
})
|
|
162
|
-
let guardedBindingPrevious: any = null
|
|
163
|
-
const guardedBinding = computed(() => {
|
|
164
206
|
const candidate: any = concat(
|
|
165
207
|
((objectValue: any, indexValue: any) =>
|
|
166
208
|
objectValue === Symbol.for('html-next.invalid-result')
|
|
@@ -168,11 +210,17 @@ const guardedBinding = computed(() => {
|
|
|
168
210
|
? Symbol.for('html-next.invalid-result')
|
|
169
211
|
: objectValue[indexValue])(
|
|
170
212
|
{ true: checkedProps.value.targetLabel, false: 'URL' },
|
|
171
|
-
concat(resolved.
|
|
213
|
+
concat(resolved.get()),
|
|
172
214
|
),
|
|
173
215
|
': ',
|
|
174
|
-
shown.
|
|
216
|
+
shown.get(),
|
|
175
217
|
)
|
|
218
|
+
if (candidate === Symbol.for('html-next.invalid-result')) return guardedPrevious
|
|
219
|
+
return guardedPrevious = candidate
|
|
220
|
+
})
|
|
221
|
+
let guardedBindingPrevious: any = null
|
|
222
|
+
const guardedBinding = computed(() => {
|
|
223
|
+
const candidate: any = concat(base.value, '-open')
|
|
176
224
|
if (candidate === Symbol.for('html-next.invalid-result')) return guardedBindingPrevious
|
|
177
225
|
return guardedBindingPrevious = candidate
|
|
178
226
|
})
|
|
@@ -184,7 +232,7 @@ const guardedBinding2 = computed(() => {
|
|
|
184
232
|
})
|
|
185
233
|
let guardedBinding3Previous: any = null
|
|
186
234
|
const guardedBinding3 = computed(() => {
|
|
187
|
-
const candidate: any = concat(base.value, '-
|
|
235
|
+
const candidate: any = concat(base.value, '-edit')
|
|
188
236
|
if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding3Previous
|
|
189
237
|
return guardedBinding3Previous = candidate
|
|
190
238
|
})
|
|
@@ -196,7 +244,7 @@ const guardedBinding4 = computed(() => {
|
|
|
196
244
|
})
|
|
197
245
|
let guardedBinding5Previous: any = null
|
|
198
246
|
const guardedBinding5 = computed(() => {
|
|
199
|
-
const candidate: any = concat(base.value, '-
|
|
247
|
+
const candidate: any = concat(base.value, '-remove')
|
|
200
248
|
if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding5Previous
|
|
201
249
|
return guardedBinding5Previous = candidate
|
|
202
250
|
})
|
|
@@ -206,12 +254,6 @@ const guardedBinding6 = computed(() => {
|
|
|
206
254
|
if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding6Previous
|
|
207
255
|
return guardedBinding6Previous = candidate
|
|
208
256
|
})
|
|
209
|
-
let guardedBinding7Previous: any = null
|
|
210
|
-
const guardedBinding7 = computed(() => {
|
|
211
|
-
const candidate: any = concat(base.value, '-remove')
|
|
212
|
-
if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding7Previous
|
|
213
|
-
return guardedBinding7Previous = candidate
|
|
214
|
-
})
|
|
215
257
|
provide('html-next:ui-editor-link-card:base', base)
|
|
216
258
|
checkHydratedRoot('div', 'ui-editor-link-card')
|
|
217
259
|
|
|
@@ -235,11 +277,14 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
|
|
|
235
277
|
({ base: { kind: 'terminal', name: 'string' } } as Record<string, any>)[name],
|
|
236
278
|
keys,
|
|
237
279
|
),
|
|
280
|
+
initials: { base: 'ui-editor-link-card' },
|
|
238
281
|
controllerSource: {
|
|
239
282
|
specifier: '../components/ui-editor-link-card/ui-editor-link-card.js',
|
|
240
283
|
definition: './components/ui-editor-link-card/ui-editor-link-card.html',
|
|
241
284
|
},
|
|
242
285
|
props: checkedProps,
|
|
286
|
+
inputs: propInputs,
|
|
287
|
+
inputTracking,
|
|
243
288
|
propInputs: (name: string) => {
|
|
244
289
|
const incoming = hydrationInstance?.vnode.props
|
|
245
290
|
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
@@ -252,6 +297,7 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
|
|
|
252
297
|
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
253
298
|
state: { base },
|
|
254
299
|
computed: { resolved, shown },
|
|
300
|
+
availability: { resolved: () => resolved.status(), shown: () => shown.status() },
|
|
255
301
|
})
|
|
256
302
|
</script>
|
|
257
303
|
|
|
@@ -272,13 +318,29 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
|
|
|
272
318
|
wrap="nowrap"
|
|
273
319
|
role="group"
|
|
274
320
|
aria-label="Link actions"
|
|
275
|
-
><
|
|
321
|
+
><template
|
|
322
|
+
v-for="boundInput in [evaluateInput(
|
|
323
|
+
() =>
|
|
324
|
+
(((objectValue: any, indexValue: any) =>
|
|
325
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
326
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
327
|
+
? Symbol.for('html-next.invalid-result')
|
|
328
|
+
: objectValue[indexValue])(
|
|
329
|
+
{ true: 'file-text', false: 'link' },
|
|
330
|
+
concat(inputRead(resolved.get(), resolved.status())),
|
|
331
|
+
)) as any,
|
|
332
|
+
READY_INPUT,
|
|
333
|
+
)]"
|
|
334
|
+
><UiIcon
|
|
335
|
+
:name="boundInput.value"
|
|
336
|
+
v-bind="{ [BINDING_INPUTS_PROP]: { name: () => boundInput } }"
|
|
337
|
+
/></template>{{ ' ' }}<UiStack
|
|
276
338
|
gap="none"
|
|
277
339
|
:fill="true"
|
|
278
340
|
:title="checkedProps.href"
|
|
279
|
-
:aria-label="
|
|
341
|
+
:aria-label="guarded"
|
|
280
342
|
><UiText as="strong" size="sm" weight="medium" font="sans" :truncate="true">{{
|
|
281
|
-
text(shown)
|
|
343
|
+
text(shown.get())
|
|
282
344
|
}}</UiText>{{ ' ' }}<UiText
|
|
283
345
|
v-if="checkedProps.detail !== ''"
|
|
284
346
|
as="small"
|
|
@@ -296,23 +358,28 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
|
|
|
296
358
|
target="_blank"
|
|
297
359
|
rel="noopener noreferrer"
|
|
298
360
|
aria-label="Open link"
|
|
299
|
-
:id="
|
|
361
|
+
:id="guardedBinding"
|
|
300
362
|
:href="checkedProps.openHref"
|
|
301
|
-
|
|
363
|
+
v-bind="{
|
|
364
|
+
[BINDING_INPUTS_PROP]: {
|
|
365
|
+
href: () => ({ value: checkedProps.openHref, status: inputStatus('openHref', true) }),
|
|
366
|
+
},
|
|
367
|
+
}"
|
|
368
|
+
><UiIcon name="external-link" /></UiButton>{{ ' ' }}<UiTooltip :for="guardedBinding2"
|
|
302
369
|
>Open link</UiTooltip>{{ ' ' }}</template>{{ ' ' }}<UiIconButton
|
|
303
370
|
label="Edit link"
|
|
304
371
|
variant="ghost"
|
|
305
372
|
size="sm"
|
|
306
373
|
data-link-action="edit"
|
|
307
|
-
:id="
|
|
308
|
-
><UiIcon name="pencil" /></UiIconButton>{{ ' ' }}<UiTooltip :for="
|
|
374
|
+
:id="guardedBinding3"
|
|
375
|
+
><UiIcon name="pencil" /></UiIconButton>{{ ' ' }}<UiTooltip :for="guardedBinding4"
|
|
309
376
|
>Edit link</UiTooltip>{{ ' ' }}<UiIconButton
|
|
310
377
|
label="Remove link"
|
|
311
378
|
variant="ghost"
|
|
312
379
|
size="sm"
|
|
313
380
|
data-link-action="remove"
|
|
314
|
-
:id="
|
|
315
|
-
><UiIcon name="unlink" /></UiIconButton>{{ ' ' }}<UiTooltip :for="
|
|
381
|
+
:id="guardedBinding5"
|
|
382
|
+
><UiIcon name="unlink" /></UiIconButton>{{ ' ' }}<UiTooltip :for="guardedBinding6"
|
|
316
383
|
>Remove link</UiTooltip></UiCluster></UiCard>
|
|
317
384
|
</div>
|
|
318
385
|
</template>
|
|
@@ -1,56 +1,48 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
+
import { type InputBindings } from './props.js';
|
|
2
3
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
error: {
|
|
4
5
|
type: PropType<string | null>;
|
|
5
|
-
default: string;
|
|
6
6
|
};
|
|
7
7
|
existing: {
|
|
8
8
|
type: PropType<boolean | null>;
|
|
9
|
-
default: boolean;
|
|
10
9
|
};
|
|
11
10
|
mode: {
|
|
12
11
|
type: PropType<"url" | "target" | null>;
|
|
13
|
-
default: string;
|
|
14
12
|
};
|
|
15
13
|
newTab: {
|
|
16
14
|
type: PropType<boolean | null>;
|
|
17
|
-
default: boolean;
|
|
18
15
|
};
|
|
19
16
|
placeholder: {
|
|
20
17
|
type: PropType<string | null>;
|
|
21
|
-
default: string;
|
|
22
18
|
};
|
|
23
19
|
results: {
|
|
24
20
|
type: PropType<readonly ({
|
|
25
21
|
readonly id: string;
|
|
26
22
|
readonly label: string;
|
|
27
|
-
readonly detail?: string;
|
|
23
|
+
readonly detail?: string | null;
|
|
28
24
|
})[] | null>;
|
|
29
|
-
default: null;
|
|
30
25
|
};
|
|
31
26
|
searchable: {
|
|
32
27
|
type: PropType<boolean | null>;
|
|
33
|
-
default: boolean;
|
|
34
28
|
};
|
|
35
29
|
selected: {
|
|
36
30
|
type: PropType<string | null>;
|
|
37
|
-
default: string;
|
|
38
31
|
};
|
|
39
32
|
status: {
|
|
40
33
|
type: PropType<string | null>;
|
|
41
|
-
default: string;
|
|
42
34
|
};
|
|
43
35
|
text: {
|
|
44
36
|
type: PropType<string | null>;
|
|
45
|
-
default: string;
|
|
46
37
|
};
|
|
47
38
|
textEditable: {
|
|
48
39
|
type: PropType<boolean | null>;
|
|
49
|
-
default: boolean;
|
|
50
40
|
};
|
|
51
41
|
value: {
|
|
52
42
|
type: PropType<string | null>;
|
|
53
|
-
|
|
43
|
+
};
|
|
44
|
+
"\0htmlNextInputStatus": {
|
|
45
|
+
type: PropType<InputBindings>;
|
|
54
46
|
};
|
|
55
47
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
56
48
|
clear: (event: CustomEvent<Readonly<Record<string, unknown>>>) => any;
|
|
@@ -74,55 +66,46 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
74
66
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
67
|
error: {
|
|
76
68
|
type: PropType<string | null>;
|
|
77
|
-
default: string;
|
|
78
69
|
};
|
|
79
70
|
existing: {
|
|
80
71
|
type: PropType<boolean | null>;
|
|
81
|
-
default: boolean;
|
|
82
72
|
};
|
|
83
73
|
mode: {
|
|
84
74
|
type: PropType<"url" | "target" | null>;
|
|
85
|
-
default: string;
|
|
86
75
|
};
|
|
87
76
|
newTab: {
|
|
88
77
|
type: PropType<boolean | null>;
|
|
89
|
-
default: boolean;
|
|
90
78
|
};
|
|
91
79
|
placeholder: {
|
|
92
80
|
type: PropType<string | null>;
|
|
93
|
-
default: string;
|
|
94
81
|
};
|
|
95
82
|
results: {
|
|
96
83
|
type: PropType<readonly ({
|
|
97
84
|
readonly id: string;
|
|
98
85
|
readonly label: string;
|
|
99
|
-
readonly detail?: string;
|
|
86
|
+
readonly detail?: string | null;
|
|
100
87
|
})[] | null>;
|
|
101
|
-
default: null;
|
|
102
88
|
};
|
|
103
89
|
searchable: {
|
|
104
90
|
type: PropType<boolean | null>;
|
|
105
|
-
default: boolean;
|
|
106
91
|
};
|
|
107
92
|
selected: {
|
|
108
93
|
type: PropType<string | null>;
|
|
109
|
-
default: string;
|
|
110
94
|
};
|
|
111
95
|
status: {
|
|
112
96
|
type: PropType<string | null>;
|
|
113
|
-
default: string;
|
|
114
97
|
};
|
|
115
98
|
text: {
|
|
116
99
|
type: PropType<string | null>;
|
|
117
|
-
default: string;
|
|
118
100
|
};
|
|
119
101
|
textEditable: {
|
|
120
102
|
type: PropType<boolean | null>;
|
|
121
|
-
default: boolean;
|
|
122
103
|
};
|
|
123
104
|
value: {
|
|
124
105
|
type: PropType<string | null>;
|
|
125
|
-
|
|
106
|
+
};
|
|
107
|
+
"\0htmlNextInputStatus": {
|
|
108
|
+
type: PropType<InputBindings>;
|
|
126
109
|
};
|
|
127
110
|
}>> & Readonly<{
|
|
128
111
|
onClear?: ((event: CustomEvent<Readonly<Record<string, unknown>>>) => any) | undefined;
|
|
@@ -143,23 +126,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
143
126
|
readonly id: string;
|
|
144
127
|
}>) => any) | undefined;
|
|
145
128
|
onDismiss?: ((event: CustomEvent<Readonly<Record<string, unknown>>>) => any) | undefined;
|
|
146
|
-
}>, {
|
|
147
|
-
value: string | null;
|
|
148
|
-
error: string | null;
|
|
149
|
-
mode: "url" | "target" | null;
|
|
150
|
-
text: string | null;
|
|
151
|
-
selected: string | null;
|
|
152
|
-
status: string | null;
|
|
153
|
-
placeholder: string | null;
|
|
154
|
-
existing: boolean | null;
|
|
155
|
-
results: readonly {
|
|
156
|
-
readonly id: string;
|
|
157
|
-
readonly label: string;
|
|
158
|
-
readonly detail?: string;
|
|
159
|
-
}[] | null;
|
|
160
|
-
searchable: boolean | null;
|
|
161
|
-
newTab: boolean | null;
|
|
162
|
-
textEditable: boolean | null;
|
|
163
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
129
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
164
130
|
declare const _default: typeof __VLS_export;
|
|
165
131
|
export default _default;
|