@threadlabs/looma 0.22.9 → 0.22.11
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/shared/overlay.js +33 -1
- package/components/ui-affordance-scope/ui-affordance-scope.js +2 -2
- package/components/ui-avatar/ui-avatar.js +5 -5
- package/components/ui-avatar-group/ui-avatar-group.js +5 -5
- package/components/ui-button/ui-button.js +1 -1
- package/components/ui-checkbox/ui-checkbox.js +5 -5
- package/components/ui-combobox/ui-combobox.js +61 -61
- package/components/ui-context-menu/ui-context-menu.js +6 -6
- package/components/ui-dialog/ui-dialog.html +6 -0
- package/components/ui-dialog/ui-dialog.js +11 -11
- package/components/ui-disclosure/ui-disclosure.js +6 -6
- package/components/ui-editable/ui-editable.js +6 -6
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +4 -4
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +8 -8
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +6 -6
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +5 -5
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +4 -4
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +5 -5
- package/components/ui-form-field/ui-form-field.js +4 -4
- package/components/ui-icon-button/ui-icon-button.js +2 -2
- package/components/ui-input/ui-input.js +1 -1
- package/components/ui-input-group/ui-input-group.html +14 -0
- package/components/ui-input-group/ui-input-group.js +1 -1
- package/components/ui-listbox/ui-listbox.js +12 -12
- package/components/ui-menu/ui-menu.js +7 -7
- package/components/ui-menu-item/ui-menu-item.js +7 -7
- package/components/ui-popover/ui-popover.js +4 -4
- package/components/ui-radio/ui-radio.js +5 -5
- package/components/ui-radio-group/ui-radio-group.js +6 -6
- package/components/ui-scroll-area/ui-scroll-area.js +1 -1
- package/components/ui-search-shell/ui-search-shell.html +8 -0
- package/components/ui-search-shell/ui-search-shell.js +17 -7
- package/components/ui-select/ui-select.js +1 -1
- package/components/ui-sidebar/ui-sidebar.js +15 -12
- package/components/ui-switch/ui-switch.js +5 -5
- package/components/ui-switcher/ui-switcher.js +1 -1
- package/components/ui-tabs/ui-tabs.js +5 -5
- package/components/ui-textarea/ui-textarea.js +1 -1
- package/components/ui-toast/ui-toast.js +3 -3
- package/components/ui-toast-region/ui-toast-region.js +5 -1
- package/components/ui-tooltip/ui-tooltip.js +22 -11
- package/components/ui-tree/ui-tree.js +4 -4
- package/components/ui-tree-item/ui-tree-item.js +11 -11
- 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 +7 -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 +17 -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 +9 -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 +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +1 -1
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +17 -4
- package/vue/UiAvatar.vue +38 -5
- package/vue/UiAvatarGroup.vue +32 -5
- package/vue/UiBadge.vue +13 -3
- package/vue/UiBreadcrumbItem.vue +5 -3
- package/vue/UiBreadcrumbs.vue +5 -3
- package/vue/UiButton.vue +72 -7
- package/vue/UiCallout.vue +5 -3
- package/vue/UiCard.vue +16 -6
- package/vue/UiCheckbox.vue +41 -4
- package/vue/UiCluster.vue +8 -3
- package/vue/UiCombobox.vue +98 -6
- package/vue/UiContainer.vue +6 -3
- package/vue/UiContextMenu.vue +17 -4
- package/vue/UiCover.vue +5 -3
- package/vue/UiDescriptionItem.vue +5 -3
- package/vue/UiDescriptionList.vue +11 -3
- package/vue/UiDialog.vue +44 -5
- package/vue/UiDisclosure.vue +28 -4
- package/vue/UiEditable.vue +50 -4
- package/vue/UiEditorInsertTableGrid.vue +24 -4
- package/vue/UiEditorMentionMenu.vue +41 -4
- package/vue/UiEditorMentionMenuItem.vue +7 -3
- package/vue/UiEditorSlashMenu.vue +28 -4
- package/vue/UiEditorSlashMenuGroup.vue +5 -3
- package/vue/UiEditorSlashMenuItem.vue +15 -3
- package/vue/UiEditorTableContextMenu.vue +28 -4
- package/vue/UiEditorTableOverlay.vue +17 -4
- package/vue/UiEditorTableToolbar.vue +28 -4
- package/vue/UiEditorToolbar.vue +16 -4
- package/vue/UiFloatingActionButton.vue +7 -3
- package/vue/UiFormField.vue +18 -4
- package/vue/UiGrid.vue +7 -3
- package/vue/UiIcon.vue +5 -3
- package/vue/UiIconButton.vue +47 -5
- package/vue/UiInput.vue +90 -37
- package/vue/UiInputGroup.vue +30 -4
- package/vue/UiList.vue +20 -7
- package/vue/UiListItem.vue +6 -3
- package/vue/UiListbox.vue +38 -5
- package/vue/UiMenu.vue +28 -4
- package/vue/UiMenuGroup.vue +5 -3
- package/vue/UiMenuItem.vue +27 -5
- package/vue/UiMeter.vue +19 -3
- package/vue/UiNavItem.vue +28 -6
- package/vue/UiPageHeader.vue +5 -3
- package/vue/UiPopover.vue +18 -5
- package/vue/UiRadio.vue +28 -4
- package/vue/UiRadioGroup.vue +30 -4
- package/vue/UiReel.vue +7 -3
- package/vue/UiScrollArea.vue +16 -4
- package/vue/UiSearchResultRow.d.ts +1 -1
- package/vue/UiSearchResultRow.vue +6 -3
- package/vue/UiSearchShell.vue +32 -4
- package/vue/UiSection.vue +7 -3
- package/vue/UiSelect.vue +33 -5
- package/vue/UiSeparator.vue +5 -3
- package/vue/UiSidebar.vue +44 -4
- package/vue/UiSpinner.vue +6 -3
- package/vue/UiStack.vue +7 -3
- package/vue/UiStatusMessage.vue +7 -3
- package/vue/UiSwitch.vue +28 -4
- package/vue/UiSwitcher.vue +30 -5
- package/vue/UiTable.vue +17 -4
- package/vue/UiTabs.vue +28 -4
- package/vue/UiText.vue +29 -15
- package/vue/UiTextarea.vue +39 -5
- package/vue/UiToast.vue +17 -4
- package/vue/UiToastRegion.vue +17 -5
- package/vue/UiTooltip.vue +30 -5
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +28 -4
- package/vue/UiTreeItem.d.ts +1 -1
- package/vue/UiTreeItem.vue +59 -4
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +19 -5
- package/vue/chunks/UiAvatar.js +40 -11
- package/vue/chunks/UiAvatarGroup.js +31 -8
- package/vue/chunks/UiBadge.js +13 -7
- package/vue/chunks/UiBreadcrumbItem.js +5 -4
- package/vue/chunks/UiBreadcrumbs.js +5 -4
- package/vue/chunks/UiButton.js +60 -19
- package/vue/chunks/UiCallout.js +5 -4
- package/vue/chunks/UiCard.js +16 -10
- package/vue/chunks/UiCheckbox.js +40 -11
- package/vue/chunks/UiCluster.js +13 -7
- package/vue/chunks/UiCombobox.js +85 -26
- package/vue/chunks/UiContainer.js +9 -5
- package/vue/chunks/UiContextMenu.js +19 -5
- package/vue/chunks/UiCover.js +5 -4
- package/vue/chunks/UiDescriptionItem.js +5 -4
- package/vue/chunks/UiDescriptionList.js +11 -6
- package/vue/chunks/UiDialog.js +40 -11
- package/vue/chunks/UiDisclosure.js +34 -9
- package/vue/chunks/UiEditable.js +49 -14
- package/vue/chunks/UiEditorInsertTableGrid.js +28 -7
- package/vue/chunks/UiEditorMentionMenu.js +40 -11
- package/vue/chunks/UiEditorMentionMenuItem.js +11 -6
- package/vue/chunks/UiEditorSlashMenu.js +34 -9
- package/vue/chunks/UiEditorSlashMenuGroup.js +5 -4
- package/vue/chunks/UiEditorSlashMenuItem.js +15 -8
- package/vue/chunks/UiEditorTableContextMenu.js +34 -9
- package/vue/chunks/UiEditorTableOverlay.js +19 -5
- package/vue/chunks/UiEditorTableToolbar.js +34 -9
- package/vue/chunks/UiEditorToolbar.js +15 -4
- package/vue/chunks/UiFloatingActionButton.js +11 -6
- package/vue/chunks/UiFormField.js +26 -7
- package/vue/chunks/UiGrid.js +11 -6
- package/vue/chunks/UiIcon.js +5 -4
- package/vue/chunks/UiIconButton.js +41 -12
- package/vue/chunks/UiInput.js +53 -14
- package/vue/chunks/UiInputGroup.js +16 -5
- package/vue/chunks/UiList.js +14 -8
- package/vue/chunks/UiListItem.js +9 -5
- package/vue/chunks/UiListbox.js +40 -11
- package/vue/chunks/UiMenu.js +34 -9
- package/vue/chunks/UiMenuGroup.js +5 -4
- package/vue/chunks/UiMenuItem.js +32 -9
- package/vue/chunks/UiMeter.js +19 -10
- package/vue/chunks/UiNavItem.js +16 -9
- package/vue/chunks/UiPageHeader.js +5 -4
- package/vue/chunks/UiPopover.js +25 -6
- package/vue/chunks/UiRadio.js +34 -9
- package/vue/chunks/UiRadioGroup.js +37 -10
- package/vue/chunks/UiReel.js +11 -6
- package/vue/chunks/UiScrollArea.js +15 -4
- package/vue/chunks/UiSearchResultRow.js +9 -5
- package/vue/chunks/UiSearchShell.js +28 -7
- package/vue/chunks/UiSection.js +11 -6
- package/vue/chunks/UiSelect.js +33 -10
- package/vue/chunks/UiSeparator.js +5 -4
- package/vue/chunks/UiSidebar.js +43 -12
- package/vue/chunks/UiSpinner.js +9 -5
- package/vue/chunks/UiStack.js +11 -6
- package/vue/chunks/UiStatusMessage.js +11 -6
- package/vue/chunks/UiSwitch.js +34 -9
- package/vue/chunks/UiSwitcher.js +28 -7
- package/vue/chunks/UiTable.js +20 -6
- package/vue/chunks/UiTabs.js +34 -9
- package/vue/chunks/UiText.js +29 -20
- package/vue/chunks/UiTextarea.js +42 -13
- package/vue/chunks/UiToast.js +19 -5
- package/vue/chunks/UiToastRegion.js +19 -5
- package/vue/chunks/UiTooltip.js +37 -10
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +35 -10
- package/vue/chunks/UiTreeItem.js +58 -17
- package/vue/chunks/host.js +22 -4
- package/vue/chunks/props.js +20 -7
- package/vue/components.css +1228 -1205
- package/vue/editor/index.js +9 -2
- package/vue/host.ts +50 -6
package/vue/UiTooltip.vue
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.19 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'
|
|
5
5
|
import { createDispatch, useComponentHost } from './host'
|
|
6
|
-
import { checkedProp, vPropValidity } from './props'
|
|
6
|
+
import { checkedProp, propValidityState, vPropValidity } from './props'
|
|
7
7
|
|
|
8
8
|
defineOptions({ inheritAttrs: false })
|
|
9
9
|
|
|
@@ -77,7 +77,7 @@ const propValidityContract = {
|
|
|
77
77
|
default: 'hover',
|
|
78
78
|
},
|
|
79
79
|
},
|
|
80
|
-
}
|
|
80
|
+
} as const
|
|
81
81
|
const props = defineProps({
|
|
82
82
|
for: { type: null as unknown as PropType<string | null>, default: '' },
|
|
83
83
|
hideDelay: { type: null as unknown as PropType<number | null>, default: 100 },
|
|
@@ -107,30 +107,43 @@ const props = defineProps({
|
|
|
107
107
|
default: 'hover',
|
|
108
108
|
},
|
|
109
109
|
})
|
|
110
|
+
const acceptedProps: Record<string, unknown> = {
|
|
111
|
+
for: '',
|
|
112
|
+
hideDelay: 100,
|
|
113
|
+
inverse: false,
|
|
114
|
+
open: false,
|
|
115
|
+
placement: 'top',
|
|
116
|
+
showDelay: 500,
|
|
117
|
+
trigger: 'hover',
|
|
118
|
+
}
|
|
110
119
|
const checkedProps = computed(() => ({
|
|
111
120
|
for: checkedProp<string>(
|
|
112
121
|
props['for'],
|
|
113
122
|
{ kind: 'terminal', name: 'string' },
|
|
114
123
|
false,
|
|
115
124
|
'for',
|
|
125
|
+
acceptedProps,
|
|
116
126
|
) as string,
|
|
117
127
|
hideDelay: checkedProp<number>(
|
|
118
128
|
props['hideDelay'],
|
|
119
129
|
{ kind: 'terminal', name: 'number' },
|
|
120
130
|
false,
|
|
121
131
|
'hideDelay',
|
|
132
|
+
acceptedProps,
|
|
122
133
|
) as number,
|
|
123
134
|
inverse: checkedProp<boolean>(
|
|
124
135
|
props['inverse'],
|
|
125
136
|
{ kind: 'terminal', name: 'boolean' },
|
|
126
137
|
false,
|
|
127
138
|
'inverse',
|
|
139
|
+
acceptedProps,
|
|
128
140
|
) as boolean,
|
|
129
141
|
open: checkedProp<boolean>(
|
|
130
142
|
props['open'],
|
|
131
143
|
{ kind: 'terminal', name: 'boolean' },
|
|
132
144
|
false,
|
|
133
145
|
'open',
|
|
146
|
+
acceptedProps,
|
|
134
147
|
) as boolean,
|
|
135
148
|
placement: checkedProp<
|
|
136
149
|
| 'top'
|
|
@@ -145,7 +158,7 @@ const checkedProps = computed(() => ({
|
|
|
145
158
|
| 'right'
|
|
146
159
|
| 'right-start'
|
|
147
160
|
| 'right-end'
|
|
148
|
-
>(props['placement'], { kind: 'terminal', name: 'keyword' }, false, 'placement') as
|
|
161
|
+
>(props['placement'], { kind: 'terminal', name: 'keyword' }, false, 'placement', acceptedProps) as
|
|
149
162
|
| 'top'
|
|
150
163
|
| 'top-start'
|
|
151
164
|
| 'top-end'
|
|
@@ -163,12 +176,14 @@ const checkedProps = computed(() => ({
|
|
|
163
176
|
{ kind: 'terminal', name: 'number' },
|
|
164
177
|
false,
|
|
165
178
|
'showDelay',
|
|
179
|
+
acceptedProps,
|
|
166
180
|
) as number,
|
|
167
181
|
trigger: checkedProp<'hover' | 'click' | 'focus'>(
|
|
168
182
|
props['trigger'],
|
|
169
183
|
{ kind: 'terminal', name: 'keyword' },
|
|
170
184
|
false,
|
|
171
185
|
'trigger',
|
|
186
|
+
acceptedProps,
|
|
172
187
|
) as 'hover' | 'click' | 'focus',
|
|
173
188
|
}))
|
|
174
189
|
void checkedProps.value
|
|
@@ -292,6 +307,16 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
|
|
|
292
307
|
definition: './components/ui-tooltip/ui-tooltip.html',
|
|
293
308
|
},
|
|
294
309
|
props: checkedProps,
|
|
310
|
+
propInputs: (name: string) => {
|
|
311
|
+
const incoming = hydrationInstance?.vnode.props
|
|
312
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
313
|
+
return incoming !== null && incoming !== undefined
|
|
314
|
+
? (incoming[name] ?? incoming[kebab] ?? null)
|
|
315
|
+
: null
|
|
316
|
+
},
|
|
317
|
+
propNames: ['for', 'hideDelay', 'inverse', 'open', 'placement', 'showDelay', 'trigger'],
|
|
318
|
+
propValidity: (name: string) =>
|
|
319
|
+
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
295
320
|
state: { internalOpen },
|
|
296
321
|
})
|
|
297
322
|
</script>
|
|
@@ -302,7 +327,7 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
|
|
|
302
327
|
role="tooltip"
|
|
303
328
|
v-bind="nativeAttrs($attrs)"
|
|
304
329
|
:hidden="guarded"
|
|
305
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...
|
|
330
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
306
331
|
:data-for="reflectedProp('for', 'for', checkedProps.for, undefined, false)"
|
|
307
332
|
:data-hide-delay="reflectedProp('hideDelay', 'hide-delay', checkedProps.hideDelay, undefined, false)"
|
|
308
333
|
:data-inverse="reflectedProp('inverse', 'inverse', checkedProps.inverse, undefined, false)"
|
package/vue/UiTopBar.vue
CHANGED
package/vue/UiTree.vue
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.19 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'
|
|
5
5
|
import { createDispatch, useComponentHost } from './host'
|
|
6
|
-
import { checkedProp, vPropValidity } from './props'
|
|
6
|
+
import { checkedProp, propValidityState, vPropValidity } from './props'
|
|
7
7
|
|
|
8
8
|
defineOptions({ inheritAttrs: false })
|
|
9
9
|
|
|
@@ -59,7 +59,7 @@ const propValidityContract = {
|
|
|
59
59
|
default: 'none',
|
|
60
60
|
},
|
|
61
61
|
},
|
|
62
|
-
}
|
|
62
|
+
} as const
|
|
63
63
|
const props = defineProps({
|
|
64
64
|
density: {
|
|
65
65
|
type: null as unknown as PropType<'comfortable' | 'compact' | null>,
|
|
@@ -74,42 +74,56 @@ const props = defineProps({
|
|
|
74
74
|
default: 'none',
|
|
75
75
|
},
|
|
76
76
|
})
|
|
77
|
+
const acceptedProps: Record<string, unknown> = {
|
|
78
|
+
density: 'comfortable',
|
|
79
|
+
hoverExpandDelay: 700,
|
|
80
|
+
label: 'Tree',
|
|
81
|
+
marquee: false,
|
|
82
|
+
maxDepth: 0,
|
|
83
|
+
selection: 'none',
|
|
84
|
+
}
|
|
77
85
|
const checkedProps = computed(() => ({
|
|
78
86
|
density: checkedProp<'comfortable' | 'compact'>(
|
|
79
87
|
props['density'],
|
|
80
88
|
{ kind: 'terminal', name: 'keyword' },
|
|
81
89
|
false,
|
|
82
90
|
'density',
|
|
91
|
+
acceptedProps,
|
|
83
92
|
) as 'comfortable' | 'compact',
|
|
84
93
|
hoverExpandDelay: checkedProp<number>(
|
|
85
94
|
props['hoverExpandDelay'],
|
|
86
95
|
{ kind: 'terminal', name: 'number' },
|
|
87
96
|
false,
|
|
88
97
|
'hoverExpandDelay',
|
|
98
|
+
acceptedProps,
|
|
89
99
|
) as number,
|
|
90
100
|
label: checkedProp<string>(
|
|
91
101
|
props['label'],
|
|
92
102
|
{ kind: 'terminal', name: 'string' },
|
|
93
103
|
false,
|
|
94
104
|
'label',
|
|
105
|
+
acceptedProps,
|
|
95
106
|
) as string,
|
|
96
107
|
marquee: checkedProp<boolean>(
|
|
97
108
|
props['marquee'],
|
|
98
109
|
{ kind: 'terminal', name: 'boolean' },
|
|
99
110
|
false,
|
|
100
111
|
'marquee',
|
|
112
|
+
acceptedProps,
|
|
101
113
|
) as boolean,
|
|
102
114
|
maxDepth: checkedProp<number>(
|
|
103
115
|
props['maxDepth'],
|
|
104
116
|
{ kind: 'terminal', name: 'number' },
|
|
105
117
|
false,
|
|
106
118
|
'maxDepth',
|
|
119
|
+
acceptedProps,
|
|
107
120
|
) as number,
|
|
108
121
|
selection: checkedProp<'none' | 'single' | 'multiple'>(
|
|
109
122
|
props['selection'],
|
|
110
123
|
{ kind: 'terminal', name: 'keyword' },
|
|
111
124
|
false,
|
|
112
125
|
'selection',
|
|
126
|
+
acceptedProps,
|
|
113
127
|
) as 'none' | 'single' | 'multiple',
|
|
114
128
|
}))
|
|
115
129
|
void checkedProps.value
|
|
@@ -283,6 +297,16 @@ useComponentHost(() => import('../components/ui-tree/ui-tree.js'), {
|
|
|
283
297
|
definition: './components/ui-tree/ui-tree.html',
|
|
284
298
|
},
|
|
285
299
|
props: checkedProps,
|
|
300
|
+
propInputs: (name: string) => {
|
|
301
|
+
const incoming = hydrationInstance?.vnode.props
|
|
302
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
303
|
+
return incoming !== null && incoming !== undefined
|
|
304
|
+
? (incoming[name] ?? incoming[kebab] ?? null)
|
|
305
|
+
: null
|
|
306
|
+
},
|
|
307
|
+
propNames: ['density', 'hoverExpandDelay', 'label', 'marquee', 'maxDepth', 'selection'],
|
|
308
|
+
propValidity: (name: string) =>
|
|
309
|
+
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
286
310
|
})
|
|
287
311
|
</script>
|
|
288
312
|
|
|
@@ -291,7 +315,7 @@ useComponentHost(() => import('../components/ui-tree/ui-tree.js'), {
|
|
|
291
315
|
data-component="ui-tree"
|
|
292
316
|
role="tree"
|
|
293
317
|
v-bind="nativeAttrs($attrs)"
|
|
294
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...
|
|
318
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
295
319
|
:data-density="reflectedProp('density', 'density', checkedProps.density, undefined, false)"
|
|
296
320
|
:data-hover-expand-delay="reflectedProp(
|
|
297
321
|
'hoverExpandDelay',
|
package/vue/UiTreeItem.d.ts
CHANGED
|
@@ -140,8 +140,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
140
140
|
}>, {
|
|
141
141
|
label: string | null;
|
|
142
142
|
marquee: boolean | null;
|
|
143
|
-
disabled: boolean | null;
|
|
144
143
|
selected: boolean | null;
|
|
144
|
+
disabled: boolean | null;
|
|
145
145
|
expanded: boolean | null;
|
|
146
146
|
container: boolean | null;
|
|
147
147
|
lazy: boolean | null;
|
package/vue/UiTreeItem.vue
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.19 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'
|
|
5
5
|
import { createDispatch, useComponentHost } from './host'
|
|
6
|
-
import { checkedProp, vPropValidity } from './props'
|
|
6
|
+
import { checkedProp, propValidityState, vPropValidity } from './props'
|
|
7
7
|
|
|
8
8
|
defineOptions({ inheritAttrs: false })
|
|
9
9
|
|
|
@@ -120,7 +120,7 @@ const propValidityContract = {
|
|
|
120
120
|
'Overrides how many levels sit beneath this item when the tree checks maxDepth for a drag of it. Unset, the tree counts the rendered descendants; set it\n when some are not rendered, such as children that load later.',
|
|
121
121
|
},
|
|
122
122
|
},
|
|
123
|
-
}
|
|
123
|
+
} as const
|
|
124
124
|
const props = defineProps({
|
|
125
125
|
accepts: { type: null as unknown as PropType<string | null>, default: '' },
|
|
126
126
|
container: { type: null as unknown as PropType<boolean | null>, default: false },
|
|
@@ -137,90 +137,120 @@ const props = defineProps({
|
|
|
137
137
|
sortable: { type: null as unknown as PropType<boolean | null>, default: false },
|
|
138
138
|
subtreeDepth: { type: null as unknown as PropType<number | null>, default: null },
|
|
139
139
|
})
|
|
140
|
+
const acceptedProps: Record<string, unknown> = {
|
|
141
|
+
accepts: '',
|
|
142
|
+
container: false,
|
|
143
|
+
disabled: false,
|
|
144
|
+
dragType: 'item',
|
|
145
|
+
dropDepth: null,
|
|
146
|
+
dropScope: '',
|
|
147
|
+
expanded: false,
|
|
148
|
+
itemId: '',
|
|
149
|
+
label: '',
|
|
150
|
+
lazy: false,
|
|
151
|
+
marquee: false,
|
|
152
|
+
selected: false,
|
|
153
|
+
sortable: false,
|
|
154
|
+
subtreeDepth: null,
|
|
155
|
+
}
|
|
140
156
|
const checkedProps = computed(() => ({
|
|
141
157
|
accepts: checkedProp<string>(
|
|
142
158
|
props['accepts'],
|
|
143
159
|
{ kind: 'terminal', name: 'string' },
|
|
144
160
|
false,
|
|
145
161
|
'accepts',
|
|
162
|
+
acceptedProps,
|
|
146
163
|
) as string,
|
|
147
164
|
container: checkedProp<boolean>(
|
|
148
165
|
props['container'],
|
|
149
166
|
{ kind: 'terminal', name: 'boolean' },
|
|
150
167
|
false,
|
|
151
168
|
'container',
|
|
169
|
+
acceptedProps,
|
|
152
170
|
) as boolean,
|
|
153
171
|
disabled: checkedProp<boolean>(
|
|
154
172
|
props['disabled'],
|
|
155
173
|
{ kind: 'terminal', name: 'boolean' },
|
|
156
174
|
false,
|
|
157
175
|
'disabled',
|
|
176
|
+
acceptedProps,
|
|
158
177
|
) as boolean,
|
|
159
178
|
dragType: checkedProp<string>(
|
|
160
179
|
props['dragType'],
|
|
161
180
|
{ kind: 'terminal', name: 'string' },
|
|
162
181
|
false,
|
|
163
182
|
'dragType',
|
|
183
|
+
acceptedProps,
|
|
164
184
|
) as string,
|
|
165
185
|
dropDepth: checkedProp<number>(
|
|
166
186
|
props['dropDepth'],
|
|
167
187
|
{ kind: 'terminal', name: 'number' },
|
|
168
188
|
false,
|
|
169
189
|
'dropDepth',
|
|
190
|
+
acceptedProps,
|
|
170
191
|
),
|
|
171
192
|
dropScope: checkedProp<string>(
|
|
172
193
|
props['dropScope'],
|
|
173
194
|
{ kind: 'terminal', name: 'string' },
|
|
174
195
|
false,
|
|
175
196
|
'dropScope',
|
|
197
|
+
acceptedProps,
|
|
176
198
|
) as string,
|
|
177
199
|
expanded: checkedProp<boolean>(
|
|
178
200
|
props['expanded'],
|
|
179
201
|
{ kind: 'terminal', name: 'boolean' },
|
|
180
202
|
false,
|
|
181
203
|
'expanded',
|
|
204
|
+
acceptedProps,
|
|
182
205
|
) as boolean,
|
|
183
206
|
itemId: checkedProp<string>(
|
|
184
207
|
props['itemId'],
|
|
185
208
|
{ kind: 'terminal', name: 'string' },
|
|
186
209
|
false,
|
|
187
210
|
'itemId',
|
|
211
|
+
acceptedProps,
|
|
188
212
|
) as string,
|
|
189
213
|
label: checkedProp<string>(
|
|
190
214
|
props['label'],
|
|
191
215
|
{ kind: 'terminal', name: 'string' },
|
|
192
216
|
false,
|
|
193
217
|
'label',
|
|
218
|
+
acceptedProps,
|
|
194
219
|
) as string,
|
|
195
220
|
lazy: checkedProp<boolean>(
|
|
196
221
|
props['lazy'],
|
|
197
222
|
{ kind: 'terminal', name: 'boolean' },
|
|
198
223
|
false,
|
|
199
224
|
'lazy',
|
|
225
|
+
acceptedProps,
|
|
200
226
|
) as boolean,
|
|
201
227
|
marquee: checkedProp<boolean>(
|
|
202
228
|
props['marquee'],
|
|
203
229
|
{ kind: 'terminal', name: 'boolean' },
|
|
204
230
|
false,
|
|
205
231
|
'marquee',
|
|
232
|
+
acceptedProps,
|
|
206
233
|
) as boolean,
|
|
207
234
|
selected: checkedProp<boolean>(
|
|
208
235
|
props['selected'],
|
|
209
236
|
{ kind: 'terminal', name: 'boolean' },
|
|
210
237
|
false,
|
|
211
238
|
'selected',
|
|
239
|
+
acceptedProps,
|
|
212
240
|
) as boolean,
|
|
213
241
|
sortable: checkedProp<boolean>(
|
|
214
242
|
props['sortable'],
|
|
215
243
|
{ kind: 'terminal', name: 'boolean' },
|
|
216
244
|
false,
|
|
217
245
|
'sortable',
|
|
246
|
+
acceptedProps,
|
|
218
247
|
) as boolean,
|
|
219
248
|
subtreeDepth: checkedProp<number>(
|
|
220
249
|
props['subtreeDepth'],
|
|
221
250
|
{ kind: 'terminal', name: 'number' },
|
|
222
251
|
false,
|
|
223
252
|
'subtreeDepth',
|
|
253
|
+
acceptedProps,
|
|
224
254
|
),
|
|
225
255
|
}))
|
|
226
256
|
void checkedProps.value
|
|
@@ -362,6 +392,31 @@ useComponentHost(() => import('../components/ui-tree-item/ui-tree-item.js'), {
|
|
|
362
392
|
definition: './components/ui-tree-item/ui-tree-item.html',
|
|
363
393
|
},
|
|
364
394
|
props: checkedProps,
|
|
395
|
+
propInputs: (name: string) => {
|
|
396
|
+
const incoming = hydrationInstance?.vnode.props
|
|
397
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
|
|
398
|
+
return incoming !== null && incoming !== undefined
|
|
399
|
+
? (incoming[name] ?? incoming[kebab] ?? null)
|
|
400
|
+
: null
|
|
401
|
+
},
|
|
402
|
+
propNames: [
|
|
403
|
+
'accepts',
|
|
404
|
+
'container',
|
|
405
|
+
'disabled',
|
|
406
|
+
'dragType',
|
|
407
|
+
'dropDepth',
|
|
408
|
+
'dropScope',
|
|
409
|
+
'expanded',
|
|
410
|
+
'itemId',
|
|
411
|
+
'label',
|
|
412
|
+
'lazy',
|
|
413
|
+
'marquee',
|
|
414
|
+
'selected',
|
|
415
|
+
'sortable',
|
|
416
|
+
'subtreeDepth',
|
|
417
|
+
],
|
|
418
|
+
propValidity: (name: string) =>
|
|
419
|
+
propValidityState({ contract: propValidityContract, values: { ...props } }, name),
|
|
365
420
|
refs: {
|
|
366
421
|
row: rowElement,
|
|
367
422
|
dragHandle: dragHandleElement,
|
|
@@ -385,7 +440,7 @@ useComponentHost(() => import('../components/ui-tree-item/ui-tree-item.js'), {
|
|
|
385
440
|
:aria-level="guarded"
|
|
386
441
|
:aria-selected="checkedProps.selected ?? undefined"
|
|
387
442
|
:aria-disabled="checkedProps.disabled ?? undefined"
|
|
388
|
-
v-prop-validity="{ contract: propValidityContract, values: { ...
|
|
443
|
+
v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
|
|
389
444
|
:data-accepts="reflectedProp('accepts', 'accepts', checkedProps.accepts, undefined, true)"
|
|
390
445
|
:data-container="reflectedProp('container', 'container', checkedProps.container, undefined, false)"
|
|
391
446
|
:data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as vPropValidity, n as propValidityState, t as checkedProp } from "./props.js";
|
|
4
4
|
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiAffordanceScope.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
@@ -48,15 +48,19 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
48
48
|
}
|
|
49
49
|
} };
|
|
50
50
|
const props = __props;
|
|
51
|
+
const acceptedProps = {
|
|
52
|
+
guide: "dot",
|
|
53
|
+
nearRadius: 16
|
|
54
|
+
};
|
|
51
55
|
const checkedProps = computed(() => ({
|
|
52
56
|
guide: checkedProp(props["guide"], {
|
|
53
57
|
kind: "terminal",
|
|
54
58
|
name: "keyword"
|
|
55
|
-
}, false, "guide"),
|
|
59
|
+
}, false, "guide", acceptedProps),
|
|
56
60
|
nearRadius: checkedProp(props["nearRadius"], {
|
|
57
61
|
kind: "terminal",
|
|
58
62
|
name: "number"
|
|
59
|
-
}, false, "nearRadius")
|
|
63
|
+
}, false, "nearRadius", acceptedProps)
|
|
60
64
|
}));
|
|
61
65
|
checkedProps.value;
|
|
62
66
|
watchSyncEffect(() => {
|
|
@@ -101,6 +105,16 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
101
105
|
definition: "./components/ui-affordance-scope/ui-affordance-scope.html"
|
|
102
106
|
},
|
|
103
107
|
props: checkedProps,
|
|
108
|
+
propInputs: (name) => {
|
|
109
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
110
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
111
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
112
|
+
},
|
|
113
|
+
propNames: ["guide", "nearRadius"],
|
|
114
|
+
propValidity: (name) => propValidityState({
|
|
115
|
+
contract: propValidityContract,
|
|
116
|
+
values: { ...props }
|
|
117
|
+
}, name),
|
|
104
118
|
state: { engaged }
|
|
105
119
|
});
|
|
106
120
|
return (_ctx, _cache) => {
|
|
@@ -112,10 +126,10 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
|
|
|
112
126
|
ref: root
|
|
113
127
|
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
114
128
|
contract: propValidityContract,
|
|
115
|
-
values: { ...
|
|
129
|
+
values: { ...props }
|
|
116
130
|
}]]);
|
|
117
131
|
};
|
|
118
132
|
}
|
|
119
|
-
}), [["__scopeId", "data-v-
|
|
133
|
+
}), [["__scopeId", "data-v-0c7e6f0e"]]);
|
|
120
134
|
//#endregion
|
|
121
135
|
export { UiAffordanceScope_default as t };
|
package/vue/chunks/UiAvatar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as vPropValidity, n as propValidityState, t as checkedProp } from "./props.js";
|
|
4
4
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
5
5
|
import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiAvatar.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -147,39 +147,49 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
147
147
|
}
|
|
148
148
|
} };
|
|
149
149
|
const props = __props;
|
|
150
|
+
const acceptedProps = {
|
|
151
|
+
active: false,
|
|
152
|
+
alt: "",
|
|
153
|
+
decorative: false,
|
|
154
|
+
fallback: "",
|
|
155
|
+
name: "",
|
|
156
|
+
shape: "circle",
|
|
157
|
+
size: "md",
|
|
158
|
+
src: null
|
|
159
|
+
};
|
|
150
160
|
const checkedProps = computed(() => ({
|
|
151
161
|
active: checkedProp(props["active"], {
|
|
152
162
|
kind: "terminal",
|
|
153
163
|
name: "boolean"
|
|
154
|
-
}, false, "active"),
|
|
164
|
+
}, false, "active", acceptedProps),
|
|
155
165
|
alt: checkedProp(props["alt"], {
|
|
156
166
|
kind: "terminal",
|
|
157
167
|
name: "string"
|
|
158
|
-
}, false, "alt"),
|
|
168
|
+
}, false, "alt", acceptedProps),
|
|
159
169
|
decorative: checkedProp(props["decorative"], {
|
|
160
170
|
kind: "terminal",
|
|
161
171
|
name: "boolean"
|
|
162
|
-
}, false, "decorative"),
|
|
172
|
+
}, false, "decorative", acceptedProps),
|
|
163
173
|
fallback: checkedProp(props["fallback"], {
|
|
164
174
|
kind: "terminal",
|
|
165
175
|
name: "string"
|
|
166
|
-
}, false, "fallback"),
|
|
176
|
+
}, false, "fallback", acceptedProps),
|
|
167
177
|
name: checkedProp(props["name"], {
|
|
168
178
|
kind: "terminal",
|
|
169
179
|
name: "string"
|
|
170
|
-
}, false, "name"),
|
|
180
|
+
}, false, "name", acceptedProps),
|
|
171
181
|
shape: checkedProp(props["shape"], {
|
|
172
182
|
kind: "terminal",
|
|
173
183
|
name: "keyword"
|
|
174
|
-
}, false, "shape"),
|
|
184
|
+
}, false, "shape", acceptedProps),
|
|
175
185
|
size: checkedProp(props["size"], {
|
|
176
186
|
kind: "terminal",
|
|
177
187
|
name: "keyword"
|
|
178
|
-
}, false, "size"),
|
|
188
|
+
}, false, "size", acceptedProps),
|
|
179
189
|
src: checkedProp(props["src"], {
|
|
180
190
|
kind: "terminal",
|
|
181
191
|
name: "string"
|
|
182
|
-
}, false, "src")
|
|
192
|
+
}, false, "src", acceptedProps)
|
|
183
193
|
}));
|
|
184
194
|
checkedProps.value;
|
|
185
195
|
watchSyncEffect(() => {
|
|
@@ -264,6 +274,25 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
264
274
|
definition: "./components/ui-avatar/ui-avatar.html"
|
|
265
275
|
},
|
|
266
276
|
props: checkedProps,
|
|
277
|
+
propInputs: (name) => {
|
|
278
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
279
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
280
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
281
|
+
},
|
|
282
|
+
propNames: [
|
|
283
|
+
"active",
|
|
284
|
+
"alt",
|
|
285
|
+
"decorative",
|
|
286
|
+
"fallback",
|
|
287
|
+
"name",
|
|
288
|
+
"shape",
|
|
289
|
+
"size",
|
|
290
|
+
"src"
|
|
291
|
+
],
|
|
292
|
+
propValidity: (name) => propValidityState({
|
|
293
|
+
contract: propValidityContract,
|
|
294
|
+
values: { ...props }
|
|
295
|
+
}, name),
|
|
267
296
|
refs: { image: imageElement },
|
|
268
297
|
state: {
|
|
269
298
|
hasImage,
|
|
@@ -302,10 +331,10 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
302
331
|
}, [createElementVNode("span", { hidden: guardedBinding3.value }, toDisplayString(guardedBinding4.value), 9, _hoisted_4), createElementVNode("span", { hidden: guardedBinding5.value }, [createVNode(UiIcon_default, { name: "user-round" })], 8, _hoisted_5)], 8, _hoisted_3)
|
|
303
332
|
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
304
333
|
contract: propValidityContract,
|
|
305
|
-
values: { ...
|
|
334
|
+
values: { ...props }
|
|
306
335
|
}]]);
|
|
307
336
|
};
|
|
308
337
|
}
|
|
309
|
-
}), [["__scopeId", "data-v-
|
|
338
|
+
}), [["__scopeId", "data-v-5cd53487"]]);
|
|
310
339
|
//#endregion
|
|
311
340
|
export { UiAvatar_default as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { r as useComponentHost, t as createDispatch } from "./host.js";
|
|
3
|
-
import {
|
|
3
|
+
import { i as vPropValidity, n as propValidityState, t as checkedProp } from "./props.js";
|
|
4
4
|
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiAvatarGroup.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
@@ -98,27 +98,34 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
98
98
|
}
|
|
99
99
|
} };
|
|
100
100
|
const props = __props;
|
|
101
|
+
const acceptedProps = {
|
|
102
|
+
label: "People",
|
|
103
|
+
max: 5,
|
|
104
|
+
overflowLabel: "{count} more",
|
|
105
|
+
size: "md",
|
|
106
|
+
total: null
|
|
107
|
+
};
|
|
101
108
|
const checkedProps = computed(() => ({
|
|
102
109
|
label: checkedProp(props["label"], {
|
|
103
110
|
kind: "terminal",
|
|
104
111
|
name: "string"
|
|
105
|
-
}, false, "label"),
|
|
112
|
+
}, false, "label", acceptedProps),
|
|
106
113
|
max: checkedProp(props["max"], {
|
|
107
114
|
kind: "terminal",
|
|
108
115
|
name: "number"
|
|
109
|
-
}, false, "max"),
|
|
116
|
+
}, false, "max", acceptedProps),
|
|
110
117
|
overflowLabel: checkedProp(props["overflowLabel"], {
|
|
111
118
|
kind: "terminal",
|
|
112
119
|
name: "string"
|
|
113
|
-
}, false, "overflowLabel"),
|
|
120
|
+
}, false, "overflowLabel", acceptedProps),
|
|
114
121
|
size: checkedProp(props["size"], {
|
|
115
122
|
kind: "terminal",
|
|
116
123
|
name: "keyword"
|
|
117
|
-
}, false, "size"),
|
|
124
|
+
}, false, "size", acceptedProps),
|
|
118
125
|
total: checkedProp(props["total"], {
|
|
119
126
|
kind: "terminal",
|
|
120
127
|
name: "integer"
|
|
121
|
-
}, false, "total")
|
|
128
|
+
}, false, "total", acceptedProps)
|
|
122
129
|
}));
|
|
123
130
|
checkedProps.value;
|
|
124
131
|
watchSyncEffect(() => {
|
|
@@ -172,6 +179,22 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
172
179
|
definition: "./components/ui-avatar-group/ui-avatar-group.html"
|
|
173
180
|
},
|
|
174
181
|
props: checkedProps,
|
|
182
|
+
propInputs: (name) => {
|
|
183
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
184
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
185
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
186
|
+
},
|
|
187
|
+
propNames: [
|
|
188
|
+
"label",
|
|
189
|
+
"max",
|
|
190
|
+
"overflowLabel",
|
|
191
|
+
"size",
|
|
192
|
+
"total"
|
|
193
|
+
],
|
|
194
|
+
propValidity: (name) => propValidityState({
|
|
195
|
+
contract: propValidityContract,
|
|
196
|
+
values: { ...props }
|
|
197
|
+
}, name),
|
|
175
198
|
refs: { overflow: overflowElement },
|
|
176
199
|
state: {
|
|
177
200
|
overflowCount,
|
|
@@ -200,10 +223,10 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
200
223
|
ref: "overflow"
|
|
201
224
|
}, toDisplayString(`+${overflowCount.value}`), 9, _hoisted_2)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
202
225
|
contract: propValidityContract,
|
|
203
|
-
values: { ...
|
|
226
|
+
values: { ...props }
|
|
204
227
|
}]]);
|
|
205
228
|
};
|
|
206
229
|
}
|
|
207
|
-
}), [["__scopeId", "data-v-
|
|
230
|
+
}), [["__scopeId", "data-v-d3d2981c"]]);
|
|
208
231
|
//#endregion
|
|
209
232
|
export { UiAvatarGroup_default as t };
|