@alfadocs/ui-kit 1.4.5 → 1.4.7

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 (266) hide show
  1. package/dist/_chunks/{actions-cell-renderer-Ceah0ywE.js → actions-cell-renderer-C67oj7mR.js} +6 -6
  2. package/dist/_chunks/{agenda-tray-CVf-jfWU.js → agenda-tray-CG6FuccE.js} +3 -3
  3. package/dist/_chunks/{ai-consent-banner-BUKKPDTg.js → ai-consent-banner-CpF_rbG9.js} +2 -2
  4. package/dist/_chunks/{ai-prompt-input-DziJCGLe.js → ai-prompt-input-BgAubYKd.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-DSBZMick.js → alia-sidebar-Bg53-ZOT.js} +7 -7
  6. package/dist/_chunks/{anamnesis-card-CJ5MNbkc.js → anamnesis-card-C4FVp9wO.js} +2 -2
  7. package/dist/_chunks/anamnesis-summary-card-BvaSnAbI.js +302 -0
  8. package/dist/_chunks/{anamnesis-i18n-BiZeub0o.js → anamnesis-summary-rows-D7v_JyGo.js} +2477 -2352
  9. package/dist/_chunks/{appointment-timeline-Bqf1sTU5.js → appointment-timeline-CUijZCxZ.js} +4 -4
  10. package/dist/_chunks/{appointment-tray-ezyCZN8v.js → appointment-tray-B1aUk46V.js} +3 -3
  11. package/dist/_chunks/{audio-recorder-BSuKNrmd.js → audio-recorder-nVRN4PSK.js} +3 -3
  12. package/dist/_chunks/{bishop-score-DDW5-gb9.js → bishop-score-Bpe20Ctl.js} +2 -2
  13. package/dist/_chunks/{bmi-calculator-CpyY13MV.js → bmi-calculator-DF5bNsDD.js} +2 -2
  14. package/dist/_chunks/{booking-BjsA7j1-.js → booking-BHziT711.js} +5 -5
  15. package/dist/_chunks/{button-CPGiR_bH.js → button-BvNtqHAS.js} +6 -2
  16. package/dist/_chunks/{button-group-DzV5wgnx.js → button-group-Be_In68J.js} +2 -2
  17. package/dist/_chunks/{care-plan-card-BvQy366X.js → care-plan-card-DiyK3Eys.js} +2 -2
  18. package/dist/_chunks/{care-plan-entry-card-apk_5B3O.js → care-plan-entry-card-6du8PYVk.js} +2 -2
  19. package/dist/_chunks/{care-plan-header-BXvRpGG8.js → care-plan-header-BWvDvly-.js} +2 -2
  20. package/dist/_chunks/{carousel.agent-CtAAdsAd.js → carousel.agent-pjORsMS8.js} +2 -2
  21. package/dist/_chunks/{chart-DR68TJD5.js → chart-Y-gso_Uz.js} +3 -3
  22. package/dist/_chunks/{chat-input-QpHxBEnN.js → chat-input-BqI9GXQh.js} +2 -2
  23. package/dist/_chunks/{chat-message-CdjWqZjo.js → chat-message-DHNUbjXA.js} +3 -3
  24. package/dist/_chunks/{code-block-BwanBjRh.js → code-block-BONe9fJi.js} +2 -2
  25. package/dist/_chunks/{connection-status-oEUyrvev.js → connection-status-Bi4Hwpd1.js} +3 -3
  26. package/dist/_chunks/{contact-profile-card-veMV3W4J.js → contact-profile-card-CGS_NABR.js} +2 -2
  27. package/dist/_chunks/{control-room-rail-CdfrZ6Vr.js → control-room-rail-DDyPDBji.js} +3 -3
  28. package/dist/_chunks/{copy-field-DBc9QquW.js → copy-field-B-DoMBH_.js} +2 -2
  29. package/dist/_chunks/{cycle-calculator-B7fyH-h4.js → cycle-calculator-Bd4_fJhq.js} +2 -2
  30. package/dist/_chunks/{dashboard-grid-D2dm0IRN.js → dashboard-grid-bd0QW2a8.js} +2 -2
  31. package/dist/_chunks/{data-table-tabs-BEUXiRlu.js → data-table-tabs-C8uDThT3.js} +3 -3
  32. package/dist/_chunks/{description-list-ClNLdRMy.js → description-list-Ck7fKdt5.js} +2 -2
  33. package/dist/_chunks/{document-preview-DOrsqiN1.js → document-preview-DuMzmupZ.js} +2 -2
  34. package/dist/_chunks/{document-scanner-D8ASqxif.js → document-scanner-qNZLhH_r.js} +2 -2
  35. package/dist/_chunks/{due-date-calculator-CnkbbAej.js → due-date-calculator-Do67C-Z-.js} +2 -2
  36. package/dist/_chunks/{editable-currency-cell-renderer-Uhzkd0ZP.js → editable-currency-cell-renderer-DyMbSyDK.js} +3 -3
  37. package/dist/_chunks/{editor-overlay-B1tr2i7B.js → editor-overlay-DE-gxj9L.js} +2 -2
  38. package/dist/_chunks/{empty-state-CrLsi0XI.js → empty-state-Df0tM6Kn.js} +2 -2
  39. package/dist/_chunks/{entity-summary-C6lL3seQ.js → entity-summary-DBOI5di6.js} +3 -3
  40. package/dist/_chunks/{face-scheme-C00IvkUA.js → face-scheme-D7Pub04e.js} +5 -5
  41. package/dist/_chunks/{fetal-weight-avlj-l-S.js → fetal-weight-DHxXx7Uz.js} +2 -2
  42. package/dist/_chunks/{field-array-DH3Mb1i8.js → field-array-BQFX5OYi.js} +3 -3
  43. package/dist/_chunks/{field-value-BRVbZJej.js → field-value-C5A4t4OE.js} +4 -4
  44. package/dist/_chunks/{file-manager-lNjcSXoD.js → file-manager-BY6FdHAt.js} +6 -6
  45. package/dist/_chunks/{finished-terminal-C0_mefrf.js → finished-terminal-BWNVh7Y8.js} +2 -2
  46. package/dist/_chunks/{fiscal-code-input-QP9gkyDE.js → fiscal-code-input-Nx1N9r72.js} +2 -2
  47. package/dist/_chunks/{freemium-paywall-DRDdWuOg.js → freemium-paywall-HG3pFvMp.js} +2 -2
  48. package/dist/_chunks/{gestational-age-calculator-BljY_DVJ.js → gestational-age-calculator-CMhOtFE_.js} +2 -2
  49. package/dist/_chunks/{hcg-doubling-Cv_vH61p.js → hcg-doubling-DNG9Q2go.js} +2 -2
  50. package/dist/_chunks/{header-CjwasYnn.js → header-CimZS-J9.js} +2 -2
  51. package/dist/_chunks/{header-settings-Cn5fPXCE.js → header-settings-C0zHLXJE.js} +4 -4
  52. package/dist/_chunks/{icon-button-C_kbcd7I.js → icon-button-9c9Gp41m.js} +2 -2
  53. package/dist/_chunks/{icon-button-group-BLHPN6jg.js → icon-button-group-DrvuWPGJ.js} +2 -2
  54. package/dist/_chunks/{icon-picker-CM9ubkew.js → icon-picker-DXV3sDp1.js} +3 -3
  55. package/dist/_chunks/{image-cropper-DKe4AORY.js → image-cropper-DWSnyLwW.js} +2 -2
  56. package/dist/_chunks/{info-tip-Bxk3w6UM.js → info-tip-C4mPSJbS.js} +2 -2
  57. package/dist/_chunks/{insert-result-D074GtHX.js → insert-result-98J1QEp7.js} +2 -2
  58. package/dist/_chunks/{key-value-pair-LHKfDT_9.js → key-value-pair-DGkGlgCF.js} +2 -2
  59. package/dist/_chunks/{link-cell-renderer-CJ_gk7gl.js → link-cell-renderer-DIKlJhEq.js} +2 -2
  60. package/dist/_chunks/{locale-picker-D9Kv2zrK.js → locale-picker-sI0HWgZy.js} +3 -3
  61. package/dist/_chunks/{map-view-2yZCQW2l.js → map-view-iwSDRW3t.js} +2 -2
  62. package/dist/_chunks/{marketplace-app-shell-BLRvg-M0.js → marketplace-app-shell-BxOiy25s.js} +4 -4
  63. package/dist/_chunks/{message-card-ievotOFa.js → message-card-BCJ-Jgs6.js} +3 -3
  64. package/dist/_chunks/{message-tray-BFlu8clI.js → message-tray-DHtm_WaF.js} +4 -4
  65. package/dist/_chunks/{notes-panel-CiFN3sLW.js → notes-panel-BoyzMHI_.js} +3 -3
  66. package/dist/_chunks/{notification-card-D29_sVA1.js → notification-card-CcMQn2RX.js} +3 -3
  67. package/dist/_chunks/{notification-tray-CzIzz3bX.js → notification-tray-nr7dv-Q8.js} +4 -4
  68. package/dist/_chunks/{optical-prescription-CRemE8fL.js → optical-prescription-Brs0CeP3.js} +2 -2
  69. package/dist/_chunks/{patient-details-CpunD0qx.js → patient-details-Bf4iTAPp.js} +5 -5
  70. package/dist/_chunks/{patient-search-yG0UaCpQ.js → patient-search-NQemeJlL.js} +2 -2
  71. package/dist/_chunks/{patient-summary-card-C-iVDo53.js → patient-summary-card-dkV6a53T.js} +3 -3
  72. package/dist/_chunks/{patient-table-2eWx-Rrk.js → patient-table-DQKcWowi.js} +3 -3
  73. package/dist/_chunks/{payment-automation-upsell-D_x880pr.js → payment-automation-upsell-CZZPGfs0.js} +2 -2
  74. package/dist/_chunks/{payment-request-card-CN30J6yM.js → payment-request-card-Dy7_DA-2.js} +3 -3
  75. package/dist/_chunks/{periodontal-chart-CYBhr9vc.js → periodontal-chart-CfFgKXWa.js} +2 -2
  76. package/dist/_chunks/{periodontal-chart-card-WVjJAheq.js → periodontal-chart-card--6yTUsrQ.js} +2 -2
  77. package/dist/_chunks/{popover-Cc0a69sw.js → popover-Btj6N25H.js} +2 -2
  78. package/dist/_chunks/{practice-results-SjCniMd2.js → practice-results-Mys11x9p.js} +5 -5
  79. package/dist/_chunks/{pregnancy-dating-BmpHScZ0.js → pregnancy-dating-t3oM4ZzC.js} +2 -2
  80. package/dist/_chunks/{pregnancy-weight-gain-B5KSJzdc.js → pregnancy-weight-gain-Bfz7SbIw.js} +2 -2
  81. package/dist/_chunks/{privacy-lock-YYBiI_bY.js → privacy-lock-SQYFRSuH.js} +3 -3
  82. package/dist/_chunks/{product-hub-panel-CTld1r5V.js → product-hub-panel-BjnD9pdl.js} +3 -3
  83. package/dist/_chunks/{public-header.agent-_8W9biCO.js → public-header.agent-DseNK2NQ.js} +3 -3
  84. package/dist/_chunks/{radiograph-panel.agent-CtFtNMzk.js → radiograph-panel.agent-DyA4wsZA.js} +4 -4
  85. package/dist/_chunks/{reviews-panel-tZlWiUBl.js → reviews-panel-Cd3SxJdW.js} +4 -4
  86. package/dist/_chunks/{rich-text-editor-BedTpWzL.js → rich-text-editor-DGtn_4sb.js} +5 -5
  87. package/dist/_chunks/{session-countdown-BL-Psg8u.js → session-countdown-q4r5TlCo.js} +2 -2
  88. package/dist/_chunks/{sheet-D5K0LB3q.js → sheet-CD99CdXr.js} +2 -2
  89. package/dist/_chunks/{sign-in-with-alfadocs-button-UlYefZpI.js → sign-in-with-alfadocs-button-_JxVRO5d.js} +2 -2
  90. package/dist/_chunks/{signature-request-CrRj64Nz.js → signature-request-C4UBfVRZ.js} +33 -33
  91. package/dist/_chunks/{slot-grid-DNiUcXy2.js → slot-grid-P_e9p5t5.js} +4 -4
  92. package/dist/_chunks/{streaming-text-C5bYz7LL.js → streaming-text-BuW7I0Zu.js} +2 -2
  93. package/dist/_chunks/{task-tray-CLIqIXUZ.js → task-tray-BT288xoM.js} +3 -3
  94. package/dist/_chunks/{tasks-panel-CjGAhIN8.js → tasks-panel-CoESdfZI.js} +5 -5
  95. package/dist/_chunks/{theme-toggle-B4mOrQX1.js → theme-toggle-Bi-CmV6M.js} +3 -3
  96. package/dist/_chunks/{toast.agent-Iw2jWdce.js → toast.agent-C44mtGrW.js} +2 -2
  97. package/dist/_chunks/{token-insert-menu-BYv6yoZI.js → token-insert-menu-D8FgXl33.js} +2 -2
  98. package/dist/_chunks/{tool-rail-AaTqxkIM.js → tool-rail-BF3F2Ihq.js} +2 -2
  99. package/dist/_chunks/{tooth-scheme-BzJ6rcte.js → tooth-scheme-s0ipC0-Z.js} +3 -3
  100. package/dist/_chunks/{unit-converter-CHPDuV7W.js → unit-converter-lUW9Q888.js} +2 -2
  101. package/dist/_chunks/{warning-stack-B7t_8jRE.js → warning-stack-nczJf52p.js} +3 -3
  102. package/dist/_chunks/{workflow-map-BVMeVHkV.js → workflow-map-C5PGP6cD.js} +5 -5
  103. package/dist/agent-catalog.json +31 -1
  104. package/dist/agent-i18n/en.json +5 -0
  105. package/dist/components/agenda-tray/index.js +1 -1
  106. package/dist/components/ai-consent-banner/index.js +1 -1
  107. package/dist/components/ai-prompt-input/index.js +1 -1
  108. package/dist/components/anamnesis-card/index.js +1 -1
  109. package/dist/components/anamnesis-summary-card/anamnesis-summary-card.agent.d.ts +4 -0
  110. package/dist/components/anamnesis-summary-card/anamnesis-summary-card.d.ts +69 -0
  111. package/dist/components/anamnesis-summary-card/index.d.ts +4 -0
  112. package/dist/components/anamnesis-summary-card/index.js +6 -0
  113. package/dist/components/appointment-card/index.js +1 -1
  114. package/dist/components/appointment-timeline/index.js +1 -1
  115. package/dist/components/audio-recorder/index.js +1 -1
  116. package/dist/components/bishop-score/index.js +1 -1
  117. package/dist/components/bmi-calculator/index.js +1 -1
  118. package/dist/components/booking/index.js +1 -1
  119. package/dist/components/button/index.js +2 -2
  120. package/dist/components/button-group/index.js +1 -1
  121. package/dist/components/care-plan-card/index.js +1 -1
  122. package/dist/components/care-plan-entry-card/index.js +1 -1
  123. package/dist/components/care-plan-header/index.js +1 -1
  124. package/dist/components/carousel/index.js +1 -1
  125. package/dist/components/chart/index.js +1 -1
  126. package/dist/components/chat-input/index.js +1 -1
  127. package/dist/components/chat-message/index.js +1 -1
  128. package/dist/components/connection-status/index.js +1 -1
  129. package/dist/components/contact-profile-card/index.js +1 -1
  130. package/dist/components/control-room-rail/index.js +1 -1
  131. package/dist/components/copy-field/index.js +1 -1
  132. package/dist/components/cycle-calculator/index.js +1 -1
  133. package/dist/components/dashboard-grid/index.js +1 -1
  134. package/dist/components/data-table/index.js +3 -3
  135. package/dist/components/data-table-tabs/index.js +1 -1
  136. package/dist/components/description-list/index.js +1 -1
  137. package/dist/components/document-preview/index.js +1 -1
  138. package/dist/components/document-scanner/index.js +1 -1
  139. package/dist/components/due-date-calculator/index.js +1 -1
  140. package/dist/components/editor-overlay/index.js +1 -1
  141. package/dist/components/empty-state/index.js +1 -1
  142. package/dist/components/entity-summary/index.js +1 -1
  143. package/dist/components/face-scheme/index.js +1 -1
  144. package/dist/components/fetal-weight/index.js +1 -1
  145. package/dist/components/field-array/index.js +1 -1
  146. package/dist/components/file-manager/index.js +1 -1
  147. package/dist/components/finished-terminal/index.js +1 -1
  148. package/dist/components/fiscal-code-input/index.js +1 -1
  149. package/dist/components/freemium-paywall/index.js +1 -1
  150. package/dist/components/gestational-age-calculator/index.js +1 -1
  151. package/dist/components/hcg-doubling/index.js +1 -1
  152. package/dist/components/header/index.js +1 -1
  153. package/dist/components/header-settings/index.js +1 -1
  154. package/dist/components/icon-button/index.js +1 -1
  155. package/dist/components/icon-button-group/index.js +1 -1
  156. package/dist/components/icon-picker/index.js +1 -1
  157. package/dist/components/image-cropper/index.js +1 -1
  158. package/dist/components/index.d.ts +1 -0
  159. package/dist/components/info-tip/index.js +1 -1
  160. package/dist/components/key-value-pair/index.js +1 -1
  161. package/dist/components/locale-picker/index.js +1 -1
  162. package/dist/components/map-view/index.js +1 -1
  163. package/dist/components/message-card/index.js +1 -1
  164. package/dist/components/message-tray/index.js +1 -1
  165. package/dist/components/notes-panel/index.js +1 -1
  166. package/dist/components/notification-card/index.js +1 -1
  167. package/dist/components/notification-tray/index.js +1 -1
  168. package/dist/components/optical-prescription/index.js +1 -1
  169. package/dist/components/patient-details/index.js +1 -1
  170. package/dist/components/patient-search/index.js +1 -1
  171. package/dist/components/patient-summary-card/index.js +1 -1
  172. package/dist/components/patient-table/index.js +1 -1
  173. package/dist/components/payment-card/index.js +1 -1
  174. package/dist/components/periodontal-chart/index.js +1 -1
  175. package/dist/components/periodontal-chart-card/index.js +1 -1
  176. package/dist/components/popover/index.js +1 -1
  177. package/dist/components/practice-results/index.js +1 -1
  178. package/dist/components/pregnancy-dating/index.js +1 -1
  179. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  180. package/dist/components/privacy-lock/index.js +1 -1
  181. package/dist/components/product-hub-tray/index.js +1 -1
  182. package/dist/components/public-header/index.js +1 -1
  183. package/dist/components/radiograph-panel/index.js +1 -1
  184. package/dist/components/reviews-panel/index.js +1 -1
  185. package/dist/components/rich-text-editor/index.js +1 -1
  186. package/dist/components/session-countdown/index.js +1 -1
  187. package/dist/components/sheet/index.js +1 -1
  188. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  189. package/dist/components/slot-grid/index.js +1 -1
  190. package/dist/components/streaming-text/index.js +1 -1
  191. package/dist/components/task-tray/index.js +1 -1
  192. package/dist/components/tasks-panel/index.js +1 -1
  193. package/dist/components/theme-toggle/index.js +1 -1
  194. package/dist/components/toast/index.js +1 -1
  195. package/dist/components/token-insert-menu/index.js +1 -1
  196. package/dist/components/tool-rail/index.js +1 -1
  197. package/dist/components/tooth-scheme/index.js +1 -1
  198. package/dist/components/unit-converter/index.js +1 -1
  199. package/dist/components/warning-stack/index.js +1 -1
  200. package/dist/components/workflow/index.js +1 -1
  201. package/dist/i18n/locales/ar.d.ts +20 -0
  202. package/dist/i18n/locales/ar.js +20 -0
  203. package/dist/i18n/locales/de.d.ts +20 -0
  204. package/dist/i18n/locales/de.js +20 -0
  205. package/dist/i18n/locales/el.d.ts +20 -0
  206. package/dist/i18n/locales/el.js +20 -0
  207. package/dist/i18n/locales/en.d.ts +20 -0
  208. package/dist/i18n/locales/en.js +20 -0
  209. package/dist/i18n/locales/es.d.ts +20 -0
  210. package/dist/i18n/locales/es.js +20 -0
  211. package/dist/i18n/locales/fr.d.ts +20 -0
  212. package/dist/i18n/locales/fr.js +20 -0
  213. package/dist/i18n/locales/hi.d.ts +20 -0
  214. package/dist/i18n/locales/hi.js +20 -0
  215. package/dist/i18n/locales/it.d.ts +20 -0
  216. package/dist/i18n/locales/it.js +20 -0
  217. package/dist/i18n/locales/ja.d.ts +20 -0
  218. package/dist/i18n/locales/ja.js +20 -0
  219. package/dist/i18n/locales/nl.d.ts +20 -0
  220. package/dist/i18n/locales/nl.js +20 -0
  221. package/dist/i18n/locales/pl.d.ts +20 -0
  222. package/dist/i18n/locales/pl.js +20 -0
  223. package/dist/i18n/locales/pt.d.ts +20 -0
  224. package/dist/i18n/locales/pt.js +20 -0
  225. package/dist/i18n/locales/ro.d.ts +20 -0
  226. package/dist/i18n/locales/ro.js +20 -0
  227. package/dist/i18n/locales/ru.d.ts +20 -0
  228. package/dist/i18n/locales/ru.js +20 -0
  229. package/dist/i18n/locales/sq.d.ts +20 -0
  230. package/dist/i18n/locales/sq.js +20 -0
  231. package/dist/i18n/locales/sv.d.ts +20 -0
  232. package/dist/i18n/locales/sv.js +20 -0
  233. package/dist/i18n/locales/tr.d.ts +20 -0
  234. package/dist/i18n/locales/tr.js +20 -0
  235. package/dist/i18n/locales/zh.d.ts +20 -0
  236. package/dist/i18n/locales/zh.js +20 -0
  237. package/dist/index.js +339 -335
  238. package/dist/locales/ar.json +20 -0
  239. package/dist/locales/de.json +20 -0
  240. package/dist/locales/el.json +20 -0
  241. package/dist/locales/en.json +20 -0
  242. package/dist/locales/es.json +20 -0
  243. package/dist/locales/fr.json +20 -0
  244. package/dist/locales/hi.json +20 -0
  245. package/dist/locales/it.json +20 -0
  246. package/dist/locales/ja.json +20 -0
  247. package/dist/locales/nl.json +20 -0
  248. package/dist/locales/pl.json +20 -0
  249. package/dist/locales/pt.json +20 -0
  250. package/dist/locales/ro.json +20 -0
  251. package/dist/locales/ru.json +20 -0
  252. package/dist/locales/sq.json +20 -0
  253. package/dist/locales/sv.json +20 -0
  254. package/dist/locales/tr.json +20 -0
  255. package/dist/locales/zh.json +20 -0
  256. package/dist/patterns/alia-assistant/index.js +1 -1
  257. package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts +6 -1
  258. package/dist/patterns/anamnesis/anamnesis-summary-rows.d.ts +32 -0
  259. package/dist/patterns/anamnesis/anamnesis.d.ts +20 -1
  260. package/dist/patterns/anamnesis/index.d.ts +2 -1
  261. package/dist/patterns/anamnesis/index.js +15 -14
  262. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  263. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  264. package/dist/patterns/signature-request/index.js +1 -1
  265. package/dist/tokens.css +1 -1
  266. package/package.json +5 -1
@@ -1,15 +1,15 @@
1
1
  import { jsx as n, jsxs as O } from "react/jsx-runtime";
2
2
  import { useMemo as $, forwardRef as P, useState as k, useCallback as A, useEffect as q, useRef as se, createContext as Ce, useContext as Se, isValidElement as we, cloneElement as Ne, useImperativeHandle as ot } from "react";
3
3
  import { S as it } from "./skeleton-CZbwyJAA.js";
4
- import { E as st } from "./empty-state-CrLsi0XI.js";
4
+ import { E as st } from "./empty-state-Df0tM6Kn.js";
5
5
  import { c as lt } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as w } from "react-i18next";
7
7
  import { useGridFilter as dt, AgGridReact as ct } from "ag-grid-react";
8
8
  import { ModuleRegistry as ut, AllCommunityModule as pt } from "ag-grid-community";
9
- import { I as Ie } from "./icon-button-group-BLHPN6jg.js";
10
- import { B as X } from "./button-CPGiR_bH.js";
11
- import { I as L } from "./icon-button-C_kbcd7I.js";
12
- import { P as Z } from "./popover-Cc0a69sw.js";
9
+ import { I as Ie } from "./icon-button-group-DrvuWPGJ.js";
10
+ import { B as X } from "./button-BvNtqHAS.js";
11
+ import { I as L } from "./icon-button-9c9Gp41m.js";
12
+ import { P as Z } from "./popover-Btj6N25H.js";
13
13
  import { C as mt } from "./checkbox-BuZ1u__2.js";
14
14
  import { T as le } from "./text-input-CUvCb6ST.js";
15
15
  import { T as ye } from "./tag-3wgkwwDB.js";
@@ -1578,4 +1578,4 @@ export {
1578
1578
  Kt as e,
1579
1579
  Oe as f
1580
1580
  };
1581
- //# sourceMappingURL=actions-cell-renderer-Ceah0ywE.js.map
1581
+ //# sourceMappingURL=actions-cell-renderer-C67oj7mR.js.map
@@ -2,9 +2,9 @@ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useRef as T, useImperativeHandle as q, useMemo as B } from "react";
3
3
  import { c as H } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as K } from "react-i18next";
5
- import { I as M } from "./icon-button-C_kbcd7I.js";
5
+ import { I as M } from "./icon-button-9c9Gp41m.js";
6
6
  import { S as A } from "./skeleton-CZbwyJAA.js";
7
- import { E as D } from "./empty-state-CrLsi0XI.js";
7
+ import { E as D } from "./empty-state-Df0tM6Kn.js";
8
8
  import { A as V } from "./agenda-card-BCGaQazD.js";
9
9
  import { u as F } from "./registry-DvAUVLHh.js";
10
10
  import { C as G } from "./calendar-days-BGWklvE-.js";
@@ -212,4 +212,4 @@ export {
212
212
  U as A,
213
213
  L as a
214
214
  };
215
- //# sourceMappingURL=agenda-tray-CVf-jfWU.js.map
215
+ //# sourceMappingURL=agenda-tray-CG6FuccE.js.map
@@ -4,7 +4,7 @@ import { c as L } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as R } from "react-i18next";
5
5
  import { A as d } from "./alert-CiJT540z.js";
6
6
  import { B as w } from "./badge-DCOqV9mI.js";
7
- import { B as T } from "./button-CPGiR_bH.js";
7
+ import { B as T } from "./button-BvNtqHAS.js";
8
8
  import { C as V } from "./checkbox-BuZ1u__2.js";
9
9
  import { S as j } from "./spinner-hbwuKwMf.js";
10
10
  import { T as z } from "./timestamp-BV2lC-wV.js";
@@ -167,4 +167,4 @@ export {
167
167
  P as A,
168
168
  K as a
169
169
  };
170
- //# sourceMappingURL=ai-consent-banner-BUKKPDTg.js.map
170
+ //# sourceMappingURL=ai-consent-banner-CpF_rbG9.js.map
@@ -7,7 +7,7 @@ import { u as Oe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
7
7
  import { u as Re } from "./registry-DvAUVLHh.js";
8
8
  import { _ as g } from "./index-4xgbg-sn.js";
9
9
  import { u as De } from "./index-BcMWc8W2.js";
10
- import { I as te } from "./icon-button-C_kbcd7I.js";
10
+ import { I as te } from "./icon-button-9c9Gp41m.js";
11
11
  import { S as We } from "./select-BW5ecXlX.js";
12
12
  import { S as _e } from "./send-C5kDJ-Mz.js";
13
13
  import { X as Ae } from "./x-B5YnXwCz.js";
@@ -497,4 +497,4 @@ export {
497
497
  Ze as A,
498
498
  Le as a
499
499
  };
500
- //# sourceMappingURL=ai-prompt-input-DziJCGLe.js.map
500
+ //# sourceMappingURL=ai-prompt-input-BgAubYKd.js.map
@@ -3,16 +3,16 @@ import { useId as Se, forwardRef as O, useState as L, useMemo as G, useCallback
3
3
  import * as Te from "@radix-ui/react-dialog";
4
4
  import { useTranslation as x } from "react-i18next";
5
5
  import { F as Ee } from "./floating-action-button-pojvb9gG.js";
6
- import { I as w } from "./icon-button-C_kbcd7I.js";
7
- import { S as Z } from "./sheet-D5K0LB3q.js";
6
+ import { I as w } from "./icon-button-9c9Gp41m.js";
7
+ import { S as Z } from "./sheet-CD99CdXr.js";
8
8
  import { X as te } from "./x-B5YnXwCz.js";
9
9
  import { A as _e } from "./astroid-BN4f5VXU.js";
10
10
  import { A as $ } from "./avatar-BNQNhoyL.js";
11
- import { B as S } from "./button-CPGiR_bH.js";
11
+ import { B as S } from "./button-BvNtqHAS.js";
12
12
  import { C as Re } from "./chat-container-CYYego1W.js";
13
- import { C as Pe } from "./chat-message-CdjWqZjo.js";
14
- import { C as ne, P as Be } from "./chat-input-QpHxBEnN.js";
15
- import { S as Ue } from "./streaming-text-C5bYz7LL.js";
13
+ import { C as Pe } from "./chat-message-DHNUbjXA.js";
14
+ import { C as ne, P as Be } from "./chat-input-BqI9GXQh.js";
15
+ import { S as Ue } from "./streaming-text-BuW7I0Zu.js";
16
16
  import { a as le, S as oe } from "./suggestion-chip-Bk4PmYTg.js";
17
17
  import { T as Oe } from "./typing-indicator-DHeVN4ob.js";
18
18
  import { P as $e } from "./progress-CK8otcQ-.js";
@@ -1180,4 +1180,4 @@ export {
1180
1180
  hs as b,
1181
1181
  xs as c
1182
1182
  };
1183
- //# sourceMappingURL=alia-sidebar-DSBZMick.js.map
1183
+ //# sourceMappingURL=alia-sidebar-Bg53-ZOT.js.map
@@ -5,7 +5,7 @@ import { useTranslation as z } from "react-i18next";
5
5
  import { B as n } from "./badge-DCOqV9mI.js";
6
6
  import { C as N } from "./card-DPmk26CL.js";
7
7
  import { A as G, b as O, c as Q, a as S } from "./accordion-C11v9ouP.js";
8
- import { D as t } from "./description-list-ClNLdRMy.js";
8
+ import { D as t } from "./description-list-Ck7fKdt5.js";
9
9
  import { T as w } from "./timestamp-BV2lC-wV.js";
10
10
  import { T as y } from "./triangle-alert-CBnO6nq_.js";
11
11
  const H = q("ds:w-full ds:text-[color:var(--foreground)]", {
@@ -153,4 +153,4 @@ J.displayName = "AnamnesisCard";
153
153
  export {
154
154
  J as A
155
155
  };
156
- //# sourceMappingURL=anamnesis-card-CJ5MNbkc.js.map
156
+ //# sourceMappingURL=anamnesis-card-C4FVp9wO.js.map
@@ -0,0 +1,302 @@
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { forwardRef as W, useId as Y, useMemo as L, useImperativeHandle as J } from "react";
3
+ import { c as h } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Q } from "react-i18next";
5
+ import { B as A } from "./badge-DCOqV9mI.js";
6
+ import { C as f } from "./card-DPmk26CL.js";
7
+ import { K as X, a as Z } from "./key-value-pair-DGkGlgCF.js";
8
+ import { S as w } from "./skeleton-CZbwyJAA.js";
9
+ import { a as ee, T as ae } from "./tooltip-DvmfrNvB.js";
10
+ import { u as se } from "./registry-DvAUVLHh.js";
11
+ import { H as _ } from "./heart-pulse-BCppJyN2.js";
12
+ const te = {
13
+ id: "anamnesis-summary-card",
14
+ // The card is read-only: the only handle method is a getSummary
15
+ // projection, so there is no capability to declare.
16
+ capabilities: [],
17
+ state: {
18
+ summary: {
19
+ type: "{ id?: string; sectionCount: number; answerCount: number; highlightedCount: number; unansweredCount: number }",
20
+ descriptionKey: "ui.agent.anamnesisSummaryCard.state.summary",
21
+ description: "Structural summary of the anamnesis card — section, answer, highlighted and unanswered counts plus the consumer id. Never question labels or answer values.",
22
+ read: (r) => r.getSummary()
23
+ }
24
+ },
25
+ actions: {},
26
+ domHooks: {
27
+ root: {
28
+ attr: "data-component",
29
+ value: "anamnesis-summary-card",
30
+ description: "Marks the AnamnesisSummaryCard root region."
31
+ },
32
+ instanceId: {
33
+ attr: "data-component-id",
34
+ sourceProp: "id",
35
+ description: "Sourced from the id prop."
36
+ },
37
+ item: {
38
+ attr: "data-answer-id",
39
+ description: "One per answer row (KeyValuePair); the value is the intake field key. Highlighted rows also carry data-highlighted."
40
+ }
41
+ }
42
+ }, re = h("ds:w-full ds:text-[color:var(--foreground)]", {
43
+ variants: {
44
+ // Same `surface` vocabulary as PatientSummaryCard / ContactProfileCard.
45
+ // Both surfaces keep the Card chrome — `flat` only drops the shadow.
46
+ surface: {
47
+ flat: "",
48
+ elevated: ""
49
+ },
50
+ density: {
51
+ comfortable: "",
52
+ compact: ""
53
+ }
54
+ },
55
+ defaultVariants: {
56
+ surface: "elevated",
57
+ density: "comfortable"
58
+ }
59
+ }), ne = h("ds:flex ds:flex-col", {
60
+ variants: {
61
+ density: {
62
+ comfortable: "ds:gap-[var(--spacing-lg)]",
63
+ compact: "ds:gap-[var(--spacing-md)]"
64
+ }
65
+ },
66
+ defaultVariants: { density: "comfortable" }
67
+ }), de = h("", {
68
+ variants: {
69
+ density: {
70
+ comfortable: "",
71
+ compact: "ds:p-[var(--spacing-sm)] ds:pb-0"
72
+ }
73
+ },
74
+ defaultVariants: { density: "comfortable" }
75
+ }), ie = h("", {
76
+ variants: {
77
+ density: {
78
+ comfortable: "",
79
+ compact: "ds:p-[var(--spacing-sm)]"
80
+ }
81
+ },
82
+ defaultVariants: { density: "comfortable" }
83
+ }), oe = h("", {
84
+ variants: {
85
+ density: {
86
+ comfortable: "",
87
+ compact: "ds:p-[var(--spacing-sm)] ds:pt-0"
88
+ }
89
+ },
90
+ defaultVariants: { density: "comfortable" }
91
+ }), le = /^(\d{4})-(\d{2})-(\d{2})$/, ce = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/, me = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}/;
92
+ function ue(r) {
93
+ const d = le.exec(r);
94
+ if (d)
95
+ return {
96
+ date: new Date(Number(d[1]), Number(d[2]) - 1, Number(d[3])),
97
+ hasTime: !1
98
+ };
99
+ const t = ce.exec(r);
100
+ if (t)
101
+ return {
102
+ date: new Date(
103
+ Number(t[1]),
104
+ Number(t[2]) - 1,
105
+ Number(t[3]),
106
+ Number(t[4]),
107
+ Number(t[5]),
108
+ t[6] ? Number(t[6]) : 0
109
+ ),
110
+ hasTime: !0
111
+ };
112
+ const n = new Date(r);
113
+ return Number.isNaN(n.getTime()) ? null : { date: n, hasTime: me.test(r) };
114
+ }
115
+ function he(r, d) {
116
+ const t = ue(r);
117
+ if (!t) return null;
118
+ const n = t.hasTime ? { dateStyle: "medium", timeStyle: "short" } : { dateStyle: "medium" };
119
+ try {
120
+ return new Intl.DateTimeFormat(d, n).format(t.date);
121
+ } catch {
122
+ return new Intl.DateTimeFormat(void 0, n).format(t.date);
123
+ }
124
+ }
125
+ const pe = "ds:border-s-2 ds:border-[color:var(--accent)] ds:ps-[var(--spacing-sm)] ds:bg-[color:color-mix(in_srgb,var(--accent)_6%,transparent)]", ge = 'ds:relative ds:inline-flex ds:appearance-none ds:border-0 ds:bg-transparent ds:p-0 ds:m-0 ds:cursor-default ds:rounded-[var(--radius-full)] ds:before:absolute ds:before:content-[""] ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:sm:before:inset-x-[calc((var(--spacing-lg)-100%)/-2)] ds:sm:before:inset-y-[calc((var(--spacing-lg)-100%)/-2)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]', v = "type-body-sm ds:m-0 ds:text-[color:var(--muted-foreground)]", fe = W(
126
+ ({
127
+ sections: r,
128
+ title: d,
129
+ subtitle: t,
130
+ unansweredCount: n = 0,
131
+ locale: I,
132
+ highlightedFirst: y = !0,
133
+ surface: N = "elevated",
134
+ density: i = "comfortable",
135
+ loading: p = !1,
136
+ actionSlot: x,
137
+ id: c,
138
+ className: H,
139
+ "aria-label": E,
140
+ ...D
141
+ }, P) => {
142
+ const { t: o, i18n: k } = Q(), O = Y(), R = I ?? k.language ?? "en", m = L(
143
+ () => r.filter((s) => s.answers.length > 0).map((s) => ({
144
+ ...s,
145
+ answers: y ? [...s.answers].sort(
146
+ (a, u) => +!!u.highlighted - +!!a.highlighted
147
+ ) : s.answers
148
+ })),
149
+ [r, y]
150
+ ), C = m.reduce(
151
+ (s, a) => s + a.answers.length,
152
+ 0
153
+ ), g = m.reduce(
154
+ (s, a) => s + a.answers.filter((u) => u.highlighted).length,
155
+ 0
156
+ ), S = m.length, b = L(
157
+ () => ({
158
+ getSummary: () => ({
159
+ id: c,
160
+ sectionCount: S,
161
+ answerCount: C,
162
+ highlightedCount: g,
163
+ unansweredCount: n
164
+ })
165
+ }),
166
+ [c, S, C, g, n]
167
+ );
168
+ J(P, () => b, [b]), se(te, b, c);
169
+ const B = o("anamnesisSummaryCard.regionLabel", {
170
+ defaultValue: "Anamnesis summary"
171
+ }), T = d ?? B, K = E ?? T, V = o("anamnesisSummaryCard.highlighted", {
172
+ defaultValue: "Highlighted"
173
+ }), M = i === "comfortable" ? "type-title-card" : "type-title-item", $ = i === "comfortable" ? "md" : "sm", z = (s) => {
174
+ const a = s.reportedAtIso ? he(s.reportedAtIso, R) : null, u = a && s.sourceLabel ? o("anamnesisSummaryCard.reportedOnFrom", {
175
+ date: a,
176
+ source: s.sourceLabel,
177
+ defaultValue: "Highlighted on {{date}} · {{source}}"
178
+ }) : a ? o("anamnesisSummaryCard.reportedOn", {
179
+ date: a,
180
+ defaultValue: "Highlighted on {{date}}"
181
+ }) : V;
182
+ return /* @__PURE__ */ e(ae, { label: u, side: "top", children: /* @__PURE__ */ e(
183
+ "button",
184
+ {
185
+ type: "button",
186
+ className: ge,
187
+ "data-highlighted-chip": "",
188
+ children: /* @__PURE__ */ e(
189
+ A,
190
+ {
191
+ variant: "accentSoft",
192
+ size: "sm",
193
+ leading: /* @__PURE__ */ e(_, { "aria-hidden": "true" }),
194
+ children: V
195
+ }
196
+ )
197
+ }
198
+ ) });
199
+ }, F = /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-wrap ds:items-start ds:gap-[var(--spacing-sm)]", children: [
200
+ /* @__PURE__ */ l("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
201
+ /* @__PURE__ */ e(
202
+ "h3",
203
+ {
204
+ id: O,
205
+ className: `ds:m-0 ${M} ds:text-[color:var(--foreground)]`,
206
+ children: T
207
+ }
208
+ ),
209
+ t ? /* @__PURE__ */ e("p", { className: v, children: t }) : null
210
+ ] }),
211
+ !p && g > 0 ? /* @__PURE__ */ e(
212
+ A,
213
+ {
214
+ variant: "accentSoft",
215
+ size: "sm",
216
+ leading: /* @__PURE__ */ e(_, { "aria-hidden": "true" }),
217
+ className: "ds:shrink-0",
218
+ children: o("anamnesisSummaryCard.highlightedCount", {
219
+ count: g,
220
+ defaultValue: "{{count}} highlighted"
221
+ })
222
+ }
223
+ ) : null,
224
+ x ? /* @__PURE__ */ e("div", { className: "ds:ms-auto ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)]", children: x }) : null
225
+ ] }), G = /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
226
+ /* @__PURE__ */ e(w, { variant: "text", width: "40%" }),
227
+ /* @__PURE__ */ e(w, { variant: "text", lines: 4 })
228
+ ] }), j = /* @__PURE__ */ e("p", { className: v, children: o("anamnesisSummaryCard.empty", {
229
+ defaultValue: "No answers recorded yet"
230
+ }) }), q = /* @__PURE__ */ e(
231
+ "div",
232
+ {
233
+ role: "group",
234
+ "aria-label": o("anamnesisSummaryCard.sectionsLabel", {
235
+ defaultValue: "Anamnesis sections"
236
+ }),
237
+ className: ne({ density: i }),
238
+ children: m.map((s) => /* @__PURE__ */ l(
239
+ "div",
240
+ {
241
+ "data-section-id": s.id,
242
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
243
+ children: [
244
+ /* @__PURE__ */ e("h4", { className: "ds:m-0 type-eyebrow ds:text-[color:var(--muted-foreground)]", children: s.heading }),
245
+ /* @__PURE__ */ e("div", { className: "ds:@container/afields", children: /* @__PURE__ */ e(
246
+ X,
247
+ {
248
+ rowGap: $,
249
+ className: "ds:@[672px]/afields:grid-cols-[repeat(2,auto_auto_minmax(0,1fr))]",
250
+ children: s.answers.map((a) => /* @__PURE__ */ e(
251
+ Z,
252
+ {
253
+ "data-answer-id": a.id,
254
+ "data-highlighted": a.highlighted ? "" : void 0,
255
+ label: a.sourceLabel ? `${a.label} (${a.sourceLabel})` : a.label,
256
+ className: a.highlighted ? pe : void 0,
257
+ value: /* @__PURE__ */ l("span", { className: "ds:inline-flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-xs)] ds:gap-y-[var(--spacing-2xs)]", children: [
258
+ /* @__PURE__ */ e("span", { children: a.value }),
259
+ a.unit ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: a.unit }) : null,
260
+ a.highlighted ? z(a) : null
261
+ ] })
262
+ },
263
+ a.id
264
+ ))
265
+ }
266
+ ) })
267
+ ]
268
+ },
269
+ s.id
270
+ ))
271
+ }
272
+ ), U = p ? G : m.length === 0 ? j : q;
273
+ return /* @__PURE__ */ e(
274
+ "div",
275
+ {
276
+ role: "region",
277
+ "aria-label": K,
278
+ "aria-busy": p || void 0,
279
+ "data-component": "anamnesis-summary-card",
280
+ "data-component-id": c,
281
+ "data-density": i,
282
+ id: c,
283
+ className: re({ surface: N, density: i, className: H }),
284
+ ...D,
285
+ children: /* @__PURE__ */ l(f, { variant: N === "flat" ? "outlined" : "elevated", children: [
286
+ /* @__PURE__ */ e(f.Header, { className: de({ density: i }), children: F }),
287
+ /* @__PURE__ */ e(ee, { children: /* @__PURE__ */ e(f.Body, { className: ie({ density: i }), children: U }) }),
288
+ !p && n > 0 ? /* @__PURE__ */ e(f.Footer, { className: oe({ density: i }), children: /* @__PURE__ */ e("p", { className: v, children: o("anamnesisSummaryCard.unanswered", {
289
+ count: n,
290
+ defaultValue: "{{count}} questions not answered"
291
+ }) }) }) : null
292
+ ] })
293
+ }
294
+ );
295
+ }
296
+ );
297
+ fe.displayName = "AnamnesisSummaryCard";
298
+ export {
299
+ fe as A,
300
+ te as a
301
+ };
302
+ //# sourceMappingURL=anamnesis-summary-card-BvaSnAbI.js.map