@threadlabs/looma 0.47.5 → 0.49.0

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 (933) hide show
  1. package/README.md +39 -16
  2. package/components/shared/input-modality.d.ts +2 -0
  3. package/components/shared/input-modality.js +2 -0
  4. package/components/shared/overlay.js +9 -0
  5. package/components/ui-card/ui-card.html +8 -0
  6. package/components/ui-compact-content/ui-compact-content.html +8 -0
  7. package/components/ui-compact-content/ui-compact-content.js +1 -0
  8. package/components/ui-compact-editor/ui-compact-editor.css +39 -0
  9. package/components/ui-compact-editor/ui-compact-editor.html +22 -0
  10. package/components/ui-compact-editor/ui-compact-editor.js +30 -0
  11. package/components/ui-compact-mark/ui-compact-mark.html +26 -0
  12. package/components/ui-compact-node/ui-compact-node.html +14 -0
  13. package/components/ui-dialog/ui-dialog.html +4 -1
  14. package/components/ui-editor/ui-editor.css +531 -0
  15. package/components/ui-editor/ui-editor.html +399 -0
  16. package/components/ui-editor/ui-editor.js +87 -0
  17. package/components/ui-editor-chip-editor/ui-editor-chip-editor.html +2 -1
  18. package/components/ui-editor-chip-editor/ui-editor-chip-editor.js +6 -0
  19. package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.html +59 -0
  20. package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.js +44 -0
  21. package/components/ui-editor-link-form/ui-editor-link-form.html +1 -0
  22. package/components/ui-editor-link-form/ui-editor-link-form.js +7 -0
  23. package/components/ui-editor-surface/ui-editor-surface.css +109 -0
  24. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
  25. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +7 -4
  26. package/components/ui-menu/ui-menu.html +4 -1
  27. package/components/ui-meter/ui-meter.html +7 -7
  28. package/components/ui-popover/ui-popover.html +4 -1
  29. package/components/ui-radio-group/ui-radio-group.html +3 -1
  30. package/components/ui-radio-group/ui-radio-group.js +5 -0
  31. package/dist/index.js +57 -53
  32. package/docs/README.md +5 -7
  33. package/docs/catalog.json +945 -86
  34. package/docs/catalog.mjs +2 -2
  35. package/docs/framework-examples.d.mts +7 -0
  36. package/docs/framework-examples.mjs +89 -0
  37. package/docs/index.d.ts +1 -1
  38. package/docs/render.mjs +3 -40
  39. package/editor/chunks/content.js +29 -0
  40. package/{vue/chunks/compact.js → editor/chunks/dist.js} +103 -230
  41. package/editor/chunks/expressmark.js +1 -24
  42. package/editor/chunks/extensions.js +63 -455
  43. package/editor/chunks/session.js +61 -0
  44. package/editor/chunks/{ui.js → table-overlay.js} +51 -1
  45. package/editor/compact.d.ts +22 -0
  46. package/editor/compact.js +63 -0
  47. package/editor/components.css +3699 -0
  48. package/editor/document-session.d.ts +274 -0
  49. package/editor/extensions/index.js +2 -2
  50. package/editor/index.d.ts +4 -0
  51. package/editor/index.js +15578 -4
  52. package/editor/session.d.ts +1 -1
  53. package/editor/toolbar-tooltip.d.ts +5 -1
  54. package/editor/ui.js +1 -2
  55. package/package.json +31 -46
  56. package/styles/ui-action-bar.css +1 -1
  57. package/styles/ui-affordance-scope.css +1 -1
  58. package/styles/ui-avatar-group.css +1 -1
  59. package/styles/ui-avatar.css +1 -1
  60. package/styles/ui-badge.css +1 -1
  61. package/styles/ui-breadcrumb-item.css +1 -1
  62. package/styles/ui-breadcrumbs.css +1 -1
  63. package/styles/ui-button.css +1 -1
  64. package/styles/ui-callout.css +1 -1
  65. package/styles/ui-card-group.css +1 -1
  66. package/styles/ui-card.css +9 -1
  67. package/styles/ui-checkbox.css +1 -1
  68. package/styles/ui-cluster.css +1 -1
  69. package/styles/ui-color-picker.css +1 -1
  70. package/styles/ui-combobox.css +1 -1
  71. package/styles/ui-compact-content.css +1 -0
  72. package/styles/ui-compact-editor.css +1 -0
  73. package/styles/ui-compact-mark.css +1 -0
  74. package/styles/ui-compact-node.css +1 -0
  75. package/styles/ui-container.css +1 -1
  76. package/styles/ui-context-menu.css +1 -1
  77. package/styles/ui-cover.css +1 -1
  78. package/styles/ui-curve-editor.css +1 -1
  79. package/styles/ui-cycle-button.css +1 -1
  80. package/styles/ui-description-item.css +1 -1
  81. package/styles/ui-description-list.css +1 -1
  82. package/styles/ui-dialog.css +9 -3
  83. package/styles/ui-disclosure.css +1 -1
  84. package/styles/ui-editable.css +1 -1
  85. package/styles/ui-editor-block-actions.css +1 -1
  86. package/styles/ui-editor-chip-editor.css +1 -1
  87. package/styles/ui-editor-code-language.css +1 -1
  88. package/styles/ui-editor-footnote-editor.css +1 -1
  89. package/styles/ui-editor-formatting-tools.css +1 -0
  90. package/styles/ui-editor-image-toolbar.css +1 -1
  91. package/styles/ui-editor-insert-table-grid.css +1 -1
  92. package/styles/ui-editor-link-card.css +1 -1
  93. package/styles/ui-editor-link-form.css +1 -1
  94. package/styles/ui-editor-mention-menu-item.css +1 -1
  95. package/styles/ui-editor-mention-menu.css +1 -1
  96. package/styles/ui-editor-slash-menu-group.css +1 -1
  97. package/styles/ui-editor-slash-menu-item.css +1 -1
  98. package/styles/ui-editor-slash-menu.css +1 -1
  99. package/styles/ui-editor-surface.css +1 -1
  100. package/styles/ui-editor-table-context-menu.css +1 -1
  101. package/styles/ui-editor-table-overlay.css +1 -1
  102. package/styles/ui-editor-table-toolbar.css +1 -1
  103. package/styles/ui-editor-toolbar.css +1 -1
  104. package/styles/ui-editor.css +1 -0
  105. package/styles/ui-floating-action-button.css +1 -1
  106. package/styles/ui-form-field.css +1 -1
  107. package/styles/ui-grid.css +1 -1
  108. package/styles/ui-icon-button.css +1 -1
  109. package/styles/ui-icon.css +1 -1
  110. package/styles/ui-image.css +1 -1
  111. package/styles/ui-input-group.css +1 -1
  112. package/styles/ui-input.css +1 -1
  113. package/styles/ui-light-editor.css +1 -1
  114. package/styles/ui-list-item.css +1 -1
  115. package/styles/ui-list.css +1 -1
  116. package/styles/ui-listbox.css +1 -1
  117. package/styles/ui-menu-group.css +1 -1
  118. package/styles/ui-menu-item.css +1 -1
  119. package/styles/ui-menu.css +5 -2
  120. package/styles/ui-meter.css +8 -8
  121. package/styles/ui-nav-item.css +1 -1
  122. package/styles/ui-number-input.css +1 -1
  123. package/styles/ui-page-header.css +1 -1
  124. package/styles/ui-pagination.css +1 -1
  125. package/styles/ui-popover.css +5 -2
  126. package/styles/ui-radio-group.css +1 -1
  127. package/styles/ui-radio.css +1 -1
  128. package/styles/ui-reel.css +1 -1
  129. package/styles/ui-scroll-area.css +1 -1
  130. package/styles/ui-search-result-row.css +1 -1
  131. package/styles/ui-search-shell.css +1 -1
  132. package/styles/ui-section.css +1 -1
  133. package/styles/ui-select.css +1 -1
  134. package/styles/ui-separator.css +1 -1
  135. package/styles/ui-sidebar.css +1 -1
  136. package/styles/ui-site-header.css +1 -1
  137. package/styles/ui-skeleton.css +1 -1
  138. package/styles/ui-slider.css +1 -1
  139. package/styles/ui-spinner.css +1 -1
  140. package/styles/ui-stack.css +1 -1
  141. package/styles/ui-status-message.css +1 -1
  142. package/styles/ui-swatch.css +1 -1
  143. package/styles/ui-switch.css +1 -1
  144. package/styles/ui-switcher.css +1 -1
  145. package/styles/ui-table.css +1 -1
  146. package/styles/ui-tabs.css +1 -1
  147. package/styles/ui-text.css +1 -1
  148. package/styles/ui-textarea.css +1 -1
  149. package/styles/ui-toast-region.css +1 -1
  150. package/styles/ui-toast.css +1 -1
  151. package/styles/ui-tooltip.css +1 -1
  152. package/styles/ui-top-bar.css +1 -1
  153. package/styles/ui-tree-item.css +1 -1
  154. package/styles/ui-tree.css +1 -1
  155. package/vanilla/UiActionBar.d.ts +1 -1
  156. package/vanilla/UiActionBar.js +1 -1
  157. package/vanilla/UiAffordanceScope.d.ts +1 -1
  158. package/vanilla/UiAffordanceScope.js +1 -1
  159. package/vanilla/UiAvatar.d.ts +1 -1
  160. package/vanilla/UiAvatar.js +1 -1
  161. package/vanilla/UiAvatarGroup.d.ts +1 -1
  162. package/vanilla/UiAvatarGroup.js +1 -1
  163. package/vanilla/UiBadge.d.ts +1 -1
  164. package/vanilla/UiBadge.js +1 -1
  165. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  166. package/vanilla/UiBreadcrumbItem.js +1 -1
  167. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  168. package/vanilla/UiBreadcrumbs.js +1 -1
  169. package/vanilla/UiButton.d.ts +1 -1
  170. package/vanilla/UiButton.js +1 -1
  171. package/vanilla/UiCallout.d.ts +1 -1
  172. package/vanilla/UiCallout.js +1 -1
  173. package/vanilla/UiCard.d.ts +1 -1
  174. package/vanilla/UiCard.js +1 -1
  175. package/vanilla/UiCardGroup.d.ts +1 -1
  176. package/vanilla/UiCardGroup.js +1 -1
  177. package/vanilla/UiCheckbox.d.ts +1 -1
  178. package/vanilla/UiCheckbox.js +1 -1
  179. package/vanilla/UiCluster.d.ts +1 -1
  180. package/vanilla/UiCluster.js +1 -1
  181. package/vanilla/UiColorPicker.d.ts +1 -1
  182. package/vanilla/UiColorPicker.js +1 -1
  183. package/vanilla/UiCombobox.d.ts +1 -1
  184. package/vanilla/UiCombobox.js +1 -1
  185. package/vanilla/UiCompactContent.d.ts +23 -0
  186. package/vanilla/UiCompactContent.js +51 -0
  187. package/vanilla/UiCompactEditor.d.ts +29 -0
  188. package/vanilla/UiCompactEditor.js +59 -0
  189. package/vanilla/UiCompactMark.d.ts +25 -0
  190. package/vanilla/UiCompactMark.js +206 -0
  191. package/vanilla/UiCompactNode.d.ts +23 -0
  192. package/vanilla/UiCompactNode.js +156 -0
  193. package/vanilla/UiContainer.d.ts +1 -1
  194. package/vanilla/UiContainer.js +1 -1
  195. package/vanilla/UiContextMenu.d.ts +1 -1
  196. package/vanilla/UiContextMenu.js +1 -1
  197. package/vanilla/UiCover.d.ts +1 -1
  198. package/vanilla/UiCover.js +1 -1
  199. package/vanilla/UiCurveEditor.d.ts +1 -1
  200. package/vanilla/UiCurveEditor.js +1 -1
  201. package/vanilla/UiCycleButton.d.ts +1 -1
  202. package/vanilla/UiCycleButton.js +1 -1
  203. package/vanilla/UiDescriptionItem.d.ts +1 -1
  204. package/vanilla/UiDescriptionItem.js +1 -1
  205. package/vanilla/UiDescriptionList.d.ts +1 -1
  206. package/vanilla/UiDescriptionList.js +1 -1
  207. package/vanilla/UiDialog.d.ts +1 -1
  208. package/vanilla/UiDialog.js +1 -1
  209. package/vanilla/UiDisclosure.d.ts +1 -1
  210. package/vanilla/UiDisclosure.js +1 -1
  211. package/vanilla/UiEditable.d.ts +1 -1
  212. package/vanilla/UiEditable.js +1 -1
  213. package/vanilla/UiEditor.d.ts +57 -0
  214. package/vanilla/UiEditor.js +1067 -0
  215. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  216. package/vanilla/UiEditorBlockActions.js +1 -1
  217. package/vanilla/UiEditorChipEditor.d.ts +2 -1
  218. package/vanilla/UiEditorChipEditor.js +10 -10
  219. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  220. package/vanilla/UiEditorCodeLanguage.js +1 -1
  221. package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
  222. package/vanilla/UiEditorFootnoteEditor.js +1 -1
  223. package/vanilla/UiEditorFormattingTools.d.ts +27 -0
  224. package/vanilla/UiEditorFormattingTools.js +188 -0
  225. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  226. package/vanilla/UiEditorImageToolbar.js +1 -1
  227. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  228. package/vanilla/UiEditorInsertTableGrid.js +1 -1
  229. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  230. package/vanilla/UiEditorLinkCard.js +1 -1
  231. package/vanilla/UiEditorLinkForm.d.ts +2 -1
  232. package/vanilla/UiEditorLinkForm.js +41 -41
  233. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  234. package/vanilla/UiEditorMentionMenu.js +1 -1
  235. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  236. package/vanilla/UiEditorMentionMenuItem.js +1 -1
  237. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  238. package/vanilla/UiEditorSlashMenu.js +1 -1
  239. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  240. package/vanilla/UiEditorSlashMenuGroup.js +1 -1
  241. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  242. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  243. package/vanilla/UiEditorSurface.d.ts +1 -1
  244. package/vanilla/UiEditorSurface.js +1 -1
  245. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  246. package/vanilla/UiEditorTableContextMenu.js +10 -5
  247. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  248. package/vanilla/UiEditorTableOverlay.js +1 -1
  249. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  250. package/vanilla/UiEditorTableToolbar.js +1 -1
  251. package/vanilla/UiEditorToolbar.d.ts +1 -1
  252. package/vanilla/UiEditorToolbar.js +1 -1
  253. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  254. package/vanilla/UiFloatingActionButton.js +1 -1
  255. package/vanilla/UiFormField.d.ts +1 -1
  256. package/vanilla/UiFormField.js +1 -1
  257. package/vanilla/UiGrid.d.ts +1 -1
  258. package/vanilla/UiGrid.js +1 -1
  259. package/vanilla/UiIcon.d.ts +1 -1
  260. package/vanilla/UiIcon.js +1 -1
  261. package/vanilla/UiIconButton.d.ts +1 -1
  262. package/vanilla/UiIconButton.js +1 -1
  263. package/vanilla/UiImage.d.ts +1 -1
  264. package/vanilla/UiImage.js +1 -1
  265. package/vanilla/UiInput.d.ts +1 -1
  266. package/vanilla/UiInput.js +1 -1
  267. package/vanilla/UiInputGroup.d.ts +1 -1
  268. package/vanilla/UiInputGroup.js +1 -1
  269. package/vanilla/UiLightEditor.d.ts +1 -1
  270. package/vanilla/UiLightEditor.js +1 -1
  271. package/vanilla/UiList.d.ts +1 -1
  272. package/vanilla/UiList.js +1 -1
  273. package/vanilla/UiListItem.d.ts +1 -1
  274. package/vanilla/UiListItem.js +1 -1
  275. package/vanilla/UiListbox.d.ts +1 -1
  276. package/vanilla/UiListbox.js +1 -1
  277. package/vanilla/UiMenu.d.ts +1 -1
  278. package/vanilla/UiMenu.js +1 -1
  279. package/vanilla/UiMenuGroup.d.ts +1 -1
  280. package/vanilla/UiMenuGroup.js +1 -1
  281. package/vanilla/UiMenuItem.d.ts +1 -1
  282. package/vanilla/UiMenuItem.js +1 -1
  283. package/vanilla/UiMeter.d.ts +1 -1
  284. package/vanilla/UiMeter.js +1 -1
  285. package/vanilla/UiNavItem.d.ts +1 -1
  286. package/vanilla/UiNavItem.js +1 -1
  287. package/vanilla/UiNumberInput.d.ts +1 -1
  288. package/vanilla/UiNumberInput.js +1 -1
  289. package/vanilla/UiPageHeader.d.ts +1 -1
  290. package/vanilla/UiPageHeader.js +1 -1
  291. package/vanilla/UiPagination.d.ts +1 -1
  292. package/vanilla/UiPagination.js +1 -1
  293. package/vanilla/UiPopover.d.ts +1 -1
  294. package/vanilla/UiPopover.js +1 -1
  295. package/vanilla/UiRadio.d.ts +1 -1
  296. package/vanilla/UiRadio.js +1 -1
  297. package/vanilla/UiRadioGroup.d.ts +2 -1
  298. package/vanilla/UiRadioGroup.js +33 -28
  299. package/vanilla/UiReel.d.ts +1 -1
  300. package/vanilla/UiReel.js +1 -1
  301. package/vanilla/UiScrollArea.d.ts +1 -1
  302. package/vanilla/UiScrollArea.js +1 -1
  303. package/vanilla/UiSearchResultRow.d.ts +1 -1
  304. package/vanilla/UiSearchResultRow.js +1 -1
  305. package/vanilla/UiSearchShell.d.ts +1 -1
  306. package/vanilla/UiSearchShell.js +1 -1
  307. package/vanilla/UiSection.d.ts +1 -1
  308. package/vanilla/UiSection.js +1 -1
  309. package/vanilla/UiSelect.d.ts +1 -1
  310. package/vanilla/UiSelect.js +1 -1
  311. package/vanilla/UiSeparator.d.ts +1 -1
  312. package/vanilla/UiSeparator.js +1 -1
  313. package/vanilla/UiSidebar.d.ts +1 -1
  314. package/vanilla/UiSidebar.js +1 -1
  315. package/vanilla/UiSiteHeader.d.ts +1 -1
  316. package/vanilla/UiSiteHeader.js +1 -1
  317. package/vanilla/UiSkeleton.d.ts +1 -1
  318. package/vanilla/UiSkeleton.js +1 -1
  319. package/vanilla/UiSlider.d.ts +1 -1
  320. package/vanilla/UiSlider.js +1 -1
  321. package/vanilla/UiSpinner.d.ts +1 -1
  322. package/vanilla/UiSpinner.js +1 -1
  323. package/vanilla/UiStack.d.ts +1 -1
  324. package/vanilla/UiStack.js +1 -1
  325. package/vanilla/UiStatusMessage.d.ts +1 -1
  326. package/vanilla/UiStatusMessage.js +1 -1
  327. package/vanilla/UiSwatch.d.ts +1 -1
  328. package/vanilla/UiSwatch.js +1 -1
  329. package/vanilla/UiSwitch.d.ts +1 -1
  330. package/vanilla/UiSwitch.js +1 -1
  331. package/vanilla/UiSwitcher.d.ts +1 -1
  332. package/vanilla/UiSwitcher.js +1 -1
  333. package/vanilla/UiTable.d.ts +1 -1
  334. package/vanilla/UiTable.js +1 -1
  335. package/vanilla/UiTabs.d.ts +1 -1
  336. package/vanilla/UiTabs.js +1 -1
  337. package/vanilla/UiText.d.ts +1 -1
  338. package/vanilla/UiText.js +1 -1
  339. package/vanilla/UiTextarea.d.ts +1 -1
  340. package/vanilla/UiTextarea.js +1 -1
  341. package/vanilla/UiToast.d.ts +1 -1
  342. package/vanilla/UiToast.js +1 -1
  343. package/vanilla/UiToastRegion.d.ts +1 -1
  344. package/vanilla/UiToastRegion.js +1 -1
  345. package/vanilla/UiTooltip.d.ts +1 -1
  346. package/vanilla/UiTooltip.js +1 -1
  347. package/vanilla/UiTopBar.d.ts +1 -1
  348. package/vanilla/UiTopBar.js +1 -1
  349. package/vanilla/UiTree.d.ts +1 -1
  350. package/vanilla/UiTree.js +1 -1
  351. package/vanilla/UiTreeItem.d.ts +1 -1
  352. package/vanilla/UiTreeItem.js +1 -1
  353. package/vanilla/index.js +6 -0
  354. package/editor/chunks/table-backgrounds.js +0 -51
  355. package/vue/UiActionBar.d.ts +0 -19
  356. package/vue/UiActionBar.js +0 -2
  357. package/vue/UiActionBar.vue +0 -90
  358. package/vue/UiAffordanceScope.d.ts +0 -35
  359. package/vue/UiAffordanceScope.js +0 -2
  360. package/vue/UiAffordanceScope.vue +0 -182
  361. package/vue/UiAvatar.d.ts +0 -71
  362. package/vue/UiAvatar.js +0 -2
  363. package/vue/UiAvatar.vue +0 -394
  364. package/vue/UiAvatarGroup.d.ts +0 -53
  365. package/vue/UiAvatarGroup.js +0 -2
  366. package/vue/UiAvatarGroup.vue +0 -305
  367. package/vue/UiBadge.d.ts +0 -49
  368. package/vue/UiBadge.js +0 -2
  369. package/vue/UiBadge.vue +0 -810
  370. package/vue/UiBreadcrumbItem.d.ts +0 -29
  371. package/vue/UiBreadcrumbItem.js +0 -2
  372. package/vue/UiBreadcrumbItem.vue +0 -192
  373. package/vue/UiBreadcrumbs.d.ts +0 -29
  374. package/vue/UiBreadcrumbs.js +0 -2
  375. package/vue/UiBreadcrumbs.vue +0 -117
  376. package/vue/UiButton.d.ts +0 -131
  377. package/vue/UiButton.js +0 -2
  378. package/vue/UiButton.vue +0 -1609
  379. package/vue/UiCallout.d.ts +0 -35
  380. package/vue/UiCallout.js +0 -2
  381. package/vue/UiCallout.vue +0 -418
  382. package/vue/UiCard.d.ts +0 -81
  383. package/vue/UiCard.js +0 -2
  384. package/vue/UiCard.vue +0 -522
  385. package/vue/UiCardGroup.d.ts +0 -41
  386. package/vue/UiCardGroup.js +0 -2
  387. package/vue/UiCardGroup.vue +0 -168
  388. package/vue/UiCheckbox.d.ts +0 -95
  389. package/vue/UiCheckbox.js +0 -2
  390. package/vue/UiCheckbox.vue +0 -601
  391. package/vue/UiCluster.d.ts +0 -65
  392. package/vue/UiCluster.js +0 -2
  393. package/vue/UiCluster.vue +0 -304
  394. package/vue/UiColorPicker.d.ts +0 -71
  395. package/vue/UiColorPicker.js +0 -2
  396. package/vue/UiColorPicker.vue +0 -563
  397. package/vue/UiCombobox.d.ts +0 -538
  398. package/vue/UiCombobox.js +0 -2
  399. package/vue/UiCombobox.vue +0 -2894
  400. package/vue/UiContainer.d.ts +0 -41
  401. package/vue/UiContainer.js +0 -2
  402. package/vue/UiContainer.vue +0 -177
  403. package/vue/UiContextMenu.d.ts +0 -69
  404. package/vue/UiContextMenu.js +0 -2
  405. package/vue/UiContextMenu.vue +0 -289
  406. package/vue/UiCover.d.ts +0 -29
  407. package/vue/UiCover.js +0 -2
  408. package/vue/UiCover.vue +0 -127
  409. package/vue/UiCurveEditor.d.ts +0 -59
  410. package/vue/UiCurveEditor.js +0 -2
  411. package/vue/UiCurveEditor.vue +0 -429
  412. package/vue/UiCycleButton.d.ts +0 -69
  413. package/vue/UiCycleButton.js +0 -2
  414. package/vue/UiCycleButton.vue +0 -403
  415. package/vue/UiDescriptionItem.d.ts +0 -29
  416. package/vue/UiDescriptionItem.js +0 -2
  417. package/vue/UiDescriptionItem.vue +0 -124
  418. package/vue/UiDescriptionList.d.ts +0 -41
  419. package/vue/UiDescriptionList.js +0 -2
  420. package/vue/UiDescriptionList.vue +0 -217
  421. package/vue/UiDialog.d.ts +0 -97
  422. package/vue/UiDialog.js +0 -2
  423. package/vue/UiDialog.vue +0 -817
  424. package/vue/UiDisclosure.d.ts +0 -107
  425. package/vue/UiDisclosure.js +0 -2
  426. package/vue/UiDisclosure.vue +0 -605
  427. package/vue/UiEditable.d.ts +0 -113
  428. package/vue/UiEditable.js +0 -2
  429. package/vue/UiEditable.vue +0 -582
  430. package/vue/UiEditorBlockActions.d.ts +0 -33
  431. package/vue/UiEditorBlockActions.js +0 -2
  432. package/vue/UiEditorBlockActions.vue +0 -163
  433. package/vue/UiEditorChipEditor.d.ts +0 -45
  434. package/vue/UiEditorChipEditor.js +0 -2
  435. package/vue/UiEditorChipEditor.vue +0 -208
  436. package/vue/UiEditorCodeLanguage.d.ts +0 -41
  437. package/vue/UiEditorCodeLanguage.js +0 -2
  438. package/vue/UiEditorCodeLanguage.vue +0 -200
  439. package/vue/UiEditorFootnoteEditor.d.ts +0 -39
  440. package/vue/UiEditorFootnoteEditor.js +0 -2
  441. package/vue/UiEditorFootnoteEditor.vue +0 -152
  442. package/vue/UiEditorImageToolbar.d.ts +0 -51
  443. package/vue/UiEditorImageToolbar.js +0 -2
  444. package/vue/UiEditorImageToolbar.vue +0 -446
  445. package/vue/UiEditorInsertTableGrid.d.ts +0 -49
  446. package/vue/UiEditorInsertTableGrid.js +0 -2
  447. package/vue/UiEditorInsertTableGrid.vue +0 -367
  448. package/vue/UiEditorLinkCard.d.ts +0 -49
  449. package/vue/UiEditorLinkCard.js +0 -2
  450. package/vue/UiEditorLinkCard.vue +0 -385
  451. package/vue/UiEditorLinkForm.d.ts +0 -131
  452. package/vue/UiEditorLinkForm.js +0 -2
  453. package/vue/UiEditorLinkForm.vue +0 -664
  454. package/vue/UiEditorMentionMenu.d.ts +0 -121
  455. package/vue/UiEditorMentionMenu.js +0 -2
  456. package/vue/UiEditorMentionMenu.vue +0 -596
  457. package/vue/UiEditorMentionMenuItem.d.ts +0 -43
  458. package/vue/UiEditorMentionMenuItem.js +0 -2
  459. package/vue/UiEditorMentionMenuItem.vue +0 -205
  460. package/vue/UiEditorSlashMenu.d.ts +0 -111
  461. package/vue/UiEditorSlashMenu.js +0 -2
  462. package/vue/UiEditorSlashMenu.vue +0 -549
  463. package/vue/UiEditorSlashMenuGroup.d.ts +0 -29
  464. package/vue/UiEditorSlashMenuGroup.js +0 -2
  465. package/vue/UiEditorSlashMenuGroup.vue +0 -113
  466. package/vue/UiEditorSlashMenuItem.d.ts +0 -53
  467. package/vue/UiEditorSlashMenuItem.js +0 -2
  468. package/vue/UiEditorSlashMenuItem.vue +0 -249
  469. package/vue/UiEditorSurface.d.ts +0 -29
  470. package/vue/UiEditorSurface.js +0 -2
  471. package/vue/UiEditorSurface.vue +0 -117
  472. package/vue/UiEditorTableContextMenu.d.ts +0 -57
  473. package/vue/UiEditorTableContextMenu.js +0 -2
  474. package/vue/UiEditorTableContextMenu.vue +0 -694
  475. package/vue/UiEditorTableOverlay.d.ts +0 -191
  476. package/vue/UiEditorTableOverlay.js +0 -2
  477. package/vue/UiEditorTableOverlay.vue +0 -1099
  478. package/vue/UiEditorTableToolbar.d.ts +0 -57
  479. package/vue/UiEditorTableToolbar.js +0 -2
  480. package/vue/UiEditorTableToolbar.vue +0 -834
  481. package/vue/UiEditorToolbar.d.ts +0 -29
  482. package/vue/UiEditorToolbar.js +0 -2
  483. package/vue/UiEditorToolbar.vue +0 -296
  484. package/vue/UiFloatingActionButton.d.ts +0 -41
  485. package/vue/UiFloatingActionButton.js +0 -2
  486. package/vue/UiFloatingActionButton.vue +0 -201
  487. package/vue/UiFormField.d.ts +0 -49
  488. package/vue/UiFormField.js +0 -2
  489. package/vue/UiFormField.vue +0 -256
  490. package/vue/UiGrid.d.ts +0 -41
  491. package/vue/UiGrid.js +0 -2
  492. package/vue/UiGrid.vue +0 -190
  493. package/vue/UiIcon.d.ts +0 -25
  494. package/vue/UiIcon.js +0 -2
  495. package/vue/UiIcon.vue +0 -612
  496. package/vue/UiIconButton.d.ts +0 -101
  497. package/vue/UiIconButton.js +0 -2
  498. package/vue/UiIconButton.vue +0 -1141
  499. package/vue/UiImage.d.ts +0 -85
  500. package/vue/UiImage.js +0 -2
  501. package/vue/UiImage.vue +0 -462
  502. package/vue/UiInput.d.ts +0 -50
  503. package/vue/UiInput.js +0 -2
  504. package/vue/UiInput.vue +0 -671
  505. package/vue/UiInputGroup.d.ts +0 -59
  506. package/vue/UiInputGroup.js +0 -2
  507. package/vue/UiInputGroup.vue +0 -447
  508. package/vue/UiLightEditor.d.ts +0 -83
  509. package/vue/UiLightEditor.js +0 -2
  510. package/vue/UiLightEditor.vue +0 -537
  511. package/vue/UiList.d.ts +0 -49
  512. package/vue/UiList.js +0 -2
  513. package/vue/UiList.vue +0 -260
  514. package/vue/UiListItem.d.ts +0 -65
  515. package/vue/UiListItem.js +0 -2
  516. package/vue/UiListItem.vue +0 -407
  517. package/vue/UiListbox.d.ts +0 -87
  518. package/vue/UiListbox.js +0 -2
  519. package/vue/UiListbox.vue +0 -554
  520. package/vue/UiMenu.d.ts +0 -99
  521. package/vue/UiMenu.js +0 -2
  522. package/vue/UiMenu.vue +0 -541
  523. package/vue/UiMenuGroup.d.ts +0 -29
  524. package/vue/UiMenuGroup.js +0 -2
  525. package/vue/UiMenuGroup.vue +0 -105
  526. package/vue/UiMenuItem.d.ts +0 -89
  527. package/vue/UiMenuItem.js +0 -2
  528. package/vue/UiMenuItem.vue +0 -532
  529. package/vue/UiMeter.d.ts +0 -73
  530. package/vue/UiMeter.js +0 -2
  531. package/vue/UiMeter.vue +0 -1112
  532. package/vue/UiNavItem.d.ts +0 -79
  533. package/vue/UiNavItem.js +0 -2
  534. package/vue/UiNavItem.vue +0 -493
  535. package/vue/UiNumberInput.d.ts +0 -89
  536. package/vue/UiNumberInput.js +0 -2
  537. package/vue/UiNumberInput.vue +0 -445
  538. package/vue/UiPageHeader.d.ts +0 -37
  539. package/vue/UiPageHeader.js +0 -2
  540. package/vue/UiPageHeader.vue +0 -192
  541. package/vue/UiPagination.d.ts +0 -115
  542. package/vue/UiPagination.js +0 -2
  543. package/vue/UiPagination.vue +0 -596
  544. package/vue/UiPopover.d.ts +0 -77
  545. package/vue/UiPopover.js +0 -2
  546. package/vue/UiPopover.vue +0 -495
  547. package/vue/UiRadio.d.ts +0 -77
  548. package/vue/UiRadio.js +0 -2
  549. package/vue/UiRadio.vue +0 -475
  550. package/vue/UiRadioGroup.d.ts +0 -95
  551. package/vue/UiRadioGroup.js +0 -2
  552. package/vue/UiRadioGroup.vue +0 -393
  553. package/vue/UiReel.d.ts +0 -41
  554. package/vue/UiReel.js +0 -2
  555. package/vue/UiReel.vue +0 -223
  556. package/vue/UiScrollArea.d.ts +0 -53
  557. package/vue/UiScrollArea.js +0 -2
  558. package/vue/UiScrollArea.vue +0 -307
  559. package/vue/UiSearchResultRow.d.ts +0 -49
  560. package/vue/UiSearchResultRow.js +0 -2
  561. package/vue/UiSearchResultRow.vue +0 -268
  562. package/vue/UiSearchShell.d.ts +0 -67
  563. package/vue/UiSearchShell.js +0 -2
  564. package/vue/UiSearchShell.vue +0 -391
  565. package/vue/UiSection.d.ts +0 -51
  566. package/vue/UiSection.js +0 -2
  567. package/vue/UiSection.vue +0 -331
  568. package/vue/UiSelect.d.ts +0 -69
  569. package/vue/UiSelect.js +0 -2
  570. package/vue/UiSelect.vue +0 -391
  571. package/vue/UiSeparator.d.ts +0 -37
  572. package/vue/UiSeparator.js +0 -2
  573. package/vue/UiSeparator.vue +0 -199
  574. package/vue/UiSidebar.d.ts +0 -99
  575. package/vue/UiSidebar.js +0 -2
  576. package/vue/UiSidebar.vue +0 -579
  577. package/vue/UiSiteHeader.d.ts +0 -59
  578. package/vue/UiSiteHeader.js +0 -2
  579. package/vue/UiSiteHeader.vue +0 -904
  580. package/vue/UiSkeleton.d.ts +0 -37
  581. package/vue/UiSkeleton.js +0 -2
  582. package/vue/UiSkeleton.vue +0 -287
  583. package/vue/UiSlider.d.ts +0 -89
  584. package/vue/UiSlider.js +0 -2
  585. package/vue/UiSlider.vue +0 -448
  586. package/vue/UiSpinner.d.ts +0 -25
  587. package/vue/UiSpinner.js +0 -2
  588. package/vue/UiSpinner.vue +0 -330
  589. package/vue/UiStack.d.ts +0 -53
  590. package/vue/UiStack.js +0 -2
  591. package/vue/UiStack.vue +0 -247
  592. package/vue/UiStatusMessage.d.ts +0 -43
  593. package/vue/UiStatusMessage.js +0 -2
  594. package/vue/UiStatusMessage.vue +0 -239
  595. package/vue/UiSwatch.d.ts +0 -19
  596. package/vue/UiSwatch.js +0 -2
  597. package/vue/UiSwatch.vue +0 -188
  598. package/vue/UiSwitch.d.ts +0 -77
  599. package/vue/UiSwitch.js +0 -2
  600. package/vue/UiSwitch.vue +0 -478
  601. package/vue/UiSwitcher.d.ts +0 -47
  602. package/vue/UiSwitcher.js +0 -2
  603. package/vue/UiSwitcher.vue +0 -258
  604. package/vue/UiTable.d.ts +0 -35
  605. package/vue/UiTable.js +0 -2
  606. package/vue/UiTable.vue +0 -280
  607. package/vue/UiTabs.d.ts +0 -81
  608. package/vue/UiTabs.js +0 -2
  609. package/vue/UiTabs.vue +0 -493
  610. package/vue/UiText.d.ts +0 -111
  611. package/vue/UiText.js +0 -2
  612. package/vue/UiText.vue +0 -836
  613. package/vue/UiTextarea.d.ts +0 -77
  614. package/vue/UiTextarea.js +0 -2
  615. package/vue/UiTextarea.vue +0 -477
  616. package/vue/UiToast.d.ts +0 -49
  617. package/vue/UiToast.js +0 -2
  618. package/vue/UiToast.vue +0 -337
  619. package/vue/UiToastRegion.d.ts +0 -61
  620. package/vue/UiToastRegion.js +0 -2
  621. package/vue/UiToastRegion.vue +0 -631
  622. package/vue/UiTooltip.d.ts +0 -93
  623. package/vue/UiTooltip.js +0 -2
  624. package/vue/UiTooltip.vue +0 -627
  625. package/vue/UiTopBar.d.ts +0 -35
  626. package/vue/UiTopBar.js +0 -2
  627. package/vue/UiTopBar.vue +0 -240
  628. package/vue/UiTree.d.ts +0 -123
  629. package/vue/UiTree.js +0 -2
  630. package/vue/UiTree.vue +0 -419
  631. package/vue/UiTreeItem.d.ts +0 -133
  632. package/vue/UiTreeItem.js +0 -2
  633. package/vue/UiTreeItem.vue +0 -1962
  634. package/vue/chunks/UiActionBar.js +0 -42
  635. package/vue/chunks/UiAffordanceScope.js +0 -136
  636. package/vue/chunks/UiAvatar.js +0 -341
  637. package/vue/chunks/UiAvatarGroup.js +0 -234
  638. package/vue/chunks/UiBadge.js +0 -188
  639. package/vue/chunks/UiBreadcrumbItem.js +0 -104
  640. package/vue/chunks/UiBreadcrumbs.js +0 -67
  641. package/vue/chunks/UiButton.js +0 -881
  642. package/vue/chunks/UiCallout.js +0 -302
  643. package/vue/chunks/UiCard.js +0 -369
  644. package/vue/chunks/UiCardGroup.js +0 -153
  645. package/vue/chunks/UiCheckbox.js +0 -361
  646. package/vue/chunks/UiCluster.js +0 -236
  647. package/vue/chunks/UiColorPicker.js +0 -375
  648. package/vue/chunks/UiCombobox.js +0 -2186
  649. package/vue/chunks/UiContainer.js +0 -122
  650. package/vue/chunks/UiContextMenu.js +0 -157
  651. package/vue/chunks/UiCover.js +0 -66
  652. package/vue/chunks/UiCurveEditor.js +0 -415
  653. package/vue/chunks/UiCycleButton.js +0 -352
  654. package/vue/chunks/UiDescriptionItem.js +0 -64
  655. package/vue/chunks/UiDescriptionList.js +0 -133
  656. package/vue/chunks/UiDialog.js +0 -367
  657. package/vue/chunks/UiDisclosure.js +0 -403
  658. package/vue/chunks/UiEditable.js +0 -436
  659. package/vue/chunks/UiEditorBlockActions.js +0 -157
  660. package/vue/chunks/UiEditorChipEditor.js +0 -191
  661. package/vue/chunks/UiEditorCodeLanguage.js +0 -181
  662. package/vue/chunks/UiEditorFootnoteEditor.js +0 -114
  663. package/vue/chunks/UiEditorImageToolbar.js +0 -531
  664. package/vue/chunks/UiEditorInsertTableGrid.js +0 -325
  665. package/vue/chunks/UiEditorLinkCard.js +0 -391
  666. package/vue/chunks/UiEditorLinkForm.js +0 -711
  667. package/vue/chunks/UiEditorMentionMenu.js +0 -618
  668. package/vue/chunks/UiEditorMentionMenuItem.js +0 -140
  669. package/vue/chunks/UiEditorSlashMenu.js +0 -555
  670. package/vue/chunks/UiEditorSlashMenuGroup.js +0 -78
  671. package/vue/chunks/UiEditorSlashMenuItem.js +0 -197
  672. package/vue/chunks/UiEditorSurface.js +0 -66
  673. package/vue/chunks/UiEditorTableContextMenu.js +0 -500
  674. package/vue/chunks/UiEditorTableOverlay.js +0 -987
  675. package/vue/chunks/UiEditorTableToolbar.js +0 -707
  676. package/vue/chunks/UiEditorToolbar.js +0 -103
  677. package/vue/chunks/UiFloatingActionButton.js +0 -123
  678. package/vue/chunks/UiFormField.js +0 -172
  679. package/vue/chunks/UiGrid.js +0 -127
  680. package/vue/chunks/UiIcon.js +0 -1361
  681. package/vue/chunks/UiIconButton.js +0 -469
  682. package/vue/chunks/UiImage.js +0 -312
  683. package/vue/chunks/UiInput.js +0 -709
  684. package/vue/chunks/UiInputGroup.js +0 -225
  685. package/vue/chunks/UiLightEditor.js +0 -365
  686. package/vue/chunks/UiList.js +0 -178
  687. package/vue/chunks/UiListItem.js +0 -219
  688. package/vue/chunks/UiListbox.js +0 -489
  689. package/vue/chunks/UiMenu.js +0 -286
  690. package/vue/chunks/UiMenuGroup.js +0 -75
  691. package/vue/chunks/UiMenuItem.js +0 -374
  692. package/vue/chunks/UiMeter.js +0 -540
  693. package/vue/chunks/UiNavItem.js +0 -380
  694. package/vue/chunks/UiNumberInput.js +0 -432
  695. package/vue/chunks/UiPageHeader.js +0 -100
  696. package/vue/chunks/UiPagination.js +0 -537
  697. package/vue/chunks/UiPopover.js +0 -243
  698. package/vue/chunks/UiRadio.js +0 -291
  699. package/vue/chunks/UiRadioGroup.js +0 -300
  700. package/vue/chunks/UiReel.js +0 -133
  701. package/vue/chunks/UiScrollArea.js +0 -219
  702. package/vue/chunks/UiSearchResultRow.js +0 -164
  703. package/vue/chunks/UiSearchShell.js +0 -215
  704. package/vue/chunks/UiSection.js +0 -228
  705. package/vue/chunks/UiSelect.js +0 -251
  706. package/vue/chunks/UiSeparator.js +0 -144
  707. package/vue/chunks/UiSidebar.js +0 -358
  708. package/vue/chunks/UiSiteHeader.js +0 -335
  709. package/vue/chunks/UiSkeleton.js +0 -183
  710. package/vue/chunks/UiSlider.js +0 -427
  711. package/vue/chunks/UiSpinner.js +0 -181
  712. package/vue/chunks/UiStack.js +0 -177
  713. package/vue/chunks/UiStatusMessage.js +0 -176
  714. package/vue/chunks/UiSwatch.js +0 -93
  715. package/vue/chunks/UiSwitch.js +0 -292
  716. package/vue/chunks/UiSwitcher.js +0 -194
  717. package/vue/chunks/UiTable.js +0 -128
  718. package/vue/chunks/UiTabs.js +0 -334
  719. package/vue/chunks/UiText.js +0 -747
  720. package/vue/chunks/UiTextarea.js +0 -313
  721. package/vue/chunks/UiToast.js +0 -174
  722. package/vue/chunks/UiToastRegion.js +0 -275
  723. package/vue/chunks/UiTooltip.js +0 -297
  724. package/vue/chunks/UiTopBar.js +0 -129
  725. package/vue/chunks/UiTree.js +0 -282
  726. package/vue/chunks/UiTreeItem.js +0 -699
  727. package/vue/chunks/_plugin-vue_export-helper.js +0 -1265
  728. package/vue/chunks/control.js +0 -214
  729. package/vue/chunks/props.js +0 -1228
  730. package/vue/components.css +0 -17539
  731. package/vue/editor/LoomaEditor.d.ts +0 -433
  732. package/vue/editor/compact/index.d.ts +0 -84
  733. package/vue/editor/compact/index.js +0 -2
  734. package/vue/editor/index.d.ts +0 -5
  735. package/vue/editor/index.js +0 -17281
  736. package/vue/editor/primitives.d.ts +0 -120
  737. package/vue/host.ts +0 -2272
  738. package/vue/index.d.ts +0 -94
  739. package/vue/index.js +0 -95
  740. package/vue/props.d.ts +0 -272
  741. /package/{vue → editor}/chunks/1c.js +0 -0
  742. /package/{vue → editor}/chunks/abnf.js +0 -0
  743. /package/{vue → editor}/chunks/accesslog.js +0 -0
  744. /package/{vue → editor}/chunks/actionscript.js +0 -0
  745. /package/{vue → editor}/chunks/ada.js +0 -0
  746. /package/{vue → editor}/chunks/angelscript.js +0 -0
  747. /package/{vue → editor}/chunks/apache.js +0 -0
  748. /package/{vue → editor}/chunks/applescript.js +0 -0
  749. /package/{vue → editor}/chunks/arcade.js +0 -0
  750. /package/{vue → editor}/chunks/arduino.js +0 -0
  751. /package/{vue → editor}/chunks/armasm.js +0 -0
  752. /package/{vue → editor}/chunks/asciidoc.js +0 -0
  753. /package/{vue → editor}/chunks/aspectj.js +0 -0
  754. /package/{vue → editor}/chunks/autohotkey.js +0 -0
  755. /package/{vue → editor}/chunks/autoit.js +0 -0
  756. /package/{vue → editor}/chunks/avrasm.js +0 -0
  757. /package/{vue → editor}/chunks/awk.js +0 -0
  758. /package/{vue → editor}/chunks/axapta.js +0 -0
  759. /package/{vue → editor}/chunks/bash.js +0 -0
  760. /package/{vue → editor}/chunks/basic.js +0 -0
  761. /package/{vue → editor}/chunks/bnf.js +0 -0
  762. /package/{vue → editor}/chunks/brainfuck.js +0 -0
  763. /package/{vue → editor}/chunks/c.js +0 -0
  764. /package/{vue → editor}/chunks/cal.js +0 -0
  765. /package/{vue → editor}/chunks/capnproto.js +0 -0
  766. /package/{vue → editor}/chunks/ceylon.js +0 -0
  767. /package/{vue → editor}/chunks/clean.js +0 -0
  768. /package/{vue → editor}/chunks/clojure-repl.js +0 -0
  769. /package/{vue → editor}/chunks/clojure.js +0 -0
  770. /package/{vue → editor}/chunks/cmake.js +0 -0
  771. /package/{vue → editor}/chunks/coffeescript.js +0 -0
  772. /package/{vue → editor}/chunks/coq.js +0 -0
  773. /package/{vue → editor}/chunks/cos.js +0 -0
  774. /package/{vue → editor}/chunks/cpp.js +0 -0
  775. /package/{vue → editor}/chunks/crmsh.js +0 -0
  776. /package/{vue → editor}/chunks/crystal.js +0 -0
  777. /package/{vue → editor}/chunks/csharp.js +0 -0
  778. /package/{vue → editor}/chunks/csp.js +0 -0
  779. /package/{vue → editor}/chunks/css.js +0 -0
  780. /package/{vue → editor}/chunks/d.js +0 -0
  781. /package/{vue → editor}/chunks/dart.js +0 -0
  782. /package/{vue → editor}/chunks/delphi.js +0 -0
  783. /package/{vue → editor}/chunks/diff.js +0 -0
  784. /package/{vue → editor}/chunks/django.js +0 -0
  785. /package/{vue → editor}/chunks/dns.js +0 -0
  786. /package/{vue → editor}/chunks/dockerfile.js +0 -0
  787. /package/{vue → editor}/chunks/dos.js +0 -0
  788. /package/{vue → editor}/chunks/dsconfig.js +0 -0
  789. /package/{vue → editor}/chunks/dts.js +0 -0
  790. /package/{vue → editor}/chunks/dust.js +0 -0
  791. /package/{vue → editor}/chunks/ebnf.js +0 -0
  792. /package/{vue → editor}/chunks/elixir.js +0 -0
  793. /package/{vue → editor}/chunks/elm.js +0 -0
  794. /package/{vue → editor}/chunks/erb.js +0 -0
  795. /package/{vue → editor}/chunks/erlang-repl.js +0 -0
  796. /package/{vue → editor}/chunks/erlang.js +0 -0
  797. /package/{vue → editor}/chunks/excel.js +0 -0
  798. /package/{vue → editor}/chunks/fix.js +0 -0
  799. /package/{vue → editor}/chunks/flix.js +0 -0
  800. /package/{vue → editor}/chunks/fortran.js +0 -0
  801. /package/{vue → editor}/chunks/fsharp.js +0 -0
  802. /package/{vue → editor}/chunks/gams.js +0 -0
  803. /package/{vue → editor}/chunks/gauss.js +0 -0
  804. /package/{vue → editor}/chunks/gcode.js +0 -0
  805. /package/{vue → editor}/chunks/gherkin.js +0 -0
  806. /package/{vue → editor}/chunks/glsl.js +0 -0
  807. /package/{vue → editor}/chunks/gml.js +0 -0
  808. /package/{vue → editor}/chunks/go.js +0 -0
  809. /package/{vue → editor}/chunks/golo.js +0 -0
  810. /package/{vue → editor}/chunks/gradle.js +0 -0
  811. /package/{vue → editor}/chunks/graphql.js +0 -0
  812. /package/{vue → editor}/chunks/groovy.js +0 -0
  813. /package/{vue → editor}/chunks/haml.js +0 -0
  814. /package/{vue → editor}/chunks/handlebars.js +0 -0
  815. /package/{vue → editor}/chunks/haskell.js +0 -0
  816. /package/{vue → editor}/chunks/haxe.js +0 -0
  817. /package/{vue → editor}/chunks/hsp.js +0 -0
  818. /package/{vue → editor}/chunks/http.js +0 -0
  819. /package/{vue → editor}/chunks/hy.js +0 -0
  820. /package/{vue → editor}/chunks/inform7.js +0 -0
  821. /package/{vue → editor}/chunks/ini.js +0 -0
  822. /package/{vue → editor}/chunks/irpf90.js +0 -0
  823. /package/{vue → editor}/chunks/isbl.js +0 -0
  824. /package/{vue → editor}/chunks/java.js +0 -0
  825. /package/{vue → editor}/chunks/javascript.js +0 -0
  826. /package/{vue → editor}/chunks/jboss-cli.js +0 -0
  827. /package/{vue → editor}/chunks/json.js +0 -0
  828. /package/{vue → editor}/chunks/julia-repl.js +0 -0
  829. /package/{vue → editor}/chunks/julia.js +0 -0
  830. /package/{vue → editor}/chunks/kotlin.js +0 -0
  831. /package/{vue → editor}/chunks/lasso.js +0 -0
  832. /package/{vue → editor}/chunks/latex.js +0 -0
  833. /package/{vue → editor}/chunks/ldif.js +0 -0
  834. /package/{vue → editor}/chunks/leaf.js +0 -0
  835. /package/{vue → editor}/chunks/less.js +0 -0
  836. /package/{vue → editor}/chunks/lisp.js +0 -0
  837. /package/{vue → editor}/chunks/livecodeserver.js +0 -0
  838. /package/{vue → editor}/chunks/livescript.js +0 -0
  839. /package/{vue → editor}/chunks/llvm.js +0 -0
  840. /package/{vue → editor}/chunks/lsl.js +0 -0
  841. /package/{vue → editor}/chunks/lua.js +0 -0
  842. /package/{vue → editor}/chunks/makefile.js +0 -0
  843. /package/{vue → editor}/chunks/markdown.js +0 -0
  844. /package/{vue → editor}/chunks/mathematica.js +0 -0
  845. /package/{vue → editor}/chunks/matlab.js +0 -0
  846. /package/{vue → editor}/chunks/maxima.js +0 -0
  847. /package/{vue → editor}/chunks/mel.js +0 -0
  848. /package/{vue → editor}/chunks/mercury.js +0 -0
  849. /package/{vue → editor}/chunks/mipsasm.js +0 -0
  850. /package/{vue → editor}/chunks/mizar.js +0 -0
  851. /package/{vue → editor}/chunks/mojolicious.js +0 -0
  852. /package/{vue → editor}/chunks/monkey.js +0 -0
  853. /package/{vue → editor}/chunks/moonscript.js +0 -0
  854. /package/{vue → editor}/chunks/n1ql.js +0 -0
  855. /package/{vue → editor}/chunks/nestedtext.js +0 -0
  856. /package/{vue → editor}/chunks/nginx.js +0 -0
  857. /package/{vue → editor}/chunks/nim.js +0 -0
  858. /package/{vue → editor}/chunks/nix.js +0 -0
  859. /package/{vue → editor}/chunks/node-repl.js +0 -0
  860. /package/{vue → editor}/chunks/nsis.js +0 -0
  861. /package/{vue → editor}/chunks/objectivec.js +0 -0
  862. /package/{vue → editor}/chunks/ocaml.js +0 -0
  863. /package/{vue → editor}/chunks/openscad.js +0 -0
  864. /package/{vue → editor}/chunks/oxygene.js +0 -0
  865. /package/{vue → editor}/chunks/parser3.js +0 -0
  866. /package/{vue → editor}/chunks/perl.js +0 -0
  867. /package/{vue → editor}/chunks/pf.js +0 -0
  868. /package/{vue → editor}/chunks/pgsql.js +0 -0
  869. /package/{vue → editor}/chunks/php-template.js +0 -0
  870. /package/{vue → editor}/chunks/php.js +0 -0
  871. /package/{vue → editor}/chunks/plaintext.js +0 -0
  872. /package/{vue → editor}/chunks/pony.js +0 -0
  873. /package/{vue → editor}/chunks/powershell.js +0 -0
  874. /package/{vue → editor}/chunks/processing.js +0 -0
  875. /package/{vue → editor}/chunks/profile.js +0 -0
  876. /package/{vue → editor}/chunks/prolog.js +0 -0
  877. /package/{vue → editor}/chunks/properties.js +0 -0
  878. /package/{vue → editor}/chunks/protobuf.js +0 -0
  879. /package/{vue → editor}/chunks/puppet.js +0 -0
  880. /package/{vue → editor}/chunks/purebasic.js +0 -0
  881. /package/{vue → editor}/chunks/python-repl.js +0 -0
  882. /package/{vue → editor}/chunks/python.js +0 -0
  883. /package/{vue → editor}/chunks/q.js +0 -0
  884. /package/{vue → editor}/chunks/qml.js +0 -0
  885. /package/{vue → editor}/chunks/r.js +0 -0
  886. /package/{vue → editor}/chunks/reasonml.js +0 -0
  887. /package/{vue → editor}/chunks/rib.js +0 -0
  888. /package/{vue → editor}/chunks/roboconf.js +0 -0
  889. /package/{vue → editor}/chunks/routeros.js +0 -0
  890. /package/{vue → editor}/chunks/rsl.js +0 -0
  891. /package/{vue → editor}/chunks/ruby.js +0 -0
  892. /package/{vue → editor}/chunks/ruleslanguage.js +0 -0
  893. /package/{vue → editor}/chunks/rust.js +0 -0
  894. /package/{vue → editor}/chunks/sas.js +0 -0
  895. /package/{vue → editor}/chunks/scala.js +0 -0
  896. /package/{vue → editor}/chunks/scheme.js +0 -0
  897. /package/{vue → editor}/chunks/scilab.js +0 -0
  898. /package/{vue → editor}/chunks/scss.js +0 -0
  899. /package/{vue → editor}/chunks/shell.js +0 -0
  900. /package/{vue → editor}/chunks/smali.js +0 -0
  901. /package/{vue → editor}/chunks/smalltalk.js +0 -0
  902. /package/{vue → editor}/chunks/sml.js +0 -0
  903. /package/{vue → editor}/chunks/sqf.js +0 -0
  904. /package/{vue → editor}/chunks/sql.js +0 -0
  905. /package/{vue → editor}/chunks/stan.js +0 -0
  906. /package/{vue → editor}/chunks/stata.js +0 -0
  907. /package/{vue → editor}/chunks/step21.js +0 -0
  908. /package/{vue → editor}/chunks/stylus.js +0 -0
  909. /package/{vue → editor}/chunks/subunit.js +0 -0
  910. /package/{vue → editor}/chunks/swift.js +0 -0
  911. /package/{vue → editor}/chunks/taggerscript.js +0 -0
  912. /package/{vue → editor}/chunks/tap.js +0 -0
  913. /package/{vue → editor}/chunks/tcl.js +0 -0
  914. /package/{vue → editor}/chunks/thrift.js +0 -0
  915. /package/{vue → editor}/chunks/tp.js +0 -0
  916. /package/{vue → editor}/chunks/twig.js +0 -0
  917. /package/{vue → editor}/chunks/typescript.js +0 -0
  918. /package/{vue → editor}/chunks/vala.js +0 -0
  919. /package/{vue → editor}/chunks/vbnet.js +0 -0
  920. /package/{vue → editor}/chunks/vbscript-html.js +0 -0
  921. /package/{vue → editor}/chunks/vbscript.js +0 -0
  922. /package/{vue → editor}/chunks/verilog.js +0 -0
  923. /package/{vue → editor}/chunks/vhdl.js +0 -0
  924. /package/{vue → editor}/chunks/vim.js +0 -0
  925. /package/{vue → editor}/chunks/wasm.js +0 -0
  926. /package/{vue → editor}/chunks/wren.js +0 -0
  927. /package/{vue → editor}/chunks/x86asm.js +0 -0
  928. /package/{vue → editor}/chunks/xl.js +0 -0
  929. /package/{vue → editor}/chunks/xml.js +0 -0
  930. /package/{vue → editor}/chunks/xquery.js +0 -0
  931. /package/{vue → editor}/chunks/yaml.js +0 -0
  932. /package/{vue → editor}/chunks/zephir.js +0 -0
  933. /package/{vue/editor/compact/extensions.d.ts → editor/compact-extensions.d.ts} +0 -0
@@ -1,2186 +0,0 @@
1
- import { C as useReflectedProp, S as useComponentHost, T as warnUnless, _ as nativeAttrs, a as checkHydratedRoot, n as KeyedBoundary, o as concat, s as createDispatch, t as _plugin_vue_export_helper_default, v as number, w as useScopedSlotName, x as uniqueKeys } from "./_plugin-vue_export-helper.js";
2
- import { a as checkPropInput, f as propValidityState, g as vuePropInputs, h as vPropValidity, i as acceptsControllerWrite, t as BINDING_INPUTS_PROP } from "./props.js";
3
- import { t as UiBadge_default } from "./UiBadge.js";
4
- import { r as vBindControl } from "./control.js";
5
- import { t as UiTooltip_default } from "./UiTooltip.js";
6
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
7
- //#region .build/vue/UiCombobox.vue?vue&type=script&setup=true&lang.ts
8
- var _hoisted_1 = [
9
- "data-ui-combobox-prop-allow-create",
10
- "data-ui-combobox-prop-allow-free-text",
11
- "data-ui-combobox-prop-auto-highlight",
12
- "data-ui-combobox-prop-clear-query-on-blur",
13
- "data-ui-combobox-prop-clearable",
14
- "data-ui-combobox-prop-disabled",
15
- "data-ui-combobox-prop-disclosure",
16
- "data-ui-combobox-prop-filter",
17
- "data-ui-combobox-prop-help",
18
- "data-ui-combobox-prop-invalid",
19
- "data-ui-combobox-prop-items",
20
- "data-ui-combobox-prop-label",
21
- "data-ui-combobox-prop-label-visibility",
22
- "data-ui-combobox-prop-loading",
23
- "data-ui-combobox-prop-max-rows",
24
- "data-ui-combobox-prop-multiple",
25
- "data-ui-combobox-prop-muted",
26
- "data-ui-combobox-prop-name",
27
- "data-ui-combobox-prop-open-on-focus",
28
- "data-ui-combobox-prop-placeholder",
29
- "data-ui-combobox-prop-query",
30
- "data-ui-combobox-prop-readonly",
31
- "data-ui-combobox-prop-required",
32
- "data-ui-combobox-prop-select-on-tab",
33
- "data-ui-combobox-prop-selected-values",
34
- "data-ui-combobox-prop-size",
35
- "data-ui-combobox-prop-token-separators",
36
- "data-ui-combobox-prop-value",
37
- "data-ui-combobox-state"
38
- ];
39
- var _hoisted_2 = ["for"];
40
- var _hoisted_3 = {
41
- class: "control",
42
- "data-hn-ui-combobox": ""
43
- };
44
- var _hoisted_4 = {
45
- class: "start",
46
- "data-hn-ui-combobox": ""
47
- };
48
- var _hoisted_5 = [
49
- "data-index",
50
- "disabled",
51
- "aria-label"
52
- ];
53
- var _hoisted_6 = [
54
- "id",
55
- "aria-controls",
56
- "aria-expanded",
57
- "aria-invalid",
58
- "aria-busy",
59
- "placeholder",
60
- "disabled",
61
- "readonly",
62
- "required"
63
- ];
64
- var _hoisted_7 = [
65
- "name",
66
- "^value",
67
- "disabled"
68
- ];
69
- var _hoisted_8 = [
70
- "name",
71
- "^value",
72
- "disabled"
73
- ];
74
- var _hoisted_9 = ["disabled"];
75
- var _hoisted_10 = ["aria-controls", "disabled"];
76
- var _hoisted_11 = ["id", "disabled"];
77
- var _hoisted_12 = ["hidden"];
78
- var _hoisted_13 = [
79
- "id",
80
- "aria-label",
81
- "aria-busy"
82
- ];
83
- var _hoisted_14 = ["role", "aria-label"];
84
- var _hoisted_15 = {
85
- key: 0,
86
- class: "group",
87
- "data-hn-ui-combobox": ""
88
- };
89
- var _hoisted_16 = [
90
- "data-multiple",
91
- "id",
92
- "aria-selected",
93
- "aria-disabled",
94
- "data-index",
95
- "aria-labelledby",
96
- "aria-describedby"
97
- ];
98
- var _hoisted_17 = {
99
- key: 0,
100
- class: "detail",
101
- "data-hn-ui-combobox": ""
102
- };
103
- var _hoisted_18 = {
104
- class: "line",
105
- "data-hn-ui-combobox": ""
106
- };
107
- var _hoisted_19 = ["id"];
108
- var _hoisted_20 = ["id"];
109
- var _hoisted_21 = ["id"];
110
- var _hoisted_22 = {
111
- key: 1,
112
- class: "primary",
113
- "data-hn-ui-combobox": ""
114
- };
115
- var _hoisted_23 = [
116
- "data-multiple",
117
- "id",
118
- "data-index"
119
- ];
120
- var _hoisted_24 = {
121
- key: 1,
122
- class: "message",
123
- "data-hn-ui-combobox": ""
124
- };
125
- var _hoisted_25 = {
126
- key: 2,
127
- class: "message",
128
- "data-hn-ui-combobox": ""
129
- };
130
- var _hoisted_26 = ["id", "hidden"];
131
- var _hoisted_27 = {
132
- class: "sr-only",
133
- role: "status",
134
- "aria-live": "polite",
135
- "aria-atomic": "true",
136
- "data-hn-ui-combobox": ""
137
- };
138
- //#endregion
139
- //#region .build/vue/UiCombobox.vue
140
- var UiCombobox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
141
- inheritAttrs: false,
142
- __name: "UiCombobox",
143
- props: {
144
- allowCreate: { type: null },
145
- allowFreeText: { type: null },
146
- autoHighlight: { type: null },
147
- clearQueryOnBlur: { type: null },
148
- clearable: { type: null },
149
- disabled: { type: null },
150
- disclosure: { type: null },
151
- filter: { type: null },
152
- help: { type: null },
153
- invalid: { type: null },
154
- items: { type: null },
155
- label: { type: null },
156
- labelVisibility: { type: null },
157
- loading: { type: null },
158
- maxRows: { type: null },
159
- multiple: { type: null },
160
- muted: { type: null },
161
- name: { type: null },
162
- openOnFocus: { type: null },
163
- placeholder: { type: null },
164
- query: { type: null },
165
- readonly: { type: null },
166
- required: { type: null },
167
- selectOnTab: { type: null },
168
- selectedValues: { type: null },
169
- size: { type: null },
170
- tokenSeparators: { type: null },
171
- value: { type: null },
172
- [BINDING_INPUTS_PROP]: { type: null }
173
- },
174
- emits: [
175
- "update:query",
176
- "update:selectedValues",
177
- "update:value",
178
- "query-change",
179
- "value-change",
180
- "items-change",
181
- "free-entry",
182
- "create-entry",
183
- "validation-change",
184
- "options-change",
185
- "add-item",
186
- "remove-item",
187
- "create-item",
188
- "selected-values-change"
189
- ],
190
- setup(__props, { emit: __emit }) {
191
- const propValidityContract = { props: {
192
- allowCreate: {
193
- type: {
194
- kind: "terminal",
195
- name: "boolean"
196
- },
197
- required: false,
198
- target: { attribute: "allowcreate" },
199
- description: "Offers the current query as a new option, reported as create-item. When nothing else matches, the offer is highlighted, so Enter creates it; with nothing\n highlighted, Enter in multiple mode commits the typed text as a token separator does.",
200
- default: false
201
- },
202
- allowFreeText: {
203
- type: {
204
- kind: "terminal",
205
- name: "boolean"
206
- },
207
- required: false,
208
- target: { attribute: "allowfreetext" },
209
- description: "Allows values that do not match an authored option.",
210
- default: false
211
- },
212
- autoHighlight: {
213
- type: {
214
- kind: "terminal",
215
- name: "keyword"
216
- },
217
- required: false,
218
- target: { attribute: "autohighlight" },
219
- description: "single highlights the only enabled authored suggestion while typing. Ambiguous results and an empty query stay unhighlighted. none preserves manual\n highlighting with the arrow keys.",
220
- values: ["none", "single"],
221
- default: "none"
222
- },
223
- clearQueryOnBlur: {
224
- type: {
225
- kind: "terminal",
226
- name: "boolean"
227
- },
228
- required: false,
229
- target: { attribute: "clearqueryonblur" },
230
- description: "In multiple mode, clears unfinished search text when focus leaves the whole combobox, preserving selected items. A controlled query reports query-change\n with an empty query; the consumer must reflect it back. Does not choose or create an option. The default preserves unfinished text. Single mode keeps its\n existing selection and free-text resolution.",
231
- default: false
232
- },
233
- clearable: {
234
- type: {
235
- kind: "terminal",
236
- name: "boolean"
237
- },
238
- required: false,
239
- target: { attribute: "clearable" },
240
- description: "Adds a clear button to the field that empties the input and clears the selection, reported as value-change with kind \"clear\". It is disabled when there is\n nothing to clear. In multiple mode it clears only the typed text; chosen items stay.",
241
- default: false
242
- },
243
- disabled: {
244
- type: {
245
- kind: "terminal",
246
- name: "boolean"
247
- },
248
- required: false,
249
- target: { attribute: "disabled" },
250
- description: "Disables the input and every button in the field: the chosen-item badges, the clear and disclosure buttons, and the help button. The list closes and cannot\n be opened, the value cannot be cleared, and a named combobox submits nothing with its form.",
251
- default: false
252
- },
253
- disclosure: {
254
- type: {
255
- kind: "terminal",
256
- name: "boolean"
257
- },
258
- required: false,
259
- target: { attribute: "disclosure" },
260
- description: "Adds a chevron button that opens and closes the full, unfiltered list of options, for users who would rather browse than type. ArrowDown opens the same\n list with or without it.",
261
- default: false
262
- },
263
- filter: {
264
- type: {
265
- kind: "terminal",
266
- name: "keyword"
267
- },
268
- required: false,
269
- target: { attribute: "filter" },
270
- description: "How the list narrows as the user types. label lists the options whose label contains the typed text, ignoring case. none lists every authored option, for\n options already narrowed elsewhere, such as a server search, so a result that matched on data other than its label still shows. Leaving the field still\n commits an option whose label matches the text, or the only one listed.",
271
- values: ["label", "none"],
272
- default: "label"
273
- },
274
- help: {
275
- type: {
276
- kind: "terminal",
277
- name: "string"
278
- },
279
- required: false,
280
- target: { attribute: "help" },
281
- description: "Help text for the field. When set, a help button appears beside the field and opens a tooltip with this text; while it is open, the input is described by\n it.",
282
- default: ""
283
- },
284
- invalid: {
285
- type: {
286
- kind: "terminal",
287
- name: "boolean"
288
- },
289
- required: false,
290
- target: { attribute: "invalid" },
291
- description: "Exposes an externally validated error on the input and field. It remains until the consumer clears it, independently of native validation.",
292
- default: false
293
- },
294
- items: {
295
- type: {
296
- kind: "list",
297
- item: {
298
- kind: "object",
299
- fields: [
300
- {
301
- name: "id",
302
- type: {
303
- kind: "terminal",
304
- name: "string"
305
- },
306
- optional: false
307
- },
308
- {
309
- name: "value",
310
- type: {
311
- kind: "terminal",
312
- name: "string"
313
- },
314
- optional: false
315
- },
316
- {
317
- name: "label",
318
- type: {
319
- kind: "terminal",
320
- name: "string"
321
- },
322
- optional: false
323
- },
324
- {
325
- name: "group",
326
- type: {
327
- kind: "terminal",
328
- name: "string"
329
- },
330
- optional: true
331
- },
332
- {
333
- name: "disabled",
334
- type: {
335
- kind: "terminal",
336
- name: "boolean"
337
- },
338
- optional: true
339
- },
340
- {
341
- name: "description",
342
- type: {
343
- kind: "terminal",
344
- name: "string"
345
- },
346
- optional: true
347
- },
348
- {
349
- name: "tag",
350
- type: {
351
- kind: "object",
352
- fields: [
353
- {
354
- name: "label",
355
- type: {
356
- kind: "terminal",
357
- name: "string"
358
- },
359
- optional: false
360
- },
361
- {
362
- name: "tone",
363
- type: {
364
- kind: "constrained",
365
- base: {
366
- kind: "terminal",
367
- name: "keyword"
368
- },
369
- values: [
370
- "neutral",
371
- "accent",
372
- "info",
373
- "success",
374
- "warning",
375
- "danger"
376
- ]
377
- },
378
- optional: true
379
- },
380
- {
381
- name: "color",
382
- type: {
383
- kind: "terminal",
384
- name: "string"
385
- },
386
- optional: true
387
- }
388
- ],
389
- open: false
390
- },
391
- optional: true
392
- }
393
- ],
394
- open: false
395
- }
396
- },
397
- required: false,
398
- target: { attribute: "items" },
399
- description: "The selected items in multiple mode, as JSON; a named combobox submits each one's value. A form reset returns to these items, or to authored selected\n options when unset."
400
- },
401
- label: {
402
- type: {
403
- kind: "terminal",
404
- name: "string"
405
- },
406
- required: false,
407
- target: { attribute: "label" },
408
- description: "The field's label, tied to its input and shown above it; required adds an asterisk. It also names the suggestion list. Pair it with\n labelVisibility=\"sr-only\" when the context already labels the field visibly.",
409
- default: ""
410
- },
411
- labelVisibility: {
412
- type: {
413
- kind: "terminal",
414
- name: "keyword"
415
- },
416
- required: false,
417
- target: { attribute: "labelvisibility" },
418
- description: "visible shows the label above the field; sr-only hides it visually but keeps it as the input's accessible name. Use sr-only only when the surrounding\n layout already makes the field's purpose clear.",
419
- values: ["visible", "sr-only"],
420
- default: "visible"
421
- },
422
- loading: {
423
- type: {
424
- kind: "terminal",
425
- name: "boolean"
426
- },
427
- required: false,
428
- target: { attribute: "aria-busy" },
429
- description: "Marks the suggestion list busy while the consumer loads options. It announces loading and suppresses the empty state and create offer until cleared.",
430
- default: false
431
- },
432
- maxRows: {
433
- type: {
434
- kind: "terminal",
435
- name: "integer"
436
- },
437
- required: false,
438
- target: { attribute: "maxrows" },
439
- description: "Visible rows of selected items and typing space in multiple mode. More than one lets the field grow and wrap before extra rows scroll vertically inside it.\n One or less keeps the single horizontally scrolling row; single-selection fields are unchanged.",
440
- default: 1
441
- },
442
- multiple: {
443
- type: {
444
- kind: "terminal",
445
- name: "boolean"
446
- },
447
- required: false,
448
- target: { attribute: "data-multiple" },
449
- description: "Lets the user choose several options. Each choice becomes a removable badge before the input, the list stays open between picks, and choosing a checked\n option removes it. items-change then reports the whole list of items, and selected-values-change the list of their values; use selectedValues or items,\n not value, in this mode.",
450
- default: false
451
- },
452
- muted: {
453
- type: {
454
- kind: "terminal",
455
- name: "boolean"
456
- },
457
- required: false,
458
- target: { attribute: "muted" },
459
- description: "Shows the selected field value with supporting-text emphasis, for an inherited or default choice. Suggestions keep normal emphasis and the field stays\n interactive.",
460
- default: false
461
- },
462
- name: {
463
- type: {
464
- kind: "terminal",
465
- name: "string"
466
- },
467
- required: false,
468
- target: { attribute: "name" },
469
- description: "The form field name the combobox submits its value under, never the label shown in the field. Single mode sends one entry: the selected option's value, the\n typed text when allowFreeText is set and no option is selected, or an empty string. Multiple mode sends one entry per chosen item's value, and nothing\n when none is chosen. A disabled combobox sends nothing.",
470
- default: ""
471
- },
472
- openOnFocus: {
473
- type: {
474
- kind: "terminal",
475
- name: "boolean"
476
- },
477
- required: false,
478
- target: { attribute: "openonfocus" },
479
- description: "Opens suggestions when the input receives focus or is clicked. A committed selection shows all choices until typing filters them; an explicitly supplied\n query keeps its filtering.",
480
- default: false
481
- },
482
- placeholder: {
483
- type: {
484
- kind: "terminal",
485
- name: "string"
486
- },
487
- required: false,
488
- target: { attribute: "placeholder" },
489
- description: "Hint text shown in the empty input, as on a native input. It disappears as the user types, so it never replaces label.",
490
- default: ""
491
- },
492
- query: {
493
- type: {
494
- kind: "terminal",
495
- name: "string"
496
- },
497
- required: false,
498
- target: { attribute: "query" },
499
- description: "The input's text, when the consumer controls it. Once set, the consumer owns the text: typing reports query-change, and the input returns to query unless\n query is updated to match. Leave it unset to let the combobox manage its own text, showing the chosen option's label."
500
- },
501
- readonly: {
502
- type: {
503
- kind: "terminal",
504
- name: "boolean"
505
- },
506
- required: false,
507
- target: { attribute: "readonly" },
508
- description: "Shows the current value without letting it change: the text can be selected but not edited, the list does not open, and the clear, disclosure, and badge\n remove buttons are disabled. A named combobox still submits its value.",
509
- default: false
510
- },
511
- required: {
512
- type: {
513
- kind: "terminal",
514
- name: "boolean"
515
- },
516
- required: false,
517
- target: { attribute: "required" },
518
- description: "Requires a value: adds an asterisk to the label, marks the input required for native form validation, and makes validation report \"A value is required.\"\n when the field is left empty. In multiple mode a chosen item satisfies it, whatever is left in the input.",
519
- default: false
520
- },
521
- selectOnTab: {
522
- type: {
523
- kind: "terminal",
524
- name: "boolean"
525
- },
526
- required: false,
527
- target: { attribute: "selectontab" },
528
- description: "Commits a highlighted authored suggestion on forward Tab, then lets focus advance normally. In multiple mode a selected suggestion is retained without\n duplication or removal. Shift+Tab does not commit, and Tab never chooses the create offer.",
529
- default: false
530
- },
531
- selectedValues: {
532
- type: {
533
- kind: "list",
534
- item: {
535
- kind: "terminal",
536
- name: "string"
537
- }
538
- },
539
- required: false,
540
- target: { attribute: "selectedvalues" },
541
- description: "The selected option values in multiple mode, when the consumer controls the selection. Without it or items, authored options with selected set the initial\n selection. Once set, the consumer owns it: each value shows as a badge with its authored option's label, adding or removing one reports\n selected-values-change with the new list, and the badges follow selectedValues, not the user, unless it is updated to match. Setting it reports nothing.\n It takes precedence over items; leave it unset to let the combobox keep its own selection."
542
- },
543
- size: {
544
- type: {
545
- kind: "terminal",
546
- name: "keyword"
547
- },
548
- required: false,
549
- target: { attribute: "size" },
550
- description: "Field height, padding, and type size, matching Button's sizes so a field and a button of one size share a row. sm is the small control height (2rem by\n default) with smaller text, for compact rows such as a table row or a filter bar; md is the standard control height; lg is taller with roomier padding.\n Touch input keeps body-size field text without inflating the visible size ladder. The label keeps its size.",
551
- values: [
552
- "sm",
553
- "md",
554
- "lg"
555
- ],
556
- default: "md"
557
- },
558
- tokenSeparators: {
559
- type: {
560
- kind: "list",
561
- item: {
562
- kind: "terminal",
563
- name: "string"
564
- }
565
- },
566
- required: false,
567
- target: { attribute: "tokenseparators" },
568
- description: "Keys that commit the typed text in multiple mode, as KeyboardEvent key values such as \",\" or \";\". The text is added as the option whose label matches it,\n ignoring case, or with allowCreate is reported as create-item; otherwise it stays in the input."
569
- },
570
- value: {
571
- type: {
572
- kind: "terminal",
573
- name: "string"
574
- },
575
- required: false,
576
- target: { attribute: "value" },
577
- description: "The selected value in single mode, which a named combobox submits with its form. The field shows the matching option's label, and a form reset returns to\n this value. In a strict combobox, typing a search does not change the selection; leaving with no match restores its label. If omitted, the first authored\n option with selected sets the initial value."
578
- }
579
- } };
580
- const props = __props;
581
- const inputTracking = vuePropInputs({
582
- allowCreate: false,
583
- allowFreeText: false,
584
- autoHighlight: "none",
585
- clearQueryOnBlur: false,
586
- clearable: false,
587
- disabled: false,
588
- disclosure: false,
589
- filter: "label",
590
- help: "",
591
- invalid: false,
592
- items: null,
593
- label: "",
594
- labelVisibility: "visible",
595
- loading: false,
596
- maxRows: 1,
597
- multiple: false,
598
- muted: false,
599
- name: "",
600
- openOnFocus: false,
601
- placeholder: "",
602
- query: null,
603
- readonly: false,
604
- required: false,
605
- selectOnTab: false,
606
- selectedValues: null,
607
- size: "md",
608
- tokenSeparators: null,
609
- value: null
610
- }, {
611
- allowCreate: false,
612
- allowFreeText: false,
613
- autoHighlight: "none",
614
- clearQueryOnBlur: false,
615
- clearable: false,
616
- disabled: false,
617
- disclosure: false,
618
- filter: "label",
619
- help: "",
620
- invalid: false,
621
- label: "",
622
- labelVisibility: "visible",
623
- loading: false,
624
- maxRows: 1,
625
- multiple: false,
626
- muted: false,
627
- name: "",
628
- openOnFocus: false,
629
- placeholder: "",
630
- readonly: false,
631
- required: false,
632
- selectOnTab: false,
633
- size: "md"
634
- }, (name, value, source, values) => {
635
- switch (name) {
636
- case "allowCreate": return checkPropInput(value, {
637
- kind: "terminal",
638
- name: "boolean"
639
- }, true, true);
640
- case "allowFreeText": return checkPropInput(value, {
641
- kind: "terminal",
642
- name: "boolean"
643
- }, true, true);
644
- case "autoHighlight": return checkPropInput(value, {
645
- kind: "terminal",
646
- name: "keyword"
647
- }, true, true);
648
- case "clearQueryOnBlur": return checkPropInput(value, {
649
- kind: "terminal",
650
- name: "boolean"
651
- }, true, true);
652
- case "clearable": return checkPropInput(value, {
653
- kind: "terminal",
654
- name: "boolean"
655
- }, true, true);
656
- case "disabled": return checkPropInput(value, {
657
- kind: "terminal",
658
- name: "boolean"
659
- }, true, true);
660
- case "disclosure": return checkPropInput(value, {
661
- kind: "terminal",
662
- name: "boolean"
663
- }, true, true);
664
- case "filter": return checkPropInput(value, {
665
- kind: "terminal",
666
- name: "keyword"
667
- }, true, true);
668
- case "help": return checkPropInput(value, {
669
- kind: "terminal",
670
- name: "string"
671
- }, true, true);
672
- case "invalid": return checkPropInput(value, {
673
- kind: "terminal",
674
- name: "boolean"
675
- }, true, true);
676
- case "items": return checkPropInput(value, {
677
- kind: "list",
678
- item: {
679
- kind: "object",
680
- fields: [
681
- {
682
- name: "id",
683
- type: {
684
- kind: "terminal",
685
- name: "string"
686
- },
687
- optional: false
688
- },
689
- {
690
- name: "value",
691
- type: {
692
- kind: "terminal",
693
- name: "string"
694
- },
695
- optional: false
696
- },
697
- {
698
- name: "label",
699
- type: {
700
- kind: "terminal",
701
- name: "string"
702
- },
703
- optional: false
704
- },
705
- {
706
- name: "group",
707
- type: {
708
- kind: "terminal",
709
- name: "string"
710
- },
711
- optional: true
712
- },
713
- {
714
- name: "disabled",
715
- type: {
716
- kind: "terminal",
717
- name: "boolean"
718
- },
719
- optional: true
720
- },
721
- {
722
- name: "description",
723
- type: {
724
- kind: "terminal",
725
- name: "string"
726
- },
727
- optional: true
728
- },
729
- {
730
- name: "tag",
731
- type: {
732
- kind: "object",
733
- fields: [
734
- {
735
- name: "label",
736
- type: {
737
- kind: "terminal",
738
- name: "string"
739
- },
740
- optional: false
741
- },
742
- {
743
- name: "tone",
744
- type: {
745
- kind: "constrained",
746
- base: {
747
- kind: "terminal",
748
- name: "keyword"
749
- },
750
- values: [
751
- "neutral",
752
- "accent",
753
- "info",
754
- "success",
755
- "warning",
756
- "danger"
757
- ]
758
- },
759
- optional: true
760
- },
761
- {
762
- name: "color",
763
- type: {
764
- kind: "terminal",
765
- name: "string"
766
- },
767
- optional: true
768
- }
769
- ],
770
- open: false
771
- },
772
- optional: true
773
- }
774
- ],
775
- open: false
776
- }
777
- }, true, true);
778
- case "label": return checkPropInput(value, {
779
- kind: "terminal",
780
- name: "string"
781
- }, true, true);
782
- case "labelVisibility": return checkPropInput(value, {
783
- kind: "terminal",
784
- name: "keyword"
785
- }, true, true);
786
- case "loading": return checkPropInput(value, {
787
- kind: "terminal",
788
- name: "boolean"
789
- }, true, true);
790
- case "maxRows": return checkPropInput(value, {
791
- kind: "terminal",
792
- name: "integer"
793
- }, true, true);
794
- case "multiple": return checkPropInput(value, {
795
- kind: "terminal",
796
- name: "boolean"
797
- }, true, true);
798
- case "muted": return checkPropInput(value, {
799
- kind: "terminal",
800
- name: "boolean"
801
- }, true, true);
802
- case "name": return checkPropInput(value, {
803
- kind: "terminal",
804
- name: "string"
805
- }, true, true);
806
- case "openOnFocus": return checkPropInput(value, {
807
- kind: "terminal",
808
- name: "boolean"
809
- }, true, true);
810
- case "placeholder": return checkPropInput(value, {
811
- kind: "terminal",
812
- name: "string"
813
- }, true, true);
814
- case "query": return checkPropInput(value, {
815
- kind: "terminal",
816
- name: "string"
817
- }, true, true);
818
- case "readonly": return checkPropInput(value, {
819
- kind: "terminal",
820
- name: "boolean"
821
- }, true, true);
822
- case "required": return checkPropInput(value, {
823
- kind: "terminal",
824
- name: "boolean"
825
- }, true, true);
826
- case "selectOnTab": return checkPropInput(value, {
827
- kind: "terminal",
828
- name: "boolean"
829
- }, true, true);
830
- case "selectedValues": return checkPropInput(value, {
831
- kind: "list",
832
- item: {
833
- kind: "terminal",
834
- name: "string"
835
- }
836
- }, true, true);
837
- case "size": return checkPropInput(value, {
838
- kind: "terminal",
839
- name: "keyword"
840
- }, true, true);
841
- case "tokenSeparators": return checkPropInput(value, {
842
- kind: "list",
843
- item: {
844
- kind: "terminal",
845
- name: "string"
846
- }
847
- }, true, true);
848
- case "value": return checkPropInput(value, {
849
- kind: "terminal",
850
- name: "string"
851
- }, true, true);
852
- default: return { ok: false };
853
- }
854
- }, () => {
855
- checkedProps.value;
856
- });
857
- const propInputs = inputTracking.inputs;
858
- const checkedProps = computed(() => {
859
- inputTracking.version.value;
860
- return {
861
- allowCreate: propInputs.value("allowCreate", props["allowCreate"], props[BINDING_INPUTS_PROP]),
862
- allowFreeText: propInputs.value("allowFreeText", props["allowFreeText"], props[BINDING_INPUTS_PROP]),
863
- autoHighlight: propInputs.value("autoHighlight", props["autoHighlight"], props[BINDING_INPUTS_PROP]),
864
- clearQueryOnBlur: propInputs.value("clearQueryOnBlur", props["clearQueryOnBlur"], props[BINDING_INPUTS_PROP]),
865
- clearable: propInputs.value("clearable", props["clearable"], props[BINDING_INPUTS_PROP]),
866
- disabled: propInputs.value("disabled", props["disabled"], props[BINDING_INPUTS_PROP]),
867
- disclosure: propInputs.value("disclosure", props["disclosure"], props[BINDING_INPUTS_PROP]),
868
- filter: propInputs.value("filter", props["filter"], props[BINDING_INPUTS_PROP]),
869
- help: propInputs.value("help", props["help"], props[BINDING_INPUTS_PROP]),
870
- invalid: propInputs.value("invalid", props["invalid"], props[BINDING_INPUTS_PROP]),
871
- items: propInputs.value("items", props["items"], props[BINDING_INPUTS_PROP]),
872
- label: propInputs.value("label", props["label"], props[BINDING_INPUTS_PROP]),
873
- labelVisibility: propInputs.value("labelVisibility", props["labelVisibility"], props[BINDING_INPUTS_PROP]),
874
- loading: propInputs.value("loading", props["loading"], props[BINDING_INPUTS_PROP]),
875
- maxRows: propInputs.value("maxRows", props["maxRows"], props[BINDING_INPUTS_PROP]),
876
- multiple: propInputs.value("multiple", props["multiple"], props[BINDING_INPUTS_PROP]),
877
- muted: propInputs.value("muted", props["muted"], props[BINDING_INPUTS_PROP]),
878
- name: propInputs.value("name", props["name"], props[BINDING_INPUTS_PROP]),
879
- openOnFocus: propInputs.value("openOnFocus", props["openOnFocus"], props[BINDING_INPUTS_PROP]),
880
- placeholder: propInputs.value("placeholder", props["placeholder"], props[BINDING_INPUTS_PROP]),
881
- query: propInputs.value("query", props["query"], props[BINDING_INPUTS_PROP]),
882
- readonly: propInputs.value("readonly", props["readonly"], props[BINDING_INPUTS_PROP]),
883
- required: propInputs.value("required", props["required"], props[BINDING_INPUTS_PROP]),
884
- selectOnTab: propInputs.value("selectOnTab", props["selectOnTab"], props[BINDING_INPUTS_PROP]),
885
- selectedValues: propInputs.value("selectedValues", props["selectedValues"], props[BINDING_INPUTS_PROP]),
886
- size: propInputs.value("size", props["size"], props[BINDING_INPUTS_PROP]),
887
- tokenSeparators: propInputs.value("tokenSeparators", props["tokenSeparators"], props[BINDING_INPUTS_PROP]),
888
- value: propInputs.value("value", props["value"], props[BINDING_INPUTS_PROP])
889
- };
890
- });
891
- checkedProps.value;
892
- watchSyncEffect(() => {
893
- checkedProps.value;
894
- });
895
- const reflectedProp = useReflectedProp();
896
- const hydrationInstance = getCurrentInstance();
897
- const emit = __emit;
898
- const root = ref(null);
899
- const fieldElement = useTemplateRef("fieldElement");
900
- const inputElement = useTemplateRef("inputElement");
901
- const popupElement = useTemplateRef("popupElement");
902
- const listboxElement = useTemplateRef("listboxElement");
903
- const optionsElement = useTemplateRef("optionsElement");
904
- const internalItems = ref([]);
905
- const raw = ref("");
906
- const display = ref("");
907
- const selected = ref(null);
908
- const expanded = ref(false);
909
- const rows = ref([]);
910
- const active = ref(-1);
911
- const helpOpen = ref(false);
912
- const lookupError = ref("");
913
- const validation = ref({
914
- status: "pristine",
915
- touched: false,
916
- dirty: false,
917
- issues: []
918
- });
919
- const uid = ref("");
920
- const submitted = ref("");
921
- const groups = ref([]);
922
- const creatable = ref(false);
923
- const createIndex = ref(0);
924
- const message = ref("");
925
- const statusText = ref("");
926
- const validationStatus = ref("pristine");
927
- let guardedPrevious = null;
928
- const guarded = computed(() => {
929
- const candidate = concat(uid.value, "-input");
930
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedPrevious;
931
- return guardedPrevious = candidate;
932
- });
933
- let guardedBindingPrevious = null;
934
- const guardedBinding = computed(() => {
935
- const candidate = concat(uid.value, "-input");
936
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
937
- return guardedBindingPrevious = candidate;
938
- });
939
- let guardedBinding2Previous = null;
940
- const guardedBinding2 = computed(() => {
941
- const candidate = concat(uid.value, "-listbox");
942
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding2Previous;
943
- return guardedBinding2Previous = candidate;
944
- });
945
- let guardedBinding3Previous;
946
- const guardedBinding3 = computed(() => {
947
- if (!warnUnless(internalItems.value?.["0"] == null || typeof internalItems.value?.["0"] === "object" && internalItems.value?.["0"] !== null && !Array.isArray(internalItems.value?.["0"]), "$required and not ($multiple and $internalItems.0):internalItems.0", "./components/ui-combobox/ui-combobox.html: HR007: Reference internalItems.0 does not satisfy its declared type.")) return guardedBinding3Previous;
948
- return guardedBinding3Previous = checkedProps.value.required && !(checkedProps.value.multiple && internalItems.value[0]);
949
- });
950
- let guardedBinding4Previous = null;
951
- const guardedBinding4 = computed(() => {
952
- const candidate = concat(uid.value, "-listbox");
953
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding4Previous;
954
- return guardedBinding4Previous = candidate;
955
- });
956
- let guardedBinding5Previous = null;
957
- const guardedBinding5 = computed(() => {
958
- const candidate = concat(uid.value, "-help");
959
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding5Previous;
960
- return guardedBinding5Previous = candidate;
961
- });
962
- let guardedBinding6Previous = null;
963
- const guardedBinding6 = computed(() => {
964
- const candidate = concat(uid.value, "-help-text");
965
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding6Previous;
966
- return guardedBinding6Previous = candidate;
967
- });
968
- let guardedBinding7Previous = null;
969
- const guardedBinding7 = computed(() => {
970
- const candidate = concat(uid.value, "-help");
971
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding7Previous;
972
- return guardedBinding7Previous = candidate;
973
- });
974
- let guardedBinding8Previous = null;
975
- const guardedBinding8 = computed(() => {
976
- const candidate = concat(uid.value, "-listbox");
977
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding8Previous;
978
- return guardedBinding8Previous = candidate;
979
- });
980
- let guardedBinding9Previous = null;
981
- const guardedBinding9 = computed(() => {
982
- const candidate = concat(checkedProps.value.label, " suggestions");
983
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding9Previous;
984
- return guardedBinding9Previous = candidate;
985
- });
986
- let guardedBinding10Previous;
987
- const guardedBinding10 = computed(() => {
988
- if (!warnUnless(active.value == null || Number.isInteger(active.value), "$createIndex = $active:active", "./components/ui-combobox/ui-combobox.html: HR007: Reference active does not satisfy its declared type.")) return guardedBinding10Previous;
989
- return guardedBinding10Previous = createIndex.value === active.value;
990
- });
991
- let guardedBinding11Previous = null;
992
- const guardedBinding11 = computed(() => {
993
- const candidate = concat(uid.value, "-option-", createIndex.value);
994
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding11Previous;
995
- return guardedBinding11Previous = candidate;
996
- });
997
- let guardedBinding12Previous = null;
998
- const guardedBinding12 = computed(() => {
999
- const candidate = concat("Create “", raw.value, "”");
1000
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding12Previous;
1001
- return guardedBinding12Previous = candidate;
1002
- });
1003
- let guardedBinding13Previous = null;
1004
- const guardedBinding13 = computed(() => {
1005
- const candidate = concat(uid.value, "-validation");
1006
- if (candidate === Symbol.for("html-next.invalid-result")) return guardedBinding13Previous;
1007
- return guardedBinding13Previous = candidate;
1008
- });
1009
- provide("html-next:ui-combobox:internalItems", internalItems);
1010
- provide("html-next:ui-combobox:raw", raw);
1011
- provide("html-next:ui-combobox:display", display);
1012
- provide("html-next:ui-combobox:selected", selected);
1013
- provide("html-next:ui-combobox:expanded", expanded);
1014
- provide("html-next:ui-combobox:rows", rows);
1015
- provide("html-next:ui-combobox:active", active);
1016
- provide("html-next:ui-combobox:helpOpen", helpOpen);
1017
- provide("html-next:ui-combobox:lookupError", lookupError);
1018
- provide("html-next:ui-combobox:validation", validation);
1019
- provide("html-next:ui-combobox:uid", uid);
1020
- provide("html-next:ui-combobox:submitted", submitted);
1021
- provide("html-next:ui-combobox:groups", groups);
1022
- provide("html-next:ui-combobox:creatable", creatable);
1023
- provide("html-next:ui-combobox:createIndex", createIndex);
1024
- provide("html-next:ui-combobox:message", message);
1025
- provide("html-next:ui-combobox:statusText", statusText);
1026
- provide("html-next:ui-combobox:validationStatus", validationStatus);
1027
- const scopedSlotName = useScopedSlotName();
1028
- checkHydratedRoot("div", "ui-combobox");
1029
- /** The values the styles' :host() and :state() rules test. */
1030
- const hostState = computed(() => [
1031
- checkedProps.value.size && "size",
1032
- checkedProps.value.size != null && `size=${encodeURIComponent(checkedProps.value.size)}`,
1033
- checkedProps.value.muted && "muted",
1034
- validationStatus.value && "validationStatus",
1035
- `validationStatus=${encodeURIComponent(validationStatus.value)}`,
1036
- checkedProps.value.invalid && "invalid",
1037
- checkedProps.value.multiple && "multiple"
1038
- ].filter(Boolean).join(" "));
1039
- const isQueryChangeDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && typeof detail["query"] === "string" && typeof detail["display"] === "string" && (detail["trigger"] === "keyboard" || detail["trigger"] === "pointer" || detail["trigger"] === "programmatic") && Object.keys(detail).every((key) => [
1040
- "query",
1041
- "display",
1042
- "trigger"
1043
- ].includes(key));
1044
- const isValueChangeDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && (detail["value"] == null || typeof detail["value"] === "string") && typeof detail["query"] === "string" && (detail["option"] == null || detail["option"] !== null && typeof detail["option"] === "object" && !Array.isArray(detail["option"]) && typeof detail["option"]["id"] === "string" && typeof detail["option"]["value"] === "string" && typeof detail["option"]["label"] === "string" && (detail["option"]["group"] == null || typeof detail["option"]["group"] === "string") && (detail["option"]["disabled"] == null || typeof detail["option"]["disabled"] === "boolean") && (detail["option"]["description"] == null || typeof detail["option"]["description"] === "string") && (detail["option"]["tag"] == null || detail["option"]["tag"] !== null && typeof detail["option"]["tag"] === "object" && !Array.isArray(detail["option"]["tag"]) && typeof detail["option"]["tag"]["label"] === "string" && (detail["option"]["tag"]["tone"] == null || detail["option"]["tag"]["tone"] === "neutral" || detail["option"]["tag"]["tone"] === "accent" || detail["option"]["tag"]["tone"] === "info" || detail["option"]["tag"]["tone"] === "success" || detail["option"]["tag"]["tone"] === "warning" || detail["option"]["tag"]["tone"] === "danger") && (detail["option"]["tag"]["color"] == null || typeof detail["option"]["tag"]["color"] === "string") && Object.keys(detail["option"]["tag"]).every((key) => [
1045
- "label",
1046
- "tone",
1047
- "color"
1048
- ].includes(key))) && Object.keys(detail["option"]).every((key) => [
1049
- "id",
1050
- "value",
1051
- "label",
1052
- "group",
1053
- "disabled",
1054
- "description",
1055
- "tag"
1056
- ].includes(key))) && (detail["kind"] === "selection" || detail["kind"] === "clear" || detail["kind"] === "free-entry" || detail["kind"] === "create") && (detail["trigger"] === "keyboard" || detail["trigger"] === "pointer" || detail["trigger"] === "programmatic") && Object.keys(detail).every((key) => [
1057
- "value",
1058
- "query",
1059
- "option",
1060
- "kind",
1061
- "trigger"
1062
- ].includes(key));
1063
- const isItemsChangeDetail = (detail) => Array.isArray(detail) && detail.every((item) => item !== null && typeof item === "object" && !Array.isArray(item) && typeof item["id"] === "string" && typeof item["value"] === "string" && typeof item["label"] === "string" && (item["group"] == null || typeof item["group"] === "string") && (item["disabled"] == null || typeof item["disabled"] === "boolean") && (item["description"] == null || typeof item["description"] === "string") && (item["tag"] == null || item["tag"] !== null && typeof item["tag"] === "object" && !Array.isArray(item["tag"]) && typeof item["tag"]["label"] === "string" && (item["tag"]["tone"] == null || item["tag"]["tone"] === "neutral" || item["tag"]["tone"] === "accent" || item["tag"]["tone"] === "info" || item["tag"]["tone"] === "success" || item["tag"]["tone"] === "warning" || item["tag"]["tone"] === "danger") && (item["tag"]["color"] == null || typeof item["tag"]["color"] === "string") && Object.keys(item["tag"]).every((key) => [
1064
- "label",
1065
- "tone",
1066
- "color"
1067
- ].includes(key))) && Object.keys(item).every((key) => [
1068
- "id",
1069
- "value",
1070
- "label",
1071
- "group",
1072
- "disabled",
1073
- "description",
1074
- "tag"
1075
- ].includes(key)));
1076
- const isValidationChangeDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && (detail["status"] === "pristine" || detail["status"] === "pending" || detail["status"] === "valid" || detail["status"] === "warning" || detail["status"] === "error") && typeof detail["touched"] === "boolean" && typeof detail["dirty"] === "boolean" && Array.isArray(detail["issues"]) && detail["issues"].every((item) => item !== null && typeof item === "object" && !Array.isArray(item) && typeof item["message"] === "string" && (item["path"] == null || Array.isArray(item["path"]) && item["path"].every((item) => true)) && (item["severity"] == null || item["severity"] === "error" || item["severity"] === "warning") && Object.keys(item).every((key) => [
1077
- "message",
1078
- "path",
1079
- "severity"
1080
- ].includes(key))) && (detail["output"] == null || true) && Object.keys(detail).every((key) => [
1081
- "status",
1082
- "touched",
1083
- "dirty",
1084
- "issues",
1085
- "output"
1086
- ].includes(key));
1087
- const isAddItemDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && detail["item"] !== null && typeof detail["item"] === "object" && !Array.isArray(detail["item"]) && typeof detail["item"]["id"] === "string" && typeof detail["item"]["value"] === "string" && typeof detail["item"]["label"] === "string" && (detail["item"]["group"] == null || typeof detail["item"]["group"] === "string") && (detail["item"]["disabled"] == null || typeof detail["item"]["disabled"] === "boolean") && (detail["item"]["description"] == null || typeof detail["item"]["description"] === "string") && (detail["item"]["tag"] == null || detail["item"]["tag"] !== null && typeof detail["item"]["tag"] === "object" && !Array.isArray(detail["item"]["tag"]) && typeof detail["item"]["tag"]["label"] === "string" && (detail["item"]["tag"]["tone"] == null || detail["item"]["tag"]["tone"] === "neutral" || detail["item"]["tag"]["tone"] === "accent" || detail["item"]["tag"]["tone"] === "info" || detail["item"]["tag"]["tone"] === "success" || detail["item"]["tag"]["tone"] === "warning" || detail["item"]["tag"]["tone"] === "danger") && (detail["item"]["tag"]["color"] == null || typeof detail["item"]["tag"]["color"] === "string") && Object.keys(detail["item"]["tag"]).every((key) => [
1088
- "label",
1089
- "tone",
1090
- "color"
1091
- ].includes(key))) && Object.keys(detail["item"]).every((key) => [
1092
- "id",
1093
- "value",
1094
- "label",
1095
- "group",
1096
- "disabled",
1097
- "description",
1098
- "tag"
1099
- ].includes(key)) && Number.isInteger(detail["index"]) && (detail["trigger"] === "keyboard" || detail["trigger"] === "pointer" || detail["trigger"] === "programmatic") && Object.keys(detail).every((key) => [
1100
- "item",
1101
- "index",
1102
- "trigger"
1103
- ].includes(key));
1104
- const isCreateItemDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && typeof detail["query"] === "string" && (detail["trigger"] === "keyboard" || detail["trigger"] === "pointer" || detail["trigger"] === "programmatic") && Object.keys(detail).every((key) => ["query", "trigger"].includes(key));
1105
- const isSelectedValuesChangeDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && Array.isArray(detail["selectedValues"]) && detail["selectedValues"].every((item) => typeof item === "string") && (detail["trigger"] === "keyboard" || detail["trigger"] === "pointer" || detail["trigger"] === "programmatic") && Object.keys(detail).every((key) => ["selectedValues", "trigger"].includes(key));
1106
- const dispatch = createDispatch(root, emit, {
1107
- checks: {
1108
- "query-change": isQueryChangeDetail,
1109
- "value-change": isValueChangeDetail,
1110
- "items-change": isItemsChangeDetail,
1111
- "free-entry": isValueChangeDetail,
1112
- "create-entry": isValueChangeDetail,
1113
- "validation-change": isValidationChangeDetail,
1114
- "options-change": isItemsChangeDetail,
1115
- "add-item": isAddItemDetail,
1116
- "remove-item": isAddItemDetail,
1117
- "create-item": isCreateItemDetail,
1118
- "selected-values-change": isSelectedValuesChangeDetail
1119
- },
1120
- modeled: [
1121
- "query",
1122
- "selectedValues",
1123
- "value"
1124
- ]
1125
- });
1126
- useComponentHost(() => import("@threadlabs/looma/components/ui-combobox/ui-combobox.js"), {
1127
- root,
1128
- module: true,
1129
- dispatch,
1130
- acceptsState: (name, keys, value) => acceptsControllerWrite(value, {
1131
- internalItems: {
1132
- kind: "list",
1133
- item: {
1134
- kind: "object",
1135
- fields: [
1136
- {
1137
- name: "id",
1138
- type: {
1139
- kind: "terminal",
1140
- name: "string"
1141
- },
1142
- optional: false
1143
- },
1144
- {
1145
- name: "value",
1146
- type: {
1147
- kind: "terminal",
1148
- name: "string"
1149
- },
1150
- optional: false
1151
- },
1152
- {
1153
- name: "label",
1154
- type: {
1155
- kind: "terminal",
1156
- name: "string"
1157
- },
1158
- optional: false
1159
- },
1160
- {
1161
- name: "group",
1162
- type: {
1163
- kind: "terminal",
1164
- name: "string"
1165
- },
1166
- optional: true
1167
- },
1168
- {
1169
- name: "disabled",
1170
- type: {
1171
- kind: "terminal",
1172
- name: "boolean"
1173
- },
1174
- optional: true
1175
- },
1176
- {
1177
- name: "description",
1178
- type: {
1179
- kind: "terminal",
1180
- name: "string"
1181
- },
1182
- optional: true
1183
- },
1184
- {
1185
- name: "tag",
1186
- type: {
1187
- kind: "object",
1188
- fields: [
1189
- {
1190
- name: "label",
1191
- type: {
1192
- kind: "terminal",
1193
- name: "string"
1194
- },
1195
- optional: false
1196
- },
1197
- {
1198
- name: "tone",
1199
- type: {
1200
- kind: "constrained",
1201
- base: {
1202
- kind: "terminal",
1203
- name: "keyword"
1204
- },
1205
- values: [
1206
- "neutral",
1207
- "accent",
1208
- "info",
1209
- "success",
1210
- "warning",
1211
- "danger"
1212
- ]
1213
- },
1214
- optional: true
1215
- },
1216
- {
1217
- name: "color",
1218
- type: {
1219
- kind: "terminal",
1220
- name: "string"
1221
- },
1222
- optional: true
1223
- }
1224
- ],
1225
- open: false
1226
- },
1227
- optional: true
1228
- }
1229
- ],
1230
- open: false
1231
- }
1232
- },
1233
- raw: {
1234
- kind: "terminal",
1235
- name: "string"
1236
- },
1237
- display: {
1238
- kind: "terminal",
1239
- name: "string"
1240
- },
1241
- selected: {
1242
- kind: "terminal",
1243
- name: "string"
1244
- },
1245
- expanded: {
1246
- kind: "terminal",
1247
- name: "boolean"
1248
- },
1249
- rows: {
1250
- kind: "list",
1251
- item: {
1252
- kind: "object",
1253
- fields: [
1254
- {
1255
- name: "id",
1256
- type: {
1257
- kind: "terminal",
1258
- name: "string"
1259
- },
1260
- optional: false
1261
- },
1262
- {
1263
- name: "value",
1264
- type: {
1265
- kind: "terminal",
1266
- name: "string"
1267
- },
1268
- optional: false
1269
- },
1270
- {
1271
- name: "label",
1272
- type: {
1273
- kind: "terminal",
1274
- name: "string"
1275
- },
1276
- optional: false
1277
- },
1278
- {
1279
- name: "group",
1280
- type: {
1281
- kind: "terminal",
1282
- name: "string"
1283
- },
1284
- optional: true
1285
- },
1286
- {
1287
- name: "disabled",
1288
- type: {
1289
- kind: "terminal",
1290
- name: "boolean"
1291
- },
1292
- optional: false
1293
- },
1294
- {
1295
- name: "selected",
1296
- type: {
1297
- kind: "terminal",
1298
- name: "boolean"
1299
- },
1300
- optional: false
1301
- },
1302
- {
1303
- name: "description",
1304
- type: {
1305
- kind: "terminal",
1306
- name: "string"
1307
- },
1308
- optional: true
1309
- },
1310
- {
1311
- name: "tag",
1312
- type: {
1313
- kind: "object",
1314
- fields: [
1315
- {
1316
- name: "label",
1317
- type: {
1318
- kind: "terminal",
1319
- name: "string"
1320
- },
1321
- optional: false
1322
- },
1323
- {
1324
- name: "tone",
1325
- type: {
1326
- kind: "constrained",
1327
- base: {
1328
- kind: "terminal",
1329
- name: "keyword"
1330
- },
1331
- values: [
1332
- "neutral",
1333
- "accent",
1334
- "info",
1335
- "success",
1336
- "warning",
1337
- "danger"
1338
- ]
1339
- },
1340
- optional: true
1341
- },
1342
- {
1343
- name: "color",
1344
- type: {
1345
- kind: "terminal",
1346
- name: "string"
1347
- },
1348
- optional: true
1349
- }
1350
- ],
1351
- open: false
1352
- },
1353
- optional: true
1354
- }
1355
- ],
1356
- open: false
1357
- }
1358
- },
1359
- active: {
1360
- kind: "terminal",
1361
- name: "integer"
1362
- },
1363
- helpOpen: {
1364
- kind: "terminal",
1365
- name: "boolean"
1366
- },
1367
- lookupError: {
1368
- kind: "terminal",
1369
- name: "string"
1370
- },
1371
- validation: {
1372
- kind: "object",
1373
- fields: [
1374
- {
1375
- name: "status",
1376
- type: {
1377
- kind: "constrained",
1378
- base: {
1379
- kind: "terminal",
1380
- name: "keyword"
1381
- },
1382
- values: [
1383
- "pristine",
1384
- "pending",
1385
- "valid",
1386
- "warning",
1387
- "error"
1388
- ]
1389
- },
1390
- optional: false
1391
- },
1392
- {
1393
- name: "touched",
1394
- type: {
1395
- kind: "terminal",
1396
- name: "boolean"
1397
- },
1398
- optional: false
1399
- },
1400
- {
1401
- name: "dirty",
1402
- type: {
1403
- kind: "terminal",
1404
- name: "boolean"
1405
- },
1406
- optional: false
1407
- },
1408
- {
1409
- name: "issues",
1410
- type: {
1411
- kind: "list",
1412
- item: {
1413
- kind: "object",
1414
- fields: [{
1415
- name: "message",
1416
- type: {
1417
- kind: "terminal",
1418
- name: "string"
1419
- },
1420
- optional: false
1421
- }],
1422
- open: false
1423
- }
1424
- },
1425
- optional: false
1426
- }
1427
- ],
1428
- open: true
1429
- },
1430
- uid: {
1431
- kind: "terminal",
1432
- name: "string"
1433
- },
1434
- submitted: {
1435
- kind: "terminal",
1436
- name: "string"
1437
- },
1438
- groups: {
1439
- kind: "list",
1440
- item: {
1441
- kind: "object",
1442
- fields: [
1443
- {
1444
- name: "name",
1445
- type: {
1446
- kind: "terminal",
1447
- name: "string"
1448
- },
1449
- optional: false
1450
- },
1451
- {
1452
- name: "role",
1453
- type: {
1454
- kind: "constrained",
1455
- base: {
1456
- kind: "terminal",
1457
- name: "keyword"
1458
- },
1459
- values: ["group", "presentation"]
1460
- },
1461
- optional: false
1462
- },
1463
- {
1464
- name: "label",
1465
- type: {
1466
- kind: "terminal",
1467
- name: "string"
1468
- },
1469
- optional: true
1470
- },
1471
- {
1472
- name: "rows",
1473
- type: {
1474
- kind: "list",
1475
- item: {
1476
- kind: "object",
1477
- fields: [
1478
- {
1479
- name: "id",
1480
- type: {
1481
- kind: "terminal",
1482
- name: "string"
1483
- },
1484
- optional: false
1485
- },
1486
- {
1487
- name: "value",
1488
- type: {
1489
- kind: "terminal",
1490
- name: "string"
1491
- },
1492
- optional: false
1493
- },
1494
- {
1495
- name: "label",
1496
- type: {
1497
- kind: "terminal",
1498
- name: "string"
1499
- },
1500
- optional: false
1501
- },
1502
- {
1503
- name: "group",
1504
- type: {
1505
- kind: "terminal",
1506
- name: "string"
1507
- },
1508
- optional: true
1509
- },
1510
- {
1511
- name: "disabled",
1512
- type: {
1513
- kind: "terminal",
1514
- name: "boolean"
1515
- },
1516
- optional: false
1517
- },
1518
- {
1519
- name: "selected",
1520
- type: {
1521
- kind: "terminal",
1522
- name: "boolean"
1523
- },
1524
- optional: false
1525
- },
1526
- {
1527
- name: "description",
1528
- type: {
1529
- kind: "terminal",
1530
- name: "string"
1531
- },
1532
- optional: true
1533
- },
1534
- {
1535
- name: "tag",
1536
- type: {
1537
- kind: "object",
1538
- fields: [
1539
- {
1540
- name: "label",
1541
- type: {
1542
- kind: "terminal",
1543
- name: "string"
1544
- },
1545
- optional: false
1546
- },
1547
- {
1548
- name: "tone",
1549
- type: {
1550
- kind: "constrained",
1551
- base: {
1552
- kind: "terminal",
1553
- name: "keyword"
1554
- },
1555
- values: [
1556
- "neutral",
1557
- "accent",
1558
- "info",
1559
- "success",
1560
- "warning",
1561
- "danger"
1562
- ]
1563
- },
1564
- optional: true
1565
- },
1566
- {
1567
- name: "color",
1568
- type: {
1569
- kind: "terminal",
1570
- name: "string"
1571
- },
1572
- optional: true
1573
- }
1574
- ],
1575
- open: false
1576
- },
1577
- optional: true
1578
- },
1579
- {
1580
- name: "index",
1581
- type: {
1582
- kind: "terminal",
1583
- name: "integer"
1584
- },
1585
- optional: false
1586
- },
1587
- {
1588
- name: "labelledBy",
1589
- type: {
1590
- kind: "terminal",
1591
- name: "string"
1592
- },
1593
- optional: true
1594
- },
1595
- {
1596
- name: "detail",
1597
- type: {
1598
- kind: "terminal",
1599
- name: "string"
1600
- },
1601
- optional: true
1602
- },
1603
- {
1604
- name: "option",
1605
- type: {
1606
- kind: "object",
1607
- fields: [
1608
- {
1609
- name: "id",
1610
- type: {
1611
- kind: "terminal",
1612
- name: "string"
1613
- },
1614
- optional: false
1615
- },
1616
- {
1617
- name: "value",
1618
- type: {
1619
- kind: "terminal",
1620
- name: "string"
1621
- },
1622
- optional: false
1623
- },
1624
- {
1625
- name: "label",
1626
- type: {
1627
- kind: "terminal",
1628
- name: "string"
1629
- },
1630
- optional: false
1631
- },
1632
- {
1633
- name: "group",
1634
- type: {
1635
- kind: "terminal",
1636
- name: "string"
1637
- },
1638
- optional: true
1639
- },
1640
- {
1641
- name: "disabled",
1642
- type: {
1643
- kind: "terminal",
1644
- name: "boolean"
1645
- },
1646
- optional: true
1647
- },
1648
- {
1649
- name: "description",
1650
- type: {
1651
- kind: "terminal",
1652
- name: "string"
1653
- },
1654
- optional: true
1655
- },
1656
- {
1657
- name: "tag",
1658
- type: {
1659
- kind: "object",
1660
- fields: [
1661
- {
1662
- name: "label",
1663
- type: {
1664
- kind: "terminal",
1665
- name: "string"
1666
- },
1667
- optional: false
1668
- },
1669
- {
1670
- name: "tone",
1671
- type: {
1672
- kind: "constrained",
1673
- base: {
1674
- kind: "terminal",
1675
- name: "keyword"
1676
- },
1677
- values: [
1678
- "neutral",
1679
- "accent",
1680
- "info",
1681
- "success",
1682
- "warning",
1683
- "danger"
1684
- ]
1685
- },
1686
- optional: true
1687
- },
1688
- {
1689
- name: "color",
1690
- type: {
1691
- kind: "terminal",
1692
- name: "string"
1693
- },
1694
- optional: true
1695
- }
1696
- ],
1697
- open: false
1698
- },
1699
- optional: true
1700
- },
1701
- {
1702
- name: "selected",
1703
- type: {
1704
- kind: "terminal",
1705
- name: "boolean"
1706
- },
1707
- optional: true
1708
- }
1709
- ],
1710
- open: false
1711
- },
1712
- optional: false
1713
- }
1714
- ],
1715
- open: false
1716
- }
1717
- },
1718
- optional: false
1719
- }
1720
- ],
1721
- open: false
1722
- }
1723
- },
1724
- creatable: {
1725
- kind: "terminal",
1726
- name: "boolean"
1727
- },
1728
- createIndex: {
1729
- kind: "terminal",
1730
- name: "integer"
1731
- },
1732
- message: {
1733
- kind: "terminal",
1734
- name: "string"
1735
- },
1736
- statusText: {
1737
- kind: "terminal",
1738
- name: "string"
1739
- },
1740
- validationStatus: {
1741
- kind: "terminal",
1742
- name: "string"
1743
- }
1744
- }[name], keys),
1745
- initials: {
1746
- internalItems: [],
1747
- raw: "",
1748
- display: "",
1749
- expanded: false,
1750
- rows: [],
1751
- helpOpen: false,
1752
- lookupError: "",
1753
- validation: {
1754
- status: "pristine",
1755
- touched: false,
1756
- dirty: false,
1757
- issues: []
1758
- },
1759
- uid: "",
1760
- submitted: "",
1761
- groups: [],
1762
- creatable: false,
1763
- createIndex: 0,
1764
- message: "",
1765
- statusText: "",
1766
- validationStatus: "pristine"
1767
- },
1768
- controllerSource: {
1769
- specifier: "../components/ui-combobox/ui-combobox.js",
1770
- definition: "./components/ui-combobox/ui-combobox.html"
1771
- },
1772
- props: checkedProps,
1773
- inputs: propInputs,
1774
- inputTracking,
1775
- propInputs: (name) => {
1776
- const incoming = hydrationInstance?.vnode.props;
1777
- const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
1778
- return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
1779
- },
1780
- propNames: [
1781
- "allowCreate",
1782
- "allowFreeText",
1783
- "autoHighlight",
1784
- "clearQueryOnBlur",
1785
- "clearable",
1786
- "disabled",
1787
- "disclosure",
1788
- "filter",
1789
- "help",
1790
- "invalid",
1791
- "items",
1792
- "label",
1793
- "labelVisibility",
1794
- "loading",
1795
- "maxRows",
1796
- "multiple",
1797
- "muted",
1798
- "name",
1799
- "openOnFocus",
1800
- "placeholder",
1801
- "query",
1802
- "readonly",
1803
- "required",
1804
- "selectOnTab",
1805
- "selectedValues",
1806
- "size",
1807
- "tokenSeparators",
1808
- "value"
1809
- ],
1810
- propValidity: (name) => propValidityState({
1811
- contract: propValidityContract,
1812
- values: { ...props }
1813
- }, name),
1814
- refs: {
1815
- field: fieldElement,
1816
- input: inputElement,
1817
- popup: popupElement,
1818
- listbox: listboxElement,
1819
- options: optionsElement
1820
- },
1821
- state: {
1822
- internalItems,
1823
- raw,
1824
- display,
1825
- selected,
1826
- expanded,
1827
- rows,
1828
- active,
1829
- helpOpen,
1830
- lookupError,
1831
- validation,
1832
- uid,
1833
- submitted,
1834
- groups,
1835
- creatable,
1836
- createIndex,
1837
- message,
1838
- statusText,
1839
- validationStatus
1840
- }
1841
- });
1842
- return (_ctx, _cache) => {
1843
- return withDirectives((openBlock(), createElementBlock("div", mergeProps({ class: "ui-combobox" }, unref(nativeAttrs)(_ctx.$attrs), {
1844
- "data-hn": "",
1845
- "data-hn-ui-combobox": "",
1846
- "data-ui-combobox-prop-allow-create": unref(reflectedProp)("allowCreate", "allow-create", checkedProps.value.allowCreate, void 0, false),
1847
- "data-ui-combobox-prop-allow-free-text": unref(reflectedProp)("allowFreeText", "allow-free-text", checkedProps.value.allowFreeText, void 0, false),
1848
- "data-ui-combobox-prop-auto-highlight": unref(reflectedProp)("autoHighlight", "auto-highlight", checkedProps.value.autoHighlight, void 0, false),
1849
- "data-ui-combobox-prop-clear-query-on-blur": unref(reflectedProp)("clearQueryOnBlur", "clear-query-on-blur", checkedProps.value.clearQueryOnBlur, void 0, false),
1850
- "data-ui-combobox-prop-clearable": unref(reflectedProp)("clearable", "clearable", checkedProps.value.clearable, void 0, false),
1851
- "data-ui-combobox-prop-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
1852
- "data-ui-combobox-prop-disclosure": unref(reflectedProp)("disclosure", "disclosure", checkedProps.value.disclosure, void 0, false),
1853
- "data-ui-combobox-prop-filter": unref(reflectedProp)("filter", "filter", checkedProps.value.filter, void 0, false),
1854
- "data-ui-combobox-prop-help": unref(reflectedProp)("help", "help", checkedProps.value.help, void 0, false),
1855
- "data-ui-combobox-prop-invalid": unref(reflectedProp)("invalid", "invalid", checkedProps.value.invalid, void 0, false),
1856
- "data-ui-combobox-prop-items": unref(reflectedProp)("items", "items", checkedProps.value.items, void 0, false),
1857
- "data-ui-combobox-prop-label": unref(reflectedProp)("label", "label", checkedProps.value.label, void 0, false),
1858
- "data-ui-combobox-prop-label-visibility": unref(reflectedProp)("labelVisibility", "label-visibility", checkedProps.value.labelVisibility, void 0, false),
1859
- "data-ui-combobox-prop-loading": unref(reflectedProp)("loading", "loading", checkedProps.value.loading, void 0, false),
1860
- "data-ui-combobox-prop-max-rows": unref(reflectedProp)("maxRows", "max-rows", checkedProps.value.maxRows, void 0, false),
1861
- "data-ui-combobox-prop-multiple": unref(reflectedProp)("multiple", "multiple", checkedProps.value.multiple, void 0, false),
1862
- "data-ui-combobox-prop-muted": unref(reflectedProp)("muted", "muted", checkedProps.value.muted, void 0, false),
1863
- "data-ui-combobox-prop-name": unref(reflectedProp)("name", "name", checkedProps.value.name, void 0, false),
1864
- "data-ui-combobox-prop-open-on-focus": unref(reflectedProp)("openOnFocus", "open-on-focus", checkedProps.value.openOnFocus, void 0, false),
1865
- "data-ui-combobox-prop-placeholder": unref(reflectedProp)("placeholder", "placeholder", checkedProps.value.placeholder, void 0, false),
1866
- "data-ui-combobox-prop-query": unref(reflectedProp)("query", "query", checkedProps.value.query, void 0, false),
1867
- "data-ui-combobox-prop-readonly": unref(reflectedProp)("readonly", "readonly", checkedProps.value.readonly, void 0, false),
1868
- "data-ui-combobox-prop-required": unref(reflectedProp)("required", "required", checkedProps.value.required, void 0, false),
1869
- "data-ui-combobox-prop-select-on-tab": unref(reflectedProp)("selectOnTab", "select-on-tab", checkedProps.value.selectOnTab, void 0, false),
1870
- "data-ui-combobox-prop-selected-values": unref(reflectedProp)("selectedValues", "selected-values", checkedProps.value.selectedValues, void 0, false),
1871
- "data-ui-combobox-prop-size": unref(reflectedProp)("size", "size", checkedProps.value.size, void 0, false),
1872
- "data-ui-combobox-prop-token-separators": unref(reflectedProp)("tokenSeparators", "token-separators", checkedProps.value.tokenSeparators, void 0, false),
1873
- "data-ui-combobox-prop-value": unref(reflectedProp)("value", "value", checkedProps.value.value, void 0, false),
1874
- "data-ui-combobox-state": hostState.value || void 0,
1875
- ref_key: "root",
1876
- ref: root
1877
- }), [
1878
- createElementVNode("label", {
1879
- "data-hn-ui-combobox": "",
1880
- for: guarded.value,
1881
- class: normalizeClass({ "sr-only": checkedProps.value.labelVisibility === "sr-only" })
1882
- }, [createTextVNode(toDisplayString(checkedProps.value.label), 1), checkedProps.value.required ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(" *")], 64)) : createCommentVNode("v-if", true)], 10, _hoisted_2),
1883
- createElementVNode("div", _hoisted_3, [createElementVNode("div", {
1884
- class: "field",
1885
- "data-hn-ui-combobox": "",
1886
- ref_key: "fieldElement",
1887
- ref: fieldElement
1888
- }, [
1889
- createElementVNode("div", {
1890
- class: normalizeClass(["entry", { multiline: checkedProps.value.multiple && (unref(number)(checkedProps.value.maxRows) === void 0 || unref(number)(1) === void 0 ? void 0 : unref(number)(checkedProps.value.maxRows) > unref(number)(1)) }]),
1891
- "data-hn-ui-combobox": "",
1892
- style: normalizeStyle({ "--_max-rows": checkedProps.value.maxRows?.toString() })
1893
- }, [
1894
- createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "start", {}, void 0, true)]),
1895
- _cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
1896
- checkedProps.value.multiple ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1897
- _cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
1898
- createVNode(unref(KeyedBoundary), null, {
1899
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(internalItems.value, (item, index, loop) => item.id), (item, index) => {
1900
- return openBlock(), createElementBlock("button", {
1901
- key: item.id,
1902
- class: "item",
1903
- type: "button",
1904
- tabindex: "-1",
1905
- "data-hn-ui-combobox": "",
1906
- "data-index": index,
1907
- disabled: checkedProps.value.disabled || checkedProps.value.readonly || item.disabled,
1908
- "aria-label": unref(concat)(item.label, ", press Delete or Backspace to remove")
1909
- }, [renderSlot(_ctx.$slots, unref(scopedSlotName)("item"), { item }, () => [createVNode(UiBadge_default, { class: "ui-badge" }, {
1910
- default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
1911
- _: 2
1912
- }, 1024)], true)], 8, _hoisted_5);
1913
- }), 128))]),
1914
- _: 3
1915
- }),
1916
- _cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1))
1917
- ], 64)) : createCommentVNode("v-if", true),
1918
- _cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
1919
- withDirectives(createElementVNode("input", {
1920
- role: "combobox",
1921
- "aria-autocomplete": "list",
1922
- autocomplete: "off",
1923
- "data-hn-ui-combobox": "",
1924
- id: guardedBinding.value,
1925
- "aria-controls": guardedBinding2.value,
1926
- "aria-expanded": expanded.value,
1927
- "aria-invalid": checkedProps.value.invalid || validationStatus.value === "error",
1928
- "aria-busy": checkedProps.value.loading || validationStatus.value === "pending",
1929
- placeholder: checkedProps.value.placeholder ?? void 0,
1930
- disabled: checkedProps.value.disabled ?? void 0,
1931
- readonly: checkedProps.value.readonly ?? void 0,
1932
- required: guardedBinding3.value,
1933
- ref_key: "inputElement",
1934
- ref: inputElement
1935
- }, null, 8, _hoisted_6), [[unref(vBindControl), {
1936
- tag: "input",
1937
- name: "value",
1938
- value: display.value,
1939
- nativeProperty: true,
1940
- defaultValue: ""
1941
- }]])
1942
- ], 6),
1943
- checkedProps.value.name && !checkedProps.value.multiple ? (openBlock(), createElementBlock("input", {
1944
- key: 0,
1945
- type: "hidden",
1946
- "data-hn-ui-combobox": "",
1947
- name: checkedProps.value.name ?? void 0,
1948
- "^value": submitted.value,
1949
- disabled: checkedProps.value.disabled ?? void 0
1950
- }, null, 8, _hoisted_7)) : createCommentVNode("v-if", true),
1951
- _cache[8] || (_cache[8] = createTextVNode(toDisplayString(" "), -1)),
1952
- checkedProps.value.name && checkedProps.value.multiple ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1953
- _cache[4] || (_cache[4] = createTextVNode(toDisplayString(" "), -1)),
1954
- createVNode(unref(KeyedBoundary), null, {
1955
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(internalItems.value, (item, index, loop) => item.id), (item) => {
1956
- return openBlock(), createElementBlock("input", {
1957
- key: item.id,
1958
- type: "hidden",
1959
- "data-hn-ui-combobox": "",
1960
- name: checkedProps.value.name ?? void 0,
1961
- "^value": item.value,
1962
- disabled: checkedProps.value.disabled ?? void 0
1963
- }, null, 8, _hoisted_8);
1964
- }), 128))]),
1965
- _: 1
1966
- }),
1967
- _cache[5] || (_cache[5] = createTextVNode(toDisplayString(" "), -1))
1968
- ], 64)) : createCommentVNode("v-if", true),
1969
- _cache[9] || (_cache[9] = createTextVNode(toDisplayString(" "), -1)),
1970
- checkedProps.value.clearable ? (openBlock(), createElementBlock("button", {
1971
- key: 2,
1972
- type: "button",
1973
- "data-combobox-action": "clear",
1974
- "aria-label": "Clear",
1975
- "data-hn-ui-combobox": "",
1976
- disabled: checkedProps.value.disabled || checkedProps.value.readonly || !raw.value && (checkedProps.value.multiple || selected.value === null)
1977
- }, [..._cache[6] || (_cache[6] = [createElementVNode("svg", {
1978
- class: "affordance-icon",
1979
- "aria-hidden": "true",
1980
- viewBox: "0 0 24 24",
1981
- fill: "none",
1982
- stroke: "currentColor",
1983
- "stroke-width": "2",
1984
- "stroke-linecap": "round",
1985
- "data-hn-ui-combobox": ""
1986
- }, [createElementVNode("path", {
1987
- d: "M7 7l10 10M17 7 7 17",
1988
- "data-hn-ui-combobox": ""
1989
- })], -1)])], 8, _hoisted_9)) : createCommentVNode("v-if", true),
1990
- _cache[10] || (_cache[10] = createTextVNode(toDisplayString(" "), -1)),
1991
- checkedProps.value.disclosure ? (openBlock(), createElementBlock("button", {
1992
- key: 3,
1993
- type: "button",
1994
- "data-combobox-action": "disclosure",
1995
- tabindex: "-1",
1996
- "aria-label": "Show suggestions",
1997
- "data-hn-ui-combobox": "",
1998
- "aria-controls": guardedBinding4.value,
1999
- disabled: checkedProps.value.disabled || checkedProps.value.readonly
2000
- }, [..._cache[7] || (_cache[7] = [createElementVNode("svg", {
2001
- class: "affordance-icon",
2002
- "aria-hidden": "true",
2003
- viewBox: "0 0 24 24",
2004
- fill: "none",
2005
- stroke: "currentColor",
2006
- "stroke-width": "2.25",
2007
- "stroke-linecap": "round",
2008
- "stroke-linejoin": "round",
2009
- "data-hn-ui-combobox": ""
2010
- }, [createElementVNode("path", {
2011
- d: "m6 9 6 6 6-6",
2012
- "data-hn-ui-combobox": ""
2013
- })], -1)])], 8, _hoisted_10)) : createCommentVNode("v-if", true)
2014
- ], 512), checkedProps.value.help ? (openBlock(), createElementBlock("button", {
2015
- key: 0,
2016
- class: "help",
2017
- type: "button",
2018
- "aria-label": "Help",
2019
- "data-hn-ui-combobox": "",
2020
- id: guardedBinding5.value,
2021
- disabled: checkedProps.value.disabled ?? void 0
2022
- }, [..._cache[11] || (_cache[11] = [createElementVNode("svg", {
2023
- class: "help-icon",
2024
- "aria-hidden": "true",
2025
- viewBox: "0 0 24 24",
2026
- fill: "none",
2027
- stroke: "currentColor",
2028
- "stroke-width": "2",
2029
- "stroke-linecap": "round",
2030
- "stroke-linejoin": "round",
2031
- "data-hn-ui-combobox": ""
2032
- }, [
2033
- createElementVNode("circle", {
2034
- cx: "12",
2035
- cy: "12",
2036
- r: "10",
2037
- "data-hn-ui-combobox": ""
2038
- }),
2039
- createElementVNode("path", {
2040
- d: "M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3",
2041
- "data-hn-ui-combobox": ""
2042
- }),
2043
- createElementVNode("path", {
2044
- d: "M12 17h.01",
2045
- "data-hn-ui-combobox": ""
2046
- })
2047
- ], -1)])], 8, _hoisted_11)) : createCommentVNode("v-if", true)]),
2048
- checkedProps.value.help ? (openBlock(), createBlock(UiTooltip_default, {
2049
- key: 0,
2050
- class: "ui-tooltip",
2051
- trigger: "click",
2052
- id: guardedBinding6.value,
2053
- for: guardedBinding7.value
2054
- }, {
2055
- default: withCtx(() => [createTextVNode(toDisplayString(checkedProps.value.help), 1)]),
2056
- _: 1
2057
- }, 8, ["id", "for"])) : createCommentVNode("v-if", true),
2058
- createElementVNode("div", {
2059
- class: "popup",
2060
- "data-hn-ui-combobox": "",
2061
- hidden: !expanded.value,
2062
- ref_key: "popupElement",
2063
- ref: popupElement
2064
- }, [createElementVNode("div", {
2065
- role: "listbox",
2066
- "data-hn-ui-combobox": "",
2067
- id: guardedBinding8.value,
2068
- "aria-label": guardedBinding9.value,
2069
- "aria-busy": checkedProps.value.loading ?? void 0,
2070
- ref_key: "listboxElement",
2071
- ref: listboxElement
2072
- }, [
2073
- createVNode(unref(KeyedBoundary), null, {
2074
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(groups.value, (group, indexLoop, loop) => group.name), (group) => {
2075
- return openBlock(), createElementBlock("div", {
2076
- key: group.name,
2077
- "data-hn-ui-combobox": "",
2078
- role: group.role,
2079
- "aria-label": group.label
2080
- }, [
2081
- group.name ? (openBlock(), createElementBlock("div", _hoisted_15, toDisplayString(group.name), 1)) : createCommentVNode("v-if", true),
2082
- _cache[17] || (_cache[17] = createTextVNode(toDisplayString(" "), -1)),
2083
- createVNode(unref(KeyedBoundary), null, {
2084
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(uniqueKeys)(group.rows, (row, indexLoop2, loop) => row.id), (row) => {
2085
- return openBlock(), createElementBlock("div", {
2086
- key: row.id,
2087
- class: normalizeClass(["option", { active: row.index === active.value }]),
2088
- role: "option",
2089
- "data-ui-choice-option": "",
2090
- "data-hn-ui-combobox": "",
2091
- "data-multiple": checkedProps.value.multiple ? "" : void 0,
2092
- id: unref(concat)(uid.value, "-option-", row.index),
2093
- "aria-selected": row.selected,
2094
- "aria-disabled": row.disabled,
2095
- "data-index": row.index,
2096
- "aria-labelledby": row.labelledBy,
2097
- "aria-describedby": row.detail
2098
- }, [renderSlot(_ctx.$slots, unref(scopedSlotName)("option"), { option: row.option }, () => [
2099
- _cache[14] || (_cache[14] = createTextVNode(toDisplayString(" "), -1)),
2100
- row.detail ? (openBlock(), createElementBlock("span", _hoisted_17, [
2101
- createElementVNode("span", _hoisted_18, [
2102
- createElementVNode("span", {
2103
- class: "primary",
2104
- "data-hn-ui-combobox": "",
2105
- id: unref(concat)(uid.value, "-option-", row.index, "-label")
2106
- }, toDisplayString(row.label), 9, _hoisted_19),
2107
- _cache[12] || (_cache[12] = createTextVNode(toDisplayString(" "), -1)),
2108
- row.tag ? (openBlock(), createBlock(UiBadge_default, {
2109
- key: 0,
2110
- class: "ui-badge",
2111
- tone: row.tag?.tone,
2112
- style: normalizeStyle({ "--ui-badge-color": row.tag?.color ?? void 0 })
2113
- }, {
2114
- default: withCtx(() => [createElementVNode("span", {
2115
- "data-slotted": "ui-combobox",
2116
- "data-hn-ui-combobox": "",
2117
- id: unref(concat)(uid.value, "-option-", row.index, "-tag")
2118
- }, toDisplayString(row.tag?.label), 9, _hoisted_20)]),
2119
- _: 2
2120
- }, 1032, ["tone", "style"])) : createCommentVNode("v-if", true)
2121
- ]),
2122
- _cache[13] || (_cache[13] = createTextVNode(toDisplayString(" "), -1)),
2123
- row.description ? (openBlock(), createElementBlock("span", {
2124
- key: 0,
2125
- class: "description",
2126
- "data-hn-ui-combobox": "",
2127
- id: unref(concat)(uid.value, "-option-", row.index, "-description")
2128
- }, toDisplayString(row.description), 9, _hoisted_21)) : createCommentVNode("v-if", true)
2129
- ])) : createCommentVNode("v-if", true),
2130
- _cache[15] || (_cache[15] = createTextVNode(toDisplayString(" "), -1)),
2131
- !row.detail ? (openBlock(), createElementBlock("span", _hoisted_22, toDisplayString(row.label), 1)) : createCommentVNode("v-if", true),
2132
- _cache[16] || (_cache[16] = createTextVNode(toDisplayString(" "), -1))
2133
- ], true)], 10, _hoisted_16);
2134
- }), 128))]),
2135
- _: 2
2136
- }, 1024)
2137
- ], 8, _hoisted_14);
2138
- }), 128))]),
2139
- _: 3
2140
- }),
2141
- _cache[19] || (_cache[19] = createTextVNode(toDisplayString(" "), -1)),
2142
- creatable.value ? (openBlock(), createElementBlock("div", {
2143
- key: 0,
2144
- class: normalizeClass(["option", { active: guardedBinding10.value }]),
2145
- role: "option",
2146
- "data-ui-choice-option": "",
2147
- "aria-selected": "false",
2148
- "data-hn-ui-combobox": "",
2149
- "data-multiple": checkedProps.value.multiple ? "" : void 0,
2150
- id: guardedBinding11.value,
2151
- "data-index": createIndex.value
2152
- }, toDisplayString(guardedBinding12.value), 11, _hoisted_23)) : createCommentVNode("v-if", true),
2153
- _cache[20] || (_cache[20] = createTextVNode(toDisplayString(" "), -1)),
2154
- message.value ? (openBlock(), createElementBlock("div", _hoisted_24, toDisplayString(message.value), 1)) : createCommentVNode("v-if", true),
2155
- _cache[21] || (_cache[21] = createTextVNode(toDisplayString(" "), -1)),
2156
- !checkedProps.value.loading && !rows.value[0] && !creatable.value && !lookupError.value ? (openBlock(), createElementBlock("div", _hoisted_25, [renderSlot(_ctx.$slots, "empty", {}, () => [_cache[18] || (_cache[18] = createTextVNode("No suggestions.", -1))], true)])) : createCommentVNode("v-if", true)
2157
- ], 8, _hoisted_13), renderSlot(_ctx.$slots, "footer", {}, void 0, true)], 8, _hoisted_12),
2158
- createElementVNode("div", {
2159
- class: "message",
2160
- "data-hn-ui-combobox": "",
2161
- id: guardedBinding13.value,
2162
- hidden: !validation.value.issues.length
2163
- }, [(openBlock(true), createElementBlock(Fragment, null, renderList(validation.value.issues, (issue, indexLoop3) => {
2164
- return openBlock(), createElementBlock("div", {
2165
- key: indexLoop3,
2166
- "data-hn-ui-combobox": ""
2167
- }, toDisplayString(issue.message), 1);
2168
- }), 128))], 8, _hoisted_26),
2169
- createElementVNode("div", _hoisted_27, toDisplayString(statusText.value), 1),
2170
- createElementVNode("div", {
2171
- class: "authored-options",
2172
- hidden: "",
2173
- "aria-hidden": "true",
2174
- "data-hn-ui-combobox": "",
2175
- ref_key: "optionsElement",
2176
- ref: optionsElement
2177
- }, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 512)
2178
- ], 16, _hoisted_1)), [[unref(vPropValidity), {
2179
- contract: propValidityContract,
2180
- values: { ...props }
2181
- }]]);
2182
- };
2183
- }
2184
- }), [["__scopeId", "data-v-ddbc2c44"]]);
2185
- //#endregion
2186
- export { UiCombobox_default as t };