@threadlabs/looma 0.23.16 → 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 +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-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 +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/host.ts +15 -3
package/vue/UiToast.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiToastRegion.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import {
|
|
4
4
|
computed,
|
|
@@ -242,6 +242,24 @@ function text(value: unknown): string {
|
|
|
242
242
|
return value === null || value === undefined || typeof value === 'object' ? '' : String(value)
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
// A nonempty scalar call cannot produce the invalid-result sentinel.
|
|
246
|
+
type ConcatResult<T extends unknown[]> = T extends
|
|
247
|
+
[
|
|
248
|
+
string | number | boolean | null | undefined,
|
|
249
|
+
...(string | number | boolean | null | undefined)[],
|
|
250
|
+
] ? string | undefined
|
|
251
|
+
: string | symbol | undefined
|
|
252
|
+
function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
|
|
253
|
+
if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
|
|
254
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
255
|
+
}
|
|
256
|
+
if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
|
|
257
|
+
if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
|
|
258
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
259
|
+
}
|
|
260
|
+
return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
|
|
261
|
+
}
|
|
262
|
+
|
|
245
263
|
function uniqueKeys<T>(
|
|
246
264
|
items: readonly T[],
|
|
247
265
|
keyOf: (
|
|
@@ -300,7 +318,7 @@ function uniqueKeys<T>(
|
|
|
300
318
|
size="sm"
|
|
301
319
|
variant="ghost"
|
|
302
320
|
:round="true"
|
|
303
|
-
:label="
|
|
321
|
+
:label="concat('Dismiss ', toast.message)"
|
|
304
322
|
><UiIcon name="x" /></UiIconButton></span>
|
|
305
323
|
</div></KeyedBoundary>
|
|
306
324
|
</div>
|
package/vue/UiTooltip.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiTopBar.vue
CHANGED
package/vue/UiTree.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiTreeItem.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -325,20 +325,105 @@ const guarded = computed(() => {
|
|
|
325
325
|
}
|
|
326
326
|
return guardedPrevious = structuralLevel.value
|
|
327
327
|
})
|
|
328
|
-
let guardedBindingPrevious: any
|
|
328
|
+
let guardedBindingPrevious: any = null
|
|
329
329
|
const guardedBinding = computed(() => {
|
|
330
|
-
if (!(
|
|
330
|
+
if (!(moving.value == null || typeof moving.value === 'boolean')) return guardedBindingPrevious
|
|
331
|
+
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
332
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
333
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
334
|
+
? Symbol.for('html-next.invalid-result')
|
|
335
|
+
: objectValue[indexValue])(
|
|
336
|
+
(() => {
|
|
337
|
+
const value = {
|
|
338
|
+
true: concat('Cancel moving ', checkedProps.value.label),
|
|
339
|
+
false: concat('Drag ', checkedProps.value.label, ' to reorder'),
|
|
340
|
+
}
|
|
341
|
+
return Object.values(value).some((entry: unknown) =>
|
|
342
|
+
entry === Symbol.for('html-next.invalid-result')
|
|
343
|
+
)
|
|
344
|
+
? Symbol.for('html-next.invalid-result')
|
|
345
|
+
: value
|
|
346
|
+
})(),
|
|
347
|
+
concat(moving.value),
|
|
348
|
+
)
|
|
349
|
+
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
331
350
|
return guardedBindingPrevious
|
|
332
351
|
}
|
|
333
|
-
return guardedBindingPrevious =
|
|
352
|
+
return guardedBindingPrevious = typeof (((objectValue: any, indexValue: any) =>
|
|
353
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
354
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
355
|
+
? Symbol.for('html-next.invalid-result')
|
|
356
|
+
: objectValue[indexValue])(
|
|
357
|
+
(() => {
|
|
358
|
+
const value = {
|
|
359
|
+
true: concat('Cancel moving ', checkedProps.value.label),
|
|
360
|
+
false: concat('Drag ', checkedProps.value.label, ' to reorder'),
|
|
361
|
+
}
|
|
362
|
+
return Object.values(value).some((entry: unknown) =>
|
|
363
|
+
entry === Symbol.for('html-next.invalid-result')
|
|
364
|
+
)
|
|
365
|
+
? Symbol.for('html-next.invalid-result')
|
|
366
|
+
: value
|
|
367
|
+
})(),
|
|
368
|
+
concat(moving.value),
|
|
369
|
+
)) === 'boolean'
|
|
370
|
+
? String(((objectValue: any, indexValue: any) =>
|
|
371
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
372
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
373
|
+
? Symbol.for('html-next.invalid-result')
|
|
374
|
+
: objectValue[indexValue])(
|
|
375
|
+
(() => {
|
|
376
|
+
const value = {
|
|
377
|
+
true: concat('Cancel moving ', checkedProps.value.label),
|
|
378
|
+
false: concat('Drag ', checkedProps.value.label, ' to reorder'),
|
|
379
|
+
}
|
|
380
|
+
return Object.values(value).some((entry: unknown) =>
|
|
381
|
+
entry === Symbol.for('html-next.invalid-result')
|
|
382
|
+
)
|
|
383
|
+
? Symbol.for('html-next.invalid-result')
|
|
384
|
+
: value
|
|
385
|
+
})(),
|
|
386
|
+
concat(moving.value),
|
|
387
|
+
))
|
|
388
|
+
: attribute(((objectValue: any, indexValue: any) =>
|
|
389
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
390
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
391
|
+
? Symbol.for('html-next.invalid-result')
|
|
392
|
+
: objectValue[indexValue])(
|
|
393
|
+
(() => {
|
|
394
|
+
const value = {
|
|
395
|
+
true: concat('Cancel moving ', checkedProps.value.label),
|
|
396
|
+
false: concat('Drag ', checkedProps.value.label, ' to reorder'),
|
|
397
|
+
}
|
|
398
|
+
return Object.values(value).some((entry: unknown) =>
|
|
399
|
+
entry === Symbol.for('html-next.invalid-result')
|
|
400
|
+
)
|
|
401
|
+
? Symbol.for('html-next.invalid-result')
|
|
402
|
+
: value
|
|
403
|
+
})(),
|
|
404
|
+
concat(moving.value),
|
|
405
|
+
))
|
|
334
406
|
})
|
|
335
407
|
let guardedBinding2Previous: any
|
|
336
408
|
const guardedBinding2 = computed(() => {
|
|
409
|
+
if (!(isContainer.value == null || typeof isContainer.value === 'boolean')) {
|
|
410
|
+
return guardedBinding2Previous
|
|
411
|
+
}
|
|
412
|
+
return guardedBinding2Previous = !isContainer.value
|
|
413
|
+
})
|
|
414
|
+
let guardedBinding3Previous: any = null
|
|
415
|
+
const guardedBinding3 = computed(() => {
|
|
416
|
+
const candidate: any = concat('Select ', checkedProps.value.label)
|
|
417
|
+
if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding3Previous
|
|
418
|
+
return guardedBinding3Previous = candidate
|
|
419
|
+
})
|
|
420
|
+
let guardedBinding4Previous: any
|
|
421
|
+
const guardedBinding4 = computed(() => {
|
|
337
422
|
if (
|
|
338
423
|
!((internalExpanded.value == null || typeof internalExpanded.value === 'boolean')
|
|
339
424
|
&& (isContainer.value == null || typeof isContainer.value === 'boolean'))
|
|
340
|
-
) return
|
|
341
|
-
return
|
|
425
|
+
) return guardedBinding4Previous
|
|
426
|
+
return guardedBinding4Previous = !(isContainer.value && internalExpanded.value)
|
|
342
427
|
})
|
|
343
428
|
provide('html-next:ui-tree-item:internalExpanded', internalExpanded)
|
|
344
429
|
provide('html-next:ui-tree-item:structuralLevel', structuralLevel)
|
|
@@ -445,6 +530,24 @@ function attribute(value: unknown): any {
|
|
|
445
530
|
) return undefined
|
|
446
531
|
return value === true ? '' : text(value)
|
|
447
532
|
}
|
|
533
|
+
|
|
534
|
+
// A nonempty scalar call cannot produce the invalid-result sentinel.
|
|
535
|
+
type ConcatResult<T extends unknown[]> = T extends
|
|
536
|
+
[
|
|
537
|
+
string | number | boolean | null | undefined,
|
|
538
|
+
...(string | number | boolean | null | undefined)[],
|
|
539
|
+
] ? string | undefined
|
|
540
|
+
: string | symbol | undefined
|
|
541
|
+
function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
|
|
542
|
+
if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
|
|
543
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
544
|
+
}
|
|
545
|
+
if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
|
|
546
|
+
if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
|
|
547
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
548
|
+
}
|
|
549
|
+
return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
|
|
550
|
+
}
|
|
448
551
|
</script>
|
|
449
552
|
|
|
450
553
|
<template>
|
|
@@ -480,22 +583,7 @@ function attribute(value: unknown): any {
|
|
|
480
583
|
class="drag-handle"
|
|
481
584
|
type="button"
|
|
482
585
|
draggable="true"
|
|
483
|
-
:aria-label="
|
|
484
|
-
true: `Cancel moving ${checkedProps.label ?? ''}`,
|
|
485
|
-
false: `Drag ${checkedProps.label ?? ''} to reorder`,
|
|
486
|
-
}) as Record<string, any>)[`${moving}`]) === 'boolean'
|
|
487
|
-
? String(
|
|
488
|
-
(({
|
|
489
|
-
true: `Cancel moving ${checkedProps.label ?? ''}`,
|
|
490
|
-
false: `Drag ${checkedProps.label ?? ''} to reorder`,
|
|
491
|
-
}) as Record<string, any>)[`${moving}`],
|
|
492
|
-
)
|
|
493
|
-
: attribute(
|
|
494
|
-
(({
|
|
495
|
-
true: `Cancel moving ${checkedProps.label ?? ''}`,
|
|
496
|
-
false: `Drag ${checkedProps.label ?? ''} to reorder`,
|
|
497
|
-
}) as Record<string, any>)[`${moving}`],
|
|
498
|
-
)"
|
|
586
|
+
:aria-label="guardedBinding"
|
|
499
587
|
ref="dragHandle"
|
|
500
588
|
>
|
|
501
589
|
<svg
|
|
@@ -520,7 +608,7 @@ function attribute(value: unknown): any {
|
|
|
520
608
|
class="disclosure"
|
|
521
609
|
type="button"
|
|
522
610
|
:disabled="checkedProps.disabled ?? undefined"
|
|
523
|
-
:hidden="
|
|
611
|
+
:hidden="guardedBinding2"
|
|
524
612
|
ref="disclosure"
|
|
525
613
|
>
|
|
526
614
|
<span class="disclosure-icon" aria-hidden="true"></span>
|
|
@@ -531,7 +619,7 @@ function attribute(value: unknown): any {
|
|
|
531
619
|
tabindex="-1"
|
|
532
620
|
:checked.attr="checkedProps.selected ? true : undefined"
|
|
533
621
|
:disabled="checkedProps.disabled ?? undefined"
|
|
534
|
-
:aria-label="
|
|
622
|
+
:aria-label="guardedBinding3"
|
|
535
623
|
></label>
|
|
536
624
|
<span class="leading" ref="leading"><slot name="leading" /></span>
|
|
537
625
|
<span class="label" ref="label"><span class="label-text" ref="labelText"><slot name="label">{{
|
|
@@ -548,7 +636,7 @@ function attribute(value: unknown): any {
|
|
|
548
636
|
<span><slot name="actions" /></span></span>
|
|
549
637
|
<span class="drop-indicator row-drop-indicator" aria-hidden="true"></span>
|
|
550
638
|
</div>
|
|
551
|
-
<div class="children" role="group" :hidden="
|
|
639
|
+
<div class="children" role="group" :hidden="guardedBinding4" ref="children"><slot /></div>
|
|
552
640
|
<span class="drop-indicator subtree-drop-indicator" aria-hidden="true"></span>
|
|
553
641
|
</div>
|
|
554
642
|
</template>
|
|
@@ -130,6 +130,6 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
130
130
|
}]]);
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
}), [["__scopeId", "data-v-
|
|
133
|
+
}), [["__scopeId", "data-v-b2161056"]]);
|
|
134
134
|
//#endregion
|
|
135
135
|
export { UiAffordanceScope_default as t };
|
package/vue/chunks/UiAvatar.js
CHANGED
|
@@ -158,6 +158,11 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
158
158
|
if (!(overflowAnnouncement.value == null || typeof overflowAnnouncement.value === "string")) return guardedBindingPrevious;
|
|
159
159
|
return guardedBindingPrevious = overflowAnnouncement.value;
|
|
160
160
|
});
|
|
161
|
+
let guardedBinding2Previous;
|
|
162
|
+
const guardedBinding2 = computed(() => {
|
|
163
|
+
if (!(overflowCount.value == null || Number.isInteger(overflowCount.value))) return guardedBinding2Previous;
|
|
164
|
+
return guardedBinding2Previous = overflowCount.value;
|
|
165
|
+
});
|
|
161
166
|
provide("html-next:ui-avatar-group:overflowCount", overflowCount);
|
|
162
167
|
provide("html-next:ui-avatar-group:overflowAnnouncement", overflowAnnouncement);
|
|
163
168
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
@@ -221,12 +226,12 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
221
226
|
hidden: guarded.value,
|
|
222
227
|
"aria-label": guardedBinding.value,
|
|
223
228
|
ref: "overflow"
|
|
224
|
-
}, toDisplayString(
|
|
229
|
+
}, toDisplayString(["+", guardedBinding2.value].join("")), 9, _hoisted_2)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
225
230
|
contract: propValidityContract,
|
|
226
231
|
values: { ...props }
|
|
227
232
|
}]]);
|
|
228
233
|
};
|
|
229
234
|
}
|
|
230
|
-
}), [["__scopeId", "data-v-
|
|
235
|
+
}), [["__scopeId", "data-v-73428ead"]]);
|
|
231
236
|
//#endregion
|
|
232
237
|
export { UiAvatarGroup_default as t };
|
package/vue/chunks/UiBadge.js
CHANGED
|
@@ -55,7 +55,25 @@ var UiBreadcrumbItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
|
|
|
55
55
|
if (value === null || value === void 0) return void 0;
|
|
56
56
|
return Array.isArray(value) && separator !== void 0 ? value.join(separator) : typeof value === "object" ? JSON.stringify(value) : String(value);
|
|
57
57
|
}
|
|
58
|
-
const
|
|
58
|
+
const hydrationInstance = getCurrentInstance();
|
|
59
|
+
let guardedPrevious = null;
|
|
60
|
+
const guarded = computed(() => {
|
|
61
|
+
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])({
|
|
62
|
+
true: "page",
|
|
63
|
+
false: null
|
|
64
|
+
}, concat(checkedProps.value.current)) === Symbol.for("html-next.invalid-result")) return guardedPrevious;
|
|
65
|
+
return guardedPrevious = 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])({
|
|
66
|
+
true: "page",
|
|
67
|
+
false: null
|
|
68
|
+
}, concat(checkedProps.value.current)) === "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])({
|
|
69
|
+
true: "page",
|
|
70
|
+
false: null
|
|
71
|
+
}, concat(checkedProps.value.current))) : 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])({
|
|
72
|
+
true: "page",
|
|
73
|
+
false: null
|
|
74
|
+
}, concat(checkedProps.value.current)));
|
|
75
|
+
});
|
|
76
|
+
const hydrationNode = hydrationInstance?.vnode.el;
|
|
59
77
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "li")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-breadcrumb-item> has an incompatible root."), {
|
|
60
78
|
name: "HtmlDiagnosticError",
|
|
61
79
|
diagnostic: Object.freeze({
|
|
@@ -73,18 +91,15 @@ var UiBreadcrumbItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
|
|
|
73
91
|
if (value === null || value === void 0 || value === false || typeof value === "object" && !Array.isArray(value)) return void 0;
|
|
74
92
|
return value === true ? "" : text(value);
|
|
75
93
|
}
|
|
94
|
+
function concat(...values) {
|
|
95
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
96
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
97
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
98
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
99
|
+
}
|
|
76
100
|
return (_ctx, _cache) => {
|
|
77
101
|
return withDirectives((openBlock(), createElementBlock("li", mergeProps({ "data-component": "ui-breadcrumb-item" }, nativeAttrs(_ctx.$attrs), {
|
|
78
|
-
"aria-current":
|
|
79
|
-
true: "page",
|
|
80
|
-
false: null
|
|
81
|
-
}[`${checkedProps.value.current ?? ""}`] === "boolean" ? String({
|
|
82
|
-
true: "page",
|
|
83
|
-
false: null
|
|
84
|
-
}[`${checkedProps.value.current ?? ""}`]) : attribute({
|
|
85
|
-
true: "page",
|
|
86
|
-
false: null
|
|
87
|
-
}[`${checkedProps.value.current ?? ""}`]),
|
|
102
|
+
"aria-current": guarded.value,
|
|
88
103
|
"data-current": reflectedProp("current", "current", checkedProps.value.current, void 0, false),
|
|
89
104
|
"data-ui-breadcrumb-item-state": hostState.value || void 0
|
|
90
105
|
}), [createElementVNode("span", _hoisted_2, [createVNode(UiIcon_default, { name: "chevron-right" })]), createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
@@ -93,6 +108,6 @@ var UiBreadcrumbItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
|
|
|
93
108
|
}]]);
|
|
94
109
|
};
|
|
95
110
|
}
|
|
96
|
-
}), [["__scopeId", "data-v-
|
|
111
|
+
}), [["__scopeId", "data-v-e415386e"]]);
|
|
97
112
|
//#endregion
|
|
98
113
|
export { UiBreadcrumbItem_default as t };
|
package/vue/chunks/UiButton.js
CHANGED
|
@@ -382,6 +382,62 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
382
382
|
const hydrationInstance = getCurrentInstance();
|
|
383
383
|
const root = useTemplateRef("@html-next/root");
|
|
384
384
|
preserveRootFocus(root);
|
|
385
|
+
let guardedPrevious = null;
|
|
386
|
+
const guarded = computed(() => {
|
|
387
|
+
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])({
|
|
388
|
+
true: null,
|
|
389
|
+
false: checkedProps.value.href
|
|
390
|
+
}, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)) === Symbol.for("html-next.invalid-result")) return guardedPrevious;
|
|
391
|
+
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])({
|
|
392
|
+
true: null,
|
|
393
|
+
false: checkedProps.value.href
|
|
394
|
+
}, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)));
|
|
395
|
+
});
|
|
396
|
+
let guardedBindingPrevious = null;
|
|
397
|
+
const guardedBinding = computed(() => {
|
|
398
|
+
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])({
|
|
399
|
+
true: "true",
|
|
400
|
+
false: null
|
|
401
|
+
}, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)) === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
|
|
402
|
+
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])({
|
|
403
|
+
true: "true",
|
|
404
|
+
false: null
|
|
405
|
+
}, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)) === "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
|
+
true: "true",
|
|
407
|
+
false: null
|
|
408
|
+
}, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending))) : 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
|
+
true: "true",
|
|
410
|
+
false: null
|
|
411
|
+
}, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)));
|
|
412
|
+
});
|
|
413
|
+
let guardedBinding2Previous = null;
|
|
414
|
+
const guardedBinding2 = computed(() => {
|
|
415
|
+
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])({
|
|
416
|
+
true: "0",
|
|
417
|
+
false: null
|
|
418
|
+
}, concat((checkedProps.value.loading || checkedProps.value.pending) && !checkedProps.value.disabled)) === Symbol.for("html-next.invalid-result")) return guardedBinding2Previous;
|
|
419
|
+
return guardedBinding2Previous = 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])({
|
|
420
|
+
true: "0",
|
|
421
|
+
false: null
|
|
422
|
+
}, concat((checkedProps.value.loading || checkedProps.value.pending) && !checkedProps.value.disabled)));
|
|
423
|
+
});
|
|
424
|
+
let guardedBinding3Previous = null;
|
|
425
|
+
const guardedBinding3 = computed(() => {
|
|
426
|
+
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])({
|
|
427
|
+
true: "true",
|
|
428
|
+
false: null
|
|
429
|
+
}, concat(checkedProps.value.loading || checkedProps.value.pending)) === Symbol.for("html-next.invalid-result")) return guardedBinding3Previous;
|
|
430
|
+
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])({
|
|
431
|
+
true: "true",
|
|
432
|
+
false: null
|
|
433
|
+
}, concat(checkedProps.value.loading || checkedProps.value.pending)) === "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])({
|
|
434
|
+
true: "true",
|
|
435
|
+
false: null
|
|
436
|
+
}, concat(checkedProps.value.loading || checkedProps.value.pending))) : 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])({
|
|
437
|
+
true: "true",
|
|
438
|
+
false: null
|
|
439
|
+
}, concat(checkedProps.value.loading || checkedProps.value.pending)));
|
|
440
|
+
});
|
|
385
441
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
386
442
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== (checkedProps.value.as === "a" ? "a" : "button"))) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-button> has an incompatible root."), {
|
|
387
443
|
name: "HtmlDiagnosticError",
|
|
@@ -449,32 +505,23 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
449
505
|
if (value === null || value === void 0 || value === false || typeof value === "object" && !Array.isArray(value)) return void 0;
|
|
450
506
|
return value === true ? "" : text(value);
|
|
451
507
|
}
|
|
508
|
+
function concat(...values) {
|
|
509
|
+
if (values.some((value) => value === Symbol.for("html-next.invalid-result"))) return Symbol.for("html-next.invalid-result");
|
|
510
|
+
if (values.some((value) => value === void 0)) return void 0;
|
|
511
|
+
if (values.length === 0 || values.some((value) => typeof value === "object" && value !== null)) return Symbol.for("html-next.invalid-result");
|
|
512
|
+
return values.map((value) => value === null ? "" : String(value)).join("");
|
|
513
|
+
}
|
|
452
514
|
return (_ctx, _cache) => {
|
|
453
515
|
return checkedProps.value.as === "a" ? withDirectives((openBlock(), createElementBlock("a", mergeProps({
|
|
454
516
|
key: 0,
|
|
455
517
|
"data-component": "ui-button"
|
|
456
518
|
}, nativeAttrs(_ctx.$attrs), {
|
|
457
|
-
href:
|
|
458
|
-
true: null,
|
|
459
|
-
false: checkedProps.value.href
|
|
460
|
-
}[`${checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending}`]),
|
|
519
|
+
href: guarded.value,
|
|
461
520
|
target: checkedProps.value.target ?? void 0,
|
|
462
521
|
rel: checkedProps.value.rel ?? void 0,
|
|
463
|
-
"aria-disabled":
|
|
464
|
-
true: "true",
|
|
465
|
-
false: null
|
|
466
|
-
}[`${checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending}`] === "boolean" ? String({
|
|
467
|
-
true: "true",
|
|
468
|
-
false: null
|
|
469
|
-
}[`${checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending}`]) : attribute({
|
|
470
|
-
true: "true",
|
|
471
|
-
false: null
|
|
472
|
-
}[`${checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending}`]),
|
|
522
|
+
"aria-disabled": guardedBinding.value,
|
|
473
523
|
"aria-busy": checkedProps.value.loading || checkedProps.value.pending,
|
|
474
|
-
tabindex:
|
|
475
|
-
true: "0",
|
|
476
|
-
false: null
|
|
477
|
-
}[`${(checkedProps.value.loading || checkedProps.value.pending) && !checkedProps.value.disabled}`]),
|
|
524
|
+
tabindex: guardedBinding2.value,
|
|
478
525
|
"data-align": reflectedProp("align", "align", checkedProps.value.align, void 0, false),
|
|
479
526
|
"data-as": reflectedProp("as", "as", checkedProps.value.as, void 0, false),
|
|
480
527
|
"data-disabled": reflectedProp("disabled", "disabled", checkedProps.value.disabled, void 0, false),
|
|
@@ -500,16 +547,7 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
500
547
|
}, nativeAttrs(_ctx.$attrs), {
|
|
501
548
|
type: checkedProps.value.type ?? void 0,
|
|
502
549
|
disabled: checkedProps.value.disabled ?? void 0,
|
|
503
|
-
"aria-disabled":
|
|
504
|
-
true: "true",
|
|
505
|
-
false: null
|
|
506
|
-
}[`${checkedProps.value.loading || checkedProps.value.pending}`] === "boolean" ? String({
|
|
507
|
-
true: "true",
|
|
508
|
-
false: null
|
|
509
|
-
}[`${checkedProps.value.loading || checkedProps.value.pending}`]) : attribute({
|
|
510
|
-
true: "true",
|
|
511
|
-
false: null
|
|
512
|
-
}[`${checkedProps.value.loading || checkedProps.value.pending}`]),
|
|
550
|
+
"aria-disabled": guardedBinding3.value,
|
|
513
551
|
"aria-busy": checkedProps.value.loading || checkedProps.value.pending,
|
|
514
552
|
"data-align": reflectedProp("align", "align", checkedProps.value.align, void 0, false),
|
|
515
553
|
"data-as": reflectedProp("as", "as", checkedProps.value.as, void 0, false),
|
|
@@ -533,6 +571,6 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
533
571
|
}]]);
|
|
534
572
|
};
|
|
535
573
|
}
|
|
536
|
-
}), [["__scopeId", "data-v-
|
|
574
|
+
}), [["__scopeId", "data-v-fb91f285"]]);
|
|
537
575
|
//#endregion
|
|
538
576
|
export { UiButton_default as t };
|
package/vue/chunks/UiCallout.js
CHANGED
package/vue/chunks/UiCard.js
CHANGED
package/vue/chunks/UiCheckbox.js
CHANGED
|
@@ -229,6 +229,11 @@ var UiCheckbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
229
229
|
const inputElement = useTemplateRef("input");
|
|
230
230
|
const descriptionElement = useTemplateRef("description");
|
|
231
231
|
const internalChecked = ref(false);
|
|
232
|
+
let guardedPrevious;
|
|
233
|
+
computed(() => {
|
|
234
|
+
if (!(internalChecked.value == null || typeof internalChecked.value === "boolean")) return guardedPrevious;
|
|
235
|
+
return guardedPrevious = internalChecked.value;
|
|
236
|
+
});
|
|
232
237
|
provide("html-next:ui-checkbox:internalChecked", internalChecked);
|
|
233
238
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
234
239
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "label")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-checkbox> has an incompatible root."), {
|
|
@@ -321,6 +326,6 @@ var UiCheckbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
321
326
|
}]]);
|
|
322
327
|
};
|
|
323
328
|
}
|
|
324
|
-
}), [["__scopeId", "data-v-
|
|
329
|
+
}), [["__scopeId", "data-v-225de450"]]);
|
|
325
330
|
//#endregion
|
|
326
331
|
export { UiCheckbox_default as t };
|
package/vue/chunks/UiCluster.js
CHANGED