@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.
- package/AGENTS.md +4 -4
- package/README.md +8 -6
- package/dist/activity.js.map +1 -1
- package/dist/children/composition.d.ts +34 -0
- package/dist/children/composition.d.ts.map +1 -0
- package/dist/children/composition.js +74 -0
- package/dist/children/composition.js.map +1 -0
- package/dist/children.d.ts +4 -0
- package/dist/children.d.ts.map +1 -0
- package/dist/children.js +3 -0
- package/dist/children.js.map +1 -0
- package/dist/class-values.js.map +1 -1
- package/dist/cleanup.js.map +1 -1
- package/dist/client/activity.js.map +1 -1
- package/dist/client/children/composition.d.ts +34 -0
- package/dist/client/children/composition.d.ts.map +1 -0
- package/dist/client/children/composition.js +74 -0
- package/dist/client/children/composition.js.map +1 -0
- package/dist/client/children.d.ts +4 -0
- package/dist/client/children.d.ts.map +1 -0
- package/dist/client/children.js +3 -0
- package/dist/client/children.js.map +1 -0
- package/dist/client/class-values.js.map +1 -1
- package/dist/client/cleanup.js.map +1 -1
- package/dist/client/component/async-value.js.map +1 -1
- package/dist/client/component/async.js.map +1 -1
- package/dist/client/component/authorization.js.map +1 -1
- package/dist/client/component/compact-instance.js.map +1 -1
- package/dist/client/component/compiled-abi.js.map +1 -1
- package/dist/client/component/compiled-output.js.map +1 -1
- package/dist/client/component/construction.js.map +1 -1
- package/dist/client/component/context-api.js.map +1 -1
- package/dist/client/component/context-capability-integration.js.map +1 -1
- package/dist/client/component/context-capability.js.map +1 -1
- package/dist/client/component/context-inspection.js.map +1 -1
- package/dist/client/component/context-resumption.js.map +1 -1
- package/dist/client/component/contexts.js.map +1 -1
- package/dist/client/component/contract-versions.d.ts +2 -2
- package/dist/client/component/contract-versions.js +2 -2
- package/dist/client/component/contract-versions.js.map +1 -1
- package/dist/client/component/contracts.d.ts +4 -2
- package/dist/client/component/contracts.d.ts.map +1 -1
- package/dist/client/component/contracts.js.map +1 -1
- package/dist/client/component/default-logger.js.map +1 -1
- package/dist/client/component/derived.js.map +1 -1
- package/dist/client/component/direct-server-context-api.js.map +1 -1
- package/dist/client/component/direct-server-instance-construction.js.map +1 -1
- package/dist/client/component/domain.d.ts +2 -0
- package/dist/client/component/domain.d.ts.map +1 -1
- package/dist/client/component/domain.js +4 -0
- package/dist/client/component/domain.js.map +1 -1
- package/dist/client/component/durable-instance-construction.js.map +1 -1
- package/dist/client/component/element-identity.js.map +1 -1
- package/dist/client/component/error-boundary.js +2 -2
- package/dist/client/component/error-boundary.js.map +1 -1
- package/dist/client/component/error-view.js.map +1 -1
- package/dist/client/component/errors.js.map +1 -1
- package/dist/client/component/input-observation.js.map +1 -1
- package/dist/client/component/inspection-source.js.map +1 -1
- package/dist/client/component/inspection.js.map +1 -1
- package/dist/client/component/instance-construction.js.map +1 -1
- package/dist/client/component/instance-identity.js.map +1 -1
- package/dist/client/component/interaction-contracts.js.map +1 -1
- package/dist/client/component/lifecycle-handlers.js.map +1 -1
- package/dist/client/component/list-capability-integration.js.map +1 -1
- package/dist/client/component/list-capability.js.map +1 -1
- package/dist/client/component/list-controller.js.map +1 -1
- package/dist/client/component/localization-capability.js.map +1 -1
- package/dist/client/component/log.js.map +1 -1
- package/dist/client/component/logical-owner.d.ts.map +1 -1
- package/dist/client/component/logical-owner.js +3 -2
- package/dist/client/component/logical-owner.js.map +1 -1
- package/dist/client/component/ownership.js.map +1 -1
- package/dist/client/component/performance-trace.js.map +1 -1
- package/dist/client/component/plugins.js.map +1 -1
- package/dist/client/component/reactive-expression.js.map +1 -1
- package/dist/client/component/reactive-expressions.d.ts.map +1 -1
- package/dist/client/component/reactive-expressions.js +3 -2
- package/dist/client/component/reactive-expressions.js.map +1 -1
- package/dist/client/component/reactive-value.js.map +1 -1
- package/dist/client/component/readiness.js.map +1 -1
- package/dist/client/component/ref-capability-integration.js.map +1 -1
- package/dist/client/component/ref-capability.js.map +1 -1
- package/dist/client/component/ref-runtime.js.map +1 -1
- package/dist/client/component/render-instance-construction.js.map +1 -1
- package/dist/client/component/render-instance.js.map +1 -1
- package/dist/client/component/render.js.map +1 -1
- package/dist/client/component/resource-ownership.js.map +1 -1
- package/dist/client/component/resumption.js.map +1 -1
- package/dist/client/component/root-lifecycle.js.map +1 -1
- package/dist/client/component/runtime-construction.js.map +1 -1
- package/dist/client/component/runtime-surface-contexts.js.map +1 -1
- package/dist/client/component/runtime-surface-lifecycle.js.map +1 -1
- package/dist/client/component/runtime-surface-lists.js.map +1 -1
- package/dist/client/component/runtime-surface-localization.js.map +1 -1
- package/dist/client/component/runtime-surface-logging.js.map +1 -1
- package/dist/client/component/runtime-surface-reactivity.js.map +1 -1
- package/dist/client/component/runtime-surface-refs.js.map +1 -1
- package/dist/client/component/runtime-surface-registration.js.map +1 -1
- package/dist/client/component/runtime-surface.js.map +1 -1
- package/dist/client/component/runtime.d.ts +3 -0
- package/dist/client/component/runtime.d.ts.map +1 -1
- package/dist/client/component/runtime.js +32 -6
- package/dist/client/component/runtime.js.map +1 -1
- package/dist/client/component/state.js.map +1 -1
- package/dist/client/component/task-capability-integration.js +1 -0
- package/dist/client/component/task-capability-integration.js.map +1 -1
- package/dist/client/component/task-capability.js.map +1 -1
- package/dist/client/component/task-inspection-history.js.map +1 -1
- package/dist/client/component/task-instance-construction.js.map +1 -1
- package/dist/client/component/task-instance.js.map +1 -1
- package/dist/client/component/task-observer.js.map +1 -1
- package/dist/client/component/task-owner-integration.js.map +1 -1
- package/dist/client/component/value-contracts.js.map +1 -1
- package/dist/client/component-abi/activity-receipt.js.map +1 -1
- package/dist/client/component-abi/artifact.js.map +1 -1
- package/dist/client/component-abi/child-range-receipt.js.map +1 -1
- package/dist/client/component-abi/client.d.ts +2 -1
- package/dist/client/component-abi/client.d.ts.map +1 -1
- package/dist/client/component-abi/client.js.map +1 -1
- package/dist/client/component-abi/compatibility-contribution.js.map +1 -1
- package/dist/client/component-abi/compiled-child-range.d.ts.map +1 -1
- package/dist/client/component-abi/compiled-child-range.js +6 -1
- package/dist/client/component-abi/compiled-child-range.js.map +1 -1
- package/dist/client/component-abi/compiled-runtime.js.map +1 -1
- package/dist/client/component-abi/executable-fields.js.map +1 -1
- package/dist/client/component-abi/fragment-receipt.d.ts +20 -0
- package/dist/client/component-abi/fragment-receipt.d.ts.map +1 -1
- package/dist/client/component-abi/fragment-receipt.js +35 -5
- package/dist/client/component-abi/fragment-receipt.js.map +1 -1
- package/dist/client/component-abi/intrinsic-receipt.d.ts +10 -0
- package/dist/client/component-abi/intrinsic-receipt.d.ts.map +1 -1
- package/dist/client/component-abi/intrinsic-receipt.js +44 -6
- package/dist/client/component-abi/intrinsic-receipt.js.map +1 -1
- package/dist/client/component-abi/keyed-child-receipt.js.map +1 -1
- package/dist/client/component-abi/opaque-operation.d.ts.map +1 -1
- package/dist/client/component-abi/opaque-operation.js +36 -3
- package/dist/client/component-abi/opaque-operation.js.map +1 -1
- package/dist/client/component-abi/portal-receipt.js.map +1 -1
- package/dist/client/component-abi/receipt.d.ts +7 -0
- package/dist/client/component-abi/receipt.d.ts.map +1 -1
- package/dist/client/component-abi/receipt.js +9 -0
- package/dist/client/component-abi/receipt.js.map +1 -1
- package/dist/client/component-abi/runtime.js.map +1 -1
- package/dist/client/component-abi/server-child-range.js +1 -1
- package/dist/client/component-abi/server-child-range.js.map +1 -1
- package/dist/client/component-abi/server-keyed-child.js.map +1 -1
- package/dist/client/component-abi/server-runtime.js.map +1 -1
- package/dist/client/component-abi/server-structure-receipts.js.map +1 -1
- package/dist/client/component-abi/server.d.ts +2 -1
- package/dist/client/component-abi/server.d.ts.map +1 -1
- package/dist/client/component-abi/server.js.map +1 -1
- package/dist/client/component-abi/suspense-receipt.js.map +1 -1
- package/dist/client/component-abi/target-receipt.d.ts +23 -1
- package/dist/client/component-abi/target-receipt.d.ts.map +1 -1
- package/dist/client/component-abi/target-receipt.js +46 -5
- package/dist/client/component-abi/target-receipt.js.map +1 -1
- package/dist/client/component-abi/text-projection-markup.d.ts +16 -0
- package/dist/client/component-abi/text-projection-markup.d.ts.map +1 -0
- package/dist/client/component-abi/text-projection-markup.js +110 -0
- package/dist/client/component-abi/text-projection-markup.js.map +1 -0
- package/dist/client/component-abi/text-projection.d.ts +12 -0
- package/dist/client/component-abi/text-projection.d.ts.map +1 -0
- package/dist/client/component-abi/text-projection.js +79 -0
- package/dist/client/component-abi/text-projection.js.map +1 -0
- package/dist/client/component-abi/unsafe-html-receipt.js.map +1 -1
- package/dist/client/component-abi/value-serialization.js.map +1 -1
- package/dist/client/component-contract/boundary-validation.js.map +1 -1
- package/dist/client/component-contract/composition-support.js.map +1 -1
- package/dist/client/component-contract/continuation-validation.js.map +1 -1
- package/dist/client/component-contract/contract-cache.js.map +1 -1
- package/dist/client/component-contract/contract-validation.d.ts.map +1 -1
- package/dist/client/component-contract/contract-validation.js +5 -13
- package/dist/client/component-contract/contract-validation.js.map +1 -1
- package/dist/client/component-contract/metadata-validation.d.ts +4 -0
- package/dist/client/component-contract/metadata-validation.d.ts.map +1 -1
- package/dist/client/component-contract/metadata-validation.js +16 -0
- package/dist/client/component-contract/metadata-validation.js.map +1 -1
- package/dist/client/component-contract/server-execution-validation.js.map +1 -1
- package/dist/client/component-contracts.d.ts +4 -3
- package/dist/client/component-contracts.d.ts.map +1 -1
- package/dist/client/component-contracts.js +7 -1
- package/dist/client/component-contracts.js.map +1 -1
- package/dist/client/component-definition-contracts.js.map +1 -1
- package/dist/client/component-registry/contracts.js.map +1 -1
- package/dist/client/component-registry/creation.d.ts.map +1 -1
- package/dist/client/component-registry/creation.js +4 -3
- package/dist/client/component-registry/creation.js.map +1 -1
- package/dist/client/component-registry/errors.js.map +1 -1
- package/dist/client/component-registry/loading.js.map +1 -1
- package/dist/client/component-registry/operations.js.map +1 -1
- package/dist/client/component-registry/storage.js.map +1 -1
- package/dist/client/component-registry/syntax.js.map +1 -1
- package/dist/client/document/composition.d.ts +7 -0
- package/dist/client/document/composition.d.ts.map +1 -0
- package/dist/client/document/composition.js +52 -0
- package/dist/client/document/composition.js.map +1 -0
- package/dist/client/document/definition.d.ts +10 -0
- package/dist/client/document/definition.d.ts.map +1 -0
- package/dist/client/document/definition.js +3 -0
- package/dist/client/document/definition.js.map +1 -0
- package/dist/client/document/doctype.d.ts +17 -0
- package/dist/client/document/doctype.d.ts.map +1 -0
- package/dist/client/document/doctype.js +35 -0
- package/dist/client/document/doctype.js.map +1 -0
- package/dist/client/document/output.d.ts +22 -0
- package/dist/client/document/output.d.ts.map +1 -0
- package/dist/client/document/output.js +30 -0
- package/dist/client/document/output.js.map +1 -0
- package/dist/client/document.d.ts +6 -0
- package/dist/client/document.d.ts.map +1 -0
- package/dist/client/document.js +5 -0
- package/dist/client/document.js.map +1 -0
- package/dist/client/dynamic-component/contracts.js.map +1 -1
- package/dist/client/dynamic-component/creation.js.map +1 -1
- package/dist/client/dynamic-component/runtime.js.map +1 -1
- package/dist/client/enhancements.d.ts +2 -0
- package/dist/client/enhancements.d.ts.map +1 -1
- package/dist/client/enhancements.js +8 -4
- package/dist/client/enhancements.js.map +1 -1
- package/dist/client/framework/async-values.js.map +1 -1
- package/dist/client/framework/compatibility-contributions.js.map +1 -1
- package/dist/client/framework/component-contract-validation.js.map +1 -1
- package/dist/client/framework/component-contracts.js.map +1 -1
- package/dist/client/framework/component-domains.js.map +1 -1
- package/dist/client/framework/component-execution.js.map +1 -1
- package/dist/client/framework/component-lifecycle.js.map +1 -1
- package/dist/client/framework/component-roots.js.map +1 -1
- package/dist/client/framework/enhancement-catalog.js.map +1 -1
- package/dist/client/framework/enhancement-fallback.d.ts +12 -0
- package/dist/client/framework/enhancement-fallback.d.ts.map +1 -0
- package/dist/client/framework/enhancement-fallback.js +41 -0
- package/dist/client/framework/enhancement-fallback.js.map +1 -0
- package/dist/client/framework/enhancement-order.d.ts +9 -0
- package/dist/client/framework/enhancement-order.d.ts.map +1 -0
- package/dist/client/framework/enhancement-order.js +34 -0
- package/dist/client/framework/enhancement-order.js.map +1 -0
- package/dist/client/framework/error-format.js.map +1 -1
- package/dist/client/framework/error-view.js.map +1 -1
- package/dist/client/framework/fragment-enhancement-chain.d.ts +4 -0
- package/dist/client/framework/fragment-enhancement-chain.d.ts.map +1 -0
- package/dist/client/framework/fragment-enhancement-chain.js +28 -0
- package/dist/client/framework/fragment-enhancement-chain.js.map +1 -0
- package/dist/client/framework/fragment-hosts.d.ts +30 -0
- package/dist/client/framework/fragment-hosts.d.ts.map +1 -0
- package/dist/client/framework/fragment-hosts.js +65 -0
- package/dist/client/framework/fragment-hosts.js.map +1 -0
- package/dist/client/framework/fragment-target-projection.d.ts +8 -0
- package/dist/client/framework/fragment-target-projection.d.ts.map +1 -0
- package/dist/client/framework/fragment-target-projection.js +98 -0
- package/dist/client/framework/fragment-target-projection.js.map +1 -0
- package/dist/client/framework/inspection-transport.js.map +1 -1
- package/dist/client/framework/operation-protocol.js.map +1 -1
- package/dist/client/framework/prepared-target-output.d.ts +11 -0
- package/dist/client/framework/prepared-target-output.d.ts.map +1 -0
- package/dist/client/framework/prepared-target-output.js +51 -0
- package/dist/client/framework/prepared-target-output.js.map +1 -0
- package/dist/client/framework/protocol-records.js.map +1 -1
- package/dist/client/framework/publication.js.map +1 -1
- package/dist/client/framework/render-structure.d.ts +10 -0
- package/dist/client/framework/render-structure.d.ts.map +1 -1
- package/dist/client/framework/render-structure.js +10 -0
- package/dist/client/framework/render-structure.js.map +1 -1
- package/dist/client/framework/server-component-contexts.js.map +1 -1
- package/dist/client/framework/server-component-execution.js.map +1 -1
- package/dist/client/framework/server-render-structure.js.map +1 -1
- package/dist/client/framework/server-task-helpers.d.ts +1 -0
- package/dist/client/framework/server-task-helpers.d.ts.map +1 -1
- package/dist/client/framework/server-task-helpers.js +1 -0
- package/dist/client/framework/server-task-helpers.js.map +1 -1
- package/dist/client/framework/supplied-placement.d.ts +8 -0
- package/dist/client/framework/supplied-placement.d.ts.map +1 -0
- package/dist/client/framework/supplied-placement.js +80 -0
- package/dist/client/framework/supplied-placement.js.map +1 -0
- package/dist/client/framework/target-contributions.d.ts +2 -0
- package/dist/client/framework/target-contributions.d.ts.map +1 -1
- package/dist/client/framework/target-contributions.js +38 -0
- package/dist/client/framework/target-contributions.js.map +1 -1
- package/dist/client/framework/task-frames.js.map +1 -1
- package/dist/client/framework/text-target-output.d.ts +6 -0
- package/dist/client/framework/text-target-output.d.ts.map +1 -0
- package/dist/client/framework/text-target-output.js +14 -0
- package/dist/client/framework/text-target-output.js.map +1 -0
- package/dist/client/hydration-boundary.js.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/inspection-transport.js.map +1 -1
- package/dist/client/interaction/execution.js.map +1 -1
- package/dist/client/json.js.map +1 -1
- package/dist/client/keys.js.map +1 -1
- package/dist/client/localization/component-integration.js.map +1 -1
- package/dist/client/localization/context.js.map +1 -1
- package/dist/client/localization/contracts.js.map +1 -1
- package/dist/client/localization/facade.js.map +1 -1
- package/dist/client/localization/formatter-pool.js.map +1 -1
- package/dist/client/localization.js.map +1 -1
- package/dist/client/logging.js.map +1 -1
- package/dist/client/native-props.js.map +1 -1
- package/dist/client/protocol-utf8.js.map +1 -1
- package/dist/client/protocol.js.map +1 -1
- package/dist/client/render-children.js.map +1 -1
- package/dist/client/render-program.d.ts +4 -1
- package/dist/client/render-program.d.ts.map +1 -1
- package/dist/client/render-program.js +1 -1
- package/dist/client/render-program.js.map +1 -1
- package/dist/client/runtime/collections.js.map +1 -1
- package/dist/client/runtime/compatibility-component-abi.js.map +1 -1
- package/dist/client/runtime/component-abi.d.ts +3 -3
- package/dist/client/runtime/component-abi.d.ts.map +1 -1
- package/dist/client/runtime/component-abi.js +3 -3
- package/dist/client/runtime/component-abi.js.map +1 -1
- package/dist/client/runtime/component-construction/direct-server.js.map +1 -1
- package/dist/client/runtime/component-construction/durable.js.map +1 -1
- package/dist/client/runtime/component-construction/render.js.map +1 -1
- package/dist/client/runtime/component-construction/task.js.map +1 -1
- package/dist/client/runtime/component-execution.js.map +1 -1
- package/dist/client/runtime/component-operations.d.ts +3 -0
- package/dist/client/runtime/component-operations.d.ts.map +1 -1
- package/dist/client/runtime/component-operations.js +3 -0
- package/dist/client/runtime/component-operations.js.map +1 -1
- package/dist/client/runtime/component-reactivity.js.map +1 -1
- package/dist/client/runtime/component-tasks.js.map +1 -1
- package/dist/client/runtime/contexts.js.map +1 -1
- package/dist/client/runtime/dynamic-components.js.map +1 -1
- package/dist/client/runtime/enhancements.js.map +1 -1
- package/dist/client/runtime/inspection.js.map +1 -1
- package/dist/client/runtime/lifecycle.js.map +1 -1
- package/dist/client/runtime/lists.js.map +1 -1
- package/dist/client/runtime/localization.js.map +1 -1
- package/dist/client/runtime/logging.js.map +1 -1
- package/dist/client/runtime/reactivity.js.map +1 -1
- package/dist/client/runtime/refs.js.map +1 -1
- package/dist/client/runtime/registry.js.map +1 -1
- package/dist/client/runtime/render-operations.js.map +1 -1
- package/dist/client/runtime/render.js.map +1 -1
- package/dist/client/runtime/tasks.js.map +1 -1
- package/dist/client/server-render-program.js.map +1 -1
- package/dist/client/ssr-independence.js.map +1 -1
- package/dist/client/symbols.js.map +1 -1
- package/dist/client/tasks/activation.js.map +1 -1
- package/dist/client/tasks/cancellation.js.map +1 -1
- package/dist/client/tasks/compiled-latest.js.map +1 -1
- package/dist/client/tasks/component-continuation.js.map +1 -1
- package/dist/client/tasks/component-execution-capability.js.map +1 -1
- package/dist/client/tasks/component-execution-plan.js.map +1 -1
- package/dist/client/tasks/component-execution-slice.js.map +1 -1
- package/dist/client/tasks/component-execution.js.map +1 -1
- package/dist/client/tasks/computation-activation.js.map +1 -1
- package/dist/client/tasks/continuations.js.map +1 -1
- package/dist/client/tasks/contracts.js.map +1 -1
- package/dist/client/tasks/definition-record.js.map +1 -1
- package/dist/client/tasks/dependency-provenance.js.map +1 -1
- package/dist/client/tasks/dependency-source.js.map +1 -1
- package/dist/client/tasks/dependency-watcher.js.map +1 -1
- package/dist/client/tasks/frame-context.js.map +1 -1
- package/dist/client/tasks/frame-continuation.js.map +1 -1
- package/dist/client/tasks/frame-contracts.js.map +1 -1
- package/dist/client/tasks/frame-inspection-capability.js.map +1 -1
- package/dist/client/tasks/frame-inspection.js.map +1 -1
- package/dist/client/tasks/frame-runtime.js.map +1 -1
- package/dist/client/tasks/frame-settlement.js.map +1 -1
- package/dist/client/tasks/generation-execution.js.map +1 -1
- package/dist/client/tasks/invocation.js.map +1 -1
- package/dist/client/tasks/observers.js.map +1 -1
- package/dist/client/tasks/optimism.js.map +1 -1
- package/dist/client/tasks/options.js.map +1 -1
- package/dist/client/tasks/owner-activations.js.map +1 -1
- package/dist/client/tasks/owner-hosts.js.map +1 -1
- package/dist/client/tasks/owner-record.js.map +1 -1
- package/dist/client/tasks/owners.js.map +1 -1
- package/dist/client/tasks/performance-trace.js.map +1 -1
- package/dist/client/tasks/policy.js.map +1 -1
- package/dist/client/tasks/priority.js.map +1 -1
- package/dist/client/tasks/public.js.map +1 -1
- package/dist/client/tasks/resources.js.map +1 -1
- package/dist/client/tasks/runtime-types.js.map +1 -1
- package/dist/client/tasks/runtime.js.map +1 -1
- package/dist/client/tasks/scheduled-reactions.js.map +1 -1
- package/dist/client/tasks/server-component-execution-contracts.js.map +1 -1
- package/dist/client/tasks/server-component-execution.d.ts +3 -0
- package/dist/client/tasks/server-component-execution.d.ts.map +1 -1
- package/dist/client/tasks/server-component-execution.js +16 -46
- package/dist/client/tasks/server-component-execution.js.map +1 -1
- package/dist/client/tasks/server-component-resources.js.map +1 -1
- package/dist/client/tasks/server-component-task-slice.d.ts +5 -0
- package/dist/client/tasks/server-component-task-slice.d.ts.map +1 -0
- package/dist/client/tasks/server-component-task-slice.js +56 -0
- package/dist/client/tasks/server-component-task-slice.js.map +1 -0
- package/dist/client/tasks/server-component-task-tree.d.ts +9 -0
- package/dist/client/tasks/server-component-task-tree.d.ts.map +1 -0
- package/dist/client/tasks/server-component-task-tree.js +38 -0
- package/dist/client/tasks/server-component-task-tree.js.map +1 -0
- package/dist/client/tasks/server-task-readiness.js.map +1 -1
- package/dist/client/tasks/signals.js.map +1 -1
- package/dist/client/tasks/status.js.map +1 -1
- package/dist/client/tasks/v1.js.map +1 -1
- package/dist/client/testing/runtime-artifacts.d.ts.map +1 -1
- package/dist/client/testing/runtime-artifacts.js +4 -3
- package/dist/client/testing/runtime-artifacts.js.map +1 -1
- package/dist/client/testing/runtime.d.ts.map +1 -1
- package/dist/client/testing/runtime.js +4 -2
- package/dist/client/testing/runtime.js.map +1 -1
- package/dist/client/testing.js.map +1 -1
- package/dist/client/url.js.map +1 -1
- package/dist/component/async-value.js.map +1 -1
- package/dist/component/async.js.map +1 -1
- package/dist/component/authorization.js.map +1 -1
- package/dist/component/compact-instance.js.map +1 -1
- package/dist/component/compiled-abi.js.map +1 -1
- package/dist/component/compiled-output.js.map +1 -1
- package/dist/component/construction.js.map +1 -1
- package/dist/component/context-api.js.map +1 -1
- package/dist/component/context-capability-integration.js.map +1 -1
- package/dist/component/context-capability.js.map +1 -1
- package/dist/component/context-inspection.js.map +1 -1
- package/dist/component/context-resumption.js.map +1 -1
- package/dist/component/contexts.js.map +1 -1
- package/dist/component/contract-versions.d.ts +2 -2
- package/dist/component/contract-versions.js +2 -2
- package/dist/component/contract-versions.js.map +1 -1
- package/dist/component/contracts.d.ts +4 -2
- package/dist/component/contracts.d.ts.map +1 -1
- package/dist/component/contracts.js.map +1 -1
- package/dist/component/default-logger.js.map +1 -1
- package/dist/component/derived.js.map +1 -1
- package/dist/component/direct-server-context-api.js.map +1 -1
- package/dist/component/direct-server-instance-construction.js.map +1 -1
- package/dist/component/domain.d.ts +2 -0
- package/dist/component/domain.d.ts.map +1 -1
- package/dist/component/domain.js +4 -0
- package/dist/component/domain.js.map +1 -1
- package/dist/component/durable-instance-construction.js.map +1 -1
- package/dist/component/element-identity.js.map +1 -1
- package/dist/component/error-boundary.js.map +1 -1
- package/dist/component/error-view.js.map +1 -1
- package/dist/component/errors.js.map +1 -1
- package/dist/component/input-observation.js.map +1 -1
- package/dist/component/inspection-source.js.map +1 -1
- package/dist/component/inspection.js.map +1 -1
- package/dist/component/instance-construction.js.map +1 -1
- package/dist/component/instance-identity.js.map +1 -1
- package/dist/component/interaction-contracts.js.map +1 -1
- package/dist/component/lifecycle-handlers.js.map +1 -1
- package/dist/component/list-capability-integration.js.map +1 -1
- package/dist/component/list-capability.js.map +1 -1
- package/dist/component/list-controller.js.map +1 -1
- package/dist/component/localization-capability.js.map +1 -1
- package/dist/component/log.js.map +1 -1
- package/dist/component/logical-owner.d.ts.map +1 -1
- package/dist/component/logical-owner.js +3 -2
- package/dist/component/logical-owner.js.map +1 -1
- package/dist/component/ownership.js.map +1 -1
- package/dist/component/performance-trace.js.map +1 -1
- package/dist/component/plugins.js.map +1 -1
- package/dist/component/reactive-expression.js.map +1 -1
- package/dist/component/reactive-expressions.d.ts.map +1 -1
- package/dist/component/reactive-expressions.js +3 -2
- package/dist/component/reactive-expressions.js.map +1 -1
- package/dist/component/reactive-value.js.map +1 -1
- package/dist/component/readiness.js.map +1 -1
- package/dist/component/ref-capability-integration.js.map +1 -1
- package/dist/component/ref-capability.js.map +1 -1
- package/dist/component/ref-runtime.js.map +1 -1
- package/dist/component/render-instance-construction.js.map +1 -1
- package/dist/component/render-instance.js.map +1 -1
- package/dist/component/render.js.map +1 -1
- package/dist/component/resource-ownership.js.map +1 -1
- package/dist/component/resumption.js.map +1 -1
- package/dist/component/root-lifecycle.js.map +1 -1
- package/dist/component/runtime-construction.js.map +1 -1
- package/dist/component/runtime-surface-contexts.js.map +1 -1
- package/dist/component/runtime-surface-lifecycle.js.map +1 -1
- package/dist/component/runtime-surface-lists.js.map +1 -1
- package/dist/component/runtime-surface-localization.js.map +1 -1
- package/dist/component/runtime-surface-logging.js.map +1 -1
- package/dist/component/runtime-surface-reactivity.js.map +1 -1
- package/dist/component/runtime-surface-refs.js.map +1 -1
- package/dist/component/runtime-surface-registration.js.map +1 -1
- package/dist/component/runtime-surface.js.map +1 -1
- package/dist/component/runtime.d.ts +3 -0
- package/dist/component/runtime.d.ts.map +1 -1
- package/dist/component/runtime.js +32 -6
- package/dist/component/runtime.js.map +1 -1
- package/dist/component/state.js.map +1 -1
- package/dist/component/task-capability-integration.js +1 -0
- package/dist/component/task-capability-integration.js.map +1 -1
- package/dist/component/task-capability.js.map +1 -1
- package/dist/component/task-inspection-history.js.map +1 -1
- package/dist/component/task-instance-construction.js.map +1 -1
- package/dist/component/task-instance.js.map +1 -1
- package/dist/component/task-observer.js.map +1 -1
- package/dist/component/task-owner-integration.js.map +1 -1
- package/dist/component/value-contracts.js.map +1 -1
- package/dist/component-abi/activity-receipt.js.map +1 -1
- package/dist/component-abi/artifact.js.map +1 -1
- package/dist/component-abi/child-range-receipt.js.map +1 -1
- package/dist/component-abi/client.d.ts +2 -1
- package/dist/component-abi/client.d.ts.map +1 -1
- package/dist/component-abi/client.js.map +1 -1
- package/dist/component-abi/compatibility-contribution.js.map +1 -1
- package/dist/component-abi/compiled-child-range.d.ts.map +1 -1
- package/dist/component-abi/compiled-child-range.js +6 -1
- package/dist/component-abi/compiled-child-range.js.map +1 -1
- package/dist/component-abi/compiled-runtime.js.map +1 -1
- package/dist/component-abi/executable-fields.js.map +1 -1
- package/dist/component-abi/fragment-receipt.d.ts +20 -0
- package/dist/component-abi/fragment-receipt.d.ts.map +1 -1
- package/dist/component-abi/fragment-receipt.js +35 -5
- package/dist/component-abi/fragment-receipt.js.map +1 -1
- package/dist/component-abi/intrinsic-receipt.d.ts +10 -0
- package/dist/component-abi/intrinsic-receipt.d.ts.map +1 -1
- package/dist/component-abi/intrinsic-receipt.js +44 -6
- package/dist/component-abi/intrinsic-receipt.js.map +1 -1
- package/dist/component-abi/keyed-child-receipt.js.map +1 -1
- package/dist/component-abi/opaque-operation.d.ts.map +1 -1
- package/dist/component-abi/opaque-operation.js +36 -3
- package/dist/component-abi/opaque-operation.js.map +1 -1
- package/dist/component-abi/portal-receipt.js.map +1 -1
- package/dist/component-abi/receipt.d.ts +7 -0
- package/dist/component-abi/receipt.d.ts.map +1 -1
- package/dist/component-abi/receipt.js +9 -0
- package/dist/component-abi/receipt.js.map +1 -1
- package/dist/component-abi/runtime.js.map +1 -1
- package/dist/component-abi/server-child-range.js +1 -1
- package/dist/component-abi/server-child-range.js.map +1 -1
- package/dist/component-abi/server-keyed-child.js.map +1 -1
- package/dist/component-abi/server-runtime.js.map +1 -1
- package/dist/component-abi/server-structure-receipts.js.map +1 -1
- package/dist/component-abi/server.d.ts +2 -1
- package/dist/component-abi/server.d.ts.map +1 -1
- package/dist/component-abi/server.js.map +1 -1
- package/dist/component-abi/suspense-receipt.js.map +1 -1
- package/dist/component-abi/target-receipt.d.ts +23 -1
- package/dist/component-abi/target-receipt.d.ts.map +1 -1
- package/dist/component-abi/target-receipt.js +46 -5
- package/dist/component-abi/target-receipt.js.map +1 -1
- package/dist/component-abi/text-projection-markup.d.ts +16 -0
- package/dist/component-abi/text-projection-markup.d.ts.map +1 -0
- package/dist/component-abi/text-projection-markup.js +110 -0
- package/dist/component-abi/text-projection-markup.js.map +1 -0
- package/dist/component-abi/text-projection.d.ts +12 -0
- package/dist/component-abi/text-projection.d.ts.map +1 -0
- package/dist/component-abi/text-projection.js +79 -0
- package/dist/component-abi/text-projection.js.map +1 -0
- package/dist/component-abi/unsafe-html-receipt.js.map +1 -1
- package/dist/component-abi/value-serialization.js.map +1 -1
- package/dist/component-contract/boundary-validation.js.map +1 -1
- package/dist/component-contract/composition-support.js.map +1 -1
- package/dist/component-contract/continuation-validation.js.map +1 -1
- package/dist/component-contract/contract-cache.js.map +1 -1
- package/dist/component-contract/contract-validation.d.ts.map +1 -1
- package/dist/component-contract/contract-validation.js +5 -13
- package/dist/component-contract/contract-validation.js.map +1 -1
- package/dist/component-contract/metadata-validation.d.ts +4 -0
- package/dist/component-contract/metadata-validation.d.ts.map +1 -1
- package/dist/component-contract/metadata-validation.js +16 -0
- package/dist/component-contract/metadata-validation.js.map +1 -1
- package/dist/component-contract/server-execution-validation.js.map +1 -1
- package/dist/component-contracts.d.ts +4 -3
- package/dist/component-contracts.d.ts.map +1 -1
- package/dist/component-contracts.js +7 -1
- package/dist/component-contracts.js.map +1 -1
- package/dist/component-definition-contracts.js.map +1 -1
- package/dist/component-registry/contracts.js.map +1 -1
- package/dist/component-registry/creation.d.ts.map +1 -1
- package/dist/component-registry/creation.js +4 -3
- package/dist/component-registry/creation.js.map +1 -1
- package/dist/component-registry/errors.js.map +1 -1
- package/dist/component-registry/loading.js.map +1 -1
- package/dist/component-registry/operations.js.map +1 -1
- package/dist/component-registry/storage.js.map +1 -1
- package/dist/component-registry/syntax.js.map +1 -1
- package/dist/document/composition.d.ts +7 -0
- package/dist/document/composition.d.ts.map +1 -0
- package/dist/document/composition.js +52 -0
- package/dist/document/composition.js.map +1 -0
- package/dist/document/definition.d.ts +10 -0
- package/dist/document/definition.d.ts.map +1 -0
- package/dist/document/definition.js +3 -0
- package/dist/document/definition.js.map +1 -0
- package/dist/document/doctype.d.ts +17 -0
- package/dist/document/doctype.d.ts.map +1 -0
- package/dist/document/doctype.js +35 -0
- package/dist/document/doctype.js.map +1 -0
- package/dist/document/output.d.ts +22 -0
- package/dist/document/output.d.ts.map +1 -0
- package/dist/document/output.js +30 -0
- package/dist/document/output.js.map +1 -0
- package/dist/document.d.ts +6 -0
- package/dist/document.d.ts.map +1 -0
- package/dist/document.js +5 -0
- package/dist/document.js.map +1 -0
- package/dist/dynamic-component/contracts.js.map +1 -1
- package/dist/dynamic-component/creation.js.map +1 -1
- package/dist/dynamic-component/runtime.js.map +1 -1
- package/dist/enhancements.d.ts +2 -0
- package/dist/enhancements.d.ts.map +1 -1
- package/dist/enhancements.js +8 -4
- package/dist/enhancements.js.map +1 -1
- package/dist/framework/async-values.js.map +1 -1
- package/dist/framework/compatibility-contributions.js.map +1 -1
- package/dist/framework/component-contract-validation.js.map +1 -1
- package/dist/framework/component-contracts.js.map +1 -1
- package/dist/framework/component-domains.js.map +1 -1
- package/dist/framework/component-execution.js.map +1 -1
- package/dist/framework/component-lifecycle.js.map +1 -1
- package/dist/framework/component-roots.js.map +1 -1
- package/dist/framework/enhancement-catalog.js.map +1 -1
- package/dist/framework/enhancement-fallback.d.ts +12 -0
- package/dist/framework/enhancement-fallback.d.ts.map +1 -0
- package/dist/framework/enhancement-fallback.js +41 -0
- package/dist/framework/enhancement-fallback.js.map +1 -0
- package/dist/framework/enhancement-order.d.ts +9 -0
- package/dist/framework/enhancement-order.d.ts.map +1 -0
- package/dist/framework/enhancement-order.js +34 -0
- package/dist/framework/enhancement-order.js.map +1 -0
- package/dist/framework/error-format.js.map +1 -1
- package/dist/framework/error-view.js.map +1 -1
- package/dist/framework/fragment-enhancement-chain.d.ts +4 -0
- package/dist/framework/fragment-enhancement-chain.d.ts.map +1 -0
- package/dist/framework/fragment-enhancement-chain.js +28 -0
- package/dist/framework/fragment-enhancement-chain.js.map +1 -0
- package/dist/framework/fragment-hosts.d.ts +30 -0
- package/dist/framework/fragment-hosts.d.ts.map +1 -0
- package/dist/framework/fragment-hosts.js +65 -0
- package/dist/framework/fragment-hosts.js.map +1 -0
- package/dist/framework/fragment-target-projection.d.ts +8 -0
- package/dist/framework/fragment-target-projection.d.ts.map +1 -0
- package/dist/framework/fragment-target-projection.js +98 -0
- package/dist/framework/fragment-target-projection.js.map +1 -0
- package/dist/framework/inspection-transport.js.map +1 -1
- package/dist/framework/operation-protocol.js.map +1 -1
- package/dist/framework/prepared-target-output.d.ts +11 -0
- package/dist/framework/prepared-target-output.d.ts.map +1 -0
- package/dist/framework/prepared-target-output.js +51 -0
- package/dist/framework/prepared-target-output.js.map +1 -0
- package/dist/framework/protocol-records.js.map +1 -1
- package/dist/framework/publication.js.map +1 -1
- package/dist/framework/render-structure.d.ts +10 -0
- package/dist/framework/render-structure.d.ts.map +1 -1
- package/dist/framework/render-structure.js +10 -0
- package/dist/framework/render-structure.js.map +1 -1
- package/dist/framework/server-component-contexts.js.map +1 -1
- package/dist/framework/server-component-execution.js.map +1 -1
- package/dist/framework/server-render-structure.js.map +1 -1
- package/dist/framework/server-task-helpers.d.ts +1 -0
- package/dist/framework/server-task-helpers.d.ts.map +1 -1
- package/dist/framework/server-task-helpers.js +1 -0
- package/dist/framework/server-task-helpers.js.map +1 -1
- package/dist/framework/supplied-placement.d.ts +8 -0
- package/dist/framework/supplied-placement.d.ts.map +1 -0
- package/dist/framework/supplied-placement.js +80 -0
- package/dist/framework/supplied-placement.js.map +1 -0
- package/dist/framework/target-contributions.d.ts +2 -0
- package/dist/framework/target-contributions.d.ts.map +1 -1
- package/dist/framework/target-contributions.js +38 -0
- package/dist/framework/target-contributions.js.map +1 -1
- package/dist/framework/task-frames.js.map +1 -1
- package/dist/framework/text-target-output.d.ts +6 -0
- package/dist/framework/text-target-output.d.ts.map +1 -0
- package/dist/framework/text-target-output.js +14 -0
- package/dist/framework/text-target-output.js.map +1 -0
- package/dist/hydration-boundary.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/inspection-transport.js.map +1 -1
- package/dist/interaction/execution.js.map +1 -1
- package/dist/json.js.map +1 -1
- package/dist/keys.js.map +1 -1
- package/dist/localization/component-integration.js.map +1 -1
- package/dist/localization/context.js.map +1 -1
- package/dist/localization/contracts.js.map +1 -1
- package/dist/localization/facade.js.map +1 -1
- package/dist/localization/formatter-pool.js.map +1 -1
- package/dist/localization.js.map +1 -1
- package/dist/logging.js.map +1 -1
- package/dist/native-props.js.map +1 -1
- package/dist/protocol-utf8.js.map +1 -1
- package/dist/protocol.js.map +1 -1
- package/dist/render-children.js.map +1 -1
- package/dist/render-program.d.ts +4 -1
- package/dist/render-program.d.ts.map +1 -1
- package/dist/render-program.js +1 -1
- package/dist/render-program.js.map +1 -1
- package/dist/runtime/collections.js.map +1 -1
- package/dist/runtime/compatibility-component-abi.js.map +1 -1
- package/dist/runtime/component-abi.d.ts +3 -3
- package/dist/runtime/component-abi.d.ts.map +1 -1
- package/dist/runtime/component-abi.js +3 -3
- package/dist/runtime/component-abi.js.map +1 -1
- package/dist/runtime/component-construction/direct-server.js.map +1 -1
- package/dist/runtime/component-construction/durable.js.map +1 -1
- package/dist/runtime/component-construction/render.js.map +1 -1
- package/dist/runtime/component-construction/task.js.map +1 -1
- package/dist/runtime/component-execution.js.map +1 -1
- package/dist/runtime/component-operations.d.ts +3 -0
- package/dist/runtime/component-operations.d.ts.map +1 -1
- package/dist/runtime/component-operations.js +3 -0
- package/dist/runtime/component-operations.js.map +1 -1
- package/dist/runtime/component-reactivity.js.map +1 -1
- package/dist/runtime/component-tasks.js.map +1 -1
- package/dist/runtime/contexts.js.map +1 -1
- package/dist/runtime/dynamic-components.js.map +1 -1
- package/dist/runtime/enhancements.js.map +1 -1
- package/dist/runtime/inspection.js.map +1 -1
- package/dist/runtime/lifecycle.js.map +1 -1
- package/dist/runtime/lists.js.map +1 -1
- package/dist/runtime/localization.js.map +1 -1
- package/dist/runtime/logging.js.map +1 -1
- package/dist/runtime/reactivity.js.map +1 -1
- package/dist/runtime/refs.js.map +1 -1
- package/dist/runtime/registry.js.map +1 -1
- package/dist/runtime/render-operations.js.map +1 -1
- package/dist/runtime/render.js.map +1 -1
- package/dist/runtime/tasks.js.map +1 -1
- package/dist/server/activity.js.map +1 -1
- package/dist/server/children/composition.d.ts +34 -0
- package/dist/server/children/composition.d.ts.map +1 -0
- package/dist/server/children/composition.js +74 -0
- package/dist/server/children/composition.js.map +1 -0
- package/dist/server/children.d.ts +4 -0
- package/dist/server/children.d.ts.map +1 -0
- package/dist/server/children.js +3 -0
- package/dist/server/children.js.map +1 -0
- package/dist/server/class-values.js.map +1 -1
- package/dist/server/cleanup.js.map +1 -1
- package/dist/server/component/async-value.js.map +1 -1
- package/dist/server/component/async.js.map +1 -1
- package/dist/server/component/authorization.js.map +1 -1
- package/dist/server/component/compact-instance.js.map +1 -1
- package/dist/server/component/compiled-abi.js.map +1 -1
- package/dist/server/component/compiled-output.js.map +1 -1
- package/dist/server/component/construction.js.map +1 -1
- package/dist/server/component/context-api.js.map +1 -1
- package/dist/server/component/context-capability-integration.js.map +1 -1
- package/dist/server/component/context-capability.js.map +1 -1
- package/dist/server/component/context-inspection.js.map +1 -1
- package/dist/server/component/context-resumption.js.map +1 -1
- package/dist/server/component/contexts.js.map +1 -1
- package/dist/server/component/contract-versions.d.ts +2 -2
- package/dist/server/component/contract-versions.js +2 -2
- package/dist/server/component/contract-versions.js.map +1 -1
- package/dist/server/component/contracts.d.ts +4 -2
- package/dist/server/component/contracts.d.ts.map +1 -1
- package/dist/server/component/contracts.js.map +1 -1
- package/dist/server/component/default-logger.js.map +1 -1
- package/dist/server/component/derived.js.map +1 -1
- package/dist/server/component/direct-server-context-api.js.map +1 -1
- package/dist/server/component/direct-server-instance-construction.js.map +1 -1
- package/dist/server/component/domain.d.ts +2 -0
- package/dist/server/component/domain.d.ts.map +1 -1
- package/dist/server/component/domain.js +4 -0
- package/dist/server/component/domain.js.map +1 -1
- package/dist/server/component/durable-instance-construction.js.map +1 -1
- package/dist/server/component/element-identity.js.map +1 -1
- package/dist/server/component/error-boundary.js +2 -2
- package/dist/server/component/error-boundary.js.map +1 -1
- package/dist/server/component/error-view.js.map +1 -1
- package/dist/server/component/errors.js.map +1 -1
- package/dist/server/component/input-observation.js.map +1 -1
- package/dist/server/component/inspection-source.js.map +1 -1
- package/dist/server/component/inspection.js.map +1 -1
- package/dist/server/component/instance-construction.js.map +1 -1
- package/dist/server/component/instance-identity.js.map +1 -1
- package/dist/server/component/interaction-contracts.js.map +1 -1
- package/dist/server/component/lifecycle-handlers.js.map +1 -1
- package/dist/server/component/list-capability-integration.js.map +1 -1
- package/dist/server/component/list-capability.js.map +1 -1
- package/dist/server/component/list-controller.js.map +1 -1
- package/dist/server/component/localization-capability.js.map +1 -1
- package/dist/server/component/log.js.map +1 -1
- package/dist/server/component/logical-owner.d.ts.map +1 -1
- package/dist/server/component/logical-owner.js +3 -2
- package/dist/server/component/logical-owner.js.map +1 -1
- package/dist/server/component/ownership.js.map +1 -1
- package/dist/server/component/performance-trace.js.map +1 -1
- package/dist/server/component/plugins.js.map +1 -1
- package/dist/server/component/reactive-expression.js.map +1 -1
- package/dist/server/component/reactive-expressions.d.ts.map +1 -1
- package/dist/server/component/reactive-expressions.js +3 -2
- package/dist/server/component/reactive-expressions.js.map +1 -1
- package/dist/server/component/reactive-value.js.map +1 -1
- package/dist/server/component/readiness.js.map +1 -1
- package/dist/server/component/ref-capability-integration.js.map +1 -1
- package/dist/server/component/ref-capability.js.map +1 -1
- package/dist/server/component/ref-runtime.js.map +1 -1
- package/dist/server/component/render-instance-construction.js.map +1 -1
- package/dist/server/component/render-instance.js.map +1 -1
- package/dist/server/component/render.js.map +1 -1
- package/dist/server/component/resource-ownership.js.map +1 -1
- package/dist/server/component/resumption.js.map +1 -1
- package/dist/server/component/root-lifecycle.js.map +1 -1
- package/dist/server/component/runtime-construction.js.map +1 -1
- package/dist/server/component/runtime-surface-contexts.js.map +1 -1
- package/dist/server/component/runtime-surface-lifecycle.js.map +1 -1
- package/dist/server/component/runtime-surface-lists.js.map +1 -1
- package/dist/server/component/runtime-surface-localization.js.map +1 -1
- package/dist/server/component/runtime-surface-logging.js.map +1 -1
- package/dist/server/component/runtime-surface-reactivity.js.map +1 -1
- package/dist/server/component/runtime-surface-refs.js.map +1 -1
- package/dist/server/component/runtime-surface-registration.js.map +1 -1
- package/dist/server/component/runtime-surface.js.map +1 -1
- package/dist/server/component/runtime.d.ts +3 -0
- package/dist/server/component/runtime.d.ts.map +1 -1
- package/dist/server/component/runtime.js +32 -6
- package/dist/server/component/runtime.js.map +1 -1
- package/dist/server/component/state.js.map +1 -1
- package/dist/server/component/task-capability-integration.js +1 -0
- package/dist/server/component/task-capability-integration.js.map +1 -1
- package/dist/server/component/task-capability.js.map +1 -1
- package/dist/server/component/task-inspection-history.js.map +1 -1
- package/dist/server/component/task-instance-construction.js.map +1 -1
- package/dist/server/component/task-instance.js.map +1 -1
- package/dist/server/component/task-observer.js.map +1 -1
- package/dist/server/component/task-owner-integration.js.map +1 -1
- package/dist/server/component/value-contracts.js.map +1 -1
- package/dist/server/component-abi/activity-receipt.js.map +1 -1
- package/dist/server/component-abi/artifact.js.map +1 -1
- package/dist/server/component-abi/child-range-receipt.js.map +1 -1
- package/dist/server/component-abi/client.d.ts +2 -1
- package/dist/server/component-abi/client.d.ts.map +1 -1
- package/dist/server/component-abi/client.js.map +1 -1
- package/dist/server/component-abi/compatibility-contribution.js.map +1 -1
- package/dist/server/component-abi/compiled-child-range.d.ts.map +1 -1
- package/dist/server/component-abi/compiled-child-range.js +6 -1
- package/dist/server/component-abi/compiled-child-range.js.map +1 -1
- package/dist/server/component-abi/compiled-runtime.js.map +1 -1
- package/dist/server/component-abi/executable-fields.js.map +1 -1
- package/dist/server/component-abi/fragment-receipt.d.ts +20 -0
- package/dist/server/component-abi/fragment-receipt.d.ts.map +1 -1
- package/dist/server/component-abi/fragment-receipt.js +35 -5
- package/dist/server/component-abi/fragment-receipt.js.map +1 -1
- package/dist/server/component-abi/intrinsic-receipt.d.ts +10 -0
- package/dist/server/component-abi/intrinsic-receipt.d.ts.map +1 -1
- package/dist/server/component-abi/intrinsic-receipt.js +44 -6
- package/dist/server/component-abi/intrinsic-receipt.js.map +1 -1
- package/dist/server/component-abi/keyed-child-receipt.js.map +1 -1
- package/dist/server/component-abi/opaque-operation.d.ts.map +1 -1
- package/dist/server/component-abi/opaque-operation.js +36 -3
- package/dist/server/component-abi/opaque-operation.js.map +1 -1
- package/dist/server/component-abi/portal-receipt.js.map +1 -1
- package/dist/server/component-abi/receipt.d.ts +7 -0
- package/dist/server/component-abi/receipt.d.ts.map +1 -1
- package/dist/server/component-abi/receipt.js +9 -0
- package/dist/server/component-abi/receipt.js.map +1 -1
- package/dist/server/component-abi/runtime.js.map +1 -1
- package/dist/server/component-abi/server-child-range.js +1 -1
- package/dist/server/component-abi/server-child-range.js.map +1 -1
- package/dist/server/component-abi/server-keyed-child.js.map +1 -1
- package/dist/server/component-abi/server-runtime.js.map +1 -1
- package/dist/server/component-abi/server-structure-receipts.js.map +1 -1
- package/dist/server/component-abi/server.d.ts +2 -1
- package/dist/server/component-abi/server.d.ts.map +1 -1
- package/dist/server/component-abi/server.js.map +1 -1
- package/dist/server/component-abi/suspense-receipt.js.map +1 -1
- package/dist/server/component-abi/target-receipt.d.ts +23 -1
- package/dist/server/component-abi/target-receipt.d.ts.map +1 -1
- package/dist/server/component-abi/target-receipt.js +46 -5
- package/dist/server/component-abi/target-receipt.js.map +1 -1
- package/dist/server/component-abi/text-projection-markup.d.ts +16 -0
- package/dist/server/component-abi/text-projection-markup.d.ts.map +1 -0
- package/dist/server/component-abi/text-projection-markup.js +110 -0
- package/dist/server/component-abi/text-projection-markup.js.map +1 -0
- package/dist/server/component-abi/text-projection.d.ts +12 -0
- package/dist/server/component-abi/text-projection.d.ts.map +1 -0
- package/dist/server/component-abi/text-projection.js +79 -0
- package/dist/server/component-abi/text-projection.js.map +1 -0
- package/dist/server/component-abi/unsafe-html-receipt.js.map +1 -1
- package/dist/server/component-abi/value-serialization.js.map +1 -1
- package/dist/server/component-contract/boundary-validation.js.map +1 -1
- package/dist/server/component-contract/composition-support.js.map +1 -1
- package/dist/server/component-contract/continuation-validation.js.map +1 -1
- package/dist/server/component-contract/contract-cache.js.map +1 -1
- package/dist/server/component-contract/contract-validation.d.ts.map +1 -1
- package/dist/server/component-contract/contract-validation.js +5 -13
- package/dist/server/component-contract/contract-validation.js.map +1 -1
- package/dist/server/component-contract/metadata-validation.d.ts +4 -0
- package/dist/server/component-contract/metadata-validation.d.ts.map +1 -1
- package/dist/server/component-contract/metadata-validation.js +16 -0
- package/dist/server/component-contract/metadata-validation.js.map +1 -1
- package/dist/server/component-contract/server-execution-validation.js.map +1 -1
- package/dist/server/component-contracts.d.ts +4 -3
- package/dist/server/component-contracts.d.ts.map +1 -1
- package/dist/server/component-contracts.js +7 -1
- package/dist/server/component-contracts.js.map +1 -1
- package/dist/server/component-definition-contracts.js.map +1 -1
- package/dist/server/component-registry/contracts.js.map +1 -1
- package/dist/server/component-registry/creation.d.ts.map +1 -1
- package/dist/server/component-registry/creation.js +4 -3
- package/dist/server/component-registry/creation.js.map +1 -1
- package/dist/server/component-registry/errors.js.map +1 -1
- package/dist/server/component-registry/loading.js.map +1 -1
- package/dist/server/component-registry/operations.js.map +1 -1
- package/dist/server/component-registry/storage.js.map +1 -1
- package/dist/server/component-registry/syntax.js.map +1 -1
- package/dist/server/document/composition.d.ts +7 -0
- package/dist/server/document/composition.d.ts.map +1 -0
- package/dist/server/document/composition.js +52 -0
- package/dist/server/document/composition.js.map +1 -0
- package/dist/server/document/definition.d.ts +10 -0
- package/dist/server/document/definition.d.ts.map +1 -0
- package/dist/server/document/definition.js +3 -0
- package/dist/server/document/definition.js.map +1 -0
- package/dist/server/document/doctype.d.ts +17 -0
- package/dist/server/document/doctype.d.ts.map +1 -0
- package/dist/server/document/doctype.js +35 -0
- package/dist/server/document/doctype.js.map +1 -0
- package/dist/server/document/output.d.ts +22 -0
- package/dist/server/document/output.d.ts.map +1 -0
- package/dist/server/document/output.js +30 -0
- package/dist/server/document/output.js.map +1 -0
- package/dist/server/document.d.ts +6 -0
- package/dist/server/document.d.ts.map +1 -0
- package/dist/server/document.js +5 -0
- package/dist/server/document.js.map +1 -0
- package/dist/server/dynamic-component/contracts.js.map +1 -1
- package/dist/server/dynamic-component/creation.js.map +1 -1
- package/dist/server/dynamic-component/runtime.js.map +1 -1
- package/dist/server/enhancements.d.ts +2 -0
- package/dist/server/enhancements.d.ts.map +1 -1
- package/dist/server/enhancements.js +8 -4
- package/dist/server/enhancements.js.map +1 -1
- package/dist/server/framework/async-values.js.map +1 -1
- package/dist/server/framework/compatibility-contributions.js.map +1 -1
- package/dist/server/framework/component-contract-validation.js.map +1 -1
- package/dist/server/framework/component-contracts.js.map +1 -1
- package/dist/server/framework/component-domains.js.map +1 -1
- package/dist/server/framework/component-execution.js.map +1 -1
- package/dist/server/framework/component-lifecycle.js.map +1 -1
- package/dist/server/framework/component-roots.js.map +1 -1
- package/dist/server/framework/enhancement-catalog.js.map +1 -1
- package/dist/server/framework/enhancement-fallback.d.ts +12 -0
- package/dist/server/framework/enhancement-fallback.d.ts.map +1 -0
- package/dist/server/framework/enhancement-fallback.js +41 -0
- package/dist/server/framework/enhancement-fallback.js.map +1 -0
- package/dist/server/framework/enhancement-order.d.ts +9 -0
- package/dist/server/framework/enhancement-order.d.ts.map +1 -0
- package/dist/server/framework/enhancement-order.js +34 -0
- package/dist/server/framework/enhancement-order.js.map +1 -0
- package/dist/server/framework/error-format.js.map +1 -1
- package/dist/server/framework/error-view.js.map +1 -1
- package/dist/server/framework/fragment-enhancement-chain.d.ts +4 -0
- package/dist/server/framework/fragment-enhancement-chain.d.ts.map +1 -0
- package/dist/server/framework/fragment-enhancement-chain.js +28 -0
- package/dist/server/framework/fragment-enhancement-chain.js.map +1 -0
- package/dist/server/framework/fragment-hosts.d.ts +30 -0
- package/dist/server/framework/fragment-hosts.d.ts.map +1 -0
- package/dist/server/framework/fragment-hosts.js +65 -0
- package/dist/server/framework/fragment-hosts.js.map +1 -0
- package/dist/server/framework/fragment-target-projection.d.ts +8 -0
- package/dist/server/framework/fragment-target-projection.d.ts.map +1 -0
- package/dist/server/framework/fragment-target-projection.js +98 -0
- package/dist/server/framework/fragment-target-projection.js.map +1 -0
- package/dist/server/framework/inspection-transport.js.map +1 -1
- package/dist/server/framework/operation-protocol.js.map +1 -1
- package/dist/server/framework/prepared-target-output.d.ts +11 -0
- package/dist/server/framework/prepared-target-output.d.ts.map +1 -0
- package/dist/server/framework/prepared-target-output.js +51 -0
- package/dist/server/framework/prepared-target-output.js.map +1 -0
- package/dist/server/framework/protocol-records.js.map +1 -1
- package/dist/server/framework/publication.js.map +1 -1
- package/dist/server/framework/render-structure.d.ts +10 -0
- package/dist/server/framework/render-structure.d.ts.map +1 -1
- package/dist/server/framework/render-structure.js +10 -0
- package/dist/server/framework/render-structure.js.map +1 -1
- package/dist/server/framework/server-component-contexts.js.map +1 -1
- package/dist/server/framework/server-component-execution.js.map +1 -1
- package/dist/server/framework/server-render-structure.js.map +1 -1
- package/dist/server/framework/server-task-helpers.d.ts +1 -0
- package/dist/server/framework/server-task-helpers.d.ts.map +1 -1
- package/dist/server/framework/server-task-helpers.js +1 -0
- package/dist/server/framework/server-task-helpers.js.map +1 -1
- package/dist/server/framework/supplied-placement.d.ts +8 -0
- package/dist/server/framework/supplied-placement.d.ts.map +1 -0
- package/dist/server/framework/supplied-placement.js +80 -0
- package/dist/server/framework/supplied-placement.js.map +1 -0
- package/dist/server/framework/target-contributions.d.ts +2 -0
- package/dist/server/framework/target-contributions.d.ts.map +1 -1
- package/dist/server/framework/target-contributions.js +38 -0
- package/dist/server/framework/target-contributions.js.map +1 -1
- package/dist/server/framework/task-frames.js.map +1 -1
- package/dist/server/framework/text-target-output.d.ts +6 -0
- package/dist/server/framework/text-target-output.d.ts.map +1 -0
- package/dist/server/framework/text-target-output.js +14 -0
- package/dist/server/framework/text-target-output.js.map +1 -0
- package/dist/server/hydration-boundary.js.map +1 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/inspection-transport.js.map +1 -1
- package/dist/server/interaction/execution.js.map +1 -1
- package/dist/server/json.js.map +1 -1
- package/dist/server/keys.js.map +1 -1
- package/dist/server/localization/component-integration.js.map +1 -1
- package/dist/server/localization/context.js.map +1 -1
- package/dist/server/localization/contracts.js.map +1 -1
- package/dist/server/localization/facade.js.map +1 -1
- package/dist/server/localization/formatter-pool.js.map +1 -1
- package/dist/server/localization.js.map +1 -1
- package/dist/server/logging.js.map +1 -1
- package/dist/server/native-props.js.map +1 -1
- package/dist/server/protocol-utf8.js.map +1 -1
- package/dist/server/protocol.js.map +1 -1
- package/dist/server/render-children.js.map +1 -1
- package/dist/server/render-program.d.ts +4 -1
- package/dist/server/render-program.d.ts.map +1 -1
- package/dist/server/render-program.js +1 -1
- package/dist/server/render-program.js.map +1 -1
- package/dist/server/runtime/collections.js.map +1 -1
- package/dist/server/runtime/compatibility-component-abi.js.map +1 -1
- package/dist/server/runtime/component-abi.d.ts +3 -3
- package/dist/server/runtime/component-abi.d.ts.map +1 -1
- package/dist/server/runtime/component-abi.js +3 -3
- package/dist/server/runtime/component-abi.js.map +1 -1
- package/dist/server/runtime/component-construction/direct-server.js.map +1 -1
- package/dist/server/runtime/component-construction/durable.js.map +1 -1
- package/dist/server/runtime/component-construction/render.js.map +1 -1
- package/dist/server/runtime/component-construction/task.js.map +1 -1
- package/dist/server/runtime/component-execution.js.map +1 -1
- package/dist/server/runtime/component-operations.d.ts +3 -0
- package/dist/server/runtime/component-operations.d.ts.map +1 -1
- package/dist/server/runtime/component-operations.js +3 -0
- package/dist/server/runtime/component-operations.js.map +1 -1
- package/dist/server/runtime/component-reactivity.js.map +1 -1
- package/dist/server/runtime/component-tasks.js.map +1 -1
- package/dist/server/runtime/contexts.js.map +1 -1
- package/dist/server/runtime/dynamic-components.js.map +1 -1
- package/dist/server/runtime/enhancements.js.map +1 -1
- package/dist/server/runtime/inspection.js.map +1 -1
- package/dist/server/runtime/lifecycle.js.map +1 -1
- package/dist/server/runtime/lists.js.map +1 -1
- package/dist/server/runtime/localization.js.map +1 -1
- package/dist/server/runtime/logging.js.map +1 -1
- package/dist/server/runtime/reactivity.js.map +1 -1
- package/dist/server/runtime/refs.js.map +1 -1
- package/dist/server/runtime/registry.js.map +1 -1
- package/dist/server/runtime/render-operations.js.map +1 -1
- package/dist/server/runtime/render.js.map +1 -1
- package/dist/server/runtime/tasks.js.map +1 -1
- package/dist/server/server-render-program.js.map +1 -1
- package/dist/server/ssr-independence.js.map +1 -1
- package/dist/server/symbols.js.map +1 -1
- package/dist/server/tasks/activation.js.map +1 -1
- package/dist/server/tasks/cancellation.js.map +1 -1
- package/dist/server/tasks/compiled-latest.js.map +1 -1
- package/dist/server/tasks/component-continuation.js.map +1 -1
- package/dist/server/tasks/component-execution-capability.js.map +1 -1
- package/dist/server/tasks/component-execution-plan.js.map +1 -1
- package/dist/server/tasks/component-execution-slice.js.map +1 -1
- package/dist/server/tasks/component-execution.js.map +1 -1
- package/dist/server/tasks/computation-activation.js.map +1 -1
- package/dist/server/tasks/continuations.js.map +1 -1
- package/dist/server/tasks/contracts.js.map +1 -1
- package/dist/server/tasks/definition-record.js.map +1 -1
- package/dist/server/tasks/dependency-provenance.js.map +1 -1
- package/dist/server/tasks/dependency-source.js.map +1 -1
- package/dist/server/tasks/dependency-watcher.js.map +1 -1
- package/dist/server/tasks/frame-context.js.map +1 -1
- package/dist/server/tasks/frame-continuation.js.map +1 -1
- package/dist/server/tasks/frame-contracts.js.map +1 -1
- package/dist/server/tasks/frame-inspection-capability.js.map +1 -1
- package/dist/server/tasks/frame-inspection.js.map +1 -1
- package/dist/server/tasks/frame-runtime.js.map +1 -1
- package/dist/server/tasks/frame-settlement.js.map +1 -1
- package/dist/server/tasks/generation-execution.js.map +1 -1
- package/dist/server/tasks/invocation.js.map +1 -1
- package/dist/server/tasks/observers.js.map +1 -1
- package/dist/server/tasks/optimism.js.map +1 -1
- package/dist/server/tasks/options.js.map +1 -1
- package/dist/server/tasks/owner-activations.js.map +1 -1
- package/dist/server/tasks/owner-hosts.js.map +1 -1
- package/dist/server/tasks/owner-record.js.map +1 -1
- package/dist/server/tasks/owners.js.map +1 -1
- package/dist/server/tasks/performance-trace.js.map +1 -1
- package/dist/server/tasks/policy.js.map +1 -1
- package/dist/server/tasks/priority.js.map +1 -1
- package/dist/server/tasks/public.js.map +1 -1
- package/dist/server/tasks/resources.js.map +1 -1
- package/dist/server/tasks/runtime-types.js.map +1 -1
- package/dist/server/tasks/runtime.js.map +1 -1
- package/dist/server/tasks/scheduled-reactions.js.map +1 -1
- package/dist/server/tasks/server-component-execution-contracts.js.map +1 -1
- package/dist/server/tasks/server-component-execution.d.ts +3 -0
- package/dist/server/tasks/server-component-execution.d.ts.map +1 -1
- package/dist/server/tasks/server-component-execution.js +16 -46
- package/dist/server/tasks/server-component-execution.js.map +1 -1
- package/dist/server/tasks/server-component-resources.js.map +1 -1
- package/dist/server/tasks/server-component-task-slice.d.ts +5 -0
- package/dist/server/tasks/server-component-task-slice.d.ts.map +1 -0
- package/dist/server/tasks/server-component-task-slice.js +56 -0
- package/dist/server/tasks/server-component-task-slice.js.map +1 -0
- package/dist/server/tasks/server-component-task-tree.d.ts +9 -0
- package/dist/server/tasks/server-component-task-tree.d.ts.map +1 -0
- package/dist/server/tasks/server-component-task-tree.js +38 -0
- package/dist/server/tasks/server-component-task-tree.js.map +1 -0
- package/dist/server/tasks/server-task-readiness.js.map +1 -1
- package/dist/server/tasks/signals.js.map +1 -1
- package/dist/server/tasks/status.js.map +1 -1
- package/dist/server/tasks/v1.js.map +1 -1
- package/dist/server/testing/runtime-artifacts.d.ts.map +1 -1
- package/dist/server/testing/runtime-artifacts.js +4 -3
- package/dist/server/testing/runtime-artifacts.js.map +1 -1
- package/dist/server/testing/runtime.d.ts.map +1 -1
- package/dist/server/testing/runtime.js +4 -2
- package/dist/server/testing/runtime.js.map +1 -1
- package/dist/server/testing.js.map +1 -1
- package/dist/server/url.js.map +1 -1
- package/dist/server-render-program.js.map +1 -1
- package/dist/ssr-independence.js.map +1 -1
- package/dist/symbols.js.map +1 -1
- package/dist/tasks/activation.js.map +1 -1
- package/dist/tasks/cancellation.js.map +1 -1
- package/dist/tasks/compiled-latest.js.map +1 -1
- package/dist/tasks/component-continuation.js.map +1 -1
- package/dist/tasks/component-execution-capability.js.map +1 -1
- package/dist/tasks/component-execution-plan.js.map +1 -1
- package/dist/tasks/component-execution-slice.js.map +1 -1
- package/dist/tasks/component-execution.js.map +1 -1
- package/dist/tasks/computation-activation.js.map +1 -1
- package/dist/tasks/continuations.js.map +1 -1
- package/dist/tasks/contracts.js.map +1 -1
- package/dist/tasks/definition-record.js.map +1 -1
- package/dist/tasks/dependency-provenance.js.map +1 -1
- package/dist/tasks/dependency-source.js.map +1 -1
- package/dist/tasks/dependency-watcher.js.map +1 -1
- package/dist/tasks/frame-context.js.map +1 -1
- package/dist/tasks/frame-continuation.js.map +1 -1
- package/dist/tasks/frame-contracts.js.map +1 -1
- package/dist/tasks/frame-inspection-capability.js.map +1 -1
- package/dist/tasks/frame-inspection.js.map +1 -1
- package/dist/tasks/frame-runtime.js.map +1 -1
- package/dist/tasks/frame-settlement.js.map +1 -1
- package/dist/tasks/generation-execution.js.map +1 -1
- package/dist/tasks/invocation.js.map +1 -1
- package/dist/tasks/observers.js.map +1 -1
- package/dist/tasks/optimism.js.map +1 -1
- package/dist/tasks/options.js.map +1 -1
- package/dist/tasks/owner-activations.js.map +1 -1
- package/dist/tasks/owner-hosts.js.map +1 -1
- package/dist/tasks/owner-record.js.map +1 -1
- package/dist/tasks/owners.js.map +1 -1
- package/dist/tasks/performance-trace.js.map +1 -1
- package/dist/tasks/policy.js.map +1 -1
- package/dist/tasks/priority.js.map +1 -1
- package/dist/tasks/public.js.map +1 -1
- package/dist/tasks/resources.js.map +1 -1
- package/dist/tasks/runtime-types.js.map +1 -1
- package/dist/tasks/runtime.js.map +1 -1
- package/dist/tasks/scheduled-reactions.js.map +1 -1
- package/dist/tasks/server-component-execution-contracts.js.map +1 -1
- package/dist/tasks/server-component-execution.d.ts +3 -0
- package/dist/tasks/server-component-execution.d.ts.map +1 -1
- package/dist/tasks/server-component-execution.js +16 -46
- package/dist/tasks/server-component-execution.js.map +1 -1
- package/dist/tasks/server-component-resources.js.map +1 -1
- package/dist/tasks/server-component-task-slice.d.ts +5 -0
- package/dist/tasks/server-component-task-slice.d.ts.map +1 -0
- package/dist/tasks/server-component-task-slice.js +56 -0
- package/dist/tasks/server-component-task-slice.js.map +1 -0
- package/dist/tasks/server-component-task-tree.d.ts +9 -0
- package/dist/tasks/server-component-task-tree.d.ts.map +1 -0
- package/dist/tasks/server-component-task-tree.js +38 -0
- package/dist/tasks/server-component-task-tree.js.map +1 -0
- package/dist/tasks/server-task-readiness.js.map +1 -1
- package/dist/tasks/signals.js.map +1 -1
- package/dist/tasks/status.js.map +1 -1
- package/dist/tasks/v1.js.map +1 -1
- package/dist/testing/runtime-artifacts.d.ts.map +1 -1
- package/dist/testing/runtime-artifacts.js +4 -3
- package/dist/testing/runtime-artifacts.js.map +1 -1
- package/dist/testing/runtime.d.ts.map +1 -1
- package/dist/testing/runtime.js +4 -2
- package/dist/testing/runtime.js.map +1 -1
- package/dist/testing.js.map +1 -1
- package/dist/url.js.map +1 -1
- package/package.json +12 -2
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { readExactEnhancementContexts } from '../enhancements.js';
|
|
2
|
+
/**
|
|
3
|
+
* Validates source-ordered peers before constructing any owner. Providers in the same chain must
|
|
4
|
+
* precede their consumers; a conflict cannot be repaired by changing authored wrapper nesting.
|
|
5
|
+
* External providers remain the ordinary context resolver's responsibility. Cost is linear in
|
|
6
|
+
* entries and declared context effects, without constructing a dependency graph.
|
|
7
|
+
*/
|
|
8
|
+
export function assertEnhancementSourceOrder(entries, catalog) {
|
|
9
|
+
if (entries.length < 2) {
|
|
10
|
+
if (entries.length && !catalog.has(entries[0].identity))
|
|
11
|
+
throw new Error(`Enhancement is unavailable: ${entries[0].identity}`);
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const firstProvider = new Map();
|
|
15
|
+
const contracts = entries.map((entry, index) => {
|
|
16
|
+
const component = catalog.get(entry.identity);
|
|
17
|
+
if (!component)
|
|
18
|
+
throw new Error(`Enhancement is unavailable: ${entry.identity}`);
|
|
19
|
+
const contract = readExactEnhancementContexts(component);
|
|
20
|
+
for (const token of contract?.provides ?? []) {
|
|
21
|
+
if (!firstProvider.has(token))
|
|
22
|
+
firstProvider.set(token, { index, identity: entry.identity });
|
|
23
|
+
}
|
|
24
|
+
return contract;
|
|
25
|
+
});
|
|
26
|
+
for (let index = 0; index < entries.length; index++) {
|
|
27
|
+
for (const token of contracts[index]?.requires ?? []) {
|
|
28
|
+
const provider = firstProvider.get(token);
|
|
29
|
+
if (provider && provider.index > index)
|
|
30
|
+
throw new Error(`Enhancement source order conflict: ${entries[index].identity} requires context from later provider ${provider.identity}`);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=enhancement-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhancement-order.js","sourceRoot":"","sources":["../../../src/framework/enhancement-order.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAElE;;;;;GAKG;AACH,MAAM,UAAU,4BAA4B,CAC3C,OAAoC,EACpC,OAAkD;IAElD,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,IAAI,OAAO,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAE,CAAC,QAAQ,CAAC;YACvD,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,CAAC,CAAC,CAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxE,OAAO;IACR,CAAC;IACD,MAAM,aAAa,GAAG,IAAI,GAAG,EAA+C,CAAC;IAC7E,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QAC9C,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC9C,IAAI,CAAC,SAAS;YAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QACjF,MAAM,QAAQ,GAAG,4BAA4B,CAAC,SAAS,CAAC,CAAC;QACzD,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE,QAAQ,IAAI,EAAE,EAAE,CAAC;YAC9C,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC;gBAAE,aAAa,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC9F,CAAC;QACD,OAAO,QAAQ,CAAC;IACjB,CAAC,CAAC,CAAC;IACH,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACrD,KAAK,MAAM,KAAK,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,QAAQ,IAAI,EAAE,EAAE,CAAC;YACtD,MAAM,QAAQ,GAAG,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAC1C,IAAI,QAAQ,IAAI,QAAQ,CAAC,KAAK,GAAG,KAAK;gBACrC,MAAM,IAAI,KAAK,CACd,sCAAsC,OAAO,CAAC,KAAK,CAAE,CAAC,QAAQ,yCAAyC,QAAQ,CAAC,QAAQ,EAAE,CAC1H,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC","sourcesContent":["import type { AnyComponentFunction, EnhancementEntry } from '../component/contracts.js';\nimport { readExactEnhancementContexts } from '../enhancements.js';\n\n/**\n * Validates source-ordered peers before constructing any owner. Providers in the same chain must\n * precede their consumers; a conflict cannot be repaired by changing authored wrapper nesting.\n * External providers remain the ordinary context resolver's responsibility. Cost is linear in\n * entries and declared context effects, without constructing a dependency graph.\n */\nexport function assertEnhancementSourceOrder(\n\tentries: readonly EnhancementEntry[],\n\tcatalog: ReadonlyMap<string, AnyComponentFunction>\n): void {\n\tif (entries.length < 2) {\n\t\tif (entries.length && !catalog.has(entries[0]!.identity))\n\t\t\tthrow new Error(`Enhancement is unavailable: ${entries[0]!.identity}`);\n\t\treturn;\n\t}\n\tconst firstProvider = new Map<symbol, { index: number; identity: string }>();\n\tconst contracts = entries.map((entry, index) => {\n\t\tconst component = catalog.get(entry.identity);\n\t\tif (!component) throw new Error(`Enhancement is unavailable: ${entry.identity}`);\n\t\tconst contract = readExactEnhancementContexts(component);\n\t\tfor (const token of contract?.provides ?? []) {\n\t\t\tif (!firstProvider.has(token)) firstProvider.set(token, { index, identity: entry.identity });\n\t\t}\n\t\treturn contract;\n\t});\n\tfor (let index = 0; index < entries.length; index++) {\n\t\tfor (const token of contracts[index]?.requires ?? []) {\n\t\t\tconst provider = firstProvider.get(token);\n\t\t\tif (provider && provider.index > index)\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Enhancement source order conflict: ${entries[index]!.identity} requires context from later provider ${provider.identity}`\n\t\t\t\t);\n\t\t}\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-format.js","sourceRoot":"","sources":["../../../src/framework/error-format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"error-format.js","sourceRoot":"","sources":["../../../src/framework/error-format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["export { formatError } from '../component/log.js';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-view.js","sourceRoot":"","sources":["../../../src/framework/error-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAgC,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"error-view.js","sourceRoot":"","sources":["../../../src/framework/error-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAgC,MAAM,4BAA4B,CAAC","sourcesContent":["export { createDefaultErrorView, type DefaultErrorViewOptions } from '../component/error-view.js';\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { AnyComponentFunction, Child, EnhancementEntry } from '../component/contracts.js';
|
|
2
|
+
/** Builds source-ordered fragment peers, grouping transparent runs without crossing authored structure. */
|
|
3
|
+
export declare function createFragmentEnhancementChain(entries: readonly EnhancementEntry[], target: Child, catalog: ReadonlyMap<string, AnyComponentFunction>, transparentUpdates?: boolean): Child;
|
|
4
|
+
//# sourceMappingURL=fragment-enhancement-chain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fragment-enhancement-chain.d.ts","sourceRoot":"","sources":["../../../src/framework/fragment-enhancement-chain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAS/F,2GAA2G;AAC3G,wBAAgB,8BAA8B,CAC7C,OAAO,EAAE,SAAS,gBAAgB,EAAE,EACpC,MAAM,EAAE,KAAK,EACb,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,oBAAoB,CAAC,EAClD,kBAAkB,UAAQ,GACxB,KAAK,CA6BP"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { createEnhancementNode, readExactEnhancementContexts } from '../enhancements.js';
|
|
2
|
+
import { createCompiledComponentReceipt, withFragmentEnhancementTarget, withTransparentComponentUpdateOwner } from '../component-abi/receipt.js';
|
|
3
|
+
import { createCompiledFragmentReceipt } from '../component-abi/fragment-receipt.js';
|
|
4
|
+
/** Builds source-ordered fragment peers, grouping transparent runs without crossing authored structure. */
|
|
5
|
+
export function createFragmentEnhancementChain(entries, target, catalog, transparentUpdates = false) {
|
|
6
|
+
let chain = target;
|
|
7
|
+
for (let index = entries.length - 1; index >= 0;) {
|
|
8
|
+
const entry = entries[index];
|
|
9
|
+
const component = catalog.get(entry.identity);
|
|
10
|
+
if (readExactEnhancementContexts(component)?.transparentTarget) {
|
|
11
|
+
let start = index;
|
|
12
|
+
while (start > 0 &&
|
|
13
|
+
readExactEnhancementContexts(catalog.get(entries[start - 1].identity))?.transparentTarget)
|
|
14
|
+
start--;
|
|
15
|
+
chain = createCompiledFragmentReceipt({ __exactEnhancements: createEnhancementNode(entries.slice(start, index + 1)) }, chain);
|
|
16
|
+
index = start - 1;
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
let receipt = withFragmentEnhancementTarget(createCompiledComponentReceipt(component, { ...entry.props }, chain), chain, entry.intrinsicFragment);
|
|
20
|
+
if (transparentUpdates)
|
|
21
|
+
receipt = withTransparentComponentUpdateOwner(receipt);
|
|
22
|
+
chain = receipt;
|
|
23
|
+
index--;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return chain;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=fragment-enhancement-chain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fragment-enhancement-chain.js","sourceRoot":"","sources":["../../../src/framework/fragment-enhancement-chain.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACN,8BAA8B,EAC9B,6BAA6B,EAC7B,mCAAmC,EACnC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAErF,2GAA2G;AAC3G,MAAM,UAAU,8BAA8B,CAC7C,OAAoC,EACpC,MAAa,EACb,OAAkD,EAClD,kBAAkB,GAAG,KAAK;IAE1B,IAAI,KAAK,GAAG,MAAM,CAAC;IACnB,KAAK,IAAI,KAAK,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC,GAAI,CAAC;QACnD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAE,CAAC;QAC9B,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAE,CAAC;QAC/C,IAAI,4BAA4B,CAAC,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAC;YAChE,IAAI,KAAK,GAAG,KAAK,CAAC;YAClB,OACC,KAAK,GAAG,CAAC;gBACT,4BAA4B,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,CAAE,CAAC,QAAQ,CAAE,CAAC,EAAE,iBAAiB;gBAE3F,KAAK,EAAE,CAAC;YACT,KAAK,GAAG,6BAA6B,CACpC,EAAE,mBAAmB,EAAE,qBAAqB,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,EAC/E,KAAK,CACL,CAAC;YACF,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;QACnB,CAAC;aAAM,CAAC;YACP,IAAI,OAAO,GAAG,6BAA6B,CAC1C,8BAA8B,CAAC,SAAS,EAAE,EAAE,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,KAAK,CAAC,EACpE,KAAK,EACL,KAAK,CAAC,iBAAiB,CACvB,CAAC;YACF,IAAI,kBAAkB;gBAAE,OAAO,GAAG,mCAAmC,CAAC,OAAO,CAAC,CAAC;YAC/E,KAAK,GAAG,OAAO,CAAC;YAChB,KAAK,EAAE,CAAC;QACT,CAAC;IACF,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC","sourcesContent":["import type { AnyComponentFunction, Child, EnhancementEntry } from '../component/contracts.js';\nimport { createEnhancementNode, readExactEnhancementContexts } from '../enhancements.js';\nimport {\n\tcreateCompiledComponentReceipt,\n\twithFragmentEnhancementTarget,\n\twithTransparentComponentUpdateOwner\n} from '../component-abi/receipt.js';\nimport { createCompiledFragmentReceipt } from '../component-abi/fragment-receipt.js';\n\n/** Builds source-ordered fragment peers, grouping transparent runs without crossing authored structure. */\nexport function createFragmentEnhancementChain(\n\tentries: readonly EnhancementEntry[],\n\ttarget: Child,\n\tcatalog: ReadonlyMap<string, AnyComponentFunction>,\n\ttransparentUpdates = false\n): Child {\n\tlet chain = target;\n\tfor (let index = entries.length - 1; index >= 0; ) {\n\t\tconst entry = entries[index]!;\n\t\tconst component = catalog.get(entry.identity)!;\n\t\tif (readExactEnhancementContexts(component)?.transparentTarget) {\n\t\t\tlet start = index;\n\t\t\twhile (\n\t\t\t\tstart > 0 &&\n\t\t\t\treadExactEnhancementContexts(catalog.get(entries[start - 1]!.identity)!)?.transparentTarget\n\t\t\t)\n\t\t\t\tstart--;\n\t\t\tchain = createCompiledFragmentReceipt(\n\t\t\t\t{ __exactEnhancements: createEnhancementNode(entries.slice(start, index + 1)) },\n\t\t\t\tchain\n\t\t\t);\n\t\t\tindex = start - 1;\n\t\t} else {\n\t\t\tlet receipt = withFragmentEnhancementTarget(\n\t\t\t\tcreateCompiledComponentReceipt(component, { ...entry.props }, chain),\n\t\t\t\tchain,\n\t\t\t\tentry.intrinsicFragment\n\t\t\t);\n\t\t\tif (transparentUpdates) receipt = withTransparentComponentUpdateOwner(receipt);\n\t\t\tchain = receipt;\n\t\t\tindex--;\n\t\t}\n\t}\n\treturn chain;\n}\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** Prepared contribution facts for one enhancement owner. */
|
|
2
|
+
export interface FragmentContribution {
|
|
3
|
+
readonly owner: symbol;
|
|
4
|
+
readonly tag?: string;
|
|
5
|
+
readonly props: Readonly<Record<string, unknown>>;
|
|
6
|
+
readonly declaredHostProps?: boolean;
|
|
7
|
+
readonly structuralBarrier?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/** One retained host, shared only by consecutive compatible contribution owners. */
|
|
10
|
+
export interface FragmentPresentationHost {
|
|
11
|
+
readonly identity: symbol;
|
|
12
|
+
readonly tag: string;
|
|
13
|
+
readonly owners: readonly FragmentContribution[];
|
|
14
|
+
}
|
|
15
|
+
/** Detects a host contribution without evaluating reactive prop values. */
|
|
16
|
+
export declare function hasFragmentHostProps(props: Readonly<Record<string, unknown>>): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Shared-host lifetime. Requirements latch for each active attachment and hosts retain
|
|
19
|
+
* identity while at least one owner survives. Removing a middle group does not compact other hosts.
|
|
20
|
+
* Tag configuration is static; replacing an owner must use a new opaque owner identity.
|
|
21
|
+
*/
|
|
22
|
+
export declare class FragmentPresentationHosts {
|
|
23
|
+
private hosts;
|
|
24
|
+
private readonly requirements;
|
|
25
|
+
/** Plans hosts in source order. Does not allocate DOM, execute components, or merge their props. */
|
|
26
|
+
reconcile(owners: readonly FragmentContribution[]): readonly FragmentPresentationHost[];
|
|
27
|
+
/** Releases all retained host requirements when the owning fragment attachment ends. */
|
|
28
|
+
dispose(): void;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=fragment-hosts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fragment-hosts.d.ts","sourceRoot":"","sources":["../../../src/framework/fragment-hosts.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,MAAM,WAAW,oBAAoB;IACpC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAClD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,oFAAoF;AACpF,MAAM,WAAW,wBAAwB;IACxC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,MAAM,EAAE,SAAS,oBAAoB,EAAE,CAAC;CACjD;AAID,2EAA2E;AAC3E,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,OAAO,CAEtF;AAED;;;;GAIG;AACH,qBAAa,yBAAyB;IACrC,OAAO,CAAC,KAAK,CAA2C;IACxD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA6B;IAE1D,oGAAoG;IACpG,SAAS,CAAC,MAAM,EAAE,SAAS,oBAAoB,EAAE,GAAG,SAAS,wBAAwB,EAAE;IA4CvF,wFAAwF;IACxF,OAAO,IAAI,IAAI;CAIf"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
const bookkeeping = new Set(['key', 'children', '__exactEnhancements']);
|
|
2
|
+
/** Detects a host contribution without evaluating reactive prop values. */
|
|
3
|
+
export function hasFragmentHostProps(props) {
|
|
4
|
+
return Object.keys(props).some((key) => !bookkeeping.has(key));
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Shared-host lifetime. Requirements latch for each active attachment and hosts retain
|
|
8
|
+
* identity while at least one owner survives. Removing a middle group does not compact other hosts.
|
|
9
|
+
* Tag configuration is static; replacing an owner must use a new opaque owner identity.
|
|
10
|
+
*/
|
|
11
|
+
export class FragmentPresentationHosts {
|
|
12
|
+
hosts = [];
|
|
13
|
+
requirements = new Map();
|
|
14
|
+
/** Plans hosts in source order. Does not allocate DOM, execute components, or merge their props. */
|
|
15
|
+
reconcile(owners) {
|
|
16
|
+
const active = new Set(owners.map((owner) => owner.owner));
|
|
17
|
+
if (active.size !== owners.length)
|
|
18
|
+
throw new Error('Duplicate fragment contribution owner');
|
|
19
|
+
const requirements = new Map(this.requirements);
|
|
20
|
+
const existing = new Map();
|
|
21
|
+
for (const host of this.hosts)
|
|
22
|
+
for (const owner of host.owners)
|
|
23
|
+
existing.set(owner.owner, host);
|
|
24
|
+
const next = [];
|
|
25
|
+
const assigned = new Set();
|
|
26
|
+
let barrier = false;
|
|
27
|
+
for (const owner of owners) {
|
|
28
|
+
const tag = owner.tag ?? 'span';
|
|
29
|
+
const requirement = requirements.get(owner.owner);
|
|
30
|
+
if (requirement !== undefined && requirement !== tag)
|
|
31
|
+
throw new Error('Fragment host tag must remain static for an attachment');
|
|
32
|
+
barrier ||= owner.structuralBarrier === true;
|
|
33
|
+
if (requirement === undefined &&
|
|
34
|
+
!owner.declaredHostProps &&
|
|
35
|
+
!hasFragmentHostProps(owner.props))
|
|
36
|
+
continue;
|
|
37
|
+
requirements.set(owner.owner, tag);
|
|
38
|
+
const old = existing.get(owner.owner);
|
|
39
|
+
const previous = next.at(-1);
|
|
40
|
+
const canShare = !barrier &&
|
|
41
|
+
previous?.tag === tag &&
|
|
42
|
+
(old === undefined || old.identity === previous.identity);
|
|
43
|
+
if (canShare)
|
|
44
|
+
previous.owners.push(owner);
|
|
45
|
+
else {
|
|
46
|
+
const identity = old && !assigned.has(old.identity) ? old.identity : Symbol('fragment host');
|
|
47
|
+
assigned.add(identity);
|
|
48
|
+
next.push({ identity, tag, owners: [owner] });
|
|
49
|
+
}
|
|
50
|
+
barrier = owner.structuralBarrier === true;
|
|
51
|
+
}
|
|
52
|
+
this.requirements.clear();
|
|
53
|
+
for (const [owner, tag] of requirements)
|
|
54
|
+
if (active.has(owner))
|
|
55
|
+
this.requirements.set(owner, tag);
|
|
56
|
+
this.hosts = next.map((host) => Object.freeze({ ...host, owners: Object.freeze(host.owners) }));
|
|
57
|
+
return this.hosts;
|
|
58
|
+
}
|
|
59
|
+
/** Releases all retained host requirements when the owning fragment attachment ends. */
|
|
60
|
+
dispose() {
|
|
61
|
+
this.hosts = [];
|
|
62
|
+
this.requirements.clear();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=fragment-hosts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fragment-hosts.js","sourceRoot":"","sources":["../../../src/framework/fragment-hosts.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,qBAAqB,CAAC,CAAC,CAAC;AAExE,2EAA2E;AAC3E,MAAM,UAAU,oBAAoB,CAAC,KAAwC;IAC5E,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;AAChE,CAAC;AAED;;;;GAIG;AACH,MAAM,OAAO,yBAAyB;IAC7B,KAAK,GAAwC,EAAE,CAAC;IACvC,YAAY,GAAG,IAAI,GAAG,EAAkB,CAAC;IAE1D,oGAAoG;IACpG,SAAS,CAAC,MAAuC;QAChD,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,MAAM,C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AI,CAAC,KAAK,CAAC;IACnB,CAAC;IAED,wFAAwF;IACxF,OAAO;QACN,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;IAC3B,CAAC;CACD","sourcesContent":["/** Prepared contribution facts for one enhancement owner. */\nexport interface FragmentContribution {\n\treadonly owner: symbol;\n\treadonly tag?: string;\n\treadonly props: Readonly<Record<string, unknown>>;\n\treadonly declaredHostProps?: boolean;\n\treadonly structuralBarrier?: boolean;\n}\n\n/** One retained host, shared only by consecutive compatible contribution owners. */\nexport interface FragmentPresentationHost {\n\treadonly identity: symbol;\n\treadonly tag: string;\n\treadonly owners: readonly FragmentContribution[];\n}\n\nconst bookkeeping = new Set(['key', 'children', '__exactEnhancements']);\n\n/** Detects a host contribution without evaluating reactive prop values. */\nexport function hasFragmentHostProps(props: Readonly<Record<string, unknown>>): boolean {\n\treturn Object.keys(props).some((key) => !bookkeeping.has(key));\n}\n\n/**\n * Shared-host lifetime. Requirements latch for each active attachment and hosts retain\n * identity while at least one owner survives. Removing a middle group does not compact other hosts.\n * Tag configuration is static; replacing an owner must use a new opaque owner identity.\n */\nexport class FragmentPresentationHosts {\n\tprivate hosts: readonly FragmentPresentationHost[] = [];\n\tprivate readonly requirements = new Map<symbol, string>();\n\n\t/** Plans hosts in source order. Does not allocate DOM, execute components, or merge their props. */\n\treconcile(owners: readonly FragmentContribution[]): readonly FragmentPresentationHost[] {\n\t\tconst active = new Set(owners.map((owner) => owner.owner));\n\t\tif (active.size !== owners.length) throw new Error('Duplicate fragment contribution owner');\n\t\tconst requirements = new Map(this.requirements);\n\t\tconst existing = new Map<symbol, FragmentPresentationHost>();\n\t\tfor (const host of this.hosts) for (const owner of host.owners) existing.set(owner.owner, host);\n\t\tconst next: Array<{ identity: symbol; tag: string; owners: FragmentContribution[] }> = [];\n\t\tconst assigned = new Set<symbol>();\n\t\tlet barrier = false;\n\t\tfor (const owner of owners) {\n\t\t\tconst tag = owner.tag ?? 'span';\n\t\t\tconst requirement = requirements.get(owner.owner);\n\t\t\tif (requirement !== undefined && requirement !== tag)\n\t\t\t\tthrow new Error('Fragment host tag must remain static for an attachment');\n\t\t\tbarrier ||= owner.structuralBarrier === true;\n\t\t\tif (\n\t\t\t\trequirement === undefined &&\n\t\t\t\t!owner.declaredHostProps &&\n\t\t\t\t!hasFragmentHostProps(owner.props)\n\t\t\t)\n\t\t\t\tcontinue;\n\t\t\trequirements.set(owner.owner, tag);\n\t\t\tconst old = existing.get(owner.owner);\n\t\t\tconst previous = next.at(-1);\n\t\t\tconst canShare =\n\t\t\t\t!barrier &&\n\t\t\t\tprevious?.tag === tag &&\n\t\t\t\t(old === undefined || old.identity === previous.identity);\n\t\t\tif (canShare) previous.owners.push(owner);\n\t\t\telse {\n\t\t\t\tconst identity =\n\t\t\t\t\told && !assigned.has(old.identity) ? old.identity : Symbol('fragment host');\n\t\t\t\tassigned.add(identity);\n\t\t\t\tnext.push({ identity, tag, owners: [owner] });\n\t\t\t}\n\t\t\tbarrier = owner.structuralBarrier === true;\n\t\t}\n\t\tthis.requirements.clear();\n\t\tfor (const [owner, tag] of requirements)\n\t\t\tif (active.has(owner)) this.requirements.set(owner, tag);\n\t\tthis.hosts = next.map((host) => Object.freeze({ ...host, owners: Object.freeze(host.owners) }));\n\t\treturn this.hosts;\n\t}\n\n\t/** Releases all retained host requirements when the owning fragment attachment ends. */\n\tdispose(): void {\n\t\tthis.hosts = [];\n\t\tthis.requirements.clear();\n\t}\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AnyComponentInstance, Child } from '../component/contracts.js';
|
|
2
|
+
/**
|
|
3
|
+
* Projects only one enhancement owner's supplied placement, preserving its authored structure.
|
|
4
|
+
* Nested component implementations stay opaque. Each owner is a host-coalescing barrier; transparent
|
|
5
|
+
* consecutive owners are grouped before this path. Reactive ranges retain their existing invalidation.
|
|
6
|
+
*/
|
|
7
|
+
export declare function createFragmentTargetProjection(supplied: Child | (() => Child), tag: string, owner?: AnyComponentInstance): (children: readonly Child[]) => Child[];
|
|
8
|
+
//# sourceMappingURL=fragment-target-projection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fragment-target-projection.d.ts","sourceRoot":"","sources":["../../../src/framework/fragment-target-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAgC7E;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC7C,QAAQ,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,EAC/B,GAAG,EAAE,MAAM,EACX,KAAK,CAAC,EAAE,oBAAoB,GAC1B,CAAC,QAAQ,EAAE,SAAS,KAAK,EAAE,KAAK,KAAK,EAAE,CAmGzC"}
|
|
@@ -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,EACrB,uBAAuB,EACvB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACN,4BAA4B,EAC5B,8BAA8B,EAC9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EACN,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAEhE;;;;GAIG;AACH,MAAM,UAAU,8BAA8B,CAC7C,QAA+B,EAC/B,GAAW,EACX,KAA4B;IAE5B,MAAM,QAAQ,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC;IACjD,MAAM,KAAK,GAAG,IAAI,yBAAyB,EAAE,CAAC;IAC9C,MAAM,KAAK,GAAG,IAAI,OAAO,EAAiB,CAAC;IAC3C,MAAM,GAAG,GAAG,CAAC,GAAY,EAAW,EAAE;QACrC,MAAM,QAAQ,GAAG,OAAO,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC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,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,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BAA4B,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,CAAC,KAAc;IACrD,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IACrD,MAAM,OAAO,GAAa,CAAC,KAAK,CAAC,CAAC;IAClC,MAAM,IAAI,GAAG,IAAI,OAAO,EAAU,CA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;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":"","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AChG,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
|