@mobileaction/action-kit 1.45.0 → 1.45.2
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/CHANGELOG.md +15 -0
- package/dist/3square-bold-CJcXGzsm.js +18 -0
- package/dist/403-C7BxdMS4.js +33 -0
- package/dist/404-CrmzzOsJ.js +32 -0
- package/dist/500-ChzuizyP.js +33 -0
- package/dist/action-kit.mjs +180 -20260
- package/dist/activity-bulk-C-ZaSWp8.js +12 -0
- package/dist/add-CfLtdlT5.js +8 -0
- package/dist/add-app-B0KOgVxC.js +84 -0
- package/dist/add-bold-rJ0nWfUJ.js +7 -0
- package/dist/add-bulk-CkFgoJnG.js +11 -0
- package/dist/add-button-D8WydDUg.js +9 -0
- package/dist/add-circle-bold-DBqTkk3x.js +7 -0
- package/dist/add-circle-bulk-QF0YFF9b.js +11 -0
- package/dist/add-circle-yukhQprG.js +11 -0
- package/dist/add-square-BtF3-9Jr.js +9 -0
- package/dist/add-square-bold-Dtwj-RC4.js +7 -0
- package/dist/adjust-colorful-CFRBnedd.js +15 -0
- package/dist/affirm-QEEZEsAF.js +10 -0
- package/dist/aim-outlined-CQtHAhot.js +5 -0
- package/dist/airplane-bulk-C57TYNfm.js +8 -0
- package/dist/align-left-BpY-_KMu.js +13 -0
- package/dist/align-left-bold-hCKLkI9L.js +14 -0
- package/dist/align-left-bulk-BcZRUWo3.js +14 -0
- package/dist/alipay-6GQIdPUb.js +12 -0
- package/dist/amazon-f6mYBhSW.js +10 -0
- package/dist/amex-2-B_l_or5g.js +11 -0
- package/dist/amex-DLZu-uN7.js +9 -0
- package/dist/android-SZ9tOG27.js +10 -0
- package/dist/android-storefront-Dd8l94Xt.js +12 -0
- package/dist/angle-double-right-BDlMcWaF.js +9 -0
- package/dist/annotations-DJexnIAc.js +1257 -0
- package/dist/app-D8zF46nh.js +8 -0
- package/dist/app-store-CMr7S31B.js +7 -0
- package/dist/app-store-colorful-BondAyyq.js +24 -0
- package/dist/apple-C5dVRPeN.js +7 -0
- package/dist/apple-bold-xiJy62g9.js +8 -0
- package/dist/apple-storefront-DXOS8QRc.js +9 -0
- package/dist/apple-vision-pro-D4zEzFeC.js +20 -0
- package/dist/applepay-DRD88bt3.js +9 -0
- package/dist/appsflyer-colorful-DhCoDqxc.js +20 -0
- package/dist/arcade-bulk-Cizc7WAm.js +13 -0
- package/dist/area-chart-outlined-BHIIpVvJ.js +7 -0
- package/dist/arrow-down-DcS_1caW.js +8 -0
- package/dist/arrow-down-bold-LMQcIpLm.js +7 -0
- package/dist/arrow-down-circle-C9C94ult.js +8 -0
- package/dist/arrow-down-circle-bold-BvSy_bkK.js +7 -0
- package/dist/arrow-left-CAPpR_Dd.js +8 -0
- package/dist/arrow-left-bold-ParAfd20.js +7 -0
- package/dist/arrow-left-bulk-CiGVXFG4.js +10 -0
- package/dist/arrow-left-circle-B9w6y1TT.js +8 -0
- package/dist/arrow-left-circle-bold-Dz9HJlfJ.js +7 -0
- package/dist/arrow-left-down-line-BeGwt11h.js +7 -0
- package/dist/arrow-right-D2kBik46.js +8 -0
- package/dist/arrow-right-bold-Bv4WgIjr.js +7 -0
- package/dist/arrow-right-bulk-B-zxuGgL.js +10 -0
- package/dist/arrow-right-circle-Dnw3J9BK.js +8 -0
- package/dist/arrow-right-circle-bold-C0AfSkr9.js +7 -0
- package/dist/arrow-right-up-line-_XIuq3yQ.js +7 -0
- package/dist/arrow-up-B1p5AR6I.js +8 -0
- package/dist/arrow-up-bold-L5oKWdan.js +7 -0
- package/dist/arrow-up-circle-DVuRsMhl.js +8 -0
- package/dist/arrow-up-circle-bold-DUSXkykH.js +7 -0
- package/dist/asterisk-9AXoQkwn.js +7 -0
- package/dist/bag-bulk-FG5NqkNc.js +8 -0
- package/dist/bahai-C_Co5Kfa.js +7 -0
- package/dist/bancontact-NBMkp3hp.js +11 -0
- package/dist/bitcoin-jQBIOTGI.js +9 -0
- package/dist/bitcoincash-Cjj6dsmc.js +9 -0
- package/dist/bitpay-D9311Lnt.js +9 -0
- package/dist/book-bulk-BHrb2y_l.js +10 -0
- package/dist/book-closed-bulk-D3Yq87Ij.js +10 -0
- package/dist/book-saved-bulk-n2sN57Pv.js +9 -0
- package/dist/book-square-bulk-D8-Pp3nD.js +9 -0
- package/dist/bookmark-CjUGHEr3.js +10 -0
- package/dist/bookmark-bold-Biv-1Wba.js +8 -0
- package/dist/bookmark-bulk-BKoG9hHT.js +8 -0
- package/dist/box-empty-yjdRW5b1.js +15 -0
- package/dist/brain-D4MC-14s.js +7 -0
- package/dist/broom-DPB2Iteq.js +12 -0
- package/dist/broom-bold-CM_HmJqA.js +8 -0
- package/dist/brush-bulk-tJALzT__.js +9 -0
- package/dist/bubble-bulk-BTpL-bb7.js +9 -0
- package/dist/bucket-bulk-Ci8zpLhJ.js +10 -0
- package/dist/bullhorn-LLf-1SmO.js +7 -0
- package/dist/bus-bulk-BOr4mytN.js +11 -0
- package/dist/buy-crypto-puTvlJpl.js +14 -0
- package/dist/calendar-BlLMwoBP.js +16 -0
- package/dist/calendar-alt-BKnM7n0O.js +7 -0
- package/dist/calendar-bold-BpQAB_z8.js +8 -0
- package/dist/calendar-bulk-BzZfuqtM.js +14 -0
- package/dist/camera-bulk-BO7Eo8H6.js +9 -0
- package/dist/car-bulk-FmIXX1qs.js +10 -0
- package/dist/card-bold-CN0fE1gw.js +8 -0
- package/dist/card-bulk-DXbpwQAu.js +17 -0
- package/dist/card-wNHXTqeT.js +10 -0
- package/dist/caret-down-bold-BERscvOg.js +7 -0
- package/dist/caret-down-tvQ0wO59.js +7 -0
- package/dist/caret-left-bold-BZQbVIdi.js +7 -0
- package/dist/caret-left-r0cEVXpb.js +7 -0
- package/dist/caret-right-BiKWyqNF.js +7 -0
- package/dist/caret-right-bold-DLtiJMVR.js +7 -0
- package/dist/caret-up-BB-CRsSj.js +7 -0
- package/dist/caret-up-bold-UK8P9-08.js +7 -0
- package/dist/casino-bulk-CqvLTh7O.js +8 -0
- package/dist/category-bold-XJfqvFJ6.js +18 -0
- package/dist/category-qYgorCTW.js +19 -0
- package/dist/certificate-DYL_cT8o.js +7 -0
- package/dist/chart-2-BN26M-b-.js +9 -0
- package/dist/chart-2-bulk-BjvV0Aug.js +14 -0
- package/dist/chart-DpVpY-Vu.js +10 -0
- package/dist/chart-area-BvyvoMm3.js +7 -0
- package/dist/chart-bar-CM3Xb2mP.js +7 -0
- package/dist/chart-bold-UKhmSTE0.js +10 -0
- package/dist/chart-bulk-CTq2mnXZ.js +15 -0
- package/dist/check-B3I3zCmC.js +7 -0
- package/dist/check-line-DYj6YGse.js +7 -0
- package/dist/checkered-flag-5-3PFpmn.js +7 -0
- package/dist/chef-bulk-BEqyA56n.js +8 -0
- package/dist/chess-bulk-BPA2r7WS.js +12 -0
- package/dist/chevron-down-Deuidy6-.js +8 -0
- package/dist/chevron-left-Ctlppl-V.js +8 -0
- package/dist/chevron-right-2ieak7bv.js +8 -0
- package/dist/chevron-up-D_7NtGL8.js +8 -0
- package/dist/chevrons-down-OM00VHS8.js +7 -0
- package/dist/chevrons-left-DIT25I4_.js +7 -0
- package/dist/chevrons-right-m-EJdxEx.js +7 -0
- package/dist/chevrons-up-BZK_GrX7.js +7 -0
- package/dist/circle-CTAenz0k.js +7 -0
- package/dist/circle-exclamation-zJMdScgp.js +7 -0
- package/dist/circle-notch-DKAGZDOT.js +7 -0
- package/dist/citadele-DoufmjNd.js +9 -0
- package/dist/clipboard-BG2E7FaC.js +14 -0
- package/dist/clipboard-bold-D2N8tdmb.js +11 -0
- package/dist/clipboard-bulk-sLVuG5mo.js +14 -0
- package/dist/clipboard-close-bulk-C2Od4E0n.js +9 -0
- package/dist/clipboard-close-dwi0R13N.js +10 -0
- package/dist/clipboard-tick-Bs2j86bP.js +9 -0
- package/dist/clipboard-tick-bulk-DjbSSuqx.js +9 -0
- package/dist/clock-9hGnvEpx.js +8 -0
- package/dist/clock-bold-B3F7QJSr.js +7 -0
- package/dist/clock-bulk-Cbha__mN.js +8 -0
- package/dist/clone-CGXjd_O6.js +7 -0
- package/dist/close-CE1Ttgok.js +4 -0
- package/dist/close-circle-0PKwUI2n.js +9 -0
- package/dist/close-circle-bold-BiatlGpI.js +7 -0
- package/dist/close-circle-bulk-Co53Qhf4.js +11 -0
- package/dist/close-square--5kO3rO3.js +9 -0
- package/dist/close-square-bold-xLahqGNn.js +7 -0
- package/dist/cloud-sunny-bulk-krVwPlJq.js +8 -0
- package/dist/cloud-upload-CMQ2H2Xw.js +7 -0
- package/dist/coffee-bulk-_FwJ31qQ.js +12 -0
- package/dist/cogs-BFDHd9oV.js +7 -0
- package/dist/color-filter-5UXc6d-3.js +14 -0
- package/dist/columns-B_ddNZH6.js +8 -0
- package/dist/columns-bold-0mI_AF4E.js +8 -0
- package/dist/compass-bulk-O_dyJK8R.js +8 -0
- package/dist/compress-BTVhSIne.js +7 -0
- package/dist/contains-linear-D_ZOgtJs.js +11 -0
- package/dist/control-CRfzjsnP.js +15 -0
- package/dist/convert-shape-CVmRrL_7.js +15 -0
- package/dist/convert-shape-bold-D8EJZmLu.js +17 -0
- package/dist/convert-shape-bulk-B_pG3vuO.js +17 -0
- package/dist/copy-BGwrOBcD.js +8 -0
- package/dist/copy-bold-BZGfHMaV.js +8 -0
- package/dist/copy-bulk-BoNRDlip.js +11 -0
- package/dist/crosshairs-ChxTMv2D.js +7 -0
- package/dist/crown-B_ojP5tx.js +8 -0
- package/dist/crown-bold-BBDmNqWc.js +7 -0
- package/dist/cup-Buafqbt4.js +21 -0
- package/dist/cup-bold-Bu6x_n4h.js +11 -0
- package/dist/cup-bulk-D211-pdJ.js +20 -0
- package/dist/danger-DJpo9tCE.js +9 -0
- package/dist/danger-bold-Cg0uBFsY.js +7 -0
- package/dist/danger-bulk-CUUs6V03.js +9 -0
- package/dist/dashboard-UX0q0D9I.js +7 -0
- package/dist/data-Dv7s_0Te.js +21 -0
- package/dist/data-bold-BFrZ-O5s.js +20 -0
- package/dist/data-bulk-DBuLkwtO.js +20 -0
- package/dist/devices-CXklsSh3.js +15 -0
- package/dist/diagram-BupSoeiO.js +8 -0
- package/dist/dinersclub-D44gkCbJ.js +9 -0
- package/dist/direct-inbox-DylWmuzi.js +15 -0
- package/dist/direct-inbox-bold-CCWCw_-0.js +13 -0
- package/dist/direct-inbox-bulk-DYtg9M7Y.js +14 -0
- package/dist/direct-normal-BPBdlwBo.js +8 -0
- package/dist/direct-normal-bulk-DcOBBi4G.js +8 -0
- package/dist/discover-BkA7VSz7.js +11 -0
- package/dist/dislike-bold-BSR6hBMk.js +8 -0
- package/dist/dislike-sk_SIvgR.js +8 -0
- package/dist/document-CcwCOx8o.js +10 -0
- package/dist/document-bold-C3w4WmiX.js +8 -0
- package/dist/document-bulk-DzaJn1FI.js +17 -0
- package/dist/dollar-circle-DQDG8tR_.js +9 -0
- package/dist/dot-qgcav4-k.js +7 -0
- package/dist/download-Ci2W0i7r.js +10 -0
- package/dist/download-bold-DeSpumUD.js +12 -0
- package/dist/download-bulk-CC-3xztv.js +15 -0
- package/dist/drag-dKM4Quja.js +11 -0
- package/dist/driving-bulk-Bc59A5J9.js +14 -0
- package/dist/edit-2-BC7b2AzO.js +9 -0
- package/dist/edit-2-bold-DCcDQ9-W.js +15 -0
- package/dist/edit-2-bulk-DYtmSJfs.js +9 -0
- package/dist/edit-BNITBRCp.js +9 -0
- package/dist/edit-bold-aOLZkHZD.js +7 -0
- package/dist/element-2-bulk-C_8abf85.js +10 -0
- package/dist/element-3-bulk-B8jO18ki.js +9 -0
- package/dist/element-bulk-C0Bbk7Nz.js +10 -0
- package/dist/element-plus-ByIYHmvX.js +17 -0
- package/dist/element-plus-bold-BmLvcHY2.js +18 -0
- package/dist/ellipsis-horizontal-CsKcrR-0.js +7 -0
- package/dist/ellipsis-vertical-DPeVEBuu.js +7 -0
- package/dist/elo-Br2Vuswf.js +12 -0
- package/dist/empty-table-B0j6ii0q.js +34 -0
- package/dist/equal-vqteAAZN.js +8 -0
- package/dist/etherium-D0ZXG13p.js +15 -0
- package/dist/expand-DuSIzzBI.js +10 -0
- package/dist/expand-left-line-C6GF8pDL.js +9 -0
- package/dist/expand-right-line-nUVRZIG0.js +9 -0
- package/dist/export-2-ClebRLYO.js +12 -0
- package/dist/export-2-bold-CWP0OSu6.js +11 -0
- package/dist/export-2-bulk-b1a7U5lM.js +11 -0
- package/dist/export-BySiHfPx.js +9 -0
- package/dist/export-bold-vynOFlro.js +7 -0
- package/dist/export-bulk-B9TbCSOK.js +8 -0
- package/dist/export-data-CjRujjX4.js +292 -0
- package/dist/exporting-C0PAvbsc.js +385 -0
- package/dist/eye-Br47g2EW.js +8 -0
- package/dist/eye-bold-Z5fzao7p.js +8 -0
- package/dist/eye-bulk-DBz_d8G6.js +11 -0
- package/dist/eye-slash-bold-CUMv80Sy.js +11 -0
- package/dist/eye-slash-xR20YiVN.js +12 -0
- package/dist/facebook-CbvAFDNX.js +8 -0
- package/dist/fatrows-BxHMRsbb.js +11 -0
- package/dist/fatrows-bold-BM1VbAKy.js +11 -0
- package/dist/fatrows-bulk-f8YoN10T.js +11 -0
- package/dist/favorite-chart-B_q3MmkK.js +9 -0
- package/dist/favorite-chart-bold-_azS9_qJ.js +8 -0
- package/dist/favorite-chart-bulk-BlGR0Xib.js +9 -0
- package/dist/file-pdf-nnHph4JB.js +7 -0
- package/dist/filled-flag-BotoaJW7.js +7 -0
- package/dist/filter-DMrTVHKZ.js +8 -0
- package/dist/filter-bold-DMF6Ix0c.js +8 -0
- package/dist/filter-bulk-DUT_3jkX.js +11 -0
- package/dist/flag-CTMrF9Eb.js +8 -0
- package/dist/flash-BsgqPLm2.js +8 -0
- package/dist/flash-circle-BuB8pCG-.js +13 -0
- package/dist/flash-circle-bold-BVvk0Pcq.js +8 -0
- package/dist/flash-circle-bulk-C0jDBliA.js +11 -0
- package/dist/folder-BvkRqnRs.js +8 -0
- package/dist/folder-open-DjTx8NSO.js +9 -0
- package/dist/folder-open-bold-WUf82K9a.js +8 -0
- package/dist/font-jy1Mj0lk.js +7 -0
- package/dist/forbrugsforeningen-Puw5oXYP.js +9 -0
- package/dist/gallery-bulk-Cpa_jQnb.js +9 -0
- package/dist/game-bulk-Bc0-iAgM.js +13 -0
- package/dist/giropay-P7ytRNOH.js +11 -0
- package/dist/glass-BFzBqbqu.js +11 -0
- package/dist/glass-bold-BLfmfE_0.js +11 -0
- package/dist/glass-bulk-C01rMJA0.js +11 -0
- package/dist/global-C6hEKjM2.js +11 -0
- package/dist/google-7-D5QsPs.js +10 -0
- package/dist/google-colored-DBhyV_DN.js +15 -0
- package/dist/googlepay-DlwBRzPC.js +13 -0
- package/dist/gps-linear-C0Cxhnms.js +12 -0
- package/dist/graduation-cap-BSrPJeHm.js +9 -0
- package/dist/graduation-cap-bold-CnssljzI.js +8 -0
- package/dist/graph-T1ntmIoY.js +8 -0
- package/dist/graph-bold-CJ7i0XOV.js +8 -0
- package/dist/grid-2-Xx7q_UY2.js +10 -0
- package/dist/grid-B-4opBKq.js +10 -0
- package/dist/grid-bold-ewRclO4W.js +10 -0
- package/dist/grid-bulk-D7Zut8Ek.js +17 -0
- package/dist/hamburger-ChXWBhhM.js +9 -0
- package/dist/headset-hMv1-5kf.js +7 -0
- package/dist/health-bulk-BiO9s6Ya.js +9 -0
- package/dist/history-BgOJSIs1.js +7 -0
- package/dist/home-BzPyPhLz.js +8 -0
- package/dist/home-bold-CIP1v27j.js +7 -0
- package/dist/home-bulk--pLh1Cer.js +11 -0
- package/dist/hospital-bulk-DbCBlxeB.js +10 -0
- package/dist/house-bulk-CDJDNpL2.js +12 -0
- package/dist/ideal-CiOA2WPM.js +10 -0
- package/dist/import-BwgGRkzK.js +14 -0
- package/dist/import-bold-n9euky5T.js +8 -0
- package/dist/in-range-D8jR55Rx.js +9 -0
- package/dist/in-range-bold-CKGuXaBI.js +9 -0
- package/dist/indent-DtlWCX4l.js +7 -0
- package/dist/index-BlFaxM2B.js +20718 -0
- package/dist/info-DuYlla_w.js +7 -0
- package/dist/info-circle-2-Cx4Tuekx.js +12 -0
- package/dist/info-circle-2-bold-Czmer8mR.js +8 -0
- package/dist/info-circle-2-bulk-IhPR3kNX.js +14 -0
- package/dist/info-circle-bold-DgM_C2xu.js +7 -0
- package/dist/info-circle-foeQf5lD.js +11 -0
- package/dist/interac-k39vsnHy.js +11 -0
- package/dist/ipad-D2p1uqmd.js +8 -0
- package/dist/iphone-9WH7lW33.js +7 -0
- package/dist/jcb-D7_NMgWC.js +25 -0
- package/dist/judge-outline-BB1OqdAU.js +10 -0
- package/dist/justify-right-Bck_4jBq.js +13 -0
- package/dist/key-BnPpJtfw.js +9 -0
- package/dist/klarna-BAZl-PBq.js +9 -0
- package/dist/lamp-charge-D1AbWTQM.js +9 -0
- package/dist/lamp-charge-bulk-CEw6XHMW.js +9 -0
- package/dist/layer-CbmLIuWX.js +9 -0
- package/dist/layer-bold-Dh10LMd9.js +9 -0
- package/dist/layer-bulk-CneTA8PD.js +14 -0
- package/dist/level-linear-CnmyocS2.js +9 -0
- package/dist/lightcoin-BZ1rdGn2.js +9 -0
- package/dist/like-VWJ6kcld.js +8 -0
- package/dist/like-bold-BYHWqDCQ.js +8 -0
- package/dist/link-Bx8NgJQx.js +8 -0
- package/dist/linkedin-Mm67U72R.js +9 -0
- package/dist/list-CRpCb4cC.js +7 -0
- package/dist/loader-CF_0OWwl.js +14 -0
- package/dist/loading-DX8oema7.js +7 -0
- package/dist/location-bulk-CwbrXN8y.js +8 -0
- package/dist/location-k-Kp-Jvh.js +12 -0
- package/dist/lock-DV5xqJxa.js +9 -0
- package/dist/lock-bold-DIfxjriG.js +8 -0
- package/dist/lock-bulk-DHduithA.js +14 -0
- package/dist/lock-slash-40svIcZb.js +10 -0
- package/dist/lock-slash-bulk-oOzyzmYJ.js +11 -0
- package/dist/logout-CoSahafX.js +9 -0
- package/dist/logout-bold-DtAFwN1T.js +8 -0
- package/dist/lovely-bulk-DMckVAG3.js +8 -0
- package/dist/maestro-2-B_-WmfkU.js +9 -0
- package/dist/maestro-DI1QUKWw.js +11 -0
- package/dist/magic-pen-C_ZuAIeg.js +17 -0
- package/dist/magic-pen-bold-DK2Zldvy.js +21 -0
- package/dist/map-D9nlD3zg.js +1746 -0
- package/dist/map-bulk-b8Sr2Fmc.js +9 -0
- package/dist/map-marker-DRvbAD_X.js +8 -0
- package/dist/map-marker-bold-Baug0j5o.js +7 -0
- package/dist/mastercard-2-DCReHU5A.js +9 -0
- package/dist/mastercard-CR1i7PFG.js +11 -0
- package/dist/maximize-linear-CCWWD--f.js +10 -0
- package/dist/med-kit-Dzx627Qo.js +7 -0
- package/dist/medal-CTj_OZNe.js +8 -0
- package/dist/medal-bold-BSR6G_Fh.js +8 -0
- package/dist/menu-Cn8IB3xe.js +9 -0
- package/dist/menu-bold-bJi3sXf8.js +7 -0
- package/dist/message-CQXwA2aP.js +15 -0
- package/dist/message-bold-DGSzH5b3.js +8 -0
- package/dist/message-bulk-DmkeeBSn.js +17 -0
- package/dist/message-notif-Ba6f_BKJ.js +11 -0
- package/dist/message-text-Bp7l3HUP.js +9 -0
- package/dist/messages-2-bulk-B25uWmFb.js +9 -0
- package/dist/messages-R8UGpfJm.js +11 -0
- package/dist/messages-bold-DGVvdOR-.js +11 -0
- package/dist/messages-bulk-Du2QOYAd.js +11 -0
- package/dist/microscope-BEbq70sH.js +17 -0
- package/dist/microscope-bold-DSDepSys.js +17 -0
- package/dist/microscope-bulk-hiw0Y5qR.js +17 -0
- package/dist/milk-bulk-CxSdKEU6.js +9 -0
- package/dist/minus-CGjO90lO.js +7 -0
- package/dist/minus-bold-DQKlOnvC.js +7 -0
- package/dist/minus-square-Ds-6FtB_.js +8 -0
- package/dist/minus-square-bold-BBJ4VITq.js +7 -0
- package/dist/mobile-D8aosZ5a.js +9 -0
- package/dist/mobile-action-brzKV95_.js +40 -0
- package/dist/mobile-bold-C4rfKwzs.js +7 -0
- package/dist/mobile-bulk-Bkbtn0UN.js +14 -0
- package/dist/money-bill-CFZluOJg.js +12 -0
- package/dist/money-send-DlmQ1op8.js +14 -0
- package/dist/moneys-CvKAFahD.js +21 -0
- package/dist/moneys-bold-D1QCkYRU.js +11 -0
- package/dist/moneys-bulk-DUYwIR1z.js +20 -0
- package/dist/more-bold-BaHZT4vR.js +7 -0
- package/dist/more-bulk-BMgI8eM5.js +10 -0
- package/dist/more-circle-ZxODcqCE.js +10 -0
- package/dist/more-vertical-B3XZP8Lc.js +7 -0
- package/dist/more-zJVDEm_2.js +9 -0
- package/dist/mouse-square-bold-BFtF5tfm.js +11 -0
- package/dist/mouse-square-bulk-C4anqh_t.js +11 -0
- package/dist/mouse-square-wuNIGqpV.js +10 -0
- package/dist/music-bulk-BylgXvoM.js +9 -0
- package/dist/musicnote-bulk-DnWAOiLT.js +8 -0
- package/dist/not-contains-linear-D26FUvcO.js +12 -0
- package/dist/not-equal-C03Whu33.js +9 -0
- package/dist/not-in-range-DuiQ9Pa1.js +10 -0
- package/dist/notification-bold-Bol0sU7h.js +8 -0
- package/dist/notification-zGY9dIwv.js +9 -0
- package/dist/offline-exporting-BLnEcdCT.js +578 -0
- package/dist/outdent-BigmatWS.js +7 -0
- package/dist/outline-linear-CnmyocS2.js +9 -0
- package/dist/outline-lock-BSY2-kOq.js +9 -0
- package/dist/outline-lock-bulk-BuSi1qgm.js +9 -0
- package/dist/paper-plane-B3UrW7gE.js +7 -0
- package/dist/parenting-bulk-C_KmGK1d.js +167 -0
- package/dist/password-check-DMvBg21g.js +11 -0
- package/dist/pause-Cj28FYtM.js +8 -0
- package/dist/pause-bold-D5XIkqTi.js +8 -0
- package/dist/pause-circle-Cae0A6ty.js +9 -0
- package/dist/pause-circle-bold-DhyVBDK_.js +7 -0
- package/dist/pause-circle-bulk-Ct3GWoI8.js +9 -0
- package/dist/payoneer-D_Ims0yA.js +10 -0
- package/dist/paypal-DDeRuGvm.js +12 -0
- package/dist/paysafe-LfrdjypJ.js +11 -0
- package/dist/pen-square-De6Mul3Q.js +9 -0
- package/dist/pencil-BVNQaxcn.js +7 -0
- package/dist/people-CW9QlyJM.js +12 -0
- package/dist/people-bold-CvTpMAJm.js +12 -0
- package/dist/people-bulk-amrCUEAe.js +12 -0
- package/dist/percentage-square-CCmPpcLp.js +10 -0
- package/dist/percentage-square-bold-tlvS0n45.js +7 -0
- package/dist/play-B7g5zXrN.js +8 -0
- package/dist/play-bold-BPEt2uZ8.js +7 -0
- package/dist/play-bulk-z5laY23m.js +8 -0
- package/dist/play-circle-bold-BxajZyxU.js +11 -0
- package/dist/play-circle-xTlr-Bah.js +11 -0
- package/dist/play-console-colorful-uMVj3O96.js +20 -0
- package/dist/play-store-colorful-BI2BBcNv.js +17 -0
- package/dist/plug-CD_mn6bj.js +14 -0
- package/dist/plug-bold-BnnsTDN4.js +8 -0
- package/dist/poker-cards-bulk-CYL8LIXD.js +15 -0
- package/dist/presentation-chart-bulk-TzTWGlF2.js +16 -0
- package/dist/profile-2user-colored-bulk-LdvX_Lh5.js +20 -0
- package/dist/programming-arrows-bulk-CrCz5RVp.js +17 -0
- package/dist/project-bold-q6Y4vTWC.js +7 -0
- package/dist/puzzle-bulk-M9nLCEwX.js +21 -0
- package/dist/qiwi-BMEXmSTL.js +9 -0
- package/dist/question-DGqy4FYX.js +9 -0
- package/dist/question-bold--9xWcehb.js +7 -0
- package/dist/quickbooks-BuGT2Wil.js +13 -0
- package/dist/radar-DXWvLImO.js +13 -0
- package/dist/radar-bold-xYJn9nQ0.js +16 -0
- package/dist/radar-bulk-DEKCqw2l.js +12 -0
- package/dist/rank-D1JUY9jF.js +17 -0
- package/dist/rank-bold-CirYKj6o.js +17 -0
- package/dist/rank-bulk-Y5pOMN9L.js +14 -0
- package/dist/ranking-BTp0VocG.js +14 -0
- package/dist/ranking-bold-jWI8lq1p.js +17 -0
- package/dist/ranking-bulk-BziC-rSL.js +17 -0
- package/dist/record-circle-cuQuZdk5.js +7 -0
- package/dist/redo-bold-Bq7Mm8qW.js +7 -0
- package/dist/redo-komYif2B.js +8 -0
- package/dist/refresh-2-CEcafqsb.js +7 -0
- package/dist/refresh-D1_QxAPS.js +8 -0
- package/dist/reply-lX1U5pGz.js +7 -0
- package/dist/rocket-CDFcXfzU.js +15 -0
- package/dist/rocket-bulk-CDMbDuuu.js +15 -0
- package/dist/rotate-left-CPVgKej9.js +9 -0
- package/dist/rotate-right-DJNhwndG.js +9 -0
- package/dist/save-C4bOfVd3.js +15 -0
- package/dist/save-bold-ewC2l1LL.js +12 -0
- package/dist/scale-balanced-z4u4jHD7.js +7 -0
- package/dist/search-2-line-DRVRD3nz.js +9 -0
- package/dist/search-dollar-23lqrAiG.js +7 -0
- package/dist/search-normal-BDMnZZHY.js +8 -0
- package/dist/search-normal-bold-VwEbXhGL.js +8 -0
- package/dist/search-zoom-in-C-sz5qUW.js +15 -0
- package/dist/search-zoom-in-bold-CNgto3XJ.js +12 -0
- package/dist/search-zoom-in-bulk-w6WPTCol.js +15 -0
- package/dist/security-card-C7DX9uc_.js +11 -0
- package/dist/security-card-bold-DmMwb9qD.js +9 -0
- package/dist/selection-CGpQ4IVD.js +51 -0
- package/dist/send-DoQks9ur.js +9 -0
- package/dist/sepa-D7TYnjQL.js +10 -0
- package/dist/setting-2-linear-Bek5AmC0.js +12 -0
- package/dist/setting-bulk-_YttfQEy.js +12 -0
- package/dist/settings-DgdlQpYy.js +8 -0
- package/dist/settings-bold-Ctz8d58X.js +7 -0
- package/dist/settings-bulk-BKUqr8qO.js +11 -0
- package/dist/share-bold-D4qEkxT8.js +23 -0
- package/dist/share-bulk-RO3cQ_x4.js +23 -0
- package/dist/share-kjJsaGrj.js +12 -0
- package/dist/shield-tick-bold-C6Ae-T2c.js +7 -0
- package/dist/shop-pay-BF4Rhu1k.js +9 -0
- package/dist/shopping-cart-bold-1yJ1zQX5.js +10 -0
- package/dist/shopping-cart-qy6hFEGi.js +10 -0
- package/dist/sidebar-left-BKb_tNe-.js +12 -0
- package/dist/sidebar-left-bold-BBhTAgqG.js +11 -0
- package/dist/sidebar-left-bulk-x5Bop8BD.js +14 -0
- package/dist/sidebar-right-BdPLZYyl.js +12 -0
- package/dist/sidebar-right-bold-D0JicXZr.js +11 -0
- package/dist/sidebar-right-bulk-DlZYTeGY.js +14 -0
- package/dist/skrill-CODHfzBb.js +9 -0
- package/dist/slack-CCO7LtRc.js +12 -0
- package/dist/slash-DkdktXrD.js +8 -0
- package/dist/slash-bold-DmQ2iIpC.js +9 -0
- package/dist/slider-horizontal-U6-ttuLR.js +12 -0
- package/dist/slider-horizontal-bold-GysAEZ5z.js +12 -0
- package/dist/smart-notification-DEOAUo6P.js +11 -0
- package/dist/smart-notification-bold-DD5LkM1V.js +11 -0
- package/dist/smart-notification-bulk-BMq-In3M.js +11 -0
- package/dist/sms-BIU3AFQG.js +8 -0
- package/dist/sms-bold-DLlLpAVy.js +7 -0
- package/dist/soccer-bulk-SDKnYWlq.js +13 -0
- package/dist/social-facebook-Vsgbx4Q9.js +7 -0
- package/dist/social-linkedin-BtX3MMk4.js +8 -0
- package/dist/social-x-CJtjZfb5.js +7 -0
- package/dist/sofort-CFCEQZzO.js +9 -0
- package/dist/sort-BHzFZoxU.js +8 -0
- package/dist/sort-amount-down-DdtalMMi.js +7 -0
- package/dist/sort-bold-BWJgPjwD.js +8 -0
- package/dist/sort-bulk-Ce0DraOX.js +17 -0
- package/dist/speedometer-CA8z06Wc.js +9 -0
- package/dist/spin-dots-By-OygyV.js +17 -0
- package/dist/spin-round-CXIjkanj.js +8 -0
- package/dist/spin-three-circles-51MYjAF-.js +14 -0
- package/dist/spin-three-dots-CVoe7oun.js +8 -0
- package/dist/spinner-DBLwXGDq.js +7 -0
- package/dist/square-DDXZz6KP.js +7 -0
- package/dist/src/components/app-icon/index.vue.d.ts +2 -2
- package/dist/src/components/chart/chart.test.d.ts +1 -0
- package/dist/src/components/chart/components/ChartLoadingContainer.vue.d.ts +52 -0
- package/dist/src/components/chart/components/ChartWatermarkContainer.vue.d.ts +39 -0
- package/dist/src/components/chart/index.vue.d.ts +22 -0
- package/dist/src/components/chart/stories/chart.stories.d.ts +19 -0
- package/dist/src/components/chart/types.d.ts +98 -0
- package/dist/src/components/chart/utils.d.ts +114 -0
- package/dist/src/components/content-scroller/index.vue.d.ts +17 -8
- package/dist/src/components/date-picker/index.vue.d.ts +1 -1
- package/dist/src/components/date-picker-2/index.vue.d.ts +1 -1
- package/dist/src/components/ellipsis/index.vue.d.ts +2 -2
- package/dist/src/components/icon/utils.d.ts +19 -0
- package/dist/src/components/icon-button/index.vue.d.ts +3 -3
- package/dist/src/components/progress/components/circle.vue.d.ts +3 -3
- package/dist/src/components/progress/components/halfCircle.vue.d.ts +2 -2
- package/dist/src/components/progress/components/line.vue.d.ts +4 -4
- package/dist/src/components/progress/components/stepLine.vue.d.ts +2 -2
- package/dist/src/components/progress/index.vue.d.ts +2 -2
- package/dist/src/components/tabs-2/stories/default.stories.d.ts +3 -1
- package/dist/src/components/tooltip-2/index.vue.d.ts +2 -2
- package/dist/src/components/watchlist-button/index.vue.d.ts +3 -3
- package/dist/src/index.d.ts +4 -0
- package/dist/star-CYR6zA-5.js +7 -0
- package/dist/star-bold-BzynfdKp.js +7 -0
- package/dist/star-bulk-kS4PxU5l.js +17 -0
- package/dist/star-half-colored-C16vcthr.js +8 -0
- package/dist/status-up-BkqXBYXa.js +20 -0
- package/dist/steering-wheel-bulk-eFAnYs84.js +8 -0
- package/dist/stock-BWDjlVRw.js +2018 -0
- package/dist/stop-Csyx-j3Q.js +7 -0
- package/dist/stop-bold-DwHmvwBw.js +8 -0
- package/dist/story-qozfTqCa.js +17 -0
- package/dist/stream-D3m6CQms.js +11 -0
- package/dist/stripe-2-dGZyGbZJ.js +34 -0
- package/dist/stripe-BGLCTVe1.js +9 -0
- package/dist/style.css +1 -1
- package/dist/swap-CQKtj5nU.js +10 -0
- package/dist/swap-bold-CN0SIjRW.js +7 -0
- package/dist/sword-bulk-DSqI9OdR.js +11 -0
- package/dist/sync-3mFfFBAk.js +7 -0
- package/dist/table-list-D9ZbhecS.js +7 -0
- package/dist/tag-2-ChcYkkoA.js +9 -0
- package/dist/tag-2-bold-1gWoOqra.js +7 -0
- package/dist/tag-bold-BO6Got6Y.js +7 -0
- package/dist/tag-bulk-DMger3uW.js +11 -0
- package/dist/tag-hWyU0KQv.js +8 -0
- package/dist/tag-user-yIzNAf7h.js +9 -0
- package/dist/teacher-bulk-CwMy66kh.js +8 -0
- package/dist/thumbtack-CEiJoxPH.js +7 -0
- package/dist/tick-CM5ZL3Qz.js +7 -0
- package/dist/tick-circle-D1utoMQG.js +8 -0
- package/dist/tick-circle-bold-CwReCnyT.js +9 -0
- package/dist/tick-circle-bulk-g9qOpsmc.js +11 -0
- package/dist/tick-square-Ckv90a3j.js +8 -0
- package/dist/tick-square-bold-BXu-6zy6.js +7 -0
- package/dist/timer-DNApyCrK.js +9 -0
- package/dist/toggle-off-C4_3XQzA.js +8 -0
- package/dist/toggle-off-bold-CkVNp_Qj.js +7 -0
- package/dist/toggle-on-Ma6VQn8A.js +8 -0
- package/dist/toggle-on-bold-vPA7-vtA.js +7 -0
- package/dist/transgender-D4x9uUwb.js +7 -0
- package/dist/translate-DEip4fcd.js +28 -0
- package/dist/translate-bold-DEip4fcd.js +28 -0
- package/dist/translate-bulk-BccQsMmy.js +24 -0
- package/dist/trash-bold-D3dzoCoi.js +8 -0
- package/dist/trash-bulk-zt3TuKVz.js +17 -0
- package/dist/trash-sI_l-aeV.js +11 -0
- package/dist/trend-up-BgJyZAhr.js +9 -0
- package/dist/trend-up-bold-Dvmd1N6m.js +8 -0
- package/dist/trend-up-bulk-BUk_jEPW.js +11 -0
- package/dist/twitter-WYRG-lV1.js +7 -0
- package/dist/undo-CZW4aIBo.js +8 -0
- package/dist/undo-bold-t8JD3vg5.js +7 -0
- package/dist/unionpay-F4Wp8YvW.js +12 -0
- package/dist/unlock-88eOTtvy.js +9 -0
- package/dist/unlock-bold-CF6XBYVc.js +8 -0
- package/dist/upload-D-UfNbdq.js +10 -0
- package/dist/upload-bulk-Ds6QQDbC.js +14 -0
- package/dist/user-CLPQ1jf-.js +9 -0
- package/dist/user-avatar-BEHDLcVb.js +71 -0
- package/dist/user-default-rLZU5xJz.js +7 -0
- package/dist/user-outline-DEorumBN.js +8 -0
- package/dist/user-settings-B1b9iq-_.js +7 -0
- package/dist/user-square-BpV1PVxe.js +9 -0
- package/dist/venn-DF9EOpiq.js +444 -0
- package/dist/verifone-ntSBR0UJ.js +10 -0
- package/dist/video-bulk-CVE4bb-r.js +9 -0
- package/dist/video-play-COrJdRET.js +15 -0
- package/dist/video-play-bold-CrwVbpYx.js +14 -0
- package/dist/video-play-bulk-DCfV3wH-.js +9 -0
- package/dist/video-remove-P4CbIDet.js +11 -0
- package/dist/video-square-bulk-B84bU8eU.js +8 -0
- package/dist/visa-2-IpkhAN5c.js +8 -0
- package/dist/visa-DlGzh5bL.js +9 -0
- package/dist/volume-low-Dl8gPJP2.js +14 -0
- package/dist/warning-2-CueX3UxP.js +8 -0
- package/dist/warning-2-bold-B6eysImW.js +7 -0
- package/dist/warning-2-bulk-Nc-mh5Hb.js +9 -0
- package/dist/warning-4RjXZ8Hs.js +7 -0
- package/dist/watch-bulk-CnuBbD2z.js +10 -0
- package/dist/webmoney-BvEWju1R.js +9 -0
- package/dist/wechat-DXg2ByK_.js +9 -0
- package/dist/wifi-pHOUtbnH.js +10 -0
- package/dist/woman-DE2_-rvT.js +9 -0
- package/dist/wordcloud-BhcHo_Kt.js +222 -0
- package/dist/x-BA7jFDqs.js +9 -0
- package/dist/yandex-DGuZOb2q.js +9 -0
- package/dist/zoom-in-CAEFkw1j.js +14 -0
- package/dist/zoom-out-Dwah60p1.js +12 -0
- package/package.json +5 -2
|
@@ -0,0 +1,1257 @@
|
|
|
1
|
+
import { g as Ze } from "./index-BlFaxM2B.js";
|
|
2
|
+
function _e(U, Z) {
|
|
3
|
+
for (var E = 0; E < Z.length; E++) {
|
|
4
|
+
const B = Z[E];
|
|
5
|
+
if (typeof B != "string" && !Array.isArray(B)) {
|
|
6
|
+
for (const I in B)
|
|
7
|
+
if (I !== "default" && !(I in U)) {
|
|
8
|
+
const W = Object.getOwnPropertyDescriptor(B, I);
|
|
9
|
+
W && Object.defineProperty(U, I, W.get ? W : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => B[I]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(U, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var $ = { exports: {} }, Je = $.exports, ui;
|
|
19
|
+
function Qe() {
|
|
20
|
+
return ui || (ui = 1, function(U, Z) {
|
|
21
|
+
(function(E, B) {
|
|
22
|
+
U.exports = B(E._Highcharts, E._Highcharts.SeriesRegistry, E._Highcharts.Templating, E._Highcharts.AST);
|
|
23
|
+
})(typeof window > "u" ? Je : window, (E, B, I, W) => (() => {
|
|
24
|
+
var _, J, Q, tt, fi = { 512: (o) => {
|
|
25
|
+
o.exports = B;
|
|
26
|
+
}, 660: (o) => {
|
|
27
|
+
o.exports = W;
|
|
28
|
+
}, 944: (o) => {
|
|
29
|
+
o.exports = E;
|
|
30
|
+
}, 984: (o) => {
|
|
31
|
+
o.exports = I;
|
|
32
|
+
} }, ft = {};
|
|
33
|
+
function A(o) {
|
|
34
|
+
var t = ft[o];
|
|
35
|
+
if (t !== void 0) return t.exports;
|
|
36
|
+
var i = ft[o] = { exports: {} };
|
|
37
|
+
return fi[o](i, i.exports, A), i.exports;
|
|
38
|
+
}
|
|
39
|
+
A.n = (o) => {
|
|
40
|
+
var t = o && o.__esModule ? () => o.default : () => o;
|
|
41
|
+
return A.d(t, { a: t }), t;
|
|
42
|
+
}, A.d = (o, t) => {
|
|
43
|
+
for (var i in t) A.o(t, i) && !A.o(o, i) && Object.defineProperty(o, i, { enumerable: !0, get: t[i] });
|
|
44
|
+
}, A.o = (o, t) => Object.prototype.hasOwnProperty.call(o, t);
|
|
45
|
+
var mt = {};
|
|
46
|
+
A.d(mt, { default: () => $e });
|
|
47
|
+
var mi = A(944), x = A.n(mi);
|
|
48
|
+
let { addEvent: H, erase: xt, find: xi, fireEvent: yi, pick: vi, wrap: bi } = x();
|
|
49
|
+
function yt(o, t) {
|
|
50
|
+
let i = this.initAnnotation(o);
|
|
51
|
+
return this.options.annotations.push(i.options), vi(t, !0) && (i.redraw(), i.graphic.attr({ opacity: 1 })), i;
|
|
52
|
+
}
|
|
53
|
+
function Ai() {
|
|
54
|
+
let o = this;
|
|
55
|
+
o.plotBoxClip = this.renderer.clipRect(this.plotBox), o.controlPointsGroup = o.renderer.g("control-points").attr({ zIndex: 99 }).clip(o.plotBoxClip).add(), o.options.annotations.forEach((t, i) => {
|
|
56
|
+
if (!o.annotations.some((e) => e.options === t)) {
|
|
57
|
+
let e = o.initAnnotation(t);
|
|
58
|
+
o.options.annotations[i] = e.options;
|
|
59
|
+
}
|
|
60
|
+
}), o.drawAnnotations(), H(o, "redraw", o.drawAnnotations), H(o, "destroy", function() {
|
|
61
|
+
o.plotBoxClip.destroy(), o.controlPointsGroup.destroy();
|
|
62
|
+
}), H(o, "exportData", function(t) {
|
|
63
|
+
let i = o.annotations, e = (this.options.exporting && this.options.exporting.csv || {}).columnHeaderFormatter, s = !t.dataRows[1].xValues, n = o.options.lang && o.options.lang.exportData && o.options.lang.exportData.annotationHeader, a = t.dataRows[0].length, r = o.options.exporting && o.options.exporting.csv && o.options.exporting.csv.annotations && o.options.exporting.csv.annotations.itemDelimiter, h = o.options.exporting && o.options.exporting.csv && o.options.exporting.csv.annotations && o.options.exporting.csv.annotations.join;
|
|
64
|
+
i.forEach((g) => {
|
|
65
|
+
g.options.labelOptions && g.options.labelOptions.includeInDataExport && g.labels.forEach((f) => {
|
|
66
|
+
if (f.options.text) {
|
|
67
|
+
let d = f.options.text;
|
|
68
|
+
f.points.forEach((p) => {
|
|
69
|
+
let u = p.x, m = p.series.xAxis ? p.series.xAxis.index : -1, y = !1;
|
|
70
|
+
if (m === -1) {
|
|
71
|
+
let v = t.dataRows[0].length, b = Array(v);
|
|
72
|
+
for (let D = 0; D < v; ++D) b[D] = "";
|
|
73
|
+
b.push(d), b.xValues = [], b.xValues[m] = u, t.dataRows.push(b), y = !0;
|
|
74
|
+
}
|
|
75
|
+
if (y || t.dataRows.forEach((v) => {
|
|
76
|
+
!y && v.xValues && m !== void 0 && u === v.xValues[m] && (h && v.length > a ? v[v.length - 1] += r + d : v.push(d), y = !0);
|
|
77
|
+
}), !y) {
|
|
78
|
+
let v = t.dataRows[0].length, b = Array(v);
|
|
79
|
+
for (let D = 0; D < v; ++D) b[D] = "";
|
|
80
|
+
b[0] = u, b.push(d), b.xValues = [], m !== void 0 && (b.xValues[m] = u), t.dataRows.push(b);
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
let c = 0;
|
|
87
|
+
t.dataRows.forEach((g) => {
|
|
88
|
+
c = Math.max(c, g.length);
|
|
89
|
+
});
|
|
90
|
+
let l = c - t.dataRows[0].length;
|
|
91
|
+
for (let g = 0; g < l; g++) {
|
|
92
|
+
let f = function(d) {
|
|
93
|
+
let p;
|
|
94
|
+
return e && (p = e(d)) !== !1 ? p : (p = n + " " + d, s ? { columnTitle: p, topLevelColumnTitle: p } : p);
|
|
95
|
+
}(g + 1);
|
|
96
|
+
s ? (t.dataRows[0].push(f.topLevelColumnTitle), t.dataRows[1].push(f.columnTitle)) : t.dataRows[0].push(f);
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
function ki() {
|
|
101
|
+
this.plotBoxClip.attr(this.plotBox), this.annotations.forEach((o) => {
|
|
102
|
+
o.redraw(), o.graphic.animate({ opacity: 1 }, o.animationConfig);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
function wi(o) {
|
|
106
|
+
let t = this.annotations, i = o.coll === "annotations" ? o : xi(t, function(e) {
|
|
107
|
+
return e.options.id === o;
|
|
108
|
+
});
|
|
109
|
+
i && (yi(i, "remove"), xt(this.options.annotations, i.options), xt(t, i), i.destroy());
|
|
110
|
+
}
|
|
111
|
+
function Ei() {
|
|
112
|
+
this.annotations = [], this.options.annotations || (this.options.annotations = []);
|
|
113
|
+
}
|
|
114
|
+
function Pi(o) {
|
|
115
|
+
this.chart.hasDraggedAnnotation || o.apply(this, Array.prototype.slice.call(arguments, 1));
|
|
116
|
+
}
|
|
117
|
+
(_ || (_ = {})).compose = function(o, t, i) {
|
|
118
|
+
let e = t.prototype;
|
|
119
|
+
if (!e.addAnnotation) {
|
|
120
|
+
let s = i.prototype;
|
|
121
|
+
H(t, "afterInit", Ei), e.addAnnotation = yt, e.callbacks.push(Ai), e.collectionsWithInit.annotations = [yt], e.collectionsWithUpdate.push("annotations"), e.drawAnnotations = ki, e.removeAnnotation = wi, e.initAnnotation = function(n) {
|
|
122
|
+
let a = new (o.types[n.type] || o)(this, n);
|
|
123
|
+
return this.annotations.push(a), a;
|
|
124
|
+
}, bi(s, "onContainerMouseDown", Pi);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
let Ci = _, { defined: Oi } = x(), { doc: vt, isTouchDevice: j } = x(), { addEvent: S, fireEvent: it, objectEach: Bi, pick: bt, removeEvent: Mi } = x(), At = class {
|
|
128
|
+
addEvents() {
|
|
129
|
+
let o = this, t = function(i) {
|
|
130
|
+
S(i, j ? "touchstart" : "mousedown", (e) => {
|
|
131
|
+
o.onMouseDown(e);
|
|
132
|
+
}, { passive: !1 });
|
|
133
|
+
};
|
|
134
|
+
if (t(this.graphic.element), (o.labels || []).forEach((i) => {
|
|
135
|
+
i.options.useHTML && i.graphic.text && !i.graphic.text.foreignObject && t(i.graphic.text.element);
|
|
136
|
+
}), Bi(o.options.events, (i, e) => {
|
|
137
|
+
let s = function(n) {
|
|
138
|
+
e === "click" && o.cancelClick || i.call(o, o.chart.pointer?.normalize(n), o.target);
|
|
139
|
+
};
|
|
140
|
+
(o.nonDOMEvents || []).indexOf(e) === -1 ? (S(o.graphic.element, e, s, { passive: !1 }), o.graphic.div && S(o.graphic.div, e, s, { passive: !1 })) : S(o, e, s, { passive: !1 });
|
|
141
|
+
}), o.options.draggable && (S(o, "drag", o.onDrag), !o.graphic.renderer.styledMode)) {
|
|
142
|
+
let i = { cursor: { x: "ew-resize", y: "ns-resize", xy: "move" }[o.options.draggable] };
|
|
143
|
+
o.graphic.css(i), (o.labels || []).forEach((e) => {
|
|
144
|
+
e.options.useHTML && e.graphic.text && !e.graphic.text.foreignObject && e.graphic.text.css(i);
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
o.isUpdating || it(o, "add");
|
|
148
|
+
}
|
|
149
|
+
destroy() {
|
|
150
|
+
this.removeDocEvents(), Mi(this), this.hcEvents = null;
|
|
151
|
+
}
|
|
152
|
+
mouseMoveToRadians(o, t, i) {
|
|
153
|
+
let e = o.prevChartY - i, s = o.prevChartX - t, n = o.chartY - i, a = o.chartX - t, r;
|
|
154
|
+
return this.chart.inverted && (r = s, s = e, e = r, r = a, a = n, n = r), Math.atan2(n, a) - Math.atan2(e, s);
|
|
155
|
+
}
|
|
156
|
+
mouseMoveToScale(o, t, i) {
|
|
157
|
+
let e = o.prevChartX - t, s = o.prevChartY - i, n = o.chartX - t, a = o.chartY - i, r = (n || 1) / (e || 1), h = (a || 1) / (s || 1);
|
|
158
|
+
if (this.chart.inverted) {
|
|
159
|
+
let c = h;
|
|
160
|
+
h = r, r = c;
|
|
161
|
+
}
|
|
162
|
+
return { x: r, y: h };
|
|
163
|
+
}
|
|
164
|
+
mouseMoveToTranslation(o) {
|
|
165
|
+
let t = o.chartX - o.prevChartX, i = o.chartY - o.prevChartY, e;
|
|
166
|
+
return this.chart.inverted && (e = i, i = t, t = e), { x: t, y: i };
|
|
167
|
+
}
|
|
168
|
+
onDrag(o) {
|
|
169
|
+
if (this.chart.isInsidePlot(o.chartX - this.chart.plotLeft, o.chartY - this.chart.plotTop, { visiblePlotOnly: !0 })) {
|
|
170
|
+
let t = this.mouseMoveToTranslation(o);
|
|
171
|
+
this.options.draggable === "x" && (t.y = 0), this.options.draggable === "y" && (t.x = 0), this.points.length ? this.translate(t.x, t.y) : (this.shapes.forEach((i) => i.translate(t.x, t.y)), this.labels.forEach((i) => i.translate(t.x, t.y))), this.redraw(!1);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
onMouseDown(o) {
|
|
175
|
+
if (o.preventDefault && o.preventDefault(), o.button === 2) return;
|
|
176
|
+
let t = this, i = t.chart.pointer, e = o?.sourceCapabilities?.firesTouchEvents || !1, s = (o = i?.normalize(o) || o).chartX, n = o.chartY;
|
|
177
|
+
t.cancelClick = !1, t.chart.hasDraggedAnnotation = !0, t.removeDrag = S(vt, j || e ? "touchmove" : "mousemove", function(a) {
|
|
178
|
+
t.hasDragged = !0, (a = i?.normalize(a) || a).prevChartX = s, a.prevChartY = n, it(t, "drag", a), s = a.chartX, n = a.chartY;
|
|
179
|
+
}, j || e ? { passive: !1 } : void 0), t.removeMouseUp = S(vt, j || e ? "touchend" : "mouseup", function() {
|
|
180
|
+
let a = bt(t.target && t.target.annotation, t.target);
|
|
181
|
+
a && (a.cancelClick = t.hasDragged), t.cancelClick = t.hasDragged, t.chart.hasDraggedAnnotation = !1, t.hasDragged && it(bt(a, t), "afterUpdate"), t.hasDragged = !1, t.onMouseUp();
|
|
182
|
+
}, j || e ? { passive: !1 } : void 0);
|
|
183
|
+
}
|
|
184
|
+
onMouseUp() {
|
|
185
|
+
this.removeDocEvents();
|
|
186
|
+
}
|
|
187
|
+
removeDocEvents() {
|
|
188
|
+
this.removeDrag && (this.removeDrag = this.removeDrag()), this.removeMouseUp && (this.removeMouseUp = this.removeMouseUp());
|
|
189
|
+
}
|
|
190
|
+
}, { merge: Ni, pick: Ti } = x(), kt = class extends At {
|
|
191
|
+
constructor(o, t, i, e) {
|
|
192
|
+
super(), this.nonDOMEvents = ["drag"], this.chart = o, this.target = t, this.options = i, this.index = Ti(i.index, e);
|
|
193
|
+
}
|
|
194
|
+
destroy() {
|
|
195
|
+
super.destroy(), this.graphic && (this.graphic = this.graphic.destroy()), this.chart = null, this.target = null, this.options = null;
|
|
196
|
+
}
|
|
197
|
+
redraw(o) {
|
|
198
|
+
this.graphic[o ? "animate" : "attr"](this.options.positioner.call(this, this.target));
|
|
199
|
+
}
|
|
200
|
+
render() {
|
|
201
|
+
let o = this.chart, t = this.options;
|
|
202
|
+
this.graphic = o.renderer.symbol(t.symbol, 0, 0, t.width, t.height).add(o.controlPointsGroup).css(t.style), this.setVisibility(t.visible), this.addEvents();
|
|
203
|
+
}
|
|
204
|
+
setVisibility(o) {
|
|
205
|
+
this.graphic[o ? "show" : "hide"](), this.options.visible = o;
|
|
206
|
+
}
|
|
207
|
+
update(o) {
|
|
208
|
+
let t = this.chart, i = this.target, e = this.index, s = Ni(!0, this.options, o);
|
|
209
|
+
this.destroy(), this.constructor(t, i, s, e), this.render(t.controlPointsGroup), this.redraw();
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
var Di = A(512), wt = A.n(Di);
|
|
213
|
+
let { series: { prototype: Li } } = wt(), { defined: et, fireEvent: Ii } = x();
|
|
214
|
+
class Y {
|
|
215
|
+
static fromPoint(t) {
|
|
216
|
+
return new Y(t.series.chart, null, { x: t.x, y: t.y, xAxis: t.series.xAxis, yAxis: t.series.yAxis });
|
|
217
|
+
}
|
|
218
|
+
static pointToPixels(t, i) {
|
|
219
|
+
let e = t.series, s = e.chart, n = t.plotX || 0, a = t.plotY || 0, r;
|
|
220
|
+
return s.inverted && (t.mock ? (n = t.plotY, a = t.plotX) : (n = s.plotWidth - (t.plotY || 0), a = s.plotHeight - (t.plotX || 0))), e && !i && (n += (r = e.getPlotBox()).translateX, a += r.translateY), { x: n, y: a };
|
|
221
|
+
}
|
|
222
|
+
static pointToOptions(t) {
|
|
223
|
+
return { x: t.x, y: t.y, xAxis: t.series.xAxis, yAxis: t.series.yAxis };
|
|
224
|
+
}
|
|
225
|
+
constructor(t, i, e) {
|
|
226
|
+
this.mock = !0, this.point = this, this.series = { visible: !0, chart: t, getPlotBox: Li.getPlotBox }, this.target = i || null, this.options = e, this.applyOptions(this.getOptions());
|
|
227
|
+
}
|
|
228
|
+
applyOptions(t) {
|
|
229
|
+
this.command = t.command, this.setAxis(t, "x"), this.setAxis(t, "y"), this.refresh();
|
|
230
|
+
}
|
|
231
|
+
getOptions() {
|
|
232
|
+
return this.hasDynamicOptions() ? this.options(this.target) : this.options;
|
|
233
|
+
}
|
|
234
|
+
hasDynamicOptions() {
|
|
235
|
+
return typeof this.options == "function";
|
|
236
|
+
}
|
|
237
|
+
isInsidePlot() {
|
|
238
|
+
let t = this.plotX, i = this.plotY, e = this.series.xAxis, s = this.series.yAxis, n = { x: t, y: i, isInsidePlot: !0, options: {} };
|
|
239
|
+
return e && (n.isInsidePlot = et(t) && t >= 0 && t <= e.len), s && (n.isInsidePlot = n.isInsidePlot && et(i) && i >= 0 && i <= s.len), Ii(this.series.chart, "afterIsInsidePlot", n), n.isInsidePlot;
|
|
240
|
+
}
|
|
241
|
+
refresh() {
|
|
242
|
+
let t = this.series, i = t.xAxis, e = t.yAxis, s = this.getOptions();
|
|
243
|
+
i ? (this.x = s.x, this.plotX = i.toPixels(s.x, !0)) : (this.x = void 0, this.plotX = s.x), e ? (this.y = s.y, this.plotY = e.toPixels(s.y, !0)) : (this.y = null, this.plotY = s.y), this.isInside = this.isInsidePlot();
|
|
244
|
+
}
|
|
245
|
+
refreshOptions() {
|
|
246
|
+
let t = this.series, i = t.xAxis, e = t.yAxis;
|
|
247
|
+
this.x = this.options.x = i ? this.options.x = i.toValue(this.plotX, !0) : this.plotX, this.y = this.options.y = e ? e.toValue(this.plotY, !0) : this.plotY;
|
|
248
|
+
}
|
|
249
|
+
rotate(t, i, e) {
|
|
250
|
+
if (!this.hasDynamicOptions()) {
|
|
251
|
+
let s = Math.cos(e), n = Math.sin(e), a = this.plotX - t, r = this.plotY - i;
|
|
252
|
+
this.plotX = a * s - r * n + t, this.plotY = a * n + r * s + i, this.refreshOptions();
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
scale(t, i, e, s) {
|
|
256
|
+
if (!this.hasDynamicOptions()) {
|
|
257
|
+
let n = this.plotX * e, a = this.plotY * s;
|
|
258
|
+
this.plotX = (1 - e) * t + n, this.plotY = (1 - s) * i + a, this.refreshOptions();
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
setAxis(t, i) {
|
|
262
|
+
let e = i + "Axis", s = t[e], n = this.series.chart;
|
|
263
|
+
this.series[e] = typeof s == "object" ? s : et(s) ? n[e][s] || n.get(s) : null;
|
|
264
|
+
}
|
|
265
|
+
toAnchor() {
|
|
266
|
+
let t = [this.plotX, this.plotY, 0, 0];
|
|
267
|
+
return this.series.chart.inverted && (t[0] = this.plotY, t[1] = this.plotX), t;
|
|
268
|
+
}
|
|
269
|
+
translate(t, i, e, s) {
|
|
270
|
+
this.hasDynamicOptions() || (this.plotX += e, this.plotY += s, this.refreshOptions());
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
(function(o) {
|
|
274
|
+
function t() {
|
|
275
|
+
let d = this.controlPoints, p = this.options.controlPoints || [];
|
|
276
|
+
p.forEach((u, m) => {
|
|
277
|
+
let y = x().merge(this.options.controlPointOptions, u);
|
|
278
|
+
y.index || (y.index = m), p[m] = y, d.push(new kt(this.chart, this, y));
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
function i(d) {
|
|
282
|
+
let p = d.series.getPlotBox(), u = d.series.chart, m = d.mock ? d.toAnchor() : u.tooltip && u.tooltip.getAnchor.call({ chart: d.series.chart }, d) || [0, 0, 0, 0], y = { x: m[0] + (this.options.x || 0), y: m[1] + (this.options.y || 0), height: m[2] || 0, width: m[3] || 0 };
|
|
283
|
+
return { relativePosition: y, absolutePosition: x().merge(y, { x: y.x + (d.mock ? p.translateX : u.plotLeft), y: y.y + (d.mock ? p.translateY : u.plotTop) }) };
|
|
284
|
+
}
|
|
285
|
+
function e() {
|
|
286
|
+
this.controlPoints.forEach((d) => d.destroy()), this.chart = null, this.controlPoints = null, this.points = null, this.options = null, this.annotation && (this.annotation = null);
|
|
287
|
+
}
|
|
288
|
+
function s() {
|
|
289
|
+
let d = this.options;
|
|
290
|
+
return d.points || d.point && x().splat(d.point);
|
|
291
|
+
}
|
|
292
|
+
function n() {
|
|
293
|
+
let d, p, u = this.getPointsOptions(), m = this.points, y = u && u.length || 0;
|
|
294
|
+
for (d = 0; d < y; d++) {
|
|
295
|
+
if (!(p = this.point(u[d], m[d]))) {
|
|
296
|
+
m.length = 0;
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
p.mock && p.refresh(), m[d] = p;
|
|
300
|
+
}
|
|
301
|
+
return m;
|
|
302
|
+
}
|
|
303
|
+
function a(d, p) {
|
|
304
|
+
if (d && d.series) return d;
|
|
305
|
+
if (!p || p.series === null) {
|
|
306
|
+
if (x().isObject(d)) p = new Y(this.chart, this, d);
|
|
307
|
+
else if (x().isString(d)) p = this.chart.get(d) || null;
|
|
308
|
+
else if (typeof d == "function") {
|
|
309
|
+
let u = d.call(p, this);
|
|
310
|
+
p = u.series ? u : new Y(this.chart, this, d);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
return p;
|
|
314
|
+
}
|
|
315
|
+
function r(d) {
|
|
316
|
+
this.controlPoints.forEach((p) => p.redraw(d));
|
|
317
|
+
}
|
|
318
|
+
function h() {
|
|
319
|
+
this.controlPoints.forEach((d) => d.render());
|
|
320
|
+
}
|
|
321
|
+
function c(d, p, u, m, y) {
|
|
322
|
+
if (this.chart.inverted) {
|
|
323
|
+
let v = p;
|
|
324
|
+
p = u, u = v;
|
|
325
|
+
}
|
|
326
|
+
this.points.forEach((v, b) => this.transformPoint(d, p, u, m, y, b), this);
|
|
327
|
+
}
|
|
328
|
+
function l(d, p, u, m, y, v) {
|
|
329
|
+
let b = this.points[v];
|
|
330
|
+
b.mock || (b = this.points[v] = Y.fromPoint(b)), b[d](p, u, m, y);
|
|
331
|
+
}
|
|
332
|
+
function g(d, p) {
|
|
333
|
+
this.transform("translate", null, null, d, p);
|
|
334
|
+
}
|
|
335
|
+
function f(d, p, u) {
|
|
336
|
+
this.transformPoint("translate", null, null, d, p, u);
|
|
337
|
+
}
|
|
338
|
+
o.compose = function(d) {
|
|
339
|
+
let p = d.prototype;
|
|
340
|
+
p.addControlPoints || x().merge(!0, p, { addControlPoints: t, anchor: i, destroyControlTarget: e, getPointsOptions: s, linkPoints: n, point: a, redrawControlPoints: r, renderControlPoints: h, transform: c, transformPoint: l, translate: g, translatePoint: f });
|
|
341
|
+
};
|
|
342
|
+
})(J || (J = {}));
|
|
343
|
+
let Et = J, { merge: Pt } = x();
|
|
344
|
+
class Ct {
|
|
345
|
+
constructor(t, i, e, s) {
|
|
346
|
+
this.annotation = t, this.chart = t.chart, this.collection = s === "label" ? "labels" : "shapes", this.controlPoints = [], this.options = i, this.points = [], this.index = e, this.itemType = s, this.init(t, i, e);
|
|
347
|
+
}
|
|
348
|
+
attr(...t) {
|
|
349
|
+
this.graphic.attr.apply(this.graphic, arguments);
|
|
350
|
+
}
|
|
351
|
+
attrsFromOptions(t) {
|
|
352
|
+
let i, e, s = this.constructor.attrsMap, n = {}, a = this.chart.styledMode;
|
|
353
|
+
for (i in t) e = s[i], s[i] === void 0 || a && ["fill", "stroke", "stroke-width"].indexOf(e) !== -1 || (n[e] = t[i]);
|
|
354
|
+
return n;
|
|
355
|
+
}
|
|
356
|
+
destroy() {
|
|
357
|
+
this.graphic && (this.graphic = this.graphic.destroy()), this.tracker && (this.tracker = this.tracker.destroy()), this.destroyControlTarget();
|
|
358
|
+
}
|
|
359
|
+
init(t, i, e) {
|
|
360
|
+
this.annotation = t, this.chart = t.chart, this.options = i, this.points = [], this.controlPoints = [], this.index = e, this.linkPoints(), this.addControlPoints();
|
|
361
|
+
}
|
|
362
|
+
redraw(t) {
|
|
363
|
+
this.redrawControlPoints(t);
|
|
364
|
+
}
|
|
365
|
+
render(t) {
|
|
366
|
+
this.options.className && this.graphic && this.graphic.addClass(this.options.className), this.renderControlPoints();
|
|
367
|
+
}
|
|
368
|
+
rotate(t, i, e) {
|
|
369
|
+
this.transform("rotate", t, i, e);
|
|
370
|
+
}
|
|
371
|
+
scale(t, i, e, s) {
|
|
372
|
+
this.transform("scale", t, i, e, s);
|
|
373
|
+
}
|
|
374
|
+
setControlPointsVisibility(t) {
|
|
375
|
+
this.controlPoints.forEach((i) => {
|
|
376
|
+
i.setVisibility(t);
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
shouldBeDrawn() {
|
|
380
|
+
return !!this.points.length;
|
|
381
|
+
}
|
|
382
|
+
translateShape(t, i, e) {
|
|
383
|
+
let s = this.annotation.chart, n = this.annotation.userOptions, a = s.annotations.indexOf(this.annotation), r = s.options.annotations[a];
|
|
384
|
+
this.translatePoint(t, i, 0), e && this.translatePoint(t, i, 1), r[this.collection][this.index].point = this.options.point, n[this.collection][this.index].point = this.options.point;
|
|
385
|
+
}
|
|
386
|
+
update(t) {
|
|
387
|
+
let i = this.annotation, e = Pt(!0, this.options, t), s = this.graphic.parentGroup, n = this.constructor;
|
|
388
|
+
this.destroy(), Pt(!0, this, new n(i, e, this.index, this.itemType)), this.render(s), this.redraw();
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
Et.compose(Ct);
|
|
392
|
+
let F = Ct, { defaultMarkers: Si } = { defaultMarkers: { arrow: { tagName: "marker", attributes: { id: "arrow", refY: 5, refX: 9, markerWidth: 10, markerHeight: 10 }, children: [{ tagName: "path", attributes: { d: "M 0 0 L 10 5 L 0 10 Z", "stroke-width": 0 } }] }, "reverse-arrow": { tagName: "marker", attributes: { id: "reverse-arrow", refY: 5, refX: 1, markerWidth: 10, markerHeight: 10 }, children: [{ tagName: "path", attributes: { d: "M 0 5 L 10 0 L 10 10 Z", "stroke-width": 0 } }] } } }, { addEvent: Yi, defined: Xi, extend: Fi, merge: z, uniqueKey: Ri } = x(), Ui = Bt("marker-end"), Wi = Bt("marker-start"), Ot = "rgba(192,192,192," + (x().svg ? 1e-4 : 2e-3) + ")";
|
|
393
|
+
function Bt(o) {
|
|
394
|
+
return function(t) {
|
|
395
|
+
this.attr(o, "url(#" + t + ")");
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
function ji() {
|
|
399
|
+
this.options.defs = z(Si, this.options.defs || {});
|
|
400
|
+
}
|
|
401
|
+
function qi(o, t) {
|
|
402
|
+
let i = { attributes: { id: o } }, e = { stroke: t.color || "none", fill: t.color || "rgba(0, 0, 0, 0.75)" };
|
|
403
|
+
i.children = t.children && t.children.map(function(a) {
|
|
404
|
+
return z(e, a);
|
|
405
|
+
});
|
|
406
|
+
let s = z(!0, { attributes: { markerWidth: 20, markerHeight: 20, refX: 0, refY: 0, orient: "auto" } }, t, i), n = this.definition(s);
|
|
407
|
+
return n.id = o, n;
|
|
408
|
+
}
|
|
409
|
+
class R extends F {
|
|
410
|
+
static compose(t, i) {
|
|
411
|
+
let e = i.prototype;
|
|
412
|
+
e.addMarker || (Yi(t, "afterGetContainer", ji), e.addMarker = qi);
|
|
413
|
+
}
|
|
414
|
+
constructor(t, i, e) {
|
|
415
|
+
super(t, i, e, "shape"), this.type = "path";
|
|
416
|
+
}
|
|
417
|
+
toD() {
|
|
418
|
+
let t = this.options.d;
|
|
419
|
+
if (t) return typeof t == "function" ? t.call(this) : t;
|
|
420
|
+
let i = this.points, e = i.length, s = [], n = e, a = i[0], r = n && this.anchor(a).absolutePosition, h = 0, c;
|
|
421
|
+
if (r) for (s.push(["M", r.x, r.y]); ++h < e && n; ) c = (a = i[h]).command || "L", r = this.anchor(a).absolutePosition, c === "M" ? s.push([c, r.x, r.y]) : c === "L" ? s.push([c, r.x, r.y]) : c === "Z" && s.push([c]), n = a.series.visible;
|
|
422
|
+
return n && this.graphic ? this.chart.renderer.crispLine(s, this.graphic.strokeWidth()) : null;
|
|
423
|
+
}
|
|
424
|
+
shouldBeDrawn() {
|
|
425
|
+
return super.shouldBeDrawn() || !!this.options.d;
|
|
426
|
+
}
|
|
427
|
+
render(t) {
|
|
428
|
+
let i = this.options, e = this.attrsFromOptions(i);
|
|
429
|
+
this.graphic = this.annotation.chart.renderer.path([["M", 0, 0]]).attr(e).add(t), this.tracker = this.annotation.chart.renderer.path([["M", 0, 0]]).addClass("highcharts-tracker-line").attr({ zIndex: 2 }).add(t), this.annotation.chart.styledMode || this.tracker.attr({ "stroke-linejoin": "round", stroke: Ot, fill: Ot, "stroke-width": this.graphic.strokeWidth() + 2 * i.snap }), super.render(), Fi(this.graphic, { markerStartSetter: Wi, markerEndSetter: Ui }), this.setMarkers(this);
|
|
430
|
+
}
|
|
431
|
+
redraw(t) {
|
|
432
|
+
if (this.graphic) {
|
|
433
|
+
let i = this.toD(), e = t ? "animate" : "attr";
|
|
434
|
+
i ? (this.graphic[e]({ d: i }), this.tracker[e]({ d: i })) : (this.graphic.attr({ d: "M 0 -9000000000" }), this.tracker.attr({ d: "M 0 -9000000000" })), this.graphic.placed = this.tracker.placed = !!i;
|
|
435
|
+
}
|
|
436
|
+
super.redraw(t);
|
|
437
|
+
}
|
|
438
|
+
setMarkers(t) {
|
|
439
|
+
let i = t.options, e = t.chart, s = e.options.defs, n = i.fill, a = Xi(n) && n !== "none" ? n : i.stroke;
|
|
440
|
+
["markerStart", "markerEnd"].forEach(function(r) {
|
|
441
|
+
let h, c, l, g, f = i[r];
|
|
442
|
+
if (f) {
|
|
443
|
+
for (l in s) if ((f === ((h = s[l]).attributes && h.attributes.id) || f === h.id) && h.tagName === "marker") {
|
|
444
|
+
c = h;
|
|
445
|
+
break;
|
|
446
|
+
}
|
|
447
|
+
c && (g = t[r] = e.renderer.addMarker((i.id || Ri()) + "-" + f, z(c, { color: a })), t.attr(r, g.getAttribute("id")));
|
|
448
|
+
}
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
R.attrsMap = { dashStyle: "dashstyle", strokeWidth: "stroke-width", stroke: "stroke", fill: "fill", zIndex: "zIndex" };
|
|
453
|
+
let { merge: Hi } = x();
|
|
454
|
+
class Mt extends F {
|
|
455
|
+
constructor(t, i, e) {
|
|
456
|
+
super(t, i, e, "shape"), this.type = "rect", this.translate = super.translateShape;
|
|
457
|
+
}
|
|
458
|
+
render(t) {
|
|
459
|
+
let i = this.attrsFromOptions(this.options);
|
|
460
|
+
this.graphic = this.annotation.chart.renderer.rect(0, -9e9, 0, 0).attr(i).add(t), super.render();
|
|
461
|
+
}
|
|
462
|
+
redraw(t) {
|
|
463
|
+
if (this.graphic) {
|
|
464
|
+
let i = this.anchor(this.points[0]).absolutePosition;
|
|
465
|
+
i ? this.graphic[t ? "animate" : "attr"]({ x: i.x, y: i.y, width: this.options.width, height: this.options.height }) : this.attr({ x: 0, y: -9e9 }), this.graphic.placed = !!i;
|
|
466
|
+
}
|
|
467
|
+
super.redraw(t);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
Mt.attrsMap = Hi(R.attrsMap, { width: "width", height: "height" });
|
|
471
|
+
let { merge: zi } = x();
|
|
472
|
+
class Nt extends F {
|
|
473
|
+
constructor(t, i, e) {
|
|
474
|
+
super(t, i, e, "shape"), this.type = "circle", this.translate = super.translateShape;
|
|
475
|
+
}
|
|
476
|
+
redraw(t) {
|
|
477
|
+
if (this.graphic) {
|
|
478
|
+
let i = this.anchor(this.points[0]).absolutePosition;
|
|
479
|
+
i ? this.graphic[t ? "animate" : "attr"]({ x: i.x, y: i.y, r: this.options.r }) : this.graphic.attr({ x: 0, y: -9e9 }), this.graphic.placed = !!i;
|
|
480
|
+
}
|
|
481
|
+
super.redraw.call(this, t);
|
|
482
|
+
}
|
|
483
|
+
render(t) {
|
|
484
|
+
let i = this.attrsFromOptions(this.options);
|
|
485
|
+
this.graphic = this.annotation.chart.renderer.circle(0, -9e9, 0).attr(i).add(t), super.render();
|
|
486
|
+
}
|
|
487
|
+
setRadius(t) {
|
|
488
|
+
this.options.r = t;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
Nt.attrsMap = zi(R.attrsMap, { r: "r" });
|
|
492
|
+
let { merge: Vi, defined: st } = x();
|
|
493
|
+
class Tt extends F {
|
|
494
|
+
constructor(t, i, e) {
|
|
495
|
+
super(t, i, e, "shape"), this.type = "ellipse";
|
|
496
|
+
}
|
|
497
|
+
init(t, i, e) {
|
|
498
|
+
st(i.yAxis) && i.points.forEach((s) => {
|
|
499
|
+
s.yAxis = i.yAxis;
|
|
500
|
+
}), st(i.xAxis) && i.points.forEach((s) => {
|
|
501
|
+
s.xAxis = i.xAxis;
|
|
502
|
+
}), super.init(t, i, e);
|
|
503
|
+
}
|
|
504
|
+
render(t) {
|
|
505
|
+
this.graphic = this.annotation.chart.renderer.createElement("ellipse").attr(this.attrsFromOptions(this.options)).add(t), super.render();
|
|
506
|
+
}
|
|
507
|
+
translate(t, i) {
|
|
508
|
+
super.translateShape(t, i, !0);
|
|
509
|
+
}
|
|
510
|
+
getDistanceFromLine(t, i, e, s) {
|
|
511
|
+
return Math.abs((i.y - t.y) * e - (i.x - t.x) * s + i.x * t.y - i.y * t.x) / Math.sqrt((i.y - t.y) * (i.y - t.y) + (i.x - t.x) * (i.x - t.x));
|
|
512
|
+
}
|
|
513
|
+
getAttrs(t, i) {
|
|
514
|
+
let e = t.x, s = t.y, n = i.x, a = i.y, r = (e + n) / 2, h = Math.sqrt((e - n) * (e - n) / 4 + (s - a) * (s - a) / 4), c = 180 * Math.atan((a - s) / (n - e)) / Math.PI;
|
|
515
|
+
return r < e && (c += 180), { cx: r, cy: (s + a) / 2, rx: h, ry: this.getRY(), angle: c };
|
|
516
|
+
}
|
|
517
|
+
getRY() {
|
|
518
|
+
let t = this.getYAxis();
|
|
519
|
+
return st(t) ? Math.abs(t.toPixels(this.options.ry) - t.toPixels(0)) : this.options.ry;
|
|
520
|
+
}
|
|
521
|
+
getYAxis() {
|
|
522
|
+
let t = this.options.yAxis;
|
|
523
|
+
return this.chart.yAxis[t];
|
|
524
|
+
}
|
|
525
|
+
getAbsolutePosition(t) {
|
|
526
|
+
return this.anchor(t).absolutePosition;
|
|
527
|
+
}
|
|
528
|
+
redraw(t) {
|
|
529
|
+
if (this.graphic) {
|
|
530
|
+
let i = this.getAbsolutePosition(this.points[0]), e = this.getAbsolutePosition(this.points[1]), s = this.getAttrs(i, e);
|
|
531
|
+
i ? this.graphic[t ? "animate" : "attr"]({ cx: s.cx, cy: s.cy, rx: s.rx, ry: s.ry, rotation: s.angle, rotationOriginX: s.cx, rotationOriginY: s.cy }) : this.graphic.attr({ x: 0, y: -9e9 }), this.graphic.placed = !!i;
|
|
532
|
+
}
|
|
533
|
+
super.redraw(t);
|
|
534
|
+
}
|
|
535
|
+
setYRadius(t) {
|
|
536
|
+
let i = this.annotation.userOptions.shapes;
|
|
537
|
+
this.options.ry = t, i && i[0] && (i[0].ry = t, i[0].ry = t);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
Tt.attrsMap = Vi(R.attrsMap, { ry: "ry" });
|
|
541
|
+
var Gi = A(984), Dt = A.n(Gi);
|
|
542
|
+
let { format: Ki } = Dt(), { extend: $i, getAlignFactor: Lt, isNumber: It, pick: Zi } = x();
|
|
543
|
+
function _i(o, t, i, e, s) {
|
|
544
|
+
let n = s && s.anchorX, a = s && s.anchorY, r, h, c = i / 2;
|
|
545
|
+
return It(n) && It(a) && (r = [["M", n, a]], (h = t - a) < 0 && (h = -e - h), h < i && (c = n < o + i / 2 ? h : i - h), a > t + e ? r.push(["L", o + c, t + e]) : a < t ? r.push(["L", o + c, t]) : n < o ? r.push(["L", o, t + e / 2]) : n > o + i && r.push(["L", o + i, t + e / 2])), r || [];
|
|
546
|
+
}
|
|
547
|
+
class P extends F {
|
|
548
|
+
static alignedPosition(t, i) {
|
|
549
|
+
return { x: Math.round((i.x || 0) + (t.x || 0) + (i.width - (t.width || 0)) * Lt(t.align)), y: Math.round((i.y || 0) + (t.y || 0) + (i.height - (t.height || 0)) * Lt(t.verticalAlign)) };
|
|
550
|
+
}
|
|
551
|
+
static compose(t) {
|
|
552
|
+
t.prototype.symbols.connector = _i;
|
|
553
|
+
}
|
|
554
|
+
static justifiedOptions(t, i, e, s) {
|
|
555
|
+
let n, a = e.align, r = e.verticalAlign, h = i.box ? 0 : i.padding || 0, c = i.getBBox(), l = { align: a, verticalAlign: r, x: e.x, y: e.y, width: i.width, height: i.height }, g = (s.x || 0) - t.plotLeft, f = (s.y || 0) - t.plotTop;
|
|
556
|
+
return (n = g + h) < 0 && (a === "right" ? l.align = "left" : l.x = (l.x || 0) - n), (n = g + c.width - h) > t.plotWidth && (a === "left" ? l.align = "right" : l.x = (l.x || 0) + t.plotWidth - n), (n = f + h) < 0 && (r === "bottom" ? l.verticalAlign = "top" : l.y = (l.y || 0) - n), (n = f + c.height - h) > t.plotHeight && (r === "top" ? l.verticalAlign = "bottom" : l.y = (l.y || 0) + t.plotHeight - n), l;
|
|
557
|
+
}
|
|
558
|
+
constructor(t, i, e) {
|
|
559
|
+
super(t, i, e, "label");
|
|
560
|
+
}
|
|
561
|
+
translatePoint(t, i) {
|
|
562
|
+
super.translatePoint(t, i, 0);
|
|
563
|
+
}
|
|
564
|
+
translate(t, i) {
|
|
565
|
+
let e = this.annotation.chart, s = this.annotation.userOptions, n = e.annotations.indexOf(this.annotation), a = e.options.annotations[n];
|
|
566
|
+
if (e.inverted) {
|
|
567
|
+
let r = t;
|
|
568
|
+
t = i, i = r;
|
|
569
|
+
}
|
|
570
|
+
this.options.x += t, this.options.y += i, a[this.collection][this.index].x = this.options.x, a[this.collection][this.index].y = this.options.y, s[this.collection][this.index].x = this.options.x, s[this.collection][this.index].y = this.options.y;
|
|
571
|
+
}
|
|
572
|
+
render(t) {
|
|
573
|
+
let i = this.options, e = this.attrsFromOptions(i), s = i.style;
|
|
574
|
+
this.graphic = this.annotation.chart.renderer.label("", 0, -9999, i.shape, null, null, i.useHTML, null, "annotation-label").attr(e).add(t), this.annotation.chart.styledMode || (s.color === "contrast" && (s.color = this.annotation.chart.renderer.getContrast(P.shapesWithoutBackground.indexOf(i.shape) > -1 ? "#FFFFFF" : i.backgroundColor)), this.graphic.css(i.style).shadow(i.shadow)), this.graphic.labelrank = i.labelrank, super.render();
|
|
575
|
+
}
|
|
576
|
+
redraw(t) {
|
|
577
|
+
let i = this.options, e = this.text || i.format || i.text, s = this.graphic, n = this.points[0];
|
|
578
|
+
if (!s) {
|
|
579
|
+
this.redraw(t);
|
|
580
|
+
return;
|
|
581
|
+
}
|
|
582
|
+
s.attr({ text: e ? Ki(String(e), n, this.annotation.chart) : i.formatter.call(n, this) });
|
|
583
|
+
let a = this.anchor(n), r = this.position(a);
|
|
584
|
+
r ? (s.alignAttr = r, r.anchorX = a.absolutePosition.x, r.anchorY = a.absolutePosition.y, s[t ? "animate" : "attr"](r)) : s.attr({ x: 0, y: -9999 }), s.placed = !!r, super.redraw(t);
|
|
585
|
+
}
|
|
586
|
+
anchor(t) {
|
|
587
|
+
let i = super.anchor.apply(this, arguments), e = this.options.x || 0, s = this.options.y || 0;
|
|
588
|
+
return i.absolutePosition.x -= e, i.absolutePosition.y -= s, i.relativePosition.x -= e, i.relativePosition.y -= s, i;
|
|
589
|
+
}
|
|
590
|
+
position(t) {
|
|
591
|
+
let i = this.graphic, e = this.annotation.chart, s = e.tooltip, n = this.points[0], a = this.options, r = t.absolutePosition, h = t.relativePosition, c, l, g, f, d = n.series.visible && Y.prototype.isInsidePlot.call(n);
|
|
592
|
+
if (i && d) {
|
|
593
|
+
let { width: p = 0, height: u = 0 } = i;
|
|
594
|
+
a.distance && s ? c = s.getPosition.call({ chart: e, distance: Zi(a.distance, 16), getPlayingField: s.getPlayingField, pointer: s.pointer }, p, u, { plotX: h.x, plotY: h.y, negative: n.negative, ttBelow: n.ttBelow, h: h.height || h.width }) : a.positioner ? c = a.positioner.call(this) : (l = { x: r.x, y: r.y, width: 0, height: 0 }, c = P.alignedPosition($i(a, { width: p, height: u }), l), this.options.overflow === "justify" && (c = P.alignedPosition(P.justifiedOptions(e, i, a, c), l))), a.crop && (g = c.x - e.plotLeft, f = c.y - e.plotTop, d = e.isInsidePlot(g, f) && e.isInsidePlot(g + p, f + u));
|
|
595
|
+
}
|
|
596
|
+
return d ? c : null;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
P.attrsMap = { backgroundColor: "fill", borderColor: "stroke", borderWidth: "stroke-width", zIndex: "zIndex", borderRadius: "r", padding: "padding" }, P.shapesWithoutBackground = ["connector"];
|
|
600
|
+
class St extends F {
|
|
601
|
+
constructor(t, i, e) {
|
|
602
|
+
super(t, i, e, "shape"), this.type = "image", this.translate = super.translateShape;
|
|
603
|
+
}
|
|
604
|
+
render(t) {
|
|
605
|
+
let i = this.attrsFromOptions(this.options), e = this.options;
|
|
606
|
+
this.graphic = this.annotation.chart.renderer.image(e.src, 0, -9e9, e.width, e.height).attr(i).add(t), this.graphic.width = e.width, this.graphic.height = e.height, super.render();
|
|
607
|
+
}
|
|
608
|
+
redraw(t) {
|
|
609
|
+
if (this.graphic) {
|
|
610
|
+
let i = this.anchor(this.points[0]), e = P.prototype.position.call(this, i);
|
|
611
|
+
e ? this.graphic[t ? "animate" : "attr"]({ x: e.x, y: e.y }) : this.graphic.attr({ x: 0, y: -9e9 }), this.graphic.placed = !!e;
|
|
612
|
+
}
|
|
613
|
+
super.redraw(t);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
St.attrsMap = { width: "width", height: "height", zIndex: "zIndex" };
|
|
617
|
+
var Ji = A(660), ot = A.n(Ji);
|
|
618
|
+
let { addEvent: Yt, createElement: Xt } = x(), Qi = class {
|
|
619
|
+
constructor(o, t) {
|
|
620
|
+
this.iconsURL = t, this.container = this.createPopupContainer(o), this.closeButton = this.addCloseButton();
|
|
621
|
+
}
|
|
622
|
+
createPopupContainer(o, t = "highcharts-popup highcharts-no-tooltip") {
|
|
623
|
+
return Xt("div", { className: t }, void 0, o);
|
|
624
|
+
}
|
|
625
|
+
addCloseButton(o = "highcharts-popup-close") {
|
|
626
|
+
let t = this, i = this.iconsURL, e = Xt("button", { className: o }, void 0, this.container);
|
|
627
|
+
return e.style["background-image"] = "url(" + (i.match(/png|svg|jpeg|jpg|gif/ig) ? i : i + "close.svg") + ")", ["click", "touchstart"].forEach((s) => {
|
|
628
|
+
Yt(e, s, t.closeButtonEvents.bind(t));
|
|
629
|
+
}), Yt(document, "keydown", function(s) {
|
|
630
|
+
s.code === "Escape" && t.closeButtonEvents();
|
|
631
|
+
}), e;
|
|
632
|
+
}
|
|
633
|
+
closeButtonEvents() {
|
|
634
|
+
this.closePopup();
|
|
635
|
+
}
|
|
636
|
+
showPopup(o = "highcharts-annotation-toolbar") {
|
|
637
|
+
let t = this.container, i = this.closeButton;
|
|
638
|
+
this.type = void 0, t.innerHTML = ot().emptyHTML, t.className.indexOf(o) >= 0 && (t.classList.remove(o), t.removeAttribute("style")), t.appendChild(i), t.style.display = "block", t.style.height = "";
|
|
639
|
+
}
|
|
640
|
+
closePopup() {
|
|
641
|
+
this.container.style.display = "none";
|
|
642
|
+
}
|
|
643
|
+
}, { doc: nt, isFirefox: te } = x(), { createElement: q, isArray: Ft, isObject: Rt, objectEach: ie, pick: ee, stableSort: se } = x();
|
|
644
|
+
function Ut(o, t, i, e, s, n) {
|
|
645
|
+
let a, r;
|
|
646
|
+
if (!t) return;
|
|
647
|
+
let h = this.addInput, c = this.lang;
|
|
648
|
+
ie(e, (l, g) => {
|
|
649
|
+
a = i !== "" ? i + "." + g : g, Rt(l) && (!Ft(l) || Ft(l) && Rt(l[0]) ? ((r = c[g] || g).match(/\d/g) || s.push([!0, r, o]), Ut.call(this, o, t, a, l, s, !1)) : s.push([this, a, "annotation", o, l]));
|
|
650
|
+
}), n && (se(s, (l) => l[1].match(/format/g) ? -1 : 1), te && s.reverse(), s.forEach((l) => {
|
|
651
|
+
l[0] === !0 ? q("span", { className: "highcharts-annotation-title" }, void 0, l[2]).appendChild(nt.createTextNode(l[1])) : (l[4] = { value: l[4][0], type: l[4][1] }, h.apply(l[0], l.splice(1)));
|
|
652
|
+
}));
|
|
653
|
+
}
|
|
654
|
+
let { doc: V } = x(), { seriesTypes: Wt } = wt(), { addEvent: at, createElement: k, defined: G, isArray: rt, isObject: oe, objectEach: jt, stableSort: ne } = x();
|
|
655
|
+
(function(o) {
|
|
656
|
+
o[o["params.algorithm"] = 0] = "params.algorithm", o[o["params.average"] = 1] = "params.average";
|
|
657
|
+
})(Q || (Q = {}));
|
|
658
|
+
let ae = { "algorithm-pivotpoints": ["standard", "fibonacci", "camarilla"], "average-disparityindex": ["sma", "ema", "dema", "tema", "wma"] };
|
|
659
|
+
function qt(o) {
|
|
660
|
+
let t = k("div", { className: "highcharts-popup-lhs-col" }, void 0, o), i = k("div", { className: "highcharts-popup-rhs-col" }, void 0, o);
|
|
661
|
+
return k("div", { className: "highcharts-popup-rhs-col-wrapper" }, void 0, i), { lhsCol: t, rhsCol: i };
|
|
662
|
+
}
|
|
663
|
+
function re(o, t, i, e) {
|
|
664
|
+
let s = t.params || t.options.params;
|
|
665
|
+
e.innerHTML = ot().emptyHTML, k("h3", { className: "highcharts-indicator-title" }, void 0, e).appendChild(V.createTextNode(Gt(t, i).indicatorFullName)), k("input", { type: "hidden", name: "highcharts-type-" + i, value: i }, void 0, e), Kt.call(this, i, "series", o, e, t, t.linkedParent && t.linkedParent.options.id), s.volumeSeriesID && Kt.call(this, i, "volume", o, e, t, t.linkedParent && s.volumeSeriesID), Ht.call(this, o, "params", s, i, e);
|
|
666
|
+
}
|
|
667
|
+
function ht(o, t, i, e) {
|
|
668
|
+
function s(u, m) {
|
|
669
|
+
let y = p.parentNode.children[1];
|
|
670
|
+
re.call(n, o, u, m, p), y && (y.style.display = "block"), c && u.options && k("input", { type: "hidden", name: "highcharts-id-" + m, value: u.options.id }, void 0, p).setAttribute("highcharts-data-series-id", u.options.id);
|
|
671
|
+
}
|
|
672
|
+
let n = this, a = n.lang, r = t.querySelectorAll(".highcharts-popup-lhs-col")[0], h = t.querySelectorAll(".highcharts-popup-rhs-col")[0], c = i === "edit", l = c ? o.series : o.options.plotOptions || {};
|
|
673
|
+
if (!o && l) return;
|
|
674
|
+
let g, f = [];
|
|
675
|
+
c || rt(l) ? rt(l) && (f = ce.call(this, l)) : f = le.call(this, l, e), ne(f, (u, m) => {
|
|
676
|
+
let y = u.indicatorFullName.toLowerCase(), v = m.indicatorFullName.toLowerCase();
|
|
677
|
+
return y < v ? -1 : +(y > v);
|
|
678
|
+
}), r.children[1] && r.children[1].remove();
|
|
679
|
+
let d = k("ul", { className: "highcharts-indicator-list" }, void 0, r), p = h.querySelectorAll(".highcharts-popup-rhs-col-wrapper")[0];
|
|
680
|
+
if (f.forEach((u) => {
|
|
681
|
+
let { indicatorFullName: m, indicatorType: y, series: v } = u;
|
|
682
|
+
g = k("li", { className: "highcharts-indicator-list" }, void 0, d);
|
|
683
|
+
let b = k("button", { className: "highcharts-indicator-list-item", textContent: m }, void 0, g);
|
|
684
|
+
["click", "touchstart"].forEach((D) => {
|
|
685
|
+
at(b, D, function() {
|
|
686
|
+
s(v, y);
|
|
687
|
+
});
|
|
688
|
+
});
|
|
689
|
+
}), f.length > 0) {
|
|
690
|
+
let { series: u, indicatorType: m } = f[0];
|
|
691
|
+
s(u, m);
|
|
692
|
+
} else c || (ot().setElementHTML(p.parentNode.children[0], a.noFilterMatch || ""), p.parentNode.children[1].style.display = "none");
|
|
693
|
+
}
|
|
694
|
+
function Ht(o, t, i, e, s) {
|
|
695
|
+
if (!o) return;
|
|
696
|
+
let n = this.addInput;
|
|
697
|
+
jt(i, (a, r) => {
|
|
698
|
+
let h = t + "." + r;
|
|
699
|
+
if (G(a) && h)
|
|
700
|
+
if (oe(a) && (n.call(this, h, e, s, {}), Ht.call(this, o, h, a, e, s)), h in Q) {
|
|
701
|
+
let c = zt.call(this, e, h, s);
|
|
702
|
+
Vt.call(this, o, t, c, e, r, a);
|
|
703
|
+
} else h === "params.volumeSeriesID" || rt(a) || n.call(this, h, e, s, { value: a, type: "number" });
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
function he(o, t) {
|
|
707
|
+
let i = this, e = t.querySelectorAll(".highcharts-popup-lhs-col")[0], s = this.lang.clearFilter, n = k("div", { className: "highcharts-input-wrapper" }, void 0, e), a = function(c) {
|
|
708
|
+
ht.call(i, o, i.container, "add", c);
|
|
709
|
+
}, r = this.addInput("searchIndicators", "input", n, { value: "", type: "text", htmlFor: "search-indicators", labelClassName: "highcharts-input-search-indicators-label" }), h = k("a", { textContent: s }, void 0, n);
|
|
710
|
+
r.classList.add("highcharts-input-search-indicators"), h.classList.add("clear-filter-button"), at(r, "input", function() {
|
|
711
|
+
a(this.value), this.value.length ? h.style.display = "inline-block" : h.style.display = "none";
|
|
712
|
+
}), ["click", "touchstart"].forEach((c) => {
|
|
713
|
+
at(h, c, function() {
|
|
714
|
+
r.value = "", a(""), h.style.display = "none";
|
|
715
|
+
});
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
function zt(o, t, i) {
|
|
719
|
+
let e = t.split("."), s = e[e.length - 1], n = "highcharts-" + t + "-type-" + o, a = this.lang;
|
|
720
|
+
k("label", { htmlFor: n }, null, i).appendChild(V.createTextNode(a[s] || t));
|
|
721
|
+
let r = k("select", { name: n, className: "highcharts-popup-field", id: "highcharts-select-" + t }, null, i);
|
|
722
|
+
return r.setAttribute("id", "highcharts-select-" + t), r;
|
|
723
|
+
}
|
|
724
|
+
function Vt(o, t, i, e, s, n, a) {
|
|
725
|
+
t === "series" || t === "volume" ? o.series.forEach((r) => {
|
|
726
|
+
let h = r.options, c = h.name || h.params ? r.name : h.id || "";
|
|
727
|
+
h.id !== "highcharts-navigator-series" && h.id !== (a && a.options && a.options.id) && (G(n) || t !== "volume" || r.type !== "column" || (n = h.id), k("option", { value: h.id }, void 0, i).appendChild(V.createTextNode(c)));
|
|
728
|
+
}) : e && s && ae[s + "-" + e].forEach((r) => {
|
|
729
|
+
k("option", { value: r }, void 0, i).appendChild(V.createTextNode(r));
|
|
730
|
+
}), G(n) && (i.value = n);
|
|
731
|
+
}
|
|
732
|
+
function le(o, t) {
|
|
733
|
+
let i, e = this.chart && this.chart.options.lang, s = e && e.navigation && e.navigation.popup && e.navigation.popup.indicatorAliases, n = [];
|
|
734
|
+
return jt(o, (a, r) => {
|
|
735
|
+
let h = a && a.options;
|
|
736
|
+
if (a.params || h && h.params) {
|
|
737
|
+
let { indicatorFullName: c, indicatorType: l } = Gt(a, r);
|
|
738
|
+
if (t) {
|
|
739
|
+
let g = RegExp(t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "i"), f = s && s[l] && s[l].join(" ") || "";
|
|
740
|
+
(c.match(g) || f.match(g)) && (i = { indicatorFullName: c, indicatorType: l, series: a }, n.push(i));
|
|
741
|
+
} else i = { indicatorFullName: c, indicatorType: l, series: a }, n.push(i);
|
|
742
|
+
}
|
|
743
|
+
}), n;
|
|
744
|
+
}
|
|
745
|
+
function ce(o) {
|
|
746
|
+
let t = [];
|
|
747
|
+
return o.forEach((i) => {
|
|
748
|
+
i.is("sma") && t.push({ indicatorFullName: i.name, indicatorType: i.type, series: i });
|
|
749
|
+
}), t;
|
|
750
|
+
}
|
|
751
|
+
function Gt(o, t) {
|
|
752
|
+
let i = o.options, e = Wt[t] && Wt[t].prototype.nameBase || t.toUpperCase(), s = t;
|
|
753
|
+
return i && i.type && (s = o.options.type, e = o.name), { indicatorFullName: e, indicatorType: s };
|
|
754
|
+
}
|
|
755
|
+
function Kt(o, t, i, e, s, n) {
|
|
756
|
+
if (!i) return;
|
|
757
|
+
let a = zt.call(this, o, t, e);
|
|
758
|
+
Vt.call(this, i, t, a, void 0, void 0, void 0, s), G(n) && (a.value = n);
|
|
759
|
+
}
|
|
760
|
+
let { doc: pe } = x(), { addEvent: de, createElement: $t } = x();
|
|
761
|
+
function Zt() {
|
|
762
|
+
return $t("div", { className: "highcharts-tab-item-content highcharts-no-mousewheel" }, void 0, this.container);
|
|
763
|
+
}
|
|
764
|
+
function _t(o, t) {
|
|
765
|
+
let i = this.container, e = this.lang, s = "highcharts-tab-item";
|
|
766
|
+
t === 0 && (s += " highcharts-tab-disabled");
|
|
767
|
+
let n = $t("button", { className: s }, void 0, i);
|
|
768
|
+
return n.appendChild(pe.createTextNode(e[o + "Button"] || o)), n.setAttribute("highcharts-data-tab-type", o), n;
|
|
769
|
+
}
|
|
770
|
+
function ue() {
|
|
771
|
+
let o = this.container, t = o.querySelectorAll(".highcharts-tab-item"), i = o.querySelectorAll(".highcharts-tab-item-content");
|
|
772
|
+
for (let e = 0; e < t.length; e++) t[e].classList.remove("highcharts-tab-item-active"), i[e].classList.remove("highcharts-tab-item-show");
|
|
773
|
+
}
|
|
774
|
+
function Jt(o, t) {
|
|
775
|
+
let i = this.container.querySelectorAll(".highcharts-tab-item-content");
|
|
776
|
+
o.className += " highcharts-tab-item-active", i[t].className += " highcharts-tab-item-show";
|
|
777
|
+
}
|
|
778
|
+
function ge(o) {
|
|
779
|
+
let t = this;
|
|
780
|
+
this.container.querySelectorAll(".highcharts-tab-item").forEach((i, e) => {
|
|
781
|
+
(o !== 0 || i.getAttribute("highcharts-data-tab-type") !== "edit") && ["click", "touchstart"].forEach((s) => {
|
|
782
|
+
de(i, s, function() {
|
|
783
|
+
ue.call(t), Jt.call(t, this, e);
|
|
784
|
+
});
|
|
785
|
+
});
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
let { doc: lt } = x(), { getOptions: fe } = x(), { addEvent: ct, createElement: pt, extend: me, fireEvent: Qt, pick: xe } = x();
|
|
789
|
+
class ti extends Qi {
|
|
790
|
+
constructor(t, i, e) {
|
|
791
|
+
super(t, i), this.chart = e, this.lang = (fe().lang.navigation || {}).popup || {}, ct(this.container, "mousedown", () => {
|
|
792
|
+
let s = e && e.navigationBindings && e.navigationBindings.activeAnnotation;
|
|
793
|
+
if (s) {
|
|
794
|
+
s.cancelClick = !0;
|
|
795
|
+
let n = ct(lt, "click", () => {
|
|
796
|
+
setTimeout(() => {
|
|
797
|
+
s.cancelClick = !1;
|
|
798
|
+
}, 0), n();
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
addInput(t, i, e, s) {
|
|
804
|
+
let n = t.split("."), a = n[n.length - 1], r = this.lang, h = "highcharts-" + i + "-" + xe(s.htmlFor, a);
|
|
805
|
+
a.match(/^\d+$/) || pt("label", { htmlFor: h, className: s.labelClassName }, void 0, e).appendChild(lt.createTextNode(r[a] || a));
|
|
806
|
+
let c = pt("input", { name: h, value: s.value, type: s.type, className: "highcharts-popup-field" }, void 0, e);
|
|
807
|
+
return c.setAttribute("highcharts-data-name", t), c;
|
|
808
|
+
}
|
|
809
|
+
closeButtonEvents() {
|
|
810
|
+
if (this.chart) {
|
|
811
|
+
let t = this.chart.navigationBindings;
|
|
812
|
+
Qt(t, "closePopup"), t && t.selectedButtonElement && Qt(t, "deselectButton", { button: t.selectedButtonElement });
|
|
813
|
+
} else super.closeButtonEvents();
|
|
814
|
+
}
|
|
815
|
+
addButton(t, i, e, s, n) {
|
|
816
|
+
let a = pt("button", void 0, void 0, t);
|
|
817
|
+
return a.appendChild(lt.createTextNode(i)), n && ["click", "touchstart"].forEach((r) => {
|
|
818
|
+
ct(a, r, () => (this.closePopup(), n(function(h, c) {
|
|
819
|
+
let l = Array.prototype.slice.call(h.querySelectorAll("input")), g = Array.prototype.slice.call(h.querySelectorAll("select")), f = h.querySelectorAll("#highcharts-select-series > option:checked")[0], d = h.querySelectorAll("#highcharts-select-volume > option:checked")[0], p = { actionType: c, linkedTo: f && f.getAttribute("value") || "", fields: {} };
|
|
820
|
+
return l.forEach((u) => {
|
|
821
|
+
let m = u.getAttribute("highcharts-data-name");
|
|
822
|
+
u.getAttribute("highcharts-data-series-id") ? p.seriesId = u.value : m ? p.fields[m] = u.value : p.type = u.value;
|
|
823
|
+
}), g.forEach((u) => {
|
|
824
|
+
let m = u.id;
|
|
825
|
+
if (m !== "highcharts-select-series" && m !== "highcharts-select-volume") {
|
|
826
|
+
let y = m.split("highcharts-select-")[1];
|
|
827
|
+
p.fields[y] = u.value;
|
|
828
|
+
}
|
|
829
|
+
}), d && (p.fields["params.volumeSeriesID"] = d.getAttribute("value") || ""), p;
|
|
830
|
+
}(s, e))));
|
|
831
|
+
}), a;
|
|
832
|
+
}
|
|
833
|
+
showForm(t, i, e, s) {
|
|
834
|
+
i && (this.showPopup(), t === "indicators" && this.indicators.addForm.call(this, i, e, s), t === "annotation-toolbar" && this.annotations.addToolbar.call(this, i, e, s), t === "annotation-edit" && this.annotations.addForm.call(this, i, e, s), t === "flag" && this.annotations.addForm.call(this, i, e, s, !0), this.type = t, this.container.style.height = this.container.offsetHeight + "px");
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
me(ti.prototype, { annotations: { addForm: function(o, t, i, e) {
|
|
838
|
+
if (!o) return;
|
|
839
|
+
let s = this.container, n = this.lang, a = q("h2", { className: "highcharts-popup-main-title" }, void 0, s);
|
|
840
|
+
a.appendChild(nt.createTextNode(n[t.langKey] || t.langKey || "")), a = q("div", { className: "highcharts-popup-lhs-col highcharts-popup-lhs-full" }, void 0, s);
|
|
841
|
+
let r = q("div", { className: "highcharts-popup-bottom-row" }, void 0, s);
|
|
842
|
+
Ut.call(this, a, o, "", t, [], !0), this.addButton(r, e ? n.addButton || "Add" : n.saveButton || "Save", e ? "add" : "save", s, i);
|
|
843
|
+
}, addToolbar: function(o, t, i) {
|
|
844
|
+
let e = this.lang, s = this.container, n = this.showForm, a = "highcharts-annotation-toolbar";
|
|
845
|
+
s.className.indexOf(a) === -1 && (s.className += " " + a + " highcharts-no-mousewheel"), o && (s.style.top = o.plotTop + 10 + "px");
|
|
846
|
+
let r = q("p", { className: "highcharts-annotation-label" }, void 0, s);
|
|
847
|
+
r.setAttribute("aria-label", "Annotation type"), r.appendChild(nt.createTextNode(ee(e[t.langKey] || t.langKey, t.shapes && t.shapes[0].type, "")));
|
|
848
|
+
let h = this.addButton(s, e.editButton || "Edit", "edit", s, () => {
|
|
849
|
+
n.call(this, "annotation-edit", o, t, i);
|
|
850
|
+
});
|
|
851
|
+
h.className += " highcharts-annotation-edit-button", h.style["background-image"] = "url(" + this.iconsURL + "edit.svg)", h = this.addButton(s, e.removeButton || "Remove", "remove", s, i), h.className += " highcharts-annotation-remove-button", h.style["background-image"] = "url(" + this.iconsURL + "destroy.svg)";
|
|
852
|
+
} }, indicators: { addForm: function(o, t, i) {
|
|
853
|
+
let e, s = this.lang;
|
|
854
|
+
if (!o) return;
|
|
855
|
+
this.tabs.init.call(this, o);
|
|
856
|
+
let n = this.container.querySelectorAll(".highcharts-tab-item-content");
|
|
857
|
+
qt(n[0]), he.call(this, o, n[0]), ht.call(this, o, n[0], "add"), e = n[0].querySelectorAll(".highcharts-popup-rhs-col")[0], this.addButton(e, s.addButton || "add", "add", e, i), qt(n[1]), ht.call(this, o, n[1], "edit"), e = n[1].querySelectorAll(".highcharts-popup-rhs-col")[0], this.addButton(e, s.saveButton || "save", "edit", e, i), this.addButton(e, s.removeButton || "remove", "remove", e, i);
|
|
858
|
+
}, getAmount: function() {
|
|
859
|
+
let o = 0;
|
|
860
|
+
return this.series.forEach((t) => {
|
|
861
|
+
(t.params || t.options.params) && o++;
|
|
862
|
+
}), o;
|
|
863
|
+
} }, tabs: { init: function(o) {
|
|
864
|
+
if (!o) return;
|
|
865
|
+
let t = this.indicators.getAmount.call(o), i = _t.call(this, "add");
|
|
866
|
+
_t.call(this, "edit", t), Zt.call(this), Zt.call(this), ge.call(this, t), Jt.call(this, i, 0);
|
|
867
|
+
} } });
|
|
868
|
+
let { composed: ye } = x(), { addEvent: ii, pushUnique: ve, wrap: be } = x();
|
|
869
|
+
function Ae() {
|
|
870
|
+
this.popup && this.popup.closePopup();
|
|
871
|
+
}
|
|
872
|
+
function ke(o) {
|
|
873
|
+
this.popup || (this.popup = new ti(this.chart.container, this.chart.options.navigation.iconsURL || this.chart.options.stockTools && this.chart.options.stockTools.gui.iconsURL || "https://code.highcharts.com/12.2.0/gfx/stock-icons/", this.chart)), this.popup.showForm(o.formType, this.chart, o.options, o.onSubmit);
|
|
874
|
+
}
|
|
875
|
+
function we(o, t) {
|
|
876
|
+
this.inClass(t.target, "highcharts-popup") || o.apply(this, Array.prototype.slice.call(arguments, 1));
|
|
877
|
+
}
|
|
878
|
+
let Ee = { compose: function(o, t) {
|
|
879
|
+
ve(ye, "Popup") && (ii(o, "closePopup", Ae), ii(o, "showPopup", ke), be(t.prototype, "onContainerMouseDown", we));
|
|
880
|
+
} }, { getDeferredAnimation: Pe } = x(), { destroyObjectProperties: Ce, erase: ei, fireEvent: si, merge: L, pick: dt, splat: Oe } = x();
|
|
881
|
+
function ut(o, t) {
|
|
882
|
+
let i = {};
|
|
883
|
+
return ["labels", "shapes"].forEach((e) => {
|
|
884
|
+
let s = o[e], n = t[e];
|
|
885
|
+
s && (n ? i[e] = Oe(n).map((a, r) => L(s[r], a)) : i[e] = o[e]);
|
|
886
|
+
}), i;
|
|
887
|
+
}
|
|
888
|
+
class w extends At {
|
|
889
|
+
static compose(t, i, e, s) {
|
|
890
|
+
Ci.compose(w, t, e), P.compose(s), R.compose(t, s), i.compose(w, t), Ee.compose(i, e);
|
|
891
|
+
}
|
|
892
|
+
constructor(t, i) {
|
|
893
|
+
super(), this.coll = "annotations", this.chart = t, this.points = [], this.controlPoints = [], this.coll = "annotations", this.index = -1, this.labels = [], this.shapes = [], this.options = L(this.defaultOptions, i), this.userOptions = i;
|
|
894
|
+
let e = ut(this.options, i);
|
|
895
|
+
this.options.labels = e.labels, this.options.shapes = e.shapes, this.init(t, this.options);
|
|
896
|
+
}
|
|
897
|
+
addClipPaths() {
|
|
898
|
+
this.setClipAxes(), this.clipXAxis && this.clipYAxis && this.options.crop && (this.clipRect = this.chart.renderer.clipRect(this.getClipBox()));
|
|
899
|
+
}
|
|
900
|
+
addLabels() {
|
|
901
|
+
let t = this.options.labels || [];
|
|
902
|
+
t.forEach((i, e) => {
|
|
903
|
+
let s = this.initLabel(i, e);
|
|
904
|
+
L(!0, t[e], s.options);
|
|
905
|
+
});
|
|
906
|
+
}
|
|
907
|
+
addShapes() {
|
|
908
|
+
let t = this.options.shapes || [];
|
|
909
|
+
t.forEach((i, e) => {
|
|
910
|
+
let s = this.initShape(i, e);
|
|
911
|
+
L(!0, t[e], s.options);
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
destroy() {
|
|
915
|
+
let t = this.chart, i = function(e) {
|
|
916
|
+
e.destroy();
|
|
917
|
+
};
|
|
918
|
+
this.labels.forEach(i), this.shapes.forEach(i), this.clipXAxis = null, this.clipYAxis = null, ei(t.labelCollectors, this.labelCollector), super.destroy(), this.destroyControlTarget(), Ce(this, t);
|
|
919
|
+
}
|
|
920
|
+
destroyItem(t) {
|
|
921
|
+
ei(this[t.itemType + "s"], t), t.destroy();
|
|
922
|
+
}
|
|
923
|
+
getClipBox() {
|
|
924
|
+
if (this.clipXAxis && this.clipYAxis) return { x: this.clipXAxis.left, y: this.clipYAxis.top, width: this.clipXAxis.width, height: this.clipYAxis.height };
|
|
925
|
+
}
|
|
926
|
+
initProperties(t, i) {
|
|
927
|
+
this.setOptions(i);
|
|
928
|
+
let e = ut(this.options, i);
|
|
929
|
+
this.options.labels = e.labels, this.options.shapes = e.shapes, this.chart = t, this.points = [], this.controlPoints = [], this.coll = "annotations", this.userOptions = i, this.labels = [], this.shapes = [];
|
|
930
|
+
}
|
|
931
|
+
init(t, i, e = this.index) {
|
|
932
|
+
let s = this.chart, n = this.options.animation;
|
|
933
|
+
this.index = e, this.linkPoints(), this.addControlPoints(), this.addShapes(), this.addLabels(), this.setLabelCollector(), this.animationConfig = Pe(s, n);
|
|
934
|
+
}
|
|
935
|
+
initLabel(t, i) {
|
|
936
|
+
let e = new P(this, L(this.options.labelOptions, { controlPointOptions: this.options.controlPointOptions }, t), i);
|
|
937
|
+
return e.itemType = "label", this.labels.push(e), e;
|
|
938
|
+
}
|
|
939
|
+
initShape(t, i) {
|
|
940
|
+
let e = L(this.options.shapeOptions, { controlPointOptions: this.options.controlPointOptions }, t), s = new w.shapesMap[e.type](this, e, i);
|
|
941
|
+
return s.itemType = "shape", this.shapes.push(s), s;
|
|
942
|
+
}
|
|
943
|
+
redraw(t) {
|
|
944
|
+
this.linkPoints(), this.graphic || this.render(), this.clipRect && this.clipRect.animate(this.getClipBox()), this.redrawItems(this.shapes, t), this.redrawItems(this.labels, t), this.redrawControlPoints(t);
|
|
945
|
+
}
|
|
946
|
+
redrawItem(t, i) {
|
|
947
|
+
t.linkPoints(), t.shouldBeDrawn() ? (t.graphic || this.renderItem(t), t.redraw(dt(i, !0) && t.graphic.placed), t.points.length && function(e) {
|
|
948
|
+
let s = e.graphic, n = e.points.some((a) => a.series.visible !== !1 && a.visible !== !1);
|
|
949
|
+
s && (n ? s.visibility === "hidden" && s.show() : s.hide());
|
|
950
|
+
}(t)) : this.destroyItem(t);
|
|
951
|
+
}
|
|
952
|
+
redrawItems(t, i) {
|
|
953
|
+
let e = t.length;
|
|
954
|
+
for (; e--; ) this.redrawItem(t[e], i);
|
|
955
|
+
}
|
|
956
|
+
remove() {
|
|
957
|
+
return this.chart.removeAnnotation(this);
|
|
958
|
+
}
|
|
959
|
+
render() {
|
|
960
|
+
let t = this.chart.renderer;
|
|
961
|
+
this.graphic = t.g("annotation").attr({ opacity: 0, zIndex: this.options.zIndex, visibility: this.options.visible ? "inherit" : "hidden" }).add(), this.shapesGroup = t.g("annotation-shapes").add(this.graphic), this.options.crop && this.shapesGroup.clip(this.chart.plotBoxClip), this.labelsGroup = t.g("annotation-labels").attr({ translateX: 0, translateY: 0 }).add(this.graphic), this.addClipPaths(), this.clipRect && this.graphic.clip(this.clipRect), this.renderItems(this.shapes), this.renderItems(this.labels), this.addEvents(), this.renderControlPoints();
|
|
962
|
+
}
|
|
963
|
+
renderItem(t) {
|
|
964
|
+
t.render(t.itemType === "label" ? this.labelsGroup : this.shapesGroup);
|
|
965
|
+
}
|
|
966
|
+
renderItems(t) {
|
|
967
|
+
let i = t.length;
|
|
968
|
+
for (; i--; ) this.renderItem(t[i]);
|
|
969
|
+
}
|
|
970
|
+
setClipAxes() {
|
|
971
|
+
let t = this.chart.xAxis, i = this.chart.yAxis, e = (this.options.labels || []).concat(this.options.shapes || []).reduce((s, n) => {
|
|
972
|
+
let a = n && (n.point || n.points && n.points[0]);
|
|
973
|
+
return [t[a && a.xAxis] || s[0], i[a && a.yAxis] || s[1]];
|
|
974
|
+
}, []);
|
|
975
|
+
this.clipXAxis = e[0], this.clipYAxis = e[1];
|
|
976
|
+
}
|
|
977
|
+
setControlPointsVisibility(t) {
|
|
978
|
+
let i = function(e) {
|
|
979
|
+
e.setControlPointsVisibility(t);
|
|
980
|
+
};
|
|
981
|
+
this.controlPoints.forEach((e) => {
|
|
982
|
+
e.setVisibility(t);
|
|
983
|
+
}), this.shapes.forEach(i), this.labels.forEach(i);
|
|
984
|
+
}
|
|
985
|
+
setLabelCollector() {
|
|
986
|
+
let t = this;
|
|
987
|
+
t.labelCollector = function() {
|
|
988
|
+
return t.labels.reduce(function(i, e) {
|
|
989
|
+
return e.options.allowOverlap || i.push(e.graphic), i;
|
|
990
|
+
}, []);
|
|
991
|
+
}, t.chart.labelCollectors.push(t.labelCollector);
|
|
992
|
+
}
|
|
993
|
+
setOptions(t) {
|
|
994
|
+
this.options = L(this.defaultOptions, t);
|
|
995
|
+
}
|
|
996
|
+
setVisibility(t) {
|
|
997
|
+
let i = this.options, e = this.chart.navigationBindings, s = dt(t, !i.visible);
|
|
998
|
+
if (this.graphic.attr("visibility", s ? "inherit" : "hidden"), !s) {
|
|
999
|
+
let n = function(a) {
|
|
1000
|
+
a.setControlPointsVisibility(s);
|
|
1001
|
+
};
|
|
1002
|
+
this.shapes.forEach(n), this.labels.forEach(n), e.activeAnnotation === this && e.popup && e.popup.type === "annotation-toolbar" && si(e, "closePopup");
|
|
1003
|
+
}
|
|
1004
|
+
i.visible = s;
|
|
1005
|
+
}
|
|
1006
|
+
update(t, i) {
|
|
1007
|
+
let e = this.chart, s = ut(this.userOptions, t), n = e.annotations.indexOf(this), a = L(!0, this.userOptions, t);
|
|
1008
|
+
a.labels = s.labels, a.shapes = s.shapes, this.destroy(), this.initProperties(e, a), this.init(e, a), e.options.annotations[n] = this.options, this.isUpdating = !0, dt(i, !0) && e.drawAnnotations(), si(this, "afterUpdate"), this.isUpdating = !1;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
w.ControlPoint = kt, w.MockPoint = Y, w.shapesMap = { rect: Mt, circle: Nt, ellipse: Tt, path: R, image: St }, w.types = {}, w.prototype.defaultOptions = { visible: !0, animation: {}, crop: !0, draggable: "xy", labelOptions: { align: "center", allowOverlap: !1, backgroundColor: "rgba(0, 0, 0, 0.75)", borderColor: "#000000", borderRadius: 3, borderWidth: 1, className: "highcharts-no-tooltip", crop: !1, formatter: function() {
|
|
1012
|
+
return Oi(this.y) ? "" + this.y : "Annotation label";
|
|
1013
|
+
}, includeInDataExport: !0, overflow: "justify", padding: 5, shadow: !1, shape: "callout", style: { fontSize: "0.7em", fontWeight: "normal", color: "contrast" }, useHTML: !1, verticalAlign: "bottom", x: 0, y: -16 }, shapeOptions: { stroke: "rgba(0, 0, 0, 0.75)", strokeWidth: 1, fill: "rgba(0, 0, 0, 0.75)", r: 0, snap: 2 }, controlPointOptions: { events: {}, style: { cursor: "pointer", fill: "#ffffff", stroke: "#000000", "stroke-width": 2 }, height: 10, symbol: "circle", visible: !1, width: 10 }, events: {}, zIndex: 6 }, w.prototype.nonDOMEvents = ["add", "afterUpdate", "drag", "remove"], Et.compose(w), function(o) {
|
|
1014
|
+
o.compose = function(i) {
|
|
1015
|
+
return i.navigation || (i.navigation = new t(i)), i;
|
|
1016
|
+
};
|
|
1017
|
+
class t {
|
|
1018
|
+
constructor(e) {
|
|
1019
|
+
this.updates = [], this.chart = e;
|
|
1020
|
+
}
|
|
1021
|
+
addUpdate(e) {
|
|
1022
|
+
this.chart.navigation.updates.push(e);
|
|
1023
|
+
}
|
|
1024
|
+
update(e, s) {
|
|
1025
|
+
this.updates.forEach((n) => {
|
|
1026
|
+
n.call(this.chart, e, s);
|
|
1027
|
+
});
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
o.Additions = t;
|
|
1031
|
+
}(tt || (tt = {}));
|
|
1032
|
+
let Be = tt, { defined: Me, isNumber: oi, pick: Ne } = x(), Te = { backgroundColor: "string", borderColor: "string", borderRadius: "string", color: "string", fill: "string", fontSize: "string", labels: "string", name: "string", stroke: "string", title: "string" }, ni = { getAssignedAxis: function(o) {
|
|
1033
|
+
return o.filter((t) => {
|
|
1034
|
+
let i = t.axis.getExtremes(), e = i.min, s = i.max, n = Ne(t.axis.minPointOffset, 0);
|
|
1035
|
+
return oi(e) && oi(s) && t.value >= e - n && t.value <= s + n && !t.axis.options.isInternal;
|
|
1036
|
+
})[0];
|
|
1037
|
+
}, getFieldType: function(o, t) {
|
|
1038
|
+
let i = Te[o], e = typeof t;
|
|
1039
|
+
return Me(i) && (e = i), { string: "text", number: "number", boolean: "checkbox" }[e];
|
|
1040
|
+
} }, { getAssignedAxis: C } = ni, { isNumber: ai, merge: K } = x(), De = { lang: { navigation: { popup: { simpleShapes: "Simple shapes", lines: "Lines", circle: "Circle", ellipse: "Ellipse", rectangle: "Rectangle", label: "Label", shapeOptions: "Shape options", typeOptions: "Details", fill: "Fill", format: "Text", strokeWidth: "Line width", stroke: "Line color", title: "Title", name: "Name", labelOptions: "Label options", labels: "Labels", backgroundColor: "Background color", backgroundColors: "Background colors", borderColor: "Border color", borderRadius: "Border radius", borderWidth: "Border width", style: "Style", padding: "Padding", fontSize: "Font size", color: "Color", height: "Height", shapes: "Shape options" } } }, navigation: { bindingsClassName: "highcharts-bindings-container", bindings: { circleAnnotation: { className: "highcharts-circle-annotation", start: function(o) {
|
|
1041
|
+
let t = this.chart.pointer?.getCoordinates(o), i = t && C(t.xAxis), e = t && C(t.yAxis), s = this.chart.options.navigation;
|
|
1042
|
+
if (i && e) return this.chart.addAnnotation(K({ langKey: "circle", type: "basicAnnotation", shapes: [{ type: "circle", point: { x: i.value, y: e.value, xAxis: i.axis.index, yAxis: e.axis.index }, r: 5 }] }, s.annotationsOptions, s.bindings.circleAnnotation.annotationsOptions));
|
|
1043
|
+
}, steps: [function(o, t) {
|
|
1044
|
+
let i, e = t.options.shapes, s = e && e[0] && e[0].point || {};
|
|
1045
|
+
if (ai(s.xAxis) && ai(s.yAxis)) {
|
|
1046
|
+
let n = this.chart.inverted, a = this.chart.xAxis[s.xAxis].toPixels(s.x), r = this.chart.yAxis[s.yAxis].toPixels(s.y);
|
|
1047
|
+
i = Math.max(Math.sqrt(Math.pow(n ? r - o.chartX : a - o.chartX, 2) + Math.pow(n ? a - o.chartY : r - o.chartY, 2)), 5);
|
|
1048
|
+
}
|
|
1049
|
+
t.update({ shapes: [{ r: i }] });
|
|
1050
|
+
}] }, ellipseAnnotation: { className: "highcharts-ellipse-annotation", start: function(o) {
|
|
1051
|
+
let t = this.chart.pointer?.getCoordinates(o), i = t && C(t.xAxis), e = t && C(t.yAxis), s = this.chart.options.navigation;
|
|
1052
|
+
if (i && e) return this.chart.addAnnotation(K({ langKey: "ellipse", type: "basicAnnotation", shapes: [{ type: "ellipse", xAxis: i.axis.index, yAxis: e.axis.index, points: [{ x: i.value, y: e.value }, { x: i.value, y: e.value }], ry: 1 }] }, s.annotationsOptions, s.bindings.ellipseAnnotation.annotationsOptions));
|
|
1053
|
+
}, steps: [function(o, t) {
|
|
1054
|
+
let i = t.shapes[0], e = i.getAbsolutePosition(i.points[1]);
|
|
1055
|
+
i.translatePoint(o.chartX - e.x, o.chartY - e.y, 1), i.redraw(!1);
|
|
1056
|
+
}, function(o, t) {
|
|
1057
|
+
let i = t.shapes[0], e = i.getAbsolutePosition(i.points[0]), s = i.getAbsolutePosition(i.points[1]), n = i.getDistanceFromLine(e, s, o.chartX, o.chartY), a = i.getYAxis(), r = Math.abs(a.toValue(0) - a.toValue(n));
|
|
1058
|
+
i.setYRadius(r), i.redraw(!1);
|
|
1059
|
+
}] }, rectangleAnnotation: { className: "highcharts-rectangle-annotation", start: function(o) {
|
|
1060
|
+
let t = this.chart.pointer?.getCoordinates(o), i = t && C(t.xAxis), e = t && C(t.yAxis);
|
|
1061
|
+
if (!i || !e) return;
|
|
1062
|
+
let s = i.value, n = e.value, a = i.axis.index, r = e.axis.index, h = this.chart.options.navigation;
|
|
1063
|
+
return this.chart.addAnnotation(K({ langKey: "rectangle", type: "basicAnnotation", shapes: [{ type: "path", points: [{ xAxis: a, yAxis: r, x: s, y: n }, { xAxis: a, yAxis: r, x: s, y: n }, { xAxis: a, yAxis: r, x: s, y: n }, { xAxis: a, yAxis: r, x: s, y: n }, { command: "Z" }] }] }, h.annotationsOptions, h.bindings.rectangleAnnotation.annotationsOptions));
|
|
1064
|
+
}, steps: [function(o, t) {
|
|
1065
|
+
let i = t.options.shapes, e = i && i[0] && i[0].points || [], s = this.chart.pointer?.getCoordinates(o), n = s && C(s.xAxis), a = s && C(s.yAxis);
|
|
1066
|
+
if (n && a) {
|
|
1067
|
+
let r = n.value, h = a.value;
|
|
1068
|
+
e[1].x = r, e[2].x = r, e[2].y = h, e[3].y = h, t.update({ shapes: [{ points: e }] });
|
|
1069
|
+
}
|
|
1070
|
+
}] }, labelAnnotation: { className: "highcharts-label-annotation", start: function(o) {
|
|
1071
|
+
let t = this.chart.pointer?.getCoordinates(o), i = t && C(t.xAxis), e = t && C(t.yAxis), s = this.chart.options.navigation;
|
|
1072
|
+
if (i && e) return this.chart.addAnnotation(K({ langKey: "label", type: "basicAnnotation", labelOptions: { format: "{y:.2f}", overflow: "none", crop: !0 }, labels: [{ point: { xAxis: i.axis.index, yAxis: e.axis.index, x: i.value, y: e.value } }] }, s.annotationsOptions, s.bindings.labelAnnotation.annotationsOptions));
|
|
1073
|
+
} } }, events: {}, annotationsOptions: { animation: { defer: 0 } } } }, { setOptions: Le } = x(), { format: Ie } = Dt(), { composed: Se, doc: Ye, win: Xe } = x(), { getAssignedAxis: ri, getFieldType: hi } = ni, { addEvent: O, attr: Fe, defined: Re, fireEvent: X, isArray: gt, isFunction: Ue, isNumber: We, isObject: li, merge: ci, objectEach: M, pick: pi, pushUnique: je } = x();
|
|
1074
|
+
function qe() {
|
|
1075
|
+
this.chart.navigationBindings && this.chart.navigationBindings.deselectAnnotation();
|
|
1076
|
+
}
|
|
1077
|
+
function He() {
|
|
1078
|
+
this.navigationBindings && this.navigationBindings.destroy();
|
|
1079
|
+
}
|
|
1080
|
+
function ze() {
|
|
1081
|
+
let o = this.options;
|
|
1082
|
+
o && o.navigation && o.navigation.bindings && (this.navigationBindings = new N(this, o.navigation), this.navigationBindings.initEvents(), this.navigationBindings.initUpdate());
|
|
1083
|
+
}
|
|
1084
|
+
function Ve() {
|
|
1085
|
+
let o = this.navigationBindings, t = "highcharts-disabled-btn";
|
|
1086
|
+
if (this && o) {
|
|
1087
|
+
let i = !1;
|
|
1088
|
+
if (this.series.forEach((e) => {
|
|
1089
|
+
!e.options.isInternal && e.visible && (i = !0);
|
|
1090
|
+
}), this.navigationBindings && this.navigationBindings.container && this.navigationBindings.container[0]) {
|
|
1091
|
+
let e = this.navigationBindings.container[0];
|
|
1092
|
+
M(o.boundClassNames, (s, n) => {
|
|
1093
|
+
let a = e.querySelectorAll("." + n);
|
|
1094
|
+
if (a) for (let r = 0; r < a.length; r++) {
|
|
1095
|
+
let h = a[r], c = h.className;
|
|
1096
|
+
s.noDataState === "normal" || i ? c.indexOf(t) !== -1 && h.classList.remove(t) : c.indexOf(t) === -1 && (h.className += " " + t);
|
|
1097
|
+
}
|
|
1098
|
+
});
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
function Ge() {
|
|
1103
|
+
this.deselectAnnotation();
|
|
1104
|
+
}
|
|
1105
|
+
function Ke() {
|
|
1106
|
+
this.selectedButtonElement = null;
|
|
1107
|
+
}
|
|
1108
|
+
function di(o) {
|
|
1109
|
+
let t, i, e = o.prototype.defaultOptions.events && o.prototype.defaultOptions.events.click;
|
|
1110
|
+
function s(n) {
|
|
1111
|
+
let a = this, r = a.chart.navigationBindings, h = r.activeAnnotation;
|
|
1112
|
+
e && e.call(a, n), h !== a ? (r.deselectAnnotation(), r.activeAnnotation = a, a.setControlPointsVisibility(!0), X(r, "showPopup", { annotation: a, formType: "annotation-toolbar", options: r.annotationToFields(a), onSubmit: function(c) {
|
|
1113
|
+
if (c.actionType === "remove") r.activeAnnotation = !1, r.chart.removeAnnotation(a);
|
|
1114
|
+
else {
|
|
1115
|
+
let l = {};
|
|
1116
|
+
r.fieldsToOptions(c.fields, l), r.deselectAnnotation();
|
|
1117
|
+
let g = l.typeOptions;
|
|
1118
|
+
a.options.type === "measure" && (g.crosshairY.enabled = g.crosshairY.strokeWidth !== 0, g.crosshairX.enabled = g.crosshairX.strokeWidth !== 0), a.update(l);
|
|
1119
|
+
}
|
|
1120
|
+
} })) : X(r, "closePopup"), n.activeAnnotation = !0;
|
|
1121
|
+
}
|
|
1122
|
+
ci(!0, o.prototype.defaultOptions.events, { click: s, touchstart: function(n) {
|
|
1123
|
+
t = n.touches[0].clientX, i = n.touches[0].clientY;
|
|
1124
|
+
}, touchend: function(n) {
|
|
1125
|
+
t && Math.sqrt(Math.pow(t - n.changedTouches[0].clientX, 2) + Math.pow(i - n.changedTouches[0].clientY, 2)) >= 4 || s.call(this, n);
|
|
1126
|
+
} });
|
|
1127
|
+
}
|
|
1128
|
+
class N {
|
|
1129
|
+
static compose(t, i) {
|
|
1130
|
+
je(Se, "NavigationBindings") && (O(t, "remove", qe), di(t), M(t.types, (e) => {
|
|
1131
|
+
di(e);
|
|
1132
|
+
}), O(i, "destroy", He), O(i, "load", ze), O(i, "render", Ve), O(N, "closePopup", Ge), O(N, "deselectButton", Ke), Le(De));
|
|
1133
|
+
}
|
|
1134
|
+
constructor(t, i) {
|
|
1135
|
+
this.boundClassNames = void 0, this.chart = t, this.options = i, this.eventsToUnbind = [], this.container = this.chart.container.getElementsByClassName(this.options.bindingsClassName || ""), this.container.length || (this.container = Ye.getElementsByClassName(this.options.bindingsClassName || ""));
|
|
1136
|
+
}
|
|
1137
|
+
getCoords(t) {
|
|
1138
|
+
let i = this.chart.pointer?.getCoordinates(t);
|
|
1139
|
+
return [i && ri(i.xAxis), i && ri(i.yAxis)];
|
|
1140
|
+
}
|
|
1141
|
+
initEvents() {
|
|
1142
|
+
let t = this, i = t.chart, e = t.container, s = t.options;
|
|
1143
|
+
t.boundClassNames = {}, M(s.bindings || {}, (n) => {
|
|
1144
|
+
t.boundClassNames[n.className] = n;
|
|
1145
|
+
}), [].forEach.call(e, (n) => {
|
|
1146
|
+
t.eventsToUnbind.push(O(n, "click", (a) => {
|
|
1147
|
+
let r = t.getButtonEvents(n, a);
|
|
1148
|
+
r && !r.button.classList.contains("highcharts-disabled-btn") && t.bindingsButtonClick(r.button, r.events, a);
|
|
1149
|
+
}));
|
|
1150
|
+
}), M(s.events || {}, (n, a) => {
|
|
1151
|
+
Ue(n) && t.eventsToUnbind.push(O(t, a, n, { passive: !1 }));
|
|
1152
|
+
}), t.eventsToUnbind.push(O(i.container, "click", function(n) {
|
|
1153
|
+
!i.cancelClick && i.isInsidePlot(n.chartX - i.plotLeft, n.chartY - i.plotTop, { visiblePlotOnly: !0 }) && t.bindingsChartClick(this, n);
|
|
1154
|
+
})), t.eventsToUnbind.push(O(i.container, x().isTouchDevice ? "touchmove" : "mousemove", function(n) {
|
|
1155
|
+
t.bindingsContainerMouseMove(this, n);
|
|
1156
|
+
}, x().isTouchDevice ? { passive: !1 } : void 0));
|
|
1157
|
+
}
|
|
1158
|
+
initUpdate() {
|
|
1159
|
+
let t = this;
|
|
1160
|
+
Be.compose(this.chart).navigation.addUpdate((i) => {
|
|
1161
|
+
t.update(i);
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
bindingsButtonClick(t, i, e) {
|
|
1165
|
+
let s = this.chart, n = s.renderer.boxWrapper, a = !0;
|
|
1166
|
+
this.selectedButtonElement && (this.selectedButtonElement.classList === t.classList && (a = !1), X(this, "deselectButton", { button: this.selectedButtonElement }), this.nextEvent && (this.currentUserDetails && this.currentUserDetails.coll === "annotations" && s.removeAnnotation(this.currentUserDetails), this.mouseMoveEvent = this.nextEvent = !1)), a ? (this.selectedButton = i, this.selectedButtonElement = t, X(this, "selectButton", { button: t }), i.init && i.init.call(this, t, e), (i.start || i.steps) && s.renderer.boxWrapper.addClass("highcharts-draw-mode")) : (s.stockTools && t.classList.remove("highcharts-active"), n.removeClass("highcharts-draw-mode"), this.nextEvent = !1, this.mouseMoveEvent = !1, this.selectedButton = null);
|
|
1167
|
+
}
|
|
1168
|
+
bindingsChartClick(t, i) {
|
|
1169
|
+
t = this.chart;
|
|
1170
|
+
let e = this.activeAnnotation, s = this.selectedButton, n = t.renderer.boxWrapper;
|
|
1171
|
+
e && (e.cancelClick || i.activeAnnotation || !i.target.parentNode || function(a, r) {
|
|
1172
|
+
let h = Xe.Element.prototype, c = h.matches || h.msMatchesSelector || h.webkitMatchesSelector, l = null;
|
|
1173
|
+
if (h.closest) l = h.closest.call(a, r);
|
|
1174
|
+
else do {
|
|
1175
|
+
if (c.call(a, r)) return a;
|
|
1176
|
+
a = a.parentElement || a.parentNode;
|
|
1177
|
+
} while (a !== null && a.nodeType === 1);
|
|
1178
|
+
return l;
|
|
1179
|
+
}(i.target, ".highcharts-popup") ? e.cancelClick && setTimeout(() => {
|
|
1180
|
+
e.cancelClick = !1;
|
|
1181
|
+
}, 0) : X(this, "closePopup")), s && s.start && (this.nextEvent ? (this.nextEvent(i, this.currentUserDetails), this.steps && (this.stepIndex++, s.steps[this.stepIndex] ? this.mouseMoveEvent = this.nextEvent = s.steps[this.stepIndex] : (X(this, "deselectButton", { button: this.selectedButtonElement }), n.removeClass("highcharts-draw-mode"), s.end && s.end.call(this, i, this.currentUserDetails), this.nextEvent = !1, this.mouseMoveEvent = !1, this.selectedButton = null))) : (this.currentUserDetails = s.start.call(this, i), this.currentUserDetails && s.steps ? (this.stepIndex = 0, this.steps = !0, this.mouseMoveEvent = this.nextEvent = s.steps[this.stepIndex]) : (X(this, "deselectButton", { button: this.selectedButtonElement }), n.removeClass("highcharts-draw-mode"), this.steps = !1, this.selectedButton = null, s.end && s.end.call(this, i, this.currentUserDetails))));
|
|
1182
|
+
}
|
|
1183
|
+
bindingsContainerMouseMove(t, i) {
|
|
1184
|
+
this.mouseMoveEvent && this.mouseMoveEvent(i, this.currentUserDetails);
|
|
1185
|
+
}
|
|
1186
|
+
fieldsToOptions(t, i) {
|
|
1187
|
+
return M(t, (e, s) => {
|
|
1188
|
+
let n = parseFloat(e), a = s.split("."), r = a.length - 1;
|
|
1189
|
+
if (!We(n) || e.match(/px|em/g) || s.match(/format/g) || (e = n), e !== "undefined") {
|
|
1190
|
+
let h = i;
|
|
1191
|
+
a.forEach((c, l) => {
|
|
1192
|
+
if (c !== "__proto__" && c !== "constructor") {
|
|
1193
|
+
let g = pi(a[l + 1], "");
|
|
1194
|
+
r === l ? h[c] = e : (h[c] || (h[c] = g.match(/\d/g) ? [] : {}), h = h[c]);
|
|
1195
|
+
}
|
|
1196
|
+
});
|
|
1197
|
+
}
|
|
1198
|
+
}), i;
|
|
1199
|
+
}
|
|
1200
|
+
deselectAnnotation() {
|
|
1201
|
+
this.activeAnnotation && (this.activeAnnotation.setControlPointsVisibility(!1), this.activeAnnotation = !1);
|
|
1202
|
+
}
|
|
1203
|
+
annotationToFields(t) {
|
|
1204
|
+
let i = t.options, e = N.annotationsEditable, s = e.nestedOptions, n = pi(i.type, i.shapes && i.shapes[0] && i.shapes[0].type, i.labels && i.labels[0] && i.labels[0].type, "label"), a = N.annotationsNonEditable[i.langKey] || [], r = { langKey: i.langKey, type: n };
|
|
1205
|
+
function h(c, l, g, f, d) {
|
|
1206
|
+
let p;
|
|
1207
|
+
g && Re(c) && a.indexOf(l) === -1 && ((g.indexOf && g.indexOf(l)) >= 0 || g[l] || g === !0) && (gt(c) ? (f[l] = [], c.forEach((u, m) => {
|
|
1208
|
+
li(u) ? (f[l][m] = {}, M(u, (y, v) => {
|
|
1209
|
+
h(y, v, s[l], f[l][m], l);
|
|
1210
|
+
})) : h(u, 0, s[l], f[l], l);
|
|
1211
|
+
})) : li(c) ? (p = {}, gt(f) ? (f.push(p), p[l] = {}, p = p[l]) : f[l] = p, M(c, (u, m) => {
|
|
1212
|
+
h(u, m, l === 0 ? g : s[l], p, l);
|
|
1213
|
+
})) : l === "format" ? f[l] = [Ie(c, t.labels[0].points[0]).toString(), "text"] : gt(f) ? f.push([c, hi(d, c)]) : f[l] = [c, hi(l, c)]);
|
|
1214
|
+
}
|
|
1215
|
+
return M(i, (c, l) => {
|
|
1216
|
+
l === "typeOptions" ? (r[l] = {}, M(i[l], (g, f) => {
|
|
1217
|
+
h(g, f, s, r[l], f);
|
|
1218
|
+
})) : h(c, l, e[n], r, l);
|
|
1219
|
+
}), r;
|
|
1220
|
+
}
|
|
1221
|
+
getClickedClassNames(t, i) {
|
|
1222
|
+
let e = i.target, s = [], n;
|
|
1223
|
+
for (; e && e.tagName && ((n = Fe(e, "class")) && (s = s.concat(n.split(" ").map((a) => [a, e]))), (e = e.parentNode) !== t); ) ;
|
|
1224
|
+
return s;
|
|
1225
|
+
}
|
|
1226
|
+
getButtonEvents(t, i) {
|
|
1227
|
+
let e, s = this;
|
|
1228
|
+
return this.getClickedClassNames(t, i).forEach((n) => {
|
|
1229
|
+
s.boundClassNames[n[0]] && !e && (e = { events: s.boundClassNames[n[0]], button: n[1] });
|
|
1230
|
+
}), e;
|
|
1231
|
+
}
|
|
1232
|
+
update(t) {
|
|
1233
|
+
this.options = ci(!0, this.options, t), this.removeEvents(), this.initEvents();
|
|
1234
|
+
}
|
|
1235
|
+
removeEvents() {
|
|
1236
|
+
this.eventsToUnbind.forEach((t) => t());
|
|
1237
|
+
}
|
|
1238
|
+
destroy() {
|
|
1239
|
+
this.removeEvents();
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
N.annotationsEditable = { nestedOptions: { labelOptions: ["style", "format", "backgroundColor"], labels: ["style"], label: ["style"], style: ["fontSize", "color"], background: ["fill", "strokeWidth", "stroke"], innerBackground: ["fill", "strokeWidth", "stroke"], outerBackground: ["fill", "strokeWidth", "stroke"], shapeOptions: ["fill", "strokeWidth", "stroke"], shapes: ["fill", "strokeWidth", "stroke"], line: ["strokeWidth", "stroke"], backgroundColors: [!0], connector: ["fill", "strokeWidth", "stroke"], crosshairX: ["strokeWidth", "stroke"], crosshairY: ["strokeWidth", "stroke"] }, circle: ["shapes"], ellipse: ["shapes"], verticalLine: [], label: ["labelOptions"], measure: ["background", "crosshairY", "crosshairX"], fibonacci: [], tunnel: ["background", "line", "height"], pitchfork: ["innerBackground", "outerBackground"], rect: ["shapes"], crookedLine: [], basicAnnotation: ["shapes", "labelOptions"] }, N.annotationsNonEditable = { rectangle: ["crosshairX", "crosshairY", "labelOptions"], ellipse: ["labelOptions"], circle: ["labelOptions"] };
|
|
1243
|
+
let T = x();
|
|
1244
|
+
T.Annotation = T.Annotation || w, T.NavigationBindings = T.NavigationBindings || N, T.Annotation.compose(T.Chart, T.NavigationBindings, T.Pointer, T.SVGRenderer);
|
|
1245
|
+
let $e = x();
|
|
1246
|
+
return mt.default;
|
|
1247
|
+
})());
|
|
1248
|
+
}($)), $.exports;
|
|
1249
|
+
}
|
|
1250
|
+
var gi = Qe();
|
|
1251
|
+
const ts = /* @__PURE__ */ Ze(gi), es = /* @__PURE__ */ _e({
|
|
1252
|
+
__proto__: null,
|
|
1253
|
+
default: ts
|
|
1254
|
+
}, [gi]);
|
|
1255
|
+
export {
|
|
1256
|
+
es as a
|
|
1257
|
+
};
|