reactive-md 0.9.3 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/CHANGELOG-ch.md +34 -0
  2. package/CHANGELOG.md +34 -0
  3. package/README-ch.md +7 -7
  4. package/README-en.md +7 -7
  5. package/README.md +7 -7
  6. package/THIRD_PARTY_NOTICES.md +0 -57
  7. package/cli/help.mjs +6 -4
  8. package/cli/init.mjs +1 -1
  9. package/cli/migrate.mjs +1 -1
  10. package/dist-library/{LocalDocumentView-D6zQkTkt.js → LocalDocumentView-CP2QG86k.js} +46 -44
  11. package/dist-library/{LocalDocumentViewCore-CmJhemcA.js → LocalDocumentViewCore-Cd6yMEkg.js} +284 -265
  12. package/dist-library/{LocalReactiveDocumentCore-lAKOGAZ7.js → LocalReactiveDocumentCore-VuYpZqdn.js} +7 -7
  13. package/dist-library/LocalStaticDocumentView-DfX6bemE.js +147 -0
  14. package/dist-library/authoring-Bwu_zCWs.js +768 -0
  15. package/dist-library/choice-values-BItGjPD2.js +58 -0
  16. package/dist-library/compile-B35rfzKr.js +1742 -0
  17. package/dist-library/{compile-cache-key-6GgpETz_.js → compile-cache-key-D21X2Obx.js} +5 -5
  18. package/dist-library/{compiler-DLkKUK4t.js → compiler-DBwLawMZ.js} +4 -4
  19. package/dist-library/{compiler-core-Niqhp9wV.js → compiler-core-kkDiQ1RK.js} +3146 -2055
  20. package/dist-library/{component-kernel-IG4wOO0i.js → component-kernel-CsJSabHX.js} +42 -26
  21. package/dist-library/{component-state-Ht-hOK0W.js → component-state-Da0G8Ajc.js} +1 -1
  22. package/dist-library/{component-utils-eSj5IdG4.js → component-utils-ZM3jUJNy.js} +80 -79
  23. package/dist-library/conditional-branches-CIhJXasR.js +17 -0
  24. package/dist-library/{config-validation-Cpol91_M.js → config-validation-DbmsWAEV.js} +165 -152
  25. package/dist-library/{controls-B-CLSK8Q.js → controls-DRy5rzzN.js} +271 -228
  26. package/dist-library/{coordinate-PyLPMIQK.js → coordinate-c54pHfgf.js} +29 -29
  27. package/dist-library/data-table-CSAkm1eU.js +290 -0
  28. package/dist-library/data-table-model-DruztQFt.js +391 -0
  29. package/dist-library/{data-visuals-_Z7QqYTk.js → data-visuals-rZQUeQM0.js} +14 -14
  30. package/dist-library/{default-components-jugH7Ubr.js → default-components-B-39etG9.js} +233 -71
  31. package/dist-library/{default-config-DIrRpuQz.js → default-config-CCa8rm2k.js} +236 -216
  32. package/dist-library/default-options-By16CVw1.js +131 -0
  33. package/dist-library/{default-registry-BlloaZi7.js → default-registry-DXJy66xj.js} +3 -3
  34. package/dist-library/{default-schema-Ch-Vznpm.js → default-schema-CeYiEW1K.js} +3 -3
  35. package/dist-library/display-Bb6hAG5T.js +2065 -0
  36. package/dist-library/{document-theme-DBAfnk7y.js → document-theme-CJvN-nC1.js} +190 -3
  37. package/dist-library/{export-heVBqgxA.js → export-BSV4E0jv.js} +105 -106
  38. package/dist-library/font-aliases-CKYjwn4o.js +4 -0
  39. package/dist-library/{gallery-Q6VPS2ep.js → gallery-DM2yTVZJ.js} +1 -1
  40. package/dist-library/{html-CCnvzan1.js → html-CY9mC3Sr.js} +5 -5
  41. package/dist-library/{incremental-Bzvh8_lB.js → incremental-B-wW4H3F.js} +251 -245
  42. package/dist-library/{display-y4v9v0Qd.js → katex-4ukd4ZxT.js} +1555 -3618
  43. package/dist-library/layout-CPQggKxk.js +592 -0
  44. package/dist-library/{layout-BnfDeUNy.js → layout-CaDWsDof.js} +1 -1
  45. package/dist-library/{math-view-B0jthpRw.js → math-view-CyGTS6kv.js} +1 -1
  46. package/dist-library/{mount-preset-C_i37FvY.js → mount-preset-DtrCX4G8.js} +4 -4
  47. package/dist-library/{numeric-sliders-CkWS0-ja.js → numeric-sliders-BmJ1LCLx.js} +190 -190
  48. package/dist-library/{observability-CYLuvFfL.js → observability-BVQ16ByQ.js} +5 -4
  49. package/dist-library/{package-core-9UK5ZdqB.js → package-core-Cu_r_qs7.js} +7 -6
  50. package/dist-library/{parser-9yNJxGip.js → parser-BHl9Lxbw.js} +2 -2
  51. package/dist-library/{parser-standard-BPIy4HOu.js → parser-standard-DDAKv_DZ.js} +247 -247
  52. package/dist-library/{plugin-packs-CZb46nuv.js → plugin-packs-CkI0floL.js} +3 -3
  53. package/dist-library/{preset-core-BW3NWZJ9.js → preset-core-BKPbH_Nv.js} +377 -306
  54. package/dist-library/{props-pJRrfDc6.js → props-0iDqxlTk.js} +56 -61
  55. package/dist-library/{react-BSo0o998.js → react-74jdGBmu.js} +2 -2
  56. package/dist-library/reactive-md-authoring.js +277 -269
  57. package/dist-library/reactive-md-build.js +327 -33
  58. package/dist-library/reactive-md-compiler-session.js +3 -3
  59. package/dist-library/reactive-md-compiler-standard.js +10 -10
  60. package/dist-library/reactive-md-compiler.js +3 -3
  61. package/dist-library/reactive-md-contracts.js +4 -4
  62. package/dist-library/reactive-md-default-packs.js +4 -3
  63. package/dist-library/reactive-md-default-preset.js +3 -3
  64. package/dist-library/reactive-md-export.js +6 -6
  65. package/dist-library/reactive-md-minimal-preset.js +3 -2
  66. package/dist-library/reactive-md-minimal-react-preset.js +18 -17
  67. package/dist-library/reactive-md-minimal.css +1 -1
  68. package/dist-library/reactive-md-observability.js +2 -2
  69. package/dist-library/reactive-md-pack-style-manifest.js +8 -0
  70. package/dist-library/reactive-md-plugin-chart.js +13 -9
  71. package/dist-library/reactive-md-plugin-data.js +4 -4
  72. package/dist-library/reactive-md-plugin-diagram.js +3 -3
  73. package/dist-library/reactive-md-plugin-forms.js +5 -5
  74. package/dist-library/reactive-md-plugin-gallery.js +3 -3
  75. package/dist-library/reactive-md-plugin-navigation.js +10 -10
  76. package/dist-library/reactive-md-plugin-network.js +5 -5
  77. package/dist-library/reactive-md-plugin-plot.js +4 -4
  78. package/dist-library/reactive-md-react-component-accordion.js +3 -3
  79. package/dist-library/reactive-md-react-component-alert.js +3 -3
  80. package/dist-library/reactive-md-react-component-anchor.js +3 -3
  81. package/dist-library/reactive-md-react-component-badge.js +3 -3
  82. package/dist-library/reactive-md-react-component-card.js +3 -3
  83. package/dist-library/reactive-md-react-component-chart.js +2 -2
  84. package/dist-library/reactive-md-react-component-checkbox.js +2 -2
  85. package/dist-library/reactive-md-react-component-checklist.js +2 -2
  86. package/dist-library/reactive-md-react-component-choices.js +2 -2
  87. package/dist-library/reactive-md-react-component-column.js +1 -1
  88. package/dist-library/reactive-md-react-component-coordinate.js +2 -2
  89. package/dist-library/reactive-md-react-component-counter.js +2 -2
  90. package/dist-library/reactive-md-react-component-data-table.js +2 -2
  91. package/dist-library/reactive-md-react-component-date.js +2 -2
  92. package/dist-library/reactive-md-react-component-diagram.js +2 -2
  93. package/dist-library/reactive-md-react-component-disclosure.js +3 -3
  94. package/dist-library/reactive-md-react-component-edge.js +1 -1
  95. package/dist-library/reactive-md-react-component-else.js +10 -0
  96. package/dist-library/reactive-md-react-component-gallery-item.js +2 -2
  97. package/dist-library/reactive-md-react-component-gallery.js +2 -2
  98. package/dist-library/reactive-md-react-component-grid.js +3 -3
  99. package/dist-library/reactive-md-react-component-if.js +3 -3
  100. package/dist-library/reactive-md-react-component-input.js +2 -2
  101. package/dist-library/reactive-md-react-component-jump.js +3 -3
  102. package/dist-library/reactive-md-react-component-multi-select.js +2 -2
  103. package/dist-library/reactive-md-react-component-node.js +2 -2
  104. package/dist-library/reactive-md-react-component-number.js +2 -2
  105. package/dist-library/reactive-md-react-component-option.js +1 -1
  106. package/dist-library/reactive-md-react-component-panel.js +3 -3
  107. package/dist-library/reactive-md-react-component-plot.js +2 -2
  108. package/dist-library/reactive-md-react-component-progress.js +2 -2
  109. package/dist-library/reactive-md-react-component-quiz.js +2 -2
  110. package/dist-library/reactive-md-react-component-radio-group.js +2 -2
  111. package/dist-library/reactive-md-react-component-range-slider.js +2 -2
  112. package/dist-library/reactive-md-react-component-section.js +3 -3
  113. package/dist-library/reactive-md-react-component-select.js +2 -2
  114. package/dist-library/reactive-md-react-component-slider.js +2 -2
  115. package/dist-library/reactive-md-react-component-step.js +3 -3
  116. package/dist-library/reactive-md-react-component-steps.js +3 -3
  117. package/dist-library/reactive-md-react-component-tab.js +3 -3
  118. package/dist-library/reactive-md-react-component-table.js +2 -2
  119. package/dist-library/reactive-md-react-component-tabs.js +3 -3
  120. package/dist-library/reactive-md-react-component-text.js +3 -3
  121. package/dist-library/reactive-md-react-component-textarea.js +2 -2
  122. package/dist-library/reactive-md-react-component-timeline.js +2 -2
  123. package/dist-library/reactive-md-react-component-timer.js +2 -2
  124. package/dist-library/reactive-md-react-component-toggle.js +2 -2
  125. package/dist-library/reactive-md-react-component-tooltip.js +3 -3
  126. package/dist-library/reactive-md-react-component-validation.js +3 -3
  127. package/dist-library/reactive-md-react-minimal.js +4 -4
  128. package/dist-library/reactive-md-react-pack-controls.js +4 -4
  129. package/dist-library/reactive-md-react-pack-data.js +3 -3
  130. package/dist-library/reactive-md-react-pack-layout.js +25 -24
  131. package/dist-library/reactive-md-react-pack-visuals.js +2 -2
  132. package/dist-library/reactive-md-react-packed.js +6 -6
  133. package/dist-library/reactive-md-react-server.js +37 -36
  134. package/dist-library/reactive-md-react-static-server.js +2 -2
  135. package/dist-library/reactive-md-react-static.js +1 -1
  136. package/dist-library/reactive-md-react-unstyled.js +12 -12
  137. package/dist-library/reactive-md-react.js +12 -12
  138. package/dist-library/reactive-md-scan.js +1 -1
  139. package/dist-library/reactive-md-sdk.js +23 -9
  140. package/dist-library/reactive-md-standalone-configured.js +2 -2
  141. package/dist-library/reactive-md-standalone-host.js +2 -2
  142. package/dist-library/reactive-md-testing-browser.js +2 -2
  143. package/dist-library/reactive-md-testing-react.js +6 -6
  144. package/dist-library/reactive-md-testing.js +6 -6
  145. package/dist-library/reactive-md-vite.js +25 -9
  146. package/dist-library/reactive-md-worker-pool.js +3 -3
  147. package/dist-library/reactive-md.css +1 -1
  148. package/dist-library/reactive-md.js +52 -43
  149. package/dist-library/{registry-core-CziAIP5P.js → registry-core-DxEaxhJ6.js} +3 -2
  150. package/dist-library/{render-nodes-DKjg_TR1.js → render-nodes-B6j6Ip5I.js} +766 -731
  151. package/dist-library/{requirements-DhIkxAbl.js → requirements-C56sFIEs.js} +2 -2
  152. package/dist-library/{resources-B_nbROgj.js → resources-6VaNgk-h.js} +2 -2
  153. package/dist-library/rmd-pack-layout.css +9 -0
  154. package/dist-library/rmd-pack-resource-layout.css +9 -0
  155. package/dist-library/runtime-BHeuLOv_.js +1369 -0
  156. package/dist-library/{runtime-requirement-C4-vNcf5.js → runtime-requirement-DzPO8raU.js} +166 -163
  157. package/dist-library/{schema-core-4sd1Vu7V.js → schema-core-CDXfxdID.js} +24 -1
  158. package/dist-library/{sdk-core-BLsW9cCy.js → sdk-core-CnE-n0Z7.js} +469 -314
  159. package/dist-library/{session-core-DLBRPV7f.js → session-core-C071yQwV.js} +140 -127
  160. package/dist-library/{validation-XXlb-spV.js → sha256-utf16-Bmandi_H.js} +392 -315
  161. package/dist-library/shareable-CHCDnl6j.js +844 -0
  162. package/dist-library/types/authoring/catalog.d.ts +3 -1
  163. package/dist-library/types/authoring/index.d.ts +1 -1
  164. package/dist-library/types/components/chart/default-chart-types.d.ts +3 -0
  165. package/dist-library/types/components/chart/default-chart.d.ts +7 -0
  166. package/dist-library/types/components/entries/else.d.ts +3 -0
  167. package/dist-library/types/components/layout/layout.d.ts +5 -0
  168. package/dist-library/types/components/shared/visuals.d.ts +1 -1
  169. package/dist-library/types/components/table/data-table-model.d.ts +95 -2
  170. package/dist-library/types/components/table/data-table.d.ts +2 -2
  171. package/dist-library/types/contracts/component-kernel.d.ts +5 -0
  172. package/dist-library/types/contracts/font-aliases.d.ts +18 -0
  173. package/dist-library/types/contracts/number-literal.d.ts +2 -0
  174. package/dist-library/types/contracts/sha256-utf16.d.ts +2 -0
  175. package/dist-library/types/export/index.d.ts +4 -1
  176. package/dist-library/types/local/compilation/compiler-choices.d.ts +4 -0
  177. package/dist-library/types/local/compilation/compiler-declarations.d.ts +2 -1
  178. package/dist-library/types/local/compilation/compiler-expressions.d.ts +12 -1
  179. package/dist-library/types/local/compilation/compiler-macros.d.ts +18 -0
  180. package/dist-library/types/local/compilation/compiler-structure.d.ts +8 -2
  181. package/dist-library/types/local/compilation/compiler-tables.d.ts +1 -0
  182. package/dist-library/types/local/compilation/compiler-validation.d.ts +11 -0
  183. package/dist-library/types/local/compilation/compiler-values.d.ts +1 -2
  184. package/dist-library/types/local/configuration/diagnostic-messages.d.ts +173 -2
  185. package/dist-library/types/local/configuration/diagnostic-runtime-messages.d.ts +40 -0
  186. package/dist-library/types/local/evaluation/choice-values.d.ts +22 -0
  187. package/dist-library/types/local/evaluation/computations.d.ts +13 -5
  188. package/dist-library/types/local/evaluation/dataset.d.ts +4 -0
  189. package/dist-library/types/local/evaluation/expression/collection-functions.d.ts +13 -0
  190. package/dist-library/types/local/evaluation/expression/compile.d.ts +11 -4
  191. package/dist-library/types/local/evaluation/expression/data-functions.d.ts +23 -0
  192. package/dist-library/types/local/evaluation/expression/evaluation.d.ts +3 -1
  193. package/dist-library/types/local/evaluation/expression/internal-names.d.ts +8 -0
  194. package/dist-library/types/local/evaluation/expression/syntax.d.ts +19 -2
  195. package/dist-library/types/local/evaluation/expression/transform-budget.d.ts +13 -0
  196. package/dist-library/types/local/evaluation/expression/values.d.ts +9 -1
  197. package/dist-library/types/local/evaluation/validation.d.ts +8 -6
  198. package/dist-library/types/local/index.d.ts +4 -3
  199. package/dist-library/types/local/parsing/conditional-branches.d.ts +4 -0
  200. package/dist-library/types/local/parsing/source-revision.d.ts +3 -0
  201. package/dist-library/types/local/runtime/runtime-choices.d.ts +11 -0
  202. package/dist-library/types/local/runtime/runtime.d.ts +3 -1
  203. package/dist-library/types/local/runtime/state.d.ts +30 -15
  204. package/dist-library/types/local/source/authoring-requirements.d.ts +3 -0
  205. package/dist-library/types/local/source/authoring-syntax.d.ts +3 -2
  206. package/dist-library/types/local/source/authoring.d.ts +10 -0
  207. package/dist-library/types/local/source/source-migration.d.ts +1 -0
  208. package/dist-library/types/local/types.d.ts +33 -2
  209. package/dist-library/types/react/component-api.d.ts +21 -2
  210. package/dist-library/types/react/component-utils.d.ts +11 -0
  211. package/dist-library/types/react/font-aliases.d.ts +2 -0
  212. package/dist-library/types/react/package-core.d.ts +3 -0
  213. package/dist-library/types/react/rendering/document/validation-state.d.ts +1 -1
  214. package/dist-library/types/react/rendering/document/view-revision.d.ts +3 -12
  215. package/dist-library/types/react/rendering/table/data-table.d.ts +1 -1
  216. package/dist-library/types/react/sdk-core.d.ts +3 -1
  217. package/dist-library/types/sdk/assembly.d.ts +3 -0
  218. package/dist-library/types/sdk/font.d.ts +13 -0
  219. package/dist-library/types/sdk/index.d.ts +1 -0
  220. package/dist-library/types/sdk/theme.d.ts +5 -0
  221. package/dist-library/types/sdk/types.d.ts +6 -0
  222. package/dist-library/types/sdk/version.d.ts +1 -1
  223. package/dist-library/types/shareable.d.ts +15 -3
  224. package/dist-library/types/standalone/prepare.d.ts +4 -2
  225. package/dist-library/types/standalone/session-core.d.ts +4 -1
  226. package/dist-library/types/vite/index.d.ts +3 -0
  227. package/dist-library/types/vite/registration.d.ts +1 -0
  228. package/dist-library/{types-Bza88SGK.js → types-B4qG8J4S.js} +1 -1
  229. package/dist-library/types-FYhRWRn9.js +3 -0
  230. package/dist-library/use-hydrated-D1gFY2Dq.js +2655 -0
  231. package/dist-library/validation-DRuW0Wl9.js +433 -0
  232. package/dist-library/{version-B0G1699c.js → version-4wzhbvDG.js} +1 -1
  233. package/dist-library/{visual-helpers-CRmaqCHX.js → visual-helpers-UU6xiL8g.js} +3 -3
  234. package/dist-library/visuals-7xzoL9ql.js +49340 -0
  235. package/dist-library/{worker-D6WMV8xJ.js → worker-3ldRjOEG.js} +9 -9
  236. package/dist-standalone/reactive-md-standalone.css +1 -1
  237. package/dist-standalone/reactive-md-standalone.js +128 -368
  238. package/docs/README-ch.md +3 -1
  239. package/docs/README.md +3 -1
  240. package/docs/compatibility/api-stability-ch.md +1 -1
  241. package/docs/compatibility/api-stability-en.md +1 -1
  242. package/docs/compatibility/compatibility-ch.md +15 -15
  243. package/docs/compatibility/compatibility-en.md +15 -15
  244. package/docs/compatibility/compatibility-manifest.schema.json +3 -2
  245. package/docs/compatibility/deprecation-ch.md +2 -2
  246. package/docs/compatibility/deprecation-en.md +2 -2
  247. package/docs/compatibility/source-versioning-ch.md +22 -14
  248. package/docs/compatibility/source-versioning-en.md +22 -13
  249. package/docs/compatibility/support-matrix-ch.md +4 -3
  250. package/docs/compatibility/support-matrix-en.md +4 -3
  251. package/docs/development/component-development-ch.md +2 -2
  252. package/docs/development/component-development-en.md +2 -2
  253. package/docs/development/component-protocol-ch.md +18 -18
  254. package/docs/development/component-protocol-en.md +14 -14
  255. package/docs/guides/local-guide-ch.md +109 -20
  256. package/docs/guides/local-guide-en.md +109 -20
  257. package/docs/integration/author-tools-ch.md +1 -1
  258. package/docs/integration/author-tools-en.md +1 -1
  259. package/docs/integration/editor-ch.md +3 -3
  260. package/docs/integration/editor-en.md +3 -3
  261. package/docs/integration/extension-sdk-ch.md +29 -3
  262. package/docs/integration/extension-sdk-en.md +29 -3
  263. package/docs/integration/local-integration-ch.md +3 -3
  264. package/docs/integration/local-integration-en.md +3 -3
  265. package/docs/integration/pdf-export-ch.md +42 -0
  266. package/docs/integration/pdf-export-en.md +42 -0
  267. package/docs/integration/shareable-export-ch.md +11 -19
  268. package/docs/integration/shareable-export-en.md +11 -19
  269. package/docs/reference/diagnostics-counting-ch.md +24 -1
  270. package/docs/reference/diagnostics-counting-en.md +24 -1
  271. package/docs/reference/local-interaction-syntax-ch.md +222 -33
  272. package/docs/reference/local-interaction-syntax-en.md +220 -31
  273. package/docs/reference/public-api-ch.md +24 -18
  274. package/docs/reference/public-api-en.md +24 -18
  275. package/docs/reference/theme-protocol-ch.md +1 -1
  276. package/docs/reference/theme-protocol-en.md +1 -1
  277. package/docs/releases/release-0.10.0-ch.md +45 -0
  278. package/docs/releases/release-0.10.0-en.md +45 -0
  279. package/examples/conformance/README-ch.md +3 -3
  280. package/examples/conformance/README.md +3 -3
  281. package/examples/conformance/local-draft-4.json +441 -0
  282. package/examples/integration/README-ch.md +3 -3
  283. package/examples/integration/README.md +3 -3
  284. package/examples/integration/chat-session/package.json +1 -1
  285. package/examples/local/README-ch.md +1 -1
  286. package/examples/local/README.md +1 -1
  287. package/package.json +6 -1
  288. package/dist-library/LocalStaticDocumentView-2J7w0sKm.js +0 -143
  289. package/dist-library/authoring-B14SsOXZ.js +0 -893
  290. package/dist-library/compile-D50B5_Ww.js +0 -1249
  291. package/dist-library/computations-CffoW7Ff.js +0 -340
  292. package/dist-library/data-table-Kv_ZA2Z2.js +0 -297
  293. package/dist-library/default-options-DU5dxuU6.js +0 -125
  294. package/dist-library/layout-BfUzzO2b.js +0 -553
  295. package/dist-library/runtime-CuJndKqK.js +0 -1289
  296. package/dist-library/shareable-C6mUerpQ.js +0 -817
  297. package/dist-library/types-daDo2c_w.js +0 -3
  298. package/dist-library/use-hydrated-W-laKPhY.js +0 -22975
  299. package/dist-library/visuals-CoVSjVD8.js +0 -49159
@@ -1,8 +1,8 @@
1
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
+ import { R as a, T as o } from "./preset-core-BKPbH_Nv.js";
3
+ import { l as s, n as c } from "./version-4wzhbvDG.js";
4
4
  // src/presets/default-authoring.ts
5
- var c = Object.freeze([
5
+ var l = Object.freeze([
6
6
  {
7
7
  id: "input",
8
8
  title: {
@@ -38,7 +38,7 @@ var c = Object.freeze([
38
38
  zh: "提示反馈"
39
39
  }
40
40
  }
41
- ]), l = new Set(c.map((e) => e.id)), u = Object.freeze({
41
+ ]), u = new Set(l.map((e) => e.id)), d = Object.freeze({
42
42
  jump: {
43
43
  title: {
44
44
  en: "Jump and anchor",
@@ -97,24 +97,28 @@ var c = Object.freeze([
97
97
  },
98
98
  text: {
99
99
  title: {
100
- en: "Colored text",
101
- zh: "文字颜色"
100
+ en: "Inline text style",
101
+ zh: "行内文字样式"
102
102
  },
103
103
  description: {
104
- en: "Give selected words a foreground color.",
105
- zh: "为选中的局部文字指定颜色。"
104
+ en: "Set at least one of color, size or font. Omitted styles are inherited.",
105
+ zh: "至少填写 color、size、font 中的一项。省略的样式由上下文继承。"
106
106
  },
107
107
  category: "hint",
108
108
  keywords: {
109
109
  en: [
110
110
  "text",
111
111
  "color",
112
- "foreground"
112
+ "foreground",
113
+ "size",
114
+ "font"
113
115
  ],
114
116
  zh: [
115
117
  "文字",
116
118
  "颜色",
117
- "前景"
119
+ "前景",
120
+ "字号",
121
+ "字体"
118
122
  ]
119
123
  },
120
124
  inline: !0,
@@ -755,6 +759,39 @@ var c = Object.freeze([
755
759
  zh: "<if when=\"{{ {{select:true}} }}\">\n{{selection:示例内容}}\n</if>"
756
760
  }
757
761
  },
762
+ else: {
763
+ title: {
764
+ en: "If/else pair",
765
+ zh: "条件与否则"
766
+ },
767
+ description: {
768
+ en: "Insert a complete if/else pair; the else branch shows when the condition is false.",
769
+ zh: "一次插入完整的 if/else 配对;条件不成立时显示否则分支。"
770
+ },
771
+ category: "layout",
772
+ keywords: {
773
+ en: [
774
+ "else",
775
+ "if",
776
+ "otherwise",
777
+ "fallback",
778
+ "condition",
779
+ "branch"
780
+ ],
781
+ zh: [
782
+ "否则",
783
+ "如果",
784
+ "其他",
785
+ "分支",
786
+ "条件",
787
+ "配对"
788
+ ]
789
+ },
790
+ insertText: {
791
+ en: "<if when=\"{{ {{select:true}} }}\">\n{{selection:Sample content}}\n</if>\n<else>\n{{selection:Alternative content}}\n</else>",
792
+ zh: "<if when=\"{{ {{select:true}} }}\">\n{{selection:示例内容}}\n</if>\n<else>\n{{selection:否则内容}}\n</else>"
793
+ }
794
+ },
758
795
  gallery: {
759
796
  title: {
760
797
  en: "Gallery",
@@ -1128,11 +1165,11 @@ var c = Object.freeze([
1128
1165
  zh: "<tooltip text=\"这里显示补充说明。\">悬停查看</tooltip>"
1129
1166
  }
1130
1167
  }
1131
- }), d = Object.freeze(Object.keys(u));
1132
- function f(e) {
1133
- return Object.hasOwn(u, e) ? u[e] : void 0;
1168
+ }), f = Object.freeze(Object.keys(d));
1169
+ function p(e) {
1170
+ return Object.hasOwn(d, e) ? d[e] : void 0;
1134
1171
  }
1135
- function p(e, t, n = "") {
1172
+ function m(e, t, n = "") {
1136
1173
  if (e === void 0) return n;
1137
1174
  for (let n of [
1138
1175
  t,
@@ -1145,12 +1182,12 @@ function p(e, t, n = "") {
1145
1182
  for (let t of Object.values(e)) if (typeof t == "string" && t.trim() !== "") return t;
1146
1183
  return n;
1147
1184
  }
1148
- function m(e, t) {
1149
- let n = c.find((t) => t.id === e);
1150
- return n ? p(n.title, t, n.id) : e;
1185
+ function h(e, t) {
1186
+ let n = l.find((t) => t.id === e);
1187
+ return n ? m(n.title, t, n.id) : e;
1151
1188
  }
1152
- function h(e) {
1153
- let t = f(e);
1189
+ function ee(e) {
1190
+ let t = p(e);
1154
1191
  if (!t) return;
1155
1192
  let n = [];
1156
1193
  for (let e of [...t.keywords.en, ...t.keywords.zh]) {
@@ -1160,18 +1197,18 @@ function h(e) {
1160
1197
  return Object.freeze(n);
1161
1198
  }
1162
1199
  function g(e) {
1163
- let t = f(e);
1200
+ let t = p(e);
1164
1201
  if (!t) return;
1165
1202
  let n = t.insertText.en;
1166
1203
  if (typeof n == "string" && n.trim() !== "") return {
1167
1204
  title: t.title,
1168
1205
  description: t.description,
1169
- category: l.has(t.category) ? t.category : void 0,
1206
+ category: u.has(t.category) ? t.category : void 0,
1170
1207
  insertText: n
1171
1208
  };
1172
1209
  }
1173
1210
  // src/presets/default-semantics.ts
1174
- var _ = o, v = {
1211
+ var _ = s, v = {
1175
1212
  text: (e = {}) => ({
1176
1213
  kind: "string",
1177
1214
  coerce: "text",
@@ -1208,7 +1245,7 @@ var _ = o, v = {
1208
1245
  dynamic: !0,
1209
1246
  default: !1
1210
1247
  }), C = () => v.staticText({ color: !0 });
1211
- function ee() {
1248
+ function te() {
1212
1249
  return Object.freeze({
1213
1250
  interactive: !0,
1214
1251
  static: !0,
@@ -1249,13 +1286,13 @@ function O(...e) {
1249
1286
  return Object.freeze(e.map((e) => Object.freeze(e)));
1250
1287
  }
1251
1288
  function k(e, t, n) {
1252
- return a({
1289
+ return o({
1253
1290
  id: `reactive-md/${e}`,
1254
1291
  name: e,
1255
1292
  version: _,
1256
- protocol: s,
1293
+ protocol: c,
1257
1294
  form: t,
1258
- capabilities: ee(),
1295
+ capabilities: te(),
1259
1296
  ...n
1260
1297
  });
1261
1298
  }
@@ -1535,6 +1572,7 @@ function z(e, t = "container") {
1535
1572
  return k(e, t, {
1536
1573
  props: {
1537
1574
  label: y(),
1575
+ options: v.expressionText(),
1538
1576
  disabled: S(),
1539
1577
  color: C()
1540
1578
  },
@@ -1554,12 +1592,20 @@ function z(e, t = "container") {
1554
1592
  valueAttribute: "value",
1555
1593
  unique: !0,
1556
1594
  max: n
1595
+ }, {
1596
+ kind: "require-full-interpolation",
1597
+ attributes: ["options"]
1598
+ }, {
1599
+ kind: "scoped-expressions",
1600
+ attributes: ["options"],
1601
+ scope: "row"
1557
1602
  })
1558
1603
  });
1559
1604
  }
1560
1605
  var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select", "container", {
1561
1606
  props: {
1562
1607
  label: y(),
1608
+ options: v.expressionText(),
1563
1609
  "max-selected": v.number({
1564
1610
  integer: !0,
1565
1611
  min: 0
@@ -1591,6 +1637,13 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1591
1637
  }, {
1592
1638
  kind: "option-count",
1593
1639
  max: "max-selected"
1640
+ }, {
1641
+ kind: "require-full-interpolation",
1642
+ attributes: ["options"]
1643
+ }, {
1644
+ kind: "scoped-expressions",
1645
+ attributes: ["options"],
1646
+ scope: "row"
1594
1647
  })
1595
1648
  }), W = k("option", "container", {
1596
1649
  props: { value: v.staticText({ required: !0 }) },
@@ -1734,10 +1787,23 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1734
1787
  id: "id"
1735
1788
  })
1736
1789
  }), Z = k("text", "inline", {
1737
- props: { color: v.staticText({
1738
- required: !0,
1739
- color: !0
1740
- }) },
1790
+ props: {
1791
+ color: C(),
1792
+ size: v.choice([
1793
+ "sm",
1794
+ "md",
1795
+ "lg",
1796
+ "xl"
1797
+ ], {
1798
+ static: !0,
1799
+ allowPositiveNumber: !0,
1800
+ description: {
1801
+ en: "A theme size or a positive number in pixels, such as 20.",
1802
+ zh: "主题字号或以像素为单位的正数,例如 20。"
1803
+ }
1804
+ }),
1805
+ font: v.choice(a, { static: !0 })
1806
+ },
1741
1807
  structure: D({
1742
1808
  rule: "inline",
1743
1809
  label: "none",
@@ -1745,10 +1811,17 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1745
1811
  noComponents: !0
1746
1812
  }),
1747
1813
  rules: O({
1814
+ kind: "required-one-of",
1815
+ attributes: [
1816
+ "color",
1817
+ "size",
1818
+ "font"
1819
+ ]
1820
+ }, {
1748
1821
  kind: "inline-body",
1749
1822
  strict: !0
1750
1823
  }, { kind: "no-components" })
1751
- }), te = k("section", "container", {
1824
+ }), ne = k("section", "container", {
1752
1825
  props: { color: v.staticText({
1753
1826
  required: !0,
1754
1827
  color: !0
@@ -1757,7 +1830,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1757
1830
  rule: "any",
1758
1831
  label: "none"
1759
1832
  })
1760
- }), Q = k("quiz", "container", {
1833
+ }), re = k("quiz", "container", {
1761
1834
  props: {
1762
1835
  type: v.choice(["choice", "number"], {
1763
1836
  static: !0,
@@ -1792,7 +1865,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1792
1865
  kind: "nonempty",
1793
1866
  attribute: "answer"
1794
1867
  })
1795
- }), ne = k("panel", "container", {
1868
+ }), ie = k("panel", "container", {
1796
1869
  props: {
1797
1870
  title: x(),
1798
1871
  reset: v.boolean({ default: !0 })
@@ -1805,13 +1878,13 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1805
1878
  kind: "self-binding-read",
1806
1879
  mode: "always"
1807
1880
  })
1808
- }), re = k("card", "container", {
1881
+ }), ae = k("card", "container", {
1809
1882
  props: { title: x() },
1810
1883
  structure: D({
1811
1884
  rule: "any",
1812
1885
  label: "none"
1813
1886
  })
1814
- }), ie = k("grid", "container", {
1887
+ }), oe = k("grid", "container", {
1815
1888
  props: { columns: v.number({
1816
1889
  integer: !0,
1817
1890
  min: 1,
@@ -1830,7 +1903,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1830
1903
  children: ["card"],
1831
1904
  min: 1
1832
1905
  })
1833
- }), ae = k("gallery", "container", {
1906
+ }), se = k("gallery", "container", {
1834
1907
  props: {
1835
1908
  label: y({ required: !0 }),
1836
1909
  "item-width": v.number({
@@ -1853,13 +1926,13 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1853
1926
  children: ["gallery-item"],
1854
1927
  min: 1
1855
1928
  })
1856
- }), oe = k("gallery-item", "container", {
1929
+ }), ce = k("gallery-item", "container", {
1857
1930
  props: { label: b() },
1858
1931
  structure: D({
1859
1932
  rule: "any",
1860
1933
  label: "none"
1861
1934
  })
1862
- }), se = k("tabs", "container", {
1935
+ }), le = k("tabs", "container", {
1863
1936
  props: { label: b() },
1864
1937
  bindings: { value: w("string", "tabs", "first-tab", { exclusive: !0 }) },
1865
1938
  structure: D({
@@ -1879,7 +1952,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1879
1952
  generatedPrefix: "tab-",
1880
1953
  unique: !0
1881
1954
  })
1882
- }), ce = k("tab", "container", {
1955
+ }), ue = k("tab", "container", {
1883
1956
  props: {
1884
1957
  label: y(),
1885
1958
  value: v.staticText()
@@ -1889,7 +1962,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1889
1962
  label: "required",
1890
1963
  parents: ["tabs"]
1891
1964
  })
1892
- }), le = k("steps", "container", {
1965
+ }), de = k("steps", "container", {
1893
1966
  props: { label: b() },
1894
1967
  bindings: { value: w("string", "steps", "first-step", { exclusive: !0 }) },
1895
1968
  structure: D({
@@ -1909,7 +1982,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1909
1982
  generatedPrefix: "step-",
1910
1983
  unique: !0
1911
1984
  })
1912
- }), ue = k("step", "container", {
1985
+ }), fe = k("step", "container", {
1913
1986
  props: {
1914
1987
  label: y(),
1915
1988
  value: v.staticText()
@@ -1919,7 +1992,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1919
1992
  label: "required",
1920
1993
  parents: ["steps"]
1921
1994
  })
1922
- }), de = k("accordion", "container", {
1995
+ }), pe = k("accordion", "container", {
1923
1996
  props: { label: b() },
1924
1997
  structure: D({
1925
1998
  rule: "components",
@@ -1933,7 +2006,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1933
2006
  children: ["disclosure"],
1934
2007
  min: 1
1935
2008
  })
1936
- }), fe = k("disclosure", "container", {
2009
+ }), me = k("disclosure", "container", {
1937
2010
  props: {
1938
2011
  label: y(),
1939
2012
  open: v.boolean({ default: !1 })
@@ -1943,7 +2016,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1943
2016
  label: "required",
1944
2017
  parents: ["accordion"]
1945
2018
  })
1946
- }), pe = k("if", "container", {
2019
+ }), he = k("if", "container", {
1947
2020
  props: { when: v.boolean({
1948
2021
  dynamic: !0,
1949
2022
  required: !0
@@ -1956,7 +2029,17 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1956
2029
  kind: "require-full-interpolation",
1957
2030
  attributes: ["when"]
1958
2031
  })
1959
- }), me = k("alert", "container", {
2032
+ }), ge = k("else", "container", {
2033
+ props: { when: v.boolean({ dynamic: !0 }) },
2034
+ structure: D({
2035
+ rule: "any",
2036
+ label: "none"
2037
+ }),
2038
+ rules: O({
2039
+ kind: "require-full-interpolation",
2040
+ attributes: ["when"]
2041
+ })
2042
+ }), _e = k("alert", "container", {
1960
2043
  props: {
1961
2044
  title: x(),
1962
2045
  tone: v.choice([
@@ -1973,7 +2056,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1973
2056
  rule: "any",
1974
2057
  label: "none"
1975
2058
  })
1976
- }), he = k("badge", "inline", {
2059
+ }), ve = k("badge", "inline", {
1977
2060
  props: {
1978
2061
  tone: v.choice([
1979
2062
  "neutral",
@@ -1995,7 +2078,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
1995
2078
  kind: "inline-body",
1996
2079
  strict: !0
1997
2080
  }, { kind: "no-components" })
1998
- }), ge = k("tooltip", "inline", {
2081
+ }), ye = k("tooltip", "inline", {
1999
2082
  props: { text: v.text({ required: !0 }) },
2000
2083
  structure: D({
2001
2084
  rule: "inline",
@@ -2007,7 +2090,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2007
2090
  kind: "inline-body",
2008
2091
  strict: !0
2009
2092
  }, { kind: "no-components" })
2010
- }), _e = k("validation", "leaf", {
2093
+ }), be = k("validation", "leaf", {
2011
2094
  props: {
2012
2095
  when: v.boolean({
2013
2096
  dynamic: !0,
@@ -2032,18 +2115,39 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2032
2115
  attributes: ["fields"],
2033
2116
  scope: "validation"
2034
2117
  })
2035
- }), ve = k("data-table", "container", {
2118
+ }), xe = k("data-table", "container", {
2036
2119
  props: {
2037
2120
  label: v.staticText(),
2121
+ empty: v.staticText(),
2038
2122
  rows: v.expressionText({ required: !0 }),
2039
2123
  key: v.expressionText({ required: !0 }),
2124
+ searchable: v.boolean({ default: !1 }),
2125
+ sortable: v.boolean({ default: !1 }),
2126
+ "page-size": v.number({
2127
+ integer: !0,
2128
+ positive: !0
2129
+ }),
2040
2130
  "max-rows": v.number({
2041
2131
  integer: !0,
2042
2132
  positive: !0,
2043
2133
  max: i,
2044
2134
  default: 100
2045
- })
2135
+ }),
2136
+ align: v.choice([
2137
+ "left",
2138
+ "center",
2139
+ "right"
2140
+ ], {
2141
+ static: !0,
2142
+ default: "center"
2143
+ }),
2144
+ "row-align": v.choice([
2145
+ "left",
2146
+ "center",
2147
+ "right"
2148
+ ], { dynamic: !0 })
2046
2149
  },
2150
+ bindings: { value: w("string", "selection", "none", { requiresAttributes: ["key"] }) },
2047
2151
  structure: D({
2048
2152
  rule: "components",
2049
2153
  label: "required",
@@ -2066,10 +2170,14 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2066
2170
  maxColumns: 20
2067
2171
  }, {
2068
2172
  kind: "require-full-interpolation",
2069
- attributes: ["rows", "key"]
2173
+ attributes: [
2174
+ "rows",
2175
+ "key",
2176
+ "row-align"
2177
+ ]
2070
2178
  }, {
2071
2179
  kind: "scoped-expressions",
2072
- attributes: ["key"],
2180
+ attributes: ["key", "row-align"],
2073
2181
  scope: "row"
2074
2182
  }, {
2075
2183
  kind: "row-values",
@@ -2077,16 +2185,58 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2077
2185
  key: "key",
2078
2186
  child: "column",
2079
2187
  childValue: "value"
2188
+ }, {
2189
+ kind: "self-binding-read",
2190
+ mode: "always"
2080
2191
  })
2081
- }), ye = k("column", "leaf", {
2192
+ }), Q = k("column", "leaf", {
2082
2193
  props: {
2083
2194
  label: v.staticText({ required: !0 }),
2084
- value: v.expressionText({ required: !0 })
2195
+ value: v.expressionText({ required: !0 }),
2196
+ format: v.choice([
2197
+ "plain",
2198
+ "number",
2199
+ "percent",
2200
+ "scientific",
2201
+ "currency"
2202
+ ], {
2203
+ static: !0,
2204
+ default: "plain"
2205
+ }),
2206
+ summary: v.choice([
2207
+ "sum",
2208
+ "average",
2209
+ "count"
2210
+ ], { static: !0 }),
2211
+ align: v.choice([
2212
+ "left",
2213
+ "center",
2214
+ "right"
2215
+ ], { static: !0 }),
2216
+ digits: v.number({
2217
+ integer: !0,
2218
+ min: 0,
2219
+ max: 20
2220
+ }),
2221
+ currency: v.staticText({
2222
+ default: "USD",
2223
+ pattern: "^[A-Z]{3}$"
2224
+ }),
2225
+ locale: v.choice([
2226
+ "en-US",
2227
+ "zh-CN",
2228
+ "de-DE",
2229
+ "fr-FR",
2230
+ "ja-JP"
2231
+ ], {
2232
+ static: !0,
2233
+ default: "en-US"
2234
+ })
2085
2235
  },
2086
2236
  structure: D({
2087
2237
  rule: "none",
2088
2238
  label: "none",
2089
- parents: ["data-table"]
2239
+ parents: ["data-table", "chart"]
2090
2240
  }),
2091
2241
  rules: O({
2092
2242
  kind: "require-full-interpolation",
@@ -2096,7 +2246,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2096
2246
  attributes: ["value"],
2097
2247
  scope: "row"
2098
2248
  })
2099
- }), be = k("table", "container", {
2249
+ }), Se = k("table", "container", {
2100
2250
  props: {
2101
2251
  label: b(),
2102
2252
  searchable: v.boolean({ default: !0 }),
@@ -2126,7 +2276,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2126
2276
  mode: "attribute",
2127
2277
  attribute: "key"
2128
2278
  })
2129
- }), xe = k("chart", "container", {
2279
+ }), Ce = k("chart", "container", {
2130
2280
  props: {
2131
2281
  kind: v.choice([
2132
2282
  "bar",
@@ -2140,11 +2290,18 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2140
2290
  default: "bar"
2141
2291
  }),
2142
2292
  title: x(),
2293
+ rows: v.expressionText(),
2143
2294
  x: v.staticText(),
2144
2295
  y: v.staticText(),
2145
2296
  "x-label": v.text(),
2146
2297
  "y-label": v.text(),
2147
- key: v.staticText()
2298
+ key: v.staticText(),
2299
+ "max-rows": v.number({
2300
+ integer: !0,
2301
+ positive: !0,
2302
+ max: i,
2303
+ default: 100
2304
+ })
2148
2305
  },
2149
2306
  bindings: { value: w("string", "selection", "none", { requiresAttributes: ["key"] }) },
2150
2307
  structure: D({
@@ -2156,6 +2313,10 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2156
2313
  chartKind: "kind",
2157
2314
  x: "x",
2158
2315
  y: "y"
2316
+ }, {
2317
+ kind: "scoped-expressions",
2318
+ attributes: ["rows"],
2319
+ scope: "row"
2159
2320
  }, {
2160
2321
  kind: "table-selection",
2161
2322
  key: "key",
@@ -2169,7 +2330,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2169
2330
  mode: "attribute",
2170
2331
  attribute: "key"
2171
2332
  })
2172
- }), Se = k("plot", "container", {
2333
+ }), we = k("plot", "container", {
2173
2334
  props: {
2174
2335
  label: b(),
2175
2336
  min: v.number({
@@ -2214,7 +2375,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2214
2375
  curves: 16,
2215
2376
  points: e
2216
2377
  }, { kind: "inline-math-reads" })
2217
- }), Ce = k("timeline", "container", {
2378
+ }), Te = k("timeline", "container", {
2218
2379
  props: {
2219
2380
  title: x(),
2220
2381
  unit: v.text({ default: "minutes" })
@@ -2237,7 +2398,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2237
2398
  "说明"
2238
2399
  ]]
2239
2400
  })
2240
- }), we = k("diagram", "container", {
2401
+ }), Ee = k("diagram", "container", {
2241
2402
  props: {
2242
2403
  label: b(),
2243
2404
  direction: v.choice(["right", "down"], {
@@ -2265,7 +2426,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2265
2426
  kind: "self-binding-read",
2266
2427
  mode: "always"
2267
2428
  })
2268
- }), Te = k("node", "container", {
2429
+ }), De = k("node", "container", {
2269
2430
  props: {
2270
2431
  id: v.staticText({ required: !0 }),
2271
2432
  label: y(),
@@ -2285,7 +2446,7 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2285
2446
  parents: ["diagram"]
2286
2447
  }),
2287
2448
  rules: O({ kind: "no-components" })
2288
- }), Ee = k("edge", "leaf", {
2449
+ }), Oe = k("edge", "leaf", {
2289
2450
  props: {
2290
2451
  from: v.staticText({ required: !0 }),
2291
2452
  to: v.staticText({ required: !0 }),
@@ -2318,8 +2479,6 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2318
2479
  Y,
2319
2480
  X,
2320
2481
  Z,
2321
- te,
2322
- Q,
2323
2482
  ne,
2324
2483
  re,
2325
2484
  ie,
@@ -2340,19 +2499,22 @@ var B = z("select"), V = z("choices"), H = z("radio-group"), U = k("multi-select
2340
2499
  ye,
2341
2500
  be,
2342
2501
  xe,
2502
+ Q,
2343
2503
  Se,
2344
2504
  Ce,
2345
2505
  we,
2346
2506
  Te,
2347
- Ee
2348
- ]), De = Object.freeze($.map((e) => e.name));
2507
+ Ee,
2508
+ De,
2509
+ Oe
2510
+ ]), ke = Object.freeze($.map((e) => e.name));
2349
2511
  // src/presets/default-components.ts
2350
- function Oe(e) {
2512
+ function Ae(e) {
2351
2513
  let t = g(e.name);
2352
- return t ? a({
2514
+ return t ? o({
2353
2515
  ...e,
2354
2516
  authoring: t
2355
2517
  }) : e;
2356
2518
  }
2357
- var ke = Object.freeze($.map(Oe));
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 };
2519
+ var je = Object.freeze($.map(Ae));
2520
+ export { f as a, ee as c, m as d, l as i, p as l, ke as n, d as o, $ as r, h as s, je as t, g as u };