@alfadocs/ui-kit 1.114.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 (290) 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-summary-rows-DaS-j8Jd.js → anamnesis-summary-rows-BZ36ULQk.js} +4 -4
  5. package/dist/_chunks/{antenatal-schedule-timeline-DmlXxevC.js → antenatal-schedule-timeline-va9zx7tJ.js} +11 -11
  6. package/dist/_chunks/{appointment-card-FKOnH1uJ.js → appointment-card-D_-aBrx5.js} +2 -2
  7. package/dist/_chunks/{appointment-timeline-eOi-y8m3.js → appointment-timeline-DxLu3afn.js} +3 -3
  8. package/dist/_chunks/{appointment-tray-C6oBvsG5.js → appointment-tray-BhXOJpIJ.js} +2 -2
  9. package/dist/_chunks/{ar-C4YQVTH6.js → ar-BFvUBJ_g.js} +10 -10
  10. package/dist/_chunks/{balance-badge-cell-BAZynD--.js → balance-badge-cell-CXHihM22.js} +28 -27
  11. package/dist/_chunks/buildMatchPatternFn-jbaE1-W0.js +68 -0
  12. package/dist/_chunks/{calendar-appointment-editor-dialog-iyh9QqNw.js → calendar-appointment-editor-dialog-BVzFi4hH.js} +519 -531
  13. package/dist/_chunks/{care-plan-card-DMjlYlFc.js → care-plan-card-BA3MfdfZ.js} +2 -2
  14. package/dist/_chunks/{care-plan-entry-card-3hguBW45.js → care-plan-entry-card-CUtFZ813.js} +2 -2
  15. package/dist/_chunks/{chart-bddVIElM.js → chart-DebrFZ6L.js} +2 -2
  16. package/dist/_chunks/{chat-container-baxzy8k8.js → chat-container-B83b4hut.js} +2 -2
  17. package/dist/_chunks/checkbox-DV4sNDeB.js +282 -0
  18. package/dist/_chunks/{checkbox-group-eGdv9fZc.js → checkbox-group-EfinQS1h.js} +2 -2
  19. package/dist/_chunks/chevrons-up-down-CgiVAHb7.js +15 -0
  20. package/dist/_chunks/compact-editor-fields-cP6yh7xv.js +21 -0
  21. package/dist/_chunks/{cycle-calculator-Dd-XbKmZ.js → cycle-calculator-C68V9rdH.js} +5 -5
  22. package/dist/_chunks/data-grid-tabs-CsLbIv0h.js +365 -0
  23. package/dist/_chunks/data-table-DXaE2Ret.js +1693 -0
  24. package/dist/_chunks/data-table-tabs-NYLhD8_Z.js +242 -0
  25. package/dist/_chunks/date-locale-OG-MupVD.js +83 -0
  26. package/dist/_chunks/{date-picker-CdhXlgVI.js → date-picker-DBVTj6lO.js} +21 -20
  27. package/dist/_chunks/{date-picker-variants-Dt6UbonG.js → date-picker-variants-J1EeAhIH.js} +601 -678
  28. package/dist/_chunks/date-range-panel-CBFfkgmz.js +62 -0
  29. package/dist/_chunks/{date-range-picker-DCADIR8o.js → date-range-picker-PTRpDkXT.js} +72 -70
  30. package/dist/_chunks/{date-time-picker-CT2bC7-A.js → date-time-picker-CJnqiQoT.js} +22 -21
  31. package/dist/_chunks/{de-B1B3PIgY.js → de-i9wbjGPc.js} +2 -2
  32. package/dist/_chunks/{due-date-calculator-Dl6SyMHO.js → due-date-calculator-C1UA5jpS.js} +6 -6
  33. package/dist/_chunks/{editable-currency-cell-renderer-BUdFMh67.js → editable-currency-cell-renderer-CtlMhLai.js} +3 -3
  34. package/dist/_chunks/{el-iLqGpapg.js → el-Cm-rWthb.js} +20 -20
  35. package/dist/_chunks/{en-GB-CxPRQbD6.js → en-GB-BHn82gW8.js} +11 -10
  36. package/dist/_chunks/en-US-C4QKhzhA.js +46 -0
  37. package/dist/_chunks/{es-Bg1oqwDs.js → es-B_6Z19UA.js} +4 -4
  38. package/dist/_chunks/{face-scheme-DlcQaQVR.js → face-scheme-DkoxiDCh.js} +2 -2
  39. package/dist/_chunks/{file-manager-LG7B_UHB.js → file-manager-DFFExyym.js} +4 -4
  40. package/dist/_chunks/format-ql5WTsYT.js +846 -0
  41. package/dist/_chunks/{fr-DpGxyOGI.js → fr-gTba51QO.js} +7 -7
  42. package/dist/_chunks/funnel-DpPV3Qkd.js +20 -0
  43. package/dist/_chunks/{gestational-age-calculator-DmzYdW5e.js → gestational-age-calculator-60y1RyQL.js} +7 -7
  44. package/dist/_chunks/grid-context-AwsLJRhH.js +46 -0
  45. package/dist/_chunks/{hcg-doubling-Tr72PetS.js → hcg-doubling-CC-dbKE8.js} +6 -5
  46. package/dist/_chunks/{heatmap-CNxCDl0D.js → heatmap-eXdtmEoU.js} +4 -4
  47. package/dist/_chunks/{hi-3Dtsksrw.js → hi-BIHq9ncx.js} +10 -10
  48. package/dist/_chunks/icon-button-group-C9mPK-bX.js +442 -0
  49. package/dist/_chunks/{index-CJE9uQmb.js → index-Bze5jCG_.js} +2 -1
  50. package/dist/_chunks/{isSameWeek-DyVftHWi.js → isSameWeek-CZOtDcsd.js} +2 -2
  51. package/dist/_chunks/{it-Cp0CA13d.js → it-DaCPWJ9Y.js} +11 -11
  52. package/dist/_chunks/{ja-9FOyR1lb.js → ja-BRCpkD95.js} +26 -26
  53. package/dist/_chunks/{kit-extensions-DZJRmDI6.js → kit-extensions-CzG0RmhQ.js} +4 -4
  54. package/dist/_chunks/link-cell-renderer-Ditt5mvT.js +800 -0
  55. package/dist/_chunks/{login-dev-card-D7orCfJT.js → login-dev-card-CPndtWdz.js} +2 -2
  56. package/dist/_chunks/{marketplace-app-shell-CPNVBVLH.js → marketplace-app-shell-CcEHJgDd.js} +2 -2
  57. package/dist/_chunks/match-BATShpSX.js +336 -0
  58. package/dist/_chunks/{nl-sfx-zJgR.js → nl-5tAwYo00.js} +6 -6
  59. package/dist/_chunks/normalizeDates-BBNNIR-v.js +36 -0
  60. package/dist/_chunks/{notes-panel-DXMTObBv.js → notes-panel-BVYG_MJE.js} +2 -2
  61. package/dist/_chunks/{parse-B0s7bY4d.js → parse-BLBWPIgE.js} +63 -61
  62. package/dist/_chunks/{parseISO-DZZ5a-zK.js → parseISO-Dl4T9peU.js} +2 -2
  63. package/dist/_chunks/parts-Wz2LeGnH.js +1113 -0
  64. package/dist/_chunks/{patient-details-DdtXBNjt.js → patient-details-DlT-vpSe.js} +2 -2
  65. package/dist/_chunks/{patient-field-row-D9rb-QJH.js → patient-field-row-B54uzvu-.js} +3 -3
  66. package/dist/_chunks/{patient-summary-card-CGHz-Bvm.js → patient-summary-card-Dy9-CzON.js} +3 -3
  67. package/dist/_chunks/{periodontal-diagnosis-xheWfi4g.js → periodontal-diagnosis-DnZuZD14.js} +2 -2
  68. package/dist/_chunks/{permission-matrix-BJ6sg3Zp.js → permission-matrix-BXmhICzN.js} +3 -3
  69. package/dist/_chunks/{pl-BLh7KO-s.js → pl-mLYbfByR.js} +7 -7
  70. package/dist/_chunks/{pregnancy-dating-BvorzHrd.js → pregnancy-dating-qZpw3zj8.js} +7 -7
  71. package/dist/_chunks/privacy-mask-BlJK51MD.js +78 -0
  72. package/dist/_chunks/privacy-mask-text-B8YfzB7L.js +7 -0
  73. package/dist/_chunks/{pt-CPKOrOLj.js → pt-CgaqtlD9.js} +6 -6
  74. package/dist/_chunks/{radiograph-panel.agent-CXah49KM.js → radiograph-panel.agent-C1LGeX-G.js} +3 -3
  75. package/dist/_chunks/{registration-form-Lw9T7IXr.js → registration-form-DW-0X7S4.js} +2 -2
  76. package/dist/_chunks/{reserved.agent-D2jwJPac.js → reserved.agent-6p3Hm4oH.js} +9 -9
  77. package/dist/_chunks/{rich-text-editor-BLS2cK-u.js → rich-text-editor-efaMWbYz.js} +3 -3
  78. package/dist/_chunks/{ro-Dc-oNqbF.js → ro-CpDg1-8v.js} +2 -2
  79. package/dist/_chunks/{ru-BtNpDZRR.js → ru-B7VMyjud.js} +9 -9
  80. package/dist/_chunks/saved-view-tabs-DLWm88Eq.js +932 -0
  81. package/dist/_chunks/{send-registration-link-form-DfbTjrEK.js → send-registration-link-form-DWxWa_cJ.js} +5 -5
  82. package/dist/_chunks/{sidebar-2VsPlNkZ.js → sidebar-D5DFYN5K.js} +326 -335
  83. package/dist/_chunks/{slot-grid-BhjaLJ0o.js → slot-grid-b4eZXokb.js} +3 -3
  84. package/dist/_chunks/{sq-D4c7olaV.js → sq-B0Ree_9P.js} +2 -2
  85. package/dist/_chunks/subDays-Bsoy023P.js +8 -0
  86. package/dist/_chunks/{sv-Bf_dHPvh.js → sv-D9fP66O7.js} +4 -4
  87. package/dist/_chunks/{tag-DOZGz0fT.js → tag-BNlcEJfE.js} +70 -67
  88. package/dist/_chunks/{task-card-DqVoitRk.js → task-card-BNbkwIYM.js} +2 -2
  89. package/dist/_chunks/{task-editor-D--LwVrg.js → task-editor-CSa6vQ9r.js} +377 -391
  90. package/dist/_chunks/{task-tray-C6j8HVMv.js → task-tray-Bmi9wCHq.js} +2 -2
  91. package/dist/_chunks/{tasks-panel-D6PuF4MQ.js → tasks-panel-CVjY1d7Q.js} +2 -2
  92. package/dist/_chunks/{theme-toggle-Czq3K9jB.js → theme-toggle-CObX2Ffa.js} +2 -2
  93. package/dist/_chunks/toolbar-Bc3pjfG5.js +9907 -0
  94. package/dist/_chunks/{tr-xqQ6cbGY.js → tr-Bcz5LCHZ.js} +2 -2
  95. package/dist/_chunks/{transcript-panel-A781Pkzr.js → transcript-panel-Wr8e4Zgi.js} +2 -2
  96. package/dist/_chunks/{treatment-receipt-pFqWFyD_.js → treatment-receipt-BydbojdD.js} +2 -2
  97. package/dist/_chunks/{use-appointment-details-read-BK_Gw1GG.js → use-appointment-details-read-BMAiQYo6.js} +4 -4
  98. package/dist/_chunks/{voice-control-panel-BGiX4sqB.js → voice-control-panel-Be_c0CQ0.js} +2 -2
  99. package/dist/_chunks/{workflow-webhook-action-CtBn5JvO.js → workflow-webhook-action-DNSe65yd.js} +2 -2
  100. package/dist/_chunks/{zh-CN-C657DBCO.js → zh-CN-B7Ek17US.js} +11 -11
  101. package/dist/agent-catalog.json +717 -6
  102. package/dist/agent-i18n/en.json +50 -2
  103. package/dist/components/_shared/privacy-mask-text.d.ts +4 -0
  104. package/dist/components/_shared/privacy-mask.d.ts +2 -4
  105. package/dist/components/_shared/saved-view-tabs/saved-tab.d.ts +54 -0
  106. package/dist/components/_shared/saved-view-tabs/saved-view-tabs.d.ts +93 -0
  107. package/dist/components/_shared/saved-view-tabs/use-saved-view-tabs.d.ts +59 -0
  108. package/dist/components/_shared/saved-view-tabs/view-adapter.d.ts +69 -0
  109. package/dist/components/_shared/table-filters/calendar-day.d.ts +27 -0
  110. package/dist/components/_shared/table-filters/predicates.d.ts +56 -0
  111. package/dist/components/_shared/table-toolbar/context.d.ts +28 -0
  112. package/dist/components/_shared/table-toolbar/describe-filter.d.ts +42 -0
  113. package/dist/components/_shared/table-toolbar/export-files.d.ts +47 -0
  114. package/dist/components/{data-table/xlsx-export.d.ts → _shared/table-toolbar/export-xlsx.d.ts} +2 -2
  115. package/dist/components/_shared/table-toolbar/parts.d.ts +125 -0
  116. package/dist/components/_shared/table-toolbar/seam.d.ts +261 -0
  117. package/dist/components/ai-permission-notice/index.js +1 -1
  118. package/dist/components/appointment-card/index.js +2 -2
  119. package/dist/components/appointment-details-panel/index.js +1 -1
  120. package/dist/components/appointment-timeline/index.js +1 -1
  121. package/dist/components/booking/index.js +1 -1
  122. package/dist/components/care-plan-card/index.js +1 -1
  123. package/dist/components/care-plan-entry-card/index.js +1 -1
  124. package/dist/components/chart/index.js +1 -1
  125. package/dist/components/chat-container/index.js +1 -1
  126. package/dist/components/checkbox/checkbox.d.ts +66 -6
  127. package/dist/components/checkbox/index.js +1 -1
  128. package/dist/components/checkbox-group/index.js +1 -1
  129. package/dist/components/cycle-calculator/index.js +1 -1
  130. package/dist/components/data-grid/announcer.d.ts +27 -0
  131. package/dist/components/data-grid/body.d.ts +95 -0
  132. package/dist/components/data-grid/columns.d.ts +96 -0
  133. package/dist/components/data-grid/data-grid.agent.d.ts +2 -1
  134. package/dist/components/data-grid/data-grid.d.ts +11 -27
  135. package/dist/components/data-grid/data-grid.variants.d.ts +118 -0
  136. package/dist/components/data-grid/editors.d.ts +8 -0
  137. package/dist/components/data-grid/export-snapshot.d.ts +3 -0
  138. package/dist/components/data-grid/features.d.ts +56 -0
  139. package/dist/components/data-grid/filter-fns.d.ts +23 -0
  140. package/dist/components/data-grid/filters/date-range-panel.d.ts +8 -0
  141. package/dist/components/data-grid/filters/filter-panels.d.ts +27 -0
  142. package/dist/components/data-grid/filters/filter-trigger.d.ts +7 -0
  143. package/dist/components/data-grid/footer.d.ts +10 -0
  144. package/dist/components/data-grid/grid-context.d.ts +18 -0
  145. package/dist/components/data-grid/handle.d.ts +60 -0
  146. package/dist/components/data-grid/header.d.ts +12 -0
  147. package/dist/components/data-grid/index.d.ts +3 -0
  148. package/dist/components/data-grid/index.js +10 -3
  149. package/dist/components/data-grid/keyboard.d.ts +76 -0
  150. package/dist/components/data-grid/pager.d.ts +18 -0
  151. package/dist/components/data-grid/persistence.d.ts +60 -0
  152. package/dist/components/data-grid/print.d.ts +10 -0
  153. package/dist/components/data-grid/responsive.d.ts +36 -0
  154. package/dist/components/data-grid/selection.d.ts +58 -0
  155. package/dist/components/data-grid/state.d.ts +119 -0
  156. package/dist/components/data-grid/states.d.ts +34 -0
  157. package/dist/components/data-grid/toolbar-seam.d.ts +7 -0
  158. package/dist/components/data-grid/toolbar.d.ts +41 -0
  159. package/dist/components/data-grid/types.d.ts +1346 -0
  160. package/dist/components/data-grid/use-data-grid-engine.d.ts +9 -0
  161. package/dist/components/data-grid/virtual-rows.d.ts +43 -0
  162. package/dist/components/data-grid-tabs/data-grid-tabs.agent.d.ts +9 -0
  163. package/dist/components/data-grid-tabs/data-grid-tabs.d.ts +4 -0
  164. package/dist/components/data-grid-tabs/grid-view-adapter.d.ts +15 -0
  165. package/dist/components/data-grid-tabs/index.d.ts +5 -0
  166. package/dist/components/data-grid-tabs/index.js +8 -0
  167. package/dist/components/data-grid-tabs/types.d.ts +220 -0
  168. package/dist/components/data-table/ag-toolbar-seam.d.ts +35 -0
  169. package/dist/components/data-table/calendar-day.d.ts +4 -21
  170. package/dist/components/data-table/data-table.d.ts +10 -6
  171. package/dist/components/data-table/filters/date-range-filter.d.ts +5 -9
  172. package/dist/components/data-table/filters/filter-kind.d.ts +6 -0
  173. package/dist/components/data-table/filters/number-filter.d.ts +6 -10
  174. package/dist/components/data-table/filters/select-filter.d.ts +2 -4
  175. package/dist/components/data-table/filters/text-filter.d.ts +2 -5
  176. package/dist/components/data-table/index.js +4 -4
  177. package/dist/components/data-table/toolbar.d.ts +25 -21
  178. package/dist/components/data-table-tabs/ag-view-adapter.d.ts +17 -0
  179. package/dist/components/data-table-tabs/data-table-tabs.d.ts +34 -33
  180. package/dist/components/data-table-tabs/index.js +1 -1
  181. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +11 -66
  182. package/dist/components/date-picker/index.js +1 -1
  183. package/dist/components/date-range-picker/index.js +1 -1
  184. package/dist/components/date-time-picker/index.js +1 -1
  185. package/dist/components/due-date-calculator/index.js +2 -2
  186. package/dist/components/face-scheme/index.js +1 -1
  187. package/dist/components/file-manager/index.js +1 -1
  188. package/dist/components/gestational-age-calculator/index.js +1 -1
  189. package/dist/components/hcg-doubling/index.js +1 -1
  190. package/dist/components/heatmap/index.js +1 -1
  191. package/dist/components/icon-button-group/icon-button-group.d.ts +19 -1
  192. package/dist/components/icon-button-group/index.d.ts +1 -1
  193. package/dist/components/icon-button-group/index.js +1 -1
  194. package/dist/components/index.d.ts +1 -0
  195. package/dist/components/notes-panel/index.js +1 -1
  196. package/dist/components/patient-details/index.js +1 -1
  197. package/dist/components/patient-summary-card/index.js +1 -1
  198. package/dist/components/patient-table/index.js +1 -1
  199. package/dist/components/periodontal-diagnosis/index.js +1 -1
  200. package/dist/components/permission-matrix/index.js +1 -1
  201. package/dist/components/pregnancy-dating/index.js +1 -1
  202. package/dist/components/radiograph-panel/index.js +1 -1
  203. package/dist/components/rich-text-editor/index.js +2 -2
  204. package/dist/components/sidebar/index.js +1 -1
  205. package/dist/components/slot-grid/index.js +1 -1
  206. package/dist/components/tag/index.js +1 -1
  207. package/dist/components/task-card/index.js +1 -1
  208. package/dist/components/task-editor/index.js +1 -1
  209. package/dist/components/task-tray/index.js +1 -1
  210. package/dist/components/tasks-panel/index.js +1 -1
  211. package/dist/components/theme-toggle/index.js +1 -1
  212. package/dist/components/transcript-panel/index.js +1 -1
  213. package/dist/components/treatment-receipt/index.js +1 -1
  214. package/dist/components/voice-control-panel/index.js +1 -1
  215. package/dist/core.css +1 -1
  216. package/dist/host-compat.css +33 -2
  217. package/dist/i18n/locales/ar.d.ts +94 -0
  218. package/dist/i18n/locales/ar.js +96 -2
  219. package/dist/i18n/locales/de.d.ts +94 -0
  220. package/dist/i18n/locales/de.js +96 -2
  221. package/dist/i18n/locales/el.d.ts +94 -0
  222. package/dist/i18n/locales/el.js +96 -2
  223. package/dist/i18n/locales/en.d.ts +94 -0
  224. package/dist/i18n/locales/en.js +97 -2
  225. package/dist/i18n/locales/es.d.ts +94 -0
  226. package/dist/i18n/locales/es.js +96 -2
  227. package/dist/i18n/locales/fr.d.ts +94 -0
  228. package/dist/i18n/locales/fr.js +96 -2
  229. package/dist/i18n/locales/hi.d.ts +94 -0
  230. package/dist/i18n/locales/hi.js +96 -2
  231. package/dist/i18n/locales/it.d.ts +94 -0
  232. package/dist/i18n/locales/it.js +96 -2
  233. package/dist/i18n/locales/ja.d.ts +94 -0
  234. package/dist/i18n/locales/ja.js +96 -2
  235. package/dist/i18n/locales/nl.d.ts +94 -0
  236. package/dist/i18n/locales/nl.js +96 -2
  237. package/dist/i18n/locales/pl.d.ts +94 -0
  238. package/dist/i18n/locales/pl.js +96 -2
  239. package/dist/i18n/locales/pt.d.ts +94 -0
  240. package/dist/i18n/locales/pt.js +96 -2
  241. package/dist/i18n/locales/ro.d.ts +94 -0
  242. package/dist/i18n/locales/ro.js +96 -2
  243. package/dist/i18n/locales/ru.d.ts +94 -0
  244. package/dist/i18n/locales/ru.js +96 -2
  245. package/dist/i18n/locales/sq.d.ts +94 -0
  246. package/dist/i18n/locales/sq.js +96 -2
  247. package/dist/i18n/locales/sv.d.ts +94 -0
  248. package/dist/i18n/locales/sv.js +96 -2
  249. package/dist/i18n/locales/tr.d.ts +94 -0
  250. package/dist/i18n/locales/tr.js +96 -2
  251. package/dist/i18n/locales/zh.d.ts +94 -0
  252. package/dist/i18n/locales/zh.js +96 -2
  253. package/dist/index.js +1044 -1032
  254. package/dist/locales/ar.json +96 -2
  255. package/dist/locales/de.json +96 -2
  256. package/dist/locales/el.json +96 -2
  257. package/dist/locales/en.json +96 -2
  258. package/dist/locales/es.json +96 -2
  259. package/dist/locales/fr.json +96 -2
  260. package/dist/locales/hi.json +96 -2
  261. package/dist/locales/it.json +96 -2
  262. package/dist/locales/ja.json +96 -2
  263. package/dist/locales/nl.json +96 -2
  264. package/dist/locales/pl.json +96 -2
  265. package/dist/locales/pt.json +96 -2
  266. package/dist/locales/ro.json +96 -2
  267. package/dist/locales/ru.json +96 -2
  268. package/dist/locales/sq.json +96 -2
  269. package/dist/locales/sv.json +96 -2
  270. package/dist/locales/tr.json +96 -2
  271. package/dist/locales/zh.json +96 -2
  272. package/dist/patterns/alia-assistant/index.js +1 -1
  273. package/dist/patterns/anamnesis/index.js +1 -1
  274. package/dist/patterns/calendar/index.js +1 -1
  275. package/dist/patterns/login-form/index.js +1 -1
  276. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  277. package/dist/patterns/registration-form/index.js +1 -1
  278. package/dist/patterns/send-registration-link-form/index.js +1 -1
  279. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  280. package/dist/tokens.css +1 -1
  281. package/package.json +5 -1
  282. package/dist/_chunks/checkbox-a7Sh-dXb.js +0 -227
  283. package/dist/_chunks/data-grid.agent-CASyEAnb.js +0 -1773
  284. package/dist/_chunks/data-table-C9idMvs0.js +0 -2042
  285. package/dist/_chunks/data-table-tabs-Db7zToFD.js +0 -728
  286. package/dist/_chunks/format--x5jypvH.js +0 -1319
  287. package/dist/_chunks/icon-button-group-mXvYDaba.js +0 -427
  288. package/dist/_chunks/link-cell-renderer-_Fv3WEmb.js +0 -867
  289. package/dist/_chunks/privacy-mask-Dc3kdkCR.js +0 -81
  290. package/dist/_chunks/subDays-DKISP2nE.js +0 -8
@@ -0,0 +1,9 @@
1
+ import { type ReactTable } from '@tanstack/react-table';
2
+ import { type DataGridFeatures } from './features';
3
+ import type { DataGridEngine, DataGridEngineOptions } from './types';
4
+ /** The v9 table the renderer reads (never leaves the data-grid folder). */
5
+ export type DataGridTable<TData extends object> = ReactTable<DataGridFeatures, TData>;
6
+ /** What `useDataGridEngine` returns. */
7
+ export type DataGridEngineResult<TData extends object> = DataGridEngine<TData, DataGridTable<TData>>;
8
+ export declare function useDataGridEngine<TData extends object>(options: DataGridEngineOptions<TData>): DataGridEngineResult<TData>;
9
+ //# sourceMappingURL=use-data-grid-engine.d.ts.map
@@ -0,0 +1,43 @@
1
+ /** Rows kept mounted beyond the viewport on each side (transcript-panel). */
2
+ export declare const DATA_GRID_OVERSCAN = 8;
3
+ export interface VirtualRowsOptions {
4
+ /** Virtualise at all (engine `status.virtualised`). */
5
+ enabled: boolean;
6
+ /** Body items: rows, expanded sub-rows and open detail panels. */
7
+ count: number;
8
+ getScrollElement: () => HTMLElement | null;
9
+ /** Stable key per item (row id, or row id plus a detail suffix). */
10
+ getItemKey: (index: number) => string;
11
+ /** Measured block size of one body row, or `null` before layout. */
12
+ rowSizePx: number | null;
13
+ /** Measured `<thead>` block size: the list starts below it. */
14
+ headSize: number;
15
+ /** Measured `<tfoot>` block size, kept clear when scrolling to an item. */
16
+ footSize: number;
17
+ }
18
+ export interface VirtualRowItem {
19
+ index: number;
20
+ /** Space between the previous mounted item and this one (px), from the
21
+ * virtualiser's own offsets; > 0 only when the focused item is kept
22
+ * mounted outside the window. */
23
+ gapBefore: number;
24
+ }
25
+ export interface VirtualRows {
26
+ enabled: boolean;
27
+ /** Mounted items in index order. Every item when not virtualised. */
28
+ items: VirtualRowItem[];
29
+ /** Spacer heights (px) before the first and after the last mounted item. */
30
+ padStart: number;
31
+ padEnd: number;
32
+ /** `ref` for each virtualised `<tr>` (with `data-index`). */
33
+ measureElement: (node: HTMLTableRowElement | null) => void;
34
+ /** Scrolls an item into view (no-op when not virtualised). */
35
+ scrollToIndex: (index: number) => void;
36
+ /** Keeps this item mounted (the focused row); `null` releases it. */
37
+ setFocusedIndex: (index: number | null) => void;
38
+ /** Re-measures every row (density or theme change). */
39
+ measure: () => void;
40
+ }
41
+ /** Window over the body items. */
42
+ export declare function useVirtualRows({ enabled, count, getScrollElement, getItemKey, rowSizePx, headSize, footSize, }: VirtualRowsOptions): VirtualRows;
43
+ //# sourceMappingURL=virtual-rows.d.ts.map
@@ -0,0 +1,9 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { DataGridTabsHandle } from './types';
3
+ /** The handle the strip registers: the curated one, plus a privacy read. A
4
+ * host's own `ref` has no `isPrivacyMode`, so labels read unmasked there. */
5
+ export type DataGridTabsAgentHandle = DataGridTabsHandle & {
6
+ isPrivacyMode?: () => boolean;
7
+ };
8
+ export declare const dataGridTabsAgent: AgentAdapter<DataGridTabsAgentHandle>;
9
+ //# sourceMappingURL=data-grid-tabs.agent.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { type DataGridTabsHandle, type DataGridTabsProps } from './types';
2
+ /** Saved filter views as tabs over a DataGrid. */
3
+ export declare const DataGridTabs: import("react").ForwardRefExoticComponent<DataGridTabsProps & import("react").RefAttributes<DataGridTabsHandle>>;
4
+ //# sourceMappingURL=data-grid-tabs.d.ts.map
@@ -0,0 +1,15 @@
1
+ import type { TabsViewAdapter } from '../_shared/saved-view-tabs/view-adapter';
2
+ import type { DataGridTabsSeam } from './types';
3
+ export interface GridViewAdapterDeps {
4
+ /** The grid the tabs ride on now, or nothing while none is mounted. */
5
+ resolve: () => DataGridTabsSeam | null | undefined;
6
+ /** Calls back whenever `resolve()` may return something new (a grid
7
+ * registered, mounted or unmounted). Returns the unsubscribe. */
8
+ watchBindings: (onBindingChange: () => void) => () => void;
9
+ /** Host keys that may hold personal text (DataGridTabs'
10
+ * `privateFilterKeys`), read at call time. Never stored while privacy
11
+ * mode is on. Absent = none. */
12
+ hostPrivateKeys?: () => readonly string[] | undefined;
13
+ }
14
+ export declare function createGridViewAdapter({ resolve, watchBindings, hostPrivateKeys, }: GridViewAdapterDeps): TabsViewAdapter;
15
+ //# sourceMappingURL=grid-view-adapter.d.ts.map
@@ -0,0 +1,5 @@
1
+ export { DataGridTabs } from './data-grid-tabs';
2
+ export { DATA_GRID_TABS_MAX_DEFAULT, DATA_GRID_TABS_STORAGE_PREFIX, } from './types';
3
+ export type { DataGridSavedTab, DataGridTabsEnvelopeV1, DataGridTabsHandle, DataGridTabsProps, DataGridTabsSeam, } from './types';
4
+ export { dataGridTabsAgent } from './data-grid-tabs.agent';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { D as T, a as _, b as D, d as s } from "../../_chunks/data-grid-tabs-CsLbIv0h.js";
2
+ export {
3
+ T as DATA_GRID_TABS_MAX_DEFAULT,
4
+ _ as DATA_GRID_TABS_STORAGE_PREFIX,
5
+ D as DataGridTabs,
6
+ s as dataGridTabsAgent
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,220 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { DataGridFilterModel, DataGridHandle } from '../data-grid/types';
3
+ /** localStorage key prefix: `<prefix><persistKey>`. Own prefix, so a
4
+ * DataTableTabs (`data-table-tabs:`) and a DataGridTabs on one page never
5
+ * share storage. */
6
+ export declare const DATA_GRID_TABS_STORAGE_PREFIX = "data-grid-tabs:";
7
+ /** Default tab cap, as DataTableTabs. */
8
+ export declare const DATA_GRID_TABS_MAX_DEFAULT = 8;
9
+ /**
10
+ * One saved view. Structurally identical to DataTableTabs' `SavedTab`
11
+ * (`data-table-tabs/use-data-table-filter-tabs.ts:46-57`), so a tab copied
12
+ * between the two components keeps working: the filter models are the same
13
+ * kit shapes.
14
+ */
15
+ export interface DataGridSavedTab {
16
+ /** Opaque machine-generated id; emitted as `data-tab-id`, never the label. */
17
+ id: string;
18
+ /** Display name. Rendered as text (`dir="auto"`), never in DOM hooks.
19
+ * Under privacy mode a label a person typed (`userNamed`) shows as
20
+ * "Saved view N" and is never announced; a built-in or host label stays
21
+ * readable, so it must never contain a person's name, and a label a
22
+ * person typed must carry `userNamed: true`. The agent reports every
23
+ * label as `{ masked: true }` then.
24
+ *
25
+ * Stored (`persistKey`) and sent (`onTabsChange`) as typed, also when it
26
+ * was typed under privacy mode. Product decision (Michael, 4 Nov 2026):
27
+ * the label is the tab's name, written on purpose; privacy mode governs
28
+ * the screen, not the user's own saved views. */
29
+ label: string;
30
+ /** `DataGridHandle.getFilter()`: column models and host keys; `{}` = none. */
31
+ filterModel: DataGridFilterModel;
32
+ /** Quick search text; present only with `captureQuickFilter`. */
33
+ quickFilter?: string;
34
+ /** Locked tabs cannot be renamed or removed (an "All" tab). */
35
+ locked?: boolean;
36
+ /** `true` when a person typed the label: the tabs set it on a tab added
37
+ * from the strip, `ref.addTab` or the agent, and on any renamed tab.
38
+ * Under privacy mode such a label shows as "Saved view N" (N fixed for
39
+ * the session, never reused), and add, rename and remove announcements
40
+ * use that name (Michael, 4 Nov 2026). `false` or absent on built-in
41
+ * labels (`defaultTabs`, `createTab`): they stay readable. Uncontrolled,
42
+ * the tabs stamp `false` on those, so storage records the origin. A
43
+ * stored tab without the flag counts as user-named unless it is locked
44
+ * or a `defaultTabs` entry has its id and label. Controlled hosts: save
45
+ * the flag with each `onTabsChange` view, and set it on views a person
46
+ * named before (DataTableTabs never sets it). A view that comes back
47
+ * without it shows its label after a reload; within the session the tabs
48
+ * still hide it and warn in development. In development, the first time
49
+ * privacy mode is on, the tabs also warn (by id) about every unlocked
50
+ * `tabs` or `defaultTabs` entry with no flag: set `false` on built-in
51
+ * views. */
52
+ userNamed?: boolean;
53
+ }
54
+ /**
55
+ * The narrow grid seam the tabs ride on. Every `DataGridHandle` satisfies it,
56
+ * so `getTable={() => gridRef.current}` is the only explicit wiring. Restores
57
+ * are written with `{ source: 'restore' }` through `applyView`; `subscribe`
58
+ * reports the source synchronously, so the tabs ignore their own writes
59
+ * without a timing flag (`use-data-table-filter-tabs.ts:292-343` needs one
60
+ * for AG).
61
+ *
62
+ * Every member is required, the privacy reads included: a wrapper that left
63
+ * out `isPrivacyMode` or `getColumns` would switch Michael's privacy rule off
64
+ * without a type error. `isPrivacyMode` tells the tabs the grid hides people
65
+ * (the agent masks tab labels; saved tabs take in no new quick search and no
66
+ * new filter on a masked column); `getColumns` tells masked columns and host
67
+ * keys apart.
68
+ */
69
+ export type DataGridTabsSeam = Pick<DataGridHandle, 'getFilter' | 'getQuickFilter' | 'subscribe'
70
+ /** Restores write through it: filters and search in one write. */
71
+ | 'applyView' | 'isPrivacyMode' | 'getColumns'>;
72
+ /** Curated imperative handle; also the agent adapter's surface. Same
73
+ * methods as `DataTableTabsHandle` (`data-table-tabs.tsx:157-168`). */
74
+ export interface DataGridTabsHandle {
75
+ getTabs(): DataGridSavedTab[];
76
+ getActiveTabId(): string | null;
77
+ /** Snapshots the outgoing tab, applies the incoming tab's view. */
78
+ selectTab(id: string): void;
79
+ /** Default view = a copy of the live filters (the grid does not change);
80
+ * an explicit `filterModel` is applied to the grid. Under privacy mode
81
+ * the new tab holds no quick search and no filter on a masked column
82
+ * (an explicit one is dropped, DEV warning), and adding it keeps the
83
+ * grid's live search and masked filters as they are. */
84
+ addTab(label?: string, filterModel?: DataGridFilterModel): string;
85
+ /** No-op on locked tabs and blank labels. */
86
+ renameTab(id: string, label: string): void;
87
+ /** No-op on locked tabs and the last remaining tab. */
88
+ removeTab(id: string): void;
89
+ }
90
+ export interface DataGridTabsProps {
91
+ /**
92
+ * Resolve the grid at call time; `undefined` until mounted. Optional: a
93
+ * `DataGrid` rendered inside `children` registers itself through context
94
+ * (`DataGridRegistry`). Pass it when the grid is not a descendant, or to
95
+ * wrap the seam. When given, it wins.
96
+ */
97
+ getTable?: () => DataGridTabsSeam | null | undefined;
98
+ /** Controlled tabs; pair with `onTabsChange`. */
99
+ tabs?: DataGridSavedTab[];
100
+ /** Uncontrolled seed. Default: one unfiltered tab. These labels count as
101
+ * built-in and stay readable under privacy mode, so never put a person's
102
+ * name in one; a seeded label a person typed (a view you saved for them)
103
+ * must carry `userNamed: true`. */
104
+ defaultTabs?: DataGridSavedTab[];
105
+ /** Every tabs change. While privacy mode is on (or before the grid has
106
+ * said), the payload follows the `persistKey` rule (Michael, 4 Nov
107
+ * 2026): it carries no quick search, masked column filter or
108
+ * `privateFilterKeys` value you did not already hold (the controlled
109
+ * `tabs` you pass in; uncontrolled, your `defaultTabs` and the earlier
110
+ * payloads). Labels (as typed, also under privacy mode: the label
111
+ * ruling on `persistKey`) and `userNamed` are always included: save
112
+ * `userNamed` with each view, or a typed label shows under privacy mode
113
+ * after a reload. */
114
+ onTabsChange?: (tabs: DataGridSavedTab[]) => void;
115
+ activeTabId?: string;
116
+ defaultActiveTabId?: string;
117
+ onActiveTabChange?: (id: string) => void;
118
+ /** Opt-in localStorage persistence under
119
+ * `DATA_GRID_TABS_STORAGE_PREFIX + persistKey`. Ignored (DEV warning)
120
+ * while `tabs` is controlled.
121
+ *
122
+ * The browser keeps the tabs in clear text with no expiry: labels,
123
+ * filter values, host keys and, with `captureQuickFilter`, the search
124
+ * text. While privacy mode is on, nothing new of the quick search, of
125
+ * the filters on masked columns or of the host keys in
126
+ * `privateFilterKeys` is stored (Michael, 4 Nov 2026): a write keeps
127
+ * only the values storage already held for that tab, so a view saved
128
+ * before privacy mode survives a reload, and a value the user removes is
129
+ * removed from storage too. While no grid is mounted to say whether
130
+ * privacy mode is on, nothing is written; the write lands when a grid
131
+ * binds. With privacy mode off the tabs are stored
132
+ * as saved. Labels and other host keys are always stored: host keys
133
+ * must hold ids or fixed values, never names. A label typed while
134
+ * privacy mode is on is still stored as typed. Product decision
135
+ * (Michael, 4 Nov 2026): the label is the tab's name, written on
136
+ * purpose; privacy mode governs the screen, not the user's own saved
137
+ * views. On screen it shows as "Saved view N" (`DataGridSavedTab.label`). On a grid whose filters
138
+ * or search can hold a patient's name or id outside privacy mode, save
139
+ * views through `onTabsChange` to the host's backend instead (kit
140
+ * security rule 12.5). */
141
+ persistKey?: string;
142
+ /** Persist the active tab id too (needs `persistKey`). Default `false`. */
143
+ persistActiveTab?: boolean;
144
+ /** Capture and restore the quick search with the filters. Default `false`.
145
+ * While privacy mode is on, a tab never records a new search or a new
146
+ * filter on a masked column; it does record their removal (the user
147
+ * clears the search or the chip), and a restore still applies them.
148
+ * Only `DataGridToolbar.QuickSearch` shows a restored search masked
149
+ * ("Search applied"). A host's own search box bound to `quickFilter`
150
+ * shows the text as is: under privacy mode use QuickSearch, or keep the
151
+ * host box empty while `gridRef.current?.isPrivacyMode()` is true and
152
+ * the text did not come from the user. `onTabsChange` carries back the
153
+ * private values the host passed in, never a new one. */
154
+ captureQuickFilter?: boolean;
155
+ /** Apply the active tab's view on mount and on switch. Default `true`.
156
+ * A restore is one `applyView` write with `{ source: 'restore' }`:
157
+ * filters and (with `captureQuickFilter`) the search together, so a
158
+ * server grid's `onQueryChange` fires once per switch with the whole
159
+ * restored view. Seed the host's initial query from the active tab to
160
+ * avoid an extra fetch on mount. A capture
161
+ * straight after a restore reads the restored view, controlled filters
162
+ * included (`DataGridHandle` freshness rule). */
163
+ applyOnActivate?: boolean;
164
+ /** Show the add button; off, the agent's `add_tab` does nothing either.
165
+ * The host's own `ref.addTab` still works. Default `true`. */
166
+ allowAdd?: boolean;
167
+ /** Rename by double-click, F2 or the popover editor; off, the agent's
168
+ * `rename_tab` does nothing either. The host's own `ref.renameTab` still
169
+ * works. Default `true`. */
170
+ allowRename?: boolean;
171
+ /** Remove by Delete, Backspace or the close mark. Off, `ref.removeTab`
172
+ * and the agent's `remove_tab` do nothing either. Default `true`. */
173
+ allowRemove?: boolean;
174
+ /** Default `DATA_GRID_TABS_MAX_DEFAULT`. */
175
+ maxTabs?: number;
176
+ /** Factory for new tabs; `index` is 1-based. Its labels count as
177
+ * built-in and stay readable under privacy mode, so never put a person's
178
+ * name in one. A label a person typed must carry `userNamed: true`. */
179
+ createTab?: (index: number) => DataGridSavedTab;
180
+ /** Default `crypto.randomUUID()` with a counter fallback. */
181
+ makeTabId?: () => string;
182
+ /** Open the rename editor on a new tab. Default `true`. */
183
+ renameOnAdd?: boolean;
184
+ /**
185
+ * Host keys (filter keys with no column) that may hold personal text,
186
+ * such as a free-text counterparty search. While privacy mode is on, a
187
+ * tab never takes in a new value of a listed key, and storage
188
+ * (`persistKey`) and `onTabsChange` never get one (Michael, 4 Nov 2026).
189
+ * A restore still applies the value a tab already held, and a server
190
+ * grid's own query still carries it: `onQueryChange` receives it, as it
191
+ * receives a restored quick search, because the host's own backend is
192
+ * not a disclosure. Only storage and `onTabsChange` strip it.
193
+ *
194
+ * Every other host key must hold an id or a fixed value (a status code,
195
+ * a VAT number, a counterparty id), never a name: it is stored and passed
196
+ * on as is, in privacy mode too. Default: none.
197
+ */
198
+ privateFilterKeys?: readonly string[];
199
+ /** Tab size, the shared trigger CVA (`data-table-tabs.tsx:100-116`).
200
+ * Default `'md'`. */
201
+ size?: 'md' | 'lg';
202
+ /** `data-component-id` and agent instance id. The root carries a literal
203
+ * `data-component="data-grid-tabs"` in `data-grid-tabs.tsx` (passed to
204
+ * the shared strip as `rootProps`), so `check:data-component` finds it. */
205
+ id?: string;
206
+ className?: string;
207
+ /** Tablist name. Default: `ui.dataTableTabs.tablistLabel` ("Saved views"). */
208
+ 'aria-label'?: string;
209
+ /** The grid region, rendered inside the single stable tab panel. */
210
+ children: ReactNode;
211
+ }
212
+ /** `localStorage[DATA_GRID_TABS_STORAGE_PREFIX + persistKey]`. The same
213
+ * envelope and validator as DataTableTabs (`use-data-table-filter-tabs.ts:135-161`). */
214
+ export interface DataGridTabsEnvelopeV1 {
215
+ v: 1;
216
+ tabs: DataGridSavedTab[];
217
+ /** Only with `persistActiveTab`; used only if it still names a tab. */
218
+ activeTabId?: string;
219
+ }
220
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,35 @@
1
+ import type { GridApi } from 'ag-grid-community';
2
+ import { type TableToolbarChangeKind, type TableToolbarSeam } from '../_shared/table-toolbar/seam';
3
+ /** What the AG seam reads from DataTable on every call. */
4
+ export interface AgToolbarSeamDeps {
5
+ /** The live grid API; `undefined` until the grid is ready. */
6
+ getApi: () => GridApi | undefined;
7
+ /** Rows selected now (expanded-detail rows excluded). */
8
+ selectionCount: number;
9
+ onPrint: () => void;
10
+ /** Columns the user showed or hid from the toolbar (AG's visibility API
11
+ * cannot carry a source). */
12
+ markColumnsUserTouched?: (colIds: readonly string[]) => void;
13
+ }
14
+ /** The seam plus the hook DataTable uses to hand it fresh props. */
15
+ export interface AgToolbarSeamController {
16
+ seam: TableToolbarSeam;
17
+ /** Call during render with the latest props, so parts rendered in the
18
+ * same pass read them. Emits nothing. */
19
+ update(deps: AgToolbarSeamDeps): void;
20
+ /** Tell subscribers something changed (call from an effect, e.g. after
21
+ * the selection count changed). */
22
+ notify(kind: TableToolbarChangeKind): void;
23
+ }
24
+ /** How long to wait between looks for a grid that is not ready yet
25
+ * (`toolbar.tsx` 1.112 used the same 50 ms poll). */
26
+ export declare const AG_SEAM_POLL_MS = 50;
27
+ /** @internal The GridApi behind an AG seam, for DataTable's AG-typed
28
+ * callbacks (`BulkAction.onClick(api)`, custom export items). */
29
+ export declare function agApiOf(seam: TableToolbarSeam): GridApi | undefined;
30
+ /**
31
+ * Builds DataTable's toolbar seam. `initial` is read again through
32
+ * `update`, so one seam lives as long as its DataTable.
33
+ */
34
+ export declare function createAgToolbarSeam(initial: AgToolbarSeamDeps): AgToolbarSeamController;
35
+ //# sourceMappingURL=ag-toolbar-seam.d.ts.map
@@ -1,26 +1,9 @@
1
1
  /**
2
2
  * Calendar-day helpers, shared by the date filter and the date cell renderer.
3
3
  *
4
- * A calendar day is not an instant. `new Date('2008-09-06')` is UTC midnight,
5
- * which every local getter then reads back shifted: west of UTC it is the 5th.
6
- * Everything here works in local date parts so a day stays the day it was
7
- * written with, whatever zone the browser is in.
4
+ * Moved to `_shared/table-filters/calendar-day.ts` so DataGrid can use the
5
+ * same rules without importing DataTable (which loads AG Grid). This path
6
+ * stays as a re-export, so every existing import keeps working.
8
7
  */
9
- /**
10
- * A `Date` as `YYYY-MM-DD`, read off the LOCAL date parts — `toISOString()`
11
- * would shift a local midnight to the previous day anywhere east of UTC.
12
- */
13
- export declare function toIsoDate(d: Date | undefined): string | null;
14
- /** Whether a value is a bare `YYYY-MM-DD` — a calendar day, carrying no instant. */
15
- export declare function isCalendarDay(s: unknown): s is string;
16
- /** A bare day parses as LOCAL midnight; anything with a time/offset as-is. */
17
- export declare function fromIsoDate(s: string | null | undefined): Date | undefined;
18
- /**
19
- * The calendar day a cell value stands for, as `YYYY-MM-DD`.
20
- *
21
- * An ISO string is read as the day it was WRITTEN with — `2026-04-15T17:32+02:00`
22
- * is the 15th and `1933-04-04T00:00+01:00` the 4th, whatever zone the browser
23
- * is in. Anything else is parsed and read off its local parts.
24
- */
25
- export declare function dayOf(cellValue: unknown): string | null;
8
+ export { dayOf, fromIsoDate, isCalendarDay, toIsoDate, } from '../_shared/table-filters/calendar-day';
26
9
  //# sourceMappingURL=calendar-day.d.ts.map
@@ -105,21 +105,25 @@ export interface DataTableProps<TData = unknown> extends Omit<VariantProps<typeo
105
105
  export declare const DataTable: (<TData = unknown>(props: DataTableProps<TData> & {
106
106
  ref?: React.Ref<DataTableHandle<TData>>;
107
107
  }) => React.ReactElement) & {
108
- Toolbar: import("react").ForwardRefExoticComponent<import("./toolbar").ToolbarRootProps & import("react").RefAttributes<HTMLDivElement>> & {
108
+ Toolbar: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>> & {
109
109
  FilterBar: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
110
110
  Actions: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
111
111
  ExportCsv: import("react").ForwardRefExoticComponent<import("./toolbar").ExportCsvProps & import("react").RefAttributes<HTMLButtonElement>>;
112
112
  ExportPdf: import("react").ForwardRefExoticComponent<import("./toolbar").ExportPdfProps & import("react").RefAttributes<HTMLButtonElement>>;
113
- Print: import("react").ForwardRefExoticComponent<Omit<import("..").IconButtonProps, "icon" | "aria-label" | "onClick" | "tooltip"> & {
113
+ Print: import("react").ForwardRefExoticComponent<Omit<import("..").IconButtonProps, "icon" | "children" | "aria-label" | "onClick" | "tooltip"> & {
114
114
  label?: string;
115
- } & import("react").RefAttributes<HTMLButtonElement>>;
116
- ColumnToggle: import("react").ForwardRefExoticComponent<import("./toolbar").ColumnToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
115
+ } & import("react").RefAttributes<HTMLButtonElement>> & {
116
+ overflowMenuItem: import("..").IconButtonGroupOverflowItem;
117
+ };
118
+ ColumnToggle: import("react").ForwardRefExoticComponent<import("../_shared/table-toolbar/parts").TableColumnToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
117
119
  BulkAction: import("react").ForwardRefExoticComponent<import("./toolbar").BulkActionProps & import("react").RefAttributes<HTMLButtonElement>>;
118
120
  QuickSearch: {
119
- ({ placeholder, debounceMs }: import("./toolbar").QuickSearchProps): import("react/jsx-runtime").JSX.Element;
121
+ ({ placeholder, debounceMs, }: import("../_shared/table-toolbar/parts").TableQuickSearchProps): import("react/jsx-runtime").JSX.Element;
120
122
  displayName: string;
121
123
  };
122
- Refresh: import("react").ForwardRefExoticComponent<import("./toolbar").RefreshButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
124
+ Refresh: import("react").ForwardRefExoticComponent<import("../_shared/table-toolbar/parts").TableRefreshProps & import("react").RefAttributes<HTMLButtonElement>> & {
125
+ overflowMenuItem: import("..").IconButtonGroupOverflowItem;
126
+ };
123
127
  FilterChips: {
124
128
  (): import("react/jsx-runtime").JSX.Element | null;
125
129
  displayName: string;
@@ -1,7 +1,9 @@
1
1
  import type { CustomFilterProps, CustomFloatingFilterProps } from 'ag-grid-react';
2
2
  import type { IFilter } from 'ag-grid-community';
3
- import { dayOf, fromIsoDate, toIsoDate } from '../calendar-day';
4
- export { dayOf, fromIsoDate, toIsoDate };
3
+ import { dayOf, fromIsoDate, toIsoDate } from '../../_shared/table-filters/calendar-day';
4
+ import { dayInRange } from '../../_shared/table-filters/predicates';
5
+ import type { DateRangeFilterModel } from '../../_shared/table-toolbar/seam';
6
+ export { dayInRange, dayOf, fromIsoDate, toIsoDate };
5
7
  /**
6
8
  * Custom AG Grid filter component for date *ranges*. AG Grid Community's
7
9
  * built-in `agDateColumnFilter` only handles single-date comparison —
@@ -16,11 +18,7 @@ export { dayOf, fromIsoDate, toIsoDate };
16
18
  * stay close to AG Grid's own date-filter convention so server-side
17
19
  * adapters can interpret it the same way.
18
20
  */
19
- export interface DateRangeFilterModel {
20
- type: 'inRange';
21
- dateFrom: string | null;
22
- dateTo: string | null;
23
- }
21
+ export type { DateRangeFilterModel } from '../../_shared/table-toolbar/seam';
24
22
  /**
25
23
  * `filterParams` a colDef may pass to `DateRangeFilter` /
26
24
  * `DateRangeFloatingFilter`.
@@ -34,8 +32,6 @@ export interface DateRangeFilterParams {
34
32
  placeholder?: string;
35
33
  commitMode?: 'auto' | 'apply';
36
34
  }
37
- /** Whether a cell's day lies within `[dateFrom, dateTo]` (either end open). */
38
- export declare function dayInRange(cellValue: unknown, dateFrom: string | null | undefined, dateTo: string | null | undefined): boolean;
39
35
  export declare function DateRangeFilter(props: CustomFilterProps<unknown, unknown, DateRangeFilterModel>): import("react/jsx-runtime").JSX.Element;
40
36
  /**
41
37
  * Floating-filter companion for `DateRangeFilter`.
@@ -0,0 +1,6 @@
1
+ import type { TableFilterKind } from '../../_shared/table-toolbar/seam';
2
+ /** Called once by each kit filter module, next to its component. */
3
+ export declare function registerTableFilterKind(component: object, kind: TableFilterKind): void;
4
+ /** The kit filter kind of a ColDef `filter` value, or `null`. */
5
+ export declare function registeredTableFilterKind(filter: unknown): TableFilterKind | null;
6
+ //# sourceMappingURL=filter-kind.d.ts.map
@@ -1,5 +1,7 @@
1
1
  import type { CustomFilterProps, CustomFloatingFilterProps } from 'ag-grid-react';
2
2
  import type { IFilter } from 'ag-grid-community';
3
+ import type { NumberFilterModel, NumberFilterOperator } from '../../_shared/table-toolbar/seam';
4
+ import { numberFilterPasses } from '../../_shared/table-filters/predicates';
3
5
  /**
4
6
  * Custom AG Grid filter component for numeric columns. AG Grid Community's
5
7
  * built-in `agNumberColumnFilter` paints a stock browser-skinned
@@ -27,14 +29,7 @@ import type { IFilter } from 'ag-grid-community';
27
29
  * Model shape `{ type, filter?, filterTo? }` matches AG Grid's own
28
30
  * `agNumberColumnFilter` vocabulary so adapters can interchange.
29
31
  */
30
- export type NumberFilterOperator = 'equals' | 'notEqual' | 'greaterThan' | 'greaterThanOrEqual' | 'lessThan' | 'lessThanOrEqual' | 'inRange' | 'blank' | 'notBlank';
31
- export interface NumberFilterModel {
32
- type: NumberFilterOperator;
33
- /** Lower bound or comparison value. Optional, as in AG Grid's own model,
34
- * so an `inRange` model can carry only `filterTo` ("≤ to"). */
35
- filter?: number;
36
- filterTo?: number;
37
- }
32
+ export type { NumberFilterModel, NumberFilterOperator, } from '../../_shared/table-toolbar/seam';
38
33
  export interface NumberFilterParams {
39
34
  defaultOperator?: NumberFilterOperator;
40
35
  min?: number;
@@ -43,10 +38,11 @@ export interface NumberFilterParams {
43
38
  placeholder?: string;
44
39
  }
45
40
  /**
46
- * The predicate behind both the popover and the floating row. Exported for
41
+ * The predicate behind both the popover and the floating row, now shared
42
+ * with DataGrid (`_shared/table-filters/predicates.ts`). Re-exported for
47
43
  * unit tests only; not re-exported from the data-table barrel.
48
44
  */
49
- export declare function numberFilterPasses(op: NumberFilterOperator, cell: number | null, primary: number | null, secondary: number | null): boolean;
45
+ export { numberFilterPasses };
50
46
  export declare function NumberFilter(props: CustomFilterProps<unknown, unknown, NumberFilterModel> & NumberFilterParams): import("react/jsx-runtime").JSX.Element;
51
47
  /**
52
48
  * Floating-filter companion for `NumberFilter`.
@@ -1,5 +1,6 @@
1
1
  import type { CustomFilterProps, CustomFloatingFilterProps } from 'ag-grid-react';
2
2
  import type { IFilter } from 'ag-grid-community';
3
+ import type { SelectFilterModel } from '../../_shared/table-toolbar/seam';
3
4
  /**
4
5
  * Custom AG Grid filter component — multi-select facet filter.
5
6
  *
@@ -31,10 +32,7 @@ export interface SelectFilterOption {
31
32
  value: string | number;
32
33
  label: string;
33
34
  }
34
- export interface SelectFilterModel {
35
- type: 'set';
36
- values: Array<string | number>;
37
- }
35
+ export type { SelectFilterModel } from '../../_shared/table-toolbar/seam';
38
36
  export interface SelectFilterParams {
39
37
  options?: SelectFilterOption[];
40
38
  placeholder?: string;
@@ -1,5 +1,6 @@
1
1
  import type { CustomFilterProps, CustomFloatingFilterProps } from 'ag-grid-react';
2
2
  import type { IFilter } from 'ag-grid-community';
3
+ import type { TextFilterModel, TextFilterOperator } from '../../_shared/table-toolbar/seam';
3
4
  /**
4
5
  * Custom AG Grid filter component — text-comparison filter.
5
6
  *
@@ -24,11 +25,7 @@ import type { IFilter } from 'ag-grid-community';
24
25
  * `endsWith`, `notContains`) so server-side adapters that already
25
26
  * understand the stock filter can read this one identically.
26
27
  */
27
- export type TextFilterOperator = 'contains' | 'equals' | 'startsWith' | 'endsWith' | 'notContains';
28
- export interface TextFilterModel {
29
- type: TextFilterOperator;
30
- filter: string;
31
- }
28
+ export type { TextFilterModel, TextFilterOperator, } from '../../_shared/table-toolbar/seam';
32
29
  export interface TextFilterParams {
33
30
  placeholder?: string;
34
31
  defaultOperator?: TextFilterOperator;
@@ -1,7 +1,7 @@
1
- import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-C9idMvs0.js";
2
- import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as f, r as m, u as E, w as h } from "../../_chunks/editable-currency-cell-renderer-BUdFMh67.js";
3
- import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-_Fv3WEmb.js";
4
- import { A as X, a as j } from "../../_chunks/actions-cell-renderer-BVn3vDTg.js";
1
+ import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-DXaE2Ret.js";
2
+ import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as f, r as m, u as E, w as h } from "../../_chunks/editable-currency-cell-renderer-CtlMhLai.js";
3
+ import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-Ditt5mvT.js";
4
+ import { A as X, a as j } from "../../_chunks/actions-cell-renderer-bI27uXXC.js";
5
5
  export {
6
6
  X as ActionsCellRenderer,
7
7
  g as BalanceCellRenderer,