@threadlabs/looma 0.28.22 → 0.29.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.
Files changed (425) hide show
  1. package/components/ui-editor-code-language/ui-editor-code-language.html +1 -1
  2. package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.html +1 -2
  3. package/components/ui-editor-link-form/ui-editor-link-form.html +2 -3
  4. package/components/ui-tooltip/ui-tooltip.html +5 -2
  5. package/dist/index.js +1 -1
  6. package/editor/image-uploads.d.ts +23 -15
  7. package/editor/link-editing.d.ts +4 -4
  8. package/editor/requests.d.ts +43 -0
  9. package/package.json +3 -3
  10. package/styles/ui-action-bar.css +1 -1
  11. package/styles/ui-affordance-scope.css +1 -1
  12. package/styles/ui-avatar-group.css +1 -1
  13. package/styles/ui-avatar.css +1 -1
  14. package/styles/ui-badge.css +1 -1
  15. package/styles/ui-breadcrumb-item.css +1 -1
  16. package/styles/ui-breadcrumbs.css +1 -1
  17. package/styles/ui-button.css +1 -1
  18. package/styles/ui-callout.css +1 -1
  19. package/styles/ui-card.css +1 -1
  20. package/styles/ui-checkbox.css +1 -1
  21. package/styles/ui-cluster.css +1 -1
  22. package/styles/ui-combobox.css +1 -1
  23. package/styles/ui-container.css +1 -1
  24. package/styles/ui-context-menu.css +1 -1
  25. package/styles/ui-cover.css +1 -1
  26. package/styles/ui-description-item.css +1 -1
  27. package/styles/ui-description-list.css +1 -1
  28. package/styles/ui-dialog.css +1 -1
  29. package/styles/ui-disclosure.css +1 -1
  30. package/styles/ui-editable.css +1 -1
  31. package/styles/ui-editor-block-actions.css +1 -1
  32. package/styles/ui-editor-chip-editor.css +1 -1
  33. package/styles/ui-editor-code-language.css +1 -1
  34. package/styles/ui-editor-image-toolbar.css +1 -1
  35. package/styles/ui-editor-insert-table-grid.css +1 -1
  36. package/styles/ui-editor-link-card.css +1 -1
  37. package/styles/ui-editor-link-form.css +1 -1
  38. package/styles/ui-editor-mention-menu-item.css +1 -1
  39. package/styles/ui-editor-mention-menu.css +1 -1
  40. package/styles/ui-editor-slash-menu-group.css +1 -1
  41. package/styles/ui-editor-slash-menu-item.css +1 -1
  42. package/styles/ui-editor-slash-menu.css +1 -1
  43. package/styles/ui-editor-surface.css +1 -1
  44. package/styles/ui-editor-table-context-menu.css +1 -1
  45. package/styles/ui-editor-table-overlay.css +1 -1
  46. package/styles/ui-editor-table-toolbar.css +1 -1
  47. package/styles/ui-editor-toolbar.css +1 -1
  48. package/styles/ui-floating-action-button.css +1 -1
  49. package/styles/ui-form-field.css +1 -1
  50. package/styles/ui-grid.css +1 -1
  51. package/styles/ui-icon-button.css +1 -1
  52. package/styles/ui-icon.css +1 -1
  53. package/styles/ui-image.css +1 -1
  54. package/styles/ui-input-group.css +1 -1
  55. package/styles/ui-input.css +1 -1
  56. package/styles/ui-list-item.css +1 -1
  57. package/styles/ui-list.css +1 -1
  58. package/styles/ui-listbox.css +1 -1
  59. package/styles/ui-menu-group.css +1 -1
  60. package/styles/ui-menu-item.css +1 -1
  61. package/styles/ui-menu.css +1 -1
  62. package/styles/ui-meter.css +1 -1
  63. package/styles/ui-nav-item.css +1 -1
  64. package/styles/ui-page-header.css +1 -1
  65. package/styles/ui-popover.css +1 -1
  66. package/styles/ui-radio-group.css +1 -1
  67. package/styles/ui-radio.css +1 -1
  68. package/styles/ui-reel.css +1 -1
  69. package/styles/ui-scroll-area.css +1 -1
  70. package/styles/ui-search-result-row.css +1 -1
  71. package/styles/ui-search-shell.css +1 -1
  72. package/styles/ui-section.css +1 -1
  73. package/styles/ui-select.css +1 -1
  74. package/styles/ui-separator.css +1 -1
  75. package/styles/ui-sidebar.css +1 -1
  76. package/styles/ui-spinner.css +1 -1
  77. package/styles/ui-stack.css +1 -1
  78. package/styles/ui-status-message.css +1 -1
  79. package/styles/ui-swatch.css +1 -1
  80. package/styles/ui-switch.css +1 -1
  81. package/styles/ui-switcher.css +1 -1
  82. package/styles/ui-table.css +1 -1
  83. package/styles/ui-tabs.css +1 -1
  84. package/styles/ui-text.css +1 -1
  85. package/styles/ui-textarea.css +1 -1
  86. package/styles/ui-toast-region.css +1 -1
  87. package/styles/ui-toast.css +1 -1
  88. package/styles/ui-tooltip.css +7 -2
  89. package/styles/ui-top-bar.css +1 -1
  90. package/styles/ui-tree-item.css +1 -1
  91. package/styles/ui-tree.css +1 -1
  92. package/vanilla/UiActionBar.d.ts +1 -1
  93. package/vanilla/UiActionBar.js +6 -6
  94. package/vanilla/UiAffordanceScope.d.ts +1 -1
  95. package/vanilla/UiAffordanceScope.js +1 -1
  96. package/vanilla/UiAvatar.d.ts +1 -1
  97. package/vanilla/UiAvatar.js +7 -7
  98. package/vanilla/UiAvatarGroup.d.ts +1 -1
  99. package/vanilla/UiAvatarGroup.js +4 -4
  100. package/vanilla/UiBadge.d.ts +1 -1
  101. package/vanilla/UiBadge.js +4 -4
  102. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  103. package/vanilla/UiBreadcrumbItem.js +3 -3
  104. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  105. package/vanilla/UiBreadcrumbs.js +1 -1
  106. package/vanilla/UiButton.d.ts +1 -1
  107. package/vanilla/UiButton.js +17 -17
  108. package/vanilla/UiCallout.d.ts +1 -1
  109. package/vanilla/UiCallout.js +13 -13
  110. package/vanilla/UiCard.d.ts +1 -1
  111. package/vanilla/UiCard.js +1 -1
  112. package/vanilla/UiCheckbox.d.ts +1 -1
  113. package/vanilla/UiCheckbox.js +6 -6
  114. package/vanilla/UiCluster.d.ts +1 -1
  115. package/vanilla/UiCluster.js +1 -1
  116. package/vanilla/UiCombobox.d.ts +1 -1
  117. package/vanilla/UiCombobox.js +48 -48
  118. package/vanilla/UiContainer.d.ts +1 -1
  119. package/vanilla/UiContainer.js +1 -1
  120. package/vanilla/UiContextMenu.d.ts +1 -1
  121. package/vanilla/UiContextMenu.js +1 -1
  122. package/vanilla/UiCover.d.ts +1 -1
  123. package/vanilla/UiCover.js +1 -1
  124. package/vanilla/UiDescriptionItem.d.ts +1 -1
  125. package/vanilla/UiDescriptionItem.js +4 -4
  126. package/vanilla/UiDescriptionList.d.ts +1 -1
  127. package/vanilla/UiDescriptionList.js +1 -1
  128. package/vanilla/UiDialog.d.ts +1 -1
  129. package/vanilla/UiDialog.js +7 -7
  130. package/vanilla/UiDisclosure.d.ts +1 -1
  131. package/vanilla/UiDisclosure.js +8 -8
  132. package/vanilla/UiEditable.d.ts +1 -1
  133. package/vanilla/UiEditable.js +11 -11
  134. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  135. package/vanilla/UiEditorBlockActions.js +3 -3
  136. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  137. package/vanilla/UiEditorChipEditor.js +4 -4
  138. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  139. package/vanilla/UiEditorCodeLanguage.js +7 -12
  140. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  141. package/vanilla/UiEditorImageToolbar.js +90 -95
  142. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  143. package/vanilla/UiEditorInsertTableGrid.js +7 -7
  144. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  145. package/vanilla/UiEditorLinkCard.js +13 -13
  146. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  147. package/vanilla/UiEditorLinkForm.js +32 -44
  148. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  149. package/vanilla/UiEditorMentionMenu.js +12 -12
  150. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  151. package/vanilla/UiEditorMentionMenuItem.js +4 -4
  152. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  153. package/vanilla/UiEditorSlashMenu.js +11 -11
  154. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  155. package/vanilla/UiEditorSlashMenuGroup.js +5 -5
  156. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  157. package/vanilla/UiEditorSlashMenuItem.js +4 -4
  158. package/vanilla/UiEditorSurface.d.ts +1 -1
  159. package/vanilla/UiEditorSurface.js +1 -1
  160. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  161. package/vanilla/UiEditorTableContextMenu.js +16 -16
  162. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  163. package/vanilla/UiEditorTableOverlay.js +18 -18
  164. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  165. package/vanilla/UiEditorTableToolbar.js +33 -33
  166. package/vanilla/UiEditorToolbar.d.ts +1 -1
  167. package/vanilla/UiEditorToolbar.js +1 -1
  168. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  169. package/vanilla/UiFloatingActionButton.js +1 -1
  170. package/vanilla/UiFormField.d.ts +1 -1
  171. package/vanilla/UiFormField.js +8 -8
  172. package/vanilla/UiGrid.d.ts +1 -1
  173. package/vanilla/UiGrid.js +1 -1
  174. package/vanilla/UiIcon.d.ts +1 -1
  175. package/vanilla/UiIcon.js +4 -4
  176. package/vanilla/UiIconButton.d.ts +1 -1
  177. package/vanilla/UiIconButton.js +4 -4
  178. package/vanilla/UiImage.d.ts +1 -1
  179. package/vanilla/UiImage.js +6 -6
  180. package/vanilla/UiInput.d.ts +1 -1
  181. package/vanilla/UiInput.js +1 -1
  182. package/vanilla/UiInputGroup.d.ts +1 -1
  183. package/vanilla/UiInputGroup.js +6 -6
  184. package/vanilla/UiList.d.ts +1 -1
  185. package/vanilla/UiList.js +1 -1
  186. package/vanilla/UiListItem.d.ts +1 -1
  187. package/vanilla/UiListItem.js +7 -7
  188. package/vanilla/UiListbox.d.ts +1 -1
  189. package/vanilla/UiListbox.js +12 -12
  190. package/vanilla/UiMenu.d.ts +1 -1
  191. package/vanilla/UiMenu.js +1 -1
  192. package/vanilla/UiMenuGroup.d.ts +1 -1
  193. package/vanilla/UiMenuGroup.js +4 -4
  194. package/vanilla/UiMenuItem.d.ts +1 -1
  195. package/vanilla/UiMenuItem.js +11 -11
  196. package/vanilla/UiMeter.d.ts +1 -1
  197. package/vanilla/UiMeter.js +8 -8
  198. package/vanilla/UiNavItem.d.ts +1 -1
  199. package/vanilla/UiNavItem.js +13 -13
  200. package/vanilla/UiPageHeader.d.ts +1 -1
  201. package/vanilla/UiPageHeader.js +8 -8
  202. package/vanilla/UiPopover.d.ts +1 -1
  203. package/vanilla/UiPopover.js +1 -1
  204. package/vanilla/UiRadio.d.ts +1 -1
  205. package/vanilla/UiRadio.js +6 -6
  206. package/vanilla/UiRadioGroup.d.ts +1 -1
  207. package/vanilla/UiRadioGroup.js +4 -4
  208. package/vanilla/UiReel.d.ts +1 -1
  209. package/vanilla/UiReel.js +1 -1
  210. package/vanilla/UiScrollArea.d.ts +1 -1
  211. package/vanilla/UiScrollArea.js +1 -1
  212. package/vanilla/UiSearchResultRow.d.ts +1 -1
  213. package/vanilla/UiSearchResultRow.js +8 -8
  214. package/vanilla/UiSearchShell.d.ts +1 -1
  215. package/vanilla/UiSearchShell.js +8 -8
  216. package/vanilla/UiSection.d.ts +1 -1
  217. package/vanilla/UiSection.js +8 -8
  218. package/vanilla/UiSelect.d.ts +1 -1
  219. package/vanilla/UiSelect.js +1 -1
  220. package/vanilla/UiSeparator.d.ts +1 -1
  221. package/vanilla/UiSeparator.js +1 -1
  222. package/vanilla/UiSidebar.d.ts +1 -1
  223. package/vanilla/UiSidebar.js +4 -4
  224. package/vanilla/UiSpinner.d.ts +1 -1
  225. package/vanilla/UiSpinner.js +2 -2
  226. package/vanilla/UiStack.d.ts +1 -1
  227. package/vanilla/UiStack.js +1 -1
  228. package/vanilla/UiStatusMessage.d.ts +1 -1
  229. package/vanilla/UiStatusMessage.js +7 -7
  230. package/vanilla/UiSwatch.d.ts +1 -1
  231. package/vanilla/UiSwatch.js +1 -1
  232. package/vanilla/UiSwitch.d.ts +1 -1
  233. package/vanilla/UiSwitch.js +6 -6
  234. package/vanilla/UiSwitcher.d.ts +1 -1
  235. package/vanilla/UiSwitcher.js +1 -1
  236. package/vanilla/UiTable.d.ts +1 -1
  237. package/vanilla/UiTable.js +1 -1
  238. package/vanilla/UiTabs.d.ts +1 -1
  239. package/vanilla/UiTabs.js +7 -7
  240. package/vanilla/UiText.d.ts +1 -1
  241. package/vanilla/UiText.js +1 -1
  242. package/vanilla/UiTextarea.d.ts +1 -1
  243. package/vanilla/UiTextarea.js +1 -1
  244. package/vanilla/UiToast.d.ts +1 -1
  245. package/vanilla/UiToast.js +5 -5
  246. package/vanilla/UiToastRegion.d.ts +1 -1
  247. package/vanilla/UiToastRegion.js +8 -8
  248. package/vanilla/UiTooltip.d.ts +1 -1
  249. package/vanilla/UiTooltip.js +9 -8
  250. package/vanilla/UiTopBar.d.ts +1 -1
  251. package/vanilla/UiTopBar.js +6 -6
  252. package/vanilla/UiTree.d.ts +1 -1
  253. package/vanilla/UiTree.js +1 -1
  254. package/vanilla/UiTreeItem.d.ts +1 -1
  255. package/vanilla/UiTreeItem.js +13 -13
  256. package/vue/UiActionBar.vue +8 -5
  257. package/vue/UiAffordanceScope.vue +1 -1
  258. package/vue/UiAvatar.vue +10 -11
  259. package/vue/UiAvatarGroup.vue +2 -3
  260. package/vue/UiBadge.vue +5 -3
  261. package/vue/UiBreadcrumbItem.vue +2 -3
  262. package/vue/UiBreadcrumbs.vue +1 -1
  263. package/vue/UiButton.vue +15 -13
  264. package/vue/UiCallout.vue +8 -15
  265. package/vue/UiCard.vue +1 -1
  266. package/vue/UiCheckbox.vue +5 -4
  267. package/vue/UiCluster.vue +1 -1
  268. package/vue/UiCombobox.vue +25 -27
  269. package/vue/UiContainer.vue +1 -1
  270. package/vue/UiContextMenu.vue +1 -1
  271. package/vue/UiCover.vue +1 -1
  272. package/vue/UiDescriptionItem.vue +1 -1
  273. package/vue/UiDescriptionList.vue +1 -1
  274. package/vue/UiDialog.vue +4 -3
  275. package/vue/UiDisclosure.vue +9 -8
  276. package/vue/UiEditable.vue +13 -9
  277. package/vue/UiEditorBlockActions.vue +5 -4
  278. package/vue/UiEditorChipEditor.vue +7 -9
  279. package/vue/UiEditorCodeLanguage.vue +2 -2
  280. package/vue/UiEditorImageToolbar.vue +25 -32
  281. package/vue/UiEditorInsertTableGrid.vue +1 -1
  282. package/vue/UiEditorLinkCard.vue +17 -20
  283. package/vue/UiEditorLinkForm.vue +21 -23
  284. package/vue/UiEditorMentionMenu.vue +9 -7
  285. package/vue/UiEditorMentionMenuItem.vue +5 -6
  286. package/vue/UiEditorSlashMenu.vue +3 -5
  287. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  288. package/vue/UiEditorSlashMenuItem.vue +5 -6
  289. package/vue/UiEditorSurface.vue +1 -1
  290. package/vue/UiEditorTableContextMenu.vue +4 -7
  291. package/vue/UiEditorTableOverlay.vue +26 -18
  292. package/vue/UiEditorTableToolbar.vue +23 -21
  293. package/vue/UiEditorToolbar.vue +1 -1
  294. package/vue/UiFloatingActionButton.vue +1 -1
  295. package/vue/UiFormField.vue +4 -3
  296. package/vue/UiGrid.vue +1 -1
  297. package/vue/UiIcon.vue +1 -1
  298. package/vue/UiIconButton.vue +4 -3
  299. package/vue/UiImage.vue +4 -7
  300. package/vue/UiInput.vue +1 -1
  301. package/vue/UiInputGroup.vue +7 -5
  302. package/vue/UiList.vue +1 -1
  303. package/vue/UiListItem.vue +10 -7
  304. package/vue/UiListbox.vue +3 -5
  305. package/vue/UiMenu.vue +1 -1
  306. package/vue/UiMenuGroup.vue +2 -3
  307. package/vue/UiMenuItem.vue +15 -10
  308. package/vue/UiMeter.vue +4 -5
  309. package/vue/UiNavItem.vue +19 -13
  310. package/vue/UiPageHeader.vue +8 -7
  311. package/vue/UiPopover.vue +1 -1
  312. package/vue/UiRadio.vue +10 -6
  313. package/vue/UiRadioGroup.vue +1 -1
  314. package/vue/UiReel.vue +1 -1
  315. package/vue/UiScrollArea.vue +1 -1
  316. package/vue/UiSearchResultRow.vue +11 -8
  317. package/vue/UiSearchShell.vue +1 -1
  318. package/vue/UiSection.vue +7 -4
  319. package/vue/UiSelect.vue +1 -1
  320. package/vue/UiSeparator.vue +1 -1
  321. package/vue/UiSidebar.vue +1 -1
  322. package/vue/UiSpinner.vue +1 -1
  323. package/vue/UiStack.vue +1 -1
  324. package/vue/UiStatusMessage.vue +10 -6
  325. package/vue/UiSwatch.vue +1 -1
  326. package/vue/UiSwitch.vue +10 -6
  327. package/vue/UiSwitcher.vue +1 -1
  328. package/vue/UiTable.vue +1 -1
  329. package/vue/UiTabs.vue +3 -3
  330. package/vue/UiText.vue +1 -1
  331. package/vue/UiTextarea.vue +1 -1
  332. package/vue/UiToast.vue +1 -1
  333. package/vue/UiToastRegion.vue +7 -5
  334. package/vue/UiTooltip.vue +10 -5
  335. package/vue/UiTopBar.vue +1 -1
  336. package/vue/UiTree.vue +1 -1
  337. package/vue/UiTreeItem.vue +14 -13
  338. package/vue/chunks/UiActionBar.js +4 -2
  339. package/vue/chunks/UiAffordanceScope.js +1 -1
  340. package/vue/chunks/UiAvatar.js +18 -12
  341. package/vue/chunks/UiAvatarGroup.js +15 -11
  342. package/vue/chunks/UiBadge.js +7 -3
  343. package/vue/chunks/UiBreadcrumbItem.js +10 -6
  344. package/vue/chunks/UiBreadcrumbs.js +1 -1
  345. package/vue/chunks/UiButton.js +10 -2
  346. package/vue/chunks/UiCallout.js +13 -3
  347. package/vue/chunks/UiCard.js +1 -1
  348. package/vue/chunks/UiCheckbox.js +35 -27
  349. package/vue/chunks/UiCluster.js +1 -1
  350. package/vue/chunks/UiCombobox.js +108 -74
  351. package/vue/chunks/UiContainer.js +1 -1
  352. package/vue/chunks/UiContextMenu.js +1 -1
  353. package/vue/chunks/UiCover.js +1 -1
  354. package/vue/chunks/UiDescriptionItem.js +1 -1
  355. package/vue/chunks/UiDescriptionList.js +1 -1
  356. package/vue/chunks/UiDialog.js +14 -10
  357. package/vue/chunks/UiDisclosure.js +3 -1
  358. package/vue/chunks/UiEditable.js +36 -24
  359. package/vue/chunks/UiEditorBlockActions.js +3 -1
  360. package/vue/chunks/UiEditorChipEditor.js +31 -22
  361. package/vue/chunks/UiEditorCodeLanguage.js +1 -1
  362. package/vue/chunks/UiEditorImageToolbar.js +45 -27
  363. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  364. package/vue/chunks/UiEditorLinkCard.js +58 -42
  365. package/vue/chunks/UiEditorLinkForm.js +110 -90
  366. package/vue/chunks/UiEditorMentionMenu.js +23 -14
  367. package/vue/chunks/UiEditorMentionMenuItem.js +6 -2
  368. package/vue/chunks/UiEditorSlashMenu.js +24 -16
  369. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  370. package/vue/chunks/UiEditorSlashMenuItem.js +10 -6
  371. package/vue/chunks/UiEditorSurface.js +1 -1
  372. package/vue/chunks/UiEditorTableContextMenu.js +65 -53
  373. package/vue/chunks/UiEditorTableOverlay.js +60 -40
  374. package/vue/chunks/UiEditorTableToolbar.js +100 -74
  375. package/vue/chunks/UiEditorToolbar.js +1 -1
  376. package/vue/chunks/UiFloatingActionButton.js +1 -1
  377. package/vue/chunks/UiFormField.js +7 -3
  378. package/vue/chunks/UiGrid.js +1 -1
  379. package/vue/chunks/UiIcon.js +1 -1
  380. package/vue/chunks/UiIconButton.js +11 -7
  381. package/vue/chunks/UiImage.js +5 -2
  382. package/vue/chunks/UiInput.js +1 -1
  383. package/vue/chunks/UiInputGroup.js +5 -2
  384. package/vue/chunks/UiList.js +1 -1
  385. package/vue/chunks/UiListItem.js +9 -3
  386. package/vue/chunks/UiListbox.js +17 -11
  387. package/vue/chunks/UiMenu.js +1 -1
  388. package/vue/chunks/UiMenuGroup.js +7 -3
  389. package/vue/chunks/UiMenuItem.js +7 -2
  390. package/vue/chunks/UiMeter.js +28 -16
  391. package/vue/chunks/UiNavItem.js +20 -6
  392. package/vue/chunks/UiPageHeader.js +4 -2
  393. package/vue/chunks/UiPopover.js +1 -1
  394. package/vue/chunks/UiRadio.js +32 -24
  395. package/vue/chunks/UiRadioGroup.js +1 -1
  396. package/vue/chunks/UiReel.js +1 -1
  397. package/vue/chunks/UiScrollArea.js +1 -1
  398. package/vue/chunks/UiSearchResultRow.js +6 -2
  399. package/vue/chunks/UiSearchShell.js +1 -1
  400. package/vue/chunks/UiSection.js +15 -7
  401. package/vue/chunks/UiSelect.js +1 -1
  402. package/vue/chunks/UiSeparator.js +1 -1
  403. package/vue/chunks/UiSidebar.js +1 -1
  404. package/vue/chunks/UiSpinner.js +1 -1
  405. package/vue/chunks/UiStack.js +1 -1
  406. package/vue/chunks/UiStatusMessage.js +13 -7
  407. package/vue/chunks/UiSwatch.js +1 -1
  408. package/vue/chunks/UiSwitch.js +33 -25
  409. package/vue/chunks/UiSwitcher.js +1 -1
  410. package/vue/chunks/UiTable.js +1 -1
  411. package/vue/chunks/UiTabs.js +21 -17
  412. package/vue/chunks/UiText.js +1 -1
  413. package/vue/chunks/UiTextarea.js +1 -1
  414. package/vue/chunks/UiToast.js +1 -1
  415. package/vue/chunks/UiToastRegion.js +39 -31
  416. package/vue/chunks/UiTooltip.js +11 -3
  417. package/vue/chunks/UiTopBar.js +1 -1
  418. package/vue/chunks/UiTree.js +1 -1
  419. package/vue/chunks/UiTreeItem.js +25 -15
  420. package/vue/chunks/_plugin-vue_export-helper.js +1 -0
  421. package/vue/components.css +25 -21
  422. package/vue/editor/LoomaEditor.d.ts +90 -32
  423. package/vue/editor/index.d.ts +1 -1
  424. package/vue/editor/index.js +332 -53
  425. package/vue/host.ts +4 -1
@@ -498,6 +498,7 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
498
498
  default: withCtx(() => [createTextVNode(toDisplayString(unref(text)(unref(heading))), 1)]),
499
499
  _: 1
500
500
  }),
501
+ _cache[11] || (_cache[11] = createTextVNode(toDisplayString(" "), -1)),
501
502
  createVNode(UiStack_default, { gap: "s" }, {
502
503
  default: withCtx(() => [
503
504
  createVNode(UiFormField_default, { invalid: checkedProps.value.error !== "" }, {
@@ -543,110 +544,129 @@ var UiEditorLinkForm_default = /* @__PURE__ */ defineComponent({
543
544
  ]),
544
545
  _: 1
545
546
  })) : createCommentVNode("v-if", true),
546
- !checkedProps.value.searchable ? (openBlock(), createBlock(UiInput_default, {
547
- key: 1,
548
- "data-link-destination": "",
549
- type: "text",
550
- inputmode: "url",
551
- size: "sm",
552
- id: guardedBinding3.value,
553
- placeholder: checkedProps.value.placeholder,
554
- value: checkedProps.value.value
555
- }, null, 8, [
556
- "id",
557
- "placeholder",
558
- "value"
559
- ])) : createCommentVNode("v-if", true)
547
+ _cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
548
+ !checkedProps.value.searchable ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
549
+ _cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
550
+ createVNode(UiInput_default, {
551
+ "data-link-destination": "",
552
+ type: "text",
553
+ inputmode: "url",
554
+ size: "sm",
555
+ id: guardedBinding3.value,
556
+ placeholder: checkedProps.value.placeholder,
557
+ value: checkedProps.value.value
558
+ }, null, 8, [
559
+ "id",
560
+ "placeholder",
561
+ "value"
562
+ ]),
563
+ _cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1))
564
+ ], 64)) : createCommentVNode("v-if", true)
560
565
  ]),
561
566
  _: 1
562
567
  }, 8, ["invalid"]),
568
+ _cache[7] || (_cache[7] = createTextVNode(toDisplayString(" "), -1)),
563
569
  checkedProps.value.mode === "target" ? (openBlock(), createBlock(UiScrollArea_default, {
564
570
  key: 0,
565
571
  size: "sm",
566
572
  "aria-label": "Destination search results"
567
573
  }, {
568
- default: withCtx(() => [checkedProps.value.status !== "" ? (openBlock(), createBlock(UiText_default, {
569
- key: 0,
574
+ default: withCtx(() => [
575
+ checkedProps.value.status !== "" ? (openBlock(), createBlock(UiText_default, {
576
+ key: 0,
577
+ size: "sm",
578
+ tone: "secondary",
579
+ role: "status"
580
+ }, {
581
+ default: withCtx(() => [createTextVNode(toDisplayString(checkedProps.value.status), 1)]),
582
+ _: 1
583
+ })) : createCommentVNode("v-if", true),
584
+ _cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
585
+ createVNode(unref(KeyedBoundary), null, {
586
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(checkedProps.value.results ?? [], (result, index, loop) => result.id), (result) => {
587
+ return openBlock(), createBlock(UiSearchResultRow_default, {
588
+ key: result.id,
589
+ density: "compact",
590
+ "data-link-result": "",
591
+ selected: result.id === checkedProps.value.selected,
592
+ "data-link-id": result.id
593
+ }, {
594
+ default: withCtx(() => [
595
+ createVNode(UiIcon_default, {
596
+ slot: "leading",
597
+ name: "file-text"
598
+ }),
599
+ createVNode(UiText_default, {
600
+ slot: "title",
601
+ as: "strong",
602
+ size: "sm",
603
+ weight: "medium",
604
+ truncate: true,
605
+ title: result.label
606
+ }, {
607
+ default: withCtx(() => [createTextVNode(toDisplayString(result.label), 1)]),
608
+ _: 2
609
+ }, 1032, ["title"]),
610
+ result.detail ? (openBlock(), createBlock(UiText_default, {
611
+ key: 0,
612
+ slot: "meta",
613
+ as: "span",
614
+ size: "xs",
615
+ tone: "secondary",
616
+ truncate: true,
617
+ title: result.detail
618
+ }, {
619
+ default: withCtx(() => [createTextVNode(toDisplayString(result.detail), 1)]),
620
+ _: 2
621
+ }, 1032, ["title"])) : createCommentVNode("v-if", true),
622
+ result.id === checkedProps.value.selected ? (openBlock(), createBlock(UiIcon_default, {
623
+ key: 1,
624
+ slot: "trailing",
625
+ name: "check"
626
+ })) : createCommentVNode("v-if", true)
627
+ ]),
628
+ _: 2
629
+ }, 1032, ["selected", "data-link-id"]);
630
+ }), 128))]),
631
+ _: 1
632
+ })
633
+ ]),
634
+ _: 1
635
+ })) : createCommentVNode("v-if", true),
636
+ _cache[8] || (_cache[8] = createTextVNode(toDisplayString(" "), -1)),
637
+ checkedProps.value.mode === "url" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
638
+ _cache[5] || (_cache[5] = createTextVNode(toDisplayString(" "), -1)),
639
+ createVNode(UiCheckbox_default, {
570
640
  size: "sm",
571
- tone: "secondary",
572
- role: "status"
641
+ "data-link-new-tab": "",
642
+ checked: checkedProps.value.newTab
573
643
  }, {
574
- default: withCtx(() => [createTextVNode(toDisplayString(checkedProps.value.status), 1)]),
575
- _: 1
576
- })) : createCommentVNode("v-if", true), createVNode(unref(KeyedBoundary), null, {
577
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(checkedProps.value.results ?? [], (result, index, loop) => result.id), (result) => {
578
- return openBlock(), createBlock(UiSearchResultRow_default, {
579
- key: result.id,
580
- density: "compact",
581
- "data-link-result": "",
582
- selected: result.id === checkedProps.value.selected,
583
- "data-link-id": result.id
584
- }, {
585
- default: withCtx(() => [
586
- createVNode(UiIcon_default, {
587
- slot: "leading",
588
- name: "file-text"
589
- }),
590
- createVNode(UiText_default, {
591
- slot: "title",
592
- as: "strong",
593
- size: "sm",
594
- weight: "medium",
595
- truncate: true,
596
- title: result.label
597
- }, {
598
- default: withCtx(() => [createTextVNode(toDisplayString(result.label), 1)]),
599
- _: 2
600
- }, 1032, ["title"]),
601
- result.detail ? (openBlock(), createBlock(UiText_default, {
602
- key: 0,
603
- slot: "meta",
604
- as: "span",
605
- size: "xs",
606
- tone: "secondary",
607
- truncate: true,
608
- title: result.detail
609
- }, {
610
- default: withCtx(() => [createTextVNode(toDisplayString(result.detail), 1)]),
611
- _: 2
612
- }, 1032, ["title"])) : createCommentVNode("v-if", true),
613
- result.id === checkedProps.value.selected ? (openBlock(), createBlock(UiIcon_default, {
614
- key: 1,
615
- slot: "trailing",
616
- name: "check"
617
- })) : createCommentVNode("v-if", true)
618
- ]),
619
- _: 2
620
- }, 1032, ["selected", "data-link-id"]);
621
- }), 128))]),
644
+ default: withCtx(() => [..._cache[4] || (_cache[4] = [createTextVNode("Open in new tab", -1)])]),
622
645
  _: 1
623
- })]),
624
- _: 1
625
- })) : createCommentVNode("v-if", true),
626
- checkedProps.value.mode === "url" ? (openBlock(), createBlock(UiCheckbox_default, {
627
- key: 1,
628
- size: "sm",
629
- "data-link-new-tab": "",
630
- checked: checkedProps.value.newTab
631
- }, {
632
- default: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode("Open in new tab", -1)])]),
633
- _: 1
634
- }, 8, ["checked"])) : createCommentVNode("v-if", true)
646
+ }, 8, ["checked"]),
647
+ _cache[6] || (_cache[6] = createTextVNode(toDisplayString(" "), -1))
648
+ ], 64)) : createCommentVNode("v-if", true)
635
649
  ]),
636
650
  _: 1
637
651
  }),
638
- checkedProps.value.textEditable ? (openBlock(), createBlock(UiFormField_default, { key: 0 }, {
639
- default: withCtx(() => [createElementVNode("label", {
640
- slot: "label",
641
- for: guardedBinding4.value
642
- }, "Text", 8, _hoisted_3), createVNode(UiInput_default, {
643
- "data-link-text": "",
644
- size: "sm",
645
- id: guardedBinding5.value,
646
- value: checkedProps.value.text
647
- }, null, 8, ["id", "value"])]),
648
- _: 1
649
- })) : createCommentVNode("v-if", true),
652
+ _cache[12] || (_cache[12] = createTextVNode(toDisplayString(" "), -1)),
653
+ checkedProps.value.textEditable ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
654
+ _cache[9] || (_cache[9] = createTextVNode(toDisplayString(" "), -1)),
655
+ createVNode(UiFormField_default, null, {
656
+ default: withCtx(() => [createElementVNode("label", {
657
+ slot: "label",
658
+ for: guardedBinding4.value
659
+ }, "Text", 8, _hoisted_3), createVNode(UiInput_default, {
660
+ "data-link-text": "",
661
+ size: "sm",
662
+ id: guardedBinding5.value,
663
+ value: checkedProps.value.text
664
+ }, null, 8, ["id", "value"])]),
665
+ _: 1
666
+ }),
667
+ _cache[10] || (_cache[10] = createTextVNode(toDisplayString(" "), -1))
668
+ ], 64)) : createCommentVNode("v-if", true),
669
+ _cache[13] || (_cache[13] = createTextVNode(toDisplayString(" "), -1)),
650
670
  checkedProps.value.error !== "" ? (openBlock(), createBlock(UiText_default, {
651
671
  key: 1,
652
672
  size: "sm",
@@ -1,6 +1,6 @@
1
1
  import { a as concat, 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
2
  import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
3
- import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
3
+ import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiEditorMentionMenu.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
6
6
  "aria-busy",
@@ -568,18 +568,27 @@ var UiEditorMentionMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_defaul
568
568
  }), [
569
569
  createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "header", {}, void 0, true)]),
570
570
  searching.value ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(checkedProps.value.loadingLabel), 1)) : createCommentVNode("v-if", true),
571
- !searching.value ? (openBlock(), createElementBlock("ul", _hoisted_4, [(openBlock(true), createElementBlock(Fragment, null, renderList(rows.value, (row, index) => {
572
- return openBlock(), createElementBlock("li", {
573
- key: index,
574
- class: normalizeClass(["item", { active: index === active.value }]),
575
- role: "option",
576
- "data-hn-ui-editor-mention-menu": "",
577
- id: unref(concat)(prefix.value, "-option-", index),
578
- "aria-selected": index === active.value,
579
- "data-index": index,
580
- "data-value": row.id
581
- }, [createElementVNode("span", _hoisted_6, toDisplayString(row.initials), 1), createElementVNode("span", _hoisted_7, [createElementVNode("span", _hoisted_8, toDisplayString(row.label), 1), row.detail ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(row.detail), 1)) : createCommentVNode("v-if", true)])], 10, _hoisted_5);
582
- }), 128)), renderSlot(_ctx.$slots, "default", {}, void 0, true)])) : createCommentVNode("v-if", true),
571
+ _cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
572
+ !searching.value ? (openBlock(), createElementBlock("ul", _hoisted_4, [
573
+ (openBlock(true), createElementBlock(Fragment, null, renderList(rows.value, (row, index) => {
574
+ return openBlock(), createElementBlock("li", {
575
+ key: index,
576
+ class: normalizeClass(["item", { active: index === active.value }]),
577
+ role: "option",
578
+ "data-hn-ui-editor-mention-menu": "",
579
+ id: unref(concat)(prefix.value, "-option-", index),
580
+ "aria-selected": index === active.value,
581
+ "data-index": index,
582
+ "data-value": row.id
583
+ }, [
584
+ createElementVNode("span", _hoisted_6, toDisplayString(row.initials), 1),
585
+ _cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
586
+ createElementVNode("span", _hoisted_7, [createElementVNode("span", _hoisted_8, toDisplayString(row.label), 1), row.detail ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(row.detail), 1)) : createCommentVNode("v-if", true)])
587
+ ], 10, _hoisted_5);
588
+ }), 128)),
589
+ _cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
590
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
591
+ ])) : createCommentVNode("v-if", true),
583
592
  createElementVNode("div", {
584
593
  class: "empty",
585
594
  "data-hn-ui-editor-mention-menu": "",
@@ -592,6 +601,6 @@ var UiEditorMentionMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_defaul
592
601
  }]]);
593
602
  };
594
603
  }
595
- }), [["__scopeId", "data-v-a08de384"]]);
604
+ }), [["__scopeId", "data-v-056be20d"]]);
596
605
  //#endregion
597
606
  export { UiEditorMentionMenu_default as t };
@@ -116,12 +116,16 @@ var UiEditorMentionMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_de
116
116
  "data-ui-editor-mention-menu-item-prop-detail": unref(reflectedProp)("detail", "detail", checkedProps.value.detail, void 0, false),
117
117
  "data-ui-editor-mention-menu-item-prop-initials": unref(reflectedProp)("initials", "initials", checkedProps.value.initials, void 0, false),
118
118
  "data-ui-editor-mention-menu-item-prop-value": unref(reflectedProp)("value", "value", checkedProps.value.value, void 0, false)
119
- }), [createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "start", {}, () => [createTextVNode(toDisplayString(checkedProps.value.initials), 1)], true)]), createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), checkedProps.value.detail ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(checkedProps.value.detail), 1)) : createCommentVNode("v-if", true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
119
+ }), [
120
+ createElementVNode("span", _hoisted_2, [renderSlot(_ctx.$slots, "start", {}, () => [createTextVNode(toDisplayString(checkedProps.value.initials), 1)], true)]),
121
+ _cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
122
+ createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), checkedProps.value.detail ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(checkedProps.value.detail), 1)) : createCommentVNode("v-if", true)])
123
+ ], 16, _hoisted_1)), [[unref(vPropValidity), {
120
124
  contract: propValidityContract,
121
125
  values: { ...props }
122
126
  }]]);
123
127
  };
124
128
  }
125
- }), [["__scopeId", "data-v-614fe5d4"]]);
129
+ }), [["__scopeId", "data-v-0e62aedb"]]);
126
130
  //#endregion
127
131
  export { UiEditorMentionMenuItem_default as t };
@@ -1,7 +1,7 @@
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
2
  import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
3
3
  import { t as UiIcon_default } from "./UiIcon.js";
4
- import { Fragment, computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
4
+ import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiEditorSlashMenu.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "hidden",
@@ -503,20 +503,28 @@ var UiEditorSlashMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
503
503
  ref: root
504
504
  }), [
505
505
  createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "header", {}, void 0, true)]),
506
- createElementVNode("ul", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(rows.value, (item, index) => {
507
- return openBlock(), createElementBlock("li", {
508
- key: index,
509
- class: normalizeClass(["item", { active: index === active.value }]),
510
- role: "option",
511
- "data-hn-ui-editor-slash-menu": "",
512
- "aria-selected": index === active.value,
513
- "data-index": index,
514
- "data-value": item.value
515
- }, [createElementVNode("span", _hoisted_5, [createVNode(UiIcon_default, {
516
- class: "ui-icon",
517
- name: item.icon
518
- }, null, 8, ["name"])]), createElementVNode("span", _hoisted_6, [createElementVNode("span", _hoisted_7, toDisplayString(item.title), 1), createElementVNode("span", _hoisted_8, toDisplayString(item.description), 1)])], 10, _hoisted_4);
519
- }), 128)), renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
506
+ createElementVNode("ul", _hoisted_3, [
507
+ (openBlock(true), createElementBlock(Fragment, null, renderList(rows.value, (item, index) => {
508
+ return openBlock(), createElementBlock("li", {
509
+ key: index,
510
+ class: normalizeClass(["item", { active: index === active.value }]),
511
+ role: "option",
512
+ "data-hn-ui-editor-slash-menu": "",
513
+ "aria-selected": index === active.value,
514
+ "data-index": index,
515
+ "data-value": item.value
516
+ }, [
517
+ createElementVNode("span", _hoisted_5, [createVNode(UiIcon_default, {
518
+ class: "ui-icon",
519
+ name: item.icon
520
+ }, null, 8, ["name"])]),
521
+ _cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
522
+ createElementVNode("span", _hoisted_6, [createElementVNode("span", _hoisted_7, toDisplayString(item.title), 1), createElementVNode("span", _hoisted_8, toDisplayString(item.description), 1)])
523
+ ], 10, _hoisted_4);
524
+ }), 128)),
525
+ _cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
526
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
527
+ ]),
520
528
  createElementVNode("div", {
521
529
  class: "empty",
522
530
  "data-hn-ui-editor-slash-menu": "",
@@ -530,6 +538,6 @@ var UiEditorSlashMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
530
538
  }]]);
531
539
  };
532
540
  }
533
- }), [["__scopeId", "data-v-dc0c0ada"]]);
541
+ }), [["__scopeId", "data-v-135eef12"]]);
534
542
  //#endregion
535
543
  export { UiEditorSlashMenu_default as t };
@@ -62,6 +62,6 @@ var UiEditorSlashMenuGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_def
62
62
  }]]);
63
63
  };
64
64
  }
65
- }), [["__scopeId", "data-v-3022d8a4"]]);
65
+ }), [["__scopeId", "data-v-bdaac275"]]);
66
66
  //#endregion
67
67
  export { UiEditorSlashMenuGroup_default as t };
@@ -1,7 +1,7 @@
1
1
  import { i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
2
  import { a as vPropValidity, n as checkedProp } from "./props.js";
3
3
  import { t as UiIcon_default } from "./UiIcon.js";
4
- import { computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
4
+ import { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiEditorSlashMenuItem.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "aria-disabled",
@@ -164,15 +164,19 @@ var UiEditorSlashMenuItem_default = /*#__PURE__*/ _plugin_vue_export_helper_defa
164
164
  "data-ui-editor-slash-menu-item-prop-icon": unref(reflectedProp)("icon", "icon", checkedProps.value.icon, void 0, false),
165
165
  "data-ui-editor-slash-menu-item-prop-keywords": unref(reflectedProp)("keywords", "keywords", checkedProps.value.keywords, void 0, false),
166
166
  "data-ui-editor-slash-menu-item-prop-value": unref(reflectedProp)("value", "value", checkedProps.value.value, void 0, false)
167
- }), [checkedProps.value.icon ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiIcon_default, {
168
- class: "ui-icon",
169
- name: checkedProps.value.icon
170
- }, null, 8, ["name"])])) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), checkedProps.value.description ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(checkedProps.value.description), 1)) : createCommentVNode("v-if", true)])], 16, _hoisted_1)), [[unref(vPropValidity), {
167
+ }), [
168
+ checkedProps.value.icon ? (openBlock(), createElementBlock("span", _hoisted_2, [createVNode(UiIcon_default, {
169
+ class: "ui-icon",
170
+ name: checkedProps.value.icon
171
+ }, null, 8, ["name"])])) : createCommentVNode("v-if", true),
172
+ _cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
173
+ createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), checkedProps.value.description ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(checkedProps.value.description), 1)) : createCommentVNode("v-if", true)])
174
+ ], 16, _hoisted_1)), [[unref(vPropValidity), {
171
175
  contract: propValidityContract,
172
176
  values: { ...props }
173
177
  }]]);
174
178
  };
175
179
  }
176
- }), [["__scopeId", "data-v-29026e5a"]]);
180
+ }), [["__scopeId", "data-v-cdc924cb"]]);
177
181
  //#endregion
178
182
  export { UiEditorSlashMenuItem_default as t };
@@ -50,6 +50,6 @@ var UiEditorSurface_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
50
50
  }]]);
51
51
  };
52
52
  }
53
- }), [["__scopeId", "data-v-d072f44b"]]);
53
+ }), [["__scopeId", "data-v-c9777f54"]]);
54
54
  //#endregion
55
55
  export { UiEditorSurface_default as t };
@@ -1,7 +1,7 @@
1
1
  import { _ as uniqueKeys, a as concat, i as checkHydratedRoot, n as KeyedBoundary, 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
2
  import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
3
3
  import { t as UiIcon_default } from "./UiIcon.js";
4
- import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
4
+ import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, toDisplayString, unref, watchSyncEffect, withCtx, withDirectives } from "vue";
5
5
  //#region .build/vue/UiEditorTableContextMenu.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
7
7
  "hidden",
@@ -415,62 +415,74 @@ var UiEditorTableContextMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_d
415
415
  "data-ui-editor-table-context-menu-prop-scope": unref(reflectedProp)("scope", "scope", checkedProps.value.scope, void 0, false),
416
416
  ref_key: "root",
417
417
  ref: root
418
- }), [swatches.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, [_cache[0] || (_cache[0] = createElementVNode("div", {
419
- class: "heading",
420
- role: "presentation"
421
- }, "Cell background", -1)), createElementVNode("div", _hoisted_3, [createVNode(unref(KeyedBoundary), null, {
422
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(swatches.value, (swatch, index, loop) => swatch.action), (swatch) => {
423
- return openBlock(), createElementBlock("button", {
424
- key: swatch.action,
425
- type: "button",
426
- class: normalizeClass(["swatch-button", { selected: swatch.selected }]),
427
- role: "menuitemradio",
428
- "aria-checked": swatch.selected,
429
- "data-action": swatch.action
430
- }, [createElementVNode("span", {
431
- class: normalizeClass(["swatch", { default: !swatch.color }]),
432
- style: normalizeStyle({ "--_swatch": swatch.color })
433
- }, null, 6), createElementVNode("span", _hoisted_5, toDisplayString(swatch.label), 1)], 10, _hoisted_4);
434
- }), 128))]),
435
- _: 1
436
- })])])) : createCommentVNode("v-if", true), createVNode(unref(KeyedBoundary), null, {
437
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(sections.value, (section, indexLoop, loop) => section.heading), (section) => {
438
- return openBlock(), createElementBlock(Fragment, { key: section.heading }, [_cache[1] || (_cache[1] = createElementVNode("div", { class: "sep" }, null, -1)), createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, toDisplayString(section.heading), 1), createVNode(unref(KeyedBoundary), null, {
439
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(section.items, (item, indexLoop2, loop) => item.action), (item) => {
440
- return openBlock(), createElementBlock("button", {
441
- key: item.action,
442
- type: "button",
443
- role: unref(attribute)(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
444
- true: "menuitemcheckbox",
445
- false: "menuitem"
446
- }, unref(concat)(item.checkable))),
447
- "aria-checked": typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
448
- true: item.checked,
449
- false: null
450
- }, unref(concat)(item.checkable)) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
451
- true: item.checked,
452
- false: null
453
- }, unref(concat)(item.checkable))) : unref(attribute)(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
454
- true: item.checked,
455
- false: null
456
- }, unref(concat)(item.checkable))),
457
- "data-action": item.action,
458
- class: normalizeClass({ danger: item.danger })
459
- }, [createVNode(UiIcon_default, {
460
- class: "ui-icon",
461
- name: item.icon
462
- }, null, 8, ["name"]), createElementVNode("span", null, toDisplayString(item.label), 1)], 10, _hoisted_8);
463
- }), 128))]),
464
- _: 2
465
- }, 1024)])], 64);
466
- }), 128))]),
467
- _: 1
468
- })], 16, _hoisted_1)), [[unref(vPropValidity), {
418
+ }), [
419
+ swatches.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, [_cache[1] || (_cache[1] = createElementVNode("div", {
420
+ class: "heading",
421
+ role: "presentation"
422
+ }, "Cell background", -1)), createElementVNode("div", _hoisted_3, [createVNode(unref(KeyedBoundary), null, {
423
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(swatches.value, (swatch, index, loop) => swatch.action), (swatch) => {
424
+ return openBlock(), createElementBlock("button", {
425
+ key: swatch.action,
426
+ type: "button",
427
+ class: normalizeClass(["swatch-button", { selected: swatch.selected }]),
428
+ role: "menuitemradio",
429
+ "aria-checked": swatch.selected,
430
+ "data-action": swatch.action
431
+ }, [
432
+ createElementVNode("span", {
433
+ class: normalizeClass(["swatch", { default: !swatch.color }]),
434
+ style: normalizeStyle({ "--_swatch": swatch.color })
435
+ }, null, 6),
436
+ _cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
437
+ createElementVNode("span", _hoisted_5, toDisplayString(swatch.label), 1)
438
+ ], 10, _hoisted_4);
439
+ }), 128))]),
440
+ _: 1
441
+ })])])) : createCommentVNode("v-if", true),
442
+ _cache[4] || (_cache[4] = createTextVNode(toDisplayString(" "), -1)),
443
+ createVNode(unref(KeyedBoundary), null, {
444
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(sections.value, (section, indexLoop, loop) => section.heading), (section) => {
445
+ return openBlock(), createElementBlock(Fragment, { key: section.heading }, [_cache[3] || (_cache[3] = createElementVNode("div", { class: "sep" }, null, -1)), createElementVNode("div", _hoisted_6, [createElementVNode("div", _hoisted_7, toDisplayString(section.heading), 1), createVNode(unref(KeyedBoundary), null, {
446
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(section.items, (item, indexLoop2, loop) => item.action), (item) => {
447
+ return openBlock(), createElementBlock("button", {
448
+ key: item.action,
449
+ type: "button",
450
+ role: unref(attribute)(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
451
+ true: "menuitemcheckbox",
452
+ false: "menuitem"
453
+ }, unref(concat)(item.checkable))),
454
+ "aria-checked": typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
455
+ true: item.checked,
456
+ false: null
457
+ }, unref(concat)(item.checkable)) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
458
+ true: item.checked,
459
+ false: null
460
+ }, unref(concat)(item.checkable))) : unref(attribute)(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
461
+ true: item.checked,
462
+ false: null
463
+ }, unref(concat)(item.checkable))),
464
+ "data-action": item.action,
465
+ class: normalizeClass({ danger: item.danger })
466
+ }, [
467
+ createVNode(UiIcon_default, {
468
+ class: "ui-icon",
469
+ name: item.icon
470
+ }, null, 8, ["name"]),
471
+ _cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
472
+ createElementVNode("span", null, toDisplayString(item.label), 1)
473
+ ], 10, _hoisted_8);
474
+ }), 128))]),
475
+ _: 2
476
+ }, 1024)])], 64);
477
+ }), 128))]),
478
+ _: 1
479
+ })
480
+ ], 16, _hoisted_1)), [[unref(vPropValidity), {
469
481
  contract: propValidityContract,
470
482
  values: { ...props }
471
483
  }]]);
472
484
  };
473
485
  }
474
- }), [["__scopeId", "data-v-f520359c"]]);
486
+ }), [["__scopeId", "data-v-f1776914"]]);
475
487
  //#endregion
476
488
  export { UiEditorTableContextMenu_default as t };