@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
@@ -1 +1 @@
1
- {"version":3,"file":"Auth_OAuthConsent.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_OAuthConsent.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAEpH,OAAO,EAAE,uBAAuB,EAAE,MAAM,iFAAiF,CAAC;AAC1H,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,MAAM,gDAAgD,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,yDAAyD,CAAC;AACzF,OAAO,EA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,MAAM,GAAG,eAAe,CAAC,OAAO,EAChC,GAAG,KAAK,EAC4D;IACpE,MAAM,SAAS,GAAG,uBAAuB,CACvC,qBAAqB,CAAC,4BAA4B,EAClD,mBAAmB,CACpB,CAAC,MAAM,CAAC,CAAC;IACV,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC","sourcesContent":["import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { Navigate, useSearchParams } from 'react-router-dom';\nimport { CorePresetNames, FrontendComponentType, UserOAuthConsentLabel } from '@wildo-ai/presets-components-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 { CheckboxRoot } from '~wildo-frontend-lib/components/form/controls/boolean/checkbox';\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 {\n getManualCallsHttpClient,\n type OAuthConsentRequiredResponse,\n} from '~wildo-frontend-lib/core/requests/wildo-http-client-manual-calls.frontend.service';\nimport { useUserOrgs } from '~wildo-frontend-lib/core/security/useUserOrgs';\nimport { CommonRoutePaths } from '~wildo-frontend-lib/core/runtime/routes.frontend.definitions';\nimport {\n appendAuthRedirectToPath,\n buildAuthRedirectTarget,\n} from '~wildo-frontend-lib/core/security/auth-redirect.frontend.utils';\n\n/**\n * OIDC interactive-consent screen (S1) — the body rendered by {@link AuthPage_OAuthConsent}.\n *\n * FLOW (Bearer-authed SPA, NOT a server-rendered page — see the backend `handleConsentDecision`\n * JSDoc): a third-party client redirects the browser here with the OAuth authorize query. This\n * component forwards that query to `GET /oauth/authorize` (Bearer auto-attached) → the backend\n * returns `consent_required` + a single-use consent token + the requesting client / scopes / agent\n * resource. On Approve/Deny it POSTs `{consent_token, decision}` to `/oauth/authorize/decision`,\n * which returns `{ redirect_to }`; the app then `window.location.assign(redirect_to)` to complete the\n * OAuth redirect back to the client (carrying the `code` on approve, `error=access_denied` on deny).\n *\n * Copy is resolved through {@link UserOAuthConsentLabel} (component\n * `PUBLIC_LAYOUTS_OAUTH_CONSENT`) via {@link useI18n}; the label metadata lives in the\n * companion-scanned `Auth_OAuthConsent.labels.ts`.\n */\n\n// The authorize params this screen forwards verbatim to `GET /oauth/authorize`; the backend validates\n// them (client/redirect allowlist, PKCE). Anything else in the URL is ignored.\nconst AUTHORIZE_PARAM_KEYS = [\n 'response_type',\n 'client_id',\n 'redirect_uri',\n 'code_challenge',\n 'code_challenge_method',\n 'scope',\n 'resource',\n 'state',\n 'nonce',\n] as const;\n\ntype ConsentStatus = 'loading' | 'ready' | 'submitting' | 'error';\n\n/**\n * Props for the consent screen preset. The screen is self-driven from the authorize query\n * (`useSearchParams`) and the session (`useUserOrgs`), so it takes no external props — this interface\n * exists to satisfy the preset-wrapper contract (preset resolution + the frontend-component spec)\n * shared by every `PUBLIC_LAYOUTS` auth page.\n */\nexport interface PublicLayoutPreset_OAuthConsent_DefaultProps {\n /** Reserved: the consent screen is URL/session-driven and currently accepts no props. */\n readonly _selfDriven?: never;\n}\n\n/** Default preset implementation for {@link FrontendComponentType.PUBLIC_LAYOUTS_OAUTH_CONSENT}. */\nexport const PublicLayoutPreset_OAuthConsent_Default = (\n _props: PublicLayoutPreset_OAuthConsent_DefaultProps,\n): React.JSX.Element => {\n const { auth } = useUserOrgs();\n const { tComponent, isReady } = useI18n({ component: FrontendComponentType.PUBLIC_LAYOUTS_OAUTH_CONSENT });\n const [searchParams] = useSearchParams();\n const [status, setStatus] = useState<ConsentStatus>('loading');\n const [consent, setConsent] = useState<OAuthConsentRequiredResponse | null>(null);\n // The error is held as a label KEY (not resolved copy) so it stays i18n-clean and translatable.\n const [errorLabel, setErrorLabel] = useState<UserOAuthConsentLabel | null>(null);\n // Item 3 \"remember this app\" — opt-in (default off): on approve, stores a durable grant so a future\n // authorize with covering scopes skips this screen.\n const [remember, setRemember] = useState(false);\n\n const accessToken = auth?.accessToken;\n\n const t = (key: string, params?: Record<string, string>): string =>\n tComponent(FrontendComponentType.PUBLIC_LAYOUTS_OAUTH_CONSENT, key, params);\n\n // Stale-closure-proof single-flight guard for the decision POST. The buttons already unmount when\n // `status` flips to 'submitting' (see the render below) and the consent token is single-use\n // server-side, but a synchronous double-dispatch could still fire two POSTs before React re-renders\n // — a `status === 'submitting'` check would read the captured (stale) 'ready' in that window, so a\n // ref (set synchronously at the top of `decide`) is the only reliable in-flight latch.\n const submittingRef = useRef(false);\n\n // The authorize query, filtered to the known OAuth params (verbatim pass-through to the backend).\n const authorizeParams = useMemo(() => {\n const params = new URLSearchParams();\n for (const key of AUTHORIZE_PARAM_KEYS) {\n const value = searchParams.get(key);\n if (value) params.set(key, value);\n }\n return params;\n }, [searchParams]);\n\n // Load the consent request once the user is authenticated.\n useEffect(() => {\n if (!accessToken) return; // the Navigate guard below sends the user to login first\n let cancelled = false;\n setStatus('loading');\n setErrorLabel(null);\n getManualCallsHttpClient()\n .oauthAuthorizeConsent(authorizeParams)\n .then((response) => {\n if (cancelled) return;\n if (response && 'consent_required' in response && response.consent_required && response.consent_token) {\n setConsent(response);\n setStatus('ready');\n } else if (response && 'redirect_to' in response && response.redirect_to) {\n // Trusted (non-`requiresConsent`) client — the backend already minted the code; complete the\n // OAuth redirect back to the client WITHOUT a consent screen. (`window.location.assign` because\n // the redirect target is cross-origin; the XHR could not have followed a 302 itself.)\n window.location.assign(response.redirect_to);\n } else {\n setStatus('error');\n setErrorLabel(UserOAuthConsentLabel.ERROR_INVALID);\n }\n })\n .catch(() => {\n if (cancelled) return;\n setStatus('error');\n setErrorLabel(UserOAuthConsentLabel.ERROR_LOAD);\n });\n return () => {\n cancelled = true;\n };\n }, [accessToken, authorizeParams]);\n\n const decide = useCallback(\n async (decision: 'approve' | 'deny') => {\n if (!consent || submittingRef.current) return;\n submittingRef.current = true;\n setStatus('submitting');\n setErrorLabel(null);\n try {\n const { redirect_to } = await getManualCallsHttpClient().oauthConsentDecision(\n consent.consent_token,\n decision,\n // Only an APPROVE meaningfully \"remembers\"; a deny sends `false` harmlessly.\n decision === 'approve' && remember,\n );\n // Complete the OAuth redirect back to the third-party client (carries `code` or the error).\n window.location.assign(redirect_to);\n } catch {\n // Release the local latch. A lost response may follow server-side token consumption;\n // the error view does not retry this request token. A fresh flow obtains fresh state.\n submittingRef.current = false;\n setStatus('error');\n setErrorLabel(UserOAuthConsentLabel.ERROR_DECISION);\n }\n },\n [consent, remember],\n );\n\n // Not authenticated → send to login, returning to this exact consent request afterwards.\n if (!accessToken) {\n const target = buildAuthRedirectTarget({\n pathname: CommonRoutePaths.oauthConsent,\n search: `?${searchParams.toString()}`,\n });\n return <Navigate to={appendAuthRedirectToPath(CommonRoutePaths.login, target)} replace />;\n }\n\n if (status === 'loading' || status === 'submitting' || !isReady) {\n return (\n <div className=\"py-region flex justify-center\">\n <LoadingSpinner />\n </div>\n );\n }\n\n if (status === 'error' || !consent) {\n return (\n <Alert variant=\"destructive\">\n <AlertDescription>{t(errorLabel ?? UserOAuthConsentLabel.ERROR_GENERIC)}</AlertDescription>\n </Alert>\n );\n }\n\n return (\n <div className=\"space-y-group\">\n <div className=\"text-center space-y-item-xs\">\n <Heading>{t(UserOAuthConsentLabel.TITLE, { clientName: consent.client.name })}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserOAuthConsentLabel.SUB_TITLE)}</Text>\n </div>\n\n {consent.scopes.length > 0 && (\n <div className=\"space-y-element\">\n <Text className=\"font-medium\">{t(UserOAuthConsentLabel.SCOPES_INTRO)}</Text>\n <ul className=\"space-y-item-xs\">\n {consent.scopes.map((scope) => (\n <li key={scope}>\n <Text>{scope}</Text>\n </li>\n ))}\n </ul>\n </div>\n )}\n\n {consent.resource && (\n <Text className=\"text-sm break-all\">{t(UserOAuthConsentLabel.AGENT_ENDPOINT, { resource: consent.resource })}</Text>\n )}\n\n <label className=\"flex items-center gap-item-xs cursor-pointer\">\n <CheckboxRoot checked={remember} onCheckedChange={(c) => setRemember(c === true)} />\n <Text>{t(UserOAuthConsentLabel.REMEMBER)}</Text>\n </label>\n\n <div className=\"flex gap-element\">\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n className=\"flex-1\"\n onClick={() => decide('deny')}\n >\n {t(UserOAuthConsentLabel.DENY)}\n </Button>\n <Button\n variant={ButtonVariants_Variant.DEFAULT}\n className=\"flex-1\"\n onClick={() => decide('approve')}\n >\n {t(UserOAuthConsentLabel.APPROVE)}\n </Button>\n </div>\n </div>\n );\n};\n\n/**\n * Preset-resolving wrapper for the OIDC consent screen (mirrors every other `PUBLIC_LAYOUTS` auth\n * page). Resolves `PUBLIC_LAYOUTS_OAUTH_CONSENT` to its registered preset (default =\n * {@link PublicLayoutPreset_OAuthConsent_Default}) so an application can swap in a branded consent UI\n * via the component registry. {@link AuthPage_OAuthConsent} renders this wrapper.\n */\nexport function Auth_OAuthConsent({\n preset = CorePresetNames.DEFAULT,\n ...props\n}: PublicLayoutPreset_OAuthConsent_DefaultProps & ComponentPresetProps): React.JSX.Element {\n const Component = createComponentResolver<PublicLayoutPreset_OAuthConsent_DefaultProps>(\n FrontendComponentType.PUBLIC_LAYOUTS_OAUTH_CONSENT,\n 'Auth_OAuthConsent',\n )(preset);\n return <Component {...props} />;\n}\n"]}
1
+ {"version":3,"file":"Auth_OAuthConsent.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_OAuthConsent.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAA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I,cAAE,CAAC,CAAC,qBAAqB,CAAC,QAAQ,CAAC,GAAQ,IAC1C,EAER,eAAK,SAAS,EAAC,kBAAkB,aAC/B,KAAC,MAAM,IACL,OAAO,EAAE,sBAAsB,CAAC,OAAO,EACvC,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,YAE/C,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,GACvB,EACT,KAAC,MAAM,IACL,OAAO,EAAE,sBAAsB,CAAC,OAAO,EACvC,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,oBAAoB,CAAC,OAAO,CAAC,YAElD,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,GAC1B,IACL,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAChC,MAAM,GAAG,eAAe,CAAC,OAAO,EAChC,GAAG,KAAK,EAC4D;IACpE,MAAM,SAAS,GAAG,uBAAuB,CACvC,qBAAqB,CAAC,4BAA4B,EAClD,mBAAmB,CACpB,CAAC,MAAM,CAAC,CAAC;IACV,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC","sourcesContent":["import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { Navigate, useSearchParams } from 'react-router-dom';\nimport { OAuthConsentDecision } from '@wildo-ai/saas-models';\nimport { CorePresetNames, FrontendComponentType, UserOAuthConsentLabel } from '@wildo-ai/presets-components-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 { CheckboxRoot } from '~wildo-frontend-lib/components/form/controls/boolean/checkbox';\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 {\n getManualCallsHttpClient,\n type OAuthConsentRequiredResponse,\n} from '~wildo-frontend-lib/core/requests/wildo-http-client-manual-calls.frontend.service';\nimport { useUserOrgs } from '~wildo-frontend-lib/core/security/useUserOrgs';\nimport { CommonRoutePaths } from '~wildo-frontend-lib/core/runtime/routes.frontend.definitions';\nimport {\n appendAuthRedirectToPath,\n buildAuthRedirectTarget,\n} from '~wildo-frontend-lib/core/security/auth-redirect.frontend.utils';\n\n/**\n * OIDC interactive-consent screen (S1) — the body rendered by {@link AuthPage_OAuthConsent}.\n *\n * FLOW (Bearer-authed SPA, NOT a server-rendered page — see the backend `handleConsentDecision`\n * JSDoc): a third-party client redirects the browser here with the OAuth authorize query. This\n * component forwards that query to `GET /oauth/authorize` (Bearer auto-attached) → the backend\n * returns `consent_required` + a single-use consent token + the requesting client / scopes / agent\n * resource. On Approve/Deny it POSTs `{consent_token, decision}` to `/oauth/authorize/decision`,\n * which returns `{ redirect_to }`; the app then `window.location.assign(redirect_to)` to complete the\n * OAuth redirect back to the client (carrying the `code` on approve, `error=access_denied` on deny).\n *\n * Copy is resolved through {@link UserOAuthConsentLabel} (component\n * `PUBLIC_LAYOUTS_OAUTH_CONSENT`) via {@link useI18n}; the label metadata lives in the\n * companion-scanned `Auth_OAuthConsent.labels.ts`.\n */\n\n// The authorize params this screen forwards verbatim to `GET /oauth/authorize`; the backend validates\n// them (client/redirect allowlist, PKCE). Anything else in the URL is ignored.\nconst AUTHORIZE_PARAM_KEYS = [\n 'response_type',\n 'client_id',\n 'redirect_uri',\n 'code_challenge',\n 'code_challenge_method',\n 'scope',\n 'resource',\n 'state',\n 'nonce',\n] as const;\n\ntype ConsentStatus = 'loading' | 'ready' | 'submitting' | 'error';\n\n/**\n * Props for the consent screen preset. The screen is self-driven from the authorize query\n * (`useSearchParams`) and the session (`useUserOrgs`), so it takes no external props — this interface\n * exists to satisfy the preset-wrapper contract (preset resolution + the frontend-component spec)\n * shared by every `PUBLIC_LAYOUTS` auth page.\n */\nexport interface PublicLayoutPreset_OAuthConsent_DefaultProps {\n /** Reserved: the consent screen is URL/session-driven and currently accepts no props. */\n readonly _selfDriven?: never;\n}\n\n/** Default preset implementation for {@link FrontendComponentType.PUBLIC_LAYOUTS_OAUTH_CONSENT}. */\nexport const PublicLayoutPreset_OAuthConsent_Default = (\n _props: PublicLayoutPreset_OAuthConsent_DefaultProps,\n): React.JSX.Element => {\n const { auth } = useUserOrgs();\n const { tComponent, isReady } = useI18n({ component: FrontendComponentType.PUBLIC_LAYOUTS_OAUTH_CONSENT });\n const [searchParams] = useSearchParams();\n const [status, setStatus] = useState<ConsentStatus>('loading');\n const [consent, setConsent] = useState<OAuthConsentRequiredResponse | null>(null);\n // The error is held as a label KEY (not resolved copy) so it stays i18n-clean and translatable.\n const [errorLabel, setErrorLabel] = useState<UserOAuthConsentLabel | null>(null);\n // Item 3 \"remember this app\" — opt-in (default off): on approve, stores a durable grant so a future\n // authorize with covering scopes skips this screen.\n const [remember, setRemember] = useState(false);\n\n const accessToken = auth?.accessToken;\n\n const t = (key: string, params?: Record<string, string>): string =>\n tComponent(FrontendComponentType.PUBLIC_LAYOUTS_OAUTH_CONSENT, key, params);\n\n // Stale-closure-proof single-flight guard for the decision POST. The buttons already unmount when\n // `status` flips to 'submitting' (see the render below) and the consent token is single-use\n // server-side, but a synchronous double-dispatch could still fire two POSTs before React re-renders\n // — a `status === 'submitting'` check would read the captured (stale) 'ready' in that window, so a\n // ref (set synchronously at the top of `decide`) is the only reliable in-flight latch.\n const submittingRef = useRef(false);\n\n // The authorize query, filtered to the known OAuth params (verbatim pass-through to the backend).\n const authorizeParams = useMemo(() => {\n const params = new URLSearchParams();\n for (const key of AUTHORIZE_PARAM_KEYS) {\n const value = searchParams.get(key);\n if (value) params.set(key, value);\n }\n return params;\n }, [searchParams]);\n\n // Load the consent request once the user is authenticated.\n useEffect(() => {\n if (!accessToken) return; // the Navigate guard below sends the user to login first\n let cancelled = false;\n setStatus('loading');\n setErrorLabel(null);\n getManualCallsHttpClient()\n .oauthAuthorizeConsent(authorizeParams)\n .then((response) => {\n if (cancelled) return;\n if (response && 'consent_required' in response && response.consent_required && response.consent_token) {\n setConsent(response);\n setStatus('ready');\n } else if (response && 'redirect_to' in response && response.redirect_to) {\n // Trusted (non-`requiresConsent`) client — the backend already minted the code; complete the\n // OAuth redirect back to the client WITHOUT a consent screen. (`window.location.assign` because\n // the redirect target is cross-origin; the XHR could not have followed a 302 itself.)\n window.location.assign(response.redirect_to);\n } else {\n setStatus('error');\n setErrorLabel(UserOAuthConsentLabel.ERROR_INVALID);\n }\n })\n .catch(() => {\n if (cancelled) return;\n setStatus('error');\n setErrorLabel(UserOAuthConsentLabel.ERROR_LOAD);\n });\n return () => {\n cancelled = true;\n };\n }, [accessToken, authorizeParams]);\n\n const decide = useCallback(\n async (decision: OAuthConsentDecision) => {\n if (!consent || submittingRef.current) return;\n submittingRef.current = true;\n setStatus('submitting');\n setErrorLabel(null);\n try {\n const { redirect_to } = await getManualCallsHttpClient().oauthConsentDecision(\n consent.consent_token,\n decision,\n // Only an APPROVE meaningfully \"remembers\"; a deny sends `false` harmlessly.\n decision === OAuthConsentDecision.APPROVE && remember,\n );\n // Complete the OAuth redirect back to the third-party client (carries `code` or the error).\n window.location.assign(redirect_to);\n } catch {\n // Release the local latch. A lost response may follow server-side token consumption;\n // the error view does not retry this request token. A fresh flow obtains fresh state.\n submittingRef.current = false;\n setStatus('error');\n setErrorLabel(UserOAuthConsentLabel.ERROR_DECISION);\n }\n },\n [consent, remember],\n );\n\n // Not authenticated → send to login, returning to this exact consent request afterwards.\n if (!accessToken) {\n const target = buildAuthRedirectTarget({\n pathname: CommonRoutePaths.oauthConsent,\n search: `?${searchParams.toString()}`,\n });\n return <Navigate to={appendAuthRedirectToPath(CommonRoutePaths.login, target)} replace />;\n }\n\n if (status === 'loading' || status === 'submitting' || !isReady) {\n return (\n <div className=\"py-region flex justify-center\">\n <LoadingSpinner />\n </div>\n );\n }\n\n if (status === 'error' || !consent) {\n return (\n <Alert variant=\"destructive\">\n <AlertDescription>{t(errorLabel ?? UserOAuthConsentLabel.ERROR_GENERIC)}</AlertDescription>\n </Alert>\n );\n }\n\n return (\n <div className=\"space-y-group\">\n <div className=\"text-center space-y-item-xs\">\n <Heading>{t(UserOAuthConsentLabel.TITLE, { clientName: consent.client.name })}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserOAuthConsentLabel.SUB_TITLE)}</Text>\n </div>\n\n {consent.scopes.length > 0 && (\n <div className=\"space-y-element\">\n <Text className=\"font-medium\">{t(UserOAuthConsentLabel.SCOPES_INTRO)}</Text>\n <ul className=\"space-y-item-xs\">\n {consent.scopes.map((scope) => (\n <li key={scope}>\n <Text>{scope}</Text>\n </li>\n ))}\n </ul>\n </div>\n )}\n\n {consent.resource && (\n <Text className=\"text-sm break-all\">{t(UserOAuthConsentLabel.AGENT_ENDPOINT, { resource: consent.resource })}</Text>\n )}\n\n <label className=\"flex items-center gap-item-xs cursor-pointer\">\n <CheckboxRoot checked={remember} onCheckedChange={(c) => setRemember(c === true)} />\n <Text>{t(UserOAuthConsentLabel.REMEMBER)}</Text>\n </label>\n\n <div className=\"flex gap-element\">\n <Button\n variant={ButtonVariants_Variant.OUTLINE}\n className=\"flex-1\"\n onClick={() => decide(OAuthConsentDecision.DENY)}\n >\n {t(UserOAuthConsentLabel.DENY)}\n </Button>\n <Button\n variant={ButtonVariants_Variant.DEFAULT}\n className=\"flex-1\"\n onClick={() => decide(OAuthConsentDecision.APPROVE)}\n >\n {t(UserOAuthConsentLabel.APPROVE)}\n </Button>\n </div>\n </div>\n );\n};\n\n/**\n * Preset-resolving wrapper for the OIDC consent screen (mirrors every other `PUBLIC_LAYOUTS` auth\n * page). Resolves `PUBLIC_LAYOUTS_OAUTH_CONSENT` to its registered preset (default =\n * {@link PublicLayoutPreset_OAuthConsent_Default}) so an application can swap in a branded consent UI\n * via the component registry. {@link AuthPage_OAuthConsent} renders this wrapper.\n */\nexport function Auth_OAuthConsent({\n preset = CorePresetNames.DEFAULT,\n ...props\n}: PublicLayoutPreset_OAuthConsent_DefaultProps & ComponentPresetProps): React.JSX.Element {\n const Component = createComponentResolver<PublicLayoutPreset_OAuthConsent_DefaultProps>(\n FrontendComponentType.PUBLIC_LAYOUTS_OAUTH_CONSENT,\n 'Auth_OAuthConsent',\n )(preset);\n return <Component {...props} />;\n}\n"]}
@@ -27,13 +27,13 @@ export const PublicLayoutsUserPasswordLostLabels = [
27
27
  ref: UserPasswordLostLabel.POLICY_MIN_LENGTH,
28
28
  kind: LabelKind.DESCRIPTION,
29
29
  purpose: 'Password-policy hint for the minimum required length',
30
- params: [{ key: 'minLength', meaning: 'minimum number of characters the password must contain' }],
30
+ params: [{ key: 'minLength', meaning: 'minimum number of characters the password must contain', isCount: true }],
31
31
  },
32
32
  {
33
33
  ref: UserPasswordLostLabel.POLICY_MAX_LENGTH,
34
34
  kind: LabelKind.DESCRIPTION,
35
35
  purpose: 'Password-policy hint for the maximum allowed length',
36
- params: [{ key: 'maxLength', meaning: 'maximum number of characters the password may contain' }],
36
+ params: [{ key: 'maxLength', meaning: 'maximum number of characters the password may contain', isCount: true }],
37
37
  },
38
38
  { ref: UserPasswordLostLabel.POLICY_UPPERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one uppercase letter' },
39
39
  { ref: UserPasswordLostLabel.POLICY_LOWERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one lowercase letter' },
@@ -1 +1 @@
1
- {"version":3,"file":"Auth_PasswordLost.labels.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_PasswordLost.labels.ts"],"names":[],"mappings":"A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AE;IAClJ;QACE,GAAG,EAAE,qBAAqB,CAAC,iBAAiB;QAC5C,IAAI,EAAE,SAAS,CAAC,WAAW;QAC3B,OAAO,EAAE,sDAAsD;QAC/D,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,wDAAwD,EAAE,CAAC;KAClG;IACD;QACE,GAAG,EAAE,qBAAqB,CAAC,iBAAiB;QAC5C,IAAI,EAAE,SAAS,CAAC,WAAW;QAC3B,OAAO,EAAE,qDAAqD;QAC9D,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,uDAAuD,EAAE,CAAC;KACjG;IACD,EAAE,GAAG,EAAE,qBAAqB,CAAC,gBAAgB,EAAE,IAAI,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,8DAA8D,EAAE;IACrJ,EAAE,GAAG,EAAE,qBAAqB,CAAC,gBAAgB,EAAE,IAAI,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,8DAA8D,EAAE;IACrJ,EAAE,GAAG,EAAE,qBAAqB,CAAC,aAAa,EAAE,IAAI,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,mDAAmD,EAAE;IACvI,EAAE,GAAG,EAAE,qBAAqB,CAAC,mBAAmB,EAAE,IAAI,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,+DAA+D,EAAE;IACzJ;QACE,GAAG,EAAE,qBAAqB,CAAC,kBAAkB;QAC7C,IAAI,EAAE,SAAS,CAAC,WAAW;QAC3B,OAAO,EACL,0VAA0V;KAC7V;CACF,CAAC;AACF,uBAAuB,CAAC,qBAAqB,CAAC,iCAAiC,EAAE,mCAAmC,CAAC,CAAC","sourcesContent":["import { FrontendComponentType, LabelKind, type LabellingUnitaryDef, registerComponentLabels, UserPasswordLostLabel } from '@wildo-ai/presets-components-models';\n\n// Companion-only label metadata for this component: keys + params + per-key\n// purpose / kind / variable meaning. Statically scanned by the dev companion;\n// NOT imported at runtime, so it never ships in the bundle.\n\nexport const PublicLayoutsUserPasswordLostLabels: LabellingUnitaryDef[] = [\n { ref: UserPasswordLostLabel.TITLE, kind: LabelKind.HEADING, purpose: 'Heading of the request-password-reset screen' },\n { ref: UserPasswordLostLabel.SUB_TITLE, kind: LabelKind.DESCRIPTION, purpose: 'Supporting line explaining the reset-link request' },\n { ref: UserPasswordLostLabel.EMAIL_ADDRESS, kind: LabelKind.LABEL, purpose: 'Field label for the email input that receives the reset link' },\n { ref: UserPasswordLostLabel.SEND_RESET_PASSWORD_LINK, kind: LabelKind.BUTTON, purpose: 'Button that emails the password-reset link' },\n { ref: UserPasswordLostLabel.SENDING, kind: LabelKind.MESSAGE, purpose: 'In-progress status while the reset link is being sent' },\n { ref: UserPasswordLostLabel.SUCCESS_TITLE, kind: LabelKind.HEADING, purpose: 'Heading confirming the reset link was sent' },\n { ref: UserPasswordLostLabel.SUCCESS_MESSAGE, kind: LabelKind.MESSAGE, purpose: 'Body text telling the user to check their inbox for the reset link' },\n { ref: UserPasswordLostLabel.BACK_TO_LOGIN, kind: LabelKind.LABEL, purpose: 'Link back to the sign-in screen from the request-reset view' },\n { ref: UserPasswordLostLabel.RESET_TITLE, kind: LabelKind.HEADING, purpose: 'Heading of the set-new-password screen reached via the reset link' },\n { ref: UserPasswordLostLabel.RESET_SUB_TITLE, kind: LabelKind.DESCRIPTION, purpose: 'Supporting line for the set-new-password screen' },\n { ref: UserPasswordLostLabel.NEW_PASSWORD, kind: LabelKind.LABEL, purpose: 'Field label for the new-password input' },\n { ref: UserPasswordLostLabel.CONFIRM_PASSWORD, kind: LabelKind.LABEL, purpose: 'Field label for the confirm-new-password input' },\n { ref: UserPasswordLostLabel.RESET_BUTTON, kind: LabelKind.BUTTON, purpose: 'Button that submits the new password' },\n { ref: UserPasswordLostLabel.RESETTING, kind: LabelKind.MESSAGE, purpose: 'In-progress status while the new password is being saved' },\n { ref: UserPasswordLostLabel.RESET_SUCCESS_TITLE, kind: LabelKind.HEADING, purpose: 'Heading confirming the password was reset' },\n { ref: UserPasswordLostLabel.RESET_SUCCESS_MESSAGE, kind: LabelKind.MESSAGE, purpose: 'Body text confirming the password was changed and inviting sign-in' },\n { ref: UserPasswordLostLabel.LOGIN_LINK, kind: LabelKind.LABEL, purpose: 'Link to the sign-in screen after a successful reset' },\n { ref: UserPasswordLostLabel.PASSWORD_MISMATCH, kind: LabelKind.MESSAGE, purpose: 'Validation error when the new password and confirmation do not match' },\n { ref: UserPasswordLostLabel.INVALID_TOKEN, kind: LabelKind.MESSAGE, purpose: 'Error shown when the reset token is missing, invalid, or expired' },\n { ref: UserPasswordLostLabel.UNEXPECTED_ERROR, kind: LabelKind.MESSAGE, purpose: 'Generic error shown when the reset request fails unexpectedly' },\n {\n ref: UserPasswordLostLabel.POLICY_MIN_LENGTH,\n kind: LabelKind.DESCRIPTION,\n purpose: 'Password-policy hint for the minimum required length',\n params: [{ key: 'minLength', meaning: 'minimum number of characters the password must contain' }],\n },\n {\n ref: UserPasswordLostLabel.POLICY_MAX_LENGTH,\n kind: LabelKind.DESCRIPTION,\n purpose: 'Password-policy hint for the maximum allowed length',\n params: [{ key: 'maxLength', meaning: 'maximum number of characters the password may contain' }],\n },\n { ref: UserPasswordLostLabel.POLICY_UPPERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one uppercase letter' },\n { ref: UserPasswordLostLabel.POLICY_LOWERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one lowercase letter' },\n { ref: UserPasswordLostLabel.POLICY_NUMBER, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one digit' },\n { ref: UserPasswordLostLabel.POLICY_SPECIAL_CHAR, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one special character' },\n {\n ref: UserPasswordLostLabel.POLICY_BLOCKLISTED,\n kind: LabelKind.DESCRIPTION,\n purpose:\n 'Refusal shown when the chosen password is a known common guess, the application\\'s own name, or the local part of the user\\'s own email address. It reports a property of THIS password rather than an unmet rule, so it must not read like the other hints — there is no character the user can add to satisfy it, only a different password to choose.',\n },\n];\nregisterComponentLabels(FrontendComponentType.PUBLIC_LAYOUTS_USER_PASSWORD_LOST, PublicLayoutsUserPasswordLostLabels);\n"]}
1
+ {"version":3,"file":"Auth_PasswordLost.labels.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_PasswordLost.labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAA4B,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAEjK,4EAA4E;AAC5E,8EAA8E;AAC9E,4DAA4D;AAE5D,MAAM,CAAC,MAAM,mCAAmC,GAA0B;IACxE,EAAE,GAAG,EAAE,qBAAqB,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,8CAA8C,EAAE;IACtH,EAAE,GAAG,EAAE,qBAAqB,CAAC,SAAS,EAAE,IAAI,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,mDAAmD,EAAE;IACnI,EAAE,GAAG,EAAE,qBAAqB,CAAC,aAAa,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,8DAA8D,EAAE;IAC5I,EAAE,GAAG,EAAE,qBAAqB,CAAC,wBAAwB,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,4CAA4C,EAAE;IACtI,EAAE,GAAG,EAAE,qBAAqB,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,uDAAuD,EAAE;IACjI,EAAE,GAAG,EAAE,qBAAqB,CAAC,aAAa,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,4CAA4C,EAAE;IAC5H,EAAE,GAAG,EAAE,qBAAqB,CAAC,eAAe,EAAE,IAAI,EAAE,SAAS,CAAC,OAAO,EAAE,O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,CAAC,kBAAkB;QAC7C,IAAI,EAAE,SAAS,CAAC,WAAW;QAC3B,OAAO,EACL,0VAA0V;KAC7V;CACF,CAAC;AACF,uBAAuB,CAAC,qBAAqB,CAAC,iCAAiC,EAAE,mCAAmC,CAAC,CAAC","sourcesContent":["import { FrontendComponentType, LabelKind, type LabellingUnitaryDef, registerComponentLabels, UserPasswordLostLabel } from '@wildo-ai/presets-components-models';\n\n// Companion-only label metadata for this component: keys + params + per-key\n// purpose / kind / variable meaning. Statically scanned by the dev companion;\n// NOT imported at runtime, so it never ships in the bundle.\n\nexport const PublicLayoutsUserPasswordLostLabels: LabellingUnitaryDef[] = [\n { ref: UserPasswordLostLabel.TITLE, kind: LabelKind.HEADING, purpose: 'Heading of the request-password-reset screen' },\n { ref: UserPasswordLostLabel.SUB_TITLE, kind: LabelKind.DESCRIPTION, purpose: 'Supporting line explaining the reset-link request' },\n { ref: UserPasswordLostLabel.EMAIL_ADDRESS, kind: LabelKind.LABEL, purpose: 'Field label for the email input that receives the reset link' },\n { ref: UserPasswordLostLabel.SEND_RESET_PASSWORD_LINK, kind: LabelKind.BUTTON, purpose: 'Button that emails the password-reset link' },\n { ref: UserPasswordLostLabel.SENDING, kind: LabelKind.MESSAGE, purpose: 'In-progress status while the reset link is being sent' },\n { ref: UserPasswordLostLabel.SUCCESS_TITLE, kind: LabelKind.HEADING, purpose: 'Heading confirming the reset link was sent' },\n { ref: UserPasswordLostLabel.SUCCESS_MESSAGE, kind: LabelKind.MESSAGE, purpose: 'Body text telling the user to check their inbox for the reset link' },\n { ref: UserPasswordLostLabel.BACK_TO_LOGIN, kind: LabelKind.LABEL, purpose: 'Link back to the sign-in screen from the request-reset view' },\n { ref: UserPasswordLostLabel.RESET_TITLE, kind: LabelKind.HEADING, purpose: 'Heading of the set-new-password screen reached via the reset link' },\n { ref: UserPasswordLostLabel.RESET_SUB_TITLE, kind: LabelKind.DESCRIPTION, purpose: 'Supporting line for the set-new-password screen' },\n { ref: UserPasswordLostLabel.NEW_PASSWORD, kind: LabelKind.LABEL, purpose: 'Field label for the new-password input' },\n { ref: UserPasswordLostLabel.CONFIRM_PASSWORD, kind: LabelKind.LABEL, purpose: 'Field label for the confirm-new-password input' },\n { ref: UserPasswordLostLabel.RESET_BUTTON, kind: LabelKind.BUTTON, purpose: 'Button that submits the new password' },\n { ref: UserPasswordLostLabel.RESETTING, kind: LabelKind.MESSAGE, purpose: 'In-progress status while the new password is being saved' },\n { ref: UserPasswordLostLabel.RESET_SUCCESS_TITLE, kind: LabelKind.HEADING, purpose: 'Heading confirming the password was reset' },\n { ref: UserPasswordLostLabel.RESET_SUCCESS_MESSAGE, kind: LabelKind.MESSAGE, purpose: 'Body text confirming the password was changed and inviting sign-in' },\n { ref: UserPasswordLostLabel.LOGIN_LINK, kind: LabelKind.LABEL, purpose: 'Link to the sign-in screen after a successful reset' },\n { ref: UserPasswordLostLabel.PASSWORD_MISMATCH, kind: LabelKind.MESSAGE, purpose: 'Validation error when the new password and confirmation do not match' },\n { ref: UserPasswordLostLabel.INVALID_TOKEN, kind: LabelKind.MESSAGE, purpose: 'Error shown when the reset token is missing, invalid, or expired' },\n { ref: UserPasswordLostLabel.UNEXPECTED_ERROR, kind: LabelKind.MESSAGE, purpose: 'Generic error shown when the reset request fails unexpectedly' },\n {\n ref: UserPasswordLostLabel.POLICY_MIN_LENGTH,\n kind: LabelKind.DESCRIPTION,\n purpose: 'Password-policy hint for the minimum required length',\n params: [{ key: 'minLength', meaning: 'minimum number of characters the password must contain', isCount: true }],\n },\n {\n ref: UserPasswordLostLabel.POLICY_MAX_LENGTH,\n kind: LabelKind.DESCRIPTION,\n purpose: 'Password-policy hint for the maximum allowed length',\n params: [{ key: 'maxLength', meaning: 'maximum number of characters the password may contain', isCount: true }],\n },\n { ref: UserPasswordLostLabel.POLICY_UPPERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one uppercase letter' },\n { ref: UserPasswordLostLabel.POLICY_LOWERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one lowercase letter' },\n { ref: UserPasswordLostLabel.POLICY_NUMBER, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one digit' },\n { ref: UserPasswordLostLabel.POLICY_SPECIAL_CHAR, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one special character' },\n {\n ref: UserPasswordLostLabel.POLICY_BLOCKLISTED,\n kind: LabelKind.DESCRIPTION,\n purpose:\n 'Refusal shown when the chosen password is a known common guess, the application\\'s own name, or the local part of the user\\'s own email address. It reports a property of THIS password rather than an unmet rule, so it must not read like the other hints — there is no character the user can add to satisfy it, only a different password to choose.',\n },\n];\nregisterComponentLabels(FrontendComponentType.PUBLIC_LAYOUTS_USER_PASSWORD_LOST, PublicLayoutsUserPasswordLostLabels);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Auth_Register.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_Register.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAmDjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kFAAkF,CAAC;AA4JxH,MAAM,WAAW,4CAA4C;CAC5D;AAED,eAAO,MAAM,uCAAuC,GAAI,IAAI,4CAA4C,KAAG,KAAK,CAAC,GAAG,CAAC,OAqqBpH,CAAC;AAyCF,wBAAgB,aAAa,CAAC,EAAE,MAAgC,EAAE,GAAG,KAAK,EAAE,EAAE,4CAA4C,GAAG,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAoBpK"}
1
+ {"version":3,"file":"Auth_Register.d.ts","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_Register.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAmDjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kFAAkF,CAAC;AA4JxH,MAAM,WAAW,4CAA4C;CAC5D;AAED,eAAO,MAAM,uCAAuC,GAAI,IAAI,4CAA4C,KAAG,KAAK,CAAC,GAAG,CAAC,OA4qBpH,CAAC;AAyCF,wBAAgB,aAAa,CAAC,EAAE,MAAgC,EAAE,GAAG,KAAK,EAAE,EAAE,4CAA4C,GAAG,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAoBpK"}
@@ -243,6 +243,13 @@ export const PublicLayoutPreset_UserRegister_Default = ({}) => {
243
243
  const t = (key) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, key);
244
244
  const tAuth = (key) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH, key);
245
245
  const authRedirectTarget = useMemo(() => extractAuthRedirectFromSearch(location.search), [location.search]);
246
+ /**
247
+ * The address a link into sign-up names (`?email=`), filled in for the person to confirm (#2618). A representing
248
+ * organization's invitation sends its invitee here with the invited address, because its proposal reaches only an
249
+ * organization whose owner proved THAT address. A suggestion only: the field stays editable, and the address is
250
+ * proven by the verification email like any other.
251
+ */
252
+ const prefilledEmail = useMemo(() => new URLSearchParams(location.search).get('email')?.trim() ?? '', [location.search]);
246
253
  const loginPath = useMemo(() => appendAuthRedirectToPath(CommonRoutePaths.login, authRedirectTarget), [authRedirectTarget]);
247
254
  const postAuthRedirect = useMemo(() => resolvePostAuthRedirect(location.search), [location.search]);
248
255
  // ─── Social OAuth2 providers from resolved config ───
@@ -556,7 +563,7 @@ export const PublicLayoutPreset_UserRegister_Default = ({}) => {
556
563
  method: activeMethod,
557
564
  }, children: _jsx(AutomatedForm
558
565
  // One form per method: switching remounts it with that method's schema and defaults.
559
- , { schema: registerFormSchema, defaultValues: { email: '', ...(collectsNamesAtSignUp && { firstName: '', lastName: '' }), ...(showOrgNameField && { organizationName: '' }), ...(showPasswordFields && { password: '', confirmPassword: '' }) }, onSubmit: handleRegisterSubmit, onFormReady: handleFormReady, validationMode: ValidationMode.ON_BLUR, disabled: isLoading, layoutTemplate: RegisterFormTemplate, labels: {
566
+ , { schema: registerFormSchema, defaultValues: { email: prefilledEmail, ...(collectsNamesAtSignUp && { firstName: '', lastName: '' }), ...(showOrgNameField && { organizationName: '' }), ...(showPasswordFields && { password: '', confirmPassword: '' }) }, onSubmit: handleRegisterSubmit, onFormReady: handleFormReady, validationMode: ValidationMode.ON_BLUR, disabled: isLoading, layoutTemplate: RegisterFormTemplate, labels: {
560
567
  fields: {
561
568
  email: t(UserRegisterLabel.EMAIL_ADDRESS),
562
569
  ...(collectsNamesAtSignUp && { firstName: t(UserRegisterLabel.FIRST_NAME), lastName: t(UserRegisterLabel.LAST_NAME) }),
@@ -1 +1 @@
1
- {"version":3,"file":"Auth_Register.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_Register.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC/H,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,UAAU,EACV,+CAA+C,EAC/C,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,SAAS,GAGV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,EAC/B,6CAA6C,EAC7C,iCAAiC,EACjC,4BAA4B,EAC5B,qCAAqC,GAEtC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,EAAE,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,MAAM,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,E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AC,4BAA4B,EAAE,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;IACrK,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC","sourcesContent":["import { CorePresetNames, FrontendComponentType, UserAuthLabel, UserRegisterLabel } from '@wildo-ai/presets-components-models';\nimport {\n OnboardingSurveyQuestionType,\n ProfileNamesCollectionMoment,\n AuthMethod,\n findOrganizationTypeRegistrationCreationMatches,\n OrganizationNameSource,\n RegistrationMode,\n UserRegisterFormDtoSchema,\n AuthUtils,\n type PasswordPolicyRules,\n type UserRegisterFormDto,\n} from '@wildo-ai/saas-models';\nimport {\n GovernedDocumentAcceptanceMode,\n GovernedDocumentInteractionKind,\n governedDocumentAcceptanceRequiresExplicitAct,\n requiresApprovedGovernedDocuments,\n resolveInForcePublicDocument,\n selectGovernedDocumentReleasesInForce,\n type GovernedDocumentPublicDocument,\n} from '@wildo-ai/saas-models';\nimport { ValidationMode } from '@wildo-ai/zod-decorators';\nimport { z } from 'zod/v4';\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { Navigate, useLocation } from 'react-router-dom';\nimport { useFormContext } from 'react-hook-form';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport {\n GovernedDocumentAcceptanceControl,\n type GovernedDocumentAcceptanceState,\n type RequiredDocumentPresentation,\n} from '~wildo-frontend-lib/components/compliance/GovernedDocumentAcceptanceControl';\nimport { AutomatedForm } from '~wildo-frontend-lib/components/form/automated/AutomatedForm';\nimport { type FormMethods } from '~wildo-frontend-lib/components/form/Form';\nimport { extractServerValidationErrors } from '~wildo-frontend-lib/components/form/validation-errors/form-error-extraction.utils';\nimport { useServerErrorInjection } from '~wildo-frontend-lib/components/form/validation-errors/useServerErrorInjection';\nimport { Alert, AlertDescription } from '~wildo-frontend-lib/components/overlays/containers/alert';\nimport { OAuthProvidersSection, SSO_PROVIDER_BRAND_META } from '~wildo-frontend-lib/components/auth/utils/OAuthProvidersSection';\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 { DEFAULT_PASSWORD_POLICY, PasswordStrengthIndicator } from '~wildo-frontend-lib/components/auth/utils/PasswordStrengthIndicator';\nimport {\n extractPasswordPolicyErrorMessage,\n resolvePasswordViolationsToLabels,\n} from '~wildo-frontend-lib/components/auth/utils/resolvePasswordViolationsToLabels';\nimport { FormLayout } from '~wildo-frontend-lib/components/resources/skeleton/FormLayout';\nimport { FormField } from '~wildo-frontend-lib/components/form/automated/FormField';\nimport { SubmitButton } from '~wildo-frontend-lib/components/resources/skeleton/SubmitButton';\nimport { Heading } from '~wildo-frontend-lib/components/typography/heading';\nimport { Link } from '~wildo-frontend-lib/components/typography/link';\nimport { AuthSecondaryLink } from '~wildo-frontend-lib/components/auth/utils/AuthSecondaryLink';\nimport { Text } from '~wildo-frontend-lib/components/typography/text';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { useUserFacingErrorMessage } from '~wildo-frontend-lib/core/errors/useUserFacingErrorMessage';\nimport { getManualCallsHttpClient } from '~wildo-frontend-lib/core/requests/wildo-http-client-manual-calls.frontend.service';\n\nimport { CommonRoutePaths } from '~wildo-frontend-lib/core/runtime/routes.frontend.definitions';\nimport { useApplication } from '~wildo-frontend-lib/core/runtime/useApplication';\nimport {\n appendAuthRedirectToPath,\n extractAuthRedirectFromSearch,\n resolvePostAuthRedirect,\n} from '~wildo-frontend-lib/core/security/auth-redirect.frontend.utils';\nimport { useUserOrgs } from '~wildo-frontend-lib/core/security/useUserOrgs';\nimport { organizationOnboardingNavigationTarget } from '~wildo-frontend-lib/core/security/organization-onboarding.frontend.utils';\nimport { useAuthSession } from '~wildo-frontend-lib/core/security/useAuthSession';\nimport { RegistrationOutcome } from '~wildo-frontend-lib/core/security/registration-outcome.frontend.utils';\nimport { useMfaContinuationNavigation } from '~wildo-frontend-lib/components/auth/utils/useMfaContinuationNavigation';\nimport { useResolvedAuthConfig } from '~wildo-frontend-lib/core/security/useResolvedAuthConfig';\nimport type { ResendStatus } from '~wildo-frontend-lib/core/security/security.frontend.schemas';\nimport { collectFrontendProviderDisplayLabelKeys } from '~wildo-frontend-lib/core/external-providers/frontend-provider-display-label.frontend.utils';\nimport { resolveOAuthProviderDisplayLabel, resolvePublicOAuthProviderEntries } from '~wildo-frontend-lib/components/auth/utils/oauth-provider-display-label.frontend.utils';\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\nconst RESEND_COOLDOWN_SECONDS = 60;\n\n/**\n * The sign-up methods THIS screen can carry out, in the order they are offered (#1093). The backend\n * implements public sign-up for exactly these three (`registerUser`); social OAuth2 is a hand-off the\n * providers section owns, and enterprise SSO signs up through the organization. A method is offered\n * only when the user type's `registration.allowedMethods` lists it, so an application that allows\n * MAGIC_LINK alone gets a password-less form and never a password field.\n */\nconst SELF_SIGNUP_METHODS: readonly AuthMethod[] = [AuthMethod.PASSWORD, AuthMethod.MAGIC_LINK, AuthMethod.PASSKEY];\n\n\n// =============================================================================\n// SELF-SUFFICIENT FORM TEMPLATE\n// =============================================================================\n\n/**\n * Module-scope template for the registration form. Fully self-sufficient — derives\n * all runtime state from standard hooks. No `useFormTemplateContext()` call.\n *\n * - Password policy → `useResolvedAuthConfig()`\n * - Root-level form errors → `useFormContext().formState.errors.root`\n * - Labels → `useI18n()`, passed directly to `<SubmitButton>` as props\n * - Conditional fields → FormField returns null for fields not in schema\n */\n/**\n * The registration form's acceptance state: exactly what the shared acceptance control takes, plus the\n * sign-up method the form is for (#1093), which decides the password fields and the submit wording.\n *\n * A CONTEXT rather than props because the form template renders inside `AutomatedForm`, which owns\n * its own tree. The control itself is `GovernedDocumentAcceptanceControl`, shared with the signed-in\n * re-acceptance gate so the two surfaces ask in the same three modes, with the same reading gate.\n *\n * Defaulted to \"nothing required, nothing accepted\" so a template rendered outside the provider —\n * any existing test, any other preset — behaves exactly as it did before this existed. The default\n * mode is the shipped one rather than the lightest, so it keeps withholding the button.\n */\ninterface RegisterConsentState extends GovernedDocumentAcceptanceState {\n readonly method: AuthMethod;\n}\n\nconst RegisterConsentContext = React.createContext<RegisterConsentState>({\n requiredReleases: [],\n acceptanceMode: GovernedDocumentAcceptanceMode.EXPLICIT_CHECKBOX,\n requiredDocuments: [],\n servedDocuments: [],\n accepted: false,\n setAccepted: () => {},\n documentsRead: [],\n markDocumentRead: () => {},\n method: AuthMethod.PASSWORD,\n});\n\n/** The shared acceptance control, fed from the registration form's context. */\nconst DocumentAcceptanceControl: React.FC<{\n readonly t: (key: string) => string;\n readonly tComponent: (component: FrontendComponentType, key: string, params?: Record<string, string | number>) => string;\n}> = ({ t, tComponent }) => {\n const { method: _method, ...state } = React.useContext(RegisterConsentContext);\n return <GovernedDocumentAcceptanceControl state={state} t={t} tComponent={tComponent} />;\n};\n\nconst RegisterFormTemplate: React.FC = () => {\n const resolvedAuth = useResolvedAuthConfig();\n const { formState } = useFormContext();\n const { tComponent, isReady } = useI18n({\n component: FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER,\n });\n\n const t = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, key);\n\n const passwordPolicy: PasswordPolicyRules = resolvedAuth.passwordPolicy ?? DEFAULT_PASSWORD_POLICY;\n const { requiredReleases, acceptanceMode, accepted, method } = React.useContext(RegisterConsentContext);\n const isPasswordSignup = method === AuthMethod.PASSWORD;\n\n if (!isReady) return null;\n\n // A password-less sign-up sets no password: its schema omits the fields (FormField renders nothing\n // for a field the schema lacks), the strength indicator has nothing to measure, and the submit says\n // what will happen instead — a sign-in link is emailed.\n const submitLabel = isPasswordSignup\n ? UserRegisterLabel.REGISTER_BUTTON\n : method === AuthMethod.PASSKEY\n ? UserRegisterLabel.PASSKEY_SIGNUP_BUTTON\n : UserRegisterLabel.MAGIC_LINK_SIGNUP_BUTTON;\n const submittingLabel = isPasswordSignup ? UserRegisterLabel.REGISTERING : UserRegisterLabel.MAGIC_LINK_SIGNUP_SENDING;\n\n return (\n <FormLayout>\n <FormField name=\"email\" />\n <FormField name=\"firstName\" />\n <FormField name=\"lastName\" />\n <FormField name=\"organizationName\" />\n {/*\n * The application's own sign-up questions (#1371), in declaration order, between the\n * identity fields and the credential. `FormField` renders nothing for a name the schema\n * lacks, so a user type declaring none changes this template not at all — the same\n * mechanism that already makes `organizationName` and the password pair conditional.\n */}\n {(resolvedAuth.registrationConfig.additionalProfileQuestions ?? []).map((question) => (\n <FormField key={question.id} name={question.id} />\n ))}\n <FormField name=\"password\" />\n <FormField name=\"confirmPassword\" />\n\n {isPasswordSignup && <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 {/*\n * The consent control this application's own labels have declared since before it existed.\n *\n * `UserRegisterLabel.TERMS_ACCEPTANCE` — \"I accept the terms and privacy policy\" — was\n * declared in `Auth_Register.labels.ts` and shipped into two applications' locale files for a\n * control this component did not render (issue #54). The label was the only part that\n * existed; a registrant could not accept anything, so nothing could be recorded.\n *\n * It renders only when the application declares an in-force release that PERMITS acceptance.\n * An application with no governed documents gets the form it always had — no empty checkbox,\n * no consent nobody asked for. That is `derive-before-you-ask.md` rule 3 in the UI: total over\n * what was declared, so a document added to the configuration tomorrow is offered with no\n * edit here.\n *\n * WHICH shape it takes is the application's declared `governedDocumentAcceptanceMode` (#1258).\n */}\n <DocumentAcceptanceControl t={t} tComponent={tComponent} />\n\n <SubmitButton\n label={t(submitLabel)}\n submittingLabel={t(submittingLabel)}\n fullWidth\n /*\n * Unticked means the button is unavailable, not that the request is refused server-side. The\n * acceptance is what makes the record TRUE, so the honest place to insist on it is where the\n * person can act — and a registration that reached the backend without it would simply\n * record nothing, which is the correct behaviour there.\n *\n * Under `IMPLIED_BY_REGISTERING` nothing is withheld, because there is no second act to wait\n * for: pressing this button IS the acceptance. `governedDocumentAcceptanceRequiresExplicitAct`\n * is the same predicate `handleRegisterSubmit` decides on, so a button the person can press\n * and a request that carries the accepted ids are one decision rather than two.\n */\n disabled={requiredReleases.length > 0 && governedDocumentAcceptanceRequiresExplicitAct(acceptanceMode) && !accepted}\n />\n </FormLayout>\n );\n};\n\n// --- Contract ---\nexport interface PublicLayoutPreset_UserRegister_DefaultProps {\n}\n\nexport const PublicLayoutPreset_UserRegister_Default = ({}: PublicLayoutPreset_UserRegister_DefaultProps): React.JSX.Element => {\n const { auth, initiateOAuth2Login } = useUserOrgs();\n const { registerAccount } = useAuthSession();\n const toUserFacingErrorMessage = useUserFacingErrorMessage();\n const { appConfig } = useApplication();\n const [governedDocumentsAccepted, setGovernedDocumentsAccepted] = useState(false);\n /*\n * The reading EVIDENCE lives here, beside the act, and not inside the form — `AutomatedForm` is\n * keyed on the sign-up method, so anything it owns is reset by choosing a different one. With the\n * two at different lifetimes, switching method reset the evidence and kept the tick: the box\n * rendered already ticked against a gate that no longer read as satisfied.\n */\n const [governedDocumentsRead, setGovernedDocumentsRead] = useState<readonly string[]>([]);\n const markDocumentRead = useCallback((paneKey: string) => {\n setGovernedDocumentsRead((read) => (read.includes(paneKey) ? read : [...read, paneKey]));\n }, []);\n\n /**\n * How this application asks (#1258) — see {@link GovernedDocumentAcceptanceMode}.\n *\n * Read straight from the shared configuration, whose schema defaults it to `EXPLICIT_CHECKBOX`, so\n * an application that has declared nothing keeps the behaviour registration shipped with. The `??`\n * covers the config object itself being absent, which is the same answer for the same reason.\n */\n const acceptanceMode = appConfig.compliance?.governedDocumentAcceptanceMode ?? GovernedDocumentAcceptanceMode.EXPLICIT_CHECKBOX;\n\n /**\n * The governed-document releases a registrant must ACCEPT — issue #54.\n *\n * Read from `compliance.governedDocumentReleases`, the same authored value the backend composes\n * its records from, so the control and the record cannot disagree about which release was in play.\n * `selectGovernedDocumentReleasesInForce` is the shared predicate, so \"in force\" means one thing\n * across the browser, the recorder and `resolveEffectiveDocumentRelease`.\n *\n * Only releases permitting `CONTRACT_ACCEPTED` are here. A privacy notice permits delivery and\n * acknowledgement, which are not things a checkbox makes true — and until an application can SERVE\n * a document, neither is recordable at all.\n *\n * Evaluated once per mount rather than per render: a release taking effect mid-form would\n * otherwise change what the registrant is agreeing to while they type.\n */\n const requireApprovedDocuments = requiresApprovedGovernedDocuments(appConfig.compliance);\n const requiredGovernedDocumentReleases = useMemo(\n () => selectGovernedDocumentReleasesInForce(\n appConfig.compliance?.governedDocumentReleases ?? [],\n new Date().toISOString(),\n // The approval gate (#1565): armed, sign-up never asks for a release the public page would\n // refuse to show.\n { requireApproved: requireApprovedDocuments },\n ).filter((release) => release.allowedInteractionKinds.includes(GovernedDocumentInteractionKind.CONTRACT_ACCEPTED)),\n // eslint-disable-next-line react-hooks/exhaustive-deps -- pinned at mount, deliberately; see above.\n [appConfig.compliance?.governedDocumentReleases, requireApprovedDocuments],\n );\n\n /**\n * Each required release paired with the public document the application publishes for it.\n *\n * Resolved through `resolveInForcePublicDocument`, the same function the public page uses, so a\n * pane and the page cannot show different releases of one document. A release whose document the\n * application does not serve publicly keeps its entry with `document: undefined` — the ABSENCE is\n * information, and dropping the entry is what previously let a partial set look complete.\n *\n * Resolved in EVERY mode, not only the reading one. It costs one lookup per release and it is what\n * lets the acceptance links name their documents whichever shape the application asked for; the\n * text itself is only rendered under `EXPLICIT_AFTER_READING`.\n */\n const requiredDocuments = useMemo<readonly RequiredDocumentPresentation[]>(\n () => {\n const at = new Date().toISOString();\n return requiredGovernedDocumentReleases.map((release) => ({\n release,\n document: resolveInForcePublicDocument(appConfig.compliance?.publicDocuments ?? [], release.identity.document.documentRef, at, {\n requireApproved: requireApprovedDocuments,\n }),\n }));\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps -- pinned at mount with its releases, deliberately; see above.\n [requiredGovernedDocumentReleases, appConfig.compliance?.publicDocuments, requireApprovedDocuments],\n );\n\n /** Every public document the application serves — linked beside the control, never gated. */\n const servedDocuments = useMemo<readonly GovernedDocumentPublicDocument[]>(\n () => appConfig.compliance?.publicDocuments ?? [],\n [appConfig.compliance?.publicDocuments],\n );\n\n /*\n * ONE acceptance context for BOTH sign-up paths — the form and the OAuth buttons.\n *\n * Two provider values would be two states, and a person would tick a box on one path while the\n * other stayed ungated. `method` is the form's own concern, so the form overrides it below; nothing\n * the OAuth path renders reads it.\n */\n const acceptanceContextValue = useMemo(() => ({\n requiredReleases: requiredGovernedDocumentReleases,\n acceptanceMode,\n requiredDocuments,\n servedDocuments,\n accepted: governedDocumentsAccepted,\n setAccepted: setGovernedDocumentsAccepted,\n documentsRead: governedDocumentsRead,\n markDocumentRead,\n method: AuthMethod.EXTERNAL_OAUTH2,\n }), [requiredGovernedDocumentReleases, acceptanceMode, requiredDocuments, servedDocuments, governedDocumentsAccepted, governedDocumentsRead, markDocumentRead]);\n\n /**\n * Whether an act of acceptance is owed before an account may be started by ANY route.\n *\n * The same predicate the submit button uses, so the form and the OAuth buttons cannot disagree\n * about whether the person has done what the application asked of them.\n */\n const acceptanceIsWithheld = requiredGovernedDocumentReleases.length > 0\n && governedDocumentAcceptanceRequiresExplicitAct(acceptanceMode)\n && !governedDocumentsAccepted;\n\n /**\n * The release ids that travel with whichever sign-up the person starts — the form, or a provider.\n *\n * ONE derivation for both, because the two must agree: a submit the person can press without the\n * ids being sent records nothing while reporting success, and that asymmetry is exactly what left\n * a social sign-up binding people with no evidence they had been asked (#1383). Under\n * `IMPLIED_BY_REGISTERING` there is no tick to wait for, so the act of starting the sign-up IS the\n * assent and the ids travel from the first keystroke.\n *\n * Empty rather than `undefined` when nothing is owed, so a caller cannot mistake \"nothing to\n * accept\" for \"something to accept that I forgot to read\".\n */\n const acceptedReleaseIdsToCarry = useMemo<string[]>(() => {\n if (requiredGovernedDocumentReleases.length === 0) return [];\n if (governedDocumentAcceptanceRequiresExplicitAct(acceptanceMode) && !governedDocumentsAccepted) return [];\n return requiredGovernedDocumentReleases.map((release) => release.identity.releaseId);\n }, [requiredGovernedDocumentReleases, acceptanceMode, governedDocumentsAccepted]);\n\n\n const resolvedAuth = useResolvedAuthConfig();\n const location = useLocation();\n const enabledSocialOAuth2Providers = useMemo(() => {\n if (!resolvedAuth.registrationConfig.allowedMethods.includes(AuthMethod.EXTERNAL_OAUTH2)) {\n return [];\n }\n return resolvePublicOAuthProviderEntries({\n publicProviders: resolvedAuth.globalAuth?.socialOAuth2Providers,\n });\n }, [\n resolvedAuth.globalAuth?.socialOAuth2Providers,\n resolvedAuth.registrationConfig.allowedMethods,\n ]);\n const socialOAuth2ProviderLabelKeys = useMemo(() => {\n return collectFrontendProviderDisplayLabelKeys(\n enabledSocialOAuth2Providers.map((provider) => provider.displayNameLabelKey),\n );\n }, [enabledSocialOAuth2Providers]);\n // Two label namespaces: this screen's own, and the sign-in screen's for the method words (#1093).\n const i18nComponents = useMemo(\n () => [FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH],\n [],\n );\n const { t: translate, tComponent, isReady } = useI18n({\n component: i18nComponents,\n keys: socialOAuth2ProviderLabelKeys,\n });\n\n const t = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, key);\n const tAuth = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH, key);\n const authRedirectTarget = useMemo(\n () => extractAuthRedirectFromSearch(location.search),\n [location.search],\n );\n const loginPath = useMemo(\n () => appendAuthRedirectToPath(CommonRoutePaths.login, authRedirectTarget),\n [authRedirectTarget],\n );\n const postAuthRedirect = useMemo(\n () => resolvePostAuthRedirect(location.search),\n [location.search],\n );\n\n // ─── Social OAuth2 providers from resolved config ───\n const hasSocialOAuth2Providers = enabledSocialOAuth2Providers.length > 0;\n\n const handleOAuth2Click = useCallback(async (providerRef: string) => {\n try {\n await initiateOAuth2Login(providerRef, authRedirectTarget, acceptedReleaseIdsToCarry);\n } catch {\n // Error handled in AuthSessionContext\n }\n }, [acceptedReleaseIdsToCarry, authRedirectTarget, initiateOAuth2Login]);\n\n // ─── Form methods ref for server error injection ───\n const formMethodsRef = useRef<FormMethods | null>(null);\n const { initAutoClearing, injectServerErrors, clearServerErrors } = useServerErrorInjection(formMethodsRef);\n const handleFormReady = useCallback((formMethods: FormMethods) => {\n formMethodsRef.current = formMethods;\n initAutoClearing(formMethods);\n }, [initAutoClearing]);\n\n // ─── State ───\n const [isLoading, setIsLoading] = useState(false);\n /**\n * What the registration answer MEANT (#972), classified once by `registerAccount`. `null` until the\n * form is submitted. This replaced a `registrationComplete` boolean that was set for every answer and\n * rendered \"check your email\" — false for a registrant who had been signed in, and a dead end for one\n * who owed a second-factor enrollment.\n */\n const [registrationOutcome, setRegistrationOutcome] = useState<RegistrationOutcome | null>(null);\n const [registeredEmail, setRegisteredEmail] = useState('');\n\n /*\n * A registration session parked at the enrollment gate is routed exactly as the login screen routes\n * the same auth state — the hook IS the login screen's routing. Gated on THIS submission's outcome so\n * a stale `mfaRequired` left by an abandoned sign-in cannot pull a visitor off the sign-up form.\n */\n useMfaContinuationNavigation({\n mfaRequired: registrationOutcome === RegistrationOutcome.MFA_ENROLLMENT_REQUIRED && auth.mfaRequired,\n mfaSessionId: auth.mfaSessionId,\n usableSecondFactorMethods: auth.usableSecondFactorMethods,\n email: registeredEmail,\n authRedirectTarget,\n });\n\n // ─── Resend state ───\n const [resendStatus, setResendStatus] = useState<ResendStatus>('idle');\n const [resendCooldown, setResendCooldown] = useState(0);\n const [resendError, setResendError] = useState<string | null>(null);\n\n useEffect(() => {\n if (resendCooldown <= 0) return;\n const timer = setInterval(() => {\n setResendCooldown((prev) => {\n if (prev <= 1) {\n clearInterval(timer);\n return 0;\n }\n return prev - 1;\n });\n }, 1000);\n return () => clearInterval(timer);\n }, [resendCooldown]);\n\n const handleResend = useCallback(async () => {\n if (!registeredEmail || resendCooldown > 0) return;\n setResendStatus('sending');\n setResendError(null);\n try {\n await getManualCallsHttpClient().resendVerificationEmail(registeredEmail);\n setResendStatus('sent');\n setResendCooldown(RESEND_COOLDOWN_SECONDS);\n } catch (e: unknown) {\n setResendStatus('error');\n setResendError(toUserFacingErrorMessage(e, t(UserRegisterLabel.UNEXPECTED_ERROR)));\n }\n }, [registeredEmail, resendCooldown]); // eslint-disable-line react-hooks/exhaustive-deps\n\n // ─── Password policy from resolved user type config ───\n const passwordPolicy: PasswordPolicyRules = useMemo(() => {\n return (resolvedAuth.passwordPolicy as PasswordPolicyRules) ?? DEFAULT_PASSWORD_POLICY;\n }, [resolvedAuth.passwordPolicy]);\n\n // ─── W6.2: Org name required during registration? ───\n const showOrgNameField = useMemo(() => {\n if (!resolvedAuth.resolvedUserType) return false;\n const matches = findOrganizationTypeRegistrationCreationMatches(\n appConfig.organizationTypes,\n resolvedAuth.resolvedUserType,\n );\n return matches.length === 1\n && matches[0]?.definition.creationPolicy?.orgNameSource\n === OrganizationNameSource.ASK;\n }, [appConfig.organizationTypes, resolvedAuth.resolvedUserType]);\n\n // ─── Registration config from resolved user type ───\n const registrationConfig = useMemo(() => {\n return resolvedAuth.registrationConfig;\n }, [resolvedAuth.registrationConfig]);\n\n const allowedMethods = registrationConfig.allowedMethods;\n /*\n * The sign-up methods offered (#1093): the ones this screen carries out that the user type allows, in\n * the screen's order — so PASSWORD is the form shown first when it is allowed, exactly as before, and a\n * user type allowing only a password-less method gets that form with no password field at all.\n */\n const offeredMethods = useMemo(\n () => SELF_SIGNUP_METHODS.filter((method) => allowedMethods.includes(method)),\n [allowedMethods],\n );\n const [selectedMethod, setSelectedMethod] = useState<AuthMethod | null>(null);\n const activeMethod = selectedMethod !== null && offeredMethods.includes(selectedMethod) ? selectedMethod : (offeredMethods[0] ?? null);\n const alternativeMethods = offeredMethods.filter((method) => method !== activeMethod);\n const showForm = activeMethod !== null;\n /*\n * ONE control on the page, never two.\n *\n * The form renders the acceptance control whenever it renders at all, and both paths share one\n * state — so where a form exists, its control is what the OAuth buttons wait on too. Rendering a\n * second one beside the providers put two boxes, two reading panes and two sets of document links\n * on the same screen: driven live, the terms document was paned TWICE.\n *\n * The OAuth-path control therefore exists for exactly the case that had nothing: an application\n * offering only social sign-up, where `SELF_SIGNUP_METHODS` leaves no active method and no form.\n */\n const formCarriesAcceptance = showForm && activeMethod !== null;\n const showPasswordFields = activeMethod === AuthMethod.PASSWORD;\n const showDivider = hasSocialOAuth2Providers && showForm;\n\n /**\n * The application's own sign-up questions (#1371), in declaration order.\n *\n * This is the field set the engine does NOT own. Everything above is fixed; these come from the\n * resolved user type's `registration.additionalProfileQuestions`.\n */\n /*\n * `?? []` is not defensive noise. This screen is preset-overridable and its resolved config\n * arrives from a boundary, so an absent list must mean \"this user type asks nothing\" — the same\n * thing an empty one means. Reading it unguarded took the ENTIRE sign-up screen down with\n * `declaredProfileQuestions is not iterable` when the field was missing, which is the worst\n * possible failure direction for an optional question nobody declared.\n */\n const declaredProfileQuestions = resolvedAuth.registrationConfig.additionalProfileQuestions ?? [];\n /*\n * Whether this form asks for the person's names (#1374). A user type that collects them at onboarding leaves them\n * out: they are asked once the address is proven, at the onboarding step, and the server neither requires nor\n * expects them here. Omitted from the SCHEMA, so the template's `FormField`s render nothing — the same mechanism\n * that makes the organization and password fields conditional.\n */\n const collectsNamesAtSignUp = resolvedAuth.registrationConfig.profileNamesCollectedAt !== ProfileNamesCollectionMoment.ONBOARDING;\n\n const registerFormSchema = useMemo(() => {\n /*\n * The application's declared questions become real schema entries (#1371).\n *\n * This is what the form schema had to stop being a module constant FOR. The acceptance control\n * above records the same constraint from the other side — it had to be built as a context\n * BESIDE the form precisely because \"a Zod form schema cannot declare a field per document\n * without being built at render time\". It is built at render time now.\n *\n * Extended FIRST, before the conditional omissions, so both branches below derive from one\n * object type. Extending after the `showOrgNameField` ternary would widen it to a union and\n * neither `.omit` nor `.refine` would narrow.\n *\n * The type map is total over the bindable set: the config schema restricts a sign-up question\n * to the types whose answer IS a value, so there is no option-ref case to represent here.\n */\n const declaredFields: Record<string, z.ZodTypeAny> = {};\n for (const question of declaredProfileQuestions) {\n const base = question.type === OnboardingSurveyQuestionType.RATING\n ? z.number()\n : z.string().min(1);\n declaredFields[question.id] = question.required ? base : base.optional();\n }\n const withDeclaredQuestions = UserRegisterFormDtoSchema.extend(declaredFields);\n const withNames = collectsNamesAtSignUp\n ? withDeclaredQuestions\n : withDeclaredQuestions.omit({ firstName: true, lastName: true });\n\n const withOrganization = showOrgNameField\n ? withNames\n : withNames.omit({ organizationName: true });\n // A password-less sign-up has no password to ask for: the fields leave the schema, so the form\n // renders none, validates none, and has no confirmation to match.\n if (!showPasswordFields) {\n return withOrganization.omit({ password: true, confirmPassword: true });\n }\n return withOrganization.refine(\n (data) => !data.password || data.password === data.confirmPassword,\n { message: t(UserRegisterLabel.PASSWORD_MISMATCH), path: ['confirmPassword'] },\n );\n }, [t, showOrgNameField, showPasswordFields, declaredProfileQuestions, collectsNamesAtSignUp]);\n\n // Parked at organization onboarding (#1090): the organization is the only step left, whatever this screen was doing.\n const organizationOnboardingTarget = organizationOnboardingNavigationTarget(auth, authRedirectTarget);\n if (organizationOnboardingTarget) {\n return <Navigate to={organizationOnboardingTarget} replace />;\n }\n\n if (!isReady) return null;\n\n // ═══════════════════════════════════════════════════════════════\n // Registration answered — one branch per `RegistrationOutcome`\n // ═══════════════════════════════════════════════════════════════\n if (registrationOutcome === RegistrationOutcome.SIGNED_IN) {\n // The native `Auth_Register` wrapper also forwards on `auth.accessToken`; this covers a preset rendered without it.\n return auth.accessToken ? <Navigate to={postAuthRedirect} replace /> : null;\n }\n\n if (registrationOutcome === RegistrationOutcome.MFA_ENROLLMENT_REQUIRED) {\n // `useMfaContinuationNavigation` above takes the registrant, with their session, to the enrollment gate.\n return null;\n }\n\n if (registrationOutcome !== null) {\n /*\n * An SSO-enforced domain is a REFUSAL, not a success: the backend returns before creating anything\n * (`registerUser`, `blockForSSODomains`), and nothing redirects. So it has its own heading and body —\n * \"Account created\" and \"you'll be redirected\" were both false there. The sign-in link below is the\n * way forward: the sign-in screen resolves the address's domain to its organization's SSO.\n */\n const isSsoRegistration = registrationOutcome === RegistrationOutcome.SSO_REDIRECT_REQUIRED;\n const title = isSsoRegistration ? UserRegisterLabel.SSO_REGISTRATION_TITLE : UserRegisterLabel.SUCCESS_TITLE;\n const message = isSsoRegistration\n ? UserRegisterLabel.SSO_REGISTRATION_MESSAGE\n : registrationOutcome === RegistrationOutcome.UNFINISHED\n ? UserRegisterLabel.REGISTRATION_UNFINISHED\n : registrationOutcome === RegistrationOutcome.MAGIC_LINK_SENT\n ? UserRegisterLabel.MAGIC_LINK_SENT_MESSAGE\n : registrationOutcome === RegistrationOutcome.PASSKEY_ENROLLMENT_PENDING\n ? UserRegisterLabel.PASSKEY_ENROLLMENT_PENDING_MESSAGE\n : UserRegisterLabel.SUCCESS_MESSAGE;\n /*\n * Resend re-sends a VERIFICATION email, so it is offered only when one is what the registrant is\n * waiting for. A magic-link signup's link is not a verification mail, and an unfinished one is not\n * waiting on email at all.\n */\n const offersVerificationResend = registrationOutcome === RegistrationOutcome.EMAIL_VERIFICATION_PENDING;\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <div className=\"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-primary/10 mb-element\">\n <svg className=\"h-6 w-6 text-primary\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" strokeWidth=\"2\">\n <path strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z\" />\n </svg>\n </div>\n <Heading>{t(title)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(message)}</Text>\n </div>\n\n {offersVerificationResend && (\n <div className=\"text-center space-y-item-xs\">\n <Text className=\"text-sm text-muted-foreground\">\n {t(UserRegisterLabel.RESEND_PROMPT)}{' '}\n <Button\n variant={ButtonVariants_Variant.LINK}\n className=\"p-0 h-auto text-sm\"\n onClick={handleResend}\n disabled={resendStatus === 'sending' || resendCooldown > 0}\n >\n {resendStatus === 'sending'\n ? t(UserRegisterLabel.RESEND_SENDING)\n : resendCooldown > 0\n ? `${t(UserRegisterLabel.RESEND_COOLDOWN)} (${resendCooldown}s)`\n : t(UserRegisterLabel.RESEND_LINK)}\n </Button>\n </Text>\n {resendStatus === 'sent' && (\n <Alert>\n <AlertDescription>{t(UserRegisterLabel.RESEND_SUCCESS)}</AlertDescription>\n </Alert>\n )}\n {resendStatus === 'error' && resendError && (\n <Alert variant=\"destructive\">\n <AlertDescription>{resendError}</AlertDescription>\n </Alert>\n )}\n </div>\n )}\n\n <div className=\"text-center mt-group\">\n <AuthSecondaryLink href={loginPath}>{t(UserRegisterLabel.SIGNIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n // ═══════════════════════════════════════════════════════════════\n // Registration Form\n // ═══════════════════════════════════════════════════════════════\n const handleRegisterSubmit = async (data: UserRegisterFormDto & { password?: string; confirmPassword?: string }) => {\n setIsLoading(true);\n formMethodsRef.current?.clearErrors('root');\n clearServerErrors();\n\n const method = activeMethod ?? AuthMethod.PASSWORD;\n if (method === AuthMethod.PASSWORD && 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 setIsLoading(false);\n return;\n }\n }\n\n try {\n const outcome = await registerAccount({\n email: data.email,\n // Absent when the names are collected at onboarding (#1374): the schema does not ask for them.\n ...(collectsNamesAtSignUp ? { firstName: data.firstName, lastName: data.lastName } : {}),\n // The credential ONLY for the method that takes one; a password-less sign-up sends none.\n password: method === AuthMethod.PASSWORD ? data.password?.trim() || undefined : undefined,\n organizationName: data.organizationName?.trim() || undefined,\n /*\n * The declared sign-up answers (#1371), keyed by QUESTION ID — the server re-reads the same\n * declaration and refuses a key this user type does not declare, so the mapping from\n * question to profile field is made in one place, on the side that owns the write.\n *\n * Omitted entirely when nothing is declared, so a registration from an application that\n * asks nothing is byte-identical to what it was.\n */\n profileAnswers: declaredProfileQuestions.length > 0\n ? Object.fromEntries(\n declaredProfileQuestions\n .map((question) => [question.id, (data as Record<string, unknown>)[question.id]])\n .filter(([, value]) => value !== undefined && value !== ''),\n ) as Record<string, string | number | boolean>\n : undefined,\n /*\n * The chosen method, and the deep link this screen was opened with (#1093). The backend keeps\n * the redirect only when same-origin and within bounds, and carries it into the emailed sign-in\n * link of a password-less sign-up — the one register outcome that signs the person in elsewhere.\n */\n method,\n ...(authRedirectTarget ? { redirect: authRedirectTarget } : {}),\n /*\n * IDS only. The server resolves which releases are in force and matches these against them,\n * so this cannot choose a VERSION, invent a release, or accept a document the application\n * does not publish — see `UserRegisterApiDtoSchema.acceptedGovernedDocumentReleaseIds`.\n */\n ...(acceptedReleaseIdsToCarry.length > 0\n ? { acceptedGovernedDocumentReleaseIds: acceptedReleaseIdsToCarry }\n : {}),\n });\n setRegisteredEmail(data.email);\n setRegistrationOutcome(outcome);\n } catch (e: any) {\n const serverErrors = extractServerValidationErrors(e);\n if (serverErrors) {\n injectServerErrors(serverErrors.validationErrors);\n } else {\n const passwordPolicyMsg = extractPasswordPolicyErrorMessage(e, t, passwordPolicy);\n formMethodsRef.current?.setError('root', {\n type: 'server',\n message: passwordPolicyMsg ?? toUserFacingErrorMessage(e, t(UserRegisterLabel.UNEXPECTED_ERROR)),\n });\n }\n } finally {\n setIsLoading(false);\n }\n };\n\n if (!hasSocialOAuth2Providers && !showForm) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserRegisterLabel.TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserRegisterLabel.REGISTRATION_DISABLED)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserRegisterLabel.SIGNIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserRegisterLabel.TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserRegisterLabel.SUB_TITLE)}</Text>\n </div>\n\n {/*\n * ACCEPTANCE GOVERNS THE OAUTH PATH TOO — it did not, and that was a hole straight through the\n * whole vocabulary.\n *\n * `SELF_SIGNUP_METHODS` excludes `EXTERNAL_OAUTH2`, so an application offering only social\n * sign-up has no `activeMethod`, renders no form, and therefore rendered no acceptance control\n * at all: a person created an account through Google having been asked nothing and shown\n * nothing. Even where a form WAS rendered, these buttons sat outside its provider and were\n * live before the box was ticked, so the strongest two modes could be walked around by\n * choosing the other button.\n *\n * So the control is rendered HERE when there are providers, and the buttons are withheld until\n * the act is made. Under `IMPLIED_BY_REGISTERING` nothing is withheld — pressing the button IS\n * the act, exactly as pressing submit is.\n *\n * What this does NOT fix: the accepted release ids do not survive the OAuth redirect, so the\n * JIT-provisioned account carries no interaction record. The ACT now happens on every path;\n * RECORDING it on this one needs the ids carried through the callback, which is backend work\n * and is named in the mode's own note as the boundary of what a registration screen controls.\n */}\n {enabledSocialOAuth2Providers.length > 0 && requiredGovernedDocumentReleases.length > 0 && !formCarriesAcceptance && (\n <RegisterConsentContext.Provider value={acceptanceContextValue}>\n <DocumentAcceptanceControl t={t} tComponent={tComponent} />\n </RegisterConsentContext.Provider>\n )}\n\n <OAuthProvidersSection\n providers={enabledSocialOAuth2Providers}\n onProviderClick={handleOAuth2Click}\n isLoading={isLoading || auth.isLoading}\n disabled={acceptanceIsWithheld}\n continueWithLabel={t(UserRegisterLabel.CONTINUE_WITH)}\n translate={translate}\n dividerLabel={t(UserRegisterLabel.DIVIDER_OR)}\n showDivider={showDivider}\n />\n\n {showForm && activeMethod !== null && (\n <RegisterConsentContext.Provider\n value={{\n requiredReleases: requiredGovernedDocumentReleases,\n acceptanceMode,\n requiredDocuments,\n servedDocuments,\n accepted: governedDocumentsAccepted,\n setAccepted: setGovernedDocumentsAccepted,\n documentsRead: governedDocumentsRead,\n markDocumentRead,\n method: activeMethod,\n }}\n >\n <AutomatedForm\n // One form per method: switching remounts it with that method's schema and defaults.\n key={activeMethod}\n schema={registerFormSchema}\n defaultValues={{ email: '', ...(collectsNamesAtSignUp && { firstName: '', lastName: '' }), ...(showOrgNameField && { organizationName: '' }), ...(showPasswordFields && { password: '', confirmPassword: '' }) }}\n onSubmit={handleRegisterSubmit}\n onFormReady={handleFormReady}\n validationMode={ValidationMode.ON_BLUR}\n disabled={isLoading}\n layoutTemplate={RegisterFormTemplate}\n labels={{\n fields: {\n email: t(UserRegisterLabel.EMAIL_ADDRESS),\n ...(collectsNamesAtSignUp && { firstName: t(UserRegisterLabel.FIRST_NAME), lastName: t(UserRegisterLabel.LAST_NAME) }),\n ...(showOrgNameField && { organizationName: t(UserRegisterLabel.ORGANIZATION_NAME) }),\n ...(showPasswordFields && { password: t(UserRegisterLabel.PASSWORD), confirmPassword: t(UserRegisterLabel.CONFIRM_PASSWORD) }),\n },\n }}\n />\n </RegisterConsentContext.Provider>\n )}\n\n {/*\n * The other sign-up methods the user type allows (#1093), as the invitation screen offers\n * them: a button per method switches the form. Named with the sign-in screen's words, so a\n * method reads the same wherever it is chosen.\n */}\n {alternativeMethods.length > 0 && (\n <>\n <LabeledDivider label={tAuth(UserAuthLabel.OTHER_METHODS_DIVIDER)} />\n <Text className=\"text-sm text-muted-foreground text-center mb-element\">{t(UserRegisterLabel.METHOD_CHOICE_HINT)}</Text>\n <AuthMethodChoiceList\n methods={alternativeMethods}\n /*\n * Registration offers a method before anyone is identified, so there is no descriptor and\n * no enterprise connection to name — but the application's social providers are known, and\n * they are the same ones this screen's own provider buttons render. Where exactly one is\n * configured the button reads \"Continue with Google\" instead of the kind.\n */\n labelFor={(method) => resolveAuthMethodChoiceLabel(method, {\n socialProviders: enabledSocialOAuth2Providers,\n continueWithTemplate: tAuth(UserAuthLabel.CONTINUE_WITH),\n translateLabel: (label) => tAuth(label),\n resolveSocialProviderLabel: (provider) => resolveOAuthProviderDisplayLabel({\n providerRef: provider.providerRef,\n displayName: provider.displayName,\n displayNameLabelKey: provider.displayNameLabelKey,\n brandLabel: SSO_PROVIDER_BRAND_META[provider.providerRef]?.label,\n translate,\n }),\n })}\n onSelect={setSelectedMethod}\n disabled={isLoading}\n />\n </>\n )}\n\n <div className=\"text-center mt-group\">\n <Text className=\"text-sm\">\n {t(UserRegisterLabel.ALREADY_HAVE_ACCOUNT)}{' '}\n <Link href={loginPath}>{t(UserRegisterLabel.SIGNIN_LINK)}</Link>\n </Text>\n </div>\n </>\n );\n};\n\nfunction RegistrationUnavailable({\n mode,\n}: {\n mode: RegistrationMode;\n}): React.JSX.Element | null {\n const location = useLocation();\n const { tComponent, isReady } = useI18n({\n component: FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER,\n });\n const authRedirectTarget = useMemo(\n () => extractAuthRedirectFromSearch(location.search),\n [location.search],\n );\n const loginPath = useMemo(\n () => appendAuthRedirectToPath(CommonRoutePaths.login, authRedirectTarget),\n [authRedirectTarget],\n );\n if (!isReady) return null;\n\n const message = mode === RegistrationMode.INVITATION_ONLY\n ? UserRegisterLabel.INVITATION_ONLY\n : mode === RegistrationMode.ADMIN_ONLY\n ? UserRegisterLabel.ADMIN_ONLY\n : UserRegisterLabel.REGISTRATION_DISABLED;\n const t = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, key);\n\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserRegisterLabel.TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(message)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserRegisterLabel.SIGNIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n}\n\nexport function Auth_Register({ preset = CorePresetNames.DEFAULT, ...props }: PublicLayoutPreset_UserRegister_DefaultProps & ComponentPresetProps): React.JSX.Element {\n const { auth } = useUserOrgs();\n const resolvedAuth = useResolvedAuthConfig();\n const location = useLocation();\n const postAuthRedirect = useMemo(\n () => resolvePostAuthRedirect(location.search),\n [location.search],\n );\n\n // This native wrapper is the non-overridable availability boundary. Presets customize only the\n // presentation of an already-authorized public registration flow.\n if (auth.accessToken) {\n return <Navigate to={postAuthRedirect} replace />;\n }\n if (!resolvedAuth.registrationConfig.publicRegistrationAvailable) {\n return <RegistrationUnavailable mode={resolvedAuth.registrationConfig.mode} />;\n }\n\n const Component = createComponentResolver<PublicLayoutPreset_UserRegister_DefaultProps>(FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, 'Auth_Register')(preset);\n return <Component {...props} />;\n}\n"]}
1
+ {"version":3,"file":"Auth_Register.js","sourceRoot":"","sources":["../../../../../src/components/auth/Auth_Register.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC/H,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,UAAU,EACV,+CAA+C,EAC/C,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,SAAS,GAGV,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,EAC/B,6CAA6C,EAC7C,iCAAiC,EACjC,4BAA4B,EAC5B,qCAAqC,GAEtC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QA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Q,CAAC,MAAM,CAAC,EAC9C,CAAC,QAAQ,CAAC,MAAM,CAAC,CAClB,CAAC;IAEF,+FAA+F;IAC/F,kEAAkE;IAClE,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;QACrB,OAAO,KAAC,QAAQ,IAAC,EAAE,EAAE,gBAAgB,EAAE,OAAO,SAAG,CAAC;IACpD,CAAC;IACD,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,2BAA2B,EAAE,CAAC;QACjE,OAAO,KAAC,uBAAuB,IAAC,IAAI,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,GAAI,CAAC;IACjF,CAAC;IAED,MAAM,SAAS,GAAG,uBAAuB,CAA+C,qBAAqB,CAAC,4BAA4B,EAAE,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;IACrK,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC","sourcesContent":["import { CorePresetNames, FrontendComponentType, UserAuthLabel, UserRegisterLabel } from '@wildo-ai/presets-components-models';\nimport {\n OnboardingSurveyQuestionType,\n ProfileNamesCollectionMoment,\n AuthMethod,\n findOrganizationTypeRegistrationCreationMatches,\n OrganizationNameSource,\n RegistrationMode,\n UserRegisterFormDtoSchema,\n AuthUtils,\n type PasswordPolicyRules,\n type UserRegisterFormDto,\n} from '@wildo-ai/saas-models';\nimport {\n GovernedDocumentAcceptanceMode,\n GovernedDocumentInteractionKind,\n governedDocumentAcceptanceRequiresExplicitAct,\n requiresApprovedGovernedDocuments,\n resolveInForcePublicDocument,\n selectGovernedDocumentReleasesInForce,\n type GovernedDocumentPublicDocument,\n} from '@wildo-ai/saas-models';\nimport { ValidationMode } from '@wildo-ai/zod-decorators';\nimport { z } from 'zod/v4';\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { Navigate, useLocation } from 'react-router-dom';\nimport { useFormContext } from 'react-hook-form';\nimport { Button, ButtonVariants_Variant } from '~wildo-frontend-lib/components/actions/button';\nimport {\n GovernedDocumentAcceptanceControl,\n type GovernedDocumentAcceptanceState,\n type RequiredDocumentPresentation,\n} from '~wildo-frontend-lib/components/compliance/GovernedDocumentAcceptanceControl';\nimport { AutomatedForm } from '~wildo-frontend-lib/components/form/automated/AutomatedForm';\nimport { type FormMethods } from '~wildo-frontend-lib/components/form/Form';\nimport { extractServerValidationErrors } from '~wildo-frontend-lib/components/form/validation-errors/form-error-extraction.utils';\nimport { useServerErrorInjection } from '~wildo-frontend-lib/components/form/validation-errors/useServerErrorInjection';\nimport { Alert, AlertDescription } from '~wildo-frontend-lib/components/overlays/containers/alert';\nimport { OAuthProvidersSection, SSO_PROVIDER_BRAND_META } from '~wildo-frontend-lib/components/auth/utils/OAuthProvidersSection';\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 { DEFAULT_PASSWORD_POLICY, PasswordStrengthIndicator } from '~wildo-frontend-lib/components/auth/utils/PasswordStrengthIndicator';\nimport {\n extractPasswordPolicyErrorMessage,\n resolvePasswordViolationsToLabels,\n} from '~wildo-frontend-lib/components/auth/utils/resolvePasswordViolationsToLabels';\nimport { FormLayout } from '~wildo-frontend-lib/components/resources/skeleton/FormLayout';\nimport { FormField } from '~wildo-frontend-lib/components/form/automated/FormField';\nimport { SubmitButton } from '~wildo-frontend-lib/components/resources/skeleton/SubmitButton';\nimport { Heading } from '~wildo-frontend-lib/components/typography/heading';\nimport { Link } from '~wildo-frontend-lib/components/typography/link';\nimport { AuthSecondaryLink } from '~wildo-frontend-lib/components/auth/utils/AuthSecondaryLink';\nimport { Text } from '~wildo-frontend-lib/components/typography/text';\nimport { useI18n } from '~wildo-frontend-lib/core/i18n/useI18n';\nimport { useUserFacingErrorMessage } from '~wildo-frontend-lib/core/errors/useUserFacingErrorMessage';\nimport { getManualCallsHttpClient } from '~wildo-frontend-lib/core/requests/wildo-http-client-manual-calls.frontend.service';\n\nimport { CommonRoutePaths } from '~wildo-frontend-lib/core/runtime/routes.frontend.definitions';\nimport { useApplication } from '~wildo-frontend-lib/core/runtime/useApplication';\nimport {\n appendAuthRedirectToPath,\n extractAuthRedirectFromSearch,\n resolvePostAuthRedirect,\n} from '~wildo-frontend-lib/core/security/auth-redirect.frontend.utils';\nimport { useUserOrgs } from '~wildo-frontend-lib/core/security/useUserOrgs';\nimport { organizationOnboardingNavigationTarget } from '~wildo-frontend-lib/core/security/organization-onboarding.frontend.utils';\nimport { useAuthSession } from '~wildo-frontend-lib/core/security/useAuthSession';\nimport { RegistrationOutcome } from '~wildo-frontend-lib/core/security/registration-outcome.frontend.utils';\nimport { useMfaContinuationNavigation } from '~wildo-frontend-lib/components/auth/utils/useMfaContinuationNavigation';\nimport { useResolvedAuthConfig } from '~wildo-frontend-lib/core/security/useResolvedAuthConfig';\nimport type { ResendStatus } from '~wildo-frontend-lib/core/security/security.frontend.schemas';\nimport { collectFrontendProviderDisplayLabelKeys } from '~wildo-frontend-lib/core/external-providers/frontend-provider-display-label.frontend.utils';\nimport { resolveOAuthProviderDisplayLabel, resolvePublicOAuthProviderEntries } from '~wildo-frontend-lib/components/auth/utils/oauth-provider-display-label.frontend.utils';\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\nconst RESEND_COOLDOWN_SECONDS = 60;\n\n/**\n * The sign-up methods THIS screen can carry out, in the order they are offered (#1093). The backend\n * implements public sign-up for exactly these three (`registerUser`); social OAuth2 is a hand-off the\n * providers section owns, and enterprise SSO signs up through the organization. A method is offered\n * only when the user type's `registration.allowedMethods` lists it, so an application that allows\n * MAGIC_LINK alone gets a password-less form and never a password field.\n */\nconst SELF_SIGNUP_METHODS: readonly AuthMethod[] = [AuthMethod.PASSWORD, AuthMethod.MAGIC_LINK, AuthMethod.PASSKEY];\n\n\n// =============================================================================\n// SELF-SUFFICIENT FORM TEMPLATE\n// =============================================================================\n\n/**\n * Module-scope template for the registration form. Fully self-sufficient — derives\n * all runtime state from standard hooks. No `useFormTemplateContext()` call.\n *\n * - Password policy → `useResolvedAuthConfig()`\n * - Root-level form errors → `useFormContext().formState.errors.root`\n * - Labels → `useI18n()`, passed directly to `<SubmitButton>` as props\n * - Conditional fields → FormField returns null for fields not in schema\n */\n/**\n * The registration form's acceptance state: exactly what the shared acceptance control takes, plus the\n * sign-up method the form is for (#1093), which decides the password fields and the submit wording.\n *\n * A CONTEXT rather than props because the form template renders inside `AutomatedForm`, which owns\n * its own tree. The control itself is `GovernedDocumentAcceptanceControl`, shared with the signed-in\n * re-acceptance gate so the two surfaces ask in the same three modes, with the same reading gate.\n *\n * Defaulted to \"nothing required, nothing accepted\" so a template rendered outside the provider —\n * any existing test, any other preset — behaves exactly as it did before this existed. The default\n * mode is the shipped one rather than the lightest, so it keeps withholding the button.\n */\ninterface RegisterConsentState extends GovernedDocumentAcceptanceState {\n readonly method: AuthMethod;\n}\n\nconst RegisterConsentContext = React.createContext<RegisterConsentState>({\n requiredReleases: [],\n acceptanceMode: GovernedDocumentAcceptanceMode.EXPLICIT_CHECKBOX,\n requiredDocuments: [],\n servedDocuments: [],\n accepted: false,\n setAccepted: () => {},\n documentsRead: [],\n markDocumentRead: () => {},\n method: AuthMethod.PASSWORD,\n});\n\n/** The shared acceptance control, fed from the registration form's context. */\nconst DocumentAcceptanceControl: React.FC<{\n readonly t: (key: string) => string;\n readonly tComponent: (component: FrontendComponentType, key: string, params?: Record<string, string | number>) => string;\n}> = ({ t, tComponent }) => {\n const { method: _method, ...state } = React.useContext(RegisterConsentContext);\n return <GovernedDocumentAcceptanceControl state={state} t={t} tComponent={tComponent} />;\n};\n\nconst RegisterFormTemplate: React.FC = () => {\n const resolvedAuth = useResolvedAuthConfig();\n const { formState } = useFormContext();\n const { tComponent, isReady } = useI18n({\n component: FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER,\n });\n\n const t = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, key);\n\n const passwordPolicy: PasswordPolicyRules = resolvedAuth.passwordPolicy ?? DEFAULT_PASSWORD_POLICY;\n const { requiredReleases, acceptanceMode, accepted, method } = React.useContext(RegisterConsentContext);\n const isPasswordSignup = method === AuthMethod.PASSWORD;\n\n if (!isReady) return null;\n\n // A password-less sign-up sets no password: its schema omits the fields (FormField renders nothing\n // for a field the schema lacks), the strength indicator has nothing to measure, and the submit says\n // what will happen instead — a sign-in link is emailed.\n const submitLabel = isPasswordSignup\n ? UserRegisterLabel.REGISTER_BUTTON\n : method === AuthMethod.PASSKEY\n ? UserRegisterLabel.PASSKEY_SIGNUP_BUTTON\n : UserRegisterLabel.MAGIC_LINK_SIGNUP_BUTTON;\n const submittingLabel = isPasswordSignup ? UserRegisterLabel.REGISTERING : UserRegisterLabel.MAGIC_LINK_SIGNUP_SENDING;\n\n return (\n <FormLayout>\n <FormField name=\"email\" />\n <FormField name=\"firstName\" />\n <FormField name=\"lastName\" />\n <FormField name=\"organizationName\" />\n {/*\n * The application's own sign-up questions (#1371), in declaration order, between the\n * identity fields and the credential. `FormField` renders nothing for a name the schema\n * lacks, so a user type declaring none changes this template not at all — the same\n * mechanism that already makes `organizationName` and the password pair conditional.\n */}\n {(resolvedAuth.registrationConfig.additionalProfileQuestions ?? []).map((question) => (\n <FormField key={question.id} name={question.id} />\n ))}\n <FormField name=\"password\" />\n <FormField name=\"confirmPassword\" />\n\n {isPasswordSignup && <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 {/*\n * The consent control this application's own labels have declared since before it existed.\n *\n * `UserRegisterLabel.TERMS_ACCEPTANCE` — \"I accept the terms and privacy policy\" — was\n * declared in `Auth_Register.labels.ts` and shipped into two applications' locale files for a\n * control this component did not render (issue #54). The label was the only part that\n * existed; a registrant could not accept anything, so nothing could be recorded.\n *\n * It renders only when the application declares an in-force release that PERMITS acceptance.\n * An application with no governed documents gets the form it always had — no empty checkbox,\n * no consent nobody asked for. That is `derive-before-you-ask.md` rule 3 in the UI: total over\n * what was declared, so a document added to the configuration tomorrow is offered with no\n * edit here.\n *\n * WHICH shape it takes is the application's declared `governedDocumentAcceptanceMode` (#1258).\n */}\n <DocumentAcceptanceControl t={t} tComponent={tComponent} />\n\n <SubmitButton\n label={t(submitLabel)}\n submittingLabel={t(submittingLabel)}\n fullWidth\n /*\n * Unticked means the button is unavailable, not that the request is refused server-side. The\n * acceptance is what makes the record TRUE, so the honest place to insist on it is where the\n * person can act — and a registration that reached the backend without it would simply\n * record nothing, which is the correct behaviour there.\n *\n * Under `IMPLIED_BY_REGISTERING` nothing is withheld, because there is no second act to wait\n * for: pressing this button IS the acceptance. `governedDocumentAcceptanceRequiresExplicitAct`\n * is the same predicate `handleRegisterSubmit` decides on, so a button the person can press\n * and a request that carries the accepted ids are one decision rather than two.\n */\n disabled={requiredReleases.length > 0 && governedDocumentAcceptanceRequiresExplicitAct(acceptanceMode) && !accepted}\n />\n </FormLayout>\n );\n};\n\n// --- Contract ---\nexport interface PublicLayoutPreset_UserRegister_DefaultProps {\n}\n\nexport const PublicLayoutPreset_UserRegister_Default = ({}: PublicLayoutPreset_UserRegister_DefaultProps): React.JSX.Element => {\n const { auth, initiateOAuth2Login } = useUserOrgs();\n const { registerAccount } = useAuthSession();\n const toUserFacingErrorMessage = useUserFacingErrorMessage();\n const { appConfig } = useApplication();\n const [governedDocumentsAccepted, setGovernedDocumentsAccepted] = useState(false);\n /*\n * The reading EVIDENCE lives here, beside the act, and not inside the form — `AutomatedForm` is\n * keyed on the sign-up method, so anything it owns is reset by choosing a different one. With the\n * two at different lifetimes, switching method reset the evidence and kept the tick: the box\n * rendered already ticked against a gate that no longer read as satisfied.\n */\n const [governedDocumentsRead, setGovernedDocumentsRead] = useState<readonly string[]>([]);\n const markDocumentRead = useCallback((paneKey: string) => {\n setGovernedDocumentsRead((read) => (read.includes(paneKey) ? read : [...read, paneKey]));\n }, []);\n\n /**\n * How this application asks (#1258) — see {@link GovernedDocumentAcceptanceMode}.\n *\n * Read straight from the shared configuration, whose schema defaults it to `EXPLICIT_CHECKBOX`, so\n * an application that has declared nothing keeps the behaviour registration shipped with. The `??`\n * covers the config object itself being absent, which is the same answer for the same reason.\n */\n const acceptanceMode = appConfig.compliance?.governedDocumentAcceptanceMode ?? GovernedDocumentAcceptanceMode.EXPLICIT_CHECKBOX;\n\n /**\n * The governed-document releases a registrant must ACCEPT — issue #54.\n *\n * Read from `compliance.governedDocumentReleases`, the same authored value the backend composes\n * its records from, so the control and the record cannot disagree about which release was in play.\n * `selectGovernedDocumentReleasesInForce` is the shared predicate, so \"in force\" means one thing\n * across the browser, the recorder and `resolveEffectiveDocumentRelease`.\n *\n * Only releases permitting `CONTRACT_ACCEPTED` are here. A privacy notice permits delivery and\n * acknowledgement, which are not things a checkbox makes true — and until an application can SERVE\n * a document, neither is recordable at all.\n *\n * Evaluated once per mount rather than per render: a release taking effect mid-form would\n * otherwise change what the registrant is agreeing to while they type.\n */\n const requireApprovedDocuments = requiresApprovedGovernedDocuments(appConfig.compliance);\n const requiredGovernedDocumentReleases = useMemo(\n () => selectGovernedDocumentReleasesInForce(\n appConfig.compliance?.governedDocumentReleases ?? [],\n new Date().toISOString(),\n // The approval gate (#1565): armed, sign-up never asks for a release the public page would\n // refuse to show.\n { requireApproved: requireApprovedDocuments },\n ).filter((release) => release.allowedInteractionKinds.includes(GovernedDocumentInteractionKind.CONTRACT_ACCEPTED)),\n // eslint-disable-next-line react-hooks/exhaustive-deps -- pinned at mount, deliberately; see above.\n [appConfig.compliance?.governedDocumentReleases, requireApprovedDocuments],\n );\n\n /**\n * Each required release paired with the public document the application publishes for it.\n *\n * Resolved through `resolveInForcePublicDocument`, the same function the public page uses, so a\n * pane and the page cannot show different releases of one document. A release whose document the\n * application does not serve publicly keeps its entry with `document: undefined` — the ABSENCE is\n * information, and dropping the entry is what previously let a partial set look complete.\n *\n * Resolved in EVERY mode, not only the reading one. It costs one lookup per release and it is what\n * lets the acceptance links name their documents whichever shape the application asked for; the\n * text itself is only rendered under `EXPLICIT_AFTER_READING`.\n */\n const requiredDocuments = useMemo<readonly RequiredDocumentPresentation[]>(\n () => {\n const at = new Date().toISOString();\n return requiredGovernedDocumentReleases.map((release) => ({\n release,\n document: resolveInForcePublicDocument(appConfig.compliance?.publicDocuments ?? [], release.identity.document.documentRef, at, {\n requireApproved: requireApprovedDocuments,\n }),\n }));\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps -- pinned at mount with its releases, deliberately; see above.\n [requiredGovernedDocumentReleases, appConfig.compliance?.publicDocuments, requireApprovedDocuments],\n );\n\n /** Every public document the application serves — linked beside the control, never gated. */\n const servedDocuments = useMemo<readonly GovernedDocumentPublicDocument[]>(\n () => appConfig.compliance?.publicDocuments ?? [],\n [appConfig.compliance?.publicDocuments],\n );\n\n /*\n * ONE acceptance context for BOTH sign-up paths — the form and the OAuth buttons.\n *\n * Two provider values would be two states, and a person would tick a box on one path while the\n * other stayed ungated. `method` is the form's own concern, so the form overrides it below; nothing\n * the OAuth path renders reads it.\n */\n const acceptanceContextValue = useMemo(() => ({\n requiredReleases: requiredGovernedDocumentReleases,\n acceptanceMode,\n requiredDocuments,\n servedDocuments,\n accepted: governedDocumentsAccepted,\n setAccepted: setGovernedDocumentsAccepted,\n documentsRead: governedDocumentsRead,\n markDocumentRead,\n method: AuthMethod.EXTERNAL_OAUTH2,\n }), [requiredGovernedDocumentReleases, acceptanceMode, requiredDocuments, servedDocuments, governedDocumentsAccepted, governedDocumentsRead, markDocumentRead]);\n\n /**\n * Whether an act of acceptance is owed before an account may be started by ANY route.\n *\n * The same predicate the submit button uses, so the form and the OAuth buttons cannot disagree\n * about whether the person has done what the application asked of them.\n */\n const acceptanceIsWithheld = requiredGovernedDocumentReleases.length > 0\n && governedDocumentAcceptanceRequiresExplicitAct(acceptanceMode)\n && !governedDocumentsAccepted;\n\n /**\n * The release ids that travel with whichever sign-up the person starts — the form, or a provider.\n *\n * ONE derivation for both, because the two must agree: a submit the person can press without the\n * ids being sent records nothing while reporting success, and that asymmetry is exactly what left\n * a social sign-up binding people with no evidence they had been asked (#1383). Under\n * `IMPLIED_BY_REGISTERING` there is no tick to wait for, so the act of starting the sign-up IS the\n * assent and the ids travel from the first keystroke.\n *\n * Empty rather than `undefined` when nothing is owed, so a caller cannot mistake \"nothing to\n * accept\" for \"something to accept that I forgot to read\".\n */\n const acceptedReleaseIdsToCarry = useMemo<string[]>(() => {\n if (requiredGovernedDocumentReleases.length === 0) return [];\n if (governedDocumentAcceptanceRequiresExplicitAct(acceptanceMode) && !governedDocumentsAccepted) return [];\n return requiredGovernedDocumentReleases.map((release) => release.identity.releaseId);\n }, [requiredGovernedDocumentReleases, acceptanceMode, governedDocumentsAccepted]);\n\n\n const resolvedAuth = useResolvedAuthConfig();\n const location = useLocation();\n const enabledSocialOAuth2Providers = useMemo(() => {\n if (!resolvedAuth.registrationConfig.allowedMethods.includes(AuthMethod.EXTERNAL_OAUTH2)) {\n return [];\n }\n return resolvePublicOAuthProviderEntries({\n publicProviders: resolvedAuth.globalAuth?.socialOAuth2Providers,\n });\n }, [\n resolvedAuth.globalAuth?.socialOAuth2Providers,\n resolvedAuth.registrationConfig.allowedMethods,\n ]);\n const socialOAuth2ProviderLabelKeys = useMemo(() => {\n return collectFrontendProviderDisplayLabelKeys(\n enabledSocialOAuth2Providers.map((provider) => provider.displayNameLabelKey),\n );\n }, [enabledSocialOAuth2Providers]);\n // Two label namespaces: this screen's own, and the sign-in screen's for the method words (#1093).\n const i18nComponents = useMemo(\n () => [FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH],\n [],\n );\n const { t: translate, tComponent, isReady } = useI18n({\n component: i18nComponents,\n keys: socialOAuth2ProviderLabelKeys,\n });\n\n const t = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, key);\n const tAuth = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_AUTH, key);\n const authRedirectTarget = useMemo(\n () => extractAuthRedirectFromSearch(location.search),\n [location.search],\n );\n /**\n * The address a link into sign-up names (`?email=`), filled in for the person to confirm (#2618). A representing\n * organization's invitation sends its invitee here with the invited address, because its proposal reaches only an\n * organization whose owner proved THAT address. A suggestion only: the field stays editable, and the address is\n * proven by the verification email like any other.\n */\n const prefilledEmail = useMemo(() => new URLSearchParams(location.search).get('email')?.trim() ?? '', [location.search]);\n const loginPath = useMemo(\n () => appendAuthRedirectToPath(CommonRoutePaths.login, authRedirectTarget),\n [authRedirectTarget],\n );\n const postAuthRedirect = useMemo(\n () => resolvePostAuthRedirect(location.search),\n [location.search],\n );\n\n // ─── Social OAuth2 providers from resolved config ───\n const hasSocialOAuth2Providers = enabledSocialOAuth2Providers.length > 0;\n\n const handleOAuth2Click = useCallback(async (providerRef: string) => {\n try {\n await initiateOAuth2Login(providerRef, authRedirectTarget, acceptedReleaseIdsToCarry);\n } catch {\n // Error handled in AuthSessionContext\n }\n }, [acceptedReleaseIdsToCarry, authRedirectTarget, initiateOAuth2Login]);\n\n // ─── Form methods ref for server error injection ───\n const formMethodsRef = useRef<FormMethods | null>(null);\n const { initAutoClearing, injectServerErrors, clearServerErrors } = useServerErrorInjection(formMethodsRef);\n const handleFormReady = useCallback((formMethods: FormMethods) => {\n formMethodsRef.current = formMethods;\n initAutoClearing(formMethods);\n }, [initAutoClearing]);\n\n // ─── State ───\n const [isLoading, setIsLoading] = useState(false);\n /**\n * What the registration answer MEANT (#972), classified once by `registerAccount`. `null` until the\n * form is submitted. This replaced a `registrationComplete` boolean that was set for every answer and\n * rendered \"check your email\" — false for a registrant who had been signed in, and a dead end for one\n * who owed a second-factor enrollment.\n */\n const [registrationOutcome, setRegistrationOutcome] = useState<RegistrationOutcome | null>(null);\n const [registeredEmail, setRegisteredEmail] = useState('');\n\n /*\n * A registration session parked at the enrollment gate is routed exactly as the login screen routes\n * the same auth state — the hook IS the login screen's routing. Gated on THIS submission's outcome so\n * a stale `mfaRequired` left by an abandoned sign-in cannot pull a visitor off the sign-up form.\n */\n useMfaContinuationNavigation({\n mfaRequired: registrationOutcome === RegistrationOutcome.MFA_ENROLLMENT_REQUIRED && auth.mfaRequired,\n mfaSessionId: auth.mfaSessionId,\n usableSecondFactorMethods: auth.usableSecondFactorMethods,\n email: registeredEmail,\n authRedirectTarget,\n });\n\n // ─── Resend state ───\n const [resendStatus, setResendStatus] = useState<ResendStatus>('idle');\n const [resendCooldown, setResendCooldown] = useState(0);\n const [resendError, setResendError] = useState<string | null>(null);\n\n useEffect(() => {\n if (resendCooldown <= 0) return;\n const timer = setInterval(() => {\n setResendCooldown((prev) => {\n if (prev <= 1) {\n clearInterval(timer);\n return 0;\n }\n return prev - 1;\n });\n }, 1000);\n return () => clearInterval(timer);\n }, [resendCooldown]);\n\n const handleResend = useCallback(async () => {\n if (!registeredEmail || resendCooldown > 0) return;\n setResendStatus('sending');\n setResendError(null);\n try {\n await getManualCallsHttpClient().resendVerificationEmail(registeredEmail);\n setResendStatus('sent');\n setResendCooldown(RESEND_COOLDOWN_SECONDS);\n } catch (e: unknown) {\n setResendStatus('error');\n setResendError(toUserFacingErrorMessage(e, t(UserRegisterLabel.UNEXPECTED_ERROR)));\n }\n }, [registeredEmail, resendCooldown]); // eslint-disable-line react-hooks/exhaustive-deps\n\n // ─── Password policy from resolved user type config ───\n const passwordPolicy: PasswordPolicyRules = useMemo(() => {\n return (resolvedAuth.passwordPolicy as PasswordPolicyRules) ?? DEFAULT_PASSWORD_POLICY;\n }, [resolvedAuth.passwordPolicy]);\n\n // ─── W6.2: Org name required during registration? ───\n const showOrgNameField = useMemo(() => {\n if (!resolvedAuth.resolvedUserType) return false;\n const matches = findOrganizationTypeRegistrationCreationMatches(\n appConfig.organizationTypes,\n resolvedAuth.resolvedUserType,\n );\n return matches.length === 1\n && matches[0]?.definition.creationPolicy?.orgNameSource\n === OrganizationNameSource.ASK;\n }, [appConfig.organizationTypes, resolvedAuth.resolvedUserType]);\n\n // ─── Registration config from resolved user type ───\n const registrationConfig = useMemo(() => {\n return resolvedAuth.registrationConfig;\n }, [resolvedAuth.registrationConfig]);\n\n const allowedMethods = registrationConfig.allowedMethods;\n /*\n * The sign-up methods offered (#1093): the ones this screen carries out that the user type allows, in\n * the screen's order — so PASSWORD is the form shown first when it is allowed, exactly as before, and a\n * user type allowing only a password-less method gets that form with no password field at all.\n */\n const offeredMethods = useMemo(\n () => SELF_SIGNUP_METHODS.filter((method) => allowedMethods.includes(method)),\n [allowedMethods],\n );\n const [selectedMethod, setSelectedMethod] = useState<AuthMethod | null>(null);\n const activeMethod = selectedMethod !== null && offeredMethods.includes(selectedMethod) ? selectedMethod : (offeredMethods[0] ?? null);\n const alternativeMethods = offeredMethods.filter((method) => method !== activeMethod);\n const showForm = activeMethod !== null;\n /*\n * ONE control on the page, never two.\n *\n * The form renders the acceptance control whenever it renders at all, and both paths share one\n * state — so where a form exists, its control is what the OAuth buttons wait on too. Rendering a\n * second one beside the providers put two boxes, two reading panes and two sets of document links\n * on the same screen: driven live, the terms document was paned TWICE.\n *\n * The OAuth-path control therefore exists for exactly the case that had nothing: an application\n * offering only social sign-up, where `SELF_SIGNUP_METHODS` leaves no active method and no form.\n */\n const formCarriesAcceptance = showForm && activeMethod !== null;\n const showPasswordFields = activeMethod === AuthMethod.PASSWORD;\n const showDivider = hasSocialOAuth2Providers && showForm;\n\n /**\n * The application's own sign-up questions (#1371), in declaration order.\n *\n * This is the field set the engine does NOT own. Everything above is fixed; these come from the\n * resolved user type's `registration.additionalProfileQuestions`.\n */\n /*\n * `?? []` is not defensive noise. This screen is preset-overridable and its resolved config\n * arrives from a boundary, so an absent list must mean \"this user type asks nothing\" — the same\n * thing an empty one means. Reading it unguarded took the ENTIRE sign-up screen down with\n * `declaredProfileQuestions is not iterable` when the field was missing, which is the worst\n * possible failure direction for an optional question nobody declared.\n */\n const declaredProfileQuestions = resolvedAuth.registrationConfig.additionalProfileQuestions ?? [];\n /*\n * Whether this form asks for the person's names (#1374). A user type that collects them at onboarding leaves them\n * out: they are asked once the address is proven, at the onboarding step, and the server neither requires nor\n * expects them here. Omitted from the SCHEMA, so the template's `FormField`s render nothing — the same mechanism\n * that makes the organization and password fields conditional.\n */\n const collectsNamesAtSignUp = resolvedAuth.registrationConfig.profileNamesCollectedAt !== ProfileNamesCollectionMoment.ONBOARDING;\n\n const registerFormSchema = useMemo(() => {\n /*\n * The application's declared questions become real schema entries (#1371).\n *\n * This is what the form schema had to stop being a module constant FOR. The acceptance control\n * above records the same constraint from the other side — it had to be built as a context\n * BESIDE the form precisely because \"a Zod form schema cannot declare a field per document\n * without being built at render time\". It is built at render time now.\n *\n * Extended FIRST, before the conditional omissions, so both branches below derive from one\n * object type. Extending after the `showOrgNameField` ternary would widen it to a union and\n * neither `.omit` nor `.refine` would narrow.\n *\n * The type map is total over the bindable set: the config schema restricts a sign-up question\n * to the types whose answer IS a value, so there is no option-ref case to represent here.\n */\n const declaredFields: Record<string, z.ZodTypeAny> = {};\n for (const question of declaredProfileQuestions) {\n const base = question.type === OnboardingSurveyQuestionType.RATING\n ? z.number()\n : z.string().min(1);\n declaredFields[question.id] = question.required ? base : base.optional();\n }\n const withDeclaredQuestions = UserRegisterFormDtoSchema.extend(declaredFields);\n const withNames = collectsNamesAtSignUp\n ? withDeclaredQuestions\n : withDeclaredQuestions.omit({ firstName: true, lastName: true });\n\n const withOrganization = showOrgNameField\n ? withNames\n : withNames.omit({ organizationName: true });\n // A password-less sign-up has no password to ask for: the fields leave the schema, so the form\n // renders none, validates none, and has no confirmation to match.\n if (!showPasswordFields) {\n return withOrganization.omit({ password: true, confirmPassword: true });\n }\n return withOrganization.refine(\n (data) => !data.password || data.password === data.confirmPassword,\n { message: t(UserRegisterLabel.PASSWORD_MISMATCH), path: ['confirmPassword'] },\n );\n }, [t, showOrgNameField, showPasswordFields, declaredProfileQuestions, collectsNamesAtSignUp]);\n\n // Parked at organization onboarding (#1090): the organization is the only step left, whatever this screen was doing.\n const organizationOnboardingTarget = organizationOnboardingNavigationTarget(auth, authRedirectTarget);\n if (organizationOnboardingTarget) {\n return <Navigate to={organizationOnboardingTarget} replace />;\n }\n\n if (!isReady) return null;\n\n // ═══════════════════════════════════════════════════════════════\n // Registration answered — one branch per `RegistrationOutcome`\n // ═══════════════════════════════════════════════════════════════\n if (registrationOutcome === RegistrationOutcome.SIGNED_IN) {\n // The native `Auth_Register` wrapper also forwards on `auth.accessToken`; this covers a preset rendered without it.\n return auth.accessToken ? <Navigate to={postAuthRedirect} replace /> : null;\n }\n\n if (registrationOutcome === RegistrationOutcome.MFA_ENROLLMENT_REQUIRED) {\n // `useMfaContinuationNavigation` above takes the registrant, with their session, to the enrollment gate.\n return null;\n }\n\n if (registrationOutcome !== null) {\n /*\n * An SSO-enforced domain is a REFUSAL, not a success: the backend returns before creating anything\n * (`registerUser`, `blockForSSODomains`), and nothing redirects. So it has its own heading and body —\n * \"Account created\" and \"you'll be redirected\" were both false there. The sign-in link below is the\n * way forward: the sign-in screen resolves the address's domain to its organization's SSO.\n */\n const isSsoRegistration = registrationOutcome === RegistrationOutcome.SSO_REDIRECT_REQUIRED;\n const title = isSsoRegistration ? UserRegisterLabel.SSO_REGISTRATION_TITLE : UserRegisterLabel.SUCCESS_TITLE;\n const message = isSsoRegistration\n ? UserRegisterLabel.SSO_REGISTRATION_MESSAGE\n : registrationOutcome === RegistrationOutcome.UNFINISHED\n ? UserRegisterLabel.REGISTRATION_UNFINISHED\n : registrationOutcome === RegistrationOutcome.MAGIC_LINK_SENT\n ? UserRegisterLabel.MAGIC_LINK_SENT_MESSAGE\n : registrationOutcome === RegistrationOutcome.PASSKEY_ENROLLMENT_PENDING\n ? UserRegisterLabel.PASSKEY_ENROLLMENT_PENDING_MESSAGE\n : UserRegisterLabel.SUCCESS_MESSAGE;\n /*\n * Resend re-sends a VERIFICATION email, so it is offered only when one is what the registrant is\n * waiting for. A magic-link signup's link is not a verification mail, and an unfinished one is not\n * waiting on email at all.\n */\n const offersVerificationResend = registrationOutcome === RegistrationOutcome.EMAIL_VERIFICATION_PENDING;\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <div className=\"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-primary/10 mb-element\">\n <svg className=\"h-6 w-6 text-primary\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" strokeWidth=\"2\">\n <path strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z\" />\n </svg>\n </div>\n <Heading>{t(title)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(message)}</Text>\n </div>\n\n {offersVerificationResend && (\n <div className=\"text-center space-y-item-xs\">\n <Text className=\"text-sm text-muted-foreground\">\n {t(UserRegisterLabel.RESEND_PROMPT)}{' '}\n <Button\n variant={ButtonVariants_Variant.LINK}\n className=\"p-0 h-auto text-sm\"\n onClick={handleResend}\n disabled={resendStatus === 'sending' || resendCooldown > 0}\n >\n {resendStatus === 'sending'\n ? t(UserRegisterLabel.RESEND_SENDING)\n : resendCooldown > 0\n ? `${t(UserRegisterLabel.RESEND_COOLDOWN)} (${resendCooldown}s)`\n : t(UserRegisterLabel.RESEND_LINK)}\n </Button>\n </Text>\n {resendStatus === 'sent' && (\n <Alert>\n <AlertDescription>{t(UserRegisterLabel.RESEND_SUCCESS)}</AlertDescription>\n </Alert>\n )}\n {resendStatus === 'error' && resendError && (\n <Alert variant=\"destructive\">\n <AlertDescription>{resendError}</AlertDescription>\n </Alert>\n )}\n </div>\n )}\n\n <div className=\"text-center mt-group\">\n <AuthSecondaryLink href={loginPath}>{t(UserRegisterLabel.SIGNIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n // ═══════════════════════════════════════════════════════════════\n // Registration Form\n // ═══════════════════════════════════════════════════════════════\n const handleRegisterSubmit = async (data: UserRegisterFormDto & { password?: string; confirmPassword?: string }) => {\n setIsLoading(true);\n formMethodsRef.current?.clearErrors('root');\n clearServerErrors();\n\n const method = activeMethod ?? AuthMethod.PASSWORD;\n if (method === AuthMethod.PASSWORD && 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 setIsLoading(false);\n return;\n }\n }\n\n try {\n const outcome = await registerAccount({\n email: data.email,\n // Absent when the names are collected at onboarding (#1374): the schema does not ask for them.\n ...(collectsNamesAtSignUp ? { firstName: data.firstName, lastName: data.lastName } : {}),\n // The credential ONLY for the method that takes one; a password-less sign-up sends none.\n password: method === AuthMethod.PASSWORD ? data.password?.trim() || undefined : undefined,\n organizationName: data.organizationName?.trim() || undefined,\n /*\n * The declared sign-up answers (#1371), keyed by QUESTION ID — the server re-reads the same\n * declaration and refuses a key this user type does not declare, so the mapping from\n * question to profile field is made in one place, on the side that owns the write.\n *\n * Omitted entirely when nothing is declared, so a registration from an application that\n * asks nothing is byte-identical to what it was.\n */\n profileAnswers: declaredProfileQuestions.length > 0\n ? Object.fromEntries(\n declaredProfileQuestions\n .map((question) => [question.id, (data as Record<string, unknown>)[question.id]])\n .filter(([, value]) => value !== undefined && value !== ''),\n ) as Record<string, string | number | boolean>\n : undefined,\n /*\n * The chosen method, and the deep link this screen was opened with (#1093). The backend keeps\n * the redirect only when same-origin and within bounds, and carries it into the emailed sign-in\n * link of a password-less sign-up — the one register outcome that signs the person in elsewhere.\n */\n method,\n ...(authRedirectTarget ? { redirect: authRedirectTarget } : {}),\n /*\n * IDS only. The server resolves which releases are in force and matches these against them,\n * so this cannot choose a VERSION, invent a release, or accept a document the application\n * does not publish — see `UserRegisterApiDtoSchema.acceptedGovernedDocumentReleaseIds`.\n */\n ...(acceptedReleaseIdsToCarry.length > 0\n ? { acceptedGovernedDocumentReleaseIds: acceptedReleaseIdsToCarry }\n : {}),\n });\n setRegisteredEmail(data.email);\n setRegistrationOutcome(outcome);\n } catch (e: any) {\n const serverErrors = extractServerValidationErrors(e);\n if (serverErrors) {\n injectServerErrors(serverErrors.validationErrors);\n } else {\n const passwordPolicyMsg = extractPasswordPolicyErrorMessage(e, t, passwordPolicy);\n formMethodsRef.current?.setError('root', {\n type: 'server',\n message: passwordPolicyMsg ?? toUserFacingErrorMessage(e, t(UserRegisterLabel.UNEXPECTED_ERROR)),\n });\n }\n } finally {\n setIsLoading(false);\n }\n };\n\n if (!hasSocialOAuth2Providers && !showForm) {\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserRegisterLabel.TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserRegisterLabel.REGISTRATION_DISABLED)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserRegisterLabel.SIGNIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n }\n\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserRegisterLabel.TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(UserRegisterLabel.SUB_TITLE)}</Text>\n </div>\n\n {/*\n * ACCEPTANCE GOVERNS THE OAUTH PATH TOO — it did not, and that was a hole straight through the\n * whole vocabulary.\n *\n * `SELF_SIGNUP_METHODS` excludes `EXTERNAL_OAUTH2`, so an application offering only social\n * sign-up has no `activeMethod`, renders no form, and therefore rendered no acceptance control\n * at all: a person created an account through Google having been asked nothing and shown\n * nothing. Even where a form WAS rendered, these buttons sat outside its provider and were\n * live before the box was ticked, so the strongest two modes could be walked around by\n * choosing the other button.\n *\n * So the control is rendered HERE when there are providers, and the buttons are withheld until\n * the act is made. Under `IMPLIED_BY_REGISTERING` nothing is withheld — pressing the button IS\n * the act, exactly as pressing submit is.\n *\n * What this does NOT fix: the accepted release ids do not survive the OAuth redirect, so the\n * JIT-provisioned account carries no interaction record. The ACT now happens on every path;\n * RECORDING it on this one needs the ids carried through the callback, which is backend work\n * and is named in the mode's own note as the boundary of what a registration screen controls.\n */}\n {enabledSocialOAuth2Providers.length > 0 && requiredGovernedDocumentReleases.length > 0 && !formCarriesAcceptance && (\n <RegisterConsentContext.Provider value={acceptanceContextValue}>\n <DocumentAcceptanceControl t={t} tComponent={tComponent} />\n </RegisterConsentContext.Provider>\n )}\n\n <OAuthProvidersSection\n providers={enabledSocialOAuth2Providers}\n onProviderClick={handleOAuth2Click}\n isLoading={isLoading || auth.isLoading}\n disabled={acceptanceIsWithheld}\n continueWithLabel={t(UserRegisterLabel.CONTINUE_WITH)}\n translate={translate}\n dividerLabel={t(UserRegisterLabel.DIVIDER_OR)}\n showDivider={showDivider}\n />\n\n {showForm && activeMethod !== null && (\n <RegisterConsentContext.Provider\n value={{\n requiredReleases: requiredGovernedDocumentReleases,\n acceptanceMode,\n requiredDocuments,\n servedDocuments,\n accepted: governedDocumentsAccepted,\n setAccepted: setGovernedDocumentsAccepted,\n documentsRead: governedDocumentsRead,\n markDocumentRead,\n method: activeMethod,\n }}\n >\n <AutomatedForm\n // One form per method: switching remounts it with that method's schema and defaults.\n key={activeMethod}\n schema={registerFormSchema}\n defaultValues={{ email: prefilledEmail, ...(collectsNamesAtSignUp && { firstName: '', lastName: '' }), ...(showOrgNameField && { organizationName: '' }), ...(showPasswordFields && { password: '', confirmPassword: '' }) }}\n onSubmit={handleRegisterSubmit}\n onFormReady={handleFormReady}\n validationMode={ValidationMode.ON_BLUR}\n disabled={isLoading}\n layoutTemplate={RegisterFormTemplate}\n labels={{\n fields: {\n email: t(UserRegisterLabel.EMAIL_ADDRESS),\n ...(collectsNamesAtSignUp && { firstName: t(UserRegisterLabel.FIRST_NAME), lastName: t(UserRegisterLabel.LAST_NAME) }),\n ...(showOrgNameField && { organizationName: t(UserRegisterLabel.ORGANIZATION_NAME) }),\n ...(showPasswordFields && { password: t(UserRegisterLabel.PASSWORD), confirmPassword: t(UserRegisterLabel.CONFIRM_PASSWORD) }),\n },\n }}\n />\n </RegisterConsentContext.Provider>\n )}\n\n {/*\n * The other sign-up methods the user type allows (#1093), as the invitation screen offers\n * them: a button per method switches the form. Named with the sign-in screen's words, so a\n * method reads the same wherever it is chosen.\n */}\n {alternativeMethods.length > 0 && (\n <>\n <LabeledDivider label={tAuth(UserAuthLabel.OTHER_METHODS_DIVIDER)} />\n <Text className=\"text-sm text-muted-foreground text-center mb-element\">{t(UserRegisterLabel.METHOD_CHOICE_HINT)}</Text>\n <AuthMethodChoiceList\n methods={alternativeMethods}\n /*\n * Registration offers a method before anyone is identified, so there is no descriptor and\n * no enterprise connection to name — but the application's social providers are known, and\n * they are the same ones this screen's own provider buttons render. Where exactly one is\n * configured the button reads \"Continue with Google\" instead of the kind.\n */\n labelFor={(method) => resolveAuthMethodChoiceLabel(method, {\n socialProviders: enabledSocialOAuth2Providers,\n continueWithTemplate: tAuth(UserAuthLabel.CONTINUE_WITH),\n translateLabel: (label) => tAuth(label),\n resolveSocialProviderLabel: (provider) => resolveOAuthProviderDisplayLabel({\n providerRef: provider.providerRef,\n displayName: provider.displayName,\n displayNameLabelKey: provider.displayNameLabelKey,\n brandLabel: SSO_PROVIDER_BRAND_META[provider.providerRef]?.label,\n translate,\n }),\n })}\n onSelect={setSelectedMethod}\n disabled={isLoading}\n />\n </>\n )}\n\n <div className=\"text-center mt-group\">\n <Text className=\"text-sm\">\n {t(UserRegisterLabel.ALREADY_HAVE_ACCOUNT)}{' '}\n <Link href={loginPath}>{t(UserRegisterLabel.SIGNIN_LINK)}</Link>\n </Text>\n </div>\n </>\n );\n};\n\nfunction RegistrationUnavailable({\n mode,\n}: {\n mode: RegistrationMode;\n}): React.JSX.Element | null {\n const location = useLocation();\n const { tComponent, isReady } = useI18n({\n component: FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER,\n });\n const authRedirectTarget = useMemo(\n () => extractAuthRedirectFromSearch(location.search),\n [location.search],\n );\n const loginPath = useMemo(\n () => appendAuthRedirectToPath(CommonRoutePaths.login, authRedirectTarget),\n [authRedirectTarget],\n );\n if (!isReady) return null;\n\n const message = mode === RegistrationMode.INVITATION_ONLY\n ? UserRegisterLabel.INVITATION_ONLY\n : mode === RegistrationMode.ADMIN_ONLY\n ? UserRegisterLabel.ADMIN_ONLY\n : UserRegisterLabel.REGISTRATION_DISABLED;\n const t = (key: string) => tComponent(FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, key);\n\n return (\n <>\n <div className=\"text-center space-y-item-xs mb-group\">\n <Heading>{t(UserRegisterLabel.TITLE)}</Heading>\n <Text className=\"max-w-sm mx-auto\">{t(message)}</Text>\n </div>\n <div className=\"text-center\">\n <AuthSecondaryLink href={loginPath}>{t(UserRegisterLabel.SIGNIN_LINK)}</AuthSecondaryLink>\n </div>\n </>\n );\n}\n\nexport function Auth_Register({ preset = CorePresetNames.DEFAULT, ...props }: PublicLayoutPreset_UserRegister_DefaultProps & ComponentPresetProps): React.JSX.Element {\n const { auth } = useUserOrgs();\n const resolvedAuth = useResolvedAuthConfig();\n const location = useLocation();\n const postAuthRedirect = useMemo(\n () => resolvePostAuthRedirect(location.search),\n [location.search],\n );\n\n // This native wrapper is the non-overridable availability boundary. Presets customize only the\n // presentation of an already-authorized public registration flow.\n if (auth.accessToken) {\n return <Navigate to={postAuthRedirect} replace />;\n }\n if (!resolvedAuth.registrationConfig.publicRegistrationAvailable) {\n return <RegistrationUnavailable mode={resolvedAuth.registrationConfig.mode} />;\n }\n\n const Component = createComponentResolver<PublicLayoutPreset_UserRegister_DefaultProps>(FrontendComponentType.PUBLIC_LAYOUTS_USER_REGISTER, 'Auth_Register')(preset);\n return <Component {...props} />;\n}\n"]}
@@ -30,13 +30,13 @@ export const PublicLayoutsUserRegisterLabels = [
30
30
  ref: UserRegisterLabel.POLICY_MIN_LENGTH,
31
31
  kind: LabelKind.DESCRIPTION,
32
32
  purpose: 'Password-policy hint for the minimum required length',
33
- params: [{ key: 'minLength', meaning: 'minimum number of characters the password must contain' }],
33
+ params: [{ key: 'minLength', meaning: 'minimum number of characters the password must contain', isCount: true }],
34
34
  },
35
35
  {
36
36
  ref: UserRegisterLabel.POLICY_MAX_LENGTH,
37
37
  kind: LabelKind.DESCRIPTION,
38
38
  purpose: 'Password-policy hint for the maximum allowed length',
39
- params: [{ key: 'maxLength', meaning: 'maximum number of characters the password may contain' }],
39
+ params: [{ key: 'maxLength', meaning: 'maximum number of characters the password may contain', isCount: true }],
40
40
  },
41
41
  { ref: UserRegisterLabel.POLICY_UPPERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one uppercase letter' },
42
42
  { ref: UserRegisterLabel.POLICY_LOWERCASE, kind: LabelKind.DESCRIPTION, purpose: 'Password-policy hint requiring at least one lowercase letter' },