@threadlabs/looma 0.30.2 → 0.30.4
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 +203 -148
- 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 +125 -120
- 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 { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, x as warnUnless, 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 { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiDisclosure.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
@@ -44,42 +44,16 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
44
44
|
inheritAttrs: false,
|
|
45
45
|
__name: "UiDisclosure",
|
|
46
46
|
props: {
|
|
47
|
-
density: {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
default: false
|
|
58
|
-
},
|
|
59
|
-
headingLevel: {
|
|
60
|
-
type: null,
|
|
61
|
-
default: 0
|
|
62
|
-
},
|
|
63
|
-
name: {
|
|
64
|
-
type: null,
|
|
65
|
-
default: ""
|
|
66
|
-
},
|
|
67
|
-
open: {
|
|
68
|
-
type: null,
|
|
69
|
-
default: false
|
|
70
|
-
},
|
|
71
|
-
requiredOpen: {
|
|
72
|
-
type: null,
|
|
73
|
-
default: false
|
|
74
|
-
},
|
|
75
|
-
summary: {
|
|
76
|
-
type: null,
|
|
77
|
-
default: "Details"
|
|
78
|
-
},
|
|
79
|
-
variant: {
|
|
80
|
-
type: null,
|
|
81
|
-
default: "plain"
|
|
82
|
-
}
|
|
47
|
+
density: { type: null },
|
|
48
|
+
disabled: { type: null },
|
|
49
|
+
fill: { type: null },
|
|
50
|
+
headingLevel: { type: null },
|
|
51
|
+
name: { type: null },
|
|
52
|
+
open: { type: null },
|
|
53
|
+
requiredOpen: { type: null },
|
|
54
|
+
summary: { type: null },
|
|
55
|
+
variant: { type: null },
|
|
56
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
83
57
|
},
|
|
84
58
|
emits: [
|
|
85
59
|
"update:open",
|
|
@@ -182,7 +156,7 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
182
156
|
}
|
|
183
157
|
} };
|
|
184
158
|
const props = __props;
|
|
185
|
-
const
|
|
159
|
+
const inputTracking = vuePropInputs({
|
|
186
160
|
density: "comfortable",
|
|
187
161
|
disabled: false,
|
|
188
162
|
fill: false,
|
|
@@ -192,45 +166,74 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
192
166
|
requiredOpen: false,
|
|
193
167
|
summary: "Details",
|
|
194
168
|
variant: "plain"
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
name:
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
169
|
+
}, {
|
|
170
|
+
density: "comfortable",
|
|
171
|
+
disabled: false,
|
|
172
|
+
fill: false,
|
|
173
|
+
headingLevel: 0,
|
|
174
|
+
name: "",
|
|
175
|
+
open: false,
|
|
176
|
+
requiredOpen: false,
|
|
177
|
+
summary: "Details",
|
|
178
|
+
variant: "plain"
|
|
179
|
+
}, (name, value, source, values) => {
|
|
180
|
+
switch (name) {
|
|
181
|
+
case "density": return checkPropInput(value, {
|
|
182
|
+
kind: "terminal",
|
|
183
|
+
name: "keyword"
|
|
184
|
+
}, true, true);
|
|
185
|
+
case "disabled": return checkPropInput(value, {
|
|
186
|
+
kind: "terminal",
|
|
187
|
+
name: "boolean"
|
|
188
|
+
}, true, true);
|
|
189
|
+
case "fill": return checkPropInput(value, {
|
|
190
|
+
kind: "terminal",
|
|
191
|
+
name: "boolean"
|
|
192
|
+
}, true, true);
|
|
193
|
+
case "headingLevel": return checkPropInput(value, {
|
|
194
|
+
kind: "terminal",
|
|
195
|
+
name: "integer"
|
|
196
|
+
}, true, true);
|
|
197
|
+
case "name": return checkPropInput(value, {
|
|
198
|
+
kind: "terminal",
|
|
199
|
+
name: "string"
|
|
200
|
+
}, true, true);
|
|
201
|
+
case "open": return checkPropInput(value, {
|
|
202
|
+
kind: "terminal",
|
|
203
|
+
name: "boolean"
|
|
204
|
+
}, true, true);
|
|
205
|
+
case "requiredOpen": return checkPropInput(value, {
|
|
206
|
+
kind: "terminal",
|
|
207
|
+
name: "boolean"
|
|
208
|
+
}, true, true);
|
|
209
|
+
case "summary": return checkPropInput(value, {
|
|
210
|
+
kind: "terminal",
|
|
211
|
+
name: "string"
|
|
212
|
+
}, true, true);
|
|
213
|
+
case "variant": return checkPropInput(value, {
|
|
214
|
+
kind: "terminal",
|
|
215
|
+
name: "keyword"
|
|
216
|
+
}, true, true);
|
|
217
|
+
default: return { ok: false };
|
|
218
|
+
}
|
|
219
|
+
}, () => {
|
|
220
|
+
checkedProps.value;
|
|
221
|
+
});
|
|
222
|
+
const propInputs = inputTracking.inputs;
|
|
223
|
+
const checkedProps = computed(() => {
|
|
224
|
+
inputTracking.version.value;
|
|
225
|
+
return {
|
|
226
|
+
density: propInputs.value("density", props["density"], props[BINDING_INPUTS_PROP]),
|
|
227
|
+
disabled: propInputs.value("disabled", props["disabled"], props[BINDING_INPUTS_PROP]),
|
|
228
|
+
fill: propInputs.value("fill", props["fill"], props[BINDING_INPUTS_PROP]),
|
|
229
|
+
headingLevel: propInputs.value("headingLevel", props["headingLevel"], props[BINDING_INPUTS_PROP]),
|
|
230
|
+
name: propInputs.value("name", props["name"], props[BINDING_INPUTS_PROP]),
|
|
231
|
+
open: propInputs.value("open", props["open"], props[BINDING_INPUTS_PROP]),
|
|
232
|
+
requiredOpen: propInputs.value("requiredOpen", props["requiredOpen"], props[BINDING_INPUTS_PROP]),
|
|
233
|
+
summary: propInputs.value("summary", props["summary"], props[BINDING_INPUTS_PROP]),
|
|
234
|
+
variant: propInputs.value("variant", props["variant"], props[BINDING_INPUTS_PROP])
|
|
235
|
+
};
|
|
236
|
+
});
|
|
234
237
|
checkedProps.value;
|
|
235
238
|
watchSyncEffect(() => {
|
|
236
239
|
checkedProps.value;
|
|
@@ -298,11 +301,17 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
298
301
|
name: "integer"
|
|
299
302
|
}
|
|
300
303
|
}[name], keys),
|
|
304
|
+
initials: {
|
|
305
|
+
internalOpen: false,
|
|
306
|
+
contentId: ""
|
|
307
|
+
},
|
|
301
308
|
controllerSource: {
|
|
302
309
|
specifier: "../components/ui-disclosure/ui-disclosure.js",
|
|
303
310
|
definition: "./components/ui-disclosure/ui-disclosure.html"
|
|
304
311
|
},
|
|
305
312
|
props: checkedProps,
|
|
313
|
+
inputs: propInputs,
|
|
314
|
+
inputTracking,
|
|
306
315
|
propInputs: (name) => {
|
|
307
316
|
const incoming = hydrationInstance?.vnode.props;
|
|
308
317
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -388,6 +397,6 @@ var UiDisclosure_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
388
397
|
}]]);
|
|
389
398
|
};
|
|
390
399
|
}
|
|
391
|
-
}), [["__scopeId", "data-v-
|
|
400
|
+
}), [["__scopeId", "data-v-b352f7a7"]]);
|
|
392
401
|
//#endregion
|
|
393
402
|
export { UiDisclosure_default as t };
|
package/vue/chunks/UiEditable.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as checkHydratedRoot, 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 { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiEditable.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -49,50 +49,18 @@ var UiEditable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
49
49
|
inheritAttrs: false,
|
|
50
50
|
__name: "UiEditable",
|
|
51
51
|
props: {
|
|
52
|
-
actions: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
edit: {
|
|
65
|
-
type: null,
|
|
66
|
-
default: false
|
|
67
|
-
},
|
|
68
|
-
hint: {
|
|
69
|
-
type: null,
|
|
70
|
-
default: ""
|
|
71
|
-
},
|
|
72
|
-
label: {
|
|
73
|
-
type: null,
|
|
74
|
-
default: "Edit value"
|
|
75
|
-
},
|
|
76
|
-
maxLength: {
|
|
77
|
-
type: null,
|
|
78
|
-
default: 0
|
|
79
|
-
},
|
|
80
|
-
placeholder: {
|
|
81
|
-
type: null,
|
|
82
|
-
default: ""
|
|
83
|
-
},
|
|
84
|
-
required: {
|
|
85
|
-
type: null,
|
|
86
|
-
default: false
|
|
87
|
-
},
|
|
88
|
-
saveLabel: {
|
|
89
|
-
type: null,
|
|
90
|
-
default: "Save"
|
|
91
|
-
},
|
|
92
|
-
value: {
|
|
93
|
-
type: null,
|
|
94
|
-
default: ""
|
|
95
|
-
}
|
|
52
|
+
actions: { type: null },
|
|
53
|
+
cancelLabel: { type: null },
|
|
54
|
+
disabled: { type: null },
|
|
55
|
+
edit: { type: null },
|
|
56
|
+
hint: { type: null },
|
|
57
|
+
label: { type: null },
|
|
58
|
+
maxLength: { type: null },
|
|
59
|
+
placeholder: { type: null },
|
|
60
|
+
required: { type: null },
|
|
61
|
+
saveLabel: { type: null },
|
|
62
|
+
value: { type: null },
|
|
63
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
96
64
|
},
|
|
97
65
|
emits: [
|
|
98
66
|
"update:edit",
|
|
@@ -215,7 +183,7 @@ var UiEditable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
215
183
|
}
|
|
216
184
|
} };
|
|
217
185
|
const props = __props;
|
|
218
|
-
const
|
|
186
|
+
const inputTracking = vuePropInputs({
|
|
219
187
|
actions: false,
|
|
220
188
|
cancelLabel: "Cancel",
|
|
221
189
|
disabled: false,
|
|
@@ -227,53 +195,86 @@ var UiEditable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
227
195
|
required: false,
|
|
228
196
|
saveLabel: "Save",
|
|
229
197
|
value: ""
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
198
|
+
}, {
|
|
199
|
+
actions: false,
|
|
200
|
+
cancelLabel: "Cancel",
|
|
201
|
+
disabled: false,
|
|
202
|
+
edit: false,
|
|
203
|
+
hint: "",
|
|
204
|
+
label: "Edit value",
|
|
205
|
+
maxLength: 0,
|
|
206
|
+
placeholder: "",
|
|
207
|
+
required: false,
|
|
208
|
+
saveLabel: "Save",
|
|
209
|
+
value: ""
|
|
210
|
+
}, (name, value, source, values) => {
|
|
211
|
+
switch (name) {
|
|
212
|
+
case "actions": return checkPropInput(value, {
|
|
213
|
+
kind: "terminal",
|
|
214
|
+
name: "boolean"
|
|
215
|
+
}, true, true);
|
|
216
|
+
case "cancelLabel": return checkPropInput(value, {
|
|
217
|
+
kind: "terminal",
|
|
218
|
+
name: "string"
|
|
219
|
+
}, true, true);
|
|
220
|
+
case "disabled": return checkPropInput(value, {
|
|
221
|
+
kind: "terminal",
|
|
222
|
+
name: "boolean"
|
|
223
|
+
}, true, true);
|
|
224
|
+
case "edit": return checkPropInput(value, {
|
|
225
|
+
kind: "terminal",
|
|
226
|
+
name: "boolean"
|
|
227
|
+
}, true, true);
|
|
228
|
+
case "hint": return checkPropInput(value, {
|
|
229
|
+
kind: "terminal",
|
|
230
|
+
name: "string"
|
|
231
|
+
}, true, true);
|
|
232
|
+
case "label": return checkPropInput(value, {
|
|
233
|
+
kind: "terminal",
|
|
234
|
+
name: "string"
|
|
235
|
+
}, true, true);
|
|
236
|
+
case "maxLength": return checkPropInput(value, {
|
|
237
|
+
kind: "terminal",
|
|
238
|
+
name: "number"
|
|
239
|
+
}, true, true);
|
|
240
|
+
case "placeholder": return checkPropInput(value, {
|
|
241
|
+
kind: "terminal",
|
|
242
|
+
name: "string"
|
|
243
|
+
}, true, true);
|
|
244
|
+
case "required": return checkPropInput(value, {
|
|
245
|
+
kind: "terminal",
|
|
246
|
+
name: "boolean"
|
|
247
|
+
}, true, true);
|
|
248
|
+
case "saveLabel": return checkPropInput(value, {
|
|
249
|
+
kind: "terminal",
|
|
250
|
+
name: "string"
|
|
251
|
+
}, true, true);
|
|
252
|
+
case "value": return checkPropInput(value, {
|
|
253
|
+
kind: "terminal",
|
|
254
|
+
name: "string"
|
|
255
|
+
}, true, true);
|
|
256
|
+
default: return { ok: false };
|
|
257
|
+
}
|
|
258
|
+
}, () => {
|
|
259
|
+
checkedProps.value;
|
|
260
|
+
});
|
|
261
|
+
const propInputs = inputTracking.inputs;
|
|
262
|
+
const checkedProps = computed(() => {
|
|
263
|
+
inputTracking.version.value;
|
|
264
|
+
return {
|
|
265
|
+
actions: propInputs.value("actions", props["actions"], props[BINDING_INPUTS_PROP]),
|
|
266
|
+
cancelLabel: propInputs.value("cancelLabel", props["cancelLabel"], props[BINDING_INPUTS_PROP]),
|
|
267
|
+
disabled: propInputs.value("disabled", props["disabled"], props[BINDING_INPUTS_PROP]),
|
|
268
|
+
edit: propInputs.value("edit", props["edit"], props[BINDING_INPUTS_PROP]),
|
|
269
|
+
hint: propInputs.value("hint", props["hint"], props[BINDING_INPUTS_PROP]),
|
|
270
|
+
label: propInputs.value("label", props["label"], props[BINDING_INPUTS_PROP]),
|
|
271
|
+
maxLength: propInputs.value("maxLength", props["maxLength"], props[BINDING_INPUTS_PROP]),
|
|
272
|
+
placeholder: propInputs.value("placeholder", props["placeholder"], props[BINDING_INPUTS_PROP]),
|
|
273
|
+
required: propInputs.value("required", props["required"], props[BINDING_INPUTS_PROP]),
|
|
274
|
+
saveLabel: propInputs.value("saveLabel", props["saveLabel"], props[BINDING_INPUTS_PROP]),
|
|
275
|
+
value: propInputs.value("value", props["value"], props[BINDING_INPUTS_PROP])
|
|
276
|
+
};
|
|
277
|
+
});
|
|
277
278
|
checkedProps.value;
|
|
278
279
|
watchSyncEffect(() => {
|
|
279
280
|
checkedProps.value;
|
|
@@ -329,11 +330,18 @@ var UiEditable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
329
330
|
name: "string"
|
|
330
331
|
}
|
|
331
332
|
}[name], keys),
|
|
333
|
+
initials: {
|
|
334
|
+
internalEdit: false,
|
|
335
|
+
internalValue: "",
|
|
336
|
+
draft: ""
|
|
337
|
+
},
|
|
332
338
|
controllerSource: {
|
|
333
339
|
specifier: "../components/ui-editable/ui-editable.js",
|
|
334
340
|
definition: "./components/ui-editable/ui-editable.html"
|
|
335
341
|
},
|
|
336
342
|
props: checkedProps,
|
|
343
|
+
inputs: propInputs,
|
|
344
|
+
inputTracking,
|
|
337
345
|
propInputs: (name) => {
|
|
338
346
|
const incoming = hydrationInstance?.vnode.props;
|
|
339
347
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -422,6 +430,6 @@ var UiEditable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
422
430
|
}]]);
|
|
423
431
|
};
|
|
424
432
|
}
|
|
425
|
-
}), [["__scopeId", "data-v-
|
|
433
|
+
}), [["__scopeId", "data-v-07e96dd2"]]);
|
|
426
434
|
//#endregion
|
|
427
435
|
export { UiEditable_default as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { 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 { f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, t as BINDING_INPUTS_PROP, u as requireInputStatus } from "./props.js";
|
|
3
3
|
import { t as UiMenu_default } from "./UiMenu.js";
|
|
4
4
|
import { t as UiMenuItem_default } from "./UiMenuItem.js";
|
|
5
5
|
import { computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
@@ -11,14 +11,9 @@ var UiEditorBlockActions_default = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
inheritAttrs: false,
|
|
12
12
|
__name: "UiEditorBlockActions",
|
|
13
13
|
props: {
|
|
14
|
-
for: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
placement: {
|
|
19
|
-
type: null,
|
|
20
|
-
default: "bottom-start"
|
|
21
|
-
}
|
|
14
|
+
for: { type: null },
|
|
15
|
+
placement: { type: null },
|
|
16
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
22
17
|
},
|
|
23
18
|
emits: ["action"],
|
|
24
19
|
setup(__props, { emit: __emit }) {
|
|
@@ -46,20 +41,40 @@ var UiEditorBlockActions_default = /* @__PURE__ */ defineComponent({
|
|
|
46
41
|
}
|
|
47
42
|
} };
|
|
48
43
|
const props = __props;
|
|
49
|
-
const
|
|
44
|
+
const inputTracking = vuePropInputs({
|
|
50
45
|
for: "",
|
|
51
46
|
placement: "bottom-start"
|
|
47
|
+
}, {
|
|
48
|
+
for: "",
|
|
49
|
+
placement: "bottom-start"
|
|
50
|
+
}, (name, value, source, values) => {
|
|
51
|
+
switch (name) {
|
|
52
|
+
case "for": return checkPropInput(value, {
|
|
53
|
+
kind: "terminal",
|
|
54
|
+
name: "string"
|
|
55
|
+
}, true, true);
|
|
56
|
+
case "placement": return checkPropInput(value, {
|
|
57
|
+
kind: "terminal",
|
|
58
|
+
name: "keyword"
|
|
59
|
+
}, true, true);
|
|
60
|
+
default: return { ok: false };
|
|
61
|
+
}
|
|
62
|
+
}, () => {
|
|
63
|
+
checkedProps.value;
|
|
64
|
+
});
|
|
65
|
+
const propInputs = inputTracking.inputs;
|
|
66
|
+
const checkedProps = computed(() => {
|
|
67
|
+
inputTracking.version.value;
|
|
68
|
+
return {
|
|
69
|
+
for: propInputs.value("for", props["for"], props[BINDING_INPUTS_PROP]),
|
|
70
|
+
placement: propInputs.value("placement", props["placement"], props[BINDING_INPUTS_PROP])
|
|
71
|
+
};
|
|
72
|
+
});
|
|
73
|
+
const inputStatus = (name, handlesError) => {
|
|
74
|
+
checkedProps.value;
|
|
75
|
+
inputTracking.version.value;
|
|
76
|
+
return requireInputStatus(propInputs.status(name), handlesError);
|
|
52
77
|
};
|
|
53
|
-
const checkedProps = computed(() => ({
|
|
54
|
-
for: checkedProp(props["for"], {
|
|
55
|
-
kind: "terminal",
|
|
56
|
-
name: "string"
|
|
57
|
-
}, false, "for", acceptedProps),
|
|
58
|
-
placement: checkedProp(props["placement"], {
|
|
59
|
-
kind: "terminal",
|
|
60
|
-
name: "keyword"
|
|
61
|
-
}, false, "placement", acceptedProps)
|
|
62
|
-
}));
|
|
63
78
|
checkedProps.value;
|
|
64
79
|
watchSyncEffect(() => {
|
|
65
80
|
checkedProps.value;
|
|
@@ -79,6 +94,8 @@ var UiEditorBlockActions_default = /* @__PURE__ */ defineComponent({
|
|
|
79
94
|
definition: "./components/ui-editor-block-actions/ui-editor-block-actions.html"
|
|
80
95
|
},
|
|
81
96
|
props: checkedProps,
|
|
97
|
+
inputs: propInputs,
|
|
98
|
+
inputTracking,
|
|
82
99
|
propInputs: (name) => {
|
|
83
100
|
const incoming = hydrationInstance?.vnode.props;
|
|
84
101
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -97,11 +114,20 @@ var UiEditorBlockActions_default = /* @__PURE__ */ defineComponent({
|
|
|
97
114
|
"data-ui-editor-block-actions-prop-placement": unref(reflectedProp)("placement", "placement", checkedProps.value.placement, void 0, false),
|
|
98
115
|
ref_key: "root",
|
|
99
116
|
ref: root
|
|
100
|
-
}), [createVNode(UiMenu_default, {
|
|
117
|
+
}), [createVNode(UiMenu_default, mergeProps({
|
|
101
118
|
"aria-label": "Block actions",
|
|
102
119
|
for: checkedProps.value.for,
|
|
103
120
|
placement: checkedProps.value.placement
|
|
104
|
-
}, {
|
|
121
|
+
}, { [unref(BINDING_INPUTS_PROP)]: {
|
|
122
|
+
for: () => ({
|
|
123
|
+
value: checkedProps.value.for,
|
|
124
|
+
status: inputStatus("for", true)
|
|
125
|
+
}),
|
|
126
|
+
placement: () => ({
|
|
127
|
+
value: checkedProps.value.placement,
|
|
128
|
+
status: inputStatus("placement", true)
|
|
129
|
+
})
|
|
130
|
+
} }), {
|
|
105
131
|
default: withCtx(() => [
|
|
106
132
|
createVNode(UiMenuItem_default, { value: "insert-below" }, {
|
|
107
133
|
default: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode("Insert paragraph below", -1)])]),
|
|
@@ -119,7 +145,7 @@ var UiEditorBlockActions_default = /* @__PURE__ */ defineComponent({
|
|
|
119
145
|
})
|
|
120
146
|
]),
|
|
121
147
|
_: 1
|
|
122
|
-
},
|
|
148
|
+
}, 16, ["for", "placement"])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
123
149
|
contract: propValidityContract,
|
|
124
150
|
values: { ...props }
|
|
125
151
|
}]]);
|