@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,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, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiInputGroup.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
@@ -32,26 +32,12 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
32
32
|
inheritAttrs: false,
|
|
33
33
|
__name: "UiInputGroup",
|
|
34
34
|
props: {
|
|
35
|
-
actionPosition: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
default: false
|
|
42
|
-
},
|
|
43
|
-
multiline: {
|
|
44
|
-
type: null,
|
|
45
|
-
default: false
|
|
46
|
-
},
|
|
47
|
-
prefixKind: {
|
|
48
|
-
type: null,
|
|
49
|
-
default: "text"
|
|
50
|
-
},
|
|
51
|
-
variant: {
|
|
52
|
-
type: null,
|
|
53
|
-
default: "outline"
|
|
54
|
-
}
|
|
35
|
+
actionPosition: { type: null },
|
|
36
|
+
disabled: { type: null },
|
|
37
|
+
multiline: { type: null },
|
|
38
|
+
prefixKind: { type: null },
|
|
39
|
+
variant: { type: null },
|
|
40
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
55
41
|
},
|
|
56
42
|
setup(__props) {
|
|
57
43
|
const propValidityContract = { props: {
|
|
@@ -110,35 +96,56 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
110
96
|
}
|
|
111
97
|
} };
|
|
112
98
|
const props = __props;
|
|
113
|
-
const
|
|
99
|
+
const inputTracking = vuePropInputs({
|
|
114
100
|
actionPosition: "below",
|
|
115
101
|
disabled: false,
|
|
116
102
|
multiline: false,
|
|
117
103
|
prefixKind: "text",
|
|
118
104
|
variant: "outline"
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
105
|
+
}, {
|
|
106
|
+
actionPosition: "below",
|
|
107
|
+
disabled: false,
|
|
108
|
+
multiline: false,
|
|
109
|
+
prefixKind: "text",
|
|
110
|
+
variant: "outline"
|
|
111
|
+
}, (name, value, source, values) => {
|
|
112
|
+
switch (name) {
|
|
113
|
+
case "actionPosition": return checkPropInput(value, {
|
|
114
|
+
kind: "terminal",
|
|
115
|
+
name: "keyword"
|
|
116
|
+
}, true, true);
|
|
117
|
+
case "disabled": return checkPropInput(value, {
|
|
118
|
+
kind: "terminal",
|
|
119
|
+
name: "boolean"
|
|
120
|
+
}, true, true);
|
|
121
|
+
case "multiline": return checkPropInput(value, {
|
|
122
|
+
kind: "terminal",
|
|
123
|
+
name: "boolean"
|
|
124
|
+
}, true, true);
|
|
125
|
+
case "prefixKind": return checkPropInput(value, {
|
|
126
|
+
kind: "terminal",
|
|
127
|
+
name: "keyword"
|
|
128
|
+
}, true, true);
|
|
129
|
+
case "variant": return checkPropInput(value, {
|
|
130
|
+
kind: "terminal",
|
|
131
|
+
name: "keyword"
|
|
132
|
+
}, true, true);
|
|
133
|
+
default: return { ok: false };
|
|
134
|
+
}
|
|
135
|
+
}, () => {
|
|
136
|
+
checkedProps.value;
|
|
137
|
+
});
|
|
138
|
+
const propInputs = inputTracking.inputs;
|
|
139
|
+
const checkedProps = computed(() => {
|
|
140
|
+
inputTracking.version.value;
|
|
141
|
+
return {
|
|
142
|
+
actionPosition: propInputs.value("actionPosition", props["actionPosition"], props[BINDING_INPUTS_PROP]),
|
|
143
|
+
disabled: propInputs.value("disabled", props["disabled"], props[BINDING_INPUTS_PROP]),
|
|
144
|
+
multiline: propInputs.value("multiline", props["multiline"], props[BINDING_INPUTS_PROP]),
|
|
145
|
+
prefixKind: propInputs.value("prefixKind", props["prefixKind"], props[BINDING_INPUTS_PROP]),
|
|
146
|
+
variant: propInputs.value("variant", props["variant"], props[BINDING_INPUTS_PROP])
|
|
147
|
+
};
|
|
148
|
+
});
|
|
142
149
|
checkedProps.value;
|
|
143
150
|
watchSyncEffect(() => {
|
|
144
151
|
checkedProps.value;
|
|
@@ -167,6 +174,8 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
167
174
|
definition: "./components/ui-input-group/ui-input-group.html"
|
|
168
175
|
},
|
|
169
176
|
props: checkedProps,
|
|
177
|
+
inputs: propInputs,
|
|
178
|
+
inputTracking,
|
|
170
179
|
propInputs: (name) => {
|
|
171
180
|
const incoming = hydrationInstance?.vnode.props;
|
|
172
181
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -210,6 +219,6 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
210
219
|
}]]);
|
|
211
220
|
};
|
|
212
221
|
}
|
|
213
|
-
}), [["__scopeId", "data-v-
|
|
222
|
+
}), [["__scopeId", "data-v-78b92566"]]);
|
|
214
223
|
//#endregion
|
|
215
224
|
export { UiInputGroup_default as t };
|
package/vue/chunks/UiList.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as preserveRootFocus, i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as vPropValidity, i as checkPropInput, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiList.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
@@ -22,22 +22,11 @@ var UiList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
22
22
|
inheritAttrs: false,
|
|
23
23
|
__name: "UiList",
|
|
24
24
|
props: {
|
|
25
|
-
as: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
type: null,
|
|
31
|
-
default: "comfortable"
|
|
32
|
-
},
|
|
33
|
-
layout: {
|
|
34
|
-
type: null,
|
|
35
|
-
default: "rows"
|
|
36
|
-
},
|
|
37
|
-
markers: {
|
|
38
|
-
type: null,
|
|
39
|
-
default: "none"
|
|
40
|
-
}
|
|
25
|
+
as: { type: null },
|
|
26
|
+
density: { type: null },
|
|
27
|
+
layout: { type: null },
|
|
28
|
+
markers: { type: null },
|
|
29
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
41
30
|
},
|
|
42
31
|
setup(__props) {
|
|
43
32
|
const propValidityContract = { props: {
|
|
@@ -87,30 +76,49 @@ var UiList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
87
76
|
}
|
|
88
77
|
} };
|
|
89
78
|
const props = __props;
|
|
90
|
-
const
|
|
79
|
+
const inputTracking = vuePropInputs({
|
|
91
80
|
as: "ul",
|
|
92
81
|
density: "comfortable",
|
|
93
82
|
layout: "rows",
|
|
94
83
|
markers: "none"
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
84
|
+
}, {
|
|
85
|
+
as: "ul",
|
|
86
|
+
density: "comfortable",
|
|
87
|
+
layout: "rows",
|
|
88
|
+
markers: "none"
|
|
89
|
+
}, (name, value, source, values) => {
|
|
90
|
+
switch (name) {
|
|
91
|
+
case "as": return checkPropInput(value, {
|
|
92
|
+
kind: "terminal",
|
|
93
|
+
name: "keyword"
|
|
94
|
+
}, true, true);
|
|
95
|
+
case "density": return checkPropInput(value, {
|
|
96
|
+
kind: "terminal",
|
|
97
|
+
name: "keyword"
|
|
98
|
+
}, true, true);
|
|
99
|
+
case "layout": return checkPropInput(value, {
|
|
100
|
+
kind: "terminal",
|
|
101
|
+
name: "keyword"
|
|
102
|
+
}, true, true);
|
|
103
|
+
case "markers": return checkPropInput(value, {
|
|
104
|
+
kind: "terminal",
|
|
105
|
+
name: "keyword"
|
|
106
|
+
}, true, true);
|
|
107
|
+
default: return { ok: false };
|
|
108
|
+
}
|
|
109
|
+
}, () => {
|
|
110
|
+
checkedProps.value;
|
|
111
|
+
});
|
|
112
|
+
const propInputs = inputTracking.inputs;
|
|
113
|
+
const checkedProps = computed(() => {
|
|
114
|
+
inputTracking.version.value;
|
|
115
|
+
return {
|
|
116
|
+
as: propInputs.value("as", props["as"], props[BINDING_INPUTS_PROP]),
|
|
117
|
+
density: propInputs.value("density", props["density"], props[BINDING_INPUTS_PROP]),
|
|
118
|
+
layout: propInputs.value("layout", props["layout"], props[BINDING_INPUTS_PROP]),
|
|
119
|
+
markers: propInputs.value("markers", props["markers"], props[BINDING_INPUTS_PROP])
|
|
120
|
+
};
|
|
121
|
+
});
|
|
114
122
|
checkedProps.value;
|
|
115
123
|
watchSyncEffect(() => {
|
|
116
124
|
checkedProps.value;
|
|
@@ -165,6 +173,6 @@ var UiList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
165
173
|
}]]);
|
|
166
174
|
};
|
|
167
175
|
}
|
|
168
|
-
}), [["__scopeId", "data-v-
|
|
176
|
+
}), [["__scopeId", "data-v-5d83529a"]]);
|
|
169
177
|
//#endregion
|
|
170
178
|
export { UiList_default as t };
|
package/vue/chunks/UiListItem.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as vPropValidity, i as checkPropInput, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiListItem.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
@@ -38,30 +38,13 @@ var UiListItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
38
38
|
inheritAttrs: false,
|
|
39
39
|
__name: "UiListItem",
|
|
40
40
|
props: {
|
|
41
|
-
align: {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
highlighted: {
|
|
50
|
-
type: null,
|
|
51
|
-
default: false
|
|
52
|
-
},
|
|
53
|
-
leadingInteractive: {
|
|
54
|
-
type: null,
|
|
55
|
-
default: false
|
|
56
|
-
},
|
|
57
|
-
variant: {
|
|
58
|
-
type: null,
|
|
59
|
-
default: "row"
|
|
60
|
-
},
|
|
61
|
-
wrap: {
|
|
62
|
-
type: null,
|
|
63
|
-
default: false
|
|
64
|
-
}
|
|
41
|
+
align: { type: null },
|
|
42
|
+
current: { type: null },
|
|
43
|
+
highlighted: { type: null },
|
|
44
|
+
leadingInteractive: { type: null },
|
|
45
|
+
variant: { type: null },
|
|
46
|
+
wrap: { type: null },
|
|
47
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
65
48
|
},
|
|
66
49
|
setup(__props) {
|
|
67
50
|
const propValidityContract = { props: {
|
|
@@ -129,40 +112,63 @@ var UiListItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
129
112
|
}
|
|
130
113
|
} };
|
|
131
114
|
const props = __props;
|
|
132
|
-
const
|
|
115
|
+
const inputTracking = vuePropInputs({
|
|
133
116
|
align: "center",
|
|
134
117
|
current: false,
|
|
135
118
|
highlighted: false,
|
|
136
119
|
leadingInteractive: false,
|
|
137
120
|
variant: "row",
|
|
138
121
|
wrap: false
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
122
|
+
}, {
|
|
123
|
+
align: "center",
|
|
124
|
+
current: false,
|
|
125
|
+
highlighted: false,
|
|
126
|
+
leadingInteractive: false,
|
|
127
|
+
variant: "row",
|
|
128
|
+
wrap: false
|
|
129
|
+
}, (name, value, source, values) => {
|
|
130
|
+
switch (name) {
|
|
131
|
+
case "align": return checkPropInput(value, {
|
|
132
|
+
kind: "terminal",
|
|
133
|
+
name: "keyword"
|
|
134
|
+
}, true, true);
|
|
135
|
+
case "current": return checkPropInput(value, {
|
|
136
|
+
kind: "terminal",
|
|
137
|
+
name: "boolean"
|
|
138
|
+
}, true, true);
|
|
139
|
+
case "highlighted": return checkPropInput(value, {
|
|
140
|
+
kind: "terminal",
|
|
141
|
+
name: "boolean"
|
|
142
|
+
}, true, true);
|
|
143
|
+
case "leadingInteractive": return checkPropInput(value, {
|
|
144
|
+
kind: "terminal",
|
|
145
|
+
name: "boolean"
|
|
146
|
+
}, true, true);
|
|
147
|
+
case "variant": return checkPropInput(value, {
|
|
148
|
+
kind: "terminal",
|
|
149
|
+
name: "keyword"
|
|
150
|
+
}, true, true);
|
|
151
|
+
case "wrap": return checkPropInput(value, {
|
|
152
|
+
kind: "terminal",
|
|
153
|
+
name: "boolean"
|
|
154
|
+
}, true, true);
|
|
155
|
+
default: return { ok: false };
|
|
156
|
+
}
|
|
157
|
+
}, () => {
|
|
158
|
+
checkedProps.value;
|
|
159
|
+
});
|
|
160
|
+
const propInputs = inputTracking.inputs;
|
|
161
|
+
const checkedProps = computed(() => {
|
|
162
|
+
inputTracking.version.value;
|
|
163
|
+
return {
|
|
164
|
+
align: propInputs.value("align", props["align"], props[BINDING_INPUTS_PROP]),
|
|
165
|
+
current: propInputs.value("current", props["current"], props[BINDING_INPUTS_PROP]),
|
|
166
|
+
highlighted: propInputs.value("highlighted", props["highlighted"], props[BINDING_INPUTS_PROP]),
|
|
167
|
+
leadingInteractive: propInputs.value("leadingInteractive", props["leadingInteractive"], props[BINDING_INPUTS_PROP]),
|
|
168
|
+
variant: propInputs.value("variant", props["variant"], props[BINDING_INPUTS_PROP]),
|
|
169
|
+
wrap: propInputs.value("wrap", props["wrap"], props[BINDING_INPUTS_PROP])
|
|
170
|
+
};
|
|
171
|
+
});
|
|
166
172
|
checkedProps.value;
|
|
167
173
|
watchSyncEffect(() => {
|
|
168
174
|
checkedProps.value;
|
|
@@ -208,6 +214,6 @@ var UiListItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
208
214
|
}]]);
|
|
209
215
|
};
|
|
210
216
|
}
|
|
211
|
-
}), [["__scopeId", "data-v-
|
|
217
|
+
}), [["__scopeId", "data-v-c8162362"]]);
|
|
212
218
|
//#endregion
|
|
213
219
|
export { UiListItem_default as t };
|
package/vue/chunks/UiListbox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as uniqueKeys, a as concat, i as checkHydratedRoot, n as KeyedBoundary, o as createDispatch, p as nativeAttrs, r as attribute, 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 { t as UiScrollArea_default } from "./UiScrollArea.js";
|
|
4
4
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiListbox.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -49,38 +49,15 @@ var UiListbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
49
49
|
inheritAttrs: false,
|
|
50
50
|
__name: "UiListbox",
|
|
51
51
|
props: {
|
|
52
|
-
disabled: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
type: null,
|
|
62
|
-
default: false
|
|
63
|
-
},
|
|
64
|
-
name: {
|
|
65
|
-
type: null,
|
|
66
|
-
default: ""
|
|
67
|
-
},
|
|
68
|
-
required: {
|
|
69
|
-
type: null,
|
|
70
|
-
default: false
|
|
71
|
-
},
|
|
72
|
-
rows: {
|
|
73
|
-
type: null,
|
|
74
|
-
default: 5
|
|
75
|
-
},
|
|
76
|
-
value: {
|
|
77
|
-
type: null,
|
|
78
|
-
default: null
|
|
79
|
-
},
|
|
80
|
-
values: {
|
|
81
|
-
type: null,
|
|
82
|
-
default: null
|
|
83
|
-
}
|
|
52
|
+
disabled: { type: null },
|
|
53
|
+
invalid: { type: null },
|
|
54
|
+
multiple: { type: null },
|
|
55
|
+
name: { type: null },
|
|
56
|
+
required: { type: null },
|
|
57
|
+
rows: { type: null },
|
|
58
|
+
value: { type: null },
|
|
59
|
+
values: { type: null },
|
|
60
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
84
61
|
},
|
|
85
62
|
emits: [
|
|
86
63
|
"update:value",
|
|
@@ -172,7 +149,7 @@ var UiListbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
172
149
|
}
|
|
173
150
|
} };
|
|
174
151
|
const props = __props;
|
|
175
|
-
const
|
|
152
|
+
const inputTracking = vuePropInputs({
|
|
176
153
|
disabled: false,
|
|
177
154
|
invalid: false,
|
|
178
155
|
multiple: false,
|
|
@@ -181,44 +158,69 @@ var UiListbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
181
158
|
rows: 5,
|
|
182
159
|
value: null,
|
|
183
160
|
values: null
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
rows: checkedProp(props["rows"], {
|
|
207
|
-
kind: "terminal",
|
|
208
|
-
name: "number"
|
|
209
|
-
}, false, "rows", acceptedProps),
|
|
210
|
-
value: checkedProp(props["value"], {
|
|
211
|
-
kind: "terminal",
|
|
212
|
-
name: "string"
|
|
213
|
-
}, false, "value", acceptedProps),
|
|
214
|
-
values: checkedProp(props["values"], {
|
|
215
|
-
kind: "list",
|
|
216
|
-
item: {
|
|
161
|
+
}, {
|
|
162
|
+
disabled: false,
|
|
163
|
+
invalid: false,
|
|
164
|
+
multiple: false,
|
|
165
|
+
name: "",
|
|
166
|
+
required: false,
|
|
167
|
+
rows: 5
|
|
168
|
+
}, (name, value, source, values) => {
|
|
169
|
+
switch (name) {
|
|
170
|
+
case "disabled": return checkPropInput(value, {
|
|
171
|
+
kind: "terminal",
|
|
172
|
+
name: "boolean"
|
|
173
|
+
}, true, true);
|
|
174
|
+
case "invalid": return checkPropInput(value, {
|
|
175
|
+
kind: "terminal",
|
|
176
|
+
name: "boolean"
|
|
177
|
+
}, true, true);
|
|
178
|
+
case "multiple": return checkPropInput(value, {
|
|
179
|
+
kind: "terminal",
|
|
180
|
+
name: "boolean"
|
|
181
|
+
}, true, true);
|
|
182
|
+
case "name": return checkPropInput(value, {
|
|
217
183
|
kind: "terminal",
|
|
218
184
|
name: "string"
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
|
|
185
|
+
}, true, true);
|
|
186
|
+
case "required": return checkPropInput(value, {
|
|
187
|
+
kind: "terminal",
|
|
188
|
+
name: "boolean"
|
|
189
|
+
}, true, true);
|
|
190
|
+
case "rows": return checkPropInput(value, {
|
|
191
|
+
kind: "terminal",
|
|
192
|
+
name: "number"
|
|
193
|
+
}, true, true);
|
|
194
|
+
case "value": return checkPropInput(value, {
|
|
195
|
+
kind: "terminal",
|
|
196
|
+
name: "string"
|
|
197
|
+
}, true, true);
|
|
198
|
+
case "values": return checkPropInput(value, {
|
|
199
|
+
kind: "list",
|
|
200
|
+
item: {
|
|
201
|
+
kind: "terminal",
|
|
202
|
+
name: "string"
|
|
203
|
+
}
|
|
204
|
+
}, true, true);
|
|
205
|
+
default: return { ok: false };
|
|
206
|
+
}
|
|
207
|
+
}, () => {
|
|
208
|
+
checkedProps.value;
|
|
209
|
+
});
|
|
210
|
+
const propInputs = inputTracking.inputs;
|
|
211
|
+
const checkedProps = computed(() => {
|
|
212
|
+
inputTracking.version.value;
|
|
213
|
+
return {
|
|
214
|
+
disabled: propInputs.value("disabled", props["disabled"], props[BINDING_INPUTS_PROP]),
|
|
215
|
+
invalid: propInputs.value("invalid", props["invalid"], props[BINDING_INPUTS_PROP]),
|
|
216
|
+
multiple: propInputs.value("multiple", props["multiple"], props[BINDING_INPUTS_PROP]),
|
|
217
|
+
name: propInputs.value("name", props["name"], props[BINDING_INPUTS_PROP]),
|
|
218
|
+
required: propInputs.value("required", props["required"], props[BINDING_INPUTS_PROP]),
|
|
219
|
+
rows: propInputs.value("rows", props["rows"], props[BINDING_INPUTS_PROP]),
|
|
220
|
+
value: propInputs.value("value", props["value"], props[BINDING_INPUTS_PROP]),
|
|
221
|
+
values: propInputs.value("values", props["values"], props[BINDING_INPUTS_PROP])
|
|
222
|
+
};
|
|
223
|
+
});
|
|
222
224
|
checkedProps.value;
|
|
223
225
|
watchSyncEffect(() => {
|
|
224
226
|
checkedProps.value;
|
|
@@ -254,7 +256,7 @@ var UiListbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
254
256
|
provide("html-next:ui-listbox:uid", uid);
|
|
255
257
|
provide("html-next:ui-listbox:validationError", validationError);
|
|
256
258
|
checkHydratedRoot("div", "ui-listbox");
|
|
257
|
-
const isChangeDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && (
|
|
259
|
+
const isChangeDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && (detail["value"] == null || typeof detail["value"] === "string") && Array.isArray(detail["values"]) && detail["values"].every((item) => typeof item === "string") && (detail["trigger"] === "keyboard" || detail["trigger"] === "pointer") && Object.keys(detail).every((key) => [
|
|
258
260
|
"value",
|
|
259
261
|
"values",
|
|
260
262
|
"trigger"
|
|
@@ -340,11 +342,20 @@ var UiListbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
340
342
|
name: "boolean"
|
|
341
343
|
}
|
|
342
344
|
}[name], keys),
|
|
345
|
+
initials: {
|
|
346
|
+
choices: [],
|
|
347
|
+
selection: [],
|
|
348
|
+
hasSelection: false,
|
|
349
|
+
uid: "",
|
|
350
|
+
validationError: false
|
|
351
|
+
},
|
|
343
352
|
controllerSource: {
|
|
344
353
|
specifier: "../components/ui-listbox/ui-listbox.js",
|
|
345
354
|
definition: "./components/ui-listbox/ui-listbox.html"
|
|
346
355
|
},
|
|
347
356
|
props: checkedProps,
|
|
357
|
+
inputs: propInputs,
|
|
358
|
+
inputTracking,
|
|
348
359
|
propInputs: (name) => {
|
|
349
360
|
const incoming = hydrationInstance?.vnode.props;
|
|
350
361
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -471,6 +482,6 @@ var UiListbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
471
482
|
}]]);
|
|
472
483
|
};
|
|
473
484
|
}
|
|
474
|
-
}), [["__scopeId", "data-v-
|
|
485
|
+
}), [["__scopeId", "data-v-e590941a"]]);
|
|
475
486
|
//#endregion
|
|
476
487
|
export { UiListbox_default as t };
|