@alfadocs/ui-kit 1.58.0 → 1.59.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 (349) hide show
  1. package/dist/_chunks/{actions-cell-renderer-Dj1ZkvJj.js → actions-cell-renderer-KoO3EYrZ.js} +4 -4
  2. package/dist/_chunks/{agenda-tray-ZKhDxlfw.js → agenda-tray-D3GH9t3T.js} +3 -3
  3. package/dist/_chunks/{ai-credits-notice-ktklr8fy.js → ai-credits-notice-DAxBt_wr.js} +11 -11
  4. package/dist/_chunks/{ai-permission-notice-DyuEGwAt.js → ai-permission-notice-htJegWcH.js} +2 -2
  5. package/dist/_chunks/{ai-prompt-input-Beh-O_rJ.js → ai-prompt-input-DRNqTCSK.js} +3 -3
  6. package/dist/_chunks/{alia-sidebar-dybRpWml.js → alia-sidebar-bMVUsMmJ.js} +8 -8
  7. package/dist/_chunks/{anamnesis-card-BSlAhaoG.js → anamnesis-card-Bh7Tg6i-.js} +3 -3
  8. package/dist/_chunks/{anamnesis-summary-card-2YfIYY2j.js → anamnesis-summary-card-cCj7LPh3.js} +2 -2
  9. package/dist/_chunks/{anamnesis-summary-rows-M-FUkw9p.js → anamnesis-summary-rows-D9cFUeXk.js} +12 -12
  10. package/dist/_chunks/{antenatal-schedule-timeline-Kf2Yg8uo.js → antenatal-schedule-timeline-CfNFrej5.js} +2 -2
  11. package/dist/_chunks/{appointment-card-Dh3fAcyf.js → appointment-card-BXQUZlAJ.js} +2 -2
  12. package/dist/_chunks/{appointment-peek-WvNbE4JG.js → appointment-peek-drkQF54M.js} +4 -4
  13. package/dist/_chunks/{appointment-timeline-Z0494xO-.js → appointment-timeline-C3mTzaUm.js} +5 -5
  14. package/dist/_chunks/{appointment-tray-CyI_p3zU.js → appointment-tray-CUBBT4mL.js} +4 -4
  15. package/dist/_chunks/{audio-recorder-DWKKjGPt.js → audio-recorder-B1TpJoMu.js} +4 -4
  16. package/dist/_chunks/{balance-badge-cell-CGoJZlKf.js → balance-badge-cell-BC92nTi9.js} +5 -5
  17. package/dist/_chunks/{bishop-score-BxA20j9T.js → bishop-score-BOjlxLzL.js} +4 -4
  18. package/dist/_chunks/{bmi-calculator-C0UTxB7R.js → bmi-calculator-JNiTHdYJ.js} +3 -3
  19. package/dist/_chunks/{booking-CiFSAMR-.js → booking-BdWwr_NM.js} +7 -7
  20. package/dist/_chunks/{button-Bn16lcFM.js → button-CnUVJg1Y.js} +71 -61
  21. package/dist/_chunks/{button-group-CWlwR-A5.js → button-group-DLqAoowT.js} +73 -73
  22. package/dist/_chunks/{calculator-dialog-CzQv03p0.js → calculator-dialog-BUfaWqvu.js} +2 -2
  23. package/dist/_chunks/{calendar-6-24PQ1u.js → calendar-KihOHLCs.js} +2 -2
  24. package/dist/_chunks/{calendar-workspace-DNHzjG7O.js → calendar-workspace-DD378Xg8.js} +26 -26
  25. package/dist/_chunks/{card-DMO2nkt4.js → card-BA4Ig_kn.js} +9 -8
  26. package/dist/_chunks/{care-plan-card-DxrRLRdW.js → care-plan-card-Cd1En8-p.js} +2 -2
  27. package/dist/_chunks/{care-plan-entry-card-0rpR-4Te.js → care-plan-entry-card-FIYdF44t.js} +2 -2
  28. package/dist/_chunks/{care-plan-header-BMwZIgHJ.js → care-plan-header-DgPAJWS4.js} +2 -2
  29. package/dist/_chunks/{carousel.agent-D3xthzTf.js → carousel.agent-C7MXzwUi.js} +2 -2
  30. package/dist/_chunks/{chart-ZMkX-Gqy.js → chart-0jK6B2ry.js} +407 -393
  31. package/dist/_chunks/{chat-input-PtrSu1ZC.js → chat-input-1c4k4-uk.js} +2 -2
  32. package/dist/_chunks/{chat-message-CmGUcajG.js → chat-message-Bv9eW1NW.js} +3 -3
  33. package/dist/_chunks/{clinical-note-card-hx939bvw.js → clinical-note-card-L6FVM9Gx.js} +2 -2
  34. package/dist/_chunks/{code-block-BQgK70mO.js → code-block-DWVvOrUF.js} +2 -2
  35. package/dist/_chunks/{connection-status-ncTjUPt6.js → connection-status-D-Zeqpr3.js} +4 -4
  36. package/dist/_chunks/{contact-card-fHBMwEsx.js → contact-card-C8rEsC4Q.js} +2 -2
  37. package/dist/_chunks/{contact-profile-card-CMyBYgRR.js → contact-profile-card-DJe2ld0g.js} +3 -3
  38. package/dist/_chunks/{control-room-rail-CJ85HkS2.js → control-room-rail-DgS2snUz.js} +3 -3
  39. package/dist/_chunks/{copy-field-CvTIuA_p.js → copy-field-CY1f0k7O.js} +2 -2
  40. package/dist/_chunks/{cycle-calculator-Cww9DzIa.js → cycle-calculator-sOOESGEG.js} +3 -3
  41. package/dist/_chunks/{dashboard-grid-Cs7cJAsA.js → dashboard-grid-SAGjktTs.js} +2 -2
  42. package/dist/_chunks/{data-table-Yn5xiGzs.js → data-table-DjDuXaQB.js} +10 -10
  43. package/dist/_chunks/{data-table-tabs-CHYAAeHy.js → data-table-tabs-BsCll8sH.js} +3 -3
  44. package/dist/_chunks/{description-list-DkLeHiew.js → description-list-ZWlFfbOy.js} +2 -2
  45. package/dist/_chunks/{dev-bypass-button-BhGn6evf.js → dev-bypass-button-m-eXU2PU.js} +2 -2
  46. package/dist/_chunks/{dialog-Dn-iQ0Jp.js → dialog-D6fkpRc4.js} +72 -61
  47. package/dist/_chunks/{document-preview-CHGGG0l_.js → document-preview-E6od-Yy0.js} +4 -4
  48. package/dist/_chunks/{document-scanner-CQS9kv84.js → document-scanner-DDOMMswN.js} +2 -2
  49. package/dist/_chunks/{dropdown-menu-BQSNVp4x.js → dropdown-menu-D1we7oAY.js} +134 -133
  50. package/dist/_chunks/{due-date-calculator-D_qFUiHp.js → due-date-calculator-rtMADvJ8.js} +4 -4
  51. package/dist/_chunks/{editable-currency-cell-renderer-CmYcMuwi.js → editable-currency-cell-renderer-DTtF6IIr.js} +3 -3
  52. package/dist/_chunks/{editable-description-DuJlvltc.js → editable-description-CriawIum.js} +3 -3
  53. package/dist/_chunks/{editor-overlay-NMxzcO6J.js → editor-overlay-CbFUYsVk.js} +2 -2
  54. package/dist/_chunks/{empty-state-gNG3qYCX.js → empty-state-BN_R5AzQ.js} +61 -59
  55. package/dist/_chunks/{entity-summary-CWcCSThK.js → entity-summary-CoCUJe3N.js} +4 -4
  56. package/dist/_chunks/{error-boundary-ChowhO6w.js → error-boundary-BlwcM1KR.js} +2 -2
  57. package/dist/_chunks/{error-page-CpuYbpOB.js → error-page-B0ER6tPK.js} +2 -2
  58. package/dist/_chunks/{face-scheme-DSKDdIsb.js → face-scheme-BunF1rjI.js} +6 -6
  59. package/dist/_chunks/{fetal-weight-BWaqqjea.js → fetal-weight-67yvef3S.js} +3 -3
  60. package/dist/_chunks/{field-array-BO-kaKFK.js → field-array-BVitwPIt.js} +3 -3
  61. package/dist/_chunks/{file-manager-DEtkQR1F.js → file-manager-YXtUu76I.js} +8 -8
  62. package/dist/_chunks/{finished-terminal-CPSDrIMB.js → finished-terminal-DdLHDe_5.js} +3 -3
  63. package/dist/_chunks/{fiscal-code-input-DesSQ6Fh.js → fiscal-code-input-Dsa1M6VK.js} +2 -2
  64. package/dist/_chunks/{forgot-password-form-CEqOmNuX.js → forgot-password-form-C2ibWCZT.js} +3 -3
  65. package/dist/_chunks/{freemium-paywall-DIKuhX8b.js → freemium-paywall-C8CXWbhO.js} +27 -27
  66. package/dist/_chunks/{gestational-age-calculator-CZi43xKG.js → gestational-age-calculator-DT8XDFVK.js} +5 -5
  67. package/dist/_chunks/{hcg-doubling-Ccvh7OaU.js → hcg-doubling-BxggoYNV.js} +3 -3
  68. package/dist/_chunks/{header-B9552pLh.js → header-C0XQZtu6.js} +2 -2
  69. package/dist/_chunks/{header-settings-BMcCx2LC.js → header-settings-BJ6M2p9Q.js} +4 -4
  70. package/dist/_chunks/{heatmap-DiyOSQk9.js → heatmap-COoukTUe.js} +6 -6
  71. package/dist/_chunks/{help-me-write-templates-CM1p6qkm.js → help-me-write-templates-DpcMweG1.js} +6 -6
  72. package/dist/_chunks/{hover-card-U_ZYoh1n.js → hover-card-s2qD4RAz.js} +2 -2
  73. package/dist/_chunks/{icon-button-COX76Jdj.js → icon-button-CsOGhuRB.js} +2 -2
  74. package/dist/_chunks/{icon-button-group-C5hhI-R5.js → icon-button-group-Cap4-Idv.js} +3 -3
  75. package/dist/_chunks/{icon-picker-rOFTawXk.js → icon-picker-BbO2FB4y.js} +3 -3
  76. package/dist/_chunks/{image-cropper-D0kkQ4lG.js → image-cropper-DXqCUezS.js} +2 -2
  77. package/dist/_chunks/{info-tip-CJpNpzZe.js → info-tip-CJqR9fhi.js} +2 -2
  78. package/dist/_chunks/{insert-result-C1C2OCc3.js → insert-result-BUEtHFMg.js} +2 -2
  79. package/dist/_chunks/{key-value-pair-BNNITp6S.js → key-value-pair-BN5lWXcB.js} +2 -2
  80. package/dist/_chunks/{kit-extensions-DYVxWcqv.js → kit-extensions-BVtvnev_.js} +6 -6
  81. package/dist/_chunks/{link-cell-renderer-C1wOyxDF.js → link-cell-renderer-BZmRw_Yi.js} +5 -5
  82. package/dist/_chunks/{locale-picker-BGfrZyTw.js → locale-picker-DVWHnuDN.js} +3 -3
  83. package/dist/_chunks/{login-dev-card-CIim81VB.js → login-dev-card-DQioAtdz.js} +3 -3
  84. package/dist/_chunks/{map-view-CO2v0hfp.js → map-view-9Ro_P8O8.js} +2 -2
  85. package/dist/_chunks/{marketplace-app-shell-CSDmGLPW.js → marketplace-app-shell-DnuHxuoE.js} +8 -8
  86. package/dist/_chunks/{message-card-DVo8-dOm.js → message-card-BNoaKInS.js} +3 -3
  87. package/dist/_chunks/{message-tray-DmU0poD7.js → message-tray-D4R0boMJ.js} +4 -4
  88. package/dist/_chunks/{muscle-scheme-BDgIaGeW.js → muscle-scheme-YoN3rYXV.js} +2 -2
  89. package/dist/_chunks/{notes-panel-DHLHsxpW.js → notes-panel-0Wots8rp.js} +7 -7
  90. package/dist/_chunks/{notification-card-BGCIL6Mu.js → notification-card-DRLmYlL8.js} +3 -3
  91. package/dist/_chunks/{notification-tray-DPU-Xg0i.js → notification-tray-qrSc9Fcs.js} +4 -4
  92. package/dist/_chunks/{operator-hero-Dyd2IGbR.js → operator-hero-C_Khr5IU.js} +2 -2
  93. package/dist/_chunks/{optical-prescription-Do6e3wfs.js → optical-prescription-B0ap3kGl.js} +3 -3
  94. package/dist/_chunks/{pagination-BR1_GfD_.js → pagination-DvKGrsXu.js} +146 -142
  95. package/dist/_chunks/{panel-subview-D4o6ar6_.js → panel-subview-Bs0WhwR9.js} +2 -2
  96. package/dist/_chunks/{patient-details-BCaVuaXz.js → patient-details-C6buDwuI.js} +4 -4
  97. package/dist/_chunks/{patient-field-row-jcRSTrp4.js → patient-field-row-CKb4FIaM.js} +7 -7
  98. package/dist/_chunks/{patient-search-D5xlXmd2.js → patient-search-Cgv8Pjsc.js} +4 -4
  99. package/dist/_chunks/{patient-summary-card-kQIfPQOE.js → patient-summary-card-DWx0emu2.js} +6 -6
  100. package/dist/_chunks/{payment-automation-upsell-C4wHOxsp.js → payment-automation-upsell-BAJwtVCs.js} +3 -3
  101. package/dist/_chunks/{payment-request-card-DAniJNLX.js → payment-request-card-BNiZqIzT.js} +4 -4
  102. package/dist/_chunks/{periodontal-chart-DD5C0M3l.js → periodontal-chart-DMWiP5Ti.js} +2 -2
  103. package/dist/_chunks/{periodontal-chart-card-CxdXvsPU.js → periodontal-chart-card-D2ZFjN7G.js} +3 -3
  104. package/dist/_chunks/{periodontal-diagnosis-D-PJv7KS.js → periodontal-diagnosis-6wybid_W.js} +2 -2
  105. package/dist/_chunks/{periodontal-risk-chart-D3DjIymT.js → periodontal-risk-chart-CgLwBj5c.js} +2 -2
  106. package/dist/_chunks/{popover-BG75rYjN.js → popover-CltTC2Rg.js} +2 -2
  107. package/dist/_chunks/popup-region-qz_5_A0V.js +79 -0
  108. package/dist/_chunks/{practice-profile-hero-C8RPACCi.js → practice-profile-hero-DPbvYfCs.js} +2 -2
  109. package/dist/_chunks/{practice-results-D07wgCqV.js → practice-results-PINvX-1g.js} +6 -6
  110. package/dist/_chunks/{pregnancy-dating-BFzv9g1N.js → pregnancy-dating-BNSWXA0p.js} +5 -5
  111. package/dist/_chunks/{pregnancy-weight-gain-CUUrBTBo.js → pregnancy-weight-gain-CI7R6sA6.js} +3 -3
  112. package/dist/_chunks/{privacy-lock-WkUgwIj_.js → privacy-lock-CqLxFiLE.js} +3 -3
  113. package/dist/_chunks/{privacy-mask-ChIjELJC.js → privacy-mask-CUnJv35j.js} +3 -3
  114. package/dist/_chunks/{product-hub-panel-DCYX0rPG.js → product-hub-panel-MbiHZwjC.js} +3 -3
  115. package/dist/_chunks/{public-header.agent-C1SlVSYt.js → public-header.agent-1MZVDYY1.js} +3 -3
  116. package/dist/_chunks/{radiograph-panel.agent-DyqbTECc.js → radiograph-panel.agent-CpKvvZIU.js} +6 -6
  117. package/dist/_chunks/{registration-form-DrSR9Sjk.js → registration-form-JYravsvu.js} +5 -5
  118. package/dist/_chunks/{reviews-panel-CDcK6W3b.js → reviews-panel-B1Xirvh4.js} +5 -5
  119. package/dist/_chunks/{rich-text-editor-UgXri8h6.js → rich-text-editor-CZXnqI3-.js} +10 -10
  120. package/dist/_chunks/{section-card-ChJdOlBU.js → section-card-D5nWiTcK.js} +2 -2
  121. package/dist/_chunks/{select-Ce5RMk93.js → select-k4gBdS8N.js} +249 -224
  122. package/dist/_chunks/{session-countdown-CBINYw8H.js → session-countdown-DAyI9Wye.js} +2 -2
  123. package/dist/_chunks/{sheet-Dtjk0CVv.js → sheet-D_bERXP2.js} +7 -7
  124. package/dist/_chunks/{sidebar-D4Wllqfz.js → sidebar-D_S2-SXH.js} +969 -833
  125. package/dist/_chunks/{sign-in-with-alfadocs-button-D91_x8DX.js → sign-in-with-alfadocs-button-WfdfqQ8O.js} +2 -2
  126. package/dist/_chunks/{signature-request-dAVgE0_5.js → signature-request-BZIs36nH.js} +6 -6
  127. package/dist/_chunks/{signed-out-frame-DOJpobp8.js → signed-out-frame-BR5sJSNX.js} +3 -3
  128. package/dist/_chunks/{slot-grid-sVZriOiQ.js → slot-grid-JU--9C6W.js} +4 -4
  129. package/dist/_chunks/{streaming-text-BKZmbW1Q.js → streaming-text-COuXesoR.js} +2 -2
  130. package/dist/_chunks/{tab-bar-Bm-rJB7Y.js → tab-bar-5GppbMGc.js} +2 -2
  131. package/dist/_chunks/{tabs-I2wf_nC7.js → tabs-2x3L13jn.js} +3 -3
  132. package/dist/_chunks/{task-card-BMXMh3uE.js → task-card-D9ngXO7p.js} +2 -2
  133. package/dist/_chunks/{task-editor-BflEZmcF.js → task-editor-B7xb-mMs.js} +8 -8
  134. package/dist/_chunks/{task-tray-DsBO-AaP.js → task-tray-BAW_wbTO.js} +4 -4
  135. package/dist/_chunks/{tasks-panel-CdgZQQgG.js → tasks-panel-DQvN3TiB.js} +7 -7
  136. package/dist/_chunks/{theme-toggle-PpFcFoYK.js → theme-toggle-CfjLDUfK.js} +4 -4
  137. package/dist/_chunks/{timeline-DG8wAlAx.js → timeline-DEIuHrWz.js} +2 -2
  138. package/dist/_chunks/{toast-CPqguP7G.js → toast-2y0czYHr.js} +2 -2
  139. package/dist/_chunks/{token-insert-menu-B-pWFDKX.js → token-insert-menu-BzNAHiND.js} +3 -3
  140. package/dist/_chunks/{tool-rail-CTq1KwxW.js → tool-rail-DQ5qTv4l.js} +2 -2
  141. package/dist/_chunks/{tooth-scheme-BAO_voUO.js → tooth-scheme-CLyS9UUW.js} +3 -3
  142. package/dist/_chunks/{unit-converter-DS4UB_59.js → unit-converter-W62N99Mw.js} +3 -3
  143. package/dist/_chunks/{use-appointment-details-read-izwoXh-G.js → use-appointment-details-read-Ba1DBPr7.js} +16 -16
  144. package/dist/_chunks/{voice-control-panel-an-bpQfF.js → voice-control-panel-p7WMTj4D.js} +5 -5
  145. package/dist/_chunks/{warning-stack-ubD0IZCy.js → warning-stack-DGPuJNVD.js} +3 -3
  146. package/dist/_chunks/{widget-picker-DlJOgYrZ.js → widget-picker-CkhoG4Rj.js} +2 -2
  147. package/dist/_chunks/{workflow-map-Demlpy39.js → workflow-map-DFuVff8U.js} +7 -7
  148. package/dist/_chunks/{workflow-status-BT27_fQp.js → workflow-status-Dc_CyEz5.js} +2 -2
  149. package/dist/agent-catalog.json +1 -1
  150. package/dist/components/_shared/popup-region.d.ts +28 -0
  151. package/dist/components/agenda-tray/index.js +1 -1
  152. package/dist/components/ai-credits-notice/index.js +1 -1
  153. package/dist/components/ai-permission-notice/index.js +1 -1
  154. package/dist/components/ai-prompt-input/index.js +1 -1
  155. package/dist/components/anamnesis-card/index.js +1 -1
  156. package/dist/components/anamnesis-summary-card/index.js +1 -1
  157. package/dist/components/appointment-card/index.js +2 -2
  158. package/dist/components/appointment-details-panel/index.js +1 -1
  159. package/dist/components/appointment-peek/index.js +1 -1
  160. package/dist/components/appointment-timeline/index.js +1 -1
  161. package/dist/components/audio-recorder/index.js +1 -1
  162. package/dist/components/bishop-score/index.js +1 -1
  163. package/dist/components/bmi-calculator/index.js +1 -1
  164. package/dist/components/booking/index.js +1 -1
  165. package/dist/components/button/index.js +2 -2
  166. package/dist/components/button-group/index.js +1 -1
  167. package/dist/components/calculator-dialog/index.js +1 -1
  168. package/dist/components/calendar/index.js +1 -1
  169. package/dist/components/card/index.js +1 -1
  170. package/dist/components/care-plan-card/index.js +1 -1
  171. package/dist/components/care-plan-entry-card/index.js +1 -1
  172. package/dist/components/care-plan-header/index.js +1 -1
  173. package/dist/components/carousel/index.js +1 -1
  174. package/dist/components/chart/index.js +1 -1
  175. package/dist/components/chat-input/index.js +1 -1
  176. package/dist/components/chat-message/index.js +1 -1
  177. package/dist/components/clinical-note-card/index.js +1 -1
  178. package/dist/components/connection-status/index.js +1 -1
  179. package/dist/components/contact-card/index.js +1 -1
  180. package/dist/components/contact-profile-card/index.js +1 -1
  181. package/dist/components/control-room-rail/index.js +1 -1
  182. package/dist/components/copy-field/index.js +1 -1
  183. package/dist/components/cycle-calculator/index.js +1 -1
  184. package/dist/components/dashboard-grid/index.js +1 -1
  185. package/dist/components/data-table/index.js +4 -4
  186. package/dist/components/data-table-tabs/index.js +1 -1
  187. package/dist/components/description-list/index.js +1 -1
  188. package/dist/components/dev-bypass-button/index.js +1 -1
  189. package/dist/components/dialog/index.js +1 -1
  190. package/dist/components/document-preview/index.js +1 -1
  191. package/dist/components/document-scanner/index.js +1 -1
  192. package/dist/components/dropdown-menu/index.js +1 -1
  193. package/dist/components/due-date-calculator/index.js +2 -2
  194. package/dist/components/editable-description/index.js +1 -1
  195. package/dist/components/editor-overlay/index.js +1 -1
  196. package/dist/components/empty-state/empty-state.d.ts +8 -0
  197. package/dist/components/empty-state/index.d.ts +1 -1
  198. package/dist/components/empty-state/index.js +1 -1
  199. package/dist/components/entity-summary/index.js +1 -1
  200. package/dist/components/error-boundary/index.js +1 -1
  201. package/dist/components/face-scheme/index.js +1 -1
  202. package/dist/components/fetal-weight/index.js +1 -1
  203. package/dist/components/field-array/index.js +1 -1
  204. package/dist/components/file-manager/index.js +1 -1
  205. package/dist/components/finished-terminal/index.js +1 -1
  206. package/dist/components/fiscal-code-input/index.js +1 -1
  207. package/dist/components/freemium-paywall/index.js +1 -1
  208. package/dist/components/gestational-age-calculator/index.js +1 -1
  209. package/dist/components/hcg-doubling/index.js +1 -1
  210. package/dist/components/header/index.js +1 -1
  211. package/dist/components/header-settings/index.js +1 -1
  212. package/dist/components/heatmap/index.js +1 -1
  213. package/dist/components/hover-card/index.js +1 -1
  214. package/dist/components/icon-button/index.js +1 -1
  215. package/dist/components/icon-button-group/index.js +1 -1
  216. package/dist/components/icon-picker/index.js +1 -1
  217. package/dist/components/image-cropper/index.js +1 -1
  218. package/dist/components/info-tip/index.js +1 -1
  219. package/dist/components/key-value-pair/index.js +1 -1
  220. package/dist/components/locale-picker/index.js +1 -1
  221. package/dist/components/map-view/index.js +1 -1
  222. package/dist/components/message-card/index.js +1 -1
  223. package/dist/components/message-tray/index.js +1 -1
  224. package/dist/components/muscle-scheme/index.js +1 -1
  225. package/dist/components/notes-panel/index.js +1 -1
  226. package/dist/components/notification-card/index.js +1 -1
  227. package/dist/components/notification-tray/index.js +1 -1
  228. package/dist/components/operator-hero/index.js +1 -1
  229. package/dist/components/optical-prescription/index.js +1 -1
  230. package/dist/components/pagination/index.js +1 -1
  231. package/dist/components/panel-subview/index.js +1 -1
  232. package/dist/components/patient-details/index.js +1 -1
  233. package/dist/components/patient-search/index.js +1 -1
  234. package/dist/components/patient-summary-card/index.js +1 -1
  235. package/dist/components/patient-table/index.js +1 -1
  236. package/dist/components/payment-card/index.js +1 -1
  237. package/dist/components/periodontal-chart/index.js +1 -1
  238. package/dist/components/periodontal-chart-card/index.js +1 -1
  239. package/dist/components/periodontal-diagnosis/index.js +1 -1
  240. package/dist/components/periodontal-risk-chart/index.js +1 -1
  241. package/dist/components/popover/index.js +1 -1
  242. package/dist/components/practice-profile-hero/index.js +1 -1
  243. package/dist/components/practice-results/index.js +1 -1
  244. package/dist/components/pregnancy-dating/index.js +1 -1
  245. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  246. package/dist/components/privacy-lock/index.js +1 -1
  247. package/dist/components/product-hub-tray/index.js +1 -1
  248. package/dist/components/public-header/index.js +1 -1
  249. package/dist/components/radiograph-panel/index.js +1 -1
  250. package/dist/components/reviews-panel/index.js +1 -1
  251. package/dist/components/rich-text-editor/index.js +2 -2
  252. package/dist/components/section-card/index.js +1 -1
  253. package/dist/components/select/index.js +1 -1
  254. package/dist/components/select/select.d.ts +1 -1
  255. package/dist/components/session-countdown/index.js +1 -1
  256. package/dist/components/sheet/index.js +1 -1
  257. package/dist/components/sidebar/index.js +1 -1
  258. package/dist/components/sidebar/sidebar.d.ts +14 -0
  259. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  260. package/dist/components/skeleton-scheme/index.js +1 -1
  261. package/dist/components/slot-grid/index.js +1 -1
  262. package/dist/components/streaming-text/index.js +1 -1
  263. package/dist/components/tab-bar/index.js +1 -1
  264. package/dist/components/tabs/index.js +1 -1
  265. package/dist/components/task-card/index.js +1 -1
  266. package/dist/components/task-editor/index.js +1 -1
  267. package/dist/components/task-tray/index.js +1 -1
  268. package/dist/components/tasks-panel/index.js +1 -1
  269. package/dist/components/theme-toggle/index.js +1 -1
  270. package/dist/components/timeline/index.js +1 -1
  271. package/dist/components/toast/index.js +1 -1
  272. package/dist/components/token-insert-menu/index.js +1 -1
  273. package/dist/components/tool-rail/index.js +1 -1
  274. package/dist/components/tooth-scheme/index.js +1 -1
  275. package/dist/components/unit-converter/index.js +1 -1
  276. package/dist/components/voice-control-panel/index.js +1 -1
  277. package/dist/components/warning-stack/index.js +1 -1
  278. package/dist/components/widget-picker/index.js +1 -1
  279. package/dist/components/workflow/index.js +1 -1
  280. package/dist/components/workflow-status/index.js +1 -1
  281. package/dist/i18n/locales/ar.d.ts +5 -0
  282. package/dist/i18n/locales/ar.js +6 -1
  283. package/dist/i18n/locales/de.d.ts +5 -0
  284. package/dist/i18n/locales/de.js +6 -1
  285. package/dist/i18n/locales/el.d.ts +5 -0
  286. package/dist/i18n/locales/el.js +6 -1
  287. package/dist/i18n/locales/en.d.ts +5 -0
  288. package/dist/i18n/locales/en.js +6 -1
  289. package/dist/i18n/locales/es.d.ts +5 -0
  290. package/dist/i18n/locales/es.js +6 -1
  291. package/dist/i18n/locales/fr.d.ts +5 -0
  292. package/dist/i18n/locales/fr.js +6 -1
  293. package/dist/i18n/locales/hi.d.ts +5 -0
  294. package/dist/i18n/locales/hi.js +6 -1
  295. package/dist/i18n/locales/it.d.ts +5 -0
  296. package/dist/i18n/locales/it.js +6 -1
  297. package/dist/i18n/locales/ja.d.ts +5 -0
  298. package/dist/i18n/locales/ja.js +6 -1
  299. package/dist/i18n/locales/nl.d.ts +5 -0
  300. package/dist/i18n/locales/nl.js +6 -1
  301. package/dist/i18n/locales/pl.d.ts +5 -0
  302. package/dist/i18n/locales/pl.js +6 -1
  303. package/dist/i18n/locales/pt.d.ts +5 -0
  304. package/dist/i18n/locales/pt.js +6 -1
  305. package/dist/i18n/locales/ro.d.ts +5 -0
  306. package/dist/i18n/locales/ro.js +6 -1
  307. package/dist/i18n/locales/ru.d.ts +5 -0
  308. package/dist/i18n/locales/ru.js +6 -1
  309. package/dist/i18n/locales/sq.d.ts +5 -0
  310. package/dist/i18n/locales/sq.js +6 -1
  311. package/dist/i18n/locales/sv.d.ts +5 -0
  312. package/dist/i18n/locales/sv.js +6 -1
  313. package/dist/i18n/locales/tr.d.ts +5 -0
  314. package/dist/i18n/locales/tr.js +6 -1
  315. package/dist/i18n/locales/zh.d.ts +5 -0
  316. package/dist/i18n/locales/zh.js +6 -1
  317. package/dist/index.js +141 -141
  318. package/dist/locales/ar.json +6 -1
  319. package/dist/locales/de.json +6 -1
  320. package/dist/locales/el.json +6 -1
  321. package/dist/locales/en.json +6 -1
  322. package/dist/locales/es.json +6 -1
  323. package/dist/locales/fr.json +6 -1
  324. package/dist/locales/hi.json +6 -1
  325. package/dist/locales/it.json +6 -1
  326. package/dist/locales/ja.json +6 -1
  327. package/dist/locales/nl.json +6 -1
  328. package/dist/locales/pl.json +6 -1
  329. package/dist/locales/pt.json +6 -1
  330. package/dist/locales/ro.json +6 -1
  331. package/dist/locales/ru.json +6 -1
  332. package/dist/locales/sq.json +6 -1
  333. package/dist/locales/sv.json +6 -1
  334. package/dist/locales/tr.json +6 -1
  335. package/dist/locales/zh.json +6 -1
  336. package/dist/patterns/alia-assistant/index.js +1 -1
  337. package/dist/patterns/anamnesis/index.js +1 -1
  338. package/dist/patterns/calendar/index.js +1 -1
  339. package/dist/patterns/error-page/index.js +1 -1
  340. package/dist/patterns/forgot-password-form/index.js +1 -1
  341. package/dist/patterns/help-me-write-templates/index.js +1 -1
  342. package/dist/patterns/login-form/index.js +1 -1
  343. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  344. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  345. package/dist/patterns/registration-form/index.js +1 -1
  346. package/dist/patterns/signature-request/index.js +1 -1
  347. package/dist/patterns/signed-out-frame/index.js +1 -1
  348. package/dist/tokens.css +6 -3
  349. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
- import { jsx as g, jsxs as Y } from "react/jsx-runtime";
2
- import { useEffect as le, forwardRef as Ge, useId as Ke, useMemo as x, useRef as j, useState as z, useImperativeHandle as Ue } from "react";
3
- import { c as Ye } from "./index-D2ZczOXr.js";
4
- import { useTranslation as je } from "react-i18next";
5
- import Ve from "react-apexcharts";
6
- import Oe from "apexcharts";
7
- import { u as Ze, a as Xe, g as _e, b as Je, r as Qe } from "./apexcharts-theme-DNoXvgnZ.js";
8
- import { u as et } from "./use-prefers-reduced-motion-BMwIQRjB.js";
9
- import { c as tt } from "./compose-refs-C0k0tdqF.js";
10
- import { u as rt } from "./registry-DvAUVLHh.js";
11
- import { I as at } from "./icon-button-COX76Jdj.js";
12
- import { I as nt } from "./icon-button-group-C5hhI-R5.js";
1
+ import { jsx as y, jsxs as Y } from "react/jsx-runtime";
2
+ import { useEffect as ce, forwardRef as Ue, useId as Ye, useMemo as S, useRef as j, useState as $, useImperativeHandle as je } from "react";
3
+ import { c as Ve } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Ze } from "react-i18next";
5
+ import Xe from "react-apexcharts";
6
+ import Ne from "apexcharts";
7
+ import { u as Je, a as Qe, g as Be, b as et, r as tt } from "./apexcharts-theme-DNoXvgnZ.js";
8
+ import { u as rt } from "./use-prefers-reduced-motion-BMwIQRjB.js";
9
+ import { c as at } from "./compose-refs-C0k0tdqF.js";
10
+ import { u as nt } from "./registry-DvAUVLHh.js";
11
+ import { I as ot } from "./icon-button-CsOGhuRB.js";
12
+ import { I as st } from "./icon-button-group-Cap4-Idv.js";
13
13
  import { c as Z } from "./createLucideIcon-DhHxpK9K.js";
14
14
  /**
15
15
  * @license lucide-react v1.22.0 - ISC
@@ -17,7 +17,7 @@ import { c as Z } from "./createLucideIcon-DhHxpK9K.js";
17
17
  * This source code is licensed under the ISC license.
18
18
  * See the LICENSE file in the root directory of this source tree.
19
19
  */
20
- const ot = [
20
+ const it = [
21
21
  ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
22
22
  [
23
23
  "path",
@@ -26,36 +26,36 @@ const ot = [
26
26
  key: "q0gr47"
27
27
  }
28
28
  ]
29
- ], st = Z("chart-area", ot);
29
+ ], ct = Z("chart-area", it);
30
30
  /**
31
31
  * @license lucide-react v1.22.0 - ISC
32
32
  *
33
33
  * This source code is licensed under the ISC license.
34
34
  * See the LICENSE file in the root directory of this source tree.
35
35
  */
36
- const it = [
36
+ const lt = [
37
37
  ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
38
38
  ["path", { d: "M18 17V9", key: "2bz60n" }],
39
39
  ["path", { d: "M13 17V5", key: "1frdt8" }],
40
40
  ["path", { d: "M8 17v-3", key: "17ska0" }]
41
- ], ct = Z("chart-column", it);
41
+ ], dt = Z("chart-column", lt);
42
42
  /**
43
43
  * @license lucide-react v1.22.0 - ISC
44
44
  *
45
45
  * This source code is licensed under the ISC license.
46
46
  * See the LICENSE file in the root directory of this source tree.
47
47
  */
48
- const lt = [
48
+ const pt = [
49
49
  ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
50
50
  ["path", { d: "m19 9-5 5-4-4-3 3", key: "2osh9i" }]
51
- ], dt = Z("chart-line", lt);
51
+ ], ut = Z("chart-line", pt);
52
52
  /**
53
53
  * @license lucide-react v1.22.0 - ISC
54
54
  *
55
55
  * This source code is licensed under the ISC license.
56
56
  * See the LICENSE file in the root directory of this source tree.
57
57
  */
58
- const pt = [
58
+ const ht = [
59
59
  [
60
60
  "path",
61
61
  {
@@ -64,14 +64,14 @@ const pt = [
64
64
  }
65
65
  ],
66
66
  ["path", { d: "M21.21 15.89A10 10 0 1 1 8 2.83", key: "k2fpak" }]
67
- ], ut = Z("chart-pie", pt);
67
+ ], mt = Z("chart-pie", ht);
68
68
  /**
69
69
  * @license lucide-react v1.22.0 - ISC
70
70
  *
71
71
  * This source code is licensed under the ISC license.
72
72
  * See the LICENSE file in the root directory of this source tree.
73
73
  */
74
- const ht = [
74
+ const ft = [
75
75
  [
76
76
  "path",
77
77
  {
@@ -80,48 +80,48 @@ const ht = [
80
80
  }
81
81
  ],
82
82
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
83
- ], mt = Z("donut", ht), ft = ".apexcharts-legend, .apexcharts-toolbar";
84
- function ce(e, s, t) {
85
- !e || e.getAttribute(s) === t || (t === null ? e.removeAttribute(s) : e.setAttribute(s, t));
83
+ ], bt = Z("donut", ft), yt = ".apexcharts-legend, .apexcharts-toolbar";
84
+ function ie(e, a, t) {
85
+ !e || e.getAttribute(a) === t || (t === null ? e.removeAttribute(a) : e.setAttribute(a, t));
86
86
  }
87
- function bt(e, s) {
88
- le(() => {
87
+ function gt(e, a) {
88
+ ce(() => {
89
89
  if (!e) return;
90
90
  const t = () => {
91
- e.querySelectorAll(".apexcharts-canvas").forEach((p) => {
92
- Array.from(p.children).forEach((h) => {
93
- h.matches(ft) || ce(h, "aria-hidden", "true");
91
+ e.querySelectorAll(".apexcharts-canvas").forEach((u) => {
92
+ Array.from(u.children).forEach((h) => {
93
+ h.matches(yt) || ie(h, "aria-hidden", "true");
94
94
  });
95
- }), e.querySelectorAll(".apexcharts-toolbar").forEach((p) => {
96
- var m;
97
- const h = ((m = p.querySelector(".apexcharts-menu-icon")) == null ? void 0 : m.getAttribute("aria-expanded")) === "true";
98
- ce(
99
- p.querySelector(".apexcharts-menu"),
95
+ }), e.querySelectorAll(".apexcharts-toolbar").forEach((u) => {
96
+ var f;
97
+ const h = ((f = u.querySelector(".apexcharts-menu-icon")) == null ? void 0 : f.getAttribute("aria-expanded")) === "true";
98
+ ie(
99
+ u.querySelector(".apexcharts-menu"),
100
100
  "inert",
101
101
  h ? null : ""
102
102
  );
103
103
  }), e.querySelectorAll(
104
104
  '.apexcharts-legend-series[role="button"]'
105
- ).forEach((p) => {
106
- ce(p, "aria-label", null);
107
- const h = p.getAttribute("data:collapsed") === "true" ? "false" : "true";
108
- ce(p, "aria-pressed", s ? h : null);
105
+ ).forEach((u) => {
106
+ ie(u, "aria-label", null);
107
+ const h = u.getAttribute("data:collapsed") === "true" ? "false" : "true";
108
+ ie(u, "aria-pressed", a ? h : null);
109
109
  });
110
110
  };
111
- let i = 0;
112
- const d = (p) => {
113
- const h = p.target instanceof Element ? p.target.closest(".apexcharts-legend-series") : null, m = h == null ? void 0 : h.getAttribute("rel");
114
- m && (cancelAnimationFrame(i), i = requestAnimationFrame(() => {
111
+ let s = 0;
112
+ const p = (u) => {
113
+ const h = u.target instanceof Element ? u.target.closest(".apexcharts-legend-series") : null, f = h == null ? void 0 : h.getAttribute("rel");
114
+ f && (cancelAnimationFrame(s), s = requestAnimationFrame(() => {
115
115
  var l;
116
- const L = document.activeElement;
117
- L && L !== document.body || (l = e.querySelector(
118
- `.apexcharts-legend-series[rel="${CSS.escape(m)}"]`
116
+ const O = document.activeElement;
117
+ O && O !== document.body || (l = e.querySelector(
118
+ `.apexcharts-legend-series[rel="${CSS.escape(f)}"]`
119
119
  )) == null || l.focus();
120
120
  }));
121
121
  };
122
122
  t();
123
- const c = new MutationObserver(t);
124
- return c.observe(e, {
123
+ const i = new MutationObserver(t);
124
+ return i.observe(e, {
125
125
  childList: !0,
126
126
  subtree: !0,
127
127
  attributes: !0,
@@ -131,12 +131,12 @@ function bt(e, s) {
131
131
  "aria-pressed",
132
132
  "aria-expanded"
133
133
  ]
134
- }), e.addEventListener("click", d), () => {
135
- c.disconnect(), e.removeEventListener("click", d), cancelAnimationFrame(i);
134
+ }), e.addEventListener("click", p), () => {
135
+ i.disconnect(), e.removeEventListener("click", p), cancelAnimationFrame(s);
136
136
  };
137
- }, [e, s]);
137
+ }, [e, a]);
138
138
  }
139
- const yt = {
139
+ const vt = {
140
140
  id: "chart",
141
141
  // view_change backs the opt-in type switcher (`switchableTypes` prop):
142
142
  // the same chart re-presented as line / bar / area / pie / donut.
@@ -186,7 +186,7 @@ const yt = {
186
186
  idempotent: !0,
187
187
  descriptionKey: "ui.agent.chart.actions.changeView",
188
188
  description: "Switch the rendered chart type via the type switcher. No-op (returns false) when the chart has no switcher or the type is not offered.",
189
- invoke: (e, s) => e.setType(s.type)
189
+ invoke: (e, a) => e.setType(a.type)
190
190
  },
191
191
  update_series: {
192
192
  // Replacing the rendered series mutates what the chart displays — it
@@ -231,8 +231,8 @@ const yt = {
231
231
  idempotent: !0,
232
232
  descriptionKey: "ui.agent.chart.actions.updateSeries",
233
233
  description: "Replace the chart series without remounting. Pass the DECLARED type’s shape (see declaredType state); when the user has switched the view cross-shape the values are converted to the rendered shape. The data and its summary table persist across type switches, resizes and theme changes until the host passes a new series prop.",
234
- invoke: (e, s) => {
235
- e.updateSeries(s.series);
234
+ invoke: (e, a) => {
235
+ e.updateSeries(a.series);
236
236
  }
237
237
  },
238
238
  export_png: {
@@ -256,7 +256,7 @@ const yt = {
256
256
  description: "Sourced from the id prop."
257
257
  }
258
258
  }
259
- }, gt = Ye(
259
+ }, wt = Ve(
260
260
  "ds:relative ds:block ds:w-full apex-theme-alfadocs",
261
261
  {
262
262
  variants: {
@@ -271,112 +271,119 @@ const yt = {
271
271
  },
272
272
  defaultVariants: { density: "comfortable" }
273
273
  }
274
- ), vt = [
274
+ ), xt = [
275
275
  "verticalLines",
276
276
  "horizontalLines",
277
277
  "slantedLines",
278
278
  "squares",
279
279
  "circles"
280
- ], wt = ["line", "bar", "area"], xt = ["pie", "donut", "radialBar"], Ne = [
280
+ ], St = ["line", "bar", "area"], At = ["pie", "donut", "radialBar"], Pe = [
281
281
  "line",
282
282
  "bar",
283
283
  "area",
284
284
  "pie",
285
285
  "donut"
286
- ], St = {
286
+ ], Tt = {
287
287
  line: "chart.typeSwitcher.line",
288
288
  bar: "chart.typeSwitcher.bar",
289
289
  area: "chart.typeSwitcher.area",
290
290
  pie: "chart.typeSwitcher.pie",
291
291
  donut: "chart.typeSwitcher.donut"
292
- }, At = {
293
- line: /* @__PURE__ */ g(dt, {}),
294
- bar: /* @__PURE__ */ g(ct, {}),
295
- area: /* @__PURE__ */ g(st, {}),
296
- pie: /* @__PURE__ */ g(ut, {}),
297
- donut: /* @__PURE__ */ g(mt, {})
298
- }, Tt = 2, ze = "0 6", Ct = 5;
299
- function Et(e, s) {
300
- !e || s.length === 0 || e.querySelectorAll(
292
+ }, Ct = {
293
+ line: /* @__PURE__ */ y(ut, {}),
294
+ bar: /* @__PURE__ */ y(dt, {}),
295
+ area: /* @__PURE__ */ y(ct, {}),
296
+ pie: /* @__PURE__ */ y(mt, {}),
297
+ donut: /* @__PURE__ */ y(bt, {})
298
+ }, Et = 2, qe = "0 6", kt = 5, Rt = -45, It = 640;
299
+ function _t(e, a) {
300
+ !e || a.length === 0 || e.querySelectorAll(
301
301
  ".apexcharts-bar-series > .apexcharts-series"
302
302
  ).forEach((t) => {
303
- const i = Number(t.getAttribute("data:realIndex"));
304
- s.includes(i) && t.querySelectorAll("path.apexcharts-bar-area").forEach(
305
- (d) => {
306
- if (typeof d.getBBox != "function") return;
307
- const c = d.getBBox();
308
- d.setAttribute(
303
+ const s = Number(t.getAttribute("data:realIndex"));
304
+ a.includes(s) && t.querySelectorAll("path.apexcharts-bar-area").forEach(
305
+ (p) => {
306
+ if (typeof p.getBBox != "function") return;
307
+ const i = p.getBBox();
308
+ p.setAttribute(
309
309
  "d",
310
- `M ${c.x} ${c.y + c.height} L ${c.x} ${c.y} L ${c.x + c.width} ${c.y} L ${c.x + c.width} ${c.y + c.height}`
311
- ), d.setAttribute("stroke-dasharray", ze), d.setAttribute("stroke-linecap", "round");
310
+ `M ${i.x} ${i.y + i.height} L ${i.x} ${i.y} L ${i.x + i.width} ${i.y} L ${i.x + i.width} ${i.y + i.height}`
311
+ ), p.setAttribute("stroke-dasharray", qe), p.setAttribute("stroke-linecap", "round");
312
312
  }
313
313
  );
314
314
  });
315
315
  }
316
- function Be(e) {
317
- const s = getComputedStyle(e), t = (i) => Number.parseFloat(s.getPropertyValue(i)) || 0;
316
+ function Me(e) {
317
+ const a = getComputedStyle(e), t = (s) => Number.parseFloat(a.getPropertyValue(s)) || 0;
318
318
  return t("--min-target-size") + t("--focus-ring-offset") + t("--focus-ring-width");
319
319
  }
320
- function Me(e, s, t, i, d, c) {
321
- if (i === d)
320
+ function Lt(e, a) {
321
+ if (e === void 0) return a;
322
+ if (typeof e == "number") return e;
323
+ const t = Number.parseInt(e, 10);
324
+ return e.trim().endsWith("%") ? a * t / 100 : t;
325
+ }
326
+ function ze(e, a, t, s, p, i) {
327
+ if (s === p)
322
328
  return {
323
329
  effectiveSeries: e,
324
- effectiveCategories: s,
330
+ effectiveCategories: a,
325
331
  effectiveLabels: t
326
332
  };
327
- if (!i) {
328
- const m = e.filter((l) => l.role !== "compare");
333
+ if (!s) {
334
+ const f = e.filter((l) => l.role !== "compare");
329
335
  return {
330
- effectiveSeries: m.map((l) => l.data.reduce((T, $) => T + $, 0)),
336
+ effectiveSeries: f.map((l) => l.data.reduce((R, q) => R + q, 0)),
331
337
  effectiveCategories: void 0,
332
- effectiveLabels: m.map((l) => l.name)
338
+ effectiveLabels: f.map((l) => l.name)
333
339
  };
334
340
  }
335
341
  return {
336
- effectiveSeries: [{ name: c, data: e }],
342
+ effectiveSeries: [{ name: i, data: e }],
337
343
  effectiveCategories: t ?? [],
338
344
  effectiveLabels: void 0
339
345
  };
340
346
  }
341
- function Pe({
347
+ function $e({
342
348
  themeOptions: e,
343
- toolbarBand: s,
349
+ toolbarBand: a,
344
350
  chartId: t,
345
- toolbar: i,
346
- reducedMotion: d,
347
- toolbarLocale: c,
348
- locale: p,
351
+ toolbar: s,
352
+ reducedMotion: p,
353
+ toolbarLocale: i,
354
+ locale: u,
349
355
  effectiveLabels: h,
350
- formatValue: m,
351
- noDataText: L,
356
+ formatValue: f,
357
+ noDataText: O,
352
358
  effectiveType: l,
353
- effectiveSeries: T,
354
- effectiveCategories: $,
355
- isRtl: _,
356
- patterns: pe,
357
- stacked: N,
358
- orientation: q,
359
- curve: H,
360
- colors: B,
359
+ effectiveSeries: R,
360
+ effectiveCategories: q,
361
+ isRtl: B,
362
+ patterns: de,
363
+ stacked: P,
364
+ orientation: H,
365
+ curve: W,
366
+ colors: M,
361
367
  radialValueFormatter: X,
362
- wrapperRef: J
368
+ narrow: J,
369
+ wrapperRef: pe
363
370
  }) {
364
- var Q, ee, G, K, te, I;
365
- const S = e, o = de(l) && Array.isArray(T) ? T.map((n) => n.role === "compare") : [], C = o.some(Boolean), F = C && l === "bar", O = F && T.some(
366
- (n) => n.role === "compare" && n.data.some((u) => u < 0)
367
- ), W = F && q === "vertical" && !O, D = C ? Je() : 0.3, a = {
368
- ...S,
371
+ var ee, G, D, te, _, K;
372
+ const n = e, C = le(l) && Array.isArray(R) ? R.map((o) => o.role === "compare") : [], E = C.some(Boolean), I = E && l === "bar", F = I && R.some(
373
+ (o) => o.role === "compare" && o.data.some((d) => d < 0)
374
+ ), Q = I && H === "vertical" && !F, v = E ? et() : 0.3, c = {
375
+ ...n,
369
376
  chart: {
370
- ...S.chart,
377
+ ...n.chart,
371
378
  id: t,
372
- toolbar: { show: i },
373
- zoom: { enabled: i },
379
+ toolbar: { show: s },
380
+ zoom: { enabled: s },
374
381
  animations: {
375
- enabled: !d,
376
- dynamicAnimation: { enabled: !d }
382
+ enabled: !p,
383
+ dynamicAnimation: { enabled: !p }
377
384
  },
378
- locales: [c],
379
- defaultLocale: p,
385
+ locales: [i],
386
+ defaultLocale: u,
380
387
  parentHeightOffset: 0,
381
388
  // Keep the keyboard-operable legend; drop Apex's data-point navigation
382
389
  // and live announcements (English-only, and the summary table covers them).
@@ -388,7 +395,7 @@ function Pe({
388
395
  // Stacking is axis-only, so a slice or radial chart never receives it.
389
396
  // Sent as false too: ApexCharts merges an update into its config, so
390
397
  // leaving it out would keep an earlier `true`.
391
- ...de(l) ? { stacked: N } : {}
398
+ ...le(l) ? { stacked: P } : {}
392
399
  },
393
400
  // Only set `labels` when the effective type actually has them (slice
394
401
  // charts). Emitting `labels: undefined` crashes ApexCharts' bar
@@ -398,135 +405,140 @@ function Pe({
398
405
  // line tolerate the undefined but bar does not, so never pass it.
399
406
  ...h ? { labels: h } : {},
400
407
  legend: {
401
- ...S.legend,
408
+ ...n.legend,
402
409
  position: "bottom",
403
410
  // ApexCharts legend.horizontalAlign is a physical prop mapped internally
404
411
  // to the chart's own text flow. For RTL we flip via `yaxis.opposite`
405
412
  // and ApexCharts' own `direction: 'rtl'` handling; legend stays anchored
406
413
  // to the inline-start by asking for 'left' on LTR and 'right' on RTL.
407
- horizontalAlign: _ ? "right" : "left",
414
+ horizontalAlign: B ? "right" : "left",
408
415
  fontFamily: "inherit",
409
416
  // apexcharts-theme.css sizes the legend hit areas and ring room from
410
417
  // this 4px; pinned so an ApexCharts default change cannot break them.
411
418
  itemMargin: { horizontal: 5, vertical: 4 }
412
419
  },
413
420
  tooltip: {
414
- ...S.tooltip,
421
+ ...n.tooltip,
415
422
  y: {
416
- formatter: (n) => m(n)
423
+ formatter: (o) => f(o)
417
424
  }
418
425
  },
419
426
  noData: {
420
- text: L
427
+ text: O
421
428
  }
422
429
  };
423
- if (a.title = i && s ? { ...a.title, text: "", margin: s } : { ...a.title, text: void 0, margin: Ct }, B && B.length > 0 && (a.colors = B), C) {
424
- const n = a.colors ?? S.colors ?? [], u = (f) => n[f % Math.max(n.length, 1)], R = T.map((f, k) => f.role === "compare" ? -1 : k).filter((f) => f >= 0);
425
- let M = 0;
426
- a.colors = T.map((f, k) => {
427
- if (f.role !== "compare") return u(k);
428
- const re = R.length ? R[Math.min(M++, R.length - 1)] : k;
429
- return u(re);
430
+ if (c.title = s && a ? { ...c.title, text: "", margin: a } : { ...c.title, text: void 0, margin: kt }, M && M.length > 0 && (c.colors = M), E) {
431
+ const o = c.colors ?? n.colors ?? [], d = (x) => o[x % Math.max(o.length, 1)], N = R.map((x, L) => x.role === "compare" ? -1 : L).filter((x) => x >= 0);
432
+ let A = 0;
433
+ c.colors = R.map((x, L) => {
434
+ if (x.role !== "compare") return d(L);
435
+ const m = N.length ? N[Math.min(A++, N.length - 1)] : L;
436
+ return d(m);
430
437
  });
431
- const E = a.colors.map(
432
- (f, k) => o[k] ? Qe(f) : f
438
+ const k = c.colors.map(
439
+ (x, L) => C[L] ? tt(x) : x
433
440
  );
434
- a.legend = {
435
- ...a.legend,
441
+ c.legend = {
442
+ ...c.legend,
436
443
  markers: {
437
- ...((Q = a.legend) == null ? void 0 : Q.markers) ?? {},
438
- fillColors: E
444
+ ...((ee = c.legend) == null ? void 0 : ee.markers) ?? {},
445
+ fillColors: k
439
446
  }
440
447
  };
441
448
  }
442
- if (de(l)) {
443
- const n = l === "bar" && q === "horizontal";
444
- a.xaxis = {
445
- ...S.xaxis,
446
- categories: $ ?? [],
449
+ if (le(l)) {
450
+ const o = l === "bar" && H === "horizontal";
451
+ c.xaxis = {
452
+ ...n.xaxis,
453
+ categories: q ?? [],
447
454
  labels: {
448
- ...(ee = S.xaxis) == null ? void 0 : ee.labels,
449
- formatter: n ? (u) => m(Number(u)) : void 0
455
+ ...(G = n.xaxis) == null ? void 0 : G.labels,
456
+ formatter: o ? (d) => f(Number(d)) : void 0,
457
+ // A narrow chart thins crowded labels rather than turning them sideways.
458
+ // Sent both ways, so a widened chart rotates; the thinning is pinned
459
+ // so an ApexCharts default change cannot leave narrow labels overlapping.
460
+ rotate: J ? 0 : Rt,
461
+ hideOverlappingLabels: !0
450
462
  }
451
- }, a.yaxis = {
452
- ...S.yaxis,
453
- opposite: _,
454
- ...n ? {} : { labels: { formatter: (u) => m(u) } }
455
- }, a.stroke = {
456
- curve: H,
457
- width: l === "bar" ? C ? o.map((u) => u ? Tt : 0) : 0 : 2,
458
- ...C ? {
463
+ }, c.yaxis = {
464
+ ...n.yaxis,
465
+ opposite: B,
466
+ ...o ? {} : { labels: { formatter: (d) => f(d) } }
467
+ }, c.stroke = {
468
+ curve: W,
469
+ width: l === "bar" ? E ? C.map((d) => d ? Et : 0) : 0 : 2,
470
+ ...E ? {
459
471
  lineCap: "round",
460
472
  // Runtime accepts a string dash; the published types say
461
473
  // `number` → one documented cast. `'0 6'` + round cap ⇒ dots.
462
- dashArray: o.map(
463
- (u) => u ? ze : 0
474
+ dashArray: C.map(
475
+ (d) => d ? qe : 0
464
476
  )
465
477
  } : {}
466
- }, a.dataLabels = { enabled: !1 };
478
+ }, c.dataLabels = { enabled: !1 };
467
479
  }
468
480
  if (l === "radialBar" && X) {
469
- const n = S.plotOptions ?? {};
470
- a.plotOptions = {
471
- ...n,
481
+ const o = n.plotOptions ?? {};
482
+ c.plotOptions = {
483
+ ...o,
472
484
  radialBar: {
473
- ...n.radialBar ?? {},
485
+ ...o.radialBar ?? {},
474
486
  dataLabels: {
475
- ...((G = n.radialBar) == null ? void 0 : G.dataLabels) ?? {},
487
+ ...((D = o.radialBar) == null ? void 0 : D.dataLabels) ?? {},
476
488
  value: {
477
- ...((te = (K = n.radialBar) == null ? void 0 : K.dataLabels) == null ? void 0 : te.value) ?? {},
478
- formatter: (u) => X(Number(u))
489
+ ...((_ = (te = o.radialBar) == null ? void 0 : te.dataLabels) == null ? void 0 : _.value) ?? {},
490
+ formatter: (d) => X(Number(d))
479
491
  }
480
492
  }
481
493
  }
482
494
  };
483
495
  }
484
496
  if (l === "bar") {
485
- const n = S.plotOptions ?? {};
486
- a.plotOptions = {
487
- ...n,
497
+ const o = n.plotOptions ?? {};
498
+ c.plotOptions = {
499
+ ...o,
488
500
  bar: {
489
- ...n.bar ?? {},
490
- horizontal: q === "horizontal"
501
+ ...o.bar ?? {},
502
+ horizontal: H === "horizontal"
491
503
  }
492
504
  };
493
505
  }
494
- if (pe ? a.fill = {
495
- type: C ? o.map((n) => n ? "solid" : "pattern") : "pattern",
496
- opacity: C ? o.map(
497
- (n) => n ? D : l === "area" ? 0.3 : 1
506
+ if (de ? c.fill = {
507
+ type: E ? C.map((o) => o ? "solid" : "pattern") : "pattern",
508
+ opacity: E ? C.map(
509
+ (o) => o ? v : l === "area" ? 0.3 : 1
498
510
  ) : l === "area" ? 0.3 : 1,
499
511
  pattern: {
500
- style: [...vt],
512
+ style: [...xt],
501
513
  strokeWidth: 2
502
514
  }
503
- } : F ? a.fill = {
515
+ } : I ? c.fill = {
504
516
  type: "solid",
505
- opacity: o.map((n) => n ? D : 1)
506
- } : l === "area" && (a.fill = C ? {
517
+ opacity: C.map((o) => o ? v : 1)
518
+ } : l === "area" && (c.fill = E ? {
507
519
  type: "gradient",
508
- opacity: o.map((n) => n ? D : 0.3)
520
+ opacity: C.map((o) => o ? v : 0.3)
509
521
  } : {
510
522
  type: "gradient",
511
523
  opacity: 0.3
512
- }), W) {
513
- const n = o.map((M, E) => M ? E : -1).filter((M) => M >= 0), u = () => Et(J.current, n), R = () => typeof requestAnimationFrame == "function" ? requestAnimationFrame(u) : u();
514
- a.chart = {
515
- ...a.chart,
524
+ }), Q) {
525
+ const o = C.map((A, k) => A ? k : -1).filter((A) => A >= 0), d = () => _t(pe.current, o), N = () => typeof requestAnimationFrame == "function" ? requestAnimationFrame(d) : d();
526
+ c.chart = {
527
+ ...c.chart,
516
528
  events: {
517
- ...((I = a.chart) == null ? void 0 : I.events) ?? {},
518
- mounted: () => R(),
519
- updated: () => R(),
520
- animationEnd: () => u()
529
+ ...((K = c.chart) == null ? void 0 : K.events) ?? {},
530
+ mounted: () => N(),
531
+ updated: () => N(),
532
+ animationEnd: () => d()
521
533
  }
522
534
  };
523
535
  }
524
- return kt(a, l);
536
+ return Ot(c, l);
525
537
  }
526
- function kt(e, s) {
527
- var i, d, c, p, h, m;
528
- if (!de(s)) return e;
529
- const t = (i = e.chart) == null ? void 0 : i.events;
538
+ function Ot(e, a) {
539
+ var s, p, i, u, h, f;
540
+ if (!le(a)) return e;
541
+ const t = (s = e.chart) == null ? void 0 : s.events;
530
542
  return {
531
543
  ...e,
532
544
  colors: e.colors,
@@ -541,366 +553,368 @@ function kt(e, s) {
541
553
  },
542
554
  stroke: {
543
555
  ...e.stroke,
544
- lineCap: ((d = e.stroke) == null ? void 0 : d.lineCap) ?? (s === "bar" ? "square" : "butt"),
545
- dashArray: ((c = e.stroke) == null ? void 0 : c.dashArray) ?? 0
556
+ lineCap: ((p = e.stroke) == null ? void 0 : p.lineCap) ?? (a === "bar" ? "square" : "butt"),
557
+ dashArray: ((i = e.stroke) == null ? void 0 : i.dashArray) ?? 0
546
558
  },
547
559
  legend: {
548
560
  ...e.legend,
549
561
  markers: {
550
- ...(p = e.legend) == null ? void 0 : p.markers,
551
- fillColors: (m = (h = e.legend) == null ? void 0 : h.markers) == null ? void 0 : m.fillColors
562
+ ...(u = e.legend) == null ? void 0 : u.markers,
563
+ fillColors: (f = (h = e.legend) == null ? void 0 : h.markers) == null ? void 0 : f.fillColors
552
564
  }
553
565
  },
554
566
  fill: e.fill ?? { type: "solid", opacity: 0.85 }
555
567
  };
556
568
  }
557
569
  function V(e) {
558
- return xt.includes(e);
570
+ return At.includes(e);
559
571
  }
560
- function de(e) {
561
- return wt.includes(e);
572
+ function le(e) {
573
+ return St.includes(e);
562
574
  }
563
- function It(e, s) {
564
- return V(s) ? [
575
+ function Nt(e, a) {
576
+ return V(a) ? [
565
577
  {
566
578
  name: "",
567
579
  data: e
568
580
  }
569
581
  ] : e;
570
582
  }
571
- const Rt = Ge(
583
+ const Bt = Ue(
572
584
  ({
573
585
  title: e,
574
- id: s,
586
+ id: a,
575
587
  type: t,
576
- series: i,
577
- categories: d,
578
- labels: c,
579
- height: p,
588
+ series: s,
589
+ categories: p,
590
+ labels: i,
591
+ height: u,
580
592
  width: h,
581
- patterns: m = !1,
582
- stacked: L = !1,
593
+ patterns: f = !1,
594
+ stacked: O = !1,
583
595
  orientation: l = "vertical",
584
- curve: T = "smooth",
585
- colors: $,
586
- toolbar: _ = !1,
587
- locale: pe,
588
- radialValueFormatter: N,
589
- valueFormatter: q,
590
- switchableTypes: H,
591
- onTypeChange: B,
596
+ curve: R = "smooth",
597
+ colors: q,
598
+ toolbar: B = !1,
599
+ locale: de,
600
+ radialValueFormatter: P,
601
+ valueFormatter: H,
602
+ switchableTypes: W,
603
+ onTypeChange: M,
592
604
  density: X,
593
605
  className: J
594
- }, S) => {
595
- const { t: o, i18n: C } = je("ui"), F = Ke(), O = x(
596
- () => `chart-${F.replace(/[^a-zA-Z0-9-_]/g, "")}`,
597
- [F]
598
- ), W = `${O}-summary`, D = j(null), [a, Q] = z(null), ee = x(
599
- () => tt(D, Q),
606
+ }, pe) => {
607
+ const { t: n, i18n: C } = Ze("ui"), E = Ye(), I = S(
608
+ () => `chart-${E.replace(/[^a-zA-Z0-9-_]/g, "")}`,
609
+ [E]
610
+ ), F = `${I}-summary`, Q = j(null), [v, c] = $(null), ee = S(
611
+ () => at(Q, c),
600
612
  []
601
- ), G = x(() => ({ current: a }), [a]), [K, te] = z(0);
602
- Ze(G), Xe(G);
603
- const I = pe ?? C.language ?? "en", [n, u] = z(() => {
613
+ ), G = S(() => ({ current: v }), [v]), [D, te] = $(0);
614
+ Je(G), Qe(G);
615
+ const _ = de ?? C.language ?? "en", [K, o] = $(() => {
604
616
  try {
605
- return _e();
617
+ return Be();
606
618
  } catch {
607
619
  return {};
608
620
  }
609
621
  });
610
- le(() => {
622
+ ce(() => {
611
623
  if (typeof document > "u") return;
612
624
  let r;
613
- const y = new MutationObserver(() => {
625
+ const b = new MutationObserver(() => {
614
626
  clearTimeout(r), r = setTimeout(() => {
615
627
  try {
616
- u(_e());
628
+ o(Be());
617
629
  } catch {
618
630
  }
619
631
  }, 50);
620
632
  });
621
- return y.observe(document.documentElement, {
633
+ return b.observe(document.documentElement, {
622
634
  attributes: !0,
623
635
  attributeFilter: ["class"]
624
636
  }), () => {
625
- clearTimeout(r), y.disconnect();
637
+ clearTimeout(r), b.disconnect();
626
638
  };
627
639
  }, []);
628
- const [R, M] = z(
629
- () => typeof document > "u" ? 0 : Be(document.documentElement)
640
+ const [d, N] = $(
641
+ () => typeof document > "u" ? 0 : Me(document.documentElement)
630
642
  );
631
- le(() => {
632
- if (!a || !_) return;
633
- const r = new ResizeObserver(() => y()), y = () => {
634
- const w = a.querySelector(".apexcharts-toolbar");
635
- w && r.observe(w), M(
636
- Math.max(Be(a), (w == null ? void 0 : w.offsetHeight) ?? 0)
643
+ ce(() => {
644
+ if (!v || !B) return;
645
+ const r = new ResizeObserver(() => b()), b = () => {
646
+ const w = v.querySelector(".apexcharts-toolbar");
647
+ w && r.observe(w), N(
648
+ Math.max(Me(v), (w == null ? void 0 : w.offsetHeight) ?? 0)
637
649
  );
638
650
  };
639
- y();
640
- const v = new MutationObserver(y);
641
- for (let w = a.parentElement; w; w = w.parentElement)
642
- v.observe(w, { attributes: !0, attributeFilter: ["class"] });
643
- const A = new MutationObserver((w) => {
651
+ b();
652
+ const g = new MutationObserver(b);
653
+ for (let w = v.parentElement; w; w = w.parentElement)
654
+ g.observe(w, { attributes: !0, attributeFilter: ["class"] });
655
+ const T = new MutationObserver((w) => {
644
656
  w.flatMap((U) => [...U.addedNodes]).some(
645
657
  (U) => U instanceof Element && (U.matches(".apexcharts-toolbar") || U.querySelector(".apexcharts-toolbar"))
646
- ) && y();
658
+ ) && b();
647
659
  });
648
- return A.observe(a, { childList: !0, subtree: !0 }), () => {
649
- r.disconnect(), v.disconnect(), A.disconnect();
660
+ return T.observe(v, { childList: !0, subtree: !0 }), () => {
661
+ r.disconnect(), g.disconnect(), T.disconnect();
650
662
  };
651
- }, [a, _]), le(() => {
652
- const r = a;
663
+ }, [v, B]), ce(() => {
664
+ const r = v;
653
665
  if (!r || typeof ResizeObserver > "u") return;
654
- const y = new ResizeObserver((v) => {
655
- const A = v[0];
656
- A && te(Math.floor(A.contentRect.width));
666
+ const b = new ResizeObserver((g) => {
667
+ const T = g[0];
668
+ T && te(Math.floor(T.contentRect.width));
657
669
  });
658
- return y.observe(r), () => y.disconnect();
659
- }, [a]);
660
- const E = x(() => {
661
- if (!H || H.length === 0) return [];
662
- const r = H.filter(
663
- (v) => Ne.includes(v)
670
+ return b.observe(r), () => b.disconnect();
671
+ }, [v]);
672
+ const A = S(() => {
673
+ if (!W || W.length === 0) return [];
674
+ const r = W.filter(
675
+ (g) => Pe.includes(g)
664
676
  );
665
- if (!Ne.includes(t))
677
+ if (!Pe.includes(t))
666
678
  return [];
667
- const y = r.includes(t) ? r : [t, ...r];
668
- return [...new Set(y)];
669
- }, [H, t]), f = E.length >= 2, [k, re] = z(null), b = f && k && E.includes(k) ? k : t;
670
- bt(
671
- a,
672
- b !== "pie" && b !== "donut"
679
+ const b = r.includes(t) ? r : [t, ...r];
680
+ return [...new Set(b)];
681
+ }, [W, t]), k = A.length >= 2, [x, L] = $(null), m = k && x && A.includes(x) ? x : t;
682
+ gt(
683
+ v,
684
+ m !== "pie" && m !== "donut"
673
685
  );
674
- const ue = V(t), he = V(b), [ae, fe] = z(null), [be, $e] = z(i);
675
- be !== i && ($e(i), ae && fe(null));
676
- const ye = ae && ae.base === i && be === i ? ae.next : i, ge = j(i);
677
- ge.current = i;
678
- const { effectiveSeries: P, effectiveCategories: ne, effectiveLabels: oe } = x(
679
- () => Me(
686
+ const ue = V(t), he = V(m), [re, fe] = $(null), [be, He] = $(s);
687
+ be !== s && (He(s), re && fe(null));
688
+ const ye = re && re.base === s && be === s ? re.next : s, ge = j(s);
689
+ ge.current = s;
690
+ const { effectiveSeries: z, effectiveCategories: ae, effectiveLabels: ne } = S(
691
+ () => ze(
680
692
  ye,
681
- d,
682
- c,
693
+ p,
694
+ i,
683
695
  ue,
684
696
  he,
685
- o("chart.table.value")
697
+ n("chart.table.value")
686
698
  ),
687
- [ye, d, c, ue, he, o]
688
- ), ve = (r) => Me(
699
+ [ye, p, i, ue, he, n]
700
+ ), ve = (r) => ze(
689
701
  r,
690
- d,
691
- c,
702
+ p,
703
+ i,
692
704
  ue,
693
705
  he,
694
- o("chart.table.value")
706
+ n("chart.table.value")
695
707
  ), we = j(ve);
696
708
  we.current = ve;
697
- const xe = j(Promise.resolve()), me = x(
709
+ const xe = j(Promise.resolve()), me = S(
698
710
  () => ({
699
711
  async dataURI() {
700
712
  await xe.current;
701
- const r = Oe.getChartByID(O);
713
+ const r = Ne.getChartByID(I);
702
714
  return r ? (await r.dataURI()).imgURI : "";
703
715
  },
704
716
  updateSeries(r) {
705
717
  fe({ base: ge.current, next: r });
706
- const y = Oe.getChartByID(O);
707
- if (!y) return;
708
- const v = we.current(r), A = { ...Ie.current, ...v };
709
- xe.current = y.updateOptions(
710
- { ...Pe(A), series: v.effectiveSeries },
718
+ const b = Ne.getChartByID(I);
719
+ if (!b) return;
720
+ const g = we.current(r), T = { ..._e.current, ...g };
721
+ xe.current = b.updateOptions(
722
+ { ...$e(T), series: g.effectiveSeries },
711
723
  !1,
712
724
  !0
713
725
  ).catch(() => {
714
726
  });
715
727
  },
716
728
  setType(r) {
717
- return !f || !E.includes(r) ? !1 : (re(r), !0);
729
+ return !k || !A.includes(r) ? !1 : (L(r), !0);
718
730
  },
719
731
  getTypeState() {
720
732
  return {
721
733
  declaredType: t,
722
- effectiveType: b,
723
- availableTypes: f ? [...E] : []
734
+ effectiveType: m,
735
+ availableTypes: k ? [...A] : []
724
736
  };
725
737
  }
726
738
  }),
727
- [O, t, b, f, E]
739
+ [I, t, m, k, A]
728
740
  );
729
- Ue(S, () => me, [me]), rt(yt, me, s);
730
- const Se = typeof document < "u" && document.documentElement.dir === "rtl", Ae = x(
731
- () => It(P, b),
732
- [P, b]
733
- ), Te = x(
734
- () => new Intl.NumberFormat(I),
735
- [I]
736
- ), se = x(
737
- () => q ?? ((r) => Te.format(r)),
738
- [q, Te]
739
- ), Ce = x(
741
+ je(pe, () => me, [me]), nt(vt, me, a);
742
+ const Se = typeof document < "u" && document.documentElement.dir === "rtl", Ae = S(
743
+ () => Nt(z, m),
744
+ [z, m]
745
+ ), Te = S(
746
+ () => new Intl.NumberFormat(_),
747
+ [_]
748
+ ), oe = S(
749
+ () => H ?? ((r) => Te.format(r)),
750
+ [H, Te]
751
+ ), Ce = S(
740
752
  () => ({
741
- name: I,
753
+ name: _,
742
754
  options: {
743
755
  toolbar: {
744
- download: o("chart.toolbar.download"),
756
+ download: n("chart.toolbar.download"),
745
757
  // Names the button that opens the export menu (Apex: "Menu").
746
- menu: o("chart.toolbar.download"),
747
- selection: o("chart.toolbar.selection"),
748
- selectionZoom: o("chart.toolbar.selectionZoom"),
749
- zoomIn: o("chart.toolbar.zoomIn"),
750
- zoomOut: o("chart.toolbar.zoomOut"),
751
- pan: o("chart.toolbar.pan"),
752
- reset: o("chart.toolbar.reset"),
753
- exportToSVG: o("chart.toolbar.exportToSVG"),
754
- exportToPNG: o("chart.toolbar.exportToPNG"),
755
- exportToCSV: o("chart.toolbar.exportToCSV")
758
+ menu: n("chart.toolbar.download"),
759
+ selection: n("chart.toolbar.selection"),
760
+ selectionZoom: n("chart.toolbar.selectionZoom"),
761
+ zoomIn: n("chart.toolbar.zoomIn"),
762
+ zoomOut: n("chart.toolbar.zoomOut"),
763
+ pan: n("chart.toolbar.pan"),
764
+ reset: n("chart.toolbar.reset"),
765
+ exportToSVG: n("chart.toolbar.exportToSVG"),
766
+ exportToPNG: n("chart.toolbar.exportToPNG"),
767
+ exportToCSV: n("chart.toolbar.exportToCSV")
756
768
  }
757
769
  }
758
770
  }),
759
- [I, o]
760
- ), Ee = et(), ke = o("chart.noData"), ie = x(
771
+ [_, n]
772
+ ), Ee = rt(), ke = n("chart.noData"), Re = Lt(h, D), Ie = Re > 0 && Re < It, se = S(
761
773
  () => ({
762
- themeOptions: n,
763
- toolbarBand: R,
764
- chartId: O,
765
- toolbar: _,
774
+ themeOptions: K,
775
+ toolbarBand: d,
776
+ chartId: I,
777
+ toolbar: B,
766
778
  reducedMotion: Ee,
767
779
  toolbarLocale: Ce,
768
- locale: I,
769
- effectiveLabels: oe,
770
- formatValue: se,
780
+ locale: _,
781
+ effectiveLabels: ne,
782
+ formatValue: oe,
771
783
  noDataText: ke,
772
- effectiveType: b,
773
- effectiveSeries: P,
774
- effectiveCategories: ne,
784
+ effectiveType: m,
785
+ effectiveSeries: z,
786
+ effectiveCategories: ae,
775
787
  isRtl: Se,
776
- patterns: m,
777
- stacked: L,
788
+ patterns: f,
789
+ stacked: O,
778
790
  orientation: l,
779
- curve: T,
780
- colors: $,
781
- radialValueFormatter: N,
782
- wrapperRef: D
791
+ curve: R,
792
+ colors: q,
793
+ radialValueFormatter: P,
794
+ narrow: Ie,
795
+ wrapperRef: Q
783
796
  }),
784
797
  [
785
- n,
786
- R,
787
- O,
788
- _,
798
+ K,
799
+ d,
800
+ I,
801
+ B,
789
802
  Ee,
790
803
  Ce,
791
- I,
804
+ _,
805
+ ne,
792
806
  oe,
793
- se,
794
807
  ke,
795
- b,
796
- P,
797
- ne,
798
- Se,
799
808
  m,
800
- L,
809
+ z,
810
+ ae,
811
+ Se,
812
+ f,
813
+ O,
801
814
  l,
802
- T,
803
- $,
804
- N
815
+ R,
816
+ q,
817
+ P,
818
+ Ie
805
819
  ]
806
- ), qe = x(
807
- () => Pe(ie),
808
- [ie]
809
- ), Ie = j(ie);
810
- Ie.current = ie;
811
- const He = h ?? (K > 0 ? K : "100%"), Fe = p ?? 320, De = x(() => {
812
- const r = V(b) ? oe ?? [] : ne ?? [], y = Ae;
813
- return /* @__PURE__ */ g("div", { className: "ds:sr-only", children: /* @__PURE__ */ Y("table", { id: W, children: [
814
- /* @__PURE__ */ g("caption", { children: e }),
815
- /* @__PURE__ */ g("thead", { children: /* @__PURE__ */ Y("tr", { children: [
816
- /* @__PURE__ */ g("th", { scope: "col", children: o("chart.table.series") }),
817
- r.map((v, A) => /* @__PURE__ */ g("th", { scope: "col", children: v }, `${v}-${A}`))
820
+ ), We = S(
821
+ () => $e(se),
822
+ [se]
823
+ ), _e = j(se);
824
+ _e.current = se;
825
+ const De = h ?? (D > 0 ? D : "100%"), Fe = u ?? 320, Ge = S(() => {
826
+ const r = V(m) ? ne ?? [] : ae ?? [], b = Ae;
827
+ return /* @__PURE__ */ y("div", { className: "ds:sr-only", children: /* @__PURE__ */ Y("table", { id: F, children: [
828
+ /* @__PURE__ */ y("caption", { children: e }),
829
+ /* @__PURE__ */ y("thead", { children: /* @__PURE__ */ Y("tr", { children: [
830
+ /* @__PURE__ */ y("th", { scope: "col", children: n("chart.table.series") }),
831
+ r.map((g, T) => /* @__PURE__ */ y("th", { scope: "col", children: g }, `${g}-${T}`))
818
832
  ] }) }),
819
- /* @__PURE__ */ g("tbody", { children: y.map((v, A) => /* @__PURE__ */ Y("tr", { children: [
820
- /* @__PURE__ */ g("th", { scope: "row", children: v.name || o("chart.table.value") }),
821
- v.data.map((w, Le) => /* @__PURE__ */ g("td", { children: b === "radialBar" && N ? N(w) : se(w) }, `${A}-${Le}`))
822
- ] }, `${v.name}-${A}`)) })
833
+ /* @__PURE__ */ y("tbody", { children: b.map((g, T) => /* @__PURE__ */ Y("tr", { children: [
834
+ /* @__PURE__ */ y("th", { scope: "row", children: g.name || n("chart.table.value") }),
835
+ g.data.map((w, Oe) => /* @__PURE__ */ y("td", { children: m === "radialBar" && P ? P(w) : oe(w) }, `${T}-${Oe}`))
836
+ ] }, `${g.name}-${T}`)) })
823
837
  ] }) });
824
838
  }, [
825
- b,
839
+ m,
826
840
  Ae,
827
- oe,
828
841
  ne,
829
- W,
842
+ ae,
843
+ F,
830
844
  e,
831
- o,
832
- se,
833
- N
834
- ]), We = x(() => (V(b), P), [P, b]), Re = /* @__PURE__ */ Y(
845
+ n,
846
+ oe,
847
+ P
848
+ ]), Ke = S(() => (V(m), z), [z, m]), Le = /* @__PURE__ */ Y(
835
849
  "div",
836
850
  {
837
851
  ref: ee,
838
852
  role: "figure",
839
853
  "aria-label": e,
840
- "aria-describedby": W,
841
- className: gt({
854
+ "aria-describedby": F,
855
+ className: wt({
842
856
  // Explicit height wins over the density min-height unless the
843
857
  // caller also asked for a density explicitly.
844
- density: X ?? (p !== void 0 ? "none" : void 0),
845
- className: f ? void 0 : J
858
+ density: X ?? (u !== void 0 ? "none" : void 0),
859
+ className: k ? void 0 : J
846
860
  }),
847
- ...f ? {} : { "data-component": "chart", "data-component-id": s },
861
+ ...k ? {} : { "data-component": "chart", "data-component-id": a },
848
862
  children: [
849
- De,
850
- /* @__PURE__ */ g(
851
- Ve,
863
+ Ge,
864
+ /* @__PURE__ */ y(
865
+ Xe,
852
866
  {
853
- type: b,
854
- series: We,
855
- options: qe,
856
- width: He,
867
+ type: m,
868
+ series: Ke,
869
+ options: We,
870
+ width: De,
857
871
  height: Fe
858
872
  },
859
- b
873
+ m
860
874
  )
861
875
  ]
862
876
  }
863
877
  );
864
- return f ? /* @__PURE__ */ Y(
878
+ return k ? /* @__PURE__ */ Y(
865
879
  "div",
866
880
  {
867
881
  "data-component": "chart",
868
- "data-component-id": s,
882
+ "data-component-id": a,
869
883
  className: `ds:block ds:w-full ${J ?? ""}`.trim(),
870
884
  children: [
871
- /* @__PURE__ */ g("div", { className: "ds:mb-[var(--spacing-xs)] ds:flex ds:justify-end", children: /* @__PURE__ */ g(
872
- nt,
885
+ /* @__PURE__ */ y("div", { className: "ds:mb-[var(--spacing-xs)] ds:flex ds:justify-end", children: /* @__PURE__ */ y(
886
+ st,
873
887
  {
874
888
  role: "radiogroup",
875
889
  mode: "toggle-single",
876
890
  size: "sm",
877
- "aria-label": o("chart.typeSwitcher.label"),
878
- value: b,
891
+ "aria-label": n("chart.typeSwitcher.label"),
892
+ value: m,
879
893
  onValueChange: (r) => {
880
- r !== b && (re(r), B == null || B(r));
894
+ r !== m && (L(r), M == null || M(r));
881
895
  },
882
- children: E.map((r) => /* @__PURE__ */ g(
883
- at,
896
+ children: A.map((r) => /* @__PURE__ */ y(
897
+ ot,
884
898
  {
885
899
  value: r,
886
900
  type: "button",
887
- icon: At[r],
888
- "aria-label": o(St[r])
901
+ icon: Ct[r],
902
+ "aria-label": n(Tt[r])
889
903
  },
890
904
  r
891
905
  ))
892
906
  }
893
907
  ) }),
894
- Re
908
+ Le
895
909
  ]
896
910
  }
897
- ) : Re;
911
+ ) : Le;
898
912
  }
899
913
  );
900
- Rt.displayName = "Chart";
914
+ Bt.displayName = "Chart";
901
915
  export {
902
- Rt as C,
903
- gt as a,
904
- yt as c
916
+ Bt as C,
917
+ wt as a,
918
+ vt as c
905
919
  };
906
- //# sourceMappingURL=chart-ZMkX-Gqy.js.map
920
+ //# sourceMappingURL=chart-0jK6B2ry.js.map