@wildo-ai/saas-frontend-lib 1.1.9 → 1.1.11

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 (1566) hide show
  1. package/dist/esm/companion-exports.d.ts +2 -1
  2. package/dist/esm/companion-exports.d.ts.map +1 -1
  3. package/dist/esm/companion-exports.js +2 -1
  4. package/dist/esm/companion-exports.js.map +1 -1
  5. package/dist/esm/components/actions/action-bar.d.ts +45 -1
  6. package/dist/esm/components/actions/action-bar.d.ts.map +1 -1
  7. package/dist/esm/components/actions/action-bar.js +84 -0
  8. package/dist/esm/components/actions/action-bar.js.map +1 -1
  9. package/dist/esm/components/actions/button.d.ts +22 -0
  10. package/dist/esm/components/actions/button.d.ts.map +1 -1
  11. package/dist/esm/components/actions/button.js +45 -0
  12. package/dist/esm/components/actions/button.js.map +1 -1
  13. package/dist/esm/components/ai-elements/chat/conversation-thread.d.ts +109 -0
  14. package/dist/esm/components/ai-elements/chat/conversation-thread.d.ts.map +1 -0
  15. package/dist/esm/components/ai-elements/chat/conversation-thread.js +22 -0
  16. package/dist/esm/components/ai-elements/chat/conversation-thread.js.map +1 -0
  17. package/dist/esm/components/ai-elements/decision/approval.d.ts +103 -7
  18. package/dist/esm/components/ai-elements/decision/approval.d.ts.map +1 -1
  19. package/dist/esm/components/ai-elements/decision/approval.js.map +1 -1
  20. package/dist/esm/components/ai-elements/execution/tool.d.ts +6 -0
  21. package/dist/esm/components/ai-elements/execution/tool.d.ts.map +1 -1
  22. package/dist/esm/components/ai-elements/execution/tool.js.map +1 -1
  23. package/dist/esm/components/ai-elements/graph/canvas.d.ts +60 -1
  24. package/dist/esm/components/ai-elements/graph/canvas.d.ts.map +1 -1
  25. package/dist/esm/components/ai-elements/graph/canvas.js +26 -0
  26. package/dist/esm/components/ai-elements/graph/canvas.js.map +1 -1
  27. package/dist/esm/components/ai-elements/graph/node.d.ts +39 -4
  28. package/dist/esm/components/ai-elements/graph/node.d.ts.map +1 -1
  29. package/dist/esm/components/ai-elements/graph/node.js +18 -0
  30. package/dist/esm/components/ai-elements/graph/node.js.map +1 -1
  31. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.d.ts +6 -0
  32. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.d.ts.map +1 -1
  33. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js +29 -8
  34. package/dist/esm/components/app/AppLayout_AuthenticatedRoute.js.map +1 -1
  35. package/dist/esm/components/app/AppLayout_DecisionInbox.d.ts +17 -0
  36. package/dist/esm/components/app/AppLayout_DecisionInbox.d.ts.map +1 -0
  37. package/dist/esm/components/app/AppLayout_DecisionInbox.js +24 -0
  38. package/dist/esm/components/app/AppLayout_DecisionInbox.js.map +1 -0
  39. package/dist/esm/components/app/AppLayout_MainContainer.d.ts.map +1 -1
  40. package/dist/esm/components/app/AppLayout_MainContainer.js +3 -0
  41. package/dist/esm/components/app/AppLayout_MainContainer.js.map +1 -1
  42. package/dist/esm/components/app/PublicLayout_LegalNotice.d.ts +18 -0
  43. package/dist/esm/components/app/PublicLayout_LegalNotice.d.ts.map +1 -0
  44. package/dist/esm/components/app/PublicLayout_LegalNotice.js +8 -0
  45. package/dist/esm/components/app/PublicLayout_LegalNotice.js.map +1 -0
  46. package/dist/esm/components/app/PublicLayout_LegalNotice.labels.d.ts +3 -0
  47. package/dist/esm/components/app/PublicLayout_LegalNotice.labels.d.ts.map +1 -0
  48. package/dist/esm/components/app/PublicLayout_LegalNotice.labels.js +38 -0
  49. package/dist/esm/components/app/PublicLayout_LegalNotice.labels.js.map +1 -0
  50. package/dist/esm/components/auth/Auth_ChatIdentityLink.d.ts +15 -0
  51. package/dist/esm/components/auth/Auth_ChatIdentityLink.d.ts.map +1 -0
  52. package/dist/esm/components/auth/Auth_ChatIdentityLink.js +219 -0
  53. package/dist/esm/components/auth/Auth_ChatIdentityLink.js.map +1 -0
  54. package/dist/esm/components/auth/Auth_ChatIdentityLink.labels.d.ts +3 -0
  55. package/dist/esm/components/auth/Auth_ChatIdentityLink.labels.d.ts.map +1 -0
  56. package/dist/esm/components/auth/Auth_ChatIdentityLink.labels.js +49 -0
  57. package/dist/esm/components/auth/Auth_ChatIdentityLink.labels.js.map +1 -0
  58. package/dist/esm/components/auth/Auth_Invitation.d.ts.map +1 -1
  59. package/dist/esm/components/auth/Auth_Invitation.js +3 -2
  60. package/dist/esm/components/auth/Auth_Invitation.js.map +1 -1
  61. package/dist/esm/components/auth/Auth_Invitation.labels.js +2 -2
  62. package/dist/esm/components/auth/Auth_Invitation.labels.js.map +1 -1
  63. package/dist/esm/components/auth/Auth_Main.d.ts.map +1 -1
  64. package/dist/esm/components/auth/Auth_Main.js +40 -7
  65. package/dist/esm/components/auth/Auth_Main.js.map +1 -1
  66. package/dist/esm/components/auth/Auth_Main.labels.d.ts.map +1 -1
  67. package/dist/esm/components/auth/Auth_Main.labels.js +9 -0
  68. package/dist/esm/components/auth/Auth_Main.labels.js.map +1 -1
  69. package/dist/esm/components/auth/Auth_OAuthConsent.d.ts.map +1 -1
  70. package/dist/esm/components/auth/Auth_OAuthConsent.js +3 -2
  71. package/dist/esm/components/auth/Auth_OAuthConsent.js.map +1 -1
  72. package/dist/esm/components/auth/Auth_PasswordLost.labels.js +2 -2
  73. package/dist/esm/components/auth/Auth_PasswordLost.labels.js.map +1 -1
  74. package/dist/esm/components/auth/Auth_Register.d.ts.map +1 -1
  75. package/dist/esm/components/auth/Auth_Register.js +8 -1
  76. package/dist/esm/components/auth/Auth_Register.js.map +1 -1
  77. package/dist/esm/components/auth/Auth_Register.labels.js +2 -2
  78. package/dist/esm/components/auth/Auth_Register.labels.js.map +1 -1
  79. package/dist/esm/components/auth/StepUpAuthDialog.d.ts +1 -1
  80. package/dist/esm/components/auth/StepUpAuthDialog.js +3 -3
  81. package/dist/esm/components/auth/StepUpAuthDialog.js.map +1 -1
  82. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.d.ts.map +1 -1
  83. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.js +94 -6
  84. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.js.map +1 -1
  85. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.d.ts.map +1 -1
  86. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js +21 -1
  87. package/dist/esm/components/auth/admin-config/AppPage_SecuritySettings.labels.js.map +1 -1
  88. package/dist/esm/components/auth/admin-config/ResourceLayoutPreset_Create_SamlWizard.d.ts.map +1 -1
  89. package/dist/esm/components/auth/admin-config/ResourceLayoutPreset_Create_SamlWizard.js +16 -13
  90. package/dist/esm/components/auth/admin-config/ResourceLayoutPreset_Create_SamlWizard.js.map +1 -1
  91. package/dist/esm/components/auth/admin-config/SsoConnectionSamlReadSection.js +3 -3
  92. package/dist/esm/components/auth/admin-config/SsoConnectionSamlReadSection.js.map +1 -1
  93. package/dist/esm/components/auth/enrollment/PasskeyEnrollmentMethod.d.ts.map +1 -1
  94. package/dist/esm/components/auth/enrollment/PasskeyEnrollmentMethod.js +1 -1
  95. package/dist/esm/components/auth/enrollment/PasskeyEnrollmentMethod.js.map +1 -1
  96. package/dist/esm/components/auth/methods/OrgSamlAuthMethod.d.ts +1 -1
  97. package/dist/esm/components/auth/methods/OrgSamlAuthMethod.d.ts.map +1 -1
  98. package/dist/esm/components/auth/methods/OrgSamlAuthMethod.js +3 -4
  99. package/dist/esm/components/auth/methods/OrgSamlAuthMethod.js.map +1 -1
  100. package/dist/esm/components/auth/pages/AuthPage_ChatIdentityLink.d.ts +11 -0
  101. package/dist/esm/components/auth/pages/AuthPage_ChatIdentityLink.d.ts.map +1 -0
  102. package/dist/esm/components/auth/pages/AuthPage_ChatIdentityLink.js +25 -0
  103. package/dist/esm/components/auth/pages/AuthPage_ChatIdentityLink.js.map +1 -0
  104. package/dist/esm/components/auth/utils/AuthPrivacyNoticeLink.d.ts +39 -0
  105. package/dist/esm/components/auth/utils/AuthPrivacyNoticeLink.d.ts.map +1 -0
  106. package/dist/esm/components/auth/utils/AuthPrivacyNoticeLink.js +45 -0
  107. package/dist/esm/components/auth/utils/AuthPrivacyNoticeLink.js.map +1 -0
  108. package/dist/esm/components/auth/utils/PasswordStrengthIndicator.js +1 -1
  109. package/dist/esm/components/auth/utils/PasswordStrengthIndicator.js.map +1 -1
  110. package/dist/esm/components/compliance/GovernedDocumentAcceptanceControl.d.ts.map +1 -1
  111. package/dist/esm/components/compliance/GovernedDocumentAcceptanceControl.js +2 -1
  112. package/dist/esm/components/compliance/GovernedDocumentAcceptanceControl.js.map +1 -1
  113. package/dist/esm/components/data-display/AutomaticDisplayer.d.ts.map +1 -1
  114. package/dist/esm/components/data-display/AutomaticDisplayer.js +21 -35
  115. package/dist/esm/components/data-display/AutomaticDisplayer.js.map +1 -1
  116. package/dist/esm/components/data-display/DisplayField.d.ts.map +1 -1
  117. package/dist/esm/components/data-display/DisplayField.js +98 -70
  118. package/dist/esm/components/data-display/DisplayField.js.map +1 -1
  119. package/dist/esm/components/data-display/DisplayFieldEditable.d.ts.map +1 -1
  120. package/dist/esm/components/data-display/DisplayFieldEditable.js +48 -8
  121. package/dist/esm/components/data-display/DisplayFieldEditable.js.map +1 -1
  122. package/dist/esm/components/data-display/DisplayFieldEditableArray.d.ts +3 -1
  123. package/dist/esm/components/data-display/DisplayFieldEditableArray.d.ts.map +1 -1
  124. package/dist/esm/components/data-display/DisplayFieldEditableArray.js +30 -4
  125. package/dist/esm/components/data-display/DisplayFieldEditableArray.js.map +1 -1
  126. package/dist/esm/components/data-display/DisplayFieldReadOnly.d.ts.map +1 -1
  127. package/dist/esm/components/data-display/DisplayFieldReadOnly.js +2 -2
  128. package/dist/esm/components/data-display/DisplayFieldReadOnly.js.map +1 -1
  129. package/dist/esm/components/data-display/DisplayValueDispatcher.d.ts +1 -1
  130. package/dist/esm/components/data-display/DisplayValueDispatcher.d.ts.map +1 -1
  131. package/dist/esm/components/data-display/DisplayValueDispatcher.js +45 -94
  132. package/dist/esm/components/data-display/DisplayValueDispatcher.js.map +1 -1
  133. package/dist/esm/components/data-display/ResourceAutomaticDisplayer.d.ts.map +1 -1
  134. package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js +14 -8
  135. package/dist/esm/components/data-display/ResourceAutomaticDisplayer.js.map +1 -1
  136. package/dist/esm/components/data-display/ResourceSummaryDisplayer.d.ts +41 -3
  137. package/dist/esm/components/data-display/ResourceSummaryDisplayer.d.ts.map +1 -1
  138. package/dist/esm/components/data-display/ResourceSummaryDisplayer.js +49 -5
  139. package/dist/esm/components/data-display/ResourceSummaryDisplayer.js.map +1 -1
  140. package/dist/esm/components/data-display/SummaryContext.d.ts +2 -2
  141. package/dist/esm/components/data-display/SummaryContext.js.map +1 -1
  142. package/dist/esm/components/data-display/automatic-displayer.utils.d.ts +22 -1
  143. package/dist/esm/components/data-display/automatic-displayer.utils.d.ts.map +1 -1
  144. package/dist/esm/components/data-display/automatic-displayer.utils.js +29 -0
  145. package/dist/esm/components/data-display/automatic-displayer.utils.js.map +1 -1
  146. package/dist/esm/components/data-display/badge.d.ts +9 -0
  147. package/dist/esm/components/data-display/badge.d.ts.map +1 -1
  148. package/dist/esm/components/data-display/badge.js.map +1 -1
  149. package/dist/esm/components/data-display/chromes/DisplayFieldChrome.d.ts +14 -2
  150. package/dist/esm/components/data-display/chromes/DisplayFieldChrome.d.ts.map +1 -1
  151. package/dist/esm/components/data-display/chromes/DisplayFieldChrome.js +42 -12
  152. package/dist/esm/components/data-display/chromes/DisplayFieldChrome.js.map +1 -1
  153. package/dist/esm/components/data-display/chromes/display-chrome-mode-resolution.d.ts +10 -0
  154. package/dist/esm/components/data-display/chromes/display-chrome-mode-resolution.d.ts.map +1 -0
  155. package/dist/esm/components/data-display/chromes/display-chrome-mode-resolution.js +18 -0
  156. package/dist/esm/components/data-display/chromes/display-chrome-mode-resolution.js.map +1 -0
  157. package/dist/esm/components/data-display/chromes/field-tile-boundaries.d.ts +38 -0
  158. package/dist/esm/components/data-display/chromes/field-tile-boundaries.d.ts.map +1 -0
  159. package/dist/esm/components/data-display/chromes/field-tile-boundaries.js +30 -0
  160. package/dist/esm/components/data-display/chromes/field-tile-boundaries.js.map +1 -0
  161. package/dist/esm/components/data-display/chromes/field-tiles.utils.d.ts +22 -0
  162. package/dist/esm/components/data-display/chromes/field-tiles.utils.d.ts.map +1 -0
  163. package/dist/esm/components/data-display/chromes/field-tiles.utils.js +52 -0
  164. package/dist/esm/components/data-display/chromes/field-tiles.utils.js.map +1 -0
  165. package/dist/esm/components/data-display/display-field-resolved-props.d.ts +4 -0
  166. package/dist/esm/components/data-display/display-field-resolved-props.d.ts.map +1 -1
  167. package/dist/esm/components/data-display/display-field-resolved-props.js.map +1 -1
  168. package/dist/esm/components/data-display/display-layout-template.utils.d.ts +18 -0
  169. package/dist/esm/components/data-display/display-layout-template.utils.d.ts.map +1 -0
  170. package/dist/esm/components/data-display/display-layout-template.utils.js +18 -0
  171. package/dist/esm/components/data-display/display-layout-template.utils.js.map +1 -0
  172. package/dist/esm/components/data-display/display-value-emptiness.utils.d.ts +44 -0
  173. package/dist/esm/components/data-display/display-value-emptiness.utils.d.ts.map +1 -0
  174. package/dist/esm/components/data-display/display-value-emptiness.utils.js +61 -0
  175. package/dist/esm/components/data-display/display-value-emptiness.utils.js.map +1 -0
  176. package/dist/esm/components/data-display/empty-value-mark.d.ts +31 -0
  177. package/dist/esm/components/data-display/empty-value-mark.d.ts.map +1 -0
  178. package/dist/esm/components/data-display/empty-value-mark.js +49 -0
  179. package/dist/esm/components/data-display/empty-value-mark.js.map +1 -0
  180. package/dist/esm/components/data-display/external-data-provenance/DisplayFieldProvenanceNote.d.ts +3 -2
  181. package/dist/esm/components/data-display/external-data-provenance/DisplayFieldProvenanceNote.d.ts.map +1 -1
  182. package/dist/esm/components/data-display/external-data-provenance/DisplayFieldProvenanceNote.js +4 -4
  183. package/dist/esm/components/data-display/external-data-provenance/DisplayFieldProvenanceNote.js.map +1 -1
  184. package/dist/esm/components/data-display/external-data-provenance/external-data-provenance.frontend.d.ts +6 -3
  185. package/dist/esm/components/data-display/external-data-provenance/external-data-provenance.frontend.d.ts.map +1 -1
  186. package/dist/esm/components/data-display/external-data-provenance/external-data-provenance.frontend.js +22 -12
  187. package/dist/esm/components/data-display/external-data-provenance/external-data-provenance.frontend.js.map +1 -1
  188. package/dist/esm/components/data-display/external-data-provenance/useExternalDataFieldProvenance.js +2 -2
  189. package/dist/esm/components/data-display/external-data-provenance/useExternalDataFieldProvenance.js.map +1 -1
  190. package/dist/esm/components/data-display/reference-display-target.d.ts +98 -0
  191. package/dist/esm/components/data-display/reference-display-target.d.ts.map +1 -0
  192. package/dist/esm/components/data-display/reference-display-target.js +154 -0
  193. package/dist/esm/components/data-display/reference-display-target.js.map +1 -0
  194. package/dist/esm/components/data-display/summary-value-naming.context.d.ts +15 -0
  195. package/dist/esm/components/data-display/summary-value-naming.context.d.ts.map +1 -0
  196. package/dist/esm/components/data-display/summary-value-naming.context.js +18 -0
  197. package/dist/esm/components/data-display/summary-value-naming.context.js.map +1 -0
  198. package/dist/esm/components/data-display/tone-marker.d.ts +38 -0
  199. package/dist/esm/components/data-display/tone-marker.d.ts.map +1 -0
  200. package/dist/esm/components/data-display/tone-marker.js +56 -0
  201. package/dist/esm/components/data-display/tone-marker.js.map +1 -0
  202. package/dist/esm/components/data-display/useFileActivation.d.ts.map +1 -1
  203. package/dist/esm/components/data-display/useFileActivation.js +2 -9
  204. package/dist/esm/components/data-display/useFileActivation.js.map +1 -1
  205. package/dist/esm/components/feedback/features/feature-limit-indicator.d.ts.map +1 -1
  206. package/dist/esm/components/feedback/features/feature-limit-indicator.js +12 -4
  207. package/dist/esm/components/feedback/features/feature-limit-indicator.js.map +1 -1
  208. package/dist/esm/components/feedback/operations-confirm-critical.d.ts +8 -0
  209. package/dist/esm/components/feedback/operations-confirm-critical.d.ts.map +1 -1
  210. package/dist/esm/components/feedback/operations-confirm-critical.js.map +1 -1
  211. package/dist/esm/components/files/Files_UploadGrantDrop.d.ts +0 -5
  212. package/dist/esm/components/files/Files_UploadGrantDrop.d.ts.map +1 -1
  213. package/dist/esm/components/files/Files_UploadGrantDrop.js +5 -17
  214. package/dist/esm/components/files/Files_UploadGrantDrop.js.map +1 -1
  215. package/dist/esm/components/flows-actors/actor.d.ts +21 -4
  216. package/dist/esm/components/flows-actors/actor.d.ts.map +1 -1
  217. package/dist/esm/components/flows-actors/actor.js +114 -192
  218. package/dist/esm/components/flows-actors/actor.js.map +1 -1
  219. package/dist/esm/components/flows-actors/actor.labels.d.ts.map +1 -1
  220. package/dist/esm/components/flows-actors/actor.labels.js +5 -10
  221. package/dist/esm/components/flows-actors/actor.labels.js.map +1 -1
  222. package/dist/esm/components/flows-actors/agent-config.labels.js +1 -1
  223. package/dist/esm/components/flows-actors/agent-config.labels.js.map +1 -1
  224. package/dist/esm/components/flows-actors/approval-modification-refusal.utils.d.ts.map +1 -1
  225. package/dist/esm/components/flows-actors/approval-modification-refusal.utils.js +1 -0
  226. package/dist/esm/components/flows-actors/approval-modification-refusal.utils.js.map +1 -1
  227. package/dist/esm/components/flows-actors/approval.d.ts +26 -16
  228. package/dist/esm/components/flows-actors/approval.d.ts.map +1 -1
  229. package/dist/esm/components/flows-actors/approval.js +208 -70
  230. package/dist/esm/components/flows-actors/approval.js.map +1 -1
  231. package/dist/esm/components/flows-actors/approval.labels.d.ts.map +1 -1
  232. package/dist/esm/components/flows-actors/approval.labels.js +67 -22
  233. package/dist/esm/components/flows-actors/approval.labels.js.map +1 -1
  234. package/dist/esm/components/flows-actors/artifact-browser.labels.js +1 -1
  235. package/dist/esm/components/flows-actors/artifact-browser.labels.js.map +1 -1
  236. package/dist/esm/components/flows-actors/execution-plan.d.ts +19 -7
  237. package/dist/esm/components/flows-actors/execution-plan.d.ts.map +1 -1
  238. package/dist/esm/components/flows-actors/execution-plan.js +55 -41
  239. package/dist/esm/components/flows-actors/execution-plan.js.map +1 -1
  240. package/dist/esm/components/flows-actors/execution-plan.labels.d.ts.map +1 -1
  241. package/dist/esm/components/flows-actors/execution-plan.labels.js +25 -8
  242. package/dist/esm/components/flows-actors/execution-plan.labels.js.map +1 -1
  243. package/dist/esm/components/flows-actors/execution-usage.d.ts +69 -0
  244. package/dist/esm/components/flows-actors/execution-usage.d.ts.map +1 -0
  245. package/dist/esm/components/flows-actors/execution-usage.js +189 -0
  246. package/dist/esm/components/flows-actors/execution-usage.js.map +1 -0
  247. package/dist/esm/components/flows-actors/execution-usage.labels.d.ts +3 -0
  248. package/dist/esm/components/flows-actors/execution-usage.labels.d.ts.map +1 -0
  249. package/dist/esm/components/flows-actors/execution-usage.labels.js +27 -0
  250. package/dist/esm/components/flows-actors/execution-usage.labels.js.map +1 -0
  251. package/dist/esm/components/flows-actors/flow-execution.d.ts +23 -6
  252. package/dist/esm/components/flows-actors/flow-execution.d.ts.map +1 -1
  253. package/dist/esm/components/flows-actors/flow-execution.js +56 -208
  254. package/dist/esm/components/flows-actors/flow-execution.js.map +1 -1
  255. package/dist/esm/components/flows-actors/flow-execution.labels.d.ts.map +1 -1
  256. package/dist/esm/components/flows-actors/flow-execution.labels.js +3 -10
  257. package/dist/esm/components/flows-actors/flow-execution.labels.js.map +1 -1
  258. package/dist/esm/components/flows-actors/flow-node-badges.d.ts +54 -21
  259. package/dist/esm/components/flows-actors/flow-node-badges.d.ts.map +1 -1
  260. package/dist/esm/components/flows-actors/flow-node-badges.js +80 -6
  261. package/dist/esm/components/flows-actors/flow-node-badges.js.map +1 -1
  262. package/dist/esm/components/flows-actors/flow-node.labels.d.ts.map +1 -1
  263. package/dist/esm/components/flows-actors/flow-node.labels.js +0 -8
  264. package/dist/esm/components/flows-actors/flow-node.labels.js.map +1 -1
  265. package/dist/esm/components/flows-actors/flow-step-visuals.d.ts +31 -0
  266. package/dist/esm/components/flows-actors/flow-step-visuals.d.ts.map +1 -0
  267. package/dist/esm/components/flows-actors/flow-step-visuals.js +98 -0
  268. package/dist/esm/components/flows-actors/flow-step-visuals.js.map +1 -0
  269. package/dist/esm/components/flows-actors/flows-actors-graph-runtime.d.ts +18 -19
  270. package/dist/esm/components/flows-actors/flows-actors-graph-runtime.d.ts.map +1 -1
  271. package/dist/esm/components/flows-actors/flows-actors-graph-runtime.js +18 -19
  272. package/dist/esm/components/flows-actors/flows-actors-graph-runtime.js.map +1 -1
  273. package/dist/esm/components/flows-actors/flows-actors-graph.lazy.d.ts +27 -42
  274. package/dist/esm/components/flows-actors/flows-actors-graph.lazy.d.ts.map +1 -1
  275. package/dist/esm/components/flows-actors/flows-actors-graph.lazy.js +28 -43
  276. package/dist/esm/components/flows-actors/flows-actors-graph.lazy.js.map +1 -1
  277. package/dist/esm/components/flows-actors/flows-actors-ui.utils.d.ts +15 -10
  278. package/dist/esm/components/flows-actors/flows-actors-ui.utils.d.ts.map +1 -1
  279. package/dist/esm/components/flows-actors/flows-actors-ui.utils.js +16 -42
  280. package/dist/esm/components/flows-actors/flows-actors-ui.utils.js.map +1 -1
  281. package/dist/esm/components/flows-actors/graph-viewer.d.ts +112 -0
  282. package/dist/esm/components/flows-actors/graph-viewer.d.ts.map +1 -0
  283. package/dist/esm/components/flows-actors/graph-viewer.js +431 -0
  284. package/dist/esm/components/flows-actors/graph-viewer.js.map +1 -0
  285. package/dist/esm/components/flows-actors/graph-viewer.labels.d.ts +3 -0
  286. package/dist/esm/components/flows-actors/graph-viewer.labels.d.ts.map +1 -0
  287. package/dist/esm/components/flows-actors/graph-viewer.labels.js +67 -0
  288. package/dist/esm/components/flows-actors/graph-viewer.labels.js.map +1 -0
  289. package/dist/esm/components/flows-actors/graph-viewer.models.d.ts +16 -0
  290. package/dist/esm/components/flows-actors/graph-viewer.models.d.ts.map +1 -0
  291. package/dist/esm/components/flows-actors/graph-viewer.models.js +18 -0
  292. package/dist/esm/components/flows-actors/graph-viewer.models.js.map +1 -0
  293. package/dist/esm/components/flows-actors/human-decision-form.d.ts +57 -0
  294. package/dist/esm/components/flows-actors/human-decision-form.d.ts.map +1 -0
  295. package/dist/esm/components/flows-actors/human-decision-form.js +128 -0
  296. package/dist/esm/components/flows-actors/human-decision-form.js.map +1 -0
  297. package/dist/esm/components/flows-actors/system-catalog.d.ts +6 -1
  298. package/dist/esm/components/flows-actors/system-catalog.d.ts.map +1 -1
  299. package/dist/esm/components/flows-actors/system-catalog.js +22 -20
  300. package/dist/esm/components/flows-actors/system-catalog.js.map +1 -1
  301. package/dist/esm/components/flows-actors/system-catalog.labels.d.ts.map +1 -1
  302. package/dist/esm/components/flows-actors/system-catalog.labels.js +3 -2
  303. package/dist/esm/components/flows-actors/system-catalog.labels.js.map +1 -1
  304. package/dist/esm/components/flows-actors/task-detail.d.ts +17 -3
  305. package/dist/esm/components/flows-actors/task-detail.d.ts.map +1 -1
  306. package/dist/esm/components/flows-actors/task-detail.js +32 -25
  307. package/dist/esm/components/flows-actors/task-detail.js.map +1 -1
  308. package/dist/esm/components/flows-actors/task-memory.d.ts.map +1 -1
  309. package/dist/esm/components/flows-actors/task-memory.js +3 -2
  310. package/dist/esm/components/flows-actors/task-memory.js.map +1 -1
  311. package/dist/esm/components/form/Form.d.ts +2 -0
  312. package/dist/esm/components/form/Form.d.ts.map +1 -1
  313. package/dist/esm/components/form/Form.js +4 -0
  314. package/dist/esm/components/form/Form.js.map +1 -1
  315. package/dist/esm/components/form/automated/AutomatedArrayField.d.ts +16 -1
  316. package/dist/esm/components/form/automated/AutomatedArrayField.d.ts.map +1 -1
  317. package/dist/esm/components/form/automated/AutomatedArrayField.js +101 -21
  318. package/dist/esm/components/form/automated/AutomatedArrayField.js.map +1 -1
  319. package/dist/esm/components/form/automated/AutomatedForm.d.ts +19 -2
  320. package/dist/esm/components/form/automated/AutomatedForm.d.ts.map +1 -1
  321. package/dist/esm/components/form/automated/AutomatedForm.js +40 -6
  322. package/dist/esm/components/form/automated/AutomatedForm.js.map +1 -1
  323. package/dist/esm/components/form/automated/AutosaveContext.d.ts +22 -1
  324. package/dist/esm/components/form/automated/AutosaveContext.d.ts.map +1 -1
  325. package/dist/esm/components/form/automated/AutosaveContext.js +53 -0
  326. package/dist/esm/components/form/automated/AutosaveContext.js.map +1 -1
  327. package/dist/esm/components/form/automated/FormField.d.ts +1 -1
  328. package/dist/esm/components/form/automated/FormField.d.ts.map +1 -1
  329. package/dist/esm/components/form/automated/FormField.js +127 -53
  330. package/dist/esm/components/form/automated/FormField.js.map +1 -1
  331. package/dist/esm/components/form/automated/FormFieldComposite.d.ts.map +1 -1
  332. package/dist/esm/components/form/automated/FormFieldComposite.js +12 -10
  333. package/dist/esm/components/form/automated/FormFieldComposite.js.map +1 -1
  334. package/dist/esm/components/form/automated/FormFieldRecord.d.ts.map +1 -1
  335. package/dist/esm/components/form/automated/FormFieldRecord.js +16 -7
  336. package/dist/esm/components/form/automated/FormFieldRecord.js.map +1 -1
  337. package/dist/esm/components/form/automated/FormTemplateContext.d.ts +27 -0
  338. package/dist/esm/components/form/automated/FormTemplateContext.d.ts.map +1 -1
  339. package/dist/esm/components/form/automated/FormTemplateContext.js +0 -48
  340. package/dist/esm/components/form/automated/FormTemplateContext.js.map +1 -1
  341. package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts +4 -3
  342. package/dist/esm/components/form/automated/ResourceAutomatedForm.d.ts.map +1 -1
  343. package/dist/esm/components/form/automated/ResourceAutomatedForm.js +616 -149
  344. package/dist/esm/components/form/automated/ResourceAutomatedForm.js.map +1 -1
  345. package/dist/esm/components/form/automated/automated-form-submit.utils.d.ts +105 -5
  346. package/dist/esm/components/form/automated/automated-form-submit.utils.d.ts.map +1 -1
  347. package/dist/esm/components/form/automated/automated-form-submit.utils.js +225 -6
  348. package/dist/esm/components/form/automated/automated-form-submit.utils.js.map +1 -1
  349. package/dist/esm/components/form/automated/bulk-field-clear-context.d.ts +59 -0
  350. package/dist/esm/components/form/automated/bulk-field-clear-context.d.ts.map +1 -0
  351. package/dist/esm/components/form/automated/bulk-field-clear-context.js +77 -0
  352. package/dist/esm/components/form/automated/bulk-field-clear-context.js.map +1 -0
  353. package/dist/esm/components/form/automated/generated-relationship-field.hooks.d.ts +1 -1
  354. package/dist/esm/components/form/automated/unplaced-request-fields.context.d.ts +19 -0
  355. package/dist/esm/components/form/automated/unplaced-request-fields.context.d.ts.map +1 -0
  356. package/dist/esm/components/form/automated/unplaced-request-fields.context.js +13 -0
  357. package/dist/esm/components/form/automated/unplaced-request-fields.context.js.map +1 -0
  358. package/dist/esm/components/form/automated/useArrayItemAutosaveField.d.ts +7 -0
  359. package/dist/esm/components/form/automated/useArrayItemAutosaveField.d.ts.map +1 -1
  360. package/dist/esm/components/form/automated/useArrayItemAutosaveField.js +10 -2
  361. package/dist/esm/components/form/automated/useArrayItemAutosaveField.js.map +1 -1
  362. package/dist/esm/components/form/automated/useReferenceRecordLabels.d.ts +16 -0
  363. package/dist/esm/components/form/automated/useReferenceRecordLabels.d.ts.map +1 -0
  364. package/dist/esm/components/form/automated/useReferenceRecordLabels.js +66 -0
  365. package/dist/esm/components/form/automated/useReferenceRecordLabels.js.map +1 -0
  366. package/dist/esm/components/form/automated/useRequestFieldOffer.d.ts +18 -0
  367. package/dist/esm/components/form/automated/useRequestFieldOffer.d.ts.map +1 -0
  368. package/dist/esm/components/form/automated/useRequestFieldOffer.js +107 -0
  369. package/dist/esm/components/form/automated/useRequestFieldOffer.js.map +1 -0
  370. package/dist/esm/components/form/chromes/FormFieldChrome.d.ts +7 -1
  371. package/dist/esm/components/form/chromes/FormFieldChrome.d.ts.map +1 -1
  372. package/dist/esm/components/form/chromes/FormFieldChrome.js +6 -3
  373. package/dist/esm/components/form/chromes/FormFieldChrome.js.map +1 -1
  374. package/dist/esm/components/form/controls/date-time/date-range-picker.d.ts +11 -0
  375. package/dist/esm/components/form/controls/date-time/date-range-picker.d.ts.map +1 -1
  376. package/dist/esm/components/form/controls/date-time/date-range-picker.js.map +1 -1
  377. package/dist/esm/components/form/controls/date-time/datepicker.d.ts +21 -0
  378. package/dist/esm/components/form/controls/date-time/datepicker.d.ts.map +1 -1
  379. package/dist/esm/components/form/controls/date-time/datepicker.js.map +1 -1
  380. package/dist/esm/components/form/controls/date-time/datetime-picker.d.ts +9 -0
  381. package/dist/esm/components/form/controls/date-time/datetime-picker.d.ts.map +1 -1
  382. package/dist/esm/components/form/controls/date-time/datetime-picker.js.map +1 -1
  383. package/dist/esm/components/form/controls/date-time/datetime-range-picker.d.ts +9 -0
  384. package/dist/esm/components/form/controls/date-time/datetime-range-picker.d.ts.map +1 -1
  385. package/dist/esm/components/form/controls/date-time/datetime-range-picker.js.map +1 -1
  386. package/dist/esm/components/form/controls/date-time/time-range-picker.d.ts +1 -0
  387. package/dist/esm/components/form/controls/date-time/time-range-picker.d.ts.map +1 -1
  388. package/dist/esm/components/form/controls/date-time/time-range-picker.js.map +1 -1
  389. package/dist/esm/components/form/controls/enum/radio.d.ts +10 -0
  390. package/dist/esm/components/form/controls/enum/radio.d.ts.map +1 -1
  391. package/dist/esm/components/form/controls/enum/radio.js.map +1 -1
  392. package/dist/esm/components/form/controls/enum/toggle-group.d.ts +14 -10
  393. package/dist/esm/components/form/controls/enum/toggle-group.d.ts.map +1 -1
  394. package/dist/esm/components/form/controls/enum/toggle-group.js +14 -6
  395. package/dist/esm/components/form/controls/enum/toggle-group.js.map +1 -1
  396. package/dist/esm/components/form/controls/form-field-checkbox-group.d.ts.map +1 -1
  397. package/dist/esm/components/form/controls/form-field-checkbox-group.js +7 -3
  398. package/dist/esm/components/form/controls/form-field-checkbox-group.js.map +1 -1
  399. package/dist/esm/components/form/controls/string/chips-input.d.ts +65 -0
  400. package/dist/esm/components/form/controls/string/chips-input.d.ts.map +1 -0
  401. package/dist/esm/components/form/controls/string/chips-input.js +9 -0
  402. package/dist/esm/components/form/controls/string/chips-input.js.map +1 -0
  403. package/dist/esm/components/form/fields/form-field-address.d.ts.map +1 -1
  404. package/dist/esm/components/form/fields/form-field-address.js +7 -5
  405. package/dist/esm/components/form/fields/form-field-address.js.map +1 -1
  406. package/dist/esm/components/form/fields/form-field-address.labels.js +1 -1
  407. package/dist/esm/components/form/fields/form-field-address.labels.js.map +1 -1
  408. package/dist/esm/components/form/fields/form-field-bigdecimal.js +2 -2
  409. package/dist/esm/components/form/fields/form-field-bigdecimal.js.map +1 -1
  410. package/dist/esm/components/form/fields/form-field-boolean.js +2 -2
  411. package/dist/esm/components/form/fields/form-field-boolean.js.map +1 -1
  412. package/dist/esm/components/form/fields/form-field-code.labels.js +1 -1
  413. package/dist/esm/components/form/fields/form-field-code.labels.js.map +1 -1
  414. package/dist/esm/components/form/fields/form-field-date.d.ts.map +1 -1
  415. package/dist/esm/components/form/fields/form-field-date.js +16 -11
  416. package/dist/esm/components/form/fields/form-field-date.js.map +1 -1
  417. package/dist/esm/components/form/fields/form-field-datetime.d.ts.map +1 -1
  418. package/dist/esm/components/form/fields/form-field-datetime.js +10 -5
  419. package/dist/esm/components/form/fields/form-field-datetime.js.map +1 -1
  420. package/dist/esm/components/form/fields/form-field-duration.d.ts.map +1 -1
  421. package/dist/esm/components/form/fields/form-field-duration.js +5 -7
  422. package/dist/esm/components/form/fields/form-field-duration.js.map +1 -1
  423. package/dist/esm/components/form/fields/form-field-duration.labels.d.ts.map +1 -1
  424. package/dist/esm/components/form/fields/form-field-duration.labels.js +8 -2
  425. package/dist/esm/components/form/fields/form-field-duration.labels.js.map +1 -1
  426. package/dist/esm/components/form/fields/form-field-enum.d.ts.map +1 -1
  427. package/dist/esm/components/form/fields/form-field-enum.js +31 -31
  428. package/dist/esm/components/form/fields/form-field-enum.js.map +1 -1
  429. package/dist/esm/components/form/fields/form-field-file.d.ts.map +1 -1
  430. package/dist/esm/components/form/fields/form-field-file.js +13 -12
  431. package/dist/esm/components/form/fields/form-field-file.js.map +1 -1
  432. package/dist/esm/components/form/fields/form-field-file.labels.js +6 -6
  433. package/dist/esm/components/form/fields/form-field-file.labels.js.map +1 -1
  434. package/dist/esm/components/form/fields/form-field-money.d.ts.map +1 -1
  435. package/dist/esm/components/form/fields/form-field-money.js +5 -4
  436. package/dist/esm/components/form/fields/form-field-money.js.map +1 -1
  437. package/dist/esm/components/form/fields/form-field-money.labels.d.ts.map +1 -1
  438. package/dist/esm/components/form/fields/form-field-money.labels.js +8 -2
  439. package/dist/esm/components/form/fields/form-field-money.labels.js.map +1 -1
  440. package/dist/esm/components/form/fields/form-field-number.js +2 -2
  441. package/dist/esm/components/form/fields/form-field-number.js.map +1 -1
  442. package/dist/esm/components/form/fields/form-field-range-bigdecimal.js +2 -2
  443. package/dist/esm/components/form/fields/form-field-range-bigdecimal.js.map +1 -1
  444. package/dist/esm/components/form/fields/form-field-range-date.d.ts.map +1 -1
  445. package/dist/esm/components/form/fields/form-field-range-date.js +7 -2
  446. package/dist/esm/components/form/fields/form-field-range-date.js.map +1 -1
  447. package/dist/esm/components/form/fields/form-field-range-datetime.d.ts.map +1 -1
  448. package/dist/esm/components/form/fields/form-field-range-datetime.js +5 -2
  449. package/dist/esm/components/form/fields/form-field-range-datetime.js.map +1 -1
  450. package/dist/esm/components/form/fields/form-field-range-money.d.ts.map +1 -1
  451. package/dist/esm/components/form/fields/form-field-range-money.js +6 -19
  452. package/dist/esm/components/form/fields/form-field-range-money.js.map +1 -1
  453. package/dist/esm/components/form/fields/form-field-range-money.labels.d.ts.map +1 -1
  454. package/dist/esm/components/form/fields/form-field-range-money.labels.js +8 -2
  455. package/dist/esm/components/form/fields/form-field-range-money.labels.js.map +1 -1
  456. package/dist/esm/components/form/fields/form-field-range-number.js +2 -2
  457. package/dist/esm/components/form/fields/form-field-range-number.js.map +1 -1
  458. package/dist/esm/components/form/fields/form-field-range-time.js +2 -2
  459. package/dist/esm/components/form/fields/form-field-range-time.js.map +1 -1
  460. package/dist/esm/components/form/fields/form-field-resource-reference.d.ts +56 -0
  461. package/dist/esm/components/form/fields/form-field-resource-reference.d.ts.map +1 -0
  462. package/dist/esm/components/form/fields/form-field-resource-reference.js +51 -0
  463. package/dist/esm/components/form/fields/form-field-resource-reference.js.map +1 -0
  464. package/dist/esm/components/form/fields/form-field-string-organization-role.d.ts +36 -6
  465. package/dist/esm/components/form/fields/form-field-string-organization-role.d.ts.map +1 -1
  466. package/dist/esm/components/form/fields/form-field-string-organization-role.js +30 -11
  467. package/dist/esm/components/form/fields/form-field-string-organization-role.js.map +1 -1
  468. package/dist/esm/components/form/fields/form-field-string.d.ts +5 -0
  469. package/dist/esm/components/form/fields/form-field-string.d.ts.map +1 -1
  470. package/dist/esm/components/form/fields/form-field-string.js +9 -7
  471. package/dist/esm/components/form/fields/form-field-string.js.map +1 -1
  472. package/dist/esm/components/form/fields/form-field-time.d.ts.map +1 -1
  473. package/dist/esm/components/form/fields/form-field-time.js +6 -3
  474. package/dist/esm/components/form/fields/form-field-time.js.map +1 -1
  475. package/dist/esm/components/form/fields/themed-native-select.d.ts +29 -0
  476. package/dist/esm/components/form/fields/themed-native-select.d.ts.map +1 -0
  477. package/dist/esm/components/form/fields/themed-native-select.js +36 -0
  478. package/dist/esm/components/form/fields/themed-native-select.js.map +1 -0
  479. package/dist/esm/components/form/form-context.d.ts +11 -0
  480. package/dist/esm/components/form/form-context.d.ts.map +1 -1
  481. package/dist/esm/components/form/form-context.js +11 -0
  482. package/dist/esm/components/form/form-context.js.map +1 -1
  483. package/dist/esm/components/form/form-context.utils.d.ts +2 -0
  484. package/dist/esm/components/form/form-context.utils.d.ts.map +1 -1
  485. package/dist/esm/components/form/form-context.utils.js +6 -2
  486. package/dist/esm/components/form/form-context.utils.js.map +1 -1
  487. package/dist/esm/components/form/validation-errors/FormErrorSummary.d.ts.map +1 -1
  488. package/dist/esm/components/form/validation-errors/FormErrorSummary.js +17 -15
  489. package/dist/esm/components/form/validation-errors/FormErrorSummary.js.map +1 -1
  490. package/dist/esm/components/form/validation-errors/field-reveal.d.ts +41 -0
  491. package/dist/esm/components/form/validation-errors/field-reveal.d.ts.map +1 -0
  492. package/dist/esm/components/form/validation-errors/field-reveal.js +108 -0
  493. package/dist/esm/components/form/validation-errors/field-reveal.js.map +1 -0
  494. package/dist/esm/components/form/validation-errors/form-level-error-recheck.d.ts +3 -0
  495. package/dist/esm/components/form/validation-errors/form-level-error-recheck.d.ts.map +1 -0
  496. package/dist/esm/components/form/validation-errors/form-level-error-recheck.js +37 -0
  497. package/dist/esm/components/form/validation-errors/form-level-error-recheck.js.map +1 -0
  498. package/dist/esm/components/form/validation-errors/getFieldError.d.ts +6 -0
  499. package/dist/esm/components/form/validation-errors/getFieldError.d.ts.map +1 -1
  500. package/dist/esm/components/form/validation-errors/getFieldError.js +9 -2
  501. package/dist/esm/components/form/validation-errors/getFieldError.js.map +1 -1
  502. package/dist/esm/components/form/validation-errors/scroll-to-first-error.utils.d.ts +8 -1
  503. package/dist/esm/components/form/validation-errors/scroll-to-first-error.utils.d.ts.map +1 -1
  504. package/dist/esm/components/form/validation-errors/scroll-to-first-error.utils.js +46 -3
  505. package/dist/esm/components/form/validation-errors/scroll-to-first-error.utils.js.map +1 -1
  506. package/dist/esm/components/form/validation-errors/useServerErrorInjection.d.ts.map +1 -1
  507. package/dist/esm/components/form/validation-errors/useServerErrorInjection.js +8 -3
  508. package/dist/esm/components/form/validation-errors/useServerErrorInjection.js.map +1 -1
  509. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts +32 -0
  510. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.d.ts.map +1 -0
  511. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js +60 -0
  512. package/dist/esm/components/form/validation-errors/validate-fields-and-show-errors.js.map +1 -0
  513. package/dist/esm/components/form/validation-errors/zod-issue-resolver.d.ts +10 -0
  514. package/dist/esm/components/form/validation-errors/zod-issue-resolver.d.ts.map +1 -1
  515. package/dist/esm/components/form/validation-errors/zod-issue-resolver.js +12 -3
  516. package/dist/esm/components/form/validation-errors/zod-issue-resolver.js.map +1 -1
  517. package/dist/esm/components/navigation/app-level/ApplicationLevel_QuickActionButton.d.ts +7 -0
  518. package/dist/esm/components/navigation/app-level/ApplicationLevel_QuickActionButton.d.ts.map +1 -1
  519. package/dist/esm/components/navigation/app-level/ApplicationLevel_QuickActionButton.js.map +1 -1
  520. package/dist/esm/components/navigation/app-level/ApplicationLevel_UtilityPanel.d.ts +6 -0
  521. package/dist/esm/components/navigation/app-level/ApplicationLevel_UtilityPanel.d.ts.map +1 -1
  522. package/dist/esm/components/navigation/app-level/ApplicationLevel_UtilityPanel.js.map +1 -1
  523. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.d.ts.map +1 -1
  524. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js +11 -28
  525. package/dist/esm/components/navigation/app-level/SidebarResourceBrowser.js.map +1 -1
  526. package/dist/esm/components/navigation/app-level/engine-launcher-entries.d.ts +46 -0
  527. package/dist/esm/components/navigation/app-level/engine-launcher-entries.d.ts.map +1 -0
  528. package/dist/esm/components/navigation/app-level/engine-launcher-entries.js +165 -0
  529. package/dist/esm/components/navigation/app-level/engine-launcher-entries.js.map +1 -0
  530. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.d.ts.map +1 -1
  531. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js +8 -3
  532. package/dist/esm/components/navigation/app-level/useCommandMenuBehavior.js.map +1 -1
  533. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.d.ts.map +1 -1
  534. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js +41 -20
  535. package/dist/esm/components/navigation/app-level/useMenuUserOrgBehavior.js.map +1 -1
  536. package/dist/esm/components/navigation/app-level/useNavigationBehaviors.d.ts +1 -2
  537. package/dist/esm/components/navigation/app-level/useNavigationBehaviors.d.ts.map +1 -1
  538. package/dist/esm/components/navigation/app-level/useNavigationBehaviors.js +1 -15
  539. package/dist/esm/components/navigation/app-level/useNavigationBehaviors.js.map +1 -1
  540. package/dist/esm/components/navigation/app-level/useOwnOrganizationSearch.d.ts +32 -0
  541. package/dist/esm/components/navigation/app-level/useOwnOrganizationSearch.d.ts.map +1 -0
  542. package/dist/esm/components/navigation/app-level/useOwnOrganizationSearch.js +91 -0
  543. package/dist/esm/components/navigation/app-level/useOwnOrganizationSearch.js.map +1 -0
  544. package/dist/esm/components/navigation/app-level/useQuickSwitcherBehavior.d.ts.map +1 -1
  545. package/dist/esm/components/navigation/app-level/useQuickSwitcherBehavior.js +3 -1
  546. package/dist/esm/components/navigation/app-level/useQuickSwitcherBehavior.js.map +1 -1
  547. package/dist/esm/components/navigation/app-level/useSidebarBehavior.d.ts +18 -1
  548. package/dist/esm/components/navigation/app-level/useSidebarBehavior.d.ts.map +1 -1
  549. package/dist/esm/components/navigation/app-level/useSidebarBehavior.js +66 -9
  550. package/dist/esm/components/navigation/app-level/useSidebarBehavior.js.map +1 -1
  551. package/dist/esm/components/navigation/app-level/useUtilityPanelBehavior.d.ts +15 -10
  552. package/dist/esm/components/navigation/app-level/useUtilityPanelBehavior.d.ts.map +1 -1
  553. package/dist/esm/components/navigation/app-level/useUtilityPanelBehavior.js +89 -12
  554. package/dist/esm/components/navigation/app-level/useUtilityPanelBehavior.js.map +1 -1
  555. package/dist/esm/components/progression/ProgressionMilestoneTracker.labels.js +2 -2
  556. package/dist/esm/components/progression/ProgressionMilestoneTracker.labels.js.map +1 -1
  557. package/dist/esm/components/resources/CollectionSelectAllCheckbox.d.ts +39 -0
  558. package/dist/esm/components/resources/CollectionSelectAllCheckbox.d.ts.map +1 -0
  559. package/dist/esm/components/resources/CollectionSelectAllCheckbox.js +21 -0
  560. package/dist/esm/components/resources/CollectionSelectAllCheckbox.js.map +1 -0
  561. package/dist/esm/components/resources/CollectionSelectionControls.d.ts +4 -3
  562. package/dist/esm/components/resources/CollectionSelectionControls.d.ts.map +1 -1
  563. package/dist/esm/components/resources/CollectionSelectionControls.js.map +1 -1
  564. package/dist/esm/components/resources/ResourceCollectionBody_Table.d.ts +7 -2
  565. package/dist/esm/components/resources/ResourceCollectionBody_Table.d.ts.map +1 -1
  566. package/dist/esm/components/resources/ResourceCollectionBody_Table.js +38 -14
  567. package/dist/esm/components/resources/ResourceCollectionBody_Table.js.map +1 -1
  568. package/dist/esm/components/resources/ResourceCollectionFilterPresets.d.ts +4 -4
  569. package/dist/esm/components/resources/ResourceCollectionFilterPresets.d.ts.map +1 -1
  570. package/dist/esm/components/resources/ResourceCollectionFilterPresets.js +20 -13
  571. package/dist/esm/components/resources/ResourceCollectionFilterPresets.js.map +1 -1
  572. package/dist/esm/components/resources/ResourceCollectionQuickFilterTabs.d.ts +4 -3
  573. package/dist/esm/components/resources/ResourceCollectionQuickFilterTabs.d.ts.map +1 -1
  574. package/dist/esm/components/resources/ResourceCollectionQuickFilterTabs.js +40 -6
  575. package/dist/esm/components/resources/ResourceCollectionQuickFilterTabs.js.map +1 -1
  576. package/dist/esm/components/resources/ResourceCollectionToolbar.d.ts +65 -23
  577. package/dist/esm/components/resources/ResourceCollectionToolbar.d.ts.map +1 -1
  578. package/dist/esm/components/resources/ResourceCollectionToolbar.js +73 -10
  579. package/dist/esm/components/resources/ResourceCollectionToolbar.js.map +1 -1
  580. package/dist/esm/components/resources/ResourceLayout_Action.labels.d.ts.map +1 -1
  581. package/dist/esm/components/resources/ResourceLayout_Action.labels.js +5 -0
  582. package/dist/esm/components/resources/ResourceLayout_Action.labels.js.map +1 -1
  583. package/dist/esm/components/resources/ResourceLayout_Breadcrumb.d.ts +18 -0
  584. package/dist/esm/components/resources/ResourceLayout_Breadcrumb.d.ts.map +1 -1
  585. package/dist/esm/components/resources/ResourceLayout_Breadcrumb.js +57 -48
  586. package/dist/esm/components/resources/ResourceLayout_Breadcrumb.js.map +1 -1
  587. package/dist/esm/components/resources/ResourceLayout_CollectionActions.d.ts +1 -1
  588. package/dist/esm/components/resources/ResourceLayout_CollectionActions.d.ts.map +1 -1
  589. package/dist/esm/components/resources/ResourceLayout_CollectionActions.js +1 -1
  590. package/dist/esm/components/resources/ResourceLayout_CollectionActions.js.map +1 -1
  591. package/dist/esm/components/resources/ResourceLayout_ContainerNested.d.ts.map +1 -1
  592. package/dist/esm/components/resources/ResourceLayout_ContainerNested.js +7 -1
  593. package/dist/esm/components/resources/ResourceLayout_ContainerNested.js.map +1 -1
  594. package/dist/esm/components/resources/ResourceLayout_Create.d.ts.map +1 -1
  595. package/dist/esm/components/resources/ResourceLayout_Create.js +3 -4
  596. package/dist/esm/components/resources/ResourceLayout_Create.js.map +1 -1
  597. package/dist/esm/components/resources/ResourceLayout_Create.labels.d.ts.map +1 -1
  598. package/dist/esm/components/resources/ResourceLayout_Create.labels.js +10 -0
  599. package/dist/esm/components/resources/ResourceLayout_Create.labels.js.map +1 -1
  600. package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts +5 -3
  601. package/dist/esm/components/resources/ResourceLayout_DangerZone.d.ts.map +1 -1
  602. package/dist/esm/components/resources/ResourceLayout_DangerZone.js +4 -3
  603. package/dist/esm/components/resources/ResourceLayout_DangerZone.js.map +1 -1
  604. package/dist/esm/components/resources/ResourceLayout_FilterChips.d.ts +8 -1
  605. package/dist/esm/components/resources/ResourceLayout_FilterChips.d.ts.map +1 -1
  606. package/dist/esm/components/resources/ResourceLayout_FilterChips.js +83 -11
  607. package/dist/esm/components/resources/ResourceLayout_FilterChips.js.map +1 -1
  608. package/dist/esm/components/resources/ResourceLayout_Filters.labels.js +1 -1
  609. package/dist/esm/components/resources/ResourceLayout_Filters.labels.js.map +1 -1
  610. package/dist/esm/components/resources/ResourceLayout_FiltersControl.d.ts +5 -8
  611. package/dist/esm/components/resources/ResourceLayout_FiltersControl.d.ts.map +1 -1
  612. package/dist/esm/components/resources/ResourceLayout_FiltersControl.js +68 -19
  613. package/dist/esm/components/resources/ResourceLayout_FiltersControl.js.map +1 -1
  614. package/dist/esm/components/resources/ResourceLayout_Header.d.ts.map +1 -1
  615. package/dist/esm/components/resources/ResourceLayout_Header.js +150 -44
  616. package/dist/esm/components/resources/ResourceLayout_Header.js.map +1 -1
  617. package/dist/esm/components/resources/ResourceLayout_InsertedViews.d.ts.map +1 -1
  618. package/dist/esm/components/resources/ResourceLayout_InsertedViews.js +62 -40
  619. package/dist/esm/components/resources/ResourceLayout_InsertedViews.js.map +1 -1
  620. package/dist/esm/components/resources/ResourceLayout_List.d.ts.map +1 -1
  621. package/dist/esm/components/resources/ResourceLayout_List.js +68 -70
  622. package/dist/esm/components/resources/ResourceLayout_List.js.map +1 -1
  623. package/dist/esm/components/resources/ResourceLayout_List.labels.d.ts.map +1 -1
  624. package/dist/esm/components/resources/ResourceLayout_List.labels.js +4 -10
  625. package/dist/esm/components/resources/ResourceLayout_List.labels.js.map +1 -1
  626. package/dist/esm/components/resources/ResourceLayout_OperationBulk.d.ts +8 -9
  627. package/dist/esm/components/resources/ResourceLayout_OperationBulk.d.ts.map +1 -1
  628. package/dist/esm/components/resources/ResourceLayout_OperationBulk.js +67 -25
  629. package/dist/esm/components/resources/ResourceLayout_OperationBulk.js.map +1 -1
  630. package/dist/esm/components/resources/ResourceLayout_OperationBulk.labels.js +8 -8
  631. package/dist/esm/components/resources/ResourceLayout_OperationBulk.labels.js.map +1 -1
  632. package/dist/esm/components/resources/ResourceLayout_OperationsItems.d.ts +8 -2
  633. package/dist/esm/components/resources/ResourceLayout_OperationsItems.d.ts.map +1 -1
  634. package/dist/esm/components/resources/ResourceLayout_OperationsItems.js +12 -7
  635. package/dist/esm/components/resources/ResourceLayout_OperationsItems.js.map +1 -1
  636. package/dist/esm/components/resources/ResourceLayout_OperationsItems.labels.d.ts.map +1 -1
  637. package/dist/esm/components/resources/ResourceLayout_OperationsItems.labels.js +11 -6
  638. package/dist/esm/components/resources/ResourceLayout_OperationsItems.labels.js.map +1 -1
  639. package/dist/esm/components/resources/ResourceLayout_Read.d.ts +2 -0
  640. package/dist/esm/components/resources/ResourceLayout_Read.d.ts.map +1 -1
  641. package/dist/esm/components/resources/ResourceLayout_Read.js +23 -5
  642. package/dist/esm/components/resources/ResourceLayout_Read.js.map +1 -1
  643. package/dist/esm/components/resources/ResourceLayout_ReadSummary.d.ts.map +1 -1
  644. package/dist/esm/components/resources/ResourceLayout_ReadSummary.js +5 -3
  645. package/dist/esm/components/resources/ResourceLayout_ReadSummary.js.map +1 -1
  646. package/dist/esm/components/resources/ResourceLayout_ReadSummary_TableRow.d.ts.map +1 -1
  647. package/dist/esm/components/resources/ResourceLayout_ReadSummary_TableRow.js +18 -7
  648. package/dist/esm/components/resources/ResourceLayout_ReadSummary_TableRow.js.map +1 -1
  649. package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts +56 -0
  650. package/dist/esm/components/resources/ResourceLayout_RecordSharing.d.ts.map +1 -0
  651. package/dist/esm/components/resources/ResourceLayout_RecordSharing.js +184 -0
  652. package/dist/esm/components/resources/ResourceLayout_RecordSharing.js.map +1 -0
  653. package/dist/esm/components/resources/ResourceLayout_RecordSharing.labels.d.ts +3 -0
  654. package/dist/esm/components/resources/ResourceLayout_RecordSharing.labels.d.ts.map +1 -0
  655. package/dist/esm/components/resources/ResourceLayout_RecordSharing.labels.js +106 -0
  656. package/dist/esm/components/resources/ResourceLayout_RecordSharing.labels.js.map +1 -0
  657. package/dist/esm/components/resources/ResourceLayout_Search.d.ts.map +1 -1
  658. package/dist/esm/components/resources/ResourceLayout_Search.js +55 -42
  659. package/dist/esm/components/resources/ResourceLayout_Search.js.map +1 -1
  660. package/dist/esm/components/resources/ResourceLayout_Search.labels.d.ts.map +1 -1
  661. package/dist/esm/components/resources/ResourceLayout_Search.labels.js +0 -6
  662. package/dist/esm/components/resources/ResourceLayout_Search.labels.js.map +1 -1
  663. package/dist/esm/components/resources/ResourceLayout_SemanticOperationFallback.d.ts +8 -0
  664. package/dist/esm/components/resources/ResourceLayout_SemanticOperationFallback.d.ts.map +1 -1
  665. package/dist/esm/components/resources/ResourceLayout_SemanticOperationFallback.js +2 -3
  666. package/dist/esm/components/resources/ResourceLayout_SemanticOperationFallback.js.map +1 -1
  667. package/dist/esm/components/resources/ResourceLayout_SortControl.d.ts.map +1 -1
  668. package/dist/esm/components/resources/ResourceLayout_SortControl.js +3 -2
  669. package/dist/esm/components/resources/ResourceLayout_SortControl.js.map +1 -1
  670. package/dist/esm/components/resources/ResourceListItemRenderer.d.ts +29 -5
  671. package/dist/esm/components/resources/ResourceListItemRenderer.d.ts.map +1 -1
  672. package/dist/esm/components/resources/ResourceListItemRenderer.js +123 -41
  673. package/dist/esm/components/resources/ResourceListItemRenderer.js.map +1 -1
  674. package/dist/esm/components/resources/ResourceViewModeToggle.d.ts +6 -1
  675. package/dist/esm/components/resources/ResourceViewModeToggle.d.ts.map +1 -1
  676. package/dist/esm/components/resources/ResourceViewModeToggle.js +9 -7
  677. package/dist/esm/components/resources/ResourceViewModeToggle.js.map +1 -1
  678. package/dist/esm/components/resources/collection-card-layout.utils.d.ts +37 -15
  679. package/dist/esm/components/resources/collection-card-layout.utils.d.ts.map +1 -1
  680. package/dist/esm/components/resources/collection-card-layout.utils.js +37 -15
  681. package/dist/esm/components/resources/collection-card-layout.utils.js.map +1 -1
  682. package/dist/esm/components/resources/collection-selection-bar-density.d.ts +113 -0
  683. package/dist/esm/components/resources/collection-selection-bar-density.d.ts.map +1 -0
  684. package/dist/esm/components/resources/collection-selection-bar-density.js +175 -0
  685. package/dist/esm/components/resources/collection-selection-bar-density.js.map +1 -0
  686. package/dist/esm/components/resources/embeds/EmbeddedResourceDescent.d.ts +2 -1
  687. package/dist/esm/components/resources/embeds/EmbeddedResourceDescent.d.ts.map +1 -1
  688. package/dist/esm/components/resources/embeds/EmbeddedResourceDescent.js.map +1 -1
  689. package/dist/esm/components/resources/embeds/RelatedResourceSections.d.ts.map +1 -1
  690. package/dist/esm/components/resources/embeds/RelatedResourceSections.js +14 -2
  691. package/dist/esm/components/resources/embeds/RelatedResourceSections.js.map +1 -1
  692. package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts +61 -1
  693. package/dist/esm/components/resources/embeds/ResourceEmbeds.d.ts.map +1 -1
  694. package/dist/esm/components/resources/embeds/ResourceEmbeds.js +151 -15
  695. package/dist/esm/components/resources/embeds/ResourceEmbeds.js.map +1 -1
  696. package/dist/esm/components/resources/embeds/child-operation-addressability.utils.d.ts +11 -0
  697. package/dist/esm/components/resources/embeds/child-operation-addressability.utils.d.ts.map +1 -1
  698. package/dist/esm/components/resources/embeds/child-operation-addressability.utils.js +13 -0
  699. package/dist/esm/components/resources/embeds/child-operation-addressability.utils.js.map +1 -1
  700. package/dist/esm/components/resources/embeds/useEmbeddedResourceContext.d.ts +24 -1
  701. package/dist/esm/components/resources/embeds/useEmbeddedResourceContext.d.ts.map +1 -1
  702. package/dist/esm/components/resources/embeds/useEmbeddedResourceContext.js +47 -3
  703. package/dist/esm/components/resources/embeds/useEmbeddedResourceContext.js.map +1 -1
  704. package/dist/esm/components/resources/resource-filter-field-type.frontend.schemas.d.ts +35 -0
  705. package/dist/esm/components/resources/resource-filter-field-type.frontend.schemas.d.ts.map +1 -0
  706. package/dist/esm/components/resources/resource-filter-field-type.frontend.schemas.js +36 -0
  707. package/dist/esm/components/resources/resource-filter-field-type.frontend.schemas.js.map +1 -0
  708. package/dist/esm/components/resources/resource-header-geometry.d.ts +19 -0
  709. package/dist/esm/components/resources/resource-header-geometry.d.ts.map +1 -0
  710. package/dist/esm/components/resources/resource-header-geometry.js +19 -0
  711. package/dist/esm/components/resources/resource-header-geometry.js.map +1 -0
  712. package/dist/esm/components/resources/resourceLayout.utils.d.ts +28 -2
  713. package/dist/esm/components/resources/resourceLayout.utils.d.ts.map +1 -1
  714. package/dist/esm/components/resources/resourceLayout.utils.js +45 -12
  715. package/dist/esm/components/resources/resourceLayout.utils.js.map +1 -1
  716. package/dist/esm/components/resources/skeleton/ArrayField.d.ts.map +1 -1
  717. package/dist/esm/components/resources/skeleton/ArrayField.js +10 -0
  718. package/dist/esm/components/resources/skeleton/ArrayField.js.map +1 -1
  719. package/dist/esm/components/resources/skeleton/DisplayLayout.d.ts +20 -4
  720. package/dist/esm/components/resources/skeleton/DisplayLayout.d.ts.map +1 -1
  721. package/dist/esm/components/resources/skeleton/DisplayLayout.js +19 -2
  722. package/dist/esm/components/resources/skeleton/DisplayLayout.js.map +1 -1
  723. package/dist/esm/components/resources/skeleton/FieldTiles.d.ts +48 -0
  724. package/dist/esm/components/resources/skeleton/FieldTiles.d.ts.map +1 -0
  725. package/dist/esm/components/resources/skeleton/FieldTiles.js +51 -0
  726. package/dist/esm/components/resources/skeleton/FieldTiles.js.map +1 -0
  727. package/dist/esm/components/resources/skeleton/FormLayout.d.ts.map +1 -1
  728. package/dist/esm/components/resources/skeleton/FormLayout.js +2 -1
  729. package/dist/esm/components/resources/skeleton/FormLayout.js.map +1 -1
  730. package/dist/esm/components/resources/skeleton/Group.d.ts.map +1 -1
  731. package/dist/esm/components/resources/skeleton/Group.js +5 -2
  732. package/dist/esm/components/resources/skeleton/Group.js.map +1 -1
  733. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.d.ts +77 -14
  734. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.d.ts.map +1 -1
  735. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js +98 -25
  736. package/dist/esm/components/resources/skeleton/ResourceHeaderTitle.js.map +1 -1
  737. package/dist/esm/components/resources/skeleton/Section.d.ts +7 -0
  738. package/dist/esm/components/resources/skeleton/Section.d.ts.map +1 -1
  739. package/dist/esm/components/resources/skeleton/Section.js +9 -3
  740. package/dist/esm/components/resources/skeleton/Section.js.map +1 -1
  741. package/dist/esm/components/resources/skeleton/SummaryLayout.d.ts +3 -3
  742. package/dist/esm/components/resources/skeleton/SummaryLayout.js +3 -3
  743. package/dist/esm/components/resources/skeleton/SummaryLayout.js.map +1 -1
  744. package/dist/esm/components/resources/skeleton/WizardLayout.d.ts +7 -5
  745. package/dist/esm/components/resources/skeleton/WizardLayout.d.ts.map +1 -1
  746. package/dist/esm/components/resources/skeleton/WizardLayout.js +176 -65
  747. package/dist/esm/components/resources/skeleton/WizardLayout.js.map +1 -1
  748. package/dist/esm/components/resources/skeleton/WizardLayoutContext.d.ts +9 -1
  749. package/dist/esm/components/resources/skeleton/WizardLayoutContext.d.ts.map +1 -1
  750. package/dist/esm/components/resources/skeleton/WizardLayoutContext.js +7 -0
  751. package/dist/esm/components/resources/skeleton/WizardLayoutContext.js.map +1 -1
  752. package/dist/esm/components/resources/skeleton/WizardStep.d.ts +1 -1
  753. package/dist/esm/components/resources/skeleton/WizardStep.d.ts.map +1 -1
  754. package/dist/esm/components/resources/skeleton/WizardStep.js +9 -5
  755. package/dist/esm/components/resources/skeleton/WizardStep.js.map +1 -1
  756. package/dist/esm/components/resources/skeleton/section-consolidation.utils.d.ts.map +1 -1
  757. package/dist/esm/components/resources/skeleton/section-consolidation.utils.js +31 -2
  758. package/dist/esm/components/resources/skeleton/section-consolidation.utils.js.map +1 -1
  759. package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldDisplayPreset_ResourceReference_Default.d.ts.map +1 -1
  760. package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldDisplayPreset_ResourceReference_Default.js +176 -61
  761. package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldDisplayPreset_ResourceReference_Default.js.map +1 -1
  762. package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.d.ts.map +1 -1
  763. package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.js +14 -7
  764. package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.js.map +1 -1
  765. package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.labels.d.ts.map +1 -1
  766. package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.labels.js +18 -1
  767. package/dist/esm/components/resources-fields/_presets/resource-reference/ResourceFieldEditPreset_ResourceReference_Default.labels.js.map +1 -1
  768. package/dist/esm/components/resources-fields/resource-reference/resource-reference.shared.utils.d.ts +8 -0
  769. package/dist/esm/components/resources-fields/resource-reference/resource-reference.shared.utils.d.ts.map +1 -1
  770. package/dist/esm/components/resources-fields/resource-reference/resource-reference.shared.utils.js +3 -0
  771. package/dist/esm/components/resources-fields/resource-reference/resource-reference.shared.utils.js.map +1 -1
  772. package/dist/esm/components/resources-fields/resource-reference/useResourceSearch.d.ts.map +1 -1
  773. package/dist/esm/components/resources-fields/resource-reference/useResourceSearch.js +48 -17
  774. package/dist/esm/components/resources-fields/resource-reference/useResourceSearch.js.map +1 -1
  775. package/dist/esm/components/sections/ContentSectionContainer.d.ts.map +1 -1
  776. package/dist/esm/components/sections/ContentSectionContainer.js +226 -74
  777. package/dist/esm/components/sections/ContentSectionContainer.js.map +1 -1
  778. package/dist/esm/components/sections/ContentSectionContainer.labels.d.ts.map +1 -1
  779. package/dist/esm/components/sections/ContentSectionContainer.labels.js +2 -3
  780. package/dist/esm/components/sections/ContentSectionContainer.labels.js.map +1 -1
  781. package/dist/esm/components/sections/content-section.d.ts +2 -2
  782. package/dist/esm/components/sections/content-section.js.map +1 -1
  783. package/dist/esm/components/sections/section-grouping.shared.d.ts +19 -0
  784. package/dist/esm/components/sections/section-grouping.shared.d.ts.map +1 -1
  785. package/dist/esm/components/sections/section-grouping.shared.js +24 -0
  786. package/dist/esm/components/sections/section-grouping.shared.js.map +1 -1
  787. package/dist/esm/components/sections/section-legend-voice.context.d.ts +19 -0
  788. package/dist/esm/components/sections/section-legend-voice.context.d.ts.map +1 -0
  789. package/dist/esm/components/sections/section-legend-voice.context.js +21 -0
  790. package/dist/esm/components/sections/section-legend-voice.context.js.map +1 -0
  791. package/dist/esm/components/sections/section-legend-voice.d.ts +41 -0
  792. package/dist/esm/components/sections/section-legend-voice.d.ts.map +1 -0
  793. package/dist/esm/components/sections/section-legend-voice.js +67 -0
  794. package/dist/esm/components/sections/section-legend-voice.js.map +1 -0
  795. package/dist/esm/components/sections/stepper.d.ts +14 -0
  796. package/dist/esm/components/sections/stepper.d.ts.map +1 -1
  797. package/dist/esm/components/sections/stepper.js.map +1 -1
  798. package/dist/esm/components/sections/surface.d.ts.map +1 -1
  799. package/dist/esm/components/sections/surface.js +10 -2
  800. package/dist/esm/components/sections/surface.js.map +1 -1
  801. package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.d.ts +39 -0
  802. package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.d.ts.map +1 -0
  803. package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.js +187 -0
  804. package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.js.map +1 -0
  805. package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.labels.d.ts +3 -0
  806. package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.labels.d.ts.map +1 -0
  807. package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.labels.js +34 -0
  808. package/dist/esm/components/settings/AppPage_AgentWorkEvaluationExportSettings.labels.js.map +1 -0
  809. package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.d.ts +1 -1
  810. package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.js +1 -1
  811. package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.js.map +1 -1
  812. package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.labels.js +8 -8
  813. package/dist/esm/components/settings/AppPage_AgentWorkOverrideRateSettings.labels.js.map +1 -1
  814. package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.d.ts +43 -0
  815. package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.d.ts.map +1 -0
  816. package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.js +142 -0
  817. package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.js.map +1 -0
  818. package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.labels.d.ts +3 -0
  819. package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.labels.d.ts.map +1 -0
  820. package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.labels.js +62 -0
  821. package/dist/esm/components/settings/AppPage_AutonomousAgentsSettings.labels.js.map +1 -0
  822. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts +25 -8
  823. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.d.ts.map +1 -1
  824. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js +275 -71
  825. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.js.map +1 -1
  826. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.labels.d.ts.map +1 -1
  827. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.labels.js +91 -14
  828. package/dist/esm/components/settings/AppPage_ConnectedAccountsSettings.labels.js.map +1 -1
  829. package/dist/esm/components/settings/AppPage_InvitationsSettings.d.ts +13 -8
  830. package/dist/esm/components/settings/AppPage_InvitationsSettings.d.ts.map +1 -1
  831. package/dist/esm/components/settings/AppPage_InvitationsSettings.js +95 -23
  832. package/dist/esm/components/settings/AppPage_InvitationsSettings.js.map +1 -1
  833. package/dist/esm/components/settings/AppPage_InvitationsSettings.labels.d.ts.map +1 -1
  834. package/dist/esm/components/settings/AppPage_InvitationsSettings.labels.js +25 -2
  835. package/dist/esm/components/settings/AppPage_InvitationsSettings.labels.js.map +1 -1
  836. package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.d.ts +67 -0
  837. package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.d.ts.map +1 -0
  838. package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.js +177 -0
  839. package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.js.map +1 -0
  840. package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.labels.d.ts +3 -0
  841. package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.labels.d.ts.map +1 -0
  842. package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.labels.js +45 -0
  843. package/dist/esm/components/settings/AppPage_ModelCostBreakdownSettings.labels.js.map +1 -0
  844. package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.d.ts +35 -0
  845. package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.d.ts.map +1 -0
  846. package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.js +137 -0
  847. package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.js.map +1 -0
  848. package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.labels.d.ts +3 -0
  849. package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.labels.d.ts.map +1 -0
  850. package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.labels.js +38 -0
  851. package/dist/esm/components/settings/AppPage_RepresentativeActivitySettings.labels.js.map +1 -0
  852. package/dist/esm/components/settings/SettingsHub.d.ts +3 -3
  853. package/dist/esm/components/settings/SettingsHub.d.ts.map +1 -1
  854. package/dist/esm/components/settings/SettingsHub.js +98 -48
  855. package/dist/esm/components/settings/SettingsHub.js.map +1 -1
  856. package/dist/esm/components/settings/SettingsHub.labels.d.ts.map +1 -1
  857. package/dist/esm/components/settings/SettingsHub.labels.js +2 -0
  858. package/dist/esm/components/settings/SettingsHub.labels.js.map +1 -1
  859. package/dist/esm/components/settings/SettingsResourceOperationPanel.d.ts.map +1 -1
  860. package/dist/esm/components/settings/SettingsResourceOperationPanel.js +21 -1
  861. package/dist/esm/components/settings/SettingsResourceOperationPanel.js.map +1 -1
  862. package/dist/esm/components/settings/useOwnerProviderConnections.d.ts +24 -5
  863. package/dist/esm/components/settings/useOwnerProviderConnections.d.ts.map +1 -1
  864. package/dist/esm/components/settings/useOwnerProviderConnections.js +67 -9
  865. package/dist/esm/components/settings/useOwnerProviderConnections.js.map +1 -1
  866. package/dist/esm/components/views/chart-view/ChartView.js +3 -3
  867. package/dist/esm/components/views/chart-view/ChartView.js.map +1 -1
  868. package/dist/esm/components/views/chart-view/chart-export.utils.d.ts.map +1 -1
  869. package/dist/esm/components/views/chart-view/chart-export.utils.js +2 -9
  870. package/dist/esm/components/views/chart-view/chart-export.utils.js.map +1 -1
  871. package/dist/esm/components/views/chart-view/enum-color-bridge.d.ts +1 -0
  872. package/dist/esm/components/views/chart-view/enum-color-bridge.d.ts.map +1 -1
  873. package/dist/esm/components/views/chart-view/enum-color-bridge.js +10 -1
  874. package/dist/esm/components/views/chart-view/enum-color-bridge.js.map +1 -1
  875. package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts +8 -6
  876. package/dist/esm/components/views/chart-view/option-builder/builder-utils.d.ts.map +1 -1
  877. package/dist/esm/components/views/chart-view/option-builder/builder-utils.js +10 -8
  878. package/dist/esm/components/views/chart-view/option-builder/builder-utils.js.map +1 -1
  879. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js +2 -2
  880. package/dist/esm/components/views/chart-view/option-builder/builders/bar-family.builder.js.map +1 -1
  881. package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js +1 -1
  882. package/dist/esm/components/views/chart-view/option-builder/builders/composed.builder.js.map +1 -1
  883. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js +1 -1
  884. package/dist/esm/components/views/chart-view/option-builder/builders/line-family.builder.js.map +1 -1
  885. package/dist/esm/components/views/chart-view/option-builder/builders/scatter-family.builder.js +1 -1
  886. package/dist/esm/components/views/chart-view/option-builder/builders/scatter-family.builder.js.map +1 -1
  887. package/dist/esm/components/views/chart-view/option-builder/chart-type-builder.interface.d.ts +6 -0
  888. package/dist/esm/components/views/chart-view/option-builder/chart-type-builder.interface.d.ts.map +1 -1
  889. package/dist/esm/components/views/chart-view/option-builder/chart-type-builder.interface.js.map +1 -1
  890. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.d.ts +3 -1
  891. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.d.ts.map +1 -1
  892. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js +4 -1
  893. package/dist/esm/components/views/chart-view/option-builder/echarts-option-builder.js.map +1 -1
  894. package/dist/esm/components/views/composite-view/CompositeLayout.d.ts +0 -1
  895. package/dist/esm/components/views/composite-view/CompositeLayout.d.ts.map +1 -1
  896. package/dist/esm/components/views/composite-view/CompositeLayout.js.map +1 -1
  897. package/dist/esm/components/views/composite-view/useCompositeResourceOperationContextBuilder.d.ts.map +1 -1
  898. package/dist/esm/components/views/composite-view/useCompositeResourceOperationContextBuilder.js +24 -1
  899. package/dist/esm/components/views/composite-view/useCompositeResourceOperationContextBuilder.js.map +1 -1
  900. package/dist/esm/components/views/flows-actors-view/AgentReplyReportAction.d.ts +29 -0
  901. package/dist/esm/components/views/flows-actors-view/AgentReplyReportAction.d.ts.map +1 -0
  902. package/dist/esm/components/views/flows-actors-view/AgentReplyReportAction.js +104 -0
  903. package/dist/esm/components/views/flows-actors-view/AgentReplyReportAction.js.map +1 -0
  904. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts +16 -5
  905. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts.map +1 -1
  906. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js +219 -230
  907. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js.map +1 -1
  908. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.d.ts +5 -0
  909. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.d.ts.map +1 -1
  910. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.js +15 -13
  911. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.js.map +1 -1
  912. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.d.ts +13 -0
  913. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.d.ts.map +1 -0
  914. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.js +44 -0
  915. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.js.map +1 -0
  916. package/dist/esm/core/app-shell/AppShellBuildingBlocks.d.ts.map +1 -1
  917. package/dist/esm/core/app-shell/AppShellBuildingBlocks.js +6 -2
  918. package/dist/esm/core/app-shell/AppShellBuildingBlocks.js.map +1 -1
  919. package/dist/esm/core/app-shell/app-shell.schemas.d.ts +64 -9
  920. package/dist/esm/core/app-shell/app-shell.schemas.d.ts.map +1 -1
  921. package/dist/esm/core/app-shell/app-shell.schemas.js.map +1 -1
  922. package/dist/esm/core/app-shell/hosted-components.utils.d.ts +11 -1
  923. package/dist/esm/core/app-shell/hosted-components.utils.d.ts.map +1 -1
  924. package/dist/esm/core/app-shell/hosted-components.utils.js +25 -0
  925. package/dist/esm/core/app-shell/hosted-components.utils.js.map +1 -1
  926. package/dist/esm/core/app-shell/shell-layout.d.ts +138 -0
  927. package/dist/esm/core/app-shell/shell-layout.d.ts.map +1 -0
  928. package/dist/esm/core/app-shell/shell-layout.js +143 -0
  929. package/dist/esm/core/app-shell/shell-layout.js.map +1 -0
  930. package/dist/esm/core/app-shell/shell-motion/shell-layout-stylesheet.d.ts +13 -0
  931. package/dist/esm/core/app-shell/shell-motion/shell-layout-stylesheet.d.ts.map +1 -0
  932. package/dist/esm/core/app-shell/shell-motion/shell-layout-stylesheet.js +49 -0
  933. package/dist/esm/core/app-shell/shell-motion/shell-layout-stylesheet.js.map +1 -0
  934. package/dist/esm/core/app-shell/shell-motion/shell-motion-origins.d.ts +95 -0
  935. package/dist/esm/core/app-shell/shell-motion/shell-motion-origins.d.ts.map +1 -0
  936. package/dist/esm/core/app-shell/shell-motion/shell-motion-origins.js +316 -0
  937. package/dist/esm/core/app-shell/shell-motion/shell-motion-origins.js.map +1 -0
  938. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.d.ts +217 -0
  939. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.d.ts.map +1 -0
  940. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js +197 -0
  941. package/dist/esm/core/app-shell/shell-motion/shell-motion-vocabulary.js.map +1 -0
  942. package/dist/esm/core/app-shell/shell-motion/shell-view-transition.d.ts +46 -0
  943. package/dist/esm/core/app-shell/shell-motion/shell-view-transition.d.ts.map +1 -0
  944. package/dist/esm/core/app-shell/shell-motion/shell-view-transition.js +139 -0
  945. package/dist/esm/core/app-shell/shell-motion/shell-view-transition.js.map +1 -0
  946. package/dist/esm/core/app-shell/shell-motion/use-shell-motion.d.ts +108 -0
  947. package/dist/esm/core/app-shell/shell-motion/use-shell-motion.d.ts.map +1 -0
  948. package/dist/esm/core/app-shell/shell-motion/use-shell-motion.js +423 -0
  949. package/dist/esm/core/app-shell/shell-motion/use-shell-motion.js.map +1 -0
  950. package/dist/esm/core/app-shell/useAppShellLayout.d.ts.map +1 -1
  951. package/dist/esm/core/app-shell/useAppShellLayout.js +6 -1
  952. package/dist/esm/core/app-shell/useAppShellLayout.js.map +1 -1
  953. package/dist/esm/core/app-shell/usePublicShellLayout.d.ts.map +1 -1
  954. package/dist/esm/core/app-shell/usePublicShellLayout.js +11 -4
  955. package/dist/esm/core/app-shell/usePublicShellLayout.js.map +1 -1
  956. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts +18 -1
  957. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.d.ts.map +1 -1
  958. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js +26 -4
  959. package/dist/esm/core/automated-layout/automated-layout.frontend.utils.js.map +1 -1
  960. package/dist/esm/core/automated-layout/composite-value-defaults.frontend.utils.d.ts.map +1 -1
  961. package/dist/esm/core/automated-layout/composite-value-defaults.frontend.utils.js +3 -22
  962. package/dist/esm/core/automated-layout/composite-value-defaults.frontend.utils.js.map +1 -1
  963. package/dist/esm/core/automated-layout/default-layout-generator.frontend.utils.d.ts +19 -3
  964. package/dist/esm/core/automated-layout/default-layout-generator.frontend.utils.d.ts.map +1 -1
  965. package/dist/esm/core/automated-layout/default-layout-generator.frontend.utils.js +100 -13
  966. package/dist/esm/core/automated-layout/default-layout-generator.frontend.utils.js.map +1 -1
  967. package/dist/esm/core/automated-layout/summary-value-naming.utils.d.ts +67 -0
  968. package/dist/esm/core/automated-layout/summary-value-naming.utils.d.ts.map +1 -0
  969. package/dist/esm/core/automated-layout/summary-value-naming.utils.js +100 -0
  970. package/dist/esm/core/automated-layout/summary-value-naming.utils.js.map +1 -0
  971. package/dist/esm/core/billing/BillingContext.d.ts +0 -17
  972. package/dist/esm/core/billing/BillingContext.d.ts.map +1 -1
  973. package/dist/esm/core/billing/BillingContext.js +6 -1
  974. package/dist/esm/core/billing/BillingContext.js.map +1 -1
  975. package/dist/esm/core/branding/OrganizationBrandingPublisher.d.ts +2 -0
  976. package/dist/esm/core/branding/OrganizationBrandingPublisher.d.ts.map +1 -0
  977. package/dist/esm/core/branding/OrganizationBrandingPublisher.js +78 -0
  978. package/dist/esm/core/branding/OrganizationBrandingPublisher.js.map +1 -0
  979. package/dist/esm/core/branding/useBrandIdentity.d.ts +21 -0
  980. package/dist/esm/core/branding/useBrandIdentity.d.ts.map +1 -1
  981. package/dist/esm/core/branding/useBrandIdentity.js +31 -5
  982. package/dist/esm/core/branding/useBrandIdentity.js.map +1 -1
  983. package/dist/esm/core/branding/useBrandPresentation.d.ts +5 -0
  984. package/dist/esm/core/branding/useBrandPresentation.d.ts.map +1 -1
  985. package/dist/esm/core/branding/useBrandPresentation.js +1 -0
  986. package/dist/esm/core/branding/useBrandPresentation.js.map +1 -1
  987. package/dist/esm/core/branding/useDisplayableImageUrl.d.ts +4 -0
  988. package/dist/esm/core/branding/useDisplayableImageUrl.d.ts.map +1 -0
  989. package/dist/esm/core/branding/useDisplayableImageUrl.js +66 -0
  990. package/dist/esm/core/branding/useDisplayableImageUrl.js.map +1 -0
  991. package/dist/esm/core/branding/useOrganizationDocumentTitle.d.ts +2 -0
  992. package/dist/esm/core/branding/useOrganizationDocumentTitle.d.ts.map +1 -0
  993. package/dist/esm/core/branding/useOrganizationDocumentTitle.js +23 -0
  994. package/dist/esm/core/branding/useOrganizationDocumentTitle.js.map +1 -0
  995. package/dist/esm/core/commons/save-blob-as-file.frontend.utils.d.ts +16 -0
  996. package/dist/esm/core/commons/save-blob-as-file.frontend.utils.d.ts.map +1 -0
  997. package/dist/esm/core/commons/save-blob-as-file.frontend.utils.js +35 -0
  998. package/dist/esm/core/commons/save-blob-as-file.frontend.utils.js.map +1 -0
  999. package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.d.ts.map +1 -1
  1000. package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.js +8 -0
  1001. package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.js.map +1 -1
  1002. package/dist/esm/core/components-registry/component-resolver.frontend.helper.d.ts.map +1 -1
  1003. package/dist/esm/core/components-registry/component-resolver.frontend.helper.js +34 -5
  1004. package/dist/esm/core/components-registry/component-resolver.frontend.helper.js.map +1 -1
  1005. package/dist/esm/core/components-registry/register-framework-layouts.d.ts.map +1 -1
  1006. package/dist/esm/core/components-registry/register-framework-layouts.js +4 -0
  1007. package/dist/esm/core/components-registry/register-framework-layouts.js.map +1 -1
  1008. package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts +36 -0
  1009. package/dist/esm/core/config/app-configuration-frontend.schemas.d.ts.map +1 -1
  1010. package/dist/esm/core/config/app-configuration-frontend.schemas.js +29 -2
  1011. package/dist/esm/core/config/app-configuration-frontend.schemas.js.map +1 -1
  1012. package/dist/esm/core/config/app-level-components.frontend.schemas.d.ts +10 -16
  1013. package/dist/esm/core/config/app-level-components.frontend.schemas.d.ts.map +1 -1
  1014. package/dist/esm/core/config/app-level-components.frontend.schemas.js +10 -16
  1015. package/dist/esm/core/config/app-level-components.frontend.schemas.js.map +1 -1
  1016. package/dist/esm/core/config/chart-view.frontend.schemas.d.ts +12 -8
  1017. package/dist/esm/core/config/chart-view.frontend.schemas.d.ts.map +1 -1
  1018. package/dist/esm/core/config/chart-view.frontend.schemas.js +10 -0
  1019. package/dist/esm/core/config/chart-view.frontend.schemas.js.map +1 -1
  1020. package/dist/esm/core/config/composite-view.schemas.d.ts +2 -2
  1021. package/dist/esm/core/config/config-merge-utilities.d.ts +31 -3
  1022. package/dist/esm/core/config/config-merge-utilities.d.ts.map +1 -1
  1023. package/dist/esm/core/config/config-merge-utilities.js +61 -7
  1024. package/dist/esm/core/config/config-merge-utilities.js.map +1 -1
  1025. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts +83 -0
  1026. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.d.ts.map +1 -0
  1027. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js +100 -0
  1028. package/dist/esm/core/config/decision-inbox-capability.frontend.utils.js.map +1 -0
  1029. package/dist/esm/core/config/directory-provisioning-capabilities.frontend.utils.d.ts +69 -0
  1030. package/dist/esm/core/config/directory-provisioning-capabilities.frontend.utils.d.ts.map +1 -0
  1031. package/dist/esm/core/config/directory-provisioning-capabilities.frontend.utils.js +65 -0
  1032. package/dist/esm/core/config/directory-provisioning-capabilities.frontend.utils.js.map +1 -0
  1033. package/dist/esm/core/config/engine-settings-destinations.d.ts +13 -1
  1034. package/dist/esm/core/config/engine-settings-destinations.d.ts.map +1 -1
  1035. package/dist/esm/core/config/engine-settings-destinations.js +588 -155
  1036. package/dist/esm/core/config/engine-settings-destinations.js.map +1 -1
  1037. package/dist/esm/core/config/execution-view.schemas.d.ts +17 -3
  1038. package/dist/esm/core/config/execution-view.schemas.d.ts.map +1 -1
  1039. package/dist/esm/core/config/execution-view.schemas.js +1 -1
  1040. package/dist/esm/core/config/execution-view.schemas.js.map +1 -1
  1041. package/dist/esm/core/config/flows-actors-view.schemas.d.ts +12 -2
  1042. package/dist/esm/core/config/flows-actors-view.schemas.d.ts.map +1 -1
  1043. package/dist/esm/core/config/flows-actors-view.schemas.js +13 -1
  1044. package/dist/esm/core/config/flows-actors-view.schemas.js.map +1 -1
  1045. package/dist/esm/core/config/inserted-view-launcher.schemas.d.ts +12 -11
  1046. package/dist/esm/core/config/inserted-view-launcher.schemas.d.ts.map +1 -1
  1047. package/dist/esm/core/config/inserted-view-launcher.schemas.js +14 -13
  1048. package/dist/esm/core/config/inserted-view-launcher.schemas.js.map +1 -1
  1049. package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts +77 -27
  1050. package/dist/esm/core/config/launcher-items.frontend.schemas.d.ts.map +1 -1
  1051. package/dist/esm/core/config/launcher-items.frontend.schemas.js +18 -13
  1052. package/dist/esm/core/config/launcher-items.frontend.schemas.js.map +1 -1
  1053. package/dist/esm/core/config/relationship-side-capabilities.frontend.utils.d.ts +79 -0
  1054. package/dist/esm/core/config/relationship-side-capabilities.frontend.utils.d.ts.map +1 -0
  1055. package/dist/esm/core/config/relationship-side-capabilities.frontend.utils.js +95 -0
  1056. package/dist/esm/core/config/relationship-side-capabilities.frontend.utils.js.map +1 -0
  1057. package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts +19 -7
  1058. package/dist/esm/core/config/settings-hub-gating.frontend.utils.d.ts.map +1 -1
  1059. package/dist/esm/core/config/settings-hub-gating.frontend.utils.js +45 -10
  1060. package/dist/esm/core/config/settings-hub-gating.frontend.utils.js.map +1 -1
  1061. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.d.ts +2 -2
  1062. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.d.ts.map +1 -1
  1063. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.js +38 -5
  1064. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.js.map +1 -1
  1065. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts +94 -10
  1066. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts.map +1 -1
  1067. package/dist/esm/core/config/settings-hub.frontend.schemas.js +40 -3
  1068. package/dist/esm/core/config/settings-hub.frontend.schemas.js.map +1 -1
  1069. package/dist/esm/core/config/useSettingsHubConfig.d.ts.map +1 -1
  1070. package/dist/esm/core/config/useSettingsHubConfig.js +4 -1
  1071. package/dist/esm/core/config/useSettingsHubConfig.js.map +1 -1
  1072. package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts +2 -2
  1073. package/dist/esm/core/config/useVisibleSettingsHubConfig.d.ts.map +1 -1
  1074. package/dist/esm/core/config/useVisibleSettingsHubConfig.js +7 -8
  1075. package/dist/esm/core/config/useVisibleSettingsHubConfig.js.map +1 -1
  1076. package/dist/esm/core/config/verify-launcher-content.d.ts +16 -2
  1077. package/dist/esm/core/config/verify-launcher-content.d.ts.map +1 -1
  1078. package/dist/esm/core/config/verify-launcher-content.js +64 -4
  1079. package/dist/esm/core/config/verify-launcher-content.js.map +1 -1
  1080. package/dist/esm/core/config/verify-settings-hub-content.d.ts +4 -0
  1081. package/dist/esm/core/config/verify-settings-hub-content.d.ts.map +1 -1
  1082. package/dist/esm/core/config/verify-settings-hub-content.js +34 -0
  1083. package/dist/esm/core/config/verify-settings-hub-content.js.map +1 -1
  1084. package/dist/esm/core/enums/common-enum-registry.d.ts +16 -23
  1085. package/dist/esm/core/enums/common-enum-registry.d.ts.map +1 -1
  1086. package/dist/esm/core/enums/common-enum-registry.js +26 -29
  1087. package/dist/esm/core/enums/common-enum-registry.js.map +1 -1
  1088. package/dist/esm/core/errors/GlobalErrorHandler.d.ts.map +1 -1
  1089. package/dist/esm/core/errors/GlobalErrorHandler.js +71 -9
  1090. package/dist/esm/core/errors/GlobalErrorHandler.js.map +1 -1
  1091. package/dist/esm/core/errors/error-management.frontend.service.d.ts +0 -4
  1092. package/dist/esm/core/errors/error-management.frontend.service.d.ts.map +1 -1
  1093. package/dist/esm/core/errors/error-management.frontend.service.js +5 -8
  1094. package/dist/esm/core/errors/error-management.frontend.service.js.map +1 -1
  1095. package/dist/esm/core/errors/errors.frontend.schemas.d.ts +21 -10
  1096. package/dist/esm/core/errors/errors.frontend.schemas.d.ts.map +1 -1
  1097. package/dist/esm/core/errors/errors.frontend.schemas.js.map +1 -1
  1098. package/dist/esm/core/errors/user-facing-error-message.frontend.utils.d.ts +35 -0
  1099. package/dist/esm/core/errors/user-facing-error-message.frontend.utils.d.ts.map +1 -1
  1100. package/dist/esm/core/errors/user-facing-error-message.frontend.utils.js +44 -5
  1101. package/dist/esm/core/errors/user-facing-error-message.frontend.utils.js.map +1 -1
  1102. package/dist/esm/core/events/EventBusContext.js.map +1 -1
  1103. package/dist/esm/core/events/NotificationContext.d.ts +13 -1
  1104. package/dist/esm/core/events/NotificationContext.d.ts.map +1 -1
  1105. package/dist/esm/core/events/NotificationContext.js +89 -22
  1106. package/dist/esm/core/events/NotificationContext.js.map +1 -1
  1107. package/dist/esm/core/events/events.frontend.schemas.d.ts +68 -4
  1108. package/dist/esm/core/events/events.frontend.schemas.d.ts.map +1 -1
  1109. package/dist/esm/core/events/events.frontend.schemas.js +67 -3
  1110. package/dist/esm/core/events/events.frontend.schemas.js.map +1 -1
  1111. package/dist/esm/core/events/useNotificationPreferenceKinds.d.ts +9 -0
  1112. package/dist/esm/core/events/useNotificationPreferenceKinds.d.ts.map +1 -0
  1113. package/dist/esm/core/events/useNotificationPreferenceKinds.js +50 -0
  1114. package/dist/esm/core/events/useNotificationPreferenceKinds.js.map +1 -0
  1115. package/dist/esm/core/execution/useExecution.js +1 -1
  1116. package/dist/esm/core/execution/useExecution.js.map +1 -1
  1117. package/dist/esm/core/execution/useExecutionParticipationRMM.d.ts.map +1 -1
  1118. package/dist/esm/core/execution/useExecutionParticipationRMM.js +4 -0
  1119. package/dist/esm/core/execution/useExecutionParticipationRMM.js.map +1 -1
  1120. package/dist/esm/core/execution/useExecutionResourceOperationSurface.d.ts.map +1 -1
  1121. package/dist/esm/core/execution/useExecutionResourceOperationSurface.js +3 -3
  1122. package/dist/esm/core/execution/useExecutionResourceOperationSurface.js.map +1 -1
  1123. package/dist/esm/core/external-providers/chat-sign-in-completion.frontend.d.ts +52 -0
  1124. package/dist/esm/core/external-providers/chat-sign-in-completion.frontend.d.ts.map +1 -0
  1125. package/dist/esm/core/external-providers/chat-sign-in-completion.frontend.js +88 -0
  1126. package/dist/esm/core/external-providers/chat-sign-in-completion.frontend.js.map +1 -0
  1127. package/dist/esm/core/external-providers/frontend-provider-registry.frontend.service.d.ts +20 -2
  1128. package/dist/esm/core/external-providers/frontend-provider-registry.frontend.service.d.ts.map +1 -1
  1129. package/dist/esm/core/external-providers/frontend-provider-registry.frontend.service.js +18 -1
  1130. package/dist/esm/core/external-providers/frontend-provider-registry.frontend.service.js.map +1 -1
  1131. package/dist/esm/core/external-providers/provider-scope-reauthorization-offers.frontend.d.ts +7 -5
  1132. package/dist/esm/core/external-providers/provider-scope-reauthorization-offers.frontend.d.ts.map +1 -1
  1133. package/dist/esm/core/external-providers/provider-scope-reauthorization-offers.frontend.js +9 -6
  1134. package/dist/esm/core/external-providers/provider-scope-reauthorization-offers.frontend.js.map +1 -1
  1135. package/dist/esm/core/features/FeaturesContext.d.ts +9 -1
  1136. package/dist/esm/core/features/FeaturesContext.d.ts.map +1 -1
  1137. package/dist/esm/core/features/FeaturesContext.js +38 -12
  1138. package/dist/esm/core/features/FeaturesContext.js.map +1 -1
  1139. package/dist/esm/core/features/useOperationFeatureAvailability.d.ts.map +1 -1
  1140. package/dist/esm/core/features/useOperationFeatureAvailability.js +4 -0
  1141. package/dist/esm/core/features/useOperationFeatureAvailability.js.map +1 -1
  1142. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts +90 -33
  1143. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts.map +1 -1
  1144. package/dist/esm/core/flows-actors/FlowsActorsContext.js +153 -100
  1145. package/dist/esm/core/flows-actors/FlowsActorsContext.js.map +1 -1
  1146. package/dist/esm/core/flows-actors/conversation-history.model.d.ts +41 -0
  1147. package/dist/esm/core/flows-actors/conversation-history.model.d.ts.map +1 -0
  1148. package/dist/esm/core/flows-actors/conversation-history.model.js +65 -0
  1149. package/dist/esm/core/flows-actors/conversation-history.model.js.map +1 -0
  1150. package/dist/esm/core/flows-actors/conversation-thread.model.d.ts +144 -0
  1151. package/dist/esm/core/flows-actors/conversation-thread.model.d.ts.map +1 -0
  1152. package/dist/esm/core/flows-actors/conversation-thread.model.js +315 -0
  1153. package/dist/esm/core/flows-actors/conversation-thread.model.js.map +1 -0
  1154. package/dist/esm/core/flows-actors/execution-usages-batch.frontend.utils.d.ts +29 -0
  1155. package/dist/esm/core/flows-actors/execution-usages-batch.frontend.utils.d.ts.map +1 -0
  1156. package/dist/esm/core/flows-actors/execution-usages-batch.frontend.utils.js +67 -0
  1157. package/dist/esm/core/flows-actors/execution-usages-batch.frontend.utils.js.map +1 -0
  1158. package/dist/esm/core/flows-actors/graph-view.layout.d.ts +77 -0
  1159. package/dist/esm/core/flows-actors/graph-view.layout.d.ts.map +1 -0
  1160. package/dist/esm/core/flows-actors/graph-view.layout.js +169 -0
  1161. package/dist/esm/core/flows-actors/graph-view.layout.js.map +1 -0
  1162. package/dist/esm/core/flows-actors/graph-view.model.d.ts +245 -0
  1163. package/dist/esm/core/flows-actors/graph-view.model.d.ts.map +1 -0
  1164. package/dist/esm/core/flows-actors/graph-view.model.js +414 -0
  1165. package/dist/esm/core/flows-actors/graph-view.model.js.map +1 -0
  1166. package/dist/esm/core/flows-actors/model-cost-money.frontend.utils.d.ts +12 -0
  1167. package/dist/esm/core/flows-actors/model-cost-money.frontend.utils.d.ts.map +1 -0
  1168. package/dist/esm/core/flows-actors/model-cost-money.frontend.utils.js +20 -0
  1169. package/dist/esm/core/flows-actors/model-cost-money.frontend.utils.js.map +1 -0
  1170. package/dist/esm/core/flows-actors/usePendingDecisions.d.ts +36 -11
  1171. package/dist/esm/core/flows-actors/usePendingDecisions.d.ts.map +1 -1
  1172. package/dist/esm/core/flows-actors/usePendingDecisions.js +114 -29
  1173. package/dist/esm/core/flows-actors/usePendingDecisions.js.map +1 -1
  1174. package/dist/esm/core/guidance/GuidanceContext.d.ts.map +1 -1
  1175. package/dist/esm/core/guidance/GuidanceContext.js +1 -2
  1176. package/dist/esm/core/guidance/GuidanceContext.js.map +1 -1
  1177. package/dist/esm/core/guidance/renderers/GuidanceChecklist.labels.js +2 -2
  1178. package/dist/esm/core/guidance/renderers/GuidanceChecklist.labels.js.map +1 -1
  1179. package/dist/esm/core/hotkey/DefaultHotkeyHandler.d.ts +3 -9
  1180. package/dist/esm/core/hotkey/DefaultHotkeyHandler.d.ts.map +1 -1
  1181. package/dist/esm/core/hotkey/DefaultHotkeyHandler.js +3 -15
  1182. package/dist/esm/core/hotkey/DefaultHotkeyHandler.js.map +1 -1
  1183. package/dist/esm/core/hotkey/merge-hotkey-emit-shortcuts.d.ts +2 -2
  1184. package/dist/esm/core/hotkey/merge-hotkey-emit-shortcuts.js +2 -2
  1185. package/dist/esm/core/hotkey/merge-hotkey-emit-shortcuts.js.map +1 -1
  1186. package/dist/esm/core/i18n/I18nContext.d.ts +52 -3
  1187. package/dist/esm/core/i18n/I18nContext.d.ts.map +1 -1
  1188. package/dist/esm/core/i18n/I18nContext.js +80 -7
  1189. package/dist/esm/core/i18n/I18nContext.js.map +1 -1
  1190. package/dist/esm/core/i18n/regional-preference-resolution.frontend.utils.d.ts +82 -1
  1191. package/dist/esm/core/i18n/regional-preference-resolution.frontend.utils.d.ts.map +1 -1
  1192. package/dist/esm/core/i18n/regional-preference-resolution.frontend.utils.js +121 -6
  1193. package/dist/esm/core/i18n/regional-preference-resolution.frontend.utils.js.map +1 -1
  1194. package/dist/esm/core/i18n/useI18n.d.ts +3 -1
  1195. package/dist/esm/core/i18n/useI18n.d.ts.map +1 -1
  1196. package/dist/esm/core/i18n/useI18n.js +3 -1
  1197. package/dist/esm/core/i18n/useI18n.js.map +1 -1
  1198. package/dist/esm/core/icons/IconRegistryBridge.d.ts +38 -4
  1199. package/dist/esm/core/icons/IconRegistryBridge.d.ts.map +1 -1
  1200. package/dist/esm/core/icons/IconRegistryBridge.js +103 -63
  1201. package/dist/esm/core/icons/IconRegistryBridge.js.map +1 -1
  1202. package/dist/esm/core/icons/IconRegistryContext.d.ts.map +1 -1
  1203. package/dist/esm/core/icons/IconRegistryContext.js +41 -0
  1204. package/dist/esm/core/icons/IconRegistryContext.js.map +1 -1
  1205. package/dist/esm/core/icons/icon-registry.frontend.schemas.d.ts +44 -0
  1206. package/dist/esm/core/icons/icon-registry.frontend.schemas.d.ts.map +1 -1
  1207. package/dist/esm/core/icons/icon-registry.frontend.schemas.js +46 -0
  1208. package/dist/esm/core/icons/icon-registry.frontend.schemas.js.map +1 -1
  1209. package/dist/esm/core/monitoring/analytics/providers/backend-proxy-analytics.provider.js +2 -2
  1210. package/dist/esm/core/monitoring/analytics/providers/backend-proxy-analytics.provider.js.map +1 -1
  1211. package/dist/esm/core/navigation/NavigationContentAreas.d.ts +64 -20
  1212. package/dist/esm/core/navigation/NavigationContentAreas.d.ts.map +1 -1
  1213. package/dist/esm/core/navigation/NavigationContentAreas.js +82 -51
  1214. package/dist/esm/core/navigation/NavigationContentAreas.js.map +1 -1
  1215. package/dist/esm/core/navigation/NavigationContext.d.ts.map +1 -1
  1216. package/dist/esm/core/navigation/NavigationContext.js +130 -23
  1217. package/dist/esm/core/navigation/NavigationContext.js.map +1 -1
  1218. package/dist/esm/core/navigation/NavigationRequestBridge.d.ts +4 -0
  1219. package/dist/esm/core/navigation/NavigationRequestBridge.d.ts.map +1 -1
  1220. package/dist/esm/core/navigation/NavigationRequestBridge.js +17 -1
  1221. package/dist/esm/core/navigation/NavigationRequestBridge.js.map +1 -1
  1222. package/dist/esm/core/navigation/ZoneChromeContext.d.ts +80 -0
  1223. package/dist/esm/core/navigation/ZoneChromeContext.d.ts.map +1 -0
  1224. package/dist/esm/core/navigation/ZoneChromeContext.js +130 -0
  1225. package/dist/esm/core/navigation/ZoneChromeContext.js.map +1 -0
  1226. package/dist/esm/core/navigation/launcher-resolution.d.ts +102 -2
  1227. package/dist/esm/core/navigation/launcher-resolution.d.ts.map +1 -1
  1228. package/dist/esm/core/navigation/launcher-resolution.js +194 -9
  1229. package/dist/esm/core/navigation/launcher-resolution.js.map +1 -1
  1230. package/dist/esm/core/navigation/launcher-runtime-availability.d.ts +35 -5
  1231. package/dist/esm/core/navigation/launcher-runtime-availability.d.ts.map +1 -1
  1232. package/dist/esm/core/navigation/launcher-runtime-availability.js +147 -18
  1233. package/dist/esm/core/navigation/launcher-runtime-availability.js.map +1 -1
  1234. package/dist/esm/core/navigation/navigation-cascade.d.ts +44 -14
  1235. package/dist/esm/core/navigation/navigation-cascade.d.ts.map +1 -1
  1236. package/dist/esm/core/navigation/navigation-cascade.js +87 -19
  1237. package/dist/esm/core/navigation/navigation-cascade.js.map +1 -1
  1238. package/dist/esm/core/navigation/navigation-commit.d.ts +45 -0
  1239. package/dist/esm/core/navigation/navigation-commit.d.ts.map +1 -0
  1240. package/dist/esm/core/navigation/navigation-commit.js +68 -0
  1241. package/dist/esm/core/navigation/navigation-commit.js.map +1 -0
  1242. package/dist/esm/core/navigation/navigation-controller-internals.d.ts +54 -3
  1243. package/dist/esm/core/navigation/navigation-controller-internals.d.ts.map +1 -1
  1244. package/dist/esm/core/navigation/navigation-controller-internals.js +91 -3
  1245. package/dist/esm/core/navigation/navigation-controller-internals.js.map +1 -1
  1246. package/dist/esm/core/navigation/navigation-policy-resolver.service.d.ts +3 -3
  1247. package/dist/esm/core/navigation/navigation-policy-resolver.service.js +3 -3
  1248. package/dist/esm/core/navigation/navigation-policy-resolver.service.js.map +1 -1
  1249. package/dist/esm/core/navigation/navigation.utils.d.ts +95 -22
  1250. package/dist/esm/core/navigation/navigation.utils.d.ts.map +1 -1
  1251. package/dist/esm/core/navigation/navigation.utils.js +190 -63
  1252. package/dist/esm/core/navigation/navigation.utils.js.map +1 -1
  1253. package/dist/esm/core/navigation/sidebar-resource-browser-operation.d.ts +8 -0
  1254. package/dist/esm/core/navigation/sidebar-resource-browser-operation.d.ts.map +1 -0
  1255. package/dist/esm/core/navigation/sidebar-resource-browser-operation.js +27 -0
  1256. package/dist/esm/core/navigation/sidebar-resource-browser-operation.js.map +1 -0
  1257. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts +64 -0
  1258. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.d.ts.map +1 -0
  1259. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.js +212 -0
  1260. package/dist/esm/core/navigation/useCurrentOrganizationHoldsUnrevokedScimToken.js.map +1 -0
  1261. package/dist/esm/core/navigation/useLauncherResolutionContext.d.ts +1 -1
  1262. package/dist/esm/core/navigation/useLauncherResolutionContext.d.ts.map +1 -1
  1263. package/dist/esm/core/navigation/useLauncherResolutionContext.js +17 -2
  1264. package/dist/esm/core/navigation/useLauncherResolutionContext.js.map +1 -1
  1265. package/dist/esm/core/navigation/useNavigationController.d.ts +1 -0
  1266. package/dist/esm/core/navigation/useNavigationController.d.ts.map +1 -1
  1267. package/dist/esm/core/navigation/useNavigationController.js +51 -67
  1268. package/dist/esm/core/navigation/useNavigationController.js.map +1 -1
  1269. package/dist/esm/core/navigation/useNavigationRouterSync.d.ts.map +1 -1
  1270. package/dist/esm/core/navigation/useNavigationRouterSync.js +17 -1
  1271. package/dist/esm/core/navigation/useNavigationRouterSync.js.map +1 -1
  1272. package/dist/esm/core/navigation/useZoneEntryOrganizationHold.d.ts +17 -0
  1273. package/dist/esm/core/navigation/useZoneEntryOrganizationHold.d.ts.map +1 -0
  1274. package/dist/esm/core/navigation/useZoneEntryOrganizationHold.js +32 -0
  1275. package/dist/esm/core/navigation/useZoneEntryOrganizationHold.js.map +1 -0
  1276. package/dist/esm/core/navigation/zone-collapse.d.ts +2 -1
  1277. package/dist/esm/core/navigation/zone-collapse.d.ts.map +1 -1
  1278. package/dist/esm/core/navigation/zone-collapse.js +2 -1
  1279. package/dist/esm/core/navigation/zone-collapse.js.map +1 -1
  1280. package/dist/esm/core/navigation/zone-entry-organization.d.ts +34 -0
  1281. package/dist/esm/core/navigation/zone-entry-organization.d.ts.map +1 -0
  1282. package/dist/esm/core/navigation/zone-entry-organization.js +77 -0
  1283. package/dist/esm/core/navigation/zone-entry-organization.js.map +1 -0
  1284. package/dist/esm/core/requests/auth-refresh-resilience.frontend.d.ts +15 -0
  1285. package/dist/esm/core/requests/auth-refresh-resilience.frontend.d.ts.map +1 -1
  1286. package/dist/esm/core/requests/auth-refresh-resilience.frontend.js +24 -0
  1287. package/dist/esm/core/requests/auth-refresh-resilience.frontend.js.map +1 -1
  1288. package/dist/esm/core/requests/automatic-resend-safety.frontend.d.ts +74 -0
  1289. package/dist/esm/core/requests/automatic-resend-safety.frontend.d.ts.map +1 -0
  1290. package/dist/esm/core/requests/automatic-resend-safety.frontend.js +52 -0
  1291. package/dist/esm/core/requests/automatic-resend-safety.frontend.js.map +1 -0
  1292. package/dist/esm/core/requests/websockets/WebSocketContext.d.ts.map +1 -1
  1293. package/dist/esm/core/requests/websockets/WebSocketContext.js +31 -0
  1294. package/dist/esm/core/requests/websockets/WebSocketContext.js.map +1 -1
  1295. package/dist/esm/core/requests/websockets/WebSocketEventBridge.d.ts.map +1 -1
  1296. package/dist/esm/core/requests/websockets/WebSocketEventBridge.js +2 -0
  1297. package/dist/esm/core/requests/websockets/WebSocketEventBridge.js.map +1 -1
  1298. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts +162 -98
  1299. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts.map +1 -1
  1300. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js +283 -157
  1301. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js.map +1 -1
  1302. package/dist/esm/core/requests/wildo-http-client-resources.frontend.service.d.ts +9 -13
  1303. package/dist/esm/core/requests/wildo-http-client-resources.frontend.service.d.ts.map +1 -1
  1304. package/dist/esm/core/requests/wildo-http-client-resources.frontend.service.js +45 -97
  1305. package/dist/esm/core/requests/wildo-http-client-resources.frontend.service.js.map +1 -1
  1306. package/dist/esm/core/requests/wildo-http-client.frontend.service.d.ts +25 -5
  1307. package/dist/esm/core/requests/wildo-http-client.frontend.service.d.ts.map +1 -1
  1308. package/dist/esm/core/requests/wildo-http-client.frontend.service.js +56 -11
  1309. package/dist/esm/core/requests/wildo-http-client.frontend.service.js.map +1 -1
  1310. package/dist/esm/core/resources/ScopedResourceRegistryProvider.d.ts.map +1 -1
  1311. package/dist/esm/core/resources/ScopedResourceRegistryProvider.js +1 -2
  1312. package/dist/esm/core/resources/ScopedResourceRegistryProvider.js.map +1 -1
  1313. package/dist/esm/core/resources/calendar-date-fields.frontend.utils.d.ts +14 -0
  1314. package/dist/esm/core/resources/calendar-date-fields.frontend.utils.d.ts.map +1 -0
  1315. package/dist/esm/core/resources/calendar-date-fields.frontend.utils.js +29 -0
  1316. package/dist/esm/core/resources/calendar-date-fields.frontend.utils.js.map +1 -0
  1317. package/dist/esm/core/resources/caller-identity-record.frontend.utils.d.ts +23 -0
  1318. package/dist/esm/core/resources/caller-identity-record.frontend.utils.d.ts.map +1 -0
  1319. package/dist/esm/core/resources/caller-identity-record.frontend.utils.js +26 -0
  1320. package/dist/esm/core/resources/caller-identity-record.frontend.utils.js.map +1 -0
  1321. package/dist/esm/core/resources/collection-export-url.frontend.utils.d.ts +1 -1
  1322. package/dist/esm/core/resources/collection-export-url.frontend.utils.d.ts.map +1 -1
  1323. package/dist/esm/core/resources/collection-export-url.frontend.utils.js +34 -16
  1324. package/dist/esm/core/resources/collection-export-url.frontend.utils.js.map +1 -1
  1325. package/dist/esm/core/resources/collection-filter-presets.frontend.utils.d.ts +54 -11
  1326. package/dist/esm/core/resources/collection-filter-presets.frontend.utils.d.ts.map +1 -1
  1327. package/dist/esm/core/resources/collection-filter-presets.frontend.utils.js +131 -63
  1328. package/dist/esm/core/resources/collection-filter-presets.frontend.utils.js.map +1 -1
  1329. package/dist/esm/core/resources/date-filter-window.frontend.utils.d.ts +58 -0
  1330. package/dist/esm/core/resources/date-filter-window.frontend.utils.d.ts.map +1 -0
  1331. package/dist/esm/core/resources/date-filter-window.frontend.utils.js +70 -0
  1332. package/dist/esm/core/resources/date-filter-window.frontend.utils.js.map +1 -0
  1333. package/dist/esm/core/resources/frontend-resource.utils.d.ts +146 -7
  1334. package/dist/esm/core/resources/frontend-resource.utils.d.ts.map +1 -1
  1335. package/dist/esm/core/resources/frontend-resource.utils.js +194 -22
  1336. package/dist/esm/core/resources/frontend-resource.utils.js.map +1 -1
  1337. package/dist/esm/core/resources/hooks/useOperationEnabled.d.ts +18 -4
  1338. package/dist/esm/core/resources/hooks/useOperationEnabled.d.ts.map +1 -1
  1339. package/dist/esm/core/resources/hooks/useOperationEnabled.js +26 -6
  1340. package/dist/esm/core/resources/hooks/useOperationEnabled.js.map +1 -1
  1341. package/dist/esm/core/resources/operation-semantics.frontend.utils.d.ts +95 -2
  1342. package/dist/esm/core/resources/operation-semantics.frontend.utils.d.ts.map +1 -1
  1343. package/dist/esm/core/resources/operation-semantics.frontend.utils.js +126 -13
  1344. package/dist/esm/core/resources/operation-semantics.frontend.utils.js.map +1 -1
  1345. package/dist/esm/core/resources/read-through-organization-unit.frontend.utils.d.ts +45 -0
  1346. package/dist/esm/core/resources/read-through-organization-unit.frontend.utils.d.ts.map +1 -0
  1347. package/dist/esm/core/resources/read-through-organization-unit.frontend.utils.js +46 -0
  1348. package/dist/esm/core/resources/read-through-organization-unit.frontend.utils.js.map +1 -0
  1349. package/dist/esm/core/resources/referenced-record-scope.frontend.utils.d.ts +46 -0
  1350. package/dist/esm/core/resources/referenced-record-scope.frontend.utils.d.ts.map +1 -0
  1351. package/dist/esm/core/resources/referenced-record-scope.frontend.utils.js +86 -0
  1352. package/dist/esm/core/resources/referenced-record-scope.frontend.utils.js.map +1 -0
  1353. package/dist/esm/core/resources/relationship-quick-create.frontend.utils.d.ts.map +1 -1
  1354. package/dist/esm/core/resources/relationship-quick-create.frontend.utils.js +5 -1
  1355. package/dist/esm/core/resources/relationship-quick-create.frontend.utils.js.map +1 -1
  1356. package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts +28 -1
  1357. package/dist/esm/core/resources/resource-addressability.frontend.utils.d.ts.map +1 -1
  1358. package/dist/esm/core/resources/resource-addressability.frontend.utils.js +43 -3
  1359. package/dist/esm/core/resources/resource-addressability.frontend.utils.js.map +1 -1
  1360. package/dist/esm/core/resources/resource-discriminators.frontend.utils.d.ts +26 -0
  1361. package/dist/esm/core/resources/resource-discriminators.frontend.utils.d.ts.map +1 -0
  1362. package/dist/esm/core/resources/resource-discriminators.frontend.utils.js +37 -0
  1363. package/dist/esm/core/resources/resource-discriminators.frontend.utils.js.map +1 -0
  1364. package/dist/esm/core/resources/resources-repository.frontend.service.d.ts +40 -8
  1365. package/dist/esm/core/resources/resources-repository.frontend.service.d.ts.map +1 -1
  1366. package/dist/esm/core/resources/resources-repository.frontend.service.js +333 -73
  1367. package/dist/esm/core/resources/resources-repository.frontend.service.js.map +1 -1
  1368. package/dist/esm/core/resources/resources.frontend.schemas.d.ts +175 -65
  1369. package/dist/esm/core/resources/resources.frontend.schemas.d.ts.map +1 -1
  1370. package/dist/esm/core/resources/resources.frontend.schemas.js +245 -75
  1371. package/dist/esm/core/resources/resources.frontend.schemas.js.map +1 -1
  1372. package/dist/esm/core/resources/rmm/HttpTransportAdapter.d.ts +9 -1
  1373. package/dist/esm/core/resources/rmm/HttpTransportAdapter.d.ts.map +1 -1
  1374. package/dist/esm/core/resources/rmm/HttpTransportAdapter.js +57 -22
  1375. package/dist/esm/core/resources/rmm/HttpTransportAdapter.js.map +1 -1
  1376. package/dist/esm/core/resources/rmm/RMMRegistry.d.ts.map +1 -1
  1377. package/dist/esm/core/resources/rmm/RMMRegistry.js +1 -0
  1378. package/dist/esm/core/resources/rmm/RMMRegistry.js.map +1 -1
  1379. package/dist/esm/core/resources/rmm/ResourceMutationManager.d.ts +3 -0
  1380. package/dist/esm/core/resources/rmm/ResourceMutationManager.d.ts.map +1 -1
  1381. package/dist/esm/core/resources/rmm/ResourceMutationManager.js +94 -35
  1382. package/dist/esm/core/resources/rmm/ResourceMutationManager.js.map +1 -1
  1383. package/dist/esm/core/resources/rmm/types.d.ts +58 -6
  1384. package/dist/esm/core/resources/rmm/types.d.ts.map +1 -1
  1385. package/dist/esm/core/resources/rmm/types.js +17 -0
  1386. package/dist/esm/core/resources/rmm/types.js.map +1 -1
  1387. package/dist/esm/core/resources/rmm/update-like-mutation-fallback.frontend.d.ts +43 -6
  1388. package/dist/esm/core/resources/rmm/update-like-mutation-fallback.frontend.d.ts.map +1 -1
  1389. package/dist/esm/core/resources/rmm/update-like-mutation-fallback.frontend.js +49 -6
  1390. package/dist/esm/core/resources/rmm/update-like-mutation-fallback.frontend.js.map +1 -1
  1391. package/dist/esm/core/resources/rmm/useResourceMutationManager.d.ts.map +1 -1
  1392. package/dist/esm/core/resources/rmm/useResourceMutationManager.js +2 -0
  1393. package/dist/esm/core/resources/rmm/useResourceMutationManager.js.map +1 -1
  1394. package/dist/esm/core/resources/rmm/useResourceRMM.d.ts +2 -0
  1395. package/dist/esm/core/resources/rmm/useResourceRMM.d.ts.map +1 -1
  1396. package/dist/esm/core/resources/rmm/useResourceRMM.js +10 -3
  1397. package/dist/esm/core/resources/rmm/useResourceRMM.js.map +1 -1
  1398. package/dist/esm/core/resources/temporal-day-groups.frontend.utils.d.ts +22 -0
  1399. package/dist/esm/core/resources/temporal-day-groups.frontend.utils.d.ts.map +1 -0
  1400. package/dist/esm/core/resources/temporal-day-groups.frontend.utils.js +31 -0
  1401. package/dist/esm/core/resources/temporal-day-groups.frontend.utils.js.map +1 -0
  1402. package/dist/esm/core/resources/ui-behavior-presentation.frontend.utils.d.ts +36 -0
  1403. package/dist/esm/core/resources/ui-behavior-presentation.frontend.utils.d.ts.map +1 -0
  1404. package/dist/esm/core/resources/ui-behavior-presentation.frontend.utils.js +88 -0
  1405. package/dist/esm/core/resources/ui-behavior-presentation.frontend.utils.js.map +1 -0
  1406. package/dist/esm/core/resources/useBulkJobProgress.d.ts +6 -0
  1407. package/dist/esm/core/resources/useBulkJobProgress.d.ts.map +1 -1
  1408. package/dist/esm/core/resources/useBulkJobProgress.js +1 -0
  1409. package/dist/esm/core/resources/useBulkJobProgress.js.map +1 -1
  1410. package/dist/esm/core/resources/useCollectionFilterPresetScope.d.ts +14 -0
  1411. package/dist/esm/core/resources/useCollectionFilterPresetScope.d.ts.map +1 -0
  1412. package/dist/esm/core/resources/useCollectionFilterPresetScope.js +29 -0
  1413. package/dist/esm/core/resources/useCollectionFilterPresetScope.js.map +1 -0
  1414. package/dist/esm/core/resources/useHostlessResourceNavigation.d.ts +7 -6
  1415. package/dist/esm/core/resources/useHostlessResourceNavigation.d.ts.map +1 -1
  1416. package/dist/esm/core/resources/useHostlessResourceNavigation.js +35 -21
  1417. package/dist/esm/core/resources/useHostlessResourceNavigation.js.map +1 -1
  1418. package/dist/esm/core/resources/useOperationDirectExecution.d.ts.map +1 -1
  1419. package/dist/esm/core/resources/useOperationDirectExecution.js +25 -10
  1420. package/dist/esm/core/resources/useOperationDirectExecution.js.map +1 -1
  1421. package/dist/esm/core/resources/useRecordSharing.d.ts +58 -0
  1422. package/dist/esm/core/resources/useRecordSharing.d.ts.map +1 -0
  1423. package/dist/esm/core/resources/useRecordSharing.js +220 -0
  1424. package/dist/esm/core/resources/useRecordSharing.js.map +1 -0
  1425. package/dist/esm/core/resources/useResourceLabels.d.ts +4 -1
  1426. package/dist/esm/core/resources/useResourceLabels.d.ts.map +1 -1
  1427. package/dist/esm/core/resources/useResourceLabels.js +31 -32
  1428. package/dist/esm/core/resources/useResourceLabels.js.map +1 -1
  1429. package/dist/esm/core/resources/useResourceOperationActions.d.ts +23 -4
  1430. package/dist/esm/core/resources/useResourceOperationActions.d.ts.map +1 -1
  1431. package/dist/esm/core/resources/useResourceOperationActions.js +219 -51
  1432. package/dist/esm/core/resources/useResourceOperationActions.js.map +1 -1
  1433. package/dist/esm/core/resources/useResourceOperationOutcomeEmitter.d.ts +10 -1
  1434. package/dist/esm/core/resources/useResourceOperationOutcomeEmitter.d.ts.map +1 -1
  1435. package/dist/esm/core/resources/useResourceOperationOutcomeEmitter.js +7 -2
  1436. package/dist/esm/core/resources/useResourceOperationOutcomeEmitter.js.map +1 -1
  1437. package/dist/esm/core/resources/useResourceOperationSurface.d.ts +5 -5
  1438. package/dist/esm/core/resources/useResourceOperationSurface.d.ts.map +1 -1
  1439. package/dist/esm/core/resources/useResourceOperationSurface.js +5 -4
  1440. package/dist/esm/core/resources/useResourceOperationSurface.js.map +1 -1
  1441. package/dist/esm/core/resources/useResourceSelection.d.ts +6 -0
  1442. package/dist/esm/core/resources/useResourceSelection.d.ts.map +1 -1
  1443. package/dist/esm/core/resources/useResourceSelection.js.map +1 -1
  1444. package/dist/esm/core/resources/utils/operation-enabled-condition.frontend.utils.d.ts +47 -0
  1445. package/dist/esm/core/resources/utils/operation-enabled-condition.frontend.utils.d.ts.map +1 -1
  1446. package/dist/esm/core/resources/utils/operation-enabled-condition.frontend.utils.js +117 -4
  1447. package/dist/esm/core/resources/utils/operation-enabled-condition.frontend.utils.js.map +1 -1
  1448. package/dist/esm/core/runtime/AppRouter.d.ts.map +1 -1
  1449. package/dist/esm/core/runtime/AppRouter.js +5 -2
  1450. package/dist/esm/core/runtime/AppRouter.js.map +1 -1
  1451. package/dist/esm/core/runtime/ApplicationMainContext.d.ts +10 -1
  1452. package/dist/esm/core/runtime/ApplicationMainContext.d.ts.map +1 -1
  1453. package/dist/esm/core/runtime/ApplicationMainContext.js +17 -2
  1454. package/dist/esm/core/runtime/ApplicationMainContext.js.map +1 -1
  1455. package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts +5 -0
  1456. package/dist/esm/core/runtime/domain-module.frontend.definitions.d.ts.map +1 -1
  1457. package/dist/esm/core/runtime/domain-module.frontend.definitions.js +4 -2
  1458. package/dist/esm/core/runtime/domain-module.frontend.definitions.js.map +1 -1
  1459. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts +19 -3
  1460. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts.map +1 -1
  1461. package/dist/esm/core/runtime/routes.frontend.definitions.js +23 -7
  1462. package/dist/esm/core/runtime/routes.frontend.definitions.js.map +1 -1
  1463. package/dist/esm/core/runtime/start-application.frontend.service.d.ts.map +1 -1
  1464. package/dist/esm/core/runtime/start-application.frontend.service.js +3 -1
  1465. package/dist/esm/core/runtime/start-application.frontend.service.js.map +1 -1
  1466. package/dist/esm/core/scope/AppScopeContext.d.ts +7 -2
  1467. package/dist/esm/core/scope/AppScopeContext.d.ts.map +1 -1
  1468. package/dist/esm/core/scope/AppScopeContext.js +56 -10
  1469. package/dist/esm/core/scope/AppScopeContext.js.map +1 -1
  1470. package/dist/esm/core/security/ApplicationRoleTablesContext.d.ts +23 -0
  1471. package/dist/esm/core/security/ApplicationRoleTablesContext.d.ts.map +1 -0
  1472. package/dist/esm/core/security/ApplicationRoleTablesContext.js +27 -0
  1473. package/dist/esm/core/security/ApplicationRoleTablesContext.js.map +1 -0
  1474. package/dist/esm/core/security/AuthSessionContext.d.ts +26 -8
  1475. package/dist/esm/core/security/AuthSessionContext.d.ts.map +1 -1
  1476. package/dist/esm/core/security/AuthSessionContext.js +81 -17
  1477. package/dist/esm/core/security/AuthSessionContext.js.map +1 -1
  1478. package/dist/esm/core/security/RouteOrganizationDecisionContext.d.ts +13 -0
  1479. package/dist/esm/core/security/RouteOrganizationDecisionContext.d.ts.map +1 -0
  1480. package/dist/esm/core/security/RouteOrganizationDecisionContext.js +12 -0
  1481. package/dist/esm/core/security/RouteOrganizationDecisionContext.js.map +1 -0
  1482. package/dist/esm/core/security/StepUpAuthContext.js +5 -5
  1483. package/dist/esm/core/security/StepUpAuthContext.js.map +1 -1
  1484. package/dist/esm/core/security/UserOrgsContext.d.ts +13 -0
  1485. package/dist/esm/core/security/UserOrgsContext.d.ts.map +1 -1
  1486. package/dist/esm/core/security/UserOrgsContext.js +272 -103
  1487. package/dist/esm/core/security/UserOrgsContext.js.map +1 -1
  1488. package/dist/esm/core/security/auth-redirect.frontend.utils.d.ts +1 -0
  1489. package/dist/esm/core/security/auth-redirect.frontend.utils.d.ts.map +1 -1
  1490. package/dist/esm/core/security/auth-redirect.frontend.utils.js +3 -2
  1491. package/dist/esm/core/security/auth-redirect.frontend.utils.js.map +1 -1
  1492. package/dist/esm/core/security/effective-permissions.frontend.utils.d.ts +43 -0
  1493. package/dist/esm/core/security/effective-permissions.frontend.utils.d.ts.map +1 -0
  1494. package/dist/esm/core/security/effective-permissions.frontend.utils.js +73 -0
  1495. package/dist/esm/core/security/effective-permissions.frontend.utils.js.map +1 -0
  1496. package/dist/esm/core/security/route-organization-access.frontend.utils.d.ts +175 -5
  1497. package/dist/esm/core/security/route-organization-access.frontend.utils.d.ts.map +1 -1
  1498. package/dist/esm/core/security/route-organization-access.frontend.utils.js +147 -6
  1499. package/dist/esm/core/security/route-organization-access.frontend.utils.js.map +1 -1
  1500. package/dist/esm/core/security/security.frontend.schemas.d.ts +17 -5
  1501. package/dist/esm/core/security/security.frontend.schemas.d.ts.map +1 -1
  1502. package/dist/esm/core/security/security.frontend.schemas.js +0 -5
  1503. package/dist/esm/core/security/security.frontend.schemas.js.map +1 -1
  1504. package/dist/esm/core/security/useApplicationRoleTables.d.ts +3 -0
  1505. package/dist/esm/core/security/useApplicationRoleTables.d.ts.map +1 -0
  1506. package/dist/esm/core/security/useApplicationRoleTables.js +11 -0
  1507. package/dist/esm/core/security/useApplicationRoleTables.js.map +1 -0
  1508. package/dist/esm/core/security/useRouteOrganizationAccess.d.ts +9 -0
  1509. package/dist/esm/core/security/useRouteOrganizationAccess.d.ts.map +1 -1
  1510. package/dist/esm/core/security/useRouteOrganizationAccess.js +31 -10
  1511. package/dist/esm/core/security/useRouteOrganizationAccess.js.map +1 -1
  1512. package/dist/esm/core/security/useRouteOrganizationFollow.d.ts +24 -0
  1513. package/dist/esm/core/security/useRouteOrganizationFollow.d.ts.map +1 -0
  1514. package/dist/esm/core/security/useRouteOrganizationFollow.js +76 -0
  1515. package/dist/esm/core/security/useRouteOrganizationFollow.js.map +1 -0
  1516. package/dist/esm/core/ui/UIContext.d.ts +25 -2
  1517. package/dist/esm/core/ui/UIContext.d.ts.map +1 -1
  1518. package/dist/esm/core/ui/UIContext.js +49 -37
  1519. package/dist/esm/core/ui/UIContext.js.map +1 -1
  1520. package/dist/esm/core/ui/design-token.utils.d.ts +0 -11
  1521. package/dist/esm/core/ui/design-token.utils.d.ts.map +1 -1
  1522. package/dist/esm/core/ui/design-token.utils.js +51 -83
  1523. package/dist/esm/core/ui/design-token.utils.js.map +1 -1
  1524. package/dist/esm/core/ui/themes/default.theme.d.ts.map +1 -1
  1525. package/dist/esm/core/ui/themes/default.theme.js +151 -59
  1526. package/dist/esm/core/ui/themes/default.theme.js.map +1 -1
  1527. package/dist/esm/core/ui/themes/focus-indicator.d.ts +221 -0
  1528. package/dist/esm/core/ui/themes/focus-indicator.d.ts.map +1 -0
  1529. package/dist/esm/core/ui/themes/focus-indicator.js +229 -0
  1530. package/dist/esm/core/ui/themes/focus-indicator.js.map +1 -0
  1531. package/dist/esm/core/ui/ui.frontend.schemas.d.ts +7 -0
  1532. package/dist/esm/core/ui/ui.frontend.schemas.d.ts.map +1 -1
  1533. package/dist/esm/core/ui/useThemePreferenceControl.d.ts.map +1 -1
  1534. package/dist/esm/core/ui/useThemePreferenceControl.js +1 -2
  1535. package/dist/esm/core/ui/useThemePreferenceControl.js.map +1 -1
  1536. package/dist/esm/index.d.ts +34 -0
  1537. package/dist/esm/index.d.ts.map +1 -1
  1538. package/dist/esm/index.js +45 -7
  1539. package/dist/esm/index.js.map +1 -1
  1540. package/dist/esm/tailwind/index.d.ts.map +1 -1
  1541. package/dist/esm/tailwind/index.js +3 -0
  1542. package/dist/esm/tailwind/index.js.map +1 -1
  1543. package/dist/esm/testing/app-shell-placement-coverage.d.ts.map +1 -1
  1544. package/dist/esm/testing/app-shell-placement-coverage.js +6 -2
  1545. package/dist/esm/testing/app-shell-placement-coverage.js.map +1 -1
  1546. package/dist/esm/testing/mock-builders.d.ts +13 -1
  1547. package/dist/esm/testing/mock-builders.d.ts.map +1 -1
  1548. package/dist/esm/testing/mock-builders.js +35 -1
  1549. package/dist/esm/testing/mock-builders.js.map +1 -1
  1550. package/dist/esm/testing/rmm-helpers.d.ts +5 -3
  1551. package/dist/esm/testing/rmm-helpers.d.ts.map +1 -1
  1552. package/dist/esm/testing/rmm-helpers.js +3 -0
  1553. package/dist/esm/testing/rmm-helpers.js.map +1 -1
  1554. package/dist/esm/testing/test-providers.d.ts.map +1 -1
  1555. package/dist/esm/testing/test-providers.js +3 -0
  1556. package/dist/esm/testing/test-providers.js.map +1 -1
  1557. package/package.json +7 -6
  1558. package/dist/esm/components/flows-actors/flow-node.d.ts +0 -28
  1559. package/dist/esm/components/flows-actors/flow-node.d.ts.map +0 -1
  1560. package/dist/esm/components/flows-actors/flow-node.js +0 -115
  1561. package/dist/esm/components/flows-actors/flow-node.js.map +0 -1
  1562. package/dist/esm/components/resources/CollectionSelectionHeaderRail.d.ts +0 -30
  1563. package/dist/esm/components/resources/CollectionSelectionHeaderRail.d.ts.map +0 -1
  1564. package/dist/esm/components/resources/CollectionSelectionHeaderRail.js +0 -17
  1565. package/dist/esm/components/resources/CollectionSelectionHeaderRail.js.map +0 -1
  1566. package/dist/tsconfig.build.tsbuildinfo +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Auth_ChatIdentityLink.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_ChatIdentityLink.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AACpH,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,+BAA+B,EAC/B,4BAA4B,EAC5B,gBAAgB,EAChB,4BAA4B,EAC5B,kCAAkC,EAClC,yBAAyB,GAE1B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,iFAAiF,CAAC;AAC1H,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,MAAM,gDAAgD,CAAC;AACtE,OAAO,E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EAChC,GAAG,KAAK,EACgE;IACxE,MAAM,SAAS,GAAG,uBAAuB,CACvC,SAAS,EACT,uBAAuB,CACxB,CAAC,MAAM,CAAC,CAAC;IACV,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC","sourcesContent":["import React, { useCallback, useEffect, useRef, useState } from 'react';\nimport { Navigate, useNavigate, useSearchParams } from 'react-router-dom';\nimport { ChatIdentityLinkLabel, CorePresetNames, FrontendComponentType } from '@wildo-ai/presets-components-models';\nimport {\n CHAT_IDENTITY_LINK_PAGE_PATH,\n ChatIdentityLinkPageQueryParam,\n ChatIdentityLinkPreviewStanding,\n ChatIdentityLinks_Operations,\n CoreResourceType,\n ResourceOperationVariantType,\n ResourcesConfig_OperationPathUtils,\n parseChatIdentityLinkHost,\n type ChatIdentityLinkPreview,\n} from '@wildo-ai/saas-models';\nimport { ComponentPresetProps } from '~wildo-frontend-lib/core/components-registry/component-registry.frontend.schemas';\nimport { createComponentResolver } from '~wildo-frontend-lib/core/components-registry/component-resolver.frontend.helper';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport { Heading } from '~wildo-frontend-lib/components/typography/heading';\nimport { Text } from '~wildo-frontend-lib/components/typography/text';\nimport { Alert, AlertDescription } from '~wildo-frontend-lib/components/overlays/containers/alert';\nimport { LoadingSpinner } from '~wildo-frontend-lib/components/feedback/loading-spinner';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { useResourceRegistry } from '~wildo-frontend-lib/core/resources/useResourceRegistry';\nimport { useUserFacingErrorMessage } from '~wildo-frontend-lib/core/errors/useUserFacingErrorMessage';\nimport { useUserOrgs } from '~wildo-frontend-lib/core/security/useUserOrgs';\nimport { CommonRoutePaths } from '~wildo-frontend-lib/core/runtime/routes.frontend.definitions';\nimport { appendAuthRedirectToPath, buildAuthRedirectTarget } from '~wildo-frontend-lib/core/security/auth-redirect.frontend.utils';\nimport { ChatSignInCompletionOutcome, useChatSignInCompletion } from '~wildo-frontend-lib/core/external-providers/chat-sign-in-completion.frontend';\n\n/**\n * The chat-link page (#2660) — the body rendered by {@link AuthPage_ChatIdentityLink}.\n *\n * A chat bot (Slack, Microsoft Teams) answers a person it does not know yet with a one-time link to this page,\n * carrying the organization the bot is installed for and a token naming the person's chat account. The page:\n *\n * 1. sends a visitor who is not signed in to sign in, returning here with the same link;\n * 2. takes the token out of the address bar once the member is signed in. The sign-in page's own address still\n * carries the link on the way, which is one reason the token is single use and lasts fifteen minutes;\n * 3. asks `chatIdentityLinks.previewLink` which chat account the token names, WITHOUT using it;\n * 4. shows that account, with a warning to continue only if it is the member's own, and links it on an\n * explicit click (`chatIdentityLinks.completeLink`).\n *\n * The confirmation is the point of step 3. A link is obtained without the member meaning to in one way only:\n * someone else's chat account asks the bot for a link and sends it to the member. The account line then names THAT\n * account, and it is where the member can see it. Nothing completes on load.\n *\n * The vendor's ids are ALWAYS shown, under the names when there are names. A chat user sets their own display name and\n * a vendor does not require it to be unique, so in exactly that attack the name can read as the member's own; the ids\n * cannot be chosen. Even so, the confirmation is a check a hurried member can miss: the email sent once a link exists\n * (`SecurityAlertType.CHAT_ACCOUNT_LINKED`) is the backstop, and it points to where the member unlinks it.\n *\n * A chat host may open the page in a window of its OWN (Microsoft Teams' authentication window, for a message-extension\n * search) and wait to be told the sign-in ended. The link then carries a host marker (`ChatIdentityLinkPageQueryParam.HOST`),\n * read once with the link, so it survives both the sign-in round trip and the strip of the query. The page tells the\n * providers serving `FRONTEND_CHAT_SIGN_IN_COMPLETION` for that host (#2790), without knowing which host it is:\n * - a working link (completed now, or already linked to the member) → told SUCCEEDED at once, so the host can close\n * its window and carry on;\n * - anything else → told FAILED only when the member presses Close, so the explanation stays readable until then.\n * In the window of a host a provider SERVES, Close replaces \"back to the app\" and \"cancel\": going to the home page inside\n * the host's window would leave it open on the application. With no marker, or a marker no provider serves, nothing is\n * loaded and the page is unchanged.\n *\n * Copy is resolved through {@link ChatIdentityLinkLabel} (component `PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK`); the\n * label metadata lives in the companion-scanned `Auth_ChatIdentityLink.labels.ts`. A refusal from the backend\n * (expired, used, replaced, another organization) is shown through the error message it carries.\n */\n\n/** Where the page is in the link's life. */\nenum ChatLinkPageStatus {\n /** Reading which chat account the link names. */\n LOADING = 'loading',\n /** The account is shown; nothing is linked until the member confirms. */\n READY = 'ready',\n /** The member confirmed; the link is being completed. */\n LINKING = 'linking',\n /** The chat account now acts as the member. */\n LINKED = 'linked',\n /** The link cannot be used, or the page was opened without one. */\n ERROR = 'error',\n}\n\n/** Props for the chat-link page preset. Self-driven from the link's query and the session, so it takes none. */\nexport interface PublicLayoutPreset_ChatIdentityLink_DefaultProps {\n /** Reserved: the page is URL/session-driven and currently accepts no props. */\n readonly _selfDriven?: never;\n}\n\nconst COMPONENT = FrontendComponentType.PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK;\n\nfunction operationPathKey(operationIdentifier: ChatIdentityLinks_Operations): string {\n return ResourcesConfig_OperationPathUtils.createOperationPathKey({\n resourceIdentifier: CoreResourceType.CHAT_IDENTITY_LINKS,\n operationIdentifier,\n variantType: ResourceOperationVariantType.API_CALL,\n isOperationDefault: true,\n isBulkOperation: false,\n });\n}\n\n/** Default preset implementation for {@link FrontendComponentType.PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK}. */\nexport const PublicLayoutPreset_ChatIdentityLink_Default = (\n _props: PublicLayoutPreset_ChatIdentityLink_DefaultProps,\n): React.JSX.Element => {\n const { auth } = useUserOrgs();\n const accessToken = auth?.accessToken;\n const { tComponent, isReady, formatDateTime } = useI18n({ component: COMPONENT });\n const t = (key: ChatIdentityLinkLabel, params?: Record<string, string>): string => tComponent(COMPONENT, key, params);\n const { doOperation } = useResourceRegistry();\n const toUserFacingErrorMessage = useUserFacingErrorMessage();\n const navigate = useNavigate();\n const [searchParams, setSearchParams] = useSearchParams();\n\n // Read once: the token leaves the address bar as soon as the member is signed in (below).\n const [link] = useState(() => ({\n organizationId: searchParams.get(ChatIdentityLinkPageQueryParam.ORGANIZATION_ID),\n token: searchParams.get(ChatIdentityLinkPageQueryParam.TOKEN),\n host: parseChatIdentityLinkHost(searchParams.get(ChatIdentityLinkPageQueryParam.HOST)),\n }));\n const host = useChatSignInCompletion(link.host);\n const [status, setStatus] = useState<ChatLinkPageStatus>(ChatLinkPageStatus.LOADING);\n const [preview, setPreview] = useState<ChatIdentityLinkPreview | null>(null);\n const [failure, setFailure] = useState<string | null>(null);\n // A synchronous double click must not send two completions; the token is single use either way.\n const linkingRef = useRef(false);\n // The preview runs once per link, when the member is signed in. It keys on BEING signed in rather than on the access\n // token, because a session refresh hands out a new token and must not re-preview a link this page already spent. The\n // operation runner and the error mapper are read through refs so a provider handing out new function identities\n // cannot make the page ask again either.\n const doOperationRef = useRef(doOperation);\n doOperationRef.current = doOperation;\n const toMessageRef = useRef(toUserFacingErrorMessage);\n toMessageRef.current = toUserFacingErrorMessage;\n\n const requestFor = useCallback(\n () => ({ contextualParameters: { organizationId: link.organizationId ?? '' }, requestData: { token: link.token ?? '' } }),\n [link],\n );\n\n const signedIn = Boolean(accessToken);\n useEffect(() => {\n if (!signedIn) return; // the Navigate guard below sends the visitor to sign in first, link intact\n if (linkingRef.current) return; // completing or completed: the link is spent, there is nothing left to preview\n if (searchParams.has(ChatIdentityLinkPageQueryParam.TOKEN)) setSearchParams({}, { replace: true });\n if (!link.organizationId || !link.token) {\n setStatus(ChatLinkPageStatus.ERROR);\n setFailure(null);\n return;\n }\n let cancelled = false;\n setStatus(ChatLinkPageStatus.LOADING);\n doOperationRef.current(operationPathKey(ChatIdentityLinks_Operations.PREVIEW_LINK), requestFor())\n .then((answer: ChatIdentityLinkPreview) => {\n if (cancelled) return;\n setPreview(answer);\n setStatus(ChatLinkPageStatus.READY);\n })\n .catch((error: unknown) => {\n if (cancelled) return;\n setFailure(toMessageRef.current(error));\n setStatus(ChatLinkPageStatus.ERROR);\n });\n return () => {\n cancelled = true;\n };\n // `searchParams` is read for the strip only; re-running on its change would preview twice.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [signedIn, link, requestFor]);\n\n const confirm = useCallback(async () => {\n if (linkingRef.current) return;\n linkingRef.current = true;\n setStatus(ChatLinkPageStatus.LINKING);\n try {\n await doOperationRef.current(operationPathKey(ChatIdentityLinks_Operations.COMPLETE_LINK), requestFor());\n setStatus(ChatLinkPageStatus.LINKED);\n } catch (error) {\n linkingRef.current = false;\n setFailure(toMessageRef.current(error));\n setStatus(ChatLinkPageStatus.ERROR);\n }\n }, [requestFor]);\n\n // A working link is told to the host at once (see the module note); a failure only on Close.\n const linkWorks = status === ChatLinkPageStatus.LINKED\n || (status === ChatLinkPageStatus.READY && preview?.standing === ChatIdentityLinkPreviewStanding.LINKED_TO_YOU);\n const tellHost = host.tell;\n useEffect(() => {\n if (linkWorks) void tellHost(ChatSignInCompletionOutcome.SUCCEEDED);\n }, [linkWorks, tellHost]);\n\n /**\n * How the member leaves: home, as always; Close only in the window of a host a provider actually SERVES, telling it\n * how the sign-in ended. A marker no provider serves (the host's frontend facet not scoped here, or a marked link\n * opened elsewhere) keeps the way home: a Close that nothing answers would leave the member stuck.\n */\n const leaveButton = (labelInTab: ChatIdentityLinkLabel, className?: string) => (!host.hostServed\n ? <Button variant={ButtonVariants_Variant.OUTLINE} className={className} onClick={() => navigate(CommonRoutePaths.home)}>{t(labelInTab)}</Button>\n : (\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n className={className}\n // A Close that told nobody (a marked link opened outside the host's window, a provider that failed to load)\n // falls back to the way home, so the member is never left on a button that does nothing.\n onClick={() => {\n void tellHost(linkWorks ? ChatSignInCompletionOutcome.SUCCEEDED : ChatSignInCompletionOutcome.FAILED, { repeat: true })\n .then((told) => { if (told === 0) navigate(CommonRoutePaths.home); });\n }}\n >\n {t(ChatIdentityLinkLabel.CLOSE_HOST_WINDOW)}\n </Button>\n ));\n const backToApp = leaveButton(ChatIdentityLinkLabel.BACK_TO_APP);\n\n // Not signed in → sign in, returning to this exact link afterwards.\n if (!accessToken) {\n const target = buildAuthRedirectTarget({ pathname: CHAT_IDENTITY_LINK_PAGE_PATH, search: `?${searchParams.toString()}` });\n return <Navigate to={appendAuthRedirectToPath(CommonRoutePaths.login, target)} replace />;\n }\n\n if (!isReady || status === ChatLinkPageStatus.LOADING || status === ChatLinkPageStatus.LINKING) {\n return (\n <div className=\"py-region flex flex-col items-center gap-element\">\n <LoadingSpinner />\n {isReady && <Text>{t(status === ChatLinkPageStatus.LINKING ? ChatIdentityLinkLabel.LINKING : ChatIdentityLinkLabel.LOADING)}</Text>}\n </div>\n );\n }\n\n if (status === ChatLinkPageStatus.ERROR || !preview) {\n return (\n <div className=\"space-y-group\">\n <Heading>{t(ChatIdentityLinkLabel.ERROR_TITLE)}</Heading>\n <Alert variant=\"destructive\">\n <AlertDescription>{failure ?? t(ChatIdentityLinkLabel.ERROR_INCOMPLETE_LINK)}</AlertDescription>\n </Alert>\n {backToApp}\n </div>\n );\n }\n\n if (status === ChatLinkPageStatus.LINKED) {\n return (\n <div className=\"space-y-group text-center\">\n <Heading>{t(ChatIdentityLinkLabel.SUCCESS_TITLE)}</Heading>\n <Text>{t(ChatIdentityLinkLabel.SUCCESS_MESSAGE)}</Text>\n {backToApp}\n </div>\n );\n }\n\n if (preview.standing === ChatIdentityLinkPreviewStanding.LINKED_TO_YOU) {\n return (\n <div className=\"space-y-group text-center\">\n <Heading>{t(ChatIdentityLinkLabel.ALREADY_LINKED_TITLE)}</Heading>\n <Text>{t(ChatIdentityLinkLabel.ALREADY_LINKED)}</Text>\n {backToApp}\n </div>\n );\n }\n\n if (preview.standing === ChatIdentityLinkPreviewStanding.LINKED_TO_ANOTHER_MEMBER) {\n return (\n <div className=\"space-y-group\">\n <Heading>{t(ChatIdentityLinkLabel.LINKED_TO_ANOTHER_TITLE)}</Heading>\n <Alert variant=\"destructive\">\n <AlertDescription>{t(ChatIdentityLinkLabel.LINKED_TO_ANOTHER)}</AlertDescription>\n </Alert>\n {backToApp}\n </div>\n );\n }\n\n // The names when the vendor reported them, and the ids always: the names are the chat user's own choice.\n const accountNames = preview.chatUserDisplayName && preview.workspaceDisplayName\n ? t(ChatIdentityLinkLabel.ACCOUNT_NAMED, { chatUser: preview.chatUserDisplayName, workspace: preview.workspaceDisplayName })\n : undefined;\n const accountIds = t(ChatIdentityLinkLabel.ACCOUNT_IDS, { chatUserId: preview.chatUserId, workspaceId: preview.workspaceRef });\n\n return (\n <div className=\"space-y-group\">\n <div className=\"text-center space-y-item-xs\">\n <Heading>{t(ChatIdentityLinkLabel.TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(ChatIdentityLinkLabel.INTRO)}</Text>\n </div>\n <dl className=\"space-y-item-xs\">\n <dt><Text className=\"font-medium\">{t(ChatIdentityLinkLabel.ACCOUNT_LABEL)}</Text></dt>\n <dd className=\"space-y-item-xs\">\n {accountNames !== undefined && <Text>{accountNames}</Text>}\n <Text className=\"font-mono text-sm\">{accountIds}</Text>\n </dd>\n </dl>\n <Alert variant=\"warning\">\n <AlertDescription>{t(ChatIdentityLinkLabel.WARNING_NOT_YOURS)}</AlertDescription>\n </Alert>\n <Text className=\"text-sm\">{t(ChatIdentityLinkLabel.EXPIRES_AT, { expiresAt: formatDateTime(preview.expiresAt) })}</Text>\n <div className=\"flex gap-element\">\n {leaveButton(ChatIdentityLinkLabel.CANCEL, 'flex-1')}\n <Button variant={ButtonVariants_Variant.DEFAULT} className=\"flex-1\" onClick={confirm}>\n {t(ChatIdentityLinkLabel.CONFIRM)}\n </Button>\n </div>\n </div>\n );\n};\n\n/**\n * Preset-resolving wrapper for the chat-link page (mirrors every other `PUBLIC_LAYOUTS` page), so an application can\n * swap in its own through the component registry. {@link AuthPage_ChatIdentityLink} renders this wrapper.\n */\nexport function Auth_ChatIdentityLink({\n preset = CorePresetNames.DEFAULT,\n ...props\n}: PublicLayoutPreset_ChatIdentityLink_DefaultProps & ComponentPresetProps): React.JSX.Element {\n const Component = createComponentResolver<PublicLayoutPreset_ChatIdentityLink_DefaultProps>(\n COMPONENT,\n 'Auth_ChatIdentityLink',\n )(preset);\n return <Component {...props} />;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import { type LabellingUnitaryDef } from '@wildo-ai/presets-components-models';
2
+ export declare const PublicLayoutsChatIdentityLinkLabels: LabellingUnitaryDef[];
3
+ //# sourceMappingURL=Auth_ChatIdentityLink.labels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Auth_ChatIdentityLink.labels.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_ChatIdentityLink.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAM7C,eAAO,MAAM,mCAAmC,EAAE,mBAAmB,EA0CpE,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { ChatIdentityLinkLabel, FrontendComponentType, LabelKind, registerComponentLabels, } from '@wildo-ai/presets-components-models';
2
+ // Companion-only label metadata for the chat-link page (#2660): keys + params + per-key purpose / kind. Statically
3
+ // scanned by the dev companion to plan `components.PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.*` label generation; NOT
4
+ // imported at runtime, so these description strings never ship in the browser bundle.
5
+ export const PublicLayoutsChatIdentityLinkLabels = [
6
+ { ref: ChatIdentityLinkLabel.TITLE, kind: LabelKind.HEADING, purpose: 'Heading of the page where a signed-in member links a chat account (Slack, Microsoft Teams) to themselves' },
7
+ { ref: ChatIdentityLinkLabel.INTRO, kind: LabelKind.DESCRIPTION, purpose: 'Explains that once linked, what the chat account approves or asks for in this organization runs with the member\'s own permissions' },
8
+ { ref: ChatIdentityLinkLabel.LOADING, kind: LabelKind.MESSAGE, purpose: 'In-progress status while the page reads which chat account the link names' },
9
+ { ref: ChatIdentityLinkLabel.ACCOUNT_LABEL, kind: LabelKind.LABEL, purpose: 'Label of the line naming the chat account the link would connect' },
10
+ {
11
+ ref: ChatIdentityLinkLabel.ACCOUNT_NAMED,
12
+ kind: LabelKind.MESSAGE,
13
+ purpose: 'The chat account, as the chat vendor names the person and the workspace. Shown above the ids, never instead of them: a chat user sets their own name',
14
+ params: [
15
+ { key: 'chatUser', meaning: 'The person\'s name in the chat tool, as the chat vendor reported it' },
16
+ { key: 'workspace', meaning: 'The chat workspace\'s name, as the chat vendor reported it' },
17
+ ],
18
+ },
19
+ {
20
+ ref: ChatIdentityLinkLabel.ACCOUNT_IDS,
21
+ kind: LabelKind.MESSAGE,
22
+ purpose: 'The chat account by the chat vendor\'s own ids for the person and the workspace, always shown, so the member can check it against their own profile in the chat tool',
23
+ params: [
24
+ { key: 'chatUserId', meaning: 'The chat vendor\'s own id for the person' },
25
+ { key: 'workspaceId', meaning: 'The chat vendor\'s own id for the workspace' },
26
+ ],
27
+ },
28
+ { ref: ChatIdentityLinkLabel.EXPIRES_AT, kind: LabelKind.MESSAGE, purpose: 'Says until when the link can be used', params: [{ key: 'expiresAt', meaning: 'The moment the link stops working, already formatted for display' }] },
29
+ { ref: ChatIdentityLinkLabel.WARNING_NOT_YOURS, kind: LabelKind.MESSAGE, purpose: 'Warns the member to continue only if the named chat account is their own: if someone sent them the link, that person\'s chat account would act as them' },
30
+ { ref: ChatIdentityLinkLabel.CONFIRM, kind: LabelKind.BUTTON, purpose: 'Links the named chat account to the signed-in member' },
31
+ { ref: ChatIdentityLinkLabel.CANCEL, kind: LabelKind.BUTTON, purpose: 'Leaves without linking anything' },
32
+ { ref: ChatIdentityLinkLabel.LINKING, kind: LabelKind.MESSAGE, purpose: 'In-progress status while the link is being completed' },
33
+ { ref: ChatIdentityLinkLabel.SUCCESS_TITLE, kind: LabelKind.HEADING, purpose: 'Heading once the chat account is linked to the member' },
34
+ { ref: ChatIdentityLinkLabel.SUCCESS_MESSAGE, kind: LabelKind.MESSAGE, purpose: 'Tells the member they can go back to their chat, where the account now acts as them' },
35
+ { ref: ChatIdentityLinkLabel.ALREADY_LINKED_TITLE, kind: LabelKind.HEADING, purpose: 'Heading when the chat account is already linked to the member' },
36
+ { ref: ChatIdentityLinkLabel.ALREADY_LINKED, kind: LabelKind.MESSAGE, purpose: 'Says nothing needs doing: the chat account already acts as the member' },
37
+ { ref: ChatIdentityLinkLabel.LINKED_TO_ANOTHER_TITLE, kind: LabelKind.HEADING, purpose: 'Heading when the chat account is linked to a different member' },
38
+ { ref: ChatIdentityLinkLabel.LINKED_TO_ANOTHER, kind: LabelKind.MESSAGE, purpose: 'Explains that the other member, or an administrator, must unlink the chat account before it can be linked again' },
39
+ { ref: ChatIdentityLinkLabel.ERROR_TITLE, kind: LabelKind.HEADING, purpose: 'Heading when the link cannot be used (expired, already used, replaced, or for another organization)' },
40
+ { ref: ChatIdentityLinkLabel.ERROR_INCOMPLETE_LINK, kind: LabelKind.MESSAGE, purpose: 'Error when the page was opened without the organization or the token the bot\'s link carries' },
41
+ { ref: ChatIdentityLinkLabel.BACK_TO_APP, kind: LabelKind.BUTTON, purpose: 'Goes to the application\'s home page' },
42
+ {
43
+ ref: ChatIdentityLinkLabel.CLOSE_HOST_WINDOW,
44
+ kind: LabelKind.BUTTON,
45
+ purpose: 'Shown instead of going home when a chat app (Microsoft Teams) opened this page in its own sign-in window: closes that window and returns to the chat',
46
+ },
47
+ ];
48
+ registerComponentLabels(FrontendComponentType.PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK, PublicLayoutsChatIdentityLinkLabels);
49
+ //# sourceMappingURL=Auth_ChatIdentityLink.labels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Auth_ChatIdentityLink.labels.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_ChatIdentityLink.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,SAAS,EAET,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAE7C,mHAAmH;AACnH,8GAA8G;AAC9G,sFAAsF;AAEtF,MAAM,CAAC,MAAM,mCAAmC,GAA0B;IACxE,EAAE,G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BAAqB,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,8FAA8F,EAAE;IACtL,EAAE,GAAG,EAAE,qBAAqB,CAAC,WAAW,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,sCAAsC,EAAE;IACnH;QACE,GAAG,EAAE,qBAAqB,CAAC,iBAAiB;QAC5C,IAAI,EAAE,SAAS,CAAC,MAAM;QACtB,OAAO,EAAE,sJAAsJ;KAChK;CACF,CAAC;AAEF,uBAAuB,CAAC,qBAAqB,CAAC,iCAAiC,EAAE,mCAAmC,CAAC,CAAC","sourcesContent":["import {\n ChatIdentityLinkLabel,\n FrontendComponentType,\n LabelKind,\n type LabellingUnitaryDef,\n registerComponentLabels,\n} from '@wildo-ai/presets-components-models';\n\n// Companion-only label metadata for the chat-link page (#2660): keys + params + per-key purpose / kind. Statically\n// scanned by the dev companion to plan `components.PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.*` label generation; NOT\n// imported at runtime, so these description strings never ship in the browser bundle.\n\nexport const PublicLayoutsChatIdentityLinkLabels: LabellingUnitaryDef[] = [\n { ref: ChatIdentityLinkLabel.TITLE, kind: LabelKind.HEADING, purpose: 'Heading of the page where a signed-in member links a chat account (Slack, Microsoft Teams) to themselves' },\n { ref: ChatIdentityLinkLabel.INTRO, kind: LabelKind.DESCRIPTION, purpose: 'Explains that once linked, what the chat account approves or asks for in this organization runs with the member\\'s own permissions' },\n { ref: ChatIdentityLinkLabel.LOADING, kind: LabelKind.MESSAGE, purpose: 'In-progress status while the page reads which chat account the link names' },\n { ref: ChatIdentityLinkLabel.ACCOUNT_LABEL, kind: LabelKind.LABEL, purpose: 'Label of the line naming the chat account the link would connect' },\n {\n ref: ChatIdentityLinkLabel.ACCOUNT_NAMED,\n kind: LabelKind.MESSAGE,\n purpose: 'The chat account, as the chat vendor names the person and the workspace. Shown above the ids, never instead of them: a chat user sets their own name',\n params: [\n { key: 'chatUser', meaning: 'The person\\'s name in the chat tool, as the chat vendor reported it' },\n { key: 'workspace', meaning: 'The chat workspace\\'s name, as the chat vendor reported it' },\n ],\n },\n {\n ref: ChatIdentityLinkLabel.ACCOUNT_IDS,\n kind: LabelKind.MESSAGE,\n purpose: 'The chat account by the chat vendor\\'s own ids for the person and the workspace, always shown, so the member can check it against their own profile in the chat tool',\n params: [\n { key: 'chatUserId', meaning: 'The chat vendor\\'s own id for the person' },\n { key: 'workspaceId', meaning: 'The chat vendor\\'s own id for the workspace' },\n ],\n },\n { ref: ChatIdentityLinkLabel.EXPIRES_AT, kind: LabelKind.MESSAGE, purpose: 'Says until when the link can be used', params: [{ key: 'expiresAt', meaning: 'The moment the link stops working, already formatted for display' }] },\n { ref: ChatIdentityLinkLabel.WARNING_NOT_YOURS, kind: LabelKind.MESSAGE, purpose: 'Warns the member to continue only if the named chat account is their own: if someone sent them the link, that person\\'s chat account would act as them' },\n { ref: ChatIdentityLinkLabel.CONFIRM, kind: LabelKind.BUTTON, purpose: 'Links the named chat account to the signed-in member' },\n { ref: ChatIdentityLinkLabel.CANCEL, kind: LabelKind.BUTTON, purpose: 'Leaves without linking anything' },\n { ref: ChatIdentityLinkLabel.LINKING, kind: LabelKind.MESSAGE, purpose: 'In-progress status while the link is being completed' },\n { ref: ChatIdentityLinkLabel.SUCCESS_TITLE, kind: LabelKind.HEADING, purpose: 'Heading once the chat account is linked to the member' },\n { ref: ChatIdentityLinkLabel.SUCCESS_MESSAGE, kind: LabelKind.MESSAGE, purpose: 'Tells the member they can go back to their chat, where the account now acts as them' },\n { ref: ChatIdentityLinkLabel.ALREADY_LINKED_TITLE, kind: LabelKind.HEADING, purpose: 'Heading when the chat account is already linked to the member' },\n { ref: ChatIdentityLinkLabel.ALREADY_LINKED, kind: LabelKind.MESSAGE, purpose: 'Says nothing needs doing: the chat account already acts as the member' },\n { ref: ChatIdentityLinkLabel.LINKED_TO_ANOTHER_TITLE, kind: LabelKind.HEADING, purpose: 'Heading when the chat account is linked to a different member' },\n { ref: ChatIdentityLinkLabel.LINKED_TO_ANOTHER, kind: LabelKind.MESSAGE, purpose: 'Explains that the other member, or an administrator, must unlink the chat account before it can be linked again' },\n { ref: ChatIdentityLinkLabel.ERROR_TITLE, kind: LabelKind.HEADING, purpose: 'Heading when the link cannot be used (expired, already used, replaced, or for another organization)' },\n { ref: ChatIdentityLinkLabel.ERROR_INCOMPLETE_LINK, kind: LabelKind.MESSAGE, purpose: 'Error when the page was opened without the organization or the token the bot\\'s link carries' },\n { ref: ChatIdentityLinkLabel.BACK_TO_APP, kind: LabelKind.BUTTON, purpose: 'Goes to the application\\'s home page' },\n {\n ref: ChatIdentityLinkLabel.CLOSE_HOST_WINDOW,\n kind: LabelKind.BUTTON,\n purpose: 'Shown instead of going home when a chat app (Microsoft Teams) opened this page in its own sign-in window: closes that window and returns to the chat',\n },\n];\n\nregisterComponentLabels(FrontendComponentType.PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK, PublicLayoutsChatIdentityLinkLabels);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Auth_Invitation.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_Invitation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAqDjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kFAAkF,CAAC;AAwRxH,MAAM,WAAW,8CAA8C;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,yCAAyC,GAAI,mBAGvD,8CAA8C,KAAG,KAAK,CAAC,GAAG,CAAC,OAmnB7D,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAAE,MAAgC,EAAE,GAAG,KAAK,EAAE,EAAE,8CAA8C,GAAG,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAGxK"}
1
+ {"version":3,"file":"Auth_Invitation.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_Invitation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAsDjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kFAAkF,CAAC;AAwRxH,MAAM,WAAW,8CAA8C;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,yCAAyC,GAAI,mBAGvD,8CAA8C,KAAG,KAAK,CAAC,GAAG,CAAC,OA2nB7D,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAAE,MAAgC,EAAE,GAAG,KAAK,EAAE,EAAE,8CAA8C,GAAG,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAGxK"}
@@ -20,6 +20,7 @@ import { SubmitButton } from '../../components/resources/skeleton/SubmitButton.j
20
20
  import { LoadingSpinner } from '../../components/feedback/loading-spinner.js';
21
21
  import { Heading } from '../../components/typography/heading.js';
22
22
  import { AuthSecondaryLink } from '../../components/auth/utils/AuthSecondaryLink.js';
23
+ import { AuthPrivacyNoticeLink } from '../../components/auth/utils/AuthPrivacyNoticeLink.js';
23
24
  import { Text } from '../../components/typography/text.js';
24
25
  import { CommonRoutePaths } from '../../core/runtime/routes.frontend.definitions.js';
25
26
  import { useI18n } from '../../core/i18n/useI18n.js';
@@ -545,7 +546,7 @@ export const PublicLayoutPreset_UserInvitation_Default = ({ token, email, }) =>
545
546
  // SCIM-managed org → informational only, NO password/method form (locked decision:
546
547
  // the directory is the identity authority, so no local credential is set here).
547
548
  if (invitationInfo.managementMode === InvitationManagementMode.SCIM) {
548
- return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "text-center space-y-item-xs mb-group", children: [_jsx(Heading, { children: t(UserInvitationLabel.SCIM_MANAGED_TITLE) }), _jsx(Text, { className: "max-w-sm mx-auto", children: t(UserInvitationLabel.SCIM_MANAGED_MESSAGE) }), inviteeEmail && (_jsx(Text, { className: "text-sm text-muted-foreground", children: inviteeEmail }))] }), declineError && (_jsx(Alert, { variant: "destructive", className: "mb-group", children: _jsx(AlertDescription, { children: declineError }) })), _jsxs("div", { className: "text-center mt-group space-y-item-sm", children: [_jsx(Button, { variant: ButtonVariants_Variant.OUTLINE, onClick: handleDecline, disabled: isDeclining, className: "w-full", children: isDeclining ? t(UserInvitationLabel.DECLINING_INVITATION) : t(UserInvitationLabel.DECLINE_INVITATION) }), _jsx(AuthSecondaryLink, { href: loginPath, children: t(UserInvitationLabel.LOGIN_LINK) })] })] }));
549
+ return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "text-center space-y-item-xs mb-group", children: [_jsx(Heading, { children: t(UserInvitationLabel.SCIM_MANAGED_TITLE) }), _jsx(Text, { className: "max-w-sm mx-auto", children: t(UserInvitationLabel.SCIM_MANAGED_MESSAGE) }), inviteeEmail && (_jsx(Text, { className: "text-sm text-muted-foreground", children: inviteeEmail }))] }), declineError && (_jsx(Alert, { variant: "destructive", className: "mb-group", children: _jsx(AlertDescription, { children: declineError }) })), _jsxs("div", { className: "text-center mt-group space-y-item-sm", children: [_jsx(Button, { variant: ButtonVariants_Variant.OUTLINE, onClick: handleDecline, disabled: isDeclining, className: "w-full", children: isDeclining ? t(UserInvitationLabel.DECLINING_INVITATION) : t(UserInvitationLabel.DECLINE_INVITATION) }), _jsx(AuthSecondaryLink, { href: loginPath, children: t(UserInvitationLabel.LOGIN_LINK) }), _jsx(AuthPrivacyNoticeLink, { label: tAuth(UserAuthLabel.PRIVACY_NOTICE_LINK) })] })] }));
549
550
  }
550
551
  // OPEN / SSO org → the method chooser.
551
552
  return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "text-center space-y-item-xs mb-group", children: [_jsx(Heading, { children: t(UserInvitationLabel.TITLE) }), _jsx(Text, { className: "max-w-sm mx-auto", children: t(UserInvitationLabel.SUB_TITLE) }), invitationInfo.organizationName && (_jsx(Text, { className: "text-sm text-muted-foreground", children: invitationInfo.organizationName })), inviteeEmail && (_jsx(Text, { className: "text-sm text-muted-foreground", children: inviteeEmail }))] }), hasActionableMethod ? (_jsxs(_Fragment, { children: [_jsx(Text, { className: "text-sm text-muted-foreground text-center mb-element", children: t(UserInvitationLabel.METHOD_CHOICE_HINT) }), renderActiveMethod(), alternativeMethods.length > 0 && (_jsxs(_Fragment, { children: [_jsx(LabeledDivider, { label: tAuth(UserAuthLabel.OTHER_METHODS_DIVIDER) }), _jsx(AuthMethodChoiceList, { methods: alternativeMethods.map((method) => method.method),
@@ -570,7 +571,7 @@ export const PublicLayoutPreset_UserInvitation_Default = ({ token, email, }) =>
570
571
  resolved, yielding an empty set with mode OPEN. Route the invitee to the sign-in page,
571
572
  where email→domain SSO resolution works and the enterprise / OAuth JIT consumes the invite.
572
573
  */
573
- _jsx(Alert, { children: _jsx(AlertDescription, { children: t(UserInvitationLabel.NO_METHOD_AVAILABLE_HINT) }) })), declineError && (_jsx(Alert, { variant: "destructive", className: "mt-group", children: _jsx(AlertDescription, { children: declineError }) })), _jsxs("div", { className: "text-center mt-group space-y-item-sm", children: [_jsx(Button, { variant: ButtonVariants_Variant.OUTLINE, onClick: handleDecline, disabled: methodSubmitInFlight || isDeclining, className: "w-full", children: isDeclining ? t(UserInvitationLabel.DECLINING_INVITATION) : t(UserInvitationLabel.DECLINE_INVITATION) }), _jsx(AuthSecondaryLink, { href: loginPath, children: t(UserInvitationLabel.LOGIN_LINK) })] })] }));
574
+ _jsx(Alert, { children: _jsx(AlertDescription, { children: t(UserInvitationLabel.NO_METHOD_AVAILABLE_HINT) }) })), declineError && (_jsx(Alert, { variant: "destructive", className: "mt-group", children: _jsx(AlertDescription, { children: declineError }) })), _jsxs("div", { className: "text-center mt-group space-y-item-sm", children: [_jsx(Button, { variant: ButtonVariants_Variant.OUTLINE, onClick: handleDecline, disabled: methodSubmitInFlight || isDeclining, className: "w-full", children: isDeclining ? t(UserInvitationLabel.DECLINING_INVITATION) : t(UserInvitationLabel.DECLINE_INVITATION) }), _jsx(AuthSecondaryLink, { href: loginPath, children: t(UserInvitationLabel.LOGIN_LINK) }), _jsx(AuthPrivacyNoticeLink, { label: tAuth(UserAuthLabel.PRIVACY_NOTICE_LINK) })] })] }));
574
575
  };
575
576
  export function Auth_Invitation({ preset = CorePresetNames.DEFAULT, ...props }) {
576
577
  const Component = createComponentResolver(FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION, 'Auth_Invitation')(preset);
@@ -1 +1 @@
1
- {"version":3,"file":"Auth_Invitation.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_Invitation.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AACjI,OAAO,EACL,YAAY,EACZ,UAAU,EACV,SAAS,EACT,wBAAwB,EACxB,2BAA2B,GAM5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,aAAa,EAAE,MAAM,6DAA6D,CAAC;AAE5F,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AACnG,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,qEAAqE,CAAC;AACzI,OAAO,EAAE,+BAA+B,EAAE,MAAM,2EAA2E,CAAC;AAC5H,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MA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,CAAC;IAC3K,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC","sourcesContent":["import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { Navigate, useLocation } from 'react-router-dom';\nimport { useFormContext } from 'react-hook-form';\nimport { CorePresetNames, FrontendComponentType, UserAuthLabel, UserInvitationLabel } from '@wildo-ai/presets-components-models';\nimport {\n AuthNextStep,\n AuthMethod,\n AuthUtils,\n InvitationManagementMode,\n UserInvitationFormDtoSchema,\n type AuthenticationResponse,\n type AuthInvitationInfoResponse,\n type AvailableMethod,\n type PasswordPolicyRules,\n type UserInvitationFormDto,\n} from '@wildo-ai/saas-models';\nimport { ValidationMode } from '@wildo-ai/zod-decorators';\nimport { startRegistration } from '@simplewebauthn/browser';\nimport type { PublicKeyCredentialCreationOptionsJSON } from '@simplewebauthn/browser';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport { AutomatedForm } from '~wildo-frontend-lib/components/form/automated/AutomatedForm';\nimport { type FormMethods } from '~wildo-frontend-lib/components/form/Form';\nimport { Alert, AlertDescription } from '~wildo-frontend-lib/components/overlays/containers/alert';\nimport { PasswordStrengthIndicator, DEFAULT_PASSWORD_POLICY } from '~wildo-frontend-lib/components/auth/utils/PasswordStrengthIndicator';\nimport { CredentialUsernameAutofillField } from '~wildo-frontend-lib/components/auth/utils/CredentialUsernameAutofillField';\nimport { LabeledDivider } from '~wildo-frontend-lib/components/auth/utils/LabeledDivider';\nimport { AuthMethodChoiceList } from '~wildo-frontend-lib/components/auth/utils/AuthMethodChoiceList';\nimport { resolveAuthMethodChoiceLabel } from '~wildo-frontend-lib/components/auth/methods/auth-method-presentation';\nimport { FormField } from '~wildo-frontend-lib/components/form/automated/FormField';\nimport { FormLayout } from '~wildo-frontend-lib/components/resources/skeleton/FormLayout';\nimport { SubmitButton } from '~wildo-frontend-lib/components/resources/skeleton/SubmitButton';\nimport { LoadingSpinner } from '~wildo-frontend-lib/components/feedback/loading-spinner';\nimport { Heading } from '~wildo-frontend-lib/components/typography/heading';\nimport { AuthSecondaryLink } from '~wildo-frontend-lib/components/auth/utils/AuthSecondaryLink';\nimport { Text } from '~wildo-frontend-lib/components/typography/text';\nimport { CommonRoutePaths } from '~wildo-frontend-lib/core/runtime/routes.frontend.definitions';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { makeComponentLabelResolver } from '~wildo-frontend-lib/core/i18n/component-label-resolution.utils';\nimport { getManualCallsHttpClient } from '~wildo-frontend-lib/core/requests/wildo-http-client-manual-calls.frontend.service';\nimport { useAuthSession } from '~wildo-frontend-lib/core/security/useAuthSession';\nimport { useError } from '~wildo-frontend-lib/core/errors/useError';\nimport { useUserFacingErrorMessage } from '~wildo-frontend-lib/core/errors/useUserFacingErrorMessage';\nimport { useResolvedAuthConfig } from '~wildo-frontend-lib/core/security/useResolvedAuthConfig';\nimport { extractAuthRedirectFromSearch, resolvePostAuthRedirect } from '~wildo-frontend-lib/core/security/auth-redirect.frontend.utils';\nimport { useMfaContinuationNavigation } from '~wildo-frontend-lib/components/auth/utils/useMfaContinuationNavigation';\nimport {\n resolvePasswordViolationsToLabels,\n} from '~wildo-frontend-lib/components/auth/utils/resolvePasswordViolationsToLabels';\nimport {\n AUTH_METHOD_COMPONENTS,\n type AuthMethodComponentProps,\n} from '~wildo-frontend-lib/components/auth/methods/auth-method-components';\n\nimport { ComponentPresetProps } from '~wildo-frontend-lib/core/components-registry/component-registry.frontend.schemas';\nimport { createComponentResolver } from '~wildo-frontend-lib/core/components-registry/component-resolver.frontend.helper';\n\n/**\n * First-factor methods the PUBLIC invitation-accept chooser knows how to render.\n *\n * The invitation-info endpoint returns whatever the org allows for a joining member,\n * but the chooser can only surface methods that are usable BEFORE the invitee has an\n * account/session:\n * - `PASSWORD` / `MAGIC_LINK` / `PASSKEY` → invitation-specific accept sub-forms that drive\n * `acceptInvitation` (set a password / email a link / enroll a passkey). NOT the login\n * method components — those authenticate an EXISTING account, which an invitee lacks. In\n * particular the login magic-link (`magicLinkSend`) is ACTIVE-only and never accepts the\n * invite; the passkey login component authenticates an already-enrolled credential.\n * - `ORG_SAML` / `ORG_OPENID_CONNECT` / `EXTERNAL_OAUTH2` → the shared login method\n * components, which are account-agnostic (full-page redirect) and consume the `INVITED`\n * membership via enterprise-SSO JIT / OAuth JIT (email match on the live membership, no token).\n *\n * Session-bound MFA methods (`SMS_OTP` / `EMAIL_OTP` / `TOTP`) are intentionally\n * excluded — they need a session the invitee does not have.\n */\nconst INVITATION_RENDERABLE_METHODS: ReadonlySet<AuthMethod> = new Set([\n AuthMethod.PASSWORD,\n AuthMethod.ORG_SAML,\n AuthMethod.ORG_OPENID_CONNECT,\n AuthMethod.EXTERNAL_OAUTH2,\n AuthMethod.MAGIC_LINK,\n AuthMethod.PASSKEY,\n]);\n\n\ninterface InvitationFormTemplateProps {\n invitationEmail?: string;\n /**\n * The effective (org-merged) password policy the parent resolved from the\n * invitation-info response — the SAME policy the backend accept endpoint enforces —\n * falling back to the app-level policy. Passed in (not read from `useResolvedAuthConfig`\n * here) so the strength indicator matches what the org actually requires.\n */\n passwordPolicy: PasswordPolicyRules;\n}\n\n/**\n * Password-method accept form body — first/last name + optional password with the\n * strength indicator + a hidden username field for password-manager autofill.\n *\n * Rendered only when `PASSWORD` is the active chooser method. Password is OPTIONAL\n * here (a passwordless accept creates the account and the user adds a credential\n * later); the enclosing chooser owns the method-choice hint, so this template no\n * longer renders a standalone \"password is optional\" aside.\n */\nconst InvitationFormTemplate: React.FC<InvitationFormTemplateProps> = ({\n invitationEmail,\n passwordPolicy,\n}) => {\n const { formState } = useFormContext();\n const { tComponent, isReady } = useI18n({\n component: FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION,\n });\n\n const t = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION, key);\n\n if (!isReady) return null;\n\n return (\n <FormLayout>\n <CredentialUsernameAutofillField email={invitationEmail} />\n <FormField name=\"firstName\" />\n <FormField name=\"lastName\" />\n <FormField name=\"password\" />\n <FormField name=\"confirmPassword\" />\n\n <PasswordStrengthIndicator fieldName=\"password\" policy={passwordPolicy} t={t} />\n\n {formState.errors.root && (\n <Alert variant=\"destructive\">\n <AlertDescription>{formState.errors.root.message}</AlertDescription>\n </Alert>\n )}\n\n <SubmitButton\n label={t(UserInvitationLabel.ACCEPT_INVITATION)}\n submittingLabel={t(UserInvitationLabel.ACCEPTING_INVITATION)}\n fullWidth\n />\n </FormLayout>\n );\n};\n\n/**\n * Body of the magic-link accept sub-form (first/last name + send button). Split out so it\n * can read `formState.errors.root` via `useFormContext` inside the `AutomatedForm` provider.\n */\nconst InvitationMagicLinkTemplate: React.FC<{\n invitationEmail?: string;\n t: (key: string) => string;\n tAuth: (key: string) => string;\n}> = ({ invitationEmail, t, tAuth }) => {\n const { formState } = useFormContext();\n return (\n <FormLayout>\n {invitationEmail && (\n <Text className=\"text-sm text-muted-foreground text-center\">{invitationEmail}</Text>\n )}\n <FormField name=\"firstName\" />\n <FormField name=\"lastName\" />\n\n {formState.errors.root && (\n <Alert variant=\"destructive\">\n <AlertDescription>{formState.errors.root.message}</AlertDescription>\n </Alert>\n )}\n\n <SubmitButton\n label={tAuth(UserAuthLabel.MAGIC_LINK_SEND)}\n submittingLabel={tAuth(UserAuthLabel.MAGIC_LINK_SEND)}\n fullWidth\n />\n </FormLayout>\n );\n};\n\n/**\n * Magic-link ACCEPT sub-form — the invitation-aware counterpart of the login\n * `MagicLinkAuthMethod`.\n *\n * The login component sends a *login* magic link via `magicLinkSend`, which never accepts\n * the invitation: `sendMagicLink` resolves users ACTIVE-only, so a not-yet-activated\n * (`PENDING_INVITATION`) invitee gets no email, and `verifyMagicLink` rejects any non-ACTIVE\n * user and never flips the INVITED membership. So it is NOT reused here.\n *\n * Instead this drives the purpose-built `acceptInvitation({ credentialMethod: MAGIC_LINK })`\n * endpoint, which ACTIVATES the invitee + flips the membership FIRST and only THEN mints +\n * emails the link — so the eventual `verifyMagicLink` click (now ACTIVE) establishes the\n * session. First/last name are collected because the accept DTO requires them (the invitee's\n * profile is seeded at acceptance). No session is issued (the parent switches to a terminal\n * \"check your email\" state); the session lands when the invitee clicks the emailed link.\n */\nconst InvitationMagicLinkForm: React.FC<{\n invitationEmail?: string;\n disabled?: boolean;\n onSubmit: (firstName?: string, lastName?: string) => Promise<void>;\n t: (key: string) => string;\n tAuth: (key: string) => string;\n}> = ({ invitationEmail, disabled, onSubmit, t, tAuth }) => {\n const formMethodsRef = useRef<FormMethods | null>(null);\n const toUserFacingErrorMessage = useUserFacingErrorMessage();\n\n // Only the name fields — reuse the accept form schema's first/last (with their autocomplete\n // decorators); the credential is the emailed link, not a password.\n const schema = useMemo(\n () => UserInvitationFormDtoSchema.pick({ firstName: true, lastName: true }),\n [],\n );\n\n // On success the PARENT switches to the terminal \"check your email\" state — the accept consumed\n // the token + accepted the invite, so there is NO in-place \"sent\" / \"try another method\" state\n // (that would dead-end on the now-consumed token). Only errors are surfaced here.\n const handleSubmit = useCallback(async (data: { firstName?: string; lastName?: string }) => {\n formMethodsRef.current?.clearErrors('root');\n try {\n await onSubmit(data.firstName?.trim() || undefined, data.lastName?.trim() || undefined);\n } catch (e: unknown) {\n formMethodsRef.current?.setError('root', {\n type: 'server',\n message: toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)),\n });\n }\n }, [onSubmit, t, toUserFacingErrorMessage]);\n\n return (\n <AutomatedForm\n schema={schema}\n defaultValues={{ firstName: '', lastName: '' }}\n onSubmit={handleSubmit}\n validationMode={ValidationMode.ON_BLUR}\n disabled={disabled}\n onFormReady={(formMethods) => { formMethodsRef.current = formMethods; }}\n labels={{\n fields: {\n firstName: t(UserInvitationLabel.FIRST_NAME),\n lastName: t(UserInvitationLabel.LAST_NAME),\n },\n }}\n layoutTemplate={() => (\n <InvitationMagicLinkTemplate invitationEmail={invitationEmail} t={t} tAuth={tAuth} />\n )}\n />\n );\n};\n\n/**\n * Body of the passkey accept sub-form. The ceremony error is owned by the parent (the WebAuthn\n * flow runs outside the form), so it is passed in rather than read from `formState`.\n */\nconst InvitationPasskeyTemplate: React.FC<{\n invitationEmail?: string;\n error?: string | null;\n t: (key: string) => string;\n}> = ({ invitationEmail, error, t }) => (\n <FormLayout>\n {invitationEmail && (\n <Text className=\"text-sm text-muted-foreground text-center\">{invitationEmail}</Text>\n )}\n <Text className=\"text-sm text-muted-foreground text-center\">\n {t(UserInvitationLabel.PASSKEY_DESCRIPTION)}\n </Text>\n <FormField name=\"firstName\" />\n <FormField name=\"lastName\" />\n\n {error && (\n <Alert variant=\"destructive\">\n <AlertDescription>{error}</AlertDescription>\n </Alert>\n )}\n\n <SubmitButton\n label={t(UserInvitationLabel.PASSKEY_CREATE)}\n submittingLabel={t(UserInvitationLabel.PASSKEY_CREATING)}\n fullWidth\n />\n </FormLayout>\n);\n\n/**\n * Passkey ENROLL-at-accept sub-form (Phase 3). Collects the invitee's name (the accept DTO\n * requires it; the profile is seeded at acceptance), then hands off to the parent's `onSubmit`,\n * which drives `acceptInvitation({credentialMethod: PASSKEY})` — the invitation token bootstraps\n * the session and the response carries a WebAuthn registration challenge — runs the browser\n * ceremony (`startRegistration`), and completes it against the authenticated\n * `/auth/passkey/register/verify` route. Passkey enrollment is the GO-FORWARD credential, not\n * this session's authenticator, so a cancelled/failed ceremony is non-fatal (the invitee is\n * already signed in and can add a passkey later). Falls back to an informational message when the\n * browser has no WebAuthn support.\n */\nconst InvitationPasskeyForm: React.FC<{\n invitationEmail?: string;\n disabled?: boolean;\n error?: string | null;\n onSubmit: (firstName?: string, lastName?: string) => Promise<void>;\n t: (key: string) => string;\n}> = ({ invitationEmail, disabled, error, onSubmit, t }) => {\n const isSupported = typeof window !== 'undefined' && !!window.PublicKeyCredential;\n const schema = useMemo(\n () => UserInvitationFormDtoSchema.pick({ firstName: true, lastName: true }),\n [],\n );\n\n if (!isSupported) {\n return (\n <Alert>\n <AlertDescription>\n {t(UserInvitationLabel.PASSKEY_UNAVAILABLE_HINT)}\n </AlertDescription>\n </Alert>\n );\n }\n\n return (\n <AutomatedForm\n schema={schema}\n defaultValues={{ firstName: '', lastName: '' }}\n onSubmit={(data: { firstName?: string; lastName?: string }) =>\n onSubmit(data.firstName?.trim() || undefined, data.lastName?.trim() || undefined)}\n validationMode={ValidationMode.ON_BLUR}\n disabled={disabled}\n labels={{\n fields: {\n firstName: t(UserInvitationLabel.FIRST_NAME),\n lastName: t(UserInvitationLabel.LAST_NAME),\n },\n }}\n layoutTemplate={() => (\n <InvitationPasskeyTemplate invitationEmail={invitationEmail} error={error} t={t} />\n )}\n />\n );\n};\n\n// --- Contract ---\nexport interface PublicLayoutPreset_UserInvitation_DefaultProps {\n token?: string;\n email?: string;\n}\n\nexport const PublicLayoutPreset_UserInvitation_Default = ({\n token,\n email,\n}: PublicLayoutPreset_UserInvitation_DefaultProps): React.JSX.Element => {\n const { auth, acceptInvitation } = useAuthSession();\n // Central error handler — the password/passkey paths reach it via `acceptInvitation` (the context\n // calls `handleError` in its catch); the magic-link path calls the HTTP client directly, so it wires\n // `handleError` itself (below) to keep central logging + frontend-action execution symmetric.\n const { handleError } = useError();\n const toUserFacingErrorMessage = useUserFacingErrorMessage();\n const resolvedAuth = useResolvedAuthConfig();\n\n // Load BOTH label namespaces: the invitation chrome (`USER_INVITATION`) plus the\n // login method components' namespace (`USER_AUTH`) — the reused SAML/OIDC/OAuth2/\n // magic-link components label themselves from `UserAuthLabel.*`, and we hand them\n // `tAuth`. The array is memoized so `useI18n` doesn't re-request keys every render.\n const i18nComponents = useMemo(\n () => [\n FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION,\n FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH,\n ],\n [],\n );\n const { tComponent, isReady } = useI18n({ component: i18nComponents });\n const location = useLocation();\n const formMethodsRef = useRef<FormMethods | null>(null);\n const [isDeclining, setIsDeclining] = useState(false);\n const [declined, setDeclined] = useState(false);\n const [declineError, setDeclineError] = useState<string | null>(null);\n // Passkey enroll-at-accept runs a WebAuthn ceremony AFTER the session is issued. While it runs,\n // the `auth.accessToken` guard below is suppressed so the component isn't unmounted mid-ceremony.\n const [passkeyCeremonyInProgress, setPasskeyCeremonyInProgress] = useState(false);\n const [passkeyError, setPasskeyError] = useState<string | null>(null);\n // Magic-link accept issues NO session — it emails a link + accepts the invite (consuming the\n // token). On success we switch to a TERMINAL \"check your email\" state rather than leaving the\n // chooser visible (whose other methods + decline would now dead-end on the consumed token).\n const [magicLinkSent, setMagicLinkSent] = useState(false);\n // #1158: accepted without a session; the invitee's policy requires signing in separately.\n const [signInRequired, setSignInRequired] = useState(false);\n // In-flight flag for the magic-link accept (which bypasses the context's `auth.isLoading`), used\n // to gate the decline / alternative-method buttons so a click can't race the single-use token.\n const [magicLinkSubmitting, setMagicLinkSubmitting] = useState(false);\n\n // Invitation-info discovery (SSO/SCIM-aware method set) keyed by the token.\n const [invitationInfo, setInvitationInfo] = useState<AuthInvitationInfoResponse | null>(null);\n const [infoLoading, setInfoLoading] = useState(true);\n const [infoError, setInfoError] = useState<string | null>(null);\n // User-selected active method; `null` → fall back to the display-ordered default.\n const [activeMethod, setActiveMethod] = useState<AuthMethod | null>(null);\n\n // Memoized on `tComponent` so `t`/`tAuth` keep a STABLE identity across renders — the schema\n // (`invitationFormSchema`) and submit callbacks depend on them, and an unstable `t` would defeat\n // those memos and churn the sub-form props (risking focus loss on a mid-entry parent re-render).\n const t = useCallback((key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION, key), [tComponent]);\n // `tAuth` keeps `tComponent`'s key-path-on-miss behaviour, because THIS component\n // renders its result directly at five sites with no fallback (the magic-link\n // button, the \"link sent\" heading and body, the methods divider, the per-method\n // label). Normalizing it to `''` would turn a missing label into an invisible\n // button and an empty heading — strictly worse than a visible key path.\n const tAuth = useCallback(\n (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH, key),\n [tComponent],\n );\n\n // The auth-method prop contract's resolver, built through the shared seam so the\n // `USER_AUTH` namespace binding lives in one place. Same shape as `Auth_MfaChallenge`.\n const tAuthForMethodComponent = useMemo(\n () => makeComponentLabelResolver(tComponent, FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH),\n [tComponent],\n );\n const loginPath = CommonRoutePaths.login;\n\n // Where an already-authenticated invitee is forwarded — including one returning from\n // an SSO/OAuth JIT round-trip. Mirrors `Auth_Main`: the SSO/OAuth method returns to\n // this (auth) page, `Auth_AuthCallback` lands here after the code exchange, and this\n // resolves the post-auth destination (a `redirect` param if present, else app home).\n const postAuthRedirect = useMemo(() => resolvePostAuthRedirect(location.search), [location.search]);\n const authRedirectTarget = useMemo(() => extractAuthRedirectFromSearch(location.search), [location.search]);\n\n // The invitation-info response is authoritative for the invitee email; fall back to\n // the URL `email` param until it resolves.\n const inviteeEmail = invitationInfo?.inviteeEmail ?? email;\n\n // Prefer the org-merged policy the endpoint resolved (the SAME one the backend accept\n // validates against) so the strength indicator + client pre-check match the org's real\n // requirements; fall back to the app-level policy until invitation-info resolves / when\n // the endpoint couldn't resolve it.\n const passwordPolicy: PasswordPolicyRules = useMemo(\n () => invitationInfo?.passwordPolicy ?? resolvedAuth.passwordPolicy ?? DEFAULT_PASSWORD_POLICY,\n [invitationInfo?.passwordPolicy, resolvedAuth.passwordPolicy],\n );\n\n const invitationFormSchema = useMemo(() => UserInvitationFormDtoSchema.refine(\n (data) => !data.password || data.password === data.confirmPassword,\n { message: t(UserInvitationLabel.PASSWORD_MISMATCH), path: ['confirmPassword'] },\n ), [t]);\n\n const handleFormReady = useCallback((formMethods: FormMethods) => {\n formMethodsRef.current = formMethods;\n }, []);\n\n // Fetch invitation-info once per token. The endpoint reads the token WITHOUT\n // consuming it, so a consumed/expired/invalid token surfaces as an error state.\n useEffect(() => {\n // Only an UNauthenticated invitee needs method discovery. If already authenticated\n // (e.g. returning from an SSO/OAuth JIT round-trip that consumed the token), skip\n // the fetch — the `accessToken` guard below forwards to the app, and hitting the\n // now-consumed token would only 4xx.\n if (!token || auth.accessToken) {\n setInfoLoading(false);\n return;\n }\n let cancelled = false;\n setInfoLoading(true);\n setInfoError(null);\n getManualCallsHttpClient()\n .getInvitationInfo(token)\n .then((info) => {\n if (!cancelled) setInvitationInfo(info);\n })\n .catch((e: unknown) => {\n if (!cancelled) setInfoError(toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)));\n })\n .finally(() => {\n if (!cancelled) setInfoLoading(false);\n });\n return () => { cancelled = true; };\n // `t` is intentionally omitted from deps. It is memoized on the i18n component bundle (stable\n // across ordinary renders), so omitting it does NOT capture a per-render-stale closure; it is\n // omitted so a later i18n-bundle reload cannot re-trigger this one-shot discovery fetch. A rejected\n // fetch therefore labels the error with the `t` bound when the effect first ran — an acceptable\n // fallback in the narrow window before i18n is ready.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [token, auth.accessToken]);\n\n /*\n * Renderable first-factor methods from the org's policy, in the order the server sent (#1218).\n *\n * The invitation-info endpoint builds this list through the SAME `buildFirstFactorMethodsForPolicy` the sign-in\n * page's `identify` uses, which orders by `AUTH_METHOD_PRECEDENCE`. That is why this page can stop re-sorting and\n * why it inherits the fix rather than needing its own: filtering preserves order.\n */\n const availableMethods: AvailableMethod[] = useMemo(() => {\n const methods = invitationInfo?.availableFirstFactorMethods ?? [];\n return methods.filter((m) => INVITATION_RENDERABLE_METHODS.has(m.method as AuthMethod));\n }, [invitationInfo]);\n\n // Every renderable method is actionable (PASSKEY now enrolls at accept — Phase 3). The empty\n // state (route to sign-in) is reserved for an org exposing NO renderable first-factor method\n // (e.g. an SSO-only org whose per-connection lookup did not resolve).\n const hasActionableMethod = availableMethods.length > 0;\n\n // Any accept in flight — gates the decline / alternative-method buttons so a click can't race the\n // single-use token. Password sets `auth.isLoading` via the context; magic-link + passkey run\n // outside it (`magicLinkSubmitting` / `passkeyCeremonyInProgress`).\n const methodSubmitInFlight = auth.isLoading || magicLinkSubmitting || passkeyCeremonyInProgress;\n\n // Default to the first renderable method in display order.\n const defaultMethod = useMemo(\n () => (availableMethods[0]?.method as AuthMethod | undefined) ?? null,\n [availableMethods],\n );\n\n const currentActiveMethod = activeMethod ?? defaultMethod;\n const alternativeMethods = availableMethods.filter((m) => m.method !== currentActiveMethod);\n\n /*\n * The routing every auth screen shares (#972): nothing usable → the enrollment gate, which for an\n * INVITATION session completes it and signs the invitee in (#603); something usable → the challenge.\n * This screen already honours a `redirect` param for its post-auth destination, so the same target\n * rides the MFA detour — the inline copy this replaced dropped it there.\n */\n useMfaContinuationNavigation({\n mfaRequired: auth.mfaRequired,\n mfaSessionId: auth.mfaSessionId,\n usableSecondFactorMethods: auth.usableSecondFactorMethods,\n email: inviteeEmail || undefined,\n authRedirectTarget,\n });\n\n const handleInvitationSubmit = useCallback(async (data: UserInvitationFormDto) => {\n formMethodsRef.current?.clearErrors('root');\n\n if (data.password) {\n const policyResult = AuthUtils.validatePasswordAgainstPolicy(data.password, passwordPolicy);\n if (!policyResult.valid) {\n formMethodsRef.current?.setError('root', {\n type: 'policy',\n message: resolvePasswordViolationsToLabels(policyResult.violations, t, passwordPolicy).join('. '),\n });\n return;\n }\n }\n\n const normalizeText = (value?: string): string | undefined => {\n const trimmed = value?.trim();\n return trimmed ? trimmed : undefined;\n };\n\n try {\n const result = await acceptInvitation({\n invitationToken: token!,\n firstName: normalizeText(data.firstName),\n lastName: normalizeText(data.lastName),\n password: data.password || undefined,\n });\n if (result?.signInRequired) setSignInRequired(true);\n // Session issued → the `auth.accessToken` guard forwards to the app (honoring\n // `postAuthRedirect`); MFA-gated → the `mfaRequired` effect routes; no session (#1158) → the sign-in state renders.\n } catch (e: unknown) {\n formMethodsRef.current?.setError('root', {\n type: 'server',\n message: toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)),\n });\n }\n }, [acceptInvitation, passwordPolicy, t, token, toUserFacingErrorMessage]);\n\n // Passkey enroll-at-accept: accept (bootstraps the session from the invitation token + returns a\n // WebAuthn challenge) → run the browser ceremony → verify against the authenticated\n // register-verify route. See `InvitationPasskeyForm`.\n const handlePasskeySubmit = useCallback(async (firstName?: string, lastName?: string): Promise<void> => {\n setPasskeyError(null);\n setPasskeyCeremonyInProgress(true);\n try {\n const result = await acceptInvitation({\n invitationToken: token!,\n firstName,\n lastName,\n credentialMethod: AuthMethod.PASSKEY,\n });\n if (result?.signInRequired) {\n // #1158: no session, so there is no ceremony to run; the terminal sign-in state renders.\n setSignInRequired(true);\n return;\n }\n const options = result?.passkeyRegistrationOptions;\n if (options) {\n // Session issued + a challenge. Enrollment failure is NON-FATAL — the invitation token\n // already bootstrapped the session, so the invitee proceeds signed in and can add a\n // passkey later in security settings.\n try {\n const credential = await startRegistration({ optionsJSON: options as unknown as PublicKeyCredentialCreationOptionsJSON });\n await getManualCallsHttpClient().passkeyRegisterVerify({ response: credential });\n } catch {\n // Swallow — the session is already issued, so a cancelled/failed ceremony (or the rare\n // cross-tab logout that clears the session mid-prompt and 401s the verify) is non-fatal:\n // releasing the flag hands control to the `accessToken` guard, which forwards when the\n // session survived and otherwise leaves the invitee on the accept screen (benign — they retry).\n }\n }\n // Session path: releasing the flag (finally) → the `auth.accessToken` guard forwards to the\n // app. MFA-gated path (no options): `acceptInvitation` set `mfaRequired` and the mfaRequired\n // effect routes to enrollment (the invitee enrolls the passkey there via the existing route).\n } catch (e: unknown) {\n setPasskeyError(toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)));\n } finally {\n setPasskeyCeremonyInProgress(false);\n }\n }, [acceptInvitation, token, t, toUserFacingErrorMessage]);\n\n // Magic-link accept: emails a link + accepts the invite (via the HTTP client directly — no\n // session to manage, like the login magic-link). On success the render switches to the terminal\n // \"check your email\" state; errors propagate to the sub-form's root error.\n const handleMagicLinkSubmit = useCallback(async (firstName?: string, lastName?: string): Promise<void> => {\n setMagicLinkSubmitting(true);\n try {\n const response = await getManualCallsHttpClient().acceptInvitation({\n invitationToken: token!,\n firstName,\n lastName,\n credentialMethod: AuthMethod.MAGIC_LINK,\n // The emailed link is opened on another page, so the deep link must travel inside it (#1014). Already\n // same-origin: `extractAuthRedirectFromSearch` sanitised it, and the client and backend check again.\n redirect: authRedirectTarget,\n });\n // #1158: an accept that issued no session sends no link either; say so rather than \"check your email\".\n if (response.nextStep === AuthNextStep.SIGN_IN_REQUIRED) setSignInRequired(true);\n else setMagicLinkSent(true);\n } catch (e: any) {\n // Route through the central error handler (logging + frontend-action execution, e.g. the global\n // lockout UI) so a magic-link failure is handled identically to the password/passkey paths, which\n // reach `handleError` via `acceptInvitation`. Then RE-THROW so the sub-form's own catch still\n // renders the inline root error (the UX surface the user sees).\n handleError(e, 'Invitation acceptance failed (magic link)', { credentialMethod: AuthMethod.MAGIC_LINK });\n throw e;\n } finally {\n // The flag just releases the gate; the inline root error is owned by the sub-form's catch.\n setMagicLinkSubmitting(false);\n }\n }, [token, handleError, authRedirectTarget]);\n\n const handleDecline = useCallback(async () => {\n setDeclineError(null);\n if (!token) {\n setDeclineError(t(UserInvitationLabel.INVALID_LINK));\n return;\n }\n\n setIsDeclining(true);\n try {\n await getManualCallsHttpClient().rejectInvitation({ invitationToken: token });\n setDeclined(true);\n } catch (e: unknown) {\n setDeclineError(toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)));\n } finally {\n setIsDeclining(false);\n }\n }, [t, token, toUserFacingErrorMessage]);\n\n // The reused method components self-handle their outcome (SSO/OAuth do a full-page\n // redirect; magic-link shows its own \"sent\" state), so there is nothing to complete\n // here. On the rare in-place success the `auth.accessToken` guard below lands the\n // invitee in the app.\n const handleMethodSuccess = useCallback((_response: AuthenticationResponse) => {}, []);\n const handleMethodError = useCallback((_error: string) => {}, []);\n\n /**\n * Render the active first-factor method:\n * - `PASSWORD` / `MAGIC_LINK` / `PASSKEY` → invitation-specific accept sub-forms\n * (special-cased; never the login flow).\n * - `ORG_SAML` / `ORG_OPENID_CONNECT` / `EXTERNAL_OAUTH2` → the shared login method\n * component from the registry.\n */\n const renderActiveMethod = (): React.ReactNode => {\n if (!currentActiveMethod) return null;\n const methodConfig = availableMethods.find((m) => m.method === currentActiveMethod);\n if (!methodConfig) return null;\n\n if (currentActiveMethod === AuthMethod.PASSWORD) {\n return (\n <AutomatedForm\n schema={invitationFormSchema}\n defaultValues={{\n firstName: '',\n lastName: '',\n password: '',\n confirmPassword: '',\n }}\n onSubmit={handleInvitationSubmit}\n validationMode={ValidationMode.ON_BLUR}\n disabled={auth.isLoading || isDeclining}\n onFormReady={handleFormReady}\n labels={{\n fields: {\n firstName: t(UserInvitationLabel.FIRST_NAME),\n lastName: t(UserInvitationLabel.LAST_NAME),\n password: t(UserInvitationLabel.PASSWORD),\n confirmPassword: t(UserInvitationLabel.CONFIRM_PASSWORD),\n },\n }}\n layoutTemplate={() => <InvitationFormTemplate invitationEmail={inviteeEmail} passwordPolicy={passwordPolicy} />}\n />\n );\n }\n\n if (currentActiveMethod === AuthMethod.MAGIC_LINK) {\n // NOT the reused login `MagicLinkAuthMethod` (which sends a LOGIN magic link that\n // never accepts the invite and rejects a not-yet-ACTIVE invitee at verify). This\n // drives `acceptInvitation({ credentialMethod: MAGIC_LINK })`, which activates + flips\n // the membership before emailing the link. See `handleMagicLinkSubmit`.\n return (\n <InvitationMagicLinkForm\n invitationEmail={inviteeEmail}\n disabled={auth.isLoading || isDeclining}\n onSubmit={handleMagicLinkSubmit}\n t={t}\n tAuth={tAuth}\n />\n );\n }\n\n if (currentActiveMethod === AuthMethod.PASSKEY) {\n // Passkey ENROLL-at-accept (Phase 3): the login `PasskeyAuthMethod` authenticates an\n // EXISTING credential, so it is NOT reused. `InvitationPasskeyForm` drives\n // `acceptInvitation({credentialMethod: PASSKEY})` (bootstraps the session + returns a\n // WebAuthn challenge) then runs the ceremony + verify. See `handlePasskeySubmit`.\n return (\n <InvitationPasskeyForm\n invitationEmail={inviteeEmail}\n disabled={auth.isLoading || isDeclining}\n error={passkeyError}\n onSubmit={handlePasskeySubmit}\n t={t}\n />\n );\n }\n\n // ORG_SAML / ORG_OPENID_CONNECT / EXTERNAL_OAUTH2 — reuse the shared login method\n // components. They are account-agnostic and self-wire their own hooks/redirects\n // (full-page IdP redirect / OAuth JIT, which consume the INVITED membership); we only\n // supply the invitee email + org method config. (PASSWORD, MAGIC_LINK, and PASSKEY are\n // special-cased above — they need invitation-specific accept wiring, not login reuse.)\n const MethodComponent = AUTH_METHOD_COMPONENTS[currentActiveMethod];\n if (!MethodComponent) return null;\n\n const props: AuthMethodComponentProps = {\n sessionId: '', // no session for a not-yet-activated invitee\n email: inviteeEmail ?? '',\n methodConfig,\n onSuccess: handleMethodSuccess,\n onError: handleMethodError,\n factorLevel: 'first',\n isLoading: auth.isLoading || isDeclining,\n t: tAuthForMethodComponent,\n };\n\n return <MethodComponent {...props} />;\n };\n\n // Already authenticated — including returning from an SSO/OAuth JIT round-trip that\n // consumed the invite — so forward the invitee into the app rather than re-showing the\n // accept screen (mirrors `Auth_Main`). Guards against an already-signed-in user\n // accepting a token minted for a different email.\n // EXCEPTION: during passkey enroll-at-accept the token is issued BEFORE the WebAuthn ceremony\n // runs, so suppress the forward until the ceremony finishes (else the component unmounts and\n // the browser passkey prompt is cancelled); `handlePasskeySubmit` releases the flag when done.\n // Ordered BEFORE the `!isReady` i18n gate (like `Auth_AuthCallback`): the `<Navigate>` renders no\n // labels, so a slow/failed label load must not block forwarding an already-authenticated invitee.\n if (auth.accessToken && !passkeyCeremonyInProgress) {\n return <Navigate to={postAuthRedirect} replace />;\n }\n\n if (!isReady) return null;\n\n if (!token) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.ERROR_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserInvitationLabel.INVALID_LINK)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n if (declined) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.DECLINE_SUCCESS_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserInvitationLabel.DECLINE_SUCCESS_MESSAGE)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.CONTINUE_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n // Accepted without a session (#1158): the invitee's policy disables the email-possession sign-in the invitation link\n // amounts to. Terminal: the membership exists, and they continue on the sign-in page.\n if (signInRequired) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.SIGN_IN_REQUIRED_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserInvitationLabel.SIGN_IN_REQUIRED_MESSAGE)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n // Magic-link accepted — the invite is consumed and a sign-in link was emailed. Terminal state:\n // the invitee finishes by clicking the emailed link (no chooser/decline — the token is gone, so\n // any other method would only 4xx).\n if (magicLinkSent) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{tAuth(UserAuthLabel.MAGIC_LINK_SENT_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{tAuth(UserAuthLabel.MAGIC_LINK_SENT_DESCRIPTION)}</Text>\n {inviteeEmail && (\n <Text className=\"text-sm text-muted-foreground\">{inviteeEmail}</Text>\n )}\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n if (infoLoading) {\n return (\n <div className=\"flex items-center justify-center py-group\">\n <LoadingSpinner size={40} />\n </div>\n );\n }\n\n if (infoError || !invitationInfo) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.ERROR_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{infoError || t(UserInvitationLabel.INVALID_LINK)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n // SCIM-managed org → informational only, NO password/method form (locked decision:\n // the directory is the identity authority, so no local credential is set here).\n if (invitationInfo.managementMode === InvitationManagementMode.SCIM) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.SCIM_MANAGED_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">\n {t(UserInvitationLabel.SCIM_MANAGED_MESSAGE)}\n </Text>\n {inviteeEmail && (\n <Text className=\"text-sm text-muted-foreground\">{inviteeEmail}</Text>\n )}\n </div>\n\n {declineError && (\n <Alert variant=\"destructive\" className=\"mb-group\">\n <AlertDescription>{declineError}</AlertDescription>\n </Alert>\n )}\n\n <div className=\"text-center mt-group space-y-item-sm\">\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n onClick={handleDecline}\n disabled={isDeclining}\n className=\"w-full\"\n >\n {isDeclining ? t(UserInvitationLabel.DECLINING_INVITATION) : t(UserInvitationLabel.DECLINE_INVITATION)}\n </Button>\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n // OPEN / SSO org → the method chooser.\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserInvitationLabel.SUB_TITLE)}</Text>\n {invitationInfo.organizationName && (\n <Text className=\"text-sm text-muted-foreground\">{invitationInfo.organizationName}</Text>\n )}\n {inviteeEmail && (\n <Text className=\"text-sm text-muted-foreground\">{inviteeEmail}</Text>\n )}\n </div>\n\n {hasActionableMethod ? (\n <>\n <Text className=\"text-sm text-muted-foreground text-center mb-element\">\n {t(UserInvitationLabel.METHOD_CHOICE_HINT)}\n </Text>\n\n {/* Active first-factor method (password form / magic-link form / passkey form / reused SSO·OAuth component). */}\n {renderActiveMethod()}\n\n {/* Alternative methods — buttons that switch the active method. */}\n {alternativeMethods.length > 0 && (\n <>\n <LabeledDivider label={tAuth(UserAuthLabel.OTHER_METHODS_DIVIDER)} />\n\n <AuthMethodChoiceList\n methods={alternativeMethods.map((method) => method.method as AuthMethod)}\n /*\n * The descriptor names an enterprise connection, so an invitee choosing their\n * organization's provider sees ITS name rather than \"Organization sign-in\".\n *\n * No `socialProviders`: this screen configures no social buttons of its own, and the\n * resolver declines to name a provider it cannot resolve rather than printing a raw\n * `providerRef` — so a social alternative keeps the generic kind here, deliberately.\n */\n labelFor={(method) => resolveAuthMethodChoiceLabel(method, {\n offeredMethod: alternativeMethods.find((candidate) => candidate.method === method),\n continueWithTemplate: tAuth(UserAuthLabel.CONTINUE_WITH),\n translateLabel: (label) => tAuth(label),\n resolveSocialProviderLabel: (provider) => provider.displayName ?? provider.providerRef,\n })}\n onSelect={(method) => { setActiveMethod(method); setPasskeyError(null); }}\n disabled={methodSubmitInFlight || isDeclining}\n />\n </>\n )}\n </>\n ) : (\n /*\n No renderable first-factor method on this screen — a valid state, not an error. The\n common case is an SSO-only org whose invitee arrives before directory provisioning: the\n token-keyed endpoint omits ORG_SAML/ORG_OPENID_CONNECT when no per-connection lookup\n resolved, yielding an empty set with mode OPEN. Route the invitee to the sign-in page,\n where email→domain SSO resolution works and the enterprise / OAuth JIT consumes the invite.\n */\n <Alert>\n <AlertDescription>\n {t(UserInvitationLabel.NO_METHOD_AVAILABLE_HINT)}\n </AlertDescription>\n </Alert>\n )}\n\n {declineError && (\n <Alert variant=\"destructive\" className=\"mt-group\">\n <AlertDescription>{declineError}</AlertDescription>\n </Alert>\n )}\n\n <div className=\"text-center mt-group space-y-item-sm\">\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n onClick={handleDecline}\n disabled={methodSubmitInFlight || isDeclining}\n className=\"w-full\"\n >\n {isDeclining ? t(UserInvitationLabel.DECLINING_INVITATION) : t(UserInvitationLabel.DECLINE_INVITATION)}\n </Button>\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n};\n\nexport function Auth_Invitation({ preset = CorePresetNames.DEFAULT, ...props }: PublicLayoutPreset_UserInvitation_DefaultProps & ComponentPresetProps): React.JSX.Element {\n const Component = createComponentResolver<PublicLayoutPreset_UserInvitation_DefaultProps>(FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION, 'Auth_Invitation')(preset);\n return <Component {...props} />;\n}\n"]}
1
+ {"version":3,"file":"Auth_Invitation.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_Invitation.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AACjI,OAAO,EACL,YAAY,EACZ,UAAU,EACV,SAAS,EACT,wBAAwB,EACxB,2BAA2B,GAM5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,aAAa,EAAE,MAAM,6DAA6D,CAAC;AAE5F,OA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,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,GAC/F,EACT,KAAC,iBAAiB,IAAC,IAAI,EAAE,SAAS,YAAG,CAAC,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAqB,EAM3F,KAAC,qBAAqB,IAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,GAAI,IACtE,IACL,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,eAAe,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC,OAAO,EAAE,GAAG,KAAK,EAAyE;IACnJ,MAAM,SAAS,GAAG,uBAAuB,CAAiD,qBAAqB,CAAC,8BAA8B,EAAE,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3K,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC","sourcesContent":["import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { Navigate, useLocation } from 'react-router-dom';\nimport { useFormContext } from 'react-hook-form';\nimport { CorePresetNames, FrontendComponentType, UserAuthLabel, UserInvitationLabel } from '@wildo-ai/presets-components-models';\nimport {\n AuthNextStep,\n AuthMethod,\n AuthUtils,\n InvitationManagementMode,\n UserInvitationFormDtoSchema,\n type AuthenticationResponse,\n type AuthInvitationInfoResponse,\n type AvailableMethod,\n type PasswordPolicyRules,\n type UserInvitationFormDto,\n} from '@wildo-ai/saas-models';\nimport { ValidationMode } from '@wildo-ai/zod-decorators';\nimport { startRegistration } from '@simplewebauthn/browser';\nimport type { PublicKeyCredentialCreationOptionsJSON } from '@simplewebauthn/browser';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport { AutomatedForm } from '~wildo-frontend-lib/components/form/automated/AutomatedForm';\nimport { type FormMethods } from '~wildo-frontend-lib/components/form/Form';\nimport { Alert, AlertDescription } from '~wildo-frontend-lib/components/overlays/containers/alert';\nimport { PasswordStrengthIndicator, DEFAULT_PASSWORD_POLICY } from '~wildo-frontend-lib/components/auth/utils/PasswordStrengthIndicator';\nimport { CredentialUsernameAutofillField } from '~wildo-frontend-lib/components/auth/utils/CredentialUsernameAutofillField';\nimport { LabeledDivider } from '~wildo-frontend-lib/components/auth/utils/LabeledDivider';\nimport { AuthMethodChoiceList } from '~wildo-frontend-lib/components/auth/utils/AuthMethodChoiceList';\nimport { resolveAuthMethodChoiceLabel } from '~wildo-frontend-lib/components/auth/methods/auth-method-presentation';\nimport { FormField } from '~wildo-frontend-lib/components/form/automated/FormField';\nimport { FormLayout } from '~wildo-frontend-lib/components/resources/skeleton/FormLayout';\nimport { SubmitButton } from '~wildo-frontend-lib/components/resources/skeleton/SubmitButton';\nimport { LoadingSpinner } from '~wildo-frontend-lib/components/feedback/loading-spinner';\nimport { Heading } from '~wildo-frontend-lib/components/typography/heading';\nimport { AuthSecondaryLink } from '~wildo-frontend-lib/components/auth/utils/AuthSecondaryLink';\nimport { AuthPrivacyNoticeLink } from '~wildo-frontend-lib/components/auth/utils/AuthPrivacyNoticeLink';\nimport { Text } from '~wildo-frontend-lib/components/typography/text';\nimport { CommonRoutePaths } from '~wildo-frontend-lib/core/runtime/routes.frontend.definitions';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { makeComponentLabelResolver } from '~wildo-frontend-lib/core/i18n/component-label-resolution.utils';\nimport { getManualCallsHttpClient } from '~wildo-frontend-lib/core/requests/wildo-http-client-manual-calls.frontend.service';\nimport { useAuthSession } from '~wildo-frontend-lib/core/security/useAuthSession';\nimport { useError } from '~wildo-frontend-lib/core/errors/useError';\nimport { useUserFacingErrorMessage } from '~wildo-frontend-lib/core/errors/useUserFacingErrorMessage';\nimport { useResolvedAuthConfig } from '~wildo-frontend-lib/core/security/useResolvedAuthConfig';\nimport { extractAuthRedirectFromSearch, resolvePostAuthRedirect } from '~wildo-frontend-lib/core/security/auth-redirect.frontend.utils';\nimport { useMfaContinuationNavigation } from '~wildo-frontend-lib/components/auth/utils/useMfaContinuationNavigation';\nimport {\n resolvePasswordViolationsToLabels,\n} from '~wildo-frontend-lib/components/auth/utils/resolvePasswordViolationsToLabels';\nimport {\n AUTH_METHOD_COMPONENTS,\n type AuthMethodComponentProps,\n} from '~wildo-frontend-lib/components/auth/methods/auth-method-components';\n\nimport { ComponentPresetProps } from '~wildo-frontend-lib/core/components-registry/component-registry.frontend.schemas';\nimport { createComponentResolver } from '~wildo-frontend-lib/core/components-registry/component-resolver.frontend.helper';\n\n/**\n * First-factor methods the PUBLIC invitation-accept chooser knows how to render.\n *\n * The invitation-info endpoint returns whatever the org allows for a joining member,\n * but the chooser can only surface methods that are usable BEFORE the invitee has an\n * account/session:\n * - `PASSWORD` / `MAGIC_LINK` / `PASSKEY` → invitation-specific accept sub-forms that drive\n * `acceptInvitation` (set a password / email a link / enroll a passkey). NOT the login\n * method components — those authenticate an EXISTING account, which an invitee lacks. In\n * particular the login magic-link (`magicLinkSend`) is ACTIVE-only and never accepts the\n * invite; the passkey login component authenticates an already-enrolled credential.\n * - `ORG_SAML` / `ORG_OPENID_CONNECT` / `EXTERNAL_OAUTH2` → the shared login method\n * components, which are account-agnostic (full-page redirect) and consume the `INVITED`\n * membership via enterprise-SSO JIT / OAuth JIT (email match on the live membership, no token).\n *\n * Session-bound MFA methods (`SMS_OTP` / `EMAIL_OTP` / `TOTP`) are intentionally\n * excluded — they need a session the invitee does not have.\n */\nconst INVITATION_RENDERABLE_METHODS: ReadonlySet<AuthMethod> = new Set([\n AuthMethod.PASSWORD,\n AuthMethod.ORG_SAML,\n AuthMethod.ORG_OPENID_CONNECT,\n AuthMethod.EXTERNAL_OAUTH2,\n AuthMethod.MAGIC_LINK,\n AuthMethod.PASSKEY,\n]);\n\n\ninterface InvitationFormTemplateProps {\n invitationEmail?: string;\n /**\n * The effective (org-merged) password policy the parent resolved from the\n * invitation-info response — the SAME policy the backend accept endpoint enforces —\n * falling back to the app-level policy. Passed in (not read from `useResolvedAuthConfig`\n * here) so the strength indicator matches what the org actually requires.\n */\n passwordPolicy: PasswordPolicyRules;\n}\n\n/**\n * Password-method accept form body — first/last name + optional password with the\n * strength indicator + a hidden username field for password-manager autofill.\n *\n * Rendered only when `PASSWORD` is the active chooser method. Password is OPTIONAL\n * here (a passwordless accept creates the account and the user adds a credential\n * later); the enclosing chooser owns the method-choice hint, so this template no\n * longer renders a standalone \"password is optional\" aside.\n */\nconst InvitationFormTemplate: React.FC<InvitationFormTemplateProps> = ({\n invitationEmail,\n passwordPolicy,\n}) => {\n const { formState } = useFormContext();\n const { tComponent, isReady } = useI18n({\n component: FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION,\n });\n\n const t = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION, key);\n\n if (!isReady) return null;\n\n return (\n <FormLayout>\n <CredentialUsernameAutofillField email={invitationEmail} />\n <FormField name=\"firstName\" />\n <FormField name=\"lastName\" />\n <FormField name=\"password\" />\n <FormField name=\"confirmPassword\" />\n\n <PasswordStrengthIndicator fieldName=\"password\" policy={passwordPolicy} t={t} />\n\n {formState.errors.root && (\n <Alert variant=\"destructive\">\n <AlertDescription>{formState.errors.root.message}</AlertDescription>\n </Alert>\n )}\n\n <SubmitButton\n label={t(UserInvitationLabel.ACCEPT_INVITATION)}\n submittingLabel={t(UserInvitationLabel.ACCEPTING_INVITATION)}\n fullWidth\n />\n </FormLayout>\n );\n};\n\n/**\n * Body of the magic-link accept sub-form (first/last name + send button). Split out so it\n * can read `formState.errors.root` via `useFormContext` inside the `AutomatedForm` provider.\n */\nconst InvitationMagicLinkTemplate: React.FC<{\n invitationEmail?: string;\n t: (key: string) => string;\n tAuth: (key: string) => string;\n}> = ({ invitationEmail, t, tAuth }) => {\n const { formState } = useFormContext();\n return (\n <FormLayout>\n {invitationEmail && (\n <Text className=\"text-sm text-muted-foreground text-center\">{invitationEmail}</Text>\n )}\n <FormField name=\"firstName\" />\n <FormField name=\"lastName\" />\n\n {formState.errors.root && (\n <Alert variant=\"destructive\">\n <AlertDescription>{formState.errors.root.message}</AlertDescription>\n </Alert>\n )}\n\n <SubmitButton\n label={tAuth(UserAuthLabel.MAGIC_LINK_SEND)}\n submittingLabel={tAuth(UserAuthLabel.MAGIC_LINK_SEND)}\n fullWidth\n />\n </FormLayout>\n );\n};\n\n/**\n * Magic-link ACCEPT sub-form — the invitation-aware counterpart of the login\n * `MagicLinkAuthMethod`.\n *\n * The login component sends a *login* magic link via `magicLinkSend`, which never accepts\n * the invitation: `sendMagicLink` resolves users ACTIVE-only, so a not-yet-activated\n * (`PENDING_INVITATION`) invitee gets no email, and `verifyMagicLink` rejects any non-ACTIVE\n * user and never flips the INVITED membership. So it is NOT reused here.\n *\n * Instead this drives the purpose-built `acceptInvitation({ credentialMethod: MAGIC_LINK })`\n * endpoint, which ACTIVATES the invitee + flips the membership FIRST and only THEN mints +\n * emails the link — so the eventual `verifyMagicLink` click (now ACTIVE) establishes the\n * session. First/last name are collected because the accept DTO requires them (the invitee's\n * profile is seeded at acceptance). No session is issued (the parent switches to a terminal\n * \"check your email\" state); the session lands when the invitee clicks the emailed link.\n */\nconst InvitationMagicLinkForm: React.FC<{\n invitationEmail?: string;\n disabled?: boolean;\n onSubmit: (firstName?: string, lastName?: string) => Promise<void>;\n t: (key: string) => string;\n tAuth: (key: string) => string;\n}> = ({ invitationEmail, disabled, onSubmit, t, tAuth }) => {\n const formMethodsRef = useRef<FormMethods | null>(null);\n const toUserFacingErrorMessage = useUserFacingErrorMessage();\n\n // Only the name fields — reuse the accept form schema's first/last (with their autocomplete\n // decorators); the credential is the emailed link, not a password.\n const schema = useMemo(\n () => UserInvitationFormDtoSchema.pick({ firstName: true, lastName: true }),\n [],\n );\n\n // On success the PARENT switches to the terminal \"check your email\" state — the accept consumed\n // the token + accepted the invite, so there is NO in-place \"sent\" / \"try another method\" state\n // (that would dead-end on the now-consumed token). Only errors are surfaced here.\n const handleSubmit = useCallback(async (data: { firstName?: string; lastName?: string }) => {\n formMethodsRef.current?.clearErrors('root');\n try {\n await onSubmit(data.firstName?.trim() || undefined, data.lastName?.trim() || undefined);\n } catch (e: unknown) {\n formMethodsRef.current?.setError('root', {\n type: 'server',\n message: toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)),\n });\n }\n }, [onSubmit, t, toUserFacingErrorMessage]);\n\n return (\n <AutomatedForm\n schema={schema}\n defaultValues={{ firstName: '', lastName: '' }}\n onSubmit={handleSubmit}\n validationMode={ValidationMode.ON_BLUR}\n disabled={disabled}\n onFormReady={(formMethods) => { formMethodsRef.current = formMethods; }}\n labels={{\n fields: {\n firstName: t(UserInvitationLabel.FIRST_NAME),\n lastName: t(UserInvitationLabel.LAST_NAME),\n },\n }}\n layoutTemplate={() => (\n <InvitationMagicLinkTemplate invitationEmail={invitationEmail} t={t} tAuth={tAuth} />\n )}\n />\n );\n};\n\n/**\n * Body of the passkey accept sub-form. The ceremony error is owned by the parent (the WebAuthn\n * flow runs outside the form), so it is passed in rather than read from `formState`.\n */\nconst InvitationPasskeyTemplate: React.FC<{\n invitationEmail?: string;\n error?: string | null;\n t: (key: string) => string;\n}> = ({ invitationEmail, error, t }) => (\n <FormLayout>\n {invitationEmail && (\n <Text className=\"text-sm text-muted-foreground text-center\">{invitationEmail}</Text>\n )}\n <Text className=\"text-sm text-muted-foreground text-center\">\n {t(UserInvitationLabel.PASSKEY_DESCRIPTION)}\n </Text>\n <FormField name=\"firstName\" />\n <FormField name=\"lastName\" />\n\n {error && (\n <Alert variant=\"destructive\">\n <AlertDescription>{error}</AlertDescription>\n </Alert>\n )}\n\n <SubmitButton\n label={t(UserInvitationLabel.PASSKEY_CREATE)}\n submittingLabel={t(UserInvitationLabel.PASSKEY_CREATING)}\n fullWidth\n />\n </FormLayout>\n);\n\n/**\n * Passkey ENROLL-at-accept sub-form (Phase 3). Collects the invitee's name (the accept DTO\n * requires it; the profile is seeded at acceptance), then hands off to the parent's `onSubmit`,\n * which drives `acceptInvitation({credentialMethod: PASSKEY})` — the invitation token bootstraps\n * the session and the response carries a WebAuthn registration challenge — runs the browser\n * ceremony (`startRegistration`), and completes it against the authenticated\n * `/auth/passkey/register/verify` route. Passkey enrollment is the GO-FORWARD credential, not\n * this session's authenticator, so a cancelled/failed ceremony is non-fatal (the invitee is\n * already signed in and can add a passkey later). Falls back to an informational message when the\n * browser has no WebAuthn support.\n */\nconst InvitationPasskeyForm: React.FC<{\n invitationEmail?: string;\n disabled?: boolean;\n error?: string | null;\n onSubmit: (firstName?: string, lastName?: string) => Promise<void>;\n t: (key: string) => string;\n}> = ({ invitationEmail, disabled, error, onSubmit, t }) => {\n const isSupported = typeof window !== 'undefined' && !!window.PublicKeyCredential;\n const schema = useMemo(\n () => UserInvitationFormDtoSchema.pick({ firstName: true, lastName: true }),\n [],\n );\n\n if (!isSupported) {\n return (\n <Alert>\n <AlertDescription>\n {t(UserInvitationLabel.PASSKEY_UNAVAILABLE_HINT)}\n </AlertDescription>\n </Alert>\n );\n }\n\n return (\n <AutomatedForm\n schema={schema}\n defaultValues={{ firstName: '', lastName: '' }}\n onSubmit={(data: { firstName?: string; lastName?: string }) =>\n onSubmit(data.firstName?.trim() || undefined, data.lastName?.trim() || undefined)}\n validationMode={ValidationMode.ON_BLUR}\n disabled={disabled}\n labels={{\n fields: {\n firstName: t(UserInvitationLabel.FIRST_NAME),\n lastName: t(UserInvitationLabel.LAST_NAME),\n },\n }}\n layoutTemplate={() => (\n <InvitationPasskeyTemplate invitationEmail={invitationEmail} error={error} t={t} />\n )}\n />\n );\n};\n\n// --- Contract ---\nexport interface PublicLayoutPreset_UserInvitation_DefaultProps {\n token?: string;\n email?: string;\n}\n\nexport const PublicLayoutPreset_UserInvitation_Default = ({\n token,\n email,\n}: PublicLayoutPreset_UserInvitation_DefaultProps): React.JSX.Element => {\n const { auth, acceptInvitation } = useAuthSession();\n // Central error handler — the password/passkey paths reach it via `acceptInvitation` (the context\n // calls `handleError` in its catch); the magic-link path calls the HTTP client directly, so it wires\n // `handleError` itself (below) to keep central logging + frontend-action execution symmetric.\n const { handleError } = useError();\n const toUserFacingErrorMessage = useUserFacingErrorMessage();\n const resolvedAuth = useResolvedAuthConfig();\n\n // Load BOTH label namespaces: the invitation chrome (`USER_INVITATION`) plus the\n // login method components' namespace (`USER_AUTH`) — the reused SAML/OIDC/OAuth2/\n // magic-link components label themselves from `UserAuthLabel.*`, and we hand them\n // `tAuth`. The array is memoized so `useI18n` doesn't re-request keys every render.\n const i18nComponents = useMemo(\n () => [\n FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION,\n FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH,\n ],\n [],\n );\n const { tComponent, isReady } = useI18n({ component: i18nComponents });\n const location = useLocation();\n const formMethodsRef = useRef<FormMethods | null>(null);\n const [isDeclining, setIsDeclining] = useState(false);\n const [declined, setDeclined] = useState(false);\n const [declineError, setDeclineError] = useState<string | null>(null);\n // Passkey enroll-at-accept runs a WebAuthn ceremony AFTER the session is issued. While it runs,\n // the `auth.accessToken` guard below is suppressed so the component isn't unmounted mid-ceremony.\n const [passkeyCeremonyInProgress, setPasskeyCeremonyInProgress] = useState(false);\n const [passkeyError, setPasskeyError] = useState<string | null>(null);\n // Magic-link accept issues NO session — it emails a link + accepts the invite (consuming the\n // token). On success we switch to a TERMINAL \"check your email\" state rather than leaving the\n // chooser visible (whose other methods + decline would now dead-end on the consumed token).\n const [magicLinkSent, setMagicLinkSent] = useState(false);\n // #1158: accepted without a session; the invitee's policy requires signing in separately.\n const [signInRequired, setSignInRequired] = useState(false);\n // In-flight flag for the magic-link accept (which bypasses the context's `auth.isLoading`), used\n // to gate the decline / alternative-method buttons so a click can't race the single-use token.\n const [magicLinkSubmitting, setMagicLinkSubmitting] = useState(false);\n\n // Invitation-info discovery (SSO/SCIM-aware method set) keyed by the token.\n const [invitationInfo, setInvitationInfo] = useState<AuthInvitationInfoResponse | null>(null);\n const [infoLoading, setInfoLoading] = useState(true);\n const [infoError, setInfoError] = useState<string | null>(null);\n // User-selected active method; `null` → fall back to the display-ordered default.\n const [activeMethod, setActiveMethod] = useState<AuthMethod | null>(null);\n\n // Memoized on `tComponent` so `t`/`tAuth` keep a STABLE identity across renders — the schema\n // (`invitationFormSchema`) and submit callbacks depend on them, and an unstable `t` would defeat\n // those memos and churn the sub-form props (risking focus loss on a mid-entry parent re-render).\n const t = useCallback((key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION, key), [tComponent]);\n // `tAuth` keeps `tComponent`'s key-path-on-miss behaviour, because THIS component\n // renders its result directly at five sites with no fallback (the magic-link\n // button, the \"link sent\" heading and body, the methods divider, the per-method\n // label). Normalizing it to `''` would turn a missing label into an invisible\n // button and an empty heading — strictly worse than a visible key path.\n const tAuth = useCallback(\n (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH, key),\n [tComponent],\n );\n\n // The auth-method prop contract's resolver, built through the shared seam so the\n // `USER_AUTH` namespace binding lives in one place. Same shape as `Auth_MfaChallenge`.\n const tAuthForMethodComponent = useMemo(\n () => makeComponentLabelResolver(tComponent, FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH),\n [tComponent],\n );\n const loginPath = CommonRoutePaths.login;\n\n // Where an already-authenticated invitee is forwarded — including one returning from\n // an SSO/OAuth JIT round-trip. Mirrors `Auth_Main`: the SSO/OAuth method returns to\n // this (auth) page, `Auth_AuthCallback` lands here after the code exchange, and this\n // resolves the post-auth destination (a `redirect` param if present, else app home).\n const postAuthRedirect = useMemo(() => resolvePostAuthRedirect(location.search), [location.search]);\n const authRedirectTarget = useMemo(() => extractAuthRedirectFromSearch(location.search), [location.search]);\n\n // The invitation-info response is authoritative for the invitee email; fall back to\n // the URL `email` param until it resolves.\n const inviteeEmail = invitationInfo?.inviteeEmail ?? email;\n\n // Prefer the org-merged policy the endpoint resolved (the SAME one the backend accept\n // validates against) so the strength indicator + client pre-check match the org's real\n // requirements; fall back to the app-level policy until invitation-info resolves / when\n // the endpoint couldn't resolve it.\n const passwordPolicy: PasswordPolicyRules = useMemo(\n () => invitationInfo?.passwordPolicy ?? resolvedAuth.passwordPolicy ?? DEFAULT_PASSWORD_POLICY,\n [invitationInfo?.passwordPolicy, resolvedAuth.passwordPolicy],\n );\n\n const invitationFormSchema = useMemo(() => UserInvitationFormDtoSchema.refine(\n (data) => !data.password || data.password === data.confirmPassword,\n { message: t(UserInvitationLabel.PASSWORD_MISMATCH), path: ['confirmPassword'] },\n ), [t]);\n\n const handleFormReady = useCallback((formMethods: FormMethods) => {\n formMethodsRef.current = formMethods;\n }, []);\n\n // Fetch invitation-info once per token. The endpoint reads the token WITHOUT\n // consuming it, so a consumed/expired/invalid token surfaces as an error state.\n useEffect(() => {\n // Only an UNauthenticated invitee needs method discovery. If already authenticated\n // (e.g. returning from an SSO/OAuth JIT round-trip that consumed the token), skip\n // the fetch — the `accessToken` guard below forwards to the app, and hitting the\n // now-consumed token would only 4xx.\n if (!token || auth.accessToken) {\n setInfoLoading(false);\n return;\n }\n let cancelled = false;\n setInfoLoading(true);\n setInfoError(null);\n getManualCallsHttpClient()\n .getInvitationInfo(token)\n .then((info) => {\n if (!cancelled) setInvitationInfo(info);\n })\n .catch((e: unknown) => {\n if (!cancelled) setInfoError(toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)));\n })\n .finally(() => {\n if (!cancelled) setInfoLoading(false);\n });\n return () => { cancelled = true; };\n // `t` is intentionally omitted from deps. It is memoized on the i18n component bundle (stable\n // across ordinary renders), so omitting it does NOT capture a per-render-stale closure; it is\n // omitted so a later i18n-bundle reload cannot re-trigger this one-shot discovery fetch. A rejected\n // fetch therefore labels the error with the `t` bound when the effect first ran — an acceptable\n // fallback in the narrow window before i18n is ready.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [token, auth.accessToken]);\n\n /*\n * Renderable first-factor methods from the org's policy, in the order the server sent (#1218).\n *\n * The invitation-info endpoint builds this list through the SAME `buildFirstFactorMethodsForPolicy` the sign-in\n * page's `identify` uses, which orders by `AUTH_METHOD_PRECEDENCE`. That is why this page can stop re-sorting and\n * why it inherits the fix rather than needing its own: filtering preserves order.\n */\n const availableMethods: AvailableMethod[] = useMemo(() => {\n const methods = invitationInfo?.availableFirstFactorMethods ?? [];\n return methods.filter((m) => INVITATION_RENDERABLE_METHODS.has(m.method as AuthMethod));\n }, [invitationInfo]);\n\n // Every renderable method is actionable (PASSKEY now enrolls at accept — Phase 3). The empty\n // state (route to sign-in) is reserved for an org exposing NO renderable first-factor method\n // (e.g. an SSO-only org whose per-connection lookup did not resolve).\n const hasActionableMethod = availableMethods.length > 0;\n\n // Any accept in flight — gates the decline / alternative-method buttons so a click can't race the\n // single-use token. Password sets `auth.isLoading` via the context; magic-link + passkey run\n // outside it (`magicLinkSubmitting` / `passkeyCeremonyInProgress`).\n const methodSubmitInFlight = auth.isLoading || magicLinkSubmitting || passkeyCeremonyInProgress;\n\n // Default to the first renderable method in display order.\n const defaultMethod = useMemo(\n () => (availableMethods[0]?.method as AuthMethod | undefined) ?? null,\n [availableMethods],\n );\n\n const currentActiveMethod = activeMethod ?? defaultMethod;\n const alternativeMethods = availableMethods.filter((m) => m.method !== currentActiveMethod);\n\n /*\n * The routing every auth screen shares (#972): nothing usable → the enrollment gate, which for an\n * INVITATION session completes it and signs the invitee in (#603); something usable → the challenge.\n * This screen already honours a `redirect` param for its post-auth destination, so the same target\n * rides the MFA detour — the inline copy this replaced dropped it there.\n */\n useMfaContinuationNavigation({\n mfaRequired: auth.mfaRequired,\n mfaSessionId: auth.mfaSessionId,\n usableSecondFactorMethods: auth.usableSecondFactorMethods,\n email: inviteeEmail || undefined,\n authRedirectTarget,\n });\n\n const handleInvitationSubmit = useCallback(async (data: UserInvitationFormDto) => {\n formMethodsRef.current?.clearErrors('root');\n\n if (data.password) {\n const policyResult = AuthUtils.validatePasswordAgainstPolicy(data.password, passwordPolicy);\n if (!policyResult.valid) {\n formMethodsRef.current?.setError('root', {\n type: 'policy',\n message: resolvePasswordViolationsToLabels(policyResult.violations, t, passwordPolicy).join('. '),\n });\n return;\n }\n }\n\n const normalizeText = (value?: string): string | undefined => {\n const trimmed = value?.trim();\n return trimmed ? trimmed : undefined;\n };\n\n try {\n const result = await acceptInvitation({\n invitationToken: token!,\n firstName: normalizeText(data.firstName),\n lastName: normalizeText(data.lastName),\n password: data.password || undefined,\n });\n if (result?.signInRequired) setSignInRequired(true);\n // Session issued → the `auth.accessToken` guard forwards to the app (honoring\n // `postAuthRedirect`); MFA-gated → the `mfaRequired` effect routes; no session (#1158) → the sign-in state renders.\n } catch (e: unknown) {\n formMethodsRef.current?.setError('root', {\n type: 'server',\n message: toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)),\n });\n }\n }, [acceptInvitation, passwordPolicy, t, token, toUserFacingErrorMessage]);\n\n // Passkey enroll-at-accept: accept (bootstraps the session from the invitation token + returns a\n // WebAuthn challenge) → run the browser ceremony → verify against the authenticated\n // register-verify route. See `InvitationPasskeyForm`.\n const handlePasskeySubmit = useCallback(async (firstName?: string, lastName?: string): Promise<void> => {\n setPasskeyError(null);\n setPasskeyCeremonyInProgress(true);\n try {\n const result = await acceptInvitation({\n invitationToken: token!,\n firstName,\n lastName,\n credentialMethod: AuthMethod.PASSKEY,\n });\n if (result?.signInRequired) {\n // #1158: no session, so there is no ceremony to run; the terminal sign-in state renders.\n setSignInRequired(true);\n return;\n }\n const options = result?.passkeyRegistrationOptions;\n if (options) {\n // Session issued + a challenge. Enrollment failure is NON-FATAL — the invitation token\n // already bootstrapped the session, so the invitee proceeds signed in and can add a\n // passkey later in security settings.\n try {\n const credential = await startRegistration({ optionsJSON: options as unknown as PublicKeyCredentialCreationOptionsJSON });\n await getManualCallsHttpClient().passkeyRegisterVerify({ response: credential });\n } catch {\n // Swallow — the session is already issued, so a cancelled/failed ceremony (or the rare\n // cross-tab logout that clears the session mid-prompt and 401s the verify) is non-fatal:\n // releasing the flag hands control to the `accessToken` guard, which forwards when the\n // session survived and otherwise leaves the invitee on the accept screen (benign — they retry).\n }\n }\n // Session path: releasing the flag (finally) → the `auth.accessToken` guard forwards to the\n // app. MFA-gated path (no options): `acceptInvitation` set `mfaRequired` and the mfaRequired\n // effect routes to enrollment (the invitee enrolls the passkey there via the existing route).\n } catch (e: unknown) {\n setPasskeyError(toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)));\n } finally {\n setPasskeyCeremonyInProgress(false);\n }\n }, [acceptInvitation, token, t, toUserFacingErrorMessage]);\n\n // Magic-link accept: emails a link + accepts the invite (via the HTTP client directly — no\n // session to manage, like the login magic-link). On success the render switches to the terminal\n // \"check your email\" state; errors propagate to the sub-form's root error.\n const handleMagicLinkSubmit = useCallback(async (firstName?: string, lastName?: string): Promise<void> => {\n setMagicLinkSubmitting(true);\n try {\n const response = await getManualCallsHttpClient().acceptInvitation({\n invitationToken: token!,\n firstName,\n lastName,\n credentialMethod: AuthMethod.MAGIC_LINK,\n // The emailed link is opened on another page, so the deep link must travel inside it (#1014). Already\n // same-origin: `extractAuthRedirectFromSearch` sanitised it, and the client and backend check again.\n redirect: authRedirectTarget,\n });\n // #1158: an accept that issued no session sends no link either; say so rather than \"check your email\".\n if (response.nextStep === AuthNextStep.SIGN_IN_REQUIRED) setSignInRequired(true);\n else setMagicLinkSent(true);\n } catch (e: any) {\n // Route through the central error handler (logging + frontend-action execution, e.g. the global\n // lockout UI) so a magic-link failure is handled identically to the password/passkey paths, which\n // reach `handleError` via `acceptInvitation`. Then RE-THROW so the sub-form's own catch still\n // renders the inline root error (the UX surface the user sees).\n handleError(e, 'Invitation acceptance failed (magic link)', { credentialMethod: AuthMethod.MAGIC_LINK });\n throw e;\n } finally {\n // The flag just releases the gate; the inline root error is owned by the sub-form's catch.\n setMagicLinkSubmitting(false);\n }\n }, [token, handleError, authRedirectTarget]);\n\n const handleDecline = useCallback(async () => {\n setDeclineError(null);\n if (!token) {\n setDeclineError(t(UserInvitationLabel.INVALID_LINK));\n return;\n }\n\n setIsDeclining(true);\n try {\n await getManualCallsHttpClient().rejectInvitation({ invitationToken: token });\n setDeclined(true);\n } catch (e: unknown) {\n setDeclineError(toUserFacingErrorMessage(e, t(UserInvitationLabel.UNEXPECTED_ERROR)));\n } finally {\n setIsDeclining(false);\n }\n }, [t, token, toUserFacingErrorMessage]);\n\n // The reused method components self-handle their outcome (SSO/OAuth do a full-page\n // redirect; magic-link shows its own \"sent\" state), so there is nothing to complete\n // here. On the rare in-place success the `auth.accessToken` guard below lands the\n // invitee in the app.\n const handleMethodSuccess = useCallback((_response: AuthenticationResponse) => {}, []);\n const handleMethodError = useCallback((_error: string) => {}, []);\n\n /**\n * Render the active first-factor method:\n * - `PASSWORD` / `MAGIC_LINK` / `PASSKEY` → invitation-specific accept sub-forms\n * (special-cased; never the login flow).\n * - `ORG_SAML` / `ORG_OPENID_CONNECT` / `EXTERNAL_OAUTH2` → the shared login method\n * component from the registry.\n */\n const renderActiveMethod = (): React.ReactNode => {\n if (!currentActiveMethod) return null;\n const methodConfig = availableMethods.find((m) => m.method === currentActiveMethod);\n if (!methodConfig) return null;\n\n if (currentActiveMethod === AuthMethod.PASSWORD) {\n return (\n <AutomatedForm\n schema={invitationFormSchema}\n defaultValues={{\n firstName: '',\n lastName: '',\n password: '',\n confirmPassword: '',\n }}\n onSubmit={handleInvitationSubmit}\n validationMode={ValidationMode.ON_BLUR}\n disabled={auth.isLoading || isDeclining}\n onFormReady={handleFormReady}\n labels={{\n fields: {\n firstName: t(UserInvitationLabel.FIRST_NAME),\n lastName: t(UserInvitationLabel.LAST_NAME),\n password: t(UserInvitationLabel.PASSWORD),\n confirmPassword: t(UserInvitationLabel.CONFIRM_PASSWORD),\n },\n }}\n layoutTemplate={() => <InvitationFormTemplate invitationEmail={inviteeEmail} passwordPolicy={passwordPolicy} />}\n />\n );\n }\n\n if (currentActiveMethod === AuthMethod.MAGIC_LINK) {\n // NOT the reused login `MagicLinkAuthMethod` (which sends a LOGIN magic link that\n // never accepts the invite and rejects a not-yet-ACTIVE invitee at verify). This\n // drives `acceptInvitation({ credentialMethod: MAGIC_LINK })`, which activates + flips\n // the membership before emailing the link. See `handleMagicLinkSubmit`.\n return (\n <InvitationMagicLinkForm\n invitationEmail={inviteeEmail}\n disabled={auth.isLoading || isDeclining}\n onSubmit={handleMagicLinkSubmit}\n t={t}\n tAuth={tAuth}\n />\n );\n }\n\n if (currentActiveMethod === AuthMethod.PASSKEY) {\n // Passkey ENROLL-at-accept (Phase 3): the login `PasskeyAuthMethod` authenticates an\n // EXISTING credential, so it is NOT reused. `InvitationPasskeyForm` drives\n // `acceptInvitation({credentialMethod: PASSKEY})` (bootstraps the session + returns a\n // WebAuthn challenge) then runs the ceremony + verify. See `handlePasskeySubmit`.\n return (\n <InvitationPasskeyForm\n invitationEmail={inviteeEmail}\n disabled={auth.isLoading || isDeclining}\n error={passkeyError}\n onSubmit={handlePasskeySubmit}\n t={t}\n />\n );\n }\n\n // ORG_SAML / ORG_OPENID_CONNECT / EXTERNAL_OAUTH2 — reuse the shared login method\n // components. They are account-agnostic and self-wire their own hooks/redirects\n // (full-page IdP redirect / OAuth JIT, which consume the INVITED membership); we only\n // supply the invitee email + org method config. (PASSWORD, MAGIC_LINK, and PASSKEY are\n // special-cased above — they need invitation-specific accept wiring, not login reuse.)\n const MethodComponent = AUTH_METHOD_COMPONENTS[currentActiveMethod];\n if (!MethodComponent) return null;\n\n const props: AuthMethodComponentProps = {\n sessionId: '', // no session for a not-yet-activated invitee\n email: inviteeEmail ?? '',\n methodConfig,\n onSuccess: handleMethodSuccess,\n onError: handleMethodError,\n factorLevel: 'first',\n isLoading: auth.isLoading || isDeclining,\n t: tAuthForMethodComponent,\n };\n\n return <MethodComponent {...props} />;\n };\n\n // Already authenticated — including returning from an SSO/OAuth JIT round-trip that\n // consumed the invite — so forward the invitee into the app rather than re-showing the\n // accept screen (mirrors `Auth_Main`). Guards against an already-signed-in user\n // accepting a token minted for a different email.\n // EXCEPTION: during passkey enroll-at-accept the token is issued BEFORE the WebAuthn ceremony\n // runs, so suppress the forward until the ceremony finishes (else the component unmounts and\n // the browser passkey prompt is cancelled); `handlePasskeySubmit` releases the flag when done.\n // Ordered BEFORE the `!isReady` i18n gate (like `Auth_AuthCallback`): the `<Navigate>` renders no\n // labels, so a slow/failed label load must not block forwarding an already-authenticated invitee.\n if (auth.accessToken && !passkeyCeremonyInProgress) {\n return <Navigate to={postAuthRedirect} replace />;\n }\n\n if (!isReady) return null;\n\n if (!token) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.ERROR_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserInvitationLabel.INVALID_LINK)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n if (declined) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.DECLINE_SUCCESS_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserInvitationLabel.DECLINE_SUCCESS_MESSAGE)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.CONTINUE_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n // Accepted without a session (#1158): the invitee's policy disables the email-possession sign-in the invitation link\n // amounts to. Terminal: the membership exists, and they continue on the sign-in page.\n if (signInRequired) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.SIGN_IN_REQUIRED_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserInvitationLabel.SIGN_IN_REQUIRED_MESSAGE)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n // Magic-link accepted — the invite is consumed and a sign-in link was emailed. Terminal state:\n // the invitee finishes by clicking the emailed link (no chooser/decline — the token is gone, so\n // any other method would only 4xx).\n if (magicLinkSent) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{tAuth(UserAuthLabel.MAGIC_LINK_SENT_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{tAuth(UserAuthLabel.MAGIC_LINK_SENT_DESCRIPTION)}</Text>\n {inviteeEmail && (\n <Text className=\"text-sm text-muted-foreground\">{inviteeEmail}</Text>\n )}\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n if (infoLoading) {\n return (\n <div className=\"flex items-center justify-center py-group\">\n <LoadingSpinner size={40} />\n </div>\n );\n }\n\n if (infoError || !invitationInfo) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.ERROR_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{infoError || t(UserInvitationLabel.INVALID_LINK)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n // SCIM-managed org → informational only, NO password/method form (locked decision:\n // the directory is the identity authority, so no local credential is set here).\n if (invitationInfo.managementMode === InvitationManagementMode.SCIM) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.SCIM_MANAGED_TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">\n {t(UserInvitationLabel.SCIM_MANAGED_MESSAGE)}\n </Text>\n {inviteeEmail && (\n <Text className=\"text-sm text-muted-foreground\">{inviteeEmail}</Text>\n )}\n </div>\n\n {declineError && (\n <Alert variant=\"destructive\" className=\"mb-group\">\n <AlertDescription>{declineError}</AlertDescription>\n </Alert>\n )}\n\n <div className=\"text-center mt-group space-y-item-sm\">\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n onClick={handleDecline}\n disabled={isDeclining}\n className=\"w-full\"\n >\n {isDeclining ? t(UserInvitationLabel.DECLINING_INVITATION) : t(UserInvitationLabel.DECLINE_INVITATION)}\n </Button>\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n {/* The directory already holds this person's data (Art. 14(3)); see `AuthPrivacyNoticeLink` (#2976). */}\n <AuthPrivacyNoticeLink label={tAuth(UserAuthLabel.PRIVACY_NOTICE_LINK)} />\n </div>\n </>\n );\n }\n\n // OPEN / SSO org → the method chooser.\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserInvitationLabel.TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserInvitationLabel.SUB_TITLE)}</Text>\n {invitationInfo.organizationName && (\n <Text className=\"text-sm text-muted-foreground\">{invitationInfo.organizationName}</Text>\n )}\n {inviteeEmail && (\n <Text className=\"text-sm text-muted-foreground\">{inviteeEmail}</Text>\n )}\n </div>\n\n {hasActionableMethod ? (\n <>\n <Text className=\"text-sm text-muted-foreground text-center mb-element\">\n {t(UserInvitationLabel.METHOD_CHOICE_HINT)}\n </Text>\n\n {/* Active first-factor method (password form / magic-link form / passkey form / reused SSO·OAuth component). */}\n {renderActiveMethod()}\n\n {/* Alternative methods — buttons that switch the active method. */}\n {alternativeMethods.length > 0 && (\n <>\n <LabeledDivider label={tAuth(UserAuthLabel.OTHER_METHODS_DIVIDER)} />\n\n <AuthMethodChoiceList\n methods={alternativeMethods.map((method) => method.method as AuthMethod)}\n /*\n * The descriptor names an enterprise connection, so an invitee choosing their\n * organization's provider sees ITS name rather than \"Organization sign-in\".\n *\n * No `socialProviders`: this screen configures no social buttons of its own, and the\n * resolver declines to name a provider it cannot resolve rather than printing a raw\n * `providerRef` — so a social alternative keeps the generic kind here, deliberately.\n */\n labelFor={(method) => resolveAuthMethodChoiceLabel(method, {\n offeredMethod: alternativeMethods.find((candidate) => candidate.method === method),\n continueWithTemplate: tAuth(UserAuthLabel.CONTINUE_WITH),\n translateLabel: (label) => tAuth(label),\n resolveSocialProviderLabel: (provider) => provider.displayName ?? provider.providerRef,\n })}\n onSelect={(method) => { setActiveMethod(method); setPasskeyError(null); }}\n disabled={methodSubmitInFlight || isDeclining}\n />\n </>\n )}\n </>\n ) : (\n /*\n No renderable first-factor method on this screen — a valid state, not an error. The\n common case is an SSO-only org whose invitee arrives before directory provisioning: the\n token-keyed endpoint omits ORG_SAML/ORG_OPENID_CONNECT when no per-connection lookup\n resolved, yielding an empty set with mode OPEN. Route the invitee to the sign-in page,\n where email→domain SSO resolution works and the enterprise / OAuth JIT consumes the invite.\n */\n <Alert>\n <AlertDescription>\n {t(UserInvitationLabel.NO_METHOD_AVAILABLE_HINT)}\n </AlertDescription>\n </Alert>\n )}\n\n {declineError && (\n <Alert variant=\"destructive\" className=\"mt-group\">\n <AlertDescription>{declineError}</AlertDescription>\n </Alert>\n )}\n\n <div className=\"text-center mt-group space-y-item-sm\">\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n onClick={handleDecline}\n disabled={methodSubmitInFlight || isDeclining}\n className=\"w-full\"\n >\n {isDeclining ? t(UserInvitationLabel.DECLINING_INVITATION) : t(UserInvitationLabel.DECLINE_INVITATION)}\n </Button>\n <AuthSecondaryLink href={loginPath}>{t(UserInvitationLabel.LOGIN_LINK)}</AuthSecondaryLink>\n {/*\n This screen collects the invitee's name and credential before any session exists, the Art. 13(1) moment, and an\n invited member of an internal tool meets it before sign-in. `AuthPrivacyNoticeLink` records why (#2976). The\n word is the sign-in screen's (`UserAuthLabel`), whose namespace this screen already loads for its methods.\n */}\n <AuthPrivacyNoticeLink label={tAuth(UserAuthLabel.PRIVACY_NOTICE_LINK)} />\n </div>\n </>\n );\n};\n\nexport function Auth_Invitation({ preset = CorePresetNames.DEFAULT, ...props }: PublicLayoutPreset_UserInvitation_DefaultProps & ComponentPresetProps): React.JSX.Element {\n const Component = createComponentResolver<PublicLayoutPreset_UserInvitation_DefaultProps>(FrontendComponentType.PUBLIC_LAYOUTS_USER_INVITATION, 'Auth_Invitation')(preset);\n return <Component {...props} />;\n}\n"]}
@@ -36,13 +36,13 @@ export const PublicLayoutsUserInvitationLabels = [
36
36
  ref: UserInvitationLabel.POLICY_MIN_LENGTH,
37
37
  kind: LabelKind.DESCRIPTION,
38
38
  purpose: 'Password-policy hint for the minimum required length',
39
- params: [{ key: 'minLength', meaning: 'minimum number of characters the password must contain' }],
39
+ params: [{ key: 'minLength', meaning: 'minimum number of characters the password must contain', isCount: true }],
40
40
  },
41
41
  {
42
42
  ref: UserInvitationLabel.POLICY_MAX_LENGTH,
43
43
  kind: LabelKind.DESCRIPTION,
44
44
  purpose: 'Password-policy hint for the maximum allowed length',
45
- params: [{ key: 'maxLength', meaning: 'maximum number of characters the password may contain' }],
45
+ params: [{ key: 'maxLength', meaning: 'maximum number of characters the password may contain', isCount: true }],
46
46
  },
47
47
  { ref: UserInvitationLabel.POLICY_UPPERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one uppercase letter' },
48
48
  { ref: UserInvitationLabel.POLICY_LOWERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one lowercase letter' },