@alfadocs/ui-kit 1.150.0 → 1.151.1

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 (263) hide show
  1. package/dist/_chunks/{address-autocomplete-_LeOFdM7.js → address-autocomplete-Bt1nwxyn.js} +2 -2
  2. package/dist/_chunks/{address-fields-C4khof4C.js → address-fields-COumFRSX.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-NgxPuAAz.js → agenda-tray-CmfcYQhc.js} +2 -2
  4. package/dist/_chunks/{ai-summary-panel-D-RNe-_n.js → ai-summary-panel-DyAHCqaj.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-Bjuxk8mU.js → alia-sidebar-BqZjnVoF.js} +2 -2
  6. package/dist/_chunks/{anamnesis-card-G0qzw0Oi.js → anamnesis-card-CoiG7vDj.js} +2 -2
  7. package/dist/_chunks/{anamnesis-summary-rows-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js} +3 -3
  8. package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
  9. package/dist/_chunks/{appointment-card-BPZggqck.js → appointment-card-CCKjbU5y.js} +105 -104
  10. package/dist/_chunks/{appointment-details-panel.history-BO31ZFQp.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
  11. package/dist/_chunks/{appointment-details-panel.identity-C9kWtC6m.js → appointment-details-panel.identity-9hRo85Lx.js} +4 -4
  12. package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
  13. package/dist/_chunks/{appointment-timeline-ynFqcw0S.js → appointment-timeline-B9KRurfc.js} +3 -3
  14. package/dist/_chunks/{appointment-tray-Dx5VDREk.js → appointment-tray-Be3HuEyO.js} +3 -3
  15. package/dist/_chunks/{balance-badge-cell-DiyJQcmA.js → balance-badge-cell-OghXENKK.js} +3 -3
  16. package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
  17. package/dist/_chunks/{calendar-appointment-editor-dialog-BfoEpFVx.js → calendar-appointment-editor-dialog-B9MtcBvx.js} +337 -334
  18. package/dist/_chunks/{calendar-editor-discard-host-DO506cJu.js → calendar-editor-discard-host-BudLsUZO.js} +3 -3
  19. package/dist/_chunks/{calendar-waiting-list-panel-CyMTv2y3.js → calendar-waiting-list-panel-DukgSOPH.js} +7 -7
  20. package/dist/_chunks/{calendar-workspace.model-X3aXbDTo.js → calendar-workspace.model-BulUpy0I.js} +2 -2
  21. package/dist/_chunks/{calendar.sheets-C8x8kPb4.js → calendar.sheets-OmTiQdCg.js} +8 -8
  22. package/dist/_chunks/{calls-panel-Bpemmnpd.js → calls-panel-eohONLia.js} +3 -3
  23. package/dist/_chunks/code-BfU9G1ZM.js +15 -0
  24. package/dist/_chunks/{communications-panel-Cd0TBEhL.js → communications-panel-CqiFs8BH.js} +3 -3
  25. package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
  26. package/dist/_chunks/control-room-rail-C-3o1e0e.js +456 -0
  27. package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
  28. package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
  29. package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
  30. package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
  31. package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
  32. package/dist/_chunks/{document-preview-Zws6CHhK.js → document-preview-TbwhY_eK.js} +3 -3
  33. package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
  34. package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
  35. package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
  36. package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
  37. package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
  38. package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
  39. package/dist/_chunks/{feature-preview-switch-PKeLaFry.js → feature-preview-switch-B_8JTya_.js} +2 -2
  40. package/dist/_chunks/{file-manager-DzOCQBAO.js → file-manager-DMvYx-Gq.js} +4 -4
  41. package/dist/_chunks/{folder-CH9PJHou.js → folder-DvNxod7_.js} +3 -3
  42. package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
  43. package/dist/_chunks/{help-me-write-templates-B_wMJ82X.js → help-me-write-templates-VnvlK87x.js} +2 -2
  44. package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
  45. package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
  46. package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
  47. package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
  48. package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
  49. package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
  50. package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
  51. package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
  52. package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
  53. package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
  54. package/dist/_chunks/{notes-panel-BguRX8VC.js → notes-panel-d0I3hOEY.js} +162 -173
  55. package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
  56. package/dist/_chunks/{optical-prescription-BzGnlIjq.js → optical-prescription-CAnXavjq.js} +2 -2
  57. package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
  58. package/dist/_chunks/{panel-subview-Om_yZvFG.js → panel-subview-B5hnQwfQ.js} +2 -2
  59. package/dist/_chunks/{patient-account-settings-YKnBzmwE.js → patient-account-settings-DmB_h5fq.js} +3 -3
  60. package/dist/_chunks/{patient-check-in-resume-DERfQbp5.js → patient-check-in-resume-CI54cY8Z.js} +6 -6
  61. package/dist/_chunks/{patient-details-BUD0UbmT.js → patient-details-wFIzTz7N.js} +3 -3
  62. package/dist/_chunks/{patient-field-row-DytaHdGw.js → patient-field-row-BDgfYLgz.js} +2 -2
  63. package/dist/_chunks/{patient-summary-card-7Werxl48.js → patient-summary-card-ZunOre3Q.js} +162 -155
  64. package/dist/_chunks/{payment-request-card-BF3rakTQ.js → payment-request-card-BSSfKrcc.js} +2 -2
  65. package/dist/_chunks/{portal-details-C1QQGPQf.js → portal-details-BZm8UNMx.js} +4 -4
  66. package/dist/_chunks/{portal-documents-CzEuCaqv.js → portal-documents-CBVSCKAB.js} +3 -3
  67. package/dist/_chunks/{portal-parts-BMW4t57s.js → portal-parts-DRfyhL5P.js} +3 -3
  68. package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
  69. package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
  70. package/dist/_chunks/{privacy-mask-CrjD5PYW.js → privacy-mask-CaLBAxzj.js} +2 -2
  71. package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
  72. package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
  73. package/dist/_chunks/{radiograph-panel.agent-Kl1M0dtT.js → radiograph-panel.agent-kgCmmgZk.js} +2 -2
  74. package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
  75. package/dist/_chunks/{registry-connection-panel-kdKbGQE6.js → registry-connection-panel-BkPPA3Fj.js} +3 -3
  76. package/dist/_chunks/{reserved.agent-CW0frsMv.js → reserved.agent-C-sMq0pb.js} +4 -4
  77. package/dist/_chunks/{reviews-panel-54AFY6uy.js → reviews-panel-jIz5aP2X.js} +3 -3
  78. package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
  79. package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
  80. package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
  81. package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
  82. package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
  83. package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
  84. package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
  85. package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
  86. package/dist/_chunks/{task-editor-CIHQQRtP.js → task-editor-aXjGMwYA.js} +4 -4
  87. package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
  88. package/dist/_chunks/{tasks-panel-Bc_odkQN.js → tasks-panel-BdxHb-fX.js} +2 -2
  89. package/dist/_chunks/{tool-rail-CJBtqzMs.js → tool-rail-C_Ay0Gxi.js} +260 -256
  90. package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
  91. package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
  92. package/dist/_chunks/{treatment-receipt-B6m47Jie.js → treatment-receipt-CZQV1NkJ.js} +45 -46
  93. package/dist/_chunks/{use-appointment-details-read-HVHbR0Zl.js → use-appointment-details-read-BR3TQOHx.js} +878 -809
  94. package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
  95. package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
  96. package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
  97. package/dist/agent-catalog.json +1 -1
  98. package/dist/appointment-editor-panel/index.js +3 -3
  99. package/dist/booking-tools-data/index.js +1 -1
  100. package/dist/browser-support.js +1 -1
  101. package/dist/calendar-action-buttons/index.js +1 -1
  102. package/dist/components/_shared/mark-adrift.d.ts +12 -0
  103. package/dist/components/_shared/safe-html.d.ts +6 -0
  104. package/dist/components/_shared/tooth-chip.d.ts +21 -0
  105. package/dist/components/address-autocomplete/index.js +1 -1
  106. package/dist/components/address-fields/index.js +1 -1
  107. package/dist/components/agenda-tray/index.js +1 -1
  108. package/dist/components/ai-summary-panel/index.js +1 -1
  109. package/dist/components/anamnesis-card/index.js +1 -1
  110. package/dist/components/app-frame/index.js +1 -1
  111. package/dist/components/appointment-card/appointment-card.d.ts +5 -1
  112. package/dist/components/appointment-card/index.js +2 -2
  113. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +9 -2
  114. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +9 -2
  115. package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
  116. package/dist/components/appointment-details-panel/index.d.ts +1 -0
  117. package/dist/components/appointment-details-panel/index.js +7 -6
  118. package/dist/components/appointment-peek/index.js +1 -1
  119. package/dist/components/appointment-timeline/index.js +1 -1
  120. package/dist/components/bill-line-table/index.js +1 -1
  121. package/dist/components/bill-table/index.js +1 -1
  122. package/dist/components/booking/index.js +1 -1
  123. package/dist/components/calls-panel/index.js +1 -1
  124. package/dist/components/communications-panel/index.js +1 -1
  125. package/dist/components/connection-status/index.js +1 -1
  126. package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
  127. package/dist/components/control-room-rail/index.js +1 -1
  128. package/dist/components/data-grid/index.js +2 -2
  129. package/dist/components/data-table/index.js +3 -3
  130. package/dist/components/description-list/index.js +1 -1
  131. package/dist/components/dev-bypass-button/index.js +1 -1
  132. package/dist/components/document-preview/index.js +1 -1
  133. package/dist/components/empty-state/index.js +1 -1
  134. package/dist/components/error-boundary/index.js +1 -1
  135. package/dist/components/face-scheme/index.js +1 -1
  136. package/dist/components/feature-preview-switch/index.js +1 -1
  137. package/dist/components/file-manager/index.js +1 -1
  138. package/dist/components/heatmap/index.js +1 -1
  139. package/dist/components/info-tip/index.js +1 -1
  140. package/dist/components/invoice-upload-list/index.js +1 -1
  141. package/dist/components/map-view/index.js +1 -1
  142. package/dist/components/message-tray/index.js +1 -1
  143. package/dist/components/note-timeline/index.js +1 -1
  144. package/dist/components/note-timeline/note-timeline.d.ts +8 -0
  145. package/dist/components/notes-panel/index.js +1 -1
  146. package/dist/components/notes-panel/notes-panel.d.ts +18 -7
  147. package/dist/components/notification-tray/index.js +1 -1
  148. package/dist/components/optical-prescription/index.js +1 -1
  149. package/dist/components/panel-subview/index.js +1 -1
  150. package/dist/components/patient-details/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/practice-results/index.js +1 -1
  155. package/dist/components/product-hub-tray/index.js +1 -1
  156. package/dist/components/public-header/index.js +1 -1
  157. package/dist/components/radiograph-panel/index.js +1 -1
  158. package/dist/components/registry-connection-panel/index.js +1 -1
  159. package/dist/components/reviews-panel/index.js +1 -1
  160. package/dist/components/rich-text-editor/editor-toolbar.d.ts +16 -6
  161. package/dist/components/rich-text-editor/index.d.ts +1 -1
  162. package/dist/components/rich-text-editor/index.js +1 -1
  163. package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
  164. package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
  165. package/dist/components/scroll-area/index.js +1 -1
  166. package/dist/components/scroll-area/scroll-area.d.ts +6 -0
  167. package/dist/components/sheet/index.js +1 -1
  168. package/dist/components/sidebar/index.js +1 -1
  169. package/dist/components/slot-grid/index.js +1 -1
  170. package/dist/components/sync-tray/index.js +1 -1
  171. package/dist/components/task-editor/index.js +1 -1
  172. package/dist/components/task-tray/index.js +1 -1
  173. package/dist/components/tasks-panel/index.js +1 -1
  174. package/dist/components/tool-rail/index.js +1 -1
  175. package/dist/components/tool-rail/tool-rail.d.ts +14 -0
  176. package/dist/components/treatment-receipt/index.js +1 -1
  177. package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
  178. package/dist/components/week-availability/index.js +1 -1
  179. package/dist/components/workflow/index.js +1 -1
  180. package/dist/core.css +1 -1
  181. package/dist/find-free-slots-panel/index.js +1 -1
  182. package/dist/host-compat.css +4 -1
  183. package/dist/host-legacy.css +13 -1
  184. package/dist/i18n/locales/ar.d.ts +9 -0
  185. package/dist/i18n/locales/ar.js +11 -2
  186. package/dist/i18n/locales/de.d.ts +9 -0
  187. package/dist/i18n/locales/de.js +11 -2
  188. package/dist/i18n/locales/el.d.ts +9 -0
  189. package/dist/i18n/locales/el.js +11 -2
  190. package/dist/i18n/locales/en.d.ts +9 -0
  191. package/dist/i18n/locales/en.js +10 -1
  192. package/dist/i18n/locales/es.d.ts +9 -0
  193. package/dist/i18n/locales/es.js +11 -2
  194. package/dist/i18n/locales/fr.d.ts +9 -0
  195. package/dist/i18n/locales/fr.js +11 -2
  196. package/dist/i18n/locales/hi.d.ts +9 -0
  197. package/dist/i18n/locales/hi.js +11 -2
  198. package/dist/i18n/locales/it.d.ts +9 -0
  199. package/dist/i18n/locales/it.js +11 -2
  200. package/dist/i18n/locales/ja.d.ts +9 -0
  201. package/dist/i18n/locales/ja.js +11 -2
  202. package/dist/i18n/locales/nl.d.ts +9 -0
  203. package/dist/i18n/locales/nl.js +11 -2
  204. package/dist/i18n/locales/pl.d.ts +9 -0
  205. package/dist/i18n/locales/pl.js +11 -2
  206. package/dist/i18n/locales/pt.d.ts +9 -0
  207. package/dist/i18n/locales/pt.js +11 -2
  208. package/dist/i18n/locales/ro.d.ts +9 -0
  209. package/dist/i18n/locales/ro.js +11 -2
  210. package/dist/i18n/locales/ru.d.ts +9 -0
  211. package/dist/i18n/locales/ru.js +11 -2
  212. package/dist/i18n/locales/sq.d.ts +9 -0
  213. package/dist/i18n/locales/sq.js +11 -2
  214. package/dist/i18n/locales/sv.d.ts +9 -0
  215. package/dist/i18n/locales/sv.js +11 -2
  216. package/dist/i18n/locales/tr.d.ts +9 -0
  217. package/dist/i18n/locales/tr.js +11 -2
  218. package/dist/i18n/locales/zh.d.ts +9 -0
  219. package/dist/i18n/locales/zh.js +11 -2
  220. package/dist/index.js +818 -817
  221. package/dist/locales/ar.json +11 -2
  222. package/dist/locales/de.json +11 -2
  223. package/dist/locales/el.json +11 -2
  224. package/dist/locales/en.json +10 -1
  225. package/dist/locales/es.json +11 -2
  226. package/dist/locales/fr.json +11 -2
  227. package/dist/locales/hi.json +11 -2
  228. package/dist/locales/it.json +11 -2
  229. package/dist/locales/ja.json +11 -2
  230. package/dist/locales/nl.json +11 -2
  231. package/dist/locales/pl.json +11 -2
  232. package/dist/locales/pt.json +11 -2
  233. package/dist/locales/ro.json +11 -2
  234. package/dist/locales/ru.json +11 -2
  235. package/dist/locales/sq.json +11 -2
  236. package/dist/locales/sv.json +11 -2
  237. package/dist/locales/tr.json +11 -2
  238. package/dist/locales/zh.json +11 -2
  239. package/dist/online-bookings-panel/index.js +2 -2
  240. package/dist/patterns/alia-assistant/index.js +1 -1
  241. package/dist/patterns/anamnesis/index.js +1 -1
  242. package/dist/patterns/calendar/index.js +4 -4
  243. package/dist/patterns/error-page/index.js +2 -2
  244. package/dist/patterns/help-me-write-templates/index.js +1 -1
  245. package/dist/patterns/login-form/index.js +1 -1
  246. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  247. package/dist/patterns/patient-account-settings/index.js +1 -1
  248. package/dist/patterns/patient-check-in/index.js +1 -1
  249. package/dist/patterns/patient-portal/index.js +2 -2
  250. package/dist/patterns/prescription/index.js +1 -1
  251. package/dist/patterns/registration-form/index.js +1 -1
  252. package/dist/patterns/signed-out-frame/index.js +1 -1
  253. package/dist/patterns/signing/index.js +1 -1
  254. package/dist/redactor.css +9 -0
  255. package/dist/safe-html/index.js +33 -19
  256. package/dist/tokens.css +61 -52
  257. package/dist/waiting-list-panel/index.js +3 -3
  258. package/package.json +1 -1
  259. package/dist/_chunks/appointment-peek-CGJ6kUvM.js +0 -213
  260. package/dist/_chunks/control-room-rail-4W1MFY-g.js +0 -416
  261. package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
  262. package/dist/_chunks/rich-text-editor-DCQEpaIv.js +0 -4523
  263. /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
@@ -1,6 +1,6 @@
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-BNlcEJfE.js";
1
+ import { jsxs as I, jsx as f } from "react/jsx-runtime";
2
+ import { useLayoutEffect as O, useMemo as V, useState as F, useRef as S, useEffect as L } from "react";
3
+ import { T as K } from "./tooth-chip-DOv925IH.js";
4
4
  import { useTranslation as w } from "react-i18next";
5
5
  import { I as z } from "./icon-button-u9VMQn3x.js";
6
6
  import { I as q } from "./icon-button-group-DEAx9M5v.js";
@@ -9,7 +9,7 @@ import { S as W } from "./square-check-big-dj0o8yA3.js";
9
9
  import { S as Z } from "./square-DASBRZ0U.js";
10
10
  import { u as J } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
11
11
  import { c as P, a as U, b as j, d as M } from "./input-surface-BMffm2Vd.js";
12
- const B = "data-slot", H = "header-info", T = `[${B}="${H}"]`;
12
+ const H = "data-slot", $ = "header-info", T = `[${H}="${$}"]`;
13
13
  function N(n) {
14
14
  n.stopPropagation();
15
15
  }
@@ -17,7 +17,7 @@ function Q({
17
17
  displayName: n,
18
18
  renderInfo: e,
19
19
  api: t,
20
- column: s,
20
+ column: a,
21
21
  eGridHeader: r
22
22
  }) {
23
23
  O(() => {
@@ -25,25 +25,25 @@ function Q({
25
25
  if (!(!o || !e))
26
26
  return o.setAttribute("aria-label", n), () => o.removeAttribute("aria-label");
27
27
  }, [n, e, r]);
28
- const u = (o) => {
28
+ const c = (o) => {
29
29
  if (o.key !== "Tab" || o.shiftKey) return;
30
30
  const l = o.target;
31
31
  if (o.currentTarget.contains(l)) return;
32
- const f = t.getDisplayedColAfter(s);
33
- if (f) {
34
- o.preventDefault(), t.setFocusedHeader(f);
32
+ const d = t.getDisplayedColAfter(a);
33
+ if (d) {
34
+ o.preventDefault(), t.setFocusedHeader(d);
35
35
  return;
36
36
  }
37
- const a = t.getAllDisplayedColumns()[0];
38
- t.getDisplayedRowCount() > 0 && a && (o.preventDefault(), t.setFocusedCell(0, a));
37
+ const s = t.getAllDisplayedColumns()[0];
38
+ t.getDisplayedRowCount() > 0 && s && (o.preventDefault(), t.setFocusedCell(0, s));
39
39
  };
40
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(
41
+ /* @__PURE__ */ f("span", { className: "ds:min-w-0 ds:truncate", children: n }),
42
+ e && /* @__PURE__ */ f(
43
43
  "span",
44
44
  {
45
45
  role: "presentation",
46
- [B]: H,
46
+ [H]: $,
47
47
  className: "ds:inline-flex ds:shrink-0 ds:items-center",
48
48
  onClick: N,
49
49
  onDoubleClick: N,
@@ -51,7 +51,7 @@ function Q({
51
51
  onPointerDown: N,
52
52
  onTouchStart: N,
53
53
  onContextMenu: N,
54
- onKeyDownCapture: u,
54
+ onKeyDownCapture: c,
55
55
  children: e()
56
56
  }
57
57
  )
@@ -60,12 +60,12 @@ function Q({
60
60
  function Y(n) {
61
61
  const { event: e } = n, t = e.target;
62
62
  if (!t || typeof t.closest != "function") return !1;
63
- const s = t.closest(".ag-header-cell");
64
- if (!s) return !1;
63
+ const a = t.closest(".ag-header-cell");
64
+ if (!a) return !1;
65
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(
66
+ return e.key === "Tab" ? e.shiftKey ? (e.preventDefault(), a.focus(), !0) : !1 : !0;
67
+ if (t === a && e.key === "Tab" && !e.shiftKey) {
68
+ const r = a.querySelector(
69
69
  `${T} button, ${T} a, ${T} [tabindex]`
70
70
  );
71
71
  if (r)
@@ -73,9 +73,9 @@ function Y(n) {
73
73
  }
74
74
  return !1;
75
75
  }
76
- function Ce(n, e) {
76
+ function ye(n, e) {
77
77
  var r;
78
- const t = typeof e == "function" ? e : () => e, s = n.suppressHeaderKeyboardEvent;
78
+ const t = typeof e == "function" ? e : () => e, a = n.suppressHeaderKeyboardEvent;
79
79
  return {
80
80
  ...n,
81
81
  headerComponentParams: {
@@ -86,96 +86,71 @@ function Ce(n, e) {
86
86
  renderInfo: t
87
87
  }
88
88
  },
89
- suppressHeaderKeyboardEvent: (u) => Y(u) || (typeof s == "function" ? s(u) : !1)
89
+ suppressHeaderKeyboardEvent: (c) => Y(c) || (typeof a == "function" ? a(c) : !1)
90
90
  };
91
91
  }
92
- function Ne(n, e, t) {
92
+ function Ce(n, e, t) {
93
93
  return V(() => {
94
- const s = {};
94
+ const a = {};
95
95
  for (const r of e) {
96
- let u = 0;
96
+ let c = 0;
97
97
  for (const o of n ?? []) {
98
- const l = o[r], f = typeof l == "number" ? l : Number(l);
99
- Number.isFinite(f) && (u += f);
98
+ const l = o[r], d = typeof l == "number" ? l : Number(l);
99
+ Number.isFinite(d) && (c += d);
100
100
  }
101
- s[r] = u;
101
+ a[r] = c;
102
102
  }
103
- return t != null && t.labelField && t.labelValue !== void 0 && (s[t.labelField] = t.labelValue), s;
103
+ return t != null && t.labelField && t.labelValue !== void 0 && (a[t.labelField] = t.labelValue), a;
104
104
  }, [n, e, t == null ? void 0 : t.labelField, t == null ? void 0 : t.labelValue]);
105
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) {
106
+ function Ne(n) {
123
107
  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
- );
108
+ return !Array.isArray(e) || e.length === 0 ? null : /* @__PURE__ */ f(K, { label: e.join(", "), maxInlineSize: t });
134
109
  }
135
- function te(n) {
110
+ function ee(n) {
136
111
  if (n == null || n === "") return null;
137
112
  const e = typeof n == "number" ? n : Number(n);
138
113
  return Number.isFinite(e) ? e : null;
139
114
  }
140
- function we(n) {
115
+ function xe(n) {
141
116
  const {
142
117
  value: e,
143
118
  currency: t = "EUR",
144
- colorNegative: s,
119
+ colorNegative: a,
145
120
  strikethrough: r,
146
- options: u
147
- } = n, { i18n: o } = w("ui"), l = te(e);
121
+ options: c
122
+ } = n, { i18n: o } = w("ui"), l = ee(e);
148
123
  if (l === null) return null;
149
- const f = o.language || "en", a = new Intl.NumberFormat(f, {
124
+ const d = o.language || "en", s = new Intl.NumberFormat(d, {
150
125
  style: "currency",
151
126
  currency: t,
152
- ...u
127
+ ...c
153
128
  }).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 });
129
+ return a && l < 0 && i.push("ds:text-[color:var(--destructive)]"), r && i.push("line-through"), /* @__PURE__ */ f("span", { className: i.join(" "), children: s });
155
130
  }
156
- function Te() {
131
+ function we() {
157
132
  return 90;
158
133
  }
159
- function Ee(n) {
134
+ function Te(n) {
160
135
  const {
161
136
  data: e,
162
137
  node: t,
163
- api: s,
138
+ api: a,
164
139
  onMove: r,
165
- moveUpLabel: u,
140
+ moveUpLabel: c,
166
141
  moveDownLabel: o,
167
142
  intent: l = "ghost",
168
- group: f = !0,
169
- disableAtEnds: a = !0
143
+ group: d = !0,
144
+ disableAtEnds: s = !0
170
145
  } = n, { t: i } = w("ui");
171
146
  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(
147
+ const u = t.rowIndex ?? -1, b = a.getDisplayedRowCount() - 1, g = s && u <= 0, x = s && u >= b, y = c ?? i("dataTable.moveUp", "Move up"), C = o ?? i("dataTable.moveDown", "Move down"), m = [
148
+ /* @__PURE__ */ f(
174
149
  z,
175
150
  {
176
151
  size: "sm",
177
152
  intent: l,
178
- icon: /* @__PURE__ */ c(G, { "aria-hidden": !0, className: "ds:size-4" }),
153
+ icon: /* @__PURE__ */ f(G, { "aria-hidden": !0, className: "ds:size-4" }),
179
154
  tooltip: y,
180
155
  "aria-label": y,
181
156
  disabled: g,
@@ -185,12 +160,12 @@ function Ee(n) {
185
160
  },
186
161
  "up"
187
162
  ),
188
- /* @__PURE__ */ c(
163
+ /* @__PURE__ */ f(
189
164
  z,
190
165
  {
191
166
  size: "sm",
192
167
  intent: l,
193
- icon: /* @__PURE__ */ c(X, { "aria-hidden": !0, className: "ds:size-4" }),
168
+ icon: /* @__PURE__ */ f(X, { "aria-hidden": !0, className: "ds:size-4" }),
194
169
  tooltip: C,
195
170
  "aria-label": C,
196
171
  disabled: x,
@@ -201,32 +176,32 @@ function Ee(n) {
201
176
  "down"
202
177
  )
203
178
  ];
204
- return f ? /* @__PURE__ */ c(
179
+ return d ? /* @__PURE__ */ f(
205
180
  q,
206
181
  {
207
182
  "aria-label": i("dataTable.reorder", "Reorder row"),
208
183
  size: "sm",
209
184
  children: m
210
185
  }
211
- ) : /* @__PURE__ */ c("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: m });
186
+ ) : /* @__PURE__ */ f("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: m });
212
187
  }
213
- function Re(n) {
188
+ function Ee(n) {
214
189
  const {
215
190
  value: e,
216
191
  data: t,
217
- onToggle: s,
192
+ onToggle: a,
218
193
  onError: r,
219
- trueIcon: u,
194
+ trueIcon: c,
220
195
  falseIcon: o,
221
196
  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);
197
+ falseClass: d = "ds:text-[color:var(--muted-foreground)]",
198
+ label: s
199
+ } = n, { t: i } = w("ui"), [u, b] = F(!1);
225
200
  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");
201
+ const g = !!e, x = g ? c ?? /* @__PURE__ */ f(W, { "aria-hidden": !0, className: "ds:size-4" }) : o ?? /* @__PURE__ */ f(Z, { "aria-hidden": !0, className: "ds:size-4" }), y = g ? l : d, C = s ?? i(g ? "inputs.switch.on" : "inputs.switch.off");
227
202
  async function m(p) {
228
- if (p.stopPropagation(), d || !t) return;
229
- const v = s(t, !g);
203
+ if (p.stopPropagation(), u || !t) return;
204
+ const v = a(t, !g);
230
205
  if (v && typeof v.then == "function") {
231
206
  b(!0);
232
207
  try {
@@ -238,15 +213,15 @@ function Re(n) {
238
213
  }
239
214
  }
240
215
  }
241
- return /* @__PURE__ */ c(
216
+ return /* @__PURE__ */ f(
242
217
  "button",
243
218
  {
244
219
  type: "button",
245
220
  role: "switch",
246
221
  "aria-checked": g,
247
- "aria-busy": d,
222
+ "aria-busy": u,
248
223
  "aria-label": C,
249
- disabled: d,
224
+ disabled: u,
250
225
  onClick: m,
251
226
  className: [
252
227
  "ds:inline-flex ds:items-center ds:justify-center",
@@ -264,82 +239,82 @@ function Re(n) {
264
239
  }
265
240
  );
266
241
  }
267
- const ne = {
242
+ const te = {
268
243
  sm: "ds:size-[var(--icon-size-sm)]",
269
244
  md: "ds:size-[var(--icon-size-md)]",
270
245
  lg: "ds:size-[var(--icon-size-lg)]"
271
246
  };
272
- function L(n, e) {
247
+ function A(n, e) {
273
248
  if (!n || typeof n != "object") return;
274
249
  const t = n[e];
275
250
  return typeof t == "string" ? t : void 0;
276
251
  }
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) {
252
+ const ne = /^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i, re = /^rgba?\(\s*[\d.\s,%/]+\)$/i, ae = /^hsla?\(\s*[\d.\s,%/]+\)$/i, se = /^var\(--[a-z0-9-]+(?:,\s*[^)]+)?\)$/i;
253
+ function oe(n) {
279
254
  if (!n) return;
280
255
  const e = n.trim();
281
- if (re.test(e) || se.test(e) || ae.test(e) || oe.test(e))
256
+ if (ne.test(e) || re.test(e) || ae.test(e) || se.test(e))
282
257
  return e;
283
258
  }
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;
259
+ function Re(n) {
260
+ const { data: e, colorField: t, size: a = "md", labelField: r } = n, c = S(null), o = e ? A(e, t) : void 0, l = oe(o), d = e && r ? A(e, r) : void 0;
286
261
  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"));
262
+ const s = c.current;
263
+ s && (l ? s.style.setProperty("--data-table-dot-color", l) : s.style.removeProperty("--data-table-dot-color"));
289
264
  }, [l]), l ? /* @__PURE__ */ I("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
290
- /* @__PURE__ */ c(
265
+ /* @__PURE__ */ f(
291
266
  "span",
292
267
  {
293
- ref: u,
268
+ ref: c,
294
269
  "aria-hidden": "true",
295
270
  className: [
296
271
  "ds:inline-block ds:shrink-0 ds:rounded-[var(--radius-full)]",
297
272
  "ds:bg-[var(--data-table-dot-color)]",
298
273
  "ds:border ds:border-[color:var(--border)]",
299
- ne[s]
274
+ te[a]
300
275
  ].join(" ")
301
276
  }
302
277
  ),
303
- f ? /* @__PURE__ */ c("span", { children: f }) : null
278
+ d ? /* @__PURE__ */ f("span", { children: d }) : null
304
279
  ] }) : null;
305
280
  }
306
- function ie(n, e) {
281
+ function le(n, e) {
307
282
  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;
283
+ const t = n[e], a = typeof t == "number" ? t : Number(t);
284
+ return Number.isFinite(a) ? a : null;
310
285
  }
311
- function Fe(n) {
312
- const { data: e, lines: t, currency: s = "EUR", highlightNegative: r } = n, { i18n: u } = w("ui");
286
+ function Ie(n) {
287
+ const { data: e, lines: t, currency: a = "EUR", highlightNegative: r } = n, { i18n: c } = w("ui");
313
288
  if (!e) return null;
314
- const o = u.language || "en", l = (a) => {
315
- const i = ie(e, a.valueField);
289
+ const o = c.language || "en", l = (s) => {
290
+ const i = le(e, s.valueField);
316
291
  if (i === null) return null;
317
- let d;
318
- switch (a.format ?? "number") {
292
+ let u;
293
+ switch (s.format ?? "number") {
319
294
  case "currency":
320
- d = new Intl.NumberFormat(o, {
295
+ u = new Intl.NumberFormat(o, {
321
296
  style: "currency",
322
- currency: s
297
+ currency: a
323
298
  }).format(i);
324
299
  break;
325
300
  case "percent":
326
- d = new Intl.NumberFormat(o, {
301
+ u = new Intl.NumberFormat(o, {
327
302
  style: "percent",
328
303
  maximumFractionDigits: 1
329
304
  }).format(i / 100);
330
305
  break;
331
306
  default:
332
- d = new Intl.NumberFormat(o).format(i);
307
+ u = new Intl.NumberFormat(o).format(i);
333
308
  }
334
309
  return {
335
- label: a.label,
336
- formatted: d,
310
+ label: s.label,
311
+ formatted: u,
337
312
  negative: !!r && i < 0
338
313
  };
339
- }, f = t.map(l).filter(
340
- (a) => a !== null
314
+ }, d = t.map(l).filter(
315
+ (s) => s !== null
341
316
  );
342
- return f.length === 0 ? null : /* @__PURE__ */ c(
317
+ return d.length === 0 ? null : /* @__PURE__ */ f(
343
318
  "div",
344
319
  {
345
320
  className: [
@@ -351,12 +326,12 @@ function Fe(n) {
351
326
  "type-meta",
352
327
  "ds:leading-tight"
353
328
  ].join(" "),
354
- children: f.map((a, i) => /* @__PURE__ */ I(
329
+ children: d.map((s, i) => /* @__PURE__ */ I(
355
330
  "span",
356
331
  {
357
332
  className: "ds:inline-flex ds:items-baseline ds:gap-x-[var(--spacing-xs)]",
358
333
  children: [
359
- i > 0 ? /* @__PURE__ */ c(
334
+ i > 0 ? /* @__PURE__ */ f(
360
335
  "span",
361
336
  {
362
337
  "aria-hidden": "true",
@@ -364,46 +339,46 @@ function Fe(n) {
364
339
  children: "·"
365
340
  }
366
341
  ) : null,
367
- /* @__PURE__ */ c("span", { className: "ds:text-[color:var(--muted-foreground)]", children: a.label }),
368
- /* @__PURE__ */ c(
342
+ /* @__PURE__ */ f("span", { className: "ds:text-[color:var(--muted-foreground)]", children: s.label }),
343
+ /* @__PURE__ */ f(
369
344
  "span",
370
345
  {
371
346
  className: [
372
347
  "ds:tabular-nums",
373
348
  "ds:font-medium",
374
- a.negative ? "ds:text-[color:var(--destructive)]" : ""
349
+ s.negative ? "ds:text-[color:var(--destructive)]" : ""
375
350
  ].filter(Boolean).join(" "),
376
- children: a.formatted
351
+ children: s.formatted
377
352
  }
378
353
  )
379
354
  ]
380
355
  },
381
- `${a.label}-${i}`
356
+ `${s.label}-${i}`
382
357
  ))
383
358
  }
384
359
  );
385
360
  }
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());
361
+ function Fe(n) {
362
+ var s, i;
363
+ const { initialValue: e, onValueChange: t, stopEditing: a, column: r } = n, [c, o] = F(e ?? ""), l = S(null);
364
+ L(() => {
365
+ const u = l.current;
366
+ u && (u.focus(), u.select());
392
367
  }, []);
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(
368
+ const d = ((i = (s = r == null ? void 0 : r.getColDef) == null ? void 0 : s.call(r)) == null ? void 0 : i.headerName) ?? void 0;
369
+ return /* @__PURE__ */ f(
395
370
  "input",
396
371
  {
397
372
  ref: l,
398
373
  type: "text",
399
- value: u,
400
- "aria-label": f,
401
- onChange: (d) => {
402
- const b = d.target.value;
374
+ value: c,
375
+ "aria-label": d,
376
+ onChange: (u) => {
377
+ const b = u.target.value;
403
378
  o(b), t(b);
404
379
  },
405
- onKeyDown: (d) => {
406
- d.key === "Enter" && (d.preventDefault(), s());
380
+ onKeyDown: (u) => {
381
+ u.key === "Enter" && (u.preventDefault(), a());
407
382
  },
408
383
  className: [
409
384
  "ds:block ds:w-full ds:appearance-none",
@@ -419,26 +394,26 @@ function Se(n) {
419
394
  }
420
395
  );
421
396
  }
422
- function ke(n) {
397
+ function Se(n) {
423
398
  var y, C;
424
399
  const {
425
400
  initialValue: e,
426
401
  onValueChange: t,
427
- stopEditing: s,
402
+ stopEditing: a,
428
403
  column: r,
429
- decimals: u = 2,
404
+ decimals: c = 2,
430
405
  min: o,
431
406
  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;
407
+ } = n, { i18n: d } = w("ui"), s = S(null), i = ((C = (y = r == null ? void 0 : r.getColDef) == null ? void 0 : y.call(r)) == null ? void 0 : C.headerName) ?? void 0, [u, b] = F(() => e == null || Number.isNaN(e) ? "" : String(e));
408
+ L(() => {
409
+ const m = s.current;
435
410
  m && (m.focus(), m.select());
436
411
  }, []);
437
412
  function g(m) {
438
- var _, D;
413
+ var D, k;
439
414
  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;
415
+ const p = d.language || "en", h = new Intl.NumberFormat(p).formatToParts(12345.6), v = ((D = h.find((R) => R.type === "group")) == null ? void 0 : D.value) ?? "", E = ((k = h.find((R) => R.type === "decimal")) == null ? void 0 : k.value) ?? ".", B = m.replace(new RegExp(`\\${v}`, "g"), "").replace(E, ".").replace(/[^\d.-]/g, ""), _ = Number(B);
416
+ return Number.isFinite(_) ? _ : null;
442
417
  }
443
418
  function x(m) {
444
419
  const p = g(m);
@@ -448,23 +423,23 @@ function ke(n) {
448
423
  }
449
424
  let h = p;
450
425
  typeof o == "number" && (h = Math.max(o, h)), typeof l == "number" && (h = Math.min(l, h));
451
- const v = 10 ** u;
426
+ const v = 10 ** c;
452
427
  t(Math.round(h * v) / v);
453
428
  }
454
- return /* @__PURE__ */ c(
429
+ return /* @__PURE__ */ f(
455
430
  "input",
456
431
  {
457
- ref: a,
432
+ ref: s,
458
433
  type: "text",
459
434
  inputMode: "decimal",
460
- value: d,
435
+ value: u,
461
436
  "aria-label": i,
462
437
  onChange: (m) => {
463
438
  const p = m.target.value;
464
439
  b(p), x(p);
465
440
  },
466
441
  onKeyDown: (m) => {
467
- m.key === "Enter" && (m.preventDefault(), s());
442
+ m.key === "Enter" && (m.preventDefault(), a());
468
443
  },
469
444
  className: [
470
445
  "ds:block ds:w-full ds:appearance-none ds:text-end ds:tabular-nums",
@@ -478,16 +453,16 @@ function ke(n) {
478
453
  );
479
454
  }
480
455
  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
456
+ Ie as B,
457
+ Re as C,
458
+ Se as E,
459
+ Te as R,
460
+ Ee as T,
461
+ xe as a,
462
+ Fe as b,
463
+ Ne as c,
464
+ we as r,
465
+ Ce as u,
466
+ ye as w
492
467
  };
493
- //# sourceMappingURL=editable-currency-cell-renderer-DXJI0fnU.js.map
468
+ //# sourceMappingURL=editable-currency-cell-renderer-a3CrwNKm.js.map