@threadlabs/looma 0.22.9 → 0.22.10
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-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.js +9 -9
- 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.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.js +6 -6
- package/components/ui-select/ui-select.js +1 -1
- package/components/ui-sidebar/ui-sidebar.js +12 -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 +1 -1
- package/components/ui-tooltip/ui-tooltip.js +9 -9
- package/components/ui-tree/ui-tree.js +4 -4
- package/components/ui-tree-item/ui-tree-item.js +11 -11
- package/package.json +2 -2
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +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 +38 -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 +16 -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 +24 -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 +1205 -1205
- package/vue/host.ts +50 -6
package/vue/chunks/UiTextarea.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 { n as readBoundControl, r as vBindControl } from "./control.js";
|
|
5
5
|
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, unref, watchSyncEffect, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiTextarea.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -149,43 +149,53 @@ var UiTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
149
149
|
}
|
|
150
150
|
} };
|
|
151
151
|
const props = __props;
|
|
152
|
+
const acceptedProps = {
|
|
153
|
+
autosize: false,
|
|
154
|
+
disabled: false,
|
|
155
|
+
invalid: false,
|
|
156
|
+
readonly: false,
|
|
157
|
+
required: false,
|
|
158
|
+
rows: 4,
|
|
159
|
+
size: "md",
|
|
160
|
+
value: null
|
|
161
|
+
};
|
|
152
162
|
const checkedProps = computed(() => ({
|
|
153
163
|
autosize: checkedProp(props["autosize"], {
|
|
154
164
|
kind: "terminal",
|
|
155
165
|
name: "boolean"
|
|
156
|
-
}, false, "autosize"),
|
|
166
|
+
}, false, "autosize", acceptedProps),
|
|
157
167
|
disabled: checkedProp(props["disabled"], {
|
|
158
168
|
kind: "terminal",
|
|
159
169
|
name: "boolean"
|
|
160
|
-
}, false, "disabled"),
|
|
170
|
+
}, false, "disabled", acceptedProps),
|
|
161
171
|
invalid: checkedProp(props["invalid"], {
|
|
162
172
|
kind: "terminal",
|
|
163
173
|
name: "boolean"
|
|
164
|
-
}, false, "invalid"),
|
|
174
|
+
}, false, "invalid", acceptedProps),
|
|
165
175
|
readonly: checkedProp(props["readonly"], {
|
|
166
176
|
kind: "terminal",
|
|
167
177
|
name: "boolean"
|
|
168
|
-
}, false, "readonly"),
|
|
178
|
+
}, false, "readonly", acceptedProps),
|
|
169
179
|
required: checkedProp(props["required"], {
|
|
170
180
|
kind: "terminal",
|
|
171
181
|
name: "boolean"
|
|
172
|
-
}, false, "required"),
|
|
182
|
+
}, false, "required", acceptedProps),
|
|
173
183
|
rows: checkedProp(props["rows"], {
|
|
174
184
|
kind: "terminal",
|
|
175
185
|
name: "integer"
|
|
176
|
-
}, false, "rows"),
|
|
186
|
+
}, false, "rows", acceptedProps),
|
|
177
187
|
size: checkedProp(props["size"], {
|
|
178
188
|
kind: "terminal",
|
|
179
189
|
name: "keyword"
|
|
180
|
-
}, false, "size"),
|
|
190
|
+
}, false, "size", acceptedProps),
|
|
181
191
|
value: checkedProp(props["value"], {
|
|
182
192
|
kind: "terminal",
|
|
183
193
|
name: "string"
|
|
184
|
-
}, false, "value"),
|
|
194
|
+
}, false, "value", acceptedProps),
|
|
185
195
|
modelValue: checkedProp(props.modelValue, {
|
|
186
196
|
kind: "terminal",
|
|
187
197
|
name: "string"
|
|
188
|
-
}, false, "modelValue")
|
|
198
|
+
}, false, "modelValue", acceptedProps)
|
|
189
199
|
}));
|
|
190
200
|
checkedProps.value;
|
|
191
201
|
watchSyncEffect(() => {
|
|
@@ -232,7 +242,26 @@ var UiTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
232
242
|
specifier: "../components/ui-textarea/ui-textarea.js",
|
|
233
243
|
definition: "./components/ui-textarea/ui-textarea.html"
|
|
234
244
|
},
|
|
235
|
-
props: checkedProps
|
|
245
|
+
props: checkedProps,
|
|
246
|
+
propInputs: (name) => {
|
|
247
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
248
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
249
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
250
|
+
},
|
|
251
|
+
propNames: [
|
|
252
|
+
"autosize",
|
|
253
|
+
"disabled",
|
|
254
|
+
"invalid",
|
|
255
|
+
"readonly",
|
|
256
|
+
"required",
|
|
257
|
+
"rows",
|
|
258
|
+
"size",
|
|
259
|
+
"value"
|
|
260
|
+
],
|
|
261
|
+
propValidity: (name) => propValidityState({
|
|
262
|
+
contract: propValidityContract,
|
|
263
|
+
values: { ...props }
|
|
264
|
+
}, name)
|
|
236
265
|
});
|
|
237
266
|
return (_ctx, _cache) => {
|
|
238
267
|
return withDirectives((openBlock(), createElementBlock("textarea", mergeProps({ "data-component": "ui-textarea" }, nativeAttrs(_ctx.$attrs), {
|
|
@@ -256,7 +285,7 @@ var UiTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
256
285
|
ref: root
|
|
257
286
|
}), null, 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
258
287
|
contract: propValidityContract,
|
|
259
|
-
values: { ...
|
|
288
|
+
values: { ...props }
|
|
260
289
|
}], [unref(vBindControl), {
|
|
261
290
|
tag: "textarea",
|
|
262
291
|
name: "value",
|
|
@@ -265,6 +294,6 @@ var UiTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
265
294
|
}]]);
|
|
266
295
|
};
|
|
267
296
|
}
|
|
268
|
-
}), [["__scopeId", "data-v-
|
|
297
|
+
}), [["__scopeId", "data-v-80fd27c3"]]);
|
|
269
298
|
//#endregion
|
|
270
299
|
export { UiTextarea_default as t };
|
package/vue/chunks/UiToast.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 { t as UiIconButton_default } from "./UiIconButton.js";
|
|
6
6
|
import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
@@ -63,15 +63,19 @@ var UiToast_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
63
63
|
}
|
|
64
64
|
} };
|
|
65
65
|
const props = __props;
|
|
66
|
+
const acceptedProps = {
|
|
67
|
+
duration: 0,
|
|
68
|
+
tone: "neutral"
|
|
69
|
+
};
|
|
66
70
|
const checkedProps = computed(() => ({
|
|
67
71
|
duration: checkedProp(props["duration"], {
|
|
68
72
|
kind: "terminal",
|
|
69
73
|
name: "number"
|
|
70
|
-
}, false, "duration"),
|
|
74
|
+
}, false, "duration", acceptedProps),
|
|
71
75
|
tone: checkedProp(props["tone"], {
|
|
72
76
|
kind: "terminal",
|
|
73
77
|
name: "keyword"
|
|
74
|
-
}, false, "tone")
|
|
78
|
+
}, false, "tone", acceptedProps)
|
|
75
79
|
}));
|
|
76
80
|
checkedProps.value;
|
|
77
81
|
watchSyncEffect(() => {
|
|
@@ -117,6 +121,16 @@ var UiToast_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
117
121
|
definition: "./components/ui-toast/ui-toast.html"
|
|
118
122
|
},
|
|
119
123
|
props: checkedProps,
|
|
124
|
+
propInputs: (name) => {
|
|
125
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
126
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
127
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
128
|
+
},
|
|
129
|
+
propNames: ["duration", "tone"],
|
|
130
|
+
propValidity: (name) => propValidityState({
|
|
131
|
+
contract: propValidityContract,
|
|
132
|
+
values: { ...props }
|
|
133
|
+
}, name),
|
|
120
134
|
refs: { action: actionElement }
|
|
121
135
|
});
|
|
122
136
|
function text(value) {
|
|
@@ -156,10 +170,10 @@ var UiToast_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
156
170
|
})
|
|
157
171
|
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
158
172
|
contract: propValidityContract,
|
|
159
|
-
values: { ...
|
|
173
|
+
values: { ...props }
|
|
160
174
|
}]]);
|
|
161
175
|
};
|
|
162
176
|
}
|
|
163
|
-
}), [["__scopeId", "data-v-
|
|
177
|
+
}), [["__scopeId", "data-v-c2203cd3"]]);
|
|
164
178
|
//#endregion
|
|
165
179
|
export { UiToast_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 { t as UiIcon_default } from "./UiIcon.js";
|
|
5
5
|
import { t as UiIconButton_default } from "./UiIconButton.js";
|
|
6
6
|
import { Fragment, computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, h, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
@@ -65,15 +65,19 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
65
65
|
}
|
|
66
66
|
} };
|
|
67
67
|
const props = __props;
|
|
68
|
+
const acceptedProps = {
|
|
69
|
+
duration: 0,
|
|
70
|
+
placement: "top"
|
|
71
|
+
};
|
|
68
72
|
const checkedProps = computed(() => ({
|
|
69
73
|
duration: checkedProp(props["duration"], {
|
|
70
74
|
kind: "terminal",
|
|
71
75
|
name: "number"
|
|
72
|
-
}, false, "duration"),
|
|
76
|
+
}, false, "duration", acceptedProps),
|
|
73
77
|
placement: checkedProp(props["placement"], {
|
|
74
78
|
kind: "terminal",
|
|
75
79
|
name: "keyword"
|
|
76
|
-
}, false, "placement")
|
|
80
|
+
}, false, "placement", acceptedProps)
|
|
77
81
|
}));
|
|
78
82
|
checkedProps.value;
|
|
79
83
|
watchSyncEffect(() => {
|
|
@@ -144,6 +148,16 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
144
148
|
definition: "./components/ui-toast-region/ui-toast-region.html"
|
|
145
149
|
},
|
|
146
150
|
props: checkedProps,
|
|
151
|
+
propInputs: (name) => {
|
|
152
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
153
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
154
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
155
|
+
},
|
|
156
|
+
propNames: ["duration", "placement"],
|
|
157
|
+
propValidity: (name) => propValidityState({
|
|
158
|
+
contract: propValidityContract,
|
|
159
|
+
values: { ...props }
|
|
160
|
+
}, name),
|
|
147
161
|
state: { toasts }
|
|
148
162
|
});
|
|
149
163
|
__expose({ show: async (...args) => {
|
|
@@ -223,10 +237,10 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
223
237
|
_: 1
|
|
224
238
|
})], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
225
239
|
contract: propValidityContract,
|
|
226
|
-
values: { ...
|
|
240
|
+
values: { ...props }
|
|
227
241
|
}]]);
|
|
228
242
|
};
|
|
229
243
|
}
|
|
230
|
-
}), [["__scopeId", "data-v-
|
|
244
|
+
}), [["__scopeId", "data-v-3a5d9920"]]);
|
|
231
245
|
//#endregion
|
|
232
246
|
export { UiToastRegion_default as t };
|
package/vue/chunks/UiTooltip.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 { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiTooltip.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
@@ -150,35 +150,44 @@ var UiTooltip_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
150
150
|
}
|
|
151
151
|
} };
|
|
152
152
|
const props = __props;
|
|
153
|
+
const acceptedProps = {
|
|
154
|
+
for: "",
|
|
155
|
+
hideDelay: 100,
|
|
156
|
+
inverse: false,
|
|
157
|
+
open: false,
|
|
158
|
+
placement: "top",
|
|
159
|
+
showDelay: 500,
|
|
160
|
+
trigger: "hover"
|
|
161
|
+
};
|
|
153
162
|
const checkedProps = computed(() => ({
|
|
154
163
|
for: checkedProp(props["for"], {
|
|
155
164
|
kind: "terminal",
|
|
156
165
|
name: "string"
|
|
157
|
-
}, false, "for"),
|
|
166
|
+
}, false, "for", acceptedProps),
|
|
158
167
|
hideDelay: checkedProp(props["hideDelay"], {
|
|
159
168
|
kind: "terminal",
|
|
160
169
|
name: "number"
|
|
161
|
-
}, false, "hideDelay"),
|
|
170
|
+
}, false, "hideDelay", acceptedProps),
|
|
162
171
|
inverse: checkedProp(props["inverse"], {
|
|
163
172
|
kind: "terminal",
|
|
164
173
|
name: "boolean"
|
|
165
|
-
}, false, "inverse"),
|
|
174
|
+
}, false, "inverse", acceptedProps),
|
|
166
175
|
open: checkedProp(props["open"], {
|
|
167
176
|
kind: "terminal",
|
|
168
177
|
name: "boolean"
|
|
169
|
-
}, false, "open"),
|
|
178
|
+
}, false, "open", acceptedProps),
|
|
170
179
|
placement: checkedProp(props["placement"], {
|
|
171
180
|
kind: "terminal",
|
|
172
181
|
name: "keyword"
|
|
173
|
-
}, false, "placement"),
|
|
182
|
+
}, false, "placement", acceptedProps),
|
|
174
183
|
showDelay: checkedProp(props["showDelay"], {
|
|
175
184
|
kind: "terminal",
|
|
176
185
|
name: "number"
|
|
177
|
-
}, false, "showDelay"),
|
|
186
|
+
}, false, "showDelay", acceptedProps),
|
|
178
187
|
trigger: checkedProp(props["trigger"], {
|
|
179
188
|
kind: "terminal",
|
|
180
189
|
name: "keyword"
|
|
181
|
-
}, false, "trigger")
|
|
190
|
+
}, false, "trigger", acceptedProps)
|
|
182
191
|
}));
|
|
183
192
|
checkedProps.value;
|
|
184
193
|
watchSyncEffect(() => {
|
|
@@ -236,6 +245,24 @@ var UiTooltip_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
236
245
|
definition: "./components/ui-tooltip/ui-tooltip.html"
|
|
237
246
|
},
|
|
238
247
|
props: checkedProps,
|
|
248
|
+
propInputs: (name) => {
|
|
249
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
250
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
251
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
252
|
+
},
|
|
253
|
+
propNames: [
|
|
254
|
+
"for",
|
|
255
|
+
"hideDelay",
|
|
256
|
+
"inverse",
|
|
257
|
+
"open",
|
|
258
|
+
"placement",
|
|
259
|
+
"showDelay",
|
|
260
|
+
"trigger"
|
|
261
|
+
],
|
|
262
|
+
propValidity: (name) => propValidityState({
|
|
263
|
+
contract: propValidityContract,
|
|
264
|
+
values: { ...props }
|
|
265
|
+
}, name),
|
|
239
266
|
state: { internalOpen }
|
|
240
267
|
});
|
|
241
268
|
return (_ctx, _cache) => {
|
|
@@ -256,10 +283,10 @@ var UiTooltip_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
256
283
|
ref: root
|
|
257
284
|
}), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default"), createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "shortcut")])])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
258
285
|
contract: propValidityContract,
|
|
259
|
-
values: { ...
|
|
286
|
+
values: { ...props }
|
|
260
287
|
}]]);
|
|
261
288
|
};
|
|
262
289
|
}
|
|
263
|
-
}), [["__scopeId", "data-v-
|
|
290
|
+
}), [["__scopeId", "data-v-56fb49c0"]]);
|
|
264
291
|
//#endregion
|
|
265
292
|
export { UiTooltip_default as t };
|
package/vue/chunks/UiTopBar.js
CHANGED
package/vue/chunks/UiTree.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 { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiTree.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
@@ -119,31 +119,39 @@ var UiTree_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
119
119
|
}
|
|
120
120
|
} };
|
|
121
121
|
const props = __props;
|
|
122
|
+
const acceptedProps = {
|
|
123
|
+
density: "comfortable",
|
|
124
|
+
hoverExpandDelay: 700,
|
|
125
|
+
label: "Tree",
|
|
126
|
+
marquee: false,
|
|
127
|
+
maxDepth: 0,
|
|
128
|
+
selection: "none"
|
|
129
|
+
};
|
|
122
130
|
const checkedProps = computed(() => ({
|
|
123
131
|
density: checkedProp(props["density"], {
|
|
124
132
|
kind: "terminal",
|
|
125
133
|
name: "keyword"
|
|
126
|
-
}, false, "density"),
|
|
134
|
+
}, false, "density", acceptedProps),
|
|
127
135
|
hoverExpandDelay: checkedProp(props["hoverExpandDelay"], {
|
|
128
136
|
kind: "terminal",
|
|
129
137
|
name: "number"
|
|
130
|
-
}, false, "hoverExpandDelay"),
|
|
138
|
+
}, false, "hoverExpandDelay", acceptedProps),
|
|
131
139
|
label: checkedProp(props["label"], {
|
|
132
140
|
kind: "terminal",
|
|
133
141
|
name: "string"
|
|
134
|
-
}, false, "label"),
|
|
142
|
+
}, false, "label", acceptedProps),
|
|
135
143
|
marquee: checkedProp(props["marquee"], {
|
|
136
144
|
kind: "terminal",
|
|
137
145
|
name: "boolean"
|
|
138
|
-
}, false, "marquee"),
|
|
146
|
+
}, false, "marquee", acceptedProps),
|
|
139
147
|
maxDepth: checkedProp(props["maxDepth"], {
|
|
140
148
|
kind: "terminal",
|
|
141
149
|
name: "number"
|
|
142
|
-
}, false, "maxDepth"),
|
|
150
|
+
}, false, "maxDepth", acceptedProps),
|
|
143
151
|
selection: checkedProp(props["selection"], {
|
|
144
152
|
kind: "terminal",
|
|
145
153
|
name: "keyword"
|
|
146
|
-
}, false, "selection")
|
|
154
|
+
}, false, "selection", acceptedProps)
|
|
147
155
|
}));
|
|
148
156
|
checkedProps.value;
|
|
149
157
|
watchSyncEffect(() => {
|
|
@@ -213,7 +221,24 @@ var UiTree_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
213
221
|
specifier: "../components/ui-tree/ui-tree.js",
|
|
214
222
|
definition: "./components/ui-tree/ui-tree.html"
|
|
215
223
|
},
|
|
216
|
-
props: checkedProps
|
|
224
|
+
props: checkedProps,
|
|
225
|
+
propInputs: (name) => {
|
|
226
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
227
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
228
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
229
|
+
},
|
|
230
|
+
propNames: [
|
|
231
|
+
"density",
|
|
232
|
+
"hoverExpandDelay",
|
|
233
|
+
"label",
|
|
234
|
+
"marquee",
|
|
235
|
+
"maxDepth",
|
|
236
|
+
"selection"
|
|
237
|
+
],
|
|
238
|
+
propValidity: (name) => propValidityState({
|
|
239
|
+
contract: propValidityContract,
|
|
240
|
+
values: { ...props }
|
|
241
|
+
}, name)
|
|
217
242
|
});
|
|
218
243
|
return (_ctx, _cache) => {
|
|
219
244
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
@@ -231,10 +256,10 @@ var UiTree_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
231
256
|
ref: root
|
|
232
257
|
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
233
258
|
contract: propValidityContract,
|
|
234
|
-
values: { ...
|
|
259
|
+
values: { ...props }
|
|
235
260
|
}]]);
|
|
236
261
|
};
|
|
237
262
|
}
|
|
238
|
-
}), [["__scopeId", "data-v-
|
|
263
|
+
}), [["__scopeId", "data-v-ee69a15a"]]);
|
|
239
264
|
//#endregion
|
|
240
265
|
export { UiTree_default as t };
|
package/vue/chunks/UiTreeItem.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 { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiTreeItem.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
@@ -259,63 +259,79 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
259
259
|
}
|
|
260
260
|
} };
|
|
261
261
|
const props = __props;
|
|
262
|
+
const acceptedProps = {
|
|
263
|
+
accepts: "",
|
|
264
|
+
container: false,
|
|
265
|
+
disabled: false,
|
|
266
|
+
dragType: "item",
|
|
267
|
+
dropDepth: null,
|
|
268
|
+
dropScope: "",
|
|
269
|
+
expanded: false,
|
|
270
|
+
itemId: "",
|
|
271
|
+
label: "",
|
|
272
|
+
lazy: false,
|
|
273
|
+
marquee: false,
|
|
274
|
+
selected: false,
|
|
275
|
+
sortable: false,
|
|
276
|
+
subtreeDepth: null
|
|
277
|
+
};
|
|
262
278
|
const checkedProps = computed(() => ({
|
|
263
279
|
accepts: checkedProp(props["accepts"], {
|
|
264
280
|
kind: "terminal",
|
|
265
281
|
name: "string"
|
|
266
|
-
}, false, "accepts"),
|
|
282
|
+
}, false, "accepts", acceptedProps),
|
|
267
283
|
container: checkedProp(props["container"], {
|
|
268
284
|
kind: "terminal",
|
|
269
285
|
name: "boolean"
|
|
270
|
-
}, false, "container"),
|
|
286
|
+
}, false, "container", acceptedProps),
|
|
271
287
|
disabled: checkedProp(props["disabled"], {
|
|
272
288
|
kind: "terminal",
|
|
273
289
|
name: "boolean"
|
|
274
|
-
}, false, "disabled"),
|
|
290
|
+
}, false, "disabled", acceptedProps),
|
|
275
291
|
dragType: checkedProp(props["dragType"], {
|
|
276
292
|
kind: "terminal",
|
|
277
293
|
name: "string"
|
|
278
|
-
}, false, "dragType"),
|
|
294
|
+
}, false, "dragType", acceptedProps),
|
|
279
295
|
dropDepth: checkedProp(props["dropDepth"], {
|
|
280
296
|
kind: "terminal",
|
|
281
297
|
name: "number"
|
|
282
|
-
}, false, "dropDepth"),
|
|
298
|
+
}, false, "dropDepth", acceptedProps),
|
|
283
299
|
dropScope: checkedProp(props["dropScope"], {
|
|
284
300
|
kind: "terminal",
|
|
285
301
|
name: "string"
|
|
286
|
-
}, false, "dropScope"),
|
|
302
|
+
}, false, "dropScope", acceptedProps),
|
|
287
303
|
expanded: checkedProp(props["expanded"], {
|
|
288
304
|
kind: "terminal",
|
|
289
305
|
name: "boolean"
|
|
290
|
-
}, false, "expanded"),
|
|
306
|
+
}, false, "expanded", acceptedProps),
|
|
291
307
|
itemId: checkedProp(props["itemId"], {
|
|
292
308
|
kind: "terminal",
|
|
293
309
|
name: "string"
|
|
294
|
-
}, false, "itemId"),
|
|
310
|
+
}, false, "itemId", acceptedProps),
|
|
295
311
|
label: checkedProp(props["label"], {
|
|
296
312
|
kind: "terminal",
|
|
297
313
|
name: "string"
|
|
298
|
-
}, false, "label"),
|
|
314
|
+
}, false, "label", acceptedProps),
|
|
299
315
|
lazy: checkedProp(props["lazy"], {
|
|
300
316
|
kind: "terminal",
|
|
301
317
|
name: "boolean"
|
|
302
|
-
}, false, "lazy"),
|
|
318
|
+
}, false, "lazy", acceptedProps),
|
|
303
319
|
marquee: checkedProp(props["marquee"], {
|
|
304
320
|
kind: "terminal",
|
|
305
321
|
name: "boolean"
|
|
306
|
-
}, false, "marquee"),
|
|
322
|
+
}, false, "marquee", acceptedProps),
|
|
307
323
|
selected: checkedProp(props["selected"], {
|
|
308
324
|
kind: "terminal",
|
|
309
325
|
name: "boolean"
|
|
310
|
-
}, false, "selected"),
|
|
326
|
+
}, false, "selected", acceptedProps),
|
|
311
327
|
sortable: checkedProp(props["sortable"], {
|
|
312
328
|
kind: "terminal",
|
|
313
329
|
name: "boolean"
|
|
314
|
-
}, false, "sortable"),
|
|
330
|
+
}, false, "sortable", acceptedProps),
|
|
315
331
|
subtreeDepth: checkedProp(props["subtreeDepth"], {
|
|
316
332
|
kind: "terminal",
|
|
317
333
|
name: "number"
|
|
318
|
-
}, false, "subtreeDepth")
|
|
334
|
+
}, false, "subtreeDepth", acceptedProps)
|
|
319
335
|
}));
|
|
320
336
|
checkedProps.value;
|
|
321
337
|
watchSyncEffect(() => {
|
|
@@ -403,6 +419,31 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
403
419
|
definition: "./components/ui-tree-item/ui-tree-item.html"
|
|
404
420
|
},
|
|
405
421
|
props: checkedProps,
|
|
422
|
+
propInputs: (name) => {
|
|
423
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
424
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
425
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
426
|
+
},
|
|
427
|
+
propNames: [
|
|
428
|
+
"accepts",
|
|
429
|
+
"container",
|
|
430
|
+
"disabled",
|
|
431
|
+
"dragType",
|
|
432
|
+
"dropDepth",
|
|
433
|
+
"dropScope",
|
|
434
|
+
"expanded",
|
|
435
|
+
"itemId",
|
|
436
|
+
"label",
|
|
437
|
+
"lazy",
|
|
438
|
+
"marquee",
|
|
439
|
+
"selected",
|
|
440
|
+
"sortable",
|
|
441
|
+
"subtreeDepth"
|
|
442
|
+
],
|
|
443
|
+
propValidity: (name) => propValidityState({
|
|
444
|
+
contract: propValidityContract,
|
|
445
|
+
values: { ...props }
|
|
446
|
+
}, name),
|
|
406
447
|
refs: {
|
|
407
448
|
row: rowElement,
|
|
408
449
|
dragHandle: dragHandleElement,
|
|
@@ -534,10 +575,10 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
534
575
|
}, null, -1))
|
|
535
576
|
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
536
577
|
contract: propValidityContract,
|
|
537
|
-
values: { ...
|
|
578
|
+
values: { ...props }
|
|
538
579
|
}]]);
|
|
539
580
|
};
|
|
540
581
|
}
|
|
541
|
-
}), [["__scopeId", "data-v-
|
|
582
|
+
}), [["__scopeId", "data-v-cec2ae88"]]);
|
|
542
583
|
//#endregion
|
|
543
584
|
export { UiTreeItem_default as t };
|
package/vue/chunks/host.js
CHANGED
|
@@ -66,7 +66,7 @@ function slottedElements(nodes) {
|
|
|
66
66
|
* and reinsertion without treating an in-tree move as a new connection.
|
|
67
67
|
*/
|
|
68
68
|
function useComponentHost(controllerLoader, options) {
|
|
69
|
-
const { root, dispatch, props, refs = {}, state = {}, computed: computedValues = {} } = options;
|
|
69
|
+
const { root, dispatch, props, propInputs = () => null, propNames = [], refs = {}, state = {}, computed: computedValues = {}, data = {}, context = {} } = options;
|
|
70
70
|
const vueSlots = useSlots();
|
|
71
71
|
const component = getCurrentInstance();
|
|
72
72
|
const report = (error) => {
|
|
@@ -99,7 +99,23 @@ function useComponentHost(controllerLoader, options) {
|
|
|
99
99
|
throw controllerDiagnostic("HJ001", error);
|
|
100
100
|
});
|
|
101
101
|
const stops = [];
|
|
102
|
-
const
|
|
102
|
+
const readState = (name) => Object.hasOwn(state, name) ? state[name].value : Object.hasOwn(computedValues, name) ? computedValues[name].value : Object.hasOwn(data, name) ? data[name].value : Object.hasOwn(context, name) ? context[name].value : void 0;
|
|
103
|
+
const propHandles = Object.create(null);
|
|
104
|
+
for (const name of propNames) {
|
|
105
|
+
const validity = () => options.propValidity?.(name);
|
|
106
|
+
propHandles[name] = Object.freeze({
|
|
107
|
+
get value() {
|
|
108
|
+
return props?.value[name];
|
|
109
|
+
},
|
|
110
|
+
get inputValue() {
|
|
111
|
+
return propInputs(name);
|
|
112
|
+
},
|
|
113
|
+
get validity() {
|
|
114
|
+
return validity();
|
|
115
|
+
},
|
|
116
|
+
validate: validity
|
|
117
|
+
});
|
|
118
|
+
}
|
|
103
119
|
const host = {
|
|
104
120
|
get element() {
|
|
105
121
|
return root.value;
|
|
@@ -108,13 +124,15 @@ function useComponentHost(controllerLoader, options) {
|
|
|
108
124
|
return root.value;
|
|
109
125
|
},
|
|
110
126
|
state: new Proxy({}, {
|
|
111
|
-
get: (_target, name) => typeof name === "string" ?
|
|
127
|
+
get: (_target, name) => typeof name === "string" ? readState(name) : void 0,
|
|
112
128
|
set: (_target, name, value) => {
|
|
113
129
|
if (typeof name !== "string" || !Object.hasOwn(state, name)) throw new TypeError(`Only declared state is writable; \`${String(name)}\` is not.`);
|
|
114
130
|
state[name].value = value;
|
|
115
131
|
return true;
|
|
116
|
-
}
|
|
132
|
+
},
|
|
133
|
+
has: (_target, name) => typeof name === "string" && (Object.hasOwn(state, name) || Object.hasOwn(computedValues, name) || Object.hasOwn(data, name) || Object.hasOwn(context, name))
|
|
117
134
|
}),
|
|
135
|
+
props: Object.freeze(propHandles),
|
|
118
136
|
refs: Object.defineProperties({}, Object.fromEntries(Object.entries(refs).map(([name, ref]) => [name, {
|
|
119
137
|
enumerable: true,
|
|
120
138
|
get: () => Array.isArray(ref.value) ? inDocumentOrder(ref.value) : ref.value
|