@endge/core 1.0.0-dev
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/LICENSE +202 -0
- package/dist/core.js +124692 -0
- package/dist/features/core/kernel/config/debugger.config.d.ts +2 -0
- package/dist/features/core/kernel/config/kernel.config.d.ts +29 -0
- package/dist/features/core/kernel/config/modules.config.d.ts +145 -0
- package/dist/features/core/kernel/constants/kernel.constants.d.ts +8 -0
- package/dist/features/core/kernel/endge.d.ts +149 -0
- package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +7 -0
- package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +15 -0
- package/dist/features/core/kernel/tools/bundle-json.d.ts +5 -0
- package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +12 -0
- package/dist/features/core/kernel/tools/read-only-document.d.ts +1 -0
- package/dist/features/core/kernel/types/bootstrap.types.d.ts +32 -0
- package/dist/features/core/kernel/types/endge-bundle.types.d.ts +12 -0
- package/dist/features/core/modules/EndgeTypes_Module.d.ts +14 -0
- package/dist/features/core/modules/EndgeVocabs_Module.d.ts +178 -0
- package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +107 -0
- package/dist/features/core/modules/actions/domain/action.types.d.ts +177 -0
- package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +36 -0
- package/dist/features/core/modules/actions/services/table-actions.d.ts +2 -0
- package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +57 -0
- package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +16 -0
- package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +16 -0
- package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +10 -0
- package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +13 -0
- package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +10 -0
- package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +50 -0
- package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +8 -0
- package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +175 -0
- package/dist/features/core/modules/auth/domain/types/auth-runtime.types.d.ts +12 -0
- package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +23 -0
- package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +48 -0
- package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +22 -0
- package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +99 -0
- package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +34 -0
- package/dist/features/core/modules/auth/services/auth-context.d.ts +11 -0
- package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +62 -0
- package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +20 -0
- package/dist/features/core/modules/bridge/config/bridge.config.d.ts +38 -0
- package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +28 -0
- package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +145 -0
- package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +27 -0
- package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +75 -0
- package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +41 -0
- package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +10 -0
- package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +25 -0
- package/dist/features/core/modules/commands/config/commands.config.d.ts +6 -0
- package/dist/features/core/modules/commands/domain/commands.types.d.ts +36 -0
- package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +13 -0
- package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +13 -0
- package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/tools/command-payload.d.ts +2 -0
- package/dist/features/core/modules/commands/types/command-executor.type.d.ts +15 -0
- package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +11 -0
- package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +4 -0
- package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +375 -0
- package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +10 -0
- package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +8 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +6 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +34 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +37 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +16 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +10 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +9 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +20 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +22 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +11 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +15 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +24 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +28 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +27 -0
- package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +17 -0
- package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +11 -0
- package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +4 -0
- package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +80 -0
- package/dist/features/core/modules/computations/model/ComputationResource.d.ts +41 -0
- package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +27 -0
- package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +30 -0
- package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +28 -0
- package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +59 -0
- package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +18 -0
- package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +8 -0
- package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +2 -0
- package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +158 -0
- package/dist/features/core/modules/context/EndgeContext_Module.d.ts +311 -0
- package/dist/features/core/modules/context/domain/context-events.types.d.ts +7 -0
- package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +80 -0
- package/dist/features/core/modules/context/domain/context-state.types.d.ts +7 -0
- package/dist/features/core/modules/context/endge-vars.d.ts +89 -0
- package/dist/features/core/modules/context/persistence/EndgeStorageAdapterRegistry.d.ts +9 -0
- package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +28 -0
- package/dist/features/core/modules/context/persistence/adapters/DisabledContextAdapter.d.ts +8 -0
- package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +12 -0
- package/dist/features/core/modules/context/persistence/context-state.d.ts +7 -0
- package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +39 -0
- package/dist/features/core/modules/converters/tools/arrays/split.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +1 -0
- package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +88 -0
- package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +158 -0
- package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +63 -0
- package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +280 -0
- package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +15 -0
- package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +39 -0
- package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +33 -0
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +115 -0
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +11 -0
- package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +3 -0
- package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +6 -0
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +92 -0
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +45 -0
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +39 -0
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +13 -0
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +296 -0
- package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +36 -0
- package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +65 -0
- package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +20 -0
- package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +11 -0
- package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +11 -0
- package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +1202 -0
- package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +48 -0
- package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +5 -0
- package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +2 -0
- package/dist/features/core/modules/domain/component/table.d.ts +4 -0
- package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +95 -0
- package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +6 -0
- package/dist/features/core/modules/domain/entities/RAction.d.ts +22 -0
- package/dist/features/core/modules/domain/entities/RAuthProfile.d.ts +14 -0
- package/dist/features/core/modules/domain/entities/RComponent.d.ts +18 -0
- package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +16 -0
- package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +30 -0
- package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +7 -0
- package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +41 -0
- package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +12 -0
- package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +40 -0
- package/dist/features/core/modules/domain/entities/RComposition.d.ts +18 -0
- package/dist/features/core/modules/domain/entities/RComputation.d.ts +19 -0
- package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +13 -0
- package/dist/features/core/modules/domain/entities/RConverter.d.ts +15 -0
- package/dist/features/core/modules/domain/entities/RDataView.d.ts +12 -0
- package/dist/features/core/modules/domain/entities/REntity.d.ts +48 -0
- package/dist/features/core/modules/domain/entities/RFacet.d.ts +14 -0
- package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +13 -0
- package/dist/features/core/modules/domain/entities/RField.d.ts +9 -0
- package/dist/features/core/modules/domain/entities/RFilter.d.ts +11 -0
- package/dist/features/core/modules/domain/entities/RFolder.d.ts +24 -0
- package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +18 -0
- package/dist/features/core/modules/domain/entities/RIntegration.d.ts +17 -0
- package/dist/features/core/modules/domain/entities/RMock.d.ts +30 -0
- package/dist/features/core/modules/domain/entities/RNavigation.d.ts +27 -0
- package/dist/features/core/modules/domain/entities/RPage.d.ts +45 -0
- package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +35 -0
- package/dist/features/core/modules/domain/entities/RPolicy.d.ts +9 -0
- package/dist/features/core/modules/domain/entities/RQuery.d.ts +13 -0
- package/dist/features/core/modules/domain/entities/RSimulation.d.ts +10 -0
- package/dist/features/core/modules/domain/entities/RStore.d.ts +10 -0
- package/dist/features/core/modules/domain/entities/RStream.d.ts +10 -0
- package/dist/features/core/modules/domain/entities/RStyle.d.ts +14 -0
- package/dist/features/core/modules/domain/entities/RType.d.ts +12 -0
- package/dist/features/core/modules/domain/entities/RUpdate.d.ts +11 -0
- package/dist/features/core/modules/domain/entities/RVersion.d.ts +29 -0
- package/dist/features/core/modules/domain/entities/RVocabs.d.ts +31 -0
- package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +17 -0
- package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +16 -0
- package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +50 -0
- package/dist/features/core/modules/domain/types/component/component.types.d.ts +11 -0
- package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +86 -0
- package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +51 -0
- package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +51 -0
- package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +44 -0
- package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +269 -0
- package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +8 -0
- package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +19 -0
- package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +40 -0
- package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +253 -0
- package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +18 -0
- package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +15 -0
- package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +88 -0
- package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +5 -0
- package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +140 -0
- package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +211 -0
- package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +311 -0
- package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +35 -0
- package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +46 -0
- package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +30 -0
- package/dist/features/core/modules/domain/types/computation/computation.types.d.ts +3 -0
- package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +16 -0
- package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +5 -0
- package/dist/features/core/modules/domain/types/document/document-identity.types.d.ts +28 -0
- package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +36 -0
- package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +5 -0
- package/dist/features/core/modules/domain/types/document/document.types.d.ts +76 -0
- package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +73 -0
- package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +140 -0
- package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +34 -0
- package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +28 -0
- package/dist/features/core/modules/domain/types/document/filter.types.d.ts +32 -0
- package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +34 -0
- package/dist/features/core/modules/domain/types/document/query.types.d.ts +9 -0
- package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +126 -0
- package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +9 -0
- package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +26 -0
- package/dist/features/core/modules/events/domain/events.types.d.ts +48 -0
- package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +110 -0
- package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +20 -0
- package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +15 -0
- package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +7 -0
- package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +2 -0
- package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +44 -0
- package/dist/features/core/modules/implementations/domain/implementation.types.d.ts +59 -0
- package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +11 -0
- package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +11 -0
- package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +92 -0
- package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +40 -0
- package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +11 -0
- package/dist/features/core/modules/inspection/types/inspection.types.d.ts +72 -0
- package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +49 -0
- package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +31 -0
- package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +181 -0
- package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +9 -0
- package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +71 -0
- package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +15 -0
- package/dist/features/core/modules/program/domain/types/program.types.d.ts +186 -0
- package/dist/features/core/modules/program/tools/execution-bundle.d.ts +4 -0
- package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +2 -0
- package/dist/features/core/modules/program/tools/restore-program-source.d.ts +2 -0
- package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +48 -0
- package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +34 -0
- package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +262 -0
- package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +20 -0
- package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +74 -0
- package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +23 -0
- package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +109 -0
- package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +13 -0
- package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +32 -0
- package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +14 -0
- package/dist/features/core/modules/runtime/RuntimeScope.d.ts +60 -0
- package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +74 -0
- package/dist/features/core/modules/runtime/domain/EndgeActionJsonScript.d.ts +2 -0
- package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +7 -0
- package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +12 -0
- package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +6 -0
- package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +21 -0
- package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +18 -0
- package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +268 -0
- package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +26 -0
- package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +23 -0
- package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +25 -0
- package/dist/features/core/modules/runtime/domain/runtime-resource.types.d.ts +15 -0
- package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +43 -0
- package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +22 -0
- package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +73 -0
- package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +42 -0
- package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +21 -0
- package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +18 -0
- package/dist/features/core/modules/runtime/domain/table-binding.types.d.ts +7 -0
- package/dist/features/core/modules/runtime/domain/table.types.d.ts +4 -0
- package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +24 -0
- package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +13 -0
- package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +107 -0
- package/dist/features/core/modules/runtime/execution/endge-query.d.ts +30 -0
- package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +4 -0
- package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +7 -0
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +23 -0
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +16 -0
- package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +26 -0
- package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +225 -0
- package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +225 -0
- package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +52 -0
- package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +76 -0
- package/dist/features/core/modules/runtime/hosts/PageRuntimeHost.d.ts +22 -0
- package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +71 -0
- package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +60 -0
- package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +80 -0
- package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +48 -0
- package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +29 -0
- package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +16 -0
- package/dist/features/core/modules/runtime/operation/operation-history.d.ts +65 -0
- package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +19 -0
- package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +43 -0
- package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +13 -0
- package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +4 -0
- package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +3 -0
- package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +13 -0
- package/dist/features/core/modules/runtime/services/strategies/ActionRuntimeStrategy.d.ts +8 -0
- package/dist/features/core/modules/runtime/services/strategies/ComponentSFCRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/CompositionRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/FilterRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/PageRuntimeStrategy.d.ts +8 -0
- package/dist/features/core/modules/runtime/services/strategies/QueryRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/SimulationRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/StoreRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/StreamRuntimeStrategy.d.ts +12 -0
- package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +11 -0
- package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +10 -0
- package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +7 -0
- package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +5 -0
- package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +3 -0
- package/dist/features/core/modules/source/EndgeSource_Module.d.ts +115 -0
- package/dist/features/core/modules/source/domain/types/action-source.types.d.ts +40 -0
- package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +390 -0
- package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +46 -0
- package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +127 -0
- package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +94 -0
- package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +35 -0
- package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +78 -0
- package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +9 -0
- package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +67 -0
- package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +166 -0
- package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +94 -0
- package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +44 -0
- package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +52 -0
- package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +73 -0
- package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +41 -0
- package/dist/features/core/modules/source/domain/types/vocab-source.types.d.ts +37 -0
- package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +36 -0
- package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +19 -0
- package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +19 -0
- package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +19 -0
- package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +18 -0
- package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +3 -0
- package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +3 -0
- package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +12 -0
- package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +13 -0
- package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +13 -0
- package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +14 -0
- package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +7 -0
- package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/vocab-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-ports-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +2 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +2 -0
- package/dist/features/core/modules/source/services/composition-activation.d.ts +2 -0
- package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +3 -0
- package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +1 -0
- package/dist/features/core/modules/source/services/composition-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +14 -0
- package/dist/features/core/modules/source/services/document-metadata.d.ts +5 -0
- package/dist/features/core/modules/source/services/filter-source-patch.d.ts +10 -0
- package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +10 -0
- package/dist/features/core/modules/source/services/query-source-patch.d.ts +10 -0
- package/dist/features/core/modules/source/services/source-document-reference.d.ts +14 -0
- package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +3 -0
- package/dist/features/core/modules/source/services/source-language-syntax.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/ActionSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/ActionSourceLanguageStrategy.d.ts +23 -0
- package/dist/features/core/modules/source/services/strategies/CompositionSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/CompositionSourceLanguageStrategy.d.ts +14 -0
- package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +21 -0
- package/dist/features/core/modules/source/services/strategies/ComputationSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/ComputationSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/ConfigurationSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/ConfigurationSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +20 -0
- package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +27 -0
- package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/FilterSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +20 -0
- package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +27 -0
- package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +21 -0
- package/dist/features/core/modules/source/services/strategies/SimulationSourceEngineStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/SimulationSourceLanguageStrategy.d.ts +14 -0
- package/dist/features/core/modules/source/services/strategies/StoreSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/StoreSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/StreamSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/StreamSourceLanguageStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/StyleSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/StyleSourceLanguageStrategy.d.ts +43 -0
- package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/TypeSourceLanguageStrategy.d.ts +13 -0
- package/dist/features/core/modules/source/services/strategies/UpdateSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/UpdateSourceLanguageStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/VocabSourceEngineStrategy.d.ts +8 -0
- package/dist/features/core/modules/source/services/strategies/VocabSourceLanguageStrategy.d.ts +11 -0
- package/dist/features/core/modules/source/services/strategies/VocabSourcePatchStrategy.d.ts +9 -0
- package/dist/features/core/modules/source/services/type-source-references.d.ts +10 -0
- package/dist/features/core/modules/source/services/type-source-serialize.d.ts +4 -0
- package/dist/features/core/modules/source/services/typescript-type-source.d.ts +16 -0
- package/dist/features/core/modules/source/services/value-expression-language.d.ts +4 -0
- package/dist/features/core/modules/source/services/value-expression-operations.d.ts +9 -0
- package/dist/features/core/modules/source/services/vocab-source-patch.d.ts +10 -0
- package/dist/features/core/modules/source/templates/action.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/composition.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/computation.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/data-view.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/filter.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/query.default.source.d.ts +2 -0
- package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/store.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/stream.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/type.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/update.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/vocab.default.source.d.ts +1 -0
- package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +34 -0
- package/dist/features/core/modules/styles/domain/types/style.types.d.ts +195 -0
- package/dist/features/core/modules/styles/services/endgecss-compile.d.ts +4 -0
- package/dist/features/core/modules/styles/services/endgecss-match.d.ts +5 -0
- package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +130 -0
- package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +108 -0
- package/dist/features/core/modules/ui/domain/types/context-menu.types.d.ts +20 -0
- package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +7 -0
- package/dist/features/core/modules/ui/domain/types/tooltip-markdown.types.d.ts +32 -0
- package/dist/features/core/modules/ui/domain/types/ui-composition.types.d.ts +167 -0
- package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +29 -0
- package/dist/features/core/modules/ui/domain/types/ui.types.d.ts +17 -0
- package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +58 -0
- package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +3 -0
- package/dist/features/core/modules/ui/ui-composition.config.d.ts +523 -0
- package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +14 -0
- package/dist/features/core/modules/updates/tools/ScheduleUpdate-sse-generator.d.ts +9 -0
- package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +145 -0
- package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +30 -0
- package/dist/features/federation/EndgeFederation.d.ts +133 -0
- package/dist/features/federation/EndgeModule.d.ts +58 -0
- package/dist/features/federation/constants/federation.constants.d.ts +1 -0
- package/dist/features/federation/services/EndgeModuleController.d.ts +16 -0
- package/dist/features/federation/services/EndgeSlotRegistry.d.ts +14 -0
- package/dist/features/federation/tools/endge-token.d.ts +2 -0
- package/dist/features/federation/tools/sort-endge-modules.d.ts +9 -0
- package/dist/features/federation/types/endge-modules.types.d.ts +28 -0
- package/dist/features/federation/types/federation.types.d.ts +112 -0
- package/dist/features/federation/types/forge.types.d.ts +23 -0
- package/dist/main.d.ts +288 -0
- package/package.json +77 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { DataViewProgramPayload, ProgramArtifact } from '../../program/domain/types/program.types';
|
|
2
|
+
import { DataViewRef, DataViewRunContext, DataViewRunTools } from '../../source/domain/types/data-view-source.types';
|
|
3
|
+
import { RDataView } from '../../domain/entities/RDataView';
|
|
4
|
+
/**
|
|
5
|
+
* Сообщает, что persisted DataView не прошёл общий build pipeline.
|
|
6
|
+
*/
|
|
7
|
+
export declare class DataViewArtifactUnavailableError extends Error {
|
|
8
|
+
readonly code = "data_view_artifact_unavailable";
|
|
9
|
+
constructor(identity: string);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Модуль выполнения скомпилированных RDataView artifacts.
|
|
13
|
+
*/
|
|
14
|
+
export declare class EndgeDataView {
|
|
15
|
+
/**
|
|
16
|
+
* Выполняет DataView по id/identity/model над переданным input object.
|
|
17
|
+
*/
|
|
18
|
+
run(dataViewOrId: RDataView | string | number, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext): unknown;
|
|
19
|
+
/**
|
|
20
|
+
* Выполняет уже скомпилированный DataView artifact без поиска в домене.
|
|
21
|
+
*/
|
|
22
|
+
runArtifact(artifact: ProgramArtifact<DataViewProgramPayload>, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext): unknown;
|
|
23
|
+
/**
|
|
24
|
+
* Выполняет уже скомпилированный DataView payload.
|
|
25
|
+
*/
|
|
26
|
+
runPayload(artifact: DataViewProgramPayload, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext & {
|
|
27
|
+
children?: ProgramArtifact[];
|
|
28
|
+
}): unknown;
|
|
29
|
+
/**
|
|
30
|
+
* Вычисляет object projection один раз над целым DataView input.
|
|
31
|
+
*/
|
|
32
|
+
private _runProjection;
|
|
33
|
+
/**
|
|
34
|
+
* Вычисляет root ValueExpression без object projection wrapper.
|
|
35
|
+
*/
|
|
36
|
+
private _runExpression;
|
|
37
|
+
/**
|
|
38
|
+
* Выполняет DataView-ссылку из query/DataView artifact.
|
|
39
|
+
*/
|
|
40
|
+
runRef(ref: DataViewRef, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext & {
|
|
41
|
+
children?: ProgramArtifact[];
|
|
42
|
+
}): unknown;
|
|
43
|
+
/**
|
|
44
|
+
* Выполняет DataView source без записи artifact в `Endge.program`.
|
|
45
|
+
*/
|
|
46
|
+
runSource(source: string, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext): unknown;
|
|
47
|
+
/**
|
|
48
|
+
* Возвращает DataView model из домена или входного экземпляра.
|
|
49
|
+
*/
|
|
50
|
+
private _resolveDataView;
|
|
51
|
+
/**
|
|
52
|
+
* Возвращает только artifact, подготовленный общим compiler build.
|
|
53
|
+
*/
|
|
54
|
+
private _resolveArtifact;
|
|
55
|
+
/**
|
|
56
|
+
* Останавливает manual DataView до появления безопасного runtime.
|
|
57
|
+
*/
|
|
58
|
+
private _runManual;
|
|
59
|
+
/**
|
|
60
|
+
* Интерпретирует декларативные pipeline steps без eval.
|
|
61
|
+
*/
|
|
62
|
+
private _runPipeline;
|
|
63
|
+
/**
|
|
64
|
+
* Заполняет отсутствующие props декларативными defaults DataView artifact.
|
|
65
|
+
*/
|
|
66
|
+
private _resolveProps;
|
|
67
|
+
/**
|
|
68
|
+
* Последовательно вычисляет whole-value steps; каждый select получает результат предыдущего.
|
|
69
|
+
*/
|
|
70
|
+
private _runSelectPipeline;
|
|
71
|
+
/**
|
|
72
|
+
* Собирает базовый output для map step из spread-источников.
|
|
73
|
+
*/
|
|
74
|
+
private _createMapOutput;
|
|
75
|
+
/**
|
|
76
|
+
* Вычисляет join-result для текущей строки pipeline.
|
|
77
|
+
*/
|
|
78
|
+
private _resolveJoin;
|
|
79
|
+
/**
|
|
80
|
+
* Вычисляет одно поле map-expression.
|
|
81
|
+
*/
|
|
82
|
+
private _evaluateExpression;
|
|
83
|
+
/**
|
|
84
|
+
* Применяет chain operation к path-expression.
|
|
85
|
+
*/
|
|
86
|
+
private _applyPathOperation;
|
|
87
|
+
/**
|
|
88
|
+
* Создает набор runtime tools с возможностью точечной подмены в preview.
|
|
89
|
+
*/
|
|
90
|
+
private _createTools;
|
|
91
|
+
/**
|
|
92
|
+
* Минимальные built-in converters для preview v1.
|
|
93
|
+
*/
|
|
94
|
+
private _convert;
|
|
95
|
+
/**
|
|
96
|
+
* Применяет один зарегистрированный Converter ко всему текущему значению.
|
|
97
|
+
*/
|
|
98
|
+
convert(identity: string, value: unknown, options?: Record<string, unknown>): unknown;
|
|
99
|
+
/**
|
|
100
|
+
* Читает dot-path из object/array без выбрасывания ошибок.
|
|
101
|
+
*/
|
|
102
|
+
private _path;
|
|
103
|
+
/**
|
|
104
|
+
* Ищет локальный DataView artifact среди child artifacts, включая вложенные children.
|
|
105
|
+
*/
|
|
106
|
+
private _findLocalDataViewArtifact;
|
|
107
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { RQuery } from '../../domain/entities/RQuery';
|
|
2
|
+
import { QueryProgramPayload } from '../../program/domain/types/program.types';
|
|
3
|
+
import { RuntimeParentRef } from '../domain/runtime-execute.type';
|
|
4
|
+
import { QueryExecutor_Adapter } from '../adapters/QueryExecutor_Adapter';
|
|
5
|
+
/**
|
|
6
|
+
* Модуль выполнения доменных query: custom executor, mock data и REST.
|
|
7
|
+
*/
|
|
8
|
+
export declare class EndgeQuery {
|
|
9
|
+
private readonly _executor;
|
|
10
|
+
/**
|
|
11
|
+
* Создаёт query module с явным transport adapter.
|
|
12
|
+
*/
|
|
13
|
+
constructor(executor?: QueryExecutor_Adapter);
|
|
14
|
+
/**
|
|
15
|
+
* Выполняет query через compiled artifact и сохраняет результат в Raph.
|
|
16
|
+
*/
|
|
17
|
+
run(query: RQuery, params?: Record<string, unknown>, parent?: RuntimeParentRef | null): Promise<any>;
|
|
18
|
+
/**
|
|
19
|
+
* Выполняет artifact для QueryRuntimeHost без преждевременной записи stores.
|
|
20
|
+
*/
|
|
21
|
+
executeArtifact(input: {
|
|
22
|
+
payload: QueryProgramPayload;
|
|
23
|
+
props: Record<string, unknown>;
|
|
24
|
+
signal?: AbortSignal;
|
|
25
|
+
}): Promise<any>;
|
|
26
|
+
/**
|
|
27
|
+
* Извлекает response-backed output для атомарного commit в QueryRuntimeHost.
|
|
28
|
+
*/
|
|
29
|
+
readResponseOutput(output: QueryProgramPayload['outputs'][number], response: unknown): unknown;
|
|
30
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ProgramArtifact } from '../../program/domain/types/program.types';
|
|
2
|
+
import { DataViewRef } from '../../source/domain/types/data-view-source.types';
|
|
3
|
+
import { ResponseOutputTransform } from '../../source/domain/types/response-output.types';
|
|
4
|
+
export declare function runResponseOutputTransforms(transforms: readonly ResponseOutputTransform[] | undefined, legacyDataViews: readonly DataViewRef[], value: unknown, children?: readonly ProgramArtifact[]): unknown;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SimulationMountOptions, SimulationRuntimeSession } from '../domain/simulation-runtime.types';
|
|
2
|
+
/**
|
|
3
|
+
* Запускает Simulation с Composition target через общий runtime registry и lifecycle.
|
|
4
|
+
*/
|
|
5
|
+
export declare class EndgeSimulation {
|
|
6
|
+
mount(identity: string, options?: SimulationMountOptions): Promise<SimulationRuntimeSession>;
|
|
7
|
+
}
|
package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DepGraph, PhaseEvent, PhaseExecutorContext, PhaseName, RaphNode, RaphPhase } from '@raphy-js/raph';
|
|
2
|
+
import { RuntimeDirtyBoundary, RuntimeHost } from '../../domain/runtime-host.types';
|
|
3
|
+
export interface RuntimeBoundaryAggregatedUpdate {
|
|
4
|
+
node: RaphNode;
|
|
5
|
+
events: PhaseEvent[];
|
|
6
|
+
boundaries: RuntimeDirtyBoundary[];
|
|
7
|
+
}
|
|
8
|
+
export interface RuntimeBoundaryUpdatePhaseOptions {
|
|
9
|
+
name?: PhaseName;
|
|
10
|
+
getGraph?: () => DepGraph<RaphNode>;
|
|
11
|
+
resolveHost?: (runtimeId: string) => RuntimeHost | null;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Универсальная Raph-фаза обновления runtime-сущностей через верхние dirty boundaries.
|
|
15
|
+
*/
|
|
16
|
+
export declare class RuntimeBoundaryUpdatePhase {
|
|
17
|
+
static readonly PHASE_NAME: string;
|
|
18
|
+
/**
|
|
19
|
+
* Создает Raph-фазу, которая вызывает update у runtime-host верхних dirty boundaries.
|
|
20
|
+
*/
|
|
21
|
+
static make(options?: RuntimeBoundaryUpdatePhaseOptions): RaphPhase;
|
|
22
|
+
}
|
|
23
|
+
export declare function aggregateRuntimeBoundaryUpdates(graph: DepGraph<RaphNode>, ctxs: readonly PhaseExecutorContext[]): RuntimeBoundaryAggregatedUpdate[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PhaseName, RaphPhase } from '@raphy-js/raph';
|
|
2
|
+
import { RuntimeHost } from '../../domain/runtime-host.types';
|
|
3
|
+
export interface RuntimeNodeUpdatePhaseOptions {
|
|
4
|
+
name?: PhaseName;
|
|
5
|
+
resolveHost?: (runtimeId: string) => RuntimeHost | null;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Выполняет логические runtime update-ы.
|
|
9
|
+
*
|
|
10
|
+
* Фаза ничего не знает о Query, Filter или Composition: она лишь передаёт
|
|
11
|
+
* накопленные Raph events root-ноды соответствующему RuntimeHost.
|
|
12
|
+
*/
|
|
13
|
+
export declare class RuntimeNodeUpdatePhase {
|
|
14
|
+
static readonly PHASE_NAME: string;
|
|
15
|
+
static make(options?: RuntimeNodeUpdatePhaseOptions): RaphPhase;
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { RAction } from '../../domain/entities/RAction';
|
|
2
|
+
import { ActionRuntimeHostContext, RuntimeHost } from '../domain/runtime-host.types';
|
|
3
|
+
import { RuntimeHostBase } from '../RuntimeHostBase';
|
|
4
|
+
export declare function createActionContext(options: {
|
|
5
|
+
input?: Record<string, unknown> | unknown;
|
|
6
|
+
parent?: ActionRuntimeHostContext | null;
|
|
7
|
+
}): ActionRuntimeHostContext;
|
|
8
|
+
export declare class ActionRuntimeHost extends RuntimeHostBase<'action'> {
|
|
9
|
+
constructor(input: {
|
|
10
|
+
id: string;
|
|
11
|
+
model: RAction;
|
|
12
|
+
entityIdentity: string;
|
|
13
|
+
parent?: RuntimeHost<any, any> | null;
|
|
14
|
+
title?: string;
|
|
15
|
+
meta?: Record<string, unknown>;
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* LIFECYCLE
|
|
19
|
+
*/
|
|
20
|
+
static createRuntime(input: {
|
|
21
|
+
id: string;
|
|
22
|
+
model: RAction;
|
|
23
|
+
meta?: Record<string, any>;
|
|
24
|
+
parent?: RuntimeHost<any, any> | null;
|
|
25
|
+
}): RuntimeHost<'action'>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { RComponentSFC } from '../../domain/entities/RComponentSFC';
|
|
2
|
+
import { RComponentContract, RComponentDependencies, RComponentRenderTarget } from '../../domain/types/component/component-core.types';
|
|
3
|
+
import { RComponentSFC_AST } from '../../domain/types/component/sfc/ast.types';
|
|
4
|
+
import { RComponentSFC_RuntimeDependencies } from '../../domain/types/component/sfc/dependencies.types';
|
|
5
|
+
import { ComponentSFCEditedEventPayload, RComponentSFC_IR, RComponentSFC_IR_DataMetaReference } from '../../domain/types/component/sfc/ir.types';
|
|
6
|
+
import { ComponentSFCEventOccurrence, ComponentSFCEventPort, ComponentSFCEventRuntimeSource } from '../../domain/types/component/sfc/ports.types';
|
|
7
|
+
import { RComponentSFCSource_Parts } from '../../domain/types/component/sfc/source.types';
|
|
8
|
+
import { ComputationResource } from '../../domain/types/computation/computation-runtime.types';
|
|
9
|
+
import { ComponentSFCPreviewOptions, ComponentSFCProgramPayload, ProgramDiagnostic } from '../../program/domain/types/program.types';
|
|
10
|
+
import { RuntimeArtifactReader, RuntimeHost, RuntimeHostContext, RuntimeHostInputSource, RuntimeHostUpdateContext } from '../domain/runtime-host.types';
|
|
11
|
+
import { RuntimeRenderableInspection } from '../domain/runtime-render-inspection.types';
|
|
12
|
+
import { VocabOptionMapping } from '../domain/vocab-cache.types';
|
|
13
|
+
import { SourceFieldOption } from '../../source/domain/types/source-expression.types';
|
|
14
|
+
import { RuntimeHostBase } from '../RuntimeHostBase';
|
|
15
|
+
export interface ComponentSFCEditSession {
|
|
16
|
+
key: string;
|
|
17
|
+
originalValue: unknown;
|
|
18
|
+
draftValue: unknown;
|
|
19
|
+
baseVariant: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Runtime-host нового SFC-компонента.
|
|
23
|
+
*
|
|
24
|
+
* Host хранит lifecycle/runtime-состояние и читает compiler-derived данные
|
|
25
|
+
* из `ProgramArtifact<ComponentSFCProgramPayload>`.
|
|
26
|
+
*/
|
|
27
|
+
export declare class ComponentSFCRuntimeHost extends RuntimeHostBase<'component-sfc', RuntimeHostContext<'component-sfc'>, ComponentSFCProgramPayload> {
|
|
28
|
+
private _inputSource;
|
|
29
|
+
private _raphInputDisposers;
|
|
30
|
+
private readonly _computationResources;
|
|
31
|
+
private readonly _computationErrorSignatures;
|
|
32
|
+
private _styleLease;
|
|
33
|
+
private readonly _eventPortListeners;
|
|
34
|
+
private readonly _vocabDisposers;
|
|
35
|
+
private _editSession;
|
|
36
|
+
constructor(input: {
|
|
37
|
+
id: string;
|
|
38
|
+
model: RComponentSFC;
|
|
39
|
+
entityIdentity: string;
|
|
40
|
+
parent?: RuntimeHost<any, any> | null;
|
|
41
|
+
title?: string;
|
|
42
|
+
meta?: Record<string, unknown>;
|
|
43
|
+
artifactReader?: RuntimeArtifactReader | null;
|
|
44
|
+
});
|
|
45
|
+
/**
|
|
46
|
+
* LIFECYCLE
|
|
47
|
+
*/
|
|
48
|
+
static createRuntime(input: {
|
|
49
|
+
id: string;
|
|
50
|
+
model: RComponentSFC;
|
|
51
|
+
meta?: Record<string, any>;
|
|
52
|
+
parent?: RuntimeHost<any, any> | null;
|
|
53
|
+
artifactReader?: RuntimeArtifactReader | null;
|
|
54
|
+
}): ComponentSFCRuntimeHost;
|
|
55
|
+
/**
|
|
56
|
+
* Возвращает разложенный canonical source из compiled artifact.
|
|
57
|
+
*/
|
|
58
|
+
getSourceParts(): RComponentSFCSource_Parts | null;
|
|
59
|
+
/**
|
|
60
|
+
* Возвращает diagnostics compiled artifact.
|
|
61
|
+
*/
|
|
62
|
+
getDiagnostics(): ProgramDiagnostic[];
|
|
63
|
+
/**
|
|
64
|
+
* Переводит public key через накопленный Composition catalog этого runtime.
|
|
65
|
+
*/
|
|
66
|
+
translate(key: string, fallback?: string): string;
|
|
67
|
+
/**
|
|
68
|
+
* Читает Vocab alias из ближайшего Composition scope и преобразует cache
|
|
69
|
+
* records в renderer-neutral Select options.
|
|
70
|
+
*/
|
|
71
|
+
resolveVocabOptions(alias: string, mapping?: Partial<VocabOptionMapping>): SourceFieldOption[];
|
|
72
|
+
/**
|
|
73
|
+
* Возвращает внешний контракт компонента из compiled artifact.
|
|
74
|
+
*/
|
|
75
|
+
getContract(): RComponentContract | null;
|
|
76
|
+
/**
|
|
77
|
+
* Возвращает зависимости компонента из compiled artifact.
|
|
78
|
+
*/
|
|
79
|
+
getDependencies(): RComponentDependencies | null;
|
|
80
|
+
/**
|
|
81
|
+
* Возвращает runtime-зависимости SFC v1 из compiled artifact.
|
|
82
|
+
*/
|
|
83
|
+
getRuntimeDependencies(): RComponentSFC_RuntimeDependencies;
|
|
84
|
+
/**
|
|
85
|
+
* Возвращает parser-level AST из compiled artifact.
|
|
86
|
+
*/
|
|
87
|
+
getAst(): RComponentSFC_AST | null;
|
|
88
|
+
/**
|
|
89
|
+
* Возвращает target-neutral semantic IR из compiled artifact.
|
|
90
|
+
*/
|
|
91
|
+
getIr(): RComponentSFC_IR | null;
|
|
92
|
+
/**
|
|
93
|
+
* Возвращает preview-only props из compiled artifact.
|
|
94
|
+
*/
|
|
95
|
+
getPreviewProps(): Record<string, unknown> | null;
|
|
96
|
+
/**
|
|
97
|
+
* Возвращает preview-only runtime options из compiled artifact.
|
|
98
|
+
*/
|
|
99
|
+
getPreviewOptions(): ComponentSFCPreviewOptions | null;
|
|
100
|
+
/**
|
|
101
|
+
* Подписывается на один публичный порт Event смонтированного экземпляра компонента.
|
|
102
|
+
*/
|
|
103
|
+
onEventPort(name: string, listener: (occurrence: ComponentSFCEventOccurrence) => void): () => void;
|
|
104
|
+
/**
|
|
105
|
+
* Отправляет собственный публичный Event через корневую границу Component SFC.
|
|
106
|
+
*/
|
|
107
|
+
emitEventPort(name: string, payload: unknown, source?: ComponentSFCEventRuntimeSource): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Выполняет одну связанную компилятором реакцию Event для границы renderer.
|
|
110
|
+
*/
|
|
111
|
+
executeEventPortAction(ownerIdentity: string, port: ComponentSFCEventPort, payload: unknown, source: ComponentSFCEventRuntimeSource | undefined, emitOwn: (name: string, payload: unknown, trace: string[], depth: number) => Promise<void>, trace?: string[], depth?: number, scope?: Record<string, unknown>): Promise<boolean>;
|
|
112
|
+
/**
|
|
113
|
+
* Публикует уже маршрутизированный корневой Event без глобальной шины Endge.events.
|
|
114
|
+
*/
|
|
115
|
+
publishEventPort(name: string, payload: unknown, source?: ComponentSFCEventRuntimeSource): void;
|
|
116
|
+
/**
|
|
117
|
+
* Возвращает активную host-owned edit-сессию конкретного renderer consumer.
|
|
118
|
+
*/
|
|
119
|
+
getEditSession(key: string): Readonly<ComponentSFCEditSession> | null;
|
|
120
|
+
/**
|
|
121
|
+
* Открывает единственную edit-сессию runtime; предыдущая отменяется без Event.
|
|
122
|
+
*/
|
|
123
|
+
beginEditSession(key: string, originalValue: unknown, baseVariant?: string): ComponentSFCEditSession;
|
|
124
|
+
/**
|
|
125
|
+
* Обновляет renderer-owned draft активной edit-сессии.
|
|
126
|
+
*/
|
|
127
|
+
updateEditDraft(key: string, value: unknown): void;
|
|
128
|
+
/**
|
|
129
|
+
* Завершает edit-сессию и возвращает нормализованный semantic payload.
|
|
130
|
+
*/
|
|
131
|
+
commitEditSession(key: string, value?: unknown): ComponentSFCEditedEventPayload | null;
|
|
132
|
+
/**
|
|
133
|
+
* Отменяет edit-сессию без публикации edited.
|
|
134
|
+
*/
|
|
135
|
+
cancelEditSession(key?: string): void;
|
|
136
|
+
/**
|
|
137
|
+
* Возвращает один ресурс вычислений, принадлежащий host и изолированный scope потребителя renderer.
|
|
138
|
+
*/
|
|
139
|
+
getComputationResource(identity: string, input: unknown, consumerKey: string, portName?: string): ComputationResource;
|
|
140
|
+
/**
|
|
141
|
+
* Завершает ресурсы исчезнувших renderer consumers; host сохраняет остальных.
|
|
142
|
+
*/
|
|
143
|
+
releaseComputationResources(consumerScope: string, keep?: (key: string) => boolean): void;
|
|
144
|
+
/**
|
|
145
|
+
* Обновляет input source и пересобирает Raph subscriptions host-а.
|
|
146
|
+
*/
|
|
147
|
+
setInputSource(input: RuntimeHostInputSource | null | undefined): void;
|
|
148
|
+
/**
|
|
149
|
+
* Возвращает текущий input source host-а.
|
|
150
|
+
*/
|
|
151
|
+
getInputSource(): RuntimeHostInputSource | null;
|
|
152
|
+
/**
|
|
153
|
+
* Наблюдение сохраняет входы и уже вычисленное состояние; compilation и execution не запускаются.
|
|
154
|
+
*/
|
|
155
|
+
captureRenderInspection(): RuntimeRenderableInspection;
|
|
156
|
+
/**
|
|
157
|
+
* Читает Meta-plane по compiler-known ссылке, не раскрывая SFC физический DataPath.
|
|
158
|
+
*/
|
|
159
|
+
readDataMeta(reference: RComponentSFC_IR_DataMetaReference & {
|
|
160
|
+
boundaryId?: string;
|
|
161
|
+
rowKey?: unknown;
|
|
162
|
+
}, namespace?: string): unknown;
|
|
163
|
+
/**
|
|
164
|
+
* Получает runtime update от universal boundary phase.
|
|
165
|
+
*
|
|
166
|
+
* Core не знает про DOM/Vue/RevoGrid: host только фиксирует update-факт
|
|
167
|
+
* и сообщает render adapter-у, что входные props нужно перечитать.
|
|
168
|
+
*/
|
|
169
|
+
update(ctx: RuntimeHostUpdateContext): void;
|
|
170
|
+
pause(): void;
|
|
171
|
+
resume(): void;
|
|
172
|
+
/**
|
|
173
|
+
* Очищает Raph subscriptions перед общим destroy host-а.
|
|
174
|
+
*/
|
|
175
|
+
destroy(): void;
|
|
176
|
+
private _emitRootEventPort;
|
|
177
|
+
private _executeEventActionEffect;
|
|
178
|
+
private _executeEventQueryEffect;
|
|
179
|
+
private _executeInlineOperation;
|
|
180
|
+
private _materializeOperationBlock;
|
|
181
|
+
private _executeMaterializedOperationBlock;
|
|
182
|
+
private _reportComputationError;
|
|
183
|
+
/**
|
|
184
|
+
* Синхронизирует runtime context с текущим compiled artifact.
|
|
185
|
+
*/
|
|
186
|
+
syncArtifactState(target: RComponentRenderTarget | null): void;
|
|
187
|
+
/**
|
|
188
|
+
* Backward-compatible alias для старого runtime prepare API.
|
|
189
|
+
*/
|
|
190
|
+
preparePlaceholders(target: RComponentRenderTarget | null): void;
|
|
191
|
+
private _makeArtifactResourcePayload;
|
|
192
|
+
/**
|
|
193
|
+
* Подписывает host на shared Vocab path один раз, включая вложенные SFC artifacts.
|
|
194
|
+
*/
|
|
195
|
+
private _ensureVocabSubscription;
|
|
196
|
+
private _createRuntimeBoundaryNodes;
|
|
197
|
+
private _createTableColumnBoundaryNode;
|
|
198
|
+
private _bindRaphInputSource;
|
|
199
|
+
private _bindRaphMetaInputSource;
|
|
200
|
+
private _resolveDataMetaObservedPath;
|
|
201
|
+
private _resolveDataMetaPath;
|
|
202
|
+
private _mapMetaField;
|
|
203
|
+
/**
|
|
204
|
+
* Зависимости контекста основаны на Raph и не зависят от вида входных props компонента.
|
|
205
|
+
*/
|
|
206
|
+
private _bindRaphContextSources;
|
|
207
|
+
private _observeContextPath;
|
|
208
|
+
private _bindRaphBoundaryInputSource;
|
|
209
|
+
private _isCoveredByPatchableBoundary;
|
|
210
|
+
private _findRuntimeNodeByMeta;
|
|
211
|
+
private _makeObservedColumnPaths;
|
|
212
|
+
private _makeBoundaryPatch;
|
|
213
|
+
private _makeTableRowPatch;
|
|
214
|
+
private _makeTableColumnPatch;
|
|
215
|
+
/**
|
|
216
|
+
* Собирает все keyed события frame-а, не теряя соседние SSE-изменения.
|
|
217
|
+
*/
|
|
218
|
+
private _makeCollectionPatch;
|
|
219
|
+
private _resolveBoundarySourcePath;
|
|
220
|
+
private _extractChangedPath;
|
|
221
|
+
private _makeColumnProjection;
|
|
222
|
+
private _makeObservedRaphPaths;
|
|
223
|
+
private _clearRaphInputSubscriptions;
|
|
224
|
+
private _joinRaphPath;
|
|
225
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { RComposition } from '../../domain/entities/RComposition';
|
|
2
|
+
import { I18nRuntimeCatalog } from '../../i18n/domain/i18n.types';
|
|
3
|
+
import { RuntimeEntityModelMap } from '../domain/runtime-entity-map.types';
|
|
4
|
+
import { RuntimeArtifactReader, RuntimeHost, RuntimeHostContext, RuntimeHostInputSource, RuntimeHostUpdateContext } from '../domain/runtime-host.types';
|
|
5
|
+
import { VocabRuntimeCatalog } from '../domain/vocab-cache.types';
|
|
6
|
+
import { FilterViewRuntimeHost } from './FilterViewRuntimeHost';
|
|
7
|
+
import { CompositionFilterFieldsSlice, CompositionProgramPayload, CompositionPublicOutputHandle, CompositionRuntimeActivationHandle, CompositionRuntimeChildHandle } from '../../source/domain/types/composition-source.types';
|
|
8
|
+
import { StoreMutationPlan } from '../../source/domain/types/update-source.types';
|
|
9
|
+
import { RuntimeHostBase } from '../RuntimeHostBase';
|
|
10
|
+
import { RuntimeScope } from '../RuntimeScope';
|
|
11
|
+
/**
|
|
12
|
+
* Runtime orchestration host: children, bindings, hooks и public handles.
|
|
13
|
+
*/
|
|
14
|
+
export declare class CompositionRuntimeHost extends RuntimeHostBase<'composition', RuntimeHostContext<'composition'>, CompositionProgramPayload> {
|
|
15
|
+
private _mountPromise;
|
|
16
|
+
private _destroyPromise;
|
|
17
|
+
private _children;
|
|
18
|
+
private _childDescriptors;
|
|
19
|
+
private _publicOutputs;
|
|
20
|
+
private _scopes;
|
|
21
|
+
private _runtimeHandles;
|
|
22
|
+
private _outputBridges;
|
|
23
|
+
private _updateSourcePaths;
|
|
24
|
+
private _outputBridgeDisposers;
|
|
25
|
+
private _hookDisposers;
|
|
26
|
+
private _publicationDisposers;
|
|
27
|
+
private _disposers;
|
|
28
|
+
private readonly _dispatchDisposers;
|
|
29
|
+
private _bridgePaths;
|
|
30
|
+
private readonly _runtimeDisposers;
|
|
31
|
+
private _dataPaths;
|
|
32
|
+
private _storeRuntimeIds;
|
|
33
|
+
private _storeProviderRuntimeIds;
|
|
34
|
+
private _ownedStoreRuntimeIds;
|
|
35
|
+
private _compositionInputBindings;
|
|
36
|
+
private _i18nCatalogs;
|
|
37
|
+
private _vocabCatalogs;
|
|
38
|
+
private readonly _vocabDataModes;
|
|
39
|
+
private _orchestratedQueries;
|
|
40
|
+
private _orchestratedSuccesses;
|
|
41
|
+
private _streamBatches;
|
|
42
|
+
private _streamBatchTimers;
|
|
43
|
+
private _mountCancelled;
|
|
44
|
+
constructor(input: {
|
|
45
|
+
id: string;
|
|
46
|
+
model: RuntimeEntityModelMap['composition'];
|
|
47
|
+
parent?: RuntimeHost<any, any> | null;
|
|
48
|
+
meta?: Record<string, unknown>;
|
|
49
|
+
artifactReader: RuntimeArtifactReader;
|
|
50
|
+
});
|
|
51
|
+
static createRuntime(input: {
|
|
52
|
+
id: string;
|
|
53
|
+
model: RComposition;
|
|
54
|
+
meta?: Record<string, any>;
|
|
55
|
+
parent?: RuntimeHost<any, any> | null;
|
|
56
|
+
artifacts: RuntimeArtifactReader;
|
|
57
|
+
}): CompositionRuntimeHost | null;
|
|
58
|
+
/**
|
|
59
|
+
* Создает children, bindings и hooks. Повторный mount является no-op.
|
|
60
|
+
*/
|
|
61
|
+
mountGraph(): Promise<void>;
|
|
62
|
+
private _mountGraph;
|
|
63
|
+
private _assertMountCurrent;
|
|
64
|
+
getChild(name: string): RuntimeHost<any, any> | null;
|
|
65
|
+
getChildren(): CompositionRuntimeChildHandle[];
|
|
66
|
+
getFilterFieldsSlice(runtimeName: string, fieldKeys: string[]): CompositionFilterFieldsSlice | null;
|
|
67
|
+
getOutputs(): Readonly<Record<string, CompositionPublicOutputHandle>>;
|
|
68
|
+
getScope(path: string): RuntimeScope | null;
|
|
69
|
+
/**
|
|
70
|
+
* Возвращает накопленный translation catalog для заданного lifecycle scope.
|
|
71
|
+
*/
|
|
72
|
+
getI18nCatalog(scopePath?: string): I18nRuntimeCatalog;
|
|
73
|
+
/**
|
|
74
|
+
* Возвращает накопленный Vocab catalog для заданного lifecycle scope.
|
|
75
|
+
*/
|
|
76
|
+
getVocabCatalog(scopePath?: string): VocabRuntimeCatalog;
|
|
77
|
+
getRuntimeHandle(path: string): CompositionRuntimeActivationHandle | null;
|
|
78
|
+
/**
|
|
79
|
+
* Возвращает текущее значение публичного Composition output.
|
|
80
|
+
*/
|
|
81
|
+
getOutput(name: string): unknown;
|
|
82
|
+
/**
|
|
83
|
+
* Текущие значения data-блока для preview и runtime debugger.
|
|
84
|
+
*/
|
|
85
|
+
getDataSnapshot(): Readonly<Record<string, unknown>>;
|
|
86
|
+
/**
|
|
87
|
+
* Возвращает текущие значения публичных Composition props.
|
|
88
|
+
*/
|
|
89
|
+
getProps(): Readonly<Record<string, unknown>>;
|
|
90
|
+
/**
|
|
91
|
+
* Императивное локальное изменение для UI-сценариев, которым не нужен сохраняемый RUpdate.
|
|
92
|
+
*/
|
|
93
|
+
mutateStore(dataAlias: string, plan: StoreMutationPlan): void;
|
|
94
|
+
/**
|
|
95
|
+
* Явно вызывает один именованный RUpdate, принадлежащий Store, вне dispatch Stream.
|
|
96
|
+
*/
|
|
97
|
+
applyStoreUpdate(dataAlias: string, updateIdentity: string, payload: unknown): void;
|
|
98
|
+
/**
|
|
99
|
+
* Сопоставляет артефакт Update с alias данных Store, принадлежащим этой Composition.
|
|
100
|
+
*/
|
|
101
|
+
applyUpdateByIdentity(updateIdentity: string, payload: unknown): void;
|
|
102
|
+
/**
|
|
103
|
+
* Устанавливает literal/Raph-backed источник публичных Composition props.
|
|
104
|
+
*/
|
|
105
|
+
setInputSource(input: RuntimeHostInputSource | null | undefined): void;
|
|
106
|
+
/**
|
|
107
|
+
* Проверяет обязательные props до создания child runtime graph.
|
|
108
|
+
*/
|
|
109
|
+
private _assertRequiredProps;
|
|
110
|
+
/**
|
|
111
|
+
* Возвращает runtime Raph path объявленной data-зависимости.
|
|
112
|
+
*/
|
|
113
|
+
getDataPath(name: string, path?: string): string;
|
|
114
|
+
private _buildLifecycleScopes;
|
|
115
|
+
private _activateScope;
|
|
116
|
+
private _forgetScopeRuntimes;
|
|
117
|
+
private _forgetRuntime;
|
|
118
|
+
private _createRuntimeHandle;
|
|
119
|
+
private _requireScope;
|
|
120
|
+
private _prepareOutputBridges;
|
|
121
|
+
private _outputBridgeKey;
|
|
122
|
+
private _requireOutputBridge;
|
|
123
|
+
private _connectRuntimeOutputs;
|
|
124
|
+
private _disconnectRuntimeOutputs;
|
|
125
|
+
quiesce(): void;
|
|
126
|
+
destroy(): Promise<void>;
|
|
127
|
+
private _destroyOwnedResources;
|
|
128
|
+
/**
|
|
129
|
+
* Строит effective catalogs по той же иерархии, что и lifecycle scopes.
|
|
130
|
+
*/
|
|
131
|
+
private _buildI18nCatalogs;
|
|
132
|
+
/**
|
|
133
|
+
* Строит nearest-scope catalog публичных Vocab aliases поверх shared cache paths.
|
|
134
|
+
*/
|
|
135
|
+
private _buildVocabCatalogs;
|
|
136
|
+
/**
|
|
137
|
+
* Дожидается cache текущего режима, включая его смену во время acquisition.
|
|
138
|
+
*/
|
|
139
|
+
private _acquireScopeVocabs;
|
|
140
|
+
/**
|
|
141
|
+
* Регистрирует shared Vocab paths и разрешает Store aliases через explicit, ancestor или local provider.
|
|
142
|
+
*/
|
|
143
|
+
private _mountData;
|
|
144
|
+
/**
|
|
145
|
+
* Находит ближайший Store provider только среди Composition ancestors.
|
|
146
|
+
*/
|
|
147
|
+
private _findAncestorStoreProvider;
|
|
148
|
+
/**
|
|
149
|
+
* Публикует resolved Store instance для descendants этой Composition.
|
|
150
|
+
*/
|
|
151
|
+
private _registerStoreProvider;
|
|
152
|
+
/**
|
|
153
|
+
* Атомарно публикует накопленный batch runtime outputs в writable Store data.
|
|
154
|
+
*/
|
|
155
|
+
private _publishUpdates;
|
|
156
|
+
protected onUpdate(ctx: RuntimeHostUpdateContext): void;
|
|
157
|
+
private _requireDataPath;
|
|
158
|
+
private _requireStoreRuntime;
|
|
159
|
+
private _resolveDataReference;
|
|
160
|
+
private _createChild;
|
|
161
|
+
private _bindChild;
|
|
162
|
+
private _bindStreamDispatch;
|
|
163
|
+
private _bindComponentDispatch;
|
|
164
|
+
private _flushStreamBatch;
|
|
165
|
+
private _makeOutputs;
|
|
166
|
+
/**
|
|
167
|
+
* Не допускает прямые и транзитивные циклы Composition runtime tree.
|
|
168
|
+
*/
|
|
169
|
+
private _assertCompositionCycle;
|
|
170
|
+
private _bindHooks;
|
|
171
|
+
private _executeComponentEventEffect;
|
|
172
|
+
private _runQuery;
|
|
173
|
+
/**
|
|
174
|
+
* Запускает все одновременно готовые Query hooks одним parallel batch.
|
|
175
|
+
*/
|
|
176
|
+
private _runQueries;
|
|
177
|
+
private _runSuccessTargets;
|
|
178
|
+
private _successHookId;
|
|
179
|
+
private _readBinding;
|
|
180
|
+
private _compiledInputs;
|
|
181
|
+
/**
|
|
182
|
+
* Материализует authored bindings в единый runtime input source child Composition.
|
|
183
|
+
*/
|
|
184
|
+
private _makeInputSource;
|
|
185
|
+
private _makeMetaSourceInputBinding;
|
|
186
|
+
/**
|
|
187
|
+
* Подписки и materializations живут столько же, сколько их child runtime.
|
|
188
|
+
*/
|
|
189
|
+
private _addRuntimeDisposer;
|
|
190
|
+
private _disposeRuntimeBindings;
|
|
191
|
+
private _ownBindingPath;
|
|
192
|
+
private _subscribeBinding;
|
|
193
|
+
private _bindingPath;
|
|
194
|
+
private _materializeBinding;
|
|
195
|
+
/**
|
|
196
|
+
* Материализует parameterized DataView binding без отдельного runtime host.
|
|
197
|
+
*/
|
|
198
|
+
private _materializeDataViewBinding;
|
|
199
|
+
/**
|
|
200
|
+
* Гарантирует, что список outputs для fromOutput(runtime) был связан до запуска runtime.
|
|
201
|
+
*/
|
|
202
|
+
private _requireResolvedOutputs;
|
|
203
|
+
/**
|
|
204
|
+
* Читает и распаковывает один именованный runtime output.
|
|
205
|
+
*/
|
|
206
|
+
private _readRuntimeOutput;
|
|
207
|
+
/**
|
|
208
|
+
* Собирает объект всех runtime outputs с сохранением их публичных имён.
|
|
209
|
+
*/
|
|
210
|
+
private _readRuntimeOutputs;
|
|
211
|
+
/**
|
|
212
|
+
* Читает весь compiled metadata map или один namespace сущности runtime alias-а.
|
|
213
|
+
*/
|
|
214
|
+
private _readRuntimeMetadata;
|
|
215
|
+
private _readExpressionSource;
|
|
216
|
+
private _collectExpressionReads;
|
|
217
|
+
private _flattenBindings;
|
|
218
|
+
private _subscribeExpressionRead;
|
|
219
|
+
private _readFilterFieldsBinding;
|
|
220
|
+
isFilterViewRuntime(runtime: RuntimeHost<any, any>): runtime is FilterViewRuntimeHost;
|
|
221
|
+
/**
|
|
222
|
+
* Возвращает topological runtime order по fromOutput dependencies.
|
|
223
|
+
*/
|
|
224
|
+
private _dependencyOrder;
|
|
225
|
+
}
|