@threadlabs/looma 0.30.2 → 0.30.3
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 +202 -147
- 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 +124 -119
- 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/UiMeter.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.63 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
|
@@ -15,7 +15,20 @@ import {
|
|
|
15
15
|
number,
|
|
16
16
|
useReflectedProp,
|
|
17
17
|
} from './host'
|
|
18
|
-
import {
|
|
18
|
+
import {
|
|
19
|
+
BINDING_INPUTS_PROP,
|
|
20
|
+
checkedProp,
|
|
21
|
+
checkPropInput,
|
|
22
|
+
type InputBindings,
|
|
23
|
+
inputComputed,
|
|
24
|
+
inputDefault,
|
|
25
|
+
inputRead,
|
|
26
|
+
READY_INPUT,
|
|
27
|
+
requireInputStatus,
|
|
28
|
+
UNRESOLVED_INPUT,
|
|
29
|
+
vPropValidity,
|
|
30
|
+
vuePropInputs,
|
|
31
|
+
} from './props'
|
|
19
32
|
|
|
20
33
|
defineOptions({ inheritAttrs: false })
|
|
21
34
|
|
|
@@ -110,28 +123,24 @@ const propValidityContract = {
|
|
|
110
123
|
},
|
|
111
124
|
} as const
|
|
112
125
|
const props = defineProps({
|
|
113
|
-
label: { type: null as unknown as PropType<string | null
|
|
114
|
-
max: { type: null as unknown as PropType<number | null
|
|
126
|
+
label: { type: null as unknown as PropType<string | null> },
|
|
127
|
+
max: { type: null as unknown as PropType<number | null> },
|
|
115
128
|
parts: {
|
|
116
129
|
type: null as unknown as PropType<
|
|
117
130
|
readonly ({ readonly value: number; readonly color: string })[] | null
|
|
118
131
|
>,
|
|
119
|
-
default: () => [],
|
|
120
132
|
},
|
|
121
|
-
segments: { type: null as unknown as PropType<number | null
|
|
122
|
-
size: { type: null as unknown as PropType<'sm' | 'md' | null
|
|
133
|
+
segments: { type: null as unknown as PropType<number | null> },
|
|
134
|
+
size: { type: null as unknown as PropType<'sm' | 'md' | null> },
|
|
123
135
|
tone: {
|
|
124
136
|
type: null as unknown as PropType<
|
|
125
137
|
'neutral' | 'accent' | 'info' | 'success' | 'warning' | 'danger' | null
|
|
126
138
|
>,
|
|
127
|
-
default: 'neutral',
|
|
128
|
-
},
|
|
129
|
-
value: { type: null as unknown as PropType<number | null>, default: 0 },
|
|
130
|
-
valueText: { type: null as unknown as PropType<string | null>, default: '' },
|
|
131
|
-
variant: {
|
|
132
|
-
type: null as unknown as PropType<'progress' | 'distribution' | null>,
|
|
133
|
-
default: 'progress',
|
|
134
139
|
},
|
|
140
|
+
value: { type: null as unknown as PropType<number | null> },
|
|
141
|
+
valueText: { type: null as unknown as PropType<string | null> },
|
|
142
|
+
variant: { type: null as unknown as PropType<'progress' | 'distribution' | null> },
|
|
143
|
+
[BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
|
|
135
144
|
})
|
|
136
145
|
const acceptedProps: Record<string, unknown> = {
|
|
137
146
|
label: '',
|
|
@@ -144,134 +153,180 @@ const acceptedProps: Record<string, unknown> = {
|
|
|
144
153
|
valueText: '',
|
|
145
154
|
variant: 'progress',
|
|
146
155
|
}
|
|
147
|
-
const
|
|
148
|
-
label:
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
'
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
'
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
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
|
-
|
|
156
|
+
const inputTracking = vuePropInputs(acceptedProps, {
|
|
157
|
+
label: '',
|
|
158
|
+
max: 1,
|
|
159
|
+
parts: () => [],
|
|
160
|
+
segments: 0,
|
|
161
|
+
size: 'md',
|
|
162
|
+
tone: 'neutral',
|
|
163
|
+
value: 0,
|
|
164
|
+
valueText: '',
|
|
165
|
+
variant: 'progress',
|
|
166
|
+
}, (name, value, source, values) => {
|
|
167
|
+
switch (name) {
|
|
168
|
+
case 'label':
|
|
169
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
170
|
+
case 'max':
|
|
171
|
+
return checkPropInput(value, { kind: 'terminal', name: 'number' }, true, true)
|
|
172
|
+
case 'parts':
|
|
173
|
+
return checkPropInput(
|
|
174
|
+
value,
|
|
175
|
+
{
|
|
176
|
+
kind: 'list',
|
|
177
|
+
item: {
|
|
178
|
+
kind: 'object',
|
|
179
|
+
fields: [
|
|
180
|
+
{ name: 'value', type: { kind: 'terminal', name: 'number' }, optional: false },
|
|
181
|
+
{ name: 'color', type: { kind: 'terminal', name: 'string' }, optional: false },
|
|
182
|
+
],
|
|
183
|
+
open: false,
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
true,
|
|
187
|
+
true,
|
|
188
|
+
)
|
|
189
|
+
case 'segments':
|
|
190
|
+
return checkPropInput(value, { kind: 'terminal', name: 'number' }, true, true)
|
|
191
|
+
case 'size':
|
|
192
|
+
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
193
|
+
case 'tone':
|
|
194
|
+
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
195
|
+
case 'value':
|
|
196
|
+
return checkPropInput(value, { kind: 'terminal', name: 'number' }, true, true)
|
|
197
|
+
case 'valueText':
|
|
198
|
+
return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
|
|
199
|
+
case 'variant':
|
|
200
|
+
return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
|
|
201
|
+
default:
|
|
202
|
+
return { ok: false }
|
|
203
|
+
}
|
|
204
|
+
}, () => {
|
|
205
|
+
void checkedProps.value
|
|
206
|
+
})
|
|
207
|
+
const propInputs = inputTracking.inputs
|
|
208
|
+
const checkedProps = computed(() => {
|
|
209
|
+
void inputTracking.version.value
|
|
210
|
+
return ({
|
|
211
|
+
label: propInputs.value<string | null>(
|
|
212
|
+
'label',
|
|
213
|
+
props['label'],
|
|
214
|
+
props[BINDING_INPUTS_PROP],
|
|
215
|
+
) as string,
|
|
216
|
+
max: propInputs.value<number | null>('max', props['max'], props[BINDING_INPUTS_PROP]) as number,
|
|
217
|
+
parts: propInputs.value<readonly ({ readonly value: number; readonly color: string })[] | null>(
|
|
218
|
+
'parts',
|
|
219
|
+
props['parts'],
|
|
220
|
+
props[BINDING_INPUTS_PROP],
|
|
221
|
+
) as readonly ({ readonly value: number; readonly color: string })[],
|
|
222
|
+
segments: propInputs.value<number | null>(
|
|
223
|
+
'segments',
|
|
224
|
+
props['segments'],
|
|
225
|
+
props[BINDING_INPUTS_PROP],
|
|
226
|
+
) as number,
|
|
227
|
+
size: propInputs.value<'sm' | 'md' | null>('size', props['size'], props[BINDING_INPUTS_PROP]) as
|
|
228
|
+
| 'sm'
|
|
229
|
+
| 'md',
|
|
230
|
+
tone: propInputs.value<'neutral' | 'accent' | 'info' | 'success' | 'warning' | 'danger' | null>(
|
|
231
|
+
'tone',
|
|
232
|
+
props['tone'],
|
|
233
|
+
props[BINDING_INPUTS_PROP],
|
|
234
|
+
) as 'neutral' | 'accent' | 'info' | 'success' | 'warning' | 'danger',
|
|
235
|
+
value: propInputs.value<number | null>(
|
|
236
|
+
'value',
|
|
237
|
+
props['value'],
|
|
238
|
+
props[BINDING_INPUTS_PROP],
|
|
239
|
+
) as number,
|
|
240
|
+
valueText: propInputs.value<string | null>(
|
|
241
|
+
'valueText',
|
|
242
|
+
props['valueText'],
|
|
243
|
+
props[BINDING_INPUTS_PROP],
|
|
244
|
+
) as string,
|
|
245
|
+
variant: propInputs.value<'progress' | 'distribution' | null>(
|
|
246
|
+
'variant',
|
|
247
|
+
props['variant'],
|
|
248
|
+
props[BINDING_INPUTS_PROP],
|
|
249
|
+
) as 'progress' | 'distribution',
|
|
250
|
+
})
|
|
251
|
+
})
|
|
252
|
+
const inputStatus = (name: string, handlesError: boolean) => {
|
|
253
|
+
void checkedProps.value
|
|
254
|
+
void inputTracking.version.value
|
|
255
|
+
return requireInputStatus(propInputs.status(name), handlesError)
|
|
256
|
+
}
|
|
223
257
|
void checkedProps.value
|
|
224
258
|
watchSyncEffect(() => {
|
|
225
259
|
void checkedProps.value
|
|
226
260
|
})
|
|
227
261
|
const reflectedProp = useReflectedProp()
|
|
228
262
|
|
|
229
|
-
let amountPrevious:
|
|
230
|
-
const amount =
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
263
|
+
let amountPrevious: number | null = null
|
|
264
|
+
const amount: ReturnType<typeof inputComputed<number | null>> = inputComputed<number | null>(
|
|
265
|
+
() => {
|
|
266
|
+
return (math('clamp', ['number', 'number', 'number'], [
|
|
267
|
+
0,
|
|
268
|
+
inputRead(checkedProps.value.value, propInputs.status('value')),
|
|
269
|
+
inputRead(checkedProps.value.max, propInputs.status('max')),
|
|
270
|
+
]) as number | symbol | undefined) as any
|
|
271
|
+
},
|
|
272
|
+
(read) => {
|
|
273
|
+
const value = cycleCheckedComputed(read)
|
|
274
|
+
return { get: () => value.value }
|
|
275
|
+
},
|
|
276
|
+
next =>
|
|
277
|
+
(next as unknown) === Symbol.for('html-next.invalid-result')
|
|
278
|
+
? amountPrevious
|
|
279
|
+
: (amountPrevious = next),
|
|
280
|
+
)
|
|
239
281
|
let percentPrevious: any = null
|
|
240
|
-
const percent =
|
|
241
|
-
|
|
242
|
-
objectValue
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
282
|
+
const percent: ReturnType<typeof inputComputed<any>> = inputComputed<any>(
|
|
283
|
+
() => {
|
|
284
|
+
return ((objectValue: any, indexValue: any) =>
|
|
285
|
+
objectValue === Symbol.for('html-next.invalid-result')
|
|
286
|
+
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
287
|
+
? Symbol.for('html-next.invalid-result')
|
|
288
|
+
: objectValue[indexValue])(
|
|
289
|
+
{
|
|
290
|
+
true:
|
|
291
|
+
number(
|
|
292
|
+
number(inputRead(amount.get(), amount.status())) === undefined
|
|
293
|
+
|| number(inputRead(checkedProps.value.max, propInputs.status('max')))
|
|
294
|
+
=== undefined
|
|
295
|
+
? undefined
|
|
296
|
+
: number(inputRead(amount.get(), amount.status()))!
|
|
297
|
+
/ number(inputRead(checkedProps.value.max, propInputs.status('max')))!,
|
|
298
|
+
) === undefined || number(100) === undefined
|
|
299
|
+
? undefined
|
|
300
|
+
: decimalMultiply(
|
|
301
|
+
number(
|
|
302
|
+
number(inputRead(amount.get(), amount.status())) === undefined
|
|
303
|
+
|| number(inputRead(checkedProps.value.max, propInputs.status('max')))
|
|
304
|
+
=== undefined
|
|
305
|
+
? undefined
|
|
306
|
+
: number(inputRead(amount.get(), amount.status()))!
|
|
307
|
+
/ number(inputRead(checkedProps.value.max, propInputs.status('max')))!,
|
|
308
|
+
)!,
|
|
309
|
+
number(100)!,
|
|
310
|
+
),
|
|
311
|
+
false: 0,
|
|
312
|
+
},
|
|
313
|
+
concat(
|
|
314
|
+
number(inputRead(checkedProps.value.max, propInputs.status('max'))) === undefined
|
|
315
|
+
|| number(0) === undefined
|
|
253
316
|
? undefined
|
|
254
|
-
:
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
: number(checkedProps.value.max)! > number(0)!,
|
|
268
|
-
),
|
|
269
|
-
)
|
|
270
|
-
if (next === Symbol.for('html-next.invalid-result')) {
|
|
271
|
-
return percentPrevious
|
|
272
|
-
}
|
|
273
|
-
return percentPrevious = next
|
|
274
|
-
})
|
|
317
|
+
: number(inputRead(checkedProps.value.max, propInputs.status('max')))! > number(0)!,
|
|
318
|
+
),
|
|
319
|
+
) as any
|
|
320
|
+
},
|
|
321
|
+
(read) => {
|
|
322
|
+
const value = cycleCheckedComputed(read)
|
|
323
|
+
return { get: () => value.value }
|
|
324
|
+
},
|
|
325
|
+
next =>
|
|
326
|
+
(next as unknown) === Symbol.for('html-next.invalid-result')
|
|
327
|
+
? percentPrevious
|
|
328
|
+
: (percentPrevious = next),
|
|
329
|
+
)
|
|
275
330
|
let guardedPrevious: any = null
|
|
276
331
|
const guarded = computed(() => {
|
|
277
332
|
const candidate: any = ((objectValue: any, indexValue: any) =>
|
|
@@ -377,7 +432,7 @@ const guardedBinding3 = computed(() => {
|
|
|
377
432
|
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
378
433
|
? Symbol.for('html-next.invalid-result')
|
|
379
434
|
: objectValue[indexValue])(
|
|
380
|
-
{ true: null, false: amount.
|
|
435
|
+
{ true: null, false: amount.get() },
|
|
381
436
|
concat(checkedProps.value.variant === 'distribution'),
|
|
382
437
|
)
|
|
383
438
|
if (candidate === Symbol.for('html-next.invalid-result')) {
|
|
@@ -388,7 +443,7 @@ const guardedBinding3 = computed(() => {
|
|
|
388
443
|
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
389
444
|
? Symbol.for('html-next.invalid-result')
|
|
390
445
|
: objectValue[indexValue])(
|
|
391
|
-
{ true: null, false: amount.
|
|
446
|
+
{ true: null, false: amount.get() },
|
|
392
447
|
concat(checkedProps.value.variant === 'distribution'),
|
|
393
448
|
)) === 'boolean'
|
|
394
449
|
? String(((objectValue: any, indexValue: any) =>
|
|
@@ -396,7 +451,7 @@ const guardedBinding3 = computed(() => {
|
|
|
396
451
|
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
397
452
|
? Symbol.for('html-next.invalid-result')
|
|
398
453
|
: objectValue[indexValue])(
|
|
399
|
-
{ true: null, false: amount.
|
|
454
|
+
{ true: null, false: amount.get() },
|
|
400
455
|
concat(checkedProps.value.variant === 'distribution'),
|
|
401
456
|
))
|
|
402
457
|
: attribute(((objectValue: any, indexValue: any) =>
|
|
@@ -404,7 +459,7 @@ const guardedBinding3 = computed(() => {
|
|
|
404
459
|
|| indexValue === Symbol.for('html-next.invalid-result')
|
|
405
460
|
? Symbol.for('html-next.invalid-result')
|
|
406
461
|
: objectValue[indexValue])(
|
|
407
|
-
{ true: null, false: amount.
|
|
462
|
+
{ true: null, false: amount.get() },
|
|
408
463
|
concat(checkedProps.value.variant === 'distribution'),
|
|
409
464
|
))
|
|
410
465
|
})
|
|
@@ -427,9 +482,9 @@ const guardedBinding4 = computed(() => {
|
|
|
427
482
|
const value = {
|
|
428
483
|
true: checkedProps.value.valueText,
|
|
429
484
|
false: formatValue(
|
|
430
|
-
number(percent.
|
|
485
|
+
number(percent.get()) === undefined || number(100) === undefined
|
|
431
486
|
? undefined
|
|
432
|
-
: number(percent.
|
|
487
|
+
: number(percent.get())! / number(100)!,
|
|
433
488
|
'number',
|
|
434
489
|
'format',
|
|
435
490
|
'percent',
|
|
@@ -473,9 +528,9 @@ const guardedBinding4 = computed(() => {
|
|
|
473
528
|
const value = {
|
|
474
529
|
true: checkedProps.value.valueText,
|
|
475
530
|
false: formatValue(
|
|
476
|
-
number(percent.
|
|
531
|
+
number(percent.get()) === undefined || number(100) === undefined
|
|
477
532
|
? undefined
|
|
478
|
-
: number(percent.
|
|
533
|
+
: number(percent.get())! / number(100)!,
|
|
479
534
|
'number',
|
|
480
535
|
'format',
|
|
481
536
|
'percent',
|
|
@@ -516,9 +571,9 @@ const guardedBinding4 = computed(() => {
|
|
|
516
571
|
const value = {
|
|
517
572
|
true: checkedProps.value.valueText,
|
|
518
573
|
false: formatValue(
|
|
519
|
-
number(percent.
|
|
574
|
+
number(percent.get()) === undefined || number(100) === undefined
|
|
520
575
|
? undefined
|
|
521
|
-
: number(percent.
|
|
576
|
+
: number(percent.get())! / number(100)!,
|
|
522
577
|
'number',
|
|
523
578
|
'format',
|
|
524
579
|
'percent',
|
|
@@ -559,9 +614,9 @@ const guardedBinding4 = computed(() => {
|
|
|
559
614
|
const value = {
|
|
560
615
|
true: checkedProps.value.valueText,
|
|
561
616
|
false: formatValue(
|
|
562
|
-
number(percent.
|
|
617
|
+
number(percent.get()) === undefined || number(100) === undefined
|
|
563
618
|
? undefined
|
|
564
|
-
: number(percent.
|
|
619
|
+
: number(percent.get())! / number(100)!,
|
|
565
620
|
'number',
|
|
566
621
|
'format',
|
|
567
622
|
'percent',
|
|
@@ -778,7 +833,7 @@ const guardedBinding6 = computed(() => {
|
|
|
778
833
|
})
|
|
779
834
|
let guardedBinding7Previous: any = null
|
|
780
835
|
const guardedBinding7 = computed(() => {
|
|
781
|
-
const candidate: any = concat(percent.
|
|
836
|
+
const candidate: any = concat(percent.get(), '%')
|
|
782
837
|
if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding7Previous
|
|
783
838
|
return guardedBinding7Previous = candidate
|
|
784
839
|
})
|
package/vue/UiNavItem.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
+
import { type InputBindings } from './props.js';
|
|
2
3
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
|
|
3
4
|
type __VLS_Slots = {} & {
|
|
4
5
|
leading?: (props: typeof __VLS_1) => any;
|
|
@@ -20,70 +21,54 @@ type __VLS_Slots = {} & {
|
|
|
20
21
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
21
22
|
as: {
|
|
22
23
|
type: PropType<"button" | "a" | null>;
|
|
23
|
-
default: string;
|
|
24
24
|
};
|
|
25
25
|
current: {
|
|
26
26
|
type: PropType<"true" | "false" | "page" | "step" | "location" | null>;
|
|
27
|
-
default: string;
|
|
28
27
|
};
|
|
29
28
|
density: {
|
|
30
29
|
type: PropType<"comfortable" | "compact" | null>;
|
|
31
|
-
default: string;
|
|
32
30
|
};
|
|
33
31
|
href: {
|
|
34
32
|
type: PropType<string | null>;
|
|
35
|
-
default: null;
|
|
36
33
|
};
|
|
37
34
|
rel: {
|
|
38
35
|
type: PropType<string | null>;
|
|
39
|
-
default: null;
|
|
40
36
|
};
|
|
41
37
|
target: {
|
|
42
38
|
type: PropType<string | null>;
|
|
43
|
-
default: null;
|
|
44
39
|
};
|
|
45
40
|
variant: {
|
|
46
41
|
type: PropType<"surface" | "line" | null>;
|
|
47
|
-
|
|
42
|
+
};
|
|
43
|
+
"\0htmlNextInputStatus": {
|
|
44
|
+
type: PropType<InputBindings>;
|
|
48
45
|
};
|
|
49
46
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
47
|
as: {
|
|
51
48
|
type: PropType<"button" | "a" | null>;
|
|
52
|
-
default: string;
|
|
53
49
|
};
|
|
54
50
|
current: {
|
|
55
51
|
type: PropType<"true" | "false" | "page" | "step" | "location" | null>;
|
|
56
|
-
default: string;
|
|
57
52
|
};
|
|
58
53
|
density: {
|
|
59
54
|
type: PropType<"comfortable" | "compact" | null>;
|
|
60
|
-
default: string;
|
|
61
55
|
};
|
|
62
56
|
href: {
|
|
63
57
|
type: PropType<string | null>;
|
|
64
|
-
default: null;
|
|
65
58
|
};
|
|
66
59
|
rel: {
|
|
67
60
|
type: PropType<string | null>;
|
|
68
|
-
default: null;
|
|
69
61
|
};
|
|
70
62
|
target: {
|
|
71
63
|
type: PropType<string | null>;
|
|
72
|
-
default: null;
|
|
73
64
|
};
|
|
74
65
|
variant: {
|
|
75
66
|
type: PropType<"surface" | "line" | null>;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
as: "a" | "button" | null;
|
|
82
|
-
href: string | null;
|
|
83
|
-
rel: string | null;
|
|
84
|
-
target: string | null;
|
|
85
|
-
density: "comfortable" | "compact" | null;
|
|
86
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
};
|
|
68
|
+
"\0htmlNextInputStatus": {
|
|
69
|
+
type: PropType<InputBindings>;
|
|
70
|
+
};
|
|
71
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
87
72
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
88
73
|
declare const _default: typeof __VLS_export;
|
|
89
74
|
export default _default;
|