@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
@@ -0,0 +1,12 @@
1
+ import { type Ref } from 'react';
2
+ import { type DataGridRenderModel } from './body';
3
+ export interface DataGridHeaderProps<TData extends object> {
4
+ model: DataGridRenderModel<TData>;
5
+ headRef: Ref<HTMLTableSectionElement>;
6
+ /** Called with each pinned leaf header cell (measured offsets). */
7
+ measurePinned: (columnId: string, node: HTMLElement | null) => void;
8
+ /** `aria-rowindex` of header row `index` (0-based), when set. */
9
+ ariaRowIndexOf: (index: number) => number | undefined;
10
+ }
11
+ export declare function DataGridHeader<TData extends object>({ model, headRef, measurePinned, ariaRowIndexOf, }: DataGridHeaderProps<TData>): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=header.d.ts.map
@@ -1,4 +1,7 @@
1
1
  export { DataGrid } from './data-grid';
2
2
  export type { DataGridColumn, DataGridProps } from './data-grid';
3
3
  export { dataGridAgent } from './data-grid.agent';
4
+ export { DataGridToolbar, DataGridToolbarProvider } from './toolbar';
5
+ export { DATA_GRID_DEFAULT_PAGE_SIZE, DATA_GRID_MAX_SORT_LEVELS, DATA_GRID_PAGE_SIZE_OPTIONS, DATA_GRID_RESPONSIVE_BREAKPOINTS, DATA_GRID_VIRTUALIZE_ABOVE, } from './types';
6
+ export type { DataGridBulkActionHandler, DataGridCellContext, DataGridCellValue, DataGridChange, DataGridChangeEvent, DataGridChangeSource, DataGridColumnEdit, DataGridColumnFilter, DataGridColumnFilterModel, DataGridColumnGroup, DataGridColumnInfo, DataGridColumnPinning, DataGridColumnPrivacy, DataGridColumnStateEnvelopeV1, DataGridCustomEdit, DataGridCustomExportHandler, DataGridDateRangeFilterModel, DataGridEditContext, DataGridExportFormat, DataGridFeatureInfo, DataGridFilterModel, DataGridFooterContext, DataGridHandle, DataGridNumberEdit, DataGridNumberFilterModel, DataGridNumberFilterOperator, DataGridOption, DataGridPagination, DataGridPaginationConfig, DataGridQuery, DataGridRowSelectability, DataGridSelectEdit, DataGridSelectFilterModel, DataGridSortEntry, DataGridTextEdit, DataGridTextFilterModel, DataGridTextFilterOperator, DataGridToolbarBulkActionProps, DataGridToolbarColumnToggleProps, DataGridToolbarExportMenuItemProps, DataGridToolbarExportMenuProps, DataGridToolbarFacetFilterProps, DataGridToolbarFacetOption, DataGridToolbarFilterChipsProps, DataGridToolbarPrintProps, DataGridToolbarProviderProps, DataGridToolbarQuickSearchProps, DataGridToolbarRefreshProps, DataGridToolbarRootProps, DataGridWriteOptions, } from './types';
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,13 @@
1
- import { D as r, d as t } from "../../_chunks/data-grid.agent-CASyEAnb.js";
1
+ import { D as _, a as D, b as E, c as I, d as T, e as G, f as r, g as s, h as R } from "../../_chunks/toolbar-Bc3pjfG5.js";
2
2
  export {
3
- r as DataGrid,
4
- t as dataGridAgent
3
+ _ as DATA_GRID_DEFAULT_PAGE_SIZE,
4
+ D as DATA_GRID_MAX_SORT_LEVELS,
5
+ E as DATA_GRID_PAGE_SIZE_OPTIONS,
6
+ I as DATA_GRID_RESPONSIVE_BREAKPOINTS,
7
+ T as DATA_GRID_VIRTUALIZE_ABOVE,
8
+ G as DataGrid,
9
+ r as DataGridToolbar,
10
+ s as DataGridToolbarProvider,
11
+ R as dataGridAgent
5
12
  };
6
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,76 @@
1
+ import { type KeyboardEvent as ReactKeyboardEvent, type RefObject } from 'react';
2
+ /** `data-dg-control` values on grid-owned row controls. */
3
+ export type DataGridRowControl = 'select' | 'expand';
4
+ /** Attribute that marks a grid-owned row control (not row data). */
5
+ export declare const DG_CONTROL_ATTR = "data-dg-control";
6
+ /** A target that owns its own keys: inputs, editors, comboboxes. */
7
+ export declare function isEditableTarget(target: EventTarget | null): boolean;
8
+ /** The grid-owned row control the event came from, or `null`. */
9
+ export declare function rowControlOf(target: EventTarget | null): DataGridRowControl | null;
10
+ export interface ShiftCapture {
11
+ onPointerDown: (event: {
12
+ shiftKey: boolean;
13
+ }) => void;
14
+ onKeyDown: (event: {
15
+ shiftKey: boolean;
16
+ key: string;
17
+ }) => void;
18
+ /** The Shift state of the last activation; resets after reading. */
19
+ take: (fallback?: boolean) => boolean;
20
+ }
21
+ /** Records Shift on pointerdown and keydown for a control whose change
22
+ * callback carries no event (Radix checkbox, keyboard-activated click). */
23
+ export declare function useShiftCapture(): ShiftCapture;
24
+ /**
25
+ * The new width for a key on the separator, or `null` when the key is not
26
+ * one of the separator's. ArrowRight and ArrowLeft move by
27
+ * `DATA_GRID_RESIZE_STEP_PX` (Shift: four times that); in RTL they swap,
28
+ * so the key toward the inline end always widens. Home and End jump to the
29
+ * bounds.
30
+ */
31
+ export declare function resizeWidthForKey(key: string, shiftKey: boolean, direction: 'ltr' | 'rtl', current: number, min: number, max: number): number | null;
32
+ export interface RowNavigation {
33
+ /** Body item indexes that hold this control, in display order. */
34
+ indexesWith: (control: DataGridRowControl) => number[];
35
+ /** Row id of a body item. */
36
+ rowIdAt: (index: number) => string | undefined;
37
+ /** Item index of a row id. */
38
+ indexOf: (rowId: string) => number | undefined;
39
+ /** Scrolls a virtualised item in and keeps it mounted. */
40
+ reveal: (index: number) => void;
41
+ }
42
+ /** The body's own data rows, in DOM order (nested grids excluded). */
43
+ export declare function ownRows(body: Element): HTMLElement[];
44
+ /** The body's own data row with this id, or `null`. */
45
+ export declare function findOwnRow(body: Element, rowId: string): HTMLElement | null;
46
+ /** The body's own data row that holds `target`, or `null` when `target`
47
+ * sits in a nested grid, a detail panel or outside the body. */
48
+ export declare function ownRowOf(body: Element, target: EventTarget | null): HTMLElement | null;
49
+ /** Focuses `control` on item `index`, scrolling it in first when needed. */
50
+ export declare function focusRowControl(body: HTMLElement, navigation: RowNavigation, index: number, control: DataGridRowControl): void;
51
+ /**
52
+ * `<tbody>` keydown: Arrow keys, Home and End between row checkboxes or
53
+ * expanders. Returns without acting for any other target, so editors,
54
+ * comboboxes and host menus keep their keys.
55
+ */
56
+ export declare function handleBodyKeyDown(event: ReactKeyboardEvent<HTMLElement>, navigation: RowNavigation): void;
57
+ /**
58
+ * Remembers which row and cell hold focus, tells the virtual window to keep
59
+ * that row mounted, and puts focus back when the row is remounted after a
60
+ * sort, a filter or a scroll. If the row is gone, focus goes to the scroll
61
+ * region, never to `body`. If the row stays but the focused control went
62
+ * (`readOnly` turned an editor into text, a box was removed), focus goes to
63
+ * the same cell, else the row's select box, else its row header. Call it
64
+ * from the component that renders the body, so it runs on every commit.
65
+ */
66
+ export declare function useFocusMemory({ bodyRef, scrollRef, navigation, keepMounted, onFocusedColumnIndex, }: {
67
+ bodyRef: RefObject<HTMLElement | null>;
68
+ scrollRef: RefObject<HTMLElement | null>;
69
+ navigation: RowNavigation;
70
+ /** Virtual window: keep this item mounted (`null` releases). */
71
+ keepMounted: (index: number | null) => void;
72
+ /** Visible cell index holding focus, or `null` (responsive hiding keeps
73
+ * that column). */
74
+ onFocusedColumnIndex?: (cellIndex: number | null) => void;
75
+ }): void;
76
+ //# sourceMappingURL=keyboard.d.ts.map
@@ -0,0 +1,18 @@
1
+ export interface DataGridPagerProps {
2
+ caption: string;
3
+ pageIndex: number;
4
+ pageSize: number;
5
+ /** `-1` when the server total is unknown. */
6
+ pageCount: number;
7
+ /** `-1` when unknown. */
8
+ rowCount: number;
9
+ /** Rows on this page (top level), for the range and unknown totals. */
10
+ pageRowCount: number;
11
+ pageSizeOptions: readonly number[];
12
+ showEndpoints: boolean;
13
+ loading: boolean;
14
+ onPageChange: (pageIndex: number) => void;
15
+ onPageSizeChange: (pageSize: number) => void;
16
+ }
17
+ export declare function DataGridPager({ caption, pageIndex, pageSize, pageCount, rowCount, pageRowCount, pageSizeOptions, showEndpoints, loading, onPageChange, onPageSizeChange, }: DataGridPagerProps): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=pager.d.ts.map
@@ -0,0 +1,60 @@
1
+ import type { DataGridStoreImpl } from './state';
2
+ import type { DataGridColumn, DataGridColumnPinning, DataGridColumnStateEnvelopeV1 } from './types';
3
+ /** The four persisted column slices. */
4
+ export declare const DATA_GRID_PERSISTED_SLICES: readonly ["columnOrder", "columnSizing", "columnPinning", "columnVisibility"];
5
+ export type DataGridPersistedSlice = (typeof DATA_GRID_PERSISTED_SLICES)[number];
6
+ /** Debounce of the save after a column change. */
7
+ export declare const DATA_GRID_PERSIST_DEBOUNCE_MS = 250;
8
+ export declare function getDataGridColumnStateKey(gridId: string): string;
9
+ /** What the grid knows about its columns, for validation. */
10
+ export interface DataGridPersistenceColumns<TData> {
11
+ kitColumns: ReadonlyMap<string, DataGridColumn<TData>>;
12
+ groupOf: ReadonlyMap<string, string>;
13
+ defaultRowHeaderId: string | null;
14
+ privacyMode: boolean;
15
+ }
16
+ /** Validated saved state, in kit slice shapes. */
17
+ export interface DataGridLoadedColumnState {
18
+ columnOrder?: string[];
19
+ columnSizing?: Record<string, number>;
20
+ columnPinning?: DataGridColumnPinning;
21
+ columnVisibility?: Record<string, boolean>;
22
+ }
23
+ /** Drops pins on unknown or non-pinnable columns, pins that split a
24
+ * group, and duplicates (`end` loses the overlap). */
25
+ export declare function sanitiseDataGridPinning<TData>(pinning: {
26
+ start: readonly string[];
27
+ end: readonly string[];
28
+ }, ctx: DataGridPersistenceColumns<TData>): DataGridColumnPinning;
29
+ /**
30
+ * Validates a parsed envelope. Non-object or `v !== 1`: `null` (defaults
31
+ * used, overwritten on the next user change). Each field alone otherwise.
32
+ */
33
+ export declare function validateDataGridColumnState<TData>(raw: unknown, ctx: DataGridPersistenceColumns<TData>): DataGridLoadedColumnState | null;
34
+ /** Reads and validates the saved state; `null` when absent or unusable. */
35
+ export declare function loadDataGridColumnState<TData>(gridId: string, ctx: DataGridPersistenceColumns<TData>): DataGridLoadedColumnState | null;
36
+ /** Builds the envelope from the store's uncontrolled column slices. */
37
+ export declare function buildDataGridColumnStateEnvelope(store: Pick<DataGridStoreImpl, 'get' | 'isControlled'>): DataGridColumnStateEnvelopeV1;
38
+ export declare function saveDataGridColumnState(gridId: string, envelope: DataGridColumnStateEnvelopeV1): void;
39
+ export declare function clearDataGridColumnState(gridId: string): void;
40
+ /** DEV warning when persistence and a controlled column slice overlap. */
41
+ export declare function warnControlledPersistenceOverlap(gridId: string, store: Pick<DataGridStoreImpl, 'isControlled'>): void;
42
+ export interface DataGridColumnStatePersister {
43
+ /** Writes any pending save now. */
44
+ flush(): void;
45
+ /** Cancels the pending save without writing (after a reset). */
46
+ cancel(): void;
47
+ dispose(): void;
48
+ }
49
+ /**
50
+ * Subscribes to the store and saves on `user` and `api` column changes.
51
+ * `isDefault()` lets a reset to declared defaults remove the key instead of
52
+ * writing the defaults back.
53
+ */
54
+ export declare function createDataGridColumnStatePersister(options: {
55
+ gridId: string;
56
+ store: DataGridStoreImpl;
57
+ isDefault?: () => boolean;
58
+ debounceMs?: number;
59
+ }): DataGridColumnStatePersister;
60
+ //# sourceMappingURL=persistence.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { type RefObject } from 'react';
2
+ export interface DataGridPrint {
3
+ /** Every row is rendered for print. */
4
+ printing: boolean;
5
+ /** Renders every row, prints, then restores. */
6
+ print: () => Promise<void>;
7
+ }
8
+ /** Print state for one grid. `scrollRef` is the grid's scroll region. */
9
+ export declare function useDataGridPrint(scrollRef: RefObject<HTMLElement | null>): DataGridPrint;
10
+ //# sourceMappingURL=print.d.ts.map
@@ -0,0 +1,36 @@
1
+ import type { DataGridColumn } from './types';
2
+ export interface DataGridVisibilityInput<TData> {
3
+ /** Data columns (no utility columns), any order. */
4
+ columns: readonly DataGridColumn<TData>[];
5
+ /** Explicit visibility (user, host, storage). */
6
+ explicit: Readonly<Record<string, boolean>>;
7
+ privacyMode: boolean;
8
+ /** `responsiveColumns`; default on when any column has a tier. */
9
+ responsive: boolean;
10
+ /** Grid inline size in px; `null` before layout (nothing is hidden by
11
+ * width until the grid is measured). */
12
+ containerInlineSize: number | null;
13
+ /** The row-header column by default (cannot be hidden unless `hideable`). */
14
+ defaultRowHeaderId: string | null;
15
+ /** A column holding focus is never hidden by width. */
16
+ focusedColumnId?: string | null;
17
+ }
18
+ /** Is this tier hidden at this width? */
19
+ export declare function isTierHidden(tier: 1 | 2 | 3 | undefined, containerInlineSize: number | null): boolean;
20
+ /** `responsiveColumns` default: on when any column declares a tier. */
21
+ export declare function defaultResponsiveColumns<TData>(columns: readonly DataGridColumn<TData>[]): boolean;
22
+ /** Ids hidden by width alone (for announcements and tests). */
23
+ export declare function computeResponsiveHidden<TData>(input: Pick<DataGridVisibilityInput<TData>, 'columns' | 'explicit' | 'responsive' | 'containerInlineSize' | 'focusedColumnId'>): string[];
24
+ /** One column's effective visibility. */
25
+ export declare function isColumnEffectivelyVisible<TData>(column: DataGridColumn<TData>, input: DataGridVisibilityInput<TData>): boolean;
26
+ /** Effective map for every data column (v9 `columnVisibility`). */
27
+ export declare function computeEffectiveVisibility<TData>(input: DataGridVisibilityInput<TData>): Record<string, boolean>;
28
+ /**
29
+ * v9's `onColumnVisibilityChange` updater runs over the effective map; only
30
+ * the keys it changed become explicit (design § 9).
31
+ */
32
+ export declare function mergeVisibilityChange(explicit: Readonly<Record<string, boolean>>, effectiveBefore: Readonly<Record<string, boolean>>, effectiveAfter: Readonly<Record<string, boolean>>, isDataColumn: (id: string) => boolean): Record<string, boolean>;
33
+ /** `markColumnsUserTouched`: copies the current effective values into the
34
+ * explicit map (DataTable parity). */
35
+ export declare function markUserTouched(explicit: Readonly<Record<string, boolean>>, effective: Readonly<Record<string, boolean>>, ids: readonly string[]): Record<string, boolean>;
36
+ //# sourceMappingURL=responsive.d.ts.map
@@ -0,0 +1,58 @@
1
+ import type { DataGridStoreImpl } from './state';
2
+ import type { DataGridChangeSource, DataGridResolvedSelectability, DataGridRowSelectability, DataGridSelectionApi } from './types';
3
+ /** Normalises a host `getRowSelectability` result. */
4
+ export declare function resolveDataGridSelectability(value: DataGridRowSelectability | undefined): DataGridResolvedSelectability;
5
+ /**
6
+ * The header box's scope. Default `'page'` when paginated or in server
7
+ * mode, else `'all'`; `'none'` outside multiple mode. `'all'` in server
8
+ * mode acts as `'page'` (DEV warning): v9's select-all sees loaded rows
9
+ * only (`rowSelectionFeature.utils.js:62-79`).
10
+ */
11
+ export declare function resolveDataGridSelectAllScope(input: {
12
+ selectionMode: 'none' | 'single' | 'multiple';
13
+ selectAllScope: 'all' | 'page' | 'none' | undefined;
14
+ paginated: boolean;
15
+ dataMode: 'client' | 'server';
16
+ warn?: boolean;
17
+ }): 'all' | 'page' | 'none';
18
+ /** What selection reads from the engine. */
19
+ export interface DataGridSelectionRuntime {
20
+ store: DataGridStoreImpl;
21
+ mode: 'none' | 'single' | 'multiple';
22
+ scope: 'all' | 'page' | 'none';
23
+ rangeSelection: boolean;
24
+ dataMode: 'client' | 'server';
25
+ getSelectability: (rowId: string) => DataGridResolvedSelectability;
26
+ /** v9 `getRowsInDisplayOrder()` ids (filtered and sorted, all pages,
27
+ * expanded sub-rows included). */
28
+ getDisplayOrderIds: () => readonly string[];
29
+ /** Top-level row ids the header box acts on (the page, or every
30
+ * filtered row). */
31
+ getScopeRowIds: () => readonly string[];
32
+ /** Client: in the core row model at any depth. Server: always true. */
33
+ isKnownRowId: (rowId: string) => boolean;
34
+ }
35
+ /** The kit's range anchor, shared by the user and API paths. */
36
+ export interface DataGridSelectionAnchor {
37
+ current: string | null;
38
+ }
39
+ /**
40
+ * `setSelection`: locked ids are kept whatever is passed (they are never
41
+ * stored); `none` ids are dropped; unknown ids are dropped in client mode
42
+ * only. Single mode keeps the last selectable id.
43
+ */
44
+ export declare function normaliseDataGridSelection(runtime: DataGridSelectionRuntime, ids: readonly string[]): string[];
45
+ /** Selectable ids in the inclusive display-order range (either direction). */
46
+ export declare function getDataGridRangeIds(runtime: DataGridSelectionRuntime, fromId: string, toId: string): string[] | null;
47
+ export declare function setDataGridSelection(runtime: DataGridSelectionRuntime, ids: readonly string[], source: DataGridChangeSource): void;
48
+ /** Selects (or deselects) the range; `false` when an end is not shown. */
49
+ export declare function selectDataGridRange(runtime: DataGridSelectionRuntime, fromId: string, toId: string, checked: boolean, source: DataGridChangeSource): boolean;
50
+ export declare function toggleDataGridRow(runtime: DataGridSelectionRuntime, anchor: DataGridSelectionAnchor, rowId: string, checked: boolean, modifiers: {
51
+ shiftKey: boolean;
52
+ }, source: DataGridChangeSource): void;
53
+ /** Header box over selectable rows in scope only. */
54
+ export declare function getDataGridHeaderState(runtime: DataGridSelectionRuntime): boolean | 'indeterminate';
55
+ export declare function toggleAllDataGridRows(runtime: DataGridSelectionRuntime, anchor: DataGridSelectionAnchor, checked: boolean, source: DataGridChangeSource): void;
56
+ /** The renderer's selection API (types.ts `DataGridSelectionApi`). */
57
+ export declare function createDataGridSelectionApi(runtime: DataGridSelectionRuntime, anchor: DataGridSelectionAnchor): DataGridSelectionApi;
58
+ //# sourceMappingURL=selection.d.ts.map
@@ -0,0 +1,119 @@
1
+ import type { ColumnFiltersState, ColumnOrderState, ColumnPinningState, ExpandedState, RowSelectionState, SortingState } from '@tanstack/react-table';
2
+ import type { DataGridChange, DataGridChangeSource, DataGridColumnPinning, DataGridFilterModel, DataGridPagination, DataGridProps, DataGridQuery, DataGridSliceName, DataGridSlices, DataGridSortEntry, DataGridStore } from './types';
3
+ /** JSON with sorted keys; `undefined` members dropped. */
4
+ export declare function stableStringify(value: unknown): string;
5
+ export declare function stableEqual(a: unknown, b: unknown): boolean;
6
+ export declare function toV9Sorting(entries: readonly DataGridSortEntry[], isEffective: (colId: string) => boolean): SortingState;
7
+ export declare function fromV9Sorting(sorting: SortingState): DataGridSortEntry[];
8
+ /** Column keys v9 evaluates. Host keys, masked columns' keys and empty
9
+ * values stay in the kit slice only. */
10
+ export declare function toV9ColumnFilters(filters: DataGridFilterModel, isEvaluated: (key: string) => boolean): ColumnFiltersState;
11
+ /** Folds v9's next `columnFilters` back into the kit model: keys v9 does
12
+ * not see are kept as they were. */
13
+ export declare function mergeV9ColumnFilters(filters: DataGridFilterModel, next: ColumnFiltersState, isEvaluated: (key: string) => boolean): DataGridFilterModel;
14
+ /** Drops keys whose value is `null` or `undefined` (AG's "no filter"). */
15
+ export declare function compactFilterModel(filters: DataGridFilterModel): DataGridFilterModel;
16
+ export declare function toV9RowSelection(ids: readonly string[]): RowSelectionState;
17
+ export declare function fromV9RowSelection(state: RowSelectionState): string[];
18
+ export declare function toV9Expanded(ids: readonly string[]): ExpandedState;
19
+ /** `true` (v9's "all") becomes every expandable id. */
20
+ export declare function fromV9Expanded(state: ExpandedState, allExpandableIds: () => readonly string[]): string[];
21
+ export declare function toV9Pinning(pinning: DataGridColumnPinning, utilityIds: readonly string[]): ColumnPinningState;
22
+ export declare function fromV9Pinning(pinning: ColumnPinningState, isUtility: (id: string) => boolean): DataGridColumnPinning;
23
+ export declare function fromV9Order(order: ColumnOrderState, isUtility: (id: string) => boolean): string[];
24
+ /** Largest valid page index for a page count (`-1` = unknown: no cap). */
25
+ export declare function clampPageIndex(pageIndex: number, pageCount: number): number;
26
+ export interface DataGridPagerState {
27
+ canPrevious: boolean;
28
+ canNext: boolean;
29
+ /** A known, finite last page exists (no last-page button otherwise). */
30
+ hasLastPage: boolean;
31
+ }
32
+ /**
33
+ * Pager buttons. With an unknown total (`pageCount: -1`), Next stays
34
+ * enabled while the page is full and is disabled on a short page, and
35
+ * there is no last-page button (types.ts `rowCount`). v9's own
36
+ * `getCanNextPage()` is always `true` for `-1`, so the kit decides here.
37
+ */
38
+ export declare function computeDataGridPagerState(input: {
39
+ pageIndex: number;
40
+ pageSize: number;
41
+ pageCount: number;
42
+ /** Top-level rows on the current page. */
43
+ pageRowCount: number;
44
+ }): DataGridPagerState;
45
+ /** The host callbacks the store calls, in kit shapes. */
46
+ export type DataGridStoreCallbacks = Pick<DataGridProps<unknown>, 'onSortingChange' | 'onFiltersChange' | 'onQuickFilterChange' | 'onPageChange' | 'onRowSelectionChange' | 'onExpandedChange' | 'onColumnVisibilityChange' | 'onColumnPinningChange' | 'onColumnSizingChange' | 'onColumnOrderChange' | 'onQueryChange'>;
47
+ /** Per-render facts the store reads at write time. */
48
+ export interface DataGridStoreContext {
49
+ callbacks: DataGridStoreCallbacks;
50
+ clearSelectionOnFilterChange: boolean;
51
+ /** Locked row ids present in `rows`: added to every reported selection. */
52
+ getLockedRowIds: () => readonly string[];
53
+ /** Columns privacy mode masks right now (empty when it is off). Their
54
+ * sort entries and filter keys leave `getQuery()`. */
55
+ getMaskedColumnIds?: () => readonly string[];
56
+ }
57
+ /** One slice write in a batch. */
58
+ export type DataGridSliceWrite = {
59
+ [K in DataGridSliceName]: {
60
+ slice: K;
61
+ next: DataGridSlices[K] | ((previous: DataGridSlices[K]) => DataGridSlices[K]);
62
+ };
63
+ }[DataGridSliceName];
64
+ /** What `reconcile` needs from the current row model. */
65
+ export interface DataGridReconcileInput {
66
+ /** Keep a selected id? `null` keeps all (server mode never prunes). */
67
+ keepSelectedId: ((id: string) => boolean) | null;
68
+ /** Keep an expanded id? `null` keeps all. */
69
+ keepExpandedId: ((id: string) => boolean) | null;
70
+ /** Page count to clamp to; `null` or `-1` never clamps. */
71
+ pageCount: number | null;
72
+ }
73
+ /** The store's full surface inside the data-grid folder. */
74
+ export interface DataGridStoreImpl extends DataGridStore {
75
+ setContext(context: DataGridStoreContext): void;
76
+ /** Several slices in one write: one page reset, one selection clear, one
77
+ * `onQueryChange` (e.g. `clearFilters`, `moveColumn`). */
78
+ writeMany(writes: readonly DataGridSliceWrite[], source: DataGridChangeSource): void;
79
+ /** Delivers what `syncFromProps` recorded. Call outside render. */
80
+ flushHostChanges(): void;
81
+ /** Prunes selection and expanded ids and clamps the page (`'host'`). */
82
+ reconcile(input: DataGridReconcileInput): void;
83
+ /** Calls the host callbacks for slices seeded at creation (storage) and
84
+ * emits `'columns'` with that source. Call once, after mount. */
85
+ announceSeeded(slices: readonly DataGridSliceName[], source: DataGridChangeSource): void;
86
+ /** Reported selection: selectable ids plus locked rows present. */
87
+ getReportedSelection(): string[];
88
+ /** The effective query: masked columns' sort entries and filter keys
89
+ * are left out, and `maskedColumnIds` lists them while any exist. */
90
+ getQuery(): DataGridQuery;
91
+ /**
92
+ * Reports an effective-query change that no slice write made (privacy
93
+ * mode or the masked column set changed): with
94
+ * `clearSelectionOnFilterChange`, clears the selection when the filters
95
+ * or the search scope changed (one `'selection'` change, locked rows
96
+ * kept); resets the page to 0 when it is not; then calls
97
+ * `onQueryChange` once with the new query. A no-op
98
+ * when the query equals the last one reported (or the one at creation).
99
+ * Call outside render, after `flushHostChanges()`.
100
+ */
101
+ refreshEffectiveQuery(source: DataGridChangeSource): void;
102
+ /** Increments on every change; for `useSyncExternalStore`. */
103
+ getVersion(): number;
104
+ }
105
+ /** Did this change clear the selection for a new effective query? */
106
+ export declare function isQuerySelectionClear(change: DataGridChange): boolean;
107
+ export interface CreateDataGridStoreOptions {
108
+ /** Every slice's starting value (controlled props, defaults, storage). */
109
+ initial: DataGridSlices;
110
+ /** Slices controlled at creation. */
111
+ controlled?: Iterable<DataGridSliceName>;
112
+ context: DataGridStoreContext;
113
+ }
114
+ export declare function createDataGridStore(options: CreateDataGridStoreOptions): DataGridStoreImpl;
115
+ /** The empty value of each slice (no props, no storage). */
116
+ export declare function emptyDataGridSlices(pageSize: number): DataGridSlices;
117
+ /** A shallow kit copy of a pagination value. */
118
+ export declare function copyPagination(page: DataGridPagination): DataGridPagination;
119
+ //# sourceMappingURL=state.d.ts.map
@@ -0,0 +1,34 @@
1
+ import { type EmptyStateHeadingLevel } from '../empty-state';
2
+ /** Placeholder rows while the first rows load. Hidden from assistive tech:
3
+ * the table carries `aria-busy` and the announcer says "Loading data…". */
4
+ export declare function DataGridSkeletonRows({ rowCount, columnCount, density, }: {
5
+ rowCount: number;
6
+ columnCount: number;
7
+ density: 'default' | 'compact';
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ export interface DataGridStateRowProps {
10
+ kind: 'first-use' | 'no-results' | 'error';
11
+ columnCount: number;
12
+ empty?: {
13
+ title?: string;
14
+ description?: string;
15
+ action?: {
16
+ label: string;
17
+ onClick: () => void;
18
+ };
19
+ headingLevel?: EmptyStateHeadingLevel;
20
+ noResultsTitle?: string;
21
+ noResultsDescription?: string;
22
+ };
23
+ error?: {
24
+ title?: string;
25
+ description?: string;
26
+ onRetry?: () => void;
27
+ headingLevel?: EmptyStateHeadingLevel;
28
+ };
29
+ /** "Clear filters" on no results (source `'user'`). */
30
+ onClearFilters: () => void;
31
+ }
32
+ /** One `<tr><td colSpan>` holding the EmptyState for the current state. */
33
+ export declare function DataGridStateRow({ kind, columnCount, empty, error, onClearFilters, }: DataGridStateRowProps): import("react/jsx-runtime").JSX.Element;
34
+ //# sourceMappingURL=states.d.ts.map
@@ -0,0 +1,7 @@
1
+ import type { TableToolbarSeam } from '../_shared/table-toolbar/seam';
2
+ import type { CreateDataGridToolbarSeam } from './types';
3
+ /** @internal The grid caption behind a DataGrid seam, for default export
4
+ * file names (`DataGridToolbar.ExportMenu`). */
5
+ export declare function dataGridSeamCaption(seam: TableToolbarSeam): string | undefined;
6
+ export declare const createDataGridToolbarSeam: CreateDataGridToolbarSeam;
7
+ //# sourceMappingURL=toolbar-seam.d.ts.map
@@ -0,0 +1,41 @@
1
+ import type { DataGridToolbarBulkActionProps, DataGridToolbarColumnToggleProps, DataGridToolbarExportMenuItemProps, DataGridToolbarExportMenuProps, DataGridToolbarFacetFilterProps, DataGridToolbarFilterChipsProps, DataGridToolbarProviderProps, DataGridToolbarQuickSearchProps, DataGridToolbarRefreshProps, DataGridToolbarRootProps } from './types';
2
+ /**
3
+ * For a toolbar outside the grid (a page header). Binds to whatever
4
+ * `getGrid()` returns, once after mount and again whenever any DataGrid
5
+ * mounts or unmounts (`dataGridMountSignal`): no polling. Until a grid is
6
+ * bound the parts are inert.
7
+ */
8
+ export declare function DataGridToolbarProvider({ getGrid, children, }: DataGridToolbarProviderProps): import("react/jsx-runtime").JSX.Element;
9
+ /**
10
+ * The DataGrid toolbar. Put it in the grid's `toolbar` prop, or lift it into
11
+ * a page header under `DataGridToolbarProvider`.
12
+ */
13
+ export declare const DataGridToolbar: import("react").ForwardRefExoticComponent<DataGridToolbarRootProps & import("react").RefAttributes<HTMLDivElement>> & {
14
+ FilterBar: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
15
+ Actions: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
16
+ QuickSearch: {
17
+ (props: DataGridToolbarQuickSearchProps): import("react/jsx-runtime").JSX.Element;
18
+ displayName: string;
19
+ };
20
+ FilterChips: {
21
+ (_props: DataGridToolbarFilterChipsProps): import("react/jsx-runtime").JSX.Element;
22
+ displayName: string;
23
+ };
24
+ FacetFilter: {
25
+ ({ field, options, label, }: DataGridToolbarFacetFilterProps): import("react/jsx-runtime").JSX.Element | null;
26
+ displayName: string;
27
+ };
28
+ ColumnToggle: import("react").ForwardRefExoticComponent<DataGridToolbarColumnToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
29
+ ExportMenu: import("react").ForwardRefExoticComponent<DataGridToolbarExportMenuProps & import("react").RefAttributes<HTMLButtonElement>> & {
30
+ Item: {
31
+ (props: DataGridToolbarExportMenuItemProps): import("react/jsx-runtime").JSX.Element;
32
+ displayName: string;
33
+ };
34
+ };
35
+ Print: import("react").ForwardRefExoticComponent<Omit<import("..").IconButtonProps, "icon" | "children" | "aria-label" | "onClick" | "tooltip"> & {
36
+ label?: string;
37
+ } & import("react").RefAttributes<HTMLButtonElement>>;
38
+ Refresh: import("react").ForwardRefExoticComponent<DataGridToolbarRefreshProps & import("react").RefAttributes<HTMLButtonElement>>;
39
+ BulkAction: import("react").ForwardRefExoticComponent<DataGridToolbarBulkActionProps & import("react").RefAttributes<HTMLButtonElement>>;
40
+ };
41
+ //# sourceMappingURL=toolbar.d.ts.map