@ccslabs/xtend 0.1.0-rc.1 → 0.1.2

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 (566) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +4 -0
  3. package/catalog/component-catalog-coverage.js +2 -0
  4. package/catalog/epic13-package-export-lock.js +11 -1
  5. package/catalog/epic13-rmt-production-readiness.js +0 -1
  6. package/catalog/epic18-rmt-action-effect-runtime.d.ts +36 -0
  7. package/catalog/epic18-rmt-action-effect-runtime.js +249 -0
  8. package/catalog/epic18-rmt-app-platform-authoring.d.ts +39 -0
  9. package/catalog/epic18-rmt-app-platform-authoring.js +319 -0
  10. package/catalog/epic18-rmt-app-platform-fixture.d.ts +33 -0
  11. package/catalog/epic18-rmt-app-platform-fixture.js +221 -0
  12. package/catalog/epic18-rmt-app-platform-release-handoff.d.ts +30 -0
  13. package/catalog/epic18-rmt-app-platform-release-handoff.js +231 -0
  14. package/catalog/epic18-rmt-app-platform-tooling.d.ts +38 -0
  15. package/catalog/epic18-rmt-app-platform-tooling.js +242 -0
  16. package/catalog/epic18-rmt-component-template-primitives.d.ts +33 -0
  17. package/catalog/epic18-rmt-component-template-primitives.js +240 -0
  18. package/catalog/epic18-rmt-dom-descriptor-renderer.d.ts +35 -0
  19. package/catalog/epic18-rmt-dom-descriptor-renderer.js +232 -0
  20. package/catalog/epic18-rmt-event-routing-runtime.d.ts +35 -0
  21. package/catalog/epic18-rmt-event-routing-runtime.js +234 -0
  22. package/catalog/epic18-rmt-state-selector-runtime.d.ts +34 -0
  23. package/catalog/epic18-rmt-state-selector-runtime.js +216 -0
  24. package/catalog/epic18-rmt-surface-resource-graph-runtime.d.ts +36 -0
  25. package/catalog/epic18-rmt-surface-resource-graph-runtime.js +256 -0
  26. package/catalog/surface-manager-controller.js +5 -1
  27. package/catalog/surface-manager-materialization.js +7 -1
  28. package/catalog/surface-manager-overlay-bridge.js +41 -6
  29. package/catalog/surface-manager-workbench-fixture.js +1 -1
  30. package/catalog/surface-type-capability-matrix.d.ts +61 -0
  31. package/catalog/surface-type-capability-matrix.js +183 -0
  32. package/catalog/type-exports-rmt.js +37 -1
  33. package/catalog/type-exports.js +3 -3
  34. package/components/icon-packs/lucide.js +4 -0
  35. package/components/manifest.json +2 -0
  36. package/components/prism-rmt.d.ts +34 -0
  37. package/components/prism-rmt.js +130 -0
  38. package/components/xcards.js +15 -0
  39. package/components/xcode.d.ts +36 -1
  40. package/components/xcode.js +215 -20
  41. package/components/xfooter.js +17 -0
  42. package/components/xheader.js +14 -0
  43. package/components/xhero.js +16 -1
  44. package/components/xlink.js +97 -14
  45. package/components/xmasonry.js +15 -0
  46. package/components/xplayer.d.ts +44 -2
  47. package/components/xplayer.js +242 -15
  48. package/components/xrouter.js +27 -2
  49. package/components/xsection.js +15 -0
  50. package/components/xsidepanel.js +10 -2
  51. package/components/xsurfacemanager-controller.d.ts +2 -1
  52. package/components/xsurfacemanager-controller.js +27 -3
  53. package/components/xsurfacemanager.d.ts +2 -0
  54. package/components/xsurfacemanager.js +20 -8
  55. package/components/xsurfaceoverlay-bridge.d.ts +20 -5
  56. package/components/xsurfaceoverlay-bridge.js +114 -18
  57. package/components/xsurfaceportal.d.ts +29 -0
  58. package/components/xsurfaceportal.js +122 -0
  59. package/components/xsurfaceregion.d.ts +50 -0
  60. package/components/xsurfaceregion.js +285 -0
  61. package/components/xsurfacewindow.js +2 -1
  62. package/components/xtooltip.js +89 -23
  63. package/docs/README.md +222 -298
  64. package/docs/changelog.md +107 -0
  65. package/docs/component-catalog-coverage.md +9 -9
  66. package/docs/component-platform.md +19 -1
  67. package/docs/component-ux-app-authoring.md +56 -63
  68. package/docs/components/xcode.md +83 -53
  69. package/docs/components/xsurfaceportal.md +32 -0
  70. package/docs/components/xsurfaceregion.md +37 -0
  71. package/docs/components.md +105 -69
  72. package/docs/de/README.md +264 -0
  73. package/docs/de/XTend-ADR.md +221 -0
  74. package/docs/de/a11y-keyboard-smokes.md +62 -0
  75. package/docs/de/about.md +18 -0
  76. package/docs/de/api.md +157 -0
  77. package/docs/de/best-practices.md +76 -0
  78. package/docs/de/changelog.md +107 -0
  79. package/docs/de/component-catalog-coverage.md +58 -0
  80. package/docs/de/component-lab.md +103 -0
  81. package/docs/de/component-long-tail-migration.md +41 -0
  82. package/docs/de/component-platform.md +177 -0
  83. package/docs/de/component-ux-app-authoring.md +123 -0
  84. package/docs/de/component-ux-authoring.md +96 -0
  85. package/docs/de/component-ux-gates.md +45 -0
  86. package/docs/de/components/x-rmt-lifecycle-demo-build.md +60 -0
  87. package/docs/de/components/xalert.md +81 -0
  88. package/docs/de/components/xbutton.md +103 -0
  89. package/docs/de/components/xcalendar.md +82 -0
  90. package/docs/de/components/xcards.md +128 -0
  91. package/docs/de/components/xcheckbox.md +102 -0
  92. package/docs/de/components/xcode.md +156 -0
  93. package/docs/de/components/xdialog.md +92 -0
  94. package/docs/de/components/xdrawer.md +84 -0
  95. package/docs/de/components/xfooter.md +126 -0
  96. package/docs/de/components/xform.md +128 -0
  97. package/docs/de/components/xheader.md +308 -0
  98. package/docs/de/components/xhero.md +142 -0
  99. package/docs/de/components/xicon.md +125 -0
  100. package/docs/de/components/xinput.md +129 -0
  101. package/docs/de/components/xlightbox.md +98 -0
  102. package/docs/de/components/xlink.md +109 -0
  103. package/docs/de/components/xmasonry.md +124 -0
  104. package/docs/de/components/xmenu.md +158 -0
  105. package/docs/de/components/xmodal.md +82 -0
  106. package/docs/de/components/xplayer.md +104 -0
  107. package/docs/de/components/xpopover.md +67 -0
  108. package/docs/de/components/xprogress.md +56 -0
  109. package/docs/de/components/xradio.md +103 -0
  110. package/docs/de/components/xrouter.md +260 -0
  111. package/docs/de/components/xsection.md +125 -0
  112. package/docs/de/components/xselect.md +105 -0
  113. package/docs/de/components/xsidepanel.md +30 -0
  114. package/docs/de/components/xspinner.md +102 -0
  115. package/docs/de/components/xstate.md +148 -0
  116. package/docs/de/components/xstatus.md +55 -0
  117. package/docs/de/components/xsummary.md +78 -0
  118. package/docs/de/components/xsurfacemanager.md +27 -0
  119. package/docs/de/components/xsurfacewindow.md +21 -0
  120. package/docs/de/components/xtabs.md +160 -0
  121. package/docs/de/components/xtextarea.md +98 -0
  122. package/docs/de/components/xtheme.md +167 -0
  123. package/docs/de/components/xtoast.md +62 -0
  124. package/docs/de/components/xtooltip.md +66 -0
  125. package/docs/de/components/xtype.md +82 -0
  126. package/docs/de/components/xutils.md +144 -0
  127. package/docs/de/components/xwriter.md +94 -0
  128. package/docs/de/components.md +153 -0
  129. package/docs/de/conditional-network-evidence-ci.md +38 -0
  130. package/docs/de/conditional-network-evidence.md +50 -0
  131. package/docs/de/core-migration-guide.md +110 -0
  132. package/docs/de/design-tokens.md +116 -0
  133. package/docs/de/docs-rmt-production-hardening.md +31 -0
  134. package/docs/de/enterprise-adoption.md +413 -0
  135. package/docs/de/enterprise-component-flex-release-handoff.md +129 -0
  136. package/docs/de/epic10-platform-gates.md +62 -0
  137. package/docs/de/epic10-release-handoff.md +81 -0
  138. package/docs/de/epic11-enterprise-ux-handoff.md +70 -0
  139. package/docs/de/epic12-rc0-handoff.md +61 -0
  140. package/docs/de/epic18-media-manager-vendor-upstream.md +318 -0
  141. package/docs/de/epic18-rmt-app-platform-release-handoff.md +67 -0
  142. package/docs/de/epic18-vendor-bugfixes.md +34 -0
  143. package/docs/de/existing-component-metadata.md +67 -0
  144. package/docs/de/hydration-performance-closure.md +34 -0
  145. package/docs/de/hydration-policies.md +71 -0
  146. package/docs/de/known-residual-triage.md +22 -0
  147. package/docs/de/manifest-import-policy.md +79 -0
  148. package/docs/de/manifest.md +112 -0
  149. package/docs/de/motion-contrast.md +67 -0
  150. package/docs/de/package-export-lock.md +44 -0
  151. package/docs/de/performance-measurements.md +106 -0
  152. package/docs/de/performance-regression.md +89 -0
  153. package/docs/de/performance.md +94 -0
  154. package/docs/de/previews/README.md +17 -0
  155. package/docs/de/prod-browser-csp-smokes.md +40 -0
  156. package/docs/de/public-component-types.md +79 -0
  157. package/docs/de/quick-start-guide.md +220 -0
  158. package/docs/de/rc0-adoption-guide.md +102 -0
  159. package/docs/de/rc0-gate-matrix.md +58 -0
  160. package/docs/de/rc1-gate-matrix-ci-handoff.md +56 -0
  161. package/docs/de/rc1-migration-notes.md +69 -0
  162. package/docs/de/rc1-readiness.md +46 -0
  163. package/docs/de/release-owner-acceptance.md +56 -0
  164. package/docs/de/release-report-pack-dry-run-evidence.md +39 -0
  165. package/docs/de/rmt-action-effect-runtime.md +81 -0
  166. package/docs/de/rmt-app-platform-authoring.md +54 -0
  167. package/docs/de/rmt-app-platform-fixture.md +46 -0
  168. package/docs/de/rmt-app-platform-migration-guide.md +88 -0
  169. package/docs/de/rmt-app-platform-tooling.md +79 -0
  170. package/docs/de/rmt-component-template-primitives.md +57 -0
  171. package/docs/de/rmt-dom-descriptor-renderer.md +64 -0
  172. package/docs/de/rmt-dsl-authoring-polish.md +145 -0
  173. package/docs/de/rmt-event-routing-runtime.md +81 -0
  174. package/docs/de/rmt-first-demo-app.md +77 -0
  175. package/docs/de/rmt-first-xtend-apps.md +129 -0
  176. package/docs/de/rmt-kernel-panic-recovery-incident-handoff.md +61 -0
  177. package/docs/de/rmt-kernel-security-hardening-migration.md +50 -0
  178. package/docs/de/rmt-kernel-trusted-output-authoring.md +69 -0
  179. package/docs/de/rmt-language-server.md +234 -0
  180. package/docs/de/rmt-lifecycle-demo.md +24 -0
  181. package/docs/de/rmt-linter.md +140 -0
  182. package/docs/de/rmt-node-ssr-adapter.md +100 -0
  183. package/docs/de/rmt-php-ssr-adapter.md +120 -0
  184. package/docs/de/rmt-production-readiness.md +63 -0
  185. package/docs/de/rmt-state-selector-runtime.md +47 -0
  186. package/docs/de/rmt-surface-resource-graph-runtime.md +92 -0
  187. package/docs/de/rmt-tooling-release-gates.md +77 -0
  188. package/docs/de/rmt-vnext-authoring.md +170 -0
  189. package/docs/de/rmt-vnext-component-primitives.md +188 -0
  190. package/docs/de/rmt-vnext-cross-surface-events.md +68 -0
  191. package/docs/de/rmt-vnext-enterprise-mfe-handoff.md +70 -0
  192. package/docs/de/rmt-vnext-fabric-bridge-evidence.md +81 -0
  193. package/docs/de/rmt-vnext-migration-notes.md +62 -0
  194. package/docs/de/rmt-vnext-primitive-authoring-tooling.md +247 -0
  195. package/docs/de/rmt-vnext-primitive-grammar-design.md +289 -0
  196. package/docs/de/rmt-vnext-primitive-lowering.md +108 -0
  197. package/docs/de/rmt-vnext-primitive-migration.md +119 -0
  198. package/docs/de/rmt-vnext-primitive-parser-ast.md +76 -0
  199. package/docs/de/rmt-vnext-primitive-semantic-graph.md +118 -0
  200. package/docs/de/rmt-vnext-primitives-compiler-backlog.md +739 -0
  201. package/docs/de/rmt-vnext-release-handoff.md +83 -0
  202. package/docs/de/rmt-vnext-remote-surfaces.md +90 -0
  203. package/docs/de/rmt-vnext-source-to-sea-gate.md +612 -0
  204. package/docs/de/rmt-vnext-surface-registry-enterprise.md +76 -0
  205. package/docs/de/screenreader-signals.md +56 -0
  206. package/docs/de/supply-chain-gates.md +100 -0
  207. package/docs/de/surface-manager-authoring-guide.md +94 -0
  208. package/docs/de/surface-manager-browser-lab.md +45 -0
  209. package/docs/de/surface-manager-component-lab.md +43 -0
  210. package/docs/de/surface-manager-controller.md +66 -0
  211. package/docs/de/surface-manager-layout-engines.md +32 -0
  212. package/docs/de/surface-manager-lazy-hydration.md +63 -0
  213. package/docs/de/surface-manager-migration-guide.md +122 -0
  214. package/docs/de/surface-manager-native-rmt-surfaces.md +38 -0
  215. package/docs/de/surface-manager-overlay-bridge.md +53 -0
  216. package/docs/de/surface-manager-persistence.md +30 -0
  217. package/docs/de/surface-manager-quality-gates.md +51 -0
  218. package/docs/de/surface-manager-release-handoff.md +68 -0
  219. package/docs/de/surface-manager-remote-policy.md +54 -0
  220. package/docs/de/surface-manager-rmt-authoring.md +102 -0
  221. package/docs/de/surface-manager-route-lifecycle.md +59 -0
  222. package/docs/de/surface-manager-runtime-release-handoff.md +69 -0
  223. package/docs/de/surface-manager-side-panel-runtime.md +36 -0
  224. package/docs/de/surface-manager-stack-policy.md +39 -0
  225. package/docs/de/surface-manager-window-runtime.md +47 -0
  226. package/docs/de/surface-manager-workbench-fixture.md +43 -0
  227. package/docs/de/third-party-design-authoring.md +406 -0
  228. package/docs/de/trusted-dom-boundary-browser-proof.md +32 -0
  229. package/docs/de/trusted-dom-sanitizing.md +110 -0
  230. package/docs/de/type-exports.md +61 -0
  231. package/docs/de/typescript-components.md +63 -0
  232. package/docs/de/visual-browser-regression.md +83 -0
  233. package/docs/de/visual-owner-artifacts.md +46 -0
  234. package/docs/de/visual-snapshot-automation.md +87 -0
  235. package/docs/de/xtend-api-types.md +55 -0
  236. package/docs/de/xtend-builder-types.md +55 -0
  237. package/docs/de/xtend-catalog-types.md +44 -0
  238. package/docs/de/xtend-fabric-rmt-lane-mapping.md +143 -0
  239. package/docs/de/xtend-fabric.md +474 -0
  240. package/docs/de/xtend-loader-types.md +58 -0
  241. package/docs/de/xtend-loader.md +265 -0
  242. package/docs/de/xtend-policy-types.md +38 -0
  243. package/docs/de/xtend-rmt-types.md +40 -0
  244. package/docs/de/xtend-vendor-types.md +36 -0
  245. package/docs/de/xtendrmt-app-dsl.md +334 -0
  246. package/docs/de/xtendrmt-migration-guide.md +266 -0
  247. package/docs/de/xtendrmt-native-authoring.md +333 -0
  248. package/docs/de/xtendrmt-overview.md +109 -0
  249. package/docs/de/xtendrmt-parsedown-scheduling.md +301 -0
  250. package/docs/de/xtendrmt-runtime-bridge.md +155 -0
  251. package/docs/en/README.md +163 -0
  252. package/docs/en/XTend-ADR.md +221 -0
  253. package/docs/en/a11y-keyboard-smokes.md +68 -0
  254. package/docs/en/about.md +25 -0
  255. package/docs/en/api.md +171 -0
  256. package/docs/en/best-practices.md +125 -0
  257. package/docs/en/changelog.md +104 -0
  258. package/docs/en/component-catalog-coverage.md +104 -0
  259. package/docs/en/component-lab.md +103 -0
  260. package/docs/en/component-long-tail-migration.md +41 -0
  261. package/docs/en/component-platform.md +243 -0
  262. package/docs/en/component-ux-app-authoring.md +118 -0
  263. package/docs/en/component-ux-authoring.md +96 -0
  264. package/docs/en/component-ux-gates.md +45 -0
  265. package/docs/en/components/x-rmt-lifecycle-demo-build.md +75 -0
  266. package/docs/en/components/xalert.md +94 -0
  267. package/docs/en/components/xbutton.md +118 -0
  268. package/docs/en/components/xcalendar.md +95 -0
  269. package/docs/en/components/xcards.md +139 -0
  270. package/docs/en/components/xcheckbox.md +118 -0
  271. package/docs/en/components/xcode.md +153 -0
  272. package/docs/en/components/xdialog.md +108 -0
  273. package/docs/en/components/xdrawer.md +110 -0
  274. package/docs/en/components/xfooter.md +138 -0
  275. package/docs/en/components/xform.md +147 -0
  276. package/docs/en/components/xheader.md +308 -0
  277. package/docs/en/components/xhero.md +157 -0
  278. package/docs/en/components/xicon.md +149 -0
  279. package/docs/en/components/xinput.md +147 -0
  280. package/docs/en/components/xlightbox.md +113 -0
  281. package/docs/en/components/xlink.md +130 -0
  282. package/docs/en/components/xmasonry.md +136 -0
  283. package/docs/en/components/xmenu.md +185 -0
  284. package/docs/en/components/xmodal.md +102 -0
  285. package/docs/en/components/xplayer.md +114 -0
  286. package/docs/en/components/xpopover.md +87 -0
  287. package/docs/en/components/xprogress.md +73 -0
  288. package/docs/en/components/xradio.md +119 -0
  289. package/docs/en/components/xrouter.md +260 -0
  290. package/docs/en/components/xsection.md +136 -0
  291. package/docs/en/components/xselect.md +122 -0
  292. package/docs/en/components/xsidepanel.md +48 -0
  293. package/docs/en/components/xspinner.md +118 -0
  294. package/docs/en/components/xstate.md +163 -0
  295. package/docs/en/components/xstatus.md +71 -0
  296. package/docs/en/components/xsummary.md +90 -0
  297. package/docs/en/components/xsurfacemanager.md +42 -0
  298. package/docs/en/components/xsurfacewindow.md +31 -0
  299. package/docs/en/components/xtabs.md +187 -0
  300. package/docs/en/components/xtextarea.md +115 -0
  301. package/docs/en/components/xtheme.md +203 -0
  302. package/docs/en/components/xtoast.md +78 -0
  303. package/docs/en/components/xtooltip.md +85 -0
  304. package/docs/en/components/xtype.md +91 -0
  305. package/docs/en/components/xutils.md +161 -0
  306. package/docs/en/components/xwriter.md +106 -0
  307. package/docs/en/components.md +151 -0
  308. package/docs/en/conditional-network-evidence-ci.md +38 -0
  309. package/docs/en/conditional-network-evidence.md +50 -0
  310. package/docs/en/core-migration-guide.md +110 -0
  311. package/docs/en/design-tokens.md +137 -0
  312. package/docs/en/docs-rmt-production-hardening.md +31 -0
  313. package/docs/en/enterprise-adoption.md +413 -0
  314. package/docs/en/enterprise-component-flex-release-handoff.md +129 -0
  315. package/docs/en/epic10-platform-gates.md +62 -0
  316. package/docs/en/epic10-release-handoff.md +81 -0
  317. package/docs/en/epic11-enterprise-ux-handoff.md +70 -0
  318. package/docs/en/epic12-rc0-handoff.md +61 -0
  319. package/docs/en/epic18-media-manager-vendor-upstream.md +232 -0
  320. package/docs/en/epic18-rmt-app-platform-release-handoff.md +60 -0
  321. package/docs/en/epic18-vendor-bugfixes.md +29 -0
  322. package/docs/en/existing-component-metadata.md +67 -0
  323. package/docs/en/hydration-performance-closure.md +34 -0
  324. package/docs/en/hydration-policies.md +75 -0
  325. package/docs/en/known-residual-triage.md +22 -0
  326. package/docs/en/manifest-import-policy.md +81 -0
  327. package/docs/en/manifest.md +135 -0
  328. package/docs/en/motion-contrast.md +67 -0
  329. package/docs/en/package-export-lock.md +44 -0
  330. package/docs/en/performance-measurements.md +106 -0
  331. package/docs/en/performance-regression.md +89 -0
  332. package/docs/en/performance.md +132 -0
  333. package/docs/en/previews/README.md +17 -0
  334. package/docs/en/prod-browser-csp-smokes.md +40 -0
  335. package/docs/en/public-component-types.md +79 -0
  336. package/docs/en/quick-start-guide.md +189 -0
  337. package/docs/en/rc0-adoption-guide.md +102 -0
  338. package/docs/en/rc0-gate-matrix.md +58 -0
  339. package/docs/en/rc1-gate-matrix-ci-handoff.md +56 -0
  340. package/docs/en/rc1-migration-notes.md +69 -0
  341. package/docs/en/rc1-readiness.md +46 -0
  342. package/docs/en/release-owner-acceptance.md +56 -0
  343. package/docs/en/release-report-pack-dry-run-evidence.md +39 -0
  344. package/docs/en/rmt-action-effect-runtime.md +101 -0
  345. package/docs/en/rmt-app-platform-authoring.md +47 -0
  346. package/docs/en/rmt-app-platform-fixture.md +35 -0
  347. package/docs/en/rmt-app-platform-migration-guide.md +75 -0
  348. package/docs/en/rmt-app-platform-tooling.md +58 -0
  349. package/docs/en/rmt-component-template-primitives.md +49 -0
  350. package/docs/en/rmt-dom-descriptor-renderer.md +54 -0
  351. package/docs/en/rmt-dsl-authoring-polish.md +143 -0
  352. package/docs/en/rmt-event-routing-runtime.md +98 -0
  353. package/docs/en/rmt-first-demo-app.md +87 -0
  354. package/docs/en/rmt-first-xtend-apps.md +127 -0
  355. package/docs/en/rmt-kernel-panic-recovery-incident-handoff.md +60 -0
  356. package/docs/en/rmt-kernel-security-hardening-migration.md +49 -0
  357. package/docs/en/rmt-kernel-trusted-output-authoring.md +68 -0
  358. package/docs/en/rmt-language-server.md +243 -0
  359. package/docs/en/rmt-lifecycle-demo.md +23 -0
  360. package/docs/en/rmt-linter.md +146 -0
  361. package/docs/en/rmt-node-ssr-adapter.md +99 -0
  362. package/docs/en/rmt-php-ssr-adapter.md +118 -0
  363. package/docs/en/rmt-production-readiness.md +63 -0
  364. package/docs/en/rmt-state-selector-runtime.md +34 -0
  365. package/docs/en/rmt-surface-resource-graph-runtime.md +68 -0
  366. package/docs/en/rmt-tooling-release-gates.md +77 -0
  367. package/docs/en/rmt-vnext-authoring.md +102 -0
  368. package/docs/en/rmt-vnext-component-primitives.md +185 -0
  369. package/docs/en/rmt-vnext-cross-surface-events.md +59 -0
  370. package/docs/en/rmt-vnext-enterprise-mfe-handoff.md +62 -0
  371. package/docs/en/rmt-vnext-fabric-bridge-evidence.md +64 -0
  372. package/docs/en/rmt-vnext-migration-notes.md +62 -0
  373. package/docs/en/rmt-vnext-primitive-authoring-tooling.md +174 -0
  374. package/docs/en/rmt-vnext-primitive-grammar-design.md +268 -0
  375. package/docs/en/rmt-vnext-primitive-lowering.md +91 -0
  376. package/docs/en/rmt-vnext-primitive-migration.md +93 -0
  377. package/docs/en/rmt-vnext-primitive-parser-ast.md +59 -0
  378. package/docs/en/rmt-vnext-primitive-semantic-graph.md +103 -0
  379. package/docs/en/rmt-vnext-primitives-compiler-backlog.md +327 -0
  380. package/docs/en/rmt-vnext-release-handoff.md +83 -0
  381. package/docs/en/rmt-vnext-remote-surfaces.md +81 -0
  382. package/docs/en/rmt-vnext-source-to-sea-gate.md +482 -0
  383. package/docs/en/rmt-vnext-surface-registry-enterprise.md +68 -0
  384. package/docs/en/screenreader-signals.md +56 -0
  385. package/docs/en/supply-chain-gates.md +106 -0
  386. package/docs/en/surface-manager-authoring-guide.md +94 -0
  387. package/docs/en/surface-manager-browser-lab.md +45 -0
  388. package/docs/en/surface-manager-component-lab.md +43 -0
  389. package/docs/en/surface-manager-controller.md +66 -0
  390. package/docs/en/surface-manager-layout-engines.md +32 -0
  391. package/docs/en/surface-manager-lazy-hydration.md +63 -0
  392. package/docs/en/surface-manager-migration-guide.md +113 -0
  393. package/docs/en/surface-manager-native-rmt-surfaces.md +38 -0
  394. package/docs/en/surface-manager-overlay-bridge.md +53 -0
  395. package/docs/en/surface-manager-persistence.md +30 -0
  396. package/docs/en/surface-manager-quality-gates.md +51 -0
  397. package/docs/en/surface-manager-release-handoff.md +68 -0
  398. package/docs/en/surface-manager-remote-policy.md +54 -0
  399. package/docs/en/surface-manager-rmt-authoring.md +89 -0
  400. package/docs/en/surface-manager-route-lifecycle.md +59 -0
  401. package/docs/en/surface-manager-runtime-release-handoff.md +69 -0
  402. package/docs/en/surface-manager-side-panel-runtime.md +36 -0
  403. package/docs/en/surface-manager-stack-policy.md +39 -0
  404. package/docs/en/surface-manager-window-runtime.md +47 -0
  405. package/docs/en/surface-manager-workbench-fixture.md +43 -0
  406. package/docs/en/third-party-design-authoring.md +406 -0
  407. package/docs/en/trusted-dom-boundary-browser-proof.md +32 -0
  408. package/docs/en/trusted-dom-sanitizing.md +124 -0
  409. package/docs/en/type-exports.md +61 -0
  410. package/docs/en/typescript-components.md +63 -0
  411. package/docs/en/visual-browser-regression.md +83 -0
  412. package/docs/en/visual-owner-artifacts.md +46 -0
  413. package/docs/en/visual-snapshot-automation.md +87 -0
  414. package/docs/en/xtend-api-types.md +55 -0
  415. package/docs/en/xtend-builder-types.md +55 -0
  416. package/docs/en/xtend-catalog-types.md +44 -0
  417. package/docs/en/xtend-fabric-rmt-lane-mapping.md +143 -0
  418. package/docs/en/xtend-fabric.md +474 -0
  419. package/docs/en/xtend-loader-types.md +58 -0
  420. package/docs/en/xtend-loader.md +265 -0
  421. package/docs/en/xtend-policy-types.md +38 -0
  422. package/docs/en/xtend-rmt-types.md +40 -0
  423. package/docs/en/xtend-vendor-types.md +36 -0
  424. package/docs/en/xtendrmt-app-dsl.md +331 -0
  425. package/docs/en/xtendrmt-migration-guide.md +256 -0
  426. package/docs/en/xtendrmt-native-authoring.md +336 -0
  427. package/docs/en/xtendrmt-overview.md +63 -0
  428. package/docs/en/xtendrmt-parsedown-scheduling.md +301 -0
  429. package/docs/en/xtendrmt-runtime-bridge.md +155 -0
  430. package/docs/enterprise-adoption.md +4 -2
  431. package/docs/epic18-media-manager-vendor-upstream.md +318 -0
  432. package/docs/epic18-rmt-app-platform-release-handoff.md +67 -0
  433. package/docs/epic18-vendor-bugfixes.md +34 -0
  434. package/docs/index.php +1056 -109
  435. package/docs/manifest.md +8 -2
  436. package/docs/menu.json +986 -133
  437. package/docs/package-export-lock.md +2 -2
  438. package/docs/public-component-types.md +2 -2
  439. package/docs/quick-start-guide.md +126 -58
  440. package/docs/rmt-action-effect-runtime.md +101 -0
  441. package/docs/rmt-app-platform-authoring.md +54 -0
  442. package/docs/rmt-app-platform-fixture.md +46 -0
  443. package/docs/rmt-app-platform-migration-guide.md +88 -0
  444. package/docs/rmt-app-platform-tooling.md +79 -0
  445. package/docs/rmt-component-template-primitives.md +57 -0
  446. package/docs/rmt-dom-descriptor-renderer.md +64 -0
  447. package/docs/rmt-dsl-authoring-polish.md +67 -44
  448. package/docs/rmt-event-routing-runtime.md +98 -0
  449. package/docs/rmt-first-demo-app.md +2 -2
  450. package/docs/rmt-first-xtend-apps.md +70 -46
  451. package/docs/rmt-language-server.md +61 -4
  452. package/docs/rmt-lifecycle-demo.md +1 -2
  453. package/docs/rmt-node-ssr-adapter.md +144 -0
  454. package/docs/rmt-php-ssr-adapter.md +158 -0
  455. package/docs/rmt-state-selector-runtime.md +47 -0
  456. package/docs/rmt-surface-resource-graph-runtime.md +92 -0
  457. package/docs/rmt-vnext-authoring.md +128 -18
  458. package/docs/rmt-vnext-component-primitives.md +188 -0
  459. package/docs/rmt-vnext-fabric-bridge-evidence.md +81 -0
  460. package/docs/rmt-vnext-primitive-authoring-tooling.md +247 -0
  461. package/docs/rmt-vnext-primitive-grammar-design.md +289 -0
  462. package/docs/rmt-vnext-primitive-lowering.md +108 -0
  463. package/docs/rmt-vnext-primitive-migration.md +119 -0
  464. package/docs/rmt-vnext-primitive-parser-ast.md +76 -0
  465. package/docs/rmt-vnext-primitive-semantic-graph.md +118 -0
  466. package/docs/rmt-vnext-primitives-compiler-backlog.md +742 -0
  467. package/docs/rmt-vnext-release-handoff.md +14 -0
  468. package/docs/rmt-vnext-source-to-sea-gate.md +629 -0
  469. package/docs/surface-manager-migration-guide.md +34 -6
  470. package/docs/surface-manager-overlay-bridge.md +9 -4
  471. package/docs/surface-manager-rmt-authoring.md +50 -34
  472. package/docs/surface-manager-workbench-fixture.md +1 -2
  473. package/docs/third-party-design-authoring.md +1 -1
  474. package/docs/type-exports.md +3 -3
  475. package/docs/utils/pageloader.js +811 -62
  476. package/docs/visual-browser-regression.md +1 -1
  477. package/docs/xtend-rmt-types.md +3 -2
  478. package/docs/xtendrmt-app-dsl.md +187 -122
  479. package/docs/xtendrmt-docs-shell-vnext.rmt +165 -0
  480. package/docs/xtendrmt-migration-guide.md +48 -17
  481. package/docs/xtendrmt-native-authoring.md +213 -217
  482. package/docs/xtendrmt-overview.md +81 -61
  483. package/docs/xtendrmt-parsedown-scheduling.md +23 -8
  484. package/fabric/package.json +1 -1
  485. package/package.json +684 -21
  486. package/tools/package.json +5 -1
  487. package/tools/rmt-editor/vscode/README.md +72 -5
  488. package/tools/rmt-editor/vscode/XTend-Logo.png +0 -0
  489. package/tools/rmt-editor/vscode/extension.d.ts +33 -0
  490. package/tools/rmt-editor/vscode/extension.js +1816 -7
  491. package/tools/rmt-editor/vscode/language-configuration.json +2 -1
  492. package/tools/rmt-editor/vscode/package.json +193 -2
  493. package/tools/rmt-editor/vscode/snippets/rmt.code-snippets +41 -0
  494. package/tools/rmt-editor/vscode/syntaxes/rmt.tmLanguage.json +103 -1
  495. package/tools/rmt-editor/vscode/templates/launch.json +70 -0
  496. package/tools/rmt-editor/vscode/templates/tasks.json +172 -0
  497. package/tools/rmt-editor/vscode/xtend-rmt-language-0.0.0-enterprise-readiness.vsix +0 -0
  498. package/tools/rmt-language/app-platform-tooling.d.ts +128 -0
  499. package/tools/rmt-language/app-platform-tooling.js +677 -0
  500. package/tools/rmt-language/completions.d.ts +5 -0
  501. package/tools/rmt-language/completions.js +185 -3
  502. package/tools/rmt-language/diagnostics.js +54 -0
  503. package/tools/rmt-language/hover.js +36 -0
  504. package/tools/rmt-language/rmt-tooling-public-types.d.ts +7 -0
  505. package/tools/rmt-language/rules/app-platform-policy.js +39 -0
  506. package/tools/rmt-language/rules/index.js +5 -1
  507. package/tools/rmt-language/semantic-graph.d.ts +6 -0
  508. package/tools/rmt-language/semantic-graph.js +928 -0
  509. package/tools/rmt-language/snippets/index.js +44 -0
  510. package/tools/rmt-language/snippets/rmt.code-snippets +41 -0
  511. package/tools/rmt-language/vnext-compatibility.d.ts +10 -0
  512. package/tools/rmt-language/vnext-compatibility.js +642 -0
  513. package/tools/rmt-language/vnext-compiler.d.ts +5 -0
  514. package/tools/rmt-language/vnext-compiler.js +863 -17
  515. package/tools/rmt-language/vnext-parser.js +725 -9
  516. package/tools/rmt-language/vnext-release.d.ts +1 -0
  517. package/tools/rmt-language/vnext-release.js +20 -0
  518. package/tools/rmt-language/vnext-source-to-sea.d.ts +33 -0
  519. package/tools/rmt-language/vnext-source-to-sea.js +2227 -0
  520. package/tools/rmt-language/vnext-surfaces.js +111 -52
  521. package/tools/rmt-language/vnext-tooling.d.ts +19 -1
  522. package/tools/rmt-language/vnext-tooling.js +1247 -5
  523. package/tools/rmt-language-server/protocol.js +3 -0
  524. package/tools/rmt-language-server/server.d.ts +2 -0
  525. package/tools/rmt-language-server/server.js +176 -22
  526. package/tools/rmt-linter/cli.d.ts +2 -0
  527. package/tools/rmt-linter/cli.js +62 -0
  528. package/xtend-builder/generators/registry.js +11 -0
  529. package/xtend-builder/generators/rmt-app-platform.js +239 -0
  530. package/xtend-builder/generators/rmt-lifecycle-demo.js +3 -11
  531. package/xtend-builder/lib/cli.js +38 -0
  532. package/xtend-builder/package.json +3 -3
  533. package/xtend-builder/scaffold.config.js +29 -2
  534. package/xtend.css +49 -2
  535. package/xtendrmt/package.json +49 -1
  536. package/xtendrmt/rmt-action-effect-runtime.d.ts +126 -0
  537. package/xtendrmt/rmt-action-effect-runtime.js +494 -0
  538. package/xtendrmt/rmt-component-capability-registry.d.ts +180 -0
  539. package/xtendrmt/rmt-component-capability-registry.js +636 -0
  540. package/xtendrmt/rmt-core.d.ts +6 -0
  541. package/xtendrmt/rmt-core.esm.js +32 -6
  542. package/xtendrmt/rmt-dom-descriptor-renderer.d.ts +107 -0
  543. package/xtendrmt/rmt-dom-descriptor-renderer.js +1066 -0
  544. package/xtendrmt/rmt-event-routing-runtime.d.ts +144 -0
  545. package/xtendrmt/rmt-event-routing-runtime.js +666 -0
  546. package/xtendrmt/rmt-lifecycle-demo.app.js +2 -2
  547. package/xtendrmt/rmt-lifecycle-demo.core.json +4 -0
  548. package/xtendrmt/rmt-lifecycle-demo.rmt-build.app.js +1 -1
  549. package/xtendrmt/rmt-lifecycle-demo.rmt-build.scaffold.json +2 -2
  550. package/xtendrmt/rmt-lifecycle-demo.scaffold.json +4 -4
  551. package/xtendrmt/rmt-native-shell-runtime.d.ts +77 -0
  552. package/xtendrmt/rmt-native-shell-runtime.js +309 -0
  553. package/xtendrmt/rmt-node-ssr-adapter.d.ts +197 -0
  554. package/xtendrmt/rmt-node-ssr-adapter.js +1006 -0
  555. package/xtendrmt/rmt-php-ssr-adapter.php +976 -0
  556. package/xtendrmt/rmt-runtime.browser.js +32 -6
  557. package/xtendrmt/rmt-runtime.esm.js +32 -6
  558. package/xtendrmt/rmt-state-selector-runtime.d.ts +166 -0
  559. package/xtendrmt/rmt-state-selector-runtime.js +866 -0
  560. package/xtendrmt/rmt-surface-resource-graph-runtime.d.ts +224 -0
  561. package/xtendrmt/rmt-surface-resource-graph-runtime.js +932 -0
  562. package/xtendrmt/rmt-vnext-enterprise-mfe-demo.core.json +3 -0
  563. package/xtendrmt/rmt-vnext-reference-demo.core.json +3 -0
  564. package/xtendrmt/xtendrmt-bestcase-demo.core.json +3420 -372
  565. package/xtendrmt/xtendrmt-bestcase-demo.js +424 -8
  566. package/xtendrmt/xtendrmt-bestcase-demo.rmt +214 -6
@@ -18,7 +18,10 @@ const RMT_VNEXT_MIGRATION_REPORT_SCHEMA = 'xtend.rmt.vnext-migration-report.v1';
18
18
  const RMT_VNEXT_ROUNDTRIP_REPORT_SCHEMA = 'xtend.rmt.vnext-roundtrip-report.v1';
19
19
  const RMT_VNEXT_LEGACY_PROJECTION_SCHEMA = 'xtend.rmt.vnext-legacy-core-projection.v1';
20
20
  const RMT_VNEXT_COMPATIBILITY_REPORT_SCHEMA = 'xtend.rmt.vnext-compatibility-report.v1';
21
+ const RMT_VNEXT_PRIMITIVE_MIGRATION_SCHEMA = 'xtend.rmt.vnext.primitive-migration-preview.v1';
22
+ const RMT_VNEXT_PRIMITIVE_MIGRATION_APPLY_PLAN_SCHEMA = 'xtend.rmt.vnext.primitive-migration-apply-plan.v1';
21
23
  const RMT_VNEXT_COMPATIBILITY_WORKPACKAGE = 'WP-E15-16';
24
+ const RMT_VNEXT_PRIMITIVE_MIGRATION_WORKPACKAGE = 'RMT-VNEXT-PRIM-08';
22
25
  const RMT_VNEXT_COMPATIBILITY_MODULE_PATH = 'tools/rmt-language/vnext-compatibility.js';
23
26
  const RMT_VNEXT_COMPATIBILITY_SUITE_PATH = 'tests/rmt-language/rmt_vnext_compatibility_suite.js';
24
27
  const RMT_VNEXT_COMPATIBILITY_PACKAGE_SCRIPT = 'npm run test:rmt-vnext-compatibility';
@@ -29,6 +32,9 @@ const MIGRATION_LEGACY_NORMALIZATION_FAILED_CODE = 'rmt.vnext.migration.legacy_n
29
32
  const MIGRATION_LOSSY_DOMAIN_CODE = 'rmt.vnext.migration.lossy_domain';
30
33
  const MIGRATION_UNSUPPORTED_DOMAIN_CODE = 'rmt.vnext.migration.unsupported_domain';
31
34
  const MIGRATION_VNEXT_COMPILE_FAILED_CODE = 'rmt.vnext.migration.vnext_compile_failed';
35
+ const MIGRATION_PRIMITIVE_PREVIEW_AVAILABLE_CODE = 'rmt.vnext.primitive_migration.preview_available';
36
+ const MIGRATION_PRIMITIVE_COMPILE_FAILED_CODE = 'rmt.vnext.primitive_migration.compile_failed';
37
+ const MIGRATION_LEGACY_BACKGROUNDED_CODE = 'rmt.vnext.primitive_migration.legacy_backgrounded';
32
38
  const ROUNDTRIP_MISMATCH_CODE = 'rmt.vnext.roundtrip.mismatch';
33
39
 
34
40
  const LEGACY_DOMAINS = Object.freeze([
@@ -40,6 +46,20 @@ const LEGACY_DOMAINS = Object.freeze([
40
46
  'templates'
41
47
  ]);
42
48
 
49
+ const APP_PLATFORM_PRIMITIVE_DOMAINS = Object.freeze([
50
+ 'state',
51
+ 'states',
52
+ 'selectors',
53
+ 'dataSources',
54
+ 'actions',
55
+ 'events',
56
+ 'portals',
57
+ 'overlays',
58
+ 'resources',
59
+ 'surfaces',
60
+ 'records'
61
+ ]);
62
+
43
63
  const ROUNDTRIP_COMPATIBLE_WARNINGS = Object.freeze([
44
64
  'rmt.document.extension.fallback-used',
45
65
  MIGRATION_OPT_IN_REQUIRED_CODE,
@@ -150,6 +170,557 @@ function safeIdentifier(value, fallback) {
150
170
  return /^[A-Za-z_]/u.test(candidate) ? candidate : `rmt.${candidate}`;
151
171
  }
152
172
 
173
+ function quoteString(value) {
174
+ return JSON.stringify(String(value));
175
+ }
176
+
177
+ function stripDollarPath(value) {
178
+ return normalizeString(value).replace(/\$/gu, '').replace(/^\.+/u, '');
179
+ }
180
+
181
+ function resourceRefs(value) {
182
+ return toArray(value)
183
+ .map((entry) => typeof entry === 'string' ? entry : normalizeString(entry && entry.id))
184
+ .filter(Boolean);
185
+ }
186
+
187
+ function stripKnownDomainPrefix(value) {
188
+ return normalizeString(value).replace(/^(state|selector|datasource|dataSource|action|portal|overlay|resource|surface|component|template)\./u, '');
189
+ }
190
+
191
+ function primitiveName(value, fallback) {
192
+ return safeIdentifier(stripKnownDomainPrefix(value || fallback), fallback);
193
+ }
194
+
195
+ function domainRecords(document, ...domains) {
196
+ for (const domain of domains) {
197
+ if (Array.isArray(document && document[domain])) {
198
+ return document[domain];
199
+ }
200
+ }
201
+ return [];
202
+ }
203
+
204
+ function recordId(record, fallback) {
205
+ return primitiveName(record && record.id, fallback);
206
+ }
207
+
208
+ function primitiveValueLiteral(value) {
209
+ if (value === null || value === undefined) return 'null';
210
+ if (typeof value === 'string') return quoteString(value);
211
+ if (typeof value === 'number' || typeof value === 'boolean') return String(value);
212
+ if (Array.isArray(value)) {
213
+ const primitiveItems = value.filter((entry) => entry === null || ['string', 'number', 'boolean'].includes(typeof entry));
214
+ return primitiveItems.length === value.length
215
+ ? `[${primitiveItems.map(primitiveValueLiteral).join(', ')}]`
216
+ : '[]';
217
+ }
218
+ return null;
219
+ }
220
+
221
+ function primitiveInitialEntries(value) {
222
+ if (!value || typeof value !== 'object' || Array.isArray(value)) return [];
223
+ return Object.entries(value)
224
+ .map(([key, entry]) => [safeIdentifier(key, 'value'), primitiveValueLiteral(entry)])
225
+ .filter((entry) => entry[1] !== null);
226
+ }
227
+
228
+ function rawAppPlatformDocument(input = {}) {
229
+ if (input.document && typeof input.document === 'object' && !Array.isArray(input.document)) {
230
+ return {
231
+ ok: true,
232
+ document: cloneJson(input.document),
233
+ diagnostics: []
234
+ };
235
+ }
236
+
237
+ const text = typeof input.text === 'string' ? input.text : '';
238
+ if (!text.trim().startsWith('{')) {
239
+ return {
240
+ ok: false,
241
+ document: null,
242
+ diagnostics: []
243
+ };
244
+ }
245
+
246
+ try {
247
+ return {
248
+ ok: true,
249
+ document: JSON.parse(text),
250
+ diagnostics: []
251
+ };
252
+ } catch (error) {
253
+ return {
254
+ ok: false,
255
+ document: null,
256
+ diagnostics: [createCompatibilityDiagnostic({
257
+ code: MIGRATION_LEGACY_PARSE_FAILED_CODE,
258
+ severity: 'error',
259
+ message: `Legacy App-Platform JSON konnte nicht geparst werden: ${error.message}`
260
+ }, { file: sourceFile(input) })]
261
+ };
262
+ }
263
+ }
264
+
265
+ function isAppPlatformPrimitiveDocument(document) {
266
+ if (!document || typeof document !== 'object' || Array.isArray(document)) {
267
+ return false;
268
+ }
269
+
270
+ const schema = normalizeString(document.schema);
271
+ const metadata = toPlainObject(toPlainObject(document.manifest).metadata);
272
+ const marker = [
273
+ schema,
274
+ normalizeString(metadata.contractVersion),
275
+ normalizeString(metadata.toolingContract),
276
+ normalizeString(metadata.stateContract),
277
+ normalizeString(metadata.actionContract),
278
+ normalizeString(metadata.eventContract),
279
+ normalizeString(metadata.surfaceGraphContract)
280
+ ].join(' ');
281
+
282
+ if (/rmt-app-platform/u.test(marker)) {
283
+ return true;
284
+ }
285
+
286
+ return APP_PLATFORM_PRIMITIVE_DOMAINS.some((domain) => countDomain(document, domain) > 0);
287
+ }
288
+
289
+ function appPlatformDomainCounts(document) {
290
+ return APP_PLATFORM_PRIMITIVE_DOMAINS.reduce((counts, domain) => {
291
+ counts[domain] = countDomain(document, domain);
292
+ return counts;
293
+ }, {});
294
+ }
295
+
296
+ function sourceReferenceForDataSource(dataSource = {}) {
297
+ const kind = normalizeString(dataSource.kind);
298
+
299
+ if (kind === 'fixture') {
300
+ const recordsRef = typeof dataSource.records === 'string'
301
+ ? stripDollarPath(dataSource.records).replace(/^records\./u, 'records.')
302
+ : `${recordId(dataSource, 'datasource')}.records`;
303
+ return {
304
+ kind: 'fixture',
305
+ target: safeIdentifier(recordsRef.replace(/^records\.records\./u, 'records.'), 'fixture.records')
306
+ };
307
+ }
308
+
309
+ if (kind === 'sse') {
310
+ return {
311
+ kind: 'sse',
312
+ target: dataSource.endpoint || dataSource.url || recordId(dataSource, 'stream')
313
+ };
314
+ }
315
+
316
+ if (kind === 'worker') {
317
+ return {
318
+ kind: 'worker',
319
+ target: dataSource.worker || dataSource.module || recordId(dataSource, 'worker')
320
+ };
321
+ }
322
+
323
+ if (kind === 'rest' || kind === 'endpoint' || dataSource.endpoint) {
324
+ return {
325
+ kind: 'endpoint',
326
+ target: dataSource.endpoint || dataSource.url || `/${recordId(dataSource, 'endpoint')}`
327
+ };
328
+ }
329
+
330
+ return {
331
+ kind: 'fixture',
332
+ target: `${recordId(dataSource, 'datasource')}.records`
333
+ };
334
+ }
335
+
336
+ function sourceReferenceForSelector(selector = {}) {
337
+ const from = normalizeString(selector.from || selector.source || selector.dataSource || selector.datasource);
338
+ if (!from) {
339
+ return {
340
+ kind: 'state',
341
+ target: 'state.empty'
342
+ };
343
+ }
344
+ if (/^datasource[.:]/u.test(from)) {
345
+ return {
346
+ kind: 'datasource',
347
+ target: primitiveName(from, from)
348
+ };
349
+ }
350
+ return {
351
+ kind: 'state',
352
+ target: primitiveName(from, from)
353
+ };
354
+ }
355
+
356
+ function selectSurfaceSource(surface = {}, selectors = [], dataSources = []) {
357
+ const source = normalizeString(surface.source || surface.from);
358
+ const selector = selectors.find((entry) => normalizeString(entry.from) === source)
359
+ || selectors[0];
360
+ if (selector) {
361
+ return {
362
+ kind: 'selector',
363
+ target: recordId(selector, 'selector.items')
364
+ };
365
+ }
366
+
367
+ const dataSource = dataSources.find((entry) => recordId(entry, '') === primitiveName(source, source))
368
+ || dataSources[0];
369
+ if (dataSource) {
370
+ return {
371
+ kind: 'datasource',
372
+ target: recordId(dataSource, 'datasource.items')
373
+ };
374
+ }
375
+
376
+ return {
377
+ kind: 'state',
378
+ target: 'state.items'
379
+ };
380
+ }
381
+
382
+ function eventPayloadMappings(event = {}) {
383
+ const contract = toPlainObject(event.payloadContract || event.contract);
384
+ const required = toArray(contract.required);
385
+ const payload = toPlainObject(event.payload);
386
+ const keys = required.length > 0 ? required : Object.keys(payload);
387
+ return keys.map((key) => {
388
+ const rawSource = normalizeString(payload[key]);
389
+ const source = rawSource.startsWith('$detail.')
390
+ ? rawSource.slice('$'.length)
391
+ : rawSource.startsWith('$target.')
392
+ ? rawSource.slice('$'.length)
393
+ : `detail.${safeIdentifier(key, 'value')}`;
394
+ return {
395
+ name: safeIdentifier(key, 'value'),
396
+ source: safeIdentifier(source, `detail.${safeIdentifier(key, 'value')}`)
397
+ };
398
+ });
399
+ }
400
+
401
+ function resourceOwnerMap(document) {
402
+ const owners = new Map();
403
+ domainRecords(document, 'surfaces').forEach((surface) => {
404
+ resourceRefs(surface && surface.resources).forEach((resourceId) => {
405
+ const id = primitiveName(resourceId, 'resource');
406
+ if (!owners.has(id)) owners.set(id, { kind: 'surface', id: recordId(surface, 'surface') });
407
+ });
408
+ });
409
+ domainRecords(document, 'overlays').forEach((overlay) => {
410
+ resourceRefs(overlay && overlay.resources).forEach((resourceId) => {
411
+ const id = primitiveName(resourceId, 'resource');
412
+ if (!owners.has(id)) owners.set(id, { kind: 'overlay', id: recordId(overlay, 'overlay') });
413
+ });
414
+ });
415
+ domainRecords(document, 'actions').forEach((action) => {
416
+ resourceRefs(action && action.resources).forEach((resourceId) => {
417
+ const id = primitiveName(resourceId, 'resource');
418
+ if (!owners.has(id)) owners.set(id, { kind: 'action', id: recordId(action, 'action') });
419
+ });
420
+ });
421
+ return owners;
422
+ }
423
+
424
+ function createAppPlatformPrimitiveAuthoringDraft(document = {}) {
425
+ const manifest = toPlainObject(document.manifest);
426
+ const metadata = toPlainObject(manifest.metadata);
427
+ const documentId = safeIdentifier(manifest.documentId || manifest.id || metadata.documentId || 'app.platform.migration', 'app.platform.migration');
428
+ const states = domainRecords(document, 'states', 'state');
429
+ const selectors = domainRecords(document, 'selectors');
430
+ const dataSources = domainRecords(document, 'dataSources', 'datasources');
431
+ const actions = domainRecords(document, 'actions');
432
+ const portals = domainRecords(document, 'portals');
433
+ const overlays = domainRecords(document, 'overlays');
434
+ const resources = domainRecords(document, 'resources');
435
+ const surfaces = domainRecords(document, 'surfaces');
436
+ const events = domainRecords(document, 'events');
437
+ const owners = resourceOwnerMap(document);
438
+ const lines = [`template ${documentId} {`];
439
+
440
+ states.forEach((state, index) => {
441
+ const id = recordId(state, `state.${index}`);
442
+ const type = safeIdentifier(state.type || state.schema || 'object', 'object');
443
+ const preserve = state.preserve ? ' preserve' : '';
444
+ const initial = Object.prototype.hasOwnProperty.call(state, 'initial') ? state.initial : null;
445
+ const inlineInitial = primitiveValueLiteral(initial);
446
+ const blockInitial = primitiveInitialEntries(initial);
447
+ if (inlineInitial !== null && (initial === null || !initial || typeof initial !== 'object' || Array.isArray(initial))) {
448
+ lines.push(` state ${id} type ${type}${preserve} initial ${inlineInitial}`);
449
+ } else {
450
+ lines.push(` state ${id} type ${type}${preserve} {`);
451
+ lines.push(' initial {');
452
+ blockInitial.forEach(([key, value]) => lines.push(` ${key} ${value}`));
453
+ lines.push(' }');
454
+ lines.push(' }');
455
+ }
456
+ lines.push('');
457
+ });
458
+
459
+ selectors.forEach((selector, index) => {
460
+ const id = recordId(selector, `selector.${index}`);
461
+ const source = sourceReferenceForSelector(selector);
462
+ lines.push(` selector ${id} from ${source.kind} ${source.target} {`);
463
+ toArray(selector.where).forEach((where) => {
464
+ const pathName = safeIdentifier(where.path || 'value', 'value');
465
+ const op = normalizeString(where.op) === 'equals' ? '==' : normalizeString(where.op) || '==';
466
+ const value = primitiveValueLiteral(where.value);
467
+ lines.push(` where ${pathName} ${op} ${value === null ? 'true' : value}`);
468
+ });
469
+ if (selector.path && selector.compute === 'boolean') {
470
+ lines.push(` find ${safeIdentifier(selector.path, 'value')} != null`);
471
+ }
472
+ if (selector.sort && selector.sort.by) {
473
+ lines.push(` sort by ${safeIdentifier(selector.sort.by, 'value')} ${safeIdentifier(selector.sort.direction || 'asc', 'asc')}`);
474
+ }
475
+ lines.push(` output ${safeIdentifier(selector.output || selector.contract || 'auto', 'auto')}`);
476
+ lines.push(' }');
477
+ lines.push('');
478
+ });
479
+
480
+ dataSources.forEach((dataSource, index) => {
481
+ const id = recordId(dataSource, `datasource.${index}`);
482
+ const source = sourceReferenceForDataSource(dataSource);
483
+ const target = source.kind === 'endpoint' || source.kind === 'sse'
484
+ ? quoteString(source.target)
485
+ : safeIdentifier(source.target, `${id}.source`);
486
+ lines.push(` datasource ${id} from ${source.kind} ${target} {`);
487
+ if (dataSource.method) lines.push(` method ${quoteString(dataSource.method)}`);
488
+ if (dataSource.contract) lines.push(` contract ${quoteString(dataSource.contract)}`);
489
+ if (dataSource.resultPath || dataSource.result) lines.push(` result ${quoteString(dataSource.resultPath || dataSource.result)}`);
490
+ lines.push(' }');
491
+ lines.push('');
492
+ });
493
+
494
+ actions.forEach((action, index) => {
495
+ const id = recordId(action, `action.${index}`);
496
+ lines.push(` action ${id} {`);
497
+ lines.push(' input id string');
498
+ if (action.statusState) lines.push(` status state.${primitiveName(action.statusState, 'actionStatus')}`);
499
+ if (action.datasource) lines.push(` effect fetch datasource ${primitiveName(action.datasource, 'items')}`);
500
+ if (action.resultState) lines.push(` reduce state.${primitiveName(action.resultState, 'result')} = result.records`);
501
+ lines.push(` emit ${id}.completed with action ${id}`);
502
+ lines.push(' }');
503
+ lines.push('');
504
+ });
505
+
506
+ portals.forEach((portal, index) => {
507
+ const id = recordId(portal, `portal.${index}`);
508
+ const root = normalizeString(portal.root || portal.selector || `#${id}`);
509
+ const layer = /toast|modal|overlay|escape|popover|dialog/u.test(`${portal.policy || ''} ${id}`) ? 'overlay' : 'surface';
510
+ lines.push(` portal ${id} root ${quoteString(root.startsWith('#') ? root : `#${root}`)} layer ${layer}`);
511
+ lines.push('');
512
+ });
513
+
514
+ overlays.forEach((overlay, index) => {
515
+ const id = recordId(overlay, `overlay.${index}`);
516
+ const kind = safeIdentifier(overlay.kind || 'overlay', 'overlay');
517
+ const portal = primitiveName(overlay.portal || 'overlay', 'overlay');
518
+ lines.push(` overlay ${id} kind ${kind} portal ${portal} {`);
519
+ if (overlay.dismissible !== false) lines.push(' escape close topmost');
520
+ lines.push(' }');
521
+ lines.push('');
522
+ });
523
+
524
+ resources.forEach((resource, index) => {
525
+ const id = recordId(resource, `resource.${index}`);
526
+ const kind = safeIdentifier(resource.kind || 'resource', 'resource');
527
+ const owner = owners.get(id) || { kind: 'surface', id: surfaces[0] ? recordId(surfaces[0], 'surface.root') : 'root' };
528
+ lines.push(` resource ${id} kind ${kind} owner ${owner.kind}.${owner.id} {`);
529
+ if (resource.importId || resource.import) lines.push(` import ${quoteString(resource.importId || resource.import)}`);
530
+ if (resource.source) lines.push(` source ${safeIdentifier(owner.kind, 'surface')} ${primitiveName(resource.source, owner.id)}`);
531
+ lines.push(' dispose on surface.destroy');
532
+ lines.push(' }');
533
+ lines.push('');
534
+ });
535
+
536
+ surfaces.forEach((surface, index) => {
537
+ const id = recordId(surface, `surface.${index}`);
538
+ const kind = safeIdentifier(surface.kind || surface.type || 'surface', 'surface');
539
+ const component = primitiveName(surface.component || surface.template || id, id);
540
+ const source = selectSurfaceSource(surface, selectors, dataSources);
541
+ const repeated = surface.repeat === true || Boolean(surface.source || surface.from);
542
+ lines.push(` surface ${id} kind ${kind} component ${component} {`);
543
+ if (repeated) lines.push(` repeat from ${source.kind} ${source.target}`);
544
+ else lines.push(` source ${source.kind} ${source.target}`);
545
+ if (surface.key || surface.keyPath) lines.push(` key ${stripDollarPath(surface.key || surface.keyPath)}`);
546
+ if (surface.portal) lines.push(` portal ${primitiveName(surface.portal, 'app')}`);
547
+ if (surface.bounds) {
548
+ const bounds = toPlainObject(surface.bounds);
549
+ lines.push(` bounds x ${bounds.x || 0} y ${bounds.y || 0} width ${bounds.width || 320} height ${bounds.height || 240}`);
550
+ }
551
+ resourceRefs(surface.resources).forEach((resourceId) => lines.push(` destroy releases resource ${primitiveName(resourceId, 'resource')}`));
552
+ lines.push('');
553
+ lines.push(' lane visible weight 70 {');
554
+ lines.push(` hydrate ${safeIdentifier(component, 'component')} from ${source.kind} ${source.target}`);
555
+ lines.push(' }');
556
+ const ownedEvents = events.filter((event) => primitiveName(event.owner, '') === id);
557
+ ownedEvents.forEach((event) => {
558
+ const action = primitiveName(event.action || 'noop', 'noop');
559
+ const eventName = safeIdentifier(event.event || 'click', 'click');
560
+ const target = event.target ? ` target ${primitiveName(stripDollarPath(event.target), 'target')}` : '';
561
+ lines.push('');
562
+ lines.push(` on ${eventName}${target} -> action ${action} {`);
563
+ eventPayloadMappings(event).forEach((mapping) => lines.push(` payload ${mapping.name} from ${mapping.source}`));
564
+ if (event.preventDefault) lines.push(' preventDefault true');
565
+ lines.push(' }');
566
+ });
567
+ lines.push(' }');
568
+ lines.push('');
569
+ });
570
+
571
+ lines.push('}');
572
+ return `${lines.join('\n').replace(/\n{3,}/gu, '\n\n')}\n`;
573
+ }
574
+
575
+ function createAppPlatformPrimitiveMigrationPreview(input = {}, options = {}) {
576
+ const parsed = rawAppPlatformDocument(input);
577
+ const diagnostics = toArray(parsed.diagnostics);
578
+ const document = parsed.document;
579
+ const detected = parsed.ok && isAppPlatformPrimitiveDocument(document);
580
+
581
+ if (!parsed.ok || !detected) {
582
+ const status = diagnostics.some((diagnostic) => diagnostic.severity === 'error') ? 'blocked' : 'not_app_platform';
583
+ return {
584
+ schema: RMT_VNEXT_PRIMITIVE_MIGRATION_SCHEMA,
585
+ workpackage: RMT_VNEXT_PRIMITIVE_MIGRATION_WORKPACKAGE,
586
+ languageMode: 'unknown',
587
+ detected: false,
588
+ status,
589
+ ok: false,
590
+ source: sourceFile(input),
591
+ authoringDraft: null,
592
+ authoringDraftCompileStatus: null,
593
+ projection: null,
594
+ domainMapping: {},
595
+ legacyAuthoring: {
596
+ role: 'unknown',
597
+ backgrounded: false
598
+ },
599
+ diagnostics,
600
+ ...diagnosticSummary(diagnostics)
601
+ };
602
+ }
603
+
604
+ const authoringDraft = createAppPlatformPrimitiveAuthoringDraft(document);
605
+ const compileResult = compileRmtVNextSource({
606
+ text: authoringDraft,
607
+ uri: input.uri,
608
+ filePath: input.filePath
609
+ }, options);
610
+
611
+ if (!compileResult.ok) {
612
+ diagnostics.push(createCompatibilityDiagnostic({
613
+ code: MIGRATION_PRIMITIVE_COMPILE_FAILED_CODE,
614
+ severity: 'error',
615
+ message: 'Der App-Platform-Primitive-vNext-Draft konnte nicht kompiliert werden.',
616
+ details: {
617
+ diagnosticCodes: toArray(compileResult.diagnostics).map((diagnostic) => diagnostic.code)
618
+ }
619
+ }, { file: sourceFile(input) }));
620
+ }
621
+
622
+ diagnostics.push(createCompatibilityDiagnostic({
623
+ code: MIGRATION_LEGACY_BACKGROUNDED_CODE,
624
+ severity: 'info',
625
+ message: 'Legacy/App-Platform JSON bleibt Compiler-Target und Mirror, nicht primaerer Authoring-Pfad.',
626
+ details: {
627
+ defaultAuthoring: 'rmt-vnext-primitives',
628
+ legacyRole: 'compiler-target'
629
+ }
630
+ }, { file: sourceFile(input) }));
631
+
632
+ const summary = diagnosticSummary(diagnostics);
633
+ const status = summary.errorCount > 0 ? 'blocked' : 'preview-ready';
634
+ const coreDocument = compileResult.coreDocument || null;
635
+
636
+ return {
637
+ schema: RMT_VNEXT_PRIMITIVE_MIGRATION_SCHEMA,
638
+ workpackage: RMT_VNEXT_PRIMITIVE_MIGRATION_WORKPACKAGE,
639
+ languageMode: 'legacy-app-platform-json',
640
+ detected: true,
641
+ status,
642
+ ok: status === 'preview-ready',
643
+ source: sourceFile(input),
644
+ authoringDraft,
645
+ authoringDraftCompileStatus: compileResult.status,
646
+ projection: coreDocument,
647
+ domainMapping: appPlatformDomainCounts(document),
648
+ appPlatformArtifactSchema: coreDocument && coreDocument.appPlatform && coreDocument.appPlatform.schema || null,
649
+ kernelRecordsSchema: coreDocument && coreDocument.kernelRecords && coreDocument.kernelRecords.schema || null,
650
+ sourceMapSummary: {
651
+ totalCount: coreDocument ? toArray(coreDocument.sourceMap).length : 0
652
+ },
653
+ legacyAuthoring: {
654
+ role: 'compiler-target',
655
+ backgrounded: true,
656
+ mirrorRequired: true
657
+ },
658
+ vNextAuthoring: {
659
+ role: 'default',
660
+ syntax: 'rmt-vnext-primitives'
661
+ },
662
+ diagnostics,
663
+ ...summary
664
+ };
665
+ }
666
+
667
+ function appPlatformPrimitiveMigrationTargetPath(input = {}, options = {}) {
668
+ if (options.targetPath) {
669
+ return path.normalize(options.targetPath);
670
+ }
671
+
672
+ const filePath = sourceFile(input);
673
+ if (!filePath) {
674
+ return 'rmt-vnext-primitives-migration.rmt';
675
+ }
676
+
677
+ const directory = path.dirname(filePath);
678
+ const basename = path.basename(filePath)
679
+ .replace(/\.rmt\.json$/u, '')
680
+ .replace(/\.json$/u, '')
681
+ .replace(/\.rmt$/u, '');
682
+
683
+ return path.join(directory, `${basename}.vnext.rmt`);
684
+ }
685
+
686
+ function createAppPlatformPrimitiveMigrationApplyPlan(input = {}, options = {}) {
687
+ const preview = createAppPlatformPrimitiveMigrationPreview(input, options);
688
+ const diagnostics = toArray(preview.diagnostics);
689
+ const compileReady = preview.authoringDraftCompileStatus === 'compiled' && !!preview.projection;
690
+ const status = !preview.detected
691
+ ? (preview.status === 'blocked' ? 'blocked' : 'report-only')
692
+ : (preview.ok && compileReady ? 'apply-plan-ready' : 'blocked');
693
+ const summary = diagnosticSummary(diagnostics);
694
+
695
+ return {
696
+ schema: RMT_VNEXT_PRIMITIVE_MIGRATION_APPLY_PLAN_SCHEMA,
697
+ previewSchema: RMT_VNEXT_PRIMITIVE_MIGRATION_SCHEMA,
698
+ workpackage: RMT_VNEXT_PRIMITIVE_MIGRATION_WORKPACKAGE,
699
+ languageMode: preview.languageMode,
700
+ migrationMode: 'apply-plan',
701
+ detected: preview.detected,
702
+ status,
703
+ ok: status === 'apply-plan-ready',
704
+ source: preview.source,
705
+ targetPath: appPlatformPrimitiveMigrationTargetPath(input, options),
706
+ writePolicy: 'manual-apply-only',
707
+ automaticWrite: false,
708
+ authoringDraft: status === 'apply-plan-ready' ? preview.authoringDraft : null,
709
+ authoringDraftCompileStatus: preview.authoringDraftCompileStatus,
710
+ compileStatus: preview.authoringDraftCompileStatus,
711
+ projection: status === 'apply-plan-ready' ? preview.projection : null,
712
+ domainMapping: preview.domainMapping || {},
713
+ legacyAuthoring: preview.legacyAuthoring,
714
+ vNextAuthoring: preview.vNextAuthoring || {
715
+ role: 'default',
716
+ syntax: 'rmt-vnext-primitives'
717
+ },
718
+ preview,
719
+ diagnostics,
720
+ ...summary
721
+ };
722
+ }
723
+
153
724
  function laneForSchedule(document, scheduleId) {
154
725
  const schedule = toArray(document.schedules).find((entry) => entry && entry.id === scheduleId);
155
726
  return safeIdentifier(schedule && schedule.lane || 'visible', 'visible');
@@ -511,6 +1082,59 @@ function createMigrationReport(input = {}, options = {}) {
511
1082
  };
512
1083
  }
513
1084
 
1085
+ const appPlatformPlan = migrationMode === 'apply-plan'
1086
+ ? createAppPlatformPrimitiveMigrationApplyPlan(input, options)
1087
+ : null;
1088
+ const appPlatformPreview = appPlatformPlan ? appPlatformPlan.preview : createAppPlatformPrimitiveMigrationPreview(input, options);
1089
+ if (appPlatformPreview.detected) {
1090
+ const optInDiagnostics = migrationMode === 'report-only' ? [
1091
+ createCompatibilityDiagnostic({
1092
+ code: MIGRATION_OPT_IN_REQUIRED_CODE,
1093
+ severity: 'warning',
1094
+ message: 'Migration bleibt opt-in. Nutze migrationMode "preview", um einen vNext Primitive Authoring-Draft zu erzeugen.'
1095
+ }, { file: sourceFile(input) }),
1096
+ createCompatibilityDiagnostic({
1097
+ code: MIGRATION_PRIMITIVE_PREVIEW_AVAILABLE_CODE,
1098
+ severity: 'info',
1099
+ message: 'App-Platform JSON kann als RMT vNext Primitive Authoring-Draft gespiegelt werden.',
1100
+ details: {
1101
+ schema: RMT_VNEXT_PRIMITIVE_MIGRATION_SCHEMA
1102
+ }
1103
+ }, { file: sourceFile(input) })
1104
+ ] : [];
1105
+ const diagnostics = optInDiagnostics.concat(appPlatformPreview.diagnostics);
1106
+ const summary = diagnosticSummary(diagnostics);
1107
+ const status = summary.errorCount > 0
1108
+ ? 'blocked'
1109
+ : (migrationMode === 'apply-plan' ? appPlatformPlan.status : (migrationMode === 'preview' ? appPlatformPreview.status : 'report-only'));
1110
+ return {
1111
+ schema: RMT_VNEXT_MIGRATION_REPORT_SCHEMA,
1112
+ workpackage: RMT_VNEXT_PRIMITIVE_MIGRATION_WORKPACKAGE,
1113
+ languageMode: 'legacy-app-platform-json',
1114
+ migrationRequired: true,
1115
+ migrationMode,
1116
+ status,
1117
+ migrationStatus: status,
1118
+ ok: status !== 'blocked',
1119
+ compatible: status !== 'blocked',
1120
+ roundtrip: null,
1121
+ projection: appPlatformPreview.projection,
1122
+ authoringDraft: migrationMode === 'preview' || migrationMode === 'apply-plan' ? appPlatformPreview.authoringDraft : null,
1123
+ authoringDraftCompileStatus: appPlatformPreview.authoringDraftCompileStatus,
1124
+ primitiveMigration: appPlatformPreview,
1125
+ primitiveMigrationApplyPlan: appPlatformPlan,
1126
+ boundaries: [{
1127
+ code: MIGRATION_LEGACY_BACKGROUNDED_CODE,
1128
+ severity: 'info',
1129
+ message: 'App-Platform JSON bleibt Mirror/Target; vNext Primitive ist Authoring-Default.',
1130
+ details: appPlatformPreview.legacyAuthoring
1131
+ }],
1132
+ compatibleWarningCodes: ROUNDTRIP_COMPATIBLE_WARNINGS.concat(MIGRATION_PRIMITIVE_PREVIEW_AVAILABLE_CODE),
1133
+ diagnostics,
1134
+ ...summary
1135
+ };
1136
+ }
1137
+
514
1138
  const parseResult = parseAndNormalizeRmtSource(input, options);
515
1139
  const base = {
516
1140
  uri: parseResult.sourceModel ? parseResult.sourceModel.uri : input.uri || null,
@@ -634,6 +1258,14 @@ function createRmtVNextCompatibilityAdapter(defaultOptions = {}) {
634
1258
  ...defaultOptions,
635
1259
  ...options
636
1260
  }),
1261
+ createAppPlatformPrimitiveMigrationPreview: (input = {}, options = {}) => createAppPlatformPrimitiveMigrationPreview(input, {
1262
+ ...defaultOptions,
1263
+ ...options
1264
+ }),
1265
+ createAppPlatformPrimitiveMigrationApplyPlan: (input = {}, options = {}) => createAppPlatformPrimitiveMigrationApplyPlan(input, {
1266
+ ...defaultOptions,
1267
+ ...options
1268
+ }),
637
1269
  createRoundtripReport: (input = {}, options = {}) => createLegacyRoundtripReport(input, {
638
1270
  ...defaultOptions,
639
1271
  ...options
@@ -647,11 +1279,15 @@ function createRmtVNextCompatibilityAdapter(defaultOptions = {}) {
647
1279
  }
648
1280
 
649
1281
  module.exports = {
1282
+ APP_PLATFORM_PRIMITIVE_DOMAINS,
650
1283
  LEGACY_DOMAINS,
651
1284
  MIGRATION_LEGACY_NORMALIZATION_FAILED_CODE,
652
1285
  MIGRATION_LEGACY_PARSE_FAILED_CODE,
1286
+ MIGRATION_LEGACY_BACKGROUNDED_CODE,
653
1287
  MIGRATION_LOSSY_DOMAIN_CODE,
654
1288
  MIGRATION_OPT_IN_REQUIRED_CODE,
1289
+ MIGRATION_PRIMITIVE_COMPILE_FAILED_CODE,
1290
+ MIGRATION_PRIMITIVE_PREVIEW_AVAILABLE_CODE,
655
1291
  MIGRATION_UNSUPPORTED_DOMAIN_CODE,
656
1292
  MIGRATION_VNEXT_COMPILE_FAILED_CODE,
657
1293
  RMT_VNEXT_COMPATIBILITY_MODULE_PATH,
@@ -662,9 +1298,15 @@ module.exports = {
662
1298
  RMT_VNEXT_COMPATIBILITY_WORKPACKAGE,
663
1299
  RMT_VNEXT_LEGACY_PROJECTION_SCHEMA,
664
1300
  RMT_VNEXT_MIGRATION_REPORT_SCHEMA,
1301
+ RMT_VNEXT_PRIMITIVE_MIGRATION_SCHEMA,
1302
+ RMT_VNEXT_PRIMITIVE_MIGRATION_APPLY_PLAN_SCHEMA,
1303
+ RMT_VNEXT_PRIMITIVE_MIGRATION_WORKPACKAGE,
665
1304
  RMT_VNEXT_ROUNDTRIP_REPORT_SCHEMA,
666
1305
  ROUNDTRIP_COMPATIBLE_WARNINGS,
667
1306
  ROUNDTRIP_MISMATCH_CODE,
1307
+ createAppPlatformPrimitiveAuthoringDraft,
1308
+ createAppPlatformPrimitiveMigrationApplyPlan,
1309
+ createAppPlatformPrimitiveMigrationPreview,
668
1310
  createCompatibilityMatrix,
669
1311
  createLegacyAuthoringDraft,
670
1312
  createLegacyCoreProjection,