reactive-md 0.9.1 → 0.9.3

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 (428) hide show
  1. package/CHANGELOG-ch.md +44 -0
  2. package/CHANGELOG.md +44 -0
  3. package/README-ch.md +7 -7
  4. package/README-en.md +6 -6
  5. package/README.md +7 -7
  6. package/cli/init.mjs +1 -1
  7. package/dist-library/LocalDocumentView-D6zQkTkt.js +112 -0
  8. package/dist-library/{LocalDocumentViewCore-GiWV3bey.js → LocalDocumentViewCore-CmJhemcA.js} +387 -9471
  9. package/dist-library/LocalReactiveDocumentCore-lAKOGAZ7.js +283 -0
  10. package/dist-library/LocalStaticDocumentView-2J7w0sKm.js +143 -0
  11. package/dist-library/{authoring-Dsune4Hy.js → authoring-B14SsOXZ.js} +68 -67
  12. package/dist-library/chart-B1TUtzm-.js +3 -0
  13. package/dist-library/color-values-r8Wf7ALn.js +6 -0
  14. package/dist-library/{compile-wUv8KEge.js → compile-D50B5_Ww.js} +32 -32
  15. package/dist-library/compile-cache-key-6GgpETz_.js +28 -0
  16. package/dist-library/compiler-DLkKUK4t.js +98 -0
  17. package/dist-library/{compiler-core-As_m-MNm.js → compiler-core-Niqhp9wV.js} +2963 -3283
  18. package/dist-library/{registry-core-Bbad9Bm2.js → component-kernel-IG4wOO0i.js} +72 -195
  19. package/dist-library/component-state-CwKX_SN5.js +763 -0
  20. package/dist-library/{component-state-C52ZFJGl.js → component-state-Ht-hOK0W.js} +15 -14
  21. package/dist-library/component-utils-eSj5IdG4.js +338 -0
  22. package/dist-library/computations-CffoW7Ff.js +340 -0
  23. package/dist-library/config-validation-Cpol91_M.js +456 -0
  24. package/dist-library/controls-B-CLSK8Q.js +5927 -0
  25. package/dist-library/controls-DWlx-AQl.js +3 -0
  26. package/dist-library/{coordinate-CWS9p5q_.js → coordinate-PyLPMIQK.js} +85 -85
  27. package/dist-library/data-BtFlkJzp.js +3 -0
  28. package/dist-library/{data-table-Bgccxd7h.js → data-table-Kv_ZA2Z2.js} +14 -13
  29. package/dist-library/data-visuals-_Z7QqYTk.js +384 -0
  30. package/dist-library/{default-components-BwQf0oP-.js → default-components-jugH7Ubr.js} +333 -331
  31. package/dist-library/{config-BadfhjdP.js → default-config-DIrRpuQz.js} +96 -79
  32. package/dist-library/default-options-DU5dxuU6.js +125 -0
  33. package/dist-library/{registry-B9NGct4d.js → default-registry-BlloaZi7.js} +4 -4
  34. package/dist-library/default-schema-Ch-Vznpm.js +33 -0
  35. package/dist-library/diagram-BLepzI8l.js +3 -0
  36. package/dist-library/{display-B-VhqVND.js → display-y4v9v0Qd.js} +1 -1
  37. package/dist-library/dist-Cueh1Psp.js +4761 -0
  38. package/dist-library/{config-validation-F47AcE6o.js → document-theme-DBAfnk7y.js} +248 -731
  39. package/dist-library/{export-BqVmTXm8.js → export-heVBqgxA.js} +46 -44
  40. package/dist-library/gallery-BC6FYTqw.js +3 -0
  41. package/dist-library/{gallery-CY6mTx8i.js → gallery-Q6VPS2ep.js} +1 -1
  42. package/dist-library/{html-CNT4KD-2.js → html-CCnvzan1.js} +56 -54
  43. package/dist-library/identity-BUx0Q_-d.js +40 -0
  44. package/dist-library/{incremental-Dv0FSp_U.js → incremental-Bzvh8_lB.js} +529 -380
  45. package/dist-library/{layout-C0YlEPGr.js → layout-BfUzzO2b.js} +147 -156
  46. package/dist-library/layout-BnfDeUNy.js +3 -0
  47. package/dist-library/limits-CFERRrlC.js +10 -0
  48. package/dist-library/localization-COdJ6lw2.js +6 -0
  49. package/dist-library/mafs-CnzDC5CR.js +3 -0
  50. package/dist-library/math-view-B0jthpRw.js +20 -0
  51. package/dist-library/motion-tokens-Czk0RDmS.js +283 -0
  52. package/dist-library/mount-preset-C_i37FvY.js +24 -0
  53. package/dist-library/numeric-sliders-CkWS0-ja.js +542 -0
  54. package/dist-library/observability-CYLuvFfL.js +502 -0
  55. package/dist-library/observability-core-Bcu7vpnl.js +24 -0
  56. package/dist-library/{package-core-WFK1RhAZ.js → package-core-9UK5ZdqB.js} +57 -46
  57. package/dist-library/parser-9yNJxGip.js +8 -0
  58. package/dist-library/parser-standard-BPIy4HOu.js +4872 -0
  59. package/dist-library/plugin-packs-CZb46nuv.js +19 -0
  60. package/dist-library/preset-core-BW3NWZJ9.js +1300 -0
  61. package/dist-library/props-pJRrfDc6.js +179 -0
  62. package/dist-library/react-BSo0o998.js +32 -0
  63. package/dist-library/reactive-md-authoring.js +274 -263
  64. package/dist-library/reactive-md-build.js +55 -20
  65. package/dist-library/reactive-md-compiler-session.js +4 -0
  66. package/dist-library/reactive-md-compiler-standard.js +6 -6
  67. package/dist-library/reactive-md-compiler.js +3 -3
  68. package/dist-library/reactive-md-contracts.js +6 -0
  69. package/dist-library/reactive-md-default-packs.js +31 -14
  70. package/dist-library/reactive-md-default-preset.js +7 -6
  71. package/dist-library/reactive-md-export.js +6 -5
  72. package/dist-library/reactive-md-minimal-preset.js +2 -2
  73. package/dist-library/reactive-md-minimal-react-preset.js +22 -20
  74. package/dist-library/reactive-md-minimal.css +1 -1
  75. package/dist-library/reactive-md-observability.js +126 -0
  76. package/dist-library/reactive-md-pack-style-manifest.js +797 -0
  77. package/dist-library/reactive-md-plugin-chart.js +6 -5
  78. package/dist-library/reactive-md-plugin-data.js +8 -8
  79. package/dist-library/reactive-md-plugin-diagram.js +7 -6
  80. package/dist-library/reactive-md-plugin-forms.js +14 -13
  81. package/dist-library/reactive-md-plugin-gallery.js +6 -5
  82. package/dist-library/reactive-md-plugin-navigation.js +9 -9
  83. package/dist-library/reactive-md-plugin-network.js +13 -12
  84. package/dist-library/reactive-md-plugin-plot.js +7 -6
  85. package/dist-library/reactive-md-react-component-accordion.js +10 -0
  86. package/dist-library/reactive-md-react-component-alert.js +10 -0
  87. package/dist-library/reactive-md-react-component-anchor.js +10 -0
  88. package/dist-library/reactive-md-react-component-badge.js +10 -0
  89. package/dist-library/reactive-md-react-component-card.js +10 -0
  90. package/dist-library/reactive-md-react-component-chart.js +22 -0
  91. package/dist-library/reactive-md-react-component-checkbox.js +10 -0
  92. package/dist-library/reactive-md-react-component-checklist.js +10 -0
  93. package/dist-library/reactive-md-react-component-choices.js +10 -0
  94. package/dist-library/reactive-md-react-component-column.js +6 -0
  95. package/dist-library/reactive-md-react-component-coordinate.js +21 -0
  96. package/dist-library/reactive-md-react-component-counter.js +10 -0
  97. package/dist-library/reactive-md-react-component-data-table.js +14 -0
  98. package/dist-library/reactive-md-react-component-date.js +10 -0
  99. package/dist-library/reactive-md-react-component-diagram.js +22 -0
  100. package/dist-library/reactive-md-react-component-disclosure.js +10 -0
  101. package/dist-library/reactive-md-react-component-edge.js +22 -0
  102. package/dist-library/reactive-md-react-component-gallery-item.js +10 -0
  103. package/dist-library/reactive-md-react-component-gallery.js +10 -0
  104. package/dist-library/reactive-md-react-component-grid.js +10 -0
  105. package/dist-library/reactive-md-react-component-if.js +10 -0
  106. package/dist-library/reactive-md-react-component-input.js +10 -0
  107. package/dist-library/reactive-md-react-component-jump.js +10 -0
  108. package/dist-library/reactive-md-react-component-multi-select.js +10 -0
  109. package/dist-library/reactive-md-react-component-node.js +22 -0
  110. package/dist-library/reactive-md-react-component-number.js +10 -0
  111. package/dist-library/reactive-md-react-component-option.js +10 -0
  112. package/dist-library/reactive-md-react-component-panel.js +10 -0
  113. package/dist-library/reactive-md-react-component-plot.js +26 -0
  114. package/dist-library/reactive-md-react-component-progress.js +10 -0
  115. package/dist-library/reactive-md-react-component-quiz.js +10 -0
  116. package/dist-library/reactive-md-react-component-radio-group.js +10 -0
  117. package/dist-library/reactive-md-react-component-range-slider.js +10 -0
  118. package/dist-library/reactive-md-react-component-section.js +10 -0
  119. package/dist-library/reactive-md-react-component-select.js +10 -0
  120. package/dist-library/reactive-md-react-component-slider.js +10 -0
  121. package/dist-library/reactive-md-react-component-step.js +10 -0
  122. package/dist-library/reactive-md-react-component-steps.js +10 -0
  123. package/dist-library/reactive-md-react-component-tab.js +10 -0
  124. package/dist-library/reactive-md-react-component-table.js +14 -0
  125. package/dist-library/reactive-md-react-component-tabs.js +10 -0
  126. package/dist-library/reactive-md-react-component-text.js +10 -0
  127. package/dist-library/reactive-md-react-component-textarea.js +10 -0
  128. package/dist-library/reactive-md-react-component-timeline.js +14 -0
  129. package/dist-library/reactive-md-react-component-timer.js +10 -0
  130. package/dist-library/reactive-md-react-component-toggle.js +10 -0
  131. package/dist-library/reactive-md-react-component-tooltip.js +10 -0
  132. package/dist-library/reactive-md-react-component-validation.js +10 -0
  133. package/dist-library/reactive-md-react-minimal.js +4 -4
  134. package/dist-library/reactive-md-react-pack-controls.js +44 -0
  135. package/dist-library/reactive-md-react-pack-data.js +21 -0
  136. package/dist-library/reactive-md-react-pack-layout.js +36 -0
  137. package/dist-library/reactive-md-react-pack-visuals.js +43 -0
  138. package/dist-library/reactive-md-react-packed.js +50 -0
  139. package/dist-library/reactive-md-react-server.js +26 -25
  140. package/dist-library/reactive-md-react-static-server.js +24 -0
  141. package/dist-library/reactive-md-react-static.js +1 -0
  142. package/dist-library/reactive-md-react-unstyled.js +15 -12
  143. package/dist-library/reactive-md-react.js +15 -12
  144. package/dist-library/reactive-md-runtime-browser.js +2 -1
  145. package/dist-library/reactive-md-runtime.js +4 -3
  146. package/dist-library/reactive-md-scan.js +1 -0
  147. package/dist-library/reactive-md-sdk.js +9 -8
  148. package/dist-library/reactive-md-standalone-configured.js +2 -2
  149. package/dist-library/reactive-md-standalone-host.js +2 -2
  150. package/dist-library/reactive-md-testing-browser.js +2 -2
  151. package/dist-library/reactive-md-testing-react.js +32 -32
  152. package/dist-library/reactive-md-testing.js +12 -12
  153. package/dist-library/reactive-md-worker-pool.js +401 -0
  154. package/dist-library/reactive-md.css +1 -1
  155. package/dist-library/reactive-md.js +84 -1361
  156. package/dist-library/registry-core-CziAIP5P.js +125 -0
  157. package/dist-library/render-nodes-DKjg_TR1.js +9369 -0
  158. package/dist-library/{resources-D2GDQS0p.js → requirements-DhIkxAbl.js} +37 -84
  159. package/dist-library/resources-B_nbROgj.js +74 -0
  160. package/dist-library/rmd-pack-controls.css +1032 -0
  161. package/dist-library/rmd-pack-data.css +724 -0
  162. package/dist-library/rmd-pack-layout.css +1825 -0
  163. package/dist-library/rmd-pack-resource-chart.css +300 -0
  164. package/dist-library/rmd-pack-resource-controls.css +781 -0
  165. package/dist-library/rmd-pack-resource-data-visuals.css +501 -0
  166. package/dist-library/rmd-pack-resource-diagram.css +106 -0
  167. package/dist-library/rmd-pack-resource-gallery.css +346 -0
  168. package/dist-library/rmd-pack-resource-graphics.css +516 -0
  169. package/dist-library/rmd-pack-resource-layout.css +1480 -0
  170. package/dist-library/rmd-pack-resource-mafs-core.css +124 -0
  171. package/dist-library/rmd-pack-resource-mafs.css +129 -0
  172. package/dist-library/rmd-pack-resource-visual-base.css +224 -0
  173. package/dist-library/rmd-pack-visuals.css +1394 -0
  174. package/dist-library/{runtime-B2fxeveq.js → runtime-BDnnimPA.js} +17 -16
  175. package/dist-library/{runtime-kcA7bG7G.js → runtime-CuJndKqK.js} +320 -313
  176. package/dist-library/runtime-requirement-C4-vNcf5.js +769 -0
  177. package/dist-library/schema-core-4sd1Vu7V.js +132 -0
  178. package/dist-library/{sdk-core-BoJT1SIt.js → sdk-core-BLsW9cCy.js} +494 -520
  179. package/dist-library/{session-core-nmJHuR9c.js → session-core-DLBRPV7f.js} +33 -31
  180. package/dist-library/{shareable-DpbE-59H.js → shareable-C6mUerpQ.js} +215 -209
  181. package/dist-library/shared-bTzN-F4g.js +3 -0
  182. package/dist-library/structural-views-30-YD_TJ.js +11 -0
  183. package/dist-library/table-surface-CfZn_tk-.js +13 -0
  184. package/dist-library/types/assemblies/compile-cache-key.d.ts +11 -0
  185. package/dist-library/types/assemblies/default-config.d.ts +35 -0
  186. package/dist-library/types/{local/configuration/options.d.ts → assemblies/default-options.d.ts} +4 -4
  187. package/dist-library/types/assemblies/default-registry.d.ts +18 -0
  188. package/dist-library/types/{local/configuration/schema.d.ts → assemblies/default-schema.d.ts} +4 -4
  189. package/dist-library/types/authoring/catalog.d.ts +11 -1
  190. package/dist-library/types/authoring/extensions.d.ts +1 -1
  191. package/dist-library/types/authoring/index.d.ts +3 -3
  192. package/dist-library/types/authoring/templates.d.ts +1 -1
  193. package/dist-library/types/build/diagnostics.d.ts +1 -1
  194. package/dist-library/types/compiler/index.d.ts +1 -0
  195. package/dist-library/types/compiler/session.d.ts +19 -0
  196. package/dist-library/types/compiler/standard.d.ts +1 -0
  197. package/dist-library/types/components/entries/accordion.d.ts +3 -0
  198. package/dist-library/types/components/entries/alert.d.ts +3 -0
  199. package/dist-library/types/components/entries/anchor.d.ts +3 -0
  200. package/dist-library/types/components/entries/badge.d.ts +3 -0
  201. package/dist-library/types/components/entries/card.d.ts +3 -0
  202. package/dist-library/types/components/entries/chart.d.ts +3 -0
  203. package/dist-library/types/components/entries/checkbox.d.ts +3 -0
  204. package/dist-library/types/components/entries/checklist.d.ts +3 -0
  205. package/dist-library/types/components/entries/choices.d.ts +3 -0
  206. package/dist-library/types/components/entries/column.d.ts +3 -0
  207. package/dist-library/types/components/entries/coordinate.d.ts +3 -0
  208. package/dist-library/types/components/entries/counter.d.ts +3 -0
  209. package/dist-library/types/components/entries/data-table.d.ts +3 -0
  210. package/dist-library/types/components/entries/date.d.ts +3 -0
  211. package/dist-library/types/components/entries/diagram.d.ts +3 -0
  212. package/dist-library/types/components/entries/disclosure.d.ts +3 -0
  213. package/dist-library/types/components/entries/edge.d.ts +3 -0
  214. package/dist-library/types/components/entries/gallery-item.d.ts +3 -0
  215. package/dist-library/types/components/entries/gallery.d.ts +3 -0
  216. package/dist-library/types/components/entries/grid.d.ts +3 -0
  217. package/dist-library/types/components/entries/if.d.ts +3 -0
  218. package/dist-library/types/components/entries/input.d.ts +3 -0
  219. package/dist-library/types/components/entries/jump.d.ts +3 -0
  220. package/dist-library/types/components/entries/multi-select.d.ts +3 -0
  221. package/dist-library/types/components/entries/node.d.ts +3 -0
  222. package/dist-library/types/components/entries/number.d.ts +3 -0
  223. package/dist-library/types/components/entries/option.d.ts +3 -0
  224. package/dist-library/types/components/entries/panel.d.ts +3 -0
  225. package/dist-library/types/components/entries/plot.d.ts +3 -0
  226. package/dist-library/types/components/entries/progress.d.ts +3 -0
  227. package/dist-library/types/components/entries/quiz.d.ts +3 -0
  228. package/dist-library/types/components/entries/radio-group.d.ts +3 -0
  229. package/dist-library/types/components/entries/range-slider.d.ts +3 -0
  230. package/dist-library/types/components/entries/section.d.ts +3 -0
  231. package/dist-library/types/components/entries/select.d.ts +3 -0
  232. package/dist-library/types/components/entries/slider.d.ts +3 -0
  233. package/dist-library/types/components/entries/step.d.ts +3 -0
  234. package/dist-library/types/components/entries/steps.d.ts +3 -0
  235. package/dist-library/types/components/entries/tab.d.ts +3 -0
  236. package/dist-library/types/components/entries/table.d.ts +3 -0
  237. package/dist-library/types/components/entries/tabs.d.ts +3 -0
  238. package/dist-library/types/components/entries/text.d.ts +3 -0
  239. package/dist-library/types/components/entries/textarea.d.ts +3 -0
  240. package/dist-library/types/components/entries/timeline.d.ts +3 -0
  241. package/dist-library/types/components/entries/timer.d.ts +3 -0
  242. package/dist-library/types/components/entries/toggle.d.ts +3 -0
  243. package/dist-library/types/components/entries/tooltip.d.ts +3 -0
  244. package/dist-library/types/components/entries/validation.d.ts +3 -0
  245. package/dist-library/types/components/layout/layout.d.ts +1 -3
  246. package/dist-library/types/components/layout/structural-views.d.ts +3 -0
  247. package/dist-library/types/components/mount-preset.d.ts +2 -0
  248. package/dist-library/types/components/packs/controls.d.ts +2 -0
  249. package/dist-library/types/components/packs/data.d.ts +2 -0
  250. package/dist-library/types/components/packs/layout.d.ts +2 -0
  251. package/dist-library/types/components/packs/visuals.d.ts +2 -0
  252. package/dist-library/types/components/shared/data-visuals.d.ts +3 -0
  253. package/dist-library/types/components/shared/table-surface.d.ts +10 -0
  254. package/dist-library/types/components/shared/visual-helpers.d.ts +24 -0
  255. package/dist-library/types/components/shared/visuals.d.ts +0 -2
  256. package/dist-library/types/components/table/data-table-model.d.ts +48 -0
  257. package/dist-library/types/components/table/data-table.d.ts +1 -48
  258. package/dist-library/types/{local/configuration → contracts}/component-kernel.d.ts +4 -2
  259. package/dist-library/types/contracts/index.d.ts +8 -0
  260. package/dist-library/types/{local/configuration → contracts}/limits.d.ts +9 -1
  261. package/dist-library/types/contracts/localization.d.ts +6 -0
  262. package/dist-library/types/contracts/runtime-types.d.ts +19 -0
  263. package/dist-library/types/local/compilation/cache-version.d.ts +1 -0
  264. package/dist-library/types/local/compilation/compile-status.d.ts +2 -0
  265. package/dist-library/types/local/compilation/compiler-bindings.d.ts +1 -1
  266. package/dist-library/types/local/compilation/compiler-capabilities.d.ts +4 -1
  267. package/dist-library/types/local/compilation/compiler-core.d.ts +1 -1
  268. package/dist-library/types/local/compilation/compiler-embedding.d.ts +20 -0
  269. package/dist-library/types/local/compilation/compiler-expressions.d.ts +5 -4
  270. package/dist-library/types/local/compilation/compiler-structure.d.ts +1 -1
  271. package/dist-library/types/local/compilation/compiler-tables.d.ts +3 -2
  272. package/dist-library/types/local/compilation/compiler-validation.d.ts +5 -9
  273. package/dist-library/types/local/compilation/compiler-values.d.ts +1 -1
  274. package/dist-library/types/local/compilation/compiler.d.ts +1 -1
  275. package/dist-library/types/local/compilation/component-usage.d.ts +2 -0
  276. package/dist-library/types/local/compilation/runtime-requirement.d.ts +3 -0
  277. package/dist-library/types/local/compilation/session/incremental.d.ts +5 -1
  278. package/dist-library/types/local/compilation/streaming.d.ts +1 -1
  279. package/dist-library/types/local/configuration/diagnostic-messages.d.ts +55 -0
  280. package/dist-library/types/local/configuration/embedding.d.ts +4 -0
  281. package/dist-library/types/local/configuration/kernel-value-rules.d.ts +1 -1
  282. package/dist-library/types/local/configuration/options-core.d.ts +8 -2
  283. package/dist-library/types/local/index.d.ts +12 -1
  284. package/dist-library/types/local/observability-codes.d.ts +2 -0
  285. package/dist-library/types/local/observability-core.d.ts +44 -0
  286. package/dist-library/types/local/observability-messages.d.ts +6 -0
  287. package/dist-library/types/local/observability.d.ts +45 -0
  288. package/dist-library/types/local/parsing/parse-budget.d.ts +18 -2
  289. package/dist-library/types/local/parsing/parser-internals.d.ts +2 -1
  290. package/dist-library/types/local/parsing/parser-region.d.ts +13 -2
  291. package/dist-library/types/local/parsing/parser-tags.d.ts +6 -1
  292. package/dist-library/types/local/parsing/rmd-recovery.d.ts +8 -0
  293. package/dist-library/types/local/performance-report.d.ts +70 -0
  294. package/dist-library/types/local/runtime/runtime-pool.d.ts +14 -0
  295. package/dist-library/types/local/transport/worker-handler.d.ts +3 -0
  296. package/dist-library/types/local/transport/worker-job.d.ts +12 -2
  297. package/dist-library/types/local/transport/worker-pool.d.ts +68 -0
  298. package/dist-library/types/local/transport/worker.d.ts +66 -1
  299. package/dist-library/types/local/types.d.ts +45 -25
  300. package/dist-library/types/observability.d.ts +8 -0
  301. package/dist-library/types/presets/default-semantics.d.ts +1 -1
  302. package/dist-library/types/presets/identity.d.ts +1 -8
  303. package/dist-library/types/presets/pack-style-entry.d.ts +3 -0
  304. package/dist-library/types/presets/pack-style-manifest.d.ts +11 -0
  305. package/dist-library/types/react/component-api.d.ts +3 -2
  306. package/dist-library/types/react/component-loader.d.ts +61 -0
  307. package/dist-library/types/react/component-primitives.d.ts +5 -5
  308. package/dist-library/types/react/index.d.ts +9 -5
  309. package/dist-library/types/react/localization.d.ts +5 -6
  310. package/dist-library/types/react/minimal.d.ts +2 -2
  311. package/dist-library/types/react/package-core.d.ts +3 -0
  312. package/dist-library/types/react/packed.d.ts +17 -0
  313. package/dist-library/types/react/render-lifecycle.d.ts +9 -0
  314. package/dist-library/types/{local → react}/rendering/document/ExtendedHtmlFragment.d.ts +1 -1
  315. package/dist-library/types/{local → react}/rendering/document/LocalDocumentViewCore.d.ts +11 -4
  316. package/dist-library/types/react/rendering/document/LocalPooledDocumentView.d.ts +8 -0
  317. package/dist-library/types/react/rendering/document/LocalReactiveDocumentCore.d.ts +6 -0
  318. package/dist-library/types/react/rendering/document/LocalStaticDocumentView.d.ts +18 -0
  319. package/dist-library/types/react/rendering/document/StaticExternalSlot.d.ts +25 -0
  320. package/dist-library/types/react/rendering/document/StaticHostData.d.ts +14 -0
  321. package/dist-library/types/{local → react}/rendering/document/render-nodes.d.ts +8 -8
  322. package/dist-library/types/react/rendering/document/static-runtime.d.ts +11 -0
  323. package/dist-library/types/{local → react}/rendering/document/use-author-script.d.ts +2 -2
  324. package/dist-library/types/{local → react}/rendering/document/validation-state.d.ts +2 -2
  325. package/dist-library/types/{local → react}/rendering/document/view-render-context.d.ts +40 -8
  326. package/dist-library/types/{local → react}/rendering/document/view-revision.d.ts +2 -2
  327. package/dist-library/types/{local → react}/rendering/render-types.d.ts +5 -5
  328. package/dist-library/types/react/rendering/table/data-table.d.ts +5 -0
  329. package/dist-library/types/{local → react}/rendering/table/table-numeric-columns.d.ts +3 -3
  330. package/dist-library/types/react/sdk-core.d.ts +12 -3
  331. package/dist-library/types/react/sdk.d.ts +2 -1
  332. package/dist-library/types/react/server.d.ts +3 -10
  333. package/dist-library/types/react/static-server.d.ts +12 -0
  334. package/dist-library/types/scan/index.d.ts +15 -0
  335. package/dist-library/types/sdk/config.d.ts +2 -35
  336. package/dist-library/types/sdk/default-identity.d.ts +3 -0
  337. package/dist-library/types/sdk/index.d.ts +1 -1
  338. package/dist-library/types/sdk/preset.d.ts +9 -0
  339. package/dist-library/types/sdk/props.d.ts +8 -3
  340. package/dist-library/types/sdk/registry-core.d.ts +2 -2
  341. package/dist-library/types/sdk/registry.d.ts +2 -18
  342. package/dist-library/types/sdk/types.d.ts +2 -2
  343. package/dist-library/types/sdk/version.d.ts +2 -0
  344. package/dist-library/types/standalone/session-core.d.ts +1 -1
  345. package/dist-library/{types-BeNtPqdY.js → types-Bza88SGK.js} +1 -1
  346. package/dist-library/types-daDo2c_w.js +3 -0
  347. package/dist-library/use-hydrated-W-laKPhY.js +22975 -0
  348. package/dist-library/validation-XXlb-spV.js +860 -0
  349. package/dist-library/version-B0G1699c.js +138 -0
  350. package/dist-library/visual-frame-y5RFhJ0_.js +19 -0
  351. package/dist-library/visual-helpers-CRmaqCHX.js +75 -0
  352. package/dist-library/visuals-CdHezgh5.js +3 -0
  353. package/dist-library/visuals-CoVSjVD8.js +49159 -0
  354. package/dist-library/worker-D6WMV8xJ.js +1632 -0
  355. package/dist-standalone/reactive-md-standalone.css +1 -1
  356. package/dist-standalone/reactive-md-standalone.js +119 -118
  357. package/docs/README-ch.md +8 -1
  358. package/docs/README.md +8 -1
  359. package/docs/compatibility/api-stability-ch.md +25 -0
  360. package/docs/compatibility/api-stability-en.md +25 -0
  361. package/docs/compatibility/compatibility-ch.md +32 -15
  362. package/docs/compatibility/compatibility-en.md +32 -15
  363. package/docs/compatibility/compatibility-manifest.schema.json +161 -0
  364. package/docs/compatibility/deprecation-ch.md +21 -0
  365. package/docs/compatibility/deprecation-en.md +21 -0
  366. package/docs/compatibility/source-versioning-ch.md +1 -1
  367. package/docs/compatibility/source-versioning-en.md +1 -1
  368. package/docs/compatibility/support-matrix-ch.md +108 -0
  369. package/docs/compatibility/support-matrix-en.md +108 -0
  370. package/docs/development/component-development-ch.md +2 -2
  371. package/docs/development/component-development-en.md +2 -2
  372. package/docs/development/component-development-reference-ch.md +16 -0
  373. package/docs/development/component-development-reference-en.md +16 -0
  374. package/docs/development/component-protocol-ch.md +31 -11
  375. package/docs/development/component-protocol-en.md +31 -11
  376. package/docs/integration/author-tools-ch.md +3 -1
  377. package/docs/integration/author-tools-en.md +3 -1
  378. package/docs/integration/compiler-ch.md +42 -1
  379. package/docs/integration/compiler-en.md +42 -1
  380. package/docs/integration/editor-ch.md +2 -2
  381. package/docs/integration/editor-en.md +2 -2
  382. package/docs/integration/extension-sdk-ch.md +6 -2
  383. package/docs/integration/extension-sdk-en.md +6 -2
  384. package/docs/integration/local-integration-ch.md +4 -2
  385. package/docs/integration/local-integration-en.md +4 -2
  386. package/docs/reference/public-api-ch.md +143 -7
  387. package/docs/reference/public-api-en.md +143 -7
  388. package/docs/releases/release-0.9.2-ch.md +33 -0
  389. package/docs/releases/release-0.9.2-en.md +33 -0
  390. package/docs/releases/release-0.9.3-ch.md +45 -0
  391. package/docs/releases/release-0.9.3-en.md +45 -0
  392. package/examples/integration/README-ch.md +36 -4
  393. package/examples/integration/README.md +36 -4
  394. package/examples/integration/chat-session/index.mjs +91 -0
  395. package/examples/integration/chat-session/package.json +10 -0
  396. package/examples/integration/static-embed/embed.mjs +44 -0
  397. package/examples/integration/static-embed/index.html +12 -0
  398. package/examples/integration/static-embed/main.mjs +24 -0
  399. package/examples/integration/static-embed/references.mjs +5 -0
  400. package/examples/integration/static-embed/render.mjs +10 -0
  401. package/package.json +67 -2
  402. package/dist-library/LocalDocumentView-sthUP0ct.js +0 -109
  403. package/dist-library/LocalReactiveDocumentCore-ZjQSGyHE.js +0 -275
  404. package/dist-library/compiler-eOfcinZs.js +0 -62
  405. package/dist-library/component-state-BoLCGee4.js +0 -801
  406. package/dist-library/controls-CcT6n7k_.js +0 -6740
  407. package/dist-library/mount-preset-KxvtKgJb.js +0 -13
  408. package/dist-library/options-1aDLK7JY.js +0 -121
  409. package/dist-library/parser-standard-Yuf3A_VI.js +0 -9630
  410. package/dist-library/plugin-packs-B1XPWcFs.js +0 -18
  411. package/dist-library/preset-core-CKc5YXSM.js +0 -1443
  412. package/dist-library/props-sJ8vk0cr.js +0 -183
  413. package/dist-library/react-D5iGiUdL.js +0 -7
  414. package/dist-library/schema-BufhKUSM.js +0 -40
  415. package/dist-library/types/local/rendering/document/LocalReactiveDocumentCore.d.ts +0 -6
  416. package/dist-library/types/local/rendering/table/data-table.d.ts +0 -13
  417. package/dist-library/validation-BEBA_HvS.js +0 -1121
  418. package/dist-library/visual-frame-CyV1FXzs.js +0 -48
  419. package/dist-library/visuals-BZbZYA7w.js +0 -72572
  420. /package/dist-library/types/{local/configuration → contracts}/color-values.d.ts +0 -0
  421. /package/dist-library/types/{local/html → contracts}/html-names.d.ts +0 -0
  422. /package/dist-library/types/{local/configuration → contracts}/schema-core.d.ts +0 -0
  423. /package/dist-library/types/{local → react}/rendering/code/code-block.d.ts +0 -0
  424. /package/dist-library/types/{local → react}/rendering/code/code-languages.d.ts +0 -0
  425. /package/dist-library/types/{local → react}/rendering/document/LocalDocumentView.d.ts +0 -0
  426. /package/dist-library/types/{local → react}/rendering/document/use-color-scheme.d.ts +0 -0
  427. /package/dist-library/types/{local → react}/rendering/image/image-view.d.ts +0 -0
  428. /package/dist-library/types/{local → react}/rendering/math-view.d.ts +0 -0
@@ -1,4 +1,6 @@
1
- import { $ as e, B as t, P as n, T as r, et as i, rt as a, st as o, tt as s } from "./preset-core-CKc5YXSM.js";
1
+ import { b as e, c as t, o as n, s as r, u as i } from "./limits-CFERRrlC.js";
2
+ import { T as a } from "./preset-core-BW3NWZJ9.js";
3
+ import { l as o, n as s } from "./version-B0G1699c.js";
2
4
  // src/presets/default-authoring.ts
3
5
  var c = Object.freeze([
4
6
  {
@@ -1147,7 +1149,7 @@ function m(e, t) {
1147
1149
  let n = c.find((t) => t.id === e);
1148
1150
  return n ? p(n.title, t, n.id) : e;
1149
1151
  }
1150
- function ee(e) {
1152
+ function h(e) {
1151
1153
  let t = f(e);
1152
1154
  if (!t) return;
1153
1155
  let n = [];
@@ -1157,7 +1159,7 @@ function ee(e) {
1157
1159
  }
1158
1160
  return Object.freeze(n);
1159
1161
  }
1160
- function h(e) {
1162
+ function g(e) {
1161
1163
  let t = f(e);
1162
1164
  if (!t) return;
1163
1165
  let n = t.insertText.en;
@@ -1169,7 +1171,7 @@ function h(e) {
1169
1171
  };
1170
1172
  }
1171
1173
  // src/presets/default-semantics.ts
1172
- var g = t, _ = {
1174
+ var _ = o, v = {
1173
1175
  text: (e = {}) => ({
1174
1176
  kind: "string",
1175
1177
  coerce: "text",
@@ -1202,11 +1204,11 @@ var g = t, _ = {
1202
1204
  enum: e,
1203
1205
  ...t
1204
1206
  })
1205
- }, v = (e = {}) => _.text(e), y = () => _.text(), b = () => _.text(), x = () => _.boolean({
1207
+ }, y = (e = {}) => v.text(e), b = () => v.text(), x = () => v.text(), S = () => v.boolean({
1206
1208
  dynamic: !0,
1207
1209
  default: !1
1208
- }), S = () => _.staticText({ color: !0 });
1209
- function te() {
1210
+ }), C = () => v.staticText({ color: !0 });
1211
+ function ee() {
1210
1212
  return Object.freeze({
1211
1213
  interactive: !0,
1212
1214
  static: !0,
@@ -1214,7 +1216,7 @@ function te() {
1214
1216
  offline: !0
1215
1217
  });
1216
1218
  }
1217
- function C(e, t, n, r = {}) {
1219
+ function w(e, t, n, r = {}) {
1218
1220
  return Object.freeze({
1219
1221
  kind: e,
1220
1222
  family: t,
@@ -1224,7 +1226,7 @@ function C(e, t, n, r = {}) {
1224
1226
  ...r
1225
1227
  });
1226
1228
  }
1227
- function w(e, t, n = {}) {
1229
+ function T(e, t, n = {}) {
1228
1230
  return Object.freeze({
1229
1231
  kind: "number",
1230
1232
  family: "number",
@@ -1235,57 +1237,57 @@ function w(e, t, n = {}) {
1235
1237
  ...n
1236
1238
  });
1237
1239
  }
1238
- var T = (e, t, n = "step") => ({
1240
+ var E = (e, t, n = "step") => ({
1239
1241
  min: { prop: e },
1240
1242
  max: { prop: t },
1241
1243
  step: { prop: n }
1242
1244
  });
1243
- function E(e) {
1245
+ function D(e) {
1244
1246
  return Object.freeze(e);
1245
1247
  }
1246
- function D(...e) {
1248
+ function O(...e) {
1247
1249
  return Object.freeze(e.map((e) => Object.freeze(e)));
1248
1250
  }
1249
- function O(e, t, i) {
1250
- return r({
1251
+ function k(e, t, n) {
1252
+ return a({
1251
1253
  id: `reactive-md/${e}`,
1252
1254
  name: e,
1253
- version: g,
1254
- protocol: n,
1255
+ version: _,
1256
+ protocol: s,
1255
1257
  form: t,
1256
- capabilities: te(),
1257
- ...i
1258
+ capabilities: ee(),
1259
+ ...n
1258
1260
  });
1259
1261
  }
1260
- var k = O("input", "leaf", {
1262
+ var A = k("input", "leaf", {
1261
1263
  props: {
1262
- label: v(),
1263
- type: _.choice(["text", "email"], {
1264
+ label: y(),
1265
+ type: v.choice(["text", "email"], {
1264
1266
  static: !0,
1265
1267
  default: "text"
1266
1268
  }),
1267
- placeholder: _.text(),
1268
- required: _.boolean({
1269
+ placeholder: v.text(),
1270
+ required: v.boolean({
1269
1271
  dynamic: !0,
1270
1272
  default: !1
1271
1273
  }),
1272
- "min-length": _.number({
1274
+ "min-length": v.number({
1273
1275
  integer: !0,
1274
1276
  min: 0,
1275
1277
  default: 0
1276
1278
  }),
1277
- "max-length": _.number({
1279
+ "max-length": v.number({
1278
1280
  integer: !0,
1279
1281
  min: 0
1280
1282
  }),
1281
- disabled: x()
1283
+ disabled: S()
1282
1284
  },
1283
- bindings: { value: C("string", "text", "empty") },
1284
- structure: E({
1285
+ bindings: { value: w("string", "text", "empty") },
1286
+ structure: D({
1285
1287
  rule: "none",
1286
1288
  label: "required"
1287
1289
  }),
1288
- rules: D({
1290
+ rules: O({
1289
1291
  kind: "text-length",
1290
1292
  min: "min-length",
1291
1293
  max: "max-length"
@@ -1302,36 +1304,36 @@ var k = O("input", "leaf", {
1302
1304
  kind: "value-required",
1303
1305
  required: "required"
1304
1306
  })
1305
- }), A = O("textarea", "leaf", {
1307
+ }), j = k("textarea", "leaf", {
1306
1308
  props: {
1307
- label: v(),
1308
- placeholder: _.text(),
1309
- rows: _.number({
1309
+ label: y(),
1310
+ placeholder: v.text(),
1311
+ rows: v.number({
1310
1312
  integer: !0,
1311
1313
  positive: !0,
1312
1314
  default: 4
1313
1315
  }),
1314
- required: _.boolean({
1316
+ required: v.boolean({
1315
1317
  dynamic: !0,
1316
1318
  default: !1
1317
1319
  }),
1318
- "min-length": _.number({
1320
+ "min-length": v.number({
1319
1321
  integer: !0,
1320
1322
  min: 0,
1321
1323
  default: 0
1322
1324
  }),
1323
- "max-length": _.number({
1325
+ "max-length": v.number({
1324
1326
  integer: !0,
1325
1327
  min: 0
1326
1328
  }),
1327
- disabled: x()
1329
+ disabled: S()
1328
1330
  },
1329
- bindings: { value: C("string", "text", "empty") },
1330
- structure: E({
1331
+ bindings: { value: w("string", "text", "empty") },
1332
+ structure: D({
1331
1333
  rule: "none",
1332
1334
  label: "required"
1333
1335
  }),
1334
- rules: D({
1336
+ rules: O({
1335
1337
  kind: "text-length",
1336
1338
  min: "min-length",
1337
1339
  max: "max-length"
@@ -1346,23 +1348,23 @@ var k = O("input", "leaf", {
1346
1348
  kind: "value-required",
1347
1349
  required: "required"
1348
1350
  })
1349
- }), j = O("number", "leaf", {
1351
+ }), M = k("number", "leaf", {
1350
1352
  props: {
1351
- label: v(),
1352
- min: _.number({ dynamic: !0 }),
1353
- max: _.number({ dynamic: !0 }),
1354
- step: _.number({
1353
+ label: y(),
1354
+ min: v.number({ dynamic: !0 }),
1355
+ max: v.number({ dynamic: !0 }),
1356
+ step: v.number({
1355
1357
  positive: !0,
1356
1358
  default: 1
1357
1359
  }),
1358
- disabled: x()
1360
+ disabled: S()
1359
1361
  },
1360
- bindings: { value: C("number", "number", "nearest-zero", { constraints: T("min", "max") }) },
1361
- structure: E({
1362
+ bindings: { value: w("number", "number", "nearest-zero", { constraints: E("min", "max") }) },
1363
+ structure: D({
1362
1364
  rule: "none",
1363
1365
  label: "required"
1364
1366
  }),
1365
- rules: D({
1367
+ rules: O({
1366
1368
  kind: "numeric-range",
1367
1369
  min: "min",
1368
1370
  max: "max",
@@ -1371,30 +1373,30 @@ var k = O("input", "leaf", {
1371
1373
  kind: "dynamic-constraints",
1372
1374
  attributes: ["min", "max"]
1373
1375
  })
1374
- }), M = O("slider", "leaf", {
1376
+ }), N = k("slider", "leaf", {
1375
1377
  props: {
1376
- label: v(),
1377
- min: _.number({
1378
+ label: y(),
1379
+ min: v.number({
1378
1380
  dynamic: !0,
1379
1381
  default: 0
1380
1382
  }),
1381
- max: _.number({
1383
+ max: v.number({
1382
1384
  dynamic: !0,
1383
1385
  default: 100
1384
1386
  }),
1385
- step: _.number({
1387
+ step: v.number({
1386
1388
  positive: !0,
1387
1389
  default: 1
1388
1390
  }),
1389
- disabled: x(),
1390
- color: S()
1391
+ disabled: S(),
1392
+ color: C()
1391
1393
  },
1392
- bindings: { value: C("number", "number", "min", { constraints: T("min", "max") }) },
1393
- structure: E({
1394
+ bindings: { value: w("number", "number", "min", { constraints: E("min", "max") }) },
1395
+ structure: D({
1394
1396
  rule: "none",
1395
1397
  label: "required"
1396
1398
  }),
1397
- rules: D({
1399
+ rules: O({
1398
1400
  kind: "numeric-range",
1399
1401
  min: "min",
1400
1402
  max: "max",
@@ -1403,67 +1405,67 @@ var k = O("input", "leaf", {
1403
1405
  kind: "dynamic-constraints",
1404
1406
  attributes: ["min", "max"]
1405
1407
  })
1406
- }), N = O("range-slider", "leaf", {
1408
+ }), P = k("range-slider", "leaf", {
1407
1409
  props: {
1408
- label: v(),
1409
- min: _.number({ default: 0 }),
1410
- max: _.number({ default: 100 }),
1411
- step: _.number({
1410
+ label: y(),
1411
+ min: v.number({ default: 0 }),
1412
+ max: v.number({ default: 100 }),
1413
+ step: v.number({
1412
1414
  positive: !0,
1413
1415
  default: 1
1414
1416
  }),
1415
- disabled: x(),
1416
- color: S()
1417
+ disabled: S(),
1418
+ color: C()
1417
1419
  },
1418
1420
  bindings: {
1419
- start: w("start", "min", { constraints: T("min", "max") }),
1420
- end: w("end", "max-step", { constraints: T("min", "max") })
1421
+ start: T("start", "min", { constraints: E("min", "max") }),
1422
+ end: T("end", "max-step", { constraints: E("min", "max") })
1421
1423
  },
1422
1424
  slotRelations: [{
1423
1425
  lower: "start",
1424
1426
  upper: "end"
1425
1427
  }],
1426
- structure: E({
1428
+ structure: D({
1427
1429
  rule: "none",
1428
1430
  label: "required"
1429
1431
  }),
1430
- rules: D({
1432
+ rules: O({
1431
1433
  kind: "numeric-range",
1432
1434
  min: "min",
1433
1435
  max: "max",
1434
1436
  step: "step"
1435
1437
  })
1436
- }), P = O("coordinate", "leaf", {
1438
+ }), F = k("coordinate", "leaf", {
1437
1439
  props: {
1438
- label: v(),
1439
- "x-min": _.number({ default: -5 }),
1440
- "x-max": _.number({ default: 5 }),
1441
- "y-min": _.number({ default: -5 }),
1442
- "y-max": _.number({ default: 5 }),
1443
- step: _.number({
1440
+ label: y(),
1441
+ "x-min": v.number({ default: -5 }),
1442
+ "x-max": v.number({ default: 5 }),
1443
+ "y-min": v.number({ default: -5 }),
1444
+ "y-max": v.number({ default: 5 }),
1445
+ step: v.number({
1444
1446
  positive: !0,
1445
1447
  default: 1
1446
1448
  }),
1447
- disabled: x(),
1448
- color: S()
1449
+ disabled: S(),
1450
+ color: C()
1449
1451
  },
1450
1452
  bindings: {
1451
- x: w("x", "nearest-zero", { constraints: {
1453
+ x: T("x", "nearest-zero", { constraints: {
1452
1454
  min: { prop: "x-min" },
1453
1455
  max: { prop: "x-max" },
1454
1456
  step: { prop: "step" }
1455
1457
  } }),
1456
- y: w("y", "nearest-zero", { constraints: {
1458
+ y: T("y", "nearest-zero", { constraints: {
1457
1459
  min: { prop: "y-min" },
1458
1460
  max: { prop: "y-max" },
1459
1461
  step: { prop: "step" }
1460
1462
  } })
1461
1463
  },
1462
- structure: E({
1464
+ structure: D({
1463
1465
  rule: "none",
1464
1466
  label: "required"
1465
1467
  }),
1466
- rules: D({
1468
+ rules: O({
1467
1469
  kind: "numeric-range",
1468
1470
  min: "x-min",
1469
1471
  max: "x-max",
@@ -1473,45 +1475,45 @@ var k = O("input", "leaf", {
1473
1475
  min: "y-min",
1474
1476
  max: "y-max"
1475
1477
  })
1476
- }), F = O("toggle", "leaf", {
1478
+ }), I = k("toggle", "leaf", {
1477
1479
  props: {
1478
- label: v(),
1479
- disabled: x(),
1480
- color: S()
1480
+ label: y(),
1481
+ disabled: S(),
1482
+ color: C()
1481
1483
  },
1482
- bindings: { value: C("boolean", "boolean", "false") },
1483
- structure: E({
1484
+ bindings: { value: w("boolean", "boolean", "false") },
1485
+ structure: D({
1484
1486
  rule: "none",
1485
1487
  label: "required"
1486
1488
  })
1487
- }), I = O("checkbox", "leaf", {
1489
+ }), L = k("checkbox", "leaf", {
1488
1490
  props: {
1489
- label: v(),
1490
- disabled: x(),
1491
- color: S()
1491
+ label: y(),
1492
+ disabled: S(),
1493
+ color: C()
1492
1494
  },
1493
- bindings: { value: C("boolean", "boolean", "false") },
1494
- structure: E({
1495
+ bindings: { value: w("boolean", "boolean", "false") },
1496
+ structure: D({
1495
1497
  rule: "none",
1496
1498
  label: "required"
1497
1499
  })
1498
- }), L = O("date", "leaf", {
1500
+ }), R = k("date", "leaf", {
1499
1501
  props: {
1500
- label: v(),
1501
- min: _.dynamicText(),
1502
- max: _.dynamicText(),
1503
- required: _.boolean({
1502
+ label: y(),
1503
+ min: v.dynamicText(),
1504
+ max: v.dynamicText(),
1505
+ required: v.boolean({
1504
1506
  dynamic: !0,
1505
1507
  default: !1
1506
1508
  }),
1507
- disabled: x()
1509
+ disabled: S()
1508
1510
  },
1509
- bindings: { value: C("string", "date", "empty") },
1510
- structure: E({
1511
+ bindings: { value: w("string", "date", "empty") },
1512
+ structure: D({
1511
1513
  rule: "none",
1512
1514
  label: "required"
1513
1515
  }),
1514
- rules: D({
1516
+ rules: O({
1515
1517
  kind: "date-bounds",
1516
1518
  min: "min",
1517
1519
  max: "max"
@@ -1529,111 +1531,111 @@ var k = O("input", "leaf", {
1529
1531
  required: "required"
1530
1532
  })
1531
1533
  });
1532
- function R(t, n = "container") {
1533
- return O(t, n, {
1534
+ function z(e, t = "container") {
1535
+ return k(e, t, {
1534
1536
  props: {
1535
- label: v(),
1536
- disabled: x(),
1537
- color: S()
1537
+ label: y(),
1538
+ disabled: S(),
1539
+ color: C()
1538
1540
  },
1539
- bindings: { value: C("string", "choice", "first-option") },
1540
- structure: E({
1541
+ bindings: { value: w("string", "choice", "first-option") },
1542
+ structure: D({
1541
1543
  rule: "options",
1542
1544
  label: "required",
1543
1545
  child: "option",
1544
1546
  children: ["option"],
1545
1547
  min: 1,
1546
- max: e,
1548
+ max: n,
1547
1549
  valueAttribute: "value"
1548
1550
  }),
1549
- rules: D({
1551
+ rules: O({
1550
1552
  kind: "options-body",
1551
1553
  child: "option",
1552
1554
  valueAttribute: "value",
1553
1555
  unique: !0,
1554
- max: e
1556
+ max: n
1555
1557
  })
1556
1558
  });
1557
1559
  }
1558
- var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select", "container", {
1560
+ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select", "container", {
1559
1561
  props: {
1560
- label: v(),
1561
- "max-selected": _.number({
1562
+ label: y(),
1563
+ "max-selected": v.number({
1562
1564
  integer: !0,
1563
1565
  min: 0
1564
1566
  }),
1565
- disabled: x(),
1566
- color: S()
1567
+ disabled: S(),
1568
+ color: C()
1567
1569
  },
1568
- bindings: { value: C("array", "multi-select", "empty-array", {
1570
+ bindings: { value: w("array", "multi-select", "empty-array", {
1569
1571
  exclusive: !0,
1570
1572
  maxItems: { prop: "max-selected" }
1571
1573
  }) },
1572
- structure: E({
1574
+ structure: D({
1573
1575
  rule: "options",
1574
1576
  label: "required",
1575
1577
  child: "option",
1576
1578
  children: ["option"],
1577
1579
  min: 1,
1578
- max: e,
1580
+ max: n,
1579
1581
  valueAttribute: "value",
1580
1582
  forbidSeparator: ","
1581
1583
  }),
1582
- rules: D({
1584
+ rules: O({
1583
1585
  kind: "options-body",
1584
1586
  child: "option",
1585
1587
  valueAttribute: "value",
1586
1588
  unique: !0,
1587
- max: e,
1589
+ max: n,
1588
1590
  forbidSeparator: ","
1589
1591
  }, {
1590
1592
  kind: "option-count",
1591
1593
  max: "max-selected"
1592
1594
  })
1593
- }), U = O("option", "container", {
1594
- props: { value: _.staticText({ required: !0 }) },
1595
- structure: E({
1595
+ }), W = k("option", "container", {
1596
+ props: { value: v.staticText({ required: !0 }) },
1597
+ structure: D({
1596
1598
  rule: "inline",
1597
1599
  label: "none",
1598
1600
  inlineOnly: !0,
1599
1601
  noComponents: !0
1600
1602
  }),
1601
- rules: D({
1603
+ rules: O({
1602
1604
  kind: "inline-body",
1603
1605
  strict: !0
1604
1606
  }, { kind: "no-components" })
1605
- }), W = O("counter", "leaf", {
1607
+ }), G = k("counter", "leaf", {
1606
1608
  props: {
1607
- label: v(),
1608
- min: _.number({ default: 0 }),
1609
- max: _.number(),
1610
- step: _.number({
1609
+ label: y(),
1610
+ min: v.number({ default: 0 }),
1611
+ max: v.number(),
1612
+ step: v.number({
1611
1613
  positive: !0,
1612
1614
  default: 1
1613
1615
  }),
1614
- disabled: x()
1616
+ disabled: S()
1615
1617
  },
1616
- bindings: { value: C("number", "number", "nearest-zero", { constraints: T("min", "max") }) },
1617
- structure: E({
1618
+ bindings: { value: w("number", "number", "nearest-zero", { constraints: E("min", "max") }) },
1619
+ structure: D({
1618
1620
  rule: "none",
1619
1621
  label: "required"
1620
1622
  }),
1621
- rules: D({
1623
+ rules: O({
1622
1624
  kind: "numeric-range",
1623
1625
  min: "min",
1624
1626
  max: "max",
1625
1627
  step: "step"
1626
1628
  })
1627
- }), G = O("timer", "leaf", {
1629
+ }), K = k("timer", "leaf", {
1628
1630
  props: {
1629
- label: v(),
1630
- duration: _.number({
1631
+ label: y(),
1632
+ duration: v.number({
1631
1633
  integer: !0,
1632
1634
  positive: !0,
1633
1635
  default: 60
1634
1636
  })
1635
1637
  },
1636
- bindings: { value: C("number", "timer", "duration", {
1638
+ bindings: { value: w("number", "timer", "duration", {
1637
1639
  exclusive: !0,
1638
1640
  constraints: {
1639
1641
  min: { literal: 0 },
@@ -1642,11 +1644,11 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
1642
1644
  },
1643
1645
  retain: !1
1644
1646
  }) },
1645
- structure: E({
1647
+ structure: D({
1646
1648
  rule: "none",
1647
1649
  label: "required"
1648
1650
  }),
1649
- rules: D({
1651
+ rules: O({
1650
1652
  kind: "timer-duration",
1651
1653
  attribute: "duration",
1652
1654
  default: 60
@@ -1654,184 +1656,184 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
1654
1656
  kind: "retain",
1655
1657
  value: !1
1656
1658
  })
1657
- }), K = O("checklist", "container", {
1659
+ }), q = k("checklist", "container", {
1658
1660
  props: {
1659
- label: v(),
1660
- disabled: x(),
1661
- color: S()
1661
+ label: y(),
1662
+ disabled: S(),
1663
+ color: C()
1662
1664
  },
1663
- bindings: { value: C("array", "checklist", "checked", {
1665
+ bindings: { value: w("array", "checklist", "checked", {
1664
1666
  exclusive: !0,
1665
1667
  retain: !1
1666
1668
  }) },
1667
- structure: E({
1669
+ structure: D({
1668
1670
  rule: "content",
1669
1671
  label: "required",
1670
1672
  noComponents: !0
1671
1673
  }),
1672
- rules: D({
1674
+ rules: O({
1673
1675
  kind: "checklist-body",
1674
- itemLimit: e
1676
+ itemLimit: n
1675
1677
  }, {
1676
1678
  kind: "retain",
1677
1679
  value: !1
1678
1680
  })
1679
- }), q = O("progress", "leaf", {
1681
+ }), J = k("progress", "leaf", {
1680
1682
  props: {
1681
- label: v(),
1682
- value: _.number({
1683
+ label: y(),
1684
+ value: v.number({
1683
1685
  dynamic: !0,
1684
1686
  required: !0
1685
1687
  }),
1686
- max: _.number({
1688
+ max: v.number({
1687
1689
  positive: !0,
1688
1690
  default: 100
1689
1691
  }),
1690
- color: S()
1692
+ color: C()
1691
1693
  },
1692
- structure: E({
1694
+ structure: D({
1693
1695
  rule: "none",
1694
1696
  label: "required"
1695
1697
  }),
1696
- rules: D({
1698
+ rules: O({
1697
1699
  kind: "progress-bounds",
1698
1700
  value: "value",
1699
1701
  max: "max",
1700
1702
  defaultMax: 100
1701
1703
  })
1702
- }), J = O("jump", "inline", {
1704
+ }), Y = k("jump", "inline", {
1703
1705
  props: {
1704
- to: _.staticText({ required: !0 }),
1705
- appearance: _.choice(["link", "button"], {
1706
+ to: v.staticText({ required: !0 }),
1707
+ appearance: v.choice(["link", "button"], {
1706
1708
  static: !0,
1707
1709
  default: "link"
1708
1710
  }),
1709
- color: S()
1711
+ color: C()
1710
1712
  },
1711
- structure: E({
1713
+ structure: D({
1712
1714
  rule: "inline",
1713
1715
  label: "none",
1714
1716
  inlineOnly: !0,
1715
1717
  noComponents: !0
1716
1718
  }),
1717
- rules: D({
1719
+ rules: O({
1718
1720
  kind: "inline-body",
1719
1721
  strict: !0
1720
1722
  }, { kind: "no-components" }, {
1721
1723
  kind: "navigation",
1722
1724
  target: "to"
1723
1725
  })
1724
- }), Y = O("anchor", "leaf", {
1725
- props: { id: _.staticText({ required: !0 }) },
1726
- structure: E({
1726
+ }), X = k("anchor", "leaf", {
1727
+ props: { id: v.staticText({ required: !0 }) },
1728
+ structure: D({
1727
1729
  rule: "none",
1728
1730
  label: "none"
1729
1731
  }),
1730
- rules: D({
1732
+ rules: O({
1731
1733
  kind: "anchor",
1732
1734
  id: "id"
1733
1735
  })
1734
- }), X = O("text", "inline", {
1735
- props: { color: _.staticText({
1736
+ }), Z = k("text", "inline", {
1737
+ props: { color: v.staticText({
1736
1738
  required: !0,
1737
1739
  color: !0
1738
1740
  }) },
1739
- structure: E({
1741
+ structure: D({
1740
1742
  rule: "inline",
1741
1743
  label: "none",
1742
1744
  inlineOnly: !0,
1743
1745
  noComponents: !0
1744
1746
  }),
1745
- rules: D({
1747
+ rules: O({
1746
1748
  kind: "inline-body",
1747
1749
  strict: !0
1748
1750
  }, { kind: "no-components" })
1749
- }), ne = O("section", "container", {
1750
- props: { color: _.staticText({
1751
+ }), te = k("section", "container", {
1752
+ props: { color: v.staticText({
1751
1753
  required: !0,
1752
1754
  color: !0
1753
1755
  }) },
1754
- structure: E({
1756
+ structure: D({
1755
1757
  rule: "any",
1756
1758
  label: "none"
1757
1759
  })
1758
- }), Z = O("quiz", "container", {
1760
+ }), Q = k("quiz", "container", {
1759
1761
  props: {
1760
- type: _.choice(["choice", "number"], {
1762
+ type: v.choice(["choice", "number"], {
1761
1763
  static: !0,
1762
1764
  default: "choice"
1763
1765
  }),
1764
- label: v(),
1765
- answer: _.staticText({ required: !0 }),
1766
- explanation: _.text(),
1767
- tolerance: _.number({
1766
+ label: y(),
1767
+ answer: v.staticText({ required: !0 }),
1768
+ explanation: v.text(),
1769
+ tolerance: v.number({
1768
1770
  min: 0,
1769
1771
  default: 0
1770
1772
  }),
1771
- disabled: x()
1773
+ disabled: S()
1772
1774
  },
1773
- structure: E({
1775
+ structure: D({
1774
1776
  rule: "quiz",
1775
1777
  label: "required",
1776
1778
  child: "option",
1777
1779
  children: ["option"],
1778
- max: e,
1780
+ max: n,
1779
1781
  valueAttribute: "value"
1780
1782
  }),
1781
- rules: D({
1783
+ rules: O({
1782
1784
  kind: "quiz-body",
1783
1785
  type: "type",
1784
1786
  answer: "answer",
1785
1787
  tolerance: "tolerance",
1786
1788
  child: "option",
1787
1789
  valueAttribute: "value",
1788
- max: e
1790
+ max: n
1789
1791
  }, {
1790
1792
  kind: "nonempty",
1791
1793
  attribute: "answer"
1792
1794
  })
1793
- }), re = O("panel", "container", {
1795
+ }), ne = k("panel", "container", {
1794
1796
  props: {
1795
- title: b(),
1796
- reset: _.boolean({ default: !0 })
1797
+ title: x(),
1798
+ reset: v.boolean({ default: !0 })
1797
1799
  },
1798
- structure: E({
1800
+ structure: D({
1799
1801
  rule: "any",
1800
1802
  label: "none"
1801
1803
  }),
1802
- rules: D({
1804
+ rules: O({
1803
1805
  kind: "self-binding-read",
1804
1806
  mode: "always"
1805
1807
  })
1806
- }), ie = O("card", "container", {
1807
- props: { title: b() },
1808
- structure: E({
1808
+ }), re = k("card", "container", {
1809
+ props: { title: x() },
1810
+ structure: D({
1809
1811
  rule: "any",
1810
1812
  label: "none"
1811
1813
  })
1812
- }), ae = O("grid", "container", {
1813
- props: { columns: _.number({
1814
+ }), ie = k("grid", "container", {
1815
+ props: { columns: v.number({
1814
1816
  integer: !0,
1815
1817
  min: 1,
1816
1818
  max: 4,
1817
1819
  default: 2
1818
1820
  }) },
1819
- structure: E({
1821
+ structure: D({
1820
1822
  rule: "components",
1821
1823
  label: "none",
1822
1824
  child: "card",
1823
1825
  children: ["card"],
1824
1826
  min: 1
1825
1827
  }),
1826
- rules: D({
1828
+ rules: O({
1827
1829
  kind: "only-children",
1828
1830
  children: ["card"],
1829
1831
  min: 1
1830
1832
  })
1831
- }), oe = O("gallery", "container", {
1833
+ }), ae = k("gallery", "container", {
1832
1834
  props: {
1833
- label: v({ required: !0 }),
1834
- "item-width": _.number({
1835
+ label: y({ required: !0 }),
1836
+ "item-width": v.number({
1835
1837
  dynamic: !0,
1836
1838
  integer: !0,
1837
1839
  default: 280,
@@ -1839,28 +1841,28 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
1839
1841
  max: 480
1840
1842
  })
1841
1843
  },
1842
- structure: E({
1844
+ structure: D({
1843
1845
  rule: "components",
1844
1846
  label: "required",
1845
1847
  child: "gallery-item",
1846
1848
  children: ["gallery-item"],
1847
1849
  min: 1
1848
1850
  }),
1849
- rules: D({
1851
+ rules: O({
1850
1852
  kind: "only-children",
1851
1853
  children: ["gallery-item"],
1852
1854
  min: 1
1853
1855
  })
1854
- }), se = O("gallery-item", "container", {
1855
- props: { label: y() },
1856
- structure: E({
1856
+ }), oe = k("gallery-item", "container", {
1857
+ props: { label: b() },
1858
+ structure: D({
1857
1859
  rule: "any",
1858
1860
  label: "none"
1859
1861
  })
1860
- }), ce = O("tabs", "container", {
1861
- props: { label: y() },
1862
- bindings: { value: C("string", "tabs", "first-tab", { exclusive: !0 }) },
1863
- structure: E({
1862
+ }), se = k("tabs", "container", {
1863
+ props: { label: b() },
1864
+ bindings: { value: w("string", "tabs", "first-tab", { exclusive: !0 }) },
1865
+ structure: D({
1864
1866
  rule: "tabs",
1865
1867
  label: "optional",
1866
1868
  child: "tab",
@@ -1869,7 +1871,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
1869
1871
  valueAttribute: "value",
1870
1872
  generatedPrefix: "tab-"
1871
1873
  }),
1872
- rules: D({
1874
+ rules: O({
1873
1875
  kind: "value-sequence",
1874
1876
  child: "tab",
1875
1877
  valueAttribute: "value",
@@ -1877,20 +1879,20 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
1877
1879
  generatedPrefix: "tab-",
1878
1880
  unique: !0
1879
1881
  })
1880
- }), le = O("tab", "container", {
1882
+ }), ce = k("tab", "container", {
1881
1883
  props: {
1882
- label: v(),
1883
- value: _.staticText()
1884
+ label: y(),
1885
+ value: v.staticText()
1884
1886
  },
1885
- structure: E({
1887
+ structure: D({
1886
1888
  rule: "any",
1887
1889
  label: "required",
1888
1890
  parents: ["tabs"]
1889
1891
  })
1890
- }), ue = O("steps", "container", {
1891
- props: { label: y() },
1892
- bindings: { value: C("string", "steps", "first-step", { exclusive: !0 }) },
1893
- structure: E({
1892
+ }), le = k("steps", "container", {
1893
+ props: { label: b() },
1894
+ bindings: { value: w("string", "steps", "first-step", { exclusive: !0 }) },
1895
+ structure: D({
1894
1896
  rule: "steps",
1895
1897
  label: "optional",
1896
1898
  child: "step",
@@ -1899,7 +1901,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
1899
1901
  valueAttribute: "value",
1900
1902
  generatedPrefix: "step-"
1901
1903
  }),
1902
- rules: D({
1904
+ rules: O({
1903
1905
  kind: "value-sequence",
1904
1906
  child: "step",
1905
1907
  valueAttribute: "value",
@@ -1907,57 +1909,57 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
1907
1909
  generatedPrefix: "step-",
1908
1910
  unique: !0
1909
1911
  })
1910
- }), de = O("step", "container", {
1912
+ }), ue = k("step", "container", {
1911
1913
  props: {
1912
- label: v(),
1913
- value: _.staticText()
1914
+ label: y(),
1915
+ value: v.staticText()
1914
1916
  },
1915
- structure: E({
1917
+ structure: D({
1916
1918
  rule: "any",
1917
1919
  label: "required",
1918
1920
  parents: ["steps"]
1919
1921
  })
1920
- }), fe = O("accordion", "container", {
1921
- props: { label: y() },
1922
- structure: E({
1922
+ }), de = k("accordion", "container", {
1923
+ props: { label: b() },
1924
+ structure: D({
1923
1925
  rule: "components",
1924
1926
  label: "optional",
1925
1927
  child: "disclosure",
1926
1928
  children: ["disclosure"],
1927
1929
  min: 1
1928
1930
  }),
1929
- rules: D({
1931
+ rules: O({
1930
1932
  kind: "only-children",
1931
1933
  children: ["disclosure"],
1932
1934
  min: 1
1933
1935
  })
1934
- }), pe = O("disclosure", "container", {
1936
+ }), fe = k("disclosure", "container", {
1935
1937
  props: {
1936
- label: v(),
1937
- open: _.boolean({ default: !1 })
1938
+ label: y(),
1939
+ open: v.boolean({ default: !1 })
1938
1940
  },
1939
- structure: E({
1941
+ structure: D({
1940
1942
  rule: "any",
1941
1943
  label: "required",
1942
1944
  parents: ["accordion"]
1943
1945
  })
1944
- }), me = O("if", "container", {
1945
- props: { when: _.boolean({
1946
+ }), pe = k("if", "container", {
1947
+ props: { when: v.boolean({
1946
1948
  dynamic: !0,
1947
1949
  required: !0
1948
1950
  }) },
1949
- structure: E({
1951
+ structure: D({
1950
1952
  rule: "any",
1951
1953
  label: "none"
1952
1954
  }),
1953
- rules: D({
1955
+ rules: O({
1954
1956
  kind: "require-full-interpolation",
1955
1957
  attributes: ["when"]
1956
1958
  })
1957
- }), he = O("alert", "container", {
1959
+ }), me = k("alert", "container", {
1958
1960
  props: {
1959
- title: b(),
1960
- tone: _.choice([
1961
+ title: x(),
1962
+ tone: v.choice([
1961
1963
  "info",
1962
1964
  "success",
1963
1965
  "warning",
@@ -1967,13 +1969,13 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
1967
1969
  default: "info"
1968
1970
  })
1969
1971
  },
1970
- structure: E({
1972
+ structure: D({
1971
1973
  rule: "any",
1972
1974
  label: "none"
1973
1975
  })
1974
- }), ge = O("badge", "inline", {
1976
+ }), he = k("badge", "inline", {
1975
1977
  props: {
1976
- tone: _.choice([
1978
+ tone: v.choice([
1977
1979
  "neutral",
1978
1980
  "success",
1979
1981
  "warning"
@@ -1981,44 +1983,44 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
1981
1983
  dynamic: !0,
1982
1984
  default: "neutral"
1983
1985
  }),
1984
- color: S()
1986
+ color: C()
1985
1987
  },
1986
- structure: E({
1988
+ structure: D({
1987
1989
  rule: "inline",
1988
1990
  label: "none",
1989
1991
  inlineOnly: !0,
1990
1992
  noComponents: !0
1991
1993
  }),
1992
- rules: D({
1994
+ rules: O({
1993
1995
  kind: "inline-body",
1994
1996
  strict: !0
1995
1997
  }, { kind: "no-components" })
1996
- }), _e = O("tooltip", "inline", {
1997
- props: { text: _.text({ required: !0 }) },
1998
- structure: E({
1998
+ }), ge = k("tooltip", "inline", {
1999
+ props: { text: v.text({ required: !0 }) },
2000
+ structure: D({
1999
2001
  rule: "inline",
2000
2002
  label: "none",
2001
2003
  inlineOnly: !0,
2002
2004
  noComponents: !0
2003
2005
  }),
2004
- rules: D({
2006
+ rules: O({
2005
2007
  kind: "inline-body",
2006
2008
  strict: !0
2007
2009
  }, { kind: "no-components" })
2008
- }), ve = O("validation", "leaf", {
2010
+ }), _e = k("validation", "leaf", {
2009
2011
  props: {
2010
- when: _.boolean({
2012
+ when: v.boolean({
2011
2013
  dynamic: !0,
2012
2014
  required: !0
2013
2015
  }),
2014
- message: _.text({ required: !0 }),
2015
- fields: _.staticText({ required: !0 })
2016
+ message: v.text({ required: !0 }),
2017
+ fields: v.staticText({ required: !0 })
2016
2018
  },
2017
- structure: E({
2019
+ structure: D({
2018
2020
  rule: "none",
2019
2021
  label: "none"
2020
2022
  }),
2021
- rules: D({
2023
+ rules: O({
2022
2024
  kind: "validation-rule",
2023
2025
  when: "when",
2024
2026
  fields: "fields",
@@ -2030,19 +2032,19 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2030
2032
  attributes: ["fields"],
2031
2033
  scope: "validation"
2032
2034
  })
2033
- }), ye = O("data-table", "container", {
2035
+ }), ve = k("data-table", "container", {
2034
2036
  props: {
2035
- label: _.staticText(),
2036
- rows: _.expressionText({ required: !0 }),
2037
- key: _.expressionText({ required: !0 }),
2038
- "max-rows": _.number({
2037
+ label: v.staticText(),
2038
+ rows: v.expressionText({ required: !0 }),
2039
+ key: v.expressionText({ required: !0 }),
2040
+ "max-rows": v.number({
2039
2041
  integer: !0,
2040
2042
  positive: !0,
2041
- max: a,
2043
+ max: i,
2042
2044
  default: 100
2043
2045
  })
2044
2046
  },
2045
- structure: E({
2047
+ structure: D({
2046
2048
  rule: "components",
2047
2049
  label: "required",
2048
2050
  child: "column",
@@ -2050,7 +2052,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2050
2052
  min: 1,
2051
2053
  max: 20
2052
2054
  }),
2053
- rules: D({
2055
+ rules: O({
2054
2056
  kind: "data-table",
2055
2057
  rows: "rows",
2056
2058
  key: "key",
@@ -2059,8 +2061,8 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2059
2061
  label: "label",
2060
2062
  maxRows: "max-rows",
2061
2063
  defaultMaxRows: 100,
2062
- documentRows: s,
2063
- documentCells: i,
2064
+ documentRows: t,
2065
+ documentCells: r,
2064
2066
  maxColumns: 20
2065
2067
  }, {
2066
2068
  kind: "require-full-interpolation",
@@ -2076,17 +2078,17 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2076
2078
  child: "column",
2077
2079
  childValue: "value"
2078
2080
  })
2079
- }), be = O("column", "leaf", {
2081
+ }), ye = k("column", "leaf", {
2080
2082
  props: {
2081
- label: _.staticText({ required: !0 }),
2082
- value: _.expressionText({ required: !0 })
2083
+ label: v.staticText({ required: !0 }),
2084
+ value: v.expressionText({ required: !0 })
2083
2085
  },
2084
- structure: E({
2086
+ structure: D({
2085
2087
  rule: "none",
2086
2088
  label: "none",
2087
2089
  parents: ["data-table"]
2088
2090
  }),
2089
- rules: D({
2091
+ rules: O({
2090
2092
  kind: "require-full-interpolation",
2091
2093
  attributes: ["value"]
2092
2094
  }, {
@@ -2094,24 +2096,24 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2094
2096
  attributes: ["value"],
2095
2097
  scope: "row"
2096
2098
  })
2097
- }), xe = O("table", "container", {
2099
+ }), be = k("table", "container", {
2098
2100
  props: {
2099
- label: y(),
2100
- searchable: _.boolean({ default: !0 }),
2101
- sortable: _.boolean({ default: !0 }),
2102
- "page-size": _.number({
2101
+ label: b(),
2102
+ searchable: v.boolean({ default: !0 }),
2103
+ sortable: v.boolean({ default: !0 }),
2104
+ "page-size": v.number({
2103
2105
  integer: !0,
2104
2106
  positive: !0,
2105
2107
  default: 10
2106
2108
  }),
2107
- key: _.staticText()
2109
+ key: v.staticText()
2108
2110
  },
2109
- bindings: { value: C("string", "selection", "none", { requiresAttributes: ["key"] }) },
2110
- structure: E({
2111
+ bindings: { value: w("string", "selection", "none", { requiresAttributes: ["key"] }) },
2112
+ structure: D({
2111
2113
  rule: "table",
2112
2114
  label: "optional"
2113
2115
  }),
2114
- rules: D({ kind: "single-table" }, {
2116
+ rules: O({ kind: "single-table" }, {
2115
2117
  kind: "selection-requires",
2116
2118
  key: "key",
2117
2119
  attributes: ["bind", "initial"]
@@ -2124,9 +2126,9 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2124
2126
  mode: "attribute",
2125
2127
  attribute: "key"
2126
2128
  })
2127
- }), Q = O("chart", "container", {
2129
+ }), xe = k("chart", "container", {
2128
2130
  props: {
2129
- kind: _.choice([
2131
+ kind: v.choice([
2130
2132
  "bar",
2131
2133
  "line",
2132
2134
  "area",
@@ -2137,19 +2139,19 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2137
2139
  static: !0,
2138
2140
  default: "bar"
2139
2141
  }),
2140
- title: b(),
2141
- x: _.staticText(),
2142
- y: _.staticText(),
2143
- "x-label": _.text(),
2144
- "y-label": _.text(),
2145
- key: _.staticText()
2146
- },
2147
- bindings: { value: C("string", "selection", "none", { requiresAttributes: ["key"] }) },
2148
- structure: E({
2142
+ title: x(),
2143
+ x: v.staticText(),
2144
+ y: v.staticText(),
2145
+ "x-label": v.text(),
2146
+ "y-label": v.text(),
2147
+ key: v.staticText()
2148
+ },
2149
+ bindings: { value: w("string", "selection", "none", { requiresAttributes: ["key"] }) },
2150
+ structure: D({
2149
2151
  rule: "table",
2150
2152
  label: "none"
2151
2153
  }),
2152
- rules: D({ kind: "single-table" }, {
2154
+ rules: O({ kind: "single-table" }, {
2153
2155
  kind: "chart-table",
2154
2156
  chartKind: "kind",
2155
2157
  x: "x",
@@ -2167,38 +2169,38 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2167
2169
  mode: "attribute",
2168
2170
  attribute: "key"
2169
2171
  })
2170
- }), Se = O("plot", "container", {
2172
+ }), Se = k("plot", "container", {
2171
2173
  props: {
2172
- label: y(),
2173
- min: _.number({
2174
+ label: b(),
2175
+ min: v.number({
2174
2176
  dynamic: !0,
2175
2177
  default: -10
2176
2178
  }),
2177
- max: _.number({
2179
+ max: v.number({
2178
2180
  dynamic: !0,
2179
2181
  default: 10
2180
2182
  }),
2181
- samples: _.number({
2183
+ samples: v.number({
2182
2184
  integer: !0,
2183
2185
  min: 2,
2184
2186
  max: 2e3,
2185
2187
  static: !0,
2186
2188
  default: 200
2187
2189
  }),
2188
- points: _.number({
2190
+ points: v.number({
2189
2191
  integer: !0,
2190
2192
  min: 2,
2191
2193
  max: 2e3,
2192
2194
  static: !0
2193
2195
  }),
2194
- "x-label": _.text({ default: "x" }),
2195
- "y-label": _.text({ default: "y" })
2196
+ "x-label": v.text({ default: "x" }),
2197
+ "y-label": v.text({ default: "y" })
2196
2198
  },
2197
- structure: E({
2199
+ structure: D({
2198
2200
  rule: "plot",
2199
2201
  label: "optional"
2200
2202
  }),
2201
- rules: D({ kind: "math-body" }, {
2203
+ rules: O({ kind: "math-body" }, {
2202
2204
  kind: "numeric-range",
2203
2205
  min: "min",
2204
2206
  max: "max",
@@ -2210,18 +2212,18 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2210
2212
  samples: "samples",
2211
2213
  samplesAlias: "points",
2212
2214
  curves: 16,
2213
- points: o
2215
+ points: e
2214
2216
  }, { kind: "inline-math-reads" })
2215
- }), Ce = O("timeline", "container", {
2217
+ }), Ce = k("timeline", "container", {
2216
2218
  props: {
2217
- title: b(),
2218
- unit: _.text({ default: "minutes" })
2219
+ title: x(),
2220
+ unit: v.text({ default: "minutes" })
2219
2221
  },
2220
- structure: E({
2222
+ structure: D({
2221
2223
  rule: "table",
2222
2224
  label: "none"
2223
2225
  }),
2224
- rules: D({ kind: "single-table" }, {
2226
+ rules: O({ kind: "single-table" }, {
2225
2227
  kind: "timeline-table",
2226
2228
  headerSets: [[
2227
2229
  "Task",
@@ -2235,23 +2237,23 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2235
2237
  "说明"
2236
2238
  ]]
2237
2239
  })
2238
- }), we = O("diagram", "container", {
2240
+ }), we = k("diagram", "container", {
2239
2241
  props: {
2240
- label: y(),
2241
- direction: _.choice(["right", "down"], {
2242
+ label: b(),
2243
+ direction: v.choice(["right", "down"], {
2242
2244
  static: !0,
2243
2245
  default: "right"
2244
2246
  })
2245
2247
  },
2246
- bindings: { value: C("string", "diagram", "first-node", { exclusive: !0 }) },
2247
- structure: E({
2248
+ bindings: { value: w("string", "diagram", "first-node", { exclusive: !0 }) },
2249
+ structure: D({
2248
2250
  rule: "diagram",
2249
2251
  label: "optional",
2250
2252
  child: "node",
2251
2253
  children: ["node", "edge"],
2252
2254
  min: 1
2253
2255
  }),
2254
- rules: D({
2256
+ rules: O({
2255
2257
  kind: "diagram-body",
2256
2258
  node: "node",
2257
2259
  edge: "edge",
@@ -2263,11 +2265,11 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2263
2265
  kind: "self-binding-read",
2264
2266
  mode: "always"
2265
2267
  })
2266
- }), Te = O("node", "container", {
2268
+ }), Te = k("node", "container", {
2267
2269
  props: {
2268
- id: _.staticText({ required: !0 }),
2269
- label: v(),
2270
- tone: _.choice([
2270
+ id: v.staticText({ required: !0 }),
2271
+ label: y(),
2272
+ tone: v.choice([
2271
2273
  "neutral",
2272
2274
  "success",
2273
2275
  "warning"
@@ -2276,26 +2278,25 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2276
2278
  default: "neutral"
2277
2279
  })
2278
2280
  },
2279
- structure: E({
2281
+ structure: D({
2280
2282
  rule: "content",
2281
2283
  label: "required",
2282
2284
  noComponents: !0,
2283
2285
  parents: ["diagram"]
2284
2286
  }),
2285
- rules: D({ kind: "no-components" })
2286
- }), Ee = O("edge", "leaf", {
2287
+ rules: O({ kind: "no-components" })
2288
+ }), Ee = k("edge", "leaf", {
2287
2289
  props: {
2288
- from: _.staticText({ required: !0 }),
2289
- to: _.staticText({ required: !0 }),
2290
- label: y()
2290
+ from: v.staticText({ required: !0 }),
2291
+ to: v.staticText({ required: !0 }),
2292
+ label: b()
2291
2293
  },
2292
- structure: E({
2294
+ structure: D({
2293
2295
  rule: "none",
2294
2296
  label: "none",
2295
2297
  parents: ["diagram"]
2296
2298
  })
2297
2299
  }), $ = Object.freeze([
2298
- k,
2299
2300
  A,
2300
2301
  j,
2301
2302
  M,
@@ -2304,7 +2305,7 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2304
2305
  F,
2305
2306
  I,
2306
2307
  L,
2307
- z,
2308
+ R,
2308
2309
  B,
2309
2310
  V,
2310
2311
  H,
@@ -2316,8 +2317,10 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2316
2317
  J,
2317
2318
  Y,
2318
2319
  X,
2319
- ne,
2320
2320
  Z,
2321
+ te,
2322
+ Q,
2323
+ ne,
2321
2324
  re,
2322
2325
  ie,
2323
2326
  ae,
@@ -2337,7 +2340,6 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2337
2340
  ye,
2338
2341
  be,
2339
2342
  xe,
2340
- Q,
2341
2343
  Se,
2342
2344
  Ce,
2343
2345
  we,
@@ -2346,11 +2348,11 @@ var z = R("select"), B = R("choices"), V = R("radio-group"), H = O("multi-select
2346
2348
  ]), De = Object.freeze($.map((e) => e.name));
2347
2349
  // src/presets/default-components.ts
2348
2350
  function Oe(e) {
2349
- let t = h(e.name);
2350
- return t ? r({
2351
+ let t = g(e.name);
2352
+ return t ? a({
2351
2353
  ...e,
2352
2354
  authoring: t
2353
2355
  }) : e;
2354
2356
  }
2355
2357
  var ke = Object.freeze($.map(Oe));
2356
- export { d as a, ee as c, p as d, c as i, f as l, De as n, u as o, $ as r, m as s, ke as t, h as u };
2358
+ export { d as a, h as c, p as d, c as i, f as l, De as n, u as o, $ as r, m as s, ke as t, g as u };