@threadlabs/looma 0.28.12 → 0.28.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
- package/components/ui-avatar/ui-avatar.html +1 -1
- package/components/ui-combobox/ui-combobox.html +1 -1
- package/components/ui-disclosure/ui-disclosure.html +4 -4
- package/components/ui-editable/ui-editable.html +3 -3
- package/components/ui-menu/ui-menu.html +1 -1
- package/components/ui-popover/ui-popover.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +4 -4
- package/components/ui-switcher/ui-switcher.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +2 -2
- package/dist/index.js +1 -1
- package/editor/formatting-selection.d.ts +49 -0
- 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-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 +2 -2
- 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 +2 -2
- 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-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 +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +2 -2
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +2 -2
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +3 -3
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +2 -2
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +3 -3
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +2 -2
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +2 -2
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +2 -2
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +2 -2
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +2 -2
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +2 -2
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +2 -2
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +2 -2
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +2 -2
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +2 -2
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +2 -2
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +2 -2
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +2 -2
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +3 -3
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +2 -2
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +2 -2
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +3 -3
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +2 -2
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +2 -2
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +2 -2
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +2 -2
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +2 -2
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +2 -2
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +2 -2
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +2 -2
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +2 -2
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +3 -3
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +2 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +2 -2
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +3 -3
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +2 -2
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +2 -2
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +2 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +4 -4
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +2 -2
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +3 -3
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +2 -2
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +2 -2
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +2 -2
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +2 -2
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +2 -2
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +2 -2
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +2 -2
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +2 -2
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +2 -2
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +2 -2
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +2 -2
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +2 -2
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +2 -2
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +2 -2
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +3 -3
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +2 -2
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +2 -2
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +2 -2
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +2 -2
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +3 -3
- package/vue/UiActionBar.vue +23 -15
- package/vue/UiAffordanceScope.vue +11 -9
- package/vue/UiAvatar.vue +34 -27
- package/vue/UiAvatarGroup.vue +22 -17
- package/vue/UiBadge.vue +78 -69
- package/vue/UiBreadcrumbItem.vue +17 -14
- package/vue/UiBreadcrumbs.vue +9 -7
- package/vue/UiButton.vue +150 -138
- package/vue/UiCallout.vue +68 -43
- package/vue/UiCard.vue +52 -44
- package/vue/UiCheckbox.vue +48 -40
- package/vue/UiCluster.vue +35 -33
- package/vue/UiCombobox.vue +158 -107
- package/vue/UiContainer.vue +16 -14
- package/vue/UiContextMenu.vue +24 -13
- package/vue/UiCover.vue +10 -8
- package/vue/UiDescriptionItem.vue +11 -9
- package/vue/UiDescriptionList.vue +20 -18
- package/vue/UiDialog.vue +41 -37
- package/vue/UiDisclosure.vue +65 -51
- package/vue/UiEditable.vue +34 -33
- package/vue/UiEditorBlockActions.vue +4 -3
- package/vue/UiEditorChipEditor.vue +4 -3
- package/vue/UiEditorCodeLanguage.vue +5 -4
- package/vue/UiEditorImageToolbar.vue +5 -4
- package/vue/UiEditorInsertTableGrid.vue +19 -18
- package/vue/UiEditorLinkCard.vue +7 -6
- package/vue/UiEditorLinkForm.vue +15 -14
- package/vue/UiEditorMentionMenu.vue +52 -37
- package/vue/UiEditorMentionMenuItem.vue +30 -20
- package/vue/UiEditorSlashMenu.vue +49 -36
- package/vue/UiEditorSlashMenuGroup.vue +16 -10
- package/vue/UiEditorSlashMenuItem.vue +36 -26
- package/vue/UiEditorSurface.vue +8 -6
- package/vue/UiEditorTableContextMenu.vue +26 -25
- package/vue/UiEditorTableOverlay.vue +56 -51
- package/vue/UiEditorTableToolbar.vue +37 -36
- package/vue/UiEditorToolbar.vue +24 -20
- package/vue/UiFloatingActionButton.vue +17 -15
- package/vue/UiFormField.vue +27 -22
- package/vue/UiGrid.vue +17 -15
- package/vue/UiIcon.vue +7 -6
- package/vue/UiIconButton.vue +75 -70
- package/vue/UiImage.vue +61 -46
- package/vue/UiInput.vue +28 -28
- package/vue/UiInputGroup.vue +48 -43
- package/vue/UiList.vue +25 -21
- package/vue/UiListItem.vue +54 -44
- package/vue/UiListbox.vue +29 -22
- package/vue/UiMenu.vue +25 -23
- package/vue/UiMenuGroup.vue +11 -7
- package/vue/UiMenuItem.vue +52 -43
- package/vue/UiMeter.vue +42 -41
- package/vue/UiNavItem.vue +60 -47
- package/vue/UiPageHeader.vue +27 -20
- package/vue/UiPopover.vue +21 -19
- package/vue/UiRadio.vue +32 -28
- package/vue/UiRadioGroup.vue +24 -19
- package/vue/UiReel.vue +24 -22
- package/vue/UiScrollArea.vue +30 -24
- package/vue/UiSearchResultRow.vue +41 -26
- package/vue/UiSearchShell.vue +37 -29
- package/vue/UiSection.vue +31 -24
- package/vue/UiSelect.vue +23 -21
- package/vue/UiSeparator.vue +14 -13
- package/vue/UiSidebar.vue +48 -40
- package/vue/UiSpinner.vue +14 -13
- package/vue/UiStack.vue +26 -24
- package/vue/UiStatusMessage.vue +26 -21
- package/vue/UiSwatch.vue +13 -12
- package/vue/UiSwitch.vue +37 -33
- package/vue/UiSwitcher.vue +27 -22
- package/vue/UiTable.vue +23 -19
- package/vue/UiTabs.vue +48 -33
- package/vue/UiText.vue +173 -151
- package/vue/UiTextarea.vue +27 -27
- package/vue/UiToast.vue +17 -15
- package/vue/UiToastRegion.vue +36 -31
- package/vue/UiTooltip.vue +40 -34
- package/vue/UiTopBar.vue +17 -13
- package/vue/UiTree.vue +17 -15
- package/vue/UiTreeItem.vue +202 -133
- package/vue/chunks/UiActionBar.js +21 -6
- package/vue/chunks/UiAffordanceScope.js +8 -6
- package/vue/chunks/UiAvatar.js +30 -20
- package/vue/chunks/UiAvatarGroup.js +16 -13
- package/vue/chunks/UiBadge.js +19 -13
- package/vue/chunks/UiBreadcrumbItem.js +13 -7
- package/vue/chunks/UiBreadcrumbs.js +9 -4
- package/vue/chunks/UiButton.js +158 -124
- package/vue/chunks/UiCallout.js +105 -37
- package/vue/chunks/UiCard.js +50 -42
- package/vue/chunks/UiCheckbox.js +32 -22
- package/vue/chunks/UiCluster.js +18 -16
- package/vue/chunks/UiCombobox.js +130 -73
- package/vue/chunks/UiContainer.js +10 -8
- package/vue/chunks/UiContextMenu.js +7 -4
- package/vue/chunks/UiCover.js +7 -5
- package/vue/chunks/UiDescriptionItem.js +9 -3
- package/vue/chunks/UiDescriptionList.js +10 -8
- package/vue/chunks/UiDialog.js +26 -19
- package/vue/chunks/UiDisclosure.js +43 -25
- package/vue/chunks/UiEditable.js +25 -24
- package/vue/chunks/UiEditorBlockActions.js +4 -3
- package/vue/chunks/UiEditorChipEditor.js +4 -3
- package/vue/chunks/UiEditorCodeLanguage.js +5 -4
- package/vue/chunks/UiEditorImageToolbar.js +7 -6
- package/vue/chunks/UiEditorInsertTableGrid.js +10 -9
- package/vue/chunks/UiEditorLinkCard.js +11 -10
- package/vue/chunks/UiEditorLinkForm.js +26 -25
- package/vue/chunks/UiEditorMentionMenu.js +41 -24
- package/vue/chunks/UiEditorMentionMenuItem.js +23 -11
- package/vue/chunks/UiEditorSlashMenu.js +41 -20
- package/vue/chunks/UiEditorSlashMenuGroup.js +16 -5
- package/vue/chunks/UiEditorSlashMenuItem.js +28 -14
- package/vue/chunks/UiEditorSurface.js +6 -4
- package/vue/chunks/UiEditorTableContextMenu.js +14 -13
- package/vue/chunks/UiEditorTableOverlay.js +6 -5
- package/vue/chunks/UiEditorTableToolbar.js +14 -13
- package/vue/chunks/UiEditorToolbar.js +8 -5
- package/vue/chunks/UiFloatingActionButton.js +11 -9
- package/vue/chunks/UiFormField.js +30 -16
- package/vue/chunks/UiGrid.js +10 -8
- package/vue/chunks/UiIcon.js +6 -3
- package/vue/chunks/UiIconButton.js +33 -26
- package/vue/chunks/UiImage.js +31 -22
- package/vue/chunks/UiInput.js +17 -16
- package/vue/chunks/UiInputGroup.js +30 -16
- package/vue/chunks/UiList.js +24 -20
- package/vue/chunks/UiListItem.js +39 -22
- package/vue/chunks/UiListbox.js +35 -25
- package/vue/chunks/UiMenu.js +22 -17
- package/vue/chunks/UiMenuGroup.js +7 -4
- package/vue/chunks/UiMenuItem.js +57 -38
- package/vue/chunks/UiMeter.js +22 -21
- package/vue/chunks/UiNavItem.js +78 -42
- package/vue/chunks/UiPageHeader.js +30 -10
- package/vue/chunks/UiPopover.js +16 -11
- package/vue/chunks/UiRadio.js +26 -16
- package/vue/chunks/UiRadioGroup.js +24 -19
- package/vue/chunks/UiReel.js +11 -9
- package/vue/chunks/UiScrollArea.js +16 -13
- package/vue/chunks/UiSearchResultRow.js +39 -19
- package/vue/chunks/UiSearchShell.js +36 -18
- package/vue/chunks/UiSection.js +31 -13
- package/vue/chunks/UiSelect.js +14 -12
- package/vue/chunks/UiSeparator.js +11 -10
- package/vue/chunks/UiSidebar.js +33 -23
- package/vue/chunks/UiSpinner.js +7 -6
- package/vue/chunks/UiStack.js +14 -12
- package/vue/chunks/UiStatusMessage.js +23 -11
- package/vue/chunks/UiSwatch.js +5 -4
- package/vue/chunks/UiSwitch.js +26 -16
- package/vue/chunks/UiSwitcher.js +13 -11
- package/vue/chunks/UiTable.js +9 -7
- package/vue/chunks/UiTabs.js +23 -18
- package/vue/chunks/UiText.js +277 -255
- package/vue/chunks/UiTextarea.js +21 -20
- package/vue/chunks/UiToast.js +13 -7
- package/vue/chunks/UiToastRegion.js +15 -8
- package/vue/chunks/UiTooltip.js +27 -19
- package/vue/chunks/UiTopBar.js +21 -6
- package/vue/chunks/UiTree.js +18 -16
- package/vue/chunks/UiTreeItem.js +82 -45
- package/vue/chunks/_plugin-vue_export-helper.js +17 -4
- package/vue/components.css +1507 -1479
- package/vue/editor/index.js +108 -65
- package/vue/host.ts +26 -6
package/vue/chunks/UiCombobox.js
CHANGED
|
@@ -6,37 +6,43 @@ import { t as UiTooltip_default } from "./UiTooltip.js";
|
|
|
6
6
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
7
7
|
//#region .build/vue/UiCombobox.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var _hoisted_1 = [
|
|
9
|
-
"data-allow-create",
|
|
10
|
-
"data-allow-free-text",
|
|
11
|
-
"data-auto-highlight",
|
|
12
|
-
"data-clear-query-on-blur",
|
|
13
|
-
"data-clearable",
|
|
14
|
-
"data-disabled",
|
|
15
|
-
"data-disclosure",
|
|
16
|
-
"data-filter",
|
|
17
|
-
"data-help",
|
|
18
|
-
"data-invalid",
|
|
19
|
-
"data-items",
|
|
20
|
-
"data-label",
|
|
21
|
-
"data-label-visibility",
|
|
22
|
-
"data-loading",
|
|
23
|
-
"data-multiple",
|
|
24
|
-
"data-name",
|
|
25
|
-
"data-open-on-focus",
|
|
26
|
-
"data-placeholder",
|
|
27
|
-
"data-query",
|
|
28
|
-
"data-readonly",
|
|
29
|
-
"data-required",
|
|
30
|
-
"data-select-on-tab",
|
|
31
|
-
"data-selected-values",
|
|
32
|
-
"data-size",
|
|
33
|
-
"data-token-separators",
|
|
34
|
-
"data-value",
|
|
9
|
+
"data-ui-combobox-prop-allow-create",
|
|
10
|
+
"data-ui-combobox-prop-allow-free-text",
|
|
11
|
+
"data-ui-combobox-prop-auto-highlight",
|
|
12
|
+
"data-ui-combobox-prop-clear-query-on-blur",
|
|
13
|
+
"data-ui-combobox-prop-clearable",
|
|
14
|
+
"data-ui-combobox-prop-disabled",
|
|
15
|
+
"data-ui-combobox-prop-disclosure",
|
|
16
|
+
"data-ui-combobox-prop-filter",
|
|
17
|
+
"data-ui-combobox-prop-help",
|
|
18
|
+
"data-ui-combobox-prop-invalid",
|
|
19
|
+
"data-ui-combobox-prop-items",
|
|
20
|
+
"data-ui-combobox-prop-label",
|
|
21
|
+
"data-ui-combobox-prop-label-visibility",
|
|
22
|
+
"data-ui-combobox-prop-loading",
|
|
23
|
+
"data-ui-combobox-prop-multiple",
|
|
24
|
+
"data-ui-combobox-prop-name",
|
|
25
|
+
"data-ui-combobox-prop-open-on-focus",
|
|
26
|
+
"data-ui-combobox-prop-placeholder",
|
|
27
|
+
"data-ui-combobox-prop-query",
|
|
28
|
+
"data-ui-combobox-prop-readonly",
|
|
29
|
+
"data-ui-combobox-prop-required",
|
|
30
|
+
"data-ui-combobox-prop-select-on-tab",
|
|
31
|
+
"data-ui-combobox-prop-selected-values",
|
|
32
|
+
"data-ui-combobox-prop-size",
|
|
33
|
+
"data-ui-combobox-prop-token-separators",
|
|
34
|
+
"data-ui-combobox-prop-value",
|
|
35
35
|
"data-ui-combobox-state"
|
|
36
36
|
];
|
|
37
37
|
var _hoisted_2 = ["for"];
|
|
38
|
-
var _hoisted_3 = {
|
|
39
|
-
|
|
38
|
+
var _hoisted_3 = {
|
|
39
|
+
class: "control",
|
|
40
|
+
"data-hn-ui-combobox": ""
|
|
41
|
+
};
|
|
42
|
+
var _hoisted_4 = {
|
|
43
|
+
class: "entry",
|
|
44
|
+
"data-hn-ui-combobox": ""
|
|
45
|
+
};
|
|
40
46
|
var _hoisted_5 = [
|
|
41
47
|
"data-index",
|
|
42
48
|
"disabled",
|
|
@@ -75,7 +81,8 @@ var _hoisted_13 = [
|
|
|
75
81
|
var _hoisted_14 = ["role", "aria-label"];
|
|
76
82
|
var _hoisted_15 = {
|
|
77
83
|
key: 0,
|
|
78
|
-
class: "group"
|
|
84
|
+
class: "group",
|
|
85
|
+
"data-hn-ui-combobox": ""
|
|
79
86
|
};
|
|
80
87
|
var _hoisted_16 = [
|
|
81
88
|
"data-multiple",
|
|
@@ -88,15 +95,20 @@ var _hoisted_16 = [
|
|
|
88
95
|
];
|
|
89
96
|
var _hoisted_17 = {
|
|
90
97
|
key: 0,
|
|
91
|
-
class: "detail"
|
|
98
|
+
class: "detail",
|
|
99
|
+
"data-hn-ui-combobox": ""
|
|
100
|
+
};
|
|
101
|
+
var _hoisted_18 = {
|
|
102
|
+
class: "line",
|
|
103
|
+
"data-hn-ui-combobox": ""
|
|
92
104
|
};
|
|
93
|
-
var _hoisted_18 = { class: "line" };
|
|
94
105
|
var _hoisted_19 = ["id"];
|
|
95
106
|
var _hoisted_20 = ["id"];
|
|
96
107
|
var _hoisted_21 = ["id"];
|
|
97
108
|
var _hoisted_22 = {
|
|
98
109
|
key: 1,
|
|
99
|
-
class: "primary"
|
|
110
|
+
class: "primary",
|
|
111
|
+
"data-hn-ui-combobox": ""
|
|
100
112
|
};
|
|
101
113
|
var _hoisted_23 = [
|
|
102
114
|
"data-multiple",
|
|
@@ -105,18 +117,21 @@ var _hoisted_23 = [
|
|
|
105
117
|
];
|
|
106
118
|
var _hoisted_24 = {
|
|
107
119
|
key: 1,
|
|
108
|
-
class: "message"
|
|
120
|
+
class: "message",
|
|
121
|
+
"data-hn-ui-combobox": ""
|
|
109
122
|
};
|
|
110
123
|
var _hoisted_25 = {
|
|
111
124
|
key: 2,
|
|
112
|
-
class: "message"
|
|
125
|
+
class: "message",
|
|
126
|
+
"data-hn-ui-combobox": ""
|
|
113
127
|
};
|
|
114
128
|
var _hoisted_26 = ["id", "hidden"];
|
|
115
129
|
var _hoisted_27 = {
|
|
116
130
|
class: "sr-only",
|
|
117
131
|
role: "status",
|
|
118
132
|
"aria-live": "polite",
|
|
119
|
-
"aria-atomic": "true"
|
|
133
|
+
"aria-atomic": "true",
|
|
134
|
+
"data-hn-ui-combobox": ""
|
|
120
135
|
};
|
|
121
136
|
//#endregion
|
|
122
137
|
//#region .build/vue/UiCombobox.vue
|
|
@@ -996,7 +1011,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
996
1011
|
provide("html-next:ui-combobox:statusText", statusText);
|
|
997
1012
|
provide("html-next:ui-combobox:validationStatus", validationStatus);
|
|
998
1013
|
checkHydratedRoot("div", "ui-combobox");
|
|
999
|
-
/** The values the styles' :host
|
|
1014
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
1000
1015
|
const hostState = computed(() => [
|
|
1001
1016
|
checkedProps.value.size && "size",
|
|
1002
1017
|
checkedProps.value.size != null && `size=${encodeURIComponent(checkedProps.value.size)}`,
|
|
@@ -1695,42 +1710,46 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1695
1710
|
});
|
|
1696
1711
|
return (_ctx, _cache) => {
|
|
1697
1712
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ class: "ui-combobox" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
1698
|
-
"data-
|
|
1699
|
-
"data-
|
|
1700
|
-
"data-
|
|
1701
|
-
"data-
|
|
1702
|
-
"data-
|
|
1703
|
-
"data-
|
|
1704
|
-
"data-
|
|
1705
|
-
"data-
|
|
1706
|
-
"data-
|
|
1707
|
-
"data-
|
|
1708
|
-
"data-
|
|
1709
|
-
"data-
|
|
1710
|
-
"data-
|
|
1711
|
-
"data-
|
|
1712
|
-
"data-
|
|
1713
|
-
"data-
|
|
1714
|
-
"data-
|
|
1715
|
-
"data-
|
|
1716
|
-
"data-
|
|
1717
|
-
"data-
|
|
1718
|
-
"data-
|
|
1719
|
-
"data-
|
|
1720
|
-
"data-
|
|
1721
|
-
"data-
|
|
1722
|
-
"data-
|
|
1723
|
-
"data-
|
|
1713
|
+
"data-hn": "",
|
|
1714
|
+
"data-hn-ui-combobox": "",
|
|
1715
|
+
"data-ui-combobox-prop-allow-create": unref(reflectedProp)("allowCreate", "allow-create", checkedProps.value.allowCreate, void 0, false),
|
|
1716
|
+
"data-ui-combobox-prop-allow-free-text": unref(reflectedProp)("allowFreeText", "allow-free-text", checkedProps.value.allowFreeText, void 0, false),
|
|
1717
|
+
"data-ui-combobox-prop-auto-highlight": unref(reflectedProp)("autoHighlight", "auto-highlight", checkedProps.value.autoHighlight, void 0, false),
|
|
1718
|
+
"data-ui-combobox-prop-clear-query-on-blur": unref(reflectedProp)("clearQueryOnBlur", "clear-query-on-blur", checkedProps.value.clearQueryOnBlur, void 0, false),
|
|
1719
|
+
"data-ui-combobox-prop-clearable": unref(reflectedProp)("clearable", "clearable", checkedProps.value.clearable, void 0, false),
|
|
1720
|
+
"data-ui-combobox-prop-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
|
|
1721
|
+
"data-ui-combobox-prop-disclosure": unref(reflectedProp)("disclosure", "disclosure", checkedProps.value.disclosure, void 0, false),
|
|
1722
|
+
"data-ui-combobox-prop-filter": unref(reflectedProp)("filter", "filter", checkedProps.value.filter, void 0, false),
|
|
1723
|
+
"data-ui-combobox-prop-help": unref(reflectedProp)("help", "help", checkedProps.value.help, void 0, false),
|
|
1724
|
+
"data-ui-combobox-prop-invalid": unref(reflectedProp)("invalid", "invalid", checkedProps.value.invalid, void 0, false),
|
|
1725
|
+
"data-ui-combobox-prop-items": unref(reflectedProp)("items", "items", checkedProps.value.items, void 0, false),
|
|
1726
|
+
"data-ui-combobox-prop-label": unref(reflectedProp)("label", "label", checkedProps.value.label, void 0, false),
|
|
1727
|
+
"data-ui-combobox-prop-label-visibility": unref(reflectedProp)("labelVisibility", "label-visibility", checkedProps.value.labelVisibility, void 0, false),
|
|
1728
|
+
"data-ui-combobox-prop-loading": unref(reflectedProp)("loading", "loading", checkedProps.value.loading, void 0, false),
|
|
1729
|
+
"data-ui-combobox-prop-multiple": unref(reflectedProp)("multiple", "multiple", checkedProps.value.multiple, void 0, false),
|
|
1730
|
+
"data-ui-combobox-prop-name": unref(reflectedProp)("name", "name", checkedProps.value.name, void 0, false),
|
|
1731
|
+
"data-ui-combobox-prop-open-on-focus": unref(reflectedProp)("openOnFocus", "open-on-focus", checkedProps.value.openOnFocus, void 0, false),
|
|
1732
|
+
"data-ui-combobox-prop-placeholder": unref(reflectedProp)("placeholder", "placeholder", checkedProps.value.placeholder, void 0, false),
|
|
1733
|
+
"data-ui-combobox-prop-query": unref(reflectedProp)("query", "query", checkedProps.value.query, void 0, false),
|
|
1734
|
+
"data-ui-combobox-prop-readonly": unref(reflectedProp)("readonly", "readonly", checkedProps.value.readonly, void 0, false),
|
|
1735
|
+
"data-ui-combobox-prop-required": unref(reflectedProp)("required", "required", checkedProps.value.required, void 0, false),
|
|
1736
|
+
"data-ui-combobox-prop-select-on-tab": unref(reflectedProp)("selectOnTab", "select-on-tab", checkedProps.value.selectOnTab, void 0, false),
|
|
1737
|
+
"data-ui-combobox-prop-selected-values": unref(reflectedProp)("selectedValues", "selected-values", checkedProps.value.selectedValues, void 0, false),
|
|
1738
|
+
"data-ui-combobox-prop-size": unref(reflectedProp)("size", "size", checkedProps.value.size, void 0, false),
|
|
1739
|
+
"data-ui-combobox-prop-token-separators": unref(reflectedProp)("tokenSeparators", "token-separators", checkedProps.value.tokenSeparators, void 0, false),
|
|
1740
|
+
"data-ui-combobox-prop-value": unref(reflectedProp)("value", "value", checkedProps.value.value, void 0, false),
|
|
1724
1741
|
"data-ui-combobox-state": hostState.value || void 0,
|
|
1725
1742
|
ref_key: "root",
|
|
1726
1743
|
ref: root
|
|
1727
1744
|
}), [
|
|
1728
1745
|
createElementVNode("label", {
|
|
1746
|
+
"data-hn-ui-combobox": "",
|
|
1729
1747
|
for: guarded.value,
|
|
1730
1748
|
class: normalizeClass({ "sr-only": checkedProps.value.labelVisibility === "sr-only" })
|
|
1731
1749
|
}, [createTextVNode(toDisplayString(checkedProps.value.label), 1), checkedProps.value.required ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(" *")], 64)) : createCommentVNode("v-if", true)], 10, _hoisted_2),
|
|
1732
1750
|
createElementVNode("div", _hoisted_3, [createElementVNode("div", {
|
|
1733
1751
|
class: "field",
|
|
1752
|
+
"data-hn-ui-combobox": "",
|
|
1734
1753
|
ref_key: "fieldElement",
|
|
1735
1754
|
ref: fieldElement
|
|
1736
1755
|
}, [
|
|
@@ -1743,6 +1762,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1743
1762
|
class: "item",
|
|
1744
1763
|
type: "button",
|
|
1745
1764
|
tabindex: "-1",
|
|
1765
|
+
"data-hn-ui-combobox": "",
|
|
1746
1766
|
"data-index": index,
|
|
1747
1767
|
disabled: checkedProps.value.disabled || checkedProps.value.readonly || item.disabled,
|
|
1748
1768
|
"aria-label": unref(concat)(item.label, ", press Delete or Backspace to remove")
|
|
@@ -1757,6 +1777,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1757
1777
|
role: "combobox",
|
|
1758
1778
|
"aria-autocomplete": "list",
|
|
1759
1779
|
autocomplete: "off",
|
|
1780
|
+
"data-hn-ui-combobox": "",
|
|
1760
1781
|
id: guardedBinding.value,
|
|
1761
1782
|
"aria-controls": guardedBinding2.value,
|
|
1762
1783
|
"aria-expanded": expanded.value,
|
|
@@ -1779,6 +1800,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1779
1800
|
checkedProps.value.name && !checkedProps.value.multiple ? (openBlock(), createElementBlock("input", {
|
|
1780
1801
|
key: 0,
|
|
1781
1802
|
type: "hidden",
|
|
1803
|
+
"data-hn-ui-combobox": "",
|
|
1782
1804
|
name: checkedProps.value.name ?? void 0,
|
|
1783
1805
|
"^value": submitted.value,
|
|
1784
1806
|
disabled: checkedProps.value.disabled ?? void 0
|
|
@@ -1788,6 +1810,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1788
1810
|
return openBlock(), createElementBlock("input", {
|
|
1789
1811
|
key: item.id,
|
|
1790
1812
|
type: "hidden",
|
|
1813
|
+
"data-hn-ui-combobox": "",
|
|
1791
1814
|
name: checkedProps.value.name ?? void 0,
|
|
1792
1815
|
"^value": item.value,
|
|
1793
1816
|
disabled: checkedProps.value.disabled ?? void 0
|
|
@@ -1800,6 +1823,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1800
1823
|
type: "button",
|
|
1801
1824
|
"data-combobox-action": "clear",
|
|
1802
1825
|
"aria-label": "Clear",
|
|
1826
|
+
"data-hn-ui-combobox": "",
|
|
1803
1827
|
disabled: guardedBinding4.value
|
|
1804
1828
|
}, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
1805
1829
|
class: "affordance-icon",
|
|
@@ -1808,14 +1832,19 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1808
1832
|
fill: "none",
|
|
1809
1833
|
stroke: "currentColor",
|
|
1810
1834
|
"stroke-width": "2",
|
|
1811
|
-
"stroke-linecap": "round"
|
|
1812
|
-
|
|
1835
|
+
"stroke-linecap": "round",
|
|
1836
|
+
"data-hn-ui-combobox": ""
|
|
1837
|
+
}, [createElementVNode("path", {
|
|
1838
|
+
d: "M7 7l10 10M17 7 7 17",
|
|
1839
|
+
"data-hn-ui-combobox": ""
|
|
1840
|
+
})], -1)])], 8, _hoisted_9)) : createCommentVNode("v-if", true),
|
|
1813
1841
|
checkedProps.value.disclosure ? (openBlock(), createElementBlock("button", {
|
|
1814
1842
|
key: 3,
|
|
1815
1843
|
type: "button",
|
|
1816
1844
|
"data-combobox-action": "disclosure",
|
|
1817
1845
|
tabindex: "-1",
|
|
1818
1846
|
"aria-label": "Show suggestions",
|
|
1847
|
+
"data-hn-ui-combobox": "",
|
|
1819
1848
|
"aria-controls": guardedBinding5.value,
|
|
1820
1849
|
disabled: checkedProps.value.disabled || checkedProps.value.readonly
|
|
1821
1850
|
}, [..._cache[1] || (_cache[1] = [createElementVNode("svg", {
|
|
@@ -1826,13 +1855,18 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1826
1855
|
stroke: "currentColor",
|
|
1827
1856
|
"stroke-width": "2.25",
|
|
1828
1857
|
"stroke-linecap": "round",
|
|
1829
|
-
"stroke-linejoin": "round"
|
|
1830
|
-
|
|
1858
|
+
"stroke-linejoin": "round",
|
|
1859
|
+
"data-hn-ui-combobox": ""
|
|
1860
|
+
}, [createElementVNode("path", {
|
|
1861
|
+
d: "m6 9 6 6 6-6",
|
|
1862
|
+
"data-hn-ui-combobox": ""
|
|
1863
|
+
})], -1)])], 8, _hoisted_10)) : createCommentVNode("v-if", true)
|
|
1831
1864
|
], 512), checkedProps.value.help ? (openBlock(), createElementBlock("button", {
|
|
1832
1865
|
key: 0,
|
|
1833
1866
|
class: "help",
|
|
1834
1867
|
type: "button",
|
|
1835
1868
|
"aria-label": "Help",
|
|
1869
|
+
"data-hn-ui-combobox": "",
|
|
1836
1870
|
id: guardedBinding6.value,
|
|
1837
1871
|
disabled: checkedProps.value.disabled ?? void 0
|
|
1838
1872
|
}, [..._cache[2] || (_cache[2] = [createElementVNode("svg", {
|
|
@@ -1843,15 +1877,23 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1843
1877
|
stroke: "currentColor",
|
|
1844
1878
|
"stroke-width": "2",
|
|
1845
1879
|
"stroke-linecap": "round",
|
|
1846
|
-
"stroke-linejoin": "round"
|
|
1880
|
+
"stroke-linejoin": "round",
|
|
1881
|
+
"data-hn-ui-combobox": ""
|
|
1847
1882
|
}, [
|
|
1848
1883
|
createElementVNode("circle", {
|
|
1849
1884
|
cx: "12",
|
|
1850
1885
|
cy: "12",
|
|
1851
|
-
r: "10"
|
|
1886
|
+
r: "10",
|
|
1887
|
+
"data-hn-ui-combobox": ""
|
|
1888
|
+
}),
|
|
1889
|
+
createElementVNode("path", {
|
|
1890
|
+
d: "M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3",
|
|
1891
|
+
"data-hn-ui-combobox": ""
|
|
1852
1892
|
}),
|
|
1853
|
-
createElementVNode("path", {
|
|
1854
|
-
|
|
1893
|
+
createElementVNode("path", {
|
|
1894
|
+
d: "M12 17h.01",
|
|
1895
|
+
"data-hn-ui-combobox": ""
|
|
1896
|
+
})
|
|
1855
1897
|
], -1)])], 8, _hoisted_11)) : createCommentVNode("v-if", true)]),
|
|
1856
1898
|
checkedProps.value.help ? (openBlock(), createBlock(UiTooltip_default, {
|
|
1857
1899
|
key: 0,
|
|
@@ -1865,11 +1907,13 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1865
1907
|
}, 8, ["id", "for"])) : createCommentVNode("v-if", true),
|
|
1866
1908
|
createElementVNode("div", {
|
|
1867
1909
|
class: "popup",
|
|
1910
|
+
"data-hn-ui-combobox": "",
|
|
1868
1911
|
hidden: !expanded.value,
|
|
1869
1912
|
ref_key: "popupElement",
|
|
1870
1913
|
ref: popupElement
|
|
1871
1914
|
}, [createElementVNode("div", {
|
|
1872
1915
|
role: "listbox",
|
|
1916
|
+
"data-hn-ui-combobox": "",
|
|
1873
1917
|
id: guardedBinding9.value,
|
|
1874
1918
|
"aria-label": guardedBinding10.value,
|
|
1875
1919
|
"aria-busy": checkedProps.value.loading ?? void 0,
|
|
@@ -1880,6 +1924,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1880
1924
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(groups.value, (group, indexLoop, loop) => group.name), (group) => {
|
|
1881
1925
|
return openBlock(), createElementBlock("div", {
|
|
1882
1926
|
key: group.name,
|
|
1927
|
+
"data-hn-ui-combobox": "",
|
|
1883
1928
|
role: group.role,
|
|
1884
1929
|
"aria-label": group.label ?? void 0
|
|
1885
1930
|
}, [group.name ? (openBlock(), createElementBlock("div", _hoisted_15, toDisplayString(group.name), 1)) : createCommentVNode("v-if", true), createVNode(unref(KeyedBoundary), null, {
|
|
@@ -1889,6 +1934,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1889
1934
|
class: normalizeClass(["option", { active: row.index === active.value }]),
|
|
1890
1935
|
role: "option",
|
|
1891
1936
|
"data-ui-choice-option": "",
|
|
1937
|
+
"data-hn-ui-combobox": "",
|
|
1892
1938
|
"data-multiple": checkedProps.value.multiple ? "" : void 0,
|
|
1893
1939
|
id: unref(concat)(uid.value, "-option-", row.index),
|
|
1894
1940
|
"aria-selected": row.selected,
|
|
@@ -1898,6 +1944,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1898
1944
|
"aria-describedby": row.detail ?? void 0
|
|
1899
1945
|
}, [renderSlot(_ctx.$slots, unref(concat)("option-", row.id), {}, () => [row.detail ? (openBlock(), createElementBlock("span", _hoisted_17, [createElementVNode("span", _hoisted_18, [createElementVNode("span", {
|
|
1900
1946
|
class: "primary",
|
|
1947
|
+
"data-hn-ui-combobox": "",
|
|
1901
1948
|
id: unref(concat)(uid.value, "-option-", row.index, "-label")
|
|
1902
1949
|
}, toDisplayString(row.label), 9, _hoisted_19), row.tag ? (openBlock(), createBlock(UiBadge_default, {
|
|
1903
1950
|
key: 0,
|
|
@@ -1905,11 +1952,15 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1905
1952
|
tone: row.tag?.tone,
|
|
1906
1953
|
style: normalizeStyle({ "--ui-badge-color": row.tag?.color ?? void 0 })
|
|
1907
1954
|
}, {
|
|
1908
|
-
default: withCtx(() => [createElementVNode("span", {
|
|
1955
|
+
default: withCtx(() => [createElementVNode("span", {
|
|
1956
|
+
"data-hn-ui-combobox": "",
|
|
1957
|
+
id: unref(concat)(uid.value, "-option-", row.index, "-tag")
|
|
1958
|
+
}, toDisplayString(row.tag?.label), 9, _hoisted_20)]),
|
|
1909
1959
|
_: 2
|
|
1910
1960
|
}, 1032, ["tone", "style"])) : createCommentVNode("v-if", true)]), row.description ? (openBlock(), createElementBlock("span", {
|
|
1911
1961
|
key: 0,
|
|
1912
1962
|
class: "description",
|
|
1963
|
+
"data-hn-ui-combobox": "",
|
|
1913
1964
|
id: unref(concat)(uid.value, "-option-", row.index, "-description")
|
|
1914
1965
|
}, 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);
|
|
1915
1966
|
}), 128))]),
|
|
@@ -1924,6 +1975,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1924
1975
|
role: "option",
|
|
1925
1976
|
"data-ui-choice-option": "",
|
|
1926
1977
|
"aria-selected": "false",
|
|
1978
|
+
"data-hn-ui-combobox": "",
|
|
1927
1979
|
"data-multiple": checkedProps.value.multiple ? "" : void 0,
|
|
1928
1980
|
id: guardedBinding12.value,
|
|
1929
1981
|
"data-index": createIndex.value
|
|
@@ -1933,16 +1985,21 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1933
1985
|
], 8, _hoisted_13), renderSlot(_ctx.$slots, "footer", {}, void 0, true)], 8, _hoisted_12),
|
|
1934
1986
|
createElementVNode("div", {
|
|
1935
1987
|
class: "message",
|
|
1988
|
+
"data-hn-ui-combobox": "",
|
|
1936
1989
|
id: guardedBinding14.value,
|
|
1937
1990
|
hidden: !validation.value.issues.length
|
|
1938
1991
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(validation.value.issues, (issue, indexLoop3) => {
|
|
1939
|
-
return openBlock(), createElementBlock("div", {
|
|
1992
|
+
return openBlock(), createElementBlock("div", {
|
|
1993
|
+
key: indexLoop3,
|
|
1994
|
+
"data-hn-ui-combobox": ""
|
|
1995
|
+
}, toDisplayString(issue.message), 1);
|
|
1940
1996
|
}), 128))], 8, _hoisted_26),
|
|
1941
1997
|
createElementVNode("div", _hoisted_27, toDisplayString(statusText.value), 1),
|
|
1942
1998
|
createElementVNode("div", {
|
|
1943
1999
|
class: "authored-options",
|
|
1944
2000
|
hidden: "",
|
|
1945
2001
|
"aria-hidden": "true",
|
|
2002
|
+
"data-hn-ui-combobox": "",
|
|
1946
2003
|
ref_key: "optionsElement",
|
|
1947
2004
|
ref: optionsElement
|
|
1948
2005
|
}, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)
|
|
@@ -1952,6 +2009,6 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1952
2009
|
}]]);
|
|
1953
2010
|
};
|
|
1954
2011
|
}
|
|
1955
|
-
}), [["__scopeId", "data-v-
|
|
2012
|
+
}), [["__scopeId", "data-v-759ccf30"]]);
|
|
1956
2013
|
//#endregion
|
|
1957
2014
|
export { UiCombobox_default as t };
|
|
@@ -3,9 +3,9 @@ import { a as vPropValidity, n as checkedProp } from "./props.js";
|
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiContainer.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
|
-
"data-fill",
|
|
7
|
-
"data-gutters",
|
|
8
|
-
"data-measure",
|
|
6
|
+
"data-ui-container-prop-fill",
|
|
7
|
+
"data-ui-container-prop-gutters",
|
|
8
|
+
"data-ui-container-prop-measure",
|
|
9
9
|
"data-ui-container-state"
|
|
10
10
|
];
|
|
11
11
|
//#endregion
|
|
@@ -90,7 +90,7 @@ var UiContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
90
90
|
});
|
|
91
91
|
const reflectedProp = useReflectedProp();
|
|
92
92
|
checkHydratedRoot("div", "ui-container");
|
|
93
|
-
/** The values the styles' :host
|
|
93
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
94
94
|
const hostState = computed(() => [
|
|
95
95
|
checkedProps.value.measure && "measure",
|
|
96
96
|
checkedProps.value.measure != null && `measure=${encodeURIComponent(checkedProps.value.measure)}`,
|
|
@@ -100,9 +100,11 @@ var UiContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
100
100
|
].filter(Boolean).join(" "));
|
|
101
101
|
return (_ctx, _cache) => {
|
|
102
102
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ class: "ui-container" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
103
|
-
"data-
|
|
104
|
-
"data-
|
|
105
|
-
"data-
|
|
103
|
+
"data-hn": "",
|
|
104
|
+
"data-hn-ui-container": "",
|
|
105
|
+
"data-ui-container-prop-fill": unref(reflectedProp)("fill", "fill", checkedProps.value.fill, void 0, false),
|
|
106
|
+
"data-ui-container-prop-gutters": unref(reflectedProp)("gutters", "gutters", checkedProps.value.gutters, void 0, false),
|
|
107
|
+
"data-ui-container-prop-measure": unref(reflectedProp)("measure", "measure", checkedProps.value.measure, void 0, false),
|
|
106
108
|
"data-ui-container-state": hostState.value || void 0
|
|
107
109
|
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
108
110
|
contract: propValidityContract,
|
|
@@ -110,6 +112,6 @@ var UiContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
110
112
|
}]]);
|
|
111
113
|
};
|
|
112
114
|
}
|
|
113
|
-
}), [["__scopeId", "data-v-
|
|
115
|
+
}), [["__scopeId", "data-v-ad40fbce"]]);
|
|
114
116
|
//#endregion
|
|
115
117
|
export { UiContainer_default as t };
|
|
@@ -2,7 +2,7 @@ import { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, t as _pl
|
|
|
2
2
|
import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiContextMenu.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var _hoisted_1 = ["data-for", "data-open"];
|
|
5
|
+
var _hoisted_1 = ["data-ui-context-menu-prop-for", "data-ui-context-menu-prop-open"];
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region .build/vue/UiContextMenu.vue
|
|
8
8
|
var UiContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -119,14 +119,17 @@ var UiContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
119
119
|
});
|
|
120
120
|
return (_ctx, _cache) => {
|
|
121
121
|
return withDirectives((openBlock(), createElementBlock("span", mergeProps({ class: "ui-context-menu" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
122
|
-
"data-
|
|
123
|
-
"data-
|
|
122
|
+
"data-hn": "",
|
|
123
|
+
"data-hn-ui-context-menu": "",
|
|
124
|
+
"data-ui-context-menu-prop-for": unref(reflectedProp)("for", "for", checkedProps.value.for, void 0, false),
|
|
125
|
+
"data-ui-context-menu-prop-open": unref(reflectedProp)("open", "open", checkedProps.value.open, void 0, false),
|
|
124
126
|
ref_key: "root",
|
|
125
127
|
ref: root
|
|
126
128
|
}), [createElementVNode("div", {
|
|
127
129
|
class: "menu",
|
|
128
130
|
role: "menu",
|
|
129
131
|
"aria-orientation": "vertical",
|
|
132
|
+
"data-hn-ui-context-menu": "",
|
|
130
133
|
ref_key: "menuElement",
|
|
131
134
|
ref: menuElement
|
|
132
135
|
}, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
@@ -135,6 +138,6 @@ var UiContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
135
138
|
}]]);
|
|
136
139
|
};
|
|
137
140
|
}
|
|
138
|
-
}), [["__scopeId", "data-v-
|
|
141
|
+
}), [["__scopeId", "data-v-8cf01d50"]]);
|
|
139
142
|
//#endregion
|
|
140
143
|
export { UiContextMenu_default as t };
|
package/vue/chunks/UiCover.js
CHANGED
|
@@ -2,7 +2,7 @@ import { i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helpe
|
|
|
2
2
|
import { a as vPropValidity, n as checkedProp } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiCover.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var _hoisted_1 = ["data-size", "data-ui-cover-state"];
|
|
5
|
+
var _hoisted_1 = ["data-ui-cover-prop-size", "data-ui-cover-state"];
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region .build/vue/UiCover.vue
|
|
8
8
|
var UiCover_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -36,18 +36,20 @@ var UiCover_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
36
36
|
});
|
|
37
37
|
const reflectedProp = useReflectedProp();
|
|
38
38
|
checkHydratedRoot("div", "ui-cover");
|
|
39
|
-
/** The values the styles' :host
|
|
39
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
40
40
|
const hostState = computed(() => [checkedProps.value.size && "size", checkedProps.value.size != null && `size=${encodeURIComponent(checkedProps.value.size)}`].filter(Boolean).join(" "));
|
|
41
41
|
return (_ctx, _cache) => {
|
|
42
42
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ class: "ui-cover" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
43
|
-
"data-
|
|
43
|
+
"data-hn": "",
|
|
44
|
+
"data-hn-ui-cover": "",
|
|
45
|
+
"data-ui-cover-prop-size": unref(reflectedProp)("size", "size", checkedProps.value.size, void 0, false),
|
|
44
46
|
"data-ui-cover-state": hostState.value || void 0
|
|
45
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
47
|
+
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
46
48
|
contract: propValidityContract,
|
|
47
49
|
values: { ...props }
|
|
48
50
|
}]]);
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
|
-
}), [["__scopeId", "data-v-
|
|
53
|
+
}), [["__scopeId", "data-v-b5102113"]]);
|
|
52
54
|
//#endregion
|
|
53
55
|
export { UiCover_default as t };
|
|
@@ -2,7 +2,9 @@ import { i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helpe
|
|
|
2
2
|
import { a as vPropValidity, n as checkedProp } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiDescriptionItem.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var _hoisted_1 = ["data-term"];
|
|
5
|
+
var _hoisted_1 = ["data-ui-description-item-prop-term"];
|
|
6
|
+
var _hoisted_2 = { "data-hn-ui-description-item": "" };
|
|
7
|
+
var _hoisted_3 = { "data-hn-ui-description-item": "" };
|
|
6
8
|
//#endregion
|
|
7
9
|
//#region .build/vue/UiDescriptionItem.vue
|
|
8
10
|
var UiDescriptionItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -36,12 +38,16 @@ var UiDescriptionItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
36
38
|
const reflectedProp = useReflectedProp();
|
|
37
39
|
checkHydratedRoot("div", "ui-description-item");
|
|
38
40
|
return (_ctx, _cache) => {
|
|
39
|
-
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ class: "ui-description-item" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
41
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ class: "ui-description-item" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
42
|
+
"data-hn": "",
|
|
43
|
+
"data-hn-ui-description-item": "",
|
|
44
|
+
"data-ui-description-item-prop-term": unref(reflectedProp)("term", "term", checkedProps.value.term, void 0, false)
|
|
45
|
+
}), [createElementVNode("dt", _hoisted_2, toDisplayString(checkedProps.value.term), 1), createElementVNode("dd", _hoisted_3, [renderSlot(_ctx.$slots, "default", {}, void 0, true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
40
46
|
contract: propValidityContract,
|
|
41
47
|
values: { ...props }
|
|
42
48
|
}]]);
|
|
43
49
|
};
|
|
44
50
|
}
|
|
45
|
-
}), [["__scopeId", "data-v-
|
|
51
|
+
}), [["__scopeId", "data-v-dff73750"]]);
|
|
46
52
|
//#endregion
|
|
47
53
|
export { UiDescriptionItem_default as t };
|
|
@@ -3,9 +3,9 @@ import { a as vPropValidity, n as checkedProp } from "./props.js";
|
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiDescriptionList.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
|
-
"data-columns",
|
|
7
|
-
"data-density",
|
|
8
|
-
"data-layout",
|
|
6
|
+
"data-ui-description-list-prop-columns",
|
|
7
|
+
"data-ui-description-list-prop-density",
|
|
8
|
+
"data-ui-description-list-prop-layout",
|
|
9
9
|
"data-ui-description-list-state"
|
|
10
10
|
];
|
|
11
11
|
//#endregion
|
|
@@ -97,7 +97,7 @@ var UiDescriptionList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
97
97
|
});
|
|
98
98
|
const reflectedProp = useReflectedProp();
|
|
99
99
|
checkHydratedRoot("dl", "ui-description-list");
|
|
100
|
-
/** The values the styles' :host
|
|
100
|
+
/** The values the styles' :host() prop and state rules test. */
|
|
101
101
|
const hostState = computed(() => [
|
|
102
102
|
checkedProps.value.layout && "layout",
|
|
103
103
|
checkedProps.value.layout != null && `layout=${encodeURIComponent(checkedProps.value.layout)}`,
|
|
@@ -108,9 +108,11 @@ var UiDescriptionList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
108
108
|
].filter(Boolean).join(" "));
|
|
109
109
|
return (_ctx, _cache) => {
|
|
110
110
|
return withDirectives((openBlock(), createElementBlock("dl", mergeProps({ class: "ui-description-list" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
111
|
-
"data-
|
|
112
|
-
"data-
|
|
113
|
-
"data-
|
|
111
|
+
"data-hn": "",
|
|
112
|
+
"data-hn-ui-description-list": "",
|
|
113
|
+
"data-ui-description-list-prop-columns": unref(reflectedProp)("columns", "columns", checkedProps.value.columns, void 0, false),
|
|
114
|
+
"data-ui-description-list-prop-density": unref(reflectedProp)("density", "density", checkedProps.value.density, void 0, false),
|
|
115
|
+
"data-ui-description-list-prop-layout": unref(reflectedProp)("layout", "layout", checkedProps.value.layout, void 0, false),
|
|
114
116
|
"data-ui-description-list-state": hostState.value || void 0
|
|
115
117
|
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
116
118
|
contract: propValidityContract,
|
|
@@ -118,6 +120,6 @@ var UiDescriptionList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
118
120
|
}]]);
|
|
119
121
|
};
|
|
120
122
|
}
|
|
121
|
-
}), [["__scopeId", "data-v-
|
|
123
|
+
}), [["__scopeId", "data-v-02bc630f"]]);
|
|
122
124
|
//#endregion
|
|
123
125
|
export { UiDescriptionList_default as t };
|