@alfadocs/ui-kit 1.150.0 → 1.151.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 (261) hide show
  1. package/dist/_chunks/{address-autocomplete-_LeOFdM7.js → address-autocomplete-Bt1nwxyn.js} +2 -2
  2. package/dist/_chunks/{address-fields-C4khof4C.js → address-fields-COumFRSX.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-NgxPuAAz.js → agenda-tray-CmfcYQhc.js} +2 -2
  4. package/dist/_chunks/{ai-summary-panel-D-RNe-_n.js → ai-summary-panel-DyAHCqaj.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-Bjuxk8mU.js → alia-sidebar-BqZjnVoF.js} +2 -2
  6. package/dist/_chunks/{anamnesis-card-G0qzw0Oi.js → anamnesis-card-CoiG7vDj.js} +2 -2
  7. package/dist/_chunks/{anamnesis-summary-rows-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js} +3 -3
  8. package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
  9. package/dist/_chunks/{appointment-details-panel.history-BO31ZFQp.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
  10. package/dist/_chunks/{appointment-details-panel.identity-C9kWtC6m.js → appointment-details-panel.identity-9hRo85Lx.js} +4 -4
  11. package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
  12. package/dist/_chunks/{appointment-timeline-ynFqcw0S.js → appointment-timeline-COfoHpoJ.js} +2 -2
  13. package/dist/_chunks/{appointment-tray-Dx5VDREk.js → appointment-tray-BlKwDJKi.js} +2 -2
  14. package/dist/_chunks/{balance-badge-cell-DiyJQcmA.js → balance-badge-cell-OghXENKK.js} +3 -3
  15. package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
  16. package/dist/_chunks/{calendar-appointment-editor-dialog-BfoEpFVx.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +337 -334
  17. package/dist/_chunks/{calendar-editor-discard-host-DO506cJu.js → calendar-editor-discard-host-BudLsUZO.js} +3 -3
  18. package/dist/_chunks/{calendar-waiting-list-panel-CyMTv2y3.js → calendar-waiting-list-panel-DukgSOPH.js} +7 -7
  19. package/dist/_chunks/{calendar-workspace.model-X3aXbDTo.js → calendar-workspace.model-BulUpy0I.js} +2 -2
  20. package/dist/_chunks/{calendar.sheets-C8x8kPb4.js → calendar.sheets-OmTiQdCg.js} +8 -8
  21. package/dist/_chunks/{calls-panel-Bpemmnpd.js → calls-panel-eohONLia.js} +3 -3
  22. package/dist/_chunks/code-BfU9G1ZM.js +15 -0
  23. package/dist/_chunks/{communications-panel-Cd0TBEhL.js → communications-panel-CqiFs8BH.js} +3 -3
  24. package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
  25. package/dist/_chunks/control-room-rail-BmpTKtL1.js +456 -0
  26. package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
  27. package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
  28. package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
  29. package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
  30. package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
  31. package/dist/_chunks/{document-preview-Zws6CHhK.js → document-preview-TbwhY_eK.js} +3 -3
  32. package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
  33. package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
  34. package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
  35. package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
  36. package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
  37. package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
  38. package/dist/_chunks/{feature-preview-switch-PKeLaFry.js → feature-preview-switch-B_8JTya_.js} +2 -2
  39. package/dist/_chunks/{file-manager-DzOCQBAO.js → file-manager-DMvYx-Gq.js} +4 -4
  40. package/dist/_chunks/{folder-CH9PJHou.js → folder-DvNxod7_.js} +3 -3
  41. package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
  42. package/dist/_chunks/{help-me-write-templates-B_wMJ82X.js → help-me-write-templates-VnvlK87x.js} +2 -2
  43. package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
  44. package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
  45. package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
  46. package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
  47. package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
  48. package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
  49. package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
  50. package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
  51. package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
  52. package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
  53. package/dist/_chunks/{notes-panel-BguRX8VC.js → notes-panel-d0I3hOEY.js} +162 -173
  54. package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
  55. package/dist/_chunks/{optical-prescription-BzGnlIjq.js → optical-prescription-CAnXavjq.js} +2 -2
  56. package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
  57. package/dist/_chunks/{panel-subview-Om_yZvFG.js → panel-subview-B5hnQwfQ.js} +2 -2
  58. package/dist/_chunks/{patient-account-settings-YKnBzmwE.js → patient-account-settings-DQx_9CYV.js} +3 -3
  59. package/dist/_chunks/{patient-check-in-resume-DERfQbp5.js → patient-check-in-resume-BOHcm9hT.js} +5 -5
  60. package/dist/_chunks/{patient-details-BUD0UbmT.js → patient-details-wFIzTz7N.js} +3 -3
  61. package/dist/_chunks/{patient-field-row-DytaHdGw.js → patient-field-row-BDgfYLgz.js} +2 -2
  62. package/dist/_chunks/{patient-summary-card-7Werxl48.js → patient-summary-card-ZunOre3Q.js} +162 -155
  63. package/dist/_chunks/{payment-request-card-BF3rakTQ.js → payment-request-card-BSSfKrcc.js} +2 -2
  64. package/dist/_chunks/{portal-details-C1QQGPQf.js → portal-details-R-lwrisO.js} +4 -4
  65. package/dist/_chunks/{portal-documents-CzEuCaqv.js → portal-documents-C6XlWpEl.js} +3 -3
  66. package/dist/_chunks/{portal-parts-BMW4t57s.js → portal-parts-DlvSUZFX.js} +2 -2
  67. package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
  68. package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
  69. package/dist/_chunks/{privacy-mask-CrjD5PYW.js → privacy-mask-CaLBAxzj.js} +2 -2
  70. package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
  71. package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
  72. package/dist/_chunks/{radiograph-panel.agent-Kl1M0dtT.js → radiograph-panel.agent-kgCmmgZk.js} +2 -2
  73. package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
  74. package/dist/_chunks/{registry-connection-panel-kdKbGQE6.js → registry-connection-panel-BkPPA3Fj.js} +3 -3
  75. package/dist/_chunks/{reserved.agent-CW0frsMv.js → reserved.agent-C-sMq0pb.js} +4 -4
  76. package/dist/_chunks/{reviews-panel-54AFY6uy.js → reviews-panel-jIz5aP2X.js} +3 -3
  77. package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
  78. package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
  79. package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
  80. package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
  81. package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
  82. package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
  83. package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
  84. package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
  85. package/dist/_chunks/{task-editor-CIHQQRtP.js → task-editor-aXjGMwYA.js} +4 -4
  86. package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
  87. package/dist/_chunks/{tasks-panel-Bc_odkQN.js → tasks-panel-BdxHb-fX.js} +2 -2
  88. package/dist/_chunks/{tool-rail-CJBtqzMs.js → tool-rail-B4p6MmxA.js} +253 -250
  89. package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
  90. package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
  91. package/dist/_chunks/{treatment-receipt-B6m47Jie.js → treatment-receipt-CZQV1NkJ.js} +45 -46
  92. package/dist/_chunks/{use-appointment-details-read-HVHbR0Zl.js → use-appointment-details-read-BR3TQOHx.js} +878 -809
  93. package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
  94. package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
  95. package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
  96. package/dist/agent-catalog.json +1 -1
  97. package/dist/appointment-editor-panel/index.js +3 -3
  98. package/dist/booking-tools-data/index.js +1 -1
  99. package/dist/browser-support.js +1 -1
  100. package/dist/calendar-action-buttons/index.js +1 -1
  101. package/dist/components/_shared/mark-adrift.d.ts +12 -0
  102. package/dist/components/_shared/safe-html.d.ts +6 -0
  103. package/dist/components/_shared/tooth-chip.d.ts +21 -0
  104. package/dist/components/address-autocomplete/index.js +1 -1
  105. package/dist/components/address-fields/index.js +1 -1
  106. package/dist/components/agenda-tray/index.js +1 -1
  107. package/dist/components/ai-summary-panel/index.js +1 -1
  108. package/dist/components/anamnesis-card/index.js +1 -1
  109. package/dist/components/app-frame/index.js +1 -1
  110. package/dist/components/appointment-card/index.js +1 -1
  111. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +9 -2
  112. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +9 -2
  113. package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
  114. package/dist/components/appointment-details-panel/index.d.ts +1 -0
  115. package/dist/components/appointment-details-panel/index.js +7 -6
  116. package/dist/components/appointment-peek/index.js +1 -1
  117. package/dist/components/appointment-timeline/index.js +1 -1
  118. package/dist/components/bill-line-table/index.js +1 -1
  119. package/dist/components/bill-table/index.js +1 -1
  120. package/dist/components/booking/index.js +1 -1
  121. package/dist/components/calls-panel/index.js +1 -1
  122. package/dist/components/communications-panel/index.js +1 -1
  123. package/dist/components/connection-status/index.js +1 -1
  124. package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
  125. package/dist/components/control-room-rail/index.js +1 -1
  126. package/dist/components/data-grid/index.js +2 -2
  127. package/dist/components/data-table/index.js +3 -3
  128. package/dist/components/description-list/index.js +1 -1
  129. package/dist/components/dev-bypass-button/index.js +1 -1
  130. package/dist/components/document-preview/index.js +1 -1
  131. package/dist/components/empty-state/index.js +1 -1
  132. package/dist/components/error-boundary/index.js +1 -1
  133. package/dist/components/face-scheme/index.js +1 -1
  134. package/dist/components/feature-preview-switch/index.js +1 -1
  135. package/dist/components/file-manager/index.js +1 -1
  136. package/dist/components/heatmap/index.js +1 -1
  137. package/dist/components/info-tip/index.js +1 -1
  138. package/dist/components/invoice-upload-list/index.js +1 -1
  139. package/dist/components/map-view/index.js +1 -1
  140. package/dist/components/message-tray/index.js +1 -1
  141. package/dist/components/note-timeline/index.js +1 -1
  142. package/dist/components/note-timeline/note-timeline.d.ts +8 -0
  143. package/dist/components/notes-panel/index.js +1 -1
  144. package/dist/components/notes-panel/notes-panel.d.ts +18 -7
  145. package/dist/components/notification-tray/index.js +1 -1
  146. package/dist/components/optical-prescription/index.js +1 -1
  147. package/dist/components/panel-subview/index.js +1 -1
  148. package/dist/components/patient-details/index.js +1 -1
  149. package/dist/components/patient-summary-card/index.js +1 -1
  150. package/dist/components/patient-table/index.js +1 -1
  151. package/dist/components/payment-card/index.js +1 -1
  152. package/dist/components/practice-results/index.js +1 -1
  153. package/dist/components/product-hub-tray/index.js +1 -1
  154. package/dist/components/public-header/index.js +1 -1
  155. package/dist/components/radiograph-panel/index.js +1 -1
  156. package/dist/components/registry-connection-panel/index.js +1 -1
  157. package/dist/components/reviews-panel/index.js +1 -1
  158. package/dist/components/rich-text-editor/editor-toolbar.d.ts +16 -6
  159. package/dist/components/rich-text-editor/index.d.ts +1 -1
  160. package/dist/components/rich-text-editor/index.js +1 -1
  161. package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
  162. package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
  163. package/dist/components/scroll-area/index.js +1 -1
  164. package/dist/components/scroll-area/scroll-area.d.ts +6 -0
  165. package/dist/components/sheet/index.js +1 -1
  166. package/dist/components/sidebar/index.js +1 -1
  167. package/dist/components/slot-grid/index.js +1 -1
  168. package/dist/components/sync-tray/index.js +1 -1
  169. package/dist/components/task-editor/index.js +1 -1
  170. package/dist/components/task-tray/index.js +1 -1
  171. package/dist/components/tasks-panel/index.js +1 -1
  172. package/dist/components/tool-rail/index.js +1 -1
  173. package/dist/components/tool-rail/tool-rail.d.ts +11 -0
  174. package/dist/components/treatment-receipt/index.js +1 -1
  175. package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
  176. package/dist/components/week-availability/index.js +1 -1
  177. package/dist/components/workflow/index.js +1 -1
  178. package/dist/core.css +1 -1
  179. package/dist/find-free-slots-panel/index.js +1 -1
  180. package/dist/host-compat.css +4 -1
  181. package/dist/host-legacy.css +13 -1
  182. package/dist/i18n/locales/ar.d.ts +9 -0
  183. package/dist/i18n/locales/ar.js +11 -2
  184. package/dist/i18n/locales/de.d.ts +9 -0
  185. package/dist/i18n/locales/de.js +11 -2
  186. package/dist/i18n/locales/el.d.ts +9 -0
  187. package/dist/i18n/locales/el.js +11 -2
  188. package/dist/i18n/locales/en.d.ts +9 -0
  189. package/dist/i18n/locales/en.js +10 -1
  190. package/dist/i18n/locales/es.d.ts +9 -0
  191. package/dist/i18n/locales/es.js +11 -2
  192. package/dist/i18n/locales/fr.d.ts +9 -0
  193. package/dist/i18n/locales/fr.js +11 -2
  194. package/dist/i18n/locales/hi.d.ts +9 -0
  195. package/dist/i18n/locales/hi.js +11 -2
  196. package/dist/i18n/locales/it.d.ts +9 -0
  197. package/dist/i18n/locales/it.js +11 -2
  198. package/dist/i18n/locales/ja.d.ts +9 -0
  199. package/dist/i18n/locales/ja.js +11 -2
  200. package/dist/i18n/locales/nl.d.ts +9 -0
  201. package/dist/i18n/locales/nl.js +11 -2
  202. package/dist/i18n/locales/pl.d.ts +9 -0
  203. package/dist/i18n/locales/pl.js +11 -2
  204. package/dist/i18n/locales/pt.d.ts +9 -0
  205. package/dist/i18n/locales/pt.js +11 -2
  206. package/dist/i18n/locales/ro.d.ts +9 -0
  207. package/dist/i18n/locales/ro.js +11 -2
  208. package/dist/i18n/locales/ru.d.ts +9 -0
  209. package/dist/i18n/locales/ru.js +11 -2
  210. package/dist/i18n/locales/sq.d.ts +9 -0
  211. package/dist/i18n/locales/sq.js +11 -2
  212. package/dist/i18n/locales/sv.d.ts +9 -0
  213. package/dist/i18n/locales/sv.js +11 -2
  214. package/dist/i18n/locales/tr.d.ts +9 -0
  215. package/dist/i18n/locales/tr.js +11 -2
  216. package/dist/i18n/locales/zh.d.ts +9 -0
  217. package/dist/i18n/locales/zh.js +11 -2
  218. package/dist/index.js +817 -816
  219. package/dist/locales/ar.json +11 -2
  220. package/dist/locales/de.json +11 -2
  221. package/dist/locales/el.json +11 -2
  222. package/dist/locales/en.json +10 -1
  223. package/dist/locales/es.json +11 -2
  224. package/dist/locales/fr.json +11 -2
  225. package/dist/locales/hi.json +11 -2
  226. package/dist/locales/it.json +11 -2
  227. package/dist/locales/ja.json +11 -2
  228. package/dist/locales/nl.json +11 -2
  229. package/dist/locales/pl.json +11 -2
  230. package/dist/locales/pt.json +11 -2
  231. package/dist/locales/ro.json +11 -2
  232. package/dist/locales/ru.json +11 -2
  233. package/dist/locales/sq.json +11 -2
  234. package/dist/locales/sv.json +11 -2
  235. package/dist/locales/tr.json +11 -2
  236. package/dist/locales/zh.json +11 -2
  237. package/dist/online-bookings-panel/index.js +2 -2
  238. package/dist/patterns/alia-assistant/index.js +1 -1
  239. package/dist/patterns/anamnesis/index.js +1 -1
  240. package/dist/patterns/calendar/index.js +4 -4
  241. package/dist/patterns/error-page/index.js +2 -2
  242. package/dist/patterns/help-me-write-templates/index.js +1 -1
  243. package/dist/patterns/login-form/index.js +1 -1
  244. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  245. package/dist/patterns/patient-account-settings/index.js +1 -1
  246. package/dist/patterns/patient-check-in/index.js +1 -1
  247. package/dist/patterns/patient-portal/index.js +2 -2
  248. package/dist/patterns/prescription/index.js +1 -1
  249. package/dist/patterns/registration-form/index.js +1 -1
  250. package/dist/patterns/signed-out-frame/index.js +1 -1
  251. package/dist/patterns/signing/index.js +1 -1
  252. package/dist/redactor.css +9 -0
  253. package/dist/safe-html/index.js +33 -19
  254. package/dist/tokens.css +61 -52
  255. package/dist/waiting-list-panel/index.js +3 -3
  256. package/package.json +1 -1
  257. package/dist/_chunks/appointment-peek-CGJ6kUvM.js +0 -213
  258. package/dist/_chunks/control-room-rail-4W1MFY-g.js +0 -416
  259. package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
  260. package/dist/_chunks/rich-text-editor-DCQEpaIv.js +0 -4523
  261. /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
@@ -74,6 +74,14 @@ export interface NoteTimelineProps extends Omit<HTMLAttributes<HTMLDivElement>,
74
74
  onNoteActivate?: (id: string) => void;
75
75
  /** Lines each note body clamps to. Default 3. */
76
76
  lines?: 1 | 2 | 3 | 4 | 5;
77
+ /**
78
+ * `'rich'` (default) renders each note with its formatting. `'plain'`
79
+ * shows its words only, for a short preview: a clamp of two or three lines
80
+ * keeps some formatting (a centred line, a link colour) and drops the
81
+ * rest (a table, an image), which reads as broken. A note with no words
82
+ * (a picture alone) still renders rich.
83
+ */
84
+ bodyFormat?: 'rich' | 'plain';
77
85
  /** Locale for the date gutter. Defaults to the active i18n language. */
78
86
  locale?: string;
79
87
  /**
@@ -1,4 +1,4 @@
1
- import { N as a } from "../../_chunks/notes-panel-BguRX8VC.js";
1
+ import { N as a } from "../../_chunks/notes-panel-d0I3hOEY.js";
2
2
  export {
3
3
  a as NotesPanel
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { type HTMLAttributes, type ReactNode } from 'react';
2
2
  import type { ClinicalNoteCardProps } from '../clinical-note-card';
3
- import type { RichTextEditorProps, RichTextEditorToolbar, RedactorFactory, AiConsentGate } from '../rich-text-editor';
3
+ import type { RichTextEditorProps, RichTextEditorTool, RichTextEditorToolbar, RedactorFactory, AiConsentGate } from '../rich-text-editor';
4
4
  /**
5
5
  * One note in the panel — the data subset of `ClinicalNoteCard`.
6
6
  *
@@ -160,16 +160,24 @@ export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
160
160
  * lightweight surfaces / deterministic tests.
161
161
  */
162
162
  composer?: 'rich' | 'plain';
163
- /** Toolbar preset for the rich composer. Defaults to `'standard'`. */
163
+ /**
164
+ * Toolbar preset for the rich composer. Defaults to `'standard'`. `'full'`
165
+ * is every tool with nothing more to pass (the table tool needs the
166
+ * engine's table plugin loaded, the image tool an upload). `'custom'`
167
+ * shows `editorTools`.
168
+ */
164
169
  editorToolbar?: RichTextEditorToolbar;
170
+ /** The tools of `editorToolbar="custom"`, by id. */
171
+ editorTools?: readonly RichTextEditorTool[];
165
172
  /** Inject the Redactor factory for the rich composer (else `window.$R`). */
166
173
  redactor?: RedactorFactory;
167
174
  /** Consumer image-upload endpoint for the rich composer. */
168
175
  imageUploadUrl?: string;
169
176
  /**
170
- * Redactor plugins the host has loaded, passed to the rich composer. They
171
- * switch on its tools: `'table'`, `'fontcolor'` (text colour and highlight)
172
- * and `'fontsize'` (text size). The kit never bundles the plugin files.
177
+ * Redactor plugins the host has loaded, passed to the rich composer. Not
178
+ * needed with `'full'` or `'custom'`. In `'standard'` they add tools:
179
+ * `'table'`, `'fontcolor'` (text colour and highlight) and `'fontsize'`
180
+ * (text size). The kit never bundles the plugin files.
173
181
  */
174
182
  editorPlugins?: string[];
175
183
  /** Show the "clinical note" toggle in the composer. Default `true`. */
@@ -318,8 +326,8 @@ export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
318
326
  /** Panel heading. Defaults to the localised "Notes". */
319
327
  title?: string;
320
328
  /**
321
- * The patient the notes belong to, shown in the header under the title
322
- * with their avatar, so the reader always sees whose record they are
329
+ * The patient the notes belong to, shown in a compact card pinned under
330
+ * the title with their avatar, so the reader always sees whose record they are
323
331
  * writing in. Pass the name as the host shows it elsewhere: masked under
324
332
  * privacy mode. Absent = no line (a patient page that already names the
325
333
  * patient).
@@ -331,6 +339,9 @@ export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
331
339
  * without `patientName`.
332
340
  */
333
341
  patientAvatarSrc?: string;
342
+ /** The patient card's corner button: open the patient's folder, say.
343
+ * Ignored without `patientName`. */
344
+ patientAction?: ReactNode;
334
345
  /** Composer placeholder. */
335
346
  composerPlaceholder?: string;
336
347
  /** Save-button label. */
@@ -1,4 +1,4 @@
1
- import { N as o, n as t } from "../../_chunks/notification-tray-BnC5OItw.js";
1
+ import { N as o, n as t } from "../../_chunks/notification-tray-CjGDlwLg.js";
2
2
  export {
3
3
  o as NotificationTray,
4
4
  t as notificationTrayAgent
@@ -1,4 +1,4 @@
1
- import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-BzGnlIjq.js";
1
+ import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-CAnXavjq.js";
2
2
  export {
3
3
  S as ADD_MAX,
4
4
  r as ADD_MIN,
@@ -1,4 +1,4 @@
1
- import { P as o } from "../../_chunks/panel-subview-Om_yZvFG.js";
1
+ import { P as o } from "../../_chunks/panel-subview-B5hnQwfQ.js";
2
2
  import { p as r } from "../../_chunks/panel-subview.agent-BIBvE-IW.js";
3
3
  export {
4
4
  o as PanelSubview,
@@ -1,4 +1,4 @@
1
- import { P as e, p as i } from "../../_chunks/patient-details-BUD0UbmT.js";
1
+ import { P as e, p as i } from "../../_chunks/patient-details-wFIzTz7N.js";
2
2
  export {
3
3
  e as PatientDetails,
4
4
  i as patientDetailsAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as m } from "../../_chunks/patient-summary-card-7Werxl48.js";
1
+ import { P as t, p as m } from "../../_chunks/patient-summary-card-ZunOre3Q.js";
2
2
  export {
3
3
  t as PatientSummaryCard,
4
4
  m as patientSummaryCardAgent
@@ -1,4 +1,4 @@
1
- import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-DiyJQcmA.js";
1
+ import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-OghXENKK.js";
2
2
  export {
3
3
  s as BalanceBadgeCell,
4
4
  l as CarePlanStatusCell,
@@ -1,4 +1,4 @@
1
- import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-BF3rakTQ.js";
1
+ import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-BSSfKrcc.js";
2
2
  export {
3
3
  t as PaymentCard,
4
4
  n as PaymentRequestCard,
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-D0TAgL8v.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-CqoB5YAv.js";
2
2
  export {
3
3
  t as PracticeResults,
4
4
  a as practiceResultsAgent
@@ -1,4 +1,4 @@
1
- import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-NVpRuJeW.js";
1
+ import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-RJzrDcGp.js";
2
2
  import { i as s } from "../../_chunks/is-safe-url-CEy9CEml.js";
3
3
  export {
4
4
  u as ProductHubPanel,
@@ -1,4 +1,4 @@
1
- import { P as r, p } from "../../_chunks/public-header.agent-Dzo6ujrE.js";
1
+ import { P as r, p } from "../../_chunks/public-header.agent-B2CqVq4s.js";
2
2
  export {
3
3
  r as PublicHeader,
4
4
  p as publicHeaderAgent
@@ -1,4 +1,4 @@
1
- import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-Kl1M0dtT.js";
1
+ import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-kgCmmgZk.js";
2
2
  export {
3
3
  o as RadiographPanel,
4
4
  e as RadiographPanelIcon,
@@ -1,4 +1,4 @@
1
- import { R as o } from "../../_chunks/registry-connection-panel-kdKbGQE6.js";
1
+ import { R as o } from "../../_chunks/registry-connection-panel-BkPPA3Fj.js";
2
2
  export {
3
3
  o as RegistryConnectionPanel
4
4
  };
@@ -1,4 +1,4 @@
1
- import { R as r, r as s } from "../../_chunks/reviews-panel-54AFY6uy.js";
1
+ import { R as r, r as s } from "../../_chunks/reviews-panel-jIz5aP2X.js";
2
2
  export {
3
3
  r as ReviewsPanel,
4
4
  s as reviewsPanelAgent
@@ -1,12 +1,18 @@
1
1
  import { type ReactNode, type RefObject } from 'react';
2
2
  import type { RichTextEditorAiTemplate, RichTextEditorVariable } from './rich-text-editor';
3
- export type EditorToolbarPreset = 'minimal' | 'standard' | 'full';
3
+ export type EditorToolbarPreset = 'minimal' | 'standard' | 'full' | 'custom';
4
+ /** Every tool the toolbar can draw, by id: the list a `custom` toolbar picks
5
+ * from. The toolbar keeps its own order whatever order the host writes. */
6
+ export declare const EDITOR_TOOLBAR_TOOLS: readonly ["undo", "redo", "format", "bold", "italic", "underline", "strike", "fontSize", "color", "highlight", "align", "ul", "ol", "outdent", "indent", "link", "image", "table", "line"];
7
+ export type EditorToolbarTool = (typeof EDITOR_TOOLBAR_TOOLS)[number];
4
8
  export interface EditorToolbarProps {
5
9
  /** Dispatch a Redactor command (and refresh active state). */
6
10
  run: (command: string, ...args: unknown[]) => void;
7
11
  /** Active formats at the caret — toggle buttons render pressed. */
8
12
  active: ReadonlySet<string>;
9
13
  preset: EditorToolbarPreset;
14
+ /** The tools of a `custom` toolbar. Ignored by the named presets. */
15
+ tools?: readonly EditorToolbarTool[];
10
16
  /** Insert sanitised HTML at the caret (link / image / table). */
11
17
  insertHtml: (html: string) => void;
12
18
  /** Insert a table — list-aware (drops it after a list, never inside an <li>). */
@@ -19,13 +25,17 @@ export interface EditorToolbarProps {
19
25
  getSelectedText: () => string;
20
26
  /** Upload an image file and resolve its URL (image dialog's upload area). */
21
27
  uploadImage?: (file: File, signal?: AbortSignal) => Promise<string>;
22
- /** Show the text-colour control. */
28
+ /** Show the text-colour and highlight controls in `minimal` and
29
+ * `standard` too. `full` always has them; `custom` lists them. */
23
30
  enableColor?: boolean;
24
- /** Show the text-size control (consumer loaded the fontsize plugin). */
31
+ /** Show the text-size control in `minimal` and `standard` too. `full`
32
+ * always has it; `custom` lists it. */
25
33
  enableFontSize?: boolean;
26
- /** Show the image control (consumer set an image-upload URL). */
34
+ /** The image tool can work: the host gave a way to upload. Without it no
35
+ * preset shows the tool. */
27
36
  enableImage?: boolean;
28
- /** Show the table control (consumer loaded the table plugin). */
37
+ /** The table tool can work: the engine has its table plugin. Without it
38
+ * no preset shows the tool. */
29
39
  enableTable?: boolean;
30
40
  /**
31
41
  * Show an "Editor extensions" tools affordance (marketplace tools), placed
@@ -107,5 +117,5 @@ export interface SelectionFloatingToolbarProps {
107
117
  children?: ReactNode;
108
118
  }
109
119
  export declare function SelectionFloatingToolbar({ active, run, areaRef, getEditorRoot, suppressed, holdOpen, children, }: SelectionFloatingToolbarProps): React.JSX.Element | null;
110
- export declare function EditorToolbar({ run, active, preset, insertHtml, insertTable, saveSelection, restoreSelection, getSelectedText, uploadImage, enableColor, enableFontSize, enableImage, enableTable, showExtensions, extensionControl, variables, recentVariableTokens, insertVariable, }: EditorToolbarProps): React.JSX.Element;
120
+ export declare function EditorToolbar({ run, active, preset, tools, insertHtml, insertTable, saveSelection, restoreSelection, getSelectedText, uploadImage, enableColor, enableFontSize, enableImage, enableTable, showExtensions, extensionControl, variables, recentVariableTokens, insertVariable, }: EditorToolbarProps): React.JSX.Element;
111
121
  //# sourceMappingURL=editor-toolbar.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export { RichTextEditor, wrapperVariants } from './rich-text-editor';
2
- export type { RichTextEditorHandle, RichTextEditorProps, RichTextEditorToolbar, RedactorFactory, AiConsentGate, RichTextEditorVariable, HelpMeWriteRenderContext, RichTextEditorAiTemplate, RichTextEditorAiTemplates, RichTextEditorAiActionRequest, RichTextEditorAiApplied, } from './rich-text-editor';
2
+ export type { RichTextEditorHandle, RichTextEditorProps, RichTextEditorToolbar, RichTextEditorTool, RedactorFactory, AiConsentGate, RichTextEditorVariable, HelpMeWriteRenderContext, RichTextEditorAiTemplate, RichTextEditorAiTemplates, RichTextEditorAiActionRequest, RichTextEditorAiApplied, } from './rich-text-editor';
3
3
  export { richTextEditorAgent } from './rich-text-editor.agent';
4
4
  export type { EditorExtension, EditorExtensionContext, EditorExtensionRenderContext, EditorExtensionRunContext, EditorExtensionRunResult, } from './editor-extensions';
5
5
  export { kitEditorExtensions } from './kit-extensions';
@@ -1,4 +1,4 @@
1
- import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-DCQEpaIv.js";
1
+ import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-DTadvKa7.js";
2
2
  import { k as s } from "../../_chunks/kit-extensions-CSPGIdcn.js";
3
3
  export {
4
4
  i as RichTextEditor,
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Relabels the link item of an open Redactor context bar. The link item is
3
+ * the bar's first anchor and the only one whose `href` is a real address:
4
+ * every action item has `href="#"`. An address the kit will not open is
5
+ * removed, so the bar offers Edit and Remove link only.
6
+ */
7
+ export declare function relabelLinkBar(bar: HTMLElement | null | undefined, label: string): void;
8
+ //# sourceMappingURL=link-bar.d.ts.map
@@ -2,14 +2,22 @@ import { type ReactNode } from 'react';
2
2
  import '../../tokens/themes/bridges/redactor-theme.css';
3
3
  import { type AiConsentBannerHeadingLevel, type AiConsentGate } from '../ai-permission-notice';
4
4
  import type { EditorExtension, EditorExtensionContext, EditorExtensionRunResult } from './editor-extensions';
5
+ import { type EditorToolbarTool } from './editor-toolbar';
5
6
  import { type AiCreditsNoticeProps } from '../ai-credits-notice';
6
7
  export type RedactorFactory = {
7
8
  (selector: string | HTMLElement, command?: unknown, ...args: unknown[]): unknown;
8
9
  /** Redactor 3 language API; custom adapters can supply their own language pack. */
9
10
  addLang?: (code: string, values: Record<string, string>) => void;
10
11
  lang?: Record<string, Record<string, string>>;
12
+ /** Redactor 3's registry of loaded plugins, by name. */
13
+ plugins?: Record<string, unknown>;
11
14
  };
12
- export type RichTextEditorToolbar = 'minimal' | 'standard' | 'full';
15
+ /** `minimal` and `standard` are short sets. `full` is every tool. `custom`
16
+ * is the tools the host lists in `tools`, for a context none of the three
17
+ * fits. */
18
+ export type RichTextEditorToolbar = 'minimal' | 'standard' | 'full' | 'custom';
19
+ /** A toolbar tool by id, for `toolbar="custom"`. */
20
+ export type RichTextEditorTool = EditorToolbarTool;
13
21
  /**
14
22
  * Patient AI-consent gate for the Help-me-write action and both dictation
15
23
  * mics (the editor's own, and the one inside the Help-me-write overlay).
@@ -131,8 +139,16 @@ export interface RichTextEditorProps {
131
139
  html: string;
132
140
  markdown: string;
133
141
  }) => void;
134
- /** Kit toolbar preset. */
142
+ /**
143
+ * Kit toolbar preset. `full` shows every tool with nothing more to pass:
144
+ * text size, colour and highlight are the kit's own; the table tool shows
145
+ * when the engine has its `table` plugin loaded, the image tool when
146
+ * `imageUploadUrl` or `onUploadImage` is given. `custom` shows `tools`.
147
+ */
135
148
  toolbar?: RichTextEditorToolbar;
149
+ /** The tools of `toolbar="custom"`, by id. The toolbar keeps its own
150
+ * order. Ignored by the named presets. */
151
+ tools?: readonly RichTextEditorTool[];
136
152
  /** Placeholder text — translates via useTranslation if omitted. */
137
153
  placeholder?: string;
138
154
  /** Read-only mode. */
@@ -152,7 +168,13 @@ export interface RichTextEditorProps {
152
168
  redactor?: RedactorFactory;
153
169
  /** Raw Redactor options, deep-merged LAST over the kit defaults (callbacks reserved). */
154
170
  options?: Record<string, unknown>;
155
- /** Redactor plugin names to enable (the consumer must register/load them). */
171
+ /**
172
+ * Redactor plugin names to enable (the consumer must register/load them).
173
+ * Not needed for the kit's own tools under `full` or `custom`: the kit
174
+ * turns the engine's `table` plugin on by itself when it is loaded. In
175
+ * `minimal` and `standard`, `'fontcolor'`, `'fontsize'` and `'table'`
176
+ * still add their tools.
177
+ */
156
178
  plugins?: string[];
157
179
  /** Select a consumer-owned native Redactor pack. Omit to use the kit translations. */
158
180
  lang?: string;
@@ -1,4 +1,4 @@
1
- import { S as l, a as o, b as e, c, d as S, e as s } from "../../_chunks/scroll-area-CY5SLYNw.js";
1
+ import { S as l, a as o, b as e, c, d as S, e as s } from "../../_chunks/scroll-area-RQtcKkHf.js";
2
2
  export {
3
3
  l as ScrollArea,
4
4
  o as ScrollAreaCorner,
@@ -33,6 +33,12 @@ export interface ScrollAreaProps extends Omit<ComponentPropsWithoutRef<typeof Sc
33
33
  * landmark: a region is a landmark, and axe rejects an aside nested in one.
34
34
  */
35
35
  role?: AriaRole;
36
+ /**
37
+ * Make the content at least as tall as the viewport, so a child that
38
+ * fills its parent (`height: 100%`) has a height to fill; taller content
39
+ * still scrolls. Vertical scroll areas only. Default `false`.
40
+ */
41
+ fillViewport?: boolean;
36
42
  className?: string;
37
43
  children: React.ReactNode;
38
44
  }
@@ -1,4 +1,4 @@
1
- import { S as t, s as a } from "../../_chunks/sheet-CZDjW9Q-.js";
1
+ import { S as t, s as a } from "../../_chunks/sheet-1LXzej6Q.js";
2
2
  export {
3
3
  t as Sheet,
4
4
  a as sheetAgent
@@ -1,4 +1,4 @@
1
- import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as g, i as n, j as l, k as m, l as c, m as p, n as u, o as I, p as P, q as f, r as h, s as v, t as A, u as B, v as C } from "../../_chunks/sidebar-D5DFYN5K.js";
1
+ import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as g, i as n, j as l, k as m, l as c, m as p, n as u, o as I, p as P, q as f, r as h, s as v, t as A, u as B, v as C } from "../../_chunks/sidebar-BV9JCgS4.js";
2
2
  import { u as T } from "../../_chunks/use-persistent-state-nZwZAnE9.js";
3
3
  export {
4
4
  r as Sidebar,
@@ -1,4 +1,4 @@
1
- import { S as i, f as t, i as e, s as r } from "../../_chunks/slot-grid-khIpy8Gx.js";
1
+ import { S as i, f as t, i as e, s as r } from "../../_chunks/slot-grid-DdqeF6PW.js";
2
2
  export {
3
3
  i as SlotGrid,
4
4
  t as findFirstAvailable,
@@ -1,4 +1,4 @@
1
- import { S as r, s as y, a as n } from "../../_chunks/sync-tray-BQD-HuA4.js";
1
+ import { S as r, s as y, a as n } from "../../_chunks/sync-tray-CSVGzuur.js";
2
2
  export {
3
3
  r as SyncTray,
4
4
  y as syncTrayAgent,
@@ -1,4 +1,4 @@
1
- import { T as o, t as r } from "../../_chunks/task-editor-CIHQQRtP.js";
1
+ import { T as o, t as r } from "../../_chunks/task-editor-aXjGMwYA.js";
2
2
  export {
3
3
  o as TaskEditor,
4
4
  r as taskEditorAgent
@@ -1,4 +1,4 @@
1
- import { T as s, t } from "../../_chunks/task-tray-CxxcGGgx.js";
1
+ import { T as s, t } from "../../_chunks/task-tray-C48Vq8nt.js";
2
2
  export {
3
3
  s as TaskTray,
4
4
  t as taskTrayAgent
@@ -1,4 +1,4 @@
1
- import { T as e, t } from "../../_chunks/tasks-panel-Bc_odkQN.js";
1
+ import { T as e, t } from "../../_chunks/tasks-panel-BdxHb-fX.js";
2
2
  export {
3
3
  e as TasksPanel,
4
4
  t as tasksPanelAgent
@@ -1,4 +1,4 @@
1
- import { T as l, t } from "../../_chunks/tool-rail-CJBtqzMs.js";
1
+ import { T as l, t } from "../../_chunks/tool-rail-B4p6MmxA.js";
2
2
  export {
3
3
  l as ToolRail,
4
4
  t as toolRailAgent
@@ -114,6 +114,17 @@ export interface ToolRailProps extends VariantProps<typeof railVariants> {
114
114
  * Enter / double-click resets to the token-driven default. Default `false`.
115
115
  */
116
116
  resizablePanel?: boolean;
117
+ /**
118
+ * Where the open panel sits. `'auto'` (default) docks it in the row,
119
+ * beside the content, and inside an `AppFrame` lays it over the content
120
+ * by itself when docking would leave `<main>` too narrow. `'overlay'`
121
+ * always lays it over the content, so the content keeps its full width:
122
+ * the choice a user makes with the Control Room rail's Float panel
123
+ * button. An overlaid panel closes on Escape from anywhere, and keeps its
124
+ * resize handle on the edge that faces the content. A phone's full
125
+ * screen is unchanged.
126
+ */
127
+ panelPlacement?: 'auto' | 'overlay';
117
128
  /**
118
129
  * Controlled committed panel width, px; `null` for the token-driven
119
130
  * default. Only meaningful when `resizablePanel` is `true` — the width
@@ -1,4 +1,4 @@
1
- import { T as r, i as a } from "../../_chunks/treatment-receipt-B6m47Jie.js";
1
+ import { T as r, i as a } from "../../_chunks/treatment-receipt-CZQV1NkJ.js";
2
2
  import { t as m } from "../../_chunks/treatment-receipt.agent-bpFm2RPH.js";
3
3
  export {
4
4
  r as TreatmentReceipt,
@@ -10,7 +10,12 @@ export interface TreatmentReceiptLine {
10
10
  name: string;
11
11
  /** Price-list code, shown muted after the name. */
12
12
  code?: string;
13
- /** Dental elements as the platform prints them ("36, 37"). */
13
+ /**
14
+ * The treatment's elements as the platform prints them ("36, 37"). The
15
+ * receipt draws the teeth among them as a tooth chip. Any other element
16
+ * (the "Generale" of a treatment on no tooth, a body or face area) is not
17
+ * drawn, so a non-dental plan shows no chip.
18
+ */
14
19
  elementsLabel?: string;
15
20
  /** Plan phases this line belongs to. */
16
21
  phases?: string[];
@@ -1,4 +1,4 @@
1
- import { W as e, a as i, f as n, n as l, s as A, v as o } from "../../_chunks/week-availability-D0tTll4q.js";
1
+ import { W as e, a as i, f as n, n as l, s as A, v as o } from "../../_chunks/week-availability-D00rMjsX.js";
2
2
  export {
3
3
  e as WEEK_AVAILABILITY_MAX_TONES,
4
4
  i as WeekAvailability,
@@ -1,4 +1,4 @@
1
- import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-F7OThorL.js";
1
+ import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-DLUTUZ27.js";
2
2
  export {
3
3
  r as CORE_PATIENT_FIELDS,
4
4
  e as WorkflowCard,