@threadlabs/looma 0.24.1 → 0.25.0
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/README.md +1 -1
- package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
- package/components/ui-affordance-scope/ui-affordance-scope.js +6 -1
- package/components/ui-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar/ui-avatar.js +6 -1
- package/components/ui-avatar-group/ui-avatar-group.html +2 -2
- package/components/ui-avatar-group/ui-avatar-group.js +6 -1
- package/components/ui-badge/ui-badge.html +30 -30
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
- package/components/ui-button/ui-button.html +33 -33
- package/components/ui-button/ui-button.js +6 -1
- package/components/ui-callout/ui-callout.html +4 -4
- package/components/ui-card/ui-card.html +9 -9
- package/components/ui-checkbox/ui-checkbox.html +11 -11
- package/components/ui-checkbox/ui-checkbox.js +6 -1
- package/components/ui-cluster/ui-cluster.html +12 -12
- package/components/ui-combobox/ui-combobox.html +15 -17
- package/components/ui-combobox/ui-combobox.js +13 -15
- package/components/ui-container/ui-container.html +5 -5
- package/components/ui-context-menu/ui-context-menu.js +6 -1
- package/components/ui-cover/ui-cover.html +1 -1
- package/components/ui-description-list/ui-description-list.html +10 -10
- package/components/ui-dialog/ui-dialog.html +4 -4
- package/components/ui-dialog/ui-dialog.js +6 -1
- package/components/ui-disclosure/ui-disclosure.html +13 -13
- package/components/ui-disclosure/ui-disclosure.js +6 -1
- package/components/ui-editable/ui-editable.html +1 -1
- package/components/ui-editable/ui-editable.js +6 -1
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +6 -1
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +6 -1
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +6 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +6 -1
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +6 -1
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +6 -1
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +4 -4
- package/components/ui-editor-toolbar/ui-editor-toolbar.js +6 -1
- package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
- package/components/ui-form-field/ui-form-field.html +1 -1
- package/components/ui-form-field/ui-form-field.js +6 -1
- package/components/ui-grid/ui-grid.html +7 -7
- package/components/ui-icon-button/ui-icon-button.html +26 -26
- package/components/ui-icon-button/ui-icon-button.js +6 -1
- package/components/ui-image/ui-image.html +11 -11
- package/components/ui-image/ui-image.js +6 -1
- package/components/ui-input/ui-input.html +9 -7
- package/components/ui-input/ui-input.js +6 -1
- package/components/ui-input-group/ui-input-group.html +3 -3
- package/components/ui-input-group/ui-input-group.js +6 -1
- package/components/ui-list/ui-list.html +6 -6
- package/components/ui-list-item/ui-list-item.html +8 -8
- package/components/ui-listbox/ui-listbox.js +6 -1
- package/components/ui-menu/ui-menu.html +3 -3
- package/components/ui-menu/ui-menu.js +6 -1
- package/components/ui-menu-item/ui-menu-item.html +3 -3
- package/components/ui-menu-item/ui-menu-item.js +6 -1
- package/components/ui-meter/ui-meter.html +7 -7
- package/components/ui-nav-item/ui-nav-item.html +6 -6
- package/components/ui-page-header/ui-page-header.html +2 -2
- package/components/ui-popover/ui-popover.html +3 -3
- package/components/ui-popover/ui-popover.js +6 -1
- package/components/ui-radio/ui-radio.html +10 -10
- package/components/ui-radio/ui-radio.js +6 -1
- package/components/ui-radio-group/ui-radio-group.html +2 -2
- package/components/ui-radio-group/ui-radio-group.js +6 -1
- package/components/ui-reel/ui-reel.html +11 -11
- package/components/ui-scroll-area/ui-scroll-area.html +4 -4
- package/components/ui-scroll-area/ui-scroll-area.js +6 -1
- package/components/ui-search-result-row/ui-search-result-row.html +5 -5
- package/components/ui-search-shell/ui-search-shell.js +6 -1
- package/components/ui-section/ui-section.html +4 -4
- package/components/ui-select/ui-select.html +3 -3
- package/components/ui-select/ui-select.js +6 -1
- package/components/ui-separator/ui-separator.html +4 -4
- package/components/ui-sidebar/ui-sidebar.html +6 -6
- package/components/ui-sidebar/ui-sidebar.js +6 -1
- package/components/ui-spinner/ui-spinner.html +1 -1
- package/components/ui-stack/ui-stack.html +12 -12
- package/components/ui-status-message/ui-status-message.html +4 -4
- package/components/ui-switch/ui-switch.html +11 -11
- package/components/ui-switch/ui-switch.js +6 -1
- package/components/ui-switcher/ui-switcher.html +11 -11
- package/components/ui-switcher/ui-switcher.js +6 -1
- package/components/ui-table/ui-table.html +2 -2
- package/components/ui-table/ui-table.js +6 -1
- package/components/ui-tabs/ui-tabs.html +8 -8
- package/components/ui-tabs/ui-tabs.js +6 -1
- package/components/ui-text/ui-text.html +20 -20
- package/components/ui-textarea/ui-textarea.html +4 -4
- package/components/ui-textarea/ui-textarea.js +6 -1
- package/components/ui-toast/ui-toast.html +4 -4
- package/components/ui-toast/ui-toast.js +6 -1
- package/components/ui-toast-region/ui-toast-region.html +16 -11
- package/components/ui-toast-region/ui-toast-region.js +12 -9
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tooltip/ui-tooltip.js +6 -1
- package/components/ui-tree/ui-tree.html +2 -2
- package/components/ui-tree/ui-tree.js +6 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -4
- package/components/ui-tree-item/ui-tree-item.js +6 -1
- package/dist/index.js +10 -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 +2 -2
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-insert-table-grid.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-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 +2 -2
- 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-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 +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -3
- package/vanilla/UiCombobox.js +2 -2
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +1 -1
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +1 -1
- package/vanilla/UiInput.d.ts +4 -4
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +1 -1
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +1 -1
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +2 -2
- package/vanilla/UiToastRegion.js +2 -2
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +8 -1
- package/vue/UiAvatar.d.ts +6 -9
- package/vue/UiAvatar.vue +71 -20
- package/vue/UiAvatarGroup.d.ts +7 -10
- package/vue/UiAvatarGroup.vue +45 -12
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +1 -1
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +1 -1
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.d.ts +8 -11
- package/vue/UiCheckbox.vue +34 -11
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.d.ts +60 -66
- package/vue/UiCombobox.vue +476 -124
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +18 -9
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.d.ts +8 -11
- package/vue/UiDialog.vue +39 -12
- package/vue/UiDisclosure.d.ts +12 -15
- package/vue/UiDisclosure.vue +70 -24
- package/vue/UiEditable.d.ts +3 -3
- package/vue/UiEditable.vue +60 -21
- package/vue/UiEditorInsertTableGrid.d.ts +2 -2
- package/vue/UiEditorInsertTableGrid.vue +75 -14
- package/vue/UiEditorMentionMenu.d.ts +10 -13
- package/vue/UiEditorMentionMenu.vue +50 -7
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.d.ts +12 -15
- package/vue/UiEditorSlashMenu.vue +48 -7
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +73 -4
- package/vue/UiEditorTableOverlay.d.ts +2 -2
- package/vue/UiEditorTableOverlay.vue +202 -38
- package/vue/UiEditorTableToolbar.d.ts +2 -2
- package/vue/UiEditorTableToolbar.vue +128 -7
- package/vue/UiEditorToolbar.vue +3 -3
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +1 -1
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiImage.vue +7 -6
- package/vue/UiInput.d.ts +5 -5
- package/vue/UiInput.vue +15 -3
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.d.ts +6 -9
- package/vue/UiListbox.vue +70 -19
- package/vue/UiMenu.vue +20 -10
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.d.ts +13 -16
- package/vue/UiMenuItem.vue +30 -7
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.vue +1 -1
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +12 -4
- package/vue/UiRadio.d.ts +8 -11
- package/vue/UiRadio.vue +34 -11
- package/vue/UiRadioGroup.vue +16 -7
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +3 -3
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +14 -6
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +3 -2
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.d.ts +7 -10
- package/vue/UiSidebar.vue +44 -12
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.d.ts +8 -11
- package/vue/UiSwitch.vue +34 -11
- package/vue/UiSwitcher.vue +8 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +30 -8
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +2 -2
- package/vue/UiToast.vue +7 -6
- package/vue/UiToastRegion.d.ts +15 -3
- package/vue/UiToastRegion.vue +90 -45
- package/vue/UiTooltip.d.ts +9 -12
- package/vue/UiTooltip.vue +30 -7
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +17 -13
- package/vue/UiTreeItem.d.ts +15 -18
- package/vue/UiTreeItem.vue +79 -30
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +6 -2
- package/vue/chunks/UiAvatar.js +37 -10
- package/vue/chunks/UiAvatarGroup.js +26 -7
- package/vue/chunks/UiBadge.js +2 -2
- package/vue/chunks/UiBreadcrumbItem.js +2 -2
- package/vue/chunks/UiBreadcrumbs.js +2 -2
- package/vue/chunks/UiButton.js +2 -2
- package/vue/chunks/UiCallout.js +2 -2
- package/vue/chunks/UiCard.js +2 -2
- package/vue/chunks/UiCheckbox.js +25 -12
- package/vue/chunks/UiCluster.js +2 -2
- package/vue/chunks/UiCombobox.js +628 -117
- package/vue/chunks/UiContainer.js +2 -2
- package/vue/chunks/UiContextMenu.js +14 -10
- package/vue/chunks/UiCover.js +2 -2
- package/vue/chunks/UiDescriptionItem.js +2 -2
- package/vue/chunks/UiDescriptionList.js +2 -2
- package/vue/chunks/UiDialog.js +29 -11
- package/vue/chunks/UiDisclosure.js +44 -14
- package/vue/chunks/UiEditable.js +33 -9
- package/vue/chunks/UiEditorInsertTableGrid.js +98 -14
- package/vue/chunks/UiEditorMentionMenu.js +76 -9
- package/vue/chunks/UiEditorMentionMenuItem.js +2 -2
- package/vue/chunks/UiEditorSlashMenu.js +70 -11
- package/vue/chunks/UiEditorSlashMenuGroup.js +2 -2
- package/vue/chunks/UiEditorSlashMenuItem.js +2 -2
- package/vue/chunks/UiEditorTableContextMenu.js +120 -2
- package/vue/chunks/UiEditorTableOverlay.js +306 -12
- package/vue/chunks/UiEditorTableToolbar.js +215 -3
- package/vue/chunks/UiEditorToolbar.js +8 -8
- package/vue/chunks/UiFloatingActionButton.js +2 -2
- package/vue/chunks/UiFormField.js +2 -2
- package/vue/chunks/UiGrid.js +2 -2
- package/vue/chunks/UiIcon.js +2 -2
- package/vue/chunks/UiIconButton.js +2 -2
- package/vue/chunks/UiImage.js +12 -12
- package/vue/chunks/UiInput.js +34 -4
- package/vue/chunks/UiInputGroup.js +2 -2
- package/vue/chunks/UiList.js +2 -2
- package/vue/chunks/UiListItem.js +2 -2
- package/vue/chunks/UiListbox.js +96 -12
- package/vue/chunks/UiMenu.js +6 -2
- package/vue/chunks/UiMenuGroup.js +2 -2
- package/vue/chunks/UiMenuItem.js +15 -3
- package/vue/chunks/UiMeter.js +2 -2
- package/vue/chunks/UiNavItem.js +2 -2
- package/vue/chunks/UiPageHeader.js +2 -2
- package/vue/chunks/UiPopover.js +6 -2
- package/vue/chunks/UiRadio.js +25 -12
- package/vue/chunks/UiRadioGroup.js +6 -2
- package/vue/chunks/UiReel.js +2 -2
- package/vue/chunks/UiScrollArea.js +8 -8
- package/vue/chunks/UiSearchResultRow.js +2 -2
- package/vue/chunks/UiSearchShell.js +9 -4
- package/vue/chunks/UiSection.js +2 -2
- package/vue/chunks/UiSelect.js +5 -3
- package/vue/chunks/UiSeparator.js +2 -2
- package/vue/chunks/UiSidebar.js +28 -5
- package/vue/chunks/UiSpinner.js +2 -2
- package/vue/chunks/UiStack.js +2 -2
- package/vue/chunks/UiStatusMessage.js +2 -2
- package/vue/chunks/UiSwitch.js +25 -12
- package/vue/chunks/UiSwitcher.js +6 -2
- package/vue/chunks/UiTable.js +2 -2
- package/vue/chunks/UiTabs.js +39 -10
- package/vue/chunks/UiText.js +2 -2
- package/vue/chunks/UiTextarea.js +3 -2
- package/vue/chunks/UiToast.js +8 -8
- package/vue/chunks/UiToastRegion.js +86 -20
- package/vue/chunks/UiTooltip.js +15 -3
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +2 -2
- package/vue/chunks/UiTreeItem.js +84 -51
- package/vue/chunks/control.js +9 -2
- package/vue/chunks/host.js +203 -29
- package/vue/chunks/props.js +43 -7
- package/vue/components.css +1345 -1345
- package/vue/host.ts +286 -42
package/vue/chunks/UiCombobox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
|
|
4
4
|
import { t as UiBadge_default } from "./UiBadge.js";
|
|
5
5
|
import { r as vBindControl } from "./control.js";
|
|
6
6
|
import { t as UiTooltip_default } from "./UiTooltip.js";
|
|
@@ -36,17 +36,13 @@ var _hoisted_1 = [
|
|
|
36
36
|
];
|
|
37
37
|
var _hoisted_2 = ["for"];
|
|
38
38
|
var _hoisted_3 = { class: "control" };
|
|
39
|
-
var _hoisted_4 = {
|
|
40
|
-
|
|
41
|
-
ref: "field"
|
|
42
|
-
};
|
|
43
|
-
var _hoisted_5 = { class: "entry" };
|
|
44
|
-
var _hoisted_6 = [
|
|
39
|
+
var _hoisted_4 = { class: "entry" };
|
|
40
|
+
var _hoisted_5 = [
|
|
45
41
|
"data-index",
|
|
46
42
|
"disabled",
|
|
47
43
|
"aria-label"
|
|
48
44
|
];
|
|
49
|
-
var
|
|
45
|
+
var _hoisted_6 = [
|
|
50
46
|
"id",
|
|
51
47
|
"aria-controls",
|
|
52
48
|
"aria-expanded",
|
|
@@ -57,31 +53,31 @@ var _hoisted_7 = [
|
|
|
57
53
|
"readonly",
|
|
58
54
|
"required"
|
|
59
55
|
];
|
|
60
|
-
var
|
|
56
|
+
var _hoisted_7 = [
|
|
61
57
|
"name",
|
|
62
58
|
"^value",
|
|
63
59
|
"disabled"
|
|
64
60
|
];
|
|
65
|
-
var
|
|
61
|
+
var _hoisted_8 = [
|
|
66
62
|
"name",
|
|
67
63
|
"^value",
|
|
68
64
|
"disabled"
|
|
69
65
|
];
|
|
70
|
-
var
|
|
71
|
-
var
|
|
72
|
-
var
|
|
73
|
-
var
|
|
74
|
-
var
|
|
66
|
+
var _hoisted_9 = ["disabled"];
|
|
67
|
+
var _hoisted_10 = ["aria-controls", "disabled"];
|
|
68
|
+
var _hoisted_11 = ["id", "disabled"];
|
|
69
|
+
var _hoisted_12 = ["hidden"];
|
|
70
|
+
var _hoisted_13 = [
|
|
75
71
|
"id",
|
|
76
72
|
"aria-label",
|
|
77
73
|
"aria-busy"
|
|
78
74
|
];
|
|
79
|
-
var
|
|
80
|
-
var
|
|
75
|
+
var _hoisted_14 = ["role", "aria-label"];
|
|
76
|
+
var _hoisted_15 = {
|
|
81
77
|
key: 0,
|
|
82
78
|
class: "group"
|
|
83
79
|
};
|
|
84
|
-
var
|
|
80
|
+
var _hoisted_16 = [
|
|
85
81
|
"data-multiple",
|
|
86
82
|
"id",
|
|
87
83
|
"aria-selected",
|
|
@@ -90,44 +86,46 @@ var _hoisted_17 = [
|
|
|
90
86
|
"aria-labelledby",
|
|
91
87
|
"aria-describedby"
|
|
92
88
|
];
|
|
93
|
-
var
|
|
89
|
+
var _hoisted_17 = {
|
|
94
90
|
key: 0,
|
|
95
91
|
class: "detail"
|
|
96
92
|
};
|
|
97
|
-
var
|
|
93
|
+
var _hoisted_18 = { class: "line" };
|
|
94
|
+
var _hoisted_19 = ["id"];
|
|
98
95
|
var _hoisted_20 = ["id"];
|
|
99
96
|
var _hoisted_21 = ["id"];
|
|
100
|
-
var _hoisted_22 =
|
|
101
|
-
var _hoisted_23 = {
|
|
97
|
+
var _hoisted_22 = {
|
|
102
98
|
key: 1,
|
|
103
99
|
class: "primary"
|
|
104
100
|
};
|
|
105
|
-
var
|
|
101
|
+
var _hoisted_23 = [
|
|
106
102
|
"data-multiple",
|
|
107
103
|
"id",
|
|
108
104
|
"data-index"
|
|
109
105
|
];
|
|
110
|
-
var
|
|
106
|
+
var _hoisted_24 = {
|
|
111
107
|
key: 1,
|
|
112
108
|
class: "message"
|
|
113
109
|
};
|
|
114
|
-
var
|
|
110
|
+
var _hoisted_25 = {
|
|
115
111
|
key: 2,
|
|
116
112
|
class: "message"
|
|
117
113
|
};
|
|
118
|
-
var
|
|
119
|
-
var
|
|
114
|
+
var _hoisted_26 = ["id", "hidden"];
|
|
115
|
+
var _hoisted_27 = {
|
|
120
116
|
class: "sr-only",
|
|
121
117
|
role: "status",
|
|
122
118
|
"aria-live": "polite",
|
|
123
119
|
"aria-atomic": "true"
|
|
124
120
|
};
|
|
125
|
-
var
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
121
|
+
var htmlNextAuthoredCheck2Reported = /* @__PURE__ */ new Set();
|
|
122
|
+
function htmlNextAuthoredCheck2(accepted, location, message) {
|
|
123
|
+
if (!accepted && !htmlNextAuthoredCheck2Reported.has(location)) {
|
|
124
|
+
htmlNextAuthoredCheck2Reported.add(location);
|
|
125
|
+
console.warn(message);
|
|
126
|
+
}
|
|
127
|
+
return accepted;
|
|
128
|
+
}
|
|
131
129
|
//#endregion
|
|
132
130
|
//#region .build/vue/UiCombobox.vue
|
|
133
131
|
var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -251,7 +249,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
251
249
|
"create-item",
|
|
252
250
|
"selected-values-change"
|
|
253
251
|
],
|
|
254
|
-
setup(__props, {
|
|
252
|
+
setup(__props, { emit: __emit }) {
|
|
255
253
|
const propValidityContract = { props: {
|
|
256
254
|
allowCreate: {
|
|
257
255
|
type: {
|
|
@@ -888,11 +886,11 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
888
886
|
const hydrationInstance = getCurrentInstance();
|
|
889
887
|
const emit = __emit;
|
|
890
888
|
const root = ref(null);
|
|
891
|
-
const fieldElement = useTemplateRef("
|
|
892
|
-
const inputElement = useTemplateRef("
|
|
893
|
-
const popupElement = useTemplateRef("
|
|
894
|
-
const listboxElement = useTemplateRef("
|
|
895
|
-
const optionsElement = useTemplateRef("
|
|
889
|
+
const fieldElement = useTemplateRef("fieldElement");
|
|
890
|
+
const inputElement = useTemplateRef("inputElement");
|
|
891
|
+
const popupElement = useTemplateRef("popupElement");
|
|
892
|
+
const listboxElement = useTemplateRef("listboxElement");
|
|
893
|
+
const optionsElement = useTemplateRef("optionsElement");
|
|
896
894
|
const internalItems = ref([]);
|
|
897
895
|
const raw = ref("");
|
|
898
896
|
const display = ref("");
|
|
@@ -918,96 +916,96 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
918
916
|
const validationStatus = ref("pristine");
|
|
919
917
|
let guardedPrevious = null;
|
|
920
918
|
const guarded = computed(() => {
|
|
921
|
-
if (!(uid.value == null || typeof uid.value === "string")) return guardedPrevious;
|
|
919
|
+
if (!htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-input'):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type.")) return guardedPrevious;
|
|
922
920
|
const candidate = concat(uid.value, "-input");
|
|
923
921
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedPrevious;
|
|
924
922
|
return guardedPrevious = candidate;
|
|
925
923
|
});
|
|
926
924
|
let guardedBindingPrevious = null;
|
|
927
925
|
const guardedBinding = computed(() => {
|
|
928
|
-
if (!(uid.value == null || typeof uid.value === "string")) return guardedBindingPrevious;
|
|
926
|
+
if (!htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-input'):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type.")) return guardedBindingPrevious;
|
|
929
927
|
const candidate = concat(uid.value, "-input");
|
|
930
928
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
|
|
931
929
|
return guardedBindingPrevious = candidate;
|
|
932
930
|
});
|
|
933
931
|
let guardedBinding2Previous = null;
|
|
934
932
|
const guardedBinding2 = computed(() => {
|
|
935
|
-
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding2Previous;
|
|
933
|
+
if (!htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-listbox'):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type.")) return guardedBinding2Previous;
|
|
936
934
|
const candidate = concat(uid.value, "-listbox");
|
|
937
935
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding2Previous;
|
|
938
936
|
return guardedBinding2Previous = candidate;
|
|
939
937
|
});
|
|
940
938
|
let guardedBinding3Previous;
|
|
941
939
|
const guardedBinding3 = computed(() => {
|
|
942
|
-
if (!(expanded.value == null || typeof expanded.value === "boolean")) return guardedBinding3Previous;
|
|
940
|
+
if (!htmlNextAuthoredCheck2(expanded.value == null || typeof expanded.value === "boolean", "expanded:expanded", "./components/ui-combobox/ui-combobox.html: HR007: Reference expanded does not satisfy its declared type.")) return guardedBinding3Previous;
|
|
943
941
|
return guardedBinding3Previous = expanded.value;
|
|
944
942
|
});
|
|
945
943
|
let guardedBinding4Previous;
|
|
946
944
|
const guardedBinding4 = computed(() => {
|
|
947
|
-
if (!(validationStatus.value == null || typeof validationStatus.value === "string")) return guardedBinding4Previous;
|
|
945
|
+
if (!htmlNextAuthoredCheck2(validationStatus.value == null || typeof validationStatus.value === "string", "invalid or validationStatus = 'error':validationStatus", "./components/ui-combobox/ui-combobox.html: HR007: Reference validationStatus does not satisfy its declared type.")) return guardedBinding4Previous;
|
|
948
946
|
return guardedBinding4Previous = checkedProps.value.invalid || validationStatus.value === "error";
|
|
949
947
|
});
|
|
950
948
|
let guardedBinding5Previous;
|
|
951
949
|
const guardedBinding5 = computed(() => {
|
|
952
|
-
if (!(validationStatus.value == null || typeof validationStatus.value === "string")) return guardedBinding5Previous;
|
|
950
|
+
if (!htmlNextAuthoredCheck2(validationStatus.value == null || typeof validationStatus.value === "string", "loading or validationStatus = 'pending':validationStatus", "./components/ui-combobox/ui-combobox.html: HR007: Reference validationStatus does not satisfy its declared type.")) return guardedBinding5Previous;
|
|
953
951
|
return guardedBinding5Previous = checkedProps.value.loading || validationStatus.value === "pending";
|
|
954
952
|
});
|
|
955
953
|
let guardedBinding6Previous;
|
|
956
954
|
computed(() => {
|
|
957
|
-
if (!(display.value == null || typeof display.value === "string")) return guardedBinding6Previous;
|
|
955
|
+
if (!htmlNextAuthoredCheck2(display.value == null || typeof display.value === "string", "display:display", "./components/ui-combobox/ui-combobox.html: HR007: Reference display does not satisfy its declared type.")) return guardedBinding6Previous;
|
|
958
956
|
return guardedBinding6Previous = display.value;
|
|
959
957
|
});
|
|
960
958
|
let guardedBinding7Previous;
|
|
961
959
|
const guardedBinding7 = computed(() => {
|
|
962
|
-
if (!(internalItems.value?.["0"] == null || typeof internalItems.value?.["0"] === "object" && internalItems.value?.["0"] !== null && !Array.isArray(internalItems.value?.["0"]))) return guardedBinding7Previous;
|
|
960
|
+
if (!htmlNextAuthoredCheck2(internalItems.value?.["0"] == null || typeof internalItems.value?.["0"] === "object" && internalItems.value?.["0"] !== null && !Array.isArray(internalItems.value?.["0"]), "required and not (multiple and internalItems.0):internalItems.0", "./components/ui-combobox/ui-combobox.html: HR007: Reference internalItems.0 does not satisfy its declared type.")) return guardedBinding7Previous;
|
|
963
961
|
return guardedBinding7Previous = checkedProps.value.required && !(checkedProps.value.multiple && internalItems.value[0]);
|
|
964
962
|
});
|
|
965
963
|
let guardedBinding8Previous;
|
|
966
964
|
const guardedBinding8 = computed(() => {
|
|
967
|
-
if (!(submitted.value == null || typeof submitted.value === "string")) return guardedBinding8Previous;
|
|
965
|
+
if (!htmlNextAuthoredCheck2(submitted.value == null || typeof submitted.value === "string", "submitted:submitted", "./components/ui-combobox/ui-combobox.html: HR007: Reference submitted does not satisfy its declared type.")) return guardedBinding8Previous;
|
|
968
966
|
return guardedBinding8Previous = submitted.value;
|
|
969
967
|
});
|
|
970
968
|
let guardedBinding9Previous;
|
|
971
969
|
const guardedBinding9 = computed(() => {
|
|
972
|
-
if (!((raw.value == null || typeof raw.value === "string") && (selected.value == null || typeof selected.value === "string"))) return guardedBinding9Previous;
|
|
970
|
+
if (!(htmlNextAuthoredCheck2(raw.value == null || typeof raw.value === "string", "disabled or readonly or (not raw and (multiple or selected = null)):raw", "./components/ui-combobox/ui-combobox.html: HR007: Reference raw does not satisfy its declared type.") && htmlNextAuthoredCheck2(selected.value == null || typeof selected.value === "string" || selected.value === null, "disabled or readonly or (not raw and (multiple or selected = null)):selected", "./components/ui-combobox/ui-combobox.html: HR007: Reference selected does not satisfy its declared type."))) return guardedBinding9Previous;
|
|
973
971
|
return guardedBinding9Previous = checkedProps.value.disabled || checkedProps.value.readonly || !raw.value && (checkedProps.value.multiple || selected.value === null);
|
|
974
972
|
});
|
|
975
973
|
let guardedBinding10Previous = null;
|
|
976
974
|
const guardedBinding10 = computed(() => {
|
|
977
|
-
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding10Previous;
|
|
975
|
+
if (!htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-listbox'):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type.")) return guardedBinding10Previous;
|
|
978
976
|
const candidate = concat(uid.value, "-listbox");
|
|
979
977
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding10Previous;
|
|
980
978
|
return guardedBinding10Previous = candidate;
|
|
981
979
|
});
|
|
982
980
|
let guardedBinding11Previous = null;
|
|
983
981
|
const guardedBinding11 = computed(() => {
|
|
984
|
-
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding11Previous;
|
|
982
|
+
if (!htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-help'):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type.")) return guardedBinding11Previous;
|
|
985
983
|
const candidate = concat(uid.value, "-help");
|
|
986
984
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding11Previous;
|
|
987
985
|
return guardedBinding11Previous = candidate;
|
|
988
986
|
});
|
|
989
987
|
let guardedBinding12Previous = null;
|
|
990
988
|
const guardedBinding12 = computed(() => {
|
|
991
|
-
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding12Previous;
|
|
989
|
+
if (!htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-help-text'):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type.")) return guardedBinding12Previous;
|
|
992
990
|
const candidate = concat(uid.value, "-help-text");
|
|
993
991
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding12Previous;
|
|
994
992
|
return guardedBinding12Previous = candidate;
|
|
995
993
|
});
|
|
996
994
|
let guardedBinding13Previous = null;
|
|
997
995
|
const guardedBinding13 = computed(() => {
|
|
998
|
-
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding13Previous;
|
|
996
|
+
if (!htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-help'):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type.")) return guardedBinding13Previous;
|
|
999
997
|
const candidate = concat(uid.value, "-help");
|
|
1000
998
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding13Previous;
|
|
1001
999
|
return guardedBinding13Previous = candidate;
|
|
1002
1000
|
});
|
|
1003
1001
|
let guardedBinding14Previous;
|
|
1004
1002
|
const guardedBinding14 = computed(() => {
|
|
1005
|
-
if (!(expanded.value == null || typeof expanded.value === "boolean")) return guardedBinding14Previous;
|
|
1003
|
+
if (!htmlNextAuthoredCheck2(expanded.value == null || typeof expanded.value === "boolean", "not expanded:expanded", "./components/ui-combobox/ui-combobox.html: HR007: Reference expanded does not satisfy its declared type.")) return guardedBinding14Previous;
|
|
1006
1004
|
return guardedBinding14Previous = !expanded.value;
|
|
1007
1005
|
});
|
|
1008
1006
|
let guardedBinding15Previous = null;
|
|
1009
1007
|
const guardedBinding15 = computed(() => {
|
|
1010
|
-
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding15Previous;
|
|
1008
|
+
if (!htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-listbox'):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type.")) return guardedBinding15Previous;
|
|
1011
1009
|
const candidate = concat(uid.value, "-listbox");
|
|
1012
1010
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding15Previous;
|
|
1013
1011
|
return guardedBinding15Previous = candidate;
|
|
@@ -1020,43 +1018,43 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1020
1018
|
});
|
|
1021
1019
|
let guardedBinding17Previous;
|
|
1022
1020
|
const guardedBinding17 = computed(() => {
|
|
1023
|
-
if (!((active.value == null || Number.isInteger(active.value)) && (createIndex.value == null || Number.isInteger(createIndex.value)))) return guardedBinding17Previous;
|
|
1021
|
+
if (!(htmlNextAuthoredCheck2(active.value == null || Number.isInteger(active.value), "createIndex = active:active", "./components/ui-combobox/ui-combobox.html: HR007: Reference active does not satisfy its declared type.") && htmlNextAuthoredCheck2(createIndex.value == null || Number.isInteger(createIndex.value), "createIndex = active:createIndex", "./components/ui-combobox/ui-combobox.html: HR007: Reference createIndex does not satisfy its declared type."))) return guardedBinding17Previous;
|
|
1024
1022
|
return guardedBinding17Previous = createIndex.value === active.value;
|
|
1025
1023
|
});
|
|
1026
1024
|
let guardedBinding18Previous = null;
|
|
1027
1025
|
const guardedBinding18 = computed(() => {
|
|
1028
|
-
if (!((createIndex.value == null || Number.isInteger(createIndex.value)) && (uid.value == null || typeof uid.value === "string"))) return guardedBinding18Previous;
|
|
1026
|
+
if (!(htmlNextAuthoredCheck2(createIndex.value == null || Number.isInteger(createIndex.value), "concat(uid, '-option-', createIndex):createIndex", "./components/ui-combobox/ui-combobox.html: HR007: Reference createIndex does not satisfy its declared type.") && htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-option-', createIndex):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type."))) return guardedBinding18Previous;
|
|
1029
1027
|
const candidate = concat(uid.value, "-option-", createIndex.value);
|
|
1030
1028
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding18Previous;
|
|
1031
1029
|
return guardedBinding18Previous = candidate;
|
|
1032
1030
|
});
|
|
1033
1031
|
let guardedBinding19Previous;
|
|
1034
1032
|
const guardedBinding19 = computed(() => {
|
|
1035
|
-
if (!(createIndex.value == null || Number.isInteger(createIndex.value))) return guardedBinding19Previous;
|
|
1033
|
+
if (!htmlNextAuthoredCheck2(createIndex.value == null || Number.isInteger(createIndex.value), "createIndex:createIndex", "./components/ui-combobox/ui-combobox.html: HR007: Reference createIndex does not satisfy its declared type.")) return guardedBinding19Previous;
|
|
1036
1034
|
return guardedBinding19Previous = createIndex.value;
|
|
1037
1035
|
});
|
|
1038
1036
|
let guardedBinding20Previous = null;
|
|
1039
1037
|
const guardedBinding20 = computed(() => {
|
|
1040
|
-
if (!(raw.value == null || typeof raw.value === "string")) return guardedBinding20Previous;
|
|
1038
|
+
if (!htmlNextAuthoredCheck2(raw.value == null || typeof raw.value === "string", "concat('Create “', raw, '”'):raw", "./components/ui-combobox/ui-combobox.html: HR007: Reference raw does not satisfy its declared type.")) return guardedBinding20Previous;
|
|
1041
1039
|
const candidate = concat("Create “", raw.value, "”");
|
|
1042
1040
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding20Previous;
|
|
1043
1041
|
return guardedBinding20Previous = candidate;
|
|
1044
1042
|
});
|
|
1045
1043
|
let guardedBinding21Previous;
|
|
1046
1044
|
const guardedBinding21 = computed(() => {
|
|
1047
|
-
if (!(message.value == null || typeof message.value === "string")) return guardedBinding21Previous;
|
|
1045
|
+
if (!htmlNextAuthoredCheck2(message.value == null || typeof message.value === "string", "$message:message", "./components/ui-combobox/ui-combobox.html: HR007: Reference message does not satisfy its declared type.")) return guardedBinding21Previous;
|
|
1048
1046
|
return guardedBinding21Previous = message.value;
|
|
1049
1047
|
});
|
|
1050
1048
|
let guardedBinding22Previous = null;
|
|
1051
1049
|
const guardedBinding22 = computed(() => {
|
|
1052
|
-
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding22Previous;
|
|
1050
|
+
if (!htmlNextAuthoredCheck2(uid.value == null || typeof uid.value === "string", "concat(uid, '-validation'):uid", "./components/ui-combobox/ui-combobox.html: HR007: Reference uid does not satisfy its declared type.")) return guardedBinding22Previous;
|
|
1053
1051
|
const candidate = concat(uid.value, "-validation");
|
|
1054
1052
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding22Previous;
|
|
1055
1053
|
return guardedBinding22Previous = candidate;
|
|
1056
1054
|
});
|
|
1057
1055
|
let guardedBinding23Previous;
|
|
1058
1056
|
const guardedBinding23 = computed(() => {
|
|
1059
|
-
if (!(statusText.value == null || typeof statusText.value === "string")) return guardedBinding23Previous;
|
|
1057
|
+
if (!htmlNextAuthoredCheck2(statusText.value == null || typeof statusText.value === "string", "$statusText:statusText", "./components/ui-combobox/ui-combobox.html: HR007: Reference statusText does not satisfy its declared type.")) return guardedBinding23Previous;
|
|
1060
1058
|
return guardedBinding23Previous = statusText.value;
|
|
1061
1059
|
});
|
|
1062
1060
|
provide("html-next:ui-combobox:internalItems", internalItems);
|
|
@@ -1181,9 +1179,537 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1181
1179
|
"value"
|
|
1182
1180
|
]
|
|
1183
1181
|
});
|
|
1184
|
-
|
|
1182
|
+
useComponentHost(() => import("@threadlabs/looma/components/ui-combobox/ui-combobox.js"), {
|
|
1185
1183
|
root,
|
|
1186
1184
|
dispatch,
|
|
1185
|
+
acceptsState: (name, keys, value) => acceptsControllerWrite(value, {
|
|
1186
|
+
internalItems: {
|
|
1187
|
+
kind: "list",
|
|
1188
|
+
item: {
|
|
1189
|
+
kind: "object",
|
|
1190
|
+
fields: [
|
|
1191
|
+
{
|
|
1192
|
+
name: "id",
|
|
1193
|
+
type: {
|
|
1194
|
+
kind: "terminal",
|
|
1195
|
+
name: "string"
|
|
1196
|
+
},
|
|
1197
|
+
optional: false
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
name: "value",
|
|
1201
|
+
type: {
|
|
1202
|
+
kind: "terminal",
|
|
1203
|
+
name: "string"
|
|
1204
|
+
},
|
|
1205
|
+
optional: false
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
name: "label",
|
|
1209
|
+
type: {
|
|
1210
|
+
kind: "terminal",
|
|
1211
|
+
name: "string"
|
|
1212
|
+
},
|
|
1213
|
+
optional: false
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
name: "group",
|
|
1217
|
+
type: {
|
|
1218
|
+
kind: "terminal",
|
|
1219
|
+
name: "string"
|
|
1220
|
+
},
|
|
1221
|
+
optional: true
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
name: "disabled",
|
|
1225
|
+
type: {
|
|
1226
|
+
kind: "terminal",
|
|
1227
|
+
name: "boolean"
|
|
1228
|
+
},
|
|
1229
|
+
optional: true
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
name: "description",
|
|
1233
|
+
type: {
|
|
1234
|
+
kind: "terminal",
|
|
1235
|
+
name: "string"
|
|
1236
|
+
},
|
|
1237
|
+
optional: true
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
name: "tag",
|
|
1241
|
+
type: {
|
|
1242
|
+
kind: "object",
|
|
1243
|
+
fields: [
|
|
1244
|
+
{
|
|
1245
|
+
name: "label",
|
|
1246
|
+
type: {
|
|
1247
|
+
kind: "terminal",
|
|
1248
|
+
name: "string"
|
|
1249
|
+
},
|
|
1250
|
+
optional: false
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
name: "tone",
|
|
1254
|
+
type: {
|
|
1255
|
+
kind: "constrained",
|
|
1256
|
+
base: {
|
|
1257
|
+
kind: "terminal",
|
|
1258
|
+
name: "keyword"
|
|
1259
|
+
},
|
|
1260
|
+
values: [
|
|
1261
|
+
"neutral",
|
|
1262
|
+
"accent",
|
|
1263
|
+
"info",
|
|
1264
|
+
"success",
|
|
1265
|
+
"warning",
|
|
1266
|
+
"danger"
|
|
1267
|
+
]
|
|
1268
|
+
},
|
|
1269
|
+
optional: true
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
name: "color",
|
|
1273
|
+
type: {
|
|
1274
|
+
kind: "terminal",
|
|
1275
|
+
name: "string"
|
|
1276
|
+
},
|
|
1277
|
+
optional: true
|
|
1278
|
+
}
|
|
1279
|
+
],
|
|
1280
|
+
open: false
|
|
1281
|
+
},
|
|
1282
|
+
optional: true
|
|
1283
|
+
}
|
|
1284
|
+
],
|
|
1285
|
+
open: false
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
raw: {
|
|
1289
|
+
kind: "terminal",
|
|
1290
|
+
name: "string"
|
|
1291
|
+
},
|
|
1292
|
+
display: {
|
|
1293
|
+
kind: "terminal",
|
|
1294
|
+
name: "string"
|
|
1295
|
+
},
|
|
1296
|
+
selected: {
|
|
1297
|
+
kind: "union",
|
|
1298
|
+
members: [{
|
|
1299
|
+
kind: "terminal",
|
|
1300
|
+
name: "string"
|
|
1301
|
+
}, {
|
|
1302
|
+
kind: "terminal",
|
|
1303
|
+
name: "null"
|
|
1304
|
+
}]
|
|
1305
|
+
},
|
|
1306
|
+
expanded: {
|
|
1307
|
+
kind: "terminal",
|
|
1308
|
+
name: "boolean"
|
|
1309
|
+
},
|
|
1310
|
+
rows: {
|
|
1311
|
+
kind: "list",
|
|
1312
|
+
item: {
|
|
1313
|
+
kind: "object",
|
|
1314
|
+
fields: [
|
|
1315
|
+
{
|
|
1316
|
+
name: "id",
|
|
1317
|
+
type: {
|
|
1318
|
+
kind: "terminal",
|
|
1319
|
+
name: "string"
|
|
1320
|
+
},
|
|
1321
|
+
optional: false
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
name: "value",
|
|
1325
|
+
type: {
|
|
1326
|
+
kind: "terminal",
|
|
1327
|
+
name: "string"
|
|
1328
|
+
},
|
|
1329
|
+
optional: false
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
name: "label",
|
|
1333
|
+
type: {
|
|
1334
|
+
kind: "terminal",
|
|
1335
|
+
name: "string"
|
|
1336
|
+
},
|
|
1337
|
+
optional: false
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
name: "group",
|
|
1341
|
+
type: {
|
|
1342
|
+
kind: "terminal",
|
|
1343
|
+
name: "string"
|
|
1344
|
+
},
|
|
1345
|
+
optional: true
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
name: "disabled",
|
|
1349
|
+
type: {
|
|
1350
|
+
kind: "terminal",
|
|
1351
|
+
name: "boolean"
|
|
1352
|
+
},
|
|
1353
|
+
optional: false
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
name: "selected",
|
|
1357
|
+
type: {
|
|
1358
|
+
kind: "terminal",
|
|
1359
|
+
name: "boolean"
|
|
1360
|
+
},
|
|
1361
|
+
optional: false
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
name: "description",
|
|
1365
|
+
type: {
|
|
1366
|
+
kind: "terminal",
|
|
1367
|
+
name: "string"
|
|
1368
|
+
},
|
|
1369
|
+
optional: true
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
name: "tag",
|
|
1373
|
+
type: {
|
|
1374
|
+
kind: "object",
|
|
1375
|
+
fields: [
|
|
1376
|
+
{
|
|
1377
|
+
name: "label",
|
|
1378
|
+
type: {
|
|
1379
|
+
kind: "terminal",
|
|
1380
|
+
name: "string"
|
|
1381
|
+
},
|
|
1382
|
+
optional: false
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
name: "tone",
|
|
1386
|
+
type: {
|
|
1387
|
+
kind: "constrained",
|
|
1388
|
+
base: {
|
|
1389
|
+
kind: "terminal",
|
|
1390
|
+
name: "keyword"
|
|
1391
|
+
},
|
|
1392
|
+
values: [
|
|
1393
|
+
"neutral",
|
|
1394
|
+
"accent",
|
|
1395
|
+
"info",
|
|
1396
|
+
"success",
|
|
1397
|
+
"warning",
|
|
1398
|
+
"danger"
|
|
1399
|
+
]
|
|
1400
|
+
},
|
|
1401
|
+
optional: true
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
name: "color",
|
|
1405
|
+
type: {
|
|
1406
|
+
kind: "terminal",
|
|
1407
|
+
name: "string"
|
|
1408
|
+
},
|
|
1409
|
+
optional: true
|
|
1410
|
+
}
|
|
1411
|
+
],
|
|
1412
|
+
open: false
|
|
1413
|
+
},
|
|
1414
|
+
optional: true
|
|
1415
|
+
}
|
|
1416
|
+
],
|
|
1417
|
+
open: false
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
active: {
|
|
1421
|
+
kind: "terminal",
|
|
1422
|
+
name: "integer"
|
|
1423
|
+
},
|
|
1424
|
+
helpOpen: {
|
|
1425
|
+
kind: "terminal",
|
|
1426
|
+
name: "boolean"
|
|
1427
|
+
},
|
|
1428
|
+
lookupError: {
|
|
1429
|
+
kind: "terminal",
|
|
1430
|
+
name: "string"
|
|
1431
|
+
},
|
|
1432
|
+
validation: {
|
|
1433
|
+
kind: "object",
|
|
1434
|
+
fields: [
|
|
1435
|
+
{
|
|
1436
|
+
name: "status",
|
|
1437
|
+
type: {
|
|
1438
|
+
kind: "constrained",
|
|
1439
|
+
base: {
|
|
1440
|
+
kind: "terminal",
|
|
1441
|
+
name: "keyword"
|
|
1442
|
+
},
|
|
1443
|
+
values: [
|
|
1444
|
+
"pristine",
|
|
1445
|
+
"pending",
|
|
1446
|
+
"valid",
|
|
1447
|
+
"warning",
|
|
1448
|
+
"error"
|
|
1449
|
+
]
|
|
1450
|
+
},
|
|
1451
|
+
optional: false
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
name: "touched",
|
|
1455
|
+
type: {
|
|
1456
|
+
kind: "terminal",
|
|
1457
|
+
name: "boolean"
|
|
1458
|
+
},
|
|
1459
|
+
optional: false
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
name: "dirty",
|
|
1463
|
+
type: {
|
|
1464
|
+
kind: "terminal",
|
|
1465
|
+
name: "boolean"
|
|
1466
|
+
},
|
|
1467
|
+
optional: false
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
name: "issues",
|
|
1471
|
+
type: {
|
|
1472
|
+
kind: "list",
|
|
1473
|
+
item: {
|
|
1474
|
+
kind: "object",
|
|
1475
|
+
fields: [{
|
|
1476
|
+
name: "message",
|
|
1477
|
+
type: {
|
|
1478
|
+
kind: "terminal",
|
|
1479
|
+
name: "string"
|
|
1480
|
+
},
|
|
1481
|
+
optional: false
|
|
1482
|
+
}],
|
|
1483
|
+
open: false
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
optional: false
|
|
1487
|
+
}
|
|
1488
|
+
],
|
|
1489
|
+
open: true
|
|
1490
|
+
},
|
|
1491
|
+
uid: {
|
|
1492
|
+
kind: "terminal",
|
|
1493
|
+
name: "string"
|
|
1494
|
+
},
|
|
1495
|
+
submitted: {
|
|
1496
|
+
kind: "terminal",
|
|
1497
|
+
name: "string"
|
|
1498
|
+
},
|
|
1499
|
+
groups: {
|
|
1500
|
+
kind: "list",
|
|
1501
|
+
item: {
|
|
1502
|
+
kind: "object",
|
|
1503
|
+
fields: [
|
|
1504
|
+
{
|
|
1505
|
+
name: "name",
|
|
1506
|
+
type: {
|
|
1507
|
+
kind: "terminal",
|
|
1508
|
+
name: "string"
|
|
1509
|
+
},
|
|
1510
|
+
optional: false
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
name: "role",
|
|
1514
|
+
type: {
|
|
1515
|
+
kind: "constrained",
|
|
1516
|
+
base: {
|
|
1517
|
+
kind: "terminal",
|
|
1518
|
+
name: "keyword"
|
|
1519
|
+
},
|
|
1520
|
+
values: ["group", "presentation"]
|
|
1521
|
+
},
|
|
1522
|
+
optional: false
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
name: "label",
|
|
1526
|
+
type: {
|
|
1527
|
+
kind: "union",
|
|
1528
|
+
members: [{
|
|
1529
|
+
kind: "terminal",
|
|
1530
|
+
name: "string"
|
|
1531
|
+
}, {
|
|
1532
|
+
kind: "terminal",
|
|
1533
|
+
name: "null"
|
|
1534
|
+
}]
|
|
1535
|
+
},
|
|
1536
|
+
optional: false
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
name: "rows",
|
|
1540
|
+
type: {
|
|
1541
|
+
kind: "list",
|
|
1542
|
+
item: {
|
|
1543
|
+
kind: "object",
|
|
1544
|
+
fields: [
|
|
1545
|
+
{
|
|
1546
|
+
name: "id",
|
|
1547
|
+
type: {
|
|
1548
|
+
kind: "terminal",
|
|
1549
|
+
name: "string"
|
|
1550
|
+
},
|
|
1551
|
+
optional: false
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
name: "value",
|
|
1555
|
+
type: {
|
|
1556
|
+
kind: "terminal",
|
|
1557
|
+
name: "string"
|
|
1558
|
+
},
|
|
1559
|
+
optional: false
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
name: "label",
|
|
1563
|
+
type: {
|
|
1564
|
+
kind: "terminal",
|
|
1565
|
+
name: "string"
|
|
1566
|
+
},
|
|
1567
|
+
optional: false
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
name: "group",
|
|
1571
|
+
type: {
|
|
1572
|
+
kind: "terminal",
|
|
1573
|
+
name: "string"
|
|
1574
|
+
},
|
|
1575
|
+
optional: true
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
name: "disabled",
|
|
1579
|
+
type: {
|
|
1580
|
+
kind: "terminal",
|
|
1581
|
+
name: "boolean"
|
|
1582
|
+
},
|
|
1583
|
+
optional: false
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
name: "selected",
|
|
1587
|
+
type: {
|
|
1588
|
+
kind: "terminal",
|
|
1589
|
+
name: "boolean"
|
|
1590
|
+
},
|
|
1591
|
+
optional: false
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
name: "description",
|
|
1595
|
+
type: {
|
|
1596
|
+
kind: "terminal",
|
|
1597
|
+
name: "string"
|
|
1598
|
+
},
|
|
1599
|
+
optional: true
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
name: "tag",
|
|
1603
|
+
type: {
|
|
1604
|
+
kind: "object",
|
|
1605
|
+
fields: [
|
|
1606
|
+
{
|
|
1607
|
+
name: "label",
|
|
1608
|
+
type: {
|
|
1609
|
+
kind: "terminal",
|
|
1610
|
+
name: "string"
|
|
1611
|
+
},
|
|
1612
|
+
optional: false
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
name: "tone",
|
|
1616
|
+
type: {
|
|
1617
|
+
kind: "constrained",
|
|
1618
|
+
base: {
|
|
1619
|
+
kind: "terminal",
|
|
1620
|
+
name: "keyword"
|
|
1621
|
+
},
|
|
1622
|
+
values: [
|
|
1623
|
+
"neutral",
|
|
1624
|
+
"accent",
|
|
1625
|
+
"info",
|
|
1626
|
+
"success",
|
|
1627
|
+
"warning",
|
|
1628
|
+
"danger"
|
|
1629
|
+
]
|
|
1630
|
+
},
|
|
1631
|
+
optional: true
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
name: "color",
|
|
1635
|
+
type: {
|
|
1636
|
+
kind: "terminal",
|
|
1637
|
+
name: "string"
|
|
1638
|
+
},
|
|
1639
|
+
optional: true
|
|
1640
|
+
}
|
|
1641
|
+
],
|
|
1642
|
+
open: false
|
|
1643
|
+
},
|
|
1644
|
+
optional: true
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
name: "index",
|
|
1648
|
+
type: {
|
|
1649
|
+
kind: "terminal",
|
|
1650
|
+
name: "integer"
|
|
1651
|
+
},
|
|
1652
|
+
optional: false
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
name: "labelledBy",
|
|
1656
|
+
type: {
|
|
1657
|
+
kind: "union",
|
|
1658
|
+
members: [{
|
|
1659
|
+
kind: "terminal",
|
|
1660
|
+
name: "string"
|
|
1661
|
+
}, {
|
|
1662
|
+
kind: "terminal",
|
|
1663
|
+
name: "null"
|
|
1664
|
+
}]
|
|
1665
|
+
},
|
|
1666
|
+
optional: false
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
name: "detail",
|
|
1670
|
+
type: {
|
|
1671
|
+
kind: "union",
|
|
1672
|
+
members: [{
|
|
1673
|
+
kind: "terminal",
|
|
1674
|
+
name: "string"
|
|
1675
|
+
}, {
|
|
1676
|
+
kind: "terminal",
|
|
1677
|
+
name: "null"
|
|
1678
|
+
}]
|
|
1679
|
+
},
|
|
1680
|
+
optional: false
|
|
1681
|
+
}
|
|
1682
|
+
],
|
|
1683
|
+
open: false
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1686
|
+
optional: false
|
|
1687
|
+
}
|
|
1688
|
+
],
|
|
1689
|
+
open: false
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
creatable: {
|
|
1693
|
+
kind: "terminal",
|
|
1694
|
+
name: "boolean"
|
|
1695
|
+
},
|
|
1696
|
+
createIndex: {
|
|
1697
|
+
kind: "terminal",
|
|
1698
|
+
name: "integer"
|
|
1699
|
+
},
|
|
1700
|
+
message: {
|
|
1701
|
+
kind: "terminal",
|
|
1702
|
+
name: "string"
|
|
1703
|
+
},
|
|
1704
|
+
statusText: {
|
|
1705
|
+
kind: "terminal",
|
|
1706
|
+
name: "string"
|
|
1707
|
+
},
|
|
1708
|
+
validationStatus: {
|
|
1709
|
+
kind: "terminal",
|
|
1710
|
+
name: "string"
|
|
1711
|
+
}
|
|
1712
|
+
}[name], keys),
|
|
1187
1713
|
controllerSource: {
|
|
1188
1714
|
specifier: "../components/ui-combobox/ui-combobox.js",
|
|
1189
1715
|
definition: "./components/ui-combobox/ui-combobox.html"
|
|
@@ -1253,34 +1779,6 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1253
1779
|
validationStatus
|
|
1254
1780
|
}
|
|
1255
1781
|
});
|
|
1256
|
-
__expose({
|
|
1257
|
-
validate: async (...args) => {
|
|
1258
|
-
const controllerModule = await ready();
|
|
1259
|
-
if (controllerModule === void 0) throw new TypeError("Controller method `validate` is not ready for <ui-combobox>.");
|
|
1260
|
-
const method = Reflect.get(controllerModule, "validate");
|
|
1261
|
-
if (typeof method !== "function") throw Object.assign(/* @__PURE__ */ new Error("HJ003: Controller does not export method `validate`."), {
|
|
1262
|
-
name: "HtmlDiagnosticError",
|
|
1263
|
-
diagnostic: Object.freeze({
|
|
1264
|
-
code: "HJ003",
|
|
1265
|
-
message: "Controller does not export method `validate`."
|
|
1266
|
-
})
|
|
1267
|
-
});
|
|
1268
|
-
return method(host, ...args);
|
|
1269
|
-
},
|
|
1270
|
-
focusInput: async (...args) => {
|
|
1271
|
-
const controllerModule = await ready();
|
|
1272
|
-
if (controllerModule === void 0) throw new TypeError("Controller method `focusInput` is not ready for <ui-combobox>.");
|
|
1273
|
-
const method = Reflect.get(controllerModule, "focusInput");
|
|
1274
|
-
if (typeof method !== "function") throw Object.assign(/* @__PURE__ */ new Error("HJ003: Controller does not export method `focusInput`."), {
|
|
1275
|
-
name: "HtmlDiagnosticError",
|
|
1276
|
-
diagnostic: Object.freeze({
|
|
1277
|
-
code: "HJ003",
|
|
1278
|
-
message: "Controller does not export method `focusInput`."
|
|
1279
|
-
})
|
|
1280
|
-
});
|
|
1281
|
-
return method(host, ...args);
|
|
1282
|
-
}
|
|
1283
|
-
});
|
|
1284
1782
|
function text(value) {
|
|
1285
1783
|
if (Array.isArray(value)) return value.map(text).join(" ");
|
|
1286
1784
|
return value === null || value === void 0 || typeof value === "object" ? "" : String(value);
|
|
@@ -1349,8 +1847,12 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1349
1847
|
for: guarded.value,
|
|
1350
1848
|
class: normalizeClass({ "sr-only": checkedProps.value.labelVisibility === "sr-only" })
|
|
1351
1849
|
}, [createTextVNode(toDisplayString(checkedProps.value.label), 1), checkedProps.value.required ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(" *")], 64)) : createCommentVNode("v-if", true)], 10, _hoisted_2),
|
|
1352
|
-
createElementVNode("div", _hoisted_3, [createElementVNode("div",
|
|
1353
|
-
|
|
1850
|
+
createElementVNode("div", _hoisted_3, [createElementVNode("div", {
|
|
1851
|
+
class: "field",
|
|
1852
|
+
ref_key: "fieldElement",
|
|
1853
|
+
ref: fieldElement
|
|
1854
|
+
}, [
|
|
1855
|
+
createElementVNode("div", _hoisted_4, [
|
|
1354
1856
|
renderSlot(_ctx.$slots, "start", {}, void 0, true),
|
|
1355
1857
|
checkedProps.value.multiple ? (openBlock(), createBlock(unref(KeyedBoundary), { key: 0 }, {
|
|
1356
1858
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(uniqueKeys(internalItems.value, (item, index, loop) => item.id), (item, index) => {
|
|
@@ -1365,7 +1867,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1365
1867
|
}, [renderSlot(_ctx.$slots, concat("item-", item.id), {}, () => [createVNode(UiBadge_default, null, {
|
|
1366
1868
|
default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
|
|
1367
1869
|
_: 2
|
|
1368
|
-
}, 1024)], true)], 8,
|
|
1870
|
+
}, 1024)], true)], 8, _hoisted_5);
|
|
1369
1871
|
}), 128))]),
|
|
1370
1872
|
_: 3
|
|
1371
1873
|
})) : createCommentVNode("v-if", true),
|
|
@@ -1382,8 +1884,9 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1382
1884
|
disabled: checkedProps.value.disabled ?? void 0,
|
|
1383
1885
|
readonly: checkedProps.value.readonly ?? void 0,
|
|
1384
1886
|
required: guardedBinding7.value,
|
|
1385
|
-
|
|
1386
|
-
|
|
1887
|
+
ref_key: "inputElement",
|
|
1888
|
+
ref: inputElement
|
|
1889
|
+
}, null, 8, _hoisted_6), [[unref(vBindControl), {
|
|
1387
1890
|
tag: "input",
|
|
1388
1891
|
name: "value",
|
|
1389
1892
|
value: display.value,
|
|
@@ -1397,7 +1900,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1397
1900
|
name: checkedProps.value.name ?? void 0,
|
|
1398
1901
|
"^value": guardedBinding8.value,
|
|
1399
1902
|
disabled: checkedProps.value.disabled ?? void 0
|
|
1400
|
-
}, null, 8,
|
|
1903
|
+
}, null, 8, _hoisted_7)) : createCommentVNode("v-if", true),
|
|
1401
1904
|
checkedProps.value.name && checkedProps.value.multiple ? (openBlock(), createBlock(unref(KeyedBoundary), { key: 1 }, {
|
|
1402
1905
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(uniqueKeys(internalItems.value, (item, index, loop) => item.id), (item) => {
|
|
1403
1906
|
return openBlock(), createElementBlock("input", {
|
|
@@ -1406,7 +1909,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1406
1909
|
name: checkedProps.value.name ?? void 0,
|
|
1407
1910
|
"^value": item.value,
|
|
1408
1911
|
disabled: checkedProps.value.disabled ?? void 0
|
|
1409
|
-
}, null, 8,
|
|
1912
|
+
}, null, 8, _hoisted_8);
|
|
1410
1913
|
}), 128))]),
|
|
1411
1914
|
_: 1
|
|
1412
1915
|
})) : createCommentVNode("v-if", true),
|
|
@@ -1424,7 +1927,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1424
1927
|
stroke: "currentColor",
|
|
1425
1928
|
"stroke-width": "2",
|
|
1426
1929
|
"stroke-linecap": "round"
|
|
1427
|
-
}, [createElementVNode("path", { d: "M7 7l10 10M17 7 7 17" })], -1)])], 8,
|
|
1930
|
+
}, [createElementVNode("path", { d: "M7 7l10 10M17 7 7 17" })], -1)])], 8, _hoisted_9)) : createCommentVNode("v-if", true),
|
|
1428
1931
|
checkedProps.value.disclosure ? (openBlock(), createElementBlock("button", {
|
|
1429
1932
|
key: 3,
|
|
1430
1933
|
type: "button",
|
|
@@ -1442,7 +1945,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1442
1945
|
"stroke-width": "2.25",
|
|
1443
1946
|
"stroke-linecap": "round",
|
|
1444
1947
|
"stroke-linejoin": "round"
|
|
1445
|
-
}, [createElementVNode("path", { d: "m6 9 6 6 6-6" })], -1)])], 8,
|
|
1948
|
+
}, [createElementVNode("path", { d: "m6 9 6 6 6-6" })], -1)])], 8, _hoisted_10)) : createCommentVNode("v-if", true)
|
|
1446
1949
|
], 512), checkedProps.value.help ? (openBlock(), createElementBlock("button", {
|
|
1447
1950
|
key: 0,
|
|
1448
1951
|
class: "help",
|
|
@@ -1467,7 +1970,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1467
1970
|
}),
|
|
1468
1971
|
createElementVNode("path", { d: "M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3" }),
|
|
1469
1972
|
createElementVNode("path", { d: "M12 17h.01" })
|
|
1470
|
-
], -1)])], 8,
|
|
1973
|
+
], -1)])], 8, _hoisted_11)) : createCommentVNode("v-if", true)]),
|
|
1471
1974
|
checkedProps.value.help ? (openBlock(), createBlock(UiTooltip_default, {
|
|
1472
1975
|
key: 0,
|
|
1473
1976
|
trigger: "click",
|
|
@@ -1480,13 +1983,15 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1480
1983
|
createElementVNode("div", {
|
|
1481
1984
|
class: "popup",
|
|
1482
1985
|
hidden: guardedBinding14.value,
|
|
1483
|
-
|
|
1986
|
+
ref_key: "popupElement",
|
|
1987
|
+
ref: popupElement
|
|
1484
1988
|
}, [createElementVNode("div", {
|
|
1485
1989
|
role: "listbox",
|
|
1486
1990
|
id: guardedBinding15.value,
|
|
1487
1991
|
"aria-label": guardedBinding16.value,
|
|
1488
1992
|
"aria-busy": checkedProps.value.loading ?? void 0,
|
|
1489
|
-
|
|
1993
|
+
ref_key: "listboxElement",
|
|
1994
|
+
ref: listboxElement
|
|
1490
1995
|
}, [
|
|
1491
1996
|
createVNode(unref(KeyedBoundary), null, {
|
|
1492
1997
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(uniqueKeys(groups.value, (group, indexLoop, loop) => group.name), (group) => {
|
|
@@ -1494,7 +1999,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1494
1999
|
key: group.name,
|
|
1495
2000
|
role: group.role,
|
|
1496
2001
|
"aria-label": group.label ?? void 0
|
|
1497
|
-
}, [group.name ? (openBlock(), createElementBlock("div",
|
|
2002
|
+
}, [group.name ? (openBlock(), createElementBlock("div", _hoisted_15, toDisplayString(group.name), 1)) : createCommentVNode("v-if", true), createVNode(unref(KeyedBoundary), null, {
|
|
1498
2003
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(uniqueKeys(group.rows, (row, indexLoop2, loop) => row.id), (row) => {
|
|
1499
2004
|
return openBlock(), createElementBlock("div", {
|
|
1500
2005
|
key: row.id,
|
|
@@ -1508,24 +2013,24 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1508
2013
|
"data-index": row.index,
|
|
1509
2014
|
"aria-labelledby": row.labelledBy ?? void 0,
|
|
1510
2015
|
"aria-describedby": row.detail ?? void 0
|
|
1511
|
-
}, [renderSlot(_ctx.$slots, concat("option-", row.id), {}, () => [row.detail ? (openBlock(), createElementBlock("span",
|
|
2016
|
+
}, [renderSlot(_ctx.$slots, concat("option-", row.id), {}, () => [row.detail ? (openBlock(), createElementBlock("span", _hoisted_17, [createElementVNode("span", _hoisted_18, [createElementVNode("span", {
|
|
1512
2017
|
class: "primary",
|
|
1513
2018
|
id: concat(uid.value, "-option-", row.index, "-label")
|
|
1514
|
-
}, toDisplayString(row.label), 9,
|
|
2019
|
+
}, toDisplayString(row.label), 9, _hoisted_19), row.tag ? (openBlock(), createBlock(UiBadge_default, {
|
|
1515
2020
|
key: 0,
|
|
1516
2021
|
tone: row.tag?.tone,
|
|
1517
2022
|
style: normalizeStyle({ "--ui-badge-color": row.tag?.color ?? void 0 })
|
|
1518
2023
|
}, {
|
|
1519
|
-
default: withCtx(() => [createElementVNode("span", { id: concat(uid.value, "-option-", row.index, "-tag") }, toDisplayString(row.tag?.label), 9,
|
|
2024
|
+
default: withCtx(() => [createElementVNode("span", { id: concat(uid.value, "-option-", row.index, "-tag") }, toDisplayString(row.tag?.label), 9, _hoisted_20)]),
|
|
1520
2025
|
_: 2
|
|
1521
2026
|
}, 1032, ["tone", "style"])) : createCommentVNode("v-if", true)]), row.description ? (openBlock(), createElementBlock("span", {
|
|
1522
2027
|
key: 0,
|
|
1523
2028
|
class: "description",
|
|
1524
2029
|
id: concat(uid.value, "-option-", row.index, "-description")
|
|
1525
|
-
}, toDisplayString(row.description), 9,
|
|
2030
|
+
}, toDisplayString(row.description), 9, _hoisted_21)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), !row.detail ? (openBlock(), createElementBlock("span", _hoisted_22, toDisplayString(row.label), 1)) : createCommentVNode("v-if", true)], true)], 10, _hoisted_16);
|
|
1526
2031
|
}), 128))]),
|
|
1527
2032
|
_: 2
|
|
1528
|
-
}, 1024)], 8,
|
|
2033
|
+
}, 1024)], 8, _hoisted_14);
|
|
1529
2034
|
}), 128))]),
|
|
1530
2035
|
_: 3
|
|
1531
2036
|
}),
|
|
@@ -1538,25 +2043,31 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1538
2043
|
"data-multiple": checkedProps.value.multiple ? "" : void 0,
|
|
1539
2044
|
id: guardedBinding18.value,
|
|
1540
2045
|
"data-index": guardedBinding19.value
|
|
1541
|
-
}, toDisplayString(guardedBinding20.value), 11,
|
|
1542
|
-
message.value ? (openBlock(), createElementBlock("div",
|
|
1543
|
-
!checkedProps.value.loading && !rows.value[0] && !creatable.value && !lookupError.value ? (openBlock(), createElementBlock("div",
|
|
1544
|
-
], 8,
|
|
2046
|
+
}, toDisplayString(guardedBinding20.value), 11, _hoisted_23)) : createCommentVNode("v-if", true),
|
|
2047
|
+
message.value ? (openBlock(), createElementBlock("div", _hoisted_24, toDisplayString(guardedBinding21.value), 1)) : createCommentVNode("v-if", true),
|
|
2048
|
+
!checkedProps.value.loading && !rows.value[0] && !creatable.value && !lookupError.value ? (openBlock(), createElementBlock("div", _hoisted_25, [renderSlot(_ctx.$slots, "empty", {}, () => [_cache[3] || (_cache[3] = createTextVNode("No suggestions.", -1))], true)])) : createCommentVNode("v-if", true)
|
|
2049
|
+
], 8, _hoisted_13), renderSlot(_ctx.$slots, "footer", {}, void 0, true)], 8, _hoisted_12),
|
|
1545
2050
|
createElementVNode("div", {
|
|
1546
2051
|
class: "message",
|
|
1547
2052
|
id: guardedBinding22.value,
|
|
1548
2053
|
hidden: !validation.value.issues.length
|
|
1549
2054
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(validation.value.issues, (issue, indexLoop3) => {
|
|
1550
2055
|
return openBlock(), createElementBlock("div", { key: indexLoop3 }, toDisplayString(issue.message), 1);
|
|
1551
|
-
}), 128))], 8,
|
|
1552
|
-
createElementVNode("div",
|
|
1553
|
-
createElementVNode("div",
|
|
2056
|
+
}), 128))], 8, _hoisted_26),
|
|
2057
|
+
createElementVNode("div", _hoisted_27, toDisplayString(guardedBinding23.value), 1),
|
|
2058
|
+
createElementVNode("div", {
|
|
2059
|
+
class: "authored-options",
|
|
2060
|
+
hidden: "",
|
|
2061
|
+
"aria-hidden": "true",
|
|
2062
|
+
ref_key: "optionsElement",
|
|
2063
|
+
ref: optionsElement
|
|
2064
|
+
}, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)
|
|
1554
2065
|
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
1555
2066
|
contract: propValidityContract,
|
|
1556
2067
|
values: { ...props }
|
|
1557
2068
|
}]]);
|
|
1558
2069
|
};
|
|
1559
2070
|
}
|
|
1560
|
-
}), [["__scopeId", "data-v-
|
|
2071
|
+
}), [["__scopeId", "data-v-593d9db1"]]);
|
|
1561
2072
|
//#endregion
|
|
1562
2073
|
export { UiCombobox_default as t };
|