@alfadocs/ui-kit-debug 0.69.0 → 0.70.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 (463) hide show
  1. package/dist/_chunks/{agenda-card-BxSFkqgY.js → agenda-card-BQ-IKAru.js} +2 -2
  2. package/dist/_chunks/{agenda-card-BxSFkqgY.js.map → agenda-card-BQ-IKAru.js.map} +1 -1
  3. package/dist/_chunks/{agenda-tray-g0kg7HwB.js → agenda-tray-CGXRk58j.js} +2 -2
  4. package/dist/_chunks/{agenda-tray-g0kg7HwB.js.map → agenda-tray-CGXRk58j.js.map} +1 -1
  5. package/dist/_chunks/{ai-consent-banner-CXlsNX1c.js → ai-consent-banner-Be-h9mRI.js} +3 -3
  6. package/dist/_chunks/{ai-consent-banner-CXlsNX1c.js.map → ai-consent-banner-Be-h9mRI.js.map} +1 -1
  7. package/dist/_chunks/ai-tools-rail-B5NEghsp.js +511 -0
  8. package/dist/_chunks/ai-tools-rail-B5NEghsp.js.map +1 -0
  9. package/dist/_chunks/{alert-_mUKLmwA.js → alert-CHYZ96tR.js} +150 -96
  10. package/dist/_chunks/alert-CHYZ96tR.js.map +1 -0
  11. package/dist/_chunks/{anamnesis-card-DRmE24OQ.js → anamnesis-card-DvYCa16e.js} +2 -2
  12. package/dist/_chunks/{anamnesis-card-DRmE24OQ.js.map → anamnesis-card-DvYCa16e.js.map} +1 -1
  13. package/dist/_chunks/anatomy-scheme-CJB6dI6p.js +2445 -0
  14. package/dist/_chunks/anatomy-scheme-CJB6dI6p.js.map +1 -0
  15. package/dist/_chunks/annotation-marker-qt5R9WZX.js +120 -0
  16. package/dist/_chunks/annotation-marker-qt5R9WZX.js.map +1 -0
  17. package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js → antenatal-schedule-timeline-CwXrQRm1.js} +2 -2
  18. package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js.map → antenatal-schedule-timeline-CwXrQRm1.js.map} +1 -1
  19. package/dist/_chunks/appointment-card-C06aZqA7.js +310 -0
  20. package/dist/_chunks/appointment-card-C06aZqA7.js.map +1 -0
  21. package/dist/_chunks/appointment-timeline-BJM0S_Fg.js +386 -0
  22. package/dist/_chunks/appointment-timeline-BJM0S_Fg.js.map +1 -0
  23. package/dist/_chunks/appointment-tray-DRRw5ROi.js +193 -0
  24. package/dist/_chunks/appointment-tray-DRRw5ROi.js.map +1 -0
  25. package/dist/_chunks/{audio-recorder-DYXXnGug.js → audio-recorder-Cpdk5qpQ.js} +2 -2
  26. package/dist/_chunks/{audio-recorder-DYXXnGug.js.map → audio-recorder-Cpdk5qpQ.js.map} +1 -1
  27. package/dist/_chunks/{badge-CqGsX32l.js → badge-DCOqV9mI.js} +32 -27
  28. package/dist/_chunks/badge-DCOqV9mI.js.map +1 -0
  29. package/dist/_chunks/{bishop-score-PJI3AXzA.js → bishop-score-DnYWtZa_.js} +2 -2
  30. package/dist/_chunks/{bishop-score-PJI3AXzA.js.map → bishop-score-DnYWtZa_.js.map} +1 -1
  31. package/dist/_chunks/{bmi-calculator-BZtIJ53x.js → bmi-calculator-zjeY4E7J.js} +2 -2
  32. package/dist/_chunks/{bmi-calculator-BZtIJ53x.js.map → bmi-calculator-zjeY4E7J.js.map} +1 -1
  33. package/dist/_chunks/{booking-C3VqFReX.js → booking-DUBI0oqt.js} +4 -4
  34. package/dist/_chunks/{booking-C3VqFReX.js.map → booking-DUBI0oqt.js.map} +1 -1
  35. package/dist/_chunks/{care-plan-card-CvFGXa2z.js → care-plan-card-C5sTfY9G.js} +5 -5
  36. package/dist/_chunks/{care-plan-card-CvFGXa2z.js.map → care-plan-card-C5sTfY9G.js.map} +1 -1
  37. package/dist/_chunks/{care-plan-entry-card-C3E_gClk.js → care-plan-entry-card-CXnxGCWA.js} +5 -5
  38. package/dist/_chunks/{care-plan-entry-card-C3E_gClk.js.map → care-plan-entry-card-CXnxGCWA.js.map} +1 -1
  39. package/dist/_chunks/care-plan-header-BUwqDTtz.js +206 -0
  40. package/dist/_chunks/care-plan-header-BUwqDTtz.js.map +1 -0
  41. package/dist/_chunks/clinical-note-card-BUvNMNGL.js +436 -0
  42. package/dist/_chunks/clinical-note-card-BUvNMNGL.js.map +1 -0
  43. package/dist/_chunks/{contact-profile-card-Dramqa9C.js → contact-profile-card-DDPwRFiP.js} +2 -2
  44. package/dist/_chunks/{contact-profile-card-Dramqa9C.js.map → contact-profile-card-DDPwRFiP.js.map} +1 -1
  45. package/dist/_chunks/control-room-rail-Y8ryLYsP.js +229 -0
  46. package/dist/_chunks/control-room-rail-Y8ryLYsP.js.map +1 -0
  47. package/dist/_chunks/{cycle-calculator-DmRGJNaT.js → cycle-calculator-CCmPwcBl.js} +2 -2
  48. package/dist/_chunks/{cycle-calculator-DmRGJNaT.js.map → cycle-calculator-CCmPwcBl.js.map} +1 -1
  49. package/dist/_chunks/{dependent-selector-CG_FOHya.js → dependent-selector-DUV4thxX.js} +2 -2
  50. package/dist/_chunks/{dependent-selector-CG_FOHya.js.map → dependent-selector-DUV4thxX.js.map} +1 -1
  51. package/dist/_chunks/{document-scanner-CTubA0-N.js → document-scanner-C_AxLooF.js} +3 -3
  52. package/dist/_chunks/{document-scanner-CTubA0-N.js.map → document-scanner-C_AxLooF.js.map} +1 -1
  53. package/dist/_chunks/{due-date-calculator-BTmsIQqD.js → due-date-calculator-Brdj-euS.js} +3 -3
  54. package/dist/_chunks/{due-date-calculator-BTmsIQqD.js.map → due-date-calculator-Brdj-euS.js.map} +1 -1
  55. package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js +328 -0
  56. package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js.map +1 -0
  57. package/dist/_chunks/email-input-DJ7EXklP.js +397 -0
  58. package/dist/_chunks/{email-input-B_Y55f5G.js.map → email-input-DJ7EXklP.js.map} +1 -1
  59. package/dist/_chunks/{entity-card-COhmqHly.js → entity-card-9_62gY7l.js} +38 -20
  60. package/dist/_chunks/{entity-card-COhmqHly.js.map → entity-card-9_62gY7l.js.map} +1 -1
  61. package/dist/_chunks/entity-summary-BxRjFh_4.js +138 -0
  62. package/dist/_chunks/entity-summary-BxRjFh_4.js.map +1 -0
  63. package/dist/_chunks/{fetal-weight-CRz7KE2D.js → fetal-weight-DNCkyeVo.js} +2 -2
  64. package/dist/_chunks/{fetal-weight-CRz7KE2D.js.map → fetal-weight-DNCkyeVo.js.map} +1 -1
  65. package/dist/_chunks/field-value-NXYczdpO.js +415 -0
  66. package/dist/_chunks/field-value-NXYczdpO.js.map +1 -0
  67. package/dist/_chunks/{file-upload-5ScQd4fE.js → file-upload-DwZcAK8D.js} +2 -1
  68. package/dist/_chunks/{file-upload-5ScQd4fE.js.map → file-upload-DwZcAK8D.js.map} +1 -1
  69. package/dist/_chunks/{freemium-paywall-DZ2mBS3w.js → freemium-paywall-WYlNO7yT.js} +2 -2
  70. package/dist/_chunks/{freemium-paywall-DZ2mBS3w.js.map → freemium-paywall-WYlNO7yT.js.map} +1 -1
  71. package/dist/_chunks/{gestational-age-calculator-BleUdhbI.js → gestational-age-calculator-CF2ISaYQ.js} +3 -3
  72. package/dist/_chunks/{gestational-age-calculator-BleUdhbI.js.map → gestational-age-calculator-CF2ISaYQ.js.map} +1 -1
  73. package/dist/_chunks/hash-CysBBS_N.js +17 -0
  74. package/dist/_chunks/hash-CysBBS_N.js.map +1 -0
  75. package/dist/_chunks/{hcg-doubling-CnjDXX6U.js → hcg-doubling-C7bmuaU3.js} +2 -2
  76. package/dist/_chunks/{hcg-doubling-CnjDXX6U.js.map → hcg-doubling-C7bmuaU3.js.map} +1 -1
  77. package/dist/_chunks/{actions-cell-renderer-DrcaxB0w.js → link-cell-renderer-CTXqtXV-.js} +715 -592
  78. package/dist/_chunks/link-cell-renderer-CTXqtXV-.js.map +1 -0
  79. package/dist/_chunks/lock-CKOIn0IK.js +15 -0
  80. package/dist/_chunks/lock-CKOIn0IK.js.map +1 -0
  81. package/dist/_chunks/{marketplace-app-shell-6T9W4Knl.js → marketplace-app-shell-Skhfp6vK.js} +3 -3
  82. package/dist/_chunks/{marketplace-app-shell-6T9W4Knl.js.map → marketplace-app-shell-Skhfp6vK.js.map} +1 -1
  83. package/dist/_chunks/notes-panel-ay8_lPrA.js +158 -0
  84. package/dist/_chunks/notes-panel-ay8_lPrA.js.map +1 -0
  85. package/dist/_chunks/{notification-card-BiESdm8q.js → notification-card-D2jiKSJJ.js} +27 -23
  86. package/dist/_chunks/notification-card-D2jiKSJJ.js.map +1 -0
  87. package/dist/_chunks/{notification-tray-Btb9oQeZ.js → notification-tray-AEun6DN2.js} +2 -2
  88. package/dist/_chunks/{notification-tray-Btb9oQeZ.js.map → notification-tray-AEun6DN2.js.map} +1 -1
  89. package/dist/_chunks/{operator-hero-CP2Nhupm.js → operator-hero-CR0Rqh4-.js} +3 -3
  90. package/dist/_chunks/{operator-hero-CP2Nhupm.js.map → operator-hero-CR0Rqh4-.js.map} +1 -1
  91. package/dist/_chunks/patient-details-Dlhqb5ig.js +675 -0
  92. package/dist/_chunks/patient-details-Dlhqb5ig.js.map +1 -0
  93. package/dist/_chunks/{patient-search-CBC_ySF6.js → patient-search-Be6cLrHR.js} +2 -2
  94. package/dist/_chunks/{patient-search-CBC_ySF6.js.map → patient-search-Be6cLrHR.js.map} +1 -1
  95. package/dist/_chunks/patient-summary-card-WySCMwwA.js +437 -0
  96. package/dist/_chunks/patient-summary-card-WySCMwwA.js.map +1 -0
  97. package/dist/_chunks/patient-table-CHxf3Oqk.js +1110 -0
  98. package/dist/_chunks/patient-table-CHxf3Oqk.js.map +1 -0
  99. package/dist/_chunks/{payment-form-DvjwYVIT.js → payment-form-CxqIXqw7.js} +2 -2
  100. package/dist/_chunks/{payment-form-DvjwYVIT.js.map → payment-form-CxqIXqw7.js.map} +1 -1
  101. package/dist/_chunks/{payment-request-card-DioWKBUq.js → payment-request-card-BcZJwu9z.js} +125 -136
  102. package/dist/_chunks/payment-request-card-BcZJwu9z.js.map +1 -0
  103. package/dist/_chunks/{pdf-viewer-D6BPfW2D.js → pdf-viewer-QfebdLOd.js} +192 -214
  104. package/dist/_chunks/pdf-viewer-QfebdLOd.js.map +1 -0
  105. package/dist/_chunks/{periodontal-chart-card-BuDEMbHE.js → periodontal-chart-card-hRRJY1NN.js} +2 -2
  106. package/dist/_chunks/{periodontal-chart-card-BuDEMbHE.js.map → periodontal-chart-card-hRRJY1NN.js.map} +1 -1
  107. package/dist/_chunks/{practice-results-KrTHqZua.js → practice-results-C6qDfxos.js} +3 -3
  108. package/dist/_chunks/{practice-results-KrTHqZua.js.map → practice-results-C6qDfxos.js.map} +1 -1
  109. package/dist/_chunks/{pregnancy-dating-DORUAOHB.js → pregnancy-dating-CRVWswD-.js} +3 -3
  110. package/dist/_chunks/{pregnancy-dating-DORUAOHB.js.map → pregnancy-dating-CRVWswD-.js.map} +1 -1
  111. package/dist/_chunks/{pregnancy-weight-gain-DVz4rr7-.js → pregnancy-weight-gain-BUNpTsH-.js} +2 -2
  112. package/dist/_chunks/{pregnancy-weight-gain-DVz4rr7-.js.map → pregnancy-weight-gain-BUNpTsH-.js.map} +1 -1
  113. package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js +558 -0
  114. package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js.map +1 -0
  115. package/dist/_chunks/{rich-text-editor-BsV7zUdg.js → rich-text-editor-DlCqPixb.js} +410 -394
  116. package/dist/_chunks/{rich-text-editor-BsV7zUdg.js.map → rich-text-editor-DlCqPixb.js.map} +1 -1
  117. package/dist/_chunks/{sign-document-B4DeRhTe.js → sign-document-By6hMOra.js} +2 -2
  118. package/dist/_chunks/{sign-document-B4DeRhTe.js.map → sign-document-By6hMOra.js.map} +1 -1
  119. package/dist/_chunks/{stepper-accordion-Dki6r9ZE.js → stepper-accordion-DC-H-8v4.js} +38 -48
  120. package/dist/_chunks/stepper-accordion-DC-H-8v4.js.map +1 -0
  121. package/dist/_chunks/tab-bar-Bv9nGNdO.js +262 -0
  122. package/dist/_chunks/tab-bar-Bv9nGNdO.js.map +1 -0
  123. package/dist/_chunks/tooth-scheme-BhQoPNBD.js +2131 -0
  124. package/dist/_chunks/tooth-scheme-BhQoPNBD.js.map +1 -0
  125. package/dist/_chunks/{transaction-chip-DK84XCBU.js → transaction-chip-CscoQbxF.js} +88 -61
  126. package/dist/_chunks/transaction-chip-CscoQbxF.js.map +1 -0
  127. package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js +20 -0
  128. package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js.map +1 -0
  129. package/dist/_chunks/use-overflow-collapse-BIOzKbni.js +32 -0
  130. package/dist/_chunks/use-overflow-collapse-BIOzKbni.js.map +1 -0
  131. package/dist/_chunks/use-persistent-state-nZwZAnE9.js +24 -0
  132. package/dist/_chunks/use-persistent-state-nZwZAnE9.js.map +1 -0
  133. package/dist/_chunks/{warning-stack-BsgaEbL8.js → warning-stack--sTrrBDA.js} +86 -101
  134. package/dist/_chunks/warning-stack--sTrrBDA.js.map +1 -0
  135. package/dist/_chunks/{workflow-map-Bdam9pGp.js → workflow-map-Dy8mLCqF.js} +3 -3
  136. package/dist/_chunks/{workflow-map-Bdam9pGp.js.map → workflow-map-Dy8mLCqF.js.map} +1 -1
  137. package/dist/_chunks/zoom-out-CgVtf2Wx.js +29 -0
  138. package/dist/_chunks/zoom-out-CgVtf2Wx.js.map +1 -0
  139. package/dist/agent/index.js +5 -4
  140. package/dist/agent/index.js.map +1 -1
  141. package/dist/agent/types.d.ts +19 -2
  142. package/dist/agent/types.d.ts.map +1 -1
  143. package/dist/agent-catalog.json +1253 -86
  144. package/dist/agent-i18n/en.json +108 -6
  145. package/dist/components/_shared/entity-card/entity-card.d.ts +6 -0
  146. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -1
  147. package/dist/components/_shared/entity-card/index.d.ts +1 -1
  148. package/dist/components/_shared/entity-card/index.d.ts.map +1 -1
  149. package/dist/components/_shared/field-value.d.ts +21 -0
  150. package/dist/components/_shared/field-value.d.ts.map +1 -0
  151. package/dist/components/_shared/field-visibility-cog.d.ts +20 -0
  152. package/dist/components/_shared/field-visibility-cog.d.ts.map +1 -0
  153. package/dist/components/_shared/field-visibility.d.ts +36 -0
  154. package/dist/components/_shared/field-visibility.d.ts.map +1 -0
  155. package/dist/components/_shared/patient-fields.d.ts +119 -0
  156. package/dist/components/_shared/patient-fields.d.ts.map +1 -0
  157. package/dist/components/agenda-card/index.js +1 -1
  158. package/dist/components/agenda-tray/index.js +1 -1
  159. package/dist/components/ai-consent-banner/index.js +1 -1
  160. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +75 -0
  161. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -1
  162. package/dist/components/ai-tools-rail/index.js +1 -1
  163. package/dist/components/alert/alert.d.ts +5 -0
  164. package/dist/components/alert/alert.d.ts.map +1 -1
  165. package/dist/components/alert/index.js +1 -1
  166. package/dist/components/anamnesis-card/index.js +1 -1
  167. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +15 -0
  168. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts.map +1 -0
  169. package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +20 -0
  170. package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts.map +1 -0
  171. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +121 -0
  172. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts.map +1 -0
  173. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +6 -0
  174. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts.map +1 -0
  175. package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +69 -0
  176. package/dist/components/anatomy-scheme/anatomy-scheme.d.ts.map +1 -0
  177. package/dist/components/anatomy-scheme/index.d.ts +6 -0
  178. package/dist/components/anatomy-scheme/index.d.ts.map +1 -0
  179. package/dist/components/anatomy-scheme/index.js +17 -0
  180. package/dist/components/anatomy-scheme/index.js.map +1 -0
  181. package/dist/components/annotation-marker/annotation-marker.d.ts +33 -0
  182. package/dist/components/annotation-marker/annotation-marker.d.ts.map +1 -0
  183. package/dist/components/annotation-marker/index.d.ts +3 -0
  184. package/dist/components/annotation-marker/index.d.ts.map +1 -0
  185. package/dist/components/annotation-marker/index.js +7 -0
  186. package/dist/components/annotation-marker/index.js.map +1 -0
  187. package/dist/components/appointment-card/appointment-card.d.ts +25 -1
  188. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  189. package/dist/components/appointment-card/index.js +6 -5
  190. package/dist/components/appointment-card/index.js.map +1 -1
  191. package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts +4 -0
  192. package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts.map +1 -0
  193. package/dist/components/appointment-timeline/appointment-timeline.d.ts +66 -0
  194. package/dist/components/appointment-timeline/appointment-timeline.d.ts.map +1 -0
  195. package/dist/components/appointment-timeline/index.d.ts +4 -0
  196. package/dist/components/appointment-timeline/index.d.ts.map +1 -0
  197. package/dist/components/appointment-timeline/index.js +6 -0
  198. package/dist/components/appointment-timeline/index.js.map +1 -0
  199. package/dist/components/audio-recorder/index.js +1 -1
  200. package/dist/components/badge/badge.d.ts +6 -2
  201. package/dist/components/badge/badge.d.ts.map +1 -1
  202. package/dist/components/badge/index.js +1 -1
  203. package/dist/components/bishop-score/index.js +1 -1
  204. package/dist/components/bmi-calculator/index.js +1 -1
  205. package/dist/components/booking/index.js +1 -1
  206. package/dist/components/care-plan-card/index.js +1 -1
  207. package/dist/components/care-plan-entry-card/index.js +1 -1
  208. package/dist/components/care-plan-header/care-plan-header.agent.d.ts +4 -0
  209. package/dist/components/care-plan-header/care-plan-header.agent.d.ts.map +1 -0
  210. package/dist/components/care-plan-header/care-plan-header.d.ts +100 -0
  211. package/dist/components/care-plan-header/care-plan-header.d.ts.map +1 -0
  212. package/dist/components/care-plan-header/index.d.ts +4 -0
  213. package/dist/components/care-plan-header/index.d.ts.map +1 -0
  214. package/dist/components/care-plan-header/index.js +6 -0
  215. package/dist/components/care-plan-header/index.js.map +1 -0
  216. package/dist/components/clinical-note-card/clinical-note-card.d.ts +21 -1
  217. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -1
  218. package/dist/components/clinical-note-card/index.js +1 -1
  219. package/dist/components/contact-profile-card/index.js +1 -1
  220. package/dist/components/control-room-rail/control-room-context.d.ts +53 -0
  221. package/dist/components/control-room-rail/control-room-context.d.ts.map +1 -0
  222. package/dist/components/control-room-rail/control-room-rail.d.ts +35 -0
  223. package/dist/components/control-room-rail/control-room-rail.d.ts.map +1 -0
  224. package/dist/components/control-room-rail/index.d.ts +5 -0
  225. package/dist/components/control-room-rail/index.d.ts.map +1 -0
  226. package/dist/components/control-room-rail/index.js +9 -0
  227. package/dist/components/control-room-rail/index.js.map +1 -0
  228. package/dist/components/cycle-calculator/index.js +1 -1
  229. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +18 -0
  230. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts.map +1 -1
  231. package/dist/components/data-table/index.d.ts +1 -1
  232. package/dist/components/data-table/index.d.ts.map +1 -1
  233. package/dist/components/data-table/index.js +32 -31
  234. package/dist/components/dependent-selector/index.js +1 -1
  235. package/dist/components/document-scanner/index.js +1 -1
  236. package/dist/components/due-date-calculator/index.js +2 -2
  237. package/dist/components/email-input/email-input.d.ts.map +1 -1
  238. package/dist/components/email-input/index.js +1 -1
  239. package/dist/components/entity-summary/entity-summary.d.ts +43 -0
  240. package/dist/components/entity-summary/entity-summary.d.ts.map +1 -0
  241. package/dist/components/entity-summary/index.d.ts +3 -0
  242. package/dist/components/entity-summary/index.d.ts.map +1 -0
  243. package/dist/components/entity-summary/index.js +5 -0
  244. package/dist/components/entity-summary/index.js.map +1 -0
  245. package/dist/components/fetal-weight/index.js +1 -1
  246. package/dist/components/file-upload/index.js +1 -1
  247. package/dist/components/freemium-paywall/index.js +1 -1
  248. package/dist/components/gestational-age-calculator/index.js +1 -1
  249. package/dist/components/hcg-doubling/index.js +1 -1
  250. package/dist/components/index.d.ts +9 -0
  251. package/dist/components/index.d.ts.map +1 -1
  252. package/dist/components/notes-panel/index.d.ts +3 -0
  253. package/dist/components/notes-panel/index.d.ts.map +1 -0
  254. package/dist/components/notes-panel/index.js +5 -0
  255. package/dist/components/notes-panel/index.js.map +1 -0
  256. package/dist/components/notes-panel/notes-panel.d.ts +64 -0
  257. package/dist/components/notes-panel/notes-panel.d.ts.map +1 -0
  258. package/dist/components/notification-card/index.js +1 -1
  259. package/dist/components/notification-card/notification-card.d.ts.map +1 -1
  260. package/dist/components/notification-tray/index.js +1 -1
  261. package/dist/components/operator-hero/index.js +1 -1
  262. package/dist/components/patient-details/index.d.ts +5 -0
  263. package/dist/components/patient-details/index.d.ts.map +1 -0
  264. package/dist/components/patient-details/index.js +6 -0
  265. package/dist/components/patient-details/index.js.map +1 -0
  266. package/dist/components/patient-details/patient-details.agent.d.ts +4 -0
  267. package/dist/components/patient-details/patient-details.agent.d.ts.map +1 -0
  268. package/dist/components/patient-details/patient-details.d.ts +96 -0
  269. package/dist/components/patient-details/patient-details.d.ts.map +1 -0
  270. package/dist/components/patient-search/index.js +1 -1
  271. package/dist/components/patient-summary-card/index.js +1 -1
  272. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -1
  273. package/dist/components/patient-summary-card/patient-summary-card.d.ts +40 -1
  274. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
  275. package/dist/components/patient-table/columns.d.ts +69 -40
  276. package/dist/components/patient-table/columns.d.ts.map +1 -1
  277. package/dist/components/patient-table/index.d.ts +2 -6
  278. package/dist/components/patient-table/index.d.ts.map +1 -1
  279. package/dist/components/patient-table/index.js +8 -9
  280. package/dist/components/patient-table/patient-table.d.ts +38 -4
  281. package/dist/components/patient-table/patient-table.d.ts.map +1 -1
  282. package/dist/components/patient-table/types.d.ts +52 -2
  283. package/dist/components/patient-table/types.d.ts.map +1 -1
  284. package/dist/components/patient-table/use-responsive-columns.d.ts +8 -6
  285. package/dist/components/patient-table/use-responsive-columns.d.ts.map +1 -1
  286. package/dist/components/payment-card/index.js +1 -1
  287. package/dist/components/payment-form/index.js +1 -1
  288. package/dist/components/pdf-viewer/index.js +1 -1
  289. package/dist/components/periodontal-chart-card/index.js +1 -1
  290. package/dist/components/practice-results/index.js +1 -1
  291. package/dist/components/pregnancy-dating/index.js +1 -1
  292. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  293. package/dist/components/radiograph-panel/index.d.ts +4 -0
  294. package/dist/components/radiograph-panel/index.d.ts.map +1 -0
  295. package/dist/components/radiograph-panel/index.js +7 -0
  296. package/dist/components/radiograph-panel/index.js.map +1 -0
  297. package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts +13 -0
  298. package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts.map +1 -0
  299. package/dist/components/radiograph-panel/radiograph-panel.d.ts +36 -0
  300. package/dist/components/radiograph-panel/radiograph-panel.d.ts.map +1 -0
  301. package/dist/components/rich-text-editor/index.js +1 -1
  302. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  303. package/dist/components/sidebar/index.js +1 -1
  304. package/dist/components/sign-document/index.js +1 -1
  305. package/dist/components/stepper-accordion/index.js +1 -1
  306. package/dist/components/tab-bar/index.js +1 -1
  307. package/dist/components/tab-bar/tab-bar.d.ts +18 -1
  308. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  309. package/dist/components/tooth-scheme/index.d.ts +2 -2
  310. package/dist/components/tooth-scheme/index.d.ts.map +1 -1
  311. package/dist/components/tooth-scheme/index.js +30 -23
  312. package/dist/components/tooth-scheme/tooth-data.d.ts +112 -1
  313. package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -1
  314. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -2
  315. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -1
  316. package/dist/components/tooth-scheme/tooth-scheme.d.ts +75 -11
  317. package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
  318. package/dist/components/transaction-chip/index.js +1 -1
  319. package/dist/components/transaction-chip/transaction-chip.d.ts +2 -2
  320. package/dist/components/transaction-chip/transaction-chip.d.ts.map +1 -1
  321. package/dist/components/warning-stack/index.js +1 -1
  322. package/dist/components/warning-stack/warning-stack.d.ts +10 -7
  323. package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
  324. package/dist/components/workflow/index.js +1 -1
  325. package/dist/hooks/index.d.ts +1 -0
  326. package/dist/hooks/index.d.ts.map +1 -1
  327. package/dist/hooks/index.js +24 -22
  328. package/dist/hooks/index.js.map +1 -1
  329. package/dist/hooks/use-clamp-overflow.d.ts +19 -0
  330. package/dist/hooks/use-clamp-overflow.d.ts.map +1 -0
  331. package/dist/hooks/use-overflow-collapse.d.ts +46 -0
  332. package/dist/hooks/use-overflow-collapse.d.ts.map +1 -0
  333. package/dist/hooks/use-persistent-state.d.ts +7 -1
  334. package/dist/hooks/use-persistent-state.d.ts.map +1 -1
  335. package/dist/hooks/use-scroll-overflow.d.ts +36 -0
  336. package/dist/hooks/use-scroll-overflow.d.ts.map +1 -0
  337. package/dist/i18n/locales/ar.d.ts +308 -24
  338. package/dist/i18n/locales/ar.d.ts.map +1 -1
  339. package/dist/i18n/locales/ar.js +322 -27
  340. package/dist/i18n/locales/ar.js.map +1 -1
  341. package/dist/i18n/locales/de.d.ts +308 -24
  342. package/dist/i18n/locales/de.d.ts.map +1 -1
  343. package/dist/i18n/locales/de.js +322 -27
  344. package/dist/i18n/locales/de.js.map +1 -1
  345. package/dist/i18n/locales/el.d.ts +308 -24
  346. package/dist/i18n/locales/el.d.ts.map +1 -1
  347. package/dist/i18n/locales/el.js +322 -27
  348. package/dist/i18n/locales/el.js.map +1 -1
  349. package/dist/i18n/locales/en.d.ts +309 -32
  350. package/dist/i18n/locales/en.d.ts.map +1 -1
  351. package/dist/i18n/locales/en.js +323 -35
  352. package/dist/i18n/locales/en.js.map +1 -1
  353. package/dist/i18n/locales/es.d.ts +308 -24
  354. package/dist/i18n/locales/es.d.ts.map +1 -1
  355. package/dist/i18n/locales/es.js +322 -27
  356. package/dist/i18n/locales/es.js.map +1 -1
  357. package/dist/i18n/locales/fr.d.ts +308 -24
  358. package/dist/i18n/locales/fr.d.ts.map +1 -1
  359. package/dist/i18n/locales/fr.js +322 -27
  360. package/dist/i18n/locales/fr.js.map +1 -1
  361. package/dist/i18n/locales/hi.d.ts +308 -24
  362. package/dist/i18n/locales/hi.d.ts.map +1 -1
  363. package/dist/i18n/locales/hi.js +322 -27
  364. package/dist/i18n/locales/hi.js.map +1 -1
  365. package/dist/i18n/locales/it.d.ts +308 -24
  366. package/dist/i18n/locales/it.d.ts.map +1 -1
  367. package/dist/i18n/locales/it.js +322 -27
  368. package/dist/i18n/locales/it.js.map +1 -1
  369. package/dist/i18n/locales/ja.d.ts +308 -24
  370. package/dist/i18n/locales/ja.d.ts.map +1 -1
  371. package/dist/i18n/locales/ja.js +322 -27
  372. package/dist/i18n/locales/ja.js.map +1 -1
  373. package/dist/i18n/locales/nl.d.ts +308 -24
  374. package/dist/i18n/locales/nl.d.ts.map +1 -1
  375. package/dist/i18n/locales/nl.js +322 -27
  376. package/dist/i18n/locales/nl.js.map +1 -1
  377. package/dist/i18n/locales/pl.d.ts +308 -24
  378. package/dist/i18n/locales/pl.d.ts.map +1 -1
  379. package/dist/i18n/locales/pl.js +322 -27
  380. package/dist/i18n/locales/pl.js.map +1 -1
  381. package/dist/i18n/locales/pt.d.ts +308 -24
  382. package/dist/i18n/locales/pt.d.ts.map +1 -1
  383. package/dist/i18n/locales/pt.js +322 -27
  384. package/dist/i18n/locales/pt.js.map +1 -1
  385. package/dist/i18n/locales/ro.d.ts +308 -24
  386. package/dist/i18n/locales/ro.d.ts.map +1 -1
  387. package/dist/i18n/locales/ro.js +322 -27
  388. package/dist/i18n/locales/ro.js.map +1 -1
  389. package/dist/i18n/locales/ru.d.ts +308 -24
  390. package/dist/i18n/locales/ru.d.ts.map +1 -1
  391. package/dist/i18n/locales/ru.js +322 -27
  392. package/dist/i18n/locales/ru.js.map +1 -1
  393. package/dist/i18n/locales/sq.d.ts +308 -24
  394. package/dist/i18n/locales/sq.d.ts.map +1 -1
  395. package/dist/i18n/locales/sq.js +322 -27
  396. package/dist/i18n/locales/sq.js.map +1 -1
  397. package/dist/i18n/locales/sv.d.ts +308 -24
  398. package/dist/i18n/locales/sv.d.ts.map +1 -1
  399. package/dist/i18n/locales/sv.js +322 -27
  400. package/dist/i18n/locales/sv.js.map +1 -1
  401. package/dist/i18n/locales/tr.d.ts +308 -24
  402. package/dist/i18n/locales/tr.d.ts.map +1 -1
  403. package/dist/i18n/locales/tr.js +322 -27
  404. package/dist/i18n/locales/tr.js.map +1 -1
  405. package/dist/i18n/locales/zh.d.ts +308 -24
  406. package/dist/i18n/locales/zh.d.ts.map +1 -1
  407. package/dist/i18n/locales/zh.js +322 -27
  408. package/dist/i18n/locales/zh.js.map +1 -1
  409. package/dist/index.js +672 -623
  410. package/dist/index.js.map +1 -1
  411. package/dist/locales/ar.json +311 -27
  412. package/dist/locales/de.json +311 -27
  413. package/dist/locales/el.json +311 -27
  414. package/dist/locales/en.json +311 -27
  415. package/dist/locales/es.json +311 -27
  416. package/dist/locales/fr.json +311 -27
  417. package/dist/locales/hi.json +311 -27
  418. package/dist/locales/it.json +311 -27
  419. package/dist/locales/ja.json +311 -27
  420. package/dist/locales/nl.json +311 -27
  421. package/dist/locales/pl.json +311 -27
  422. package/dist/locales/pt.json +311 -27
  423. package/dist/locales/ro.json +311 -27
  424. package/dist/locales/ru.json +311 -27
  425. package/dist/locales/sq.json +311 -27
  426. package/dist/locales/sv.json +311 -27
  427. package/dist/locales/tr.json +311 -27
  428. package/dist/locales/zh.json +311 -27
  429. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  430. package/dist/tokens.css +1 -1
  431. package/package.json +37 -1
  432. package/dist/_chunks/actions-cell-renderer-DrcaxB0w.js.map +0 -1
  433. package/dist/_chunks/ai-tools-rail-BA_sqy1A.js +0 -373
  434. package/dist/_chunks/ai-tools-rail-BA_sqy1A.js.map +0 -1
  435. package/dist/_chunks/alert-_mUKLmwA.js.map +0 -1
  436. package/dist/_chunks/appointment-tray-CZtvtaH-.js +0 -431
  437. package/dist/_chunks/appointment-tray-CZtvtaH-.js.map +0 -1
  438. package/dist/_chunks/badge-CqGsX32l.js.map +0 -1
  439. package/dist/_chunks/clinical-note-card-DqQYf_D4.js +0 -333
  440. package/dist/_chunks/clinical-note-card-DqQYf_D4.js.map +0 -1
  441. package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js +0 -448
  442. package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js.map +0 -1
  443. package/dist/_chunks/email-input-B_Y55f5G.js +0 -396
  444. package/dist/_chunks/notification-card-BiESdm8q.js.map +0 -1
  445. package/dist/_chunks/patient-summary-card-B836_fDB.js +0 -435
  446. package/dist/_chunks/patient-summary-card-B836_fDB.js.map +0 -1
  447. package/dist/_chunks/patient-table-CDuosVru.js +0 -889
  448. package/dist/_chunks/patient-table-CDuosVru.js.map +0 -1
  449. package/dist/_chunks/payment-request-card-DioWKBUq.js.map +0 -1
  450. package/dist/_chunks/pdf-viewer-D6BPfW2D.js.map +0 -1
  451. package/dist/_chunks/stepper-accordion-Dki6r9ZE.js.map +0 -1
  452. package/dist/_chunks/tab-bar-B1ovILzh.js +0 -105
  453. package/dist/_chunks/tab-bar-B1ovILzh.js.map +0 -1
  454. package/dist/_chunks/tooth-scheme-yBr53cvv.js +0 -1330
  455. package/dist/_chunks/tooth-scheme-yBr53cvv.js.map +0 -1
  456. package/dist/_chunks/transaction-chip-DK84XCBU.js.map +0 -1
  457. package/dist/_chunks/use-persistent-state-i23OWy6G.js +0 -24
  458. package/dist/_chunks/use-persistent-state-i23OWy6G.js.map +0 -1
  459. package/dist/_chunks/warning-stack-BsgaEbL8.js.map +0 -1
  460. package/dist/components/patient-table/cell-renderers/contact-cell.d.ts +0 -45
  461. package/dist/components/patient-table/cell-renderers/contact-cell.d.ts.map +0 -1
  462. package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts +0 -26
  463. package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-C3VqFReX.js";
1
+ import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-DUBI0oqt.js";
2
2
  export {
3
3
  A as Booking,
4
4
  R as CONFIRMATION_CHANNEL_ORDER,
@@ -1,4 +1,4 @@
1
- import { C as e, c as C } from "../../_chunks/care-plan-card-CvFGXa2z.js";
1
+ import { C as e, c as C } from "../../_chunks/care-plan-card-C5sTfY9G.js";
2
2
  export {
3
3
  e as CarePlanCard,
4
4
  C as carePlanCardAgent
@@ -1,4 +1,4 @@
1
- import { C as n, c as e } from "../../_chunks/care-plan-entry-card-C3E_gClk.js";
1
+ import { C as n, c as e } from "../../_chunks/care-plan-entry-card-CXnxGCWA.js";
2
2
  export {
3
3
  n as CarePlanEntryCard,
4
4
  e as carePlanEntryCardAgent
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { CarePlanHeaderHandle } from './care-plan-header';
3
+ export declare const carePlanHeaderAgent: AgentAdapter<CarePlanHeaderHandle>;
4
+ //# sourceMappingURL=care-plan-header.agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"care-plan-header.agent.d.ts","sourceRoot":"","sources":["../../../src/components/care-plan-header/care-plan-header.agent.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,oBAAoB,CAiClE,CAAC"}
@@ -0,0 +1,100 @@
1
+ import { type HTMLAttributes, type ReactElement, type ReactNode } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import { entitySurfaceVariants, type CarePlanState } from '../_shared/entity-card';
4
+ export type { CarePlanState } from '../_shared/entity-card';
5
+ /** Heading element the plan name / number renders as. */
6
+ export type CarePlanHeaderHeadingTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
7
+ /** Tone of an attention alert chip → the Badge variant it paints with. */
8
+ export type CarePlanHeaderAlertTone = 'warning' | 'error' | 'info';
9
+ /**
10
+ * One attention alert shown as a chip beneath the heading — e.g. a missing
11
+ * signature, an expired estimate. The kit owns the chip; the consumer owns the
12
+ * (already-localised) label and the meaning.
13
+ */
14
+ export interface CarePlanHeaderAlert {
15
+ /** Stable key — identifier only, never PHI. Keys the chip + agent count. */
16
+ id: string;
17
+ /** Already-localised label (consumer-provided). */
18
+ label: ReactNode;
19
+ /** Severity tone. Defaults to `warning`. */
20
+ tone?: CarePlanHeaderAlertTone;
21
+ /** Optional leading glyph (a single lucide element). */
22
+ icon?: ReactElement;
23
+ }
24
+ /**
25
+ * One meta fact in the footer strip — operator, price list, referrer, …. The
26
+ * label is consumer-localised; the value is any node (text, an Avatar + name,
27
+ * a Link). Rendered through the shared `KeyValuePair`.
28
+ */
29
+ export interface CarePlanHeaderMetaItem {
30
+ /** Stable key — identifier only, never PHI. */
31
+ id: string;
32
+ /** Already-localised label (consumer-provided). */
33
+ label: string;
34
+ /** Value node. */
35
+ value: ReactNode;
36
+ /** Optional leading glyph for the pair (a single lucide element). */
37
+ icon?: ReactElement | null;
38
+ }
39
+ /** Lifecycle dates — each an ISO-8601 string, rendered via `Timestamp`. */
40
+ export interface CarePlanHeaderDates {
41
+ /** Acceptance date. */
42
+ acceptedIso?: string;
43
+ /** Closure date. */
44
+ closedIso?: string;
45
+ /** Discard date. */
46
+ discardedIso?: string;
47
+ }
48
+ /**
49
+ * Imperative handle the agent adapter drives. Reads only structural state —
50
+ * the lifecycle enum and the count of alerts. Never the plan name, the meta
51
+ * values, or any patient identity.
52
+ */
53
+ export interface CarePlanHeaderHandle {
54
+ /** The plan lifecycle state (enum, never the localised label). */
55
+ getState: () => CarePlanState;
56
+ /** How many attention alerts are showing. */
57
+ getAlertCount: () => number;
58
+ }
59
+ export interface CarePlanHeaderProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
60
+ /** Agent-readiness instance id, surfaced as `data-component-id`. */
61
+ id?: string;
62
+ /** Plan number — rendered in the eyebrow (or as the heading when no `name`). */
63
+ number: string | number;
64
+ /**
65
+ * Override the eyebrow's plan-number label (e.g. a consumer's own
66
+ * `Plan #15`). Defaults to the localised `Care plan {{number}}` shared with
67
+ * `CarePlanCard`, so the two surfaces read alike unless a consumer opts out.
68
+ */
69
+ numberLabel?: ReactNode;
70
+ /** Plan name — the title heading. Omit for a number-only header. */
71
+ name?: ReactNode;
72
+ /** Lifecycle state — drives the badge variant + localised label. */
73
+ state: CarePlanState;
74
+ /** Deep link for the heading. Rendered only when it passes the safe-URL gate. */
75
+ url?: string;
76
+ /** Attention alerts (e.g. signature missing) shown as chips under the heading. */
77
+ alerts?: CarePlanHeaderAlert[];
78
+ /** Consumer-labelled meta facts (operator, price list, …) in the footer. */
79
+ meta?: CarePlanHeaderMetaItem[];
80
+ /** Lifecycle dates rendered as a muted `Timestamp` line. */
81
+ dates?: CarePlanHeaderDates;
82
+ /** Inline-end actions slot (e.g. Share / Print). */
83
+ actions?: ReactNode;
84
+ /** Heading element the name / number renders as. Defaults to `h3`. */
85
+ headingTag?: CarePlanHeaderHeadingTag;
86
+ /** `elevated` (default) paints the kit card chrome; `flat` drops it. */
87
+ surface?: 'flat' | 'elevated';
88
+ /** Internal padding density. Defaults to `comfortable`. */
89
+ density?: 'comfortable' | 'compact';
90
+ /** BCP-47 locale override for the dates. Defaults to `i18n.language`. */
91
+ locale?: string;
92
+ /** Fires when the plan deep link / heading is activated. */
93
+ onActivate?: () => void;
94
+ /** Accessible name override for the plan region (defaults to the heading). */
95
+ 'aria-label'?: string;
96
+ }
97
+ export declare const CarePlanHeader: import("react").ForwardRefExoticComponent<CarePlanHeaderProps & import("react").RefAttributes<HTMLElement>>;
98
+ /** Surface variant union re-exported for downstream typing. */
99
+ export type CarePlanHeaderSurface = NonNullable<VariantProps<typeof entitySurfaceVariants>['surface']>;
100
+ //# sourceMappingURL=care-plan-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"care-plan-header.d.ts","sourceRoot":"","sources":["../../../src/components/care-plan-header/care-plan-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAO7D,OAAO,EACL,qBAAqB,EAGrB,KAAK,aAAa,EACnB,MAAM,wBAAwB,CAAC;AA8BhC,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,yDAAyD;AACzD,MAAM,MAAM,wBAAwB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/E,0EAA0E;AAC1E,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,4EAA4E;IAC5E,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,KAAK,EAAE,SAAS,CAAC;IACjB,4CAA4C;IAC5C,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B,wDAAwD;IACxD,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,+CAA+C;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,KAAK,EAAE,SAAS,CAAC;IACjB,qEAAqE;IACrE,IAAI,CAAC,EAAE,YAAY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A4D;IAC5D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AA2BD,eAAO,MAAM,cAAc,6GA0M1B,CAAC;AAIF,+DAA+D;AAC/D,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAC7C,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC,SAAS,CAAC,CACtD,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { CarePlanHeader } from './care-plan-header';
2
+ export type { CarePlanHeaderProps, CarePlanHeaderHandle, CarePlanHeaderSurface, CarePlanHeaderHeadingTag, CarePlanHeaderAlert, CarePlanHeaderAlertTone, CarePlanHeaderMetaItem, CarePlanHeaderDates, } from './care-plan-header';
3
+ export { carePlanHeaderAgent } from './care-plan-header.agent';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/care-plan-header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,oBAAoB,CAAC;AAI5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { C as r, c as n } from "../../_chunks/care-plan-header-BUwqDTtz.js";
2
+ export {
3
+ r as CarePlanHeader,
4
+ n as carePlanHeaderAgent
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -74,11 +74,31 @@ export interface ClinicalNoteCardProps extends Omit<HTMLAttributes<HTMLDivElemen
74
74
  * raw HTML and unsafe link schemes are stripped.
75
75
  */
76
76
  content: string;
77
+ /**
78
+ * How `content` is authored. `'markdown'` (default) runs the small Markdown
79
+ * subset through the converter; `'html'` treats `content` as rich HTML
80
+ * (e.g. Redactor output) and renders it through SafeHtml's `rich-text`
81
+ * profile, so colours, sizes, tables and images survive sanitisation.
82
+ */
83
+ contentFormat?: 'markdown' | 'html';
77
84
  /** Pin the note to the top of a timeline — shows a "Pinned" chip. */
78
85
  pinned?: boolean;
79
86
  /** Flag the note for follow-up / attention — shows a "Flagged" chip. */
80
87
  flagged?: boolean;
81
- /** Clamp the rendered body to a few lines. */
88
+ /**
89
+ * When provided, the pinned chip becomes an `aria-pressed` toggle button so
90
+ * the note can be (un)pinned in place — the pin glyph fills and tints to the
91
+ * accent when pinned (no button fill). Omit for a static, display-only card.
92
+ */
93
+ onTogglePin?: () => void;
94
+ /** As `onTogglePin`, for the flagged state (warning-tinted when flagged). */
95
+ onToggleFlag?: () => void;
96
+ /**
97
+ * Clamp the rendered body to five lines. When the body is taller than the
98
+ * clamp, a "Read more" / "Read less" disclosure toggles the full text in
99
+ * place — the note stays a read-only display surface, so this is the
100
+ * sighted-user escape hatch (assistive tech reads the full body regardless).
101
+ */
82
102
  truncate?: boolean;
83
103
  /**
84
104
  * `'elevated'` (default) wraps the note in `<Card variant="elevated">`.
@@ -1 +1 @@
1
- {"version":3,"file":"clinical-note-card.d.ts","sourceRoot":"","sources":["../../../src/components/clinical-note-card/clinical-note-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAiClE,4DAA4D;AAC5D,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GACtB;IAAE,IAAI,EAAE,SAAS,CAAA;C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CAAC,EAAE,OAAO,CAAC;IAClB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC9B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAMD,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AA6FH,eAAO,MAAM,gBAAgB,kHAgP5B,CAAC;AAIF,oEAAoE;AACpE,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAC/C,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAC7C,CAAC"}
1
+ {"version":3,"file":"clinical-note-card.d.ts","sourceRoot":"","sources":["../../../src/components/clinical-note-card/clinical-note-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAkClE,4DAA4D;AAC5D,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GACtB;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,GACnB;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAClD;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,GAChE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErC,iFAAiF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;;8EAKhB,CAAC;AAyKH,eAAO,MAAM,gBAAgB,kHAiU5B,CAAC;AAIF,oEAAoE;AACpE,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAC/C,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAC7C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { C as e, c as i } from "../../_chunks/clinical-note-card-DqQYf_D4.js";
1
+ import { C as e, c as i } from "../../_chunks/clinical-note-card-BUvNMNGL.js";
2
2
  export {
3
3
  e as ClinicalNoteCard,
4
4
  i as clinicalNoteCardAgent
@@ -1,4 +1,4 @@
1
- import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-Dramqa9C.js";
1
+ import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-DDPwRFiP.js";
2
2
  export {
3
3
  _ as CONTACT_PROFILE_CARD_ROW_ICONS,
4
4
  O as CONTACT_PROFILE_CARD_ROW_KEYS,
@@ -0,0 +1,53 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { AiToolsRailHandle, AiToolsRailTool } from '../ai-tools-rail';
3
+ export interface ControlRoomProviderProps {
4
+ /**
5
+ * Tools valid in every context (Alia, Inbox). Set once at the app shell —
6
+ * they pin to the rail's far end and persist across navigation. Memoise
7
+ * this array so it doesn't re-register every render.
8
+ */
9
+ globalTools?: AiToolsRailTool[];
10
+ children: ReactNode;
11
+ }
12
+ /**
13
+ * Holds the Control Room's global tools and the registry of per-context
14
+ * contextual tools. Mount once at the app shell, inside the frame that also
15
+ * renders `<ControlRoomRail>`.
16
+ */
17
+ export declare function ControlRoomProvider({ globalTools, children, }: ControlRoomProviderProps): import("react/jsx-runtime").JSX.Element;
18
+ /**
19
+ * Register this context's **contextual** tools (Notes, Appointments, the entity
20
+ * summary). They sit below the favourites divider and unregister automatically
21
+ * when the calling component unmounts (i.e. when you leave the context).
22
+ *
23
+ * Pass a **stable / memoised** array — like `useEffect` deps, a fresh array
24
+ * every render re-registers every render. Wrap it in `useMemo`.
25
+ *
26
+ * No-op when rendered outside a `<ControlRoomProvider>`.
27
+ */
28
+ export declare function useControlRoomTools(tools: AiToolsRailTool[]): void;
29
+ /**
30
+ * The merged tool set the rail consumes: contextual tools (auto-tagged
31
+ * `scope: 'contextual'`) then globals (`scope: 'global'`). Scope is assigned
32
+ * here by which API registered the tool — `global` seeds the Control Room's
33
+ * default favourites (pinned on top); `contextual` falls below the divider.
34
+ * `ControlRoomRail` re-groups by favourite membership for the final order.
35
+ * Returns `[]` outside a provider.
36
+ */
37
+ export declare function useControlRoomMergedTools(): AiToolsRailTool[];
38
+ /**
39
+ * Imperative actions to drive the rail from a page: open a tool's panel (e.g.
40
+ * the X-ray viewer when a tooth is clicked) or collapse it. No-ops outside a
41
+ * `<ControlRoomProvider>`. The functions are stable across renders.
42
+ */
43
+ export declare function useControlRoomActions(): {
44
+ openTool: (id: string) => void;
45
+ closeTool: () => void;
46
+ };
47
+ /**
48
+ * Internal: the rail registers its imperative handle with the provider so
49
+ * `useControlRoomActions().openTool` can drive it. Returns the stable
50
+ * `registerRail` callback (or a no-op outside a provider).
51
+ */
52
+ export declare function useControlRoomRailRegister(): (handle: AiToolsRailHandle | null) => void;
53
+ //# sourceMappingURL=control-room-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-room-context.d.ts","sourceRoot":"","sources":["../../../src/components/control-room-rail/control-room-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AA8B3E,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,eAAe,EAAE,CAAC;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,WAAgB,EAChB,QAAQ,GACT,EAAE,wBAAwB,2CAwE1B;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,IAAI,CAclE;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,IAAI,eAAe,EAAE,CAc7D;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI;IACvC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAOA;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,IAAI,CAC5C,MAAM,EAAE,iBAAiB,GAAG,IAAI,KAC7B,IAAI,CAIR"}
@@ -0,0 +1,35 @@
1
+ import { type AiToolsRailHandle, type AiToolsRailProps, type AiToolsRailTool } from '../ai-tools-rail';
2
+ /** A Control Room tool — the rail tool descriptor, `scope`-aware. */
3
+ export type ControlRoomTool = AiToolsRailTool;
4
+ /** Imperative handle — open / collapse a tool panel without the DOM. */
5
+ export type ControlRoomRailHandle = AiToolsRailHandle;
6
+ export interface ControlRoomRailProps extends Omit<AiToolsRailProps, 'tools' | 'onReorder' | 'formatReorderAnnouncement' | 'renderToolAffordance' | 'renderPanelHeader'> {
7
+ /**
8
+ * Explicit tool set. Omit to read the merged global + contextual tools from
9
+ * the nearest `<ControlRoomProvider>` (+ `useControlRoomTools`).
10
+ */
11
+ tools?: ControlRoomTool[];
12
+ /**
13
+ * Enable the favourites model: a pinned top group, drag / `Alt`+Arrow
14
+ * reordering, and the panel-header add / remove control. Default `true`. Set
15
+ * `false` for the legacy flat strip (tools render in the order / `scope` you
16
+ * pass, no drag, no panel-header control).
17
+ */
18
+ reorderable?: boolean;
19
+ /**
20
+ * Controlled favourite tool ids, in pinned order. When set, the rail does not
21
+ * persist — the host owns the value and is notified via `onFavoriteIdsChange`.
22
+ */
23
+ favoriteIds?: string[];
24
+ /**
25
+ * Uncontrolled initial favourites. Defaults to the ids of the tools the host
26
+ * marked `scope: 'global'` (Alia, Inbox) — pinning them on top by default.
27
+ */
28
+ defaultFavoriteIds?: string[];
29
+ /** Fires with the next favourites order whenever the user pins / reorders. */
30
+ onFavoriteIdsChange?: (next: string[]) => void;
31
+ /** localStorage key for the uncontrolled favourites. */
32
+ persistFavoritesKey?: string;
33
+ }
34
+ export declare const ControlRoomRail: import("react").ForwardRefExoticComponent<ControlRoomRailProps & import("react").RefAttributes<AiToolsRailHandle>>;
35
+ //# sourceMappingURL=control-room-rail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control-room-rail.d.ts","sourceRoot":"","sources":["../../../src/components/control-room-rail/control-room-rail.tsx"],"names":[],"mappings":"AAWA,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,kBAAkB,CAAC;AAkC1B,qEAAqE;AACrE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC;AAE9C,wEAAwE;AACxE,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;AAEtD,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAChD,gBAAgB,EACd,OAAO,GACP,WAAW,GACX,2BAA2B,GAC3B,sBAAsB,GACtB,mBAAmB,CACtB;IACC;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;IAC1B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC/C,wDAAwD;IACxD,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,eAAe,oHA8O1B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { ControlRoomRail } from './control-room-rail';
2
+ export type { ControlRoomRailProps, ControlRoomRailHandle, ControlRoomTool, } from './control-room-rail';
3
+ export { ControlRoomProvider, useControlRoomTools, useControlRoomMergedTools, useControlRoomActions, } from './control-room-context';
4
+ export type { ControlRoomProviderProps } from './control-room-context';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/control-room-rail/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { C as r, a as l, u as a, b as e, c as t } from "../../_chunks/control-room-rail-Y8ryLYsP.js";
2
+ export {
3
+ r as ControlRoomProvider,
4
+ l as ControlRoomRail,
5
+ a as useControlRoomActions,
6
+ e as useControlRoomMergedTools,
7
+ t as useControlRoomTools
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-DmRGJNaT.js";
1
+ import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-CCmPwcBl.js";
2
2
  export {
3
3
  e as CycleCalculator,
4
4
  l as LUTEAL_PHASE_DAYS,
@@ -35,5 +35,23 @@ export interface ActionsCellRendererParams<TData = unknown> {
35
35
  */
36
36
  collapsed?: boolean | (() => boolean);
37
37
  }
38
+ /**
39
+ * Pixel width an actions column needs so `count` inline `sm` IconButtons (32px
40
+ * each — whether segmented via `group` or loose) plus the data-table cell's
41
+ * inline padding never clip. AG Grid gives a column ONE width for every row, so
42
+ * pass the TOTAL number of actions (the worst case where a single row shows them
43
+ * all) — not the per-row visible count, which varies with `hidden` predicates.
44
+ *
45
+ * Use it as the column `width` so a fully-actioned row can't overflow:
46
+ *
47
+ * {
48
+ * colId: 'actions',
49
+ * cellRenderer: ActionsCellRenderer,
50
+ * cellRendererParams: { actions, group: true },
51
+ * width: actionsColumnWidth(actions.length),
52
+ * // minWidth stays at the collapsed footprint when `collapsed` is used.
53
+ * }
54
+ */
55
+ export declare function actionsColumnWidth(count: number): number;
38
56
  export declare function ActionsCellRenderer<TData = unknown>(props: CustomCellRendererProps<TData> & ActionsCellRendererParams<TData>): import("react/jsx-runtime").JSX.Element | null;
39
57
  //# sourceMappingURL=actions-cell-renderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions-cell-renderer.d.ts","sourceRoot":"","sources":["../../../../src/components/data-table/cell-renderers/actions-cell-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAwB7D,MAAM,WAAW,SAAS,CAAC,KAAK,GAAG,OAAO;IACxC,8BAA8B;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,OAAO,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAAC;IAC/B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,CAAC;IAChD,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,qEAAqE;IACrE,MAAM,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,yBAAyB,CAAC,KAAK,GAAG,OAAO;IACxD,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;IAC5B,8EAA8E;IAC9E,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,CAAC,MAAM,OAAO,CAAC,CAAC;CACvC;AAaD,wBAAgB,mBAAmB,CAAC,KAAK,GAAG,OAAO,EACjD,KAAK,EAAE,uBAAuB,CAAC,KAAK,CAAC,GAAG,yBAAyB,CAAC,KAAK,CAAC,kDAsFzE"}
1
+ {"version":3,"file":"actions-cell-renderer.d.ts","sourceRoot":"","sources":["../../../../src/components/data-table/cell-renderers/actions-cell-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAwB7D,MAAM,WAAW,SAAS,CAAC,KAAK,GAAG,OAAO;IACxC,8BAA8B;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,OAAO,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAAC;IAC/B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,CAAC;IAChD,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,qEAAqE;IACrE,MAAM,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,yBAAyB,CAAC,KAAK,GAAG,OAAO;IACxD,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;IAC5B,8EAA8E;IAC9E,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,CAAC,MAAM,OAAO,CAAC,CAAC;CACvC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMxD;AAaD,wBAAgB,mBAAmB,CAAC,KAAK,GAAG,OAAO,EACjD,KAAK,EAAE,uBAAuB,CAAC,KAAK,CAAC,GAAG,yBAAyB,CAAC,KAAK,CAAC,kDAsFzE"}
@@ -28,7 +28,7 @@ export { DateCellRenderer } from './cell-renderers/date-cell-renderer';
28
28
  export type { DateCellFormat, DateCellRendererParams, } from './cell-renderers/date-cell-renderer';
29
29
  export { CurrencyCellRenderer } from './cell-renderers/currency-cell-renderer';
30
30
  export type { CurrencyCellRendererParams } from './cell-renderers/currency-cell-renderer';
31
- export { ActionsCellRenderer } from './cell-renderers/actions-cell-renderer';
31
+ export { ActionsCellRenderer, actionsColumnWidth, } from './cell-renderers/actions-cell-renderer';
32
32
  export type { ActionDef, ActionsCellRendererParams, } from './cell-renderers/actions-cell-renderer';
33
33
  export { LinkCellRenderer } from './cell-renderers/link-cell-renderer';
34
34
  export type { LinkCellRendererParams } from './cell-renderers/link-cell-renderer';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EACV,cAAc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wC,CAAC;AAEhD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAChG,YAAY,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EACV,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AACvE,YAAY,EACV,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,mBAAmB,GACpB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EACL,eAAe,EACf,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC7E,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,eAAe,EACf,uBAAuB,GACxB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAA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AAC;AAElF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,YAAY,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,YAAY,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAE3F,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,YAAY,EACV,WAAW,EACX,yBAAyB,GAC1B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAChG,YAAY,EAAE,gCAAgC,EAAE,MAAM,kDAAkD,CAAC"}
@@ -1,35 +1,36 @@
1
- import { A as l, D as r, a as t, b as s, c as n, N as o, d, S as i, e as C, T as R, f as F, g as T, h as g, i as b, j as c, k as u, U as m, l as x, m as D } from "../../_chunks/actions-cell-renderer-DrcaxB0w.js";
2
- import { B as p, C as S, a as h, E as y, b as E, I as A, L, S as N, T as k, c as B, u as I } from "../../_chunks/editable-currency-cell-renderer-kgqp_mIw.js";
1
+ import { A as l, C as r, D as t, a as s, b as n, c as o, I as d, L as i, N as C, d as R, S as F, e as T, f as g, T as b, g as u, h as c, i as m, j as x, k as D, l as f, U as h, m as p, n as y, o as E } from "../../_chunks/link-cell-renderer-CTXqtXV-.js";
2
+ import { B as A, C as L, E as N, a as k, T as B, b as I, u as P } from "../../_chunks/editable-currency-cell-renderer-C9twtALM.js";
3
3
  export {
4
4
  l as ActionsCellRenderer,
5
- p as BalanceCellRenderer,
6
- S as ColorDotCellRenderer,
7
- h as CurrencyCellRenderer,
8
- r as DataTable,
9
- t as DateCellRenderer,
10
- s as DateRangeFilter,
11
- n as DateRangeFloatingFilter,
12
- y as EditableCurrencyCellRenderer,
13
- E as EditableTextCellRenderer,
14
- A as ImageCellRenderer,
15
- L as LinkCellRenderer,
16
- o as NumberFilter,
17
- d as NumberFloatingFilter,
18
- i as SelectFilter,
19
- C as SelectFloatingFilter,
20
- N as StatusCellRenderer,
21
- R as TagListCellRenderer,
22
- F as TextFilter,
23
- T as TextFloatingFilter,
24
- k as ToggleCellRenderer,
25
- g as Toolbar,
26
- b as ToolbarProvider,
27
- B as ToothCellRenderer,
28
- c as TypeaheadFilter,
29
- u as TypeaheadFloatingFilter,
30
- m as UserCellRenderer,
31
- x as dataTableAgent,
32
- D as defaultExportPdf,
33
- I as useTotalRow
5
+ A as BalanceCellRenderer,
6
+ L as ColorDotCellRenderer,
7
+ r as CurrencyCellRenderer,
8
+ t as DataTable,
9
+ s as DateCellRenderer,
10
+ n as DateRangeFilter,
11
+ o as DateRangeFloatingFilter,
12
+ N as EditableCurrencyCellRenderer,
13
+ k as EditableTextCellRenderer,
14
+ d as ImageCellRenderer,
15
+ i as LinkCellRenderer,
16
+ C as NumberFilter,
17
+ R as NumberFloatingFilter,
18
+ F as SelectFilter,
19
+ T as SelectFloatingFilter,
20
+ g as StatusCellRenderer,
21
+ b as TagListCellRenderer,
22
+ u as TextFilter,
23
+ c as TextFloatingFilter,
24
+ B as ToggleCellRenderer,
25
+ m as Toolbar,
26
+ x as ToolbarProvider,
27
+ I as ToothCellRenderer,
28
+ D as TypeaheadFilter,
29
+ f as TypeaheadFloatingFilter,
30
+ h as UserCellRenderer,
31
+ p as actionsColumnWidth,
32
+ y as dataTableAgent,
33
+ E as defaultExportPdf,
34
+ P as useTotalRow
34
35
  };
35
36
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { D as n, d } from "../../_chunks/dependent-selector-CG_FOHya.js";
1
+ import { D as n, d } from "../../_chunks/dependent-selector-DUV4thxX.js";
2
2
  export {
3
3
  n as DependentSelector,
4
4
  d as dependentSelectorAgent
@@ -1,4 +1,4 @@
1
- import { D as a, d as c } from "../../_chunks/document-scanner-CTubA0-N.js";
1
+ import { D as a, d as c } from "../../_chunks/document-scanner-C_AxLooF.js";
2
2
  export {
3
3
  a as DocumentScanner,
4
4
  c as documentScannerAgent
@@ -1,5 +1,5 @@
1
- import { D as e } from "../../_chunks/due-date-calculator-BTmsIQqD.js";
2
- import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-35ebkcZT.js";
1
+ import { D as e } from "../../_chunks/due-date-calculator-Brdj-euS.js";
2
+ import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-CwXrQRm1.js";
3
3
  export {
4
4
  r as CRL_DATING_MAX_MM,
5
5
  o as CRL_DATING_MIN_MM,
@@ -1 +1 @@
1
- {"version":3,"file":"email-input.d.ts","sourceRoot":"","sources":["../../../src/components/email-input/email-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAOf,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAe/D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,cAAc,EACd,MAAM,GAAG,cAAc,GAAG,WAAW,GAAG,MAAM,CAC/C;IACC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAeD,eAAO,MAAM,UAAU,8GA4LtB,CAAC"}
1
+ {"version":3,"file":"email-input.d.ts","sourceRoot":"","sources":["../../../src/components/email-input/email-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAOf,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAe/D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,cAAc,EACd,MAAM,GAAG,cAAc,GAAG,WAAW,GAAG,MAAM,CAC/C;IACC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAeD,eAAO,MAAM,UAAU,8GAmMtB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { E as t, e as m } from "../../_chunks/email-input-B_Y55f5G.js";
1
+ import { E as t, e as m } from "../../_chunks/email-input-DJ7EXklP.js";
2
2
  export {
3
3
  t as EmailInput,
4
4
  m as emailInputAgent
@@ -0,0 +1,43 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ /** A corpus stat shown in the header (e.g. `{ value: 5, label: 'care plans' }`). */
3
+ export interface EntitySummaryStat {
4
+ value: string | number;
5
+ label: string;
6
+ }
7
+ /** One narrative section — a heading over a list of bullet items. */
8
+ export interface EntitySummarySection {
9
+ id: string;
10
+ heading: string;
11
+ /** `attention` renders the risk-flag treatment (warning-tinted, alert glyph). */
12
+ tone?: 'default' | 'attention';
13
+ /** Bullet items — `ReactNode` so consumers compose inline entity links. */
14
+ items: ReactNode[];
15
+ }
16
+ export interface EntitySummaryProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'children'> {
17
+ /** Panel title. Defaults to the localised "AI summary". */
18
+ title?: string;
19
+ /** Entity name shown as a link in the header. */
20
+ entityName?: string;
21
+ /** Entity href for the name link. */
22
+ entityHref?: string;
23
+ /** ISO-8601 instant the brief was generated. */
24
+ generatedAtIso?: string;
25
+ /** Corpus the brief was built from, shown as a "·"-joined line. */
26
+ stats?: EntitySummaryStat[];
27
+ /** The narrative sections, in order. */
28
+ sections: EntitySummarySection[];
29
+ /** Regenerate the brief. Omit to hide the affordance. */
30
+ onRegenerate?: () => void;
31
+ /** Regenerate-button label. */
32
+ regenerateLabel?: string;
33
+ /** Dismiss the panel. Omit to hide the close affordance. */
34
+ onClose?: () => void;
35
+ /** Footer disclaimer. Defaults to the BETA clinical-judgement note. */
36
+ disclaimer?: ReactNode;
37
+ /** BCP-47 locale for the generated-at timestamp. */
38
+ locale?: string;
39
+ /** Accessible name for the panel region (defaults to `title`). */
40
+ 'aria-label'?: string;
41
+ }
42
+ export declare const EntitySummary: import("react").ForwardRefExoticComponent<EntitySummaryProps & import("react").RefAttributes<HTMLElement>>;
43
+ //# sourceMappingURL=entity-summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-summary.d.ts","sourceRoot":"","sources":["../../../src/components/entity-summary/entity-summary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAsB/E,oFAAoF;AACpF,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qEAAqE;AACrE,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAC/B,2EAA2E;IAC3E,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAC9C,cAAc,CAAC,WAAW,CAAC,EAC3B,OAAO,GAAG,UAAU,CACrB;IACC,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mEAAmE;IACnE,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC5B,wCAAwC;IACxC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,+BAA+B;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,uEAAuE;IACvE,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,4GA8HzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { EntitySummary } from './entity-summary';
2
+ export type { EntitySummaryProps, EntitySummarySection, EntitySummaryStat, } from './entity-summary';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/entity-summary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,YAAY,EACV,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { E as t } from "../../_chunks/entity-summary-BxRjFh_4.js";
2
+ export {
3
+ t as EntitySummary
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- import { F as a, e as i } from "../../_chunks/fetal-weight-CRz7KE2D.js";
1
+ import { F as a, e as i } from "../../_chunks/fetal-weight-DNCkyeVo.js";
2
2
  export {
3
3
  a as FetalWeight,
4
4
  i as estimateFetalWeight
@@ -1,4 +1,4 @@
1
- import { F as l, f as o } from "../../_chunks/file-upload-5ScQd4fE.js";
1
+ import { F as l, f as o } from "../../_chunks/file-upload-DwZcAK8D.js";
2
2
  export {
3
3
  l as FileUpload,
4
4
  o as fileUploadAgent
@@ -1,4 +1,4 @@
1
- import { F as m, f as l } from "../../_chunks/freemium-paywall-DZ2mBS3w.js";
1
+ import { F as m, f as l } from "../../_chunks/freemium-paywall-WYlNO7yT.js";
2
2
  export {
3
3
  m as FreemiumPaywall,
4
4
  l as freemiumPaywallAgent