@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,30 @@
|
|
|
1
|
+
import { DiagnosticsProblemInput } from '../../diagnostics/domain/types/diagnostics.types';
|
|
2
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
3
|
+
import { RMockContentSource, RMockContentType } from '../../mock/domain/types/mock-data.type';
|
|
4
|
+
/**
|
|
5
|
+
* Сохранённый source-first документ mock.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RMock extends REntity {
|
|
8
|
+
displayName: string;
|
|
9
|
+
description: string | null;
|
|
10
|
+
contentSource: RMockContentSource;
|
|
11
|
+
contentType: RMockContentType;
|
|
12
|
+
source: string;
|
|
13
|
+
codeRef: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Создает доменную модель из portable plain source.
|
|
16
|
+
*/
|
|
17
|
+
static fromPlain(json: any, storageMeta?: any): RMock;
|
|
18
|
+
/**
|
|
19
|
+
* Возвращает portable persisted representation.
|
|
20
|
+
*/
|
|
21
|
+
toPlain(): Record<string, unknown>;
|
|
22
|
+
/**
|
|
23
|
+
* Возвращает validation problems mock-документа без mutable entity state.
|
|
24
|
+
*/
|
|
25
|
+
getDiagnosticProblems(): DiagnosticsProblemInput[];
|
|
26
|
+
/**
|
|
27
|
+
* Создает копию документа с новым identity.
|
|
28
|
+
*/
|
|
29
|
+
duplicate(options: DuplicateOptions): RMock;
|
|
30
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
import { DomainDocumentType } from '../types/document/document.types';
|
|
3
|
+
import { EntityManagement } from '../types/document/entity-management.type';
|
|
4
|
+
import { NavigationTreeNodeDoc } from '../types/document/navigation.types';
|
|
5
|
+
export interface RNavigationSchema extends EntityManagement {
|
|
6
|
+
id: string | number;
|
|
7
|
+
identity: string;
|
|
8
|
+
name: string;
|
|
9
|
+
displayName?: string;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
folderId?: string | number | null;
|
|
12
|
+
tree?: NavigationTreeNodeDoc[];
|
|
13
|
+
meta?: Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Навигация (коллекция navigations).
|
|
17
|
+
*/
|
|
18
|
+
export declare class RNavigation extends REntity {
|
|
19
|
+
description: string | null;
|
|
20
|
+
tree: NavigationTreeNodeDoc[];
|
|
21
|
+
/**
|
|
22
|
+
* Тип документа для редактора/инспектора.
|
|
23
|
+
*/
|
|
24
|
+
get type(): DomainDocumentType;
|
|
25
|
+
toPlain(): RNavigationSchema;
|
|
26
|
+
duplicate(options: DuplicateOptions): RNavigation;
|
|
27
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
import { DomainDocumentType } from '../types/document/document.types';
|
|
3
|
+
import { EntityManagement } from '../types/document/entity-management.type';
|
|
4
|
+
export interface RPageAreaBlockSchema {
|
|
5
|
+
key: string;
|
|
6
|
+
entityType?: string | null;
|
|
7
|
+
entityId?: number | null;
|
|
8
|
+
entityIdentity?: string | null;
|
|
9
|
+
titleOverride?: string | null;
|
|
10
|
+
visibleWhen?: string | null;
|
|
11
|
+
props?: Record<string, unknown> | null;
|
|
12
|
+
}
|
|
13
|
+
export interface RPageAreaSchema {
|
|
14
|
+
slotId: string;
|
|
15
|
+
blocks?: RPageAreaBlockSchema[];
|
|
16
|
+
}
|
|
17
|
+
export interface RPageSchema extends EntityManagement {
|
|
18
|
+
id: number;
|
|
19
|
+
identity: string;
|
|
20
|
+
name: string;
|
|
21
|
+
description?: string | null;
|
|
22
|
+
routeName?: string | null;
|
|
23
|
+
routePath?: string | null;
|
|
24
|
+
templateId?: number | null;
|
|
25
|
+
enabled?: boolean;
|
|
26
|
+
areas?: RPageAreaSchema[];
|
|
27
|
+
meta?: Record<string, unknown>;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Страница приложения (коллекция pages).
|
|
31
|
+
*/
|
|
32
|
+
export declare class RPage extends REntity {
|
|
33
|
+
description: string | null;
|
|
34
|
+
routeName: string | null;
|
|
35
|
+
routePath: string | null;
|
|
36
|
+
templateId: number | null;
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
areas: RPageAreaSchema[];
|
|
39
|
+
/**
|
|
40
|
+
* Тип документа для редактора/инспектора.
|
|
41
|
+
*/
|
|
42
|
+
get type(): DomainDocumentType;
|
|
43
|
+
toPlain(): RPageSchema;
|
|
44
|
+
duplicate(options: DuplicateOptions): RPage;
|
|
45
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
import { DomainDocumentType } from '../types/document/document.types';
|
|
3
|
+
import { EntityManagement } from '../types/document/entity-management.type';
|
|
4
|
+
export interface RPageTemplateAreaSchema {
|
|
5
|
+
identity: string;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
description?: string | null;
|
|
8
|
+
}
|
|
9
|
+
export type RPageTemplatePreviewRowHeight = 'short' | 'normal' | 'tall';
|
|
10
|
+
export interface RPageTemplatePreviewSchema {
|
|
11
|
+
rows: string[][];
|
|
12
|
+
rowHeights?: RPageTemplatePreviewRowHeight[];
|
|
13
|
+
}
|
|
14
|
+
export interface RPageTemplateSchema extends EntityManagement {
|
|
15
|
+
id: string | number;
|
|
16
|
+
name: string;
|
|
17
|
+
description?: string | null;
|
|
18
|
+
areas?: RPageTemplateAreaSchema[];
|
|
19
|
+
preview?: RPageTemplatePreviewSchema | null;
|
|
20
|
+
meta?: Record<string, unknown>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Шаблон страницы (коллекция page-templates).
|
|
24
|
+
*/
|
|
25
|
+
export declare class RPageTemplate extends REntity {
|
|
26
|
+
description: string | null;
|
|
27
|
+
areas: RPageTemplateAreaSchema[];
|
|
28
|
+
preview: RPageTemplatePreviewSchema | null;
|
|
29
|
+
/**
|
|
30
|
+
* Тип документа для редактора/инспектора.
|
|
31
|
+
*/
|
|
32
|
+
get type(): DomainDocumentType;
|
|
33
|
+
toPlain(): RPageTemplateSchema;
|
|
34
|
+
duplicate(options: DuplicateOptions): RPageTemplate;
|
|
35
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Сущность политики (коллекция policies). identity, displayName, description, folder.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RPolicy extends REntity {
|
|
6
|
+
description: string | null;
|
|
7
|
+
toPlain(): Record<string, unknown>;
|
|
8
|
+
duplicate(options: DuplicateOptions): RPolicy;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { REntity } from './REntity';
|
|
2
|
+
import { QueryType } from '../types/document/document.types';
|
|
3
|
+
/**
|
|
4
|
+
* Persisted Query document.
|
|
5
|
+
*
|
|
6
|
+
* Все transport, mock, input и output contracts живут исключительно в source;
|
|
7
|
+
* RQuery хранит только общие document-поля и source.
|
|
8
|
+
*/
|
|
9
|
+
export declare class RQuery extends REntity {
|
|
10
|
+
type: QueryType;
|
|
11
|
+
source: string;
|
|
12
|
+
sourceVersion: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Сохранённое source-first определение отдельного запуска Simulation.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RSimulation extends REntity {
|
|
6
|
+
readonly type: "simulation";
|
|
7
|
+
source: string;
|
|
8
|
+
sourceVersion: number;
|
|
9
|
+
duplicate(options: DuplicateOptions): RSimulation;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Persisted source-first описание пользовательского хранилища.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RStore extends REntity {
|
|
6
|
+
description: string | null;
|
|
7
|
+
source: string;
|
|
8
|
+
sourceVersion: number;
|
|
9
|
+
duplicate(options: DuplicateOptions): RStore;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Сохранённое source-first определение нормализованного потока событий.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RStream extends REntity {
|
|
6
|
+
readonly type: "stream";
|
|
7
|
+
source: string;
|
|
8
|
+
sourceVersion: number;
|
|
9
|
+
duplicate(options: DuplicateOptions): RStream;
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
export declare const ENDGE_STYLE_DEFAULT_SOURCE = "/* EndgeCSS is renderer-neutral. */\n* {\n --surface: #ffffff;\n --text: #111827;\n}\n\n@theme dark {\n --surface: #111827;\n --text: #f9fafb;\n}\n";
|
|
3
|
+
/**
|
|
4
|
+
* Сохранённый source-first документ EndgeCSS без compiled/runtime-состояния.
|
|
5
|
+
*/
|
|
6
|
+
export declare class RStyle extends REntity {
|
|
7
|
+
readonly type: "style";
|
|
8
|
+
description: string | null;
|
|
9
|
+
source: string;
|
|
10
|
+
sourceVersion: number;
|
|
11
|
+
static fromPlain(json: any, storageMeta?: any): RStyle;
|
|
12
|
+
toPlain(): Record<string, unknown>;
|
|
13
|
+
duplicate(options: DuplicateOptions): RStyle;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { REntity } from './REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Source-first доменная сущность типа.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RType extends REntity<string> {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
isPrimitive: boolean;
|
|
9
|
+
source: string;
|
|
10
|
+
sourceVersion: number;
|
|
11
|
+
constructor(name?: string);
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Сохранённое source-first определение изменения, принадлежащее Store.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RUpdate extends REntity {
|
|
6
|
+
readonly type: "update";
|
|
7
|
+
storeIdentity: string;
|
|
8
|
+
source: string;
|
|
9
|
+
sourceVersion: number;
|
|
10
|
+
duplicate(options: DuplicateOptions): RUpdate;
|
|
11
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Доменная сущность версии (снимок домена).
|
|
3
|
+
* data подгружается только по требованию (скачивание).
|
|
4
|
+
*/
|
|
5
|
+
export declare class RVersion {
|
|
6
|
+
id: number;
|
|
7
|
+
identity: string;
|
|
8
|
+
description: string;
|
|
9
|
+
data?: any;
|
|
10
|
+
createdAt?: string;
|
|
11
|
+
updatedAt?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Заполнить из persisted document (без data для списка).
|
|
14
|
+
*/
|
|
15
|
+
static fromPlain(doc: {
|
|
16
|
+
id: number;
|
|
17
|
+
identity?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
data?: any;
|
|
20
|
+
createdAt?: string;
|
|
21
|
+
updatedAt?: string;
|
|
22
|
+
}): RVersion;
|
|
23
|
+
toPlain(): {
|
|
24
|
+
id: string | number;
|
|
25
|
+
identity: string;
|
|
26
|
+
description: string;
|
|
27
|
+
data?: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DiagnosticsProblemInput } from '../../diagnostics/domain/types/diagnostics.types';
|
|
2
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
3
|
+
export type RVocabMode = 'external_payload' | 'internal';
|
|
4
|
+
/**
|
|
5
|
+
* Сущность словаря (коллекция vocabs). Один документ = один словарь.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RVocabs extends REntity {
|
|
8
|
+
sourceVersion: number;
|
|
9
|
+
source: string;
|
|
10
|
+
description: string | null;
|
|
11
|
+
mode: RVocabMode;
|
|
12
|
+
baseApiUrl?: string | null;
|
|
13
|
+
collectionSlug?: string | null;
|
|
14
|
+
active: boolean;
|
|
15
|
+
authMode: 'inherit' | 'profile' | 'none';
|
|
16
|
+
authProfileIdentity?: string | null;
|
|
17
|
+
static fromPlain(json: any): RVocabs;
|
|
18
|
+
toPlain(): Record<string, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* Возвращает validation problems vocab без mutable entity state.
|
|
21
|
+
*/
|
|
22
|
+
getDiagnosticProblems(): DiagnosticsProblemInput[];
|
|
23
|
+
duplicate(options: DuplicateOptions): RVocabs;
|
|
24
|
+
}
|
|
25
|
+
export declare function createLegacyVocabSource(input: {
|
|
26
|
+
mode: RVocabMode;
|
|
27
|
+
baseApiUrl?: string | null;
|
|
28
|
+
collectionSlug?: string | null;
|
|
29
|
+
authMode?: 'inherit' | 'profile' | 'none';
|
|
30
|
+
authProfileIdentity?: string | null;
|
|
31
|
+
}): string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EndgeConfiguration } from '../../configuration/domain/types/configuration.type';
|
|
2
|
+
import { EndgeDataMode, EndgeWorkspaceDefinition, EndgeWorkspaceDocumentStructure, WorkspaceIntegrationReference } from '../../workspace/domain/workspace.types';
|
|
3
|
+
import { REntity } from './REntity';
|
|
4
|
+
/**
|
|
5
|
+
* Сохранённый корень Workspace с одним полным документом конфигурации.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RWorkspace extends REntity implements EndgeWorkspaceDefinition {
|
|
8
|
+
displayName: string;
|
|
9
|
+
dataMode: EndgeDataMode;
|
|
10
|
+
documentStructure: EndgeWorkspaceDocumentStructure;
|
|
11
|
+
startupCompositionIdentity: string | null;
|
|
12
|
+
configuration: EndgeConfiguration;
|
|
13
|
+
installedIntegrations: WorkspaceIntegrationReference[];
|
|
14
|
+
static fromPlain(input: unknown): RWorkspace;
|
|
15
|
+
toPlain(): EndgeWorkspaceDefinition;
|
|
16
|
+
}
|
|
17
|
+
export declare function normalizeEndgeWorkspaceDefinition(input: unknown): EndgeWorkspaceDefinition;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { REntity } from '../entities/REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Универсальный индекс неперсистентных дескрипторов результирующего домена.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ResolvedEntityIndex {
|
|
6
|
+
private readonly _entities;
|
|
7
|
+
set<TEntity extends REntity>(type: string, entity: TEntity): void;
|
|
8
|
+
get<TEntity extends REntity>(type: string, identity: string): TEntity | null;
|
|
9
|
+
list<TEntity extends REntity>(type: string): TEntity[];
|
|
10
|
+
delete(type: string, identity: string): void;
|
|
11
|
+
/**
|
|
12
|
+
* Удаляет только вычисленные при сборке записи, сохраняя встроенные и локальные.
|
|
13
|
+
*/
|
|
14
|
+
clearDerived(type?: string): void;
|
|
15
|
+
clear(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export type RComponentRenderTarget = 'dom' | 'canvas';
|
|
2
|
+
export type RComponentSourceKind = 'component-sfc';
|
|
3
|
+
export type RComponentDiagnosticSeverity = 'info' | 'warning' | 'error';
|
|
4
|
+
export interface RComponentRef {
|
|
5
|
+
source: 'component-sfc';
|
|
6
|
+
id: string | number;
|
|
7
|
+
role?: 'child-component' | 'port-default-component' | 'port-override-component';
|
|
8
|
+
}
|
|
9
|
+
export interface RComputationRef {
|
|
10
|
+
source: 'computation';
|
|
11
|
+
id: string | number;
|
|
12
|
+
role: 'port-default-computation' | 'port-override-computation';
|
|
13
|
+
}
|
|
14
|
+
export interface RComponentDiagnostic {
|
|
15
|
+
severity: RComponentDiagnosticSeverity;
|
|
16
|
+
code: string;
|
|
17
|
+
message: string;
|
|
18
|
+
sourcePath?: string;
|
|
19
|
+
start?: number;
|
|
20
|
+
end?: number;
|
|
21
|
+
}
|
|
22
|
+
export interface RComponentContractInput {
|
|
23
|
+
name: string;
|
|
24
|
+
type: string;
|
|
25
|
+
isArray?: boolean;
|
|
26
|
+
optional?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface RComponentContractEvent {
|
|
29
|
+
name: string;
|
|
30
|
+
payloadType?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface RComponentContractSlot {
|
|
33
|
+
name: string;
|
|
34
|
+
scope?: string[];
|
|
35
|
+
}
|
|
36
|
+
export interface RComponentContract {
|
|
37
|
+
inputs: RComponentContractInput[];
|
|
38
|
+
events: RComponentContractEvent[];
|
|
39
|
+
slots: RComponentContractSlot[];
|
|
40
|
+
}
|
|
41
|
+
export interface RComponentDependencies {
|
|
42
|
+
components: RComponentRef[];
|
|
43
|
+
computations: RComputationRef[];
|
|
44
|
+
actions: string[];
|
|
45
|
+
queries: string[];
|
|
46
|
+
dataSources: string[];
|
|
47
|
+
renderers: string[];
|
|
48
|
+
}
|
|
49
|
+
export declare function createEmptyComponentContract(): RComponentContract;
|
|
50
|
+
export declare function createEmptyComponentDependencies(): RComponentDependencies;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RComponentDSL } from '../../entities/RComponentDSL';
|
|
2
|
+
import { RComponentSFC } from '../../entities/RComponentSFC';
|
|
3
|
+
import { RComponentTable } from '../../entities/RComponentTable';
|
|
4
|
+
import { ComponentType } from '../document/document.types';
|
|
5
|
+
export declare enum ComponentKind {
|
|
6
|
+
JSX = "jsx",
|
|
7
|
+
Vue = "vue"
|
|
8
|
+
}
|
|
9
|
+
export type RComponent = RComponentDSL | RComponentTable;
|
|
10
|
+
export type RAnyComponent = RComponent | RComponentSFC;
|
|
11
|
+
export type ColumnComponentType = ComponentType.Html | ComponentType.Component;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { File } from '@babel/types';
|
|
2
|
+
import { RComponentSFC_SourceRange } from './location.types';
|
|
3
|
+
export interface RComponentSFC_AST {
|
|
4
|
+
version: 1;
|
|
5
|
+
script: RComponentSFC_AST_Script | null;
|
|
6
|
+
template: RComponentSFC_AST_Template | null;
|
|
7
|
+
style: RComponentSFC_AST_Style | null;
|
|
8
|
+
}
|
|
9
|
+
export interface RComponentSFC_AST_Script {
|
|
10
|
+
syntax?: File | null;
|
|
11
|
+
lang: string | null;
|
|
12
|
+
setup: boolean;
|
|
13
|
+
content: string;
|
|
14
|
+
props: RComponentSFC_AST_PropsDeclaration | null;
|
|
15
|
+
previewProps: RComponentSFC_AST_PreviewPropsDeclaration | null;
|
|
16
|
+
metadata: RComponentSFC_AST_MetadataDeclaration[];
|
|
17
|
+
bindings: RComponentSFC_AST_ScriptBinding[];
|
|
18
|
+
range: RComponentSFC_SourceRange;
|
|
19
|
+
}
|
|
20
|
+
export interface RComponentSFC_AST_PropsDeclaration {
|
|
21
|
+
source: string;
|
|
22
|
+
mode: 'type' | 'runtime';
|
|
23
|
+
range: RComponentSFC_SourceRange;
|
|
24
|
+
}
|
|
25
|
+
export interface RComponentSFC_AST_PreviewPropsDeclaration {
|
|
26
|
+
source: string;
|
|
27
|
+
optionsSource?: string | null;
|
|
28
|
+
range: RComponentSFC_SourceRange;
|
|
29
|
+
}
|
|
30
|
+
export interface RComponentSFC_AST_MetadataDeclaration {
|
|
31
|
+
source: string;
|
|
32
|
+
range: RComponentSFC_SourceRange;
|
|
33
|
+
}
|
|
34
|
+
export interface RComponentSFC_AST_ScriptBinding {
|
|
35
|
+
name: string;
|
|
36
|
+
kind: 'prop' | 'const' | 'let' | 'function' | 'import' | 'store' | 'unknown';
|
|
37
|
+
range: RComponentSFC_SourceRange;
|
|
38
|
+
}
|
|
39
|
+
export interface RComponentSFC_AST_Template {
|
|
40
|
+
roots: RComponentSFC_AST_TemplateNode[];
|
|
41
|
+
range: RComponentSFC_SourceRange;
|
|
42
|
+
}
|
|
43
|
+
export type RComponentSFC_AST_TemplateNode = {
|
|
44
|
+
kind: 'comment';
|
|
45
|
+
content: string;
|
|
46
|
+
range: RComponentSFC_SourceRange;
|
|
47
|
+
} | RComponentSFC_AST_ElementNode | RComponentSFC_AST_TextNode | RComponentSFC_AST_InterpolationNode;
|
|
48
|
+
export interface RComponentSFC_AST_ElementNode {
|
|
49
|
+
kind: 'element';
|
|
50
|
+
tag: string;
|
|
51
|
+
attributes: RComponentSFC_AST_Attribute[];
|
|
52
|
+
directives: RComponentSFC_AST_Directive[];
|
|
53
|
+
children: RComponentSFC_AST_TemplateNode[];
|
|
54
|
+
selfClosing: boolean;
|
|
55
|
+
range: RComponentSFC_SourceRange;
|
|
56
|
+
}
|
|
57
|
+
export interface RComponentSFC_AST_TextNode {
|
|
58
|
+
kind: 'text';
|
|
59
|
+
content: string;
|
|
60
|
+
range: RComponentSFC_SourceRange;
|
|
61
|
+
}
|
|
62
|
+
export interface RComponentSFC_AST_InterpolationNode {
|
|
63
|
+
kind: 'interpolation';
|
|
64
|
+
expression: string;
|
|
65
|
+
range: RComponentSFC_SourceRange;
|
|
66
|
+
}
|
|
67
|
+
export interface RComponentSFC_AST_Attribute {
|
|
68
|
+
name: string;
|
|
69
|
+
value: string | null;
|
|
70
|
+
dynamic: boolean;
|
|
71
|
+
modifiers: string[];
|
|
72
|
+
range: RComponentSFC_SourceRange;
|
|
73
|
+
}
|
|
74
|
+
export interface RComponentSFC_AST_Directive {
|
|
75
|
+
name: string;
|
|
76
|
+
argument?: string;
|
|
77
|
+
expression?: string;
|
|
78
|
+
modifiers: string[];
|
|
79
|
+
range: RComponentSFC_SourceRange;
|
|
80
|
+
}
|
|
81
|
+
export interface RComponentSFC_AST_Style {
|
|
82
|
+
lang: string | null;
|
|
83
|
+
scoped: boolean;
|
|
84
|
+
content: string;
|
|
85
|
+
range: RComponentSFC_SourceRange;
|
|
86
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { RComponentSFC_IR_DataMetaReference, RComponentSFC_IR_Read } from './ir.types';
|
|
2
|
+
export type RComponentSFC_RuntimeDependencySource = 'props' | 'context';
|
|
3
|
+
export interface RComponentSFC_RuntimeDependency {
|
|
4
|
+
source: 'props';
|
|
5
|
+
prop: string;
|
|
6
|
+
path: string[];
|
|
7
|
+
raw: string;
|
|
8
|
+
read: RComponentSFC_IR_Read;
|
|
9
|
+
}
|
|
10
|
+
export interface RComponentSFC_RuntimeContextDependency {
|
|
11
|
+
source: 'context';
|
|
12
|
+
path: string[];
|
|
13
|
+
raw: string;
|
|
14
|
+
read: RComponentSFC_IR_Read;
|
|
15
|
+
}
|
|
16
|
+
export type RComponentSFC_RuntimeBoundaryKind = 'table';
|
|
17
|
+
export interface RComponentSFC_RuntimeTableColumnDependency {
|
|
18
|
+
id: string;
|
|
19
|
+
key: string;
|
|
20
|
+
index: number;
|
|
21
|
+
rowReads: string[];
|
|
22
|
+
}
|
|
23
|
+
export interface RComponentSFC_RuntimeBoundaryDependency {
|
|
24
|
+
id: string;
|
|
25
|
+
kind: RComponentSFC_RuntimeBoundaryKind;
|
|
26
|
+
sourceProp: string;
|
|
27
|
+
sourcePath: string[];
|
|
28
|
+
rowKey: string | null;
|
|
29
|
+
contextReads: string[][];
|
|
30
|
+
columns: RComponentSFC_RuntimeTableColumnDependency[];
|
|
31
|
+
}
|
|
32
|
+
export interface RComponentSFC_RuntimeVocabDependency {
|
|
33
|
+
alias: string;
|
|
34
|
+
valuePath: string;
|
|
35
|
+
labelPath: string;
|
|
36
|
+
raw: string;
|
|
37
|
+
}
|
|
38
|
+
export interface RComponentSFC_RuntimeMetaDependency {
|
|
39
|
+
reference: RComponentSFC_IR_DataMetaReference;
|
|
40
|
+
boundaryId: string | null;
|
|
41
|
+
namespace: string | null;
|
|
42
|
+
raw: string;
|
|
43
|
+
}
|
|
44
|
+
export interface RComponentSFC_RuntimeDependencies {
|
|
45
|
+
props: RComponentSFC_RuntimeDependency[];
|
|
46
|
+
context: RComponentSFC_RuntimeContextDependency[];
|
|
47
|
+
boundaries: RComponentSFC_RuntimeBoundaryDependency[];
|
|
48
|
+
vocabs?: RComponentSFC_RuntimeVocabDependency[];
|
|
49
|
+
meta?: RComponentSFC_RuntimeMetaDependency[];
|
|
50
|
+
}
|
|
51
|
+
export declare function createEmptyComponentSFCRuntimeDependencies(): RComponentSFC_RuntimeDependencies;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export type ComponentSFCExpressionIR = {
|
|
2
|
+
kind: 'literal';
|
|
3
|
+
value: string | number | boolean | null;
|
|
4
|
+
} | {
|
|
5
|
+
kind: 'read';
|
|
6
|
+
name: string;
|
|
7
|
+
} | {
|
|
8
|
+
kind: 'unary';
|
|
9
|
+
operator: string;
|
|
10
|
+
argument: ComponentSFCExpressionIR;
|
|
11
|
+
} | {
|
|
12
|
+
kind: 'binary' | 'logical';
|
|
13
|
+
operator: string;
|
|
14
|
+
left: ComponentSFCExpressionIR;
|
|
15
|
+
right: ComponentSFCExpressionIR;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'conditional';
|
|
18
|
+
test: ComponentSFCExpressionIR;
|
|
19
|
+
consequent: ComponentSFCExpressionIR;
|
|
20
|
+
alternate: ComponentSFCExpressionIR;
|
|
21
|
+
} | {
|
|
22
|
+
kind: 'member';
|
|
23
|
+
object: ComponentSFCExpressionIR;
|
|
24
|
+
property: ComponentSFCExpressionIR;
|
|
25
|
+
computed: boolean;
|
|
26
|
+
} | {
|
|
27
|
+
kind: 'select';
|
|
28
|
+
object: ComponentSFCExpressionIR;
|
|
29
|
+
key: string;
|
|
30
|
+
value: ComponentSFCExpressionIR;
|
|
31
|
+
} | {
|
|
32
|
+
kind: 'call';
|
|
33
|
+
callee: ComponentSFCExpressionIR;
|
|
34
|
+
arguments: ComponentSFCExpressionIR[];
|
|
35
|
+
} | {
|
|
36
|
+
kind: 'array';
|
|
37
|
+
items: ComponentSFCExpressionIR[];
|
|
38
|
+
} | {
|
|
39
|
+
kind: 'object';
|
|
40
|
+
entries: Array<{
|
|
41
|
+
key: string;
|
|
42
|
+
value: ComponentSFCExpressionIR;
|
|
43
|
+
}>;
|
|
44
|
+
} | {
|
|
45
|
+
kind: 'template';
|
|
46
|
+
parts: string[];
|
|
47
|
+
expressions: ComponentSFCExpressionIR[];
|
|
48
|
+
} | {
|
|
49
|
+
kind: 'unsupported';
|
|
50
|
+
reason?: 'object-property';
|
|
51
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { RComponentSFC_IR_Tag } from './ir.types';
|
|
2
|
+
export interface ComponentSFCEventModifiersState {
|
|
3
|
+
alt: boolean;
|
|
4
|
+
altGraph: boolean;
|
|
5
|
+
ctrl: boolean;
|
|
6
|
+
meta: boolean;
|
|
7
|
+
shift: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface ComponentSFCInteractionEventPayload {
|
|
10
|
+
type: string;
|
|
11
|
+
occurredAt: string;
|
|
12
|
+
modifiers: ComponentSFCEventModifiersState;
|
|
13
|
+
held: {
|
|
14
|
+
key: string[];
|
|
15
|
+
code: string[];
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface ComponentSFCPointerEventPayload extends ComponentSFCInteractionEventPayload {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
button: number;
|
|
22
|
+
buttons: number;
|
|
23
|
+
pointerType: 'mouse' | 'touch' | 'pen' | 'unknown';
|
|
24
|
+
}
|
|
25
|
+
export interface ComponentSFCKeyboardEventPayload extends ComponentSFCInteractionEventPayload {
|
|
26
|
+
key: string;
|
|
27
|
+
code: string;
|
|
28
|
+
repeat: boolean;
|
|
29
|
+
composing: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface ComponentSFCInputEventPayload extends ComponentSFCInteractionEventPayload {
|
|
32
|
+
value: unknown;
|
|
33
|
+
checked?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface ComponentSFCIntrinsicEventDefinition {
|
|
36
|
+
name: string;
|
|
37
|
+
displayName: string;
|
|
38
|
+
payloadType: string;
|
|
39
|
+
description: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const COMPONENT_SFC_INTERACTION_EVENT_DEFINITIONS: readonly ComponentSFCIntrinsicEventDefinition[];
|
|
42
|
+
export declare const COMPONENT_SFC_FORM_EVENT_DEFINITIONS: readonly [ComponentSFCIntrinsicEventDefinition, ComponentSFCIntrinsicEventDefinition];
|
|
43
|
+
export declare function listComponentSFCEventCapableTags(): readonly RComponentSFC_IR_Tag[];
|
|
44
|
+
export declare function getComponentSFCIntrinsicEventDefinitions(tag: RComponentSFC_IR_Tag): readonly ComponentSFCIntrinsicEventDefinition[];
|