@cohesivesystems/presentation-core 0.1.0-alpha.1

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 (447) hide show
  1. package/LICENSE +55 -0
  2. package/dist/api-scope-request.d.ts +43 -0
  3. package/dist/api-scope-request.d.ts.map +1 -0
  4. package/dist/api-scope-request.js +96 -0
  5. package/dist/api-scope-request.js.map +1 -0
  6. package/dist/collection-chrome-icons.d.ts +18 -0
  7. package/dist/collection-chrome-icons.d.ts.map +1 -0
  8. package/dist/collection-chrome-icons.js +57 -0
  9. package/dist/collection-chrome-icons.js.map +1 -0
  10. package/dist/collection-chrome-runtime.d.ts +25 -0
  11. package/dist/collection-chrome-runtime.d.ts.map +1 -0
  12. package/dist/collection-chrome-runtime.js +72 -0
  13. package/dist/collection-chrome-runtime.js.map +1 -0
  14. package/dist/collection-chrome-slot-renderer-registry.d.ts +110 -0
  15. package/dist/collection-chrome-slot-renderer-registry.d.ts.map +1 -0
  16. package/dist/collection-chrome-slot-renderer-registry.js +136 -0
  17. package/dist/collection-chrome-slot-renderer-registry.js.map +1 -0
  18. package/dist/collection-selection-state.d.ts +18 -0
  19. package/dist/collection-selection-state.d.ts.map +1 -0
  20. package/dist/collection-selection-state.js +2 -0
  21. package/dist/collection-selection-state.js.map +1 -0
  22. package/dist/data-source-projection.d.ts +475 -0
  23. package/dist/data-source-projection.d.ts.map +1 -0
  24. package/dist/data-source-projection.js +880 -0
  25. package/dist/data-source-projection.js.map +1 -0
  26. package/dist/data-source-query-lowering.d.ts +35 -0
  27. package/dist/data-source-query-lowering.d.ts.map +1 -0
  28. package/dist/data-source-query-lowering.js +104 -0
  29. package/dist/data-source-query-lowering.js.map +1 -0
  30. package/dist/date-time-filter-model.d.ts +20 -0
  31. package/dist/date-time-filter-model.d.ts.map +1 -0
  32. package/dist/date-time-filter-model.js +115 -0
  33. package/dist/date-time-filter-model.js.map +1 -0
  34. package/dist/document-badge-icons.d.ts +4 -0
  35. package/dist/document-badge-icons.d.ts.map +1 -0
  36. package/dist/document-badge-icons.js +4 -0
  37. package/dist/document-badge-icons.js.map +1 -0
  38. package/dist/document-module.d.ts +268 -0
  39. package/dist/document-module.d.ts.map +1 -0
  40. package/dist/document-module.js +347 -0
  41. package/dist/document-module.js.map +1 -0
  42. package/dist/document-summary-model.d.ts +2 -0
  43. package/dist/document-summary-model.d.ts.map +1 -0
  44. package/dist/document-summary-model.js +2 -0
  45. package/dist/document-summary-model.js.map +1 -0
  46. package/dist/document-workspace-chrome-projection.d.ts +18 -0
  47. package/dist/document-workspace-chrome-projection.d.ts.map +1 -0
  48. package/dist/document-workspace-chrome-projection.js +35 -0
  49. package/dist/document-workspace-chrome-projection.js.map +1 -0
  50. package/dist/document-workspace-surface-slots.d.ts +75 -0
  51. package/dist/document-workspace-surface-slots.d.ts.map +1 -0
  52. package/dist/document-workspace-surface-slots.js +268 -0
  53. package/dist/document-workspace-surface-slots.js.map +1 -0
  54. package/dist/endpoint-executor.d.ts +62 -0
  55. package/dist/endpoint-executor.d.ts.map +1 -0
  56. package/dist/endpoint-executor.js +35 -0
  57. package/dist/endpoint-executor.js.map +1 -0
  58. package/dist/field-display-resolution.d.ts +5 -0
  59. package/dist/field-display-resolution.d.ts.map +1 -0
  60. package/dist/field-display-resolution.js +50 -0
  61. package/dist/field-display-resolution.js.map +1 -0
  62. package/dist/index.d.ts +90 -0
  63. package/dist/index.d.ts.map +1 -0
  64. package/dist/index.js +89 -0
  65. package/dist/index.js.map +1 -0
  66. package/dist/module.d.ts +48 -0
  67. package/dist/module.d.ts.map +1 -0
  68. package/dist/module.js +108 -0
  69. package/dist/module.js.map +1 -0
  70. package/dist/navigation-shell-frame-renderer-registry.d.ts +12 -0
  71. package/dist/navigation-shell-frame-renderer-registry.d.ts.map +1 -0
  72. package/dist/navigation-shell-frame-renderer-registry.js +29 -0
  73. package/dist/navigation-shell-frame-renderer-registry.js.map +1 -0
  74. package/dist/navigation-shell-layout-runtime.d.ts +29 -0
  75. package/dist/navigation-shell-layout-runtime.d.ts.map +1 -0
  76. package/dist/navigation-shell-layout-runtime.js +50 -0
  77. package/dist/navigation-shell-layout-runtime.js.map +1 -0
  78. package/dist/navigation-shell-region-component-registry.d.ts +96 -0
  79. package/dist/navigation-shell-region-component-registry.d.ts.map +1 -0
  80. package/dist/navigation-shell-region-component-registry.js +108 -0
  81. package/dist/navigation-shell-region-component-registry.js.map +1 -0
  82. package/dist/navigation-shell-runtime.d.ts +48 -0
  83. package/dist/navigation-shell-runtime.d.ts.map +1 -0
  84. package/dist/navigation-shell-runtime.js +457 -0
  85. package/dist/navigation-shell-runtime.js.map +1 -0
  86. package/dist/navigation-shell-slot-renderer-registry.d.ts +15 -0
  87. package/dist/navigation-shell-slot-renderer-registry.d.ts.map +1 -0
  88. package/dist/navigation-shell-slot-renderer-registry.js +48 -0
  89. package/dist/navigation-shell-slot-renderer-registry.js.map +1 -0
  90. package/dist/navigation.d.ts +84 -0
  91. package/dist/navigation.d.ts.map +1 -0
  92. package/dist/navigation.js +167 -0
  93. package/dist/navigation.js.map +1 -0
  94. package/dist/object-path.d.ts +23 -0
  95. package/dist/object-path.d.ts.map +1 -0
  96. package/dist/object-path.js +63 -0
  97. package/dist/object-path.js.map +1 -0
  98. package/dist/page-host-renderer-registry.d.ts +119 -0
  99. package/dist/page-host-renderer-registry.d.ts.map +1 -0
  100. package/dist/page-host-renderer-registry.js +305 -0
  101. package/dist/page-host-renderer-registry.js.map +1 -0
  102. package/dist/presentation-action-endpoint-request-projection.d.ts +23 -0
  103. package/dist/presentation-action-endpoint-request-projection.d.ts.map +1 -0
  104. package/dist/presentation-action-endpoint-request-projection.js +117 -0
  105. package/dist/presentation-action-endpoint-request-projection.js.map +1 -0
  106. package/dist/presentation-action-endpoint.d.ts +24 -0
  107. package/dist/presentation-action-endpoint.d.ts.map +1 -0
  108. package/dist/presentation-action-endpoint.js +56 -0
  109. package/dist/presentation-action-endpoint.js.map +1 -0
  110. package/dist/presentation-action-icons.d.ts +4 -0
  111. package/dist/presentation-action-icons.d.ts.map +1 -0
  112. package/dist/presentation-action-icons.js +4 -0
  113. package/dist/presentation-action-icons.js.map +1 -0
  114. package/dist/presentation-action-result-state.d.ts +48 -0
  115. package/dist/presentation-action-result-state.d.ts.map +1 -0
  116. package/dist/presentation-action-result-state.js +109 -0
  117. package/dist/presentation-action-result-state.js.map +1 -0
  118. package/dist/presentation-action-runtime-binding.d.ts +48 -0
  119. package/dist/presentation-action-runtime-binding.d.ts.map +1 -0
  120. package/dist/presentation-action-runtime-binding.js +52 -0
  121. package/dist/presentation-action-runtime-binding.js.map +1 -0
  122. package/dist/presentation-action-runtime-diagnostics.d.ts +18 -0
  123. package/dist/presentation-action-runtime-diagnostics.d.ts.map +1 -0
  124. package/dist/presentation-action-runtime-diagnostics.js +69 -0
  125. package/dist/presentation-action-runtime-diagnostics.js.map +1 -0
  126. package/dist/presentation-action-runtime-labels.d.ts +15 -0
  127. package/dist/presentation-action-runtime-labels.d.ts.map +1 -0
  128. package/dist/presentation-action-runtime-labels.js +28 -0
  129. package/dist/presentation-action-runtime-labels.js.map +1 -0
  130. package/dist/presentation-action-runtime-projection.d.ts +17 -0
  131. package/dist/presentation-action-runtime-projection.d.ts.map +1 -0
  132. package/dist/presentation-action-runtime-projection.js +31 -0
  133. package/dist/presentation-action-runtime-projection.js.map +1 -0
  134. package/dist/presentation-badge-resolution.d.ts +8 -0
  135. package/dist/presentation-badge-resolution.d.ts.map +1 -0
  136. package/dist/presentation-badge-resolution.js +73 -0
  137. package/dist/presentation-badge-resolution.js.map +1 -0
  138. package/dist/presentation-collection-pagination.d.ts +32 -0
  139. package/dist/presentation-collection-pagination.d.ts.map +1 -0
  140. package/dist/presentation-collection-pagination.js +275 -0
  141. package/dist/presentation-collection-pagination.js.map +1 -0
  142. package/dist/presentation-content-diagnostics.d.ts +17 -0
  143. package/dist/presentation-content-diagnostics.d.ts.map +1 -0
  144. package/dist/presentation-content-diagnostics.js +61 -0
  145. package/dist/presentation-content-diagnostics.js.map +1 -0
  146. package/dist/presentation-content-resolution.d.ts +9 -0
  147. package/dist/presentation-content-resolution.d.ts.map +1 -0
  148. package/dist/presentation-content-resolution.js +19 -0
  149. package/dist/presentation-content-resolution.js.map +1 -0
  150. package/dist/presentation-data-source-binding-model.d.ts +81 -0
  151. package/dist/presentation-data-source-binding-model.d.ts.map +1 -0
  152. package/dist/presentation-data-source-binding-model.js +56 -0
  153. package/dist/presentation-data-source-binding-model.js.map +1 -0
  154. package/dist/presentation-data-source-runtime.d.ts +62 -0
  155. package/dist/presentation-data-source-runtime.d.ts.map +1 -0
  156. package/dist/presentation-data-source-runtime.js +80 -0
  157. package/dist/presentation-data-source-runtime.js.map +1 -0
  158. package/dist/presentation-design-intent-diagnostics.d.ts +25 -0
  159. package/dist/presentation-design-intent-diagnostics.d.ts.map +1 -0
  160. package/dist/presentation-design-intent-diagnostics.js +55 -0
  161. package/dist/presentation-design-intent-diagnostics.js.map +1 -0
  162. package/dist/presentation-icon-diagnostics.d.ts +45 -0
  163. package/dist/presentation-icon-diagnostics.d.ts.map +1 -0
  164. package/dist/presentation-icon-diagnostics.js +235 -0
  165. package/dist/presentation-icon-diagnostics.js.map +1 -0
  166. package/dist/presentation-icon-registry.d.ts +36 -0
  167. package/dist/presentation-icon-registry.d.ts.map +1 -0
  168. package/dist/presentation-icon-registry.js +81 -0
  169. package/dist/presentation-icon-registry.js.map +1 -0
  170. package/dist/presentation-navigation-action-runtime-bindings.d.ts +13 -0
  171. package/dist/presentation-navigation-action-runtime-bindings.d.ts.map +1 -0
  172. package/dist/presentation-navigation-action-runtime-bindings.js +29 -0
  173. package/dist/presentation-navigation-action-runtime-bindings.js.map +1 -0
  174. package/dist/presentation-pagination.d.ts +98 -0
  175. package/dist/presentation-pagination.d.ts.map +1 -0
  176. package/dist/presentation-pagination.js +427 -0
  177. package/dist/presentation-pagination.js.map +1 -0
  178. package/dist/presentation-projection-coverage.d.ts +38 -0
  179. package/dist/presentation-projection-coverage.d.ts.map +1 -0
  180. package/dist/presentation-projection-coverage.js +2429 -0
  181. package/dist/presentation-projection-coverage.js.map +1 -0
  182. package/dist/presentation-projection-diagnostics.d.ts +33 -0
  183. package/dist/presentation-projection-diagnostics.d.ts.map +1 -0
  184. package/dist/presentation-projection-diagnostics.js +17 -0
  185. package/dist/presentation-projection-diagnostics.js.map +1 -0
  186. package/dist/presentation-projection-trace.d.ts +97 -0
  187. package/dist/presentation-projection-trace.d.ts.map +1 -0
  188. package/dist/presentation-projection-trace.js +110 -0
  189. package/dist/presentation-projection-trace.js.map +1 -0
  190. package/dist/presentation-query-form-state.d.ts +15 -0
  191. package/dist/presentation-query-form-state.d.ts.map +1 -0
  192. package/dist/presentation-query-form-state.js +20 -0
  193. package/dist/presentation-query-form-state.js.map +1 -0
  194. package/dist/presentation-renderer-registry.d.ts +86 -0
  195. package/dist/presentation-renderer-registry.d.ts.map +1 -0
  196. package/dist/presentation-renderer-registry.js +108 -0
  197. package/dist/presentation-renderer-registry.js.map +1 -0
  198. package/dist/presentation-semantics.d.ts +288 -0
  199. package/dist/presentation-semantics.d.ts.map +1 -0
  200. package/dist/presentation-semantics.js +560 -0
  201. package/dist/presentation-semantics.js.map +1 -0
  202. package/dist/presentation-standards.d.ts +8 -0
  203. package/dist/presentation-standards.d.ts.map +1 -0
  204. package/dist/presentation-standards.js +9 -0
  205. package/dist/presentation-standards.js.map +1 -0
  206. package/dist/presentation-test-selectors.d.ts +146 -0
  207. package/dist/presentation-test-selectors.d.ts.map +1 -0
  208. package/dist/presentation-test-selectors.js +113 -0
  209. package/dist/presentation-test-selectors.js.map +1 -0
  210. package/dist/presentation-value-formatting.d.ts +12 -0
  211. package/dist/presentation-value-formatting.d.ts.map +1 -0
  212. package/dist/presentation-value-formatting.js +33 -0
  213. package/dist/presentation-value-formatting.js.map +1 -0
  214. package/dist/presentation-value-resolution.d.ts +7 -0
  215. package/dist/presentation-value-resolution.d.ts.map +1 -0
  216. package/dist/presentation-value-resolution.js +69 -0
  217. package/dist/presentation-value-resolution.js.map +1 -0
  218. package/dist/presentation-view-tree.d.ts +6 -0
  219. package/dist/presentation-view-tree.d.ts.map +1 -0
  220. package/dist/presentation-view-tree.js +15 -0
  221. package/dist/presentation-view-tree.js.map +1 -0
  222. package/dist/process-task-model.d.ts +80 -0
  223. package/dist/process-task-model.d.ts.map +1 -0
  224. package/dist/process-task-model.js +52 -0
  225. package/dist/process-task-model.js.map +1 -0
  226. package/dist/process-task-projection.d.ts +46 -0
  227. package/dist/process-task-projection.d.ts.map +1 -0
  228. package/dist/process-task-projection.js +233 -0
  229. package/dist/process-task-projection.js.map +1 -0
  230. package/dist/projected-action-status-projection.d.ts +18 -0
  231. package/dist/projected-action-status-projection.d.ts.map +1 -0
  232. package/dist/projected-action-status-projection.js +19 -0
  233. package/dist/projected-action-status-projection.js.map +1 -0
  234. package/dist/projected-activity-state-model.d.ts +22 -0
  235. package/dist/projected-activity-state-model.d.ts.map +1 -0
  236. package/dist/projected-activity-state-model.js +87 -0
  237. package/dist/projected-activity-state-model.js.map +1 -0
  238. package/dist/projected-collection-action-runtime-bindings.d.ts +12 -0
  239. package/dist/projected-collection-action-runtime-bindings.d.ts.map +1 -0
  240. package/dist/projected-collection-action-runtime-bindings.js +37 -0
  241. package/dist/projected-collection-action-runtime-bindings.js.map +1 -0
  242. package/dist/projected-collection-action-runtime-diagnostics.d.ts +23 -0
  243. package/dist/projected-collection-action-runtime-diagnostics.d.ts.map +1 -0
  244. package/dist/projected-collection-action-runtime-diagnostics.js +168 -0
  245. package/dist/projected-collection-action-runtime-diagnostics.js.map +1 -0
  246. package/dist/projected-collection-runtime.d.ts +475 -0
  247. package/dist/projected-collection-runtime.d.ts.map +1 -0
  248. package/dist/projected-collection-runtime.js +832 -0
  249. package/dist/projected-collection-runtime.js.map +1 -0
  250. package/dist/projected-document-action-diagnostics.d.ts +16 -0
  251. package/dist/projected-document-action-diagnostics.d.ts.map +1 -0
  252. package/dist/projected-document-action-diagnostics.js +113 -0
  253. package/dist/projected-document-action-diagnostics.js.map +1 -0
  254. package/dist/projected-document-action-enablements.d.ts +25 -0
  255. package/dist/projected-document-action-enablements.d.ts.map +1 -0
  256. package/dist/projected-document-action-enablements.js +38 -0
  257. package/dist/projected-document-action-enablements.js.map +1 -0
  258. package/dist/projected-document-action-projection.d.ts +45 -0
  259. package/dist/projected-document-action-projection.d.ts.map +1 -0
  260. package/dist/projected-document-action-projection.js +201 -0
  261. package/dist/projected-document-action-projection.js.map +1 -0
  262. package/dist/projected-document-action-runtime-profile-diagnostics.d.ts +16 -0
  263. package/dist/projected-document-action-runtime-profile-diagnostics.d.ts.map +1 -0
  264. package/dist/projected-document-action-runtime-profile-diagnostics.js +168 -0
  265. package/dist/projected-document-action-runtime-profile-diagnostics.js.map +1 -0
  266. package/dist/projected-document-action-runtime-profile.d.ts +64 -0
  267. package/dist/projected-document-action-runtime-profile.d.ts.map +1 -0
  268. package/dist/projected-document-action-runtime-profile.js +33 -0
  269. package/dist/projected-document-action-runtime-profile.js.map +1 -0
  270. package/dist/projected-document-action-status-notice-diagnostics.d.ts +10 -0
  271. package/dist/projected-document-action-status-notice-diagnostics.d.ts.map +1 -0
  272. package/dist/projected-document-action-status-notice-diagnostics.js +64 -0
  273. package/dist/projected-document-action-status-notice-diagnostics.js.map +1 -0
  274. package/dist/projected-document-badge-formatting.d.ts +2 -0
  275. package/dist/projected-document-badge-formatting.d.ts.map +1 -0
  276. package/dist/projected-document-badge-formatting.js +7 -0
  277. package/dist/projected-document-badge-formatting.js.map +1 -0
  278. package/dist/projected-document-editor-model.d.ts +4 -0
  279. package/dist/projected-document-editor-model.d.ts.map +1 -0
  280. package/dist/projected-document-editor-model.js +2 -0
  281. package/dist/projected-document-editor-model.js.map +1 -0
  282. package/dist/projected-document-field-navigation.d.ts +72 -0
  283. package/dist/projected-document-field-navigation.d.ts.map +1 -0
  284. package/dist/projected-document-field-navigation.js +143 -0
  285. package/dist/projected-document-field-navigation.js.map +1 -0
  286. package/dist/projected-document-field-semantics.d.ts +5 -0
  287. package/dist/projected-document-field-semantics.d.ts.map +1 -0
  288. package/dist/projected-document-field-semantics.js +16 -0
  289. package/dist/projected-document-field-semantics.js.map +1 -0
  290. package/dist/projected-document-workspace-data-source-bindings.d.ts +69 -0
  291. package/dist/projected-document-workspace-data-source-bindings.d.ts.map +1 -0
  292. package/dist/projected-document-workspace-data-source-bindings.js +81 -0
  293. package/dist/projected-document-workspace-data-source-bindings.js.map +1 -0
  294. package/dist/projected-document-workspace-notice-diagnostics.d.ts +12 -0
  295. package/dist/projected-document-workspace-notice-diagnostics.d.ts.map +1 -0
  296. package/dist/projected-document-workspace-notice-diagnostics.js +13 -0
  297. package/dist/projected-document-workspace-notice-diagnostics.js.map +1 -0
  298. package/dist/projected-input-form-runtime.d.ts +62 -0
  299. package/dist/projected-input-form-runtime.d.ts.map +1 -0
  300. package/dist/projected-input-form-runtime.js +2 -0
  301. package/dist/projected-input-form-runtime.js.map +1 -0
  302. package/dist/projected-process-task-notice-diagnostics.d.ts +13 -0
  303. package/dist/projected-process-task-notice-diagnostics.d.ts.map +1 -0
  304. package/dist/projected-process-task-notice-diagnostics.js +170 -0
  305. package/dist/projected-process-task-notice-diagnostics.js.map +1 -0
  306. package/dist/projected-query-form-runtime.d.ts +46 -0
  307. package/dist/projected-query-form-runtime.d.ts.map +1 -0
  308. package/dist/projected-query-form-runtime.js +2 -0
  309. package/dist/projected-query-form-runtime.js.map +1 -0
  310. package/dist/prompt-document-preview-projection.d.ts +46 -0
  311. package/dist/prompt-document-preview-projection.d.ts.map +1 -0
  312. package/dist/prompt-document-preview-projection.js +173 -0
  313. package/dist/prompt-document-preview-projection.js.map +1 -0
  314. package/dist/prompt-icons.d.ts +4 -0
  315. package/dist/prompt-icons.d.ts.map +1 -0
  316. package/dist/prompt-icons.js +4 -0
  317. package/dist/prompt-icons.js.map +1 -0
  318. package/dist/prompt-status-message-resolution.d.ts +18 -0
  319. package/dist/prompt-status-message-resolution.d.ts.map +1 -0
  320. package/dist/prompt-status-message-resolution.js +83 -0
  321. package/dist/prompt-status-message-resolution.js.map +1 -0
  322. package/dist/query-form-lowering.d.ts +16 -0
  323. package/dist/query-form-lowering.d.ts.map +1 -0
  324. package/dist/query-form-lowering.js +38 -0
  325. package/dist/query-form-lowering.js.map +1 -0
  326. package/dist/query-form-url-state.d.ts +44 -0
  327. package/dist/query-form-url-state.d.ts.map +1 -0
  328. package/dist/query-form-url-state.js +197 -0
  329. package/dist/query-form-url-state.js.map +1 -0
  330. package/dist/query-offset-page.d.ts +13 -0
  331. package/dist/query-offset-page.d.ts.map +1 -0
  332. package/dist/query-offset-page.js +24 -0
  333. package/dist/query-offset-page.js.map +1 -0
  334. package/dist/relation-query-input-form-target.d.ts +10 -0
  335. package/dist/relation-query-input-form-target.d.ts.map +1 -0
  336. package/dist/relation-query-input-form-target.js +30 -0
  337. package/dist/relation-query-input-form-target.js.map +1 -0
  338. package/dist/scope-selection.d.ts +94 -0
  339. package/dist/scope-selection.d.ts.map +1 -0
  340. package/dist/scope-selection.js +95 -0
  341. package/dist/scope-selection.js.map +1 -0
  342. package/dist/target-bindings.d.ts +39 -0
  343. package/dist/target-bindings.d.ts.map +1 -0
  344. package/dist/target-bindings.js +40 -0
  345. package/dist/target-bindings.js.map +1 -0
  346. package/dist/view-chrome-content-diagnostics.d.ts +8 -0
  347. package/dist/view-chrome-content-diagnostics.d.ts.map +1 -0
  348. package/dist/view-chrome-content-diagnostics.js +84 -0
  349. package/dist/view-chrome-content-diagnostics.js.map +1 -0
  350. package/dist/view-chrome-icons.d.ts +12 -0
  351. package/dist/view-chrome-icons.d.ts.map +1 -0
  352. package/dist/view-chrome-icons.js +50 -0
  353. package/dist/view-chrome-icons.js.map +1 -0
  354. package/dist/view-chrome-slot-renderer-registry.d.ts +19 -0
  355. package/dist/view-chrome-slot-renderer-registry.d.ts.map +1 -0
  356. package/dist/view-chrome-slot-renderer-registry.js +62 -0
  357. package/dist/view-chrome-slot-renderer-registry.js.map +1 -0
  358. package/package.json +53 -0
  359. package/src/api-scope-request.ts +186 -0
  360. package/src/collection-chrome-icons.ts +89 -0
  361. package/src/collection-chrome-runtime.ts +151 -0
  362. package/src/collection-chrome-slot-renderer-registry.ts +227 -0
  363. package/src/collection-selection-state.ts +32 -0
  364. package/src/data-source-projection.ts +2149 -0
  365. package/src/data-source-query-lowering.ts +217 -0
  366. package/src/date-time-filter-model.ts +156 -0
  367. package/src/document-badge-icons.ts +3 -0
  368. package/src/document-module.ts +741 -0
  369. package/src/document-summary-model.ts +1 -0
  370. package/src/document-workspace-chrome-projection.ts +62 -0
  371. package/src/document-workspace-surface-slots.ts +458 -0
  372. package/src/endpoint-executor.ts +122 -0
  373. package/src/field-display-resolution.ts +99 -0
  374. package/src/index.ts +104 -0
  375. package/src/module.ts +281 -0
  376. package/src/navigation-shell-frame-renderer-registry.ts +65 -0
  377. package/src/navigation-shell-layout-runtime.ts +124 -0
  378. package/src/navigation-shell-region-component-registry.ts +242 -0
  379. package/src/navigation-shell-runtime.ts +579 -0
  380. package/src/navigation-shell-slot-renderer-registry.ts +94 -0
  381. package/src/navigation.ts +364 -0
  382. package/src/object-path.ts +99 -0
  383. package/src/page-host-renderer-registry.ts +615 -0
  384. package/src/presentation-action-endpoint-request-projection.ts +223 -0
  385. package/src/presentation-action-endpoint.ts +130 -0
  386. package/src/presentation-action-icons.ts +3 -0
  387. package/src/presentation-action-result-state.ts +189 -0
  388. package/src/presentation-action-runtime-binding.ts +177 -0
  389. package/src/presentation-action-runtime-diagnostics.ts +120 -0
  390. package/src/presentation-action-runtime-labels.ts +57 -0
  391. package/src/presentation-action-runtime-projection.ts +67 -0
  392. package/src/presentation-badge-resolution.ts +138 -0
  393. package/src/presentation-collection-pagination.ts +436 -0
  394. package/src/presentation-content-diagnostics.ts +121 -0
  395. package/src/presentation-content-resolution.ts +46 -0
  396. package/src/presentation-data-source-binding-model.ts +140 -0
  397. package/src/presentation-data-source-runtime.ts +190 -0
  398. package/src/presentation-design-intent-diagnostics.ts +104 -0
  399. package/src/presentation-icon-diagnostics.ts +368 -0
  400. package/src/presentation-icon-registry.ts +181 -0
  401. package/src/presentation-navigation-action-runtime-bindings.ts +54 -0
  402. package/src/presentation-pagination.ts +694 -0
  403. package/src/presentation-projection-coverage.ts +3257 -0
  404. package/src/presentation-projection-diagnostics.ts +71 -0
  405. package/src/presentation-projection-trace.ts +293 -0
  406. package/src/presentation-query-form-state.ts +54 -0
  407. package/src/presentation-renderer-registry.ts +269 -0
  408. package/src/presentation-semantics.ts +1028 -0
  409. package/src/presentation-standards.ts +14 -0
  410. package/src/presentation-test-selectors.ts +312 -0
  411. package/src/presentation-value-formatting.ts +65 -0
  412. package/src/presentation-value-resolution.ts +100 -0
  413. package/src/presentation-view-tree.ts +33 -0
  414. package/src/process-task-model.ts +158 -0
  415. package/src/process-task-projection.ts +398 -0
  416. package/src/projected-action-status-projection.ts +43 -0
  417. package/src/projected-activity-state-model.ts +123 -0
  418. package/src/projected-collection-action-runtime-bindings.ts +76 -0
  419. package/src/projected-collection-action-runtime-diagnostics.ts +289 -0
  420. package/src/projected-collection-runtime.ts +1772 -0
  421. package/src/projected-document-action-diagnostics.ts +196 -0
  422. package/src/projected-document-action-enablements.ts +99 -0
  423. package/src/projected-document-action-projection.ts +464 -0
  424. package/src/projected-document-action-runtime-profile-diagnostics.ts +250 -0
  425. package/src/projected-document-action-runtime-profile.ts +133 -0
  426. package/src/projected-document-action-status-notice-diagnostics.ts +116 -0
  427. package/src/projected-document-badge-formatting.ts +7 -0
  428. package/src/projected-document-editor-model.ts +7 -0
  429. package/src/projected-document-field-navigation.ts +300 -0
  430. package/src/projected-document-field-semantics.ts +27 -0
  431. package/src/projected-document-workspace-data-source-bindings.ts +182 -0
  432. package/src/projected-document-workspace-notice-diagnostics.ts +41 -0
  433. package/src/projected-input-form-runtime.ts +86 -0
  434. package/src/projected-process-task-notice-diagnostics.ts +283 -0
  435. package/src/projected-query-form-runtime.ts +62 -0
  436. package/src/prompt-document-preview-projection.ts +345 -0
  437. package/src/prompt-icons.ts +3 -0
  438. package/src/prompt-status-message-resolution.ts +158 -0
  439. package/src/query-form-lowering.ts +77 -0
  440. package/src/query-form-url-state.ts +346 -0
  441. package/src/query-offset-page.ts +50 -0
  442. package/src/relation-query-input-form-target.ts +61 -0
  443. package/src/scope-selection.ts +201 -0
  444. package/src/target-bindings.ts +123 -0
  445. package/src/view-chrome-content-diagnostics.ts +139 -0
  446. package/src/view-chrome-icons.ts +81 -0
  447. package/src/view-chrome-slot-renderer-registry.ts +128 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-shell-region-component-registry.d.ts","sourceRoot":"","sources":["../src/navigation-shell-region-component-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EACnC,MAAM,yCAAyC,CAAA;AAChD,OAAO,EAGL,KAAK,6BAA6B,EACnC,MAAM,mBAAmB,CAAA;AAE1B;;;;;;;;GAQG;AACH,MAAM,WAAW,sCAAsC,CAAC,SAAS,GAAG,OAAO;IACzE,iDAAiD;IACjD,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAA;IAE7D,yDAAyD;IACzD,QAAQ,CAAC,eAAe,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAA;CAC/D;AAED;;;GAGG;AACH,MAAM,WAAW,8CAA8C;IAC7D,sEAAsE;IACtE,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS;QAC1B,kEAAkE;QAClE,QAAQ,CAAC,QAAQ,EAAE,SAAS,6BAA6B,EAAE,CAAA;QAE3D,yEAAyE;QACzE,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAErC,qFAAqF;QACrF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;KACjC,EAAE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qEAAqE;IACrE,QAAQ,CAAC,QAAQ,EAAE,sCAAsC,CAAC,SAAS,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAEvF,6EAA6E;IAC7E,QAAQ,CAAC,UAAU,CAAC,EAAE,6BAA6B,GAAG,IAAI,CAAA;CAC3D;AAED;;;;;;;GAOG;AACH,wBAAgB,qCAAqC,CAAC,SAAS,EAAE,EAC/D,YAAY,EACZ,MAAM,EACN,MAAM,EACN,QAAQ,EACR,UAAU,GACX,EAAE,4CAA4C,CAAC,SAAS,CAAC,GAAG,wCAAwC,CAAC,SAAS,CAAC,CA2C/G"}
@@ -0,0 +1,108 @@
1
+ import { presentationBindingKinds, } from '@cohesivesystems/presentation-contracts';
2
+ import { createPresentationEnumDiscriminator, resolvePresentationComponentBinding, } from './target-bindings.js';
3
+ /**
4
+ * Creates a typed navigation shell region component registry.
5
+ *
6
+ * This is an identity helper that preserves renderer type inference at call
7
+ * sites.
8
+ */
9
+ export function createNavigationShellRegionComponentRegistry(registry) {
10
+ return registry;
11
+ }
12
+ /**
13
+ * Returns every component key and component role present in a registry.
14
+ */
15
+ export function getNavigationShellRegionComponentRegistryKeys(registry) {
16
+ return [
17
+ ...Object.keys(registry?.byComponentKey ?? {}),
18
+ ...Object.keys(registry?.byComponentRole ?? {}),
19
+ ];
20
+ }
21
+ /**
22
+ * Tests whether a concrete component key is registered.
23
+ */
24
+ export function hasNavigationShellRegionComponentBinding(registry, componentKey) {
25
+ return Boolean(componentKey && registry?.byComponentKey?.[componentKey]);
26
+ }
27
+ /**
28
+ * Tests whether a shell region resolves to a renderer through target bindings
29
+ * and the supplied registry.
30
+ */
31
+ export function hasNavigationShellRegionComponentTargetBinding({ componentSet, module, region, registry, targetKind, }) {
32
+ return Boolean(resolveNavigationShellRegionComponent({
33
+ componentSet,
34
+ module,
35
+ region,
36
+ registry,
37
+ targetKind,
38
+ }).renderer);
39
+ }
40
+ /**
41
+ * Resolves the renderer for a navigation shell region.
42
+ *
43
+ * Resolution uses target bindings first to discover semantic component roles
44
+ * and target-specific component keys. Component roles are preferred over
45
+ * component keys so semantic design-system bindings can override concrete
46
+ * region component keys.
47
+ */
48
+ export function resolveNavigationShellRegionComponent({ componentSet, module, region, registry, targetKind, }) {
49
+ const targetBinding = resolveNavigationShellRegionTargetBinding({
50
+ componentSet,
51
+ module,
52
+ region,
53
+ targetKind,
54
+ });
55
+ const componentRole = targetBinding?.componentRole ?? null;
56
+ const componentKey = region.ComponentKey ?? targetBinding?.componentKey ?? null;
57
+ if (componentRole) {
58
+ const renderer = registry?.byComponentRole?.[componentRole];
59
+ if (renderer !== undefined && renderer !== null) {
60
+ return {
61
+ componentKey,
62
+ componentRole,
63
+ renderer,
64
+ resolutionSource: 'component-role',
65
+ targetBindingSource: targetBinding?.source ?? null,
66
+ };
67
+ }
68
+ }
69
+ if (componentKey) {
70
+ const renderer = registry?.byComponentKey?.[componentKey];
71
+ if (renderer !== undefined && renderer !== null) {
72
+ return {
73
+ componentKey,
74
+ componentRole,
75
+ renderer,
76
+ resolutionSource: 'component-key',
77
+ targetBindingSource: targetBinding?.source ?? null,
78
+ };
79
+ }
80
+ }
81
+ return {
82
+ componentKey,
83
+ componentRole,
84
+ renderer: null,
85
+ resolutionSource: null,
86
+ targetBindingSource: targetBinding?.source ?? null,
87
+ };
88
+ }
89
+ function resolveNavigationShellRegionTargetBinding({ componentSet, module, region, targetKind, }) {
90
+ if (!module?.Targets) {
91
+ return null;
92
+ }
93
+ const resolvedBinding = resolvePresentationComponentBinding({ Targets: module.Targets }, {
94
+ bindingKind: createPresentationEnumDiscriminator(presentationBindingKinds, 'navigationShellRegionComponent', 'NavigationShellRegionComponent'),
95
+ componentSet,
96
+ id: region.Id,
97
+ targetKind,
98
+ });
99
+ if (!resolvedBinding.binding) {
100
+ return null;
101
+ }
102
+ return {
103
+ componentKey: resolvedBinding.componentKey,
104
+ componentRole: resolvedBinding.componentRole,
105
+ source: 'target-region-binding',
106
+ };
107
+ }
108
+ //# sourceMappingURL=navigation-shell-region-component-registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-shell-region-component-registry.js","sourceRoot":"","sources":["../src/navigation-shell-region-component-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,GAGzB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,mCAAmC,EACnC,mCAAmC,GAEpC,MAAM,mBAAmB,CAAA;AA2D1B;;;;;GAKG;AACH,MAAM,UAAU,4CAA4C,CAC1D,QAA2D;IAE3D,OAAO,QAAQ,CAAA;AACjB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,6CAA6C,CAC3D,QAAmE;IAEnE,OAAO;QACL,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,cAAc,IAAI,EAAE,CAAC;QAC9C,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,eAAe,IAAI,EAAE,CAAC;KAChD,CAAA;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,wCAAwC,CACtD,QAAmE,EACnE,YAAuC;IAEvC,OAAO,OAAO,CAAC,YAAY,IAAI,QAAQ,EAAE,cAAc,EAAE,CAAC,YAAY,CAAC,CAAC,CAAA;AAC1E,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,8CAA8C,CAAY,EACxE,YAAY,EACZ,MAAM,EACN,MAAM,EACN,QAAQ,EACR,UAAU,GAC8C;IACxD,OAAO,OAAO,CAAC,qCAAqC,CAAC;QACnD,YAAY;QACZ,MAAM;QACN,MAAM;QACN,QAAQ;QACR,UAAU;KACX,CAAC,CAAC,QAAQ,CAAC,CAAA;AACd,CAAC;AAwBD;;;;;;;GAOG;AACH,MAAM,UAAU,qCAAqC,CAAY,EAC/D,YAAY,EACZ,MAAM,EACN,MAAM,EACN,QAAQ,EACR,UAAU,GAC8C;IACxD,MAAM,aAAa,GAAG,yCAAyC,CAAC;QAC9D,YAAY;QACZ,MAAM;QACN,MAAM;QACN,UAAU;KACX,CAAC,CAAA;IACF,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,mCAAmC,CAC9C,wBAAwB,EACxB,gCAAgC,EAChC,gCAAgC,CACjC;QACD,YAAY;QACZ,EAAE,EAAE,MAAM,CAAC,EAAE;QACb,UAAU;KACX,CACF,CAAA;IAED,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;QAC7B,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO;QACL,YAAY,EAAE,eAAe,CAAC,YAAY;QAC1C,aAAa,EAAE,eAAe,CAAC,aAAa;QAC5C,MAAM,EAAE,uBAAgC;KACzC,CAAA;AACH,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { type NavigationDefinition, type NavigationNodeDefinition, type NavigationShellRegionDefinition, type NavigationShellSlotDefinition, type NavigationShellSlotKind } from '@cohesivesystems/presentation-contracts';
2
+ import { type PresentationProjectionDiagnostic } from './presentation-projection-diagnostics.js';
3
+ export interface ProjectedNavigationShellItem {
4
+ readonly href: string;
5
+ readonly label: string;
6
+ readonly node: NavigationNodeDefinition;
7
+ }
8
+ /**
9
+ * Pure navigation shell interpretation inputs used to report target binding
10
+ * gaps without coupling diagnostics to a concrete React component.
11
+ */
12
+ export interface NavigationShellDiagnosticsOptions {
13
+ readonly isNodeIconSupported?: (icon: string) => boolean;
14
+ readonly isShellRegionComponentBound?: (componentKey: string, region: NavigationShellRegionDefinition) => boolean;
15
+ readonly isShellRegionComponentTargetBound?: (region: NavigationShellRegionDefinition) => boolean;
16
+ readonly isShellRegionSupported?: (region: NavigationShellRegionDefinition) => boolean;
17
+ readonly isShellRegionViewBound?: (viewId: string, region: NavigationShellRegionDefinition) => boolean;
18
+ readonly navigation: NavigationDefinition;
19
+ readonly renderShellIconBound: boolean;
20
+ readonly shellSlotRendererKeys?: readonly string[];
21
+ readonly shellSlots: readonly NavigationShellSlotDefinition[];
22
+ readonly supportedSlotPlacements?: readonly string[];
23
+ }
24
+ export declare const defaultNavigationShellSlotPlacements: readonly ["top-left", "top-center", "top-right", "below-navigation", "main"];
25
+ /**
26
+ * Lowers a semantic shell navigation slot into routed link items.
27
+ */
28
+ export declare function createProjectedNavigationShellItems(navigation: NavigationDefinition, slot: NavigationShellSlotDefinition | null): readonly ProjectedNavigationShellItem[];
29
+ export declare function findNavigationShellSlot(slots: readonly NavigationShellSlotDefinition[], numericKind: NavigationShellSlotKind, label: string): NavigationShellSlotDefinition | null;
30
+ export declare function isNavigationShellSlotKind(slot: NavigationShellSlotDefinition, numericKind: NavigationShellSlotKind, label: string): boolean;
31
+ export declare function isProjectedNavigationShellItemActive(activePath: string, item: ProjectedNavigationShellItem, navigation: NavigationDefinition): boolean;
32
+ export declare function isSupportedNavigationShellSlot(slot: NavigationShellSlotDefinition): boolean;
33
+ /**
34
+ * Resolves slot regions through declared region ids, region SlotId links, and
35
+ * finally legacy placement matching for shells that predate explicit slots.
36
+ */
37
+ export declare function resolveNavigationShellSlotRegions(navigation: NavigationDefinition, slot: NavigationShellSlotDefinition): NavigationShellRegionDefinition[];
38
+ /**
39
+ * Returns declared shell slots, or synthesizes the standard shell slots for
40
+ * compatibility with older presentation modules.
41
+ */
42
+ export declare function resolveProjectedNavigationShellSlots(navigation: NavigationDefinition): readonly NavigationShellSlotDefinition[];
43
+ /**
44
+ * Produces projection diagnostics for shell slots, navigation links, chrome,
45
+ * and app-specific shell region bindings.
46
+ */
47
+ export declare function projectNavigationShellDiagnostics({ isNodeIconSupported, isShellRegionComponentBound, isShellRegionComponentTargetBound, isShellRegionSupported, isShellRegionViewBound, navigation, renderShellIconBound, shellSlotRendererKeys, shellSlots, supportedSlotPlacements, }: NavigationShellDiagnosticsOptions): readonly PresentationProjectionDiagnostic[];
48
+ //# sourceMappingURL=navigation-shell-runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-shell-runtime.d.ts","sourceRoot":"","sources":["../src/navigation-shell-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,KAAK,6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AAE,CAqBzC;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,SAAS,6BAA6B,EAAE,EAC/C,WAAW,EAAE,uBAAuB,EACpC,KAAK,EAAE,MAAM,wCAGd;AAED,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,6BAA6B,EACnC,WAAW,EAAE,uBAAuB,EACpC,KAAK,EAAE,MAAM,WAMd;AAED,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,4BAA4B,EAClC,UAAU,EAAE,oBAAoB,WAQjC;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,6BAA6B,WAEjF;AAED;;;GAGG;AACH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,oBAAoB,EAChC,IAAI,EAAE,6BAA6B,qCAyBpC;AAED;;;GAGG;AACH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,oBAAoB,GAC/B,SAAS,6BAA6B,EAAE,CAO1C;AAED;;;GAGG;AACH,wBAAgB,iCAAiC,CAAC,EAChD,mBAAmB,EACnB,2BAA2B,EAC3B,iCAAiC,EACjC,sBAAsB,EACtB,sBAAsB,EACtB,UAAU,EACV,oBAAoB,EACpB,qBAAqB,EACrB,UAAU,EACV,uBAA8D,GAC/D,EAAE,iCAAiC,GAAG,SAAS,gCAAgC,EAAE,CAsUjF"}
@@ -0,0 +1,457 @@
1
+ import { navigationShellSlotKindLabels, navigationShellSlotKinds, } from '@cohesivesystems/presentation-contracts';
2
+ import { createNavigationHref, getNavigationShellRegions, resolveNavigationRouteId, } from './navigation.js';
3
+ import { hasNavigationShellSlotRendererBinding, } from './navigation-shell-slot-renderer-registry.js';
4
+ import { createPresentationProjectionDiagnostic, } from './presentation-projection-diagnostics.js';
5
+ export const defaultNavigationShellSlotPlacements = [
6
+ 'top-left',
7
+ 'top-center',
8
+ 'top-right',
9
+ 'below-navigation',
10
+ 'main',
11
+ ];
12
+ const supportedNavigationShellSlotKinds = new Set([
13
+ navigationShellSlotKinds.brand,
14
+ navigationShellSlotKinds.primaryNavigation,
15
+ navigationShellSlotKinds.utilityActions,
16
+ navigationShellSlotKinds.systemNotices,
17
+ navigationShellSlotKinds.routedContent,
18
+ navigationShellSlotKinds.custom,
19
+ ]);
20
+ /**
21
+ * Lowers a semantic shell navigation slot into routed link items.
22
+ */
23
+ export function createProjectedNavigationShellItems(navigation, slot) {
24
+ const nodesById = new Map(navigation.Nodes.map((node) => [node.Id, node]));
25
+ const nodeIds = slot?.NodeIds.length ? slot.NodeIds : navigation.Shell.PrimaryNodeIds;
26
+ return nodeIds.map((nodeId) => {
27
+ const node = nodesById.get(nodeId);
28
+ if (!node) {
29
+ return null;
30
+ }
31
+ const href = createNavigationHref(navigation, node.RouteId);
32
+ if (!href) {
33
+ return null;
34
+ }
35
+ return {
36
+ href,
37
+ label: node.Label,
38
+ node,
39
+ };
40
+ }).filter((item) => item !== null);
41
+ }
42
+ export function findNavigationShellSlot(slots, numericKind, label) {
43
+ return slots.find((slot) => isNavigationShellSlotKind(slot, numericKind, label)) ?? null;
44
+ }
45
+ export function isNavigationShellSlotKind(slot, numericKind, label) {
46
+ const normalizedKind = String(slot.Kind).replace(/[-_\s]/g, '').toLocaleLowerCase();
47
+ const normalizedLabel = label.replace(/[-_\s]/g, '').toLocaleLowerCase();
48
+ return slot.Kind === numericKind || normalizedKind === normalizedLabel;
49
+ }
50
+ export function isProjectedNavigationShellItemActive(activePath, item, navigation) {
51
+ const activeRouteId = resolveNavigationRouteId(navigation, activePath);
52
+ if (!activeRouteId) {
53
+ return activePath === item.href;
54
+ }
55
+ return activeRouteId === item.node.RouteId || item.node.ActiveRouteIds.includes(activeRouteId);
56
+ }
57
+ export function isSupportedNavigationShellSlot(slot) {
58
+ return supportedNavigationShellSlotKinds.has(slot.Kind);
59
+ }
60
+ /**
61
+ * Resolves slot regions through declared region ids, region SlotId links, and
62
+ * finally legacy placement matching for shells that predate explicit slots.
63
+ */
64
+ export function resolveNavigationShellSlotRegions(navigation, slot) {
65
+ const regionsById = new Map(navigation.Shell.Regions.map((region) => [region.Id, region]));
66
+ const regionIds = new Set(slot.RegionIds);
67
+ const regions = slot.RegionIds
68
+ .map((regionId) => regionsById.get(regionId))
69
+ .filter((region) => Boolean(region));
70
+ for (const region of navigation.Shell.Regions) {
71
+ if (region.SlotId === slot.Id && !regionIds.has(region.Id)) {
72
+ regions.push(region);
73
+ regionIds.add(region.Id);
74
+ }
75
+ }
76
+ if (regions.length === 0) {
77
+ for (const region of navigation.Shell.Regions) {
78
+ if (region.Placement === slot.Placement && !regionIds.has(region.Id)) {
79
+ regions.push(region);
80
+ regionIds.add(region.Id);
81
+ }
82
+ }
83
+ }
84
+ return regions;
85
+ }
86
+ /**
87
+ * Returns declared shell slots, or synthesizes the standard shell slots for
88
+ * compatibility with older presentation modules.
89
+ */
90
+ export function resolveProjectedNavigationShellSlots(navigation) {
91
+ const declaredSlots = navigation.Shell.Slots ?? [];
92
+ if (declaredSlots.length > 0) {
93
+ return declaredSlots;
94
+ }
95
+ return synthesizeNavigationShellSlots(navigation);
96
+ }
97
+ /**
98
+ * Produces projection diagnostics for shell slots, navigation links, chrome,
99
+ * and app-specific shell region bindings.
100
+ */
101
+ export function projectNavigationShellDiagnostics({ isNodeIconSupported, isShellRegionComponentBound, isShellRegionComponentTargetBound, isShellRegionSupported, isShellRegionViewBound, navigation, renderShellIconBound, shellSlotRendererKeys, shellSlots, supportedSlotPlacements = defaultNavigationShellSlotPlacements, }) {
102
+ const diagnostics = [];
103
+ const nodesById = new Map(navigation.Nodes.map((node) => [node.Id, node]));
104
+ const regionsById = new Map(navigation.Shell.Regions.map((region) => [region.Id, region]));
105
+ const shell = navigation.Shell;
106
+ const declaredSlots = shell.Slots ?? [];
107
+ const hasDeclaredSlots = declaredSlots.length > 0;
108
+ const slotIds = new Set(shellSlots.map((slot) => slot.Id));
109
+ const supportedPlacementSet = new Set(supportedSlotPlacements);
110
+ for (const slot of shellSlots) {
111
+ if (shellSlotRendererKeys &&
112
+ !hasNavigationShellSlotRendererBinding(shellSlotRendererKeys, slot)) {
113
+ diagnostics.push(createPresentationProjectionDiagnostic({
114
+ category: 'missing-binding',
115
+ details: {
116
+ kind: slot.Kind,
117
+ placement: slot.Placement,
118
+ },
119
+ id: `navigation-shell.${shell.Id}.slot.${slot.Id}.missing-renderer`,
120
+ interpretation: {
121
+ status: 'unbound',
122
+ target: 'navigation-shell',
123
+ },
124
+ message: `Navigation shell slot '${slot.Id}' has no frontend slot renderer binding.`,
125
+ severity: 'warning',
126
+ source: `navigation-shell:${shell.Id}`,
127
+ subject: {
128
+ id: slot.Id,
129
+ kind: 'NavigationShellSlotDefinition',
130
+ },
131
+ suggestedNextStep: 'Register a standard or app-specific shell slot renderer for this slot kind.',
132
+ }));
133
+ }
134
+ if (!isSupportedNavigationShellSlot(slot)) {
135
+ const kindLabel = navigationShellSlotKindLabels[slot.Kind] ?? String(slot.Kind);
136
+ diagnostics.push(createPresentationProjectionDiagnostic({
137
+ category: 'unsupported',
138
+ details: {
139
+ kind: slot.Kind,
140
+ kindLabel,
141
+ },
142
+ id: `navigation-shell.${shell.Id}.slot.${slot.Id}.unsupported-kind`,
143
+ interpretation: {
144
+ status: 'unsupported',
145
+ target: 'navigation-shell',
146
+ },
147
+ message: `Navigation shell slot '${slot.Id}' uses unsupported slot kind '${kindLabel}'.`,
148
+ severity: 'warning',
149
+ source: `navigation-shell:${shell.Id}`,
150
+ subject: {
151
+ id: slot.Id,
152
+ kind: 'NavigationShellSlotDefinition',
153
+ },
154
+ suggestedNextStep: 'Add a standard shell slot renderer for this kind or map it to a supported slot kind.',
155
+ }));
156
+ }
157
+ if (!supportedPlacementSet.has(slot.Placement)) {
158
+ diagnostics.push(createPresentationProjectionDiagnostic({
159
+ category: 'unsupported',
160
+ details: {
161
+ placement: slot.Placement,
162
+ },
163
+ id: `navigation-shell.${shell.Id}.slot.${slot.Id}.unsupported-placement`,
164
+ interpretation: {
165
+ status: 'unsupported',
166
+ target: 'navigation-shell',
167
+ },
168
+ message: `Navigation shell slot '${slot.Id}' uses unsupported placement '${slot.Placement}'.`,
169
+ severity: 'warning',
170
+ source: `navigation-shell:${shell.Id}`,
171
+ subject: {
172
+ id: slot.Id,
173
+ kind: 'NavigationShellSlotDefinition',
174
+ },
175
+ suggestedNextStep: 'Add a frontend shell slot placement or change the slot placement.',
176
+ }));
177
+ }
178
+ for (const nodeId of slot.NodeIds) {
179
+ if (!nodesById.has(nodeId)) {
180
+ diagnostics.push(createPresentationProjectionDiagnostic({
181
+ category: 'missing-definition',
182
+ id: `navigation-shell.${shell.Id}.slot.${slot.Id}.node.${nodeId}.missing-node`,
183
+ interpretation: {
184
+ status: 'unbound',
185
+ target: 'navigation-shell',
186
+ },
187
+ message: `Navigation shell slot '${slot.Id}' references missing node '${nodeId}'.`,
188
+ severity: 'warning',
189
+ source: `navigation-shell:${shell.Id}`,
190
+ subject: {
191
+ id: slot.Id,
192
+ kind: 'NavigationShellSlotDefinition',
193
+ },
194
+ suggestedNextStep: 'Declare the navigation node or remove it from the slot.',
195
+ }));
196
+ }
197
+ }
198
+ for (const regionId of slot.RegionIds) {
199
+ if (!regionsById.has(regionId)) {
200
+ diagnostics.push(createPresentationProjectionDiagnostic({
201
+ category: 'missing-definition',
202
+ id: `navigation-shell.${shell.Id}.slot.${slot.Id}.region.${regionId}.missing-region`,
203
+ interpretation: {
204
+ status: 'unbound',
205
+ target: 'navigation-shell',
206
+ },
207
+ message: `Navigation shell slot '${slot.Id}' references missing region '${regionId}'.`,
208
+ severity: 'warning',
209
+ source: `navigation-shell:${shell.Id}`,
210
+ subject: {
211
+ id: slot.Id,
212
+ kind: 'NavigationShellSlotDefinition',
213
+ },
214
+ suggestedNextStep: 'Declare the shell region or remove it from the slot.',
215
+ }));
216
+ }
217
+ }
218
+ }
219
+ const shellNavigationNodeIds = new Set([
220
+ ...shell.PrimaryNodeIds,
221
+ ...shellSlots.flatMap((slot) => slot.NodeIds),
222
+ ]);
223
+ for (const nodeId of shellNavigationNodeIds) {
224
+ const node = nodesById.get(nodeId);
225
+ if (!node) {
226
+ continue;
227
+ }
228
+ if (!createNavigationHref(navigation, node.RouteId)) {
229
+ diagnostics.push(createPresentationProjectionDiagnostic({
230
+ category: 'missing-binding',
231
+ details: {
232
+ routeId: node.RouteId,
233
+ },
234
+ id: `navigation-shell.${shell.Id}.node.${node.Id}.missing-href`,
235
+ interpretation: {
236
+ status: 'unbound',
237
+ target: 'navigation-route',
238
+ },
239
+ message: `Navigation node '${node.Label}' cannot be lowered to a browser href.`,
240
+ severity: 'warning',
241
+ source: `navigation-shell:${shell.Id}`,
242
+ subject: {
243
+ id: node.Id,
244
+ kind: 'NavigationNodeDefinition',
245
+ name: node.Label,
246
+ },
247
+ suggestedNextStep: 'Bind the node to a route whose required parameters are available in shell context.',
248
+ }));
249
+ }
250
+ if (node.Icon && isNodeIconSupported && !isNodeIconSupported(node.Icon)) {
251
+ diagnostics.push(createPresentationProjectionDiagnostic({
252
+ category: 'missing-binding',
253
+ details: {
254
+ icon: node.Icon,
255
+ },
256
+ id: `navigation-shell.${shell.Id}.node.${node.Id}.unbound-icon`,
257
+ interpretation: {
258
+ status: 'unbound',
259
+ target: 'navigation-icon',
260
+ },
261
+ message: `Navigation node '${node.Label}' declares icon '${node.Icon}', but no frontend icon binding is registered.`,
262
+ severity: 'info',
263
+ source: `navigation-shell:${shell.Id}`,
264
+ subject: {
265
+ id: node.Id,
266
+ kind: 'NavigationNodeDefinition',
267
+ name: node.Label,
268
+ },
269
+ suggestedNextStep: 'Add this icon key to the app shell icon registry or remove it from the navigation node.',
270
+ }));
271
+ }
272
+ }
273
+ if (shell.Chrome?.Icon && !renderShellIconBound) {
274
+ diagnostics.push(createPresentationProjectionDiagnostic({
275
+ category: 'missing-binding',
276
+ details: {
277
+ icon: shell.Chrome.Icon,
278
+ },
279
+ id: `navigation-shell.${shell.Id}.chrome.unbound-icon`,
280
+ interpretation: {
281
+ status: 'unbound',
282
+ target: 'navigation-shell',
283
+ },
284
+ message: `Navigation shell '${shell.Id}' declares shell icon '${shell.Chrome.Icon}', but no shell icon renderer is registered.`,
285
+ severity: 'info',
286
+ source: `navigation-shell:${shell.Id}`,
287
+ subject: {
288
+ id: shell.Id,
289
+ kind: 'NavigationShellDefinition',
290
+ },
291
+ suggestedNextStep: 'Bind a shell icon renderer in the frontend target interpretation.',
292
+ }));
293
+ }
294
+ for (const region of shell.Regions) {
295
+ const componentKey = region.ComponentKey ?? null;
296
+ const viewId = region.ViewId ?? null;
297
+ const hasComponentTarget = Boolean(componentKey) ||
298
+ Boolean(isShellRegionComponentTargetBound?.(region));
299
+ if (hasDeclaredSlots && region.SlotId && !slotIds.has(region.SlotId)) {
300
+ diagnostics.push(createPresentationProjectionDiagnostic({
301
+ category: 'missing-definition',
302
+ details: {
303
+ slotId: region.SlotId,
304
+ },
305
+ id: `navigation-shell.${shell.Id}.region.${region.Id}.missing-slot`,
306
+ interpretation: {
307
+ status: 'unbound',
308
+ target: 'navigation-shell',
309
+ },
310
+ message: `Shell region '${region.Id}' references missing slot '${region.SlotId}'.`,
311
+ severity: 'warning',
312
+ source: `navigation-shell:${shell.Id}`,
313
+ subject: {
314
+ id: region.Id,
315
+ kind: 'NavigationShellRegionDefinition',
316
+ },
317
+ suggestedNextStep: 'Declare the shell slot or update the region SlotId.',
318
+ }));
319
+ }
320
+ if (viewId && isShellRegionViewBound && !isShellRegionViewBound(viewId, region)) {
321
+ diagnostics.push(createPresentationProjectionDiagnostic({
322
+ category: 'missing-definition',
323
+ details: {
324
+ viewId,
325
+ },
326
+ id: `navigation-shell.${shell.Id}.region.${region.Id}.missing-view`,
327
+ interpretation: {
328
+ status: 'unbound',
329
+ target: 'navigation-shell',
330
+ },
331
+ message: `Shell region '${region.Id}' references missing view '${viewId}'.`,
332
+ severity: 'warning',
333
+ source: `navigation-shell:${shell.Id}`,
334
+ subject: {
335
+ id: region.Id,
336
+ kind: 'NavigationShellRegionDefinition',
337
+ },
338
+ suggestedNextStep: 'Declare the view or remove the ViewId from the shell region.',
339
+ }));
340
+ }
341
+ if (componentKey &&
342
+ isShellRegionComponentBound &&
343
+ !isShellRegionComponentBound(componentKey, region)) {
344
+ diagnostics.push(createPresentationProjectionDiagnostic({
345
+ category: 'missing-binding',
346
+ details: {
347
+ componentKey,
348
+ },
349
+ id: `navigation-shell.${shell.Id}.region.${region.Id}.unbound-component`,
350
+ interpretation: {
351
+ status: 'unbound',
352
+ target: 'navigation-shell',
353
+ },
354
+ message: `Shell region '${region.Id}' declares unbound component key '${componentKey}'.`,
355
+ severity: 'warning',
356
+ source: `navigation-shell:${shell.Id}`,
357
+ subject: {
358
+ id: region.Id,
359
+ kind: 'NavigationShellRegionDefinition',
360
+ },
361
+ suggestedNextStep: 'Bind the component key in the frontend shell-region adapter or remove it from the region.',
362
+ }));
363
+ }
364
+ if (!viewId && !hasComponentTarget) {
365
+ diagnostics.push(createPresentationProjectionDiagnostic({
366
+ category: 'unbound',
367
+ id: `navigation-shell.${shell.Id}.region.${region.Id}.missing-target`,
368
+ interpretation: {
369
+ status: 'unbound',
370
+ target: 'navigation-shell',
371
+ },
372
+ message: `Shell region '${region.Id}' has neither ViewId nor component target binding.`,
373
+ severity: 'warning',
374
+ source: `navigation-shell:${shell.Id}`,
375
+ subject: {
376
+ id: region.Id,
377
+ kind: 'NavigationShellRegionDefinition',
378
+ },
379
+ suggestedNextStep: 'Declare a projected view for the region, bind a ComponentRole target, or bind a local component-key escape hatch.',
380
+ }));
381
+ }
382
+ if (isShellRegionSupported && !isShellRegionSupported(region)) {
383
+ diagnostics.push(createPresentationProjectionDiagnostic({
384
+ category: 'missing-binding',
385
+ details: {
386
+ kind: region.Kind,
387
+ },
388
+ id: `navigation-shell.${shell.Id}.region.${region.Id}.unsupported-kind`,
389
+ interpretation: {
390
+ status: 'unbound',
391
+ target: 'navigation-shell-region',
392
+ },
393
+ message: `Shell region '${region.Id}' is not handled by the frontend shell-region adapter.`,
394
+ severity: 'warning',
395
+ source: `navigation-shell:${shell.Id}`,
396
+ subject: {
397
+ id: region.Id,
398
+ kind: 'NavigationShellRegionDefinition',
399
+ },
400
+ suggestedNextStep: 'Add a local shell-region interpretation or remove the region from the shell.',
401
+ }));
402
+ }
403
+ }
404
+ return diagnostics;
405
+ }
406
+ function synthesizeNavigationShellSlots(navigation) {
407
+ return [
408
+ {
409
+ Annotations: [],
410
+ Design: null,
411
+ Id: 'brand',
412
+ Kind: navigationShellSlotKinds.brand,
413
+ NodeIds: [],
414
+ Placement: 'top-left',
415
+ RegionIds: [],
416
+ },
417
+ {
418
+ Annotations: [],
419
+ Design: null,
420
+ Id: 'primary-navigation',
421
+ Kind: navigationShellSlotKinds.primaryNavigation,
422
+ NodeIds: navigation.Shell.PrimaryNodeIds,
423
+ Placement: 'top-center',
424
+ RegionIds: [],
425
+ },
426
+ {
427
+ Annotations: [],
428
+ Design: null,
429
+ Id: 'utility-actions',
430
+ Kind: navigationShellSlotKinds.utilityActions,
431
+ NodeIds: [],
432
+ Placement: 'top-right',
433
+ RegionIds: getNavigationShellRegions(navigation, { placement: 'top-right' })
434
+ .map((region) => region.Id),
435
+ },
436
+ {
437
+ Annotations: [],
438
+ Design: null,
439
+ Id: 'system-notices',
440
+ Kind: navigationShellSlotKinds.systemNotices,
441
+ NodeIds: [],
442
+ Placement: 'below-navigation',
443
+ RegionIds: getNavigationShellRegions(navigation, { placement: 'below-navigation' })
444
+ .map((region) => region.Id),
445
+ },
446
+ {
447
+ Annotations: [],
448
+ Design: null,
449
+ Id: 'routed-content',
450
+ Kind: navigationShellSlotKinds.routedContent,
451
+ NodeIds: [],
452
+ Placement: 'main',
453
+ RegionIds: [],
454
+ },
455
+ ];
456
+ }
457
+ //# sourceMappingURL=navigation-shell-runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-shell-runtime.js","sourceRoot":"","sources":["../src/navigation-shell-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,wBAAwB,GAMzB,MAAM,yCAAyC,CAAA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