@wildo-ai/saas-frontend-lib 1.1.16 → 1.1.18

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 (685) hide show
  1. package/LICENSE +114 -26
  2. package/LICENSE.enterprise +129 -0
  3. package/dist/esm/companion-exports.d.ts +5 -2
  4. package/dist/esm/companion-exports.d.ts.map +1 -1
  5. package/dist/esm/companion-exports.js +4 -2
  6. package/dist/esm/companion-exports.js.map +1 -1
  7. package/dist/esm/components/actions/action-bar.d.ts +16 -1
  8. package/dist/esm/components/actions/action-bar.d.ts.map +1 -1
  9. package/dist/esm/components/actions/action-bar.js.map +1 -1
  10. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.d.ts.map +1 -1
  11. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js +6 -14
  12. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js.map +1 -1
  13. package/dist/esm/components/app/AppLayout_DecisionInbox.d.ts.map +1 -1
  14. package/dist/esm/components/app/AppLayout_DecisionInbox.js +2 -4
  15. package/dist/esm/components/app/AppLayout_DecisionInbox.js.map +1 -1
  16. package/dist/esm/components/app/AppLayout_Home.d.ts.map +1 -1
  17. package/dist/esm/components/app/AppLayout_Home.js +14 -7
  18. package/dist/esm/components/app/AppLayout_Home.js.map +1 -1
  19. package/dist/esm/components/app/AppLayout_IdentityPortalContainer.d.ts +13 -0
  20. package/dist/esm/components/app/AppLayout_IdentityPortalContainer.d.ts.map +1 -0
  21. package/dist/esm/components/app/AppLayout_IdentityPortalContainer.js +16 -0
  22. package/dist/esm/components/app/AppLayout_IdentityPortalContainer.js.map +1 -0
  23. package/dist/esm/components/app/DecisionInboxSection.d.ts +10 -0
  24. package/dist/esm/components/app/DecisionInboxSection.d.ts.map +1 -0
  25. package/dist/esm/components/app/DecisionInboxSection.js +15 -0
  26. package/dist/esm/components/app/DecisionInboxSection.js.map +1 -0
  27. package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.d.ts +13 -0
  28. package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.d.ts.map +1 -0
  29. package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.js +28 -0
  30. package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.js.map +1 -0
  31. package/dist/esm/components/app/IdentityPortalPage_Home.d.ts +10 -0
  32. package/dist/esm/components/app/IdentityPortalPage_Home.d.ts.map +1 -0
  33. package/dist/esm/components/app/IdentityPortalPage_Home.js +40 -0
  34. package/dist/esm/components/app/IdentityPortalPage_Home.js.map +1 -0
  35. package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.d.ts +16 -0
  36. package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.d.ts.map +1 -0
  37. package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.js +41 -0
  38. package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.js.map +1 -0
  39. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.d.ts +15 -0
  40. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.d.ts.map +1 -0
  41. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.js +268 -0
  42. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.js.map +1 -0
  43. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.d.ts +3 -0
  44. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.d.ts.map +1 -0
  45. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.js +35 -0
  46. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.js.map +1 -0
  47. package/dist/esm/components/auth/Auth_Main.d.ts.map +1 -1
  48. package/dist/esm/components/auth/Auth_Main.js +5 -0
  49. package/dist/esm/components/auth/Auth_Main.js.map +1 -1
  50. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.d.ts +19 -0
  51. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.d.ts.map +1 -0
  52. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.js +156 -0
  53. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.js.map +1 -0
  54. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.d.ts +3 -0
  55. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.d.ts.map +1 -0
  56. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.js +107 -0
  57. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.js.map +1 -0
  58. package/dist/esm/components/auth/StepUpAuthDialog.d.ts +31 -10
  59. package/dist/esm/components/auth/StepUpAuthDialog.d.ts.map +1 -1
  60. package/dist/esm/components/auth/StepUpAuthDialog.js +81 -17
  61. package/dist/esm/components/auth/StepUpAuthDialog.js.map +1 -1
  62. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.d.ts.map +1 -1
  63. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js +19 -0
  64. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js.map +1 -1
  65. package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.d.ts +11 -0
  66. package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.d.ts.map +1 -0
  67. package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.js +25 -0
  68. package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.js.map +1 -0
  69. package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.d.ts +11 -0
  70. package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.d.ts.map +1 -0
  71. package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.js +25 -0
  72. package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.js.map +1 -0
  73. package/dist/esm/components/billing/billing-pricing-table.d.ts.map +1 -1
  74. package/dist/esm/components/billing/billing-pricing-table.js +40 -7
  75. package/dist/esm/components/billing/billing-pricing-table.js.map +1 -1
  76. package/dist/esm/components/billing/billing-subscription-status.d.ts.map +1 -1
  77. package/dist/esm/components/billing/billing-subscription-status.js +9 -1
  78. package/dist/esm/components/billing/billing-subscription-status.js.map +1 -1
  79. package/dist/esm/components/billing/billing-usage-dashboard.d.ts.map +1 -1
  80. package/dist/esm/components/billing/billing-usage-dashboard.js +3 -2
  81. package/dist/esm/components/billing/billing-usage-dashboard.js.map +1 -1
  82. package/dist/esm/components/compliance/EmbeddedSigningFrame.d.ts.map +1 -1
  83. package/dist/esm/components/compliance/EmbeddedSigningFrame.js +17 -6
  84. package/dist/esm/components/compliance/EmbeddedSigningFrame.js.map +1 -1
  85. package/dist/esm/components/data-display/AutomaticDisplayer.d.ts.map +1 -1
  86. package/dist/esm/components/data-display/AutomaticDisplayer.js +7 -2
  87. package/dist/esm/components/data-display/AutomaticDisplayer.js.map +1 -1
  88. package/dist/esm/components/data-display/DisplayField.d.ts.map +1 -1
  89. package/dist/esm/components/data-display/DisplayField.js +67 -45
  90. package/dist/esm/components/data-display/DisplayField.js.map +1 -1
  91. package/dist/esm/components/data-display/DisplayFieldEditable.d.ts.map +1 -1
  92. package/dist/esm/components/data-display/DisplayFieldEditable.js +4 -1
  93. package/dist/esm/components/data-display/DisplayFieldEditable.js.map +1 -1
  94. package/dist/esm/components/data-display/DisplayValueDispatcher.d.ts.map +1 -1
  95. package/dist/esm/components/data-display/DisplayValueDispatcher.js +16 -6
  96. package/dist/esm/components/data-display/DisplayValueDispatcher.js.map +1 -1
  97. package/dist/esm/components/data-display/ResourceAutomaticDisplayer.d.ts.map +1 -1
  98. package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js +3 -1
  99. package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js.map +1 -1
  100. package/dist/esm/components/data-display/approval-seal.d.ts +7 -5
  101. package/dist/esm/components/data-display/approval-seal.d.ts.map +1 -1
  102. package/dist/esm/components/data-display/approval-seal.js +10 -4
  103. package/dist/esm/components/data-display/approval-seal.js.map +1 -1
  104. package/dist/esm/components/data-display/signature-requests.d.ts +81 -0
  105. package/dist/esm/components/data-display/signature-requests.d.ts.map +1 -0
  106. package/dist/esm/components/data-display/signature-requests.js +123 -0
  107. package/dist/esm/components/data-display/signature-requests.js.map +1 -0
  108. package/dist/esm/components/feedback/empty-state-marker.d.ts +16 -0
  109. package/dist/esm/components/feedback/empty-state-marker.d.ts.map +1 -0
  110. package/dist/esm/components/feedback/empty-state-marker.js +16 -0
  111. package/dist/esm/components/feedback/empty-state-marker.js.map +1 -0
  112. package/dist/esm/components/feedback/empty-state.d.ts.map +1 -1
  113. package/dist/esm/components/feedback/empty-state.js +2 -1
  114. package/dist/esm/components/feedback/empty-state.js.map +1 -1
  115. package/dist/esm/components/feedback/features/feature-unavailable-prompt.d.ts +7 -1
  116. package/dist/esm/components/feedback/features/feature-unavailable-prompt.d.ts.map +1 -1
  117. package/dist/esm/components/feedback/features/feature-unavailable-prompt.js +8 -2
  118. package/dist/esm/components/feedback/features/feature-unavailable-prompt.js.map +1 -1
  119. package/dist/esm/components/feedback/resource-empty-state.d.ts.map +1 -1
  120. package/dist/esm/components/feedback/resource-empty-state.js +2 -1
  121. package/dist/esm/components/feedback/resource-empty-state.js.map +1 -1
  122. package/dist/esm/components/flows-actors/approval.d.ts +25 -1
  123. package/dist/esm/components/flows-actors/approval.d.ts.map +1 -1
  124. package/dist/esm/components/flows-actors/approval.js +22 -24
  125. package/dist/esm/components/flows-actors/approval.js.map +1 -1
  126. package/dist/esm/components/flows-actors/approval.labels.d.ts.map +1 -1
  127. package/dist/esm/components/flows-actors/approval.labels.js +30 -0
  128. package/dist/esm/components/flows-actors/approval.labels.js.map +1 -1
  129. package/dist/esm/components/flows-actors/flow-node.labels.d.ts.map +1 -1
  130. package/dist/esm/components/flows-actors/flow-node.labels.js +4 -1
  131. package/dist/esm/components/flows-actors/flow-node.labels.js.map +1 -1
  132. package/dist/esm/components/flows-actors/flow-step-visuals.d.ts.map +1 -1
  133. package/dist/esm/components/flows-actors/flow-step-visuals.js +8 -2
  134. package/dist/esm/components/flows-actors/flow-step-visuals.js.map +1 -1
  135. package/dist/esm/components/flows-actors/human-decision-form.d.ts.map +1 -1
  136. package/dist/esm/components/flows-actors/human-decision-form.js +4 -1
  137. package/dist/esm/components/flows-actors/human-decision-form.js.map +1 -1
  138. package/dist/esm/components/form/Form.d.ts +2 -0
  139. package/dist/esm/components/form/Form.d.ts.map +1 -1
  140. package/dist/esm/components/form/Form.js +1 -0
  141. package/dist/esm/components/form/Form.js.map +1 -1
  142. package/dist/esm/components/form/automated/AutomatedArrayField.d.ts.map +1 -1
  143. package/dist/esm/components/form/automated/AutomatedArrayField.js +7 -4
  144. package/dist/esm/components/form/automated/AutomatedArrayField.js.map +1 -1
  145. package/dist/esm/components/form/automated/AutosaveContext.d.ts.map +1 -1
  146. package/dist/esm/components/form/automated/AutosaveContext.js +8 -0
  147. package/dist/esm/components/form/automated/AutosaveContext.js.map +1 -1
  148. package/dist/esm/components/form/automated/FormField.d.ts +5 -3
  149. package/dist/esm/components/form/automated/FormField.d.ts.map +1 -1
  150. package/dist/esm/components/form/automated/FormField.js +38 -13
  151. package/dist/esm/components/form/automated/FormField.js.map +1 -1
  152. package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts +1 -1
  153. package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts.map +1 -1
  154. package/dist/esm/components/form/automated/ResourceAutomatedForm.js +75 -47
  155. package/dist/esm/components/form/automated/ResourceAutomatedForm.js.map +1 -1
  156. package/dist/esm/components/form/fields/form-field-file-provider-constraints.frontend.utils.d.ts +1 -1
  157. package/dist/esm/components/form/fields/form-field-file-provider-constraints.frontend.utils.js +1 -1
  158. package/dist/esm/components/form/fields/form-field-file-provider-constraints.frontend.utils.js.map +1 -1
  159. package/dist/esm/components/form/validation-errors/form-validation.d.ts +5 -7
  160. package/dist/esm/components/form/validation-errors/form-validation.d.ts.map +1 -1
  161. package/dist/esm/components/form/validation-errors/form-validation.js +7 -22
  162. package/dist/esm/components/form/validation-errors/form-validation.js.map +1 -1
  163. package/dist/esm/components/form/validation-errors/getFieldError.d.ts +25 -2
  164. package/dist/esm/components/form/validation-errors/getFieldError.d.ts.map +1 -1
  165. package/dist/esm/components/form/validation-errors/getFieldError.js +29 -2
  166. package/dist/esm/components/form/validation-errors/getFieldError.js.map +1 -1
  167. package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.d.ts +5 -0
  168. package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.d.ts.map +1 -1
  169. package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.js +3 -0
  170. package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.js.map +1 -1
  171. package/dist/esm/components/form/validation-errors/save-attempt.d.ts +9 -0
  172. package/dist/esm/components/form/validation-errors/save-attempt.d.ts.map +1 -0
  173. package/dist/esm/components/form/validation-errors/save-attempt.js +42 -0
  174. package/dist/esm/components/form/validation-errors/save-attempt.js.map +1 -0
  175. package/dist/esm/components/form/validation-errors/unstarted-field-visit.d.ts +3 -1
  176. package/dist/esm/components/form/validation-errors/unstarted-field-visit.d.ts.map +1 -1
  177. package/dist/esm/components/form/validation-errors/unstarted-field-visit.js +3 -1
  178. package/dist/esm/components/form/validation-errors/unstarted-field-visit.js.map +1 -1
  179. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts +2 -2
  180. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts.map +1 -1
  181. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js +3 -0
  182. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js.map +1 -1
  183. package/dist/esm/components/navigation/NavigationItemBadge.d.ts +16 -0
  184. package/dist/esm/components/navigation/NavigationItemBadge.d.ts.map +1 -1
  185. package/dist/esm/components/navigation/NavigationItemBadge.js +14 -2
  186. package/dist/esm/components/navigation/NavigationItemBadge.js.map +1 -1
  187. package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.d.ts +3 -3
  188. package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.js +3 -3
  189. package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.js.map +1 -1
  190. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts +5 -13
  191. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts.map +1 -1
  192. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js +30 -255
  193. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js.map +1 -1
  194. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts +22 -1
  195. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts.map +1 -1
  196. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js +57 -26
  197. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js.map +1 -1
  198. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.d.ts +1 -1
  199. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.d.ts.map +1 -1
  200. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.js +40 -4
  201. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.js.map +1 -1
  202. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts +1 -1
  203. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts.map +1 -1
  204. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js +26 -4
  205. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js.map +1 -1
  206. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.d.ts +31 -0
  207. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.d.ts.map +1 -0
  208. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.js +42 -0
  209. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.js.map +1 -0
  210. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.d.ts +76 -0
  211. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.d.ts.map +1 -0
  212. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.js +268 -0
  213. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.js.map +1 -0
  214. package/dist/esm/components/navigation/command.d.ts +5 -0
  215. package/dist/esm/components/navigation/command.d.ts.map +1 -1
  216. package/dist/esm/components/navigation/command.js.map +1 -1
  217. package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts +19 -0
  218. package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts.map +1 -1
  219. package/dist/esm/components/resources/ResourceLayout_DangerZone.js +51 -12
  220. package/dist/esm/components/resources/ResourceLayout_DangerZone.js.map +1 -1
  221. package/dist/esm/components/resources/ResourceLayout_InsertedViews.d.ts.map +1 -1
  222. package/dist/esm/components/resources/ResourceLayout_InsertedViews.js +21 -7
  223. package/dist/esm/components/resources/ResourceLayout_InsertedViews.js.map +1 -1
  224. package/dist/esm/components/resources/ResourceLayout_List.d.ts.map +1 -1
  225. package/dist/esm/components/resources/ResourceLayout_List.js +17 -7
  226. package/dist/esm/components/resources/ResourceLayout_List.js.map +1 -1
  227. package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts +1 -1
  228. package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts.map +1 -1
  229. package/dist/esm/components/resources/ResourceLayout_RecordSharing.js +4 -1
  230. package/dist/esm/components/resources/ResourceLayout_RecordSharing.js.map +1 -1
  231. package/dist/esm/components/resources/ResourceLayout_Search.d.ts.map +1 -1
  232. package/dist/esm/components/resources/ResourceLayout_Search.js +12 -8
  233. package/dist/esm/components/resources/ResourceLayout_Search.js.map +1 -1
  234. package/dist/esm/components/resources/ResourceOwnedViewEmbeds.d.ts +1 -1
  235. package/dist/esm/components/resources/ResourceOwnedViewEmbeds.d.ts.map +1 -1
  236. package/dist/esm/components/resources/ResourceOwnedViewEmbeds.js +11 -4
  237. package/dist/esm/components/resources/ResourceOwnedViewEmbeds.js.map +1 -1
  238. package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.d.ts.map +1 -1
  239. package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.js +4 -1
  240. package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.js.map +1 -1
  241. package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.d.ts.map +1 -1
  242. package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.js +4 -1
  243. package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.js.map +1 -1
  244. package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.d.ts.map +1 -1
  245. package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.js +4 -1
  246. package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.js.map +1 -1
  247. package/dist/esm/components/resources/embeds/RelatedResourceSections.d.ts +1 -1
  248. package/dist/esm/components/resources/embeds/RelatedResourceSections.js.map +1 -1
  249. package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts +5 -5
  250. package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts.map +1 -1
  251. package/dist/esm/components/resources/embeds/ResourceEmbeds.js +21 -14
  252. package/dist/esm/components/resources/embeds/ResourceEmbeds.js.map +1 -1
  253. package/dist/esm/components/resources/skeleton/DisplayLayout.d.ts.map +1 -1
  254. package/dist/esm/components/resources/skeleton/DisplayLayout.js +40 -4
  255. package/dist/esm/components/resources/skeleton/DisplayLayout.js.map +1 -1
  256. package/dist/esm/components/resources/skeleton/FormLayout.d.ts.map +1 -1
  257. package/dist/esm/components/resources/skeleton/FormLayout.js +22 -6
  258. package/dist/esm/components/resources/skeleton/FormLayout.js.map +1 -1
  259. package/dist/esm/components/resources/skeleton/Group.d.ts.map +1 -1
  260. package/dist/esm/components/resources/skeleton/Group.js +4 -1
  261. package/dist/esm/components/resources/skeleton/Group.js.map +1 -1
  262. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.d.ts +1 -1
  263. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js +1 -1
  264. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js.map +1 -1
  265. package/dist/esm/components/resources/skeleton/SectionFieldsContext.d.ts +21 -1
  266. package/dist/esm/components/resources/skeleton/SectionFieldsContext.d.ts.map +1 -1
  267. package/dist/esm/components/resources/skeleton/SectionFieldsContext.js +53 -9
  268. package/dist/esm/components/resources/skeleton/SectionFieldsContext.js.map +1 -1
  269. package/dist/esm/components/sections/ContentSectionContainer.d.ts.map +1 -1
  270. package/dist/esm/components/sections/ContentSectionContainer.js +11 -7
  271. package/dist/esm/components/sections/ContentSectionContainer.js.map +1 -1
  272. package/dist/esm/components/sections/content-section.d.ts +1 -3
  273. package/dist/esm/components/sections/content-section.d.ts.map +1 -1
  274. package/dist/esm/components/sections/content-section.js.map +1 -1
  275. package/dist/esm/components/settings/AppPage_AgentActivitySettings.d.ts.map +1 -1
  276. package/dist/esm/components/settings/AppPage_AgentActivitySettings.js +2 -1
  277. package/dist/esm/components/settings/AppPage_AgentActivitySettings.js.map +1 -1
  278. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts +12 -0
  279. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts.map +1 -1
  280. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js +28 -6
  281. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js.map +1 -1
  282. package/dist/esm/components/settings/SettingsHub.d.ts +15 -0
  283. package/dist/esm/components/settings/SettingsHub.d.ts.map +1 -1
  284. package/dist/esm/components/settings/SettingsHub.js +14 -4
  285. package/dist/esm/components/settings/SettingsHub.js.map +1 -1
  286. package/dist/esm/components/typography/document-heading-level.d.ts +28 -0
  287. package/dist/esm/components/typography/document-heading-level.d.ts.map +1 -0
  288. package/dist/esm/components/typography/document-heading-level.js +63 -0
  289. package/dist/esm/components/typography/document-heading-level.js.map +1 -0
  290. package/dist/esm/components/views/chart-dashboard/ChartDashboard.d.ts +3 -2
  291. package/dist/esm/components/views/chart-dashboard/ChartDashboard.d.ts.map +1 -1
  292. package/dist/esm/components/views/chart-dashboard/ChartDashboard.js +4 -3
  293. package/dist/esm/components/views/chart-dashboard/ChartDashboard.js.map +1 -1
  294. package/dist/esm/components/views/chart-dashboard/useChartDashboardLayout.d.ts +1 -1
  295. package/dist/esm/components/views/chart-dashboard/useChartDashboardLayout.d.ts.map +1 -1
  296. package/dist/esm/components/views/chart-dashboard/useChartDashboardLayout.js.map +1 -1
  297. package/dist/esm/components/views/chart-view/ChartKpiFigure.d.ts +33 -0
  298. package/dist/esm/components/views/chart-view/ChartKpiFigure.d.ts.map +1 -1
  299. package/dist/esm/components/views/chart-view/ChartKpiFigure.js +63 -4
  300. package/dist/esm/components/views/chart-view/ChartKpiFigure.js.map +1 -1
  301. package/dist/esm/components/views/chart-view/ChartView.d.ts.map +1 -1
  302. package/dist/esm/components/views/chart-view/ChartView.js +52 -22
  303. package/dist/esm/components/views/chart-view/ChartView.js.map +1 -1
  304. package/dist/esm/components/views/chart-view/ChartView.labels.d.ts.map +1 -1
  305. package/dist/esm/components/views/chart-view/ChartView.labels.js +76 -3
  306. package/dist/esm/components/views/chart-view/ChartView.labels.js.map +1 -1
  307. package/dist/esm/components/views/chart-view/ChartView.lazy.d.ts.map +1 -1
  308. package/dist/esm/components/views/chart-view/ChartView.lazy.js +2 -1
  309. package/dist/esm/components/views/chart-view/ChartView.lazy.js.map +1 -1
  310. package/dist/esm/components/views/chart-view/ChartWidget.d.ts.map +1 -1
  311. package/dist/esm/components/views/chart-view/ChartWidget.js +12 -4
  312. package/dist/esm/components/views/chart-view/ChartWidget.js.map +1 -1
  313. package/dist/esm/components/views/chart-view/chart-export.utils.d.ts +8 -0
  314. package/dist/esm/components/views/chart-view/chart-export.utils.d.ts.map +1 -1
  315. package/dist/esm/components/views/chart-view/chart-export.utils.js +15 -25
  316. package/dist/esm/components/views/chart-view/chart-export.utils.js.map +1 -1
  317. package/dist/esm/components/views/chart-view/chart-view-defaults.d.ts +6 -0
  318. package/dist/esm/components/views/chart-view/chart-view-defaults.d.ts.map +1 -0
  319. package/dist/esm/components/views/chart-view/chart-view-defaults.js +6 -0
  320. package/dist/esm/components/views/chart-view/chart-view-defaults.js.map +1 -0
  321. package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts +47 -12
  322. package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts.map +1 -1
  323. package/dist/esm/components/views/chart-view/option-builder/builder-utils.js +87 -32
  324. package/dist/esm/components/views/chart-view/option-builder/builder-utils.js.map +1 -1
  325. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.d.ts.map +1 -1
  326. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js +8 -8
  327. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js.map +1 -1
  328. package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js +1 -1
  329. package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js.map +1 -1
  330. package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.d.ts.map +1 -1
  331. package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.js +7 -3
  332. package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.js.map +1 -1
  333. package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.d.ts.map +1 -1
  334. package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.js +6 -2
  335. package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.js.map +1 -1
  336. package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.d.ts.map +1 -1
  337. package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.js +8 -2
  338. package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.js.map +1 -1
  339. package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.d.ts.map +1 -1
  340. package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.js +13 -9
  341. package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.js.map +1 -1
  342. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.d.ts +1 -1
  343. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.d.ts.map +1 -1
  344. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js +9 -8
  345. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js.map +1 -1
  346. package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.d.ts.map +1 -1
  347. package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.js +2 -1
  348. package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.js.map +1 -1
  349. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.d.ts +1 -1
  350. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.d.ts.map +1 -1
  351. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.js +10 -11
  352. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.js.map +1 -1
  353. package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.d.ts.map +1 -1
  354. package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.js +2 -1
  355. package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.js.map +1 -1
  356. package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.d.ts.map +1 -1
  357. package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.js +5 -1
  358. package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.js.map +1 -1
  359. package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.d.ts.map +1 -1
  360. package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.js +7 -3
  361. package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.js.map +1 -1
  362. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.d.ts.map +1 -1
  363. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js +13 -13
  364. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js.map +1 -1
  365. package/dist/esm/components/views/chart-view/useResourceChartData.d.ts +1 -1
  366. package/dist/esm/components/views/chart-view/useResourceChartData.js +1 -1
  367. package/dist/esm/components/views/chart-view/useResourceChartData.js.map +1 -1
  368. package/dist/esm/components/views/composite-view/CompositeView.d.ts +6 -0
  369. package/dist/esm/components/views/composite-view/CompositeView.d.ts.map +1 -1
  370. package/dist/esm/components/views/composite-view/CompositeView.js +6 -2
  371. package/dist/esm/components/views/composite-view/CompositeView.js.map +1 -1
  372. package/dist/esm/components/views/execution-view/ExecutionView.d.ts +7 -0
  373. package/dist/esm/components/views/execution-view/ExecutionView.d.ts.map +1 -1
  374. package/dist/esm/components/views/execution-view/ExecutionView.js +11 -1
  375. package/dist/esm/components/views/execution-view/ExecutionView.js.map +1 -1
  376. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts +7 -0
  377. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts.map +1 -1
  378. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js +6 -2
  379. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js.map +1 -1
  380. package/dist/esm/components/views/full-custom-view/FullCustomView.d.ts +7 -0
  381. package/dist/esm/components/views/full-custom-view/FullCustomView.d.ts.map +1 -1
  382. package/dist/esm/components/views/full-custom-view/FullCustomView.js +8 -3
  383. package/dist/esm/components/views/full-custom-view/FullCustomView.js.map +1 -1
  384. package/dist/esm/components/views/onboarding-view/OnboardingView.d.ts +7 -0
  385. package/dist/esm/components/views/onboarding-view/OnboardingView.d.ts.map +1 -1
  386. package/dist/esm/components/views/onboarding-view/OnboardingView.js +11 -1
  387. package/dist/esm/components/views/onboarding-view/OnboardingView.js.map +1 -1
  388. package/dist/esm/core/app-shell/AppShellBuildingBlocks.d.ts +2 -2
  389. package/dist/esm/core/app-shell/AppShellBuildingBlocks.js +2 -2
  390. package/dist/esm/core/app-shell/AppShellBuildingBlocks.js.map +1 -1
  391. package/dist/esm/core/app-shell/app-shell.schemas.d.ts +87 -16
  392. package/dist/esm/core/app-shell/app-shell.schemas.d.ts.map +1 -1
  393. package/dist/esm/core/app-shell/app-shell.schemas.js +16 -0
  394. package/dist/esm/core/app-shell/app-shell.schemas.js.map +1 -1
  395. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.d.ts +4 -4
  396. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js +3 -3
  397. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js.map +1 -1
  398. package/dist/esm/core/app-shell/useIdentityPortalShellLayout.d.ts +45 -0
  399. package/dist/esm/core/app-shell/useIdentityPortalShellLayout.d.ts.map +1 -0
  400. package/dist/esm/core/app-shell/useIdentityPortalShellLayout.js +72 -0
  401. package/dist/esm/core/app-shell/useIdentityPortalShellLayout.js.map +1 -0
  402. package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.d.ts +4 -3
  403. package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.d.ts.map +1 -1
  404. package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.js +4 -3
  405. package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.js.map +1 -1
  406. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts +15 -8
  407. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts.map +1 -1
  408. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js +22 -21
  409. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js.map +1 -1
  410. package/dist/esm/core/billing/BillingContext.d.ts +27 -4
  411. package/dist/esm/core/billing/BillingContext.d.ts.map +1 -1
  412. package/dist/esm/core/billing/BillingContext.js +61 -2
  413. package/dist/esm/core/billing/BillingContext.js.map +1 -1
  414. package/dist/esm/core/billing/useBillingAction.d.ts.map +1 -1
  415. package/dist/esm/core/billing/useBillingAction.js +3 -2
  416. package/dist/esm/core/billing/useBillingAction.js.map +1 -1
  417. package/dist/esm/core/components-registry/RegisteredComponentRoot.d.ts +19 -0
  418. package/dist/esm/core/components-registry/RegisteredComponentRoot.d.ts.map +1 -0
  419. package/dist/esm/core/components-registry/RegisteredComponentRoot.js +23 -0
  420. package/dist/esm/core/components-registry/RegisteredComponentRoot.js.map +1 -0
  421. package/dist/esm/core/components-registry/register-framework-layouts.d.ts.map +1 -1
  422. package/dist/esm/core/components-registry/register-framework-layouts.js +4 -0
  423. package/dist/esm/core/components-registry/register-framework-layouts.js.map +1 -1
  424. package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts +159 -0
  425. package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts.map +1 -1
  426. package/dist/esm/core/config/app-configuration-frontend.schemas.js +68 -3
  427. package/dist/esm/core/config/app-configuration-frontend.schemas.js.map +1 -1
  428. package/dist/esm/core/config/app-level-components.frontend.schemas.d.ts +2 -2
  429. package/dist/esm/core/config/app-level-components.frontend.schemas.js +2 -2
  430. package/dist/esm/core/config/app-level-components.frontend.schemas.js.map +1 -1
  431. package/dist/esm/core/config/chart-view.frontend.schemas.d.ts +59 -18
  432. package/dist/esm/core/config/chart-view.frontend.schemas.d.ts.map +1 -1
  433. package/dist/esm/core/config/chart-view.frontend.schemas.js +42 -7
  434. package/dist/esm/core/config/chart-view.frontend.schemas.js.map +1 -1
  435. package/dist/esm/core/config/composite-view.schemas.d.ts +8 -1
  436. package/dist/esm/core/config/composite-view.schemas.d.ts.map +1 -1
  437. package/dist/esm/core/config/composite-view.schemas.js +1 -0
  438. package/dist/esm/core/config/composite-view.schemas.js.map +1 -1
  439. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts +1 -1
  440. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts.map +1 -1
  441. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js +1 -1
  442. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js.map +1 -1
  443. package/dist/esm/core/config/engine-settings-destinations.d.ts +6 -0
  444. package/dist/esm/core/config/engine-settings-destinations.d.ts.map +1 -1
  445. package/dist/esm/core/config/engine-settings-destinations.js +12 -0
  446. package/dist/esm/core/config/engine-settings-destinations.js.map +1 -1
  447. package/dist/esm/core/config/execution-view.schemas.d.ts +1 -1
  448. package/dist/esm/core/config/execution-view.schemas.js.map +1 -1
  449. package/dist/esm/core/config/identity-portal-settings.frontend.d.ts +17 -0
  450. package/dist/esm/core/config/identity-portal-settings.frontend.d.ts.map +1 -0
  451. package/dist/esm/core/config/identity-portal-settings.frontend.js +64 -0
  452. package/dist/esm/core/config/identity-portal-settings.frontend.js.map +1 -0
  453. package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts +8 -8
  454. package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts.map +1 -1
  455. package/dist/esm/core/config/launcher-items.frontend.schemas.js.map +1 -1
  456. package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts +1 -1
  457. package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts.map +1 -1
  458. package/dist/esm/core/config/settings-hub-gating.frontend.utils.js +1 -1
  459. package/dist/esm/core/config/settings-hub-gating.frontend.utils.js.map +1 -1
  460. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts +17 -6
  461. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts.map +1 -1
  462. package/dist/esm/core/config/settings-hub.frontend.schemas.js.map +1 -1
  463. package/dist/esm/core/config/useSettingsHubConfig.d.ts.map +1 -1
  464. package/dist/esm/core/config/useSettingsHubConfig.js +1 -0
  465. package/dist/esm/core/config/useSettingsHubConfig.js.map +1 -1
  466. package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts +7 -0
  467. package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts.map +1 -1
  468. package/dist/esm/core/config/useVisibleSettingsHubConfig.js +9 -1
  469. package/dist/esm/core/config/useVisibleSettingsHubConfig.js.map +1 -1
  470. package/dist/esm/core/config/verify-launcher-content.d.ts +7 -1
  471. package/dist/esm/core/config/verify-launcher-content.d.ts.map +1 -1
  472. package/dist/esm/core/config/verify-launcher-content.js +31 -0
  473. package/dist/esm/core/config/verify-launcher-content.js.map +1 -1
  474. package/dist/esm/core/errors/GlobalErrorHandler.d.ts.map +1 -1
  475. package/dist/esm/core/errors/GlobalErrorHandler.js +10 -0
  476. package/dist/esm/core/errors/GlobalErrorHandler.js.map +1 -1
  477. package/dist/esm/core/errors/backend-refusal.frontend.d.ts +1 -1
  478. package/dist/esm/core/errors/backend-refusal.frontend.d.ts.map +1 -1
  479. package/dist/esm/core/errors/backend-refusal.frontend.js.map +1 -1
  480. package/dist/esm/core/events/NotificationContext.d.ts.map +1 -1
  481. package/dist/esm/core/events/NotificationContext.js +19 -2
  482. package/dist/esm/core/events/NotificationContext.js.map +1 -1
  483. package/dist/esm/core/events/notification-display-policy.frontend.schemas.d.ts +21 -2
  484. package/dist/esm/core/events/notification-display-policy.frontend.schemas.d.ts.map +1 -1
  485. package/dist/esm/core/events/notification-display-policy.frontend.schemas.js +25 -4
  486. package/dist/esm/core/events/notification-display-policy.frontend.schemas.js.map +1 -1
  487. package/dist/esm/core/execution/useExecution.d.ts +3 -3
  488. package/dist/esm/core/execution/useExecution.js.map +1 -1
  489. package/dist/esm/core/external-providers/ConsentBasedProviderSdks.d.ts +1 -1
  490. package/dist/esm/core/external-providers/ConsentBasedProviderSdks.js +1 -1
  491. package/dist/esm/core/external-providers/ConsentBasedProviderSdks.js.map +1 -1
  492. package/dist/esm/core/features/FeatureGate.d.ts +13 -1
  493. package/dist/esm/core/features/FeatureGate.d.ts.map +1 -1
  494. package/dist/esm/core/features/FeatureGate.js +6 -1
  495. package/dist/esm/core/features/FeatureGate.js.map +1 -1
  496. package/dist/esm/core/features/InPlaceFeatureLock.d.ts +28 -0
  497. package/dist/esm/core/features/InPlaceFeatureLock.d.ts.map +1 -0
  498. package/dist/esm/core/features/InPlaceFeatureLock.js +49 -0
  499. package/dist/esm/core/features/InPlaceFeatureLock.js.map +1 -0
  500. package/dist/esm/core/features/PlanRefusalPrompt.d.ts +12 -0
  501. package/dist/esm/core/features/PlanRefusalPrompt.d.ts.map +1 -0
  502. package/dist/esm/core/features/PlanRefusalPrompt.js +90 -0
  503. package/dist/esm/core/features/PlanRefusalPrompt.js.map +1 -0
  504. package/dist/esm/core/features/RequiredFeaturesGate.d.ts +39 -0
  505. package/dist/esm/core/features/RequiredFeaturesGate.d.ts.map +1 -0
  506. package/dist/esm/core/features/RequiredFeaturesGate.js +51 -0
  507. package/dist/esm/core/features/RequiredFeaturesGate.js.map +1 -0
  508. package/dist/esm/core/features/feature-unavailability.frontend.utils.d.ts +6 -0
  509. package/dist/esm/core/features/feature-unavailability.frontend.utils.d.ts.map +1 -1
  510. package/dist/esm/core/features/feature-unavailability.frontend.utils.js +27 -10
  511. package/dist/esm/core/features/feature-unavailability.frontend.utils.js.map +1 -1
  512. package/dist/esm/core/features/plan-refusal.frontend.d.ts +43 -0
  513. package/dist/esm/core/features/plan-refusal.frontend.d.ts.map +1 -0
  514. package/dist/esm/core/features/plan-refusal.frontend.js +67 -0
  515. package/dist/esm/core/features/plan-refusal.frontend.js.map +1 -0
  516. package/dist/esm/core/features/required-features-gate-presentation.d.ts +21 -0
  517. package/dist/esm/core/features/required-features-gate-presentation.d.ts.map +1 -0
  518. package/dist/esm/core/features/required-features-gate-presentation.js +26 -0
  519. package/dist/esm/core/features/required-features-gate-presentation.js.map +1 -0
  520. package/dist/esm/core/features/useFeatureAvailability.d.ts.map +1 -1
  521. package/dist/esm/core/features/useFeatureAvailability.js +4 -0
  522. package/dist/esm/core/features/useFeatureAvailability.js.map +1 -1
  523. package/dist/esm/core/features/useOperationFeatureAvailability.d.ts +2 -0
  524. package/dist/esm/core/features/useOperationFeatureAvailability.d.ts.map +1 -1
  525. package/dist/esm/core/features/useOperationFeatureAvailability.js +6 -1
  526. package/dist/esm/core/features/useOperationFeatureAvailability.js.map +1 -1
  527. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts +11 -0
  528. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts.map +1 -1
  529. package/dist/esm/core/flows-actors/FlowsActorsContext.js +117 -3
  530. package/dist/esm/core/flows-actors/FlowsActorsContext.js.map +1 -1
  531. package/dist/esm/core/guidance/renderers/GuidanceAnnouncement.d.ts.map +1 -1
  532. package/dist/esm/core/guidance/renderers/GuidanceAnnouncement.js +3 -1
  533. package/dist/esm/core/guidance/renderers/GuidanceAnnouncement.js.map +1 -1
  534. package/dist/esm/core/navigation/NavigationContentAreas.d.ts.map +1 -1
  535. package/dist/esm/core/navigation/NavigationContentAreas.js +28 -9
  536. package/dist/esm/core/navigation/NavigationContentAreas.js.map +1 -1
  537. package/dist/esm/{components/views/chart-dashboard/chart-dashboard.utils.d.ts → core/navigation/chart-read-gate.d.ts} +11 -7
  538. package/dist/esm/core/navigation/chart-read-gate.d.ts.map +1 -0
  539. package/dist/esm/{components/views/chart-dashboard/chart-dashboard.utils.js → core/navigation/chart-read-gate.js} +27 -11
  540. package/dist/esm/core/navigation/chart-read-gate.js.map +1 -0
  541. package/dist/esm/core/navigation/home-resolution.d.ts +36 -0
  542. package/dist/esm/core/navigation/home-resolution.d.ts.map +1 -0
  543. package/dist/esm/core/navigation/home-resolution.js +46 -0
  544. package/dist/esm/core/navigation/home-resolution.js.map +1 -0
  545. package/dist/esm/core/navigation/launcher-resolution.d.ts +2 -34
  546. package/dist/esm/core/navigation/launcher-resolution.d.ts.map +1 -1
  547. package/dist/esm/core/navigation/launcher-resolution.js +13 -18
  548. package/dist/esm/core/navigation/launcher-resolution.js.map +1 -1
  549. package/dist/esm/core/navigation/launcher-runtime-availability.d.ts +1 -1
  550. package/dist/esm/core/navigation/launcher-runtime-availability.d.ts.map +1 -1
  551. package/dist/esm/core/navigation/launcher-runtime-availability.js +7 -2
  552. package/dist/esm/core/navigation/launcher-runtime-availability.js.map +1 -1
  553. package/dist/esm/core/navigation/primary-destination-layout.d.ts +2 -2
  554. package/dist/esm/core/navigation/primary-destination-layout.d.ts.map +1 -1
  555. package/dist/esm/core/navigation/primary-destination-layout.js +1 -1
  556. package/dist/esm/core/navigation/primary-destination-layout.js.map +1 -1
  557. package/dist/esm/core/navigation/useChartReadDecision.d.ts +26 -0
  558. package/dist/esm/core/navigation/useChartReadDecision.d.ts.map +1 -0
  559. package/dist/esm/core/navigation/useChartReadDecision.js +58 -0
  560. package/dist/esm/core/navigation/useChartReadDecision.js.map +1 -0
  561. package/dist/esm/core/navigation/useCurrentOrganizationConfigurationPresence.d.ts +1 -1
  562. package/dist/esm/core/navigation/useCurrentOrganizationConfigurationPresence.d.ts.map +1 -1
  563. package/dist/esm/core/navigation/useCurrentOrganizationConfigurationPresence.js.map +1 -1
  564. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts +1 -1
  565. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts.map +1 -1
  566. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.js.map +1 -1
  567. package/dist/esm/core/navigation/view-title-resolution.d.ts +21 -0
  568. package/dist/esm/core/navigation/view-title-resolution.d.ts.map +1 -1
  569. package/dist/esm/core/navigation/view-title-resolution.js +25 -0
  570. package/dist/esm/core/navigation/view-title-resolution.js.map +1 -1
  571. package/dist/esm/core/navigation/viewer-field-reader.d.ts +81 -0
  572. package/dist/esm/core/navigation/viewer-field-reader.d.ts.map +1 -0
  573. package/dist/esm/core/navigation/viewer-field-reader.js +113 -0
  574. package/dist/esm/core/navigation/viewer-field-reader.js.map +1 -0
  575. package/dist/esm/core/navigation/viewer-roles.d.ts +40 -0
  576. package/dist/esm/core/navigation/viewer-roles.d.ts.map +1 -0
  577. package/dist/esm/core/navigation/viewer-roles.js +26 -0
  578. package/dist/esm/core/navigation/viewer-roles.js.map +1 -0
  579. package/dist/esm/core/requests/user-interaction-clock.d.ts +32 -0
  580. package/dist/esm/core/requests/user-interaction-clock.d.ts.map +1 -0
  581. package/dist/esm/core/requests/user-interaction-clock.js +47 -0
  582. package/dist/esm/core/requests/user-interaction-clock.js.map +1 -0
  583. package/dist/esm/core/requests/websockets/WebSocketEventBridge.d.ts.map +1 -1
  584. package/dist/esm/core/requests/websockets/WebSocketEventBridge.js +2 -0
  585. package/dist/esm/core/requests/websockets/WebSocketEventBridge.js.map +1 -1
  586. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts +66 -10
  587. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts.map +1 -1
  588. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js +63 -8
  589. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js.map +1 -1
  590. package/dist/esm/core/requests/wildo-http-client.frontend.service.d.ts.map +1 -1
  591. package/dist/esm/core/requests/wildo-http-client.frontend.service.js +13 -0
  592. package/dist/esm/core/requests/wildo-http-client.frontend.service.js.map +1 -1
  593. package/dist/esm/core/resources/hooks/useOperationEnabled.d.ts.map +1 -1
  594. package/dist/esm/core/resources/hooks/useOperationEnabled.js +45 -3
  595. package/dist/esm/core/resources/hooks/useOperationEnabled.js.map +1 -1
  596. package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts +1 -1
  597. package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts.map +1 -1
  598. package/dist/esm/core/resources/resource-addressability.frontend.utils.js.map +1 -1
  599. package/dist/esm/core/resources/resources-repository.frontend.service.d.ts.map +1 -1
  600. package/dist/esm/core/resources/resources-repository.frontend.service.js +2 -0
  601. package/dist/esm/core/resources/resources-repository.frontend.service.js.map +1 -1
  602. package/dist/esm/core/resources/resources.frontend.schemas.d.ts +29 -23
  603. package/dist/esm/core/resources/resources.frontend.schemas.d.ts.map +1 -1
  604. package/dist/esm/core/resources/resources.frontend.schemas.js +20 -20
  605. package/dist/esm/core/resources/resources.frontend.schemas.js.map +1 -1
  606. package/dist/esm/core/resources/rmm/ResourceMutationManager.d.ts.map +1 -1
  607. package/dist/esm/core/resources/rmm/ResourceMutationManager.js +4 -0
  608. package/dist/esm/core/resources/rmm/ResourceMutationManager.js.map +1 -1
  609. package/dist/esm/core/resources/useResourceOperationActions.d.ts.map +1 -1
  610. package/dist/esm/core/resources/useResourceOperationActions.js +7 -7
  611. package/dist/esm/core/resources/useResourceOperationActions.js.map +1 -1
  612. package/dist/esm/core/runtime/AppRouter.d.ts.map +1 -1
  613. package/dist/esm/core/runtime/AppRouter.js +11 -33
  614. package/dist/esm/core/runtime/AppRouter.js.map +1 -1
  615. package/dist/esm/core/runtime/ApplicationMainContext.d.ts +15 -1
  616. package/dist/esm/core/runtime/ApplicationMainContext.d.ts.map +1 -1
  617. package/dist/esm/core/runtime/ApplicationMainContext.js +41 -23
  618. package/dist/esm/core/runtime/ApplicationMainContext.js.map +1 -1
  619. package/dist/esm/core/runtime/IdentityPortalRouter.d.ts +20 -0
  620. package/dist/esm/core/runtime/IdentityPortalRouter.d.ts.map +1 -0
  621. package/dist/esm/core/runtime/IdentityPortalRouter.js +31 -0
  622. package/dist/esm/core/runtime/IdentityPortalRouter.js.map +1 -0
  623. package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts +9 -0
  624. package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts.map +1 -1
  625. package/dist/esm/core/runtime/domain-module.frontend.definitions.js +3 -2
  626. package/dist/esm/core/runtime/domain-module.frontend.definitions.js.map +1 -1
  627. package/dist/esm/core/runtime/frontend-companion-resource-inputs.d.ts +21 -0
  628. package/dist/esm/core/runtime/frontend-companion-resource-inputs.d.ts.map +1 -1
  629. package/dist/esm/core/runtime/frontend-companion-resource-inputs.js +19 -1
  630. package/dist/esm/core/runtime/frontend-companion-resource-inputs.js.map +1 -1
  631. package/dist/esm/core/runtime/identity-routes.d.ts +13 -0
  632. package/dist/esm/core/runtime/identity-routes.d.ts.map +1 -0
  633. package/dist/esm/core/runtime/identity-routes.js +50 -0
  634. package/dist/esm/core/runtime/identity-routes.js.map +1 -0
  635. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts +19 -0
  636. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts.map +1 -1
  637. package/dist/esm/core/runtime/routes.frontend.definitions.js +20 -1
  638. package/dist/esm/core/runtime/routes.frontend.definitions.js.map +1 -1
  639. package/dist/esm/core/runtime/runtime.frontend.schemas.d.ts +3 -1
  640. package/dist/esm/core/runtime/runtime.frontend.schemas.d.ts.map +1 -1
  641. package/dist/esm/core/runtime/runtime.frontend.schemas.js +2 -0
  642. package/dist/esm/core/runtime/runtime.frontend.schemas.js.map +1 -1
  643. package/dist/esm/core/runtime/start-application.frontend.service.d.ts +7 -0
  644. package/dist/esm/core/runtime/start-application.frontend.service.d.ts.map +1 -1
  645. package/dist/esm/core/runtime/start-application.frontend.service.js +4 -2
  646. package/dist/esm/core/runtime/start-application.frontend.service.js.map +1 -1
  647. package/dist/esm/core/search/command-score.d.ts +33 -0
  648. package/dist/esm/core/search/command-score.d.ts.map +1 -0
  649. package/dist/esm/core/search/command-score.js +109 -0
  650. package/dist/esm/core/search/command-score.js.map +1 -0
  651. package/dist/esm/core/security/AuthSessionContext.d.ts.map +1 -1
  652. package/dist/esm/core/security/AuthSessionContext.js +4 -0
  653. package/dist/esm/core/security/AuthSessionContext.js.map +1 -1
  654. package/dist/esm/core/security/StepUpAuthContext.d.ts +3 -2
  655. package/dist/esm/core/security/StepUpAuthContext.d.ts.map +1 -1
  656. package/dist/esm/core/security/StepUpAuthContext.js +7 -2
  657. package/dist/esm/core/security/StepUpAuthContext.js.map +1 -1
  658. package/dist/esm/core/security/federated-reauthentication.frontend.d.ts +13 -2
  659. package/dist/esm/core/security/federated-reauthentication.frontend.d.ts.map +1 -1
  660. package/dist/esm/core/security/federated-reauthentication.frontend.js +21 -1
  661. package/dist/esm/core/security/federated-reauthentication.frontend.js.map +1 -1
  662. package/dist/esm/core/security/useAuthenticatedRouteEntry.d.ts +24 -0
  663. package/dist/esm/core/security/useAuthenticatedRouteEntry.d.ts.map +1 -0
  664. package/dist/esm/core/security/useAuthenticatedRouteEntry.js +37 -0
  665. package/dist/esm/core/security/useAuthenticatedRouteEntry.js.map +1 -0
  666. package/dist/esm/core/ui/design-token.utils.d.ts +9 -0
  667. package/dist/esm/core/ui/design-token.utils.d.ts.map +1 -1
  668. package/dist/esm/core/ui/design-token.utils.js +24 -3
  669. package/dist/esm/core/ui/design-token.utils.js.map +1 -1
  670. package/dist/esm/core/ui/themes/focus-indicator.d.ts +1 -1
  671. package/dist/esm/core/ui/themes/focus-indicator.js +1 -1
  672. package/dist/esm/core/ui/themes/focus-indicator.js.map +1 -1
  673. package/dist/esm/core/ui/ui.frontend.schemas.d.ts.map +1 -1
  674. package/dist/esm/index.d.ts +19 -1
  675. package/dist/esm/index.d.ts.map +1 -1
  676. package/dist/esm/index.js +22 -1
  677. package/dist/esm/index.js.map +1 -1
  678. package/dist/esm/testing/mock-builders.d.ts +1 -1
  679. package/dist/esm/testing/mock-builders.d.ts.map +1 -1
  680. package/dist/esm/testing/mock-builders.js +1 -0
  681. package/dist/esm/testing/mock-builders.js.map +1 -1
  682. package/dist/tsconfig.build.tsbuildinfo +1 -1
  683. package/package.json +9 -6
  684. package/dist/esm/components/views/chart-dashboard/chart-dashboard.utils.d.ts.map +0 -1
  685. package/dist/esm/components/views/chart-dashboard/chart-dashboard.utils.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AppRouter.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/AppRouter.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAitB1B,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAmT7B,CAAC"}
1
+ {"version":3,"file":"AppRouter.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/AppRouter.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,MAAM,OAAO,CAAC;AAyrB1B,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAsJ7B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { CoreResourceOperation, NavigationZoneName, NavigationTransition, ResourcesConfigOperationsUrlsBuilderUtils, PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS, LEGAL_NOTICE_ROUTE_PATH, readPublicGovernedDocumentReleaseQuery, } from '@wildo-ai/saas-models';
2
+ import { CoreResourceOperation, NavigationZoneName, NavigationTransition, ResourcesConfigOperationsUrlsBuilderUtils, } from '@wildo-ai/saas-models';
3
3
  import React from 'react';
4
- import { Route, Routes, useLocation, useParams, useSearchParams } from 'react-router';
4
+ import { Route, Routes, useLocation, useParams } from 'react-router';
5
5
  import { AppLayout_AuthenticatedRoute } from '../../components/app/AppLayout_AuthenticatedRoute.js';
6
6
  import { AppLayout_Home } from '../../components/app/AppLayout_Home.js';
7
7
  import { AppLayout_DecisionInbox } from '../../components/app/AppLayout_DecisionInbox.js';
@@ -11,26 +11,6 @@ import { ResourceLayout_List } from '../../components/resources/ResourceLayout_L
11
11
  import { ResourceLayout_Read } from '../../components/resources/ResourceLayout_Read.js';
12
12
  import { ResourceLayout_Search } from '../../components/resources/ResourceLayout_Search.js';
13
13
  import { ResourceLayout_Update } from '../../components/resources/ResourceLayout_Update.js';
14
- import { AuthPage_AuthCallback } from '../../components/auth/pages/AuthPage_AuthCallback.js';
15
- import { AuthPage_ReAuthenticationCallback } from '../../components/auth/pages/AuthPage_ReAuthenticationCallback.js';
16
- import { AuthPage_MagicLinkVerify } from '../../components/auth/pages/AuthPage_MagicLinkVerify.js';
17
- import { AuthPage_MfaChallenge } from '../../components/auth/pages/AuthPage_MfaChallenge.js';
18
- import { AuthPage_EnrollmentRequired } from '../../components/auth/pages/AuthPage_EnrollmentRequired.js';
19
- import { AuthPage_OrganizationOnboarding } from '../../components/auth/pages/AuthPage_OrganizationOnboarding.js';
20
- import { AuthPage_Main } from '../../components/auth/pages/AuthPage_Main.js';
21
- import { AuthPage_ConfirmEmail } from '../../components/auth/pages/AuthPage_ConfirmEmail.js';
22
- import { AuthPage_Invitation } from '../../components/auth/pages/AuthPage_Invitation.js';
23
- import { AuthPage_OneOffSession } from '../../components/auth/pages/AuthPage_OneOffSession.js';
24
- import { FilesPage_UploadGrant } from '../../components/files/pages/FilesPage_UploadGrant.js';
25
- import { AuthPage_AuthExchange } from '../../components/auth/pages/AuthPage_AuthExchange.js';
26
- import { AuthPage_PasswordLost } from '../../components/auth/pages/AuthPage_PasswordLost.js';
27
- import { AuthPage_OAuthConsent } from '../../components/auth/pages/AuthPage_OAuthConsent.js';
28
- import { AuthPage_ChatIdentityLink } from '../../components/auth/pages/AuthPage_ChatIdentityLink.js';
29
- import { AuthPage_OAuthLoggedOut } from '../../components/auth/pages/AuthPage_OAuthLoggedOut.js';
30
- import { AuthPage_OAuthLogoutConfirm } from '../../components/auth/pages/AuthPage_OAuthLogoutConfirm.js';
31
- import { AuthPage_Register } from '../../components/auth/pages/AuthPage_Register.js';
32
- import { PublicLayout_Terms } from '../../components/app/PublicLayout_Terms.js';
33
- import { PublicLayout_LegalNotice } from '../../components/app/PublicLayout_LegalNotice.js';
34
14
  import { RouterErrorBoundary } from '../../core/errors/RouterErrorBoundary.js';
35
15
  import { LoggerFrontendService } from '../../core/monitoring/logger.frontend.service.js';
36
16
  import { NavigationContentType, NavigationSource, NavigationZone } from '../../core/navigation/navigation.schemas.js';
@@ -46,6 +26,7 @@ import { useResourceRegistry } from '../../core/resources/useResourceRegistry.js
46
26
  import { isOperationAddressable } from '../../core/resources/resources.frontend.schemas.js';
47
27
  import { envLoader } from '../../core/runtime/env-variable-loader.frontend.service.js';
48
28
  import { CommonRoutePaths } from './routes.frontend.definitions.js';
29
+ import { identityRouteElements } from './identity-routes.js';
49
30
  import { EnginePageRef } from '../../core/config/launcher-items.frontend.schemas.js';
50
31
  import { FullCustomView } from '../../components/views/full-custom-view/FullCustomView.js';
51
32
  import { FlowsActorsView } from '../../components/views/flows-actors-view/FlowsActorsView.js';
@@ -60,6 +41,7 @@ import { extractExecutionRouteContextResourceIdentifiers, isStandaloneRoutableEx
60
41
  import { FrontendInsertedViewHostKind, FrontendInsertedViewKind, parseFrontendInsertedViewRef, } from '../../core/config/inserted-view.frontend.schemas.js';
61
42
  import { useRouterLocationAheadOfCommit } from '../../core/navigation/useSynchronousBrowserLocation.js';
62
43
  import { ViewNotFound } from '../../components/views/ViewNotFound.js';
44
+ import { ChartReadDecision, useChartReadDecision } from '../../core/navigation/useChartReadDecision.js';
63
45
  import { useEventBus } from '../../core/events/useEventBus.js';
64
46
  import { FrontendEvents } from '../../core/events/events.frontend.schemas.js';
65
47
  import { useNavigationState } from '../../core/navigation/useNavigationState.js';
@@ -455,9 +437,14 @@ const ChartRouteWrapper = ({ viewProps }) => {
455
437
  urlParamValues,
456
438
  }), [viewRef, registry, contextResourceIdentifiers, urlParamValues]);
457
439
  useChartViewRouterSync(resolvedChartRoute);
458
- if (!resolvedChartRoute) {
440
+ // #4252: a chart the backend's chart gate would refuse this viewer is "not found" here, never its error card; the
441
+ // same answer for a chart that does not exist, so the page does not tell a refused viewer the chart is there.
442
+ const readDecision = useChartReadDecision(resolvedChartRoute?.viewDefinition.chartDefinition);
443
+ if (!resolvedChartRoute || readDecision === ChartReadDecision.REFUSED) {
459
444
  return _jsx(ViewNotFound, { viewKind: "chart", viewRef: viewRef });
460
445
  }
446
+ if (readDecision === ChartReadDecision.PENDING)
447
+ return null;
461
448
  return (_jsx(FeatureRouteGuard, { requiredFeatures: resolvedChartRoute.requiredFeatures, children: _jsx(ChartView, { viewRef: resolvedChartRoute.routeViewRef, viewDefinition: resolvedChartRoute.viewDefinition, contextResourceIdentifiers: resolvedChartRoute.contextResourceIdentifiers, urlParamValues: resolvedChartRoute.urlParamValues, runtimeDescriptor: resolvedChartRoute.runtimeDescriptor, ...viewProps }) }));
462
449
  };
463
450
  const EnginePageRouteWrapper = ({ pageRef, PageComponent }) => {
@@ -473,15 +460,6 @@ const EnginePageRouteWrapper = ({ pageRef, PageComponent }) => {
473
460
  * hub, so this fallback is ignored.
474
461
  */
475
462
  const SettingsRouteWrapper = () => _jsx(AppLayout_Home, {});
476
- /**
477
- * The route element of a public governed-document page: the release a link named, read from the query string, handed
478
- * to the page (#3187). The page stays free of the router; this is the one place the URL is read.
479
- */
480
- function PublicGovernedDocumentRoute({ documentRef }) {
481
- const [searchParams] = useSearchParams();
482
- const namedRelease = readPublicGovernedDocumentReleaseQuery(searchParams);
483
- return _jsx(PublicLayout_Terms, { documentRef: documentRef, ...(namedRelease ? { namedRelease } : {}) });
484
- }
485
463
  export const AppRouter = () => {
486
464
  const { registry } = useResourceRegistry();
487
465
  const isDevelopment = envLoader.isDevelopment();
@@ -525,6 +503,6 @@ export const AppRouter = () => {
525
503
  });
526
504
  });
527
505
  });
528
- return (_jsxs(_Fragment, { children: [_jsx(NavigationRequestBridge, {}), _jsxs(Routes, { children: [_jsx(Route, { path: CommonRoutePaths.authCallback, element: _jsx(AuthPage_AuthCallback, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.reAuthenticationCallback, element: _jsx(AuthPage_ReAuthenticationCallback, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.magicLinkVerify, element: _jsx(AuthPage_MagicLinkVerify, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.mfaChallenge, element: _jsx(AuthPage_MfaChallenge, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.enrollmentRequired, element: _jsx(AuthPage_EnrollmentRequired, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.organizationOnboarding, element: _jsx(AuthPage_OrganizationOnboarding, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.oneOffSession, element: _jsx(AuthPage_OneOffSession, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.fileUploadGrant, element: _jsx(FilesPage_UploadGrant, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.authExchange, element: _jsx(AuthPage_AuthExchange, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), Object.entries(PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS).map(([documentRef, path]) => (_jsx(Route, { path: path, element: _jsx(PublicGovernedDocumentRoute, { documentRef: documentRef }), errorElement: _jsx(RouterErrorBoundary, {}) }, documentRef))), _jsx(Route, { path: LEGAL_NOTICE_ROUTE_PATH, element: _jsx(PublicLayout_LegalNotice, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.login, element: _jsx(AuthPage_Main, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.register, element: _jsx(AuthPage_Register, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.passwordLost, element: _jsx(AuthPage_PasswordLost, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.oauthConsent, element: _jsx(AuthPage_OAuthConsent, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.chatIdentityLink, element: _jsx(AuthPage_ChatIdentityLink, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.oauthLoggedOut, element: _jsx(AuthPage_OAuthLoggedOut, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.oauthLogoutConfirm, element: _jsx(AuthPage_OAuthLogoutConfirm, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.invitation, element: _jsx(AuthPage_Invitation, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.confirmEmail, element: _jsx(AuthPage_ConfirmEmail, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsxs(Route, { element: _jsx(AppLayout_AuthenticatedRoute, {}), errorElement: _jsx(RouterErrorBoundary, {}), children: [_jsx(Route, { path: CommonRoutePaths.home, element: _jsx(EnginePageRouteWrapper, { pageRef: EnginePageRef.HOME, PageComponent: AppLayout_Home }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.decisions, element: _jsx(EnginePageRouteWrapper, { pageRef: EnginePageRef.DECISIONS, PageComponent: AppLayout_DecisionInbox }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.conversationLink, element: _jsx(ConversationLinkPage, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.settings, element: _jsx(SettingsRouteWrapper, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.settingsSection, element: _jsx(SettingsRouteWrapper, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.settingsSectionSubTab, element: _jsx(SettingsRouteWrapper, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/composite/:viewRef", element: _jsx(CompositeRouteWrapper, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/custom/:viewRef", element: _jsx(ViewRouteWrapper, { ViewComponent: FullCustomView, contentType: NavigationContentType.FULL_CUSTOM_VIEW }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/flows-actors/:viewRef", element: _jsx(ViewRouteWrapper, { ViewComponent: FlowsActorsView, contentType: NavigationContentType.FLOWS_ACTORS_VIEW }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/execution/:viewRef", element: _jsx(ExecutionRouteWrapper, { viewProps: { navigationZone: NavigationZone.PRIMARY } }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/chart/:viewRef", element: _jsx(React.Suspense, { fallback: _jsx("div", { style: { padding: '2rem', textAlign: 'center', color: 'var(--muted-foreground, #737373)' }, children: "Loading chart..." }), children: _jsx(ChartRouteWrapper, {}) }), errorElement: _jsx(RouterErrorBoundary, {}) }), resourceRouteElements] }), _jsx(Route, { path: "*", element: _jsx(RouterErrorBoundary, {}) })] })] }));
506
+ return (_jsxs(_Fragment, { children: [_jsx(NavigationRequestBridge, {}), _jsxs(Routes, { children: [identityRouteElements(), _jsxs(Route, { element: _jsx(AppLayout_AuthenticatedRoute, {}), errorElement: _jsx(RouterErrorBoundary, {}), children: [_jsx(Route, { path: CommonRoutePaths.home, element: _jsx(EnginePageRouteWrapper, { pageRef: EnginePageRef.HOME, PageComponent: AppLayout_Home }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.decisions, element: _jsx(EnginePageRouteWrapper, { pageRef: EnginePageRef.DECISIONS, PageComponent: AppLayout_DecisionInbox }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.conversationLink, element: _jsx(ConversationLinkPage, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.settings, element: _jsx(SettingsRouteWrapper, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.settingsSection, element: _jsx(SettingsRouteWrapper, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: CommonRoutePaths.settingsSectionSubTab, element: _jsx(SettingsRouteWrapper, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/composite/:viewRef", element: _jsx(CompositeRouteWrapper, {}), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/custom/:viewRef", element: _jsx(ViewRouteWrapper, { ViewComponent: FullCustomView, contentType: NavigationContentType.FULL_CUSTOM_VIEW }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/flows-actors/:viewRef", element: _jsx(ViewRouteWrapper, { ViewComponent: FlowsActorsView, contentType: NavigationContentType.FLOWS_ACTORS_VIEW }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/execution/:viewRef", element: _jsx(ExecutionRouteWrapper, { viewProps: { navigationZone: NavigationZone.PRIMARY } }), errorElement: _jsx(RouterErrorBoundary, {}) }), _jsx(Route, { path: "/chart/:viewRef", element: _jsx(React.Suspense, { fallback: _jsx("div", { style: { padding: '2rem', textAlign: 'center', color: 'var(--muted-foreground, #737373)' }, children: "Loading chart..." }), children: _jsx(ChartRouteWrapper, {}) }), errorElement: _jsx(RouterErrorBoundary, {}) }), resourceRouteElements] }), _jsx(Route, { path: "*", element: _jsx(RouterErrorBoundary, {}) })] })] }));
529
507
  };
530
508
  //# sourceMappingURL=AppRouter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppRouter.js","sourceRoot":"","sources":["../../../../src/core/runtime/AppRouter.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,yCAAyC,EAEzC,oCAAoC,EACpC,uBAAuB,EACvB,sCAAsC,GACvC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,iEAAiE,CAAC;AAC/G,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,4DAA4D,CAAC;AACrG,OAAO,EAAE,qBAAqB,EAAE,MAAM,gEAAgE,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,gEAAgE,CAAC;AACvG,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MA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AGD,qBAAqB,IAChB,EAGR,KAAC,KAAK,IACJ,IAAI,EAAC,GAAG,EACR,OAAO,EAAE,KAAC,mBAAmB,KAAG,GAChC,IACO,IACR,CACJ,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import {\n CoreResourceOperation,\n NavigationZoneName,\n NavigationTransition,\n ResourcesConfigOperationsUrlsBuilderUtils,\n ResourceConfiguration_Operation_UrlParameterInfo,\n PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS,\n LEGAL_NOTICE_ROUTE_PATH,\n readPublicGovernedDocumentReleaseQuery,\n} from '@wildo-ai/saas-models';\nimport type { AnyFrontendResourceConfiguration, FrontendResourceConfiguration_Operation } from '~wildo-frontend-lib/core/resources/resources.frontend.schemas';\nimport React from 'react';\nimport { Route, Routes, useLocation, useParams, useSearchParams } from 'react-router';\nimport { AppLayout_AuthenticatedRoute } from '~wildo-frontend-lib/components/app/AppLayout_AuthenticatedRoute';\nimport { AppLayout_Home } from '~wildo-frontend-lib/components/app/AppLayout_Home';\nimport { AppLayout_DecisionInbox } from '~wildo-frontend-lib/components/app/AppLayout_DecisionInbox';\nimport { ResourceLayout_Action } from '~wildo-frontend-lib/components/resources/ResourceLayout_Action';\nimport { ResourceLayout_Create } from '~wildo-frontend-lib/components/resources/ResourceLayout_Create';\nimport { ResourceLayout_List } from '~wildo-frontend-lib/components/resources/ResourceLayout_List';\nimport { ResourceLayout_Read } from '~wildo-frontend-lib/components/resources/ResourceLayout_Read';\nimport { ResourceLayout_Search } from '~wildo-frontend-lib/components/resources/ResourceLayout_Search';\nimport { ResourceLayout_Update } from '~wildo-frontend-lib/components/resources/ResourceLayout_Update';\n\n\nimport { AuthPage_AuthCallback } from '~wildo-frontend-lib/components/auth/pages/AuthPage_AuthCallback';\nimport { AuthPage_ReAuthenticationCallback } from '~wildo-frontend-lib/components/auth/pages/AuthPage_ReAuthenticationCallback';\nimport { AuthPage_MagicLinkVerify } from '~wildo-frontend-lib/components/auth/pages/AuthPage_MagicLinkVerify';\nimport { AuthPage_MfaChallenge } from '~wildo-frontend-lib/components/auth/pages/AuthPage_MfaChallenge';\nimport { AuthPage_EnrollmentRequired } from '~wildo-frontend-lib/components/auth/pages/AuthPage_EnrollmentRequired';\nimport { AuthPage_OrganizationOnboarding } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OrganizationOnboarding';\nimport { AuthPage_Main } from '~wildo-frontend-lib/components/auth/pages/AuthPage_Main';\nimport { AuthPage_ConfirmEmail } from '~wildo-frontend-lib/components/auth/pages/AuthPage_ConfirmEmail';\nimport { AuthPage_Invitation } from '~wildo-frontend-lib/components/auth/pages/AuthPage_Invitation';\nimport { AuthPage_OneOffSession } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OneOffSession';\nimport { FilesPage_UploadGrant } from '~wildo-frontend-lib/components/files/pages/FilesPage_UploadGrant';\nimport { AuthPage_AuthExchange } from '~wildo-frontend-lib/components/auth/pages/AuthPage_AuthExchange';\nimport { AuthPage_PasswordLost } from '~wildo-frontend-lib/components/auth/pages/AuthPage_PasswordLost';\nimport { AuthPage_OAuthConsent } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OAuthConsent';\nimport { AuthPage_ChatIdentityLink } from '~wildo-frontend-lib/components/auth/pages/AuthPage_ChatIdentityLink';\nimport { AuthPage_OAuthLoggedOut } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OAuthLoggedOut';\nimport { AuthPage_OAuthLogoutConfirm } from '~wildo-frontend-lib/components/auth/pages/AuthPage_OAuthLogoutConfirm';\nimport { AuthPage_Register } from '~wildo-frontend-lib/components/auth/pages/AuthPage_Register';\nimport { PublicLayout_Terms } from '~wildo-frontend-lib/components/app/PublicLayout_Terms';\nimport { PublicLayout_LegalNotice } from '~wildo-frontend-lib/components/app/PublicLayout_LegalNotice';\nimport { RouterErrorBoundary } from '~wildo-frontend-lib/core/errors/RouterErrorBoundary';\nimport { LoggerFrontendService } from '~wildo-frontend-lib/core/monitoring/logger.frontend.service';\nimport { NavigationContentType, NavigationSource, NavigationZone } from '~wildo-frontend-lib/core/navigation/navigation.schemas';\nimport { clickKeepsRestoredContentInPrimary } from '~wildo-frontend-lib/core/navigation/navigation-controller-internals';\nimport { NavigationRequestBridge } from '~wildo-frontend-lib/core/navigation/NavigationRequestBridge';\nimport { adjacentZoneUsableAtViewport } from '~wildo-frontend-lib/core/navigation/zone-collapse';\nimport { NavigationUtils } from '~wildo-frontend-lib/core/navigation/navigation.utils';\nimport { useTransactionAwareSyncRetry } from '~wildo-frontend-lib/core/navigation/useTransactionAwareSyncRetry';\nimport { useRouterSync, useViewRouterSync, useEnginePageRouterSync } from '~wildo-frontend-lib/core/navigation/useNavigationRouterSync';\nimport { frontendResourceUtils } from '~wildo-frontend-lib/core/resources/frontend-resource.utils';\nimport { resolveResourceOperationLayoutKind } from '~wildo-frontend-lib/core/resources/operation-semantics.frontend.utils';\nimport { useResourceRegistry } from '~wildo-frontend-lib/core/resources/useResourceRegistry';\nimport { type FrontendResourceOperationContext, isOperationAddressable } from '~wildo-frontend-lib/core/resources/resources.frontend.schemas';\nimport { envLoader } from '~wildo-frontend-lib/core/runtime/env-variable-loader.frontend.service';\nimport { CommonRoutePaths } from './routes.frontend.definitions';\nimport { EnginePageRef } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport { FullCustomView } from '~wildo-frontend-lib/components/views/full-custom-view/FullCustomView';\nimport { FlowsActorsView } from '~wildo-frontend-lib/components/views/flows-actors-view/FlowsActorsView';\nimport { ConversationLinkPage } from '~wildo-frontend-lib/components/views/flows-actors-view/ConversationLinkPage';\nimport { ExecutionView } from '~wildo-frontend-lib/components/views/execution-view/ExecutionView';\nimport { CompositeView } from '~wildo-frontend-lib/components/views/composite-view/CompositeView';\nimport { FeatureRouteGuard } from '~wildo-frontend-lib/core/features/FeatureRouteGuard';\nimport { useUI } from '~wildo-frontend-lib/core/ui/useUI';\nimport {\n extractCompositeRouteContextResourceIdentifiers,\n isStandaloneRoutableResolvedCompositeView,\n resolveCompositeViewDefinition,\n} from '~wildo-frontend-lib/core/config/composite-view.schemas';\nimport {\n buildResolvedInsertedChartDescriptor,\n extractChartRouteContextResourceIdentifiers,\n extractChartRouteUrlParamValues,\n isStandaloneRoutableInsertedChartView,\n type InsertedChartDeclaration,\n type ResolvedInsertedChartDescriptor,\n resolveInsertedChartView,\n} from '~wildo-frontend-lib/core/config/chart-view.frontend.schemas';\nimport {\n extractExecutionRouteContextResourceIdentifiers,\n isStandaloneRoutableExecutionView,\n resolveExecutionViewDefinition,\n} from '~wildo-frontend-lib/core/config/execution-view.schemas';\nimport {\n FrontendInsertedViewHostKind,\n FrontendInsertedViewKind,\n parseFrontendInsertedViewRef,\n type FrontendInsertedViewIdentity,\n} from '~wildo-frontend-lib/core/config/inserted-view.frontend.schemas';\nimport { useRouterLocationAheadOfCommit } from '~wildo-frontend-lib/core/navigation/useSynchronousBrowserLocation';\nimport type { RequiredFeaturesConfig } from '@wildo-ai/saas-models';\nimport { ViewNotFound } from '~wildo-frontend-lib/components/views/ViewNotFound';\nimport { useEventBus } from '~wildo-frontend-lib/core/events/useEventBus';\nimport { FrontendEvents } from '~wildo-frontend-lib/core/events/events.frontend.schemas';\nimport { useNavigationState } from '~wildo-frontend-lib/core/navigation/useNavigationState';\nimport { useAppScopeSafe } from '~wildo-frontend-lib/core/scope/useAppScope';\nimport { ScopeUtilsService } from '~wildo-frontend-lib/core/scope/scope.utils.frontend.service';\n\n// ChartView is lazy-loaded — apps that don't use charts never load ECharts\nconst ChartView = React.lazy(() => import('~wildo-frontend-lib/components/views/chart-view/ChartView'));\n\ninterface ResolvedChartRouteState {\n routeViewRef: string;\n viewDefinition: InsertedChartDeclaration;\n contextResourceIdentifiers?: Record<string, string>;\n urlParamValues?: Record<string, string>;\n runtimeDescriptor?: ResolvedInsertedChartDescriptor;\n requiredFeatures?: RequiredFeaturesConfig;\n}\n\nfunction resolveInsertedChartRouteState(params: {\n insertedIdentity: FrontendInsertedViewIdentity;\n contextResourceIdentifiers?: Record<string, string>;\n urlParamValues?: Record<string, string>;\n registry: ReturnType<typeof useResourceRegistry>['registry'];\n}): ResolvedChartRouteState | undefined {\n const { insertedIdentity, contextResourceIdentifiers, urlParamValues, registry } = params;\n if (\n insertedIdentity.hostKind !== FrontendInsertedViewHostKind.RESOURCE\n || insertedIdentity.viewKind !== FrontendInsertedViewKind.CHART_VIEW\n ) {\n return undefined;\n }\n\n const chartView = resolveInsertedChartView({\n viewRef: insertedIdentity.insertedViewRef,\n registry,\n })?.chartView;\n if (!chartView || !isStandaloneRoutableInsertedChartView(chartView)) {\n return undefined;\n }\n\n const normalizedContextResourceIdentifiers = contextResourceIdentifiers ?? {};\n\n return {\n routeViewRef: insertedIdentity.insertedViewRef,\n viewDefinition: chartView,\n contextResourceIdentifiers: normalizedContextResourceIdentifiers,\n urlParamValues,\n runtimeDescriptor: buildResolvedInsertedChartDescriptor({\n identity: insertedIdentity,\n chartView,\n contextResourceIdentifiers: normalizedContextResourceIdentifiers,\n }),\n requiredFeatures: chartView.chartDefinition.requiredFeatures,\n };\n}\n\nfunction resolveChartRouteState(params: {\n viewRef: string | undefined;\n registry: ReturnType<typeof useResourceRegistry>['registry'];\n contextResourceIdentifiers?: Record<string, string>;\n urlParamValues?: Record<string, string>;\n}): ResolvedChartRouteState | undefined {\n const { viewRef, registry, contextResourceIdentifiers, urlParamValues } = params;\n if (!viewRef) {\n return undefined;\n }\n\n const insertedIdentity = parseFrontendInsertedViewRef(viewRef);\n if (!insertedIdentity) {\n return undefined;\n }\n\n return resolveInsertedChartRouteState({\n insertedIdentity,\n contextResourceIdentifiers,\n urlParamValues,\n registry,\n });\n}\n\nfunction useChartViewRouterSync(resolvedChartRoute: ResolvedChartRouteState | undefined): void {\n const location = useLocation();\n const routerLocationAhead = useRouterLocationAheadOfCommit(location);\n const { emit } = useEventBus();\n const { getZoneState } = useNavigationState();\n const lastSyncedPath = React.useRef<string | null>(null);\n const currentUrl = `${location.pathname}${location.search}`;\n const {\n retryTick,\n scheduleRetry: scheduleTransactionRetry,\n clearRetry: clearTransactionRetry,\n } = useTransactionAwareSyncRetry(currentUrl);\n\n React.useEffect(() => {\n if (!resolvedChartRoute) {\n return;\n }\n\n if (NavigationUtils.isInTransaction()) {\n scheduleTransactionRetry();\n return;\n }\n\n clearTransactionRetry();\n\n // The router already left the URL this route committed with (a pending location transition); rebuilding\n // from it would restore the page the browser left. See `useRouterLocationAheadOfCommit`.\n if (routerLocationAhead) {\n return;\n }\n\n if (lastSyncedPath.current === currentUrl) {\n return;\n }\n\n // Per-zone, destination-based ownership — the same question `useViewRouterSync` asks. A chart\n // is a non-derivable primary, so a pane beside it is HOSTED and the URL is composed: PRIMARY is\n // asked about the host half only, and the stamp below carries the host half only.\n if (NavigationUtils.zoneOwnsBrowserUrl(NavigationZoneName.PRIMARY, currentUrl, getZoneState)) {\n lastSyncedPath.current = currentUrl;\n return;\n }\n\n emit(FrontendEvents.NAVIGATION_REPLACE, {\n zone: NavigationZoneName.PRIMARY,\n content: {\n contentType: NavigationContentType.CHART_VIEW,\n viewRef: resolvedChartRoute.routeViewRef,\n viewDefinition: resolvedChartRoute.viewDefinition,\n contextResourceIdentifiers: resolvedChartRoute.contextResourceIdentifiers,\n urlParamValues: resolvedChartRoute.urlParamValues,\n runtimeDescriptor: resolvedChartRoute.runtimeDescriptor,\n requiredFeatures: resolvedChartRoute.requiredFeatures,\n },\n urlPath: NavigationUtils.decomposeHostedPaneBrowserUrl(currentUrl).hostUrl,\n stackEntryId: NavigationUtils.generateStackEntryId(),\n initiator: { sourceZone: NavigationZoneName.PRIMARY },\n navigationSource: NavigationSource.URL_SYNC,\n transition: NavigationTransition.REPLACE,\n });\n\n lastSyncedPath.current = currentUrl;\n }, [emit, getZoneState, resolvedChartRoute, currentUrl, routerLocationAhead, retryTick, scheduleTransactionRetry, clearTransactionRetry]);\n}\n\n/**\n * Wrapper component that extracts URL parameters and creates resource context\n * This component bridges React Router params with our resource context system\n */\ninterface ResourcePageWrapperProps {\n resourceType: string;\n operation: FrontendResourceConfiguration_Operation;\n PageComponent: React.ComponentType<{\n resourceContext: FrontendResourceOperationContext;\n navigationZone: NavigationZoneName;\n navigationInitiator?: any;\n }>;\n /** Route path parameters with relationship field info for deterministic URL selection */\n routePathParameters: ResourceConfiguration_Operation_UrlParameterInfo[];\n}\n\n/**\n * Validate URL parameters - checks for unresolved or invalid parameters\n * Returns validation result with error details if invalid\n */\ninterface UrlParameterValidation {\n isValid: boolean;\n errorType?: 'unresolved' | 'missing' | 'invalid';\n invalidParams?: string[];\n message?: string;\n}\n\n/**\n * Core-operation keywords (\"create\", \"list\", \"search\", …) are never valid resource\n * ids. A direct hit like `/todos/create` has no page route — core CREATE is an\n * overlay (non-addressable) and adds no URL segment — so the sibling parameterized\n * route `/todos/:todoId` greedily captures `todoId=\"create\"`. That renders the read\n * surface (a composite) for a phantom resource, which render-loops and freezes the\n * tab (todos CREATE freeze, 2026-06-27). Treating an operation-keyword param value as\n * an invalid URL parameter routes it to the standard not-found surface instead (`RouterErrorBoundary`).\n */\nconst RESERVED_OPERATION_ID_SEGMENTS: ReadonlySet<string> = new Set(\n Object.values(CoreResourceOperation).map((op) => String(op).toLowerCase()),\n);\n\nfunction validateUrlParameters(\n urlParameters: Record<string, string>,\n resourceType: string\n): UrlParameterValidation {\n const invalidParams: string[] = [];\n const missingParams: string[] = [];\n const reservedKeywordParams: string[] = [];\n\n for (const [key, value] of Object.entries(urlParameters)) {\n // Check for unresolved route parameters (still have : prefix in URL)\n if (value && value.startsWith(':')) {\n invalidParams.push(`${key}=${value}`);\n }\n // Check for empty or undefined values\n else if (!value || value.trim() === '') {\n missingParams.push(key);\n }\n // Check for obviously invalid placeholder values\n else if (value === 'undefined' || value === 'null' || value === '[object Object]') {\n invalidParams.push(`${key}=${value}`);\n }\n // A param value that is a core-operation keyword is a mis-navigation, not a\n // resource id (e.g. `/todos/create` → todoId=\"create\"). Render not-found.\n else if (RESERVED_OPERATION_ID_SEGMENTS.has(value.toLowerCase())) {\n reservedKeywordParams.push(`${key}=${value}`);\n }\n }\n\n if (invalidParams.length > 0) {\n return {\n isValid: false,\n errorType: 'unresolved',\n invalidParams,\n message: `Unresolved route parameters for ${resourceType}: ${invalidParams.join(', ')}. The URL contains placeholder values instead of actual IDs.`\n };\n }\n\n if (reservedKeywordParams.length > 0) {\n return {\n isValid: false,\n errorType: 'invalid',\n invalidParams: reservedKeywordParams,\n message: `Route parameter for ${resourceType} is an operation keyword, not a resource id: ${reservedKeywordParams.join(', ')}. This URL does not address a resource.`\n };\n }\n\n if (missingParams.length > 0) {\n return {\n isValid: false,\n errorType: 'missing',\n invalidParams: missingParams,\n message: `Missing required parameters for ${resourceType}: ${missingParams.join(', ')}`\n };\n }\n\n return { isValid: true };\n}\n\n/**\n * Where an invalid URL parameter's diagnostic goes (#3066 review M4): the console, and nowhere a reader sees it. The\n * reader gets the application's own not-found page (`RouterErrorBoundary`, the surface the `*` route renders).\n */\nconst logger = LoggerFrontendService.getLogger();\n\n/**\n * ResourcePageWrapper bridges React Router with the navigation system.\n * It extracts URL parameters, creates resource context, and syncs with NavigationContext.\n *\n * Validates URL parameters: a URL whose parameters are invalid or unresolved renders the application's not-found page,\n * and the reason goes to the console log.\n */\nconst ResourcePageWrapper: React.FC<ResourcePageWrapperProps> = ({\n resourceType,\n operation,\n PageComponent,\n routePathParameters\n}) => {\n const { registry } = useResourceRegistry();\n const appScope = useAppScopeSafe();\n const { navigationLayout, currentBreakpoint } = useUI();\n // The measured content area, for the same collapse question the resolver and the renderer ask.\n const { contentAreaWidth } = useNavigationState();\n\n // Extract URL parameters from React Router\n const urlParameters = useParams<Record<string, string>>() as Record<string, string>;\n\n // Validate URL parameters before allowing router-sync to reconstruct\n // navigation state from them. Invalid/placeholder params should render the\n // error surface without repopulating resource navigation entries underneath.\n const validation = React.useMemo(\n () => validateUrlParameters(urlParameters, resourceType),\n [urlParameters, resourceType]\n );\n\n // Sync URL changes with navigation state\n // Pass routePathParameters so useRouterSync can build parentResourcesRequirements\n useRouterSync(\n validation.isValid ? resourceType : undefined,\n validation.isValid ? operation : undefined,\n routePathParameters\n );\n\n // The diagnostic goes to the console only: a reader is shown the not-found page, not a developer's sentence.\n React.useEffect(() => {\n if (!validation.isValid && validation.message) {\n logger.warn(`[AppRouter] ${validation.message}`, {\n resourceType,\n operation: String(operation.operationIdentifier),\n invalidParams: validation.invalidParams,\n errorType: validation.errorType,\n url: window.location.href,\n });\n }\n }, [validation.isValid, validation.message, validation.errorType, validation.invalidParams, resourceType, operation.operationIdentifier]);\n\n // Build parentResourcesRequirements from route path parameters. Above the not-found return below, with every other\n // hook: a hook after an early return changes the hook count when the same mounted route turns valid or invalid.\n const parentResourcesRequirements = React.useMemo(() =>\n frontendResourceUtils.buildParentResourcesRequirementsFromRouteParams(\n routePathParameters,\n resourceType,\n registry\n ),\n [routePathParameters, resourceType, registry]\n );\n\n // A URL that addresses no resource is a page that does not exist: the application's own not-found surface.\n if (!validation.isValid) {\n return <RouterErrorBoundary />;\n }\n\n // Convert URL parameters to resource identifiers map using the registry\n // Pass routePathParameters for accurate FK field mapping (e.g., assignedToUserId → USERS)\n const urlContextIdentifiers = frontendResourceUtils.extractResourceIdentifiersFromUrlParams(\n urlParameters,\n registry,\n routePathParameters\n );\n\n const targetPrimaryScope = registry.resourceConfigurations?.[resourceType]?.resourcePrimaryScope;\n const contextResourceIdentifiers = ScopeUtilsService.buildResourceOperationContextIdentifiers({\n currentUserId: appScope?.currentUserId,\n currentOrganizationId: appScope?.currentOrganizationId,\n currentApplicationId: appScope?.currentApplicationId,\n currentAnonymousUserId: appScope?.currentAnonymousUserId,\n primaryScope: targetPrimaryScope,\n liveAppScopeContextResourceIdentifiers: appScope?.buildContextResourceIdentifiers?.(),\n explicitContextResourceIdentifiers: urlContextIdentifiers,\n });\n\n // Create the frontend resource operation context with parentResourcesRequirements\n const resourceContext = frontendResourceUtils.createFrontendResourceOperationContextFromOperation({\n resourceType,\n operation,\n contextResourceIdentifiers,\n parentResourcesRequirements,\n });\n\n const resourceRelationshipDepth = NavigationUtils.calculateResourceRelationshipDepth(parentResourcesRequirements);\n /*\n * Same three inputs `useRouterSync` uses, and for the same reason: a routed page and the live\n * navigation stack must not disagree about which zone owns a flat detail. `prefersAdjacentZoneForDetail`\n * was missing here entirely, so this wrapper answered PRIMARY for every depth-0 resource even in a\n * layout that splits its detail out — the routed page's props then contradicted the stack that the\n * URL sync had just built beside it.\n */\n const prefersAdjacentZoneForDetail = resourceRelationshipDepth === 0\n && !!navigationLayout?.zones?.secondary\n && NavigationUtils.layoutSplitsOperationFromPrimary(navigationLayout, operation, currentBreakpoint);\n const depthPreferredNavigationZone = NavigationUtils.resolveResourceTargetZone(resourceRelationshipDepth, {\n hasSecondary: !!navigationLayout?.zones?.secondary,\n hasCompanion: !!navigationLayout?.zones?.companion,\n prefersAdjacentZoneForDetail,\n });\n /*\n * A nested record stays in its depth's pane only when a click from its parent's zone would open it there — the\n * same gate `useRouterSync` applies (#3764), so the page props and the restored stack name one zone.\n */\n const preferredNavigationZone = resourceRelationshipDepth >= 1\n && depthPreferredNavigationZone !== NavigationZoneName.PRIMARY\n && clickKeepsRestoredContentInPrimary({\n content: { contentType: NavigationContentType.RESOURCE_OPERATION, resourceContext },\n paneZone: depthPreferredNavigationZone,\n layout: navigationLayout,\n registry,\n viewport: currentBreakpoint,\n contentAreaWidth,\n })\n ? NavigationZoneName.PRIMARY\n : depthPreferredNavigationZone;\n /*\n * ─── The VIEWPORT decides here too, for the reason the comment below already gives ─────────────\n *\n * `resolveResourceTargetZone` takes no viewport, so every caller applies the collapse itself.\n * There are exactly two, and when the collapse was added to the URL-sync caller on 2026-09-25 this\n * one was left behind — in the pass whose whole subject was an invariant applied at some of its\n * sites. On a phone URL sync restores a depth-1 resource into PRIMARY while this wrapper still\n * handed the page `navigationZone: SECONDARY`, so every zone-keyed affordance in it answered for a\n * zone the content is not in. Precisely the disagreement the comment below warns about.\n */\n const navigationZone = adjacentZoneUsableAtViewport({\n zone: preferredNavigationZone,\n layout: navigationLayout,\n viewport: currentBreakpoint,\n contentAreaWidth,\n })\n ? preferredNavigationZone\n : NavigationZoneName.PRIMARY;\n\n // Routed resource pages must receive the same owning zone as URL-sync restore.\n // Otherwise the rendered page props can disagree with the live navigation stack\n // after refresh/deep-link reconstruction.\n const navigationInitiator = {\n sourceZone: navigationZone,\n };\n\n return (\n <PageComponent\n resourceContext={resourceContext}\n navigationZone={navigationZone}\n navigationInitiator={navigationInitiator}\n />\n );\n};\n\n/**\n * Helper hook to look up a view's requiredFeatures from UIContext by viewRef and content type.\n * Returns undefined if the view has no requiredFeatures or if the view is not found.\n */\nfunction useViewRequiredFeatures(\n viewRef: string | undefined,\n contentType: NavigationContentType\n): RequiredFeaturesConfig | undefined {\n const { compositeViews, fullCustomViews, flowsActorsViews } = useUI();\n const { registry } = useResourceRegistry();\n\n return React.useMemo(() => {\n if (!viewRef) return undefined;\n\n switch (contentType) {\n case NavigationContentType.COMPOSITE_VIEW: {\n return resolveCompositeViewDefinition({\n viewRef,\n compositeViews,\n registry,\n })?.requiredFeatures;\n }\n case NavigationContentType.CHART_VIEW: {\n const insertedChart = resolveInsertedChartView({ viewRef, registry });\n return insertedChart?.chartView.chartDefinition.requiredFeatures;\n }\n case NavigationContentType.FULL_CUSTOM_VIEW: {\n const view = fullCustomViews?.find(v => v.ref === viewRef);\n return view?.requiredFeatures;\n }\n case NavigationContentType.FLOWS_ACTORS_VIEW: {\n const view = flowsActorsViews?.find(v => v.ref === viewRef);\n return view?.requiredFeatures;\n }\n case NavigationContentType.EXECUTION_VIEW: {\n const view = resolveExecutionViewDefinition({\n viewRef,\n registry,\n });\n return view?.requiredFeatures;\n }\n default:\n return undefined;\n }\n }, [viewRef, contentType, compositeViews, fullCustomViews, flowsActorsViews, registry]);\n}\n\n/**\n * Wrapper that extracts viewRef from URL params, syncs navigation state, and renders a View.\n * View components handle resolution from UIContext and not-found rendering internally.\n *\n * useViewRouterSync ensures that on refresh / deep link, the navigation state is populated\n * with the correct view content (similar to useRouterSync for resource operations).\n *\n * Includes FeatureRouteGuard: looks up the view's `requiredFeatures` from UIContext\n * and gates access based on the feature availability policy.\n */\nconst ViewRouteWrapper: React.FC<{\n ViewComponent: React.ComponentType<any>;\n contentType: NavigationContentType;\n viewProps?: Record<string, unknown>;\n}> = ({ ViewComponent, contentType, viewProps }) => {\n const { viewRef } = useParams<{ viewRef: string }>();\n useViewRouterSync(viewRef, contentType);\n\n // Look up view's requiredFeatures from UIContext\n const viewRequiredFeatures = useViewRequiredFeatures(viewRef, contentType);\n return (\n <FeatureRouteGuard requiredFeatures={viewRequiredFeatures}>\n <ViewComponent viewRef={viewRef!} {...viewProps} />\n </FeatureRouteGuard>\n );\n};\n\nconst CompositeRouteWrapper: React.FC<{\n viewProps?: Record<string, unknown>;\n}> = ({ viewProps }) => {\n const { viewRef } = useParams<{ viewRef: string }>();\n const location = useLocation();\n const { compositeViews } = useUI();\n const { registry } = useResourceRegistry();\n const contextResourceIdentifiers = React.useMemo(\n () => extractCompositeRouteContextResourceIdentifiers(new URLSearchParams(location.search)),\n [location.search],\n );\n const compositeView = React.useMemo(() => resolveCompositeViewDefinition({\n viewRef,\n compositeViews,\n registry,\n }), [viewRef, compositeViews, registry]);\n const isRoutableCompositeView = !!viewRef && isStandaloneRoutableResolvedCompositeView(compositeView);\n\n useViewRouterSync(\n isRoutableCompositeView ? viewRef : undefined,\n NavigationContentType.COMPOSITE_VIEW,\n );\n\n const viewRequiredFeatures = useViewRequiredFeatures(\n isRoutableCompositeView ? viewRef : undefined,\n NavigationContentType.COMPOSITE_VIEW,\n );\n if (!isRoutableCompositeView) {\n return <ViewNotFound viewKind=\"composite\" viewRef={viewRef} />;\n }\n return (\n <FeatureRouteGuard requiredFeatures={viewRequiredFeatures}>\n <CompositeView\n viewRef={viewRef}\n contextResourceIdentifiers={contextResourceIdentifiers}\n {...viewProps}\n />\n </FeatureRouteGuard>\n );\n};\n\nconst ExecutionRouteWrapper: React.FC<{\n viewProps?: Record<string, unknown>;\n}> = ({ viewProps }) => {\n const { viewRef } = useParams<{ viewRef: string }>();\n const location = useLocation();\n const { registry } = useResourceRegistry();\n const executionView = React.useMemo(() => resolveExecutionViewDefinition({\n viewRef,\n registry,\n }), [viewRef, registry]);\n const contextResourceIdentifiers = React.useMemo(\n () => extractExecutionRouteContextResourceIdentifiers(new URLSearchParams(location.search)),\n [location.search],\n );\n const isRoutableExecutionView =\n !!viewRef\n && !!executionView\n && isStandaloneRoutableExecutionView(executionView);\n\n useViewRouterSync(\n isRoutableExecutionView ? viewRef : undefined,\n NavigationContentType.EXECUTION_VIEW,\n );\n\n const viewRequiredFeatures = useViewRequiredFeatures(\n isRoutableExecutionView ? viewRef : undefined,\n NavigationContentType.EXECUTION_VIEW,\n );\n\n if (!isRoutableExecutionView) {\n return <ViewNotFound viewKind=\"execution\" viewRef={viewRef} />;\n }\n return (\n <FeatureRouteGuard requiredFeatures={viewRequiredFeatures}>\n <ExecutionView\n viewRef={viewRef}\n contextResourceIdentifiers={contextResourceIdentifiers}\n {...viewProps}\n />\n </FeatureRouteGuard>\n );\n};\n\nconst ChartRouteWrapper: React.FC<{\n viewProps?: Record<string, unknown>;\n}> = ({ viewProps }) => {\n const { viewRef } = useParams<{ viewRef: string }>();\n const location = useLocation();\n const { registry } = useResourceRegistry();\n const contextResourceIdentifiers = React.useMemo(\n () => extractChartRouteContextResourceIdentifiers(new URLSearchParams(location.search)),\n [location.search],\n );\n const urlParamValues = React.useMemo(\n () => extractChartRouteUrlParamValues(new URLSearchParams(location.search)),\n [location.search],\n );\n const resolvedChartRoute = React.useMemo(() => resolveChartRouteState({\n viewRef,\n registry,\n contextResourceIdentifiers,\n urlParamValues,\n }), [viewRef, registry, contextResourceIdentifiers, urlParamValues]);\n\n useChartViewRouterSync(resolvedChartRoute);\n\n if (!resolvedChartRoute) {\n return <ViewNotFound viewKind=\"chart\" viewRef={viewRef} />;\n }\n\n return (\n <FeatureRouteGuard requiredFeatures={resolvedChartRoute.requiredFeatures}>\n <ChartView\n viewRef={resolvedChartRoute.routeViewRef}\n viewDefinition={resolvedChartRoute.viewDefinition}\n contextResourceIdentifiers={resolvedChartRoute.contextResourceIdentifiers}\n urlParamValues={resolvedChartRoute.urlParamValues}\n runtimeDescriptor={resolvedChartRoute.runtimeDescriptor}\n {...viewProps}\n />\n </FeatureRouteGuard>\n );\n};\n\nconst EnginePageRouteWrapper: React.FC<{\n pageRef: EnginePageRef;\n PageComponent: React.FC;\n}> = ({ pageRef, PageComponent }) => {\n useEnginePageRouterSync(pageRef);\n return <PageComponent />;\n};\n\n/**\n * Route element for the unified Settings Hub paths (`/settings`,\n * `/settings/:sectionRef`). The hub itself is an overlay reconciled from the URL\n * by `useSettingsHubOverlaySync` (mounted once in `NavigationContentAreas`), so\n * this element only renders the PRIMARY underlay shown on a cold deep-link\n * (`AppLayout_Home`). In-session, the persisted PRIMARY surface stays beneath the\n * hub, so this fallback is ignored.\n */\nconst SettingsRouteWrapper: React.FC = () => <AppLayout_Home />;\n\n/**\n * The route element of a public governed-document page: the release a link named, read from the query string, handed\n * to the page (#3187). The page stays free of the router; this is the one place the URL is read.\n */\nfunction PublicGovernedDocumentRoute({ documentRef }: { readonly documentRef: string }): React.JSX.Element {\n const [searchParams] = useSearchParams();\n const namedRelease = readPublicGovernedDocumentReleaseQuery(searchParams);\n return <PublicLayout_Terms documentRef={documentRef} {...(namedRelease ? { namedRelease } : {})} />;\n}\n\nexport const AppRouter: React.FC = () => {\n const { registry } = useResourceRegistry();\n const isDevelopment = envLoader.isDevelopment();\n\n // Build resource-based routes for authenticated area\n const resourceRouteElements: React.ReactElement[] = [];\n\n Object.values<AnyFrontendResourceConfiguration>(registry.resourceConfigurations).forEach(rc => {\n const operations = Array.isArray(rc.operations) ? rc.operations : [];\n operations.forEach(operation => {\n // Only add routes for operations that are addressable in the current frontend app\n if (!isOperationAddressable(operation.operationFrontendConfig)) return;\n const routePaths = ResourcesConfigOperationsUrlsBuilderUtils.buildOperationFrontendRoutePaths(rc, operation, registry.allResourceFieldIdentifiers);\n const layoutKind = resolveResourceOperationLayoutKind(operation);\n\n // Determine which ResourcePage component to use\n let PageComponent: React.ComponentType<{\n resourceContext: FrontendResourceOperationContext;\n }>;\n\n switch (layoutKind) {\n case 'create': PageComponent = ResourceLayout_Create; break;\n case 'list': PageComponent = ResourceLayout_List; break;\n case 'read': PageComponent = ResourceLayout_Read; break;\n case 'update': PageComponent = ResourceLayout_Update; break;\n case 'search': PageComponent = ResourceLayout_Search; break;\n default: PageComponent = ResourceLayout_Action; break;\n }\n\n // Create routes for all possible parent combinations\n routePaths.forEach((routePath, pathIndex) => {\n const element = (\n <FeatureRouteGuard operation={operation}>\n <ResourcePageWrapper\n resourceType={rc.resourceIdentifier}\n operation={operation}\n PageComponent={PageComponent}\n routePathParameters={routePath.parameters}\n />\n </FeatureRouteGuard>\n );\n\n const routeKey = `${rc.resourceIdentifier}-${String(operation.operationIdentifier)}-${pathIndex}`;\n resourceRouteElements.push(\n <Route key={routeKey} path={routePath.url} element={element} errorElement={<RouterErrorBoundary />} />\n );\n });\n });\n });\n\n return (\n <>\n <NavigationRequestBridge />\n <Routes>\n {/* ========================================\n PUBLIC ROUTES - No authentication required\n ======================================== */}\n\n {/* OAuth2 callback — shared across all app types */}\n <Route\n path={CommonRoutePaths.authCallback}\n element={<AuthPage_AuthCallback />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Federated re-authentication landing, inside the step-up dialog's popup (#1441) */}\n <Route\n path={CommonRoutePaths.reAuthenticationCallback}\n element={<AuthPage_ReAuthenticationCallback />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Magic link verification — shared across all app types */}\n <Route\n path={CommonRoutePaths.magicLinkVerify}\n element={<AuthPage_MagicLinkVerify />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* MFA challenge — shared across all app types, serves all first-factor methods */}\n <Route\n path={CommonRoutePaths.mfaChallenge}\n element={<AuthPage_MfaChallenge />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* MFA enrollment required — shown when MFA is mandated but user has no enrolled methods */}\n <Route\n path={CommonRoutePaths.enrollmentRequired}\n element={<AuthPage_EnrollmentRequired />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Organization onboarding — an account parked at ONBOARDING_PENDING names the organization it owes (#1090) */}\n <Route\n path={CommonRoutePaths.organizationOnboarding}\n element={<AuthPage_OrganizationOnboarding />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* One-off session exchange — shared across all app types */}\n <Route\n path={CommonRoutePaths.oneOffSession}\n element={<AuthPage_OneOffSession />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* File-upload-grant drop page — public, the grant token in the URL is the only credential */}\n <Route\n path={CommonRoutePaths.fileUploadGrant}\n element={<FilesPage_UploadGrant />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Cross-frontend handoff exchange landing — cross-app-jwt-propagation Step 5 */}\n <Route\n path={CommonRoutePaths.authExchange}\n element={<AuthPage_AuthExchange />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/*\n * Public governed-document pages. Issue #168.\n *\n * Both paths have been declared in `CommonRoutePaths` since the compliance vocabulary\n * landed, and NEITHER was mounted — `/privacy` and `/terms` answered the not-found route in\n * every application, while the component they name had no implementation at all.\n *\n * One component serves both: it takes the document ref as a prop and reads the application's\n * own `compliance.publicDocuments`, so an application adding a third public document adds a\n * route rather than a component. A document never released shows its latest draft, marked\n * as a draft. Otherwise it fails CLOSED — nothing in force renders an unavailable notice,\n * never a partial document.\n *\n * Whether an unapproved release may be shown is NOT decided here. It is the application's\n * approval gate, `compliance.governedDocumentApprovalGate`, which the page reads alongside\n * every acceptance surface so the page cannot be armed alone (#1565). It used to be a prop\n * this route declined to pass. Arming it is part of Gate 3's membership test (\"an application\n * may face a real user\") — see `.claude/rules/one-source-of-truth.md` D5.\n */}\n {/*\n * Mounted FROM the pairing rather than beside it. `PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS` is\n * total over `PUBLIC_GOVERNED_DOCUMENT_REFS`, and the registration form reads the same map to\n * link a required document to the page that renders it — so the two readers cannot disagree,\n * and a third public document gets its route by joining the vocabulary.\n */}\n {Object.entries(PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS).map(([documentRef, path]) => (\n <Route\n key={documentRef}\n path={path}\n element={<PublicGovernedDocumentRoute documentRef={documentRef} />}\n errorElement={<RouterErrorBoundary />}\n />\n ))}\n {/*\n * The legal notice (imprint), #2588. Mounted for every application, from the same atom the marketing website links\n * it from: the page itself says when the operator owes none, so a link followed in error lands on a statement\n * rather than a 404.\n */}\n <Route path={LEGAL_NOTICE_ROUTE_PATH} element={<PublicLayout_LegalNotice />} errorElement={<RouterErrorBoundary />} />\n\n {/* Public auth routes — always present; auth behavior is driven by AppConfiguration_Shared.auth */}\n <Route\n path={CommonRoutePaths.login}\n element={<AuthPage_Main />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.register}\n element={<AuthPage_Register />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.passwordLost}\n element={<AuthPage_PasswordLost />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.oauthConsent}\n element={<AuthPage_OAuthConsent />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* Chat-link page (#2660): public, self-redirects to sign in; links a chat account on explicit confirmation. */}\n <Route\n path={CommonRoutePaths.chatIdentityLink}\n element={<AuthPage_ChatIdentityLink />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.oauthLoggedOut}\n element={<AuthPage_OAuthLoggedOut />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.oauthLogoutConfirm}\n element={<AuthPage_OAuthLogoutConfirm />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.invitation}\n element={<AuthPage_Invitation />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.confirmEmail}\n element={<AuthPage_ConfirmEmail />}\n errorElement={<RouterErrorBoundary />}\n />\n\n\n\n\n\n\n {/* ========================================\n AUTHENTICATED ROUTES - Wrapped with MainContainer\n Uses Layout Route pattern for consistent shell\n ======================================== */}\n <Route element={<AppLayout_AuthenticatedRoute />} errorElement={<RouterErrorBoundary />}>\n {/* Home route */}\n <Route\n path={CommonRoutePaths.home}\n element={<EnginePageRouteWrapper pageRef={EnginePageRef.HOME} PageComponent={AppLayout_Home} />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* The engine's decision inbox (#2527): mounted for every application; its row is offered where a decision can wait. */}\n <Route\n path={CommonRoutePaths.decisions}\n element={<EnginePageRouteWrapper pageRef={EnginePageRef.DECISIONS} PageComponent={AppLayout_DecisionInbox} />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* A link to one of the person's conversations (#4013): sends them on to the view that shows its system. */}\n <Route\n path={CommonRoutePaths.conversationLink}\n element={<ConversationLinkPage />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* Unified Settings Hub — overlay reconstructed from URL. `/settings/security`\n now opens the hub at its Security section (the standalone security page is\n migrated into the hub as a panel). */}\n <Route\n path={CommonRoutePaths.settings}\n element={<SettingsRouteWrapper />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.settingsSection}\n element={<SettingsRouteWrapper />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* `/settings/:sectionRef/:subTabRef` — the same wrapper: the hub is reconstructed from the\n URL by `useSettingsHubOverlaySync`, so this route exists to MATCH the deeper path rather\n than to render anything different. Without it the path fell through to the router's\n catch-all and the overlay was never reconciled. */}\n <Route\n path={CommonRoutePaths.settingsSectionSubTab}\n element={<SettingsRouteWrapper />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* View routes — View components resolve definitions from UIContext internally */}\n <Route\n path=\"/composite/:viewRef\"\n element={<CompositeRouteWrapper />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path=\"/custom/:viewRef\"\n element={<ViewRouteWrapper ViewComponent={FullCustomView} contentType={NavigationContentType.FULL_CUSTOM_VIEW} />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path=\"/flows-actors/:viewRef\"\n element={<ViewRouteWrapper ViewComponent={FlowsActorsView} contentType={NavigationContentType.FLOWS_ACTORS_VIEW} />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path=\"/execution/:viewRef\"\n element={\n <ExecutionRouteWrapper\n viewProps={{ navigationZone: NavigationZone.PRIMARY }}\n />\n }\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path=\"/chart/:viewRef\"\n element={\n <React.Suspense fallback={<div style={{ padding: '2rem', textAlign: 'center', color: 'var(--muted-foreground, #737373)' }}>Loading chart...</div>}>\n <ChartRouteWrapper />\n </React.Suspense>\n }\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Resource routes - nested inside authenticated layout */}\n {resourceRouteElements}\n </Route>\n\n {/* Fallback - handled by RouterErrorBoundary */}\n <Route\n path=\"*\"\n element={<RouterErrorBoundary />}\n />\n </Routes>\n </>\n );\n};\n"]}
1
+ {"version":3,"file":"AppRouter.js","sourceRoot":"","sources":["../../../../src/core/runtime/AppRouter.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,yCAAyC,GAE1C,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,iEAAiE,CAAC;AAC/G,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,4DAA4D,CAAC;AACrG,OAAO,EAAE,qBAAqB,EAAE,MAAM,gEAAgE,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,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R,CACJ,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import {\n CoreResourceOperation,\n NavigationZoneName,\n NavigationTransition,\n ResourcesConfigOperationsUrlsBuilderUtils,\n ResourceConfiguration_Operation_UrlParameterInfo,\n} from '@wildo-ai/saas-models';\nimport type { AnyFrontendResourceConfiguration, FrontendResourceConfiguration_Operation } from '~wildo-frontend-lib/core/resources/resources.frontend.schemas';\nimport React from 'react';\nimport { Route, Routes, useLocation, useParams } from 'react-router';\nimport { AppLayout_AuthenticatedRoute } from '~wildo-frontend-lib/components/app/AppLayout_AuthenticatedRoute';\nimport { AppLayout_Home } from '~wildo-frontend-lib/components/app/AppLayout_Home';\nimport { AppLayout_DecisionInbox } from '~wildo-frontend-lib/components/app/AppLayout_DecisionInbox';\nimport { ResourceLayout_Action } from '~wildo-frontend-lib/components/resources/ResourceLayout_Action';\nimport { ResourceLayout_Create } from '~wildo-frontend-lib/components/resources/ResourceLayout_Create';\nimport { ResourceLayout_List } from '~wildo-frontend-lib/components/resources/ResourceLayout_List';\nimport { ResourceLayout_Read } from '~wildo-frontend-lib/components/resources/ResourceLayout_Read';\nimport { ResourceLayout_Search } from '~wildo-frontend-lib/components/resources/ResourceLayout_Search';\nimport { ResourceLayout_Update } from '~wildo-frontend-lib/components/resources/ResourceLayout_Update';\n\n\nimport { RouterErrorBoundary } from '~wildo-frontend-lib/core/errors/RouterErrorBoundary';\nimport { LoggerFrontendService } from '~wildo-frontend-lib/core/monitoring/logger.frontend.service';\nimport { NavigationContentType, NavigationSource, NavigationZone } from '~wildo-frontend-lib/core/navigation/navigation.schemas';\nimport { clickKeepsRestoredContentInPrimary } from '~wildo-frontend-lib/core/navigation/navigation-controller-internals';\nimport { NavigationRequestBridge } from '~wildo-frontend-lib/core/navigation/NavigationRequestBridge';\nimport { adjacentZoneUsableAtViewport } from '~wildo-frontend-lib/core/navigation/zone-collapse';\nimport { NavigationUtils } from '~wildo-frontend-lib/core/navigation/navigation.utils';\nimport { useTransactionAwareSyncRetry } from '~wildo-frontend-lib/core/navigation/useTransactionAwareSyncRetry';\nimport { useRouterSync, useViewRouterSync, useEnginePageRouterSync } from '~wildo-frontend-lib/core/navigation/useNavigationRouterSync';\nimport { frontendResourceUtils } from '~wildo-frontend-lib/core/resources/frontend-resource.utils';\nimport { resolveResourceOperationLayoutKind } from '~wildo-frontend-lib/core/resources/operation-semantics.frontend.utils';\nimport { useResourceRegistry } from '~wildo-frontend-lib/core/resources/useResourceRegistry';\nimport { type FrontendResourceOperationContext, isOperationAddressable } from '~wildo-frontend-lib/core/resources/resources.frontend.schemas';\nimport { envLoader } from '~wildo-frontend-lib/core/runtime/env-variable-loader.frontend.service';\nimport { CommonRoutePaths } from './routes.frontend.definitions';\nimport { identityRouteElements } from './identity-routes';\nimport { EnginePageRef } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport { FullCustomView } from '~wildo-frontend-lib/components/views/full-custom-view/FullCustomView';\nimport { FlowsActorsView } from '~wildo-frontend-lib/components/views/flows-actors-view/FlowsActorsView';\nimport { ConversationLinkPage } from '~wildo-frontend-lib/components/views/flows-actors-view/ConversationLinkPage';\nimport { ExecutionView } from '~wildo-frontend-lib/components/views/execution-view/ExecutionView';\nimport { CompositeView } from '~wildo-frontend-lib/components/views/composite-view/CompositeView';\nimport { FeatureRouteGuard } from '~wildo-frontend-lib/core/features/FeatureRouteGuard';\nimport { useUI } from '~wildo-frontend-lib/core/ui/useUI';\nimport {\n extractCompositeRouteContextResourceIdentifiers,\n isStandaloneRoutableResolvedCompositeView,\n resolveCompositeViewDefinition,\n} from '~wildo-frontend-lib/core/config/composite-view.schemas';\nimport {\n buildResolvedInsertedChartDescriptor,\n extractChartRouteContextResourceIdentifiers,\n extractChartRouteUrlParamValues,\n isStandaloneRoutableInsertedChartView,\n type InsertedChartDeclaration,\n type ResolvedInsertedChartDescriptor,\n resolveInsertedChartView,\n} from '~wildo-frontend-lib/core/config/chart-view.frontend.schemas';\nimport {\n extractExecutionRouteContextResourceIdentifiers,\n isStandaloneRoutableExecutionView,\n resolveExecutionViewDefinition,\n} from '~wildo-frontend-lib/core/config/execution-view.schemas';\nimport {\n FrontendInsertedViewHostKind,\n FrontendInsertedViewKind,\n parseFrontendInsertedViewRef,\n type FrontendInsertedViewIdentity,\n} from '~wildo-frontend-lib/core/config/inserted-view.frontend.schemas';\nimport { useRouterLocationAheadOfCommit } from '~wildo-frontend-lib/core/navigation/useSynchronousBrowserLocation';\nimport type { RequiredFeaturesConfig } from '@wildo-ai/saas-models';\nimport { ViewNotFound } from '~wildo-frontend-lib/components/views/ViewNotFound';\nimport { ChartReadDecision, useChartReadDecision } from '~wildo-frontend-lib/core/navigation/useChartReadDecision';\nimport { useEventBus } from '~wildo-frontend-lib/core/events/useEventBus';\nimport { FrontendEvents } from '~wildo-frontend-lib/core/events/events.frontend.schemas';\nimport { useNavigationState } from '~wildo-frontend-lib/core/navigation/useNavigationState';\nimport { useAppScopeSafe } from '~wildo-frontend-lib/core/scope/useAppScope';\nimport { ScopeUtilsService } from '~wildo-frontend-lib/core/scope/scope.utils.frontend.service';\n\n// ChartView is lazy-loaded — apps that don't use charts never load ECharts\nconst ChartView = React.lazy(() => import('~wildo-frontend-lib/components/views/chart-view/ChartView'));\n\ninterface ResolvedChartRouteState {\n routeViewRef: string;\n viewDefinition: InsertedChartDeclaration;\n contextResourceIdentifiers?: Record<string, string>;\n urlParamValues?: Record<string, string>;\n runtimeDescriptor?: ResolvedInsertedChartDescriptor;\n requiredFeatures?: RequiredFeaturesConfig;\n}\n\nfunction resolveInsertedChartRouteState(params: {\n insertedIdentity: FrontendInsertedViewIdentity;\n contextResourceIdentifiers?: Record<string, string>;\n urlParamValues?: Record<string, string>;\n registry: ReturnType<typeof useResourceRegistry>['registry'];\n}): ResolvedChartRouteState | undefined {\n const { insertedIdentity, contextResourceIdentifiers, urlParamValues, registry } = params;\n if (\n insertedIdentity.hostKind !== FrontendInsertedViewHostKind.RESOURCE\n || insertedIdentity.viewKind !== FrontendInsertedViewKind.CHART_VIEW\n ) {\n return undefined;\n }\n\n const chartView = resolveInsertedChartView({\n viewRef: insertedIdentity.insertedViewRef,\n registry,\n })?.chartView;\n if (!chartView || !isStandaloneRoutableInsertedChartView(chartView)) {\n return undefined;\n }\n\n const normalizedContextResourceIdentifiers = contextResourceIdentifiers ?? {};\n\n return {\n routeViewRef: insertedIdentity.insertedViewRef,\n viewDefinition: chartView,\n contextResourceIdentifiers: normalizedContextResourceIdentifiers,\n urlParamValues,\n runtimeDescriptor: buildResolvedInsertedChartDescriptor({\n identity: insertedIdentity,\n chartView,\n contextResourceIdentifiers: normalizedContextResourceIdentifiers,\n }),\n requiredFeatures: chartView.chartDefinition.requiredFeatures,\n };\n}\n\nfunction resolveChartRouteState(params: {\n viewRef: string | undefined;\n registry: ReturnType<typeof useResourceRegistry>['registry'];\n contextResourceIdentifiers?: Record<string, string>;\n urlParamValues?: Record<string, string>;\n}): ResolvedChartRouteState | undefined {\n const { viewRef, registry, contextResourceIdentifiers, urlParamValues } = params;\n if (!viewRef) {\n return undefined;\n }\n\n const insertedIdentity = parseFrontendInsertedViewRef(viewRef);\n if (!insertedIdentity) {\n return undefined;\n }\n\n return resolveInsertedChartRouteState({\n insertedIdentity,\n contextResourceIdentifiers,\n urlParamValues,\n registry,\n });\n}\n\nfunction useChartViewRouterSync(resolvedChartRoute: ResolvedChartRouteState | undefined): void {\n const location = useLocation();\n const routerLocationAhead = useRouterLocationAheadOfCommit(location);\n const { emit } = useEventBus();\n const { getZoneState } = useNavigationState();\n const lastSyncedPath = React.useRef<string | null>(null);\n const currentUrl = `${location.pathname}${location.search}`;\n const {\n retryTick,\n scheduleRetry: scheduleTransactionRetry,\n clearRetry: clearTransactionRetry,\n } = useTransactionAwareSyncRetry(currentUrl);\n\n React.useEffect(() => {\n if (!resolvedChartRoute) {\n return;\n }\n\n if (NavigationUtils.isInTransaction()) {\n scheduleTransactionRetry();\n return;\n }\n\n clearTransactionRetry();\n\n // The router already left the URL this route committed with (a pending location transition); rebuilding\n // from it would restore the page the browser left. See `useRouterLocationAheadOfCommit`.\n if (routerLocationAhead) {\n return;\n }\n\n if (lastSyncedPath.current === currentUrl) {\n return;\n }\n\n // Per-zone, destination-based ownership — the same question `useViewRouterSync` asks. A chart\n // is a non-derivable primary, so a pane beside it is HOSTED and the URL is composed: PRIMARY is\n // asked about the host half only, and the stamp below carries the host half only.\n if (NavigationUtils.zoneOwnsBrowserUrl(NavigationZoneName.PRIMARY, currentUrl, getZoneState)) {\n lastSyncedPath.current = currentUrl;\n return;\n }\n\n emit(FrontendEvents.NAVIGATION_REPLACE, {\n zone: NavigationZoneName.PRIMARY,\n content: {\n contentType: NavigationContentType.CHART_VIEW,\n viewRef: resolvedChartRoute.routeViewRef,\n viewDefinition: resolvedChartRoute.viewDefinition,\n contextResourceIdentifiers: resolvedChartRoute.contextResourceIdentifiers,\n urlParamValues: resolvedChartRoute.urlParamValues,\n runtimeDescriptor: resolvedChartRoute.runtimeDescriptor,\n requiredFeatures: resolvedChartRoute.requiredFeatures,\n },\n urlPath: NavigationUtils.decomposeHostedPaneBrowserUrl(currentUrl).hostUrl,\n stackEntryId: NavigationUtils.generateStackEntryId(),\n initiator: { sourceZone: NavigationZoneName.PRIMARY },\n navigationSource: NavigationSource.URL_SYNC,\n transition: NavigationTransition.REPLACE,\n });\n\n lastSyncedPath.current = currentUrl;\n }, [emit, getZoneState, resolvedChartRoute, currentUrl, routerLocationAhead, retryTick, scheduleTransactionRetry, clearTransactionRetry]);\n}\n\n/**\n * Wrapper component that extracts URL parameters and creates resource context\n * This component bridges React Router params with our resource context system\n */\ninterface ResourcePageWrapperProps {\n resourceType: string;\n operation: FrontendResourceConfiguration_Operation;\n PageComponent: React.ComponentType<{\n resourceContext: FrontendResourceOperationContext;\n navigationZone: NavigationZoneName;\n navigationInitiator?: any;\n }>;\n /** Route path parameters with relationship field info for deterministic URL selection */\n routePathParameters: ResourceConfiguration_Operation_UrlParameterInfo[];\n}\n\n/**\n * Validate URL parameters - checks for unresolved or invalid parameters\n * Returns validation result with error details if invalid\n */\ninterface UrlParameterValidation {\n isValid: boolean;\n errorType?: 'unresolved' | 'missing' | 'invalid';\n invalidParams?: string[];\n message?: string;\n}\n\n/**\n * Core-operation keywords (\"create\", \"list\", \"search\", …) are never valid resource\n * ids. A direct hit like `/todos/create` has no page route — core CREATE is an\n * overlay (non-addressable) and adds no URL segment — so the sibling parameterized\n * route `/todos/:todoId` greedily captures `todoId=\"create\"`. That renders the read\n * surface (a composite) for a phantom resource, which render-loops and freezes the\n * tab (todos CREATE freeze, 2026-06-27). Treating an operation-keyword param value as\n * an invalid URL parameter routes it to the standard not-found surface instead (`RouterErrorBoundary`).\n */\nconst RESERVED_OPERATION_ID_SEGMENTS: ReadonlySet<string> = new Set(\n Object.values(CoreResourceOperation).map((op) => String(op).toLowerCase()),\n);\n\nfunction validateUrlParameters(\n urlParameters: Record<string, string>,\n resourceType: string\n): UrlParameterValidation {\n const invalidParams: string[] = [];\n const missingParams: string[] = [];\n const reservedKeywordParams: string[] = [];\n\n for (const [key, value] of Object.entries(urlParameters)) {\n // Check for unresolved route parameters (still have : prefix in URL)\n if (value && value.startsWith(':')) {\n invalidParams.push(`${key}=${value}`);\n }\n // Check for empty or undefined values\n else if (!value || value.trim() === '') {\n missingParams.push(key);\n }\n // Check for obviously invalid placeholder values\n else if (value === 'undefined' || value === 'null' || value === '[object Object]') {\n invalidParams.push(`${key}=${value}`);\n }\n // A param value that is a core-operation keyword is a mis-navigation, not a\n // resource id (e.g. `/todos/create` → todoId=\"create\"). Render not-found.\n else if (RESERVED_OPERATION_ID_SEGMENTS.has(value.toLowerCase())) {\n reservedKeywordParams.push(`${key}=${value}`);\n }\n }\n\n if (invalidParams.length > 0) {\n return {\n isValid: false,\n errorType: 'unresolved',\n invalidParams,\n message: `Unresolved route parameters for ${resourceType}: ${invalidParams.join(', ')}. The URL contains placeholder values instead of actual IDs.`\n };\n }\n\n if (reservedKeywordParams.length > 0) {\n return {\n isValid: false,\n errorType: 'invalid',\n invalidParams: reservedKeywordParams,\n message: `Route parameter for ${resourceType} is an operation keyword, not a resource id: ${reservedKeywordParams.join(', ')}. This URL does not address a resource.`\n };\n }\n\n if (missingParams.length > 0) {\n return {\n isValid: false,\n errorType: 'missing',\n invalidParams: missingParams,\n message: `Missing required parameters for ${resourceType}: ${missingParams.join(', ')}`\n };\n }\n\n return { isValid: true };\n}\n\n/**\n * Where an invalid URL parameter's diagnostic goes (#3066 review M4): the console, and nowhere a reader sees it. The\n * reader gets the application's own not-found page (`RouterErrorBoundary`, the surface the `*` route renders).\n */\nconst logger = LoggerFrontendService.getLogger();\n\n/**\n * ResourcePageWrapper bridges React Router with the navigation system.\n * It extracts URL parameters, creates resource context, and syncs with NavigationContext.\n *\n * Validates URL parameters: a URL whose parameters are invalid or unresolved renders the application's not-found page,\n * and the reason goes to the console log.\n */\nconst ResourcePageWrapper: React.FC<ResourcePageWrapperProps> = ({\n resourceType,\n operation,\n PageComponent,\n routePathParameters\n}) => {\n const { registry } = useResourceRegistry();\n const appScope = useAppScopeSafe();\n const { navigationLayout, currentBreakpoint } = useUI();\n // The measured content area, for the same collapse question the resolver and the renderer ask.\n const { contentAreaWidth } = useNavigationState();\n\n // Extract URL parameters from React Router\n const urlParameters = useParams<Record<string, string>>() as Record<string, string>;\n\n // Validate URL parameters before allowing router-sync to reconstruct\n // navigation state from them. Invalid/placeholder params should render the\n // error surface without repopulating resource navigation entries underneath.\n const validation = React.useMemo(\n () => validateUrlParameters(urlParameters, resourceType),\n [urlParameters, resourceType]\n );\n\n // Sync URL changes with navigation state\n // Pass routePathParameters so useRouterSync can build parentResourcesRequirements\n useRouterSync(\n validation.isValid ? resourceType : undefined,\n validation.isValid ? operation : undefined,\n routePathParameters\n );\n\n // The diagnostic goes to the console only: a reader is shown the not-found page, not a developer's sentence.\n React.useEffect(() => {\n if (!validation.isValid && validation.message) {\n logger.warn(`[AppRouter] ${validation.message}`, {\n resourceType,\n operation: String(operation.operationIdentifier),\n invalidParams: validation.invalidParams,\n errorType: validation.errorType,\n url: window.location.href,\n });\n }\n }, [validation.isValid, validation.message, validation.errorType, validation.invalidParams, resourceType, operation.operationIdentifier]);\n\n // Build parentResourcesRequirements from route path parameters. Above the not-found return below, with every other\n // hook: a hook after an early return changes the hook count when the same mounted route turns valid or invalid.\n const parentResourcesRequirements = React.useMemo(() =>\n frontendResourceUtils.buildParentResourcesRequirementsFromRouteParams(\n routePathParameters,\n resourceType,\n registry\n ),\n [routePathParameters, resourceType, registry]\n );\n\n // A URL that addresses no resource is a page that does not exist: the application's own not-found surface.\n if (!validation.isValid) {\n return <RouterErrorBoundary />;\n }\n\n // Convert URL parameters to resource identifiers map using the registry\n // Pass routePathParameters for accurate FK field mapping (e.g., assignedToUserId → USERS)\n const urlContextIdentifiers = frontendResourceUtils.extractResourceIdentifiersFromUrlParams(\n urlParameters,\n registry,\n routePathParameters\n );\n\n const targetPrimaryScope = registry.resourceConfigurations?.[resourceType]?.resourcePrimaryScope;\n const contextResourceIdentifiers = ScopeUtilsService.buildResourceOperationContextIdentifiers({\n currentUserId: appScope?.currentUserId,\n currentOrganizationId: appScope?.currentOrganizationId,\n currentApplicationId: appScope?.currentApplicationId,\n currentAnonymousUserId: appScope?.currentAnonymousUserId,\n primaryScope: targetPrimaryScope,\n liveAppScopeContextResourceIdentifiers: appScope?.buildContextResourceIdentifiers?.(),\n explicitContextResourceIdentifiers: urlContextIdentifiers,\n });\n\n // Create the frontend resource operation context with parentResourcesRequirements\n const resourceContext = frontendResourceUtils.createFrontendResourceOperationContextFromOperation({\n resourceType,\n operation,\n contextResourceIdentifiers,\n parentResourcesRequirements,\n });\n\n const resourceRelationshipDepth = NavigationUtils.calculateResourceRelationshipDepth(parentResourcesRequirements);\n /*\n * Same three inputs `useRouterSync` uses, and for the same reason: a routed page and the live\n * navigation stack must not disagree about which zone owns a flat detail. `prefersAdjacentZoneForDetail`\n * was missing here entirely, so this wrapper answered PRIMARY for every depth-0 resource even in a\n * layout that splits its detail out — the routed page's props then contradicted the stack that the\n * URL sync had just built beside it.\n */\n const prefersAdjacentZoneForDetail = resourceRelationshipDepth === 0\n && !!navigationLayout?.zones?.secondary\n && NavigationUtils.layoutSplitsOperationFromPrimary(navigationLayout, operation, currentBreakpoint);\n const depthPreferredNavigationZone = NavigationUtils.resolveResourceTargetZone(resourceRelationshipDepth, {\n hasSecondary: !!navigationLayout?.zones?.secondary,\n hasCompanion: !!navigationLayout?.zones?.companion,\n prefersAdjacentZoneForDetail,\n });\n /*\n * A nested record stays in its depth's pane only when a click from its parent's zone would open it there — the\n * same gate `useRouterSync` applies (#3764), so the page props and the restored stack name one zone.\n */\n const preferredNavigationZone = resourceRelationshipDepth >= 1\n && depthPreferredNavigationZone !== NavigationZoneName.PRIMARY\n && clickKeepsRestoredContentInPrimary({\n content: { contentType: NavigationContentType.RESOURCE_OPERATION, resourceContext },\n paneZone: depthPreferredNavigationZone,\n layout: navigationLayout,\n registry,\n viewport: currentBreakpoint,\n contentAreaWidth,\n })\n ? NavigationZoneName.PRIMARY\n : depthPreferredNavigationZone;\n /*\n * ─── The VIEWPORT decides here too, for the reason the comment below already gives ─────────────\n *\n * `resolveResourceTargetZone` takes no viewport, so every caller applies the collapse itself.\n * There are exactly two, and when the collapse was added to the URL-sync caller on 2026-09-25 this\n * one was left behind — in the pass whose whole subject was an invariant applied at some of its\n * sites. On a phone URL sync restores a depth-1 resource into PRIMARY while this wrapper still\n * handed the page `navigationZone: SECONDARY`, so every zone-keyed affordance in it answered for a\n * zone the content is not in. Precisely the disagreement the comment below warns about.\n */\n const navigationZone = adjacentZoneUsableAtViewport({\n zone: preferredNavigationZone,\n layout: navigationLayout,\n viewport: currentBreakpoint,\n contentAreaWidth,\n })\n ? preferredNavigationZone\n : NavigationZoneName.PRIMARY;\n\n // Routed resource pages must receive the same owning zone as URL-sync restore.\n // Otherwise the rendered page props can disagree with the live navigation stack\n // after refresh/deep-link reconstruction.\n const navigationInitiator = {\n sourceZone: navigationZone,\n };\n\n return (\n <PageComponent\n resourceContext={resourceContext}\n navigationZone={navigationZone}\n navigationInitiator={navigationInitiator}\n />\n );\n};\n\n/**\n * Helper hook to look up a view's requiredFeatures from UIContext by viewRef and content type.\n * Returns undefined if the view has no requiredFeatures or if the view is not found.\n */\nfunction useViewRequiredFeatures(\n viewRef: string | undefined,\n contentType: NavigationContentType\n): RequiredFeaturesConfig | undefined {\n const { compositeViews, fullCustomViews, flowsActorsViews } = useUI();\n const { registry } = useResourceRegistry();\n\n return React.useMemo(() => {\n if (!viewRef) return undefined;\n\n switch (contentType) {\n case NavigationContentType.COMPOSITE_VIEW: {\n return resolveCompositeViewDefinition({\n viewRef,\n compositeViews,\n registry,\n })?.requiredFeatures;\n }\n case NavigationContentType.CHART_VIEW: {\n const insertedChart = resolveInsertedChartView({ viewRef, registry });\n return insertedChart?.chartView.chartDefinition.requiredFeatures;\n }\n case NavigationContentType.FULL_CUSTOM_VIEW: {\n const view = fullCustomViews?.find(v => v.ref === viewRef);\n return view?.requiredFeatures;\n }\n case NavigationContentType.FLOWS_ACTORS_VIEW: {\n const view = flowsActorsViews?.find(v => v.ref === viewRef);\n return view?.requiredFeatures;\n }\n case NavigationContentType.EXECUTION_VIEW: {\n const view = resolveExecutionViewDefinition({\n viewRef,\n registry,\n });\n return view?.requiredFeatures;\n }\n default:\n return undefined;\n }\n }, [viewRef, contentType, compositeViews, fullCustomViews, flowsActorsViews, registry]);\n}\n\n/**\n * Wrapper that extracts viewRef from URL params, syncs navigation state, and renders a View.\n * View components handle resolution from UIContext and not-found rendering internally.\n *\n * useViewRouterSync ensures that on refresh / deep link, the navigation state is populated\n * with the correct view content (similar to useRouterSync for resource operations).\n *\n * Includes FeatureRouteGuard: looks up the view's `requiredFeatures` from UIContext\n * and gates access based on the feature availability policy.\n */\nconst ViewRouteWrapper: React.FC<{\n ViewComponent: React.ComponentType<any>;\n contentType: NavigationContentType;\n viewProps?: Record<string, unknown>;\n}> = ({ ViewComponent, contentType, viewProps }) => {\n const { viewRef } = useParams<{ viewRef: string }>();\n useViewRouterSync(viewRef, contentType);\n\n // Look up view's requiredFeatures from UIContext\n const viewRequiredFeatures = useViewRequiredFeatures(viewRef, contentType);\n return (\n <FeatureRouteGuard requiredFeatures={viewRequiredFeatures}>\n <ViewComponent viewRef={viewRef!} {...viewProps} />\n </FeatureRouteGuard>\n );\n};\n\nconst CompositeRouteWrapper: React.FC<{\n viewProps?: Record<string, unknown>;\n}> = ({ viewProps }) => {\n const { viewRef } = useParams<{ viewRef: string }>();\n const location = useLocation();\n const { compositeViews } = useUI();\n const { registry } = useResourceRegistry();\n const contextResourceIdentifiers = React.useMemo(\n () => extractCompositeRouteContextResourceIdentifiers(new URLSearchParams(location.search)),\n [location.search],\n );\n const compositeView = React.useMemo(() => resolveCompositeViewDefinition({\n viewRef,\n compositeViews,\n registry,\n }), [viewRef, compositeViews, registry]);\n const isRoutableCompositeView = !!viewRef && isStandaloneRoutableResolvedCompositeView(compositeView);\n\n useViewRouterSync(\n isRoutableCompositeView ? viewRef : undefined,\n NavigationContentType.COMPOSITE_VIEW,\n );\n\n const viewRequiredFeatures = useViewRequiredFeatures(\n isRoutableCompositeView ? viewRef : undefined,\n NavigationContentType.COMPOSITE_VIEW,\n );\n if (!isRoutableCompositeView) {\n return <ViewNotFound viewKind=\"composite\" viewRef={viewRef} />;\n }\n return (\n <FeatureRouteGuard requiredFeatures={viewRequiredFeatures}>\n <CompositeView\n viewRef={viewRef}\n contextResourceIdentifiers={contextResourceIdentifiers}\n {...viewProps}\n />\n </FeatureRouteGuard>\n );\n};\n\nconst ExecutionRouteWrapper: React.FC<{\n viewProps?: Record<string, unknown>;\n}> = ({ viewProps }) => {\n const { viewRef } = useParams<{ viewRef: string }>();\n const location = useLocation();\n const { registry } = useResourceRegistry();\n const executionView = React.useMemo(() => resolveExecutionViewDefinition({\n viewRef,\n registry,\n }), [viewRef, registry]);\n const contextResourceIdentifiers = React.useMemo(\n () => extractExecutionRouteContextResourceIdentifiers(new URLSearchParams(location.search)),\n [location.search],\n );\n const isRoutableExecutionView =\n !!viewRef\n && !!executionView\n && isStandaloneRoutableExecutionView(executionView);\n\n useViewRouterSync(\n isRoutableExecutionView ? viewRef : undefined,\n NavigationContentType.EXECUTION_VIEW,\n );\n\n const viewRequiredFeatures = useViewRequiredFeatures(\n isRoutableExecutionView ? viewRef : undefined,\n NavigationContentType.EXECUTION_VIEW,\n );\n\n if (!isRoutableExecutionView) {\n return <ViewNotFound viewKind=\"execution\" viewRef={viewRef} />;\n }\n return (\n <FeatureRouteGuard requiredFeatures={viewRequiredFeatures}>\n <ExecutionView\n viewRef={viewRef}\n contextResourceIdentifiers={contextResourceIdentifiers}\n {...viewProps}\n />\n </FeatureRouteGuard>\n );\n};\n\nconst ChartRouteWrapper: React.FC<{\n viewProps?: Record<string, unknown>;\n}> = ({ viewProps }) => {\n const { viewRef } = useParams<{ viewRef: string }>();\n const location = useLocation();\n const { registry } = useResourceRegistry();\n const contextResourceIdentifiers = React.useMemo(\n () => extractChartRouteContextResourceIdentifiers(new URLSearchParams(location.search)),\n [location.search],\n );\n const urlParamValues = React.useMemo(\n () => extractChartRouteUrlParamValues(new URLSearchParams(location.search)),\n [location.search],\n );\n const resolvedChartRoute = React.useMemo(() => resolveChartRouteState({\n viewRef,\n registry,\n contextResourceIdentifiers,\n urlParamValues,\n }), [viewRef, registry, contextResourceIdentifiers, urlParamValues]);\n\n useChartViewRouterSync(resolvedChartRoute);\n // #4252: a chart the backend's chart gate would refuse this viewer is \"not found\" here, never its error card; the\n // same answer for a chart that does not exist, so the page does not tell a refused viewer the chart is there.\n const readDecision = useChartReadDecision(resolvedChartRoute?.viewDefinition.chartDefinition);\n\n if (!resolvedChartRoute || readDecision === ChartReadDecision.REFUSED) {\n return <ViewNotFound viewKind=\"chart\" viewRef={viewRef} />;\n }\n if (readDecision === ChartReadDecision.PENDING) return null;\n\n return (\n <FeatureRouteGuard requiredFeatures={resolvedChartRoute.requiredFeatures}>\n <ChartView\n viewRef={resolvedChartRoute.routeViewRef}\n viewDefinition={resolvedChartRoute.viewDefinition}\n contextResourceIdentifiers={resolvedChartRoute.contextResourceIdentifiers}\n urlParamValues={resolvedChartRoute.urlParamValues}\n runtimeDescriptor={resolvedChartRoute.runtimeDescriptor}\n {...viewProps}\n />\n </FeatureRouteGuard>\n );\n};\n\nconst EnginePageRouteWrapper: React.FC<{\n pageRef: EnginePageRef;\n PageComponent: React.FC;\n}> = ({ pageRef, PageComponent }) => {\n useEnginePageRouterSync(pageRef);\n return <PageComponent />;\n};\n\n/**\n * Route element for the unified Settings Hub paths (`/settings`,\n * `/settings/:sectionRef`). The hub itself is an overlay reconciled from the URL\n * by `useSettingsHubOverlaySync` (mounted once in `NavigationContentAreas`), so\n * this element only renders the PRIMARY underlay shown on a cold deep-link\n * (`AppLayout_Home`). In-session, the persisted PRIMARY surface stays beneath the\n * hub, so this fallback is ignored.\n */\nconst SettingsRouteWrapper: React.FC = () => <AppLayout_Home />;\n\nexport const AppRouter: React.FC = () => {\n const { registry } = useResourceRegistry();\n const isDevelopment = envLoader.isDevelopment();\n\n // Build resource-based routes for authenticated area\n const resourceRouteElements: React.ReactElement[] = [];\n\n Object.values<AnyFrontendResourceConfiguration>(registry.resourceConfigurations).forEach(rc => {\n const operations = Array.isArray(rc.operations) ? rc.operations : [];\n operations.forEach(operation => {\n // Only add routes for operations that are addressable in the current frontend app\n if (!isOperationAddressable(operation.operationFrontendConfig)) return;\n const routePaths = ResourcesConfigOperationsUrlsBuilderUtils.buildOperationFrontendRoutePaths(rc, operation, registry.allResourceFieldIdentifiers);\n const layoutKind = resolveResourceOperationLayoutKind(operation);\n\n // Determine which ResourcePage component to use\n let PageComponent: React.ComponentType<{\n resourceContext: FrontendResourceOperationContext;\n }>;\n\n switch (layoutKind) {\n case 'create': PageComponent = ResourceLayout_Create; break;\n case 'list': PageComponent = ResourceLayout_List; break;\n case 'read': PageComponent = ResourceLayout_Read; break;\n case 'update': PageComponent = ResourceLayout_Update; break;\n case 'search': PageComponent = ResourceLayout_Search; break;\n default: PageComponent = ResourceLayout_Action; break;\n }\n\n // Create routes for all possible parent combinations\n routePaths.forEach((routePath, pathIndex) => {\n const element = (\n <FeatureRouteGuard operation={operation}>\n <ResourcePageWrapper\n resourceType={rc.resourceIdentifier}\n operation={operation}\n PageComponent={PageComponent}\n routePathParameters={routePath.parameters}\n />\n </FeatureRouteGuard>\n );\n\n const routeKey = `${rc.resourceIdentifier}-${String(operation.operationIdentifier)}-${pathIndex}`;\n resourceRouteElements.push(\n <Route key={routeKey} path={routePath.url} element={element} errorElement={<RouterErrorBoundary />} />\n );\n });\n });\n });\n\n return (\n <>\n <NavigationRequestBridge />\n <Routes>\n {/* Public identity routes — no authentication required; the identity portal mounts the same set. */}\n {identityRouteElements()}\n\n {/* ========================================\n AUTHENTICATED ROUTES - Wrapped with MainContainer\n Uses Layout Route pattern for consistent shell\n ======================================== */}\n <Route element={<AppLayout_AuthenticatedRoute />} errorElement={<RouterErrorBoundary />}>\n {/* Home route */}\n <Route\n path={CommonRoutePaths.home}\n element={<EnginePageRouteWrapper pageRef={EnginePageRef.HOME} PageComponent={AppLayout_Home} />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* The engine's decision inbox (#2527): mounted for every application; its row is offered where a decision can wait. */}\n <Route\n path={CommonRoutePaths.decisions}\n element={<EnginePageRouteWrapper pageRef={EnginePageRef.DECISIONS} PageComponent={AppLayout_DecisionInbox} />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* A link to one of the person's conversations (#4013): sends them on to the view that shows its system. */}\n <Route\n path={CommonRoutePaths.conversationLink}\n element={<ConversationLinkPage />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* Unified Settings Hub — overlay reconstructed from URL. `/settings/security`\n now opens the hub at its Security section (the standalone security page is\n migrated into the hub as a panel). */}\n <Route\n path={CommonRoutePaths.settings}\n element={<SettingsRouteWrapper />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path={CommonRoutePaths.settingsSection}\n element={<SettingsRouteWrapper />}\n errorElement={<RouterErrorBoundary />}\n />\n {/* `/settings/:sectionRef/:subTabRef` — the same wrapper: the hub is reconstructed from the\n URL by `useSettingsHubOverlaySync`, so this route exists to MATCH the deeper path rather\n than to render anything different. Without it the path fell through to the router's\n catch-all and the overlay was never reconciled. */}\n <Route\n path={CommonRoutePaths.settingsSectionSubTab}\n element={<SettingsRouteWrapper />}\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* View routes — View components resolve definitions from UIContext internally */}\n <Route\n path=\"/composite/:viewRef\"\n element={<CompositeRouteWrapper />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path=\"/custom/:viewRef\"\n element={<ViewRouteWrapper ViewComponent={FullCustomView} contentType={NavigationContentType.FULL_CUSTOM_VIEW} />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path=\"/flows-actors/:viewRef\"\n element={<ViewRouteWrapper ViewComponent={FlowsActorsView} contentType={NavigationContentType.FLOWS_ACTORS_VIEW} />}\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path=\"/execution/:viewRef\"\n element={\n <ExecutionRouteWrapper\n viewProps={{ navigationZone: NavigationZone.PRIMARY }}\n />\n }\n errorElement={<RouterErrorBoundary />}\n />\n <Route\n path=\"/chart/:viewRef\"\n element={\n <React.Suspense fallback={<div style={{ padding: '2rem', textAlign: 'center', color: 'var(--muted-foreground, #737373)' }}>Loading chart...</div>}>\n <ChartRouteWrapper />\n </React.Suspense>\n }\n errorElement={<RouterErrorBoundary />}\n />\n\n {/* Resource routes - nested inside authenticated layout */}\n {resourceRouteElements}\n </Route>\n\n {/* Fallback - handled by RouterErrorBoundary */}\n <Route\n path=\"*\"\n element={<RouterErrorBoundary />}\n />\n </Routes>\n </>\n );\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import { ComponentPresetDefinitionType, FrontendComponentType } from '@wildo-ai/presets-components-models';
2
- import { ResourceConfiguration_InitializationFactory, ResourceRelationship, type CustomFeatureConfigurationInput, type NotificationBadgeDefinition, type RolesConfiguration } from '@wildo-ai/saas-models';
2
+ import { AppFrontendSurface, ResourceConfiguration_InitializationFactory, ResourceRelationship, type CustomFeatureConfigurationInput, type NotificationBadgeDefinition, type RolesConfiguration } from '@wildo-ai/saas-models';
3
3
  import type { AppConfiguration_Frontend } from '../../core/config/app-configuration-frontend.schemas';
4
4
  import React from 'react';
5
5
  import type { GeneratedAppProviderModules } from '@wildo-ai/external-connectors-public/app';
@@ -103,6 +103,20 @@ export interface ApplicationMainProviderOptions {
103
103
  frontendConfigOverrides?: FrontendConfigOverrides;
104
104
  /** Component loader — required. Called during app init to register component presets. */
105
105
  componentLoader: () => Promise<void>;
106
+ /** @wildo_source:part:start saas.frontend.runtime.application-surface facet:layer:frontend facet:audience:app-developer */
107
+ /**
108
+ * What this frontend is FOR: the application's product (the default), or its identity portal, the surface of an
109
+ * application whose product is not a browser application (`AppFrontendSurface.IDENTITY_PORTAL`).
110
+ *
111
+ * One runtime serves both, with the same providers. The portal mounts the public identity routes the product mounts
112
+ * and three signed-in pages (home, the decision inbox, account security) under a slim shell, and nothing of the
113
+ * product: no resource, view or settings-hub route, and no product shell. It requires the portal's shell preset
114
+ * (`APP_LAYOUTS_IDENTITY_PORTAL_CONTAINER`) in place of the product's (`APP_LAYOUTS_MAIN_CONTAINER`).
115
+ *
116
+ * Passed in the portal member's `modules-registry.frontend.ts`, on the options of `ApplicationMainProvider` from
117
+ * `@wildo-ai/saas-frontend-lib`; `AppFrontendSurface` comes from `@wildo-ai/saas-models`.
118
+ */
119
+ surface?: AppFrontendSurface;
106
120
  }
107
121
  export interface ApplicationMainProviderProps {
108
122
  options: ApplicationMainProviderOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationMainContext.d.ts","sourceRoot":"","sources":["../../../../src/core/runtime/ApplicationMainContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAmB,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5H,OAAO,E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