@threadlabs/looma 0.30.9 → 0.31.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 (244) hide show
  1. package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
  2. package/components/ui-affordance-scope/ui-affordance-scope.js +1 -6
  3. package/components/ui-avatar/ui-avatar.html +1 -1
  4. package/components/ui-avatar/ui-avatar.js +1 -6
  5. package/components/ui-avatar-group/ui-avatar-group.html +1 -1
  6. package/components/ui-avatar-group/ui-avatar-group.js +1 -6
  7. package/components/ui-button/ui-button.html +1 -1
  8. package/components/ui-button/ui-button.js +1 -6
  9. package/components/ui-checkbox/ui-checkbox.html +1 -1
  10. package/components/ui-checkbox/ui-checkbox.js +1 -6
  11. package/components/ui-combobox/ui-combobox.html +1 -1
  12. package/components/ui-combobox/ui-combobox.js +1 -6
  13. package/components/ui-context-menu/ui-context-menu.html +1 -1
  14. package/components/ui-context-menu/ui-context-menu.js +1 -6
  15. package/components/ui-dialog/ui-dialog.html +1 -1
  16. package/components/ui-dialog/ui-dialog.js +1 -6
  17. package/components/ui-disclosure/ui-disclosure.html +1 -1
  18. package/components/ui-disclosure/ui-disclosure.js +1 -6
  19. package/components/ui-editable/ui-editable.html +1 -1
  20. package/components/ui-editable/ui-editable.js +1 -6
  21. package/components/ui-editor-block-actions/ui-editor-block-actions.html +1 -1
  22. package/components/ui-editor-block-actions/ui-editor-block-actions.js +1 -6
  23. package/components/ui-editor-chip-editor/ui-editor-chip-editor.html +1 -1
  24. package/components/ui-editor-chip-editor/ui-editor-chip-editor.js +1 -6
  25. package/components/ui-editor-code-language/ui-editor-code-language.html +1 -1
  26. package/components/ui-editor-code-language/ui-editor-code-language.js +1 -6
  27. package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.html +1 -1
  28. package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.js +1 -6
  29. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +1 -1
  30. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +1 -6
  31. package/components/ui-editor-link-card/ui-editor-link-card.html +1 -1
  32. package/components/ui-editor-link-card/ui-editor-link-card.js +1 -6
  33. package/components/ui-editor-link-form/ui-editor-link-form.html +1 -1
  34. package/components/ui-editor-link-form/ui-editor-link-form.js +1 -6
  35. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +1 -1
  36. package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +1 -6
  37. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +1 -1
  38. package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +1 -6
  39. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
  40. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +1 -6
  41. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +1 -1
  42. package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +1 -6
  43. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +1 -1
  44. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +1 -6
  45. package/components/ui-editor-toolbar/ui-editor-toolbar.html +1 -1
  46. package/components/ui-editor-toolbar/ui-editor-toolbar.js +1 -6
  47. package/components/ui-form-field/ui-form-field.html +1 -1
  48. package/components/ui-form-field/ui-form-field.js +1 -6
  49. package/components/ui-icon-button/ui-icon-button.html +1 -1
  50. package/components/ui-icon-button/ui-icon-button.js +1 -6
  51. package/components/ui-image/ui-image.html +1 -1
  52. package/components/ui-image/ui-image.js +1 -6
  53. package/components/ui-input/ui-input.html +1 -1
  54. package/components/ui-input/ui-input.js +1 -6
  55. package/components/ui-input-group/ui-input-group.html +1 -1
  56. package/components/ui-input-group/ui-input-group.js +1 -6
  57. package/components/ui-listbox/ui-listbox.html +1 -1
  58. package/components/ui-listbox/ui-listbox.js +1 -6
  59. package/components/ui-menu/ui-menu.html +1 -1
  60. package/components/ui-menu/ui-menu.js +1 -6
  61. package/components/ui-menu-item/ui-menu-item.html +1 -1
  62. package/components/ui-menu-item/ui-menu-item.js +1 -6
  63. package/components/ui-popover/ui-popover.html +1 -1
  64. package/components/ui-popover/ui-popover.js +1 -6
  65. package/components/ui-radio/ui-radio.html +1 -1
  66. package/components/ui-radio/ui-radio.js +1 -6
  67. package/components/ui-radio-group/ui-radio-group.html +1 -1
  68. package/components/ui-radio-group/ui-radio-group.js +1 -6
  69. package/components/ui-scroll-area/ui-scroll-area.html +1 -1
  70. package/components/ui-scroll-area/ui-scroll-area.js +1 -6
  71. package/components/ui-search-shell/ui-search-shell.html +1 -1
  72. package/components/ui-search-shell/ui-search-shell.js +1 -6
  73. package/components/ui-select/ui-select.html +1 -1
  74. package/components/ui-select/ui-select.js +1 -6
  75. package/components/ui-sidebar/ui-sidebar.html +1 -1
  76. package/components/ui-sidebar/ui-sidebar.js +1 -6
  77. package/components/ui-switch/ui-switch.html +1 -1
  78. package/components/ui-switch/ui-switch.js +1 -6
  79. package/components/ui-switcher/ui-switcher.html +1 -1
  80. package/components/ui-switcher/ui-switcher.js +1 -6
  81. package/components/ui-table/ui-table.html +1 -1
  82. package/components/ui-table/ui-table.js +1 -6
  83. package/components/ui-tabs/ui-tabs.html +1 -1
  84. package/components/ui-tabs/ui-tabs.js +1 -6
  85. package/components/ui-textarea/ui-textarea.html +1 -1
  86. package/components/ui-textarea/ui-textarea.js +1 -6
  87. package/components/ui-toast/ui-toast.html +1 -1
  88. package/components/ui-toast/ui-toast.js +1 -6
  89. package/components/ui-toast-region/ui-toast-region.html +1 -1
  90. package/components/ui-toast-region/ui-toast-region.js +1 -6
  91. package/components/ui-tooltip/ui-tooltip.html +1 -1
  92. package/components/ui-tooltip/ui-tooltip.js +1 -6
  93. package/components/ui-tree/ui-tree.html +1 -1
  94. package/components/ui-tree/ui-tree.js +1 -6
  95. package/components/ui-tree-item/ui-tree-item.html +1 -1
  96. package/components/ui-tree-item/ui-tree-item.js +1 -6
  97. package/dist/index.js +1 -1
  98. package/package.json +1 -1
  99. package/vanilla/UiAffordanceScope.js +4 -4
  100. package/vanilla/UiAvatar.js +4 -4
  101. package/vanilla/UiAvatarGroup.js +4 -4
  102. package/vanilla/UiButton.js +4 -4
  103. package/vanilla/UiCheckbox.js +4 -4
  104. package/vanilla/UiCombobox.js +4 -4
  105. package/vanilla/UiContextMenu.js +4 -4
  106. package/vanilla/UiDialog.js +4 -4
  107. package/vanilla/UiDisclosure.js +4 -4
  108. package/vanilla/UiEditable.js +4 -4
  109. package/vanilla/UiEditorBlockActions.js +4 -4
  110. package/vanilla/UiEditorChipEditor.js +4 -4
  111. package/vanilla/UiEditorCodeLanguage.js +4 -4
  112. package/vanilla/UiEditorImageToolbar.js +4 -4
  113. package/vanilla/UiEditorInsertTableGrid.js +4 -4
  114. package/vanilla/UiEditorLinkCard.js +4 -4
  115. package/vanilla/UiEditorLinkForm.js +4 -4
  116. package/vanilla/UiEditorMentionMenu.js +4 -4
  117. package/vanilla/UiEditorSlashMenu.js +4 -4
  118. package/vanilla/UiEditorTableContextMenu.js +4 -4
  119. package/vanilla/UiEditorTableOverlay.js +4 -4
  120. package/vanilla/UiEditorTableToolbar.js +4 -4
  121. package/vanilla/UiEditorToolbar.js +4 -4
  122. package/vanilla/UiFormField.js +4 -4
  123. package/vanilla/UiIconButton.js +4 -4
  124. package/vanilla/UiImage.js +4 -4
  125. package/vanilla/UiInput.js +4 -4
  126. package/vanilla/UiInputGroup.js +4 -4
  127. package/vanilla/UiListbox.js +4 -4
  128. package/vanilla/UiMenu.js +4 -4
  129. package/vanilla/UiMenuItem.js +4 -4
  130. package/vanilla/UiPopover.js +4 -4
  131. package/vanilla/UiRadio.js +4 -4
  132. package/vanilla/UiRadioGroup.js +4 -4
  133. package/vanilla/UiScrollArea.js +4 -4
  134. package/vanilla/UiSearchShell.js +4 -4
  135. package/vanilla/UiSelect.js +4 -4
  136. package/vanilla/UiSidebar.js +4 -4
  137. package/vanilla/UiSwitch.js +4 -4
  138. package/vanilla/UiSwitcher.js +4 -4
  139. package/vanilla/UiTable.js +4 -4
  140. package/vanilla/UiTabs.js +4 -4
  141. package/vanilla/UiTextarea.js +4 -4
  142. package/vanilla/UiToast.js +4 -4
  143. package/vanilla/UiToastRegion.js +4 -4
  144. package/vanilla/UiTooltip.js +4 -4
  145. package/vanilla/UiTree.js +4 -4
  146. package/vanilla/UiTreeItem.js +4 -4
  147. package/vue/UiAffordanceScope.vue +1 -0
  148. package/vue/UiAvatar.vue +1 -0
  149. package/vue/UiAvatarGroup.vue +1 -0
  150. package/vue/UiButton.vue +1 -0
  151. package/vue/UiCheckbox.vue +1 -0
  152. package/vue/UiCombobox.vue +1 -0
  153. package/vue/UiContextMenu.vue +1 -0
  154. package/vue/UiDialog.vue +1 -0
  155. package/vue/UiDisclosure.vue +1 -0
  156. package/vue/UiEditable.vue +1 -0
  157. package/vue/UiEditorBlockActions.vue +1 -0
  158. package/vue/UiEditorChipEditor.vue +1 -0
  159. package/vue/UiEditorCodeLanguage.vue +1 -0
  160. package/vue/UiEditorImageToolbar.vue +1 -0
  161. package/vue/UiEditorInsertTableGrid.vue +1 -0
  162. package/vue/UiEditorLinkCard.vue +1 -0
  163. package/vue/UiEditorLinkForm.vue +1 -0
  164. package/vue/UiEditorMentionMenu.vue +1 -0
  165. package/vue/UiEditorSlashMenu.vue +1 -0
  166. package/vue/UiEditorTableContextMenu.vue +1 -0
  167. package/vue/UiEditorTableOverlay.vue +1 -0
  168. package/vue/UiEditorTableToolbar.vue +1 -0
  169. package/vue/UiEditorToolbar.vue +1 -0
  170. package/vue/UiFormField.vue +1 -0
  171. package/vue/UiIconButton.vue +1 -0
  172. package/vue/UiImage.vue +1 -0
  173. package/vue/UiInput.vue +1 -0
  174. package/vue/UiInputGroup.vue +1 -0
  175. package/vue/UiListbox.vue +1 -0
  176. package/vue/UiMenu.vue +1 -0
  177. package/vue/UiMenuItem.vue +1 -0
  178. package/vue/UiPopover.vue +1 -0
  179. package/vue/UiRadio.vue +1 -0
  180. package/vue/UiRadioGroup.vue +1 -0
  181. package/vue/UiScrollArea.vue +1 -0
  182. package/vue/UiSearchShell.vue +1 -0
  183. package/vue/UiSelect.vue +1 -0
  184. package/vue/UiSidebar.vue +1 -0
  185. package/vue/UiSwitch.vue +1 -0
  186. package/vue/UiSwitcher.vue +1 -0
  187. package/vue/UiTable.vue +1 -0
  188. package/vue/UiTabs.vue +1 -0
  189. package/vue/UiTextarea.vue +1 -0
  190. package/vue/UiToast.vue +1 -0
  191. package/vue/UiToastRegion.vue +1 -0
  192. package/vue/UiTooltip.vue +1 -0
  193. package/vue/UiTree.vue +1 -0
  194. package/vue/UiTreeItem.vue +1 -0
  195. package/vue/chunks/UiAffordanceScope.js +2 -1
  196. package/vue/chunks/UiAvatar.js +2 -1
  197. package/vue/chunks/UiAvatarGroup.js +2 -1
  198. package/vue/chunks/UiButton.js +2 -1
  199. package/vue/chunks/UiCheckbox.js +2 -1
  200. package/vue/chunks/UiCombobox.js +2 -1
  201. package/vue/chunks/UiContextMenu.js +2 -1
  202. package/vue/chunks/UiDialog.js +2 -1
  203. package/vue/chunks/UiDisclosure.js +2 -1
  204. package/vue/chunks/UiEditable.js +2 -1
  205. package/vue/chunks/UiEditorBlockActions.js +1 -0
  206. package/vue/chunks/UiEditorChipEditor.js +1 -0
  207. package/vue/chunks/UiEditorCodeLanguage.js +1 -0
  208. package/vue/chunks/UiEditorImageToolbar.js +1 -0
  209. package/vue/chunks/UiEditorInsertTableGrid.js +2 -1
  210. package/vue/chunks/UiEditorLinkCard.js +1 -0
  211. package/vue/chunks/UiEditorLinkForm.js +1 -0
  212. package/vue/chunks/UiEditorMentionMenu.js +2 -1
  213. package/vue/chunks/UiEditorSlashMenu.js +2 -1
  214. package/vue/chunks/UiEditorTableContextMenu.js +2 -1
  215. package/vue/chunks/UiEditorTableOverlay.js +2 -1
  216. package/vue/chunks/UiEditorTableToolbar.js +2 -1
  217. package/vue/chunks/UiEditorToolbar.js +2 -1
  218. package/vue/chunks/UiFormField.js +2 -1
  219. package/vue/chunks/UiIconButton.js +2 -1
  220. package/vue/chunks/UiImage.js +2 -1
  221. package/vue/chunks/UiInput.js +2 -1
  222. package/vue/chunks/UiInputGroup.js +2 -1
  223. package/vue/chunks/UiListbox.js +2 -1
  224. package/vue/chunks/UiMenu.js +2 -1
  225. package/vue/chunks/UiMenuItem.js +2 -1
  226. package/vue/chunks/UiPopover.js +2 -1
  227. package/vue/chunks/UiRadio.js +2 -1
  228. package/vue/chunks/UiRadioGroup.js +2 -1
  229. package/vue/chunks/UiScrollArea.js +2 -1
  230. package/vue/chunks/UiSearchShell.js +2 -1
  231. package/vue/chunks/UiSelect.js +2 -1
  232. package/vue/chunks/UiSidebar.js +2 -1
  233. package/vue/chunks/UiSwitch.js +2 -1
  234. package/vue/chunks/UiSwitcher.js +2 -1
  235. package/vue/chunks/UiTable.js +2 -1
  236. package/vue/chunks/UiTabs.js +2 -1
  237. package/vue/chunks/UiTextarea.js +2 -1
  238. package/vue/chunks/UiToast.js +2 -1
  239. package/vue/chunks/UiToastRegion.js +2 -1
  240. package/vue/chunks/UiTooltip.js +2 -1
  241. package/vue/chunks/UiTree.js +2 -1
  242. package/vue/chunks/UiTreeItem.js +2 -1
  243. package/vue/components.css +16 -16
  244. package/vue/editor/index.js +61 -73
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, toText, writeAttribute, writeUrlAttribute, computedCycle, dispatchDeclared, detailCheck, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkRecord, checkString, checkUnknown, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, toText, writeAttribute, writeUrlAttribute, computedCycle, dispatchDeclared, detailCheck, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkRecord, checkString, checkUnknown, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-link-card/ui-editor-link-card.js";
4
4
  import "../styles/ui-editor-link-card.css";
5
5
 
@@ -7,9 +7,9 @@ const T0 = ["",[],"\n ",["ui-card",["variant","elevated","padding","xs","size
7
7
  const T1 = ["ui-text",["as","small","size","xs","tone","secondary","font","sans","truncate",""],0];
8
8
  const T2 = ["",[],"\n ",["ui-button",["as","a","variant","ghost","tone","neutral","size","sm","target","_blank","rel","noopener noreferrer","aria-label","Open link"],["ui-icon",["name","external-link"]]],"\n ",["ui-tooltip",[],"Open link"],"\n "];
9
9
  let P0, P1, P2;
10
- const S = { n: ["base","resolved","shown"], t: ["s","?","?"], f: import.meta.url, g: "ui-editor-link-card", k: 1, d: { "edit": [detailCheck(checkRecord(checkUnknown)), true, true, false], "remove": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared, r: readonlyView, b: generatedInputs, i: ["ui-editor-link-card"] };
10
+ const S = { n: ["base","resolved","shown"], t: ["s","?","?"], f: import.meta.url, g: "ui-editor-link-card", k: 1, d: { "edit": [detailCheck(checkRecord(checkUnknown)), true, true, false], "remove": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared, r: readonlyView, a: (host, I) => C(host, I), b: generatedInputs, i: ["ui-editor-link-card"] };
11
11
  const D = { g: "ui-editor-link-card", props: { "detail": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "href": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "openHref": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "targetLabel": { "required":false,"default":"Item", c: checkString, t: "string", j: 0, m: "s" } } };
12
- const C = (host) => controller.default(host);
12
+ const C = (host) => activateModule(controller, host);
13
13
 
14
14
  export function createUiEditorLinkCard(options = {}, html) {
15
15
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -149,7 +149,7 @@ export function createUiEditorLinkCard(options = {}, html) {
149
149
  const R = { a0: t1, a1: t2, a2: t4, a5: t7, a6: t8, a7: t9, a8: t10, v0: null, v1: null, v2: null, v3: "", v4: null, v5: null, v6: null, v7: null, a3: t5, e0: t5.nextSibling, b0: undefined, a4: t6, e1: t6.nextSibling, b1: undefined };
150
150
  const I = { B };
151
151
  I.R = new Set();
152
- attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, C, X, I);
152
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, X, I);
153
153
  manageProps(I);
154
154
  return element;
155
155
  }
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkBoolean, checkFormat, checkList, checkObject, checkRecord, checkString, checkUnknown, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkBoolean, checkFormat, checkList, checkObject, checkRecord, checkString, checkUnknown, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-link-form/ui-editor-link-form.js";
4
4
  import "../styles/ui-editor-link-form.css";
5
5
 
@@ -17,9 +17,9 @@ const T10 = ["",[],"\n ",["ui-form-field",[],["label",["slot","label"],"T
17
17
  const T11 = ["ui-text",["size","sm","tone","danger","role","alert"],0];
18
18
  let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11;
19
19
  const E = new Map();
20
- const S = { n: ["base","heading","fieldLabel"], t: ["s","?","?"], f: import.meta.url, g: "ui-editor-link-form", k: 1, d: { "destination": [detailCheck(checkObject([["value", checkString, false]], false)), true, true, false], "text": [detailCheck(checkObject([["text", checkString, false]], false)), true, true, false], "new-tab": [detailCheck(checkObject([["newTab", checkBoolean, false]], false)), true, true, false], "choose": [detailCheck(checkObject([["id", checkString, false]], false)), true, true, false], "clear": [detailCheck(checkRecord(checkUnknown)), true, true, false], "save": [detailCheck(checkRecord(checkUnknown)), true, true, false], "dismiss": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared, r: readonlyView, b: generatedInputs, i: ["ui-editor-link-form"] };
20
+ const S = { n: ["base","heading","fieldLabel"], t: ["s","?","?"], f: import.meta.url, g: "ui-editor-link-form", k: 1, d: { "destination": [detailCheck(checkObject([["value", checkString, false]], false)), true, true, false], "text": [detailCheck(checkObject([["text", checkString, false]], false)), true, true, false], "new-tab": [detailCheck(checkObject([["newTab", checkBoolean, false]], false)), true, true, false], "choose": [detailCheck(checkObject([["id", checkString, false]], false)), true, true, false], "clear": [detailCheck(checkRecord(checkUnknown)), true, true, false], "save": [detailCheck(checkRecord(checkUnknown)), true, true, false], "dismiss": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared, r: readonlyView, a: (host, I) => C(host, I), b: generatedInputs, i: ["ui-editor-link-form"] };
21
21
  const D = { g: "ui-editor-link-form", props: { "error": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "existing": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "mode": { "required":false,"values":["url","target"],"default":"url", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "newTab": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placeholder": { "required":false,"default":"https://example.com", c: checkString, t: "string", j: 0, m: "s" }, "results": { "required":false, c: checkList(checkObject([["id", checkString, false], ["label", checkString, false], ["detail", checkString, true]], false)), j: 1, m: ["l",["o",["id","s","label","s","detail","s"]]] }, "searchable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selected": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "status": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "text": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "textEditable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
22
- const C = (host) => controller.default(host);
22
+ const C = (host) => activateModule(controller, host);
23
23
 
24
24
  export function createUiEditorLinkForm(options = {}, html) {
25
25
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -338,7 +338,7 @@ export function createUiEditorLinkForm(options = {}, html) {
338
338
  const R = { a0: t2, a1: t4, a2: t5, a3: t6, v0: "", v1: null, v2: null, v3: "", a4: t7, e0: t7.nextSibling, b0: undefined, a5: t8, e1: t8.nextSibling, b1: undefined, a6: t9, e2: t9.nextSibling, b2: undefined, a7: t10, e3: t10.nextSibling, b3: undefined, a8: t11, e4: t11.nextSibling, b4: undefined, a9: t12, e5: t12.nextSibling, b5: undefined };
339
339
  const I = { B };
340
340
  I.R = new Set();
341
- attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, C, X, I);
341
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, X, I);
342
342
  manageProps(I);
343
343
  return element;
344
344
  }
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkInteger, checkList, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkInteger, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-mention-menu/ui-editor-mention-menu.js";
4
4
  import "../styles/ui-editor-mention-menu.css";
5
5
 
@@ -13,9 +13,9 @@ const T6 = ["",[]];
13
13
  const T7 = ["",[]];
14
14
  let P0, P1, P2, P3, P4, P5, P6, P7;
15
15
  const E = new Map();
16
- const S = { n: ["visible","rows","searching","active","prefix"], t: ["b",["l",["o",["id","s","label","s","detail","s","initials","s"]]],"b","i","s"], f: import.meta.url, g: "ui-editor-mention-menu", d: { "highlight": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false], "select": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false, [], false, 0, "ui-editor-mention-menu"] };
16
+ const S = { n: ["visible","rows","searching","active","prefix"], t: ["b",["l",["o",["id","s","label","s","detail","s","initials","s"]]],"b","i","s"], f: import.meta.url, g: "ui-editor-mention-menu", d: { "highlight": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false], "select": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [false, [], false, 0, "ui-editor-mention-menu"] };
17
17
  const D = { g: "ui-editor-mention-menu", props: { "anchorRect": { "required":false, c: checkObject([["left", checkNumber, true], ["top", checkNumber, true], ["right", checkNumber, true], ["bottom", checkNumber, true], ["x", checkNumber, true], ["y", checkNumber, true], ["width", checkNumber, true], ["height", checkNumber, true]], false), j: 1, m: ["o",["left","n","top","n","right","n","bottom","n","x","n","y","n","width","n","height","n"]] }, "items": { "required":false, c: checkList(checkObject([["id", checkString, false], ["label", checkString, false], ["detail", checkString, true], ["initials", checkString, true]], false)), j: 1, m: ["l",["o",["id","s","label","s","detail","s","initials","s"]]] }, "label": { "required":false,"default":"Mentions", c: checkString, t: "string", j: 0, m: "s" }, "loading": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "loadingLabel": { "required":false,"default":"Searching…", c: checkString, t: "string", j: 0, m: "s" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "query": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "selectedIndex": { "required":false,"default":0, c: checkInteger, t: "integer", j: 0, m: "i" } } };
18
- const C = (host) => controller.default(host);
18
+ const C = (host) => activateModule(controller, host);
19
19
 
20
20
  export function createUiEditorMentionMenu(options = {}, html) {
21
21
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -183,7 +183,7 @@ export function createUiEditorMentionMenu(options = {}, html) {
183
183
  const I = { B };
184
184
  const J = project(I, children, slots);
185
185
  I.R = new Set();
186
- 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);
186
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, undefined, I);
187
187
  manageProps(I);
188
188
  I.r["empty"] = t4;
189
189
  return element;
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, readMember, toAttribute, toText, trackContainer, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkInteger, checkList, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, readMember, toAttribute, toText, trackContainer, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkInteger, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-slash-menu/ui-editor-slash-menu.js";
4
4
  import "../styles/ui-editor-slash-menu.css";
5
5
 
@@ -11,9 +11,9 @@ const T4 = ["",[]];
11
11
  const T5 = ["",[]];
12
12
  let P0, P1, P2, P3, P4, P5;
13
13
  const E = new Map();
14
- const S = { n: ["visible","active","rows"], t: ["b","i",["l",["o",["value","s","title","s","description","s","icon","s"]]]], f: import.meta.url, g: "ui-editor-slash-menu", d: { "highlight": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false], "select": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false, 0, []] };
14
+ const S = { n: ["visible","active","rows"], t: ["b","i",["l",["o",["value","s","title","s","description","s","icon","s"]]]], f: import.meta.url, g: "ui-editor-slash-menu", d: { "highlight": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false], "select": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [false, 0, []] };
15
15
  const D = { g: "ui-editor-slash-menu", props: { "anchorRect": { "required":false, c: checkObject([["left", checkNumber, true], ["top", checkNumber, true], ["right", checkNumber, true], ["bottom", checkNumber, true], ["x", checkNumber, true], ["y", checkNumber, true], ["width", checkNumber, true], ["height", checkNumber, true]], false), j: 1, m: ["o",["left","n","top","n","right","n","bottom","n","x","n","y","n","width","n","height","n"]] }, "items": { "required":false, c: checkList(checkObject([["value", checkString, true], ["title", checkString, false], ["description", checkString, false], ["icon", checkString, false]], false)), j: 1, m: ["l",["o",["value","s","title","s","description","s","icon","s"]]] }, "label": { "required":false,"default":"Insert block", c: checkString, t: "string", j: 0, m: "s" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "query": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "selectedIndex": { "required":false,"default":0, c: checkInteger, t: "integer", j: 0, m: "i" } } };
16
- const C = (host) => controller.default(host);
16
+ const C = (host) => activateModule(controller, host);
17
17
 
18
18
  export function createUiEditorSlashMenu(options = {}, html) {
19
19
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -134,7 +134,7 @@ export function createUiEditorSlashMenu(options = {}, html) {
134
134
  const I = { B };
135
135
  const J = project(I, children, slots);
136
136
  I.R = new Set();
137
- 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);
137
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, undefined, I);
138
138
  manageProps(I);
139
139
  I.r["empty"] = t5;
140
140
  return element;
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, RangedKeyedList, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, RangedKeyedList, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-table-context-menu/ui-editor-table-context-menu.js";
4
4
  import "../styles/ui-editor-table-context-menu.css";
5
5
 
@@ -10,9 +10,9 @@ const T3 = ["",[],"\n ",["div",["class","sep"]],"\n ",["div",["class",
10
10
  const T4 = ["button",["type","button"],"\n ",["ui-icon",[]],"\n ",["span",[],0],"\n "];
11
11
  let P0, P1, P2, P3, P4;
12
12
  const E = new Map();
13
- const S = { n: ["swatches","sections"], t: [["l",["o",["action","s","label","s","color","s","selected","b"]]],["l",["o",["heading","s","items",["l",["o",["action","s","label","s","icon","s","danger","b","checkable","b","checked","b"]]]]]]], f: import.meta.url, g: "ui-editor-table-context-menu", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [[], []] };
13
+ const S = { n: ["swatches","sections"], t: [["l",["o",["action","s","label","s","color","s","selected","b"]]],["l",["o",["heading","s","items",["l",["o",["action","s","label","s","icon","s","danger","b","checkable","b","checked","b"]]]]]]], f: import.meta.url, g: "ui-editor-table-context-menu", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], []] };
14
14
  const D = { g: "ui-editor-table-context-menu", props: { "actions": { "required":false, c: checkList(checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]})), j: 1, m: ["l",["p",formatOf(keywordFormat)]] }, "cellBackground": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "headerColumn": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "headerRow": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "scope": { "required":false,"values":["cell","row","column"],"default":"cell", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
15
- const C = (host) => controller.default(host);
15
+ const C = (host) => activateModule(controller, host);
16
16
 
17
17
  export function createUiEditorTableContextMenu(options = {}, html) {
18
18
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -143,7 +143,7 @@ export function createUiEditorTableContextMenu(options = {}, html) {
143
143
  const R = { n: element, v0: undefined, a1: t0, e0: t0.nextSibling, b0: undefined, L1: new RangedKeyedList(t1, t1.nextSibling, m3, p3, (o) => readMember(o, "heading"), "section") };
144
144
  const I = { B };
145
145
  I.R = new Set();
146
- 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);
146
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, undefined, I);
147
147
  manageProps(I);
148
148
  return element;
149
149
  }
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, NONCONFORMING, readDeclared, readMember, toAttribute, toText, trackContainer, truthy, visitSelected, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkInteger, checkList, checkNumber, checkObject, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, NONCONFORMING, readDeclared, readMember, toAttribute, toText, trackContainer, truthy, visitSelected, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkInteger, checkList, checkNumber, checkObject, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-table-overlay/ui-editor-table-overlay.js";
4
4
  import "../styles/ui-editor-table-overlay.css";
5
5
 
@@ -10,9 +10,9 @@ const T3 = ["",[],"\n ",["button",["type","button","class","selector row","
10
10
  const T4 = ["button",["type","button","class","cell-menu","data-action","open-cell-menu","title","Cell actions","aria-label","Cell actions"],"\n ",["ui-icon",["name","chevron-down"]],"\n "];
11
11
  let P0, P1, P2, P3, P4;
12
12
  const E = new Map();
13
- const S = { n: ["rows","cols","hovered","active","activeKey"], t: [["l",["o",["key","s","index","i","offset","s","affordance",["p",formatOf(keywordFormat)],"action",["p",formatOf(keywordFormat)],"label","s"]]],["l",["o",["key","s","index","i","offset","s","affordance",["p",formatOf(keywordFormat)],"action",["p",formatOf(keywordFormat)],"label","s"]]],["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i","rowOffset","s","columnOffset","s"]],["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i","menuLeft","s","menuTop","s"]],"s"], f: import.meta.url, g: "ui-editor-table-overlay", d: { "add-row-before": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-row-after": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-column-before": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-column-after": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "select-row": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false)), true, true, false], "select-column": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false)), true, true, false], "reorder-row": [detailCheck(checkObject([["fromIndex", checkInteger, false], ["toIndex", checkInteger, false]], false)), true, true, false], "reorder-column": [detailCheck(checkObject([["fromIndex", checkInteger, false], ["toIndex", checkInteger, false]], false)), true, true, false], "open-cell-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false], "open-row-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false], "open-column-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [[], [], null, null, ""] };
13
+ const S = { n: ["rows","cols","hovered","active","activeKey"], t: [["l",["o",["key","s","index","i","offset","s","affordance",["p",formatOf(keywordFormat)],"action",["p",formatOf(keywordFormat)],"label","s"]]],["l",["o",["key","s","index","i","offset","s","affordance",["p",formatOf(keywordFormat)],"action",["p",formatOf(keywordFormat)],"label","s"]]],["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i","rowOffset","s","columnOffset","s"]],["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i","menuLeft","s","menuTop","s"]],"s"], f: import.meta.url, g: "ui-editor-table-overlay", d: { "add-row-before": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-row-after": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-column-before": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-column-after": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "select-row": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false)), true, true, false], "select-column": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false)), true, true, false], "reorder-row": [detailCheck(checkObject([["fromIndex", checkInteger, false], ["toIndex", checkInteger, false]], false)), true, true, false], "reorder-column": [detailCheck(checkObject([["fromIndex", checkInteger, false], ["toIndex", checkInteger, false]], false)), true, true, false], "open-cell-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false], "open-row-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false], "open-column-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], [], null, null, ""] };
14
14
  const D = { g: "ui-editor-table-overlay", props: { "geometry": { "required":false, c: checkObject([["rowBoundaries", checkList(checkNumber), false], ["columnBoundaries", checkList(checkNumber), false], ["activeCell", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["width", checkNumber, false], ["height", checkNumber, false], ["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false), true], ["hoveredCell", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["width", checkNumber, false], ["height", checkNumber, false], ["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false), true]], false), j: 1, m: ["o",["rowBoundaries",["l","n"],"columnBoundaries",["l","n"],"activeCell",["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i"]],"hoveredCell",["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i"]]]] }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
15
- const C = (host) => controller.default(host);
15
+ const C = (host) => activateModule(controller, host);
16
16
 
17
17
  export function createUiEditorTableOverlay(options = {}, html) {
18
18
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -204,7 +204,7 @@ export function createUiEditorTableOverlay(options = {}, html) {
204
204
  const R = { n: element, v0: undefined, L0: new KeyedList(t1, t1.nextSibling, m1, p1, (o) => readMember(o, "key"), "control"), L1: new KeyedList(t3, t3.nextSibling, m2, p2, (o) => readMember(o, "key"), "control"), a3: t4, e2: t4.nextSibling, b2: undefined, a4: t5, e3: t5.nextSibling, b3: undefined };
205
205
  const I = { B };
206
206
  I.R = new Set();
207
- 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);
207
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, undefined, I);
208
208
  manageProps(I);
209
209
  return element;
210
210
  }
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-table-toolbar/ui-editor-table-toolbar.js";
4
4
  import "../styles/ui-editor-table-toolbar.css";
5
5
 
@@ -18,9 +18,9 @@ const T11 = ["div",["class","menu-section divided","role","none"],"\n "
18
18
  const T12 = ["button",["type","button"],"\n ",["ui-icon",[]],"\n ",["span",[],0],"\n "];
19
19
  let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12;
20
20
  const E = new Map();
21
- const S = { n: ["alignments","structure","swatches","sections","hasOverflow","overflowOpen"], t: [["l",["o",["action",["p",formatOf(keywordFormat)],"label","s","active","b"]]],["l",["o",["action",["p",formatOf(keywordFormat)],"label","s","icon","s"]]],["l",["o",["action","s","label","s","color","s","selected","b"]]],["l",["o",["heading","s","items",["l",["o",["action","s","label","s","icon","s","danger","b","checkable","b","checked","b"]]]]]],"b","b"], f: import.meta.url, g: "ui-editor-table-toolbar", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [[], [], [], [], false, false] };
21
+ const S = { n: ["alignments","structure","swatches","sections","hasOverflow","overflowOpen"], t: [["l",["o",["action",["p",formatOf(keywordFormat)],"label","s","active","b"]]],["l",["o",["action",["p",formatOf(keywordFormat)],"label","s","icon","s"]]],["l",["o",["action","s","label","s","color","s","selected","b"]]],["l",["o",["heading","s","items",["l",["o",["action","s","label","s","icon","s","danger","b","checkable","b","checked","b"]]]]]],"b","b"], f: import.meta.url, g: "ui-editor-table-toolbar", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], [], [], [], false, false] };
22
22
  const D = { g: "ui-editor-table-toolbar", props: { "actions": { "required":false, c: checkList(checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]})), j: 1, m: ["l",["p",formatOf(keywordFormat)]] }, "cellAlignment": { "required":false,"values":["left","center","right"],"default":"left", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "cellBackground": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "headerColumn": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "headerRow": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
23
- const C = (host) => controller.default(host);
23
+ const C = (host) => activateModule(controller, host);
24
24
 
25
25
  export function createUiEditorTableToolbar(options = {}, html) {
26
26
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -287,7 +287,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
287
287
  const R = { n: element, v0: undefined, a1: t0, e0: t0.nextSibling, b0: undefined, a2: t1, e1: t1.nextSibling, b1: undefined, a3: t2, e2: t2.nextSibling, b2: undefined, a4: t3, e3: t3.nextSibling, b3: undefined, a5: t4, e4: t4.nextSibling, b4: undefined };
288
288
  const I = { B };
289
289
  I.R = new Set();
290
- 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);
290
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, undefined, I);
291
291
  manageProps(I);
292
292
  return element;
293
293
  }
@@ -1,14 +1,14 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-toolbar/ui-editor-toolbar.js";
4
4
  import "../styles/ui-editor-toolbar.css";
5
5
 
6
6
  const T0 = ["",[],["div",["class","strip"],4]];
7
7
  const T1 = ["",[]];
8
8
  let P0, P1;
9
- const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-toolbar", b: generatedInputs };
9
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-toolbar", a: (host, I) => C(host, I), b: generatedInputs };
10
10
  const D = { g: "ui-editor-toolbar", props: { "floating": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
11
- const C = (host) => controller.default(host);
11
+ const C = (host) => activateModule(controller, host);
12
12
 
13
13
  export function createUiEditorToolbar(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -46,7 +46,7 @@ export function createUiEditorToolbar(options = {}, html) {
46
46
  const R = { n: element, v0: undefined, a1: t1, e0: t1.nextSibling, b0: undefined, f0: undefined };
47
47
  const I = { B };
48
48
  const J = project(I, children, slots);
49
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
49
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
50
50
  manageProps(I);
51
51
  I.r["strip"] = t0;
52
52
  return element;
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-form-field/ui-form-field.js";
4
4
  import "../styles/ui-form-field.css";
5
5
 
@@ -10,9 +10,9 @@ const T3 = ["",[]];
10
10
  const T4 = ["",[]];
11
11
  const T5 = ["",[]];
12
12
  let P0, P1, P2, P3, P4, P5;
13
- const S = { n: [], t: [], f: import.meta.url, g: "ui-form-field", b: generatedInputs };
13
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-form-field", a: (host, I) => C(host, I), b: generatedInputs };
14
14
  const D = { g: "ui-form-field", props: { "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "invalid": { "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" } } };
15
- const C = (host) => controller.default(host);
15
+ const C = (host) => activateModule(controller, host);
16
16
 
17
17
  export function createUiFormField(options = {}, html) {
18
18
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -97,7 +97,7 @@ export function createUiFormField(options = {}, html) {
97
97
  const R = { n: element, v0: undefined, a0: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a1: t2, e1: t2.nextSibling, b1: undefined, f1: undefined, a2: t3, e2: t3.nextSibling, b2: undefined, f2: undefined, a3: t5, e3: t5.nextSibling, b3: undefined, f3: undefined, a4: t6, e4: t6.nextSibling, b4: undefined, f4: undefined };
98
98
  const I = { B };
99
99
  const J = project(I, children, slots);
100
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
100
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
101
101
  manageProps(I);
102
102
  return element;
103
103
  }
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-icon-button/ui-icon-button.js";
4
4
  import "../styles/ui-icon-button.css";
5
5
 
@@ -7,9 +7,9 @@ const T0 = ["",[],"\n ",1,"\n ",["span",["class","content"],4],"\n "];
7
7
  const T1 = ["ui-spinner",["size","sm"]];
8
8
  const T2 = ["",[]];
9
9
  let P0, P1, P2;
10
- const S = { n: [], t: [], f: import.meta.url, g: "ui-icon-button", b: generatedInputs };
10
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-icon-button", a: (host, I) => C(host, I), b: generatedInputs };
11
11
  const D = { g: "ui-icon-button", props: { "anticipatory": { "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" }, "guide": { "required":false,"values":["dot","bar"],"default":"dot", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "label": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "loading": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "matchButton": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "pending": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "revealed": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "round": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "tone": { "required":false,"values":["accent","neutral"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "variant": { "required":false,"values":["ghost","outline","solid"],"default":"ghost", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
12
- const C = (host) => controller.default(host);
12
+ const C = (host) => activateModule(controller, host);
13
13
 
14
14
  export function createUiIconButton(options = {}, html) {
15
15
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -85,7 +85,7 @@ export function createUiIconButton(options = {}, html) {
85
85
  const R = { n: element, v0: undefined, v1: undefined, v2: undefined, v3: undefined, v4: undefined, v5: undefined, a1: t0, e0: t0.nextSibling, b0: undefined, a2: t1, e1: t1.nextSibling, b1: undefined, f1: undefined };
86
86
  const I = { B };
87
87
  const J = project(I, children, slots);
88
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
88
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
89
89
  manageProps(I);
90
90
  return element;
91
91
  }
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, toAttribute, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, toAttribute, truthy, writeAttribute, writeUrlAttribute, 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-image/ui-image.js";
4
4
  import "../styles/ui-image.css";
5
5
 
@@ -7,9 +7,9 @@ const T0 = ["",[],"\n ",["div",["class","frame"],"\n ",4,"\n ",["di
7
7
  const T1 = ["",[],["img",[]]];
8
8
  const T2 = ["",[]];
9
9
  let P0, P1, P2;
10
- const S = { n: [], t: [], f: import.meta.url, g: "ui-image", d: { "resize": [detailCheck(checkObject([["width", checkInteger, false], ["height", checkInteger, false], ["phase", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["preview","commit","cancel"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["pointer","keyboard"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs };
10
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-image", d: { "resize": [detailCheck(checkObject([["width", checkInteger, false], ["height", checkInteger, false], ["phase", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["preview","commit","cancel"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["pointer","keyboard"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs };
11
11
  const D = { g: "ui-image", props: { "alt": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "height": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "placement": { "required":false,"values":["block","center","wrap-left","wrap-right"],"default":"block", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "resizable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selected": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "src": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "width": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" } } };
12
- const C = (host) => controller.default(host);
12
+ const C = (host) => activateModule(controller, host);
13
13
 
14
14
  export function createUiImage(options = {}, html) {
15
15
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -84,7 +84,7 @@ export function createUiImage(options = {}, html) {
84
84
  const R = { n: element, a2: t2, v0: null, v1: undefined, a1: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a3: t3, e1: t3.nextSibling, b1: undefined, f1: undefined };
85
85
  const I = { B };
86
86
  const J = project(I, children, slots);
87
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
87
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
88
88
  manageProps(I);
89
89
  I.r["frame"] = t0;
90
90
  return element;
@@ -1,11 +1,11 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, NONCONFORMING, toAttribute, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkSelected, checkBoolean, checkFormat, checkNumber, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, NONCONFORMING, toAttribute, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkSelected, checkBoolean, checkFormat, checkNumber, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-input/ui-input.js";
4
4
  import "../styles/ui-input.css";
5
5
 
6
- const S = { n: [], t: [], f: import.meta.url, g: "ui-input", b: generatedInputs };
6
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-input", a: (host, I) => C(host, I), b: generatedInputs };
7
7
  const D = { g: "ui-input", props: { "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "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" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "type": { "required":false,"values":["text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","file"],"default":"text", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false, select: { from: "type", options: [{ value: "text", c: checkString, t: "string", j: 0, m: "s" }, { value: "search", c: checkString, t: "string", j: 0, m: "s" }, { value: "tel", c: checkString, t: "string", j: 0, m: "s" }, { value: "url", c: checkString, t: "string", j: 0, m: "s" }, { value: "email", c: checkString, t: "string", j: 0, m: "s" }, { value: "password", c: checkString, t: "string", j: 0, m: "s" }, { value: "date", c: checkString, t: "string", j: 0, m: "s" }, { value: "month", c: checkString, t: "string", j: 0, m: "s" }, { value: "week", c: checkString, t: "string", j: 0, m: "s" }, { value: "time", c: checkString, t: "string", j: 0, m: "s" }, { value: "datetime-local", c: checkString, t: "string", j: 0, m: "s" }, { value: "number", c: checkNumber, t: "number", j: 0, m: "n" }, { value: "range", c: checkNumber, t: "number", j: 0, m: "n" }, { value: "color", c: checkString, t: "string", j: 0, m: "s" }, { value: "file", c: checkString, t: "string", j: 0, m: "s" }] } } } };
8
- const C = (host) => controller.default(host);
8
+ const C = (host) => activateModule(controller, host);
9
9
 
10
10
  export function createUiInput(options = {}, html) {
11
11
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -58,7 +58,7 @@ export function createUiInput(options = {}, html) {
58
58
  };
59
59
  const R = { n: element, v0: undefined, v1: undefined, v2: undefined, v3: undefined, v4: undefined, v5: undefined, v6: undefined };
60
60
  const I = { B };
61
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
61
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
62
62
  manageProps(I);
63
63
  return element;
64
64
  }
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-input-group/ui-input-group.js";
4
4
  import "../styles/ui-input-group.css";
5
5
 
@@ -9,9 +9,9 @@ const T2 = ["",[]];
9
9
  const T3 = ["",[]];
10
10
  const T4 = ["",[]];
11
11
  let P0, P1, P2, P3, P4;
12
- const S = { n: [], t: [], f: import.meta.url, g: "ui-input-group", b: generatedInputs };
12
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-input-group", a: (host, I) => C(host, I), b: generatedInputs };
13
13
  const D = { g: "ui-input-group", props: { "actionPosition": { "required":false,"values":["below","top-end"],"default":"below", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "multiline": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "prefixKind": { "required":false,"values":["text","icon"],"default":"text", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "variant": { "required":false,"values":["outline","subtle"],"default":"outline", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
14
- const C = (host) => controller.default(host);
14
+ const C = (host) => activateModule(controller, host);
15
15
 
16
16
  export function createUiInputGroup(options = {}, html) {
17
17
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -85,7 +85,7 @@ export function createUiInputGroup(options = {}, html) {
85
85
  const R = { n: element, v0: undefined, a0: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a1: t3, e1: t3.nextSibling, b1: undefined, f1: undefined, a2: t5, e2: t5.nextSibling, b2: undefined, f2: undefined, a3: t6, e3: t6.nextSibling, b3: undefined, f3: undefined };
86
86
  const I = { B };
87
87
  const J = project(I, children, slots);
88
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
88
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
89
89
  manageProps(I);
90
90
  return element;
91
91
  }
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, visitSelected, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkList, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, visitSelected, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-listbox/ui-listbox.js";
4
4
  import "../styles/ui-listbox.css";
5
5
 
@@ -10,9 +10,9 @@ const T3 = ["",[],"\n ",2,"\n "];
10
10
  const T4 = ["input",["type","hidden"]];
11
11
  let P0, P1, P2, P3, P4;
12
12
  const E = new Map();
13
- const S = { n: ["choices","selection","hasSelection","active","uid","validationError"], t: [["l",["o",["value","s","label","s","disabled","b","selected","b","index","i"]]],["l","s"],"b","i","s","b"], f: import.meta.url, g: "ui-listbox", d: { "change": [detailCheck(checkObject([["value", checkString, true], ["values", checkList(checkString), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [[], [], false, null, "", false] };
13
+ const S = { n: ["choices","selection","hasSelection","active","uid","validationError"], t: [["l",["o",["value","s","label","s","disabled","b","selected","b","index","i"]]],["l","s"],"b","i","s","b"], f: import.meta.url, g: "ui-listbox", d: { "change": [detailCheck(checkObject([["value", checkString, true], ["values", checkList(checkString), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], [], false, null, "", false] };
14
14
  const D = { g: "ui-listbox", props: { "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "invalid": { "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" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "rows": { "required":false,"default":5, c: checkNumber, t: "number", j: 0, m: "n" }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "values": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] } } };
15
- const C = (host) => controller.default(host);
15
+ const C = (host) => activateModule(controller, host);
16
16
 
17
17
  export function createUiListbox(options = {}, html) {
18
18
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -204,7 +204,7 @@ export function createUiListbox(options = {}, html) {
204
204
  const I = { B };
205
205
  const J = project(I, children, slots);
206
206
  I.R = new Set();
207
- 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);
207
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, undefined, I);
208
208
  manageProps(I);
209
209
  I.r["choices"] = t1;
210
210
  I.r["options"] = t3;
package/vanilla/UiMenu.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, 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-menu/ui-menu.js";
4
4
  import "../styles/ui-menu.css";
5
5
 
6
6
  const T0 = ["",[],["div",["class","surface"],4]];
7
7
  const T1 = ["",[]];
8
8
  let P0, P1;
9
- const S = { n: ["internalOpen"], t: ["b"], f: import.meta.url, g: "ui-menu", d: { "select": [detailCheck(checkObject([["value", checkString, false], ["checked", checkBoolean, true], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false] };
9
+ const S = { n: ["internalOpen"], t: ["b"], f: import.meta.url, g: "ui-menu", d: { "select": [detailCheck(checkObject([["value", checkString, false], ["checked", checkBoolean, true], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [false] };
10
10
  const D = { g: "ui-menu", props: { "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "icons": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "inline": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placement": { "required":false,"default":"bottom-start", c: checkString, t: "string", j: 0, m: "s" }, "size": { "required":false,"values":["sm","md"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
11
- const C = (host) => controller.default(host);
11
+ const C = (host) => activateModule(controller, host);
12
12
 
13
13
  export function createUiMenu(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -46,7 +46,7 @@ export function createUiMenu(options = {}, html) {
46
46
  const I = { B };
47
47
  const J = project(I, children, slots);
48
48
  I.R = new Set();
49
- 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);
49
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, undefined, I);
50
50
  manageProps(I);
51
51
  return element;
52
52
  }
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-menu-item/ui-menu-item.js";
4
4
  import "../styles/ui-menu-item.css";
5
5
 
@@ -13,11 +13,11 @@ const T6 = ["",[]];
13
13
  const T7 = ["",[]];
14
14
  const T8 = ["",[]];
15
15
  let P0, P1, P2, P3, P4, P5, P6, P7, P8;
16
- const S = { n: ["internalChecked"], t: ["b"], f: import.meta.url, g: "ui-menu-item", d: { "change": [detailCheck(checkObject([["checked", checkBoolean, false], ["value", checkString, false], ["type", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["checkbox","radio"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false] };
16
+ const S = { n: ["internalChecked"], t: ["b"], f: import.meta.url, g: "ui-menu-item", d: { "change": [detailCheck(checkObject([["checked", checkBoolean, false], ["value", checkString, false], ["type", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["checkbox","radio"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [false] };
17
17
  const A = [["a",{"role":"menuitem","tabindex":"-1"},[],"",[],["data-ui-menu-item-state","data-ui-menu-item-prop-checked","data-ui-menu-item-prop-disabled","data-ui-menu-item-prop-href","data-ui-menu-item-prop-tone","data-ui-menu-item-prop-type","data-ui-menu-item-prop-value","aria-disabled","data-value","href"]],["div",{"tabindex":"-1"},[],"",[],["data-ui-menu-item-state","data-ui-menu-item-prop-checked","data-ui-menu-item-prop-disabled","data-ui-menu-item-prop-href","data-ui-menu-item-prop-tone","data-ui-menu-item-prop-type","data-ui-menu-item-prop-value","role","aria-checked","aria-disabled","data-value"]]];
18
18
  const Q = [[],[]];
19
19
  const D = { g: "ui-menu-item", props: { "checked": { "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" }, "href": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "tone": { "required":false,"values":["neutral","danger"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "type": { "required":false,"values":["action","checkbox","radio"],"default":"action", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
20
- const C = (host) => controller.default(host);
20
+ const C = (host) => activateModule(controller, host);
21
21
 
22
22
  export function createUiMenuItem(options = {}, html) {
23
23
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -221,7 +221,7 @@ export function createUiMenuItem(options = {}, html) {
221
221
  const I = { B };
222
222
  const J = project(I, children, slots);
223
223
  I.R = new Set();
224
- attachGeneratedController(element, S, v, (c, d) => { p(c, d); for (const f of I.R) f(c, d); }, C, undefined, I);
224
+ attachGeneratedController(element, S, v, (c, d) => { p(c, d); for (const f of I.R) f(c, d); }, undefined, undefined, I);
225
225
  manageProps(I);
226
226
  return element;
227
227
  }