@threadlabs/looma 0.21.6 → 0.22.1
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.html +1 -1
- package/components/ui-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar-group/ui-avatar-group.html +2 -2
- package/components/ui-checkbox/ui-checkbox.html +1 -1
- package/components/ui-combobox/ui-combobox.html +18 -18
- package/components/ui-context-menu/ui-context-menu.html +1 -1
- package/components/ui-dialog/ui-dialog.html +2 -2
- package/components/ui-disclosure/ui-disclosure.html +4 -4
- package/components/ui-editable/ui-editable.html +3 -3
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +5 -5
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +5 -5
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +3 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -7
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +6 -6
- package/components/ui-listbox/ui-listbox.html +6 -6
- package/components/ui-menu/ui-menu.html +1 -1
- package/components/ui-menu-item/ui-menu-item.html +1 -1
- package/components/ui-popover/ui-popover.html +1 -1
- package/components/ui-radio/ui-radio.html +1 -1
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-search-shell/ui-search-shell.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +2 -2
- package/components/ui-switch/ui-switch.html +1 -1
- package/components/ui-switcher/ui-switcher.html +1 -1
- package/components/ui-tabs/ui-tabs.html +2 -2
- package/components/ui-toast-region/ui-toast-region.html +1 -1
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -4
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- 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 +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +2 -2
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- 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 +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +2 -2
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +2 -2
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +2 -2
- 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 +2 -2
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +2 -2
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +2 -2
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +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 +2 -2
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +2 -2
- 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 +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +25 -7
- package/vue/UiAvatar.vue +125 -30
- package/vue/UiAvatarGroup.d.ts +1 -1
- package/vue/UiAvatarGroup.vue +67 -21
- package/vue/UiBadge.vue +34 -8
- package/vue/UiBreadcrumbItem.vue +15 -4
- package/vue/UiBreadcrumbs.vue +14 -4
- package/vue/UiButton.vue +123 -42
- package/vue/UiCallout.vue +16 -4
- package/vue/UiCard.vue +46 -10
- package/vue/UiCheckbox.d.ts +5 -5
- package/vue/UiCheckbox.vue +73 -19
- package/vue/UiCluster.vue +39 -10
- package/vue/UiCombobox.d.ts +5 -5
- package/vue/UiCombobox.vue +317 -78
- package/vue/UiContainer.vue +23 -6
- package/vue/UiContextMenu.vue +24 -7
- package/vue/UiCover.vue +16 -4
- package/vue/UiDescriptionItem.vue +14 -4
- package/vue/UiDescriptionList.vue +33 -8
- package/vue/UiDialog.vue +79 -26
- package/vue/UiDisclosure.vue +101 -38
- package/vue/UiEditable.d.ts +3 -3
- package/vue/UiEditable.vue +107 -27
- package/vue/UiEditorInsertTableGrid.vue +47 -11
- package/vue/UiEditorMentionMenu.vue +99 -20
- package/vue/UiEditorMentionMenuItem.vue +29 -8
- package/vue/UiEditorSlashMenu.vue +85 -16
- package/vue/UiEditorSlashMenuGroup.vue +14 -4
- package/vue/UiEditorSlashMenuItem.vue +43 -12
- package/vue/UiEditorTableContextMenu.d.ts +1 -1
- package/vue/UiEditorTableContextMenu.vue +95 -19
- package/vue/UiEditorTableOverlay.vue +91 -7
- package/vue/UiEditorTableToolbar.vue +105 -16
- package/vue/UiEditorToolbar.vue +15 -4
- package/vue/UiFloatingActionButton.vue +31 -8
- package/vue/UiFormField.d.ts +1 -1
- package/vue/UiFormField.vue +31 -8
- package/vue/UiGrid.vue +30 -8
- package/vue/UiIcon.vue +15 -4
- package/vue/UiIconButton.vue +70 -24
- package/vue/UiInput.vue +114 -39
- package/vue/UiInputGroup.vue +15 -4
- package/vue/UiList.vue +47 -16
- package/vue/UiListItem.vue +24 -6
- package/vue/UiListbox.d.ts +3 -3
- package/vue/UiListbox.vue +72 -24
- package/vue/UiMenu.vue +55 -15
- package/vue/UiMenuGroup.vue +14 -4
- package/vue/UiMenuItem.d.ts +4 -4
- package/vue/UiMenuItem.vue +77 -27
- package/vue/UiMeter.vue +65 -16
- package/vue/UiNavItem.vue +48 -24
- package/vue/UiPageHeader.vue +16 -4
- package/vue/UiPopover.vue +46 -21
- package/vue/UiRadio.d.ts +4 -4
- package/vue/UiRadio.vue +58 -15
- package/vue/UiRadioGroup.d.ts +3 -3
- package/vue/UiRadioGroup.vue +66 -17
- package/vue/UiReel.d.ts +1 -1
- package/vue/UiReel.vue +31 -8
- package/vue/UiScrollArea.vue +16 -4
- package/vue/UiSearchResultRow.vue +23 -6
- package/vue/UiSearchShell.vue +38 -11
- package/vue/UiSection.vue +33 -8
- package/vue/UiSelect.d.ts +1 -1
- package/vue/UiSelect.vue +45 -20
- package/vue/UiSeparator.vue +16 -4
- package/vue/UiSidebar.d.ts +2 -2
- package/vue/UiSidebar.vue +86 -22
- package/vue/UiSpinner.vue +23 -6
- package/vue/UiStack.vue +31 -8
- package/vue/UiStatusMessage.vue +32 -8
- package/vue/UiSwitch.d.ts +4 -4
- package/vue/UiSwitch.vue +57 -15
- package/vue/UiSwitcher.vue +41 -17
- package/vue/UiTable.vue +24 -6
- package/vue/UiTabs.vue +60 -14
- package/vue/UiText.vue +98 -35
- package/vue/UiTextarea.d.ts +1 -1
- package/vue/UiTextarea.vue +67 -26
- package/vue/UiToast.vue +24 -6
- package/vue/UiToastRegion.vue +41 -13
- package/vue/UiTooltip.d.ts +1 -1
- package/vue/UiTooltip.vue +85 -30
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +56 -14
- package/vue/UiTreeItem.d.ts +3 -3
- package/vue/UiTreeItem.vue +147 -36
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +34 -7
- package/vue/chunks/UiAvatar.js +141 -21
- package/vue/chunks/UiAvatarGroup.js +83 -16
- package/vue/chunks/UiBadge.js +57 -19
- package/vue/chunks/UiBreadcrumbItem.js +19 -6
- package/vue/chunks/UiBreadcrumbs.js +19 -6
- package/vue/chunks/UiButton.js +194 -42
- package/vue/chunks/UiCallout.js +27 -13
- package/vue/chunks/UiCard.js +83 -25
- package/vue/chunks/UiCheckbox.js +104 -17
- package/vue/chunks/UiCluster.js +70 -25
- package/vue/chunks/UiCombobox.js +441 -46
- package/vue/chunks/UiContainer.js +36 -11
- package/vue/chunks/UiContextMenu.js +33 -7
- package/vue/chunks/UiCover.js +20 -6
- package/vue/chunks/UiDescriptionItem.js +18 -5
- package/vue/chunks/UiDescriptionList.js +54 -17
- package/vue/chunks/UiDialog.js +115 -23
- package/vue/chunks/UiDisclosure.js +110 -24
- package/vue/chunks/UiEditable.js +146 -18
- package/vue/chunks/UiEditorInsertTableGrid.js +65 -10
- package/vue/chunks/UiEditorMentionMenu.js +210 -14
- package/vue/chunks/UiEditorMentionMenuItem.js +43 -8
- package/vue/chunks/UiEditorSlashMenu.js +186 -12
- package/vue/chunks/UiEditorSlashMenuGroup.js +19 -6
- package/vue/chunks/UiEditorSlashMenuItem.js +65 -10
- package/vue/chunks/UiEditorTableContextMenu.js +116 -16
- package/vue/chunks/UiEditorTableOverlay.js +188 -7
- package/vue/chunks/UiEditorTableToolbar.js +125 -16
- package/vue/chunks/UiEditorToolbar.js +19 -6
- package/vue/chunks/UiFloatingActionButton.js +43 -8
- package/vue/chunks/UiFormField.js +43 -8
- package/vue/chunks/UiGrid.js +52 -18
- package/vue/chunks/UiIcon.js +19 -6
- package/vue/chunks/UiIconButton.js +107 -21
- package/vue/chunks/UiInput.js +309 -30
- package/vue/chunks/UiInputGroup.js +19 -6
- package/vue/chunks/UiList.js +62 -10
- package/vue/chunks/UiListItem.js +33 -7
- package/vue/chunks/UiListbox.js +105 -13
- package/vue/chunks/UiMenu.js +79 -11
- package/vue/chunks/UiMenuGroup.js +19 -6
- package/vue/chunks/UiMenuItem.js +93 -28
- package/vue/chunks/UiMeter.js +96 -19
- package/vue/chunks/UiNavItem.js +74 -17
- package/vue/chunks/UiPageHeader.js +20 -6
- package/vue/chunks/UiPopover.js +58 -21
- package/vue/chunks/UiRadio.js +82 -15
- package/vue/chunks/UiRadioGroup.js +89 -12
- package/vue/chunks/UiReel.js +53 -18
- package/vue/chunks/UiScrollArea.js +20 -6
- package/vue/chunks/UiSearchResultRow.js +32 -7
- package/vue/chunks/UiSearchShell.js +55 -9
- package/vue/chunks/UiSection.js +49 -12
- package/vue/chunks/UiSelect.js +68 -13
- package/vue/chunks/UiSeparator.js +20 -6
- package/vue/chunks/UiSidebar.js +123 -19
- package/vue/chunks/UiSpinner.js +33 -7
- package/vue/chunks/UiStack.js +59 -24
- package/vue/chunks/UiStatusMessage.js +53 -16
- package/vue/chunks/UiSwitch.js +82 -15
- package/vue/chunks/UiSwitcher.js +70 -25
- package/vue/chunks/UiTable.js +33 -7
- package/vue/chunks/UiTabs.js +81 -11
- package/vue/chunks/UiText.js +169 -58
- package/vue/chunks/UiTextarea.js +101 -16
- package/vue/chunks/UiToast.js +39 -13
- package/vue/chunks/UiToastRegion.js +41 -14
- package/vue/chunks/UiTooltip.js +113 -30
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +82 -15
- package/vue/chunks/UiTreeItem.js +184 -22
- package/vue/chunks/props.js +271 -35
- package/vue/components.css +1197 -1197
- package/vue/editor/index.js +5 -2
- package/vue/editor/primitives.d.ts +4 -1
- package/vue/host.ts +6 -6
|
@@ -1,8 +1,8 @@
|
|
|
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 { t as checkedProp } from "./props.js";
|
|
3
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
4
4
|
import { t as UiSpinner_default } from "./UiSpinner.js";
|
|
5
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, watchSyncEffect } from "vue";
|
|
5
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiIconButton.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = [
|
|
8
8
|
"disabled",
|
|
@@ -60,48 +60,131 @@ var UiIconButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
setup(__props) {
|
|
63
|
+
const propValidityContract = { props: {
|
|
64
|
+
anticipatory: {
|
|
65
|
+
type: {
|
|
66
|
+
kind: "terminal",
|
|
67
|
+
name: "boolean"
|
|
68
|
+
},
|
|
69
|
+
required: false,
|
|
70
|
+
target: { attribute: "anticipatory" },
|
|
71
|
+
description: "Keeps the button out of sight until it is wanted: at rest a fine pointer sees only a small guide dot, and the button appears on hover, on focus, or when\n the pointer comes near inside a ui-affordance-scope. Touch devices and the solid variant always show it.",
|
|
72
|
+
default: false
|
|
73
|
+
},
|
|
74
|
+
disabled: {
|
|
75
|
+
type: {
|
|
76
|
+
kind: "terminal",
|
|
77
|
+
name: "boolean"
|
|
78
|
+
},
|
|
79
|
+
required: false,
|
|
80
|
+
target: { attribute: "disabled" },
|
|
81
|
+
description: "Disables the button, so it cannot be pressed or focused, and gives it a flat neutral surface and muted icon.",
|
|
82
|
+
default: false
|
|
83
|
+
},
|
|
84
|
+
label: {
|
|
85
|
+
type: {
|
|
86
|
+
kind: "terminal",
|
|
87
|
+
name: "string"
|
|
88
|
+
},
|
|
89
|
+
required: false,
|
|
90
|
+
target: { attribute: "aria-label" },
|
|
91
|
+
description: "Accessible name for the icon."
|
|
92
|
+
},
|
|
93
|
+
loading: {
|
|
94
|
+
type: {
|
|
95
|
+
kind: "terminal",
|
|
96
|
+
name: "boolean"
|
|
97
|
+
},
|
|
98
|
+
required: false,
|
|
99
|
+
target: { attribute: "loading" },
|
|
100
|
+
description: "Keeps the button focusable and named while work is in progress. It shows a spinner, states aria-disabled and aria-busy, and prevents activation until\n cleared.",
|
|
101
|
+
default: false
|
|
102
|
+
},
|
|
103
|
+
pending: {
|
|
104
|
+
type: {
|
|
105
|
+
kind: "terminal",
|
|
106
|
+
name: "boolean"
|
|
107
|
+
},
|
|
108
|
+
required: false,
|
|
109
|
+
target: { attribute: "pending" },
|
|
110
|
+
description: "Deprecated alias for loading.",
|
|
111
|
+
default: false
|
|
112
|
+
},
|
|
113
|
+
round: {
|
|
114
|
+
type: {
|
|
115
|
+
kind: "terminal",
|
|
116
|
+
name: "boolean"
|
|
117
|
+
},
|
|
118
|
+
required: false,
|
|
119
|
+
target: { attribute: "round" },
|
|
120
|
+
description: "Use a fully circular shape.",
|
|
121
|
+
default: false
|
|
122
|
+
},
|
|
123
|
+
size: {
|
|
124
|
+
type: {
|
|
125
|
+
kind: "terminal",
|
|
126
|
+
name: "keyword"
|
|
127
|
+
},
|
|
128
|
+
required: false,
|
|
129
|
+
target: { attribute: "size" },
|
|
130
|
+
description: "Button and icon size together: sm is 1.75rem with a small icon, md is 2rem, and lg is 2.5rem with a large icon. On touch, every size gets an invisible hit\n area of at least 44px.",
|
|
131
|
+
values: [
|
|
132
|
+
"sm",
|
|
133
|
+
"md",
|
|
134
|
+
"lg"
|
|
135
|
+
],
|
|
136
|
+
default: "md"
|
|
137
|
+
},
|
|
138
|
+
variant: {
|
|
139
|
+
type: {
|
|
140
|
+
kind: "terminal",
|
|
141
|
+
name: "keyword"
|
|
142
|
+
},
|
|
143
|
+
required: false,
|
|
144
|
+
target: { attribute: "variant" },
|
|
145
|
+
description: "Emphasis. ghost shows only the icon until it is hovered, for toolbars and dense rows; outline adds a border on the default surface; solid fills with the\n accent colour, for the one primary action in a group.",
|
|
146
|
+
values: [
|
|
147
|
+
"ghost",
|
|
148
|
+
"outline",
|
|
149
|
+
"solid"
|
|
150
|
+
],
|
|
151
|
+
default: "ghost"
|
|
152
|
+
}
|
|
153
|
+
} };
|
|
63
154
|
const props = __props;
|
|
64
155
|
const checkedProps = computed(() => ({
|
|
65
156
|
anticipatory: checkedProp(props["anticipatory"], {
|
|
66
157
|
kind: "terminal",
|
|
67
158
|
name: "boolean"
|
|
68
|
-
}, false, "anticipatory"
|
|
159
|
+
}, false, "anticipatory"),
|
|
69
160
|
disabled: checkedProp(props["disabled"], {
|
|
70
161
|
kind: "terminal",
|
|
71
162
|
name: "boolean"
|
|
72
|
-
}, false, "disabled"
|
|
163
|
+
}, false, "disabled"),
|
|
73
164
|
label: checkedProp(props["label"], {
|
|
74
165
|
kind: "terminal",
|
|
75
166
|
name: "string"
|
|
76
|
-
}, false, "label"
|
|
167
|
+
}, false, "label"),
|
|
77
168
|
loading: checkedProp(props["loading"], {
|
|
78
169
|
kind: "terminal",
|
|
79
170
|
name: "boolean"
|
|
80
|
-
}, false, "loading"
|
|
171
|
+
}, false, "loading"),
|
|
81
172
|
pending: checkedProp(props["pending"], {
|
|
82
173
|
kind: "terminal",
|
|
83
174
|
name: "boolean"
|
|
84
|
-
}, false, "pending"
|
|
175
|
+
}, false, "pending"),
|
|
85
176
|
round: checkedProp(props["round"], {
|
|
86
177
|
kind: "terminal",
|
|
87
178
|
name: "boolean"
|
|
88
|
-
}, false, "round"
|
|
179
|
+
}, false, "round"),
|
|
89
180
|
size: checkedProp(props["size"], {
|
|
90
181
|
kind: "terminal",
|
|
91
182
|
name: "keyword"
|
|
92
|
-
}, false, "size",
|
|
93
|
-
"sm",
|
|
94
|
-
"md",
|
|
95
|
-
"lg"
|
|
96
|
-
]),
|
|
183
|
+
}, false, "size"),
|
|
97
184
|
variant: checkedProp(props["variant"], {
|
|
98
185
|
kind: "terminal",
|
|
99
186
|
name: "keyword"
|
|
100
|
-
}, false, "variant"
|
|
101
|
-
"ghost",
|
|
102
|
-
"outline",
|
|
103
|
-
"solid"
|
|
104
|
-
])
|
|
187
|
+
}, false, "variant")
|
|
105
188
|
}));
|
|
106
189
|
checkedProps.value;
|
|
107
190
|
watchSyncEffect(() => {
|
|
@@ -159,7 +242,7 @@ var UiIconButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
159
242
|
return value === true ? "" : text(value);
|
|
160
243
|
}
|
|
161
244
|
return (_ctx, _cache) => {
|
|
162
|
-
return openBlock(), createElementBlock("button", mergeProps({
|
|
245
|
+
return withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
163
246
|
"data-component": "ui-icon-button",
|
|
164
247
|
type: "button"
|
|
165
248
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -190,9 +273,12 @@ var UiIconButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
190
273
|
}), [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createBlock(UiSpinner_default, {
|
|
191
274
|
key: 0,
|
|
192
275
|
size: "sm"
|
|
193
|
-
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1)
|
|
276
|
+
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
277
|
+
contract: propValidityContract,
|
|
278
|
+
values: { ...checkedProps.value }
|
|
279
|
+
}]]);
|
|
194
280
|
};
|
|
195
281
|
}
|
|
196
|
-
}), [["__scopeId", "data-v-
|
|
282
|
+
}), [["__scopeId", "data-v-276cf09d"]]);
|
|
197
283
|
//#endregion
|
|
198
284
|
export { UiIconButton_default as t };
|
package/vue/chunks/UiInput.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 { n as selectedPropNode, t as checkedProp } from "./props.js";
|
|
3
|
+
import { n as selectedPropNode, r as vPropValidity, 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/UiInput.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -57,51 +57,327 @@ var UiInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
57
57
|
},
|
|
58
58
|
emits: ["update:modelValue"],
|
|
59
59
|
setup(__props, { emit: __emit }) {
|
|
60
|
+
const propValidityContract = { props: {
|
|
61
|
+
disabled: {
|
|
62
|
+
type: {
|
|
63
|
+
kind: "terminal",
|
|
64
|
+
name: "boolean"
|
|
65
|
+
},
|
|
66
|
+
required: false,
|
|
67
|
+
target: { attribute: "disabled" },
|
|
68
|
+
description: "Prevents editing and form submission.",
|
|
69
|
+
default: false
|
|
70
|
+
},
|
|
71
|
+
invalid: {
|
|
72
|
+
type: {
|
|
73
|
+
kind: "terminal",
|
|
74
|
+
name: "boolean"
|
|
75
|
+
},
|
|
76
|
+
required: false,
|
|
77
|
+
target: { attribute: "aria-invalid" },
|
|
78
|
+
description: "Exposes invalid state to assistive technology and styling.",
|
|
79
|
+
default: false
|
|
80
|
+
},
|
|
81
|
+
readonly: {
|
|
82
|
+
type: {
|
|
83
|
+
kind: "terminal",
|
|
84
|
+
name: "boolean"
|
|
85
|
+
},
|
|
86
|
+
required: false,
|
|
87
|
+
target: { attribute: "readonly" },
|
|
88
|
+
description: "Allows selection without allowing edits.",
|
|
89
|
+
default: false
|
|
90
|
+
},
|
|
91
|
+
required: {
|
|
92
|
+
type: {
|
|
93
|
+
kind: "terminal",
|
|
94
|
+
name: "boolean"
|
|
95
|
+
},
|
|
96
|
+
required: false,
|
|
97
|
+
target: { attribute: "required" },
|
|
98
|
+
description: "Marks the control as required for form validation.",
|
|
99
|
+
default: false
|
|
100
|
+
},
|
|
101
|
+
size: {
|
|
102
|
+
type: {
|
|
103
|
+
kind: "terminal",
|
|
104
|
+
name: "keyword"
|
|
105
|
+
},
|
|
106
|
+
required: false,
|
|
107
|
+
target: { attribute: "size" },
|
|
108
|
+
description: "Height, padding, and type size, matching Button's sizes so a field and a button of one size share a row. sm is the small control height (2rem by default)\n with smaller text, for compact rows such as a table row or a filter bar; md is the standard control height; lg is taller with roomier padding. Under a\n coarse pointer, sm grows to the 44px touch minimum and keeps body-size text. Change it after render through this option; the element's size property is\n the native one.",
|
|
109
|
+
values: [
|
|
110
|
+
"sm",
|
|
111
|
+
"md",
|
|
112
|
+
"lg"
|
|
113
|
+
],
|
|
114
|
+
default: "md"
|
|
115
|
+
},
|
|
116
|
+
type: {
|
|
117
|
+
type: {
|
|
118
|
+
kind: "terminal",
|
|
119
|
+
name: "keyword"
|
|
120
|
+
},
|
|
121
|
+
required: false,
|
|
122
|
+
target: { attribute: "type" },
|
|
123
|
+
description: "The native input mode. Number and range modes accept numeric values; the other supported modes accept strings.",
|
|
124
|
+
values: [
|
|
125
|
+
"text",
|
|
126
|
+
"search",
|
|
127
|
+
"tel",
|
|
128
|
+
"url",
|
|
129
|
+
"email",
|
|
130
|
+
"password",
|
|
131
|
+
"date",
|
|
132
|
+
"month",
|
|
133
|
+
"week",
|
|
134
|
+
"time",
|
|
135
|
+
"datetime-local",
|
|
136
|
+
"number",
|
|
137
|
+
"range",
|
|
138
|
+
"color"
|
|
139
|
+
],
|
|
140
|
+
default: "text"
|
|
141
|
+
},
|
|
142
|
+
value: {
|
|
143
|
+
type: {
|
|
144
|
+
kind: "selected",
|
|
145
|
+
from: "type",
|
|
146
|
+
options: [
|
|
147
|
+
{
|
|
148
|
+
value: "text",
|
|
149
|
+
type: {
|
|
150
|
+
kind: "terminal",
|
|
151
|
+
name: "string"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
value: "search",
|
|
156
|
+
type: {
|
|
157
|
+
kind: "terminal",
|
|
158
|
+
name: "string"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
value: "tel",
|
|
163
|
+
type: {
|
|
164
|
+
kind: "terminal",
|
|
165
|
+
name: "string"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
value: "url",
|
|
170
|
+
type: {
|
|
171
|
+
kind: "terminal",
|
|
172
|
+
name: "string"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
value: "email",
|
|
177
|
+
type: {
|
|
178
|
+
kind: "terminal",
|
|
179
|
+
name: "string"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
value: "password",
|
|
184
|
+
type: {
|
|
185
|
+
kind: "terminal",
|
|
186
|
+
name: "string"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
value: "date",
|
|
191
|
+
type: {
|
|
192
|
+
kind: "terminal",
|
|
193
|
+
name: "string"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
value: "month",
|
|
198
|
+
type: {
|
|
199
|
+
kind: "terminal",
|
|
200
|
+
name: "string"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
value: "week",
|
|
205
|
+
type: {
|
|
206
|
+
kind: "terminal",
|
|
207
|
+
name: "string"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
value: "time",
|
|
212
|
+
type: {
|
|
213
|
+
kind: "terminal",
|
|
214
|
+
name: "string"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
value: "datetime-local",
|
|
219
|
+
type: {
|
|
220
|
+
kind: "terminal",
|
|
221
|
+
name: "string"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
value: "number",
|
|
226
|
+
type: {
|
|
227
|
+
kind: "terminal",
|
|
228
|
+
name: "number"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
value: "range",
|
|
233
|
+
type: {
|
|
234
|
+
kind: "terminal",
|
|
235
|
+
name: "number"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
value: "color",
|
|
240
|
+
type: {
|
|
241
|
+
kind: "terminal",
|
|
242
|
+
name: "string"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
required: false,
|
|
248
|
+
target: { attribute: "value" },
|
|
249
|
+
description: "The input's value: text, or a number for type=\"number\" and type=\"range\" fields. Setting or changing it replaces the live text; between changes the user's\n typing stands, so follow input events to keep it in step. A number field keeps text that means the same number, such as 1.0 for 1. It is also the input's\n default, so a form reset returns to it.",
|
|
250
|
+
select: {
|
|
251
|
+
from: "type",
|
|
252
|
+
options: [
|
|
253
|
+
{
|
|
254
|
+
value: "text",
|
|
255
|
+
type: {
|
|
256
|
+
kind: "terminal",
|
|
257
|
+
name: "string"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
value: "search",
|
|
262
|
+
type: {
|
|
263
|
+
kind: "terminal",
|
|
264
|
+
name: "string"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
value: "tel",
|
|
269
|
+
type: {
|
|
270
|
+
kind: "terminal",
|
|
271
|
+
name: "string"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
value: "url",
|
|
276
|
+
type: {
|
|
277
|
+
kind: "terminal",
|
|
278
|
+
name: "string"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
value: "email",
|
|
283
|
+
type: {
|
|
284
|
+
kind: "terminal",
|
|
285
|
+
name: "string"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
value: "password",
|
|
290
|
+
type: {
|
|
291
|
+
kind: "terminal",
|
|
292
|
+
name: "string"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
value: "date",
|
|
297
|
+
type: {
|
|
298
|
+
kind: "terminal",
|
|
299
|
+
name: "string"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
value: "month",
|
|
304
|
+
type: {
|
|
305
|
+
kind: "terminal",
|
|
306
|
+
name: "string"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
value: "week",
|
|
311
|
+
type: {
|
|
312
|
+
kind: "terminal",
|
|
313
|
+
name: "string"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
value: "time",
|
|
318
|
+
type: {
|
|
319
|
+
kind: "terminal",
|
|
320
|
+
name: "string"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
value: "datetime-local",
|
|
325
|
+
type: {
|
|
326
|
+
kind: "terminal",
|
|
327
|
+
name: "string"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
value: "number",
|
|
332
|
+
type: {
|
|
333
|
+
kind: "terminal",
|
|
334
|
+
name: "number"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
value: "range",
|
|
339
|
+
type: {
|
|
340
|
+
kind: "terminal",
|
|
341
|
+
name: "number"
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
value: "color",
|
|
346
|
+
type: {
|
|
347
|
+
kind: "terminal",
|
|
348
|
+
name: "string"
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
} };
|
|
60
355
|
const props = __props;
|
|
61
356
|
const checkedProps = computed(() => ({
|
|
62
357
|
disabled: checkedProp(props["disabled"], {
|
|
63
358
|
kind: "terminal",
|
|
64
359
|
name: "boolean"
|
|
65
|
-
}, false, "disabled"
|
|
360
|
+
}, false, "disabled"),
|
|
66
361
|
invalid: checkedProp(props["invalid"], {
|
|
67
362
|
kind: "terminal",
|
|
68
363
|
name: "boolean"
|
|
69
|
-
}, false, "invalid"
|
|
364
|
+
}, false, "invalid"),
|
|
70
365
|
readonly: checkedProp(props["readonly"], {
|
|
71
366
|
kind: "terminal",
|
|
72
367
|
name: "boolean"
|
|
73
|
-
}, false, "readonly"
|
|
368
|
+
}, false, "readonly"),
|
|
74
369
|
required: checkedProp(props["required"], {
|
|
75
370
|
kind: "terminal",
|
|
76
371
|
name: "boolean"
|
|
77
|
-
}, false, "required"
|
|
372
|
+
}, false, "required"),
|
|
78
373
|
size: checkedProp(props["size"], {
|
|
79
374
|
kind: "terminal",
|
|
80
375
|
name: "keyword"
|
|
81
|
-
}, false, "size",
|
|
82
|
-
"sm",
|
|
83
|
-
"md",
|
|
84
|
-
"lg"
|
|
85
|
-
]),
|
|
376
|
+
}, false, "size"),
|
|
86
377
|
type: checkedProp(props["type"], {
|
|
87
378
|
kind: "terminal",
|
|
88
379
|
name: "keyword"
|
|
89
|
-
}, false, "type",
|
|
90
|
-
"text",
|
|
91
|
-
"search",
|
|
92
|
-
"tel",
|
|
93
|
-
"url",
|
|
94
|
-
"email",
|
|
95
|
-
"password",
|
|
96
|
-
"date",
|
|
97
|
-
"month",
|
|
98
|
-
"week",
|
|
99
|
-
"time",
|
|
100
|
-
"datetime-local",
|
|
101
|
-
"number",
|
|
102
|
-
"range",
|
|
103
|
-
"color"
|
|
104
|
-
]),
|
|
380
|
+
}, false, "type"),
|
|
105
381
|
value: checkedProp(props["value"], selectedPropNode(props["type"], [
|
|
106
382
|
{
|
|
107
383
|
value: "text",
|
|
@@ -201,7 +477,7 @@ var UiInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
201
477
|
name: "string"
|
|
202
478
|
}
|
|
203
479
|
}
|
|
204
|
-
]), false, "value"
|
|
480
|
+
]), false, "value"),
|
|
205
481
|
modelValue: checkedProp(props.modelValue, selectedPropNode(props["type"], [
|
|
206
482
|
{
|
|
207
483
|
value: "text",
|
|
@@ -301,7 +577,7 @@ var UiInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
301
577
|
name: "string"
|
|
302
578
|
}
|
|
303
579
|
}
|
|
304
|
-
]), false, "modelValue"
|
|
580
|
+
]), false, "modelValue")
|
|
305
581
|
}));
|
|
306
582
|
checkedProps.value;
|
|
307
583
|
watchSyncEffect(() => {
|
|
@@ -364,7 +640,10 @@ var UiInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
364
640
|
"data-ui-input-state": hostState.value || void 0,
|
|
365
641
|
ref_key: "root",
|
|
366
642
|
ref: root
|
|
367
|
-
}), null, 16, _hoisted_1)), [[unref(
|
|
643
|
+
}), null, 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
644
|
+
contract: propValidityContract,
|
|
645
|
+
values: { ...checkedProps.value }
|
|
646
|
+
}], [unref(vBindControl), {
|
|
368
647
|
tag: "input",
|
|
369
648
|
name: "value",
|
|
370
649
|
value: model.value,
|
|
@@ -372,6 +651,6 @@ var UiInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
372
651
|
}]]);
|
|
373
652
|
};
|
|
374
653
|
}
|
|
375
|
-
}), [["__scopeId", "data-v-
|
|
654
|
+
}), [["__scopeId", "data-v-5a0b0570"]]);
|
|
376
655
|
//#endregion
|
|
377
656
|
export { UiInput_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { t as checkedProp } from "./props.js";
|
|
4
|
-
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, watchSyncEffect } from "vue";
|
|
3
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
4
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiInputGroup.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = ["data-disabled", "data-ui-input-group-state"];
|
|
7
7
|
var _hoisted_2 = { class: "affix" };
|
|
@@ -18,11 +18,21 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
18
18
|
default: false
|
|
19
19
|
} },
|
|
20
20
|
setup(__props) {
|
|
21
|
+
const propValidityContract = { props: { disabled: {
|
|
22
|
+
type: {
|
|
23
|
+
kind: "terminal",
|
|
24
|
+
name: "boolean"
|
|
25
|
+
},
|
|
26
|
+
required: false,
|
|
27
|
+
target: { attribute: "disabled" },
|
|
28
|
+
description: "Fades the group's framing to match a disabled input inside it. Disable the input itself too.",
|
|
29
|
+
default: false
|
|
30
|
+
} } };
|
|
21
31
|
const props = __props;
|
|
22
32
|
const checkedProps = computed(() => ({ disabled: checkedProp(props["disabled"], {
|
|
23
33
|
kind: "terminal",
|
|
24
34
|
name: "boolean"
|
|
25
|
-
}, false, "disabled"
|
|
35
|
+
}, false, "disabled") }));
|
|
26
36
|
checkedProps.value;
|
|
27
37
|
watchSyncEffect(() => {
|
|
28
38
|
checkedProps.value;
|
|
@@ -62,7 +72,7 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
62
72
|
props: checkedProps
|
|
63
73
|
});
|
|
64
74
|
return (_ctx, _cache) => {
|
|
65
|
-
return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-input-group" }, nativeAttrs(_ctx.$attrs), {
|
|
75
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-input-group" }, nativeAttrs(_ctx.$attrs), {
|
|
66
76
|
"data-disabled": reflectedProp("disabled", "disabled", checkedProps.value.disabled, void 0, false),
|
|
67
77
|
"data-ui-input-group-state": hostState.value || void 0,
|
|
68
78
|
ref_key: "root",
|
|
@@ -72,9 +82,12 @@ var UiInputGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
72
82
|
createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
|
|
73
83
|
createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "suffix", {}, void 0, true)]),
|
|
74
84
|
createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "action", {}, void 0, true)])
|
|
75
|
-
], 16, _hoisted_1)
|
|
85
|
+
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
86
|
+
contract: propValidityContract,
|
|
87
|
+
values: { ...checkedProps.value }
|
|
88
|
+
}]]);
|
|
76
89
|
};
|
|
77
90
|
}
|
|
78
|
-
}), [["__scopeId", "data-v-
|
|
91
|
+
}), [["__scopeId", "data-v-20672978"]]);
|
|
79
92
|
//#endregion
|
|
80
93
|
export { UiInputGroup_default as t };
|