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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (685) hide show
  1. package/LICENSE +114 -26
  2. package/LICENSE.enterprise +129 -0
  3. package/dist/esm/companion-exports.d.ts +5 -2
  4. package/dist/esm/companion-exports.d.ts.map +1 -1
  5. package/dist/esm/companion-exports.js +4 -2
  6. package/dist/esm/companion-exports.js.map +1 -1
  7. package/dist/esm/components/actions/action-bar.d.ts +16 -1
  8. package/dist/esm/components/actions/action-bar.d.ts.map +1 -1
  9. package/dist/esm/components/actions/action-bar.js.map +1 -1
  10. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.d.ts.map +1 -1
  11. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js +6 -14
  12. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js.map +1 -1
  13. package/dist/esm/components/app/AppLayout_DecisionInbox.d.ts.map +1 -1
  14. package/dist/esm/components/app/AppLayout_DecisionInbox.js +2 -4
  15. package/dist/esm/components/app/AppLayout_DecisionInbox.js.map +1 -1
  16. package/dist/esm/components/app/AppLayout_Home.d.ts.map +1 -1
  17. package/dist/esm/components/app/AppLayout_Home.js +14 -7
  18. package/dist/esm/components/app/AppLayout_Home.js.map +1 -1
  19. package/dist/esm/components/app/AppLayout_IdentityPortalContainer.d.ts +13 -0
  20. package/dist/esm/components/app/AppLayout_IdentityPortalContainer.d.ts.map +1 -0
  21. package/dist/esm/components/app/AppLayout_IdentityPortalContainer.js +16 -0
  22. package/dist/esm/components/app/AppLayout_IdentityPortalContainer.js.map +1 -0
  23. package/dist/esm/components/app/DecisionInboxSection.d.ts +10 -0
  24. package/dist/esm/components/app/DecisionInboxSection.d.ts.map +1 -0
  25. package/dist/esm/components/app/DecisionInboxSection.js +15 -0
  26. package/dist/esm/components/app/DecisionInboxSection.js.map +1 -0
  27. package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.d.ts +13 -0
  28. package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.d.ts.map +1 -0
  29. package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.js +28 -0
  30. package/dist/esm/components/app/IdentityPortalLayout_AuthenticatedRoute.js.map +1 -0
  31. package/dist/esm/components/app/IdentityPortalPage_Home.d.ts +10 -0
  32. package/dist/esm/components/app/IdentityPortalPage_Home.d.ts.map +1 -0
  33. package/dist/esm/components/app/IdentityPortalPage_Home.js +40 -0
  34. package/dist/esm/components/app/IdentityPortalPage_Home.js.map +1 -0
  35. package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.d.ts +16 -0
  36. package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.d.ts.map +1 -0
  37. package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.js +41 -0
  38. package/dist/esm/components/app/IdentityPortalPage_SettingsDestination.js.map +1 -0
  39. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.d.ts +15 -0
  40. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.d.ts.map +1 -0
  41. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.js +268 -0
  42. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.js.map +1 -0
  43. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.d.ts +3 -0
  44. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.d.ts.map +1 -0
  45. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.js +35 -0
  46. package/dist/esm/components/auth/Auth_DecisionEmailAnswer.labels.js.map +1 -0
  47. package/dist/esm/components/auth/Auth_Main.d.ts.map +1 -1
  48. package/dist/esm/components/auth/Auth_Main.js +5 -0
  49. package/dist/esm/components/auth/Auth_Main.js.map +1 -1
  50. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.d.ts +19 -0
  51. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.d.ts.map +1 -0
  52. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.js +156 -0
  53. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.js.map +1 -0
  54. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.d.ts +3 -0
  55. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.d.ts.map +1 -0
  56. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.js +107 -0
  57. package/dist/esm/components/auth/Auth_OAuthDeviceVerification.labels.js.map +1 -0
  58. package/dist/esm/components/auth/StepUpAuthDialog.d.ts +31 -10
  59. package/dist/esm/components/auth/StepUpAuthDialog.d.ts.map +1 -1
  60. package/dist/esm/components/auth/StepUpAuthDialog.js +81 -17
  61. package/dist/esm/components/auth/StepUpAuthDialog.js.map +1 -1
  62. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.d.ts.map +1 -1
  63. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js +19 -0
  64. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js.map +1 -1
  65. package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.d.ts +11 -0
  66. package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.d.ts.map +1 -0
  67. package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.js +25 -0
  68. package/dist/esm/components/auth/pages/AuthPage_DecisionEmailAnswer.js.map +1 -0
  69. package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.d.ts +11 -0
  70. package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.d.ts.map +1 -0
  71. package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.js +25 -0
  72. package/dist/esm/components/auth/pages/AuthPage_OAuthDeviceVerification.js.map +1 -0
  73. package/dist/esm/components/billing/billing-pricing-table.d.ts.map +1 -1
  74. package/dist/esm/components/billing/billing-pricing-table.js +40 -7
  75. package/dist/esm/components/billing/billing-pricing-table.js.map +1 -1
  76. package/dist/esm/components/billing/billing-subscription-status.d.ts.map +1 -1
  77. package/dist/esm/components/billing/billing-subscription-status.js +9 -1
  78. package/dist/esm/components/billing/billing-subscription-status.js.map +1 -1
  79. package/dist/esm/components/billing/billing-usage-dashboard.d.ts.map +1 -1
  80. package/dist/esm/components/billing/billing-usage-dashboard.js +3 -2
  81. package/dist/esm/components/billing/billing-usage-dashboard.js.map +1 -1
  82. package/dist/esm/components/compliance/EmbeddedSigningFrame.d.ts.map +1 -1
  83. package/dist/esm/components/compliance/EmbeddedSigningFrame.js +17 -6
  84. package/dist/esm/components/compliance/EmbeddedSigningFrame.js.map +1 -1
  85. package/dist/esm/components/data-display/AutomaticDisplayer.d.ts.map +1 -1
  86. package/dist/esm/components/data-display/AutomaticDisplayer.js +7 -2
  87. package/dist/esm/components/data-display/AutomaticDisplayer.js.map +1 -1
  88. package/dist/esm/components/data-display/DisplayField.d.ts.map +1 -1
  89. package/dist/esm/components/data-display/DisplayField.js +67 -45
  90. package/dist/esm/components/data-display/DisplayField.js.map +1 -1
  91. package/dist/esm/components/data-display/DisplayFieldEditable.d.ts.map +1 -1
  92. package/dist/esm/components/data-display/DisplayFieldEditable.js +4 -1
  93. package/dist/esm/components/data-display/DisplayFieldEditable.js.map +1 -1
  94. package/dist/esm/components/data-display/DisplayValueDispatcher.d.ts.map +1 -1
  95. package/dist/esm/components/data-display/DisplayValueDispatcher.js +16 -6
  96. package/dist/esm/components/data-display/DisplayValueDispatcher.js.map +1 -1
  97. package/dist/esm/components/data-display/ResourceAutomaticDisplayer.d.ts.map +1 -1
  98. package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js +3 -1
  99. package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js.map +1 -1
  100. package/dist/esm/components/data-display/approval-seal.d.ts +7 -5
  101. package/dist/esm/components/data-display/approval-seal.d.ts.map +1 -1
  102. package/dist/esm/components/data-display/approval-seal.js +10 -4
  103. package/dist/esm/components/data-display/approval-seal.js.map +1 -1
  104. package/dist/esm/components/data-display/signature-requests.d.ts +81 -0
  105. package/dist/esm/components/data-display/signature-requests.d.ts.map +1 -0
  106. package/dist/esm/components/data-display/signature-requests.js +123 -0
  107. package/dist/esm/components/data-display/signature-requests.js.map +1 -0
  108. package/dist/esm/components/feedback/empty-state-marker.d.ts +16 -0
  109. package/dist/esm/components/feedback/empty-state-marker.d.ts.map +1 -0
  110. package/dist/esm/components/feedback/empty-state-marker.js +16 -0
  111. package/dist/esm/components/feedback/empty-state-marker.js.map +1 -0
  112. package/dist/esm/components/feedback/empty-state.d.ts.map +1 -1
  113. package/dist/esm/components/feedback/empty-state.js +2 -1
  114. package/dist/esm/components/feedback/empty-state.js.map +1 -1
  115. package/dist/esm/components/feedback/features/feature-unavailable-prompt.d.ts +7 -1
  116. package/dist/esm/components/feedback/features/feature-unavailable-prompt.d.ts.map +1 -1
  117. package/dist/esm/components/feedback/features/feature-unavailable-prompt.js +8 -2
  118. package/dist/esm/components/feedback/features/feature-unavailable-prompt.js.map +1 -1
  119. package/dist/esm/components/feedback/resource-empty-state.d.ts.map +1 -1
  120. package/dist/esm/components/feedback/resource-empty-state.js +2 -1
  121. package/dist/esm/components/feedback/resource-empty-state.js.map +1 -1
  122. package/dist/esm/components/flows-actors/approval.d.ts +25 -1
  123. package/dist/esm/components/flows-actors/approval.d.ts.map +1 -1
  124. package/dist/esm/components/flows-actors/approval.js +22 -24
  125. package/dist/esm/components/flows-actors/approval.js.map +1 -1
  126. package/dist/esm/components/flows-actors/approval.labels.d.ts.map +1 -1
  127. package/dist/esm/components/flows-actors/approval.labels.js +30 -0
  128. package/dist/esm/components/flows-actors/approval.labels.js.map +1 -1
  129. package/dist/esm/components/flows-actors/flow-node.labels.d.ts.map +1 -1
  130. package/dist/esm/components/flows-actors/flow-node.labels.js +4 -1
  131. package/dist/esm/components/flows-actors/flow-node.labels.js.map +1 -1
  132. package/dist/esm/components/flows-actors/flow-step-visuals.d.ts.map +1 -1
  133. package/dist/esm/components/flows-actors/flow-step-visuals.js +8 -2
  134. package/dist/esm/components/flows-actors/flow-step-visuals.js.map +1 -1
  135. package/dist/esm/components/flows-actors/human-decision-form.d.ts.map +1 -1
  136. package/dist/esm/components/flows-actors/human-decision-form.js +4 -1
  137. package/dist/esm/components/flows-actors/human-decision-form.js.map +1 -1
  138. package/dist/esm/components/form/Form.d.ts +2 -0
  139. package/dist/esm/components/form/Form.d.ts.map +1 -1
  140. package/dist/esm/components/form/Form.js +1 -0
  141. package/dist/esm/components/form/Form.js.map +1 -1
  142. package/dist/esm/components/form/automated/AutomatedArrayField.d.ts.map +1 -1
  143. package/dist/esm/components/form/automated/AutomatedArrayField.js +7 -4
  144. package/dist/esm/components/form/automated/AutomatedArrayField.js.map +1 -1
  145. package/dist/esm/components/form/automated/AutosaveContext.d.ts.map +1 -1
  146. package/dist/esm/components/form/automated/AutosaveContext.js +8 -0
  147. package/dist/esm/components/form/automated/AutosaveContext.js.map +1 -1
  148. package/dist/esm/components/form/automated/FormField.d.ts +5 -3
  149. package/dist/esm/components/form/automated/FormField.d.ts.map +1 -1
  150. package/dist/esm/components/form/automated/FormField.js +38 -13
  151. package/dist/esm/components/form/automated/FormField.js.map +1 -1
  152. package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts +1 -1
  153. package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts.map +1 -1
  154. package/dist/esm/components/form/automated/ResourceAutomatedForm.js +75 -47
  155. package/dist/esm/components/form/automated/ResourceAutomatedForm.js.map +1 -1
  156. package/dist/esm/components/form/fields/form-field-file-provider-constraints.frontend.utils.d.ts +1 -1
  157. package/dist/esm/components/form/fields/form-field-file-provider-constraints.frontend.utils.js +1 -1
  158. package/dist/esm/components/form/fields/form-field-file-provider-constraints.frontend.utils.js.map +1 -1
  159. package/dist/esm/components/form/validation-errors/form-validation.d.ts +5 -7
  160. package/dist/esm/components/form/validation-errors/form-validation.d.ts.map +1 -1
  161. package/dist/esm/components/form/validation-errors/form-validation.js +7 -22
  162. package/dist/esm/components/form/validation-errors/form-validation.js.map +1 -1
  163. package/dist/esm/components/form/validation-errors/getFieldError.d.ts +25 -2
  164. package/dist/esm/components/form/validation-errors/getFieldError.d.ts.map +1 -1
  165. package/dist/esm/components/form/validation-errors/getFieldError.js +29 -2
  166. package/dist/esm/components/form/validation-errors/getFieldError.js.map +1 -1
  167. package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.d.ts +5 -0
  168. package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.d.ts.map +1 -1
  169. package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.js +3 -0
  170. package/dist/esm/components/form/validation-errors/resource-error-notification-context.utils.js.map +1 -1
  171. package/dist/esm/components/form/validation-errors/save-attempt.d.ts +9 -0
  172. package/dist/esm/components/form/validation-errors/save-attempt.d.ts.map +1 -0
  173. package/dist/esm/components/form/validation-errors/save-attempt.js +42 -0
  174. package/dist/esm/components/form/validation-errors/save-attempt.js.map +1 -0
  175. package/dist/esm/components/form/validation-errors/unstarted-field-visit.d.ts +3 -1
  176. package/dist/esm/components/form/validation-errors/unstarted-field-visit.d.ts.map +1 -1
  177. package/dist/esm/components/form/validation-errors/unstarted-field-visit.js +3 -1
  178. package/dist/esm/components/form/validation-errors/unstarted-field-visit.js.map +1 -1
  179. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts +2 -2
  180. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts.map +1 -1
  181. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js +3 -0
  182. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js.map +1 -1
  183. package/dist/esm/components/navigation/NavigationItemBadge.d.ts +16 -0
  184. package/dist/esm/components/navigation/NavigationItemBadge.d.ts.map +1 -1
  185. package/dist/esm/components/navigation/NavigationItemBadge.js +14 -2
  186. package/dist/esm/components/navigation/NavigationItemBadge.js.map +1 -1
  187. package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.d.ts +3 -3
  188. package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.js +3 -3
  189. package/dist/esm/components/navigation/app-level/ApplicationLevel_NavigationBack.js.map +1 -1
  190. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts +5 -13
  191. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts.map +1 -1
  192. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js +30 -255
  193. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js.map +1 -1
  194. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts +22 -1
  195. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts.map +1 -1
  196. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js +57 -26
  197. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js.map +1 -1
  198. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.d.ts +1 -1
  199. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.d.ts.map +1 -1
  200. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.js +40 -4
  201. package/dist/esm/components/navigation/app-level/useMenuBarBehavior.js.map +1 -1
  202. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts +1 -1
  203. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts.map +1 -1
  204. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js +26 -4
  205. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js.map +1 -1
  206. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.d.ts +31 -0
  207. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.d.ts.map +1 -0
  208. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.js +42 -0
  209. package/dist/esm/components/navigation/app-level/useNavigationBackBehavior.js.map +1 -0
  210. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.d.ts +76 -0
  211. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.d.ts.map +1 -0
  212. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.js +268 -0
  213. package/dist/esm/components/navigation/app-level/useSidebarResourceBrowser.js.map +1 -0
  214. package/dist/esm/components/navigation/command.d.ts +5 -0
  215. package/dist/esm/components/navigation/command.d.ts.map +1 -1
  216. package/dist/esm/components/navigation/command.js.map +1 -1
  217. package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts +19 -0
  218. package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts.map +1 -1
  219. package/dist/esm/components/resources/ResourceLayout_DangerZone.js +51 -12
  220. package/dist/esm/components/resources/ResourceLayout_DangerZone.js.map +1 -1
  221. package/dist/esm/components/resources/ResourceLayout_InsertedViews.d.ts.map +1 -1
  222. package/dist/esm/components/resources/ResourceLayout_InsertedViews.js +21 -7
  223. package/dist/esm/components/resources/ResourceLayout_InsertedViews.js.map +1 -1
  224. package/dist/esm/components/resources/ResourceLayout_List.d.ts.map +1 -1
  225. package/dist/esm/components/resources/ResourceLayout_List.js +17 -7
  226. package/dist/esm/components/resources/ResourceLayout_List.js.map +1 -1
  227. package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts +1 -1
  228. package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts.map +1 -1
  229. package/dist/esm/components/resources/ResourceLayout_RecordSharing.js +4 -1
  230. package/dist/esm/components/resources/ResourceLayout_RecordSharing.js.map +1 -1
  231. package/dist/esm/components/resources/ResourceLayout_Search.d.ts.map +1 -1
  232. package/dist/esm/components/resources/ResourceLayout_Search.js +12 -8
  233. package/dist/esm/components/resources/ResourceLayout_Search.js.map +1 -1
  234. package/dist/esm/components/resources/ResourceOwnedViewEmbeds.d.ts +1 -1
  235. package/dist/esm/components/resources/ResourceOwnedViewEmbeds.d.ts.map +1 -1
  236. package/dist/esm/components/resources/ResourceOwnedViewEmbeds.js +11 -4
  237. package/dist/esm/components/resources/ResourceOwnedViewEmbeds.js.map +1 -1
  238. package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.d.ts.map +1 -1
  239. package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.js +4 -1
  240. package/dist/esm/components/resources/collection/board/ResourceCollectionBody_Board.js.map +1 -1
  241. package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.d.ts.map +1 -1
  242. package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.js +4 -1
  243. package/dist/esm/components/resources/collection/calendar/ResourceCollectionBody_Calendar.js.map +1 -1
  244. package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.d.ts.map +1 -1
  245. package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.js +4 -1
  246. package/dist/esm/components/resources/collection/timeline/ResourceCollectionBody_Timeline.js.map +1 -1
  247. package/dist/esm/components/resources/embeds/RelatedResourceSections.d.ts +1 -1
  248. package/dist/esm/components/resources/embeds/RelatedResourceSections.js.map +1 -1
  249. package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts +5 -5
  250. package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts.map +1 -1
  251. package/dist/esm/components/resources/embeds/ResourceEmbeds.js +21 -14
  252. package/dist/esm/components/resources/embeds/ResourceEmbeds.js.map +1 -1
  253. package/dist/esm/components/resources/skeleton/DisplayLayout.d.ts.map +1 -1
  254. package/dist/esm/components/resources/skeleton/DisplayLayout.js +40 -4
  255. package/dist/esm/components/resources/skeleton/DisplayLayout.js.map +1 -1
  256. package/dist/esm/components/resources/skeleton/FormLayout.d.ts.map +1 -1
  257. package/dist/esm/components/resources/skeleton/FormLayout.js +22 -6
  258. package/dist/esm/components/resources/skeleton/FormLayout.js.map +1 -1
  259. package/dist/esm/components/resources/skeleton/Group.d.ts.map +1 -1
  260. package/dist/esm/components/resources/skeleton/Group.js +4 -1
  261. package/dist/esm/components/resources/skeleton/Group.js.map +1 -1
  262. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.d.ts +1 -1
  263. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js +1 -1
  264. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js.map +1 -1
  265. package/dist/esm/components/resources/skeleton/SectionFieldsContext.d.ts +21 -1
  266. package/dist/esm/components/resources/skeleton/SectionFieldsContext.d.ts.map +1 -1
  267. package/dist/esm/components/resources/skeleton/SectionFieldsContext.js +53 -9
  268. package/dist/esm/components/resources/skeleton/SectionFieldsContext.js.map +1 -1
  269. package/dist/esm/components/sections/ContentSectionContainer.d.ts.map +1 -1
  270. package/dist/esm/components/sections/ContentSectionContainer.js +11 -7
  271. package/dist/esm/components/sections/ContentSectionContainer.js.map +1 -1
  272. package/dist/esm/components/sections/content-section.d.ts +1 -3
  273. package/dist/esm/components/sections/content-section.d.ts.map +1 -1
  274. package/dist/esm/components/sections/content-section.js.map +1 -1
  275. package/dist/esm/components/settings/AppPage_AgentActivitySettings.d.ts.map +1 -1
  276. package/dist/esm/components/settings/AppPage_AgentActivitySettings.js +2 -1
  277. package/dist/esm/components/settings/AppPage_AgentActivitySettings.js.map +1 -1
  278. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts +12 -0
  279. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts.map +1 -1
  280. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js +28 -6
  281. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js.map +1 -1
  282. package/dist/esm/components/settings/SettingsHub.d.ts +15 -0
  283. package/dist/esm/components/settings/SettingsHub.d.ts.map +1 -1
  284. package/dist/esm/components/settings/SettingsHub.js +14 -4
  285. package/dist/esm/components/settings/SettingsHub.js.map +1 -1
  286. package/dist/esm/components/typography/document-heading-level.d.ts +28 -0
  287. package/dist/esm/components/typography/document-heading-level.d.ts.map +1 -0
  288. package/dist/esm/components/typography/document-heading-level.js +63 -0
  289. package/dist/esm/components/typography/document-heading-level.js.map +1 -0
  290. package/dist/esm/components/views/chart-dashboard/ChartDashboard.d.ts +3 -2
  291. package/dist/esm/components/views/chart-dashboard/ChartDashboard.d.ts.map +1 -1
  292. package/dist/esm/components/views/chart-dashboard/ChartDashboard.js +4 -3
  293. package/dist/esm/components/views/chart-dashboard/ChartDashboard.js.map +1 -1
  294. package/dist/esm/components/views/chart-dashboard/useChartDashboardLayout.d.ts +1 -1
  295. package/dist/esm/components/views/chart-dashboard/useChartDashboardLayout.d.ts.map +1 -1
  296. package/dist/esm/components/views/chart-dashboard/useChartDashboardLayout.js.map +1 -1
  297. package/dist/esm/components/views/chart-view/ChartKpiFigure.d.ts +33 -0
  298. package/dist/esm/components/views/chart-view/ChartKpiFigure.d.ts.map +1 -1
  299. package/dist/esm/components/views/chart-view/ChartKpiFigure.js +63 -4
  300. package/dist/esm/components/views/chart-view/ChartKpiFigure.js.map +1 -1
  301. package/dist/esm/components/views/chart-view/ChartView.d.ts.map +1 -1
  302. package/dist/esm/components/views/chart-view/ChartView.js +52 -22
  303. package/dist/esm/components/views/chart-view/ChartView.js.map +1 -1
  304. package/dist/esm/components/views/chart-view/ChartView.labels.d.ts.map +1 -1
  305. package/dist/esm/components/views/chart-view/ChartView.labels.js +76 -3
  306. package/dist/esm/components/views/chart-view/ChartView.labels.js.map +1 -1
  307. package/dist/esm/components/views/chart-view/ChartView.lazy.d.ts.map +1 -1
  308. package/dist/esm/components/views/chart-view/ChartView.lazy.js +2 -1
  309. package/dist/esm/components/views/chart-view/ChartView.lazy.js.map +1 -1
  310. package/dist/esm/components/views/chart-view/ChartWidget.d.ts.map +1 -1
  311. package/dist/esm/components/views/chart-view/ChartWidget.js +12 -4
  312. package/dist/esm/components/views/chart-view/ChartWidget.js.map +1 -1
  313. package/dist/esm/components/views/chart-view/chart-export.utils.d.ts +8 -0
  314. package/dist/esm/components/views/chart-view/chart-export.utils.d.ts.map +1 -1
  315. package/dist/esm/components/views/chart-view/chart-export.utils.js +15 -25
  316. package/dist/esm/components/views/chart-view/chart-export.utils.js.map +1 -1
  317. package/dist/esm/components/views/chart-view/chart-view-defaults.d.ts +6 -0
  318. package/dist/esm/components/views/chart-view/chart-view-defaults.d.ts.map +1 -0
  319. package/dist/esm/components/views/chart-view/chart-view-defaults.js +6 -0
  320. package/dist/esm/components/views/chart-view/chart-view-defaults.js.map +1 -0
  321. package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts +47 -12
  322. package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts.map +1 -1
  323. package/dist/esm/components/views/chart-view/option-builder/builder-utils.js +87 -32
  324. package/dist/esm/components/views/chart-view/option-builder/builder-utils.js.map +1 -1
  325. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.d.ts.map +1 -1
  326. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js +8 -8
  327. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js.map +1 -1
  328. package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js +1 -1
  329. package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js.map +1 -1
  330. package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.d.ts.map +1 -1
  331. package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.js +7 -3
  332. package/dist/esm/components/views/chart-view/option-builder/builders/funnel.builder.js.map +1 -1
  333. package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.d.ts.map +1 -1
  334. package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.js +6 -2
  335. package/dist/esm/components/views/chart-view/option-builder/builders/gauge.builder.js.map +1 -1
  336. package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.d.ts.map +1 -1
  337. package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.js +8 -2
  338. package/dist/esm/components/views/chart-view/option-builder/builders/heatmap.builder.js.map +1 -1
  339. package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.d.ts.map +1 -1
  340. package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.js +13 -9
  341. package/dist/esm/components/views/chart-view/option-builder/builders/hierarchical-family.builder.js.map +1 -1
  342. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.d.ts +1 -1
  343. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.d.ts.map +1 -1
  344. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js +9 -8
  345. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js.map +1 -1
  346. package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.d.ts.map +1 -1
  347. package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.js +2 -1
  348. package/dist/esm/components/views/chart-view/option-builder/builders/parallel.builder.js.map +1 -1
  349. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.d.ts +1 -1
  350. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.d.ts.map +1 -1
  351. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.js +10 -11
  352. package/dist/esm/components/views/chart-view/option-builder/builders/pie-family.builder.js.map +1 -1
  353. package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.d.ts.map +1 -1
  354. package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.js +2 -1
  355. package/dist/esm/components/views/chart-view/option-builder/builders/radar.builder.js.map +1 -1
  356. package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.d.ts.map +1 -1
  357. package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.js +5 -1
  358. package/dist/esm/components/views/chart-view/option-builder/builders/sankey.builder.js.map +1 -1
  359. package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.d.ts.map +1 -1
  360. package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.js +7 -3
  361. package/dist/esm/components/views/chart-view/option-builder/builders/statistical-family.builder.js.map +1 -1
  362. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.d.ts.map +1 -1
  363. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js +13 -13
  364. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js.map +1 -1
  365. package/dist/esm/components/views/chart-view/useResourceChartData.d.ts +1 -1
  366. package/dist/esm/components/views/chart-view/useResourceChartData.js +1 -1
  367. package/dist/esm/components/views/chart-view/useResourceChartData.js.map +1 -1
  368. package/dist/esm/components/views/composite-view/CompositeView.d.ts +6 -0
  369. package/dist/esm/components/views/composite-view/CompositeView.d.ts.map +1 -1
  370. package/dist/esm/components/views/composite-view/CompositeView.js +6 -2
  371. package/dist/esm/components/views/composite-view/CompositeView.js.map +1 -1
  372. package/dist/esm/components/views/execution-view/ExecutionView.d.ts +7 -0
  373. package/dist/esm/components/views/execution-view/ExecutionView.d.ts.map +1 -1
  374. package/dist/esm/components/views/execution-view/ExecutionView.js +11 -1
  375. package/dist/esm/components/views/execution-view/ExecutionView.js.map +1 -1
  376. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts +7 -0
  377. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts.map +1 -1
  378. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js +6 -2
  379. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js.map +1 -1
  380. package/dist/esm/components/views/full-custom-view/FullCustomView.d.ts +7 -0
  381. package/dist/esm/components/views/full-custom-view/FullCustomView.d.ts.map +1 -1
  382. package/dist/esm/components/views/full-custom-view/FullCustomView.js +8 -3
  383. package/dist/esm/components/views/full-custom-view/FullCustomView.js.map +1 -1
  384. package/dist/esm/components/views/onboarding-view/OnboardingView.d.ts +7 -0
  385. package/dist/esm/components/views/onboarding-view/OnboardingView.d.ts.map +1 -1
  386. package/dist/esm/components/views/onboarding-view/OnboardingView.js +11 -1
  387. package/dist/esm/components/views/onboarding-view/OnboardingView.js.map +1 -1
  388. package/dist/esm/core/app-shell/AppShellBuildingBlocks.d.ts +2 -2
  389. package/dist/esm/core/app-shell/AppShellBuildingBlocks.js +2 -2
  390. package/dist/esm/core/app-shell/AppShellBuildingBlocks.js.map +1 -1
  391. package/dist/esm/core/app-shell/app-shell.schemas.d.ts +87 -16
  392. package/dist/esm/core/app-shell/app-shell.schemas.d.ts.map +1 -1
  393. package/dist/esm/core/app-shell/app-shell.schemas.js +16 -0
  394. package/dist/esm/core/app-shell/app-shell.schemas.js.map +1 -1
  395. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.d.ts +4 -4
  396. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js +3 -3
  397. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js.map +1 -1
  398. package/dist/esm/core/app-shell/useIdentityPortalShellLayout.d.ts +45 -0
  399. package/dist/esm/core/app-shell/useIdentityPortalShellLayout.d.ts.map +1 -0
  400. package/dist/esm/core/app-shell/useIdentityPortalShellLayout.js +72 -0
  401. package/dist/esm/core/app-shell/useIdentityPortalShellLayout.js.map +1 -0
  402. package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.d.ts +4 -3
  403. package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.d.ts.map +1 -1
  404. package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.js +4 -3
  405. package/dist/esm/core/automated-layout/automated-layout.frontend.schemas.js.map +1 -1
  406. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts +15 -8
  407. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts.map +1 -1
  408. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js +22 -21
  409. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js.map +1 -1
  410. package/dist/esm/core/billing/BillingContext.d.ts +27 -4
  411. package/dist/esm/core/billing/BillingContext.d.ts.map +1 -1
  412. package/dist/esm/core/billing/BillingContext.js +61 -2
  413. package/dist/esm/core/billing/BillingContext.js.map +1 -1
  414. package/dist/esm/core/billing/useBillingAction.d.ts.map +1 -1
  415. package/dist/esm/core/billing/useBillingAction.js +3 -2
  416. package/dist/esm/core/billing/useBillingAction.js.map +1 -1
  417. package/dist/esm/core/components-registry/RegisteredComponentRoot.d.ts +19 -0
  418. package/dist/esm/core/components-registry/RegisteredComponentRoot.d.ts.map +1 -0
  419. package/dist/esm/core/components-registry/RegisteredComponentRoot.js +23 -0
  420. package/dist/esm/core/components-registry/RegisteredComponentRoot.js.map +1 -0
  421. package/dist/esm/core/components-registry/register-framework-layouts.d.ts.map +1 -1
  422. package/dist/esm/core/components-registry/register-framework-layouts.js +4 -0
  423. package/dist/esm/core/components-registry/register-framework-layouts.js.map +1 -1
  424. package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts +159 -0
  425. package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts.map +1 -1
  426. package/dist/esm/core/config/app-configuration-frontend.schemas.js +68 -3
  427. package/dist/esm/core/config/app-configuration-frontend.schemas.js.map +1 -1
  428. package/dist/esm/core/config/app-level-components.frontend.schemas.d.ts +2 -2
  429. package/dist/esm/core/config/app-level-components.frontend.schemas.js +2 -2
  430. package/dist/esm/core/config/app-level-components.frontend.schemas.js.map +1 -1
  431. package/dist/esm/core/config/chart-view.frontend.schemas.d.ts +59 -18
  432. package/dist/esm/core/config/chart-view.frontend.schemas.d.ts.map +1 -1
  433. package/dist/esm/core/config/chart-view.frontend.schemas.js +42 -7
  434. package/dist/esm/core/config/chart-view.frontend.schemas.js.map +1 -1
  435. package/dist/esm/core/config/composite-view.schemas.d.ts +8 -1
  436. package/dist/esm/core/config/composite-view.schemas.d.ts.map +1 -1
  437. package/dist/esm/core/config/composite-view.schemas.js +1 -0
  438. package/dist/esm/core/config/composite-view.schemas.js.map +1 -1
  439. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts +1 -1
  440. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts.map +1 -1
  441. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js +1 -1
  442. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js.map +1 -1
  443. package/dist/esm/core/config/engine-settings-destinations.d.ts +6 -0
  444. package/dist/esm/core/config/engine-settings-destinations.d.ts.map +1 -1
  445. package/dist/esm/core/config/engine-settings-destinations.js +12 -0
  446. package/dist/esm/core/config/engine-settings-destinations.js.map +1 -1
  447. package/dist/esm/core/config/execution-view.schemas.d.ts +1 -1
  448. package/dist/esm/core/config/execution-view.schemas.js.map +1 -1
  449. package/dist/esm/core/config/identity-portal-settings.frontend.d.ts +17 -0
  450. package/dist/esm/core/config/identity-portal-settings.frontend.d.ts.map +1 -0
  451. package/dist/esm/core/config/identity-portal-settings.frontend.js +64 -0
  452. package/dist/esm/core/config/identity-portal-settings.frontend.js.map +1 -0
  453. package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts +8 -8
  454. package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts.map +1 -1
  455. package/dist/esm/core/config/launcher-items.frontend.schemas.js.map +1 -1
  456. package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts +1 -1
  457. package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts.map +1 -1
  458. package/dist/esm/core/config/settings-hub-gating.frontend.utils.js +1 -1
  459. package/dist/esm/core/config/settings-hub-gating.frontend.utils.js.map +1 -1
  460. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts +17 -6
  461. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts.map +1 -1
  462. package/dist/esm/core/config/settings-hub.frontend.schemas.js.map +1 -1
  463. package/dist/esm/core/config/useSettingsHubConfig.d.ts.map +1 -1
  464. package/dist/esm/core/config/useSettingsHubConfig.js +1 -0
  465. package/dist/esm/core/config/useSettingsHubConfig.js.map +1 -1
  466. package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts +7 -0
  467. package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts.map +1 -1
  468. package/dist/esm/core/config/useVisibleSettingsHubConfig.js +9 -1
  469. package/dist/esm/core/config/useVisibleSettingsHubConfig.js.map +1 -1
  470. package/dist/esm/core/config/verify-launcher-content.d.ts +7 -1
  471. package/dist/esm/core/config/verify-launcher-content.d.ts.map +1 -1
  472. package/dist/esm/core/config/verify-launcher-content.js +31 -0
  473. package/dist/esm/core/config/verify-launcher-content.js.map +1 -1
  474. package/dist/esm/core/errors/GlobalErrorHandler.d.ts.map +1 -1
  475. package/dist/esm/core/errors/GlobalErrorHandler.js +10 -0
  476. package/dist/esm/core/errors/GlobalErrorHandler.js.map +1 -1
  477. package/dist/esm/core/errors/backend-refusal.frontend.d.ts +1 -1
  478. package/dist/esm/core/errors/backend-refusal.frontend.d.ts.map +1 -1
  479. package/dist/esm/core/errors/backend-refusal.frontend.js.map +1 -1
  480. package/dist/esm/core/events/NotificationContext.d.ts.map +1 -1
  481. package/dist/esm/core/events/NotificationContext.js +19 -2
  482. package/dist/esm/core/events/NotificationContext.js.map +1 -1
  483. package/dist/esm/core/events/notification-display-policy.frontend.schemas.d.ts +21 -2
  484. package/dist/esm/core/events/notification-display-policy.frontend.schemas.d.ts.map +1 -1
  485. package/dist/esm/core/events/notification-display-policy.frontend.schemas.js +25 -4
  486. package/dist/esm/core/events/notification-display-policy.frontend.schemas.js.map +1 -1
  487. package/dist/esm/core/execution/useExecution.d.ts +3 -3
  488. package/dist/esm/core/execution/useExecution.js.map +1 -1
  489. package/dist/esm/core/external-providers/ConsentBasedProviderSdks.d.ts +1 -1
  490. package/dist/esm/core/external-providers/ConsentBasedProviderSdks.js +1 -1
  491. package/dist/esm/core/external-providers/ConsentBasedProviderSdks.js.map +1 -1
  492. package/dist/esm/core/features/FeatureGate.d.ts +13 -1
  493. package/dist/esm/core/features/FeatureGate.d.ts.map +1 -1
  494. package/dist/esm/core/features/FeatureGate.js +6 -1
  495. package/dist/esm/core/features/FeatureGate.js.map +1 -1
  496. package/dist/esm/core/features/InPlaceFeatureLock.d.ts +28 -0
  497. package/dist/esm/core/features/InPlaceFeatureLock.d.ts.map +1 -0
  498. package/dist/esm/core/features/InPlaceFeatureLock.js +49 -0
  499. package/dist/esm/core/features/InPlaceFeatureLock.js.map +1 -0
  500. package/dist/esm/core/features/PlanRefusalPrompt.d.ts +12 -0
  501. package/dist/esm/core/features/PlanRefusalPrompt.d.ts.map +1 -0
  502. package/dist/esm/core/features/PlanRefusalPrompt.js +90 -0
  503. package/dist/esm/core/features/PlanRefusalPrompt.js.map +1 -0
  504. package/dist/esm/core/features/RequiredFeaturesGate.d.ts +39 -0
  505. package/dist/esm/core/features/RequiredFeaturesGate.d.ts.map +1 -0
  506. package/dist/esm/core/features/RequiredFeaturesGate.js +51 -0
  507. package/dist/esm/core/features/RequiredFeaturesGate.js.map +1 -0
  508. package/dist/esm/core/features/feature-unavailability.frontend.utils.d.ts +6 -0
  509. package/dist/esm/core/features/feature-unavailability.frontend.utils.d.ts.map +1 -1
  510. package/dist/esm/core/features/feature-unavailability.frontend.utils.js +27 -10
  511. package/dist/esm/core/features/feature-unavailability.frontend.utils.js.map +1 -1
  512. package/dist/esm/core/features/plan-refusal.frontend.d.ts +43 -0
  513. package/dist/esm/core/features/plan-refusal.frontend.d.ts.map +1 -0
  514. package/dist/esm/core/features/plan-refusal.frontend.js +67 -0
  515. package/dist/esm/core/features/plan-refusal.frontend.js.map +1 -0
  516. package/dist/esm/core/features/required-features-gate-presentation.d.ts +21 -0
  517. package/dist/esm/core/features/required-features-gate-presentation.d.ts.map +1 -0
  518. package/dist/esm/core/features/required-features-gate-presentation.js +26 -0
  519. package/dist/esm/core/features/required-features-gate-presentation.js.map +1 -0
  520. package/dist/esm/core/features/useFeatureAvailability.d.ts.map +1 -1
  521. package/dist/esm/core/features/useFeatureAvailability.js +4 -0
  522. package/dist/esm/core/features/useFeatureAvailability.js.map +1 -1
  523. package/dist/esm/core/features/useOperationFeatureAvailability.d.ts +2 -0
  524. package/dist/esm/core/features/useOperationFeatureAvailability.d.ts.map +1 -1
  525. package/dist/esm/core/features/useOperationFeatureAvailability.js +6 -1
  526. package/dist/esm/core/features/useOperationFeatureAvailability.js.map +1 -1
  527. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts +11 -0
  528. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts.map +1 -1
  529. package/dist/esm/core/flows-actors/FlowsActorsContext.js +117 -3
  530. package/dist/esm/core/flows-actors/FlowsActorsContext.js.map +1 -1
  531. package/dist/esm/core/guidance/renderers/GuidanceAnnouncement.d.ts.map +1 -1
  532. package/dist/esm/core/guidance/renderers/GuidanceAnnouncement.js +3 -1
  533. package/dist/esm/core/guidance/renderers/GuidanceAnnouncement.js.map +1 -1
  534. package/dist/esm/core/navigation/NavigationContentAreas.d.ts.map +1 -1
  535. package/dist/esm/core/navigation/NavigationContentAreas.js +28 -9
  536. package/dist/esm/core/navigation/NavigationContentAreas.js.map +1 -1
  537. package/dist/esm/{components/views/chart-dashboard/chart-dashboard.utils.d.ts → core/navigation/chart-read-gate.d.ts} +11 -7
  538. package/dist/esm/core/navigation/chart-read-gate.d.ts.map +1 -0
  539. package/dist/esm/{components/views/chart-dashboard/chart-dashboard.utils.js → core/navigation/chart-read-gate.js} +27 -11
  540. package/dist/esm/core/navigation/chart-read-gate.js.map +1 -0
  541. package/dist/esm/core/navigation/home-resolution.d.ts +36 -0
  542. package/dist/esm/core/navigation/home-resolution.d.ts.map +1 -0
  543. package/dist/esm/core/navigation/home-resolution.js +46 -0
  544. package/dist/esm/core/navigation/home-resolution.js.map +1 -0
  545. package/dist/esm/core/navigation/launcher-resolution.d.ts +2 -34
  546. package/dist/esm/core/navigation/launcher-resolution.d.ts.map +1 -1
  547. package/dist/esm/core/navigation/launcher-resolution.js +13 -18
  548. package/dist/esm/core/navigation/launcher-resolution.js.map +1 -1
  549. package/dist/esm/core/navigation/launcher-runtime-availability.d.ts +1 -1
  550. package/dist/esm/core/navigation/launcher-runtime-availability.d.ts.map +1 -1
  551. package/dist/esm/core/navigation/launcher-runtime-availability.js +7 -2
  552. package/dist/esm/core/navigation/launcher-runtime-availability.js.map +1 -1
  553. package/dist/esm/core/navigation/primary-destination-layout.d.ts +2 -2
  554. package/dist/esm/core/navigation/primary-destination-layout.d.ts.map +1 -1
  555. package/dist/esm/core/navigation/primary-destination-layout.js +1 -1
  556. package/dist/esm/core/navigation/primary-destination-layout.js.map +1 -1
  557. package/dist/esm/core/navigation/useChartReadDecision.d.ts +26 -0
  558. package/dist/esm/core/navigation/useChartReadDecision.d.ts.map +1 -0
  559. package/dist/esm/core/navigation/useChartReadDecision.js +58 -0
  560. package/dist/esm/core/navigation/useChartReadDecision.js.map +1 -0
  561. package/dist/esm/core/navigation/useCurrentOrganizationConfigurationPresence.d.ts +1 -1
  562. package/dist/esm/core/navigation/useCurrentOrganizationConfigurationPresence.d.ts.map +1 -1
  563. package/dist/esm/core/navigation/useCurrentOrganizationConfigurationPresence.js.map +1 -1
  564. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts +1 -1
  565. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts.map +1 -1
  566. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.js.map +1 -1
  567. package/dist/esm/core/navigation/view-title-resolution.d.ts +21 -0
  568. package/dist/esm/core/navigation/view-title-resolution.d.ts.map +1 -1
  569. package/dist/esm/core/navigation/view-title-resolution.js +25 -0
  570. package/dist/esm/core/navigation/view-title-resolution.js.map +1 -1
  571. package/dist/esm/core/navigation/viewer-field-reader.d.ts +81 -0
  572. package/dist/esm/core/navigation/viewer-field-reader.d.ts.map +1 -0
  573. package/dist/esm/core/navigation/viewer-field-reader.js +113 -0
  574. package/dist/esm/core/navigation/viewer-field-reader.js.map +1 -0
  575. package/dist/esm/core/navigation/viewer-roles.d.ts +40 -0
  576. package/dist/esm/core/navigation/viewer-roles.d.ts.map +1 -0
  577. package/dist/esm/core/navigation/viewer-roles.js +26 -0
  578. package/dist/esm/core/navigation/viewer-roles.js.map +1 -0
  579. package/dist/esm/core/requests/user-interaction-clock.d.ts +32 -0
  580. package/dist/esm/core/requests/user-interaction-clock.d.ts.map +1 -0
  581. package/dist/esm/core/requests/user-interaction-clock.js +47 -0
  582. package/dist/esm/core/requests/user-interaction-clock.js.map +1 -0
  583. package/dist/esm/core/requests/websockets/WebSocketEventBridge.d.ts.map +1 -1
  584. package/dist/esm/core/requests/websockets/WebSocketEventBridge.js +2 -0
  585. package/dist/esm/core/requests/websockets/WebSocketEventBridge.js.map +1 -1
  586. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts +66 -10
  587. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts.map +1 -1
  588. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js +63 -8
  589. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js.map +1 -1
  590. package/dist/esm/core/requests/wildo-http-client.frontend.service.d.ts.map +1 -1
  591. package/dist/esm/core/requests/wildo-http-client.frontend.service.js +13 -0
  592. package/dist/esm/core/requests/wildo-http-client.frontend.service.js.map +1 -1
  593. package/dist/esm/core/resources/hooks/useOperationEnabled.d.ts.map +1 -1
  594. package/dist/esm/core/resources/hooks/useOperationEnabled.js +45 -3
  595. package/dist/esm/core/resources/hooks/useOperationEnabled.js.map +1 -1
  596. package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts +1 -1
  597. package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts.map +1 -1
  598. package/dist/esm/core/resources/resource-addressability.frontend.utils.js.map +1 -1
  599. package/dist/esm/core/resources/resources-repository.frontend.service.d.ts.map +1 -1
  600. package/dist/esm/core/resources/resources-repository.frontend.service.js +2 -0
  601. package/dist/esm/core/resources/resources-repository.frontend.service.js.map +1 -1
  602. package/dist/esm/core/resources/resources.frontend.schemas.d.ts +29 -23
  603. package/dist/esm/core/resources/resources.frontend.schemas.d.ts.map +1 -1
  604. package/dist/esm/core/resources/resources.frontend.schemas.js +20 -20
  605. package/dist/esm/core/resources/resources.frontend.schemas.js.map +1 -1
  606. package/dist/esm/core/resources/rmm/ResourceMutationManager.d.ts.map +1 -1
  607. package/dist/esm/core/resources/rmm/ResourceMutationManager.js +4 -0
  608. package/dist/esm/core/resources/rmm/ResourceMutationManager.js.map +1 -1
  609. package/dist/esm/core/resources/useResourceOperationActions.d.ts.map +1 -1
  610. package/dist/esm/core/resources/useResourceOperationActions.js +7 -7
  611. package/dist/esm/core/resources/useResourceOperationActions.js.map +1 -1
  612. package/dist/esm/core/runtime/AppRouter.d.ts.map +1 -1
  613. package/dist/esm/core/runtime/AppRouter.js +11 -33
  614. package/dist/esm/core/runtime/AppRouter.js.map +1 -1
  615. package/dist/esm/core/runtime/ApplicationMainContext.d.ts +15 -1
  616. package/dist/esm/core/runtime/ApplicationMainContext.d.ts.map +1 -1
  617. package/dist/esm/core/runtime/ApplicationMainContext.js +41 -23
  618. package/dist/esm/core/runtime/ApplicationMainContext.js.map +1 -1
  619. package/dist/esm/core/runtime/IdentityPortalRouter.d.ts +20 -0
  620. package/dist/esm/core/runtime/IdentityPortalRouter.d.ts.map +1 -0
  621. package/dist/esm/core/runtime/IdentityPortalRouter.js +31 -0
  622. package/dist/esm/core/runtime/IdentityPortalRouter.js.map +1 -0
  623. package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts +9 -0
  624. package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts.map +1 -1
  625. package/dist/esm/core/runtime/domain-module.frontend.definitions.js +3 -2
  626. package/dist/esm/core/runtime/domain-module.frontend.definitions.js.map +1 -1
  627. package/dist/esm/core/runtime/frontend-companion-resource-inputs.d.ts +21 -0
  628. package/dist/esm/core/runtime/frontend-companion-resource-inputs.d.ts.map +1 -1
  629. package/dist/esm/core/runtime/frontend-companion-resource-inputs.js +19 -1
  630. package/dist/esm/core/runtime/frontend-companion-resource-inputs.js.map +1 -1
  631. package/dist/esm/core/runtime/identity-routes.d.ts +13 -0
  632. package/dist/esm/core/runtime/identity-routes.d.ts.map +1 -0
  633. package/dist/esm/core/runtime/identity-routes.js +50 -0
  634. package/dist/esm/core/runtime/identity-routes.js.map +1 -0
  635. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts +19 -0
  636. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts.map +1 -1
  637. package/dist/esm/core/runtime/routes.frontend.definitions.js +20 -1
  638. package/dist/esm/core/runtime/routes.frontend.definitions.js.map +1 -1
  639. package/dist/esm/core/runtime/runtime.frontend.schemas.d.ts +3 -1
  640. package/dist/esm/core/runtime/runtime.frontend.schemas.d.ts.map +1 -1
  641. package/dist/esm/core/runtime/runtime.frontend.schemas.js +2 -0
  642. package/dist/esm/core/runtime/runtime.frontend.schemas.js.map +1 -1
  643. package/dist/esm/core/runtime/start-application.frontend.service.d.ts +7 -0
  644. package/dist/esm/core/runtime/start-application.frontend.service.d.ts.map +1 -1
  645. package/dist/esm/core/runtime/start-application.frontend.service.js +4 -2
  646. package/dist/esm/core/runtime/start-application.frontend.service.js.map +1 -1
  647. package/dist/esm/core/search/command-score.d.ts +33 -0
  648. package/dist/esm/core/search/command-score.d.ts.map +1 -0
  649. package/dist/esm/core/search/command-score.js +109 -0
  650. package/dist/esm/core/search/command-score.js.map +1 -0
  651. package/dist/esm/core/security/AuthSessionContext.d.ts.map +1 -1
  652. package/dist/esm/core/security/AuthSessionContext.js +4 -0
  653. package/dist/esm/core/security/AuthSessionContext.js.map +1 -1
  654. package/dist/esm/core/security/StepUpAuthContext.d.ts +3 -2
  655. package/dist/esm/core/security/StepUpAuthContext.d.ts.map +1 -1
  656. package/dist/esm/core/security/StepUpAuthContext.js +7 -2
  657. package/dist/esm/core/security/StepUpAuthContext.js.map +1 -1
  658. package/dist/esm/core/security/federated-reauthentication.frontend.d.ts +13 -2
  659. package/dist/esm/core/security/federated-reauthentication.frontend.d.ts.map +1 -1
  660. package/dist/esm/core/security/federated-reauthentication.frontend.js +21 -1
  661. package/dist/esm/core/security/federated-reauthentication.frontend.js.map +1 -1
  662. package/dist/esm/core/security/useAuthenticatedRouteEntry.d.ts +24 -0
  663. package/dist/esm/core/security/useAuthenticatedRouteEntry.d.ts.map +1 -0
  664. package/dist/esm/core/security/useAuthenticatedRouteEntry.js +37 -0
  665. package/dist/esm/core/security/useAuthenticatedRouteEntry.js.map +1 -0
  666. package/dist/esm/core/ui/design-token.utils.d.ts +9 -0
  667. package/dist/esm/core/ui/design-token.utils.d.ts.map +1 -1
  668. package/dist/esm/core/ui/design-token.utils.js +24 -3
  669. package/dist/esm/core/ui/design-token.utils.js.map +1 -1
  670. package/dist/esm/core/ui/themes/focus-indicator.d.ts +1 -1
  671. package/dist/esm/core/ui/themes/focus-indicator.js +1 -1
  672. package/dist/esm/core/ui/themes/focus-indicator.js.map +1 -1
  673. package/dist/esm/core/ui/ui.frontend.schemas.d.ts.map +1 -1
  674. package/dist/esm/index.d.ts +19 -1
  675. package/dist/esm/index.d.ts.map +1 -1
  676. package/dist/esm/index.js +22 -1
  677. package/dist/esm/index.js.map +1 -1
  678. package/dist/esm/testing/mock-builders.d.ts +1 -1
  679. package/dist/esm/testing/mock-builders.d.ts.map +1 -1
  680. package/dist/esm/testing/mock-builders.js +1 -0
  681. package/dist/esm/testing/mock-builders.js.map +1 -1
  682. package/dist/tsconfig.build.tsbuildinfo +1 -1
  683. package/package.json +9 -6
  684. package/dist/esm/components/views/chart-dashboard/chart-dashboard.utils.d.ts.map +0 -1
  685. package/dist/esm/components/views/chart-dashboard/chart-dashboard.utils.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"approval.labels.d.ts","sourceRoot":"","sources":["../../../../src/components/flows-actors/approval.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,mBAAmB,EAA2B,MAAM,qCAAqC,CAAC;AAM1I,eAAO,MAAM,wBAAwB,EAAE,mBAAmB,EAqLzD,CAAC"}
1
+ {"version":3,"file":"approval.labels.d.ts","sourceRoot":"","sources":["../../../../src/components/flows-actors/approval.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,mBAAmB,EAA2B,MAAM,qCAAqC,CAAC;AAM1I,eAAO,MAAM,wBAAwB,EAAE,mBAAmB,EAmNzD,CAAC"}
@@ -52,6 +52,26 @@ export const LowLevelAiApprovalLabels = [
52
52
  { key: 'requester', meaning: 'name of the person who asked' },
53
53
  ],
54
54
  },
55
+ // The words a decision is named by in an email, which reaches a mailbox: never what the decision is about, nor who.
56
+ { ref: 'mailboxQuestion', kind: LabelKind.MESSAGE, purpose: 'One line naming, in an email, a question waiting for the recipient\'s answer in the application; it must not say what is asked, which the person reads after signing in' },
57
+ {
58
+ ref: 'mailboxRepresentativeAdmission',
59
+ kind: LabelKind.MESSAGE,
60
+ purpose: 'One line naming, in an email, a request waiting for an administrator: an organization this one works with asks to admit one of its people with a given role; it names no organization and no person, whom the administrator sees after signing in',
61
+ params: [{ key: 'role', meaning: 'the name of the role the person would hold in this organization (already worded)' }],
62
+ },
63
+ {
64
+ ref: 'mailboxOperationApproval',
65
+ kind: LabelKind.MESSAGE,
66
+ purpose: 'One line naming, in an email, a request waiting for an approver: someone asked to do something in the application, done only if it is approved; it names neither who asked nor the values asked for',
67
+ params: [{ key: 'operation', meaning: 'what was asked, as the application names it (e.g. "Create supplier")' }],
68
+ },
69
+ {
70
+ ref: 'mailboxAnswerOption',
71
+ kind: LabelKind.BUTTON,
72
+ purpose: 'Button in an email answering a question with one of its answers, named by its place because the answers\' own words are read after signing in (for example "Answer 2")',
73
+ params: [{ key: 'position', meaning: 'the place of the answer among the question\'s answers, from 1' }],
74
+ },
55
75
  { ref: 'inboxRepresentativeAdmissionScopeOrganization', kind: LabelKind.MESSAGE, purpose: 'Noun phrase, no leading preposition, filling the scope of the inbox line for the assigned person: the whole organization (for example "the whole organization")' },
56
76
  {
57
77
  ref: 'inboxRepresentativeAdmissionScopeUnits',
@@ -76,6 +96,7 @@ export const LowLevelAiApprovalLabels = [
76
96
  },
77
97
  { ref: 'requesterAutonomousAgent', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying an assistant working on its own raised it: no person asked for this action' },
78
98
  { ref: 'requesterConnectedApplication', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying a person raised it through another application they allowed to act for them' },
99
+ { ref: 'requesterInboundHandler', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying it was raised by work the application started on its own when a message arrived from another system or by email: no person asked for this action' },
79
100
  { ref: 'queueLoading', kind: LabelKind.MESSAGE, purpose: 'Accessible name of the placeholder shown while the inbox is still being loaded' },
80
101
  { ref: 'queueLoadFailed', kind: LabelKind.MESSAGE, purpose: 'Shown when the inbox could not be loaded; requests may be waiting that are not shown, and any listed below may be out of date' },
81
102
  { ref: 'queueRetry', kind: LabelKind.BUTTON, purpose: 'Button loading the inbox again after it could not be loaded' },
@@ -97,6 +118,11 @@ export const LowLevelAiApprovalLabels = [
97
118
  // #2797 — the button a copy of a request sent to a person's chat carries when it is answered in the application only
98
119
  // (it asks for values a chat button cannot carry, or more options than a card shows). A chat button holds about 75 characters.
99
120
  { ref: 'noticeOpenInApplication', kind: LabelKind.BUTTON, purpose: 'Button on a copy of a request sent to a person outside the application (a chat message) that opens the request in the application, where it is answered' },
121
+ // A copy of a request sent to a person's chat asks, beside its approve button, why they approve a high or critical
122
+ // risk action: approving one needs the approver's own reason, so the copy collects it with the click.
123
+ { ref: 'noticeApprovalReasonLabel', kind: LabelKind.LABEL, purpose: 'Label of the field on a copy of a request sent to a person\'s chat (a Slack message, a Teams card), above the approve button of a high or critical risk action, where they write why they let the action go ahead; required to approve, and kept with the decision beside who approved it' },
124
+ { ref: 'noticeApprovalReasonPlaceholder', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of that field on the chat copy: prompts the person to say, in their own words, what they checked and why the action should go ahead' },
125
+ { ref: 'noticeApprovalReasonMissing', kind: LabelKind.MESSAGE, purpose: 'Shown on a chat copy of a request when the person chose to approve a high or critical risk action with the reason field empty: nothing was approved; they write why they approve it, then approve again' },
100
126
  { ref: 'noticeAnswered', kind: LabelKind.MESSAGE, purpose: 'Shown in place of the answer buttons on a copy of a request sent to a person outside the application (a chat message), once the request was answered by anyone, this person included' },
101
127
  { ref: 'noticeSuperseded', kind: LabelKind.MESSAGE, purpose: 'Shown when someone else answered or moved the request a moment earlier, so this action did nothing' },
102
128
  // #2903 — what the person read is bound to the answer: a request that changed since it was shown is not answered.
@@ -114,6 +140,7 @@ export const LowLevelAiApprovalLabels = [
114
140
  { ref: 'noticeModificationRejected', kind: LabelKind.MESSAGE, purpose: 'Shown when edited arguments were refused; the request is still waiting and can be answered as proposed' },
115
141
  { ref: 'noticeEditedCallNotReachable', kind: LabelKind.MESSAGE, purpose: 'Shown when the edit points the call at a record the approver may not reach, through the organization relationship they work in; the request is still waiting, and can be approved as proposed or denied, naming the arguments it is about', params: [{ key: 'arguments', meaning: 'comma-separated names of the arguments it is about' }] },
116
142
  { ref: 'noticeReasonCodeRejected', kind: LabelKind.MESSAGE, purpose: 'Shown when the reason given is not one the application offers; the request is still waiting and can be answered again' },
143
+ { ref: 'noticeApprovalReasonRequired', kind: LabelKind.MESSAGE, purpose: 'Shown when a high or critical risk action was approved without saying why: approving it needs the approver\'s reason, so nothing was approved; the request is still waiting, to be approved again with a reason, or denied' },
117
144
  // #1921 — why the approver changed or rejected an assistant's proposed action, chosen from the application's own reasons.
118
145
  { ref: 'reasonCode', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of the optional list of reasons for changing or rejecting the assistant\'s proposed action, as the application defines them' },
119
146
  { ref: 'reasonCodeClear', kind: LabelKind.BUTTON, purpose: 'Button removing the reason chosen, so the answer is given without one' },
@@ -156,6 +183,9 @@ export const LowLevelAiApprovalLabels = [
156
183
  { ref: 'confirmDescription', kind: LabelKind.DESCRIPTION, purpose: 'Body text of that confirmation dialog: answering this way lets the requested action go ahead' },
157
184
  { ref: 'confirmCancel', kind: LabelKind.BUTTON, purpose: 'Button to dismiss the confirmation dialog without acting' },
158
185
  { ref: 'confirmProceed', kind: LabelKind.BUTTON, purpose: 'Button to confirm and proceed with the approval action' },
186
+ { ref: 'confirmReasonLabel', kind: LabelKind.LABEL, purpose: 'Label of the required field, in the dialog confirming the approval of a high or critical risk action, where the approver writes why they let the action go ahead' },
187
+ { ref: 'confirmReasonPlaceholder', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of that required field: prompts the approver to say, in their own words, what they checked and why the action should go ahead' },
188
+ { ref: 'confirmReasonHelp', kind: LabelKind.DESCRIPTION, purpose: 'Help under that required field: the reason is kept with the decision, beside who approved it, and the approval button stays unavailable until one is written' },
159
189
  { ref: 'processing', kind: LabelKind.MESSAGE, purpose: 'Shown while the approval decision is being submitted' },
160
190
  { ref: 'queueEmpty', kind: LabelKind.EMPTY_STATE, purpose: 'Shown when there are no pending approvals in the queue' },
161
191
  { ref: 'queueSortRisk', kind: LabelKind.LABEL, purpose: 'Toggle ordering the inbox by the risk declared for each request\'s action, highest first; off, requests are ordered by soonest deadline' },
@@ -1 +1 @@
1
- {"version":3,"file":"approval.labels.js","sourceRoot":"","sources":["../../../../src/components/flows-actors/approval.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAA4B,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE1I,2EAA2E;AAC3E,6EAA6E;AAC7E,+EAA+E;AAE/E,MAAM,CAAC,MAAM,wBAAwB,GAA0B;IAC7D,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,uCAAuC,EAAE;IAC5F,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,oCAAoC,EAAE;IACtF,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,qDAAqD,EAAE;IAC3G,EAAE,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,gCAAgC,EAAE;IACzF,qEAAqE;IACrE,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,sFAAsF,EAAE;IACzI,EAAE,GAAG,EA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AE,SAAS,CAAC,OAAO;QACvB,OAAO,EAAE,6CAA6C;QACtD,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,2BAA2B,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;KAChF;IACD;QACE,GAAG,EAAE,cAAc;QACnB,IAAI,EAAE,SAAS,CAAC,OAAO;QACvB,OAAO,EAAE,2CAA2C;QACpD,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,yBAAyB,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;KAC9E;CACF,CAAC;AACF,uBAAuB,CAAC,qBAAqB,CAAC,qBAAqB,EAAE,wBAAwB,CAAC,CAAC","sourcesContent":["import { FrontendComponentType, LabelKind, type LabellingUnitaryDef, registerComponentLabels } from '@wildo-ai/presets-components-models';\n\n// Companion-only label metadata for this component: keys + params + (where\n// authored) per-key purpose / kind / variable meaning. Statically scanned by\n// the dev companion; NOT imported at runtime, so it never ships in the bundle.\n\nexport const LowLevelAiApprovalLabels: LabellingUnitaryDef[] = [\n { ref: 'approve', kind: LabelKind.BUTTON, purpose: 'Button to approve the pending request' },\n { ref: 'deny', kind: LabelKind.BUTTON, purpose: 'Button to deny the pending request' },\n { ref: 'escalate', kind: LabelKind.BUTTON, purpose: 'Button to escalate the request to a higher approver' },\n { ref: 'queueTitle', kind: LabelKind.HEADING, purpose: 'Heading for the approval queue' },\n // #1594 — moving a decision between people, and what an act came to.\n { ref: 'claim', kind: LabelKind.BUTTON, purpose: 'Button taking a request routed to a role the person holds, so it is theirs to answer' },\n { ref: 'unclaim', kind: LabelKind.BUTTON, purpose: 'Button giving a request the person claimed back to everyone holding its role' },\n { ref: 'reassign', kind: LabelKind.BUTTON, purpose: 'Button opening a choice of who else this request should go to' },\n { ref: 'reassignTarget', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of the list of people this request can be handed to' },\n { ref: 'reassignConfirm', kind: LabelKind.BUTTON, purpose: 'Button handing the request to the person chosen' },\n { ref: 'reassignNoCandidates', kind: LabelKind.MESSAGE, purpose: 'Shown when nobody else can answer this request, so it cannot be handed on' },\n // #1628 — a request's deadlines, and stopping its clocks while the reviewer waits on something outside their control.\n { ref: 'deadlineClaimBy', kind: LabelKind.MESSAGE, purpose: 'Line on a waiting request saying by when someone should take it on', params: [{ key: 'when', meaning: 'the date and time it should be taken by, already formatted for the reader' }] },\n { ref: 'deadlineDecisionBy', kind: LabelKind.MESSAGE, purpose: 'Line on a waiting request saying by when it should be answered', params: [{ key: 'when', meaning: 'the date and time it should be answered by, already formatted for the reader' }] },\n { ref: 'clockPausedIn', kind: LabelKind.MESSAGE, purpose: 'Line on a waiting request whose deadlines are paused, naming why; the request still expires at its original time', params: [{ key: 'pauseState', meaning: 'the reason the deadlines are paused, as the application names it' }] },\n { ref: 'pauseClock', kind: LabelKind.BUTTON, purpose: 'Button stopping the request\\'s deadlines while the reviewer waits on something outside their control; it does not stop the request expiring' },\n { ref: 'pauseClockState', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of the list of reasons the deadlines can be paused for' },\n { ref: 'pauseClockConfirm', kind: LabelKind.BUTTON, purpose: 'Button confirming the pause for the reason chosen' },\n { ref: 'resumeClock', kind: LabelKind.BUTTON, purpose: 'Button restarting the request\\'s paused deadlines; the paused time is added to them' },\n { ref: 'noticeClockAlreadyPaused', kind: LabelKind.MESSAGE, purpose: 'Shown when the deadlines were already paused, so this pause did nothing' },\n { ref: 'noticeClockNotPaused', kind: LabelKind.MESSAGE, purpose: 'Shown when the deadlines were not paused, so there was nothing to restart' },\n { ref: 'noticePauseStateNotDeclared', kind: LabelKind.MESSAGE, purpose: 'Shown when the reason chosen for pausing is not one this request allows' },\n {\n ref: 'inboxToolCall',\n kind: LabelKind.MESSAGE,\n purpose: 'One line describing a request waiting in the inbox: an assistant is waiting for approval to run an action',\n params: [{ key: 'toolName', meaning: 'the action the assistant wants to run, in its own words (e.g. \"Reschedule a todo\"); its system name when it has no words yet' }],\n },\n {\n ref: 'inboxRepresentativeAdmission',\n kind: LabelKind.MESSAGE,\n purpose: 'One line describing a request waiting in an administrator\\'s inbox: an organization this one works with (for example a service firm) assigned one of its people to work inside this organization with a given role and scope, and they are admitted only if an administrator approves. Must name the role and the scope: they are what the approver grants',\n params: [\n { key: 'representingOrganization', meaning: 'name of the organization that assigned the person (for example a service firm)' },\n { key: 'representative', meaning: 'name of the person that organization assigned' },\n { key: 'email', meaning: 'email address of the person that organization assigned' },\n { key: 'role', meaning: 'the name of the role the person would hold in this organization (already worded)' },\n { key: 'scope', meaning: 'where in this organization the person would work: the whole organization, or a number of teams (already worded)' },\n ],\n },\n {\n ref: 'inboxOperationApproval',\n kind: LabelKind.MESSAGE,\n purpose: 'One line describing a request waiting in an approver\\'s inbox: a person asked to do something in the application (create or change a record), and it is done only if someone allowed to approve it does. The values they asked for are shown beside it',\n params: [\n { key: 'operation', meaning: 'what the person asked to do, as the application names it (e.g. \"Create supplier\")' },\n { key: 'requester', meaning: 'name of the person who asked' },\n ],\n },\n { ref: 'inboxRepresentativeAdmissionScopeOrganization', kind: LabelKind.MESSAGE, purpose: 'Noun phrase, no leading preposition, filling the scope of the inbox line for the assigned person: the whole organization (for example \"the whole organization\")' },\n {\n ref: 'inboxRepresentativeAdmissionScopeUnits',\n kind: LabelKind.MESSAGE,\n purpose: 'Noun phrase, no leading preposition, filling the scope of the inbox line for the assigned person: only some of the organization\\'s teams (for example \"3 teams\")',\n params: [{ key: 'count', meaning: 'how many teams', isCount: true }],\n },\n // #2526 — who holds a request in the inbox, and who raised it. The inbox lists only requests this person may answer.\n { ref: 'holderOwner', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying it is the person\\'s own: their assistant asked them, in their own conversation' },\n {\n ref: 'holderClaimedByYou',\n kind: LabelKind.MESSAGE,\n purpose: 'Line on a request in the inbox saying this person took it for themselves from everyone holding a role, and when; it is now theirs alone',\n params: [{ key: 'when', meaning: 'the date and time they took it, already formatted for the reader' }],\n },\n { ref: 'holderAssignedToYou', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying it was given to this person by name, to answer themselves' },\n {\n ref: 'holderRole',\n kind: LabelKind.MESSAGE,\n purpose: 'Line on a request in the inbox saying anyone holding a given role may answer it, including this person, until one of them takes it',\n params: [{ key: 'role', meaning: 'the name of the role, already worded' }],\n },\n { ref: 'requesterAutonomousAgent', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying an assistant working on its own raised it: no person asked for this action' },\n { ref: 'requesterConnectedApplication', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying a person raised it through another application they allowed to act for them' },\n { ref: 'queueLoading', kind: LabelKind.MESSAGE, purpose: 'Accessible name of the placeholder shown while the inbox is still being loaded' },\n { ref: 'queueLoadFailed', kind: LabelKind.MESSAGE, purpose: 'Shown when the inbox could not be loaded; requests may be waiting that are not shown, and any listed below may be out of date' },\n { ref: 'queueRetry', kind: LabelKind.BUTTON, purpose: 'Button loading the inbox again after it could not be loaded' },\n { ref: 'queueFilterPlaceholder', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of the field narrowing the inbox to requests whose assistant, action or description contains the text typed' },\n // #2526 — a request that asks its own question, answered by one of its own options rather than approve or deny.\n { ref: 'confirmAnswerYes', kind: LabelKind.LABEL, purpose: 'The \"yes\" answer to a yes-or-no question a request asks' },\n { ref: 'confirmAnswerNo', kind: LabelKind.LABEL, purpose: 'The \"no\" answer to a yes-or-no question a request asks' },\n // #2720 — the assistant asks the person in the conversation; the two ways to answer it.\n { ref: 'askPersonAnswer', kind: LabelKind.BUTTON, purpose: 'Button sending the person\\'s answers to the questions the assistant asked them' },\n { ref: 'askPersonDecideForMe', kind: LabelKind.BUTTON, purpose: 'Button telling the assistant to go on without the answers and decide by itself, saying what it assumed' },\n // #2754 — a step of an automated process (a flow) asks a person questions before it goes on; the two ways to answer it.\n // Each ref is a `HumanDecision_OptionLabelRef` value the engine writes on the option.\n { ref: 'flowStepAnswer', kind: LabelKind.BUTTON, purpose: 'Button sending the person\\'s answers to the questions an automated process asked them, so the process goes on from those answers' },\n { ref: 'flowStepStop', kind: LabelKind.BUTTON, purpose: 'Button stopping the automated process that asked the questions: it ends there and does nothing after this step' },\n { ref: 'queueNoMatch', kind: LabelKind.EMPTY_STATE, purpose: 'Shown when requests are waiting but none matches the text typed in the inbox filter' },\n { ref: 'awaitingReview', kind: LabelKind.MESSAGE, purpose: 'Shown on a request in the conversation it came from when a reviewer answers it, not the person in the conversation' },\n { ref: 'noticeNotActionable', kind: LabelKind.MESSAGE, purpose: 'Shown when the request can no longer be acted on by this person: it was settled, or is no longer theirs' },\n // #2664 S5b — what a copy of a request sent to someone's chat says once it was answered, by them or by anyone else.\n // #2797 — the button a copy of a request sent to a person's chat carries when it is answered in the application only\n // (it asks for values a chat button cannot carry, or more options than a card shows). A chat button holds about 75 characters.\n { ref: 'noticeOpenInApplication', kind: LabelKind.BUTTON, purpose: 'Button on a copy of a request sent to a person outside the application (a chat message) that opens the request in the application, where it is answered' },\n { ref: 'noticeAnswered', kind: LabelKind.MESSAGE, purpose: 'Shown in place of the answer buttons on a copy of a request sent to a person outside the application (a chat message), once the request was answered by anyone, this person included' },\n { ref: 'noticeSuperseded', kind: LabelKind.MESSAGE, purpose: 'Shown when someone else answered or moved the request a moment earlier, so this action did nothing' },\n // #2903 — what the person read is bound to the answer: a request that changed since it was shown is not answered.\n { ref: 'noticePresentationStale', kind: LabelKind.MESSAGE, purpose: 'Shown when the request changed since this person read it, so their answer was not taken: it still waits, now shown as it is, to be answered again' },\n { ref: 'noticeLapsed', kind: LabelKind.MESSAGE, purpose: 'Shown when the request expired before it was answered, so it is closed and the action did not run' },\n { ref: 'noticeRequesterAuthorityLapsed', kind: LabelKind.MESSAGE, purpose: 'Shown when the person the work was for no longer has the access it needs, so it was not run and the request is closed' },\n { ref: 'noticeTargetRefused', kind: LabelKind.MESSAGE, purpose: 'Shown when the person chosen cannot answer this request, so it stays where it was' },\n { ref: 'noticeNoEscalationTarget', kind: LabelKind.MESSAGE, purpose: 'Shown when there is nobody defined to escalate this request to, so it stays where it was; hand it to someone instead' },\n { ref: 'noticeConsentRequired', kind: LabelKind.MESSAGE, purpose: 'Shown when the person the work was for has not agreed to something this work needs; the request is still waiting' },\n { ref: 'noticeCallNotRunAsRead', kind: LabelKind.MESSAGE, purpose: 'Shown in the decision inbox when this call would not run as shown, whether edited or as proposed, naming the arguments to look at, so nothing was approved; the request is still pending and those arguments can be corrected, or the request denied', params: [{ key: 'arguments', meaning: 'comma-separated names of the arguments it is about' }] },\n { ref: 'noticeArgumentsCannotBeCorrected', kind: LabelKind.MESSAGE, purpose: 'Shown in the decision inbox when this call cannot run whatever is entered for the named arguments, so nothing was approved; the only way forward is to deny the request and ask again', params: [{ key: 'arguments', meaning: 'comma-separated names of the arguments it is about' }] },\n { ref: 'noticeTheseArguments', kind: LabelKind.MESSAGE, purpose: 'Stands in a decision inbox notice for the names of the arguments, when a refusal names none: a short noun phrase meaning these details' },\n { ref: 'noticeCallCannotRun', kind: LabelKind.MESSAGE, purpose: 'Shown in the decision inbox when this call could not run as things stand now, whatever its details, for example because the assistant was switched off or a policy changed, so nothing was approved; the request is still pending, can be denied, and approving it again may work later' },\n { ref: 'noticeCredentialNotAccepted', kind: LabelKind.MESSAGE, purpose: 'Shown in the decision inbox when an edit set or changed a credential such as a password or an API key in this action, naming the arguments, so nothing was approved; leave them as they were, or deny the request', params: [{ key: 'arguments', meaning: 'comma-separated names of the arguments it is about' }] },\n { ref: 'noticeModificationRejected', kind: LabelKind.MESSAGE, purpose: 'Shown when edited arguments were refused; the request is still waiting and can be answered as proposed' },\n { ref: 'noticeEditedCallNotReachable', kind: LabelKind.MESSAGE, purpose: 'Shown when the edit points the call at a record the approver may not reach, through the organization relationship they work in; the request is still waiting, and can be approved as proposed or denied, naming the arguments it is about', params: [{ key: 'arguments', meaning: 'comma-separated names of the arguments it is about' }] },\n { ref: 'noticeReasonCodeRejected', kind: LabelKind.MESSAGE, purpose: 'Shown when the reason given is not one the application offers; the request is still waiting and can be answered again' },\n // #1921 — why the approver changed or rejected an assistant's proposed action, chosen from the application's own reasons.\n { ref: 'reasonCode', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of the optional list of reasons for changing or rejecting the assistant\\'s proposed action, as the application defines them' },\n { ref: 'reasonCodeClear', kind: LabelKind.BUTTON, purpose: 'Button removing the reason chosen, so the answer is given without one' },\n { ref: 'denyConfirm', kind: LabelKind.BUTTON, purpose: 'Button rejecting the proposed action, with the reason chosen if any' },\n { ref: 'riskLow', kind: LabelKind.MESSAGE, purpose: 'Risk badge on a request whose action its application declares low risk' },\n { ref: 'riskMedium', kind: LabelKind.MESSAGE, purpose: 'Risk badge on a request whose action its application declares medium risk' },\n { ref: 'riskHigh', kind: LabelKind.MESSAGE, purpose: 'Risk badge on a request whose action its application declares high risk' },\n { ref: 'riskCritical', kind: LabelKind.MESSAGE, purpose: 'Risk badge on a request whose action its application declares critical risk' },\n { ref: 'commentPlaceholder', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder for the optional approver comment field' },\n { ref: 'expiresIn', kind: LabelKind.LABEL, purpose: 'Label preceding the time remaining before the request expires' },\n { ref: 'expired', kind: LabelKind.MESSAGE, purpose: 'Marker that the approval request has expired' },\n { ref: 'toolCall', kind: LabelKind.LABEL, purpose: 'Label preceding the name of the tool call awaiting approval' },\n { ref: 'toolArguments', kind: LabelKind.LABEL, purpose: 'Label for the arguments proposed for the tool call awaiting approval' },\n { ref: 'editArguments', kind: LabelKind.BUTTON, purpose: 'Button opening an editor over the proposed tool arguments so the approver can change them before approving' },\n { ref: 'discardArgumentEdits', kind: LabelKind.BUTTON, purpose: 'Button closing the argument editor and returning to the arguments the agent proposed' },\n { ref: 'argumentsNotValidJson', kind: LabelKind.MESSAGE, purpose: 'Shown when the edited tool arguments are not a valid JSON object, so the approval cannot be submitted' },\n { ref: 'editArgumentsAsJson', kind: LabelKind.BUTTON, purpose: 'Button switching the argument editor from one field per argument to the raw JSON text of all arguments' },\n { ref: 'editArgumentsAsFields', kind: LabelKind.BUTTON, purpose: 'Button switching the argument editor from raw JSON back to one field per argument' },\n { ref: 'argumentValueNotValidJson', kind: LabelKind.MESSAGE, purpose: 'Shown under one structured argument (a list or nested value edited as JSON) whose text is not valid JSON, so the approval cannot be submitted' },\n { ref: 'argumentModificationRefused', kind: LabelKind.LABEL, purpose: 'Label preceding the reason the server refused the edited arguments; the approval is still pending and can be corrected' },\n // One label per `FlowsActors_ApprovalModificationRefusalReason` (#1186): the reason shown after `argumentModificationRefused`.\n { ref: 'refusalAgentNotRegistered', kind: LabelKind.MESSAGE, purpose: 'The agent that asked for this approval is no longer available, so this call cannot run, as proposed or edited; the only way forward is to deny it and ask again' },\n { ref: 'refusalToolNotDeclared', kind: LabelKind.MESSAGE, purpose: 'The agent no longer offers this tool, so this call cannot run, as proposed or edited; the only way forward is to deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalApprovalRouteChanged', kind: LabelKind.MESSAGE, purpose: 'The way this tool is approved changed since this action was paused, so it cannot run; the only way forward is to deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalAgentNotActive', kind: LabelKind.MESSAGE, purpose: 'The assistant that asked for this approval is no longer active, so this call cannot run; the only way forward is to deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalAgentSuspended', kind: LabelKind.MESSAGE, purpose: 'An administrator suspended the assistant that asked for this approval, so this call cannot run; deny it, or answer once the assistant is back', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalContentPolicyTightened', kind: LabelKind.MESSAGE, purpose: 'The organization tightened its content policy since this action was paused, so it cannot run; the only way forward is to deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalAgentStandingUnreadable', kind: LabelKind.MESSAGE, purpose: 'The rules this assistant answers to could not be read just now, so this call cannot run yet; try again, or deny it', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalToolNoLongerGated', kind: LabelKind.MESSAGE, purpose: 'This tool no longer needs approval, so this request is out of date; deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalArgumentsInvalid', kind: LabelKind.MESSAGE, purpose: 'The edited arguments are not valid for this tool; names the arguments to correct, and the approval is still pending', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments that need correcting' }] },\n { ref: 'refusalArgumentsCannotBeCorrected', kind: LabelKind.MESSAGE, purpose: 'This tool cannot run with the named arguments whatever is entered, so correcting them would not help; the only way forward is to deny the request and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments' }] },\n { ref: 'refusalArgumentsNotRunAsWritten', kind: LabelKind.MESSAGE, purpose: 'The edited arguments are valid, but this tool would drop, change or fill in some of them, so it would not run what the approver wrote, or a value in the call cannot be used; names those arguments, and the approval is still pending', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments the tool would not run as written' }] },\n { ref: 'refusalCredentialNotAccepted', kind: LabelKind.MESSAGE, purpose: 'A credential such as a password or an API key cannot be set or changed in this action here, because it would be stored with this request; leave the named arguments as they were, or deny the request', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments holding a credential' }] },\n { ref: 'refusalSigningKeyNotConfigured', kind: LabelKind.MESSAGE, purpose: 'Edited arguments cannot be applied because the application is not configured to re-sign approvals; approve as proposed or deny' },\n { ref: 'refusalCallNotRewritable', kind: LabelKind.MESSAGE, purpose: 'This pending call could not be updated with the edited arguments; approve it as proposed or deny it' },\n { ref: 'refusalRecordNotReachable', kind: LabelKind.MESSAGE, purpose: 'The edit points this call at a record the approver may not reach, through the organization relationship they work in; names the arguments to put back; the approval is still pending and can be approved as proposed', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments that may not be changed' }] },\n { ref: 'refusalDeliverableFileNotEditable', kind: LabelKind.MESSAGE, purpose: 'The edit replaces the file this call is about; the approver approves the file they were shown, so the named argument must be put back; the approval is still pending and can be approved as proposed or denied', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'name of the argument holding the file, which may not be changed' }] },\n { ref: 'refusalReasonUnstated', kind: LabelKind.MESSAGE, purpose: 'The edited arguments were refused without a reason this screen recognises; approve as proposed, correct and retry, or deny' },\n { ref: 'confirmTitle', kind: LabelKind.HEADING, purpose: 'Heading of the dialog confirming an answer that lets a high or critical risk request go ahead: an approval, or one of the request\\'s own options that proceeds' },\n { ref: 'confirmDescription', kind: LabelKind.DESCRIPTION, purpose: 'Body text of that confirmation dialog: answering this way lets the requested action go ahead' },\n { ref: 'confirmCancel', kind: LabelKind.BUTTON, purpose: 'Button to dismiss the confirmation dialog without acting' },\n { ref: 'confirmProceed', kind: LabelKind.BUTTON, purpose: 'Button to confirm and proceed with the approval action' },\n { ref: 'processing', kind: LabelKind.MESSAGE, purpose: 'Shown while the approval decision is being submitted' },\n { ref: 'queueEmpty', kind: LabelKind.EMPTY_STATE, purpose: 'Shown when there are no pending approvals in the queue' },\n { ref: 'queueSortRisk', kind: LabelKind.LABEL, purpose: 'Toggle ordering the inbox by the risk declared for each request\\'s action, highest first; off, requests are ordered by soonest deadline' },\n {\n ref: 'expiresCountdown',\n kind: LabelKind.MESSAGE,\n purpose: 'Live countdown of the time left before the request expires',\n params: [{ key: 'time', meaning: 'formatted time remaining until expiry' }],\n },\n {\n ref: 'timeAgoSeconds',\n kind: LabelKind.MESSAGE,\n purpose: 'Relative timestamp expressed in seconds ago',\n params: [{ key: 'count', meaning: 'number of seconds elapsed', isCount: true }],\n },\n {\n ref: 'timeAgoMinutes',\n kind: LabelKind.MESSAGE,\n purpose: 'Relative timestamp expressed in minutes ago',\n params: [{ key: 'count', meaning: 'number of minutes elapsed', isCount: true }],\n },\n {\n ref: 'timeAgoHours',\n kind: LabelKind.MESSAGE,\n purpose: 'Relative timestamp expressed in hours ago',\n params: [{ key: 'count', meaning: 'number of hours elapsed', isCount: true }],\n },\n];\nregisterComponentLabels(FrontendComponentType.LOW_LEVEL_AI_APPROVAL, LowLevelAiApprovalLabels);\n"]}
1
+ {"version":3,"file":"approval.labels.js","sourceRoot":"","sources":["../../../../src/components/flows-actors/approval.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAA4B,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE1I,2EAA2E;AAC3E,6EAA6E;AAC7E,+EAA+E;AAE/E,MAAM,CAAC,MAAM,wBAAwB,GAA0B;IAC7D,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,uCAAuC,EAAE;IAC5F,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,oCAAoC,EAAE;IACtF,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,qDAAqD,EAAE;IAC3G,EAAE,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,gCAAgC,EAAE;IACzF,qEAAqE;IACrE,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,sFAAsF,EAAE;IACzI,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,8EAA8E,EAAE;IACnI,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,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G,EAAE,OAAO,EAAE,OAAO,EAAE,2BAA2B,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;KAChF;IACD;QACE,GAAG,EAAE,gBAAgB;QACrB,IAAI,EAAE,SAAS,CAAC,OAAO;QACvB,OAAO,EAAE,6CAA6C;QACtD,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,2BAA2B,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;KAChF;IACD;QACE,GAAG,EAAE,cAAc;QACnB,IAAI,EAAE,SAAS,CAAC,OAAO;QACvB,OAAO,EAAE,2CAA2C;QACpD,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,yBAAyB,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;KAC9E;CACF,CAAC;AACF,uBAAuB,CAAC,qBAAqB,CAAC,qBAAqB,EAAE,wBAAwB,CAAC,CAAC","sourcesContent":["import { FrontendComponentType, LabelKind, type LabellingUnitaryDef, registerComponentLabels } from '@wildo-ai/presets-components-models';\n\n// Companion-only label metadata for this component: keys + params + (where\n// authored) per-key purpose / kind / variable meaning. Statically scanned by\n// the dev companion; NOT imported at runtime, so it never ships in the bundle.\n\nexport const LowLevelAiApprovalLabels: LabellingUnitaryDef[] = [\n { ref: 'approve', kind: LabelKind.BUTTON, purpose: 'Button to approve the pending request' },\n { ref: 'deny', kind: LabelKind.BUTTON, purpose: 'Button to deny the pending request' },\n { ref: 'escalate', kind: LabelKind.BUTTON, purpose: 'Button to escalate the request to a higher approver' },\n { ref: 'queueTitle', kind: LabelKind.HEADING, purpose: 'Heading for the approval queue' },\n // #1594 — moving a decision between people, and what an act came to.\n { ref: 'claim', kind: LabelKind.BUTTON, purpose: 'Button taking a request routed to a role the person holds, so it is theirs to answer' },\n { ref: 'unclaim', kind: LabelKind.BUTTON, purpose: 'Button giving a request the person claimed back to everyone holding its role' },\n { ref: 'reassign', kind: LabelKind.BUTTON, purpose: 'Button opening a choice of who else this request should go to' },\n { ref: 'reassignTarget', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of the list of people this request can be handed to' },\n { ref: 'reassignConfirm', kind: LabelKind.BUTTON, purpose: 'Button handing the request to the person chosen' },\n { ref: 'reassignNoCandidates', kind: LabelKind.MESSAGE, purpose: 'Shown when nobody else can answer this request, so it cannot be handed on' },\n // #1628 — a request's deadlines, and stopping its clocks while the reviewer waits on something outside their control.\n { ref: 'deadlineClaimBy', kind: LabelKind.MESSAGE, purpose: 'Line on a waiting request saying by when someone should take it on', params: [{ key: 'when', meaning: 'the date and time it should be taken by, already formatted for the reader' }] },\n { ref: 'deadlineDecisionBy', kind: LabelKind.MESSAGE, purpose: 'Line on a waiting request saying by when it should be answered', params: [{ key: 'when', meaning: 'the date and time it should be answered by, already formatted for the reader' }] },\n { ref: 'clockPausedIn', kind: LabelKind.MESSAGE, purpose: 'Line on a waiting request whose deadlines are paused, naming why; the request still expires at its original time', params: [{ key: 'pauseState', meaning: 'the reason the deadlines are paused, as the application names it' }] },\n { ref: 'pauseClock', kind: LabelKind.BUTTON, purpose: 'Button stopping the request\\'s deadlines while the reviewer waits on something outside their control; it does not stop the request expiring' },\n { ref: 'pauseClockState', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of the list of reasons the deadlines can be paused for' },\n { ref: 'pauseClockConfirm', kind: LabelKind.BUTTON, purpose: 'Button confirming the pause for the reason chosen' },\n { ref: 'resumeClock', kind: LabelKind.BUTTON, purpose: 'Button restarting the request\\'s paused deadlines; the paused time is added to them' },\n { ref: 'noticeClockAlreadyPaused', kind: LabelKind.MESSAGE, purpose: 'Shown when the deadlines were already paused, so this pause did nothing' },\n { ref: 'noticeClockNotPaused', kind: LabelKind.MESSAGE, purpose: 'Shown when the deadlines were not paused, so there was nothing to restart' },\n { ref: 'noticePauseStateNotDeclared', kind: LabelKind.MESSAGE, purpose: 'Shown when the reason chosen for pausing is not one this request allows' },\n {\n ref: 'inboxToolCall',\n kind: LabelKind.MESSAGE,\n purpose: 'One line describing a request waiting in the inbox: an assistant is waiting for approval to run an action',\n params: [{ key: 'toolName', meaning: 'the action the assistant wants to run, in its own words (e.g. \"Reschedule a todo\"); its system name when it has no words yet' }],\n },\n {\n ref: 'inboxRepresentativeAdmission',\n kind: LabelKind.MESSAGE,\n purpose: 'One line describing a request waiting in an administrator\\'s inbox: an organization this one works with (for example a service firm) assigned one of its people to work inside this organization with a given role and scope, and they are admitted only if an administrator approves. Must name the role and the scope: they are what the approver grants',\n params: [\n { key: 'representingOrganization', meaning: 'name of the organization that assigned the person (for example a service firm)' },\n { key: 'representative', meaning: 'name of the person that organization assigned' },\n { key: 'email', meaning: 'email address of the person that organization assigned' },\n { key: 'role', meaning: 'the name of the role the person would hold in this organization (already worded)' },\n { key: 'scope', meaning: 'where in this organization the person would work: the whole organization, or a number of teams (already worded)' },\n ],\n },\n {\n ref: 'inboxOperationApproval',\n kind: LabelKind.MESSAGE,\n purpose: 'One line describing a request waiting in an approver\\'s inbox: a person asked to do something in the application (create or change a record), and it is done only if someone allowed to approve it does. The values they asked for are shown beside it',\n params: [\n { key: 'operation', meaning: 'what the person asked to do, as the application names it (e.g. \"Create supplier\")' },\n { key: 'requester', meaning: 'name of the person who asked' },\n ],\n },\n // The words a decision is named by in an email, which reaches a mailbox: never what the decision is about, nor who.\n { ref: 'mailboxQuestion', kind: LabelKind.MESSAGE, purpose: 'One line naming, in an email, a question waiting for the recipient\\'s answer in the application; it must not say what is asked, which the person reads after signing in' },\n {\n ref: 'mailboxRepresentativeAdmission',\n kind: LabelKind.MESSAGE,\n purpose: 'One line naming, in an email, a request waiting for an administrator: an organization this one works with asks to admit one of its people with a given role; it names no organization and no person, whom the administrator sees after signing in',\n params: [{ key: 'role', meaning: 'the name of the role the person would hold in this organization (already worded)' }],\n },\n {\n ref: 'mailboxOperationApproval',\n kind: LabelKind.MESSAGE,\n purpose: 'One line naming, in an email, a request waiting for an approver: someone asked to do something in the application, done only if it is approved; it names neither who asked nor the values asked for',\n params: [{ key: 'operation', meaning: 'what was asked, as the application names it (e.g. \"Create supplier\")' }],\n },\n {\n ref: 'mailboxAnswerOption',\n kind: LabelKind.BUTTON,\n purpose: 'Button in an email answering a question with one of its answers, named by its place because the answers\\' own words are read after signing in (for example \"Answer 2\")',\n params: [{ key: 'position', meaning: 'the place of the answer among the question\\'s answers, from 1' }],\n },\n { ref: 'inboxRepresentativeAdmissionScopeOrganization', kind: LabelKind.MESSAGE, purpose: 'Noun phrase, no leading preposition, filling the scope of the inbox line for the assigned person: the whole organization (for example \"the whole organization\")' },\n {\n ref: 'inboxRepresentativeAdmissionScopeUnits',\n kind: LabelKind.MESSAGE,\n purpose: 'Noun phrase, no leading preposition, filling the scope of the inbox line for the assigned person: only some of the organization\\'s teams (for example \"3 teams\")',\n params: [{ key: 'count', meaning: 'how many teams', isCount: true }],\n },\n // #2526 — who holds a request in the inbox, and who raised it. The inbox lists only requests this person may answer.\n { ref: 'holderOwner', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying it is the person\\'s own: their assistant asked them, in their own conversation' },\n {\n ref: 'holderClaimedByYou',\n kind: LabelKind.MESSAGE,\n purpose: 'Line on a request in the inbox saying this person took it for themselves from everyone holding a role, and when; it is now theirs alone',\n params: [{ key: 'when', meaning: 'the date and time they took it, already formatted for the reader' }],\n },\n { ref: 'holderAssignedToYou', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying it was given to this person by name, to answer themselves' },\n {\n ref: 'holderRole',\n kind: LabelKind.MESSAGE,\n purpose: 'Line on a request in the inbox saying anyone holding a given role may answer it, including this person, until one of them takes it',\n params: [{ key: 'role', meaning: 'the name of the role, already worded' }],\n },\n { ref: 'requesterAutonomousAgent', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying an assistant working on its own raised it: no person asked for this action' },\n { ref: 'requesterConnectedApplication', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying a person raised it through another application they allowed to act for them' },\n { ref: 'requesterInboundHandler', kind: LabelKind.MESSAGE, purpose: 'Line on a request in the inbox saying it was raised by work the application started on its own when a message arrived from another system or by email: no person asked for this action' },\n { ref: 'queueLoading', kind: LabelKind.MESSAGE, purpose: 'Accessible name of the placeholder shown while the inbox is still being loaded' },\n { ref: 'queueLoadFailed', kind: LabelKind.MESSAGE, purpose: 'Shown when the inbox could not be loaded; requests may be waiting that are not shown, and any listed below may be out of date' },\n { ref: 'queueRetry', kind: LabelKind.BUTTON, purpose: 'Button loading the inbox again after it could not be loaded' },\n { ref: 'queueFilterPlaceholder', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of the field narrowing the inbox to requests whose assistant, action or description contains the text typed' },\n // #2526 — a request that asks its own question, answered by one of its own options rather than approve or deny.\n { ref: 'confirmAnswerYes', kind: LabelKind.LABEL, purpose: 'The \"yes\" answer to a yes-or-no question a request asks' },\n { ref: 'confirmAnswerNo', kind: LabelKind.LABEL, purpose: 'The \"no\" answer to a yes-or-no question a request asks' },\n // #2720 — the assistant asks the person in the conversation; the two ways to answer it.\n { ref: 'askPersonAnswer', kind: LabelKind.BUTTON, purpose: 'Button sending the person\\'s answers to the questions the assistant asked them' },\n { ref: 'askPersonDecideForMe', kind: LabelKind.BUTTON, purpose: 'Button telling the assistant to go on without the answers and decide by itself, saying what it assumed' },\n // #2754 — a step of an automated process (a flow) asks a person questions before it goes on; the two ways to answer it.\n // Each ref is a `HumanDecision_OptionLabelRef` value the engine writes on the option.\n { ref: 'flowStepAnswer', kind: LabelKind.BUTTON, purpose: 'Button sending the person\\'s answers to the questions an automated process asked them, so the process goes on from those answers' },\n { ref: 'flowStepStop', kind: LabelKind.BUTTON, purpose: 'Button stopping the automated process that asked the questions: it ends there and does nothing after this step' },\n { ref: 'queueNoMatch', kind: LabelKind.EMPTY_STATE, purpose: 'Shown when requests are waiting but none matches the text typed in the inbox filter' },\n { ref: 'awaitingReview', kind: LabelKind.MESSAGE, purpose: 'Shown on a request in the conversation it came from when a reviewer answers it, not the person in the conversation' },\n { ref: 'noticeNotActionable', kind: LabelKind.MESSAGE, purpose: 'Shown when the request can no longer be acted on by this person: it was settled, or is no longer theirs' },\n // #2664 S5b — what a copy of a request sent to someone's chat says once it was answered, by them or by anyone else.\n // #2797 — the button a copy of a request sent to a person's chat carries when it is answered in the application only\n // (it asks for values a chat button cannot carry, or more options than a card shows). A chat button holds about 75 characters.\n { ref: 'noticeOpenInApplication', kind: LabelKind.BUTTON, purpose: 'Button on a copy of a request sent to a person outside the application (a chat message) that opens the request in the application, where it is answered' },\n // A copy of a request sent to a person's chat asks, beside its approve button, why they approve a high or critical\n // risk action: approving one needs the approver's own reason, so the copy collects it with the click.\n { ref: 'noticeApprovalReasonLabel', kind: LabelKind.LABEL, purpose: 'Label of the field on a copy of a request sent to a person\\'s chat (a Slack message, a Teams card), above the approve button of a high or critical risk action, where they write why they let the action go ahead; required to approve, and kept with the decision beside who approved it' },\n { ref: 'noticeApprovalReasonPlaceholder', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of that field on the chat copy: prompts the person to say, in their own words, what they checked and why the action should go ahead' },\n { ref: 'noticeApprovalReasonMissing', kind: LabelKind.MESSAGE, purpose: 'Shown on a chat copy of a request when the person chose to approve a high or critical risk action with the reason field empty: nothing was approved; they write why they approve it, then approve again' },\n { ref: 'noticeAnswered', kind: LabelKind.MESSAGE, purpose: 'Shown in place of the answer buttons on a copy of a request sent to a person outside the application (a chat message), once the request was answered by anyone, this person included' },\n { ref: 'noticeSuperseded', kind: LabelKind.MESSAGE, purpose: 'Shown when someone else answered or moved the request a moment earlier, so this action did nothing' },\n // #2903 — what the person read is bound to the answer: a request that changed since it was shown is not answered.\n { ref: 'noticePresentationStale', kind: LabelKind.MESSAGE, purpose: 'Shown when the request changed since this person read it, so their answer was not taken: it still waits, now shown as it is, to be answered again' },\n { ref: 'noticeLapsed', kind: LabelKind.MESSAGE, purpose: 'Shown when the request expired before it was answered, so it is closed and the action did not run' },\n { ref: 'noticeRequesterAuthorityLapsed', kind: LabelKind.MESSAGE, purpose: 'Shown when the person the work was for no longer has the access it needs, so it was not run and the request is closed' },\n { ref: 'noticeTargetRefused', kind: LabelKind.MESSAGE, purpose: 'Shown when the person chosen cannot answer this request, so it stays where it was' },\n { ref: 'noticeNoEscalationTarget', kind: LabelKind.MESSAGE, purpose: 'Shown when there is nobody defined to escalate this request to, so it stays where it was; hand it to someone instead' },\n { ref: 'noticeConsentRequired', kind: LabelKind.MESSAGE, purpose: 'Shown when the person the work was for has not agreed to something this work needs; the request is still waiting' },\n { ref: 'noticeCallNotRunAsRead', kind: LabelKind.MESSAGE, purpose: 'Shown in the decision inbox when this call would not run as shown, whether edited or as proposed, naming the arguments to look at, so nothing was approved; the request is still pending and those arguments can be corrected, or the request denied', params: [{ key: 'arguments', meaning: 'comma-separated names of the arguments it is about' }] },\n { ref: 'noticeArgumentsCannotBeCorrected', kind: LabelKind.MESSAGE, purpose: 'Shown in the decision inbox when this call cannot run whatever is entered for the named arguments, so nothing was approved; the only way forward is to deny the request and ask again', params: [{ key: 'arguments', meaning: 'comma-separated names of the arguments it is about' }] },\n { ref: 'noticeTheseArguments', kind: LabelKind.MESSAGE, purpose: 'Stands in a decision inbox notice for the names of the arguments, when a refusal names none: a short noun phrase meaning these details' },\n { ref: 'noticeCallCannotRun', kind: LabelKind.MESSAGE, purpose: 'Shown in the decision inbox when this call could not run as things stand now, whatever its details, for example because the assistant was switched off or a policy changed, so nothing was approved; the request is still pending, can be denied, and approving it again may work later' },\n { ref: 'noticeCredentialNotAccepted', kind: LabelKind.MESSAGE, purpose: 'Shown in the decision inbox when an edit set or changed a credential such as a password or an API key in this action, naming the arguments, so nothing was approved; leave them as they were, or deny the request', params: [{ key: 'arguments', meaning: 'comma-separated names of the arguments it is about' }] },\n { ref: 'noticeModificationRejected', kind: LabelKind.MESSAGE, purpose: 'Shown when edited arguments were refused; the request is still waiting and can be answered as proposed' },\n { ref: 'noticeEditedCallNotReachable', kind: LabelKind.MESSAGE, purpose: 'Shown when the edit points the call at a record the approver may not reach, through the organization relationship they work in; the request is still waiting, and can be approved as proposed or denied, naming the arguments it is about', params: [{ key: 'arguments', meaning: 'comma-separated names of the arguments it is about' }] },\n { ref: 'noticeReasonCodeRejected', kind: LabelKind.MESSAGE, purpose: 'Shown when the reason given is not one the application offers; the request is still waiting and can be answered again' },\n { ref: 'noticeApprovalReasonRequired', kind: LabelKind.MESSAGE, purpose: 'Shown when a high or critical risk action was approved without saying why: approving it needs the approver\\'s reason, so nothing was approved; the request is still waiting, to be approved again with a reason, or denied' },\n // #1921 — why the approver changed or rejected an assistant's proposed action, chosen from the application's own reasons.\n { ref: 'reasonCode', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of the optional list of reasons for changing or rejecting the assistant\\'s proposed action, as the application defines them' },\n { ref: 'reasonCodeClear', kind: LabelKind.BUTTON, purpose: 'Button removing the reason chosen, so the answer is given without one' },\n { ref: 'denyConfirm', kind: LabelKind.BUTTON, purpose: 'Button rejecting the proposed action, with the reason chosen if any' },\n { ref: 'riskLow', kind: LabelKind.MESSAGE, purpose: 'Risk badge on a request whose action its application declares low risk' },\n { ref: 'riskMedium', kind: LabelKind.MESSAGE, purpose: 'Risk badge on a request whose action its application declares medium risk' },\n { ref: 'riskHigh', kind: LabelKind.MESSAGE, purpose: 'Risk badge on a request whose action its application declares high risk' },\n { ref: 'riskCritical', kind: LabelKind.MESSAGE, purpose: 'Risk badge on a request whose action its application declares critical risk' },\n { ref: 'commentPlaceholder', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder for the optional approver comment field' },\n { ref: 'expiresIn', kind: LabelKind.LABEL, purpose: 'Label preceding the time remaining before the request expires' },\n { ref: 'expired', kind: LabelKind.MESSAGE, purpose: 'Marker that the approval request has expired' },\n { ref: 'toolCall', kind: LabelKind.LABEL, purpose: 'Label preceding the name of the tool call awaiting approval' },\n { ref: 'toolArguments', kind: LabelKind.LABEL, purpose: 'Label for the arguments proposed for the tool call awaiting approval' },\n { ref: 'editArguments', kind: LabelKind.BUTTON, purpose: 'Button opening an editor over the proposed tool arguments so the approver can change them before approving' },\n { ref: 'discardArgumentEdits', kind: LabelKind.BUTTON, purpose: 'Button closing the argument editor and returning to the arguments the agent proposed' },\n { ref: 'argumentsNotValidJson', kind: LabelKind.MESSAGE, purpose: 'Shown when the edited tool arguments are not a valid JSON object, so the approval cannot be submitted' },\n { ref: 'editArgumentsAsJson', kind: LabelKind.BUTTON, purpose: 'Button switching the argument editor from one field per argument to the raw JSON text of all arguments' },\n { ref: 'editArgumentsAsFields', kind: LabelKind.BUTTON, purpose: 'Button switching the argument editor from raw JSON back to one field per argument' },\n { ref: 'argumentValueNotValidJson', kind: LabelKind.MESSAGE, purpose: 'Shown under one structured argument (a list or nested value edited as JSON) whose text is not valid JSON, so the approval cannot be submitted' },\n { ref: 'argumentModificationRefused', kind: LabelKind.LABEL, purpose: 'Label preceding the reason the server refused the edited arguments; the approval is still pending and can be corrected' },\n // One label per `FlowsActors_ApprovalModificationRefusalReason` (#1186): the reason shown after `argumentModificationRefused`.\n { ref: 'refusalAgentNotRegistered', kind: LabelKind.MESSAGE, purpose: 'The agent that asked for this approval is no longer available, so this call cannot run, as proposed or edited; the only way forward is to deny it and ask again' },\n { ref: 'refusalToolNotDeclared', kind: LabelKind.MESSAGE, purpose: 'The agent no longer offers this tool, so this call cannot run, as proposed or edited; the only way forward is to deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalApprovalRouteChanged', kind: LabelKind.MESSAGE, purpose: 'The way this tool is approved changed since this action was paused, so it cannot run; the only way forward is to deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalAgentNotActive', kind: LabelKind.MESSAGE, purpose: 'The assistant that asked for this approval is no longer active, so this call cannot run; the only way forward is to deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalAgentSuspended', kind: LabelKind.MESSAGE, purpose: 'An administrator suspended the assistant that asked for this approval, so this call cannot run; deny it, or answer once the assistant is back', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalContentPolicyTightened', kind: LabelKind.MESSAGE, purpose: 'The organization tightened its content policy since this action was paused, so it cannot run; the only way forward is to deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalAgentStandingUnreadable', kind: LabelKind.MESSAGE, purpose: 'The rules this assistant answers to could not be read just now, so this call cannot run yet; try again, or deny it', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalToolNoLongerGated', kind: LabelKind.MESSAGE, purpose: 'This tool no longer needs approval, so this request is out of date; deny it and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }] },\n { ref: 'refusalArgumentsInvalid', kind: LabelKind.MESSAGE, purpose: 'The edited arguments are not valid for this tool; names the arguments to correct, and the approval is still pending', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments that need correcting' }] },\n { ref: 'refusalArgumentsCannotBeCorrected', kind: LabelKind.MESSAGE, purpose: 'This tool cannot run with the named arguments whatever is entered, so correcting them would not help; the only way forward is to deny the request and ask again', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments' }] },\n { ref: 'refusalArgumentsNotRunAsWritten', kind: LabelKind.MESSAGE, purpose: 'The edited arguments are valid, but this tool would drop, change or fill in some of them, so it would not run what the approver wrote, or a value in the call cannot be used; names those arguments, and the approval is still pending', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments the tool would not run as written' }] },\n { ref: 'refusalCredentialNotAccepted', kind: LabelKind.MESSAGE, purpose: 'A credential such as a password or an API key cannot be set or changed in this action here, because it would be stored with this request; leave the named arguments as they were, or deny the request', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments holding a credential' }] },\n { ref: 'refusalSigningKeyNotConfigured', kind: LabelKind.MESSAGE, purpose: 'Edited arguments cannot be applied because the application is not configured to re-sign approvals; approve as proposed or deny' },\n { ref: 'refusalCallNotRewritable', kind: LabelKind.MESSAGE, purpose: 'This pending call could not be updated with the edited arguments; approve it as proposed or deny it' },\n { ref: 'refusalRecordNotReachable', kind: LabelKind.MESSAGE, purpose: 'The edit points this call at a record the approver may not reach, through the organization relationship they work in; names the arguments to put back; the approval is still pending and can be approved as proposed', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'comma-separated names of the arguments that may not be changed' }] },\n { ref: 'refusalDeliverableFileNotEditable', kind: LabelKind.MESSAGE, purpose: 'The edit replaces the file this call is about; the approver approves the file they were shown, so the named argument must be put back; the approval is still pending and can be approved as proposed or denied', params: [{ key: 'toolName', meaning: 'name of the tool the approval is for' }, { key: 'arguments', meaning: 'name of the argument holding the file, which may not be changed' }] },\n { ref: 'refusalReasonUnstated', kind: LabelKind.MESSAGE, purpose: 'The edited arguments were refused without a reason this screen recognises; approve as proposed, correct and retry, or deny' },\n { ref: 'confirmTitle', kind: LabelKind.HEADING, purpose: 'Heading of the dialog confirming an answer that lets a high or critical risk request go ahead: an approval, or one of the request\\'s own options that proceeds' },\n { ref: 'confirmDescription', kind: LabelKind.DESCRIPTION, purpose: 'Body text of that confirmation dialog: answering this way lets the requested action go ahead' },\n { ref: 'confirmCancel', kind: LabelKind.BUTTON, purpose: 'Button to dismiss the confirmation dialog without acting' },\n { ref: 'confirmProceed', kind: LabelKind.BUTTON, purpose: 'Button to confirm and proceed with the approval action' },\n { ref: 'confirmReasonLabel', kind: LabelKind.LABEL, purpose: 'Label of the required field, in the dialog confirming the approval of a high or critical risk action, where the approver writes why they let the action go ahead' },\n { ref: 'confirmReasonPlaceholder', kind: LabelKind.PLACEHOLDER, purpose: 'Placeholder of that required field: prompts the approver to say, in their own words, what they checked and why the action should go ahead' },\n { ref: 'confirmReasonHelp', kind: LabelKind.DESCRIPTION, purpose: 'Help under that required field: the reason is kept with the decision, beside who approved it, and the approval button stays unavailable until one is written' },\n { ref: 'processing', kind: LabelKind.MESSAGE, purpose: 'Shown while the approval decision is being submitted' },\n { ref: 'queueEmpty', kind: LabelKind.EMPTY_STATE, purpose: 'Shown when there are no pending approvals in the queue' },\n { ref: 'queueSortRisk', kind: LabelKind.LABEL, purpose: 'Toggle ordering the inbox by the risk declared for each request\\'s action, highest first; off, requests are ordered by soonest deadline' },\n {\n ref: 'expiresCountdown',\n kind: LabelKind.MESSAGE,\n purpose: 'Live countdown of the time left before the request expires',\n params: [{ key: 'time', meaning: 'formatted time remaining until expiry' }],\n },\n {\n ref: 'timeAgoSeconds',\n kind: LabelKind.MESSAGE,\n purpose: 'Relative timestamp expressed in seconds ago',\n params: [{ key: 'count', meaning: 'number of seconds elapsed', isCount: true }],\n },\n {\n ref: 'timeAgoMinutes',\n kind: LabelKind.MESSAGE,\n purpose: 'Relative timestamp expressed in minutes ago',\n params: [{ key: 'count', meaning: 'number of minutes elapsed', isCount: true }],\n },\n {\n ref: 'timeAgoHours',\n kind: LabelKind.MESSAGE,\n purpose: 'Relative timestamp expressed in hours ago',\n params: [{ key: 'count', meaning: 'number of hours elapsed', isCount: true }],\n },\n];\nregisterComponentLabels(FrontendComponentType.LOW_LEVEL_AI_APPROVAL, LowLevelAiApprovalLabels);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"flow-node.labels.d.ts","sourceRoot":"","sources":["../../../../src/components/flows-actors/flow-node.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,mBAAmB,EAA2B,MAAM,qCAAqC,CAAC;AAM1I,eAAO,MAAM,wBAAwB,EAAE,mBAAmB,EAQzD,CAAC"}
1
+ {"version":3,"file":"flow-node.labels.d.ts","sourceRoot":"","sources":["../../../../src/components/flows-actors/flow-node.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,mBAAmB,EAA2B,MAAM,qCAAqC,CAAC;AAM1I,eAAO,MAAM,wBAAwB,EAAE,mBAAmB,EAWzD,CAAC"}
@@ -6,7 +6,10 @@ export const LowLevelAiFlowNodeLabels = [
6
6
  { ref: 'finish', kind: LabelKind.LABEL, purpose: 'Label for the terminal node that ends the flow' },
7
7
  { ref: 'triggerManual', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started manually by a user' },
8
8
  { ref: 'triggerSchedule', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started on a recurring schedule' },
9
- { ref: 'triggerWebhook', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by an inbound webhook call' },
9
+ { ref: 'triggerApi', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a caller of the application API' },
10
+ { ref: 'triggerChat', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a command typed to the application bot in Slack or Teams' },
11
+ { ref: 'triggerInboundDelivery', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started when the application receives a message from another system (an inbound webhook delivery)' },
12
+ { ref: 'triggerInboundEmail', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started when the application receives an email' },
10
13
  { ref: 'triggerResourceEvent', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a resource lifecycle event' },
11
14
  { ref: 'triggerEvent', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a generic domain event' },
12
15
  { ref: 'triggerTaskCompletion', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started when an upstream task completes' },
@@ -1 +1 @@
1
- {"version":3,"file":"flow-node.labels.js","sourceRoot":"","sources":["../../../../src/components/flows-actors/flow-node.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAA4B,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE1I,2EAA2E;AAC3E,6EAA6E;AAC7E,+EAA+E;AAE/E,MAAM,CAAC,MAAM,wBAAwB,GAA0B;IAC7D,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,gDAAgD,EAAE;IACnG,EAAE,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,+CAA+C,EAAE;IACzG,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,oDAAoD,EAAE;IAChH,EAAE,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,uDAAuD,EAAE;IAClH,EAAE,GAAG,EAAE,sBAAsB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,0DAA0D,EAAE;IAC3H,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,sDAAsD,EAAE;IAC/G,EAAE,GAAG,EAAE,uBAAuB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,4DAA4D,EAAE;CAC/H,CAAC;AACF,uBAAuB,CAAC,qBAAqB,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC","sourcesContent":["import { FrontendComponentType, LabelKind, type LabellingUnitaryDef, registerComponentLabels } from '@wildo-ai/presets-components-models';\n\n// Companion-only label metadata for this component: keys + params + (where\n// authored) per-key purpose / kind / variable meaning. Statically scanned by\n// the dev companion; NOT imported at runtime, so it never ships in the bundle.\n\nexport const LowLevelAiFlowNodeLabels: LabellingUnitaryDef[] = [\n { ref: 'finish', kind: LabelKind.LABEL, purpose: 'Label for the terminal node that ends the flow' },\n { ref: 'triggerManual', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started manually by a user' },\n { ref: 'triggerSchedule', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started on a recurring schedule' },\n { ref: 'triggerWebhook', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by an inbound webhook call' },\n { ref: 'triggerResourceEvent', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a resource lifecycle event' },\n { ref: 'triggerEvent', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a generic domain event' },\n { ref: 'triggerTaskCompletion', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started when an upstream task completes' },\n];\nregisterComponentLabels(FrontendComponentType.LOW_LEVEL_AI_FLOW_NODE, LowLevelAiFlowNodeLabels);\n"]}
1
+ {"version":3,"file":"flow-node.labels.js","sourceRoot":"","sources":["../../../../src/components/flows-actors/flow-node.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAA4B,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE1I,2EAA2E;AAC3E,6EAA6E;AAC7E,+EAA+E;AAE/E,MAAM,CAAC,MAAM,wBAAwB,GAA0B;IAC7D,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,gDAAgD,EAAE;IACnG,EAAE,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,+CAA+C,EAAE;IACzG,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,oDAAoD,EAAE;IAChH,EAAE,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,+DAA+D,EAAE;IACtH,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,wFAAwF,EAAE;IAChJ,EAAE,GAAG,EAAE,wBAAwB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,sHAAsH,EAAE;IACzL,EAAE,GAAG,EAAE,qBAAqB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,mEAAmE,EAAE;IACnI,EAAE,GAAG,EAAE,sBAAsB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,0DAA0D,EAAE;IAC3H,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,sDAAsD,EAAE;IAC/G,EAAE,GAAG,EAAE,uBAAuB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,4DAA4D,EAAE;CAC/H,CAAC;AACF,uBAAuB,CAAC,qBAAqB,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,CAAC","sourcesContent":["import { FrontendComponentType, LabelKind, type LabellingUnitaryDef, registerComponentLabels } from '@wildo-ai/presets-components-models';\n\n// Companion-only label metadata for this component: keys + params + (where\n// authored) per-key purpose / kind / variable meaning. Statically scanned by\n// the dev companion; NOT imported at runtime, so it never ships in the bundle.\n\nexport const LowLevelAiFlowNodeLabels: LabellingUnitaryDef[] = [\n { ref: 'finish', kind: LabelKind.LABEL, purpose: 'Label for the terminal node that ends the flow' },\n { ref: 'triggerManual', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started manually by a user' },\n { ref: 'triggerSchedule', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started on a recurring schedule' },\n { ref: 'triggerApi', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a caller of the application API' },\n { ref: 'triggerChat', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a command typed to the application bot in Slack or Teams' },\n { ref: 'triggerInboundDelivery', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started when the application receives a message from another system (an inbound webhook delivery)' },\n { ref: 'triggerInboundEmail', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started when the application receives an email' },\n { ref: 'triggerResourceEvent', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a resource lifecycle event' },\n { ref: 'triggerEvent', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started by a generic domain event' },\n { ref: 'triggerTaskCompletion', kind: LabelKind.LABEL, purpose: 'Trigger kind: flow started when an upstream task completes' },\n];\nregisterComponentLabels(FrontendComponentType.LOW_LEVEL_AI_FLOW_NODE, LowLevelAiFlowNodeLabels);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"flow-step-visuals.d.ts","sourceRoot":"","sources":["../../../../src/components/flows-actors/flow-step-visuals.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAatG,6FAA6F;AAC7F,oBAAY,gBAAgB;IAC1B,wEAAwE;IACxE,OAAO,YAAY;IACnB,sCAAsC;IACtC,QAAQ,aAAa;IACrB,uEAAuE;IACvE,OAAO,YAAY;IACnB,4CAA4C;IAC5C,KAAK,UAAU;IACf,wCAAwC;IACxC,KAAK,UAAU;IACf,0DAA0D;IAC1D,KAAK,UAAU;IACf,4DAA4D;IAC5D,KAAK,UAAU;IACf,6DAA6D;IAC7D,YAAY,iBAAiB;CAC9B;AAgCD,yHAAyH;AACzH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CAE3E;AAED,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,gBAAgB,EAAE,qBAAqB,CASpF,CAAC;AAqBF,+FAA+F;AAC/F,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,qBAAqB,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAEnI;AAED,0EAA0E;AAC1E,eAAO,MAAM,4BAA4B,EAAE,SAAS,MAAM,EAA2C,CAAC"}
1
+ {"version":3,"file":"flow-step-visuals.d.ts","sourceRoot":"","sources":["../../../../src/components/flows-actors/flow-step-visuals.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAatG,6FAA6F;AAC7F,oBAAY,gBAAgB;IAC1B,wEAAwE;IACxE,OAAO,YAAY;IACnB,sCAAsC;IACtC,QAAQ,aAAa;IACrB,uEAAuE;IACvE,OAAO,YAAY;IACnB,4CAA4C;IAC5C,KAAK,UAAU;IACf,wCAAwC;IACxC,KAAK,UAAU;IACf,0DAA0D;IAC1D,KAAK,UAAU;IACf,4DAA4D;IAC5D,KAAK,UAAU;IACf,6DAA6D;IAC7D,YAAY,iBAAiB;CAC9B;AAgCD,yHAAyH;AACzH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CAE3E;AAED,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,gBAAgB,EAAE,qBAAqB,CASpF,CAAC;AA2BF,+FAA+F;AAC/F,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,qBAAqB,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAEnI;AAED,0EAA0E;AAC1E,eAAO,MAAM,4BAA4B,EAAE,SAAS,MAAM,EAA2C,CAAC"}
@@ -75,7 +75,10 @@ export const FLOW_STEP_CATEGORY_ICONS = {
75
75
  const TRIGGER_TYPE_ICONS = {
76
76
  [Flow_Trigger_Type.MANUAL]: StandardIconReference.CORNER_DOWN_LEFT,
77
77
  [Flow_Trigger_Type.SCHEDULE]: StandardIconReference.CALENDAR,
78
- [Flow_Trigger_Type.WEBHOOK]: StandardIconReference.EXTERNAL_LINK,
78
+ [Flow_Trigger_Type.API]: StandardIconReference.PLUG,
79
+ [Flow_Trigger_Type.CHAT]: StandardIconReference.MESSAGE_CIRCLE,
80
+ [Flow_Trigger_Type.INBOUND_DELIVERY]: StandardIconReference.WEBHOOK,
81
+ [Flow_Trigger_Type.INBOUND_EMAIL]: StandardIconReference.INBOX,
79
82
  [Flow_Trigger_Type.RESOURCE_EVENT]: StandardIconReference.DOT,
80
83
  [Flow_Trigger_Type.EVENT]: StandardIconReference.CLOCK,
81
84
  [Flow_Trigger_Type.TASK_COMPLETION]: StandardIconReference.CHECK_CIRCLE,
@@ -84,7 +87,10 @@ const TRIGGER_TYPE_ICONS = {
84
87
  const TRIGGER_TYPE_LABEL_KEYS = {
85
88
  [Flow_Trigger_Type.MANUAL]: 'triggerManual',
86
89
  [Flow_Trigger_Type.SCHEDULE]: 'triggerSchedule',
87
- [Flow_Trigger_Type.WEBHOOK]: 'triggerWebhook',
90
+ [Flow_Trigger_Type.API]: 'triggerApi',
91
+ [Flow_Trigger_Type.CHAT]: 'triggerChat',
92
+ [Flow_Trigger_Type.INBOUND_DELIVERY]: 'triggerInboundDelivery',
93
+ [Flow_Trigger_Type.INBOUND_EMAIL]: 'triggerInboundEmail',
88
94
  [Flow_Trigger_Type.RESOURCE_EVENT]: 'triggerResourceEvent',
89
95
  [Flow_Trigger_Type.EVENT]: 'triggerEvent',
90
96
  [Flow_Trigger_Type.TASK_COMPLETION]: 'triggerTaskCompletion',
@@ -1 +1 @@
1
- {"version":3,"file":"flow-step-visuals.js","sourceRoot":"","sources":["../../../../src/components/flows-actors/flow-step-visuals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAEtG,iEAAiE;AACjE,gDAAgD;AAChD,EAAE;AACF,wHAAwH;AACxH,8FAA8F;AAC9F,EAAE;AACF,mHAAmH;AACnH,sHAAsH;AACtH,4CAA4C;AAC5C,iEAAiE;AAEjE,6FAA6F;AAC7F,MAAM,CAAN,IAAY,gBAiBX;AAjBD,WAAY,gBAAgB;IAC1B,wEAAwE;IACxE,uCAAmB,CAAA;IACnB,sCAAsC;IACtC,yCAAqB,CAAA;IACrB,uEAAuE;IACvE,uCAAmB,CAAA;IACnB,4CAA4C;IAC5C,mCAAe,CAAA;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AC,EAAE,IAAI,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,uBAAuB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AAC3H,CAAC;AAED,0EAA0E;AAC1E,MAAM,CAAC,MAAM,4BAA4B,GAAsB,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC","sourcesContent":["import { Flow_Step_Kind, Flow_Trigger_Type } from '@wildo-ai/saas-models';\nimport { StandardIconReference } from '~wildo-frontend-lib/core/icons/icon-registry.frontend.schemas';\n\n//===============================================================\n// How a flow's steps and triggers LOOK (#2529)\n//\n// The kind of a step and the type of a trigger, as a category, an icon and a word key. No graph library here: these are\n// read by the flow canvas, which draws through `AI_GraphViewer`, and by the eager step badge.\n//\n// Every map is total over its vocabulary (`Flow_Step_Kind`, `Flow_Trigger_Type`), so a member added to either is a\n// compile error here rather than a step drawn with a guessed look. They were string-keyed until #2529, and an unknown\n// kind was silently given the agentic look.\n//===============================================================\n\n/** The family a step kind belongs to, which decides its icon and the colour of its badge. */\nexport enum FlowStepCategory {\n /** Work done by an agent, a function, a connector or a compute step. */\n AGENTIC = 'agentic',\n /** Reading or writing an artifact. */\n ARTIFACT = 'artifact',\n /** Branching, looping, waiting or retrying: the flow's own control. */\n CONTROL = 'control',\n /** Reading or writing the flow's memory. */\n STATE = 'state',\n /** Emitting or waiting for an event. */\n EVENT = 'event',\n /** Catching, compensating or finishing after an error. */\n ERROR = 'error',\n /** A person in the loop, or another actor system called. */\n HUMAN = 'human',\n /** A message sent to a person outside the run (an email). */\n NOTIFICATION = 'notification',\n}\n\nconst STEP_KIND_CATEGORY: Record<Flow_Step_Kind, FlowStepCategory> = {\n [Flow_Step_Kind.AGENT_CALL]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.FUNCTION]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.CONNECTOR]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.COMPUTE_RESOURCE_OPERATION]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.COMPUTE_CUSTOM]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.FLOW_SUBFLOW]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.ARTIFACT_WRITE]: FlowStepCategory.ARTIFACT,\n [Flow_Step_Kind.ARTIFACT_READ]: FlowStepCategory.ARTIFACT,\n [Flow_Step_Kind.CONTROL_BRANCH]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_SWITCH]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_LOOP]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_PARALLEL]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_DELAY]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_RETRY]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.STATE_MEMORY_READ]: FlowStepCategory.STATE,\n [Flow_Step_Kind.STATE_MEMORY_WRITE]: FlowStepCategory.STATE,\n [Flow_Step_Kind.EVENT_EMIT]: FlowStepCategory.EVENT,\n [Flow_Step_Kind.EVENT_WAIT]: FlowStepCategory.EVENT,\n [Flow_Step_Kind.ERROR_CATCH]: FlowStepCategory.ERROR,\n [Flow_Step_Kind.ERROR_COMPENSATE]: FlowStepCategory.ERROR,\n [Flow_Step_Kind.ERROR_FINALLY]: FlowStepCategory.ERROR,\n [Flow_Step_Kind.HUMAN_IN_THE_LOOP]: FlowStepCategory.HUMAN,\n [Flow_Step_Kind.ACTOR_SYSTEM_CALL]: FlowStepCategory.HUMAN,\n [Flow_Step_Kind.NOTIFICATION_EMAIL]: FlowStepCategory.NOTIFICATION,\n};\n\nconst isFlowStepKind = (kind: string): kind is Flow_Step_Kind => Object.values(Flow_Step_Kind).includes(kind as Flow_Step_Kind);\nconst isFlowTriggerType = (type: string): type is Flow_Trigger_Type => Object.values(Flow_Trigger_Type).includes(type as Flow_Trigger_Type);\n\n/** A step kind's category, or `undefined` for a kind this bundle does not know (a newer runtime): no look is guessed. */\nexport function flowStepCategory(kind: string): FlowStepCategory | undefined {\n return isFlowStepKind(kind) ? STEP_KIND_CATEGORY[kind] : undefined;\n}\n\nexport const FLOW_STEP_CATEGORY_ICONS: Record<FlowStepCategory, StandardIconReference> = {\n [FlowStepCategory.AGENTIC]: StandardIconReference.BRAIN,\n [FlowStepCategory.ARTIFACT]: StandardIconReference.FILE,\n [FlowStepCategory.CONTROL]: StandardIconReference.CHEVRONS_UP_DOWN,\n [FlowStepCategory.STATE]: StandardIconReference.BOOKMARK,\n [FlowStepCategory.EVENT]: StandardIconReference.CLOCK,\n [FlowStepCategory.ERROR]: StandardIconReference.WARNING,\n [FlowStepCategory.HUMAN]: StandardIconReference.USERS,\n [FlowStepCategory.NOTIFICATION]: StandardIconReference.MAIL,\n};\n\nconst TRIGGER_TYPE_ICONS: Record<Flow_Trigger_Type, StandardIconReference> = {\n [Flow_Trigger_Type.MANUAL]: StandardIconReference.CORNER_DOWN_LEFT,\n [Flow_Trigger_Type.SCHEDULE]: StandardIconReference.CALENDAR,\n [Flow_Trigger_Type.WEBHOOK]: StandardIconReference.EXTERNAL_LINK,\n [Flow_Trigger_Type.RESOURCE_EVENT]: StandardIconReference.DOT,\n [Flow_Trigger_Type.EVENT]: StandardIconReference.CLOCK,\n [Flow_Trigger_Type.TASK_COMPLETION]: StandardIconReference.CHECK_CIRCLE,\n};\n\n/** The word key of each trigger type, in the flow node's labels (`LowLevelAiFlowNodeLabels`). */\nconst TRIGGER_TYPE_LABEL_KEYS: Record<Flow_Trigger_Type, string> = {\n [Flow_Trigger_Type.MANUAL]: 'triggerManual',\n [Flow_Trigger_Type.SCHEDULE]: 'triggerSchedule',\n [Flow_Trigger_Type.WEBHOOK]: 'triggerWebhook',\n [Flow_Trigger_Type.RESOURCE_EVENT]: 'triggerResourceEvent',\n [Flow_Trigger_Type.EVENT]: 'triggerEvent',\n [Flow_Trigger_Type.TASK_COMPLETION]: 'triggerTaskCompletion',\n};\n\n/** A trigger type's icon and word key, or `undefined` for a type this bundle does not know. */\nexport function flowTriggerTypeVisual(type: string): { readonly icon: StandardIconReference; readonly labelKey: string } | undefined {\n return isFlowTriggerType(type) ? { icon: TRIGGER_TYPE_ICONS[type], labelKey: TRIGGER_TYPE_LABEL_KEYS[type] } : undefined;\n}\n\n/** Every trigger-type word key, for the test holding the labels total. */\nexport const FLOW_TRIGGER_TYPE_LABEL_KEYS: readonly string[] = Object.values(TRIGGER_TYPE_LABEL_KEYS);\n"]}
1
+ {"version":3,"file":"flow-step-visuals.js","sourceRoot":"","sources":["../../../../src/components/flows-actors/flow-step-visuals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAEtG,iEAAiE;AACjE,gDAAgD;AAChD,EAAE;AACF,wHAAwH;AACxH,8FAA8F;AAC9F,EAAE;AACF,mHAAmH;AACnH,sHAAsH;AACtH,4CAA4C;AAC5C,iEAAiE;AAEjE,6FAA6F;AAC7F,MAAM,CAAN,IAAY,gBAiBX;AAjBD,WAAY,gBAAgB;IAC1B,wEAAwE;IACxE,uCAAmB,CAAA;IACnB,sCAAsC;IACtC,yCAAqB,CAAA;IACrB,uEAAuE;IACvE,uCAAmB,CAAA;IACnB,4CAA4C;IAC5C,mCAAe,CAAA;IACf,wCAAwC;IACxC,mCAAe,CAAA;IACf,0DAA0D;IAC1D,mCAAe,CAAA;IACf,4DAA4D;IAC5D,mCAAe,CAAA;IACf,6DAA6D;IAC7D,iDAA6B,CAAA;AAC/B,CAAC,EAjBW,gBAAgB,KAAhB,gBAAgB,QAiB3B;AAED,MAAM,kBAAkB,GAA6C;IACnE,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC,OAAO;IACrD,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,gBAAgB,C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IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,uBAAuB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AAC3H,CAAC;AAED,0EAA0E;AAC1E,MAAM,CAAC,MAAM,4BAA4B,GAAsB,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC","sourcesContent":["import { Flow_Step_Kind, Flow_Trigger_Type } from '@wildo-ai/saas-models';\nimport { StandardIconReference } from '~wildo-frontend-lib/core/icons/icon-registry.frontend.schemas';\n\n//===============================================================\n// How a flow's steps and triggers LOOK (#2529)\n//\n// The kind of a step and the type of a trigger, as a category, an icon and a word key. No graph library here: these are\n// read by the flow canvas, which draws through `AI_GraphViewer`, and by the eager step badge.\n//\n// Every map is total over its vocabulary (`Flow_Step_Kind`, `Flow_Trigger_Type`), so a member added to either is a\n// compile error here rather than a step drawn with a guessed look. They were string-keyed until #2529, and an unknown\n// kind was silently given the agentic look.\n//===============================================================\n\n/** The family a step kind belongs to, which decides its icon and the colour of its badge. */\nexport enum FlowStepCategory {\n /** Work done by an agent, a function, a connector or a compute step. */\n AGENTIC = 'agentic',\n /** Reading or writing an artifact. */\n ARTIFACT = 'artifact',\n /** Branching, looping, waiting or retrying: the flow's own control. */\n CONTROL = 'control',\n /** Reading or writing the flow's memory. */\n STATE = 'state',\n /** Emitting or waiting for an event. */\n EVENT = 'event',\n /** Catching, compensating or finishing after an error. */\n ERROR = 'error',\n /** A person in the loop, or another actor system called. */\n HUMAN = 'human',\n /** A message sent to a person outside the run (an email). */\n NOTIFICATION = 'notification',\n}\n\nconst STEP_KIND_CATEGORY: Record<Flow_Step_Kind, FlowStepCategory> = {\n [Flow_Step_Kind.AGENT_CALL]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.FUNCTION]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.CONNECTOR]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.COMPUTE_RESOURCE_OPERATION]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.COMPUTE_CUSTOM]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.FLOW_SUBFLOW]: FlowStepCategory.AGENTIC,\n [Flow_Step_Kind.ARTIFACT_WRITE]: FlowStepCategory.ARTIFACT,\n [Flow_Step_Kind.ARTIFACT_READ]: FlowStepCategory.ARTIFACT,\n [Flow_Step_Kind.CONTROL_BRANCH]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_SWITCH]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_LOOP]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_PARALLEL]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_DELAY]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.CONTROL_RETRY]: FlowStepCategory.CONTROL,\n [Flow_Step_Kind.STATE_MEMORY_READ]: FlowStepCategory.STATE,\n [Flow_Step_Kind.STATE_MEMORY_WRITE]: FlowStepCategory.STATE,\n [Flow_Step_Kind.EVENT_EMIT]: FlowStepCategory.EVENT,\n [Flow_Step_Kind.EVENT_WAIT]: FlowStepCategory.EVENT,\n [Flow_Step_Kind.ERROR_CATCH]: FlowStepCategory.ERROR,\n [Flow_Step_Kind.ERROR_COMPENSATE]: FlowStepCategory.ERROR,\n [Flow_Step_Kind.ERROR_FINALLY]: FlowStepCategory.ERROR,\n [Flow_Step_Kind.HUMAN_IN_THE_LOOP]: FlowStepCategory.HUMAN,\n [Flow_Step_Kind.ACTOR_SYSTEM_CALL]: FlowStepCategory.HUMAN,\n [Flow_Step_Kind.NOTIFICATION_EMAIL]: FlowStepCategory.NOTIFICATION,\n};\n\nconst isFlowStepKind = (kind: string): kind is Flow_Step_Kind => Object.values(Flow_Step_Kind).includes(kind as Flow_Step_Kind);\nconst isFlowTriggerType = (type: string): type is Flow_Trigger_Type => Object.values(Flow_Trigger_Type).includes(type as Flow_Trigger_Type);\n\n/** A step kind's category, or `undefined` for a kind this bundle does not know (a newer runtime): no look is guessed. */\nexport function flowStepCategory(kind: string): FlowStepCategory | undefined {\n return isFlowStepKind(kind) ? STEP_KIND_CATEGORY[kind] : undefined;\n}\n\nexport const FLOW_STEP_CATEGORY_ICONS: Record<FlowStepCategory, StandardIconReference> = {\n [FlowStepCategory.AGENTIC]: StandardIconReference.BRAIN,\n [FlowStepCategory.ARTIFACT]: StandardIconReference.FILE,\n [FlowStepCategory.CONTROL]: StandardIconReference.CHEVRONS_UP_DOWN,\n [FlowStepCategory.STATE]: StandardIconReference.BOOKMARK,\n [FlowStepCategory.EVENT]: StandardIconReference.CLOCK,\n [FlowStepCategory.ERROR]: StandardIconReference.WARNING,\n [FlowStepCategory.HUMAN]: StandardIconReference.USERS,\n [FlowStepCategory.NOTIFICATION]: StandardIconReference.MAIL,\n};\n\nconst TRIGGER_TYPE_ICONS: Record<Flow_Trigger_Type, StandardIconReference> = {\n [Flow_Trigger_Type.MANUAL]: StandardIconReference.CORNER_DOWN_LEFT,\n [Flow_Trigger_Type.SCHEDULE]: StandardIconReference.CALENDAR,\n [Flow_Trigger_Type.API]: StandardIconReference.PLUG,\n [Flow_Trigger_Type.CHAT]: StandardIconReference.MESSAGE_CIRCLE,\n [Flow_Trigger_Type.INBOUND_DELIVERY]: StandardIconReference.WEBHOOK,\n [Flow_Trigger_Type.INBOUND_EMAIL]: StandardIconReference.INBOX,\n [Flow_Trigger_Type.RESOURCE_EVENT]: StandardIconReference.DOT,\n [Flow_Trigger_Type.EVENT]: StandardIconReference.CLOCK,\n [Flow_Trigger_Type.TASK_COMPLETION]: StandardIconReference.CHECK_CIRCLE,\n};\n\n/** The word key of each trigger type, in the flow node's labels (`LowLevelAiFlowNodeLabels`). */\nconst TRIGGER_TYPE_LABEL_KEYS: Record<Flow_Trigger_Type, string> = {\n [Flow_Trigger_Type.MANUAL]: 'triggerManual',\n [Flow_Trigger_Type.SCHEDULE]: 'triggerSchedule',\n [Flow_Trigger_Type.API]: 'triggerApi',\n [Flow_Trigger_Type.CHAT]: 'triggerChat',\n [Flow_Trigger_Type.INBOUND_DELIVERY]: 'triggerInboundDelivery',\n [Flow_Trigger_Type.INBOUND_EMAIL]: 'triggerInboundEmail',\n [Flow_Trigger_Type.RESOURCE_EVENT]: 'triggerResourceEvent',\n [Flow_Trigger_Type.EVENT]: 'triggerEvent',\n [Flow_Trigger_Type.TASK_COMPLETION]: 'triggerTaskCompletion',\n};\n\n/** A trigger type's icon and word key, or `undefined` for a type this bundle does not know. */\nexport function flowTriggerTypeVisual(type: string): { readonly icon: StandardIconReference; readonly labelKey: string } | undefined {\n return isFlowTriggerType(type) ? { icon: TRIGGER_TYPE_ICONS[type], labelKey: TRIGGER_TYPE_LABEL_KEYS[type] } : undefined;\n}\n\n/** Every trigger-type word key, for the test holding the labels total. */\nexport const FLOW_TRIGGER_TYPE_LABEL_KEYS: readonly string[] = Object.values(TRIGGER_TYPE_LABEL_KEYS);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"human-decision-form.d.ts","sourceRoot":"","sources":["../../../../src/components/flows-actors/human-decision-form.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAML,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,mBAAmB,EAA6B,MAAM,qCAAqC,CAAC;AAO1G,iGAAiG;AACjG,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,yBAAyB,CAAC;CAC3C;AAED,uFAAuF;AACvF,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,UAAU,IAAI,OAAO,CAAC,SAAS,sBAAsB,EAAE,GAAG,IAAI,CAAC,CAAC;CACjE;AAED,MAAM,WAAW,sBAAsB;IACrC,6CAA6C;IAC7C,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACvC,oDAAoD;IACpD,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,4DAA4D;IAC5D,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC,CAAC;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mDAAmD;IACnD,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACpD,kFAAkF;IAClF,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,+FAA+F;AAC/F,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,sBAAsB,EAChC,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC,GAClE,mBAAmB,CAoBrB;AA4ED,wBAAgB,iBAAiB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,EAAE,sBAAsB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA8B3J"}
1
+ {"version":3,"file":"human-decision-form.d.ts","sourceRoot":"","sources":["../../../../src/components/flows-actors/human-decision-form.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAML,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,mBAAmB,EAA6B,MAAM,qCAAqC,CAAC;AAQ1G,iGAAiG;AACjG,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,yBAAyB,CAAC;CAC3C;AAED,uFAAuF;AACvF,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,UAAU,IAAI,OAAO,CAAC,SAAS,sBAAsB,EAAE,GAAG,IAAI,CAAC,CAAC;CACjE;AAED,MAAM,WAAW,sBAAsB;IACrC,6CAA6C;IAC7C,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACvC,oDAAoD;IACpD,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,4DAA4D;IAC5D,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC,CAAC;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mDAAmD;IACnD,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACpD,kFAAkF;IAClF,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,+FAA+F;AAC/F,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,sBAAsB,EAChC,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC,GAClE,mBAAmB,CAoBrB;AA4ED,wBAAgB,iBAAiB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,EAAE,sBAAsB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAgC3J"}
@@ -30,6 +30,7 @@ import { AutomatedForm } from '../../components/form/automated/AutomatedForm.js'
30
30
  import { FormField } from '../../components/form/automated/FormField.js';
31
31
  import { FormLayout } from '../../components/resources/skeleton/FormLayout.js';
32
32
  import { Section } from '../../components/resources/skeleton/Section.js';
33
+ import { validateFieldsAndShowErrors } from '../../components/form/validation-errors/validate-fields-and-show-errors.js';
33
34
  /** The literal words a compiled form is drawn with: the asker's, and the host's yes and no. */
34
35
  export function humanDecisionFormLabels(compiled, confirmWords) {
35
36
  const fieldWords = {};
@@ -113,7 +114,9 @@ export function HumanDecisionForm({ fields, form, confirmWords, disabled, onRead
113
114
  const handleFormReady = React.useCallback((methods) => {
114
115
  onReady?.({
115
116
  async readValues() {
116
- if (!(await methods.trigger()))
117
+ // Proceeding is the person asking to save the answer: the fields that fail show why, and the first is brought on
118
+ // screen (`validateFieldsAndShowErrors`), as a section's Save does.
119
+ if (!(await validateFieldsAndShowErrors(methods, Object.keys(methods.getValues()))))
117
120
  return null;
118
121
  // The OUTPUT of the compiled schema (trimmed text, a calendar day as the date picker holds it), then its JSON.
119
122
  const parsed = compiled.schema.safeParse(methods.getValues());
@@ -1 +1 @@
1
- {"version":3,"file":"human-decision-form.js","sourceRoot":"","sources":["../../../../src/components/flows-actors/human-decision-form.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,GAMxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,6DAA6D,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,MAAM,yDAAyD,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,2DAA2D,CAAC;AAiCpF,+FAA+F;AAC/F,M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's request says what is asked (`fields`: the question, why it is asked, a CHOICE's options) and may carry a\n * form saying how (`form`: each answer's type, its edit control, the headings). This renders it the way every other\n * form in an application renders: `compileHumanInputForm` builds the decorated schema and its layout, the layout becomes\n * an edit template from the same skeleton a resource's `*.ui-behavior.tsx` uses (`<FormLayout>`, `<Section>`,\n * `<FormField>`), and `AutomatedForm` draws it. A request without a form is asked through its default form — a text\n * box, its options, a yes or no — so every decision surface renders through here.\n *\n * ## The words are the asker's\n *\n * The question, its reason and the headings are CONTENT written by whoever asked, so they reach the form as literal\n * labels, never as keys; a CHOICE's options are both its values and its words. The one vocabulary the framework owns\n * here, a CONFIRM's yes and no, comes from the host's own labels (`confirmWords`).\n *\n * ## No submit\n *\n * A decision is answered by its OPTIONS, which the host draws beside the form, and only some of them carry values. So\n * the form offers no submit of its own. The host asks it for the answer when an option that proceeds with values is\n * chosen (`HumanDecisionFormHandle.readValues`), and it reports whether the answer is complete, so that option can wait\n * until it is (`onCompleteChange`).\n */\nimport React from 'react';\nimport { useFormContext, useWatch } from 'react-hook-form';\nimport {\n HumanInputForm_LayoutKind,\n compileHumanInputForm,\n humanDecisionOptionWords,\n humanDecisionWireValue,\n HumanDecision_FieldKind,\n type CompiledHumanInputForm,\n type HumanDecision_AnswerValue,\n type HumanDecision_ConfirmAnswer,\n type HumanDecision_Field,\n type HumanInputForm,\n} from '@wildo-ai/saas-models';\nimport { SectionMode } from '@wildo-ai/zod-decorators';\nimport type { AutomatedFormLabels, DisplayOrFormSectionLabel } from '@wildo-ai/presets-components-models';\nimport { AutomatedForm } from '~wildo-frontend-lib/components/form/automated/AutomatedForm';\nimport { FormField } from '~wildo-frontend-lib/components/form/automated/FormField';\nimport { FormLayout } from '~wildo-frontend-lib/components/resources/skeleton/FormLayout';\nimport { Section } from '~wildo-frontend-lib/components/resources/skeleton/Section';\nimport type { FormMethods } from '~wildo-frontend-lib/components/form/Form';\n\n/** One answered field, as an answer carries it: the request field's ref and its value's JSON. */\nexport interface HumanDecisionFormValue {\n readonly ref: string;\n readonly value: HumanDecision_AnswerValue;\n}\n\n/** What a host asks of the form when an option that proceeds with values is chosen. */\nexport interface HumanDecisionFormHandle {\n /**\n * Validate every field and return the answer, one value per field in the request's order, each as its JSON. `null`\n * when a field is not answered or is answered wrongly; the form then shows where.\n */\n readValues(): Promise<readonly HumanDecisionFormValue[] | null>;\n}\n\nexport interface HumanDecisionFormProps {\n /** The request's questions, in its order. */\n fields: readonly HumanDecision_Field[];\n /** How they are asked. Absent: the default form. */\n form?: HumanInputForm;\n /** The words for a yes and a no, from the host's labels. */\n confirmWords: Readonly<Record<HumanDecision_ConfirmAnswer, string>>;\n disabled?: boolean;\n /** Handed the form's handle once it can answer. */\n onReady?: (handle: HumanDecisionFormHandle) => void;\n /** Whether every field holds a value the form accepts, each time that changes. */\n onCompleteChange?: (complete: boolean) => void;\n className?: string;\n}\n\n/** The literal words a compiled form is drawn with: the asker's, and the host's yes and no. */\nexport function humanDecisionFormLabels(\n compiled: CompiledHumanInputForm,\n confirmWords: Readonly<Record<HumanDecision_ConfirmAnswer, string>>,\n): AutomatedFormLabels {\n const fieldWords: Record<string, string> = {};\n const descriptions: Record<string, string> = {};\n const enums: Record<string, Record<string, string>> = {};\n for (const field of compiled.fields) {\n fieldWords[field.key] = field.request.question;\n if (field.request.why) descriptions[field.key] = field.request.why;\n if (field.request.kind === HumanDecision_FieldKind.CHOICE) {\n // The value is what the answer carries; the words are the host's for it when it gave any (#3159).\n enums[field.key] = Object.fromEntries((field.request.options ?? []).map((option) => [option, humanDecisionOptionWords(field.request, option)]));\n } else if (field.request.kind === HumanDecision_FieldKind.CONFIRM) {\n enums[field.key] = { ...confirmWords };\n }\n }\n const groups = compiled.layout.kind === HumanInputForm_LayoutKind.SECTIONS\n ? compiled.layout.sections\n : compiled.layout.kind === HumanInputForm_LayoutKind.WIZARD ? compiled.layout.steps : [];\n const sections: Record<string, DisplayOrFormSectionLabel> = {};\n for (const group of groups) sections[group.name] = { title: group.title, ...(group.description ? { description: group.description } : {}) };\n return { fields: fieldWords, descriptions, enums, sections };\n}\n\n/**\n * What the template reads: the compiled form, and where to report whether the answer is complete. Through a context\n * rather than a closure, so the template is ONE component for the life of the form (see `HumanDecisionFormTemplate`).\n */\ninterface HumanDecisionFormTemplateContextValue {\n readonly compiled: CompiledHumanInputForm;\n /** The host's latest callback, read when completeness changes: a new callback is not a new form. */\n readonly onCompleteChangeRef: React.RefObject<((complete: boolean) => void) | undefined>;\n}\n\nconst HumanDecisionFormTemplateContext = React.createContext<HumanDecisionFormTemplateContextValue | null>(null);\n\n/**\n * Reports whether the answer is complete, from inside the form. A component rather than an effect in the host, because\n * only a descendant of the form can watch its values.\n */\nfunction CompletionReporter(): null {\n const context = React.useContext(HumanDecisionFormTemplateContext);\n const { control } = useFormContext();\n const values = useWatch({ control });\n const complete = React.useMemo(() => context?.compiled.schema.safeParse(values).success ?? false, [context?.compiled, values]);\n React.useEffect(() => { context?.onCompleteChangeRef.current?.(complete); }, [complete, context]);\n return null;\n}\n\n/**\n * The edit template the compiled layout is drawn as, from the ui-behavior skeleton. A WIZARD is drawn as STEPPER\n * sections, not a `<WizardLayout>`: the decision's options sit outside the form and may be chosen on any step, so every\n * step must stay mounted (a stepper keeps hidden panels mounted, and an answer read on step one still validates step\n * three, revealing it when it holds the first error).\n *\n * One module-level component, never one built per render: a host refreshes its decisions with fresh objects (an inbox\n * refetches after every act), and a template whose identity changed would remount the form's body, losing the focus\n * and the caret of the person typing and sending a wizard back to its first step (#2720 review M2).\n */\nfunction HumanDecisionFormTemplate(): React.JSX.Element | null {\n const context = React.useContext(HumanDecisionFormTemplateContext);\n if (!context) return null;\n const { layout, fields } = context.compiled;\n if (layout.kind === HumanInputForm_LayoutKind.FLAT) {\n return (\n <FormLayout autoInjectSubmitButton={false}>\n {fields.map((field) => <FormField key={field.key} name={field.key} />)}\n <CompletionReporter />\n </FormLayout>\n );\n }\n const appearance = layout.kind === HumanInputForm_LayoutKind.SECTIONS ? layout.appearance : SectionMode.STEPPER;\n const groups = layout.kind === HumanInputForm_LayoutKind.SECTIONS ? layout.sections : layout.steps;\n return (\n <FormLayout autoInjectSubmitButton={false}>\n {groups.map((group) => (\n <Section key={group.name} name={group.name} appearance={appearance}>\n {group.keys.map((key) => <FormField key={key} name={key} />)}\n </Section>\n ))}\n <CompletionReporter />\n </FormLayout>\n );\n}\n\n/** Never called: the form has no submit, and Enter in a field must not answer the decision. */\nconst NO_SUBMIT = (): void => undefined;\n\n/**\n * A value that keeps its identity while its CONTENT is unchanged. A host hands the same question again as a fresh object\n * on every refresh, and the compiled form, the labels and the template must not be rebuilt for it.\n */\nfunction useContentStable<T>(value: T): T {\n const key = JSON.stringify(value);\n // Keyed on the content on purpose: the identity is what changes from one refresh to the next.\n return React.useMemo(() => value, [key]);\n}\n\nexport function HumanDecisionForm({ fields, form, confirmWords, disabled, onReady, onCompleteChange, className }: HumanDecisionFormProps): React.JSX.Element {\n const stableFields = useContentStable(fields);\n const stableForm = useContentStable(form);\n const stableConfirmWords = useContentStable(confirmWords);\n const compiled = React.useMemo(() => compileHumanInputForm({ fields: [...stableFields], form: stableForm }), [stableFields, stableForm]);\n const labels = React.useMemo(() => humanDecisionFormLabels(compiled, stableConfirmWords), [compiled, stableConfirmWords]);\n const onCompleteChangeRef = React.useRef(onCompleteChange);\n React.useLayoutEffect(() => { onCompleteChangeRef.current = onCompleteChange; }, [onCompleteChange]);\n const templateContext = React.useMemo(() => ({ compiled, onCompleteChangeRef }), [compiled]);\n\n const handleFormReady = React.useCallback((methods: FormMethods) => {\n onReady?.({\n async readValues() {\n if (!(await methods.trigger())) return null;\n // The OUTPUT of the compiled schema (trimmed text, a calendar day as the date picker holds it), then its JSON.\n const parsed = compiled.schema.safeParse(methods.getValues());\n if (!parsed.success) return null;\n const output = parsed.data as Record<string, unknown>;\n return compiled.fields.map((field) => ({ ref: field.request.ref, value: humanDecisionWireValue(output[field.key]) }));\n },\n });\n }, [compiled, onReady]);\n\n return (\n <div className={className} data-human-decision-form=\"\">\n <HumanDecisionFormTemplateContext.Provider value={templateContext}>\n <AutomatedForm schema={compiled.schema} onSubmit={NO_SUBMIT} labels={labels} disabled={disabled} layoutTemplate={HumanDecisionFormTemplate} onFormReady={handleFormReady} />\n </HumanDecisionFormTemplateContext.Provider>\n </div>\n );\n}\n"]}
1
+ {"version":3,"file":"human-decision-form.js","sourceRoot":"","sources":["../../../../src/components/flows-actors/human-decision-form.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAsB,MAAM,iBAAiB,CAAC;AAC/E,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,GAMxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,6DAA6D,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,MAAM,yDAAyD,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,2DAA2D,CAAC;AAEpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,uFAAuF,CAAC;AAgCpI,+FAA+F;AAC/F,MAAM,UAAU,uBAAuB,CACrC,QAAgC,EAChC,YAAmE;IAEnE,MAAM,UAAU,GAA2B,EAAE,CAAC;IAC9C,MAAM,YAAY,GAA2B,EAAE,CAAC;IAChD,MAAM,KAAK,GAA2C,EAAE,CAAC;IACzD,KAAK,MAAM,KAAK,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;QACpC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC/C,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG;YAAE,Y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CAAC;oBAAE,OAAO,IAAI,CAAC;gBAC7H,+GAA+G;gBAC/G,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;gBAC9D,IAAI,CAAC,MAAM,CAAC,OAAO;oBAAE,OAAO,IAAI,CAAC;gBACjC,MAAM,MAAM,GAAG,MAAM,CAAC,IAA+B,CAAC;gBACtD,OAAO,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE,sBAAsB,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACxH,CAAC;SACF,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IAExB,OAAO,CACL,cAAK,SAAS,EAAE,SAAS,8BAA2B,EAAE,YACpD,KAAC,gCAAgC,CAAC,QAAQ,IAAC,KAAK,EAAE,eAAe,YAC/D,KAAC,aAAa,IAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAc,EAAE,yBAAyB,EAAE,WAAW,EAAE,eAAe,GAAI,GAClI,GACxC,CACP,CAAC;AACJ,CAAC","sourcesContent":["/**\n * A question to a person, asked through the automated form (#2720).\n *\n * A decision's request says what is asked (`fields`: the question, why it is asked, a CHOICE's options) and may carry a\n * form saying how (`form`: each answer's type, its edit control, the headings). This renders it the way every other\n * form in an application renders: `compileHumanInputForm` builds the decorated schema and its layout, the layout becomes\n * an edit template from the same skeleton a resource's `*.ui-behavior.tsx` uses (`<FormLayout>`, `<Section>`,\n * `<FormField>`), and `AutomatedForm` draws it. A request without a form is asked through its default form — a text\n * box, its options, a yes or no — so every decision surface renders through here.\n *\n * ## The words are the asker's\n *\n * The question, its reason and the headings are CONTENT written by whoever asked, so they reach the form as literal\n * labels, never as keys; a CHOICE's options are both its values and its words. The one vocabulary the framework owns\n * here, a CONFIRM's yes and no, comes from the host's own labels (`confirmWords`).\n *\n * ## No submit\n *\n * A decision is answered by its OPTIONS, which the host draws beside the form, and only some of them carry values. So\n * the form offers no submit of its own. The host asks it for the answer when an option that proceeds with values is\n * chosen (`HumanDecisionFormHandle.readValues`), and it reports whether the answer is complete, so that option can wait\n * until it is (`onCompleteChange`).\n */\nimport React from 'react';\nimport { useFormContext, useWatch, type UseFormReturn } from 'react-hook-form';\nimport {\n HumanInputForm_LayoutKind,\n compileHumanInputForm,\n humanDecisionOptionWords,\n humanDecisionWireValue,\n HumanDecision_FieldKind,\n type CompiledHumanInputForm,\n type HumanDecision_AnswerValue,\n type HumanDecision_ConfirmAnswer,\n type HumanDecision_Field,\n type HumanInputForm,\n} from '@wildo-ai/saas-models';\nimport { SectionMode } from '@wildo-ai/zod-decorators';\nimport type { AutomatedFormLabels, DisplayOrFormSectionLabel } from '@wildo-ai/presets-components-models';\nimport { AutomatedForm } from '~wildo-frontend-lib/components/form/automated/AutomatedForm';\nimport { FormField } from '~wildo-frontend-lib/components/form/automated/FormField';\nimport { FormLayout } from '~wildo-frontend-lib/components/resources/skeleton/FormLayout';\nimport { Section } from '~wildo-frontend-lib/components/resources/skeleton/Section';\nimport type { FormMethods } from '~wildo-frontend-lib/components/form/Form';\nimport { validateFieldsAndShowErrors } from '~wildo-frontend-lib/components/form/validation-errors/validate-fields-and-show-errors';\n\n/** One answered field, as an answer carries it: the request field's ref and its value's JSON. */\nexport interface HumanDecisionFormValue {\n readonly ref: string;\n readonly value: HumanDecision_AnswerValue;\n}\n\n/** What a host asks of the form when an option that proceeds with values is chosen. */\nexport interface HumanDecisionFormHandle {\n /**\n * Validate every field and return the answer, one value per field in the request's order, each as its JSON. `null`\n * when a field is not answered or is answered wrongly; the form then shows where.\n */\n readValues(): Promise<readonly HumanDecisionFormValue[] | null>;\n}\n\nexport interface HumanDecisionFormProps {\n /** The request's questions, in its order. */\n fields: readonly HumanDecision_Field[];\n /** How they are asked. Absent: the default form. */\n form?: HumanInputForm;\n /** The words for a yes and a no, from the host's labels. */\n confirmWords: Readonly<Record<HumanDecision_ConfirmAnswer, string>>;\n disabled?: boolean;\n /** Handed the form's handle once it can answer. */\n onReady?: (handle: HumanDecisionFormHandle) => void;\n /** Whether every field holds a value the form accepts, each time that changes. */\n onCompleteChange?: (complete: boolean) => void;\n className?: string;\n}\n\n/** The literal words a compiled form is drawn with: the asker's, and the host's yes and no. */\nexport function humanDecisionFormLabels(\n compiled: CompiledHumanInputForm,\n confirmWords: Readonly<Record<HumanDecision_ConfirmAnswer, string>>,\n): AutomatedFormLabels {\n const fieldWords: Record<string, string> = {};\n const descriptions: Record<string, string> = {};\n const enums: Record<string, Record<string, string>> = {};\n for (const field of compiled.fields) {\n fieldWords[field.key] = field.request.question;\n if (field.request.why) descriptions[field.key] = field.request.why;\n if (field.request.kind === HumanDecision_FieldKind.CHOICE) {\n // The value is what the answer carries; the words are the host's for it when it gave any (#3159).\n enums[field.key] = Object.fromEntries((field.request.options ?? []).map((option) => [option, humanDecisionOptionWords(field.request, option)]));\n } else if (field.request.kind === HumanDecision_FieldKind.CONFIRM) {\n enums[field.key] = { ...confirmWords };\n }\n }\n const groups = compiled.layout.kind === HumanInputForm_LayoutKind.SECTIONS\n ? compiled.layout.sections\n : compiled.layout.kind === HumanInputForm_LayoutKind.WIZARD ? compiled.layout.steps : [];\n const sections: Record<string, DisplayOrFormSectionLabel> = {};\n for (const group of groups) sections[group.name] = { title: group.title, ...(group.description ? { description: group.description } : {}) };\n return { fields: fieldWords, descriptions, enums, sections };\n}\n\n/**\n * What the template reads: the compiled form, and where to report whether the answer is complete. Through a context\n * rather than a closure, so the template is ONE component for the life of the form (see `HumanDecisionFormTemplate`).\n */\ninterface HumanDecisionFormTemplateContextValue {\n readonly compiled: CompiledHumanInputForm;\n /** The host's latest callback, read when completeness changes: a new callback is not a new form. */\n readonly onCompleteChangeRef: React.RefObject<((complete: boolean) => void) | undefined>;\n}\n\nconst HumanDecisionFormTemplateContext = React.createContext<HumanDecisionFormTemplateContextValue | null>(null);\n\n/**\n * Reports whether the answer is complete, from inside the form. A component rather than an effect in the host, because\n * only a descendant of the form can watch its values.\n */\nfunction CompletionReporter(): null {\n const context = React.useContext(HumanDecisionFormTemplateContext);\n const { control } = useFormContext();\n const values = useWatch({ control });\n const complete = React.useMemo(() => context?.compiled.schema.safeParse(values).success ?? false, [context?.compiled, values]);\n React.useEffect(() => { context?.onCompleteChangeRef.current?.(complete); }, [complete, context]);\n return null;\n}\n\n/**\n * The edit template the compiled layout is drawn as, from the ui-behavior skeleton. A WIZARD is drawn as STEPPER\n * sections, not a `<WizardLayout>`: the decision's options sit outside the form and may be chosen on any step, so every\n * step must stay mounted (a stepper keeps hidden panels mounted, and an answer read on step one still validates step\n * three, revealing it when it holds the first error).\n *\n * One module-level component, never one built per render: a host refreshes its decisions with fresh objects (an inbox\n * refetches after every act), and a template whose identity changed would remount the form's body, losing the focus\n * and the caret of the person typing and sending a wizard back to its first step (#2720 review M2).\n */\nfunction HumanDecisionFormTemplate(): React.JSX.Element | null {\n const context = React.useContext(HumanDecisionFormTemplateContext);\n if (!context) return null;\n const { layout, fields } = context.compiled;\n if (layout.kind === HumanInputForm_LayoutKind.FLAT) {\n return (\n <FormLayout autoInjectSubmitButton={false}>\n {fields.map((field) => <FormField key={field.key} name={field.key} />)}\n <CompletionReporter />\n </FormLayout>\n );\n }\n const appearance = layout.kind === HumanInputForm_LayoutKind.SECTIONS ? layout.appearance : SectionMode.STEPPER;\n const groups = layout.kind === HumanInputForm_LayoutKind.SECTIONS ? layout.sections : layout.steps;\n return (\n <FormLayout autoInjectSubmitButton={false}>\n {groups.map((group) => (\n <Section key={group.name} name={group.name} appearance={appearance}>\n {group.keys.map((key) => <FormField key={key} name={key} />)}\n </Section>\n ))}\n <CompletionReporter />\n </FormLayout>\n );\n}\n\n/** Never called: the form has no submit, and Enter in a field must not answer the decision. */\nconst NO_SUBMIT = (): void => undefined;\n\n/**\n * A value that keeps its identity while its CONTENT is unchanged. A host hands the same question again as a fresh object\n * on every refresh, and the compiled form, the labels and the template must not be rebuilt for it.\n */\nfunction useContentStable<T>(value: T): T {\n const key = JSON.stringify(value);\n // Keyed on the content on purpose: the identity is what changes from one refresh to the next.\n return React.useMemo(() => value, [key]);\n}\n\nexport function HumanDecisionForm({ fields, form, confirmWords, disabled, onReady, onCompleteChange, className }: HumanDecisionFormProps): React.JSX.Element {\n const stableFields = useContentStable(fields);\n const stableForm = useContentStable(form);\n const stableConfirmWords = useContentStable(confirmWords);\n const compiled = React.useMemo(() => compileHumanInputForm({ fields: [...stableFields], form: stableForm }), [stableFields, stableForm]);\n const labels = React.useMemo(() => humanDecisionFormLabels(compiled, stableConfirmWords), [compiled, stableConfirmWords]);\n const onCompleteChangeRef = React.useRef(onCompleteChange);\n React.useLayoutEffect(() => { onCompleteChangeRef.current = onCompleteChange; }, [onCompleteChange]);\n const templateContext = React.useMemo(() => ({ compiled, onCompleteChangeRef }), [compiled]);\n\n const handleFormReady = React.useCallback((methods: FormMethods) => {\n onReady?.({\n async readValues() {\n // Proceeding is the person asking to save the answer: the fields that fail show why, and the first is brought on\n // screen (`validateFieldsAndShowErrors`), as a section's Save does.\n if (!(await validateFieldsAndShowErrors(methods as unknown as UseFormReturn, Object.keys(methods.getValues())))) return null;\n // The OUTPUT of the compiled schema (trimmed text, a calendar day as the date picker holds it), then its JSON.\n const parsed = compiled.schema.safeParse(methods.getValues());\n if (!parsed.success) return null;\n const output = parsed.data as Record<string, unknown>;\n return compiled.fields.map((field) => ({ ref: field.request.ref, value: humanDecisionWireValue(output[field.key]) }));\n },\n });\n }, [compiled, onReady]);\n\n return (\n <div className={className} data-human-decision-form=\"\">\n <HumanDecisionFormTemplateContext.Provider value={templateContext}>\n <AutomatedForm schema={compiled.schema} onSubmit={NO_SUBMIT} labels={labels} disabled={disabled} layoutTemplate={HumanDecisionFormTemplate} onFormReady={handleFormReady} />\n </HumanDecisionFormTemplateContext.Provider>\n </div>\n );\n}\n"]}
@@ -46,6 +46,8 @@ export interface FormMethods {
46
46
  getFieldState: UseFormReturn<any>['getFieldState'];
47
47
  /** Reset one field, optionally to a new default (how a saved field becomes the stored value, no longer dirty) */
48
48
  resetField: UseFormReturn<any>['resetField'];
49
+ /** The form's control: what a partial save records its attempt against (`recordSaveAttempt`). */
50
+ control: UseFormReturn<any>['control'];
49
51
  }
50
52
  export interface FormProps<TSchema extends z.ZodTypeAny> {
51
53
  /** The main schema (used for context and type inference) */
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Form.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAW,WAAW,EAAE,aAAa,EAAE,aAAa,EAAiB,MAAM,iBAAiB,CAAC;AAMpG,OAAO,EAAE,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAKzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAC7F,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,mEAAmE,CAAC;AAwBpI;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B,uCAAuC;IACvC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC3E,oDAAoD;IACpD,WAAW,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAChD,oCAAoC;IACpC,KAAK,EAAE,aAAa,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AAE,MAAM,CAAC;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;IACjD;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,uFAAuF;IACvF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iFAAiF;IACjF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yFAAyF;IACzF,0BAA0B,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtG,uEAAuE;IACvE,2BAA2B,CAAC,EAAE,0CAA0C,EAAE,CAAC;IAC3E,oEAAoE;IACpE,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAED,iBAAS,aAAa,CAAC,OAAO,SAAS,CAAC,CAAC,UAAU,EAAE,EACnD,MAAM,EACN,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,QAAQ,EACR,OAAO,EACP,cAAc,EACd,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,EAAE,EACF,YAAY,EACZ,WAAW,EACX,oBAA4B,EAC5B,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,0BAA0B,EAC1B,2BAA2B,EAC3B,cAAc,GACf,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA0GxC;kBA/HQ,aAAa;;;AAmItB,eAAO,MAAM,IAAI,EAAE,OAAO,aAAa,GAAG;IAAE,WAAW,EAAE,MAAM,CAAA;CAAkB,CAAC"}
@@ -87,6 +87,7 @@ function FormComponent({ schema, schemaKind, validationSchema, defaultValues, on
87
87
  formState: form.formState,
88
88
  getFieldState: form.getFieldState,
89
89
  resetField: form.resetField,
90
+ control: form.control,
90
91
  });
91
92
  }
92
93
  }, [onFormReady, form]);