@threadlabs/looma 0.23.15 → 0.23.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-avatar/ui-avatar.html +1 -1
- package/components/ui-avatar-group/ui-avatar-group.html +1 -3
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
- package/components/ui-button/ui-button.html +4 -4
- package/components/ui-combobox/ui-combobox.html +19 -21
- package/components/ui-description-item/ui-description-item.html +1 -1
- package/components/ui-dialog/ui-dialog.html +1 -1
- package/components/ui-disclosure/ui-disclosure.html +1 -1
- package/components/ui-editable/ui-editable.html +4 -4
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +1 -1
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +2 -2
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +1 -1
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +2 -2
- package/components/ui-icon-button/ui-icon-button.html +28 -1
- package/components/ui-listbox/ui-listbox.html +2 -2
- package/components/ui-menu-group/ui-menu-group.html +1 -1
- package/components/ui-menu-item/ui-menu-item.html +1 -1
- package/components/ui-meter/ui-meter.html +7 -8
- package/components/ui-nav-item/ui-nav-item.html +2 -2
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-section/ui-section.html +1 -1
- package/components/ui-spinner/ui-spinner.html +4 -4
- package/components/ui-status-message/ui-status-message.html +2 -2
- package/components/ui-tabs/ui-tabs.html +1 -1
- package/components/ui-toast-region/ui-toast-region.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +3 -3
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +29 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +9 -7
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +4 -4
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +2 -2
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +29 -25
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +5 -5
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +16 -14
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +4 -4
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +35 -27
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +20 -18
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +27 -25
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +6 -4
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +9 -7
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +4 -2
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +2 -2
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +2 -2
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +2 -1
- package/vanilla/UiIconButton.js +5 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +2 -2
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +4 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +2 -2
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +2 -2
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +2 -2
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +4 -4
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +4 -4
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +4 -4
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +2 -2
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +2 -2
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +4 -4
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +1 -1
- package/vue/UiAvatarGroup.vue +9 -2
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +55 -9
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +162 -37
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +8 -1
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.d.ts +1 -1
- package/vue/UiCombobox.vue +190 -73
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +1 -1
- package/vue/UiDisclosure.vue +1 -1
- package/vue/UiEditable.vue +9 -4
- package/vue/UiEditorInsertTableGrid.vue +19 -2
- package/vue/UiEditorMentionMenu.vue +20 -2
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +1 -1
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +46 -5
- package/vue/UiEditorTableOverlay.vue +55 -26
- package/vue/UiEditorTableToolbar.vue +46 -5
- package/vue/UiEditorToolbar.vue +1 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +1 -1
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.d.ts +9 -0
- package/vue/UiIconButton.vue +104 -14
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.vue +47 -13
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +46 -10
- package/vue/UiMeter.d.ts +2 -2
- package/vue/UiMeter.vue +675 -97
- package/vue/UiNavItem.vue +97 -39
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +8 -1
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +1 -1
- package/vue/UiSpinner.vue +159 -31
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +42 -4
- package/vue/UiSwitch.vue +8 -1
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +20 -2
- package/vue/UiText.d.ts +1 -1
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +20 -2
- package/vue/UiTooltip.vue +1 -1
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +113 -25
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +7 -2
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +27 -12
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +67 -29
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +6 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +155 -56
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +10 -5
- package/vue/chunks/UiEditorInsertTableGrid.js +18 -3
- package/vue/chunks/UiEditorMentionMenu.js +8 -2
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +13 -7
- package/vue/chunks/UiEditorTableOverlay.js +43 -23
- package/vue/chunks/UiEditorTableToolbar.js +13 -7
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +48 -11
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +29 -15
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +23 -9
- package/vue/chunks/UiMeter.js +373 -37
- package/vue/chunks/UiNavItem.js +67 -39
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +6 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +75 -36
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +21 -6
- package/vue/chunks/UiSwitch.js +6 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +8 -2
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +8 -2
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +52 -19
- package/vue/chunks/props.js +11 -6
- package/vue/components.css +1321 -1298
- package/vue/host.ts +15 -3
package/vue/UiNavItem.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, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -183,6 +183,82 @@ const hydrationInstance = getCurrentInstance()
|
|
|
183
183
|
const rootArmElement = useTemplateRef<HTMLElement>('@html-next/root')
|
|
184
184
|
const root = rootArmElement
|
|
185
185
|
preserveRootFocus(root)
|
|
186
|
+
let guardedPrevious: any = null
|
|
187
|
+
const guarded = computed(() => {
|
|
188
|
+
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
189
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
190
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
191
|
+
? Symbol.for('html-next.invalid-result')
|
|
192
|
+
: objectValue[indexValue])(
|
|
193
|
+
{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
|
|
194
|
+
concat(checkedProps.value.current),
|
|
195
|
+
)
|
|
196
|
+
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
197
|
+
return guardedPrevious
|
|
198
|
+
}
|
|
199
|
+
return guardedPrevious = typeof (((objectValue: any, indexValue: any) =>
|
|
200
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
201
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
202
|
+
? Symbol.for('html-next.invalid-result')
|
|
203
|
+
: objectValue[indexValue])(
|
|
204
|
+
{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
|
|
205
|
+
concat(checkedProps.value.current),
|
|
206
|
+
)) === 'boolean'
|
|
207
|
+
? String(((objectValue: any, indexValue: any) =>
|
|
208
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
209
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
210
|
+
? Symbol.for('html-next.invalid-result')
|
|
211
|
+
: objectValue[indexValue])(
|
|
212
|
+
{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
|
|
213
|
+
concat(checkedProps.value.current),
|
|
214
|
+
))
|
|
215
|
+
: attribute(((objectValue: any, indexValue: any) =>
|
|
216
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
217
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
218
|
+
? Symbol.for('html-next.invalid-result')
|
|
219
|
+
: objectValue[indexValue])(
|
|
220
|
+
{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
|
|
221
|
+
concat(checkedProps.value.current),
|
|
222
|
+
))
|
|
223
|
+
})
|
|
224
|
+
let guardedBindingPrevious: any = null
|
|
225
|
+
const guardedBinding = computed(() => {
|
|
226
|
+
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
227
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
228
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
229
|
+
? Symbol.for('html-next.invalid-result')
|
|
230
|
+
: objectValue[indexValue])(
|
|
231
|
+
{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
|
|
232
|
+
concat(checkedProps.value.current),
|
|
233
|
+
)
|
|
234
|
+
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
235
|
+
return guardedBindingPrevious
|
|
236
|
+
}
|
|
237
|
+
return guardedBindingPrevious = typeof (((objectValue: any, indexValue: any) =>
|
|
238
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
239
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
240
|
+
? Symbol.for('html-next.invalid-result')
|
|
241
|
+
: objectValue[indexValue])(
|
|
242
|
+
{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
|
|
243
|
+
concat(checkedProps.value.current),
|
|
244
|
+
)) === 'boolean'
|
|
245
|
+
? String(((objectValue: any, indexValue: any) =>
|
|
246
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
247
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
248
|
+
? Symbol.for('html-next.invalid-result')
|
|
249
|
+
: objectValue[indexValue])(
|
|
250
|
+
{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
|
|
251
|
+
concat(checkedProps.value.current),
|
|
252
|
+
))
|
|
253
|
+
: attribute(((objectValue: any, indexValue: any) =>
|
|
254
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
255
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
256
|
+
? Symbol.for('html-next.invalid-result')
|
|
257
|
+
: objectValue[indexValue])(
|
|
258
|
+
{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
|
|
259
|
+
concat(checkedProps.value.current),
|
|
260
|
+
))
|
|
261
|
+
})
|
|
186
262
|
const hydrationNode = hydrationInstance?.vnode.el
|
|
187
263
|
if (
|
|
188
264
|
typeof window !== 'undefined' && hydrationNode != null
|
|
@@ -225,6 +301,24 @@ function attribute(value: unknown): any {
|
|
|
225
301
|
) return undefined
|
|
226
302
|
return value === true ? '' : text(value)
|
|
227
303
|
}
|
|
304
|
+
|
|
305
|
+
// A nonempty scalar call cannot produce the invalid-result sentinel.
|
|
306
|
+
type ConcatResult<T extends unknown[]> = T extends
|
|
307
|
+
[
|
|
308
|
+
string | number | boolean | null | undefined,
|
|
309
|
+
...(string | number | boolean | null | undefined)[],
|
|
310
|
+
] ? string | undefined
|
|
311
|
+
: string | symbol | undefined
|
|
312
|
+
function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
|
|
313
|
+
if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
|
|
314
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
315
|
+
}
|
|
316
|
+
if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
|
|
317
|
+
if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
|
|
318
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
319
|
+
}
|
|
320
|
+
return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
|
|
321
|
+
}
|
|
228
322
|
</script>
|
|
229
323
|
|
|
230
324
|
<template>
|
|
@@ -235,25 +329,7 @@ function attribute(value: unknown): any {
|
|
|
235
329
|
:href="checkedProps.href ?? undefined"
|
|
236
330
|
:target="checkedProps.target ?? undefined"
|
|
237
331
|
:rel="checkedProps.rel ?? undefined"
|
|
238
|
-
:aria-current="
|
|
239
|
-
true: 'page',
|
|
240
|
-
false: null,
|
|
241
|
-
page: 'page',
|
|
242
|
-
step: 'step',
|
|
243
|
-
location: 'location',
|
|
244
|
-
}) as Record<string, any>)[`${checkedProps.current ?? ''}`]) === 'boolean'
|
|
245
|
-
? String(
|
|
246
|
-
(({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }) as Record<
|
|
247
|
-
string,
|
|
248
|
-
any
|
|
249
|
-
>)[`${checkedProps.current ?? ''}`],
|
|
250
|
-
)
|
|
251
|
-
: attribute(
|
|
252
|
-
(({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }) as Record<
|
|
253
|
-
string,
|
|
254
|
-
any
|
|
255
|
-
>)[`${checkedProps.current ?? ''}`],
|
|
256
|
-
)"
|
|
332
|
+
:aria-current="guarded"
|
|
257
333
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
258
334
|
:data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
|
|
259
335
|
:data-current="reflectedProp('current', 'current', checkedProps.current, undefined, false)"
|
|
@@ -274,25 +350,7 @@ function attribute(value: unknown): any {
|
|
|
274
350
|
data-component="ui-nav-item"
|
|
275
351
|
type="button"
|
|
276
352
|
v-bind="nativeAttrs($attrs)"
|
|
277
|
-
:aria-current="
|
|
278
|
-
true: 'page',
|
|
279
|
-
false: null,
|
|
280
|
-
page: 'page',
|
|
281
|
-
step: 'step',
|
|
282
|
-
location: 'location',
|
|
283
|
-
}) as Record<string, any>)[`${checkedProps.current ?? ''}`]) === 'boolean'
|
|
284
|
-
? String(
|
|
285
|
-
(({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }) as Record<
|
|
286
|
-
string,
|
|
287
|
-
any
|
|
288
|
-
>)[`${checkedProps.current ?? ''}`],
|
|
289
|
-
)
|
|
290
|
-
: attribute(
|
|
291
|
-
(({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }) as Record<
|
|
292
|
-
string,
|
|
293
|
-
any
|
|
294
|
-
>)[`${checkedProps.current ?? ''}`],
|
|
295
|
-
)"
|
|
353
|
+
:aria-current="guardedBinding"
|
|
296
354
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
297
355
|
:data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
|
|
298
356
|
:data-current="reflectedProp('current', 'current', checkedProps.current, undefined, false)"
|
package/vue/UiPageHeader.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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiPopover.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/UiRadio.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'
|
|
@@ -176,6 +176,13 @@ const root = ref<HTMLElement | null>(null)
|
|
|
176
176
|
const inputElement = useTemplateRef<HTMLElement>('input')
|
|
177
177
|
const descriptionElement = useTemplateRef<HTMLElement>('description')
|
|
178
178
|
const internalChecked = ref(false)
|
|
179
|
+
let guardedPrevious: any
|
|
180
|
+
const guarded = computed(() => {
|
|
181
|
+
if (!(internalChecked.value == null || typeof internalChecked.value === 'boolean')) {
|
|
182
|
+
return guardedPrevious
|
|
183
|
+
}
|
|
184
|
+
return guardedPrevious = internalChecked.value
|
|
185
|
+
})
|
|
179
186
|
provide('html-next:ui-radio:internalChecked', internalChecked)
|
|
180
187
|
const hydrationNode = hydrationInstance?.vnode.el
|
|
181
188
|
if (
|
package/vue/UiRadioGroup.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/UiReel.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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiScrollArea.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'
|
|
@@ -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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiSearchShell.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'
|
package/vue/UiSection.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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiSelect.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/UiSeparator.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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiSidebar.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'
|
package/vue/UiSpinner.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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -85,6 +85,142 @@ function reflectedProp(
|
|
|
85
85
|
}
|
|
86
86
|
const hydrationInstance = getCurrentInstance()
|
|
87
87
|
|
|
88
|
+
let guardedPrevious: any = null
|
|
89
|
+
const guarded = computed(() => {
|
|
90
|
+
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
91
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
92
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
93
|
+
? Symbol.for('html-next.invalid-result')
|
|
94
|
+
: objectValue[indexValue])(
|
|
95
|
+
{ true: 'status', false: null },
|
|
96
|
+
concat(checkedProps.value.label !== ''),
|
|
97
|
+
)
|
|
98
|
+
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
99
|
+
return guardedPrevious
|
|
100
|
+
}
|
|
101
|
+
return guardedPrevious = attribute(((objectValue: any, indexValue: any) =>
|
|
102
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
103
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
104
|
+
? Symbol.for('html-next.invalid-result')
|
|
105
|
+
: objectValue[indexValue])(
|
|
106
|
+
{ true: 'status', false: null },
|
|
107
|
+
concat(checkedProps.value.label !== ''),
|
|
108
|
+
))
|
|
109
|
+
})
|
|
110
|
+
let guardedBindingPrevious: any = null
|
|
111
|
+
const guardedBinding = computed(() => {
|
|
112
|
+
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
113
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
114
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
115
|
+
? Symbol.for('html-next.invalid-result')
|
|
116
|
+
: objectValue[indexValue])(
|
|
117
|
+
{ true: checkedProps.value.label, false: null },
|
|
118
|
+
concat(checkedProps.value.label !== ''),
|
|
119
|
+
)
|
|
120
|
+
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
121
|
+
return guardedBindingPrevious
|
|
122
|
+
}
|
|
123
|
+
return guardedBindingPrevious = typeof (((objectValue: any, indexValue: any) =>
|
|
124
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
125
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
126
|
+
? Symbol.for('html-next.invalid-result')
|
|
127
|
+
: objectValue[indexValue])(
|
|
128
|
+
{ true: checkedProps.value.label, false: null },
|
|
129
|
+
concat(checkedProps.value.label !== ''),
|
|
130
|
+
)) === 'boolean'
|
|
131
|
+
? String(((objectValue: any, indexValue: any) =>
|
|
132
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
133
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
134
|
+
? Symbol.for('html-next.invalid-result')
|
|
135
|
+
: objectValue[indexValue])(
|
|
136
|
+
{ true: checkedProps.value.label, false: null },
|
|
137
|
+
concat(checkedProps.value.label !== ''),
|
|
138
|
+
))
|
|
139
|
+
: attribute(((objectValue: any, indexValue: any) =>
|
|
140
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
141
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
142
|
+
? Symbol.for('html-next.invalid-result')
|
|
143
|
+
: objectValue[indexValue])(
|
|
144
|
+
{ true: checkedProps.value.label, false: null },
|
|
145
|
+
concat(checkedProps.value.label !== ''),
|
|
146
|
+
))
|
|
147
|
+
})
|
|
148
|
+
let guardedBinding2Previous: any = null
|
|
149
|
+
const guardedBinding2 = computed(() => {
|
|
150
|
+
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
151
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
152
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
153
|
+
? Symbol.for('html-next.invalid-result')
|
|
154
|
+
: objectValue[indexValue])(
|
|
155
|
+
{ true: 'polite', false: null },
|
|
156
|
+
concat(checkedProps.value.label !== ''),
|
|
157
|
+
)
|
|
158
|
+
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
159
|
+
return guardedBinding2Previous
|
|
160
|
+
}
|
|
161
|
+
return guardedBinding2Previous = typeof (((objectValue: any, indexValue: any) =>
|
|
162
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
163
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
164
|
+
? Symbol.for('html-next.invalid-result')
|
|
165
|
+
: objectValue[indexValue])(
|
|
166
|
+
{ true: 'polite', false: null },
|
|
167
|
+
concat(checkedProps.value.label !== ''),
|
|
168
|
+
)) === 'boolean'
|
|
169
|
+
? String(((objectValue: any, indexValue: any) =>
|
|
170
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
171
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
172
|
+
? Symbol.for('html-next.invalid-result')
|
|
173
|
+
: objectValue[indexValue])(
|
|
174
|
+
{ true: 'polite', false: null },
|
|
175
|
+
concat(checkedProps.value.label !== ''),
|
|
176
|
+
))
|
|
177
|
+
: attribute(((objectValue: any, indexValue: any) =>
|
|
178
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
179
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
180
|
+
? Symbol.for('html-next.invalid-result')
|
|
181
|
+
: objectValue[indexValue])(
|
|
182
|
+
{ true: 'polite', false: null },
|
|
183
|
+
concat(checkedProps.value.label !== ''),
|
|
184
|
+
))
|
|
185
|
+
})
|
|
186
|
+
let guardedBinding3Previous: any = null
|
|
187
|
+
const guardedBinding3 = computed(() => {
|
|
188
|
+
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
189
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
190
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
191
|
+
? Symbol.for('html-next.invalid-result')
|
|
192
|
+
: objectValue[indexValue])(
|
|
193
|
+
{ true: null, false: 'true' },
|
|
194
|
+
concat(checkedProps.value.label !== ''),
|
|
195
|
+
)
|
|
196
|
+
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
197
|
+
return guardedBinding3Previous
|
|
198
|
+
}
|
|
199
|
+
return guardedBinding3Previous = typeof (((objectValue: any, indexValue: any) =>
|
|
200
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
201
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
202
|
+
? Symbol.for('html-next.invalid-result')
|
|
203
|
+
: objectValue[indexValue])(
|
|
204
|
+
{ true: null, false: 'true' },
|
|
205
|
+
concat(checkedProps.value.label !== ''),
|
|
206
|
+
)) === 'boolean'
|
|
207
|
+
? String(((objectValue: any, indexValue: any) =>
|
|
208
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
209
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
210
|
+
? Symbol.for('html-next.invalid-result')
|
|
211
|
+
: objectValue[indexValue])(
|
|
212
|
+
{ true: null, false: 'true' },
|
|
213
|
+
concat(checkedProps.value.label !== ''),
|
|
214
|
+
))
|
|
215
|
+
: attribute(((objectValue: any, indexValue: any) =>
|
|
216
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
217
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
218
|
+
? Symbol.for('html-next.invalid-result')
|
|
219
|
+
: objectValue[indexValue])(
|
|
220
|
+
{ true: null, false: 'true' },
|
|
221
|
+
concat(checkedProps.value.label !== ''),
|
|
222
|
+
))
|
|
223
|
+
})
|
|
88
224
|
const hydrationNode = hydrationInstance?.vnode.el
|
|
89
225
|
if (
|
|
90
226
|
typeof window !== 'undefined' && hydrationNode != null
|
|
@@ -122,6 +258,24 @@ function attribute(value: unknown): any {
|
|
|
122
258
|
) return undefined
|
|
123
259
|
return value === true ? '' : text(value)
|
|
124
260
|
}
|
|
261
|
+
|
|
262
|
+
// A nonempty scalar call cannot produce the invalid-result sentinel.
|
|
263
|
+
type ConcatResult<T extends unknown[]> = T extends
|
|
264
|
+
[
|
|
265
|
+
string | number | boolean | null | undefined,
|
|
266
|
+
...(string | number | boolean | null | undefined)[],
|
|
267
|
+
] ? string | undefined
|
|
268
|
+
: string | symbol | undefined
|
|
269
|
+
function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
|
|
270
|
+
if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
|
|
271
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
272
|
+
}
|
|
273
|
+
if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
|
|
274
|
+
if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
|
|
275
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
276
|
+
}
|
|
277
|
+
return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
|
|
278
|
+
}
|
|
125
279
|
</script>
|
|
126
280
|
|
|
127
281
|
<template>
|
|
@@ -129,36 +283,10 @@ function attribute(value: unknown): any {
|
|
|
129
283
|
data-component="ui-spinner"
|
|
130
284
|
class="ring"
|
|
131
285
|
v-bind="nativeAttrs($attrs)"
|
|
132
|
-
:role="
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
:aria-
|
|
136
|
-
`${checkedProps.label !== ''}`
|
|
137
|
-
]) === 'boolean'
|
|
138
|
-
? String(
|
|
139
|
-
(({ true: checkedProps.label, false: null }) as Record<string, any>)[
|
|
140
|
-
`${checkedProps.label !== ''}`
|
|
141
|
-
],
|
|
142
|
-
)
|
|
143
|
-
: attribute(
|
|
144
|
-
(({ true: checkedProps.label, false: null }) as Record<string, any>)[
|
|
145
|
-
`${checkedProps.label !== ''}`
|
|
146
|
-
],
|
|
147
|
-
)"
|
|
148
|
-
:aria-live="typeof ((({ true: 'polite', false: null }) as Record<string, any>)[`${checkedProps.label !== ''}`])
|
|
149
|
-
=== 'boolean'
|
|
150
|
-
? String(
|
|
151
|
-
(({ true: 'polite', false: null }) as Record<string, any>)[`${checkedProps.label !== ''}`],
|
|
152
|
-
)
|
|
153
|
-
: attribute(
|
|
154
|
-
(({ true: 'polite', false: null }) as Record<string, any>)[`${checkedProps.label !== ''}`],
|
|
155
|
-
)"
|
|
156
|
-
:aria-hidden="typeof ((({ true: null, false: 'true' }) as Record<string, any>)[`${checkedProps.label !== ''}`])
|
|
157
|
-
=== 'boolean'
|
|
158
|
-
? String((({ true: null, false: 'true' }) as Record<string, any>)[`${checkedProps.label !== ''}`])
|
|
159
|
-
: attribute(
|
|
160
|
-
(({ true: null, false: 'true' }) as Record<string, any>)[`${checkedProps.label !== ''}`],
|
|
161
|
-
)"
|
|
286
|
+
:role="guarded"
|
|
287
|
+
:aria-label="guardedBinding"
|
|
288
|
+
:aria-live="guardedBinding2"
|
|
289
|
+
:aria-hidden="guardedBinding3"
|
|
162
290
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
163
291
|
:data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
|
|
164
292
|
:data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
|
package/vue/UiStack.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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiStatusMessage.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, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -109,6 +109,28 @@ function reflectedProp(
|
|
|
109
109
|
}
|
|
110
110
|
const hydrationInstance = getCurrentInstance()
|
|
111
111
|
|
|
112
|
+
let guardedPrevious: any = null
|
|
113
|
+
const guarded = computed(() => {
|
|
114
|
+
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
115
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
116
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
117
|
+
? Symbol.for('html-next.invalid-result')
|
|
118
|
+
: objectValue[indexValue])(
|
|
119
|
+
{ true: 'alert', false: 'status' },
|
|
120
|
+
concat(checkedProps.value.kind === 'error'),
|
|
121
|
+
)
|
|
122
|
+
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
123
|
+
return guardedPrevious
|
|
124
|
+
}
|
|
125
|
+
return guardedPrevious = attribute(((objectValue: any, indexValue: any) =>
|
|
126
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
127
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
128
|
+
? Symbol.for('html-next.invalid-result')
|
|
129
|
+
: objectValue[indexValue])(
|
|
130
|
+
{ true: 'alert', false: 'status' },
|
|
131
|
+
concat(checkedProps.value.kind === 'error'),
|
|
132
|
+
))
|
|
133
|
+
})
|
|
112
134
|
const hydrationNode = hydrationInstance?.vnode.el
|
|
113
135
|
if (
|
|
114
136
|
typeof window !== 'undefined' && hydrationNode != null
|
|
@@ -148,15 +170,31 @@ function attribute(value: unknown): any {
|
|
|
148
170
|
) return undefined
|
|
149
171
|
return value === true ? '' : text(value)
|
|
150
172
|
}
|
|
173
|
+
|
|
174
|
+
// A nonempty scalar call cannot produce the invalid-result sentinel.
|
|
175
|
+
type ConcatResult<T extends unknown[]> = T extends
|
|
176
|
+
[
|
|
177
|
+
string | number | boolean | null | undefined,
|
|
178
|
+
...(string | number | boolean | null | undefined)[],
|
|
179
|
+
] ? string | undefined
|
|
180
|
+
: string | symbol | undefined
|
|
181
|
+
function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
|
|
182
|
+
if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
|
|
183
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
184
|
+
}
|
|
185
|
+
if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
|
|
186
|
+
if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
|
|
187
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
188
|
+
}
|
|
189
|
+
return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
|
|
190
|
+
}
|
|
151
191
|
</script>
|
|
152
192
|
|
|
153
193
|
<template>
|
|
154
194
|
<div
|
|
155
195
|
data-component="ui-status-message"
|
|
156
196
|
v-bind="nativeAttrs($attrs)"
|
|
157
|
-
:role="
|
|
158
|
-
(({ true: 'alert', false: 'status' }) as Record<string, any>)[`${checkedProps.kind === 'error'}`],
|
|
159
|
-
)"
|
|
197
|
+
:role="guarded"
|
|
160
198
|
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
161
199
|
:data-heading="reflectedProp('heading', 'heading', checkedProps.heading, undefined, false)"
|
|
162
200
|
:data-kind="reflectedProp('kind', 'kind', checkedProps.kind, undefined, false)"
|
package/vue/UiSwitch.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'
|
|
@@ -175,6 +175,13 @@ const root = ref<HTMLElement | null>(null)
|
|
|
175
175
|
const inputElement = useTemplateRef<HTMLElement>('input')
|
|
176
176
|
const descriptionElement = useTemplateRef<HTMLElement>('description')
|
|
177
177
|
const internalChecked = ref(false)
|
|
178
|
+
let guardedPrevious: any
|
|
179
|
+
const guarded = computed(() => {
|
|
180
|
+
if (!(internalChecked.value == null || typeof internalChecked.value === 'boolean')) {
|
|
181
|
+
return guardedPrevious
|
|
182
|
+
}
|
|
183
|
+
return guardedPrevious = internalChecked.value
|
|
184
|
+
})
|
|
178
185
|
provide('html-next:ui-switch:internalChecked', internalChecked)
|
|
179
186
|
const hydrationNode = hydrationInstance?.vnode.el
|
|
180
187
|
if (
|
package/vue/UiSwitcher.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/UiTable.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/UiTabs.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,
|
|
@@ -290,6 +290,24 @@ function text(value: unknown): string {
|
|
|
290
290
|
return value === null || value === undefined || typeof value === 'object' ? '' : String(value)
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
+
// A nonempty scalar call cannot produce the invalid-result sentinel.
|
|
294
|
+
type ConcatResult<T extends unknown[]> = T extends
|
|
295
|
+
[
|
|
296
|
+
string | number | boolean | null | undefined,
|
|
297
|
+
...(string | number | boolean | null | undefined)[],
|
|
298
|
+
] ? string | undefined
|
|
299
|
+
: string | symbol | undefined
|
|
300
|
+
function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
|
|
301
|
+
if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
|
|
302
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
303
|
+
}
|
|
304
|
+
if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
|
|
305
|
+
if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
|
|
306
|
+
return Symbol.for('html-next.invalid-result') as ConcatResult<T>
|
|
307
|
+
}
|
|
308
|
+
return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
|
|
309
|
+
}
|
|
310
|
+
|
|
293
311
|
function uniqueKeys<T>(
|
|
294
312
|
items: readonly T[],
|
|
295
313
|
keyOf: (
|
|
@@ -345,7 +363,7 @@ function uniqueKeys<T>(
|
|
|
345
363
|
:key="tab.id"
|
|
346
364
|
type="button"
|
|
347
365
|
role="tab"
|
|
348
|
-
:id="
|
|
366
|
+
:id="concat(tab.id, '-tab')"
|
|
349
367
|
:value="tab.id"
|
|
350
368
|
:aria-controls="tab.id"
|
|
351
369
|
:aria-selected="tab.id === internalValue"
|
package/vue/UiText.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
106
106
|
as: "div" | "h2" | "h3" | "h4" | "h5" | "h6" | "label" | "p" | "small" | "span" | "strong" | null;
|
|
107
107
|
wrap: "normal" | "anywhere" | null;
|
|
108
108
|
truncate: boolean | null;
|
|
109
|
-
weight: "inherit" | "
|
|
109
|
+
weight: "inherit" | "medium" | "normal" | "semibold" | null;
|
|
110
110
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
111
111
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
112
112
|
declare const _default: typeof __VLS_export;
|
package/vue/UiText.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, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiTextarea.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'
|