@threadlabs/looma 0.23.15 → 0.23.17
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-avatar/ui-avatar.html +1 -1
- package/components/ui-avatar-group/ui-avatar-group.html +1 -3
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
- package/components/ui-button/ui-button.html +4 -4
- package/components/ui-combobox/ui-combobox.html +19 -21
- package/components/ui-description-item/ui-description-item.html +1 -1
- package/components/ui-dialog/ui-dialog.html +1 -1
- package/components/ui-disclosure/ui-disclosure.html +1 -1
- package/components/ui-editable/ui-editable.html +4 -4
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +1 -1
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +2 -2
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +1 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +2 -2
- package/components/ui-icon-button/ui-icon-button.html +28 -1
- package/components/ui-listbox/ui-listbox.html +2 -2
- package/components/ui-menu-group/ui-menu-group.html +1 -1
- package/components/ui-menu-item/ui-menu-item.html +1 -1
- package/components/ui-meter/ui-meter.html +7 -8
- package/components/ui-nav-item/ui-nav-item.html +2 -2
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-section/ui-section.html +1 -1
- package/components/ui-spinner/ui-spinner.html +4 -4
- package/components/ui-status-message/ui-status-message.html +2 -2
- package/components/ui-tabs/ui-tabs.html +1 -1
- package/components/ui-toast-region/ui-toast-region.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +3 -3
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-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 +29 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-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 +9 -7
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +4 -4
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +2 -2
- 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 -1
- package/vanilla/UiCombobox.js +29 -25
- 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 +5 -5
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +16 -14
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +4 -4
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +35 -27
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +20 -18
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +27 -25
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +6 -4
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +9 -7
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +4 -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 +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +2 -2
- 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 +2 -1
- package/vanilla/UiIconButton.js +5 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- 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 +2 -2
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +4 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +2 -2
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +2 -2
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +2 -2
- 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 +4 -4
- 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 +4 -4
- 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 +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +4 -4
- 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 +2 -2
- 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 +1 -1
- 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 +4 -4
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +1 -1
- package/vue/UiAvatarGroup.vue +9 -2
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +55 -9
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +162 -37
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +8 -1
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.d.ts +1 -1
- package/vue/UiCombobox.vue +190 -73
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +1 -1
- package/vue/UiDisclosure.vue +1 -1
- package/vue/UiEditable.vue +9 -4
- package/vue/UiEditorInsertTableGrid.vue +19 -2
- package/vue/UiEditorMentionMenu.vue +20 -2
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +1 -1
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +46 -5
- package/vue/UiEditorTableOverlay.vue +55 -26
- package/vue/UiEditorTableToolbar.vue +46 -5
- package/vue/UiEditorToolbar.vue +1 -1
- 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.d.ts +9 -0
- package/vue/UiIconButton.vue +104 -14
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.vue +47 -13
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +46 -10
- package/vue/UiMeter.d.ts +2 -2
- package/vue/UiMeter.vue +675 -97
- package/vue/UiNavItem.vue +97 -39
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +8 -1
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +1 -1
- package/vue/UiSpinner.vue +159 -31
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +42 -4
- package/vue/UiSwitch.vue +8 -1
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +20 -2
- package/vue/UiText.d.ts +1 -1
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +20 -2
- package/vue/UiTooltip.vue +1 -1
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +113 -25
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +7 -2
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +27 -12
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +67 -29
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +6 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +155 -56
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +10 -5
- package/vue/chunks/UiEditorInsertTableGrid.js +18 -3
- package/vue/chunks/UiEditorMentionMenu.js +8 -2
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +13 -7
- package/vue/chunks/UiEditorTableOverlay.js +43 -23
- package/vue/chunks/UiEditorTableToolbar.js +13 -7
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +48 -11
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +29 -15
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +23 -9
- package/vue/chunks/UiMeter.js +373 -37
- package/vue/chunks/UiNavItem.js +67 -39
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +6 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +75 -36
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +21 -6
- package/vue/chunks/UiSwitch.js +6 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +8 -2
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +8 -2
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +52 -19
- package/vue/chunks/props.js +11 -6
- package/vue/components.css +1321 -1298
- package/vue/host.ts +15 -3
package/vue/chunks/UiCombobox.js
CHANGED
|
@@ -916,55 +916,148 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
916
916
|
const message = ref("");
|
|
917
917
|
const statusText = ref("");
|
|
918
918
|
const validationStatus = ref("pristine");
|
|
919
|
-
let guardedPrevious;
|
|
919
|
+
let guardedPrevious = null;
|
|
920
920
|
const guarded = computed(() => {
|
|
921
|
-
if (!(
|
|
922
|
-
|
|
921
|
+
if (!(uid.value == null || typeof uid.value === "string")) return guardedPrevious;
|
|
922
|
+
const candidate = concat(uid.value, "-input");
|
|
923
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedPrevious;
|
|
924
|
+
return guardedPrevious = candidate;
|
|
923
925
|
});
|
|
924
|
-
let guardedBindingPrevious;
|
|
926
|
+
let guardedBindingPrevious = null;
|
|
925
927
|
const guardedBinding = computed(() => {
|
|
926
|
-
if (!(
|
|
927
|
-
|
|
928
|
+
if (!(uid.value == null || typeof uid.value === "string")) return guardedBindingPrevious;
|
|
929
|
+
const candidate = concat(uid.value, "-input");
|
|
930
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
|
|
931
|
+
return guardedBindingPrevious = candidate;
|
|
928
932
|
});
|
|
929
|
-
let guardedBinding2Previous;
|
|
933
|
+
let guardedBinding2Previous = null;
|
|
930
934
|
const guardedBinding2 = computed(() => {
|
|
931
|
-
if (!(
|
|
932
|
-
|
|
935
|
+
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding2Previous;
|
|
936
|
+
const candidate = concat(uid.value, "-listbox");
|
|
937
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding2Previous;
|
|
938
|
+
return guardedBinding2Previous = candidate;
|
|
933
939
|
});
|
|
934
940
|
let guardedBinding3Previous;
|
|
935
941
|
const guardedBinding3 = computed(() => {
|
|
936
|
-
if (!(
|
|
937
|
-
return guardedBinding3Previous =
|
|
942
|
+
if (!(expanded.value == null || typeof expanded.value === "boolean")) return guardedBinding3Previous;
|
|
943
|
+
return guardedBinding3Previous = expanded.value;
|
|
938
944
|
});
|
|
939
945
|
let guardedBinding4Previous;
|
|
940
946
|
const guardedBinding4 = computed(() => {
|
|
941
|
-
if (!(
|
|
942
|
-
return guardedBinding4Previous =
|
|
947
|
+
if (!(validationStatus.value == null || typeof validationStatus.value === "string")) return guardedBinding4Previous;
|
|
948
|
+
return guardedBinding4Previous = checkedProps.value.invalid || validationStatus.value === "error";
|
|
943
949
|
});
|
|
944
950
|
let guardedBinding5Previous;
|
|
945
951
|
const guardedBinding5 = computed(() => {
|
|
946
|
-
if (!(
|
|
947
|
-
return guardedBinding5Previous = checkedProps.value.
|
|
952
|
+
if (!(validationStatus.value == null || typeof validationStatus.value === "string")) return guardedBinding5Previous;
|
|
953
|
+
return guardedBinding5Previous = checkedProps.value.loading || validationStatus.value === "pending";
|
|
948
954
|
});
|
|
949
955
|
let guardedBinding6Previous;
|
|
950
|
-
|
|
951
|
-
if (!(
|
|
952
|
-
return guardedBinding6Previous =
|
|
956
|
+
computed(() => {
|
|
957
|
+
if (!(display.value == null || typeof display.value === "string")) return guardedBinding6Previous;
|
|
958
|
+
return guardedBinding6Previous = display.value;
|
|
953
959
|
});
|
|
954
960
|
let guardedBinding7Previous;
|
|
955
961
|
const guardedBinding7 = computed(() => {
|
|
956
|
-
if (!(
|
|
957
|
-
return guardedBinding7Previous =
|
|
962
|
+
if (!(internalItems.value?.["0"] == null || typeof internalItems.value?.["0"] === "object" && internalItems.value?.["0"] !== null && !Array.isArray(internalItems.value?.["0"]))) return guardedBinding7Previous;
|
|
963
|
+
return guardedBinding7Previous = checkedProps.value.required && !(checkedProps.value.multiple && internalItems.value[0]);
|
|
958
964
|
});
|
|
959
965
|
let guardedBinding8Previous;
|
|
960
966
|
const guardedBinding8 = computed(() => {
|
|
961
|
-
if (!(
|
|
962
|
-
return guardedBinding8Previous =
|
|
967
|
+
if (!(submitted.value == null || typeof submitted.value === "string")) return guardedBinding8Previous;
|
|
968
|
+
return guardedBinding8Previous = submitted.value;
|
|
963
969
|
});
|
|
964
970
|
let guardedBinding9Previous;
|
|
965
971
|
const guardedBinding9 = computed(() => {
|
|
966
|
-
if (!(
|
|
967
|
-
return guardedBinding9Previous =
|
|
972
|
+
if (!((raw.value == null || typeof raw.value === "string") && (selected.value == null || typeof selected.value === "string"))) return guardedBinding9Previous;
|
|
973
|
+
return guardedBinding9Previous = checkedProps.value.disabled || checkedProps.value.readonly || !raw.value && (checkedProps.value.multiple || selected.value === null);
|
|
974
|
+
});
|
|
975
|
+
let guardedBinding10Previous = null;
|
|
976
|
+
const guardedBinding10 = computed(() => {
|
|
977
|
+
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding10Previous;
|
|
978
|
+
const candidate = concat(uid.value, "-listbox");
|
|
979
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding10Previous;
|
|
980
|
+
return guardedBinding10Previous = candidate;
|
|
981
|
+
});
|
|
982
|
+
let guardedBinding11Previous = null;
|
|
983
|
+
const guardedBinding11 = computed(() => {
|
|
984
|
+
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding11Previous;
|
|
985
|
+
const candidate = concat(uid.value, "-help");
|
|
986
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding11Previous;
|
|
987
|
+
return guardedBinding11Previous = candidate;
|
|
988
|
+
});
|
|
989
|
+
let guardedBinding12Previous = null;
|
|
990
|
+
const guardedBinding12 = computed(() => {
|
|
991
|
+
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding12Previous;
|
|
992
|
+
const candidate = concat(uid.value, "-help-text");
|
|
993
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding12Previous;
|
|
994
|
+
return guardedBinding12Previous = candidate;
|
|
995
|
+
});
|
|
996
|
+
let guardedBinding13Previous = null;
|
|
997
|
+
const guardedBinding13 = computed(() => {
|
|
998
|
+
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding13Previous;
|
|
999
|
+
const candidate = concat(uid.value, "-help");
|
|
1000
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding13Previous;
|
|
1001
|
+
return guardedBinding13Previous = candidate;
|
|
1002
|
+
});
|
|
1003
|
+
let guardedBinding14Previous;
|
|
1004
|
+
const guardedBinding14 = computed(() => {
|
|
1005
|
+
if (!(expanded.value == null || typeof expanded.value === "boolean")) return guardedBinding14Previous;
|
|
1006
|
+
return guardedBinding14Previous = !expanded.value;
|
|
1007
|
+
});
|
|
1008
|
+
let guardedBinding15Previous = null;
|
|
1009
|
+
const guardedBinding15 = computed(() => {
|
|
1010
|
+
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding15Previous;
|
|
1011
|
+
const candidate = concat(uid.value, "-listbox");
|
|
1012
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding15Previous;
|
|
1013
|
+
return guardedBinding15Previous = candidate;
|
|
1014
|
+
});
|
|
1015
|
+
let guardedBinding16Previous = null;
|
|
1016
|
+
const guardedBinding16 = computed(() => {
|
|
1017
|
+
const candidate = concat(checkedProps.value.label, " suggestions");
|
|
1018
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding16Previous;
|
|
1019
|
+
return guardedBinding16Previous = candidate;
|
|
1020
|
+
});
|
|
1021
|
+
let guardedBinding17Previous;
|
|
1022
|
+
const guardedBinding17 = computed(() => {
|
|
1023
|
+
if (!((active.value == null || Number.isInteger(active.value)) && (createIndex.value == null || Number.isInteger(createIndex.value)))) return guardedBinding17Previous;
|
|
1024
|
+
return guardedBinding17Previous = createIndex.value === active.value;
|
|
1025
|
+
});
|
|
1026
|
+
let guardedBinding18Previous = null;
|
|
1027
|
+
const guardedBinding18 = computed(() => {
|
|
1028
|
+
if (!((createIndex.value == null || Number.isInteger(createIndex.value)) && (uid.value == null || typeof uid.value === "string"))) return guardedBinding18Previous;
|
|
1029
|
+
const candidate = concat(uid.value, "-option-", createIndex.value);
|
|
1030
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding18Previous;
|
|
1031
|
+
return guardedBinding18Previous = candidate;
|
|
1032
|
+
});
|
|
1033
|
+
let guardedBinding19Previous;
|
|
1034
|
+
const guardedBinding19 = computed(() => {
|
|
1035
|
+
if (!(createIndex.value == null || Number.isInteger(createIndex.value))) return guardedBinding19Previous;
|
|
1036
|
+
return guardedBinding19Previous = createIndex.value;
|
|
1037
|
+
});
|
|
1038
|
+
let guardedBinding20Previous = null;
|
|
1039
|
+
const guardedBinding20 = computed(() => {
|
|
1040
|
+
if (!(raw.value == null || typeof raw.value === "string")) return guardedBinding20Previous;
|
|
1041
|
+
const candidate = concat("Create “", raw.value, "”");
|
|
1042
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding20Previous;
|
|
1043
|
+
return guardedBinding20Previous = candidate;
|
|
1044
|
+
});
|
|
1045
|
+
let guardedBinding21Previous;
|
|
1046
|
+
const guardedBinding21 = computed(() => {
|
|
1047
|
+
if (!(message.value == null || typeof message.value === "string")) return guardedBinding21Previous;
|
|
1048
|
+
return guardedBinding21Previous = message.value;
|
|
1049
|
+
});
|
|
1050
|
+
let guardedBinding22Previous = null;
|
|
1051
|
+
const guardedBinding22 = computed(() => {
|
|
1052
|
+
if (!(uid.value == null || typeof uid.value === "string")) return guardedBinding22Previous;
|
|
1053
|
+
const candidate = concat(uid.value, "-validation");
|
|
1054
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding22Previous;
|
|
1055
|
+
return guardedBinding22Previous = candidate;
|
|
1056
|
+
});
|
|
1057
|
+
let guardedBinding23Previous;
|
|
1058
|
+
const guardedBinding23 = computed(() => {
|
|
1059
|
+
if (!(statusText.value == null || typeof statusText.value === "string")) return guardedBinding23Previous;
|
|
1060
|
+
return guardedBinding23Previous = statusText.value;
|
|
968
1061
|
});
|
|
969
1062
|
provide("html-next:ui-combobox:internalItems", internalItems);
|
|
970
1063
|
provide("html-next:ui-combobox:raw", raw);
|
|
@@ -1192,6 +1285,12 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1192
1285
|
if (Array.isArray(value)) return value.map(text).join(" ");
|
|
1193
1286
|
return value === null || value === void 0 || typeof value === "object" ? "" : String(value);
|
|
1194
1287
|
}
|
|
1288
|
+
function concat(...values) {
|
|
1289
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
1290
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
1291
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
1292
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
1293
|
+
}
|
|
1195
1294
|
function uniqueKeys(items, keyOf) {
|
|
1196
1295
|
const seen = /* @__PURE__ */ new Set();
|
|
1197
1296
|
for (let index = 0; index < items.length; index += 1) {
|
|
@@ -1247,9 +1346,9 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1247
1346
|
ref: root
|
|
1248
1347
|
}), [
|
|
1249
1348
|
createElementVNode("label", {
|
|
1250
|
-
for:
|
|
1349
|
+
for: guarded.value,
|
|
1251
1350
|
class: normalizeClass({ "sr-only": checkedProps.value.labelVisibility === "sr-only" })
|
|
1252
|
-
}, [createTextVNode(toDisplayString(checkedProps.value.label)
|
|
1351
|
+
}, [createTextVNode(toDisplayString(checkedProps.value.label), 1), checkedProps.value.required ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(" *")], 64)) : createCommentVNode("v-if", true)], 10, _hoisted_2),
|
|
1253
1352
|
createElementVNode("div", _hoisted_3, [createElementVNode("div", _hoisted_4, [
|
|
1254
1353
|
createElementVNode("div", _hoisted_5, [
|
|
1255
1354
|
renderSlot(_ctx.$slots, "start", {}, void 0, true),
|
|
@@ -1262,8 +1361,8 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1262
1361
|
tabindex: "-1",
|
|
1263
1362
|
"data-index": index,
|
|
1264
1363
|
disabled: checkedProps.value.disabled || checkedProps.value.readonly || item.disabled,
|
|
1265
|
-
"aria-label":
|
|
1266
|
-
}, [renderSlot(_ctx.$slots,
|
|
1364
|
+
"aria-label": concat(item.label, ", press Delete or Backspace to remove")
|
|
1365
|
+
}, [renderSlot(_ctx.$slots, concat("item-", item.id), {}, () => [createVNode(UiBadge_default, null, {
|
|
1267
1366
|
default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
|
|
1268
1367
|
_: 2
|
|
1269
1368
|
}, 1024)], true)], 8, _hoisted_6);
|
|
@@ -1274,15 +1373,15 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1274
1373
|
role: "combobox",
|
|
1275
1374
|
"aria-autocomplete": "list",
|
|
1276
1375
|
autocomplete: "off",
|
|
1277
|
-
id:
|
|
1278
|
-
"aria-controls":
|
|
1279
|
-
"aria-expanded":
|
|
1280
|
-
"aria-invalid":
|
|
1281
|
-
"aria-busy":
|
|
1376
|
+
id: guardedBinding.value,
|
|
1377
|
+
"aria-controls": guardedBinding2.value,
|
|
1378
|
+
"aria-expanded": guardedBinding3.value,
|
|
1379
|
+
"aria-invalid": guardedBinding4.value,
|
|
1380
|
+
"aria-busy": guardedBinding5.value,
|
|
1282
1381
|
placeholder: checkedProps.value.placeholder ?? void 0,
|
|
1283
1382
|
disabled: checkedProps.value.disabled ?? void 0,
|
|
1284
1383
|
readonly: checkedProps.value.readonly ?? void 0,
|
|
1285
|
-
required:
|
|
1384
|
+
required: guardedBinding7.value,
|
|
1286
1385
|
ref: "input"
|
|
1287
1386
|
}, null, 8, _hoisted_7), [[unref(vBindControl), {
|
|
1288
1387
|
tag: "input",
|
|
@@ -1296,7 +1395,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1296
1395
|
key: 0,
|
|
1297
1396
|
type: "hidden",
|
|
1298
1397
|
name: checkedProps.value.name ?? void 0,
|
|
1299
|
-
"^value":
|
|
1398
|
+
"^value": guardedBinding8.value,
|
|
1300
1399
|
disabled: checkedProps.value.disabled ?? void 0
|
|
1301
1400
|
}, null, 8, _hoisted_8)) : createCommentVNode("v-if", true),
|
|
1302
1401
|
checkedProps.value.name && checkedProps.value.multiple ? (openBlock(), createBlock(unref(KeyedBoundary), { key: 1 }, {
|
|
@@ -1316,7 +1415,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1316
1415
|
type: "button",
|
|
1317
1416
|
"data-combobox-action": "clear",
|
|
1318
1417
|
"aria-label": "Clear",
|
|
1319
|
-
disabled:
|
|
1418
|
+
disabled: guardedBinding9.value
|
|
1320
1419
|
}, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
1321
1420
|
class: "affordance-icon",
|
|
1322
1421
|
"aria-hidden": "true",
|
|
@@ -1332,7 +1431,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1332
1431
|
"data-combobox-action": "disclosure",
|
|
1333
1432
|
tabindex: "-1",
|
|
1334
1433
|
"aria-label": "Show suggestions",
|
|
1335
|
-
"aria-controls":
|
|
1434
|
+
"aria-controls": guardedBinding10.value,
|
|
1336
1435
|
disabled: checkedProps.value.disabled || checkedProps.value.readonly
|
|
1337
1436
|
}, [..._cache[1] || (_cache[1] = [createElementVNode("svg", {
|
|
1338
1437
|
class: "affordance-icon",
|
|
@@ -1349,7 +1448,7 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1349
1448
|
class: "help",
|
|
1350
1449
|
type: "button",
|
|
1351
1450
|
"aria-label": "Help",
|
|
1352
|
-
id:
|
|
1451
|
+
id: guardedBinding11.value,
|
|
1353
1452
|
disabled: checkedProps.value.disabled ?? void 0
|
|
1354
1453
|
}, [..._cache[2] || (_cache[2] = [createElementVNode("svg", {
|
|
1355
1454
|
class: "help-icon",
|
|
@@ -1372,20 +1471,20 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1372
1471
|
checkedProps.value.help ? (openBlock(), createBlock(UiTooltip_default, {
|
|
1373
1472
|
key: 0,
|
|
1374
1473
|
trigger: "click",
|
|
1375
|
-
id:
|
|
1376
|
-
for:
|
|
1474
|
+
id: guardedBinding12.value,
|
|
1475
|
+
for: guardedBinding13.value
|
|
1377
1476
|
}, {
|
|
1378
1477
|
default: withCtx(() => [createTextVNode(toDisplayString(checkedProps.value.help), 1)]),
|
|
1379
1478
|
_: 1
|
|
1380
1479
|
}, 8, ["id", "for"])) : createCommentVNode("v-if", true),
|
|
1381
1480
|
createElementVNode("div", {
|
|
1382
1481
|
class: "popup",
|
|
1383
|
-
hidden:
|
|
1482
|
+
hidden: guardedBinding14.value,
|
|
1384
1483
|
ref: "popup"
|
|
1385
1484
|
}, [createElementVNode("div", {
|
|
1386
1485
|
role: "listbox",
|
|
1387
|
-
id:
|
|
1388
|
-
"aria-label":
|
|
1486
|
+
id: guardedBinding15.value,
|
|
1487
|
+
"aria-label": guardedBinding16.value,
|
|
1389
1488
|
"aria-busy": checkedProps.value.loading ?? void 0,
|
|
1390
1489
|
ref: "listbox"
|
|
1391
1490
|
}, [
|
|
@@ -1403,26 +1502,26 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1403
1502
|
role: "option",
|
|
1404
1503
|
"data-ui-choice-option": "",
|
|
1405
1504
|
"data-multiple": checkedProps.value.multiple ? "" : void 0,
|
|
1406
|
-
id:
|
|
1505
|
+
id: concat(uid.value, "-option-", row.index),
|
|
1407
1506
|
"aria-selected": row.selected,
|
|
1408
1507
|
"aria-disabled": row.disabled,
|
|
1409
1508
|
"data-index": row.index,
|
|
1410
1509
|
"aria-labelledby": row.labelledBy ?? void 0,
|
|
1411
1510
|
"aria-describedby": row.detail ?? void 0
|
|
1412
|
-
}, [renderSlot(_ctx.$slots,
|
|
1511
|
+
}, [renderSlot(_ctx.$slots, concat("option-", row.id), {}, () => [row.detail ? (openBlock(), createElementBlock("span", _hoisted_18, [createElementVNode("span", _hoisted_19, [createElementVNode("span", {
|
|
1413
1512
|
class: "primary",
|
|
1414
|
-
id:
|
|
1513
|
+
id: concat(uid.value, "-option-", row.index, "-label")
|
|
1415
1514
|
}, toDisplayString(row.label), 9, _hoisted_20), row.tag ? (openBlock(), createBlock(UiBadge_default, {
|
|
1416
1515
|
key: 0,
|
|
1417
1516
|
tone: row.tag?.tone,
|
|
1418
1517
|
style: normalizeStyle({ "--ui-badge-color": row.tag?.color ?? void 0 })
|
|
1419
1518
|
}, {
|
|
1420
|
-
default: withCtx(() => [createElementVNode("span", { id:
|
|
1519
|
+
default: withCtx(() => [createElementVNode("span", { id: concat(uid.value, "-option-", row.index, "-tag") }, toDisplayString(row.tag?.label), 9, _hoisted_21)]),
|
|
1421
1520
|
_: 2
|
|
1422
1521
|
}, 1032, ["tone", "style"])) : createCommentVNode("v-if", true)]), row.description ? (openBlock(), createElementBlock("span", {
|
|
1423
1522
|
key: 0,
|
|
1424
1523
|
class: "description",
|
|
1425
|
-
id:
|
|
1524
|
+
id: concat(uid.value, "-option-", row.index, "-description")
|
|
1426
1525
|
}, toDisplayString(row.description), 9, _hoisted_22)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), !row.detail ? (openBlock(), createElementBlock("span", _hoisted_23, toDisplayString(row.label), 1)) : createCommentVNode("v-if", true)], true)], 10, _hoisted_17);
|
|
1427
1526
|
}), 128))]),
|
|
1428
1527
|
_: 2
|
|
@@ -1432,25 +1531,25 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1432
1531
|
}),
|
|
1433
1532
|
creatable.value ? (openBlock(), createElementBlock("div", {
|
|
1434
1533
|
key: 0,
|
|
1435
|
-
class: normalizeClass(["option", { active:
|
|
1534
|
+
class: normalizeClass(["option", { active: guardedBinding17.value }]),
|
|
1436
1535
|
role: "option",
|
|
1437
1536
|
"data-ui-choice-option": "",
|
|
1438
1537
|
"aria-selected": "false",
|
|
1439
1538
|
"data-multiple": checkedProps.value.multiple ? "" : void 0,
|
|
1440
|
-
id:
|
|
1441
|
-
"data-index":
|
|
1442
|
-
}, toDisplayString(
|
|
1443
|
-
message.value ? (openBlock(), createElementBlock("div", _hoisted_25, toDisplayString(
|
|
1539
|
+
id: guardedBinding18.value,
|
|
1540
|
+
"data-index": guardedBinding19.value
|
|
1541
|
+
}, toDisplayString(guardedBinding20.value), 11, _hoisted_24)) : createCommentVNode("v-if", true),
|
|
1542
|
+
message.value ? (openBlock(), createElementBlock("div", _hoisted_25, toDisplayString(guardedBinding21.value), 1)) : createCommentVNode("v-if", true),
|
|
1444
1543
|
!checkedProps.value.loading && !rows.value[0] && !creatable.value && !lookupError.value ? (openBlock(), createElementBlock("div", _hoisted_26, [renderSlot(_ctx.$slots, "empty", {}, () => [_cache[3] || (_cache[3] = createTextVNode("No suggestions.", -1))], true)])) : createCommentVNode("v-if", true)
|
|
1445
1544
|
], 8, _hoisted_14), renderSlot(_ctx.$slots, "footer", {}, void 0, true)], 8, _hoisted_13),
|
|
1446
1545
|
createElementVNode("div", {
|
|
1447
1546
|
class: "message",
|
|
1448
|
-
id:
|
|
1547
|
+
id: guardedBinding22.value,
|
|
1449
1548
|
hidden: !validation.value.issues.length
|
|
1450
1549
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(validation.value.issues, (issue, indexLoop3) => {
|
|
1451
1550
|
return openBlock(), createElementBlock("div", { key: indexLoop3 }, toDisplayString(issue.message), 1);
|
|
1452
1551
|
}), 128))], 8, _hoisted_27),
|
|
1453
|
-
createElementVNode("div", _hoisted_28, toDisplayString(
|
|
1552
|
+
createElementVNode("div", _hoisted_28, toDisplayString(guardedBinding23.value), 1),
|
|
1454
1553
|
createElementVNode("div", _hoisted_29, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)
|
|
1455
1554
|
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
1456
1555
|
contract: propValidityContract,
|
|
@@ -1458,6 +1557,6 @@ var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
1458
1557
|
}]]);
|
|
1459
1558
|
};
|
|
1460
1559
|
}
|
|
1461
|
-
}), [["__scopeId", "data-v-
|
|
1560
|
+
}), [["__scopeId", "data-v-3fe0639a"]]);
|
|
1462
1561
|
//#endregion
|
|
1463
1562
|
export { UiCombobox_default as t };
|
package/vue/chunks/UiCover.js
CHANGED
|
@@ -136,6 +136,6 @@ var UiDescriptionList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
136
136
|
}]]);
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
}), [["__scopeId", "data-v-
|
|
139
|
+
}), [["__scopeId", "data-v-7b35900e"]]);
|
|
140
140
|
//#endregion
|
|
141
141
|
export { UiDescriptionList_default as t };
|
package/vue/chunks/UiDialog.js
CHANGED
package/vue/chunks/UiEditable.js
CHANGED
|
@@ -305,9 +305,14 @@ var UiEditable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
305
305
|
return guardedPrevious = internalValue.value;
|
|
306
306
|
});
|
|
307
307
|
let guardedBindingPrevious;
|
|
308
|
-
|
|
309
|
-
if (!(
|
|
310
|
-
return guardedBindingPrevious =
|
|
308
|
+
computed(() => {
|
|
309
|
+
if (!(draft.value == null || typeof draft.value === "string")) return guardedBindingPrevious;
|
|
310
|
+
return guardedBindingPrevious = draft.value;
|
|
311
|
+
});
|
|
312
|
+
let guardedBinding2Previous;
|
|
313
|
+
const guardedBinding2 = computed(() => {
|
|
314
|
+
if (!(internalEdit.value == null || typeof internalEdit.value === "boolean")) return guardedBinding2Previous;
|
|
315
|
+
return guardedBinding2Previous = checkedProps.value.disabled || !internalEdit.value;
|
|
311
316
|
});
|
|
312
317
|
provide("html-next:ui-editable:internalEdit", internalEdit);
|
|
313
318
|
provide("html-next:ui-editable:internalValue", internalValue);
|
|
@@ -408,7 +413,7 @@ var UiEditable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
408
413
|
"aria-label": checkedProps.value.label ?? void 0,
|
|
409
414
|
placeholder: checkedProps.value.placeholder ?? void 0,
|
|
410
415
|
required: checkedProps.value.required ?? void 0,
|
|
411
|
-
disabled:
|
|
416
|
+
disabled: guardedBinding2.value,
|
|
412
417
|
ref: "input"
|
|
413
418
|
}, null, 8, _hoisted_6), [[unref(vBindControl), {
|
|
414
419
|
tag: "input",
|
|
@@ -422,6 +427,6 @@ var UiEditable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
422
427
|
}]]);
|
|
423
428
|
};
|
|
424
429
|
}
|
|
425
|
-
}), [["__scopeId", "data-v-
|
|
430
|
+
}), [["__scopeId", "data-v-bd16471c"]]);
|
|
426
431
|
//#endregion
|
|
427
432
|
export { UiEditable_default as t };
|
|
@@ -171,6 +171,21 @@ var UiEditorInsertTableGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
171
171
|
if (!(hint.value == null || typeof hint.value === "string")) return guardedPrevious;
|
|
172
172
|
return guardedPrevious = hint.value;
|
|
173
173
|
});
|
|
174
|
+
let guardedBindingPrevious;
|
|
175
|
+
const guardedBinding = computed(() => {
|
|
176
|
+
if (!(rows.value == null || Number.isInteger(rows.value))) return guardedBindingPrevious;
|
|
177
|
+
return guardedBindingPrevious = rows.value;
|
|
178
|
+
});
|
|
179
|
+
let guardedBinding2Previous;
|
|
180
|
+
const guardedBinding2 = computed(() => {
|
|
181
|
+
if (!(cols.value == null || Number.isInteger(cols.value))) return guardedBinding2Previous;
|
|
182
|
+
return guardedBinding2Previous = cols.value;
|
|
183
|
+
});
|
|
184
|
+
let guardedBinding3Previous;
|
|
185
|
+
computed(() => {
|
|
186
|
+
if (!(withHeaderRow.value == null || typeof withHeaderRow.value === "boolean")) return guardedBinding3Previous;
|
|
187
|
+
return guardedBinding3Previous = withHeaderRow.value;
|
|
188
|
+
});
|
|
174
189
|
provide("html-next:ui-editor-insert-table-grid:cells", cells);
|
|
175
190
|
provide("html-next:ui-editor-insert-table-grid:rows", rows);
|
|
176
191
|
provide("html-next:ui-editor-insert-table-grid:cols", cols);
|
|
@@ -268,8 +283,8 @@ var UiEditorInsertTableGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
268
283
|
role: "group",
|
|
269
284
|
"aria-label": "Table dimensions",
|
|
270
285
|
style: normalizeStyle({
|
|
271
|
-
"--_rows":
|
|
272
|
-
"--_cols":
|
|
286
|
+
"--_rows": guardedBinding.value,
|
|
287
|
+
"--_cols": guardedBinding2.value
|
|
273
288
|
}),
|
|
274
289
|
ref: "grid"
|
|
275
290
|
}, [createVNode(unref(KeyedBoundary), null, {
|
|
@@ -300,6 +315,6 @@ var UiEditorInsertTableGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
300
315
|
}]]);
|
|
301
316
|
};
|
|
302
317
|
}
|
|
303
|
-
}), [["__scopeId", "data-v-
|
|
318
|
+
}), [["__scopeId", "data-v-84f2fce8"]]);
|
|
304
319
|
//#endregion
|
|
305
320
|
export { UiEditorInsertTableGrid_default as t };
|
|
@@ -502,6 +502,12 @@ var UiEditorMentionMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_defaul
|
|
|
502
502
|
prefix
|
|
503
503
|
}
|
|
504
504
|
});
|
|
505
|
+
function concat(...values) {
|
|
506
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
507
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
508
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
509
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
510
|
+
}
|
|
505
511
|
return (_ctx, _cache) => {
|
|
506
512
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
507
513
|
"data-component": "ui-editor-mention-menu",
|
|
@@ -527,7 +533,7 @@ var UiEditorMentionMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_defaul
|
|
|
527
533
|
key: index,
|
|
528
534
|
class: normalizeClass(["item", { active: index === active.value }]),
|
|
529
535
|
role: "option",
|
|
530
|
-
id:
|
|
536
|
+
id: concat(prefix.value, "-option-", index),
|
|
531
537
|
"aria-selected": index === active.value,
|
|
532
538
|
"data-index": index,
|
|
533
539
|
"data-value": row.id
|
|
@@ -540,6 +546,6 @@ var UiEditorMentionMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_defaul
|
|
|
540
546
|
}]]);
|
|
541
547
|
};
|
|
542
548
|
}
|
|
543
|
-
}), [["__scopeId", "data-v-
|
|
549
|
+
}), [["__scopeId", "data-v-b76735ad"]]);
|
|
544
550
|
//#endregion
|
|
545
551
|
export { UiEditorMentionMenu_default as t };
|
|
@@ -128,6 +128,6 @@ var UiEditorMentionMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_de
|
|
|
128
128
|
}]]);
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
}), [["__scopeId", "data-v-
|
|
131
|
+
}), [["__scopeId", "data-v-fca23fb5"]]);
|
|
132
132
|
//#endregion
|
|
133
133
|
export { UiEditorMentionMenuItem_default as t };
|
|
@@ -479,6 +479,6 @@ var UiEditorSlashMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
479
479
|
}]]);
|
|
480
480
|
};
|
|
481
481
|
}
|
|
482
|
-
}), [["__scopeId", "data-v-
|
|
482
|
+
}), [["__scopeId", "data-v-937b7700"]]);
|
|
483
483
|
//#endregion
|
|
484
484
|
export { UiEditorSlashMenu_default as t };
|
|
@@ -174,6 +174,6 @@ var UiEditorSlashMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_defa
|
|
|
174
174
|
}]]);
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
|
-
}), [["__scopeId", "data-v-
|
|
177
|
+
}), [["__scopeId", "data-v-1545f441"]]);
|
|
178
178
|
//#endregion
|
|
179
179
|
export { UiEditorSlashMenuItem_default as t };
|
|
@@ -333,6 +333,12 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
333
333
|
if (value === null || value === void 0 || value === false || typeof value === "object" && !Array.isArray(value)) return void 0;
|
|
334
334
|
return value === true ? "" : text(value);
|
|
335
335
|
}
|
|
336
|
+
function concat(...values) {
|
|
337
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
338
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
339
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
340
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
341
|
+
}
|
|
336
342
|
function uniqueKeys(items, keyOf) {
|
|
337
343
|
const seen = /* @__PURE__ */ new Set();
|
|
338
344
|
for (let index = 0; index < items.length; index += 1) {
|
|
@@ -395,20 +401,20 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
395
401
|
return openBlock(), createElementBlock("button", {
|
|
396
402
|
key: item.action,
|
|
397
403
|
type: "button",
|
|
398
|
-
role: attribute({
|
|
404
|
+
role: attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
399
405
|
true: "menuitemcheckbox",
|
|
400
406
|
false: "menuitem"
|
|
401
|
-
}
|
|
402
|
-
"aria-checked": typeof {
|
|
407
|
+
}, concat(item.checkable))),
|
|
408
|
+
"aria-checked": typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
403
409
|
true: item.checked,
|
|
404
410
|
false: null
|
|
405
|
-
}
|
|
411
|
+
}, concat(item.checkable)) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
406
412
|
true: item.checked,
|
|
407
413
|
false: null
|
|
408
|
-
}
|
|
414
|
+
}, concat(item.checkable))) : attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
409
415
|
true: item.checked,
|
|
410
416
|
false: null
|
|
411
|
-
}
|
|
417
|
+
}, concat(item.checkable))),
|
|
412
418
|
"data-action": item.action,
|
|
413
419
|
class: normalizeClass({ danger: item.danger })
|
|
414
420
|
}, [createVNode(UiIcon_default, { name: item.icon }, null, 8, ["name"]), createElementVNode("span", null, toDisplayString(item.label), 1)], 10, _hoisted_8);
|
|
@@ -423,6 +429,6 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
|
|
|
423
429
|
}]]);
|
|
424
430
|
};
|
|
425
431
|
}
|
|
426
|
-
}), [["__scopeId", "data-v-
|
|
432
|
+
}), [["__scopeId", "data-v-094bb3a8"]]);
|
|
427
433
|
//#endregion
|
|
428
434
|
export { UiEditorTableContextMenu_default as t };
|