@alfadocs/ui-kit-debug 0.47.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 (341) 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-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
  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/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
  16. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js.map → bmi-calculator-DdylQzT6.js.map} +1 -1
  17. package/dist/_chunks/{booking-DlDVuWMd.js → booking-WV2GSru5.js} +291 -303
  18. package/dist/_chunks/booking-WV2GSru5.js.map +1 -0
  19. package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
  20. package/dist/_chunks/{calculator-dialog-D-nfvteH.js.map → calculator-dialog-CFk4I91b.js.map} +1 -1
  21. package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
  22. package/dist/_chunks/calendar-days-C4BmpCZg.js.map +1 -0
  23. package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
  24. package/dist/_chunks/calendar-oYWOCrnf.js.map +1 -0
  25. package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
  26. package/dist/_chunks/care-plan-card-QmNpGggC.js.map +1 -0
  27. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
  28. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js.map +1 -0
  29. package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
  30. package/dist/_chunks/chat-message-Dm8U2RY1.js.map +1 -0
  31. package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
  32. package/dist/_chunks/clinical-note-card-BYo437dU.js.map +1 -0
  33. package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
  34. package/dist/_chunks/contact-profile-card-DvvVfAA2.js.map +1 -0
  35. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js → cycle-calculator-DYvGm_m1.js} +2 -2
  36. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js.map → cycle-calculator-DYvGm_m1.js.map} +1 -1
  37. package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
  38. package/dist/_chunks/dialog-DMGnSelc.js.map +1 -0
  39. package/dist/_chunks/{due-date-calculator-mFxpHLml.js → due-date-calculator-BXd3ANj7.js} +2 -2
  40. package/dist/_chunks/{due-date-calculator-mFxpHLml.js.map → due-date-calculator-BXd3ANj7.js.map} +1 -1
  41. package/dist/_chunks/entity-card-COhmqHly.js +69 -0
  42. package/dist/_chunks/entity-card-COhmqHly.js.map +1 -0
  43. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js → gestational-age-calculator-Crj6FgZw.js} +2 -2
  44. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js.map → gestational-age-calculator-Crj6FgZw.js.map} +1 -1
  45. package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
  46. package/dist/_chunks/insert-result-DNdi_JYW.js.map +1 -0
  47. package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
  48. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +1 -0
  49. package/dist/_chunks/languages-DsVf_WzT.js +19 -0
  50. package/dist/_chunks/languages-DsVf_WzT.js.map +1 -0
  51. package/dist/_chunks/layers-pzGcbLPj.js +34 -0
  52. package/dist/_chunks/layers-pzGcbLPj.js.map +1 -0
  53. package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
  54. package/dist/_chunks/message-card-Dvl1TgaN.js.map +1 -0
  55. package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
  56. package/dist/_chunks/{message-tray-hSQff9u4.js.map → message-tray-Dl6GQaaV.js.map} +1 -1
  57. package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
  58. package/dist/_chunks/operator-hero-CM8949Hd.js.map +1 -0
  59. package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
  60. package/dist/_chunks/patient-summary-card-BnTqxcTr.js.map +1 -0
  61. package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
  62. package/dist/_chunks/payment-request-card-B_lyobd0.js.map +1 -0
  63. package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-G8SU6Azw.js} +3 -3
  64. package/dist/_chunks/pdf-viewer-G8SU6Azw.js.map +1 -0
  65. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
  66. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js.map +1 -0
  67. package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
  68. package/dist/_chunks/phone-Bi5yUm4I.js.map +1 -0
  69. package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-BFL_mcDW.js} +3 -2
  70. package/dist/_chunks/{practice-results-DDi-kvaD.js.map → practice-results-BFL_mcDW.js.map} +1 -1
  71. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js → pregnancy-weight-gain-C7dK89jE.js} +2 -2
  72. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js.map → pregnancy-weight-gain-C7dK89jE.js.map} +1 -1
  73. package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
  74. package/dist/_chunks/scan-line-lGioFwLC.js.map +1 -0
  75. package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
  76. package/dist/_chunks/shield-check-BjCGH_Sr.js.map +1 -0
  77. package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-DPI2pY9V.js} +2 -2
  78. package/dist/_chunks/{sign-document-BCyLpFHJ.js.map → sign-document-DPI2pY9V.js.map} +1 -1
  79. package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
  80. package/dist/_chunks/{transaction-chip-B8ujzowA.js.map → transaction-chip-BZCa6XDn.js.map} +1 -1
  81. package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
  82. package/dist/_chunks/{unit-converter-u3CwNDpP.js.map → unit-converter-jWp3Z85y.js.map} +1 -1
  83. package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
  84. package/dist/_chunks/user-cog-BS_qc8nA.js.map +1 -0
  85. package/dist/_chunks/video-BAeICxCT.js +21 -0
  86. package/dist/_chunks/video-BAeICxCT.js.map +1 -0
  87. package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-ZXw-zsZ8.js} +138 -156
  88. package/dist/_chunks/workflow-map-ZXw-zsZ8.js.map +1 -0
  89. package/dist/agent-catalog.json +324 -1
  90. package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
  91. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -0
  92. package/dist/components/_shared/entity-card/index.d.ts +3 -0
  93. package/dist/components/_shared/entity-card/index.d.ts.map +1 -0
  94. package/dist/components/_shared/index.d.ts +2 -0
  95. package/dist/components/_shared/index.d.ts.map +1 -1
  96. package/dist/components/_shared/is-safe-url.d.ts +13 -0
  97. package/dist/components/_shared/is-safe-url.d.ts.map +1 -0
  98. package/dist/components/agenda-card/agenda-card.d.ts +1 -2
  99. package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
  100. package/dist/components/agenda-card/index.d.ts +2 -1
  101. package/dist/components/agenda-card/index.d.ts.map +1 -1
  102. package/dist/components/agenda-card/index.js +6 -5
  103. package/dist/components/agenda-card/index.js.map +1 -1
  104. package/dist/components/agenda-tray/index.js +1 -1
  105. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
  106. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts.map +1 -0
  107. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
  108. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -0
  109. package/dist/components/ai-consent-banner/index.d.ts +4 -0
  110. package/dist/components/ai-consent-banner/index.d.ts.map +1 -0
  111. package/dist/components/ai-consent-banner/index.js +6 -0
  112. package/dist/components/ai-consent-banner/index.js.map +1 -0
  113. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
  114. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -0
  115. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
  116. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -0
  117. package/dist/components/ai-tools-rail/index.d.ts +4 -0
  118. package/dist/components/ai-tools-rail/index.d.ts.map +1 -0
  119. package/dist/components/ai-tools-rail/index.js +6 -0
  120. package/dist/components/ai-tools-rail/index.js.map +1 -0
  121. package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
  122. package/dist/components/anamnesis-card/anamnesis-card.d.ts.map +1 -0
  123. package/dist/components/anamnesis-card/index.d.ts +3 -0
  124. package/dist/components/anamnesis-card/index.d.ts.map +1 -0
  125. package/dist/components/anamnesis-card/index.js +5 -0
  126. package/dist/components/anamnesis-card/index.js.map +1 -0
  127. package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
  128. package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -0
  129. package/dist/components/appointment-card/appointment-card.d.ts +93 -0
  130. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -0
  131. package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
  132. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -0
  133. package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
  134. package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -0
  135. package/dist/components/appointment-card/index.d.ts +8 -0
  136. package/dist/components/appointment-card/index.d.ts.map +1 -0
  137. package/dist/components/appointment-card/index.js +10 -0
  138. package/dist/components/appointment-card/index.js.map +1 -0
  139. package/dist/components/badge/badge.d.ts +1 -1
  140. package/dist/components/bmi-calculator/index.js +1 -1
  141. package/dist/components/booking/index.js +1 -1
  142. package/dist/components/calculator-dialog/index.js +1 -1
  143. package/dist/components/calendar/index.js +1 -1
  144. package/dist/components/card/card.d.ts +1 -1
  145. package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
  146. package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -0
  147. package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
  148. package/dist/components/care-plan-card/care-plan-card.d.ts.map +1 -0
  149. package/dist/components/care-plan-card/index.d.ts +4 -0
  150. package/dist/components/care-plan-card/index.d.ts.map +1 -0
  151. package/dist/components/care-plan-card/index.js +6 -0
  152. package/dist/components/care-plan-card/index.js.map +1 -0
  153. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
  154. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -0
  155. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
  156. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts.map +1 -0
  157. package/dist/components/care-plan-entry-card/index.d.ts +4 -0
  158. package/dist/components/care-plan-entry-card/index.d.ts.map +1 -0
  159. package/dist/components/care-plan-entry-card/index.js +6 -0
  160. package/dist/components/care-plan-entry-card/index.js.map +1 -0
  161. package/dist/components/chat-message/chat-message.d.ts +7 -0
  162. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  163. package/dist/components/chat-message/index.js +1 -1
  164. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
  165. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts.map +1 -0
  166. package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
  167. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -0
  168. package/dist/components/clinical-note-card/index.d.ts +4 -0
  169. package/dist/components/clinical-note-card/index.d.ts.map +1 -0
  170. package/dist/components/clinical-note-card/index.js +6 -0
  171. package/dist/components/clinical-note-card/index.js.map +1 -0
  172. package/dist/components/contact-profile-card/index.js +1 -1
  173. package/dist/components/cycle-calculator/index.js +1 -1
  174. package/dist/components/dialog/dialog.d.ts +7 -0
  175. package/dist/components/dialog/dialog.d.ts.map +1 -1
  176. package/dist/components/dialog/index.js +1 -1
  177. package/dist/components/due-date-calculator/index.js +1 -1
  178. package/dist/components/gestational-age-calculator/index.js +1 -1
  179. package/dist/components/index.d.ts +10 -0
  180. package/dist/components/index.d.ts.map +1 -1
  181. package/dist/components/message-card/index.js +5 -4
  182. package/dist/components/message-card/index.js.map +1 -1
  183. package/dist/components/message-card/message-card.d.ts +1 -2
  184. package/dist/components/message-card/message-card.d.ts.map +1 -1
  185. package/dist/components/message-tray/index.js +1 -1
  186. package/dist/components/operator-hero/index.js +1 -1
  187. package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
  188. package/dist/components/operator-hero/operator-hero.d.ts +9 -0
  189. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  190. package/dist/components/patient-summary-card/index.d.ts +4 -0
  191. package/dist/components/patient-summary-card/index.d.ts.map +1 -0
  192. package/dist/components/patient-summary-card/index.js +6 -0
  193. package/dist/components/patient-summary-card/index.js.map +1 -0
  194. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
  195. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -0
  196. package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
  197. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -0
  198. package/dist/components/payment-card/index.d.ts +7 -0
  199. package/dist/components/payment-card/index.d.ts.map +1 -0
  200. package/dist/components/payment-card/index.js +8 -0
  201. package/dist/components/payment-card/index.js.map +1 -0
  202. package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
  203. package/dist/components/payment-card/payment-card.agent.d.ts.map +1 -0
  204. package/dist/components/payment-card/payment-card.d.ts +71 -0
  205. package/dist/components/payment-card/payment-card.d.ts.map +1 -0
  206. package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
  207. package/dist/components/payment-card/payment-request-card.agent.d.ts.map +1 -0
  208. package/dist/components/payment-card/payment-request-card.d.ts +43 -0
  209. package/dist/components/payment-card/payment-request-card.d.ts.map +1 -0
  210. package/dist/components/pdf-viewer/index.js +1 -1
  211. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  212. package/dist/components/periodontal-chart-card/index.d.ts +4 -0
  213. package/dist/components/periodontal-chart-card/index.d.ts.map +1 -0
  214. package/dist/components/periodontal-chart-card/index.js +7 -0
  215. package/dist/components/periodontal-chart-card/index.js.map +1 -0
  216. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
  217. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts.map +1 -0
  218. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
  219. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts.map +1 -0
  220. package/dist/components/practice-results/index.js +1 -1
  221. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  222. package/dist/components/public-header/public-header.d.ts +1 -1
  223. package/dist/components/sign-document/index.js +1 -1
  224. package/dist/components/stat/stat.d.ts +1 -1
  225. package/dist/components/transaction-chip/index.js +1 -1
  226. package/dist/components/unit-converter/index.js +1 -1
  227. package/dist/components/workflow/index.js +1 -1
  228. package/dist/i18n/locales/ar.d.ts +351 -0
  229. package/dist/i18n/locales/ar.d.ts.map +1 -1
  230. package/dist/i18n/locales/ar.js +351 -0
  231. package/dist/i18n/locales/ar.js.map +1 -1
  232. package/dist/i18n/locales/de.d.ts +351 -0
  233. package/dist/i18n/locales/de.d.ts.map +1 -1
  234. package/dist/i18n/locales/de.js +351 -0
  235. package/dist/i18n/locales/de.js.map +1 -1
  236. package/dist/i18n/locales/el.d.ts +351 -0
  237. package/dist/i18n/locales/el.d.ts.map +1 -1
  238. package/dist/i18n/locales/el.js +351 -0
  239. package/dist/i18n/locales/el.js.map +1 -1
  240. package/dist/i18n/locales/en.d.ts +351 -0
  241. package/dist/i18n/locales/en.d.ts.map +1 -1
  242. package/dist/i18n/locales/en.js +351 -0
  243. package/dist/i18n/locales/en.js.map +1 -1
  244. package/dist/i18n/locales/es.d.ts +351 -0
  245. package/dist/i18n/locales/es.d.ts.map +1 -1
  246. package/dist/i18n/locales/es.js +351 -0
  247. package/dist/i18n/locales/es.js.map +1 -1
  248. package/dist/i18n/locales/fr.d.ts +351 -0
  249. package/dist/i18n/locales/fr.d.ts.map +1 -1
  250. package/dist/i18n/locales/fr.js +351 -0
  251. package/dist/i18n/locales/fr.js.map +1 -1
  252. package/dist/i18n/locales/hi.d.ts +351 -0
  253. package/dist/i18n/locales/hi.d.ts.map +1 -1
  254. package/dist/i18n/locales/hi.js +351 -0
  255. package/dist/i18n/locales/hi.js.map +1 -1
  256. package/dist/i18n/locales/it.d.ts +351 -0
  257. package/dist/i18n/locales/it.d.ts.map +1 -1
  258. package/dist/i18n/locales/it.js +351 -0
  259. package/dist/i18n/locales/it.js.map +1 -1
  260. package/dist/i18n/locales/ja.d.ts +351 -0
  261. package/dist/i18n/locales/ja.d.ts.map +1 -1
  262. package/dist/i18n/locales/ja.js +351 -0
  263. package/dist/i18n/locales/ja.js.map +1 -1
  264. package/dist/i18n/locales/nl.d.ts +351 -0
  265. package/dist/i18n/locales/nl.d.ts.map +1 -1
  266. package/dist/i18n/locales/nl.js +351 -0
  267. package/dist/i18n/locales/nl.js.map +1 -1
  268. package/dist/i18n/locales/pl.d.ts +351 -0
  269. package/dist/i18n/locales/pl.d.ts.map +1 -1
  270. package/dist/i18n/locales/pl.js +351 -0
  271. package/dist/i18n/locales/pl.js.map +1 -1
  272. package/dist/i18n/locales/pt.d.ts +351 -0
  273. package/dist/i18n/locales/pt.d.ts.map +1 -1
  274. package/dist/i18n/locales/pt.js +351 -0
  275. package/dist/i18n/locales/pt.js.map +1 -1
  276. package/dist/i18n/locales/ro.d.ts +351 -0
  277. package/dist/i18n/locales/ro.d.ts.map +1 -1
  278. package/dist/i18n/locales/ro.js +351 -0
  279. package/dist/i18n/locales/ro.js.map +1 -1
  280. package/dist/i18n/locales/ru.d.ts +351 -0
  281. package/dist/i18n/locales/ru.d.ts.map +1 -1
  282. package/dist/i18n/locales/ru.js +351 -0
  283. package/dist/i18n/locales/ru.js.map +1 -1
  284. package/dist/i18n/locales/sq.d.ts +351 -0
  285. package/dist/i18n/locales/sq.d.ts.map +1 -1
  286. package/dist/i18n/locales/sq.js +351 -0
  287. package/dist/i18n/locales/sq.js.map +1 -1
  288. package/dist/i18n/locales/sv.d.ts +351 -0
  289. package/dist/i18n/locales/sv.d.ts.map +1 -1
  290. package/dist/i18n/locales/sv.js +351 -0
  291. package/dist/i18n/locales/sv.js.map +1 -1
  292. package/dist/i18n/locales/tr.d.ts +351 -0
  293. package/dist/i18n/locales/tr.d.ts.map +1 -1
  294. package/dist/i18n/locales/tr.js +351 -0
  295. package/dist/i18n/locales/tr.js.map +1 -1
  296. package/dist/i18n/locales/zh.d.ts +351 -0
  297. package/dist/i18n/locales/zh.d.ts.map +1 -1
  298. package/dist/i18n/locales/zh.js +351 -0
  299. package/dist/i18n/locales/zh.js.map +1 -1
  300. package/dist/index.js +527 -491
  301. package/dist/index.js.map +1 -1
  302. package/dist/locales/ar.json +351 -0
  303. package/dist/locales/de.json +351 -0
  304. package/dist/locales/el.json +351 -0
  305. package/dist/locales/en.json +351 -0
  306. package/dist/locales/es.json +351 -0
  307. package/dist/locales/fr.json +351 -0
  308. package/dist/locales/hi.json +351 -0
  309. package/dist/locales/it.json +351 -0
  310. package/dist/locales/ja.json +351 -0
  311. package/dist/locales/nl.json +351 -0
  312. package/dist/locales/pl.json +351 -0
  313. package/dist/locales/pt.json +351 -0
  314. package/dist/locales/ro.json +351 -0
  315. package/dist/locales/ru.json +351 -0
  316. package/dist/locales/sq.json +351 -0
  317. package/dist/locales/sv.json +351 -0
  318. package/dist/locales/tr.json +351 -0
  319. package/dist/locales/zh.json +351 -0
  320. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  321. package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
  322. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  323. package/dist/patterns/alia-assistant/index.js +1 -1
  324. package/dist/tokens.css +1 -1
  325. package/package.json +42 -1
  326. package/dist/_chunks/agenda-card-CFyWSX7Z.js.map +0 -1
  327. package/dist/_chunks/agenda-tray-Dyj9ChHC.js.map +0 -1
  328. package/dist/_chunks/alia-sidebar-CVIPrdc9.js.map +0 -1
  329. package/dist/_chunks/booking-DlDVuWMd.js.map +0 -1
  330. package/dist/_chunks/calendar-YHFknAGv.js.map +0 -1
  331. package/dist/_chunks/chat-message-B5JpFj0F.js.map +0 -1
  332. package/dist/_chunks/contact-profile-card-DHyuAPXM.js.map +0 -1
  333. package/dist/_chunks/dialog-BTpZV6It.js.map +0 -1
  334. package/dist/_chunks/insert-result-C5ABnzDl.js.map +0 -1
  335. package/dist/_chunks/message-card-DSPw5ghw.js.map +0 -1
  336. package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
  337. package/dist/_chunks/operator-hero-7LiiP7zi.js.map +0 -1
  338. package/dist/_chunks/pdf-viewer-CWEXTlwq.js.map +0 -1
  339. package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
  340. package/dist/_chunks/shield-check-C73ma9Cs.js.map +0 -1
  341. package/dist/_chunks/workflow-map-Djn1QMJc.js.map +0 -1
@@ -1,5 +1,5 @@
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 be } from "react";
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
3
  import { c as D } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as S } from "react-i18next";
5
5
  import { C } from "./card-DPmk26CL.js";
@@ -17,10 +17,11 @@ import { D as N } from "./dropdown-menu-CUEXqKis.js";
17
17
  import { E } from "./empty-state-BLy7tigq.js";
18
18
  import { P as ae } from "./plus-CYKNmfuA.js";
19
19
  import { G as ne } from "./globe-BkEFMNSg.js";
20
- import { M as de } from "./message-circle-C23eicgb.js";
21
- import { S as ie } from "./square-check-big-Jr-0202D.js";
22
- import { M as le } from "./mail-C8irm52s.js";
23
- 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";
24
25
  import { C as Me } from "./chevron-up-zOEDrmBB.js";
25
26
  import { C as Se } from "./chevron-down-BX_NP2Yh.js";
26
27
  import { C as ze } from "./check-DPdL_Sm7.js";
@@ -30,7 +31,7 @@ import { C as ze } from "./check-DPdL_Sm7.js";
30
31
  * This source code is licensed under the ISC license.
31
32
  * See the LICENSE file in the root directory of this source tree.
32
33
  */
33
- const je = [
34
+ const Ae = [
34
35
  ["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
35
36
  ["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
36
37
  ["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
@@ -39,18 +40,18 @@ const je = [
39
40
  ["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
40
41
  ["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
41
42
  ["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
42
- ], Ae = z("circle-dashed", je);
43
+ ], Ie = z("circle-dashed", Ae);
43
44
  /**
44
45
  * @license lucide-react v1.8.0 - ISC
45
46
  *
46
47
  * This source code is licensed under the ISC license.
47
48
  * See the LICENSE file in the root directory of this source tree.
48
49
  */
49
- const Ie = [
50
+ const Te = [
50
51
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
51
52
  ["line", { x1: "10", x2: "10", y1: "15", y2: "9", key: "c1nkhi" }],
52
53
  ["line", { x1: "14", x2: "14", y1: "15", y2: "9", key: "h65svq" }]
53
- ], Te = z("circle-pause", Ie);
54
+ ], je = z("circle-pause", Te);
54
55
  /**
55
56
  * @license lucide-react v1.8.0 - ISC
56
57
  *
@@ -92,42 +93,23 @@ const Be = [
92
93
  * This source code is licensed under the ISC license.
93
94
  * See the LICENSE file in the root directory of this source tree.
94
95
  */
95
- const qe = [
96
+ const Re = [
96
97
  ["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
97
98
  ["path", { d: "M12 18h.01", key: "mhygvu" }]
98
- ], ue = z("smartphone", qe);
99
+ ], fe = z("smartphone", Re);
99
100
  /**
100
101
  * @license lucide-react v1.8.0 - ISC
101
102
  *
102
103
  * This source code is licensed under the ISC license.
103
104
  * See the LICENSE file in the root directory of this source tree.
104
105
  */
105
- const Re = [
106
+ const We = [
106
107
  ["path", { d: "M10 11v6", key: "nco0om" }],
107
108
  ["path", { d: "M14 11v6", key: "outv1u" }],
108
109
  ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
109
110
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
110
111
  ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
111
- ], fe = z("trash-2", Re);
112
- /**
113
- * @license lucide-react v1.8.0 - ISC
114
- *
115
- * This source code is licensed under the ISC license.
116
- * See the LICENSE file in the root directory of this source tree.
117
- */
118
- const We = [
119
- ["path", { d: "M10 15H6a4 4 0 0 0-4 4v2", key: "1nfge6" }],
120
- ["path", { d: "m14.305 16.53.923-.382", key: "1itpsq" }],
121
- ["path", { d: "m15.228 13.852-.923-.383", key: "eplpkm" }],
122
- ["path", { d: "m16.852 12.228-.383-.923", key: "13v3q0" }],
123
- ["path", { d: "m16.852 17.772-.383.924", key: "1i8mnm" }],
124
- ["path", { d: "m19.148 12.228.383-.923", key: "1q8j1v" }],
125
- ["path", { d: "m19.53 18.696-.382-.924", key: "vk1qj3" }],
126
- ["path", { d: "m20.772 13.852.924-.383", key: "n880s0" }],
127
- ["path", { d: "m20.772 16.148.924.383", key: "1g6xey" }],
128
- ["circle", { cx: "18", cy: "15", r: "3", key: "gjjjvw" }],
129
- ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
130
- ], me = z("user-cog", We), $e = D("ds:relative ds:w-full", {
112
+ ], me = z("trash-2", We), $e = D("ds:relative ds:w-full", {
131
113
  variants: {
132
114
  density: {
133
115
  comfortable: "",
@@ -138,7 +120,7 @@ const We = [
138
120
  density: "comfortable"
139
121
  }
140
122
  });
141
- function Fe(e) {
123
+ function qe(e) {
142
124
  switch (e) {
143
125
  case "active":
144
126
  return {
@@ -148,17 +130,17 @@ function Fe(e) {
148
130
  case "paused":
149
131
  return {
150
132
  badgeVariant: "warning",
151
- icon: /* @__PURE__ */ t(Te, { "aria-hidden": "true" })
133
+ icon: /* @__PURE__ */ t(je, { "aria-hidden": "true" })
152
134
  };
153
135
  case "inactive":
154
136
  default:
155
137
  return {
156
138
  badgeVariant: "neutral",
157
- icon: /* @__PURE__ */ t(Ae, { "aria-hidden": "true" })
139
+ icon: /* @__PURE__ */ t(Ie, { "aria-hidden": "true" })
158
140
  };
159
141
  }
160
142
  }
161
- const Ve = O(
143
+ const Fe = H(
162
144
  function({
163
145
  workflow: s,
164
146
  density: r = "comfortable",
@@ -168,8 +150,8 @@ const Ve = O(
168
150
  onToggleActive: a,
169
151
  className: p
170
152
  }, m) {
171
- const { t: c } = S(), d = Fe(s.status), l = s.status === "active", v = r === "compact", h = (w) => (b) => {
172
- b.stopPropagation(), w == null || w();
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();
173
155
  }, y = /* @__PURE__ */ t(
174
156
  ye,
175
157
  {
@@ -275,7 +257,7 @@ const Ve = O(
275
257
  n && /* @__PURE__ */ t(
276
258
  M,
277
259
  {
278
- icon: /* @__PURE__ */ t(fe, {}),
260
+ icon: /* @__PURE__ */ t(me, {}),
279
261
  size: "sm",
280
262
  intent: "destructive",
281
263
  "aria-label": c("workflow.card.delete"),
@@ -289,8 +271,8 @@ const Ve = O(
289
271
  );
290
272
  }
291
273
  );
292
- Ve.displayName = "WorkflowCard";
293
- const Wt = {
274
+ Fe.displayName = "WorkflowCard";
275
+ const $t = {
294
276
  id: "workflow-card",
295
277
  capabilities: ["navigate"],
296
278
  state: {},
@@ -307,7 +289,7 @@ const Wt = {
307
289
  description: "Sourced from the id prop."
308
290
  }
309
291
  }
310
- }, $t = {
292
+ }, qt = {
311
293
  id: "workflow-map",
312
294
  capabilities: ["navigate"],
313
295
  state: {},
@@ -328,7 +310,7 @@ const Wt = {
328
310
  description: "Stable opaque workflow node id emitted on each step."
329
311
  }
330
312
  }
331
- }, He = {
313
+ }, Ve = {
332
314
  id: "workflow-editor",
333
315
  capabilities: ["navigate", "expand"],
334
316
  state: {
@@ -393,7 +375,7 @@ function G(e) {
393
375
  p.has(d.id) || m.push(d);
394
376
  return m;
395
377
  }
396
- function H(e, s, r) {
378
+ function O(e, s, r) {
397
379
  const o = [...e.nodes, r];
398
380
  if (s === null) {
399
381
  const a = e.nodes[0];
@@ -445,10 +427,10 @@ function Oe(e, s, r) {
445
427
  if (n < 0 || n >= o.length) return e;
446
428
  const a = o[i], p = o[n];
447
429
  if (!a || !p) return e;
448
- 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);
449
- 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);
450
432
  }
451
- const Ue = /* @__PURE__ */ new Set([
433
+ const He = /* @__PURE__ */ new Set([
452
434
  "dateOfBirth",
453
435
  "date_of_birth",
454
436
  "firstName",
@@ -468,8 +450,8 @@ const Ue = /* @__PURE__ */ new Set([
468
450
  "address",
469
451
  "id"
470
452
  ]);
471
- function Ge(e) {
472
- return Ue.has(e);
453
+ function Ue(e) {
454
+ return He.has(e);
473
455
  }
474
456
  const L = {
475
457
  add_delay: {
@@ -500,27 +482,27 @@ const L = {
500
482
  labelKey: "workflow.action.webhook",
501
483
  iconName: "Globe"
502
484
  }
503
- }, Ye = {
504
- Clock: ce,
505
- Mail: le,
506
- Smartphone: ue,
507
- CheckSquare: ie,
508
- MessageCircle: de,
509
- UserCog: me,
485
+ }, Ge = {
486
+ Clock: ue,
487
+ Mail: ce,
488
+ Smartphone: fe,
489
+ CheckSquare: le,
490
+ MessageCircle: ie,
491
+ UserCog: de,
510
492
  Globe: ne
511
493
  };
512
494
  function Y({
513
495
  iconName: e,
514
496
  className: s
515
497
  }) {
516
- const r = Ye[e];
498
+ const r = Ge[e];
517
499
  return /* @__PURE__ */ t(r, { "aria-hidden": "true", className: s ?? "ds:size-4" });
518
500
  }
519
- const Je = 40, Qe = 60;
501
+ const Ye = 40, Je = 60;
520
502
  function te(e, s) {
521
503
  return e.length <= s ? e : `${e.slice(0, s - 1)}…`;
522
504
  }
523
- function Xe(e, s) {
505
+ function Qe(e, s) {
524
506
  switch (e.kind) {
525
507
  case "add_delay": {
526
508
  const r = e.days ?? 0, o = s("workflow.delay.summary", { count: r });
@@ -528,11 +510,11 @@ function Xe(e, s) {
528
510
  }
529
511
  case "send_email": {
530
512
  const r = e.subject ?? "", i = `${s("workflow.action.sendEmail")}: ${r}`;
531
- return { text: te(i, Je), full: i };
513
+ return { text: te(i, Ye), full: i };
532
514
  }
533
515
  case "send_sms": {
534
516
  const r = e.body ?? "";
535
- return { text: te(r, Qe), full: r };
517
+ return { text: te(r, Je), full: r };
536
518
  }
537
519
  case "create_task": {
538
520
  const r = e.title ?? "";
@@ -559,7 +541,7 @@ const se = [
559
541
  "ds:border-inline-start-[var(--border-width-hairline)]",
560
542
  "ds:border-solid",
561
543
  "ds:border-[color:var(--border)]"
562
- ].join(" "), Ze = [
544
+ ].join(" "), Xe = [
563
545
  "ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
564
546
  "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
565
547
  "ds:rounded-[var(--radius-full)]",
@@ -574,21 +556,21 @@ const se = [
574
556
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
575
557
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
576
558
  "ds:disabled:opacity-50 ds:disabled:cursor-not-allowed"
577
- ].join(" "), et = [
559
+ ].join(" "), Ze = [
578
560
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
579
561
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
580
562
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
581
563
  "ds:rounded-[var(--radius-lg)]"
582
- ].join(" "), tt = Object.keys(
564
+ ].join(" "), et = Object.keys(
583
565
  L
584
566
  );
585
567
  let re = 0;
586
- function st() {
568
+ function tt() {
587
569
  re += 1;
588
570
  const e = Math.random().toString(36).slice(2, 8);
589
571
  return `wf-node-${Date.now()}-${re}-${e}`;
590
572
  }
591
- function rt(e) {
573
+ function st(e) {
592
574
  switch (e) {
593
575
  case "add_delay":
594
576
  return { kind: "add_delay", days: 1 };
@@ -611,13 +593,13 @@ function rt(e) {
611
593
  return { kind: "webhook", url: "", method: "POST" };
612
594
  }
613
595
  }
614
- function ot(e = 0) {
615
- const s = j(e), r = $((o) => {
596
+ function rt(e = 0) {
597
+ const s = A(e), r = q((o) => {
616
598
  s.current = o;
617
599
  }, []);
618
600
  return [s, r];
619
601
  }
620
- function at({
602
+ function ot({
621
603
  node: e,
622
604
  position: s,
623
605
  total: r,
@@ -627,26 +609,26 @@ function at({
627
609
  onMove: a,
628
610
  registerRef: p
629
611
  }) {
630
- const { t: m } = S(), c = L[e.type], d = j(null), [l, v] = ot(0), h = $(
612
+ const { t: m } = S(), c = L[e.type], d = A(null), [l, v] = rt(0), h = q(
631
613
  (g) => {
632
- var P, q;
614
+ var P, R;
633
615
  const _ = (P = d.current) == null ? void 0 : P.querySelectorAll(
634
616
  "button[data-wf-control]:not([disabled])"
635
617
  );
636
618
  if (!_ || _.length === 0) return;
637
619
  const B = Math.max(0, Math.min(g, _.length - 1));
638
- (q = _[B]) == null || q.focus(), v(B);
620
+ (R = _[B]) == null || R.focus(), v(B);
639
621
  },
640
622
  [v]
641
623
  ), y = (g) => {
642
624
  g.target === g.currentTarget && (g.key === "ArrowRight" || g.key === "ArrowDown") && (g.preventDefault(), h(0));
643
625
  }, x = (g) => {
644
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));
645
- }, w = Xe(e.settings, m), b = 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", {
646
628
  current: s + 1,
647
629
  total: r
648
- }), T = m("workflow.editor.nodeAriaLabel", {
649
- type: b,
630
+ }), j = m("workflow.editor.nodeAriaLabel", {
631
+ type: k,
650
632
  current: s + 1,
651
633
  total: r
652
634
  });
@@ -658,9 +640,9 @@ function at({
658
640
  ref: (g) => p(e.id, g),
659
641
  tabIndex: o ? -1 : 0,
660
642
  onKeyDown: y,
661
- "aria-label": T,
643
+ "aria-label": j,
662
644
  "data-node-id": e.id,
663
- className: et,
645
+ className: Ze,
664
646
  children: /* @__PURE__ */ u(C, { variant: "outlined", children: [
665
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: [
666
648
  /* @__PURE__ */ t(
@@ -672,7 +654,7 @@ function at({
672
654
  }
673
655
  ),
674
656
  /* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
675
- /* @__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: b }),
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 }),
676
658
  /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[color:var(--muted-foreground)]", children: K })
677
659
  ] }),
678
660
  /* @__PURE__ */ u(
@@ -702,7 +684,7 @@ function at({
702
684
  icon: /* @__PURE__ */ t(Me, {}),
703
685
  size: "sm",
704
686
  intent: "ghost",
705
- disabled: o || !A,
687
+ disabled: o || !I,
706
688
  tabIndex: -1,
707
689
  "aria-label": m("workflow.editor.moveUp"),
708
690
  onClick: () => a(e.id, "up")
@@ -715,7 +697,7 @@ function at({
715
697
  icon: /* @__PURE__ */ t(Se, {}),
716
698
  size: "sm",
717
699
  intent: "ghost",
718
- disabled: o || !I,
700
+ disabled: o || !T,
719
701
  tabIndex: -1,
720
702
  "aria-label": m("workflow.editor.moveDown"),
721
703
  onClick: () => a(e.id, "down")
@@ -725,7 +707,7 @@ function at({
725
707
  M,
726
708
  {
727
709
  "data-wf-control": "delete",
728
- icon: /* @__PURE__ */ t(fe, {}),
710
+ icon: /* @__PURE__ */ t(me, {}),
729
711
  size: "sm",
730
712
  intent: "destructive",
731
713
  disabled: o,
@@ -746,7 +728,7 @@ function at({
746
728
  children: w.text
747
729
  }
748
730
  ) }) : null,
749
- e.settings.kind === "update_patient_field" && Ge(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
750
732
  ] })
751
733
  }
752
734
  )
@@ -767,7 +749,7 @@ function oe({
767
749
  type: "button",
768
750
  disabled: r,
769
751
  "aria-label": o,
770
- className: Ze,
752
+ className: Xe,
771
753
  children: [
772
754
  /* @__PURE__ */ t(ae, { "aria-hidden": "true", className: "ds:size-4" }),
773
755
  i ? null : /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)]", children: o })
@@ -791,7 +773,7 @@ function oe({
791
773
  ] })
792
774
  ] });
793
775
  }
794
- function nt({ criteria: e, onEdit: s, disabled: r }) {
776
+ function at({ criteria: e, onEdit: s, disabled: r }) {
795
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");
796
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: [
797
779
  /* @__PURE__ */ u("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
@@ -811,7 +793,7 @@ function nt({ criteria: e, onEdit: s, disabled: r }) {
811
793
  ) : null
812
794
  ] }) }) });
813
795
  }
814
- const dt = O(
796
+ const nt = H(
815
797
  function({
816
798
  graph: s,
817
799
  onChange: r,
@@ -823,51 +805,51 @@ const dt = O(
823
805
  onDeleteNode: m,
824
806
  className: c
825
807
  }, d) {
826
- const { t: l } = S(), v = a ?? tt, h = W(() => G(s), [s]), y = 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(
827
809
  (f) => {
828
810
  n || r(f);
829
811
  },
830
812
  [n, r]
831
- ), b = $((f, k) => {
832
- k ? y.current.set(f, k) : y.current.delete(f);
833
- }, []), [A, I] = ge(null), K = j(null);
834
- K.current = A;
835
- const T = j(null);
836
- ke(d, () => T.current, []);
837
- 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 = $(
838
820
  () => ({
839
821
  getTotalSteps: () => h.length,
840
822
  getCurrentStep: () => K.current,
841
823
  gotoStep: (f) => {
842
- const k = y.current.get(f);
843
- k && (k.focus(), I(f));
824
+ const b = y.current.get(f);
825
+ b && (b.focus(), T(f));
844
826
  }
845
827
  }),
846
828
  [h.length]
847
829
  );
848
- Ce(He, g, void 0), be(() => {
830
+ Ce(Ve, g, void 0), ke(() => {
849
831
  const f = x.current;
850
832
  if (!f) return;
851
- const k = y.current.get(f);
852
- k && (k.focus(), x.current = null);
833
+ const b = y.current.get(f);
834
+ b && (b.focus(), x.current = null);
853
835
  });
854
- const _ = (f, k) => {
836
+ const _ = (f, b) => {
855
837
  if (n) return;
856
- const R = {
857
- id: st(),
858
- type: k,
859
- settings: rt(k)
838
+ const W = {
839
+ id: tt(),
840
+ type: b,
841
+ settings: st(b)
860
842
  };
861
- x.current = R.id, w(H(s, f, R));
862
- }, B = (f, k) => {
863
- n || (x.current = f, w(Oe(s, f, k)));
843
+ x.current = W.id, w(O(s, f, W));
844
+ }, B = (f, b) => {
845
+ n || (x.current = f, w(Oe(s, f, b)));
864
846
  }, P = (f) => {
865
847
  n || !p || p(f);
866
- }, q = (f) => {
848
+ }, R = (f) => {
867
849
  n || !m || m(f);
868
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: [
869
851
  /* @__PURE__ */ t(
870
- nt,
852
+ at,
871
853
  {
872
854
  criteria: o,
873
855
  onEdit: i,
@@ -879,7 +861,7 @@ const dt = O(
879
861
  return X === 0 ? /* @__PURE__ */ u(
880
862
  "div",
881
863
  {
882
- ref: T,
864
+ ref: j,
883
865
  className: [se, c].filter(Boolean).join(" "),
884
866
  children: [
885
867
  J(),
@@ -945,13 +927,13 @@ const dt = O(
945
927
  /* @__PURE__ */ u(N.Content, { align: "center", sideOffset: 6, children: [
946
928
  /* @__PURE__ */ t(N.Label, { children: l("workflow.editor.addAction") }),
947
929
  v.map((f) => {
948
- const k = L[f];
930
+ const b = L[f];
949
931
  return /* @__PURE__ */ t(
950
932
  N.Item,
951
933
  {
952
- startIcon: /* @__PURE__ */ t(Y, { iconName: k.iconName }),
934
+ startIcon: /* @__PURE__ */ t(Y, { iconName: b.iconName }),
953
935
  onSelect: () => _(null, f),
954
- children: l(k.labelKey)
936
+ children: l(b.labelKey)
955
937
  },
956
938
  f
957
939
  );
@@ -966,7 +948,7 @@ const dt = O(
966
948
  ) : /* @__PURE__ */ u(
967
949
  "div",
968
950
  {
969
- ref: T,
951
+ ref: j,
970
952
  "data-component": "workflow-editor",
971
953
  className: [se, c].filter(Boolean).join(" "),
972
954
  children: [
@@ -987,19 +969,19 @@ const dt = O(
987
969
  role: "list",
988
970
  "aria-label": l("workflow.editor.pipeline"),
989
971
  className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col",
990
- 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: [
991
973
  /* @__PURE__ */ t("span", { "aria-hidden": "true", className: F }),
992
974
  /* @__PURE__ */ t(
993
- at,
975
+ ot,
994
976
  {
995
977
  node: f,
996
- position: k,
978
+ position: b,
997
979
  total: X,
998
980
  disabled: n,
999
981
  onEdit: p ? P : void 0,
1000
- onDelete: m ? q : void 0,
982
+ onDelete: m ? R : void 0,
1001
983
  onMove: B,
1002
- registerRef: b
984
+ registerRef: k
1003
985
  }
1004
986
  ),
1005
987
  /* @__PURE__ */ t("span", { "aria-hidden": "true", className: F }),
@@ -1009,7 +991,7 @@ const dt = O(
1009
991
  availableActions: v,
1010
992
  disabled: n,
1011
993
  label: l("workflow.editor.addActionAfter"),
1012
- onSelect: (R) => _(f.id, R)
994
+ onSelect: (W) => _(f.id, W)
1013
995
  }
1014
996
  ) })
1015
997
  ] }, f.id))
@@ -1020,16 +1002,16 @@ const dt = O(
1020
1002
  );
1021
1003
  }
1022
1004
  );
1023
- dt.displayName = "WorkflowEditor";
1024
- const it = {
1025
- Clock: ce,
1026
- Mail: le,
1027
- Smartphone: ue,
1028
- CheckSquare: ie,
1029
- MessageCircle: de,
1030
- 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,
1031
1013
  Globe: ne
1032
- }, lt = D(
1014
+ }, it = D(
1033
1015
  // The map is a list of steps — never a list of meaningful controls.
1034
1016
  // Layout via logical properties only; connectors are sibling spacers
1035
1017
  // styled with border-inline-start / border-block-end (see node/spacer).
@@ -1152,7 +1134,7 @@ const it = {
1152
1134
  ]
1153
1135
  }
1154
1136
  );
1155
- function ct(e) {
1137
+ function lt(e) {
1156
1138
  switch (e.kind) {
1157
1139
  case "add_delay":
1158
1140
  return typeof e.days == "number" && e.days > 0 ? {
@@ -1181,11 +1163,11 @@ function ct(e) {
1181
1163
  return;
1182
1164
  }
1183
1165
  }
1184
- function ut(e, s) {
1166
+ function ct(e, s) {
1185
1167
  if (e !== void 0)
1186
1168
  return typeof e == "string" ? e : s(e.key, e.options);
1187
1169
  }
1188
- const ft = O(
1170
+ const ut = H(
1189
1171
  function({
1190
1172
  graph: s,
1191
1173
  activeNodeId: r,
@@ -1197,7 +1179,7 @@ const ft = O(
1197
1179
  "aria-label": m,
1198
1180
  ...c
1199
1181
  }, d) {
1200
- const { t: l } = S(), v = W(() => G(s), [s]), h = W(
1182
+ const { t: l } = S(), v = $(() => G(s), [s]), h = $(
1201
1183
  () => r ? v.findIndex((w) => w.id === r) : -1,
1202
1184
  [v, r]
1203
1185
  ), y = m ?? l("workflow.map.label", { count: v.length }), x = (w) => h === -1 ? "neutral" : w === h ? "current" : w < h ? "completed" : "pending";
@@ -1211,27 +1193,27 @@ const ft = O(
1211
1193
  "aria-label": y,
1212
1194
  "data-component": "workflow-map",
1213
1195
  "data-component-id": c.id,
1214
- className: lt({ orientation: n, compact: a, className: p }),
1196
+ className: it({ orientation: n, compact: a, className: p }),
1215
1197
  ...c,
1216
1198
  children: [
1217
1199
  i ? /* @__PURE__ */ t(
1218
- pt,
1200
+ mt,
1219
1201
  {
1220
1202
  orientation: n,
1221
1203
  compact: a,
1222
1204
  criteria: i
1223
1205
  }
1224
1206
  ) : null,
1225
- v.map((w, b) => {
1226
- const A = x(b), I = b === v.length - 1;
1207
+ v.map((w, k) => {
1208
+ const I = x(k), T = k === v.length - 1;
1227
1209
  return /* @__PURE__ */ t(
1228
- mt,
1210
+ ft,
1229
1211
  {
1230
1212
  node: w,
1231
- state: A,
1213
+ state: I,
1232
1214
  orientation: n,
1233
1215
  compact: a,
1234
- isLast: I,
1216
+ isLast: T,
1235
1217
  onNodeClick: o
1236
1218
  },
1237
1219
  w.id
@@ -1243,8 +1225,8 @@ const ft = O(
1243
1225
  );
1244
1226
  }
1245
1227
  );
1246
- ft.displayName = "WorkflowMap";
1247
- function mt({
1228
+ ut.displayName = "WorkflowMap";
1229
+ function ft({
1248
1230
  node: e,
1249
1231
  state: s,
1250
1232
  orientation: r,
@@ -1252,10 +1234,10 @@ function mt({
1252
1234
  isLast: i,
1253
1235
  onNodeClick: n
1254
1236
  }) {
1255
- const { t: a } = S(), p = L[e.type], m = it[p.iconName], c = a(p.labelKey), d = ut(ct(e.settings), a), l = typeof n == "function", v = s === "current", h = s === "completed", y = (b) => {
1256
- l && (b.preventDefault(), n == null || n(e.id));
1257
- }, x = (b) => {
1258
- l && (b.key === "Enter" || b.key === " ") && (b.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));
1259
1241
  }, w = v ? a("workflow.map.current") : h ? a("workflow.map.completed") : s === "pending" ? a("workflow.map.pending") : null;
1260
1242
  return (
1261
1243
  // `<li>` has implicit role="listitem"; no explicit role needed.
@@ -1325,7 +1307,7 @@ function mt({
1325
1307
  ] })
1326
1308
  );
1327
1309
  }
1328
- function pt({
1310
+ function mt({
1329
1311
  orientation: e,
1330
1312
  compact: s,
1331
1313
  criteria: r
@@ -1370,18 +1352,18 @@ function pt({
1370
1352
  ] });
1371
1353
  }
1372
1354
  export {
1373
- Ue as C,
1374
- Ve as W,
1375
- dt as a,
1376
- ft as b,
1377
- H as c,
1378
- Wt as d,
1379
- He as e,
1380
- $t as f,
1381
- Ge 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,
1382
1364
  G as l,
1383
1365
  Oe as m,
1384
1366
  ee as r,
1385
1367
  L as w
1386
1368
  };
1387
- //# sourceMappingURL=workflow-map-Djn1QMJc.js.map
1369
+ //# sourceMappingURL=workflow-map-ZXw-zsZ8.js.map