@alfadocs/ui-kit 1.114.0 → 1.116.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 (416) hide show
  1. package/dist/_chunks/accessible-target-Bs9ELM3l.js +6 -0
  2. package/dist/_chunks/{actions-cell-renderer-BVn3vDTg.js → actions-cell-renderer-DzHxDyI7.js} +3 -3
  3. package/dist/_chunks/{address-fields-D5Ije0S2.js → address-fields-BFVCtfP2.js} +3 -3
  4. package/dist/_chunks/{ai-permission-notice-BkgcGmu8.js → ai-permission-notice-C-xR2_iS.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-CKkg3gc8.js → alia-sidebar-BBxbMRmX.js} +2 -2
  6. package/dist/_chunks/{anamnesis-summary-rows-DaS-j8Jd.js → anamnesis-summary-rows-gEXqU5i5.js} +8 -8
  7. package/dist/_chunks/{antenatal-schedule-timeline-DmlXxevC.js → antenatal-schedule-timeline-va9zx7tJ.js} +11 -11
  8. package/dist/_chunks/{appointment-card-FKOnH1uJ.js → appointment-card-BMZoXaGx.js} +4 -4
  9. package/dist/_chunks/{appointment-peek-DWfcpoGy.js → appointment-peek-B1CCv-7J.js} +2 -2
  10. package/dist/_chunks/{appointment-timeline-eOi-y8m3.js → appointment-timeline-0k4LxODn.js} +4 -4
  11. package/dist/_chunks/{appointment-tray-C6oBvsG5.js → appointment-tray-DIxpgIXM.js} +2 -2
  12. package/dist/_chunks/{ar-C4YQVTH6.js → ar-BFvUBJ_g.js} +10 -10
  13. package/dist/_chunks/arrow-down-left-DECv-dJt.js +15 -0
  14. package/dist/_chunks/{balance-badge-cell-BAZynD--.js → balance-badge-cell-L7bD0Nsh.js} +28 -27
  15. package/dist/_chunks/bill-line-table-WEIRDcv6.js +1563 -0
  16. package/dist/_chunks/{bmi-calculator-Ba4yoR31.js → bmi-calculator-BjUfXqcY.js} +2 -2
  17. package/dist/_chunks/buildMatchPatternFn-jbaE1-W0.js +68 -0
  18. package/dist/_chunks/{button-group-CUnNnt8a.js → button-group-BvU9vRnX.js} +2 -2
  19. package/dist/_chunks/{calculator-dialog-D4TyJwqy.js → calculator-dialog-BGX5XQCM.js} +2 -2
  20. package/dist/_chunks/{calendar-appointment-editor-dialog-iyh9QqNw.js → calendar-appointment-editor-dialog-DqZMb4yd.js} +527 -539
  21. package/dist/_chunks/{care-plan-card-DMjlYlFc.js → care-plan-card-CfV8jiF0.js} +3 -3
  22. package/dist/_chunks/{care-plan-entry-card-3hguBW45.js → care-plan-entry-card-Bt01kyTl.js} +4 -4
  23. package/dist/_chunks/{chart-bddVIElM.js → chart-BSx8cfMm.js} +2 -2
  24. package/dist/_chunks/{chat-container-baxzy8k8.js → chat-container-B83b4hut.js} +2 -2
  25. package/dist/_chunks/checkbox-DV4sNDeB.js +282 -0
  26. package/dist/_chunks/{checkbox-group-eGdv9fZc.js → checkbox-group-EfinQS1h.js} +2 -2
  27. package/dist/_chunks/chevrons-up-down-CgiVAHb7.js +15 -0
  28. package/dist/_chunks/circle-off-DuT9pVy2.js +16 -0
  29. package/dist/_chunks/combobox-BBCVQS-S.js +935 -0
  30. package/dist/_chunks/compact-editor-fields-6sTWRLtf.js +21 -0
  31. package/dist/_chunks/{contact-profile-card-DMXWBBkU.js → contact-profile-card-BRCHbQ3-.js} +2 -2
  32. package/dist/_chunks/{country-select-CUuGOAoZ.js → country-select-C2GdvRtS.js} +2 -2
  33. package/dist/_chunks/{cycle-calculator-Dd-XbKmZ.js → cycle-calculator-Brd0PP4U.js} +6 -6
  34. package/dist/_chunks/{dashboard-grid-DrOkTtya.js → dashboard-grid-3aidD-IQ.js} +2 -2
  35. package/dist/_chunks/data-grid-ByhrYGVw.js +9814 -0
  36. package/dist/_chunks/data-grid-tabs-D9Y4DeeH.js +365 -0
  37. package/dist/_chunks/data-table-B47iw2CO.js +1694 -0
  38. package/dist/_chunks/data-table-tabs-NYLhD8_Z.js +242 -0
  39. package/dist/_chunks/date-locale-OG-MupVD.js +83 -0
  40. package/dist/_chunks/{date-picker-CdhXlgVI.js → date-picker-DBVTj6lO.js} +21 -20
  41. package/dist/_chunks/{date-picker-variants-Dt6UbonG.js → date-picker-variants-J1EeAhIH.js} +601 -678
  42. package/dist/_chunks/date-range-panel-B-DUtfw3.js +62 -0
  43. package/dist/_chunks/{date-range-picker-DCADIR8o.js → date-range-picker-PTRpDkXT.js} +72 -70
  44. package/dist/_chunks/{date-time-picker-CT2bC7-A.js → date-time-picker-CJnqiQoT.js} +22 -21
  45. package/dist/_chunks/{de-B1B3PIgY.js → de-i9wbjGPc.js} +2 -2
  46. package/dist/_chunks/default-tabs-BQcSqcNG.js +2250 -0
  47. package/dist/_chunks/dialog-CIUn5oLb.js +348 -0
  48. package/dist/_chunks/{document-preview-WvJKHJOP.js → document-preview-B_JGHsEW.js} +2 -2
  49. package/dist/_chunks/{dropdown-menu-CqxBthww.js → dropdown-menu-Dmbak7q6.js} +320 -248
  50. package/dist/_chunks/{due-date-calculator-Dl6SyMHO.js → due-date-calculator-DzIQXEX5.js} +7 -7
  51. package/dist/_chunks/{editable-currency-cell-renderer-BUdFMh67.js → editable-currency-cell-renderer-p-Q1UkZS.js} +3 -3
  52. package/dist/_chunks/{el-iLqGpapg.js → el-Cm-rWthb.js} +20 -20
  53. package/dist/_chunks/{en-GB-CxPRQbD6.js → en-GB-BHn82gW8.js} +11 -10
  54. package/dist/_chunks/en-US-C4QKhzhA.js +46 -0
  55. package/dist/_chunks/{es-Bg1oqwDs.js → es-B_6Z19UA.js} +4 -4
  56. package/dist/_chunks/export-files-BByoK9Cg.js +248 -0
  57. package/dist/_chunks/{face-scheme-DlcQaQVR.js → face-scheme-CEjJUnNe.js} +19 -18
  58. package/dist/_chunks/{fetal-weight-DmZzMRzB.js → fetal-weight-CJTlfh_k.js} +2 -2
  59. package/dist/_chunks/{file-manager-LG7B_UHB.js → file-manager-DEe51ZDe.js} +5 -5
  60. package/dist/_chunks/format-price-CIX0YJZn.js +179 -0
  61. package/dist/_chunks/format-ql5WTsYT.js +846 -0
  62. package/dist/_chunks/{fr-DpGxyOGI.js → fr-gTba51QO.js} +7 -7
  63. package/dist/_chunks/funnel-DpPV3Qkd.js +20 -0
  64. package/dist/_chunks/{gestational-age-calculator-DmzYdW5e.js → gestational-age-calculator-60y1RyQL.js} +7 -7
  65. package/dist/_chunks/grid-context-jn9y8tNE.js +46 -0
  66. package/dist/_chunks/{hcg-doubling-Tr72PetS.js → hcg-doubling-BUZQkSYC.js} +7 -6
  67. package/dist/_chunks/{header-settings-Df9q1uHt.js → header-settings-DNgvO8fS.js} +2 -2
  68. package/dist/_chunks/{heatmap-CNxCDl0D.js → heatmap-tn1WxoMT.js} +4 -4
  69. package/dist/_chunks/{help-me-write-templates-CWxgjDZl.js → help-me-write-templates-C28E_rOt.js} +2 -2
  70. package/dist/_chunks/{hi-3Dtsksrw.js → hi-BIHq9ncx.js} +10 -10
  71. package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
  72. package/dist/_chunks/icon-button-group-Ca2VkXy5.js +442 -0
  73. package/dist/_chunks/{index-CJE9uQmb.js → index-Bze5jCG_.js} +2 -1
  74. package/dist/_chunks/{isSameWeek-DyVftHWi.js → isSameWeek-CZOtDcsd.js} +2 -2
  75. package/dist/_chunks/{it-Cp0CA13d.js → it-DaCPWJ9Y.js} +11 -11
  76. package/dist/_chunks/{ja-9FOyR1lb.js → ja-BRCpkD95.js} +26 -26
  77. package/dist/_chunks/{kit-extensions-DZJRmDI6.js → kit-extensions-BFfLg7c-.js} +7 -7
  78. package/dist/_chunks/link-cell-renderer-D-Io828l.js +800 -0
  79. package/dist/_chunks/{login-dev-card-D7orCfJT.js → login-dev-card-CPndtWdz.js} +2 -2
  80. package/dist/_chunks/{marketplace-app-shell-CPNVBVLH.js → marketplace-app-shell-CBHNg8x-.js} +5 -5
  81. package/dist/_chunks/match-BATShpSX.js +336 -0
  82. package/dist/_chunks/money-OE6_oDPH.js +138 -0
  83. package/dist/_chunks/{muscle-scheme-BkmDUTmk.js → muscle-scheme-7UsRsCHP.js} +2 -2
  84. package/dist/_chunks/{nl-sfx-zJgR.js → nl-5tAwYo00.js} +6 -6
  85. package/dist/_chunks/normalizeDates-BBNNIR-v.js +36 -0
  86. package/dist/_chunks/{notes-panel-DXMTObBv.js → notes-panel-DexbfrFo.js} +3 -3
  87. package/dist/_chunks/number-input-DUSvP7Dq.js +625 -0
  88. package/dist/_chunks/{optical-prescription-CvbN8yD2.js → optical-prescription-Da_r8pMr.js} +2 -2
  89. package/dist/_chunks/{parse-B0s7bY4d.js → parse-BLBWPIgE.js} +63 -61
  90. package/dist/_chunks/{parseISO-DZZ5a-zK.js → parseISO-Dl4T9peU.js} +2 -2
  91. package/dist/_chunks/parts-CtcTW1PN.js +869 -0
  92. package/dist/_chunks/{patient-details-DdtXBNjt.js → patient-details-PJ0Y__7t.js} +2 -2
  93. package/dist/_chunks/{patient-field-row-D9rb-QJH.js → patient-field-row-0QP8KCVp.js} +7 -7
  94. package/dist/_chunks/{patient-search-DDRDCjZi.js → patient-search-Bdx_Ob3y.js} +2 -2
  95. package/dist/_chunks/{patient-summary-card-CGHz-Bvm.js → patient-summary-card-BOfXDP8a.js} +4 -4
  96. package/dist/_chunks/{payment-request-card-BmV2pLoM.js → payment-request-card-_04afZEx.js} +14 -13
  97. package/dist/_chunks/{periodontal-diagnosis-xheWfi4g.js → periodontal-diagnosis-DnZuZD14.js} +2 -2
  98. package/dist/_chunks/{permission-matrix-BJ6sg3Zp.js → permission-matrix-BXmhICzN.js} +3 -3
  99. package/dist/_chunks/{pl-BLh7KO-s.js → pl-mLYbfByR.js} +7 -7
  100. package/dist/_chunks/{practice-results-BlxfBx-D.js → practice-results-CrBjScXX.js} +3 -3
  101. package/dist/_chunks/{pregnancy-dating-BvorzHrd.js → pregnancy-dating-Bg_VUPwl.js} +8 -8
  102. package/dist/_chunks/{pregnancy-weight-gain-DQoOM8QV.js → pregnancy-weight-gain-B-eXFdmq.js} +2 -2
  103. package/dist/_chunks/privacy-mask-BlJK51MD.js +78 -0
  104. package/dist/_chunks/privacy-mask-text-B8YfzB7L.js +7 -0
  105. package/dist/_chunks/{province-select-cVOlwEc5.js → province-select-CTM8A9SM.js} +2 -2
  106. package/dist/_chunks/{pt-CPKOrOLj.js → pt-CgaqtlD9.js} +6 -6
  107. package/dist/_chunks/{radiograph-panel.agent-CXah49KM.js → radiograph-panel.agent-9jwXlOXB.js} +4 -4
  108. package/dist/_chunks/{registration-form-Lw9T7IXr.js → registration-form-DW-0X7S4.js} +2 -2
  109. package/dist/_chunks/{reserved.agent-D2jwJPac.js → reserved.agent-C1zRHaya.js} +12 -12
  110. package/dist/_chunks/{rich-text-editor-BLS2cK-u.js → rich-text-editor-r80Zw8ll.js} +14 -13
  111. package/dist/_chunks/{ro-Dc-oNqbF.js → ro-CpDg1-8v.js} +2 -2
  112. package/dist/_chunks/row-actions-Df7TJbNR.js +213 -0
  113. package/dist/_chunks/{ru-BtNpDZRR.js → ru-B7VMyjud.js} +9 -9
  114. package/dist/_chunks/saved-view-tabs-DLWm88Eq.js +932 -0
  115. package/dist/_chunks/{send-registration-link-form-DfbTjrEK.js → send-registration-link-form-DWxWa_cJ.js} +5 -5
  116. package/dist/_chunks/{sidebar-2VsPlNkZ.js → sidebar-D5DFYN5K.js} +326 -335
  117. package/dist/_chunks/{signature-request-BnTihryS.js → signature-request-CgvjLic3.js} +3 -3
  118. package/dist/_chunks/{slot-grid-BhjaLJ0o.js → slot-grid-b4eZXokb.js} +3 -3
  119. package/dist/_chunks/{sq-D4c7olaV.js → sq-B0Ree_9P.js} +2 -2
  120. package/dist/_chunks/subDays-Bsoy023P.js +8 -0
  121. package/dist/_chunks/{sv-Bf_dHPvh.js → sv-D9fP66O7.js} +4 -4
  122. package/dist/_chunks/{tab-bar-C_pggqVr.js → tab-bar-DTn8pHqH.js} +2 -2
  123. package/dist/_chunks/{tabs-CXYjr_8O.js → tabs-CsmgkiG6.js} +2 -2
  124. package/dist/_chunks/{tag-DOZGz0fT.js → tag-BNlcEJfE.js} +70 -67
  125. package/dist/_chunks/{task-card-DqVoitRk.js → task-card-BNbkwIYM.js} +2 -2
  126. package/dist/_chunks/{task-editor-D--LwVrg.js → task-editor-DgUjtqpX.js} +386 -410
  127. package/dist/_chunks/{task-tray-C6j8HVMv.js → task-tray-Bmi9wCHq.js} +2 -2
  128. package/dist/_chunks/{tasks-panel-D6PuF4MQ.js → tasks-panel-B5Nsf10r.js} +3 -3
  129. package/dist/_chunks/{theme-toggle-Czq3K9jB.js → theme-toggle-DfvdEg_V.js} +3 -3
  130. package/dist/_chunks/{token-insert-menu-Dl3x2ekR.js → token-insert-menu-BdcmK5Um.js} +2 -2
  131. package/dist/_chunks/toolbar-DbUQBrq4.js +159 -0
  132. package/dist/_chunks/{tooth-scheme-C-ALCHaV.js → tooth-scheme-LTkT4EXd.js} +2 -2
  133. package/dist/_chunks/{tr-xqQ6cbGY.js → tr-Bcz5LCHZ.js} +2 -2
  134. package/dist/_chunks/{transaction-chip-CohY6sTA.js → transaction-chip-CkYd-3ky.js} +47 -57
  135. package/dist/_chunks/{transcript-panel-A781Pkzr.js → transcript-panel-Wr8e4Zgi.js} +2 -2
  136. package/dist/_chunks/{treatment-receipt-pFqWFyD_.js → treatment-receipt-1VnuinhY.js} +3 -3
  137. package/dist/_chunks/undo-2-EBxWjj1W.js +15 -0
  138. package/dist/_chunks/{unit-converter-D77vmlzN.js → unit-converter-YKlHyUC2.js} +2 -2
  139. package/dist/_chunks/{use-appointment-details-read-BK_Gw1GG.js → use-appointment-details-read-_r7cjTtm.js} +8 -8
  140. package/dist/_chunks/{verify-identity-types-C85EXNzy.js → verify-identity-types-D_LdByCp.js} +2 -2
  141. package/dist/_chunks/{voice-control-panel-BGiX4sqB.js → voice-control-panel-Be_c0CQ0.js} +2 -2
  142. package/dist/_chunks/{widget-picker-U4JsEhQE.js → widget-picker-DrxJjEkv.js} +2 -2
  143. package/dist/_chunks/{workflow-map-B4XkcET0.js → workflow-map-D-u8_YSr.js} +2 -2
  144. package/dist/_chunks/{workflow-status-9wb7iWUd.js → workflow-status-fykpTxfb.js} +2 -2
  145. package/dist/_chunks/{workflow-webhook-action-CtBn5JvO.js → workflow-webhook-action-DM3W8XZE.js} +3 -3
  146. package/dist/_chunks/{zh-CN-C657DBCO.js → zh-CN-B7Ek17US.js} +11 -11
  147. package/dist/agent-catalog.json +3359 -1569
  148. package/dist/agent-i18n/en.json +100 -2
  149. package/dist/components/_shared/accessible-target.d.ts +12 -0
  150. package/dist/components/_shared/decimal.d.ts +171 -0
  151. package/dist/components/_shared/format-price.d.ts +54 -2
  152. package/dist/components/_shared/privacy-mask-text.d.ts +4 -0
  153. package/dist/components/_shared/privacy-mask.d.ts +2 -4
  154. package/dist/components/_shared/saved-view-tabs/saved-tab.d.ts +54 -0
  155. package/dist/components/_shared/saved-view-tabs/saved-view-tabs.d.ts +93 -0
  156. package/dist/components/_shared/saved-view-tabs/use-saved-view-tabs.d.ts +59 -0
  157. package/dist/components/_shared/saved-view-tabs/view-adapter.d.ts +69 -0
  158. package/dist/components/_shared/table-filters/calendar-day.d.ts +27 -0
  159. package/dist/components/_shared/table-filters/predicates.d.ts +56 -0
  160. package/dist/components/_shared/table-toolbar/context.d.ts +28 -0
  161. package/dist/components/_shared/table-toolbar/describe-filter.d.ts +42 -0
  162. package/dist/components/_shared/table-toolbar/export-files.d.ts +47 -0
  163. package/dist/components/{data-table/xlsx-export.d.ts → _shared/table-toolbar/export-xlsx.d.ts} +2 -2
  164. package/dist/components/_shared/table-toolbar/parts.d.ts +125 -0
  165. package/dist/components/_shared/table-toolbar/seam.d.ts +261 -0
  166. package/dist/components/address-fields/index.js +1 -1
  167. package/dist/components/ai-permission-notice/index.js +1 -1
  168. package/dist/components/appointment-card/index.js +2 -2
  169. package/dist/components/appointment-details-panel/index.js +1 -1
  170. package/dist/components/appointment-peek/index.js +1 -1
  171. package/dist/components/appointment-timeline/index.js +1 -1
  172. package/dist/components/bill-line-table/bill-line-table.agent.d.ts +4 -0
  173. package/dist/components/bill-line-table/bill-line-table.columns.d.ts +47 -0
  174. package/dist/components/bill-line-table/bill-line-table.d.ts +4 -0
  175. package/dist/components/bill-line-table/bill-line-table.model.d.ts +173 -0
  176. package/dist/components/bill-line-table/bill-line-table.types.d.ts +443 -0
  177. package/dist/components/bill-line-table/bill-line-table.variants.d.ts +34 -0
  178. package/dist/components/bill-line-table/index.d.ts +6 -0
  179. package/dist/components/bill-line-table/index.js +23 -0
  180. package/dist/components/bill-table/bill-table.agent.d.ts +4 -0
  181. package/dist/components/bill-table/bill-table.d.ts +13 -0
  182. package/dist/components/bill-table/bill-table.variants.d.ts +55 -0
  183. package/dist/components/bill-table/cells.d.ts +89 -0
  184. package/dist/components/bill-table/columns.d.ts +21 -0
  185. package/dist/components/bill-table/default-tabs.d.ts +21 -0
  186. package/dist/components/bill-table/handle.d.ts +19 -0
  187. package/dist/components/bill-table/index.d.ts +7 -0
  188. package/dist/components/bill-table/index.js +19 -0
  189. package/dist/components/bill-table/model.d.ts +103 -0
  190. package/dist/components/bill-table/row-actions.d.ts +27 -0
  191. package/dist/components/bill-table/status-maps.d.ts +225 -0
  192. package/dist/components/bill-table/types.d.ts +542 -0
  193. package/dist/components/bmi-calculator/index.js +1 -1
  194. package/dist/components/booking/index.js +1 -1
  195. package/dist/components/button-group/index.js +1 -1
  196. package/dist/components/calculator-dialog/index.js +1 -1
  197. package/dist/components/care-plan-card/index.js +1 -1
  198. package/dist/components/care-plan-entry-card/index.js +1 -1
  199. package/dist/components/chart/index.js +1 -1
  200. package/dist/components/chat-container/index.js +1 -1
  201. package/dist/components/checkbox/checkbox.d.ts +66 -6
  202. package/dist/components/checkbox/index.js +1 -1
  203. package/dist/components/checkbox-group/index.js +1 -1
  204. package/dist/components/combobox/combobox.d.ts +59 -1
  205. package/dist/components/combobox/index.d.ts +1 -1
  206. package/dist/components/combobox/index.js +1 -1
  207. package/dist/components/contact-profile-card/index.js +1 -1
  208. package/dist/components/country-select/index.js +1 -1
  209. package/dist/components/cycle-calculator/index.js +1 -1
  210. package/dist/components/dashboard-grid/index.js +1 -1
  211. package/dist/components/data-grid/announcer.d.ts +27 -0
  212. package/dist/components/data-grid/body.d.ts +101 -0
  213. package/dist/components/data-grid/columns.d.ts +96 -0
  214. package/dist/components/data-grid/data-grid.agent.d.ts +2 -1
  215. package/dist/components/data-grid/data-grid.d.ts +11 -27
  216. package/dist/components/data-grid/data-grid.variants.d.ts +110 -0
  217. package/dist/components/data-grid/editors.d.ts +14 -0
  218. package/dist/components/data-grid/export-snapshot.d.ts +3 -0
  219. package/dist/components/data-grid/features.d.ts +56 -0
  220. package/dist/components/data-grid/filter-fns.d.ts +23 -0
  221. package/dist/components/data-grid/filters/date-range-panel.d.ts +8 -0
  222. package/dist/components/data-grid/filters/filter-panels.d.ts +27 -0
  223. package/dist/components/data-grid/filters/filter-trigger.d.ts +7 -0
  224. package/dist/components/data-grid/footer.d.ts +10 -0
  225. package/dist/components/data-grid/grid-context.d.ts +18 -0
  226. package/dist/components/data-grid/handle.d.ts +60 -0
  227. package/dist/components/data-grid/header.d.ts +12 -0
  228. package/dist/components/data-grid/index.d.ts +3 -0
  229. package/dist/components/data-grid/index.js +11 -3
  230. package/dist/components/data-grid/keyboard.d.ts +76 -0
  231. package/dist/components/data-grid/pager.d.ts +18 -0
  232. package/dist/components/data-grid/persistence.d.ts +60 -0
  233. package/dist/components/data-grid/print.d.ts +10 -0
  234. package/dist/components/data-grid/responsive.d.ts +36 -0
  235. package/dist/components/data-grid/selection.d.ts +68 -0
  236. package/dist/components/data-grid/state.d.ts +119 -0
  237. package/dist/components/data-grid/states.d.ts +34 -0
  238. package/dist/components/data-grid/toolbar-seam.d.ts +7 -0
  239. package/dist/components/data-grid/toolbar.d.ts +41 -0
  240. package/dist/components/data-grid/types.d.ts +1396 -0
  241. package/dist/components/data-grid/use-data-grid-engine.d.ts +9 -0
  242. package/dist/components/data-grid/virtual-rows.d.ts +43 -0
  243. package/dist/components/data-grid-tabs/data-grid-tabs.agent.d.ts +9 -0
  244. package/dist/components/data-grid-tabs/data-grid-tabs.d.ts +4 -0
  245. package/dist/components/data-grid-tabs/grid-view-adapter.d.ts +15 -0
  246. package/dist/components/data-grid-tabs/index.d.ts +5 -0
  247. package/dist/components/data-grid-tabs/index.js +8 -0
  248. package/dist/components/data-grid-tabs/types.d.ts +220 -0
  249. package/dist/components/data-table/ag-toolbar-seam.d.ts +35 -0
  250. package/dist/components/data-table/calendar-day.d.ts +4 -21
  251. package/dist/components/data-table/data-table.d.ts +10 -6
  252. package/dist/components/data-table/filters/date-range-filter.d.ts +5 -9
  253. package/dist/components/data-table/filters/filter-kind.d.ts +6 -0
  254. package/dist/components/data-table/filters/number-filter.d.ts +6 -10
  255. package/dist/components/data-table/filters/select-filter.d.ts +2 -4
  256. package/dist/components/data-table/filters/text-filter.d.ts +2 -5
  257. package/dist/components/data-table/index.js +4 -4
  258. package/dist/components/data-table/toolbar.d.ts +25 -21
  259. package/dist/components/data-table-tabs/ag-view-adapter.d.ts +17 -0
  260. package/dist/components/data-table-tabs/data-table-tabs.d.ts +34 -33
  261. package/dist/components/data-table-tabs/index.js +1 -1
  262. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +11 -66
  263. package/dist/components/date-picker/index.js +1 -1
  264. package/dist/components/date-range-picker/index.js +1 -1
  265. package/dist/components/date-time-picker/index.js +1 -1
  266. package/dist/components/dialog/focus-return.d.ts +12 -0
  267. package/dist/components/dialog/index.js +1 -1
  268. package/dist/components/document-preview/index.js +1 -1
  269. package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -0
  270. package/dist/components/dropdown-menu/index.js +1 -1
  271. package/dist/components/due-date-calculator/index.js +2 -2
  272. package/dist/components/face-scheme/index.js +1 -1
  273. package/dist/components/fetal-weight/index.js +1 -1
  274. package/dist/components/file-manager/index.js +1 -1
  275. package/dist/components/gestational-age-calculator/index.js +1 -1
  276. package/dist/components/hcg-doubling/index.js +1 -1
  277. package/dist/components/header-settings/index.js +1 -1
  278. package/dist/components/heatmap/index.js +1 -1
  279. package/dist/components/icon-button-group/icon-button-group.d.ts +19 -1
  280. package/dist/components/icon-button-group/index.d.ts +1 -1
  281. package/dist/components/icon-button-group/index.js +1 -1
  282. package/dist/components/index.d.ts +7 -0
  283. package/dist/components/money/index.js +1 -1
  284. package/dist/components/money/money.d.ts +39 -6
  285. package/dist/components/muscle-scheme/index.js +1 -1
  286. package/dist/components/notes-panel/index.js +1 -1
  287. package/dist/components/number-input/index.d.ts +2 -2
  288. package/dist/components/number-input/index.js +1 -1
  289. package/dist/components/number-input/number-input.d.ts +43 -2
  290. package/dist/components/number-input/use-locale-number.d.ts +67 -3
  291. package/dist/components/optical-prescription/index.js +1 -1
  292. package/dist/components/patient-details/index.js +1 -1
  293. package/dist/components/patient-search/index.js +1 -1
  294. package/dist/components/patient-summary-card/index.js +1 -1
  295. package/dist/components/patient-table/index.js +1 -1
  296. package/dist/components/payment-card/index.js +1 -1
  297. package/dist/components/periodontal-diagnosis/index.js +1 -1
  298. package/dist/components/permission-matrix/index.js +1 -1
  299. package/dist/components/practice-results/index.js +1 -1
  300. package/dist/components/pregnancy-dating/index.js +1 -1
  301. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  302. package/dist/components/province-select/index.js +1 -1
  303. package/dist/components/radiograph-panel/index.js +1 -1
  304. package/dist/components/rich-text-editor/index.js +2 -2
  305. package/dist/components/row-actions/index.d.ts +3 -0
  306. package/dist/components/row-actions/index.js +5 -0
  307. package/dist/components/row-actions/row-actions.d.ts +63 -0
  308. package/dist/components/sidebar/index.js +1 -1
  309. package/dist/components/skeleton-scheme/index.js +1 -1
  310. package/dist/components/slot-grid/index.js +1 -1
  311. package/dist/components/smart-date/smart-date.d.ts +1 -1
  312. package/dist/components/tab-bar/index.js +1 -1
  313. package/dist/components/tabs/index.js +1 -1
  314. package/dist/components/tag/index.js +1 -1
  315. package/dist/components/task-card/index.js +1 -1
  316. package/dist/components/task-editor/index.js +1 -1
  317. package/dist/components/task-tray/index.js +1 -1
  318. package/dist/components/tasks-panel/index.js +1 -1
  319. package/dist/components/theme-toggle/index.js +1 -1
  320. package/dist/components/token-insert-menu/index.js +1 -1
  321. package/dist/components/tooth-scheme/index.js +1 -1
  322. package/dist/components/transaction-chip/index.js +1 -1
  323. package/dist/components/transaction-chip/transaction-chip.d.ts +1 -1
  324. package/dist/components/transcript-panel/index.js +1 -1
  325. package/dist/components/treatment-receipt/index.js +1 -1
  326. package/dist/components/unit-converter/index.js +1 -1
  327. package/dist/components/voice-control-panel/index.js +1 -1
  328. package/dist/components/widget-picker/index.js +1 -1
  329. package/dist/components/workflow/index.js +1 -1
  330. package/dist/components/workflow-status/index.js +1 -1
  331. package/dist/core.css +1 -1
  332. package/dist/decimal/index.js +149 -0
  333. package/dist/host-compat.css +36 -2
  334. package/dist/i18n/locales/ar.d.ts +342 -0
  335. package/dist/i18n/locales/ar.js +344 -2
  336. package/dist/i18n/locales/de.d.ts +342 -0
  337. package/dist/i18n/locales/de.js +344 -2
  338. package/dist/i18n/locales/el.d.ts +342 -0
  339. package/dist/i18n/locales/el.js +344 -2
  340. package/dist/i18n/locales/en.d.ts +342 -0
  341. package/dist/i18n/locales/en.js +345 -2
  342. package/dist/i18n/locales/es.d.ts +342 -0
  343. package/dist/i18n/locales/es.js +344 -2
  344. package/dist/i18n/locales/fr.d.ts +342 -0
  345. package/dist/i18n/locales/fr.js +344 -2
  346. package/dist/i18n/locales/hi.d.ts +342 -0
  347. package/dist/i18n/locales/hi.js +344 -2
  348. package/dist/i18n/locales/it.d.ts +342 -0
  349. package/dist/i18n/locales/it.js +344 -2
  350. package/dist/i18n/locales/ja.d.ts +342 -0
  351. package/dist/i18n/locales/ja.js +344 -2
  352. package/dist/i18n/locales/nl.d.ts +342 -0
  353. package/dist/i18n/locales/nl.js +344 -2
  354. package/dist/i18n/locales/pl.d.ts +342 -0
  355. package/dist/i18n/locales/pl.js +344 -2
  356. package/dist/i18n/locales/pt.d.ts +342 -0
  357. package/dist/i18n/locales/pt.js +344 -2
  358. package/dist/i18n/locales/ro.d.ts +342 -0
  359. package/dist/i18n/locales/ro.js +344 -2
  360. package/dist/i18n/locales/ru.d.ts +342 -0
  361. package/dist/i18n/locales/ru.js +344 -2
  362. package/dist/i18n/locales/sq.d.ts +342 -0
  363. package/dist/i18n/locales/sq.js +344 -2
  364. package/dist/i18n/locales/sv.d.ts +342 -0
  365. package/dist/i18n/locales/sv.js +344 -2
  366. package/dist/i18n/locales/tr.d.ts +342 -0
  367. package/dist/i18n/locales/tr.js +344 -2
  368. package/dist/i18n/locales/zh.d.ts +342 -0
  369. package/dist/i18n/locales/zh.js +344 -2
  370. package/dist/index.js +1305 -1241
  371. package/dist/locales/ar.json +344 -2
  372. package/dist/locales/de.json +344 -2
  373. package/dist/locales/el.json +344 -2
  374. package/dist/locales/en.json +344 -2
  375. package/dist/locales/es.json +344 -2
  376. package/dist/locales/fr.json +344 -2
  377. package/dist/locales/hi.json +344 -2
  378. package/dist/locales/it.json +344 -2
  379. package/dist/locales/ja.json +344 -2
  380. package/dist/locales/nl.json +344 -2
  381. package/dist/locales/pl.json +344 -2
  382. package/dist/locales/pt.json +344 -2
  383. package/dist/locales/ro.json +344 -2
  384. package/dist/locales/ru.json +344 -2
  385. package/dist/locales/sq.json +344 -2
  386. package/dist/locales/sv.json +344 -2
  387. package/dist/locales/tr.json +344 -2
  388. package/dist/locales/zh.json +344 -2
  389. package/dist/patterns/alia-assistant/index.js +1 -1
  390. package/dist/patterns/anamnesis/index.js +1 -1
  391. package/dist/patterns/calendar/index.js +1 -1
  392. package/dist/patterns/help-me-write-templates/index.js +1 -1
  393. package/dist/patterns/login-form/index.js +1 -1
  394. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  395. package/dist/patterns/registration-form/index.js +1 -1
  396. package/dist/patterns/send-registration-link-form/index.js +1 -1
  397. package/dist/patterns/signature-request/index.js +1 -1
  398. package/dist/patterns/verify-identity/index.js +1 -1
  399. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  400. package/dist/tokens.css +1 -1
  401. package/package.json +21 -1
  402. package/dist/_chunks/checkbox-a7Sh-dXb.js +0 -227
  403. package/dist/_chunks/combobox-duuDRI1t.js +0 -688
  404. package/dist/_chunks/data-grid.agent-CASyEAnb.js +0 -1773
  405. package/dist/_chunks/data-table-C9idMvs0.js +0 -2042
  406. package/dist/_chunks/data-table-tabs-Db7zToFD.js +0 -728
  407. package/dist/_chunks/dialog-BTjSQjdY.js +0 -274
  408. package/dist/_chunks/format--x5jypvH.js +0 -1319
  409. package/dist/_chunks/format-price-BcFBa-WP.js +0 -52
  410. package/dist/_chunks/icon-button-group-mXvYDaba.js +0 -427
  411. package/dist/_chunks/link-cell-renderer-_Fv3WEmb.js +0 -867
  412. package/dist/_chunks/money-Tsczpjfz.js +0 -102
  413. package/dist/_chunks/number-input-CVwI1ltI.js +0 -423
  414. package/dist/_chunks/privacy-mask-Dc3kdkCR.js +0 -81
  415. package/dist/_chunks/subDays-DKISP2nE.js +0 -8
  416. package/dist/_chunks/undo-2-CYNAzclj.js +0 -26
@@ -2,7 +2,7 @@ import { type HTMLAttributes } from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  declare const moneyVariants: (props?: ({
4
4
  size?: "sm" | "md" | "lg" | null | undefined;
5
- tone?: "default" | "muted" | "positive" | "negative" | null | undefined;
5
+ tone?: "default" | "negative" | "muted" | "positive" | null | undefined;
6
6
  strikethrough?: boolean | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  export type MoneyDecimals = 'full' | 'muted' | 'hideWhenZero';
@@ -10,7 +10,15 @@ export interface MoneyProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'child
10
10
  /**
11
11
  * Amount in the SMALLEST currency unit (cents), the kit's price
12
12
  * convention — never a pre-formatted string. Zero-decimal currencies
13
- * (JPY, KRW …) take the major amount, as `formatPrice` expects.
13
+ * (JPY, KRW …) take the major amount, as `formatPrice` expects. With
14
+ * `scale`, it is the amount times 10 to the power of `scale` instead.
15
+ * With `scale`, `minimumFractionDigits` or `maximumFractionDigits` set,
16
+ * exact digits are promised up to `Number.MAX_SAFE_INTEGER` (about 90
17
+ * million EUR at scale 8); beyond it, or for a float, the amount is
18
+ * rounded as a float and a warning is logged in development. Above 15
19
+ * significant digits, exactness needs an engine that formats a decimal
20
+ * string (ES2023); see the Money docs. Without those props the amount is
21
+ * divided by 100 as a float, as before, with no warning.
14
22
  */
15
23
  value: number;
16
24
  /** ISO-4217 code. Defaults to EUR, the practice currency. */
@@ -18,20 +26,45 @@ export interface MoneyProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'child
18
26
  /** BCP 47 locale. Defaults to the active i18n language. */
19
27
  locale?: string;
20
28
  /**
21
- * Colour. `auto` follows the sign — a negative amount reads destructive,
22
- * everything else inherits the default. Explicit tones always win.
29
+ * Colour. `auto` follows the sign shown — a negative amount reads
30
+ * destructive, everything else inherits the default, and a credit note
31
+ * rounded to 0.00 is not painted as owed. Explicit tones always win.
23
32
  */
24
33
  tone?: 'default' | 'muted' | 'positive' | 'negative' | 'auto';
25
34
  /**
26
35
  * What to do with the fraction:
27
36
  * `full` (default) leaves it alone;
28
37
  * `muted` de-emphasises it so the whole units read first;
29
- * `hideWhenZero` drops it ONLY when it is all zeros, so a price is
30
- * never rounded away in the display.
38
+ * `hideWhenZero` drops it ONLY when it is all zeros as displayed,
39
+ * after any rounding you asked for with `maximumFractionDigits`.
40
+ * Without that, nothing is rounded, so a real fraction always shows.
31
41
  */
32
42
  decimals?: MoneyDecimals;
33
43
  /** Force a leading `+` on positive amounts (a credit, a movement). */
34
44
  signDisplay?: 'auto' | 'always';
45
+ /**
46
+ * How many decimal places `value` encodes. Defaults to the kit's
47
+ * minor-unit rule (2, or 0 for zero-decimal currencies such as JPY), so
48
+ * existing amounts are unchanged. Set it for a price finer than a cent:
49
+ * an invoice unit price of 12.3456 EUR is `value={123456} scale={4}`,
50
+ * and shows every digit. Whole numbers from 0 to 20; anything else
51
+ * falls back to the default and logs a warning in development.
52
+ */
53
+ scale?: number;
54
+ /**
55
+ * The fewest fraction digits to show. Defaults to the currency's own
56
+ * (2 for EUR), so zeros beyond them are trimmed: `123400` at scale 4
57
+ * reads 12.34. In a column, set it to the scale so every row shows the
58
+ * same digits and the decimals line up. Don't set it below the
59
+ * currency's digits on a price; use `decimals="hideWhenZero"` instead.
60
+ */
61
+ minimumFractionDigits?: number;
62
+ /**
63
+ * The most fraction digits to show. Defaults to the larger of `scale` and
64
+ * the currency's own, so nothing is rounded unless you ask. A value below
65
+ * `scale` rounds half away from zero, with integer arithmetic.
66
+ */
67
+ maximumFractionDigits?: number;
35
68
  }
36
69
  export declare const Money: import("react").ForwardRefExoticComponent<MoneyProps & import("react").RefAttributes<HTMLSpanElement>>;
37
70
  export {};
@@ -1,4 +1,4 @@
1
- import { D as a, F as i, a as g, M as r, b as o, e as t, f as n, c as u, g as c, d as m, m as E, r as F, u as M, v as I } from "../../_chunks/muscle-scheme-BkmDUTmk.js";
1
+ import { D as a, F as i, a as g, M as r, b as o, e as t, f as n, c as u, g as c, d as m, m as E, r as F, u as M, v as I } from "../../_chunks/muscle-scheme-7UsRsCHP.js";
2
2
  export {
3
3
  a as DEFAULT_MUSCLE_VIEW,
4
4
  i as FINDING_MARKER,
@@ -1,4 +1,4 @@
1
- import { N as a } from "../../_chunks/notes-panel-DXMTObBv.js";
1
+ import { N as a } from "../../_chunks/notes-panel-DexbfrFo.js";
2
2
  export {
3
3
  a as NotesPanel
4
4
  };
@@ -1,5 +1,5 @@
1
1
  export { NumberInput } from './number-input';
2
- export type { NumberInputProps, NumberInputMode } from './number-input';
2
+ export type { NumberInputProps, NumberInputMode, NumberInputValidity, NumberInputValidityReason, } from './number-input';
3
3
  export { useLocaleNumber } from './use-locale-number';
4
- export type { LocaleNumber } from './use-locale-number';
4
+ export type { FractionDigitOptions, LocaleNumber } from './use-locale-number';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { N as r, u as a } from "../../_chunks/number-input-CVwI1ltI.js";
1
+ import { N as r, u as a } from "../../_chunks/number-input-DUSvP7Dq.js";
2
2
  export {
3
3
  r as NumberInput,
4
4
  a as useLocaleNumber
@@ -14,13 +14,39 @@ declare const numberInputVariants: (props?: ({
14
14
  inline?: "full" | "sm" | "md" | "lg" | null | undefined;
15
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
16
  export type { NumberInputMode };
17
+ /** Why the field's own value is invalid. Mirrors `aria-invalid`.
18
+ * - `'format'`: the text on screen is not a number in this locale
19
+ * ("1.5" in it-IT, "1,5" in en-US). Reported on blur, never mid-typing.
20
+ * - `'below-min'` / `'above-max'`: a number outside `min` or `max`. */
21
+ export type NumberInputValidityReason = 'format' | 'below-min' | 'above-max';
22
+ /** What `onValidityChange` reports. */
23
+ export interface NumberInputValidity {
24
+ valid: boolean;
25
+ /** `null` when `valid` is true. */
26
+ reason: NumberInputValidityReason | null;
27
+ }
17
28
  export interface NumberInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'value' | 'defaultValue' | 'size'>, VariantProps<typeof numberInputVariants> {
18
- /** Current numeric value (controlled). */
29
+ /** Current numeric value (controlled). A JavaScript number, exact to 15
30
+ * significant digits. Decimal text (FatturaPA) goes in through
31
+ * `decimalToNumber` and comes back out through `numberToDecimal` from
32
+ * `@alfadocs/ui-kit/decimal`; do the arithmetic on the text. */
19
33
  value?: number | null;
20
34
  /** Initial value (uncontrolled). */
21
35
  defaultValue?: number;
22
- /** Fires with the parsed number (not a string). `null` when the field is empty. */
36
+ /** Fires with the parsed number (not a string). `null` when the field is
37
+ * empty, and as soon as typed text stops being a number ("1.5" in it-IT),
38
+ * so the host never holds a number the screen no longer shows. Text that
39
+ * is not a number also gets the error tone and `aria-invalid` on blur. */
23
40
  onChange?: (value: number | null) => void;
41
+ /** Called on mount and whenever the field's own verdict changes: the text
42
+ * is not a number (`'format'`), or the number is below `min` or above `max`.
43
+ * It stays in step with `aria-invalid` and the error tone, so a host can
44
+ * show its message (in a FormField or a table cell) and hold Confirm while
45
+ * `valid` is false. A host's own `aria-invalid` or FormField error is not
46
+ * part of it: the host already knows those. Mid-typing, text that is not a
47
+ * number already makes `onChange` report `null`; `'format'` follows on
48
+ * blur, as the error tone does. */
49
+ onValidityChange?: (validity: NumberInputValidity) => void;
24
50
  /** Minimum allowed value. Maps to `aria-valuemin`. */
25
51
  min?: number;
26
52
  /** Maximum allowed value. Maps to `aria-valuemax`. */
@@ -29,6 +55,21 @@ export interface NumberInputProps extends Omit<InputHTMLAttributes<HTMLInputElem
29
55
  step?: number;
30
56
  /** Display/parse mode. Defaults to `'integer'`. */
31
57
  mode?: NumberInputMode;
58
+ /** Most digits after the decimal separator, for `mode='decimal'` and
59
+ * `mode='currency'` (ignored by `integer` and `percentage`). Typing past it
60
+ * is refused: the extra digit never reaches the field, and a paste keeps
61
+ * only the first digits. A value the field computes itself (arrow steps,
62
+ * the agent handle) is rounded half away from zero, so `onChange` never
63
+ * reports more digits than this. Display formatting uses it too. Leave it
64
+ * out to keep the mode's default: up to 10 for `decimal`, the currency's
65
+ * own digits for `currency`, with no limit on typing. Whole numbers from 0
66
+ * to 20. */
67
+ maximumFractionDigits?: number;
68
+ /** Fewest digits after the decimal separator in the formatted display (for
69
+ * example `2` shows `12` as `12,00` once the field loses focus). Display
70
+ * only: it never changes the value or what can be typed. Same modes as
71
+ * `maximumFractionDigits`, and never more than it. */
72
+ minimumFractionDigits?: number;
32
73
  /** ISO 4217 currency code, required when `mode='currency'`. */
33
74
  currency?: string;
34
75
  /** BCP 47 locale. Defaults to the app language (`i18n.language`), then
@@ -2,14 +2,78 @@ export type NumberInputMode = 'integer' | 'decimal' | 'currency' | 'percentage';
2
2
  export interface LocaleNumber {
3
3
  /** Format a JS number for display (e.g. `1234.5` → `1.234,5` in de-DE). */
4
4
  format: (value: number) => string;
5
- /** Parse a locale-formatted string back to a JS number. Returns `NaN` for invalid input. */
5
+ /** Parse a locale-formatted string back to a JS number. Returns `NaN` for
6
+ * invalid input, including misplaced grouping ("1.5" in it-IT, "1,5" in
7
+ * en-US), so a separator never turns 1.5 into 15. */
6
8
  parse: (text: string) => number;
7
9
  /** The decimal separator for this locale (e.g. `.` or `,`). */
8
10
  decimalSeparator: string;
9
- /** The grouping separator for this locale (e.g. `,` or `.` or ` `). */
11
+ /** The grouping separator for this locale (e.g. `,` or `.` or U+202F).
12
+ * Never equal to `decimalSeparator`: where the locale shows none, the
13
+ * other of `.` and `,` stands in. */
10
14
  groupingSeparator: string;
11
15
  /** The correct `inputMode` for the virtual keyboard. */
12
16
  inputMode: 'numeric' | 'decimal';
13
17
  }
14
- export declare function useLocaleNumber(locale: string, mode: NumberInputMode, currency?: string): LocaleNumber;
18
+ /** Fraction-digit limits for `decimal` and `currency` modes. Both optional:
19
+ * leaving them out keeps the mode's own defaults (up to 10 digits for
20
+ * `decimal`, the currency's own digits for `currency`). Ignored by
21
+ * `integer` and `percentage`. */
22
+ export interface FractionDigitOptions {
23
+ minimumFractionDigits?: number;
24
+ maximumFractionDigits?: number;
25
+ }
26
+ /** A whole number in the range `Intl` accepts, or `undefined` for anything
27
+ * that is not a finite number. */
28
+ export declare function sanitiseFractionDigits(n: number | undefined): number | undefined;
29
+ /** Does this mode honour the fraction-digit props? */
30
+ export declare function modeTakesFractionDigits(mode: NumberInputMode): boolean;
31
+ /** Resolve the min/max pair the formatter uses. A minimum above the maximum
32
+ * would make `Intl` throw, so the maximum wins when both are given; a
33
+ * minimum on its own lifts the default maximum to meet it. Returns
34
+ * `undefined` when no prop applies, so the mode's defaults stay untouched. */
35
+ export declare function resolveFractionDigits(locale: string, mode: NumberInputMode, currency: string | undefined, options: FractionDigitOptions | undefined): {
36
+ min: number;
37
+ max: number;
38
+ } | undefined;
39
+ export interface LocaleSeparators {
40
+ /** "," or "." or "٫". */
41
+ decimal: string;
42
+ /** Never equal to `decimal`. */
43
+ group: string;
44
+ /** Digits in the last integer group: 3 everywhere CLDR ships today
45
+ * (hi-IN groups 1,23,45,67,890: 2 then 3). */
46
+ primaryGroupSize: number;
47
+ }
48
+ /** The decimal and grouping separators `Intl` uses for a locale. When the
49
+ * locale shows no grouping separator, or one equal to the decimal, the other
50
+ * of "." and "," stands in, so a decimal separator is never mistaken for a
51
+ * group break. */
52
+ export declare function detectSeparators(locale: string): LocaleSeparators;
53
+ /**
54
+ * Locale text to a number, or `NaN`. Digits (Western and Arabic-Indic) and
55
+ * the decimal separator are kept; currency signs, units and spaces outside
56
+ * the digits are dropped; one minus before the first digit negates. Anything
57
+ * that could glue or shift digits into a different number is `NaN`:
58
+ * - a separator straight before the first digit that is not the decimal
59
+ * (".5" in it-IT, ",5" in en-US), never 5;
60
+ * - a minus after the first digit, or a second one ("5-", "1-234");
61
+ * - between integer digits only spaces and separator marks may stand, so
62
+ * a letter ("1a234") is not a group break;
63
+ * - the digits after the last group break must be a full primary group (3),
64
+ * so "1.5" in it-IT and "1,5" in en-US are not 15;
65
+ * - the digits before the first break may not be longer than that group
66
+ * ("1234,567" in en-US), and the groups between breaks must be 2 or 3
67
+ * digits, so Indian lakh grouping (1,23,456) still parses;
68
+ * - a break among the decimals, or a second decimal separator.
69
+ * A trailing group separator is ignored, so "1." reads as 1 while typing.
70
+ * Percentage mode moves the point two places on the exponent (25 → 0.25).
71
+ */
72
+ export declare function parseLocaleNumber(text: string, separators: LocaleSeparators, mode: NumberInputMode): number;
73
+ /** Write Western digits in the locale's own digits when `Intl` formats it
74
+ * with Arabic-Indic or extended Arabic-Indic digits (ar-EG shows ١٫٥), so the
75
+ * edit text matches the display. Only those two sets: `parse` reads them
76
+ * back. Any other locale gets the text unchanged. */
77
+ export declare function localiseDigits(text: string, locale: string): string;
78
+ export declare function useLocaleNumber(locale: string, mode: NumberInputMode, currency?: string, fractionDigits?: FractionDigitOptions): LocaleNumber;
15
79
  //# sourceMappingURL=use-locale-number.d.ts.map
@@ -1,4 +1,4 @@
1
- import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-CvbN8yD2.js";
1
+ import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-Da_r8pMr.js";
2
2
  export {
3
3
  S as ADD_MAX,
4
4
  r as ADD_MIN,
@@ -1,4 +1,4 @@
1
- import { P as e, p as i } from "../../_chunks/patient-details-DdtXBNjt.js";
1
+ import { P as e, p as i } from "../../_chunks/patient-details-PJ0Y__7t.js";
2
2
  export {
3
3
  e as PatientDetails,
4
4
  i as patientDetailsAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as r } from "../../_chunks/patient-search-DDRDCjZi.js";
1
+ import { P as t, p as r } from "../../_chunks/patient-search-Bdx_Ob3y.js";
2
2
  export {
3
3
  t as PatientSearch,
4
4
  r as patientSearchAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as m } from "../../_chunks/patient-summary-card-CGHz-Bvm.js";
1
+ import { P as t, p as m } from "../../_chunks/patient-summary-card-BOfXDP8a.js";
2
2
  export {
3
3
  t as PatientSummaryCard,
4
4
  m as patientSummaryCardAgent
@@ -1,4 +1,4 @@
1
- import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-BAZynD--.js";
1
+ import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-L7bD0Nsh.js";
2
2
  export {
3
3
  s as BalanceBadgeCell,
4
4
  l as CarePlanStatusCell,
@@ -1,4 +1,4 @@
1
- import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-BmV2pLoM.js";
1
+ import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-_04afZEx.js";
2
2
  export {
3
3
  t as PaymentCard,
4
4
  n as PaymentRequestCard,
@@ -1,4 +1,4 @@
1
- import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-xheWfi4g.js";
1
+ import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-DnZuZD14.js";
2
2
  export {
3
3
  i as DEFAULT_DIAGNOSIS_FACTORS,
4
4
  S as PERIODONTITIS_EXTENTS,
@@ -1,4 +1,4 @@
1
- import { P as a, p as r, a as t } from "../../_chunks/permission-matrix-BJ6sg3Zp.js";
1
+ import { P as a, p as r, a as t } from "../../_chunks/permission-matrix-BXmhICzN.js";
2
2
  export {
3
3
  a as PermissionMatrix,
4
4
  r as permissionMatrixAgent,
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-BlxfBx-D.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-CrBjScXX.js";
2
2
  export {
3
3
  t as PracticeResults,
4
4
  a as practiceResultsAgent
@@ -1,4 +1,4 @@
1
- import { P as r } from "../../_chunks/pregnancy-dating-BvorzHrd.js";
1
+ import { P as r } from "../../_chunks/pregnancy-dating-Bg_VUPwl.js";
2
2
  export {
3
3
  r as PregnancyDating
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-DQoOM8QV.js";
1
+ import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-B-eXFdmq.js";
2
2
  export {
3
3
  n as PregnancyWeightGain,
4
4
  s as RATE_BANDS,
@@ -1,4 +1,4 @@
1
- import { I as o, P as r, p as t } from "../../_chunks/province-select-cVOlwEc5.js";
1
+ import { I as o, P as r, p as t } from "../../_chunks/province-select-CTM8A9SM.js";
2
2
  export {
3
3
  o as IT_PROVINCES,
4
4
  r as ProvinceSelect,
@@ -1,4 +1,4 @@
1
- import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-CXah49KM.js";
1
+ import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-9jwXlOXB.js";
2
2
  export {
3
3
  o as RadiographPanel,
4
4
  e as RadiographPanelIcon,
@@ -1,5 +1,5 @@
1
- import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-BLS2cK-u.js";
2
- import { k as s } from "../../_chunks/kit-extensions-DZJRmDI6.js";
1
+ import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-r80Zw8ll.js";
2
+ import { k as s } from "../../_chunks/kit-extensions-BFfLg7c-.js";
3
3
  export {
4
4
  i as RichTextEditor,
5
5
  s as kitEditorExtensions,
@@ -0,0 +1,3 @@
1
+ export { RowActions } from './row-actions';
2
+ export type { RowActionDef, RowActionsProps } from './row-actions';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { R as s } from "../../_chunks/row-actions-Df7TJbNR.js";
2
+ export {
3
+ s as RowActions
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,63 @@
1
+ import { type ForwardedRef, type HTMLAttributes, type ReactElement, type ReactNode } from 'react';
2
+ /**
3
+ * One action on a row. A superset of DataTable's `ActionDef`, so an action
4
+ * list written for DataTable works here unchanged.
5
+ */
6
+ export interface RowActionDef<TRow> {
7
+ /** Developer constant: the React key and the `data-action-id` DOM hook
8
+ * for tests. Never row data. Defaults to the index. */
9
+ id?: string;
10
+ /** A Lucide icon. Decorative (`aria-hidden`); RowActions sizes it. */
11
+ icon: ReactNode;
12
+ /** Translated. The accessible name, the tooltip and the menu text. */
13
+ label: string;
14
+ /** Called with the row. Never called while the action is disabled. */
15
+ onClick: (row: TRow) => void;
16
+ /** Pass a predicate for a per-row state. */
17
+ disabled?: boolean | ((row: TRow) => boolean);
18
+ /** Translated. Why the action is disabled. Inline: the tooltip, and the
19
+ * button's description for screen readers (the button stays focusable).
20
+ * In the More menu: the item's second line. */
21
+ disabledReason?: string | ((row: TRow) => string | undefined);
22
+ /** `'destructive'` paints the action in `--destructive`. RowActions never
23
+ * confirms: open an AlertDialog from `onClick`. */
24
+ variant?: 'default' | 'destructive';
25
+ /** Pass a predicate to hide the action on some rows. */
26
+ hidden?: boolean | ((row: TRow) => boolean);
27
+ /** Developer constant naming the action's group in the More menu
28
+ * ("downloads", "delete"). The menu draws a separator where the section
29
+ * changes between two visible items. Keep a section's actions next to
30
+ * each other. Inline buttons ignore it. Never row data. */
31
+ section?: string;
32
+ }
33
+ export interface RowActionsProps<TRow> extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role' | 'aria-label' | 'aria-labelledby'> {
34
+ /** The row the actions act on. Passed back to each `onClick`. */
35
+ row: TRow;
36
+ actions: readonly RowActionDef<TRow>[];
37
+ /** How many visible actions show as buttons before the rest fold into
38
+ * "More actions". Default: all inline. `0`: only "More actions". */
39
+ maxInline?: number;
40
+ /** Button intent. Default `'ghost'`. */
41
+ intent?: 'ghost' | 'outline';
42
+ /** Render the buttons as one segmented IconButtonGroup. */
43
+ group?: boolean;
44
+ /** Ids of the element(s) naming the actions, such as a table's hidden
45
+ * "Actions, FT 12/2026" span. Keeps row data out of attributes. */
46
+ 'aria-labelledby'?: string;
47
+ /** Names the actions when `aria-labelledby` is not given. Translated.
48
+ * Default "Actions". */
49
+ label?: string;
50
+ /** Button size. Default `'sm'`. */
51
+ size?: 'sm' | 'md';
52
+ }
53
+ /**
54
+ * The actions for one row of a table, list or card: icon buttons, with the
55
+ * rest under "More actions". Engine-free, so it works in DataGrid, a list or
56
+ * a card. A disabled action stays focusable and says why.
57
+ */
58
+ export declare const RowActions: (<TRow>(props: RowActionsProps<TRow> & {
59
+ ref?: ForwardedRef<HTMLDivElement>;
60
+ }) => ReactElement | null) & {
61
+ displayName?: string;
62
+ };
63
+ //# sourceMappingURL=row-actions.d.ts.map
@@ -1,4 +1,4 @@
1
- import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as g, i as n, j as l, k as m, l as c, m as p, n as u, o as I, p as P, q as f, r as h, s as v, t as A, u as B, v as C } from "../../_chunks/sidebar-2VsPlNkZ.js";
1
+ import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as g, i as n, j as l, k as m, l as c, m as p, n as u, o as I, p as P, q as f, r as h, s as v, t as A, u as B, v as C } from "../../_chunks/sidebar-D5DFYN5K.js";
2
2
  import { u as T } from "../../_chunks/use-persistent-state-nZwZAnE9.js";
3
3
  export {
4
4
  r as Sidebar,
@@ -5,7 +5,7 @@ import { c as T1 } from "../../_chunks/index-D2ZczOXr.js";
5
5
  import { useTranslation as N1 } from "react-i18next";
6
6
  import { u as E1 } from "../../_chunks/registry-DvAUVLHh.js";
7
7
  import { m as R1, A as _1 } from "../../_chunks/annotation-marker-D-M7y4R1.js";
8
- import { T as A } from "../../_chunks/tabs-CXYjr_8O.js";
8
+ import { T as A } from "../../_chunks/tabs-CsmgkiG6.js";
9
9
  import { a as V1, Z as C1 } from "../../_chunks/zoom-out-Dnif4kJx.js";
10
10
  import { M as F1 } from "../../_chunks/maximize-2-BYd2Kti7.js";
11
11
  const I = {
@@ -1,4 +1,4 @@
1
- import { S as i, f as t, i as e, s as r } from "../../_chunks/slot-grid-BhjaLJ0o.js";
1
+ import { S as i, f as t, i as e, s as r } from "../../_chunks/slot-grid-b4eZXokb.js";
2
2
  export {
3
3
  i as SlotGrid,
4
4
  t as findFirstAvailable,
@@ -2,7 +2,7 @@ import { type HTMLAttributes } from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  export type SmartDateState = 'overdue' | 'past' | 'today' | 'tomorrow' | 'soon' | 'upcoming';
4
4
  declare const smartDateVariants: (props?: ({
5
- state?: "today" | "past" | "upcoming" | "tomorrow" | "overdue" | "soon" | null | undefined;
5
+ state?: "today" | "past" | "upcoming" | "overdue" | "tomorrow" | "soon" | null | undefined;
6
6
  size?: "sm" | "md" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  export interface SmartDateProps extends Omit<HTMLAttributes<HTMLTimeElement>, 'children'>, Pick<VariantProps<typeof smartDateVariants>, 'size'> {
@@ -1,4 +1,4 @@
1
- import { T as o } from "../../_chunks/tab-bar-C_pggqVr.js";
1
+ import { T as o } from "../../_chunks/tab-bar-DTn8pHqH.js";
2
2
  export {
3
3
  o as TabBar
4
4
  };
@@ -1,4 +1,4 @@
1
- import { T as t, a as b, b as T, c as e, t as r } from "../../_chunks/tabs-CXYjr_8O.js";
1
+ import { T as t, a as b, b as T, c as e, t as r } from "../../_chunks/tabs-CsmgkiG6.js";
2
2
  export {
3
3
  t as Tabs,
4
4
  b as TabsContent,
@@ -1,4 +1,4 @@
1
- import { T as r } from "../../_chunks/tag-DOZGz0fT.js";
1
+ import { T as r } from "../../_chunks/tag-BNlcEJfE.js";
2
2
  export {
3
3
  r as Tag
4
4
  };
@@ -1,4 +1,4 @@
1
- import { T as s, i as t } from "../../_chunks/task-card-DqVoitRk.js";
1
+ import { T as s, i as t } from "../../_chunks/task-card-BNbkwIYM.js";
2
2
  import { t as o } from "../../_chunks/task-card.agent-CF2N_uu4.js";
3
3
  export {
4
4
  s as TaskCard,
@@ -1,4 +1,4 @@
1
- import { T as o, t as r } from "../../_chunks/task-editor-D--LwVrg.js";
1
+ import { T as o, t as r } from "../../_chunks/task-editor-DgUjtqpX.js";
2
2
  export {
3
3
  o as TaskEditor,
4
4
  r as taskEditorAgent
@@ -1,4 +1,4 @@
1
- import { T as s, t } from "../../_chunks/task-tray-C6j8HVMv.js";
1
+ import { T as s, t } from "../../_chunks/task-tray-Bmi9wCHq.js";
2
2
  export {
3
3
  s as TaskTray,
4
4
  t as taskTrayAgent
@@ -1,4 +1,4 @@
1
- import { T as e, t } from "../../_chunks/tasks-panel-D6PuF4MQ.js";
1
+ import { T as e, t } from "../../_chunks/tasks-panel-B5Nsf10r.js";
2
2
  export {
3
3
  e as TasksPanel,
4
4
  t as tasksPanelAgent
@@ -1,4 +1,4 @@
1
- import { T as o, t } from "../../_chunks/theme-toggle-Czq3K9jB.js";
1
+ import { T as o, t } from "../../_chunks/theme-toggle-DfvdEg_V.js";
2
2
  export {
3
3
  o as ThemeToggle,
4
4
  t as themeToggleAgent
@@ -1,4 +1,4 @@
1
- import { T as t, t as o } from "../../_chunks/token-insert-menu-Dl3x2ekR.js";
1
+ import { T as t, t as o } from "../../_chunks/token-insert-menu-BdcmK5Um.js";
2
2
  export {
3
3
  t as TokenInsertMenu,
4
4
  o as tokenInsertMenuAgent
@@ -1,4 +1,4 @@
1
- import { T as s, t, r as e } from "../../_chunks/tooth-scheme-C-ALCHaV.js";
1
+ import { T as s, t, r as e } from "../../_chunks/tooth-scheme-LTkT4EXd.js";
2
2
  import { C as i, a as T, b as S, c as l, d as r, e as I, F as O, f as N, g as _, h as c, I as E, P as C, i as A, S as m, j as L, k as d, l as h, m as D, n as F, T as y, o as P, p as b, q as R, r as U, s as p, t as M, u, v as K, w as f, x as B, y as Y, z as H, A as g, B as z, D as w, E as x, G as V, H as k, J as G, K as j, L as q, M as v, N as J, O as Q, Q as W, R as X, U as Z, V as $, W as aa, X as oa, Y as sa, Z as ta, _ as ea, $ as na } from "../../_chunks/tooth-data-DR8Kdnup.js";
3
3
  export {
4
4
  i as CONDITION_COLORS,
@@ -1,4 +1,4 @@
1
- import { T as r } from "../../_chunks/transaction-chip-CohY6sTA.js";
1
+ import { T as r } from "../../_chunks/transaction-chip-CkYd-3ky.js";
2
2
  export {
3
3
  r as TransactionChip
4
4
  };
@@ -2,7 +2,7 @@ import { type HTMLAttributes } from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  export type TransactionState = 'debt' | 'credit' | 'to-invoice' | 'to-deliver' | 'settled' | 'discount';
4
4
  declare const chipVariants: (props?: ({
5
- state?: "debt" | "credit" | "to-invoice" | "to-deliver" | "settled" | "discount" | null | undefined;
5
+ state?: "settled" | "discount" | "credit" | "debt" | "to-invoice" | "to-deliver" | null | undefined;
6
6
  size?: "sm" | "md" | "lg" | null | undefined;
7
7
  bold?: boolean | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -1,4 +1,4 @@
1
- import { T as t, t as n } from "../../_chunks/transcript-panel-A781Pkzr.js";
1
+ import { T as t, t as n } from "../../_chunks/transcript-panel-Wr8e4Zgi.js";
2
2
  export {
3
3
  t as TranscriptPanel,
4
4
  n as transcriptPanelAgent
@@ -1,4 +1,4 @@
1
- import { T as r } from "../../_chunks/treatment-receipt-pFqWFyD_.js";
1
+ import { T as r } from "../../_chunks/treatment-receipt-1VnuinhY.js";
2
2
  import { t as m } from "../../_chunks/treatment-receipt.agent-bpFm2RPH.js";
3
3
  export {
4
4
  r as TreatmentReceipt,
@@ -1,4 +1,4 @@
1
- import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-D77vmlzN.js";
1
+ import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-YKlHyUC2.js";
2
2
  export {
3
3
  r as CATEGORIES,
4
4
  t as UNITS,
@@ -1,4 +1,4 @@
1
- import { V as n, v as a } from "../../_chunks/voice-control-panel-BGiX4sqB.js";
1
+ import { V as n, v as a } from "../../_chunks/voice-control-panel-Be_c0CQ0.js";
2
2
  export {
3
3
  n as VoiceControlPanel,
4
4
  a as voiceControlPanelAgent
@@ -1,4 +1,4 @@
1
- import { W as r, w as t } from "../../_chunks/widget-picker-U4JsEhQE.js";
1
+ import { W as r, w as t } from "../../_chunks/widget-picker-DrxJjEkv.js";
2
2
  export {
3
3
  r as WidgetPicker,
4
4
  t as widgetPickerAgent
@@ -1,4 +1,4 @@
1
- import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-B4XkcET0.js";
1
+ import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-D-u8_YSr.js";
2
2
  export {
3
3
  r as CORE_PATIENT_FIELDS,
4
4
  e as WorkflowCard,
@@ -1,4 +1,4 @@
1
- import { W as o, a as s, w as r } from "../../_chunks/workflow-status-9wb7iWUd.js";
1
+ import { W as o, a as s, w as r } from "../../_chunks/workflow-status-fykpTxfb.js";
2
2
  import { A as T, a as e, i as l, u } from "../../_chunks/appointment-workflow-status-DMjuIK90.js";
3
3
  export {
4
4
  T as APPOINTMENT_NO_STATUS,