@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.
Files changed (464) hide show
  1. package/LICENSE +202 -0
  2. package/dist/core.js +124692 -0
  3. package/dist/features/core/kernel/config/debugger.config.d.ts +2 -0
  4. package/dist/features/core/kernel/config/kernel.config.d.ts +29 -0
  5. package/dist/features/core/kernel/config/modules.config.d.ts +145 -0
  6. package/dist/features/core/kernel/constants/kernel.constants.d.ts +8 -0
  7. package/dist/features/core/kernel/endge.d.ts +149 -0
  8. package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +7 -0
  9. package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +15 -0
  10. package/dist/features/core/kernel/tools/bundle-json.d.ts +5 -0
  11. package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +12 -0
  12. package/dist/features/core/kernel/tools/read-only-document.d.ts +1 -0
  13. package/dist/features/core/kernel/types/bootstrap.types.d.ts +32 -0
  14. package/dist/features/core/kernel/types/endge-bundle.types.d.ts +12 -0
  15. package/dist/features/core/modules/EndgeTypes_Module.d.ts +14 -0
  16. package/dist/features/core/modules/EndgeVocabs_Module.d.ts +178 -0
  17. package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +107 -0
  18. package/dist/features/core/modules/actions/domain/action.types.d.ts +177 -0
  19. package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +36 -0
  20. package/dist/features/core/modules/actions/services/table-actions.d.ts +2 -0
  21. package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +57 -0
  22. package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +16 -0
  23. package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +16 -0
  24. package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +10 -0
  25. package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +13 -0
  26. package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +10 -0
  27. package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +50 -0
  28. package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +8 -0
  29. package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +175 -0
  30. package/dist/features/core/modules/auth/domain/types/auth-runtime.types.d.ts +12 -0
  31. package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +23 -0
  32. package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +48 -0
  33. package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +22 -0
  34. package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +99 -0
  35. package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +34 -0
  36. package/dist/features/core/modules/auth/services/auth-context.d.ts +11 -0
  37. package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +62 -0
  38. package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +20 -0
  39. package/dist/features/core/modules/bridge/config/bridge.config.d.ts +38 -0
  40. package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +28 -0
  41. package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +145 -0
  42. package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +27 -0
  43. package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +75 -0
  44. package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +41 -0
  45. package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +10 -0
  46. package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +25 -0
  47. package/dist/features/core/modules/commands/config/commands.config.d.ts +6 -0
  48. package/dist/features/core/modules/commands/domain/commands.types.d.ts +36 -0
  49. package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +13 -0
  50. package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +13 -0
  51. package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +11 -0
  52. package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +11 -0
  53. package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +11 -0
  54. package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +11 -0
  55. package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +11 -0
  56. package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +11 -0
  57. package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +11 -0
  58. package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +11 -0
  59. package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +11 -0
  60. package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +11 -0
  61. package/dist/features/core/modules/commands/tools/command-payload.d.ts +2 -0
  62. package/dist/features/core/modules/commands/types/command-executor.type.d.ts +15 -0
  63. package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +11 -0
  64. package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +4 -0
  65. package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +375 -0
  66. package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +10 -0
  67. package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +8 -0
  68. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +6 -0
  69. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +3 -0
  70. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +34 -0
  71. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +3 -0
  72. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +3 -0
  73. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +37 -0
  74. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +16 -0
  75. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +10 -0
  76. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +9 -0
  77. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +20 -0
  78. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +22 -0
  79. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +11 -0
  80. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +15 -0
  81. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +24 -0
  82. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +28 -0
  83. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +3 -0
  84. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +27 -0
  85. package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +17 -0
  86. package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +11 -0
  87. package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +4 -0
  88. package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +80 -0
  89. package/dist/features/core/modules/computations/model/ComputationResource.d.ts +41 -0
  90. package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +27 -0
  91. package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +30 -0
  92. package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +28 -0
  93. package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +59 -0
  94. package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +18 -0
  95. package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +8 -0
  96. package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +2 -0
  97. package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +158 -0
  98. package/dist/features/core/modules/context/EndgeContext_Module.d.ts +311 -0
  99. package/dist/features/core/modules/context/domain/context-events.types.d.ts +7 -0
  100. package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +80 -0
  101. package/dist/features/core/modules/context/domain/context-state.types.d.ts +7 -0
  102. package/dist/features/core/modules/context/endge-vars.d.ts +89 -0
  103. package/dist/features/core/modules/context/persistence/EndgeStorageAdapterRegistry.d.ts +9 -0
  104. package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +28 -0
  105. package/dist/features/core/modules/context/persistence/adapters/DisabledContextAdapter.d.ts +8 -0
  106. package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +12 -0
  107. package/dist/features/core/modules/context/persistence/context-state.d.ts +7 -0
  108. package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +39 -0
  109. package/dist/features/core/modules/converters/tools/arrays/split.d.ts +1 -0
  110. package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +1 -0
  111. package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +1 -0
  112. package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +1 -0
  113. package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +1 -0
  114. package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +1 -0
  115. package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +1 -0
  116. package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +1 -0
  117. package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +1 -0
  118. package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +1 -0
  119. package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +1 -0
  120. package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +1 -0
  121. package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +1 -0
  122. package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +1 -0
  123. package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +1 -0
  124. package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +1 -0
  125. package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +1 -0
  126. package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +1 -0
  127. package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +1 -0
  128. package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +88 -0
  129. package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +158 -0
  130. package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +63 -0
  131. package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +280 -0
  132. package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +15 -0
  133. package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +39 -0
  134. package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +33 -0
  135. package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +115 -0
  136. package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +11 -0
  137. package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +3 -0
  138. package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +6 -0
  139. package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +92 -0
  140. package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +45 -0
  141. package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +39 -0
  142. package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +13 -0
  143. package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +296 -0
  144. package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +36 -0
  145. package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +65 -0
  146. package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +20 -0
  147. package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +11 -0
  148. package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +11 -0
  149. package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +1202 -0
  150. package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +48 -0
  151. package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +5 -0
  152. package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +2 -0
  153. package/dist/features/core/modules/domain/component/table.d.ts +4 -0
  154. package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +95 -0
  155. package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +6 -0
  156. package/dist/features/core/modules/domain/entities/RAction.d.ts +22 -0
  157. package/dist/features/core/modules/domain/entities/RAuthProfile.d.ts +14 -0
  158. package/dist/features/core/modules/domain/entities/RComponent.d.ts +18 -0
  159. package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +16 -0
  160. package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +30 -0
  161. package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +7 -0
  162. package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +41 -0
  163. package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +12 -0
  164. package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +40 -0
  165. package/dist/features/core/modules/domain/entities/RComposition.d.ts +18 -0
  166. package/dist/features/core/modules/domain/entities/RComputation.d.ts +19 -0
  167. package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +13 -0
  168. package/dist/features/core/modules/domain/entities/RConverter.d.ts +15 -0
  169. package/dist/features/core/modules/domain/entities/RDataView.d.ts +12 -0
  170. package/dist/features/core/modules/domain/entities/REntity.d.ts +48 -0
  171. package/dist/features/core/modules/domain/entities/RFacet.d.ts +14 -0
  172. package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +13 -0
  173. package/dist/features/core/modules/domain/entities/RField.d.ts +9 -0
  174. package/dist/features/core/modules/domain/entities/RFilter.d.ts +11 -0
  175. package/dist/features/core/modules/domain/entities/RFolder.d.ts +24 -0
  176. package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +18 -0
  177. package/dist/features/core/modules/domain/entities/RIntegration.d.ts +17 -0
  178. package/dist/features/core/modules/domain/entities/RMock.d.ts +30 -0
  179. package/dist/features/core/modules/domain/entities/RNavigation.d.ts +27 -0
  180. package/dist/features/core/modules/domain/entities/RPage.d.ts +45 -0
  181. package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +35 -0
  182. package/dist/features/core/modules/domain/entities/RPolicy.d.ts +9 -0
  183. package/dist/features/core/modules/domain/entities/RQuery.d.ts +13 -0
  184. package/dist/features/core/modules/domain/entities/RSimulation.d.ts +10 -0
  185. package/dist/features/core/modules/domain/entities/RStore.d.ts +10 -0
  186. package/dist/features/core/modules/domain/entities/RStream.d.ts +10 -0
  187. package/dist/features/core/modules/domain/entities/RStyle.d.ts +14 -0
  188. package/dist/features/core/modules/domain/entities/RType.d.ts +12 -0
  189. package/dist/features/core/modules/domain/entities/RUpdate.d.ts +11 -0
  190. package/dist/features/core/modules/domain/entities/RVersion.d.ts +29 -0
  191. package/dist/features/core/modules/domain/entities/RVocabs.d.ts +31 -0
  192. package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +17 -0
  193. package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +16 -0
  194. package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +50 -0
  195. package/dist/features/core/modules/domain/types/component/component.types.d.ts +11 -0
  196. package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +86 -0
  197. package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +51 -0
  198. package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +51 -0
  199. package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +44 -0
  200. package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +269 -0
  201. package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +8 -0
  202. package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +19 -0
  203. package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +40 -0
  204. package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +253 -0
  205. package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +18 -0
  206. package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +15 -0
  207. package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +88 -0
  208. package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +5 -0
  209. package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +140 -0
  210. package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +211 -0
  211. package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +311 -0
  212. package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +35 -0
  213. package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +46 -0
  214. package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +30 -0
  215. package/dist/features/core/modules/domain/types/computation/computation.types.d.ts +3 -0
  216. package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +16 -0
  217. package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +5 -0
  218. package/dist/features/core/modules/domain/types/document/document-identity.types.d.ts +28 -0
  219. package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +36 -0
  220. package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +5 -0
  221. package/dist/features/core/modules/domain/types/document/document.types.d.ts +76 -0
  222. package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +73 -0
  223. package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +140 -0
  224. package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +34 -0
  225. package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +28 -0
  226. package/dist/features/core/modules/domain/types/document/filter.types.d.ts +32 -0
  227. package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +34 -0
  228. package/dist/features/core/modules/domain/types/document/query.types.d.ts +9 -0
  229. package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +126 -0
  230. package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +9 -0
  231. package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +26 -0
  232. package/dist/features/core/modules/events/domain/events.types.d.ts +48 -0
  233. package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +110 -0
  234. package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +20 -0
  235. package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +15 -0
  236. package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +7 -0
  237. package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +2 -0
  238. package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +44 -0
  239. package/dist/features/core/modules/implementations/domain/implementation.types.d.ts +59 -0
  240. package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +11 -0
  241. package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +11 -0
  242. package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +92 -0
  243. package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +40 -0
  244. package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +11 -0
  245. package/dist/features/core/modules/inspection/types/inspection.types.d.ts +72 -0
  246. package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +49 -0
  247. package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +31 -0
  248. package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +181 -0
  249. package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +9 -0
  250. package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +71 -0
  251. package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +15 -0
  252. package/dist/features/core/modules/program/domain/types/program.types.d.ts +186 -0
  253. package/dist/features/core/modules/program/tools/execution-bundle.d.ts +4 -0
  254. package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +2 -0
  255. package/dist/features/core/modules/program/tools/restore-program-source.d.ts +2 -0
  256. package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +48 -0
  257. package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +34 -0
  258. package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +262 -0
  259. package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +20 -0
  260. package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +74 -0
  261. package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +23 -0
  262. package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +109 -0
  263. package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +13 -0
  264. package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +32 -0
  265. package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +14 -0
  266. package/dist/features/core/modules/runtime/RuntimeScope.d.ts +60 -0
  267. package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +74 -0
  268. package/dist/features/core/modules/runtime/domain/EndgeActionJsonScript.d.ts +2 -0
  269. package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +7 -0
  270. package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +12 -0
  271. package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +6 -0
  272. package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +21 -0
  273. package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +18 -0
  274. package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +268 -0
  275. package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +26 -0
  276. package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +23 -0
  277. package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +25 -0
  278. package/dist/features/core/modules/runtime/domain/runtime-resource.types.d.ts +15 -0
  279. package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +43 -0
  280. package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +22 -0
  281. package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +73 -0
  282. package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +42 -0
  283. package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +21 -0
  284. package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +18 -0
  285. package/dist/features/core/modules/runtime/domain/table-binding.types.d.ts +7 -0
  286. package/dist/features/core/modules/runtime/domain/table.types.d.ts +4 -0
  287. package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +24 -0
  288. package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +13 -0
  289. package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +107 -0
  290. package/dist/features/core/modules/runtime/execution/endge-query.d.ts +30 -0
  291. package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +4 -0
  292. package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +7 -0
  293. package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +23 -0
  294. package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +16 -0
  295. package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +26 -0
  296. package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +225 -0
  297. package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +225 -0
  298. package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +52 -0
  299. package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +76 -0
  300. package/dist/features/core/modules/runtime/hosts/PageRuntimeHost.d.ts +22 -0
  301. package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +71 -0
  302. package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +60 -0
  303. package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +80 -0
  304. package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +48 -0
  305. package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +29 -0
  306. package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +16 -0
  307. package/dist/features/core/modules/runtime/operation/operation-history.d.ts +65 -0
  308. package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +19 -0
  309. package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +43 -0
  310. package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +13 -0
  311. package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +4 -0
  312. package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +3 -0
  313. package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +13 -0
  314. package/dist/features/core/modules/runtime/services/strategies/ActionRuntimeStrategy.d.ts +8 -0
  315. package/dist/features/core/modules/runtime/services/strategies/ComponentSFCRuntimeStrategy.d.ts +9 -0
  316. package/dist/features/core/modules/runtime/services/strategies/CompositionRuntimeStrategy.d.ts +9 -0
  317. package/dist/features/core/modules/runtime/services/strategies/FilterRuntimeStrategy.d.ts +9 -0
  318. package/dist/features/core/modules/runtime/services/strategies/PageRuntimeStrategy.d.ts +8 -0
  319. package/dist/features/core/modules/runtime/services/strategies/QueryRuntimeStrategy.d.ts +9 -0
  320. package/dist/features/core/modules/runtime/services/strategies/SimulationRuntimeStrategy.d.ts +9 -0
  321. package/dist/features/core/modules/runtime/services/strategies/StoreRuntimeStrategy.d.ts +9 -0
  322. package/dist/features/core/modules/runtime/services/strategies/StreamRuntimeStrategy.d.ts +12 -0
  323. package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +11 -0
  324. package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +10 -0
  325. package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +7 -0
  326. package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +5 -0
  327. package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +3 -0
  328. package/dist/features/core/modules/source/EndgeSource_Module.d.ts +115 -0
  329. package/dist/features/core/modules/source/domain/types/action-source.types.d.ts +40 -0
  330. package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +390 -0
  331. package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +46 -0
  332. package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +127 -0
  333. package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +94 -0
  334. package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +35 -0
  335. package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +78 -0
  336. package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +9 -0
  337. package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +67 -0
  338. package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +166 -0
  339. package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +94 -0
  340. package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +44 -0
  341. package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +52 -0
  342. package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +73 -0
  343. package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +41 -0
  344. package/dist/features/core/modules/source/domain/types/vocab-source.types.d.ts +37 -0
  345. package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +36 -0
  346. package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +19 -0
  347. package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +19 -0
  348. package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +19 -0
  349. package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +18 -0
  350. package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +3 -0
  351. package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +3 -0
  352. package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +2 -0
  353. package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +2 -0
  354. package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +2 -0
  355. package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +2 -0
  356. package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +12 -0
  357. package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +13 -0
  358. package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +13 -0
  359. package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +14 -0
  360. package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +2 -0
  361. package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +2 -0
  362. package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +7 -0
  363. package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +2 -0
  364. package/dist/features/core/modules/source/services/compilers/vocab-source-compile.d.ts +2 -0
  365. package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +4 -0
  366. package/dist/features/core/modules/source/services/component-sfc/component-sfc-ports-source-patch.d.ts +4 -0
  367. package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +4 -0
  368. package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +2 -0
  369. package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +2 -0
  370. package/dist/features/core/modules/source/services/composition-activation.d.ts +2 -0
  371. package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +3 -0
  372. package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +1 -0
  373. package/dist/features/core/modules/source/services/composition-source-patch.d.ts +4 -0
  374. package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +14 -0
  375. package/dist/features/core/modules/source/services/document-metadata.d.ts +5 -0
  376. package/dist/features/core/modules/source/services/filter-source-patch.d.ts +10 -0
  377. package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +10 -0
  378. package/dist/features/core/modules/source/services/query-source-patch.d.ts +10 -0
  379. package/dist/features/core/modules/source/services/source-document-reference.d.ts +14 -0
  380. package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +3 -0
  381. package/dist/features/core/modules/source/services/source-language-syntax.d.ts +10 -0
  382. package/dist/features/core/modules/source/services/strategies/ActionSourceEngineStrategy.d.ts +7 -0
  383. package/dist/features/core/modules/source/services/strategies/ActionSourceLanguageStrategy.d.ts +23 -0
  384. package/dist/features/core/modules/source/services/strategies/CompositionSourceEngineStrategy.d.ts +7 -0
  385. package/dist/features/core/modules/source/services/strategies/CompositionSourceLanguageStrategy.d.ts +14 -0
  386. package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +21 -0
  387. package/dist/features/core/modules/source/services/strategies/ComputationSourceEngineStrategy.d.ts +7 -0
  388. package/dist/features/core/modules/source/services/strategies/ComputationSourceLanguageStrategy.d.ts +12 -0
  389. package/dist/features/core/modules/source/services/strategies/ConfigurationSourceEngineStrategy.d.ts +7 -0
  390. package/dist/features/core/modules/source/services/strategies/ConfigurationSourceLanguageStrategy.d.ts +12 -0
  391. package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +20 -0
  392. package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +27 -0
  393. package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +10 -0
  394. package/dist/features/core/modules/source/services/strategies/FilterSourceLanguageStrategy.d.ts +12 -0
  395. package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +12 -0
  396. package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +20 -0
  397. package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +27 -0
  398. package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +21 -0
  399. package/dist/features/core/modules/source/services/strategies/SimulationSourceEngineStrategy.d.ts +10 -0
  400. package/dist/features/core/modules/source/services/strategies/SimulationSourceLanguageStrategy.d.ts +14 -0
  401. package/dist/features/core/modules/source/services/strategies/StoreSourceEngineStrategy.d.ts +7 -0
  402. package/dist/features/core/modules/source/services/strategies/StoreSourceLanguageStrategy.d.ts +12 -0
  403. package/dist/features/core/modules/source/services/strategies/StreamSourceEngineStrategy.d.ts +7 -0
  404. package/dist/features/core/modules/source/services/strategies/StreamSourceLanguageStrategy.d.ts +10 -0
  405. package/dist/features/core/modules/source/services/strategies/StyleSourceEngineStrategy.d.ts +7 -0
  406. package/dist/features/core/modules/source/services/strategies/StyleSourceLanguageStrategy.d.ts +43 -0
  407. package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +10 -0
  408. package/dist/features/core/modules/source/services/strategies/TypeSourceLanguageStrategy.d.ts +13 -0
  409. package/dist/features/core/modules/source/services/strategies/UpdateSourceEngineStrategy.d.ts +7 -0
  410. package/dist/features/core/modules/source/services/strategies/UpdateSourceLanguageStrategy.d.ts +10 -0
  411. package/dist/features/core/modules/source/services/strategies/VocabSourceEngineStrategy.d.ts +8 -0
  412. package/dist/features/core/modules/source/services/strategies/VocabSourceLanguageStrategy.d.ts +11 -0
  413. package/dist/features/core/modules/source/services/strategies/VocabSourcePatchStrategy.d.ts +9 -0
  414. package/dist/features/core/modules/source/services/type-source-references.d.ts +10 -0
  415. package/dist/features/core/modules/source/services/type-source-serialize.d.ts +4 -0
  416. package/dist/features/core/modules/source/services/typescript-type-source.d.ts +16 -0
  417. package/dist/features/core/modules/source/services/value-expression-language.d.ts +4 -0
  418. package/dist/features/core/modules/source/services/value-expression-operations.d.ts +9 -0
  419. package/dist/features/core/modules/source/services/vocab-source-patch.d.ts +10 -0
  420. package/dist/features/core/modules/source/templates/action.default.source.d.ts +1 -0
  421. package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +1 -0
  422. package/dist/features/core/modules/source/templates/composition.default.source.d.ts +1 -0
  423. package/dist/features/core/modules/source/templates/computation.default.source.d.ts +1 -0
  424. package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +1 -0
  425. package/dist/features/core/modules/source/templates/data-view.default.source.d.ts +1 -0
  426. package/dist/features/core/modules/source/templates/filter.default.source.d.ts +1 -0
  427. package/dist/features/core/modules/source/templates/query.default.source.d.ts +2 -0
  428. package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +1 -0
  429. package/dist/features/core/modules/source/templates/store.default.source.d.ts +1 -0
  430. package/dist/features/core/modules/source/templates/stream.default.source.d.ts +1 -0
  431. package/dist/features/core/modules/source/templates/type.default.source.d.ts +1 -0
  432. package/dist/features/core/modules/source/templates/update.default.source.d.ts +1 -0
  433. package/dist/features/core/modules/source/templates/vocab.default.source.d.ts +1 -0
  434. package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +34 -0
  435. package/dist/features/core/modules/styles/domain/types/style.types.d.ts +195 -0
  436. package/dist/features/core/modules/styles/services/endgecss-compile.d.ts +4 -0
  437. package/dist/features/core/modules/styles/services/endgecss-match.d.ts +5 -0
  438. package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +130 -0
  439. package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +108 -0
  440. package/dist/features/core/modules/ui/domain/types/context-menu.types.d.ts +20 -0
  441. package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +7 -0
  442. package/dist/features/core/modules/ui/domain/types/tooltip-markdown.types.d.ts +32 -0
  443. package/dist/features/core/modules/ui/domain/types/ui-composition.types.d.ts +167 -0
  444. package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +29 -0
  445. package/dist/features/core/modules/ui/domain/types/ui.types.d.ts +17 -0
  446. package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +58 -0
  447. package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +3 -0
  448. package/dist/features/core/modules/ui/ui-composition.config.d.ts +523 -0
  449. package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +14 -0
  450. package/dist/features/core/modules/updates/tools/ScheduleUpdate-sse-generator.d.ts +9 -0
  451. package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +145 -0
  452. package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +30 -0
  453. package/dist/features/federation/EndgeFederation.d.ts +133 -0
  454. package/dist/features/federation/EndgeModule.d.ts +58 -0
  455. package/dist/features/federation/constants/federation.constants.d.ts +1 -0
  456. package/dist/features/federation/services/EndgeModuleController.d.ts +16 -0
  457. package/dist/features/federation/services/EndgeSlotRegistry.d.ts +14 -0
  458. package/dist/features/federation/tools/endge-token.d.ts +2 -0
  459. package/dist/features/federation/tools/sort-endge-modules.d.ts +9 -0
  460. package/dist/features/federation/types/endge-modules.types.d.ts +28 -0
  461. package/dist/features/federation/types/federation.types.d.ts +112 -0
  462. package/dist/features/federation/types/forge.types.d.ts +23 -0
  463. package/dist/main.d.ts +288 -0
  464. package/package.json +77 -0
@@ -0,0 +1,375 @@
1
+ import { EndgeBootContext } from '../../kernel/types/bootstrap.types';
2
+ import { RSimulation } from '../domain/entities/RSimulation';
3
+ import { RStore } from '../domain/entities/RStore';
4
+ import { RStream } from '../domain/entities/RStream';
5
+ import { RType } from '../domain/entities/RType';
6
+ import { RUpdate } from '../domain/entities/RUpdate';
7
+ import { RVocabs } from '../domain/entities/RVocabs';
8
+ import { ActionProgramPayload, ComponentSFCProgramPayload, ComputationProgramPayload, DataViewProgramPayload, EndgeStyleProgramPayload, ProgramArtifact, ProgramEntityType, QueryProgramPayload } from '../program/domain/types/program.types';
9
+ import { CompositionProgramPayload } from '../source/domain/types/composition-source.types';
10
+ import { FilterProgramPayload } from '../source/domain/types/filter-source.types';
11
+ import { SimulationSourceArtifact } from '../source/domain/types/simulation-source.types';
12
+ import { StoreSourceArtifact } from '../source/domain/types/store-source.types';
13
+ import { StreamSourceArtifact } from '../source/domain/types/stream-source.types';
14
+ import { TypeProgramPayload } from '../source/domain/types/type-source.types';
15
+ import { UpdateSourceArtifact } from '../source/domain/types/update-source.types';
16
+ import { VocabProgramPayload } from '../source/domain/types/vocab-source.types';
17
+ import { RAction } from '../domain/entities/RAction';
18
+ import { RComponentSFC } from '../domain/entities/RComponentSFC';
19
+ import { RComposition } from '../domain/entities/RComposition';
20
+ import { RComputation } from '../domain/entities/RComputation';
21
+ import { RDataView } from '../domain/entities/RDataView';
22
+ import { RFilter } from '../domain/entities/RFilter';
23
+ import { RQuery } from '../domain/entities/RQuery';
24
+ import { RStyle } from '../domain/entities/RStyle';
25
+ import { EndgeModule } from '../../../federation/EndgeModule';
26
+ /**
27
+ * Компилятор persisted domain model в compiled program artifacts.
28
+ */
29
+ export declare class EndgeCompiler_Module extends EndgeModule<EndgeBootContext> {
30
+ private readonly _handlers;
31
+ private _localDataViewCounter;
32
+ private _localFilterCounter;
33
+ private _componentTagDiagnosticsByIdentity;
34
+ private _componentPortManifestCache;
35
+ private _componentPortManifestResolving;
36
+ private _compileSpan;
37
+ /**
38
+ * Создает singleton-bound compiler module и регистрирует стандартные handlers.
39
+ *
40
+ * Регистрация выполняется один раз при создании модуля, чтобы build-фаза
41
+ * только запускала pipeline и не пересобирала таблицу обработчиков.
42
+ */
43
+ constructor();
44
+ /**
45
+ * Возвращает фактически зарегистрированные compiler entity types для contract verification.
46
+ */
47
+ listSupportedEntityTypes(): ProgramEntityType[];
48
+ /**
49
+ * Lifecycle-точка входа компилятора.
50
+ *
51
+ * На build-фазе читает текущий `Endge.domain`, очищает/начинает новый
52
+ * `Endge.program` compile cycle и строит artifacts для сущностей.
53
+ */
54
+ build(_ctx: EndgeBootContext): void;
55
+ /**
56
+ * Компилирует один query source в Endge.program без запуска остальных compiler-фаз.
57
+ */
58
+ buildQuery(entity: RQuery): ProgramArtifact<QueryProgramPayload>;
59
+ /**
60
+ * Компилирует один Vocab source в Endge.program.
61
+ */
62
+ buildVocab(entity: RVocabs): ProgramArtifact<VocabProgramPayload>;
63
+ /**
64
+ * Компилирует одну Computation в безопасный runtime artifact.
65
+ */
66
+ buildComputation(entity: RComputation): ProgramArtifact<ComputationProgramPayload>;
67
+ /**
68
+ * Компилирует один Type Source в общий Type Registry.
69
+ */
70
+ buildType(entity: RType): ProgramArtifact<TypeProgramPayload>;
71
+ /**
72
+ * Компилирует один сохранённый Action в неизменяемый артефакт Program.
73
+ */
74
+ buildAction(entity: RAction): ProgramArtifact<ActionProgramPayload>;
75
+ /**
76
+ * Компилирует один ComponentSFC без запуска полного domain build.
77
+ */
78
+ buildComponentSFC(entity: RComponentSFC): ProgramArtifact<ComponentSFCProgramPayload>;
79
+ /**
80
+ * Компилирует наблюдаемый SFC без записи в Program и без запуска runtime.
81
+ */
82
+ compileComponentSFCArtifact(entity: RComponentSFC): ProgramArtifact<ComponentSFCProgramPayload>;
83
+ /**
84
+ * Компилирует один DataView source в Endge.program без запуска остальных compiler-фаз.
85
+ */
86
+ buildDataView(entity: RDataView): ProgramArtifact<DataViewProgramPayload>;
87
+ /**
88
+ * Компилирует один Store source в Endge.program.
89
+ */
90
+ buildStore(entity: RStore): ProgramArtifact<StoreSourceArtifact>;
91
+ /**
92
+ * Компилирует один Stream source в Endge.program.
93
+ */
94
+ buildStream(entity: RStream): ProgramArtifact<StreamSourceArtifact>;
95
+ /**
96
+ * Компилирует один Simulation source в Endge.program.
97
+ */
98
+ buildSimulation(entity: RSimulation): ProgramArtifact<SimulationSourceArtifact>;
99
+ /**
100
+ * Компилирует черновик Simulation без публикации в общей Program.
101
+ */
102
+ compileSimulationArtifact(entity: RSimulation): ProgramArtifact<SimulationSourceArtifact>;
103
+ /**
104
+ * Компилирует один дочерний Update source в Endge.program.
105
+ */
106
+ buildUpdate(entity: RUpdate): ProgramArtifact<UpdateSourceArtifact>;
107
+ /**
108
+ * Компилирует один Filter source в Endge.program.
109
+ */
110
+ buildFilter(entity: RFilter): ProgramArtifact<FilterProgramPayload>;
111
+ /**
112
+ * Компилирует один Composition source в Endge.program.
113
+ */
114
+ buildComposition(entity: RComposition): ProgramArtifact<CompositionProgramPayload>;
115
+ /**
116
+ * Компилирует transient Composition artifact без публикации в Endge.program.
117
+ * Используется runtime session overlays, которым нельзя менять общий build.
118
+ */
119
+ compileCompositionArtifact(entity: RComposition): ProgramArtifact<CompositionProgramPayload>;
120
+ /**
121
+ * Компилирует один глобальный source-first документ EndgeCSS.
122
+ */
123
+ buildStyle(entity: RStyle): ProgramArtifact<EndgeStyleProgramPayload>;
124
+ /**
125
+ * Фиксирует только реально используемые code Actions как требования к host этой сборки.
126
+ */
127
+ private _hostActionRequirements;
128
+ /**
129
+ * Собирает полный registry встроенных compiler handlers для поддерживаемых Domain documents.
130
+ */
131
+ private _registerDefaultHandlers;
132
+ /**
133
+ * Регистрирует handler компиляции для поддерживаемого program entity.
134
+ *
135
+ * Сейчас используется только для встроенной SFC-регистрации.
136
+ */
137
+ private _registerHandler;
138
+ /**
139
+ * Создаёт единый immutable context для полного и точечного compiler entry points.
140
+ */
141
+ private _createCompileContext;
142
+ /**
143
+ * Компилирует однотипную фазу доменных сущностей через зарегистрированный handler.
144
+ *
145
+ * Метод отвечает за единый diagnostics span, обработку ошибок и перевод
146
+ * `Endge.program` в error status при неуспешной фазе.
147
+ */
148
+ private _compilePhase;
149
+ /**
150
+ * Компилирует одну доменную сущность и добавляет artifact в активный `Endge.program`.
151
+ *
152
+ * Само преобразование делегируется handler-у, зарегистрированному для
153
+ * конкретного `ProgramEntityType`.
154
+ */
155
+ private _compileEntity;
156
+ /**
157
+ * Сравнивает inputs без повторного parser/compiler вызова и hash большого Source на каждой строке UI.
158
+ */
159
+ private _createFreshnessCheck;
160
+ /**
161
+ * Читает текущую Domain-сущность, включая замену объекта ответом persistence.
162
+ */
163
+ private _resolveArtifactEntity;
164
+ /**
165
+ * Стабильный порядок исходников: сначала системные документы, затем авторские по identity.
166
+ */
167
+ private _orderedStyles;
168
+ /**
169
+ * Возвращает static artifact dependencies внешних computation calls.
170
+ */
171
+ private _computationDependencies;
172
+ /**
173
+ * Проверяет контракт одного владельца по Type Registry, построенному из исходников.
174
+ */
175
+ private _typeContractDiagnostics;
176
+ /**
177
+ * Создаёт стабильные зависимости Program для каждого выражения пользовательского типа.
178
+ */
179
+ private _typeDependencies;
180
+ /**
181
+ * Публикует статическую ссылку Query на профиль авторизации в общем графе Program.
182
+ */
183
+ private _queryAuthDependencies;
184
+ /**
185
+ * Добавляет явные зависимости RMock, используемые только fixtures preview для Composition.
186
+ */
187
+ private _compositionPreviewDependencies;
188
+ /**
189
+ * Диагностика preview остаётся предупреждением, чтобы сломанный fixture не делал production-выполнение невалидным.
190
+ */
191
+ private _compositionPreviewDiagnostics;
192
+ /**
193
+ * Связывает computation artifacts, запрещает missing/invalid/cyclic references и выводит effective execution mode.
194
+ */
195
+ private _linkComputations;
196
+ /**
197
+ * Добавляет linker diagnostic без duplicate сообщений и обновляет artifact status.
198
+ */
199
+ private _addComputationLinkDiagnostic;
200
+ /**
201
+ * Находит strongly connected components, которые образуют реальные cycles.
202
+ */
203
+ private _findComputationCycles;
204
+ /**
205
+ * Восстанавливает один точный cycle path внутри strongly connected component.
206
+ */
207
+ private _findCyclePath;
208
+ /**
209
+ * Компилирует один исходник SFC и кеширует его вычисленный манифест публичных портов для проброса родителем.
210
+ */
211
+ private _compileComponentSFCSource;
212
+ /**
213
+ * Читает явные имена корневых Variant без рекурсивной компиляции дочернего элемента.
214
+ */
215
+ private _resolveComponentVariantNames;
216
+ /**
217
+ * Вычисляет публичные порты дочернего элемента независимо от порядка компиляции доменных компонентов.
218
+ */
219
+ private _resolveComponentPortManifest;
220
+ /**
221
+ * Вычисляет Type Source независимо от порядка компиляции типов и компонентов.
222
+ */
223
+ private _resolveTypeDefinition;
224
+ /**
225
+ * Материализует итоговые предоставленные и проброшенные порты SFC Action как производные дескрипторы.
226
+ */
227
+ private _materializeProvidedActions;
228
+ /**
229
+ * Вычисляет дескриптор доменного provider без зависимости от порядка компиляции SFC.
230
+ */
231
+ private _resolvePortProvider;
232
+ /**
233
+ * Строит registry пользовательских SFC tags до компиляции templates.
234
+ *
235
+ * В registry попадают только однозначные tags. Конфликты остаются persisted,
236
+ * но превращают artifacts всех владельцев tag в error на build-фазе.
237
+ */
238
+ private _prepareComponentTagRegistry;
239
+ /**
240
+ * Добавляет build diagnostic владельцу persisted SFC tag.
241
+ */
242
+ private _addComponentTagDiagnostic;
243
+ /**
244
+ * Связывает каждый внешний шаг Action с каталогами storage или установленного кода.
245
+ */
246
+ private _linkActionDependencies;
247
+ /**
248
+ * Создает унифицированный `ProgramArtifact` из доменной сущности и payload.
249
+ *
250
+ * Метод централизует ref, source hash, diagnostics, status, capabilities
251
+ * и compiler version, чтобы handlers описывали только payload-специфику.
252
+ */
253
+ private _makeArtifact;
254
+ /**
255
+ * Материализует локальные DataView внутри query output graph в child artifacts.
256
+ */
257
+ private _materializeResponseOutputDataViews;
258
+ /**
259
+ * Сворачивает цепочку DataView: byKey допустим только при одинаковом доказанном ключе.
260
+ */
261
+ private _resolveDataViewChainStrategy;
262
+ /**
263
+ * Рекурсивно ищет локальный DataView artifact среди дочерних artifacts.
264
+ */
265
+ private _findDataViewChild;
266
+ /**
267
+ * Материализует локальные Filter defaults query props в child artifacts.
268
+ */
269
+ private _materializeQueryLocalFilters;
270
+ /**
271
+ * Компилирует owned Filter artifact без регистрации в Endge.program.
272
+ */
273
+ private _compileLocalFilterArtifact;
274
+ /**
275
+ * Материализует i18n resources в Composition program artifact.
276
+ */
277
+ private _materializeCompositionI18n;
278
+ /**
279
+ * Запрещает неявный override одного public translation key вдоль
280
+ * Composition/scope ancestry. Разные aliases остаются независимыми.
281
+ */
282
+ private _compositionI18nCollisionDiagnostics;
283
+ /**
284
+ * Проверяет domain/program references и stable-prop bindings Composition.
285
+ */
286
+ private _validateComposition;
287
+ /**
288
+ * Сортирует Composition так, чтобы compiled artifact зависимости появился раньше consumer.
289
+ */
290
+ private _orderCompositionsForCompile;
291
+ /**
292
+ * Проверяет достижимость Composition dependency для compile-time cycle diagnostics.
293
+ */
294
+ private _compositionDependsOn;
295
+ /**
296
+ * Читает только прямые Composition dependencies из source без создания Program artifact.
297
+ */
298
+ private _compositionDependencies;
299
+ /**
300
+ * Материализует локальные DataView внутри DataView pipeline steps в child artifacts.
301
+ */
302
+ private _materializeDataViewLocalDataViews;
303
+ /**
304
+ * Материализует локальные DataView refs внутри pipeline steps.
305
+ */
306
+ private _materializeDataViewRefsInSteps;
307
+ /**
308
+ * Заменяет inline DataView refs на local refs и собирает external dependencies.
309
+ */
310
+ private _materializeDataViewRefs;
311
+ /**
312
+ * Компилирует локальный DataView source в child artifact без записи в Endge.program.
313
+ */
314
+ private _compileLocalDataViewArtifact;
315
+ /**
316
+ * Строит стабильную ссылку artifact на исходную доменную сущность.
317
+ *
318
+ * Ссылка используется для diagnostics, indexes и поиска в read-model.
319
+ */
320
+ private _makeRef;
321
+ /**
322
+ * Переносит pure entity validation result в diagnostics compiled artifact.
323
+ */
324
+ private _collectEntityDiagnostics;
325
+ /**
326
+ * Формирует стабильный input для hash-а artifact.
327
+ *
328
+ * Сюда входят только поля, изменение которых должно инвалидировать
329
+ * compiled artifact на уровне program read-model.
330
+ */
331
+ private _toStableSource;
332
+ /**
333
+ * Возвращает сохраненный query source. Legacy generation больше не используется runtime compiler-ом.
334
+ */
335
+ private _resolveQuerySource;
336
+ /**
337
+ * Возвращает сохраненный DataView source.
338
+ */
339
+ private _resolveDataViewSource;
340
+ /**
341
+ * Возвращает Filter source без fallback на legacy fields.
342
+ */
343
+ private _resolveFilterSource;
344
+ /**
345
+ * Возвращает сохраненный Composition source.
346
+ */
347
+ private _resolveCompositionSource;
348
+ /**
349
+ * Возвращает immutable selections в generic Source key space.
350
+ */
351
+ private _sourceExecutionContext;
352
+ /**
353
+ * Создает пустой query payload для error-artifact.
354
+ */
355
+ private _makeEmptyQueryPayload;
356
+ /**
357
+ * Создает пустой Filter payload для error-artifact.
358
+ */
359
+ private _makeEmptyFilterPayload;
360
+ /**
361
+ * Создает пустой Composition payload для error-artifact.
362
+ */
363
+ private _makeEmptyCompositionPayload;
364
+ /**
365
+ * Создает пустой DataView payload для error-artifact.
366
+ */
367
+ private _makeEmptyDataViewPayload;
368
+ /**
369
+ * Возвращает короткий deterministic hash для source snapshot artifact.
370
+ *
371
+ * Хеш не является криптографическим; он нужен только как дешёвый marker
372
+ * изменения входных данных компиляции.
373
+ */
374
+ private _hashString;
375
+ }
@@ -0,0 +1,10 @@
1
+ import { RAction } from '../../../domain/entities/RAction';
2
+ import { ProgramMetadataMap } from '../../../program/domain/types/program-metadata.types';
3
+ import { ActionProgramPayload, ProgramDependency, ProgramDiagnostic } from '../../../program/domain/types/program.types';
4
+ export interface ActionCompileResult {
5
+ payload: ActionProgramPayload;
6
+ metadata: ProgramMetadataMap;
7
+ diagnostics: Omit<ProgramDiagnostic, 'entityRef'>[];
8
+ dependencies: ProgramDependency[];
9
+ }
10
+ export declare function compileAction(entity: RAction): ActionCompileResult;
@@ -0,0 +1,8 @@
1
+ import { ActionExecutionTarget, ActionTargetSelector } from '../../../actions/domain/action.types';
2
+ export type ActionTargetErrorCode = 'action-target-required' | 'action-target-type-mismatch' | 'action-target-identity-mismatch';
3
+ export declare class ActionTargetError extends Error {
4
+ readonly code: ActionTargetErrorCode;
5
+ constructor(code: ActionTargetErrorCode, message: string);
6
+ }
7
+ export declare function normalizeActionTargets(value: unknown): ActionTargetSelector[] | null;
8
+ export declare function validateActionTarget(selectors: readonly ActionTargetSelector[] | null, target: ActionExecutionTarget | undefined): void;
@@ -0,0 +1,6 @@
1
+ import { RComponentContractInput, RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
2
+ import { RComponentSFC_AST } from '../../../domain/types/component/sfc/ast.types';
3
+ import { ComponentSFCAttributeAnalysisOptions, ComponentSFCTagAttributeContract } from '../../../domain/types/component/sfc/tag-attribute-contract.types';
4
+ export declare function validateComponentSFCAttributeValues(source: string, ast: RComponentSFC_AST | null, options?: ComponentSFCAttributeAnalysisOptions): RComponentDiagnostic[];
5
+ export declare function resolveComponentSFCTagAttributeContracts(tag: string, options?: ComponentSFCAttributeAnalysisOptions): readonly ComponentSFCTagAttributeContract[];
6
+ export declare function createComponentSFCAttributeContractsFromInputs(inputs: readonly RComponentContractInput[]): ComponentSFCTagAttributeContract[];
@@ -0,0 +1,3 @@
1
+ import { RComponentSFC_IR_Tag } from '../../../domain/types/component/sfc/ir.types';
2
+ export declare const ENDGE_SFC_BUILT_IN_TAGS: Set<RComponentSFC_IR_Tag>;
3
+ export declare function isComponentSFCBuiltInTag(tag: string): tag is RComponentSFC_IR_Tag;
@@ -0,0 +1,34 @@
1
+ import { EndgeSFCEditingConfiguration } from '../../../configuration/domain/types/configuration.type';
2
+ import { RComponentContract, RComponentDependencies, RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
3
+ import { RComponentSFC_AST } from '../../../domain/types/component/sfc/ast.types';
4
+ import { RComponentSFC_RuntimeDependencies } from '../../../domain/types/component/sfc/dependencies.types';
5
+ import { RComponentSFC_IR } from '../../../domain/types/component/sfc/ir.types';
6
+ import { ComponentSFCPortManifest, ComponentSFCPortProviderDescriptor } from '../../../domain/types/component/sfc/ports.types';
7
+ import { RComponentSFCSource_Parts } from '../../../domain/types/component/sfc/source.types';
8
+ import { ProgramMetadata } from '../../../program/domain/types/program-metadata.types';
9
+ import { ComponentSFCPreviewOptions, ComponentSFCPreviewProps } from '../../../program/domain/types/program.types';
10
+ import { TypeSourceDefinition } from '../../../source/domain/types/type-source.types';
11
+ export interface ComponentSFCCompileResult {
12
+ sourceParts: RComponentSFCSource_Parts;
13
+ ast: RComponentSFC_AST | null;
14
+ ir: RComponentSFC_IR | null;
15
+ contract: RComponentContract;
16
+ dependencies: RComponentDependencies;
17
+ runtimeDependencies: RComponentSFC_RuntimeDependencies;
18
+ previewProps: ComponentSFCPreviewProps | null;
19
+ previewOptions: ComponentSFCPreviewOptions | null;
20
+ diagnostics: RComponentDiagnostic[];
21
+ metadata: ProgramMetadata;
22
+ sections: Record<'script' | 'template' | 'style', 'valid' | 'warning' | 'error'>;
23
+ }
24
+ export interface ComponentSFCCompileOptions {
25
+ identity?: string;
26
+ resolveComponentTag?: (tag: string) => string | null;
27
+ hasComponentIdentity?: (identity: string) => boolean;
28
+ resolvePortProvider?: (identity: string, expectedKind: 'computation' | 'component' | 'action' | 'query') => ComponentSFCPortProviderDescriptor | null;
29
+ resolveComponentPortManifest?: (identity: string) => ComponentSFCPortManifest | null;
30
+ resolveComponentVariants?: (identity: string) => string[] | null;
31
+ resolveTypeDefinition?: (identity: string) => TypeSourceDefinition | null;
32
+ sfcEditing?: EndgeSFCEditingConfiguration;
33
+ }
34
+ export declare function compileComponentSFC(source: string, options?: ComponentSFCCompileOptions): ComponentSFCCompileResult;
@@ -0,0 +1,3 @@
1
+ import { RComponentSFC_RuntimeDependencies } from '../../../domain/types/component/sfc/dependencies.types';
2
+ import { RComponentSFC_IR } from '../../../domain/types/component/sfc/ir.types';
3
+ export declare function analyzeComponentSFCRuntimeDependencies(ir: RComponentSFC_IR | null): RComponentSFC_RuntimeDependencies;
@@ -0,0 +1,3 @@
1
+ import { ComponentSFCExpressionIR } from '../../../domain/types/component/sfc/expression-ir.types';
2
+ import type * as t from '@babel/types';
3
+ export declare function lowerComponentSFCExpression(node: t.Node): ComponentSFCExpressionIR;
@@ -0,0 +1,37 @@
1
+ import { Node } from '@babel/types';
2
+ import { EndgeRuntimeContextSnapshot } from '../../../context/domain/context-persistence.types';
3
+ import { RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
4
+ import { RComponentSFC_IR_Value } from '../../../domain/types/component/sfc/ir.types';
5
+ import { EndgeConfigurationSchemaEntry } from '../../../source/domain/types/configuration-source.types';
6
+ export interface ComponentSFCExpressionContext {
7
+ props?: Iterable<string>;
8
+ locals?: Iterable<string>;
9
+ sourcePath?: string;
10
+ }
11
+ export interface ComponentSFCExpressionCompileResult {
12
+ value: RComponentSFC_IR_Value;
13
+ diagnostics: RComponentDiagnostic[];
14
+ }
15
+ export type ComponentSFCExpressionCompletionScope = 'table-row-menu' | 'table-column-menu';
16
+ export interface ComponentSFCExpressionCompletionRequest {
17
+ source: string;
18
+ cursor: number;
19
+ scope: ComponentSFCExpressionCompletionScope;
20
+ context?: Readonly<EndgeRuntimeContextSnapshot> | Record<string, unknown>;
21
+ configurations?: Iterable<EndgeConfigurationSchemaEntry>;
22
+ }
23
+ export interface ComponentSFCExpressionCompletion {
24
+ label: string;
25
+ insertText: string;
26
+ kind: 'variable' | 'property' | 'configuration';
27
+ detail: string;
28
+ documentation?: string;
29
+ replace: {
30
+ start: number;
31
+ end: number;
32
+ };
33
+ }
34
+ export declare function resolveComponentSFCExpressionCompletions(request: ComponentSFCExpressionCompletionRequest): ComponentSFCExpressionCompletion[];
35
+ export declare function readComponentSFCTranslationFallback(source: string): string | null;
36
+ export declare function compileComponentSFCExpression(source: string, context?: ComponentSFCExpressionContext): ComponentSFCExpressionCompileResult;
37
+ export declare function compileComponentSFCExpressionAST(ast: Node, source: string, context?: ComponentSFCExpressionContext): ComponentSFCExpressionCompileResult;
@@ -0,0 +1,16 @@
1
+ import { RComponentDependencies, RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
2
+ import { RComponentSFC_IR_Template } from '../../../domain/types/component/sfc/ir.types';
3
+ import { ComponentSFCPortManifest } from '../../../domain/types/component/sfc/ports.types';
4
+ export interface ComponentSFCPortForwardOptions {
5
+ resolveComponentPortManifest?: (identity: string) => ComponentSFCPortManifest | null;
6
+ }
7
+ export interface ComponentSFCPortForwardResult {
8
+ diagnostics: RComponentDiagnostic[];
9
+ dependencies: RComponentDependencies;
10
+ }
11
+ export declare function resolveComponentSFCPortForwards(manifest: ComponentSFCPortManifest, template: RComponentSFC_IR_Template | null, options?: ComponentSFCPortForwardOptions): ComponentSFCPortForwardResult;
12
+ export declare function createBuiltInComponentPortManifest(tag: string): ComponentSFCPortManifest | null;
13
+ export declare function listBuiltInComponentPortManifests(): Array<{
14
+ tag: string;
15
+ manifest: ComponentSFCPortManifest;
16
+ }>;
@@ -0,0 +1,10 @@
1
+ import { RComponentDependencies, RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
2
+ import { RComponentSFC_AST_Attribute } from '../../../domain/types/component/sfc/ast.types';
3
+ import { RComponentSFC_IR_EventModifier, RComponentSFC_IR_InteractionGroup, RComponentSFC_IR_Value } from '../../../domain/types/component/sfc/ir.types';
4
+ import { ComponentSFCPortManifest } from '../../../domain/types/component/sfc/ports.types';
5
+ export interface ComponentSFCInteractionCompileContext {
6
+ props: string[];
7
+ locals: string[];
8
+ }
9
+ export declare function hasComponentSFCPassivePreventConflict(value: RComponentSFC_IR_Value, suffixes?: readonly RComponentSFC_IR_EventModifier[]): boolean;
10
+ export declare function compileComponentSFCInteractionAnnotation(attribute: RComponentSFC_AST_Attribute, manifest: ComponentSFCPortManifest | null, context: ComponentSFCInteractionCompileContext, dependencies: RComponentDependencies, diagnostics: RComponentDiagnostic[], ownerPorts?: ComponentSFCPortManifest | null): RComponentSFC_IR_InteractionGroup | null;
@@ -0,0 +1,9 @@
1
+ import { RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
2
+ import { RComponentSFC_AST } from '../../../domain/types/component/sfc/ast.types';
3
+ import { RComponentSFCSource_Parts } from '../../../domain/types/component/sfc/source.types';
4
+ export interface ComponentSFCParseResult {
5
+ sourceParts: RComponentSFCSource_Parts;
6
+ ast: RComponentSFC_AST | null;
7
+ diagnostics: RComponentDiagnostic[];
8
+ }
9
+ export declare function parseComponentSFC(source: string): ComponentSFCParseResult;
@@ -0,0 +1,20 @@
1
+ import { File } from '@babel/types';
2
+ import { RComponentDependencies, RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
3
+ import { RComponentSFC_AST_Script } from '../../../domain/types/component/sfc/ast.types';
4
+ import { ComponentSFCEventAction, ComponentSFCPortManifest, ComponentSFCPortProviderDescriptor, RComponentSFC_IR_PortCall } from '../../../domain/types/component/sfc/ports.types';
5
+ import { TypeSourceDefinition } from '../../../source/domain/types/type-source.types';
6
+ export interface ComponentSFCPortAnalysisOptions {
7
+ scriptSyntax?: File | null;
8
+ resolveProvider?: (identity: string, expectedKind: 'computation' | 'component' | 'action' | 'query') => ComponentSFCPortProviderDescriptor | null;
9
+ resolveTypeDefinition?: (identity: string) => TypeSourceDefinition | null;
10
+ }
11
+ export declare function compileComponentSFCLocalEventActions(eventName: string, source: string, sourceOffset: number, dependencies: RComponentDependencies, diagnostics: RComponentDiagnostic[], ownerPorts?: ComponentSFCPortManifest | null): ComponentSFCEventAction[];
12
+ export declare function compileComponentSFCLocalEventAction(eventName: string, source: string, sourceOffset: number, dependencies: RComponentDependencies, diagnostics: RComponentDiagnostic[], ownerPorts?: ComponentSFCPortManifest | null): ComponentSFCEventAction | null;
13
+ export interface ComponentSFCPortAnalysisResult {
14
+ manifest: ComponentSFCPortManifest;
15
+ calls: RComponentSFC_IR_PortCall[];
16
+ dependencies: RComponentDependencies;
17
+ diagnostics: RComponentDiagnostic[];
18
+ bindingName: string | null;
19
+ }
20
+ export declare function analyzeComponentSFCPorts(script: RComponentSFC_AST_Script | null, dependencies: RComponentDependencies, options?: ComponentSFCPortAnalysisOptions): ComponentSFCPortAnalysisResult;
@@ -0,0 +1,22 @@
1
+ import { File } from '@babel/types';
2
+ import { RComponentContract, RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
3
+ import { RComponentSFC_AST_Script } from '../../../domain/types/component/sfc/ast.types';
4
+ import { RComponentSFC_IR_LocalBinding, RComponentSFC_IR_Prop } from '../../../domain/types/component/sfc/ir.types';
5
+ import { ProgramMetadataMap } from '../../../program/domain/types/program-metadata.types';
6
+ import { ComponentSFCPreviewOptions, ComponentSFCPreviewProps } from '../../../program/domain/types/program.types';
7
+ import { TypeSourceDefinition } from '../../../source/domain/types/type-source.types';
8
+ export interface ComponentSFCTypeResolutionOptions {
9
+ scriptSyntax?: File | null;
10
+ resolveTypeDefinition?: (identity: string) => TypeSourceDefinition | null;
11
+ }
12
+ export interface ComponentSFCScriptAnalysisResult {
13
+ contract: RComponentContract;
14
+ props: RComponentSFC_IR_Prop[];
15
+ locals: RComponentSFC_IR_LocalBinding[];
16
+ previewProps: ComponentSFCPreviewProps | null;
17
+ previewOptions: ComponentSFCPreviewOptions | null;
18
+ metadata: ProgramMetadataMap;
19
+ diagnostics: RComponentDiagnostic[];
20
+ }
21
+ export declare function analyzeComponentSFCScript(script: RComponentSFC_AST_Script | null, options?: ComponentSFCTypeResolutionOptions): ComponentSFCScriptAnalysisResult;
22
+ export declare function parseComponentSFCTypeFields(source: string, scriptContent?: string, options?: ComponentSFCTypeResolutionOptions): RComponentSFC_IR_Prop[];
@@ -0,0 +1,11 @@
1
+ import { RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
2
+ import { RComponentSFC_AST_Style } from '../../../domain/types/component/sfc/ast.types';
3
+ import { RComponentSFC_IR_Style } from '../../../domain/types/component/sfc/ir.types';
4
+ export interface ComponentSFCStyleCompileResult {
5
+ style: RComponentSFC_IR_Style | null;
6
+ diagnostics: RComponentDiagnostic[];
7
+ }
8
+ export interface ComponentSFCStyleCompileOptions {
9
+ identity?: string;
10
+ }
11
+ export declare function compileComponentSFCStyle(style: RComponentSFC_AST_Style | null, options?: ComponentSFCStyleCompileOptions): ComponentSFCStyleCompileResult;
@@ -0,0 +1,15 @@
1
+ import { ComponentSFCTableCellMenuDescriptor, ComponentSFCTableColumnMenuDescriptor, ComponentSFCTableRowMenuDescriptor, RComponentSFC_IR_ElementNode } from '../../../domain/types/component/sfc/ir.types';
2
+ import { ComponentSFCActionPort } from '../../../domain/types/component/sfc/ports.types';
3
+ export declare const SFC_TABLE_COLUMN_MENU_MODES: readonly ["default", "disabled"];
4
+ export type { ComponentSFCTableCellMenuDescriptor, ComponentSFCTableCellMenuMode, ComponentSFCTableColumnMenuDescriptor, ComponentSFCTableColumnMenuMode, ComponentSFCTableMenuDescriptor, ComponentSFCTableMenuItemDescriptor, ComponentSFCTableMenuNodeDescriptor, ComponentSFCTableMenuSeparatorDescriptor, ComponentSFCTableRowMenuDescriptor, ComponentSFCTableRowMenuMode, } from '../../../domain/types/component/sfc/ir.types';
5
+ interface NormalizeMenuOptions {
6
+ availableActions?: ComponentSFCActionPort[];
7
+ }
8
+ export declare function normalizeComponentSFCTableColumnMenu(tableNode: RComponentSFC_IR_ElementNode, actionsOrOptions?: ComponentSFCActionPort[] | NormalizeMenuOptions): ComponentSFCTableColumnMenuDescriptor;
9
+ export declare function normalizeComponentSFCTableRowMenu(tableNode: RComponentSFC_IR_ElementNode, actionsOrOptions?: ComponentSFCActionPort[] | NormalizeMenuOptions): ComponentSFCTableRowMenuDescriptor;
10
+ export declare function normalizeComponentSFCTableCellMenu(tableNode: RComponentSFC_IR_ElementNode, actionsOrOptions?: ComponentSFCActionPort[] | NormalizeMenuOptions): ComponentSFCTableCellMenuDescriptor;
11
+ export declare function normalizeComponentSFCColumnCellMenu(tableNode: RComponentSFC_IR_ElementNode, columnNode: RComponentSFC_IR_ElementNode, actionsOrOptions?: ComponentSFCActionPort[] | NormalizeMenuOptions): ComponentSFCTableCellMenuDescriptor | undefined;
12
+ export declare function readComponentSFCTableMenuActionPortReference(source: string): {
13
+ name: string;
14
+ role?: 'require' | 'provides';
15
+ } | null;
@@ -0,0 +1,24 @@
1
+ import { TableColumnPinSide } from '../../../actions/domain/action.types';
2
+ import { RComponentDiagnostic } from '../../../domain/types/component/component-core.types';
3
+ import { RComponentSFC_IR_ElementNode } from '../../../domain/types/component/sfc/ir.types';
4
+ export declare const SFC_TABLE_COLUMN_PIN_MODES: readonly ["enabled", "disabled"];
5
+ export declare const SFC_TABLE_COLUMN_PIN_SIDES: readonly ["left", "right"];
6
+ export type ComponentSFCTableColumnPinMode = typeof SFC_TABLE_COLUMN_PIN_MODES[number];
7
+ export type ComponentSFCTableColumnPinSide = typeof SFC_TABLE_COLUMN_PIN_SIDES[number];
8
+ export interface ComponentSFCTableColumnPinStateItem {
9
+ key: string;
10
+ side: ComponentSFCTableColumnPinSide;
11
+ }
12
+ export interface ComponentSFCTableColumnPinDescriptor {
13
+ mode: ComponentSFCTableColumnPinMode;
14
+ defaultPin: ComponentSFCTableColumnPinStateItem[];
15
+ columns: ComponentSFCTableColumnPinCapability[];
16
+ diagnostics: RComponentDiagnostic[];
17
+ }
18
+ export interface ComponentSFCTableColumnPinCapability {
19
+ key: string;
20
+ pinnable: boolean;
21
+ }
22
+ export declare function normalizeComponentSFCTableColumnPin(tableNode: RComponentSFC_IR_ElementNode): ComponentSFCTableColumnPinDescriptor;
23
+ export declare function normalizeComponentSFCTableColumnPinMode(value: unknown): ComponentSFCTableColumnPinMode;
24
+ export declare function normalizeTableColumnPinSide(value: unknown): TableColumnPinSide;