@endge/core 12.0.3 → 14.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/dist/core.js +26657 -25069
- package/dist/features/core/kernel/config/debugger.config.d.ts +0 -1
- package/dist/features/core/kernel/config/kernel.config.d.ts +0 -6
- package/dist/features/core/kernel/config/modules.config.d.ts +0 -1
- package/dist/features/core/kernel/endge.d.ts +15 -7
- package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +3 -1
- package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +3 -2
- package/dist/features/core/kernel/tools/bundle-json.d.ts +0 -4
- package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +0 -1
- package/dist/features/core/kernel/tools/read-only-document.d.ts +0 -1
- package/dist/features/core/kernel/types/bootstrap.types.d.ts +0 -37
- package/dist/features/core/kernel/types/endge-bundle.types.d.ts +0 -1
- package/dist/features/core/modules/EndgeTypes_Module.d.ts +3 -1
- package/dist/features/core/modules/EndgeVocabs_Module.d.ts +33 -15
- package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +38 -22
- package/dist/features/core/modules/actions/domain/action.types.d.ts +0 -12
- package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +3 -2
- package/dist/features/core/modules/actions/services/table-actions.d.ts +0 -1
- package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +24 -8
- package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +9 -3
- package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +9 -3
- package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +33 -11
- package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +3 -1
- package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +0 -6
- package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +15 -5
- package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +24 -8
- package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +9 -3
- package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +48 -16
- package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +21 -7
- package/dist/features/core/modules/auth/services/auth-context.d.ts +0 -3
- package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +27 -20
- package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +12 -4
- package/dist/features/core/modules/bridge/config/bridge.config.d.ts +0 -5
- package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +14 -12
- package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +72 -35
- package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +0 -3
- package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +0 -3
- package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +15 -5
- package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +0 -6
- package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +12 -4
- package/dist/features/core/modules/commands/config/commands.config.d.ts +0 -3
- package/dist/features/core/modules/commands/domain/commands.types.d.ts +0 -2
- package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +6 -2
- package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +6 -2
- package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/tools/command-payload.d.ts +0 -2
- package/dist/features/core/modules/commands/types/command-executor.type.d.ts +0 -4
- package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +0 -1
- package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +0 -1
- package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +193 -74
- package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +0 -2
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +0 -22
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +0 -14
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +0 -2
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +0 -5
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +0 -10
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +0 -5
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +0 -18
- package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +0 -7
- package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +0 -1
- package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +18 -16
- package/dist/features/core/modules/computations/model/ComputationResource.d.ts +6 -2
- package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +9 -4
- package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +3 -1
- package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +6 -2
- package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +39 -13
- package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +0 -2
- package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +0 -6
- package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +0 -1
- package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +0 -22
- package/dist/features/core/modules/context/EndgeContext_Module.d.ts +186 -62
- package/dist/features/core/modules/context/domain/context-events.types.d.ts +0 -1
- package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +0 -4
- package/dist/features/core/modules/context/domain/context-state.types.d.ts +0 -5
- package/dist/features/core/modules/context/endge-vars.d.ts +12 -4
- package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +6 -2
- package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +3 -1
- package/dist/features/core/modules/context/persistence/context-state.d.ts +0 -2
- package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +3 -6
- package/dist/features/core/modules/converters/tools/arrays/split.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +0 -4
- package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +0 -1
- package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +54 -18
- package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +101 -45
- package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +39 -14
- package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +177 -59
- package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +9 -3
- package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +21 -8
- package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +21 -7
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +75 -26
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +0 -9
- package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +0 -2
- package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +0 -1
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +60 -20
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +24 -8
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +0 -14
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +0 -2
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +0 -66
- package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +17 -14
- package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +0 -11
- package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +0 -3
- package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +6 -2
- package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +6 -2
- package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +165 -64
- package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +9 -11
- package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +0 -4
- package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +0 -1
- package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +0 -3
- package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +0 -3
- package/dist/features/core/modules/domain/entities/RAction.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RComponent.d.ts +0 -7
- package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +0 -1
- package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +12 -8
- package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +18 -10
- package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +3 -5
- package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +0 -20
- package/dist/features/core/modules/domain/entities/RComposition.d.ts +3 -3
- package/dist/features/core/modules/domain/entities/RComputation.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RDataView.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/REntity.d.ts +12 -15
- package/dist/features/core/modules/domain/entities/RFacet.d.ts +3 -3
- package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RFilter.d.ts +0 -2
- package/dist/features/core/modules/domain/entities/RFolder.d.ts +6 -6
- package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/RIntegration.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RMock.d.ts +15 -5
- package/dist/features/core/modules/domain/entities/RNavigation.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RPage.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +6 -3
- package/dist/features/core/modules/domain/entities/RPolicy.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RQuery.d.ts +0 -3
- package/dist/features/core/modules/domain/entities/RSimulation.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStore.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStream.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStyle.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RType.d.ts +0 -1
- package/dist/features/core/modules/domain/entities/RUpdate.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RVersion.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RVocabs.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +3 -1
- package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +6 -2
- package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +0 -39
- package/dist/features/core/modules/domain/types/component/component.types.d.ts +0 -6
- package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +0 -67
- package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +0 -37
- package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +0 -127
- package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +0 -7
- package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +0 -4
- package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +0 -25
- package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +0 -11
- package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +0 -12
- package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +0 -7
- package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +0 -23
- package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +0 -3
- package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +0 -4
- package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +0 -1
- package/dist/features/core/modules/domain/types/document/document.types.d.ts +0 -20
- package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +0 -4
- package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +0 -10
- package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +0 -8
- package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +0 -5
- package/dist/features/core/modules/domain/types/document/filter.types.d.ts +0 -8
- package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/query.types.d.ts +0 -8
- package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +33 -11
- package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +0 -1
- package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +6 -2
- package/dist/features/core/modules/events/domain/events.types.d.ts +0 -4
- package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +33 -11
- package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +0 -5
- package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +0 -4
- package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +0 -5
- package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +0 -1
- package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +24 -16
- package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +3 -1
- package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +3 -1
- package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +12 -4
- package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +6 -2
- package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +0 -4
- package/dist/features/core/modules/inspection/types/inspection.types.d.ts +0 -1
- package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +30 -10
- package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +3 -9
- package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +69 -23
- package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +0 -1
- package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +0 -4
- package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +0 -11
- package/dist/features/core/modules/program/domain/types/program.types.d.ts +0 -109
- package/dist/features/core/modules/program/tools/execution-bundle.d.ts +0 -2
- package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +0 -1
- package/dist/features/core/modules/program/tools/restore-program-source.d.ts +0 -1
- package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +18 -6
- package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +7 -11
- package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +100 -33
- package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +3 -1
- package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +21 -11
- package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +0 -25
- package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +11 -63
- package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +0 -3
- package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +2 -33
- package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +3 -1
- package/dist/features/core/modules/runtime/RuntimeScope.d.ts +3 -1
- package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +39 -22
- package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +0 -4
- package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +0 -13
- package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +0 -12
- package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +2 -119
- package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +0 -2
- package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +0 -17
- package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +0 -2
- package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +0 -14
- package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +0 -16
- package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +0 -6
- package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +0 -4
- package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/table.types.d.ts +0 -11
- package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +0 -9
- package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +6 -3
- package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +72 -24
- package/dist/features/core/modules/runtime/execution/endge-query.d.ts +9 -3
- package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +0 -1
- package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +3 -1
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +9 -6
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +2 -2
- package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +0 -4
- package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +93 -31
- package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +90 -30
- package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +21 -7
- package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +33 -11
- package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +9 -3
- package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +8 -12
- package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +0 -1
- package/dist/features/core/modules/runtime/operation/operation-history.d.ts +6 -2
- package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +12 -4
- package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +21 -7
- package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +3 -1
- package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +6 -2
- package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +0 -3
- package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +0 -1
- package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +0 -1
- package/dist/features/core/modules/source/EndgeSource_Module.d.ts +81 -27
- package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +0 -42
- package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +0 -7
- package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +0 -1
- package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +0 -12
- package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +0 -10
- package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +0 -42
- package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +0 -1
- package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +0 -6
- package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +0 -81
- package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +0 -19
- package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +0 -3
- package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +0 -4
- package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +0 -11
- package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +0 -2
- package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +3 -1
- package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +0 -4
- package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +0 -4
- package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +0 -1
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-activation.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +0 -2
- package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/document-metadata.d.ts +0 -2
- package/dist/features/core/modules/source/services/filter-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +0 -7
- package/dist/features/core/modules/source/services/query-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/source-document-reference.d.ts +0 -9
- package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +0 -2
- package/dist/features/core/modules/source/services/source-language-syntax.d.ts +0 -1
- package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +15 -5
- package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +15 -5
- package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/type-source-references.d.ts +0 -4
- package/dist/features/core/modules/source/services/type-source-serialize.d.ts +0 -2
- package/dist/features/core/modules/source/services/typescript-type-source.d.ts +0 -2
- package/dist/features/core/modules/source/services/value-expression-language.d.ts +0 -1
- package/dist/features/core/modules/source/services/value-expression-operations.d.ts +0 -1
- package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/filter.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/query.default.source.d.ts +0 -2
- package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/type.default.source.d.ts +0 -1
- package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +12 -4
- package/dist/features/core/modules/styles/domain/types/style.types.d.ts +0 -7
- package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +3 -1
- package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +18 -6
- package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +0 -9
- package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +0 -8
- package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +39 -13
- package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +0 -2
- package/dist/features/core/modules/ui/ui-composition.config.d.ts +0 -1
- package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +3 -1
- package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +97 -34
- package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +0 -3
- package/dist/features/federation/EndgeFederation.d.ts +33 -11
- package/dist/features/federation/EndgeModule.d.ts +0 -1
- package/dist/features/federation/constants/federation.constants.d.ts +0 -1
- package/dist/features/federation/services/EndgeModuleController.d.ts +0 -2
- package/dist/features/federation/tools/endge-token.d.ts +0 -1
- package/dist/features/federation/types/endge-modules.types.d.ts +0 -5
- package/dist/features/federation/types/federation.types.d.ts +0 -12
- package/dist/features/federation/types/forge.types.d.ts +0 -6
- package/package.json +8 -3
- package/dist/features/core/modules/runtime/helpers/raph-phases/endge-runtime-boundary.d.ts +0 -13
|
@@ -2,16 +2,10 @@ import { RComponentDSL } from '../../entities/RComponentDSL';
|
|
|
2
2
|
import { RComponentSFC } from '../../entities/RComponentSFC';
|
|
3
3
|
import { RComponentTable } from '../../entities/RComponentTable';
|
|
4
4
|
import { ComponentType } from '../document/document.types';
|
|
5
|
-
/** Сохранённый вид renderer legacy-документа компонента. */
|
|
6
5
|
export declare enum ComponentKind {
|
|
7
6
|
JSX = "jsx",
|
|
8
7
|
Vue = "vue"
|
|
9
8
|
}
|
|
10
|
-
/** Legacy-компоненты, которые уже используются в таблицах. */
|
|
11
9
|
export type RComponent = RComponentDSL | RComponentTable;
|
|
12
|
-
/** Любой компонент доменной модели, включая новую чистую SFC-ветку. */
|
|
13
10
|
export type RAnyComponent = RComponent | RComponentSFC;
|
|
14
|
-
/**
|
|
15
|
-
* Разновидности типов компонентов, которые могут быть встроены в таблицу
|
|
16
|
-
*/
|
|
17
11
|
export type ColumnComponentType = ComponentType.Html | ComponentType.Component;
|
|
@@ -1,153 +1,86 @@
|
|
|
1
1
|
import { File } from '@babel/types';
|
|
2
2
|
import { RComponentSFC_SourceRange } from './location.types';
|
|
3
|
-
/** Parser-level AST SFC source до построения семантического IR. */
|
|
4
3
|
export interface RComponentSFC_AST {
|
|
5
|
-
/** Версия AST-модели. */
|
|
6
4
|
version: 1;
|
|
7
|
-
/** Разобранная script-секция. */
|
|
8
5
|
script: RComponentSFC_AST_Script | null;
|
|
9
|
-
/** Разобранная template-секция. */
|
|
10
6
|
template: RComponentSFC_AST_Template | null;
|
|
11
|
-
/** Разобранная style-секция. */
|
|
12
7
|
style: RComponentSFC_AST_Style | null;
|
|
13
8
|
}
|
|
14
|
-
/** AST script setup секции. */
|
|
15
9
|
export interface RComponentSFC_AST_Script {
|
|
16
|
-
/** Compiler-only дерево script; null означает ошибку синтаксиса. Не входит в IR. */
|
|
17
10
|
syntax?: File | null;
|
|
18
|
-
/** Язык script-секции: ts, js или другое значение из source. */
|
|
19
11
|
lang: string | null;
|
|
20
|
-
/** Флаг script setup. Для Endge SFC v1 ожидается true. */
|
|
21
12
|
setup: boolean;
|
|
22
|
-
/** Полный текст script-секции без внешнего тега. */
|
|
23
13
|
content: string;
|
|
24
|
-
/** Синтаксическое объявление defineProps, если оно найдено. */
|
|
25
14
|
props: RComponentSFC_AST_PropsDeclaration | null;
|
|
26
|
-
/** Preview-only значения props для песочницы, если найден definePreviewProps. */
|
|
27
15
|
previewProps: RComponentSFC_AST_PreviewPropsDeclaration | null;
|
|
28
|
-
/** Статические объявления публичной metadata компонента. */
|
|
29
16
|
metadata: RComponentSFC_AST_MetadataDeclaration[];
|
|
30
|
-
/** Верхнеуровневые bindings, найденные в script. */
|
|
31
17
|
bindings: RComponentSFC_AST_ScriptBinding[];
|
|
32
|
-
/** Позиция script-секции в полном source. */
|
|
33
18
|
range: RComponentSFC_SourceRange;
|
|
34
19
|
}
|
|
35
|
-
/** AST объявления defineProps. */
|
|
36
20
|
export interface RComponentSFC_AST_PropsDeclaration {
|
|
37
|
-
/** Исходный текст generic-типа или runtime-объекта props. */
|
|
38
21
|
source: string;
|
|
39
|
-
/** Формат объявления props. */
|
|
40
22
|
mode: 'type' | 'runtime';
|
|
41
|
-
/** Позиция объявления defineProps в полном source. */
|
|
42
23
|
range: RComponentSFC_SourceRange;
|
|
43
24
|
}
|
|
44
|
-
/** AST объявления definePreviewProps. */
|
|
45
25
|
export interface RComponentSFC_AST_PreviewPropsDeclaration {
|
|
46
|
-
/** Исходный текст первого аргумента, переданного в definePreviewProps. */
|
|
47
26
|
source: string;
|
|
48
|
-
/** Исходный текст второго аргумента preview options, если он указан. */
|
|
49
27
|
optionsSource?: string | null;
|
|
50
|
-
/** Позиция объявления definePreviewProps в полном source. */
|
|
51
28
|
range: RComponentSFC_SourceRange;
|
|
52
29
|
}
|
|
53
|
-
/** AST объявления `defineMetadata({...})` внутри script setup. */
|
|
54
30
|
export interface RComponentSFC_AST_MetadataDeclaration {
|
|
55
|
-
/** Исходный текст object literal, переданного в defineMetadata. */
|
|
56
31
|
source: string;
|
|
57
|
-
/** Позиция полного вызова defineMetadata в SFC source. */
|
|
58
32
|
range: RComponentSFC_SourceRange;
|
|
59
33
|
}
|
|
60
|
-
/** AST binding из script setup. */
|
|
61
34
|
export interface RComponentSFC_AST_ScriptBinding {
|
|
62
|
-
/** Имя binding, доступное template-компилятору. */
|
|
63
35
|
name: string;
|
|
64
|
-
/** Синтаксический тип binding. */
|
|
65
36
|
kind: 'prop' | 'const' | 'let' | 'function' | 'import' | 'store' | 'unknown';
|
|
66
|
-
/** Позиция binding в полном source. */
|
|
67
37
|
range: RComponentSFC_SourceRange;
|
|
68
38
|
}
|
|
69
|
-
/** AST template секции. */
|
|
70
39
|
export interface RComponentSFC_AST_Template {
|
|
71
|
-
/** Корневые узлы template. */
|
|
72
40
|
roots: RComponentSFC_AST_TemplateNode[];
|
|
73
|
-
/** Позиция template-секции в полном source. */
|
|
74
41
|
range: RComponentSFC_SourceRange;
|
|
75
42
|
}
|
|
76
|
-
/** AST узел template до семантической нормализации. */
|
|
77
43
|
export type RComponentSFC_AST_TemplateNode = {
|
|
78
44
|
kind: 'comment';
|
|
79
45
|
content: string;
|
|
80
46
|
range: RComponentSFC_SourceRange;
|
|
81
47
|
} | RComponentSFC_AST_ElementNode | RComponentSFC_AST_TextNode | RComponentSFC_AST_InterpolationNode;
|
|
82
|
-
/** AST element-узел template. */
|
|
83
48
|
export interface RComponentSFC_AST_ElementNode {
|
|
84
|
-
/** Тип AST-узла. */
|
|
85
49
|
kind: 'element';
|
|
86
|
-
/** Имя тега ровно в том виде, как оно написано в template. */
|
|
87
50
|
tag: string;
|
|
88
|
-
/** Статические и динамические атрибуты элемента. */
|
|
89
51
|
attributes: RComponentSFC_AST_Attribute[];
|
|
90
|
-
/** Директивы элемента: if, else-if, else, for, key и другие будущие расширения. */
|
|
91
52
|
directives: RComponentSFC_AST_Directive[];
|
|
92
|
-
/** Дочерние узлы элемента. */
|
|
93
53
|
children: RComponentSFC_AST_TemplateNode[];
|
|
94
|
-
/** Флаг self-closing записи. */
|
|
95
54
|
selfClosing: boolean;
|
|
96
|
-
/** Позиция узла в полном source. */
|
|
97
55
|
range: RComponentSFC_SourceRange;
|
|
98
56
|
}
|
|
99
|
-
/** AST текстовый узел template. */
|
|
100
57
|
export interface RComponentSFC_AST_TextNode {
|
|
101
|
-
/** Тип AST-узла. */
|
|
102
58
|
kind: 'text';
|
|
103
|
-
/** Текстовое содержимое узла. */
|
|
104
59
|
content: string;
|
|
105
|
-
/** Позиция узла в полном source. */
|
|
106
60
|
range: RComponentSFC_SourceRange;
|
|
107
61
|
}
|
|
108
|
-
/** AST interpolation-узел template. */
|
|
109
62
|
export interface RComponentSFC_AST_InterpolationNode {
|
|
110
|
-
/** Тип AST-узла. */
|
|
111
63
|
kind: 'interpolation';
|
|
112
|
-
/** Выражение внутри {{ ... }}. */
|
|
113
64
|
expression: string;
|
|
114
|
-
/** Позиция узла в полном source. */
|
|
115
65
|
range: RComponentSFC_SourceRange;
|
|
116
66
|
}
|
|
117
|
-
/** AST атрибут template-элемента. */
|
|
118
67
|
export interface RComponentSFC_AST_Attribute {
|
|
119
|
-
/** Имя атрибута без синтаксического префикса. */
|
|
120
68
|
name: string;
|
|
121
|
-
/** Значение атрибута, если оно указано. */
|
|
122
69
|
value: string | null;
|
|
123
|
-
/** Флаг динамического binding через :name. */
|
|
124
70
|
dynamic: boolean;
|
|
125
|
-
/** Статические модификаторы динамического binding, например `:on.stop.capture`. */
|
|
126
71
|
modifiers: string[];
|
|
127
|
-
/** Позиция атрибута в полном source. */
|
|
128
72
|
range: RComponentSFC_SourceRange;
|
|
129
73
|
}
|
|
130
|
-
/** AST директива template-элемента. */
|
|
131
74
|
export interface RComponentSFC_AST_Directive {
|
|
132
|
-
/** Имя директивы без v-prefix: if, else-if, else, for, key, bind, on. */
|
|
133
75
|
name: string;
|
|
134
|
-
/** Аргумент директивы, если синтаксис его поддерживает. */
|
|
135
76
|
argument?: string;
|
|
136
|
-
/** Выражение директивы, если оно есть. */
|
|
137
77
|
expression?: string;
|
|
138
|
-
/** Статические модификаторы, например `.stop`, `.prevent` и `.capture`. */
|
|
139
78
|
modifiers: string[];
|
|
140
|
-
/** Позиция директивы в полном source. */
|
|
141
79
|
range: RComponentSFC_SourceRange;
|
|
142
80
|
}
|
|
143
|
-
/** AST style секции. */
|
|
144
81
|
export interface RComponentSFC_AST_Style {
|
|
145
|
-
/** Язык style-секции: endgecss или другое значение из source. */
|
|
146
82
|
lang: string | null;
|
|
147
|
-
/** Флаг scoped-стилей. */
|
|
148
83
|
scoped: boolean;
|
|
149
|
-
/** Полный текст style-секции без внешнего тега. */
|
|
150
84
|
content: string;
|
|
151
|
-
/** Позиция style-секции в полном source. */
|
|
152
85
|
range: RComponentSFC_SourceRange;
|
|
153
86
|
}
|
|
@@ -1,88 +1,51 @@
|
|
|
1
1
|
import { RComponentSFC_IR_DataMetaReference, RComponentSFC_IR_Read } from './ir.types';
|
|
2
|
-
/** Источник runtime-зависимости SFC v1. */
|
|
3
2
|
export type RComponentSFC_RuntimeDependencySource = 'props' | 'context';
|
|
4
|
-
/** Runtime-зависимость SFC template от входного prop. */
|
|
5
3
|
export interface RComponentSFC_RuntimeDependency {
|
|
6
|
-
/** Источник зависимости. В v1 поддерживаем только props. */
|
|
7
4
|
source: 'props';
|
|
8
|
-
/** Имя входного prop, например `flight`. */
|
|
9
5
|
prop: string;
|
|
10
|
-
/** Путь внутри prop, например `['status']` для `flight.status`. */
|
|
11
6
|
path: string[];
|
|
12
|
-
/** Исходный read из IR, полезен для diagnostics/debug. */
|
|
13
7
|
raw: string;
|
|
14
|
-
/** Нормализованный read из IR. */
|
|
15
8
|
read: RComponentSFC_IR_Read;
|
|
16
9
|
}
|
|
17
|
-
/** Runtime-зависимость SFC template от глобального Endge context. */
|
|
18
10
|
export interface RComponentSFC_RuntimeContextDependency {
|
|
19
11
|
source: 'context';
|
|
20
|
-
/** Путь после `$context`, например `['input', 'keyboard', 'modifiers', 'shift']`. */
|
|
21
12
|
path: string[];
|
|
22
13
|
raw: string;
|
|
23
14
|
read: RComponentSFC_IR_Read;
|
|
24
15
|
}
|
|
25
|
-
/** Тип patchable runtime boundary внутри SFC IR. */
|
|
26
16
|
export type RComponentSFC_RuntimeBoundaryKind = 'table';
|
|
27
|
-
/** Runtime-зависимость колонки таблицы от полей текущей строки. */
|
|
28
17
|
export interface RComponentSFC_RuntimeTableColumnDependency {
|
|
29
|
-
/** Стабильный boundary-id колонки, совпадает с id IR node. */
|
|
30
18
|
id: string;
|
|
31
|
-
/** Ключ колонки из `<Column key="...">`. */
|
|
32
19
|
key: string;
|
|
33
|
-
/** Видимый индекс колонки внутри таблицы. */
|
|
34
20
|
index: number;
|
|
35
|
-
/** Поля alias-а `row`, которые читает cell template. */
|
|
36
21
|
rowReads: string[];
|
|
37
22
|
}
|
|
38
|
-
/** Patchable runtime boundary SFC, для которой создается отдельная Raph-нода. */
|
|
39
23
|
export interface RComponentSFC_RuntimeBoundaryDependency {
|
|
40
|
-
/** Стабильный boundary-id, совпадает с id IR node. */
|
|
41
24
|
id: string;
|
|
42
|
-
/** Тип boundary. В v1 поддерживаем Table. */
|
|
43
25
|
kind: RComponentSFC_RuntimeBoundaryKind;
|
|
44
|
-
/** Имя prop, из которого boundary получает коллекцию. */
|
|
45
26
|
sourceProp: string;
|
|
46
|
-
/** Путь внутри prop, если source выражен как `foo.bar`. */
|
|
47
27
|
sourcePath: string[];
|
|
48
|
-
/** Поле ключа строки из `row-key`. */
|
|
49
28
|
rowKey: string | null;
|
|
50
|
-
/** Пути контекста, используемые внутри границы; они инвалидируют всю границу. */
|
|
51
29
|
contextReads: string[][];
|
|
52
|
-
/** Колонки таблицы, которые можно обновлять точечно. */
|
|
53
30
|
columns: RComponentSFC_RuntimeTableColumnDependency[];
|
|
54
31
|
}
|
|
55
|
-
/** Runtime-зависимость SFC от Vocab alias ближайшего Composition scope. */
|
|
56
32
|
export interface RComponentSFC_RuntimeVocabDependency {
|
|
57
|
-
/** Публичный, scope-local alias; физическая Vocab identity сюда не протекает. */
|
|
58
33
|
alias: string;
|
|
59
|
-
/** Путь option value внутри элемента Vocab. */
|
|
60
34
|
valuePath: string;
|
|
61
|
-
/** Путь option label внутри элемента Vocab. */
|
|
62
35
|
labelPath: string;
|
|
63
|
-
/** Исходное выражение для diagnostics/debug. */
|
|
64
36
|
raw: string;
|
|
65
37
|
}
|
|
66
|
-
/** Реактивное чтение Meta-plane, разрешаемое через provenance входного prop. */
|
|
67
38
|
export interface RComponentSFC_RuntimeMetaDependency {
|
|
68
39
|
reference: RComponentSFC_IR_DataMetaReference;
|
|
69
|
-
/** Table boundary для row-reference; null для обычного prop. */
|
|
70
40
|
boundaryId: string | null;
|
|
71
41
|
namespace: string | null;
|
|
72
42
|
raw: string;
|
|
73
43
|
}
|
|
74
|
-
/** Набор runtime-зависимостей SFC artifact. */
|
|
75
44
|
export interface RComponentSFC_RuntimeDependencies {
|
|
76
|
-
/** Зависимости от props, которые можно связать с внешним input source. */
|
|
77
45
|
props: RComponentSFC_RuntimeDependency[];
|
|
78
|
-
/** Зависимости контекста за пределами изменяемых границ. */
|
|
79
46
|
context: RComponentSFC_RuntimeContextDependency[];
|
|
80
|
-
/** Patchable boundaries, для которых runtime строит отдельные Raph-ноды. */
|
|
81
47
|
boundaries: RComponentSFC_RuntimeBoundaryDependency[];
|
|
82
|
-
/** Vocab aliases, которые должен предоставить ближайший Composition scope. */
|
|
83
48
|
vocabs?: RComponentSFC_RuntimeVocabDependency[];
|
|
84
|
-
/** Read-only зависимости `$data.metaOf(...)`. */
|
|
85
49
|
meta?: RComponentSFC_RuntimeMetaDependency[];
|
|
86
50
|
}
|
|
87
|
-
/** Создает пустой dependency artifact SFC runtime. */
|
|
88
51
|
export declare function createEmptyComponentSFCRuntimeDependencies(): RComponentSFC_RuntimeDependencies;
|
|
@@ -8,7 +8,6 @@ export interface ComponentSFCEventModifiersState {
|
|
|
8
8
|
}
|
|
9
9
|
export interface ComponentSFCInteractionEventPayload {
|
|
10
10
|
type: string;
|
|
11
|
-
/** UTC-время нормализации исходного occurrence, одинаковое для всех его локальных reactions. */
|
|
12
11
|
occurredAt: string;
|
|
13
12
|
modifiers: ComponentSFCEventModifiersState;
|
|
14
13
|
held: {
|
|
@@ -3,91 +3,53 @@ import { ComponentSFCExpressionIR } from './expression-ir.types';
|
|
|
3
3
|
import { RComponentSFC_SourceRange } from './location.types';
|
|
4
4
|
import { ComponentSFCEventAction, ComponentSFCPortForwardOrigin, ComponentSFCPortManifest, ComponentSFCRequiredPortBinding, RComponentSFC_IR_ComponentPortMarker, RComponentSFC_IR_PortCall } from './ports.types';
|
|
5
5
|
import { EndgeStyleSheetArtifact } from '../../../../styles/domain/types/style.types';
|
|
6
|
-
/** Семантическая модель компонента после compiler pipeline, независимая от DOM и Nova. */
|
|
7
6
|
export interface RComponentSFC_IR {
|
|
8
|
-
/** Версия IR-модели. */
|
|
9
7
|
version: 2;
|
|
10
|
-
/** Нормализованная модель script setup. */
|
|
11
8
|
script: RComponentSFC_IR_Script;
|
|
12
|
-
/** Нормализованный граф template-узлов: Text, Flex, Box, Component и другие primitives. */
|
|
13
9
|
template: RComponentSFC_IR_Template;
|
|
14
|
-
/** Нормализованная модель endgecss-стилей. */
|
|
15
10
|
style: RComponentSFC_IR_Style | null;
|
|
16
11
|
}
|
|
17
|
-
/** IR script-секции после извлечения контракта и локальных bindings. */
|
|
18
12
|
export interface RComponentSFC_IR_Script {
|
|
19
|
-
/** Входные props компонента. */
|
|
20
13
|
props: RComponentSFC_IR_Prop[];
|
|
21
|
-
/** Локальные bindings, доступные template-выражениям. */
|
|
22
14
|
locals: RComponentSFC_IR_LocalBinding[];
|
|
23
|
-
/** Объявления портов, разрешённые при компиляции. */
|
|
24
15
|
ports: ComponentSFCPortManifest;
|
|
25
|
-
/** Вызовы портов computation верхнего уровня, инициализирующие локальные значения template. */
|
|
26
16
|
portCalls: RComponentSFC_IR_PortCall[];
|
|
27
17
|
}
|
|
28
|
-
/** IR prop компонента. */
|
|
29
18
|
export interface RComponentSFC_IR_Prop {
|
|
30
|
-
/** Имя prop. */
|
|
31
19
|
name: string;
|
|
32
|
-
/** Доменный или TypeScript-тип prop в нормализованном виде. */
|
|
33
20
|
type: string;
|
|
34
|
-
/** Флаг массива. */
|
|
35
21
|
isArray?: boolean;
|
|
36
|
-
/** Флаг необязательного prop. */
|
|
37
22
|
optional?: boolean;
|
|
38
|
-
/** Позиция исходного объявления prop. */
|
|
39
23
|
sourceRange?: RComponentSFC_SourceRange;
|
|
40
24
|
}
|
|
41
|
-
/** IR локальный binding script setup. */
|
|
42
25
|
export interface RComponentSFC_IR_LocalBinding {
|
|
43
|
-
/** Имя binding. */
|
|
44
26
|
name: string;
|
|
45
|
-
/** Тип binding, если compiler смог его определить. */
|
|
46
27
|
type?: string;
|
|
47
|
-
/** Позиция исходного объявления binding. */
|
|
48
28
|
sourceRange?: RComponentSFC_SourceRange;
|
|
49
29
|
}
|
|
50
|
-
/** IR template-секции. */
|
|
51
30
|
export interface RComponentSFC_IR_Template {
|
|
52
|
-
/** Корневые узлы нормализованного template. */
|
|
53
31
|
roots: RComponentSFC_IR_Node[];
|
|
54
|
-
/** Явные renderer-neutral варианты корневого представления. */
|
|
55
32
|
variants?: ComponentSFCVariant[];
|
|
56
33
|
}
|
|
57
|
-
/** Один именованный вариант представления внутри template или Editable. */
|
|
58
34
|
export interface ComponentSFCVariant {
|
|
59
35
|
name: string;
|
|
60
36
|
nodeId: string;
|
|
61
37
|
}
|
|
62
|
-
/** Декларативный триггер входа в edit-вариант. */
|
|
63
38
|
export interface ComponentSFCInteractionTriggerModifiers {
|
|
64
|
-
/** Физическая клавиша Control на любой платформе. */
|
|
65
39
|
ctrl?: boolean;
|
|
66
|
-
/** Физическая клавиша Shift. */
|
|
67
40
|
shift?: boolean;
|
|
68
|
-
/** Физическая клавиша Alt/Option. */
|
|
69
41
|
alt?: boolean;
|
|
70
|
-
/** Физическая клавиша Meta: Command на macOS, Windows/Super на других платформах. */
|
|
71
42
|
meta?: boolean;
|
|
72
|
-
/** Основной shortcut modifier: Command на macOS, Control на Windows/Linux. */
|
|
73
43
|
mod?: boolean;
|
|
74
|
-
/** AltGraph, когда браузер предоставляет его через getModifierState(). */
|
|
75
44
|
altGraph?: boolean;
|
|
76
|
-
/** Запрещает дополнительные физические ctrl/shift/alt/meta modifiers. */
|
|
77
45
|
exact?: boolean;
|
|
78
46
|
}
|
|
79
|
-
/** Обычные немодификаторные клавиши, удерживаемые во время trigger event. */
|
|
80
47
|
export interface ComponentSFCInteractionTriggerHeldKeys {
|
|
81
|
-
/** Логические KeyboardEvent.key с учётом раскладки. */
|
|
82
48
|
key?: string[];
|
|
83
|
-
/** Физические KeyboardEvent.code без зависимости от раскладки. */
|
|
84
49
|
code?: string[];
|
|
85
|
-
/** all требует все перечисленные клавиши, any — хотя бы одну. */
|
|
86
50
|
match?: 'all' | 'any';
|
|
87
|
-
/** Запрещает другие удерживаемые обычные клавиши. */
|
|
88
51
|
exact?: boolean;
|
|
89
52
|
}
|
|
90
|
-
/** Условие на текущее состояние клавиатуры без привязки к конкретному событию. */
|
|
91
53
|
export interface ComponentSFCInteractionKeyboardCondition {
|
|
92
54
|
modifiers?: ComponentSFCInteractionTriggerModifiers;
|
|
93
55
|
held?: ComponentSFCInteractionTriggerHeldKeys;
|
|
@@ -106,22 +68,17 @@ export interface ComponentSFCInteractionTrigger extends ComponentSFCInteractionK
|
|
|
106
68
|
capture?: boolean;
|
|
107
69
|
passive?: boolean;
|
|
108
70
|
}
|
|
109
|
-
/** Альтернативные trigger-условия, любое из которых завершает один шаг активации. */
|
|
110
71
|
export type ComponentSFCInteractionTriggerSet = ComponentSFCInteractionTrigger[];
|
|
111
|
-
/** Один шаг последовательной активации и допустимая пауза после предыдущего шага. */
|
|
112
72
|
export interface ComponentSFCInteractionTriggerSequenceStep {
|
|
113
73
|
triggerSet: ComponentSFCInteractionTriggerSet;
|
|
114
74
|
maxIntervalMs?: number;
|
|
115
75
|
}
|
|
116
|
-
/** Последовательность TriggerSet-шагов; каждый следующий шаг ожидается в пределах своего интервала. */
|
|
117
76
|
export interface ComponentSFCInteractionTriggerSequence {
|
|
118
77
|
mode: 'sequence';
|
|
119
78
|
steps: ComponentSFCInteractionTriggerSequenceStep[];
|
|
120
79
|
}
|
|
121
|
-
/** Универсальная активация: legacy TriggerSet либо последовательность таких наборов. */
|
|
122
80
|
export type ComponentSFCInteractionTriggerActivation = ComponentSFCInteractionTriggerSet | ComponentSFCInteractionTriggerSequence;
|
|
123
81
|
export type ComponentSFCInteractionTriggerPlatform = 'macos' | 'windows' | 'linux' | 'unknown';
|
|
124
|
-
/** Renderer-neutral snapshot нативного события для проверки edit trigger. */
|
|
125
82
|
export interface ComponentSFCInteractionTriggerEvent {
|
|
126
83
|
key?: string;
|
|
127
84
|
code?: string;
|
|
@@ -141,76 +98,50 @@ export interface ComponentSFCInteractionTriggerEvent {
|
|
|
141
98
|
altGraph: boolean;
|
|
142
99
|
};
|
|
143
100
|
}
|
|
144
|
-
/** Editable-имена общего контракта взаимодействия для обратной совместимости. */
|
|
145
101
|
export type ComponentSFCEditTriggerModifiers = ComponentSFCInteractionTriggerModifiers;
|
|
146
102
|
export type ComponentSFCEditTriggerHeldKeys = ComponentSFCInteractionTriggerHeldKeys;
|
|
147
103
|
export type ComponentSFCEditTrigger = ComponentSFCInteractionTrigger;
|
|
148
104
|
export type ComponentSFCEditTriggerPlatform = ComponentSFCInteractionTriggerPlatform;
|
|
149
105
|
export type ComponentSFCEditTriggerEvent = ComponentSFCInteractionTriggerEvent;
|
|
150
|
-
/** Renderer-neutral поведение редактируемого template-узла. */
|
|
151
106
|
export interface ComponentSFCEditableBehavior {
|
|
152
107
|
value: RComponentSFC_IR_Value;
|
|
153
108
|
triggers: RComponentSFC_IR_Value;
|
|
154
|
-
/** Triggers, отменяющие активный черновик. По умолчанию Escape и уход focus из Editable. */
|
|
155
109
|
cancelTriggers: RComponentSFC_IR_Value;
|
|
156
|
-
/** Triggers, подтверждающие активный черновик. По умолчанию Enter. */
|
|
157
110
|
commitTriggers: RComponentSFC_IR_Value;
|
|
158
|
-
/** Статические суффиксные модификаторы, объявленные в `:edit-on`. */
|
|
159
111
|
modifiers?: RComponentSFC_IR_EventModifier[];
|
|
160
112
|
cancelModifiers?: RComponentSFC_IR_EventModifier[];
|
|
161
113
|
commitModifiers?: RComponentSFC_IR_EventModifier[];
|
|
162
114
|
}
|
|
163
|
-
/** Нормализованное публичное событие завершённого редактирования. */
|
|
164
115
|
export interface ComponentSFCEditedEventPayload<T = unknown> {
|
|
165
116
|
value: T;
|
|
166
117
|
previousValue: T;
|
|
167
118
|
}
|
|
168
|
-
/** IR узел template после нормализации в Endge primitives. */
|
|
169
119
|
export type RComponentSFC_IR_Node = RComponentSFC_IR_ElementNode | RComponentSFC_IR_TextNode | RComponentSFC_IR_ExpressionNode;
|
|
170
|
-
/** Поддерживаемые v1 primitives нового SFC template. */
|
|
171
120
|
export type RComponentSFC_IR_Tag = 'Text' | 'DateTime' | 'Number' | 'Icon' | 'Badge' | 'Dot' | 'Box' | 'Flex' | 'Grid' | 'Divider' | 'Input' | 'Textarea' | 'Checkbox' | 'Select' | 'Tooltip' | 'TooltipTrigger' | 'TooltipContent' | 'Component' | 'Table' | 'Column' | 'Cell' | 'ColumnMenu' | 'CellMenu' | 'RowMenu' | 'MenuItem' | 'MenuSeparator' | 'Editable' | 'Variant';
|
|
172
|
-
/** IR element-узел, который renderer-слои могут читать без знания исходного синтаксиса. */
|
|
173
121
|
export interface RComponentSFC_IR_ElementNode {
|
|
174
|
-
/** Стабильный id узла внутри IR. */
|
|
175
122
|
id: string;
|
|
176
|
-
/** Тип IR-узла. */
|
|
177
123
|
kind: 'element';
|
|
178
|
-
/** Нормализованный Endge primitive tag. */
|
|
179
124
|
tag: RComponentSFC_IR_Tag;
|
|
180
|
-
/** Исходный публичный тег компонента до нормализации в Component. */
|
|
181
125
|
componentTag?: string;
|
|
182
|
-
/** Нормализованные props элемента. */
|
|
183
126
|
props: Record<string, RComponentSFC_IR_Value>;
|
|
184
|
-
/** Нормализованные control-flow директивы элемента. */
|
|
185
127
|
directives: RComponentSFC_IR_Directives;
|
|
186
|
-
/** Локальные реакции renderer на Event, объявленные через атрибуты `@event`. */
|
|
187
128
|
events?: RComponentSFC_IR_EventBinding[];
|
|
188
|
-
/** Условные локальные реакции, объявленные через нейтральную к renderer аннотацию `:on`. */
|
|
189
129
|
interactions?: RComponentSFC_IR_InteractionGroup[];
|
|
190
|
-
/** Compiler-owned edit behavior; editable/edit-on не передаются visual adapter-у как props. */
|
|
191
130
|
editable?: ComponentSFCEditableBehavior;
|
|
192
|
-
/** Дочерние IR-узлы. */
|
|
193
131
|
children: RComponentSFC_IR_Node[];
|
|
194
|
-
/** Маркер порта локального компонента, сохранённый для будущих переопределений провайдера. */
|
|
195
132
|
port?: RComponentSFC_IR_ComponentPortMarker;
|
|
196
|
-
/** Статические bindings экземпляра для обязательных портов дочернего компонента. */
|
|
197
133
|
portBindings?: ComponentSFCRequiredPortBinding[];
|
|
198
|
-
/** Разрешённые компилятором меню Table, включая перенаправленные идентификаторы и цели Action. */
|
|
199
134
|
tableMenus?: RComponentSFC_IR_TableMenus;
|
|
200
|
-
/** Разрешённое компилятором переопределение CellMenu для одной Column. */
|
|
201
135
|
cellMenu?: ComponentSFCTableCellMenuDescriptor;
|
|
202
|
-
/** Позиция исходного AST-узла. */
|
|
203
136
|
sourceRange?: RComponentSFC_SourceRange;
|
|
204
137
|
}
|
|
205
138
|
export interface RComponentSFC_IR_TableMenus {
|
|
206
139
|
column: ComponentSFCTableColumnMenuDescriptor;
|
|
207
|
-
/** Меню ячейки данных по умолчанию. `row` сохранено как имя поля совместимости. */
|
|
208
140
|
row: ComponentSFCTableCellMenuDescriptor;
|
|
209
141
|
}
|
|
210
142
|
export type ComponentSFCTableColumnMenuMode = 'default' | 'disabled' | 'inline';
|
|
211
143
|
export type ComponentSFCTableRowMenuMode = 'none' | 'inline';
|
|
212
144
|
export type ComponentSFCTableCellMenuMode = 'none' | 'inline';
|
|
213
|
-
/** Нейтральное к renderer меню в скомпилированной форме SFC до появления контекста конкретной строки и колонки. */
|
|
214
145
|
export interface ComponentSFCTableMenuDescriptor {
|
|
215
146
|
kind: 'sfc-table-menu';
|
|
216
147
|
items: ComponentSFCTableMenuNodeDescriptor[];
|
|
@@ -220,16 +151,12 @@ export interface ComponentSFCTableMenuItemDescriptor {
|
|
|
220
151
|
kind: 'item';
|
|
221
152
|
id: string;
|
|
222
153
|
label: RComponentSFC_IR_Value;
|
|
223
|
-
/** Выражение `v-if`, вычисляемое в контексте конкретной таблицы и ячейки. */
|
|
224
154
|
visible?: RComponentSFC_IR_Value;
|
|
225
|
-
/** Статическое или динамическое состояние disabled, вычисляемое в том же контексте, что и Action. */
|
|
226
155
|
disabled?: RComponentSFC_IR_Value;
|
|
227
156
|
action: string;
|
|
228
|
-
/** Обязательный порт Action, смонтированный провайдер которого может заменить `action`. */
|
|
229
157
|
requiredPort?: string;
|
|
230
158
|
input?: RComponentSFC_IR_Value;
|
|
231
159
|
icon?: string;
|
|
232
|
-
/** Задаётся только для предоставленного alias, перенаправленного из этого конкретного узла Table. */
|
|
233
160
|
forwardedFrom?: ComponentSFCPortForwardOrigin;
|
|
234
161
|
}
|
|
235
162
|
export interface ComponentSFCTableMenuSeparatorDescriptor {
|
|
@@ -246,96 +173,63 @@ export interface ComponentSFCTableRowMenuDescriptor {
|
|
|
246
173
|
menu: ComponentSFCTableMenuDescriptor | null;
|
|
247
174
|
diagnostics: RComponentDiagnostic[];
|
|
248
175
|
}
|
|
249
|
-
/** Канонический описатель меню ячейки. RowMenu использует ту же форму как legacy alias. */
|
|
250
176
|
export type ComponentSFCTableCellMenuDescriptor = ComponentSFCTableRowMenuDescriptor;
|
|
251
177
|
export type RComponentSFC_IR_EventModifier = 'stop' | 'prevent' | 'self' | 'once' | 'capture' | 'passive';
|
|
252
178
|
export interface RComponentSFC_IR_EventBinding {
|
|
253
179
|
name: string;
|
|
254
180
|
modifiers: RComponentSFC_IR_EventModifier[];
|
|
255
181
|
action: ComponentSFCEventAction;
|
|
256
|
-
/** Упорядоченные реакции. `action` остаётся представлением первого элемента для совместимости. */
|
|
257
182
|
actions?: ComponentSFCEventAction[];
|
|
258
183
|
sourceRange?: RComponentSFC_SourceRange;
|
|
259
184
|
}
|
|
260
185
|
export interface RComponentSFC_IR_InteractionRule {
|
|
261
|
-
/** Статическое имя события, необходимое для установки listener адаптера. */
|
|
262
186
|
event: string;
|
|
263
|
-
/** Вычисляемый в runtime описатель trigger без `reaction`. */
|
|
264
187
|
trigger: RComponentSFC_IR_Value;
|
|
265
|
-
/** Суффиксные модификаторы, применяемые к правилу после вычисления `trigger`. */
|
|
266
188
|
modifiers: RComponentSFC_IR_EventModifier[];
|
|
267
|
-
/** Параметры listener, известные при компиляции. */
|
|
268
189
|
listener: {
|
|
269
190
|
capture: boolean;
|
|
270
191
|
passive: boolean;
|
|
271
192
|
};
|
|
272
|
-
/** Реакции, последовательно выполняемые в порядке Source. */
|
|
273
193
|
reactions: ComponentSFCEventAction[];
|
|
274
194
|
sourceRange?: RComponentSFC_SourceRange;
|
|
275
195
|
}
|
|
276
|
-
/** Один TriggerSet по ссылке вместе с реакциями, стабильными между слоями контекста. */
|
|
277
196
|
export interface RComponentSFC_IR_InteractionTriggerSet {
|
|
278
197
|
triggers: RComponentSFC_IR_Value;
|
|
279
|
-
/** Имена Event, поддерживаемые скомпилированной поверхностью событий исходного тега. */
|
|
280
198
|
events: string[];
|
|
281
199
|
modifiers: RComponentSFC_IR_EventModifier[];
|
|
282
200
|
reactions: ComponentSFCEventAction[];
|
|
283
201
|
sourceRange?: RComponentSFC_SourceRange;
|
|
284
202
|
}
|
|
285
|
-
/** Одна аннотация `:on`. Правила группы используют семантику первого совпадения. */
|
|
286
203
|
export interface RComponentSFC_IR_InteractionGroup {
|
|
287
204
|
rules: RComponentSFC_IR_InteractionRule[];
|
|
288
|
-
/** Необязательная форма TriggerSet `{ triggers, reaction }`, основанная на контексте. */
|
|
289
205
|
triggerSet?: RComponentSFC_IR_InteractionTriggerSet;
|
|
290
206
|
sourceRange?: RComponentSFC_SourceRange;
|
|
291
207
|
}
|
|
292
|
-
/** IR текстовый узел. */
|
|
293
208
|
export interface RComponentSFC_IR_TextNode {
|
|
294
|
-
/** Стабильный id узла внутри IR. */
|
|
295
209
|
id: string;
|
|
296
|
-
/** Тип IR-узла. */
|
|
297
210
|
kind: 'text';
|
|
298
|
-
/** Текстовое содержимое. */
|
|
299
211
|
value: string;
|
|
300
|
-
/** Позиция исходного AST-узла. */
|
|
301
212
|
sourceRange?: RComponentSFC_SourceRange;
|
|
302
213
|
}
|
|
303
|
-
/** IR expression-узел, обычно полученный из interpolation. */
|
|
304
214
|
export interface RComponentSFC_IR_ExpressionNode {
|
|
305
|
-
/** Стабильный id узла внутри IR. */
|
|
306
215
|
id: string;
|
|
307
|
-
/** Тип IR-узла. */
|
|
308
216
|
kind: 'expression';
|
|
309
|
-
/** Нормализованное выражение. */
|
|
310
217
|
value: RComponentSFC_IR_Value;
|
|
311
|
-
/** Позиция исходного AST-узла. */
|
|
312
218
|
sourceRange?: RComponentSFC_SourceRange;
|
|
313
219
|
}
|
|
314
|
-
/** Нормализованное значение prop/directive/text expression. */
|
|
315
220
|
export type RComponentSFC_IR_Value = RComponentSFC_IR_LiteralValue | RComponentSFC_IR_ExpressionValue;
|
|
316
|
-
/** Literal-значение без runtime-вычисления. */
|
|
317
221
|
export interface RComponentSFC_IR_LiteralValue {
|
|
318
|
-
/** Тип значения. */
|
|
319
222
|
kind: 'literal';
|
|
320
|
-
/** Непосредственное значение. */
|
|
321
223
|
value: unknown;
|
|
322
224
|
}
|
|
323
|
-
/** Runtime-выражение с зависимостями для реактивного обновления. */
|
|
324
225
|
export interface RComponentSFC_IR_ExpressionValue {
|
|
325
|
-
/** Готовая программа выражения; source используется только инструментами authoring/debug. */
|
|
326
226
|
expression: ComponentSFCExpressionIR;
|
|
327
|
-
/** Тип значения. */
|
|
328
227
|
kind: 'expression';
|
|
329
|
-
/** Исходный текст выражения. */
|
|
330
228
|
source: string;
|
|
331
|
-
/** Зависимости, которые выражение читает. */
|
|
332
229
|
reads: RComponentSFC_IR_Read[];
|
|
333
|
-
/** Статические обращения к Vocab aliases текущего Composition scope. */
|
|
334
230
|
vocabReads?: RComponentSFC_IR_VocabRead[];
|
|
335
|
-
/** Статические read-only обращения `$data.metaOf(reference[, namespace])`. */
|
|
336
231
|
dataMetaReads?: RComponentSFC_IR_DataMetaRead[];
|
|
337
232
|
}
|
|
338
|
-
/** Ссылка на business value, метаданные которого читает Component SFC. */
|
|
339
233
|
export type RComponentSFC_IR_DataMetaReference = {
|
|
340
234
|
kind: 'prop';
|
|
341
235
|
prop: string;
|
|
@@ -344,53 +238,32 @@ export type RComponentSFC_IR_DataMetaReference = {
|
|
|
344
238
|
kind: 'table-row';
|
|
345
239
|
path: string[];
|
|
346
240
|
};
|
|
347
|
-
/** Статическое обращение к Raph Meta-plane без публикации DataPath в props. */
|
|
348
241
|
export interface RComponentSFC_IR_DataMetaRead {
|
|
349
242
|
reference: RComponentSFC_IR_DataMetaReference;
|
|
350
243
|
namespace: string | null;
|
|
351
244
|
raw: string;
|
|
352
245
|
}
|
|
353
|
-
/** Статическое обращение `vocab(alias, mapping?)` внутри SFC expression. */
|
|
354
246
|
export interface RComponentSFC_IR_VocabRead {
|
|
355
|
-
/** Публичный alias из ближайшего Composition scope. */
|
|
356
247
|
alias: string;
|
|
357
|
-
/** Путь option value внутри элемента Vocab. */
|
|
358
248
|
valuePath: string;
|
|
359
|
-
/** Путь option label внутри элемента Vocab. */
|
|
360
249
|
labelPath: string;
|
|
361
|
-
/** Исходное выражение для diagnostics/debug. */
|
|
362
250
|
raw: string;
|
|
363
251
|
}
|
|
364
|
-
/** Реактивное чтение, найденное внутри выражения. */
|
|
365
252
|
export interface RComponentSFC_IR_Read {
|
|
366
|
-
/** Источник чтения: props, Raph/store, context или локальный binding. */
|
|
367
253
|
source: 'props' | 'raph' | 'context' | 'local';
|
|
368
|
-
/** Нормализованный путь чтения. */
|
|
369
254
|
path: string[];
|
|
370
|
-
/** Исходный текст чтения. */
|
|
371
255
|
raw: string;
|
|
372
256
|
}
|
|
373
|
-
/** Нормализованные control-flow директивы IR element-узла. */
|
|
374
257
|
export interface RComponentSFC_IR_Directives {
|
|
375
|
-
/** Условие отображения узла. */
|
|
376
258
|
if?: RComponentSFC_IR_Value;
|
|
377
|
-
/** Условие отображения else-if узла. */
|
|
378
259
|
elseIf?: RComponentSFC_IR_Value;
|
|
379
|
-
/** Флаг else ветки. */
|
|
380
260
|
else?: boolean;
|
|
381
|
-
/** Описание цикла for. */
|
|
382
261
|
for?: RComponentSFC_IR_ForDirective;
|
|
383
|
-
/** Значение key для повторяемых узлов. */
|
|
384
262
|
key?: RComponentSFC_IR_Value;
|
|
385
263
|
}
|
|
386
|
-
/** Нормализованная for-директива. */
|
|
387
264
|
export interface RComponentSFC_IR_ForDirective {
|
|
388
|
-
/** Имя переменной элемента коллекции. */
|
|
389
265
|
item: string;
|
|
390
|
-
/** Имя переменной индекса, если она указана. */
|
|
391
266
|
index?: string;
|
|
392
|
-
/** Источник коллекции. */
|
|
393
267
|
source: RComponentSFC_IR_Value;
|
|
394
268
|
}
|
|
395
|
-
/** IR style-секции после нормализации endgecss. */
|
|
396
269
|
export type RComponentSFC_IR_Style = EndgeStyleSheetArtifact;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
/** Позиция фрагмента внутри полного SFC source. */
|
|
2
1
|
export interface RComponentSFC_SourceRange {
|
|
3
|
-
/** Абсолютный offset начала фрагмента в source. */
|
|
4
2
|
start: number;
|
|
5
|
-
/** Абсолютный offset конца фрагмента в source. */
|
|
6
3
|
end: number;
|
|
7
|
-
/** Номер строки начала фрагмента, если parser его посчитал. */
|
|
8
4
|
startLine?: number;
|
|
9
|
-
/** Номер колонки начала фрагмента, если parser его посчитал. */
|
|
10
5
|
startColumn?: number;
|
|
11
|
-
/** Номер строки конца фрагмента, если parser его посчитал. */
|
|
12
6
|
endLine?: number;
|
|
13
|
-
/** Номер колонки конца фрагмента, если parser его посчитал. */
|
|
14
7
|
endColumn?: number;
|
|
15
8
|
}
|