@threadlabs/looma 0.30.9 → 0.31.1

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 (270) hide show
  1. package/components/shared/icons.js +1 -0
  2. package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
  3. package/components/ui-affordance-scope/ui-affordance-scope.js +1 -6
  4. package/components/ui-avatar/ui-avatar.html +1 -1
  5. package/components/ui-avatar/ui-avatar.js +1 -6
  6. package/components/ui-avatar-group/ui-avatar-group.html +1 -1
  7. package/components/ui-avatar-group/ui-avatar-group.js +1 -6
  8. package/components/ui-button/ui-button.html +1 -1
  9. package/components/ui-button/ui-button.js +1 -6
  10. package/components/ui-checkbox/ui-checkbox.html +1 -1
  11. package/components/ui-checkbox/ui-checkbox.js +1 -6
  12. package/components/ui-combobox/ui-combobox.html +1 -1
  13. package/components/ui-combobox/ui-combobox.js +1 -6
  14. package/components/ui-context-menu/ui-context-menu.html +1 -1
  15. package/components/ui-context-menu/ui-context-menu.js +1 -6
  16. package/components/ui-dialog/ui-dialog.html +1 -1
  17. package/components/ui-dialog/ui-dialog.js +1 -6
  18. package/components/ui-disclosure/ui-disclosure.html +1 -1
  19. package/components/ui-disclosure/ui-disclosure.js +1 -6
  20. package/components/ui-editable/ui-editable.html +1 -1
  21. package/components/ui-editable/ui-editable.js +1 -6
  22. package/components/ui-editor-block-actions/ui-editor-block-actions.html +1 -1
  23. package/components/ui-editor-block-actions/ui-editor-block-actions.js +1 -6
  24. package/components/ui-editor-chip-editor/ui-editor-chip-editor.html +1 -1
  25. package/components/ui-editor-chip-editor/ui-editor-chip-editor.js +1 -6
  26. package/components/ui-editor-code-language/ui-editor-code-language.html +1 -1
  27. package/components/ui-editor-code-language/ui-editor-code-language.js +1 -6
  28. package/components/ui-editor-footnote-editor/ui-editor-footnote-editor.html +57 -0
  29. package/components/ui-editor-footnote-editor/ui-editor-footnote-editor.js +38 -0
  30. package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.html +1 -1
  31. package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.js +1 -6
  32. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +1 -1
  33. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +1 -6
  34. package/components/ui-editor-link-card/ui-editor-link-card.html +1 -1
  35. package/components/ui-editor-link-card/ui-editor-link-card.js +1 -6
  36. package/components/ui-editor-link-form/ui-editor-link-form.html +1 -1
  37. package/components/ui-editor-link-form/ui-editor-link-form.js +1 -6
  38. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +1 -1
  39. package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +1 -6
  40. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +1 -1
  41. package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +1 -6
  42. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
  43. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +1 -6
  44. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +1 -1
  45. package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +1 -6
  46. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +1 -1
  47. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +1 -6
  48. package/components/ui-editor-toolbar/ui-editor-toolbar.html +1 -1
  49. package/components/ui-editor-toolbar/ui-editor-toolbar.js +1 -6
  50. package/components/ui-form-field/ui-form-field.html +1 -1
  51. package/components/ui-form-field/ui-form-field.js +1 -6
  52. package/components/ui-icon/ui-icon.html +1 -0
  53. package/components/ui-icon-button/ui-icon-button.html +1 -1
  54. package/components/ui-icon-button/ui-icon-button.js +1 -6
  55. package/components/ui-image/ui-image.html +1 -1
  56. package/components/ui-image/ui-image.js +1 -6
  57. package/components/ui-input/ui-input.html +1 -1
  58. package/components/ui-input/ui-input.js +1 -6
  59. package/components/ui-input-group/ui-input-group.html +1 -1
  60. package/components/ui-input-group/ui-input-group.js +1 -6
  61. package/components/ui-listbox/ui-listbox.html +1 -1
  62. package/components/ui-listbox/ui-listbox.js +1 -6
  63. package/components/ui-menu/ui-menu.html +1 -1
  64. package/components/ui-menu/ui-menu.js +1 -6
  65. package/components/ui-menu-item/ui-menu-item.html +1 -1
  66. package/components/ui-menu-item/ui-menu-item.js +1 -6
  67. package/components/ui-popover/ui-popover.html +1 -1
  68. package/components/ui-popover/ui-popover.js +1 -6
  69. package/components/ui-radio/ui-radio.html +1 -1
  70. package/components/ui-radio/ui-radio.js +1 -6
  71. package/components/ui-radio-group/ui-radio-group.html +1 -1
  72. package/components/ui-radio-group/ui-radio-group.js +1 -6
  73. package/components/ui-scroll-area/ui-scroll-area.html +1 -1
  74. package/components/ui-scroll-area/ui-scroll-area.js +1 -6
  75. package/components/ui-search-shell/ui-search-shell.html +1 -1
  76. package/components/ui-search-shell/ui-search-shell.js +1 -6
  77. package/components/ui-select/ui-select.html +1 -1
  78. package/components/ui-select/ui-select.js +1 -6
  79. package/components/ui-sidebar/ui-sidebar.html +1 -1
  80. package/components/ui-sidebar/ui-sidebar.js +1 -6
  81. package/components/ui-switch/ui-switch.html +1 -1
  82. package/components/ui-switch/ui-switch.js +1 -6
  83. package/components/ui-switcher/ui-switcher.html +1 -1
  84. package/components/ui-switcher/ui-switcher.js +1 -6
  85. package/components/ui-table/ui-table.html +1 -1
  86. package/components/ui-table/ui-table.js +1 -6
  87. package/components/ui-tabs/ui-tabs.html +1 -1
  88. package/components/ui-tabs/ui-tabs.js +1 -6
  89. package/components/ui-textarea/ui-textarea.html +1 -1
  90. package/components/ui-textarea/ui-textarea.js +1 -6
  91. package/components/ui-toast/ui-toast.html +1 -1
  92. package/components/ui-toast/ui-toast.js +1 -6
  93. package/components/ui-toast-region/ui-toast-region.html +1 -1
  94. package/components/ui-toast-region/ui-toast-region.js +1 -6
  95. package/components/ui-tooltip/ui-tooltip.html +1 -1
  96. package/components/ui-tooltip/ui-tooltip.js +1 -6
  97. package/components/ui-tree/ui-tree.html +1 -1
  98. package/components/ui-tree/ui-tree.js +1 -6
  99. package/components/ui-tree-item/ui-tree-item.html +1 -1
  100. package/components/ui-tree-item/ui-tree-item.js +1 -6
  101. package/dist/index.js +37 -36
  102. package/editor/chunks/extensions.js +342 -20
  103. package/editor/expressmark.js +1 -1
  104. package/editor/extensions/footnote.d.ts +40 -7
  105. package/editor/extensions/index.d.ts +1 -1
  106. package/editor/extensions/index.js +2 -2
  107. package/editor/footnote-editing.d.ts +46 -0
  108. package/editor/icons.d.ts +1 -0
  109. package/editor/index.js +4 -3
  110. package/package.json +1 -1
  111. package/styles/ui-editor-footnote-editor.css +1 -0
  112. package/vanilla/UiAffordanceScope.js +4 -4
  113. package/vanilla/UiAvatar.js +4 -4
  114. package/vanilla/UiAvatarGroup.js +4 -4
  115. package/vanilla/UiButton.js +4 -4
  116. package/vanilla/UiCheckbox.js +4 -4
  117. package/vanilla/UiCombobox.js +4 -4
  118. package/vanilla/UiContextMenu.js +4 -4
  119. package/vanilla/UiDialog.js +4 -4
  120. package/vanilla/UiDisclosure.js +4 -4
  121. package/vanilla/UiEditable.js +4 -4
  122. package/vanilla/UiEditorBlockActions.js +4 -4
  123. package/vanilla/UiEditorChipEditor.js +4 -4
  124. package/vanilla/UiEditorCodeLanguage.js +4 -4
  125. package/vanilla/UiEditorFootnoteEditor.d.ts +30 -0
  126. package/vanilla/UiEditorFootnoteEditor.js +101 -0
  127. package/vanilla/UiEditorImageToolbar.js +4 -4
  128. package/vanilla/UiEditorInsertTableGrid.js +4 -4
  129. package/vanilla/UiEditorLinkCard.js +4 -4
  130. package/vanilla/UiEditorLinkForm.js +4 -4
  131. package/vanilla/UiEditorMentionMenu.js +4 -4
  132. package/vanilla/UiEditorSlashMenu.js +4 -4
  133. package/vanilla/UiEditorTableContextMenu.js +4 -4
  134. package/vanilla/UiEditorTableOverlay.js +4 -4
  135. package/vanilla/UiEditorTableToolbar.js +4 -4
  136. package/vanilla/UiEditorToolbar.js +4 -4
  137. package/vanilla/UiFormField.js +4 -4
  138. package/vanilla/UiIcon.js +1 -1
  139. package/vanilla/UiIconButton.js +4 -4
  140. package/vanilla/UiImage.js +4 -4
  141. package/vanilla/UiInput.js +4 -4
  142. package/vanilla/UiInputGroup.js +4 -4
  143. package/vanilla/UiListbox.js +4 -4
  144. package/vanilla/UiMenu.js +4 -4
  145. package/vanilla/UiMenuItem.js +4 -4
  146. package/vanilla/UiPopover.js +4 -4
  147. package/vanilla/UiRadio.js +4 -4
  148. package/vanilla/UiRadioGroup.js +4 -4
  149. package/vanilla/UiScrollArea.js +4 -4
  150. package/vanilla/UiSearchShell.js +4 -4
  151. package/vanilla/UiSelect.js +4 -4
  152. package/vanilla/UiSidebar.js +4 -4
  153. package/vanilla/UiSwitch.js +4 -4
  154. package/vanilla/UiSwitcher.js +4 -4
  155. package/vanilla/UiTable.js +4 -4
  156. package/vanilla/UiTabs.js +4 -4
  157. package/vanilla/UiTextarea.js +4 -4
  158. package/vanilla/UiToast.js +4 -4
  159. package/vanilla/UiToastRegion.js +4 -4
  160. package/vanilla/UiTooltip.js +4 -4
  161. package/vanilla/UiTree.js +4 -4
  162. package/vanilla/UiTreeItem.js +4 -4
  163. package/vanilla/index.js +1 -0
  164. package/vue/UiAffordanceScope.vue +1 -0
  165. package/vue/UiAvatar.vue +1 -0
  166. package/vue/UiAvatarGroup.vue +1 -0
  167. package/vue/UiButton.vue +1 -0
  168. package/vue/UiCheckbox.vue +1 -0
  169. package/vue/UiCombobox.vue +1 -0
  170. package/vue/UiContextMenu.vue +1 -0
  171. package/vue/UiDialog.vue +1 -0
  172. package/vue/UiDisclosure.vue +1 -0
  173. package/vue/UiEditable.vue +1 -0
  174. package/vue/UiEditorBlockActions.vue +1 -0
  175. package/vue/UiEditorChipEditor.vue +1 -0
  176. package/vue/UiEditorCodeLanguage.vue +1 -0
  177. package/vue/UiEditorFootnoteEditor.d.ts +57 -0
  178. package/vue/UiEditorFootnoteEditor.js +2 -0
  179. package/vue/UiEditorFootnoteEditor.vue +304 -0
  180. package/vue/UiEditorImageToolbar.vue +1 -0
  181. package/vue/UiEditorInsertTableGrid.vue +1 -0
  182. package/vue/UiEditorLinkCard.vue +1 -0
  183. package/vue/UiEditorLinkForm.vue +1 -0
  184. package/vue/UiEditorMentionMenu.vue +1 -0
  185. package/vue/UiEditorSlashMenu.vue +1 -0
  186. package/vue/UiEditorTableContextMenu.vue +1 -0
  187. package/vue/UiEditorTableOverlay.vue +1 -0
  188. package/vue/UiEditorTableToolbar.vue +1 -0
  189. package/vue/UiEditorToolbar.vue +1 -0
  190. package/vue/UiFormField.vue +1 -0
  191. package/vue/UiIcon.vue +4 -0
  192. package/vue/UiIconButton.vue +1 -0
  193. package/vue/UiImage.vue +1 -0
  194. package/vue/UiInput.vue +1 -0
  195. package/vue/UiInputGroup.vue +1 -0
  196. package/vue/UiListbox.vue +1 -0
  197. package/vue/UiMenu.vue +1 -0
  198. package/vue/UiMenuItem.vue +1 -0
  199. package/vue/UiPopover.vue +1 -0
  200. package/vue/UiRadio.vue +1 -0
  201. package/vue/UiRadioGroup.vue +1 -0
  202. package/vue/UiScrollArea.vue +1 -0
  203. package/vue/UiSearchShell.vue +1 -0
  204. package/vue/UiSelect.vue +1 -0
  205. package/vue/UiSidebar.vue +1 -0
  206. package/vue/UiSwitch.vue +1 -0
  207. package/vue/UiSwitcher.vue +1 -0
  208. package/vue/UiTable.vue +1 -0
  209. package/vue/UiTabs.vue +1 -0
  210. package/vue/UiTextarea.vue +1 -0
  211. package/vue/UiToast.vue +1 -0
  212. package/vue/UiToastRegion.vue +1 -0
  213. package/vue/UiTooltip.vue +1 -0
  214. package/vue/UiTree.vue +1 -0
  215. package/vue/UiTreeItem.vue +1 -0
  216. package/vue/chunks/UiAffordanceScope.js +2 -1
  217. package/vue/chunks/UiAvatar.js +2 -1
  218. package/vue/chunks/UiAvatarGroup.js +2 -1
  219. package/vue/chunks/UiButton.js +2 -1
  220. package/vue/chunks/UiCheckbox.js +2 -1
  221. package/vue/chunks/UiCombobox.js +2 -1
  222. package/vue/chunks/UiContextMenu.js +2 -1
  223. package/vue/chunks/UiDialog.js +2 -1
  224. package/vue/chunks/UiDisclosure.js +2 -1
  225. package/vue/chunks/UiEditable.js +2 -1
  226. package/vue/chunks/UiEditorBlockActions.js +1 -0
  227. package/vue/chunks/UiEditorChipEditor.js +1 -0
  228. package/vue/chunks/UiEditorCodeLanguage.js +1 -0
  229. package/vue/chunks/UiEditorFootnoteEditor.js +306 -0
  230. package/vue/chunks/UiEditorImageToolbar.js +2 -1
  231. package/vue/chunks/UiEditorInsertTableGrid.js +2 -1
  232. package/vue/chunks/UiEditorLinkCard.js +1 -0
  233. package/vue/chunks/UiEditorLinkForm.js +2 -1
  234. package/vue/chunks/UiEditorMentionMenu.js +2 -1
  235. package/vue/chunks/UiEditorSlashMenu.js +2 -1
  236. package/vue/chunks/UiEditorTableContextMenu.js +2 -1
  237. package/vue/chunks/UiEditorTableOverlay.js +2 -1
  238. package/vue/chunks/UiEditorTableToolbar.js +2 -1
  239. package/vue/chunks/UiEditorToolbar.js +2 -1
  240. package/vue/chunks/UiFormField.js +2 -1
  241. package/vue/chunks/UiIcon.js +15 -1
  242. package/vue/chunks/UiIconButton.js +2 -1
  243. package/vue/chunks/UiImage.js +2 -1
  244. package/vue/chunks/UiInput.js +2 -1
  245. package/vue/chunks/UiInputGroup.js +2 -1
  246. package/vue/chunks/UiListbox.js +2 -1
  247. package/vue/chunks/UiMenu.js +2 -1
  248. package/vue/chunks/UiMenuItem.js +2 -1
  249. package/vue/chunks/UiPopover.js +2 -1
  250. package/vue/chunks/UiRadio.js +2 -1
  251. package/vue/chunks/UiRadioGroup.js +2 -1
  252. package/vue/chunks/UiScrollArea.js +2 -1
  253. package/vue/chunks/UiSearchShell.js +2 -1
  254. package/vue/chunks/UiSelect.js +2 -1
  255. package/vue/chunks/UiSidebar.js +2 -1
  256. package/vue/chunks/UiSwitch.js +2 -1
  257. package/vue/chunks/UiSwitcher.js +2 -1
  258. package/vue/chunks/UiTable.js +2 -1
  259. package/vue/chunks/UiTabs.js +2 -1
  260. package/vue/chunks/UiTextarea.js +2 -1
  261. package/vue/chunks/UiToast.js +2 -1
  262. package/vue/chunks/UiToastRegion.js +2 -1
  263. package/vue/chunks/UiTooltip.js +2 -1
  264. package/vue/chunks/UiTree.js +2 -1
  265. package/vue/chunks/UiTreeItem.js +2 -1
  266. package/vue/components.css +595 -595
  267. package/vue/editor/index.js +668 -80
  268. package/vue/editor/primitives.d.ts +3 -1
  269. package/vue/index.d.ts +1 -0
  270. package/vue/index.js +5 -4
@@ -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
  }
@@ -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, recordValue, textCall, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, recordValue, textCall, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, 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-tree-item/ui-tree-item.js";
4
4
  import "../styles/ui-tree-item.css";
5
5
 
@@ -12,9 +12,9 @@ const T5 = ["span",[],4];
12
12
  const T6 = ["",[]];
13
13
  const T7 = ["",[]];
14
14
  let P0, P1, P2, P3, P4, P5, P6, P7;
15
- const S = { n: ["internalExpanded","structuralLevel","tabStop","isContainer","moving"], t: ["b","i","b","b","b"], f: import.meta.url, g: "ui-tree-item", d: { "expand": [detailCheck(checkObject([["id", checkString, false], ["expanded", checkBoolean, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), false, true, false] }, x: dispatchDeclared, b: generatedInputs, i: [false, 1, false, false, false] };
15
+ const S = { n: ["internalExpanded","structuralLevel","tabStop","isContainer","moving"], t: ["b","i","b","b","b"], f: import.meta.url, g: "ui-tree-item", d: { "expand": [detailCheck(checkObject([["id", checkString, false], ["expanded", checkBoolean, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), false, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [false, 1, false, false, false] };
16
16
  const D = { g: "ui-tree-item", props: { "accepts": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "actionsVisible": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "container": { "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" }, "dragType": { "required":false,"default":"item", c: checkString, t: "string", j: 0, m: "s" }, "dropDepth": { "required":false, c: checkNumber, t: "number", j: 0, m: "n" }, "dropScope": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "expanded": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "itemId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "lazy": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "marquee": { "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" }, "sortable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "subtreeDepth": { "required":false, c: checkNumber, t: "number", j: 0, m: "n" } } };
17
- const C = (host) => controller.default(host);
17
+ const C = (host) => activateModule(controller, host);
18
18
 
19
19
  export function createUiTreeItem(options = {}, html) {
20
20
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -220,7 +220,7 @@ export function createUiTreeItem(options = {}, html) {
220
220
  const I = { B };
221
221
  const J = project(I, children, slots);
222
222
  I.R = new Set();
223
- 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);
223
+ 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);
224
224
  manageProps(I);
225
225
  I.r["row"] = t0;
226
226
  I.r["disclosure"] = t2;
package/vanilla/index.js CHANGED
@@ -22,6 +22,7 @@ export * from "./UiEditable.js";
22
22
  export * from "./UiEditorBlockActions.js";
23
23
  export * from "./UiEditorChipEditor.js";
24
24
  export * from "./UiEditorCodeLanguage.js";
25
+ export * from "./UiEditorFootnoteEditor.js";
25
26
  export * from "./UiEditorImageToolbar.js";
26
27
  export * from "./UiEditorInsertTableGrid.js";
27
28
  export * from "./UiEditorLinkCard.js";
@@ -114,6 +114,7 @@ const dispatch = createDispatch(root)
114
114
 
115
115
  useComponentHost(() => import('../components/ui-affordance-scope/ui-affordance-scope.js'), {
116
116
  root,
117
+ module: true,
117
118
  dispatch,
118
119
  acceptsState: (name: string, keys: readonly string[], value: unknown) =>
119
120
  acceptsControllerWrite(
package/vue/UiAvatar.vue CHANGED
@@ -226,6 +226,7 @@ const dispatch = createDispatch(root)
226
226
 
227
227
  useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
228
228
  root,
229
+ module: true,
229
230
  dispatch,
230
231
  acceptsState: (name: string, keys: readonly string[], value: unknown) =>
231
232
  acceptsControllerWrite(
@@ -162,6 +162,7 @@ const dispatch = createDispatch(root)
162
162
 
163
163
  useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'), {
164
164
  root,
165
+ module: true,
165
166
  dispatch,
166
167
  acceptsState: (name: string, keys: readonly string[], value: unknown) =>
167
168
  acceptsControllerWrite(
package/vue/UiButton.vue CHANGED
@@ -628,6 +628,7 @@ const dispatch = createDispatch(root)
628
628
 
629
629
  useComponentHost(() => import('../components/ui-button/ui-button.js'), {
630
630
  root,
631
+ module: true,
631
632
  dispatch,
632
633
  controllerSource: {
633
634
  specifier: '../components/ui-button/ui-button.js',
@@ -272,6 +272,7 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
272
272
 
273
273
  useComponentHost(() => import('../components/ui-checkbox/ui-checkbox.js'), {
274
274
  root,
275
+ module: true,
275
276
  dispatch,
276
277
  acceptsState: (name: string, keys: readonly string[], value: unknown) =>
277
278
  acceptsControllerWrite(
@@ -1371,6 +1371,7 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
1371
1371
 
1372
1372
  useComponentHost(() => import('../components/ui-combobox/ui-combobox.js'), {
1373
1373
  root,
1374
+ module: true,
1374
1375
  dispatch,
1375
1376
  acceptsState: (name: string, keys: readonly string[], value: unknown) =>
1376
1377
  acceptsControllerWrite(
@@ -160,6 +160,7 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
160
160
 
161
161
  useComponentHost(() => import('../components/ui-context-menu/ui-context-menu.js'), {
162
162
  root,
163
+ module: true,
163
164
  dispatch,
164
165
  acceptsState: (name: string, keys: readonly string[], value: unknown) =>
165
166
  acceptsControllerWrite(
package/vue/UiDialog.vue CHANGED
@@ -265,6 +265,7 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
265
265
 
266
266
  useComponentHost(() => import('../components/ui-dialog/ui-dialog.js'), {
267
267
  root,
268
+ module: true,
268
269
  dispatch,
269
270
  acceptsState: (name: string, keys: readonly string[], value: unknown) =>
270
271
  acceptsControllerWrite(
@@ -307,6 +307,7 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
307
307
 
308
308
  useComponentHost(() => import('../components/ui-disclosure/ui-disclosure.js'), {
309
309
  root,
310
+ module: true,
310
311
  dispatch,
311
312
  acceptsState: (name: string, keys: readonly string[], value: unknown) =>
312
313
  acceptsControllerWrite(
@@ -348,6 +348,7 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
348
348
 
349
349
  useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
350
350
  root,
351
+ module: true,
351
352
  dispatch,
352
353
  acceptsState: (name: string, keys: readonly string[], value: unknown) =>
353
354
  acceptsControllerWrite(
@@ -114,6 +114,7 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
114
114
 
115
115
  useComponentHost(() => import('../components/ui-editor-block-actions/ui-editor-block-actions.js'), {
116
116
  root,
117
+ module: true,
117
118
  dispatch,
118
119
  controllerSource: {
119
120
  specifier: '../components/ui-editor-block-actions/ui-editor-block-actions.js',
@@ -146,6 +146,7 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
146
146
 
147
147
  useComponentHost(() => import('../components/ui-editor-chip-editor/ui-editor-chip-editor.js'), {
148
148
  root,
149
+ module: true,
149
150
  dispatch,
150
151
  controllerSource: {
151
152
  specifier: '../components/ui-editor-chip-editor/ui-editor-chip-editor.js',
@@ -146,6 +146,7 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
146
146
 
147
147
  useComponentHost(() => import('../components/ui-editor-code-language/ui-editor-code-language.js'), {
148
148
  root,
149
+ module: true,
149
150
  dispatch,
150
151
  controllerSource: {
151
152
  specifier: '../components/ui-editor-code-language/ui-editor-code-language.js',
@@ -0,0 +1,57 @@
1
+ import type { PropType } from 'vue';
2
+ import { type InputBindings } from './props.js';
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ editable: {
5
+ type: PropType<boolean | null>;
6
+ };
7
+ error: {
8
+ type: PropType<string | null>;
9
+ };
10
+ label: {
11
+ type: PropType<string | null>;
12
+ };
13
+ note: {
14
+ type: PropType<string | null>;
15
+ };
16
+ "\0htmlNextInputStatus": {
17
+ type: PropType<InputBindings>;
18
+ };
19
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ done: (event: CustomEvent<Readonly<Record<string, unknown>>>) => any;
21
+ label: (event: CustomEvent<{
22
+ readonly label: string;
23
+ }>) => any;
24
+ text: (event: CustomEvent<{
25
+ readonly text: string;
26
+ }>) => any;
27
+ "update:label": (value: string) => any;
28
+ go: (event: CustomEvent<Readonly<Record<string, unknown>>>) => any;
29
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ editable: {
31
+ type: PropType<boolean | null>;
32
+ };
33
+ error: {
34
+ type: PropType<string | null>;
35
+ };
36
+ label: {
37
+ type: PropType<string | null>;
38
+ };
39
+ note: {
40
+ type: PropType<string | null>;
41
+ };
42
+ "\0htmlNextInputStatus": {
43
+ type: PropType<InputBindings>;
44
+ };
45
+ }>> & Readonly<{
46
+ onDone?: ((event: CustomEvent<Readonly<Record<string, unknown>>>) => any) | undefined;
47
+ onLabel?: ((event: CustomEvent<{
48
+ readonly label: string;
49
+ }>) => any) | undefined;
50
+ onText?: ((event: CustomEvent<{
51
+ readonly text: string;
52
+ }>) => any) | undefined;
53
+ "onUpdate:label"?: ((value: string) => any) | undefined;
54
+ onGo?: ((event: CustomEvent<Readonly<Record<string, unknown>>>) => any) | undefined;
55
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
+ declare const _default: typeof __VLS_export;
57
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { t as UiEditorFootnoteEditor_default } from "./chunks/UiEditorFootnoteEditor.js";
2
+ export { UiEditorFootnoteEditor_default as default };