@alfadocs/ui-kit 1.149.1 → 1.151.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 (295) 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-Cdsve-XN.js → ai-summary-panel-DyAHCqaj.js} +4 -4
  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-QCv6zW-J.js → anamnesis-summary-rows-CFpaA1GP.js} +4 -4
  8. package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
  9. package/dist/_chunks/{appointment-card-HOZrABrQ.js → appointment-card-BPZggqck.js} +2 -2
  10. package/dist/_chunks/{appointment-details-panel.history-BxNqcA-r.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
  11. package/dist/_chunks/{appointment-details-panel.identity--_j07UG1.js → appointment-details-panel.identity-9hRo85Lx.js} +91 -79
  12. package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
  13. package/dist/_chunks/{appointment-timeline-CuZW-CGT.js → appointment-timeline-COfoHpoJ.js} +4 -4
  14. package/dist/_chunks/{appointment-tray-CFCxukwq.js → appointment-tray-BlKwDJKi.js} +3 -3
  15. package/dist/_chunks/{balance-badge-cell-BPz9bQAB.js → balance-badge-cell-OghXENKK.js} +4 -4
  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-fQleWmJE.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +590 -583
  18. package/dist/_chunks/{calendar-editor-discard-host-DWS_kM-a.js → calendar-editor-discard-host-BudLsUZO.js} +5 -5
  19. package/dist/_chunks/{calendar-waiting-list-panel-BKBHfBpn.js → calendar-waiting-list-panel-DukgSOPH.js} +9 -9
  20. package/dist/_chunks/{calendar-workspace.model-4zmA3BFE.js → calendar-workspace.model-BulUpy0I.js} +2 -2
  21. package/dist/_chunks/{calendar.sheets-lgAqJB34.js → calendar.sheets-OmTiQdCg.js} +11 -11
  22. package/dist/_chunks/{calls-panel-BTTfHnPD.js → calls-panel-eohONLia.js} +5 -5
  23. package/dist/_chunks/{care-plan-card-2U2LuIJD.js → care-plan-card-DJXNWjKB.js} +3 -3
  24. package/dist/_chunks/{care-plan-entry-card-CUAlQv1c.js → care-plan-entry-card-W5QvNv8m.js} +2 -2
  25. package/dist/_chunks/code-BfU9G1ZM.js +15 -0
  26. package/dist/_chunks/{communications-panel-DDzUyoHi.js → communications-panel-CqiFs8BH.js} +4 -4
  27. package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
  28. package/dist/_chunks/control-room-rail-BmpTKtL1.js +456 -0
  29. package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
  30. package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
  31. package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
  32. package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
  33. package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
  34. package/dist/_chunks/{document-preview-oSuJsJ3k.js → document-preview-TbwhY_eK.js} +4 -4
  35. package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
  36. package/dist/_chunks/{editable-description-BsSjLnSx.js → editable-description-B2F54K4T.js} +34 -33
  37. package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
  38. package/dist/_chunks/{entity-summary-CZmGcWi2.js → entity-summary-BNnTP1F6.js} +62 -50
  39. package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
  40. package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
  41. package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
  42. package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
  43. package/dist/_chunks/feature-preview-switch-B_8JTya_.js +75 -0
  44. package/dist/_chunks/{file-manager-Cp3Z4VvM.js → file-manager-DMvYx-Gq.js} +165 -180
  45. package/dist/_chunks/folder-DvNxod7_.js +36 -0
  46. package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
  47. package/dist/_chunks/{help-me-write-templates-DlA54nu5.js → help-me-write-templates-VnvlK87x.js} +3 -3
  48. package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
  49. package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
  50. package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
  51. package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
  52. package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
  53. package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
  54. package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
  55. package/dist/_chunks/message-square-warning-DsGGfd0K.js +22 -0
  56. package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
  57. package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
  58. package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
  59. package/dist/_chunks/{notes-panel-Cw06dLDm.js → notes-panel-d0I3hOEY.js} +363 -341
  60. package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
  61. package/dist/_chunks/{optical-prescription-DZvauMiM.js → optical-prescription-CAnXavjq.js} +3 -3
  62. package/dist/_chunks/{panel-header-CbtlTe85.js → panel-header-DTc5OFUg.js} +78 -66
  63. package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
  64. package/dist/_chunks/{panel-subview-DjBwNV16.js → panel-subview-B5hnQwfQ.js} +3 -3
  65. package/dist/_chunks/{patient-account-settings-Do0QbDJe.js → patient-account-settings-DQx_9CYV.js} +3 -3
  66. package/dist/_chunks/{patient-check-in-resume-Bxy1_Pfo.js → patient-check-in-resume-BOHcm9hT.js} +6 -6
  67. package/dist/_chunks/{patient-details-Cj3dp9GB.js → patient-details-wFIzTz7N.js} +4 -4
  68. package/dist/_chunks/{patient-field-row-DDjsUsc_.js → patient-field-row-BDgfYLgz.js} +202 -201
  69. package/dist/_chunks/{patient-summary-card-roM9Esfb.js → patient-summary-card-ZunOre3Q.js} +158 -164
  70. package/dist/_chunks/{payment-request-card-C9VglWsV.js → payment-request-card-BSSfKrcc.js} +3 -3
  71. package/dist/_chunks/{portal-details-CKF4yFHs.js → portal-details-R-lwrisO.js} +4 -4
  72. package/dist/_chunks/{portal-documents-DvpAwmSI.js → portal-documents-C6XlWpEl.js} +3 -3
  73. package/dist/_chunks/{portal-parts-Cvu4PfIY.js → portal-parts-DlvSUZFX.js} +3 -3
  74. package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
  75. package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
  76. package/dist/_chunks/{privacy-mask-zVh0ntm0.js → privacy-mask-CaLBAxzj.js} +3 -3
  77. package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
  78. package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
  79. package/dist/_chunks/{radiograph-panel.agent-BUZPsuSP.js → radiograph-panel.agent-kgCmmgZk.js} +4 -4
  80. package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
  81. package/dist/_chunks/{registry-connection-panel-ACOsXu3F.js → registry-connection-panel-BkPPA3Fj.js} +4 -4
  82. package/dist/_chunks/{reserved.agent-DjvapRF1.js → reserved.agent-C-sMq0pb.js} +5 -5
  83. package/dist/_chunks/{reviews-panel-Cw5ygAxs.js → reviews-panel-jIz5aP2X.js} +4 -4
  84. package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
  85. package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
  86. package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
  87. package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
  88. package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
  89. package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
  90. package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
  91. package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
  92. package/dist/_chunks/{task-editor-C-4I2sBa.js → task-editor-aXjGMwYA.js} +6 -6
  93. package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
  94. package/dist/_chunks/{tasks-panel-BDPQPOP6.js → tasks-panel-BdxHb-fX.js} +3 -3
  95. package/dist/_chunks/text-area-DbxGkpzE.js +269 -0
  96. package/dist/_chunks/{tool-rail-DjPEiBa2.js → tool-rail-B4p6MmxA.js} +383 -363
  97. package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
  98. package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
  99. package/dist/_chunks/{transaction-chip-CkYd-3ky.js → transaction-chip-6jToArJn.js} +45 -43
  100. package/dist/_chunks/{transcript-panel-Wr8e4Zgi.js → transcript-panel-Dc0fK4WO.js} +2 -2
  101. package/dist/_chunks/{treatment-receipt-BZzwvsnY.js → treatment-receipt-CZQV1NkJ.js} +59 -62
  102. package/dist/_chunks/use-appointment-details-read-BR3TQOHx.js +2091 -0
  103. package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
  104. package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
  105. package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
  106. package/dist/agent-catalog.json +15 -1
  107. package/dist/appointment-editor-panel/index.js +4 -4
  108. package/dist/booking-tools-data/index.js +1 -1
  109. package/dist/browser-support.js +1 -1
  110. package/dist/calendar-action-buttons/index.js +1 -1
  111. package/dist/components/_shared/appointment-format.d.ts +4 -0
  112. package/dist/components/_shared/mark-adrift.d.ts +12 -0
  113. package/dist/components/_shared/patient-field-row.d.ts +5 -1
  114. package/dist/components/_shared/safe-html.d.ts +6 -0
  115. package/dist/components/_shared/tooth-chip.d.ts +21 -0
  116. package/dist/components/address-autocomplete/index.js +1 -1
  117. package/dist/components/address-fields/index.js +1 -1
  118. package/dist/components/agenda-tray/index.js +1 -1
  119. package/dist/components/ai-summary-panel/index.js +1 -1
  120. package/dist/components/anamnesis-card/index.js +1 -1
  121. package/dist/components/app-frame/index.js +1 -1
  122. package/dist/components/appointment-card/index.js +2 -2
  123. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +12 -2
  124. package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +3 -1
  125. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +12 -2
  126. package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
  127. package/dist/components/appointment-details-panel/index.d.ts +1 -0
  128. package/dist/components/appointment-details-panel/index.js +7 -6
  129. package/dist/components/appointment-peek/appointment-peek.d.ts +45 -1
  130. package/dist/components/appointment-peek/index.js +1 -1
  131. package/dist/components/appointment-timeline/index.js +1 -1
  132. package/dist/components/bill-line-table/index.js +1 -1
  133. package/dist/components/bill-table/index.js +1 -1
  134. package/dist/components/booking/index.js +1 -1
  135. package/dist/components/calls-panel/index.js +1 -1
  136. package/dist/components/care-plan-card/index.js +1 -1
  137. package/dist/components/care-plan-entry-card/index.js +1 -1
  138. package/dist/components/communications-panel/index.js +1 -1
  139. package/dist/components/connection-status/index.js +1 -1
  140. package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
  141. package/dist/components/control-room-rail/index.js +1 -1
  142. package/dist/components/data-grid/index.js +2 -2
  143. package/dist/components/data-table/index.js +3 -3
  144. package/dist/components/description-list/index.js +1 -1
  145. package/dist/components/dev-bypass-button/index.js +1 -1
  146. package/dist/components/document-preview/index.js +1 -1
  147. package/dist/components/editable-description/editable-description.d.ts +7 -0
  148. package/dist/components/editable-description/index.js +1 -1
  149. package/dist/components/empty-state/index.js +1 -1
  150. package/dist/components/entity-summary/index.js +1 -1
  151. package/dist/components/error-boundary/index.js +1 -1
  152. package/dist/components/face-scheme/index.js +1 -1
  153. package/dist/components/feature-preview-switch/feature-preview-switch.d.ts +55 -0
  154. package/dist/components/feature-preview-switch/index.d.ts +2 -0
  155. package/dist/components/feature-preview-switch/index.js +5 -0
  156. package/dist/components/file-manager/index.js +1 -1
  157. package/dist/components/heatmap/index.js +1 -1
  158. package/dist/components/index.d.ts +1 -0
  159. package/dist/components/info-tip/index.js +1 -1
  160. package/dist/components/invoice-upload-list/index.js +1 -1
  161. package/dist/components/map-view/index.js +1 -1
  162. package/dist/components/message-tray/index.js +1 -1
  163. package/dist/components/note-timeline/index.js +1 -1
  164. package/dist/components/note-timeline/note-timeline.d.ts +8 -0
  165. package/dist/components/notes-panel/index.js +1 -1
  166. package/dist/components/notes-panel/notes-panel.d.ts +33 -2
  167. package/dist/components/notification-tray/index.js +1 -1
  168. package/dist/components/optical-prescription/index.js +1 -1
  169. package/dist/components/panel-header/index.js +1 -1
  170. package/dist/components/panel-header/panel-header.d.ts +8 -0
  171. package/dist/components/panel-subview/index.js +1 -1
  172. package/dist/components/patient-details/index.js +1 -1
  173. package/dist/components/patient-summary-card/index.js +1 -1
  174. package/dist/components/patient-summary-card/patient-summary-card.d.ts +9 -0
  175. package/dist/components/patient-table/index.js +1 -1
  176. package/dist/components/payment-card/index.js +1 -1
  177. package/dist/components/practice-results/index.js +1 -1
  178. package/dist/components/product-hub-tray/index.js +1 -1
  179. package/dist/components/public-header/index.js +1 -1
  180. package/dist/components/radiograph-panel/index.js +1 -1
  181. package/dist/components/registry-connection-panel/index.js +1 -1
  182. package/dist/components/reviews-panel/index.js +1 -1
  183. package/dist/components/rich-text-editor/editor-toolbar.d.ts +18 -5
  184. package/dist/components/rich-text-editor/index.d.ts +1 -1
  185. package/dist/components/rich-text-editor/index.js +1 -1
  186. package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
  187. package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
  188. package/dist/components/scroll-area/index.js +1 -1
  189. package/dist/components/scroll-area/scroll-area.d.ts +6 -0
  190. package/dist/components/sheet/index.js +1 -1
  191. package/dist/components/sidebar/index.js +1 -1
  192. package/dist/components/slot-grid/index.js +1 -1
  193. package/dist/components/sync-tray/index.js +1 -1
  194. package/dist/components/task-editor/index.js +1 -1
  195. package/dist/components/task-tray/index.js +1 -1
  196. package/dist/components/tasks-panel/index.js +1 -1
  197. package/dist/components/text-area/index.js +1 -1
  198. package/dist/components/text-area/text-area.d.ts +15 -0
  199. package/dist/components/tool-rail/index.js +1 -1
  200. package/dist/components/tool-rail/tool-rail.d.ts +23 -1
  201. package/dist/components/transaction-chip/index.js +1 -1
  202. package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
  203. package/dist/components/transcript-panel/index.js +1 -1
  204. package/dist/components/treatment-receipt/index.js +1 -1
  205. package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
  206. package/dist/components/week-availability/index.js +1 -1
  207. package/dist/components/workflow/index.js +1 -1
  208. package/dist/core.css +1 -1
  209. package/dist/find-free-slots-panel/index.js +1 -1
  210. package/dist/host-compat.css +4 -1
  211. package/dist/host-legacy.css +63 -4
  212. package/dist/i18n/locales/ar.d.ts +18 -0
  213. package/dist/i18n/locales/ar.js +18 -3
  214. package/dist/i18n/locales/de.d.ts +18 -0
  215. package/dist/i18n/locales/de.js +18 -3
  216. package/dist/i18n/locales/el.d.ts +18 -0
  217. package/dist/i18n/locales/el.js +21 -3
  218. package/dist/i18n/locales/en.d.ts +18 -0
  219. package/dist/i18n/locales/en.js +21 -3
  220. package/dist/i18n/locales/es.d.ts +18 -0
  221. package/dist/i18n/locales/es.js +21 -3
  222. package/dist/i18n/locales/fr.d.ts +18 -0
  223. package/dist/i18n/locales/fr.js +21 -3
  224. package/dist/i18n/locales/hi.d.ts +18 -0
  225. package/dist/i18n/locales/hi.js +18 -3
  226. package/dist/i18n/locales/it.d.ts +28 -10
  227. package/dist/i18n/locales/it.js +31 -13
  228. package/dist/i18n/locales/ja.d.ts +18 -0
  229. package/dist/i18n/locales/ja.js +18 -3
  230. package/dist/i18n/locales/nl.d.ts +18 -0
  231. package/dist/i18n/locales/nl.js +18 -3
  232. package/dist/i18n/locales/pl.d.ts +18 -0
  233. package/dist/i18n/locales/pl.js +21 -3
  234. package/dist/i18n/locales/pt.d.ts +18 -0
  235. package/dist/i18n/locales/pt.js +21 -3
  236. package/dist/i18n/locales/ro.d.ts +18 -0
  237. package/dist/i18n/locales/ro.js +21 -3
  238. package/dist/i18n/locales/ru.d.ts +18 -0
  239. package/dist/i18n/locales/ru.js +18 -3
  240. package/dist/i18n/locales/sq.d.ts +18 -0
  241. package/dist/i18n/locales/sq.js +21 -3
  242. package/dist/i18n/locales/sv.d.ts +18 -0
  243. package/dist/i18n/locales/sv.js +18 -3
  244. package/dist/i18n/locales/tr.d.ts +18 -0
  245. package/dist/i18n/locales/tr.js +18 -3
  246. package/dist/i18n/locales/zh.d.ts +18 -0
  247. package/dist/i18n/locales/zh.js +18 -3
  248. package/dist/index.js +820 -817
  249. package/dist/locales/ar.json +21 -3
  250. package/dist/locales/de.json +21 -3
  251. package/dist/locales/el.json +21 -3
  252. package/dist/locales/en.json +21 -3
  253. package/dist/locales/es.json +21 -3
  254. package/dist/locales/fr.json +21 -3
  255. package/dist/locales/hi.json +21 -3
  256. package/dist/locales/it.json +31 -13
  257. package/dist/locales/ja.json +21 -3
  258. package/dist/locales/nl.json +21 -3
  259. package/dist/locales/pl.json +21 -3
  260. package/dist/locales/pt.json +21 -3
  261. package/dist/locales/ro.json +21 -3
  262. package/dist/locales/ru.json +21 -3
  263. package/dist/locales/sq.json +21 -3
  264. package/dist/locales/sv.json +21 -3
  265. package/dist/locales/tr.json +21 -3
  266. package/dist/locales/zh.json +21 -3
  267. package/dist/online-bookings-panel/index.js +2 -2
  268. package/dist/patterns/alia-assistant/index.js +1 -1
  269. package/dist/patterns/anamnesis/index.js +1 -1
  270. package/dist/patterns/calendar/index.js +4 -4
  271. package/dist/patterns/error-page/index.js +2 -2
  272. package/dist/patterns/help-me-write-templates/index.js +1 -1
  273. package/dist/patterns/login-form/index.js +1 -1
  274. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  275. package/dist/patterns/patient-account-settings/index.js +1 -1
  276. package/dist/patterns/patient-check-in/index.js +1 -1
  277. package/dist/patterns/patient-portal/index.js +2 -2
  278. package/dist/patterns/prescription/index.js +1 -1
  279. package/dist/patterns/registration-form/index.js +1 -1
  280. package/dist/patterns/signed-out-frame/index.js +1 -1
  281. package/dist/patterns/signing/index.js +1 -1
  282. package/dist/redactor.css +9 -0
  283. package/dist/safe-html/index.js +33 -19
  284. package/dist/tokens.css +61 -52
  285. package/dist/waiting-list-panel/index.js +3 -3
  286. package/package.json +5 -1
  287. package/dist/_chunks/appointment-peek-B3raO90X.js +0 -123
  288. package/dist/_chunks/contact-round-DiSvB3LP.js +0 -18
  289. package/dist/_chunks/control-room-rail-BQvaYowi.js +0 -416
  290. package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
  291. package/dist/_chunks/folder-BghC8_S2.js +0 -20
  292. package/dist/_chunks/rich-text-editor-eGdYDPK2.js +0 -4405
  293. package/dist/_chunks/text-area-COMVJ1yE.js +0 -258
  294. package/dist/_chunks/use-appointment-details-read-Bl1DHXQ2.js +0 -1998
  295. /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
@@ -0,0 +1,24 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { forwardRef as e } from "react";
3
+ import { c as i } from "./index-D2ZczOXr.js";
4
+ import { I as m } from "./icon-button-u9VMQn3x.js";
5
+ import { C as p } from "./code-BfU9G1ZM.js";
6
+ const d = i("ds:shrink-0"), c = e(({ label: o, size: s = "md", className: a, ...n }, r) => /* @__PURE__ */ t(
7
+ m,
8
+ {
9
+ ref: r,
10
+ icon: /* @__PURE__ */ t(p, { "aria-hidden": "true" }),
11
+ intent: "outline",
12
+ size: s,
13
+ tooltip: o,
14
+ className: d({ className: a }),
15
+ ...n,
16
+ type: "button",
17
+ "data-component": "dev-bypass-button"
18
+ }
19
+ ));
20
+ c.displayName = "DevBypassButton";
21
+ export {
22
+ c as D
23
+ };
24
+ //# sourceMappingURL=dev-bypass-button-DFcNpCQj.js.map
@@ -5,13 +5,13 @@ import { useTranslation as ce } from "react-i18next";
5
5
  import { B as N } from "./badge-BUk4RjTS.js";
6
6
  import { I as j } from "./icon-button-u9VMQn3x.js";
7
7
  import { C as q } from "./card-n6W6LW-N.js";
8
- import { E as me } from "./empty-state-5REM7oDM.js";
9
- import { P as ue } from "./panel-header-CbtlTe85.js";
8
+ import { E as me } from "./empty-state-qHtpcasr.js";
9
+ import { P as ue } from "./panel-header-DTc5OFUg.js";
10
10
  import { P as pe } from "./pdf-viewer-C8no312t.js";
11
11
  import { T as fe, b as he, c as ve, a as ge } from "./tabs-BOf9OO--.js";
12
12
  import { a as we } from "./format-number-DdzqwMs1.js";
13
13
  import { c as ye } from "./intl-locale-FWh-Y5_3.js";
14
- import { b as be } from "./privacy-mask-zVh0ntm0.js";
14
+ import { b as be } from "./privacy-mask-CaLBAxzj.js";
15
15
  import { u as Pe } from "./use-controllable-state-BiY4xTzM.js";
16
16
  import { u as Ne } from "./registry-DvAUVLHh.js";
17
17
  import { F as xe } from "./file-image-cDgE-BTy.js";
@@ -382,4 +382,4 @@ export {
382
382
  Ve as D,
383
383
  Ce as d
384
384
  };
385
- //# sourceMappingURL=document-preview-oSuJsJ3k.js.map
385
+ //# sourceMappingURL=document-preview-TbwhY_eK.js.map
@@ -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