@alfadocs/ui-kit-debug 1.55.0 → 1.57.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 (448) hide show
  1. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
  2. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js.map → ai-credits-notice-ktklr8fy.js.map} +1 -1
  3. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
  4. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js.map +1 -0
  5. package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
  6. package/dist/_chunks/alia-sidebar-BBKBJCv6.js.map +1 -0
  7. package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js → anamnesis-summary-rows-CCQ62mMN.js} +5 -5
  8. package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js.map → anamnesis-summary-rows-CCQ62mMN.js.map} +1 -1
  9. package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
  10. package/dist/_chunks/{appointment-peek-BIZaDeCi.js.map → appointment-peek-WvNbE4JG.js.map} +1 -1
  11. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
  12. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js.map → appointment-timeline-Z0494xO-.js.map} +1 -1
  13. package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js → balance-badge-cell-CII3SDmR.js} +3 -3
  14. package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js.map → balance-badge-cell-CII3SDmR.js.map} +1 -1
  15. package/dist/_chunks/{bmi-calculator-DTZhRhXe.js → bmi-calculator-C0UTxB7R.js} +2 -2
  16. package/dist/_chunks/{bmi-calculator-DTZhRhXe.js.map → bmi-calculator-C0UTxB7R.js.map} +1 -1
  17. package/dist/_chunks/{booking-uZO10TLK.js → booking-81WnKDsH.js} +4 -4
  18. package/dist/_chunks/{booking-uZO10TLK.js.map → booking-81WnKDsH.js.map} +1 -1
  19. package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
  20. package/dist/_chunks/breadcrumb-Boan-5n8.js.map +1 -0
  21. package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-CzQv03p0.js} +2 -2
  22. package/dist/_chunks/{calculator-dialog-BRjZMWuE.js.map → calculator-dialog-CzQv03p0.js.map} +1 -1
  23. package/dist/_chunks/{calendar-workspace-DVajSkKA.js → calendar-workspace-D5-k_9zE.js} +15 -15
  24. package/dist/_chunks/{calendar-workspace-DVajSkKA.js.map → calendar-workspace-D5-k_9zE.js.map} +1 -1
  25. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
  26. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js.map → care-plan-card-DxrRLRdW.js.map} +1 -1
  27. package/dist/_chunks/{care-plan-header-BeMYMiI7.js → care-plan-header-BMwZIgHJ.js} +3 -3
  28. package/dist/_chunks/{care-plan-header-BeMYMiI7.js.map → care-plan-header-BMwZIgHJ.js.map} +1 -1
  29. package/dist/_chunks/chart-DQ5GxqgT.js +906 -0
  30. package/dist/_chunks/chart-DQ5GxqgT.js.map +1 -0
  31. package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
  32. package/dist/_chunks/{clinical-note-card-14JIoUR0.js.map → clinical-note-card-hx939bvw.js.map} +1 -1
  33. package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
  34. package/dist/_chunks/color-picker-BsggJovx.js.map +1 -0
  35. package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
  36. package/dist/_chunks/{contact-card-CmK05vNb.js.map → contact-card-fHBMwEsx.js.map} +1 -1
  37. package/dist/_chunks/{contact-profile-card-C5DbP_X3.js → contact-profile-card-CMyBYgRR.js} +3 -3
  38. package/dist/_chunks/{contact-profile-card-C5DbP_X3.js.map → contact-profile-card-CMyBYgRR.js.map} +1 -1
  39. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
  40. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js.map → cycle-calculator-Cww9DzIa.js.map} +1 -1
  41. package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
  42. package/dist/_chunks/dashboard-grid-DfEY2qci.js.map +1 -0
  43. package/dist/_chunks/{data-table-C6T31E33.js → data-table-fAMTeAjM.js} +2 -2
  44. package/dist/_chunks/{data-table-C6T31E33.js.map → data-table-fAMTeAjM.js.map} +1 -1
  45. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
  46. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js.map → data-table-tabs-CHYAAeHy.js.map} +1 -1
  47. package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
  48. package/dist/_chunks/date-picker-BSZuKo13.js.map +1 -0
  49. package/dist/_chunks/{date-range-picker-BOvHwWO5.js → date-range-picker-CFk-5O3R.js} +188 -177
  50. package/dist/_chunks/date-range-picker-CFk-5O3R.js.map +1 -0
  51. package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
  52. package/dist/_chunks/date-time-picker-CjxTkblD.js.map +1 -0
  53. package/dist/_chunks/{dependent-selector-Bet3XAFj.js → dependent-selector-DgaAQc-c.js} +91 -86
  54. package/dist/_chunks/dependent-selector-DgaAQc-c.js.map +1 -0
  55. package/dist/_chunks/{dialog-D52AI4nF.js → dialog-Dn-iQ0Jp.js} +86 -69
  56. package/dist/_chunks/dialog-Dn-iQ0Jp.js.map +1 -0
  57. package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
  58. package/dist/_chunks/{document-preview-uoTekVR7.js.map → document-preview-CHGGG0l_.js.map} +1 -1
  59. package/dist/_chunks/{due-date-calculator-DXDJbUzo.js → due-date-calculator-D_qFUiHp.js} +3 -3
  60. package/dist/_chunks/{due-date-calculator-DXDJbUzo.js.map → due-date-calculator-D_qFUiHp.js.map} +1 -1
  61. package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
  62. package/dist/_chunks/{entity-summary-DcB0fIiv.js.map → entity-summary-CWcCSThK.js.map} +1 -1
  63. package/dist/_chunks/{file-manager-dIJQUZvq.js → file-manager-CFsL1KVt.js} +4 -4
  64. package/dist/_chunks/{file-manager-dIJQUZvq.js.map → file-manager-CFsL1KVt.js.map} +1 -1
  65. package/dist/_chunks/{freemium-paywall-B6ojVXq7.js → freemium-paywall-DIKuhX8b.js} +90 -86
  66. package/dist/_chunks/freemium-paywall-DIKuhX8b.js.map +1 -0
  67. package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js → gestational-age-calculator-CZi43xKG.js} +3 -3
  68. package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js.map → gestational-age-calculator-CZi43xKG.js.map} +1 -1
  69. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
  70. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js.map → hcg-doubling-Ccvh7OaU.js.map} +1 -1
  71. package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
  72. package/dist/_chunks/{header-settings-ge_3gYEq.js.map → header-settings-BMcCx2LC.js.map} +1 -1
  73. package/dist/_chunks/{heatmap-BARGZZt2.js → heatmap-BEeOThkW.js} +2 -2
  74. package/dist/_chunks/{heatmap-BARGZZt2.js.map → heatmap-BEeOThkW.js.map} +1 -1
  75. package/dist/_chunks/{help-me-write-templates-B7L3zGsE.js → help-me-write-templates-BUoYGo6f.js} +2 -2
  76. package/dist/_chunks/help-me-write-templates-BUoYGo6f.js.map +1 -0
  77. package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
  78. package/dist/_chunks/hover-card-U_ZYoh1n.js.map +1 -0
  79. package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
  80. package/dist/_chunks/{icon-picker-DWrqmI1c.js.map → icon-picker-C86lQTIA.js.map} +1 -1
  81. package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
  82. package/dist/_chunks/{info-tip-B0jmIt6M.js.map → info-tip-CJpNpzZe.js.map} +1 -1
  83. package/dist/_chunks/{key-value-pair-Ax8IJr1M.js → key-value-pair-BNNITp6S.js} +25 -19
  84. package/dist/_chunks/key-value-pair-BNNITp6S.js.map +1 -0
  85. package/dist/_chunks/{kit-extensions-C9-v8Dih.js → kit-extensions-DYVxWcqv.js} +5 -5
  86. package/dist/_chunks/{kit-extensions-C9-v8Dih.js.map → kit-extensions-DYVxWcqv.js.map} +1 -1
  87. package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js → link-cell-renderer-CxW_oLa5.js} +2 -2
  88. package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js.map → link-cell-renderer-CxW_oLa5.js.map} +1 -1
  89. package/dist/_chunks/link-gRw3NtOt.js +137 -0
  90. package/dist/_chunks/link-gRw3NtOt.js.map +1 -0
  91. package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
  92. package/dist/_chunks/{locale-picker-DfNSdOpy.js.map → locale-picker-BGfrZyTw.js.map} +1 -1
  93. package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
  94. package/dist/_chunks/marketplace-app-shell-BZcA9Z06.js.map +1 -0
  95. package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
  96. package/dist/_chunks/message-tray-QKQutwxj.js.map +1 -0
  97. package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
  98. package/dist/_chunks/{nav-grid-BqCPH8sm.js.map → nav-grid-Byx8PxuB.js.map} +1 -1
  99. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
  100. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js.map +1 -0
  101. package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
  102. package/dist/_chunks/{note-attachment-I1NLoeRZ.js.map → note-attachment-Bt2cddsZ.js.map} +1 -1
  103. package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
  104. package/dist/_chunks/{note-timeline-CsY8YOE7.js.map → note-timeline-CX9nAgAR.js.map} +1 -1
  105. package/dist/_chunks/{notes-panel-I8ntrrUW.js → notes-panel-Cm4pttpl.js} +4 -4
  106. package/dist/_chunks/{notes-panel-I8ntrrUW.js.map → notes-panel-Cm4pttpl.js.map} +1 -1
  107. package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
  108. package/dist/_chunks/notification-tray-C5VtbGjd.js.map +1 -0
  109. package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
  110. package/dist/_chunks/{patient-details-DsTtjpuX.js.map → patient-details-99kEdtc5.js.map} +1 -1
  111. package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
  112. package/dist/_chunks/{patient-field-row-BvZ9luz-.js.map → patient-field-row-DkxY13T6.js.map} +1 -1
  113. package/dist/_chunks/{patient-summary-card-3dspc2tR.js → patient-summary-card-opdyfeW2.js} +10 -6
  114. package/dist/_chunks/{patient-summary-card-3dspc2tR.js.map → patient-summary-card-opdyfeW2.js.map} +1 -1
  115. package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js → payment-automation-upsell-DiHovmUL.js} +2 -2
  116. package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js.map → payment-automation-upsell-DiHovmUL.js.map} +1 -1
  117. package/dist/_chunks/{payment-request-card-DAGqh9Yx.js → payment-request-card-DAniJNLX.js} +3 -3
  118. package/dist/_chunks/{payment-request-card-DAGqh9Yx.js.map → payment-request-card-DAniJNLX.js.map} +1 -1
  119. package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
  120. package/dist/_chunks/pdf-viewer-CNQxa4tv.js.map +1 -0
  121. package/dist/_chunks/{periodontal-chart-BqwLxy2m.js → periodontal-chart-DD5C0M3l.js} +2 -2
  122. package/dist/_chunks/{periodontal-chart-BqwLxy2m.js.map → periodontal-chart-DD5C0M3l.js.map} +1 -1
  123. package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js → periodontal-chart-card-CxdXvsPU.js} +2 -2
  124. package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js.map → periodontal-chart-card-CxdXvsPU.js.map} +1 -1
  125. package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js → periodontal-diagnosis-D-PJv7KS.js} +2 -2
  126. package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js.map → periodontal-diagnosis-D-PJv7KS.js.map} +1 -1
  127. package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
  128. package/dist/_chunks/phone-input-O9camxkq.js.map +1 -0
  129. package/dist/_chunks/popover-BG75rYjN.js +367 -0
  130. package/dist/_chunks/popover-BG75rYjN.js.map +1 -0
  131. package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
  132. package/dist/_chunks/position-grid-CBB88EaH.js.map +1 -0
  133. package/dist/_chunks/{practice-results-DxOgbPDy.js → practice-results-CfRkjzsI.js} +2 -2
  134. package/dist/_chunks/{practice-results-DxOgbPDy.js.map → practice-results-CfRkjzsI.js.map} +1 -1
  135. package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js → pregnancy-dating-BFzv9g1N.js} +3 -3
  136. package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js.map → pregnancy-dating-BFzv9g1N.js.map} +1 -1
  137. package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js → pregnancy-weight-gain-CUUrBTBo.js} +2 -2
  138. package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js.map → pregnancy-weight-gain-CUUrBTBo.js.map} +1 -1
  139. package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
  140. package/dist/_chunks/product-hub-panel-DlVRK7Ue.js.map +1 -0
  141. package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
  142. package/dist/_chunks/{public-footer-CxpG6J1M.js.map → public-footer-ZWTEG1Rq.js.map} +1 -1
  143. package/dist/_chunks/{public-header.agent-BWusjxY8.js → public-header.agent-BctevbuY.js} +2 -2
  144. package/dist/_chunks/{public-header.agent-BWusjxY8.js.map → public-header.agent-BctevbuY.js.map} +1 -1
  145. package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
  146. package/dist/_chunks/radio-group-DicxWJXP.js.map +1 -0
  147. package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
  148. package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js.map → radiograph-panel.agent-DyqbTECc.js.map} +1 -1
  149. package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
  150. package/dist/_chunks/{registration-form-D7iNqMBF.js.map → registration-form-BlTzYywa.js.map} +1 -1
  151. package/dist/_chunks/{rich-text-editor-Blp4smUr.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
  152. package/dist/_chunks/rich-text-editor-DTnNZ4Ff.js.map +1 -0
  153. package/dist/_chunks/{sheet-CNFW8mYZ.js → sheet-8qsiMoUI.js} +95 -79
  154. package/dist/_chunks/sheet-8qsiMoUI.js.map +1 -0
  155. package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
  156. package/dist/_chunks/{sign-document-B6HlyCGV.js.map → sign-document-D4iHS_Ug.js.map} +1 -1
  157. package/dist/_chunks/{signature-request-rgMsgo-C.js → signature-request-DRuYAG5I.js} +2 -2
  158. package/dist/_chunks/{signature-request-rgMsgo-C.js.map → signature-request-DRuYAG5I.js.map} +1 -1
  159. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
  160. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js.map → signed-out-frame-AhMsNW1r.js.map} +1 -1
  161. package/dist/_chunks/{stat-51CDL4au.js → stat-DmjGfXND.js} +117 -108
  162. package/dist/_chunks/stat-DmjGfXND.js.map +1 -0
  163. package/dist/_chunks/{stepper-accordion-D7lnBGh2.js → stepper-accordion-DDTSOUHc.js} +17 -6
  164. package/dist/_chunks/stepper-accordion-DDTSOUHc.js.map +1 -0
  165. package/dist/_chunks/{task-editor-Ctxsa1BY.js → task-editor-NkcopDna.js} +4 -4
  166. package/dist/_chunks/{task-editor-Ctxsa1BY.js.map → task-editor-NkcopDna.js.map} +1 -1
  167. package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
  168. package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js.map → use-appointment-details-read-CfFQNOF_.js.map} +1 -1
  169. package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
  170. package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js.map +1 -0
  171. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
  172. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js.map → voice-control-panel-BKbgb7FM.js.map} +1 -1
  173. package/dist/_chunks/{widget-picker-D8RiWrJd.js → widget-picker-rBA7MR5P.js} +2 -2
  174. package/dist/_chunks/{widget-picker-D8RiWrJd.js.map → widget-picker-rBA7MR5P.js.map} +1 -1
  175. package/dist/_chunks/{workflow-map-D3mezmGB.js → workflow-map-Demlpy39.js} +2 -2
  176. package/dist/_chunks/{workflow-map-D3mezmGB.js.map → workflow-map-Demlpy39.js.map} +1 -1
  177. package/dist/agent-catalog.json +28 -11
  178. package/dist/agent-i18n/en.json +8 -7
  179. package/dist/components/_shared/non-modal-tab-exit.d.ts +19 -0
  180. package/dist/components/_shared/non-modal-tab-exit.d.ts.map +1 -0
  181. package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
  182. package/dist/components/_shared/use-apex-chart-semantics.d.ts.map +1 -0
  183. package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
  184. package/dist/components/_shared/use-select-on-arrow.d.ts.map +1 -0
  185. package/dist/components/ai-credits-notice/index.js +1 -1
  186. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
  187. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts.map +1 -1
  188. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  189. package/dist/components/ai-permission-notice/index.d.ts.map +1 -1
  190. package/dist/components/ai-permission-notice/index.js +1 -1
  191. package/dist/components/appointment-details-panel/index.js +1 -1
  192. package/dist/components/appointment-peek/index.js +1 -1
  193. package/dist/components/appointment-timeline/index.js +1 -1
  194. package/dist/components/bmi-calculator/index.js +1 -1
  195. package/dist/components/booking/index.js +1 -1
  196. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -1
  197. package/dist/components/breadcrumb/index.js +1 -1
  198. package/dist/components/calculator-dialog/index.js +1 -1
  199. package/dist/components/care-plan-card/index.js +1 -1
  200. package/dist/components/care-plan-header/index.js +1 -1
  201. package/dist/components/chart/chart.d.ts +15 -10
  202. package/dist/components/chart/chart.d.ts.map +1 -1
  203. package/dist/components/chart/index.js +1 -1
  204. package/dist/components/clinical-note-card/index.js +1 -1
  205. package/dist/components/color-picker/color-picker.d.ts.map +1 -1
  206. package/dist/components/color-picker/index.js +1 -1
  207. package/dist/components/contact-card/index.js +1 -1
  208. package/dist/components/contact-profile-card/index.js +1 -1
  209. package/dist/components/cycle-calculator/index.js +1 -1
  210. package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts +22 -0
  211. package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts.map +1 -1
  212. package/dist/components/dashboard-grid/dashboard-grid.agent.d.ts.map +1 -1
  213. package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
  214. package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -1
  215. package/dist/components/dashboard-grid/index.js +1 -1
  216. package/dist/components/data-table/index.js +2 -2
  217. package/dist/components/data-table-tabs/index.js +1 -1
  218. package/dist/components/date-picker/date-picker.d.ts.map +1 -1
  219. package/dist/components/date-picker/index.js +1 -1
  220. package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
  221. package/dist/components/date-range-picker/index.js +1 -1
  222. package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
  223. package/dist/components/date-time-picker/index.js +1 -1
  224. package/dist/components/dependent-selector/dependent-selector.d.ts.map +1 -1
  225. package/dist/components/dependent-selector/index.js +1 -1
  226. package/dist/components/dialog/dialog.d.ts +2 -2
  227. package/dist/components/dialog/dialog.d.ts.map +1 -1
  228. package/dist/components/dialog/index.js +1 -1
  229. package/dist/components/document-preview/index.js +1 -1
  230. package/dist/components/due-date-calculator/index.js +1 -1
  231. package/dist/components/entity-summary/index.js +1 -1
  232. package/dist/components/file-manager/index.js +1 -1
  233. package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -1
  234. package/dist/components/freemium-paywall/index.js +1 -1
  235. package/dist/components/gestational-age-calculator/index.js +1 -1
  236. package/dist/components/hcg-doubling/index.js +1 -1
  237. package/dist/components/header-settings/index.js +1 -1
  238. package/dist/components/heatmap/index.js +1 -1
  239. package/dist/components/hover-card/hover-card.d.ts.map +1 -1
  240. package/dist/components/hover-card/index.js +1 -1
  241. package/dist/components/icon-picker/index.js +1 -1
  242. package/dist/components/info-tip/index.js +1 -1
  243. package/dist/components/key-value-pair/index.js +1 -1
  244. package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -1
  245. package/dist/components/link/index.js +1 -1
  246. package/dist/components/link/link.d.ts +5 -3
  247. package/dist/components/link/link.d.ts.map +1 -1
  248. package/dist/components/locale-picker/index.js +1 -1
  249. package/dist/components/message-tray/index.js +1 -1
  250. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  251. package/dist/components/nav-grid/index.js +1 -1
  252. package/dist/components/note-timeline/index.js +1 -1
  253. package/dist/components/notes-panel/index.js +1 -1
  254. package/dist/components/notification-tray/index.js +1 -1
  255. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  256. package/dist/components/patient-details/index.js +1 -1
  257. package/dist/components/patient-summary-card/index.js +1 -1
  258. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
  259. package/dist/components/patient-table/index.js +1 -1
  260. package/dist/components/payment-card/index.js +1 -1
  261. package/dist/components/pdf-viewer/index.js +1 -1
  262. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  263. package/dist/components/periodontal-chart/index.js +1 -1
  264. package/dist/components/periodontal-chart-card/index.js +1 -1
  265. package/dist/components/periodontal-diagnosis/index.js +1 -1
  266. package/dist/components/phone-input/index.js +1 -1
  267. package/dist/components/phone-input/phone-input.d.ts.map +1 -1
  268. package/dist/components/popover/index.js +1 -1
  269. package/dist/components/popover/popover.d.ts +1 -1
  270. package/dist/components/popover/popover.d.ts.map +1 -1
  271. package/dist/components/position-grid/index.js +1 -1
  272. package/dist/components/position-grid/position-grid.d.ts.map +1 -1
  273. package/dist/components/practice-results/index.js +1 -1
  274. package/dist/components/pregnancy-dating/index.js +1 -1
  275. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  276. package/dist/components/product-hub-tray/index.js +1 -1
  277. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
  278. package/dist/components/public-footer/index.js +1 -1
  279. package/dist/components/public-header/index.js +1 -1
  280. package/dist/components/radio-group/index.js +1 -1
  281. package/dist/components/radio-group/radio-group.d.ts.map +1 -1
  282. package/dist/components/radiograph-panel/index.js +1 -1
  283. package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
  284. package/dist/components/rich-text-editor/index.js +2 -2
  285. package/dist/components/sheet/index.js +1 -1
  286. package/dist/components/sheet/sheet.d.ts +2 -2
  287. package/dist/components/sheet/sheet.d.ts.map +1 -1
  288. package/dist/components/sign-document/index.js +1 -1
  289. package/dist/components/stat/index.d.ts +1 -1
  290. package/dist/components/stat/index.d.ts.map +1 -1
  291. package/dist/components/stat/index.js +1 -1
  292. package/dist/components/stat/stat.d.ts +9 -0
  293. package/dist/components/stat/stat.d.ts.map +1 -1
  294. package/dist/components/stepper-accordion/index.js +1 -1
  295. package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -1
  296. package/dist/components/task-editor/index.js +1 -1
  297. package/dist/components/voice-control-panel/index.js +1 -1
  298. package/dist/components/widget-picker/index.js +1 -1
  299. package/dist/components/workflow/index.js +1 -1
  300. package/dist/host-legacy.css +13 -2
  301. package/dist/i18n/locales/ar.d.ts +17 -2
  302. package/dist/i18n/locales/ar.d.ts.map +1 -1
  303. package/dist/i18n/locales/ar.js +20 -5
  304. package/dist/i18n/locales/ar.js.map +1 -1
  305. package/dist/i18n/locales/de.d.ts +17 -2
  306. package/dist/i18n/locales/de.d.ts.map +1 -1
  307. package/dist/i18n/locales/de.js +20 -5
  308. package/dist/i18n/locales/de.js.map +1 -1
  309. package/dist/i18n/locales/el.d.ts +17 -2
  310. package/dist/i18n/locales/el.d.ts.map +1 -1
  311. package/dist/i18n/locales/el.js +20 -5
  312. package/dist/i18n/locales/el.js.map +1 -1
  313. package/dist/i18n/locales/en.d.ts +17 -2
  314. package/dist/i18n/locales/en.d.ts.map +1 -1
  315. package/dist/i18n/locales/en.js +20 -5
  316. package/dist/i18n/locales/en.js.map +1 -1
  317. package/dist/i18n/locales/es.d.ts +17 -2
  318. package/dist/i18n/locales/es.d.ts.map +1 -1
  319. package/dist/i18n/locales/es.js +20 -5
  320. package/dist/i18n/locales/es.js.map +1 -1
  321. package/dist/i18n/locales/fr.d.ts +17 -2
  322. package/dist/i18n/locales/fr.d.ts.map +1 -1
  323. package/dist/i18n/locales/fr.js +20 -5
  324. package/dist/i18n/locales/fr.js.map +1 -1
  325. package/dist/i18n/locales/hi.d.ts +17 -2
  326. package/dist/i18n/locales/hi.d.ts.map +1 -1
  327. package/dist/i18n/locales/hi.js +20 -5
  328. package/dist/i18n/locales/hi.js.map +1 -1
  329. package/dist/i18n/locales/it.d.ts +17 -2
  330. package/dist/i18n/locales/it.d.ts.map +1 -1
  331. package/dist/i18n/locales/it.js +20 -5
  332. package/dist/i18n/locales/it.js.map +1 -1
  333. package/dist/i18n/locales/ja.d.ts +17 -2
  334. package/dist/i18n/locales/ja.d.ts.map +1 -1
  335. package/dist/i18n/locales/ja.js +20 -5
  336. package/dist/i18n/locales/ja.js.map +1 -1
  337. package/dist/i18n/locales/nl.d.ts +17 -2
  338. package/dist/i18n/locales/nl.d.ts.map +1 -1
  339. package/dist/i18n/locales/nl.js +20 -5
  340. package/dist/i18n/locales/nl.js.map +1 -1
  341. package/dist/i18n/locales/pl.d.ts +17 -2
  342. package/dist/i18n/locales/pl.d.ts.map +1 -1
  343. package/dist/i18n/locales/pl.js +20 -5
  344. package/dist/i18n/locales/pl.js.map +1 -1
  345. package/dist/i18n/locales/pt.d.ts +17 -2
  346. package/dist/i18n/locales/pt.d.ts.map +1 -1
  347. package/dist/i18n/locales/pt.js +20 -5
  348. package/dist/i18n/locales/pt.js.map +1 -1
  349. package/dist/i18n/locales/ro.d.ts +17 -2
  350. package/dist/i18n/locales/ro.d.ts.map +1 -1
  351. package/dist/i18n/locales/ro.js +20 -5
  352. package/dist/i18n/locales/ro.js.map +1 -1
  353. package/dist/i18n/locales/ru.d.ts +17 -2
  354. package/dist/i18n/locales/ru.d.ts.map +1 -1
  355. package/dist/i18n/locales/ru.js +20 -5
  356. package/dist/i18n/locales/ru.js.map +1 -1
  357. package/dist/i18n/locales/sq.d.ts +17 -2
  358. package/dist/i18n/locales/sq.d.ts.map +1 -1
  359. package/dist/i18n/locales/sq.js +20 -5
  360. package/dist/i18n/locales/sq.js.map +1 -1
  361. package/dist/i18n/locales/sv.d.ts +17 -2
  362. package/dist/i18n/locales/sv.d.ts.map +1 -1
  363. package/dist/i18n/locales/sv.js +20 -5
  364. package/dist/i18n/locales/sv.js.map +1 -1
  365. package/dist/i18n/locales/tr.d.ts +17 -2
  366. package/dist/i18n/locales/tr.d.ts.map +1 -1
  367. package/dist/i18n/locales/tr.js +20 -5
  368. package/dist/i18n/locales/tr.js.map +1 -1
  369. package/dist/i18n/locales/zh.d.ts +17 -2
  370. package/dist/i18n/locales/zh.d.ts.map +1 -1
  371. package/dist/i18n/locales/zh.js +20 -5
  372. package/dist/i18n/locales/zh.js.map +1 -1
  373. package/dist/index.js +207 -206
  374. package/dist/locales/ar.json +20 -5
  375. package/dist/locales/de.json +20 -5
  376. package/dist/locales/el.json +20 -5
  377. package/dist/locales/en.json +20 -5
  378. package/dist/locales/es.json +20 -5
  379. package/dist/locales/fr.json +20 -5
  380. package/dist/locales/hi.json +20 -5
  381. package/dist/locales/it.json +20 -5
  382. package/dist/locales/ja.json +20 -5
  383. package/dist/locales/nl.json +20 -5
  384. package/dist/locales/pl.json +20 -5
  385. package/dist/locales/pt.json +20 -5
  386. package/dist/locales/ro.json +20 -5
  387. package/dist/locales/ru.json +20 -5
  388. package/dist/locales/sq.json +20 -5
  389. package/dist/locales/sv.json +20 -5
  390. package/dist/locales/tr.json +20 -5
  391. package/dist/locales/zh.json +20 -5
  392. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
  393. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -1
  394. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  395. package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
  396. package/dist/patterns/alia-assistant/alia-popout.d.ts.map +1 -1
  397. package/dist/patterns/alia-assistant/index.d.ts +2 -0
  398. package/dist/patterns/alia-assistant/index.d.ts.map +1 -1
  399. package/dist/patterns/alia-assistant/index.js +6 -5
  400. package/dist/patterns/anamnesis/index.js +1 -1
  401. package/dist/patterns/calendar/index.js +1 -1
  402. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
  403. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts.map +1 -1
  404. package/dist/patterns/help-me-write-templates/index.js +1 -1
  405. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  406. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +7 -2
  407. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
  408. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  409. package/dist/patterns/registration-form/index.js +1 -1
  410. package/dist/patterns/signature-request/index.js +1 -1
  411. package/dist/patterns/signed-out-frame/index.js +1 -1
  412. package/dist/tokens.css +13 -2
  413. package/package.json +1 -1
  414. package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
  415. package/dist/_chunks/ai-permission-notice-5vpblPCx.js.map +0 -1
  416. package/dist/_chunks/alia-sidebar-DS0b54Mv.js +0 -1183
  417. package/dist/_chunks/alia-sidebar-DS0b54Mv.js.map +0 -1
  418. package/dist/_chunks/breadcrumb-xgVpPH2H.js.map +0 -1
  419. package/dist/_chunks/chart-C2RBJERE.js +0 -705
  420. package/dist/_chunks/chart-C2RBJERE.js.map +0 -1
  421. package/dist/_chunks/color-picker-BRQ4Y9SO.js.map +0 -1
  422. package/dist/_chunks/dashboard-grid-SAGoyCtL.js +0 -691
  423. package/dist/_chunks/dashboard-grid-SAGoyCtL.js.map +0 -1
  424. package/dist/_chunks/date-picker-wRAcq2lt.js.map +0 -1
  425. package/dist/_chunks/date-range-picker-BOvHwWO5.js.map +0 -1
  426. package/dist/_chunks/date-time-picker-CLeLKuv9.js.map +0 -1
  427. package/dist/_chunks/dependent-selector-Bet3XAFj.js.map +0 -1
  428. package/dist/_chunks/dialog-D52AI4nF.js.map +0 -1
  429. package/dist/_chunks/freemium-paywall-B6ojVXq7.js.map +0 -1
  430. package/dist/_chunks/help-me-write-templates-B7L3zGsE.js.map +0 -1
  431. package/dist/_chunks/hover-card-BnTueNS2.js.map +0 -1
  432. package/dist/_chunks/key-value-pair-Ax8IJr1M.js.map +0 -1
  433. package/dist/_chunks/link-2HokYuIi.js +0 -130
  434. package/dist/_chunks/link-2HokYuIi.js.map +0 -1
  435. package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js.map +0 -1
  436. package/dist/_chunks/message-tray-BB95DA82.js.map +0 -1
  437. package/dist/_chunks/notification-tray-__sJXnsz.js.map +0 -1
  438. package/dist/_chunks/pdf-viewer-C3minW5b.js.map +0 -1
  439. package/dist/_chunks/phone-input-DxkHMYmu.js.map +0 -1
  440. package/dist/_chunks/popover-BI3oV3eY.js +0 -305
  441. package/dist/_chunks/popover-BI3oV3eY.js.map +0 -1
  442. package/dist/_chunks/position-grid-D2D5_Tze.js.map +0 -1
  443. package/dist/_chunks/product-hub-panel-BSSiGGG4.js.map +0 -1
  444. package/dist/_chunks/radio-group-BT97ty7o.js.map +0 -1
  445. package/dist/_chunks/rich-text-editor-Blp4smUr.js.map +0 -1
  446. package/dist/_chunks/sheet-CNFW8mYZ.js.map +0 -1
  447. package/dist/_chunks/stat-51CDL4au.js.map +0 -1
  448. package/dist/_chunks/stepper-accordion-D7lnBGh2.js.map +0 -1
@@ -0,0 +1,906 @@
1
+ import { jsxs as Y, jsx as v } 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";
13
+ import { c as Z } from "./createLucideIcon-DhHxpK9K.js";
14
+ /**
15
+ * @license lucide-react v1.22.0 - ISC
16
+ *
17
+ * This source code is licensed under the ISC license.
18
+ * See the LICENSE file in the root directory of this source tree.
19
+ */
20
+ const ot = [
21
+ ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
22
+ [
23
+ "path",
24
+ {
25
+ d: "M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z",
26
+ key: "q0gr47"
27
+ }
28
+ ]
29
+ ], st = Z("chart-area", ot);
30
+ /**
31
+ * @license lucide-react v1.22.0 - ISC
32
+ *
33
+ * This source code is licensed under the ISC license.
34
+ * See the LICENSE file in the root directory of this source tree.
35
+ */
36
+ const it = [
37
+ ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
38
+ ["path", { d: "M18 17V9", key: "2bz60n" }],
39
+ ["path", { d: "M13 17V5", key: "1frdt8" }],
40
+ ["path", { d: "M8 17v-3", key: "17ska0" }]
41
+ ], ct = Z("chart-column", it);
42
+ /**
43
+ * @license lucide-react v1.22.0 - ISC
44
+ *
45
+ * This source code is licensed under the ISC license.
46
+ * See the LICENSE file in the root directory of this source tree.
47
+ */
48
+ const lt = [
49
+ ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
50
+ ["path", { d: "m19 9-5 5-4-4-3 3", key: "2osh9i" }]
51
+ ], dt = Z("chart-line", lt);
52
+ /**
53
+ * @license lucide-react v1.22.0 - ISC
54
+ *
55
+ * This source code is licensed under the ISC license.
56
+ * See the LICENSE file in the root directory of this source tree.
57
+ */
58
+ const pt = [
59
+ [
60
+ "path",
61
+ {
62
+ d: "M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",
63
+ key: "pzmjnu"
64
+ }
65
+ ],
66
+ ["path", { d: "M21.21 15.89A10 10 0 1 1 8 2.83", key: "k2fpak" }]
67
+ ], ut = Z("chart-pie", pt);
68
+ /**
69
+ * @license lucide-react v1.22.0 - ISC
70
+ *
71
+ * This source code is licensed under the ISC license.
72
+ * See the LICENSE file in the root directory of this source tree.
73
+ */
74
+ const ht = [
75
+ [
76
+ "path",
77
+ {
78
+ d: "M20.5 10a2.5 2.5 0 0 1-2.4-3H18a2.95 2.95 0 0 1-2.6-4.4 10 10 0 1 0 6.3 7.1c-.3.2-.8.3-1.2.3",
79
+ key: "19sr3x"
80
+ }
81
+ ],
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));
86
+ }
87
+ function bt(e, s) {
88
+ le(() => {
89
+ if (!e) return;
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");
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"),
100
+ "inert",
101
+ h ? null : ""
102
+ );
103
+ }), e.querySelectorAll(
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);
109
+ });
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(() => {
115
+ var l;
116
+ const L = document.activeElement;
117
+ L && L !== document.body || (l = e.querySelector(
118
+ `.apexcharts-legend-series[rel="${CSS.escape(m)}"]`
119
+ )) == null || l.focus();
120
+ }));
121
+ };
122
+ t();
123
+ const c = new MutationObserver(t);
124
+ return c.observe(e, {
125
+ childList: !0,
126
+ subtree: !0,
127
+ attributes: !0,
128
+ attributeFilter: [
129
+ "aria-hidden",
130
+ "aria-label",
131
+ "aria-pressed",
132
+ "aria-expanded"
133
+ ]
134
+ }), e.addEventListener("click", d), () => {
135
+ c.disconnect(), e.removeEventListener("click", d), cancelAnimationFrame(i);
136
+ };
137
+ }, [e, s]);
138
+ }
139
+ const yt = {
140
+ id: "chart",
141
+ // view_change backs the opt-in type switcher (`switchableTypes` prop):
142
+ // the same chart re-presented as line / bar / area / pie / donut.
143
+ capabilities: ["view_change"],
144
+ state: {
145
+ declaredType: {
146
+ type: "'line' | 'bar' | 'pie' | 'donut' | 'area' | 'radialBar'",
147
+ descriptionKey: "ui.agent.chart.state.declaredType",
148
+ description: "The consumer-declared chart type — the shape `update_series` expects.",
149
+ read: (e) => e.getTypeState().declaredType
150
+ },
151
+ effectiveType: {
152
+ type: "'line' | 'bar' | 'pie' | 'donut' | 'area' | 'radialBar'",
153
+ descriptionKey: "ui.agent.chart.state.effectiveType",
154
+ description: "The type currently rendered — differs from declaredType after a type-switcher pick.",
155
+ read: (e) => e.getTypeState().effectiveType
156
+ },
157
+ availableTypes: {
158
+ type: "ChartType[]",
159
+ descriptionKey: "ui.agent.chart.state.availableTypes",
160
+ description: "Types the switcher offers. Empty when the chart has no type switcher.",
161
+ read: (e) => e.getTypeState().availableTypes
162
+ }
163
+ },
164
+ actions: {
165
+ change_view: {
166
+ // Switching the presentation is a write (it changes what the user
167
+ // sees) but is trivially reversible by switching back.
168
+ safety: "write",
169
+ argsType: "type",
170
+ argsSchema: {
171
+ type: "object",
172
+ properties: {
173
+ type: {
174
+ type: "string",
175
+ enum: ["line", "bar", "area", "pie", "donut"],
176
+ description: "The chart type to render."
177
+ }
178
+ },
179
+ required: ["type"]
180
+ },
181
+ returns: "boolean (accepted)",
182
+ returnsSchema: {
183
+ type: "boolean",
184
+ description: "True when the switch was applied; false when the chart has no type switcher or the type is not offered (check availableTypes first)."
185
+ },
186
+ idempotent: !0,
187
+ descriptionKey: "ui.agent.chart.actions.changeView",
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)
190
+ },
191
+ update_series: {
192
+ // Replacing the rendered series mutates what the chart displays — it
193
+ // is a write, reversible by pushing the prior series back.
194
+ safety: "write",
195
+ argsType: "series",
196
+ // `series` is `ChartSeries[]` (line/bar/area) OR `number[]`
197
+ // (pie/donut/radialBar). Both shapes are accepted; the handle routes
198
+ // by chart type internally.
199
+ argsSchema: {
200
+ type: "object",
201
+ properties: {
202
+ series: {
203
+ oneOf: [
204
+ {
205
+ type: "array",
206
+ description: "Categorical series for line / bar / area charts.",
207
+ items: {
208
+ type: "object",
209
+ properties: {
210
+ name: { type: "string" },
211
+ data: { type: "array", items: { type: "number" } },
212
+ role: {
213
+ type: "string",
214
+ enum: ["primary", "compare"],
215
+ description: "Optional. 'compare' renders this series as a secondary, colour-blind-safe overlay (e.g. the previous period) — a dotted stroke in its paired primary's colour for line/area, a tinted bar with a dotted outline for bar. Omit for a normal primary series."
216
+ }
217
+ },
218
+ required: ["name", "data"]
219
+ }
220
+ },
221
+ {
222
+ type: "array",
223
+ description: "Flat values for pie / donut / radialBar charts.",
224
+ items: { type: "number" }
225
+ }
226
+ ]
227
+ }
228
+ },
229
+ required: ["series"]
230
+ },
231
+ idempotent: !0,
232
+ descriptionKey: "ui.agent.chart.actions.updateSeries",
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);
236
+ }
237
+ },
238
+ export_png: {
239
+ safety: "read",
240
+ returns: "string (PNG data URI)",
241
+ returnsSchema: {
242
+ type: "string",
243
+ description: "A `data:image/png;base64,…` URI of the rendered chart."
244
+ },
245
+ idempotent: !0,
246
+ descriptionKey: "ui.agent.chart.actions.exportPng",
247
+ description: "Return a PNG data URI of the chart for export or screenshotting. Waits until series pushed with update_series are drawn.",
248
+ invoke: (e) => e.dataURI()
249
+ }
250
+ },
251
+ domHooks: {
252
+ root: { attr: "data-component", value: "chart" },
253
+ instanceId: {
254
+ attr: "data-component-id",
255
+ sourceProp: "id",
256
+ description: "Sourced from the id prop."
257
+ }
258
+ }
259
+ }, gt = Ye(
260
+ "ds:relative ds:block ds:w-full apex-theme-alfadocs",
261
+ {
262
+ variants: {
263
+ density: {
264
+ compact: "ds:min-h-[var(--chart-min-height-compact)]",
265
+ comfortable: "ds:min-h-[var(--chart-min-height-comfortable)]",
266
+ // Applied when an explicit `height` prop is given and no density was
267
+ // requested: the wrapper must not exceed the caller's height (a 96px
268
+ // KPI chart inside a card must not reserve 320px).
269
+ none: ""
270
+ }
271
+ },
272
+ defaultVariants: { density: "comfortable" }
273
+ }
274
+ ), vt = [
275
+ "verticalLines",
276
+ "horizontalLines",
277
+ "slantedLines",
278
+ "squares",
279
+ "circles"
280
+ ], wt = ["line", "bar", "area"], xt = ["pie", "donut", "radialBar"], Ne = [
281
+ "line",
282
+ "bar",
283
+ "area",
284
+ "pie",
285
+ "donut"
286
+ ], St = {
287
+ line: "chart.typeSwitcher.line",
288
+ bar: "chart.typeSwitcher.bar",
289
+ area: "chart.typeSwitcher.area",
290
+ pie: "chart.typeSwitcher.pie",
291
+ donut: "chart.typeSwitcher.donut"
292
+ }, At = {
293
+ line: /* @__PURE__ */ v(dt, {}),
294
+ bar: /* @__PURE__ */ v(ct, {}),
295
+ area: /* @__PURE__ */ v(st, {}),
296
+ pie: /* @__PURE__ */ v(ut, {}),
297
+ donut: /* @__PURE__ */ v(mt, {})
298
+ }, Tt = 2, ze = "0 6", Ct = 5;
299
+ function Et(e, s) {
300
+ !e || s.length === 0 || e.querySelectorAll(
301
+ ".apexcharts-bar-series > .apexcharts-series"
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(
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");
312
+ }
313
+ );
314
+ });
315
+ }
316
+ function Be(e) {
317
+ const s = getComputedStyle(e), t = (i) => Number.parseFloat(s.getPropertyValue(i)) || 0;
318
+ return t("--min-target-size") + t("--focus-ring-offset") + t("--focus-ring-width");
319
+ }
320
+ function Me(e, s, t, i, d, c) {
321
+ if (i === d)
322
+ return {
323
+ effectiveSeries: e,
324
+ effectiveCategories: s,
325
+ effectiveLabels: t
326
+ };
327
+ if (!i) {
328
+ const m = e.filter((l) => l.role !== "compare");
329
+ return {
330
+ effectiveSeries: m.map((l) => l.data.reduce((T, $) => T + $, 0)),
331
+ effectiveCategories: void 0,
332
+ effectiveLabels: m.map((l) => l.name)
333
+ };
334
+ }
335
+ return {
336
+ effectiveSeries: [{ name: c, data: e }],
337
+ effectiveCategories: t ?? [],
338
+ effectiveLabels: void 0
339
+ };
340
+ }
341
+ function Pe({
342
+ themeOptions: e,
343
+ toolbarBand: s,
344
+ chartId: t,
345
+ toolbar: i,
346
+ reducedMotion: d,
347
+ toolbarLocale: c,
348
+ locale: p,
349
+ effectiveLabels: h,
350
+ formatValue: m,
351
+ noDataText: L,
352
+ effectiveType: l,
353
+ effectiveSeries: T,
354
+ effectiveCategories: $,
355
+ isRtl: _,
356
+ patterns: pe,
357
+ stacked: N,
358
+ orientation: q,
359
+ curve: H,
360
+ colors: B,
361
+ radialValueFormatter: X,
362
+ wrapperRef: J
363
+ }) {
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,
369
+ chart: {
370
+ ...S.chart,
371
+ id: t,
372
+ toolbar: { show: i },
373
+ zoom: { enabled: i },
374
+ animations: {
375
+ enabled: !d,
376
+ dynamicAnimation: { enabled: !d }
377
+ },
378
+ locales: [c],
379
+ defaultLocale: p,
380
+ parentHeightOffset: 0,
381
+ // Keep the keyboard-operable legend; drop Apex's data-point navigation
382
+ // and live announcements (English-only, and the summary table covers them).
383
+ accessibility: {
384
+ enabled: !0,
385
+ announcements: { enabled: !1 },
386
+ keyboard: { enabled: !0, navigation: { enabled: !1 } }
387
+ },
388
+ // Stacking is axis-only, so a slice or radial chart never receives it.
389
+ // Sent as false too: ApexCharts merges an update into its config, so
390
+ // leaving it out would keep an earlier `true`.
391
+ ...de(l) ? { stacked: N } : {}
392
+ },
393
+ // Only set `labels` when the effective type actually has them (slice
394
+ // charts). Emitting `labels: undefined` crashes ApexCharts' bar
395
+ // renderer — `parseDataAxisCharts` reads `labels.length` and throws
396
+ // "Cannot read properties of undefined (reading 'length')", which
397
+ // aborts the render and leaves a blank chart. Absent is safe; area /
398
+ // line tolerate the undefined but bar does not, so never pass it.
399
+ ...h ? { labels: h } : {},
400
+ legend: {
401
+ ...S.legend,
402
+ position: "bottom",
403
+ // ApexCharts legend.horizontalAlign is a physical prop mapped internally
404
+ // to the chart's own text flow. For RTL we flip via `yaxis.opposite`
405
+ // and ApexCharts' own `direction: 'rtl'` handling; legend stays anchored
406
+ // to the inline-start by asking for 'left' on LTR and 'right' on RTL.
407
+ horizontalAlign: _ ? "right" : "left",
408
+ fontFamily: "inherit",
409
+ // apexcharts-theme.css sizes the legend hit areas and ring room from
410
+ // this 4px; pinned so an ApexCharts default change cannot break them.
411
+ itemMargin: { horizontal: 5, vertical: 4 }
412
+ },
413
+ tooltip: {
414
+ ...S.tooltip,
415
+ y: {
416
+ formatter: (n) => m(n)
417
+ }
418
+ },
419
+ noData: {
420
+ text: L
421
+ }
422
+ };
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
+ });
431
+ const E = a.colors.map(
432
+ (f, k) => o[k] ? Qe(f) : f
433
+ );
434
+ a.legend = {
435
+ ...a.legend,
436
+ markers: {
437
+ ...((Q = a.legend) == null ? void 0 : Q.markers) ?? {},
438
+ fillColors: E
439
+ }
440
+ };
441
+ }
442
+ if (de(l)) {
443
+ const n = l === "bar" && q === "horizontal";
444
+ a.xaxis = {
445
+ ...S.xaxis,
446
+ categories: $ ?? [],
447
+ labels: {
448
+ ...(ee = S.xaxis) == null ? void 0 : ee.labels,
449
+ formatter: n ? (u) => m(Number(u)) : void 0
450
+ }
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 ? {
459
+ lineCap: "round",
460
+ // Runtime accepts a string dash; the published types say
461
+ // `number` → one documented cast. `'0 6'` + round cap ⇒ dots.
462
+ dashArray: o.map(
463
+ (u) => u ? ze : 0
464
+ )
465
+ } : {}
466
+ }, a.dataLabels = { enabled: !1 };
467
+ }
468
+ if (l === "radialBar" && X) {
469
+ const n = S.plotOptions ?? {};
470
+ a.plotOptions = {
471
+ ...n,
472
+ radialBar: {
473
+ ...n.radialBar ?? {},
474
+ dataLabels: {
475
+ ...((G = n.radialBar) == null ? void 0 : G.dataLabels) ?? {},
476
+ value: {
477
+ ...((te = (K = n.radialBar) == null ? void 0 : K.dataLabels) == null ? void 0 : te.value) ?? {},
478
+ formatter: (u) => X(Number(u))
479
+ }
480
+ }
481
+ }
482
+ };
483
+ }
484
+ if (l === "bar") {
485
+ const n = S.plotOptions ?? {};
486
+ a.plotOptions = {
487
+ ...n,
488
+ bar: {
489
+ ...n.bar ?? {},
490
+ horizontal: q === "horizontal"
491
+ }
492
+ };
493
+ }
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
498
+ ) : l === "area" ? 0.3 : 1,
499
+ pattern: {
500
+ style: [...vt],
501
+ strokeWidth: 2
502
+ }
503
+ } : F ? a.fill = {
504
+ type: "solid",
505
+ opacity: o.map((n) => n ? D : 1)
506
+ } : l === "area" && (a.fill = C ? {
507
+ type: "gradient",
508
+ opacity: o.map((n) => n ? D : 0.3)
509
+ } : {
510
+ type: "gradient",
511
+ 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,
516
+ events: {
517
+ ...((I = a.chart) == null ? void 0 : I.events) ?? {},
518
+ mounted: () => R(),
519
+ updated: () => R(),
520
+ animationEnd: () => u()
521
+ }
522
+ };
523
+ }
524
+ return kt(a, l);
525
+ }
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;
530
+ return {
531
+ ...e,
532
+ colors: e.colors,
533
+ chart: {
534
+ ...e.chart,
535
+ events: {
536
+ ...t,
537
+ mounted: t == null ? void 0 : t.mounted,
538
+ updated: t == null ? void 0 : t.updated,
539
+ animationEnd: t == null ? void 0 : t.animationEnd
540
+ }
541
+ },
542
+ stroke: {
543
+ ...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
546
+ },
547
+ legend: {
548
+ ...e.legend,
549
+ 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
552
+ }
553
+ },
554
+ fill: e.fill ?? { type: "solid", opacity: 0.85 }
555
+ };
556
+ }
557
+ function V(e) {
558
+ return xt.includes(e);
559
+ }
560
+ function de(e) {
561
+ return wt.includes(e);
562
+ }
563
+ function It(e, s) {
564
+ return V(s) ? [
565
+ {
566
+ name: "",
567
+ data: e
568
+ }
569
+ ] : e;
570
+ }
571
+ const Rt = Ge(
572
+ ({
573
+ title: e,
574
+ id: s,
575
+ type: t,
576
+ series: i,
577
+ categories: d,
578
+ labels: c,
579
+ height: p,
580
+ width: h,
581
+ patterns: m = !1,
582
+ stacked: L = !1,
583
+ 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,
592
+ density: X,
593
+ 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),
600
+ []
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(() => {
604
+ try {
605
+ return _e();
606
+ } catch {
607
+ return {};
608
+ }
609
+ });
610
+ le(() => {
611
+ if (typeof document > "u") return;
612
+ let r;
613
+ const y = new MutationObserver(() => {
614
+ clearTimeout(r), r = setTimeout(() => {
615
+ try {
616
+ u(_e());
617
+ } catch {
618
+ }
619
+ }, 50);
620
+ });
621
+ return y.observe(document.documentElement, {
622
+ attributes: !0,
623
+ attributeFilter: ["class"]
624
+ }), () => {
625
+ clearTimeout(r), y.disconnect();
626
+ };
627
+ }, []);
628
+ const [R, M] = z(
629
+ () => typeof document > "u" ? 0 : Be(document.documentElement)
630
+ );
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)
637
+ );
638
+ };
639
+ y();
640
+ const g = new MutationObserver(y);
641
+ for (let w = a.parentElement; w; w = w.parentElement)
642
+ g.observe(w, { attributes: !0, attributeFilter: ["class"] });
643
+ const A = new MutationObserver((w) => {
644
+ w.flatMap((U) => [...U.addedNodes]).some(
645
+ (U) => U instanceof Element && (U.matches(".apexcharts-toolbar") || U.querySelector(".apexcharts-toolbar"))
646
+ ) && y();
647
+ });
648
+ return A.observe(a, { childList: !0, subtree: !0 }), () => {
649
+ r.disconnect(), g.disconnect(), A.disconnect();
650
+ };
651
+ }, [a, _]), le(() => {
652
+ const r = a;
653
+ if (!r || typeof ResizeObserver > "u") return;
654
+ const y = new ResizeObserver((g) => {
655
+ const A = g[0];
656
+ A && te(Math.floor(A.contentRect.width));
657
+ });
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
+ (g) => Ne.includes(g)
664
+ );
665
+ if (!Ne.includes(t))
666
+ 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"
673
+ );
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(
680
+ ye,
681
+ d,
682
+ c,
683
+ ue,
684
+ he,
685
+ o("chart.table.value")
686
+ ),
687
+ [ye, d, c, ue, he, o]
688
+ ), ve = (r) => Me(
689
+ r,
690
+ d,
691
+ c,
692
+ ue,
693
+ he,
694
+ o("chart.table.value")
695
+ ), we = j(ve);
696
+ we.current = ve;
697
+ const xe = j(Promise.resolve()), me = x(
698
+ () => ({
699
+ async dataURI() {
700
+ await xe.current;
701
+ const r = Oe.getChartByID(O);
702
+ return r ? (await r.dataURI()).imgURI : "";
703
+ },
704
+ updateSeries(r) {
705
+ fe({ base: ge.current, next: r });
706
+ const y = Oe.getChartByID(O);
707
+ if (!y) return;
708
+ const g = we.current(r), A = { ...Ie.current, ...g };
709
+ xe.current = y.updateOptions(
710
+ { ...Pe(A), series: g.effectiveSeries },
711
+ !1,
712
+ !0
713
+ ).catch(() => {
714
+ });
715
+ },
716
+ setType(r) {
717
+ return !f || !E.includes(r) ? !1 : (re(r), !0);
718
+ },
719
+ getTypeState() {
720
+ return {
721
+ declaredType: t,
722
+ effectiveType: b,
723
+ availableTypes: f ? [...E] : []
724
+ };
725
+ }
726
+ }),
727
+ [O, t, b, f, E]
728
+ );
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(
740
+ () => ({
741
+ name: I,
742
+ options: {
743
+ toolbar: {
744
+ download: o("chart.toolbar.download"),
745
+ // 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")
756
+ }
757
+ }
758
+ }),
759
+ [I, o]
760
+ ), Ee = et(), ke = o("chart.noData"), ie = x(
761
+ () => ({
762
+ themeOptions: n,
763
+ toolbarBand: R,
764
+ chartId: O,
765
+ toolbar: _,
766
+ reducedMotion: Ee,
767
+ toolbarLocale: Ce,
768
+ locale: I,
769
+ effectiveLabels: oe,
770
+ formatValue: se,
771
+ noDataText: ke,
772
+ effectiveType: b,
773
+ effectiveSeries: P,
774
+ effectiveCategories: ne,
775
+ isRtl: Se,
776
+ patterns: m,
777
+ stacked: L,
778
+ orientation: l,
779
+ curve: T,
780
+ colors: $,
781
+ radialValueFormatter: N,
782
+ wrapperRef: D
783
+ }),
784
+ [
785
+ n,
786
+ R,
787
+ O,
788
+ _,
789
+ Ee,
790
+ Ce,
791
+ I,
792
+ oe,
793
+ se,
794
+ ke,
795
+ b,
796
+ P,
797
+ ne,
798
+ Se,
799
+ m,
800
+ L,
801
+ l,
802
+ T,
803
+ $,
804
+ N
805
+ ]
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__ */ Y("table", { id: W, className: "ds:sr-only", children: [
814
+ /* @__PURE__ */ v("caption", { children: e }),
815
+ /* @__PURE__ */ v("thead", { children: /* @__PURE__ */ Y("tr", { children: [
816
+ /* @__PURE__ */ v("th", { scope: "col", children: o("chart.table.series") }),
817
+ r.map((g, A) => /* @__PURE__ */ v("th", { scope: "col", children: g }, `${g}-${A}`))
818
+ ] }) }),
819
+ /* @__PURE__ */ v("tbody", { children: y.map((g, A) => /* @__PURE__ */ Y("tr", { children: [
820
+ /* @__PURE__ */ v("th", { scope: "row", children: g.name || o("chart.table.value") }),
821
+ g.data.map((w, Le) => /* @__PURE__ */ v("td", { children: b === "radialBar" && N ? N(w) : se(w) }, `${A}-${Le}`))
822
+ ] }, `${g.name}-${A}`)) })
823
+ ] });
824
+ }, [
825
+ b,
826
+ Ae,
827
+ oe,
828
+ ne,
829
+ W,
830
+ e,
831
+ o,
832
+ se,
833
+ N
834
+ ]), We = x(() => (V(b), P), [P, b]), Re = /* @__PURE__ */ Y(
835
+ "div",
836
+ {
837
+ ref: ee,
838
+ role: "figure",
839
+ "aria-label": e,
840
+ "aria-describedby": W,
841
+ className: gt({
842
+ // Explicit height wins over the density min-height unless the
843
+ // caller also asked for a density explicitly.
844
+ density: X ?? (p !== void 0 ? "none" : void 0),
845
+ className: f ? void 0 : J
846
+ }),
847
+ ...f ? {} : { "data-component": "chart", "data-component-id": s },
848
+ children: [
849
+ De,
850
+ /* @__PURE__ */ v(
851
+ Ve,
852
+ {
853
+ type: b,
854
+ series: We,
855
+ options: qe,
856
+ width: He,
857
+ height: Fe
858
+ },
859
+ b
860
+ )
861
+ ]
862
+ }
863
+ );
864
+ return f ? /* @__PURE__ */ Y(
865
+ "div",
866
+ {
867
+ "data-component": "chart",
868
+ "data-component-id": s,
869
+ className: `ds:block ds:w-full ${J ?? ""}`.trim(),
870
+ children: [
871
+ /* @__PURE__ */ v("div", { className: "ds:mb-[var(--spacing-xs)] ds:flex ds:justify-end", children: /* @__PURE__ */ v(
872
+ nt,
873
+ {
874
+ role: "radiogroup",
875
+ mode: "toggle-single",
876
+ size: "sm",
877
+ "aria-label": o("chart.typeSwitcher.label"),
878
+ value: b,
879
+ onValueChange: (r) => {
880
+ r !== b && (re(r), B == null || B(r));
881
+ },
882
+ children: E.map((r) => /* @__PURE__ */ v(
883
+ at,
884
+ {
885
+ value: r,
886
+ type: "button",
887
+ icon: At[r],
888
+ "aria-label": o(St[r])
889
+ },
890
+ r
891
+ ))
892
+ }
893
+ ) }),
894
+ Re
895
+ ]
896
+ }
897
+ ) : Re;
898
+ }
899
+ );
900
+ Rt.displayName = "Chart";
901
+ export {
902
+ Rt as C,
903
+ gt as a,
904
+ yt as c
905
+ };
906
+ //# sourceMappingURL=chart-DQ5GxqgT.js.map