@alfadocs/ui-kit-debug 1.104.0 → 1.105.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 (324) hide show
  1. package/dist/_chunks/{ai-credits-exhausted-notice-CwZnSACy.js → ai-credits-exhausted-notice-Lws3113e.js} +2 -2
  2. package/dist/_chunks/{ai-credits-exhausted-notice-CwZnSACy.js.map → ai-credits-exhausted-notice-Lws3113e.js.map} +1 -1
  3. package/dist/_chunks/{ai-permission-notice-VNh3W57L.js → ai-permission-notice-BkgcGmu8.js} +2 -2
  4. package/dist/_chunks/{ai-permission-notice-VNh3W57L.js.map → ai-permission-notice-BkgcGmu8.js.map} +1 -1
  5. package/dist/_chunks/{alert-9kEwDza3.js → alert-C4WKViaS.js} +59 -50
  6. package/dist/_chunks/alert-C4WKViaS.js.map +1 -0
  7. package/dist/_chunks/{anamnesis-summary-rows-B9HqOGd7.js → anamnesis-summary-rows-QhbDdY7b.js} +4 -4
  8. package/dist/_chunks/{anamnesis-summary-rows-B9HqOGd7.js.map → anamnesis-summary-rows-QhbDdY7b.js.map} +1 -1
  9. package/dist/_chunks/{audio-recorder-BOm2FgEu.js → audio-recorder-BlDozxdU.js} +2 -2
  10. package/dist/_chunks/{audio-recorder-BOm2FgEu.js.map → audio-recorder-BlDozxdU.js.map} +1 -1
  11. package/dist/_chunks/{auth-form-parts-B3GWChvG.js → auth-form-parts-DVHfqnp6.js} +2 -2
  12. package/dist/_chunks/{auth-form-parts-B3GWChvG.js.map → auth-form-parts-DVHfqnp6.js.map} +1 -1
  13. package/dist/_chunks/{balance-badge-cell-DGFm2jfP.js → balance-badge-cell-wJ6cTD_h.js} +3 -3
  14. package/dist/_chunks/{balance-badge-cell-DGFm2jfP.js.map → balance-badge-cell-wJ6cTD_h.js.map} +1 -1
  15. package/dist/_chunks/{calendar-appointment-editor-dialog-DqyATSh3.js → calendar-appointment-editor-dialog-D8DblVjW.js} +8 -8
  16. package/dist/_chunks/{calendar-appointment-editor-dialog-DqyATSh3.js.map → calendar-appointment-editor-dialog-D8DblVjW.js.map} +1 -1
  17. package/dist/_chunks/{care-plan-card-YWKV8Kjq.js → care-plan-card-DMjlYlFc.js} +2 -2
  18. package/dist/_chunks/{care-plan-card-YWKV8Kjq.js.map → care-plan-card-DMjlYlFc.js.map} +1 -1
  19. package/dist/_chunks/{care-plan-entry-card-CApivtMW.js → care-plan-entry-card-3hguBW45.js} +2 -2
  20. package/dist/_chunks/{care-plan-entry-card-CApivtMW.js.map → care-plan-entry-card-3hguBW45.js.map} +1 -1
  21. package/dist/_chunks/{contact-profile-card-uExd3pKC.js → contact-profile-card-CAL66GaH.js} +120 -111
  22. package/dist/_chunks/contact-profile-card-CAL66GaH.js.map +1 -0
  23. package/dist/_chunks/{data-table-C5uN4ato.js → data-table-zXBxFYpJ.js} +761 -715
  24. package/dist/_chunks/data-table-zXBxFYpJ.js.map +1 -0
  25. package/dist/_chunks/{date-range-picker-B_j4VQlV.js → date-range-picker-DCADIR8o.js} +2 -2
  26. package/dist/_chunks/{date-range-picker-B_j4VQlV.js.map → date-range-picker-DCADIR8o.js.map} +1 -1
  27. package/dist/_chunks/{date-time-picker-cwsWiB4q.js → date-time-picker-CT2bC7-A.js} +2 -2
  28. package/dist/_chunks/{date-time-picker-cwsWiB4q.js.map → date-time-picker-CT2bC7-A.js.map} +1 -1
  29. package/dist/_chunks/{document-preview-U8H6tnDJ.js → document-preview-BalyZqnn.js} +2 -2
  30. package/dist/_chunks/{document-preview-U8H6tnDJ.js.map → document-preview-BalyZqnn.js.map} +1 -1
  31. package/dist/_chunks/{document-scanner-Bf3VUp00.js → document-scanner-5p-Uu8dy.js} +2 -2
  32. package/dist/_chunks/{document-scanner-Bf3VUp00.js.map → document-scanner-5p-Uu8dy.js.map} +1 -1
  33. package/dist/_chunks/{entity-summary-BKfR4Vws.js → entity-summary-BbqqYqF1.js} +2 -2
  34. package/dist/_chunks/{entity-summary-BKfR4Vws.js.map → entity-summary-BbqqYqF1.js.map} +1 -1
  35. package/dist/_chunks/{error-summary-mGxIyDAY.js → error-summary-DxNhwf_G.js} +2 -2
  36. package/dist/_chunks/{error-summary-mGxIyDAY.js.map → error-summary-DxNhwf_G.js.map} +1 -1
  37. package/dist/_chunks/{face-scheme-DdVLQ5dP.js → face-scheme-e2M2HJGz.js} +2 -2
  38. package/dist/_chunks/{face-scheme-DdVLQ5dP.js.map → face-scheme-e2M2HJGz.js.map} +1 -1
  39. package/dist/_chunks/{file-manager-CnGBVX_q.js → file-manager-BDKe59sg.js} +2 -2
  40. package/dist/_chunks/{file-manager-CnGBVX_q.js.map → file-manager-BDKe59sg.js.map} +1 -1
  41. package/dist/_chunks/{forgot-password-form-CeTb5p-x.js → forgot-password-form-vfCO2-Tt.js} +4 -4
  42. package/dist/_chunks/{forgot-password-form-CeTb5p-x.js.map → forgot-password-form-vfCO2-Tt.js.map} +1 -1
  43. package/dist/_chunks/{freemium-paywall-CM0zQSDE.js → freemium-paywall-BDeq9QWR.js} +2 -2
  44. package/dist/_chunks/{freemium-paywall-CM0zQSDE.js.map → freemium-paywall-BDeq9QWR.js.map} +1 -1
  45. package/dist/_chunks/{gestational-age-calculator-CXcDKQqC.js → gestational-age-calculator-AnaH00nk.js} +2 -2
  46. package/dist/_chunks/{gestational-age-calculator-CXcDKQqC.js.map → gestational-age-calculator-AnaH00nk.js.map} +1 -1
  47. package/dist/_chunks/{hcg-doubling-BJFR3onB.js → hcg-doubling-DdyUt4gz.js} +2 -2
  48. package/dist/_chunks/{hcg-doubling-BJFR3onB.js.map → hcg-doubling-DdyUt4gz.js.map} +1 -1
  49. package/dist/_chunks/{heatmap-Cz0Krieg.js → heatmap-D4qqpCEj.js} +1550 -1547
  50. package/dist/_chunks/{heatmap-Cz0Krieg.js.map → heatmap-D4qqpCEj.js.map} +1 -1
  51. package/dist/_chunks/{help-me-write-templates-ra5a__Yy.js → help-me-write-templates-YmceSxf5.js} +3 -3
  52. package/dist/_chunks/{help-me-write-templates-ra5a__Yy.js.map → help-me-write-templates-YmceSxf5.js.map} +1 -1
  53. package/dist/_chunks/info-tip-C-MPkShR.js +266 -0
  54. package/dist/_chunks/info-tip-C-MPkShR.js.map +1 -0
  55. package/dist/_chunks/{kit-extensions-C4o_tFN4.js → kit-extensions-BOnTM4Yf.js} +3 -3
  56. package/dist/_chunks/{kit-extensions-C4o_tFN4.js.map → kit-extensions-BOnTM4Yf.js.map} +1 -1
  57. package/dist/_chunks/{link-cell-renderer-BRek9kz7.js → link-cell-renderer-C8vfCOEp.js} +2 -2
  58. package/dist/_chunks/{link-cell-renderer-BRek9kz7.js.map → link-cell-renderer-C8vfCOEp.js.map} +1 -1
  59. package/dist/_chunks/{login-dev-card-D5BV5j1i.js → login-dev-card-Cz1Clugq.js} +3 -3
  60. package/dist/_chunks/{login-dev-card-D5BV5j1i.js.map → login-dev-card-Cz1Clugq.js.map} +1 -1
  61. package/dist/_chunks/{marketplace-app-shell-BsctSegT.js → marketplace-app-shell-C-4QF6mp.js} +2 -2
  62. package/dist/_chunks/{marketplace-app-shell-BsctSegT.js.map → marketplace-app-shell-C-4QF6mp.js.map} +1 -1
  63. package/dist/_chunks/{notes-panel-BjTpaz8d.js → notes-panel-SlzUL8in.js} +4 -4
  64. package/dist/_chunks/{notes-panel-BjTpaz8d.js.map → notes-panel-SlzUL8in.js.map} +1 -1
  65. package/dist/_chunks/{notice-group-DkYzKyAZ.js → notice-group-B-trhof8.js} +3 -3
  66. package/dist/_chunks/{notice-group-DkYzKyAZ.js.map → notice-group-B-trhof8.js.map} +1 -1
  67. package/dist/_chunks/{patient-details-BXM3dRKb.js → patient-details-wMgTFtpp.js} +2 -2
  68. package/dist/_chunks/{patient-details-BXM3dRKb.js.map → patient-details-wMgTFtpp.js.map} +1 -1
  69. package/dist/_chunks/{patient-field-row--dCDO5oB.js → patient-field-row-Bhm2Ig1P.js} +2 -2
  70. package/dist/_chunks/{patient-field-row--dCDO5oB.js.map → patient-field-row-Bhm2Ig1P.js.map} +1 -1
  71. package/dist/_chunks/{patient-summary-card-DB7fv-Tr.js → patient-summary-card-DMdPPG3n.js} +2 -2
  72. package/dist/_chunks/{patient-summary-card-DB7fv-Tr.js.map → patient-summary-card-DMdPPG3n.js.map} +1 -1
  73. package/dist/_chunks/{payment-automation-upsell-BPF0c-5D.js → payment-automation-upsell-u5EuFyCY.js} +2 -2
  74. package/dist/_chunks/{payment-automation-upsell-BPF0c-5D.js.map → payment-automation-upsell-u5EuFyCY.js.map} +1 -1
  75. package/dist/_chunks/{payment-form-PBuh8PIa.js → payment-form-C-s1x-bU.js} +2 -2
  76. package/dist/_chunks/{payment-form-PBuh8PIa.js.map → payment-form-C-s1x-bU.js.map} +1 -1
  77. package/dist/_chunks/{pdf-viewer-DlceXkfW.js → pdf-viewer-BnBKdx0y.js} +2 -2
  78. package/dist/_chunks/{pdf-viewer-DlceXkfW.js.map → pdf-viewer-BnBKdx0y.js.map} +1 -1
  79. package/dist/_chunks/{practice-profile-hero-BAvGdQmt.js → practice-profile-hero-Bb4YyxHA.js} +31 -29
  80. package/dist/_chunks/practice-profile-hero-Bb4YyxHA.js.map +1 -0
  81. package/dist/_chunks/{practice-results-ChBP9x2r.js → practice-results-BXz01sti.js} +485 -445
  82. package/dist/_chunks/practice-results-BXz01sti.js.map +1 -0
  83. package/dist/_chunks/{pregnancy-dating-D0Kf9s7s.js → pregnancy-dating-D6dLkMpl.js} +2 -2
  84. package/dist/_chunks/{pregnancy-dating-D0Kf9s7s.js.map → pregnancy-dating-D6dLkMpl.js.map} +1 -1
  85. package/dist/_chunks/{progress-notice-DiHWZ8Ms.js → progress-notice-F7ao70ZP.js} +2 -2
  86. package/dist/_chunks/{progress-notice-DiHWZ8Ms.js.map → progress-notice-F7ao70ZP.js.map} +1 -1
  87. package/dist/_chunks/{radiograph-panel.agent-BQ95uFCd.js → radiograph-panel.agent-0ngF2sGS.js} +2 -2
  88. package/dist/_chunks/{radiograph-panel.agent-BQ95uFCd.js.map → radiograph-panel.agent-0ngF2sGS.js.map} +1 -1
  89. package/dist/_chunks/{registration-form-JzzTomhd.js → registration-form-CEJRUS9G.js} +3 -3
  90. package/dist/_chunks/{registration-form-JzzTomhd.js.map → registration-form-CEJRUS9G.js.map} +1 -1
  91. package/dist/_chunks/{reserved.agent-BxD0gnbt.js → reserved.agent-C-C9cvO5.js} +2 -2
  92. package/dist/_chunks/{reserved.agent-BxD0gnbt.js.map → reserved.agent-C-C9cvO5.js.map} +1 -1
  93. package/dist/_chunks/{reset-password-form-DDdGEoIL.js → reset-password-form-B0acanDD.js} +4 -4
  94. package/dist/_chunks/{reset-password-form-DDdGEoIL.js.map → reset-password-form-B0acanDD.js.map} +1 -1
  95. package/dist/_chunks/{rich-text-editor-F04przIt.js → rich-text-editor-C3nANKZt.js} +2 -2
  96. package/dist/_chunks/{rich-text-editor-F04przIt.js.map → rich-text-editor-C3nANKZt.js.map} +1 -1
  97. package/dist/_chunks/{send-registration-link-form-DHCQpA4C.js → send-registration-link-form-Nn0jf65G.js} +3 -3
  98. package/dist/_chunks/{send-registration-link-form-DHCQpA4C.js.map → send-registration-link-form-Nn0jf65G.js.map} +1 -1
  99. package/dist/_chunks/{sign-document-B5qZhthO.js → sign-document-CQZVzfpk.js} +2 -2
  100. package/dist/_chunks/{sign-document-B5qZhthO.js.map → sign-document-CQZVzfpk.js.map} +1 -1
  101. package/dist/_chunks/{signature-request-DB6kePIm.js → signature-request-DtLph5Z4.js} +3 -3
  102. package/dist/_chunks/{signature-request-DB6kePIm.js.map → signature-request-DtLph5Z4.js.map} +1 -1
  103. package/dist/_chunks/{switch-D--x7n6h.js → switch-DO6uC4HJ.js} +40 -36
  104. package/dist/_chunks/switch-DO6uC4HJ.js.map +1 -0
  105. package/dist/_chunks/{task-editor-BiPGFXtB.js → task-editor-CmXcj6cC.js} +4 -4
  106. package/dist/_chunks/{task-editor-BiPGFXtB.js.map → task-editor-CmXcj6cC.js.map} +1 -1
  107. package/dist/_chunks/{tasks-panel-iVeuu9a8.js → tasks-panel-CFo5uIHx.js} +3 -3
  108. package/dist/_chunks/{tasks-panel-iVeuu9a8.js.map → tasks-panel-CFo5uIHx.js.map} +1 -1
  109. package/dist/_chunks/{theme-toggle-jZRbAidE.js → theme-toggle-Czq3K9jB.js} +2 -2
  110. package/dist/_chunks/{theme-toggle-jZRbAidE.js.map → theme-toggle-Czq3K9jB.js.map} +1 -1
  111. package/dist/_chunks/{time-picker-DSt-ns5F.js → time-picker-DDr5vhwQ.js} +344 -332
  112. package/dist/_chunks/time-picker-DDr5vhwQ.js.map +1 -0
  113. package/dist/_chunks/{tooth-scheme-Bd7xECuj.js → tooth-scheme-C-ALCHaV.js} +2 -2
  114. package/dist/_chunks/{tooth-scheme-Bd7xECuj.js.map → tooth-scheme-C-ALCHaV.js.map} +1 -1
  115. package/dist/_chunks/{use-appointment-details-read-CmqGGYCy.js → use-appointment-details-read-VI26Z-pc.js} +3 -3
  116. package/dist/_chunks/{use-appointment-details-read-CmqGGYCy.js.map → use-appointment-details-read-VI26Z-pc.js.map} +1 -1
  117. package/dist/_chunks/{voice-control-panel-BGJjUwnY.js → voice-control-panel-B0TUZAiP.js} +3 -3
  118. package/dist/_chunks/{voice-control-panel-BGJjUwnY.js.map → voice-control-panel-B0TUZAiP.js.map} +1 -1
  119. package/dist/_chunks/{warning-stack-3S7e2q07.js → warning-stack-Dx7cpj10.js} +2 -2
  120. package/dist/_chunks/{warning-stack-3S7e2q07.js.map → warning-stack-Dx7cpj10.js.map} +1 -1
  121. package/dist/_chunks/week-availability-CsTiwtYj.js +318 -0
  122. package/dist/_chunks/week-availability-CsTiwtYj.js.map +1 -0
  123. package/dist/_chunks/weekly-hours-editor-BsVsgeOc.js +252 -0
  124. package/dist/_chunks/weekly-hours-editor-BsVsgeOc.js.map +1 -0
  125. package/dist/_chunks/{workflow-map-B1jf6QaB.js → workflow-map-DWk-rZse.js} +2 -2
  126. package/dist/_chunks/{workflow-map-B1jf6QaB.js.map → workflow-map-DWk-rZse.js.map} +1 -1
  127. package/dist/_chunks/{workflow-webhook-action-B_52rH7O.js → workflow-webhook-action-DILFqAVd.js} +2 -2
  128. package/dist/_chunks/{workflow-webhook-action-B_52rH7O.js.map → workflow-webhook-action-DILFqAVd.js.map} +1 -1
  129. package/dist/ag-grid.css +5 -1
  130. package/dist/agent-catalog.json +1 -1
  131. package/dist/components/ai-credits-notice/index.js +1 -1
  132. package/dist/components/ai-permission-notice/index.js +1 -1
  133. package/dist/components/alert/alert.d.ts.map +1 -1
  134. package/dist/components/alert/index.js +1 -1
  135. package/dist/components/appointment-details-panel/index.js +1 -1
  136. package/dist/components/audio-recorder/index.js +1 -1
  137. package/dist/components/booking/index.js +1 -1
  138. package/dist/components/care-plan-card/index.js +1 -1
  139. package/dist/components/care-plan-entry-card/index.js +1 -1
  140. package/dist/components/contact-profile-card/contact-profile-card.d.ts +8 -0
  141. package/dist/components/contact-profile-card/contact-profile-card.d.ts.map +1 -1
  142. package/dist/components/contact-profile-card/index.js +1 -1
  143. package/dist/components/data-table/data-table.d.ts +6 -0
  144. package/dist/components/data-table/data-table.d.ts.map +1 -1
  145. package/dist/components/data-table/header-min-width.d.ts +21 -0
  146. package/dist/components/data-table/header-min-width.d.ts.map +1 -0
  147. package/dist/components/data-table/index.js +2 -2
  148. package/dist/components/date-range-picker/index.js +1 -1
  149. package/dist/components/date-time-picker/index.js +1 -1
  150. package/dist/components/document-preview/index.js +1 -1
  151. package/dist/components/document-scanner/index.js +1 -1
  152. package/dist/components/entity-summary/index.js +1 -1
  153. package/dist/components/error-summary/index.js +1 -1
  154. package/dist/components/face-scheme/index.js +1 -1
  155. package/dist/components/file-manager/index.js +1 -1
  156. package/dist/components/freemium-paywall/index.js +1 -1
  157. package/dist/components/gestational-age-calculator/index.js +1 -1
  158. package/dist/components/hcg-doubling/index.js +1 -1
  159. package/dist/components/heatmap/heatmap.d.ts +5 -0
  160. package/dist/components/heatmap/heatmap.d.ts.map +1 -1
  161. package/dist/components/heatmap/index.js +1 -1
  162. package/dist/components/index.d.ts +2 -0
  163. package/dist/components/index.d.ts.map +1 -1
  164. package/dist/components/info-tip/index.js +1 -1
  165. package/dist/components/info-tip/info-tip.d.ts +10 -0
  166. package/dist/components/info-tip/info-tip.d.ts.map +1 -1
  167. package/dist/components/notes-panel/index.js +1 -1
  168. package/dist/components/notice-group/index.js +1 -1
  169. package/dist/components/patient-details/index.js +1 -1
  170. package/dist/components/patient-summary-card/index.js +1 -1
  171. package/dist/components/patient-table/index.js +1 -1
  172. package/dist/components/payment-form/index.js +1 -1
  173. package/dist/components/pdf-viewer/index.js +1 -1
  174. package/dist/components/practice-profile-hero/index.js +1 -1
  175. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +7 -0
  176. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts.map +1 -1
  177. package/dist/components/practice-results/index.js +1 -1
  178. package/dist/components/practice-results/practice-results.d.ts +13 -0
  179. package/dist/components/practice-results/practice-results.d.ts.map +1 -1
  180. package/dist/components/pregnancy-dating/index.js +1 -1
  181. package/dist/components/progress-notice/index.js +1 -1
  182. package/dist/components/radiograph-panel/index.js +1 -1
  183. package/dist/components/rich-text-editor/index.js +2 -2
  184. package/dist/components/sign-document/index.js +1 -1
  185. package/dist/components/switch/index.js +1 -1
  186. package/dist/components/switch/switch.d.ts +2 -0
  187. package/dist/components/switch/switch.d.ts.map +1 -1
  188. package/dist/components/task-editor/index.js +1 -1
  189. package/dist/components/tasks-panel/index.js +1 -1
  190. package/dist/components/theme-toggle/index.js +1 -1
  191. package/dist/components/time-picker/index.js +1 -1
  192. package/dist/components/time-picker/time-picker.d.ts.map +1 -1
  193. package/dist/components/tooth-scheme/index.js +1 -1
  194. package/dist/components/voice-control-panel/index.js +1 -1
  195. package/dist/components/warning-stack/index.js +1 -1
  196. package/dist/components/week-availability/index.d.ts +3 -0
  197. package/dist/components/week-availability/index.d.ts.map +1 -0
  198. package/dist/components/week-availability/index.js +10 -0
  199. package/dist/components/week-availability/index.js.map +1 -0
  200. package/dist/components/week-availability/week-availability.d.ts +68 -0
  201. package/dist/components/week-availability/week-availability.d.ts.map +1 -0
  202. package/dist/components/weekly-hours-editor/index.d.ts +3 -0
  203. package/dist/components/weekly-hours-editor/index.d.ts.map +1 -0
  204. package/dist/components/weekly-hours-editor/index.js +9 -0
  205. package/dist/components/weekly-hours-editor/index.js.map +1 -0
  206. package/dist/components/weekly-hours-editor/weekly-hours-editor.d.ts +42 -0
  207. package/dist/components/weekly-hours-editor/weekly-hours-editor.d.ts.map +1 -0
  208. package/dist/components/workflow/index.js +1 -1
  209. package/dist/core.css +1 -1
  210. package/dist/i18n/locales/ar.d.ts +34 -0
  211. package/dist/i18n/locales/ar.d.ts.map +1 -1
  212. package/dist/i18n/locales/ar.js +34 -0
  213. package/dist/i18n/locales/ar.js.map +1 -1
  214. package/dist/i18n/locales/de.d.ts +34 -0
  215. package/dist/i18n/locales/de.d.ts.map +1 -1
  216. package/dist/i18n/locales/de.js +34 -0
  217. package/dist/i18n/locales/de.js.map +1 -1
  218. package/dist/i18n/locales/el.d.ts +34 -0
  219. package/dist/i18n/locales/el.d.ts.map +1 -1
  220. package/dist/i18n/locales/el.js +34 -0
  221. package/dist/i18n/locales/el.js.map +1 -1
  222. package/dist/i18n/locales/en.d.ts +34 -0
  223. package/dist/i18n/locales/en.d.ts.map +1 -1
  224. package/dist/i18n/locales/en.js +34 -0
  225. package/dist/i18n/locales/en.js.map +1 -1
  226. package/dist/i18n/locales/es.d.ts +34 -0
  227. package/dist/i18n/locales/es.d.ts.map +1 -1
  228. package/dist/i18n/locales/es.js +34 -0
  229. package/dist/i18n/locales/es.js.map +1 -1
  230. package/dist/i18n/locales/fr.d.ts +34 -0
  231. package/dist/i18n/locales/fr.d.ts.map +1 -1
  232. package/dist/i18n/locales/fr.js +34 -0
  233. package/dist/i18n/locales/fr.js.map +1 -1
  234. package/dist/i18n/locales/hi.d.ts +34 -0
  235. package/dist/i18n/locales/hi.d.ts.map +1 -1
  236. package/dist/i18n/locales/hi.js +34 -0
  237. package/dist/i18n/locales/hi.js.map +1 -1
  238. package/dist/i18n/locales/it.d.ts +34 -0
  239. package/dist/i18n/locales/it.d.ts.map +1 -1
  240. package/dist/i18n/locales/it.js +34 -0
  241. package/dist/i18n/locales/it.js.map +1 -1
  242. package/dist/i18n/locales/ja.d.ts +34 -0
  243. package/dist/i18n/locales/ja.d.ts.map +1 -1
  244. package/dist/i18n/locales/ja.js +34 -0
  245. package/dist/i18n/locales/ja.js.map +1 -1
  246. package/dist/i18n/locales/nl.d.ts +34 -0
  247. package/dist/i18n/locales/nl.d.ts.map +1 -1
  248. package/dist/i18n/locales/nl.js +34 -0
  249. package/dist/i18n/locales/nl.js.map +1 -1
  250. package/dist/i18n/locales/pl.d.ts +34 -0
  251. package/dist/i18n/locales/pl.d.ts.map +1 -1
  252. package/dist/i18n/locales/pl.js +34 -0
  253. package/dist/i18n/locales/pl.js.map +1 -1
  254. package/dist/i18n/locales/pt.d.ts +34 -0
  255. package/dist/i18n/locales/pt.d.ts.map +1 -1
  256. package/dist/i18n/locales/pt.js +34 -0
  257. package/dist/i18n/locales/pt.js.map +1 -1
  258. package/dist/i18n/locales/ro.d.ts +34 -0
  259. package/dist/i18n/locales/ro.d.ts.map +1 -1
  260. package/dist/i18n/locales/ro.js +34 -0
  261. package/dist/i18n/locales/ro.js.map +1 -1
  262. package/dist/i18n/locales/ru.d.ts +34 -0
  263. package/dist/i18n/locales/ru.d.ts.map +1 -1
  264. package/dist/i18n/locales/ru.js +34 -0
  265. package/dist/i18n/locales/ru.js.map +1 -1
  266. package/dist/i18n/locales/sq.d.ts +34 -0
  267. package/dist/i18n/locales/sq.d.ts.map +1 -1
  268. package/dist/i18n/locales/sq.js +34 -0
  269. package/dist/i18n/locales/sq.js.map +1 -1
  270. package/dist/i18n/locales/sv.d.ts +34 -0
  271. package/dist/i18n/locales/sv.d.ts.map +1 -1
  272. package/dist/i18n/locales/sv.js +34 -0
  273. package/dist/i18n/locales/sv.js.map +1 -1
  274. package/dist/i18n/locales/tr.d.ts +34 -0
  275. package/dist/i18n/locales/tr.d.ts.map +1 -1
  276. package/dist/i18n/locales/tr.js +34 -0
  277. package/dist/i18n/locales/tr.js.map +1 -1
  278. package/dist/i18n/locales/zh.d.ts +34 -0
  279. package/dist/i18n/locales/zh.d.ts.map +1 -1
  280. package/dist/i18n/locales/zh.js +34 -0
  281. package/dist/i18n/locales/zh.js.map +1 -1
  282. package/dist/index.js +879 -866
  283. package/dist/index.js.map +1 -1
  284. package/dist/locales/ar.json +34 -0
  285. package/dist/locales/de.json +34 -0
  286. package/dist/locales/el.json +34 -0
  287. package/dist/locales/en.json +34 -0
  288. package/dist/locales/es.json +34 -0
  289. package/dist/locales/fr.json +34 -0
  290. package/dist/locales/hi.json +34 -0
  291. package/dist/locales/it.json +34 -0
  292. package/dist/locales/ja.json +34 -0
  293. package/dist/locales/nl.json +34 -0
  294. package/dist/locales/pl.json +34 -0
  295. package/dist/locales/pt.json +34 -0
  296. package/dist/locales/ro.json +34 -0
  297. package/dist/locales/ru.json +34 -0
  298. package/dist/locales/sq.json +34 -0
  299. package/dist/locales/sv.json +34 -0
  300. package/dist/locales/tr.json +34 -0
  301. package/dist/locales/zh.json +34 -0
  302. package/dist/patterns/anamnesis/index.js +1 -1
  303. package/dist/patterns/calendar/index.js +1 -1
  304. package/dist/patterns/forgot-password-form/index.js +1 -1
  305. package/dist/patterns/help-me-write-templates/index.js +2 -2
  306. package/dist/patterns/login-form/index.js +1 -1
  307. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  308. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  309. package/dist/patterns/registration-form/index.js +1 -1
  310. package/dist/patterns/reset-password-form/index.js +1 -1
  311. package/dist/patterns/send-registration-link-form/index.js +1 -1
  312. package/dist/patterns/signature-request/index.js +1 -1
  313. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  314. package/dist/tokens.css +3 -1
  315. package/package.json +9 -1
  316. package/dist/_chunks/alert-9kEwDza3.js.map +0 -1
  317. package/dist/_chunks/contact-profile-card-uExd3pKC.js.map +0 -1
  318. package/dist/_chunks/data-table-C5uN4ato.js.map +0 -1
  319. package/dist/_chunks/info-tip-1Xsq9GLi.js +0 -230
  320. package/dist/_chunks/info-tip-1Xsq9GLi.js.map +0 -1
  321. package/dist/_chunks/practice-profile-hero-BAvGdQmt.js.map +0 -1
  322. package/dist/_chunks/practice-results-ChBP9x2r.js.map +0 -1
  323. package/dist/_chunks/switch-D--x7n6h.js.map +0 -1
  324. package/dist/_chunks/time-picker-DSt-ns5F.js.map +0 -1
@@ -1,42 +1,43 @@
1
- import { jsx as d, jsxs as _ } from "react/jsx-runtime";
2
- import { useMemo as z, forwardRef as U, useState as M, useCallback as F, useEffect as $, useRef as q, createContext as De, useContext as Ge, isValidElement as Mt, cloneElement as Ot, useImperativeHandle as Lt } from "react";
3
- import { S as Vt } from "./skeleton-tTWJpvAq.js";
4
- import { E as zt } from "./empty-state-DwJ5YNzz.js";
5
- import { c as qt } from "./index-D2ZczOXr.js";
1
+ import { jsx as d, jsxs as q } from "react/jsx-runtime";
2
+ import { useMemo as z, forwardRef as $, useState as L, useCallback as G, useEffect as B, useRef as _, createContext as Ge, useContext as Fe, isValidElement as qt, cloneElement as Wt, useImperativeHandle as jt } from "react";
3
+ import { S as Bt } from "./skeleton-tTWJpvAq.js";
4
+ import { E as $t } from "./empty-state-DwJ5YNzz.js";
5
+ import { c as Ut } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as A } from "react-i18next";
7
- import { useGridFilter as _t, AgGridReact as jt } from "ag-grid-react";
8
- import { ModuleRegistry as Wt, AllCommunityModule as Bt } from "ag-grid-community";
9
- import { I as $t } from "./icon-button-group-mXvYDaba.js";
10
- import { B as de } from "./button-DohK_Ak_.js";
11
- import { I as ie } from "./icon-button-S8_weU3g.js";
12
- import { P as he } from "./popover-CN5IsOeS.js";
13
- import { C as Ut } from "./checkbox-a7Sh-dXb.js";
14
- import { T as Kt } from "./text-input-B6iAgCr3.js";
15
- import { T as We } from "./tag-DOZGz0fT.js";
16
- import { D as ye } from "./dropdown-menu-CqxBthww.js";
17
- import { X as $e } from "./x-B5YnXwCz.js";
18
- import { R as Ht } from "./refresh-cw-DnI0cLFC.js";
19
- import { S as Fe } from "./search-QbWPlY5f.js";
20
- import { c as Qt } from "./createLucideIcon-DhHxpK9K.js";
21
- import { G as Xt } from "./grip-vertical-onSb1JXO.js";
22
- import { P as Yt } from "./printer-rkK0T1gi.js";
23
- import { F as Ue } from "./file-text-5yv6r2ls.js";
24
- import { D as we } from "./download-CfYKJO_j.js";
25
- import { F as Zt } from "./file-spreadsheet-DmwyfV4O.js";
26
- import Jt from "i18next";
27
- import { S as Ke } from "./state-backed-text-input-DVETOhSS.js";
28
- import { S as ea } from "./select-BBDRYxJl.js";
29
- import { u as ta } from "./registry-DvAUVLHh.js";
30
- import { u as aa } from "./use-prefers-reduced-motion-BMwIQRjB.js";
31
- import { u as ra } from "./use-theme-CYGyzFgZ.js";
32
- import { f as na } from "./intl-locale-FWh-Y5_3.js";
7
+ import { useGridFilter as Ht, AgGridReact as Kt } from "ag-grid-react";
8
+ import { ModuleRegistry as Qt, AllCommunityModule as Xt } from "ag-grid-community";
9
+ import { I as Yt } from "./icon-button-group-mXvYDaba.js";
10
+ import { u as Zt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
11
+ import { B as ce } from "./button-DohK_Ak_.js";
12
+ import { I as oe } from "./icon-button-S8_weU3g.js";
13
+ import { P as Te } from "./popover-CN5IsOeS.js";
14
+ import { C as Jt } from "./checkbox-a7Sh-dXb.js";
15
+ import { T as ea } from "./text-input-B6iAgCr3.js";
16
+ import { T as He } from "./tag-DOZGz0fT.js";
17
+ import { D as xe } from "./dropdown-menu-CqxBthww.js";
18
+ import { X as Qe } from "./x-B5YnXwCz.js";
19
+ import { R as ta } from "./refresh-cw-DnI0cLFC.js";
20
+ import { S as Ie } from "./search-QbWPlY5f.js";
21
+ import { c as aa } from "./createLucideIcon-DhHxpK9K.js";
22
+ import { G as ra } from "./grip-vertical-onSb1JXO.js";
23
+ import { P as na } from "./printer-rkK0T1gi.js";
24
+ import { F as Xe } from "./file-text-5yv6r2ls.js";
25
+ import { D as Ce } from "./download-CfYKJO_j.js";
26
+ import { F as oa } from "./file-spreadsheet-DmwyfV4O.js";
27
+ import ia from "i18next";
28
+ import { S as Ye } from "./state-backed-text-input-DVETOhSS.js";
29
+ import { S as la } from "./select-BBDRYxJl.js";
30
+ import { u as sa } from "./registry-DvAUVLHh.js";
31
+ import { u as da } from "./use-prefers-reduced-motion-BMwIQRjB.js";
32
+ import { u as ca } from "./use-theme-CYGyzFgZ.js";
33
+ import { f as ua } from "./intl-locale-FWh-Y5_3.js";
33
34
  /**
34
35
  * @license lucide-react v1.22.0 - ISC
35
36
  *
36
37
  * This source code is licensed under the ISC license.
37
38
  * See the LICENSE file in the root directory of this source tree.
38
39
  */
39
- const oa = [
40
+ const pa = [
40
41
  ["path", { d: "M10.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.5", key: "1g2yzs" }],
41
42
  ["path", { d: "m14.3 19.6 1-.4", key: "11sv9r" }],
42
43
  ["path", { d: "M15 3v7.5", key: "7lm50a" }],
@@ -49,50 +50,77 @@ const oa = [
49
50
  ["path", { d: "m21.7 19.4-.9-.3", key: "1qgwi9" }],
50
51
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
51
52
  ["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }]
52
- ], ia = Qt("columns-3-cog", oa), la = "yyyy-mm-dd hh:mm";
53
- function sa(e) {
54
- return e == null ? "" : typeof e == "number" ? Number.isFinite(e) ? e : String(e) : typeof e == "string" || typeof e == "boolean" ? e : e instanceof Date && !Number.isNaN(e.getTime()) ? { value: e, type: Date, format: la } : String(e);
53
+ ], ma = aa("columns-3-cog", pa), fa = 52;
54
+ function ga(e) {
55
+ let t = "";
56
+ for (const n of e.split(/\s+/))
57
+ n.length > t.length && (t = n);
58
+ return t;
59
+ }
60
+ function Ze(e, t) {
61
+ return t ? e.map((n) => {
62
+ if ("children" in n && n.children)
63
+ return { ...n, children: Ze(n.children, t) };
64
+ const a = n;
65
+ if (!a.wrapHeaderText || typeof a.headerName != "string") return a;
66
+ const i = ga(a.headerName);
67
+ if (!i) return a;
68
+ const s = Math.ceil(t(i)) + fa;
69
+ return s > (a.minWidth ?? 0) ? { ...a, minWidth: s } : a;
70
+ }) : e;
71
+ }
72
+ function ba(e) {
73
+ return (t) => {
74
+ const n = document.createElement("span");
75
+ n.className = "ag-header-cell-text", n.textContent = t, n.style.cssText = "position:absolute;visibility:hidden;white-space:nowrap;inline-size:auto;", e.appendChild(n);
76
+ const a = n.getBoundingClientRect().width;
77
+ return n.remove(), a;
78
+ };
55
79
  }
56
- async function da(e, t, n) {
57
- const { default: r } = await import("./index-CpVcVNBu.js"), i = [
80
+ const ha = "yyyy-mm-dd hh:mm";
81
+ function Ta(e) {
82
+ return e == null ? "" : typeof e == "number" ? Number.isFinite(e) ? e : String(e) : typeof e == "string" || typeof e == "boolean" ? e : e instanceof Date && !Number.isNaN(e.getTime()) ? { value: e, type: Date, format: ha } : String(e);
83
+ }
84
+ async function ya(e, t, n) {
85
+ const { default: a } = await import("./index-CpVcVNBu.js"), i = [
58
86
  e.map((s) => ({
59
87
  value: s,
60
88
  fontWeight: "bold",
61
89
  textColor: n.text,
62
90
  backgroundColor: n.fill
63
91
  })),
64
- ...t.map((s) => s.map(sa))
92
+ ...t.map((s) => s.map(Ta))
65
93
  ];
66
- return r(i, { sheet: "Sheet1" }).toBlob();
94
+ return a(i, { sheet: "Sheet1" }).toBlob();
67
95
  }
68
- function ca(e) {
69
- if (!Mt(e)) return e;
70
- const t = e, n = t.props.className ?? "", r = /\bsize-|\bw-|\bh-/.test(n) ? n : `${n} ds:size-4`.trim();
71
- return Ot(t, { className: r, size: t.props.size ?? 16 });
96
+ function xa(e) {
97
+ if (!qt(e)) return e;
98
+ const t = e, n = t.props.className ?? "", a = /\bsize-|\bw-|\bh-/.test(n) ? n : `${n} ds:size-4`.trim();
99
+ return Wt(t, { className: a, size: t.props.size ?? 16 });
72
100
  }
73
- const He = De(null);
101
+ const Je = Ge(null);
74
102
  function Q(e) {
75
- const t = Ge(He);
103
+ const t = Fe(Je);
76
104
  if (!t)
77
105
  throw new Error(
78
106
  `${e} must be rendered inside <DataTable.Toolbar> as a descendant of <DataTable>.`
79
107
  );
80
108
  return t;
81
109
  }
82
- function ua({
110
+ function wa({
83
111
  getApi: e,
84
112
  selectionCount: t,
85
113
  onPrint: n,
86
- markColumnsUserTouched: r,
114
+ markColumnsUserTouched: a,
87
115
  children: i
88
116
  }) {
89
117
  const s = z(
90
- () => ({ getApi: e, selectionCount: t, onPrint: n, markColumnsUserTouched: r }),
91
- [e, t, n, r]
118
+ () => ({ getApi: e, selectionCount: t, onPrint: n, markColumnsUserTouched: a }),
119
+ [e, t, n, a]
92
120
  );
93
- return /* @__PURE__ */ d(He.Provider, { value: s, children: i });
121
+ return /* @__PURE__ */ d(Je.Provider, { value: s, children: i });
94
122
  }
95
- const pa = [
123
+ const Ca = [
96
124
  "data-table-toolbar",
97
125
  // Mobile (<sm) keeps `flex-wrap` so a wide QuickSearch can flow above the
98
126
  // Actions cluster on narrow screens. From `sm` (≥640px) we switch to
@@ -104,24 +132,24 @@ const pa = [
104
132
  // No card surface: the toolbar sits directly on the page background,
105
133
  // matching the header-tools layout the Patients / Care Plan List
106
134
  // patterns established (the old bg-card + border + shadow bar is gone).
107
- ].join(" "), Qe = U(
108
- ({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(
135
+ ].join(" "), et = $(
136
+ ({ className: e, children: t, ...n }, a) => /* @__PURE__ */ d(
109
137
  "div",
110
138
  {
111
- ref: r,
139
+ ref: a,
112
140
  role: "toolbar",
113
- className: [pa, e ?? ""].join(" ").trim(),
141
+ className: [Ca, e ?? ""].join(" ").trim(),
114
142
  ...n,
115
143
  children: t
116
144
  }
117
145
  )
118
146
  );
119
- Qe.displayName = "DataTable.Toolbar";
120
- const Xe = U(
121
- ({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(
147
+ et.displayName = "DataTable.Toolbar";
148
+ const tt = $(
149
+ ({ className: e, children: t, ...n }, a) => /* @__PURE__ */ d(
122
150
  "div",
123
151
  {
124
- ref: r,
152
+ ref: a,
125
153
  className: [
126
154
  "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]",
127
155
  // `grow` lets FilterBar absorb the free space; `min-w-0` lets the
@@ -136,12 +164,12 @@ const Xe = U(
136
164
  }
137
165
  )
138
166
  );
139
- Xe.displayName = "DataTable.Toolbar.FilterBar";
140
- const Ye = U(
141
- ({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(
167
+ tt.displayName = "DataTable.Toolbar.FilterBar";
168
+ const at = $(
169
+ ({ className: e, children: t, ...n }, a) => /* @__PURE__ */ d(
142
170
  "div",
143
171
  {
144
- ref: r,
172
+ ref: a,
145
173
  className: [
146
174
  "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
147
175
  "ds:ms-auto",
@@ -152,66 +180,66 @@ const Ye = U(
152
180
  }
153
181
  )
154
182
  );
155
- Ye.displayName = "DataTable.Toolbar.Actions";
156
- const Ee = U(
157
- ({ label: e, onExport: t, intent: n = "outline", ...r }, i) => {
158
- const { t: s } = A("ui"), { getApi: f } = Q("DataTable.Toolbar.ExportCsv"), l = F(() => {
159
- const m = f();
183
+ at.displayName = "DataTable.Toolbar.Actions";
184
+ const Ne = $(
185
+ ({ label: e, onExport: t, intent: n = "outline", ...a }, i) => {
186
+ const { t: s } = A("ui"), { getApi: g } = Q("DataTable.Toolbar.ExportCsv"), l = G(() => {
187
+ const m = g();
160
188
  m && (t ? t(m) : m.exportDataAsCsv());
161
- }, [f, t]);
189
+ }, [g, t]);
162
190
  return /* @__PURE__ */ d(
163
- ie,
191
+ oe,
164
192
  {
165
193
  ref: i,
166
194
  type: "button",
167
195
  intent: n,
168
- icon: /* @__PURE__ */ d(we, { "aria-hidden": !0 }),
196
+ icon: /* @__PURE__ */ d(Ce, { "aria-hidden": !0 }),
169
197
  tooltip: e ?? s("dataTable.exportCsv"),
170
198
  onClick: l,
171
- ...r
199
+ ...a
172
200
  }
173
201
  );
174
202
  }
175
203
  );
176
- Ee.displayName = "DataTable.Toolbar.ExportCsv";
177
- function ne(e, t = [30, 30, 30]) {
204
+ Ne.displayName = "DataTable.Toolbar.ExportCsv";
205
+ function re(e, t = [30, 30, 30]) {
178
206
  if (typeof document > "u") return t;
179
207
  const n = document.createElement("div");
180
208
  n.className = "theme-light", n.style.position = "absolute", n.style.visibility = "hidden";
181
- const r = document.createElement("span");
182
- r.style.color = `var(${e})`, n.appendChild(r), document.body.appendChild(n);
183
- const i = getComputedStyle(r).color;
209
+ const a = document.createElement("span");
210
+ a.style.color = `var(${e})`, n.appendChild(a), document.body.appendChild(n);
211
+ const i = getComputedStyle(a).color;
184
212
  document.body.removeChild(n);
185
213
  const s = i.match(/rgba?\(\s*(\d+)[,\s]+(\d+)[,\s]+(\d+)/i);
186
214
  return s ? [Number(s[1]), Number(s[2]), Number(s[3])] : t;
187
215
  }
188
- async function Ze(e, t) {
216
+ async function rt(e, t) {
189
217
  if (!e) return;
190
- const [{ jsPDF: n }, { default: r }] = await Promise.all([
218
+ const [{ jsPDF: n }, { default: a }] = await Promise.all([
191
219
  import("./jspdf.es.min-BW7y6yhl.js").then((w) => w.j),
192
220
  import("./jspdf.plugin.autotable-CSiDNyPn.js")
193
- ]), s = (e.getColumns() ?? []).filter((w) => w.isVisible()), f = [
221
+ ]), s = (e.getColumns() ?? []).filter((w) => w.isVisible()), g = [
194
222
  s.map((w) => e.getDisplayNameForColumn(w, null) ?? "")
195
223
  ], l = [];
196
224
  e.forEachNodeAfterFilterAndSort((w) => {
197
225
  if (!w.data) return;
198
- const p = s.map((h) => {
226
+ const p = s.map((T) => {
199
227
  const S = e.getCellValue({
200
228
  rowNode: w,
201
- colKey: h,
229
+ colKey: T,
202
230
  useFormatter: !0
203
231
  });
204
232
  return S == null ? "" : String(S);
205
233
  });
206
234
  l.push(p);
207
235
  });
208
- const m = ne("--muted", [240, 240, 240]), g = ne("--foreground", [30, 30, 30]), u = ne("--card-foreground", [30, 30, 30]), b = ne("--card", [250, 250, 250]), v = new n({ orientation: "landscape" });
209
- r(v, {
210
- head: f,
236
+ const m = re("--muted", [240, 240, 240]), f = re("--foreground", [30, 30, 30]), u = re("--card-foreground", [30, 30, 30]), h = re("--card", [250, 250, 250]), v = new n({ orientation: "landscape" });
237
+ a(v, {
238
+ head: g,
211
239
  body: l,
212
- headStyles: { fillColor: m, textColor: g },
240
+ headStyles: { fillColor: m, textColor: f },
213
241
  bodyStyles: { textColor: u },
214
- alternateRowStyles: { fillColor: b },
242
+ alternateRowStyles: { fillColor: h },
215
243
  styles: {
216
244
  font: "helvetica",
217
245
  fontSize: 10,
@@ -219,43 +247,43 @@ async function Ze(e, t) {
219
247
  }
220
248
  }), v.save(t.fileName);
221
249
  }
222
- const Ie = U(
223
- ({ label: e, onClick: t, fileName: n, intent: r = "outline", ...i }, s) => {
224
- const { t: f } = A("ui"), { getApi: l } = Q("DataTable.Toolbar.ExportPdf"), m = F(() => {
225
- const g = l();
250
+ const ke = $(
251
+ ({ label: e, onClick: t, fileName: n, intent: a = "outline", ...i }, s) => {
252
+ const { t: g } = A("ui"), { getApi: l } = Q("DataTable.Toolbar.ExportPdf"), m = G(() => {
253
+ const f = l();
226
254
  if (t) {
227
- t(g);
255
+ t(f);
228
256
  return;
229
257
  }
230
- Ze(g, {
258
+ rt(f, {
231
259
  fileName: n ?? "data-table-export.pdf"
232
260
  });
233
261
  }, [l, t, n]);
234
262
  return /* @__PURE__ */ d(
235
- ie,
263
+ oe,
236
264
  {
237
265
  ref: s,
238
266
  type: "button",
239
- intent: r,
240
- icon: /* @__PURE__ */ d(Ue, { "aria-hidden": !0 }),
241
- tooltip: e ?? f("dataTable.exportPdf"),
267
+ intent: a,
268
+ icon: /* @__PURE__ */ d(Xe, { "aria-hidden": !0 }),
269
+ tooltip: e ?? g("dataTable.exportPdf"),
242
270
  onClick: m,
243
271
  ...i
244
272
  }
245
273
  );
246
274
  }
247
275
  );
248
- Ie.displayName = "DataTable.Toolbar.ExportPdf";
249
- const Ne = U(
250
- ({ label: e, intent: t = "outline", ...n }, r) => {
276
+ ke.displayName = "DataTable.Toolbar.ExportPdf";
277
+ const Pe = $(
278
+ ({ label: e, intent: t = "outline", ...n }, a) => {
251
279
  const { t: i } = A("ui"), { onPrint: s } = Q("DataTable.Toolbar.Print");
252
280
  return /* @__PURE__ */ d(
253
- ie,
281
+ oe,
254
282
  {
255
- ref: r,
283
+ ref: a,
256
284
  type: "button",
257
285
  intent: t,
258
- icon: /* @__PURE__ */ d(Yt, { "aria-hidden": !0 }),
286
+ icon: /* @__PURE__ */ d(na, { "aria-hidden": !0 }),
259
287
  tooltip: e ?? i("dataTable.print"),
260
288
  onClick: s,
261
289
  ...n
@@ -263,15 +291,15 @@ const Ne = U(
263
291
  );
264
292
  }
265
293
  );
266
- Ne.displayName = "DataTable.Toolbar.Print";
267
- const Je = ({ placeholder: e, debounceMs: t = 150 }) => {
268
- const { t: n } = A("ui"), { getApi: r } = Q("DataTable.Toolbar.QuickSearch"), [i, s] = M(""), f = q(void 0);
269
- return $(() => (f.current && window.clearTimeout(f.current), f.current = window.setTimeout(() => {
270
- const l = r();
294
+ Pe.displayName = "DataTable.Toolbar.Print";
295
+ const nt = ({ placeholder: e, debounceMs: t = 150 }) => {
296
+ const { t: n } = A("ui"), { getApi: a } = Q("DataTable.Toolbar.QuickSearch"), [i, s] = L(""), g = _(void 0);
297
+ return B(() => (g.current && window.clearTimeout(g.current), g.current = window.setTimeout(() => {
298
+ const l = a();
271
299
  l && l.setGridOption("quickFilterText", i);
272
300
  }, t), () => {
273
- f.current && window.clearTimeout(f.current);
274
- }), [i, t, r]), // Slot wrapper caps the search at a sensible legible width on desktop —
301
+ g.current && window.clearTimeout(g.current);
302
+ }), [i, t, a]), // Slot wrapper caps the search at a sensible legible width on desktop —
275
303
  // without this, TextInput's `w-full` lets the QuickSearch absorb the
276
304
  // entire FilterBar row and push trailing Actions onto a second line at
277
305
  // 1024 / 1280 / 1440. `min-w-0` lets the slot shrink below `24rem` when
@@ -279,93 +307,93 @@ const Je = ({ placeholder: e, debounceMs: t = 150 }) => {
279
307
  // `--toolbar-search-max` token in the kit yet — see this component's
280
308
  // summary for a follow-up note recommending we add one.
281
309
  /* @__PURE__ */ d("div", { className: "ds:w-full ds:max-w-[24rem] ds:min-w-0", children: /* @__PURE__ */ d(
282
- Kt,
310
+ ea,
283
311
  {
284
312
  type: "search",
285
313
  size: "sm",
286
314
  onChange: (l) => s(l.target.value),
287
315
  placeholder: e ?? n("dataTable.quickSearch.placeholder", "Search…"),
288
- startAdornment: /* @__PURE__ */ d(Fe, { "aria-hidden": !0, className: "ds:size-4" }),
316
+ startAdornment: /* @__PURE__ */ d(Ie, { "aria-hidden": !0, className: "ds:size-4" }),
289
317
  clearable: !0,
290
318
  onClear: () => s(""),
291
319
  "aria-label": n("dataTable.quickSearch.label", "Quick search")
292
320
  }
293
321
  ) });
294
322
  };
295
- Je.displayName = "DataTable.Toolbar.QuickSearch";
296
- const ke = U(
297
- ({ onRefresh: e, label: t, intent: n = "outline", ...r }, i) => {
323
+ nt.displayName = "DataTable.Toolbar.QuickSearch";
324
+ const Ae = $(
325
+ ({ onRefresh: e, label: t, intent: n = "outline", ...a }, i) => {
298
326
  const { t: s } = A("ui");
299
327
  return /* @__PURE__ */ d(
300
- ie,
328
+ oe,
301
329
  {
302
330
  ref: i,
303
331
  type: "button",
304
332
  intent: n,
305
- icon: /* @__PURE__ */ d(Ht, { "aria-hidden": !0 }),
333
+ icon: /* @__PURE__ */ d(ta, { "aria-hidden": !0 }),
306
334
  tooltip: t ?? s("dataTable.refresh", "Refresh"),
307
335
  onClick: e,
308
- ...r
336
+ ...a
309
337
  }
310
338
  );
311
339
  }
312
340
  );
313
- ke.displayName = "DataTable.Toolbar.Refresh";
314
- function ma(e, t) {
341
+ Ae.displayName = "DataTable.Toolbar.Refresh";
342
+ function va(e, t) {
315
343
  if (!e || typeof e != "object") return "";
316
- const n = e, r = typeof n.type == "string" ? n.type : "", i = (l) => t(
344
+ const n = e, a = typeof n.type == "string" ? n.type : "", i = (l) => t(
317
345
  `dataTable.agGrid.${l}`,
318
346
  t(`dataTable.numberFilter.operators.${l}`, l)
319
347
  );
320
- if (r === "blank" || r === "notBlank") return i(r);
321
- const s = typeof n.filter == "string" || typeof n.filter == "number", f = typeof n.filterTo == "string" || typeof n.filterTo == "number";
322
- return r === "inRange" && (s || f) ? s && f ? `${n.filter} – ${n.filterTo}` : s ? `${t("dataTable.numberFilter.from", "From")} ${n.filter}` : `${t("dataTable.numberFilter.to", "To")} ${n.filterTo}` : s ? r ? `${i(r)} ${n.filter}` : String(n.filter) : typeof n.dateFrom == "string" ? typeof n.dateTo == "string" && n.dateTo ? `${n.dateFrom} – ${n.dateTo}` : String(n.dateFrom) : Array.isArray(n.values) ? n.values.map(String).join(", ") : "";
348
+ if (a === "blank" || a === "notBlank") return i(a);
349
+ const s = typeof n.filter == "string" || typeof n.filter == "number", g = typeof n.filterTo == "string" || typeof n.filterTo == "number";
350
+ return a === "inRange" && (s || g) ? s && g ? `${n.filter} – ${n.filterTo}` : s ? `${t("dataTable.numberFilter.from", "From")} ${n.filter}` : `${t("dataTable.numberFilter.to", "To")} ${n.filterTo}` : s ? a ? `${i(a)} ${n.filter}` : String(n.filter) : typeof n.dateFrom == "string" ? typeof n.dateTo == "string" && n.dateTo ? `${n.dateFrom} – ${n.dateTo}` : String(n.dateFrom) : Array.isArray(n.values) ? n.values.map(String).join(", ") : "";
323
351
  }
324
- const et = () => {
325
- const { t: e } = A("ui"), { getApi: t } = Q("DataTable.Toolbar.FilterChips"), [n, r] = M([]), [i, s] = M(""), f = F(() => {
352
+ const ot = () => {
353
+ const { t: e } = A("ui"), { getApi: t } = Q("DataTable.Toolbar.FilterChips"), [n, a] = L([]), [i, s] = L(""), g = G(() => {
326
354
  const u = t();
327
355
  if (!u) {
328
- r([]), s("");
356
+ a([]), s("");
329
357
  return;
330
358
  }
331
- const b = u.getFilterModel() ?? {}, v = u.getColumns() ?? [], w = [];
332
- for (const h of Object.keys(b)) {
333
- const S = v.find((C) => C.getColId() === h), R = u.getDisplayNameForColumn(S, null) ?? h;
359
+ const h = u.getFilterModel() ?? {}, v = u.getColumns() ?? [], w = [];
360
+ for (const T of Object.keys(h)) {
361
+ const S = v.find((C) => C.getColId() === T), R = u.getDisplayNameForColumn(S, null) ?? T;
334
362
  w.push({
335
- colId: h,
363
+ colId: T,
336
364
  headerName: R,
337
- text: ma(b[h], e)
365
+ text: va(h[T], e)
338
366
  });
339
367
  }
340
- r(w);
368
+ a(w);
341
369
  const p = u.getGridOption("quickFilterText");
342
370
  s(typeof p == "string" ? p : "");
343
371
  }, [t, e]);
344
- if ($(() => {
372
+ if (B(() => {
345
373
  let u;
346
- const b = (p) => f(), v = (p) => {
347
- p.addEventListener("filterChanged", b), f(), u = () => p.removeEventListener("filterChanged", b);
374
+ const h = (p) => g(), v = (p) => {
375
+ p.addEventListener("filterChanged", h), g(), u = () => p.removeEventListener("filterChanged", h);
348
376
  }, w = t();
349
377
  if (w)
350
378
  v(w);
351
379
  else {
352
380
  const p = window.setInterval(() => {
353
- const h = t();
354
- h && (window.clearInterval(p), v(h));
381
+ const T = t();
382
+ T && (window.clearInterval(p), v(T));
355
383
  }, 50);
356
384
  u = () => window.clearInterval(p);
357
385
  }
358
386
  return () => u == null ? void 0 : u();
359
- }, [t, f]), n.length + (i ? 1 : 0) === 0) return null;
387
+ }, [t, g]), n.length + (i ? 1 : 0) === 0) return null;
360
388
  function m(u) {
361
- const b = t();
362
- b && (b.setColumnFilterModel(u, null), b.onFilterChanged());
389
+ const h = t();
390
+ h && (h.setColumnFilterModel(u, null), h.onFilterChanged());
363
391
  }
364
- function g() {
392
+ function f() {
365
393
  const u = t();
366
394
  u && (u.setFilterModel(null), u.setGridOption("quickFilterText", ""), s(""));
367
395
  }
368
- return /* @__PURE__ */ _(
396
+ return /* @__PURE__ */ q(
369
397
  "div",
370
398
  {
371
399
  role: "group",
@@ -373,7 +401,7 @@ const et = () => {
373
401
  className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
374
402
  children: [
375
403
  i && /* @__PURE__ */ d(
376
- We,
404
+ He,
377
405
  {
378
406
  label: `${e("dataTable.quickSearch.label", "Quick search")}: ${i}`,
379
407
  size: "sm",
@@ -386,7 +414,7 @@ const et = () => {
386
414
  }
387
415
  ),
388
416
  n.map((u) => /* @__PURE__ */ d(
389
- We,
417
+ He,
390
418
  {
391
419
  label: u.text ? `${u.headerName}: ${u.text}` : u.headerName,
392
420
  size: "sm",
@@ -397,13 +425,13 @@ const et = () => {
397
425
  u.colId
398
426
  )),
399
427
  /* @__PURE__ */ d(
400
- de,
428
+ ce,
401
429
  {
402
430
  type: "button",
403
431
  intent: "ghost",
404
432
  size: "sm",
405
- onClick: g,
406
- startIcon: /* @__PURE__ */ d($e, { "aria-hidden": !0, className: "ds:size-4" }),
433
+ onClick: f,
434
+ startIcon: /* @__PURE__ */ d(Qe, { "aria-hidden": !0, className: "ds:size-4" }),
407
435
  children: e("dataTable.filterChips.clearAll", "Clear all")
408
436
  }
409
437
  )
@@ -411,42 +439,42 @@ const et = () => {
411
439
  }
412
440
  );
413
441
  };
414
- et.displayName = "DataTable.Toolbar.FilterChips";
415
- const tt = ({
442
+ ot.displayName = "DataTable.Toolbar.FilterChips";
443
+ const it = ({
416
444
  field: e,
417
445
  options: t,
418
446
  label: n
419
447
  }) => {
420
- const { t: r } = A("ui"), { getApi: i } = Q("DataTable.Toolbar.FacetFilter"), [s, f] = M(null);
448
+ const { t: a } = A("ui"), { getApi: i } = Q("DataTable.Toolbar.FacetFilter"), [s, g] = L(null);
421
449
  function l(m) {
422
- f(m);
423
- const g = i();
424
- if (g) {
450
+ g(m);
451
+ const f = i();
452
+ if (f) {
425
453
  if (m === null) {
426
- g.setColumnFilterModel(e, null), g.onFilterChanged();
454
+ f.setColumnFilterModel(e, null), f.onFilterChanged();
427
455
  return;
428
456
  }
429
- g.setColumnFilterModel(e, {
457
+ f.setColumnFilterModel(e, {
430
458
  type: "equals",
431
459
  filter: m
432
- }), g.onFilterChanged();
460
+ }), f.onFilterChanged();
433
461
  }
434
462
  }
435
463
  return /* @__PURE__ */ d(
436
464
  "div",
437
465
  {
438
466
  role: "group",
439
- "aria-label": n ?? r("dataTable.facetFilter.label", "Filter"),
467
+ "aria-label": n ?? a("dataTable.facetFilter.label", "Filter"),
440
468
  className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
441
469
  children: t.map((m) => {
442
- const g = s === m.value;
470
+ const f = s === m.value;
443
471
  return /* @__PURE__ */ d(
444
- de,
472
+ ce,
445
473
  {
446
474
  type: "button",
447
475
  size: "sm",
448
- intent: g ? "primary" : "secondary",
449
- "aria-pressed": g,
476
+ intent: f ? "primary" : "secondary",
477
+ "aria-pressed": f,
450
478
  onClick: () => l(m.value),
451
479
  children: m.label
452
480
  },
@@ -456,200 +484,200 @@ const tt = ({
456
484
  }
457
485
  );
458
486
  };
459
- tt.displayName = "DataTable.Toolbar.FacetFilter";
460
- const ga = ["csv", "xlsx", "pdf"];
461
- async function fa(e, t) {
487
+ it.displayName = "DataTable.Toolbar.FacetFilter";
488
+ const Sa = ["csv", "xlsx", "pdf"];
489
+ async function Ra(e, t) {
462
490
  if (!e) return;
463
- const r = (e.getColumns() ?? []).filter((u) => u.isVisible()), i = r.map(
491
+ const a = (e.getColumns() ?? []).filter((u) => u.isVisible()), i = a.map(
464
492
  (u) => e.getDisplayNameForColumn(u, null) ?? u.getColId()
465
493
  ), s = [];
466
494
  e.forEachNodeAfterFilterAndSort((u) => {
467
495
  u.data && s.push(
468
- r.map(
469
- (b) => e.getCellValue({ rowNode: u, colKey: b, useFormatter: !0 })
496
+ a.map(
497
+ (h) => e.getCellValue({ rowNode: u, colKey: h, useFormatter: !0 })
470
498
  )
471
499
  );
472
500
  });
473
- const f = ([u, b, v]) => `#${[u, b, v].map((w) => w.toString(16).padStart(2, "0")).join("")}`.toUpperCase(), l = await da(i, s, {
474
- fill: f(ne("--muted", [240, 240, 240])),
475
- text: f(ne("--foreground", [30, 30, 30]))
476
- }), m = URL.createObjectURL(l), g = document.createElement("a");
477
- g.href = m, g.download = t.fileName, document.body.appendChild(g), g.click(), document.body.removeChild(g), URL.revokeObjectURL(m);
501
+ const g = ([u, h, v]) => `#${[u, h, v].map((w) => w.toString(16).padStart(2, "0")).join("")}`.toUpperCase(), l = await ya(i, s, {
502
+ fill: g(re("--muted", [240, 240, 240])),
503
+ text: g(re("--foreground", [30, 30, 30]))
504
+ }), m = URL.createObjectURL(l), f = document.createElement("a");
505
+ f.href = m, f.download = t.fileName, document.body.appendChild(f), f.click(), document.body.removeChild(f), URL.revokeObjectURL(m);
478
506
  }
479
- const at = De(null);
480
- function ba() {
481
- const e = Ge(at);
507
+ const lt = Ge(null);
508
+ function Da() {
509
+ const e = Fe(lt);
482
510
  if (!e)
483
511
  throw new Error(
484
512
  "DataTable.Toolbar.ExportMenu.Item must be rendered inside DataTable.Toolbar.ExportMenu."
485
513
  );
486
514
  return e;
487
515
  }
488
- const Pe = U(
489
- ({ children: e, label: t, intent: n = "outline", ...r }, i) => {
490
- const { t: s } = A("ui"), { getApi: f } = Q("DataTable.Toolbar.ExportMenu"), l = z(() => ({ getApi: f }), [f]), m = e ?? ga.map((g) => /* @__PURE__ */ d(Ae, { format: g }, g));
491
- return /* @__PURE__ */ d(at.Provider, { value: l, children: /* @__PURE__ */ _(ye.Root, { children: [
492
- /* @__PURE__ */ d(ye.Trigger, { asChild: !0, children: /* @__PURE__ */ d(
493
- ie,
516
+ const Me = $(
517
+ ({ children: e, label: t, intent: n = "outline", ...a }, i) => {
518
+ const { t: s } = A("ui"), { getApi: g } = Q("DataTable.Toolbar.ExportMenu"), l = z(() => ({ getApi: g }), [g]), m = e ?? Sa.map((f) => /* @__PURE__ */ d(Oe, { format: f }, f));
519
+ return /* @__PURE__ */ d(lt.Provider, { value: l, children: /* @__PURE__ */ q(xe.Root, { children: [
520
+ /* @__PURE__ */ d(xe.Trigger, { asChild: !0, children: /* @__PURE__ */ d(
521
+ oe,
494
522
  {
495
523
  ref: i,
496
524
  type: "button",
497
525
  intent: n,
498
- icon: /* @__PURE__ */ d(we, { "aria-hidden": !0 }),
526
+ icon: /* @__PURE__ */ d(Ce, { "aria-hidden": !0 }),
499
527
  tooltip: t ?? s("dataTable.export.menu", "Export"),
500
528
  "aria-label": t ?? s("dataTable.export.menu", "Export"),
501
529
  "aria-haspopup": "menu",
502
- ...r
530
+ ...a
503
531
  }
504
532
  ) }),
505
- /* @__PURE__ */ d(ye.Content, { align: "end", sideOffset: 4, children: m })
533
+ /* @__PURE__ */ d(xe.Content, { align: "end", sideOffset: 4, children: m })
506
534
  ] }) });
507
535
  }
508
536
  );
509
- Pe.displayName = "DataTable.Toolbar.ExportMenu";
510
- function ha(e, t) {
537
+ Me.displayName = "DataTable.Toolbar.ExportMenu";
538
+ function Ea(e, t) {
511
539
  return t === "csv" ? e("dataTable.export.csv", "Export CSV") : t === "xlsx" ? e("dataTable.export.xlsx", "Export Excel") : t === "pdf" ? e("dataTable.export.pdf", "Export PDF") : e("dataTable.export.custom", "Export");
512
540
  }
513
- function Ta(e) {
514
- return e === "csv" ? /* @__PURE__ */ d(we, { "aria-hidden": !0, className: "ds:size-4" }) : e === "xlsx" ? /* @__PURE__ */ d(Zt, { "aria-hidden": !0, className: "ds:size-4" }) : e === "pdf" ? /* @__PURE__ */ d(Ue, { "aria-hidden": !0, className: "ds:size-4" }) : /* @__PURE__ */ d(we, { "aria-hidden": !0, className: "ds:size-4" });
541
+ function Ga(e) {
542
+ return e === "csv" ? /* @__PURE__ */ d(Ce, { "aria-hidden": !0, className: "ds:size-4" }) : e === "xlsx" ? /* @__PURE__ */ d(oa, { "aria-hidden": !0, className: "ds:size-4" }) : e === "pdf" ? /* @__PURE__ */ d(Xe, { "aria-hidden": !0, className: "ds:size-4" }) : /* @__PURE__ */ d(Ce, { "aria-hidden": !0, className: "ds:size-4" });
515
543
  }
516
- const Ae = ({
544
+ const Oe = ({
517
545
  format: e,
518
546
  label: t,
519
547
  onClick: n,
520
- fileName: r
548
+ fileName: a
521
549
  }) => {
522
- const { t: i } = A("ui"), { getApi: s } = ba(), f = F(() => {
550
+ const { t: i } = A("ui"), { getApi: s } = Da(), g = G(() => {
523
551
  const l = s();
524
552
  if (e === "csv") {
525
553
  l == null || l.exportDataAsCsv();
526
554
  return;
527
555
  }
528
556
  if (e === "pdf") {
529
- Ze(l, {
530
- fileName: r ?? "data-table-export.pdf"
557
+ rt(l, {
558
+ fileName: a ?? "data-table-export.pdf"
531
559
  });
532
560
  return;
533
561
  }
534
562
  if (e === "xlsx") {
535
- fa(l, {
536
- fileName: r ?? "data-table-export.xlsx"
563
+ Ra(l, {
564
+ fileName: a ?? "data-table-export.xlsx"
537
565
  });
538
566
  return;
539
567
  }
540
568
  n == null || n(l);
541
- }, [e, r, n, s]);
542
- return /* @__PURE__ */ d(ye.Item, { onSelect: f, children: /* @__PURE__ */ _("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
543
- Ta(e),
544
- /* @__PURE__ */ d("span", { children: t ?? ha(i, e) })
569
+ }, [e, a, n, s]);
570
+ return /* @__PURE__ */ d(xe.Item, { onSelect: g, children: /* @__PURE__ */ q("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
571
+ Ga(e),
572
+ /* @__PURE__ */ d("span", { children: t ?? Ea(i, e) })
545
573
  ] }) });
546
574
  };
547
- Ae.displayName = "DataTable.Toolbar.ExportMenu.Item";
548
- function ya(e) {
575
+ Oe.displayName = "DataTable.Toolbar.ExportMenu.Item";
576
+ function Fa(e) {
549
577
  if (!e) return [];
550
- const t = (r) => r.getPinned() === "left" ? 0 : r.getPinned() === "right" ? 2 : 1;
578
+ const t = (a) => a.getPinned() === "left" ? 0 : a.getPinned() === "right" ? 2 : 1;
551
579
  return [...e.getAllGridColumns() ?? []].sort(
552
- (r, i) => t(r) - t(i)
553
- ).map((r) => r.getColDef().hide === void 0 && r.getColId().startsWith("ag-Grid-") ? null : {
554
- colId: r.getColId(),
555
- displayName: e.getDisplayNameForColumn(r, null) || r.getColId(),
556
- visible: r.isVisible()
557
- }).filter((r) => r !== null);
580
+ (a, i) => t(a) - t(i)
581
+ ).map((a) => a.getColDef().hide === void 0 && a.getColId().startsWith("ag-Grid-") ? null : {
582
+ colId: a.getColId(),
583
+ displayName: e.getDisplayNameForColumn(a, null) || a.getColId(),
584
+ visible: a.isVisible()
585
+ }).filter((a) => a !== null);
558
586
  }
559
- const Me = U(
560
- function({ label: t, icon: n, footer: r, header: i, intent: s = "outline", ...f }, l) {
561
- const { t: m } = A("ui"), { getApi: g, markColumnsUserTouched: u } = Q(
587
+ const Le = $(
588
+ function({ label: t, icon: n, footer: a, header: i, intent: s = "outline", ...g }, l) {
589
+ const { t: m } = A("ui"), { getApi: f, markColumnsUserTouched: u } = Q(
562
590
  "DataTable.Toolbar.ColumnToggle"
563
- ), [b, v] = M(!1), [w, p] = M([]), [h, S] = M(null), [R, C] = M(null);
564
- $(() => {
565
- b && p(ya(g()));
566
- }, [b, g]);
567
- const D = F(
568
- (x, O) => {
569
- const L = g();
570
- L && (L.setColumnsVisible([x], O), u == null || u([x]), p(
571
- (k) => k.map(
572
- (N) => N.colId === x ? { ...N, visible: O } : N
591
+ ), [h, v] = L(!1), [w, p] = L([]), [T, S] = L(null), [R, C] = L(null);
592
+ B(() => {
593
+ h && p(Fa(f()));
594
+ }, [h, f]);
595
+ const D = G(
596
+ (x, k) => {
597
+ const V = f();
598
+ V && (V.setColumnsVisible([x], k), u == null || u([x]), p(
599
+ (I) => I.map(
600
+ (W) => W.colId === x ? { ...W, visible: k } : W
573
601
  )
574
602
  ));
575
603
  },
576
- [g, u]
577
- ), te = F(
578
- (x, O) => {
579
- if (x === O) return;
580
- const L = g();
581
- if (!L) return;
582
- p((E) => {
583
- const G = E.findIndex((Z) => Z.colId === x), ae = E.findIndex((Z) => Z.colId === O);
584
- if (G < 0 || ae < 0) return E;
585
- const Y = [...E], [Ce] = Y.splice(G, 1);
586
- return Y.splice(ae, 0, Ce), Y;
604
+ [f, u]
605
+ ), te = G(
606
+ (x, k) => {
607
+ if (x === k) return;
608
+ const V = f();
609
+ if (!V) return;
610
+ p((N) => {
611
+ const O = N.findIndex((le) => le.colId === x), E = N.findIndex((le) => le.colId === k);
612
+ if (O < 0 || E < 0) return N;
613
+ const X = [...N], [ie] = X.splice(O, 1);
614
+ return X.splice(E, 0, ie), X;
587
615
  });
588
- const k = L.getAllGridColumns(), N = k.find((E) => E.getColId() === x), j = k.find((E) => E.getColId() === O);
589
- if (!N || !j) return;
590
- N.getPinned() !== j.getPinned() && L.setColumnsPinned([x], j.getPinned() ?? null);
591
- const W = L.getAllGridColumns().findIndex((E) => E.getColId() === O);
592
- W >= 0 && L.moveColumns([x], W);
616
+ const I = V.getAllGridColumns(), W = I.find((N) => N.getColId() === x), M = I.find((N) => N.getColId() === k);
617
+ if (!W || !M) return;
618
+ W.getPinned() !== M.getPinned() && V.setColumnsPinned([x], M.getPinned() ?? null);
619
+ const U = V.getAllGridColumns().findIndex((N) => N.getColId() === k);
620
+ U >= 0 && V.moveColumns([x], U);
593
621
  },
594
- [g]
595
- ), V = t ?? m("dataTable.columnToggle");
596
- return /* @__PURE__ */ _(he.Root, { open: b, onOpenChange: v, children: [
597
- /* @__PURE__ */ d(he.Trigger, { asChild: !0, children: /* @__PURE__ */ d(
598
- ie,
622
+ [f]
623
+ ), Z = t ?? m("dataTable.columnToggle");
624
+ return /* @__PURE__ */ q(Te.Root, { open: h, onOpenChange: v, children: [
625
+ /* @__PURE__ */ d(Te.Trigger, { asChild: !0, children: /* @__PURE__ */ d(
626
+ oe,
599
627
  {
600
628
  ref: l,
601
629
  type: "button",
602
630
  intent: s,
603
- icon: n ?? /* @__PURE__ */ d(ia, { "aria-hidden": !0 }),
604
- tooltip: V,
605
- "aria-label": V,
631
+ icon: n ?? /* @__PURE__ */ d(ma, { "aria-hidden": !0 }),
632
+ tooltip: Z,
633
+ "aria-label": Z,
606
634
  "aria-haspopup": "dialog",
607
- ...f
635
+ ...g
608
636
  }
609
637
  ) }),
610
- /* @__PURE__ */ _(
611
- he.Content,
638
+ /* @__PURE__ */ q(
639
+ Te.Content,
612
640
  {
613
641
  size: "sm",
614
642
  align: "end",
615
643
  className: "ds:flex ds:max-h-[var(--radix-popover-content-available-height)] ds:flex-col",
616
644
  children: [
617
- /* @__PURE__ */ d(he.Heading, { children: V }),
645
+ /* @__PURE__ */ d(Te.Heading, { children: Z }),
618
646
  i ? /* @__PURE__ */ d("div", { className: "ds:mb-[var(--spacing-xs)] ds:border-b ds:border-[color:var(--border)] ds:pb-[var(--spacing-sm)]", children: i }) : null,
619
647
  /* @__PURE__ */ d(
620
648
  "ul",
621
649
  {
622
650
  className: "ds:flex ds:min-h-0 ds:flex-col ds:gap-[var(--spacing-xs)] ds:overflow-y-auto",
623
- "aria-label": V,
651
+ "aria-label": Z,
624
652
  children: w.map((x) => {
625
- const O = h === x.colId, L = R === x.colId && h !== x.colId;
626
- return /* @__PURE__ */ _(
653
+ const k = T === x.colId, V = R === x.colId && T !== x.colId;
654
+ return /* @__PURE__ */ q(
627
655
  "li",
628
656
  {
629
657
  draggable: !0,
630
- onDragStart: (k) => {
631
- S(x.colId), k.dataTransfer.effectAllowed = "move", k.dataTransfer.setData("text/plain", x.colId);
658
+ onDragStart: (I) => {
659
+ S(x.colId), I.dataTransfer.effectAllowed = "move", I.dataTransfer.setData("text/plain", x.colId);
632
660
  },
633
- onDragOver: (k) => {
634
- k.preventDefault(), k.dataTransfer.dropEffect = "move", C(x.colId);
661
+ onDragOver: (I) => {
662
+ I.preventDefault(), I.dataTransfer.dropEffect = "move", C(x.colId);
635
663
  },
636
664
  onDragLeave: () => {
637
665
  C(
638
- (k) => k === x.colId ? null : k
666
+ (I) => I === x.colId ? null : I
639
667
  );
640
668
  },
641
- onDrop: (k) => {
642
- k.preventDefault();
643
- const N = k.dataTransfer.getData("text/plain");
644
- N && te(N, x.colId), S(null), C(null);
669
+ onDrop: (I) => {
670
+ I.preventDefault();
671
+ const W = I.dataTransfer.getData("text/plain");
672
+ W && te(W, x.colId), S(null), C(null);
645
673
  },
646
674
  onDragEnd: () => {
647
675
  S(null), C(null);
648
676
  },
649
677
  className: [
650
678
  "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-xs)] ds:py-[var(--spacing-2xs,var(--spacing-xs))] ds:transition-colors",
651
- O ? "ds:opacity-50" : "",
652
- L ? "ds:bg-[color:color-mix(in_srgb,var(--primary)_8%,transparent)]" : ""
679
+ k ? "ds:opacity-50" : "",
680
+ V ? "ds:bg-[color:color-mix(in_srgb,var(--primary)_8%,transparent)]" : ""
653
681
  ].filter(Boolean).join(" "),
654
682
  children: [
655
683
  /* @__PURE__ */ d(
@@ -657,15 +685,15 @@ const Me = U(
657
685
  {
658
686
  "aria-hidden": "true",
659
687
  className: "ds:cursor-grab ds:text-[color:var(--muted-foreground)] ds:active:cursor-grabbing",
660
- children: /* @__PURE__ */ d(Xt, { className: "ds:size-4" })
688
+ children: /* @__PURE__ */ d(ra, { className: "ds:size-4" })
661
689
  }
662
690
  ),
663
691
  /* @__PURE__ */ d(
664
- Ut,
692
+ Jt,
665
693
  {
666
694
  label: x.displayName,
667
695
  checked: x.visible,
668
- onCheckedChange: (k) => D(x.colId, k === !0)
696
+ onCheckedChange: (I) => D(x.colId, I === !0)
669
697
  }
670
698
  )
671
699
  ]
@@ -675,29 +703,29 @@ const Me = U(
675
703
  })
676
704
  }
677
705
  ),
678
- r ? /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-xs)] ds:border-t ds:border-[color:var(--border)] ds:pt-[var(--spacing-sm)]", children: r }) : null
706
+ a ? /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-xs)] ds:border-t ds:border-[color:var(--border)] ds:pt-[var(--spacing-sm)]", children: a }) : null
679
707
  ]
680
708
  }
681
709
  )
682
710
  ] });
683
711
  }
684
712
  );
685
- Me.displayName = "DataTable.Toolbar.ColumnToggle";
686
- const rt = U(
687
- ({ label: e, icon: t, onClick: n, variant: r = "default", size: i = "sm", ...s }, f) => {
688
- const { t: l } = A("ui"), { getApi: m, selectionCount: g } = Q(
713
+ Le.displayName = "DataTable.Toolbar.ColumnToggle";
714
+ const st = $(
715
+ ({ label: e, icon: t, onClick: n, variant: a = "default", size: i = "sm", ...s }, g) => {
716
+ const { t: l } = A("ui"), { getApi: m, selectionCount: f } = Q(
689
717
  "DataTable.Toolbar.BulkAction"
690
718
  );
691
- return g === 0 ? null : /* @__PURE__ */ _(
692
- de,
719
+ return f === 0 ? null : /* @__PURE__ */ q(
720
+ ce,
693
721
  {
694
- ref: f,
722
+ ref: g,
695
723
  type: "button",
696
- intent: r === "destructive" ? "destructive" : "secondary",
724
+ intent: a === "destructive" ? "destructive" : "secondary",
697
725
  size: i,
698
- startIcon: ca(t),
726
+ startIcon: xa(t),
699
727
  onClick: () => n(m()),
700
- "aria-label": `${e} (${l("dataTable.bulkAction", { count: g })})`,
728
+ "aria-label": `${e} (${l("dataTable.bulkAction", { count: f })})`,
701
729
  ...s,
702
730
  children: [
703
731
  /* @__PURE__ */ d("span", { children: e }),
@@ -706,7 +734,7 @@ const rt = U(
706
734
  {
707
735
  "aria-hidden": "true",
708
736
  className: "ds:ms-[var(--spacing-xs)] ds:opacity-80",
709
- children: l("dataTable.bulkAction", { count: g })
737
+ children: l("dataTable.bulkAction", { count: f })
710
738
  }
711
739
  )
712
740
  ]
@@ -714,77 +742,77 @@ const rt = U(
714
742
  );
715
743
  }
716
744
  );
717
- rt.displayName = "DataTable.Toolbar.BulkAction";
745
+ st.displayName = "DataTable.Toolbar.BulkAction";
718
746
  for (const e of [
719
- Ee,
720
- Ie,
721
747
  Ne,
722
748
  ke,
723
749
  Pe,
724
- Me
750
+ Ae,
751
+ Me,
752
+ Le
725
753
  ])
726
754
  e.rendersIconButton = !0;
727
- const xa = Object.assign(Pe, {
728
- Item: Ae
729
- }), xe = Object.assign(Qe, {
730
- FilterBar: Xe,
731
- Actions: Ye,
755
+ const Ia = Object.assign(Me, {
756
+ Item: Oe
757
+ }), we = Object.assign(et, {
758
+ FilterBar: tt,
759
+ Actions: at,
732
760
  /** @deprecated Use `Toolbar.ExportMenu` with a `csv` item. */
733
- ExportCsv: Ee,
761
+ ExportCsv: Ne,
734
762
  /** @deprecated Use `Toolbar.ExportMenu` with a `pdf` item. */
735
- ExportPdf: Ie,
736
- Print: Ne,
737
- ColumnToggle: Me,
738
- BulkAction: rt,
739
- QuickSearch: Je,
740
- Refresh: ke,
741
- FilterChips: et,
742
- FacetFilter: tt,
743
- ExportMenu: xa
744
- }), wa = [
763
+ ExportPdf: ke,
764
+ Print: Pe,
765
+ ColumnToggle: Le,
766
+ BulkAction: st,
767
+ QuickSearch: nt,
768
+ Refresh: Ae,
769
+ FilterChips: ot,
770
+ FacetFilter: it,
771
+ ExportMenu: Ia
772
+ }), Na = [
745
773
  "contains",
746
774
  "equals",
747
775
  "startsWith",
748
776
  "endsWith",
749
777
  "notContains"
750
778
  ];
751
- function Ca(e) {
779
+ function ka(e) {
752
780
  const t = new Intl.Collator(e, {
753
781
  sensitivity: "base",
754
782
  usage: "search"
755
783
  });
756
- function n(r, i) {
784
+ function n(a, i) {
757
785
  if (i.length === 0) return 0;
758
- if (i.length > r.length) return -1;
759
- for (let s = 0; s <= r.length - i.length; s += 1)
760
- if (t.compare(r.slice(s, s + i.length), i) === 0)
786
+ if (i.length > a.length) return -1;
787
+ for (let s = 0; s <= a.length - i.length; s += 1)
788
+ if (t.compare(a.slice(s, s + i.length), i) === 0)
761
789
  return s;
762
790
  return -1;
763
791
  }
764
792
  return {
765
- equals: (r, i) => t.compare(r, i) === 0,
766
- contains: (r, i) => n(r, i) !== -1,
767
- startsWith: (r, i) => i.length <= r.length && t.compare(r.slice(0, i.length), i) === 0,
768
- endsWith: (r, i) => i.length <= r.length && t.compare(
769
- r.slice(r.length - i.length),
793
+ equals: (a, i) => t.compare(a, i) === 0,
794
+ contains: (a, i) => n(a, i) !== -1,
795
+ startsWith: (a, i) => i.length <= a.length && t.compare(a.slice(0, i.length), i) === 0,
796
+ endsWith: (a, i) => i.length <= a.length && t.compare(
797
+ a.slice(a.length - i.length),
770
798
  i
771
799
  ) === 0
772
800
  };
773
801
  }
774
- function va(e) {
802
+ function Pa(e) {
775
803
  return e == null ? null : typeof e == "string" ? e : String(e);
776
804
  }
777
- function Sa(e) {
778
- const { model: t, onModelChange: n, getValue: r, placeholder: i, defaultOperator: s } = e, { t: f } = A("ui"), l = (t == null ? void 0 : t.type) ?? s ?? "contains", [m, g] = M(l), [u, b] = M((t == null ? void 0 : t.filter) ?? "");
779
- $(() => {
780
- g((t == null ? void 0 : t.type) ?? s ?? "contains"), b((t == null ? void 0 : t.filter) ?? "");
805
+ function Aa(e) {
806
+ const { model: t, onModelChange: n, getValue: a, placeholder: i, defaultOperator: s } = e, { t: g } = A("ui"), l = (t == null ? void 0 : t.type) ?? s ?? "contains", [m, f] = L(l), [u, h] = L((t == null ? void 0 : t.filter) ?? "");
807
+ B(() => {
808
+ f((t == null ? void 0 : t.type) ?? s ?? "contains"), h((t == null ? void 0 : t.filter) ?? "");
781
809
  }, [t, s]);
782
- const v = z(() => Ca(Jt.language), []);
783
- _t({
810
+ const v = z(() => ka(ia.language), []);
811
+ Ht({
784
812
  doesFilterPass: (R) => {
785
813
  const C = t;
786
814
  if (!C || C.filter === "") return !0;
787
- const D = va(r(R.node));
815
+ const D = Pa(a(R.node));
788
816
  if (D === null) return !1;
789
817
  switch (C.type) {
790
818
  case "equals":
@@ -810,82 +838,82 @@ function Sa(e) {
810
838
  n({ type: m, filter: u });
811
839
  }
812
840
  function p() {
813
- b(""), g(s ?? "contains"), n(null);
841
+ h(""), f(s ?? "contains"), n(null);
814
842
  }
815
- const h = wa.map(
843
+ const T = Na.map(
816
844
  (R) => ({
817
845
  value: R,
818
- label: f(`dataTable.textFilter.operators.${R}`)
846
+ label: g(`dataTable.textFilter.operators.${R}`)
819
847
  })
820
- ), S = i ?? f("dataTable.textFilter.placeholder");
821
- return /* @__PURE__ */ _(
848
+ ), S = i ?? g("dataTable.textFilter.placeholder");
849
+ return /* @__PURE__ */ q(
822
850
  "div",
823
851
  {
824
852
  "data-component": "text-filter",
825
853
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
826
854
  children: [
827
855
  /* @__PURE__ */ d(
828
- ea,
856
+ la,
829
857
  {
830
858
  size: "sm",
831
- options: h,
859
+ options: T,
832
860
  value: m,
833
861
  onValueChange: (R) => {
834
- R !== "" && g(R);
862
+ R !== "" && f(R);
835
863
  },
836
- "aria-label": f("dataTable.textFilter.operators.contains")
864
+ "aria-label": g("dataTable.textFilter.operators.contains")
837
865
  }
838
866
  ),
839
867
  /* @__PURE__ */ d(
840
- Ke,
868
+ Ye,
841
869
  {
842
870
  size: "sm",
843
871
  value: u,
844
- onChange: (R) => b(R.target.value),
872
+ onChange: (R) => h(R.target.value),
845
873
  onKeyDown: (R) => {
846
874
  R.key === "Enter" && (R.preventDefault(), w());
847
875
  },
848
876
  placeholder: S,
849
877
  "aria-label": S,
850
- startAdornment: /* @__PURE__ */ d(Fe, { "aria-hidden": "true", className: "ds:size-4" })
878
+ startAdornment: /* @__PURE__ */ d(Ie, { "aria-hidden": "true", className: "ds:size-4" })
851
879
  }
852
880
  ),
853
- /* @__PURE__ */ _("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
854
- /* @__PURE__ */ d(de, { intent: "ghost", size: "sm", onClick: p, type: "button", children: f("dataTable.textFilter.clear") }),
855
- /* @__PURE__ */ d(de, { intent: "primary", size: "sm", onClick: w, type: "button", children: f("dataTable.textFilter.apply") })
881
+ /* @__PURE__ */ q("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
882
+ /* @__PURE__ */ d(ce, { intent: "ghost", size: "sm", onClick: p, type: "button", children: g("dataTable.textFilter.clear") }),
883
+ /* @__PURE__ */ d(ce, { intent: "primary", size: "sm", onClick: w, type: "button", children: g("dataTable.textFilter.apply") })
856
884
  ] })
857
885
  ]
858
886
  }
859
887
  );
860
888
  }
861
- function Ra(e) {
862
- var b, v;
863
- const { model: t, onModelChange: n, column: r } = e, { t: i } = A("ui"), s = ((v = (b = r == null ? void 0 : r.getColDef) == null ? void 0 : b.call(r)) == null ? void 0 : v.filterParams) ?? {}, f = s.defaultOperator ?? "contains", l = s.placeholder ?? i("dataTable.textFilter.placeholder"), [m, g] = M((t == null ? void 0 : t.filter) ?? "");
864
- $(() => {
865
- g((t == null ? void 0 : t.filter) ?? "");
866
- }, [t == null ? void 0 : t.filter]), $(() => {
889
+ function Ma(e) {
890
+ var h, v;
891
+ const { model: t, onModelChange: n, column: a } = e, { t: i } = A("ui"), s = ((v = (h = a == null ? void 0 : a.getColDef) == null ? void 0 : h.call(a)) == null ? void 0 : v.filterParams) ?? {}, g = s.defaultOperator ?? "contains", l = s.placeholder ?? i("dataTable.textFilter.placeholder"), [m, f] = L((t == null ? void 0 : t.filter) ?? "");
892
+ B(() => {
893
+ f((t == null ? void 0 : t.filter) ?? "");
894
+ }, [t == null ? void 0 : t.filter]), B(() => {
867
895
  if (m === ((t == null ? void 0 : t.filter) ?? "")) return;
868
896
  const w = setTimeout(() => {
869
897
  if (m === "") {
870
898
  t && n(null);
871
899
  return;
872
900
  }
873
- n({ type: f, filter: m });
901
+ n({ type: g, filter: m });
874
902
  }, 200);
875
903
  return () => clearTimeout(w);
876
- }, [m, f, t, n]);
904
+ }, [m, g, t, n]);
877
905
  function u() {
878
- g(""), t && n(null);
906
+ f(""), t && n(null);
879
907
  }
880
908
  return /* @__PURE__ */ d("div", { "data-component": "text-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ d(
881
- Ke,
909
+ Ye,
882
910
  {
883
911
  size: "sm",
884
912
  value: m,
885
- onChange: (w) => g(w.target.value),
913
+ onChange: (w) => f(w.target.value),
886
914
  placeholder: l,
887
915
  "aria-label": l,
888
- startAdornment: /* @__PURE__ */ d(Fe, { "aria-hidden": "true", className: "ds:size-4" }),
916
+ startAdornment: /* @__PURE__ */ d(Ie, { "aria-hidden": "true", className: "ds:size-4" }),
889
917
  endAdornment: m.length > 0 ? /* @__PURE__ */ d(
890
918
  "button",
891
919
  {
@@ -893,34 +921,34 @@ function Ra(e) {
893
921
  "aria-label": i("dataTable.textFilter.clear"),
894
922
  onClick: u,
895
923
  className: "ds:pointer-events-auto ds:flex ds:items-center ds:text-[var(--muted-foreground)] ds:hover:text-[var(--foreground)] ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
896
- children: /* @__PURE__ */ d($e, { "aria-hidden": "true", className: "ds:size-4" })
924
+ children: /* @__PURE__ */ d(Qe, { "aria-hidden": "true", className: "ds:size-4" })
897
925
  }
898
926
  ) : void 0
899
927
  }
900
928
  ) });
901
929
  }
902
- const Da = /* @__PURE__ */ new Set(["presentation", "none"]), Be = '[role="presentation"][aria-hidden], [role="none"][aria-hidden]';
903
- function Te(e) {
930
+ const Oa = /* @__PURE__ */ new Set(["presentation", "none"]), Ke = '[role="presentation"][aria-hidden], [role="none"][aria-hidden]';
931
+ function ye(e) {
904
932
  const t = e.getAttribute("role");
905
- t === null || !Da.has(t) || e.getAttribute("aria-hidden") === "false" && e.removeAttribute("aria-hidden");
933
+ t === null || !Oa.has(t) || e.getAttribute("aria-hidden") === "false" && e.removeAttribute("aria-hidden");
906
934
  }
907
- function Ga(e, t = !0) {
908
- $(() => {
935
+ function La(e, t = !0) {
936
+ B(() => {
909
937
  const n = e.current;
910
938
  if (!t || !n || typeof MutationObserver > "u") return;
911
939
  (() => {
912
- for (const s of n.querySelectorAll(Be)) Te(s);
940
+ for (const s of n.querySelectorAll(Ke)) ye(s);
913
941
  })();
914
942
  const i = new MutationObserver((s) => {
915
- for (const f of s)
916
- if (f.type === "attributes")
917
- Te(f.target);
943
+ for (const g of s)
944
+ if (g.type === "attributes")
945
+ ye(g.target);
918
946
  else
919
- for (const l of f.addedNodes)
947
+ for (const l of g.addedNodes)
920
948
  if (l instanceof Element) {
921
- Te(l);
922
- for (const m of l.querySelectorAll(Be))
923
- Te(m);
949
+ ye(l);
950
+ for (const m of l.querySelectorAll(Ke))
951
+ ye(m);
924
952
  }
925
953
  });
926
954
  return i.observe(n, {
@@ -931,70 +959,70 @@ function Ga(e, t = !0) {
931
959
  }), () => i.disconnect();
932
960
  }, [e, t]);
933
961
  }
934
- const oe = "__dsDetailOf", Fa = "ds-data-table-expanded-row", nt = "::detail", Ea = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';
935
- function B(e) {
936
- return typeof e == "object" && e !== null && typeof e[oe] == "string";
962
+ const ne = "__dsDetailOf", Va = "ds-data-table-expanded-row", dt = "::detail", za = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';
963
+ function j(e) {
964
+ return typeof e == "object" && e !== null && typeof e[ne] == "string";
937
965
  }
938
- function Ia(e) {
939
- return `${e}${nt}`;
966
+ function _a(e) {
967
+ return `${e}${dt}`;
940
968
  }
941
- function Sr(e) {
942
- return e.endsWith(nt);
969
+ function Mr(e) {
970
+ return e.endsWith(dt);
943
971
  }
944
- function Na(e, t) {
945
- return { ...e, [oe]: t };
972
+ function qa(e, t) {
973
+ return { ...e, [ne]: t };
946
974
  }
947
- const ot = De(
975
+ const ct = Ge(
948
976
  null
949
977
  );
950
- function ka(e) {
978
+ function Wa(e) {
951
979
  var p;
952
- const t = Ge(
953
- ot
954
- ), { t: n } = A("ui"), r = q(null), { data: i, node: s, api: f } = e, l = B(i), m = t == null ? void 0 : t.heights, g = s.id, u = q(t);
955
- if (u.current = t, $(() => {
956
- const h = r.current;
957
- if (!h || !l || !m || g == null) return;
958
- let S = m.get(g) ?? 0;
980
+ const t = Fe(
981
+ ct
982
+ ), { t: n } = A("ui"), a = _(null), { data: i, node: s, api: g } = e, l = j(i), m = t == null ? void 0 : t.heights, f = s.id, u = _(t);
983
+ if (u.current = t, B(() => {
984
+ const T = a.current;
985
+ if (!T || !l || !m || f == null) return;
986
+ let S = m.get(f) ?? 0;
959
987
  const R = () => {
960
- const D = Math.ceil(h.getBoundingClientRect().height);
961
- D <= 0 || D === S || (S = D, m.set(g, D), s.setRowHeight(D), f.onRowHeightChanged());
988
+ const D = Math.ceil(T.getBoundingClientRect().height);
989
+ D <= 0 || D === S || (S = D, m.set(f, D), s.setRowHeight(D), g.onRowHeightChanged());
962
990
  };
963
991
  R();
964
992
  const C = new ResizeObserver(R);
965
- return C.observe(h), () => C.disconnect();
966
- }, [f, g, m, l, s]), $(() => {
967
- const h = r.current, S = h == null ? void 0 : h.parentElement;
968
- if (!h || !S || !l) return;
993
+ return C.observe(T), () => C.disconnect();
994
+ }, [g, f, m, l, s]), B(() => {
995
+ const T = a.current, S = T == null ? void 0 : T.parentElement;
996
+ if (!T || !S || !l) return;
969
997
  const R = (C) => {
970
998
  var D, te;
971
- C.target !== S || C.defaultPrevented || (C.key === "Escape" ? (C.stopPropagation(), (te = (D = u.current) == null ? void 0 : D.onExpandedRowChange) == null || te.call(D, null)) : C.key === "Enter" && (C.preventDefault(), (h.querySelector(Ea) ?? h).focus()));
999
+ C.target !== S || C.defaultPrevented || (C.key === "Escape" ? (C.stopPropagation(), (te = (D = u.current) == null ? void 0 : D.onExpandedRowChange) == null || te.call(D, null)) : C.key === "Enter" && (C.preventDefault(), (T.querySelector(za) ?? T).focus()));
972
1000
  };
973
1001
  return S.addEventListener("keydown", R), () => S.removeEventListener("keydown", R);
974
1002
  }, [l]), !l) {
975
- const h = t == null ? void 0 : t.fallbackRenderer;
976
- return h ? /* @__PURE__ */ d(h, { ...e }) : null;
1003
+ const T = t == null ? void 0 : t.fallbackRenderer;
1004
+ return T ? /* @__PURE__ */ d(T, { ...e }) : null;
977
1005
  }
978
- const b = i[oe];
1006
+ const h = i[ne];
979
1007
  let v;
980
- if (t != null && t.expanded && t.expanded.id === b)
1008
+ if (t != null && t.expanded && t.expanded.id === h)
981
1009
  v = t.expanded.row;
982
1010
  else {
983
- const { [oe]: h, ...S } = i;
1011
+ const { [ne]: T, ...S } = i;
984
1012
  v = S;
985
1013
  }
986
- return /* @__PURE__ */ _(
1014
+ return /* @__PURE__ */ q(
987
1015
  "div",
988
1016
  {
989
- ref: r,
1017
+ ref: a,
990
1018
  role: "gridcell",
991
1019
  tabIndex: -1,
992
1020
  "data-component": "data-table-expanded-row",
993
- "data-expanded-row-of": b,
1021
+ "data-expanded-row-of": h,
994
1022
  className: "ds-data-table-expanded-row-surface",
995
- onKeyDown: (h) => {
1023
+ onKeyDown: (T) => {
996
1024
  var S;
997
- h.key !== "Escape" || h.defaultPrevented || (h.stopPropagation(), (S = t == null ? void 0 : t.onExpandedRowChange) == null || S.call(t, null));
1025
+ T.key !== "Escape" || T.defaultPrevented || (T.stopPropagation(), (S = t == null ? void 0 : t.onExpandedRowChange) == null || S.call(t, null));
998
1026
  },
999
1027
  children: [
1000
1028
  /* @__PURE__ */ d("span", { className: "ds:sr-only", children: n("dataTable.expandedRow") }),
@@ -1003,7 +1031,7 @@ function ka(e) {
1003
1031
  }
1004
1032
  );
1005
1033
  }
1006
- const Pa = {
1034
+ const ja = {
1007
1035
  id: "data-table",
1008
1036
  capabilities: [
1009
1037
  "select_single",
@@ -1201,12 +1229,12 @@ const Pa = {
1201
1229
  }
1202
1230
  }
1203
1231
  };
1204
- function Aa(e, t, n) {
1205
- const r = na(t), i = new Intl.DateTimeFormat(r, {
1232
+ function Ba(e, t, n) {
1233
+ const a = ua(t), i = new Intl.DateTimeFormat(a, {
1206
1234
  calendar: "gregory",
1207
1235
  month: "long",
1208
1236
  timeZone: "UTC"
1209
- }), s = new Intl.NumberFormat(r).formatToParts(1000.1), f = {
1237
+ }), s = new Intl.NumberFormat(a).formatToParts(1000.1), g = {
1210
1238
  ariaIndeterminate: () => e("dataTable.agGrid.ariaIndeterminate"),
1211
1239
  ariaChecked: () => e("dataTable.agGrid.ariaChecked"),
1212
1240
  ariaUnchecked: () => e("dataTable.agGrid.ariaUnchecked"),
@@ -1362,19 +1390,19 @@ function Aa(e, t, n) {
1362
1390
  ariaRowDeselect: () => e("dataTable.agGrid.ariaRowDeselect"),
1363
1391
  ariaRowSelect: () => e("dataTable.agGrid.ariaRowSelect")
1364
1392
  };
1365
- return ({ key: l, defaultValue: m, variableValues: g = [] }) => {
1393
+ return ({ key: l, defaultValue: m, variableValues: f = [] }) => {
1366
1394
  if (n && Object.hasOwn(n, l)) {
1367
1395
  let u = 0;
1368
1396
  return n[l].replace(
1369
1397
  /\$\{variable\}/g,
1370
- (b) => g[u++] ?? b
1398
+ (h) => f[u++] ?? h
1371
1399
  );
1372
1400
  }
1373
- return Object.hasOwn(f, l) ? f[l](g) : m;
1401
+ return Object.hasOwn(g, l) ? g[l](f) : m;
1374
1402
  };
1375
1403
  }
1376
- Wt.registerModules([Bt]);
1377
- const Ma = qt("ag-theme-alfadocs ds:w-full", {
1404
+ Qt.registerModules([Xt]);
1405
+ const $a = Ut("ag-theme-alfadocs ds:w-full", {
1378
1406
  variants: {
1379
1407
  density: {
1380
1408
  default: "",
@@ -1391,7 +1419,7 @@ const Ma = qt("ag-theme-alfadocs ds:w-full", {
1391
1419
  bordered: !0
1392
1420
  }
1393
1421
  });
1394
- function Oa() {
1422
+ function Ua() {
1395
1423
  return /* @__PURE__ */ d(
1396
1424
  "div",
1397
1425
  {
@@ -1399,7 +1427,7 @@ function Oa() {
1399
1427
  "aria-live": "polite",
1400
1428
  className: "ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]",
1401
1429
  children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ d(
1402
- Vt,
1430
+ Bt,
1403
1431
  {
1404
1432
  variant: "rectangular",
1405
1433
  className: "ds:h-[var(--min-target-size)] ds:w-full"
@@ -1409,10 +1437,10 @@ function Oa() {
1409
1437
  }
1410
1438
  );
1411
1439
  }
1412
- function La() {
1440
+ function Ha() {
1413
1441
  const { t: e } = A("ui");
1414
1442
  return /* @__PURE__ */ d(
1415
- zt,
1443
+ $t,
1416
1444
  {
1417
1445
  variant: "no-results",
1418
1446
  size: "sm",
@@ -1421,39 +1449,39 @@ function La() {
1421
1449
  }
1422
1450
  );
1423
1451
  }
1424
- function Va(e) {
1452
+ function Ka(e) {
1425
1453
  return e.map(({ pinned: t, ...n }) => n);
1426
1454
  }
1427
- function za(e) {
1428
- return e.map(({ hide: t, pinned: n, ...r }) => r);
1455
+ function Qa(e) {
1456
+ return e.map(({ hide: t, pinned: n, ...a }) => a);
1429
1457
  }
1430
- function qa(e, t) {
1458
+ function Xa(e, t) {
1431
1459
  try {
1432
1460
  const n = localStorage.getItem(`data-table-col-state:${e}`);
1433
1461
  if (!n) return null;
1434
- const r = JSON.parse(n);
1435
- if (Array.isArray(r))
1462
+ const a = JSON.parse(n);
1463
+ if (Array.isArray(a))
1436
1464
  return {
1437
- state: za(r),
1465
+ state: Qa(a),
1438
1466
  touched: []
1439
1467
  };
1440
- if (typeof r != "object" || r === null) return null;
1441
- const i = r;
1468
+ if (typeof a != "object" || a === null) return null;
1469
+ const i = a;
1442
1470
  return i.v !== 2 || !Array.isArray(i.state) ? null : {
1443
- state: i.dir === t ? i.state : Va(i.state),
1471
+ state: i.dir === t ? i.state : Ka(i.state),
1444
1472
  touched: Array.isArray(i.touched) ? i.touched.filter((s) => typeof s == "string") : []
1445
1473
  };
1446
1474
  } catch {
1447
1475
  return null;
1448
1476
  }
1449
1477
  }
1450
- function _a(e, t, n, r) {
1478
+ function Ya(e, t, n, a) {
1451
1479
  try {
1452
1480
  const i = {
1453
1481
  v: 2,
1454
1482
  dir: n,
1455
1483
  state: t.getColumnState(),
1456
- touched: [...r]
1484
+ touched: [...a]
1457
1485
  };
1458
1486
  localStorage.setItem(
1459
1487
  `data-table-col-state:${e}`,
@@ -1462,7 +1490,7 @@ function _a(e, t, n, r) {
1462
1490
  } catch {
1463
1491
  }
1464
1492
  }
1465
- const ja = /* @__PURE__ */ new Set([
1493
+ const Za = /* @__PURE__ */ new Set([
1466
1494
  "api",
1467
1495
  "flex",
1468
1496
  "gridInitializing",
@@ -1470,429 +1498,447 @@ const ja = /* @__PURE__ */ new Set([
1470
1498
  "autosizeColumns",
1471
1499
  "sizeColumnsToFit"
1472
1500
  ]);
1473
- function Wa(e, t) {
1501
+ function Ja(e, t) {
1474
1502
  const {
1475
1503
  columnDefs: n,
1476
- rowData: r,
1504
+ rowData: a,
1477
1505
  rowSelection: i,
1478
1506
  pagination: s = !1,
1479
- paginationPageSize: f = 25,
1507
+ paginationPageSize: g = 25,
1480
1508
  paginationPageSizeSelector: l = [10, 25, 50, 100],
1481
1509
  gridId: m,
1482
- onSelectionChanged: g,
1510
+ onSelectionChanged: f,
1483
1511
  onSortChanged: u,
1484
- onFilterChanged: b,
1512
+ onFilterChanged: h,
1485
1513
  noRowsOverlay: v,
1486
1514
  loadingOverlay: w,
1487
1515
  gridOptions: p,
1488
- density: h,
1516
+ density: T,
1489
1517
  bordered: S,
1490
1518
  heightClass: R = "ds:h-[500px]",
1491
1519
  className: C,
1492
1520
  getRowClass: D,
1493
1521
  pinnedBottomRowData: te,
1494
- printMode: V = !1,
1495
- expandedRowId: x,
1496
- renderExpandedRow: O,
1497
- onExpandedRowChange: L,
1498
- children: k
1499
- } = e, N = x !== void 0 || O !== void 0, j = p == null ? void 0 : p.getRowId;
1500
- if (N && !j)
1522
+ hidePinnedWhenEmpty: Z = !1,
1523
+ printMode: x = !1,
1524
+ expandedRowId: k,
1525
+ renderExpandedRow: V,
1526
+ onExpandedRowChange: I,
1527
+ children: W
1528
+ } = e, M = k !== void 0 || V !== void 0, U = p == null ? void 0 : p.getRowId;
1529
+ if (M && !U)
1501
1530
  throw new Error(
1502
1531
  "DataTable: `expandedRowId` / `renderExpandedRow` require `gridOptions.getRowId` — the expanded row is addressed by row id, not by index."
1503
1532
  );
1504
- const { t: W, i18n: E } = A("ui"), G = q(null), ae = q(null);
1505
- Ga(ae);
1506
- const [Y, Ce] = M(0), [Z, ve] = M(""), ce = q(void 0), lt = z(
1507
- () => Aa(W, E.language, p == null ? void 0 : p.localeText),
1508
- [W, E.language, p == null ? void 0 : p.localeText]
1509
- ), [ue, st] = M(E.language);
1510
- $(() => {
1511
- if (ue === E.language) return;
1512
- const a = window.setTimeout(() => {
1513
- var T, y;
1514
- const o = (T = G.current) == null ? void 0 : T.api;
1533
+ const { t: N, i18n: O } = A("ui"), E = _(null), X = _(null);
1534
+ La(X);
1535
+ const [ie, le] = L(0), [ve, Se] = L(""), ue = _(void 0), pt = z(
1536
+ () => Ba(N, O.language, p == null ? void 0 : p.localeText),
1537
+ [N, O.language, p == null ? void 0 : p.localeText]
1538
+ ), [pe, mt] = L(O.language);
1539
+ B(() => {
1540
+ if (pe === O.language) return;
1541
+ const r = window.setTimeout(() => {
1542
+ var b, y;
1543
+ const o = (b = E.current) == null ? void 0 : b.api;
1515
1544
  o == null || o.stopEditing();
1516
1545
  const c = o == null ? void 0 : o.getState();
1517
1546
  if (c) {
1518
- const { focusedCell: I, columnPinning: P, ...X } = c, H = ((y = ae.current) == null ? void 0 : y.contains(document.activeElement)) ?? !1, be = E.dir(ue) === E.dir(E.language);
1519
- ce.current = {
1520
- ...X,
1521
- ...H ? { focusedCell: I } : {},
1522
- ...be ? { columnPinning: P } : {}
1547
+ const { focusedCell: F, columnPinning: P, ...Y } = c, K = ((y = X.current) == null ? void 0 : y.contains(document.activeElement)) ?? !1, he = O.dir(pe) === O.dir(O.language);
1548
+ ue.current = {
1549
+ ...Y,
1550
+ ...K ? { focusedCell: F } : {},
1551
+ ...he ? { columnPinning: P } : {}
1523
1552
  };
1524
- } else ce.current = void 0;
1525
- st(E.language);
1553
+ } else ue.current = void 0;
1554
+ mt(O.language);
1526
1555
  }, 0);
1527
- return () => window.clearTimeout(a);
1528
- }, [ue, E, E.language]);
1529
- const Oe = q(x);
1530
- Oe.current = x;
1531
- const Se = z(
1556
+ return () => window.clearTimeout(r);
1557
+ }, [pe, O, O.language]);
1558
+ const Ve = _(k);
1559
+ Ve.current = k;
1560
+ const Re = z(
1532
1561
  () => ({
1533
1562
  getSelection: () => {
1534
1563
  var c;
1535
- const a = (c = G.current) == null ? void 0 : c.api;
1536
- if (!a) return [];
1564
+ const r = (c = E.current) == null ? void 0 : c.api;
1565
+ if (!r) return [];
1537
1566
  const o = [];
1538
- for (const T of a.getSelectedNodes())
1539
- T.id != null && !B(T.data) && o.push(T.id);
1567
+ for (const b of r.getSelectedNodes())
1568
+ b.id != null && !j(b.data) && o.push(b.id);
1540
1569
  return o;
1541
1570
  },
1542
- setSelection: (a) => {
1543
- var T;
1544
- const o = (T = G.current) == null ? void 0 : T.api;
1571
+ setSelection: (r) => {
1572
+ var b;
1573
+ const o = (b = E.current) == null ? void 0 : b.api;
1545
1574
  if (!o) return;
1546
- const c = new Set(a);
1575
+ const c = new Set(r);
1547
1576
  o.forEachNode((y) => {
1548
1577
  y.id != null && y.setSelected(c.has(y.id));
1549
1578
  });
1550
1579
  },
1551
- selectRange: (a, o) => {
1552
- var be;
1553
- const c = (be = G.current) == null ? void 0 : be.api;
1580
+ selectRange: (r, o) => {
1581
+ var he;
1582
+ const c = (he = E.current) == null ? void 0 : he.api;
1554
1583
  if (!c) return;
1555
- const T = [];
1584
+ const b = [];
1556
1585
  c.forEachNodeAfterFilterAndSort((ee) => {
1557
- ee.id != null && !B(ee.data) && T.push(ee.id);
1586
+ ee.id != null && !j(ee.data) && b.push(ee.id);
1558
1587
  });
1559
- const y = T.indexOf(a), I = T.indexOf(o);
1560
- if (y < 0 || I < 0) return;
1561
- const [P, X] = y <= I ? [y, I] : [I, y], H = new Set(T.slice(P, X + 1));
1588
+ const y = b.indexOf(r), F = b.indexOf(o);
1589
+ if (y < 0 || F < 0) return;
1590
+ const [P, Y] = y <= F ? [y, F] : [F, y], K = new Set(b.slice(P, Y + 1));
1562
1591
  c.forEachNode((ee) => {
1563
- ee.id != null && ee.setSelected(H.has(ee.id));
1592
+ ee.id != null && ee.setSelected(K.has(ee.id));
1564
1593
  });
1565
1594
  },
1566
1595
  clearSelection: () => {
1567
- var a, o;
1568
- (o = (a = G.current) == null ? void 0 : a.api) == null || o.deselectAll();
1596
+ var r, o;
1597
+ (o = (r = E.current) == null ? void 0 : r.api) == null || o.deselectAll();
1569
1598
  },
1570
1599
  getFilter: () => {
1571
- var a, o;
1572
- return ((o = (a = G.current) == null ? void 0 : a.api) == null ? void 0 : o.getFilterModel()) ?? {};
1600
+ var r, o;
1601
+ return ((o = (r = E.current) == null ? void 0 : r.api) == null ? void 0 : o.getFilterModel()) ?? {};
1573
1602
  },
1574
- setFilter: (a) => {
1603
+ setFilter: (r) => {
1575
1604
  var o, c;
1576
- (c = (o = G.current) == null ? void 0 : o.api) == null || c.setFilterModel(a);
1605
+ (c = (o = E.current) == null ? void 0 : o.api) == null || c.setFilterModel(r);
1577
1606
  },
1578
1607
  getSort: () => {
1579
1608
  var o;
1580
- const a = (o = G.current) == null ? void 0 : o.api;
1581
- return a ? a.getColumnState().filter((c) => c.sort === "asc" || c.sort === "desc").map((c) => ({ colId: c.colId, sort: c.sort })) : [];
1609
+ const r = (o = E.current) == null ? void 0 : o.api;
1610
+ return r ? r.getColumnState().filter((c) => c.sort === "asc" || c.sort === "desc").map((c) => ({ colId: c.colId, sort: c.sort })) : [];
1582
1611
  },
1583
- setSort: (a) => {
1584
- var T;
1585
- const o = (T = G.current) == null ? void 0 : T.api;
1612
+ setSort: (r) => {
1613
+ var b;
1614
+ const o = (b = E.current) == null ? void 0 : b.api;
1586
1615
  if (!o) return;
1587
1616
  const c = o.getColumnState().map((y) => {
1588
- const I = a.find((P) => P.colId === y.colId);
1589
- return { ...y, sort: I ? I.sort : null };
1617
+ const F = r.find((P) => P.colId === y.colId);
1618
+ return { ...y, sort: F ? F.sort : null };
1590
1619
  });
1591
1620
  o.applyColumnState({ state: c, defaultState: { sort: null } });
1592
1621
  },
1593
1622
  getCurrentPage: () => {
1594
- var a, o;
1595
- return ((o = (a = G.current) == null ? void 0 : a.api) == null ? void 0 : o.paginationGetCurrentPage()) ?? 0;
1623
+ var r, o;
1624
+ return ((o = (r = E.current) == null ? void 0 : r.api) == null ? void 0 : o.paginationGetCurrentPage()) ?? 0;
1596
1625
  },
1597
- goToPage: (a) => {
1626
+ goToPage: (r) => {
1598
1627
  var o, c;
1599
- (c = (o = G.current) == null ? void 0 : o.api) == null || c.paginationGoToPage(a);
1628
+ (c = (o = E.current) == null ? void 0 : o.api) == null || c.paginationGoToPage(r);
1600
1629
  },
1601
- getExpandedRowId: () => Oe.current ?? null,
1602
- getUserTouchedColumns: () => [...re.current],
1603
- markColumnsUserTouched: (a) => Le.current(a),
1630
+ getExpandedRowId: () => Ve.current ?? null,
1631
+ getUserTouchedColumns: () => [...ae.current],
1632
+ markColumnsUserTouched: (r) => ze.current(r),
1604
1633
  getRawApi: () => {
1605
- var a;
1606
- return (a = G.current) == null ? void 0 : a.api;
1634
+ var r;
1635
+ return (r = E.current) == null ? void 0 : r.api;
1607
1636
  }
1608
1637
  }),
1609
1638
  []
1610
- ), pe = q(/* @__PURE__ */ new Map()), re = q(/* @__PURE__ */ new Set()), Le = q(
1639
+ ), me = _(/* @__PURE__ */ new Map()), ae = _(/* @__PURE__ */ new Set()), ze = _(
1611
1640
  () => {
1612
1641
  }
1613
1642
  );
1614
- Lt(t, () => Se, [Se]), ta(Pa, Se, m);
1615
- const Ve = E.dir() === "rtl", dt = r === void 0, ct = aa(), { resolvedTheme: ze } = ra(), ut = (ze === "light-accessible" || ze === "dark-accessible") && h === "compact" ? "default" : h, pt = z(() => {
1643
+ jt(t, () => Re, [Re]), sa(ja, Re, m);
1644
+ const _e = O.dir() === "rtl", ft = a === void 0, gt = da(), { resolvedTheme: qe } = ca(), bt = (qe === "light-accessible" || qe === "dark-accessible") && T === "compact" ? "default" : T, ht = z(() => {
1616
1645
  if (!i) return;
1617
- const a = (o) => !B(o.data);
1646
+ const r = (o) => !j(o.data);
1618
1647
  return i === "single" ? {
1619
1648
  mode: "singleRow",
1620
1649
  enableClickSelection: !1,
1621
- isRowSelectable: a
1650
+ isRowSelectable: r
1622
1651
  } : {
1623
1652
  mode: "multiRow",
1624
1653
  headerCheckbox: !0,
1625
1654
  checkboxes: !0,
1626
1655
  enableClickSelection: !1,
1627
- isRowSelectable: a
1656
+ isRowSelectable: r
1628
1657
  };
1629
- }, [i]), me = Ve ? "rtl" : "ltr", K = F(
1630
- (a, o, c) => {
1631
- const T = new Set(o);
1632
- for (const y of a.getColumnState()) {
1633
- if (!T.has(y.colId)) continue;
1634
- const I = pe.current.get(y.colId) ?? {};
1635
- for (const P of c) I[P] = y[P];
1636
- pe.current.set(y.colId, I);
1658
+ }, [i]), fe = _e ? "rtl" : "ltr", H = G(
1659
+ (r, o, c) => {
1660
+ const b = new Set(o);
1661
+ for (const y of r.getColumnState()) {
1662
+ if (!b.has(y.colId)) continue;
1663
+ const F = me.current.get(y.colId) ?? {};
1664
+ for (const P of c) F[P] = y[P];
1665
+ me.current.set(y.colId, F);
1637
1666
  }
1638
1667
  },
1639
1668
  []
1640
- ), le = F(
1641
- (a) => {
1642
- m && _a(m, a, me, re.current);
1669
+ ), se = G(
1670
+ (r) => {
1671
+ m && Ya(m, r, fe, ae.current);
1643
1672
  },
1644
- [m, me]
1645
- ), qe = F(
1646
- (a) => {
1673
+ [m, fe]
1674
+ ), We = G(
1675
+ (r) => {
1647
1676
  var c;
1648
- for (const T of a) re.current.add(T);
1649
- const o = (c = G.current) == null ? void 0 : c.api;
1650
- o && (K(o, a, ["hide"]), le(o));
1677
+ for (const b of r) ae.current.add(b);
1678
+ const o = (c = E.current) == null ? void 0 : c.api;
1679
+ o && (H(o, r, ["hide"]), se(o));
1651
1680
  },
1652
- [le, K]
1681
+ [se, H]
1653
1682
  );
1654
- Le.current = qe;
1655
- const mt = F(() => {
1683
+ ze.current = We;
1684
+ const Tt = G(() => {
1656
1685
  var c;
1657
- if (!((c = G.current) != null && c.api)) return;
1658
- const a = G.current.api, o = m ? qa(m, me) : null;
1659
- if (!(!o || ce.current)) {
1660
- for (const T of o.touched) re.current.add(T);
1661
- a.applyColumnState({
1686
+ if (!((c = E.current) != null && c.api)) return;
1687
+ const r = E.current.api, o = m ? Xa(m, fe) : null;
1688
+ if (!(!o || ue.current)) {
1689
+ for (const b of o.touched) ae.current.add(b);
1690
+ r.applyColumnState({
1662
1691
  state: o.state,
1663
1692
  applyOrder: !0
1664
- }), K(a, o.touched, ["hide"]);
1693
+ }), H(r, o.touched, ["hide"]);
1665
1694
  }
1666
- }, [m, me, K]), gt = F(
1667
- (a) => {
1695
+ }, [m, fe, H]), yt = G(
1696
+ (r) => {
1668
1697
  var c;
1669
- if (a.source !== "gridOptionsChanged") return;
1670
- const o = (c = G.current) == null ? void 0 : c.api;
1671
- !o || pe.current.size === 0 || o.applyColumnState({
1672
- state: [...pe.current].map(([T, y]) => ({
1673
- colId: T,
1698
+ if (r.source !== "gridOptionsChanged") return;
1699
+ const o = (c = E.current) == null ? void 0 : c.api;
1700
+ !o || me.current.size === 0 || o.applyColumnState({
1701
+ state: [...me.current].map(([b, y]) => ({
1702
+ colId: b,
1674
1703
  ...y
1675
1704
  }))
1676
1705
  });
1677
1706
  },
1678
1707
  []
1679
- ), ge = F(
1680
- (a) => {
1681
- var T;
1682
- const o = (T = G.current) == null ? void 0 : T.api;
1708
+ ), ge = G(
1709
+ (r) => {
1710
+ var b;
1711
+ const o = (b = E.current) == null ? void 0 : b.api;
1683
1712
  if (!o) return;
1684
- const c = (a.columns ?? (a.column ? [a.column] : [])).map((y) => y.getColId());
1685
- if (a.source && ja.has(a.source)) {
1686
- if (a.source === "api" && "visible" in a) {
1713
+ const c = (r.columns ?? (r.column ? [r.column] : [])).map((y) => y.getColId());
1714
+ if (r.source && Za.has(r.source)) {
1715
+ if (r.source === "api" && "visible" in r) {
1687
1716
  const y = c.filter(
1688
- (I) => re.current.has(I)
1717
+ (F) => ae.current.has(F)
1689
1718
  );
1690
- y.length > 0 && (K(o, y, ["hide"]), le(o));
1719
+ y.length > 0 && (H(o, y, ["hide"]), se(o));
1691
1720
  }
1692
1721
  return;
1693
1722
  }
1694
- if ("visible" in a) {
1695
- for (const y of c) re.current.add(y);
1696
- K(o, c, ["hide"]);
1697
- } else "pinned" in a ? K(o, c, ["pinned"]) : "flexColumns" in a && K(o, c, ["width", "flex"]);
1698
- le(o);
1723
+ if ("visible" in r) {
1724
+ for (const y of c) ae.current.add(y);
1725
+ H(o, c, ["hide"]);
1726
+ } else "pinned" in r ? H(o, c, ["pinned"]) : "flexColumns" in r && H(o, c, ["width", "flex"]);
1727
+ se(o);
1699
1728
  },
1700
- [le, K]
1701
- ), ft = z(() => {
1729
+ [se, H]
1730
+ ), xt = z(() => {
1702
1731
  if (!p) return;
1703
- const a = { ...p };
1704
- return delete a.defaultColDef, delete a.initialState, N && (delete a.getRowId, delete a.isFullWidthRow, delete a.fullWidthCellRenderer, delete a.getRowHeight, delete a.postSortRows, delete a.getRowClass, delete a.defaultCsvExportParams, delete a.defaultExcelExportParams), a;
1705
- }, [N, p]), _e = q(/* @__PURE__ */ new Map()), se = q(p);
1706
- se.current = p;
1707
- const je = F(
1708
- (a) => {
1732
+ const r = { ...p };
1733
+ return delete r.defaultColDef, delete r.initialState, M && (delete r.getRowId, delete r.isFullWidthRow, delete r.fullWidthCellRenderer, delete r.getRowHeight, delete r.postSortRows, delete r.getRowClass, delete r.defaultCsvExportParams, delete r.defaultExcelExportParams), r;
1734
+ }, [M, p]), je = _(/* @__PURE__ */ new Map()), de = _(p);
1735
+ de.current = p;
1736
+ const Be = G(
1737
+ (r) => {
1709
1738
  var o;
1710
- return j == null ? void 0 : j({
1711
- data: a,
1739
+ return U == null ? void 0 : U({
1740
+ data: r,
1712
1741
  level: 0,
1713
- api: (o = G.current) == null ? void 0 : o.api,
1742
+ api: (o = E.current) == null ? void 0 : o.api,
1714
1743
  context: p == null ? void 0 : p.context
1715
1744
  });
1716
1745
  },
1717
- [j, p == null ? void 0 : p.context]
1746
+ [U, p == null ? void 0 : p.context]
1718
1747
  ), J = z(() => {
1719
- if (!N || x == null || !r) return null;
1720
- const a = r.find((o) => je(o) === x);
1721
- return a === void 0 ? null : { id: x, row: a };
1722
- }, [N, x, je, r]), bt = z(() => {
1723
- if (!J || !r) return r;
1724
- const a = r.indexOf(J.row), o = Na(J.row, J.id);
1748
+ if (!M || k == null || !a) return null;
1749
+ const r = a.find((o) => Be(o) === k);
1750
+ return r === void 0 ? null : { id: k, row: r };
1751
+ }, [M, k, Be, a]), De = z(() => {
1752
+ if (!J || !a) return a;
1753
+ const r = a.indexOf(J.row), o = qa(J.row, J.id);
1725
1754
  return [
1726
- ...r.slice(0, a + 1),
1755
+ ...a.slice(0, r + 1),
1727
1756
  o,
1728
- ...r.slice(a + 1)
1757
+ ...a.slice(r + 1)
1729
1758
  ];
1730
- }, [J, r]), ht = F(
1731
- (a) => B(a.data) ? Ia(a.data[oe]) : j(a),
1732
- [j]
1733
- ), Tt = F(
1734
- (a) => {
1759
+ }, [J, a]), wt = G(
1760
+ (r) => j(r.data) ? _a(r.data[ne]) : U(r),
1761
+ [U]
1762
+ ), Ct = G(
1763
+ (r) => {
1735
1764
  var o, c;
1736
- return B(a.rowNode.data) || (((c = (o = se.current) == null ? void 0 : o.isFullWidthRow) == null ? void 0 : c.call(o, a)) ?? !1);
1765
+ return j(r.rowNode.data) || (((c = (o = de.current) == null ? void 0 : o.isFullWidthRow) == null ? void 0 : c.call(o, r)) ?? !1);
1737
1766
  },
1738
1767
  []
1739
- ), yt = F(
1740
- (a) => {
1768
+ ), vt = G(
1769
+ (r) => {
1741
1770
  var o, c;
1742
- return B(a.data) ? _e.current.get(a.node.id ?? "") : (c = (o = se.current) == null ? void 0 : o.getRowHeight) == null ? void 0 : c.call(o, a);
1771
+ return j(r.data) ? je.current.get(r.node.id ?? "") : (c = (o = de.current) == null ? void 0 : o.getRowHeight) == null ? void 0 : c.call(o, r);
1743
1772
  },
1744
1773
  []
1745
- ), xt = F(
1746
- (a) => {
1747
- var P, X;
1748
- (X = (P = se.current) == null ? void 0 : P.postSortRows) == null || X.call(P, a);
1749
- const { nodes: o } = a, c = o.findIndex((H) => B(H.data));
1774
+ ), St = G(
1775
+ (r) => {
1776
+ var P, Y;
1777
+ (Y = (P = de.current) == null ? void 0 : P.postSortRows) == null || Y.call(P, r);
1778
+ const { nodes: o } = r, c = o.findIndex((K) => j(K.data));
1750
1779
  if (c < 0) return;
1751
- const [T] = o.splice(c, 1), y = T.data[oe], I = o.findIndex((H) => H.id === y);
1752
- o.splice(I < 0 ? o.length : I + 1, 0, T);
1780
+ const [b] = o.splice(c, 1), y = b.data[ne], F = o.findIndex((K) => K.id === y);
1781
+ o.splice(F < 0 ? o.length : F + 1, 0, b);
1753
1782
  },
1754
1783
  []
1755
- ), wt = F(
1756
- (a) => {
1784
+ ), Rt = G(
1785
+ (r) => {
1757
1786
  var o, c;
1758
- return B(a.data) ? Fa : ((c = (o = se.current) == null ? void 0 : o.getRowClass) == null ? void 0 : c.call(o, a)) ?? (D == null ? void 0 : D(a));
1787
+ return j(r.data) ? Va : ((c = (o = de.current) == null ? void 0 : o.getRowClass) == null ? void 0 : c.call(o, r)) ?? (D == null ? void 0 : D(r));
1759
1788
  },
1760
1789
  [D]
1761
- ), fe = F(
1762
- (a) => B(a.node.data),
1790
+ ), be = G(
1791
+ (r) => j(r.node.data),
1763
1792
  []
1764
- ), Ct = z(() => {
1765
- if (!N) return;
1766
- const a = p == null ? void 0 : p.defaultCsvExportParams;
1793
+ ), Dt = z(() => {
1794
+ if (!M) return;
1795
+ const r = p == null ? void 0 : p.defaultCsvExportParams;
1767
1796
  return {
1768
- ...a,
1797
+ ...r,
1769
1798
  shouldRowBeSkipped: (o) => {
1770
1799
  var c;
1771
- return fe(o) || (((c = a == null ? void 0 : a.shouldRowBeSkipped) == null ? void 0 : c.call(a, o)) ?? !1);
1800
+ return be(o) || (((c = r == null ? void 0 : r.shouldRowBeSkipped) == null ? void 0 : c.call(r, o)) ?? !1);
1772
1801
  }
1773
1802
  };
1774
- }, [N, p == null ? void 0 : p.defaultCsvExportParams, fe]), vt = z(() => {
1775
- if (!N) return;
1776
- const a = p == null ? void 0 : p.defaultExcelExportParams;
1803
+ }, [M, p == null ? void 0 : p.defaultCsvExportParams, be]), Et = z(() => {
1804
+ if (!M) return;
1805
+ const r = p == null ? void 0 : p.defaultExcelExportParams;
1777
1806
  return {
1778
- ...a,
1807
+ ...r,
1779
1808
  shouldRowBeSkipped: (o) => {
1780
1809
  var c;
1781
- return fe(o) || (((c = a == null ? void 0 : a.shouldRowBeSkipped) == null ? void 0 : c.call(a, o)) ?? !1);
1810
+ return be(o) || (((c = r == null ? void 0 : r.shouldRowBeSkipped) == null ? void 0 : c.call(r, o)) ?? !1);
1782
1811
  }
1783
1812
  };
1784
- }, [N, p == null ? void 0 : p.defaultExcelExportParams, fe]), Re = p == null ? void 0 : p.fullWidthCellRenderer, St = z(
1813
+ }, [M, p == null ? void 0 : p.defaultExcelExportParams, be]), Ee = p == null ? void 0 : p.fullWidthCellRenderer, Gt = z(
1785
1814
  () => ({
1786
- renderExpandedRow: O,
1787
- onExpandedRowChange: L,
1815
+ renderExpandedRow: V,
1816
+ onExpandedRowChange: I,
1788
1817
  expanded: J,
1789
- heights: _e.current,
1790
- fallbackRenderer: typeof Re == "function" ? Re : void 0
1818
+ heights: je.current,
1819
+ fallbackRenderer: typeof Ee == "function" ? Ee : void 0
1791
1820
  }),
1792
1821
  [
1793
- Re,
1822
+ Ee,
1794
1823
  J,
1795
- L,
1796
- O
1824
+ I,
1825
+ V
1797
1826
  ]
1798
- ), Rt = F(() => {
1827
+ ), Ft = G(() => {
1799
1828
  var c;
1800
- const a = (c = G.current) == null ? void 0 : c.api;
1801
- if (!a) return;
1802
- const o = a.getSelectedRows().filter((T) => !B(T));
1803
- Ce(o.length), g == null || g(o);
1804
- }, [g]), Dt = F(
1805
- (a) => {
1829
+ const r = (c = E.current) == null ? void 0 : c.api;
1830
+ if (!r) return;
1831
+ const o = r.getSelectedRows().filter((b) => !j(b));
1832
+ le(o.length), f == null || f(o);
1833
+ }, [f]), It = G(
1834
+ (r) => {
1806
1835
  var c;
1807
- const o = (c = G.current) == null ? void 0 : c.api;
1836
+ const o = (c = E.current) == null ? void 0 : c.api;
1808
1837
  if (o) {
1809
- const y = o.getColumnState().find((I) => I.sort);
1838
+ const y = o.getColumnState().find((F) => F.sort);
1810
1839
  if (y) {
1811
- const I = y.colId, P = o.getColumnDef(I), X = (P == null ? void 0 : P.headerName) ?? I, H = y.sort === "asc" ? "dataTable.sortAscending" : "dataTable.sortDescending";
1812
- ve(
1813
- W("dataTable.sortAnnounce", {
1814
- column: X,
1815
- direction: W(H)
1840
+ const F = y.colId, P = o.getColumnDef(F), Y = (P == null ? void 0 : P.headerName) ?? F, K = y.sort === "asc" ? "dataTable.sortAscending" : "dataTable.sortDescending";
1841
+ Se(
1842
+ N("dataTable.sortAnnounce", {
1843
+ column: Y,
1844
+ direction: N(K)
1816
1845
  })
1817
1846
  );
1818
1847
  } else
1819
- ve("");
1848
+ Se("");
1820
1849
  }
1821
- u == null || u(a);
1850
+ u == null || u(r);
1822
1851
  },
1823
- [u, W]
1824
- ), Gt = F(
1825
- (a) => {
1826
- b == null || b(a);
1852
+ [u, N]
1853
+ ), Nt = G(
1854
+ (r) => {
1855
+ h == null || h(r);
1827
1856
  },
1828
- [b]
1857
+ [h]
1829
1858
  );
1830
- $(() => {
1831
- if (!Z) return;
1832
- const a = setTimeout(() => ve(""), 3e3);
1833
- return () => clearTimeout(a);
1834
- }, [Z]);
1835
- const Ft = v ?? La, Et = w ?? Oa, It = F(
1859
+ B(() => {
1860
+ if (!ve) return;
1861
+ const r = setTimeout(() => Se(""), 3e3);
1862
+ return () => clearTimeout(r);
1863
+ }, [ve]);
1864
+ const kt = v ?? Ha, Pt = w ?? Ua, At = G(
1836
1865
  () => {
1837
- var a;
1838
- return (a = G.current) == null ? void 0 : a.api;
1866
+ var r;
1867
+ return (r = E.current) == null ? void 0 : r.api;
1839
1868
  },
1840
1869
  []
1841
- ), Nt = F(() => {
1870
+ ), Mt = G(() => {
1842
1871
  typeof window < "u" && window.print();
1843
- }, []), kt = Ma({
1844
- density: ut,
1872
+ }, []), Ot = $a({
1873
+ density: bt,
1845
1874
  bordered: S,
1846
1875
  className: C
1847
- }), Pt = k ?? /* @__PURE__ */ d("div", { className: "data-table-toolbar ds:flex ds:justify-end", children: /* @__PURE__ */ _(
1848
- $t,
1876
+ }), Lt = W ?? /* @__PURE__ */ d("div", { className: "data-table-toolbar ds:flex ds:justify-end", children: /* @__PURE__ */ q(
1877
+ Yt,
1849
1878
  {
1850
1879
  role: "toolbar",
1851
- "aria-label": W("dataTable.tableActions"),
1880
+ "aria-label": N("dataTable.tableActions"),
1852
1881
  className: "ds:bg-[var(--background)]",
1853
1882
  children: [
1854
- /* @__PURE__ */ d(xe.ExportMenu, {}),
1855
- /* @__PURE__ */ d(xe.Print, {}),
1856
- /* @__PURE__ */ d(xe.ColumnToggle, {})
1883
+ /* @__PURE__ */ d(we.ExportMenu, {}),
1884
+ /* @__PURE__ */ d(we.Print, {}),
1885
+ /* @__PURE__ */ d(we.ColumnToggle, {})
1857
1886
  ]
1858
1887
  }
1859
- ) }), At = V ? !1 : s;
1860
- return /* @__PURE__ */ _(
1888
+ ) }), Vt = x ? !1 : s, $e = De !== void 0 && De.length === 0, [Ue, zt] = L(null);
1889
+ Zt(() => {
1890
+ var b;
1891
+ const r = X.current;
1892
+ if (!r) return;
1893
+ let o = !0;
1894
+ const c = () => {
1895
+ o && zt(() => ba(r));
1896
+ };
1897
+ return c(), (b = document.fonts) == null || b.ready.then(c), () => {
1898
+ o = !1;
1899
+ };
1900
+ }, []);
1901
+ const _t = z(
1902
+ () => Ze(n, Ue),
1903
+ [n, Ue]
1904
+ );
1905
+ return /* @__PURE__ */ q(
1861
1906
  "div",
1862
1907
  {
1863
1908
  className: "ds:flex ds:w-full ds:min-h-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-sm)]",
1864
- "aria-busy": dt ? "true" : void 0,
1909
+ "aria-busy": ft ? "true" : void 0,
1865
1910
  "data-component": "data-table",
1866
1911
  "data-component-id": m,
1867
- "data-print-mode": V ? "true" : void 0,
1912
+ "data-print-mode": x ? "true" : void 0,
1868
1913
  children: [
1869
- !V && /* @__PURE__ */ d(
1870
- ua,
1914
+ !x && /* @__PURE__ */ d(
1915
+ wa,
1871
1916
  {
1872
- getApi: It,
1873
- selectionCount: Y,
1874
- onPrint: Nt,
1875
- markColumnsUserTouched: qe,
1876
- children: Pt
1917
+ getApi: At,
1918
+ selectionCount: ie,
1919
+ onPrint: Mt,
1920
+ markColumnsUserTouched: We,
1921
+ children: Lt
1877
1922
  }
1878
1923
  ),
1879
1924
  /* @__PURE__ */ d(
1880
1925
  "div",
1881
1926
  {
1882
- ref: ae,
1883
- className: [kt, V ? "" : R].join(" ").trim(),
1927
+ ref: X,
1928
+ "data-empty": $e ? "true" : void 0,
1929
+ className: [Ot, x ? "" : R].join(" ").trim(),
1884
1930
  children: /* @__PURE__ */ d(
1885
- ot.Provider,
1931
+ ct.Provider,
1886
1932
  {
1887
- value: St,
1933
+ value: Gt,
1888
1934
  children: /* @__PURE__ */ d(
1889
- jt,
1935
+ Kt,
1890
1936
  {
1891
- ref: G,
1892
- initialState: ce.current ?? (p == null ? void 0 : p.initialState),
1937
+ ref: E,
1938
+ initialState: ue.current ?? (p == null ? void 0 : p.initialState),
1893
1939
  theme: "legacy",
1894
- columnDefs: n,
1895
- rowData: bt,
1940
+ columnDefs: _t,
1941
+ rowData: De,
1896
1942
  defaultColDef: {
1897
1943
  sortable: !0,
1898
1944
  // Default filter = DS-styled text filter so untyped columns
@@ -1900,8 +1946,8 @@ function Wa(e, t) {
1900
1946
  // language instead of AG Grid's stock browser-skinned input.
1901
1947
  // Number / date / select columns opt into their dedicated
1902
1948
  // wrapper per-column.
1903
- filter: Sa,
1904
- floatingFilterComponent: Ra,
1949
+ filter: Aa,
1950
+ floatingFilterComponent: Ma,
1905
1951
  resizable: !0,
1906
1952
  floatingFilter: !0,
1907
1953
  // §13d — faint sort icon advertises which columns are
@@ -1909,13 +1955,13 @@ function Wa(e, t) {
1909
1955
  unSortIcon: !0,
1910
1956
  ...p == null ? void 0 : p.defaultColDef
1911
1957
  },
1912
- rowSelection: pt,
1913
- pagination: At,
1914
- paginationPageSize: f,
1958
+ rowSelection: ht,
1959
+ pagination: Vt,
1960
+ paginationPageSize: g,
1915
1961
  paginationPageSizeSelector: l,
1916
- paginationNumberFormatter: (a) => new Intl.NumberFormat(E.language).format(a.value),
1917
- animateRows: !ct,
1918
- enableRtl: Ve,
1962
+ paginationNumberFormatter: (r) => new Intl.NumberFormat(O.language).format(r.value),
1963
+ animateRows: !gt,
1964
+ enableRtl: _e,
1919
1965
  ensureDomOrder: !0,
1920
1966
  enableCellSpan: !0,
1921
1967
  enableCellTextSelection: !0,
@@ -1932,65 +1978,65 @@ function Wa(e, t) {
1932
1978
  undoRedoCellEditingLimit: 20,
1933
1979
  suppressCellFocus: !1,
1934
1980
  rowBuffer: 10,
1935
- getLocaleText: lt,
1936
- rowDragText: (a, o) => W("dataTable.dragRows", { count: o }),
1937
- noRowsOverlayComponent: Ft,
1938
- loadingOverlayComponent: Et,
1939
- getRowClass: N ? wt : D,
1940
- pinnedBottomRowData: te,
1941
- domLayout: V ? "autoHeight" : void 0,
1942
- onGridReady: mt,
1943
- onNewColumnsLoaded: gt,
1981
+ getLocaleText: pt,
1982
+ rowDragText: (r, o) => N("dataTable.dragRows", { count: o }),
1983
+ noRowsOverlayComponent: kt,
1984
+ loadingOverlayComponent: Pt,
1985
+ getRowClass: M ? Rt : D,
1986
+ pinnedBottomRowData: Z && $e ? void 0 : te,
1987
+ domLayout: x ? "autoHeight" : void 0,
1988
+ onGridReady: Tt,
1989
+ onNewColumnsLoaded: yt,
1944
1990
  onColumnMoved: ge,
1945
1991
  onColumnResized: ge,
1946
1992
  onColumnPinned: ge,
1947
1993
  onColumnVisible: ge,
1948
- onSortChanged: Dt,
1949
- onFilterChanged: Gt,
1950
- onSelectionChanged: Rt,
1951
- ...ft,
1952
- ...N ? {
1953
- getRowId: ht,
1954
- isFullWidthRow: Tt,
1955
- fullWidthCellRenderer: ka,
1956
- getRowHeight: yt,
1957
- postSortRows: xt,
1958
- defaultCsvExportParams: Ct,
1959
- defaultExcelExportParams: vt
1994
+ onSortChanged: It,
1995
+ onFilterChanged: Nt,
1996
+ onSelectionChanged: Ft,
1997
+ ...xt,
1998
+ ...M ? {
1999
+ getRowId: wt,
2000
+ isFullWidthRow: Ct,
2001
+ fullWidthCellRenderer: Wa,
2002
+ getRowHeight: vt,
2003
+ postSortRows: St,
2004
+ defaultCsvExportParams: Dt,
2005
+ defaultExcelExportParams: Et
1960
2006
  } : {}
1961
2007
  },
1962
- ue
2008
+ pe
1963
2009
  )
1964
2010
  }
1965
2011
  )
1966
2012
  }
1967
2013
  ),
1968
- !V && Y > 0 && /* @__PURE__ */ d("div", { className: "ds:flex ds:items-center ds:justify-between type-body-sm ds:text-[color:var(--muted-foreground)]", children: /* @__PURE__ */ d("span", { children: W("dataTable.selected", { count: Y }) }) }),
1969
- /* @__PURE__ */ d("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: Z })
2014
+ !x && ie > 0 && /* @__PURE__ */ d("div", { className: "ds:flex ds:items-center ds:justify-between type-body-sm ds:text-[color:var(--muted-foreground)]", children: /* @__PURE__ */ d("span", { children: N("dataTable.selected", { count: ie }) }) }),
2015
+ /* @__PURE__ */ d("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: ve })
1970
2016
  ]
1971
2017
  }
1972
2018
  );
1973
2019
  }
1974
- const it = U(Wa);
1975
- it.displayName = "DataTable";
1976
- const Ba = Object.assign(it, {
1977
- Toolbar: xe
1978
- }), Rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2020
+ const ut = $(Ja);
2021
+ ut.displayName = "DataTable";
2022
+ const er = Object.assign(ut, {
2023
+ Toolbar: we
2024
+ }), Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1979
2025
  __proto__: null,
1980
- DataTable: Ba
2026
+ DataTable: er
1981
2027
  }, Symbol.toStringTag, { value: "Module" }));
1982
2028
  export {
1983
- Ba as D,
1984
- Fa as E,
1985
- Sa as T,
1986
- Ra as a,
1987
- xe as b,
1988
- ua as c,
1989
- Pa as d,
1990
- Ze as e,
1991
- Ia as f,
1992
- Sr as g,
1993
- Rr as h,
1994
- B as i
2029
+ er as D,
2030
+ Va as E,
2031
+ Aa as T,
2032
+ Ma as a,
2033
+ we as b,
2034
+ wa as c,
2035
+ ja as d,
2036
+ rt as e,
2037
+ _a as f,
2038
+ Mr as g,
2039
+ Or as h,
2040
+ j as i
1995
2041
  };
1996
- //# sourceMappingURL=data-table-C5uN4ato.js.map
2042
+ //# sourceMappingURL=data-table-zXBxFYpJ.js.map