@alfadocs/ui-kit 1.113.0 → 1.115.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 (369) hide show
  1. package/dist/_chunks/{actions-cell-renderer-BVn3vDTg.js → actions-cell-renderer-bI27uXXC.js} +2 -2
  2. package/dist/_chunks/{ai-permission-notice-BkgcGmu8.js → ai-permission-notice-C-xR2_iS.js} +2 -2
  3. package/dist/_chunks/{alia-sidebar-CKkg3gc8.js → alia-sidebar-BBxbMRmX.js} +2 -2
  4. package/dist/_chunks/{anamnesis-card-BzuluoD1.js → anamnesis-card-Ddnrdfx3.js} +2 -2
  5. package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js → anamnesis-summary-card-S1H_AARG.js} +2 -2
  6. package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js → anamnesis-summary-rows-BZ36ULQk.js} +5 -5
  7. package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js → antenatal-schedule-timeline-va9zx7tJ.js} +12 -12
  8. package/dist/_chunks/{appointment-card-FKOnH1uJ.js → appointment-card-D_-aBrx5.js} +2 -2
  9. package/dist/_chunks/{appointment-timeline-eOi-y8m3.js → appointment-timeline-DxLu3afn.js} +3 -3
  10. package/dist/_chunks/{appointment-tray-C6oBvsG5.js → appointment-tray-BhXOJpIJ.js} +2 -2
  11. package/dist/_chunks/{ar-C4YQVTH6.js → ar-BFvUBJ_g.js} +10 -10
  12. package/dist/_chunks/{balance-badge-cell-BAZynD--.js → balance-badge-cell-CXHihM22.js} +28 -27
  13. package/dist/_chunks/{bishop-score-CnIft4eV.js → bishop-score-QJu-sM1y.js} +2 -2
  14. package/dist/_chunks/{bmi-calculator-NMkXc079.js → bmi-calculator-Ba4yoR31.js} +2 -2
  15. package/dist/_chunks/buildMatchPatternFn-jbaE1-W0.js +68 -0
  16. package/dist/_chunks/{calendar-appointment-editor-dialog-CaZm5wGR.js → calendar-appointment-editor-dialog-BVzFi4hH.js} +520 -532
  17. package/dist/_chunks/{card-C85_Ndhb.js → card-DVO3x8E-.js} +23 -19
  18. package/dist/_chunks/{care-plan-card-DMjlYlFc.js → care-plan-card-BA3MfdfZ.js} +2 -2
  19. package/dist/_chunks/{care-plan-entry-card-3hguBW45.js → care-plan-entry-card-CUtFZ813.js} +2 -2
  20. package/dist/_chunks/{chart-bddVIElM.js → chart-DebrFZ6L.js} +2 -2
  21. package/dist/_chunks/{chat-container-baxzy8k8.js → chat-container-B83b4hut.js} +2 -2
  22. package/dist/_chunks/checkbox-DV4sNDeB.js +282 -0
  23. package/dist/_chunks/{checkbox-group-eGdv9fZc.js → checkbox-group-EfinQS1h.js} +2 -2
  24. package/dist/_chunks/chevrons-up-down-CgiVAHb7.js +15 -0
  25. package/dist/_chunks/{clinical-note-card-BVkxGiGl.js → clinical-note-card-Zz5_GEz-.js} +2 -2
  26. package/dist/_chunks/compact-editor-fields-cP6yh7xv.js +21 -0
  27. package/dist/_chunks/{connection-status-CWSU3eiq.js → connection-status-DjarASoU.js} +2 -2
  28. package/dist/_chunks/{contact-card-CymtNvy3.js → contact-card-Cv-Nwvac.js} +2 -2
  29. package/dist/_chunks/{contact-profile-card-CAL66GaH.js → contact-profile-card-DMXWBBkU.js} +2 -2
  30. package/dist/_chunks/{cycle-calculator-ZMDvToIm.js → cycle-calculator-C68V9rdH.js} +6 -6
  31. package/dist/_chunks/data-grid-tabs-CsLbIv0h.js +365 -0
  32. package/dist/_chunks/data-table-DXaE2Ret.js +1693 -0
  33. package/dist/_chunks/data-table-tabs-NYLhD8_Z.js +242 -0
  34. package/dist/_chunks/date-locale-OG-MupVD.js +83 -0
  35. package/dist/_chunks/{date-picker-CdhXlgVI.js → date-picker-DBVTj6lO.js} +21 -20
  36. package/dist/_chunks/{date-picker-variants-Dt6UbonG.js → date-picker-variants-J1EeAhIH.js} +601 -678
  37. package/dist/_chunks/date-range-panel-CBFfkgmz.js +62 -0
  38. package/dist/_chunks/{date-range-picker-DCADIR8o.js → date-range-picker-PTRpDkXT.js} +72 -70
  39. package/dist/_chunks/{date-time-picker-CT2bC7-A.js → date-time-picker-CJnqiQoT.js} +22 -21
  40. package/dist/_chunks/{de-B1B3PIgY.js → de-i9wbjGPc.js} +2 -2
  41. package/dist/_chunks/{document-preview-5xs64jME.js → document-preview-WvJKHJOP.js} +2 -2
  42. package/dist/_chunks/{due-date-calculator-Dr2cDa64.js → due-date-calculator-C1UA5jpS.js} +7 -7
  43. package/dist/_chunks/{editable-currency-cell-renderer-BUdFMh67.js → editable-currency-cell-renderer-CtlMhLai.js} +3 -3
  44. package/dist/_chunks/{el-iLqGpapg.js → el-Cm-rWthb.js} +20 -20
  45. package/dist/_chunks/{en-GB-CxPRQbD6.js → en-GB-BHn82gW8.js} +11 -10
  46. package/dist/_chunks/en-US-C4QKhzhA.js +46 -0
  47. package/dist/_chunks/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
  48. package/dist/_chunks/{es-Bg1oqwDs.js → es-B_6Z19UA.js} +4 -4
  49. package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DkoxiDCh.js} +3 -3
  50. package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
  51. package/dist/_chunks/{file-manager-LG7B_UHB.js → file-manager-DFFExyym.js} +4 -4
  52. package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
  53. package/dist/_chunks/{forgot-password-form-YQVzSskq.js → forgot-password-form-Bc_UPax6.js} +2 -2
  54. package/dist/_chunks/format-ql5WTsYT.js +846 -0
  55. package/dist/_chunks/{fr-DpGxyOGI.js → fr-gTba51QO.js} +7 -7
  56. package/dist/_chunks/funnel-DpPV3Qkd.js +20 -0
  57. package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-60y1RyQL.js} +8 -8
  58. package/dist/_chunks/grid-context-AwsLJRhH.js +46 -0
  59. package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-CC-dbKE8.js} +7 -6
  60. package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-eXdtmEoU.js} +4 -4
  61. package/dist/_chunks/{hi-3Dtsksrw.js → hi-BIHq9ncx.js} +10 -10
  62. package/dist/_chunks/icon-button-group-C9mPK-bX.js +442 -0
  63. package/dist/_chunks/{index-CJE9uQmb.js → index-Bze5jCG_.js} +2 -1
  64. package/dist/_chunks/{isSameWeek-DyVftHWi.js → isSameWeek-CZOtDcsd.js} +2 -2
  65. package/dist/_chunks/{it-Cp0CA13d.js → it-DaCPWJ9Y.js} +11 -11
  66. package/dist/_chunks/{ja-9FOyR1lb.js → ja-BRCpkD95.js} +26 -26
  67. package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-CzG0RmhQ.js} +7 -7
  68. package/dist/_chunks/link-cell-renderer-Ditt5mvT.js +800 -0
  69. package/dist/_chunks/{login-dev-card-B6-zCFq3.js → login-dev-card-CPndtWdz.js} +3 -3
  70. package/dist/_chunks/map-view-Bny79cWa.js +856 -0
  71. package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CcEHJgDd.js} +3 -3
  72. package/dist/_chunks/match-BATShpSX.js +336 -0
  73. package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
  74. package/dist/_chunks/{nl-sfx-zJgR.js → nl-5tAwYo00.js} +6 -6
  75. package/dist/_chunks/normalizeDates-BBNNIR-v.js +36 -0
  76. package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-BVYG_MJE.js} +4 -4
  77. package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
  78. package/dist/_chunks/{parse-B0s7bY4d.js → parse-BLBWPIgE.js} +63 -61
  79. package/dist/_chunks/{parseISO-DZZ5a-zK.js → parseISO-Dl4T9peU.js} +2 -2
  80. package/dist/_chunks/parts-Wz2LeGnH.js +1113 -0
  81. package/dist/_chunks/{patient-details-RsT3SaYh.js → patient-details-DlT-vpSe.js} +3 -3
  82. package/dist/_chunks/{patient-field-row-D9rb-QJH.js → patient-field-row-B54uzvu-.js} +3 -3
  83. package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
  84. package/dist/_chunks/{patient-summary-card-BjZErlbt.js → patient-summary-card-Dy9-CzON.js} +4 -4
  85. package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
  86. package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
  87. package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
  88. package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
  89. package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-DnZuZD14.js} +3 -3
  90. package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
  91. package/dist/_chunks/{permission-matrix-BJ6sg3Zp.js → permission-matrix-BXmhICzN.js} +3 -3
  92. package/dist/_chunks/{pl-BLh7KO-s.js → pl-mLYbfByR.js} +7 -7
  93. package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
  94. package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
  95. package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-qZpw3zj8.js} +8 -8
  96. package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
  97. package/dist/_chunks/privacy-mask-BlJK51MD.js +78 -0
  98. package/dist/_chunks/privacy-mask-text-B8YfzB7L.js +7 -0
  99. package/dist/_chunks/{pt-CPKOrOLj.js → pt-CgaqtlD9.js} +6 -6
  100. package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
  101. package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
  102. package/dist/_chunks/{radiograph-panel.agent-CXah49KM.js → radiograph-panel.agent-C1LGeX-G.js} +3 -3
  103. package/dist/_chunks/{registration-form-Cq5_OSIL.js → registration-form-DW-0X7S4.js} +3 -3
  104. package/dist/_chunks/{reserved.agent-BMkapgom.js → reserved.agent-6p3Hm4oH.js} +29 -39
  105. package/dist/_chunks/{reset-password-form-BVsL2fOJ.js → reset-password-form-C93SH0Tx.js} +2 -2
  106. package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
  107. package/dist/_chunks/{rich-text-editor-BLS2cK-u.js → rich-text-editor-efaMWbYz.js} +3 -3
  108. package/dist/_chunks/{ro-Dc-oNqbF.js → ro-CpDg1-8v.js} +2 -2
  109. package/dist/_chunks/{ru-BtNpDZRR.js → ru-B7VMyjud.js} +9 -9
  110. package/dist/_chunks/saved-view-tabs-DLWm88Eq.js +932 -0
  111. package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
  112. package/dist/_chunks/{send-registration-link-form-OgPomrZN.js → send-registration-link-form-DWxWa_cJ.js} +6 -6
  113. package/dist/_chunks/{sidebar-2VsPlNkZ.js → sidebar-D5DFYN5K.js} +326 -335
  114. package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
  115. package/dist/_chunks/{slot-grid-BhjaLJ0o.js → slot-grid-b4eZXokb.js} +3 -3
  116. package/dist/_chunks/{sq-D4c7olaV.js → sq-B0Ree_9P.js} +2 -2
  117. package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
  118. package/dist/_chunks/subDays-Bsoy023P.js +8 -0
  119. package/dist/_chunks/{sv-Bf_dHPvh.js → sv-D9fP66O7.js} +4 -4
  120. package/dist/_chunks/{tag-DOZGz0fT.js → tag-BNlcEJfE.js} +70 -67
  121. package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-BNbkwIYM.js} +2 -2
  122. package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-CSa6vQ9r.js} +377 -391
  123. package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-Bmi9wCHq.js} +2 -2
  124. package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-CVjY1d7Q.js} +2 -2
  125. package/dist/_chunks/{theme-toggle-Czq3K9jB.js → theme-toggle-CObX2Ffa.js} +2 -2
  126. package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
  127. package/dist/_chunks/toolbar-Bc3pjfG5.js +9907 -0
  128. package/dist/_chunks/{tr-xqQ6cbGY.js → tr-Bcz5LCHZ.js} +2 -2
  129. package/dist/_chunks/{transcript-panel-A781Pkzr.js → transcript-panel-Wr8e4Zgi.js} +2 -2
  130. package/dist/_chunks/{treatment-receipt-pFqWFyD_.js → treatment-receipt-BydbojdD.js} +2 -2
  131. package/dist/_chunks/{use-appointment-details-read-DvK7Looa.js → use-appointment-details-read-BMAiQYo6.js} +6 -6
  132. package/dist/_chunks/{voice-control-panel-BGiX4sqB.js → voice-control-panel-Be_c0CQ0.js} +2 -2
  133. package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
  134. package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-DNSe65yd.js} +3 -3
  135. package/dist/_chunks/{zh-CN-C657DBCO.js → zh-CN-B7Ek17US.js} +11 -11
  136. package/dist/agent-catalog.json +722 -11
  137. package/dist/agent-i18n/en.json +52 -4
  138. package/dist/components/_shared/motion-is-off.d.ts +7 -0
  139. package/dist/components/_shared/privacy-mask-text.d.ts +4 -0
  140. package/dist/components/_shared/privacy-mask.d.ts +2 -4
  141. package/dist/components/_shared/saved-view-tabs/saved-tab.d.ts +54 -0
  142. package/dist/components/_shared/saved-view-tabs/saved-view-tabs.d.ts +93 -0
  143. package/dist/components/_shared/saved-view-tabs/use-saved-view-tabs.d.ts +59 -0
  144. package/dist/components/_shared/saved-view-tabs/view-adapter.d.ts +69 -0
  145. package/dist/components/_shared/table-filters/calendar-day.d.ts +27 -0
  146. package/dist/components/_shared/table-filters/predicates.d.ts +56 -0
  147. package/dist/components/_shared/table-toolbar/context.d.ts +28 -0
  148. package/dist/components/_shared/table-toolbar/describe-filter.d.ts +42 -0
  149. package/dist/components/_shared/table-toolbar/export-files.d.ts +47 -0
  150. package/dist/components/{data-table/xlsx-export.d.ts → _shared/table-toolbar/export-xlsx.d.ts} +2 -2
  151. package/dist/components/_shared/table-toolbar/parts.d.ts +125 -0
  152. package/dist/components/_shared/table-toolbar/seam.d.ts +261 -0
  153. package/dist/components/ai-permission-notice/index.js +1 -1
  154. package/dist/components/anamnesis-card/index.js +1 -1
  155. package/dist/components/anamnesis-summary-card/index.js +1 -1
  156. package/dist/components/appointment-card/index.js +2 -2
  157. package/dist/components/appointment-details-panel/index.js +1 -1
  158. package/dist/components/appointment-timeline/index.js +1 -1
  159. package/dist/components/bishop-score/index.js +1 -1
  160. package/dist/components/bmi-calculator/index.js +1 -1
  161. package/dist/components/booking/index.js +1 -1
  162. package/dist/components/booking/step-focus.d.ts +0 -6
  163. package/dist/components/card/index.js +1 -1
  164. package/dist/components/care-plan-card/index.js +1 -1
  165. package/dist/components/care-plan-entry-card/index.js +1 -1
  166. package/dist/components/chart/index.js +1 -1
  167. package/dist/components/chat-container/index.js +1 -1
  168. package/dist/components/checkbox/checkbox.d.ts +66 -6
  169. package/dist/components/checkbox/index.js +1 -1
  170. package/dist/components/checkbox-group/index.js +1 -1
  171. package/dist/components/clinical-note-card/index.js +1 -1
  172. package/dist/components/connection-status/index.js +1 -1
  173. package/dist/components/contact-card/index.js +1 -1
  174. package/dist/components/contact-profile-card/index.js +1 -1
  175. package/dist/components/cycle-calculator/index.js +1 -1
  176. package/dist/components/data-grid/announcer.d.ts +27 -0
  177. package/dist/components/data-grid/body.d.ts +95 -0
  178. package/dist/components/data-grid/columns.d.ts +96 -0
  179. package/dist/components/data-grid/data-grid.agent.d.ts +2 -1
  180. package/dist/components/data-grid/data-grid.d.ts +11 -27
  181. package/dist/components/data-grid/data-grid.variants.d.ts +118 -0
  182. package/dist/components/data-grid/editors.d.ts +8 -0
  183. package/dist/components/data-grid/export-snapshot.d.ts +3 -0
  184. package/dist/components/data-grid/features.d.ts +56 -0
  185. package/dist/components/data-grid/filter-fns.d.ts +23 -0
  186. package/dist/components/data-grid/filters/date-range-panel.d.ts +8 -0
  187. package/dist/components/data-grid/filters/filter-panels.d.ts +27 -0
  188. package/dist/components/data-grid/filters/filter-trigger.d.ts +7 -0
  189. package/dist/components/data-grid/footer.d.ts +10 -0
  190. package/dist/components/data-grid/grid-context.d.ts +18 -0
  191. package/dist/components/data-grid/handle.d.ts +60 -0
  192. package/dist/components/data-grid/header.d.ts +12 -0
  193. package/dist/components/data-grid/index.d.ts +3 -0
  194. package/dist/components/data-grid/index.js +10 -3
  195. package/dist/components/data-grid/keyboard.d.ts +76 -0
  196. package/dist/components/data-grid/pager.d.ts +18 -0
  197. package/dist/components/data-grid/persistence.d.ts +60 -0
  198. package/dist/components/data-grid/print.d.ts +10 -0
  199. package/dist/components/data-grid/responsive.d.ts +36 -0
  200. package/dist/components/data-grid/selection.d.ts +58 -0
  201. package/dist/components/data-grid/state.d.ts +119 -0
  202. package/dist/components/data-grid/states.d.ts +34 -0
  203. package/dist/components/data-grid/toolbar-seam.d.ts +7 -0
  204. package/dist/components/data-grid/toolbar.d.ts +41 -0
  205. package/dist/components/data-grid/types.d.ts +1346 -0
  206. package/dist/components/data-grid/use-data-grid-engine.d.ts +9 -0
  207. package/dist/components/data-grid/virtual-rows.d.ts +43 -0
  208. package/dist/components/data-grid-tabs/data-grid-tabs.agent.d.ts +9 -0
  209. package/dist/components/data-grid-tabs/data-grid-tabs.d.ts +4 -0
  210. package/dist/components/data-grid-tabs/grid-view-adapter.d.ts +15 -0
  211. package/dist/components/data-grid-tabs/index.d.ts +5 -0
  212. package/dist/components/data-grid-tabs/index.js +8 -0
  213. package/dist/components/data-grid-tabs/types.d.ts +220 -0
  214. package/dist/components/data-table/ag-toolbar-seam.d.ts +35 -0
  215. package/dist/components/data-table/calendar-day.d.ts +4 -21
  216. package/dist/components/data-table/data-table.d.ts +10 -6
  217. package/dist/components/data-table/filters/date-range-filter.d.ts +5 -9
  218. package/dist/components/data-table/filters/filter-kind.d.ts +6 -0
  219. package/dist/components/data-table/filters/number-filter.d.ts +6 -10
  220. package/dist/components/data-table/filters/select-filter.d.ts +2 -4
  221. package/dist/components/data-table/filters/text-filter.d.ts +2 -5
  222. package/dist/components/data-table/index.js +4 -4
  223. package/dist/components/data-table/toolbar.d.ts +25 -21
  224. package/dist/components/data-table-tabs/ag-view-adapter.d.ts +17 -0
  225. package/dist/components/data-table-tabs/data-table-tabs.d.ts +34 -33
  226. package/dist/components/data-table-tabs/index.js +1 -1
  227. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +11 -66
  228. package/dist/components/date-picker/index.js +1 -1
  229. package/dist/components/date-range-picker/index.js +1 -1
  230. package/dist/components/date-time-picker/index.js +1 -1
  231. package/dist/components/document-preview/index.js +1 -1
  232. package/dist/components/due-date-calculator/index.js +2 -2
  233. package/dist/components/entity-summary/index.js +1 -1
  234. package/dist/components/face-scheme/index.js +1 -1
  235. package/dist/components/fetal-weight/index.js +1 -1
  236. package/dist/components/file-manager/index.js +1 -1
  237. package/dist/components/finished-terminal/index.js +1 -1
  238. package/dist/components/gestational-age-calculator/index.js +1 -1
  239. package/dist/components/hcg-doubling/index.js +1 -1
  240. package/dist/components/heatmap/index.js +1 -1
  241. package/dist/components/icon-button-group/icon-button-group.d.ts +19 -1
  242. package/dist/components/icon-button-group/index.d.ts +1 -1
  243. package/dist/components/icon-button-group/index.js +1 -1
  244. package/dist/components/index.d.ts +1 -0
  245. package/dist/components/map-view/index.js +1 -1
  246. package/dist/components/map-view/map-view.d.ts +16 -0
  247. package/dist/components/notes-panel/index.js +1 -1
  248. package/dist/components/operator-hero/index.js +1 -1
  249. package/dist/components/patient-details/index.js +1 -1
  250. package/dist/components/patient-search/index.js +1 -1
  251. package/dist/components/patient-search/patient-search.d.ts +6 -2
  252. package/dist/components/patient-summary-card/index.js +1 -1
  253. package/dist/components/patient-table/index.js +1 -1
  254. package/dist/components/payment-card/index.js +1 -1
  255. package/dist/components/periodontal-chart/index.js +1 -1
  256. package/dist/components/periodontal-chart-card/index.js +1 -1
  257. package/dist/components/periodontal-diagnosis/index.js +1 -1
  258. package/dist/components/periodontal-risk-chart/index.js +1 -1
  259. package/dist/components/permission-matrix/index.js +1 -1
  260. package/dist/components/practice-profile-hero/index.js +1 -1
  261. package/dist/components/practice-results/index.js +1 -1
  262. package/dist/components/practice-results/practice-results.d.ts +15 -2
  263. package/dist/components/pregnancy-dating/index.js +1 -1
  264. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  265. package/dist/components/public-footer/index.js +1 -1
  266. package/dist/components/public-footer/public-footer.d.ts +23 -0
  267. package/dist/components/public-header/index.js +1 -1
  268. package/dist/components/public-header/public-header.d.ts +7 -0
  269. package/dist/components/radiograph-panel/index.js +1 -1
  270. package/dist/components/reviews-panel/index.js +1 -1
  271. package/dist/components/rich-text-editor/index.js +2 -2
  272. package/dist/components/section-card/index.js +1 -1
  273. package/dist/components/sidebar/index.js +1 -1
  274. package/dist/components/slot-grid/index.js +1 -1
  275. package/dist/components/stat/index.js +1 -1
  276. package/dist/components/stat/stat.d.ts +7 -0
  277. package/dist/components/tag/index.js +1 -1
  278. package/dist/components/task-card/index.js +1 -1
  279. package/dist/components/task-editor/index.js +1 -1
  280. package/dist/components/task-tray/index.js +1 -1
  281. package/dist/components/tasks-panel/index.js +1 -1
  282. package/dist/components/theme-toggle/index.js +1 -1
  283. package/dist/components/timeline/index.js +1 -1
  284. package/dist/components/transcript-panel/index.js +1 -1
  285. package/dist/components/treatment-receipt/index.js +1 -1
  286. package/dist/components/voice-control-panel/index.js +1 -1
  287. package/dist/components/workflow/index.js +1 -1
  288. package/dist/core.css +1 -1
  289. package/dist/host-compat.css +36 -2
  290. package/dist/i18n/locales/ar.d.ts +95 -0
  291. package/dist/i18n/locales/ar.js +98 -3
  292. package/dist/i18n/locales/de.d.ts +95 -0
  293. package/dist/i18n/locales/de.js +98 -3
  294. package/dist/i18n/locales/el.d.ts +95 -0
  295. package/dist/i18n/locales/el.js +98 -3
  296. package/dist/i18n/locales/en.d.ts +95 -0
  297. package/dist/i18n/locales/en.js +98 -2
  298. package/dist/i18n/locales/es.d.ts +95 -0
  299. package/dist/i18n/locales/es.js +98 -3
  300. package/dist/i18n/locales/fr.d.ts +95 -0
  301. package/dist/i18n/locales/fr.js +98 -3
  302. package/dist/i18n/locales/hi.d.ts +95 -0
  303. package/dist/i18n/locales/hi.js +98 -3
  304. package/dist/i18n/locales/it.d.ts +95 -0
  305. package/dist/i18n/locales/it.js +98 -3
  306. package/dist/i18n/locales/ja.d.ts +95 -0
  307. package/dist/i18n/locales/ja.js +98 -3
  308. package/dist/i18n/locales/nl.d.ts +95 -0
  309. package/dist/i18n/locales/nl.js +98 -3
  310. package/dist/i18n/locales/pl.d.ts +95 -0
  311. package/dist/i18n/locales/pl.js +98 -3
  312. package/dist/i18n/locales/pt.d.ts +95 -0
  313. package/dist/i18n/locales/pt.js +98 -3
  314. package/dist/i18n/locales/ro.d.ts +95 -0
  315. package/dist/i18n/locales/ro.js +98 -3
  316. package/dist/i18n/locales/ru.d.ts +95 -0
  317. package/dist/i18n/locales/ru.js +98 -3
  318. package/dist/i18n/locales/sq.d.ts +95 -0
  319. package/dist/i18n/locales/sq.js +98 -3
  320. package/dist/i18n/locales/sv.d.ts +95 -0
  321. package/dist/i18n/locales/sv.js +98 -3
  322. package/dist/i18n/locales/tr.d.ts +95 -0
  323. package/dist/i18n/locales/tr.js +98 -3
  324. package/dist/i18n/locales/zh.d.ts +95 -0
  325. package/dist/i18n/locales/zh.js +98 -3
  326. package/dist/index.js +1048 -1036
  327. package/dist/locales/ar.json +98 -3
  328. package/dist/locales/de.json +98 -3
  329. package/dist/locales/el.json +98 -3
  330. package/dist/locales/en.json +97 -2
  331. package/dist/locales/es.json +98 -3
  332. package/dist/locales/fr.json +98 -3
  333. package/dist/locales/hi.json +98 -3
  334. package/dist/locales/it.json +98 -3
  335. package/dist/locales/ja.json +98 -3
  336. package/dist/locales/nl.json +98 -3
  337. package/dist/locales/pl.json +98 -3
  338. package/dist/locales/pt.json +98 -3
  339. package/dist/locales/ro.json +98 -3
  340. package/dist/locales/ru.json +98 -3
  341. package/dist/locales/sq.json +98 -3
  342. package/dist/locales/sv.json +98 -3
  343. package/dist/locales/tr.json +98 -3
  344. package/dist/locales/zh.json +98 -3
  345. package/dist/patterns/alia-assistant/index.js +1 -1
  346. package/dist/patterns/anamnesis/index.js +1 -1
  347. package/dist/patterns/calendar/index.js +1 -1
  348. package/dist/patterns/forgot-password-form/index.js +1 -1
  349. package/dist/patterns/login-form/index.js +1 -1
  350. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  351. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  352. package/dist/patterns/registration-form/index.js +1 -1
  353. package/dist/patterns/reset-password-form/index.js +1 -1
  354. package/dist/patterns/send-registration-link-form/index.js +1 -1
  355. package/dist/patterns/signed-out-frame/index.js +1 -1
  356. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  357. package/dist/tokens.css +1 -1
  358. package/package.json +5 -1
  359. package/dist/_chunks/checkbox-a7Sh-dXb.js +0 -227
  360. package/dist/_chunks/data-grid.agent-CASyEAnb.js +0 -1773
  361. package/dist/_chunks/data-table-C9idMvs0.js +0 -2042
  362. package/dist/_chunks/data-table-tabs-Db7zToFD.js +0 -728
  363. package/dist/_chunks/format--x5jypvH.js +0 -1319
  364. package/dist/_chunks/icon-button-group-mXvYDaba.js +0 -427
  365. package/dist/_chunks/link-cell-renderer-_Fv3WEmb.js +0 -867
  366. package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
  367. package/dist/_chunks/practice-results-BByRCIuR.js +0 -1977
  368. package/dist/_chunks/privacy-mask-DbEKI-Jv.js +0 -81
  369. package/dist/_chunks/subDays-DKISP2nE.js +0 -8
@@ -416,6 +416,54 @@
416
416
  "resizeWidget": "Resize a widget to a span. Clamped to the grid and the widget’s min/max; colliding widgets are pushed down. Refused while edit mode is off or the board is stacked."
417
417
  }
418
418
  },
419
+ "dataGridTabs": {
420
+ "state": {
421
+ "activeTabId": "Id of the currently-active saved-filter tab.",
422
+ "activeSavedFilter": "The saved filter view the grid shows now (id + label), or null before the tabs mount. Under privacy mode the label reports { masked: true }. Read the filters from the DataGrid adapter.",
423
+ "tabs": "The saved-filter tabs, in strip order (ids + labels). Under privacy mode each label reports { masked: true }."
424
+ },
425
+ "actions": {
426
+ "selectTab": "Activate a saved-filter tab: records the outgoing tab's live view into it (and into localStorage with persistKey), then applies the incoming view (filters, and the quick search when captured) to the grid in one write. In server mode this asks the host for new rows once.",
427
+ "getTabs": "Return the saved-filter tabs (ids + labels) in order. Under privacy mode each label reports { masked: true }.",
428
+ "addTab": "Add a new tab capturing the grid's current filters, and activate it. Returns the new tab id. Does nothing when the host turned adding off (allowAdd).",
429
+ "renameTab": "Rename a saved-filter tab. No-op on locked tabs, empty labels, and when the host turned renaming off (allowRename).",
430
+ "removeTab": "Remove a saved-filter tab (its saved filter is lost). No-op on locked tabs, the last remaining tab, and when the host turned removing off (allowRemove). Keyboard focus stays where the user is."
431
+ }
432
+ },
433
+ "dataGrid": {
434
+ "state": {
435
+ "features": "Which features this grid has on, so you know which actions will work before you call them.",
436
+ "selection": "Row ids of the selected rows, on every page, locked rows included.",
437
+ "sort": "Active sort, in priority order.",
438
+ "filter": "Filter model: kit filter models keyed by column id, plus host keys. Under privacy mode, host keys and masked columns report { masked: true } instead of the value.",
439
+ "quickFilter": "Quick search text. Under privacy mode it reports { masked: true } while any column is masked.",
440
+ "currentPage": "Zero-based page number.",
441
+ "pageSize": "Rows per page.",
442
+ "pageCount": "Number of pages: 1 when paging is off, -1 when the server total is unknown.",
443
+ "rowCount": "Top-level rows after filters (client mode) or the server total (-1 when unknown).",
444
+ "rowIds": "Row ids in display order: every filtered row in client mode, the current page in server mode.",
445
+ "expandedRowIds": "Ids of the rows whose sub-rows or detail panel are open.",
446
+ "columns": "Data columns in display order: id, header label, visibility, pin side (start, end or false) and index."
447
+ },
448
+ "actions": {
449
+ "selectRows": "Replace the selection with the given row ids. Returns the resulting selection and the ids that were not selected.",
450
+ "selectRange": "Select every row from fromId to toId, inclusive, in display order. Rows that cannot be selected are skipped.",
451
+ "clearSelection": "Deselect every row. Locked rows stay selected.",
452
+ "getSelection": "Return the ids of the selected rows, on every page, locked rows included.",
453
+ "sortBy": "Replace the active sort with the given list, in priority order. In server mode this asks the host for new rows.",
454
+ "applyFilter": "Replace the filter model with the given object. In server mode this asks the host for new rows.",
455
+ "setQuickFilter": "Set the quick search text, which matches across the searchable columns. In server mode this asks the host for new rows.",
456
+ "clearFilters": "Clear every column filter, host key and the quick search. In server mode this asks the host for new rows.",
457
+ "goToPage": "Go to the given zero-based page. In server mode this asks the host for new rows.",
458
+ "setPageSize": "Set how many rows a page shows. In server mode this asks the host for new rows.",
459
+ "expandRow": "Open or close a row's sub-rows or detail panel.",
460
+ "scrollToRow": "Scroll a row into view, including a row a virtualised grid has not rendered yet. Does not move focus.",
461
+ "setColumnVisibility": "Show or hide a column. Counts as a user choice: it is saved for this grid and responsive hiding leaves it alone.",
462
+ "pinColumn": "Pin a column to the start or end edge so it stays in view while the others scroll, or unpin it. Saved for this grid.",
463
+ "moveColumn": "Move a column to a new position. It takes the pin side of the column that was at that position. Saved for this grid.",
464
+ "resetColumns": "Put every column back to the page's default width, order, pin and visibility, and delete the column choices saved for this grid."
465
+ }
466
+ },
419
467
  "dataTableTabs": {
420
468
  "state": {
421
469
  "activeTabId": "Id of the currently-active saved-filter tab.",
@@ -424,8 +472,8 @@
424
472
  "actions": {
425
473
  "selectTab": "Activate a saved-filter tab: snapshots the outgoing tab, applies the incoming filter model to the table.",
426
474
  "getTabs": "Return the saved-filter tabs (ids + labels) in order.",
427
- "addTab": "Add a new tab capturing the table's current filter model, and activate it. Returns the new tab id.",
428
- "renameTab": "Rename a saved-filter tab. No-op on locked tabs and empty labels.",
475
+ "addTab": "Add a new tab capturing the table's current filter model, and activate it. Returns the new tab id. Does nothing when the host turned adding off (allowAdd) and returns the active tab id.",
476
+ "renameTab": "Rename a saved-filter tab. No-op on locked tabs, empty labels, and when the host turned renaming off (allowRename).",
429
477
  "removeTab": "Remove a saved-filter tab (its saved filter is lost). No-op on locked tabs and the last remaining tab."
430
478
  }
431
479
  },
@@ -1138,8 +1186,8 @@
1138
1186
  "variant": "Active variant — one of `split-list-map`, `map-first`, `rich-cards`."
1139
1187
  },
1140
1188
  "actions": {
1141
- "scrollToResult": "Scroll the result card with the given id into the visible viewport.",
1142
- "focusPin": "Highlight the map pin for the given result id (no-op on rich-cards)."
1189
+ "scrollToResult": "Scroll the result card with the given id into the visible viewport and give it a light highlight. It does not choose the card: no \"Selected on the map\" tag.",
1190
+ "focusPin": "Choose the result with the given id as a pin click would. On a map variant at lg width and up the card gets the strong highlight and the \"Selected on the map\" tag, kept until another pin, a card or the map is clicked. On rich-cards or a narrow screen it gives a light highlight only."
1143
1191
  }
1144
1192
  },
1145
1193
  "pregnancyDating": {
@@ -0,0 +1,7 @@
1
+ /**
2
+ * True when movement should be instant: the patient asked for reduced motion,
3
+ * or the theme turned animation off (`.theme-accessible`, a zero
4
+ * `--animation-duration`).
5
+ */
6
+ export declare function motionIsOff(root: HTMLElement | null): boolean;
7
+ //# sourceMappingURL=motion-is-off.d.ts.map
@@ -0,0 +1,4 @@
1
+ /** The mask privacy mode shows for a name. TOTAL, as `maskedTitle` is: an
2
+ * empty or absent host mask degrades to the bullets, never to a blank. */
3
+ export declare function privacyMask(mask?: string): string;
4
+ //# sourceMappingURL=privacy-mask-text.d.ts.map
@@ -1,7 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
- /** The mask privacy mode shows for a name. TOTAL, as `maskedTitle` is: an
3
- * empty or absent host mask degrades to the bullets, never to a blank. */
4
- export declare function privacyMask(mask?: string): string;
2
+ import { privacyMask } from './privacy-mask-text';
3
+ export { privacyMask };
5
4
  /** One muted line where a personal value would have been. */
6
5
  export declare function PrivacyHiddenLine({ block }: {
7
6
  block?: string;
@@ -25,5 +24,4 @@ export declare function PrivacyNoticePanel({ title, icon, onTurnOff, }: PrivacyN
25
24
  title: string;
26
25
  icon?: ReactNode;
27
26
  }): import("react/jsx-runtime").JSX.Element;
28
- export {};
29
27
  //# sourceMappingURL=privacy-mask.d.ts.map
@@ -0,0 +1,54 @@
1
+ /** One saved view. */
2
+ export interface SavedTab {
3
+ /** Opaque machine-generated id: emitted as `data-tab-id`, never the label. */
4
+ id: string;
5
+ /** User-typed name; rendered text only, never used in DOM hooks or keys. */
6
+ label: string;
7
+ /** The table's filter model (`getFilter()` shape); `{}` = none. */
8
+ filterModel: Record<string, unknown>;
9
+ /** Captured quick search text; only present with `captureQuickFilter`. */
10
+ quickFilter?: string;
11
+ /** Locked tabs cannot be renamed or removed (an "All" tab). */
12
+ locked?: boolean;
13
+ /** `true` when a person typed the label: a tab added from the strip, the
14
+ * handle or an agent, and any tab renamed since. Under privacy mode the
15
+ * strip shows such a label as "Saved view N" and never announces it
16
+ * (Michael, 4 Nov 2026). `false`: a built-in or host label, shown as is
17
+ * (the core stamps it on uncontrolled `defaultTabs` and `createTab`
18
+ * tabs, so storage records the origin). Absent: a host label, unless
19
+ * the strip itself marked the tab typed in this session. Set only by a
20
+ * table with a privacy mode (DataGridTabs); DataTableTabs never sets or
21
+ * reads it. */
22
+ userNamed?: boolean;
23
+ }
24
+ /** Versioned persistence envelope, `localStorage[<prefix><persistKey>]`. */
25
+ export interface SavedViewTabsEnvelope {
26
+ v: 1;
27
+ tabs: SavedTab[];
28
+ /** Only with `persistActiveTab`; used only while it still names a tab. */
29
+ activeTabId?: string;
30
+ }
31
+ /** `crypto.randomUUID()`, with a counter where it is unavailable. */
32
+ export declare function defaultMakeTabId(): string;
33
+ /** Mirrors the column-state loader's guards: anything else is ignored. */
34
+ export declare function isValidEnvelope(value: unknown): value is SavedViewTabsEnvelope;
35
+ /** Reads and validates the envelope; `null` when absent, corrupt or the
36
+ * storage is unavailable. */
37
+ export declare function readEnvelope(prefix: string, key: string): SavedViewTabsEnvelope | null;
38
+ /**
39
+ * Tabs read back from storage, for a table with a privacy mode. A stored
40
+ * tab without the flag (`userNamed` neither `true` nor `false`) counts as
41
+ * user-named, unless it is locked (a person can never rename it) or a host
42
+ * tab (`hostTabs`, the `defaultTabs` or the seed) has the same id and the
43
+ * same label. Fails closed: an unflagged label that may have been typed is
44
+ * never shown under privacy mode.
45
+ */
46
+ export declare function withLabelOrigin(tabs: SavedTab[], hostTabs: readonly SavedTab[]): SavedTab[];
47
+ /** A tab as the host gave it, stamped as host-named when it says nothing
48
+ * (uncontrolled `defaultTabs` and `createTab` tabs, for a table with a
49
+ * privacy mode), so storage records that a person did not type it. */
50
+ export declare function asHostNamed(tab: SavedTab): SavedTab;
51
+ /** Writes the envelope; `activeTabId` only with `persistActiveTab`. Never
52
+ * throws (storage may be full, blocked or absent). */
53
+ export declare function writeEnvelope(prefix: string, key: string, tabs: SavedTab[], activeTabId: string | undefined, persistActiveTab: boolean): void;
54
+ //# sourceMappingURL=saved-tab.d.ts.map
@@ -0,0 +1,93 @@
1
+ /**
2
+ * SavedViewTabs: the folder-tab strip shared by DataTableTabs and
3
+ * DataGridTabs.
4
+ * ----------------------------------------------------------------------------
5
+ * A tab strip attached above a table region. Each tab captures and restores
6
+ * its own filter view (tabs are LIVE views: any filter edit rewrites the
7
+ * active tab); a "+" button saves the current view as a new tab; tabs rename
8
+ * by double-click, F2 or the popover editor and remove by Delete, Backspace
9
+ * or the pointer-only close mark.
10
+ *
11
+ * ARIA: a real APG tablist built on Radix Tabs with `activationMode="manual"`
12
+ * (arrow keys rove without applying views; Enter or Space activates). Every
13
+ * trigger points at ONE stable hand-rolled tabpanel that wraps `children`,
14
+ * so the table never remounts on a switch and no ARIA reference dangles. The
15
+ * "+" button and the rename editor are SIBLINGS of the tablist.
16
+ *
17
+ * Privacy (Michael, 4 Nov 2026): while the table hides people, or while no
18
+ * table says whether it does, a tab whose label a person typed
19
+ * (`isUserNamed`) shows as "Saved view N", the live region announces that
20
+ * name instead of the typed one, and the rename editor opens empty.
21
+ * Built-in and host labels stay readable. N is the tab's place in the
22
+ * strip when the strip first showed it as typed (or the next number above
23
+ * it never given), kept for the session: a removal never renames another
24
+ * tab, and a number is never reused. When
25
+ * privacy turns on, an open rename editor closes with its text cleared,
26
+ * and the live region drops any announcement made before.
27
+ *
28
+ * Internal: not exported from the package. The wrappers own the public API,
29
+ * the `data-component` marker (a literal in their own file, passed here as
30
+ * `rootProps`), the agent adapter and the table adapter.
31
+ *
32
+ * Co-located story (CLAUDE.md rule 13, design R10): recorded exception. An
33
+ * internal `_shared` part has no Storybook entry of its own, as no `_shared`
34
+ * folder in the kit does. The DataGridTabs and DataTableTabs stories cover
35
+ * every strip state through the wrappers, and `saved-view-tabs.test.tsx`
36
+ * pins the core and the strip against a fake adapter.
37
+ */
38
+ import { type ReactNode } from 'react';
39
+ import { type VariantProps } from 'class-variance-authority';
40
+ import type { AgentAdapter } from '../../../agent/types';
41
+ import type { SavedTab } from './saved-tab';
42
+ import { type UseSavedViewTabsOptions } from './use-saved-view-tabs';
43
+ export declare const savedViewTabsListVariants: (props?: ({
44
+ size?: "md" | "lg" | null | undefined;
45
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
46
+ export declare const savedViewTabsTriggerVariants: (props?: ({
47
+ size?: "md" | "lg" | null | undefined;
48
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
49
+ /** Curated imperative handle, also the agent adapter's surface. Structurally
50
+ * equal to `DataTableTabsHandle` and `DataGridTabsHandle`. */
51
+ export interface SavedViewTabsHandle {
52
+ getTabs: () => SavedTab[];
53
+ getActiveTabId: () => string | null;
54
+ /** Snapshots the outgoing tab, applies the incoming tab's view. */
55
+ selectTab: (id: string) => void;
56
+ /** Default view = a copy of the live view (the table does not change);
57
+ * an explicit `filterModel` is applied to the table. */
58
+ addTab: (label?: string, filterModel?: Record<string, unknown>) => string;
59
+ /** No-op on locked tabs and empty or whitespace labels. */
60
+ renameTab: (id: string, label: string) => void;
61
+ /** No-op on locked tabs and the last remaining tab. */
62
+ removeTab: (id: string) => void;
63
+ }
64
+ /** What the agent adapter receives: the handle, with add and rename bound
65
+ * by `allowAdd` and `allowRename`, plus a privacy read. */
66
+ export interface SavedViewTabsAgentHandle extends SavedViewTabsHandle {
67
+ /** True while the table hides people: report labels as masked. */
68
+ isPrivacyMode?: () => boolean;
69
+ }
70
+ /** The root marker, as a literal object in the wrapper's own file. */
71
+ export interface SavedViewTabsRootProps {
72
+ 'data-component': string;
73
+ }
74
+ export interface SavedViewTabsProps extends Omit<UseSavedViewTabsOptions, 'componentName'>, VariantProps<typeof savedViewTabsTriggerVariants> {
75
+ /** Display name of the wrapper, for DEV warnings. */
76
+ componentName: string;
77
+ /** Spread on the root: carries the wrapper's literal `data-component`. */
78
+ rootProps: SavedViewTabsRootProps;
79
+ /** The wrapper's agent adapter, registered under `id`. */
80
+ agent: AgentAdapter<SavedViewTabsAgentHandle>;
81
+ /** Extra classes on the tabpanel (squares the table's leading corner). */
82
+ panelClassName?: string;
83
+ allowAdd?: boolean;
84
+ allowRename?: boolean;
85
+ allowRemove?: boolean;
86
+ renameOnAdd?: boolean;
87
+ id?: string;
88
+ className?: string;
89
+ 'aria-label'?: string;
90
+ children: ReactNode;
91
+ }
92
+ export declare const SavedViewTabs: import("react").ForwardRefExoticComponent<SavedViewTabsProps & import("react").RefAttributes<SavedViewTabsHandle>>;
93
+ //# sourceMappingURL=saved-view-tabs.d.ts.map
@@ -0,0 +1,59 @@
1
+ import { type SavedTab } from './saved-tab';
2
+ import type { TabsViewAdapter } from './view-adapter';
3
+ export interface UseSavedViewTabsOptions {
4
+ /** How the hook reaches the table. Keep its identity stable. */
5
+ adapter: TabsViewAdapter;
6
+ /** localStorage prefix, e.g. `data-table-tabs:`. */
7
+ storagePrefix: string;
8
+ /** Component name for DEV warnings. */
9
+ componentName: string;
10
+ tabs?: SavedTab[];
11
+ defaultTabs?: SavedTab[];
12
+ onTabsChange?: (tabs: SavedTab[]) => void;
13
+ activeTabId?: string;
14
+ defaultActiveTabId?: string;
15
+ onActiveTabChange?: (id: string) => void;
16
+ /** Opt-in localStorage persistence; disabled while `tabs` is controlled. */
17
+ persistKey?: string;
18
+ /** Also persist the active tab id (needs `persistKey`). Default false. */
19
+ persistActiveTab?: boolean;
20
+ /** Capture and restore the quick search with the filters. Default false. */
21
+ captureQuickFilter?: boolean;
22
+ /** Apply the active tab's view on mount and on switch. Default true. */
23
+ applyOnActivate?: boolean;
24
+ /** Cap on the number of tabs. Default 8. */
25
+ maxTabs?: number;
26
+ /** Factory for a new tab; `index` is 1-based (used for the default name). */
27
+ createTab?: (index: number) => SavedTab;
28
+ /** Id factory; default `crypto.randomUUID()` with a counter fallback. */
29
+ makeTabId?: () => string;
30
+ }
31
+ export interface UseSavedViewTabsResult {
32
+ tabs: SavedTab[];
33
+ activeTabId: string;
34
+ selectTab: (id: string) => void;
35
+ addTab: (label?: string, filterModel?: Record<string, unknown>) => string;
36
+ renameTab: (id: string, label: string) => void;
37
+ removeTab: (id: string) => void;
38
+ atCapacity: boolean;
39
+ /** Synchronous snapshots for the imperative handle and agent adapter:
40
+ * fresh straight after a mutation, before React re-renders. */
41
+ getTabsSnapshot: () => SavedTab[];
42
+ getActiveTabIdSnapshot: () => string;
43
+ /** Whether the table hides people, as last read: re-read on every bind
44
+ * and every privacy change the adapter reports. Always `'off'` for an
45
+ * adapter with no privacy mode. */
46
+ privacy: PrivacyState;
47
+ /** Whether a person typed the tab's label: `userNamed: true`, or a tab
48
+ * this hook marked as typed in this session that comes back without the
49
+ * flag (a controlled host that maps payloads to its own schema). An
50
+ * explicit `userNamed: false` is the host's word for a built-in label.
51
+ * Always false for an adapter with no privacy mode. */
52
+ isUserNamed: (tab: SavedTab) => boolean;
53
+ }
54
+ export type PrivacyState = 'on' | 'off' | 'unknown';
55
+ /** Whether the table hides people. An adapter with no privacy read is
56
+ * `'off'`; one that has not answered yet is `'unknown'`. */
57
+ export declare function privacyStateOf(adapter: TabsViewAdapter): PrivacyState;
58
+ export declare function useSavedViewTabs(options: UseSavedViewTabsOptions): UseSavedViewTabsResult;
59
+ //# sourceMappingURL=use-saved-view-tabs.d.ts.map
@@ -0,0 +1,69 @@
1
+ /** What a saved tab captures and restores. */
2
+ export interface TabsView {
3
+ filterModel: Record<string, unknown>;
4
+ quickFilter?: string;
5
+ }
6
+ export interface TabsViewOptions {
7
+ /** Read or write the quick search too (`captureQuickFilter`). */
8
+ includeQuickFilter: boolean;
9
+ }
10
+ export interface TabsViewListeners {
11
+ /** After every filter or quick filter change that is not the adapter's
12
+ * own `apply`. */
13
+ onChange: () => void;
14
+ /** Once each time the adapter binds to a table (the first bind runs the
15
+ * initial apply). */
16
+ onReady: () => void;
17
+ /** Whenever `isPrivacyMode()` may answer differently (privacy mode
18
+ * toggled, or the table went away). The strip re-reads it to show or
19
+ * hide user-typed labels. Optional: an adapter with no privacy mode
20
+ * never calls it. */
21
+ onPrivacyChange?: () => void;
22
+ }
23
+ export interface TabsViewAdapter {
24
+ /** The live view; `undefined` until the table is ready. A non-empty
25
+ * quick search is returned only with `includeQuickFilter`. */
26
+ read(options: TabsViewOptions): TabsView | undefined;
27
+ /** Writes the view to the table, filters and quick search together where
28
+ * the table can (the DataGrid's `applyView`: one change, one server
29
+ * query). These writes are the adapter's own: it must not report them
30
+ * through `onChange`. No-op while not ready.
31
+ * Returns the view the table holds straight after the write when the
32
+ * adapter can read it back synchronously (the DataGrid can; AG may not).
33
+ * The core then guards on what landed, not on what it asked for, so a
34
+ * view the table normalised (empty filter values dropped) is never
35
+ * captured back over the saved one. */
36
+ apply(view: TabsView, options: TabsViewOptions): TabsView | void;
37
+ /** Binds as soon as the table resolves (the adapter waits for it), then
38
+ * reports changes. Returns the unbind. */
39
+ subscribe(listeners: TabsViewListeners): () => void;
40
+ /** Whether the table hides people (privacy mode).
41
+ * - `true`: the agent reports tab labels as `{ masked: true }` (a label
42
+ * is user-typed text and may name a patient), the strip shows a
43
+ * user-named tab as "Saved view N", and saved tabs never
44
+ * take in a new quick search or a new filter on a key that
45
+ * `privateFilterKeys` names (Michael, 4 Nov 2026). A capture records
46
+ * the removal of those parts, never a new value. With `persistKey`,
47
+ * storage keeps only the private parts it already held for that tab,
48
+ * so nothing new is stored and a view saved earlier survives a reload.
49
+ * A restore still applies them. `onTabsChange` payloads follow the
50
+ * storage rule: they never carry a private part the host did not
51
+ * already hold.
52
+ * - `false`: nothing is left out.
53
+ * - `undefined`: not known (no table bound now: before the first
54
+ * mount, or while the host shows something else in its place). The
55
+ * agent and the strip mask typed labels, `onTabsChange` payloads are
56
+ * stripped, and the core holds storage writes until a table binds.
57
+ * Never a remembered answer: the host may turn privacy on while no
58
+ * table is bound, so privacy never fails open. An adapter calls
59
+ * `onPrivacyChange` when its table goes away. Absent = the table has
60
+ * no privacy mode. */
61
+ isPrivacyMode?(): boolean | undefined;
62
+ /** Read only while `isPrivacyMode()` is not `false`: the keys of `filterModel`
63
+ * that must not be stored: filters on columns that hide people now,
64
+ * plus the host keys the host listed as able to hold personal text
65
+ * (DataGridTabs' `privateFilterKeys`, Michael, 4 Nov 2026). Other host
66
+ * keys hold ids or fixed values and are kept. Absent = none. */
67
+ privateFilterKeys?(filterModel: Record<string, unknown>): string[];
68
+ }
69
+ //# sourceMappingURL=view-adapter.d.ts.map
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Calendar-day helpers, shared by the table date filters (DataTable and
3
+ * DataGrid) and the DataTable date cell renderer.
4
+ *
5
+ * A calendar day is not an instant. `new Date('2008-09-06')` is UTC midnight,
6
+ * which every local getter then reads back shifted: west of UTC it is the 5th.
7
+ * Everything here works in local date parts so a day stays the day it was
8
+ * written with, whatever zone the browser is in.
9
+ */
10
+ /**
11
+ * A `Date` as `YYYY-MM-DD`, read off the LOCAL date parts: `toISOString()`
12
+ * would shift a local midnight to the previous day anywhere east of UTC.
13
+ */
14
+ export declare function toIsoDate(d: Date | undefined): string | null;
15
+ /** Whether a value is a bare `YYYY-MM-DD`: a calendar day, carrying no instant. */
16
+ export declare function isCalendarDay(s: unknown): s is string;
17
+ /** A bare day parses as LOCAL midnight; anything with a time/offset as-is. */
18
+ export declare function fromIsoDate(s: string | null | undefined): Date | undefined;
19
+ /**
20
+ * The calendar day a cell value stands for, as `YYYY-MM-DD`.
21
+ *
22
+ * An ISO string is read as the day it was WRITTEN with: `2026-04-15T17:32+02:00`
23
+ * is the 15th and `1933-04-04T00:00+01:00` the 4th, whatever zone the browser
24
+ * is in. Anything else is parsed and read off its local parts.
25
+ */
26
+ export declare function dayOf(cellValue: unknown): string | null;
27
+ //# sourceMappingURL=calendar-day.d.ts.map
@@ -0,0 +1,56 @@
1
+ import type { DateRangeFilterModel, NumberFilterModel, NumberFilterOperator, SelectFilterModel, TextFilterModel } from '../table-toolbar/seam';
2
+ /** The four comparisons a text filter needs, accent-folded and
3
+ * case-insensitive for one locale. */
4
+ export interface TextMatcher {
5
+ equals: (a: string, b: string) => boolean;
6
+ contains: (haystack: string, needle: string) => boolean;
7
+ startsWith: (haystack: string, needle: string) => boolean;
8
+ endsWith: (haystack: string, needle: string) => boolean;
9
+ }
10
+ /**
11
+ * Accent-folded, case-insensitive comparison. Intl.Collator handles
12
+ * locale-aware diacritic stripping (e.g. "città" ~ "citta") so users don't
13
+ * need to type accented characters exactly to find rows.
14
+ */
15
+ export declare function makeTextMatcher(locale: string | undefined): TextMatcher;
16
+ /** A cell value as text; `null` for an absent value. */
17
+ export declare function coerceToString(raw: unknown): string | null;
18
+ /**
19
+ * Whether a cell passes a text model. No model or an empty `filter` passes
20
+ * every row; an absent cell fails every active filter.
21
+ */
22
+ export declare function textFilterPasses(model: TextFilterModel | null | undefined, raw: unknown, matcher: TextMatcher): boolean;
23
+ /** A cell value as a number; `null` for empty or not a number. */
24
+ export declare function coerceNumberCell(raw: unknown): number | null;
25
+ /**
26
+ * The number predicate behind both DataTable's popover and floating row and
27
+ * DataGrid's `kitNumber`.
28
+ */
29
+ export declare function numberFilterPasses(op: NumberFilterOperator, cell: number | null, primary: number | null, secondary: number | null): boolean;
30
+ /** Whether a raw cell passes a number model (no model passes). */
31
+ export declare function numberModelPasses(model: NumberFilterModel | null | undefined, raw: unknown): boolean;
32
+ /** A set-filter value: option values, never labels. */
33
+ export type SelectFilterValue = string | number;
34
+ /**
35
+ * A typed key for one option value, so the number `1` and the string `'1'`
36
+ * stay different options.
37
+ */
38
+ export declare function selectValueKey(v: SelectFilterValue): string;
39
+ /** A raw cell as a set-filter value: strings and numbers keep their type,
40
+ * anything else becomes text; `null` for an absent value. */
41
+ export declare function toSelectValue(raw: unknown): SelectFilterValue | null;
42
+ /**
43
+ * Whether a raw cell passes a set model. No model or an empty value list
44
+ * passes every row; an absent cell fails every active filter.
45
+ */
46
+ export declare function selectFilterPasses(model: SelectFilterModel | null | undefined, raw: unknown): boolean;
47
+ /** Whether a cell's day lies within `[dateFrom, dateTo]` (either end open). */
48
+ export declare function dayInRange(cellValue: unknown, dateFrom: string | null | undefined, dateTo: string | null | undefined): boolean;
49
+ /** Whether a raw cell passes a date-range model (no model passes). */
50
+ export declare function dateRangeModelPasses(model: DateRangeFilterModel | null | undefined, raw: unknown): boolean;
51
+ /**
52
+ * Whether a model filters nothing, so the engine can drop it from state
53
+ * (AG's `null`). Unknown shapes are kept: they are not ours to judge.
54
+ */
55
+ export declare function isEmptyFilterModel(model: unknown): boolean;
56
+ //# sourceMappingURL=predicates.d.ts.map
@@ -0,0 +1,28 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { TableToolbarChangeKind, TableToolbarSeam } from './seam';
3
+ /** @internal What the shared parts read. */
4
+ export interface TableToolbarContextValue {
5
+ seam: TableToolbarSeam;
6
+ }
7
+ /** @internal Props of {@link TableToolbarProvider}. */
8
+ export interface TableToolbarProviderProps {
9
+ seam: TableToolbarSeam;
10
+ children: ReactNode;
11
+ }
12
+ /** @internal Puts one table's seam in reach of the toolbar parts below. */
13
+ export declare function TableToolbarProvider({ seam, children, }: TableToolbarProviderProps): import("react/jsx-runtime").JSX.Element;
14
+ /**
15
+ * @internal The seam of the nearest table toolbar provider, else
16
+ * `fallback` (an engine's own context, such as DataGrid's toolbar slot).
17
+ * Throws `missingMessage` when there is neither (each engine words it for
18
+ * its own API).
19
+ */
20
+ export declare function useTableToolbarSeam(missingMessage: string, fallback?: TableToolbarSeam | null): TableToolbarSeam;
21
+ /**
22
+ * @internal A number that changes whenever the seam reports a change of one
23
+ * of `kinds`. Read the seam during render and list this number in the
24
+ * dependencies of anything memoised over it. Subscribing is safe before the
25
+ * engine is ready: the seam binds late and fires once it can answer.
26
+ */
27
+ export declare function useSeamVersion(seam: TableToolbarSeam, kinds: readonly TableToolbarChangeKind[]): number;
28
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1,42 @@
1
+ import type { TableToolbarColumn } from './seam';
2
+ /**
3
+ * `date-fns` `format(date, pattern)` for the patterns `getShortDateFormat`
4
+ * returns, which use only `dd`, `MM`, `yyyy` and the separators `/ . -`.
5
+ * Same output (local calendar fields, zero-padded, era year as date-fns
6
+ * writes it), without shipping date-fns `format` with every toolbar.
7
+ */
8
+ export declare function formatShortDate(date: Date, pattern: string): string;
9
+ /** A translator with a fallback, as `useTranslation('ui').t` is called. */
10
+ export type DescribeFilterTranslate = (key: string, fallback: string) => string;
11
+ /** How values read in a chip. Each hook is optional: without them the chip
12
+ * reads exactly as DataTable's did in kit 1.112. */
13
+ export interface DescribeFilterFormat {
14
+ /** DataGrid's wording: a text operator in the text filter menu's words,
15
+ * an open date bound as "From …" or "To …", and a one-date operator
16
+ * named ("Less than …"). Without it, kit 1.112's wording (DataTable). */
17
+ kitWording?: boolean;
18
+ /** A select option's label for its value, if the column has one. */
19
+ optionLabel?: (value: unknown) => string | undefined;
20
+ /** A number in the UI language. */
21
+ number?: (value: number) => string;
22
+ /** A `YYYY-MM-DD` calendar day in the UI language. */
23
+ day?: (day: string) => string;
24
+ }
25
+ /**
26
+ * The format hooks for one column, all only when the seam asks for
27
+ * formatted values (`features.formatsFilterValues`, DataGrid), so
28
+ * DataTable's chips keep their kit 1.112 text.
29
+ */
30
+ export declare function chipFormatFor(column: Pick<TableToolbarColumn, 'filterOptions'>, formatsValues: boolean, language: string | undefined): DescribeFilterFormat;
31
+ /**
32
+ * One line of chip text for a kit filter model. The operator is the model's
33
+ * own type key (`contains`, `greaterThan`, …); it reads through the
34
+ * `dataTable.agGrid.*` strings DataTable's filter menus use (with
35
+ * `kitWording`, a text operator reads through the text filter's own menu
36
+ * strings), so a chip says "Contiene Rossi" in Italian, not the raw key.
37
+ *
38
+ * The typeahead model (`{ type: 'equals', value }`) is described by its
39
+ * column name only, as in kit 1.112: its value can be a person's name.
40
+ */
41
+ export declare function describeFilterModel(model: unknown, t: DescribeFilterTranslate, format?: DescribeFilterFormat): string;
42
+ //# sourceMappingURL=describe-filter.d.ts.map
@@ -0,0 +1,47 @@
1
+ import type { TableExportSnapshot } from './seam';
2
+ /** Header labels plus body rows, in column order. */
3
+ export interface TableExportTable {
4
+ headers: readonly string[];
5
+ rows: ReadonlyArray<readonly unknown[]>;
6
+ }
7
+ /**
8
+ * Resolve a DS colour token to an `[r, g, b]` tuple by letting the browser do
9
+ * the work: a transient probe reads `var(--token)` back as a computed colour.
10
+ * Exports are printed on white paper, so the probe sits inside a
11
+ * `.theme-light` host and always reads the light values, whatever theme the
12
+ * app is in (a dark theme would give light text on a white page). The
13
+ * imperative `.style.*` mutation here is on transient probe elements (never
14
+ * attached to JSX), permitted per src/docs/23-constraints.mdx
15
+ * §Runtime-computed dimensions.
16
+ */
17
+ export declare function resolveTokenToRgb(varName: string, fallback?: [number, number, number]): [number, number, number];
18
+ /** Offer a blob as a download. */
19
+ export declare function downloadBlob(blob: Blob, fileName: string): void;
20
+ /** A landscape PDF of the table, header fill and text from DS tokens. */
21
+ export declare function writeTablePdf(table: TableExportTable, options: {
22
+ fileName: string;
23
+ }): Promise<void>;
24
+ /** An `.xlsx` of the table, header colours from DS tokens. */
25
+ export declare function writeTableXlsx(table: TableExportTable, options: {
26
+ fileName: string;
27
+ }): Promise<void>;
28
+ /** A snapshot as a plain table; the totals line, if any, comes last. */
29
+ export declare function snapshotToTable(snapshot: TableExportSnapshot): TableExportTable;
30
+ /**
31
+ * The CSV text of a table: a header line, then one line per row, comma
32
+ * separated with RFC 4180 quoting, CRLF line ends and a formula-injection
33
+ * guard on text cells. Numbers are written with a point decimal mark.
34
+ */
35
+ export declare function buildTableCsv(table: TableExportTable): string;
36
+ /** Download a table as UTF-8 CSV with a byte-order mark, so Excel reads the
37
+ * encoding instead of guessing. */
38
+ export declare function writeTableCsv(table: TableExportTable, options: {
39
+ fileName: string;
40
+ }): void;
41
+ /**
42
+ * A file name from a caption: letters, digits, spaces, dots, hyphens and
43
+ * underscores kept (any script), runs of anything else turned into one
44
+ * hyphen, trimmed, never empty.
45
+ */
46
+ export declare function exportFileName(caption: string | undefined, extension: 'csv' | 'xlsx' | 'pdf'): string;
47
+ //# sourceMappingURL=export-files.d.ts.map
@@ -4,10 +4,10 @@ export interface XlsxHeaderColors {
4
4
  text: string;
5
5
  }
6
6
  /**
7
- * Build the `.xlsx` for a data table: one sheet, a bold header row on a filled
7
+ * Build the `.xlsx` for a table (DataTable or DataGrid): one sheet, a bold header row on a filled
8
8
  * background, then one row per record. Pure: no DOM, no grid. The workbook
9
9
  * library is dynamic-imported so it stays out of a consumer's main bundle
10
10
  * until someone exports.
11
11
  */
12
12
  export declare function buildDataTableXlsx(headers: readonly string[], rows: readonly (readonly unknown[])[], colors: XlsxHeaderColors): Promise<Blob>;
13
- //# sourceMappingURL=xlsx-export.d.ts.map
13
+ //# sourceMappingURL=export-xlsx.d.ts.map