@threadlabs/looma 0.23.16 → 0.23.18
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 +1 -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/ui-tree.js +20 -1
- package/components/ui-tree-item/ui-tree-item.html +3 -3
- package/components/ui-tree-item/ui-tree-item.js +3 -0
- 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 +1 -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 +1 -1
- package/vanilla/UiIconButton.js +2 -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.vue +58 -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 +25 -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 +1302 -1302
- package/vue/editor/index.js +21 -10
- package/vue/host.ts +15 -3
|
@@ -144,6 +144,6 @@ var UiSearchResultRow_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
144
144
|
}]]);
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
-
}), [["__scopeId", "data-v-
|
|
147
|
+
}), [["__scopeId", "data-v-f2845661"]]);
|
|
148
148
|
//#endregion
|
|
149
149
|
export { UiSearchResultRow_default as t };
|
package/vue/chunks/UiSection.js
CHANGED
package/vue/chunks/UiSelect.js
CHANGED
package/vue/chunks/UiSidebar.js
CHANGED
package/vue/chunks/UiSpinner.js
CHANGED
|
@@ -81,7 +81,70 @@ var UiSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
81
81
|
if (value === null || value === void 0) return void 0;
|
|
82
82
|
return Array.isArray(value) && separator !== void 0 ? value.join(separator) : typeof value === "object" ? JSON.stringify(value) : String(value);
|
|
83
83
|
}
|
|
84
|
-
const
|
|
84
|
+
const hydrationInstance = getCurrentInstance();
|
|
85
|
+
let guardedPrevious = null;
|
|
86
|
+
const guarded = computed(() => {
|
|
87
|
+
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
88
|
+
true: "status",
|
|
89
|
+
false: null
|
|
90
|
+
}, concat(checkedProps.value.label !== "")) === Symbol.for("html-next.invalid-result")) return guardedPrevious;
|
|
91
|
+
return guardedPrevious = 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])({
|
|
92
|
+
true: "status",
|
|
93
|
+
false: null
|
|
94
|
+
}, concat(checkedProps.value.label !== "")));
|
|
95
|
+
});
|
|
96
|
+
let guardedBindingPrevious = null;
|
|
97
|
+
const guardedBinding = computed(() => {
|
|
98
|
+
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
99
|
+
true: checkedProps.value.label,
|
|
100
|
+
false: null
|
|
101
|
+
}, concat(checkedProps.value.label !== "")) === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
|
|
102
|
+
return guardedBindingPrevious = 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])({
|
|
103
|
+
true: checkedProps.value.label,
|
|
104
|
+
false: null
|
|
105
|
+
}, concat(checkedProps.value.label !== "")) === "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])({
|
|
106
|
+
true: checkedProps.value.label,
|
|
107
|
+
false: null
|
|
108
|
+
}, concat(checkedProps.value.label !== ""))) : 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])({
|
|
109
|
+
true: checkedProps.value.label,
|
|
110
|
+
false: null
|
|
111
|
+
}, concat(checkedProps.value.label !== "")));
|
|
112
|
+
});
|
|
113
|
+
let guardedBinding2Previous = null;
|
|
114
|
+
const guardedBinding2 = computed(() => {
|
|
115
|
+
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
116
|
+
true: "polite",
|
|
117
|
+
false: null
|
|
118
|
+
}, concat(checkedProps.value.label !== "")) === Symbol.for("html-next.invalid-result")) return guardedBinding2Previous;
|
|
119
|
+
return guardedBinding2Previous = 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])({
|
|
120
|
+
true: "polite",
|
|
121
|
+
false: null
|
|
122
|
+
}, concat(checkedProps.value.label !== "")) === "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])({
|
|
123
|
+
true: "polite",
|
|
124
|
+
false: null
|
|
125
|
+
}, concat(checkedProps.value.label !== ""))) : 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])({
|
|
126
|
+
true: "polite",
|
|
127
|
+
false: null
|
|
128
|
+
}, concat(checkedProps.value.label !== "")));
|
|
129
|
+
});
|
|
130
|
+
let guardedBinding3Previous = null;
|
|
131
|
+
const guardedBinding3 = computed(() => {
|
|
132
|
+
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
133
|
+
true: null,
|
|
134
|
+
false: "true"
|
|
135
|
+
}, concat(checkedProps.value.label !== "")) === Symbol.for("html-next.invalid-result")) return guardedBinding3Previous;
|
|
136
|
+
return guardedBinding3Previous = 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])({
|
|
137
|
+
true: null,
|
|
138
|
+
false: "true"
|
|
139
|
+
}, concat(checkedProps.value.label !== "")) === "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])({
|
|
140
|
+
true: null,
|
|
141
|
+
false: "true"
|
|
142
|
+
}, concat(checkedProps.value.label !== ""))) : 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])({
|
|
143
|
+
true: null,
|
|
144
|
+
false: "true"
|
|
145
|
+
}, concat(checkedProps.value.label !== "")));
|
|
146
|
+
});
|
|
147
|
+
const hydrationNode = hydrationInstance?.vnode.el;
|
|
85
148
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "span")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-spinner> has an incompatible root."), {
|
|
86
149
|
name: "HtmlDiagnosticError",
|
|
87
150
|
diagnostic: Object.freeze({
|
|
@@ -99,45 +162,21 @@ var UiSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
99
162
|
if (value === null || value === void 0 || value === false || typeof value === "object" && !Array.isArray(value)) return void 0;
|
|
100
163
|
return value === true ? "" : text(value);
|
|
101
164
|
}
|
|
165
|
+
function concat(...values) {
|
|
166
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
167
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
168
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
169
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
170
|
+
}
|
|
102
171
|
return (_ctx, _cache) => {
|
|
103
172
|
return withDirectives((openBlock(), createElementBlock("span", mergeProps({
|
|
104
173
|
"data-component": "ui-spinner",
|
|
105
174
|
class: "ring"
|
|
106
175
|
}, nativeAttrs(_ctx.$attrs), {
|
|
107
|
-
role:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"aria-label": typeof {
|
|
112
|
-
true: checkedProps.value.label,
|
|
113
|
-
false: null
|
|
114
|
-
}[`${checkedProps.value.label !== ""}`] === "boolean" ? String({
|
|
115
|
-
true: checkedProps.value.label,
|
|
116
|
-
false: null
|
|
117
|
-
}[`${checkedProps.value.label !== ""}`]) : attribute({
|
|
118
|
-
true: checkedProps.value.label,
|
|
119
|
-
false: null
|
|
120
|
-
}[`${checkedProps.value.label !== ""}`]),
|
|
121
|
-
"aria-live": typeof {
|
|
122
|
-
true: "polite",
|
|
123
|
-
false: null
|
|
124
|
-
}[`${checkedProps.value.label !== ""}`] === "boolean" ? String({
|
|
125
|
-
true: "polite",
|
|
126
|
-
false: null
|
|
127
|
-
}[`${checkedProps.value.label !== ""}`]) : attribute({
|
|
128
|
-
true: "polite",
|
|
129
|
-
false: null
|
|
130
|
-
}[`${checkedProps.value.label !== ""}`]),
|
|
131
|
-
"aria-hidden": typeof {
|
|
132
|
-
true: null,
|
|
133
|
-
false: "true"
|
|
134
|
-
}[`${checkedProps.value.label !== ""}`] === "boolean" ? String({
|
|
135
|
-
true: null,
|
|
136
|
-
false: "true"
|
|
137
|
-
}[`${checkedProps.value.label !== ""}`]) : attribute({
|
|
138
|
-
true: null,
|
|
139
|
-
false: "true"
|
|
140
|
-
}[`${checkedProps.value.label !== ""}`]),
|
|
176
|
+
role: guarded.value,
|
|
177
|
+
"aria-label": guardedBinding.value,
|
|
178
|
+
"aria-live": guardedBinding2.value,
|
|
179
|
+
"aria-hidden": guardedBinding3.value,
|
|
141
180
|
"data-label": reflectedProp("label", "label", checkedProps.value.label, void 0, false),
|
|
142
181
|
"data-size": reflectedProp("size", "size", checkedProps.value.size, void 0, false),
|
|
143
182
|
"data-ui-spinner-state": hostState.value || void 0
|
|
@@ -162,6 +201,6 @@ var UiSpinner_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
162
201
|
}]]);
|
|
163
202
|
};
|
|
164
203
|
}
|
|
165
|
-
}), [["__scopeId", "data-v-
|
|
204
|
+
}), [["__scopeId", "data-v-cbe9345e"]]);
|
|
166
205
|
//#endregion
|
|
167
206
|
export { UiSpinner_default as t };
|
package/vue/chunks/UiStack.js
CHANGED
|
@@ -112,7 +112,19 @@ var UiStatusMessage_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
112
112
|
if (value === null || value === void 0) return void 0;
|
|
113
113
|
return Array.isArray(value) && separator !== void 0 ? value.join(separator) : typeof value === "object" ? JSON.stringify(value) : String(value);
|
|
114
114
|
}
|
|
115
|
-
const
|
|
115
|
+
const hydrationInstance = getCurrentInstance();
|
|
116
|
+
let guardedPrevious = null;
|
|
117
|
+
const guarded = computed(() => {
|
|
118
|
+
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
119
|
+
true: "alert",
|
|
120
|
+
false: "status"
|
|
121
|
+
}, concat(checkedProps.value.kind === "error")) === Symbol.for("html-next.invalid-result")) return guardedPrevious;
|
|
122
|
+
return guardedPrevious = 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])({
|
|
123
|
+
true: "alert",
|
|
124
|
+
false: "status"
|
|
125
|
+
}, concat(checkedProps.value.kind === "error")));
|
|
126
|
+
});
|
|
127
|
+
const hydrationNode = hydrationInstance?.vnode.el;
|
|
116
128
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "div")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-status-message> has an incompatible root."), {
|
|
117
129
|
name: "HtmlDiagnosticError",
|
|
118
130
|
diagnostic: Object.freeze({
|
|
@@ -135,12 +147,15 @@ var UiStatusMessage_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
135
147
|
if (value === null || value === void 0 || value === false || typeof value === "object" && !Array.isArray(value)) return void 0;
|
|
136
148
|
return value === true ? "" : text(value);
|
|
137
149
|
}
|
|
150
|
+
function concat(...values) {
|
|
151
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
152
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
153
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
154
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
155
|
+
}
|
|
138
156
|
return (_ctx, _cache) => {
|
|
139
157
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-status-message" }, nativeAttrs(_ctx.$attrs), {
|
|
140
|
-
role:
|
|
141
|
-
true: "alert",
|
|
142
|
-
false: "status"
|
|
143
|
-
}[`${checkedProps.value.kind === "error"}`]),
|
|
158
|
+
role: guarded.value,
|
|
144
159
|
"data-heading": reflectedProp("heading", "heading", checkedProps.value.heading, void 0, false),
|
|
145
160
|
"data-kind": reflectedProp("kind", "kind", checkedProps.value.kind, void 0, false),
|
|
146
161
|
"data-layout": reflectedProp("layout", "layout", checkedProps.value.layout, void 0, false),
|
|
@@ -161,6 +176,6 @@ var UiStatusMessage_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
161
176
|
}]]);
|
|
162
177
|
};
|
|
163
178
|
}
|
|
164
|
-
}), [["__scopeId", "data-v-
|
|
179
|
+
}), [["__scopeId", "data-v-e8addea5"]]);
|
|
165
180
|
//#endregion
|
|
166
181
|
export { UiStatusMessage_default as t };
|
package/vue/chunks/UiSwitch.js
CHANGED
|
@@ -187,6 +187,11 @@ var UiSwitch_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
187
187
|
const inputElement = useTemplateRef("input");
|
|
188
188
|
const descriptionElement = useTemplateRef("description");
|
|
189
189
|
const internalChecked = ref(false);
|
|
190
|
+
let guardedPrevious;
|
|
191
|
+
computed(() => {
|
|
192
|
+
if (!(internalChecked.value == null || typeof internalChecked.value === "boolean")) return guardedPrevious;
|
|
193
|
+
return guardedPrevious = internalChecked.value;
|
|
194
|
+
});
|
|
190
195
|
provide("html-next:ui-switch:internalChecked", internalChecked);
|
|
191
196
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
192
197
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "label")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-switch> has an incompatible root."), {
|
|
@@ -273,6 +278,6 @@ var UiSwitch_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
273
278
|
}]]);
|
|
274
279
|
};
|
|
275
280
|
}
|
|
276
|
-
}), [["__scopeId", "data-v-
|
|
281
|
+
}), [["__scopeId", "data-v-d246ceab"]]);
|
|
277
282
|
//#endregion
|
|
278
283
|
export { UiSwitch_default as t };
|
package/vue/chunks/UiSwitcher.js
CHANGED
package/vue/chunks/UiTable.js
CHANGED
package/vue/chunks/UiTabs.js
CHANGED
|
@@ -268,6 +268,12 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
268
268
|
if (Array.isArray(value)) return value.map(text).join(" ");
|
|
269
269
|
return value === null || value === void 0 || typeof value === "object" ? "" : String(value);
|
|
270
270
|
}
|
|
271
|
+
function concat(...values) {
|
|
272
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
273
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
274
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
275
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
276
|
+
}
|
|
271
277
|
function uniqueKeys(items, keyOf) {
|
|
272
278
|
const seen = /* @__PURE__ */ new Set();
|
|
273
279
|
for (let index = 0; index < items.length; index += 1) {
|
|
@@ -314,7 +320,7 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
314
320
|
key: tab.id,
|
|
315
321
|
type: "button",
|
|
316
322
|
role: "tab",
|
|
317
|
-
id:
|
|
323
|
+
id: concat(tab.id, "-tab"),
|
|
318
324
|
value: tab.id,
|
|
319
325
|
"aria-controls": tab.id,
|
|
320
326
|
"aria-selected": tab.id === internalValue.value
|
|
@@ -327,6 +333,6 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
327
333
|
}]]);
|
|
328
334
|
};
|
|
329
335
|
}
|
|
330
|
-
}), [["__scopeId", "data-v-
|
|
336
|
+
}), [["__scopeId", "data-v-d0b49e9a"]]);
|
|
331
337
|
//#endregion
|
|
332
338
|
export { UiTabs_default as t };
|
package/vue/chunks/UiText.js
CHANGED
package/vue/chunks/UiTextarea.js
CHANGED
package/vue/chunks/UiToast.js
CHANGED
|
@@ -177,6 +177,12 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
177
177
|
if (Array.isArray(value)) return value.map(text).join(" ");
|
|
178
178
|
return value === null || value === void 0 || typeof value === "object" ? "" : String(value);
|
|
179
179
|
}
|
|
180
|
+
function concat(...values) {
|
|
181
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
182
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
183
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
184
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
185
|
+
}
|
|
180
186
|
function uniqueKeys(items, keyOf) {
|
|
181
187
|
const seen = /* @__PURE__ */ new Set();
|
|
182
188
|
for (let index = 0; index < items.length; index += 1) {
|
|
@@ -228,7 +234,7 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
228
234
|
size: "sm",
|
|
229
235
|
variant: "ghost",
|
|
230
236
|
round: true,
|
|
231
|
-
label:
|
|
237
|
+
label: concat("Dismiss ", toast.message)
|
|
232
238
|
}, {
|
|
233
239
|
default: withCtx(() => [createVNode(UiIcon_default, { name: "x" })]),
|
|
234
240
|
_: 1
|
|
@@ -241,6 +247,6 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
241
247
|
}]]);
|
|
242
248
|
};
|
|
243
249
|
}
|
|
244
|
-
}), [["__scopeId", "data-v-
|
|
250
|
+
}), [["__scopeId", "data-v-13dc0312"]]);
|
|
245
251
|
//#endregion
|
|
246
252
|
export { UiToastRegion_default as t };
|
package/vue/chunks/UiTooltip.js
CHANGED
package/vue/chunks/UiTopBar.js
CHANGED
package/vue/chunks/UiTree.js
CHANGED
package/vue/chunks/UiTreeItem.js
CHANGED
|
@@ -371,15 +371,51 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
371
371
|
if (!(structuralLevel.value == null || Number.isInteger(structuralLevel.value))) return guardedPrevious;
|
|
372
372
|
return guardedPrevious = structuralLevel.value;
|
|
373
373
|
});
|
|
374
|
-
let guardedBindingPrevious;
|
|
374
|
+
let guardedBindingPrevious = null;
|
|
375
375
|
const guardedBinding = computed(() => {
|
|
376
|
-
if (!(
|
|
377
|
-
|
|
376
|
+
if (!(moving.value == null || typeof moving.value === "boolean")) return guardedBindingPrevious;
|
|
377
|
+
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])((() => {
|
|
378
|
+
const value = {
|
|
379
|
+
true: concat("Cancel moving ", checkedProps.value.label),
|
|
380
|
+
false: concat("Drag ", checkedProps.value.label, " to reorder")
|
|
381
|
+
};
|
|
382
|
+
return Object.values(value).some((entry) => entry === Symbol.for("html-next.invalid-result")) ? Symbol.for("html-next.invalid-result") : value;
|
|
383
|
+
})(), concat(moving.value)) === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
|
|
384
|
+
return guardedBindingPrevious = 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])((() => {
|
|
385
|
+
const value = {
|
|
386
|
+
true: concat("Cancel moving ", checkedProps.value.label),
|
|
387
|
+
false: concat("Drag ", checkedProps.value.label, " to reorder")
|
|
388
|
+
};
|
|
389
|
+
return Object.values(value).some((entry) => entry === Symbol.for("html-next.invalid-result")) ? Symbol.for("html-next.invalid-result") : value;
|
|
390
|
+
})(), concat(moving.value)) === "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])((() => {
|
|
391
|
+
const value = {
|
|
392
|
+
true: concat("Cancel moving ", checkedProps.value.label),
|
|
393
|
+
false: concat("Drag ", checkedProps.value.label, " to reorder")
|
|
394
|
+
};
|
|
395
|
+
return Object.values(value).some((entry) => entry === Symbol.for("html-next.invalid-result")) ? Symbol.for("html-next.invalid-result") : value;
|
|
396
|
+
})(), concat(moving.value))) : 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])((() => {
|
|
397
|
+
const value = {
|
|
398
|
+
true: concat("Cancel moving ", checkedProps.value.label),
|
|
399
|
+
false: concat("Drag ", checkedProps.value.label, " to reorder")
|
|
400
|
+
};
|
|
401
|
+
return Object.values(value).some((entry) => entry === Symbol.for("html-next.invalid-result")) ? Symbol.for("html-next.invalid-result") : value;
|
|
402
|
+
})(), concat(moving.value)));
|
|
378
403
|
});
|
|
379
404
|
let guardedBinding2Previous;
|
|
380
405
|
const guardedBinding2 = computed(() => {
|
|
381
|
-
if (!(
|
|
382
|
-
return guardedBinding2Previous = !
|
|
406
|
+
if (!(isContainer.value == null || typeof isContainer.value === "boolean")) return guardedBinding2Previous;
|
|
407
|
+
return guardedBinding2Previous = !isContainer.value;
|
|
408
|
+
});
|
|
409
|
+
let guardedBinding3Previous = null;
|
|
410
|
+
const guardedBinding3 = computed(() => {
|
|
411
|
+
const candidate = concat("Select ", checkedProps.value.label);
|
|
412
|
+
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding3Previous;
|
|
413
|
+
return guardedBinding3Previous = candidate;
|
|
414
|
+
});
|
|
415
|
+
let guardedBinding4Previous;
|
|
416
|
+
const guardedBinding4 = computed(() => {
|
|
417
|
+
if (!((internalExpanded.value == null || typeof internalExpanded.value === "boolean") && (isContainer.value == null || typeof isContainer.value === "boolean"))) return guardedBinding4Previous;
|
|
418
|
+
return guardedBinding4Previous = !(isContainer.value && internalExpanded.value);
|
|
383
419
|
});
|
|
384
420
|
provide("html-next:ui-tree-item:internalExpanded", internalExpanded);
|
|
385
421
|
provide("html-next:ui-tree-item:structuralLevel", structuralLevel);
|
|
@@ -473,6 +509,12 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
473
509
|
if (value === null || value === void 0 || value === false || typeof value === "object" && !Array.isArray(value)) return void 0;
|
|
474
510
|
return value === true ? "" : text(value);
|
|
475
511
|
}
|
|
512
|
+
function concat(...values) {
|
|
513
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
514
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
515
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
516
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
517
|
+
}
|
|
476
518
|
return (_ctx, _cache) => {
|
|
477
519
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
478
520
|
"data-component": "ui-tree-item",
|
|
@@ -506,16 +548,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
506
548
|
class: "drag-handle",
|
|
507
549
|
type: "button",
|
|
508
550
|
draggable: "true",
|
|
509
|
-
"aria-label":
|
|
510
|
-
true: `Cancel moving ${checkedProps.value.label ?? ""}`,
|
|
511
|
-
false: `Drag ${checkedProps.value.label ?? ""} to reorder`
|
|
512
|
-
}[`${moving.value}`] === "boolean" ? String({
|
|
513
|
-
true: `Cancel moving ${checkedProps.value.label ?? ""}`,
|
|
514
|
-
false: `Drag ${checkedProps.value.label ?? ""} to reorder`
|
|
515
|
-
}[`${moving.value}`]) : attribute({
|
|
516
|
-
true: `Cancel moving ${checkedProps.value.label ?? ""}`,
|
|
517
|
-
false: `Drag ${checkedProps.value.label ?? ""} to reorder`
|
|
518
|
-
}[`${moving.value}`]),
|
|
551
|
+
"aria-label": guardedBinding.value,
|
|
519
552
|
ref: "dragHandle"
|
|
520
553
|
}, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
521
554
|
"aria-hidden": "true",
|
|
@@ -562,7 +595,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
562
595
|
class: "disclosure",
|
|
563
596
|
type: "button",
|
|
564
597
|
disabled: checkedProps.value.disabled ?? void 0,
|
|
565
|
-
hidden:
|
|
598
|
+
hidden: guardedBinding2.value,
|
|
566
599
|
ref: "disclosure"
|
|
567
600
|
}, [..._cache[1] || (_cache[1] = [createElementVNode("span", {
|
|
568
601
|
class: "disclosure-icon",
|
|
@@ -574,7 +607,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
574
607
|
tabindex: "-1",
|
|
575
608
|
"^checked": checkedProps.value.selected ? true : void 0,
|
|
576
609
|
disabled: checkedProps.value.disabled ?? void 0,
|
|
577
|
-
"aria-label":
|
|
610
|
+
"aria-label": guardedBinding3.value
|
|
578
611
|
}, null, 8, _hoisted_6)]),
|
|
579
612
|
createElementVNode("span", _hoisted_7, [renderSlot(_ctx.$slots, "leading")], 512),
|
|
580
613
|
createElementVNode("span", _hoisted_8, [createElementVNode("span", _hoisted_9, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(checkedProps.value.label), 1)])], 512)], 512),
|
|
@@ -597,7 +630,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
597
630
|
createElementVNode("div", {
|
|
598
631
|
class: "children",
|
|
599
632
|
role: "group",
|
|
600
|
-
hidden:
|
|
633
|
+
hidden: guardedBinding4.value,
|
|
601
634
|
ref: "children"
|
|
602
635
|
}, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_11),
|
|
603
636
|
_cache[4] || (_cache[4] = createElementVNode("span", {
|
|
@@ -610,6 +643,6 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
610
643
|
}]]);
|
|
611
644
|
};
|
|
612
645
|
}
|
|
613
|
-
}), [["__scopeId", "data-v-
|
|
646
|
+
}), [["__scopeId", "data-v-36fc3f01"]]);
|
|
614
647
|
//#endregion
|
|
615
648
|
export { UiTreeItem_default as t };
|
package/vue/chunks/props.js
CHANGED
|
@@ -344,10 +344,13 @@ function parse(value, node, path) {
|
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
346
|
return issue(path, "Unknown declared type.");
|
|
347
|
-
case "separated-list":
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
347
|
+
case "separated-list": {
|
|
348
|
+
const input = typeof value === "string" ? value.split(node.separator === "space" ? /\s+/ : /\s*,\s*/) : value;
|
|
349
|
+
return Array.isArray(input) && input.length > 0 && input.every((item) => typeof item === "string" && /^[A-Za-z0-9_-]+$/.test(item)) ? {
|
|
350
|
+
ok: true,
|
|
351
|
+
value: input
|
|
352
|
+
} : issue(path, "Must be a nonempty keyword list.");
|
|
353
|
+
}
|
|
351
354
|
case "keyword": return value === node.value ? {
|
|
352
355
|
ok: true,
|
|
353
356
|
value
|
|
@@ -490,13 +493,15 @@ function boundProblem(value, type, bounds) {
|
|
|
490
493
|
}
|
|
491
494
|
}
|
|
492
495
|
}
|
|
493
|
-
function checkedProp(value, type, _required, name, accepted) {
|
|
496
|
+
function checkedProp(value, type, _required, name, accepted, inputAccepted, htmlBoolean = true) {
|
|
494
497
|
if (value === void 0 || value === null) {
|
|
498
|
+
if (inputAccepted !== void 0) inputAccepted[name] = true;
|
|
495
499
|
if (accepted !== void 0) accepted[name] = null;
|
|
496
500
|
return null;
|
|
497
501
|
}
|
|
498
|
-
if (value === "" && type.kind === "terminal" && type.name === "boolean") value = true;
|
|
502
|
+
if (htmlBoolean && value === "" && type.kind === "terminal" && type.name === "boolean") value = true;
|
|
499
503
|
const result = parse(value, type, "$");
|
|
504
|
+
if (inputAccepted !== void 0) inputAccepted[name] = result.ok;
|
|
500
505
|
if (result.ok) {
|
|
501
506
|
if (accepted !== void 0) accepted[name] = result.value;
|
|
502
507
|
return result.value;
|