@alfadocs/ui-kit-debug 0.46.0 → 0.48.0

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 (368) hide show
  1. package/dist/_chunks/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
  2. package/dist/_chunks/agenda-card-BaSfVfrL.js.map +1 -0
  3. package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
  4. package/dist/_chunks/agenda-tray-DQayYmQ0.js.map +1 -0
  5. package/dist/_chunks/ai-consent-banner-DO5ingMq.js +169 -0
  6. package/dist/_chunks/ai-consent-banner-DO5ingMq.js.map +1 -0
  7. package/dist/_chunks/ai-tools-rail-CxYG04cw.js +280 -0
  8. package/dist/_chunks/ai-tools-rail-CxYG04cw.js.map +1 -0
  9. package/dist/_chunks/alia-sidebar-DlvyXgVC.js +1126 -0
  10. package/dist/_chunks/alia-sidebar-DlvyXgVC.js.map +1 -0
  11. package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
  12. package/dist/_chunks/anamnesis-card-CmkBVAln.js.map +1 -0
  13. package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
  14. package/dist/_chunks/appointment-tray-BwDHhWWC.js.map +1 -0
  15. package/dist/_chunks/{audio-recorder-C1rhKhSN.js → audio-recorder-DC-v9YFW.js} +81 -91
  16. package/dist/_chunks/audio-recorder-DC-v9YFW.js.map +1 -0
  17. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
  18. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js.map → bmi-calculator-DdylQzT6.js.map} +1 -1
  19. package/dist/_chunks/{booking-DlDVuWMd.js → booking-WV2GSru5.js} +291 -303
  20. package/dist/_chunks/booking-WV2GSru5.js.map +1 -0
  21. package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
  22. package/dist/_chunks/{calculator-dialog-D-nfvteH.js.map → calculator-dialog-CFk4I91b.js.map} +1 -1
  23. package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
  24. package/dist/_chunks/calendar-days-C4BmpCZg.js.map +1 -0
  25. package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
  26. package/dist/_chunks/calendar-oYWOCrnf.js.map +1 -0
  27. package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
  28. package/dist/_chunks/care-plan-card-QmNpGggC.js.map +1 -0
  29. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
  30. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js.map +1 -0
  31. package/dist/_chunks/{chat-input-CQe7nR_v.js → chat-input-CFwc7JxL.js} +2 -1
  32. package/dist/_chunks/{chat-input-CQe7nR_v.js.map → chat-input-CFwc7JxL.js.map} +1 -1
  33. package/dist/_chunks/{chat-message-ASgGtj-L.js → chat-message-Dm8U2RY1.js} +81 -74
  34. package/dist/_chunks/chat-message-Dm8U2RY1.js.map +1 -0
  35. package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
  36. package/dist/_chunks/clinical-note-card-BYo437dU.js.map +1 -0
  37. package/dist/_chunks/code-block-HoddNOKJ.js +106 -0
  38. package/dist/_chunks/code-block-HoddNOKJ.js.map +1 -0
  39. package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
  40. package/dist/_chunks/contact-profile-card-DvvVfAA2.js.map +1 -0
  41. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js → cycle-calculator-DYvGm_m1.js} +2 -2
  42. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js.map → cycle-calculator-DYvGm_m1.js.map} +1 -1
  43. package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
  44. package/dist/_chunks/dialog-DMGnSelc.js.map +1 -0
  45. package/dist/_chunks/download-CDF1sbL9.js +16 -0
  46. package/dist/_chunks/download-CDF1sbL9.js.map +1 -0
  47. package/dist/_chunks/{due-date-calculator-mFxpHLml.js → due-date-calculator-BXd3ANj7.js} +2 -2
  48. package/dist/_chunks/{due-date-calculator-mFxpHLml.js.map → due-date-calculator-BXd3ANj7.js.map} +1 -1
  49. package/dist/_chunks/{editable-currency-cell-renderer-BEBUQl9P.js → editable-currency-cell-renderer-CLil9B29.js} +283 -293
  50. package/dist/_chunks/editable-currency-cell-renderer-CLil9B29.js.map +1 -0
  51. package/dist/_chunks/entity-card-COhmqHly.js +69 -0
  52. package/dist/_chunks/entity-card-COhmqHly.js.map +1 -0
  53. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js → gestational-age-calculator-Crj6FgZw.js} +2 -2
  54. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js.map → gestational-age-calculator-Crj6FgZw.js.map} +1 -1
  55. package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
  56. package/dist/_chunks/insert-result-DNdi_JYW.js.map +1 -0
  57. package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
  58. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +1 -0
  59. package/dist/_chunks/languages-DsVf_WzT.js +19 -0
  60. package/dist/_chunks/languages-DsVf_WzT.js.map +1 -0
  61. package/dist/_chunks/layers-pzGcbLPj.js +34 -0
  62. package/dist/_chunks/layers-pzGcbLPj.js.map +1 -0
  63. package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
  64. package/dist/_chunks/message-card-Dvl1TgaN.js.map +1 -0
  65. package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
  66. package/dist/_chunks/{message-tray-hSQff9u4.js.map → message-tray-Dl6GQaaV.js.map} +1 -1
  67. package/dist/_chunks/mic-B4Gog3Gi.js +16 -0
  68. package/dist/_chunks/mic-B4Gog3Gi.js.map +1 -0
  69. package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
  70. package/dist/_chunks/operator-hero-CM8949Hd.js.map +1 -0
  71. package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
  72. package/dist/_chunks/patient-summary-card-BnTqxcTr.js.map +1 -0
  73. package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
  74. package/dist/_chunks/payment-request-card-B_lyobd0.js.map +1 -0
  75. package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-G8SU6Azw.js} +3 -3
  76. package/dist/_chunks/pdf-viewer-G8SU6Azw.js.map +1 -0
  77. package/dist/_chunks/pencil-CfQX-0Qc.js +21 -0
  78. package/dist/_chunks/pencil-CfQX-0Qc.js.map +1 -0
  79. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
  80. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js.map +1 -0
  81. package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
  82. package/dist/_chunks/phone-Bi5yUm4I.js.map +1 -0
  83. package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-BFL_mcDW.js} +3 -2
  84. package/dist/_chunks/{practice-results-DDi-kvaD.js.map → practice-results-BFL_mcDW.js.map} +1 -1
  85. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js → pregnancy-weight-gain-C7dK89jE.js} +2 -2
  86. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js.map → pregnancy-weight-gain-C7dK89jE.js.map} +1 -1
  87. package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
  88. package/dist/_chunks/scan-line-lGioFwLC.js.map +1 -0
  89. package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
  90. package/dist/_chunks/shield-check-BjCGH_Sr.js.map +1 -0
  91. package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-DPI2pY9V.js} +2 -2
  92. package/dist/_chunks/{sign-document-BCyLpFHJ.js.map → sign-document-DPI2pY9V.js.map} +1 -1
  93. package/dist/_chunks/{streaming-text-GH07yIYh.js → streaming-text-CfhDqtIT.js} +49 -45
  94. package/dist/_chunks/streaming-text-CfhDqtIT.js.map +1 -0
  95. package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
  96. package/dist/_chunks/{transaction-chip-B8ujzowA.js.map → transaction-chip-BZCa6XDn.js.map} +1 -1
  97. package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
  98. package/dist/_chunks/{unit-converter-u3CwNDpP.js.map → unit-converter-jWp3Z85y.js.map} +1 -1
  99. package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
  100. package/dist/_chunks/user-cog-BS_qc8nA.js.map +1 -0
  101. package/dist/_chunks/video-BAeICxCT.js +21 -0
  102. package/dist/_chunks/video-BAeICxCT.js.map +1 -0
  103. package/dist/_chunks/{workflow-map-BFNpzTiw.js → workflow-map-ZXw-zsZ8.js} +186 -219
  104. package/dist/_chunks/workflow-map-ZXw-zsZ8.js.map +1 -0
  105. package/dist/agent-catalog.json +324 -1
  106. package/dist/components/_shared/code-block.d.ts +39 -0
  107. package/dist/components/_shared/code-block.d.ts.map +1 -0
  108. package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
  109. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -0
  110. package/dist/components/_shared/entity-card/index.d.ts +3 -0
  111. package/dist/components/_shared/entity-card/index.d.ts.map +1 -0
  112. package/dist/components/_shared/index.d.ts +2 -0
  113. package/dist/components/_shared/index.d.ts.map +1 -1
  114. package/dist/components/_shared/is-safe-url.d.ts +13 -0
  115. package/dist/components/_shared/is-safe-url.d.ts.map +1 -0
  116. package/dist/components/agenda-card/agenda-card.d.ts +1 -2
  117. package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
  118. package/dist/components/agenda-card/index.d.ts +2 -1
  119. package/dist/components/agenda-card/index.d.ts.map +1 -1
  120. package/dist/components/agenda-card/index.js +6 -5
  121. package/dist/components/agenda-card/index.js.map +1 -1
  122. package/dist/components/agenda-tray/index.js +1 -1
  123. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
  124. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts.map +1 -0
  125. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
  126. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -0
  127. package/dist/components/ai-consent-banner/index.d.ts +4 -0
  128. package/dist/components/ai-consent-banner/index.d.ts.map +1 -0
  129. package/dist/components/ai-consent-banner/index.js +6 -0
  130. package/dist/components/ai-consent-banner/index.js.map +1 -0
  131. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
  132. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -0
  133. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
  134. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -0
  135. package/dist/components/ai-tools-rail/index.d.ts +4 -0
  136. package/dist/components/ai-tools-rail/index.d.ts.map +1 -0
  137. package/dist/components/ai-tools-rail/index.js +6 -0
  138. package/dist/components/ai-tools-rail/index.js.map +1 -0
  139. package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
  140. package/dist/components/anamnesis-card/anamnesis-card.d.ts.map +1 -0
  141. package/dist/components/anamnesis-card/index.d.ts +3 -0
  142. package/dist/components/anamnesis-card/index.d.ts.map +1 -0
  143. package/dist/components/anamnesis-card/index.js +5 -0
  144. package/dist/components/anamnesis-card/index.js.map +1 -0
  145. package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
  146. package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -0
  147. package/dist/components/appointment-card/appointment-card.d.ts +93 -0
  148. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -0
  149. package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
  150. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -0
  151. package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
  152. package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -0
  153. package/dist/components/appointment-card/index.d.ts +8 -0
  154. package/dist/components/appointment-card/index.d.ts.map +1 -0
  155. package/dist/components/appointment-card/index.js +10 -0
  156. package/dist/components/appointment-card/index.js.map +1 -0
  157. package/dist/components/audio-recorder/index.js +1 -1
  158. package/dist/components/badge/badge.d.ts +1 -1
  159. package/dist/components/bmi-calculator/index.js +1 -1
  160. package/dist/components/booking/index.js +1 -1
  161. package/dist/components/calculator-dialog/index.js +1 -1
  162. package/dist/components/calendar/index.js +1 -1
  163. package/dist/components/card/card.d.ts +1 -1
  164. package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
  165. package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -0
  166. package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
  167. package/dist/components/care-plan-card/care-plan-card.d.ts.map +1 -0
  168. package/dist/components/care-plan-card/index.d.ts +4 -0
  169. package/dist/components/care-plan-card/index.d.ts.map +1 -0
  170. package/dist/components/care-plan-card/index.js +6 -0
  171. package/dist/components/care-plan-card/index.js.map +1 -0
  172. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
  173. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -0
  174. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
  175. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts.map +1 -0
  176. package/dist/components/care-plan-entry-card/index.d.ts +4 -0
  177. package/dist/components/care-plan-entry-card/index.d.ts.map +1 -0
  178. package/dist/components/care-plan-entry-card/index.js +6 -0
  179. package/dist/components/care-plan-entry-card/index.js.map +1 -0
  180. package/dist/components/chat-input/index.js +1 -1
  181. package/dist/components/chat-message/chat-message.d.ts +13 -0
  182. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  183. package/dist/components/chat-message/index.js +1 -1
  184. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
  185. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts.map +1 -0
  186. package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
  187. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -0
  188. package/dist/components/clinical-note-card/index.d.ts +4 -0
  189. package/dist/components/clinical-note-card/index.d.ts.map +1 -0
  190. package/dist/components/clinical-note-card/index.js +6 -0
  191. package/dist/components/clinical-note-card/index.js.map +1 -0
  192. package/dist/components/contact-profile-card/index.js +1 -1
  193. package/dist/components/cycle-calculator/index.js +1 -1
  194. package/dist/components/data-table/index.js +1 -1
  195. package/dist/components/dialog/dialog.d.ts +7 -0
  196. package/dist/components/dialog/dialog.d.ts.map +1 -1
  197. package/dist/components/dialog/index.js +1 -1
  198. package/dist/components/due-date-calculator/index.js +1 -1
  199. package/dist/components/gestational-age-calculator/index.js +1 -1
  200. package/dist/components/index.d.ts +10 -0
  201. package/dist/components/index.d.ts.map +1 -1
  202. package/dist/components/message-card/index.js +5 -4
  203. package/dist/components/message-card/index.js.map +1 -1
  204. package/dist/components/message-card/message-card.d.ts +1 -2
  205. package/dist/components/message-card/message-card.d.ts.map +1 -1
  206. package/dist/components/message-tray/index.js +1 -1
  207. package/dist/components/operator-hero/index.js +1 -1
  208. package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
  209. package/dist/components/operator-hero/operator-hero.d.ts +9 -0
  210. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  211. package/dist/components/patient-summary-card/index.d.ts +4 -0
  212. package/dist/components/patient-summary-card/index.d.ts.map +1 -0
  213. package/dist/components/patient-summary-card/index.js +6 -0
  214. package/dist/components/patient-summary-card/index.js.map +1 -0
  215. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
  216. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -0
  217. package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
  218. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -0
  219. package/dist/components/payment-card/index.d.ts +7 -0
  220. package/dist/components/payment-card/index.d.ts.map +1 -0
  221. package/dist/components/payment-card/index.js +8 -0
  222. package/dist/components/payment-card/index.js.map +1 -0
  223. package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
  224. package/dist/components/payment-card/payment-card.agent.d.ts.map +1 -0
  225. package/dist/components/payment-card/payment-card.d.ts +71 -0
  226. package/dist/components/payment-card/payment-card.d.ts.map +1 -0
  227. package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
  228. package/dist/components/payment-card/payment-request-card.agent.d.ts.map +1 -0
  229. package/dist/components/payment-card/payment-request-card.d.ts +43 -0
  230. package/dist/components/payment-card/payment-request-card.d.ts.map +1 -0
  231. package/dist/components/pdf-viewer/index.js +1 -1
  232. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  233. package/dist/components/periodontal-chart-card/index.d.ts +4 -0
  234. package/dist/components/periodontal-chart-card/index.d.ts.map +1 -0
  235. package/dist/components/periodontal-chart-card/index.js +7 -0
  236. package/dist/components/periodontal-chart-card/index.js.map +1 -0
  237. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
  238. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts.map +1 -0
  239. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
  240. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts.map +1 -0
  241. package/dist/components/practice-results/index.js +1 -1
  242. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  243. package/dist/components/public-header/public-header.d.ts +1 -1
  244. package/dist/components/sign-document/index.js +1 -1
  245. package/dist/components/stat/stat.d.ts +1 -1
  246. package/dist/components/streaming-text/index.js +1 -1
  247. package/dist/components/streaming-text/streaming-text.d.ts.map +1 -1
  248. package/dist/components/transaction-chip/index.js +1 -1
  249. package/dist/components/unit-converter/index.js +1 -1
  250. package/dist/components/workflow/index.js +1 -1
  251. package/dist/i18n/locales/ar.d.ts +366 -0
  252. package/dist/i18n/locales/ar.d.ts.map +1 -1
  253. package/dist/i18n/locales/ar.js +367 -1
  254. package/dist/i18n/locales/ar.js.map +1 -1
  255. package/dist/i18n/locales/de.d.ts +366 -0
  256. package/dist/i18n/locales/de.d.ts.map +1 -1
  257. package/dist/i18n/locales/de.js +367 -1
  258. package/dist/i18n/locales/de.js.map +1 -1
  259. package/dist/i18n/locales/el.d.ts +366 -0
  260. package/dist/i18n/locales/el.d.ts.map +1 -1
  261. package/dist/i18n/locales/el.js +367 -1
  262. package/dist/i18n/locales/el.js.map +1 -1
  263. package/dist/i18n/locales/en.d.ts +366 -0
  264. package/dist/i18n/locales/en.d.ts.map +1 -1
  265. package/dist/i18n/locales/en.js +367 -1
  266. package/dist/i18n/locales/en.js.map +1 -1
  267. package/dist/i18n/locales/es.d.ts +366 -0
  268. package/dist/i18n/locales/es.d.ts.map +1 -1
  269. package/dist/i18n/locales/es.js +367 -1
  270. package/dist/i18n/locales/es.js.map +1 -1
  271. package/dist/i18n/locales/fr.d.ts +366 -0
  272. package/dist/i18n/locales/fr.d.ts.map +1 -1
  273. package/dist/i18n/locales/fr.js +367 -1
  274. package/dist/i18n/locales/fr.js.map +1 -1
  275. package/dist/i18n/locales/hi.d.ts +366 -0
  276. package/dist/i18n/locales/hi.d.ts.map +1 -1
  277. package/dist/i18n/locales/hi.js +367 -1
  278. package/dist/i18n/locales/hi.js.map +1 -1
  279. package/dist/i18n/locales/it.d.ts +366 -0
  280. package/dist/i18n/locales/it.d.ts.map +1 -1
  281. package/dist/i18n/locales/it.js +367 -1
  282. package/dist/i18n/locales/it.js.map +1 -1
  283. package/dist/i18n/locales/ja.d.ts +366 -0
  284. package/dist/i18n/locales/ja.d.ts.map +1 -1
  285. package/dist/i18n/locales/ja.js +367 -1
  286. package/dist/i18n/locales/ja.js.map +1 -1
  287. package/dist/i18n/locales/nl.d.ts +366 -0
  288. package/dist/i18n/locales/nl.d.ts.map +1 -1
  289. package/dist/i18n/locales/nl.js +367 -1
  290. package/dist/i18n/locales/nl.js.map +1 -1
  291. package/dist/i18n/locales/pl.d.ts +366 -0
  292. package/dist/i18n/locales/pl.d.ts.map +1 -1
  293. package/dist/i18n/locales/pl.js +367 -1
  294. package/dist/i18n/locales/pl.js.map +1 -1
  295. package/dist/i18n/locales/pt.d.ts +366 -0
  296. package/dist/i18n/locales/pt.d.ts.map +1 -1
  297. package/dist/i18n/locales/pt.js +367 -1
  298. package/dist/i18n/locales/pt.js.map +1 -1
  299. package/dist/i18n/locales/ro.d.ts +366 -0
  300. package/dist/i18n/locales/ro.d.ts.map +1 -1
  301. package/dist/i18n/locales/ro.js +367 -1
  302. package/dist/i18n/locales/ro.js.map +1 -1
  303. package/dist/i18n/locales/ru.d.ts +366 -0
  304. package/dist/i18n/locales/ru.d.ts.map +1 -1
  305. package/dist/i18n/locales/ru.js +367 -1
  306. package/dist/i18n/locales/ru.js.map +1 -1
  307. package/dist/i18n/locales/sq.d.ts +366 -0
  308. package/dist/i18n/locales/sq.d.ts.map +1 -1
  309. package/dist/i18n/locales/sq.js +367 -1
  310. package/dist/i18n/locales/sq.js.map +1 -1
  311. package/dist/i18n/locales/sv.d.ts +366 -0
  312. package/dist/i18n/locales/sv.d.ts.map +1 -1
  313. package/dist/i18n/locales/sv.js +367 -1
  314. package/dist/i18n/locales/sv.js.map +1 -1
  315. package/dist/i18n/locales/tr.d.ts +366 -0
  316. package/dist/i18n/locales/tr.d.ts.map +1 -1
  317. package/dist/i18n/locales/tr.js +367 -1
  318. package/dist/i18n/locales/tr.js.map +1 -1
  319. package/dist/i18n/locales/zh.d.ts +366 -0
  320. package/dist/i18n/locales/zh.d.ts.map +1 -1
  321. package/dist/i18n/locales/zh.js +367 -1
  322. package/dist/i18n/locales/zh.js.map +1 -1
  323. package/dist/index.js +527 -491
  324. package/dist/index.js.map +1 -1
  325. package/dist/locales/ar.json +367 -1
  326. package/dist/locales/de.json +367 -1
  327. package/dist/locales/el.json +367 -1
  328. package/dist/locales/en.json +367 -1
  329. package/dist/locales/es.json +367 -1
  330. package/dist/locales/fr.json +367 -1
  331. package/dist/locales/hi.json +367 -1
  332. package/dist/locales/it.json +367 -1
  333. package/dist/locales/ja.json +367 -1
  334. package/dist/locales/nl.json +367 -1
  335. package/dist/locales/pl.json +367 -1
  336. package/dist/locales/pt.json +367 -1
  337. package/dist/locales/ro.json +367 -1
  338. package/dist/locales/ru.json +367 -1
  339. package/dist/locales/sq.json +367 -1
  340. package/dist/locales/sv.json +367 -1
  341. package/dist/locales/tr.json +367 -1
  342. package/dist/locales/zh.json +367 -1
  343. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  344. package/dist/patterns/alia-assistant/alia-types.d.ts +76 -0
  345. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  346. package/dist/patterns/alia-assistant/index.js +1 -1
  347. package/dist/tokens.css +1 -1
  348. package/package.json +42 -1
  349. package/dist/_chunks/agenda-card-CFyWSX7Z.js.map +0 -1
  350. package/dist/_chunks/agenda-tray-Dyj9ChHC.js.map +0 -1
  351. package/dist/_chunks/alia-sidebar-Be8FhKYd.js +0 -837
  352. package/dist/_chunks/alia-sidebar-Be8FhKYd.js.map +0 -1
  353. package/dist/_chunks/audio-recorder-C1rhKhSN.js.map +0 -1
  354. package/dist/_chunks/booking-DlDVuWMd.js.map +0 -1
  355. package/dist/_chunks/calendar-YHFknAGv.js.map +0 -1
  356. package/dist/_chunks/chat-message-ASgGtj-L.js.map +0 -1
  357. package/dist/_chunks/contact-profile-card-DHyuAPXM.js.map +0 -1
  358. package/dist/_chunks/dialog-BTpZV6It.js.map +0 -1
  359. package/dist/_chunks/editable-currency-cell-renderer-BEBUQl9P.js.map +0 -1
  360. package/dist/_chunks/insert-result-C5ABnzDl.js.map +0 -1
  361. package/dist/_chunks/message-card-DSPw5ghw.js.map +0 -1
  362. package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
  363. package/dist/_chunks/operator-hero-7LiiP7zi.js.map +0 -1
  364. package/dist/_chunks/pdf-viewer-CWEXTlwq.js.map +0 -1
  365. package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
  366. package/dist/_chunks/shield-check-C73ma9Cs.js.map +0 -1
  367. package/dist/_chunks/streaming-text-GH07yIYh.js.map +0 -1
  368. package/dist/_chunks/workflow-map-BFNpzTiw.js.map +0 -1
@@ -1,13 +1,14 @@
1
1
  import { jsx as t, jsxs as u, Fragment as ve } from "react/jsx-runtime";
2
- import { forwardRef as O, useMemo as W, useRef as j, useCallback as $, useState as ge, useImperativeHandle as ke, useEffect as ye } from "react";
3
- import { c as L } from "./index-D2ZczOXr.js";
4
- import { useTranslation as z } from "react-i18next";
2
+ import { forwardRef as H, useMemo as $, useRef as A, useCallback as q, useState as ge, useImperativeHandle as be, useEffect as ke } from "react";
3
+ import { c as D } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as S } from "react-i18next";
5
5
  import { C } from "./card-DPmk26CL.js";
6
- import { B as be } from "./badge-zsf5i5bH.js";
6
+ import { B as ye } from "./badge-zsf5i5bH.js";
7
7
  import { a as Z } from "./key-value-pair-CkQIb9EG.js";
8
8
  import { T as xe } from "./timestamp-BV2lC-wV.js";
9
- import { I as S } from "./icon-button-CKEOrN37.js";
10
- import { c as _ } from "./createLucideIcon-CrFbzy84.js";
9
+ import { I as M } from "./icon-button-CKEOrN37.js";
10
+ import { P as U } from "./pencil-CfQX-0Qc.js";
11
+ import { c as z } from "./createLucideIcon-CrFbzy84.js";
11
12
  import { C as Ne } from "./circle-BkqTgYmt.js";
12
13
  import { u as Ce } from "./registry-nPAVE19X.js";
13
14
  import { A as V } from "./alert-ywPR59NE.js";
@@ -16,10 +17,11 @@ import { D as N } from "./dropdown-menu-CUEXqKis.js";
16
17
  import { E } from "./empty-state-BLy7tigq.js";
17
18
  import { P as ae } from "./plus-CYKNmfuA.js";
18
19
  import { G as ne } from "./globe-BkEFMNSg.js";
19
- import { M as de } from "./message-circle-C23eicgb.js";
20
- import { S as ie } from "./square-check-big-Jr-0202D.js";
21
- import { M as le } from "./mail-C8irm52s.js";
22
- import { C as ce } from "./clock-21AGPWJ5.js";
20
+ import { U as de } from "./user-cog-BS_qc8nA.js";
21
+ import { M as ie } from "./message-circle-C23eicgb.js";
22
+ import { S as le } from "./square-check-big-Jr-0202D.js";
23
+ import { M as ce } from "./mail-C8irm52s.js";
24
+ import { C as ue } from "./clock-21AGPWJ5.js";
23
25
  import { C as Me } from "./chevron-up-zOEDrmBB.js";
24
26
  import { C as Se } from "./chevron-down-BX_NP2Yh.js";
25
27
  import { C as ze } from "./check-DPdL_Sm7.js";
@@ -29,7 +31,7 @@ import { C as ze } from "./check-DPdL_Sm7.js";
29
31
  * This source code is licensed under the ISC license.
30
32
  * See the LICENSE file in the root directory of this source tree.
31
33
  */
32
- const je = [
34
+ const Ae = [
33
35
  ["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
34
36
  ["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
35
37
  ["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
@@ -38,18 +40,18 @@ const je = [
38
40
  ["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
39
41
  ["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
40
42
  ["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
41
- ], Ae = _("circle-dashed", je);
43
+ ], Ie = z("circle-dashed", Ae);
42
44
  /**
43
45
  * @license lucide-react v1.8.0 - ISC
44
46
  *
45
47
  * This source code is licensed under the ISC license.
46
48
  * See the LICENSE file in the root directory of this source tree.
47
49
  */
48
- const Ie = [
50
+ const Te = [
49
51
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
50
52
  ["line", { x1: "10", x2: "10", y1: "15", y2: "9", key: "c1nkhi" }],
51
53
  ["line", { x1: "14", x2: "14", y1: "15", y2: "9", key: "h65svq" }]
52
- ], Te = _("circle-pause", Ie);
54
+ ], je = z("circle-pause", Te);
53
55
  /**
54
56
  * @license lucide-react v1.8.0 - ISC
55
57
  *
@@ -62,45 +64,29 @@ const Ee = [
62
64
  ["path", { d: "M13 19h8", key: "c3s6r1" }],
63
65
  ["path", { d: "m3 17 2 2 4-4", key: "1jhpwq" }],
64
66
  ["path", { d: "m3 7 2 2 4-4", key: "1obspn" }]
65
- ], Le = _("list-checks", Ee);
67
+ ], De = z("list-checks", Ee);
66
68
  /**
67
69
  * @license lucide-react v1.8.0 - ISC
68
70
  *
69
71
  * This source code is licensed under the ISC license.
70
72
  * See the LICENSE file in the root directory of this source tree.
71
73
  */
72
- const De = [
73
- [
74
- "path",
75
- {
76
- d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
77
- key: "1a8usu"
78
- }
79
- ],
80
- ["path", { d: "m15 5 4 4", key: "1mk7zo" }]
81
- ], U = _("pencil", De);
82
- /**
83
- * @license lucide-react v1.8.0 - ISC
84
- *
85
- * This source code is licensed under the ISC license.
86
- * See the LICENSE file in the root directory of this source tree.
87
- */
88
- const Ke = [
74
+ const Le = [
89
75
  ["path", { d: "M18.36 6.64A9 9 0 0 1 20.77 15", key: "dxknvb" }],
90
76
  ["path", { d: "M6.16 6.16a9 9 0 1 0 12.68 12.68", key: "1x7qb5" }],
91
77
  ["path", { d: "M12 2v4", key: "3427ic" }],
92
78
  ["path", { d: "m2 2 20 20", key: "1ooewy" }]
93
- ], Be = _("power-off", Ke);
79
+ ], Ke = z("power-off", Le);
94
80
  /**
95
81
  * @license lucide-react v1.8.0 - ISC
96
82
  *
97
83
  * This source code is licensed under the ISC license.
98
84
  * See the LICENSE file in the root directory of this source tree.
99
85
  */
100
- const qe = [
86
+ const Be = [
101
87
  ["path", { d: "M12 2v10", key: "mnfbl" }],
102
88
  ["path", { d: "M18.4 6.6a9 9 0 1 1-12.77.04", key: "obofu9" }]
103
- ], Pe = _("power", qe);
89
+ ], Pe = z("power", Be);
104
90
  /**
105
91
  * @license lucide-react v1.8.0 - ISC
106
92
  *
@@ -110,7 +96,7 @@ const qe = [
110
96
  const Re = [
111
97
  ["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
112
98
  ["path", { d: "M12 18h.01", key: "mhygvu" }]
113
- ], ue = _("smartphone", Re);
99
+ ], fe = z("smartphone", Re);
114
100
  /**
115
101
  * @license lucide-react v1.8.0 - ISC
116
102
  *
@@ -123,26 +109,7 @@ const We = [
123
109
  ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
124
110
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
125
111
  ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
126
- ], fe = _("trash-2", We);
127
- /**
128
- * @license lucide-react v1.8.0 - ISC
129
- *
130
- * This source code is licensed under the ISC license.
131
- * See the LICENSE file in the root directory of this source tree.
132
- */
133
- const $e = [
134
- ["path", { d: "M10 15H6a4 4 0 0 0-4 4v2", key: "1nfge6" }],
135
- ["path", { d: "m14.305 16.53.923-.382", key: "1itpsq" }],
136
- ["path", { d: "m15.228 13.852-.923-.383", key: "eplpkm" }],
137
- ["path", { d: "m16.852 12.228-.383-.923", key: "13v3q0" }],
138
- ["path", { d: "m16.852 17.772-.383.924", key: "1i8mnm" }],
139
- ["path", { d: "m19.148 12.228.383-.923", key: "1q8j1v" }],
140
- ["path", { d: "m19.53 18.696-.382-.924", key: "vk1qj3" }],
141
- ["path", { d: "m20.772 13.852.924-.383", key: "n880s0" }],
142
- ["path", { d: "m20.772 16.148.924.383", key: "1g6xey" }],
143
- ["circle", { cx: "18", cy: "15", r: "3", key: "gjjjvw" }],
144
- ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
145
- ], me = _("user-cog", $e), Fe = L("ds:relative ds:w-full", {
112
+ ], me = z("trash-2", We), $e = D("ds:relative ds:w-full", {
146
113
  variants: {
147
114
  density: {
148
115
  comfortable: "",
@@ -153,7 +120,7 @@ const $e = [
153
120
  density: "comfortable"
154
121
  }
155
122
  });
156
- function Ve(e) {
123
+ function qe(e) {
157
124
  switch (e) {
158
125
  case "active":
159
126
  return {
@@ -163,17 +130,17 @@ function Ve(e) {
163
130
  case "paused":
164
131
  return {
165
132
  badgeVariant: "warning",
166
- icon: /* @__PURE__ */ t(Te, { "aria-hidden": "true" })
133
+ icon: /* @__PURE__ */ t(je, { "aria-hidden": "true" })
167
134
  };
168
135
  case "inactive":
169
136
  default:
170
137
  return {
171
138
  badgeVariant: "neutral",
172
- icon: /* @__PURE__ */ t(Ae, { "aria-hidden": "true" })
139
+ icon: /* @__PURE__ */ t(Ie, { "aria-hidden": "true" })
173
140
  };
174
141
  }
175
142
  }
176
- const He = O(
143
+ const Fe = H(
177
144
  function({
178
145
  workflow: s,
179
146
  density: r = "comfortable",
@@ -183,10 +150,10 @@ const He = O(
183
150
  onToggleActive: a,
184
151
  className: p
185
152
  }, m) {
186
- const { t: c } = z(), d = Ve(s.status), l = s.status === "active", v = r === "compact", h = (w) => (y) => {
187
- y.stopPropagation(), w == null || w();
188
- }, b = /* @__PURE__ */ t(
189
- be,
153
+ const { t: c } = S(), d = qe(s.status), l = s.status === "active", v = r === "compact", h = (w) => (k) => {
154
+ k.stopPropagation(), w == null || w();
155
+ }, y = /* @__PURE__ */ t(
156
+ ye,
190
157
  {
191
158
  variant: d.badgeVariant,
192
159
  leading: d.icon,
@@ -199,7 +166,7 @@ const He = O(
199
166
  {
200
167
  ref: m,
201
168
  variant: "default",
202
- className: Fe({ density: r, className: p }),
169
+ className: $e({ density: r, className: p }),
203
170
  "data-component": "workflow-card",
204
171
  "data-component-id": s.id,
205
172
  children: [
@@ -232,7 +199,7 @@ const He = O(
232
199
  /* @__PURE__ */ t("span", { className: "ds:font-medium ds:text-[color:var(--foreground)]", children: s.stats.activeEnrollments })
233
200
  ] })
234
201
  ] }),
235
- /* @__PURE__ */ t("div", { className: "ds:shrink-0", children: b })
202
+ /* @__PURE__ */ t("div", { className: "ds:shrink-0", children: y })
236
203
  ] }) }),
237
204
  !v && /* @__PURE__ */ u(C.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
238
205
  /* @__PURE__ */ t(
@@ -266,7 +233,7 @@ const He = O(
266
233
  ] }),
267
234
  /* @__PURE__ */ u("div", { className: "ds:relative ds:z-10 ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:ms-auto", children: [
268
235
  i && /* @__PURE__ */ t(
269
- S,
236
+ M,
270
237
  {
271
238
  icon: /* @__PURE__ */ t(U, {}),
272
239
  size: "sm",
@@ -276,9 +243,9 @@ const He = O(
276
243
  }
277
244
  ),
278
245
  a && /* @__PURE__ */ t(
279
- S,
246
+ M,
280
247
  {
281
- icon: l ? /* @__PURE__ */ t(Be, {}) : /* @__PURE__ */ t(Pe, {}),
248
+ icon: l ? /* @__PURE__ */ t(Ke, {}) : /* @__PURE__ */ t(Pe, {}),
282
249
  size: "sm",
283
250
  intent: "ghost",
284
251
  "aria-label": c(
@@ -288,9 +255,9 @@ const He = O(
288
255
  }
289
256
  ),
290
257
  n && /* @__PURE__ */ t(
291
- S,
258
+ M,
292
259
  {
293
- icon: /* @__PURE__ */ t(fe, {}),
260
+ icon: /* @__PURE__ */ t(me, {}),
294
261
  size: "sm",
295
262
  intent: "destructive",
296
263
  "aria-label": c("workflow.card.delete"),
@@ -304,8 +271,8 @@ const He = O(
304
271
  );
305
272
  }
306
273
  );
307
- He.displayName = "WorkflowCard";
308
- const Wt = {
274
+ Fe.displayName = "WorkflowCard";
275
+ const $t = {
309
276
  id: "workflow-card",
310
277
  capabilities: ["navigate"],
311
278
  state: {},
@@ -322,7 +289,7 @@ const Wt = {
322
289
  description: "Sourced from the id prop."
323
290
  }
324
291
  }
325
- }, $t = {
292
+ }, qt = {
326
293
  id: "workflow-map",
327
294
  capabilities: ["navigate"],
328
295
  state: {},
@@ -343,7 +310,7 @@ const Wt = {
343
310
  description: "Stable opaque workflow node id emitted on each step."
344
311
  }
345
312
  }
346
- }, Oe = {
313
+ }, Ve = {
347
314
  id: "workflow-editor",
348
315
  capabilities: ["navigate", "expand"],
349
316
  state: {
@@ -408,7 +375,7 @@ function G(e) {
408
375
  p.has(d.id) || m.push(d);
409
376
  return m;
410
377
  }
411
- function H(e, s, r) {
378
+ function O(e, s, r) {
412
379
  const o = [...e.nodes, r];
413
380
  if (s === null) {
414
381
  const a = e.nodes[0];
@@ -452,18 +419,18 @@ function ee(e, s) {
452
419
  edges: n
453
420
  };
454
421
  }
455
- function Ue(e, s, r) {
422
+ function Oe(e, s, r) {
456
423
  var h;
457
- const o = G(e), i = o.findIndex((b) => b.id === s);
424
+ const o = G(e), i = o.findIndex((y) => y.id === s);
458
425
  if (i === -1) return e;
459
426
  const n = r === "up" ? i - 1 : i + 1;
460
427
  if (n < 0 || n >= o.length) return e;
461
428
  const a = o[i], p = o[n];
462
429
  if (!a || !p) return e;
463
- const m = ee(ee(e, a.id), p.id), c = r === "up" ? a : p, d = r === "up" ? p : a, l = ((h = o[Math.min(i, n) - 1]) == null ? void 0 : h.id) ?? null, v = H(m, l, c);
464
- return H(v, c.id, d);
430
+ const m = ee(ee(e, a.id), p.id), c = r === "up" ? a : p, d = r === "up" ? p : a, l = ((h = o[Math.min(i, n) - 1]) == null ? void 0 : h.id) ?? null, v = O(m, l, c);
431
+ return O(v, c.id, d);
465
432
  }
466
- const Ge = /* @__PURE__ */ new Set([
433
+ const He = /* @__PURE__ */ new Set([
467
434
  "dateOfBirth",
468
435
  "date_of_birth",
469
436
  "firstName",
@@ -483,10 +450,10 @@ const Ge = /* @__PURE__ */ new Set([
483
450
  "address",
484
451
  "id"
485
452
  ]);
486
- function Ye(e) {
487
- return Ge.has(e);
453
+ function Ue(e) {
454
+ return He.has(e);
488
455
  }
489
- const D = {
456
+ const L = {
490
457
  add_delay: {
491
458
  labelKey: "workflow.action.addDelay",
492
459
  iconName: "Clock"
@@ -515,27 +482,27 @@ const D = {
515
482
  labelKey: "workflow.action.webhook",
516
483
  iconName: "Globe"
517
484
  }
518
- }, Je = {
519
- Clock: ce,
520
- Mail: le,
521
- Smartphone: ue,
522
- CheckSquare: ie,
523
- MessageCircle: de,
524
- UserCog: me,
485
+ }, Ge = {
486
+ Clock: ue,
487
+ Mail: ce,
488
+ Smartphone: fe,
489
+ CheckSquare: le,
490
+ MessageCircle: ie,
491
+ UserCog: de,
525
492
  Globe: ne
526
493
  };
527
494
  function Y({
528
495
  iconName: e,
529
496
  className: s
530
497
  }) {
531
- const r = Je[e];
498
+ const r = Ge[e];
532
499
  return /* @__PURE__ */ t(r, { "aria-hidden": "true", className: s ?? "ds:size-4" });
533
500
  }
534
- const Qe = 40, Xe = 60;
501
+ const Ye = 40, Je = 60;
535
502
  function te(e, s) {
536
503
  return e.length <= s ? e : `${e.slice(0, s - 1)}…`;
537
504
  }
538
- function Ze(e, s) {
505
+ function Qe(e, s) {
539
506
  switch (e.kind) {
540
507
  case "add_delay": {
541
508
  const r = e.days ?? 0, o = s("workflow.delay.summary", { count: r });
@@ -543,11 +510,11 @@ function Ze(e, s) {
543
510
  }
544
511
  case "send_email": {
545
512
  const r = e.subject ?? "", i = `${s("workflow.action.sendEmail")}: ${r}`;
546
- return { text: te(i, Qe), full: i };
513
+ return { text: te(i, Ye), full: i };
547
514
  }
548
515
  case "send_sms": {
549
516
  const r = e.body ?? "";
550
- return { text: te(r, Xe), full: r };
517
+ return { text: te(r, Je), full: r };
551
518
  }
552
519
  case "create_task": {
553
520
  const r = e.title ?? "";
@@ -574,7 +541,7 @@ const se = [
574
541
  "ds:border-inline-start-[var(--border-width-hairline)]",
575
542
  "ds:border-solid",
576
543
  "ds:border-[color:var(--border)]"
577
- ].join(" "), et = [
544
+ ].join(" "), Xe = [
578
545
  "ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
579
546
  "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
580
547
  "ds:rounded-[var(--radius-full)]",
@@ -589,21 +556,21 @@ const se = [
589
556
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
590
557
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
591
558
  "ds:disabled:opacity-50 ds:disabled:cursor-not-allowed"
592
- ].join(" "), tt = [
559
+ ].join(" "), Ze = [
593
560
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
594
561
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
595
562
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
596
563
  "ds:rounded-[var(--radius-lg)]"
597
- ].join(" "), st = Object.keys(
598
- D
564
+ ].join(" "), et = Object.keys(
565
+ L
599
566
  );
600
567
  let re = 0;
601
- function rt() {
568
+ function tt() {
602
569
  re += 1;
603
570
  const e = Math.random().toString(36).slice(2, 8);
604
571
  return `wf-node-${Date.now()}-${re}-${e}`;
605
572
  }
606
- function ot(e) {
573
+ function st(e) {
607
574
  switch (e) {
608
575
  case "add_delay":
609
576
  return { kind: "add_delay", days: 1 };
@@ -626,13 +593,13 @@ function ot(e) {
626
593
  return { kind: "webhook", url: "", method: "POST" };
627
594
  }
628
595
  }
629
- function at(e = 0) {
630
- const s = j(e), r = $((o) => {
596
+ function rt(e = 0) {
597
+ const s = A(e), r = q((o) => {
631
598
  s.current = o;
632
599
  }, []);
633
600
  return [s, r];
634
601
  }
635
- function nt({
602
+ function ot({
636
603
  node: e,
637
604
  position: s,
638
605
  total: r,
@@ -642,26 +609,26 @@ function nt({
642
609
  onMove: a,
643
610
  registerRef: p
644
611
  }) {
645
- const { t: m } = z(), c = D[e.type], d = j(null), [l, v] = at(0), h = $(
612
+ const { t: m } = S(), c = L[e.type], d = A(null), [l, v] = rt(0), h = q(
646
613
  (g) => {
647
- var q, P;
648
- const M = (q = d.current) == null ? void 0 : q.querySelectorAll(
614
+ var P, R;
615
+ const _ = (P = d.current) == null ? void 0 : P.querySelectorAll(
649
616
  "button[data-wf-control]:not([disabled])"
650
617
  );
651
- if (!M || M.length === 0) return;
652
- const B = Math.max(0, Math.min(g, M.length - 1));
653
- (P = M[B]) == null || P.focus(), v(B);
618
+ if (!_ || _.length === 0) return;
619
+ const B = Math.max(0, Math.min(g, _.length - 1));
620
+ (R = _[B]) == null || R.focus(), v(B);
654
621
  },
655
622
  [v]
656
- ), b = (g) => {
623
+ ), y = (g) => {
657
624
  g.target === g.currentTarget && (g.key === "ArrowRight" || g.key === "ArrowDown") && (g.preventDefault(), h(0));
658
625
  }, x = (g) => {
659
626
  g.key === "ArrowRight" ? (g.preventDefault(), h(l.current + 1)) : g.key === "ArrowLeft" ? (g.preventDefault(), h(l.current - 1)) : g.key === "Home" ? (g.preventDefault(), h(0)) : g.key === "End" && (g.preventDefault(), h(Number.POSITIVE_INFINITY));
660
- }, w = Ze(e.settings, m), y = m(c.labelKey), A = s > 0, I = s < r - 1, K = m("workflow.editor.position", {
627
+ }, w = Qe(e.settings, m), k = m(c.labelKey), I = s > 0, T = s < r - 1, K = m("workflow.editor.position", {
661
628
  current: s + 1,
662
629
  total: r
663
- }), T = m("workflow.editor.nodeAriaLabel", {
664
- type: y,
630
+ }), j = m("workflow.editor.nodeAriaLabel", {
631
+ type: k,
665
632
  current: s + 1,
666
633
  total: r
667
634
  });
@@ -672,10 +639,10 @@ function nt({
672
639
  {
673
640
  ref: (g) => p(e.id, g),
674
641
  tabIndex: o ? -1 : 0,
675
- onKeyDown: b,
676
- "aria-label": T,
642
+ onKeyDown: y,
643
+ "aria-label": j,
677
644
  "data-node-id": e.id,
678
- className: tt,
645
+ className: Ze,
679
646
  children: /* @__PURE__ */ u(C, { variant: "outlined", children: [
680
647
  /* @__PURE__ */ t(C.Header, { className: "ds:pb-[var(--spacing-sm)]", children: /* @__PURE__ */ u("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
681
648
  /* @__PURE__ */ t(
@@ -687,7 +654,7 @@ function nt({
687
654
  }
688
655
  ),
689
656
  /* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
690
- /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: y }),
657
+ /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: k }),
691
658
  /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[color:var(--muted-foreground)]", children: K })
692
659
  ] }),
693
660
  /* @__PURE__ */ u(
@@ -698,7 +665,7 @@ function nt({
698
665
  className: "ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:ms-auto",
699
666
  children: [
700
667
  i ? /* @__PURE__ */ t(
701
- S,
668
+ M,
702
669
  {
703
670
  "data-wf-control": "edit",
704
671
  icon: /* @__PURE__ */ t(U, {}),
@@ -711,36 +678,36 @@ function nt({
711
678
  }
712
679
  ) : null,
713
680
  /* @__PURE__ */ t(
714
- S,
681
+ M,
715
682
  {
716
683
  "data-wf-control": "up",
717
684
  icon: /* @__PURE__ */ t(Me, {}),
718
685
  size: "sm",
719
686
  intent: "ghost",
720
- disabled: o || !A,
687
+ disabled: o || !I,
721
688
  tabIndex: -1,
722
689
  "aria-label": m("workflow.editor.moveUp"),
723
690
  onClick: () => a(e.id, "up")
724
691
  }
725
692
  ),
726
693
  /* @__PURE__ */ t(
727
- S,
694
+ M,
728
695
  {
729
696
  "data-wf-control": "down",
730
697
  icon: /* @__PURE__ */ t(Se, {}),
731
698
  size: "sm",
732
699
  intent: "ghost",
733
- disabled: o || !I,
700
+ disabled: o || !T,
734
701
  tabIndex: -1,
735
702
  "aria-label": m("workflow.editor.moveDown"),
736
703
  onClick: () => a(e.id, "down")
737
704
  }
738
705
  ),
739
706
  n ? /* @__PURE__ */ t(
740
- S,
707
+ M,
741
708
  {
742
709
  "data-wf-control": "delete",
743
- icon: /* @__PURE__ */ t(fe, {}),
710
+ icon: /* @__PURE__ */ t(me, {}),
744
711
  size: "sm",
745
712
  intent: "destructive",
746
713
  disabled: o,
@@ -761,7 +728,7 @@ function nt({
761
728
  children: w.text
762
729
  }
763
730
  ) }) : null,
764
- e.settings.kind === "update_patient_field" && Ye(e.settings.fieldId) ? /* @__PURE__ */ t(C.Body, { className: "ds:pt-0", children: /* @__PURE__ */ t(V, { variant: "error", "data-testid": "workflow-editor-invalid-field", children: m("workflow.editor.invalidField") }) }) : null
731
+ e.settings.kind === "update_patient_field" && Ue(e.settings.fieldId) ? /* @__PURE__ */ t(C.Body, { className: "ds:pt-0", children: /* @__PURE__ */ t(V, { variant: "error", "data-testid": "workflow-editor-invalid-field", children: m("workflow.editor.invalidField") }) }) : null
765
732
  ] })
766
733
  }
767
734
  )
@@ -774,7 +741,7 @@ function oe({
774
741
  label: o,
775
742
  compact: i = !0
776
743
  }) {
777
- const { t: n } = z();
744
+ const { t: n } = S();
778
745
  return /* @__PURE__ */ u(N.Root, { children: [
779
746
  /* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ u(
780
747
  "button",
@@ -782,7 +749,7 @@ function oe({
782
749
  type: "button",
783
750
  disabled: r,
784
751
  "aria-label": o,
785
- className: et,
752
+ className: Xe,
786
753
  children: [
787
754
  /* @__PURE__ */ t(ae, { "aria-hidden": "true", className: "ds:size-4" }),
788
755
  i ? null : /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)]", children: o })
@@ -792,7 +759,7 @@ function oe({
792
759
  /* @__PURE__ */ u(N.Content, { align: "start", sideOffset: 6, children: [
793
760
  /* @__PURE__ */ t(N.Label, { children: n("workflow.editor.addAction") }),
794
761
  e.map((a) => {
795
- const p = D[a];
762
+ const p = L[a];
796
763
  return /* @__PURE__ */ t(
797
764
  N.Item,
798
765
  {
@@ -806,15 +773,15 @@ function oe({
806
773
  ] })
807
774
  ] });
808
775
  }
809
- function dt({ criteria: e, onEdit: s, disabled: r }) {
810
- const { t: o } = z(), i = (e == null ? void 0 : e.ruleCount) ?? 0, n = i > 0 ? o("workflow.editor.criteriaCount", { count: i }) : o("workflow.editor.noCriteria");
776
+ function at({ criteria: e, onEdit: s, disabled: r }) {
777
+ const { t: o } = S(), i = (e == null ? void 0 : e.ruleCount) ?? 0, n = i > 0 ? o("workflow.editor.criteriaCount", { count: i }) : o("workflow.editor.noCriteria");
811
778
  return /* @__PURE__ */ t(C, { variant: "outlined", children: /* @__PURE__ */ t(C.Header, { className: "ds:pb-[var(--spacing-sm)]", children: /* @__PURE__ */ u("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
812
779
  /* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
813
780
  /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)]", children: o("workflow.editor.enrollmentCriteria") }),
814
781
  /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: (e == null ? void 0 : e.summary) ?? n })
815
782
  ] }),
816
783
  s ? /* @__PURE__ */ t(
817
- S,
784
+ M,
818
785
  {
819
786
  icon: /* @__PURE__ */ t(U, {}),
820
787
  size: "sm",
@@ -826,7 +793,7 @@ function dt({ criteria: e, onEdit: s, disabled: r }) {
826
793
  ) : null
827
794
  ] }) }) });
828
795
  }
829
- const it = O(
796
+ const nt = H(
830
797
  function({
831
798
  graph: s,
832
799
  onChange: r,
@@ -838,51 +805,51 @@ const it = O(
838
805
  onDeleteNode: m,
839
806
  className: c
840
807
  }, d) {
841
- const { t: l } = z(), v = a ?? st, h = W(() => G(s), [s]), b = j(/* @__PURE__ */ new Map()), x = j(null), w = $(
808
+ const { t: l } = S(), v = a ?? et, h = $(() => G(s), [s]), y = A(/* @__PURE__ */ new Map()), x = A(null), w = q(
842
809
  (f) => {
843
810
  n || r(f);
844
811
  },
845
812
  [n, r]
846
- ), y = $((f, k) => {
847
- k ? b.current.set(f, k) : b.current.delete(f);
848
- }, []), [A, I] = ge(null), K = j(null);
849
- K.current = A;
850
- const T = j(null);
851
- ke(d, () => T.current, []);
852
- const g = W(
813
+ ), k = q((f, b) => {
814
+ b ? y.current.set(f, b) : y.current.delete(f);
815
+ }, []), [I, T] = ge(null), K = A(null);
816
+ K.current = I;
817
+ const j = A(null);
818
+ be(d, () => j.current, []);
819
+ const g = $(
853
820
  () => ({
854
821
  getTotalSteps: () => h.length,
855
822
  getCurrentStep: () => K.current,
856
823
  gotoStep: (f) => {
857
- const k = b.current.get(f);
858
- k && (k.focus(), I(f));
824
+ const b = y.current.get(f);
825
+ b && (b.focus(), T(f));
859
826
  }
860
827
  }),
861
828
  [h.length]
862
829
  );
863
- Ce(Oe, g, void 0), ye(() => {
830
+ Ce(Ve, g, void 0), ke(() => {
864
831
  const f = x.current;
865
832
  if (!f) return;
866
- const k = b.current.get(f);
867
- k && (k.focus(), x.current = null);
833
+ const b = y.current.get(f);
834
+ b && (b.focus(), x.current = null);
868
835
  });
869
- const M = (f, k) => {
836
+ const _ = (f, b) => {
870
837
  if (n) return;
871
- const R = {
872
- id: rt(),
873
- type: k,
874
- settings: ot(k)
838
+ const W = {
839
+ id: tt(),
840
+ type: b,
841
+ settings: st(b)
875
842
  };
876
- x.current = R.id, w(H(s, f, R));
877
- }, B = (f, k) => {
878
- n || (x.current = f, w(Ue(s, f, k)));
879
- }, q = (f) => {
880
- n || !p || p(f);
843
+ x.current = W.id, w(O(s, f, W));
844
+ }, B = (f, b) => {
845
+ n || (x.current = f, w(Oe(s, f, b)));
881
846
  }, P = (f) => {
847
+ n || !p || p(f);
848
+ }, R = (f) => {
882
849
  n || !m || m(f);
883
850
  }, J = () => n ? /* @__PURE__ */ t(V, { variant: "warning", children: /* @__PURE__ */ t(V.Title, { as: "p", children: l("workflow.editor.activeLock") }) }) : null, Q = () => o || i ? /* @__PURE__ */ u(ve, { children: [
884
851
  /* @__PURE__ */ t(
885
- dt,
852
+ at,
886
853
  {
887
854
  criteria: o,
888
855
  onEdit: i,
@@ -894,7 +861,7 @@ const it = O(
894
861
  return X === 0 ? /* @__PURE__ */ u(
895
862
  "div",
896
863
  {
897
- ref: T,
864
+ ref: j,
898
865
  className: [se, c].filter(Boolean).join(" "),
899
866
  children: [
900
867
  J(),
@@ -960,13 +927,13 @@ const it = O(
960
927
  /* @__PURE__ */ u(N.Content, { align: "center", sideOffset: 6, children: [
961
928
  /* @__PURE__ */ t(N.Label, { children: l("workflow.editor.addAction") }),
962
929
  v.map((f) => {
963
- const k = D[f];
930
+ const b = L[f];
964
931
  return /* @__PURE__ */ t(
965
932
  N.Item,
966
933
  {
967
- startIcon: /* @__PURE__ */ t(Y, { iconName: k.iconName }),
968
- onSelect: () => M(null, f),
969
- children: l(k.labelKey)
934
+ startIcon: /* @__PURE__ */ t(Y, { iconName: b.iconName }),
935
+ onSelect: () => _(null, f),
936
+ children: l(b.labelKey)
970
937
  },
971
938
  f
972
939
  );
@@ -981,7 +948,7 @@ const it = O(
981
948
  ) : /* @__PURE__ */ u(
982
949
  "div",
983
950
  {
984
- ref: T,
951
+ ref: j,
985
952
  "data-component": "workflow-editor",
986
953
  className: [se, c].filter(Boolean).join(" "),
987
954
  children: [
@@ -993,7 +960,7 @@ const it = O(
993
960
  availableActions: v,
994
961
  disabled: n,
995
962
  label: l("workflow.editor.addAction"),
996
- onSelect: (f) => M(null, f)
963
+ onSelect: (f) => _(null, f)
997
964
  }
998
965
  ) }),
999
966
  /* @__PURE__ */ t(
@@ -1002,19 +969,19 @@ const it = O(
1002
969
  role: "list",
1003
970
  "aria-label": l("workflow.editor.pipeline"),
1004
971
  className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col",
1005
- children: h.map((f, k) => /* @__PURE__ */ u("li", { className: "ds:list-none ds:flex ds:flex-col", children: [
972
+ children: h.map((f, b) => /* @__PURE__ */ u("li", { className: "ds:list-none ds:flex ds:flex-col", children: [
1006
973
  /* @__PURE__ */ t("span", { "aria-hidden": "true", className: F }),
1007
974
  /* @__PURE__ */ t(
1008
- nt,
975
+ ot,
1009
976
  {
1010
977
  node: f,
1011
- position: k,
978
+ position: b,
1012
979
  total: X,
1013
980
  disabled: n,
1014
- onEdit: p ? q : void 0,
1015
- onDelete: m ? P : void 0,
981
+ onEdit: p ? P : void 0,
982
+ onDelete: m ? R : void 0,
1016
983
  onMove: B,
1017
- registerRef: y
984
+ registerRef: k
1018
985
  }
1019
986
  ),
1020
987
  /* @__PURE__ */ t("span", { "aria-hidden": "true", className: F }),
@@ -1024,7 +991,7 @@ const it = O(
1024
991
  availableActions: v,
1025
992
  disabled: n,
1026
993
  label: l("workflow.editor.addActionAfter"),
1027
- onSelect: (R) => M(f.id, R)
994
+ onSelect: (W) => _(f.id, W)
1028
995
  }
1029
996
  ) })
1030
997
  ] }, f.id))
@@ -1035,16 +1002,16 @@ const it = O(
1035
1002
  );
1036
1003
  }
1037
1004
  );
1038
- it.displayName = "WorkflowEditor";
1039
- const lt = {
1040
- Clock: ce,
1041
- Mail: le,
1042
- Smartphone: ue,
1043
- CheckSquare: ie,
1044
- MessageCircle: de,
1045
- UserCog: me,
1005
+ nt.displayName = "WorkflowEditor";
1006
+ const dt = {
1007
+ Clock: ue,
1008
+ Mail: ce,
1009
+ Smartphone: fe,
1010
+ CheckSquare: le,
1011
+ MessageCircle: ie,
1012
+ UserCog: de,
1046
1013
  Globe: ne
1047
- }, ct = L(
1014
+ }, it = D(
1048
1015
  // The map is a list of steps — never a list of meaningful controls.
1049
1016
  // Layout via logical properties only; connectors are sibling spacers
1050
1017
  // styled with border-inline-start / border-block-end (see node/spacer).
@@ -1065,14 +1032,14 @@ const lt = {
1065
1032
  compact: !1
1066
1033
  }
1067
1034
  }
1068
- ), pe = L("ds:flex", {
1035
+ ), pe = D("ds:flex", {
1069
1036
  variants: {
1070
1037
  orientation: {
1071
1038
  vertical: "ds:flex-col ds:items-stretch",
1072
1039
  horizontal: "ds:flex-row ds:items-center"
1073
1040
  }
1074
1041
  }
1075
- }), he = L(
1042
+ }), he = D(
1076
1043
  [
1077
1044
  "ds:relative ds:flex ds:items-center",
1078
1045
  "ds:gap-[var(--spacing-sm)]",
@@ -1118,7 +1085,7 @@ const lt = {
1118
1085
  }
1119
1086
  }
1120
1087
  }
1121
- ), we = L(
1088
+ ), we = D(
1122
1089
  ["ds:block", "ds:border-solid", "ds:border-[color:var(--border)]"].join(" "),
1123
1090
  {
1124
1091
  variants: {
@@ -1167,7 +1134,7 @@ const lt = {
1167
1134
  ]
1168
1135
  }
1169
1136
  );
1170
- function ut(e) {
1137
+ function lt(e) {
1171
1138
  switch (e.kind) {
1172
1139
  case "add_delay":
1173
1140
  return typeof e.days == "number" && e.days > 0 ? {
@@ -1196,11 +1163,11 @@ function ut(e) {
1196
1163
  return;
1197
1164
  }
1198
1165
  }
1199
- function ft(e, s) {
1166
+ function ct(e, s) {
1200
1167
  if (e !== void 0)
1201
1168
  return typeof e == "string" ? e : s(e.key, e.options);
1202
1169
  }
1203
- const mt = O(
1170
+ const ut = H(
1204
1171
  function({
1205
1172
  graph: s,
1206
1173
  activeNodeId: r,
@@ -1212,10 +1179,10 @@ const mt = O(
1212
1179
  "aria-label": m,
1213
1180
  ...c
1214
1181
  }, d) {
1215
- const { t: l } = z(), v = W(() => G(s), [s]), h = W(
1182
+ const { t: l } = S(), v = $(() => G(s), [s]), h = $(
1216
1183
  () => r ? v.findIndex((w) => w.id === r) : -1,
1217
1184
  [v, r]
1218
- ), b = m ?? l("workflow.map.label", { count: v.length }), x = (w) => h === -1 ? "neutral" : w === h ? "current" : w < h ? "completed" : "pending";
1185
+ ), y = m ?? l("workflow.map.label", { count: v.length }), x = (w) => h === -1 ? "neutral" : w === h ? "current" : w < h ? "completed" : "pending";
1219
1186
  return (
1220
1187
  // eslint-disable-next-line jsx-a11y/no-redundant-roles -- Safari strips the implicit list role on <ol> with list-style:none; this guard puts it back in the accessibility tree
1221
1188
  /* @__PURE__ */ u(
@@ -1223,30 +1190,30 @@ const mt = O(
1223
1190
  {
1224
1191
  ref: d,
1225
1192
  role: "list",
1226
- "aria-label": b,
1193
+ "aria-label": y,
1227
1194
  "data-component": "workflow-map",
1228
1195
  "data-component-id": c.id,
1229
- className: ct({ orientation: n, compact: a, className: p }),
1196
+ className: it({ orientation: n, compact: a, className: p }),
1230
1197
  ...c,
1231
1198
  children: [
1232
1199
  i ? /* @__PURE__ */ t(
1233
- ht,
1200
+ mt,
1234
1201
  {
1235
1202
  orientation: n,
1236
1203
  compact: a,
1237
1204
  criteria: i
1238
1205
  }
1239
1206
  ) : null,
1240
- v.map((w, y) => {
1241
- const A = x(y), I = y === v.length - 1;
1207
+ v.map((w, k) => {
1208
+ const I = x(k), T = k === v.length - 1;
1242
1209
  return /* @__PURE__ */ t(
1243
- pt,
1210
+ ft,
1244
1211
  {
1245
1212
  node: w,
1246
- state: A,
1213
+ state: I,
1247
1214
  orientation: n,
1248
1215
  compact: a,
1249
- isLast: I,
1216
+ isLast: T,
1250
1217
  onNodeClick: o
1251
1218
  },
1252
1219
  w.id
@@ -1258,8 +1225,8 @@ const mt = O(
1258
1225
  );
1259
1226
  }
1260
1227
  );
1261
- mt.displayName = "WorkflowMap";
1262
- function pt({
1228
+ ut.displayName = "WorkflowMap";
1229
+ function ft({
1263
1230
  node: e,
1264
1231
  state: s,
1265
1232
  orientation: r,
@@ -1267,10 +1234,10 @@ function pt({
1267
1234
  isLast: i,
1268
1235
  onNodeClick: n
1269
1236
  }) {
1270
- const { t: a } = z(), p = D[e.type], m = lt[p.iconName], c = a(p.labelKey), d = ft(ut(e.settings), a), l = typeof n == "function", v = s === "current", h = s === "completed", b = (y) => {
1271
- l && (y.preventDefault(), n == null || n(e.id));
1272
- }, x = (y) => {
1273
- l && (y.key === "Enter" || y.key === " ") && (y.preventDefault(), n == null || n(e.id));
1237
+ const { t: a } = S(), p = L[e.type], m = dt[p.iconName], c = a(p.labelKey), d = ct(lt(e.settings), a), l = typeof n == "function", v = s === "current", h = s === "completed", y = (k) => {
1238
+ l && (k.preventDefault(), n == null || n(e.id));
1239
+ }, x = (k) => {
1240
+ l && (k.key === "Enter" || k.key === " ") && (k.preventDefault(), n == null || n(e.id));
1274
1241
  }, w = v ? a("workflow.map.current") : h ? a("workflow.map.completed") : s === "pending" ? a("workflow.map.pending") : null;
1275
1242
  return (
1276
1243
  // `<li>` has implicit role="listitem"; no explicit role needed.
@@ -1289,7 +1256,7 @@ function pt({
1289
1256
  type: c,
1290
1257
  summary: d
1291
1258
  }) : void 0,
1292
- onClick: l ? b : void 0,
1259
+ onClick: l ? y : void 0,
1293
1260
  onKeyDown: l ? x : void 0,
1294
1261
  className: he({
1295
1262
  orientation: r,
@@ -1340,12 +1307,12 @@ function pt({
1340
1307
  ] })
1341
1308
  );
1342
1309
  }
1343
- function ht({
1310
+ function mt({
1344
1311
  orientation: e,
1345
1312
  compact: s,
1346
1313
  criteria: r
1347
1314
  }) {
1348
- const { t: o } = z();
1315
+ const { t: o } = S();
1349
1316
  return /* @__PURE__ */ u("li", { className: pe({ orientation: e }), children: [
1350
1317
  /* @__PURE__ */ u(
1351
1318
  "div",
@@ -1363,7 +1330,7 @@ function ht({
1363
1330
  {
1364
1331
  "aria-hidden": "true",
1365
1332
  className: "ds:flex ds:items-center ds:justify-center ds:shrink-0 ds:size-[var(--spacing-md)] ds:text-[var(--muted-foreground)]",
1366
- children: /* @__PURE__ */ t(Le, { className: "ds:size-[var(--spacing-md)]" })
1333
+ children: /* @__PURE__ */ t(De, { className: "ds:size-[var(--spacing-md)]" })
1367
1334
  }
1368
1335
  ),
1369
1336
  /* @__PURE__ */ u("span", { className: "ds:flex ds:flex-col ds:min-w-0 ds:flex-1", children: [
@@ -1385,18 +1352,18 @@ function ht({
1385
1352
  ] });
1386
1353
  }
1387
1354
  export {
1388
- Ge as C,
1389
- He as W,
1390
- it as a,
1391
- mt as b,
1392
- H as c,
1393
- Wt as d,
1394
- Oe as e,
1395
- $t as f,
1396
- Ye as i,
1355
+ He as C,
1356
+ Fe as W,
1357
+ nt as a,
1358
+ ut as b,
1359
+ O as c,
1360
+ $t as d,
1361
+ Ve as e,
1362
+ qt as f,
1363
+ Ue as i,
1397
1364
  G as l,
1398
- Ue as m,
1365
+ Oe as m,
1399
1366
  ee as r,
1400
- D as w
1367
+ L as w
1401
1368
  };
1402
- //# sourceMappingURL=workflow-map-BFNpzTiw.js.map
1369
+ //# sourceMappingURL=workflow-map-ZXw-zsZ8.js.map