@threadlabs/looma 0.52.10 → 0.52.12

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 (342) hide show
  1. package/components/ui-column/ui-column.html +63 -0
  2. package/components/ui-column/ui-column.js +16 -0
  3. package/components/ui-data-table/ui-data-table.html +137 -0
  4. package/components/ui-data-table/ui-data-table.js +69 -0
  5. package/dist/index.js +69 -67
  6. package/docs/catalog.json +417 -1
  7. package/editor/components.css +19 -19
  8. package/package.json +3 -3
  9. package/styles/ui-action-bar.css +1 -1
  10. package/styles/ui-affordance-scope.css +1 -1
  11. package/styles/ui-avatar-group.css +1 -1
  12. package/styles/ui-avatar.css +1 -1
  13. package/styles/ui-badge.css +1 -1
  14. package/styles/ui-breadcrumb-item.css +1 -1
  15. package/styles/ui-breadcrumbs.css +1 -1
  16. package/styles/ui-button.css +1 -1
  17. package/styles/ui-calendar.css +1 -1
  18. package/styles/ui-callout.css +1 -1
  19. package/styles/ui-card-group.css +1 -1
  20. package/styles/ui-card.css +1 -1
  21. package/styles/ui-checkbox.css +1 -1
  22. package/styles/ui-cluster.css +1 -1
  23. package/styles/ui-color-picker.css +1 -1
  24. package/styles/ui-column.css +65 -0
  25. package/styles/ui-combobox.css +1 -1
  26. package/styles/ui-compact-content.css +1 -1
  27. package/styles/ui-compact-editor.css +1 -1
  28. package/styles/ui-compact-mark.css +1 -1
  29. package/styles/ui-compact-node.css +1 -1
  30. package/styles/ui-container.css +1 -1
  31. package/styles/ui-context-menu.css +1 -1
  32. package/styles/ui-cover.css +1 -1
  33. package/styles/ui-curve-editor.css +1 -1
  34. package/styles/ui-cycle-button.css +1 -1
  35. package/styles/ui-data-table.css +125 -0
  36. package/styles/ui-date-field.css +1 -1
  37. package/styles/ui-date-picker.css +1 -1
  38. package/styles/ui-date-range-picker.css +1 -1
  39. package/styles/ui-description-item.css +1 -1
  40. package/styles/ui-description-list.css +1 -1
  41. package/styles/ui-dialog.css +1 -1
  42. package/styles/ui-disclosure.css +1 -1
  43. package/styles/ui-editable.css +1 -1
  44. package/styles/ui-editor-block-actions.css +1 -1
  45. package/styles/ui-editor-chip-editor.css +1 -1
  46. package/styles/ui-editor-code-language.css +1 -1
  47. package/styles/ui-editor-footnote-editor.css +1 -1
  48. package/styles/ui-editor-formatting-tools.css +1 -1
  49. package/styles/ui-editor-image-toolbar.css +1 -1
  50. package/styles/ui-editor-insert-table-grid.css +1 -1
  51. package/styles/ui-editor-link-card.css +1 -1
  52. package/styles/ui-editor-link-form.css +1 -1
  53. package/styles/ui-editor-mention-menu-item.css +1 -1
  54. package/styles/ui-editor-mention-menu.css +1 -1
  55. package/styles/ui-editor-slash-menu-group.css +1 -1
  56. package/styles/ui-editor-slash-menu-item.css +1 -1
  57. package/styles/ui-editor-slash-menu.css +1 -1
  58. package/styles/ui-editor-surface.css +1 -1
  59. package/styles/ui-editor-table-context-menu.css +1 -1
  60. package/styles/ui-editor-table-overlay.css +1 -1
  61. package/styles/ui-editor-table-toolbar.css +1 -1
  62. package/styles/ui-editor-toolbar.css +1 -1
  63. package/styles/ui-editor.css +1 -1
  64. package/styles/ui-file-input.css +1 -1
  65. package/styles/ui-floating-action-button.css +1 -1
  66. package/styles/ui-form-field.css +1 -1
  67. package/styles/ui-grid.css +1 -1
  68. package/styles/ui-icon-button.css +1 -1
  69. package/styles/ui-icon.css +1 -1
  70. package/styles/ui-image.css +1 -1
  71. package/styles/ui-input-group.css +1 -1
  72. package/styles/ui-input.css +1 -1
  73. package/styles/ui-light-editor.css +1 -1
  74. package/styles/ui-list-item.css +1 -1
  75. package/styles/ui-list.css +1 -1
  76. package/styles/ui-listbox.css +1 -1
  77. package/styles/ui-menu-group.css +1 -1
  78. package/styles/ui-menu-item.css +1 -1
  79. package/styles/ui-menu.css +1 -1
  80. package/styles/ui-meter.css +1 -1
  81. package/styles/ui-nav-item.css +1 -1
  82. package/styles/ui-notice-stripe.css +1 -1
  83. package/styles/ui-number-input.css +1 -1
  84. package/styles/ui-page-header.css +1 -1
  85. package/styles/ui-pagination.css +1 -1
  86. package/styles/ui-popover.css +1 -1
  87. package/styles/ui-radio-group.css +1 -1
  88. package/styles/ui-radio.css +1 -1
  89. package/styles/ui-reel.css +1 -1
  90. package/styles/ui-scroll-area.css +1 -1
  91. package/styles/ui-search-result-row.css +1 -1
  92. package/styles/ui-search-shell.css +1 -1
  93. package/styles/ui-section.css +1 -1
  94. package/styles/ui-segmented-control.css +1 -1
  95. package/styles/ui-select.css +1 -1
  96. package/styles/ui-separator.css +1 -1
  97. package/styles/ui-sidebar.css +1 -1
  98. package/styles/ui-site-header.css +1 -1
  99. package/styles/ui-skeleton.css +1 -1
  100. package/styles/ui-slider.css +1 -1
  101. package/styles/ui-spinner.css +1 -1
  102. package/styles/ui-stack.css +1 -1
  103. package/styles/ui-status-message.css +1 -1
  104. package/styles/ui-swatch.css +1 -1
  105. package/styles/ui-switch.css +1 -1
  106. package/styles/ui-switcher.css +1 -1
  107. package/styles/ui-table.css +1 -1
  108. package/styles/ui-tabs.css +1 -1
  109. package/styles/ui-text.css +1 -1
  110. package/styles/ui-textarea.css +1 -1
  111. package/styles/ui-time-field.css +1 -1
  112. package/styles/ui-time-picker.css +1 -1
  113. package/styles/ui-toast-region.css +1 -1
  114. package/styles/ui-toast.css +1 -1
  115. package/styles/ui-tooltip.css +1 -1
  116. package/styles/ui-top-bar.css +1 -1
  117. package/styles/ui-tree-item.css +1 -1
  118. package/styles/ui-tree.css +1 -1
  119. package/styles/ui-wizard.css +1 -1
  120. package/vanilla/UiActionBar.d.ts +1 -1
  121. package/vanilla/UiActionBar.js +1 -1
  122. package/vanilla/UiAffordanceScope.d.ts +1 -1
  123. package/vanilla/UiAffordanceScope.js +1 -1
  124. package/vanilla/UiAvatar.d.ts +1 -1
  125. package/vanilla/UiAvatar.js +1 -1
  126. package/vanilla/UiAvatarGroup.d.ts +1 -1
  127. package/vanilla/UiAvatarGroup.js +1 -1
  128. package/vanilla/UiBadge.d.ts +1 -1
  129. package/vanilla/UiBadge.js +1 -1
  130. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  131. package/vanilla/UiBreadcrumbItem.js +1 -1
  132. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  133. package/vanilla/UiBreadcrumbs.js +1 -1
  134. package/vanilla/UiButton.d.ts +1 -1
  135. package/vanilla/UiButton.js +1 -1
  136. package/vanilla/UiCalendar.d.ts +1 -1
  137. package/vanilla/UiCalendar.js +1 -1
  138. package/vanilla/UiCallout.d.ts +1 -1
  139. package/vanilla/UiCallout.js +1 -1
  140. package/vanilla/UiCard.d.ts +1 -1
  141. package/vanilla/UiCard.js +1 -1
  142. package/vanilla/UiCardGroup.d.ts +1 -1
  143. package/vanilla/UiCardGroup.js +1 -1
  144. package/vanilla/UiCheckbox.d.ts +1 -1
  145. package/vanilla/UiCheckbox.js +1 -1
  146. package/vanilla/UiCluster.d.ts +1 -1
  147. package/vanilla/UiCluster.js +1 -1
  148. package/vanilla/UiColorPicker.d.ts +1 -1
  149. package/vanilla/UiColorPicker.js +1 -1
  150. package/vanilla/UiColumn.d.ts +31 -0
  151. package/vanilla/UiColumn.js +62 -0
  152. package/vanilla/UiCombobox.d.ts +1 -1
  153. package/vanilla/UiCombobox.js +1 -1
  154. package/vanilla/UiCompactContent.d.ts +1 -1
  155. package/vanilla/UiCompactContent.js +1 -1
  156. package/vanilla/UiCompactEditor.d.ts +1 -1
  157. package/vanilla/UiCompactEditor.js +1 -1
  158. package/vanilla/UiCompactMark.d.ts +1 -1
  159. package/vanilla/UiCompactMark.js +1 -1
  160. package/vanilla/UiCompactNode.d.ts +1 -1
  161. package/vanilla/UiCompactNode.js +1 -1
  162. package/vanilla/UiContainer.d.ts +1 -1
  163. package/vanilla/UiContainer.js +1 -1
  164. package/vanilla/UiContextMenu.d.ts +1 -1
  165. package/vanilla/UiContextMenu.js +1 -1
  166. package/vanilla/UiCover.d.ts +1 -1
  167. package/vanilla/UiCover.js +1 -1
  168. package/vanilla/UiCurveEditor.d.ts +1 -1
  169. package/vanilla/UiCurveEditor.js +1 -1
  170. package/vanilla/UiCycleButton.d.ts +1 -1
  171. package/vanilla/UiCycleButton.js +1 -1
  172. package/vanilla/UiDataTable.d.ts +30 -0
  173. package/vanilla/UiDataTable.js +155 -0
  174. package/vanilla/UiDateField.d.ts +1 -1
  175. package/vanilla/UiDateField.js +1 -1
  176. package/vanilla/UiDatePicker.d.ts +1 -1
  177. package/vanilla/UiDatePicker.js +1 -1
  178. package/vanilla/UiDateRangePicker.d.ts +1 -1
  179. package/vanilla/UiDateRangePicker.js +1 -1
  180. package/vanilla/UiDescriptionItem.d.ts +1 -1
  181. package/vanilla/UiDescriptionItem.js +1 -1
  182. package/vanilla/UiDescriptionList.d.ts +1 -1
  183. package/vanilla/UiDescriptionList.js +1 -1
  184. package/vanilla/UiDialog.d.ts +1 -1
  185. package/vanilla/UiDialog.js +1 -1
  186. package/vanilla/UiDisclosure.d.ts +1 -1
  187. package/vanilla/UiDisclosure.js +1 -1
  188. package/vanilla/UiEditable.d.ts +1 -1
  189. package/vanilla/UiEditable.js +1 -1
  190. package/vanilla/UiEditor.d.ts +1 -1
  191. package/vanilla/UiEditor.js +1 -1
  192. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  193. package/vanilla/UiEditorBlockActions.js +1 -1
  194. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  195. package/vanilla/UiEditorChipEditor.js +1 -1
  196. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  197. package/vanilla/UiEditorCodeLanguage.js +1 -1
  198. package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
  199. package/vanilla/UiEditorFootnoteEditor.js +1 -1
  200. package/vanilla/UiEditorFormattingTools.d.ts +1 -1
  201. package/vanilla/UiEditorFormattingTools.js +1 -1
  202. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  203. package/vanilla/UiEditorImageToolbar.js +1 -1
  204. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  205. package/vanilla/UiEditorInsertTableGrid.js +1 -1
  206. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  207. package/vanilla/UiEditorLinkCard.js +1 -1
  208. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  209. package/vanilla/UiEditorLinkForm.js +1 -1
  210. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  211. package/vanilla/UiEditorMentionMenu.js +1 -1
  212. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  213. package/vanilla/UiEditorMentionMenuItem.js +1 -1
  214. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  215. package/vanilla/UiEditorSlashMenu.js +1 -1
  216. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  217. package/vanilla/UiEditorSlashMenuGroup.js +1 -1
  218. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  219. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  220. package/vanilla/UiEditorSurface.d.ts +1 -1
  221. package/vanilla/UiEditorSurface.js +1 -1
  222. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  223. package/vanilla/UiEditorTableContextMenu.js +1 -1
  224. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  225. package/vanilla/UiEditorTableOverlay.js +1 -1
  226. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  227. package/vanilla/UiEditorTableToolbar.js +1 -1
  228. package/vanilla/UiEditorToolbar.d.ts +1 -1
  229. package/vanilla/UiEditorToolbar.js +1 -1
  230. package/vanilla/UiFileInput.d.ts +1 -1
  231. package/vanilla/UiFileInput.js +1 -1
  232. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  233. package/vanilla/UiFloatingActionButton.js +1 -1
  234. package/vanilla/UiFormField.d.ts +1 -1
  235. package/vanilla/UiFormField.js +1 -1
  236. package/vanilla/UiGrid.d.ts +1 -1
  237. package/vanilla/UiGrid.js +1 -1
  238. package/vanilla/UiIcon.d.ts +1 -1
  239. package/vanilla/UiIcon.js +1 -1
  240. package/vanilla/UiIconButton.d.ts +1 -1
  241. package/vanilla/UiIconButton.js +1 -1
  242. package/vanilla/UiImage.d.ts +1 -1
  243. package/vanilla/UiImage.js +1 -1
  244. package/vanilla/UiInput.d.ts +1 -1
  245. package/vanilla/UiInput.js +1 -1
  246. package/vanilla/UiInputGroup.d.ts +1 -1
  247. package/vanilla/UiInputGroup.js +1 -1
  248. package/vanilla/UiLightEditor.d.ts +1 -1
  249. package/vanilla/UiLightEditor.js +1 -1
  250. package/vanilla/UiList.d.ts +1 -1
  251. package/vanilla/UiList.js +1 -1
  252. package/vanilla/UiListItem.d.ts +1 -1
  253. package/vanilla/UiListItem.js +1 -1
  254. package/vanilla/UiListbox.d.ts +1 -1
  255. package/vanilla/UiListbox.js +1 -1
  256. package/vanilla/UiMenu.d.ts +1 -1
  257. package/vanilla/UiMenu.js +1 -1
  258. package/vanilla/UiMenuGroup.d.ts +1 -1
  259. package/vanilla/UiMenuGroup.js +1 -1
  260. package/vanilla/UiMenuItem.d.ts +1 -1
  261. package/vanilla/UiMenuItem.js +1 -1
  262. package/vanilla/UiMeter.d.ts +1 -1
  263. package/vanilla/UiMeter.js +1 -1
  264. package/vanilla/UiNavItem.d.ts +1 -1
  265. package/vanilla/UiNavItem.js +1 -1
  266. package/vanilla/UiNoticeStripe.d.ts +1 -1
  267. package/vanilla/UiNoticeStripe.js +1 -1
  268. package/vanilla/UiNumberInput.d.ts +1 -1
  269. package/vanilla/UiNumberInput.js +1 -1
  270. package/vanilla/UiPageHeader.d.ts +1 -1
  271. package/vanilla/UiPageHeader.js +1 -1
  272. package/vanilla/UiPagination.d.ts +1 -1
  273. package/vanilla/UiPagination.js +1 -1
  274. package/vanilla/UiPopover.d.ts +1 -1
  275. package/vanilla/UiPopover.js +1 -1
  276. package/vanilla/UiRadio.d.ts +1 -1
  277. package/vanilla/UiRadio.js +1 -1
  278. package/vanilla/UiRadioGroup.d.ts +1 -1
  279. package/vanilla/UiRadioGroup.js +1 -1
  280. package/vanilla/UiReel.d.ts +1 -1
  281. package/vanilla/UiReel.js +1 -1
  282. package/vanilla/UiScrollArea.d.ts +1 -1
  283. package/vanilla/UiScrollArea.js +1 -1
  284. package/vanilla/UiSearchResultRow.d.ts +1 -1
  285. package/vanilla/UiSearchResultRow.js +1 -1
  286. package/vanilla/UiSearchShell.d.ts +1 -1
  287. package/vanilla/UiSearchShell.js +1 -1
  288. package/vanilla/UiSection.d.ts +1 -1
  289. package/vanilla/UiSection.js +1 -1
  290. package/vanilla/UiSegmentedControl.d.ts +1 -1
  291. package/vanilla/UiSegmentedControl.js +1 -1
  292. package/vanilla/UiSelect.d.ts +1 -1
  293. package/vanilla/UiSelect.js +1 -1
  294. package/vanilla/UiSeparator.d.ts +1 -1
  295. package/vanilla/UiSeparator.js +1 -1
  296. package/vanilla/UiSidebar.d.ts +1 -1
  297. package/vanilla/UiSidebar.js +1 -1
  298. package/vanilla/UiSiteHeader.d.ts +1 -1
  299. package/vanilla/UiSiteHeader.js +1 -1
  300. package/vanilla/UiSkeleton.d.ts +1 -1
  301. package/vanilla/UiSkeleton.js +1 -1
  302. package/vanilla/UiSlider.d.ts +1 -1
  303. package/vanilla/UiSlider.js +1 -1
  304. package/vanilla/UiSpinner.d.ts +1 -1
  305. package/vanilla/UiSpinner.js +1 -1
  306. package/vanilla/UiStack.d.ts +1 -1
  307. package/vanilla/UiStack.js +1 -1
  308. package/vanilla/UiStatusMessage.d.ts +1 -1
  309. package/vanilla/UiStatusMessage.js +1 -1
  310. package/vanilla/UiSwatch.d.ts +1 -1
  311. package/vanilla/UiSwatch.js +1 -1
  312. package/vanilla/UiSwitch.d.ts +1 -1
  313. package/vanilla/UiSwitch.js +1 -1
  314. package/vanilla/UiSwitcher.d.ts +1 -1
  315. package/vanilla/UiSwitcher.js +1 -1
  316. package/vanilla/UiTable.d.ts +1 -1
  317. package/vanilla/UiTable.js +1 -1
  318. package/vanilla/UiTabs.d.ts +1 -1
  319. package/vanilla/UiTabs.js +1 -1
  320. package/vanilla/UiText.d.ts +1 -1
  321. package/vanilla/UiText.js +1 -1
  322. package/vanilla/UiTextarea.d.ts +1 -1
  323. package/vanilla/UiTextarea.js +1 -1
  324. package/vanilla/UiTimeField.d.ts +1 -1
  325. package/vanilla/UiTimeField.js +1 -1
  326. package/vanilla/UiTimePicker.d.ts +1 -1
  327. package/vanilla/UiTimePicker.js +1 -1
  328. package/vanilla/UiToast.d.ts +1 -1
  329. package/vanilla/UiToast.js +1 -1
  330. package/vanilla/UiToastRegion.d.ts +1 -1
  331. package/vanilla/UiToastRegion.js +1 -1
  332. package/vanilla/UiTooltip.d.ts +1 -1
  333. package/vanilla/UiTooltip.js +1 -1
  334. package/vanilla/UiTopBar.d.ts +1 -1
  335. package/vanilla/UiTopBar.js +1 -1
  336. package/vanilla/UiTree.d.ts +1 -1
  337. package/vanilla/UiTree.js +1 -1
  338. package/vanilla/UiTreeItem.d.ts +1 -1
  339. package/vanilla/UiTreeItem.js +1 -1
  340. package/vanilla/UiWizard.d.ts +1 -1
  341. package/vanilla/UiWizard.js +1 -1
  342. package/vanilla/index.js +2 -0
@@ -0,0 +1,62 @@
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, toText, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
+ import * as controller from "../components/ui-column/ui-column.js";
4
+ import "../styles/ui-column.css";
5
+
6
+ const T0 = ["",[],4];
7
+ const T1 = ["",[],0];
8
+ let P0, P1;
9
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-column", a: (host, I) => C(host, I), b: generatedInputs };
10
+ const D = { g: "ui-column", props: { "align": { "required":false,"values":["start","center","end"],"default":"start", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "field": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "frozen": { "required":false,"values":["none","start","end"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "header": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "width": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
11
+ const C = (host) => activateModule(controller, host);
12
+
13
+ export function createUiColumn(options = {}, html) {
14
+ const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
15
+ const element = document.createElement("th");
16
+ for (const [name, value] of Object.entries(attributes)) {
17
+ if (value === null || value === undefined || value === false) continue;
18
+ element.setAttribute(name, value === true ? "" : String(value));
19
+ }
20
+ if (!element.hasAttribute("scope")) element.setAttribute("scope", "col");
21
+ element.setAttribute("component", "ui-column");
22
+ element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
23
+ const v = [null, null, null, null, null];
24
+ const B = acceptProps(element, D, S.n, v, componentProps, [], html);
25
+ const m1 = (d) => {
26
+ const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
27
+ const t0 = n.firstChild;
28
+ const r = { n, a0: t0, v0: "" };
29
+ p1(r, -1, d);
30
+ return r;
31
+ };
32
+ const p1 = (r, c, d) => {
33
+ if (c & 8) {
34
+ const x0 = v[3];
35
+ const s0 = toText(x0);
36
+ if (s0 !== r.v0) r.a0.data = r.v0 = s0;
37
+ }
38
+ };
39
+ const p0 = (r, c, d) => {
40
+ if (c & 16) {
41
+ const x0 = v[4];
42
+ const s0 = toText(x0);
43
+ if (s0 !== r.v0) r.n.style.setProperty("--_width", r.v0 = s0);
44
+ }
45
+ if (c & 5) {
46
+ const x1 = hostState(["align","frozen"], [v[0], v[2]]);
47
+ const s1 = x1;
48
+ if (s1 !== r.v1) writeAttribute(r.n, "data-ui-column-state", (r.v1 = s1) === "" ? null : s1);
49
+ }
50
+ if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a1, r.e0, "header", J, true, undefined, d);
51
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
52
+ else if (r.b0 !== undefined) p1(r.b0, c, d);
53
+ };
54
+ const t0 = element.firstChild;
55
+ const R = { n: element, v0: undefined, v1: undefined, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
56
+ const I = { B };
57
+ const J = project(I, children, slots);
58
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
59
+ manageProps(I);
60
+ return element;
61
+ }
62
+ defineComponent("ui-column", createUiColumn, ["align","field","frozen","header","width"]);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiComboboxEventMap {
3
3
  "query-change": CustomEvent<{ readonly query: string; readonly display: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  "value-change": CustomEvent<{ readonly value?: string | null; readonly query: string; readonly option?: { readonly id: string; readonly value: string; readonly label: string; readonly group?: string | null; readonly disabled?: boolean | null; readonly description?: string | null; readonly tag?: { readonly label: string; readonly tone?: "neutral" | "accent" | "info" | "success" | "warning" | "danger" | null; readonly color?: string | null } | null } | null; readonly kind: "selection" | "clear" | "free-entry" | "create"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readDeclared, readIndex, readMember, readsChanged, rec, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeText, dispatchDeclared, detailCheck, plainObject, dispose, IndexedList, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, ABSENT, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, checkUnknown, warnOnce, defineComponent, activateModule } 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";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiCompactContentEventMap {
3
3
  }
4
4
  export interface UiCompactContentElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, readMember, toAttribute, trackContainer, writeAttribute, IndexedList, acceptProps, manageProps, generatedInputs, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-compact-content/ui-compact-content.js";
4
4
  import "../styles/ui-compact-content.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import type { RequestEvent } from "@nextwebwg/html-next/generated-runtime";
3
3
  export interface UiCompactEditorEventMap {
4
4
  change: CustomEvent<{ readonly content: { readonly type: string; readonly [name: string]: unknown } }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, clearRegion, toAttribute, writeAttribute, dispatchDeclared, detailCheck, acceptProps, manageProps, generatedInputs, checkBoolean, checkObject, checkString, requestHost, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-compact-editor/ui-compact-editor.js";
4
4
  import "../styles/ui-compact-editor.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiCompactMarkEventMap {
3
3
  }
4
4
  export interface UiCompactMarkElement extends HTMLElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, binaryValue, buildTemplate, clearRegion, readIndex, readMember, toAttribute, toText, truthy, writeAttribute, dispose, acceptProps, manageProps, generatedInputs, armElement, replaceRoot, checkInteger, checkList, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-compact-mark.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiCompactNodeEventMap {
3
3
  }
4
4
  export interface UiCompactNodeElement extends HTMLElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, binaryValue, buildTemplate, defaultValue, readMember, toAttribute, trackContainer, writeAttribute, dispose, IndexedList, acceptProps, manageProps, generatedInputs, armElement, replaceRoot, checkObject, checkString, defineComponent, subtract } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-compact-node.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiContainerEventMap {
3
3
  }
4
4
  export interface UiContainerElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-container.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiContextMenuEventMap {
3
3
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, dispatchDeclared, detailCheck, dispose, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-context-menu/ui-context-menu.js";
4
4
  import "../styles/ui-context-menu.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiCoverEventMap {
3
3
  }
4
4
  export interface UiCoverElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-cover.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiCurveEditorEventMap {
3
3
  input: CustomEvent<{ readonly value: string }>;
4
4
  change: CustomEvent<{ readonly value: string }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, toText, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-curve-editor/ui-curve-editor.js";
4
4
  import "../styles/ui-curve-editor.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiCycleButtonEventMap {
3
3
  change: CustomEvent<{ readonly value: string; readonly index: number }>;
4
4
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate, checkReference, defaultValue, NONCONFORMING, readDeclared, readFailing, readIndex, readMember, textCall, toAttribute, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, inputDefault, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, ABSENT, readonlyView, checkBoolean, checkFormat, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-cycle-button/ui-cycle-button.js";
4
4
  import "../styles/ui-cycle-button.css";
@@ -0,0 +1,30 @@
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
+ export interface UiDataTableEventMap {
3
+ }
4
+ export interface UiDataTableElement extends HTMLDivElement {
5
+ addEventListener<K extends keyof UiDataTableEventMap>(type: K, listener: (this: UiDataTableElement, event: UiDataTableEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiDataTableElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
8
+ removeEventListener<K extends keyof UiDataTableEventMap>(type: K, listener: (this: UiDataTableElement, event: UiDataTableEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiDataTableElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
11
+ }
12
+ export interface UiDataTableProps {
13
+ caption?: string | null;
14
+ density?: "comfortable" | "compact" | null;
15
+ frozenRows?: number | null;
16
+ rowKey?: string | null;
17
+ rows?: readonly ({ readonly [name: string]: unknown })[] | null;
18
+ attributes?: Readonly<Record<string, string | number | boolean | null | undefined>>;
19
+ children?: readonly (string | Node)[];
20
+ slots?: Readonly<Record<string, readonly (string | Node)[]>>;
21
+ }
22
+ export interface UiDataTableSlots {
23
+ readonly default: { };
24
+ }
25
+ export declare function createUiDataTable(props?: UiDataTableProps): UiDataTableElement;
26
+ declare global {
27
+ interface ComponentTagMap {
28
+ "ui-data-table": { element: UiDataTableElement; props: Omit<UiDataTableProps, "attributes" | "children" | "slots">; slots: UiDataTableSlots };
29
+ }
30
+ }
@@ -0,0 +1,155 @@
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, binaryValue, buildTemplate, clearRegion, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, plainObject, dispose, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, READY_INPUT, UNRESOLVED_INPUT, project, fillSlot, ABSENT, readonlyView, checkFormat, checkInteger, checkList, checkObject, checkString, warnOnce, childList, childOutlet, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
+ import * as controller from "../components/ui-data-table/ui-data-table.js";
4
+ import "../styles/ui-data-table.css";
5
+
6
+ const T0 = ["",[],"\n ",["table",[],1,["thead",[],["tr",[],4]],["tbody",[],2]],"\n "];
7
+ const T1 = ["caption",[],0];
8
+ const T2 = ["",[]];
9
+ const T3 = ["tr",[],2];
10
+ const T4 = ["td",[],"\n ",4,"\n "];
11
+ const T5 = ["",[],0];
12
+ const K0 = (v0) => (plainObject(v0));
13
+ const OP0 = { "ui-column": (s) => { const t = {}; if ("row" in s) { const y = s["row"]; t["row"] = (y != null && y !== ABSENT && (K0(y) || (warnOnce(S, "slot:cell:row", "Slot `cell` prop `row` does not satisfy its declared type `object({ ... })`."), false)) ? y : null); } return t; } };
14
+ const OF = {"ui-column":[["header"],["cell"],["header","cell"],"`header` and `cell`"]};
15
+ let P0, P1, P2, P3, P4, P5;
16
+ const emptyDirty = new Map();
17
+ const S = { n: ["columns"], t: ["?"], f: import.meta.url, g: "ui-data-table", k: 0, r: readonlyView, a: (host, I) => C(host, I), b: generatedInputs };
18
+ const D = { g: "ui-data-table", props: { "caption": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "frozenRows": { "required":false,"default":0, c: checkInteger, t: "integer", j: 0, m: "i" }, "rowKey": { "required":false,"default":"id", c: checkString, t: "string", j: 0, m: "s" }, "rows": { "required":false,"default":[], c: checkList(checkObject([], true)), j: 1, m: ["l",["o",[],1]] } } };
19
+ const C = (host) => activateModule(controller, host);
20
+
21
+ export function createUiDataTable(options = {}, html) {
22
+ const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
23
+ const element = document.createElement("div");
24
+ for (const [name, value] of Object.entries(attributes)) {
25
+ if (value === null || value === undefined || value === false) continue;
26
+ element.setAttribute(name, value === true ? "" : String(value));
27
+ }
28
+ element.setAttribute("component", "ui-data-table");
29
+ element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
30
+ const v = [null, null, null, null, null, null];
31
+ const B = acceptProps(element, D, S.n, v, componentProps, [], html);
32
+ const CS = [];
33
+ const inputStatus = (j) => { if (j === 1) return awaitInput(B, "caption", true); if (j === 2) return awaitInput(B, "density", true); if (j === 3) return awaitInput(B, "frozenRows", true); if (j === 4) return awaitInput(B, "rowKey", true); if (j === 5) return awaitInput(B, "rows", true); return v[j] === undefined ? UNRESOLVED_INPUT : READY_INPUT; };
34
+ const X = { e: 0, g: (j) => v[j], w: new Set(), a: CS, i: inputStatus };
35
+ const m1 = (d) => {
36
+ const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
37
+ const t0 = n.firstChild;
38
+ const r = { n, a0: t0, v0: "" };
39
+ p1(r, -1, d);
40
+ return r;
41
+ };
42
+ const p1 = (r, c, d) => {
43
+ if (c & 2) {
44
+ const x0 = v[1];
45
+ const s0 = toText(x0);
46
+ if (s0 !== r.v0) r.a0.data = r.v0 = s0;
47
+ }
48
+ };
49
+ const m2 = (d) => {
50
+ const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
51
+ const r = { n };
52
+ p2(r, -1, d);
53
+ return r;
54
+ };
55
+ const p2 = (r, c, d) => {
56
+ };
57
+ const m3 = (o, j, l) => {
58
+ const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
59
+ const t0 = n.firstChild;
60
+ const r = { k: undefined, i: o, n, x: 0, y: 0, j, l, v0: false, v1: undefined, L0: new PositionalList(t0, t0.nextSibling, m4, p4, (o) => o, "column") };
61
+ r.L0.u = r;
62
+ r.z = [() => { for (const row of r.L0.r) dispose(row); }];
63
+ p3(r, -1, emptyDirty);
64
+ return r;
65
+ };
66
+ const p3 = (r, c, d) => {
67
+ const o = r.i;
68
+ if (c & -1073741816) {
69
+ const x0 = binaryValue("<", r.j, v[3]);
70
+ const s0 = truthy(x0);
71
+ if (s0 !== r.v0) r.n.classList.toggle("frozen", r.v0 = s0);
72
+ }
73
+ if (c & -1073741824) {
74
+ const x1 = textCall("concat", ["var(--_ui-row-", r.j, ", 0)"]);
75
+ if (x1 !== NONCONFORMING) {
76
+ const s1 = toText(x1);
77
+ if (s1 !== r.v1) r.n.style.setProperty("--_ui-top", r.v1 = s1);
78
+ }
79
+ }
80
+ if (c & 1073741825) r.L0.update(v[0], d, c);
81
+ if (c !== -1 && c & 1073741825) r.L0.each(c, d);
82
+ };
83
+ const m4 = (o, j, l, u) => {
84
+ const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
85
+ const t0 = n.firstChild.nextSibling;
86
+ const r = { k: undefined, i: o, n, x: 0, y: 0, j, l, u, w: 0, v0: null, v1: null, v2: undefined, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
87
+ p4(r, -1, emptyDirty);
88
+ return r;
89
+ };
90
+ const p4 = (r, c, d) => {
91
+ const o = r.i;
92
+ if (c & 1073741824) {
93
+ r.w = 0;
94
+ const x0 = trackContainer(r, readMember(o, "align"));
95
+ const s0 = toAttribute(x0, "data-ui-align");
96
+ if (s0 !== r.v0) writeAttribute(r.n, "data-ui-align", r.v0 = s0);
97
+ const x1 = trackContainer(r, readMember(o, "frozen"));
98
+ const s1 = toAttribute(x1, "data-ui-frozen");
99
+ if (s1 !== r.v1) writeAttribute(r.n, "data-ui-frozen", r.v1 = s1);
100
+ }
101
+ if (c & -1073741824) {
102
+ const x2 = textCall("concat", ["var(--_ui-col-", r.j, ", 0)"]);
103
+ if (x2 !== NONCONFORMING) {
104
+ const s2 = toText(x2);
105
+ if (s2 !== r.v2) r.n.style.setProperty("--_ui-side", r.v2 = s2);
106
+ }
107
+ }
108
+ if (r.f0 === undefined) r.f0 = childOutlet(r, r.a1, r.e0, "cell", OF, S, (d, at) => m5(d, undefined, r), p5, true, OP0);
109
+ r.f0(trackContainer(r, o), v[0], { "row": trackContainer(r, r.u.i) }, c, d);
110
+ };
111
+ const m5 = (d, o, u) => {
112
+ const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
113
+ const t0 = n.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, readIndex(r.u.u.i, readMember(r.u.i, "field")));
122
+ const s0 = toText(x0);
123
+ if (s0 !== r.v0) r.a0.data = r.v0 = s0;
124
+ }
125
+ };
126
+ const p0 = (r, c, d) => {
127
+ if (c & 4) {
128
+ const x0 = hostState(["density"], [v[2]]);
129
+ const s0 = x0;
130
+ if (s0 !== r.v0) writeAttribute(r.n, "data-ui-data-table-state", (r.v0 = s0) === "" ? null : s0);
131
+ }
132
+ if (c & 2 && !(truthy(v[1])) !== !r.b0) {
133
+ if (r.b0) { r.b0 = undefined; clearRegion(r.a0, r.e0); }
134
+ else { r.b0 = m1(d); r.e0.before(r.b0.n); }
135
+ } else if (r.b0 !== undefined) p1(r.b0, c, d);
136
+ if (c & 1073741872) { const l = v[5]; { if (c === -1 || (c & 16) !== 0) r.L2.set(l, d, true); else r.L2.update(l, d, c); } }
137
+ if (c !== -1 && c & 9) r.L2.each(c, d);
138
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "", J, false, undefined, d);
139
+ 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); } }
140
+ else if (r.b1 !== undefined) p2(r.b1, c, d);
141
+ };
142
+ const t0 = element.firstChild.nextSibling;
143
+ const t1 = t0.firstChild;
144
+ const t2 = t1.nextSibling.nextSibling;
145
+ const t3 = t2.firstChild.firstChild;
146
+ const t4 = t2.nextSibling.firstChild;
147
+ const R = { n: element, v0: undefined, a0: t1, e0: t1.nextSibling, b0: undefined, a1: t3, e1: t3.nextSibling, b1: undefined, f1: undefined, L2: new PositionalList(t4, t4.nextSibling, m3, p3, (o) => readIndex(o, v[4]), "row") };
148
+ const I = { B };
149
+ const J = project(I, children, slots);
150
+ const L0 = childList(I, S, v, 0, J, "", ["ui-column"], "`ui-data-table`'s default slot", "`ui-column`");
151
+ attachGeneratedController(element, S, v, ((c, d) => { c |= L0(c, d); ((c, d) => p0(R, c, d))(c, d); }), undefined, X, I);
152
+ manageProps(I);
153
+ return element;
154
+ }
155
+ defineComponent("ui-data-table", createUiDataTable, ["caption","density","frozenRows","rowKey","rows"]);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiDateFieldEventMap {
3
3
  input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  change: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate, checkReference, NONCONFORMING, readIndex, readMember, recordValue, textCall, toAttribute, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-date-field/ui-date-field.js";
4
4
  import "../styles/ui-date-field.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiDatePickerEventMap {
3
3
  input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  change: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, stateInitializers, buildTemplate, checkReference, NONCONFORMING, readDeclared, readIndex, readMember, recordValue, textCall, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, boundFailures, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-date-picker/ui-date-picker.js";
4
4
  import "../styles/ui-date-picker.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiDateRangePickerEventMap {
3
3
  input: CustomEvent<{ readonly value: { readonly start: string; readonly end: string }; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  change: CustomEvent<{ readonly value: { readonly start: string; readonly end: string }; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate, checkReference, logicValue, NONCONFORMING, readDeclared, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, truthyValue, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, RangedKeyedList, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, boundFailures, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-date-range-picker/ui-date-range-picker.js";
4
4
  import "../styles/ui-date-range-picker.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiDescriptionItemEventMap {
3
3
  }
4
4
  export interface UiDescriptionItemElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toText, dispose, acceptProps, manageProps, generatedInputs, project, fillSlot, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-description-item.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiDescriptionListEventMap {
3
3
  }
4
4
  export interface UiDescriptionListElement extends HTMLDListElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-description-list.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiDialogEventMap {
3
3
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, clearRegion, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-dialog/ui-dialog.js";
4
4
  import "../styles/ui-dialog.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiDisclosureEventMap {
3
3
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, toText, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-disclosure/ui-disclosure.js";
4
4
  import "../styles/ui-disclosure.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditableEventMap {
3
3
  input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  change: CustomEvent<{ readonly value: string; readonly previousValue: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, clearRegion, readsChanged, rec, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editable/ui-editable.js";
4
4
  import "../styles/ui-editable.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import type { RequestEvent } from "@nextwebwg/html-next/generated-runtime";
3
3
  export interface UiEditorEventMap {
4
4
  change: CustomEvent<{ readonly content: { readonly type: string; readonly [name: string]: unknown } }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, plainObject, dispose, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, RangedIndexedList, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, checkUnknown, requestHost, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor/ui-editor.js";
4
4
  import "../styles/ui-editor.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorBlockActionsEventMap {
3
3
  action: CustomEvent<{ readonly action: "insert-below" | "duplicate" | "delete" }>;
4
4
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-block-actions/ui-editor-block-actions.js";
4
4
  import "../styles/ui-editor-block-actions.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorChipEditorEventMap {
3
3
  label: CustomEvent<{ readonly label: string }>;
4
4
  color: CustomEvent<{ readonly color: "neutral" | "blue" | "green" | "yellow" | "red" | "purple" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-chip-editor/ui-editor-chip-editor.js";
4
4
  import "../styles/ui-editor-chip-editor.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorCodeLanguageEventMap {
3
3
  language: CustomEvent<{ readonly value: string }>;
4
4
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, KeyedList, readMember, toAttribute, toText, trackContainer, writeAttribute, dispatchDeclared, detailCheck, acceptProps, manageProps, generatedInputs, checkList, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-code-language/ui-editor-code-language.js";
4
4
  import "../styles/ui-editor-code-language.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorFootnoteEditorEventMap {
3
3
  text: CustomEvent<{ readonly text: string }>;
4
4
  done: CustomEvent<Readonly<Record<string, unknown>>>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, acceptProps, manageProps, generatedInputs, project, fillSlot, checkObject, checkRecord, checkString, checkUnknown, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-footnote-editor/ui-editor-footnote-editor.js";
4
4
  import "../styles/ui-editor-footnote-editor.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.90 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorFormattingToolsEventMap {
3
3
  "tool-action": CustomEvent<{ readonly id: string }>;
4
4
  "tool-focus": CustomEvent<{ readonly id: string }>;