@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
|
@@ -1,12 +1,17 @@
|
|
|
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, toAttribute, toText, truthy, writeAttribute, dispose, acceptProps, manageProps, project, fillSlot, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-editor-mention-menu-item.css";
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const T0 = ["",[],["span",["class","avatar","aria-hidden","true"],4],["span",["class","body"],["span",["class","label"],4],1]];
|
|
6
|
+
const T1 = ["",[],0];
|
|
7
|
+
const T2 = ["",[]];
|
|
8
|
+
const T3 = ["span",["class","detail"],0];
|
|
9
|
+
let P0, P1, P2, P3;
|
|
10
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-mention-menu-item" };
|
|
11
|
+
const D = { props: { "detail": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "initials": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
6
12
|
|
|
7
|
-
export function createUiEditorMentionMenuItem(options = {}) {
|
|
13
|
+
export function createUiEditorMentionMenuItem(options = {}, html) {
|
|
8
14
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
9
|
-
const projected = [];
|
|
10
15
|
const element = document.createElement("li");
|
|
11
16
|
for (const [name, value] of Object.entries(attributes)) {
|
|
12
17
|
if (value === null || value === undefined || value === false) continue;
|
|
@@ -14,47 +19,79 @@ export function createUiEditorMentionMenuItem(options = {}) {
|
|
|
14
19
|
}
|
|
15
20
|
if (!element.hasAttribute("role")) element.setAttribute("role", "option");
|
|
16
21
|
if (!element.hasAttribute("tabindex")) element.setAttribute("tabindex", "-1");
|
|
17
|
-
const value0 = componentProps["value"] === undefined ? "" : componentProps["value"];
|
|
18
|
-
if (value0 === null || value0 === undefined) element.removeAttribute("data-value");
|
|
19
|
-
else element.setAttribute("data-value", String(value0));
|
|
20
22
|
element.setAttribute("data-component", "ui-editor-mention-menu-item");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
24
|
+
const v = [null, null, null];
|
|
25
|
+
const B = acceptProps(element, D, S.n, v, componentProps, ["value"], html);
|
|
26
|
+
const m1 = (d) => {
|
|
27
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
28
|
+
const t0 = n.firstChild;
|
|
29
|
+
const r = { n, a0: t0, v0: "" };
|
|
30
|
+
p1(r, -1, d);
|
|
31
|
+
return r;
|
|
32
|
+
};
|
|
33
|
+
const p1 = (r, c, d) => {
|
|
34
|
+
if (c & 2) {
|
|
35
|
+
const x0 = v[1];
|
|
36
|
+
const s0 = toText(x0);
|
|
37
|
+
if (s0 !== r.v0) r.a0.data = r.v0 = s0;
|
|
30
38
|
}
|
|
31
|
-
}
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
};
|
|
40
|
+
const m2 = (d) => {
|
|
41
|
+
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
42
|
+
const r = { n };
|
|
43
|
+
p2(r, -1, d);
|
|
44
|
+
return r;
|
|
45
|
+
};
|
|
46
|
+
const p2 = (r, c, d) => {
|
|
47
|
+
};
|
|
48
|
+
const m3 = (d) => {
|
|
49
|
+
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
50
|
+
const t0 = n.firstChild;
|
|
51
|
+
const r = { n, a0: t0, v0: "" };
|
|
52
|
+
p3(r, -1, d);
|
|
53
|
+
return r;
|
|
54
|
+
};
|
|
55
|
+
const p3 = (r, c, d) => {
|
|
56
|
+
if (c & 1) {
|
|
57
|
+
const x0 = v[0];
|
|
58
|
+
const s0 = toText(x0);
|
|
59
|
+
if (s0 !== r.v0) r.a0.data = r.v0 = s0;
|
|
46
60
|
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
};
|
|
62
|
+
const p0 = (r, c, d) => {
|
|
63
|
+
if (c & 4) {
|
|
64
|
+
const x0 = v[2];
|
|
65
|
+
const s0 = toAttribute(x0, "data-value");
|
|
66
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-value", r.v0 = s0);
|
|
67
|
+
}
|
|
68
|
+
if (c & 1) {
|
|
69
|
+
const t2 = truthy(v[0]);
|
|
70
|
+
if (true) {
|
|
71
|
+
{
|
|
72
|
+
r.b2 = undefined;
|
|
73
|
+
clearRegion(r.a3, r.e2);
|
|
74
|
+
if (t2) { r.b2 = m3(d); r.e2.before(r.b2.n); }
|
|
75
|
+
}
|
|
76
|
+
} else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
77
|
+
} else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
78
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a1, r.e0, "start", J, true, undefined, d);
|
|
79
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
|
|
80
|
+
else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
81
|
+
if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a2, r.e1, "", J, false, undefined, d);
|
|
82
|
+
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); } }
|
|
83
|
+
else if (r.b1 !== undefined) p2(r.b1, c, d);
|
|
84
|
+
};
|
|
85
|
+
const t0 = element.firstChild;
|
|
86
|
+
const t1 = t0.firstChild;
|
|
87
|
+
const t2 = t0.nextSibling;
|
|
88
|
+
const t3 = t2.firstChild;
|
|
89
|
+
const t4 = t3.firstChild;
|
|
90
|
+
const t5 = t3.nextSibling;
|
|
91
|
+
const R = { n: element, v0: undefined, a1: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a2: t4, e1: t4.nextSibling, b1: undefined, f1: undefined, a3: t5, e2: t5.nextSibling, b2: undefined };
|
|
92
|
+
const I = { B };
|
|
93
|
+
const J = project(I, children, slots);
|
|
94
|
+
attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
|
|
95
|
+
manageProps(I);
|
|
58
96
|
return element;
|
|
59
97
|
}
|
|
60
|
-
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.35 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorSlashMenuEventMap {
|
|
3
3
|
highlight: CustomEvent<{ readonly index: number; readonly value: string }>;
|
|
4
4
|
select: CustomEvent<{ readonly index: number; readonly value: string }>;
|
|
@@ -1,13 +1,22 @@
|
|
|
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, readMember, toAttribute, toText, trackContainer, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, acceptProps, manageProps, project, fillSlot, checkBoolean, checkInteger, checkList, checkNumber, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-slash-menu/ui-editor-slash-menu.js";
|
|
4
4
|
import "../styles/ui-editor-slash-menu.css";
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const T0 = ["",[],["div",["class","header"],4],["ul",["class","list","role","presentation"],2,4],["div",["class","empty"],4],["div",["class","footer"],4]];
|
|
7
|
+
const T1 = ["",[]];
|
|
8
|
+
const T2 = ["li",["class","item","role","option"],["span",["class","icon","aria-hidden","true"],["ui-icon",[]]],["span",["class","body"],["span",["class","title"],0],["span",["class","description"],0]]];
|
|
9
|
+
const T3 = ["",[]];
|
|
10
|
+
const T4 = ["",[]];
|
|
11
|
+
const T5 = ["",[]];
|
|
12
|
+
let P0, P1, P2, P3, P4, P5;
|
|
13
|
+
const E = new Map();
|
|
14
|
+
const S = { n: ["visible","active","rows"], t: ["b","i",["l",["o",["value","s","title","s","description","s","icon","s"]]]], f: import.meta.url, g: "ui-editor-slash-menu", d: { "highlight": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false], "select": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false] }, x: dispatchDeclared };
|
|
15
|
+
const D = { props: { "anchorRect": { "required":false, c: checkObject([["left", checkNumber, true], ["top", checkNumber, true], ["right", checkNumber, true], ["bottom", checkNumber, true], ["x", checkNumber, true], ["y", checkNumber, true], ["width", checkNumber, true], ["height", checkNumber, true]], false), j: 1, m: ["o",["left","n","top","n","right","n","bottom","n","x","n","y","n","width","n","height","n"]] }, "items": { "required":false, c: checkList(checkObject([["value", checkString, true], ["title", checkString, false], ["description", checkString, false], ["icon", checkString, false]], false)), j: 1, m: ["l",["o",["value","s","title","s","description","s","icon","s"]]] }, "label": { "required":false,"default":"Insert block", c: checkString, t: "string", j: 0, m: "s" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "query": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "selectedIndex": { "required":false,"default":0, c: checkInteger, t: "integer", j: 0, m: "i" } } };
|
|
16
|
+
const C = (host) => controller.default(host);
|
|
7
17
|
|
|
8
|
-
export function createUiEditorSlashMenu(options = {}) {
|
|
18
|
+
export function createUiEditorSlashMenu(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;
|
|
@@ -15,81 +24,117 @@ export function createUiEditorSlashMenu(options = {}) {
|
|
|
15
24
|
}
|
|
16
25
|
if (!element.hasAttribute("role")) element.setAttribute("role", "listbox");
|
|
17
26
|
element.setAttribute("data-component", "ui-editor-slash-menu");
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
28
|
+
const v = [false, 0, [], null, null, null, null, null, null];
|
|
29
|
+
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
30
|
+
const m1 = (d) => {
|
|
31
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
32
|
+
const r = { n };
|
|
33
|
+
p1(r, -1, d);
|
|
34
|
+
return r;
|
|
35
|
+
};
|
|
36
|
+
const p1 = (r, c, d) => {
|
|
37
|
+
};
|
|
38
|
+
const m2 = (o, j, l) => {
|
|
39
|
+
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
40
|
+
const t0 = n.firstChild;
|
|
41
|
+
const t1 = t0.firstChild;
|
|
42
|
+
const t2 = t0.nextSibling;
|
|
43
|
+
const t3 = t2.firstChild;
|
|
44
|
+
const t4 = t3.firstChild;
|
|
45
|
+
const t5 = t3.nextSibling.firstChild;
|
|
46
|
+
const r = { k: undefined, i: o, n, x: 0, y: 0, j, l, a1: t1, a2: t4, a3: t5, w: 0, v0: false, v1: null, v2: null, v3: null, v4: null, v5: "", v6: "" };
|
|
47
|
+
p2(r, -1, E);
|
|
48
|
+
return r;
|
|
49
|
+
};
|
|
50
|
+
const p2 = (r, c, d) => {
|
|
51
|
+
const o = r.i;
|
|
52
|
+
if (c & 1073741824) r.w = 0;
|
|
53
|
+
if (c & 1073741826) {
|
|
54
|
+
const x0 = (r.j === v[1]);
|
|
55
|
+
const s0 = x0;
|
|
56
|
+
if (s0 !== r.v0) r.n.classList.toggle("active", r.v0 = s0);
|
|
57
|
+
const s1 = toAttribute(x0, "aria-selected");
|
|
58
|
+
if (s1 !== r.v1) writeAttribute(r.n, "aria-selected", r.v1 = s1);
|
|
26
59
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
element5.setAttribute("class", "body");
|
|
44
|
-
const element6 = document.createElement("span");
|
|
45
|
-
element6.setAttribute("class", "title");
|
|
46
|
-
const text7 = document.createTextNode("");
|
|
47
|
-
element6.append(text7);
|
|
48
|
-
element5.append(element6);
|
|
49
|
-
const element8 = document.createElement("span");
|
|
50
|
-
element8.setAttribute("class", "description");
|
|
51
|
-
const text9 = document.createTextNode("");
|
|
52
|
-
element8.append(text9);
|
|
53
|
-
element5.append(element8);
|
|
54
|
-
element2.append(element5);
|
|
55
|
-
element1.append(element2);
|
|
56
|
-
if (children.length > 0) {
|
|
57
|
-
for (const child of children) {
|
|
58
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
59
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
60
|
-
projected.push([node, ""]);
|
|
61
|
-
element1.append(node);
|
|
62
|
-
}
|
|
63
|
-
} else {
|
|
64
|
-
}
|
|
65
|
-
element.append(element1);
|
|
66
|
-
const element10 = document.createElement("div");
|
|
67
|
-
element10.setAttribute("class", "empty");
|
|
68
|
-
if (slots["empty"] ?? [].length > 0) {
|
|
69
|
-
for (const child of slots["empty"] ?? []) {
|
|
70
|
-
const node = typeof child === "string" ? document.createTextNode(child) : child;
|
|
71
|
-
if (node.nodeType === 1) node.setAttribute("data-slotted", "");
|
|
72
|
-
projected.push([node, "empty"]);
|
|
73
|
-
element10.append(node);
|
|
60
|
+
if (c & 1073741824) {
|
|
61
|
+
const x1 = r.j;
|
|
62
|
+
const s2 = toAttribute(x1, "data-index");
|
|
63
|
+
if (s2 !== r.v2) writeAttribute(r.n, "data-index", r.v2 = s2);
|
|
64
|
+
const x2 = trackContainer(r, readMember(o, "value"));
|
|
65
|
+
const s3 = toAttribute(x2, "data-value");
|
|
66
|
+
if (s3 !== r.v3) writeAttribute(r.n, "data-value", r.v3 = s3);
|
|
67
|
+
const x3 = trackContainer(r, readMember(o, "icon"));
|
|
68
|
+
const s4 = toAttribute(x3, "name");
|
|
69
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "name", r.v4 = s4);
|
|
70
|
+
const x4 = trackContainer(r, readMember(o, "title"));
|
|
71
|
+
const s5 = toText(x4);
|
|
72
|
+
if (s5 !== r.v5) r.a2.data = r.v5 = s5;
|
|
73
|
+
const x5 = trackContainer(r, readMember(o, "description"));
|
|
74
|
+
const s6 = toText(x5);
|
|
75
|
+
if (s6 !== r.v6) r.a3.data = r.v6 = s6;
|
|
74
76
|
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
77
|
+
};
|
|
78
|
+
const m3 = (d) => {
|
|
79
|
+
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
80
|
+
const r = { n };
|
|
81
|
+
p3(r, -1, d);
|
|
82
|
+
return r;
|
|
83
|
+
};
|
|
84
|
+
const p3 = (r, c, d) => {
|
|
85
|
+
};
|
|
86
|
+
const m4 = (d) => {
|
|
87
|
+
const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
|
|
88
|
+
const r = { n };
|
|
89
|
+
p4(r, -1, d);
|
|
90
|
+
return r;
|
|
91
|
+
};
|
|
92
|
+
const p4 = (r, c, d) => {
|
|
93
|
+
};
|
|
94
|
+
const m5 = (d) => {
|
|
95
|
+
const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
|
|
96
|
+
const r = { n };
|
|
97
|
+
p5(r, -1, d);
|
|
98
|
+
return r;
|
|
99
|
+
};
|
|
100
|
+
const p5 = (r, c, d) => {
|
|
101
|
+
};
|
|
102
|
+
const p0 = (r, c, d) => {
|
|
103
|
+
if (c & 1) {
|
|
104
|
+
const x0 = !v[0];
|
|
105
|
+
const s0 = toAttribute(x0, "hidden");
|
|
106
|
+
if (s0 !== r.v0) writeAttribute(r.n, "hidden", r.v0 = s0);
|
|
86
107
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
108
|
+
if (c & 1073741828) r.L1.update(v[2], d, c);
|
|
109
|
+
if (c !== -1 && c & 2) r.L1.each(c, d);
|
|
110
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a1, r.e0, "header", J, false, undefined, d);
|
|
111
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
|
|
112
|
+
else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
113
|
+
if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a3, r.e2, "", J, false, undefined, d);
|
|
114
|
+
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); } }
|
|
115
|
+
else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
116
|
+
if (r.f3 === undefined) { r.f3 = 1; const at = fillSlot(r.a5, r.e3, "empty", J, false, undefined, d);
|
|
117
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b3 = m4(d); at.before(r.b3.n); } }
|
|
118
|
+
else if (r.b3 !== undefined) p4(r.b3, c, d);
|
|
119
|
+
if (r.f4 === undefined) { r.f4 = 1; const at = fillSlot(r.a6, r.e4, "footer", J, false, undefined, d);
|
|
120
|
+
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); } }
|
|
121
|
+
else if (r.b4 !== undefined) p5(r.b4, c, d);
|
|
122
|
+
};
|
|
123
|
+
const t0 = element.firstChild;
|
|
124
|
+
const t1 = t0.firstChild;
|
|
125
|
+
const t2 = t0.nextSibling;
|
|
126
|
+
const t3 = t2.firstChild;
|
|
127
|
+
const t4 = t3.nextSibling.nextSibling;
|
|
128
|
+
const t5 = t2.nextSibling;
|
|
129
|
+
const t6 = t5.firstChild;
|
|
130
|
+
const t7 = t5.nextSibling.firstChild;
|
|
131
|
+
const R = { n: element, v0: undefined, a1: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, L1: new IndexedList(t3, t3.nextSibling, m2, p2, undefined, "item"), a3: t4, e2: t4.nextSibling, b2: undefined, f2: undefined, a5: t6, e3: t6.nextSibling, b3: undefined, f3: undefined, a6: t7, e4: t7.nextSibling, b4: undefined, f4: undefined };
|
|
132
|
+
R.L1.q = true;
|
|
133
|
+
const I = { B };
|
|
134
|
+
const J = project(I, children, slots);
|
|
135
|
+
I.R = new Set();
|
|
136
|
+
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);
|
|
137
|
+
manageProps(I);
|
|
138
|
+
I.r["empty"] = t5;
|
|
93
139
|
return element;
|
|
94
140
|
}
|
|
95
|
-
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.35 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorSlashMenuGroupEventMap {
|
|
3
3
|
}
|
|
4
4
|
export interface UiEditorSlashMenuGroupElement extends HTMLLIElement {
|
|
@@ -1,11 +1,15 @@
|
|
|
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, toAttribute, toText, writeAttribute, dispose, acceptProps, manageProps, project, fillSlot, checkString } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-editor-slash-menu-group.css";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const T0 = ["",[],["div",["role","group"],["div",["class","heading"],0],["ul",["role","presentation"],4]]];
|
|
6
|
+
const T1 = ["",[]];
|
|
7
|
+
let P0, P1;
|
|
8
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-slash-menu-group" };
|
|
9
|
+
const D = { props: { "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
10
|
+
|
|
11
|
+
export function createUiEditorSlashMenuGroup(options = {}, html) {
|
|
6
12
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
7
|
-
const projected = [];
|
|
8
|
-
const prop0 = componentProps["label"] === undefined ? "" : componentProps["label"];
|
|
9
13
|
const element = document.createElement("li");
|
|
10
14
|
for (const [name, value] of Object.entries(attributes)) {
|
|
11
15
|
if (value === null || value === undefined || value === false) continue;
|
|
@@ -13,35 +17,37 @@ export function createUiEditorSlashMenuGroup(options = {}) {
|
|
|
13
17
|
}
|
|
14
18
|
if (!element.hasAttribute("role")) element.setAttribute("role", "presentation");
|
|
15
19
|
element.setAttribute("data-component", "ui-editor-slash-menu-group");
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
element3.append(node);
|
|
20
|
+
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
21
|
+
const v = [null];
|
|
22
|
+
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
23
|
+
const m1 = (d) => {
|
|
24
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
25
|
+
const r = { n };
|
|
26
|
+
p1(r, -1, d);
|
|
27
|
+
return r;
|
|
28
|
+
};
|
|
29
|
+
const p1 = (r, c, d) => {
|
|
30
|
+
};
|
|
31
|
+
const p0 = (r, c, d) => {
|
|
32
|
+
if (c & 1) {
|
|
33
|
+
const x0 = v[0];
|
|
34
|
+
const s0 = toAttribute(x0, "aria-label");
|
|
35
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "aria-label", r.v0 = s0);
|
|
36
|
+
const s1 = toText(x0);
|
|
37
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
35
38
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
39
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a2, r.e0, "", J, false, undefined, d);
|
|
40
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
|
|
41
|
+
else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
42
|
+
};
|
|
43
|
+
const t0 = element.firstChild;
|
|
44
|
+
const t1 = t0.firstChild;
|
|
45
|
+
const t2 = t1.firstChild;
|
|
46
|
+
const t3 = t1.nextSibling.firstChild;
|
|
47
|
+
const R = { a0: t0, a1: t2, v0: null, v1: "", a2: t3, e0: t3.nextSibling, b0: undefined, f0: undefined };
|
|
48
|
+
const I = { B };
|
|
49
|
+
const J = project(I, children, slots);
|
|
50
|
+
attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
|
|
51
|
+
manageProps(I);
|
|
45
52
|
return element;
|
|
46
53
|
}
|
|
47
|
-
|