@threadlabs/looma 0.30.2 → 0.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-combobox/ui-combobox.html +10 -10
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -4
- package/components/ui-image/ui-image.html +2 -2
- package/components/ui-listbox/ui-listbox.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +4 -2
- package/dist/index.js +5 -4
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-swatch.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +4 -4
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +4 -4
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +4 -4
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +4 -4
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +3 -3
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +3 -3
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +6 -6
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +4 -4
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +6 -6
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +4 -4
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +4 -4
- package/vanilla/UiCombobox.d.ts +12 -12
- package/vanilla/UiCombobox.js +12 -10
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +4 -4
- package/vanilla/UiContextMenu.d.ts +2 -2
- package/vanilla/UiContextMenu.js +3 -3
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +4 -4
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +3 -3
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +4 -4
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +4 -4
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +4 -4
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +3 -3
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +4 -4
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +4 -4
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +3 -3
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +4 -4
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +3 -3
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +8 -6
- package/vanilla/UiEditorLinkForm.d.ts +2 -2
- package/vanilla/UiEditorLinkForm.js +9 -7
- package/vanilla/UiEditorMentionMenu.d.ts +3 -3
- package/vanilla/UiEditorMentionMenu.js +3 -3
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +3 -3
- package/vanilla/UiEditorSlashMenu.d.ts +3 -3
- package/vanilla/UiEditorSlashMenu.js +3 -3
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +3 -3
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +3 -3
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +4 -4
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +4 -4
- package/vanilla/UiEditorTableOverlay.d.ts +2 -2
- package/vanilla/UiEditorTableOverlay.js +4 -4
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +4 -4
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +3 -3
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +3 -3
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +3 -3
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +4 -4
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +9 -7
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +4 -4
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +4 -4
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +4 -4
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +4 -4
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +6 -6
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +4 -4
- package/vanilla/UiListbox.d.ts +2 -2
- package/vanilla/UiListbox.js +3 -3
- package/vanilla/UiMenu.d.ts +2 -2
- package/vanilla/UiMenu.js +4 -4
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +3 -3
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +6 -6
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +9 -7
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +6 -6
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +4 -4
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +4 -4
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +4 -4
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +4 -4
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +4 -4
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +4 -4
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +4 -4
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +3 -3
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +4 -4
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +4 -4
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +4 -4
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +4 -4
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +4 -4
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +4 -4
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +4 -4
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +9 -7
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +4 -4
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +4 -4
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +4 -4
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +6 -6
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +4 -4
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +4 -4
- package/vanilla/UiToastRegion.d.ts +2 -2
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +4 -4
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +4 -4
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +35 -23
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.d.ts +8 -8
- package/vue/UiAffordanceScope.vue +57 -20
- package/vue/UiAvatar.d.ts +9 -27
- package/vue/UiAvatar.vue +100 -68
- package/vue/UiAvatarGroup.d.ts +9 -18
- package/vue/UiAvatarGroup.vue +73 -44
- package/vue/UiBadge.d.ts +9 -15
- package/vue/UiBadge.vue +67 -39
- package/vue/UiBreadcrumbItem.d.ts +8 -5
- package/vue/UiBreadcrumbItem.vue +45 -12
- package/vue/UiBreadcrumbs.d.ts +8 -5
- package/vue/UiBreadcrumbs.vue +45 -12
- package/vue/UiButton.d.ts +9 -45
- package/vue/UiButton.vue +148 -119
- package/vue/UiCallout.d.ts +8 -8
- package/vue/UiCallout.vue +68 -25
- package/vue/UiCard.d.ts +8 -17
- package/vue/UiCard.vue +77 -53
- package/vue/UiCheckbox.d.ts +8 -29
- package/vue/UiCheckbox.vue +118 -76
- package/vue/UiCluster.d.ts +9 -24
- package/vue/UiCluster.vue +91 -66
- package/vue/UiCombobox.d.ts +135 -219
- package/vue/UiCombobox.vue +528 -496
- package/vue/UiContainer.d.ts +8 -11
- package/vue/UiContainer.vue +61 -28
- package/vue/UiContextMenu.d.ts +10 -10
- package/vue/UiContextMenu.vue +55 -22
- package/vue/UiCover.d.ts +8 -5
- package/vue/UiCover.vue +45 -12
- package/vue/UiDescriptionItem.d.ts +8 -5
- package/vue/UiDescriptionItem.vue +40 -12
- package/vue/UiDescriptionList.d.ts +8 -11
- package/vue/UiDescriptionList.vue +61 -34
- package/vue/UiDialog.d.ts +8 -26
- package/vue/UiDialog.vue +99 -74
- package/vue/UiDisclosure.d.ts +8 -29
- package/vue/UiDisclosure.vue +118 -79
- package/vue/UiEditable.d.ts +8 -35
- package/vue/UiEditable.vue +136 -92
- package/vue/UiEditorBlockActions.d.ts +8 -8
- package/vue/UiEditorBlockActions.vue +58 -23
- package/vue/UiEditorChipEditor.d.ts +8 -8
- package/vue/UiEditorChipEditor.vue +65 -20
- package/vue/UiEditorCodeLanguage.d.ts +8 -11
- package/vue/UiEditorCodeLanguage.vue +74 -31
- package/vue/UiEditorImageToolbar.d.ts +8 -11
- package/vue/UiEditorImageToolbar.vue +175 -144
- package/vue/UiEditorInsertTableGrid.d.ts +8 -14
- package/vue/UiEditorInsertTableGrid.vue +73 -36
- package/vue/UiEditorLinkCard.d.ts +8 -17
- package/vue/UiEditorLinkCard.vue +157 -90
- package/vue/UiEditorLinkForm.d.ts +10 -44
- package/vue/UiEditorLinkForm.vue +336 -228
- package/vue/UiEditorMentionMenu.d.ts +28 -60
- package/vue/UiEditorMentionMenu.vue +166 -121
- package/vue/UiEditorMentionMenuItem.d.ts +8 -11
- package/vue/UiEditorMentionMenuItem.vue +61 -28
- package/vue/UiEditorSlashMenu.d.ts +26 -52
- package/vue/UiEditorSlashMenu.vue +141 -104
- package/vue/UiEditorSlashMenuGroup.d.ts +8 -5
- package/vue/UiEditorSlashMenuGroup.vue +40 -12
- package/vue/UiEditorSlashMenuItem.d.ts +8 -17
- package/vue/UiEditorSlashMenuItem.vue +90 -48
- package/vue/UiEditorSurface.d.ts +8 -5
- package/vue/UiEditorSurface.vue +45 -15
- package/vue/UiEditorTableContextMenu.d.ts +8 -20
- package/vue/UiEditorTableContextMenu.vue +151 -113
- package/vue/UiEditorTableOverlay.d.ts +10 -29
- package/vue/UiEditorTableOverlay.vue +180 -153
- package/vue/UiEditorTableToolbar.d.ts +8 -20
- package/vue/UiEditorTableToolbar.vue +158 -116
- package/vue/UiEditorToolbar.d.ts +8 -5
- package/vue/UiEditorToolbar.vue +48 -12
- package/vue/UiFloatingActionButton.d.ts +8 -11
- package/vue/UiFloatingActionButton.vue +60 -28
- package/vue/UiFormField.d.ts +8 -11
- package/vue/UiFormField.vue +63 -28
- package/vue/UiGrid.d.ts +8 -11
- package/vue/UiGrid.vue +56 -28
- package/vue/UiIcon.d.ts +8 -8
- package/vue/UiIcon.vue +444 -395
- package/vue/UiIconButton.d.ts +9 -39
- package/vue/UiIconButton.vue +138 -103
- package/vue/UiImage.d.ts +8 -23
- package/vue/UiImage.vue +80 -60
- package/vue/UiInput.d.ts +4 -7
- package/vue/UiInput.vue +169 -149
- package/vue/UiInputGroup.d.ts +8 -17
- package/vue/UiInputGroup.vue +81 -47
- package/vue/UiList.d.ts +9 -15
- package/vue/UiList.vue +67 -39
- package/vue/UiListItem.d.ts +8 -20
- package/vue/UiListItem.vue +87 -52
- package/vue/UiListbox.d.ts +10 -28
- package/vue/UiListbox.vue +111 -71
- package/vue/UiMenu.d.ts +10 -25
- package/vue/UiMenu.vue +96 -65
- package/vue/UiMenuGroup.d.ts +8 -5
- package/vue/UiMenuGroup.vue +40 -12
- package/vue/UiMenuItem.d.ts +8 -20
- package/vue/UiMenuItem.vue +91 -55
- package/vue/UiMeter.d.ts +9 -33
- package/vue/UiMeter.vue +202 -147
- package/vue/UiNavItem.d.ts +9 -24
- package/vue/UiNavItem.vue +78 -63
- package/vue/UiPageHeader.d.ts +8 -5
- package/vue/UiPageHeader.vue +45 -12
- package/vue/UiPopover.d.ts +8 -14
- package/vue/UiPopover.vue +90 -58
- package/vue/UiRadio.d.ts +8 -20
- package/vue/UiRadio.vue +91 -52
- package/vue/UiRadioGroup.d.ts +8 -26
- package/vue/UiRadioGroup.vue +109 -74
- package/vue/UiReel.d.ts +8 -11
- package/vue/UiReel.vue +56 -28
- package/vue/UiScrollArea.d.ts +9 -18
- package/vue/UiScrollArea.vue +81 -53
- package/vue/UiSearchResultRow.d.ts +8 -11
- package/vue/UiSearchResultRow.vue +60 -31
- package/vue/UiSearchShell.d.ts +8 -14
- package/vue/UiSearchShell.vue +73 -36
- package/vue/UiSection.d.ts +8 -11
- package/vue/UiSection.vue +60 -31
- package/vue/UiSelect.d.ts +8 -17
- package/vue/UiSelect.vue +83 -51
- package/vue/UiSeparator.d.ts +9 -15
- package/vue/UiSeparator.vue +69 -39
- package/vue/UiSidebar.d.ts +8 -29
- package/vue/UiSidebar.vue +118 -76
- package/vue/UiSpinner.d.ts +8 -8
- package/vue/UiSpinner.vue +51 -20
- package/vue/UiStack.d.ts +9 -18
- package/vue/UiStack.vue +73 -53
- package/vue/UiStatusMessage.d.ts +8 -11
- package/vue/UiStatusMessage.vue +60 -33
- package/vue/UiSwatch.d.ts +8 -5
- package/vue/UiSwatch.vue +64 -22
- package/vue/UiSwitch.d.ts +8 -20
- package/vue/UiSwitch.vue +91 -52
- package/vue/UiSwitcher.d.ts +9 -15
- package/vue/UiSwitcher.vue +64 -39
- package/vue/UiTable.d.ts +8 -8
- package/vue/UiTable.vue +56 -23
- package/vue/UiTabs.d.ts +8 -23
- package/vue/UiTabs.vue +100 -66
- package/vue/UiText.d.ts +9 -36
- package/vue/UiText.vue +152 -109
- package/vue/UiTextarea.d.ts +8 -29
- package/vue/UiTextarea.vue +118 -83
- package/vue/UiToast.d.ts +8 -8
- package/vue/UiToast.vue +55 -20
- package/vue/UiToastRegion.d.ts +14 -14
- package/vue/UiToastRegion.vue +66 -28
- package/vue/UiTooltip.d.ts +8 -23
- package/vue/UiTooltip.vue +117 -82
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.d.ts +8 -23
- package/vue/UiTree.vue +99 -69
- package/vue/UiTreeItem.d.ts +8 -47
- package/vue/UiTreeItem.vue +178 -127
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +35 -22
- package/vue/chunks/UiAvatar.js +81 -70
- package/vue/chunks/UiAvatarGroup.js +58 -46
- package/vue/chunks/UiBadge.js +46 -38
- package/vue/chunks/UiBreadcrumbItem.js +22 -11
- package/vue/chunks/UiBreadcrumbs.js +22 -11
- package/vue/chunks/UiButton.js +115 -118
- package/vue/chunks/UiCallout.js +32 -22
- package/vue/chunks/UiCard.js +53 -46
- package/vue/chunks/UiCheckbox.js +84 -78
- package/vue/chunks/UiCluster.js +63 -62
- package/vue/chunks/UiCombobox.js +359 -382
- package/vue/chunks/UiContainer.js +35 -30
- package/vue/chunks/UiContextMenu.js +36 -23
- package/vue/chunks/UiCover.js +22 -11
- package/vue/chunks/UiDescriptionItem.js +22 -11
- package/vue/chunks/UiDescriptionList.js +38 -30
- package/vue/chunks/UiDialog.js +78 -70
- package/vue/chunks/UiDisclosure.js +87 -78
- package/vue/chunks/UiEditable.js +102 -94
- package/vue/chunks/UiEditorBlockActions.js +49 -23
- package/vue/chunks/UiEditorChipEditor.js +48 -25
- package/vue/chunks/UiEditorCodeLanguage.js +58 -41
- package/vue/chunks/UiEditorImageToolbar.js +153 -148
- package/vue/chunks/UiEditorInsertTableGrid.js +55 -38
- package/vue/chunks/UiEditorLinkCard.js +104 -82
- package/vue/chunks/UiEditorLinkForm.js +282 -258
- package/vue/chunks/UiEditorMentionMenu.js +156 -145
- package/vue/chunks/UiEditorMentionMenuItem.js +39 -30
- package/vue/chunks/UiEditorSlashMenu.js +141 -130
- package/vue/chunks/UiEditorSlashMenuGroup.js +22 -11
- package/vue/chunks/UiEditorSlashMenuItem.js +62 -47
- package/vue/chunks/UiEditorSurface.js +22 -11
- package/vue/chunks/UiEditorTableContextMenu.js +98 -87
- package/vue/chunks/UiEditorTableOverlay.js +286 -308
- package/vue/chunks/UiEditorTableToolbar.js +102 -87
- package/vue/chunks/UiEditorToolbar.js +24 -11
- package/vue/chunks/UiFloatingActionButton.js +39 -30
- package/vue/chunks/UiFormField.js +41 -30
- package/vue/chunks/UiGrid.js +35 -30
- package/vue/chunks/UiIcon.js +38 -25
- package/vue/chunks/UiIconButton.js +102 -102
- package/vue/chunks/UiImage.js +67 -62
- package/vue/chunks/UiInput.js +275 -274
- package/vue/chunks/UiInputGroup.js +55 -46
- package/vue/chunks/UiList.js +46 -38
- package/vue/chunks/UiListItem.js +60 -54
- package/vue/chunks/UiListbox.js +83 -72
- package/vue/chunks/UiMenu.js +71 -63
- package/vue/chunks/UiMenuGroup.js +22 -11
- package/vue/chunks/UiMenuItem.js +63 -54
- package/vue/chunks/UiMeter.js +124 -119
- package/vue/chunks/UiNavItem.js +64 -62
- package/vue/chunks/UiPageHeader.js +22 -11
- package/vue/chunks/UiPopover.js +49 -38
- package/vue/chunks/UiRadio.js +63 -54
- package/vue/chunks/UiRadioGroup.js +77 -70
- package/vue/chunks/UiReel.js +35 -30
- package/vue/chunks/UiScrollArea.js +55 -46
- package/vue/chunks/UiSearchResultRow.js +39 -30
- package/vue/chunks/UiSearchShell.js +49 -38
- package/vue/chunks/UiSection.js +39 -30
- package/vue/chunks/UiSelect.js +57 -48
- package/vue/chunks/UiSeparator.js +46 -38
- package/vue/chunks/UiSidebar.js +88 -78
- package/vue/chunks/UiSpinner.js +32 -22
- package/vue/chunks/UiStack.js +47 -46
- package/vue/chunks/UiStatusMessage.js +39 -30
- package/vue/chunks/UiSwatch.js +28 -14
- package/vue/chunks/UiSwitch.js +63 -54
- package/vue/chunks/UiSwitcher.js +44 -38
- package/vue/chunks/UiTable.js +34 -22
- package/vue/chunks/UiTabs.js +73 -62
- package/vue/chunks/UiText.js +95 -94
- package/vue/chunks/UiTextarea.js +84 -80
- package/vue/chunks/UiToast.js +34 -22
- package/vue/chunks/UiToastRegion.js +36 -23
- package/vue/chunks/UiTooltip.js +70 -62
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +69 -62
- package/vue/chunks/UiTreeItem.js +154 -151
- package/vue/chunks/_plugin-vue_export-helper.js +185 -36
- package/vue/chunks/control.js +6 -1
- package/vue/chunks/props.js +435 -11
- package/vue/components.css +39 -39
- package/vue/editor/index.js +129 -291
- package/vue/host.ts +320 -14
- package/vue/props.d.ts +272 -0
package/vue/chunks/UiText.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as preserveRootFocus, i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as vPropValidity, i as checkPropInput, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiText.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
@@ -162,50 +162,18 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
162
162
|
inheritAttrs: false,
|
|
163
163
|
__name: "UiText",
|
|
164
164
|
props: {
|
|
165
|
-
align: {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
},
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
},
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
177
|
-
grow: {
|
|
178
|
-
type: null,
|
|
179
|
-
default: false
|
|
180
|
-
},
|
|
181
|
-
size: {
|
|
182
|
-
type: null,
|
|
183
|
-
default: "inherit"
|
|
184
|
-
},
|
|
185
|
-
tone: {
|
|
186
|
-
type: null,
|
|
187
|
-
default: "default"
|
|
188
|
-
},
|
|
189
|
-
trim: {
|
|
190
|
-
type: null,
|
|
191
|
-
default: false
|
|
192
|
-
},
|
|
193
|
-
truncate: {
|
|
194
|
-
type: null,
|
|
195
|
-
default: false
|
|
196
|
-
},
|
|
197
|
-
variant: {
|
|
198
|
-
type: null,
|
|
199
|
-
default: "body"
|
|
200
|
-
},
|
|
201
|
-
weight: {
|
|
202
|
-
type: null,
|
|
203
|
-
default: "inherit"
|
|
204
|
-
},
|
|
205
|
-
wrap: {
|
|
206
|
-
type: null,
|
|
207
|
-
default: "normal"
|
|
208
|
-
}
|
|
165
|
+
align: { type: null },
|
|
166
|
+
as: { type: null },
|
|
167
|
+
font: { type: null },
|
|
168
|
+
grow: { type: null },
|
|
169
|
+
size: { type: null },
|
|
170
|
+
tone: { type: null },
|
|
171
|
+
trim: { type: null },
|
|
172
|
+
truncate: { type: null },
|
|
173
|
+
variant: { type: null },
|
|
174
|
+
weight: { type: null },
|
|
175
|
+
wrap: { type: null },
|
|
176
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
209
177
|
},
|
|
210
178
|
setup(__props) {
|
|
211
179
|
const propValidityContract = { props: {
|
|
@@ -365,7 +333,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
365
333
|
}
|
|
366
334
|
} };
|
|
367
335
|
const props = __props;
|
|
368
|
-
const
|
|
336
|
+
const inputTracking = vuePropInputs({
|
|
369
337
|
align: "start",
|
|
370
338
|
as: "p",
|
|
371
339
|
font: "inherit",
|
|
@@ -377,53 +345,86 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
377
345
|
variant: "body",
|
|
378
346
|
weight: "inherit",
|
|
379
347
|
wrap: "normal"
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
348
|
+
}, {
|
|
349
|
+
align: "start",
|
|
350
|
+
as: "p",
|
|
351
|
+
font: "inherit",
|
|
352
|
+
grow: false,
|
|
353
|
+
size: "inherit",
|
|
354
|
+
tone: "default",
|
|
355
|
+
trim: false,
|
|
356
|
+
truncate: false,
|
|
357
|
+
variant: "body",
|
|
358
|
+
weight: "inherit",
|
|
359
|
+
wrap: "normal"
|
|
360
|
+
}, (name, value, source, values) => {
|
|
361
|
+
switch (name) {
|
|
362
|
+
case "align": return checkPropInput(value, {
|
|
363
|
+
kind: "terminal",
|
|
364
|
+
name: "keyword"
|
|
365
|
+
}, true, true);
|
|
366
|
+
case "as": return checkPropInput(value, {
|
|
367
|
+
kind: "terminal",
|
|
368
|
+
name: "keyword"
|
|
369
|
+
}, true, true);
|
|
370
|
+
case "font": return checkPropInput(value, {
|
|
371
|
+
kind: "terminal",
|
|
372
|
+
name: "keyword"
|
|
373
|
+
}, true, true);
|
|
374
|
+
case "grow": return checkPropInput(value, {
|
|
375
|
+
kind: "terminal",
|
|
376
|
+
name: "boolean"
|
|
377
|
+
}, true, true);
|
|
378
|
+
case "size": return checkPropInput(value, {
|
|
379
|
+
kind: "terminal",
|
|
380
|
+
name: "keyword"
|
|
381
|
+
}, true, true);
|
|
382
|
+
case "tone": return checkPropInput(value, {
|
|
383
|
+
kind: "terminal",
|
|
384
|
+
name: "keyword"
|
|
385
|
+
}, true, true);
|
|
386
|
+
case "trim": return checkPropInput(value, {
|
|
387
|
+
kind: "terminal",
|
|
388
|
+
name: "boolean"
|
|
389
|
+
}, true, true);
|
|
390
|
+
case "truncate": return checkPropInput(value, {
|
|
391
|
+
kind: "terminal",
|
|
392
|
+
name: "boolean"
|
|
393
|
+
}, true, true);
|
|
394
|
+
case "variant": return checkPropInput(value, {
|
|
395
|
+
kind: "terminal",
|
|
396
|
+
name: "keyword"
|
|
397
|
+
}, true, true);
|
|
398
|
+
case "weight": return checkPropInput(value, {
|
|
399
|
+
kind: "terminal",
|
|
400
|
+
name: "keyword"
|
|
401
|
+
}, true, true);
|
|
402
|
+
case "wrap": return checkPropInput(value, {
|
|
403
|
+
kind: "terminal",
|
|
404
|
+
name: "keyword"
|
|
405
|
+
}, true, true);
|
|
406
|
+
default: return { ok: false };
|
|
407
|
+
}
|
|
408
|
+
}, () => {
|
|
409
|
+
checkedProps.value;
|
|
410
|
+
});
|
|
411
|
+
const propInputs = inputTracking.inputs;
|
|
412
|
+
const checkedProps = computed(() => {
|
|
413
|
+
inputTracking.version.value;
|
|
414
|
+
return {
|
|
415
|
+
align: propInputs.value("align", props["align"], props[BINDING_INPUTS_PROP]),
|
|
416
|
+
as: propInputs.value("as", props["as"], props[BINDING_INPUTS_PROP]),
|
|
417
|
+
font: propInputs.value("font", props["font"], props[BINDING_INPUTS_PROP]),
|
|
418
|
+
grow: propInputs.value("grow", props["grow"], props[BINDING_INPUTS_PROP]),
|
|
419
|
+
size: propInputs.value("size", props["size"], props[BINDING_INPUTS_PROP]),
|
|
420
|
+
tone: propInputs.value("tone", props["tone"], props[BINDING_INPUTS_PROP]),
|
|
421
|
+
trim: propInputs.value("trim", props["trim"], props[BINDING_INPUTS_PROP]),
|
|
422
|
+
truncate: propInputs.value("truncate", props["truncate"], props[BINDING_INPUTS_PROP]),
|
|
423
|
+
variant: propInputs.value("variant", props["variant"], props[BINDING_INPUTS_PROP]),
|
|
424
|
+
weight: propInputs.value("weight", props["weight"], props[BINDING_INPUTS_PROP]),
|
|
425
|
+
wrap: propInputs.value("wrap", props["wrap"], props[BINDING_INPUTS_PROP])
|
|
426
|
+
};
|
|
427
|
+
});
|
|
427
428
|
checkedProps.value;
|
|
428
429
|
watchSyncEffect(() => {
|
|
429
430
|
checkedProps.value;
|
|
@@ -698,6 +699,6 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
698
699
|
}]]);
|
|
699
700
|
};
|
|
700
701
|
}
|
|
701
|
-
}), [["__scopeId", "data-v-
|
|
702
|
+
}), [["__scopeId", "data-v-9ffbbece"]]);
|
|
702
703
|
//#endregion
|
|
703
704
|
export { UiText_default as t };
|
package/vue/chunks/UiTextarea.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import { a as vPropValidity,
|
|
2
|
+
import { a as checkedProp, f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { n as readBoundControl, r as vBindControl } from "./control.js";
|
|
4
4
|
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, unref, watchSyncEffect, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiTextarea.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -26,42 +26,16 @@ var UiTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
26
26
|
inheritAttrs: false,
|
|
27
27
|
__name: "UiTextarea",
|
|
28
28
|
props: {
|
|
29
|
-
autosize: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
default: false
|
|
40
|
-
},
|
|
41
|
-
maxRows: {
|
|
42
|
-
type: null,
|
|
43
|
-
default: null
|
|
44
|
-
},
|
|
45
|
-
readonly: {
|
|
46
|
-
type: null,
|
|
47
|
-
default: false
|
|
48
|
-
},
|
|
49
|
-
required: {
|
|
50
|
-
type: null,
|
|
51
|
-
default: false
|
|
52
|
-
},
|
|
53
|
-
rows: {
|
|
54
|
-
type: null,
|
|
55
|
-
default: 4
|
|
56
|
-
},
|
|
57
|
-
size: {
|
|
58
|
-
type: null,
|
|
59
|
-
default: "md"
|
|
60
|
-
},
|
|
61
|
-
value: {
|
|
62
|
-
type: null,
|
|
63
|
-
default: null
|
|
64
|
-
},
|
|
29
|
+
autosize: { type: null },
|
|
30
|
+
disabled: { type: null },
|
|
31
|
+
invalid: { type: null },
|
|
32
|
+
maxRows: { type: null },
|
|
33
|
+
readonly: { type: null },
|
|
34
|
+
required: { type: null },
|
|
35
|
+
rows: { type: null },
|
|
36
|
+
size: { type: null },
|
|
37
|
+
value: { type: null },
|
|
38
|
+
[BINDING_INPUTS_PROP]: { type: null },
|
|
65
39
|
modelValue: { type: null }
|
|
66
40
|
},
|
|
67
41
|
emits: ["update:modelValue"],
|
|
@@ -173,48 +147,76 @@ var UiTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
173
147
|
size: "md",
|
|
174
148
|
value: null
|
|
175
149
|
};
|
|
176
|
-
const
|
|
177
|
-
autosize:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
150
|
+
const inputTracking = vuePropInputs(acceptedProps, {
|
|
151
|
+
autosize: false,
|
|
152
|
+
disabled: false,
|
|
153
|
+
invalid: false,
|
|
154
|
+
readonly: false,
|
|
155
|
+
required: false,
|
|
156
|
+
rows: 4,
|
|
157
|
+
size: "md"
|
|
158
|
+
}, (name, value, source, values) => {
|
|
159
|
+
switch (name) {
|
|
160
|
+
case "autosize": return checkPropInput(value, {
|
|
161
|
+
kind: "terminal",
|
|
162
|
+
name: "boolean"
|
|
163
|
+
}, true, true);
|
|
164
|
+
case "disabled": return checkPropInput(value, {
|
|
165
|
+
kind: "terminal",
|
|
166
|
+
name: "boolean"
|
|
167
|
+
}, true, true);
|
|
168
|
+
case "invalid": return checkPropInput(value, {
|
|
169
|
+
kind: "terminal",
|
|
170
|
+
name: "boolean"
|
|
171
|
+
}, true, true);
|
|
172
|
+
case "maxRows": return checkPropInput(value, {
|
|
173
|
+
kind: "terminal",
|
|
174
|
+
name: "integer"
|
|
175
|
+
}, true, true);
|
|
176
|
+
case "readonly": return checkPropInput(value, {
|
|
177
|
+
kind: "terminal",
|
|
178
|
+
name: "boolean"
|
|
179
|
+
}, true, true);
|
|
180
|
+
case "required": return checkPropInput(value, {
|
|
181
|
+
kind: "terminal",
|
|
182
|
+
name: "boolean"
|
|
183
|
+
}, true, true);
|
|
184
|
+
case "rows": return checkPropInput(value, {
|
|
185
|
+
kind: "terminal",
|
|
186
|
+
name: "integer"
|
|
187
|
+
}, true, true);
|
|
188
|
+
case "size": return checkPropInput(value, {
|
|
189
|
+
kind: "terminal",
|
|
190
|
+
name: "keyword"
|
|
191
|
+
}, true, true);
|
|
192
|
+
case "value": return checkPropInput(value, {
|
|
193
|
+
kind: "terminal",
|
|
194
|
+
name: "string"
|
|
195
|
+
}, true, true);
|
|
196
|
+
default: return { ok: false };
|
|
197
|
+
}
|
|
198
|
+
}, () => {
|
|
199
|
+
checkedProps.value;
|
|
200
|
+
});
|
|
201
|
+
const propInputs = inputTracking.inputs;
|
|
202
|
+
const checkedProps = computed(() => {
|
|
203
|
+
inputTracking.version.value;
|
|
204
|
+
return {
|
|
205
|
+
autosize: propInputs.value("autosize", props["autosize"], props[BINDING_INPUTS_PROP]),
|
|
206
|
+
disabled: propInputs.value("disabled", props["disabled"], props[BINDING_INPUTS_PROP]),
|
|
207
|
+
invalid: propInputs.value("invalid", props["invalid"], props[BINDING_INPUTS_PROP]),
|
|
208
|
+
maxRows: propInputs.value("maxRows", props["maxRows"], props[BINDING_INPUTS_PROP]),
|
|
209
|
+
readonly: propInputs.value("readonly", props["readonly"], props[BINDING_INPUTS_PROP]),
|
|
210
|
+
required: propInputs.value("required", props["required"], props[BINDING_INPUTS_PROP]),
|
|
211
|
+
rows: propInputs.value("rows", props["rows"], props[BINDING_INPUTS_PROP]),
|
|
212
|
+
size: propInputs.value("size", props["size"], props[BINDING_INPUTS_PROP]),
|
|
213
|
+
value: propInputs.value("value", props["value"], props[BINDING_INPUTS_PROP]),
|
|
214
|
+
modelValue: checkedProp(props.modelValue, {
|
|
215
|
+
kind: "terminal",
|
|
216
|
+
name: "string"
|
|
217
|
+
}, false, "modelValue", acceptedProps)
|
|
218
|
+
};
|
|
219
|
+
});
|
|
218
220
|
checkedProps.value;
|
|
219
221
|
watchSyncEffect(() => {
|
|
220
222
|
checkedProps.value;
|
|
@@ -245,6 +247,8 @@ var UiTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
245
247
|
definition: "./components/ui-textarea/ui-textarea.html"
|
|
246
248
|
},
|
|
247
249
|
props: checkedProps,
|
|
250
|
+
inputs: propInputs,
|
|
251
|
+
inputTracking,
|
|
248
252
|
propInputs: (name) => {
|
|
249
253
|
const incoming = hydrationInstance?.vnode.props;
|
|
250
254
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -303,6 +307,6 @@ var UiTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
|
|
|
303
307
|
}]]);
|
|
304
308
|
};
|
|
305
309
|
}
|
|
306
|
-
}), [["__scopeId", "data-v-
|
|
310
|
+
}), [["__scopeId", "data-v-3f7890bc"]]);
|
|
307
311
|
//#endregion
|
|
308
312
|
export { UiTextarea_default as t };
|
package/vue/chunks/UiToast.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, r as attribute, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
4
|
import { t as UiIconButton_default } from "./UiIconButton.js";
|
|
5
5
|
import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
@@ -20,14 +20,9 @@ var UiToast_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
20
20
|
inheritAttrs: false,
|
|
21
21
|
__name: "UiToast",
|
|
22
22
|
props: {
|
|
23
|
-
duration: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
tone: {
|
|
28
|
-
type: null,
|
|
29
|
-
default: "neutral"
|
|
30
|
-
}
|
|
23
|
+
duration: { type: null },
|
|
24
|
+
tone: { type: null },
|
|
25
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
31
26
|
},
|
|
32
27
|
emits: ["dismiss"],
|
|
33
28
|
setup(__props, { emit: __emit }) {
|
|
@@ -61,20 +56,35 @@ var UiToast_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
61
56
|
}
|
|
62
57
|
} };
|
|
63
58
|
const props = __props;
|
|
64
|
-
const
|
|
59
|
+
const inputTracking = vuePropInputs({
|
|
65
60
|
duration: 0,
|
|
66
61
|
tone: "neutral"
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
62
|
+
}, {
|
|
63
|
+
duration: 0,
|
|
64
|
+
tone: "neutral"
|
|
65
|
+
}, (name, value, source, values) => {
|
|
66
|
+
switch (name) {
|
|
67
|
+
case "duration": return checkPropInput(value, {
|
|
68
|
+
kind: "terminal",
|
|
69
|
+
name: "number"
|
|
70
|
+
}, true, true);
|
|
71
|
+
case "tone": return checkPropInput(value, {
|
|
72
|
+
kind: "terminal",
|
|
73
|
+
name: "keyword"
|
|
74
|
+
}, true, true);
|
|
75
|
+
default: return { ok: false };
|
|
76
|
+
}
|
|
77
|
+
}, () => {
|
|
78
|
+
checkedProps.value;
|
|
79
|
+
});
|
|
80
|
+
const propInputs = inputTracking.inputs;
|
|
81
|
+
const checkedProps = computed(() => {
|
|
82
|
+
inputTracking.version.value;
|
|
83
|
+
return {
|
|
84
|
+
duration: propInputs.value("duration", props["duration"], props[BINDING_INPUTS_PROP]),
|
|
85
|
+
tone: propInputs.value("tone", props["tone"], props[BINDING_INPUTS_PROP])
|
|
86
|
+
};
|
|
87
|
+
});
|
|
78
88
|
checkedProps.value;
|
|
79
89
|
watchSyncEffect(() => {
|
|
80
90
|
checkedProps.value;
|
|
@@ -101,6 +111,8 @@ var UiToast_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
101
111
|
definition: "./components/ui-toast/ui-toast.html"
|
|
102
112
|
},
|
|
103
113
|
props: checkedProps,
|
|
114
|
+
inputs: propInputs,
|
|
115
|
+
inputTracking,
|
|
104
116
|
propInputs: (name) => {
|
|
105
117
|
const incoming = hydrationInstance?.vnode.props;
|
|
106
118
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -156,6 +168,6 @@ var UiToast_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
|
|
|
156
168
|
}]]);
|
|
157
169
|
};
|
|
158
170
|
}
|
|
159
|
-
}), [["__scopeId", "data-v-
|
|
171
|
+
}), [["__scopeId", "data-v-fa7d05c3"]]);
|
|
160
172
|
//#endregion
|
|
161
173
|
export { UiToast_default as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as uniqueKeys, a as concat, i as checkHydratedRoot, n as KeyedBoundary, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { t as UiIcon_default } from "./UiIcon.js";
|
|
4
4
|
import { t as UiIconButton_default } from "./UiIconButton.js";
|
|
5
5
|
import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
@@ -25,14 +25,9 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
25
25
|
inheritAttrs: false,
|
|
26
26
|
__name: "UiToastRegion",
|
|
27
27
|
props: {
|
|
28
|
-
duration: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
placement: {
|
|
33
|
-
type: null,
|
|
34
|
-
default: "top"
|
|
35
|
-
}
|
|
28
|
+
duration: { type: null },
|
|
29
|
+
placement: { type: null },
|
|
30
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
36
31
|
},
|
|
37
32
|
emits: [
|
|
38
33
|
"update:duration",
|
|
@@ -71,20 +66,35 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
71
66
|
}
|
|
72
67
|
} };
|
|
73
68
|
const props = __props;
|
|
74
|
-
const
|
|
69
|
+
const inputTracking = vuePropInputs({
|
|
75
70
|
duration: 0,
|
|
76
71
|
placement: "top"
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
72
|
+
}, {
|
|
73
|
+
duration: 0,
|
|
74
|
+
placement: "top"
|
|
75
|
+
}, (name, value, source, values) => {
|
|
76
|
+
switch (name) {
|
|
77
|
+
case "duration": return checkPropInput(value, {
|
|
78
|
+
kind: "terminal",
|
|
79
|
+
name: "number"
|
|
80
|
+
}, true, true);
|
|
81
|
+
case "placement": return checkPropInput(value, {
|
|
82
|
+
kind: "terminal",
|
|
83
|
+
name: "keyword"
|
|
84
|
+
}, true, true);
|
|
85
|
+
default: return { ok: false };
|
|
86
|
+
}
|
|
87
|
+
}, () => {
|
|
88
|
+
checkedProps.value;
|
|
89
|
+
});
|
|
90
|
+
const propInputs = inputTracking.inputs;
|
|
91
|
+
const checkedProps = computed(() => {
|
|
92
|
+
inputTracking.version.value;
|
|
93
|
+
return {
|
|
94
|
+
duration: propInputs.value("duration", props["duration"], props[BINDING_INPUTS_PROP]),
|
|
95
|
+
placement: propInputs.value("placement", props["placement"], props[BINDING_INPUTS_PROP])
|
|
96
|
+
};
|
|
97
|
+
});
|
|
88
98
|
checkedProps.value;
|
|
89
99
|
watchSyncEffect(() => {
|
|
90
100
|
checkedProps.value;
|
|
@@ -103,7 +113,7 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
103
113
|
"reason",
|
|
104
114
|
"trigger"
|
|
105
115
|
].includes(key));
|
|
106
|
-
const isShowToastDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && typeof detail["message"] === "string" && (detail["id"]
|
|
116
|
+
const isShowToastDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && typeof detail["message"] === "string" && (detail["id"] == null || typeof detail["id"] === "string") && (detail["tone"] == null || detail["tone"] === "neutral" || detail["tone"] === "info" || detail["tone"] === "success" || detail["tone"] === "warning" || detail["tone"] === "danger") && (detail["duration"] == null || typeof detail["duration"] === "number" && Number.isFinite(detail["duration"])) && Object.keys(detail).every((key) => [
|
|
107
117
|
"message",
|
|
108
118
|
"id",
|
|
109
119
|
"tone",
|
|
@@ -182,11 +192,14 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
182
192
|
open: false
|
|
183
193
|
}
|
|
184
194
|
} }[name], keys),
|
|
195
|
+
initials: { toasts: [] },
|
|
185
196
|
controllerSource: {
|
|
186
197
|
specifier: "../components/ui-toast-region/ui-toast-region.js",
|
|
187
198
|
definition: "./components/ui-toast-region/ui-toast-region.html"
|
|
188
199
|
},
|
|
189
200
|
props: checkedProps,
|
|
201
|
+
inputs: propInputs,
|
|
202
|
+
inputTracking,
|
|
190
203
|
propInputs: (name) => {
|
|
191
204
|
const incoming = hydrationInstance?.vnode.props;
|
|
192
205
|
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
@@ -256,6 +269,6 @@ var UiToastRegion_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
|
|
|
256
269
|
}]]);
|
|
257
270
|
};
|
|
258
271
|
}
|
|
259
|
-
}), [["__scopeId", "data-v-
|
|
272
|
+
}), [["__scopeId", "data-v-b004e93c"]]);
|
|
260
273
|
//#endregion
|
|
261
274
|
export { UiToastRegion_default as t };
|