@threadlabs/looma 0.25.7 → 0.26.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-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar-group/ui-avatar-group.html +2 -2
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
- package/components/ui-breadcrumbs/ui-breadcrumbs.html +1 -1
- package/components/ui-button/ui-button.html +27 -27
- package/components/ui-callout/ui-callout.html +5 -5
- package/components/ui-card/ui-card.html +3 -3
- package/components/ui-checkbox/ui-checkbox.html +8 -8
- package/components/ui-combobox/ui-combobox.html +59 -59
- package/components/ui-dialog/ui-dialog.html +8 -6
- package/components/ui-disclosure/ui-disclosure.html +3 -3
- package/components/ui-editable/ui-editable.html +8 -8
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +11 -11
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +10 -10
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +7 -7
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +3 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +16 -16
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +31 -31
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +33 -33
- package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
- package/components/ui-grid/ui-grid.html +1 -1
- package/components/ui-icon/ui-icon.html +12 -12
- package/components/ui-icon-button/ui-icon-button.html +6 -6
- package/components/ui-image/ui-image.html +2 -2
- package/components/ui-input/ui-input.html +1 -1
- package/components/ui-list/ui-list.html +1 -1
- package/components/ui-list-item/ui-list-item.html +1 -1
- package/components/ui-listbox/ui-listbox.html +24 -24
- package/components/ui-menu-group/ui-menu-group.html +2 -2
- package/components/ui-menu-item/ui-menu-item.html +9 -9
- package/components/ui-meter/ui-meter.html +8 -8
- package/components/ui-nav-item/ui-nav-item.html +6 -6
- package/components/ui-radio/ui-radio.html +1 -1
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-scroll-area/ui-scroll-area.html +12 -0
- package/components/ui-search-result-row/ui-search-result-row.html +1 -1
- package/components/ui-search-shell/ui-search-shell.html +1 -1
- package/components/ui-section/ui-section.html +1 -1
- package/components/ui-select/ui-select.html +1 -1
- package/components/ui-separator/ui-separator.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +2 -2
- package/components/ui-spinner/ui-spinner.html +4 -4
- package/components/ui-stack/ui-stack.html +1 -1
- package/components/ui-status-message/ui-status-message.html +3 -3
- package/components/ui-switch/ui-switch.html +5 -5
- package/components/ui-tabs/ui-tabs.html +8 -8
- package/components/ui-text/ui-text.html +10 -10
- package/components/ui-textarea/ui-textarea.html +8 -8
- package/components/ui-toast/ui-toast.html +1 -1
- package/components/ui-toast-region/ui-toast-region.html +8 -8
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +18 -18
- package/dist/index.js +1 -1
- 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 +7 -5
- 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-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 +12 -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 +70 -52
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +36 -17
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +72 -37
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +57 -26
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +49 -39
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +41 -26
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +35 -24
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +444 -156
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +135 -111
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +147 -47
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +100 -58
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +35 -29
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +879 -283
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +35 -19
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +34 -23
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +35 -15
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +37 -24
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +35 -21
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +89 -42
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +113 -72
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +125 -58
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +85 -30
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +193 -75
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +81 -44
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +123 -78
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +40 -34
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +98 -45
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +35 -15
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +143 -60
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +212 -109
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +330 -113
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +37 -20
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +44 -22
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +89 -65
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +39 -19
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +186 -27
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +82 -32
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +76 -69
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +51 -27
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +77 -56
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +91 -27
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +81 -74
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +204 -81
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +36 -20
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +60 -24
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +177 -77
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +77 -14
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +199 -123
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +91 -69
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +36 -20
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +82 -50
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +58 -30
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +35 -21
- package/vanilla/UiScrollArea.d.ts +2 -1
- package/vanilla/UiScrollArea.js +37 -20
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +98 -74
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +81 -64
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +71 -53
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +50 -26
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +23 -22
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +49 -37
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +43 -26
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +39 -19
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +70 -41
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +82 -51
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +36 -17
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +35 -17
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +97 -42
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +343 -117
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +56 -33
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +61 -40
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +85 -35
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +54 -31
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +70 -52
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +35 -17
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +219 -181
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +7 -7
- package/vue/UiAvatarGroup.vue +3 -3
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +1 -1
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +1 -1
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +2 -2
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +25 -25
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +8 -6
- package/vue/UiDisclosure.vue +6 -6
- package/vue/UiEditable.vue +3 -3
- package/vue/UiEditorInsertTableGrid.vue +4 -4
- package/vue/UiEditorMentionMenu.vue +2 -2
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +2 -2
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorSurface.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +11 -11
- package/vue/UiEditorTableToolbar.vue +2 -2
- package/vue/UiEditorToolbar.vue +1 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +1 -1
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiImage.vue +1 -1
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.vue +4 -4
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +2 -2
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.vue +1 -1
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +2 -2
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.d.ts +9 -0
- package/vue/UiScrollArea.vue +34 -2
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +3 -3
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +2 -2
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +1 -1
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +1 -1
- package/vue/UiTooltip.vue +2 -2
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.vue +6 -6
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +6 -6
- package/vue/chunks/UiAvatarGroup.js +3 -3
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +2 -2
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +22 -22
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +5 -4
- package/vue/chunks/UiDisclosure.js +6 -6
- package/vue/chunks/UiEditable.js +3 -3
- package/vue/chunks/UiEditorInsertTableGrid.js +4 -4
- package/vue/chunks/UiEditorMentionMenu.js +2 -2
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +2 -2
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +11 -11
- package/vue/chunks/UiEditorTableToolbar.js +2 -2
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +4 -4
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +2 -2
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +2 -2
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +28 -5
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +2 -2
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwitch.js +2 -2
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +2 -2
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +5 -5
- package/vue/chunks/control.js +41 -13
- package/vue/chunks/host.js +19 -18
- package/vue/components.css +1405 -1391
- package/vue/host.ts +22 -20
package/vanilla/UiTreeItem.js
CHANGED
|
@@ -1,195 +1,233 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import {
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.35 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, recordValue, textCall, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-tree-item/ui-tree-item.js";
|
|
4
4
|
import "../styles/ui-tree-item.css";
|
|
5
5
|
|
|
6
|
-
const definition = {...{"contract":{"tag":"ui-tree-item","props":{"accepts":{"type":"string","required":false,"target":{"attribute":"data-accepts"},"default":""},"actionsVisible":{"type":"boolean","required":false,"target":{"attribute":"actionsvisible"},"default":false},"container":{"type":"boolean","required":false,"target":{"attribute":"container"},"default":false},"disabled":{"type":"boolean","required":false,"target":{"attribute":"aria-disabled"},"default":false},"dragType":{"type":"string","required":false,"target":{"attribute":"data-drag-type"},"default":"item"},"dropDepth":{"type":"number","required":false,"target":{"attribute":"data-drop-depth"}},"dropScope":{"type":"string","required":false,"target":{"attribute":"data-drop-scope"},"default":""},"expanded":{"type":"boolean","required":false,"target":{"attribute":"expanded"},"default":false},"itemId":{"type":"string","required":false,"target":{"attribute":"data-item-id"},"default":""},"label":{"type":"string","required":false,"target":{"attribute":"aria-label"},"default":""},"lazy":{"type":"boolean","required":false,"target":{"attribute":"lazy"},"default":false},"marquee":{"type":"boolean","required":false,"target":{"attribute":"marquee"},"default":false},"selected":{"type":"boolean","required":false,"target":{"attribute":"aria-selected"},"default":false},"sortable":{"type":"boolean","required":false,"target":{"attribute":"sortable"},"default":false},"subtreeDepth":{"type":"number","required":false,"target":{"attribute":"data-subtree-depth"}}}},"template":{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"role","value":"treeitem"},{"kind":"attribute","name":"aria-label","expression":"label","expressionPlan":{"source":"label","ast":{"kind":"id","name":"label"},"dependencies":["label"]}},{"kind":"attribute","name":"aria-level","expression":"structuralLevel","expressionPlan":{"source":"structuralLevel","ast":{"kind":"id","name":"structuralLevel"},"dependencies":["structuralLevel"]}},{"kind":"attribute","name":"aria-selected","expression":"selected","expressionPlan":{"source":"selected","ast":{"kind":"id","name":"selected"},"dependencies":["selected"]}},{"kind":"attribute","name":"aria-disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}},{"kind":"attribute","name":"data-item-id","expression":"itemId","expressionPlan":{"source":"itemId","ast":{"kind":"id","name":"itemId"},"dependencies":["itemId"]}},{"kind":"attribute","name":"data-drag-type","expression":"dragType","expressionPlan":{"source":"dragType","ast":{"kind":"id","name":"dragType"},"dependencies":["dragType"]}},{"kind":"attribute","name":"data-drop-scope","expression":"dropScope","expressionPlan":{"source":"dropScope","ast":{"kind":"id","name":"dropScope"},"dependencies":["dropScope"]}},{"kind":"attribute","name":"data-accepts","expression":"accepts","expressionPlan":{"source":"accepts","ast":{"kind":"id","name":"accepts"},"dependencies":["accepts"]}},{"kind":"attribute","name":"data-drop-depth","expression":"dropDepth","expressionPlan":{"source":"dropDepth","ast":{"kind":"id","name":"dropDepth"},"dependencies":["dropDepth"]}},{"kind":"attribute","name":"data-subtree-depth","expression":"subtreeDepth","expressionPlan":{"source":"subtreeDepth","ast":{"kind":"id","name":"subtreeDepth"},"dependencies":["subtreeDepth"]}}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"row"}],"children":[{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"class","value":"drag-handle"},{"kind":"literal","name":"type","value":"button"},{"kind":"literal","name":"draggable","value":"true"},{"kind":"attribute","name":"aria-label","expression":"{ true: concat('Cancel moving ', label), false: concat('Drag ', label, ' to reorder') }[concat(moving)]","expressionPlan":{"source":"{ true: concat('Cancel moving ', label), false: concat('Drag ', label, ' to reorder') }[concat(moving)]","ast":{"kind":"index","object":{"kind":"object","pairs":[{"key":"true","value":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"Cancel moving "},{"kind":"id","name":"label"}]}},{"key":"false","value":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"Drag "},{"kind":"id","name":"label"},{"kind":"literal","value":" to reorder"}]}}]},"index":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"moving"}]}},"dependencies":["label","moving"]}}],"children":[{"kind":"element","name":"svg","attributes":[{"kind":"literal","name":"aria-hidden","value":"true"},{"kind":"literal","name":"focusable","value":"false"},{"kind":"literal","name":"viewBox","value":"0 0 24 24"},{"kind":"literal","name":"fill","value":"none"},{"kind":"literal","name":"stroke","value":"currentColor"},{"kind":"literal","name":"stroke-width","value":"2"},{"kind":"literal","name":"stroke-linecap","value":"round"},{"kind":"literal","name":"stroke-linejoin","value":"round"}],"children":[{"kind":"element","name":"circle","attributes":[{"kind":"literal","name":"cx","value":"9"},{"kind":"literal","name":"cy","value":"12"},{"kind":"literal","name":"r","value":"1"}],"children":[]},{"kind":"element","name":"circle","attributes":[{"kind":"literal","name":"cx","value":"9"},{"kind":"literal","name":"cy","value":"5"},{"kind":"literal","name":"r","value":"1"}],"children":[]},{"kind":"element","name":"circle","attributes":[{"kind":"literal","name":"cx","value":"9"},{"kind":"literal","name":"cy","value":"19"},{"kind":"literal","name":"r","value":"1"}],"children":[]},{"kind":"element","name":"circle","attributes":[{"kind":"literal","name":"cx","value":"15"},{"kind":"literal","name":"cy","value":"12"},{"kind":"literal","name":"r","value":"1"}],"children":[]},{"kind":"element","name":"circle","attributes":[{"kind":"literal","name":"cx","value":"15"},{"kind":"literal","name":"cy","value":"5"},{"kind":"literal","name":"r","value":"1"}],"children":[]},{"kind":"element","name":"circle","attributes":[{"kind":"literal","name":"cx","value":"15"},{"kind":"literal","name":"cy","value":"19"},{"kind":"literal","name":"r","value":"1"}],"children":[]}]}],"flow":{"kind":"if","test":"sortable and not disabled","testPlan":{"source":"sortable and not disabled","ast":{"kind":"binary","op":"and","left":{"kind":"id","name":"sortable"},"right":{"kind":"unary","op":"not","operand":{"kind":"id","name":"disabled"}}},"dependencies":["disabled","sortable"]}},"ref":"dragHandle"},{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"class","value":"disclosure"},{"kind":"literal","name":"type","value":"button"},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}},{"kind":"attribute","name":"hidden","expression":"not isContainer","expressionPlan":{"source":"not isContainer","ast":{"kind":"unary","op":"not","operand":{"kind":"id","name":"isContainer"}},"dependencies":["isContainer"]}}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"disclosure-icon"},{"kind":"literal","name":"aria-hidden","value":"true"}],"children":[]}],"ref":"disclosure"},{"kind":"element","name":"label","attributes":[{"kind":"literal","name":"class","value":"selection-hit"}],"children":[{"kind":"element","name":"input","attributes":[{"kind":"literal","name":"class","value":"selection-checkbox"},{"kind":"literal","name":"type","value":"checkbox"},{"kind":"literal","name":"tabindex","value":"-1"},{"kind":"attribute","name":"checked","expression":"selected","expressionPlan":{"source":"selected","ast":{"kind":"id","name":"selected"},"dependencies":["selected"]}},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}},{"kind":"attribute","name":"aria-label","expression":"concat('Select ', label)","expressionPlan":{"source":"concat('Select ', label)","ast":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"Select "},{"kind":"id","name":"label"}]},"dependencies":["label"]}}],"children":[]}]},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"leading"}],"children":[{"kind":"slot","fallback":[],"name":"leading"}],"ref":"leading"},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"label"}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"label-text"}],"children":[{"kind":"slot","fallback":[{"kind":"text","value":"$label","expressionPlan":{"source":"$label","ast":{"kind":"id","name":"label"},"dependencies":["label"]}}],"name":"label"}],"ref":"labelText"}],"ref":"label"},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"actions"}],"children":[{"kind":"element","name":"ui-button","attributes":[{"kind":"literal","name":"data-tree-cancel-move","value":""},{"kind":"literal","name":"variant","value":"ghost"},{"kind":"literal","name":"tone","value":"neutral"},{"kind":"literal","name":"size","value":"sm"},{"kind":"literal","name":"aria-label","value":"Cancel move"}],"children":[{"kind":"text","value":"Cancel"}],"flow":{"kind":"if","test":"moving","testPlan":{"source":"moving","ast":{"kind":"id","name":"moving"},"dependencies":["moving"]}}},{"kind":"element","name":"span","attributes":[],"children":[{"kind":"slot","fallback":[],"name":"actions"}],"flow":{"kind":"else"}}],"ref":"actions"},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"drop-indicator row-drop-indicator"},{"kind":"literal","name":"aria-hidden","value":"true"}],"children":[]}],"ref":"row"},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"children"},{"kind":"literal","name":"role","value":"group"},{"kind":"attribute","name":"hidden","expression":"not (isContainer and internalExpanded)","expressionPlan":{"source":"not (isContainer and internalExpanded)","ast":{"kind":"unary","op":"not","operand":{"kind":"binary","op":"and","left":{"kind":"id","name":"isContainer"},"right":{"kind":"id","name":"internalExpanded"}}},"dependencies":["internalExpanded","isContainer"]}}],"children":[{"kind":"slot"}],"ref":"children"},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"drop-indicator subtree-drop-indicator"},{"kind":"literal","name":"aria-hidden","value":"true"}],"children":[]}]},"declarations":[{"kind":"state","name":"internalExpanded","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"state","name":"structuralLevel","type":"integer","value":"1","expression":{"source":"1","ast":{"kind":"literal","value":1},"dependencies":[]}},{"kind":"state","name":"tabStop","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"state","name":"isContainer","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"state","name":"moving","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"event","name":"expand","type":"object","shape":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"expanded","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":false,"composed":true,"cancelable":false}],"root":{"kind":"native","element":"div","choices":["div"]}},source:{file:import.meta.url},css:""};
|
|
6
|
+
const T0 = ["",[],["div",["class","row"],1,["button",["class","disclosure","type","button"],["span",["class","disclosure-icon","aria-hidden","true"]]],["label",["class","selection-hit"],["input",["class","selection-checkbox","type","checkbox","tabindex","-1"]]],["span",["class","leading"],4],["span",["class","label"],["span",["class","label-text"],4]],["span",["class","actions"],1,["span",[],4]],["span",["class","drop-indicator row-drop-indicator","aria-hidden","true"]]],["div",["class","children","role","group"],4],["span",["class","drop-indicator subtree-drop-indicator","aria-hidden","true"]]];
|
|
7
|
+
const T1 = ["button",["class","drag-handle","type","button","draggable","true"],["svg",["aria-hidden","true","focusable","false","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["circle",["cx","9","cy","12","r","1"]],["circle",["cx","9","cy","5","r","1"]],["circle",["cx","9","cy","19","r","1"]],["circle",["cx","15","cy","12","r","1"]],["circle",["cx","15","cy","5","r","1"]],["circle",["cx","15","cy","19","r","1"]]]];
|
|
8
|
+
const T2 = ["",[]];
|
|
9
|
+
const T3 = ["",[],0];
|
|
10
|
+
const T4 = ["ui-button",["data-tree-cancel-move","","variant","ghost","tone","neutral","size","sm","aria-label","Cancel move"],"Cancel"];
|
|
11
|
+
const T5 = ["",[]];
|
|
12
|
+
const T6 = ["",[]];
|
|
13
|
+
let P0, P1, P2, P3, P4, P5, P6;
|
|
14
|
+
const S = { n: ["internalExpanded","structuralLevel","tabStop","isContainer","moving"], t: ["b","i","b","b","b"], f: import.meta.url, g: "ui-tree-item", d: { "expand": [detailCheck(checkObject([["id", checkString, false], ["expanded", checkBoolean, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), false, true, false] }, x: dispatchDeclared };
|
|
15
|
+
const D = { props: { "accepts": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "actionsVisible": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "container": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "dragType": { "required":false,"default":"item", c: checkString, t: "string", j: 0, m: "s" }, "dropDepth": { "required":false, c: checkNumber, t: "number", j: 0, m: "n" }, "dropScope": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "expanded": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "itemId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "lazy": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "marquee": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selected": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "sortable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "subtreeDepth": { "required":false, c: checkNumber, t: "number", j: 0, m: "n" } } };
|
|
16
|
+
const C = (host) => controller.default(host);
|
|
7
17
|
|
|
8
|
-
export function createUiTreeItem(options = {}) {
|
|
18
|
+
export function createUiTreeItem(options = {}, html) {
|
|
9
19
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
10
|
-
const projected = [];
|
|
11
20
|
const element = document.createElement("div");
|
|
12
21
|
for (const [name, value] of Object.entries(attributes)) {
|
|
13
22
|
if (value === null || value === undefined || value === false) continue;
|
|
14
23
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
15
24
|
}
|
|
16
25
|
if (!element.hasAttribute("role")) element.setAttribute("role", "treeitem");
|
|
17
|
-
const value0 = componentProps["label"] === undefined ? "" : componentProps["label"];
|
|
18
|
-
if (value0 === null || value0 === undefined) element.removeAttribute("aria-label");
|
|
19
|
-
else element.setAttribute("aria-label", String(value0));
|
|
20
|
-
const value1 = componentProps["selected"] === undefined ? false : componentProps["selected"];
|
|
21
|
-
if (typeof value1 === "boolean") element.setAttribute("aria-selected", String(value1));
|
|
22
|
-
else element.removeAttribute("aria-selected");
|
|
23
|
-
const value2 = componentProps["disabled"] === undefined ? false : componentProps["disabled"];
|
|
24
|
-
if (typeof value2 === "boolean") element.setAttribute("aria-disabled", String(value2));
|
|
25
|
-
else element.removeAttribute("aria-disabled");
|
|
26
|
-
const value3 = componentProps["itemId"] === undefined ? "" : componentProps["itemId"];
|
|
27
|
-
if (value3 === null || value3 === undefined) element.removeAttribute("data-item-id");
|
|
28
|
-
else element.setAttribute("data-item-id", String(value3));
|
|
29
|
-
const value4 = componentProps["dragType"] === undefined ? "item" : componentProps["dragType"];
|
|
30
|
-
if (value4 === null || value4 === undefined) element.removeAttribute("data-drag-type");
|
|
31
|
-
else element.setAttribute("data-drag-type", String(value4));
|
|
32
|
-
const value5 = componentProps["dropScope"] === undefined ? "" : componentProps["dropScope"];
|
|
33
|
-
if (value5 === null || value5 === undefined) element.removeAttribute("data-drop-scope");
|
|
34
|
-
else element.setAttribute("data-drop-scope", String(value5));
|
|
35
|
-
const value6 = componentProps["accepts"] === undefined ? "" : componentProps["accepts"];
|
|
36
|
-
if (value6 === null || value6 === undefined) element.removeAttribute("data-accepts");
|
|
37
|
-
else element.setAttribute("data-accepts", String(value6));
|
|
38
|
-
const value7 = componentProps["dropDepth"] === undefined ? null : componentProps["dropDepth"];
|
|
39
|
-
if (value7 === null || value7 === undefined) element.removeAttribute("data-drop-depth");
|
|
40
|
-
else element.setAttribute("data-drop-depth", String(value7));
|
|
41
|
-
const value8 = componentProps["subtreeDepth"] === undefined ? null : componentProps["subtreeDepth"];
|
|
42
|
-
if (value8 === null || value8 === undefined) element.removeAttribute("data-subtree-depth");
|
|
43
|
-
else element.setAttribute("data-subtree-depth", String(value8));
|
|
44
26
|
element.setAttribute("data-component", "ui-tree-item");
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
const
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
const
|
|
160
|
-
if (
|
|
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
|
-
|
|
27
|
+
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
28
|
+
const v = [false, 1, false, false, false, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
29
|
+
const B = acceptProps(element, D, S.n, v, componentProps, ["accepts","dragType","dropDepth","dropScope","itemId","subtreeDepth"], html);
|
|
30
|
+
const m1 = (d) => {
|
|
31
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
32
|
+
const r = { n, v0: null };
|
|
33
|
+
I.r["dragHandle"] = n;
|
|
34
|
+
p1(r, -1, d);
|
|
35
|
+
return r;
|
|
36
|
+
};
|
|
37
|
+
const p1 = (r, c, d) => {
|
|
38
|
+
if (c & 1073758224) {
|
|
39
|
+
const x0 = readIndex(recordValue(["true","false"], [textCall("concat", ["Cancel moving ", v[14]]), textCall("concat", ["Drag ", v[14], " to reorder"])]), textCall("concat", [v[4]]));
|
|
40
|
+
if (x0 !== NONCONFORMING) {
|
|
41
|
+
const s0 = toAttribute(x0, "aria-label");
|
|
42
|
+
if (s0 !== r.v0) writeAttribute(r.n, "aria-label", r.v0 = s0);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const m2 = (d) => {
|
|
47
|
+
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
48
|
+
const r = { n };
|
|
49
|
+
p2(r, -1, d);
|
|
50
|
+
return r;
|
|
51
|
+
};
|
|
52
|
+
const p2 = (r, c, d) => {
|
|
53
|
+
};
|
|
54
|
+
const m3 = (d) => {
|
|
55
|
+
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
56
|
+
const t0 = n.firstChild;
|
|
57
|
+
const r = { n, a0: t0, v0: "" };
|
|
58
|
+
p3(r, -1, d);
|
|
59
|
+
return r;
|
|
60
|
+
};
|
|
61
|
+
const p3 = (r, c, d) => {
|
|
62
|
+
if (c & 16384) {
|
|
63
|
+
const x0 = v[14];
|
|
64
|
+
const s0 = toText(x0);
|
|
65
|
+
if (s0 !== r.v0) r.a0.data = r.v0 = s0;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
const m4 = (d) => {
|
|
69
|
+
const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
|
|
70
|
+
const r = { n };
|
|
71
|
+
p4(r, -1, d);
|
|
72
|
+
return r;
|
|
73
|
+
};
|
|
74
|
+
const p4 = (r, c, d) => {
|
|
75
|
+
};
|
|
76
|
+
const m5 = (d) => {
|
|
77
|
+
const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
|
|
78
|
+
const r = { n };
|
|
79
|
+
p5(r, -1, d);
|
|
80
|
+
return r;
|
|
81
|
+
};
|
|
82
|
+
const p5 = (r, c, d) => {
|
|
83
|
+
};
|
|
84
|
+
const m6 = (d) => {
|
|
85
|
+
const n = (P6 ??= buildTemplate(T6)).cloneNode(true);
|
|
86
|
+
const r = { n };
|
|
87
|
+
p6(r, -1, d);
|
|
88
|
+
return r;
|
|
89
|
+
};
|
|
90
|
+
const p6 = (r, c, d) => {
|
|
91
|
+
};
|
|
92
|
+
const p0 = (r, c, d) => {
|
|
93
|
+
if (c & 16384) {
|
|
94
|
+
const x0 = v[14];
|
|
95
|
+
const s0 = toAttribute(x0, "aria-label");
|
|
96
|
+
if (s0 !== r.v0) writeAttribute(r.n, "aria-label", r.v0 = s0);
|
|
97
|
+
}
|
|
98
|
+
if (c & 2) {
|
|
99
|
+
const x1 = v[1];
|
|
100
|
+
const s1 = toAttribute(x1, "aria-level");
|
|
101
|
+
if (s1 !== r.v1) writeAttribute(r.n, "aria-level", r.v1 = s1);
|
|
102
|
+
}
|
|
103
|
+
if (c & 131072) {
|
|
104
|
+
const x2 = v[17];
|
|
105
|
+
const s2 = toAttribute(x2, "aria-selected");
|
|
106
|
+
if (s2 !== r.v2) writeAttribute(r.n, "aria-selected", r.v2 = s2);
|
|
107
|
+
const s12 = toAttribute(x2, "checked");
|
|
108
|
+
if (s12 !== r.v12) writeAttribute(r.a4, "checked", r.v12 = s12);
|
|
109
|
+
}
|
|
110
|
+
if (c & 256) {
|
|
111
|
+
const x3 = v[8];
|
|
112
|
+
const s3 = toAttribute(x3, "aria-disabled");
|
|
113
|
+
if (s3 !== r.v3) writeAttribute(r.n, "aria-disabled", r.v3 = s3);
|
|
114
|
+
const s10 = toAttribute(x3, "disabled");
|
|
115
|
+
if (s10 !== r.v10) writeAttribute(r.a3, "disabled", r.v10 = s10);
|
|
116
|
+
const s13 = toAttribute(x3, "disabled");
|
|
117
|
+
if (s13 !== r.v13) writeAttribute(r.a4, "disabled", r.v13 = s13);
|
|
118
|
+
}
|
|
119
|
+
if (c & 8192) {
|
|
120
|
+
const x4 = v[13];
|
|
121
|
+
const s4 = toAttribute(x4, "data-item-id");
|
|
122
|
+
if (s4 !== r.v4) writeAttribute(r.n, "data-item-id", r.v4 = s4);
|
|
123
|
+
}
|
|
124
|
+
if (c & 512) {
|
|
125
|
+
const x5 = v[9];
|
|
126
|
+
const s5 = toAttribute(x5, "data-drag-type");
|
|
127
|
+
if (s5 !== r.v5) writeAttribute(r.n, "data-drag-type", r.v5 = s5);
|
|
128
|
+
}
|
|
129
|
+
if (c & 2048) {
|
|
130
|
+
const x6 = v[11];
|
|
131
|
+
const s6 = toAttribute(x6, "data-drop-scope");
|
|
132
|
+
if (s6 !== r.v6) writeAttribute(r.n, "data-drop-scope", r.v6 = s6);
|
|
133
|
+
}
|
|
134
|
+
if (c & 32) {
|
|
135
|
+
const x7 = v[5];
|
|
136
|
+
const s7 = toAttribute(x7, "data-accepts");
|
|
137
|
+
if (s7 !== r.v7) writeAttribute(r.n, "data-accepts", r.v7 = s7);
|
|
138
|
+
}
|
|
139
|
+
if (c & 1024) {
|
|
140
|
+
const x8 = v[10];
|
|
141
|
+
const s8 = toAttribute(x8, "data-drop-depth");
|
|
142
|
+
if (s8 !== r.v8) writeAttribute(r.n, "data-drop-depth", r.v8 = s8);
|
|
143
|
+
}
|
|
144
|
+
if (c & 524288) {
|
|
145
|
+
const x9 = v[19];
|
|
146
|
+
const s9 = toAttribute(x9, "data-subtree-depth");
|
|
147
|
+
if (s9 !== r.v9) writeAttribute(r.n, "data-subtree-depth", r.v9 = s9);
|
|
148
|
+
}
|
|
149
|
+
if (c & 8) {
|
|
150
|
+
const x10 = !v[3];
|
|
151
|
+
const s11 = toAttribute(x10, "hidden");
|
|
152
|
+
if (s11 !== r.v11) writeAttribute(r.a3, "hidden", r.v11 = s11);
|
|
153
|
+
}
|
|
154
|
+
if (c & 16384) {
|
|
155
|
+
const x11 = textCall("concat", ["Select ", v[14]]);
|
|
156
|
+
if (x11 !== NONCONFORMING) {
|
|
157
|
+
const s14 = toAttribute(x11, "aria-label");
|
|
158
|
+
if (s14 !== r.v14) writeAttribute(r.a4, "aria-label", r.v14 = s14);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
if (c & 9) {
|
|
162
|
+
const x12 = !(v[3] && v[0]);
|
|
163
|
+
const s15 = toAttribute(x12, "hidden");
|
|
164
|
+
if (s15 !== r.v15) writeAttribute(r.a13, "hidden", r.v15 = s15);
|
|
165
|
+
}
|
|
166
|
+
if (c & 131400) {
|
|
167
|
+
const x13 = hostState(["selected","disabled","actionsVisible","isContainer"], [v[17], v[8], v[6], v[3]]);
|
|
168
|
+
const s16 = x13;
|
|
169
|
+
if (s16 !== r.v16) writeAttribute(r.n, "data-ui-tree-item-state", (r.v16 = s16) === "" ? null : s16);
|
|
170
|
+
}
|
|
171
|
+
if (c & 262400) {
|
|
172
|
+
const t0 = (truthy(v[18]) && !truthy(v[8]));
|
|
173
|
+
if (true) {
|
|
174
|
+
{
|
|
175
|
+
r.b0 = undefined;
|
|
176
|
+
clearRegion(r.a2, r.e0);
|
|
177
|
+
if (t0) { r.b0 = m1(d); r.e0.before(r.b0.n); }
|
|
178
|
+
}
|
|
179
|
+
} else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
180
|
+
} else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
181
|
+
if (c & 16) {
|
|
182
|
+
const t3 = v[4];
|
|
183
|
+
if (true) {
|
|
184
|
+
{
|
|
185
|
+
r.b3 = undefined;
|
|
186
|
+
clearRegion(r.a11, r.e3);
|
|
187
|
+
if (t3) { r.b3 = m4(d); r.e3.before(r.b3.n); }
|
|
188
|
+
}
|
|
189
|
+
} else if (r.b3 !== undefined) p4(r.b3, c, d);
|
|
190
|
+
} else if (r.b3 !== undefined) p4(r.b3, c, d);
|
|
191
|
+
if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a6, r.e1, "leading", J, false, undefined, d);
|
|
192
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m2(d); at.before(r.b1.n); } }
|
|
193
|
+
else if (r.b1 !== undefined) p2(r.b1, c, d);
|
|
194
|
+
if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a9, r.e2, "label", J, true, undefined, d);
|
|
195
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m3(d); at.before(r.b2.n); } }
|
|
196
|
+
else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
197
|
+
if (r.f4 === undefined) { r.f4 = 1; const at = fillSlot(r.a12, r.e4, "actions", J, false, undefined, d);
|
|
198
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b4 = m5(d); at.before(r.b4.n); } }
|
|
199
|
+
else if (r.b4 !== undefined) p5(r.b4, c, d);
|
|
200
|
+
if (r.f5 === undefined) { r.f5 = 1; const at = fillSlot(r.a14, r.e5, "", J, false, undefined, d);
|
|
201
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b5 = m6(d); at.before(r.b5.n); } }
|
|
202
|
+
else if (r.b5 !== undefined) p6(r.b5, c, d);
|
|
203
|
+
};
|
|
204
|
+
const t0 = element.firstChild;
|
|
205
|
+
const t1 = t0.firstChild;
|
|
206
|
+
const t2 = t1.nextSibling.nextSibling;
|
|
207
|
+
const t3 = t2.nextSibling;
|
|
208
|
+
const t4 = t3.firstChild;
|
|
209
|
+
const t5 = t3.nextSibling;
|
|
210
|
+
const t6 = t5.firstChild;
|
|
211
|
+
const t7 = t5.nextSibling;
|
|
212
|
+
const t8 = t7.firstChild;
|
|
213
|
+
const t9 = t8.firstChild;
|
|
214
|
+
const t10 = t7.nextSibling;
|
|
215
|
+
const t11 = t10.firstChild;
|
|
216
|
+
const t12 = t11.nextSibling.nextSibling.firstChild;
|
|
217
|
+
const t13 = t0.nextSibling;
|
|
218
|
+
const t14 = t13.firstChild;
|
|
219
|
+
const R = { n: element, a3: t2, a4: t4, a13: t13, v0: undefined, v1: undefined, v2: undefined, v3: undefined, v4: undefined, v5: undefined, v6: undefined, v7: undefined, v8: undefined, v9: undefined, v10: null, v11: null, v12: null, v13: null, v14: null, v15: null, v16: undefined, a2: t1, e0: t1.nextSibling, b0: undefined, a6: t6, e1: t6.nextSibling, b1: undefined, f1: undefined, a9: t9, e2: t9.nextSibling, b2: undefined, f2: undefined, a11: t11, e3: t11.nextSibling, b3: undefined, a12: t12, e4: t12.nextSibling, b4: undefined, f4: undefined, a14: t14, e5: t14.nextSibling, b5: undefined, f5: undefined };
|
|
220
|
+
const I = { B };
|
|
221
|
+
const J = project(I, children, slots);
|
|
222
|
+
I.R = new Set();
|
|
223
|
+
attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, C, undefined, I);
|
|
224
|
+
manageProps(I);
|
|
225
|
+
I.r["row"] = t0;
|
|
226
|
+
I.r["disclosure"] = t2;
|
|
227
|
+
I.r["leading"] = t5;
|
|
228
|
+
I.r["label"] = t7;
|
|
229
|
+
I.r["labelText"] = t8;
|
|
230
|
+
I.r["actions"] = t10;
|
|
231
|
+
I.r["children"] = t13;
|
|
193
232
|
return element;
|
|
194
233
|
}
|
|
195
|
-
|
package/vue/UiActionBar.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.35 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiAvatar.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.35 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
const htmlNextAuthoredCheck2Reported = new Set<string>()
|
|
4
4
|
function htmlNextAuthoredCheck2(accepted: boolean, location: string, message: string): boolean {
|
|
@@ -215,12 +215,12 @@ const guarded = computed(() => {
|
|
|
215
215
|
if (
|
|
216
216
|
!(htmlNextAuthoredCheck2(
|
|
217
217
|
hasAuthoredImage.value == null || typeof hasAuthoredImage.value === 'boolean',
|
|
218
|
-
'hasAuthoredImage or not hasImage:hasAuthoredImage',
|
|
218
|
+
'$hasAuthoredImage or not $hasImage:hasAuthoredImage',
|
|
219
219
|
'./components/ui-avatar/ui-avatar.html: HR007: Reference hasAuthoredImage does not satisfy its declared type.',
|
|
220
220
|
)
|
|
221
221
|
&& htmlNextAuthoredCheck2(
|
|
222
222
|
hasImage.value == null || typeof hasImage.value === 'boolean',
|
|
223
|
-
'hasAuthoredImage or not hasImage:hasImage',
|
|
223
|
+
'$hasAuthoredImage or not $hasImage:hasImage',
|
|
224
224
|
'./components/ui-avatar/ui-avatar.html: HR007: Reference hasImage does not satisfy its declared type.',
|
|
225
225
|
))
|
|
226
226
|
) return guardedPrevious
|
|
@@ -231,7 +231,7 @@ const guardedBinding = computed(() => {
|
|
|
231
231
|
if (
|
|
232
232
|
!(htmlNextAuthoredCheck2(
|
|
233
233
|
hasImage.value == null || typeof hasImage.value === 'boolean',
|
|
234
|
-
'hasImage:hasImage',
|
|
234
|
+
'$hasImage:hasImage',
|
|
235
235
|
'./components/ui-avatar/ui-avatar.html: HR007: Reference hasImage does not satisfy its declared type.',
|
|
236
236
|
))
|
|
237
237
|
) return guardedBindingPrevious
|
|
@@ -242,7 +242,7 @@ const guardedBinding2 = computed(() => {
|
|
|
242
242
|
if (
|
|
243
243
|
!(htmlNextAuthoredCheck2(
|
|
244
244
|
hasImage.value == null || typeof hasImage.value === 'boolean',
|
|
245
|
-
'hasImage:hasImage',
|
|
245
|
+
'$hasImage:hasImage',
|
|
246
246
|
'./components/ui-avatar/ui-avatar.html: HR007: Reference hasImage does not satisfy its declared type.',
|
|
247
247
|
))
|
|
248
248
|
) return guardedBinding2Previous
|
|
@@ -253,7 +253,7 @@ const guardedBinding3 = computed(() => {
|
|
|
253
253
|
if (
|
|
254
254
|
!(htmlNextAuthoredCheck2(
|
|
255
255
|
showGlyph.value == null || typeof showGlyph.value === 'boolean',
|
|
256
|
-
'showGlyph:showGlyph',
|
|
256
|
+
'$showGlyph:showGlyph',
|
|
257
257
|
'./components/ui-avatar/ui-avatar.html: HR007: Reference showGlyph does not satisfy its declared type.',
|
|
258
258
|
))
|
|
259
259
|
) return guardedBinding3Previous
|
|
@@ -275,7 +275,7 @@ const guardedBinding5 = computed(() => {
|
|
|
275
275
|
if (
|
|
276
276
|
!(htmlNextAuthoredCheck2(
|
|
277
277
|
showGlyph.value == null || typeof showGlyph.value === 'boolean',
|
|
278
|
-
'not showGlyph:showGlyph',
|
|
278
|
+
'not $showGlyph:showGlyph',
|
|
279
279
|
'./components/ui-avatar/ui-avatar.html: HR007: Reference showGlyph does not satisfy its declared type.',
|
|
280
280
|
))
|
|
281
281
|
) return guardedBinding5Previous
|
package/vue/UiAvatarGroup.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.35 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
const htmlNextAuthoredCheck2Reported = new Set<string>()
|
|
4
4
|
function htmlNextAuthoredCheck2(accepted: boolean, location: string, message: string): boolean {
|
|
@@ -161,7 +161,7 @@ const guarded = computed(() => {
|
|
|
161
161
|
if (
|
|
162
162
|
!(htmlNextAuthoredCheck2(
|
|
163
163
|
overflowCount.value == null || Number.isInteger(overflowCount.value),
|
|
164
|
-
'not overflowCount:overflowCount',
|
|
164
|
+
'not $overflowCount:overflowCount',
|
|
165
165
|
'./components/ui-avatar-group/ui-avatar-group.html: HR007: Reference overflowCount does not satisfy its declared type.',
|
|
166
166
|
))
|
|
167
167
|
) return guardedPrevious
|
|
@@ -172,7 +172,7 @@ const guardedBinding = computed(() => {
|
|
|
172
172
|
if (
|
|
173
173
|
!(htmlNextAuthoredCheck2(
|
|
174
174
|
overflowAnnouncement.value == null || typeof overflowAnnouncement.value === 'string',
|
|
175
|
-
'overflowAnnouncement:overflowAnnouncement',
|
|
175
|
+
'$overflowAnnouncement:overflowAnnouncement',
|
|
176
176
|
'./components/ui-avatar-group/ui-avatar-group.html: HR007: Reference overflowAnnouncement does not satisfy its declared type.',
|
|
177
177
|
))
|
|
178
178
|
) return guardedBindingPrevious
|
package/vue/UiBadge.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.35 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiBreadcrumbItem.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.35 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiBreadcrumbs.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.35 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiButton.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.35 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiCallout.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.35 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|
package/vue/UiCard.vue
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
<!-- Generated by HTML Next 1.0.0-alpha.35 for Vue 3.5. Do not edit. -->
|
|
2
2
|
<script setup lang="ts">
|
|
3
3
|
import { computed, getCurrentInstance, useTemplateRef, watchSyncEffect } from 'vue'
|
|
4
4
|
import type { PropType } from 'vue'
|