@threadlabs/looma 0.30.2 → 0.30.4
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-combobox/ui-combobox.html +10 -10
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -4
- package/components/ui-image/ui-image.html +2 -2
- package/components/ui-listbox/ui-listbox.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -2
- package/dist/index.js +5 -4
- package/package.json +3 -3
- 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-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.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-surface.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-image.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-swatch.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 +4 -4
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +4 -4
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +4 -4
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +4 -4
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +3 -3
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +3 -3
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +6 -6
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +4 -4
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +6 -6
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +4 -4
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +4 -4
- package/vanilla/UiCombobox.d.ts +12 -12
- package/vanilla/UiCombobox.js +12 -10
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +4 -4
- package/vanilla/UiContextMenu.d.ts +2 -2
- package/vanilla/UiContextMenu.js +3 -3
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +4 -4
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +3 -3
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +4 -4
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +4 -4
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +4 -4
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +3 -3
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +4 -4
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +4 -4
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +3 -3
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +4 -4
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +3 -3
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +8 -6
- package/vanilla/UiEditorLinkForm.d.ts +2 -2
- package/vanilla/UiEditorLinkForm.js +9 -7
- package/vanilla/UiEditorMentionMenu.d.ts +3 -3
- package/vanilla/UiEditorMentionMenu.js +3 -3
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +3 -3
- package/vanilla/UiEditorSlashMenu.d.ts +3 -3
- package/vanilla/UiEditorSlashMenu.js +3 -3
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +3 -3
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +3 -3
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +4 -4
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +4 -4
- package/vanilla/UiEditorTableOverlay.d.ts +2 -2
- package/vanilla/UiEditorTableOverlay.js +4 -4
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +4 -4
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +3 -3
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +3 -3
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +3 -3
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +4 -4
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +9 -7
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +4 -4
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +4 -4
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +4 -4
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +4 -4
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +6 -6
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +4 -4
- package/vanilla/UiListbox.d.ts +2 -2
- package/vanilla/UiListbox.js +3 -3
- package/vanilla/UiMenu.d.ts +2 -2
- package/vanilla/UiMenu.js +4 -4
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +3 -3
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +6 -6
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +9 -7
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +6 -6
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +4 -4
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +4 -4
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +4 -4
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +4 -4
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +4 -4
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +4 -4
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +4 -4
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +3 -3
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +4 -4
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +4 -4
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +4 -4
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +4 -4
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +4 -4
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +4 -4
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +4 -4
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +9 -7
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +4 -4
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +4 -4
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +4 -4
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +6 -6
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +4 -4
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +4 -4
- package/vanilla/UiToastRegion.d.ts +2 -2
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +4 -4
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +4 -4
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +35 -23
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.d.ts +8 -8
- package/vue/UiAffordanceScope.vue +57 -20
- package/vue/UiAvatar.d.ts +9 -27
- package/vue/UiAvatar.vue +100 -68
- package/vue/UiAvatarGroup.d.ts +9 -18
- package/vue/UiAvatarGroup.vue +73 -44
- package/vue/UiBadge.d.ts +9 -15
- package/vue/UiBadge.vue +67 -39
- package/vue/UiBreadcrumbItem.d.ts +8 -5
- package/vue/UiBreadcrumbItem.vue +45 -12
- package/vue/UiBreadcrumbs.d.ts +8 -5
- package/vue/UiBreadcrumbs.vue +45 -12
- package/vue/UiButton.d.ts +9 -45
- package/vue/UiButton.vue +148 -119
- package/vue/UiCallout.d.ts +8 -8
- package/vue/UiCallout.vue +68 -25
- package/vue/UiCard.d.ts +8 -17
- package/vue/UiCard.vue +77 -53
- package/vue/UiCheckbox.d.ts +8 -29
- package/vue/UiCheckbox.vue +118 -76
- package/vue/UiCluster.d.ts +9 -24
- package/vue/UiCluster.vue +91 -66
- package/vue/UiCombobox.d.ts +135 -219
- package/vue/UiCombobox.vue +528 -496
- package/vue/UiContainer.d.ts +8 -11
- package/vue/UiContainer.vue +61 -28
- package/vue/UiContextMenu.d.ts +10 -10
- package/vue/UiContextMenu.vue +55 -22
- package/vue/UiCover.d.ts +8 -5
- package/vue/UiCover.vue +45 -12
- package/vue/UiDescriptionItem.d.ts +8 -5
- package/vue/UiDescriptionItem.vue +40 -12
- package/vue/UiDescriptionList.d.ts +8 -11
- package/vue/UiDescriptionList.vue +61 -34
- package/vue/UiDialog.d.ts +8 -26
- package/vue/UiDialog.vue +99 -74
- package/vue/UiDisclosure.d.ts +8 -29
- package/vue/UiDisclosure.vue +118 -79
- package/vue/UiEditable.d.ts +8 -35
- package/vue/UiEditable.vue +136 -92
- package/vue/UiEditorBlockActions.d.ts +8 -8
- package/vue/UiEditorBlockActions.vue +58 -23
- package/vue/UiEditorChipEditor.d.ts +8 -8
- package/vue/UiEditorChipEditor.vue +65 -20
- package/vue/UiEditorCodeLanguage.d.ts +8 -11
- package/vue/UiEditorCodeLanguage.vue +74 -31
- package/vue/UiEditorImageToolbar.d.ts +8 -11
- package/vue/UiEditorImageToolbar.vue +175 -144
- package/vue/UiEditorInsertTableGrid.d.ts +8 -14
- package/vue/UiEditorInsertTableGrid.vue +73 -36
- package/vue/UiEditorLinkCard.d.ts +8 -17
- package/vue/UiEditorLinkCard.vue +157 -90
- package/vue/UiEditorLinkForm.d.ts +10 -44
- package/vue/UiEditorLinkForm.vue +336 -228
- package/vue/UiEditorMentionMenu.d.ts +28 -60
- package/vue/UiEditorMentionMenu.vue +166 -121
- package/vue/UiEditorMentionMenuItem.d.ts +8 -11
- package/vue/UiEditorMentionMenuItem.vue +61 -28
- package/vue/UiEditorSlashMenu.d.ts +26 -52
- package/vue/UiEditorSlashMenu.vue +141 -104
- package/vue/UiEditorSlashMenuGroup.d.ts +8 -5
- package/vue/UiEditorSlashMenuGroup.vue +40 -12
- package/vue/UiEditorSlashMenuItem.d.ts +8 -17
- package/vue/UiEditorSlashMenuItem.vue +90 -48
- package/vue/UiEditorSurface.d.ts +8 -5
- package/vue/UiEditorSurface.vue +45 -15
- package/vue/UiEditorTableContextMenu.d.ts +8 -20
- package/vue/UiEditorTableContextMenu.vue +151 -113
- package/vue/UiEditorTableOverlay.d.ts +10 -29
- package/vue/UiEditorTableOverlay.vue +180 -153
- package/vue/UiEditorTableToolbar.d.ts +8 -20
- package/vue/UiEditorTableToolbar.vue +158 -116
- package/vue/UiEditorToolbar.d.ts +8 -5
- package/vue/UiEditorToolbar.vue +48 -12
- package/vue/UiFloatingActionButton.d.ts +8 -11
- package/vue/UiFloatingActionButton.vue +60 -28
- package/vue/UiFormField.d.ts +8 -11
- package/vue/UiFormField.vue +63 -28
- package/vue/UiGrid.d.ts +8 -11
- package/vue/UiGrid.vue +56 -28
- package/vue/UiIcon.d.ts +8 -8
- package/vue/UiIcon.vue +444 -395
- package/vue/UiIconButton.d.ts +9 -39
- package/vue/UiIconButton.vue +138 -103
- package/vue/UiImage.d.ts +8 -23
- package/vue/UiImage.vue +80 -60
- package/vue/UiInput.d.ts +4 -7
- package/vue/UiInput.vue +169 -149
- package/vue/UiInputGroup.d.ts +8 -17
- package/vue/UiInputGroup.vue +81 -47
- package/vue/UiList.d.ts +9 -15
- package/vue/UiList.vue +67 -39
- package/vue/UiListItem.d.ts +8 -20
- package/vue/UiListItem.vue +87 -52
- package/vue/UiListbox.d.ts +10 -28
- package/vue/UiListbox.vue +111 -71
- package/vue/UiMenu.d.ts +10 -25
- package/vue/UiMenu.vue +96 -65
- package/vue/UiMenuGroup.d.ts +8 -5
- package/vue/UiMenuGroup.vue +40 -12
- package/vue/UiMenuItem.d.ts +8 -20
- package/vue/UiMenuItem.vue +91 -55
- package/vue/UiMeter.d.ts +9 -33
- package/vue/UiMeter.vue +203 -148
- package/vue/UiNavItem.d.ts +9 -24
- package/vue/UiNavItem.vue +78 -63
- package/vue/UiPageHeader.d.ts +8 -5
- package/vue/UiPageHeader.vue +45 -12
- package/vue/UiPopover.d.ts +8 -14
- package/vue/UiPopover.vue +90 -58
- package/vue/UiRadio.d.ts +8 -20
- package/vue/UiRadio.vue +91 -52
- package/vue/UiRadioGroup.d.ts +8 -26
- package/vue/UiRadioGroup.vue +109 -74
- package/vue/UiReel.d.ts +8 -11
- package/vue/UiReel.vue +56 -28
- package/vue/UiScrollArea.d.ts +9 -18
- package/vue/UiScrollArea.vue +81 -53
- package/vue/UiSearchResultRow.d.ts +8 -11
- package/vue/UiSearchResultRow.vue +60 -31
- package/vue/UiSearchShell.d.ts +8 -14
- package/vue/UiSearchShell.vue +73 -36
- package/vue/UiSection.d.ts +8 -11
- package/vue/UiSection.vue +60 -31
- package/vue/UiSelect.d.ts +8 -17
- package/vue/UiSelect.vue +83 -51
- package/vue/UiSeparator.d.ts +9 -15
- package/vue/UiSeparator.vue +69 -39
- package/vue/UiSidebar.d.ts +8 -29
- package/vue/UiSidebar.vue +118 -76
- package/vue/UiSpinner.d.ts +8 -8
- package/vue/UiSpinner.vue +51 -20
- package/vue/UiStack.d.ts +9 -18
- package/vue/UiStack.vue +73 -53
- package/vue/UiStatusMessage.d.ts +8 -11
- package/vue/UiStatusMessage.vue +60 -33
- package/vue/UiSwatch.d.ts +8 -5
- package/vue/UiSwatch.vue +64 -22
- package/vue/UiSwitch.d.ts +8 -20
- package/vue/UiSwitch.vue +91 -52
- package/vue/UiSwitcher.d.ts +9 -15
- package/vue/UiSwitcher.vue +64 -39
- package/vue/UiTable.d.ts +8 -8
- package/vue/UiTable.vue +56 -23
- package/vue/UiTabs.d.ts +8 -23
- package/vue/UiTabs.vue +100 -66
- package/vue/UiText.d.ts +9 -36
- package/vue/UiText.vue +152 -109
- package/vue/UiTextarea.d.ts +8 -29
- package/vue/UiTextarea.vue +118 -83
- package/vue/UiToast.d.ts +8 -8
- package/vue/UiToast.vue +55 -20
- package/vue/UiToastRegion.d.ts +14 -14
- package/vue/UiToastRegion.vue +66 -28
- package/vue/UiTooltip.d.ts +8 -23
- package/vue/UiTooltip.vue +117 -82
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.d.ts +8 -23
- package/vue/UiTree.vue +99 -69
- package/vue/UiTreeItem.d.ts +8 -47
- package/vue/UiTreeItem.vue +178 -127
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +35 -22
- package/vue/chunks/UiAvatar.js +81 -70
- package/vue/chunks/UiAvatarGroup.js +58 -46
- package/vue/chunks/UiBadge.js +46 -38
- package/vue/chunks/UiBreadcrumbItem.js +22 -11
- package/vue/chunks/UiBreadcrumbs.js +22 -11
- package/vue/chunks/UiButton.js +115 -118
- package/vue/chunks/UiCallout.js +32 -22
- package/vue/chunks/UiCard.js +53 -46
- package/vue/chunks/UiCheckbox.js +84 -78
- package/vue/chunks/UiCluster.js +63 -62
- package/vue/chunks/UiCombobox.js +359 -382
- package/vue/chunks/UiContainer.js +35 -30
- package/vue/chunks/UiContextMenu.js +36 -23
- package/vue/chunks/UiCover.js +22 -11
- package/vue/chunks/UiDescriptionItem.js +22 -11
- package/vue/chunks/UiDescriptionList.js +38 -30
- package/vue/chunks/UiDialog.js +78 -70
- package/vue/chunks/UiDisclosure.js +87 -78
- package/vue/chunks/UiEditable.js +102 -94
- package/vue/chunks/UiEditorBlockActions.js +49 -23
- package/vue/chunks/UiEditorChipEditor.js +48 -25
- package/vue/chunks/UiEditorCodeLanguage.js +58 -41
- package/vue/chunks/UiEditorImageToolbar.js +153 -148
- package/vue/chunks/UiEditorInsertTableGrid.js +55 -38
- package/vue/chunks/UiEditorLinkCard.js +104 -82
- package/vue/chunks/UiEditorLinkForm.js +282 -258
- package/vue/chunks/UiEditorMentionMenu.js +156 -145
- package/vue/chunks/UiEditorMentionMenuItem.js +39 -30
- package/vue/chunks/UiEditorSlashMenu.js +141 -130
- package/vue/chunks/UiEditorSlashMenuGroup.js +22 -11
- package/vue/chunks/UiEditorSlashMenuItem.js +62 -47
- package/vue/chunks/UiEditorSurface.js +22 -11
- package/vue/chunks/UiEditorTableContextMenu.js +98 -87
- package/vue/chunks/UiEditorTableOverlay.js +286 -308
- package/vue/chunks/UiEditorTableToolbar.js +102 -87
- package/vue/chunks/UiEditorToolbar.js +24 -11
- package/vue/chunks/UiFloatingActionButton.js +39 -30
- package/vue/chunks/UiFormField.js +41 -30
- package/vue/chunks/UiGrid.js +35 -30
- package/vue/chunks/UiIcon.js +38 -25
- package/vue/chunks/UiIconButton.js +102 -102
- package/vue/chunks/UiImage.js +67 -62
- package/vue/chunks/UiInput.js +275 -274
- package/vue/chunks/UiInputGroup.js +55 -46
- package/vue/chunks/UiList.js +46 -38
- package/vue/chunks/UiListItem.js +60 -54
- package/vue/chunks/UiListbox.js +83 -72
- package/vue/chunks/UiMenu.js +71 -63
- package/vue/chunks/UiMenuGroup.js +22 -11
- package/vue/chunks/UiMenuItem.js +63 -54
- package/vue/chunks/UiMeter.js +125 -120
- package/vue/chunks/UiNavItem.js +64 -62
- package/vue/chunks/UiPageHeader.js +22 -11
- package/vue/chunks/UiPopover.js +49 -38
- package/vue/chunks/UiRadio.js +63 -54
- package/vue/chunks/UiRadioGroup.js +77 -70
- package/vue/chunks/UiReel.js +35 -30
- package/vue/chunks/UiScrollArea.js +55 -46
- package/vue/chunks/UiSearchResultRow.js +39 -30
- package/vue/chunks/UiSearchShell.js +49 -38
- package/vue/chunks/UiSection.js +39 -30
- package/vue/chunks/UiSelect.js +57 -48
- package/vue/chunks/UiSeparator.js +46 -38
- package/vue/chunks/UiSidebar.js +88 -78
- package/vue/chunks/UiSpinner.js +32 -22
- package/vue/chunks/UiStack.js +47 -46
- package/vue/chunks/UiStatusMessage.js +39 -30
- package/vue/chunks/UiSwatch.js +28 -14
- package/vue/chunks/UiSwitch.js +63 -54
- package/vue/chunks/UiSwitcher.js +44 -38
- package/vue/chunks/UiTable.js +34 -22
- package/vue/chunks/UiTabs.js +73 -62
- package/vue/chunks/UiText.js +95 -94
- package/vue/chunks/UiTextarea.js +84 -80
- package/vue/chunks/UiToast.js +34 -22
- package/vue/chunks/UiToastRegion.js +36 -23
- package/vue/chunks/UiTooltip.js +70 -62
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +69 -62
- package/vue/chunks/UiTreeItem.js +154 -151
- package/vue/chunks/_plugin-vue_export-helper.js +185 -36
- package/vue/chunks/control.js +6 -1
- package/vue/chunks/props.js +435 -11
- package/vue/components.css +39 -39
- package/vue/editor/index.js +129 -291
- package/vue/host.ts +320 -14
- package/vue/props.d.ts +272 -0
package/vue/chunks/UiMeter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as concat, c as decimalMultiply, f as math, i as checkHydratedRoot, l as decimalSubtract, m as number, p as nativeAttrs, r as attribute, s as cycleCheckedComputed, t as _plugin_vue_export_helper_default, u as formatValue, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as inputRead, f as vPropValidity, i as checkPropInput, p as vuePropInputs, s as inputComputed, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { Fragment, computed, createCommentVNode, createElementBlock, createTextVNode, defineComponent, mergeProps, normalizeStyle, openBlock, renderList, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiMeter.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
@@ -27,42 +27,16 @@ var UiMeter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
27
27
|
inheritAttrs: false,
|
|
28
28
|
__name: "UiMeter",
|
|
29
29
|
props: {
|
|
30
|
-
label: {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
default: () => []
|
|
41
|
-
},
|
|
42
|
-
segments: {
|
|
43
|
-
type: null,
|
|
44
|
-
default: 0
|
|
45
|
-
},
|
|
46
|
-
size: {
|
|
47
|
-
type: null,
|
|
48
|
-
default: "md"
|
|
49
|
-
},
|
|
50
|
-
tone: {
|
|
51
|
-
type: null,
|
|
52
|
-
default: "neutral"
|
|
53
|
-
},
|
|
54
|
-
value: {
|
|
55
|
-
type: null,
|
|
56
|
-
default: 0
|
|
57
|
-
},
|
|
58
|
-
valueText: {
|
|
59
|
-
type: null,
|
|
60
|
-
default: ""
|
|
61
|
-
},
|
|
62
|
-
variant: {
|
|
63
|
-
type: null,
|
|
64
|
-
default: "progress"
|
|
65
|
-
}
|
|
30
|
+
label: { type: null },
|
|
31
|
+
max: { type: null },
|
|
32
|
+
parts: { type: null },
|
|
33
|
+
segments: { type: null },
|
|
34
|
+
size: { type: null },
|
|
35
|
+
tone: { type: null },
|
|
36
|
+
value: { type: null },
|
|
37
|
+
valueText: { type: null },
|
|
38
|
+
variant: { type: null },
|
|
39
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
66
40
|
},
|
|
67
41
|
setup(__props) {
|
|
68
42
|
const propValidityContract = { props: {
|
|
@@ -186,101 +160,132 @@ var UiMeter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
186
160
|
}
|
|
187
161
|
} };
|
|
188
162
|
const props = __props;
|
|
189
|
-
const
|
|
163
|
+
const inputTracking = vuePropInputs({
|
|
190
164
|
label: "",
|
|
191
165
|
max: 1,
|
|
192
|
-
parts:
|
|
166
|
+
parts: [],
|
|
193
167
|
segments: 0,
|
|
194
168
|
size: "md",
|
|
195
169
|
tone: "neutral",
|
|
196
170
|
value: 0,
|
|
197
171
|
valueText: "",
|
|
198
172
|
variant: "progress"
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
kind: "
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
name: "
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
173
|
+
}, {
|
|
174
|
+
label: "",
|
|
175
|
+
max: 1,
|
|
176
|
+
parts: [],
|
|
177
|
+
segments: 0,
|
|
178
|
+
size: "md",
|
|
179
|
+
tone: "neutral",
|
|
180
|
+
value: 0,
|
|
181
|
+
valueText: "",
|
|
182
|
+
variant: "progress"
|
|
183
|
+
}, (name, value, source, values) => {
|
|
184
|
+
switch (name) {
|
|
185
|
+
case "label": return checkPropInput(value, {
|
|
186
|
+
kind: "terminal",
|
|
187
|
+
name: "string"
|
|
188
|
+
}, true, true);
|
|
189
|
+
case "max": return checkPropInput(value, {
|
|
190
|
+
kind: "terminal",
|
|
191
|
+
name: "number"
|
|
192
|
+
}, true, true);
|
|
193
|
+
case "parts": return checkPropInput(value, {
|
|
194
|
+
kind: "list",
|
|
195
|
+
item: {
|
|
196
|
+
kind: "object",
|
|
197
|
+
fields: [{
|
|
198
|
+
name: "value",
|
|
199
|
+
type: {
|
|
200
|
+
kind: "terminal",
|
|
201
|
+
name: "number"
|
|
202
|
+
},
|
|
203
|
+
optional: false
|
|
204
|
+
}, {
|
|
205
|
+
name: "color",
|
|
206
|
+
type: {
|
|
207
|
+
kind: "terminal",
|
|
208
|
+
name: "string"
|
|
209
|
+
},
|
|
210
|
+
optional: false
|
|
211
|
+
}],
|
|
212
|
+
open: false
|
|
213
|
+
}
|
|
214
|
+
}, true, true);
|
|
215
|
+
case "segments": return checkPropInput(value, {
|
|
216
|
+
kind: "terminal",
|
|
217
|
+
name: "number"
|
|
218
|
+
}, true, true);
|
|
219
|
+
case "size": return checkPropInput(value, {
|
|
220
|
+
kind: "terminal",
|
|
221
|
+
name: "keyword"
|
|
222
|
+
}, true, true);
|
|
223
|
+
case "tone": return checkPropInput(value, {
|
|
224
|
+
kind: "terminal",
|
|
225
|
+
name: "keyword"
|
|
226
|
+
}, true, true);
|
|
227
|
+
case "value": return checkPropInput(value, {
|
|
228
|
+
kind: "terminal",
|
|
229
|
+
name: "number"
|
|
230
|
+
}, true, true);
|
|
231
|
+
case "valueText": return checkPropInput(value, {
|
|
232
|
+
kind: "terminal",
|
|
233
|
+
name: "string"
|
|
234
|
+
}, true, true);
|
|
235
|
+
case "variant": return checkPropInput(value, {
|
|
236
|
+
kind: "terminal",
|
|
237
|
+
name: "keyword"
|
|
238
|
+
}, true, true);
|
|
239
|
+
default: return { ok: false };
|
|
240
|
+
}
|
|
241
|
+
}, () => {
|
|
242
|
+
checkedProps.value;
|
|
243
|
+
});
|
|
244
|
+
const propInputs = inputTracking.inputs;
|
|
245
|
+
const checkedProps = computed(() => {
|
|
246
|
+
inputTracking.version.value;
|
|
247
|
+
return {
|
|
248
|
+
label: propInputs.value("label", props["label"], props[BINDING_INPUTS_PROP]),
|
|
249
|
+
max: propInputs.value("max", props["max"], props[BINDING_INPUTS_PROP]),
|
|
250
|
+
parts: propInputs.value("parts", props["parts"], props[BINDING_INPUTS_PROP]),
|
|
251
|
+
segments: propInputs.value("segments", props["segments"], props[BINDING_INPUTS_PROP]),
|
|
252
|
+
size: propInputs.value("size", props["size"], props[BINDING_INPUTS_PROP]),
|
|
253
|
+
tone: propInputs.value("tone", props["tone"], props[BINDING_INPUTS_PROP]),
|
|
254
|
+
value: propInputs.value("value", props["value"], props[BINDING_INPUTS_PROP]),
|
|
255
|
+
valueText: propInputs.value("valueText", props["valueText"], props[BINDING_INPUTS_PROP]),
|
|
256
|
+
variant: propInputs.value("variant", props["variant"], props[BINDING_INPUTS_PROP])
|
|
257
|
+
};
|
|
258
|
+
});
|
|
256
259
|
checkedProps.value;
|
|
257
260
|
watchSyncEffect(() => {
|
|
258
261
|
checkedProps.value;
|
|
259
262
|
});
|
|
260
263
|
const reflectedProp = useReflectedProp();
|
|
261
264
|
let amountPrevious = null;
|
|
262
|
-
const amount =
|
|
263
|
-
|
|
265
|
+
const amount = inputComputed(() => {
|
|
266
|
+
return math("clamp", [
|
|
264
267
|
"number",
|
|
265
268
|
"number",
|
|
266
269
|
"number"
|
|
267
270
|
], [
|
|
268
271
|
0,
|
|
269
|
-
checkedProps.value.value,
|
|
270
|
-
checkedProps.value.max
|
|
272
|
+
inputRead(checkedProps.value.value, propInputs.status("value")),
|
|
273
|
+
inputRead(checkedProps.value.max, propInputs.status("max"))
|
|
271
274
|
]);
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
+
}, (read) => {
|
|
276
|
+
const value = cycleCheckedComputed(read);
|
|
277
|
+
return { get: () => value.value };
|
|
278
|
+
}, (next) => next === Symbol.for("html-next.invalid-result") ? amountPrevious : amountPrevious = next);
|
|
275
279
|
let percentPrevious = null;
|
|
276
|
-
const percent =
|
|
277
|
-
|
|
278
|
-
true: number(number(amount.
|
|
280
|
+
const percent = inputComputed(() => {
|
|
281
|
+
return ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
282
|
+
true: number(number(inputRead(amount.get(), amount.status())) === void 0 || number(inputRead(checkedProps.value.max, propInputs.status("max"))) === void 0 ? void 0 : number(inputRead(amount.get(), amount.status())) / number(inputRead(checkedProps.value.max, propInputs.status("max")))) === void 0 || number(100) === void 0 ? void 0 : decimalMultiply(number(number(inputRead(amount.get(), amount.status())) === void 0 || number(inputRead(checkedProps.value.max, propInputs.status("max"))) === void 0 ? void 0 : number(inputRead(amount.get(), amount.status())) / number(inputRead(checkedProps.value.max, propInputs.status("max")))), number(100)),
|
|
279
283
|
false: 0
|
|
280
|
-
}, concat(number(checkedProps.value.max) === void 0 || number(0) === void 0 ? void 0 : number(checkedProps.value.max) > number(0)));
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
+
}, concat(number(inputRead(checkedProps.value.max, propInputs.status("max"))) === void 0 || number(0) === void 0 ? void 0 : number(inputRead(checkedProps.value.max, propInputs.status("max"))) > number(0)));
|
|
285
|
+
}, (read) => {
|
|
286
|
+
const value = cycleCheckedComputed(read);
|
|
287
|
+
return { get: () => value.value };
|
|
288
|
+
}, (next) => next === Symbol.for("html-next.invalid-result") ? percentPrevious : percentPrevious = next);
|
|
284
289
|
let guardedPrevious = null;
|
|
285
290
|
const guarded = computed(() => {
|
|
286
291
|
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
@@ -330,17 +335,17 @@ var UiMeter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
330
335
|
const guardedBinding3 = computed(() => {
|
|
331
336
|
if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
332
337
|
true: null,
|
|
333
|
-
false: amount.
|
|
338
|
+
false: amount.get()
|
|
334
339
|
}, concat(checkedProps.value.variant === "distribution")) === Symbol.for("html-next.invalid-result")) return guardedBinding3Previous;
|
|
335
340
|
return guardedBinding3Previous = typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
336
341
|
true: null,
|
|
337
|
-
false: amount.
|
|
342
|
+
false: amount.get()
|
|
338
343
|
}, concat(checkedProps.value.variant === "distribution")) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
339
344
|
true: null,
|
|
340
|
-
false: amount.
|
|
345
|
+
false: amount.get()
|
|
341
346
|
}, concat(checkedProps.value.variant === "distribution"))) : attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
|
|
342
347
|
true: null,
|
|
343
|
-
false: amount.
|
|
348
|
+
false: amount.get()
|
|
344
349
|
}, concat(checkedProps.value.variant === "distribution")));
|
|
345
350
|
});
|
|
346
351
|
let guardedBinding4Previous = null;
|
|
@@ -351,7 +356,7 @@ var UiMeter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
351
356
|
false: ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])((() => {
|
|
352
357
|
const value = {
|
|
353
358
|
true: checkedProps.value.valueText,
|
|
354
|
-
false: formatValue(number(percent.
|
|
359
|
+
false: formatValue(number(percent.get()) === void 0 || number(100) === void 0 ? void 0 : number(percent.get()) / number(100), "number", "format", "percent", { maximumFractionDigits: 0 })
|
|
355
360
|
};
|
|
356
361
|
return Object.values(value).some((entry) => entry === Symbol.for("html-next.invalid-result")) ? Symbol.for("html-next.invalid-result") : value;
|
|
357
362
|
})(), concat(checkedProps.value.valueText !== ""))
|
|
@@ -364,7 +369,7 @@ var UiMeter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
364
369
|
false: ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])((() => {
|
|
365
370
|
const value = {
|
|
366
371
|
true: checkedProps.value.valueText,
|
|
367
|
-
false: formatValue(number(percent.
|
|
372
|
+
false: formatValue(number(percent.get()) === void 0 || number(100) === void 0 ? void 0 : number(percent.get()) / number(100), "number", "format", "percent", { maximumFractionDigits: 0 })
|
|
368
373
|
};
|
|
369
374
|
return Object.values(value).some((entry) => entry === Symbol.for("html-next.invalid-result")) ? Symbol.for("html-next.invalid-result") : value;
|
|
370
375
|
})(), concat(checkedProps.value.valueText !== ""))
|
|
@@ -376,7 +381,7 @@ var UiMeter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
376
381
|
false: ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])((() => {
|
|
377
382
|
const value = {
|
|
378
383
|
true: checkedProps.value.valueText,
|
|
379
|
-
false: formatValue(number(percent.
|
|
384
|
+
false: formatValue(number(percent.get()) === void 0 || number(100) === void 0 ? void 0 : number(percent.get()) / number(100), "number", "format", "percent", { maximumFractionDigits: 0 })
|
|
380
385
|
};
|
|
381
386
|
return Object.values(value).some((entry) => entry === Symbol.for("html-next.invalid-result")) ? Symbol.for("html-next.invalid-result") : value;
|
|
382
387
|
})(), concat(checkedProps.value.valueText !== ""))
|
|
@@ -388,7 +393,7 @@ var UiMeter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
388
393
|
false: ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])((() => {
|
|
389
394
|
const value = {
|
|
390
395
|
true: checkedProps.value.valueText,
|
|
391
|
-
false: formatValue(number(percent.
|
|
396
|
+
false: formatValue(number(percent.get()) === void 0 || number(100) === void 0 ? void 0 : number(percent.get()) / number(100), "number", "format", "percent", { maximumFractionDigits: 0 })
|
|
392
397
|
};
|
|
393
398
|
return Object.values(value).some((entry) => entry === Symbol.for("html-next.invalid-result")) ? Symbol.for("html-next.invalid-result") : value;
|
|
394
399
|
})(), concat(checkedProps.value.valueText !== ""))
|
|
@@ -462,7 +467,7 @@ var UiMeter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
462
467
|
});
|
|
463
468
|
let guardedBinding7Previous = null;
|
|
464
469
|
const guardedBinding7 = computed(() => {
|
|
465
|
-
const candidate = concat(percent.
|
|
470
|
+
const candidate = concat(percent.get(), "%");
|
|
466
471
|
if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding7Previous;
|
|
467
472
|
return guardedBinding7Previous = candidate;
|
|
468
473
|
});
|
|
@@ -528,6 +533,6 @@ var UiMeter_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
528
533
|
}]]);
|
|
529
534
|
};
|
|
530
535
|
}
|
|
531
|
-
}), [["__scopeId", "data-v-
|
|
536
|
+
}), [["__scopeId", "data-v-27b093fa"]]);
|
|
532
537
|
//#endregion
|
|
533
538
|
export { UiMeter_default as t };
|
package/vue/chunks/UiNavItem.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as concat, h as preserveRootFocus, i as checkHydratedRoot, p as nativeAttrs, r as attribute, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as vPropValidity, i as checkPropInput, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiNavItem.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
@@ -73,34 +73,14 @@ var UiNavItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
73
73
|
inheritAttrs: false,
|
|
74
74
|
__name: "UiNavItem",
|
|
75
75
|
props: {
|
|
76
|
-
as: {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
density: {
|
|
85
|
-
type: null,
|
|
86
|
-
default: "comfortable"
|
|
87
|
-
},
|
|
88
|
-
href: {
|
|
89
|
-
type: null,
|
|
90
|
-
default: null
|
|
91
|
-
},
|
|
92
|
-
rel: {
|
|
93
|
-
type: null,
|
|
94
|
-
default: null
|
|
95
|
-
},
|
|
96
|
-
target: {
|
|
97
|
-
type: null,
|
|
98
|
-
default: null
|
|
99
|
-
},
|
|
100
|
-
variant: {
|
|
101
|
-
type: null,
|
|
102
|
-
default: "surface"
|
|
103
|
-
}
|
|
76
|
+
as: { type: null },
|
|
77
|
+
current: { type: null },
|
|
78
|
+
density: { type: null },
|
|
79
|
+
href: { type: null },
|
|
80
|
+
rel: { type: null },
|
|
81
|
+
target: { type: null },
|
|
82
|
+
variant: { type: null },
|
|
83
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
104
84
|
},
|
|
105
85
|
setup(__props) {
|
|
106
86
|
const propValidityContract = { props: {
|
|
@@ -183,7 +163,7 @@ var UiNavItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
183
163
|
}
|
|
184
164
|
} };
|
|
185
165
|
const props = __props;
|
|
186
|
-
const
|
|
166
|
+
const inputTracking = vuePropInputs({
|
|
187
167
|
as: "button",
|
|
188
168
|
current: "false",
|
|
189
169
|
density: "comfortable",
|
|
@@ -191,37 +171,59 @@ var UiNavItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
191
171
|
rel: null,
|
|
192
172
|
target: null,
|
|
193
173
|
variant: "surface"
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
174
|
+
}, {
|
|
175
|
+
as: "button",
|
|
176
|
+
current: "false",
|
|
177
|
+
density: "comfortable",
|
|
178
|
+
variant: "surface"
|
|
179
|
+
}, (name, value, source, values) => {
|
|
180
|
+
switch (name) {
|
|
181
|
+
case "as": return checkPropInput(value, {
|
|
182
|
+
kind: "terminal",
|
|
183
|
+
name: "keyword"
|
|
184
|
+
}, true, true);
|
|
185
|
+
case "current": return checkPropInput(value, {
|
|
186
|
+
kind: "terminal",
|
|
187
|
+
name: "keyword"
|
|
188
|
+
}, true, true);
|
|
189
|
+
case "density": return checkPropInput(value, {
|
|
190
|
+
kind: "terminal",
|
|
191
|
+
name: "keyword"
|
|
192
|
+
}, true, true);
|
|
193
|
+
case "href": return checkPropInput(value, {
|
|
194
|
+
kind: "terminal",
|
|
195
|
+
name: "string"
|
|
196
|
+
}, true, true);
|
|
197
|
+
case "rel": return checkPropInput(value, {
|
|
198
|
+
kind: "terminal",
|
|
199
|
+
name: "string"
|
|
200
|
+
}, true, true);
|
|
201
|
+
case "target": return checkPropInput(value, {
|
|
202
|
+
kind: "terminal",
|
|
203
|
+
name: "string"
|
|
204
|
+
}, true, true);
|
|
205
|
+
case "variant": return checkPropInput(value, {
|
|
206
|
+
kind: "terminal",
|
|
207
|
+
name: "keyword"
|
|
208
|
+
}, true, true);
|
|
209
|
+
default: return { ok: false };
|
|
210
|
+
}
|
|
211
|
+
}, () => {
|
|
212
|
+
checkedProps.value;
|
|
213
|
+
});
|
|
214
|
+
const propInputs = inputTracking.inputs;
|
|
215
|
+
const checkedProps = computed(() => {
|
|
216
|
+
inputTracking.version.value;
|
|
217
|
+
return {
|
|
218
|
+
as: propInputs.value("as", props["as"], props[BINDING_INPUTS_PROP]),
|
|
219
|
+
current: propInputs.value("current", props["current"], props[BINDING_INPUTS_PROP]),
|
|
220
|
+
density: propInputs.value("density", props["density"], props[BINDING_INPUTS_PROP]),
|
|
221
|
+
href: propInputs.value("href", props["href"], props[BINDING_INPUTS_PROP]),
|
|
222
|
+
rel: propInputs.value("rel", props["rel"], props[BINDING_INPUTS_PROP]),
|
|
223
|
+
target: propInputs.value("target", props["target"], props[BINDING_INPUTS_PROP]),
|
|
224
|
+
variant: propInputs.value("variant", props["variant"], props[BINDING_INPUTS_PROP])
|
|
225
|
+
};
|
|
226
|
+
});
|
|
225
227
|
checkedProps.value;
|
|
226
228
|
watchSyncEffect(() => {
|
|
227
229
|
checkedProps.value;
|
|
@@ -373,6 +375,6 @@ var UiNavItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
373
375
|
}]]);
|
|
374
376
|
};
|
|
375
377
|
}
|
|
376
|
-
}), [["__scopeId", "data-v-
|
|
378
|
+
}), [["__scopeId", "data-v-ed563698"]]);
|
|
377
379
|
//#endregion
|
|
378
380
|
export { UiNavItem_default as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as vPropValidity, i as checkPropInput, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiPageHeader.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = ["data-ui-page-header-prop-align", "data-ui-page-header-state"];
|
|
@@ -32,10 +32,10 @@ var _hoisted_7 = {
|
|
|
32
32
|
var UiPageHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
33
33
|
inheritAttrs: false,
|
|
34
34
|
__name: "UiPageHeader",
|
|
35
|
-
props: {
|
|
36
|
-
type: null,
|
|
37
|
-
|
|
38
|
-
}
|
|
35
|
+
props: {
|
|
36
|
+
align: { type: null },
|
|
37
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
38
|
+
},
|
|
39
39
|
setup(__props) {
|
|
40
40
|
const propValidityContract = { props: { align: {
|
|
41
41
|
type: {
|
|
@@ -49,11 +49,22 @@ var UiPageHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
49
49
|
default: "start"
|
|
50
50
|
} } };
|
|
51
51
|
const props = __props;
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
const inputTracking = vuePropInputs({ align: "start" }, { align: "start" }, (name, value, source, values) => {
|
|
53
|
+
switch (name) {
|
|
54
|
+
case "align": return checkPropInput(value, {
|
|
55
|
+
kind: "terminal",
|
|
56
|
+
name: "keyword"
|
|
57
|
+
}, true, true);
|
|
58
|
+
default: return { ok: false };
|
|
59
|
+
}
|
|
60
|
+
}, () => {
|
|
61
|
+
checkedProps.value;
|
|
62
|
+
});
|
|
63
|
+
const propInputs = inputTracking.inputs;
|
|
64
|
+
const checkedProps = computed(() => {
|
|
65
|
+
inputTracking.version.value;
|
|
66
|
+
return { align: propInputs.value("align", props["align"], props[BINDING_INPUTS_PROP]) };
|
|
67
|
+
});
|
|
57
68
|
checkedProps.value;
|
|
58
69
|
watchSyncEffect(() => {
|
|
59
70
|
checkedProps.value;
|
|
@@ -84,6 +95,6 @@ var UiPageHeader_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
84
95
|
}]]);
|
|
85
96
|
};
|
|
86
97
|
}
|
|
87
|
-
}), [["__scopeId", "data-v-
|
|
98
|
+
}), [["__scopeId", "data-v-0c0613a9"]]);
|
|
88
99
|
//#endregion
|
|
89
100
|
export { UiPageHeader_default as t };
|