@threadlabs/looma 0.25.7 → 0.26.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 (434) hide show
  1. package/components/ui-avatar/ui-avatar.html +4 -4
  2. package/components/ui-avatar-group/ui-avatar-group.html +2 -2
  3. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
  4. package/components/ui-breadcrumbs/ui-breadcrumbs.html +1 -1
  5. package/components/ui-button/ui-button.html +27 -27
  6. package/components/ui-callout/ui-callout.html +5 -5
  7. package/components/ui-card/ui-card.html +3 -3
  8. package/components/ui-checkbox/ui-checkbox.html +8 -8
  9. package/components/ui-combobox/ui-combobox.html +59 -59
  10. package/components/ui-dialog/ui-dialog.html +2 -2
  11. package/components/ui-disclosure/ui-disclosure.html +3 -3
  12. package/components/ui-editable/ui-editable.html +8 -8
  13. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +11 -11
  14. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +10 -10
  15. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
  16. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +7 -7
  17. package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
  18. package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +3 -3
  19. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +16 -16
  20. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +31 -31
  21. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +33 -33
  22. package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
  23. package/components/ui-grid/ui-grid.html +1 -1
  24. package/components/ui-icon/ui-icon.html +12 -12
  25. package/components/ui-icon-button/ui-icon-button.html +6 -6
  26. package/components/ui-image/ui-image.html +2 -2
  27. package/components/ui-input/ui-input.html +1 -1
  28. package/components/ui-list/ui-list.html +1 -1
  29. package/components/ui-list-item/ui-list-item.html +1 -1
  30. package/components/ui-listbox/ui-listbox.html +24 -24
  31. package/components/ui-menu-group/ui-menu-group.html +2 -2
  32. package/components/ui-menu-item/ui-menu-item.html +9 -9
  33. package/components/ui-meter/ui-meter.html +8 -8
  34. package/components/ui-nav-item/ui-nav-item.html +6 -6
  35. package/components/ui-radio/ui-radio.html +1 -1
  36. package/components/ui-radio-group/ui-radio-group.html +1 -1
  37. package/components/ui-search-result-row/ui-search-result-row.html +1 -1
  38. package/components/ui-search-shell/ui-search-shell.html +1 -1
  39. package/components/ui-section/ui-section.html +1 -1
  40. package/components/ui-select/ui-select.html +1 -1
  41. package/components/ui-separator/ui-separator.html +1 -1
  42. package/components/ui-sidebar/ui-sidebar.html +2 -2
  43. package/components/ui-spinner/ui-spinner.html +4 -4
  44. package/components/ui-stack/ui-stack.html +1 -1
  45. package/components/ui-status-message/ui-status-message.html +3 -3
  46. package/components/ui-switch/ui-switch.html +5 -5
  47. package/components/ui-tabs/ui-tabs.html +8 -8
  48. package/components/ui-text/ui-text.html +10 -10
  49. package/components/ui-textarea/ui-textarea.html +8 -8
  50. package/components/ui-toast/ui-toast.html +1 -1
  51. package/components/ui-toast-region/ui-toast-region.html +8 -8
  52. package/components/ui-tooltip/ui-tooltip.html +1 -1
  53. package/components/ui-tree-item/ui-tree-item.html +18 -18
  54. package/dist/index.js +1 -1
  55. package/package.json +3 -3
  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.css +1 -1
  66. package/styles/ui-checkbox.css +1 -1
  67. package/styles/ui-cluster.css +1 -1
  68. package/styles/ui-combobox.css +1 -1
  69. package/styles/ui-container.css +1 -1
  70. package/styles/ui-context-menu.css +1 -1
  71. package/styles/ui-cover.css +1 -1
  72. package/styles/ui-description-item.css +1 -1
  73. package/styles/ui-description-list.css +1 -1
  74. package/styles/ui-dialog.css +1 -1
  75. package/styles/ui-disclosure.css +1 -1
  76. package/styles/ui-editable.css +1 -1
  77. package/styles/ui-editor-insert-table-grid.css +1 -1
  78. package/styles/ui-editor-mention-menu-item.css +1 -1
  79. package/styles/ui-editor-mention-menu.css +1 -1
  80. package/styles/ui-editor-slash-menu-group.css +1 -1
  81. package/styles/ui-editor-slash-menu-item.css +1 -1
  82. package/styles/ui-editor-slash-menu.css +1 -1
  83. package/styles/ui-editor-surface.css +1 -1
  84. package/styles/ui-editor-table-context-menu.css +1 -1
  85. package/styles/ui-editor-table-overlay.css +1 -1
  86. package/styles/ui-editor-table-toolbar.css +1 -1
  87. package/styles/ui-editor-toolbar.css +1 -1
  88. package/styles/ui-floating-action-button.css +1 -1
  89. package/styles/ui-form-field.css +1 -1
  90. package/styles/ui-grid.css +1 -1
  91. package/styles/ui-icon-button.css +1 -1
  92. package/styles/ui-icon.css +1 -1
  93. package/styles/ui-image.css +1 -1
  94. package/styles/ui-input-group.css +1 -1
  95. package/styles/ui-input.css +1 -1
  96. package/styles/ui-list-item.css +1 -1
  97. package/styles/ui-list.css +1 -1
  98. package/styles/ui-listbox.css +1 -1
  99. package/styles/ui-menu-group.css +1 -1
  100. package/styles/ui-menu-item.css +1 -1
  101. package/styles/ui-menu.css +1 -1
  102. package/styles/ui-meter.css +1 -1
  103. package/styles/ui-nav-item.css +1 -1
  104. package/styles/ui-page-header.css +1 -1
  105. package/styles/ui-popover.css +1 -1
  106. package/styles/ui-radio-group.css +1 -1
  107. package/styles/ui-radio.css +1 -1
  108. package/styles/ui-reel.css +1 -1
  109. package/styles/ui-scroll-area.css +1 -1
  110. package/styles/ui-search-result-row.css +1 -1
  111. package/styles/ui-search-shell.css +1 -1
  112. package/styles/ui-section.css +1 -1
  113. package/styles/ui-select.css +1 -1
  114. package/styles/ui-separator.css +1 -1
  115. package/styles/ui-sidebar.css +1 -1
  116. package/styles/ui-spinner.css +1 -1
  117. package/styles/ui-stack.css +1 -1
  118. package/styles/ui-status-message.css +1 -1
  119. package/styles/ui-switch.css +1 -1
  120. package/styles/ui-switcher.css +1 -1
  121. package/styles/ui-table.css +1 -1
  122. package/styles/ui-tabs.css +1 -1
  123. package/styles/ui-text.css +1 -1
  124. package/styles/ui-textarea.css +1 -1
  125. package/styles/ui-toast-region.css +1 -1
  126. package/styles/ui-toast.css +1 -1
  127. package/styles/ui-tooltip.css +1 -1
  128. package/styles/ui-top-bar.css +1 -1
  129. package/styles/ui-tree-item.css +1 -1
  130. package/styles/ui-tree.css +1 -1
  131. package/vanilla/UiActionBar.d.ts +1 -1
  132. package/vanilla/UiActionBar.js +70 -52
  133. package/vanilla/UiAffordanceScope.d.ts +1 -1
  134. package/vanilla/UiAffordanceScope.js +36 -17
  135. package/vanilla/UiAvatar.d.ts +1 -1
  136. package/vanilla/UiAvatar.js +72 -37
  137. package/vanilla/UiAvatarGroup.d.ts +1 -1
  138. package/vanilla/UiAvatarGroup.js +57 -26
  139. package/vanilla/UiBadge.d.ts +1 -1
  140. package/vanilla/UiBadge.js +49 -39
  141. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  142. package/vanilla/UiBreadcrumbItem.js +41 -26
  143. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  144. package/vanilla/UiBreadcrumbs.js +35 -24
  145. package/vanilla/UiButton.d.ts +1 -1
  146. package/vanilla/UiButton.js +444 -156
  147. package/vanilla/UiCallout.d.ts +1 -1
  148. package/vanilla/UiCallout.js +135 -111
  149. package/vanilla/UiCard.d.ts +1 -1
  150. package/vanilla/UiCard.js +147 -47
  151. package/vanilla/UiCheckbox.d.ts +1 -1
  152. package/vanilla/UiCheckbox.js +100 -58
  153. package/vanilla/UiCluster.d.ts +1 -1
  154. package/vanilla/UiCluster.js +35 -29
  155. package/vanilla/UiCombobox.d.ts +1 -1
  156. package/vanilla/UiCombobox.js +879 -283
  157. package/vanilla/UiContainer.d.ts +1 -1
  158. package/vanilla/UiContainer.js +35 -19
  159. package/vanilla/UiContextMenu.d.ts +1 -1
  160. package/vanilla/UiContextMenu.js +34 -23
  161. package/vanilla/UiCover.d.ts +1 -1
  162. package/vanilla/UiCover.js +35 -15
  163. package/vanilla/UiDescriptionItem.d.ts +1 -1
  164. package/vanilla/UiDescriptionItem.js +37 -24
  165. package/vanilla/UiDescriptionList.d.ts +1 -1
  166. package/vanilla/UiDescriptionList.js +35 -21
  167. package/vanilla/UiDialog.d.ts +1 -1
  168. package/vanilla/UiDialog.js +83 -42
  169. package/vanilla/UiDisclosure.d.ts +1 -1
  170. package/vanilla/UiDisclosure.js +113 -72
  171. package/vanilla/UiEditable.d.ts +1 -1
  172. package/vanilla/UiEditable.js +125 -58
  173. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  174. package/vanilla/UiEditorInsertTableGrid.js +85 -30
  175. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  176. package/vanilla/UiEditorMentionMenu.js +193 -75
  177. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  178. package/vanilla/UiEditorMentionMenuItem.js +81 -44
  179. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  180. package/vanilla/UiEditorSlashMenu.js +123 -78
  181. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  182. package/vanilla/UiEditorSlashMenuGroup.js +40 -34
  183. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  184. package/vanilla/UiEditorSlashMenuItem.js +98 -45
  185. package/vanilla/UiEditorSurface.d.ts +1 -1
  186. package/vanilla/UiEditorSurface.js +35 -15
  187. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  188. package/vanilla/UiEditorTableContextMenu.js +143 -60
  189. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  190. package/vanilla/UiEditorTableOverlay.js +212 -109
  191. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  192. package/vanilla/UiEditorTableToolbar.js +330 -113
  193. package/vanilla/UiEditorToolbar.d.ts +1 -1
  194. package/vanilla/UiEditorToolbar.js +37 -20
  195. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  196. package/vanilla/UiFloatingActionButton.js +44 -22
  197. package/vanilla/UiFormField.d.ts +1 -1
  198. package/vanilla/UiFormField.js +89 -65
  199. package/vanilla/UiGrid.d.ts +1 -1
  200. package/vanilla/UiGrid.js +39 -19
  201. package/vanilla/UiIcon.d.ts +1 -1
  202. package/vanilla/UiIcon.js +186 -27
  203. package/vanilla/UiIconButton.d.ts +1 -1
  204. package/vanilla/UiIconButton.js +82 -32
  205. package/vanilla/UiImage.d.ts +1 -1
  206. package/vanilla/UiImage.js +76 -69
  207. package/vanilla/UiInput.d.ts +1 -1
  208. package/vanilla/UiInput.js +51 -27
  209. package/vanilla/UiInputGroup.d.ts +1 -1
  210. package/vanilla/UiInputGroup.js +77 -56
  211. package/vanilla/UiList.d.ts +1 -1
  212. package/vanilla/UiList.js +91 -27
  213. package/vanilla/UiListItem.d.ts +1 -1
  214. package/vanilla/UiListItem.js +81 -74
  215. package/vanilla/UiListbox.d.ts +1 -1
  216. package/vanilla/UiListbox.js +204 -81
  217. package/vanilla/UiMenu.d.ts +1 -1
  218. package/vanilla/UiMenu.js +36 -20
  219. package/vanilla/UiMenuGroup.d.ts +1 -1
  220. package/vanilla/UiMenuGroup.js +60 -24
  221. package/vanilla/UiMenuItem.d.ts +1 -1
  222. package/vanilla/UiMenuItem.js +177 -77
  223. package/vanilla/UiMeter.d.ts +1 -1
  224. package/vanilla/UiMeter.js +77 -14
  225. package/vanilla/UiNavItem.d.ts +1 -1
  226. package/vanilla/UiNavItem.js +199 -123
  227. package/vanilla/UiPageHeader.d.ts +1 -1
  228. package/vanilla/UiPageHeader.js +91 -69
  229. package/vanilla/UiPopover.d.ts +1 -1
  230. package/vanilla/UiPopover.js +36 -20
  231. package/vanilla/UiRadio.d.ts +1 -1
  232. package/vanilla/UiRadio.js +82 -50
  233. package/vanilla/UiRadioGroup.d.ts +1 -1
  234. package/vanilla/UiRadioGroup.js +58 -30
  235. package/vanilla/UiReel.d.ts +1 -1
  236. package/vanilla/UiReel.js +35 -21
  237. package/vanilla/UiScrollArea.d.ts +1 -1
  238. package/vanilla/UiScrollArea.js +37 -20
  239. package/vanilla/UiSearchResultRow.d.ts +1 -1
  240. package/vanilla/UiSearchResultRow.js +98 -74
  241. package/vanilla/UiSearchShell.d.ts +1 -1
  242. package/vanilla/UiSearchShell.js +81 -64
  243. package/vanilla/UiSection.d.ts +1 -1
  244. package/vanilla/UiSection.js +71 -53
  245. package/vanilla/UiSelect.d.ts +1 -1
  246. package/vanilla/UiSelect.js +50 -26
  247. package/vanilla/UiSeparator.d.ts +1 -1
  248. package/vanilla/UiSeparator.js +23 -22
  249. package/vanilla/UiSidebar.d.ts +1 -1
  250. package/vanilla/UiSidebar.js +49 -37
  251. package/vanilla/UiSpinner.d.ts +1 -1
  252. package/vanilla/UiSpinner.js +43 -26
  253. package/vanilla/UiStack.d.ts +1 -1
  254. package/vanilla/UiStack.js +39 -19
  255. package/vanilla/UiStatusMessage.d.ts +1 -1
  256. package/vanilla/UiStatusMessage.js +70 -41
  257. package/vanilla/UiSwitch.d.ts +1 -1
  258. package/vanilla/UiSwitch.js +82 -51
  259. package/vanilla/UiSwitcher.d.ts +1 -1
  260. package/vanilla/UiSwitcher.js +36 -17
  261. package/vanilla/UiTable.d.ts +1 -1
  262. package/vanilla/UiTable.js +35 -17
  263. package/vanilla/UiTabs.d.ts +1 -1
  264. package/vanilla/UiTabs.js +97 -42
  265. package/vanilla/UiText.d.ts +1 -1
  266. package/vanilla/UiText.js +343 -117
  267. package/vanilla/UiTextarea.d.ts +1 -1
  268. package/vanilla/UiTextarea.js +56 -33
  269. package/vanilla/UiToast.d.ts +1 -1
  270. package/vanilla/UiToast.js +61 -40
  271. package/vanilla/UiToastRegion.d.ts +1 -1
  272. package/vanilla/UiToastRegion.js +85 -35
  273. package/vanilla/UiTooltip.d.ts +1 -1
  274. package/vanilla/UiTooltip.js +54 -31
  275. package/vanilla/UiTopBar.d.ts +1 -1
  276. package/vanilla/UiTopBar.js +70 -52
  277. package/vanilla/UiTree.d.ts +1 -1
  278. package/vanilla/UiTree.js +35 -17
  279. package/vanilla/UiTreeItem.d.ts +1 -1
  280. package/vanilla/UiTreeItem.js +219 -181
  281. package/vue/UiActionBar.vue +1 -1
  282. package/vue/UiAffordanceScope.vue +1 -1
  283. package/vue/UiAvatar.vue +7 -7
  284. package/vue/UiAvatarGroup.vue +3 -3
  285. package/vue/UiBadge.vue +1 -1
  286. package/vue/UiBreadcrumbItem.vue +1 -1
  287. package/vue/UiBreadcrumbs.vue +1 -1
  288. package/vue/UiButton.vue +1 -1
  289. package/vue/UiCallout.vue +1 -1
  290. package/vue/UiCard.vue +1 -1
  291. package/vue/UiCheckbox.vue +2 -2
  292. package/vue/UiCluster.vue +1 -1
  293. package/vue/UiCombobox.vue +25 -25
  294. package/vue/UiContainer.vue +1 -1
  295. package/vue/UiContextMenu.vue +1 -1
  296. package/vue/UiCover.vue +1 -1
  297. package/vue/UiDescriptionItem.vue +1 -1
  298. package/vue/UiDescriptionList.vue +1 -1
  299. package/vue/UiDialog.vue +2 -2
  300. package/vue/UiDisclosure.vue +6 -6
  301. package/vue/UiEditable.vue +3 -3
  302. package/vue/UiEditorInsertTableGrid.vue +4 -4
  303. package/vue/UiEditorMentionMenu.vue +2 -2
  304. package/vue/UiEditorMentionMenuItem.vue +1 -1
  305. package/vue/UiEditorSlashMenu.vue +2 -2
  306. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  307. package/vue/UiEditorSlashMenuItem.vue +1 -1
  308. package/vue/UiEditorSurface.vue +1 -1
  309. package/vue/UiEditorTableContextMenu.vue +1 -1
  310. package/vue/UiEditorTableOverlay.vue +11 -11
  311. package/vue/UiEditorTableToolbar.vue +2 -2
  312. package/vue/UiEditorToolbar.vue +1 -1
  313. package/vue/UiFloatingActionButton.vue +1 -1
  314. package/vue/UiFormField.vue +1 -1
  315. package/vue/UiGrid.vue +1 -1
  316. package/vue/UiIcon.vue +1 -1
  317. package/vue/UiIconButton.vue +1 -1
  318. package/vue/UiImage.vue +1 -1
  319. package/vue/UiInput.vue +1 -1
  320. package/vue/UiInputGroup.vue +1 -1
  321. package/vue/UiList.vue +1 -1
  322. package/vue/UiListItem.vue +1 -1
  323. package/vue/UiListbox.vue +4 -4
  324. package/vue/UiMenu.vue +1 -1
  325. package/vue/UiMenuGroup.vue +1 -1
  326. package/vue/UiMenuItem.vue +2 -2
  327. package/vue/UiMeter.vue +1 -1
  328. package/vue/UiNavItem.vue +1 -1
  329. package/vue/UiPageHeader.vue +1 -1
  330. package/vue/UiPopover.vue +1 -1
  331. package/vue/UiRadio.vue +2 -2
  332. package/vue/UiRadioGroup.vue +1 -1
  333. package/vue/UiReel.vue +1 -1
  334. package/vue/UiScrollArea.vue +1 -1
  335. package/vue/UiSearchResultRow.vue +1 -1
  336. package/vue/UiSearchShell.vue +1 -1
  337. package/vue/UiSection.vue +1 -1
  338. package/vue/UiSelect.vue +1 -1
  339. package/vue/UiSeparator.vue +1 -1
  340. package/vue/UiSidebar.vue +3 -3
  341. package/vue/UiSpinner.vue +1 -1
  342. package/vue/UiStack.vue +1 -1
  343. package/vue/UiStatusMessage.vue +1 -1
  344. package/vue/UiSwitch.vue +2 -2
  345. package/vue/UiSwitcher.vue +1 -1
  346. package/vue/UiTable.vue +1 -1
  347. package/vue/UiTabs.vue +1 -1
  348. package/vue/UiText.vue +1 -1
  349. package/vue/UiTextarea.vue +1 -1
  350. package/vue/UiToast.vue +1 -1
  351. package/vue/UiToastRegion.vue +1 -1
  352. package/vue/UiTooltip.vue +2 -2
  353. package/vue/UiTopBar.vue +1 -1
  354. package/vue/UiTree.vue +1 -1
  355. package/vue/UiTreeItem.vue +6 -6
  356. package/vue/chunks/UiActionBar.js +1 -1
  357. package/vue/chunks/UiAffordanceScope.js +1 -1
  358. package/vue/chunks/UiAvatar.js +6 -6
  359. package/vue/chunks/UiAvatarGroup.js +3 -3
  360. package/vue/chunks/UiBadge.js +1 -1
  361. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  362. package/vue/chunks/UiBreadcrumbs.js +1 -1
  363. package/vue/chunks/UiButton.js +1 -1
  364. package/vue/chunks/UiCallout.js +1 -1
  365. package/vue/chunks/UiCard.js +1 -1
  366. package/vue/chunks/UiCheckbox.js +2 -2
  367. package/vue/chunks/UiCluster.js +1 -1
  368. package/vue/chunks/UiCombobox.js +22 -22
  369. package/vue/chunks/UiContainer.js +1 -1
  370. package/vue/chunks/UiContextMenu.js +1 -1
  371. package/vue/chunks/UiCover.js +1 -1
  372. package/vue/chunks/UiDescriptionItem.js +1 -1
  373. package/vue/chunks/UiDescriptionList.js +1 -1
  374. package/vue/chunks/UiDialog.js +2 -2
  375. package/vue/chunks/UiDisclosure.js +6 -6
  376. package/vue/chunks/UiEditable.js +3 -3
  377. package/vue/chunks/UiEditorInsertTableGrid.js +4 -4
  378. package/vue/chunks/UiEditorMentionMenu.js +2 -2
  379. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  380. package/vue/chunks/UiEditorSlashMenu.js +2 -2
  381. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  382. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  383. package/vue/chunks/UiEditorSurface.js +1 -1
  384. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  385. package/vue/chunks/UiEditorTableOverlay.js +11 -11
  386. package/vue/chunks/UiEditorTableToolbar.js +2 -2
  387. package/vue/chunks/UiEditorToolbar.js +1 -1
  388. package/vue/chunks/UiFloatingActionButton.js +1 -1
  389. package/vue/chunks/UiFormField.js +1 -1
  390. package/vue/chunks/UiGrid.js +1 -1
  391. package/vue/chunks/UiIcon.js +1 -1
  392. package/vue/chunks/UiIconButton.js +1 -1
  393. package/vue/chunks/UiImage.js +1 -1
  394. package/vue/chunks/UiInput.js +1 -1
  395. package/vue/chunks/UiInputGroup.js +1 -1
  396. package/vue/chunks/UiList.js +1 -1
  397. package/vue/chunks/UiListItem.js +1 -1
  398. package/vue/chunks/UiListbox.js +4 -4
  399. package/vue/chunks/UiMenu.js +1 -1
  400. package/vue/chunks/UiMenuGroup.js +1 -1
  401. package/vue/chunks/UiMenuItem.js +2 -2
  402. package/vue/chunks/UiMeter.js +1 -1
  403. package/vue/chunks/UiNavItem.js +1 -1
  404. package/vue/chunks/UiPageHeader.js +1 -1
  405. package/vue/chunks/UiPopover.js +1 -1
  406. package/vue/chunks/UiRadio.js +2 -2
  407. package/vue/chunks/UiRadioGroup.js +1 -1
  408. package/vue/chunks/UiReel.js +1 -1
  409. package/vue/chunks/UiScrollArea.js +1 -1
  410. package/vue/chunks/UiSearchResultRow.js +1 -1
  411. package/vue/chunks/UiSearchShell.js +1 -1
  412. package/vue/chunks/UiSection.js +1 -1
  413. package/vue/chunks/UiSelect.js +1 -1
  414. package/vue/chunks/UiSeparator.js +1 -1
  415. package/vue/chunks/UiSidebar.js +2 -2
  416. package/vue/chunks/UiSpinner.js +1 -1
  417. package/vue/chunks/UiStack.js +1 -1
  418. package/vue/chunks/UiStatusMessage.js +1 -1
  419. package/vue/chunks/UiSwitch.js +2 -2
  420. package/vue/chunks/UiSwitcher.js +1 -1
  421. package/vue/chunks/UiTable.js +1 -1
  422. package/vue/chunks/UiTabs.js +1 -1
  423. package/vue/chunks/UiText.js +1 -1
  424. package/vue/chunks/UiTextarea.js +1 -1
  425. package/vue/chunks/UiToast.js +1 -1
  426. package/vue/chunks/UiToastRegion.js +1 -1
  427. package/vue/chunks/UiTooltip.js +2 -2
  428. package/vue/chunks/UiTopBar.js +1 -1
  429. package/vue/chunks/UiTree.js +1 -1
  430. package/vue/chunks/UiTreeItem.js +5 -5
  431. package/vue/chunks/control.js +41 -13
  432. package/vue/chunks/host.js +19 -18
  433. package/vue/components.css +1388 -1388
  434. package/vue/host.ts +22 -20
@@ -1,296 +1,892 @@
1
- // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
- import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.35 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readDeclared, readIndex, readMember, readsChanged, rec, recLength, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeText, dispatchDeclared, detailCheck, dispose, IndexedList, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkNull, checkObject, checkString, checkUnion, checkUnknown } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-combobox/ui-combobox.js";
4
4
  import "../styles/ui-combobox.css";
5
5
 
6
- const definition = {...{"contract":{"tag":"ui-combobox","props":{"allowCreate":{"type":"boolean","required":false,"target":{"attribute":"allowcreate"},"default":false},"allowFreeText":{"type":"boolean","required":false,"target":{"attribute":"allowfreetext"},"default":false},"autoHighlight":{"type":{"kind":"terminal","name":"keyword"},"values":["none","single"],"required":false,"target":{"attribute":"autohighlight"},"default":"none"},"clearable":{"type":"boolean","required":false,"target":{"attribute":"clearable"},"default":false},"disabled":{"type":"boolean","required":false,"target":{"attribute":"disabled"},"default":false},"disclosure":{"type":"boolean","required":false,"target":{"attribute":"disclosure"},"default":false},"filter":{"type":{"kind":"terminal","name":"keyword"},"values":["label","none"],"required":false,"target":{"attribute":"filter"},"default":"label"},"help":{"type":"string","required":false,"target":{"attribute":"help"},"default":""},"invalid":{"type":"boolean","required":false,"target":{"attribute":"invalid"},"default":false},"items":{"type":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"required":false,"target":{"attribute":"items"}},"label":{"type":"string","required":false,"target":{"attribute":"label"},"default":""},"labelVisibility":{"type":{"kind":"terminal","name":"keyword"},"values":["visible","sr-only"],"required":false,"target":{"attribute":"labelvisibility"},"default":"visible"},"loading":{"type":"boolean","required":false,"target":{"attribute":"aria-busy"},"default":false},"multiple":{"type":"boolean","required":false,"target":{"attribute":"data-multiple"},"default":false},"name":{"type":"string","required":false,"target":{"attribute":"name"},"default":""},"openOnFocus":{"type":"boolean","required":false,"target":{"attribute":"openonfocus"},"default":false},"placeholder":{"type":"string","required":false,"target":{"attribute":"placeholder"},"default":""},"query":{"type":"string","required":false,"target":{"attribute":"query"}},"readonly":{"type":"boolean","required":false,"target":{"attribute":"readonly"},"default":false},"required":{"type":"boolean","required":false,"target":{"attribute":"required"},"default":false},"selectOnTab":{"type":"boolean","required":false,"target":{"attribute":"selectontab"},"default":false},"selectedValues":{"type":{"kind":"list","item":{"kind":"terminal","name":"string"}},"required":false,"target":{"attribute":"selectedvalues"}},"size":{"type":{"kind":"terminal","name":"keyword"},"values":["sm","md","lg"],"required":false,"target":{"attribute":"size"},"default":"md"},"tokenSeparators":{"type":{"kind":"list","item":{"kind":"terminal","name":"string"}},"required":false,"target":{"attribute":"tokenseparators"}},"value":{"type":"string","required":false,"target":{"attribute":"value"}}}},"template":{"kind":"element","name":"div","attributes":[],"children":[{"kind":"element","name":"label","attributes":[{"kind":"attribute","name":"for","expression":"concat(uid, '-input')","expressionPlan":{"source":"concat(uid, '-input')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-input"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"sr-only","expression":"labelVisibility = 'sr-only'","expressionPlan":{"source":"labelVisibility = 'sr-only'","ast":{"kind":"binary","op":"=","left":{"kind":"id","name":"labelVisibility"},"right":{"kind":"literal","value":"sr-only"}},"dependencies":["labelVisibility"]},"target":"class"}],"children":[{"kind":"text","value":"$label","expressionPlan":{"source":"$label","ast":{"kind":"id","name":"label"},"dependencies":["label"]}},{"kind":"element","name":"template","attributes":[],"children":[{"kind":"text","value":"\n *"}],"flow":{"kind":"if","test":"required","testPlan":{"source":"required","ast":{"kind":"id","name":"required"},"dependencies":["required"]}}}]},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"control"}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"field"}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"entry"}],"children":[{"kind":"slot","fallback":[],"name":"start"},{"kind":"element","name":"template","attributes":[],"children":[{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"class","value":"item"},{"kind":"literal","name":"type","value":"button"},{"kind":"literal","name":"tabindex","value":"-1"},{"kind":"attribute","name":"data-index","expression":"index","expressionPlan":{"source":"index","ast":{"kind":"id","name":"index"},"dependencies":["index"]}},{"kind":"attribute","name":"disabled","expression":"disabled or readonly or item.disabled","expressionPlan":{"source":"disabled or readonly or item.disabled","ast":{"kind":"binary","op":"or","left":{"kind":"binary","op":"or","left":{"kind":"id","name":"disabled"},"right":{"kind":"id","name":"readonly"}},"right":{"kind":"member","object":{"kind":"id","name":"item"},"key":"disabled"}},"dependencies":["disabled","item.disabled","readonly"]}},{"kind":"attribute","name":"aria-label","expression":"concat(item.label, ', press Delete or Backspace to remove')","expressionPlan":{"source":"concat(item.label, ', press Delete or Backspace to remove')","ast":{"kind":"call","fn":"concat","args":[{"kind":"member","object":{"kind":"id","name":"item"},"key":"label"},{"kind":"literal","value":", press Delete or Backspace to remove"}]},"dependencies":["item.label"]}}],"children":[{"kind":"slot","fallback":[{"kind":"element","name":"ui-badge","attributes":[],"children":[{"kind":"text","value":"$item.label","expressionPlan":{"source":"$item.label","ast":{"kind":"member","object":{"kind":"id","name":"item"},"key":"label"},"dependencies":["item.label"]}}]}],"nameExpression":{"source":"concat('item-', item.id)","ast":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"item-"},{"kind":"member","object":{"kind":"id","name":"item"},"key":"id"}]},"dependencies":["item.id"]}}],"flow":{"kind":"each","item":"item","list":"internalItems","listPlan":{"source":"internalItems","ast":{"kind":"id","name":"internalItems"},"dependencies":["internalItems"]},"index":"index","key":"item.id","keyPlan":{"source":"item.id","ast":{"kind":"member","object":{"kind":"id","name":"item"},"key":"id"},"dependencies":["item.id"]}}}],"flow":{"kind":"if","test":"multiple","testPlan":{"source":"multiple","ast":{"kind":"id","name":"multiple"},"dependencies":["multiple"]}}},{"kind":"element","name":"input","attributes":[{"kind":"attribute","name":"id","expression":"concat(uid, '-input')","expressionPlan":{"source":"concat(uid, '-input')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-input"}]},"dependencies":["uid"]}},{"kind":"literal","name":"role","value":"combobox"},{"kind":"literal","name":"aria-autocomplete","value":"list"},{"kind":"literal","name":"autocomplete","value":"off"},{"kind":"attribute","name":"aria-controls","expression":"concat(uid, '-listbox')","expressionPlan":{"source":"concat(uid, '-listbox')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-listbox"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"aria-expanded","expression":"expanded","expressionPlan":{"source":"expanded","ast":{"kind":"id","name":"expanded"},"dependencies":["expanded"]}},{"kind":"attribute","name":"aria-invalid","expression":"invalid or validationStatus = 'error'","expressionPlan":{"source":"invalid or validationStatus = 'error'","ast":{"kind":"binary","op":"or","left":{"kind":"id","name":"invalid"},"right":{"kind":"binary","op":"=","left":{"kind":"id","name":"validationStatus"},"right":{"kind":"literal","value":"error"}}},"dependencies":["invalid","validationStatus"]}},{"kind":"attribute","name":"aria-busy","expression":"loading or validationStatus = 'pending'","expressionPlan":{"source":"loading or validationStatus = 'pending'","ast":{"kind":"binary","op":"or","left":{"kind":"id","name":"loading"},"right":{"kind":"binary","op":"=","left":{"kind":"id","name":"validationStatus"},"right":{"kind":"literal","value":"pending"}}},"dependencies":["loading","validationStatus"]}},{"kind":"property","key":"value","name":"value","expression":"display","expressionPlan":{"source":"display","ast":{"kind":"id","name":"display"},"dependencies":["display"]}},{"kind":"attribute","name":"placeholder","expression":"placeholder","expressionPlan":{"source":"placeholder","ast":{"kind":"id","name":"placeholder"},"dependencies":["placeholder"]}},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}},{"kind":"attribute","name":"readonly","expression":"readonly","expressionPlan":{"source":"readonly","ast":{"kind":"id","name":"readonly"},"dependencies":["readonly"]}},{"kind":"attribute","name":"required","expression":"required and not (multiple and internalItems.0)","expressionPlan":{"source":"required and not (multiple and internalItems.0)","ast":{"kind":"binary","op":"and","left":{"kind":"id","name":"required"},"right":{"kind":"unary","op":"not","operand":{"kind":"binary","op":"and","left":{"kind":"id","name":"multiple"},"right":{"kind":"index","object":{"kind":"id","name":"internalItems"},"index":{"kind":"literal","value":0}}}}},"dependencies":["internalItems.0","multiple","required"]}}],"children":[],"ref":"input"}]},{"kind":"element","name":"input","attributes":[{"kind":"literal","name":"type","value":"hidden"},{"kind":"attribute","name":"name","expression":"name","expressionPlan":{"source":"name","ast":{"kind":"id","name":"name"},"dependencies":["name"]}},{"kind":"attribute","name":"value","expression":"submitted","expressionPlan":{"source":"submitted","ast":{"kind":"id","name":"submitted"},"dependencies":["submitted"]}},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}}],"children":[],"flow":{"kind":"if","test":"name and not multiple","testPlan":{"source":"name and not multiple","ast":{"kind":"binary","op":"and","left":{"kind":"id","name":"name"},"right":{"kind":"unary","op":"not","operand":{"kind":"id","name":"multiple"}}},"dependencies":["multiple","name"]}}},{"kind":"element","name":"template","attributes":[],"children":[{"kind":"element","name":"input","attributes":[{"kind":"literal","name":"type","value":"hidden"},{"kind":"attribute","name":"name","expression":"name","expressionPlan":{"source":"name","ast":{"kind":"id","name":"name"},"dependencies":["name"]}},{"kind":"attribute","name":"value","expression":"item.value","expressionPlan":{"source":"item.value","ast":{"kind":"member","object":{"kind":"id","name":"item"},"key":"value"},"dependencies":["item.value"]}},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}}],"children":[],"flow":{"kind":"each","item":"item","list":"internalItems","listPlan":{"source":"internalItems","ast":{"kind":"id","name":"internalItems"},"dependencies":["internalItems"]},"key":"item.id","keyPlan":{"source":"item.id","ast":{"kind":"member","object":{"kind":"id","name":"item"},"key":"id"},"dependencies":["item.id"]}}}],"flow":{"kind":"if","test":"name and multiple","testPlan":{"source":"name and multiple","ast":{"kind":"binary","op":"and","left":{"kind":"id","name":"name"},"right":{"kind":"id","name":"multiple"}},"dependencies":["multiple","name"]}}},{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"type","value":"button"},{"kind":"literal","name":"data-combobox-action","value":"clear"},{"kind":"literal","name":"aria-label","value":"Clear"},{"kind":"attribute","name":"disabled","expression":"disabled or readonly or (not raw and (multiple or selected = null))","expressionPlan":{"source":"disabled or readonly or (not raw and (multiple or selected = null))","ast":{"kind":"binary","op":"or","left":{"kind":"binary","op":"or","left":{"kind":"id","name":"disabled"},"right":{"kind":"id","name":"readonly"}},"right":{"kind":"binary","op":"and","left":{"kind":"unary","op":"not","operand":{"kind":"id","name":"raw"}},"right":{"kind":"binary","op":"or","left":{"kind":"id","name":"multiple"},"right":{"kind":"binary","op":"=","left":{"kind":"id","name":"selected"},"right":{"kind":"literal","value":null}}}}},"dependencies":["disabled","multiple","raw","readonly","selected"]}}],"children":[{"kind":"element","name":"svg","attributes":[{"kind":"literal","name":"class","value":"affordance-icon"},{"kind":"literal","name":"aria-hidden","value":"true"},{"kind":"literal","name":"viewBox","value":"0 0 24 24"},{"kind":"literal","name":"fill","value":"none"},{"kind":"literal","name":"stroke","value":"currentColor"},{"kind":"literal","name":"stroke-width","value":"2"},{"kind":"literal","name":"stroke-linecap","value":"round"}],"children":[{"kind":"element","name":"path","attributes":[{"kind":"literal","name":"d","value":"M7 7l10 10M17 7 7 17"}],"children":[]}]}],"flow":{"kind":"if","test":"clearable","testPlan":{"source":"clearable","ast":{"kind":"id","name":"clearable"},"dependencies":["clearable"]}}},{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"type","value":"button"},{"kind":"literal","name":"data-combobox-action","value":"disclosure"},{"kind":"literal","name":"tabindex","value":"-1"},{"kind":"literal","name":"aria-label","value":"Show suggestions"},{"kind":"attribute","name":"aria-controls","expression":"concat(uid, '-listbox')","expressionPlan":{"source":"concat(uid, '-listbox')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-listbox"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"disabled","expression":"disabled or readonly","expressionPlan":{"source":"disabled or readonly","ast":{"kind":"binary","op":"or","left":{"kind":"id","name":"disabled"},"right":{"kind":"id","name":"readonly"}},"dependencies":["disabled","readonly"]}}],"children":[{"kind":"element","name":"svg","attributes":[{"kind":"literal","name":"class","value":"affordance-icon"},{"kind":"literal","name":"aria-hidden","value":"true"},{"kind":"literal","name":"viewBox","value":"0 0 24 24"},{"kind":"literal","name":"fill","value":"none"},{"kind":"literal","name":"stroke","value":"currentColor"},{"kind":"literal","name":"stroke-width","value":"2.25"},{"kind":"literal","name":"stroke-linecap","value":"round"},{"kind":"literal","name":"stroke-linejoin","value":"round"}],"children":[{"kind":"element","name":"path","attributes":[{"kind":"literal","name":"d","value":"m6 9 6 6 6-6"}],"children":[]}]}],"flow":{"kind":"if","test":"disclosure","testPlan":{"source":"disclosure","ast":{"kind":"id","name":"disclosure"},"dependencies":["disclosure"]}}}],"ref":"field"},{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"class","value":"help"},{"kind":"attribute","name":"id","expression":"concat(uid, '-help')","expressionPlan":{"source":"concat(uid, '-help')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-help"}]},"dependencies":["uid"]}},{"kind":"literal","name":"type","value":"button"},{"kind":"literal","name":"aria-label","value":"Help"},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}}],"children":[{"kind":"element","name":"svg","attributes":[{"kind":"literal","name":"class","value":"help-icon"},{"kind":"literal","name":"aria-hidden","value":"true"},{"kind":"literal","name":"viewBox","value":"0 0 24 24"},{"kind":"literal","name":"fill","value":"none"},{"kind":"literal","name":"stroke","value":"currentColor"},{"kind":"literal","name":"stroke-width","value":"2"},{"kind":"literal","name":"stroke-linecap","value":"round"},{"kind":"literal","name":"stroke-linejoin","value":"round"}],"children":[{"kind":"element","name":"circle","attributes":[{"kind":"literal","name":"cx","value":"12"},{"kind":"literal","name":"cy","value":"12"},{"kind":"literal","name":"r","value":"10"}],"children":[]},{"kind":"element","name":"path","attributes":[{"kind":"literal","name":"d","value":"M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3"}],"children":[]},{"kind":"element","name":"path","attributes":[{"kind":"literal","name":"d","value":"M12 17h.01"}],"children":[]}]}],"flow":{"kind":"if","test":"help","testPlan":{"source":"help","ast":{"kind":"id","name":"help"},"dependencies":["help"]}}}]},{"kind":"element","name":"ui-tooltip","attributes":[{"kind":"literal","name":"trigger","value":"click"},{"kind":"attribute","name":"id","expression":"concat(uid, '-help-text')","expressionPlan":{"source":"concat(uid, '-help-text')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-help-text"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"for","expression":"concat(uid, '-help')","expressionPlan":{"source":"concat(uid, '-help')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-help"}]},"dependencies":["uid"]}}],"children":[{"kind":"text","value":"$help","expressionPlan":{"source":"$help","ast":{"kind":"id","name":"help"},"dependencies":["help"]}}],"flow":{"kind":"if","test":"help","testPlan":{"source":"help","ast":{"kind":"id","name":"help"},"dependencies":["help"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"popup"},{"kind":"attribute","name":"hidden","expression":"not expanded","expressionPlan":{"source":"not expanded","ast":{"kind":"unary","op":"not","operand":{"kind":"id","name":"expanded"}},"dependencies":["expanded"]}}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"role","value":"listbox"},{"kind":"attribute","name":"id","expression":"concat(uid, '-listbox')","expressionPlan":{"source":"concat(uid, '-listbox')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-listbox"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"aria-label","expression":"concat(label, ' suggestions')","expressionPlan":{"source":"concat(label, ' suggestions')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"label"},{"kind":"literal","value":" suggestions"}]},"dependencies":["label"]}},{"kind":"attribute","name":"aria-busy","expression":"loading","expressionPlan":{"source":"loading","ast":{"kind":"id","name":"loading"},"dependencies":["loading"]}}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"attribute","name":"role","expression":"group.role","expressionPlan":{"source":"group.role","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"role"},"dependencies":["group.role"]}},{"kind":"attribute","name":"aria-label","expression":"group.label","expressionPlan":{"source":"group.label","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"label"},"dependencies":["group.label"]}}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"group"}],"children":[{"kind":"text","value":"$group.name","expressionPlan":{"source":"$group.name","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"name"},"dependencies":["group.name"]}}],"flow":{"kind":"if","test":"group.name","testPlan":{"source":"group.name","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"name"},"dependencies":["group.name"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"option"},{"kind":"attribute","name":"active","expression":"row.index = active","expressionPlan":{"source":"row.index = active","ast":{"kind":"binary","op":"=","left":{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},"right":{"kind":"id","name":"active"}},"dependencies":["active","row.index"]},"target":"class"},{"kind":"literal","name":"role","value":"option"},{"kind":"literal","name":"data-ui-choice-option","value":""},{"kind":"attribute","name":"data-multiple","expression":"multiple","expressionPlan":{"source":"multiple","ast":{"kind":"id","name":"multiple"},"dependencies":["multiple"]}},{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', row.index)","expressionPlan":{"source":"concat(uid, '-option-', row.index)","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"}]},"dependencies":["row.index","uid"]}},{"kind":"attribute","name":"aria-selected","expression":"row.selected","expressionPlan":{"source":"row.selected","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"selected"},"dependencies":["row.selected"]}},{"kind":"attribute","name":"aria-disabled","expression":"row.disabled","expressionPlan":{"source":"row.disabled","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"disabled"},"dependencies":["row.disabled"]}},{"kind":"attribute","name":"data-index","expression":"row.index","expressionPlan":{"source":"row.index","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},"dependencies":["row.index"]}},{"kind":"attribute","name":"aria-labelledby","expression":"row.labelledBy","expressionPlan":{"source":"row.labelledBy","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"labelledBy"},"dependencies":["row.labelledBy"]}},{"kind":"attribute","name":"aria-describedby","expression":"row.detail","expressionPlan":{"source":"row.detail","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"detail"},"dependencies":["row.detail"]}}],"children":[{"kind":"slot","fallback":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"detail"}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"line"}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"primary"},{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', row.index, '-label')","expressionPlan":{"source":"concat(uid, '-option-', row.index, '-label')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},{"kind":"literal","value":"-label"}]},"dependencies":["row.index","uid"]}}],"children":[{"kind":"text","value":"$row.label","expressionPlan":{"source":"$row.label","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"label"},"dependencies":["row.label"]}}]},{"kind":"element","name":"ui-badge","attributes":[{"kind":"attribute","name":"tone","expression":"row.tag.tone","expressionPlan":{"source":"row.tag.tone","ast":{"kind":"member","object":{"kind":"member","object":{"kind":"id","name":"row"},"key":"tag"},"key":"tone"},"dependencies":["row.tag.tone"]}},{"kind":"attribute","name":"--ui-badge-color","expression":"row.tag.color","expressionPlan":{"source":"row.tag.color","ast":{"kind":"member","object":{"kind":"member","object":{"kind":"id","name":"row"},"key":"tag"},"key":"color"},"dependencies":["row.tag.color"]},"target":"style"}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', row.index, '-tag')","expressionPlan":{"source":"concat(uid, '-option-', row.index, '-tag')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},{"kind":"literal","value":"-tag"}]},"dependencies":["row.index","uid"]}}],"children":[{"kind":"text","value":"$row.tag.label","expressionPlan":{"source":"$row.tag.label","ast":{"kind":"member","object":{"kind":"member","object":{"kind":"id","name":"row"},"key":"tag"},"key":"label"},"dependencies":["row.tag.label"]}}]}],"flow":{"kind":"if","test":"row.tag","testPlan":{"source":"row.tag","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"tag"},"dependencies":["row.tag"]}}}]},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"description"},{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', row.index, '-description')","expressionPlan":{"source":"concat(uid, '-option-', row.index, '-description')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},{"kind":"literal","value":"-description"}]},"dependencies":["row.index","uid"]}}],"children":[{"kind":"text","value":"$row.description","expressionPlan":{"source":"$row.description","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"description"},"dependencies":["row.description"]}}],"flow":{"kind":"if","test":"row.description","testPlan":{"source":"row.description","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"description"},"dependencies":["row.description"]}}}],"flow":{"kind":"if","test":"row.detail","testPlan":{"source":"row.detail","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"detail"},"dependencies":["row.detail"]}}},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"primary"}],"children":[{"kind":"text","value":"$row.label","expressionPlan":{"source":"$row.label","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"label"},"dependencies":["row.label"]}}],"flow":{"kind":"if","test":"not row.detail","testPlan":{"source":"not row.detail","ast":{"kind":"unary","op":"not","operand":{"kind":"member","object":{"kind":"id","name":"row"},"key":"detail"}},"dependencies":["row.detail"]}}}],"nameExpression":{"source":"concat('option-', row.id)","ast":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"id"}]},"dependencies":["row.id"]}}],"flow":{"kind":"each","item":"row","list":"group.rows","listPlan":{"source":"group.rows","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"rows"},"dependencies":["group.rows"]},"key":"row.id","keyPlan":{"source":"row.id","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"id"},"dependencies":["row.id"]}}}],"flow":{"kind":"each","item":"group","list":"groups","listPlan":{"source":"groups","ast":{"kind":"id","name":"groups"},"dependencies":["groups"]},"key":"group.name","keyPlan":{"source":"group.name","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"name"},"dependencies":["group.name"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"option"},{"kind":"attribute","name":"active","expression":"createIndex = active","expressionPlan":{"source":"createIndex = active","ast":{"kind":"binary","op":"=","left":{"kind":"id","name":"createIndex"},"right":{"kind":"id","name":"active"}},"dependencies":["active","createIndex"]},"target":"class"},{"kind":"literal","name":"role","value":"option"},{"kind":"literal","name":"data-ui-choice-option","value":""},{"kind":"attribute","name":"data-multiple","expression":"multiple","expressionPlan":{"source":"multiple","ast":{"kind":"id","name":"multiple"},"dependencies":["multiple"]}},{"kind":"literal","name":"aria-selected","value":"false"},{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', createIndex)","expressionPlan":{"source":"concat(uid, '-option-', createIndex)","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"id","name":"createIndex"}]},"dependencies":["createIndex","uid"]}},{"kind":"attribute","name":"data-index","expression":"createIndex","expressionPlan":{"source":"createIndex","ast":{"kind":"id","name":"createIndex"},"dependencies":["createIndex"]}},{"kind":"directive","name":"value","expression":"concat('Create “', raw, '”')","expressionPlan":{"source":"concat('Create “', raw, '”')","ast":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"Create “"},{"kind":"id","name":"raw"},{"kind":"literal","value":"”"}]},"dependencies":["raw"]}}],"children":[],"flow":{"kind":"if","test":"creatable","testPlan":{"source":"creatable","ast":{"kind":"id","name":"creatable"},"dependencies":["creatable"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"message"}],"children":[{"kind":"text","value":"$message","expressionPlan":{"source":"$message","ast":{"kind":"id","name":"message"},"dependencies":["message"]}}],"flow":{"kind":"if","test":"message","testPlan":{"source":"message","ast":{"kind":"id","name":"message"},"dependencies":["message"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"message"}],"children":[{"kind":"slot","fallback":[{"kind":"text","value":"No suggestions."}],"name":"empty"}],"flow":{"kind":"if","test":"not loading and not rows.0 and not creatable and not lookupError","testPlan":{"source":"not loading and not rows.0 and not creatable and not lookupError","ast":{"kind":"binary","op":"and","left":{"kind":"binary","op":"and","left":{"kind":"binary","op":"and","left":{"kind":"unary","op":"not","operand":{"kind":"id","name":"loading"}},"right":{"kind":"unary","op":"not","operand":{"kind":"index","object":{"kind":"id","name":"rows"},"index":{"kind":"literal","value":0}}}},"right":{"kind":"unary","op":"not","operand":{"kind":"id","name":"creatable"}}},"right":{"kind":"unary","op":"not","operand":{"kind":"id","name":"lookupError"}}},"dependencies":["creatable","loading","lookupError","rows.0"]}}}],"ref":"listbox"},{"kind":"slot","fallback":[],"name":"footer"}],"ref":"popup"},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"message"},{"kind":"attribute","name":"id","expression":"concat(uid, '-validation')","expressionPlan":{"source":"concat(uid, '-validation')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-validation"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"hidden","expression":"not validation.issues.length","expressionPlan":{"source":"not validation.issues.length","ast":{"kind":"unary","op":"not","operand":{"kind":"member","object":{"kind":"member","object":{"kind":"id","name":"validation"},"key":"issues"},"key":"length"}},"dependencies":["validation.issues.length"]}}],"children":[{"kind":"element","name":"div","attributes":[],"children":[{"kind":"text","value":"$issue.message","expressionPlan":{"source":"$issue.message","ast":{"kind":"member","object":{"kind":"id","name":"issue"},"key":"message"},"dependencies":["issue.message"]}}],"flow":{"kind":"each","item":"issue","list":"validation.issues","listPlan":{"source":"validation.issues","ast":{"kind":"member","object":{"kind":"id","name":"validation"},"key":"issues"},"dependencies":["validation.issues"]}}}]},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"sr-only"},{"kind":"literal","name":"role","value":"status"},{"kind":"literal","name":"aria-live","value":"polite"},{"kind":"literal","name":"aria-atomic","value":"true"}],"children":[{"kind":"text","value":"$statusText","expressionPlan":{"source":"$statusText","ast":{"kind":"id","name":"statusText"},"dependencies":["statusText"]}}]},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"authored-options"},{"kind":"literal","name":"hidden","value":""},{"kind":"literal","name":"aria-hidden","value":"true"}],"children":[{"kind":"slot"}],"ref":"options"}]},"declarations":[{"kind":"state","name":"internalItems","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"type":"list","value":"[]","expression":{"source":"[]","ast":{"kind":"array","items":[]},"dependencies":[]}},{"kind":"state","name":"raw","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"display","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"selected","shape":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"type":"string"},{"kind":"state","name":"expanded","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"state","name":"rows","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"selected","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"type":"list","value":"[]","expression":{"source":"[]","ast":{"kind":"array","items":[]},"dependencies":[]}},{"kind":"state","name":"active","type":"integer","value":"-1","expression":{"source":"-1","ast":{"kind":"unary","op":"-","operand":{"kind":"literal","value":1}},"dependencies":[]}},{"kind":"state","name":"helpOpen","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"state","name":"lookupError","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"validation","shape":{"kind":"object","fields":[{"name":"status","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["pristine","pending","valid","warning","error"]},"optional":false},{"name":"touched","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"dirty","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"issues","type":{"kind":"list","item":{"kind":"object","fields":[{"name":"message","type":{"kind":"terminal","name":"string"},"optional":false}],"open":false}},"optional":false}],"open":true},"type":"object","value":"{ status: 'pristine', touched: false, dirty: false, issues: [] }","expression":{"source":"{\"status\":\"pristine\",\"touched\":false,\"dirty\":false,\"issues\":[]}","ast":{"kind":"object","pairs":[{"key":"status","value":{"kind":"literal","value":"pristine"}},{"key":"touched","value":{"kind":"literal","value":false}},{"key":"dirty","value":{"kind":"literal","value":false}},{"key":"issues","value":{"kind":"array","items":[]}}]},"dependencies":[]}},{"kind":"state","name":"uid","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"submitted","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"groups","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"name","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"role","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["group","presentation"]},"optional":false},{"name":"label","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"rows","type":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"selected","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true},{"name":"index","type":{"kind":"terminal","name":"integer"},"optional":false},{"name":"labelledBy","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"detail","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false}],"open":false}},"optional":false}],"open":false}},"type":"list","value":"[]","expression":{"source":"[]","ast":{"kind":"array","items":[]},"dependencies":[]}},{"kind":"state","name":"creatable","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"state","name":"createIndex","type":"integer","value":"0","expression":{"source":"0","ast":{"kind":"literal","value":0},"dependencies":[]}},{"kind":"state","name":"message","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"statusText","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"validationStatus","type":"string","value":"pristine","expression":{"source":"\"pristine\"","ast":{"kind":"literal","value":"pristine"},"dependencies":[]}},{"kind":"event","name":"query-change","type":"object","shape":{"kind":"object","fields":[{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"display","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"value-change","type":"object","shape":{"kind":"object","fields":[{"name":"value","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"option","type":{"kind":"union","members":[{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"kind","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["selection","clear","free-entry","create"]},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"items-change","type":"list","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"free-entry","type":"object","shape":{"kind":"object","fields":[{"name":"value","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"option","type":{"kind":"union","members":[{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"kind","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["selection","clear","free-entry","create"]},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"create-entry","type":"object","shape":{"kind":"object","fields":[{"name":"value","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"option","type":{"kind":"union","members":[{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"kind","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["selection","clear","free-entry","create"]},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"validation-change","type":"object","shape":{"kind":"object","fields":[{"name":"status","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["pristine","pending","valid","warning","error"]},"optional":false},{"name":"touched","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"dirty","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"issues","type":{"kind":"list","item":{"kind":"object","fields":[{"name":"message","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"path","type":{"kind":"list","item":{"kind":"terminal","name":"unknown"}},"optional":true},{"name":"severity","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["error","warning"]},"optional":true}],"open":false}},"optional":false},{"name":"output","type":{"kind":"terminal","name":"unknown"},"optional":true}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"options-change","type":"list","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"add-item","type":"object","shape":{"kind":"object","fields":[{"name":"item","type":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},"optional":false},{"name":"index","type":{"kind":"terminal","name":"integer"},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"remove-item","type":"object","shape":{"kind":"object","fields":[{"name":"item","type":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},"optional":false},{"name":"index","type":{"kind":"terminal","name":"integer"},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"create-item","type":"object","shape":{"kind":"object","fields":[{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"selected-values-change","type":"object","shape":{"kind":"object","fields":[{"name":"selectedValues","type":{"kind":"list","item":{"kind":"terminal","name":"string"}},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false}],"root":{"kind":"native","element":"div","choices":["div"]}},source:{file:import.meta.url},css:""};
6
+ const T0 = ["",[],["label",[],0,1],["div",["class","control"],["div",["class","field"],["div",["class","entry"],4,1,["input",["role","combobox","aria-autocomplete","list","autocomplete","off"]]],1,1,1,1],1],1,["div",["class","popup"],["div",["role","listbox"],2,1,1,1],4],["div",["class","message"],2],["div",["class","sr-only","role","status","aria-live","polite","aria-atomic","true"],0],["div",["class","authored-options","hidden","","aria-hidden","true"],4]];
7
+ const T1 = ["",[],"\n *"];
8
+ const T2 = ["",[]];
9
+ const T3 = ["",[],2];
10
+ const T4 = ["button",["class","item","type","button","tabindex","-1"],4];
11
+ const T5 = ["",[],["ui-badge",[],0]];
12
+ const T6 = ["input",["type","hidden"]];
13
+ const T7 = ["",[],2];
14
+ const T8 = ["input",["type","hidden"]];
15
+ const T9 = ["button",["type","button","data-combobox-action","clear","aria-label","Clear"],["svg",["class","affordance-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["path",["d","M7 7l10 10M17 7 7 17"]]]];
16
+ const T10 = ["button",["type","button","data-combobox-action","disclosure","tabindex","-1","aria-label","Show suggestions"],["svg",["class","affordance-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.25","stroke-linecap","round","stroke-linejoin","round"],["path",["d","m6 9 6 6 6-6"]]]];
17
+ const T11 = ["button",["class","help","type","button","aria-label","Help"],["svg",["class","help-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["circle",["cx","12","cy","12","r","10"]],["path",["d","M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3"]],["path",["d","M12 17h.01"]]]];
18
+ const T12 = ["ui-tooltip",["trigger","click"],0];
19
+ const T13 = ["div",[],1,2];
20
+ const T14 = ["div",["class","group"],0];
21
+ const T15 = ["div",["class","option","role","option","data-ui-choice-option",""],4];
22
+ const T16 = ["",[],1,1];
23
+ const T17 = ["span",["class","detail"],["span",["class","line"],["span",["class","primary"],0],1],1];
24
+ const T18 = ["ui-badge",[],["span",[],0]];
25
+ const T19 = ["span",["class","description"],0];
26
+ const T20 = ["span",["class","primary"],0];
27
+ const T21 = ["div",["class","option","role","option","data-ui-choice-option","","aria-selected","false"],0];
28
+ const T22 = ["div",["class","message"],0];
29
+ const T23 = ["div",["class","message"],4];
30
+ const T24 = ["",[],"No suggestions."];
31
+ const T25 = ["",[]];
32
+ const T26 = ["div",[],0];
33
+ const T27 = ["",[]];
34
+ let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27;
35
+ const E = new Map();
36
+ const S = { n: ["internalItems","raw","display","selected","expanded","rows","active","helpOpen","lookupError","validation","uid","submitted","groups","creatable","createIndex","message","statusText","validationStatus"], t: [["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat),false],"color","s"]]]]],"s","s",["u","s","z"],"b",["l",["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat),false],"color","s"]]]]],"i","b","s",["o",["status",["p",formatOf(keywordFormat),false],"touched","b","dirty","b","issues",["l",["o",["message","s"]]]],1],"s","s",["l",["o",["name","s","role",["p",formatOf(keywordFormat),false],"label",["u","s","z"],"rows",["l",["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat),false],"color","s"]],"index","i","labelledBy",["u","s","z"],"detail",["u","s","z"]]]]]]],"b","i","s","s","s"], f: import.meta.url, g: "ui-combobox", d: { "query-change": [detailCheck(checkObject([["query", checkString, false], ["display", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "value-change": [detailCheck(checkObject([["value", checkUnion([checkString, checkNull], "string | null"), false], ["query", checkString, false], ["option", checkUnion([checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), checkNull], "object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }) | null"), false], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "items-change": [detailCheck(checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false))), true, true, false], "free-entry": [detailCheck(checkObject([["value", checkUnion([checkString, checkNull], "string | null"), false], ["query", checkString, false], ["option", checkUnion([checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), checkNull], "object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }) | null"), false], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "create-entry": [detailCheck(checkObject([["value", checkUnion([checkString, checkNull], "string | null"), false], ["query", checkString, false], ["option", checkUnion([checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), checkNull], "object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }) | null"), false], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "validation-change": [detailCheck(checkObject([["status", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["pristine","pending","valid","warning","error"]}), false], ["touched", checkBoolean, false], ["dirty", checkBoolean, false], ["issues", checkList(checkObject([["message", checkString, false], ["path", checkList(checkUnknown), true], ["severity", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["error","warning"]}), true]], false)), false], ["output", checkUnknown, true]], false)), true, true, false], "options-change": [detailCheck(checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false))), true, true, false], "add-item": [detailCheck(checkObject([["item", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), false], ["index", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "remove-item": [detailCheck(checkObject([["item", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), false], ["index", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "create-item": [detailCheck(checkObject([["query", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "selected-values-change": [detailCheck(checkObject([["selectedValues", checkList(checkString), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
37
+ const D = { props: { "allowCreate": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "allowFreeText": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "autoHighlight": { "required":false,"values":["none","single"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "clearable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disclosure": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "filter": { "required":false,"values":["label","none"],"default":"label", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "help": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "items": { "required":false, c: checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false)), j: 1, m: ["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat),false],"color","s"]]]]] }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "labelVisibility": { "required":false,"values":["visible","sr-only"],"default":"visible", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "loading": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "multiple": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "openOnFocus": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placeholder": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "query": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "readonly": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selectOnTab": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selectedValues": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "tokenSeparators": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
38
+ const C = (host) => controller.default(host);
7
39
 
8
- export function createUiCombobox(options = {}) {
40
+ export function createUiCombobox(options = {}, html) {
9
41
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
10
- const projected = [];
11
42
  const element = document.createElement("div");
12
43
  for (const [name, value] of Object.entries(attributes)) {
13
44
  if (value === null || value === undefined || value === false) continue;
14
45
  element.setAttribute(name, value === true ? "" : String(value));
15
46
  }
16
47
  element.setAttribute("data-component", "ui-combobox");
17
- const element0 = document.createElement("label");
18
- const text1 = document.createTextNode("");
19
- element0.append(text1);
20
- const element2 = document.createElement("template");
21
- element2.append("\n *");
22
- element0.append(element2);
23
- element.append(element0);
24
- const element3 = document.createElement("div");
25
- element3.setAttribute("class", "control");
26
- const element4 = document.createElement("div");
27
- element4.setAttribute("class", "field");
28
- const element5 = document.createElement("div");
29
- element5.setAttribute("class", "entry");
30
- if (slots["start"] ?? [].length > 0) {
31
- for (const child of slots["start"] ?? []) {
32
- const node = typeof child === "string" ? document.createTextNode(child) : child;
33
- if (node.nodeType === 1) node.setAttribute("data-slotted", "");
34
- projected.push([node, "start"]);
35
- element5.append(node);
36
- }
37
- } else {
38
- }
39
- const element6 = document.createElement("template");
40
- const element7 = document.createElement("button");
41
- element7.setAttribute("class", "item");
42
- element7.setAttribute("type", "button");
43
- element7.setAttribute("tabindex", "-1");
44
- if (children.length > 0) {
45
- for (const child of children) {
46
- const node = typeof child === "string" ? document.createTextNode(child) : child;
47
- if (node.nodeType === 1) node.setAttribute("data-slotted", "");
48
- projected.push([node, ""]);
49
- element7.append(node);
50
- }
51
- } else {
52
- const element8 = document.createElement("ui-badge");
53
- const text9 = document.createTextNode("");
54
- element8.append(text9);
55
- element7.append(element8);
56
- }
57
- element6.append(element7);
58
- element5.append(element6);
59
- const element10 = document.createElement("input");
60
- element10.setAttribute("role", "combobox");
61
- element10.setAttribute("aria-autocomplete", "list");
62
- element10.setAttribute("autocomplete", "off");
63
- const value0 = componentProps["placeholder"] === undefined ? "" : componentProps["placeholder"];
64
- if (value0 === null || value0 === undefined) element10.removeAttribute("placeholder");
65
- else element10.setAttribute("placeholder", String(value0));
66
- const value1 = componentProps["disabled"] === undefined ? false : componentProps["disabled"];
67
- if (value1 === true) element10.setAttribute("disabled", "");
68
- else element10.removeAttribute("disabled");
69
- const value2 = componentProps["readonly"] === undefined ? false : componentProps["readonly"];
70
- if (value2 === true) element10.setAttribute("readonly", "");
71
- else element10.removeAttribute("readonly");
72
- element5.append(element10);
73
- element4.append(element5);
74
- const element11 = document.createElement("input");
75
- element11.setAttribute("type", "hidden");
76
- const value3 = componentProps["name"] === undefined ? "" : componentProps["name"];
77
- if (value3 === null || value3 === undefined) element11.removeAttribute("name");
78
- else element11.setAttribute("name", String(value3));
79
- const value4 = componentProps["disabled"] === undefined ? false : componentProps["disabled"];
80
- if (value4 === true) element11.setAttribute("disabled", "");
81
- else element11.removeAttribute("disabled");
82
- element4.append(element11);
83
- const element12 = document.createElement("template");
84
- const element13 = document.createElement("input");
85
- element13.setAttribute("type", "hidden");
86
- const value5 = componentProps["name"] === undefined ? "" : componentProps["name"];
87
- if (value5 === null || value5 === undefined) element13.removeAttribute("name");
88
- else element13.setAttribute("name", String(value5));
89
- const value6 = componentProps["disabled"] === undefined ? false : componentProps["disabled"];
90
- if (value6 === true) element13.setAttribute("disabled", "");
91
- else element13.removeAttribute("disabled");
92
- element12.append(element13);
93
- element4.append(element12);
94
- const element14 = document.createElement("button");
95
- element14.setAttribute("type", "button");
96
- element14.setAttribute("data-combobox-action", "clear");
97
- element14.setAttribute("aria-label", "Clear");
98
- const element15 = document.createElementNS("http://www.w3.org/2000/svg", "svg");
99
- element15.setAttribute("class", "affordance-icon");
100
- element15.setAttribute("aria-hidden", "true");
101
- element15.setAttribute("viewBox", "0 0 24 24");
102
- element15.setAttribute("fill", "none");
103
- element15.setAttribute("stroke", "currentColor");
104
- element15.setAttribute("stroke-width", "2");
105
- element15.setAttribute("stroke-linecap", "round");
106
- const element16 = document.createElementNS("http://www.w3.org/2000/svg", "path");
107
- element16.setAttribute("d", "M7 7l10 10M17 7 7 17");
108
- element15.append(element16);
109
- element14.append(element15);
110
- element4.append(element14);
111
- const element17 = document.createElement("button");
112
- element17.setAttribute("type", "button");
113
- element17.setAttribute("data-combobox-action", "disclosure");
114
- element17.setAttribute("tabindex", "-1");
115
- element17.setAttribute("aria-label", "Show suggestions");
116
- const element18 = document.createElementNS("http://www.w3.org/2000/svg", "svg");
117
- element18.setAttribute("class", "affordance-icon");
118
- element18.setAttribute("aria-hidden", "true");
119
- element18.setAttribute("viewBox", "0 0 24 24");
120
- element18.setAttribute("fill", "none");
121
- element18.setAttribute("stroke", "currentColor");
122
- element18.setAttribute("stroke-width", "2.25");
123
- element18.setAttribute("stroke-linecap", "round");
124
- element18.setAttribute("stroke-linejoin", "round");
125
- const element19 = document.createElementNS("http://www.w3.org/2000/svg", "path");
126
- element19.setAttribute("d", "m6 9 6 6 6-6");
127
- element18.append(element19);
128
- element17.append(element18);
129
- element4.append(element17);
130
- element3.append(element4);
131
- const element20 = document.createElement("button");
132
- element20.setAttribute("class", "help");
133
- element20.setAttribute("type", "button");
134
- element20.setAttribute("aria-label", "Help");
135
- const value7 = componentProps["disabled"] === undefined ? false : componentProps["disabled"];
136
- if (value7 === true) element20.setAttribute("disabled", "");
137
- else element20.removeAttribute("disabled");
138
- const element21 = document.createElementNS("http://www.w3.org/2000/svg", "svg");
139
- element21.setAttribute("class", "help-icon");
140
- element21.setAttribute("aria-hidden", "true");
141
- element21.setAttribute("viewBox", "0 0 24 24");
142
- element21.setAttribute("fill", "none");
143
- element21.setAttribute("stroke", "currentColor");
144
- element21.setAttribute("stroke-width", "2");
145
- element21.setAttribute("stroke-linecap", "round");
146
- element21.setAttribute("stroke-linejoin", "round");
147
- const element22 = document.createElementNS("http://www.w3.org/2000/svg", "circle");
148
- element22.setAttribute("cx", "12");
149
- element22.setAttribute("cy", "12");
150
- element22.setAttribute("r", "10");
151
- element21.append(element22);
152
- const element23 = document.createElementNS("http://www.w3.org/2000/svg", "path");
153
- element23.setAttribute("d", "M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3");
154
- element21.append(element23);
155
- const element24 = document.createElementNS("http://www.w3.org/2000/svg", "path");
156
- element24.setAttribute("d", "M12 17h.01");
157
- element21.append(element24);
158
- element20.append(element21);
159
- element3.append(element20);
160
- element.append(element3);
161
- const element25 = document.createElement("ui-tooltip");
162
- element25.setAttribute("trigger", "click");
163
- const text26 = document.createTextNode("");
164
- element25.append(text26);
165
- element.append(element25);
166
- const element27 = document.createElement("div");
167
- element27.setAttribute("class", "popup");
168
- const element28 = document.createElement("div");
169
- element28.setAttribute("role", "listbox");
170
- const value8 = componentProps["loading"] === undefined ? false : componentProps["loading"];
171
- if (typeof value8 === "boolean") element28.setAttribute("aria-busy", String(value8));
172
- else element28.removeAttribute("aria-busy");
173
- const element29 = document.createElement("div");
174
- const element30 = document.createElement("div");
175
- element30.setAttribute("class", "group");
176
- const text31 = document.createTextNode("");
177
- element30.append(text31);
178
- element29.append(element30);
179
- const element32 = document.createElement("div");
180
- element32.setAttribute("class", "option");
181
- element32.setAttribute("role", "option");
182
- element32.setAttribute("data-ui-choice-option", "");
183
- const value9 = componentProps["multiple"] === undefined ? false : componentProps["multiple"];
184
- if (value9 === true) element32.setAttribute("data-multiple", "");
185
- else element32.removeAttribute("data-multiple");
186
- if (children.length > 0) {
187
- for (const child of children) {
188
- const node = typeof child === "string" ? document.createTextNode(child) : child;
189
- if (node.nodeType === 1) node.setAttribute("data-slotted", "");
190
- projected.push([node, ""]);
191
- element32.append(node);
192
- }
193
- } else {
194
- const element33 = document.createElement("span");
195
- element33.setAttribute("class", "detail");
196
- const element34 = document.createElement("span");
197
- element34.setAttribute("class", "line");
198
- const element35 = document.createElement("span");
199
- element35.setAttribute("class", "primary");
200
- const text36 = document.createTextNode("");
201
- element35.append(text36);
202
- element34.append(element35);
203
- const element37 = document.createElement("ui-badge");
204
- const element38 = document.createElement("span");
205
- const text39 = document.createTextNode("");
206
- element38.append(text39);
207
- element37.append(element38);
208
- element34.append(element37);
209
- element33.append(element34);
210
- const element40 = document.createElement("span");
211
- element40.setAttribute("class", "description");
212
- const text41 = document.createTextNode("");
213
- element40.append(text41);
214
- element33.append(element40);
215
- element32.append(element33);
216
- const element42 = document.createElement("span");
217
- element42.setAttribute("class", "primary");
218
- const text43 = document.createTextNode("");
219
- element42.append(text43);
220
- element32.append(element42);
221
- }
222
- element29.append(element32);
223
- element28.append(element29);
224
- const element44 = document.createElement("div");
225
- element44.setAttribute("class", "option");
226
- element44.setAttribute("role", "option");
227
- element44.setAttribute("data-ui-choice-option", "");
228
- const value10 = componentProps["multiple"] === undefined ? false : componentProps["multiple"];
229
- if (value10 === true) element44.setAttribute("data-multiple", "");
230
- else element44.removeAttribute("data-multiple");
231
- element44.setAttribute("aria-selected", "false");
232
- element28.append(element44);
233
- const element45 = document.createElement("div");
234
- element45.setAttribute("class", "message");
235
- const text46 = document.createTextNode("");
236
- element45.append(text46);
237
- element28.append(element45);
238
- const element47 = document.createElement("div");
239
- element47.setAttribute("class", "message");
240
- if (slots["empty"] ?? [].length > 0) {
241
- for (const child of slots["empty"] ?? []) {
242
- const node = typeof child === "string" ? document.createTextNode(child) : child;
243
- if (node.nodeType === 1) node.setAttribute("data-slotted", "");
244
- projected.push([node, "empty"]);
245
- element47.append(node);
246
- }
247
- } else {
248
- element47.append("No suggestions.");
249
- }
250
- element28.append(element47);
251
- element27.append(element28);
252
- if (slots["footer"] ?? [].length > 0) {
253
- for (const child of slots["footer"] ?? []) {
254
- const node = typeof child === "string" ? document.createTextNode(child) : child;
255
- if (node.nodeType === 1) node.setAttribute("data-slotted", "");
256
- projected.push([node, "footer"]);
257
- element27.append(node);
258
- }
259
- } else {
260
- }
261
- element.append(element27);
262
- const element48 = document.createElement("div");
263
- element48.setAttribute("class", "message");
264
- const element49 = document.createElement("div");
265
- const text50 = document.createTextNode("");
266
- element49.append(text50);
267
- element48.append(element49);
268
- element.append(element48);
269
- const element51 = document.createElement("div");
270
- element51.setAttribute("class", "sr-only");
271
- element51.setAttribute("role", "status");
272
- element51.setAttribute("aria-live", "polite");
273
- element51.setAttribute("aria-atomic", "true");
274
- const text52 = document.createTextNode("");
275
- element51.append(text52);
276
- element.append(element51);
277
- const element53 = document.createElement("div");
278
- element53.setAttribute("class", "authored-options");
279
- element53.setAttribute("hidden", "");
280
- element53.setAttribute("aria-hidden", "true");
281
- if (children.length > 0) {
282
- for (const child of children) {
283
- const node = typeof child === "string" ? document.createTextNode(child) : child;
284
- if (node.nodeType === 1) node.setAttribute("data-slotted", "");
285
- projected.push([node, ""]);
286
- element53.append(node);
287
- }
288
- } else {
289
- }
290
- element.append(element53);
291
- manageComponentLifecycle(element, definition, { props: componentProps, projected,
292
- controller,
293
- });
48
+ element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
49
+ const v = [[], "", "", null, false, [], null, false, "", { "status": "pristine", "touched": false, "dirty": false, "issues": [] }, "", "", [], false, 0, "", "", "pristine", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
50
+ const B = acceptProps(element, D, S.n, v, componentProps, [], html);
51
+ v[6] = negate(1, undefined);
52
+ const m1 = (d) => {
53
+ const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
54
+ const r = { n };
55
+ p1(r, -1, d);
56
+ return r;
57
+ };
58
+ const p1 = (r, c, d) => {
59
+ };
60
+ const m2 = (d) => {
61
+ const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
62
+ const r = { n };
63
+ p2(r, -1, d);
64
+ return r;
65
+ };
66
+ const p2 = (r, c, d) => {
67
+ };
68
+ const m3 = (d) => {
69
+ const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
70
+ const t0 = n.firstChild;
71
+ const r = { n, L0: new PositionalList(t0, t0.nextSibling, m4, p4, (o) => readMember(o, "id"), "item") };
72
+ r.z = [() => { for (const row of r.L0.r) dispose(row); }];
73
+ p3(r, -1, d);
74
+ return r;
75
+ };
76
+ const p3 = (r, c, d) => {
77
+ if (c & 1073741825) r.L0.update(v[0], d, c);
78
+ if (c !== -1 && c & 541065216) r.L0.each(c, d);
79
+ };
80
+ const m4 = (o, j, l) => {
81
+ const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
82
+ const t0 = n.firstChild;
83
+ const r = { k: undefined, i: o, n, x: 0, y: 0, j, l, w: 0, v0: null, v1: null, v2: null, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
84
+ p4(r, -1, E);
85
+ return r;
86
+ };
87
+ const p4 = (r, c, d) => {
88
+ const o = r.i;
89
+ if (c & 1073741824) {
90
+ r.w = 0;
91
+ const x0 = r.j;
92
+ const s0 = toAttribute(x0, "data-index");
93
+ if (s0 !== r.v0) writeAttribute(r.n, "data-index", r.v0 = s0);
94
+ }
95
+ if (c & 1614807040) {
96
+ const x1 = ((truthy(v[22]) || truthy(v[36])) || truthy(trackContainer(r, readMember(o, "disabled"))));
97
+ const s1 = toAttribute(x1, "disabled");
98
+ if (s1 !== r.v1) writeAttribute(r.n, "disabled", r.v1 = s1);
99
+ }
100
+ if (c & 1073741824) {
101
+ const x2 = textCall("concat", [trackContainer(r, readMember(o, "label")), ", press Delete or Backspace to remove"]);
102
+ if (x2 !== NONCONFORMING) {
103
+ const s2 = toAttribute(x2, "aria-label");
104
+ if (s2 !== r.v2) writeAttribute(r.n, "aria-label", r.v2 = s2);
105
+ }
106
+ }
107
+ if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a1, r.e0, toText(textCall("concat", ["item-", trackContainer(r, readMember(o, "id"))])), J, true, undefined, d);
108
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m5(d, undefined, r); at.before(r.b0.n); } }
109
+ else if (r.b0 !== undefined) p5(r.b0, c, d);
110
+ };
111
+ const m5 = (d, o, u) => {
112
+ const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
113
+ const t0 = n.firstChild.firstChild;
114
+ const r = { n, u, a0: t0, w: 0, v0: "" };
115
+ p5(r, -1, d);
116
+ return r;
117
+ };
118
+ const p5 = (r, c, d) => {
119
+ if (c & 1073741824) {
120
+ r.w = 0;
121
+ const x0 = trackContainer(r, readMember(r.u.i, "label"));
122
+ const s0 = toText(x0);
123
+ if (s0 !== r.v0) r.a0.data = r.v0 = s0;
124
+ }
125
+ };
126
+ const m6 = (d) => {
127
+ const n = (P6 ??= buildTemplate(T6)).cloneNode(true);
128
+ const r = { n, v0: null, v1: null, v2: null };
129
+ p6(r, -1, d);
130
+ return r;
131
+ };
132
+ const p6 = (r, c, d) => {
133
+ if (c & 536870912) {
134
+ const x0 = v[32];
135
+ const s0 = toAttribute(x0, "name");
136
+ if (s0 !== r.v0) writeAttribute(r.n, "name", r.v0 = s0);
137
+ }
138
+ if (c & 2048) {
139
+ const x1 = v[11];
140
+ const s1 = toAttribute(x1, "value");
141
+ if (s1 !== r.v1) writeAttribute(r.n, "value", r.v1 = s1);
142
+ }
143
+ if (c & 4194304) {
144
+ const x2 = v[22];
145
+ const s2 = toAttribute(x2, "disabled");
146
+ if (s2 !== r.v2) writeAttribute(r.n, "disabled", r.v2 = s2);
147
+ }
148
+ };
149
+ const m7 = (d) => {
150
+ const n = (P7 ??= buildTemplate(T7)).cloneNode(true);
151
+ const t0 = n.firstChild;
152
+ const r = { n, L0: new KeyedList(t0, t0.nextSibling, m8, p8, (o) => readMember(o, "id"), "item") };
153
+ p7(r, -1, d);
154
+ return r;
155
+ };
156
+ const p7 = (r, c, d) => {
157
+ if (c & 1073741825) r.L0.update(v[0], d, c);
158
+ if (c !== -1 && c & 541065216) r.L0.each(c, d);
159
+ };
160
+ const m8 = (o, j, l) => {
161
+ const n = (P8 ??= buildTemplate(T8)).cloneNode(true);
162
+ const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null, v1: null, v2: null };
163
+ p8(r, -1, E);
164
+ return r;
165
+ };
166
+ const p8 = (r, c, d) => {
167
+ const o = r.i;
168
+ if (c & 1073741824) r.w = 0;
169
+ if (c & 536870912) {
170
+ const x0 = v[32];
171
+ const s0 = toAttribute(x0, "name");
172
+ if (s0 !== r.v0) writeAttribute(r.n, "name", r.v0 = s0);
173
+ }
174
+ if (c & 1073741824) {
175
+ const x1 = trackContainer(r, readMember(o, "value"));
176
+ const s1 = toAttribute(x1, "value");
177
+ if (s1 !== r.v1) writeAttribute(r.n, "value", r.v1 = s1);
178
+ }
179
+ if (c & 4194304) {
180
+ const x2 = v[22];
181
+ const s2 = toAttribute(x2, "disabled");
182
+ if (s2 !== r.v2) writeAttribute(r.n, "disabled", r.v2 = s2);
183
+ }
184
+ };
185
+ const m9 = (d) => {
186
+ const n = (P9 ??= buildTemplate(T9)).cloneNode(true);
187
+ const r = { n, v0: null };
188
+ p9(r, -1, d);
189
+ return r;
190
+ };
191
+ const p9 = (r, c, d) => {
192
+ if (c & 541065226) {
193
+ const x0 = ((truthy(v[22]) || truthy(v[36])) || (!truthy(v[1]) && (truthy(v[31]) || (v[3] === null))));
194
+ const s0 = toAttribute(x0, "disabled");
195
+ if (s0 !== r.v0) writeAttribute(r.n, "disabled", r.v0 = s0);
196
+ }
197
+ };
198
+ const m10 = (d) => {
199
+ const n = (P10 ??= buildTemplate(T10)).cloneNode(true);
200
+ const r = { n, v0: null, v1: null };
201
+ p10(r, -1, d);
202
+ return r;
203
+ };
204
+ const p10 = (r, c, d) => {
205
+ if (c & 1024) {
206
+ const x0 = textCall("concat", [v[10], "-listbox"]);
207
+ if (x0 !== NONCONFORMING) {
208
+ const s0 = toAttribute(x0, "aria-controls");
209
+ if (s0 !== r.v0) writeAttribute(r.n, "aria-controls", r.v0 = s0);
210
+ }
211
+ }
212
+ if (c & 541065216) {
213
+ const x1 = (truthy(v[22]) || truthy(v[36]));
214
+ const s1 = toAttribute(x1, "disabled");
215
+ if (s1 !== r.v1) writeAttribute(r.n, "disabled", r.v1 = s1);
216
+ }
217
+ };
218
+ const m11 = (d) => {
219
+ const n = (P11 ??= buildTemplate(T11)).cloneNode(true);
220
+ const r = { n, v0: null, v1: null };
221
+ p11(r, -1, d);
222
+ return r;
223
+ };
224
+ const p11 = (r, c, d) => {
225
+ if (c & 1024) {
226
+ const x0 = textCall("concat", [v[10], "-help"]);
227
+ if (x0 !== NONCONFORMING) {
228
+ const s0 = toAttribute(x0, "id");
229
+ if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
230
+ }
231
+ }
232
+ if (c & 4194304) {
233
+ const x1 = v[22];
234
+ const s1 = toAttribute(x1, "disabled");
235
+ if (s1 !== r.v1) writeAttribute(r.n, "disabled", r.v1 = s1);
236
+ }
237
+ };
238
+ const m12 = (d) => {
239
+ const n = (P12 ??= buildTemplate(T12)).cloneNode(true);
240
+ const t0 = n.firstChild;
241
+ const r = { n, a1: t0, v0: null, v1: null, v2: "" };
242
+ p12(r, -1, d);
243
+ return r;
244
+ };
245
+ const p12 = (r, c, d) => {
246
+ if (c & 1024) {
247
+ const x0 = textCall("concat", [v[10], "-help-text"]);
248
+ if (x0 !== NONCONFORMING) {
249
+ const s0 = toAttribute(x0, "id");
250
+ if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
251
+ }
252
+ const x1 = textCall("concat", [v[10], "-help"]);
253
+ if (x1 !== NONCONFORMING) {
254
+ const s1 = toAttribute(x1, "for");
255
+ if (s1 !== r.v1) writeAttribute(r.n, "for", r.v1 = s1);
256
+ }
257
+ }
258
+ if (c & 33554432) {
259
+ const x2 = v[25];
260
+ const s2 = toText(x2);
261
+ if (s2 !== r.v2) r.a1.data = r.v2 = s2;
262
+ }
263
+ };
264
+ const m13 = (o, j, l) => {
265
+ const n = (P13 ??= buildTemplate(T13)).cloneNode(true);
266
+ const t0 = n.firstChild;
267
+ const t1 = t0.nextSibling.nextSibling;
268
+ const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null, v1: null, a1: t0, e0: t0.nextSibling, b0: undefined, q0: undefined, L1: new KeyedList(t1, t1.nextSibling, m15, p15, (o) => readMember(o, "id"), "row") };
269
+ r.z = [() => { for (const row of r.L1.r) dispose(row); }];
270
+ p13(r, -1, E);
271
+ return r;
272
+ };
273
+ const p13 = (r, c, d) => {
274
+ const o = r.i;
275
+ if (c & 1073741824) {
276
+ r.w = 0;
277
+ const x0 = trackContainer(r, readMember(o, "role"));
278
+ const s0 = toAttribute(x0, "role");
279
+ if (s0 !== r.v0) writeAttribute(r.n, "role", r.v0 = s0);
280
+ const x1 = trackContainer(r, readMember(o, "label"));
281
+ const s1 = toAttribute(x1, "aria-label");
282
+ if (s1 !== r.v1) writeAttribute(r.n, "aria-label", r.v1 = s1);
283
+ }
284
+ if (c & 1073741824) {
285
+ const f1 = [];
286
+ const t0 = truthy(recLength(f1, trackContainer(r, rec(f1, readMember(rec(f1, o), "name")))));
287
+ if (c === -1 || readsChanged(r.q0, f1)) {
288
+ r.q0 = f1;
289
+ {
290
+ r.b0 = undefined;
291
+ clearRegion(r.a1, r.e0);
292
+ if (t0) { r.b0 = m14(d, undefined, r); r.e0.before(r.b0.n); }
293
+ }
294
+ } else if (r.b0 !== undefined) p14(r.b0, c, d);
295
+ } else if (r.b0 !== undefined) p14(r.b0, c, d);
296
+ if (c & 1073741824) r.L1.update(readMember(o, "rows"), d, c);
297
+ if (c !== -1 && c & 536872000) r.L1.each(c, d);
298
+ };
299
+ const m14 = (d, o, u) => {
300
+ const n = (P14 ??= buildTemplate(T14)).cloneNode(true);
301
+ const t0 = n.firstChild;
302
+ const r = { n, u, a0: t0, w: 0, v0: "" };
303
+ p14(r, -1, d);
304
+ return r;
305
+ };
306
+ const p14 = (r, c, d) => {
307
+ if (c & 1073741824) {
308
+ r.w = 0;
309
+ const x0 = trackContainer(r, readMember(r.u.i, "name"));
310
+ const s0 = toText(x0);
311
+ if (s0 !== r.v0) r.a0.data = r.v0 = s0;
312
+ }
313
+ };
314
+ const m15 = (o, j, l) => {
315
+ const n = (P15 ??= buildTemplate(T15)).cloneNode(true);
316
+ const t0 = n.firstChild;
317
+ const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: false, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
318
+ p15(r, -1, E);
319
+ return r;
320
+ };
321
+ const p15 = (r, c, d) => {
322
+ const o = r.i;
323
+ if (c & 1073741824) r.w = 0;
324
+ if (c & 1073741888) {
325
+ const x0 = (checkReference(S, v[6], "i", "expression:$row.index = $active:active", "Reference `active` must satisfy integer.") ? (readMember(o, "index") === v[6]) : NONCONFORMING);
326
+ if (x0 !== NONCONFORMING) {
327
+ const s0 = x0;
328
+ if (s0 !== r.v0) r.n.classList.toggle("active", r.v0 = s0);
329
+ }
330
+ }
331
+ if (c & 536870912) {
332
+ const x1 = v[31];
333
+ const s1 = toAttribute(x1, "data-multiple");
334
+ if (s1 !== r.v1) writeAttribute(r.n, "data-multiple", r.v1 = s1);
335
+ }
336
+ if (c & 1073742848) {
337
+ const x2 = textCall("concat", [v[10], "-option-", trackContainer(r, readMember(o, "index"))]);
338
+ if (x2 !== NONCONFORMING) {
339
+ const s2 = toAttribute(x2, "id");
340
+ if (s2 !== r.v2) writeAttribute(r.n, "id", r.v2 = s2);
341
+ }
342
+ }
343
+ if (c & 1073741824) {
344
+ const x3 = trackContainer(r, readMember(o, "selected"));
345
+ const s3 = toAttribute(x3, "aria-selected");
346
+ if (s3 !== r.v3) writeAttribute(r.n, "aria-selected", r.v3 = s3);
347
+ const x4 = trackContainer(r, readMember(o, "disabled"));
348
+ const s4 = toAttribute(x4, "aria-disabled");
349
+ if (s4 !== r.v4) writeAttribute(r.n, "aria-disabled", r.v4 = s4);
350
+ const x5 = trackContainer(r, readMember(o, "index"));
351
+ const s5 = toAttribute(x5, "data-index");
352
+ if (s5 !== r.v5) writeAttribute(r.n, "data-index", r.v5 = s5);
353
+ const x6 = trackContainer(r, readMember(o, "labelledBy"));
354
+ const s6 = toAttribute(x6, "aria-labelledby");
355
+ if (s6 !== r.v6) writeAttribute(r.n, "aria-labelledby", r.v6 = s6);
356
+ const x7 = trackContainer(r, readMember(o, "detail"));
357
+ const s7 = toAttribute(x7, "aria-describedby");
358
+ if (s7 !== r.v7) writeAttribute(r.n, "aria-describedby", r.v7 = s7);
359
+ }
360
+ if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a1, r.e0, toText(textCall("concat", ["option-", trackContainer(r, readMember(o, "id"))])), J, true, undefined, d);
361
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m16(d, undefined, r); at.before(r.b0.n); } }
362
+ else if (r.b0 !== undefined) p16(r.b0, c, d);
363
+ };
364
+ const m16 = (d, o, u) => {
365
+ const n = (P16 ??= buildTemplate(T16)).cloneNode(true);
366
+ const t0 = n.firstChild;
367
+ const t1 = t0.nextSibling.nextSibling;
368
+ const r = { n, u, a0: t0, e0: t0.nextSibling, b0: undefined, q0: undefined, a1: t1, e1: t1.nextSibling, b1: undefined, q1: undefined };
369
+ p16(r, -1, d);
370
+ return r;
371
+ };
372
+ const p16 = (r, c, d) => {
373
+ if (c & 1073741824) {
374
+ const f2 = [];
375
+ const t0 = truthy(recLength(f2, trackContainer(r, rec(f2, readMember(rec(f2, r.u.i), "detail")))));
376
+ if (c === -1 || readsChanged(r.q0, f2)) {
377
+ r.q0 = f2;
378
+ {
379
+ r.b0 = undefined;
380
+ clearRegion(r.a0, r.e0);
381
+ if (t0) { r.b0 = m17(d, undefined, r); r.e0.before(r.b0.n); }
382
+ }
383
+ } else if (r.b0 !== undefined) p17(r.b0, c, d);
384
+ } else if (r.b0 !== undefined) p17(r.b0, c, d);
385
+ if (c & 1073741824) {
386
+ const f5 = [];
387
+ const t1 = !truthy(recLength(f5, trackContainer(r, rec(f5, readMember(rec(f5, r.u.i), "detail")))));
388
+ if (c === -1 || readsChanged(r.q1, f5)) {
389
+ r.q1 = f5;
390
+ {
391
+ r.b1 = undefined;
392
+ clearRegion(r.a1, r.e1);
393
+ if (t1) { r.b1 = m20(d, undefined, r); r.e1.before(r.b1.n); }
394
+ }
395
+ } else if (r.b1 !== undefined) p20(r.b1, c, d);
396
+ } else if (r.b1 !== undefined) p20(r.b1, c, d);
397
+ };
398
+ const m17 = (d, o, u) => {
399
+ const n = (P17 ??= buildTemplate(T17)).cloneNode(true);
400
+ const t0 = n.firstChild;
401
+ const t1 = t0.firstChild;
402
+ const t2 = t1.firstChild;
403
+ const t3 = t1.nextSibling;
404
+ const t4 = t0.nextSibling;
405
+ const r = { n, u, a0: t1, a1: t2, w: 0, v0: null, v1: "", a2: t3, e0: t3.nextSibling, b0: undefined, q0: undefined, a3: t4, e1: t4.nextSibling, b1: undefined, q1: undefined };
406
+ p17(r, -1, d);
407
+ return r;
408
+ };
409
+ const p17 = (r, c, d) => {
410
+ if (c & 1073741824) r.w = 0;
411
+ if (c & 1073742848) {
412
+ const x0 = textCall("concat", [v[10], "-option-", trackContainer(r, readMember(r.u.u.i, "index")), "-label"]);
413
+ if (x0 !== NONCONFORMING) {
414
+ const s0 = toAttribute(x0, "id");
415
+ if (s0 !== r.v0) writeAttribute(r.a0, "id", r.v0 = s0);
416
+ }
417
+ }
418
+ if (c & 1073741824) {
419
+ const x1 = trackContainer(r, readMember(r.u.u.i, "label"));
420
+ const s1 = toText(x1);
421
+ if (s1 !== r.v1) r.a1.data = r.v1 = s1;
422
+ }
423
+ if (c & 1073741824) {
424
+ const f3 = [];
425
+ const t0 = truthy(recLength(f3, trackContainer(r, rec(f3, readMember(rec(f3, r.u.u.i), "tag")))));
426
+ if (c === -1 || readsChanged(r.q0, f3)) {
427
+ r.q0 = f3;
428
+ {
429
+ r.b0 = undefined;
430
+ clearRegion(r.a2, r.e0);
431
+ if (t0) { r.b0 = m18(d, undefined, r); r.e0.before(r.b0.n); }
432
+ }
433
+ } else if (r.b0 !== undefined) p18(r.b0, c, d);
434
+ } else if (r.b0 !== undefined) p18(r.b0, c, d);
435
+ if (c & 1073741824) {
436
+ const f4 = [];
437
+ const t1 = truthy(recLength(f4, trackContainer(r, rec(f4, readMember(rec(f4, r.u.u.i), "description")))));
438
+ if (c === -1 || readsChanged(r.q1, f4)) {
439
+ r.q1 = f4;
440
+ {
441
+ r.b1 = undefined;
442
+ clearRegion(r.a3, r.e1);
443
+ if (t1) { r.b1 = m19(d, undefined, r); r.e1.before(r.b1.n); }
444
+ }
445
+ } else if (r.b1 !== undefined) p19(r.b1, c, d);
446
+ } else if (r.b1 !== undefined) p19(r.b1, c, d);
447
+ };
448
+ const m18 = (d, o, u) => {
449
+ const n = (P18 ??= buildTemplate(T18)).cloneNode(true);
450
+ const t0 = n.firstChild;
451
+ const t1 = t0.firstChild;
452
+ const r = { n, u, a1: t0, a2: t1, w: 0, v0: null, v1: undefined, v2: null, v3: "" };
453
+ p18(r, -1, d);
454
+ return r;
455
+ };
456
+ const p18 = (r, c, d) => {
457
+ if (c & 1073741824) {
458
+ r.w = 0;
459
+ const x0 = trackContainer(r, readMember(readMember(r.u.u.u.i, "tag"), "tone"));
460
+ const s0 = toAttribute(x0, "tone");
461
+ if (s0 !== r.v0) writeAttribute(r.n, "tone", r.v0 = s0);
462
+ const x1 = trackContainer(r, readMember(readMember(r.u.u.u.i, "tag"), "color"));
463
+ const s1 = toText(x1);
464
+ if (s1 !== r.v1) r.n.style.setProperty("--ui-badge-color", r.v1 = s1);
465
+ const x2 = trackContainer(r, readMember(readMember(r.u.u.u.i, "tag"), "label"));
466
+ const s3 = toText(x2);
467
+ if (s3 !== r.v3) r.a2.data = r.v3 = s3;
468
+ }
469
+ if (c & 1073742848) {
470
+ const x3 = textCall("concat", [v[10], "-option-", trackContainer(r, readMember(r.u.u.u.i, "index")), "-tag"]);
471
+ if (x3 !== NONCONFORMING) {
472
+ const s2 = toAttribute(x3, "id");
473
+ if (s2 !== r.v2) writeAttribute(r.a1, "id", r.v2 = s2);
474
+ }
475
+ }
476
+ };
477
+ const m19 = (d, o, u) => {
478
+ const n = (P19 ??= buildTemplate(T19)).cloneNode(true);
479
+ const t0 = n.firstChild;
480
+ const r = { n, u, a1: t0, w: 0, v0: null, v1: "" };
481
+ p19(r, -1, d);
482
+ return r;
483
+ };
484
+ const p19 = (r, c, d) => {
485
+ if (c & 1073741824) r.w = 0;
486
+ if (c & 1073742848) {
487
+ const x0 = textCall("concat", [v[10], "-option-", trackContainer(r, readMember(r.u.u.u.i, "index")), "-description"]);
488
+ if (x0 !== NONCONFORMING) {
489
+ const s0 = toAttribute(x0, "id");
490
+ if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
491
+ }
492
+ }
493
+ if (c & 1073741824) {
494
+ const x1 = trackContainer(r, readMember(r.u.u.u.i, "description"));
495
+ const s1 = toText(x1);
496
+ if (s1 !== r.v1) r.a1.data = r.v1 = s1;
497
+ }
498
+ };
499
+ const m20 = (d, o, u) => {
500
+ const n = (P20 ??= buildTemplate(T20)).cloneNode(true);
501
+ const t0 = n.firstChild;
502
+ const r = { n, u, a0: t0, w: 0, v0: "" };
503
+ p20(r, -1, d);
504
+ return r;
505
+ };
506
+ const p20 = (r, c, d) => {
507
+ if (c & 1073741824) {
508
+ r.w = 0;
509
+ const x0 = trackContainer(r, readMember(r.u.u.i, "label"));
510
+ const s0 = toText(x0);
511
+ if (s0 !== r.v0) r.a0.data = r.v0 = s0;
512
+ }
513
+ };
514
+ const m21 = (d) => {
515
+ const n = (P21 ??= buildTemplate(T21)).cloneNode(true);
516
+ const r = { n, v0: false, v1: null, v2: null, v3: null, v4: undefined };
517
+ p21(r, -1, d);
518
+ return r;
519
+ };
520
+ const p21 = (r, c, d) => {
521
+ if (c & 16448) {
522
+ const x0 = (checkReference(S, v[6], "i", "expression:$createIndex = $active:active", "Reference `active` must satisfy integer.") ? (v[14] === v[6]) : NONCONFORMING);
523
+ if (x0 !== NONCONFORMING) {
524
+ const s0 = x0;
525
+ if (s0 !== r.v0) r.n.classList.toggle("active", r.v0 = s0);
526
+ }
527
+ }
528
+ if (c & 536870912) {
529
+ const x1 = v[31];
530
+ const s1 = toAttribute(x1, "data-multiple");
531
+ if (s1 !== r.v1) writeAttribute(r.n, "data-multiple", r.v1 = s1);
532
+ }
533
+ if (c & 17408) {
534
+ const x2 = textCall("concat", [v[10], "-option-", v[14]]);
535
+ if (x2 !== NONCONFORMING) {
536
+ const s2 = toAttribute(x2, "id");
537
+ if (s2 !== r.v2) writeAttribute(r.n, "id", r.v2 = s2);
538
+ }
539
+ }
540
+ if (c & 16384) {
541
+ const x3 = v[14];
542
+ const s3 = toAttribute(x3, "data-index");
543
+ if (s3 !== r.v3) writeAttribute(r.n, "data-index", r.v3 = s3);
544
+ }
545
+ if (c & 2) {
546
+ const x4 = textCall("concat", ["Create “", v[1], "”"]);
547
+ if (x4 !== NONCONFORMING) {
548
+ const s4 = toText(x4);
549
+ if (s4 !== r.v4) writeText(r.n, r.v4 = s4);
550
+ }
551
+ }
552
+ };
553
+ const m22 = (d) => {
554
+ const n = (P22 ??= buildTemplate(T22)).cloneNode(true);
555
+ const t0 = n.firstChild;
556
+ const r = { n, a0: t0, v0: "" };
557
+ p22(r, -1, d);
558
+ return r;
559
+ };
560
+ const p22 = (r, c, d) => {
561
+ if (c & 32768) {
562
+ const x0 = v[15];
563
+ const s0 = toText(x0);
564
+ if (s0 !== r.v0) r.a0.data = r.v0 = s0;
565
+ }
566
+ };
567
+ const m23 = (d) => {
568
+ const n = (P23 ??= buildTemplate(T23)).cloneNode(true);
569
+ const t0 = n.firstChild;
570
+ const r = { n, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
571
+ p23(r, -1, d);
572
+ return r;
573
+ };
574
+ const p23 = (r, c, d) => {
575
+ if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "empty", J, true, undefined, d);
576
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m24(d); at.before(r.b0.n); } }
577
+ else if (r.b0 !== undefined) p24(r.b0, c, d);
578
+ };
579
+ const m24 = (d) => {
580
+ const n = (P24 ??= buildTemplate(T24)).cloneNode(true);
581
+ const r = { n };
582
+ p24(r, -1, d);
583
+ return r;
584
+ };
585
+ const p24 = (r, c, d) => {
586
+ };
587
+ const m25 = (d) => {
588
+ const n = (P25 ??= buildTemplate(T25)).cloneNode(true);
589
+ const r = { n };
590
+ p25(r, -1, d);
591
+ return r;
592
+ };
593
+ const p25 = (r, c, d) => {
594
+ };
595
+ const m26 = (o, j, l) => {
596
+ const n = (P26 ??= buildTemplate(T26)).cloneNode(true);
597
+ const t0 = n.firstChild;
598
+ const r = { k: undefined, i: o, n, x: 0, y: 0, a0: t0, w: 0, v0: "" };
599
+ p26(r, -1, E);
600
+ return r;
601
+ };
602
+ const p26 = (r, c, d) => {
603
+ const o = r.i;
604
+ if (c & 1073741824) {
605
+ r.w = 0;
606
+ const x0 = trackContainer(r, readMember(o, "message"));
607
+ const s0 = toText(x0);
608
+ if (s0 !== r.v0) r.a0.data = r.v0 = s0;
609
+ }
610
+ };
611
+ const m27 = (d) => {
612
+ const n = (P27 ??= buildTemplate(T27)).cloneNode(true);
613
+ const r = { n };
614
+ p27(r, -1, d);
615
+ return r;
616
+ };
617
+ const p27 = (r, c, d) => {
618
+ };
619
+ const p0 = (r, c, d) => {
620
+ if (c & 1024) {
621
+ const x0 = textCall("concat", [v[10], "-input"]);
622
+ if (x0 !== NONCONFORMING) {
623
+ const s0 = toAttribute(x0, "for");
624
+ if (s0 !== r.v0) writeAttribute(r.a0, "for", r.v0 = s0);
625
+ }
626
+ if (x0 !== NONCONFORMING) {
627
+ const s3 = toAttribute(x0, "id");
628
+ if (s3 !== r.v3) writeAttribute(r.a6, "id", r.v3 = s3);
629
+ }
630
+ const x1 = textCall("concat", [v[10], "-listbox"]);
631
+ if (x1 !== NONCONFORMING) {
632
+ const s4 = toAttribute(x1, "aria-controls");
633
+ if (s4 !== r.v4) writeAttribute(r.a6, "aria-controls", r.v4 = s4);
634
+ }
635
+ if (x1 !== NONCONFORMING) {
636
+ const s14 = toAttribute(x1, "id");
637
+ if (s14 !== r.v14) writeAttribute(r.a14, "id", r.v14 = s14);
638
+ }
639
+ const x2 = textCall("concat", [v[10], "-validation"]);
640
+ if (x2 !== NONCONFORMING) {
641
+ const s17 = toAttribute(x2, "id");
642
+ if (s17 !== r.v17) writeAttribute(r.a20, "id", r.v17 = s17);
643
+ }
644
+ }
645
+ if (c & 536870912) {
646
+ const x3 = (v[29] === "sr-only");
647
+ const s1 = x3;
648
+ if (s1 !== r.v1) r.a0.classList.toggle("sr-only", r.v1 = s1);
649
+ }
650
+ if (c & 268435456) {
651
+ const x4 = v[28];
652
+ const s2 = toText(x4);
653
+ if (s2 !== r.v2) r.a1.data = r.v2 = s2;
654
+ const x5 = textCall("concat", [v[28], " suggestions"]);
655
+ if (x5 !== NONCONFORMING) {
656
+ const s15 = toAttribute(x5, "aria-label");
657
+ if (s15 !== r.v15) writeAttribute(r.a14, "aria-label", r.v15 = s15);
658
+ }
659
+ }
660
+ if (c & 16) {
661
+ const x6 = v[4];
662
+ const s5 = toAttribute(x6, "aria-expanded");
663
+ if (s5 !== r.v5) writeAttribute(r.a6, "aria-expanded", r.v5 = s5);
664
+ const x7 = !v[4];
665
+ const s13 = toAttribute(x7, "hidden");
666
+ if (s13 !== r.v13) writeAttribute(r.a13, "hidden", r.v13 = s13);
667
+ }
668
+ if (c & 67239936) {
669
+ const x8 = (truthy(v[26]) || (v[17] === "error"));
670
+ const s6 = toAttribute(x8, "aria-invalid");
671
+ if (s6 !== r.v6) writeAttribute(r.a6, "aria-invalid", r.v6 = s6);
672
+ }
673
+ if (c & 537001984) {
674
+ const x9 = (truthy(v[30]) || (v[17] === "pending"));
675
+ const s7 = toAttribute(x9, "aria-busy");
676
+ if (s7 !== r.v7) writeAttribute(r.a6, "aria-busy", r.v7 = s7);
677
+ }
678
+ if (c & 4) {
679
+ const f0 = [];
680
+ const x10 = rec(f0, v[2]);
681
+ if (c === -1 || c & 4 || readsChanged(r.v8, f0)) {
682
+ r.v8 = f0;
683
+ r.a6["value"] = x10;
684
+ }
685
+ }
686
+ if (c & 536870912) {
687
+ const x11 = v[34];
688
+ const s9 = toAttribute(x11, "placeholder");
689
+ if (s9 !== r.v9) writeAttribute(r.a6, "placeholder", r.v9 = s9);
690
+ }
691
+ if (c & 4194304) {
692
+ const x12 = v[22];
693
+ const s10 = toAttribute(x12, "disabled");
694
+ if (s10 !== r.v10) writeAttribute(r.a6, "disabled", r.v10 = s10);
695
+ }
696
+ if (c & 536870912) {
697
+ const x13 = v[36];
698
+ const s11 = toAttribute(x13, "readonly");
699
+ if (s11 !== r.v11) writeAttribute(r.a6, "readonly", r.v11 = s11);
700
+ const x14 = v[30];
701
+ const s16 = toAttribute(x14, "aria-busy");
702
+ if (s16 !== r.v16) writeAttribute(r.a14, "aria-busy", r.v16 = s16);
703
+ }
704
+ if (c & 1610612737) {
705
+ const x15 = (checkReference(S, readDeclared(v[0], ["0"]), ["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat),false],"color","s"]]]], "expression:$required and not ($multiple and $internalItems.0):internalItems.0", "Reference `internalItems.0` must satisfy object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }).") ? (truthy(v[37]) && !(truthy(v[31]) && truthy(readIndex(v[0], 0)))) : NONCONFORMING);
706
+ if (x15 !== NONCONFORMING) {
707
+ const s12 = toAttribute(x15, "required");
708
+ if (s12 !== r.v12) writeAttribute(r.a6, "required", r.v12 = s12);
709
+ }
710
+ }
711
+ if (c & 1073742336) {
712
+ const x16 = !truthy(readMember(readMember(v[9], "issues"), "length"));
713
+ const s18 = toAttribute(x16, "hidden");
714
+ if (s18 !== r.v18) writeAttribute(r.a20, "hidden", r.v18 = s18);
715
+ }
716
+ if (c & 65536) {
717
+ const x17 = v[16];
718
+ const s19 = toText(x17);
719
+ if (s19 !== r.v19) r.a22.data = r.v19 = s19;
720
+ }
721
+ if (c & 604110848) {
722
+ const x18 = hostState(["size","validationStatus","invalid","multiple"], [v[40], v[17], v[26], v[31]]);
723
+ const s20 = x18;
724
+ if (s20 !== r.v20) writeAttribute(r.n, "data-ui-combobox-state", (r.v20 = s20) === "" ? null : s20);
725
+ }
726
+ if (c & 536870912) {
727
+ const t0 = truthy(v[37]);
728
+ if (c === -1 || d.has(37)) {
729
+ {
730
+ r.b0 = undefined;
731
+ clearRegion(r.a2, r.e0);
732
+ if (t0) { r.b0 = m1(d); r.e0.before(r.b0.n); }
733
+ }
734
+ } else if (r.b0 !== undefined) p1(r.b0, c, d);
735
+ } else if (r.b0 !== undefined) p1(r.b0, c, d);
736
+ if (c & 536870912) {
737
+ const t2 = truthy(v[31]);
738
+ if (c === -1 || d.has(31)) {
739
+ {
740
+ dispose(r.b2);
741
+ r.b2 = undefined;
742
+ clearRegion(r.a5, r.e2);
743
+ if (t2) { r.b2 = m3(d); r.e2.before(r.b2.n); }
744
+ }
745
+ } else if (r.b2 !== undefined) p3(r.b2, c, d);
746
+ } else if (r.b2 !== undefined) p3(r.b2, c, d);
747
+ if (c & 536870912) {
748
+ const t3 = (truthy(v[32]) && !truthy(v[31]));
749
+ if (c === -1 || d.has(32) || d.has(31)) {
750
+ {
751
+ r.b3 = undefined;
752
+ clearRegion(r.a7, r.e3);
753
+ if (t3) { r.b3 = m6(d); r.e3.before(r.b3.n); }
754
+ }
755
+ } else if (r.b3 !== undefined) p6(r.b3, c, d);
756
+ } else if (r.b3 !== undefined) p6(r.b3, c, d);
757
+ if (c & 536870912) {
758
+ const t4 = (truthy(v[32]) && truthy(v[31]));
759
+ if (c === -1 || d.has(32) || d.has(31)) {
760
+ {
761
+ r.b4 = undefined;
762
+ clearRegion(r.a8, r.e4);
763
+ if (t4) { r.b4 = m7(d); r.e4.before(r.b4.n); }
764
+ }
765
+ } else if (r.b4 !== undefined) p7(r.b4, c, d);
766
+ } else if (r.b4 !== undefined) p7(r.b4, c, d);
767
+ if (c & 2097152) {
768
+ const t5 = truthy(v[21]);
769
+ if (true) {
770
+ {
771
+ r.b5 = undefined;
772
+ clearRegion(r.a9, r.e5);
773
+ if (t5) { r.b5 = m9(d); r.e5.before(r.b5.n); }
774
+ }
775
+ } else if (r.b5 !== undefined) p9(r.b5, c, d);
776
+ } else if (r.b5 !== undefined) p9(r.b5, c, d);
777
+ if (c & 8388608) {
778
+ const t6 = truthy(v[23]);
779
+ if (true) {
780
+ {
781
+ r.b6 = undefined;
782
+ clearRegion(r.a10, r.e6);
783
+ if (t6) { r.b6 = m10(d); r.e6.before(r.b6.n); }
784
+ }
785
+ } else if (r.b6 !== undefined) p10(r.b6, c, d);
786
+ } else if (r.b6 !== undefined) p10(r.b6, c, d);
787
+ if (c & 33554432) {
788
+ const t7 = truthy(v[25]);
789
+ if (true) {
790
+ {
791
+ r.b7 = undefined;
792
+ clearRegion(r.a11, r.e7);
793
+ if (t7) { r.b7 = m11(d); r.e7.before(r.b7.n); }
794
+ }
795
+ } else if (r.b7 !== undefined) p11(r.b7, c, d);
796
+ } else if (r.b7 !== undefined) p11(r.b7, c, d);
797
+ if (c & 33554432) {
798
+ const t8 = truthy(v[25]);
799
+ if (true) {
800
+ {
801
+ r.b8 = undefined;
802
+ clearRegion(r.a12, r.e8);
803
+ if (t8) { r.b8 = m12(d); r.e8.before(r.b8.n); }
804
+ }
805
+ } else if (r.b8 !== undefined) p12(r.b8, c, d);
806
+ } else if (r.b8 !== undefined) p12(r.b8, c, d);
807
+ if (c & 1073745920) r.L9.update(v[12], d, c);
808
+ if (c & 8192) {
809
+ const t10 = v[13];
810
+ if (true) {
811
+ {
812
+ r.b10 = undefined;
813
+ clearRegion(r.a16, r.e10);
814
+ if (t10) { r.b10 = m21(d); r.e10.before(r.b10.n); }
815
+ }
816
+ } else if (r.b10 !== undefined) p21(r.b10, c, d);
817
+ } else if (r.b10 !== undefined) p21(r.b10, c, d);
818
+ if (c & 32768) {
819
+ const t11 = truthy(v[15]);
820
+ if (true) {
821
+ {
822
+ r.b11 = undefined;
823
+ clearRegion(r.a17, r.e11);
824
+ if (t11) { r.b11 = m22(d); r.e11.before(r.b11.n); }
825
+ }
826
+ } else if (r.b11 !== undefined) p22(r.b11, c, d);
827
+ } else if (r.b11 !== undefined) p22(r.b11, c, d);
828
+ if (c & 1610621216) {
829
+ const f6 = [];
830
+ const t12 = (checkReference(S, rec(f6, readDeclared(v[5], ["0"], f6)), ["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat),false],"color","s"]]]], "expression:not $loading and not $rows.0 and not $creatable and not $lookupError:rows.0", "Reference `rows.0` must satisfy object({ id: string, value: string, label: string, group?: string, disabled: boolean, selected: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }).") ? (((!truthy(rec(f6, v[30])) && !truthy(recLength(f6, rec(f6, readIndex(rec(f6, v[5]), 0))))) && !rec(f6, v[13])) && !truthy(rec(f6, v[8]))) : NONCONFORMING);
831
+ if (c === -1 || c & 8480 || d.has(30) || readsChanged(r.q12, f6)) {
832
+ r.q12 = f6;
833
+ if (t12 === NONCONFORMING) { if (r.b12 !== undefined) p23(r.b12, c, d); } else {
834
+ dispose(r.b12);
835
+ r.b12 = undefined;
836
+ clearRegion(r.a18, r.e12);
837
+ if (t12) { r.b12 = m23(d); r.e12.before(r.b12.n); }
838
+ }
839
+ } else if (r.b12 !== undefined) p23(r.b12, c, d);
840
+ } else if (r.b12 !== undefined) p23(r.b12, c, d);
841
+ if (c & 1073742336) { const l = (checkReference(S, readDeclared(v[9], ["issues"]), ["l",["o",["message","s"]]], "expression:$validation.issues:validation.issues", "Reference `validation.issues` must satisfy list(object({ message: string })).") ? readMember(v[9], "issues") : NONCONFORMING); if (l !== NONCONFORMING) { r.L14.update(l, d, c); } }
842
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a4, r.e1, "start", J, false, undefined, d);
843
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m2(d); at.before(r.b1.n); } }
844
+ else if (r.b1 !== undefined) p2(r.b1, c, d);
845
+ if (r.f13 === undefined) { r.f13 = 1; const at = fillSlot(r.a19, r.e13, "footer", J, false, undefined, d);
846
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b13 = m25(d); at.before(r.b13.n); } }
847
+ else if (r.b13 !== undefined) p25(r.b13, c, d);
848
+ if (r.f15 === undefined) { r.f15 = 1; const at = fillSlot(r.a24, r.e15, "", J, false, undefined, d);
849
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b15 = m27(d); at.before(r.b15.n); } }
850
+ else if (r.b15 !== undefined) p27(r.b15, c, d);
851
+ };
852
+ const t0 = element.firstChild;
853
+ const t1 = t0.firstChild;
854
+ const t2 = t1.nextSibling;
855
+ const t3 = t0.nextSibling;
856
+ const t4 = t3.firstChild;
857
+ const t5 = t4.firstChild;
858
+ const t6 = t5.firstChild;
859
+ const t7 = t6.nextSibling.nextSibling;
860
+ const t8 = t7.nextSibling.nextSibling;
861
+ const t9 = t5.nextSibling;
862
+ const t10 = t9.nextSibling.nextSibling;
863
+ const t11 = t10.nextSibling.nextSibling;
864
+ const t12 = t11.nextSibling.nextSibling;
865
+ const t13 = t4.nextSibling;
866
+ const t14 = t3.nextSibling;
867
+ const t15 = t14.nextSibling.nextSibling;
868
+ const t16 = t15.firstChild;
869
+ const t17 = t16.firstChild;
870
+ const t18 = t17.nextSibling.nextSibling;
871
+ const t19 = t18.nextSibling.nextSibling;
872
+ const t20 = t19.nextSibling.nextSibling;
873
+ const t21 = t16.nextSibling;
874
+ const t22 = t15.nextSibling;
875
+ const t23 = t22.firstChild;
876
+ const t24 = t22.nextSibling;
877
+ const t25 = t24.firstChild;
878
+ const t26 = t24.nextSibling;
879
+ const t27 = t26.firstChild;
880
+ const R = { n: element, a0: t0, a1: t1, a6: t8, a13: t15, a14: t16, a20: t22, a22: t25, v0: null, v1: false, v2: "", v3: null, v4: null, v5: null, v6: null, v7: null, v8: undefined, v9: null, v10: null, v11: null, v12: null, v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, v19: "", v20: undefined, a2: t2, e0: t2.nextSibling, b0: undefined, a4: t6, e1: t6.nextSibling, b1: undefined, f1: undefined, a5: t7, e2: t7.nextSibling, b2: undefined, a7: t9, e3: t9.nextSibling, b3: undefined, a8: t10, e4: t10.nextSibling, b4: undefined, a9: t11, e5: t11.nextSibling, b5: undefined, a10: t12, e6: t12.nextSibling, b6: undefined, a11: t13, e7: t13.nextSibling, b7: undefined, a12: t14, e8: t14.nextSibling, b8: undefined, L9: new KeyedList(t17, t17.nextSibling, m13, p13, (o) => readMember(o, "name"), "group"), a16: t18, e10: t18.nextSibling, b10: undefined, a17: t19, e11: t19.nextSibling, b11: undefined, a18: t20, e12: t20.nextSibling, b12: undefined, q12: undefined, a19: t21, e13: t21.nextSibling, b13: undefined, f13: undefined, L14: new IndexedList(t23, t23.nextSibling, m26, p26, undefined, "issue"), a24: t27, e15: t27.nextSibling, b15: undefined, f15: undefined };
881
+ const I = { B };
882
+ const J = project(I, children, slots);
883
+ I.R = new Set();
884
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, C, undefined, I);
885
+ manageProps(I);
886
+ I.r["field"] = t4;
887
+ I.r["input"] = t8;
888
+ I.r["popup"] = t15;
889
+ I.r["listbox"] = t16;
890
+ I.r["options"] = t26;
294
891
  return element;
295
892
  }
296
-