@exactjs/core 0.5.1 → 0.6.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 (1172) hide show
  1. package/AGENTS.md +4 -4
  2. package/README.md +8 -6
  3. package/dist/activity.js.map +1 -1
  4. package/dist/children/composition.d.ts +34 -0
  5. package/dist/children/composition.d.ts.map +1 -0
  6. package/dist/children/composition.js +74 -0
  7. package/dist/children/composition.js.map +1 -0
  8. package/dist/children.d.ts +4 -0
  9. package/dist/children.d.ts.map +1 -0
  10. package/dist/children.js +3 -0
  11. package/dist/children.js.map +1 -0
  12. package/dist/class-values.js.map +1 -1
  13. package/dist/cleanup.js.map +1 -1
  14. package/dist/client/activity.js.map +1 -1
  15. package/dist/client/children/composition.d.ts +34 -0
  16. package/dist/client/children/composition.d.ts.map +1 -0
  17. package/dist/client/children/composition.js +74 -0
  18. package/dist/client/children/composition.js.map +1 -0
  19. package/dist/client/children.d.ts +4 -0
  20. package/dist/client/children.d.ts.map +1 -0
  21. package/dist/client/children.js +3 -0
  22. package/dist/client/children.js.map +1 -0
  23. package/dist/client/class-values.js.map +1 -1
  24. package/dist/client/cleanup.js.map +1 -1
  25. package/dist/client/component/async-value.js.map +1 -1
  26. package/dist/client/component/async.js.map +1 -1
  27. package/dist/client/component/authorization.js.map +1 -1
  28. package/dist/client/component/compact-instance.js.map +1 -1
  29. package/dist/client/component/compiled-abi.js.map +1 -1
  30. package/dist/client/component/compiled-output.js.map +1 -1
  31. package/dist/client/component/construction.js.map +1 -1
  32. package/dist/client/component/context-api.js.map +1 -1
  33. package/dist/client/component/context-capability-integration.js.map +1 -1
  34. package/dist/client/component/context-capability.js.map +1 -1
  35. package/dist/client/component/context-inspection.js.map +1 -1
  36. package/dist/client/component/context-resumption.js.map +1 -1
  37. package/dist/client/component/contexts.js.map +1 -1
  38. package/dist/client/component/contract-versions.d.ts +2 -2
  39. package/dist/client/component/contract-versions.js +2 -2
  40. package/dist/client/component/contract-versions.js.map +1 -1
  41. package/dist/client/component/contracts.d.ts +4 -2
  42. package/dist/client/component/contracts.d.ts.map +1 -1
  43. package/dist/client/component/contracts.js.map +1 -1
  44. package/dist/client/component/default-logger.js.map +1 -1
  45. package/dist/client/component/derived.js.map +1 -1
  46. package/dist/client/component/direct-server-context-api.js.map +1 -1
  47. package/dist/client/component/direct-server-instance-construction.js.map +1 -1
  48. package/dist/client/component/domain.d.ts +2 -0
  49. package/dist/client/component/domain.d.ts.map +1 -1
  50. package/dist/client/component/domain.js +4 -0
  51. package/dist/client/component/domain.js.map +1 -1
  52. package/dist/client/component/durable-instance-construction.js.map +1 -1
  53. package/dist/client/component/element-identity.js.map +1 -1
  54. package/dist/client/component/error-boundary.js +2 -2
  55. package/dist/client/component/error-boundary.js.map +1 -1
  56. package/dist/client/component/error-view.js.map +1 -1
  57. package/dist/client/component/errors.js.map +1 -1
  58. package/dist/client/component/input-observation.js.map +1 -1
  59. package/dist/client/component/inspection-source.js.map +1 -1
  60. package/dist/client/component/inspection.js.map +1 -1
  61. package/dist/client/component/instance-construction.js.map +1 -1
  62. package/dist/client/component/instance-identity.js.map +1 -1
  63. package/dist/client/component/interaction-contracts.js.map +1 -1
  64. package/dist/client/component/lifecycle-handlers.js.map +1 -1
  65. package/dist/client/component/list-capability-integration.js.map +1 -1
  66. package/dist/client/component/list-capability.js.map +1 -1
  67. package/dist/client/component/list-controller.js.map +1 -1
  68. package/dist/client/component/localization-capability.js.map +1 -1
  69. package/dist/client/component/log.js.map +1 -1
  70. package/dist/client/component/logical-owner.d.ts.map +1 -1
  71. package/dist/client/component/logical-owner.js +3 -2
  72. package/dist/client/component/logical-owner.js.map +1 -1
  73. package/dist/client/component/ownership.js.map +1 -1
  74. package/dist/client/component/performance-trace.js.map +1 -1
  75. package/dist/client/component/plugins.js.map +1 -1
  76. package/dist/client/component/reactive-expression.js.map +1 -1
  77. package/dist/client/component/reactive-expressions.d.ts.map +1 -1
  78. package/dist/client/component/reactive-expressions.js +3 -2
  79. package/dist/client/component/reactive-expressions.js.map +1 -1
  80. package/dist/client/component/reactive-value.js.map +1 -1
  81. package/dist/client/component/readiness.js.map +1 -1
  82. package/dist/client/component/ref-capability-integration.js.map +1 -1
  83. package/dist/client/component/ref-capability.js.map +1 -1
  84. package/dist/client/component/ref-runtime.js.map +1 -1
  85. package/dist/client/component/render-instance-construction.js.map +1 -1
  86. package/dist/client/component/render-instance.js.map +1 -1
  87. package/dist/client/component/render.js.map +1 -1
  88. package/dist/client/component/resource-ownership.js.map +1 -1
  89. package/dist/client/component/resumption.js.map +1 -1
  90. package/dist/client/component/root-lifecycle.js.map +1 -1
  91. package/dist/client/component/runtime-construction.js.map +1 -1
  92. package/dist/client/component/runtime-surface-contexts.js.map +1 -1
  93. package/dist/client/component/runtime-surface-lifecycle.js.map +1 -1
  94. package/dist/client/component/runtime-surface-lists.js.map +1 -1
  95. package/dist/client/component/runtime-surface-localization.js.map +1 -1
  96. package/dist/client/component/runtime-surface-logging.js.map +1 -1
  97. package/dist/client/component/runtime-surface-reactivity.js.map +1 -1
  98. package/dist/client/component/runtime-surface-refs.js.map +1 -1
  99. package/dist/client/component/runtime-surface-registration.js.map +1 -1
  100. package/dist/client/component/runtime-surface.js.map +1 -1
  101. package/dist/client/component/runtime.d.ts +3 -0
  102. package/dist/client/component/runtime.d.ts.map +1 -1
  103. package/dist/client/component/runtime.js +32 -6
  104. package/dist/client/component/runtime.js.map +1 -1
  105. package/dist/client/component/state.js.map +1 -1
  106. package/dist/client/component/task-capability-integration.js +1 -0
  107. package/dist/client/component/task-capability-integration.js.map +1 -1
  108. package/dist/client/component/task-capability.js.map +1 -1
  109. package/dist/client/component/task-inspection-history.js.map +1 -1
  110. package/dist/client/component/task-instance-construction.js.map +1 -1
  111. package/dist/client/component/task-instance.js.map +1 -1
  112. package/dist/client/component/task-observer.js.map +1 -1
  113. package/dist/client/component/task-owner-integration.js.map +1 -1
  114. package/dist/client/component/value-contracts.js.map +1 -1
  115. package/dist/client/component-abi/activity-receipt.js.map +1 -1
  116. package/dist/client/component-abi/artifact.js.map +1 -1
  117. package/dist/client/component-abi/child-range-receipt.js.map +1 -1
  118. package/dist/client/component-abi/client.d.ts +2 -1
  119. package/dist/client/component-abi/client.d.ts.map +1 -1
  120. package/dist/client/component-abi/client.js.map +1 -1
  121. package/dist/client/component-abi/compatibility-contribution.js.map +1 -1
  122. package/dist/client/component-abi/compiled-child-range.d.ts.map +1 -1
  123. package/dist/client/component-abi/compiled-child-range.js +6 -1
  124. package/dist/client/component-abi/compiled-child-range.js.map +1 -1
  125. package/dist/client/component-abi/compiled-runtime.js.map +1 -1
  126. package/dist/client/component-abi/executable-fields.js.map +1 -1
  127. package/dist/client/component-abi/fragment-receipt.d.ts +20 -0
  128. package/dist/client/component-abi/fragment-receipt.d.ts.map +1 -1
  129. package/dist/client/component-abi/fragment-receipt.js +35 -5
  130. package/dist/client/component-abi/fragment-receipt.js.map +1 -1
  131. package/dist/client/component-abi/intrinsic-receipt.d.ts +10 -0
  132. package/dist/client/component-abi/intrinsic-receipt.d.ts.map +1 -1
  133. package/dist/client/component-abi/intrinsic-receipt.js +44 -6
  134. package/dist/client/component-abi/intrinsic-receipt.js.map +1 -1
  135. package/dist/client/component-abi/keyed-child-receipt.js.map +1 -1
  136. package/dist/client/component-abi/opaque-operation.d.ts.map +1 -1
  137. package/dist/client/component-abi/opaque-operation.js +36 -3
  138. package/dist/client/component-abi/opaque-operation.js.map +1 -1
  139. package/dist/client/component-abi/portal-receipt.js.map +1 -1
  140. package/dist/client/component-abi/receipt.d.ts +7 -0
  141. package/dist/client/component-abi/receipt.d.ts.map +1 -1
  142. package/dist/client/component-abi/receipt.js +9 -0
  143. package/dist/client/component-abi/receipt.js.map +1 -1
  144. package/dist/client/component-abi/runtime.js.map +1 -1
  145. package/dist/client/component-abi/server-child-range.js +1 -1
  146. package/dist/client/component-abi/server-child-range.js.map +1 -1
  147. package/dist/client/component-abi/server-keyed-child.js.map +1 -1
  148. package/dist/client/component-abi/server-runtime.js.map +1 -1
  149. package/dist/client/component-abi/server-structure-receipts.js.map +1 -1
  150. package/dist/client/component-abi/server.d.ts +2 -1
  151. package/dist/client/component-abi/server.d.ts.map +1 -1
  152. package/dist/client/component-abi/server.js.map +1 -1
  153. package/dist/client/component-abi/suspense-receipt.js.map +1 -1
  154. package/dist/client/component-abi/target-receipt.d.ts +23 -1
  155. package/dist/client/component-abi/target-receipt.d.ts.map +1 -1
  156. package/dist/client/component-abi/target-receipt.js +46 -5
  157. package/dist/client/component-abi/target-receipt.js.map +1 -1
  158. package/dist/client/component-abi/text-projection-markup.d.ts +16 -0
  159. package/dist/client/component-abi/text-projection-markup.d.ts.map +1 -0
  160. package/dist/client/component-abi/text-projection-markup.js +110 -0
  161. package/dist/client/component-abi/text-projection-markup.js.map +1 -0
  162. package/dist/client/component-abi/text-projection.d.ts +12 -0
  163. package/dist/client/component-abi/text-projection.d.ts.map +1 -0
  164. package/dist/client/component-abi/text-projection.js +79 -0
  165. package/dist/client/component-abi/text-projection.js.map +1 -0
  166. package/dist/client/component-abi/unsafe-html-receipt.js.map +1 -1
  167. package/dist/client/component-abi/value-serialization.js.map +1 -1
  168. package/dist/client/component-contract/boundary-validation.js.map +1 -1
  169. package/dist/client/component-contract/composition-support.js.map +1 -1
  170. package/dist/client/component-contract/continuation-validation.js.map +1 -1
  171. package/dist/client/component-contract/contract-cache.js.map +1 -1
  172. package/dist/client/component-contract/contract-validation.d.ts.map +1 -1
  173. package/dist/client/component-contract/contract-validation.js +5 -13
  174. package/dist/client/component-contract/contract-validation.js.map +1 -1
  175. package/dist/client/component-contract/metadata-validation.d.ts +4 -0
  176. package/dist/client/component-contract/metadata-validation.d.ts.map +1 -1
  177. package/dist/client/component-contract/metadata-validation.js +16 -0
  178. package/dist/client/component-contract/metadata-validation.js.map +1 -1
  179. package/dist/client/component-contract/server-execution-validation.js.map +1 -1
  180. package/dist/client/component-contracts.d.ts +4 -3
  181. package/dist/client/component-contracts.d.ts.map +1 -1
  182. package/dist/client/component-contracts.js +7 -1
  183. package/dist/client/component-contracts.js.map +1 -1
  184. package/dist/client/component-definition-contracts.js.map +1 -1
  185. package/dist/client/component-registry/contracts.js.map +1 -1
  186. package/dist/client/component-registry/creation.d.ts.map +1 -1
  187. package/dist/client/component-registry/creation.js +4 -3
  188. package/dist/client/component-registry/creation.js.map +1 -1
  189. package/dist/client/component-registry/errors.js.map +1 -1
  190. package/dist/client/component-registry/loading.js.map +1 -1
  191. package/dist/client/component-registry/operations.js.map +1 -1
  192. package/dist/client/component-registry/storage.js.map +1 -1
  193. package/dist/client/component-registry/syntax.js.map +1 -1
  194. package/dist/client/document/composition.d.ts +7 -0
  195. package/dist/client/document/composition.d.ts.map +1 -0
  196. package/dist/client/document/composition.js +52 -0
  197. package/dist/client/document/composition.js.map +1 -0
  198. package/dist/client/document/definition.d.ts +10 -0
  199. package/dist/client/document/definition.d.ts.map +1 -0
  200. package/dist/client/document/definition.js +3 -0
  201. package/dist/client/document/definition.js.map +1 -0
  202. package/dist/client/document/doctype.d.ts +17 -0
  203. package/dist/client/document/doctype.d.ts.map +1 -0
  204. package/dist/client/document/doctype.js +35 -0
  205. package/dist/client/document/doctype.js.map +1 -0
  206. package/dist/client/document/output.d.ts +22 -0
  207. package/dist/client/document/output.d.ts.map +1 -0
  208. package/dist/client/document/output.js +30 -0
  209. package/dist/client/document/output.js.map +1 -0
  210. package/dist/client/document.d.ts +6 -0
  211. package/dist/client/document.d.ts.map +1 -0
  212. package/dist/client/document.js +5 -0
  213. package/dist/client/document.js.map +1 -0
  214. package/dist/client/dynamic-component/contracts.js.map +1 -1
  215. package/dist/client/dynamic-component/creation.js.map +1 -1
  216. package/dist/client/dynamic-component/runtime.js.map +1 -1
  217. package/dist/client/enhancements.d.ts +2 -0
  218. package/dist/client/enhancements.d.ts.map +1 -1
  219. package/dist/client/enhancements.js +8 -4
  220. package/dist/client/enhancements.js.map +1 -1
  221. package/dist/client/framework/async-values.js.map +1 -1
  222. package/dist/client/framework/compatibility-contributions.js.map +1 -1
  223. package/dist/client/framework/component-contract-validation.js.map +1 -1
  224. package/dist/client/framework/component-contracts.js.map +1 -1
  225. package/dist/client/framework/component-domains.js.map +1 -1
  226. package/dist/client/framework/component-execution.js.map +1 -1
  227. package/dist/client/framework/component-lifecycle.js.map +1 -1
  228. package/dist/client/framework/component-roots.js.map +1 -1
  229. package/dist/client/framework/enhancement-catalog.js.map +1 -1
  230. package/dist/client/framework/enhancement-fallback.d.ts +12 -0
  231. package/dist/client/framework/enhancement-fallback.d.ts.map +1 -0
  232. package/dist/client/framework/enhancement-fallback.js +41 -0
  233. package/dist/client/framework/enhancement-fallback.js.map +1 -0
  234. package/dist/client/framework/enhancement-order.d.ts +9 -0
  235. package/dist/client/framework/enhancement-order.d.ts.map +1 -0
  236. package/dist/client/framework/enhancement-order.js +34 -0
  237. package/dist/client/framework/enhancement-order.js.map +1 -0
  238. package/dist/client/framework/error-format.js.map +1 -1
  239. package/dist/client/framework/error-view.js.map +1 -1
  240. package/dist/client/framework/fragment-enhancement-chain.d.ts +4 -0
  241. package/dist/client/framework/fragment-enhancement-chain.d.ts.map +1 -0
  242. package/dist/client/framework/fragment-enhancement-chain.js +28 -0
  243. package/dist/client/framework/fragment-enhancement-chain.js.map +1 -0
  244. package/dist/client/framework/fragment-hosts.d.ts +30 -0
  245. package/dist/client/framework/fragment-hosts.d.ts.map +1 -0
  246. package/dist/client/framework/fragment-hosts.js +65 -0
  247. package/dist/client/framework/fragment-hosts.js.map +1 -0
  248. package/dist/client/framework/fragment-target-projection.d.ts +8 -0
  249. package/dist/client/framework/fragment-target-projection.d.ts.map +1 -0
  250. package/dist/client/framework/fragment-target-projection.js +98 -0
  251. package/dist/client/framework/fragment-target-projection.js.map +1 -0
  252. package/dist/client/framework/inspection-transport.js.map +1 -1
  253. package/dist/client/framework/operation-protocol.js.map +1 -1
  254. package/dist/client/framework/prepared-target-output.d.ts +11 -0
  255. package/dist/client/framework/prepared-target-output.d.ts.map +1 -0
  256. package/dist/client/framework/prepared-target-output.js +51 -0
  257. package/dist/client/framework/prepared-target-output.js.map +1 -0
  258. package/dist/client/framework/protocol-records.js.map +1 -1
  259. package/dist/client/framework/publication.js.map +1 -1
  260. package/dist/client/framework/render-structure.d.ts +10 -0
  261. package/dist/client/framework/render-structure.d.ts.map +1 -1
  262. package/dist/client/framework/render-structure.js +10 -0
  263. package/dist/client/framework/render-structure.js.map +1 -1
  264. package/dist/client/framework/server-component-contexts.js.map +1 -1
  265. package/dist/client/framework/server-component-execution.js.map +1 -1
  266. package/dist/client/framework/server-render-structure.js.map +1 -1
  267. package/dist/client/framework/server-task-helpers.d.ts +1 -0
  268. package/dist/client/framework/server-task-helpers.d.ts.map +1 -1
  269. package/dist/client/framework/server-task-helpers.js +1 -0
  270. package/dist/client/framework/server-task-helpers.js.map +1 -1
  271. package/dist/client/framework/supplied-placement.d.ts +8 -0
  272. package/dist/client/framework/supplied-placement.d.ts.map +1 -0
  273. package/dist/client/framework/supplied-placement.js +80 -0
  274. package/dist/client/framework/supplied-placement.js.map +1 -0
  275. package/dist/client/framework/target-contributions.d.ts +2 -0
  276. package/dist/client/framework/target-contributions.d.ts.map +1 -1
  277. package/dist/client/framework/target-contributions.js +38 -0
  278. package/dist/client/framework/target-contributions.js.map +1 -1
  279. package/dist/client/framework/task-frames.js.map +1 -1
  280. package/dist/client/framework/text-target-output.d.ts +6 -0
  281. package/dist/client/framework/text-target-output.d.ts.map +1 -0
  282. package/dist/client/framework/text-target-output.js +14 -0
  283. package/dist/client/framework/text-target-output.js.map +1 -0
  284. package/dist/client/hydration-boundary.js.map +1 -1
  285. package/dist/client/index.js.map +1 -1
  286. package/dist/client/inspection-transport.js.map +1 -1
  287. package/dist/client/interaction/execution.js.map +1 -1
  288. package/dist/client/json.js.map +1 -1
  289. package/dist/client/keys.js.map +1 -1
  290. package/dist/client/localization/component-integration.js.map +1 -1
  291. package/dist/client/localization/context.js.map +1 -1
  292. package/dist/client/localization/contracts.js.map +1 -1
  293. package/dist/client/localization/facade.js.map +1 -1
  294. package/dist/client/localization/formatter-pool.js.map +1 -1
  295. package/dist/client/localization.js.map +1 -1
  296. package/dist/client/logging.js.map +1 -1
  297. package/dist/client/native-props.js.map +1 -1
  298. package/dist/client/protocol-utf8.js.map +1 -1
  299. package/dist/client/protocol.js.map +1 -1
  300. package/dist/client/render-children.js.map +1 -1
  301. package/dist/client/render-program.d.ts +4 -1
  302. package/dist/client/render-program.d.ts.map +1 -1
  303. package/dist/client/render-program.js +1 -1
  304. package/dist/client/render-program.js.map +1 -1
  305. package/dist/client/runtime/collections.js.map +1 -1
  306. package/dist/client/runtime/compatibility-component-abi.js.map +1 -1
  307. package/dist/client/runtime/component-abi.d.ts +3 -3
  308. package/dist/client/runtime/component-abi.d.ts.map +1 -1
  309. package/dist/client/runtime/component-abi.js +3 -3
  310. package/dist/client/runtime/component-abi.js.map +1 -1
  311. package/dist/client/runtime/component-construction/direct-server.js.map +1 -1
  312. package/dist/client/runtime/component-construction/durable.js.map +1 -1
  313. package/dist/client/runtime/component-construction/render.js.map +1 -1
  314. package/dist/client/runtime/component-construction/task.js.map +1 -1
  315. package/dist/client/runtime/component-execution.js.map +1 -1
  316. package/dist/client/runtime/component-operations.d.ts +3 -0
  317. package/dist/client/runtime/component-operations.d.ts.map +1 -1
  318. package/dist/client/runtime/component-operations.js +3 -0
  319. package/dist/client/runtime/component-operations.js.map +1 -1
  320. package/dist/client/runtime/component-reactivity.js.map +1 -1
  321. package/dist/client/runtime/component-tasks.js.map +1 -1
  322. package/dist/client/runtime/contexts.js.map +1 -1
  323. package/dist/client/runtime/dynamic-components.js.map +1 -1
  324. package/dist/client/runtime/enhancements.js.map +1 -1
  325. package/dist/client/runtime/inspection.js.map +1 -1
  326. package/dist/client/runtime/lifecycle.js.map +1 -1
  327. package/dist/client/runtime/lists.js.map +1 -1
  328. package/dist/client/runtime/localization.js.map +1 -1
  329. package/dist/client/runtime/logging.js.map +1 -1
  330. package/dist/client/runtime/reactivity.js.map +1 -1
  331. package/dist/client/runtime/refs.js.map +1 -1
  332. package/dist/client/runtime/registry.js.map +1 -1
  333. package/dist/client/runtime/render-operations.js.map +1 -1
  334. package/dist/client/runtime/render.js.map +1 -1
  335. package/dist/client/runtime/tasks.js.map +1 -1
  336. package/dist/client/server-render-program.js.map +1 -1
  337. package/dist/client/ssr-independence.js.map +1 -1
  338. package/dist/client/symbols.js.map +1 -1
  339. package/dist/client/tasks/activation.js.map +1 -1
  340. package/dist/client/tasks/cancellation.js.map +1 -1
  341. package/dist/client/tasks/compiled-latest.js.map +1 -1
  342. package/dist/client/tasks/component-continuation.js.map +1 -1
  343. package/dist/client/tasks/component-execution-capability.js.map +1 -1
  344. package/dist/client/tasks/component-execution-plan.js.map +1 -1
  345. package/dist/client/tasks/component-execution-slice.js.map +1 -1
  346. package/dist/client/tasks/component-execution.js.map +1 -1
  347. package/dist/client/tasks/computation-activation.js.map +1 -1
  348. package/dist/client/tasks/continuations.js.map +1 -1
  349. package/dist/client/tasks/contracts.js.map +1 -1
  350. package/dist/client/tasks/definition-record.js.map +1 -1
  351. package/dist/client/tasks/dependency-provenance.js.map +1 -1
  352. package/dist/client/tasks/dependency-source.js.map +1 -1
  353. package/dist/client/tasks/dependency-watcher.js.map +1 -1
  354. package/dist/client/tasks/frame-context.js.map +1 -1
  355. package/dist/client/tasks/frame-continuation.js.map +1 -1
  356. package/dist/client/tasks/frame-contracts.js.map +1 -1
  357. package/dist/client/tasks/frame-inspection-capability.js.map +1 -1
  358. package/dist/client/tasks/frame-inspection.js.map +1 -1
  359. package/dist/client/tasks/frame-runtime.js.map +1 -1
  360. package/dist/client/tasks/frame-settlement.js.map +1 -1
  361. package/dist/client/tasks/generation-execution.js.map +1 -1
  362. package/dist/client/tasks/invocation.js.map +1 -1
  363. package/dist/client/tasks/observers.js.map +1 -1
  364. package/dist/client/tasks/optimism.js.map +1 -1
  365. package/dist/client/tasks/options.js.map +1 -1
  366. package/dist/client/tasks/owner-activations.js.map +1 -1
  367. package/dist/client/tasks/owner-hosts.js.map +1 -1
  368. package/dist/client/tasks/owner-record.js.map +1 -1
  369. package/dist/client/tasks/owners.js.map +1 -1
  370. package/dist/client/tasks/performance-trace.js.map +1 -1
  371. package/dist/client/tasks/policy.js.map +1 -1
  372. package/dist/client/tasks/priority.js.map +1 -1
  373. package/dist/client/tasks/public.js.map +1 -1
  374. package/dist/client/tasks/resources.js.map +1 -1
  375. package/dist/client/tasks/runtime-types.js.map +1 -1
  376. package/dist/client/tasks/runtime.js.map +1 -1
  377. package/dist/client/tasks/scheduled-reactions.js.map +1 -1
  378. package/dist/client/tasks/server-component-execution-contracts.js.map +1 -1
  379. package/dist/client/tasks/server-component-execution.d.ts +3 -0
  380. package/dist/client/tasks/server-component-execution.d.ts.map +1 -1
  381. package/dist/client/tasks/server-component-execution.js +16 -46
  382. package/dist/client/tasks/server-component-execution.js.map +1 -1
  383. package/dist/client/tasks/server-component-resources.js.map +1 -1
  384. package/dist/client/tasks/server-component-task-slice.d.ts +5 -0
  385. package/dist/client/tasks/server-component-task-slice.d.ts.map +1 -0
  386. package/dist/client/tasks/server-component-task-slice.js +56 -0
  387. package/dist/client/tasks/server-component-task-slice.js.map +1 -0
  388. package/dist/client/tasks/server-component-task-tree.d.ts +9 -0
  389. package/dist/client/tasks/server-component-task-tree.d.ts.map +1 -0
  390. package/dist/client/tasks/server-component-task-tree.js +38 -0
  391. package/dist/client/tasks/server-component-task-tree.js.map +1 -0
  392. package/dist/client/tasks/server-task-readiness.js.map +1 -1
  393. package/dist/client/tasks/signals.js.map +1 -1
  394. package/dist/client/tasks/status.js.map +1 -1
  395. package/dist/client/tasks/v1.js.map +1 -1
  396. package/dist/client/testing/runtime-artifacts.d.ts.map +1 -1
  397. package/dist/client/testing/runtime-artifacts.js +4 -3
  398. package/dist/client/testing/runtime-artifacts.js.map +1 -1
  399. package/dist/client/testing/runtime.d.ts.map +1 -1
  400. package/dist/client/testing/runtime.js +4 -2
  401. package/dist/client/testing/runtime.js.map +1 -1
  402. package/dist/client/testing.js.map +1 -1
  403. package/dist/client/url.js.map +1 -1
  404. package/dist/component/async-value.js.map +1 -1
  405. package/dist/component/async.js.map +1 -1
  406. package/dist/component/authorization.js.map +1 -1
  407. package/dist/component/compact-instance.js.map +1 -1
  408. package/dist/component/compiled-abi.js.map +1 -1
  409. package/dist/component/compiled-output.js.map +1 -1
  410. package/dist/component/construction.js.map +1 -1
  411. package/dist/component/context-api.js.map +1 -1
  412. package/dist/component/context-capability-integration.js.map +1 -1
  413. package/dist/component/context-capability.js.map +1 -1
  414. package/dist/component/context-inspection.js.map +1 -1
  415. package/dist/component/context-resumption.js.map +1 -1
  416. package/dist/component/contexts.js.map +1 -1
  417. package/dist/component/contract-versions.d.ts +2 -2
  418. package/dist/component/contract-versions.js +2 -2
  419. package/dist/component/contract-versions.js.map +1 -1
  420. package/dist/component/contracts.d.ts +4 -2
  421. package/dist/component/contracts.d.ts.map +1 -1
  422. package/dist/component/contracts.js.map +1 -1
  423. package/dist/component/default-logger.js.map +1 -1
  424. package/dist/component/derived.js.map +1 -1
  425. package/dist/component/direct-server-context-api.js.map +1 -1
  426. package/dist/component/direct-server-instance-construction.js.map +1 -1
  427. package/dist/component/domain.d.ts +2 -0
  428. package/dist/component/domain.d.ts.map +1 -1
  429. package/dist/component/domain.js +4 -0
  430. package/dist/component/domain.js.map +1 -1
  431. package/dist/component/durable-instance-construction.js.map +1 -1
  432. package/dist/component/element-identity.js.map +1 -1
  433. package/dist/component/error-boundary.js.map +1 -1
  434. package/dist/component/error-view.js.map +1 -1
  435. package/dist/component/errors.js.map +1 -1
  436. package/dist/component/input-observation.js.map +1 -1
  437. package/dist/component/inspection-source.js.map +1 -1
  438. package/dist/component/inspection.js.map +1 -1
  439. package/dist/component/instance-construction.js.map +1 -1
  440. package/dist/component/instance-identity.js.map +1 -1
  441. package/dist/component/interaction-contracts.js.map +1 -1
  442. package/dist/component/lifecycle-handlers.js.map +1 -1
  443. package/dist/component/list-capability-integration.js.map +1 -1
  444. package/dist/component/list-capability.js.map +1 -1
  445. package/dist/component/list-controller.js.map +1 -1
  446. package/dist/component/localization-capability.js.map +1 -1
  447. package/dist/component/log.js.map +1 -1
  448. package/dist/component/logical-owner.d.ts.map +1 -1
  449. package/dist/component/logical-owner.js +3 -2
  450. package/dist/component/logical-owner.js.map +1 -1
  451. package/dist/component/ownership.js.map +1 -1
  452. package/dist/component/performance-trace.js.map +1 -1
  453. package/dist/component/plugins.js.map +1 -1
  454. package/dist/component/reactive-expression.js.map +1 -1
  455. package/dist/component/reactive-expressions.d.ts.map +1 -1
  456. package/dist/component/reactive-expressions.js +3 -2
  457. package/dist/component/reactive-expressions.js.map +1 -1
  458. package/dist/component/reactive-value.js.map +1 -1
  459. package/dist/component/readiness.js.map +1 -1
  460. package/dist/component/ref-capability-integration.js.map +1 -1
  461. package/dist/component/ref-capability.js.map +1 -1
  462. package/dist/component/ref-runtime.js.map +1 -1
  463. package/dist/component/render-instance-construction.js.map +1 -1
  464. package/dist/component/render-instance.js.map +1 -1
  465. package/dist/component/render.js.map +1 -1
  466. package/dist/component/resource-ownership.js.map +1 -1
  467. package/dist/component/resumption.js.map +1 -1
  468. package/dist/component/root-lifecycle.js.map +1 -1
  469. package/dist/component/runtime-construction.js.map +1 -1
  470. package/dist/component/runtime-surface-contexts.js.map +1 -1
  471. package/dist/component/runtime-surface-lifecycle.js.map +1 -1
  472. package/dist/component/runtime-surface-lists.js.map +1 -1
  473. package/dist/component/runtime-surface-localization.js.map +1 -1
  474. package/dist/component/runtime-surface-logging.js.map +1 -1
  475. package/dist/component/runtime-surface-reactivity.js.map +1 -1
  476. package/dist/component/runtime-surface-refs.js.map +1 -1
  477. package/dist/component/runtime-surface-registration.js.map +1 -1
  478. package/dist/component/runtime-surface.js.map +1 -1
  479. package/dist/component/runtime.d.ts +3 -0
  480. package/dist/component/runtime.d.ts.map +1 -1
  481. package/dist/component/runtime.js +32 -6
  482. package/dist/component/runtime.js.map +1 -1
  483. package/dist/component/state.js.map +1 -1
  484. package/dist/component/task-capability-integration.js +1 -0
  485. package/dist/component/task-capability-integration.js.map +1 -1
  486. package/dist/component/task-capability.js.map +1 -1
  487. package/dist/component/task-inspection-history.js.map +1 -1
  488. package/dist/component/task-instance-construction.js.map +1 -1
  489. package/dist/component/task-instance.js.map +1 -1
  490. package/dist/component/task-observer.js.map +1 -1
  491. package/dist/component/task-owner-integration.js.map +1 -1
  492. package/dist/component/value-contracts.js.map +1 -1
  493. package/dist/component-abi/activity-receipt.js.map +1 -1
  494. package/dist/component-abi/artifact.js.map +1 -1
  495. package/dist/component-abi/child-range-receipt.js.map +1 -1
  496. package/dist/component-abi/client.d.ts +2 -1
  497. package/dist/component-abi/client.d.ts.map +1 -1
  498. package/dist/component-abi/client.js.map +1 -1
  499. package/dist/component-abi/compatibility-contribution.js.map +1 -1
  500. package/dist/component-abi/compiled-child-range.d.ts.map +1 -1
  501. package/dist/component-abi/compiled-child-range.js +6 -1
  502. package/dist/component-abi/compiled-child-range.js.map +1 -1
  503. package/dist/component-abi/compiled-runtime.js.map +1 -1
  504. package/dist/component-abi/executable-fields.js.map +1 -1
  505. package/dist/component-abi/fragment-receipt.d.ts +20 -0
  506. package/dist/component-abi/fragment-receipt.d.ts.map +1 -1
  507. package/dist/component-abi/fragment-receipt.js +35 -5
  508. package/dist/component-abi/fragment-receipt.js.map +1 -1
  509. package/dist/component-abi/intrinsic-receipt.d.ts +10 -0
  510. package/dist/component-abi/intrinsic-receipt.d.ts.map +1 -1
  511. package/dist/component-abi/intrinsic-receipt.js +44 -6
  512. package/dist/component-abi/intrinsic-receipt.js.map +1 -1
  513. package/dist/component-abi/keyed-child-receipt.js.map +1 -1
  514. package/dist/component-abi/opaque-operation.d.ts.map +1 -1
  515. package/dist/component-abi/opaque-operation.js +36 -3
  516. package/dist/component-abi/opaque-operation.js.map +1 -1
  517. package/dist/component-abi/portal-receipt.js.map +1 -1
  518. package/dist/component-abi/receipt.d.ts +7 -0
  519. package/dist/component-abi/receipt.d.ts.map +1 -1
  520. package/dist/component-abi/receipt.js +9 -0
  521. package/dist/component-abi/receipt.js.map +1 -1
  522. package/dist/component-abi/runtime.js.map +1 -1
  523. package/dist/component-abi/server-child-range.js +1 -1
  524. package/dist/component-abi/server-child-range.js.map +1 -1
  525. package/dist/component-abi/server-keyed-child.js.map +1 -1
  526. package/dist/component-abi/server-runtime.js.map +1 -1
  527. package/dist/component-abi/server-structure-receipts.js.map +1 -1
  528. package/dist/component-abi/server.d.ts +2 -1
  529. package/dist/component-abi/server.d.ts.map +1 -1
  530. package/dist/component-abi/server.js.map +1 -1
  531. package/dist/component-abi/suspense-receipt.js.map +1 -1
  532. package/dist/component-abi/target-receipt.d.ts +23 -1
  533. package/dist/component-abi/target-receipt.d.ts.map +1 -1
  534. package/dist/component-abi/target-receipt.js +46 -5
  535. package/dist/component-abi/target-receipt.js.map +1 -1
  536. package/dist/component-abi/text-projection-markup.d.ts +16 -0
  537. package/dist/component-abi/text-projection-markup.d.ts.map +1 -0
  538. package/dist/component-abi/text-projection-markup.js +110 -0
  539. package/dist/component-abi/text-projection-markup.js.map +1 -0
  540. package/dist/component-abi/text-projection.d.ts +12 -0
  541. package/dist/component-abi/text-projection.d.ts.map +1 -0
  542. package/dist/component-abi/text-projection.js +79 -0
  543. package/dist/component-abi/text-projection.js.map +1 -0
  544. package/dist/component-abi/unsafe-html-receipt.js.map +1 -1
  545. package/dist/component-abi/value-serialization.js.map +1 -1
  546. package/dist/component-contract/boundary-validation.js.map +1 -1
  547. package/dist/component-contract/composition-support.js.map +1 -1
  548. package/dist/component-contract/continuation-validation.js.map +1 -1
  549. package/dist/component-contract/contract-cache.js.map +1 -1
  550. package/dist/component-contract/contract-validation.d.ts.map +1 -1
  551. package/dist/component-contract/contract-validation.js +5 -13
  552. package/dist/component-contract/contract-validation.js.map +1 -1
  553. package/dist/component-contract/metadata-validation.d.ts +4 -0
  554. package/dist/component-contract/metadata-validation.d.ts.map +1 -1
  555. package/dist/component-contract/metadata-validation.js +16 -0
  556. package/dist/component-contract/metadata-validation.js.map +1 -1
  557. package/dist/component-contract/server-execution-validation.js.map +1 -1
  558. package/dist/component-contracts.d.ts +4 -3
  559. package/dist/component-contracts.d.ts.map +1 -1
  560. package/dist/component-contracts.js +7 -1
  561. package/dist/component-contracts.js.map +1 -1
  562. package/dist/component-definition-contracts.js.map +1 -1
  563. package/dist/component-registry/contracts.js.map +1 -1
  564. package/dist/component-registry/creation.d.ts.map +1 -1
  565. package/dist/component-registry/creation.js +4 -3
  566. package/dist/component-registry/creation.js.map +1 -1
  567. package/dist/component-registry/errors.js.map +1 -1
  568. package/dist/component-registry/loading.js.map +1 -1
  569. package/dist/component-registry/operations.js.map +1 -1
  570. package/dist/component-registry/storage.js.map +1 -1
  571. package/dist/component-registry/syntax.js.map +1 -1
  572. package/dist/document/composition.d.ts +7 -0
  573. package/dist/document/composition.d.ts.map +1 -0
  574. package/dist/document/composition.js +52 -0
  575. package/dist/document/composition.js.map +1 -0
  576. package/dist/document/definition.d.ts +10 -0
  577. package/dist/document/definition.d.ts.map +1 -0
  578. package/dist/document/definition.js +3 -0
  579. package/dist/document/definition.js.map +1 -0
  580. package/dist/document/doctype.d.ts +17 -0
  581. package/dist/document/doctype.d.ts.map +1 -0
  582. package/dist/document/doctype.js +35 -0
  583. package/dist/document/doctype.js.map +1 -0
  584. package/dist/document/output.d.ts +22 -0
  585. package/dist/document/output.d.ts.map +1 -0
  586. package/dist/document/output.js +30 -0
  587. package/dist/document/output.js.map +1 -0
  588. package/dist/document.d.ts +6 -0
  589. package/dist/document.d.ts.map +1 -0
  590. package/dist/document.js +5 -0
  591. package/dist/document.js.map +1 -0
  592. package/dist/dynamic-component/contracts.js.map +1 -1
  593. package/dist/dynamic-component/creation.js.map +1 -1
  594. package/dist/dynamic-component/runtime.js.map +1 -1
  595. package/dist/enhancements.d.ts +2 -0
  596. package/dist/enhancements.d.ts.map +1 -1
  597. package/dist/enhancements.js +8 -4
  598. package/dist/enhancements.js.map +1 -1
  599. package/dist/framework/async-values.js.map +1 -1
  600. package/dist/framework/compatibility-contributions.js.map +1 -1
  601. package/dist/framework/component-contract-validation.js.map +1 -1
  602. package/dist/framework/component-contracts.js.map +1 -1
  603. package/dist/framework/component-domains.js.map +1 -1
  604. package/dist/framework/component-execution.js.map +1 -1
  605. package/dist/framework/component-lifecycle.js.map +1 -1
  606. package/dist/framework/component-roots.js.map +1 -1
  607. package/dist/framework/enhancement-catalog.js.map +1 -1
  608. package/dist/framework/enhancement-fallback.d.ts +12 -0
  609. package/dist/framework/enhancement-fallback.d.ts.map +1 -0
  610. package/dist/framework/enhancement-fallback.js +41 -0
  611. package/dist/framework/enhancement-fallback.js.map +1 -0
  612. package/dist/framework/enhancement-order.d.ts +9 -0
  613. package/dist/framework/enhancement-order.d.ts.map +1 -0
  614. package/dist/framework/enhancement-order.js +34 -0
  615. package/dist/framework/enhancement-order.js.map +1 -0
  616. package/dist/framework/error-format.js.map +1 -1
  617. package/dist/framework/error-view.js.map +1 -1
  618. package/dist/framework/fragment-enhancement-chain.d.ts +4 -0
  619. package/dist/framework/fragment-enhancement-chain.d.ts.map +1 -0
  620. package/dist/framework/fragment-enhancement-chain.js +28 -0
  621. package/dist/framework/fragment-enhancement-chain.js.map +1 -0
  622. package/dist/framework/fragment-hosts.d.ts +30 -0
  623. package/dist/framework/fragment-hosts.d.ts.map +1 -0
  624. package/dist/framework/fragment-hosts.js +65 -0
  625. package/dist/framework/fragment-hosts.js.map +1 -0
  626. package/dist/framework/fragment-target-projection.d.ts +8 -0
  627. package/dist/framework/fragment-target-projection.d.ts.map +1 -0
  628. package/dist/framework/fragment-target-projection.js +98 -0
  629. package/dist/framework/fragment-target-projection.js.map +1 -0
  630. package/dist/framework/inspection-transport.js.map +1 -1
  631. package/dist/framework/operation-protocol.js.map +1 -1
  632. package/dist/framework/prepared-target-output.d.ts +11 -0
  633. package/dist/framework/prepared-target-output.d.ts.map +1 -0
  634. package/dist/framework/prepared-target-output.js +51 -0
  635. package/dist/framework/prepared-target-output.js.map +1 -0
  636. package/dist/framework/protocol-records.js.map +1 -1
  637. package/dist/framework/publication.js.map +1 -1
  638. package/dist/framework/render-structure.d.ts +10 -0
  639. package/dist/framework/render-structure.d.ts.map +1 -1
  640. package/dist/framework/render-structure.js +10 -0
  641. package/dist/framework/render-structure.js.map +1 -1
  642. package/dist/framework/server-component-contexts.js.map +1 -1
  643. package/dist/framework/server-component-execution.js.map +1 -1
  644. package/dist/framework/server-render-structure.js.map +1 -1
  645. package/dist/framework/server-task-helpers.d.ts +1 -0
  646. package/dist/framework/server-task-helpers.d.ts.map +1 -1
  647. package/dist/framework/server-task-helpers.js +1 -0
  648. package/dist/framework/server-task-helpers.js.map +1 -1
  649. package/dist/framework/supplied-placement.d.ts +8 -0
  650. package/dist/framework/supplied-placement.d.ts.map +1 -0
  651. package/dist/framework/supplied-placement.js +80 -0
  652. package/dist/framework/supplied-placement.js.map +1 -0
  653. package/dist/framework/target-contributions.d.ts +2 -0
  654. package/dist/framework/target-contributions.d.ts.map +1 -1
  655. package/dist/framework/target-contributions.js +38 -0
  656. package/dist/framework/target-contributions.js.map +1 -1
  657. package/dist/framework/task-frames.js.map +1 -1
  658. package/dist/framework/text-target-output.d.ts +6 -0
  659. package/dist/framework/text-target-output.d.ts.map +1 -0
  660. package/dist/framework/text-target-output.js +14 -0
  661. package/dist/framework/text-target-output.js.map +1 -0
  662. package/dist/hydration-boundary.js.map +1 -1
  663. package/dist/index.js.map +1 -1
  664. package/dist/inspection-transport.js.map +1 -1
  665. package/dist/interaction/execution.js.map +1 -1
  666. package/dist/json.js.map +1 -1
  667. package/dist/keys.js.map +1 -1
  668. package/dist/localization/component-integration.js.map +1 -1
  669. package/dist/localization/context.js.map +1 -1
  670. package/dist/localization/contracts.js.map +1 -1
  671. package/dist/localization/facade.js.map +1 -1
  672. package/dist/localization/formatter-pool.js.map +1 -1
  673. package/dist/localization.js.map +1 -1
  674. package/dist/logging.js.map +1 -1
  675. package/dist/native-props.js.map +1 -1
  676. package/dist/protocol-utf8.js.map +1 -1
  677. package/dist/protocol.js.map +1 -1
  678. package/dist/render-children.js.map +1 -1
  679. package/dist/render-program.d.ts +4 -1
  680. package/dist/render-program.d.ts.map +1 -1
  681. package/dist/render-program.js +1 -1
  682. package/dist/render-program.js.map +1 -1
  683. package/dist/runtime/collections.js.map +1 -1
  684. package/dist/runtime/compatibility-component-abi.js.map +1 -1
  685. package/dist/runtime/component-abi.d.ts +3 -3
  686. package/dist/runtime/component-abi.d.ts.map +1 -1
  687. package/dist/runtime/component-abi.js +3 -3
  688. package/dist/runtime/component-abi.js.map +1 -1
  689. package/dist/runtime/component-construction/direct-server.js.map +1 -1
  690. package/dist/runtime/component-construction/durable.js.map +1 -1
  691. package/dist/runtime/component-construction/render.js.map +1 -1
  692. package/dist/runtime/component-construction/task.js.map +1 -1
  693. package/dist/runtime/component-execution.js.map +1 -1
  694. package/dist/runtime/component-operations.d.ts +3 -0
  695. package/dist/runtime/component-operations.d.ts.map +1 -1
  696. package/dist/runtime/component-operations.js +3 -0
  697. package/dist/runtime/component-operations.js.map +1 -1
  698. package/dist/runtime/component-reactivity.js.map +1 -1
  699. package/dist/runtime/component-tasks.js.map +1 -1
  700. package/dist/runtime/contexts.js.map +1 -1
  701. package/dist/runtime/dynamic-components.js.map +1 -1
  702. package/dist/runtime/enhancements.js.map +1 -1
  703. package/dist/runtime/inspection.js.map +1 -1
  704. package/dist/runtime/lifecycle.js.map +1 -1
  705. package/dist/runtime/lists.js.map +1 -1
  706. package/dist/runtime/localization.js.map +1 -1
  707. package/dist/runtime/logging.js.map +1 -1
  708. package/dist/runtime/reactivity.js.map +1 -1
  709. package/dist/runtime/refs.js.map +1 -1
  710. package/dist/runtime/registry.js.map +1 -1
  711. package/dist/runtime/render-operations.js.map +1 -1
  712. package/dist/runtime/render.js.map +1 -1
  713. package/dist/runtime/tasks.js.map +1 -1
  714. package/dist/server/activity.js.map +1 -1
  715. package/dist/server/children/composition.d.ts +34 -0
  716. package/dist/server/children/composition.d.ts.map +1 -0
  717. package/dist/server/children/composition.js +74 -0
  718. package/dist/server/children/composition.js.map +1 -0
  719. package/dist/server/children.d.ts +4 -0
  720. package/dist/server/children.d.ts.map +1 -0
  721. package/dist/server/children.js +3 -0
  722. package/dist/server/children.js.map +1 -0
  723. package/dist/server/class-values.js.map +1 -1
  724. package/dist/server/cleanup.js.map +1 -1
  725. package/dist/server/component/async-value.js.map +1 -1
  726. package/dist/server/component/async.js.map +1 -1
  727. package/dist/server/component/authorization.js.map +1 -1
  728. package/dist/server/component/compact-instance.js.map +1 -1
  729. package/dist/server/component/compiled-abi.js.map +1 -1
  730. package/dist/server/component/compiled-output.js.map +1 -1
  731. package/dist/server/component/construction.js.map +1 -1
  732. package/dist/server/component/context-api.js.map +1 -1
  733. package/dist/server/component/context-capability-integration.js.map +1 -1
  734. package/dist/server/component/context-capability.js.map +1 -1
  735. package/dist/server/component/context-inspection.js.map +1 -1
  736. package/dist/server/component/context-resumption.js.map +1 -1
  737. package/dist/server/component/contexts.js.map +1 -1
  738. package/dist/server/component/contract-versions.d.ts +2 -2
  739. package/dist/server/component/contract-versions.js +2 -2
  740. package/dist/server/component/contract-versions.js.map +1 -1
  741. package/dist/server/component/contracts.d.ts +4 -2
  742. package/dist/server/component/contracts.d.ts.map +1 -1
  743. package/dist/server/component/contracts.js.map +1 -1
  744. package/dist/server/component/default-logger.js.map +1 -1
  745. package/dist/server/component/derived.js.map +1 -1
  746. package/dist/server/component/direct-server-context-api.js.map +1 -1
  747. package/dist/server/component/direct-server-instance-construction.js.map +1 -1
  748. package/dist/server/component/domain.d.ts +2 -0
  749. package/dist/server/component/domain.d.ts.map +1 -1
  750. package/dist/server/component/domain.js +4 -0
  751. package/dist/server/component/domain.js.map +1 -1
  752. package/dist/server/component/durable-instance-construction.js.map +1 -1
  753. package/dist/server/component/element-identity.js.map +1 -1
  754. package/dist/server/component/error-boundary.js +2 -2
  755. package/dist/server/component/error-boundary.js.map +1 -1
  756. package/dist/server/component/error-view.js.map +1 -1
  757. package/dist/server/component/errors.js.map +1 -1
  758. package/dist/server/component/input-observation.js.map +1 -1
  759. package/dist/server/component/inspection-source.js.map +1 -1
  760. package/dist/server/component/inspection.js.map +1 -1
  761. package/dist/server/component/instance-construction.js.map +1 -1
  762. package/dist/server/component/instance-identity.js.map +1 -1
  763. package/dist/server/component/interaction-contracts.js.map +1 -1
  764. package/dist/server/component/lifecycle-handlers.js.map +1 -1
  765. package/dist/server/component/list-capability-integration.js.map +1 -1
  766. package/dist/server/component/list-capability.js.map +1 -1
  767. package/dist/server/component/list-controller.js.map +1 -1
  768. package/dist/server/component/localization-capability.js.map +1 -1
  769. package/dist/server/component/log.js.map +1 -1
  770. package/dist/server/component/logical-owner.d.ts.map +1 -1
  771. package/dist/server/component/logical-owner.js +3 -2
  772. package/dist/server/component/logical-owner.js.map +1 -1
  773. package/dist/server/component/ownership.js.map +1 -1
  774. package/dist/server/component/performance-trace.js.map +1 -1
  775. package/dist/server/component/plugins.js.map +1 -1
  776. package/dist/server/component/reactive-expression.js.map +1 -1
  777. package/dist/server/component/reactive-expressions.d.ts.map +1 -1
  778. package/dist/server/component/reactive-expressions.js +3 -2
  779. package/dist/server/component/reactive-expressions.js.map +1 -1
  780. package/dist/server/component/reactive-value.js.map +1 -1
  781. package/dist/server/component/readiness.js.map +1 -1
  782. package/dist/server/component/ref-capability-integration.js.map +1 -1
  783. package/dist/server/component/ref-capability.js.map +1 -1
  784. package/dist/server/component/ref-runtime.js.map +1 -1
  785. package/dist/server/component/render-instance-construction.js.map +1 -1
  786. package/dist/server/component/render-instance.js.map +1 -1
  787. package/dist/server/component/render.js.map +1 -1
  788. package/dist/server/component/resource-ownership.js.map +1 -1
  789. package/dist/server/component/resumption.js.map +1 -1
  790. package/dist/server/component/root-lifecycle.js.map +1 -1
  791. package/dist/server/component/runtime-construction.js.map +1 -1
  792. package/dist/server/component/runtime-surface-contexts.js.map +1 -1
  793. package/dist/server/component/runtime-surface-lifecycle.js.map +1 -1
  794. package/dist/server/component/runtime-surface-lists.js.map +1 -1
  795. package/dist/server/component/runtime-surface-localization.js.map +1 -1
  796. package/dist/server/component/runtime-surface-logging.js.map +1 -1
  797. package/dist/server/component/runtime-surface-reactivity.js.map +1 -1
  798. package/dist/server/component/runtime-surface-refs.js.map +1 -1
  799. package/dist/server/component/runtime-surface-registration.js.map +1 -1
  800. package/dist/server/component/runtime-surface.js.map +1 -1
  801. package/dist/server/component/runtime.d.ts +3 -0
  802. package/dist/server/component/runtime.d.ts.map +1 -1
  803. package/dist/server/component/runtime.js +32 -6
  804. package/dist/server/component/runtime.js.map +1 -1
  805. package/dist/server/component/state.js.map +1 -1
  806. package/dist/server/component/task-capability-integration.js +1 -0
  807. package/dist/server/component/task-capability-integration.js.map +1 -1
  808. package/dist/server/component/task-capability.js.map +1 -1
  809. package/dist/server/component/task-inspection-history.js.map +1 -1
  810. package/dist/server/component/task-instance-construction.js.map +1 -1
  811. package/dist/server/component/task-instance.js.map +1 -1
  812. package/dist/server/component/task-observer.js.map +1 -1
  813. package/dist/server/component/task-owner-integration.js.map +1 -1
  814. package/dist/server/component/value-contracts.js.map +1 -1
  815. package/dist/server/component-abi/activity-receipt.js.map +1 -1
  816. package/dist/server/component-abi/artifact.js.map +1 -1
  817. package/dist/server/component-abi/child-range-receipt.js.map +1 -1
  818. package/dist/server/component-abi/client.d.ts +2 -1
  819. package/dist/server/component-abi/client.d.ts.map +1 -1
  820. package/dist/server/component-abi/client.js.map +1 -1
  821. package/dist/server/component-abi/compatibility-contribution.js.map +1 -1
  822. package/dist/server/component-abi/compiled-child-range.d.ts.map +1 -1
  823. package/dist/server/component-abi/compiled-child-range.js +6 -1
  824. package/dist/server/component-abi/compiled-child-range.js.map +1 -1
  825. package/dist/server/component-abi/compiled-runtime.js.map +1 -1
  826. package/dist/server/component-abi/executable-fields.js.map +1 -1
  827. package/dist/server/component-abi/fragment-receipt.d.ts +20 -0
  828. package/dist/server/component-abi/fragment-receipt.d.ts.map +1 -1
  829. package/dist/server/component-abi/fragment-receipt.js +35 -5
  830. package/dist/server/component-abi/fragment-receipt.js.map +1 -1
  831. package/dist/server/component-abi/intrinsic-receipt.d.ts +10 -0
  832. package/dist/server/component-abi/intrinsic-receipt.d.ts.map +1 -1
  833. package/dist/server/component-abi/intrinsic-receipt.js +44 -6
  834. package/dist/server/component-abi/intrinsic-receipt.js.map +1 -1
  835. package/dist/server/component-abi/keyed-child-receipt.js.map +1 -1
  836. package/dist/server/component-abi/opaque-operation.d.ts.map +1 -1
  837. package/dist/server/component-abi/opaque-operation.js +36 -3
  838. package/dist/server/component-abi/opaque-operation.js.map +1 -1
  839. package/dist/server/component-abi/portal-receipt.js.map +1 -1
  840. package/dist/server/component-abi/receipt.d.ts +7 -0
  841. package/dist/server/component-abi/receipt.d.ts.map +1 -1
  842. package/dist/server/component-abi/receipt.js +9 -0
  843. package/dist/server/component-abi/receipt.js.map +1 -1
  844. package/dist/server/component-abi/runtime.js.map +1 -1
  845. package/dist/server/component-abi/server-child-range.js +1 -1
  846. package/dist/server/component-abi/server-child-range.js.map +1 -1
  847. package/dist/server/component-abi/server-keyed-child.js.map +1 -1
  848. package/dist/server/component-abi/server-runtime.js.map +1 -1
  849. package/dist/server/component-abi/server-structure-receipts.js.map +1 -1
  850. package/dist/server/component-abi/server.d.ts +2 -1
  851. package/dist/server/component-abi/server.d.ts.map +1 -1
  852. package/dist/server/component-abi/server.js.map +1 -1
  853. package/dist/server/component-abi/suspense-receipt.js.map +1 -1
  854. package/dist/server/component-abi/target-receipt.d.ts +23 -1
  855. package/dist/server/component-abi/target-receipt.d.ts.map +1 -1
  856. package/dist/server/component-abi/target-receipt.js +46 -5
  857. package/dist/server/component-abi/target-receipt.js.map +1 -1
  858. package/dist/server/component-abi/text-projection-markup.d.ts +16 -0
  859. package/dist/server/component-abi/text-projection-markup.d.ts.map +1 -0
  860. package/dist/server/component-abi/text-projection-markup.js +110 -0
  861. package/dist/server/component-abi/text-projection-markup.js.map +1 -0
  862. package/dist/server/component-abi/text-projection.d.ts +12 -0
  863. package/dist/server/component-abi/text-projection.d.ts.map +1 -0
  864. package/dist/server/component-abi/text-projection.js +79 -0
  865. package/dist/server/component-abi/text-projection.js.map +1 -0
  866. package/dist/server/component-abi/unsafe-html-receipt.js.map +1 -1
  867. package/dist/server/component-abi/value-serialization.js.map +1 -1
  868. package/dist/server/component-contract/boundary-validation.js.map +1 -1
  869. package/dist/server/component-contract/composition-support.js.map +1 -1
  870. package/dist/server/component-contract/continuation-validation.js.map +1 -1
  871. package/dist/server/component-contract/contract-cache.js.map +1 -1
  872. package/dist/server/component-contract/contract-validation.d.ts.map +1 -1
  873. package/dist/server/component-contract/contract-validation.js +5 -13
  874. package/dist/server/component-contract/contract-validation.js.map +1 -1
  875. package/dist/server/component-contract/metadata-validation.d.ts +4 -0
  876. package/dist/server/component-contract/metadata-validation.d.ts.map +1 -1
  877. package/dist/server/component-contract/metadata-validation.js +16 -0
  878. package/dist/server/component-contract/metadata-validation.js.map +1 -1
  879. package/dist/server/component-contract/server-execution-validation.js.map +1 -1
  880. package/dist/server/component-contracts.d.ts +4 -3
  881. package/dist/server/component-contracts.d.ts.map +1 -1
  882. package/dist/server/component-contracts.js +7 -1
  883. package/dist/server/component-contracts.js.map +1 -1
  884. package/dist/server/component-definition-contracts.js.map +1 -1
  885. package/dist/server/component-registry/contracts.js.map +1 -1
  886. package/dist/server/component-registry/creation.d.ts.map +1 -1
  887. package/dist/server/component-registry/creation.js +4 -3
  888. package/dist/server/component-registry/creation.js.map +1 -1
  889. package/dist/server/component-registry/errors.js.map +1 -1
  890. package/dist/server/component-registry/loading.js.map +1 -1
  891. package/dist/server/component-registry/operations.js.map +1 -1
  892. package/dist/server/component-registry/storage.js.map +1 -1
  893. package/dist/server/component-registry/syntax.js.map +1 -1
  894. package/dist/server/document/composition.d.ts +7 -0
  895. package/dist/server/document/composition.d.ts.map +1 -0
  896. package/dist/server/document/composition.js +52 -0
  897. package/dist/server/document/composition.js.map +1 -0
  898. package/dist/server/document/definition.d.ts +10 -0
  899. package/dist/server/document/definition.d.ts.map +1 -0
  900. package/dist/server/document/definition.js +3 -0
  901. package/dist/server/document/definition.js.map +1 -0
  902. package/dist/server/document/doctype.d.ts +17 -0
  903. package/dist/server/document/doctype.d.ts.map +1 -0
  904. package/dist/server/document/doctype.js +35 -0
  905. package/dist/server/document/doctype.js.map +1 -0
  906. package/dist/server/document/output.d.ts +22 -0
  907. package/dist/server/document/output.d.ts.map +1 -0
  908. package/dist/server/document/output.js +30 -0
  909. package/dist/server/document/output.js.map +1 -0
  910. package/dist/server/document.d.ts +6 -0
  911. package/dist/server/document.d.ts.map +1 -0
  912. package/dist/server/document.js +5 -0
  913. package/dist/server/document.js.map +1 -0
  914. package/dist/server/dynamic-component/contracts.js.map +1 -1
  915. package/dist/server/dynamic-component/creation.js.map +1 -1
  916. package/dist/server/dynamic-component/runtime.js.map +1 -1
  917. package/dist/server/enhancements.d.ts +2 -0
  918. package/dist/server/enhancements.d.ts.map +1 -1
  919. package/dist/server/enhancements.js +8 -4
  920. package/dist/server/enhancements.js.map +1 -1
  921. package/dist/server/framework/async-values.js.map +1 -1
  922. package/dist/server/framework/compatibility-contributions.js.map +1 -1
  923. package/dist/server/framework/component-contract-validation.js.map +1 -1
  924. package/dist/server/framework/component-contracts.js.map +1 -1
  925. package/dist/server/framework/component-domains.js.map +1 -1
  926. package/dist/server/framework/component-execution.js.map +1 -1
  927. package/dist/server/framework/component-lifecycle.js.map +1 -1
  928. package/dist/server/framework/component-roots.js.map +1 -1
  929. package/dist/server/framework/enhancement-catalog.js.map +1 -1
  930. package/dist/server/framework/enhancement-fallback.d.ts +12 -0
  931. package/dist/server/framework/enhancement-fallback.d.ts.map +1 -0
  932. package/dist/server/framework/enhancement-fallback.js +41 -0
  933. package/dist/server/framework/enhancement-fallback.js.map +1 -0
  934. package/dist/server/framework/enhancement-order.d.ts +9 -0
  935. package/dist/server/framework/enhancement-order.d.ts.map +1 -0
  936. package/dist/server/framework/enhancement-order.js +34 -0
  937. package/dist/server/framework/enhancement-order.js.map +1 -0
  938. package/dist/server/framework/error-format.js.map +1 -1
  939. package/dist/server/framework/error-view.js.map +1 -1
  940. package/dist/server/framework/fragment-enhancement-chain.d.ts +4 -0
  941. package/dist/server/framework/fragment-enhancement-chain.d.ts.map +1 -0
  942. package/dist/server/framework/fragment-enhancement-chain.js +28 -0
  943. package/dist/server/framework/fragment-enhancement-chain.js.map +1 -0
  944. package/dist/server/framework/fragment-hosts.d.ts +30 -0
  945. package/dist/server/framework/fragment-hosts.d.ts.map +1 -0
  946. package/dist/server/framework/fragment-hosts.js +65 -0
  947. package/dist/server/framework/fragment-hosts.js.map +1 -0
  948. package/dist/server/framework/fragment-target-projection.d.ts +8 -0
  949. package/dist/server/framework/fragment-target-projection.d.ts.map +1 -0
  950. package/dist/server/framework/fragment-target-projection.js +98 -0
  951. package/dist/server/framework/fragment-target-projection.js.map +1 -0
  952. package/dist/server/framework/inspection-transport.js.map +1 -1
  953. package/dist/server/framework/operation-protocol.js.map +1 -1
  954. package/dist/server/framework/prepared-target-output.d.ts +11 -0
  955. package/dist/server/framework/prepared-target-output.d.ts.map +1 -0
  956. package/dist/server/framework/prepared-target-output.js +51 -0
  957. package/dist/server/framework/prepared-target-output.js.map +1 -0
  958. package/dist/server/framework/protocol-records.js.map +1 -1
  959. package/dist/server/framework/publication.js.map +1 -1
  960. package/dist/server/framework/render-structure.d.ts +10 -0
  961. package/dist/server/framework/render-structure.d.ts.map +1 -1
  962. package/dist/server/framework/render-structure.js +10 -0
  963. package/dist/server/framework/render-structure.js.map +1 -1
  964. package/dist/server/framework/server-component-contexts.js.map +1 -1
  965. package/dist/server/framework/server-component-execution.js.map +1 -1
  966. package/dist/server/framework/server-render-structure.js.map +1 -1
  967. package/dist/server/framework/server-task-helpers.d.ts +1 -0
  968. package/dist/server/framework/server-task-helpers.d.ts.map +1 -1
  969. package/dist/server/framework/server-task-helpers.js +1 -0
  970. package/dist/server/framework/server-task-helpers.js.map +1 -1
  971. package/dist/server/framework/supplied-placement.d.ts +8 -0
  972. package/dist/server/framework/supplied-placement.d.ts.map +1 -0
  973. package/dist/server/framework/supplied-placement.js +80 -0
  974. package/dist/server/framework/supplied-placement.js.map +1 -0
  975. package/dist/server/framework/target-contributions.d.ts +2 -0
  976. package/dist/server/framework/target-contributions.d.ts.map +1 -1
  977. package/dist/server/framework/target-contributions.js +38 -0
  978. package/dist/server/framework/target-contributions.js.map +1 -1
  979. package/dist/server/framework/task-frames.js.map +1 -1
  980. package/dist/server/framework/text-target-output.d.ts +6 -0
  981. package/dist/server/framework/text-target-output.d.ts.map +1 -0
  982. package/dist/server/framework/text-target-output.js +14 -0
  983. package/dist/server/framework/text-target-output.js.map +1 -0
  984. package/dist/server/hydration-boundary.js.map +1 -1
  985. package/dist/server/index.js.map +1 -1
  986. package/dist/server/inspection-transport.js.map +1 -1
  987. package/dist/server/interaction/execution.js.map +1 -1
  988. package/dist/server/json.js.map +1 -1
  989. package/dist/server/keys.js.map +1 -1
  990. package/dist/server/localization/component-integration.js.map +1 -1
  991. package/dist/server/localization/context.js.map +1 -1
  992. package/dist/server/localization/contracts.js.map +1 -1
  993. package/dist/server/localization/facade.js.map +1 -1
  994. package/dist/server/localization/formatter-pool.js.map +1 -1
  995. package/dist/server/localization.js.map +1 -1
  996. package/dist/server/logging.js.map +1 -1
  997. package/dist/server/native-props.js.map +1 -1
  998. package/dist/server/protocol-utf8.js.map +1 -1
  999. package/dist/server/protocol.js.map +1 -1
  1000. package/dist/server/render-children.js.map +1 -1
  1001. package/dist/server/render-program.d.ts +4 -1
  1002. package/dist/server/render-program.d.ts.map +1 -1
  1003. package/dist/server/render-program.js +1 -1
  1004. package/dist/server/render-program.js.map +1 -1
  1005. package/dist/server/runtime/collections.js.map +1 -1
  1006. package/dist/server/runtime/compatibility-component-abi.js.map +1 -1
  1007. package/dist/server/runtime/component-abi.d.ts +3 -3
  1008. package/dist/server/runtime/component-abi.d.ts.map +1 -1
  1009. package/dist/server/runtime/component-abi.js +3 -3
  1010. package/dist/server/runtime/component-abi.js.map +1 -1
  1011. package/dist/server/runtime/component-construction/direct-server.js.map +1 -1
  1012. package/dist/server/runtime/component-construction/durable.js.map +1 -1
  1013. package/dist/server/runtime/component-construction/render.js.map +1 -1
  1014. package/dist/server/runtime/component-construction/task.js.map +1 -1
  1015. package/dist/server/runtime/component-execution.js.map +1 -1
  1016. package/dist/server/runtime/component-operations.d.ts +3 -0
  1017. package/dist/server/runtime/component-operations.d.ts.map +1 -1
  1018. package/dist/server/runtime/component-operations.js +3 -0
  1019. package/dist/server/runtime/component-operations.js.map +1 -1
  1020. package/dist/server/runtime/component-reactivity.js.map +1 -1
  1021. package/dist/server/runtime/component-tasks.js.map +1 -1
  1022. package/dist/server/runtime/contexts.js.map +1 -1
  1023. package/dist/server/runtime/dynamic-components.js.map +1 -1
  1024. package/dist/server/runtime/enhancements.js.map +1 -1
  1025. package/dist/server/runtime/inspection.js.map +1 -1
  1026. package/dist/server/runtime/lifecycle.js.map +1 -1
  1027. package/dist/server/runtime/lists.js.map +1 -1
  1028. package/dist/server/runtime/localization.js.map +1 -1
  1029. package/dist/server/runtime/logging.js.map +1 -1
  1030. package/dist/server/runtime/reactivity.js.map +1 -1
  1031. package/dist/server/runtime/refs.js.map +1 -1
  1032. package/dist/server/runtime/registry.js.map +1 -1
  1033. package/dist/server/runtime/render-operations.js.map +1 -1
  1034. package/dist/server/runtime/render.js.map +1 -1
  1035. package/dist/server/runtime/tasks.js.map +1 -1
  1036. package/dist/server/server-render-program.js.map +1 -1
  1037. package/dist/server/ssr-independence.js.map +1 -1
  1038. package/dist/server/symbols.js.map +1 -1
  1039. package/dist/server/tasks/activation.js.map +1 -1
  1040. package/dist/server/tasks/cancellation.js.map +1 -1
  1041. package/dist/server/tasks/compiled-latest.js.map +1 -1
  1042. package/dist/server/tasks/component-continuation.js.map +1 -1
  1043. package/dist/server/tasks/component-execution-capability.js.map +1 -1
  1044. package/dist/server/tasks/component-execution-plan.js.map +1 -1
  1045. package/dist/server/tasks/component-execution-slice.js.map +1 -1
  1046. package/dist/server/tasks/component-execution.js.map +1 -1
  1047. package/dist/server/tasks/computation-activation.js.map +1 -1
  1048. package/dist/server/tasks/continuations.js.map +1 -1
  1049. package/dist/server/tasks/contracts.js.map +1 -1
  1050. package/dist/server/tasks/definition-record.js.map +1 -1
  1051. package/dist/server/tasks/dependency-provenance.js.map +1 -1
  1052. package/dist/server/tasks/dependency-source.js.map +1 -1
  1053. package/dist/server/tasks/dependency-watcher.js.map +1 -1
  1054. package/dist/server/tasks/frame-context.js.map +1 -1
  1055. package/dist/server/tasks/frame-continuation.js.map +1 -1
  1056. package/dist/server/tasks/frame-contracts.js.map +1 -1
  1057. package/dist/server/tasks/frame-inspection-capability.js.map +1 -1
  1058. package/dist/server/tasks/frame-inspection.js.map +1 -1
  1059. package/dist/server/tasks/frame-runtime.js.map +1 -1
  1060. package/dist/server/tasks/frame-settlement.js.map +1 -1
  1061. package/dist/server/tasks/generation-execution.js.map +1 -1
  1062. package/dist/server/tasks/invocation.js.map +1 -1
  1063. package/dist/server/tasks/observers.js.map +1 -1
  1064. package/dist/server/tasks/optimism.js.map +1 -1
  1065. package/dist/server/tasks/options.js.map +1 -1
  1066. package/dist/server/tasks/owner-activations.js.map +1 -1
  1067. package/dist/server/tasks/owner-hosts.js.map +1 -1
  1068. package/dist/server/tasks/owner-record.js.map +1 -1
  1069. package/dist/server/tasks/owners.js.map +1 -1
  1070. package/dist/server/tasks/performance-trace.js.map +1 -1
  1071. package/dist/server/tasks/policy.js.map +1 -1
  1072. package/dist/server/tasks/priority.js.map +1 -1
  1073. package/dist/server/tasks/public.js.map +1 -1
  1074. package/dist/server/tasks/resources.js.map +1 -1
  1075. package/dist/server/tasks/runtime-types.js.map +1 -1
  1076. package/dist/server/tasks/runtime.js.map +1 -1
  1077. package/dist/server/tasks/scheduled-reactions.js.map +1 -1
  1078. package/dist/server/tasks/server-component-execution-contracts.js.map +1 -1
  1079. package/dist/server/tasks/server-component-execution.d.ts +3 -0
  1080. package/dist/server/tasks/server-component-execution.d.ts.map +1 -1
  1081. package/dist/server/tasks/server-component-execution.js +16 -46
  1082. package/dist/server/tasks/server-component-execution.js.map +1 -1
  1083. package/dist/server/tasks/server-component-resources.js.map +1 -1
  1084. package/dist/server/tasks/server-component-task-slice.d.ts +5 -0
  1085. package/dist/server/tasks/server-component-task-slice.d.ts.map +1 -0
  1086. package/dist/server/tasks/server-component-task-slice.js +56 -0
  1087. package/dist/server/tasks/server-component-task-slice.js.map +1 -0
  1088. package/dist/server/tasks/server-component-task-tree.d.ts +9 -0
  1089. package/dist/server/tasks/server-component-task-tree.d.ts.map +1 -0
  1090. package/dist/server/tasks/server-component-task-tree.js +38 -0
  1091. package/dist/server/tasks/server-component-task-tree.js.map +1 -0
  1092. package/dist/server/tasks/server-task-readiness.js.map +1 -1
  1093. package/dist/server/tasks/signals.js.map +1 -1
  1094. package/dist/server/tasks/status.js.map +1 -1
  1095. package/dist/server/tasks/v1.js.map +1 -1
  1096. package/dist/server/testing/runtime-artifacts.d.ts.map +1 -1
  1097. package/dist/server/testing/runtime-artifacts.js +4 -3
  1098. package/dist/server/testing/runtime-artifacts.js.map +1 -1
  1099. package/dist/server/testing/runtime.d.ts.map +1 -1
  1100. package/dist/server/testing/runtime.js +4 -2
  1101. package/dist/server/testing/runtime.js.map +1 -1
  1102. package/dist/server/testing.js.map +1 -1
  1103. package/dist/server/url.js.map +1 -1
  1104. package/dist/server-render-program.js.map +1 -1
  1105. package/dist/ssr-independence.js.map +1 -1
  1106. package/dist/symbols.js.map +1 -1
  1107. package/dist/tasks/activation.js.map +1 -1
  1108. package/dist/tasks/cancellation.js.map +1 -1
  1109. package/dist/tasks/compiled-latest.js.map +1 -1
  1110. package/dist/tasks/component-continuation.js.map +1 -1
  1111. package/dist/tasks/component-execution-capability.js.map +1 -1
  1112. package/dist/tasks/component-execution-plan.js.map +1 -1
  1113. package/dist/tasks/component-execution-slice.js.map +1 -1
  1114. package/dist/tasks/component-execution.js.map +1 -1
  1115. package/dist/tasks/computation-activation.js.map +1 -1
  1116. package/dist/tasks/continuations.js.map +1 -1
  1117. package/dist/tasks/contracts.js.map +1 -1
  1118. package/dist/tasks/definition-record.js.map +1 -1
  1119. package/dist/tasks/dependency-provenance.js.map +1 -1
  1120. package/dist/tasks/dependency-source.js.map +1 -1
  1121. package/dist/tasks/dependency-watcher.js.map +1 -1
  1122. package/dist/tasks/frame-context.js.map +1 -1
  1123. package/dist/tasks/frame-continuation.js.map +1 -1
  1124. package/dist/tasks/frame-contracts.js.map +1 -1
  1125. package/dist/tasks/frame-inspection-capability.js.map +1 -1
  1126. package/dist/tasks/frame-inspection.js.map +1 -1
  1127. package/dist/tasks/frame-runtime.js.map +1 -1
  1128. package/dist/tasks/frame-settlement.js.map +1 -1
  1129. package/dist/tasks/generation-execution.js.map +1 -1
  1130. package/dist/tasks/invocation.js.map +1 -1
  1131. package/dist/tasks/observers.js.map +1 -1
  1132. package/dist/tasks/optimism.js.map +1 -1
  1133. package/dist/tasks/options.js.map +1 -1
  1134. package/dist/tasks/owner-activations.js.map +1 -1
  1135. package/dist/tasks/owner-hosts.js.map +1 -1
  1136. package/dist/tasks/owner-record.js.map +1 -1
  1137. package/dist/tasks/owners.js.map +1 -1
  1138. package/dist/tasks/performance-trace.js.map +1 -1
  1139. package/dist/tasks/policy.js.map +1 -1
  1140. package/dist/tasks/priority.js.map +1 -1
  1141. package/dist/tasks/public.js.map +1 -1
  1142. package/dist/tasks/resources.js.map +1 -1
  1143. package/dist/tasks/runtime-types.js.map +1 -1
  1144. package/dist/tasks/runtime.js.map +1 -1
  1145. package/dist/tasks/scheduled-reactions.js.map +1 -1
  1146. package/dist/tasks/server-component-execution-contracts.js.map +1 -1
  1147. package/dist/tasks/server-component-execution.d.ts +3 -0
  1148. package/dist/tasks/server-component-execution.d.ts.map +1 -1
  1149. package/dist/tasks/server-component-execution.js +16 -46
  1150. package/dist/tasks/server-component-execution.js.map +1 -1
  1151. package/dist/tasks/server-component-resources.js.map +1 -1
  1152. package/dist/tasks/server-component-task-slice.d.ts +5 -0
  1153. package/dist/tasks/server-component-task-slice.d.ts.map +1 -0
  1154. package/dist/tasks/server-component-task-slice.js +56 -0
  1155. package/dist/tasks/server-component-task-slice.js.map +1 -0
  1156. package/dist/tasks/server-component-task-tree.d.ts +9 -0
  1157. package/dist/tasks/server-component-task-tree.d.ts.map +1 -0
  1158. package/dist/tasks/server-component-task-tree.js +38 -0
  1159. package/dist/tasks/server-component-task-tree.js.map +1 -0
  1160. package/dist/tasks/server-task-readiness.js.map +1 -1
  1161. package/dist/tasks/signals.js.map +1 -1
  1162. package/dist/tasks/status.js.map +1 -1
  1163. package/dist/tasks/v1.js.map +1 -1
  1164. package/dist/testing/runtime-artifacts.d.ts.map +1 -1
  1165. package/dist/testing/runtime-artifacts.js +4 -3
  1166. package/dist/testing/runtime-artifacts.js.map +1 -1
  1167. package/dist/testing/runtime.d.ts.map +1 -1
  1168. package/dist/testing/runtime.js +4 -2
  1169. package/dist/testing/runtime.js.map +1 -1
  1170. package/dist/testing.js.map +1 -1
  1171. package/dist/url.js.map +1 -1
  1172. package/package.json +12 -2
@@ -0,0 +1,98 @@
1
+ import { computed, unwrap } from '@exactjs/reactive/framework/runtime';
2
+ import { readCompiledTargetReceipt, createCompiledTargetReceipt } from '../component-abi/target-receipt.js';
3
+ import { readCompiledIntrinsicReceipt, withIntrinsicReceiptChildren } from '../component-abi/intrinsic-receipt.js';
4
+ import { readCompiledFragmentReceipt, createCompiledFragmentReceipt, createCompiledFragmentPresentation } from '../component-abi/fragment-receipt.js';
5
+ import { readChildRangeReceipt, createChildRangeReceipt } from '../component-abi/child-range-receipt.js';
6
+ import { readPreparedServerChildRange, createPreparedServerChildRange } from '../component-abi/server-child-range.js';
7
+ import { readPreparedServerRenderProgram } from '../server-render-program.js';
8
+ import { readRenderProgramReceipt, createPreparedRenderProgram, readRenderProgramSlot } from '../render-program.js';
9
+ import { readPreparedTargetOutput } from './prepared-target-output.js';
10
+ import { FragmentPresentationHosts } from './fragment-hosts.js';
11
+ /**
12
+ * Projects only one enhancement owner's supplied placement, preserving its authored structure.
13
+ * Nested component implementations stay opaque. Each owner is a host-coalescing barrier; transparent
14
+ * consecutive owners are grouped before this path. Reactive ranges retain their existing invalidation.
15
+ */
16
+ export function createFragmentTargetProjection(supplied, tag, owner) {
17
+ const identity = Symbol('fragment contribution');
18
+ const hosts = new FragmentPresentationHosts();
19
+ const cache = new WeakMap();
20
+ const map = (raw) => {
21
+ const selected = typeof supplied === 'function' ? supplied() : supplied;
22
+ if (raw === selected)
23
+ return raw;
24
+ const value = unwrap(raw);
25
+ if (value === selected)
26
+ return value;
27
+ if (Array.isArray(value))
28
+ return value.map(map);
29
+ if (typeof value !== 'object' || value === null)
30
+ return value;
31
+ const retained = cache.get(value);
32
+ if (retained !== undefined)
33
+ return retained;
34
+ const target = readCompiledTargetReceipt(value);
35
+ let result = value;
36
+ if (target) {
37
+ const contribution = readPreparedTargetOutput([value], selected);
38
+ const presentation = createCompiledFragmentPresentation(selected, hosts
39
+ .reconcile([
40
+ {
41
+ owner: identity,
42
+ tag,
43
+ props: contribution.props,
44
+ declaredHostProps: contribution.declaredHostProps
45
+ }
46
+ ])
47
+ .map((host) => ({
48
+ identity: host.identity,
49
+ tag: host.tag,
50
+ contributions: [{ identity, props: contribution.props, owner }]
51
+ })));
52
+ result = createCompiledTargetReceipt(null, presentation);
53
+ }
54
+ else {
55
+ const intrinsic = readCompiledIntrinsicReceipt(value);
56
+ const fragment = readCompiledFragmentReceipt(value);
57
+ const range = readChildRangeReceipt(value);
58
+ const serverRange = readPreparedServerChildRange(value);
59
+ const program = readRenderProgramReceipt(value);
60
+ const serverProgram = readPreparedServerRenderProgram(value);
61
+ if (intrinsic)
62
+ result = withIntrinsicReceiptChildren(value, intrinsic.children.map((child) => map(child)));
63
+ else if (fragment)
64
+ result = createCompiledFragmentReceipt({ ...fragment.props, key: fragment.key, __exactEnhancements: fragment.enhancement }, ...fragment.children.map(map));
65
+ else if (range && !range.dynamicComponent)
66
+ result = createChildRangeReceipt(computed(() => map(range.value)), range.markerId, range.mayReplaceSubtree);
67
+ else if (serverRange)
68
+ result = createPreparedServerChildRange(map(serverRange.value), serverRange.markerId, serverRange.mayReplaceSubtree);
69
+ else if (program) {
70
+ const invocation = program.invocation;
71
+ const slots = new Set(invocation.program.targetSlots ?? []);
72
+ result = createPreparedRenderProgram(invocation.program, (index) => slots.has(index)
73
+ ? map(readRenderProgramSlot(invocation, index))
74
+ : readRenderProgramSlot(invocation, index), invocation.owner, invocation.propertyWriter, program.enhancement);
75
+ }
76
+ else if (serverProgram) {
77
+ const slots = new Set(serverProgram.program.targetSlots ?? []);
78
+ const values = (input) => input.map((entry, index) => (slots.has(index) ? map(entry) : entry));
79
+ result = {
80
+ ...serverProgram,
81
+ eagerValues: values(serverProgram.eagerValues),
82
+ ...(serverProgram.deferredValues
83
+ ? {
84
+ deferredValues: {
85
+ ...serverProgram.deferredValues,
86
+ read: () => values(serverProgram.deferredValues.read())
87
+ }
88
+ }
89
+ : {})
90
+ };
91
+ }
92
+ }
93
+ cache.set(value, result);
94
+ return result;
95
+ };
96
+ return (children) => children.map((child) => map(child));
97
+ }
98
+ //# sourceMappingURL=fragment-target-projection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fragment-target-projection.js","sourceRoot":"","sources":["../../../src/framework/fragment-target-projection.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EACN,yBAAyB,EACzB,2BAA2B,EAC3B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACN,4BAA4B,EAC5B,4BAA4B,EAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACN,2BAA2B,EAC3B,6BAA6B,EAC7B,kCAAkC,EAClC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,qBAAqB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C;gBAC1B,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC;gBAC/D,MAAM,MAAM,GAAG,CAAC,KAAyB,EAAE,EAAE,CAC5C,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;gBACtE,MAAM,GAAG;oBACR,GAAG,aAAa;oBAChB,WAAW,EAAE,MAAM,CAAC,aAAa,CAAC,WAAW,CAAC;oBAC9C,GAAG,CAAC,aAAa,CAAC,cAAc;wBAC/B,CAAC,CAAC;4BACA,cAAc,EAAE;gCACf,GAAG,aAAa,CAAC,cAAc;gCAC/B,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,cAAe,CAAC,IAAI,EAAE,CAAC;6BACxD;yBACD;wBACF,CAAC,CAAC,EAAE,CAAC;iBACN,CAAC;YACH,CAAC;QACF,CAAC;QACD,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,MAAe,CAAC,CAAC;QAClC,OAAO,MAAM,CAAC;IACf,CAAC,CAAC;IACF,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,CAAU,CAAC,CAAC;AACnE,CAAC","sourcesContent":["import type { AnyComponentInstance, Child } from '../component/contracts.js';\nimport { computed, unwrap } from '@exactjs/reactive/framework/runtime';\nimport {\n\treadCompiledTargetReceipt,\n\tcreateCompiledTargetReceipt\n} from '../component-abi/target-receipt.js';\nimport {\n\treadCompiledIntrinsicReceipt,\n\twithIntrinsicReceiptChildren\n} from '../component-abi/intrinsic-receipt.js';\nimport {\n\treadCompiledFragmentReceipt,\n\tcreateCompiledFragmentReceipt,\n\tcreateCompiledFragmentPresentation\n} from '../component-abi/fragment-receipt.js';\nimport {\n\treadChildRangeReceipt,\n\tcreateChildRangeReceipt\n} from '../component-abi/child-range-receipt.js';\nimport {\n\treadPreparedServerChildRange,\n\tcreatePreparedServerChildRange\n} from '../component-abi/server-child-range.js';\nimport { readPreparedServerRenderProgram } from '../server-render-program.js';\nimport {\n\treadRenderProgramReceipt,\n\tcreatePreparedRenderProgram,\n\treadRenderProgramSlot\n} from '../render-program.js';\nimport { readPreparedTargetOutput } from './prepared-target-output.js';\nimport { FragmentPresentationHosts } from './fragment-hosts.js';\n\n/**\n * Projects only one enhancement owner's supplied placement, preserving its authored structure.\n * Nested component implementations stay opaque. Each owner is a host-coalescing barrier; transparent\n * consecutive owners are grouped before this path. Reactive ranges retain their existing invalidation.\n */\nexport function createFragmentTargetProjection(\n\tsupplied: Child | (() => Child),\n\ttag: string,\n\towner?: AnyComponentInstance\n): (children: readonly Child[]) => Child[] {\n\tconst identity = Symbol('fragment contribution');\n\tconst hosts = new FragmentPresentationHosts();\n\tconst cache = new WeakMap<object, Child>();\n\tconst map = (raw: unknown): unknown => {\n\t\tconst selected = typeof supplied === 'function' ? supplied() : supplied;\n\t\tif (raw === selected) return raw;\n\t\tconst value = unwrap(raw);\n\t\tif (value === selected) return value;\n\t\tif (Array.isArray(value)) return value.map(map);\n\t\tif (typeof value !== 'object' || value === null) return value;\n\t\tconst retained = cache.get(value);\n\t\tif (retained !== undefined) return retained;\n\t\tconst target = readCompiledTargetReceipt(value);\n\t\tlet result: unknown = value;\n\t\tif (target) {\n\t\t\tconst contribution = readPreparedTargetOutput([value as Child], selected)!;\n\t\t\tconst presentation = createCompiledFragmentPresentation(\n\t\t\t\tselected,\n\t\t\t\thosts\n\t\t\t\t\t.reconcile([\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\towner: identity,\n\t\t\t\t\t\t\ttag,\n\t\t\t\t\t\t\tprops: contribution.props,\n\t\t\t\t\t\t\tdeclaredHostProps: contribution.declaredHostProps\n\t\t\t\t\t\t}\n\t\t\t\t\t])\n\t\t\t\t\t.map((host) => ({\n\t\t\t\t\t\tidentity: host.identity,\n\t\t\t\t\t\ttag: host.tag,\n\t\t\t\t\t\tcontributions: [{ identity, props: contribution.props, owner }]\n\t\t\t\t\t}))\n\t\t\t);\n\t\t\tresult = createCompiledTargetReceipt(null, presentation);\n\t\t} else {\n\t\t\tconst intrinsic = readCompiledIntrinsicReceipt(value);\n\t\t\tconst fragment = readCompiledFragmentReceipt(value);\n\t\t\tconst range = readChildRangeReceipt(value);\n\t\t\tconst serverRange = readPreparedServerChildRange(value);\n\t\t\tconst program = readRenderProgramReceipt(value);\n\t\t\tconst serverProgram = readPreparedServerRenderProgram(value);\n\t\t\tif (intrinsic)\n\t\t\t\tresult = withIntrinsicReceiptChildren(\n\t\t\t\t\tvalue,\n\t\t\t\t\tintrinsic.children.map((child) => map(child) as Child)\n\t\t\t\t);\n\t\t\telse if (fragment)\n\t\t\t\tresult = createCompiledFragmentReceipt(\n\t\t\t\t\t{ ...fragment.props, key: fragment.key, __exactEnhancements: fragment.enhancement },\n\t\t\t\t\t...fragment.children.map(map)\n\t\t\t\t);\n\t\t\telse if (range && !range.dynamicComponent)\n\t\t\t\tresult = createChildRangeReceipt(\n\t\t\t\t\tcomputed(() => map(range.value)),\n\t\t\t\t\trange.markerId,\n\t\t\t\t\trange.mayReplaceSubtree\n\t\t\t\t);\n\t\t\telse if (serverRange)\n\t\t\t\tresult = createPreparedServerChildRange(\n\t\t\t\t\tmap(serverRange.value) as Child,\n\t\t\t\t\tserverRange.markerId,\n\t\t\t\t\tserverRange.mayReplaceSubtree\n\t\t\t\t);\n\t\t\telse if (program) {\n\t\t\t\tconst invocation = program.invocation;\n\t\t\t\tconst slots = new Set(invocation.program.targetSlots ?? []);\n\t\t\t\tresult = createPreparedRenderProgram(\n\t\t\t\t\tinvocation.program,\n\t\t\t\t\t(index) =>\n\t\t\t\t\t\tslots.has(index)\n\t\t\t\t\t\t\t? map(readRenderProgramSlot(invocation, index))\n\t\t\t\t\t\t\t: readRenderProgramSlot(invocation, index),\n\t\t\t\t\tinvocation.owner,\n\t\t\t\t\tinvocation.propertyWriter,\n\t\t\t\t\tprogram.enhancement\n\t\t\t\t);\n\t\t\t} else if (serverProgram) {\n\t\t\t\tconst slots = new Set(serverProgram.program.targetSlots ?? []);\n\t\t\t\tconst values = (input: readonly unknown[]) =>\n\t\t\t\t\tinput.map((entry, index) => (slots.has(index) ? map(entry) : entry));\n\t\t\t\tresult = {\n\t\t\t\t\t...serverProgram,\n\t\t\t\t\teagerValues: values(serverProgram.eagerValues),\n\t\t\t\t\t...(serverProgram.deferredValues\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tdeferredValues: {\n\t\t\t\t\t\t\t\t\t...serverProgram.deferredValues,\n\t\t\t\t\t\t\t\t\tread: () => values(serverProgram.deferredValues!.read())\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t: {})\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t\tcache.set(value, result as Child);\n\t\treturn result;\n\t};\n\treturn (children) => children.map((child) => map(child) as Child);\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"inspection-transport.js","sourceRoot":"","sources":["../../../src/framework/inspection-transport.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,8BAA8B,EAC9B,+BAA+B,EAE/B,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"inspection-transport.js","sourceRoot":"","sources":["../../../src/framework/inspection-transport.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,8BAA8B,EAC9B,+BAA+B,EAE/B,MAAM,4BAA4B,CAAC","sourcesContent":["export {\n\tconsumeExactServerObservations,\n\texactServerObservationRequestHeaders,\n\tEXACT_SERVER_OBSERVATIONS_KEY,\n\tpublishExactServerObservations,\n\tsetExactServerObservationBridge,\n\ttype ExactServerObservationBridge\n} from '../inspection-transport.js';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"operation-protocol.js","sourceRoot":"","sources":["../../../src/framework/operation-protocol.ts"],"names":[],"mappings":"AAoJA,MAAM,2BAA2B,GAAG,IAAI,GAAG,CAAC;IAC3C,WAAW;IACX,aAAa;IACb,yBAAyB;IACzB,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,QAAQ;IACR,aAAa;CACb,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CAAC,IAAY;IAClD,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IACtC,OAAO,CACN,CAAC,CAAC,UAAU,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,UAAU,CAAC,CAC5F,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"operation-protocol.js","sourceRoot":"","sources":["../../../src/framework/operation-protocol.ts"],"names":[],"mappings":"AAoJA,MAAM,2BAA2B,GAAG,IAAI,GAAG,CAAC;IAC3C,WAAW;IACX,aAAa;IACb,yBAAyB;IACzB,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,QAAQ;IACR,aAAa;CACb,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CAAC,IAAY;IAClD,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IACtC,OAAO,CACN,CAAC,CAAC,UAAU,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,UAAU,CAAC,CAC5F,CAAC;AACH,CAAC","sourcesContent":["import type { ExactCollectionMutation } from '../component-contracts.js';\nimport type { ExactRuntimeInspectionEvent } from '@exactjs/devtools-protocol';\n\n/** Identifies the operation represented by a framework protocol request. */\nexport type ExactInvocationKind = 'invoke' | 'refresh';\n\n/** Selects one concrete compiler-planned partition instance. */\nexport type ExactPartitionDiscriminator =\n\t| Readonly<{ kind: 'single' }>\n\t| Readonly<{ kind: 'branch'; branch: string }>\n\t| Readonly<{ kind: 'keyed'; list: string; keyToken: string }>;\n\n/** Carries generation-fenced authority for a compiler-planned partition. */\nexport type ExactPartitionAuthority = Readonly<{\n\tversion: 1;\n\tbuildKey: string;\n\texecutionRoot: string;\n\tplanEdgeId: string;\n\townerComponentId: string;\n\tdiscriminator: ExactPartitionDiscriminator;\n\tgeneration: number;\n}>;\n\n/** Maps compiler-owned operation identities to configured endpoint routes. */\nexport type ExactEndpointRoutes = {\n\tinvocations?: Record<string, string>;\n\tboundaries?: Record<string, string>;\n};\n\n/** Describes one invocation or refresh request on the framework wire protocol. */\nexport type ExactInvocationRequest = {\n\ttype: ExactInvocationKind;\n\troot?: string;\n\tid: string;\n\tpartition?: ExactPartitionAuthority;\n\topId?: string;\n\tdependsOn?: string[];\n\tpayload?: unknown;\n\tstate?: unknown;\n\tpublicContext?: Record<string, unknown>;\n\tboundaryHtml?: string;\n\tboundaryHtmls?: Record<string, string>;\n};\n\n/** Groups invocation requests for bounded concurrent execution. */\nexport type ExactBatchRequest = {\n\ttype: 'batch';\n\tversion?: 1;\n\toperations: ExactInvocationRequest[];\n};\n\n/** Describes the transport-safe result of one invocation. */\nexport type ExactInvocationResult = {\n\tpatches?: ExactPatch[];\n\tstate?: unknown;\n\tmutations?: ExactCollectionMutation[];\n\tcontexts?: Record<string, unknown>;\n\tvalue?: unknown;\n\thtml?: string;\n};\n\n/** Describes a successful operation response. */\nexport type ExactOperationSuccess = {\n\tok: true;\n\ttype: ExactInvocationKind;\n\tid: string;\n\topId?: string;\n} & ExactInvocationResult;\n\n/** Describes a rejected or failed operation response. */\nexport type ExactOperationError = {\n\tok: false;\n\ttype: ExactInvocationKind;\n\tid: string;\n\topId?: string;\n\tstatus: number;\n\terror: 'bad_request' | 'not_found' | 'forbidden' | 'internal_error' | 'dependency_failed';\n};\n\n/** Describes the result of one operation. */\nexport type ExactOperationResult = ExactOperationSuccess | ExactOperationError;\n\n/** Describes a completed batch response. */\nexport type ExactBatchResult = {\n\tok: true;\n\tversion: 1;\n\tresults: ExactOperationResult[];\n};\n\n/** Reports one event in an incremental operation response. */\nexport type ExactStreamEvent =\n\t| { event: 'start'; version: 1; operations: number }\n\t| {\n\t\t\tevent: 'patch';\n\t\t\tversion: 1;\n\t\t\tindex: number;\n\t\t\ttype: ExactInvocationKind;\n\t\t\tid: string;\n\t\t\topId?: string;\n\t\t\tpatch: ExactPatch;\n\t }\n\t| {\n\t\t\tevent: 'state';\n\t\t\tversion: 1;\n\t\t\tindex: number;\n\t\t\ttype: ExactInvocationKind;\n\t\t\tid: string;\n\t\t\topId?: string;\n\t\t\tvalue: unknown;\n\t }\n\t| {\n\t\t\tevent: 'mutations';\n\t\t\tversion: 1;\n\t\t\tindex: number;\n\t\t\ttype: ExactInvocationKind;\n\t\t\tid: string;\n\t\t\topId?: string;\n\t\t\tmutations: ExactCollectionMutation[];\n\t }\n\t| {\n\t\t\tevent: 'html';\n\t\t\tversion: 1;\n\t\t\tindex: number;\n\t\t\ttype: ExactInvocationKind;\n\t\t\tid: string;\n\t\t\topId?: string;\n\t\t\thtml: string;\n\t }\n\t| { event: 'result'; version: 1; index: number; result: ExactOperationResult }\n\t| { event: 'observations'; version: 1; observations: readonly ExactRuntimeInspectionEvent[] }\n\t| { event: 'complete'; version: 1 };\n\n/** Describes one client-applied operation patch. */\nexport type ExactPatch =\n\t| { type: 'text'; id: string; value: string }\n\t| { type: 'prop'; id: string; name: string; value: unknown }\n\t| { type: 'style'; id: string; name: string; value: string | null }\n\t| {\n\t\t\ttype: 'list';\n\t\t\tid: string;\n\t\t\top: 'insert' | 'move' | 'remove';\n\t\t\tkey: string;\n\t\t\tbefore?: string;\n\t\t\thtml?: string;\n\t }\n\t| { type: 'state'; id: string; value: unknown }\n\t| { type: 'replace'; id: string; html: string };\n\nconst forbiddenDomPatchProperties = new Set([\n\t'__proto__',\n\t'constructor',\n\t'dangerouslysetinnerhtml',\n\t'innerhtml',\n\t'innertext',\n\t'outerhtml',\n\t'outertext',\n\t'prototype',\n\t'srcdoc',\n\t'textcontent'\n]);\n\n/**\n * Reports whether a server property patch may cross the operation boundary.\n * Structural HTML/text setters, inline event handlers, iframe documents, and\n * JavaScript prototype controls require dedicated framework-owned operations.\n */\nexport function isSafeDomPatchProperty(name: string): boolean {\n\tconst normalized = name.toLowerCase();\n\treturn (\n\t\t!!normalized && !normalized.startsWith('on') && !forbiddenDomPatchProperties.has(normalized)\n\t);\n}\n\nexport type { ExactCollectionMutation } from '../component-contracts.js';\n"]}
@@ -0,0 +1,11 @@
1
+ import type { Child } from '../component/contracts.js';
2
+ import { type ExactTargetReceiptData } from '../component-abi/target-receipt.js';
3
+ /**
4
+ * Reads one prepared contribution boundary or transparent supplied-child placement. Never executes
5
+ * descendant components. A contribution must place the supplied logical child exactly once;
6
+ * structural output belongs to a separate preparation boundary rather than a descendant search.
7
+ */
8
+ export declare function readPreparedTargetOutput(output: readonly Child[], supplied: Child): ExactTargetReceiptData | undefined;
9
+ /** Reads a single supplied logical operation through transparent value containers, retaining fragments. */
10
+ export declare function readSuppliedTargetValue(output: readonly Child[]): unknown;
11
+ //# sourceMappingURL=prepared-target-output.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepared-target-output.d.ts","sourceRoot":"","sources":["../../../src/framework/prepared-target-output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGvD,OAAO,EAEN,KAAK,sBAAsB,EAC3B,MAAM,oCAAoC,CAAC;AAG5C;;;;GAIG;AACH,wBAAgB,wBAAwB,CACvC,MAAM,EAAE,SAAS,KAAK,EAAE,EACxB,QAAQ,EAAE,KAAK,GACb,sBAAsB,GAAG,SAAS,CAWpC;AA2BD,2GAA2G;AAC3G,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,KAAK,EAAE,GAAG,OAAO,CAEzE"}
@@ -0,0 +1,51 @@
1
+ import { readChildRangeReceipt } from '../component-abi/child-range-receipt.js';
2
+ import { readPreparedServerChildRange } from '../component-abi/server-child-range.js';
3
+ import { readCompiledTargetReceipt } from '../component-abi/target-receipt.js';
4
+ import { unwrap } from '@exactjs/reactive/framework/values';
5
+ /**
6
+ * Reads one prepared contribution boundary or transparent supplied-child placement. Never executes
7
+ * descendant components. A contribution must place the supplied logical child exactly once;
8
+ * structural output belongs to a separate preparation boundary rather than a descendant search.
9
+ */
10
+ export function readPreparedTargetOutput(output, supplied) {
11
+ const value = singlePreparedValue(output, supplied);
12
+ if (value === supplied)
13
+ return undefined;
14
+ const target = readCompiledTargetReceipt(value);
15
+ if (!target)
16
+ throw new TypeError('Fragment contribution preparation requires a single supplied-target placement');
17
+ if (singlePreparedValue(target.children, supplied) !== supplied)
18
+ throw new TypeError('An enhancement must place its supplied fragment exactly once');
19
+ return target;
20
+ }
21
+ /** Retains the selected receipt itself while unwrapping transparent compiler expression ranges. */
22
+ function singlePreparedValue(output, supplied) {
23
+ let value = output;
24
+ for (;;) {
25
+ if (value === supplied)
26
+ return value;
27
+ value = unwrap(value);
28
+ if (value === supplied)
29
+ return value;
30
+ if (Array.isArray(value) && value.length === 1) {
31
+ value = value[0];
32
+ continue;
33
+ }
34
+ const range = readChildRangeReceipt(value);
35
+ if (range && !range.dynamicComponent) {
36
+ value = range.value;
37
+ continue;
38
+ }
39
+ const serverRange = readPreparedServerChildRange(value);
40
+ if (serverRange) {
41
+ value = serverRange.value;
42
+ continue;
43
+ }
44
+ return value;
45
+ }
46
+ }
47
+ /** Reads a single supplied logical operation through transparent value containers, retaining fragments. */
48
+ export function readSuppliedTargetValue(output) {
49
+ return singlePreparedValue(output, undefined);
50
+ }
51
+ //# sourceMappingURL=prepared-target-output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepared-target-output.js","sourceRoot":"","sources":["../../../src/framework/prepared-target-output.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EACN,yBAAyB,EAEzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAE5D;;;;GAIG;AACH,MAAM,UAAU,wBAAwB,CACvC,MAAwB,EACxB,QAAe;IAEf,MAAM,KAAK,GAAG,mBAAmB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACpD,IAAI,KAAK,KAAK,QAAQ;QAAE,OAAO,SAAS,CAAC;IACzC,MAAM,MAAM,GAAG,yBAAyB,CAAC,KAAK,CAAC,CAAC;IAChD,IAAI,CAAC,MAAM;QACV,MAAM,IAAI,SAAS,CAClB,+EAA+E,CAC/E,CAAC;IACH,IAAI,mBAAmB,CAAC,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,KAAK,QAAQ;QAC9D,MAAM,IAAI,SAAS,CAAC,8DAA8D,CAAC,CAAC;IACrF,OAAO,MAAM,CAAC;AACf,CAAC;AAED,mGAAmG;AACnG,SAAS,mBAAmB,CAAC,MAAe,EAAE,QAAe;IAC5D,IAAI,KAAK,GAAG,MAAM,CAAC;IACnB,SAAS,CAAC;QACT,IAAI,KAAK,KAAK,QAAQ;YAAE,OAAO,KAAK,CAAC;QACrC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QACtB,IAAI,KAAK,KAAK,QAAQ;YAAE,OAAO,KAAK,CAAC;QACrC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAChD,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACjB,SAAS;QACV,CAAC;QACD,MAAM,KAAK,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;QAC3C,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE,CAAC;YACtC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;YACpB,SAAS;QACV,CAAC;QACD,MAAM,WAAW,GAAG,4BAA4B,CAAC,KAAK,CAAC,CAAC;QACxD,IAAI,WAAW,EAAE,CAAC;YACjB,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC;YAC1B,SAAS;QACV,CAAC;QACD,OAAO,KAAK,CAAC;IACd,CAAC;AACF,CAAC;AAED,2GAA2G;AAC3G,MAAM,UAAU,uBAAuB,CAAC,MAAwB;IAC/D,OAAO,mBAAmB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AAC/C,CAAC","sourcesContent":["import type { Child } from '../component/contracts.js';\nimport { readChildRangeReceipt } from '../component-abi/child-range-receipt.js';\nimport { readPreparedServerChildRange } from '../component-abi/server-child-range.js';\nimport {\n\treadCompiledTargetReceipt,\n\ttype ExactTargetReceiptData\n} from '../component-abi/target-receipt.js';\nimport { unwrap } from '@exactjs/reactive/framework/values';\n\n/**\n * Reads one prepared contribution boundary or transparent supplied-child placement. Never executes\n * descendant components. A contribution must place the supplied logical child exactly once;\n * structural output belongs to a separate preparation boundary rather than a descendant search.\n */\nexport function readPreparedTargetOutput(\n\toutput: readonly Child[],\n\tsupplied: Child\n): ExactTargetReceiptData | undefined {\n\tconst value = singlePreparedValue(output, supplied);\n\tif (value === supplied) return undefined;\n\tconst target = readCompiledTargetReceipt(value);\n\tif (!target)\n\t\tthrow new TypeError(\n\t\t\t'Fragment contribution preparation requires a single supplied-target placement'\n\t\t);\n\tif (singlePreparedValue(target.children, supplied) !== supplied)\n\t\tthrow new TypeError('An enhancement must place its supplied fragment exactly once');\n\treturn target;\n}\n\n/** Retains the selected receipt itself while unwrapping transparent compiler expression ranges. */\nfunction singlePreparedValue(output: unknown, supplied: Child): unknown {\n\tlet value = output;\n\tfor (;;) {\n\t\tif (value === supplied) return value;\n\t\tvalue = unwrap(value);\n\t\tif (value === supplied) return value;\n\t\tif (Array.isArray(value) && value.length === 1) {\n\t\t\tvalue = value[0];\n\t\t\tcontinue;\n\t\t}\n\t\tconst range = readChildRangeReceipt(value);\n\t\tif (range && !range.dynamicComponent) {\n\t\t\tvalue = range.value;\n\t\t\tcontinue;\n\t\t}\n\t\tconst serverRange = readPreparedServerChildRange(value);\n\t\tif (serverRange) {\n\t\t\tvalue = serverRange.value;\n\t\t\tcontinue;\n\t\t}\n\t\treturn value;\n\t}\n}\n\n/** Reads a single supplied logical operation through transparent value containers, retaining fragments. */\nexport function readSuppliedTargetValue(output: readonly Child[]): unknown {\n\treturn singlePreparedValue(output, undefined);\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"protocol-records.js","sourceRoot":"","sources":["../../../src/framework/protocol-records.ts"],"names":[],"mappings":"AAAA,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,iFAAiF;AACjF,MAAM,UAAU,iBAAiB,CAAC,GAAW;IAC5C,OAAO,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACrC,CAAC;AAED,qFAAqF;AACrF,MAAM,UAAU,oBAAoB;IACnC,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAsB,CAAC;AACjD,CAAC;AAED,kEAAkE;AAClE,MAAM,UAAU,sBAAsB,CAAC,KAAyB,EAAE,QAAgB;IACjF,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;AACjG,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,uBAAuB,C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AAa,EACb,IAAY,EACZ,MAAyB;IAEzB,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACtC,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC;YAAE,OAAO,KAAK,CAAC;QAC1C,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC;YAAE,OAAO,KAAK,CAAC;QACtE,MAAM,SAAS,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC;QAChD,IAAI,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC;YAAE,SAAS;QACzC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,GAAG,CAAC,CAAC;YAAE,OAAO,KAAK,CAAC;QAC7E,MAAM,KAAK,GAAI,KAAiC,CAAC,GAAG,CAAC,CAAC;QACtD,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,OAAO,KAAK,CAAC;QACtD,IAAI,CAAC,sBAAsB,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC;YAAE,OAAO,KAAK,CAAC;IACrE,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC","sourcesContent":["const reservedObjectKeys = new Set(['__proto__', 'prototype', 'constructor']);\n\nexport { protocolUtf8ByteLength } from '../protocol-utf8.js';\n\n/** Returns whether a key can be materialized in an eXact protocol dictionary. */\nexport function isSafeProtocolKey(key: string): boolean {\n\treturn !reservedObjectKeys.has(key);\n}\n\n/** Creates a prototype-free dictionary for decoded or generated protocol records. */\nexport function createProtocolRecord<T>(): Record<string, T> {\n\treturn Object.create(null) as Record<string, T>;\n}\n\n/** Normalizes a positive safe-integer protocol resource limit. */\nexport function normalizeProtocolLimit(value: number | undefined, fallback: number): number {\n\treturn typeof value === 'number' && Number.isSafeInteger(value) && value > 0 ? value : fallback;\n}\n\n/**\n * Validates every own key in a recursively decoded JSON-like protocol value.\n * Cycles are tolerated for defensive use outside JSON decoding.\n */\nexport function hasOnlySafeProtocolKeys(value: unknown): boolean {\n\tif (!value || typeof value !== 'object') return true;\n\tconst pending: object[] = [value];\n\tconst seen = new WeakSet<object>();\n\twhile (pending.length) {\n\t\tconst current = pending.pop()!;\n\t\tif (seen.has(current)) continue;\n\t\tseen.add(current);\n\t\tfor (const key of Object.keys(current)) {\n\t\t\tif (!isSafeProtocolKey(key)) return false;\n\t\t\tconst child = (current as Record<string, unknown>)[key];\n\t\t\tif (child && typeof child === 'object') pending.push(child);\n\t\t}\n\t}\n\treturn true;\n}\n\n/** Validates the exact finite discriminator shape used by server slots and hydration. */\nexport function isServerSlotDiscriminator(value: unknown): boolean {\n\tif (!value || typeof value !== 'object' || Array.isArray(value)) return false;\n\tconst discriminator = value as Record<string, unknown>;\n\tif (discriminator.kind === 'single') return Object.keys(discriminator).length === 1;\n\tif (discriminator.kind === 'branch')\n\t\treturn (\n\t\t\tObject.keys(discriminator).length === 2 &&\n\t\t\ttypeof discriminator.branch === 'string' &&\n\t\t\t!!discriminator.branch\n\t\t);\n\treturn (\n\t\tdiscriminator.kind === 'keyed' &&\n\t\tObject.keys(discriminator).length === 3 &&\n\t\ttypeof discriminator.list === 'string' &&\n\t\t!!discriminator.list &&\n\t\ttypeof discriminator.keyToken === 'string' &&\n\t\t!!discriminator.keyToken\n\t);\n}\n\n/** Validates a partial response tree without traversing authorized subtrees. */\nexport function stateNodeMatchesWrites(\n\tvalue: object,\n\tpath: string,\n\twrites: readonly string[]\n): boolean {\n\tfor (const key of Object.keys(value)) {\n\t\tif (!isSafeProtocolKey(key)) return false;\n\t\tif (Array.isArray(value) && !/^(0|[1-9]\\d*)$/.test(key)) return false;\n\t\tconst childPath = path ? `${path}.${key}` : key;\n\t\tif (writes.includes(childPath)) continue;\n\t\tif (!writes.some((write) => write.startsWith(`${childPath}.`))) return false;\n\t\tconst child = (value as Record<string, unknown>)[key];\n\t\tif (!child || typeof child !== 'object') return false;\n\t\tif (!stateNodeMatchesWrites(child, childPath, writes)) return false;\n\t}\n\treturn true;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"publication.js","sourceRoot":"","sources":["../../../src/framework/publication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAqBhE,kFAAkF;AAClF,MAAM,UAAU,gCAAgC;IAC/C,OAAO,MAAM,CAAC,MAAM,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,SAAS,EAAE,CAAC;KACnD,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"publication.js","sourceRoot":"","sources":["../../../src/framework/publication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAqBhE,kFAAkF;AAClF,MAAM,UAAU,gCAAgC;IAC/C,OAAO,MAAM,CAAC,MAAM,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,SAAS,EAAE,CAAC;KACnD,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { flushSync } from '@exactjs/reactive/framework/runtime';\n\n/** Receipt returned by one authoritative synchronous framework publication. */\nexport interface FrameworkPublicationCommit {\n\t/** Settles after reactive renderer consequences caused by the publication have flushed. */\n\treadonly rendered: PromiseLike<void>;\n}\n\n/** One cancelable request to publish already-prepared framework state exactly once. */\nexport interface FrameworkPublicationRequest<Metadata = unknown> {\n\treadonly kind: string;\n\treadonly signal: AbortSignal;\n\treadonly metadata: Metadata;\n\tpublish(): FrameworkPublicationCommit;\n}\n\n/** Coordinates the timing around an authoritative framework publication. */\nexport interface FrameworkPublicationCoordinator<Metadata = unknown> {\n\tpublish(request: FrameworkPublicationRequest<Metadata>): void | PromiseLike<void>;\n}\n\n/** Creates a receipt that flushes reactive consequences in the next microtask. */\nexport function createFrameworkPublicationCommit(): FrameworkPublicationCommit {\n\treturn Object.freeze({\n\t\trendered: Promise.resolve().then(() => flushSync())\n\t});\n}\n"]}
@@ -4,4 +4,14 @@ export { RenderProgram, ServerBoundary, ServerSlot } from '../symbols.js';
4
4
  export { createPreparedRenderProgram, prepareCompiledRenderProgram, readRenderProgram, readRenderProgramReceipt, readRenderProgramSlot, type ExactRenderProgram, type ExactDirectRenderProgram, type ExactDomRenderProgram, type ExactRenderProgramBinding, type ExactRenderProgramBindingOperation, type ExactRenderProgramBinder, type ExactRenderProgramBindingTarget, type ExactRenderProgramClaimOperation, type ExactRenderProgramInvocation, type ExactRenderProgramReceipt, type ExactRenderProgramReceiptData, type ExactRenderProgramNode, type ExactRenderProgramSlot, type ExactRenderProgramSsrOperations, type ExactRenderProgramSsrAttribute, type ExactRenderProgramSsrInvocation, type ExactRenderProgramSsrOutput, type ExactRenderProgramSsrWriter, type ExactRenderProgramWiring, type ExactSsrRenderProgram, type ExactTableRenderProgram } from '../render-program.js';
5
5
  export { createDynamicChild, createExpression, createForwardedExpression } from '../component/reactive-expressions.js';
6
6
  export { assertNativePropAllowed, assertNativeEventHandler, isNativeEventProp, isNativeSrcdocProp } from '../native-props.js';
7
+ export { projectPreparedText, type PreparedTextResolver } from '../component-abi/text-projection.js';
8
+ export { FragmentPresentationHosts, hasFragmentHostProps, type FragmentContribution, type FragmentPresentationHost } from './fragment-hosts.js';
9
+ export { readPreparedTargetOutput, readSuppliedTargetValue } from './prepared-target-output.js';
10
+ export { assertEnhancementSourceOrder } from './enhancement-order.js';
11
+ export { createFragmentTargetProjection } from './fragment-target-projection.js';
12
+ export { createFragmentEnhancementChain } from './fragment-enhancement-chain.js';
13
+ export { isTextTargetOutput, prepareTextTargetOutput } from './text-target-output.js';
14
+ export { projectedAttributes } from '../component-abi/text-projection-markup.js';
15
+ export { fallbackEnhancementEntries, claimEnhancementFallback, enhancementFallbackAvailable, forwardEnhancementFallback, checkpointEnhancementFallback } from './enhancement-fallback.js';
16
+ export { assertSingleSuppliedPlacement } from './supplied-placement.js';
7
17
  //# sourceMappingURL=render-structure.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-structure.d.ts","sourceRoot":"","sources":["../../../src/framework/render-structure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EACN,2BAA2B,EAC3B,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,kBAAkB,EAClB,gBAAgB,EAChB,yBAAyB,EACzB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,uBAAuB,EACvB,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"render-structure.d.ts","sourceRoot":"","sources":["../../../src/framework/render-structure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EACN,2BAA2B,EAC3B,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,kBAAkB,EAClB,gBAAgB,EAChB,yBAAyB,EACzB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,uBAAuB,EACvB,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACN,mBAAmB,EACnB,KAAK,oBAAoB,EACzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,yBAAyB,EACzB,oBAAoB,EACpB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAChG,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAEtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAEjF,OAAO,EACN,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,0BAA0B,EAC1B,6BAA6B,EAC7B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC"}
@@ -4,4 +4,14 @@ export { RenderProgram, ServerBoundary, ServerSlot } from '../symbols.js';
4
4
  export { createPreparedRenderProgram, prepareCompiledRenderProgram, readRenderProgram, readRenderProgramReceipt, readRenderProgramSlot } from '../render-program.js';
5
5
  export { createDynamicChild, createExpression, createForwardedExpression } from '../component/reactive-expressions.js';
6
6
  export { assertNativePropAllowed, assertNativeEventHandler, isNativeEventProp, isNativeSrcdocProp } from '../native-props.js';
7
+ export { projectPreparedText } from '../component-abi/text-projection.js';
8
+ export { FragmentPresentationHosts, hasFragmentHostProps } from './fragment-hosts.js';
9
+ export { readPreparedTargetOutput, readSuppliedTargetValue } from './prepared-target-output.js';
10
+ export { assertEnhancementSourceOrder } from './enhancement-order.js';
11
+ export { createFragmentTargetProjection } from './fragment-target-projection.js';
12
+ export { createFragmentEnhancementChain } from './fragment-enhancement-chain.js';
13
+ export { isTextTargetOutput, prepareTextTargetOutput } from './text-target-output.js';
14
+ export { projectedAttributes } from '../component-abi/text-projection-markup.js';
15
+ export { fallbackEnhancementEntries, claimEnhancementFallback, enhancementFallbackAvailable, forwardEnhancementFallback, checkpointEnhancementFallback } from './enhancement-fallback.js';
16
+ export { assertSingleSuppliedPlacement } from './supplied-placement.js';
7
17
  //# sourceMappingURL=render-structure.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-structure.js","sourceRoot":"","sources":["../../../src/framework/render-structure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EACN,2BAA2B,EAC3B,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EAsBrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,kBAAkB,EAClB,gBAAgB,EAChB,yBAAyB,EACzB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,uBAAuB,EACvB,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"render-structure.js","sourceRoot":"","sources":["../../../src/framework/render-structure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EACN,2BAA2B,EAC3B,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EAsBrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,kBAAkB,EAClB,gBAAgB,EAChB,yBAAyB,EACzB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,uBAAuB,EACvB,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACN,mBAAmB,EAEnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,yBAAyB,EACzB,oBAAoB,EAGpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAChG,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAEtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAEjF,OAAO,EACN,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,0BAA0B,EAC1B,6BAA6B,EAC7B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["export { isFiniteClientBoundary, markFiniteClientBoundary } from '../hydration-boundary.js';\nexport { hasIndependentAsyncSiblings, markIndependentAsyncSiblings } from '../ssr-independence.js';\nexport { RenderProgram, ServerBoundary, ServerSlot } from '../symbols.js';\nexport {\n\tcreatePreparedRenderProgram,\n\tprepareCompiledRenderProgram,\n\treadRenderProgram,\n\treadRenderProgramReceipt,\n\treadRenderProgramSlot,\n\ttype ExactRenderProgram,\n\ttype ExactDirectRenderProgram,\n\ttype ExactDomRenderProgram,\n\ttype ExactRenderProgramBinding,\n\ttype ExactRenderProgramBindingOperation,\n\ttype ExactRenderProgramBinder,\n\ttype ExactRenderProgramBindingTarget,\n\ttype ExactRenderProgramClaimOperation,\n\ttype ExactRenderProgramInvocation,\n\ttype ExactRenderProgramReceipt,\n\ttype ExactRenderProgramReceiptData,\n\ttype ExactRenderProgramNode,\n\ttype ExactRenderProgramSlot,\n\ttype ExactRenderProgramSsrOperations,\n\ttype ExactRenderProgramSsrAttribute,\n\ttype ExactRenderProgramSsrInvocation,\n\ttype ExactRenderProgramSsrOutput,\n\ttype ExactRenderProgramSsrWriter,\n\ttype ExactRenderProgramWiring,\n\ttype ExactSsrRenderProgram,\n\ttype ExactTableRenderProgram\n} from '../render-program.js';\nexport {\n\tcreateDynamicChild,\n\tcreateExpression,\n\tcreateForwardedExpression\n} from '../component/reactive-expressions.js';\nexport {\n\tassertNativePropAllowed,\n\tassertNativeEventHandler,\n\tisNativeEventProp,\n\tisNativeSrcdocProp\n} from '../native-props.js';\nexport {\n\tprojectPreparedText,\n\ttype PreparedTextResolver\n} from '../component-abi/text-projection.js';\nexport {\n\tFragmentPresentationHosts,\n\thasFragmentHostProps,\n\ttype FragmentContribution,\n\ttype FragmentPresentationHost\n} from './fragment-hosts.js';\nexport { readPreparedTargetOutput, readSuppliedTargetValue } from './prepared-target-output.js';\nexport { assertEnhancementSourceOrder } from './enhancement-order.js';\n\nexport { createFragmentTargetProjection } from './fragment-target-projection.js';\nexport { createFragmentEnhancementChain } from './fragment-enhancement-chain.js';\n\nexport { isTextTargetOutput, prepareTextTargetOutput } from './text-target-output.js';\n\nexport { projectedAttributes } from '../component-abi/text-projection-markup.js';\n\nexport {\n\tfallbackEnhancementEntries,\n\tclaimEnhancementFallback,\n\tenhancementFallbackAvailable,\n\tforwardEnhancementFallback,\n\tcheckpointEnhancementFallback\n} from './enhancement-fallback.js';\n\nexport { assertSingleSuppliedPlacement } from './supplied-placement.js';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"server-component-contexts.js","sourceRoot":"","sources":["../../../src/framework/server-component-contexts.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,OAAO,EACN,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EAEtB,MAAM,2CAA2C,CAAC"}
1
+ {"version":3,"file":"server-component-contexts.js","sourceRoot":"","sources":["../../../src/framework/server-component-contexts.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,OAAO,EACN,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EAEtB,MAAM,2CAA2C,CAAC","sourcesContent":["/** Compiler-selected context operations for request-local direct server component frames. */\nexport {\n\tgetDirectServerContext,\n\thasDirectServerContext,\n\tsetDirectServerContext,\n\ttype DirectServerContextOwner\n} from '../component/direct-server-context-api.js';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"server-component-execution.js","sourceRoot":"","sources":["../../../src/framework/server-component-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kCAAkC,EAClC,mCAAmC,EACnC,2BAA2B,EAC3B,gCAAgC,EAChC,kDAAkD,EAClD,iCAAiC,EACjC,+CAA+C,EAC/C,oCAAoC,EACpC,4CAA4C,EAC5C,yBAAyB,EAGzB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,wBAAwB,EACxB,0BAA0B,EAC1B,MAAM,wCAAwC,CAAC"}
1
+ {"version":3,"file":"server-component-execution.js","sourceRoot":"","sources":["../../../src/framework/server-component-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kCAAkC,EAClC,mCAAmC,EACnC,2BAA2B,EAC3B,gCAAgC,EAChC,kDAAkD,EAClD,iCAAiC,EACjC,+CAA+C,EAC/C,oCAAoC,EACpC,4CAA4C,EAC5C,yBAAyB,EAGzB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,wBAAwB,EACxB,0BAA0B,EAC1B,MAAM,wCAAwC,CAAC","sourcesContent":["export {\n\tactivateServerComponentTaskForHost,\n\tcreateServerComponentExecutionFrame,\n\tissueServerComponentReceipt,\n\treadServerComponentOutputForHost,\n\tregisterServerComponentContinuationContextsForHost,\n\tserverComponentDependencyForValue,\n\tserverComponentContinuationContextValuesForHost,\n\tserverComponentExecutionValueForHost,\n\tsettledServerComponentContinuationIdsForHost,\n\twithServerComponentIssuer,\n\ttype ServerComponentExecutionFrame,\n\ttype ServerComponentTaskSlice\n} from '../tasks/server-component-execution.js';\nexport {\n\tawaitServerComponentTask,\n\tserverComponentTaskTimeout\n} from '../tasks/server-component-resources.js';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"server-render-structure.js","sourceRoot":"","sources":["../../../src/framework/server-render-structure.ts"],"names":[],"mappings":"AACA,OAAO,EACN,8BAA8B,EAE9B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EACN,2BAA2B,EAC3B,iCAAiC,EACjC,4BAA4B,EAC5B,+BAA+B,EAC/B,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EAmBrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,sCAAsC,EACtC,oDAAoD,EACpD,oCAAoC,EAEpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACN,4BAA4B,EAE5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,8BAA8B,EAC9B,4BAA4B,EAE5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,MAAM,+CAA+C,CAAC;AAEvD,4FAA4F;AAC5F,MAAM,UAAU,gBAAgB,CAAI,OAAgB;IACnD,OAAO,OAAO,EAAE,CAAC;AAClB,CAAC;AAED,2FAA2F;AAC3F,MAAM,UAAU,yBAAyB,CAAI,OAAgB;IAC5D,OAAO,OAAO,EAAE,CAAC;AAClB,CAAC;AAED,6FAA6F;AAC7F,MAAM,UAAU,kBAAkB,CACjC,OAA2B,EAC3B,QAAiB,EACjB,iBAAiB,GAAG,IAAI;IAExB,OAAO,8BAA8B,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAC;AAC/E,CAAC;AAED,qFAAqF;AACrF,MAAM,UAAU,+BAA+B,CAC9C,OAA2B,EAC3B,QAAiB,EACjB,iBAAiB,GAAG,IAAI;IAExB,OAAO,8BAA8B,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAC;AAC/E,CAAC"}
1
+ {"version":3,"file":"server-render-structure.js","sourceRoot":"","sources":["../../../src/framework/server-render-structure.ts"],"names":[],"mappings":"AACA,OAAO,EACN,8BAA8B,EAE9B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EACN,2BAA2B,EAC3B,iCAAiC,EACjC,4BAA4B,EAC5B,+BAA+B,EAC/B,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EAmBrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACN,sCAAsC,EACtC,oDAAoD,EACpD,oCAAoC,EAEpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACN,4BAA4B,EAE5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,8BAA8B,EAC9B,4BAA4B,EAE5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,MAAM,+CAA+C,CAAC;AAEvD,4FAA4F;AAC5F,MAAM,UAAU,gBAAgB,CAAI,OAAgB;IACnD,OAAO,OAAO,EAAE,CAAC;AAClB,CAAC;AAED,2FAA2F;AAC3F,MAAM,UAAU,yBAAyB,CAAI,OAAgB;IAC5D,OAAO,OAAO,EAAE,CAAC;AAClB,CAAC;AAED,6FAA6F;AAC7F,MAAM,UAAU,kBAAkB,CACjC,OAA2B,EAC3B,QAAiB,EACjB,iBAAiB,GAAG,IAAI;IAExB,OAAO,8BAA8B,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAC;AAC/E,CAAC;AAED,qFAAqF;AACrF,MAAM,UAAU,+BAA+B,CAC9C,OAA2B,EAC3B,QAAiB,EACjB,iBAAiB,GAAG,IAAI;IAExB,OAAO,8BAA8B,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAC;AAC/E,CAAC","sourcesContent":["import type { RenderResult } from '../component/contracts.js';\nimport {\n\tcreatePreparedServerChildRange,\n\ttype ExactPreparedServerChildRange\n} from '../component-abi/server-child-range.js';\n\nexport { isFiniteClientBoundary, markFiniteClientBoundary } from '../hydration-boundary.js';\nexport { hasIndependentAsyncSiblings, markIndependentAsyncSiblings } from '../ssr-independence.js';\nexport { RenderProgram, ServerBoundary, ServerSlot } from '../symbols.js';\nexport {\n\tcreatePreparedRenderProgram,\n\tcreatePreparedServerRenderProgram,\n\tprepareCompiledRenderProgram,\n\treadPreparedServerRenderProgram,\n\treadRenderProgram,\n\treadRenderProgramReceipt,\n\treadRenderProgramSlot,\n\ttype ExactRenderProgram,\n\ttype ExactDirectRenderProgram,\n\ttype ExactDomRenderProgram,\n\ttype ExactRenderProgramBinding,\n\ttype ExactRenderProgramBinder,\n\ttype ExactRenderProgramBindingTarget,\n\ttype ExactRenderProgramInvocation,\n\ttype ExactRenderProgramReceipt,\n\ttype ExactRenderProgramReceiptData,\n\ttype ExactPreparedServerRenderProgram,\n\ttype ExactRenderProgramNode,\n\ttype ExactRenderProgramSlot,\n\ttype ExactRenderProgramSsrOperations,\n\ttype ExactRenderProgramSsrOutput,\n\ttype ExactRenderProgramSsrInvocation,\n\ttype ExactRenderProgramSsrWriter,\n\ttype ExactSsrRenderProgram,\n\ttype ExactTableRenderProgram\n} from '../render-program.js';\nexport {\n\tcreatePreparedServerComponentReference,\n\tcreatePreparedServerComponentReferenceFromPlainProps,\n\treadPreparedServerComponentReference,\n\ttype ExactPreparedServerComponentReference\n} from '../component-abi/receipt.js';\nexport {\n\treadPreparedServerChildRange,\n\ttype ExactPreparedServerChildRange\n} from '../component-abi/server-child-range.js';\nexport {\n\tcreatePreparedServerKeyedChild,\n\treadPreparedServerKeyedChild,\n\ttype ExactPreparedServerKeyedChild\n} from '../component-abi/server-keyed-child.js';\nexport {\n\tcreateKeyedServerSlot,\n\tcreateServerBoundary,\n\tcreateServerSlot\n} from '../component-abi/server-structure-receipts.js';\n\n/** Evaluates a compiler-known expression directly in a compiler-closed server component. */\nexport function createExpression<T>(compute: () => T): T {\n\treturn compute();\n}\n\n/** Evaluates a compiler-forwarded input directly in a compiler-closed server component. */\nexport function createForwardedExpression<T>(compute: () => T): T {\n\treturn compute();\n}\n\n/** Creates an eager focused child range for a direct server render or its local fallback. */\nexport function createDynamicChild(\n\tcompute: () => RenderResult,\n\tmarkerId?: string,\n\tmayReplaceSubtree = true\n): ExactPreparedServerChildRange {\n\treturn createPreparedServerChildRange(compute(), markerId, mayReplaceSubtree);\n}\n\n/** Creates the eager server operation for one compiler-owned dynamic child range. */\nexport function createCompiledChildRangeReceipt(\n\tcompute: () => RenderResult,\n\tmarkerId?: string,\n\tmayReplaceSubtree = true\n): ExactPreparedServerChildRange {\n\treturn createPreparedServerChildRange(compute(), markerId, mayReplaceSubtree);\n}\n"]}
@@ -7,6 +7,7 @@ export { activateCompiledClientLatestTaskForHost, bindCompiledClientLatestTaskFo
7
7
  export { markComponentContinuationTask } from '../tasks/component-continuation.js';
8
8
  export { taskMutation } from '../tasks/frame-runtime.js';
9
9
  export { bindTaskForHost, defineTask, invokeTask } from '../tasks/runtime.js';
10
+ export { activateServerComponentTaskTreeForHost } from '../tasks/server-component-task-tree.js';
10
11
  export { mutateTaskCollection, ownTaskResource, stageTaskMutation, taskAnimationFrame, taskAwait, taskFetch, taskIdleCallback, taskInterval, taskObserver, taskTimeout } from '../tasks/resources.js';
11
12
  export { combineTaskSignal, withAbortSignal, withTaskSignal } from '../tasks/signals.js';
12
13
  //# sourceMappingURL=server-task-helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-task-helpers.d.ts","sourceRoot":"","sources":["../../../src/framework/server-task-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,+BAA+B,CAAC;AACpF,OAAO,EACN,uCAAuC,EACvC,mCAAmC,EACnC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"server-task-helpers.d.ts","sourceRoot":"","sources":["../../../src/framework/server-task-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,+BAA+B,CAAC;AACpF,OAAO,EACN,uCAAuC,EACvC,mCAAmC,EACnC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,sCAAsC,EAAE,MAAM,wCAAwC,CAAC;AAChG,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
@@ -7,6 +7,7 @@ export { activateCompiledClientLatestTaskForHost, bindCompiledClientLatestTaskFo
7
7
  export { markComponentContinuationTask } from '../tasks/component-continuation.js';
8
8
  export { taskMutation } from '../tasks/frame-runtime.js';
9
9
  export { bindTaskForHost, defineTask, invokeTask } from '../tasks/runtime.js';
10
+ export { activateServerComponentTaskTreeForHost } from '../tasks/server-component-task-tree.js';
10
11
  export { mutateTaskCollection, ownTaskResource, stageTaskMutation, taskAnimationFrame, taskAwait, taskFetch, taskIdleCallback, taskInterval, taskObserver, taskTimeout } from '../tasks/resources.js';
11
12
  export { combineTaskSignal, withAbortSignal, withTaskSignal } from '../tasks/signals.js';
12
13
  //# sourceMappingURL=server-task-helpers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-task-helpers.js","sourceRoot":"","sources":["../../../src/framework/server-task-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,+BAA+B,CAAC;AACpF,OAAO,EACN,uCAAuC,EACvC,mCAAmC,EACnC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"server-task-helpers.js","sourceRoot":"","sources":["../../../src/framework/server-task-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,+BAA+B,CAAC;AACpF,OAAO,EACN,uCAAuC,EACvC,mCAAmC,EACnC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,sCAAsC,EAAE,MAAM,wCAAwC,CAAC;AAChG,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["export { registerComponentContinuationContexts } from '../component/context-resumption.js';\nexport { dispatchComponentContinuation } from '../component/domain.js';\nexport { activateTaskForHost } from '../tasks/activation.js';\nexport { activateComputationForHost } from '../tasks/computation-activation.js';\nexport { createTrackedContinuationDependency } from '../tasks/dependency-source.js';\nexport {\n\tactivateCompiledClientLatestTaskForHost,\n\tbindCompiledClientLatestTaskForHost\n} from '../tasks/compiled-latest.js';\nexport { markComponentContinuationTask } from '../tasks/component-continuation.js';\nexport { taskMutation } from '../tasks/frame-runtime.js';\nexport { bindTaskForHost, defineTask, invokeTask } from '../tasks/runtime.js';\nexport { activateServerComponentTaskTreeForHost } from '../tasks/server-component-task-tree.js';\nexport {\n\tmutateTaskCollection,\n\townTaskResource,\n\tstageTaskMutation,\n\ttaskAnimationFrame,\n\ttaskAwait,\n\ttaskFetch,\n\ttaskIdleCallback,\n\ttaskInterval,\n\ttaskObserver,\n\ttaskTimeout\n} from '../tasks/resources.js';\nexport { combineTaskSignal, withAbortSignal, withTaskSignal } from '../tasks/signals.js';\n"]}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Checks an owner's current structural output before placement. It follows compiler child slots,
3
+ * never executes a component, and ignores scalar ranges unrelated to placement. Mutually exclusive
4
+ * placements are evaluated from the same reactive snapshot so moving a child is not a duplicate.
5
+ * Returns the selected operation so a renderer can transfer its existing placement ownership.
6
+ */
7
+ export declare function assertSingleSuppliedPlacement(output: readonly unknown[], supplied: unknown): object | undefined;
8
+ //# sourceMappingURL=supplied-placement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supplied-placement.d.ts","sourceRoot":"","sources":["../../../src/framework/supplied-placement.ts"],"names":[],"mappings":"AAcA;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC5C,MAAM,EAAE,SAAS,OAAO,EAAE,EAC1B,QAAQ,EAAE,OAAO,GACf,MAAM,GAAG,SAAS,CA8DpB"}
@@ -0,0 +1,80 @@
1
+ import { unwrap } from '@exactjs/reactive/framework/values';
2
+ import { readCompiledComponentReceipt, readPreparedServerComponentReference } from '../component-abi/receipt.js';
3
+ import { readCompiledIntrinsicReceipt } from '../component-abi/intrinsic-receipt.js';
4
+ import { readCompiledFragmentReceipt } from '../component-abi/fragment-receipt.js';
5
+ import { readCompiledTargetReceipt } from '../component-abi/target-receipt.js';
6
+ import { readChildRangeReceipt } from '../component-abi/child-range-receipt.js';
7
+ import { readPreparedServerChildRange } from '../component-abi/server-child-range.js';
8
+ import { readCompiledKeyedChildReceipt } from '../component-abi/keyed-child-receipt.js';
9
+ import { readRenderProgramReceipt, readRenderProgramSlot } from '../render-program.js';
10
+ import { readPreparedServerRenderProgram } from '../server-render-program.js';
11
+ /**
12
+ * Checks an owner's current structural output before placement. It follows compiler child slots,
13
+ * never executes a component, and ignores scalar ranges unrelated to placement. Mutually exclusive
14
+ * placements are evaluated from the same reactive snapshot so moving a child is not a duplicate.
15
+ * Returns the selected operation so a renderer can transfer its existing placement ownership.
16
+ */
17
+ export function assertSingleSuppliedPlacement(output, supplied) {
18
+ let selected = unwrap(supplied);
19
+ while (Array.isArray(selected) && selected.length === 1)
20
+ selected = unwrap(selected[0]);
21
+ if (selected == null || typeof selected === 'boolean')
22
+ return;
23
+ let placements = 0;
24
+ let placement;
25
+ const place = (value) => {
26
+ if (++placements > 1)
27
+ throw new TypeError('A supplied target cannot be placed more than once by one component');
28
+ placement = value;
29
+ };
30
+ const visit = (raw) => {
31
+ const value = unwrap(raw);
32
+ if (Array.isArray(value)) {
33
+ for (const child of value)
34
+ visit(child);
35
+ return;
36
+ }
37
+ if (typeof value !== 'object' || value === null)
38
+ return;
39
+ if (value === selected) {
40
+ place(value);
41
+ return;
42
+ }
43
+ const target = readCompiledTargetReceipt(value);
44
+ if (target && target.children.length === 1 && unwrap(target.children[0]) === selected) {
45
+ place(value);
46
+ return;
47
+ }
48
+ const component = readCompiledComponentReceipt(value) ?? readPreparedServerComponentReference(value);
49
+ const intrinsic = readCompiledIntrinsicReceipt(value);
50
+ const fragment = readCompiledFragmentReceipt(value);
51
+ const range = readChildRangeReceipt(value);
52
+ const serverRange = readPreparedServerChildRange(value);
53
+ const keyed = readCompiledKeyedChildReceipt(value);
54
+ const program = readRenderProgramReceipt(value);
55
+ const serverProgram = readPreparedServerRenderProgram(value);
56
+ const children = target?.children ??
57
+ component?.children ??
58
+ intrinsic?.children ??
59
+ fragment?.children ??
60
+ (range
61
+ ? range.mayReplaceSubtree
62
+ ? [range.value]
63
+ : []
64
+ : serverRange
65
+ ? [serverRange.value]
66
+ : keyed
67
+ ? [keyed.value]
68
+ : program
69
+ ? (program.invocation.program.targetSlots ?? []).map((index) => readRenderProgramSlot(program.invocation, index))
70
+ : serverProgram
71
+ ? (serverProgram.program.targetSlots ?? []).map((index) => serverProgram.eagerValues[index])
72
+ : []);
73
+ for (const child of children)
74
+ visit(child);
75
+ };
76
+ for (const child of output)
77
+ visit(child);
78
+ return placement;
79
+ }
80
+ //# sourceMappingURL=supplied-placement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supplied-placement.js","sourceRoot":"","sources":["../../../src/framework/supplied-placement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EACN,4BAA4B,EAC5B,oCAAoC,EACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,C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,KAAK,CAAC;wBACf,CAAC,CAAC,OAAO;4BACR,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAC7D,qBAAqB,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAChD;4BACF,CAAC,CAAC,aAAa;gCACd,CAAC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,GAAG,CAC7C,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,CAC3C;gCACF,CAAC,CAAC,EAAE,CAAC,CAAC;QACZ,KAAK,MAAM,KAAK,IAAI,QAAQ;YAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAC5C,CAAC,CAAC;IACF,KAAK,MAAM,KAAK,IAAI,MAAM;QAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACzC,OAAO,SAAS,CAAC;AAClB,CAAC","sourcesContent":["import { unwrap } from '@exactjs/reactive/framework/values';\nimport {\n\treadCompiledComponentReceipt,\n\treadPreparedServerComponentReference\n} from '../component-abi/receipt.js';\nimport { readCompiledIntrinsicReceipt } from '../component-abi/intrinsic-receipt.js';\nimport { readCompiledFragmentReceipt } from '../component-abi/fragment-receipt.js';\nimport { readCompiledTargetReceipt } from '../component-abi/target-receipt.js';\nimport { readChildRangeReceipt } from '../component-abi/child-range-receipt.js';\nimport { readPreparedServerChildRange } from '../component-abi/server-child-range.js';\nimport { readCompiledKeyedChildReceipt } from '../component-abi/keyed-child-receipt.js';\nimport { readRenderProgramReceipt, readRenderProgramSlot } from '../render-program.js';\nimport { readPreparedServerRenderProgram } from '../server-render-program.js';\n\n/**\n * Checks an owner's current structural output before placement. It follows compiler child slots,\n * never executes a component, and ignores scalar ranges unrelated to placement. Mutually exclusive\n * placements are evaluated from the same reactive snapshot so moving a child is not a duplicate.\n * Returns the selected operation so a renderer can transfer its existing placement ownership.\n */\nexport function assertSingleSuppliedPlacement(\n\toutput: readonly unknown[],\n\tsupplied: unknown\n): object | undefined {\n\tlet selected = unwrap(supplied);\n\twhile (Array.isArray(selected) && selected.length === 1) selected = unwrap(selected[0]);\n\tif (selected == null || typeof selected === 'boolean') return;\n\tlet placements = 0;\n\tlet placement: object | undefined;\n\tconst place = (value: object) => {\n\t\tif (++placements > 1)\n\t\t\tthrow new TypeError('A supplied target cannot be placed more than once by one component');\n\t\tplacement = value;\n\t};\n\tconst visit = (raw: unknown): void => {\n\t\tconst value = unwrap(raw);\n\t\tif (Array.isArray(value)) {\n\t\t\tfor (const child of value) visit(child);\n\t\t\treturn;\n\t\t}\n\t\tif (typeof value !== 'object' || value === null) return;\n\t\tif (value === selected) {\n\t\t\tplace(value);\n\t\t\treturn;\n\t\t}\n\t\tconst target = readCompiledTargetReceipt(value);\n\t\tif (target && target.children.length === 1 && unwrap(target.children[0]) === selected) {\n\t\t\tplace(value);\n\t\t\treturn;\n\t\t}\n\t\tconst component =\n\t\t\treadCompiledComponentReceipt(value) ?? readPreparedServerComponentReference(value);\n\t\tconst intrinsic = readCompiledIntrinsicReceipt(value);\n\t\tconst fragment = readCompiledFragmentReceipt(value);\n\t\tconst range = readChildRangeReceipt(value);\n\t\tconst serverRange = readPreparedServerChildRange(value);\n\t\tconst keyed = readCompiledKeyedChildReceipt(value);\n\t\tconst program = readRenderProgramReceipt(value);\n\t\tconst serverProgram = readPreparedServerRenderProgram(value);\n\t\tconst children =\n\t\t\ttarget?.children ??\n\t\t\tcomponent?.children ??\n\t\t\tintrinsic?.children ??\n\t\t\tfragment?.children ??\n\t\t\t(range\n\t\t\t\t? range.mayReplaceSubtree\n\t\t\t\t\t? [range.value]\n\t\t\t\t\t: []\n\t\t\t\t: serverRange\n\t\t\t\t\t? [serverRange.value]\n\t\t\t\t\t: keyed\n\t\t\t\t\t\t? [keyed.value]\n\t\t\t\t\t\t: program\n\t\t\t\t\t\t\t? (program.invocation.program.targetSlots ?? []).map((index) =>\n\t\t\t\t\t\t\t\t\treadRenderProgramSlot(program.invocation, index)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t: serverProgram\n\t\t\t\t\t\t\t\t? (serverProgram.program.targetSlots ?? []).map(\n\t\t\t\t\t\t\t\t\t\t(index) => serverProgram.eagerValues[index]\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t: []);\n\t\tfor (const child of children) visit(child);\n\t};\n\tfor (const child of output) visit(child);\n\treturn placement;\n}\n"]}
@@ -2,4 +2,6 @@
2
2
  export declare function mergeTargetClassContributions(values: readonly unknown[]): string | null | undefined;
3
3
  /** Merges ordered ARIA/token-list target contributions with stable de-duplication. */
4
4
  export declare function mergeTargetTokenContributions(values: readonly unknown[]): string | null | undefined;
5
+ /** Composes one semantic-target layer with authored and nearest-owner precedence. */
6
+ export declare function composeTargetProps(base: Readonly<Record<string, unknown>>, layer: Readonly<Record<string, unknown>>): Record<string, unknown>;
5
7
  //# sourceMappingURL=target-contributions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"target-contributions.d.ts","sourceRoot":"","sources":["../../../src/framework/target-contributions.ts"],"names":[],"mappings":"AAGA,kFAAkF;AAClF,wBAAgB,6BAA6B,CAC5C,MAAM,EAAE,SAAS,OAAO,EAAE,GACxB,MAAM,GAAG,IAAI,GAAG,SAAS,CAE3B;AAED,sFAAsF;AACtF,wBAAgB,6BAA6B,CAC5C,MAAM,EAAE,SAAS,OAAO,EAAE,GACxB,MAAM,GAAG,IAAI,GAAG,SAAS,CAE3B"}
1
+ {"version":3,"file":"target-contributions.d.ts","sourceRoot":"","sources":["../../../src/framework/target-contributions.ts"],"names":[],"mappings":"AAIA,kFAAkF;AAClF,wBAAgB,6BAA6B,CAC5C,MAAM,EAAE,SAAS,OAAO,EAAE,GACxB,MAAM,GAAG,IAAI,GAAG,SAAS,CAE3B;AAED,sFAAsF;AACtF,wBAAgB,6BAA6B,CAC5C,MAAM,EAAE,SAAS,OAAO,EAAE,GACxB,MAAM,GAAG,IAAI,GAAG,SAAS,CAE3B;AA8BD,qFAAqF;AACrF,wBAAgB,kBAAkB,CACjC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EACvC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBzB"}
@@ -1,4 +1,5 @@
1
1
  import { unwrap } from '@exactjs/reactive/framework/runtime';
2
+ import { TargetOverrides } from '../symbols.js';
2
3
  import { normalizeClassValue } from '../class-values.js';
3
4
  /** Merges ordered target class contributions with stable token de-duplication. */
4
5
  export function mergeTargetClassContributions(values) {
@@ -25,4 +26,41 @@ function mergeTargetTokens(values, normalize) {
25
26
  }
26
27
  return tokens.length ? tokens.join(' ') : suppressed ? null : undefined;
27
28
  }
29
+ const tokenListProps = new Set([
30
+ 'aria-describedby',
31
+ 'aria-labelledby',
32
+ 'aria-controls',
33
+ 'aria-owns',
34
+ 'aria-flowto',
35
+ 'rel'
36
+ ]);
37
+ /** Composes one semantic-target layer with authored and nearest-owner precedence. */
38
+ export function composeTargetProps(base, layer) {
39
+ const result = { ...base };
40
+ delete result[TargetOverrides];
41
+ const overrideValue = unwrap(layer[TargetOverrides]);
42
+ // Most layers have no overrides. Membership against a string key also ignores
43
+ // non-string entries, without allocating a filtered array or an empty Set per host.
44
+ const overrides = Array.isArray(overrideValue) && overrideValue.length ? new Set(overrideValue) : undefined;
45
+ for (const key of new Set([...Object.keys(base), ...Object.keys(layer)])) {
46
+ if (key === 'children' || key === 'key' || key === 'ref' || /^on[A-Z]/.test(key))
47
+ continue;
48
+ const authored = unwrap(base[key]);
49
+ const contributed = unwrap(layer[key]);
50
+ if (overrides?.has(key))
51
+ result[key] = contributed;
52
+ else if (key === 'class' || key === 'className')
53
+ result[key] = mergeTargetClassContributions([authored, contributed]);
54
+ else if (tokenListProps.has(key))
55
+ result[key] = mergeTargetTokenContributions([authored, contributed]);
56
+ else if (key === 'style' && isRecord(contributed) && isRecord(authored))
57
+ result[key] = { ...contributed, ...authored };
58
+ else
59
+ result[key] = authored !== undefined ? authored : contributed;
60
+ }
61
+ return result;
62
+ }
63
+ function isRecord(value) {
64
+ return !!value && typeof value === 'object' && !Array.isArray(value);
65
+ }
28
66
  //# sourceMappingURL=target-contributions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"target-contributions.js","sourceRoot":"","sources":["../../../src/framework/target-contributions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,kFAAkF;AAClF,MAAM,UAAU,6BAA6B,CAC5C,MAA0B;IAE1B,OAAO,iBAAiB,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AACvD,CAAC;AAED,sFAAsF;AACtF,MAAM,UAAU,6BAA6B,CAC5C,MAA0B;IAE1B,OAAO,iBAAiB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,CAAC;AAED,SAAS,iBAAiB,CACzB,MAA0B,EAC1B,SAAqC;IAErC,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,IAAI,UAAU,GAAG,KAAK,CAAC;IACvB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC7B,IAAI,MAAM,KAAK,SAAS;YAAE,SAAS;QACnC,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YACrB,UAAU,GAAG,IAAI,CAAC;YAClB,SAAS;QACV,CAAC;QACD,KAAK,MAAM,KAAK,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC;YACjD,IAAI,KAAK,IAAI,CAAC,MAAM,CAAC,QAAQ,CA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KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QACvC,IAAI,SAAS,EAAE,GAAG,CAAC,GAAG,CAAC;YAAE,MAAM,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC;aAC9C,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,KAAK,WAAW;YAC9C,MAAM,CAAC,GAAG,CAAC,GAAG,6BAA6B,CAAC,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;aACjE,IAAI,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC;YAC/B,MAAM,CAAC,GAAG,CAAC,GAAG,6BAA6B,CAAC,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;aACjE,IAAI,GAAG,KAAK,OAAO,IAAI,QAAQ,CAAC,WAAW,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC;YACtE,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,WAAW,EAAE,GAAG,QAAQ,EAAE,CAAC;;YAC1C,MAAM,CAAC,GAAG,CAAC,GAAG,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC;IACpE,CAAC;IACD,OAAO,MAAM,CAAC;AACf,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC/B,OAAO,CAAC,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AACtE,CAAC","sourcesContent":["import { unwrap } from '@exactjs/reactive/framework/runtime';\nimport { TargetOverrides } from '../symbols.js';\nimport { normalizeClassValue } from '../class-values.js';\n\n/** Merges ordered target class contributions with stable token de-duplication. */\nexport function mergeTargetClassContributions(\n\tvalues: readonly unknown[]\n): string | null | undefined {\n\treturn mergeTargetTokens(values, normalizeClassValue);\n}\n\n/** Merges ordered ARIA/token-list target contributions with stable de-duplication. */\nexport function mergeTargetTokenContributions(\n\tvalues: readonly unknown[]\n): string | null | undefined {\n\treturn mergeTargetTokens(values, String);\n}\n\nfunction mergeTargetTokens(\n\tvalues: readonly unknown[],\n\tnormalize: (value: unknown) => string\n): string | null | undefined {\n\tconst tokens: string[] = [];\n\tlet suppressed = false;\n\tfor (const value of values) {\n\t\tconst actual = unwrap(value);\n\t\tif (actual === undefined) continue;\n\t\tif (actual === null) {\n\t\t\tsuppressed = true;\n\t\t\tcontinue;\n\t\t}\n\t\tfor (const token of normalize(actual).split(/\\s+/))\n\t\t\tif (token && !tokens.includes(token)) tokens.push(token);\n\t}\n\treturn tokens.length ? tokens.join(' ') : suppressed ? null : undefined;\n}\n\nconst tokenListProps = new Set([\n\t'aria-describedby',\n\t'aria-labelledby',\n\t'aria-controls',\n\t'aria-owns',\n\t'aria-flowto',\n\t'rel'\n]);\n\n/** Composes one semantic-target layer with authored and nearest-owner precedence. */\nexport function composeTargetProps(\n\tbase: Readonly<Record<string, unknown>>,\n\tlayer: Readonly<Record<string, unknown>>\n): Record<string, unknown> {\n\tconst result: Record<string, unknown> = { ...base };\n\tdelete (result as Record<PropertyKey, unknown>)[TargetOverrides];\n\tconst overrideValue = unwrap((layer as Readonly<Record<PropertyKey, unknown>>)[TargetOverrides]);\n\t// Most layers have no overrides. Membership against a string key also ignores\n\t// non-string entries, without allocating a filtered array or an empty Set per host.\n\tconst overrides =\n\t\tArray.isArray(overrideValue) && overrideValue.length ? new Set(overrideValue) : undefined;\n\tfor (const key of new Set([...Object.keys(base), ...Object.keys(layer)])) {\n\t\tif (key === 'children' || key === 'key' || key === 'ref' || /^on[A-Z]/.test(key)) continue;\n\t\tconst authored = unwrap(base[key]);\n\t\tconst contributed = unwrap(layer[key]);\n\t\tif (overrides?.has(key)) result[key] = contributed;\n\t\telse if (key === 'class' || key === 'className')\n\t\t\tresult[key] = mergeTargetClassContributions([authored, contributed]);\n\t\telse if (tokenListProps.has(key))\n\t\t\tresult[key] = mergeTargetTokenContributions([authored, contributed]);\n\t\telse if (key === 'style' && isRecord(contributed) && isRecord(authored))\n\t\t\tresult[key] = { ...contributed, ...authored };\n\t\telse result[key] = authored !== undefined ? authored : contributed;\n\t}\n\treturn result;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n\treturn !!value && typeof value === 'object' && !Array.isArray(value);\n}\n"]}