@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
@@ -1,705 +0,0 @@
1
- import { jsxs as N, jsx as d } from "react/jsx-runtime";
2
- import { forwardRef as $e, useId as ze, useMemo as b, useRef as Me, useState as F, useEffect as be, useImperativeHandle as Pe } from "react";
3
- import { c as He } from "./index-D2ZczOXr.js";
4
- import { useTranslation as De } from "react-i18next";
5
- import qe from "react-apexcharts";
6
- import ge from "apexcharts";
7
- import { u as Ge, a as Ke, g as ve, b as Ue, r as We } from "./apexcharts-theme-DNoXvgnZ.js";
8
- import { u as je } from "./use-prefers-reduced-motion-BMwIQRjB.js";
9
- import { u as Ve } from "./registry-DvAUVLHh.js";
10
- import { I as Ye } from "./icon-button-COX76Jdj.js";
11
- import { I as Fe } from "./icon-button-group-C5hhI-R5.js";
12
- import { c as $ } from "./createLucideIcon-DhHxpK9K.js";
13
- /**
14
- * @license lucide-react v1.22.0 - ISC
15
- *
16
- * This source code is licensed under the ISC license.
17
- * See the LICENSE file in the root directory of this source tree.
18
- */
19
- const Ze = [
20
- ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
21
- [
22
- "path",
23
- {
24
- 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",
25
- key: "q0gr47"
26
- }
27
- ]
28
- ], Je = $("chart-area", Ze);
29
- /**
30
- * @license lucide-react v1.22.0 - ISC
31
- *
32
- * This source code is licensed under the ISC license.
33
- * See the LICENSE file in the root directory of this source tree.
34
- */
35
- const Qe = [
36
- ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
37
- ["path", { d: "M18 17V9", key: "2bz60n" }],
38
- ["path", { d: "M13 17V5", key: "1frdt8" }],
39
- ["path", { d: "M8 17v-3", key: "17ska0" }]
40
- ], Xe = $("chart-column", Qe);
41
- /**
42
- * @license lucide-react v1.22.0 - ISC
43
- *
44
- * This source code is licensed under the ISC license.
45
- * See the LICENSE file in the root directory of this source tree.
46
- */
47
- const et = [
48
- ["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
49
- ["path", { d: "m19 9-5 5-4-4-3 3", key: "2osh9i" }]
50
- ], tt = $("chart-line", et);
51
- /**
52
- * @license lucide-react v1.22.0 - ISC
53
- *
54
- * This source code is licensed under the ISC license.
55
- * See the LICENSE file in the root directory of this source tree.
56
- */
57
- const at = [
58
- [
59
- "path",
60
- {
61
- 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",
62
- key: "pzmjnu"
63
- }
64
- ],
65
- ["path", { d: "M21.21 15.89A10 10 0 1 1 8 2.83", key: "k2fpak" }]
66
- ], rt = $("chart-pie", at);
67
- /**
68
- * @license lucide-react v1.22.0 - ISC
69
- *
70
- * This source code is licensed under the ISC license.
71
- * See the LICENSE file in the root directory of this source tree.
72
- */
73
- const ot = [
74
- [
75
- "path",
76
- {
77
- 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",
78
- key: "19sr3x"
79
- }
80
- ],
81
- ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
82
- ], it = $("donut", ot), nt = {
83
- id: "chart",
84
- // view_change backs the opt-in type switcher (`switchableTypes` prop):
85
- // the same chart re-presented as line / bar / area / pie / donut.
86
- capabilities: ["view_change"],
87
- state: {
88
- declaredType: {
89
- type: "'line' | 'bar' | 'pie' | 'donut' | 'area' | 'radialBar'",
90
- descriptionKey: "ui.agent.chart.state.declaredType",
91
- description: "The consumer-declared chart type — the shape `update_series` expects.",
92
- read: (i) => i.getTypeState().declaredType
93
- },
94
- effectiveType: {
95
- type: "'line' | 'bar' | 'pie' | 'donut' | 'area' | 'radialBar'",
96
- descriptionKey: "ui.agent.chart.state.effectiveType",
97
- description: "The type currently rendered — differs from declaredType after a type-switcher pick.",
98
- read: (i) => i.getTypeState().effectiveType
99
- },
100
- availableTypes: {
101
- type: "ChartType[]",
102
- descriptionKey: "ui.agent.chart.state.availableTypes",
103
- description: "Types the switcher offers. Empty when the chart has no type switcher.",
104
- read: (i) => i.getTypeState().availableTypes
105
- }
106
- },
107
- actions: {
108
- change_view: {
109
- // Switching the presentation is a write (it changes what the user
110
- // sees) but is trivially reversible by switching back.
111
- safety: "write",
112
- argsType: "type",
113
- argsSchema: {
114
- type: "object",
115
- properties: {
116
- type: {
117
- type: "string",
118
- enum: ["line", "bar", "area", "pie", "donut"],
119
- description: "The chart type to render."
120
- }
121
- },
122
- required: ["type"]
123
- },
124
- returns: "boolean (accepted)",
125
- returnsSchema: {
126
- type: "boolean",
127
- description: "True when the switch was applied; false when the chart has no type switcher or the type is not offered (check availableTypes first)."
128
- },
129
- idempotent: !0,
130
- descriptionKey: "ui.agent.chart.actions.changeView",
131
- 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.",
132
- invoke: (i, m) => i.setType(m.type)
133
- },
134
- update_series: {
135
- // Replacing the rendered series mutates what the chart displays — it
136
- // is a write, reversible by pushing the prior series back.
137
- safety: "write",
138
- argsType: "series",
139
- // `series` is `ChartSeries[]` (line/bar/area) OR `number[]`
140
- // (pie/donut/radialBar). Both shapes are accepted; the handle routes
141
- // by chart type internally.
142
- argsSchema: {
143
- type: "object",
144
- properties: {
145
- series: {
146
- oneOf: [
147
- {
148
- type: "array",
149
- description: "Categorical series for line / bar / area charts.",
150
- items: {
151
- type: "object",
152
- properties: {
153
- name: { type: "string" },
154
- data: { type: "array", items: { type: "number" } },
155
- role: {
156
- type: "string",
157
- enum: ["primary", "compare"],
158
- description: "Optional. 'compare' renders this series as a secondary, colour-blind-safe overlay (e.g. the previous period) — dashed grey for line/area, hatched grey for bar. Omit for a normal primary series."
159
- }
160
- },
161
- required: ["name", "data"]
162
- }
163
- },
164
- {
165
- type: "array",
166
- description: "Flat values for pie / donut / radialBar charts.",
167
- items: { type: "number" }
168
- }
169
- ]
170
- }
171
- },
172
- required: ["series"]
173
- },
174
- idempotent: !0,
175
- descriptionKey: "ui.agent.chart.actions.updateSeries",
176
- 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 write targets the live instance only: a later type switch re-reads the original props and discards it.",
177
- invoke: (i, m) => {
178
- i.updateSeries(m.series);
179
- }
180
- },
181
- export_png: {
182
- safety: "read",
183
- returns: "string (PNG data URI)",
184
- returnsSchema: {
185
- type: "string",
186
- description: "A `data:image/png;base64,…` URI of the rendered chart."
187
- },
188
- idempotent: !0,
189
- descriptionKey: "ui.agent.chart.actions.exportPng",
190
- description: "Return a PNG data URI of the chart for export or screenshotting.",
191
- invoke: (i) => i.dataURI()
192
- }
193
- },
194
- domHooks: {
195
- root: { attr: "data-component", value: "chart" },
196
- instanceId: {
197
- attr: "data-component-id",
198
- sourceProp: "id",
199
- description: "Sourced from the id prop."
200
- }
201
- }
202
- }, st = He("ds:relative ds:block ds:w-full", {
203
- variants: {
204
- density: {
205
- compact: "ds:min-h-[var(--chart-min-height-compact)]",
206
- comfortable: "ds:min-h-[var(--chart-min-height-comfortable)]",
207
- // Applied when an explicit `height` prop is given and no density was
208
- // requested: the wrapper must not exceed the caller's height (a 96px
209
- // KPI chart inside a card must not reserve 320px).
210
- none: ""
211
- }
212
- },
213
- defaultVariants: { density: "comfortable" }
214
- }), ct = [
215
- "verticalLines",
216
- "horizontalLines",
217
- "slantedLines",
218
- "squares",
219
- "circles"
220
- ], lt = ["line", "bar", "area"], dt = ["pie", "donut", "radialBar"], Te = [
221
- "line",
222
- "bar",
223
- "area",
224
- "pie",
225
- "donut"
226
- ], pt = {
227
- line: "chart.typeSwitcher.line",
228
- bar: "chart.typeSwitcher.bar",
229
- area: "chart.typeSwitcher.area",
230
- pie: "chart.typeSwitcher.pie",
231
- donut: "chart.typeSwitcher.donut"
232
- }, ht = {
233
- line: /* @__PURE__ */ d(tt, {}),
234
- bar: /* @__PURE__ */ d(Xe, {}),
235
- area: /* @__PURE__ */ d(Je, {}),
236
- pie: /* @__PURE__ */ d(rt, {}),
237
- donut: /* @__PURE__ */ d(it, {})
238
- }, ut = 2, Se = "0 6";
239
- function mt(i, m) {
240
- !i || m.length === 0 || i.querySelectorAll(
241
- ".apexcharts-bar-series > .apexcharts-series"
242
- ).forEach((h) => {
243
- const C = Number(h.getAttribute("data:realIndex"));
244
- m.includes(C) && h.querySelectorAll("path.apexcharts-bar-area").forEach(
245
- (v) => {
246
- if (typeof v.getBBox != "function") return;
247
- const l = v.getBBox();
248
- v.setAttribute(
249
- "d",
250
- `M ${l.x} ${l.y + l.height} L ${l.x} ${l.y} L ${l.x + l.width} ${l.y} L ${l.x + l.width} ${l.y + l.height}`
251
- ), v.setAttribute("stroke-dasharray", Se), v.setAttribute("stroke-linecap", "round");
252
- }
253
- );
254
- });
255
- }
256
- function w(i) {
257
- return dt.includes(i);
258
- }
259
- function Z(i) {
260
- return lt.includes(i);
261
- }
262
- function ft(i, m) {
263
- return w(m) ? [
264
- {
265
- name: "",
266
- data: i
267
- }
268
- ] : i;
269
- }
270
- const yt = $e(
271
- ({
272
- title: i,
273
- id: m,
274
- type: h,
275
- series: C,
276
- categories: v,
277
- labels: l,
278
- height: J,
279
- width: we,
280
- patterns: Q = !1,
281
- stacked: X = !1,
282
- orientation: z = "vertical",
283
- curve: ee = "smooth",
284
- colors: M,
285
- toolbar: D = !1,
286
- locale: Ce,
287
- radialValueFormatter: I,
288
- valueFormatter: te,
289
- switchableTypes: P,
290
- onTypeChange: q,
291
- density: Ie,
292
- className: ae
293
- }, xe) => {
294
- const { t: n, i18n: Ae } = De("ui"), re = ze(), x = b(
295
- () => `chart-${re.replace(/[^a-zA-Z0-9-_]/g, "")}`,
296
- [re]
297
- ), G = `${x}-summary`, L = Me(null), [oe, ke] = F(0);
298
- Ge(L), Ke(L);
299
- const A = Ce ?? Ae.language ?? "en", [ie, Re] = F(() => {
300
- try {
301
- return ve();
302
- } catch {
303
- return {};
304
- }
305
- });
306
- be(() => {
307
- if (typeof document > "u") return;
308
- let e;
309
- const a = new MutationObserver(() => {
310
- clearTimeout(e), e = setTimeout(() => {
311
- try {
312
- Re(ve());
313
- } catch {
314
- }
315
- }, 50);
316
- });
317
- return a.observe(document.documentElement, {
318
- attributes: !0,
319
- attributeFilter: ["class"]
320
- }), () => {
321
- clearTimeout(e), a.disconnect();
322
- };
323
- }, []), be(() => {
324
- const e = L.current;
325
- if (!e || typeof ResizeObserver > "u") return;
326
- const a = new ResizeObserver((o) => {
327
- const p = o[0];
328
- p && ke(Math.floor(p.contentRect.width));
329
- });
330
- return a.observe(e), () => a.disconnect();
331
- }, []);
332
- const k = b(() => {
333
- if (!P || P.length === 0) return [];
334
- const e = P.filter(
335
- (o) => Te.includes(o)
336
- );
337
- if (!Te.includes(h))
338
- return [];
339
- const a = e.includes(h) ? e : [h, ...e];
340
- return [...new Set(a)];
341
- }, [P, h]), T = k.length >= 2, [K, ne] = F(null), r = T && K && k.includes(K) ? K : h, U = w(h), se = w(r), { effectiveSeries: f, effectiveCategories: H, effectiveLabels: B } = b(() => {
342
- if (U === se)
343
- return {
344
- effectiveSeries: C,
345
- effectiveCategories: v,
346
- effectiveLabels: l
347
- };
348
- if (!U) {
349
- const o = C.filter((u) => u.role !== "compare");
350
- return {
351
- effectiveSeries: o.map(
352
- (u) => u.data.reduce((y, S) => y + S, 0)
353
- ),
354
- effectiveCategories: void 0,
355
- effectiveLabels: o.map((u) => u.name)
356
- };
357
- }
358
- const e = C;
359
- return {
360
- effectiveSeries: [
361
- { name: n("chart.table.value"), data: e }
362
- ],
363
- effectiveCategories: l ?? [],
364
- effectiveLabels: void 0
365
- };
366
- }, [C, v, l, U, se, n]), W = b(
367
- () => ({
368
- async dataURI() {
369
- const e = ge.getChartByID(x);
370
- return e ? (await e.dataURI()).imgURI : "";
371
- },
372
- updateSeries(e) {
373
- const a = ge.getChartByID(x);
374
- if (!a) return;
375
- const o = w(h), p = w(r);
376
- if (o === p) {
377
- a.updateSeries(e);
378
- return;
379
- }
380
- if (!o) {
381
- const u = e.filter(
382
- (y) => y.role !== "compare"
383
- );
384
- a.updateOptions(
385
- { labels: u.map((y) => y.name) },
386
- !1,
387
- !0
388
- ), a.updateSeries(
389
- u.map((y) => y.data.reduce((S, s) => S + s, 0))
390
- );
391
- return;
392
- }
393
- a.updateSeries([
394
- { name: n("chart.table.value"), data: e }
395
- ]);
396
- },
397
- setType(e) {
398
- return !T || !k.includes(e) ? !1 : (ne(e), !0);
399
- },
400
- getTypeState() {
401
- return {
402
- declaredType: h,
403
- effectiveType: r,
404
- availableTypes: T ? [...k] : []
405
- };
406
- }
407
- }),
408
- [x, h, r, n, T, k]
409
- );
410
- Pe(xe, () => W, [W]), Ve(nt, W, m);
411
- const j = typeof document < "u" && document.documentElement.dir === "rtl", ce = b(
412
- () => ft(f, r),
413
- [f, r]
414
- ), le = b(
415
- () => new Intl.NumberFormat(A),
416
- [A]
417
- ), R = b(
418
- () => te ?? ((e) => le.format(e)),
419
- [te, le]
420
- ), de = b(
421
- () => ({
422
- name: A,
423
- options: {
424
- toolbar: {
425
- download: n("chart.toolbar.download"),
426
- selection: n("chart.toolbar.selection"),
427
- selectionZoom: n("chart.toolbar.selectionZoom"),
428
- zoomIn: n("chart.toolbar.zoomIn"),
429
- zoomOut: n("chart.toolbar.zoomOut"),
430
- pan: n("chart.toolbar.pan"),
431
- reset: n("chart.toolbar.reset"),
432
- exportToSVG: n("chart.toolbar.exportToSVG"),
433
- exportToPNG: n("chart.toolbar.exportToPNG"),
434
- exportToCSV: n("chart.toolbar.exportToCSV")
435
- }
436
- }
437
- }),
438
- [A, n]
439
- ), V = je(), _e = b(() => {
440
- var he, ue, me, fe, ye;
441
- const e = ie, a = Z(r) && Array.isArray(f) ? f.map((t) => t.role === "compare") : [], o = a.some(Boolean), p = o && r === "bar", u = p && f.some(
442
- (t) => t.role === "compare" && t.data.some((c) => c < 0)
443
- ), y = p && z === "vertical" && !u, S = o ? Ue() : 0.3, s = {
444
- ...e,
445
- chart: {
446
- ...e.chart,
447
- id: x,
448
- toolbar: { show: D },
449
- zoom: { enabled: D },
450
- animations: {
451
- enabled: !V,
452
- dynamicAnimation: { enabled: !V }
453
- },
454
- locales: [de],
455
- defaultLocale: A,
456
- parentHeightOffset: 0,
457
- // Stacking is an axis-only concept — gate on the categorical types
458
- // so a slice/radial chart never receives it, and omit the key
459
- // entirely when unstacked so the default output is byte-identical.
460
- ...X && Z(r) ? { stacked: !0 } : {}
461
- },
462
- // Only set `labels` when the effective type actually has them (slice
463
- // charts). Emitting `labels: undefined` crashes ApexCharts' bar
464
- // renderer — `parseDataAxisCharts` reads `labels.length` and throws
465
- // "Cannot read properties of undefined (reading 'length')", which
466
- // aborts the render and leaves a blank chart. Absent is safe; area /
467
- // line tolerate the undefined but bar does not, so never pass it.
468
- ...B ? { labels: B } : {},
469
- legend: {
470
- ...e.legend,
471
- position: "bottom",
472
- // ApexCharts legend.horizontalAlign is a physical prop mapped internally
473
- // to the chart's own text flow. For RTL we flip via `yaxis.opposite`
474
- // and ApexCharts' own `direction: 'rtl'` handling; legend stays anchored
475
- // to the inline-start by asking for 'left' on LTR and 'right' on RTL.
476
- horizontalAlign: j ? "right" : "left",
477
- fontFamily: "inherit"
478
- },
479
- tooltip: {
480
- ...e.tooltip,
481
- y: {
482
- formatter: (t) => R(t)
483
- }
484
- },
485
- noData: {
486
- text: n("chart.noData")
487
- }
488
- };
489
- if (M && M.length > 0 && (s.colors = M), o) {
490
- const t = s.colors ?? e.colors ?? [], c = (g) => t[g % Math.max(t.length, 1)], _ = f.map((g, E) => g.role === "compare" ? -1 : E).filter((g) => g >= 0);
491
- let O = 0;
492
- s.colors = f.map((g, E) => {
493
- if (g.role !== "compare") return c(E);
494
- const Ne = _.length ? _[Math.min(O++, _.length - 1)] : E;
495
- return c(Ne);
496
- });
497
- const Y = s.colors.map(
498
- (g, E) => a[E] ? We(g) : g
499
- );
500
- s.legend = {
501
- ...s.legend,
502
- markers: {
503
- ...((he = s.legend) == null ? void 0 : he.markers) ?? {},
504
- fillColors: Y
505
- }
506
- };
507
- }
508
- if (Z(r)) {
509
- const t = r === "bar" && z === "horizontal";
510
- s.xaxis = {
511
- ...e.xaxis,
512
- categories: H ?? [],
513
- ...t ? {
514
- labels: {
515
- formatter: (c) => R(Number(c))
516
- }
517
- } : {}
518
- }, s.yaxis = {
519
- ...e.yaxis,
520
- opposite: j,
521
- ...t ? {} : { labels: { formatter: (c) => R(c) } }
522
- }, s.stroke = {
523
- curve: ee,
524
- width: r === "bar" ? o ? a.map((c) => c ? ut : 0) : 0 : 2,
525
- ...o ? {
526
- lineCap: "round",
527
- // Runtime accepts a string dash; the published types say
528
- // `number` → one documented cast. `'0 6'` + round cap ⇒ dots.
529
- dashArray: a.map(
530
- (c) => c ? Se : 0
531
- )
532
- } : {}
533
- }, s.dataLabels = { enabled: !1 };
534
- }
535
- if (r === "radialBar" && I) {
536
- const t = e.plotOptions ?? {};
537
- s.plotOptions = {
538
- ...t,
539
- radialBar: {
540
- ...t.radialBar ?? {},
541
- dataLabels: {
542
- ...((ue = t.radialBar) == null ? void 0 : ue.dataLabels) ?? {},
543
- value: {
544
- ...((fe = (me = t.radialBar) == null ? void 0 : me.dataLabels) == null ? void 0 : fe.value) ?? {},
545
- formatter: (c) => I(Number(c))
546
- }
547
- }
548
- }
549
- };
550
- }
551
- if (r === "bar" && z === "horizontal") {
552
- const t = e.plotOptions ?? {};
553
- s.plotOptions = {
554
- ...t,
555
- bar: { ...t.bar ?? {}, horizontal: !0 }
556
- };
557
- }
558
- if (Q ? s.fill = {
559
- type: o ? a.map((t) => t ? "solid" : "pattern") : "pattern",
560
- opacity: o ? a.map(
561
- (t) => t ? S : r === "area" ? 0.3 : 1
562
- ) : r === "area" ? 0.3 : 1,
563
- pattern: {
564
- style: [...ct],
565
- strokeWidth: 2
566
- }
567
- } : p ? s.fill = {
568
- type: "solid",
569
- opacity: a.map((t) => t ? S : 1)
570
- } : r === "area" && (s.fill = o ? {
571
- type: "gradient",
572
- opacity: a.map((t) => t ? S : 0.3)
573
- } : {
574
- type: "gradient",
575
- opacity: 0.3
576
- }), y) {
577
- const t = a.map((O, Y) => O ? Y : -1).filter((O) => O >= 0), c = () => mt(L.current, t), _ = () => typeof requestAnimationFrame == "function" ? requestAnimationFrame(c) : c();
578
- s.chart = {
579
- ...s.chart,
580
- events: {
581
- ...((ye = s.chart) == null ? void 0 : ye.events) ?? {},
582
- mounted: () => _(),
583
- updated: () => _(),
584
- animationEnd: () => c()
585
- }
586
- };
587
- }
588
- return s;
589
- }, [
590
- ie,
591
- x,
592
- D,
593
- V,
594
- de,
595
- A,
596
- B,
597
- R,
598
- n,
599
- r,
600
- f,
601
- H,
602
- j,
603
- Q,
604
- X,
605
- z,
606
- ee,
607
- M,
608
- I
609
- ]), Ee = we ?? (oe > 0 ? oe : "100%"), Le = J ?? 320, Be = b(() => {
610
- const e = w(r) ? B ?? [] : H ?? [], a = ce;
611
- return /* @__PURE__ */ N("table", { id: G, className: "ds:sr-only", children: [
612
- /* @__PURE__ */ d("caption", { children: i }),
613
- /* @__PURE__ */ d("thead", { children: /* @__PURE__ */ N("tr", { children: [
614
- /* @__PURE__ */ d("th", { scope: "col", children: n("chart.table.series") }),
615
- e.map((o, p) => /* @__PURE__ */ d("th", { scope: "col", children: o }, `${o}-${p}`))
616
- ] }) }),
617
- /* @__PURE__ */ d("tbody", { children: a.map((o, p) => /* @__PURE__ */ N("tr", { children: [
618
- /* @__PURE__ */ d("th", { scope: "row", children: o.name || n("chart.table.value") }),
619
- o.data.map((u, y) => /* @__PURE__ */ d("td", { children: r === "radialBar" && I ? I(u) : R(u) }, `${p}-${y}`))
620
- ] }, `${o.name}-${p}`)) })
621
- ] });
622
- }, [
623
- r,
624
- ce,
625
- B,
626
- H,
627
- G,
628
- i,
629
- n,
630
- R,
631
- I
632
- ]), Oe = b(() => (w(r), f), [f, r]), pe = /* @__PURE__ */ N(
633
- "div",
634
- {
635
- ref: L,
636
- role: "img",
637
- "aria-label": i,
638
- "aria-describedby": G,
639
- className: st({
640
- // Explicit height wins over the density min-height unless the
641
- // caller also asked for a density explicitly.
642
- density: Ie ?? (J !== void 0 ? "none" : void 0),
643
- className: T ? void 0 : ae
644
- }),
645
- ...T ? {} : { "data-component": "chart", "data-component-id": m },
646
- children: [
647
- Be,
648
- /* @__PURE__ */ d(
649
- qe,
650
- {
651
- type: r,
652
- series: Oe,
653
- options: _e,
654
- width: Ee,
655
- height: Le,
656
- "aria-hidden": "true"
657
- },
658
- r
659
- )
660
- ]
661
- }
662
- );
663
- return T ? /* @__PURE__ */ N(
664
- "div",
665
- {
666
- "data-component": "chart",
667
- "data-component-id": m,
668
- className: `ds:block ds:w-full ${ae ?? ""}`.trim(),
669
- children: [
670
- /* @__PURE__ */ d("div", { className: "ds:mb-[var(--spacing-xs)] ds:flex ds:justify-end", children: /* @__PURE__ */ d(
671
- Fe,
672
- {
673
- role: "radiogroup",
674
- mode: "toggle-single",
675
- size: "sm",
676
- "aria-label": n("chart.typeSwitcher.label"),
677
- value: r,
678
- onValueChange: (e) => {
679
- e !== r && (ne(e), q == null || q(e));
680
- },
681
- children: k.map((e) => /* @__PURE__ */ d(
682
- Ye,
683
- {
684
- value: e,
685
- type: "button",
686
- icon: ht[e],
687
- "aria-label": n(pt[e])
688
- },
689
- e
690
- ))
691
- }
692
- ) }),
693
- pe
694
- ]
695
- }
696
- ) : pe;
697
- }
698
- );
699
- yt.displayName = "Chart";
700
- export {
701
- yt as C,
702
- st as a,
703
- nt as c
704
- };
705
- //# sourceMappingURL=chart-C2RBJERE.js.map