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