@alfadocs/ui-kit 0.72.2 → 0.75.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 (398) hide show
  1. package/dist/_chunks/actions-cell-renderer-DLrcSTK_.js +1546 -0
  2. package/dist/_chunks/{agenda-tray-loL2A3Cx.js → agenda-tray-CVf-jfWU.js} +3 -3
  3. package/dist/_chunks/{ai-consent-banner-Bke9m8VS.js → ai-consent-banner-DUhr1yNj.js} +2 -2
  4. package/dist/_chunks/{ai-prompt-input-TVI95hJD.js → ai-prompt-input-DziJCGLe.js} +3 -3
  5. package/dist/_chunks/{alia-sidebar-BV5lBSFR.js → alia-sidebar-w6B0TEx7.js} +8 -8
  6. package/dist/_chunks/{anamnesis-card-CWO4Ui9c.js → anamnesis-card-CJ5MNbkc.js} +2 -2
  7. package/dist/_chunks/{antenatal-schedule-timeline-CY-VsLok.js → antenatal-schedule-timeline-BzJZqS-8.js} +3 -3
  8. package/dist/_chunks/{appointment-card-Cy4FOkGP.js → appointment-card-DgKI5QKD.js} +2 -2
  9. package/dist/_chunks/{appointment-timeline-BWAPPk8F.js → appointment-timeline-DQTG0btW.js} +6 -6
  10. package/dist/_chunks/{appointment-tray-D3mk04TT.js → appointment-tray-ezyCZN8v.js} +4 -4
  11. package/dist/_chunks/{ar-BOqyIfoY.js → ar-B1GhtlBP.js} +2 -2
  12. package/dist/_chunks/{columns-2-8lq4-b8e.js → arrow-up-right-C2v_MKsK.js} +5 -5
  13. package/dist/_chunks/{audio-recorder-BbjG55dP.js → audio-recorder-Cc3KuL9y.js} +4 -4
  14. package/dist/_chunks/{benefit-card-Xnxj4Gmo.js → benefit-card-DB1Kdrmc.js} +4 -2
  15. package/dist/_chunks/{bishop-score-C6eoak_j.js → bishop-score-DDW5-gb9.js} +3 -3
  16. package/dist/_chunks/{bmi-calculator-BmQfoEGP.js → bmi-calculator-Bk2GAju7.js} +2 -2
  17. package/dist/_chunks/{booking-B62CMY5k.js → booking-B1Qkcl3c.js} +9 -9
  18. package/dist/_chunks/{button-DD_0Xdmr.js → button-CPGiR_bH.js} +56 -35
  19. package/dist/_chunks/button-group-DzV5wgnx.js +289 -0
  20. package/dist/_chunks/camera-VSklPDCv.js +21 -0
  21. package/dist/_chunks/{care-plan-card-DhXbfGzE.js → care-plan-card-BrwhyIJI.js} +3 -3
  22. package/dist/_chunks/{care-plan-entry-card-D3YGD6rj.js → care-plan-entry-card-DWEdCQM3.js} +3 -3
  23. package/dist/_chunks/{care-plan-header-DtQxyfOb.js → care-plan-header-BXvRpGG8.js} +2 -2
  24. package/dist/_chunks/{carousel.agent-j7hWxJWr.js → carousel.agent-CtAAdsAd.js} +2 -2
  25. package/dist/_chunks/{chat-container-BVCoN06N.js → chat-container-HlFnoEIl.js} +4 -2
  26. package/dist/_chunks/{chat-input-Btq_uuMZ.js → chat-input-BTCDqUDX.js} +2 -2
  27. package/dist/_chunks/{chat-message-DXjjM8z9.js → chat-message-CdjWqZjo.js} +3 -3
  28. package/dist/_chunks/{code-block-Cwi7e3HM.js → code-block-BwanBjRh.js} +2 -2
  29. package/dist/_chunks/{connection-status-0HajXMXM.js → connection-status-oEUyrvev.js} +3 -3
  30. package/dist/_chunks/{contact-profile-card-IggiUVpN.js → contact-profile-card-veMV3W4J.js} +2 -2
  31. package/dist/_chunks/{control-room-rail-DaGcsdZ6.js → control-room-rail-CdfrZ6Vr.js} +3 -3
  32. package/dist/_chunks/{copy-field-PAp0-Wr5.js → copy-field-DBc9QquW.js} +2 -2
  33. package/dist/_chunks/{cycle-calculator-BNILyVas.js → cycle-calculator-OQp8Ik5U.js} +4 -4
  34. package/dist/_chunks/data-table-tabs-BEUXiRlu.js +710 -0
  35. package/dist/_chunks/{date-picker-CVkD_lOi.js → date-picker-DzQS8mvt.js} +2 -2
  36. package/dist/_chunks/{date-picker-variants-DLg-ZrIo.js → date-picker-variants-CYQAm1Gk.js} +116 -115
  37. package/dist/_chunks/{date-range-picker-Dw12DgV8.js → date-range-picker-Cbz1SKhm.js} +3 -3
  38. package/dist/_chunks/{date-time-picker-Cd_OJtOy.js → date-time-picker-B5IpU-nd.js} +2 -2
  39. package/dist/_chunks/{de-DFLsUxeV.js → de-DETDHQ0o.js} +2 -2
  40. package/dist/_chunks/{description-list-CmBVxIF5.js → description-list-ClNLdRMy.js} +2 -2
  41. package/dist/_chunks/document-preview-CGSM_au9.js +181 -0
  42. package/dist/_chunks/{document-scanner-B23j4w7X.js → document-scanner-B6h1Ir56.js} +198 -230
  43. package/dist/_chunks/{due-date-calculator-CmdAl_JO.js → due-date-calculator-DASNRgnH.js} +4 -4
  44. package/dist/_chunks/{editable-currency-cell-renderer-z9fJFw6Z.js → editable-currency-cell-renderer-GwfA9tTR.js} +3 -3
  45. package/dist/_chunks/{editor-overlay-BIOzr8v7.js → editor-overlay-DE3esyio.js} +2 -2
  46. package/dist/_chunks/{el-OVjBKytp.js → el-HV3jOI0z.js} +2 -2
  47. package/dist/_chunks/{empty-state-BLy7tigq.js → empty-state-CrLsi0XI.js} +2 -2
  48. package/dist/_chunks/{entity-summary-DpGziDv5.js → entity-summary--vP698Jn.js} +3 -3
  49. package/dist/_chunks/eraser-CHOGQfVv.js +21 -0
  50. package/dist/_chunks/{es-DKDNrHXG.js → es-Dpo7Olwo.js} +2 -2
  51. package/dist/_chunks/face-scheme-C0rk21gg.js +3146 -0
  52. package/dist/_chunks/{fetal-weight-CVAH8sJ3.js → fetal-weight-1F9N4IMx.js} +2 -2
  53. package/dist/_chunks/{field-array-CDzc3hTM.js → field-array-DH3Mb1i8.js} +3 -3
  54. package/dist/_chunks/{field-value-Dj3i52H2.js → field-value-DHG6gEKS.js} +5 -5
  55. package/dist/_chunks/file-Cwe9VC1A.js +40 -0
  56. package/dist/_chunks/file-manager-UF8dkQF1.js +1776 -0
  57. package/dist/_chunks/{file-upload-Kw1rdvFw.js → file-upload-DENvuhfs.js} +101 -139
  58. package/dist/_chunks/{finished-terminal-Di4gtZ50.js → finished-terminal-C0_mefrf.js} +11 -11
  59. package/dist/_chunks/{fiscal-code-input-DKNXFXs3.js → fiscal-code-input-DWA6C8x8.js} +2 -2
  60. package/dist/_chunks/{fr-BfMvQh-v.js → fr-CgD4Jvtq.js} +2 -2
  61. package/dist/_chunks/{freemium-paywall-DFoeedwh.js → freemium-paywall-CmV642PA.js} +7 -3
  62. package/dist/_chunks/{gestational-age-calculator-BwCBPAGX.js → gestational-age-calculator-BpYw-WF-.js} +7 -7
  63. package/dist/_chunks/{hcg-doubling-CSsWxEJc.js → hcg-doubling-Dqj-EqMT.js} +3 -3
  64. package/dist/_chunks/{header-DaXWDw0M.js → header-CjwasYnn.js} +88 -79
  65. package/dist/_chunks/{header-settings-B0G_u-wV.js → header-settings-4cwQzeFc.js} +4 -4
  66. package/dist/_chunks/{hi-C0GEMwlD.js → hi-Bf8CAP6b.js} +2 -2
  67. package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
  68. package/dist/_chunks/{icon-button-LqoiKcUN.js → icon-button-C_kbcd7I.js} +2 -2
  69. package/dist/_chunks/icon-button-group-C_lqXTAj.js +391 -0
  70. package/dist/_chunks/{icon-picker-Di6uYDG-.js → icon-picker-CM9ubkew.js} +3 -3
  71. package/dist/_chunks/{image-cropper-CdmWFrMC.js → image-cropper-DKe4AORY.js} +2 -2
  72. package/dist/_chunks/{insert-result-C7xSDb8q.js → insert-result-D074GtHX.js} +58 -68
  73. package/dist/_chunks/{isSameWeek-HddDAyJG.js → isSameWeek-BYl5poz_.js} +2 -2
  74. package/dist/_chunks/{it-5f4hiT2e.js → it-mt1V2DFS.js} +3 -3
  75. package/dist/_chunks/{ja-U0_2inl_.js → ja-CbOHn2TO.js} +2 -2
  76. package/dist/_chunks/{key-value-pair-Byyyc_9J.js → key-value-pair-LHKfDT_9.js} +2 -2
  77. package/dist/_chunks/link-cell-renderer-BQGUs45d.js +711 -0
  78. package/dist/_chunks/{locale-picker-DzF7Q5Y8.js → locale-picker-GNF3lo8K.js} +3 -3
  79. package/dist/_chunks/{map-view-ByPvWG_9.js → map-view-CsaHfoo6.js} +2 -2
  80. package/dist/_chunks/{marketplace-app-shell-BCYiOvKZ.js → marketplace-app-shell-D_1tF4La.js} +6 -6
  81. package/dist/_chunks/{message-card-BZnnffyB.js → message-card-ievotOFa.js} +3 -3
  82. package/dist/_chunks/{message-tray-cUHOCdU0.js → message-tray-BFlu8clI.js} +4 -4
  83. package/dist/_chunks/{muscle-scheme-B9MIkuj0.js → muscle-scheme-CFBE2dme.js} +6 -14
  84. package/dist/_chunks/{nl-CDVnnx1U.js → nl-C6Y0QXnm.js} +2 -2
  85. package/dist/_chunks/{notes-panel-CMyjUXD4.js → notes-panel-Cvdp818a.js} +3 -3
  86. package/dist/_chunks/{notification-card-BHJ07FkH.js → notification-card-D29_sVA1.js} +3 -3
  87. package/dist/_chunks/{notification-tray-Dzm1c3Wy.js → notification-tray-CzIzz3bX.js} +4 -4
  88. package/dist/_chunks/optical-prescription-BEjYQjiO.js +1260 -0
  89. package/dist/_chunks/{patient-details-pU_E5xM2.js → patient-details-DP4wKyq4.js} +7 -7
  90. package/dist/_chunks/{patient-search-X9SUZGpy.js → patient-search-BaUJ_Y-N.js} +47 -45
  91. package/dist/_chunks/{patient-summary-card--t3BjTdU.js → patient-summary-card-D6kgdTNn.js} +4 -4
  92. package/dist/_chunks/{patient-table-BgWgNIMf.js → patient-table-DweKjiXg.js} +122 -118
  93. package/dist/_chunks/{payment-request-card-2ts7ITxd.js → payment-request-card-C0fqlKqO.js} +25 -24
  94. package/dist/_chunks/pen-line-D0De5zdl.js +21 -0
  95. package/dist/_chunks/periodontal-chart-D8hOFmde.js +1173 -0
  96. package/dist/_chunks/{periodontal-chart-card-6c6Lt4ws.js → periodontal-chart-card-WVjJAheq.js} +2 -2
  97. package/dist/_chunks/periodontal-diagnosis-cco40xTa.js +345 -0
  98. package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js +334 -0
  99. package/dist/_chunks/{pl-BWNumNrg.js → pl-BdazJAOp.js} +3 -3
  100. package/dist/_chunks/{popover-uJ6BvEU3.js → popover-Cc0a69sw.js} +32 -29
  101. package/dist/_chunks/{practice-results-CSEHTH2V.js → practice-results-BCr7jMt1.js} +5 -5
  102. package/dist/_chunks/{pregnancy-dating-CxVAA6_4.js → pregnancy-dating-msMl_6wz.js} +7 -7
  103. package/dist/_chunks/{pregnancy-weight-gain-C7zyrwow.js → pregnancy-weight-gain-B-CkVYnU.js} +2 -2
  104. package/dist/_chunks/{privacy-lock-DrRmK8C7.js → privacy-lock-YYBiI_bY.js} +3 -3
  105. package/dist/_chunks/{product-hub-panel-CaZqttvm.js → product-hub-panel-CTld1r5V.js} +3 -3
  106. package/dist/_chunks/{pt-zqdQuryr.js → pt-B3UKvhHp.js} +2 -2
  107. package/dist/_chunks/{public-header.agent-C-opZaOw.js → public-header.agent-rX_VA6hd.js} +107 -103
  108. package/dist/_chunks/{radiograph-panel.agent-D1x33moc.js → radiograph-panel.agent-CxF9pVxd.js} +40 -57
  109. package/dist/_chunks/{reviews-panel-liUj6OPX.js → reviews-panel-DmOjvmyH.js} +4 -4
  110. package/dist/_chunks/{rich-text-editor-DUgznqOf.js → rich-text-editor-CCWjNkbx.js} +26 -26
  111. package/dist/_chunks/{ro-CornQr64.js → ro-DVTEQpPK.js} +2 -2
  112. package/dist/_chunks/{ru-CKAXNYVD.js → ru-C-Mp40SC.js} +3 -3
  113. package/dist/_chunks/{select-BmCbJMJS.js → select-BW5ecXlX.js} +13 -13
  114. package/dist/_chunks/{session-countdown-qr8EO5QY.js → session-countdown-C8AsE072.js} +2 -2
  115. package/dist/_chunks/{sheet-B_X54aZo.js → sheet-D5K0LB3q.js} +2 -2
  116. package/dist/_chunks/{sidebar-B0OBmJrC.js → sidebar-C0PbwJBc.js} +375 -335
  117. package/dist/_chunks/{sign-document-nK03S73h.js → sign-document-Bfk0WpWV.js} +2 -2
  118. package/dist/_chunks/{sign-in-with-alfadocs-button-LppxjlFt.js → sign-in-with-alfadocs-button-UlYefZpI.js} +2 -2
  119. package/dist/_chunks/{signature-capture-Ct_4Md4e.js → signature-capture-DN52VNKL.js} +206 -189
  120. package/dist/_chunks/{signature-field-jgwYgUhO.js → signature-field-0rFODJlW.js} +47 -41
  121. package/dist/_chunks/signature-request-C-mskXwi.js +318 -0
  122. package/dist/_chunks/{slot-grid-FsqumOaS.js → slot-grid-CQSULZjd.js} +4 -4
  123. package/dist/_chunks/{sq-CIIvqXZv.js → sq-DierVlw-.js} +2 -2
  124. package/dist/_chunks/{streaming-text-Cedc05ya.js → streaming-text-C5bYz7LL.js} +2 -2
  125. package/dist/_chunks/subDays-DIKRViZm.js +8 -0
  126. package/dist/_chunks/{sv-Kpk1pzjz.js → sv-gQWo_19z.js} +2 -2
  127. package/dist/_chunks/{tabs-DVQ941Sj.js → tabs-CVTukWRD.js} +2 -2
  128. package/dist/_chunks/{task-tray-DP5A3Qnc.js → task-tray-Br3vc0O1.js} +3 -3
  129. package/dist/_chunks/{tasks-panel-BuxaYtEF.js → tasks-panel-CjGAhIN8.js} +6 -6
  130. package/dist/_chunks/{theme-toggle-dtdy5EaL.js → theme-toggle-BJCz_UOi.js} +3 -3
  131. package/dist/_chunks/{toast.agent-BSxl057x.js → toast.agent-uV8CeAy6.js} +2 -2
  132. package/dist/_chunks/{token-insert-menu-Pok4nExI.js → token-insert-menu-BYv6yoZI.js} +2 -2
  133. package/dist/_chunks/{tool-rail-BZx0-yIr.js → tool-rail-AaTqxkIM.js} +2 -2
  134. package/dist/_chunks/tooth-data-BwuoKFf4.js +660 -0
  135. package/dist/_chunks/tooth-scheme-BzJ6rcte.js +1483 -0
  136. package/dist/_chunks/{tr-DHaeLFxG.js → tr-Btm6M3Km.js} +2 -2
  137. package/dist/_chunks/{transaction-chip-B6iWoVmU.js → transaction-chip-DJCstquX.js} +41 -51
  138. package/dist/_chunks/type-ggmfVs23.js +16 -0
  139. package/dist/_chunks/{unit-converter-fEqluT8b.js → unit-converter-CSLWFDQh.js} +3 -3
  140. package/dist/_chunks/upload-BfT2hzMg.js +16 -0
  141. package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +101 -0
  142. package/dist/_chunks/use-visual-viewport-pin-ChurOsHM.js +31 -0
  143. package/dist/_chunks/{warning-stack-BaMI7-n7.js → warning-stack-BlG_Ujy3.js} +3 -3
  144. package/dist/_chunks/{workflow-map-qWsgCldq.js → workflow-map-C643Q43h.js} +5 -5
  145. package/dist/_chunks/{zh-CN-BncsTBwM.js → zh-CN-DkVN4vsB.js} +3 -3
  146. package/dist/agent-catalog.json +4081 -3201
  147. package/dist/agent-i18n/en.json +121 -69
  148. package/dist/brand/product-lockup/product-lockup.d.ts +1 -1
  149. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  150. package/dist/components/agenda-tray/index.js +1 -1
  151. package/dist/components/ai-consent-banner/index.js +1 -1
  152. package/dist/components/ai-prompt-input/index.js +1 -1
  153. package/dist/components/anamnesis-card/anamnesis-card.d.ts +1 -1
  154. package/dist/components/anamnesis-card/index.js +1 -1
  155. package/dist/components/appointment-card/appointment-card.d.ts +1 -1
  156. package/dist/components/appointment-card/index.js +2 -2
  157. package/dist/components/appointment-timeline/index.js +1 -1
  158. package/dist/components/audio-recorder/index.js +1 -1
  159. package/dist/components/benefit-card/index.js +1 -1
  160. package/dist/components/bishop-score/index.js +1 -1
  161. package/dist/components/bmi-calculator/index.js +1 -1
  162. package/dist/components/booking/index.js +1 -1
  163. package/dist/components/button/button.d.ts +8 -1
  164. package/dist/components/button/index.js +2 -2
  165. package/dist/components/button-group/button-group.d.ts +16 -0
  166. package/dist/components/button-group/index.js +1 -1
  167. package/dist/components/card/card.d.ts +1 -1
  168. package/dist/components/care-plan-card/index.js +1 -1
  169. package/dist/components/care-plan-entry-card/index.js +1 -1
  170. package/dist/components/care-plan-header/index.js +1 -1
  171. package/dist/components/carousel/index.js +1 -1
  172. package/dist/components/chat-container/index.js +1 -1
  173. package/dist/components/chat-input/index.js +1 -1
  174. package/dist/components/chat-message/index.js +1 -1
  175. package/dist/components/clinical-note-card/clinical-note-card.d.ts +1 -1
  176. package/dist/components/connection-status/index.js +1 -1
  177. package/dist/components/contact-profile-card/contact-profile-card.d.ts +1 -1
  178. package/dist/components/contact-profile-card/index.js +1 -1
  179. package/dist/components/control-room-rail/index.js +1 -1
  180. package/dist/components/copy-field/index.js +1 -1
  181. package/dist/components/counter/counter.d.ts +1 -1
  182. package/dist/components/cycle-calculator/index.js +1 -1
  183. package/dist/components/data-table/data-table.d.ts +2 -8
  184. package/dist/components/data-table/index.js +35 -34
  185. package/dist/components/data-table/toolbar.d.ts +5 -11
  186. package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts +4 -0
  187. package/dist/components/data-table-tabs/data-table-tabs.d.ts +93 -0
  188. package/dist/components/data-table-tabs/index.d.ts +5 -0
  189. package/dist/components/data-table-tabs/index.js +8 -0
  190. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +63 -0
  191. package/dist/components/date-picker/index.js +1 -1
  192. package/dist/components/date-range-picker/index.js +1 -1
  193. package/dist/components/date-time-picker/index.js +1 -1
  194. package/dist/components/description-list/index.js +1 -1
  195. package/dist/components/document-preview/document-preview.agent.d.ts +4 -0
  196. package/dist/components/document-preview/document-preview.d.ts +41 -0
  197. package/dist/components/document-preview/index.d.ts +4 -0
  198. package/dist/components/document-preview/index.js +6 -0
  199. package/dist/components/document-scanner/index.js +1 -1
  200. package/dist/components/due-date-calculator/index.js +2 -2
  201. package/dist/components/editor-overlay/index.js +1 -1
  202. package/dist/components/empty-state/index.js +1 -1
  203. package/dist/components/entity-summary/index.js +1 -1
  204. package/dist/components/face-scheme/face-scheme-data.d.ts +167 -0
  205. package/dist/components/face-scheme/face-scheme.d.ts +112 -2
  206. package/dist/components/face-scheme/index.d.ts +2 -2
  207. package/dist/components/face-scheme/index.js +25 -14
  208. package/dist/components/fetal-weight/index.js +1 -1
  209. package/dist/components/field-array/index.js +1 -1
  210. package/dist/components/file-manager/dialogs.d.ts +48 -0
  211. package/dist/components/file-manager/file-manager.agent.d.ts +4 -0
  212. package/dist/components/file-manager/file-manager.d.ts +82 -0
  213. package/dist/components/file-manager/folder-tree.d.ts +12 -0
  214. package/dist/components/file-manager/index.d.ts +5 -0
  215. package/dist/components/file-manager/index.js +6 -0
  216. package/dist/components/file-manager/list-view.d.ts +49 -0
  217. package/dist/components/file-manager/toolbar.d.ts +15 -0
  218. package/dist/components/file-manager/types.d.ts +167 -0
  219. package/dist/components/file-manager/utils.d.ts +34 -0
  220. package/dist/components/file-upload/file-upload.d.ts +1 -0
  221. package/dist/components/file-upload/index.d.ts +1 -1
  222. package/dist/components/file-upload/index.js +4 -3
  223. package/dist/components/finished-terminal/index.js +1 -1
  224. package/dist/components/fiscal-code-input/index.js +1 -1
  225. package/dist/components/flag/flag.d.ts +1 -1
  226. package/dist/components/freemium-paywall/index.js +1 -1
  227. package/dist/components/gestational-age-calculator/index.js +1 -1
  228. package/dist/components/hcg-doubling/index.js +1 -1
  229. package/dist/components/header/index.js +1 -1
  230. package/dist/components/header-settings/index.js +1 -1
  231. package/dist/components/icon-button/index.js +1 -1
  232. package/dist/components/icon-button-group/icon-button-group.d.ts +6 -0
  233. package/dist/components/icon-button-group/index.js +1 -1
  234. package/dist/components/icon-picker/index.js +1 -1
  235. package/dist/components/image-cropper/index.js +1 -1
  236. package/dist/components/index.d.ts +7 -1
  237. package/dist/components/key-value-pair/index.js +1 -1
  238. package/dist/components/link/link.d.ts +1 -1
  239. package/dist/components/locale-picker/index.js +1 -1
  240. package/dist/components/map-view/index.js +1 -1
  241. package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
  242. package/dist/components/message-card/index.js +1 -1
  243. package/dist/components/message-card/message-card.d.ts +1 -1
  244. package/dist/components/message-tray/index.js +1 -1
  245. package/dist/components/muscle-scheme/index.js +1 -1
  246. package/dist/components/notes-panel/index.js +1 -1
  247. package/dist/components/notification-card/index.js +1 -1
  248. package/dist/components/notification-card/notification-card.d.ts +1 -1
  249. package/dist/components/notification-tray/index.js +1 -1
  250. package/dist/components/operator-hero/operator-hero.d.ts +1 -1
  251. package/dist/components/optical-prescription/index.d.ts +4 -2
  252. package/dist/components/optical-prescription/index.js +29 -26
  253. package/dist/components/optical-prescription/optical-prescription-charts.d.ts +78 -0
  254. package/dist/components/optical-prescription/optical-prescription-data.d.ts +29 -0
  255. package/dist/components/optical-prescription/optical-prescription.d.ts +9 -0
  256. package/dist/components/patient-details/index.js +1 -1
  257. package/dist/components/patient-search/index.js +1 -1
  258. package/dist/components/patient-summary-card/index.js +1 -1
  259. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  260. package/dist/components/patient-table/index.js +1 -1
  261. package/dist/components/payment-card/index.js +1 -1
  262. package/dist/components/payment-card/payment-card.d.ts +1 -1
  263. package/dist/components/payment-card/payment-request-card.d.ts +1 -1
  264. package/dist/components/periodontal-chart/index.d.ts +6 -0
  265. package/dist/components/periodontal-chart/index.js +22 -0
  266. package/dist/components/periodontal-chart/periodontal-chart-data.d.ts +119 -0
  267. package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts +4 -0
  268. package/dist/components/periodontal-chart/periodontal-chart.d.ts +69 -0
  269. package/dist/components/periodontal-chart-card/index.js +1 -1
  270. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +1 -1
  271. package/dist/components/periodontal-diagnosis/index.d.ts +6 -0
  272. package/dist/components/periodontal-diagnosis/index.js +13 -0
  273. package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts +30 -0
  274. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts +4 -0
  275. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts +44 -0
  276. package/dist/components/periodontal-risk-chart/index.d.ts +6 -0
  277. package/dist/components/periodontal-risk-chart/index.js +9 -0
  278. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts +4 -0
  279. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts +28 -0
  280. package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts +47 -0
  281. package/dist/components/popover/index.js +1 -1
  282. package/dist/components/popover/popover.d.ts +1 -0
  283. package/dist/components/practice-results/index.js +1 -1
  284. package/dist/components/pregnancy-dating/index.js +1 -1
  285. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  286. package/dist/components/privacy-lock/index.js +1 -1
  287. package/dist/components/product-hub-tray/index.js +1 -1
  288. package/dist/components/product-hub-tray/product-hub-panel.d.ts +1 -1
  289. package/dist/components/public-header/index.js +1 -1
  290. package/dist/components/public-header/public-header.d.ts +1 -1
  291. package/dist/components/radiograph-panel/index.js +1 -1
  292. package/dist/components/radiograph-panel/radiograph-panel.d.ts +2 -2
  293. package/dist/components/reviews-panel/index.js +1 -1
  294. package/dist/components/rich-text-editor/index.js +1 -1
  295. package/dist/components/select/index.js +1 -1
  296. package/dist/components/session-countdown/index.js +1 -1
  297. package/dist/components/sheet/index.js +1 -1
  298. package/dist/components/sidebar/index.js +1 -1
  299. package/dist/components/sidebar/sidebar.d.ts +9 -0
  300. package/dist/components/sign-document/index.js +1 -1
  301. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  302. package/dist/components/signature-capture/index.js +1 -1
  303. package/dist/components/signature-field/index.js +1 -1
  304. package/dist/components/signature-field/signature-field.d.ts +7 -0
  305. package/dist/components/skeleton-scheme/index.js +1186 -0
  306. package/dist/components/slot-grid/index.js +1 -1
  307. package/dist/components/stat/stat.d.ts +1 -1
  308. package/dist/components/streaming-text/index.js +1 -1
  309. package/dist/components/tabs/index.js +1 -1
  310. package/dist/components/task-tray/index.js +1 -1
  311. package/dist/components/tasks-panel/index.js +1 -1
  312. package/dist/components/theme-toggle/index.js +1 -1
  313. package/dist/components/toast/index.js +1 -1
  314. package/dist/components/token-insert-menu/index.js +1 -1
  315. package/dist/components/tool-rail/index.js +1 -1
  316. package/dist/components/tooth-scheme/index.js +29 -28
  317. package/dist/components/transaction-chip/index.js +1 -1
  318. package/dist/components/unit-converter/index.js +1 -1
  319. package/dist/components/warning-stack/index.js +1 -1
  320. package/dist/components/workflow/index.js +1 -1
  321. package/dist/hooks/index.d.ts +2 -0
  322. package/dist/hooks/index.js +40 -35
  323. package/dist/hooks/use-priority-overflow.d.ts +63 -0
  324. package/dist/hooks/use-visual-viewport-pin.d.ts +32 -0
  325. package/dist/i18n/locales/ar.d.ts +490 -9
  326. package/dist/i18n/locales/ar.js +493 -12
  327. package/dist/i18n/locales/de.d.ts +490 -9
  328. package/dist/i18n/locales/de.js +493 -12
  329. package/dist/i18n/locales/el.d.ts +490 -9
  330. package/dist/i18n/locales/el.js +493 -12
  331. package/dist/i18n/locales/en.d.ts +490 -9
  332. package/dist/i18n/locales/en.js +493 -12
  333. package/dist/i18n/locales/es.d.ts +490 -9
  334. package/dist/i18n/locales/es.js +493 -12
  335. package/dist/i18n/locales/fr.d.ts +490 -9
  336. package/dist/i18n/locales/fr.js +493 -12
  337. package/dist/i18n/locales/hi.d.ts +490 -9
  338. package/dist/i18n/locales/hi.js +493 -12
  339. package/dist/i18n/locales/it.d.ts +490 -9
  340. package/dist/i18n/locales/it.js +493 -12
  341. package/dist/i18n/locales/ja.d.ts +490 -9
  342. package/dist/i18n/locales/ja.js +493 -12
  343. package/dist/i18n/locales/nl.d.ts +490 -9
  344. package/dist/i18n/locales/nl.js +493 -12
  345. package/dist/i18n/locales/pl.d.ts +490 -9
  346. package/dist/i18n/locales/pl.js +493 -12
  347. package/dist/i18n/locales/pt.d.ts +490 -9
  348. package/dist/i18n/locales/pt.js +493 -12
  349. package/dist/i18n/locales/ro.d.ts +490 -9
  350. package/dist/i18n/locales/ro.js +493 -12
  351. package/dist/i18n/locales/ru.d.ts +490 -9
  352. package/dist/i18n/locales/ru.js +493 -12
  353. package/dist/i18n/locales/sq.d.ts +490 -9
  354. package/dist/i18n/locales/sq.js +493 -12
  355. package/dist/i18n/locales/sv.d.ts +490 -9
  356. package/dist/i18n/locales/sv.js +493 -12
  357. package/dist/i18n/locales/tr.d.ts +490 -9
  358. package/dist/i18n/locales/tr.js +493 -12
  359. package/dist/i18n/locales/zh.d.ts +490 -9
  360. package/dist/i18n/locales/zh.js +493 -12
  361. package/dist/index.js +872 -809
  362. package/dist/locales/ar.json +493 -12
  363. package/dist/locales/de.json +493 -12
  364. package/dist/locales/el.json +493 -12
  365. package/dist/locales/en.json +493 -12
  366. package/dist/locales/es.json +493 -12
  367. package/dist/locales/fr.json +493 -12
  368. package/dist/locales/hi.json +493 -12
  369. package/dist/locales/it.json +493 -12
  370. package/dist/locales/ja.json +493 -12
  371. package/dist/locales/nl.json +493 -12
  372. package/dist/locales/pl.json +493 -12
  373. package/dist/locales/pt.json +493 -12
  374. package/dist/locales/ro.json +493 -12
  375. package/dist/locales/ru.json +493 -12
  376. package/dist/locales/sq.json +493 -12
  377. package/dist/locales/sv.json +493 -12
  378. package/dist/locales/tr.json +493 -12
  379. package/dist/locales/zh.json +493 -12
  380. package/dist/patterns/alia-assistant/index.js +1 -1
  381. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  382. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +1 -1
  383. package/dist/patterns/signature-request/index.d.ts +3 -0
  384. package/dist/patterns/signature-request/index.js +5 -0
  385. package/dist/patterns/signature-request/signature-request.d.ts +81 -0
  386. package/dist/tokens.css +2 -2
  387. package/package.json +32 -4
  388. package/dist/_chunks/button-group-CvEnVzY7.js +0 -119
  389. package/dist/_chunks/face-scheme-BT9_KdL0.js +0 -1450
  390. package/dist/_chunks/icon-button-group-C48khLE0.js +0 -206
  391. package/dist/_chunks/link-cell-renderer-BCppbMec.js +0 -2185
  392. package/dist/_chunks/optical-prescription-Bmlbuopi.js +0 -653
  393. package/dist/_chunks/patient-shell-oiIRqEAl.js +0 -162
  394. package/dist/_chunks/subDays-DGSOp9d9.js +0 -8
  395. package/dist/_chunks/tooth-scheme-D_rso4uu.js +0 -2133
  396. package/dist/patterns/patient-shell/index.d.ts +0 -12
  397. package/dist/patterns/patient-shell/index.js +0 -5
  398. package/dist/patterns/patient-shell/patient-shell.d.ts +0 -62
@@ -1,34 +1,36 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as xe, useId as ke, useState as re, useRef as O, useCallback as y, useMemo as T, useEffect as we } from "react";
3
- import { u as Ue } from "./index-BcMWc8W2.js";
2
+ import { forwardRef as xe, useId as Ue, useState as re, useRef as T, useCallback as y, useMemo as V, useEffect as we } from "react";
3
+ import { u as ke } from "./index-BcMWc8W2.js";
4
4
  import { c as B } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as Ne } from "react-i18next";
6
6
  import { u as ze } from "./form-field-context-B3APVHKx.js";
7
7
  import { u as je } from "./registry-DvAUVLHh.js";
8
8
  import { C as le } from "./circle-alert-rGDZ73Wh.js";
9
- import { c as U } from "./createLucideIcon-DhHxpK9K.js";
9
+ import { c as K } from "./createLucideIcon-DhHxpK9K.js";
10
+ import { U as $ } from "./upload-BfT2hzMg.js";
10
11
  import { X as ie } from "./x-B5YnXwCz.js";
11
- import { F as Me } from "./file-text-5yv6r2ls.js";
12
- import { F as Fe } from "./file-spreadsheet-DmwyfV4O.js";
13
- import { C as Ce } from "./circle-check-BN6rz4NV.js";
12
+ import { F as Fe } from "./file-text-5yv6r2ls.js";
13
+ import { F as Ce } from "./file-spreadsheet-DmwyfV4O.js";
14
+ import { F as Le, a as Me } from "./file-Cwe9VC1A.js";
15
+ import { C as Re } from "./circle-check-BN6rz4NV.js";
14
16
  /**
15
17
  * @license lucide-react v1.22.0 - ISC
16
18
  *
17
19
  * This source code is licensed under the ISC license.
18
20
  * See the LICENSE file in the root directory of this source tree.
19
21
  */
20
- const Le = [
22
+ const Ae = [
21
23
  ["path", { d: "M12 13v8", key: "1l5pq0" }],
22
24
  ["path", { d: "M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242", key: "1pljnt" }],
23
25
  ["path", { d: "m8 17 4-4 4 4", key: "1quai1" }]
24
- ], Ae = U("cloud-upload", Le);
26
+ ], Ie = K("cloud-upload", Ae);
25
27
  /**
26
28
  * @license lucide-react v1.22.0 - ISC
27
29
  *
28
30
  * This source code is licensed under the ISC license.
29
31
  * See the LICENSE file in the root directory of this source tree.
30
32
  */
31
- const Re = [
33
+ const De = [
32
34
  [
33
35
  "path",
34
36
  {
@@ -41,59 +43,14 @@ const Re = [
41
43
  ["path", { d: "M8 18v-2", key: "qcmpov" }],
42
44
  ["path", { d: "M8 7V6", key: "1nbb54" }],
43
45
  ["circle", { cx: "8", cy: "20", r: "2", key: "ckkr5m" }]
44
- ], Ie = U("file-archive", Re);
45
- /**
46
- * @license lucide-react v1.22.0 - ISC
47
- *
48
- * This source code is licensed under the ISC license.
49
- * See the LICENSE file in the root directory of this source tree.
50
- */
51
- const De = [
52
- [
53
- "path",
54
- {
55
- d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
56
- key: "1oefj6"
57
- }
58
- ],
59
- ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
60
- ["circle", { cx: "10", cy: "12", r: "2", key: "737tya" }],
61
- ["path", { d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22", key: "wt3hpn" }]
62
- ], _e = U("file-image", De);
46
+ ], Be = K("file-archive", De);
63
47
  /**
64
48
  * @license lucide-react v1.22.0 - ISC
65
49
  *
66
50
  * This source code is licensed under the ISC license.
67
51
  * See the LICENSE file in the root directory of this source tree.
68
52
  */
69
- const Be = [
70
- [
71
- "path",
72
- {
73
- d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
74
- key: "1oefj6"
75
- }
76
- ],
77
- ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }]
78
- ], He = U("file", Be);
79
- /**
80
- * @license lucide-react v1.22.0 - ISC
81
- *
82
- * This source code is licensed under the ISC license.
83
- * See the LICENSE file in the root directory of this source tree.
84
- */
85
- const $e = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], qe = U("loader-circle", $e);
86
- /**
87
- * @license lucide-react v1.22.0 - ISC
88
- *
89
- * This source code is licensed under the ISC license.
90
- * See the LICENSE file in the root directory of this source tree.
91
- */
92
- const Ee = [
93
- ["path", { d: "M12 3v12", key: "1x0j5s" }],
94
- ["path", { d: "m17 8-5-5-5 5", key: "7q97r8" }],
95
- ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }]
96
- ], K = U("upload", Ee), Ve = {
53
+ const He = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Ee = K("loader-circle", He), qe = {
97
54
  id: "file-upload",
98
55
  capabilities: ["dismiss"],
99
56
  state: {
@@ -186,6 +143,9 @@ const Ee = [
186
143
  ), ae = B(
187
144
  [
188
145
  "ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
146
+ // Full-width on phone so the affordance stacks cleanly; natural width
147
+ // once the viewport can lay actions out in a row.
148
+ "ds:w-full ds:sm:w-auto",
189
149
  "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
190
150
  "ds:rounded-[var(--radius-md)] ds:border ds:border-primary/30 ds:bg-primary/5",
191
151
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:py-[var(--spacing-sm)]",
@@ -196,7 +156,7 @@ const Ee = [
196
156
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
197
157
  "ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
198
158
  ].join(" ")
199
- ), Te = B(
159
+ ), _e = B(
200
160
  [
201
161
  "ds:flex ds:items-center ds:gap-[var(--spacing-md)]",
202
162
  "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)] ds:bg-background",
@@ -229,52 +189,52 @@ const Ee = [
229
189
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
230
190
  ].join(" ")
231
191
  );
232
- function Ke() {
192
+ function Te() {
233
193
  return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : `${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
234
194
  }
235
- function Pe(o) {
195
+ function Ve(o) {
236
196
  return o.type.startsWith("image/");
237
197
  }
238
- function We(o) {
198
+ function $e(o) {
239
199
  var c;
240
200
  const a = ((c = o.name.split(".").pop()) == null ? void 0 : c.toLowerCase()) ?? "";
241
201
  return ["pdf", "doc", "docx", "txt", "rtf"].includes(a) ? /* @__PURE__ */ r(
242
- Me,
202
+ Fe,
243
203
  {
244
204
  "aria-hidden": "true",
245
205
  className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
246
206
  }
247
207
  ) : ["zip", "rar", "7z", "tar", "gz"].includes(a) ? /* @__PURE__ */ r(
248
- Ie,
208
+ Be,
249
209
  {
250
210
  "aria-hidden": "true",
251
211
  className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
252
212
  }
253
213
  ) : ["xls", "xlsx", "csv"].includes(a) ? /* @__PURE__ */ r(
254
- Fe,
214
+ Ce,
255
215
  {
256
216
  "aria-hidden": "true",
257
217
  className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
258
218
  }
259
219
  ) : ["png", "jpg", "jpeg", "gif", "webp", "svg", "bmp"].includes(a) ? /* @__PURE__ */ r(
260
- _e,
220
+ Le,
261
221
  {
262
222
  "aria-hidden": "true",
263
223
  className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
264
224
  }
265
225
  ) : /* @__PURE__ */ r(
266
- He,
226
+ Me,
267
227
  {
268
228
  "aria-hidden": "true",
269
229
  className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
270
230
  }
271
231
  );
272
232
  }
273
- function Ge(o) {
233
+ function Ke(o) {
274
234
  switch (o) {
275
235
  case "uploading":
276
236
  return /* @__PURE__ */ r(
277
- qe,
237
+ Ee,
278
238
  {
279
239
  "aria-hidden": "true",
280
240
  className: "ds:size-4 ds:shrink-0 ds:text-primary ds:animate-spin"
@@ -282,7 +242,7 @@ function Ge(o) {
282
242
  );
283
243
  case "complete":
284
244
  return /* @__PURE__ */ r(
285
- Ce,
245
+ Re,
286
246
  {
287
247
  "aria-hidden": "true",
288
248
  className: "ds:size-4 ds:shrink-0 ds:text-[var(--success)]"
@@ -300,22 +260,22 @@ function Ge(o) {
300
260
  return null;
301
261
  }
302
262
  }
303
- const Xe = [
263
+ const Pe = [
304
264
  "inputs.fileUpload.units.bytes",
305
265
  "inputs.fileUpload.units.kilobytes",
306
266
  "inputs.fileUpload.units.megabytes",
307
267
  "inputs.fileUpload.units.gigabytes"
308
268
  ], de = ["B", "KB", "MB", "GB"];
309
- function _(o, a, c) {
269
+ function D(o, a, c) {
310
270
  let l = o, u = 0;
311
271
  for (; l >= 1024 && u < de.length - 1; )
312
272
  l /= 1024, u++;
313
273
  const g = new Intl.NumberFormat(a, {
314
274
  maximumFractionDigits: u === 0 ? 0 : 1
315
- }).format(l), N = c(Xe[u], de[u]);
316
- return `${g} ${N}`;
275
+ }).format(l), k = c(Pe[u], de[u]);
276
+ return `${g} ${k}`;
317
277
  }
318
- function Ye(o) {
278
+ function We(o) {
319
279
  switch (o) {
320
280
  case "file-too-large":
321
281
  return "file-too-large";
@@ -329,19 +289,19 @@ function Ye(o) {
329
289
  return "file-invalid-type";
330
290
  }
331
291
  }
332
- function Je(o) {
292
+ function Ge(o) {
333
293
  const a = o.split(".");
334
294
  return a.length > 1 ? `.${a.pop().toLowerCase()}` : "";
335
295
  }
336
296
  function ne(o, a) {
337
- const c = Je(o.name);
297
+ const c = Ge(o.name);
338
298
  for (const [l, u] of Object.entries(a)) {
339
- const g = l === "*/*" || l.endsWith("/*") && o.type.startsWith(l.replace("/*", "/")) || o.type === l, N = u.length === 0 || u.some((F) => F.toLowerCase() === c);
340
- if (g && N) return !0;
299
+ const g = l === "*/*" || l.endsWith("/*") && o.type.startsWith(l.replace("/*", "/")) || o.type === l, k = u.length === 0 || u.some((F) => F.toLowerCase() === c);
300
+ if (g && k) return !0;
341
301
  }
342
302
  return !1;
343
303
  }
344
- function Qe(o) {
304
+ function Xe(o) {
345
305
  const a = [];
346
306
  for (const l of Object.values(o))
347
307
  for (const u of l)
@@ -352,7 +312,7 @@ function Qe(o) {
352
312
  l.endsWith("/*") ? c.push(l.replace("/*", "").split("/").pop() ?? l) : c.push(l.split("/").pop() ?? l);
353
313
  return c.join(", ");
354
314
  }
355
- const Ze = xe(
315
+ const Ye = xe(
356
316
  ({
357
317
  id: o,
358
318
  accept: a,
@@ -360,20 +320,20 @@ const Ze = xe(
360
320
  minSize: l,
361
321
  maxFiles: u = 1,
362
322
  multiple: g = !1,
363
- disabled: N,
323
+ disabled: k,
364
324
  strictAccept: F = !1,
365
325
  onDrop: C,
366
326
  onUpload: H,
367
327
  onRemove: L,
368
- onReject: A,
328
+ onReject: M,
369
329
  variant: v = "both",
370
330
  showPreview: ce = !0,
371
331
  className: P
372
- }, z) => {
373
- const { t: i, i18n: k } = Ne(), h = ze(), ue = ke(), x = h.disabled || N, pe = h.invalid, W = h.id || ue, [R, b] = re([]), [G, fe] = re([]), I = O(/* @__PURE__ */ new Map()), $ = O(null), j = O(R);
374
- j.current = R;
332
+ }, N) => {
333
+ const { t: i, i18n: U } = Ne(), h = ze(), ue = Ue(), x = h.disabled || k, pe = h.invalid, W = h.id || ue, [R, b] = re([]), [G, fe] = re([]), A = T(/* @__PURE__ */ new Map()), E = T(null), z = T(R);
334
+ z.current = R;
375
335
  const w = y((e) => {
376
- $.current && ($.current.textContent = e);
336
+ E.current && (E.current.textContent = e);
377
337
  }, []), X = y(
378
338
  (e) => !F || !a ? !0 : ne(e, a),
379
339
  [F, a]
@@ -381,7 +341,7 @@ const Ze = xe(
381
341
  async (e) => {
382
342
  if (!H) return;
383
343
  const s = new AbortController();
384
- I.current.set(e.id, s), b(
344
+ A.current.set(e.id, s), b(
385
345
  (d) => d.map(
386
346
  (t) => t.id === e.id ? { ...t, status: "uploading", progress: 0 } : t
387
347
  )
@@ -417,55 +377,55 @@ const Ze = xe(
417
377
  )
418
378
  );
419
379
  } finally {
420
- I.current.delete(e.id);
380
+ A.current.delete(e.id);
421
381
  }
422
382
  },
423
383
  [H, w, i]
424
384
  ), q = y(
425
385
  (e, s) => {
426
386
  const d = s.flatMap(
427
- (p) => p.errors.map((D) => ({
387
+ (p) => p.errors.map((I) => ({
428
388
  file: p.file,
429
- reason: Ye(D.code)
389
+ reason: We(I.code)
430
390
  }))
431
391
  ), t = [], n = [];
432
392
  for (const p of e)
433
393
  X(p) ? n.push(p) : t.push({ file: p, reason: "file-invalid-type" });
434
394
  const f = [...d, ...t];
435
- fe(f), f.length > 0 && (A == null || A(f));
436
- const V = n.map((p) => ({
395
+ fe(f), f.length > 0 && (M == null || M(f));
396
+ const _ = n.map((p) => ({
437
397
  file: p,
438
- id: Ke(),
398
+ id: Te(),
439
399
  status: "pending",
440
400
  progress: 0,
441
- preview: Pe(p) ? URL.createObjectURL(p) : void 0
401
+ preview: Ve(p) ? URL.createObjectURL(p) : void 0
442
402
  }));
443
403
  b((p) => {
444
404
  if (!g && u === 1) {
445
- for (const D of p)
446
- D.preview && URL.revokeObjectURL(D.preview);
447
- return V;
405
+ for (const I of p)
406
+ I.preview && URL.revokeObjectURL(I.preview);
407
+ return _;
448
408
  }
449
- return [...p, ...V];
409
+ return [...p, ..._];
450
410
  }), C == null || C(n, f), w(
451
411
  i("inputs.fileUpload.filesSelected", "{{count}} file(s) selected", {
452
412
  count: n.length
453
413
  })
454
414
  );
455
- for (const p of V)
415
+ for (const p of _)
456
416
  Y(p);
457
417
  },
458
418
  [
459
419
  g,
460
420
  u,
461
421
  C,
462
- A,
422
+ M,
463
423
  X,
464
424
  w,
465
425
  Y,
466
426
  i
467
427
  ]
468
- ), { getRootProps: me, getInputProps: J, isDragActive: M, open: Q } = Ue({
428
+ ), { getRootProps: me, getInputProps: J, isDragActive: j, open: Q } = ke({
469
429
  accept: a,
470
430
  maxSize: c,
471
431
  minSize: l,
@@ -476,37 +436,37 @@ const Ze = xe(
476
436
  noClick: v === "button",
477
437
  noKeyboard: v === "button"
478
438
  }), ge = y((e) => {
479
- const s = I.current.get(e);
439
+ const s = A.current.get(e);
480
440
  s == null || s.abort(), b((d) => {
481
441
  const t = d.find((n) => n.id === e);
482
442
  return t != null && t.preview && URL.revokeObjectURL(t.preview), d.filter((n) => n.id !== e);
483
443
  });
484
- }, []), E = y(
444
+ }, []), O = y(
485
445
  (e) => {
486
- const s = j.current.find((d) => d.id === e);
446
+ const s = z.current.find((d) => d.id === e);
487
447
  s != null && s.preview && URL.revokeObjectURL(s.preview), b((d) => d.filter((t) => t.id !== e)), s && (L == null || L(s));
488
448
  },
489
449
  [L]
490
450
  ), Z = y(() => {
491
- for (const e of j.current) {
492
- const s = I.current.get(e.id);
451
+ for (const e of z.current) {
452
+ const s = A.current.get(e.id);
493
453
  s == null || s.abort(), e.preview && URL.revokeObjectURL(e.preview);
494
454
  }
495
455
  b([]);
496
- }, []), ve = T(
456
+ }, []), ve = V(
497
457
  () => ({
498
- getFiles: () => j.current.map((e) => ({
458
+ getFiles: () => z.current.map((e) => ({
499
459
  id: e.id,
500
460
  name: e.file.name,
501
461
  size: e.file.size,
502
462
  status: e.status
503
463
  })),
504
- removeFile: (e) => E(e),
464
+ removeFile: (e) => O(e),
505
465
  clear: () => Z()
506
466
  }),
507
- [E, Z]
467
+ [O, Z]
508
468
  );
509
- je(Ve, ve, o);
469
+ je(qe, ve, o);
510
470
  const S = y(
511
471
  (e) => {
512
472
  const s = [], d = [], t = g ? u : 1;
@@ -548,28 +508,28 @@ const Ze = xe(
548
508
  [x, q, S]
549
509
  );
550
510
  we(() => () => {
551
- for (const e of j.current)
511
+ for (const e of z.current)
552
512
  e.preview && URL.revokeObjectURL(e.preview);
553
513
  }, []);
554
- const se = T(() => {
514
+ const se = V(() => {
555
515
  const e = [];
556
- return a && e.push(Qe(a)), c && e.push(
516
+ return a && e.push(Xe(a)), c && e.push(
557
517
  i("inputs.fileUpload.maxSizeHint", "Max {{size}}", {
558
- size: _(c, k.language, i)
518
+ size: D(c, U.language, i)
559
519
  })
560
520
  ), g && u > 1 && e.push(
561
521
  i("inputs.fileUpload.maxFilesHint", "Up to {{count}} files", {
562
522
  count: u
563
523
  })
564
524
  ), e;
565
- }, [a, c, g, u, i, k.language]), te = T(() => G.map((e) => {
525
+ }, [a, c, g, u, i, U.language]), te = V(() => G.map((e) => {
566
526
  switch (e.reason) {
567
527
  case "file-too-large":
568
528
  return i(
569
529
  "inputs.fileUpload.errors.fileTooLarge",
570
530
  "File exceeds {{maxSize}}",
571
531
  {
572
- maxSize: c ? _(c, k.language, i) : ""
532
+ maxSize: c ? D(c, U.language, i) : ""
573
533
  }
574
534
  );
575
535
  case "file-too-small":
@@ -577,7 +537,7 @@ const Ze = xe(
577
537
  "inputs.fileUpload.errors.fileTooSmall",
578
538
  "File is smaller than {{minSize}}",
579
539
  {
580
- minSize: l ? _(l, k.language, i) : ""
540
+ minSize: l ? D(l, U.language, i) : ""
581
541
  }
582
542
  );
583
543
  case "file-invalid-type":
@@ -594,11 +554,11 @@ const Ze = xe(
594
554
  }
595
555
  );
596
556
  }
597
- }), [G, i, c, l, u, k.language]), he = () => R.length === 0 ? null : /* @__PURE__ */ r("ul", { className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:list-none ds:p-0 ds:m-0", children: R.map((e) => /* @__PURE__ */ m(
557
+ }), [G, i, c, l, u, U.language]), he = () => R.length === 0 ? null : /* @__PURE__ */ r("ul", { className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:list-none ds:p-0 ds:m-0", children: R.map((e) => /* @__PURE__ */ m(
598
558
  "li",
599
559
  {
600
560
  "data-file-id": e.id,
601
- className: Te({ status: e.status }),
561
+ className: _e({ status: e.status }),
602
562
  children: [
603
563
  ce && e.preview ? /* @__PURE__ */ r(
604
564
  "img",
@@ -608,14 +568,14 @@ const Ze = xe(
608
568
  "aria-hidden": "true",
609
569
  className: "ds:size-12 ds:shrink-0 ds:rounded-[var(--radius-md)] ds:object-cover ds:border ds:border-border"
610
570
  }
611
- ) : We(e.file),
571
+ ) : $e(e.file),
612
572
  /* @__PURE__ */ m("div", { className: "ds:flex-1 ds:min-w-0", children: [
613
573
  /* @__PURE__ */ m("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
614
574
  /* @__PURE__ */ r("p", { className: "ds:truncate type-label ds:m-0", children: e.file.name }),
615
- Ge(e.status)
575
+ Ke(e.status)
616
576
  ] }),
617
577
  /* @__PURE__ */ m("p", { className: "type-meta ds:text-muted-foreground ds:m-0 ds:mt-0.5", children: [
618
- _(e.file.size, k.language, i),
578
+ D(e.file.size, U.language, i),
619
579
  e.status === "uploading" && /* @__PURE__ */ m("span", { className: "ds:ms-[var(--spacing-sm)] ds:text-primary ds:font-medium", children: [
620
580
  e.progress,
621
581
  "%"
@@ -663,7 +623,7 @@ const Ze = xe(
663
623
  "button",
664
624
  {
665
625
  type: "button",
666
- onClick: () => E(e.id),
626
+ onClick: () => O(e.id),
667
627
  "aria-label": i("inputs.fileUpload.remove", "Remove file"),
668
628
  className: oe(),
669
629
  children: /* @__PURE__ */ r(ie, { "aria-hidden": "true", className: "ds:size-4" })
@@ -676,7 +636,7 @@ const Ze = xe(
676
636
  if (v === "button") return null;
677
637
  const e = me({
678
638
  className: Oe({
679
- isDragActive: M,
639
+ isDragActive: j,
680
640
  hasError: pe ?? !1,
681
641
  isDisabled: x ?? !1,
682
642
  className: P
@@ -688,7 +648,7 @@ const Ze = xe(
688
648
  {
689
649
  ...e,
690
650
  ref: (t) => {
691
- typeof s == "function" ? s(t) : s && (s.current = t), typeof z == "function" ? z(t) : z && (z.current = t);
651
+ typeof s == "function" ? s(t) : s && (s.current = t), typeof N == "function" ? N(t) : N && (N.current = t);
692
652
  },
693
653
  onPaste: ee,
694
654
  id: W,
@@ -713,15 +673,15 @@ const Ze = xe(
713
673
  }
714
674
  ),
715
675
  /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-sm)]", children: [
716
- /* @__PURE__ */ r("div", { className: "ds:flex ds:items-center ds:justify-center ds:size-14 ds:rounded-[var(--radius-full)] ds:bg-primary/10 ds:text-primary ds:transition-colors ds:duration-[var(--animation-duration)] ds:group-hover:bg-primary/15 ds:motion-reduce:transition-none", children: M ? /* @__PURE__ */ r(Ae, { "aria-hidden": "true", className: "ds:size-7" }) : /* @__PURE__ */ r(K, { "aria-hidden": "true", className: "ds:size-7" }) }),
676
+ /* @__PURE__ */ r("div", { className: "ds:flex ds:items-center ds:justify-center ds:size-14 ds:rounded-[var(--radius-full)] ds:bg-primary/10 ds:text-primary ds:transition-colors ds:duration-[var(--animation-duration)] ds:group-hover:bg-primary/15 ds:motion-reduce:transition-none", children: j ? /* @__PURE__ */ r(Ie, { "aria-hidden": "true", className: "ds:size-7" }) : /* @__PURE__ */ r($, { "aria-hidden": "true", className: "ds:size-7" }) }),
717
677
  /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-xs)]", children: [
718
- /* @__PURE__ */ r("p", { className: "type-label ds:text-foreground ds:text-center ds:m-0", children: M ? i("inputs.fileUpload.dropActive", "Drop files here") : i(
678
+ /* @__PURE__ */ r("p", { className: "type-label ds:text-foreground ds:text-center ds:m-0", children: j ? i("inputs.fileUpload.dropActive", "Drop files here") : i(
719
679
  "inputs.fileUpload.dropHere",
720
680
  "Drop files here or click to browse"
721
681
  ) }),
722
- se.length > 0 && !M && /* @__PURE__ */ r("p", { className: "type-meta ds:text-muted-foreground ds:text-center ds:m-0", children: se.join(" · ") })
682
+ se.length > 0 && !j && /* @__PURE__ */ r("p", { className: "type-meta ds:text-muted-foreground ds:text-center ds:m-0", children: se.join(" · ") })
723
683
  ] }),
724
- v === "both" && !M && /* @__PURE__ */ m(
684
+ v === "both" && !j && /* @__PURE__ */ m(
725
685
  "button",
726
686
  {
727
687
  type: "button",
@@ -733,7 +693,7 @@ const Ze = xe(
733
693
  className: "ds:mt-[var(--spacing-xs)]"
734
694
  }),
735
695
  children: [
736
- /* @__PURE__ */ r(K, { "aria-hidden": "true", className: "ds:size-4" }),
696
+ /* @__PURE__ */ r($, { "aria-hidden": "true", className: "ds:size-4" }),
737
697
  i("inputs.fileUpload.browse", "Browse files")
738
698
  ]
739
699
  }
@@ -742,7 +702,7 @@ const Ze = xe(
742
702
  ]
743
703
  }
744
704
  );
745
- }, ye = () => v === "dropzone" ? null : v === "button" ? /* @__PURE__ */ m("div", { onPaste: ee, ref: z, children: [
705
+ }, ye = () => v === "dropzone" ? null : v === "button" ? /* @__PURE__ */ m("div", { onPaste: ee, ref: N, children: [
746
706
  /* @__PURE__ */ r(
747
707
  "input",
748
708
  {
@@ -763,7 +723,7 @@ const Ze = xe(
763
723
  "aria-invalid": v === "button" && h.invalid || void 0,
764
724
  "aria-required": v === "button" && h.required || void 0,
765
725
  children: [
766
- /* @__PURE__ */ r(K, { "aria-hidden": "true", className: "ds:size-4" }),
726
+ /* @__PURE__ */ r($, { "aria-hidden": "true", className: "ds:size-4" }),
767
727
  i("inputs.fileUpload.browse", "Browse files")
768
728
  ]
769
729
  }
@@ -800,7 +760,7 @@ const Ze = xe(
800
760
  /* @__PURE__ */ r(
801
761
  "span",
802
762
  {
803
- ref: $,
763
+ ref: E,
804
764
  role: "status",
805
765
  "aria-live": "polite",
806
766
  className: "ds:sr-only"
@@ -809,11 +769,13 @@ const Ze = xe(
809
769
  ] });
810
770
  }
811
771
  );
812
- Ze.displayName = "FileUpload";
772
+ Ye.displayName = "FileUpload";
813
773
  export {
814
- Ze as F,
815
- qe as L,
816
- K as U,
817
- Ve as f
774
+ Ie as C,
775
+ Ye as F,
776
+ Ee as L,
777
+ Be as a,
778
+ ae as b,
779
+ qe as f
818
780
  };
819
- //# sourceMappingURL=file-upload-Kw1rdvFw.js.map
781
+ //# sourceMappingURL=file-upload-DENvuhfs.js.map
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as p } from "react/jsx-runtime";
2
2
  import { forwardRef as k, useState as A, useRef as g, useEffect as F, useCallback as j } from "react";
3
3
  import { useTranslation as z } from "react-i18next";
4
4
  import { C as w } from "./card-DPmk26CL.js";
5
- import { B as E } from "./button-DD_0Xdmr.js";
5
+ import { B as E } from "./button-CPGiR_bH.js";
6
6
  import { u as D } from "./use-countdown-Yd6ts0_a.js";
7
7
  import { C as L } from "./circle-check-BN6rz4NV.js";
8
8
  function W(s) {
@@ -27,30 +27,30 @@ const I = k(
27
27
  autoCloseSeconds: i = 10,
28
28
  redirectUrl: n,
29
29
  brandUrl: o = _,
30
- onClose: a,
30
+ onClose: r,
31
31
  countdownLabel: d,
32
32
  closeNowLabel: v,
33
33
  redirectingLabel: y,
34
34
  className: N,
35
35
  ...C
36
36
  }, T) => {
37
- const { t: r } = z(), [R, b] = A(!1), c = g(!1), l = g(null);
37
+ const { t: a } = z(), [R, b] = A(!1), c = g(!1), l = g(null);
38
38
  F(() => {
39
39
  var h;
40
- (h = l.current) == null || h.focus();
40
+ (h = l.current) == null || h.focus({ preventScroll: !0 });
41
41
  }, []);
42
42
  const m = j(() => {
43
43
  if (!c.current) {
44
- if (c.current = !0, b(!0), a) {
45
- a();
44
+ if (c.current = !0, b(!0), r) {
45
+ r();
46
46
  return;
47
47
  }
48
48
  n ? x(n) && window.location.assign(n) : (window.close(), x(o) && window.location.assign(o));
49
49
  }
50
- }, [a, n, o]), { remaining: f } = D(i, {
50
+ }, [r, n, o]), { remaining: f } = D(i, {
51
51
  autoStart: i > 0 && !W(),
52
52
  onElapsed: m
53
- }), u = i > 0, B = d ? d(f) : r("finishedTerminal.autoClose", { seconds: f });
53
+ }), u = i > 0, B = d ? d(f) : a("finishedTerminal.autoClose", { seconds: f });
54
54
  return /* @__PURE__ */ e(
55
55
  "div",
56
56
  {
@@ -92,7 +92,7 @@ const I = k(
92
92
  {
93
93
  role: "status",
94
94
  className: "type-body-sm ds:m-0 ds:text-[var(--muted-foreground)]",
95
- children: y ?? r("finishedTerminal.redirecting")
95
+ children: y ?? a("finishedTerminal.redirecting")
96
96
  }
97
97
  )
98
98
  ) : u ? /* @__PURE__ */ p("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-sm)]", children: [
@@ -104,7 +104,7 @@ const I = k(
104
104
  size: "lg",
105
105
  type: "button",
106
106
  onClick: m,
107
- children: v ?? r("finishedTerminal.closeNow")
107
+ children: v ?? a("finishedTerminal.closeNow")
108
108
  }
109
109
  )
110
110
  ] }) : null
@@ -119,4 +119,4 @@ I.displayName = "FinishedTerminal";
119
119
  export {
120
120
  I as F
121
121
  };
122
- //# sourceMappingURL=finished-terminal-Di4gtZ50.js.map
122
+ //# sourceMappingURL=finished-terminal-C0_mefrf.js.map
@@ -7,7 +7,7 @@ import { I as ie, c as Ye, a as L, b as Z } from "./input-surface-xyERuLU_.js";
7
7
  import { c as Je } from "./compose-refs-C0k0tdqF.js";
8
8
  import { u as Qe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
9
9
  import { u as et } from "./registry-DvAUVLHh.js";
10
- import { I as tt } from "./icon-button-LqoiKcUN.js";
10
+ import { I as tt } from "./icon-button-C_kbcd7I.js";
11
11
  import { c as st } from "./createLucideIcon-DhHxpK9K.js";
12
12
  import { C as ce } from "./circle-alert-rGDZ73Wh.js";
13
13
  import { C as le } from "./circle-check-BN6rz4NV.js";
@@ -550,4 +550,4 @@ export {
550
550
  Ut as i,
551
551
  vt as w
552
552
  };
553
- //# sourceMappingURL=fiscal-code-input-DKNXFXs3.js.map
553
+ //# sourceMappingURL=fiscal-code-input-DWA6C8x8.js.map