@wildo-ai/saas-frontend-lib 1.1.15 → 1.1.17

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 (241) hide show
  1. package/dist/esm/components/compliance/EmbeddedSigningFrame.d.ts.map +1 -1
  2. package/dist/esm/components/compliance/EmbeddedSigningFrame.js +17 -6
  3. package/dist/esm/components/compliance/EmbeddedSigningFrame.js.map +1 -1
  4. package/dist/esm/components/data-display/approval-seal.d.ts +7 -5
  5. package/dist/esm/components/data-display/approval-seal.d.ts.map +1 -1
  6. package/dist/esm/components/data-display/approval-seal.js +10 -4
  7. package/dist/esm/components/data-display/approval-seal.js.map +1 -1
  8. package/dist/esm/components/data-display/signature-requests.d.ts +81 -0
  9. package/dist/esm/components/data-display/signature-requests.d.ts.map +1 -0
  10. package/dist/esm/components/data-display/signature-requests.js +123 -0
  11. package/dist/esm/components/data-display/signature-requests.js.map +1 -0
  12. package/dist/esm/components/flows-actors/approval.d.ts.map +1 -1
  13. package/dist/esm/components/flows-actors/approval.js +8 -15
  14. package/dist/esm/components/flows-actors/approval.js.map +1 -1
  15. package/dist/esm/components/flows-actors/approval.labels.d.ts.map +1 -1
  16. package/dist/esm/components/flows-actors/approval.labels.js +3 -0
  17. package/dist/esm/components/flows-actors/approval.labels.js.map +1 -1
  18. package/dist/esm/components/flows-actors/task-detail.d.ts +12 -1
  19. package/dist/esm/components/flows-actors/task-detail.d.ts.map +1 -1
  20. package/dist/esm/components/flows-actors/task-detail.js +2 -2
  21. package/dist/esm/components/flows-actors/task-detail.js.map +1 -1
  22. package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts.map +1 -1
  23. package/dist/esm/components/form/automated/ResourceAutomatedForm.js +44 -29
  24. package/dist/esm/components/form/automated/ResourceAutomatedForm.js.map +1 -1
  25. package/dist/esm/components/navigation/NavigationItemBadge.d.ts +16 -0
  26. package/dist/esm/components/navigation/NavigationItemBadge.d.ts.map +1 -1
  27. package/dist/esm/components/navigation/NavigationItemBadge.js +14 -2
  28. package/dist/esm/components/navigation/NavigationItemBadge.js.map +1 -1
  29. package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.d.ts +3 -3
  30. package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.js +3 -3
  31. package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.js.map +1 -1
  32. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts +5 -13
  33. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts.map +1 -1
  34. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js +30 -255
  35. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js.map +1 -1
  36. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts +22 -1
  37. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts.map +1 -1
  38. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js +57 -26
  39. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js.map +1 -1
  40. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.d.ts +1 -1
  41. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.d.ts.map +1 -1
  42. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.js +35 -1
  43. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.js.map +1 -1
  44. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts +1 -1
  45. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts.map +1 -1
  46. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js +26 -4
  47. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js.map +1 -1
  48. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.d.ts +31 -0
  49. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.d.ts.map +1 -0
  50. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.js +42 -0
  51. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.js.map +1 -0
  52. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.d.ts +76 -0
  53. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.d.ts.map +1 -0
  54. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.js +268 -0
  55. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.js.map +1 -0
  56. package/dist/esm/components/navigation/command.d.ts +5 -0
  57. package/dist/esm/components/navigation/command.d.ts.map +1 -1
  58. package/dist/esm/components/navigation/command.js.map +1 -1
  59. package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts.map +1 -1
  60. package/dist/esm/components/resources/ResourceLayout_DangerZone.js +5 -2
  61. package/dist/esm/components/resources/ResourceLayout_DangerZone.js.map +1 -1
  62. package/dist/esm/components/resources/ResourceLayout_InsertedViews.d.ts.map +1 -1
  63. package/dist/esm/components/resources/ResourceLayout_InsertedViews.js +5 -1
  64. package/dist/esm/components/resources/ResourceLayout_InsertedViews.js.map +1 -1
  65. package/dist/esm/components/resources/ResourceLayout_List.d.ts.map +1 -1
  66. package/dist/esm/components/resources/ResourceLayout_List.js +4 -1
  67. package/dist/esm/components/resources/ResourceLayout_List.js.map +1 -1
  68. package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts.map +1 -1
  69. package/dist/esm/components/resources/ResourceLayout_RecordSharing.js +4 -1
  70. package/dist/esm/components/resources/ResourceLayout_RecordSharing.js.map +1 -1
  71. package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.d.ts.map +1 -1
  72. package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.js +4 -1
  73. package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.js.map +1 -1
  74. package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.d.ts.map +1 -1
  75. package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.js +4 -1
  76. package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.js.map +1 -1
  77. package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.d.ts.map +1 -1
  78. package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.js +4 -1
  79. package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.js.map +1 -1
  80. package/dist/esm/components/resources/skeleton/Group.d.ts.map +1 -1
  81. package/dist/esm/components/resources/skeleton/Group.js +4 -1
  82. package/dist/esm/components/resources/skeleton/Group.js.map +1 -1
  83. package/dist/esm/components/sections/ContentSectionContainer.d.ts.map +1 -1
  84. package/dist/esm/components/sections/ContentSectionContainer.js +11 -7
  85. package/dist/esm/components/sections/ContentSectionContainer.js.map +1 -1
  86. package/dist/esm/components/sections/content-section.d.ts +1 -3
  87. package/dist/esm/components/sections/content-section.d.ts.map +1 -1
  88. package/dist/esm/components/sections/content-section.js.map +1 -1
  89. package/dist/esm/components/settings/AppPage_AgentActivitySettings.d.ts +79 -0
  90. package/dist/esm/components/settings/AppPage_AgentActivitySettings.d.ts.map +1 -0
  91. package/dist/esm/components/settings/AppPage_AgentActivitySettings.js +272 -0
  92. package/dist/esm/components/settings/AppPage_AgentActivitySettings.js.map +1 -0
  93. package/dist/esm/components/settings/AppPage_AgentActivitySettings.labels.d.ts +3 -0
  94. package/dist/esm/components/settings/AppPage_AgentActivitySettings.labels.d.ts.map +1 -0
  95. package/dist/esm/components/settings/AppPage_AgentActivitySettings.labels.js +66 -0
  96. package/dist/esm/components/settings/AppPage_AgentActivitySettings.labels.js.map +1 -0
  97. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts +12 -0
  98. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts.map +1 -1
  99. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js +28 -6
  100. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js.map +1 -1
  101. package/dist/esm/components/settings/SettingsHub.d.ts.map +1 -1
  102. package/dist/esm/components/settings/SettingsHub.js +6 -0
  103. package/dist/esm/components/settings/SettingsHub.js.map +1 -1
  104. package/dist/esm/components/typography/document-heading-level.d.ts +28 -0
  105. package/dist/esm/components/typography/document-heading-level.d.ts.map +1 -0
  106. package/dist/esm/components/typography/document-heading-level.js +63 -0
  107. package/dist/esm/components/typography/document-heading-level.js.map +1 -0
  108. package/dist/esm/components/views/chart-view/ChartView.d.ts.map +1 -1
  109. package/dist/esm/components/views/chart-view/ChartView.js +20 -16
  110. package/dist/esm/components/views/chart-view/ChartView.js.map +1 -1
  111. package/dist/esm/components/views/chart-view/ChartView.labels.d.ts.map +1 -1
  112. package/dist/esm/components/views/chart-view/ChartView.labels.js +7 -0
  113. package/dist/esm/components/views/chart-view/ChartView.labels.js.map +1 -1
  114. package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts +12 -3
  115. package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts.map +1 -1
  116. package/dist/esm/components/views/chart-view/option-builder/builder-utils.js +18 -11
  117. package/dist/esm/components/views/chart-view/option-builder/builder-utils.js.map +1 -1
  118. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.d.ts.map +1 -1
  119. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js +2 -1
  120. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js.map +1 -1
  121. package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.d.ts.map +1 -1
  122. package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.js +7 -3
  123. package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.js.map +1 -1
  124. package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.d.ts.map +1 -1
  125. package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.js +6 -2
  126. package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.js.map +1 -1
  127. package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.d.ts.map +1 -1
  128. package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.js +7 -1
  129. package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.js.map +1 -1
  130. package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.d.ts.map +1 -1
  131. package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.js +13 -9
  132. package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.js.map +1 -1
  133. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.d.ts.map +1 -1
  134. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js +2 -1
  135. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js.map +1 -1
  136. package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.d.ts.map +1 -1
  137. package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.js +2 -1
  138. package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.js.map +1 -1
  139. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.d.ts.map +1 -1
  140. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.js +4 -3
  141. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.js.map +1 -1
  142. package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.d.ts.map +1 -1
  143. package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.js +2 -1
  144. package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.js.map +1 -1
  145. package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.d.ts.map +1 -1
  146. package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.js +5 -1
  147. package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.js.map +1 -1
  148. package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.d.ts.map +1 -1
  149. package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.js +4 -3
  150. package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.js.map +1 -1
  151. package/dist/esm/components/views/composite-view/CompositeView.d.ts +6 -0
  152. package/dist/esm/components/views/composite-view/CompositeView.d.ts.map +1 -1
  153. package/dist/esm/components/views/composite-view/CompositeView.js +12 -2
  154. package/dist/esm/components/views/composite-view/CompositeView.js.map +1 -1
  155. package/dist/esm/components/views/flows-actors-view/ConversationLinkPage.d.ts +57 -0
  156. package/dist/esm/components/views/flows-actors-view/ConversationLinkPage.d.ts.map +1 -0
  157. package/dist/esm/components/views/flows-actors-view/ConversationLinkPage.js +136 -0
  158. package/dist/esm/components/views/flows-actors-view/ConversationLinkPage.js.map +1 -0
  159. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts +20 -0
  160. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts.map +1 -1
  161. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js +139 -22
  162. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js.map +1 -1
  163. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.d.ts.map +1 -1
  164. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.js +5 -0
  165. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.js.map +1 -1
  166. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.d.ts +4 -0
  167. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.d.ts.map +1 -1
  168. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.js +19 -0
  169. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.js.map +1 -1
  170. package/dist/esm/components/views/flows-actors-view/linked-conversation.context.d.ts +26 -0
  171. package/dist/esm/components/views/flows-actors-view/linked-conversation.context.d.ts.map +1 -0
  172. package/dist/esm/components/views/flows-actors-view/linked-conversation.context.js +3 -0
  173. package/dist/esm/components/views/flows-actors-view/linked-conversation.context.js.map +1 -0
  174. package/dist/esm/core/app-shell/app-shell.schemas.d.ts +87 -16
  175. package/dist/esm/core/app-shell/app-shell.schemas.d.ts.map +1 -1
  176. package/dist/esm/core/app-shell/app-shell.schemas.js +16 -0
  177. package/dist/esm/core/app-shell/app-shell.schemas.js.map +1 -1
  178. package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.d.ts.map +1 -1
  179. package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.js +1 -0
  180. package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.js.map +1 -1
  181. package/dist/esm/core/config/composite-view.schemas.d.ts +19 -0
  182. package/dist/esm/core/config/composite-view.schemas.d.ts.map +1 -1
  183. package/dist/esm/core/config/composite-view.schemas.js.map +1 -1
  184. package/dist/esm/core/config/engine-settings-destinations.d.ts.map +1 -1
  185. package/dist/esm/core/config/engine-settings-destinations.js +23 -0
  186. package/dist/esm/core/config/engine-settings-destinations.js.map +1 -1
  187. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.d.ts.map +1 -1
  188. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.js +3 -0
  189. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.js.map +1 -1
  190. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts +12 -0
  191. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts.map +1 -1
  192. package/dist/esm/core/config/settings-hub.frontend.schemas.js +12 -0
  193. package/dist/esm/core/config/settings-hub.frontend.schemas.js.map +1 -1
  194. package/dist/esm/core/events/events.frontend.schemas.d.ts +16 -0
  195. package/dist/esm/core/events/events.frontend.schemas.d.ts.map +1 -1
  196. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts +10 -1
  197. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts.map +1 -1
  198. package/dist/esm/core/flows-actors/FlowsActorsContext.js +12 -3
  199. package/dist/esm/core/flows-actors/FlowsActorsContext.js.map +1 -1
  200. package/dist/esm/core/flows-actors/conversation-history.model.d.ts +19 -1
  201. package/dist/esm/core/flows-actors/conversation-history.model.d.ts.map +1 -1
  202. package/dist/esm/core/flows-actors/conversation-history.model.js +45 -4
  203. package/dist/esm/core/flows-actors/conversation-history.model.js.map +1 -1
  204. package/dist/esm/core/navigation/NavigationContentAreas.d.ts +0 -5
  205. package/dist/esm/core/navigation/NavigationContentAreas.d.ts.map +1 -1
  206. package/dist/esm/core/navigation/NavigationContentAreas.js +27 -1
  207. package/dist/esm/core/navigation/NavigationContentAreas.js.map +1 -1
  208. package/dist/esm/core/navigation/navigation.schemas.d.ts +20 -0
  209. package/dist/esm/core/navigation/navigation.schemas.d.ts.map +1 -1
  210. package/dist/esm/core/navigation/navigation.schemas.js +4 -0
  211. package/dist/esm/core/navigation/navigation.schemas.js.map +1 -1
  212. package/dist/esm/core/navigation/useNavigationRouterSync.d.ts.map +1 -1
  213. package/dist/esm/core/navigation/useNavigationRouterSync.js +5 -1
  214. package/dist/esm/core/navigation/useNavigationRouterSync.js.map +1 -1
  215. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts +59 -5
  216. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts.map +1 -1
  217. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js +58 -1
  218. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js.map +1 -1
  219. package/dist/esm/core/resources/hooks/useOperationEnabled.d.ts.map +1 -1
  220. package/dist/esm/core/resources/hooks/useOperationEnabled.js +41 -3
  221. package/dist/esm/core/resources/hooks/useOperationEnabled.js.map +1 -1
  222. package/dist/esm/core/resources/resources-repository.frontend.service.d.ts.map +1 -1
  223. package/dist/esm/core/resources/resources-repository.frontend.service.js +2 -0
  224. package/dist/esm/core/resources/resources-repository.frontend.service.js.map +1 -1
  225. package/dist/esm/core/runtime/AppRouter.d.ts.map +1 -1
  226. package/dist/esm/core/runtime/AppRouter.js +2 -1
  227. package/dist/esm/core/runtime/AppRouter.js.map +1 -1
  228. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts +6 -0
  229. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts.map +1 -1
  230. package/dist/esm/core/runtime/routes.frontend.definitions.js +7 -1
  231. package/dist/esm/core/runtime/routes.frontend.definitions.js.map +1 -1
  232. package/dist/esm/core/search/command-score.d.ts +33 -0
  233. package/dist/esm/core/search/command-score.d.ts.map +1 -0
  234. package/dist/esm/core/search/command-score.js +109 -0
  235. package/dist/esm/core/search/command-score.js.map +1 -0
  236. package/dist/esm/index.d.ts +5 -0
  237. package/dist/esm/index.d.ts.map +1 -1
  238. package/dist/esm/index.js +5 -0
  239. package/dist/esm/index.js.map +1 -1
  240. package/dist/tsconfig.build.tsbuildinfo +1 -1
  241. package/package.json +6 -6
@@ -33,6 +33,25 @@ export function readHeldConversation(key) {
33
33
  /** Forgets every held selection. For a test that mounts views across cases and must not inherit an earlier one. */
34
34
  export function forgetHeldConversations() {
35
35
  heldSelections.clear();
36
+ settledLinks.clear();
37
+ }
38
+ /**
39
+ * The links a view has already SETTLED (#4013), by the identity its host gives the link (`linkedConversationIdentity`).
40
+ * Kept here, outside any view instance, for the same reason as the held selection: the navigation entry that carries a
41
+ * link keeps it after the view settles it, and a REMOUNT of that entry (a zone migration at a breakpoint, an
42
+ * organization hold) would otherwise apply it again over the conversation the person moved to. Memory only, like the
43
+ * held selection; a later visit to the conversation link is a new navigation entry, so a new identity, and is applied.
44
+ */
45
+ const settledLinks = new Set();
46
+ /** The identity of one link: the navigation entry that carries it, and the conversation it names. */
47
+ export function linkedConversationIdentity(entryKey, executionId) {
48
+ return `${entryKey ?? ''}\u0000${executionId}`;
49
+ }
50
+ export function isLinkedConversationSettled(identity) {
51
+ return settledLinks.has(identity);
52
+ }
53
+ export function markLinkedConversationSettled(identity) {
54
+ settledLinks.add(identity);
36
55
  }
37
56
  /** Holds `executionId` under `key`; `null` (a new conversation) holds nothing. */
38
57
  export function holdConversation(key, executionId) {
@@ -1 +1 @@
1
- {"version":3,"file":"held-conversation-selection.js","sourceRoot":"","sources":["../../../../../src/components/views/flows-actors-view/held-conversation-selection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,cAAc,GAAG,IAAI,GAAG,EAAkB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,MAAqB,EAAE,SAAiB,EAAE,UAAkB,EAAE,OAAe;IAC/G,OAAO,GAAG,MAAM,IAAI,EAAE,SAAS,SAAS,SAAS,UAAU,SAAS,OAAO,EAAE,CAAC;AAChF,CAAC;AAED,kEAAkE;AAClE,MAAM,UAAU,oBAAoB,CAAC,GAAW;IAC9C,OAAO,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC;AACzC,CAAC;AAED,mHAAmH;AACnH,MAAM,UAAU,uBAAuB;IACrC,cAAc,CAAC,KAAK,EAAE,CAAC;AACzB,CAAC;AAED,kFAAkF;AAClF,MAAM,UAAU,gBAAgB,CAAC,GAAW,EAAE,WAA0B;IACtE,IAAI,WAAW;QAAE,cAAc,CAAC,GAAG,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;;QACjD,cAAc,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAClC,CAAC","sourcesContent":["/**\n * The conversation a person last had open in a conversational view, kept while the view is not mounted.\n *\n * Why it exists: a view hosted in the utility panel is unmounted whenever the panel closes, and the panel closes each\n * time the person follows a record the assistant showed (`useUtilityPanelBehavior`). Without this, every record they\n * looked at sent them back to an empty new conversation, and the one they were in had to be found again in the list.\n *\n * It covers EVERY host of the view, by decision: the page (`/flows-actors/<viewRef>`) reopens on the conversation the\n * person left too, and a view opened on a case resumes that case's conversation. Returning to where one was is what a\n * conversation surface does; a new conversation is one click away (`New`). The panel and the page share a key, so\n * both may show the same thread, which is the same thread on the server either way.\n *\n * What it is NOT:\n * - Not a record. It lives in memory for the page's life and is never stored. The transcript's authority stays the\n * server (`fetchConversationHistory`); this only says which thread was on screen.\n * - Not an access decision. It is keyed by the person, so a different person signing in on the same page gets\n * nothing, and a thread it names that the person cannot read is simply not found and dropped\n * (`ChatWorkspace`'s restore check).\n */\nconst heldSelections = new Map<string, string>();\n\n/**\n * One selection per person, per actor system, per context the view partitions its threads by, and per CASE the view is\n * opened on: every turn of a case view is costed to that case (#2549), so a conversation held from the plain view must\n * never come back inside a case view and be continued under the case.\n */\nexport function heldConversationKey(userId: string | null, systemRef: string, contextKey: string, caseKey: string): string {\n return `${userId ?? ''}\\u0000${systemRef}\\u0000${contextKey}\\u0000${caseKey}`;\n}\n\n/** The conversation held under `key`, or `null` for a new one. */\nexport function readHeldConversation(key: string): string | null {\n return heldSelections.get(key) ?? null;\n}\n\n/** Forgets every held selection. For a test that mounts views across cases and must not inherit an earlier one. */\nexport function forgetHeldConversations(): void {\n heldSelections.clear();\n}\n\n/** Holds `executionId` under `key`; `null` (a new conversation) holds nothing. */\nexport function holdConversation(key: string, executionId: string | null): void {\n if (executionId) heldSelections.set(key, executionId);\n else heldSelections.delete(key);\n}\n"]}
1
+ {"version":3,"file":"held-conversation-selection.js","sourceRoot":"","sources":["../../../../../src/components/views/flows-actors-view/held-conversation-selection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,cAAc,GAAG,IAAI,GAAG,EAAkB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,MAAqB,EAAE,SAAiB,EAAE,UAAkB,EAAE,OAAe;IAC/G,OAAO,GAAG,MAAM,IAAI,EAAE,SAAS,SAAS,SAAS,UAAU,SAAS,OAAO,EAAE,CAAC;AAChF,CAAC;AAED,kEAAkE;AAClE,MAAM,UAAU,oBAAoB,CAAC,GAAW;IAC9C,OAAO,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC;AACzC,CAAC;AAED,mHAAmH;AACnH,MAAM,UAAU,uBAAuB;IACrC,cAAc,CAAC,KAAK,EAAE,CAAC;IACvB,YAAY,CAAC,KAAK,EAAE,CAAC;AACvB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,YAAY,GAAG,IAAI,GAAG,EAAU,CAAC;AAEvC,qGAAqG;AACrG,MAAM,UAAU,0BAA0B,CAAC,QAA4B,EAAE,WAAmB;IAC1F,OAAO,GAAG,QAAQ,IAAI,EAAE,SAAS,WAAW,EAAE,CAAC;AACjD,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,QAAgB;IAC1D,OAAO,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,QAAgB;IAC5D,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC;AAED,kFAAkF;AAClF,MAAM,UAAU,gBAAgB,CAAC,GAAW,EAAE,WAA0B;IACtE,IAAI,WAAW;QAAE,cAAc,CAAC,GAAG,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;;QACjD,cAAc,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAClC,CAAC","sourcesContent":["/**\n * The conversation a person last had open in a conversational view, kept while the view is not mounted.\n *\n * Why it exists: a view hosted in the utility panel is unmounted whenever the panel closes, and the panel closes each\n * time the person follows a record the assistant showed (`useUtilityPanelBehavior`). Without this, every record they\n * looked at sent them back to an empty new conversation, and the one they were in had to be found again in the list.\n *\n * It covers EVERY host of the view, by decision: the page (`/flows-actors/<viewRef>`) reopens on the conversation the\n * person left too, and a view opened on a case resumes that case's conversation. Returning to where one was is what a\n * conversation surface does; a new conversation is one click away (`New`). The panel and the page share a key, so\n * both may show the same thread, which is the same thread on the server either way.\n *\n * What it is NOT:\n * - Not a record. It lives in memory for the page's life and is never stored. The transcript's authority stays the\n * server (`fetchConversationHistory`); this only says which thread was on screen.\n * - Not an access decision. It is keyed by the person, so a different person signing in on the same page gets\n * nothing, and a thread it names that the person cannot read is simply not found and dropped\n * (`ChatWorkspace`'s restore check).\n */\nconst heldSelections = new Map<string, string>();\n\n/**\n * One selection per person, per actor system, per context the view partitions its threads by, and per CASE the view is\n * opened on: every turn of a case view is costed to that case (#2549), so a conversation held from the plain view must\n * never come back inside a case view and be continued under the case.\n */\nexport function heldConversationKey(userId: string | null, systemRef: string, contextKey: string, caseKey: string): string {\n return `${userId ?? ''}\\u0000${systemRef}\\u0000${contextKey}\\u0000${caseKey}`;\n}\n\n/** The conversation held under `key`, or `null` for a new one. */\nexport function readHeldConversation(key: string): string | null {\n return heldSelections.get(key) ?? null;\n}\n\n/** Forgets every held selection. For a test that mounts views across cases and must not inherit an earlier one. */\nexport function forgetHeldConversations(): void {\n heldSelections.clear();\n settledLinks.clear();\n}\n\n/**\n * The links a view has already SETTLED (#4013), by the identity its host gives the link (`linkedConversationIdentity`).\n * Kept here, outside any view instance, for the same reason as the held selection: the navigation entry that carries a\n * link keeps it after the view settles it, and a REMOUNT of that entry (a zone migration at a breakpoint, an\n * organization hold) would otherwise apply it again over the conversation the person moved to. Memory only, like the\n * held selection; a later visit to the conversation link is a new navigation entry, so a new identity, and is applied.\n */\nconst settledLinks = new Set<string>();\n\n/** The identity of one link: the navigation entry that carries it, and the conversation it names. */\nexport function linkedConversationIdentity(entryKey: string | undefined, executionId: string): string {\n return `${entryKey ?? ''}\\u0000${executionId}`;\n}\n\nexport function isLinkedConversationSettled(identity: string): boolean {\n return settledLinks.has(identity);\n}\n\nexport function markLinkedConversationSettled(identity: string): void {\n settledLinks.add(identity);\n}\n\n/** Holds `executionId` under `key`; `null` (a new conversation) holds nothing. */\nexport function holdConversation(key: string, executionId: string | null): void {\n if (executionId) heldSelections.set(key, executionId);\n else heldSelections.delete(key);\n}\n"]}
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ /**
3
+ * A conversation a link asked a view to open (#4013), as the page that received the link hands it on: the
4
+ * conversation, what to call once it is settled (opened, found unavailable, or left for another), and what
5
+ * distinguishes this link from another naming the same conversation (the navigation entry that carries it).
6
+ */
7
+ export interface LinkedConversationRequest {
8
+ readonly conversationId: string;
9
+ readonly onSettled: () => void;
10
+ readonly linkKey?: string;
11
+ }
12
+ /**
13
+ * A linked conversation a HOST passes to the conversation it renders without naming it in props (#4043): a resource
14
+ * composite view that declares `conversationSystemRef` provides it around its own component, and the `FlowsActorsView`
15
+ * of that system inside takes it. `systemRef` is the declared system, so a view of another system rendered in the same
16
+ * page never takes a conversation that is not its own. A view given `linkedConversationId` in props ignores it.
17
+ *
18
+ * Why a context rather than a prop the host's component forwards: the host is the application's own component, and the
19
+ * engine is what knows a link arrived. A prop would make every such component re-implement the link (read the address,
20
+ * drop it once settled), and one that forgot would open the record's newest conversation instead, with nothing to say so.
21
+ */
22
+ export interface HostedLinkedConversation extends LinkedConversationRequest {
23
+ readonly systemRef: string;
24
+ }
25
+ export declare const HostedLinkedConversationContext: React.Context<HostedLinkedConversation>;
26
+ //# sourceMappingURL=linked-conversation.context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linked-conversation.context.d.ts","sourceRoot":"","sources":["../../../../../src/components/views/flows-actors-view/linked-conversation.context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,SAAS,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,wBAAyB,SAAQ,yBAAyB;IACzE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,+BAA+B,yCAA6D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export const HostedLinkedConversationContext = React.createContext(null);
3
+ //# sourceMappingURL=linked-conversation.context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linked-conversation.context.js","sourceRoot":"","sources":["../../../../../src/components/views/flows-actors-view/linked-conversation.context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2B1B,MAAM,CAAC,MAAM,+BAA+B,GAAG,KAAK,CAAC,aAAa,CAAkC,IAAI,CAAC,CAAC","sourcesContent":["import React from 'react';\n\n/**\n * A conversation a link asked a view to open (#4013), as the page that received the link hands it on: the\n * conversation, what to call once it is settled (opened, found unavailable, or left for another), and what\n * distinguishes this link from another naming the same conversation (the navigation entry that carries it).\n */\nexport interface LinkedConversationRequest {\n readonly conversationId: string;\n readonly onSettled: () => void;\n readonly linkKey?: string;\n}\n\n/**\n * A linked conversation a HOST passes to the conversation it renders without naming it in props (#4043): a resource\n * composite view that declares `conversationSystemRef` provides it around its own component, and the `FlowsActorsView`\n * of that system inside takes it. `systemRef` is the declared system, so a view of another system rendered in the same\n * page never takes a conversation that is not its own. A view given `linkedConversationId` in props ignores it.\n *\n * Why a context rather than a prop the host's component forwards: the host is the application's own component, and the\n * engine is what knows a link arrived. A prop would make every such component re-implement the link (read the address,\n * drop it once settled), and one that forgot would open the record's newest conversation instead, with nothing to say so.\n */\nexport interface HostedLinkedConversation extends LinkedConversationRequest {\n readonly systemRef: string;\n}\n\nexport const HostedLinkedConversationContext = React.createContext<HostedLinkedConversation | null>(null);\n"]}
@@ -13,7 +13,7 @@ import type { StandardIconReference } from '../../core/icons/icon-registry.front
13
13
  import type { LauncherItemTargetKind } from '../../core/config/launcher-items.frontend.schemas';
14
14
  import type { HorizontalAlign, LayoutDirection } from '@wildo-ai/zod-decorators';
15
15
  import type { Notification } from '../../core/events/NotificationContext';
16
- import type { AnyNavigationItem, NavigationIconReference } from '../../core/navigation/navigation.schemas';
16
+ import type { AnyNavigationItem, NavigationIconReference, NavigationZone } from '../../core/navigation/navigation.schemas';
17
17
  import type { ResolvedControlPanelItem, ResolvedNavigationTarget } from '../../core/navigation/launcher-resolution';
18
18
  import type { WebSocketStatus } from '../../core/requests/websockets/WebSocketContext';
19
19
  import type { ActivityBarRendering, AppModeDefinition, ResourceBrowserClickContext, SidebarHomeDisplayMode, SidebarSection, SidebarSectionBehavior, SidebarSectionContentKind, SidebarSectionInlineCreate, SidebarHostedComponent, UtilityPanelItem } from '../../core/config/launcher-items.frontend.schemas';
@@ -749,9 +749,8 @@ export interface CommandMenuSearchResultItem {
749
749
  /** Resolved one-line label (LABEL display mode + summary-card fallback). */
750
750
  label: string;
751
751
  /**
752
- * Client-side match terms carried so cmdk's filter never drops a legitimate
753
- * server hit (always includes the raw query; matches may be on a field absent
754
- * from the label, e.g. `description`).
752
+ * Client-side match terms the behavior hook ranks the result by (#1828), carried so the match never drops a legitimate
753
+ * server hit (always includes the raw query; matches may be on a field absent from the label, e.g. `description`).
755
754
  */
756
755
  keywords: string[];
757
756
  /** Navigate to the matched record's addressable READ view, then close. */
@@ -802,6 +801,7 @@ export interface CommandMenuBehavior {
802
801
  setSearchQuery: (query: string) => void;
803
802
  commandItems: CommandMenuItem[];
804
803
  groupedItems: CommandMenuGroup[];
804
+ /** The recent commands MATCHING `searchQuery`, best match first (all of them, in recency order, while it is empty). */
805
805
  recentItems: CommandMenuItem[];
806
806
  /**
807
807
  * Live record-search result groups (omnibox layer). Empty unless the
@@ -820,6 +820,12 @@ export interface CommandMenuBehavior {
820
820
  * The recent-commands group is NOT included here — it is always rendered first,
821
821
  * separately. Derived from `groupedItems` + `searchResultGroups` (which remain
822
822
  * available as the raw, per-source building blocks).
823
+ *
824
+ * Text search is the hook's (#1828): while `searchQuery` is not empty, each command group holds only the commands
825
+ * matching it, best match first (`commandScore`, the scorer `cmdk` uses), and a command group matching nothing is
826
+ * left out. Record groups are the server's answer, ranked by the same match (a result carries the query it was found
827
+ * for among its keywords), and a record group matching nothing (the previous answer, while a newer query is typed) is
828
+ * left out too. A renderer shows these lists as they are and filters nothing.
823
829
  */
824
830
  orderedGroups: CommandMenuPaletteGroup[];
825
831
  /** True while an omnibox record search is in flight for the current query. */
@@ -838,6 +844,24 @@ export interface CommandMenuBehavior {
838
844
  */
839
845
  authoredDialogWidth?: string;
840
846
  }
847
+ /** Which group of the organization switcher a {@link OrganizationSwitcherGroup} is (#1828). */
848
+ export declare enum OrganizationSwitcherGroupKind {
849
+ /** The person's own organizations. */
850
+ OWN = "own",
851
+ /** Granting organizations the person works in as a representative (#1597); each names its representing organization. */
852
+ GRANTING = "granting",
853
+ /** The organization search's answer, which replaces both groups while a search applies. */
854
+ SEARCH_RESULTS = "search_results"
855
+ }
856
+ /** One group of the organization switcher. */
857
+ export interface OrganizationSwitcherGroup {
858
+ kind: OrganizationSwitcherGroupKind;
859
+ organizations: {
860
+ _id: string;
861
+ name: string;
862
+ viaOrganizationName?: string;
863
+ }[];
864
+ }
841
865
  export interface MenuUserOrgBehavior {
842
866
  isOpen: boolean;
843
867
  setIsOpen: (open: boolean) => void;
@@ -885,6 +909,15 @@ export interface MenuUserOrgBehavior {
885
909
  isSearchingOrganizations: boolean;
886
910
  /** Whether the last search failed; the switcher says so instead of showing an empty result as "none found". */
887
911
  organizationSearchFailed: boolean;
912
+ /**
913
+ * The switcher's organizations, grouped as it shows them (#1828): the person's OWN organizations and the GRANTING ones
914
+ * they work in as a representative, each group present only when it holds one, or, while a search applies, its
915
+ * SEARCH_RESULTS alone (every result is one of the person's own organizations, and a granting organization found this
916
+ * way is not told apart: its representing organization's name comes from a membership row the user context does not carry).
917
+ */
918
+ organizationGroups: OrganizationSwitcherGroup[];
919
+ /** Whether there is anything to switch to: more than one listed organization, or more to find by search (#2452). */
920
+ hasMultipleOrganizations: boolean;
888
921
  /** Dropdown sections to render. The `SETTINGS` entry opens the unified Settings Hub. */
889
922
  sections: UserDropdownSection[];
890
923
  avatarDisplay: UserDropdownAvatarDisplay;
@@ -902,6 +935,47 @@ export interface MenuUserOrgBehavior {
902
935
  handleSwitchOrg: (orgId: string) => void;
903
936
  handleNavigateToSettingsTarget: (target: ResolvedNavigationTarget) => void;
904
937
  }
938
+ /**
939
+ * The navigation-back control's behavior (#1828): the zone it walks back, whether it is shown, and the gesture. See
940
+ * `useNavigationBackBehavior` for when the control hides.
941
+ */
942
+ export interface NavigationBackBehavior {
943
+ resolvedZone: NavigationZone;
944
+ /** False when the gesture would do nothing. */
945
+ isVisible: boolean;
946
+ goBack: () => void;
947
+ }
948
+ /** One item of the menubar. */
949
+ export interface MenuBarBehaviorItem {
950
+ id: string;
951
+ label: string;
952
+ /** The item's icon as a reference; the preset renders it (#1828). */
953
+ iconReference?: NavigationIconReference;
954
+ group?: string;
955
+ /** Whether this item is the current destination — at most one item is (see `useMenuBarBehavior`). */
956
+ isActive: boolean;
957
+ /** The badge KEY to draw beside the label (`NavigationItemBadge`), when the declaration names one. */
958
+ notificationBadgeRef?: string;
959
+ onExecute: () => void;
960
+ }
961
+ /** Whether a {@link MenuBarEntry} is one item on the bar, or a group opening a menu of items. */
962
+ export declare enum MenuBarEntryKind {
963
+ ITEM = "item",
964
+ GROUP = "group"
965
+ }
966
+ /**
967
+ * One entry of the bar, in bar order (#1828): an item without a group, or a group, placed where its first item is, holding
968
+ * every item of that group in declaration order.
969
+ */
970
+ export type MenuBarEntry = {
971
+ kind: MenuBarEntryKind.ITEM;
972
+ item: MenuBarBehaviorItem;
973
+ } | {
974
+ kind: MenuBarEntryKind.GROUP;
975
+ /** The group identifier AS AUTHORED; giving it a label is owed (see the menubar preset). */
976
+ group: string;
977
+ items: MenuBarBehaviorItem[];
978
+ };
905
979
  export interface MenuBarBehavior {
906
980
  containerComponents: ResolvedHostedComponent[];
907
981
  /**
@@ -915,18 +989,15 @@ export interface MenuBarBehavior {
915
989
  isHomeActive: boolean;
916
990
  /** Home navigation with a fresh navigation start, the same act as the sidebar's brand header. */
917
991
  handleHomeClick: () => void;
918
- items: {
919
- id: string;
920
- label: string;
921
- /** The item's icon as a reference; the preset renders it (#1828). */
922
- iconReference?: NavigationIconReference;
923
- group?: string;
924
- /** Whether this item is the current destination — at most one item is (see `useMenuBarBehavior`). */
925
- isActive: boolean;
926
- /** The badge KEY to draw beside the label (`NavigationItemBadge`), when the declaration names one. */
927
- notificationBadgeRef?: string;
928
- onExecute: () => void;
929
- }[];
992
+ items: MenuBarBehaviorItem[];
993
+ /** {@link items} as the bar shows them: ungrouped items and groups, in bar order (#1828). */
994
+ entries: MenuBarEntry[];
995
+ /**
996
+ * Opens the sidebar drawer. Present only while the sidebar is an overlay drawer (its BURGER policy at or below its
997
+ * responsive breakpoint): nothing of the sidebar renders inline then, so the menubar carries its opening affordance.
998
+ * The drawer's state stays the sidebar's; this only sends the sidebar toggle (#1828).
999
+ */
1000
+ toggleSidebarDrawer?: () => void;
930
1001
  menubarConfig: {
931
1002
  mode: string;
932
1003
  isOverlay: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"app-shell.schemas.d.ts","sourceRoot":"","sources":["../../../../src/core/app-shell/app-shell.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC1F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+DAA+D,CAAC;AAC7G,OAAO,KAAK,EAAE,6BAA6B,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,uEAAuE,CAAC;AAClK,OAAO,KAAK,EACV,8BAA8B,EAC9B,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,oEAAoE,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kFAAkF,CAAC;AAC7H,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAC3G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iEAAi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DS"] = "commands";
50
50
  CommandMenuPaletteGroupKind["RECORDS"] = "records";
51
51
  })(CommandMenuPaletteGroupKind || (CommandMenuPaletteGroupKind = {}));
52
+ /** Which group of the organization switcher a {@link OrganizationSwitcherGroup} is (#1828). */
53
+ export var OrganizationSwitcherGroupKind;
54
+ (function (OrganizationSwitcherGroupKind) {
55
+ /** The person's own organizations. */
56
+ OrganizationSwitcherGroupKind["OWN"] = "own";
57
+ /** Granting organizations the person works in as a representative (#1597); each names its representing organization. */
58
+ OrganizationSwitcherGroupKind["GRANTING"] = "granting";
59
+ /** The organization search's answer, which replaces both groups while a search applies. */
60
+ OrganizationSwitcherGroupKind["SEARCH_RESULTS"] = "search_results";
61
+ })(OrganizationSwitcherGroupKind || (OrganizationSwitcherGroupKind = {}));
62
+ /** Whether a {@link MenuBarEntry} is one item on the bar, or a group opening a menu of items. */
63
+ export var MenuBarEntryKind;
64
+ (function (MenuBarEntryKind) {
65
+ MenuBarEntryKind["ITEM"] = "item";
66
+ MenuBarEntryKind["GROUP"] = "group";
67
+ })(MenuBarEntryKind || (MenuBarEntryKind = {}));
52
68
  //# sourceMappingURL=app-shell.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-shell.schemas.js","sourceRoot":"","sources":["../../../../src/core/app-shell/app-shell.schemas.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAmM1E,MAAM,UAAU,qBAAqB,CAAC,MAAe;IACnD,OAAO,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,WAAW,IAAI,MAAM,IAAI,aAAa,IAAI,MAAM,CAAC;AAC3G,CAAC;AAwBD,0GAA0G;AAC1G,MAAM,UAAU,uBAAuB,CAAC,MAAe;IACrD,OAAO,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AACjF,CAAC;AAa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nimport type { UseFormReturn } from 'react-hook-form';\nimport type { z } from 'zod';\n\nimport { HorizontalPlacement } from '@wildo-ai/presets-components-models';\nimport type { VerticalPlacement } from '@wildo-ai/presets-components-models';\nimport type { ForeignKeyDisplayMode, ViewportBreakpoint } from '@wildo-ai/zod-decorators';\nimport type { AppScopeFieldDefinition } from '~wildo-frontend-lib/core/resources/resources.frontend.schemas';\nimport type { ApplicationLevelComponentType, StatusBarItemType, StatusBarPlacement } from '~wildo-frontend-lib/core/config/app-level-components.frontend.schemas';\nimport type {\n QuickSwitcherFieldPresentation,\n UserDropdownAvatarDisplay,\n UserDropdownSection,\n} from '~wildo-frontend-lib/core/config/app-configuration-frontend.schemas';\nimport type { FrontendComponentType, PlacementSide } from '@wildo-ai/presets-components-models';\nimport type { ComponentRegistryRef } from '~wildo-frontend-lib/core/components-registry/component-registry.frontend.schemas';\nimport type { StandardIconReference } from '~wildo-frontend-lib/core/icons/icon-registry.frontend.schemas';\nimport type { LauncherItemTargetKind } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport type { HorizontalAlign, LayoutDirection } from '@wildo-ai/zod-decorators';\nimport type { Notification } from '~wildo-frontend-lib/core/events/NotificationContext';\nimport type { AnyNavigationItem, NavigationIconReference } from '~wildo-frontend-lib/core/navigation/navigation.schemas';\nimport type { ResolvedControlPanelItem, ResolvedNavigationTarget } from '~wildo-frontend-lib/core/navigation/launcher-resolution';\nimport type { WebSocketStatus } from '~wildo-frontend-lib/core/requests/websockets/WebSocketContext';\nimport type {\n ActivityBarRendering,\n AppModeDefinition,\n ResourceBrowserClickContext,\n SidebarHomeDisplayMode,\n SidebarSection,\n SidebarSectionBehavior,\n SidebarSectionContentKind,\n SidebarSectionInlineCreate,\n SidebarHostedComponent,\n UtilityPanelItem,\n} from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport type { BrandAssetTheme } from '@wildo-ai/saas-models';\nimport type { BrandIdentity } from '~wildo-frontend-lib/core/branding/useBrandIdentity';\nimport { SidebarResponsivePolicy } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport type { HostedTriggerAppearance } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\n\n\n/** Navigation item with optional children for hierarchical rendering */\nexport type HierarchicalNavigationItem = AnyNavigationItem & {\n children?: AnyNavigationItem[];\n /**\n * Canonical favorite identity for FAVORITES-section copies. A favorited item\n * renders twice (its origin section AND the favorites section); the favorites\n * copy carries a DISTINCT `id` (so the exactly-one-active invariant keeps a\n * single highlighted row) and `favoriteId` = the origin item's id — the key\n * the favorites store persists and the star toggle operates on. Absent on\n * origin items (their own `id` IS the favorite key).\n */\n favoriteId?: string;\n};\n\n/**\n * A hosted component resolved from a surface's `hostedComponents` config entry,\n * ready for the preset to mount. Shared by BOTH the menubar and the sidebar —\n * they run one hosting pipeline (`resolveHostedComponents`) so the container\n * inversion model, interaction ownership, and per-placement width thread through\n * a single implementation rather than being duplicated per surface.\n *\n * `instanceId` is SURFACE-QUALIFIED (e.g. `menubar:command_menu-0`) so the\n * shell-level interaction owner can disambiguate the same component hosted in\n * two surfaces at once (a command-menu trigger in the menubar AND the sidebar).\n */\nexport interface ResolvedHostedComponent {\n instanceId: string;\n component: ApplicationLevelComponentType;\n frontendComponentType: FrontendComponentType;\n /**\n * Horizontal zone (menubar) or vertical end (sidebar). Always concrete:\n * `resolveHostedComponents` normalizes an omitted config `placement` to the\n * surface's default zone (menubar START / sidebar TOP), so preset-side\n * per-zone equality filters can never silently drop a hosted component.\n */\n placement: HorizontalPlacement | VerticalPlacement;\n presetName?: string;\n /** Per-placement trigger width override (see `MenubarHostedComponent.triggerWidth`). */\n triggerWidth?: string | number;\n /** Per-placement trigger appearance (see `HostedTriggerAppearance`). */\n triggerAppearance?: HostedTriggerAppearance;\n}\n\n/**\n * Lightweight rendering props extracted from a sidebar section definition.\n * Used by the rendering layer (sidebar preset) to render section headers,\n * collapse behavior, and inline create — without coupling to the config schema.\n */\nexport interface SectionRenderProps {\n ref: string;\n label?: string;\n icon?: string;\n /** Whether the section header (label + icon) is rendered. Defaults to `true`. */\n showLabel: boolean;\n collapsible: boolean;\n defaultCollapsed: boolean;\n /**\n * Primary navigation group — rendered at the top of the sidebar (no header,\n * not collapsible), sharing that group with the framework Home row when\n * `homeDisplayMode` is `NAVIGATION_ITEM`. See\n * `SidebarSection_NavigationList.isPrimary`.\n */\n isPrimary?: boolean;\n behavior?: SidebarSectionBehavior;\n inlineCreate?: SidebarSectionInlineCreate;\n inlineCreateResourceType?: string;\n nested?: boolean;\n maxNestingDepth?: number;\n}\n\n/**\n * A grouped sidebar section for rendering.\n *\n * When `contentKind` is undefined or `NAVIGATION_LIST`, this is a traditional\n * navigation item list. When `contentKind` is a different variant, the section\n * renders specialized content and `items` will be empty.\n */\nexport interface SectionGroup {\n section: SectionRenderProps;\n items: HierarchicalNavigationItem[];\n moreMenuItems: HierarchicalNavigationItem[];\n /**\n * Discriminant from the new per-launcher config. When undefined, this section\n * was produced by the old scan-based path (treat as NAVIGATION_LIST).\n */\n contentKind?: SidebarSectionContentKind;\n /** RESOURCE_BROWSER: resource type to browse. */\n resourceType?: string;\n /** RESOURCE_BROWSER: operation override. */\n operation?: string;\n /** RESOURCE_BROWSER: operation variant. */\n operationVariant?: string;\n /** RESOURCE_BROWSER: click/navigation operation override. */\n navigateOperation?: string;\n /** RESOURCE_BROWSER: click/navigation operation variant. */\n navigateOperationVariant?: string;\n /** RESOURCE_BROWSER: client-side instance filter. */\n instanceFilter?: (instance: Record<string, unknown>) => boolean;\n /** RESOURCE_BROWSER: custom click handler. */\n onInstanceClick?: (context: ResourceBrowserClickContext) => void;\n /** GUIDANCE_WIDGET: guidance component ref. */\n guidanceRef?: string;\n /** CUSTOM_COMPONENT: custom component ref. */\n componentRef?: string;\n}\n\n/**\n * Sidebar config object — matches the transformed shape from `UIContext`\n * (`ViewportAwareAppLevelComponentConfigurationSchema` → transformer →\n * `{ placement, collapsible, policy }`).\n *\n * The raw model uses `responsivePolicy`, but the transformer renames it\n * to `policy` in the runtime config.\n */\nexport interface SidebarConfigObject {\n placement: HorizontalPlacement.START | HorizontalPlacement.END;\n collapsible: boolean;\n /**\n * Starting rail state for a visitor with NO stored preference. Absent means\n * the framework default, expanded. A persisted\n * `LOCAL_STORAGE_KEYS.SIDEBAR_COLLAPSED` always wins over it — this is a\n * starting position, not a lock.\n */\n defaultCollapsed?: boolean;\n policy: SidebarResponsivePolicy;\n /**\n * Viewport threshold at (or below) which the responsive `policy` applies.\n * Authored as `responsiveBreakpoint` in the raw model and carried through the\n * UIContext transformer's rest-spread. Defaults to `ViewportBreakpoint.MOBILE`\n * (the Zod schema default) when absent.\n */\n responsiveBreakpoint?: ViewportBreakpoint;\n /**\n * How the sidebar surfaces HOME (hidden / pinned brand header / navigation\n * row). Absent means the framework default, `NAVIGATION_ITEM`, applied by\n * `useSidebarBehavior`.\n */\n homeDisplayMode?: SidebarHomeDisplayMode;\n /**\n * Pins which brand-mark variant the BRAND_HEADER mode renders (e.g.\n * `MONOCHROME`). Absent means adaptive light/dark.\n */\n brandMarkTheme?: BrandAssetTheme;\n /** Per-launcher content declarations — discriminated union on `contentKind`. */\n contentSections?: SidebarSection[];\n /** Components hosted inside the sidebar via container inversion (mirror of menubar `hostedComponents`). */\n hostedComponents?: SidebarHostedComponent[];\n defaultSection?: string;\n /** Desktop sidebar width in px. Defaults to 256. */\n width?: number;\n /** Mobile sidebar width in px. Defaults to 280. */\n mobileWidth?: number;\n /** Desktop collapsed width in px. Defaults to 64. */\n collapsedWidth?: number;\n /** Mobile collapsed width in px. Defaults to 56. */\n mobileCollapsedWidth?: number;\n}\n\nexport function isSidebarConfigObject(config: unknown): config is SidebarConfigObject {\n return typeof config === 'object' && config !== null && 'placement' in config && 'collapsible' in config;\n}\n\n/**\n * The object form of the status bar's configuration. The configuration is `boolean | StatusBarPlacement (the\n * string shorthand) | StatusBarConfigObject`.\n */\nexport interface StatusBarConfigObject {\n placement?: StatusBarPlacement;\n showMemoryUsage?: boolean;\n showNotificationCount?: boolean;\n /**\n * Whether the bar reports the realtime connection. It speaks only while the connection is degraded (connecting,\n * reconnecting, lost) and says nothing while connected.\n */\n showConnectionStatus?: boolean;\n showConnectionStatusOnMobile?: boolean;\n backgroundClassName?: string;\n textClassName?: string;\n showBorder?: boolean;\n height?: number;\n statusItems?: StatusBarConfigItem[];\n style?: React.CSSProperties;\n}\n\n/** Narrowing guard for the object form, distinguishing it from the boolean and string-shorthand forms. */\nexport function isStatusBarConfigObject(config: unknown): config is StatusBarConfigObject {\n return typeof config === 'object' && config !== null && !Array.isArray(config);\n}\n\nexport type UtilityPanelPlacement =\n | HorizontalPlacement.START\n | HorizontalPlacement.END;\n\nexport interface UtilityPanelConfigObject {\n items?: UtilityPanelItem[];\n position?: UtilityPanelPlacement;\n /** The trigger's glyph (a standard icon reference). See the `UTILITY_PANEL` config schema. */\n icon?: string;\n}\n\nexport function isUtilityPanelConfigObject(config: unknown): config is UtilityPanelConfigObject {\n if (typeof config !== 'object' || config === null || Array.isArray(config)) {\n return false;\n }\n\n const candidate = config as Record<string, unknown>;\n const isValidPosition =\n candidate.position === undefined ||\n candidate.position === HorizontalPlacement.START ||\n candidate.position === HorizontalPlacement.END;\n const isValidItems = candidate.items === undefined || Array.isArray(candidate.items);\n\n return isValidPosition && isValidItems;\n}\n\n\n// ---------------------------------------------------------------------------\n// Behavior hook return types\n// ---------------------------------------------------------------------------\n\n/**\n * Standalone navigation behavioral utilities — active-state checking, click dispatch, and home navigation.\n *\n * A row's display policy (`SidebarItemDisplayPolicy`) is read ONCE, where the sidebar partitions a section's rows\n * into listed rows and its \"More\" menu (`useSidebarBehavior`). A second reader here, typed with an unnamed string\n * union and never called, was removed so the two could not disagree.\n *\n * Does NOT include items — consumers obtain items from per-launcher\n * resolution or auto-items.\n *\n * `handleNavigationClick` accepts `launcher` as a second parameter since\n * this interface is not scoped to a single launcher.\n */\nexport interface NavigationBehaviors {\n isNavigationItemActive: (urlPath: string) => boolean;\n handleNavigationClick: (item: AnyNavigationItem, launcher: ApplicationLevelComponentType) => void;\n handleHomeClick: () => void;\n isHomeActive: boolean;\n}\n\nexport interface SidebarBehavior {\n groupedSections: SectionGroup[];\n /**\n * Components hosted in the sidebar (container inversion), resolved from\n * `[SIDEBAR].hostedComponents` through the SAME pipeline the menubar uses.\n * The preset resolves each via the component registry and mounts it with the\n * shell-level interaction-owner props.\n */\n hostedComponents: ResolvedHostedComponent[];\n isCollapsed: boolean;\n isHomeActive: boolean;\n dimensions: { width: number; collapsedWidth: number };\n sidebarConfig: {\n isCollapsible: boolean;\n responsivePolicy: SidebarResponsivePolicy;\n currentWidth: number;\n };\n isNavigationLoading: boolean;\n hasItems: boolean;\n placement: HorizontalPlacement;\n\n /**\n * How the sidebar must surface HOME — hidden, the pinned brand header, or a\n * navigation row. Resolved from config with the framework default applied, so\n * a preset never re-derives it.\n */\n homeDisplayMode: SidebarHomeDisplayMode;\n /**\n * App name + resolved brand-asset URL for the pinned header. Present ONLY in\n * `SidebarHomeDisplayMode.BRAND_HEADER`; `logoUrl` is itself optional because\n * an application may not have generated a brand yet.\n */\n brandHeader?: BrandIdentity;\n\n /**\n * `true` when the current viewport is at (or below) the sidebar's configured\n * `responsiveBreakpoint` AND the responsive policy is `BURGER`. In this mode the\n * sidebar renders NOTHING inline (width 0) and instead opens as an overlay drawer\n * (`isMobileDrawerOpen`) toggled by the menubar burger / `HOTKEY_SIDEBAR_TOGGLE`.\n */\n isMobileDrawerMode: boolean;\n /** Drawer open state — only meaningful while `isMobileDrawerMode` is true. */\n isMobileDrawerOpen: boolean;\n /** Closes the mobile drawer (backdrop click, Escape, post-navigation dismiss). */\n closeMobileDrawer: () => void;\n\n /**\n * Active-state check keyed on the ITEM's resolved `id`, not on the raw path:\n * two DISTINCT items sharing an identical `urlPath` (e.g. an item and its\n * favorites-section copy, which carries a `favorite-` prefixed id) must not\n * both highlight — one id (the first in section order carrying the winning\n * path) is elected (frontend-ux-quality-audit E2). Caveat: resolved ids are\n * deterministic per TARGET (`resolved-<type>-<op>-<variant>`), so declaring\n * the SAME launcher target in two sections yields two rows with one shared\n * id, and both still highlight — dedupe such declarations in config instead\n * (WT once declared Todos twice and hit exactly this).\n */\n isNavigationItemActive: (item: { id: string; urlPath?: string }) => boolean;\n isSectionCollapsed: (section: SectionRenderProps) => boolean;\n isItemCollapsed: (itemId: string) => boolean;\n\n handleNavigationClick: (item: AnyNavigationItem) => void;\n handleHomeClick: () => void;\n handleToggleCollapse: () => void;\n /**\n * Record a section's collapsed state. A SETTER rather than a toggle, deliberately: the\n * effective collapsed state is resolved from a stored entry, then `defaultSection`, then\n * `section.defaultCollapsed`, so a toggle that negated only the stored entry ignored the\n * first interaction on any section declaring `defaultCollapsed: true` (#631). Pass the value\n * the collapsible primitive gives you; do not re-derive it.\n */\n handleSetSectionCollapsed: (sectionRef: string, collapsed: boolean) => void;\n handleToggleItemCollapse: (itemId: string) => void;\n\n /**\n * `true` when the item is in the user's favorites. Accepts either an origin\n * item (keyed by its own `id`) or a favorites-section copy (keyed by its\n * `favoriteId`).\n */\n isItemFavorite: (item: Pick<HierarchicalNavigationItem, 'id' | 'favoriteId'>) => boolean;\n /**\n * Toggles the item in the persisted favorites set (star affordance). The\n * favorites section re-populates immediately; storage is machine-local\n * (`LOCAL_STORAGE_KEYS.SIDEBAR_FAVORITES`).\n */\n handleToggleItemFavorite: (item: Pick<HierarchicalNavigationItem, 'id' | 'favoriteId'>) => void;\n /**\n * Whether any `SidebarSectionBehavior.FAVORITES` section is configured — the\n * preset only offers the star affordance when favoriting has a destination.\n */\n hasFavoritesSection: boolean;\n\n inlineCreate: {\n activeSection: string | null;\n value: string;\n start: (sectionRef: string) => void;\n cancel: () => void;\n submit: (sectionRef: string, resourceType?: string) => void;\n setValue: (value: string) => void;\n };\n}\n\nexport interface AppShellLayoutInfo {\n hasMenubar: boolean;\n hasSidebar: boolean;\n hasStatusBar: boolean;\n hasToolbar: boolean;\n hasActivityBar: boolean;\n hasQuickActionButton: boolean;\n hasUtilityPanel: boolean;\n /**\n * The menubar or the sidebar hosts the quick-action button at the current breakpoint, so the content area draws\n * no floating one beside it (`isHostedInShellChrome`). Hosting moves a component; it never copies it.\n */\n quickActionButtonHostedInChrome: boolean;\n /** The menubar or the sidebar hosts the utility panel's trigger at the current breakpoint, so the shell edge does not. */\n utilityPanelHostedInChrome: boolean;\n sidebarPlacement: HorizontalPlacement.START | HorizontalPlacement.END;\n statusBarPlacement: StatusBarPlacement;\n utilityPanelPlacement: UtilityPanelPlacement;\n isLayoutReady: boolean;\n}\n\nexport interface PublicShellLayoutInfo {\n useCardLayout: boolean;\n isReady: boolean;\n /**\n * The identity to present above the public card, or `undefined` when the application has not\n * opted in via `publicShellIdentityMode`.\n *\n * EXPOSED only in the opted-in mode rather than always, mirroring `useSidebarBehavior`'s\n * `brandHeader`: a preset that receives an identity unconditionally can render a mark on a\n * surface the application never asked to brand, and no type would catch it.\n */\n brandHeader?: BrandIdentity;\n /** Tenant accent for the identity ornament only; never replaces accessible application theme tokens. */\n brandAccentColor?: string;\n}\n\nexport interface ToolbarDisplayItem {\n id: string;\n label: string;\n /** The tool's icon as a reference; the preset renders it (#1828). */\n iconReference?: NavigationIconReference;\n iconOnly?: boolean;\n onClick: () => void;\n}\n\nexport interface ToolbarBehavior {\n tools: ToolbarDisplayItem[];\n toolbarConfig: {\n placement: 'top' | 'bottom';\n compact: boolean;\n showSeparator: boolean;\n hideOnMobile: boolean;\n };\n shouldRender: boolean;\n currentBreakpoint: string | undefined;\n}\n\nexport enum QuickSwitcherFieldControlKind {\n ENUM = 'enum',\n RESOURCE_REFERENCE = 'resource_reference',\n RAW = 'raw',\n}\n\nexport interface QuickSwitcherResolvedField {\n fieldId: string;\n /** Guaranteed non-empty (config label → resource title → humanized field id → field id). */\n label: string;\n schema: z.ZodTypeAny;\n valueSchema: z.ZodTypeAny;\n disabled: boolean;\n isMultiple: boolean;\n controlKind: QuickSwitcherFieldControlKind;\n /**\n * Explicit target for `RESOURCE_REFERENCE` controls whose schema carries no\n * `isForeignKey` metadata — i.e. the primary-key fallback, where the switcher\n * is by definition selecting an instance of the scope field's `resourceType`.\n * `undefined` for FK-decorated schemas (the FK metadata names the target).\n */\n targetResourceType?: string;\n /** Input placeholder — localized resource title, falling back to `label`. Non-empty. */\n placeholder: string;\n /**\n * How each dropdown option renders — the declared\n * `appScope.fields[].optionDisplayMode`, defaulted to `LABEL`. Reuses the\n * framework's FK-rendering vocabulary: `LABEL` is the resource's own display\n * label, `SUMMARY` is its summary card.\n */\n optionDisplayMode: ForeignKeyDisplayMode;\n /**\n * Clear this field's ambient scope. A scope is inherently OPTIONAL — \"no list\n * selected\" is a first-class state the collection surfaces already produce —\n * so the control always offers an explicit way back to it rather than relying\n * on the combobox's undiscoverable re-click-to-toggle.\n */\n onClear: () => void;\n /** Whether anything is currently selected (drives the clear affordance). */\n hasValue: boolean;\n /**\n * How the closed control presents — the declared\n * `appScope.fields[].presentation`, defaulted to `CONTROL_ONLY`.\n *\n * Carried as DATA, never as a rendered node: resolving the resource's icon is\n * component-registry work, so the preset does it. Behavior hooks in this\n * framework never return `ReactNode` nor perform registry resolution: an icon\n * is a reference (`NavigationIconReference`), and a class or style a hook\n * returns is only ever one the application authored, passed through (#1828).\n */\n presentation: QuickSwitcherFieldPresentation;\n definition: AppScopeFieldDefinition;\n}\n\nexport interface QuickSwitcherBehavior {\n fields: QuickSwitcherResolvedField[];\n formMethods: UseFormReturn;\n layoutDirection: 'horizontal' | 'vertical';\n /**\n * Monotonically increasing counter — incremented when the\n * `HOTKEY_QUICK_SWITCHER_OPEN` event fires. Presets should watch\n * this value and focus the first enabled field when it changes.\n */\n focusTrigger: number;\n}\n\nexport interface StatusBarBehavior {\n totalBadgeCount: number;\n connectionStatus: WebSocketStatus;\n showConnectionStatus: boolean;\n showConnectionStatusOnMobile: boolean;\n shouldShowConnectionStatus: boolean;\n showNotificationCount: boolean;\n shouldShowNotificationCount: boolean;\n showMemoryUsage: boolean;\n memoryUsageLabel: string | null;\n notificationCountLabel: string;\n notificationCountAriaLabel: string;\n connectionStatusLabel: string;\n statusItems: StatusBarDisplayItem[];\n dimensions: { height: number };\n statusBarConfig: {\n isTop: boolean;\n isBottom: boolean;\n isMobile: boolean;\n /**\n * The shell draws one continuous canvas (`ShellAppearance.CONTINUOUS`): the bar is a transparent strip of it rather\n * than a sunken slab. Data, so the preset chooses the classes (#1828); the hook used to return them.\n */\n isContinuousShell: boolean;\n showBorder: boolean;\n };\n /**\n * What the application AUTHORED for the bar's appearance (`[STATUS_BAR].backgroundClassName`, `textClassName`,\n * `style`), passed through unchanged, or `undefined` when it authored none. The hook takes no styling decision of\n * its own: the defaults live in the preset, and a renderer that is not the DOM ignores these values.\n */\n authoredAppearance?: StatusBarAuthoredAppearance;\n currentBreakpoint: string | undefined;\n}\n\n/** The appearance overrides an application authored on the status bar's configuration object. */\nexport interface StatusBarAuthoredAppearance {\n backgroundClassName?: string;\n textClassName?: string;\n style?: React.CSSProperties;\n}\n\nexport interface StatusBarConfigItemBase {\n id: string;\n label: string;\n type: StatusBarItemType;\n icon?: string;\n value?: string | number;\n}\n\nexport interface StatusBarConfigItem_Link extends StatusBarConfigItemBase {\n type: StatusBarItemType.LINK;\n href: string;\n}\n\nexport interface StatusBarConfigItem_Button extends StatusBarConfigItemBase {\n type: StatusBarItemType.BUTTON;\n onClick: () => void;\n}\n\nexport interface StatusBarConfigItem_Text extends StatusBarConfigItemBase {\n type: StatusBarItemType.TEXT;\n}\n\nexport type StatusBarConfigItem =\n | StatusBarConfigItem_Link\n | StatusBarConfigItem_Button\n | StatusBarConfigItem_Text;\n\nexport enum StatusBarDisplayInteractionType {\n STATIC = 'static',\n LINK = 'link',\n BUTTON = 'button',\n}\n\nexport interface StatusBarDisplayInteraction_Static {\n type: StatusBarDisplayInteractionType.STATIC;\n}\n\nexport interface StatusBarDisplayInteraction_Link {\n type: StatusBarDisplayInteractionType.LINK;\n href: string;\n}\n\nexport interface StatusBarDisplayInteraction_Button {\n type: StatusBarDisplayInteractionType.BUTTON;\n onClick: () => void;\n}\n\nexport type StatusBarDisplayInteraction =\n | StatusBarDisplayInteraction_Static\n | StatusBarDisplayInteraction_Link\n | StatusBarDisplayInteraction_Button;\n\nexport interface StatusBarDisplayItem {\n id: string;\n label: string;\n iconReference?: string;\n valueText?: string;\n interaction: StatusBarDisplayInteraction;\n}\n\nexport interface ActivityBarLayout {\n direction: LayoutDirection;\n borderSide: PlacementSide;\n tooltipSide: PlacementSide;\n orientation: LayoutDirection;\n}\n\nexport interface ActivityBarBehavior {\n availableModes: AppModeDefinition[];\n activeMode: string | null;\n setActiveMode: (mode: string) => void;\n hasModes: boolean;\n activeRenderingMode: ActivityBarRendering;\n layout: ActivityBarLayout;\n isNavigationLoading: boolean;\n}\n\nexport enum ControlPanelControlType {\n BUTTON = 'button',\n TOGGLE = 'toggle',\n SLIDER = 'slider',\n SELECT = 'select',\n}\n\nexport interface ControlPanelBehavior {\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n groupedItems: Record<string, ControlPanelNavigationItem[]>;\n sections: ControlPanelSection[];\n controls: ControlPanelDisplayControl[];\n handleItemClick: (item: ControlPanelNavigationItem) => void;\n sheetSide: PlacementSide;\n isNavigationLoading: boolean;\n navigationItemCount: number;\n currentBreakpoint: string | undefined;\n}\n\nexport type ControlPanelNavigationItem = ResolvedControlPanelItem;\n\nexport interface ControlPanelSection {\n id: string;\n label: string;\n items: ControlPanelNavigationItem[];\n}\n\nexport interface ControlPanelDisplayControlBase {\n id: string;\n label: string;\n type: ControlPanelControlType;\n disabled: boolean;\n}\n\nexport interface ControlPanelDisplayControl_Button extends ControlPanelDisplayControlBase {\n type: ControlPanelControlType.BUTTON;\n onTrigger: () => void;\n}\n\nexport interface ControlPanelDisplayControl_Toggle extends ControlPanelDisplayControlBase {\n type: ControlPanelControlType.TOGGLE;\n value: boolean;\n onToggle: () => void;\n}\n\nexport interface ControlPanelDisplayControl_SelectOption {\n label: string;\n value: unknown;\n isSelected: boolean;\n onSelect: () => void;\n}\n\nexport interface ControlPanelDisplayControl_Select extends ControlPanelDisplayControlBase {\n type: ControlPanelControlType.SELECT;\n value?: unknown;\n options: ControlPanelDisplayControl_SelectOption[];\n}\n\nexport interface ControlPanelDisplayControl_Slider extends ControlPanelDisplayControlBase {\n type: ControlPanelControlType.SLIDER;\n value: number;\n min: number;\n max: number;\n step: number;\n onValueChange: (value: number) => void;\n}\n\nexport type ControlPanelDisplayControl =\n | ControlPanelDisplayControl_Button\n | ControlPanelDisplayControl_Toggle\n | ControlPanelDisplayControl_Select\n | ControlPanelDisplayControl_Slider;\n\n/**\n * One panel item, normalized for display, discriminated the same way its config is (#504).\n *\n * `resolvedComponentRef` and `resolvedViewRef` are both nullable and both mean the SAME thing: the item\n * names something this panel cannot host, and the preset must show that rather than render chrome\n * that looks like a component with nothing to say. Keeping the two kinds apart here is what stops\n * the preset guessing which ref an item meant.\n */\nexport type UtilityPanelDisplayItem =\n | {\n kind: LauncherItemTargetKind.CUSTOM_COMPONENT;\n componentRef: string;\n /**\n * The registry key the preset renders, or `null` when nothing is registered under that ref in\n * the default preset. Engine AND application components resolve here (#549); it used to be\n * `componentType: FrontendComponentType | null`, which made every application component `null`.\n */\n resolvedComponentRef: ComponentRegistryRef | null;\n icon: string;\n label: string;\n }\n | {\n kind: LauncherItemTargetKind.VIEW;\n viewRef: string;\n /** `null` when no declared view carries that ref, so an unknown ref is reported and not rendered blank. */\n resolvedViewRef: string | null;\n icon: string;\n label: string;\n };\n\nexport interface UtilityPanelBehavior {\n /** Whether the panel is expanded/open. */\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n /** Panel items normalized for display without moving registry resolution into the hook. */\n items: UtilityPanelDisplayItem[];\n /** Number of items. */\n itemCount: number;\n /** Horizontal position (START or END only). */\n position: UtilityPanelPlacement;\n /**\n * The trigger's glyph as the application chose it: the panel's `icon`, else the icon of its ONE item. `undefined`\n * when neither says, and the preset then draws the side-panel glyph of `position`.\n */\n triggerIcon: string | undefined;\n /**\n * The panel's name: the trigger's accessible name and tooltip, and the sheet's title. The title of a single hosted\n * view, the label of a single custom component, or the panel's generic title.\n */\n panelName: string;\n /**\n * The words `panelName` is read from have loaded. Until then the name would be a label KEY — the trigger's\n * accessible name and tooltip — so the preset waits on this as it waits on its own labels.\n */\n isPanelNameReady: boolean;\n /** Current breakpoint for responsive adjustments. */\n currentBreakpoint: string | undefined;\n}\n\n/**\n * The notification centre's contract — a SESSION FEED, not a message history (#412).\n *\n * Four members were removed on 2026-09-08 and each was asserting something the store cannot hold.\n * The store behind this is a `useReducer` with no hydration: it starts empty on every page load, and\n * nothing that arrived while the tab was closed is recoverable.\n *\n * | removed | why it could not be true |\n * |---|---|\n * | `unreadCount` / `handleMarkAllAsRead` | \"unread\" was a function of when the tab OPENED, and marking something read meant nothing — the state died with the page. A badge counting it was counting the current session's arrivals and calling them unread. |\n * | `filter` / `setFilter` | the only filter was ALL vs UNREAD, so it filtered on the read state above. Filtering \"what arrived since this page loaded\" by whether you had glanced at it is not a question anyone has. |\n * | `groupedNotifications` | today / yesterday / older, over a buffer that cannot contain a yesterday. The `older` bucket was unreachable and `yesterday` only fillable by leaving a tab open overnight. |\n *\n * What is left says what it is: the arrivals, newest first, each dismissable, and a way to clear\n * them. Persisting instead was weighed and declined — it creates a per-user personal-data store\n * carrying retention, privacy-classification, subject-export and erasure obligations for message\n * content, which is the real cost, not the table.\n */\nexport interface NotificationCenterBehavior {\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n /** Everything that has arrived since this page loaded, newest first. */\n sessionNotifications: NotificationCenterDisplayNotification[];\n notificationCount: number;\n handleClearAll: () => void;\n dismissNotification: (notificationId: string) => void;\n}\n\nexport interface NotificationCenterDisplayNotification {\n id: string;\n type: Notification['type'];\n source: Notification['source'];\n timestamp: number;\n displayTitle: string;\n displayMessage: string;\n relativeTimeLabel: string;\n iconReference: StandardIconReference;\n nextStep?: Notification['nextStep'];\n}\n\nexport interface QuickActionButtonDisplayItem {\n id: string;\n label: string;\n /** The action's icon as a reference; the preset renders it (#1828). */\n iconReference?: NavigationIconReference;\n displayPolicy?: string;\n onClick: () => void;\n}\n\nexport interface QuickActionButtonBehavior {\n allItems: QuickActionButtonDisplayItem[];\n primaryAction: QuickActionButtonDisplayItem | null;\n menuActions: QuickActionButtonDisplayItem[];\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n handleActionClick: (item: QuickActionButtonDisplayItem) => void;\n hasActions: boolean;\n isNavigationLoading: boolean;\n currentBreakpoint: string | undefined;\n}\n\nexport interface CommandMenuItem {\n id: string;\n label: string;\n shortcut: string;\n /** The command's icon as a reference; the preset renders it (#1828). */\n iconReference?: NavigationIconReference;\n category: string;\n keywords: string[];\n /** Internal policy from config — used by the hook to control grouping/visibility. */\n displayPolicy?: string;\n onExecute: () => void;\n}\n\nexport interface CommandMenuGroup {\n category: string;\n label: string;\n items: CommandMenuItem[];\n}\n\n/**\n * One live omnibox record-search result. Intentionally DISTINCT from\n * {@link CommandMenuItem}: a search result is a resource RECORD (it carries the\n * full summary-mode DTO in `record` + its `resourceType`) so the palette can\n * render it as the resource's summary VIEW (summary card), whereas a\n * `CommandMenuItem` is a static navigation command that only ever renders a\n * label + icon. Merging the two would collapse that semantic distinction and\n * force every static command to carry a nullable record.\n */\nexport interface CommandMenuSearchResultItem {\n id: string;\n /** Resource type of the matched record — drives summary-view + navigation. */\n resourceType: string;\n /** Full summary-mode DTO returned by SEARCH — fed to the summary renderer. */\n record: Record<string, unknown>;\n /** Resolved one-line label (LABEL display mode + summary-card fallback). */\n label: string;\n /**\n * Client-side match terms carried so cmdk's filter never drops a legitimate\n * server hit (always includes the raw query; matches may be on a field absent\n * from the label, e.g. `description`).\n */\n keywords: string[];\n /** Navigate to the matched record's addressable READ view, then close. */\n onExecute: () => void;\n}\n\n/** A group of omnibox search results for one searched resource. */\nexport interface CommandMenuSearchResultGroup {\n category: string;\n label: string;\n /** How each item in this group renders (summary card vs. one-line label). */\n displayMode: ForeignKeyDisplayMode;\n items: CommandMenuSearchResultItem[];\n}\n\n/**\n * Discriminant for {@link CommandMenuPaletteGroup} — whether an entry in the\n * unified, ordered palette list is a static command-category group or a live\n * record-search result group. The two stay DISTINCT types (a command is a\n * navigation target rendering a label; a record carries a full DTO rendering a\n * summary card) — this union only sequences them in one render order, it does\n * not merge their semantics.\n */\nexport enum CommandMenuPaletteGroupKind {\n COMMANDS = 'commands',\n RECORDS = 'records',\n}\n\n/**\n * One entry in the palette's SINGLE ordered group list — either a static\n * command-category group or a live record-search group, tagged with the numeric\n * `order` weight the palette sorted by (lower = higher). Produced by\n * `useCommandMenuBehavior` so the preset renders one uniform, ordered sequence\n * (record groups default above command groups while searching) instead of two\n * hard-coded blocks. The recent-commands group is rendered separately (always\n * pinned to the top) and is not part of this list.\n */\nexport type CommandMenuPaletteGroup =\n | { kind: CommandMenuPaletteGroupKind.COMMANDS; order: number; group: CommandMenuGroup }\n | { kind: CommandMenuPaletteGroupKind.RECORDS; order: number; group: CommandMenuSearchResultGroup };\n\nexport interface CommandMenuBehavior {\n isOpen: boolean;\n handleOpenChange: (open: boolean) => void;\n searchQuery: string;\n setSearchQuery: (query: string) => void;\n commandItems: CommandMenuItem[];\n groupedItems: CommandMenuGroup[];\n recentItems: CommandMenuItem[];\n /**\n * Live record-search result groups (omnibox layer). Empty unless the\n * `COMMAND_MENU` config sets `policy: OMNIBOX` with `searchResources` and the\n * current query meets the minimum length. Each item's `onExecute` navigates\n * to the matched record's READ view. Items render as the resource's summary\n * view (or a one-line label per the resource's `resultDisplay` config).\n */\n searchResultGroups: CommandMenuSearchResultGroup[];\n /**\n * The unified, ORDERED render list the preset iterates: record groups and\n * static command-category groups merged and sorted by a single numeric `order`\n * weight (record groups default above command groups while searching; apps\n * override per record group via `CommandMenuSearchResource.order`, and command\n * categories sequence among themselves via `[COMMAND_MENU].categoryOrder`).\n * The recent-commands group is NOT included here — it is always rendered first,\n * separately. Derived from `groupedItems` + `searchResultGroups` (which remain\n * available as the raw, per-source building blocks).\n */\n orderedGroups: CommandMenuPaletteGroup[];\n /** True while an omnibox record search is in flight for the current query. */\n isSearching: boolean;\n isNavigationLoading: boolean;\n showRecent: boolean;\n showShortcuts: boolean;\n /**\n * Global open-shortcut string (e.g. `'Cmd+K'`) from config, or `undefined`\n * when none is declared. The preset renders it as the trigger's `⌘K` hint.\n */\n openShortcut: string | undefined;\n /**\n * The desktop max-width class the application AUTHORED for the palette dialog (`[COMMAND_MENU].dialogWidth`), passed\n * through unchanged, or `undefined` when it authored none. The default width is the preset's (#1828).\n */\n authoredDialogWidth?: string;\n}\n\nexport interface MenuUserOrgBehavior {\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n isUserAuthenticated: boolean;\n userInitials: string;\n displayName: string;\n email: string;\n avatarUrl: string | undefined;\n currentOrganization: { _id: string; name: string } | undefined;\n /**\n * The organizations the person can switch into. `viaOrganizationName` is present only on a GRANTING\n * organization they work in as a representative (#1597) — the representing organization's name, so the\n * switcher can group granting organizations apart from the person's own organizations and say through whom\n * each is reached. A granting organization appears only while its relationship is live: the organization\n * read behind this list passes the per-request live filter, so an ended or paused relationship drops it\n * from the switcher.\n */\n organizations: { _id: string; name: string; viaOrganizationName?: string }[];\n /**\n * The person's organizations `organizations` does not hold (#2452): the user context carries only the newest 20\n * memberships, so a person in more is offered the rest by search. Counted from the backend's access profile (its\n * organization-wide entries, the population the search returns); `0` without a profile, and whenever every\n * organization is already listed. The switcher shows its search when this is above zero.\n */\n unlistedOrganizationCount: number;\n /** The text typed in the switcher's search; empty when not searching. */\n organizationSearchQuery: string;\n setOrganizationSearchQuery: (query: string) => void;\n /**\n * The search's answer, or `null` while no search applies: the query is shorter than\n * `ORGANIZATION_SEARCH_MIN_CHARS`, or the first answer has not arrived. Found through\n * `GET /organizations/search/mine`, which reads only the caller's own organizations.\n */\n organizationSearchResults: { _id: string; name: string }[] | null;\n isSearchingOrganizations: boolean;\n /** Whether the last search failed; the switcher says so instead of showing an empty result as \"none found\". */\n organizationSearchFailed: boolean;\n /** Dropdown sections to render. The `SETTINGS` entry opens the unified Settings Hub. */\n sections: UserDropdownSection[];\n avatarDisplay: UserDropdownAvatarDisplay;\n showOrgSwitcher: boolean;\n showLogout: boolean;\n /** The Settings Hub itself (no section). Rendered after any authored shortcuts, so the hub is always reachable. */\n settingsTarget: ResolvedNavigationTarget | null;\n /** Authored shortcuts into hub sections (`settingsEntries`), each labelled by the section it opens. */\n settingsTargets: ResolvedNavigationTarget[];\n popupAlignment: { align: HorizontalAlign; side: PlacementSide };\n handleLogout: () => void;\n handleSwitchOrg: (orgId: string) => void;\n handleNavigateToSettingsTarget: (target: ResolvedNavigationTarget) => void;\n}\n\nexport interface MenuBarBehavior {\n containerComponents: ResolvedHostedComponent[];\n /**\n * The identity to render as the bar's HOME affordance. Present ONLY when the menubar config\n * opted in (`brandHeader: true`), mirroring `useSidebarBehavior`'s `brandHeader`: a preset that\n * receives an identity unconditionally can render a mark on a surface the application never asked\n * to brand, and no type would catch it.\n */\n brandHeader?: BrandIdentity;\n /** Whether the current location is home — `aria-current` for the brand header. */\n isHomeActive: boolean;\n /** Home navigation with a fresh navigation start, the same act as the sidebar's brand header. */\n handleHomeClick: () => void;\n items: {\n id: string;\n label: string;\n /** The item's icon as a reference; the preset renders it (#1828). */\n iconReference?: NavigationIconReference;\n group?: string;\n /** Whether this item is the current destination — at most one item is (see `useMenuBarBehavior`). */\n isActive: boolean;\n /** The badge KEY to draw beside the label (`NavigationItemBadge`), when the declaration names one. */\n notificationBadgeRef?: string;\n onExecute: () => void;\n }[];\n menubarConfig: {\n mode: string;\n isOverlay: boolean;\n showMobileLayout: boolean;\n };\n mapToFrontendComponentType: (type: ApplicationLevelComponentType) => FrontendComponentType | null;\n}\n"]}
1
+ {"version":3,"file":"app-shell.schemas.js","sourceRoot":"","sources":["../../../../src/core/app-shell/app-shell.schemas.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAmM1E,MAA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IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,4CAAiB,CAAA;IACjB,4CAAiB,CAAA;IACjB,4CAAiB,CAAA;AACnB,CAAC,EALW,uBAAuB,KAAvB,uBAAuB,QAKlC;AAmPD;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,oDAAqB,CAAA;IACrB,kDAAmB,CAAA;AACrB,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,QAGtC;AAkED,+FAA+F;AAC/F,MAAM,CAAN,IAAY,6BAOX;AAPD,WAAY,6BAA6B;IACvC,sCAAsC;IACtC,4CAAW,CAAA;IACX,wHAAwH;IACxH,sDAAqB,CAAA;IACrB,2FAA2F;IAC3F,kEAAiC,CAAA;AACnC,CAAC,EAPW,6BAA6B,KAA7B,6BAA6B,QAOxC;AA8FD,iGAAiG;AACjG,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,mCAAe,CAAA;AACjB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B","sourcesContent":["import type React from 'react';\nimport type { UseFormReturn } from 'react-hook-form';\nimport type { z } from 'zod';\n\nimport { HorizontalPlacement } from '@wildo-ai/presets-components-models';\nimport type { VerticalPlacement } from '@wildo-ai/presets-components-models';\nimport type { ForeignKeyDisplayMode, ViewportBreakpoint } from '@wildo-ai/zod-decorators';\nimport type { AppScopeFieldDefinition } from '~wildo-frontend-lib/core/resources/resources.frontend.schemas';\nimport type { ApplicationLevelComponentType, StatusBarItemType, StatusBarPlacement } from '~wildo-frontend-lib/core/config/app-level-components.frontend.schemas';\nimport type {\n QuickSwitcherFieldPresentation,\n UserDropdownAvatarDisplay,\n UserDropdownSection,\n} from '~wildo-frontend-lib/core/config/app-configuration-frontend.schemas';\nimport type { FrontendComponentType, PlacementSide } from '@wildo-ai/presets-components-models';\nimport type { ComponentRegistryRef } from '~wildo-frontend-lib/core/components-registry/component-registry.frontend.schemas';\nimport type { StandardIconReference } from '~wildo-frontend-lib/core/icons/icon-registry.frontend.schemas';\nimport type { LauncherItemTargetKind } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport type { HorizontalAlign, LayoutDirection } from '@wildo-ai/zod-decorators';\nimport type { Notification } from '~wildo-frontend-lib/core/events/NotificationContext';\nimport type { AnyNavigationItem, NavigationIconReference, NavigationZone } from '~wildo-frontend-lib/core/navigation/navigation.schemas';\nimport type { ResolvedControlPanelItem, ResolvedNavigationTarget } from '~wildo-frontend-lib/core/navigation/launcher-resolution';\nimport type { WebSocketStatus } from '~wildo-frontend-lib/core/requests/websockets/WebSocketContext';\nimport type {\n ActivityBarRendering,\n AppModeDefinition,\n ResourceBrowserClickContext,\n SidebarHomeDisplayMode,\n SidebarSection,\n SidebarSectionBehavior,\n SidebarSectionContentKind,\n SidebarSectionInlineCreate,\n SidebarHostedComponent,\n UtilityPanelItem,\n} from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport type { BrandAssetTheme } from '@wildo-ai/saas-models';\nimport type { BrandIdentity } from '~wildo-frontend-lib/core/branding/useBrandIdentity';\nimport { SidebarResponsivePolicy } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\nimport type { HostedTriggerAppearance } from '~wildo-frontend-lib/core/config/launcher-items.frontend.schemas';\n\n\n/** Navigation item with optional children for hierarchical rendering */\nexport type HierarchicalNavigationItem = AnyNavigationItem & {\n children?: AnyNavigationItem[];\n /**\n * Canonical favorite identity for FAVORITES-section copies. A favorited item\n * renders twice (its origin section AND the favorites section); the favorites\n * copy carries a DISTINCT `id` (so the exactly-one-active invariant keeps a\n * single highlighted row) and `favoriteId` = the origin item's id — the key\n * the favorites store persists and the star toggle operates on. Absent on\n * origin items (their own `id` IS the favorite key).\n */\n favoriteId?: string;\n};\n\n/**\n * A hosted component resolved from a surface's `hostedComponents` config entry,\n * ready for the preset to mount. Shared by BOTH the menubar and the sidebar —\n * they run one hosting pipeline (`resolveHostedComponents`) so the container\n * inversion model, interaction ownership, and per-placement width thread through\n * a single implementation rather than being duplicated per surface.\n *\n * `instanceId` is SURFACE-QUALIFIED (e.g. `menubar:command_menu-0`) so the\n * shell-level interaction owner can disambiguate the same component hosted in\n * two surfaces at once (a command-menu trigger in the menubar AND the sidebar).\n */\nexport interface ResolvedHostedComponent {\n instanceId: string;\n component: ApplicationLevelComponentType;\n frontendComponentType: FrontendComponentType;\n /**\n * Horizontal zone (menubar) or vertical end (sidebar). Always concrete:\n * `resolveHostedComponents` normalizes an omitted config `placement` to the\n * surface's default zone (menubar START / sidebar TOP), so preset-side\n * per-zone equality filters can never silently drop a hosted component.\n */\n placement: HorizontalPlacement | VerticalPlacement;\n presetName?: string;\n /** Per-placement trigger width override (see `MenubarHostedComponent.triggerWidth`). */\n triggerWidth?: string | number;\n /** Per-placement trigger appearance (see `HostedTriggerAppearance`). */\n triggerAppearance?: HostedTriggerAppearance;\n}\n\n/**\n * Lightweight rendering props extracted from a sidebar section definition.\n * Used by the rendering layer (sidebar preset) to render section headers,\n * collapse behavior, and inline create — without coupling to the config schema.\n */\nexport interface SectionRenderProps {\n ref: string;\n label?: string;\n icon?: string;\n /** Whether the section header (label + icon) is rendered. Defaults to `true`. */\n showLabel: boolean;\n collapsible: boolean;\n defaultCollapsed: boolean;\n /**\n * Primary navigation group — rendered at the top of the sidebar (no header,\n * not collapsible), sharing that group with the framework Home row when\n * `homeDisplayMode` is `NAVIGATION_ITEM`. See\n * `SidebarSection_NavigationList.isPrimary`.\n */\n isPrimary?: boolean;\n behavior?: SidebarSectionBehavior;\n inlineCreate?: SidebarSectionInlineCreate;\n inlineCreateResourceType?: string;\n nested?: boolean;\n maxNestingDepth?: number;\n}\n\n/**\n * A grouped sidebar section for rendering.\n *\n * When `contentKind` is undefined or `NAVIGATION_LIST`, this is a traditional\n * navigation item list. When `contentKind` is a different variant, the section\n * renders specialized content and `items` will be empty.\n */\nexport interface SectionGroup {\n section: SectionRenderProps;\n items: HierarchicalNavigationItem[];\n moreMenuItems: HierarchicalNavigationItem[];\n /**\n * Discriminant from the new per-launcher config. When undefined, this section\n * was produced by the old scan-based path (treat as NAVIGATION_LIST).\n */\n contentKind?: SidebarSectionContentKind;\n /** RESOURCE_BROWSER: resource type to browse. */\n resourceType?: string;\n /** RESOURCE_BROWSER: operation override. */\n operation?: string;\n /** RESOURCE_BROWSER: operation variant. */\n operationVariant?: string;\n /** RESOURCE_BROWSER: click/navigation operation override. */\n navigateOperation?: string;\n /** RESOURCE_BROWSER: click/navigation operation variant. */\n navigateOperationVariant?: string;\n /** RESOURCE_BROWSER: client-side instance filter. */\n instanceFilter?: (instance: Record<string, unknown>) => boolean;\n /** RESOURCE_BROWSER: custom click handler. */\n onInstanceClick?: (context: ResourceBrowserClickContext) => void;\n /** GUIDANCE_WIDGET: guidance component ref. */\n guidanceRef?: string;\n /** CUSTOM_COMPONENT: custom component ref. */\n componentRef?: string;\n}\n\n/**\n * Sidebar config object — matches the transformed shape from `UIContext`\n * (`ViewportAwareAppLevelComponentConfigurationSchema` → transformer →\n * `{ placement, collapsible, policy }`).\n *\n * The raw model uses `responsivePolicy`, but the transformer renames it\n * to `policy` in the runtime config.\n */\nexport interface SidebarConfigObject {\n placement: HorizontalPlacement.START | HorizontalPlacement.END;\n collapsible: boolean;\n /**\n * Starting rail state for a visitor with NO stored preference. Absent means\n * the framework default, expanded. A persisted\n * `LOCAL_STORAGE_KEYS.SIDEBAR_COLLAPSED` always wins over it — this is a\n * starting position, not a lock.\n */\n defaultCollapsed?: boolean;\n policy: SidebarResponsivePolicy;\n /**\n * Viewport threshold at (or below) which the responsive `policy` applies.\n * Authored as `responsiveBreakpoint` in the raw model and carried through the\n * UIContext transformer's rest-spread. Defaults to `ViewportBreakpoint.MOBILE`\n * (the Zod schema default) when absent.\n */\n responsiveBreakpoint?: ViewportBreakpoint;\n /**\n * How the sidebar surfaces HOME (hidden / pinned brand header / navigation\n * row). Absent means the framework default, `NAVIGATION_ITEM`, applied by\n * `useSidebarBehavior`.\n */\n homeDisplayMode?: SidebarHomeDisplayMode;\n /**\n * Pins which brand-mark variant the BRAND_HEADER mode renders (e.g.\n * `MONOCHROME`). Absent means adaptive light/dark.\n */\n brandMarkTheme?: BrandAssetTheme;\n /** Per-launcher content declarations — discriminated union on `contentKind`. */\n contentSections?: SidebarSection[];\n /** Components hosted inside the sidebar via container inversion (mirror of menubar `hostedComponents`). */\n hostedComponents?: SidebarHostedComponent[];\n defaultSection?: string;\n /** Desktop sidebar width in px. Defaults to 256. */\n width?: number;\n /** Mobile sidebar width in px. Defaults to 280. */\n mobileWidth?: number;\n /** Desktop collapsed width in px. Defaults to 64. */\n collapsedWidth?: number;\n /** Mobile collapsed width in px. Defaults to 56. */\n mobileCollapsedWidth?: number;\n}\n\nexport function isSidebarConfigObject(config: unknown): config is SidebarConfigObject {\n return typeof config === 'object' && config !== null && 'placement' in config && 'collapsible' in config;\n}\n\n/**\n * The object form of the status bar's configuration. The configuration is `boolean | StatusBarPlacement (the\n * string shorthand) | StatusBarConfigObject`.\n */\nexport interface StatusBarConfigObject {\n placement?: StatusBarPlacement;\n showMemoryUsage?: boolean;\n showNotificationCount?: boolean;\n /**\n * Whether the bar reports the realtime connection. It speaks only while the connection is degraded (connecting,\n * reconnecting, lost) and says nothing while connected.\n */\n showConnectionStatus?: boolean;\n showConnectionStatusOnMobile?: boolean;\n backgroundClassName?: string;\n textClassName?: string;\n showBorder?: boolean;\n height?: number;\n statusItems?: StatusBarConfigItem[];\n style?: React.CSSProperties;\n}\n\n/** Narrowing guard for the object form, distinguishing it from the boolean and string-shorthand forms. */\nexport function isStatusBarConfigObject(config: unknown): config is StatusBarConfigObject {\n return typeof config === 'object' && config !== null && !Array.isArray(config);\n}\n\nexport type UtilityPanelPlacement =\n | HorizontalPlacement.START\n | HorizontalPlacement.END;\n\nexport interface UtilityPanelConfigObject {\n items?: UtilityPanelItem[];\n position?: UtilityPanelPlacement;\n /** The trigger's glyph (a standard icon reference). See the `UTILITY_PANEL` config schema. */\n icon?: string;\n}\n\nexport function isUtilityPanelConfigObject(config: unknown): config is UtilityPanelConfigObject {\n if (typeof config !== 'object' || config === null || Array.isArray(config)) {\n return false;\n }\n\n const candidate = config as Record<string, unknown>;\n const isValidPosition =\n candidate.position === undefined ||\n candidate.position === HorizontalPlacement.START ||\n candidate.position === HorizontalPlacement.END;\n const isValidItems = candidate.items === undefined || Array.isArray(candidate.items);\n\n return isValidPosition && isValidItems;\n}\n\n\n// ---------------------------------------------------------------------------\n// Behavior hook return types\n// ---------------------------------------------------------------------------\n\n/**\n * Standalone navigation behavioral utilities — active-state checking, click dispatch, and home navigation.\n *\n * A row's display policy (`SidebarItemDisplayPolicy`) is read ONCE, where the sidebar partitions a section's rows\n * into listed rows and its \"More\" menu (`useSidebarBehavior`). A second reader here, typed with an unnamed string\n * union and never called, was removed so the two could not disagree.\n *\n * Does NOT include items — consumers obtain items from per-launcher\n * resolution or auto-items.\n *\n * `handleNavigationClick` accepts `launcher` as a second parameter since\n * this interface is not scoped to a single launcher.\n */\nexport interface NavigationBehaviors {\n isNavigationItemActive: (urlPath: string) => boolean;\n handleNavigationClick: (item: AnyNavigationItem, launcher: ApplicationLevelComponentType) => void;\n handleHomeClick: () => void;\n isHomeActive: boolean;\n}\n\nexport interface SidebarBehavior {\n groupedSections: SectionGroup[];\n /**\n * Components hosted in the sidebar (container inversion), resolved from\n * `[SIDEBAR].hostedComponents` through the SAME pipeline the menubar uses.\n * The preset resolves each via the component registry and mounts it with the\n * shell-level interaction-owner props.\n */\n hostedComponents: ResolvedHostedComponent[];\n isCollapsed: boolean;\n isHomeActive: boolean;\n dimensions: { width: number; collapsedWidth: number };\n sidebarConfig: {\n isCollapsible: boolean;\n responsivePolicy: SidebarResponsivePolicy;\n currentWidth: number;\n };\n isNavigationLoading: boolean;\n hasItems: boolean;\n placement: HorizontalPlacement;\n\n /**\n * How the sidebar must surface HOME — hidden, the pinned brand header, or a\n * navigation row. Resolved from config with the framework default applied, so\n * a preset never re-derives it.\n */\n homeDisplayMode: SidebarHomeDisplayMode;\n /**\n * App name + resolved brand-asset URL for the pinned header. Present ONLY in\n * `SidebarHomeDisplayMode.BRAND_HEADER`; `logoUrl` is itself optional because\n * an application may not have generated a brand yet.\n */\n brandHeader?: BrandIdentity;\n\n /**\n * `true` when the current viewport is at (or below) the sidebar's configured\n * `responsiveBreakpoint` AND the responsive policy is `BURGER`. In this mode the\n * sidebar renders NOTHING inline (width 0) and instead opens as an overlay drawer\n * (`isMobileDrawerOpen`) toggled by the menubar burger / `HOTKEY_SIDEBAR_TOGGLE`.\n */\n isMobileDrawerMode: boolean;\n /** Drawer open state — only meaningful while `isMobileDrawerMode` is true. */\n isMobileDrawerOpen: boolean;\n /** Closes the mobile drawer (backdrop click, Escape, post-navigation dismiss). */\n closeMobileDrawer: () => void;\n\n /**\n * Active-state check keyed on the ITEM's resolved `id`, not on the raw path:\n * two DISTINCT items sharing an identical `urlPath` (e.g. an item and its\n * favorites-section copy, which carries a `favorite-` prefixed id) must not\n * both highlight — one id (the first in section order carrying the winning\n * path) is elected (frontend-ux-quality-audit E2). Caveat: resolved ids are\n * deterministic per TARGET (`resolved-<type>-<op>-<variant>`), so declaring\n * the SAME launcher target in two sections yields two rows with one shared\n * id, and both still highlight — dedupe such declarations in config instead\n * (WT once declared Todos twice and hit exactly this).\n */\n isNavigationItemActive: (item: { id: string; urlPath?: string }) => boolean;\n isSectionCollapsed: (section: SectionRenderProps) => boolean;\n isItemCollapsed: (itemId: string) => boolean;\n\n handleNavigationClick: (item: AnyNavigationItem) => void;\n handleHomeClick: () => void;\n handleToggleCollapse: () => void;\n /**\n * Record a section's collapsed state. A SETTER rather than a toggle, deliberately: the\n * effective collapsed state is resolved from a stored entry, then `defaultSection`, then\n * `section.defaultCollapsed`, so a toggle that negated only the stored entry ignored the\n * first interaction on any section declaring `defaultCollapsed: true` (#631). Pass the value\n * the collapsible primitive gives you; do not re-derive it.\n */\n handleSetSectionCollapsed: (sectionRef: string, collapsed: boolean) => void;\n handleToggleItemCollapse: (itemId: string) => void;\n\n /**\n * `true` when the item is in the user's favorites. Accepts either an origin\n * item (keyed by its own `id`) or a favorites-section copy (keyed by its\n * `favoriteId`).\n */\n isItemFavorite: (item: Pick<HierarchicalNavigationItem, 'id' | 'favoriteId'>) => boolean;\n /**\n * Toggles the item in the persisted favorites set (star affordance). The\n * favorites section re-populates immediately; storage is machine-local\n * (`LOCAL_STORAGE_KEYS.SIDEBAR_FAVORITES`).\n */\n handleToggleItemFavorite: (item: Pick<HierarchicalNavigationItem, 'id' | 'favoriteId'>) => void;\n /**\n * Whether any `SidebarSectionBehavior.FAVORITES` section is configured — the\n * preset only offers the star affordance when favoriting has a destination.\n */\n hasFavoritesSection: boolean;\n\n inlineCreate: {\n activeSection: string | null;\n value: string;\n start: (sectionRef: string) => void;\n cancel: () => void;\n submit: (sectionRef: string, resourceType?: string) => void;\n setValue: (value: string) => void;\n };\n}\n\nexport interface AppShellLayoutInfo {\n hasMenubar: boolean;\n hasSidebar: boolean;\n hasStatusBar: boolean;\n hasToolbar: boolean;\n hasActivityBar: boolean;\n hasQuickActionButton: boolean;\n hasUtilityPanel: boolean;\n /**\n * The menubar or the sidebar hosts the quick-action button at the current breakpoint, so the content area draws\n * no floating one beside it (`isHostedInShellChrome`). Hosting moves a component; it never copies it.\n */\n quickActionButtonHostedInChrome: boolean;\n /** The menubar or the sidebar hosts the utility panel's trigger at the current breakpoint, so the shell edge does not. */\n utilityPanelHostedInChrome: boolean;\n sidebarPlacement: HorizontalPlacement.START | HorizontalPlacement.END;\n statusBarPlacement: StatusBarPlacement;\n utilityPanelPlacement: UtilityPanelPlacement;\n isLayoutReady: boolean;\n}\n\nexport interface PublicShellLayoutInfo {\n useCardLayout: boolean;\n isReady: boolean;\n /**\n * The identity to present above the public card, or `undefined` when the application has not\n * opted in via `publicShellIdentityMode`.\n *\n * EXPOSED only in the opted-in mode rather than always, mirroring `useSidebarBehavior`'s\n * `brandHeader`: a preset that receives an identity unconditionally can render a mark on a\n * surface the application never asked to brand, and no type would catch it.\n */\n brandHeader?: BrandIdentity;\n /** Tenant accent for the identity ornament only; never replaces accessible application theme tokens. */\n brandAccentColor?: string;\n}\n\nexport interface ToolbarDisplayItem {\n id: string;\n label: string;\n /** The tool's icon as a reference; the preset renders it (#1828). */\n iconReference?: NavigationIconReference;\n iconOnly?: boolean;\n onClick: () => void;\n}\n\nexport interface ToolbarBehavior {\n tools: ToolbarDisplayItem[];\n toolbarConfig: {\n placement: 'top' | 'bottom';\n compact: boolean;\n showSeparator: boolean;\n hideOnMobile: boolean;\n };\n shouldRender: boolean;\n currentBreakpoint: string | undefined;\n}\n\nexport enum QuickSwitcherFieldControlKind {\n ENUM = 'enum',\n RESOURCE_REFERENCE = 'resource_reference',\n RAW = 'raw',\n}\n\nexport interface QuickSwitcherResolvedField {\n fieldId: string;\n /** Guaranteed non-empty (config label → resource title → humanized field id → field id). */\n label: string;\n schema: z.ZodTypeAny;\n valueSchema: z.ZodTypeAny;\n disabled: boolean;\n isMultiple: boolean;\n controlKind: QuickSwitcherFieldControlKind;\n /**\n * Explicit target for `RESOURCE_REFERENCE` controls whose schema carries no\n * `isForeignKey` metadata — i.e. the primary-key fallback, where the switcher\n * is by definition selecting an instance of the scope field's `resourceType`.\n * `undefined` for FK-decorated schemas (the FK metadata names the target).\n */\n targetResourceType?: string;\n /** Input placeholder — localized resource title, falling back to `label`. Non-empty. */\n placeholder: string;\n /**\n * How each dropdown option renders — the declared\n * `appScope.fields[].optionDisplayMode`, defaulted to `LABEL`. Reuses the\n * framework's FK-rendering vocabulary: `LABEL` is the resource's own display\n * label, `SUMMARY` is its summary card.\n */\n optionDisplayMode: ForeignKeyDisplayMode;\n /**\n * Clear this field's ambient scope. A scope is inherently OPTIONAL — \"no list\n * selected\" is a first-class state the collection surfaces already produce —\n * so the control always offers an explicit way back to it rather than relying\n * on the combobox's undiscoverable re-click-to-toggle.\n */\n onClear: () => void;\n /** Whether anything is currently selected (drives the clear affordance). */\n hasValue: boolean;\n /**\n * How the closed control presents — the declared\n * `appScope.fields[].presentation`, defaulted to `CONTROL_ONLY`.\n *\n * Carried as DATA, never as a rendered node: resolving the resource's icon is\n * component-registry work, so the preset does it. Behavior hooks in this\n * framework never return `ReactNode` nor perform registry resolution: an icon\n * is a reference (`NavigationIconReference`), and a class or style a hook\n * returns is only ever one the application authored, passed through (#1828).\n */\n presentation: QuickSwitcherFieldPresentation;\n definition: AppScopeFieldDefinition;\n}\n\nexport interface QuickSwitcherBehavior {\n fields: QuickSwitcherResolvedField[];\n formMethods: UseFormReturn;\n layoutDirection: 'horizontal' | 'vertical';\n /**\n * Monotonically increasing counter — incremented when the\n * `HOTKEY_QUICK_SWITCHER_OPEN` event fires. Presets should watch\n * this value and focus the first enabled field when it changes.\n */\n focusTrigger: number;\n}\n\nexport interface StatusBarBehavior {\n totalBadgeCount: number;\n connectionStatus: WebSocketStatus;\n showConnectionStatus: boolean;\n showConnectionStatusOnMobile: boolean;\n shouldShowConnectionStatus: boolean;\n showNotificationCount: boolean;\n shouldShowNotificationCount: boolean;\n showMemoryUsage: boolean;\n memoryUsageLabel: string | null;\n notificationCountLabel: string;\n notificationCountAriaLabel: string;\n connectionStatusLabel: string;\n statusItems: StatusBarDisplayItem[];\n dimensions: { height: number };\n statusBarConfig: {\n isTop: boolean;\n isBottom: boolean;\n isMobile: boolean;\n /**\n * The shell draws one continuous canvas (`ShellAppearance.CONTINUOUS`): the bar is a transparent strip of it rather\n * than a sunken slab. Data, so the preset chooses the classes (#1828); the hook used to return them.\n */\n isContinuousShell: boolean;\n showBorder: boolean;\n };\n /**\n * What the application AUTHORED for the bar's appearance (`[STATUS_BAR].backgroundClassName`, `textClassName`,\n * `style`), passed through unchanged, or `undefined` when it authored none. The hook takes no styling decision of\n * its own: the defaults live in the preset, and a renderer that is not the DOM ignores these values.\n */\n authoredAppearance?: StatusBarAuthoredAppearance;\n currentBreakpoint: string | undefined;\n}\n\n/** The appearance overrides an application authored on the status bar's configuration object. */\nexport interface StatusBarAuthoredAppearance {\n backgroundClassName?: string;\n textClassName?: string;\n style?: React.CSSProperties;\n}\n\nexport interface StatusBarConfigItemBase {\n id: string;\n label: string;\n type: StatusBarItemType;\n icon?: string;\n value?: string | number;\n}\n\nexport interface StatusBarConfigItem_Link extends StatusBarConfigItemBase {\n type: StatusBarItemType.LINK;\n href: string;\n}\n\nexport interface StatusBarConfigItem_Button extends StatusBarConfigItemBase {\n type: StatusBarItemType.BUTTON;\n onClick: () => void;\n}\n\nexport interface StatusBarConfigItem_Text extends StatusBarConfigItemBase {\n type: StatusBarItemType.TEXT;\n}\n\nexport type StatusBarConfigItem =\n | StatusBarConfigItem_Link\n | StatusBarConfigItem_Button\n | StatusBarConfigItem_Text;\n\nexport enum StatusBarDisplayInteractionType {\n STATIC = 'static',\n LINK = 'link',\n BUTTON = 'button',\n}\n\nexport interface StatusBarDisplayInteraction_Static {\n type: StatusBarDisplayInteractionType.STATIC;\n}\n\nexport interface StatusBarDisplayInteraction_Link {\n type: StatusBarDisplayInteractionType.LINK;\n href: string;\n}\n\nexport interface StatusBarDisplayInteraction_Button {\n type: StatusBarDisplayInteractionType.BUTTON;\n onClick: () => void;\n}\n\nexport type StatusBarDisplayInteraction =\n | StatusBarDisplayInteraction_Static\n | StatusBarDisplayInteraction_Link\n | StatusBarDisplayInteraction_Button;\n\nexport interface StatusBarDisplayItem {\n id: string;\n label: string;\n iconReference?: string;\n valueText?: string;\n interaction: StatusBarDisplayInteraction;\n}\n\nexport interface ActivityBarLayout {\n direction: LayoutDirection;\n borderSide: PlacementSide;\n tooltipSide: PlacementSide;\n orientation: LayoutDirection;\n}\n\nexport interface ActivityBarBehavior {\n availableModes: AppModeDefinition[];\n activeMode: string | null;\n setActiveMode: (mode: string) => void;\n hasModes: boolean;\n activeRenderingMode: ActivityBarRendering;\n layout: ActivityBarLayout;\n isNavigationLoading: boolean;\n}\n\nexport enum ControlPanelControlType {\n BUTTON = 'button',\n TOGGLE = 'toggle',\n SLIDER = 'slider',\n SELECT = 'select',\n}\n\nexport interface ControlPanelBehavior {\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n groupedItems: Record<string, ControlPanelNavigationItem[]>;\n sections: ControlPanelSection[];\n controls: ControlPanelDisplayControl[];\n handleItemClick: (item: ControlPanelNavigationItem) => void;\n sheetSide: PlacementSide;\n isNavigationLoading: boolean;\n navigationItemCount: number;\n currentBreakpoint: string | undefined;\n}\n\nexport type ControlPanelNavigationItem = ResolvedControlPanelItem;\n\nexport interface ControlPanelSection {\n id: string;\n label: string;\n items: ControlPanelNavigationItem[];\n}\n\nexport interface ControlPanelDisplayControlBase {\n id: string;\n label: string;\n type: ControlPanelControlType;\n disabled: boolean;\n}\n\nexport interface ControlPanelDisplayControl_Button extends ControlPanelDisplayControlBase {\n type: ControlPanelControlType.BUTTON;\n onTrigger: () => void;\n}\n\nexport interface ControlPanelDisplayControl_Toggle extends ControlPanelDisplayControlBase {\n type: ControlPanelControlType.TOGGLE;\n value: boolean;\n onToggle: () => void;\n}\n\nexport interface ControlPanelDisplayControl_SelectOption {\n label: string;\n value: unknown;\n isSelected: boolean;\n onSelect: () => void;\n}\n\nexport interface ControlPanelDisplayControl_Select extends ControlPanelDisplayControlBase {\n type: ControlPanelControlType.SELECT;\n value?: unknown;\n options: ControlPanelDisplayControl_SelectOption[];\n}\n\nexport interface ControlPanelDisplayControl_Slider extends ControlPanelDisplayControlBase {\n type: ControlPanelControlType.SLIDER;\n value: number;\n min: number;\n max: number;\n step: number;\n onValueChange: (value: number) => void;\n}\n\nexport type ControlPanelDisplayControl =\n | ControlPanelDisplayControl_Button\n | ControlPanelDisplayControl_Toggle\n | ControlPanelDisplayControl_Select\n | ControlPanelDisplayControl_Slider;\n\n/**\n * One panel item, normalized for display, discriminated the same way its config is (#504).\n *\n * `resolvedComponentRef` and `resolvedViewRef` are both nullable and both mean the SAME thing: the item\n * names something this panel cannot host, and the preset must show that rather than render chrome\n * that looks like a component with nothing to say. Keeping the two kinds apart here is what stops\n * the preset guessing which ref an item meant.\n */\nexport type UtilityPanelDisplayItem =\n | {\n kind: LauncherItemTargetKind.CUSTOM_COMPONENT;\n componentRef: string;\n /**\n * The registry key the preset renders, or `null` when nothing is registered under that ref in\n * the default preset. Engine AND application components resolve here (#549); it used to be\n * `componentType: FrontendComponentType | null`, which made every application component `null`.\n */\n resolvedComponentRef: ComponentRegistryRef | null;\n icon: string;\n label: string;\n }\n | {\n kind: LauncherItemTargetKind.VIEW;\n viewRef: string;\n /** `null` when no declared view carries that ref, so an unknown ref is reported and not rendered blank. */\n resolvedViewRef: string | null;\n icon: string;\n label: string;\n };\n\nexport interface UtilityPanelBehavior {\n /** Whether the panel is expanded/open. */\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n /** Panel items normalized for display without moving registry resolution into the hook. */\n items: UtilityPanelDisplayItem[];\n /** Number of items. */\n itemCount: number;\n /** Horizontal position (START or END only). */\n position: UtilityPanelPlacement;\n /**\n * The trigger's glyph as the application chose it: the panel's `icon`, else the icon of its ONE item. `undefined`\n * when neither says, and the preset then draws the side-panel glyph of `position`.\n */\n triggerIcon: string | undefined;\n /**\n * The panel's name: the trigger's accessible name and tooltip, and the sheet's title. The title of a single hosted\n * view, the label of a single custom component, or the panel's generic title.\n */\n panelName: string;\n /**\n * The words `panelName` is read from have loaded. Until then the name would be a label KEY — the trigger's\n * accessible name and tooltip — so the preset waits on this as it waits on its own labels.\n */\n isPanelNameReady: boolean;\n /** Current breakpoint for responsive adjustments. */\n currentBreakpoint: string | undefined;\n}\n\n/**\n * The notification centre's contract — a SESSION FEED, not a message history (#412).\n *\n * Four members were removed on 2026-09-08 and each was asserting something the store cannot hold.\n * The store behind this is a `useReducer` with no hydration: it starts empty on every page load, and\n * nothing that arrived while the tab was closed is recoverable.\n *\n * | removed | why it could not be true |\n * |---|---|\n * | `unreadCount` / `handleMarkAllAsRead` | \"unread\" was a function of when the tab OPENED, and marking something read meant nothing — the state died with the page. A badge counting it was counting the current session's arrivals and calling them unread. |\n * | `filter` / `setFilter` | the only filter was ALL vs UNREAD, so it filtered on the read state above. Filtering \"what arrived since this page loaded\" by whether you had glanced at it is not a question anyone has. |\n * | `groupedNotifications` | today / yesterday / older, over a buffer that cannot contain a yesterday. The `older` bucket was unreachable and `yesterday` only fillable by leaving a tab open overnight. |\n *\n * What is left says what it is: the arrivals, newest first, each dismissable, and a way to clear\n * them. Persisting instead was weighed and declined — it creates a per-user personal-data store\n * carrying retention, privacy-classification, subject-export and erasure obligations for message\n * content, which is the real cost, not the table.\n */\nexport interface NotificationCenterBehavior {\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n /** Everything that has arrived since this page loaded, newest first. */\n sessionNotifications: NotificationCenterDisplayNotification[];\n notificationCount: number;\n handleClearAll: () => void;\n dismissNotification: (notificationId: string) => void;\n}\n\nexport interface NotificationCenterDisplayNotification {\n id: string;\n type: Notification['type'];\n source: Notification['source'];\n timestamp: number;\n displayTitle: string;\n displayMessage: string;\n relativeTimeLabel: string;\n iconReference: StandardIconReference;\n nextStep?: Notification['nextStep'];\n}\n\nexport interface QuickActionButtonDisplayItem {\n id: string;\n label: string;\n /** The action's icon as a reference; the preset renders it (#1828). */\n iconReference?: NavigationIconReference;\n displayPolicy?: string;\n onClick: () => void;\n}\n\nexport interface QuickActionButtonBehavior {\n allItems: QuickActionButtonDisplayItem[];\n primaryAction: QuickActionButtonDisplayItem | null;\n menuActions: QuickActionButtonDisplayItem[];\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n handleActionClick: (item: QuickActionButtonDisplayItem) => void;\n hasActions: boolean;\n isNavigationLoading: boolean;\n currentBreakpoint: string | undefined;\n}\n\nexport interface CommandMenuItem {\n id: string;\n label: string;\n shortcut: string;\n /** The command's icon as a reference; the preset renders it (#1828). */\n iconReference?: NavigationIconReference;\n category: string;\n keywords: string[];\n /** Internal policy from config — used by the hook to control grouping/visibility. */\n displayPolicy?: string;\n onExecute: () => void;\n}\n\nexport interface CommandMenuGroup {\n category: string;\n label: string;\n items: CommandMenuItem[];\n}\n\n/**\n * One live omnibox record-search result. Intentionally DISTINCT from\n * {@link CommandMenuItem}: a search result is a resource RECORD (it carries the\n * full summary-mode DTO in `record` + its `resourceType`) so the palette can\n * render it as the resource's summary VIEW (summary card), whereas a\n * `CommandMenuItem` is a static navigation command that only ever renders a\n * label + icon. Merging the two would collapse that semantic distinction and\n * force every static command to carry a nullable record.\n */\nexport interface CommandMenuSearchResultItem {\n id: string;\n /** Resource type of the matched record — drives summary-view + navigation. */\n resourceType: string;\n /** Full summary-mode DTO returned by SEARCH — fed to the summary renderer. */\n record: Record<string, unknown>;\n /** Resolved one-line label (LABEL display mode + summary-card fallback). */\n label: string;\n /**\n * Client-side match terms the behavior hook ranks the result by (#1828), carried so the match never drops a legitimate\n * server hit (always includes the raw query; matches may be on a field absent from the label, e.g. `description`).\n */\n keywords: string[];\n /** Navigate to the matched record's addressable READ view, then close. */\n onExecute: () => void;\n}\n\n/** A group of omnibox search results for one searched resource. */\nexport interface CommandMenuSearchResultGroup {\n category: string;\n label: string;\n /** How each item in this group renders (summary card vs. one-line label). */\n displayMode: ForeignKeyDisplayMode;\n items: CommandMenuSearchResultItem[];\n}\n\n/**\n * Discriminant for {@link CommandMenuPaletteGroup} — whether an entry in the\n * unified, ordered palette list is a static command-category group or a live\n * record-search result group. The two stay DISTINCT types (a command is a\n * navigation target rendering a label; a record carries a full DTO rendering a\n * summary card) — this union only sequences them in one render order, it does\n * not merge their semantics.\n */\nexport enum CommandMenuPaletteGroupKind {\n COMMANDS = 'commands',\n RECORDS = 'records',\n}\n\n/**\n * One entry in the palette's SINGLE ordered group list — either a static\n * command-category group or a live record-search group, tagged with the numeric\n * `order` weight the palette sorted by (lower = higher). Produced by\n * `useCommandMenuBehavior` so the preset renders one uniform, ordered sequence\n * (record groups default above command groups while searching) instead of two\n * hard-coded blocks. The recent-commands group is rendered separately (always\n * pinned to the top) and is not part of this list.\n */\nexport type CommandMenuPaletteGroup =\n | { kind: CommandMenuPaletteGroupKind.COMMANDS; order: number; group: CommandMenuGroup }\n | { kind: CommandMenuPaletteGroupKind.RECORDS; order: number; group: CommandMenuSearchResultGroup };\n\nexport interface CommandMenuBehavior {\n isOpen: boolean;\n handleOpenChange: (open: boolean) => void;\n searchQuery: string;\n setSearchQuery: (query: string) => void;\n commandItems: CommandMenuItem[];\n groupedItems: CommandMenuGroup[];\n /** The recent commands MATCHING `searchQuery`, best match first (all of them, in recency order, while it is empty). */\n recentItems: CommandMenuItem[];\n /**\n * Live record-search result groups (omnibox layer). Empty unless the\n * `COMMAND_MENU` config sets `policy: OMNIBOX` with `searchResources` and the\n * current query meets the minimum length. Each item's `onExecute` navigates\n * to the matched record's READ view. Items render as the resource's summary\n * view (or a one-line label per the resource's `resultDisplay` config).\n */\n searchResultGroups: CommandMenuSearchResultGroup[];\n /**\n * The unified, ORDERED render list the preset iterates: record groups and\n * static command-category groups merged and sorted by a single numeric `order`\n * weight (record groups default above command groups while searching; apps\n * override per record group via `CommandMenuSearchResource.order`, and command\n * categories sequence among themselves via `[COMMAND_MENU].categoryOrder`).\n * The recent-commands group is NOT included here — it is always rendered first,\n * separately. Derived from `groupedItems` + `searchResultGroups` (which remain\n * available as the raw, per-source building blocks).\n *\n * Text search is the hook's (#1828): while `searchQuery` is not empty, each command group holds only the commands\n * matching it, best match first (`commandScore`, the scorer `cmdk` uses), and a command group matching nothing is\n * left out. Record groups are the server's answer, ranked by the same match (a result carries the query it was found\n * for among its keywords), and a record group matching nothing (the previous answer, while a newer query is typed) is\n * left out too. A renderer shows these lists as they are and filters nothing.\n */\n orderedGroups: CommandMenuPaletteGroup[];\n /** True while an omnibox record search is in flight for the current query. */\n isSearching: boolean;\n isNavigationLoading: boolean;\n showRecent: boolean;\n showShortcuts: boolean;\n /**\n * Global open-shortcut string (e.g. `'Cmd+K'`) from config, or `undefined`\n * when none is declared. The preset renders it as the trigger's `⌘K` hint.\n */\n openShortcut: string | undefined;\n /**\n * The desktop max-width class the application AUTHORED for the palette dialog (`[COMMAND_MENU].dialogWidth`), passed\n * through unchanged, or `undefined` when it authored none. The default width is the preset's (#1828).\n */\n authoredDialogWidth?: string;\n}\n\n/** Which group of the organization switcher a {@link OrganizationSwitcherGroup} is (#1828). */\nexport enum OrganizationSwitcherGroupKind {\n /** The person's own organizations. */\n OWN = 'own',\n /** Granting organizations the person works in as a representative (#1597); each names its representing organization. */\n GRANTING = 'granting',\n /** The organization search's answer, which replaces both groups while a search applies. */\n SEARCH_RESULTS = 'search_results',\n}\n\n/** One group of the organization switcher. */\nexport interface OrganizationSwitcherGroup {\n kind: OrganizationSwitcherGroupKind;\n organizations: { _id: string; name: string; viaOrganizationName?: string }[];\n}\n\nexport interface MenuUserOrgBehavior {\n isOpen: boolean;\n setIsOpen: (open: boolean) => void;\n isUserAuthenticated: boolean;\n userInitials: string;\n displayName: string;\n email: string;\n avatarUrl: string | undefined;\n currentOrganization: { _id: string; name: string } | undefined;\n /**\n * The organizations the person can switch into. `viaOrganizationName` is present only on a GRANTING\n * organization they work in as a representative (#1597) — the representing organization's name, so the\n * switcher can group granting organizations apart from the person's own organizations and say through whom\n * each is reached. A granting organization appears only while its relationship is live: the organization\n * read behind this list passes the per-request live filter, so an ended or paused relationship drops it\n * from the switcher.\n */\n organizations: { _id: string; name: string; viaOrganizationName?: string }[];\n /**\n * The person's organizations `organizations` does not hold (#2452): the user context carries only the newest 20\n * memberships, so a person in more is offered the rest by search. Counted from the backend's access profile (its\n * organization-wide entries, the population the search returns); `0` without a profile, and whenever every\n * organization is already listed. The switcher shows its search when this is above zero.\n */\n unlistedOrganizationCount: number;\n /** The text typed in the switcher's search; empty when not searching. */\n organizationSearchQuery: string;\n setOrganizationSearchQuery: (query: string) => void;\n /**\n * The search's answer, or `null` while no search applies: the query is shorter than\n * `ORGANIZATION_SEARCH_MIN_CHARS`, or the first answer has not arrived. Found through\n * `GET /organizations/search/mine`, which reads only the caller's own organizations.\n */\n organizationSearchResults: { _id: string; name: string }[] | null;\n isSearchingOrganizations: boolean;\n /** Whether the last search failed; the switcher says so instead of showing an empty result as \"none found\". */\n organizationSearchFailed: boolean;\n /**\n * The switcher's organizations, grouped as it shows them (#1828): the person's OWN organizations and the GRANTING ones\n * they work in as a representative, each group present only when it holds one, or, while a search applies, its\n * SEARCH_RESULTS alone (every result is one of the person's own organizations, and a granting organization found this\n * way is not told apart: its representing organization's name comes from a membership row the user context does not carry).\n */\n organizationGroups: OrganizationSwitcherGroup[];\n /** Whether there is anything to switch to: more than one listed organization, or more to find by search (#2452). */\n hasMultipleOrganizations: boolean;\n /** Dropdown sections to render. The `SETTINGS` entry opens the unified Settings Hub. */\n sections: UserDropdownSection[];\n avatarDisplay: UserDropdownAvatarDisplay;\n showOrgSwitcher: boolean;\n showLogout: boolean;\n /** The Settings Hub itself (no section). Rendered after any authored shortcuts, so the hub is always reachable. */\n settingsTarget: ResolvedNavigationTarget | null;\n /** Authored shortcuts into hub sections (`settingsEntries`), each labelled by the section it opens. */\n settingsTargets: ResolvedNavigationTarget[];\n popupAlignment: { align: HorizontalAlign; side: PlacementSide };\n handleLogout: () => void;\n handleSwitchOrg: (orgId: string) => void;\n handleNavigateToSettingsTarget: (target: ResolvedNavigationTarget) => void;\n}\n\n/**\n * The navigation-back control's behavior (#1828): the zone it walks back, whether it is shown, and the gesture. See\n * `useNavigationBackBehavior` for when the control hides.\n */\nexport interface NavigationBackBehavior {\n resolvedZone: NavigationZone;\n /** False when the gesture would do nothing. */\n isVisible: boolean;\n goBack: () => void;\n}\n\n/** One item of the menubar. */\nexport interface MenuBarBehaviorItem {\n id: string;\n label: string;\n /** The item's icon as a reference; the preset renders it (#1828). */\n iconReference?: NavigationIconReference;\n group?: string;\n /** Whether this item is the current destination — at most one item is (see `useMenuBarBehavior`). */\n isActive: boolean;\n /** The badge KEY to draw beside the label (`NavigationItemBadge`), when the declaration names one. */\n notificationBadgeRef?: string;\n onExecute: () => void;\n}\n\n/** Whether a {@link MenuBarEntry} is one item on the bar, or a group opening a menu of items. */\nexport enum MenuBarEntryKind {\n ITEM = 'item',\n GROUP = 'group',\n}\n\n/**\n * One entry of the bar, in bar order (#1828): an item without a group, or a group, placed where its first item is, holding\n * every item of that group in declaration order.\n */\nexport type MenuBarEntry =\n | { kind: MenuBarEntryKind.ITEM; item: MenuBarBehaviorItem }\n | {\n kind: MenuBarEntryKind.GROUP;\n /** The group identifier AS AUTHORED; giving it a label is owed (see the menubar preset). */\n group: string;\n items: MenuBarBehaviorItem[];\n };\n\nexport interface MenuBarBehavior {\n containerComponents: ResolvedHostedComponent[];\n /**\n * The identity to render as the bar's HOME affordance. Present ONLY when the menubar config\n * opted in (`brandHeader: true`), mirroring `useSidebarBehavior`'s `brandHeader`: a preset that\n * receives an identity unconditionally can render a mark on a surface the application never asked\n * to brand, and no type would catch it.\n */\n brandHeader?: BrandIdentity;\n /** Whether the current location is home — `aria-current` for the brand header. */\n isHomeActive: boolean;\n /** Home navigation with a fresh navigation start, the same act as the sidebar's brand header. */\n handleHomeClick: () => void;\n items: MenuBarBehaviorItem[];\n /** {@link items} as the bar shows them: ungrouped items and groups, in bar order (#1828). */\n entries: MenuBarEntry[];\n /**\n * Opens the sidebar drawer. Present only while the sidebar is an overlay drawer (its BURGER policy at or below its\n * responsive breakpoint): nothing of the sidebar renders inline then, so the menubar carries its opening affordance.\n * The drawer's state stays the sidebar's; this only sends the sidebar toggle (#1828).\n */\n toggleSidebarDrawer?: () => void;\n menubarConfig: {\n mode: string;\n isOverlay: boolean;\n showMobileLayout: boolean;\n };\n mapToFrontendComponentType: (type: ApplicationLevelComponentType) => FrontendComponentType | null;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"assert-registry-completeness.frontend.helper.d.ts","sourceRoot":"","sources":["../../../../src/core/components-registry/assert-registry-completeness.frontend.helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAuI5E,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,qBAAqB,EAAE,CAAC;CAClC;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,IAAI,0BAA0B,CAoBxE;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,CAAC,EAAE;IACnD;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,0BAA0B,CAyB7B"}
1
+ {"version":3,"file":"assert-registry-completeness.frontend.helper.d.ts","sourceRoot":"","sources":["../../../../src/core/components-registry/assert-registry-completeness.frontend.helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAwI5E,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,qBAAqB,EAAE,CAAC;CAClC;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,IAAI,0BAA0B,CAoBxE;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,CAAC,EAAE;IACnD;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,0BAA0B,CAyB7B"}
@@ -114,6 +114,7 @@ const KNOWN_NON_REGISTERED_COMPONENT_TYPES = new Set([
114
114
  FrontendComponentType.APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS,
115
115
  FrontendComponentType.APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS,
116
116
  FrontendComponentType.APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS,
117
+ FrontendComponentType.APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS,
117
118
  FrontendComponentType.APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS,
118
119
  FrontendComponentType.APP_LAYOUTS_REPRESENTATIVE_ACTIVITY_SETTINGS,
119
120
  FrontendComponentType.APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS,