@alfadocs/ui-kit 0.72.2 → 0.75.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 (398) hide show
  1. package/dist/_chunks/actions-cell-renderer-DLrcSTK_.js +1546 -0
  2. package/dist/_chunks/{agenda-tray-loL2A3Cx.js → agenda-tray-CVf-jfWU.js} +3 -3
  3. package/dist/_chunks/{ai-consent-banner-Bke9m8VS.js → ai-consent-banner-DUhr1yNj.js} +2 -2
  4. package/dist/_chunks/{ai-prompt-input-TVI95hJD.js → ai-prompt-input-DziJCGLe.js} +3 -3
  5. package/dist/_chunks/{alia-sidebar-BV5lBSFR.js → alia-sidebar-w6B0TEx7.js} +8 -8
  6. package/dist/_chunks/{anamnesis-card-CWO4Ui9c.js → anamnesis-card-CJ5MNbkc.js} +2 -2
  7. package/dist/_chunks/{antenatal-schedule-timeline-CY-VsLok.js → antenatal-schedule-timeline-BzJZqS-8.js} +3 -3
  8. package/dist/_chunks/{appointment-card-Cy4FOkGP.js → appointment-card-DgKI5QKD.js} +2 -2
  9. package/dist/_chunks/{appointment-timeline-BWAPPk8F.js → appointment-timeline-DQTG0btW.js} +6 -6
  10. package/dist/_chunks/{appointment-tray-D3mk04TT.js → appointment-tray-ezyCZN8v.js} +4 -4
  11. package/dist/_chunks/{ar-BOqyIfoY.js → ar-B1GhtlBP.js} +2 -2
  12. package/dist/_chunks/{columns-2-8lq4-b8e.js → arrow-up-right-C2v_MKsK.js} +5 -5
  13. package/dist/_chunks/{audio-recorder-BbjG55dP.js → audio-recorder-Cc3KuL9y.js} +4 -4
  14. package/dist/_chunks/{benefit-card-Xnxj4Gmo.js → benefit-card-DB1Kdrmc.js} +4 -2
  15. package/dist/_chunks/{bishop-score-C6eoak_j.js → bishop-score-DDW5-gb9.js} +3 -3
  16. package/dist/_chunks/{bmi-calculator-BmQfoEGP.js → bmi-calculator-Bk2GAju7.js} +2 -2
  17. package/dist/_chunks/{booking-B62CMY5k.js → booking-B1Qkcl3c.js} +9 -9
  18. package/dist/_chunks/{button-DD_0Xdmr.js → button-CPGiR_bH.js} +56 -35
  19. package/dist/_chunks/button-group-DzV5wgnx.js +289 -0
  20. package/dist/_chunks/camera-VSklPDCv.js +21 -0
  21. package/dist/_chunks/{care-plan-card-DhXbfGzE.js → care-plan-card-BrwhyIJI.js} +3 -3
  22. package/dist/_chunks/{care-plan-entry-card-D3YGD6rj.js → care-plan-entry-card-DWEdCQM3.js} +3 -3
  23. package/dist/_chunks/{care-plan-header-DtQxyfOb.js → care-plan-header-BXvRpGG8.js} +2 -2
  24. package/dist/_chunks/{carousel.agent-j7hWxJWr.js → carousel.agent-CtAAdsAd.js} +2 -2
  25. package/dist/_chunks/{chat-container-BVCoN06N.js → chat-container-HlFnoEIl.js} +4 -2
  26. package/dist/_chunks/{chat-input-Btq_uuMZ.js → chat-input-BTCDqUDX.js} +2 -2
  27. package/dist/_chunks/{chat-message-DXjjM8z9.js → chat-message-CdjWqZjo.js} +3 -3
  28. package/dist/_chunks/{code-block-Cwi7e3HM.js → code-block-BwanBjRh.js} +2 -2
  29. package/dist/_chunks/{connection-status-0HajXMXM.js → connection-status-oEUyrvev.js} +3 -3
  30. package/dist/_chunks/{contact-profile-card-IggiUVpN.js → contact-profile-card-veMV3W4J.js} +2 -2
  31. package/dist/_chunks/{control-room-rail-DaGcsdZ6.js → control-room-rail-CdfrZ6Vr.js} +3 -3
  32. package/dist/_chunks/{copy-field-PAp0-Wr5.js → copy-field-DBc9QquW.js} +2 -2
  33. package/dist/_chunks/{cycle-calculator-BNILyVas.js → cycle-calculator-OQp8Ik5U.js} +4 -4
  34. package/dist/_chunks/data-table-tabs-BEUXiRlu.js +710 -0
  35. package/dist/_chunks/{date-picker-CVkD_lOi.js → date-picker-DzQS8mvt.js} +2 -2
  36. package/dist/_chunks/{date-picker-variants-DLg-ZrIo.js → date-picker-variants-CYQAm1Gk.js} +116 -115
  37. package/dist/_chunks/{date-range-picker-Dw12DgV8.js → date-range-picker-Cbz1SKhm.js} +3 -3
  38. package/dist/_chunks/{date-time-picker-Cd_OJtOy.js → date-time-picker-B5IpU-nd.js} +2 -2
  39. package/dist/_chunks/{de-DFLsUxeV.js → de-DETDHQ0o.js} +2 -2
  40. package/dist/_chunks/{description-list-CmBVxIF5.js → description-list-ClNLdRMy.js} +2 -2
  41. package/dist/_chunks/document-preview-CGSM_au9.js +181 -0
  42. package/dist/_chunks/{document-scanner-B23j4w7X.js → document-scanner-B6h1Ir56.js} +198 -230
  43. package/dist/_chunks/{due-date-calculator-CmdAl_JO.js → due-date-calculator-DASNRgnH.js} +4 -4
  44. package/dist/_chunks/{editable-currency-cell-renderer-z9fJFw6Z.js → editable-currency-cell-renderer-GwfA9tTR.js} +3 -3
  45. package/dist/_chunks/{editor-overlay-BIOzr8v7.js → editor-overlay-DE3esyio.js} +2 -2
  46. package/dist/_chunks/{el-OVjBKytp.js → el-HV3jOI0z.js} +2 -2
  47. package/dist/_chunks/{empty-state-BLy7tigq.js → empty-state-CrLsi0XI.js} +2 -2
  48. package/dist/_chunks/{entity-summary-DpGziDv5.js → entity-summary--vP698Jn.js} +3 -3
  49. package/dist/_chunks/eraser-CHOGQfVv.js +21 -0
  50. package/dist/_chunks/{es-DKDNrHXG.js → es-Dpo7Olwo.js} +2 -2
  51. package/dist/_chunks/face-scheme-C0rk21gg.js +3146 -0
  52. package/dist/_chunks/{fetal-weight-CVAH8sJ3.js → fetal-weight-1F9N4IMx.js} +2 -2
  53. package/dist/_chunks/{field-array-CDzc3hTM.js → field-array-DH3Mb1i8.js} +3 -3
  54. package/dist/_chunks/{field-value-Dj3i52H2.js → field-value-DHG6gEKS.js} +5 -5
  55. package/dist/_chunks/file-Cwe9VC1A.js +40 -0
  56. package/dist/_chunks/file-manager-UF8dkQF1.js +1776 -0
  57. package/dist/_chunks/{file-upload-Kw1rdvFw.js → file-upload-DENvuhfs.js} +101 -139
  58. package/dist/_chunks/{finished-terminal-Di4gtZ50.js → finished-terminal-C0_mefrf.js} +11 -11
  59. package/dist/_chunks/{fiscal-code-input-DKNXFXs3.js → fiscal-code-input-DWA6C8x8.js} +2 -2
  60. package/dist/_chunks/{fr-BfMvQh-v.js → fr-CgD4Jvtq.js} +2 -2
  61. package/dist/_chunks/{freemium-paywall-DFoeedwh.js → freemium-paywall-CmV642PA.js} +7 -3
  62. package/dist/_chunks/{gestational-age-calculator-BwCBPAGX.js → gestational-age-calculator-BpYw-WF-.js} +7 -7
  63. package/dist/_chunks/{hcg-doubling-CSsWxEJc.js → hcg-doubling-Dqj-EqMT.js} +3 -3
  64. package/dist/_chunks/{header-DaXWDw0M.js → header-CjwasYnn.js} +88 -79
  65. package/dist/_chunks/{header-settings-B0G_u-wV.js → header-settings-4cwQzeFc.js} +4 -4
  66. package/dist/_chunks/{hi-C0GEMwlD.js → hi-Bf8CAP6b.js} +2 -2
  67. package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
  68. package/dist/_chunks/{icon-button-LqoiKcUN.js → icon-button-C_kbcd7I.js} +2 -2
  69. package/dist/_chunks/icon-button-group-C_lqXTAj.js +391 -0
  70. package/dist/_chunks/{icon-picker-Di6uYDG-.js → icon-picker-CM9ubkew.js} +3 -3
  71. package/dist/_chunks/{image-cropper-CdmWFrMC.js → image-cropper-DKe4AORY.js} +2 -2
  72. package/dist/_chunks/{insert-result-C7xSDb8q.js → insert-result-D074GtHX.js} +58 -68
  73. package/dist/_chunks/{isSameWeek-HddDAyJG.js → isSameWeek-BYl5poz_.js} +2 -2
  74. package/dist/_chunks/{it-5f4hiT2e.js → it-mt1V2DFS.js} +3 -3
  75. package/dist/_chunks/{ja-U0_2inl_.js → ja-CbOHn2TO.js} +2 -2
  76. package/dist/_chunks/{key-value-pair-Byyyc_9J.js → key-value-pair-LHKfDT_9.js} +2 -2
  77. package/dist/_chunks/link-cell-renderer-BQGUs45d.js +711 -0
  78. package/dist/_chunks/{locale-picker-DzF7Q5Y8.js → locale-picker-GNF3lo8K.js} +3 -3
  79. package/dist/_chunks/{map-view-ByPvWG_9.js → map-view-CsaHfoo6.js} +2 -2
  80. package/dist/_chunks/{marketplace-app-shell-BCYiOvKZ.js → marketplace-app-shell-D_1tF4La.js} +6 -6
  81. package/dist/_chunks/{message-card-BZnnffyB.js → message-card-ievotOFa.js} +3 -3
  82. package/dist/_chunks/{message-tray-cUHOCdU0.js → message-tray-BFlu8clI.js} +4 -4
  83. package/dist/_chunks/{muscle-scheme-B9MIkuj0.js → muscle-scheme-CFBE2dme.js} +6 -14
  84. package/dist/_chunks/{nl-CDVnnx1U.js → nl-C6Y0QXnm.js} +2 -2
  85. package/dist/_chunks/{notes-panel-CMyjUXD4.js → notes-panel-Cvdp818a.js} +3 -3
  86. package/dist/_chunks/{notification-card-BHJ07FkH.js → notification-card-D29_sVA1.js} +3 -3
  87. package/dist/_chunks/{notification-tray-Dzm1c3Wy.js → notification-tray-CzIzz3bX.js} +4 -4
  88. package/dist/_chunks/optical-prescription-BEjYQjiO.js +1260 -0
  89. package/dist/_chunks/{patient-details-pU_E5xM2.js → patient-details-DP4wKyq4.js} +7 -7
  90. package/dist/_chunks/{patient-search-X9SUZGpy.js → patient-search-BaUJ_Y-N.js} +47 -45
  91. package/dist/_chunks/{patient-summary-card--t3BjTdU.js → patient-summary-card-D6kgdTNn.js} +4 -4
  92. package/dist/_chunks/{patient-table-BgWgNIMf.js → patient-table-DweKjiXg.js} +122 -118
  93. package/dist/_chunks/{payment-request-card-2ts7ITxd.js → payment-request-card-C0fqlKqO.js} +25 -24
  94. package/dist/_chunks/pen-line-D0De5zdl.js +21 -0
  95. package/dist/_chunks/periodontal-chart-D8hOFmde.js +1173 -0
  96. package/dist/_chunks/{periodontal-chart-card-6c6Lt4ws.js → periodontal-chart-card-WVjJAheq.js} +2 -2
  97. package/dist/_chunks/periodontal-diagnosis-cco40xTa.js +345 -0
  98. package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js +334 -0
  99. package/dist/_chunks/{pl-BWNumNrg.js → pl-BdazJAOp.js} +3 -3
  100. package/dist/_chunks/{popover-uJ6BvEU3.js → popover-Cc0a69sw.js} +32 -29
  101. package/dist/_chunks/{practice-results-CSEHTH2V.js → practice-results-BCr7jMt1.js} +5 -5
  102. package/dist/_chunks/{pregnancy-dating-CxVAA6_4.js → pregnancy-dating-msMl_6wz.js} +7 -7
  103. package/dist/_chunks/{pregnancy-weight-gain-C7zyrwow.js → pregnancy-weight-gain-B-CkVYnU.js} +2 -2
  104. package/dist/_chunks/{privacy-lock-DrRmK8C7.js → privacy-lock-YYBiI_bY.js} +3 -3
  105. package/dist/_chunks/{product-hub-panel-CaZqttvm.js → product-hub-panel-CTld1r5V.js} +3 -3
  106. package/dist/_chunks/{pt-zqdQuryr.js → pt-B3UKvhHp.js} +2 -2
  107. package/dist/_chunks/{public-header.agent-C-opZaOw.js → public-header.agent-rX_VA6hd.js} +107 -103
  108. package/dist/_chunks/{radiograph-panel.agent-D1x33moc.js → radiograph-panel.agent-CxF9pVxd.js} +40 -57
  109. package/dist/_chunks/{reviews-panel-liUj6OPX.js → reviews-panel-DmOjvmyH.js} +4 -4
  110. package/dist/_chunks/{rich-text-editor-DUgznqOf.js → rich-text-editor-CCWjNkbx.js} +26 -26
  111. package/dist/_chunks/{ro-CornQr64.js → ro-DVTEQpPK.js} +2 -2
  112. package/dist/_chunks/{ru-CKAXNYVD.js → ru-C-Mp40SC.js} +3 -3
  113. package/dist/_chunks/{select-BmCbJMJS.js → select-BW5ecXlX.js} +13 -13
  114. package/dist/_chunks/{session-countdown-qr8EO5QY.js → session-countdown-C8AsE072.js} +2 -2
  115. package/dist/_chunks/{sheet-B_X54aZo.js → sheet-D5K0LB3q.js} +2 -2
  116. package/dist/_chunks/{sidebar-B0OBmJrC.js → sidebar-C0PbwJBc.js} +375 -335
  117. package/dist/_chunks/{sign-document-nK03S73h.js → sign-document-Bfk0WpWV.js} +2 -2
  118. package/dist/_chunks/{sign-in-with-alfadocs-button-LppxjlFt.js → sign-in-with-alfadocs-button-UlYefZpI.js} +2 -2
  119. package/dist/_chunks/{signature-capture-Ct_4Md4e.js → signature-capture-DN52VNKL.js} +206 -189
  120. package/dist/_chunks/{signature-field-jgwYgUhO.js → signature-field-0rFODJlW.js} +47 -41
  121. package/dist/_chunks/signature-request-C-mskXwi.js +318 -0
  122. package/dist/_chunks/{slot-grid-FsqumOaS.js → slot-grid-CQSULZjd.js} +4 -4
  123. package/dist/_chunks/{sq-CIIvqXZv.js → sq-DierVlw-.js} +2 -2
  124. package/dist/_chunks/{streaming-text-Cedc05ya.js → streaming-text-C5bYz7LL.js} +2 -2
  125. package/dist/_chunks/subDays-DIKRViZm.js +8 -0
  126. package/dist/_chunks/{sv-Kpk1pzjz.js → sv-gQWo_19z.js} +2 -2
  127. package/dist/_chunks/{tabs-DVQ941Sj.js → tabs-CVTukWRD.js} +2 -2
  128. package/dist/_chunks/{task-tray-DP5A3Qnc.js → task-tray-Br3vc0O1.js} +3 -3
  129. package/dist/_chunks/{tasks-panel-BuxaYtEF.js → tasks-panel-CjGAhIN8.js} +6 -6
  130. package/dist/_chunks/{theme-toggle-dtdy5EaL.js → theme-toggle-BJCz_UOi.js} +3 -3
  131. package/dist/_chunks/{toast.agent-BSxl057x.js → toast.agent-uV8CeAy6.js} +2 -2
  132. package/dist/_chunks/{token-insert-menu-Pok4nExI.js → token-insert-menu-BYv6yoZI.js} +2 -2
  133. package/dist/_chunks/{tool-rail-BZx0-yIr.js → tool-rail-AaTqxkIM.js} +2 -2
  134. package/dist/_chunks/tooth-data-BwuoKFf4.js +660 -0
  135. package/dist/_chunks/tooth-scheme-BzJ6rcte.js +1483 -0
  136. package/dist/_chunks/{tr-DHaeLFxG.js → tr-Btm6M3Km.js} +2 -2
  137. package/dist/_chunks/{transaction-chip-B6iWoVmU.js → transaction-chip-DJCstquX.js} +41 -51
  138. package/dist/_chunks/type-ggmfVs23.js +16 -0
  139. package/dist/_chunks/{unit-converter-fEqluT8b.js → unit-converter-CSLWFDQh.js} +3 -3
  140. package/dist/_chunks/upload-BfT2hzMg.js +16 -0
  141. package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +101 -0
  142. package/dist/_chunks/use-visual-viewport-pin-ChurOsHM.js +31 -0
  143. package/dist/_chunks/{warning-stack-BaMI7-n7.js → warning-stack-BlG_Ujy3.js} +3 -3
  144. package/dist/_chunks/{workflow-map-qWsgCldq.js → workflow-map-C643Q43h.js} +5 -5
  145. package/dist/_chunks/{zh-CN-BncsTBwM.js → zh-CN-DkVN4vsB.js} +3 -3
  146. package/dist/agent-catalog.json +4081 -3201
  147. package/dist/agent-i18n/en.json +121 -69
  148. package/dist/brand/product-lockup/product-lockup.d.ts +1 -1
  149. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  150. package/dist/components/agenda-tray/index.js +1 -1
  151. package/dist/components/ai-consent-banner/index.js +1 -1
  152. package/dist/components/ai-prompt-input/index.js +1 -1
  153. package/dist/components/anamnesis-card/anamnesis-card.d.ts +1 -1
  154. package/dist/components/anamnesis-card/index.js +1 -1
  155. package/dist/components/appointment-card/appointment-card.d.ts +1 -1
  156. package/dist/components/appointment-card/index.js +2 -2
  157. package/dist/components/appointment-timeline/index.js +1 -1
  158. package/dist/components/audio-recorder/index.js +1 -1
  159. package/dist/components/benefit-card/index.js +1 -1
  160. package/dist/components/bishop-score/index.js +1 -1
  161. package/dist/components/bmi-calculator/index.js +1 -1
  162. package/dist/components/booking/index.js +1 -1
  163. package/dist/components/button/button.d.ts +8 -1
  164. package/dist/components/button/index.js +2 -2
  165. package/dist/components/button-group/button-group.d.ts +16 -0
  166. package/dist/components/button-group/index.js +1 -1
  167. package/dist/components/card/card.d.ts +1 -1
  168. package/dist/components/care-plan-card/index.js +1 -1
  169. package/dist/components/care-plan-entry-card/index.js +1 -1
  170. package/dist/components/care-plan-header/index.js +1 -1
  171. package/dist/components/carousel/index.js +1 -1
  172. package/dist/components/chat-container/index.js +1 -1
  173. package/dist/components/chat-input/index.js +1 -1
  174. package/dist/components/chat-message/index.js +1 -1
  175. package/dist/components/clinical-note-card/clinical-note-card.d.ts +1 -1
  176. package/dist/components/connection-status/index.js +1 -1
  177. package/dist/components/contact-profile-card/contact-profile-card.d.ts +1 -1
  178. package/dist/components/contact-profile-card/index.js +1 -1
  179. package/dist/components/control-room-rail/index.js +1 -1
  180. package/dist/components/copy-field/index.js +1 -1
  181. package/dist/components/counter/counter.d.ts +1 -1
  182. package/dist/components/cycle-calculator/index.js +1 -1
  183. package/dist/components/data-table/data-table.d.ts +2 -8
  184. package/dist/components/data-table/index.js +35 -34
  185. package/dist/components/data-table/toolbar.d.ts +5 -11
  186. package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts +4 -0
  187. package/dist/components/data-table-tabs/data-table-tabs.d.ts +93 -0
  188. package/dist/components/data-table-tabs/index.d.ts +5 -0
  189. package/dist/components/data-table-tabs/index.js +8 -0
  190. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +63 -0
  191. package/dist/components/date-picker/index.js +1 -1
  192. package/dist/components/date-range-picker/index.js +1 -1
  193. package/dist/components/date-time-picker/index.js +1 -1
  194. package/dist/components/description-list/index.js +1 -1
  195. package/dist/components/document-preview/document-preview.agent.d.ts +4 -0
  196. package/dist/components/document-preview/document-preview.d.ts +41 -0
  197. package/dist/components/document-preview/index.d.ts +4 -0
  198. package/dist/components/document-preview/index.js +6 -0
  199. package/dist/components/document-scanner/index.js +1 -1
  200. package/dist/components/due-date-calculator/index.js +2 -2
  201. package/dist/components/editor-overlay/index.js +1 -1
  202. package/dist/components/empty-state/index.js +1 -1
  203. package/dist/components/entity-summary/index.js +1 -1
  204. package/dist/components/face-scheme/face-scheme-data.d.ts +167 -0
  205. package/dist/components/face-scheme/face-scheme.d.ts +112 -2
  206. package/dist/components/face-scheme/index.d.ts +2 -2
  207. package/dist/components/face-scheme/index.js +25 -14
  208. package/dist/components/fetal-weight/index.js +1 -1
  209. package/dist/components/field-array/index.js +1 -1
  210. package/dist/components/file-manager/dialogs.d.ts +48 -0
  211. package/dist/components/file-manager/file-manager.agent.d.ts +4 -0
  212. package/dist/components/file-manager/file-manager.d.ts +82 -0
  213. package/dist/components/file-manager/folder-tree.d.ts +12 -0
  214. package/dist/components/file-manager/index.d.ts +5 -0
  215. package/dist/components/file-manager/index.js +6 -0
  216. package/dist/components/file-manager/list-view.d.ts +49 -0
  217. package/dist/components/file-manager/toolbar.d.ts +15 -0
  218. package/dist/components/file-manager/types.d.ts +167 -0
  219. package/dist/components/file-manager/utils.d.ts +34 -0
  220. package/dist/components/file-upload/file-upload.d.ts +1 -0
  221. package/dist/components/file-upload/index.d.ts +1 -1
  222. package/dist/components/file-upload/index.js +4 -3
  223. package/dist/components/finished-terminal/index.js +1 -1
  224. package/dist/components/fiscal-code-input/index.js +1 -1
  225. package/dist/components/flag/flag.d.ts +1 -1
  226. package/dist/components/freemium-paywall/index.js +1 -1
  227. package/dist/components/gestational-age-calculator/index.js +1 -1
  228. package/dist/components/hcg-doubling/index.js +1 -1
  229. package/dist/components/header/index.js +1 -1
  230. package/dist/components/header-settings/index.js +1 -1
  231. package/dist/components/icon-button/index.js +1 -1
  232. package/dist/components/icon-button-group/icon-button-group.d.ts +6 -0
  233. package/dist/components/icon-button-group/index.js +1 -1
  234. package/dist/components/icon-picker/index.js +1 -1
  235. package/dist/components/image-cropper/index.js +1 -1
  236. package/dist/components/index.d.ts +7 -1
  237. package/dist/components/key-value-pair/index.js +1 -1
  238. package/dist/components/link/link.d.ts +1 -1
  239. package/dist/components/locale-picker/index.js +1 -1
  240. package/dist/components/map-view/index.js +1 -1
  241. package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
  242. package/dist/components/message-card/index.js +1 -1
  243. package/dist/components/message-card/message-card.d.ts +1 -1
  244. package/dist/components/message-tray/index.js +1 -1
  245. package/dist/components/muscle-scheme/index.js +1 -1
  246. package/dist/components/notes-panel/index.js +1 -1
  247. package/dist/components/notification-card/index.js +1 -1
  248. package/dist/components/notification-card/notification-card.d.ts +1 -1
  249. package/dist/components/notification-tray/index.js +1 -1
  250. package/dist/components/operator-hero/operator-hero.d.ts +1 -1
  251. package/dist/components/optical-prescription/index.d.ts +4 -2
  252. package/dist/components/optical-prescription/index.js +29 -26
  253. package/dist/components/optical-prescription/optical-prescription-charts.d.ts +78 -0
  254. package/dist/components/optical-prescription/optical-prescription-data.d.ts +29 -0
  255. package/dist/components/optical-prescription/optical-prescription.d.ts +9 -0
  256. package/dist/components/patient-details/index.js +1 -1
  257. package/dist/components/patient-search/index.js +1 -1
  258. package/dist/components/patient-summary-card/index.js +1 -1
  259. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  260. package/dist/components/patient-table/index.js +1 -1
  261. package/dist/components/payment-card/index.js +1 -1
  262. package/dist/components/payment-card/payment-card.d.ts +1 -1
  263. package/dist/components/payment-card/payment-request-card.d.ts +1 -1
  264. package/dist/components/periodontal-chart/index.d.ts +6 -0
  265. package/dist/components/periodontal-chart/index.js +22 -0
  266. package/dist/components/periodontal-chart/periodontal-chart-data.d.ts +119 -0
  267. package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts +4 -0
  268. package/dist/components/periodontal-chart/periodontal-chart.d.ts +69 -0
  269. package/dist/components/periodontal-chart-card/index.js +1 -1
  270. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +1 -1
  271. package/dist/components/periodontal-diagnosis/index.d.ts +6 -0
  272. package/dist/components/periodontal-diagnosis/index.js +13 -0
  273. package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts +30 -0
  274. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts +4 -0
  275. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts +44 -0
  276. package/dist/components/periodontal-risk-chart/index.d.ts +6 -0
  277. package/dist/components/periodontal-risk-chart/index.js +9 -0
  278. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts +4 -0
  279. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts +28 -0
  280. package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts +47 -0
  281. package/dist/components/popover/index.js +1 -1
  282. package/dist/components/popover/popover.d.ts +1 -0
  283. package/dist/components/practice-results/index.js +1 -1
  284. package/dist/components/pregnancy-dating/index.js +1 -1
  285. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  286. package/dist/components/privacy-lock/index.js +1 -1
  287. package/dist/components/product-hub-tray/index.js +1 -1
  288. package/dist/components/product-hub-tray/product-hub-panel.d.ts +1 -1
  289. package/dist/components/public-header/index.js +1 -1
  290. package/dist/components/public-header/public-header.d.ts +1 -1
  291. package/dist/components/radiograph-panel/index.js +1 -1
  292. package/dist/components/radiograph-panel/radiograph-panel.d.ts +2 -2
  293. package/dist/components/reviews-panel/index.js +1 -1
  294. package/dist/components/rich-text-editor/index.js +1 -1
  295. package/dist/components/select/index.js +1 -1
  296. package/dist/components/session-countdown/index.js +1 -1
  297. package/dist/components/sheet/index.js +1 -1
  298. package/dist/components/sidebar/index.js +1 -1
  299. package/dist/components/sidebar/sidebar.d.ts +9 -0
  300. package/dist/components/sign-document/index.js +1 -1
  301. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  302. package/dist/components/signature-capture/index.js +1 -1
  303. package/dist/components/signature-field/index.js +1 -1
  304. package/dist/components/signature-field/signature-field.d.ts +7 -0
  305. package/dist/components/skeleton-scheme/index.js +1186 -0
  306. package/dist/components/slot-grid/index.js +1 -1
  307. package/dist/components/stat/stat.d.ts +1 -1
  308. package/dist/components/streaming-text/index.js +1 -1
  309. package/dist/components/tabs/index.js +1 -1
  310. package/dist/components/task-tray/index.js +1 -1
  311. package/dist/components/tasks-panel/index.js +1 -1
  312. package/dist/components/theme-toggle/index.js +1 -1
  313. package/dist/components/toast/index.js +1 -1
  314. package/dist/components/token-insert-menu/index.js +1 -1
  315. package/dist/components/tool-rail/index.js +1 -1
  316. package/dist/components/tooth-scheme/index.js +29 -28
  317. package/dist/components/transaction-chip/index.js +1 -1
  318. package/dist/components/unit-converter/index.js +1 -1
  319. package/dist/components/warning-stack/index.js +1 -1
  320. package/dist/components/workflow/index.js +1 -1
  321. package/dist/hooks/index.d.ts +2 -0
  322. package/dist/hooks/index.js +40 -35
  323. package/dist/hooks/use-priority-overflow.d.ts +63 -0
  324. package/dist/hooks/use-visual-viewport-pin.d.ts +32 -0
  325. package/dist/i18n/locales/ar.d.ts +490 -9
  326. package/dist/i18n/locales/ar.js +493 -12
  327. package/dist/i18n/locales/de.d.ts +490 -9
  328. package/dist/i18n/locales/de.js +493 -12
  329. package/dist/i18n/locales/el.d.ts +490 -9
  330. package/dist/i18n/locales/el.js +493 -12
  331. package/dist/i18n/locales/en.d.ts +490 -9
  332. package/dist/i18n/locales/en.js +493 -12
  333. package/dist/i18n/locales/es.d.ts +490 -9
  334. package/dist/i18n/locales/es.js +493 -12
  335. package/dist/i18n/locales/fr.d.ts +490 -9
  336. package/dist/i18n/locales/fr.js +493 -12
  337. package/dist/i18n/locales/hi.d.ts +490 -9
  338. package/dist/i18n/locales/hi.js +493 -12
  339. package/dist/i18n/locales/it.d.ts +490 -9
  340. package/dist/i18n/locales/it.js +493 -12
  341. package/dist/i18n/locales/ja.d.ts +490 -9
  342. package/dist/i18n/locales/ja.js +493 -12
  343. package/dist/i18n/locales/nl.d.ts +490 -9
  344. package/dist/i18n/locales/nl.js +493 -12
  345. package/dist/i18n/locales/pl.d.ts +490 -9
  346. package/dist/i18n/locales/pl.js +493 -12
  347. package/dist/i18n/locales/pt.d.ts +490 -9
  348. package/dist/i18n/locales/pt.js +493 -12
  349. package/dist/i18n/locales/ro.d.ts +490 -9
  350. package/dist/i18n/locales/ro.js +493 -12
  351. package/dist/i18n/locales/ru.d.ts +490 -9
  352. package/dist/i18n/locales/ru.js +493 -12
  353. package/dist/i18n/locales/sq.d.ts +490 -9
  354. package/dist/i18n/locales/sq.js +493 -12
  355. package/dist/i18n/locales/sv.d.ts +490 -9
  356. package/dist/i18n/locales/sv.js +493 -12
  357. package/dist/i18n/locales/tr.d.ts +490 -9
  358. package/dist/i18n/locales/tr.js +493 -12
  359. package/dist/i18n/locales/zh.d.ts +490 -9
  360. package/dist/i18n/locales/zh.js +493 -12
  361. package/dist/index.js +872 -809
  362. package/dist/locales/ar.json +493 -12
  363. package/dist/locales/de.json +493 -12
  364. package/dist/locales/el.json +493 -12
  365. package/dist/locales/en.json +493 -12
  366. package/dist/locales/es.json +493 -12
  367. package/dist/locales/fr.json +493 -12
  368. package/dist/locales/hi.json +493 -12
  369. package/dist/locales/it.json +493 -12
  370. package/dist/locales/ja.json +493 -12
  371. package/dist/locales/nl.json +493 -12
  372. package/dist/locales/pl.json +493 -12
  373. package/dist/locales/pt.json +493 -12
  374. package/dist/locales/ro.json +493 -12
  375. package/dist/locales/ru.json +493 -12
  376. package/dist/locales/sq.json +493 -12
  377. package/dist/locales/sv.json +493 -12
  378. package/dist/locales/tr.json +493 -12
  379. package/dist/locales/zh.json +493 -12
  380. package/dist/patterns/alia-assistant/index.js +1 -1
  381. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  382. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +1 -1
  383. package/dist/patterns/signature-request/index.d.ts +3 -0
  384. package/dist/patterns/signature-request/index.js +5 -0
  385. package/dist/patterns/signature-request/signature-request.d.ts +81 -0
  386. package/dist/tokens.css +2 -2
  387. package/package.json +32 -4
  388. package/dist/_chunks/button-group-CvEnVzY7.js +0 -119
  389. package/dist/_chunks/face-scheme-BT9_KdL0.js +0 -1450
  390. package/dist/_chunks/icon-button-group-C48khLE0.js +0 -206
  391. package/dist/_chunks/link-cell-renderer-BCppbMec.js +0 -2185
  392. package/dist/_chunks/optical-prescription-Bmlbuopi.js +0 -653
  393. package/dist/_chunks/patient-shell-oiIRqEAl.js +0 -162
  394. package/dist/_chunks/subDays-DGSOp9d9.js +0 -8
  395. package/dist/_chunks/tooth-scheme-D_rso4uu.js +0 -2133
  396. package/dist/patterns/patient-shell/index.d.ts +0 -12
  397. package/dist/patterns/patient-shell/index.js +0 -5
  398. package/dist/patterns/patient-shell/patient-shell.d.ts +0 -62
@@ -77,10 +77,7 @@ export declare const DataTable: (<TData = unknown>(props: DataTableProps<TData>
77
77
  Print: import("react").ForwardRefExoticComponent<Omit<import("..").IconButtonProps, "aria-label" | "onClick" | "tooltip" | "icon"> & {
78
78
  label?: string;
79
79
  } & import("react").RefAttributes<HTMLButtonElement>>;
80
- ColumnToggle: {
81
- ({ label, icon, footer, header }: import("./toolbar").ColumnToggleProps): import("react/jsx-runtime").JSX.Element;
82
- displayName: string;
83
- };
80
+ ColumnToggle: import("react").ForwardRefExoticComponent<import("./toolbar").ColumnToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
84
81
  BulkAction: import("react").ForwardRefExoticComponent<import("./toolbar").BulkActionProps & import("react").RefAttributes<HTMLButtonElement>>;
85
82
  QuickSearch: {
86
83
  ({ placeholder, debounceMs }: import("./toolbar").QuickSearchProps): import("react/jsx-runtime").JSX.Element;
@@ -92,10 +89,7 @@ export declare const DataTable: (<TData = unknown>(props: DataTableProps<TData>
92
89
  displayName: string;
93
90
  };
94
91
  FacetFilter: <TValue extends string | number | boolean = string>({ field, options, label, }: import("./toolbar").FacetFilterProps<TValue>) => import("react/jsx-runtime").JSX.Element;
95
- ExportMenu: {
96
- ({ children, label }: import("./toolbar").ExportMenuProps): import("react/jsx-runtime").JSX.Element;
97
- displayName: string;
98
- } & {
92
+ ExportMenu: import("react").ForwardRefExoticComponent<import("./toolbar").ExportMenuProps & import("react").RefAttributes<HTMLButtonElement>> & {
99
93
  Item: {
100
94
  ({ format, label, onClick, fileName, }: import("./toolbar").ExportMenuItemProps): import("react/jsx-runtime").JSX.Element;
101
95
  displayName: string;
@@ -1,38 +1,39 @@
1
- import { A as r, C as l, 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 h, k as x, l as D, U as f, m as p, n as y, o as E } from "../../_chunks/link-cell-renderer-BCppbMec.js";
2
- import { B as A, C as L, E as N, a as k, R as B, T as I, b as P, r as U, u as W } from "../../_chunks/editable-currency-cell-renderer-z9fJFw6Z.js";
1
+ import { A as r, D as l, T as t, a as s, b as n, c as o, d, e as i, f as C } from "../../_chunks/actions-cell-renderer-DLrcSTK_.js";
2
+ import { B as T, C as F, E as g, a as b, R as u, T as c, b as m, r as f, u as x } from "../../_chunks/editable-currency-cell-renderer-GwfA9tTR.js";
3
+ import { C as p, D as h, a as y, b as E, I as S, L as A, N as L, c as N, S as B, d as I, e as P, T as U, f as W, g as k, U as v } from "../../_chunks/link-cell-renderer-BQGUs45d.js";
3
4
  export {
4
5
  r as ActionsCellRenderer,
5
- A as BalanceCellRenderer,
6
- L as ColorDotCellRenderer,
7
- l 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
- B as ReorderCellRenderer,
19
- F as SelectFilter,
20
- T as SelectFloatingFilter,
21
- g as StatusCellRenderer,
22
- b as TagListCellRenderer,
23
- u as TextFilter,
24
- c as TextFloatingFilter,
25
- I as ToggleCellRenderer,
26
- m as Toolbar,
27
- h as ToolbarProvider,
28
- P as ToothCellRenderer,
29
- x as TypeaheadFilter,
30
- D as TypeaheadFloatingFilter,
31
- f as UserCellRenderer,
32
- p as actionsColumnWidth,
33
- y as dataTableAgent,
34
- E as defaultExportPdf,
35
- U as reorderColumnWidth,
36
- W as useTotalRow
6
+ T as BalanceCellRenderer,
7
+ F as ColorDotCellRenderer,
8
+ p as CurrencyCellRenderer,
9
+ l as DataTable,
10
+ h as DateCellRenderer,
11
+ y as DateRangeFilter,
12
+ E as DateRangeFloatingFilter,
13
+ g as EditableCurrencyCellRenderer,
14
+ b as EditableTextCellRenderer,
15
+ S as ImageCellRenderer,
16
+ A as LinkCellRenderer,
17
+ L as NumberFilter,
18
+ N as NumberFloatingFilter,
19
+ u as ReorderCellRenderer,
20
+ B as SelectFilter,
21
+ I as SelectFloatingFilter,
22
+ P as StatusCellRenderer,
23
+ U as TagListCellRenderer,
24
+ t as TextFilter,
25
+ s as TextFloatingFilter,
26
+ c as ToggleCellRenderer,
27
+ n as Toolbar,
28
+ o as ToolbarProvider,
29
+ m as ToothCellRenderer,
30
+ W as TypeaheadFilter,
31
+ k as TypeaheadFloatingFilter,
32
+ v as UserCellRenderer,
33
+ d as actionsColumnWidth,
34
+ i as dataTableAgent,
35
+ C as defaultExportPdf,
36
+ f as reorderColumnWidth,
37
+ x as useTotalRow
37
38
  };
38
39
  //# sourceMappingURL=index.js.map
@@ -74,15 +74,15 @@ export interface ExportMenuItemProps {
74
74
  /** File-name override (only used by built-in formats). */
75
75
  fileName?: string;
76
76
  }
77
- export interface ExportMenuProps {
77
+ export interface ExportMenuProps extends Omit<IconButtonProps, 'icon' | 'aria-label' | 'tooltip' | 'onClick' | 'children'> {
78
78
  /** Custom menu items. When omitted, renders the default CSV+Excel+PDF trio. */
79
79
  children?: ReactNode;
80
80
  /** Accessible label for the trigger. */
81
81
  label?: string;
82
82
  }
83
- export interface ColumnToggleProps {
83
+ export interface ColumnToggleProps extends Omit<IconButtonProps, 'icon' | 'aria-label' | 'tooltip' | 'onClick' | 'children'> {
84
84
  label?: string;
85
- /** Override the trigger glyph (defaults to the Columns icon). */
85
+ /** Override the trigger glyph (defaults to the Columns3Cog icon). */
86
86
  icon?: ReactNode;
87
87
  /** Extra content rendered below the column list (e.g. a settings switch). */
88
88
  footer?: ReactNode;
@@ -107,10 +107,7 @@ export declare const Toolbar: import("react").ForwardRefExoticComponent<ToolbarR
107
107
  /** Accessible label — becomes the tooltip text and `aria-label`. */
108
108
  label?: string;
109
109
  } & import("react").RefAttributes<HTMLButtonElement>>;
110
- ColumnToggle: {
111
- ({ label, icon, footer, header }: ColumnToggleProps): import("react/jsx-runtime").JSX.Element;
112
- displayName: string;
113
- };
110
+ ColumnToggle: import("react").ForwardRefExoticComponent<ColumnToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
114
111
  BulkAction: import("react").ForwardRefExoticComponent<BulkActionProps & import("react").RefAttributes<HTMLButtonElement>>;
115
112
  QuickSearch: {
116
113
  ({ placeholder, debounceMs }: QuickSearchProps): import("react/jsx-runtime").JSX.Element;
@@ -122,10 +119,7 @@ export declare const Toolbar: import("react").ForwardRefExoticComponent<ToolbarR
122
119
  displayName: string;
123
120
  };
124
121
  FacetFilter: <TValue extends string | number | boolean = string>({ field, options, label, }: FacetFilterProps<TValue>) => import("react/jsx-runtime").JSX.Element;
125
- ExportMenu: {
126
- ({ children, label }: ExportMenuProps): import("react/jsx-runtime").JSX.Element;
127
- displayName: string;
128
- } & {
122
+ ExportMenu: import("react").ForwardRefExoticComponent<ExportMenuProps & import("react").RefAttributes<HTMLButtonElement>> & {
129
123
  Item: {
130
124
  ({ format, label, onClick, fileName, }: ExportMenuItemProps): import("react/jsx-runtime").JSX.Element;
131
125
  displayName: string;
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { DataTableTabsHandle } from './data-table-tabs';
3
+ export declare const dataTableTabsAgent: AgentAdapter<DataTableTabsHandle>;
4
+ //# sourceMappingURL=data-table-tabs.agent.d.ts.map
@@ -0,0 +1,93 @@
1
+ /**
2
+ * DataTableTabs — saved-filter folder tabs for any kit DataTable.
3
+ * ----------------------------------------------------------------------------
4
+ * A folder-tab strip attached above a table region. Each tab captures and
5
+ * restores its own AG Grid filter model (tabs are LIVE views — any filter
6
+ * edit rewrites the active tab); a "+" button saves the current filter as a
7
+ * new tab; tabs rename via double-click / F2 and remove via Delete/Backspace
8
+ * or the pointer-only ✕.
9
+ *
10
+ * ARIA: a real APG tablist built on Radix Tabs primitives with
11
+ * `activationMode="manual"` (arrow keys rove without applying filter models;
12
+ * Enter/Space activates). Every trigger points at ONE stable hand-rolled
13
+ * tabpanel that wraps `children` — the grid never remounts on tab switch and
14
+ * no dangling ARIA refs exist. The "+" button and the rename editor are
15
+ * SIBLINGS of the tablist (tablist purity).
16
+ *
17
+ * Grid wiring rides the narrow `DataTableTabsGridSeam` resolved at call time
18
+ * (`getTable={() => tableRef.current}`) — see use-data-table-filter-tabs.ts
19
+ * for the sync engine. Works against any `DataTableHandle`-shaped ref,
20
+ * including `PatientTableHandle`.
21
+ */
22
+ import { type ReactNode } from 'react';
23
+ import { type VariantProps } from 'class-variance-authority';
24
+ import { type DataTableTabsGridSeam, type SavedTab } from './use-data-table-filter-tabs';
25
+ export declare const dataTableTabsListVariants: (props?: ({
26
+ size?: "md" | "lg" | null | undefined;
27
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
28
+ export declare const dataTableTabsTriggerVariants: (props?: ({
29
+ size?: "md" | "lg" | null | undefined;
30
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
31
+ /** Curated imperative handle — also the agent-adapter surface. */
32
+ export interface DataTableTabsHandle {
33
+ getTabs: () => SavedTab[];
34
+ getActiveTabId: () => string | null;
35
+ /** Snapshots the outgoing tab, applies the incoming tab's filter model. */
36
+ selectTab: (id: string) => void;
37
+ /** Default model = a copy of the current live model (grid view unchanged). */
38
+ addTab: (label?: string, filterModel?: Record<string, unknown>) => string;
39
+ /** No-op on locked tabs and empty/whitespace labels. */
40
+ renameTab: (id: string, label: string) => void;
41
+ /** No-op on locked tabs and the last remaining tab. */
42
+ removeTab: (id: string) => void;
43
+ }
44
+ export interface DataTableTabsProps extends VariantProps<typeof dataTableTabsTriggerVariants> {
45
+ /**
46
+ * Resolve the grid seam at call time — `undefined` until the grid is ready
47
+ * (same convention as `ToolbarProvider.getApi`). Any `DataTableHandle`
48
+ * satisfies it: `getTable={() => tableRef.current}`.
49
+ */
50
+ getTable: () => DataTableTabsGridSeam | null | undefined;
51
+ /** Controlled tabs — pair with `onTabsChange`. */
52
+ tabs?: SavedTab[];
53
+ /** Uncontrolled seed. Default: one unfiltered tab. */
54
+ defaultTabs?: SavedTab[];
55
+ onTabsChange?: (tabs: SavedTab[]) => void;
56
+ activeTabId?: string;
57
+ defaultActiveTabId?: string;
58
+ onActiveTabChange?: (id: string) => void;
59
+ /**
60
+ * Opt-in localStorage persistence under `data-table-tabs:<persistKey>`.
61
+ * Ignored (with a DEV warning) while `tabs` is controlled. The active tab
62
+ * id is deliberately not persisted.
63
+ */
64
+ persistKey?: string;
65
+ /** Capture/restore the quick-filter text alongside the model. Default false. */
66
+ captureQuickFilter?: boolean;
67
+ /** Apply the active tab's model on mount + switch. Default true. */
68
+ applyOnActivate?: boolean;
69
+ /** Show the "+" button. Default true. */
70
+ allowAdd?: boolean;
71
+ /** Allow rename (double-click / F2 / popover editor). Default true. */
72
+ allowRename?: boolean;
73
+ /** Allow removal (Delete/Backspace / ✕). Default true. */
74
+ allowRemove?: boolean;
75
+ /** Tab cap — "+" disables at the cap. Default 8. */
76
+ maxTabs?: number;
77
+ /** Factory for new tabs; `index` is 1-based. */
78
+ createTab?: (index: number) => SavedTab;
79
+ /** Id factory — default `crypto.randomUUID()`. */
80
+ makeTabId?: () => string;
81
+ /** Open the rename editor on a freshly-added tab. Default true. */
82
+ renameOnAdd?: boolean;
83
+ /** `data-component-id` + agent instance id. */
84
+ id?: string;
85
+ className?: string;
86
+ /** Accessible tablist name — defaults to the localised "Saved views". */
87
+ 'aria-label'?: string;
88
+ /** The table region — rendered inside the single stable tabpanel. */
89
+ children: ReactNode;
90
+ }
91
+ export declare const DataTableTabs: import("react").ForwardRefExoticComponent<DataTableTabsProps & import("react").RefAttributes<DataTableTabsHandle>>;
92
+ export type { SavedTab, DataTableTabsGridSeam };
93
+ //# sourceMappingURL=data-table-tabs.d.ts.map
@@ -0,0 +1,5 @@
1
+ export { DataTableTabs, dataTableTabsListVariants, dataTableTabsTriggerVariants, } from './data-table-tabs';
2
+ export type { DataTableTabsHandle, DataTableTabsProps, } from './data-table-tabs';
3
+ export type { SavedTab, DataTableTabsGridSeam, } from './use-data-table-filter-tabs';
4
+ export { dataTableTabsAgent } from './data-table-tabs.agent';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { D as b, d as t, a as T, b as e } from "../../_chunks/data-table-tabs-BEUXiRlu.js";
2
+ export {
3
+ b as DataTableTabs,
4
+ t as dataTableTabsAgent,
5
+ T as dataTableTabsListVariants,
6
+ e as dataTableTabsTriggerVariants
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,63 @@
1
+ import type { GridApi } from 'ag-grid-community';
2
+ /** One saved-filter tab. */
3
+ export interface SavedTab {
4
+ /** Opaque machine-generated id — emitted as `data-tab-id`, never the label. */
5
+ id: string;
6
+ /** User-typed name; rendered text only — never used in DOM hooks or keys. */
7
+ label: string;
8
+ /** AG Grid filter model (`DataTableHandle.getFilter()` shape); `{}` = none. */
9
+ filterModel: Record<string, unknown>;
10
+ /** Captured quick-filter text — only present when `captureQuickFilter`. */
11
+ quickFilter?: string;
12
+ /** Locked tabs cannot be renamed or removed (e.g. an "All" tab). */
13
+ locked?: boolean;
14
+ }
15
+ /**
16
+ * The narrow grid seam the tabs ride on. Structural, and `getRawApi` is
17
+ * deliberately typed against the un-parameterised `GridApi` so any
18
+ * `DataTableHandle<TData>` (incl. `PatientTableHandle`) satisfies it —
19
+ * `GridApi<TData>` is invariant, so pinning a row type here would reject
20
+ * every concretely-typed handle.
21
+ */
22
+ export interface DataTableTabsGridSeam {
23
+ getFilter: () => Record<string, unknown>;
24
+ setFilter: (model: Record<string, unknown>) => void;
25
+ getRawApi: () => GridApi | undefined;
26
+ }
27
+ export interface UseDataTableFilterTabsOptions {
28
+ /** Resolve the grid seam at call time — `undefined` until grid-ready. */
29
+ getTable: () => DataTableTabsGridSeam | null | undefined;
30
+ tabs?: SavedTab[];
31
+ defaultTabs?: SavedTab[];
32
+ onTabsChange?: (tabs: SavedTab[]) => void;
33
+ activeTabId?: string;
34
+ defaultActiveTabId?: string;
35
+ onActiveTabChange?: (id: string) => void;
36
+ /** Opt-in localStorage persistence — disabled while `tabs` is controlled. */
37
+ persistKey?: string;
38
+ /** Capture/restore `quickFilterText` alongside the model. Default false. */
39
+ captureQuickFilter?: boolean;
40
+ /** Apply the active tab's model on mount + tab switch. Default true. */
41
+ applyOnActivate?: boolean;
42
+ /** Cap on the number of tabs. Default 8. */
43
+ maxTabs?: number;
44
+ /** Factory for a new tab; `index` is 1-based (used for the default name). */
45
+ createTab?: (index: number) => SavedTab;
46
+ /** Id factory — default `crypto.randomUUID()` with a counter fallback. */
47
+ makeTabId?: () => string;
48
+ }
49
+ export interface UseDataTableFilterTabsResult {
50
+ tabs: SavedTab[];
51
+ activeTabId: string;
52
+ selectTab: (id: string) => void;
53
+ addTab: (label?: string, filterModel?: Record<string, unknown>) => string;
54
+ renameTab: (id: string, label: string) => void;
55
+ removeTab: (id: string) => void;
56
+ atCapacity: boolean;
57
+ /** Synchronous snapshots for the imperative handle / agent adapter —
58
+ * fresh immediately after a mutation, before React re-renders. */
59
+ getTabsSnapshot: () => SavedTab[];
60
+ getActiveTabIdSnapshot: () => string;
61
+ }
62
+ export declare function useDataTableFilterTabs(options: UseDataTableFilterTabsOptions): UseDataTableFilterTabsResult;
63
+ //# sourceMappingURL=use-data-table-filter-tabs.d.ts.map
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-picker-CVkD_lOi.js";
1
+ import { D as r, d as t } from "../../_chunks/date-picker-DzQS8mvt.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as datePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-range-picker-Dw12DgV8.js";
1
+ import { D as r, d as t } from "../../_chunks/date-range-picker-Cbz1SKhm.js";
2
2
  export {
3
3
  r as DateRangePicker,
4
4
  t as dateRangePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as i, d as r } from "../../_chunks/date-time-picker-Cd_OJtOy.js";
1
+ import { D as i, d as r } from "../../_chunks/date-time-picker-B5IpU-nd.js";
2
2
  export {
3
3
  i as DateTimePicker,
4
4
  r as dateTimePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as r } from "../../_chunks/description-list-CmBVxIF5.js";
1
+ import { D as r } from "../../_chunks/description-list-ClNLdRMy.js";
2
2
  export {
3
3
  r as DescriptionList
4
4
  };
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { DocumentPreviewHandle } from './document-preview';
3
+ export declare const documentPreviewAgent: AgentAdapter<DocumentPreviewHandle>;
4
+ //# sourceMappingURL=document-preview.agent.d.ts.map
@@ -0,0 +1,41 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ export type DocumentPreviewSignatureStatus = 'none' | 'pending' | 'signed';
3
+ /** Which render branch DocumentPreview is showing — structural, never PHI. */
4
+ export type DocumentPreviewKind = 'pdf' | 'image' | 'metadata' | 'empty';
5
+ export interface DocumentPreviewMetadata {
6
+ /** Size in bytes. */
7
+ size?: number;
8
+ /** ISO 8601 timestamp of the last modification. */
9
+ updatedAt?: string;
10
+ /** Open document-type category (non-identifying), e.g. `'xray'`. */
11
+ documentType?: string;
12
+ /** Signature workflow state. */
13
+ signatureStatus?: DocumentPreviewSignatureStatus;
14
+ /** Clinical-document flag (host-defined semantics). */
15
+ clinical?: boolean;
16
+ /** ISO 8601 expiry (e.g. identification documents). */
17
+ expiresAt?: string;
18
+ }
19
+ export interface DocumentPreviewProps extends VariantProps<typeof documentPreviewVariants> {
20
+ /** Opaque instance id — emitted as `data-component-id` for the agent registry. */
21
+ id?: string;
22
+ /** Display name. Absent → empty state. Treated as PHI by the agent contract. */
23
+ name?: string;
24
+ /** MIME type — drives the render branch and the fallback icon. */
25
+ mimeType?: string;
26
+ /** Resolved URL / data URI for the PDF or image viewer. The host owns auth. */
27
+ src?: string;
28
+ /** Structural metadata rendered by the metadata-card branch. */
29
+ metadata?: DocumentPreviewMetadata;
30
+ className?: string;
31
+ }
32
+ export interface DocumentPreviewHandle {
33
+ /** Which render branch is active — structural, safe for always-on reads. */
34
+ getKind: () => DocumentPreviewKind;
35
+ /** The document display name (PHI). Surfaced by the adapter as a `phi` action. */
36
+ getName: () => string | undefined;
37
+ }
38
+ declare const documentPreviewVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
39
+ export declare const DocumentPreview: import("react").ForwardRefExoticComponent<DocumentPreviewProps & import("react").RefAttributes<DocumentPreviewHandle>>;
40
+ export {};
41
+ //# sourceMappingURL=document-preview.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { DocumentPreview } from './document-preview';
2
+ export type { DocumentPreviewProps, DocumentPreviewHandle, DocumentPreviewKind, DocumentPreviewMetadata, DocumentPreviewSignatureStatus, } from './document-preview';
3
+ export { documentPreviewAgent } from './document-preview.agent';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { D as r, d as t } from "../../_chunks/document-preview-CGSM_au9.js";
2
+ export {
3
+ r as DocumentPreview,
4
+ t as documentPreviewAgent
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { D as a, d as c } from "../../_chunks/document-scanner-B23j4w7X.js";
1
+ import { D as a, d as c } from "../../_chunks/document-scanner-B6h1Ir56.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-CmdAl_JO.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-CY-VsLok.js";
1
+ import { D as e } from "../../_chunks/due-date-calculator-DASNRgnH.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-BzJZqS-8.js";
3
3
  export {
4
4
  r as CRL_DATING_MAX_MM,
5
5
  o as CRL_DATING_MIN_MM,
@@ -1,4 +1,4 @@
1
- import { E as a } from "../../_chunks/editor-overlay-BIOzr8v7.js";
1
+ import { E as a } from "../../_chunks/editor-overlay-DE3esyio.js";
2
2
  export {
3
3
  a as EditorOverlay
4
4
  };
@@ -1,4 +1,4 @@
1
- import { E as e } from "../../_chunks/empty-state-BLy7tigq.js";
1
+ import { E as e } from "../../_chunks/empty-state-CrLsi0XI.js";
2
2
  export {
3
3
  e as EmptyState
4
4
  };
@@ -1,4 +1,4 @@
1
- import { E as t } from "../../_chunks/entity-summary-DpGziDv5.js";
1
+ import { E as t } from "../../_chunks/entity-summary--vP698Jn.js";
2
2
  export {
3
3
  t as EntitySummary
4
4
  };
@@ -42,11 +42,24 @@ export interface FaceLandmark {
42
42
  x: number;
43
43
  y: number;
44
44
  }
45
+ /** Axis-aligned box in view user units. */
46
+ export interface Box {
47
+ x: number;
48
+ y: number;
49
+ width: number;
50
+ height: number;
51
+ }
45
52
  export interface FaceView {
46
53
  id: FaceViewId;
47
54
  /** `faceScheme.view.<labelKey>` translation key. */
48
55
  labelKey: string;
49
56
  viewBox: string;
57
+ /** Photoless window: measured identity-affine mesh bbox + 24-unit pad,
58
+ pre-mirrored for the right profile. Re-measure if the mesh changes. */
59
+ schematicViewBox: string;
60
+ /** Raw identity-affine mesh bbox in LOCAL (un-mirrored) coords — the
61
+ auto-framing anchor. Same measurement as schematicViewBox, no pad. */
62
+ meshContentBox: Box;
50
63
  /** Pivot for the registration controls (the face centre). */
51
64
  pivot: Point;
52
65
  /** The face outline, drawn as a non-interactive guide. */
@@ -76,6 +89,109 @@ export interface FaceFinding {
76
89
  }
77
90
  /** Findings keyed by zone id. */
78
91
  export type FaceChart = Record<string, FaceFinding[]>;
92
+ /** The drawing tools the annotation layer exposes. */
93
+ export type FaceAnnotationTool = 'marker' | 'pen' | 'highlighter' | 'arrow' | 'line' | 'rect' | 'ellipse' | 'text';
94
+ /** Toolbar order. */
95
+ export declare const FACE_ANNOTATION_TOOLS: FaceAnnotationTool[];
96
+ /** Shared fields on every annotation. `tone` is decorative reinforcement of the
97
+ * KIND (shape / stroke style is the accessible channel), never colour alone. */
98
+ interface FaceAnnotationBase {
99
+ /** Stable id — the kit generates one when the consumer doesn't supply it. */
100
+ id: string;
101
+ tone?: MarkerTone;
102
+ /** Linked clinical zone — a zone id, `null` = assessed outside every zone,
103
+ * `undefined` = never assessed. Sticky: not re-assessed on mesh re-fit. */
104
+ zoneId?: string | null;
105
+ }
106
+ /** A shape glyph dropped at an arbitrary point (NOT snapped to a zone). */
107
+ export interface MarkerAnnotation extends FaceAnnotationBase {
108
+ kind: 'marker';
109
+ x: number;
110
+ y: number;
111
+ shape: MarkerShape;
112
+ }
113
+ /** A freehand stroke — `pen` (opaque, thin) or `highlighter` (translucent, wide). */
114
+ export interface InkAnnotation extends FaceAnnotationBase {
115
+ kind: 'pen' | 'highlighter';
116
+ points: Point[];
117
+ }
118
+ /** A two-point vector primitive drawn by dragging. */
119
+ export interface ShapeAnnotation extends FaceAnnotationBase {
120
+ kind: 'arrow' | 'line' | 'rect' | 'ellipse';
121
+ from: Point;
122
+ to: Point;
123
+ }
124
+ /** A typed callout pinned to a point. `text` is PHI — never surfaced in the
125
+ * agent snapshot, never persisted/logged/transmitted by the kit. */
126
+ export interface TextAnnotation extends FaceAnnotationBase {
127
+ kind: 'text';
128
+ x: number;
129
+ y: number;
130
+ text: string;
131
+ }
132
+ export type FaceAnnotation = MarkerAnnotation | InkAnnotation | ShapeAnnotation | TextAnnotation;
133
+ /** The distinct annotation kinds — the agent snapshot reports counts per kind. */
134
+ export type FaceAnnotationKind = FaceAnnotation['kind'];
135
+ /** An annotation as passed to `addAnnotation` — the `id` is optional (the kit
136
+ * generates a stable one when omitted). */
137
+ export type FaceAnnotationInput = (Omit<MarkerAnnotation, 'id'> & {
138
+ id?: string;
139
+ }) | (Omit<InkAnnotation, 'id'> & {
140
+ id?: string;
141
+ }) | (Omit<ShapeAnnotation, 'id'> & {
142
+ id?: string;
143
+ }) | (Omit<TextAnnotation, 'id'> & {
144
+ id?: string;
145
+ });
146
+ /** Annotations keyed by view — each view draws over its own photo. */
147
+ export type FaceAnnotations = Partial<Record<FaceViewId, FaceAnnotation[]>>;
148
+ /** The annotation kind each tool produces. */
149
+ export declare const ANNOTATION_TOOL_KIND: Record<FaceAnnotationTool, FaceAnnotationKind>;
150
+ /** True when the tool draws by dragging between two points. */
151
+ export declare function isShapeTool(tool: FaceAnnotationTool): boolean;
152
+ /** True when the tool captures a freehand point stream. */
153
+ export declare function isInkTool(tool: FaceAnnotationTool): boolean;
154
+ /** True when the tool places a single-click annotation (marker / text). */
155
+ export declare function isPointTool(tool: FaceAnnotationTool): boolean;
156
+ /** SVG path `d` for a freehand point list (a polyline). Pure — no React/DOM. */
157
+ export declare function inkPath(points: Point[]): string;
158
+ /** SVG path `d` for a two-point shape (arrowhead drawn separately). Pure. */
159
+ export declare function shapePath(kind: ShapeAnnotation['kind'], from: Point, to: Point): string;
160
+ /** SVG path `d` for a two-barb arrowhead at `to`, pointing along from→to. Pure. */
161
+ export declare function arrowHeadPath(from: Point, to: Point, size?: number): string;
162
+ /** Axis-aligned bounding box of an annotation, in viewBox units. Pure. */
163
+ export declare function annotationBBox(a: FaceAnnotation): {
164
+ x: number;
165
+ y: number;
166
+ width: number;
167
+ height: number;
168
+ };
169
+ /** Bounding-box centre of an annotation — anchors its focus outline / label. */
170
+ export declare function annotationAnchor(a: FaceAnnotation): Point;
171
+ /** Stroke width of an annotation's invisible pointer hit clone, in viewBox units. */
172
+ export declare const ANN_HIT_STROKE = 28;
173
+ /** Pointer hit radius around a point annotation (marker), in viewBox units. */
174
+ export declare const ANN_HIT_RADIUS = 26;
175
+ export type AnnotationHitGeometry = {
176
+ type: 'stroke';
177
+ d: string;
178
+ } | {
179
+ type: 'circle';
180
+ cx: number;
181
+ cy: number;
182
+ r: number;
183
+ } | {
184
+ type: 'rect';
185
+ x: number;
186
+ y: number;
187
+ width: number;
188
+ height: number;
189
+ };
190
+ /** Geometry for an annotation's transparent pointer hit target. Stroke kinds
191
+ * get a fat clone of their own path (hit on the stroke only — a hollow rect /
192
+ * ellipse interior stays click-through to the zones); marker gets a hit
193
+ * circle, text an estimated glyph box. Pure. */
194
+ export declare function annotationHitGeometry(a: FaceAnnotation, textSize?: number): AnnotationHitGeometry;
79
195
  export type FaceAffine = readonly [
80
196
  number,
81
197
  number,
@@ -89,6 +205,56 @@ export declare const IDENTITY_AFFINE: FaceAffine;
89
205
  export type FaceRegistration = Partial<Record<FaceViewId, FaceAffine>>;
90
206
  export declare function affineToString(m: FaceAffine): string;
91
207
  export declare function applyAffine(m: FaceAffine, p: Point): Point;
208
+ /** Inverse of a (non-degenerate) affine: photo space → mesh space. Pure. */
209
+ export declare function invertAffine(m: FaceAffine): FaceAffine;
210
+ /** Share of an auto-framed window the registered mesh occupies. 0.84 is the
211
+ * front mesh's natural canvas fill, so the front keeps its full frame and
212
+ * the profiles (smaller canvas share) zoom in to match it. */
213
+ export declare const AUTO_FRAME_FRACTION = 0.84;
214
+ /**
215
+ * Photo window that frames the registered mesh at a consistent size — the
216
+ * three-up "equal heads in equal cards" window. Transforms `meshBox` through
217
+ * `affine` (reflecting for the mirrored right profile), then returns a
218
+ * canvas-aspect window centred on the mesh, sized so the mesh fills
219
+ * `fraction` of it, shifted (never shrunk) to stay inside the canvas.
220
+ * Falls back to the full canvas when the window cannot fit or the input is
221
+ * degenerate. Pure; a window only — never a transform, so mesh, photo and
222
+ * annotation geometry are untouched.
223
+ */
224
+ export declare function autoFrameViewBox(meshBox: Box, affine: FaceAffine, canvas: {
225
+ width: number;
226
+ height: number;
227
+ }, opts?: {
228
+ mirror?: boolean;
229
+ fraction?: number;
230
+ }): string;
231
+ /** User zoom state: magnification `k` (1 = base window) plus the window
232
+ * origin as fractions of the pannable range, so it survives base-window
233
+ * changes (auto-frame recomputes, registration commits). */
234
+ export interface FaceZoomState {
235
+ k: number;
236
+ fx: number;
237
+ fy: number;
238
+ }
239
+ export declare const FACE_ZOOM_MIN = 1;
240
+ export declare const FACE_ZOOM_MAX = 8;
241
+ export declare const FACE_ZOOM_RESET: FaceZoomState;
242
+ /** Parse a `"x y w h"` viewBox string into a Box. */
243
+ export declare function parseViewBox(vb: string): Box;
244
+ /** Stringify a Box as a rounded viewBox value. */
245
+ export declare function boxToViewBox(b: Box): string;
246
+ /** The visible window for a zoom state: the base window shrunk by `k`,
247
+ * positioned by the fractional origin. `k <= 1` returns the base. */
248
+ export declare function composeZoomWindow(base: Box, z: FaceZoomState): Box;
249
+ /** Zoom by `factor` keeping the user-space point `p` fixed in the window.
250
+ * Clamped to [FACE_ZOOM_MIN, FACE_ZOOM_MAX] and to the base bounds. */
251
+ export declare function zoomWindowAround(base: Box, z: FaceZoomState, p: {
252
+ x: number;
253
+ y: number;
254
+ }, factor: number): FaceZoomState;
255
+ /** Pan the zoom window by a user-space delta (drag the content by `dx,dy`
256
+ * moves the window the opposite way), clamped to the base bounds. */
257
+ export declare function panZoomWindow(base: Box, z: FaceZoomState, dx: number, dy: number): FaceZoomState;
92
258
  /** Editable decomposition of an affine about a pivot — what the numeric
93
259
  * registration panel exposes. Angles are degrees. */
94
260
  export interface AffineParts {
@@ -110,4 +276,5 @@ export declare function decomposeAffine(m: FaceAffine, pivot: Point): AffinePart
110
276
  * Returns the identity if the system is degenerate.
111
277
  */
112
278
  export declare function solveAffine(src: Point[], dst: Point[]): FaceAffine;
279
+ export {};
113
280
  //# sourceMappingURL=face-scheme-data.d.ts.map