@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 UiIcon_default } from "./UiIcon.js";
|
|
5
|
-
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, h, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx } from "vue";
|
|
5
|
+
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, h, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
6
6
|
//#region .build/vue/UiEditorTableToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _hoisted_1 = [
|
|
8
8
|
"hidden",
|
|
@@ -107,6 +107,105 @@ var UiEditorTableToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
107
107
|
},
|
|
108
108
|
emits: ["action"],
|
|
109
109
|
setup(__props, { emit: __emit }) {
|
|
110
|
+
const propValidityContract = { props: {
|
|
111
|
+
actions: {
|
|
112
|
+
type: {
|
|
113
|
+
kind: "list",
|
|
114
|
+
item: {
|
|
115
|
+
kind: "constrained",
|
|
116
|
+
base: {
|
|
117
|
+
kind: "terminal",
|
|
118
|
+
name: "keyword"
|
|
119
|
+
},
|
|
120
|
+
values: [
|
|
121
|
+
"align-left",
|
|
122
|
+
"align-center",
|
|
123
|
+
"align-right",
|
|
124
|
+
"background-none",
|
|
125
|
+
"background-gray",
|
|
126
|
+
"background-yellow",
|
|
127
|
+
"background-blue",
|
|
128
|
+
"background-green",
|
|
129
|
+
"background-red",
|
|
130
|
+
"add-row-before",
|
|
131
|
+
"add-row-after",
|
|
132
|
+
"add-column-before",
|
|
133
|
+
"add-column-after",
|
|
134
|
+
"toggle-header-row",
|
|
135
|
+
"toggle-header-column",
|
|
136
|
+
"move-row-up",
|
|
137
|
+
"move-row-down",
|
|
138
|
+
"move-column-left",
|
|
139
|
+
"move-column-right",
|
|
140
|
+
"clear-cells",
|
|
141
|
+
"merge-cells",
|
|
142
|
+
"split-cell",
|
|
143
|
+
"delete-row",
|
|
144
|
+
"delete-column",
|
|
145
|
+
"delete-table"
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
required: false,
|
|
150
|
+
target: { attribute: "actions" },
|
|
151
|
+
description: "The complete set of commands the current selection permits."
|
|
152
|
+
},
|
|
153
|
+
cellAlignment: {
|
|
154
|
+
type: {
|
|
155
|
+
kind: "terminal",
|
|
156
|
+
name: "keyword"
|
|
157
|
+
},
|
|
158
|
+
required: false,
|
|
159
|
+
target: { attribute: "cellalignment" },
|
|
160
|
+
description: "Marks the alignment command that is active for the current cell.",
|
|
161
|
+
values: [
|
|
162
|
+
"left",
|
|
163
|
+
"center",
|
|
164
|
+
"right"
|
|
165
|
+
],
|
|
166
|
+
default: "left"
|
|
167
|
+
},
|
|
168
|
+
cellBackground: {
|
|
169
|
+
type: {
|
|
170
|
+
kind: "terminal",
|
|
171
|
+
name: "string"
|
|
172
|
+
},
|
|
173
|
+
required: false,
|
|
174
|
+
target: { attribute: "cellbackground" },
|
|
175
|
+
description: "Identifies the background choice that is active for the current cell.",
|
|
176
|
+
default: ""
|
|
177
|
+
},
|
|
178
|
+
headerColumn: {
|
|
179
|
+
type: {
|
|
180
|
+
kind: "terminal",
|
|
181
|
+
name: "boolean"
|
|
182
|
+
},
|
|
183
|
+
required: false,
|
|
184
|
+
target: { attribute: "headercolumn" },
|
|
185
|
+
description: "Whether the table's first column currently uses header cells.",
|
|
186
|
+
default: false
|
|
187
|
+
},
|
|
188
|
+
headerRow: {
|
|
189
|
+
type: {
|
|
190
|
+
kind: "terminal",
|
|
191
|
+
name: "boolean"
|
|
192
|
+
},
|
|
193
|
+
required: false,
|
|
194
|
+
target: { attribute: "headerrow" },
|
|
195
|
+
description: "Whether the table's first row currently uses header cells.",
|
|
196
|
+
default: false
|
|
197
|
+
},
|
|
198
|
+
open: {
|
|
199
|
+
type: {
|
|
200
|
+
kind: "terminal",
|
|
201
|
+
name: "boolean"
|
|
202
|
+
},
|
|
203
|
+
required: false,
|
|
204
|
+
target: { attribute: "open" },
|
|
205
|
+
description: "Shows the toolbar while a table selection is active.",
|
|
206
|
+
default: false
|
|
207
|
+
}
|
|
208
|
+
} };
|
|
110
209
|
const props = __props;
|
|
111
210
|
const checkedProps = computed(() => ({
|
|
112
211
|
actions: checkedProp(props["actions"], {
|
|
@@ -145,31 +244,27 @@ var UiEditorTableToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
145
244
|
"delete-table"
|
|
146
245
|
]
|
|
147
246
|
}
|
|
148
|
-
}, false, "actions"
|
|
247
|
+
}, false, "actions"),
|
|
149
248
|
cellAlignment: checkedProp(props["cellAlignment"], {
|
|
150
249
|
kind: "terminal",
|
|
151
250
|
name: "keyword"
|
|
152
|
-
}, false, "cellAlignment",
|
|
153
|
-
"left",
|
|
154
|
-
"center",
|
|
155
|
-
"right"
|
|
156
|
-
]),
|
|
251
|
+
}, false, "cellAlignment"),
|
|
157
252
|
cellBackground: checkedProp(props["cellBackground"], {
|
|
158
253
|
kind: "terminal",
|
|
159
254
|
name: "string"
|
|
160
|
-
}, false, "cellBackground"
|
|
255
|
+
}, false, "cellBackground"),
|
|
161
256
|
headerColumn: checkedProp(props["headerColumn"], {
|
|
162
257
|
kind: "terminal",
|
|
163
258
|
name: "boolean"
|
|
164
|
-
}, false, "headerColumn"
|
|
259
|
+
}, false, "headerColumn"),
|
|
165
260
|
headerRow: checkedProp(props["headerRow"], {
|
|
166
261
|
kind: "terminal",
|
|
167
262
|
name: "boolean"
|
|
168
|
-
}, false, "headerRow"
|
|
263
|
+
}, false, "headerRow"),
|
|
169
264
|
open: checkedProp(props["open"], {
|
|
170
265
|
kind: "terminal",
|
|
171
266
|
name: "boolean"
|
|
172
|
-
}, false, "open"
|
|
267
|
+
}, false, "open")
|
|
173
268
|
}));
|
|
174
269
|
checkedProps.value;
|
|
175
270
|
watchSyncEffect(() => {
|
|
@@ -220,6 +315,17 @@ var UiEditorTableToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
220
315
|
const sections = ref([]);
|
|
221
316
|
const hasOverflow = ref(false);
|
|
222
317
|
const overflowOpen = ref(false);
|
|
318
|
+
let guardedPrevious;
|
|
319
|
+
const guarded = computed(() => {
|
|
320
|
+
if (!(overflowOpen.value == null || typeof overflowOpen.value === "boolean")) return guardedPrevious;
|
|
321
|
+
return guardedPrevious = overflowOpen.value;
|
|
322
|
+
});
|
|
323
|
+
provide("html-next:ui-editor-table-toolbar:alignments", alignments);
|
|
324
|
+
provide("html-next:ui-editor-table-toolbar:structure", structure);
|
|
325
|
+
provide("html-next:ui-editor-table-toolbar:swatches", swatches);
|
|
326
|
+
provide("html-next:ui-editor-table-toolbar:sections", sections);
|
|
327
|
+
provide("html-next:ui-editor-table-toolbar:hasOverflow", hasOverflow);
|
|
328
|
+
provide("html-next:ui-editor-table-toolbar:overflowOpen", overflowOpen);
|
|
223
329
|
const hydrationNode = hydrationInstance?.vnode.el;
|
|
224
330
|
if (typeof window !== "undefined" && hydrationNode != null && (!(hydrationNode instanceof Element) || hydrationNode.localName !== "div")) throw Object.assign(/* @__PURE__ */ new Error("HR005: Server markup for <ui-editor-table-toolbar> has an incompatible root."), {
|
|
225
331
|
name: "HtmlDiagnosticError",
|
|
@@ -279,7 +385,7 @@ var UiEditorTableToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
279
385
|
return items;
|
|
280
386
|
}
|
|
281
387
|
return (_ctx, _cache) => {
|
|
282
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
388
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
283
389
|
"data-component": "ui-editor-table-toolbar",
|
|
284
390
|
role: "toolbar",
|
|
285
391
|
"aria-label": "Table actions"
|
|
@@ -325,7 +431,7 @@ var UiEditorTableToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
325
431
|
class: "more",
|
|
326
432
|
"data-action": "toggle-overflow",
|
|
327
433
|
"aria-haspopup": "menu",
|
|
328
|
-
"aria-expanded":
|
|
434
|
+
"aria-expanded": guarded.value
|
|
329
435
|
}, [
|
|
330
436
|
createVNode(UiIcon_default, { name: "table" }),
|
|
331
437
|
_cache[0] || (_cache[0] = createElementVNode("span", null, "Table options", -1)),
|
|
@@ -382,9 +488,12 @@ var UiEditorTableToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_defau
|
|
|
382
488
|
}), 128))]),
|
|
383
489
|
_: 1
|
|
384
490
|
})])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
|
|
385
|
-
], 16, _hoisted_1)
|
|
491
|
+
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
492
|
+
contract: propValidityContract,
|
|
493
|
+
values: { ...checkedProps.value }
|
|
494
|
+
}]]);
|
|
386
495
|
};
|
|
387
496
|
}
|
|
388
|
-
}), [["__scopeId", "data-v-
|
|
497
|
+
}), [["__scopeId", "data-v-743438e5"]]);
|
|
389
498
|
//#endregion
|
|
390
499
|
export { UiEditorTableToolbar_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, useTemplateRef, 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, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiEditorToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = ["data-floating", "data-ui-editor-toolbar-state"];
|
|
7
7
|
var _hoisted_2 = {
|
|
@@ -18,11 +18,21 @@ var UiEditorToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
18
18
|
default: false
|
|
19
19
|
} },
|
|
20
20
|
setup(__props) {
|
|
21
|
+
const propValidityContract = { props: { floating: {
|
|
22
|
+
type: {
|
|
23
|
+
kind: "terminal",
|
|
24
|
+
name: "boolean"
|
|
25
|
+
},
|
|
26
|
+
required: false,
|
|
27
|
+
target: { attribute: "floating" },
|
|
28
|
+
description: "Shows the toolbar as a floating bar beside the selection rather than pinned to the editor.",
|
|
29
|
+
default: false
|
|
30
|
+
} } };
|
|
21
31
|
const props = __props;
|
|
22
32
|
const checkedProps = computed(() => ({ floating: checkedProp(props["floating"], {
|
|
23
33
|
kind: "terminal",
|
|
24
34
|
name: "boolean"
|
|
25
|
-
}, false, "floating"
|
|
35
|
+
}, false, "floating") }));
|
|
26
36
|
checkedProps.value;
|
|
27
37
|
watchSyncEffect(() => {
|
|
28
38
|
checkedProps.value;
|
|
@@ -64,7 +74,7 @@ var UiEditorToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
64
74
|
refs: { strip: stripElement }
|
|
65
75
|
});
|
|
66
76
|
return (_ctx, _cache) => {
|
|
67
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
77
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
68
78
|
"data-component": "ui-editor-toolbar",
|
|
69
79
|
role: "toolbar",
|
|
70
80
|
"aria-label": "Editor toolbar"
|
|
@@ -73,9 +83,12 @@ var UiEditorToolbar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
73
83
|
"data-ui-editor-toolbar-state": hostState.value || void 0,
|
|
74
84
|
ref_key: "root",
|
|
75
85
|
ref: root
|
|
76
|
-
}), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")], 512)], 16, _hoisted_1)
|
|
86
|
+
}), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")], 512)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
87
|
+
contract: propValidityContract,
|
|
88
|
+
values: { ...checkedProps.value }
|
|
89
|
+
}]]);
|
|
77
90
|
};
|
|
78
91
|
}
|
|
79
|
-
}), [["__scopeId", "data-v-
|
|
92
|
+
}), [["__scopeId", "data-v-8b6b2b9a"]]);
|
|
80
93
|
//#endregion
|
|
81
94
|
export { UiEditorToolbar_default as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import { t as checkedProp } from "./props.js";
|
|
3
|
-
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
|
+
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiFloatingActionButton.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
6
|
"aria-label",
|
|
@@ -30,20 +30,52 @@ var UiFloatingActionButton_default = /*#__PURE__*/ _plugin_vue_export_helper_def
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
setup(__props) {
|
|
33
|
+
const propValidityContract = { props: {
|
|
34
|
+
disabled: {
|
|
35
|
+
type: {
|
|
36
|
+
kind: "terminal",
|
|
37
|
+
name: "boolean"
|
|
38
|
+
},
|
|
39
|
+
required: false,
|
|
40
|
+
target: { attribute: "disabled" },
|
|
41
|
+
description: "Disables the button, so it cannot be pressed or focused, and gives it a flat muted treatment.",
|
|
42
|
+
default: false
|
|
43
|
+
},
|
|
44
|
+
label: {
|
|
45
|
+
type: {
|
|
46
|
+
kind: "terminal",
|
|
47
|
+
name: "string"
|
|
48
|
+
},
|
|
49
|
+
required: false,
|
|
50
|
+
target: { attribute: "aria-label" },
|
|
51
|
+
description: "The button's accessible name. The button usually holds only an icon, so name the action it performs.",
|
|
52
|
+
default: ""
|
|
53
|
+
},
|
|
54
|
+
mobileOnly: {
|
|
55
|
+
type: {
|
|
56
|
+
kind: "terminal",
|
|
57
|
+
name: "boolean"
|
|
58
|
+
},
|
|
59
|
+
required: false,
|
|
60
|
+
target: { attribute: "mobileonly" },
|
|
61
|
+
description: "Hides the button on viewports 768px wide and wider, for a shortcut that only phones need. Make sure the action is reachable another way at those\n widths.",
|
|
62
|
+
default: false
|
|
63
|
+
}
|
|
64
|
+
} };
|
|
33
65
|
const props = __props;
|
|
34
66
|
const checkedProps = computed(() => ({
|
|
35
67
|
disabled: checkedProp(props["disabled"], {
|
|
36
68
|
kind: "terminal",
|
|
37
69
|
name: "boolean"
|
|
38
|
-
}, false, "disabled"
|
|
70
|
+
}, false, "disabled"),
|
|
39
71
|
label: checkedProp(props["label"], {
|
|
40
72
|
kind: "terminal",
|
|
41
73
|
name: "string"
|
|
42
|
-
}, false, "label"
|
|
74
|
+
}, false, "label"),
|
|
43
75
|
mobileOnly: checkedProp(props["mobileOnly"], {
|
|
44
76
|
kind: "terminal",
|
|
45
77
|
name: "boolean"
|
|
46
|
-
}, false, "mobileOnly"
|
|
78
|
+
}, false, "mobileOnly")
|
|
47
79
|
}));
|
|
48
80
|
checkedProps.value;
|
|
49
81
|
watchSyncEffect(() => {
|
|
@@ -72,7 +104,7 @@ var UiFloatingActionButton_default = /*#__PURE__*/ _plugin_vue_export_helper_def
|
|
|
72
104
|
/** The values the styles' :host-state() rules test. */
|
|
73
105
|
const hostState = computed(() => [checkedProps.value.mobileOnly && "mobileOnly"].filter(Boolean).join(" "));
|
|
74
106
|
return (_ctx, _cache) => {
|
|
75
|
-
return openBlock(), createElementBlock("button", mergeProps({
|
|
107
|
+
return withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
76
108
|
"data-component": "ui-floating-action-button",
|
|
77
109
|
type: "button"
|
|
78
110
|
}, nativeAttrs(_ctx.$attrs), {
|
|
@@ -82,9 +114,12 @@ var UiFloatingActionButton_default = /*#__PURE__*/ _plugin_vue_export_helper_def
|
|
|
82
114
|
"data-label": reflectedProp("label", "label", checkedProps.value.label, void 0, false),
|
|
83
115
|
"data-mobile-only": reflectedProp("mobileOnly", "mobile-only", checkedProps.value.mobileOnly, void 0, false),
|
|
84
116
|
"data-ui-floating-action-button-state": hostState.value || void 0
|
|
85
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1)
|
|
117
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
118
|
+
contract: propValidityContract,
|
|
119
|
+
values: { ...checkedProps.value }
|
|
120
|
+
}]]);
|
|
86
121
|
};
|
|
87
122
|
}
|
|
88
|
-
}), [["__scopeId", "data-v-
|
|
123
|
+
}), [["__scopeId", "data-v-1c7d51b6"]]);
|
|
89
124
|
//#endregion
|
|
90
125
|
export { UiFloatingActionButton_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/UiFormField.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"data-disabled",
|
|
@@ -33,20 +33,52 @@ var UiFormField_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
setup(__props) {
|
|
36
|
+
const propValidityContract = { props: {
|
|
37
|
+
disabled: {
|
|
38
|
+
type: {
|
|
39
|
+
kind: "terminal",
|
|
40
|
+
name: "boolean"
|
|
41
|
+
},
|
|
42
|
+
required: false,
|
|
43
|
+
target: { attribute: "disabled" },
|
|
44
|
+
description: "Disables the field's control: the first input, textarea, or select inside it. The field writes this to the control whenever it updates, so set it here\n rather than on the control.",
|
|
45
|
+
default: false
|
|
46
|
+
},
|
|
47
|
+
invalid: {
|
|
48
|
+
type: {
|
|
49
|
+
kind: "terminal",
|
|
50
|
+
name: "boolean"
|
|
51
|
+
},
|
|
52
|
+
required: false,
|
|
53
|
+
target: { attribute: "invalid" },
|
|
54
|
+
description: "Marks the field's control invalid by setting aria-invalid on it. Only while invalid, the error slot appears and becomes part of the control's\n description.",
|
|
55
|
+
default: false
|
|
56
|
+
},
|
|
57
|
+
required: {
|
|
58
|
+
type: {
|
|
59
|
+
kind: "terminal",
|
|
60
|
+
name: "boolean"
|
|
61
|
+
},
|
|
62
|
+
required: false,
|
|
63
|
+
target: { attribute: "required" },
|
|
64
|
+
description: "Marks the field's control required, for native form validation. Like disabled, it is written to the control, so set it here rather than on the control. It\n adds no visual marker; show one in the label if the form needs it.",
|
|
65
|
+
default: false
|
|
66
|
+
}
|
|
67
|
+
} };
|
|
36
68
|
const props = __props;
|
|
37
69
|
const checkedProps = computed(() => ({
|
|
38
70
|
disabled: checkedProp(props["disabled"], {
|
|
39
71
|
kind: "terminal",
|
|
40
72
|
name: "boolean"
|
|
41
|
-
}, false, "disabled"
|
|
73
|
+
}, false, "disabled"),
|
|
42
74
|
invalid: checkedProp(props["invalid"], {
|
|
43
75
|
kind: "terminal",
|
|
44
76
|
name: "boolean"
|
|
45
|
-
}, false, "invalid"
|
|
77
|
+
}, false, "invalid"),
|
|
46
78
|
required: checkedProp(props["required"], {
|
|
47
79
|
kind: "terminal",
|
|
48
80
|
name: "boolean"
|
|
49
|
-
}, false, "required"
|
|
81
|
+
}, false, "required")
|
|
50
82
|
}));
|
|
51
83
|
checkedProps.value;
|
|
52
84
|
watchSyncEffect(() => {
|
|
@@ -87,7 +119,7 @@ var UiFormField_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
87
119
|
props: checkedProps
|
|
88
120
|
});
|
|
89
121
|
return (_ctx, _cache) => {
|
|
90
|
-
return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-form-field" }, nativeAttrs(_ctx.$attrs), {
|
|
122
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-form-field" }, nativeAttrs(_ctx.$attrs), {
|
|
91
123
|
"data-disabled": reflectedProp("disabled", "disabled", checkedProps.value.disabled, void 0, false),
|
|
92
124
|
"data-invalid": reflectedProp("invalid", "invalid", checkedProps.value.invalid, void 0, false),
|
|
93
125
|
"data-required": reflectedProp("required", "required", checkedProps.value.required, void 0, false),
|
|
@@ -99,9 +131,12 @@ var UiFormField_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
99
131
|
renderSlot(_ctx.$slots, "default"),
|
|
100
132
|
createElementVNode("div", _hoisted_4, [renderSlot(_ctx.$slots, "help")]),
|
|
101
133
|
createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "error")])
|
|
102
|
-
], 16, _hoisted_1)
|
|
134
|
+
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
135
|
+
contract: propValidityContract,
|
|
136
|
+
values: { ...checkedProps.value }
|
|
137
|
+
}]]);
|
|
103
138
|
};
|
|
104
139
|
}
|
|
105
|
-
}), [["__scopeId", "data-v-
|
|
140
|
+
}), [["__scopeId", "data-v-04471fa7"]]);
|
|
106
141
|
//#endregion
|
|
107
142
|
export { UiFormField_default as t };
|
package/vue/chunks/UiGrid.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import { t as checkedProp } from "./props.js";
|
|
3
|
-
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, watchSyncEffect } from "vue";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
|
+
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiGrid.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
6
|
"data-columns",
|
|
@@ -28,30 +28,61 @@ var UiGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(__props) {
|
|
31
|
+
const propValidityContract = { props: {
|
|
32
|
+
columns: {
|
|
33
|
+
type: {
|
|
34
|
+
kind: "terminal",
|
|
35
|
+
name: "integer"
|
|
36
|
+
},
|
|
37
|
+
required: false,
|
|
38
|
+
target: { attribute: "columns" },
|
|
39
|
+
description: "Maximum columns when there is room. Omit for no cap. The grid still drops columns as its container narrows; it never forces a fixed column count."
|
|
40
|
+
},
|
|
41
|
+
gap: {
|
|
42
|
+
type: {
|
|
43
|
+
kind: "terminal",
|
|
44
|
+
name: "keyword"
|
|
45
|
+
},
|
|
46
|
+
required: false,
|
|
47
|
+
target: { attribute: "gap" },
|
|
48
|
+
description: "Space between cells, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-grid-gap custom property,\n set on the grid itself, overrides it; set on an ancestor, it does nothing.",
|
|
49
|
+
values: [
|
|
50
|
+
"xs",
|
|
51
|
+
"s",
|
|
52
|
+
"m",
|
|
53
|
+
"l",
|
|
54
|
+
"xl"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
min: {
|
|
58
|
+
type: {
|
|
59
|
+
kind: "terminal",
|
|
60
|
+
name: "keyword"
|
|
61
|
+
},
|
|
62
|
+
required: false,
|
|
63
|
+
target: { attribute: "min" },
|
|
64
|
+
description: "The narrowest a column may get before the grid drops to fewer columns: sm is 12rem (also the default), md is 16rem, and lg is 20rem. The grid fits as many\n equal columns as its width allows, and a single column never overflows a narrower container.",
|
|
65
|
+
values: [
|
|
66
|
+
"sm",
|
|
67
|
+
"md",
|
|
68
|
+
"lg"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
} };
|
|
31
72
|
const props = __props;
|
|
32
73
|
const checkedProps = computed(() => ({
|
|
33
74
|
columns: checkedProp(props["columns"], {
|
|
34
75
|
kind: "terminal",
|
|
35
76
|
name: "integer"
|
|
36
|
-
}, false, "columns"
|
|
77
|
+
}, false, "columns"),
|
|
37
78
|
gap: checkedProp(props["gap"], {
|
|
38
79
|
kind: "terminal",
|
|
39
80
|
name: "keyword"
|
|
40
|
-
}, false, "gap",
|
|
41
|
-
"xs",
|
|
42
|
-
"s",
|
|
43
|
-
"m",
|
|
44
|
-
"l",
|
|
45
|
-
"xl"
|
|
46
|
-
]),
|
|
81
|
+
}, false, "gap"),
|
|
47
82
|
min: checkedProp(props["min"], {
|
|
48
83
|
kind: "terminal",
|
|
49
84
|
name: "keyword"
|
|
50
|
-
}, false, "min"
|
|
51
|
-
"sm",
|
|
52
|
-
"md",
|
|
53
|
-
"lg"
|
|
54
|
-
])
|
|
85
|
+
}, false, "min")
|
|
55
86
|
}));
|
|
56
87
|
checkedProps.value;
|
|
57
88
|
watchSyncEffect(() => {
|
|
@@ -85,15 +116,18 @@ var UiGrid_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
85
116
|
checkedProps.value.min != null && `min=${encodeURIComponent(checkedProps.value.min)}`
|
|
86
117
|
].filter(Boolean).join(" "));
|
|
87
118
|
return (_ctx, _cache) => {
|
|
88
|
-
return openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-grid" }, nativeAttrs(_ctx.$attrs), {
|
|
119
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-grid" }, nativeAttrs(_ctx.$attrs), {
|
|
89
120
|
style: { "--_grid-column-cap": checkedProps.value.columns ?? void 0 },
|
|
90
121
|
"data-columns": reflectedProp("columns", "columns", checkedProps.value.columns, void 0, false),
|
|
91
122
|
"data-gap": reflectedProp("gap", "gap", checkedProps.value.gap, void 0, false),
|
|
92
123
|
"data-min": reflectedProp("min", "min", checkedProps.value.min, void 0, false),
|
|
93
124
|
"data-ui-grid-state": hostState.value || void 0
|
|
94
|
-
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)
|
|
125
|
+
}), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
126
|
+
contract: propValidityContract,
|
|
127
|
+
values: { ...checkedProps.value }
|
|
128
|
+
}]]);
|
|
95
129
|
};
|
|
96
130
|
}
|
|
97
|
-
}), [["__scopeId", "data-v-
|
|
131
|
+
}), [["__scopeId", "data-v-a0085a10"]]);
|
|
98
132
|
//#endregion
|
|
99
133
|
export { UiGrid_default as t };
|
package/vue/chunks/UiIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import { t as checkedProp } from "./props.js";
|
|
3
|
-
import { Fragment, computed, createCommentVNode, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderList, unref, watchSyncEffect } from "vue";
|
|
2
|
+
import { r as vPropValidity, t as checkedProp } from "./props.js";
|
|
3
|
+
import { Fragment, computed, createCommentVNode, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderList, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiIcon.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = ["data-name"];
|
|
6
6
|
var _hoisted_2 = {
|
|
@@ -42,11 +42,21 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
42
42
|
default: ""
|
|
43
43
|
} },
|
|
44
44
|
setup(__props) {
|
|
45
|
+
const propValidityContract = { props: { name: {
|
|
46
|
+
type: {
|
|
47
|
+
kind: "terminal",
|
|
48
|
+
name: "string"
|
|
49
|
+
},
|
|
50
|
+
required: false,
|
|
51
|
+
target: { attribute: "name" },
|
|
52
|
+
description: "Which icon to draw, by its name in Looma's icon set (LOOMA_ICONS), such as \"align-left\". An unknown or empty name draws nothing. The icon is hidden from\n assistive technology, so name the control it sits in.",
|
|
53
|
+
default: ""
|
|
54
|
+
} } };
|
|
45
55
|
const props = __props;
|
|
46
56
|
const checkedProps = computed(() => ({ name: checkedProp(props["name"], {
|
|
47
57
|
kind: "terminal",
|
|
48
58
|
name: "string"
|
|
49
|
-
}, false, "name"
|
|
59
|
+
}, false, "name") }));
|
|
50
60
|
checkedProps.value;
|
|
51
61
|
watchSyncEffect(() => {
|
|
52
62
|
checkedProps.value;
|
|
@@ -1074,7 +1084,7 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
1074
1084
|
return Array.isArray(value) ? value : [];
|
|
1075
1085
|
}
|
|
1076
1086
|
return (_ctx, _cache) => {
|
|
1077
|
-
return openBlock(), createElementBlock("span", mergeProps({
|
|
1087
|
+
return withDirectives((openBlock(), createElementBlock("span", mergeProps({
|
|
1078
1088
|
"data-component": "ui-icon",
|
|
1079
1089
|
"aria-hidden": "true"
|
|
1080
1090
|
}, nativeAttrs(_ctx.$attrs), { "data-name": reflectedProp("name", "name", checkedProps.value.name, void 0, false) }), [(openBlock(), createElementBlock("svg", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(list(unref(shapes)), (shape, index) => {
|
|
@@ -1106,9 +1116,12 @@ var UiIcon_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
1106
1116
|
y2: attribute(shape.y2)
|
|
1107
1117
|
}, null, 8, _hoisted_6)) : createCommentVNode("v-if", true)
|
|
1108
1118
|
]);
|
|
1109
|
-
}), 128))]))], 16, _hoisted_1)
|
|
1119
|
+
}), 128))]))], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
1120
|
+
contract: propValidityContract,
|
|
1121
|
+
values: { ...checkedProps.value }
|
|
1122
|
+
}]]);
|
|
1110
1123
|
};
|
|
1111
1124
|
}
|
|
1112
|
-
}), [["__scopeId", "data-v-
|
|
1125
|
+
}), [["__scopeId", "data-v-b3883ba1"]]);
|
|
1113
1126
|
//#endregion
|
|
1114
1127
|
export { UiIcon_default as t };
|