@threadlabs/looma 0.30.8 → 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 (245) 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 +6 -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/styles/ui-dialog.css +7 -0
  100. package/vanilla/UiAffordanceScope.js +4 -4
  101. package/vanilla/UiAvatar.js +4 -4
  102. package/vanilla/UiAvatarGroup.js +4 -4
  103. package/vanilla/UiButton.js +4 -4
  104. package/vanilla/UiCheckbox.js +4 -4
  105. package/vanilla/UiCombobox.js +4 -4
  106. package/vanilla/UiContextMenu.js +4 -4
  107. package/vanilla/UiDialog.js +4 -4
  108. package/vanilla/UiDisclosure.js +4 -4
  109. package/vanilla/UiEditable.js +4 -4
  110. package/vanilla/UiEditorBlockActions.js +4 -4
  111. package/vanilla/UiEditorChipEditor.js +4 -4
  112. package/vanilla/UiEditorCodeLanguage.js +4 -4
  113. package/vanilla/UiEditorImageToolbar.js +4 -4
  114. package/vanilla/UiEditorInsertTableGrid.js +4 -4
  115. package/vanilla/UiEditorLinkCard.js +4 -4
  116. package/vanilla/UiEditorLinkForm.js +4 -4
  117. package/vanilla/UiEditorMentionMenu.js +4 -4
  118. package/vanilla/UiEditorSlashMenu.js +4 -4
  119. package/vanilla/UiEditorTableContextMenu.js +4 -4
  120. package/vanilla/UiEditorTableOverlay.js +4 -4
  121. package/vanilla/UiEditorTableToolbar.js +4 -4
  122. package/vanilla/UiEditorToolbar.js +4 -4
  123. package/vanilla/UiFormField.js +4 -4
  124. package/vanilla/UiIconButton.js +4 -4
  125. package/vanilla/UiImage.js +4 -4
  126. package/vanilla/UiInput.js +4 -4
  127. package/vanilla/UiInputGroup.js +4 -4
  128. package/vanilla/UiListbox.js +4 -4
  129. package/vanilla/UiMenu.js +4 -4
  130. package/vanilla/UiMenuItem.js +4 -4
  131. package/vanilla/UiPopover.js +4 -4
  132. package/vanilla/UiRadio.js +4 -4
  133. package/vanilla/UiRadioGroup.js +4 -4
  134. package/vanilla/UiScrollArea.js +4 -4
  135. package/vanilla/UiSearchShell.js +4 -4
  136. package/vanilla/UiSelect.js +4 -4
  137. package/vanilla/UiSidebar.js +4 -4
  138. package/vanilla/UiSwitch.js +4 -4
  139. package/vanilla/UiSwitcher.js +4 -4
  140. package/vanilla/UiTable.js +4 -4
  141. package/vanilla/UiTabs.js +4 -4
  142. package/vanilla/UiTextarea.js +4 -4
  143. package/vanilla/UiToast.js +4 -4
  144. package/vanilla/UiToastRegion.js +4 -4
  145. package/vanilla/UiTooltip.js +4 -4
  146. package/vanilla/UiTree.js +4 -4
  147. package/vanilla/UiTreeItem.js +4 -4
  148. package/vue/UiAffordanceScope.vue +1 -0
  149. package/vue/UiAvatar.vue +1 -0
  150. package/vue/UiAvatarGroup.vue +1 -0
  151. package/vue/UiButton.vue +1 -0
  152. package/vue/UiCheckbox.vue +1 -0
  153. package/vue/UiCombobox.vue +1 -0
  154. package/vue/UiContextMenu.vue +1 -0
  155. package/vue/UiDialog.vue +6 -0
  156. package/vue/UiDisclosure.vue +1 -0
  157. package/vue/UiEditable.vue +1 -0
  158. package/vue/UiEditorBlockActions.vue +1 -0
  159. package/vue/UiEditorChipEditor.vue +1 -0
  160. package/vue/UiEditorCodeLanguage.vue +1 -0
  161. package/vue/UiEditorImageToolbar.vue +1 -0
  162. package/vue/UiEditorInsertTableGrid.vue +1 -0
  163. package/vue/UiEditorLinkCard.vue +1 -0
  164. package/vue/UiEditorLinkForm.vue +1 -0
  165. package/vue/UiEditorMentionMenu.vue +1 -0
  166. package/vue/UiEditorSlashMenu.vue +1 -0
  167. package/vue/UiEditorTableContextMenu.vue +1 -0
  168. package/vue/UiEditorTableOverlay.vue +1 -0
  169. package/vue/UiEditorTableToolbar.vue +1 -0
  170. package/vue/UiEditorToolbar.vue +1 -0
  171. package/vue/UiFormField.vue +1 -0
  172. package/vue/UiIconButton.vue +1 -0
  173. package/vue/UiImage.vue +1 -0
  174. package/vue/UiInput.vue +1 -0
  175. package/vue/UiInputGroup.vue +1 -0
  176. package/vue/UiListbox.vue +1 -0
  177. package/vue/UiMenu.vue +1 -0
  178. package/vue/UiMenuItem.vue +1 -0
  179. package/vue/UiPopover.vue +1 -0
  180. package/vue/UiRadio.vue +1 -0
  181. package/vue/UiRadioGroup.vue +1 -0
  182. package/vue/UiScrollArea.vue +1 -0
  183. package/vue/UiSearchShell.vue +1 -0
  184. package/vue/UiSelect.vue +1 -0
  185. package/vue/UiSidebar.vue +1 -0
  186. package/vue/UiSwitch.vue +1 -0
  187. package/vue/UiSwitcher.vue +1 -0
  188. package/vue/UiTable.vue +1 -0
  189. package/vue/UiTabs.vue +1 -0
  190. package/vue/UiTextarea.vue +1 -0
  191. package/vue/UiToast.vue +1 -0
  192. package/vue/UiToastRegion.vue +1 -0
  193. package/vue/UiTooltip.vue +1 -0
  194. package/vue/UiTree.vue +1 -0
  195. package/vue/UiTreeItem.vue +1 -0
  196. package/vue/chunks/UiAffordanceScope.js +2 -1
  197. package/vue/chunks/UiAvatar.js +2 -1
  198. package/vue/chunks/UiAvatarGroup.js +2 -1
  199. package/vue/chunks/UiButton.js +2 -1
  200. package/vue/chunks/UiCheckbox.js +2 -1
  201. package/vue/chunks/UiCombobox.js +2 -1
  202. package/vue/chunks/UiContextMenu.js +2 -1
  203. package/vue/chunks/UiDialog.js +2 -1
  204. package/vue/chunks/UiDisclosure.js +2 -1
  205. package/vue/chunks/UiEditable.js +2 -1
  206. package/vue/chunks/UiEditorBlockActions.js +1 -0
  207. package/vue/chunks/UiEditorChipEditor.js +1 -0
  208. package/vue/chunks/UiEditorCodeLanguage.js +1 -0
  209. package/vue/chunks/UiEditorImageToolbar.js +1 -0
  210. package/vue/chunks/UiEditorInsertTableGrid.js +2 -1
  211. package/vue/chunks/UiEditorLinkCard.js +1 -0
  212. package/vue/chunks/UiEditorLinkForm.js +1 -0
  213. package/vue/chunks/UiEditorMentionMenu.js +2 -1
  214. package/vue/chunks/UiEditorSlashMenu.js +2 -1
  215. package/vue/chunks/UiEditorTableContextMenu.js +2 -1
  216. package/vue/chunks/UiEditorTableOverlay.js +2 -1
  217. package/vue/chunks/UiEditorTableToolbar.js +2 -1
  218. package/vue/chunks/UiEditorToolbar.js +2 -1
  219. package/vue/chunks/UiFormField.js +2 -1
  220. package/vue/chunks/UiIconButton.js +2 -1
  221. package/vue/chunks/UiImage.js +2 -1
  222. package/vue/chunks/UiInput.js +2 -1
  223. package/vue/chunks/UiInputGroup.js +2 -1
  224. package/vue/chunks/UiListbox.js +2 -1
  225. package/vue/chunks/UiMenu.js +2 -1
  226. package/vue/chunks/UiMenuItem.js +2 -1
  227. package/vue/chunks/UiPopover.js +2 -1
  228. package/vue/chunks/UiRadio.js +2 -1
  229. package/vue/chunks/UiRadioGroup.js +2 -1
  230. package/vue/chunks/UiScrollArea.js +2 -1
  231. package/vue/chunks/UiSearchShell.js +2 -1
  232. package/vue/chunks/UiSelect.js +2 -1
  233. package/vue/chunks/UiSidebar.js +2 -1
  234. package/vue/chunks/UiSwitch.js +2 -1
  235. package/vue/chunks/UiSwitcher.js +2 -1
  236. package/vue/chunks/UiTable.js +2 -1
  237. package/vue/chunks/UiTabs.js +2 -1
  238. package/vue/chunks/UiTextarea.js +2 -1
  239. package/vue/chunks/UiToast.js +2 -1
  240. package/vue/chunks/UiToastRegion.js +2 -1
  241. package/vue/chunks/UiTooltip.js +2 -1
  242. package/vue/chunks/UiTree.js +2 -1
  243. package/vue/chunks/UiTreeItem.js +2 -1
  244. package/vue/components.css +21 -16
  245. 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, 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
  }
@@ -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-popover/ui-popover.js";
4
4
  import "../styles/ui-popover.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-popover", d: { "open": [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], "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-popover", d: { "open": [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], "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-popover", props: { "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placement": { "required":false,"values":["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],"default":"bottom-start", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "size": { "required":false,"values":["content","sm","md","lg"],"default":"content", 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 createUiPopover(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -44,7 +44,7 @@ export function createUiPopover(options = {}, html) {
44
44
  const I = { B };
45
45
  const J = project(I, children, slots);
46
46
  I.R = new Set();
47
- 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);
47
+ 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);
48
48
  manageProps(I);
49
49
  return element;
50
50
  }
@@ -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, readsChanged, rec, toAttribute, 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, readsChanged, rec, toAttribute, 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-radio/ui-radio.js";
4
4
  import "../styles/ui-radio.css";
5
5
 
@@ -7,9 +7,9 @@ const T0 = ["",[],"\n ",["input",["type","radio"]],"\n ",["span",["class",
7
7
  const T1 = ["",[]];
8
8
  const T2 = ["",[]];
9
9
  let P0, P1, P2;
10
- const S = { n: ["internalChecked"], t: ["b"], f: import.meta.url, g: "ui-radio", d: { "change": [detailCheck(checkObject([["checked", checkBoolean, false], ["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false] };
10
+ const S = { n: ["internalChecked"], t: ["b"], f: import.meta.url, g: "ui-radio", d: { "change": [detailCheck(checkObject([["checked", checkBoolean, false], ["value", checkString, 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] };
11
11
  const D = { g: "ui-radio", 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" }, "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" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false,"default":"on", 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 createUiRadio(options = {}, html) {
15
15
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -89,7 +89,7 @@ export function createUiRadio(options = {}, html) {
89
89
  const I = { B };
90
90
  const J = project(I, children, slots);
91
91
  I.R = new Set();
92
- 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);
92
+ 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);
93
93
  manageProps(I);
94
94
  I.r["input"] = t0;
95
95
  I.r["description"] = t4;
@@ -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, toAttribute, toText, 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, toAttribute, toText, 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-radio-group/ui-radio-group.js";
4
4
  import "../styles/ui-radio-group.css";
5
5
 
6
6
  const T0 = ["",[],"\n ",["legend",[],0],"\n ",4,"\n "];
7
7
  const T1 = ["",[]];
8
8
  let P0, P1;
9
- const S = { n: ["internalValue"], t: ["s"], f: import.meta.url, g: "ui-radio-group", d: { "select": [detailCheck(checkObject([["value", checkString, false], ["previousValue", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["checked", checkBoolean, false], ["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [""] };
9
+ const S = { n: ["internalValue"], t: ["s"], f: import.meta.url, g: "ui-radio-group", d: { "select": [detailCheck(checkObject([["value", checkString, false], ["previousValue", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["checked", checkBoolean, false], ["value", checkString, 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: [""] };
10
10
  const D = { g: "ui-radio-group", 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" }, "label": { "required":false,"default":"Options", c: checkString, t: "string", j: 0, m: "s" }, "labelVisibility": { "required":false,"values":["visible","sr-only"],"default":"visible", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "orientation": { "required":false,"values":["horizontal","vertical"],"default":"horizontal", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
11
- const C = (host) => controller.default(host);
11
+ const C = (host) => activateModule(controller, host);
12
12
 
13
13
  export function createUiRadioGroup(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -72,7 +72,7 @@ export function createUiRadioGroup(options = {}, html) {
72
72
  const I = { B };
73
73
  const J = project(I, children, slots);
74
74
  I.R = new Set();
75
- 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);
75
+ 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);
76
76
  manageProps(I);
77
77
  return element;
78
78
  }
@@ -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, 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-scroll-area/ui-scroll-area.js";
4
4
  import "../styles/ui-scroll-area.css";
5
5
 
6
6
  const T0 = ["",[],["div",["class","content"],4]];
7
7
  const T1 = ["",[]];
8
8
  let P0, P1;
9
- const S = { n: [], t: [], f: import.meta.url, g: "ui-scroll-area", b: generatedInputs };
9
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-scroll-area", a: (host, I) => C(host, I), b: generatedInputs };
10
10
  const D = { g: "ui-scroll-area", props: { "fill": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "orientation": { "required":false,"values":["vertical","horizontal"],"default":"vertical", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "padding": { "required":false,"values":["none","xs","sm","md","lg"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "size": { "required":false,"values":["content","sm","md","lg"],"default":"content", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "trim": { "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 createUiScrollArea(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -44,7 +44,7 @@ export function createUiScrollArea(options = {}, html) {
44
44
  const R = { n: element, v0: undefined, a1: t1, e0: t1.nextSibling, b0: undefined, f0: undefined };
45
45
  const I = { B };
46
46
  const J = project(I, children, slots);
47
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
47
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
48
48
  manageProps(I);
49
49
  I.r["content"] = t0;
50
50
  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, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, 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-search-shell/ui-search-shell.js";
4
4
  import "../styles/ui-search-shell.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: ["internalOpen"], t: ["b"], f: import.meta.url, g: "ui-search-shell", d: { "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] };
12
+ const S = { n: ["internalOpen"], t: ["b"], f: import.meta.url, g: "ui-search-shell", d: { "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] };
13
13
  const D = { g: "ui-search-shell", props: { "dismissible": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "label": { "required":false,"default":"Search", c: checkString, t: "string", j: 0, m: "s" }, "modal": { "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" } } };
14
- const C = (host) => controller.default(host);
14
+ const C = (host) => activateModule(controller, host);
15
15
 
16
16
  export function createUiSearchShell(options = {}, html) {
17
17
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -88,7 +88,7 @@ export function createUiSearchShell(options = {}, html) {
88
88
  const I = { B };
89
89
  const J = project(I, children, slots);
90
90
  I.R = new Set();
91
- 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);
91
+ 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);
92
92
  manageProps(I);
93
93
  I.r["dialog"] = t0;
94
94
  return element;
@@ -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, toAttribute, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, toAttribute, 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-select/ui-select.js";
4
4
  import "../styles/ui-select.css";
5
5
 
6
6
  const T0 = ["",[],4];
7
7
  const T1 = ["",[]];
8
8
  let P0, P1;
9
- const S = { n: [], t: [], f: import.meta.url, g: "ui-select", b: generatedInputs };
9
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-select", a: (host, I) => C(host, I), b: generatedInputs };
10
10
  const D = { g: "ui-select", 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" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
11
- const C = (host) => controller.default(host);
11
+ const C = (host) => activateModule(controller, host);
12
12
 
13
13
  export function createUiSelect(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -58,7 +58,7 @@ export function createUiSelect(options = {}, html) {
58
58
  const R = { n: element, v0: undefined, v1: undefined, v2: undefined, v3: undefined, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
59
59
  const I = { B };
60
60
  const J = project(I, children, slots);
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,14 +1,14 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, toAttribute, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, toAttribute, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-sidebar/ui-sidebar.js";
4
4
  import "../styles/ui-sidebar.css";
5
5
 
6
6
  const T0 = ["",[],"\n ",["div",["class","viewport"],["div",["class","content"],4]],"\n ",["div",["class","resizer","role","separator","aria-orientation","vertical","tabindex","0","data-ui-affordance","resize"],"\n ",["span",["class","guide","aria-hidden","true"]],"\n "],"\n "];
7
7
  const T1 = ["",[]];
8
8
  let P0, P1;
9
- const S = { n: ["internalCollapsed","drawer","resizing"], t: ["b","b","b"], f: import.meta.url, g: "ui-sidebar", d: { "resize": [detailCheck(checkObject([["width", checkNumber, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "toggle": [detailCheck(checkObject([["open", checkBoolean, false], ["mode", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["docked","drawer"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false, false, false] };
9
+ const S = { n: ["internalCollapsed","drawer","resizing"], t: ["b","b","b"], f: import.meta.url, g: "ui-sidebar", d: { "resize": [detailCheck(checkObject([["width", checkNumber, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "toggle": [detailCheck(checkObject([["open", checkBoolean, false], ["mode", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["docked","drawer"]}), 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, false, false] };
10
10
  const D = { g: "ui-sidebar", props: { "breakpoint": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "collapsed": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxWidth": { "required":false,"default":480, c: checkNumber, t: "number", j: 0, m: "n" }, "minWidth": { "required":false,"default":200, c: checkNumber, t: "number", j: 0, m: "n" }, "resizable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "resizeLabel": { "required":false,"default":"Resize sidebar", c: checkString, t: "string", j: 0, m: "s" }, "resizeStep": { "required":false,"default":16, c: checkNumber, t: "number", j: 0, m: "n" }, "side": { "required":false,"values":["start","end"],"default":"start", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "width": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" } } };
11
- const C = (host) => controller.default(host);
11
+ const C = (host) => activateModule(controller, host);
12
12
 
13
13
  export function createUiSidebar(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -56,7 +56,7 @@ export function createUiSidebar(options = {}, html) {
56
56
  const I = { B };
57
57
  const J = project(I, children, slots);
58
58
  I.R = new Set();
59
- 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);
59
+ 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);
60
60
  manageProps(I);
61
61
  I.r["resizer"] = t2;
62
62
  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, readsChanged, rec, toAttribute, 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, readsChanged, rec, toAttribute, 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-switch/ui-switch.js";
4
4
  import "../styles/ui-switch.css";
5
5
 
@@ -7,9 +7,9 @@ const T0 = ["",[],"\n ",["input",["type","checkbox","role","switch"]],"\n
7
7
  const T1 = ["",[]];
8
8
  const T2 = ["",[]];
9
9
  let P0, P1, P2;
10
- const S = { n: ["internalChecked"], t: ["b"], f: import.meta.url, g: "ui-switch", d: { "change": [detailCheck(checkObject([["checked", checkBoolean, false], ["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false] };
10
+ const S = { n: ["internalChecked"], t: ["b"], f: import.meta.url, g: "ui-switch", d: { "change": [detailCheck(checkObject([["checked", checkBoolean, false], ["value", checkString, 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] };
11
11
  const D = { g: "ui-switch", 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" }, "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" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false,"default":"on", 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 createUiSwitch(options = {}, html) {
15
15
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -89,7 +89,7 @@ export function createUiSwitch(options = {}, html) {
89
89
  const I = { B };
90
90
  const J = project(I, children, slots);
91
91
  I.R = new Set();
92
- 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);
92
+ 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);
93
93
  manageProps(I);
94
94
  I.r["input"] = t0;
95
95
  I.r["description"] = t4;
@@ -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, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkInteger, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkInteger, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-switcher/ui-switcher.js";
4
4
  import "../styles/ui-switcher.css";
5
5
 
6
6
  const T0 = ["",[],4];
7
7
  const T1 = ["",[]];
8
8
  let P0, P1;
9
- const S = { n: ["overLimit"], t: ["b"], f: import.meta.url, g: "ui-switcher", b: generatedInputs, i: [false] };
9
+ const S = { n: ["overLimit"], t: ["b"], f: import.meta.url, g: "ui-switcher", a: (host, I) => C(host, I), b: generatedInputs, i: [false] };
10
10
  const D = { g: "ui-switcher", props: { "align": { "required":false,"values":["start","center","end","stretch"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "gap": { "required":false,"values":["xs","s","m","l","xl"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "limit": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "threshold": { "required":false,"values":["xs","sm","md","lg"], 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 createUiSwitcher(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -44,7 +44,7 @@ export function createUiSwitcher(options = {}, html) {
44
44
  const I = { B };
45
45
  const J = project(I, children, slots);
46
46
  I.R = new Set();
47
- 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);
47
+ 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);
48
48
  manageProps(I);
49
49
  return element;
50
50
  }
@@ -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, 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-table/ui-table.js";
4
4
  import "../styles/ui-table.css";
5
5
 
6
6
  const T0 = ["",[],4];
7
7
  const T1 = ["",[]];
8
8
  let P0, P1;
9
- const S = { n: [], t: [], f: import.meta.url, g: "ui-table", b: generatedInputs };
9
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-table", a: (host, I) => C(host, I), b: generatedInputs };
10
10
  const D = { g: "ui-table", props: { "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "stickyHeader": { "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 createUiTable(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -43,7 +43,7 @@ export function createUiTable(options = {}, html) {
43
43
  const R = { n: element, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
44
44
  const I = { B };
45
45
  const J = project(I, children, slots);
46
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
46
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
47
47
  manageProps(I);
48
48
  return element;
49
49
  }
package/vanilla/UiTabs.js CHANGED
@@ -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, KeyedList, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, writeAttribute, writeText, 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, KeyedList, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, writeAttribute, writeText, 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-tabs/ui-tabs.js";
4
4
  import "../styles/ui-tabs.css";
5
5
 
@@ -9,9 +9,9 @@ const T2 = ["button",["type","button","role","tab"],0];
9
9
  const T3 = ["",[]];
10
10
  let P0, P1, P2, P3;
11
11
  const E = new Map();
12
- const S = { n: ["internalValue","tabs"], t: ["s",["l",["o",["id","s","label","s"]]]], f: import.meta.url, g: "ui-tabs", d: { "select": [detailCheck(checkObject([["value", checkString, false], ["previousValue", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: ["", []] };
12
+ const S = { n: ["internalValue","tabs"], t: ["s",["l",["o",["id","s","label","s"]]]], f: import.meta.url, g: "ui-tabs", d: { "select": [detailCheck(checkObject([["value", checkString, false], ["previousValue", checkString, 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: ["", []] };
13
13
  const D = { g: "ui-tabs", props: { "activation": { "required":false,"values":["auto","manual"],"default":"auto", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "group": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"Tabs", c: checkString, t: "string", j: 0, m: "s" }, "orientation": { "required":false,"values":["horizontal","vertical"],"default":"horizontal", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "stretch": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
14
- const C = (host) => controller.default(host);
14
+ const C = (host) => activateModule(controller, host);
15
15
 
16
16
  export function createUiTabs(options = {}, html) {
17
17
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -104,7 +104,7 @@ export function createUiTabs(options = {}, html) {
104
104
  const I = { B };
105
105
  const J = project(I, children, slots);
106
106
  I.R = new Set();
107
- 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);
107
+ 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);
108
108
  manageProps(I);
109
109
  I.r["list"] = t0;
110
110
  I.r["panels"] = t2;
@@ -1,11 +1,11 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.67 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, toAttribute, toText, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkFormat, checkInteger, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, toAttribute, toText, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkFormat, checkInteger, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-textarea/ui-textarea.js";
4
4
  import "../styles/ui-textarea.css";
5
5
 
6
- const S = { n: [], t: [], f: import.meta.url, g: "ui-textarea", b: generatedInputs };
6
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-textarea", a: (host, I) => C(host, I), b: generatedInputs };
7
7
  const D = { g: "ui-textarea", props: { "autosize": { "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" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxRows": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "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" }, "rows": { "required":false,"default":4, c: checkInteger, t: "integer", j: 0, m: "i" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false, 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 createUiTextarea(options = {}, html) {
11
11
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -63,7 +63,7 @@ export function createUiTextarea(options = {}, html) {
63
63
  };
64
64
  const R = { n: element, v0: undefined, v1: undefined, v2: undefined, v3: undefined, v4: undefined, v5: undefined, v6: undefined, v7: undefined, v8: undefined };
65
65
  const I = { B };
66
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
66
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
67
67
  manageProps(I);
68
68
  return element;
69
69
  }
@@ -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, readIndex, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, readIndex, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-toast/ui-toast.js";
4
4
  import "../styles/ui-toast.css";
5
5
 
@@ -7,9 +7,9 @@ const T0 = ["",[],"\n ",["div",["class","message"],4],"\n ",["div",["class
7
7
  const T1 = ["",[]];
8
8
  const T2 = ["",[]];
9
9
  let P0, P1, P2;
10
- const S = { n: [], t: [], f: import.meta.url, g: "ui-toast", d: { "dismiss": [detailCheck(checkObject([["id", checkString, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","timeout"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs };
10
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-toast", d: { "dismiss": [detailCheck(checkObject([["id", checkString, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","timeout"]}), 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 };
11
11
  const D = { g: "ui-toast", props: { "duration": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "tone": { "required":false,"values":["neutral","info","success","warning","danger"],"default":"neutral", 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 createUiToast(options = {}, html) {
15
15
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -69,7 +69,7 @@ export function createUiToast(options = {}, html) {
69
69
  const R = { n: element, a4: t4, v0: undefined, v1: null, v2: undefined, a1: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a3: t3, e1: t3.nextSibling, b1: undefined, f1: undefined };
70
70
  const I = { B };
71
71
  const J = project(I, children, slots);
72
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
72
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
73
73
  manageProps(I);
74
74
  I.r["action"] = t2;
75
75
  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, KeyedList, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, KeyedList, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-toast-region/ui-toast-region.js";
4
4
  import "../styles/ui-toast-region.css";
5
5
 
@@ -8,9 +8,9 @@ const T1 = ["",[]];
8
8
  const T2 = ["div",["class","toast"],"\n ",["span",["class","message"],0],"\n ",["span",["class","dismiss"],"\n ",["ui-icon-button",["size","sm","variant","ghost"],["ui-icon",["name","x"]]],"\n "],"\n "];
9
9
  let P0, P1, P2;
10
10
  const E = new Map();
11
- const S = { n: ["toasts"], t: [["l",["o",["id","s","message","s","tone",["p",formatOf(keywordFormat)],"role",["p",formatOf(keywordFormat)],"closing","b"]]]], f: import.meta.url, g: "ui-toast-region", d: { "dismiss": [detailCheck(checkObject([["id", checkString, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","timeout"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "show-toast": [detailCheck(checkObject([["message", checkString, false], ["id", checkString, true], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","info","success","warning","danger"]}), true], ["duration", checkNumber, true]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [[]] };
11
+ const S = { n: ["toasts"], t: [["l",["o",["id","s","message","s","tone",["p",formatOf(keywordFormat)],"role",["p",formatOf(keywordFormat)],"closing","b"]]]], f: import.meta.url, g: "ui-toast-region", d: { "dismiss": [detailCheck(checkObject([["id", checkString, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","timeout"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "show-toast": [detailCheck(checkObject([["message", checkString, false], ["id", checkString, true], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","info","success","warning","danger"]}), true], ["duration", checkNumber, true]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[]] };
12
12
  const D = { g: "ui-toast-region", props: { "duration": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "placement": { "required":false,"values":["top","top-start","top-end","bottom","bottom-start","bottom-end"],"default":"top", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
13
- const C = (host) => controller.default(host);
13
+ const C = (host) => activateModule(controller, host);
14
14
 
15
15
  export function createUiToastRegion(options = {}, html) {
16
16
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -97,7 +97,7 @@ export function createUiToastRegion(options = {}, html) {
97
97
  const I = { B };
98
98
  const J = project(I, children, slots);
99
99
  I.R = new Set();
100
- 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);
100
+ 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);
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, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-tooltip/ui-tooltip.js";
4
4
  import "../styles/ui-tooltip.css";
5
5
 
@@ -7,9 +7,9 @@ const T0 = ["",[],["div",["class","surface"],"\n ",["span",["class","label"
7
7
  const T1 = ["",[]];
8
8
  const T2 = ["",[]];
9
9
  let P0, P1, P2;
10
- const S = { n: ["internalOpen"], t: ["b"], f: import.meta.url, g: "ui-tooltip", d: { "open": [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], "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] };
10
+ const S = { n: ["internalOpen"], t: ["b"], f: import.meta.url, g: "ui-tooltip", d: { "open": [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], "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] };
11
11
  const D = { g: "ui-tooltip", props: { "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "hideDelay": { "required":false,"default":100, c: checkNumber, t: "number", j: 0, m: "n" }, "inverse": { "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,"values":["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],"default":"top", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "showDelay": { "required":false,"default":500, c: checkNumber, t: "number", j: 0, m: "n" }, "trigger": { "required":false,"values":["hover","click","focus"],"default":"hover", 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 createUiTooltip(options = {}, html) {
15
15
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -65,7 +65,7 @@ export function createUiTooltip(options = {}, html) {
65
65
  const I = { B };
66
66
  const J = project(I, children, slots);
67
67
  I.R = new Set();
68
- 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);
68
+ 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);
69
69
  manageProps(I);
70
70
  return element;
71
71
  }
package/vanilla/UiTree.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, checkInteger, checkList, checkNumber, 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, checkInteger, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-tree/ui-tree.js";
4
4
  import "../styles/ui-tree.css";
5
5
 
6
6
  const T0 = ["",[],4];
7
7
  const T1 = ["",[]];
8
8
  let P0, P1;
9
- const S = { n: [], t: [], f: import.meta.url, g: "ui-tree", d: { "reorder": [detailCheck(checkObject([["sourceId", checkString, false], ["targetId", checkString, false], ["position", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["before","inside","after"]}), false], ["sourceType", checkString, false], ["targetType", checkString, false], ["sourceScope", checkString, false], ["targetScope", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "reorder-rejected": [detailCheck(checkObject([["sourceId", checkString, false], ["targetId", checkString, false], ["position", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["before","inside","after"]}), false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["max-depth"]}), false], ["maxDepth", checkInteger, false], ["resultingDepth", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "activate": [detailCheck(checkObject([["id", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer"]}), false]], false)), true, true, false], "select": [detailCheck(checkObject([["ids", checkList(checkString), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, b: generatedInputs };
9
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-tree", d: { "reorder": [detailCheck(checkObject([["sourceId", checkString, false], ["targetId", checkString, false], ["position", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["before","inside","after"]}), false], ["sourceType", checkString, false], ["targetType", checkString, false], ["sourceScope", checkString, false], ["targetScope", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "reorder-rejected": [detailCheck(checkObject([["sourceId", checkString, false], ["targetId", checkString, false], ["position", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["before","inside","after"]}), false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["max-depth"]}), false], ["maxDepth", checkInteger, false], ["resultingDepth", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "activate": [detailCheck(checkObject([["id", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer"]}), false]], false)), true, true, false], "select": [detailCheck(checkObject([["ids", checkList(checkString), 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 };
10
10
  const D = { g: "ui-tree", props: { "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "hoverExpandDelay": { "required":false,"default":700, c: checkNumber, t: "number", j: 0, m: "n" }, "label": { "required":false,"default":"Tree", c: checkString, t: "string", j: 0, m: "s" }, "marquee": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxDepth": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "moveActivation": { "required":false,"values":["click","keyboard-touch"],"default":"click", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "selection": { "required":false,"values":["none","single","multiple"],"default":"none", 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 createUiTree(options = {}, html) {
14
14
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -44,7 +44,7 @@ export function createUiTree(options = {}, html) {
44
44
  const R = { n: element, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
45
45
  const I = { B };
46
46
  const J = project(I, children, slots);
47
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
47
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
48
48
  manageProps(I);
49
49
  return element;
50
50
  }