@alfadocs/ui-kit 1.95.0 → 1.96.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 (256) hide show
  1. package/dist/_chunks/{actions-cell-renderer-B1yaOfQM.js → actions-cell-renderer-BVn3vDTg.js} +3 -3
  2. package/dist/_chunks/{anamnesis-card-BcadMmEM.js → anamnesis-card-BzuluoD1.js} +2 -2
  3. package/dist/_chunks/{anamnesis-summary-card-DQ3iE1gD.js → anamnesis-summary-card-DdTRdNrQ.js} +2 -2
  4. package/dist/_chunks/{anamnesis-summary-rows-DTZ3per6.js → anamnesis-summary-rows-CdRUXoaA.js} +6 -6
  5. package/dist/_chunks/{antenatal-schedule-timeline-BGewPfEX.js → antenatal-schedule-timeline-DmsY5g28.js} +2 -2
  6. package/dist/_chunks/{appointment-card-Bstc1p7a.js → appointment-card-Csx4544A.js} +2 -2
  7. package/dist/_chunks/{appointment-peek-C0kKqnFk.js → appointment-peek-CcDCWb-F.js} +2 -2
  8. package/dist/_chunks/{appointment-timeline-rbt9AwHO.js → appointment-timeline-DW6FN6u8.js} +3 -3
  9. package/dist/_chunks/{appointment-tray-6zd8RLIL.js → appointment-tray-CZfXwHWz.js} +2 -2
  10. package/dist/_chunks/{balance-badge-cell-vZxbOFgP.js → balance-badge-cell-DcBmtijD.js} +3 -3
  11. package/dist/_chunks/{bishop-score-BBYuyk2k.js → bishop-score-BhMomGcX.js} +2 -2
  12. package/dist/_chunks/{bmi-calculator-BIExHBZV.js → bmi-calculator-NMkXc079.js} +2 -2
  13. package/dist/_chunks/{button-group-ZVb1Q-w4.js → button-group-CUnNnt8a.js} +2 -2
  14. package/dist/_chunks/{calendar-appointment-editor-dialog-WDKc3jMA.js → calendar-appointment-editor-dialog-BOZ5wk96.js} +14 -14
  15. package/dist/_chunks/{card-BA4Ig_kn.js → card-C85_Ndhb.js} +96 -68
  16. package/dist/_chunks/{care-plan-card-DD9rEWYN.js → care-plan-card-YWKV8Kjq.js} +2 -2
  17. package/dist/_chunks/{care-plan-entry-card-4VaY2c96.js → care-plan-entry-card-CApivtMW.js} +2 -2
  18. package/dist/_chunks/{care-plan-header-CXUJQt8Q.js → care-plan-header-BBh0X7EO.js} +2 -2
  19. package/dist/_chunks/{chart-pMkQN-qy.js → chart-bddVIElM.js} +2 -2
  20. package/dist/_chunks/{clinical-note-card-Cut2lNmu.js → clinical-note-card-CWHFnCmY.js} +2 -2
  21. package/dist/_chunks/{connection-status-CVyCqxiY.js → connection-status-CWSU3eiq.js} +2 -2
  22. package/dist/_chunks/{contact-card-ClvEDM9e.js → contact-card-CymtNvy3.js} +2 -2
  23. package/dist/_chunks/{contact-profile-card-CX45mZA3.js → contact-profile-card-jBf9U4At.js} +2 -2
  24. package/dist/_chunks/{cycle-calculator-CQkjVSD2.js → cycle-calculator-ZMDvToIm.js} +2 -2
  25. package/dist/_chunks/{dashboard-grid-DwJ_HV3d.js → dashboard-grid-DrOkTtya.js} +2 -2
  26. package/dist/_chunks/{data-table-tabs-DlTPtqoI.js → data-table-tabs-CcgU2lr5.js} +2 -2
  27. package/dist/_chunks/{data-table-C_nnpJ-Q.js → data-table-xUDjZS_O.js} +4 -4
  28. package/dist/_chunks/{document-preview-ytR1FcWA.js → document-preview-DWIQryMW.js} +3 -3
  29. package/dist/_chunks/{dropdown-menu-D1we7oAY.js → dropdown-menu-CqxBthww.js} +2 -2
  30. package/dist/_chunks/{due-date-calculator-NjTlmoFK.js → due-date-calculator-Dr2cDa64.js} +3 -3
  31. package/dist/_chunks/editable-currency-cell-renderer-BEaj2NT_.js +493 -0
  32. package/dist/_chunks/{entity-summary-B_bOloqP.js → entity-summary-BJdfIsk_.js} +2 -2
  33. package/dist/_chunks/{face-scheme-BKSE98bo.js → face-scheme-BmygzbZr.js} +5 -5
  34. package/dist/_chunks/{fetal-weight-Brl3n4LN.js → fetal-weight-CkIwJgiH.js} +2 -2
  35. package/dist/_chunks/{file-manager-CAIbuaSs.js → file-manager-Ba_TcfCj.js} +4 -4
  36. package/dist/_chunks/{finished-terminal-D8ohcFVS.js → finished-terminal-DXVAfhRr.js} +2 -2
  37. package/dist/_chunks/{forgot-password-form-BQPvDS7i.js → forgot-password-form-BCk4rGIh.js} +2 -2
  38. package/dist/_chunks/{gestational-age-calculator-Dn8IOXHB.js → gestational-age-calculator-CXcDKQqC.js} +3 -3
  39. package/dist/_chunks/{hcg-doubling-DQe1ptNB.js → hcg-doubling-BJFR3onB.js} +2 -2
  40. package/dist/_chunks/{header-settings-BeA2fnol.js → header-settings-C2D74i4g.js} +3 -3
  41. package/dist/_chunks/{heatmap-DdF8qTTV.js → heatmap-C9tEvqEm.js} +3 -3
  42. package/dist/_chunks/{icon-button-group-CRKFR48b.js → icon-button-group-mXvYDaba.js} +2 -2
  43. package/dist/_chunks/{icon-picker-Bkm9m7ju.js → icon-picker-DQMG9L6M.js} +2 -2
  44. package/dist/_chunks/info-tip-Do3RFt60.js +216 -0
  45. package/dist/_chunks/{kit-extensions-44gudqqq.js → kit-extensions-C4o_tFN4.js} +6 -6
  46. package/dist/_chunks/{locale-picker-DVvinQXU.js → locale-picker-B1NAHW4U.js} +2 -2
  47. package/dist/_chunks/{login-dev-card-BZBR58mu.js → login-dev-card-DcfcFJrm.js} +2 -2
  48. package/dist/_chunks/{marketplace-app-shell-CJQtx3sv.js → marketplace-app-shell-DDZI-uBl.js} +5 -5
  49. package/dist/_chunks/{message-tray-Cllf-v0G.js → message-tray-18_TrLCy.js} +2 -2
  50. package/dist/_chunks/{muscle-scheme-B7qMW0ho.js → muscle-scheme-CznhrQlo.js} +2 -2
  51. package/dist/_chunks/{notes-panel-ib7I3aNf.js → notes-panel-DfjF83IK.js} +4 -4
  52. package/dist/_chunks/{notification-tray-0OkA2duS.js → notification-tray-CQK3lw87.js} +2 -2
  53. package/dist/_chunks/{operator-hero-D_0KoEuJ.js → operator-hero-N_ziNGFF.js} +2 -2
  54. package/dist/_chunks/{patient-details-DTlpBYHJ.js → patient-details-DGHkAErB.js} +3 -3
  55. package/dist/_chunks/{patient-field-row-DWTKV1hF.js → patient-field-row-BVK4y98C.js} +3 -3
  56. package/dist/_chunks/{patient-search-Ca9j5cWb.js → patient-search-CL6dtBIq.js} +3 -3
  57. package/dist/_chunks/{patient-summary-card-C61AR4Tn.js → patient-summary-card-DXz07c2X.js} +3 -3
  58. package/dist/_chunks/{payment-automation-upsell-D1YdO1xY.js → payment-automation-upsell-CZk6f8aK.js} +3 -3
  59. package/dist/_chunks/{payment-request-card-BfGauFY0.js → payment-request-card-BbpN8GQg.js} +2 -2
  60. package/dist/_chunks/{periodontal-chart-_y4Ck7_P.js → periodontal-chart-Cw-ZsIls.js} +2 -2
  61. package/dist/_chunks/{periodontal-chart-card-Bx6PeS3b.js → periodontal-chart-card-CG8mxR62.js} +2 -2
  62. package/dist/_chunks/{periodontal-diagnosis-DD3hrg9X.js → periodontal-diagnosis-CF1d_0yl.js} +2 -2
  63. package/dist/_chunks/{periodontal-risk-chart-B7S9OmPC.js → periodontal-risk-chart-D2zyID0H.js} +2 -2
  64. package/dist/_chunks/{popover-Da1ekjV1.js → popover-CN5IsOeS.js} +156 -148
  65. package/dist/_chunks/{practice-profile-hero-ClzE-4CB.js → practice-profile-hero-DKmnB-M0.js} +2 -2
  66. package/dist/_chunks/{practice-results-BWX9y6mS.js → practice-results-ZOVlrb43.js} +3 -3
  67. package/dist/_chunks/{pregnancy-dating-CuVj9KGR.js → pregnancy-dating-D0Kf9s7s.js} +3 -3
  68. package/dist/_chunks/{pregnancy-weight-gain-BeQRxwdP.js → pregnancy-weight-gain-B_Zldlzq.js} +2 -2
  69. package/dist/_chunks/{privacy-mask-BDVkikTm.js → privacy-mask-DbEKI-Jv.js} +2 -2
  70. package/dist/_chunks/{product-hub-panel-bHi7lkVD.js → product-hub-panel-CqRJlmb7.js} +2 -2
  71. package/dist/_chunks/{public-footer-IoRWoAMz.js → public-footer-BiPiU_lk.js} +2 -2
  72. package/dist/_chunks/{registration-form-BygI73vG.js → registration-form-K4j2tdLt.js} +2 -2
  73. package/dist/_chunks/{reserved.agent-BvwjDyne.js → reserved.agent-TRbKB39d.js} +2 -2
  74. package/dist/_chunks/{reset-password-form-Cf9QPEJu.js → reset-password-form-C6XLV7SI.js} +2 -2
  75. package/dist/_chunks/{reviews-panel-B7InBORU.js → reviews-panel-jPYgYvxG.js} +2 -2
  76. package/dist/_chunks/{rich-text-editor-BfEu57dk.js → rich-text-editor-CJfT08It.js} +3 -3
  77. package/dist/_chunks/{section-card-D5nWiTcK.js → section-card-D1sV4Voz.js} +2 -2
  78. package/dist/_chunks/{send-registration-link-form-CZYOO7NO.js → send-registration-link-form-yLSfcaPk.js} +2 -2
  79. package/dist/_chunks/{separator-CYU_bGFn.js → separator-Bdc9bqoJ.js} +18 -19
  80. package/dist/_chunks/{signature-request-BVGeF0qB.js → signature-request-CLtMgQKi.js} +3 -3
  81. package/dist/_chunks/{signed-out-frame-CgRXOUzi.js → signed-out-frame-CRwVTCjY.js} +2 -2
  82. package/dist/_chunks/{stat-D2PNJujA.js → stat-Dno2ZihS.js} +111 -96
  83. package/dist/_chunks/{tab-bar-BEODTG6k.js → tab-bar-C_pggqVr.js} +2 -2
  84. package/dist/_chunks/{tabs-BmxQu-TJ.js → tabs-DYHgRVSJ.js} +2 -2
  85. package/dist/_chunks/{task-card-C4HJUKVw.js → task-card-TSJjuuDe.js} +2 -2
  86. package/dist/_chunks/{task-editor-Cv7xSakv.js → task-editor-qXfMbHsy.js} +3 -3
  87. package/dist/_chunks/{task-tray-DZQGhDdc.js → task-tray-DrXfMCuf.js} +2 -2
  88. package/dist/_chunks/{tasks-panel-BTCYGLGA.js → tasks-panel-iVeuu9a8.js} +3 -3
  89. package/dist/_chunks/{theme-toggle-DKpzb0-M.js → theme-toggle-jZRbAidE.js} +3 -3
  90. package/dist/_chunks/{timeline-BcYHdP56.js → timeline-B32dylRJ.js} +2 -2
  91. package/dist/_chunks/{token-insert-menu-DtAnBd0x.js → token-insert-menu-Dl3x2ekR.js} +2 -2
  92. package/dist/_chunks/{tooth-scheme-COJJkdsi.js → tooth-scheme-Bd7xECuj.js} +2 -2
  93. package/dist/_chunks/{use-appointment-details-read-B6uhmNdV.js → use-appointment-details-read-UXXvBeGZ.js} +8 -8
  94. package/dist/_chunks/{workflow-map-BcfOwsSB.js → workflow-map-flsvqQ3L.js} +3 -3
  95. package/dist/_chunks/{workflow-status-Dc_CyEz5.js → workflow-status-HQ6ziE46.js} +2 -2
  96. package/dist/_chunks/{workflow-webhook-action-B_nBJ_ht.js → workflow-webhook-action-BD-6UyOs.js} +3 -3
  97. package/dist/ag-grid.css +3 -1
  98. package/dist/agent-catalog.json +2 -2
  99. package/dist/agent-i18n/en.json +1 -1
  100. package/dist/components/anamnesis-card/index.js +1 -1
  101. package/dist/components/anamnesis-summary-card/index.js +1 -1
  102. package/dist/components/appointment-card/index.js +2 -2
  103. package/dist/components/appointment-details-panel/index.js +1 -1
  104. package/dist/components/appointment-peek/index.js +1 -1
  105. package/dist/components/appointment-timeline/index.js +1 -1
  106. package/dist/components/bishop-score/index.js +1 -1
  107. package/dist/components/bmi-calculator/index.js +1 -1
  108. package/dist/components/booking/index.js +1 -1
  109. package/dist/components/button-group/index.js +1 -1
  110. package/dist/components/card/card.d.ts +10 -1
  111. package/dist/components/card/index.d.ts +1 -1
  112. package/dist/components/card/index.js +1 -1
  113. package/dist/components/care-plan-card/index.js +1 -1
  114. package/dist/components/care-plan-entry-card/index.js +1 -1
  115. package/dist/components/care-plan-header/index.js +1 -1
  116. package/dist/components/chart/index.js +1 -1
  117. package/dist/components/clinical-note-card/index.js +1 -1
  118. package/dist/components/connection-status/index.js +1 -1
  119. package/dist/components/contact-card/index.js +1 -1
  120. package/dist/components/contact-profile-card/index.js +1 -1
  121. package/dist/components/cycle-calculator/index.js +1 -1
  122. package/dist/components/dashboard-grid/index.js +1 -1
  123. package/dist/components/data-table/header-info.d.ts +31 -0
  124. package/dist/components/data-table/index.d.ts +1 -0
  125. package/dist/components/data-table/index.js +20 -19
  126. package/dist/components/data-table-tabs/index.js +1 -1
  127. package/dist/components/document-preview/index.js +1 -1
  128. package/dist/components/dropdown-menu/index.js +1 -1
  129. package/dist/components/due-date-calculator/index.js +2 -2
  130. package/dist/components/entity-summary/index.js +1 -1
  131. package/dist/components/face-scheme/index.js +1 -1
  132. package/dist/components/fetal-weight/index.js +1 -1
  133. package/dist/components/file-manager/index.js +1 -1
  134. package/dist/components/finished-terminal/index.js +1 -1
  135. package/dist/components/gestational-age-calculator/index.js +1 -1
  136. package/dist/components/hcg-doubling/index.js +1 -1
  137. package/dist/components/header-settings/index.js +1 -1
  138. package/dist/components/heatmap/index.js +1 -1
  139. package/dist/components/icon-button-group/index.js +1 -1
  140. package/dist/components/icon-picker/index.js +1 -1
  141. package/dist/components/info-tip/index.js +1 -1
  142. package/dist/components/info-tip/info-tip.d.ts +21 -1
  143. package/dist/components/locale-picker/index.js +1 -1
  144. package/dist/components/message-tray/index.js +1 -1
  145. package/dist/components/muscle-scheme/index.js +1 -1
  146. package/dist/components/notes-panel/index.js +1 -1
  147. package/dist/components/notification-tray/index.js +1 -1
  148. package/dist/components/operator-hero/index.js +1 -1
  149. package/dist/components/patient-details/index.js +1 -1
  150. package/dist/components/patient-search/index.js +1 -1
  151. package/dist/components/patient-summary-card/index.js +1 -1
  152. package/dist/components/patient-table/index.js +1 -1
  153. package/dist/components/payment-card/index.js +1 -1
  154. package/dist/components/periodontal-chart/index.js +1 -1
  155. package/dist/components/periodontal-chart-card/index.js +1 -1
  156. package/dist/components/periodontal-diagnosis/index.js +1 -1
  157. package/dist/components/periodontal-risk-chart/index.js +1 -1
  158. package/dist/components/popover/index.js +1 -1
  159. package/dist/components/practice-profile-hero/index.js +1 -1
  160. package/dist/components/practice-results/index.js +1 -1
  161. package/dist/components/pregnancy-dating/index.js +1 -1
  162. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  163. package/dist/components/product-hub-tray/index.js +1 -1
  164. package/dist/components/public-footer/index.js +1 -1
  165. package/dist/components/reviews-panel/index.js +1 -1
  166. package/dist/components/rich-text-editor/index.js +2 -2
  167. package/dist/components/section-card/index.js +1 -1
  168. package/dist/components/separator/index.js +1 -1
  169. package/dist/components/skeleton-scheme/index.js +1 -1
  170. package/dist/components/stat/index.js +1 -1
  171. package/dist/components/stat/stat.d.ts +8 -0
  172. package/dist/components/tab-bar/index.js +1 -1
  173. package/dist/components/tabs/index.js +1 -1
  174. package/dist/components/task-card/index.js +1 -1
  175. package/dist/components/task-editor/index.js +1 -1
  176. package/dist/components/task-tray/index.js +1 -1
  177. package/dist/components/tasks-panel/index.js +1 -1
  178. package/dist/components/theme-toggle/index.js +1 -1
  179. package/dist/components/timeline/index.js +1 -1
  180. package/dist/components/token-insert-menu/index.js +1 -1
  181. package/dist/components/tooth-scheme/index.js +1 -1
  182. package/dist/components/workflow/index.js +1 -1
  183. package/dist/components/workflow-status/index.js +1 -1
  184. package/dist/core.css +1 -1
  185. package/dist/host-compat.css +4 -1
  186. package/dist/i18n/locales/ar.d.ts +2 -0
  187. package/dist/i18n/locales/ar.js +3 -1
  188. package/dist/i18n/locales/de.d.ts +2 -0
  189. package/dist/i18n/locales/de.js +3 -1
  190. package/dist/i18n/locales/el.d.ts +2 -0
  191. package/dist/i18n/locales/el.js +3 -1
  192. package/dist/i18n/locales/en.d.ts +2 -0
  193. package/dist/i18n/locales/en.js +3 -1
  194. package/dist/i18n/locales/es.d.ts +2 -0
  195. package/dist/i18n/locales/es.js +3 -1
  196. package/dist/i18n/locales/fr.d.ts +2 -0
  197. package/dist/i18n/locales/fr.js +3 -1
  198. package/dist/i18n/locales/hi.d.ts +2 -0
  199. package/dist/i18n/locales/hi.js +3 -1
  200. package/dist/i18n/locales/it.d.ts +2 -0
  201. package/dist/i18n/locales/it.js +3 -1
  202. package/dist/i18n/locales/ja.d.ts +2 -0
  203. package/dist/i18n/locales/ja.js +3 -1
  204. package/dist/i18n/locales/nl.d.ts +2 -0
  205. package/dist/i18n/locales/nl.js +3 -1
  206. package/dist/i18n/locales/pl.d.ts +2 -0
  207. package/dist/i18n/locales/pl.js +3 -1
  208. package/dist/i18n/locales/pt.d.ts +2 -0
  209. package/dist/i18n/locales/pt.js +3 -1
  210. package/dist/i18n/locales/ro.d.ts +2 -0
  211. package/dist/i18n/locales/ro.js +3 -1
  212. package/dist/i18n/locales/ru.d.ts +2 -0
  213. package/dist/i18n/locales/ru.js +3 -1
  214. package/dist/i18n/locales/sq.d.ts +2 -0
  215. package/dist/i18n/locales/sq.js +3 -1
  216. package/dist/i18n/locales/sv.d.ts +2 -0
  217. package/dist/i18n/locales/sv.js +3 -1
  218. package/dist/i18n/locales/tr.d.ts +2 -0
  219. package/dist/i18n/locales/tr.js +3 -1
  220. package/dist/i18n/locales/zh.d.ts +2 -0
  221. package/dist/i18n/locales/zh.js +3 -1
  222. package/dist/index.js +917 -916
  223. package/dist/locales/ar.json +3 -1
  224. package/dist/locales/de.json +3 -1
  225. package/dist/locales/el.json +3 -1
  226. package/dist/locales/en.json +3 -1
  227. package/dist/locales/es.json +3 -1
  228. package/dist/locales/fr.json +3 -1
  229. package/dist/locales/hi.json +3 -1
  230. package/dist/locales/it.json +3 -1
  231. package/dist/locales/ja.json +3 -1
  232. package/dist/locales/nl.json +3 -1
  233. package/dist/locales/pl.json +3 -1
  234. package/dist/locales/pt.json +3 -1
  235. package/dist/locales/ro.json +3 -1
  236. package/dist/locales/ru.json +3 -1
  237. package/dist/locales/sq.json +3 -1
  238. package/dist/locales/sv.json +3 -1
  239. package/dist/locales/tr.json +3 -1
  240. package/dist/locales/zh.json +3 -1
  241. package/dist/patterns/anamnesis/index.js +1 -1
  242. package/dist/patterns/calendar/index.js +1 -1
  243. package/dist/patterns/forgot-password-form/index.js +1 -1
  244. package/dist/patterns/login-form/index.js +1 -1
  245. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  246. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  247. package/dist/patterns/registration-form/index.js +1 -1
  248. package/dist/patterns/reset-password-form/index.js +1 -1
  249. package/dist/patterns/send-registration-link-form/index.js +1 -1
  250. package/dist/patterns/signature-request/index.js +1 -1
  251. package/dist/patterns/signed-out-frame/index.js +1 -1
  252. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  253. package/dist/tokens.css +2 -1
  254. package/package.json +1 -1
  255. package/dist/_chunks/editable-currency-cell-renderer-rWYiF4EI.js +0 -412
  256. package/dist/_chunks/info-tip-Cfd5SKbY.js +0 -166
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
2
  import { forwardRef as k, useMemo as B } from "react";
3
3
  import { useTranslation as A } from "react-i18next";
4
- import { C as a } from "./card-BA4Ig_kn.js";
4
+ import { C as a } from "./card-C85_Ndhb.js";
5
5
  import { B as C } from "./badge-BUk4RjTS.js";
6
6
  import { B as u } from "./button-DohK_Ak_.js";
7
7
  import { D as d } from "./description-list-BxzDN9o2.js";
@@ -105,4 +105,4 @@ export {
105
105
  K as C,
106
106
  w as c
107
107
  };
108
- //# sourceMappingURL=connection-status-CVyCqxiY.js.map
108
+ //# sourceMappingURL=connection-status-CWSU3eiq.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as r, Fragment as b } from "react";
3
3
  import { useTranslation as k } from "react-i18next";
4
- import { C as o } from "./card-BA4Ig_kn.js";
4
+ import { C as o } from "./card-C85_Ndhb.js";
5
5
  import { L as p } from "./link-DtCfnLnF.js";
6
6
  import { M as v } from "./map-pin-BaY37-Km.js";
7
7
  function L(s) {
@@ -118,4 +118,4 @@ const M = Object.assign(f, {
118
118
  export {
119
119
  M as C
120
120
  };
121
- //# sourceMappingURL=contact-card-ClvEDM9e.js.map
121
+ //# sourceMappingURL=contact-card-CymtNvy3.js.map
@@ -3,7 +3,7 @@ import { forwardRef as le, useId as ce, useMemo as se } from "react";
3
3
  import { c as de } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as pe } from "react-i18next";
5
5
  import { B as P } from "./badge-BUk4RjTS.js";
6
- import { C as T } from "./card-BA4Ig_kn.js";
6
+ import { C as T } from "./card-C85_Ndhb.js";
7
7
  import { K as fe, a as ue } from "./key-value-pair-BoXOtBL1.js";
8
8
  import { L as d } from "./link-DtCfnLnF.js";
9
9
  import { b as me } from "./format-price-BcFBa-WP.js";
@@ -339,4 +339,4 @@ export {
339
339
  $e as b,
340
340
  be as c
341
341
  };
342
- //# sourceMappingURL=contact-profile-card-CX45mZA3.js.map
342
+ //# sourceMappingURL=contact-profile-card-jBf9U4At.js.map
@@ -6,7 +6,7 @@ import { u as B } from "./registry-DvAUVLHh.js";
6
6
  import { F as S } from "./form-field-CyHfOVKF.js";
7
7
  import { D as Y } from "./date-picker-CdhXlgVI.js";
8
8
  import { N as H } from "./number-input-CVwI1ltI.js";
9
- import { C as M } from "./card-BA4Ig_kn.js";
9
+ import { C as M } from "./card-C85_Ndhb.js";
10
10
  import { B as T } from "./badge-BUk4RjTS.js";
11
11
  import { I as U } from "./insert-result-CDMMt7q8.js";
12
12
  import { b as m, a as V } from "./date-picker-variants-Dt6UbonG.js";
@@ -422,4 +422,4 @@ export {
422
422
  ie as L,
423
423
  se as p
424
424
  };
425
- //# sourceMappingURL=cycle-calculator-CQkjVSD2.js.map
425
+ //# sourceMappingURL=cycle-calculator-ZMDvToIm.js.map
@@ -3,7 +3,7 @@ import { forwardRef as Wt, useRef as E, useState as q, useCallback as L, useMemo
3
3
  import { c as ce } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as St } from "react-i18next";
5
5
  import { I as $e } from "./icon-button-S8_weU3g.js";
6
- import { D as De } from "./dropdown-menu-D1we7oAY.js";
6
+ import { D as De } from "./dropdown-menu-CqxBthww.js";
7
7
  import { T as Yt } from "./tooltip-uEBdD1-5.js";
8
8
  import { C as Vt } from "./skeleton-tTWJpvAq.js";
9
9
  import { u as ne } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
@@ -1484,4 +1484,4 @@ export {
1484
1484
  Cr as D,
1485
1485
  Zt as d
1486
1486
  };
1487
- //# sourceMappingURL=dashboard-grid-DwJ_HV3d.js.map
1487
+ //# sourceMappingURL=dashboard-grid-DrOkTtya.js.map
@@ -4,7 +4,7 @@ import * as ce from "@radix-ui/react-tabs";
4
4
  import { a as ne, c as ke } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as Ae } from "react-i18next";
6
6
  import { I as le } from "./icon-button-S8_weU3g.js";
7
- import { P as ue } from "./popover-Da1ekjV1.js";
7
+ import { P as ue } from "./popover-CN5IsOeS.js";
8
8
  import { T as ze } from "./text-input-CaG9ApoE.js";
9
9
  import { u as Ke } from "./use-direction-Dp8h70PP.js";
10
10
  import { u as Me } from "./registry-DvAUVLHh.js";
@@ -725,4 +725,4 @@ export {
725
725
  $e as b,
726
726
  Le as d
727
727
  };
728
- //# sourceMappingURL=data-table-tabs-DlTPtqoI.js.map
728
+ //# sourceMappingURL=data-table-tabs-CcgU2lr5.js.map
@@ -6,14 +6,14 @@ import { c as qt } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as A } from "react-i18next";
7
7
  import { useGridFilter as _t, AgGridReact as jt } from "ag-grid-react";
8
8
  import { ModuleRegistry as Wt, AllCommunityModule as Bt } from "ag-grid-community";
9
- import { I as $t } from "./icon-button-group-CRKFR48b.js";
9
+ import { I as $t } from "./icon-button-group-mXvYDaba.js";
10
10
  import { B as de } from "./button-DohK_Ak_.js";
11
11
  import { I as ie } from "./icon-button-S8_weU3g.js";
12
- import { P as he } from "./popover-Da1ekjV1.js";
12
+ import { P as he } from "./popover-CN5IsOeS.js";
13
13
  import { C as Ut } from "./checkbox-a7Sh-dXb.js";
14
14
  import { T as Kt } from "./text-input-CaG9ApoE.js";
15
15
  import { T as We } from "./tag-DOZGz0fT.js";
16
- import { D as ye } from "./dropdown-menu-D1we7oAY.js";
16
+ import { D as ye } from "./dropdown-menu-CqxBthww.js";
17
17
  import { X as $e } from "./x-B5YnXwCz.js";
18
18
  import { R as Ht } from "./refresh-cw-DnI0cLFC.js";
19
19
  import { S as Fe } from "./search-QbWPlY5f.js";
@@ -1991,4 +1991,4 @@ export {
1991
1991
  Rr as h,
1992
1992
  B as i
1993
1993
  };
1994
- //# sourceMappingURL=data-table-C_nnpJ-Q.js.map
1994
+ //# sourceMappingURL=data-table-xUDjZS_O.js.map
@@ -3,11 +3,11 @@ import { forwardRef as j, useMemo as I, useState as q, useImperativeHandle as E,
3
3
  import { c as $ } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as U } from "react-i18next";
5
5
  import { B as b } from "./badge-BUk4RjTS.js";
6
- import { C as B } from "./card-BA4Ig_kn.js";
6
+ import { C as B } from "./card-C85_Ndhb.js";
7
7
  import { E as G } from "./empty-state-DwJ5YNzz.js";
8
8
  import { P as Y } from "./panel-header-CbtlTe85.js";
9
9
  import { P as J } from "./pdf-viewer-gAsNUsA8.js";
10
- import { T as O, b as Q, c as X, a as Z } from "./tabs-BmxQu-TJ.js";
10
+ import { T as O, b as Q, c as X, a as Z } from "./tabs-DYHgRVSJ.js";
11
11
  import { u as ee } from "./registry-DvAUVLHh.js";
12
12
  import { F as ie } from "./file-image-cDgE-BTy.js";
13
13
  import { F as te } from "./file-text-5yv6r2ls.js";
@@ -288,4 +288,4 @@ export {
288
288
  ue as D,
289
289
  de as d
290
290
  };
291
- //# sourceMappingURL=document-preview-ytR1FcWA.js.map
291
+ //# sourceMappingURL=document-preview-DWIQryMW.js.map
@@ -2,7 +2,7 @@ import { jsxs as b, jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as m, useContext as P, useRef as M, useEffect as O, useMemo as _, useLayoutEffect as ne, createContext as G } from "react";
3
3
  import * as o from "@radix-ui/react-dropdown-menu";
4
4
  import { c as D } from "./index-D2ZczOXr.js";
5
- import { S as oe } from "./separator-CYU_bGFn.js";
5
+ import { S as oe } from "./separator-Bdc9bqoJ.js";
6
6
  import { K } from "./kbd-Bx7eQv9f.js";
7
7
  import { b as A } from "./menu-row-BAr8bx1I.js";
8
8
  import { P as E } from "./popup-region-qz_5_A0V.js";
@@ -592,4 +592,4 @@ export {
592
592
  ze as D,
593
593
  ue as d
594
594
  };
595
- //# sourceMappingURL=dropdown-menu-D1we7oAY.js.map
595
+ //# sourceMappingURL=dropdown-menu-CqxBthww.js.map
@@ -8,10 +8,10 @@ import { R as z } from "./radio-group-ChIKyeSJ.js";
8
8
  import { F as w } from "./form-field-CyHfOVKF.js";
9
9
  import { D as T } from "./date-picker-CdhXlgVI.js";
10
10
  import { N as Y } from "./number-input-CVwI1ltI.js";
11
- import { C as U } from "./card-BA4Ig_kn.js";
11
+ import { C as U } from "./card-C85_Ndhb.js";
12
12
  import { B as W } from "./badge-BUk4RjTS.js";
13
13
  import { I as ce } from "./insert-result-CDMMt7q8.js";
14
- import { D as x, r as ue, c as me, e as pe, f as he, A as ge, h as fe, i as ye } from "./antenatal-schedule-timeline-BGewPfEX.js";
14
+ import { D as x, r as ue, c as me, e as pe, f as he, A as ge, h as fe, i as ye } from "./antenatal-schedule-timeline-DmsY5g28.js";
15
15
  import { a as J } from "./date-picker-variants-Dt6UbonG.js";
16
16
  import { p as De } from "./parseISO-DZZ5a-zK.js";
17
17
  import { f as be } from "./format--x5jypvH.js";
@@ -568,4 +568,4 @@ Ae.displayName = "DueDateCalculator";
568
568
  export {
569
569
  Ae as D
570
570
  };
571
- //# sourceMappingURL=due-date-calculator-NjTlmoFK.js.map
571
+ //# sourceMappingURL=due-date-calculator-Dr2cDa64.js.map
@@ -0,0 +1,493 @@
1
+ import { jsxs as I, jsx as c } from "react/jsx-runtime";
2
+ import { useLayoutEffect as O, useMemo as V, useState as F, useRef as S, useEffect as A } from "react";
3
+ import { T as K } from "./tag-DOZGz0fT.js";
4
+ import { useTranslation as w } from "react-i18next";
5
+ import { I as z } from "./icon-button-S8_weU3g.js";
6
+ import { I as q } from "./icon-button-group-mXvYDaba.js";
7
+ import { A as G, a as X } from "./arrow-up-BYvcvTkB.js";
8
+ import { S as W } from "./square-check-big-dj0o8yA3.js";
9
+ import { S as Z } from "./square-DASBRZ0U.js";
10
+ import { u as J } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
11
+ import { c as P, a as U, b as j, d as M } from "./input-surface-iBmxVBfr.js";
12
+ const B = "data-slot", H = "header-info", T = `[${B}="${H}"]`;
13
+ function N(n) {
14
+ n.stopPropagation();
15
+ }
16
+ function Q({
17
+ displayName: n,
18
+ renderInfo: e,
19
+ api: t,
20
+ column: s,
21
+ eGridHeader: r
22
+ }) {
23
+ O(() => {
24
+ const o = r;
25
+ if (!(!o || !e))
26
+ return o.setAttribute("aria-label", n), () => o.removeAttribute("aria-label");
27
+ }, [n, e, r]);
28
+ const u = (o) => {
29
+ if (o.key !== "Tab" || o.shiftKey) return;
30
+ const l = o.target;
31
+ if (o.currentTarget.contains(l)) return;
32
+ const f = t.getDisplayedColAfter(s);
33
+ if (f) {
34
+ o.preventDefault(), t.setFocusedHeader(f);
35
+ return;
36
+ }
37
+ const a = t.getAllDisplayedColumns()[0];
38
+ t.getDisplayedRowCount() > 0 && a && (o.preventDefault(), t.setFocusedCell(0, a));
39
+ };
40
+ return /* @__PURE__ */ I("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-xs)]", children: [
41
+ /* @__PURE__ */ c("span", { className: "ds:min-w-0 ds:truncate", children: n }),
42
+ e && /* @__PURE__ */ c(
43
+ "span",
44
+ {
45
+ role: "presentation",
46
+ [B]: H,
47
+ className: "ds:inline-flex ds:shrink-0 ds:items-center",
48
+ onClick: N,
49
+ onDoubleClick: N,
50
+ onMouseDown: N,
51
+ onPointerDown: N,
52
+ onTouchStart: N,
53
+ onContextMenu: N,
54
+ onKeyDownCapture: u,
55
+ children: e()
56
+ }
57
+ )
58
+ ] });
59
+ }
60
+ function Y(n) {
61
+ const { event: e } = n, t = e.target;
62
+ if (!t || typeof t.closest != "function") return !1;
63
+ const s = t.closest(".ag-header-cell");
64
+ if (!s) return !1;
65
+ if (t.closest(T))
66
+ return e.key === "Tab" ? e.shiftKey ? (e.preventDefault(), s.focus(), !0) : !1 : !0;
67
+ if (t === s && e.key === "Tab" && !e.shiftKey) {
68
+ const r = s.querySelector(
69
+ `${T} button, ${T} a, ${T} [tabindex]`
70
+ );
71
+ if (r)
72
+ return e.preventDefault(), r.focus(), !0;
73
+ }
74
+ return !1;
75
+ }
76
+ function Ce(n, e) {
77
+ var r;
78
+ const t = typeof e == "function" ? e : () => e, s = n.suppressHeaderKeyboardEvent;
79
+ return {
80
+ ...n,
81
+ headerComponentParams: {
82
+ ...n.headerComponentParams,
83
+ innerHeaderComponent: Q,
84
+ innerHeaderComponentParams: {
85
+ ...(r = n.headerComponentParams) == null ? void 0 : r.innerHeaderComponentParams,
86
+ renderInfo: t
87
+ }
88
+ },
89
+ suppressHeaderKeyboardEvent: (u) => Y(u) || (typeof s == "function" ? s(u) : !1)
90
+ };
91
+ }
92
+ function Ne(n, e, t) {
93
+ return V(() => {
94
+ const s = {};
95
+ for (const r of e) {
96
+ let u = 0;
97
+ for (const o of n ?? []) {
98
+ const l = o[r], f = typeof l == "number" ? l : Number(l);
99
+ Number.isFinite(f) && (u += f);
100
+ }
101
+ s[r] = u;
102
+ }
103
+ return t != null && t.labelField && t.labelValue !== void 0 && (s[t.labelField] = t.labelValue), s;
104
+ }, [n, e, t == null ? void 0 : t.labelField, t == null ? void 0 : t.labelValue]);
105
+ }
106
+ function ee() {
107
+ return /* @__PURE__ */ c(
108
+ "svg",
109
+ {
110
+ viewBox: "0 0 24 24",
111
+ fill: "none",
112
+ stroke: "currentColor",
113
+ strokeWidth: 1.75,
114
+ strokeLinecap: "round",
115
+ strokeLinejoin: "round",
116
+ "aria-hidden": "true",
117
+ className: "ds:size-3.5",
118
+ children: /* @__PURE__ */ c("path", { d: "M12 5.5c-1.074 -1.426 -2.45 -2.2 -4 -2c-2.5 .323 -3.7 2.5 -3.5 5c.1 1.5 .5 3 .5 4.5c0 1.5 .5 3.5 1 5c.3 .9 .5 2 1.5 2s1.3 -1.5 1.5 -2.5c.2 -1 .5 -2 1.5 -2s1.3 1 1.5 2c.2 1 .5 2.5 1.5 2.5s1.2 -1.1 1.5 -2c.5 -1.5 1 -3.5 1 -5c0 -1.5 .4 -3 .5 -4.5c.2 -2.5 -1 -4.677 -3.5 -5c-1.55 -.2 -2.926 .574 -4 2z" })
119
+ }
120
+ );
121
+ }
122
+ function xe(n) {
123
+ const { value: e, maxInlineSize: t = "8rem" } = n;
124
+ return !Array.isArray(e) || e.length === 0 ? null : /* @__PURE__ */ c(
125
+ K,
126
+ {
127
+ label: e.join(", "),
128
+ size: "sm",
129
+ fill: "outline",
130
+ leading: /* @__PURE__ */ c(ee, {}),
131
+ maxInlineSize: t
132
+ }
133
+ );
134
+ }
135
+ function te(n) {
136
+ if (n == null || n === "") return null;
137
+ const e = typeof n == "number" ? n : Number(n);
138
+ return Number.isFinite(e) ? e : null;
139
+ }
140
+ function we(n) {
141
+ const {
142
+ value: e,
143
+ currency: t = "EUR",
144
+ colorNegative: s,
145
+ strikethrough: r,
146
+ options: u
147
+ } = n, { i18n: o } = w("ui"), l = te(e);
148
+ if (l === null) return null;
149
+ const f = o.language || "en", a = new Intl.NumberFormat(f, {
150
+ style: "currency",
151
+ currency: t,
152
+ ...u
153
+ }).format(l), i = ["ds:tabular-nums"];
154
+ return s && l < 0 && i.push("ds:text-[color:var(--destructive)]"), r && i.push("line-through"), /* @__PURE__ */ c("span", { className: i.join(" "), children: a });
155
+ }
156
+ function Te() {
157
+ return 90;
158
+ }
159
+ function Ee(n) {
160
+ const {
161
+ data: e,
162
+ node: t,
163
+ api: s,
164
+ onMove: r,
165
+ moveUpLabel: u,
166
+ moveDownLabel: o,
167
+ intent: l = "ghost",
168
+ group: f = !0,
169
+ disableAtEnds: a = !0
170
+ } = n, { t: i } = w("ui");
171
+ if (!e) return null;
172
+ const d = t.rowIndex ?? -1, b = s.getDisplayedRowCount() - 1, g = a && d <= 0, x = a && d >= b, y = u ?? i("dataTable.moveUp", "Move up"), C = o ?? i("dataTable.moveDown", "Move down"), m = [
173
+ /* @__PURE__ */ c(
174
+ z,
175
+ {
176
+ size: "sm",
177
+ intent: l,
178
+ icon: /* @__PURE__ */ c(G, { "aria-hidden": !0, className: "ds:size-4" }),
179
+ tooltip: y,
180
+ "aria-label": y,
181
+ disabled: g,
182
+ onClick: (p) => {
183
+ p.stopPropagation(), r(e, "up");
184
+ }
185
+ },
186
+ "up"
187
+ ),
188
+ /* @__PURE__ */ c(
189
+ z,
190
+ {
191
+ size: "sm",
192
+ intent: l,
193
+ icon: /* @__PURE__ */ c(X, { "aria-hidden": !0, className: "ds:size-4" }),
194
+ tooltip: C,
195
+ "aria-label": C,
196
+ disabled: x,
197
+ onClick: (p) => {
198
+ p.stopPropagation(), r(e, "down");
199
+ }
200
+ },
201
+ "down"
202
+ )
203
+ ];
204
+ return f ? /* @__PURE__ */ c(
205
+ q,
206
+ {
207
+ "aria-label": i("dataTable.reorder", "Reorder row"),
208
+ size: "sm",
209
+ children: m
210
+ }
211
+ ) : /* @__PURE__ */ c("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: m });
212
+ }
213
+ function Re(n) {
214
+ const {
215
+ value: e,
216
+ data: t,
217
+ onToggle: s,
218
+ onError: r,
219
+ trueIcon: u,
220
+ falseIcon: o,
221
+ trueClass: l = "ds:text-[color:var(--success)]",
222
+ falseClass: f = "ds:text-[color:var(--muted-foreground)]",
223
+ label: a
224
+ } = n, { t: i } = w("ui"), [d, b] = F(!1);
225
+ if (!t) return null;
226
+ const g = !!e, x = g ? u ?? /* @__PURE__ */ c(W, { "aria-hidden": !0, className: "ds:size-4" }) : o ?? /* @__PURE__ */ c(Z, { "aria-hidden": !0, className: "ds:size-4" }), y = g ? l : f, C = a ?? i(g ? "inputs.switch.on" : "inputs.switch.off");
227
+ async function m(p) {
228
+ if (p.stopPropagation(), d || !t) return;
229
+ const v = s(t, !g);
230
+ if (v && typeof v.then == "function") {
231
+ b(!0);
232
+ try {
233
+ await v;
234
+ } catch (E) {
235
+ r == null || r(t, E);
236
+ } finally {
237
+ b(!1);
238
+ }
239
+ }
240
+ }
241
+ return /* @__PURE__ */ c(
242
+ "button",
243
+ {
244
+ type: "button",
245
+ role: "switch",
246
+ "aria-checked": g,
247
+ "aria-busy": d,
248
+ "aria-label": C,
249
+ disabled: d,
250
+ onClick: m,
251
+ className: [
252
+ "ds:inline-flex ds:items-center ds:justify-center",
253
+ "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
254
+ "ds:appearance-none ds:bg-transparent ds:p-[var(--spacing-xs)]",
255
+ "ds:rounded-[var(--radius-sm)]",
256
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)]",
257
+ "ds:focus-visible:outline-solid",
258
+ "ds:focus-visible:outline-[color:var(--ring)]",
259
+ "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
260
+ "ds:disabled:opacity-50",
261
+ y
262
+ ].join(" "),
263
+ children: x
264
+ }
265
+ );
266
+ }
267
+ const ne = {
268
+ sm: "ds:size-[var(--icon-size-sm)]",
269
+ md: "ds:size-[var(--icon-size-md)]",
270
+ lg: "ds:size-[var(--icon-size-lg)]"
271
+ };
272
+ function L(n, e) {
273
+ if (!n || typeof n != "object") return;
274
+ const t = n[e];
275
+ return typeof t == "string" ? t : void 0;
276
+ }
277
+ const re = /^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i, se = /^rgba?\(\s*[\d.\s,%/]+\)$/i, ae = /^hsla?\(\s*[\d.\s,%/]+\)$/i, oe = /^var\(--[a-z0-9-]+(?:,\s*[^)]+)?\)$/i;
278
+ function le(n) {
279
+ if (!n) return;
280
+ const e = n.trim();
281
+ if (re.test(e) || se.test(e) || ae.test(e) || oe.test(e))
282
+ return e;
283
+ }
284
+ function Ie(n) {
285
+ const { data: e, colorField: t, size: s = "md", labelField: r } = n, u = S(null), o = e ? L(e, t) : void 0, l = le(o), f = e && r ? L(e, r) : void 0;
286
+ return J(() => {
287
+ const a = u.current;
288
+ a && (l ? a.style.setProperty("--data-table-dot-color", l) : a.style.removeProperty("--data-table-dot-color"));
289
+ }, [l]), l ? /* @__PURE__ */ I("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
290
+ /* @__PURE__ */ c(
291
+ "span",
292
+ {
293
+ ref: u,
294
+ "aria-hidden": "true",
295
+ className: [
296
+ "ds:inline-block ds:shrink-0 ds:rounded-[var(--radius-full)]",
297
+ "ds:bg-[var(--data-table-dot-color)]",
298
+ "ds:border ds:border-[color:var(--border)]",
299
+ ne[s]
300
+ ].join(" ")
301
+ }
302
+ ),
303
+ f ? /* @__PURE__ */ c("span", { children: f }) : null
304
+ ] }) : null;
305
+ }
306
+ function ie(n, e) {
307
+ if (!n || typeof n != "object") return null;
308
+ const t = n[e], s = typeof t == "number" ? t : Number(t);
309
+ return Number.isFinite(s) ? s : null;
310
+ }
311
+ function Fe(n) {
312
+ const { data: e, lines: t, currency: s = "EUR", highlightNegative: r } = n, { i18n: u } = w("ui");
313
+ if (!e) return null;
314
+ const o = u.language || "en", l = (a) => {
315
+ const i = ie(e, a.valueField);
316
+ if (i === null) return null;
317
+ let d;
318
+ switch (a.format ?? "number") {
319
+ case "currency":
320
+ d = new Intl.NumberFormat(o, {
321
+ style: "currency",
322
+ currency: s
323
+ }).format(i);
324
+ break;
325
+ case "percent":
326
+ d = new Intl.NumberFormat(o, {
327
+ style: "percent",
328
+ maximumFractionDigits: 1
329
+ }).format(i / 100);
330
+ break;
331
+ default:
332
+ d = new Intl.NumberFormat(o).format(i);
333
+ }
334
+ return {
335
+ label: a.label,
336
+ formatted: d,
337
+ negative: !!r && i < 0
338
+ };
339
+ }, f = t.map(l).filter(
340
+ (a) => a !== null
341
+ );
342
+ return f.length === 0 ? null : /* @__PURE__ */ c(
343
+ "div",
344
+ {
345
+ className: [
346
+ "ds:flex",
347
+ "ds:flex-wrap",
348
+ "ds:items-center",
349
+ "ds:gap-x-[var(--spacing-sm)]",
350
+ "ds:gap-y-0",
351
+ "type-meta",
352
+ "ds:leading-tight"
353
+ ].join(" "),
354
+ children: f.map((a, i) => /* @__PURE__ */ I(
355
+ "span",
356
+ {
357
+ className: "ds:inline-flex ds:items-baseline ds:gap-x-[var(--spacing-xs)]",
358
+ children: [
359
+ i > 0 ? /* @__PURE__ */ c(
360
+ "span",
361
+ {
362
+ "aria-hidden": "true",
363
+ className: "ds:me-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]",
364
+ children: "·"
365
+ }
366
+ ) : null,
367
+ /* @__PURE__ */ c("span", { className: "ds:text-[color:var(--muted-foreground)]", children: a.label }),
368
+ /* @__PURE__ */ c(
369
+ "span",
370
+ {
371
+ className: [
372
+ "ds:tabular-nums",
373
+ "ds:font-medium",
374
+ a.negative ? "ds:text-[color:var(--destructive)]" : ""
375
+ ].filter(Boolean).join(" "),
376
+ children: a.formatted
377
+ }
378
+ )
379
+ ]
380
+ },
381
+ `${a.label}-${i}`
382
+ ))
383
+ }
384
+ );
385
+ }
386
+ function Se(n) {
387
+ var a, i;
388
+ const { initialValue: e, onValueChange: t, stopEditing: s, column: r } = n, [u, o] = F(e ?? ""), l = S(null);
389
+ A(() => {
390
+ const d = l.current;
391
+ d && (d.focus(), d.select());
392
+ }, []);
393
+ const f = ((i = (a = r == null ? void 0 : r.getColDef) == null ? void 0 : a.call(r)) == null ? void 0 : i.headerName) ?? void 0;
394
+ return /* @__PURE__ */ c(
395
+ "input",
396
+ {
397
+ ref: l,
398
+ type: "text",
399
+ value: u,
400
+ "aria-label": f,
401
+ onChange: (d) => {
402
+ const b = d.target.value;
403
+ o(b), t(b);
404
+ },
405
+ onKeyDown: (d) => {
406
+ d.key === "Enter" && (d.preventDefault(), s());
407
+ },
408
+ className: [
409
+ "ds:block ds:w-full ds:appearance-none",
410
+ // Input surface chrome: rounded border + bg + focus halo.
411
+ P,
412
+ // Use the `md` height (`--min-target-size`) so the input
413
+ // auto-lifts to 48px under `.theme-accessible` to satisfy
414
+ // WCAG 2.5.5 target size.
415
+ U.md,
416
+ j.sm,
417
+ M.sm
418
+ ].join(" ")
419
+ }
420
+ );
421
+ }
422
+ function ke(n) {
423
+ var y, C;
424
+ const {
425
+ initialValue: e,
426
+ onValueChange: t,
427
+ stopEditing: s,
428
+ column: r,
429
+ decimals: u = 2,
430
+ min: o,
431
+ max: l
432
+ } = n, { i18n: f } = w("ui"), a = S(null), i = ((C = (y = r == null ? void 0 : r.getColDef) == null ? void 0 : y.call(r)) == null ? void 0 : C.headerName) ?? void 0, [d, b] = F(() => e == null || Number.isNaN(e) ? "" : String(e));
433
+ A(() => {
434
+ const m = a.current;
435
+ m && (m.focus(), m.select());
436
+ }, []);
437
+ function g(m) {
438
+ var _, D;
439
+ if (m.trim().length === 0) return null;
440
+ const p = f.language || "en", h = new Intl.NumberFormat(p).formatToParts(12345.6), v = ((_ = h.find((R) => R.type === "group")) == null ? void 0 : _.value) ?? "", E = ((D = h.find((R) => R.type === "decimal")) == null ? void 0 : D.value) ?? ".", $ = m.replace(new RegExp(`\\${v}`, "g"), "").replace(E, ".").replace(/[^\d.-]/g, ""), k = Number($);
441
+ return Number.isFinite(k) ? k : null;
442
+ }
443
+ function x(m) {
444
+ const p = g(m);
445
+ if (p == null) {
446
+ t(null);
447
+ return;
448
+ }
449
+ let h = p;
450
+ typeof o == "number" && (h = Math.max(o, h)), typeof l == "number" && (h = Math.min(l, h));
451
+ const v = 10 ** u;
452
+ t(Math.round(h * v) / v);
453
+ }
454
+ return /* @__PURE__ */ c(
455
+ "input",
456
+ {
457
+ ref: a,
458
+ type: "text",
459
+ inputMode: "decimal",
460
+ value: d,
461
+ "aria-label": i,
462
+ onChange: (m) => {
463
+ const p = m.target.value;
464
+ b(p), x(p);
465
+ },
466
+ onKeyDown: (m) => {
467
+ m.key === "Enter" && (m.preventDefault(), s());
468
+ },
469
+ className: [
470
+ "ds:block ds:w-full ds:appearance-none ds:text-end ds:tabular-nums",
471
+ P,
472
+ // Use `md` height — see editable-text-cell-renderer for rationale.
473
+ U.md,
474
+ j.sm,
475
+ M.sm
476
+ ].join(" ")
477
+ }
478
+ );
479
+ }
480
+ export {
481
+ Fe as B,
482
+ Ie as C,
483
+ ke as E,
484
+ Ee as R,
485
+ Re as T,
486
+ we as a,
487
+ Se as b,
488
+ xe as c,
489
+ Te as r,
490
+ Ne as u,
491
+ Ce as w
492
+ };
493
+ //# sourceMappingURL=editable-currency-cell-renderer-BEaj2NT_.js.map
@@ -5,7 +5,7 @@ import { A as I } from "./alert-9kEwDza3.js";
5
5
  import { A as H } from "./avatar-a6042Ox2.js";
6
6
  import { B as $ } from "./button-DohK_Ak_.js";
7
7
  import { I as O } from "./icon-button-S8_weU3g.js";
8
- import { C } from "./card-BA4Ig_kn.js";
8
+ import { C } from "./card-C85_Ndhb.js";
9
9
  import { L as F } from "./link-DtCfnLnF.js";
10
10
  import { P as G } from "./panel-header-CbtlTe85.js";
11
11
  import { T as W } from "./timestamp-DPLDWdxA.js";
@@ -274,4 +274,4 @@ function ae({ section: t }) {
274
274
  export {
275
275
  be as E
276
276
  };
277
- //# sourceMappingURL=entity-summary-B_bOloqP.js.map
277
+ //# sourceMappingURL=entity-summary-BJdfIsk_.js.map