vue-data-ui 2.4.1 → 2.4.3
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/README.md +44 -44
- package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
- package/dist/BaseIcon-uALK38Ov.cjs +1 -0
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
- package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +22 -17
- package/dist/types/vue-data-ui.d.ts +22 -17
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/usePrinter-CSRFnDBU.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
- package/dist/vue-data-ui-Bduq4f2p.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
- package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
- package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
- package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
- package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
- package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
- package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
- package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { computed as m, ref as h, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { L as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { computed as m, ref as h, watch as Pe, onMounted as je, onBeforeUnmount as Ze, openBlock as o, createElementBlock as n, normalizeClass as T, normalizeStyle as q, createBlock as N, createCommentVNode as c, unref as y, createSlots as Ke, withCtx as x, renderSlot as L, normalizeProps as G, guardReactiveProps as Q, createVNode as ie, createElementVNode as v, Fragment as C, renderList as Y, toDisplayString as $, createTextVNode as et, nextTick as tt } from "vue";
|
|
2
|
+
import { u as lt, c as Ve, t as at, a as ut, p as ve, o as ot, e as F, b as st, d as rt, i as P, f as V, X as nt, s as ae, w as it, T as vt, F as dt, x as ct, y as ht, q as yt, r as bt } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { t as ft, u as pt } from "./useResponsive-BY8tgM1n.js";
|
|
4
|
+
import { _ as gt } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { u as mt, U as xt } from "./usePrinter-CiHd1FwD.js";
|
|
6
|
+
import { _ as $t } from "./Tooltip-Cz24YLfw.js";
|
|
7
|
+
import { _ as Be } from "./Shape-Bwon0l0g.js";
|
|
8
|
+
import { L as kt } from "./Legend-DNgTCgEK.js";
|
|
9
|
+
import { D as Lt } from "./DataTable-DYqC2pqu.js";
|
|
10
|
+
import wt from "./vue-ui-skeleton-BYssP0K4.js";
|
|
11
|
+
import _t from "./vue-ui-accordion-DfUfL2dI.js";
|
|
12
|
+
import { u as Oe } from "./useNestedProp-B33hazbH.js";
|
|
13
|
+
import { _ as qt } from "./PackageVersion-VkaUzgmt.js";
|
|
14
|
+
import { P as Ct } from "./PenAndPaper-DAZYA8Ew.js";
|
|
15
|
+
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const zt = ["id"], Tt = ["xmlns", "viewBox", "id"], Wt = ["id"], Xt = ["stop-color"], Yt = ["stop-color"], At = { key: 0 }, Mt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Nt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Pt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Vt = { key: 1 }, Bt = ["points", "fill"], Ot = ["points", "fill"], Rt = ["points", "fill"], Ft = ["points", "fill"], Ht = { key: 2 }, It = ["y", "fill", "font-size"], Dt = ["x", "y", "fill", "font-size"], Et = ["x", "y", "fill", "font-size"], Ut = ["y", "fill", "font-size"], Gt = { key: 3 }, Qt = ["x", "y", "font-size", "fill"], Jt = ["x", "y", "font-size", "fill"], jt = ["x", "y", "font-size", "fill"], Zt = ["id", "font-size", "transform", "fill"], Kt = ["id", "font-size", "transform", "fill"], el = ["id", "font-size", "transform", "fill"], tl = { key: 4 }, ll = ["fill", "points"], al = ["x", "y", "width", "height"], ul = ["x", "y", "width", "height"], ol = ["x", "y", "width", "height"], sl = ["x", "y", "width", "height"], rl = { key: 0 }, nl = ["x", "y", "font-size", "fill"], il = { key: 0 }, vl = ["x", "y", "onMouseover", "onClick"], dl = {
|
|
16
17
|
key: 7,
|
|
17
18
|
class: "vue-ui-dna"
|
|
18
|
-
},
|
|
19
|
-
key:
|
|
19
|
+
}, cl = ["points", "fill"], hl = ["points", "fill"], yl = ["points", "fill"], bl = ["points", "fill"], fl = { key: 8 }, pl = ["x", "y", "font-size", "fill", "font-weight"], gl = { key: 9 }, ml = ["x", "y", "fill"], xl = ["x", "y", "fill"], $l = ["x", "y", "fill"], kl = ["x", "y", "fill"], Ll = ["stroke", "d"], wl = ["stroke", "d"], _l = {
|
|
20
|
+
key: 4,
|
|
20
21
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
22
|
+
}, ql = ["onClick"], Cl = {
|
|
22
23
|
key: 0,
|
|
23
24
|
height: "14",
|
|
24
25
|
width: "14",
|
|
25
26
|
viewBox: "0 0 20 20"
|
|
26
|
-
},
|
|
27
|
+
}, Sl = ["innerHTML"], zl = {
|
|
27
28
|
__name: "vue-ui-quadrant",
|
|
28
29
|
props: {
|
|
29
30
|
config: {
|
|
@@ -40,30 +41,30 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
40
41
|
}
|
|
41
42
|
},
|
|
42
43
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
43
|
-
setup(
|
|
44
|
-
const W =
|
|
45
|
-
get: () =>
|
|
44
|
+
setup(Re, { expose: Fe, emit: ue }) {
|
|
45
|
+
const W = Re, { vue_ui_quadrant: He } = lt(), J = m(() => !!W.dataset && W.dataset.length), z = h(Ve()), Ie = h(null), j = h(!1), oe = h(""), de = h(0), p = h(!1), O = h(null), ce = h(null), he = h(null), ye = h(null), be = h(0), fe = h(0), pe = h(0), t = m({
|
|
46
|
+
get: () => ge(),
|
|
46
47
|
set: (l) => l
|
|
47
48
|
});
|
|
48
|
-
function
|
|
49
|
-
const l =
|
|
49
|
+
function ge() {
|
|
50
|
+
const l = Oe({
|
|
50
51
|
userConfig: W.config,
|
|
51
|
-
defaultConfig:
|
|
52
|
+
defaultConfig: He
|
|
52
53
|
});
|
|
53
54
|
return l.theme ? {
|
|
54
|
-
...
|
|
55
|
-
userConfig:
|
|
55
|
+
...Oe({
|
|
56
|
+
userConfig: at.vue_ui_quadrant[l.theme] || W.config,
|
|
56
57
|
defaultConfig: l
|
|
57
58
|
}),
|
|
58
|
-
customPalette:
|
|
59
|
+
customPalette: ut[l.theme] || ve
|
|
59
60
|
} : l;
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
-
t.value =
|
|
62
|
+
Pe(() => W.config, (l) => {
|
|
63
|
+
t.value = ge(), me(), be.value += 1, fe.value += 1, pe.value += 1;
|
|
63
64
|
}, { deep: !0 });
|
|
64
|
-
const
|
|
65
|
-
function
|
|
66
|
-
if (
|
|
65
|
+
const Z = h(null);
|
|
66
|
+
function me() {
|
|
67
|
+
if (ot(W.dataset) ? F({
|
|
67
68
|
componentName: "VueUiQuadrant",
|
|
68
69
|
type: "dataset"
|
|
69
70
|
}) : W.dataset.forEach((l, u) => {
|
|
@@ -87,26 +88,27 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
87
88
|
});
|
|
88
89
|
});
|
|
89
90
|
}), t.value.responsive) {
|
|
90
|
-
const l =
|
|
91
|
-
const { width: u, height: a } =
|
|
91
|
+
const l = ft(() => {
|
|
92
|
+
const { width: u, height: a } = pt({
|
|
92
93
|
chart: O.value,
|
|
93
|
-
title: t.value.style.chart.title.text ?
|
|
94
|
-
legend: t.value.style.chart.legend.show ?
|
|
94
|
+
title: t.value.style.chart.title.text ? ce.value : null,
|
|
95
|
+
legend: t.value.style.chart.legend.show ? he.value : null,
|
|
96
|
+
source: ye.value
|
|
95
97
|
});
|
|
96
98
|
g.value = 48, e.value.height = a, e.value.usableHeight = a - g.value * 2, e.value.width = u, e.value.usableWidth = u - g.value * 2, e.value.top = g.value, e.value.left = g.value, e.value.right = u - g.value, e.value.bottom = a - g.value, e.value.centerX = u / 2, e.value.centerY = a - a / 2, e.value.padding = g.value;
|
|
97
99
|
});
|
|
98
|
-
|
|
100
|
+
Z.value = new ResizeObserver(l), Z.value.observe(O.value.parentNode);
|
|
99
101
|
}
|
|
100
102
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}),
|
|
104
|
-
|
|
103
|
+
je(() => {
|
|
104
|
+
me();
|
|
105
|
+
}), Ze(() => {
|
|
106
|
+
Z.value && Z.value.disconnect();
|
|
105
107
|
});
|
|
106
|
-
const { isPrinting:
|
|
108
|
+
const { isPrinting: xe, isImaging: $e, generatePdf: ke, generateImage: Le } = mt({
|
|
107
109
|
elementId: `vue-ui-quadrant_${z.value}`,
|
|
108
110
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant"
|
|
109
|
-
}),
|
|
111
|
+
}), we = m(() => st(t.value.customPalette)), w = h({
|
|
110
112
|
plotLabels: {
|
|
111
113
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
112
114
|
},
|
|
@@ -129,7 +131,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
129
131
|
startX: 0,
|
|
130
132
|
startY: 0
|
|
131
133
|
});
|
|
132
|
-
|
|
134
|
+
Pe(() => e.value, (l) => {
|
|
133
135
|
l && (d.value = {
|
|
134
136
|
...JSON.parse(JSON.stringify(e.value)),
|
|
135
137
|
startX: 0,
|
|
@@ -177,7 +179,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
177
179
|
default:
|
|
178
180
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
179
181
|
}
|
|
180
|
-
}),
|
|
182
|
+
}), De = h(null), K = h(!1);
|
|
181
183
|
function H({ targetX: l, targetY: u, targetW: a, targetH: s, side: r }) {
|
|
182
184
|
i.value && E(r);
|
|
183
185
|
const b = {
|
|
@@ -187,13 +189,13 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
187
189
|
h: s - d.value.height
|
|
188
190
|
}, f = t.value.zoomAnimationFrames;
|
|
189
191
|
let X = 0;
|
|
190
|
-
function
|
|
191
|
-
|
|
192
|
+
function Ne() {
|
|
193
|
+
K.value = !0, d.value.startX += b.x / f, d.value.startY += b.y / f, d.value.width += b.w / f, d.value.height += b.h / f, X += 1, X < f ? De.value = requestAnimationFrame(Ne) : K.value = !1;
|
|
192
194
|
}
|
|
193
|
-
|
|
195
|
+
Ne();
|
|
194
196
|
}
|
|
195
|
-
function
|
|
196
|
-
if (!
|
|
197
|
+
function A(l) {
|
|
198
|
+
if (!K.value)
|
|
197
199
|
if (p.value && i.value === l)
|
|
198
200
|
H({
|
|
199
201
|
targetX: 0,
|
|
@@ -246,7 +248,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
246
248
|
p.value = !0;
|
|
247
249
|
}
|
|
248
250
|
}
|
|
249
|
-
const
|
|
251
|
+
const Ee = m(() => {
|
|
250
252
|
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, s = [];
|
|
251
253
|
for (let r = 0; r < l; r += 1)
|
|
252
254
|
s.push({
|
|
@@ -257,7 +259,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
257
259
|
opacity: Math.round((r + 1) / l * 20)
|
|
258
260
|
});
|
|
259
261
|
return s;
|
|
260
|
-
}),
|
|
262
|
+
}), _ = m(() => {
|
|
261
263
|
let l = t.value.style.chart.layout.grid.xAxis.max, u = t.value.style.chart.layout.grid.xAxis.min, a = t.value.style.chart.layout.grid.yAxis.max, s = t.value.style.chart.layout.grid.yAxis.min;
|
|
262
264
|
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...R.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...R.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...R.value.flatMap((r) => r.series.map((b) => b.y))), s = Math.min(...R.value.flatMap((r) => r.series.map((b) => b.y)))), {
|
|
263
265
|
x: {
|
|
@@ -269,25 +271,25 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
269
271
|
min: s
|
|
270
272
|
}
|
|
271
273
|
};
|
|
272
|
-
}),
|
|
274
|
+
}), M = h([]), R = m(() => W.dataset.map((l, u) => ({
|
|
273
275
|
...l,
|
|
274
276
|
id: `cat_${u}_${z.value}`,
|
|
275
|
-
color:
|
|
276
|
-
}))),
|
|
277
|
+
color: rt(l.color) || we.value[u] || ve[u]
|
|
278
|
+
}))), Ue = m(() => R.value.filter((l) => !M.value.includes(l.id))), Ge = m(() => R.value.map((l, u) => ({
|
|
277
279
|
...l,
|
|
278
280
|
shape: l.shape || "circle",
|
|
279
281
|
series: l.series.map((a) => ({
|
|
280
282
|
...a,
|
|
281
|
-
x:
|
|
282
|
-
y:
|
|
283
|
+
x: _e(a.x),
|
|
284
|
+
y: qe(a.y),
|
|
283
285
|
xValue: a.x,
|
|
284
286
|
yValue: a.y,
|
|
285
|
-
quadrantSide:
|
|
287
|
+
quadrantSide: Se({ x: a.x, y: a.y }),
|
|
286
288
|
categoryName: l.name,
|
|
287
289
|
shape: l.shape,
|
|
288
290
|
color: l.color
|
|
289
291
|
}))
|
|
290
|
-
}))),
|
|
292
|
+
}))), S = m(() => (W.dataset.forEach((l, u) => {
|
|
291
293
|
l.series.forEach((a, s) => {
|
|
292
294
|
[null, void 0].includes(a.x) && F({
|
|
293
295
|
componentName: "VueUiQuadrant",
|
|
@@ -303,43 +305,43 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
303
305
|
index: s
|
|
304
306
|
});
|
|
305
307
|
});
|
|
306
|
-
}),
|
|
308
|
+
}), Ue.value.map((l, u) => ({
|
|
307
309
|
...l,
|
|
308
310
|
shape: l.shape || "circle",
|
|
309
|
-
color: l.color ||
|
|
311
|
+
color: l.color || we.value[u] || ve[u],
|
|
310
312
|
series: l.series.map((a) => ({
|
|
311
313
|
...a,
|
|
312
|
-
x:
|
|
313
|
-
y:
|
|
314
|
+
x: _e(a.x),
|
|
315
|
+
y: qe(a.y),
|
|
314
316
|
xValue: a.x,
|
|
315
317
|
yValue: a.y,
|
|
316
|
-
quadrantSide:
|
|
318
|
+
quadrantSide: Se({ x: a.x, y: a.y }),
|
|
317
319
|
categoryName: l.name,
|
|
318
320
|
shape: l.shape,
|
|
319
321
|
color: l.color,
|
|
320
|
-
uid:
|
|
322
|
+
uid: Ve()
|
|
321
323
|
}))
|
|
322
324
|
}))));
|
|
323
|
-
function
|
|
325
|
+
function _e(l) {
|
|
324
326
|
if (l >= 0) {
|
|
325
|
-
const u = l /
|
|
327
|
+
const u = l / _.value.x.max;
|
|
326
328
|
return e.value.centerX + e.value.usableWidth / 2 * u;
|
|
327
329
|
} else {
|
|
328
|
-
const u = Math.abs(l) / Math.abs(
|
|
330
|
+
const u = Math.abs(l) / Math.abs(_.value.x.min);
|
|
329
331
|
return e.value.centerX - e.value.usableWidth / 2 * u;
|
|
330
332
|
}
|
|
331
333
|
}
|
|
332
|
-
function
|
|
334
|
+
function qe(l) {
|
|
333
335
|
if (l >= 0) {
|
|
334
|
-
const u = l /
|
|
336
|
+
const u = l / _.value.y.max;
|
|
335
337
|
return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
|
|
336
338
|
} else {
|
|
337
|
-
const u = Math.abs(l) / Math.abs(
|
|
339
|
+
const u = Math.abs(l) / Math.abs(_.value.y.min);
|
|
338
340
|
return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
|
|
339
341
|
}
|
|
340
342
|
}
|
|
341
|
-
const
|
|
342
|
-
const l =
|
|
343
|
+
const ee = m(() => {
|
|
344
|
+
const l = S.value.flatMap((f) => f.series.map((X) => ({
|
|
343
345
|
x: X.xValue,
|
|
344
346
|
y: X.yValue,
|
|
345
347
|
name: X.name,
|
|
@@ -353,15 +355,15 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
353
355
|
color: f.color
|
|
354
356
|
}));
|
|
355
357
|
return { head: s, body: r, itsShapes: b, tableData: l };
|
|
356
|
-
}),
|
|
357
|
-
const l =
|
|
358
|
+
}), te = m(() => {
|
|
359
|
+
const l = ee.value.head, u = ee.value.tableData.map((s) => [
|
|
358
360
|
{
|
|
359
361
|
shape: s.shape,
|
|
360
362
|
color: s.color,
|
|
361
363
|
name: s.category
|
|
362
364
|
},
|
|
363
365
|
s.name,
|
|
364
|
-
|
|
366
|
+
P(
|
|
365
367
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
366
368
|
s.x,
|
|
367
369
|
V({
|
|
@@ -369,7 +371,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
369
371
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
370
372
|
})
|
|
371
373
|
),
|
|
372
|
-
|
|
374
|
+
P(
|
|
373
375
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
374
376
|
s.y,
|
|
375
377
|
V({
|
|
@@ -393,20 +395,20 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
393
395
|
};
|
|
394
396
|
return { head: l, body: u, config: a, colNames: l };
|
|
395
397
|
});
|
|
396
|
-
function
|
|
397
|
-
|
|
398
|
-
const u =
|
|
399
|
-
|
|
398
|
+
function se(l) {
|
|
399
|
+
M.value.includes(l) ? M.value = M.value.filter((a) => a !== l) : M.value.push(l);
|
|
400
|
+
const u = We();
|
|
401
|
+
ue("selectLegend", u);
|
|
400
402
|
}
|
|
401
|
-
const
|
|
403
|
+
const Ce = m(() => Ge.value.map((l) => ({
|
|
402
404
|
name: l.name,
|
|
403
405
|
shape: l.shape,
|
|
404
406
|
color: l.color,
|
|
405
407
|
id: l.id,
|
|
406
|
-
opacity:
|
|
407
|
-
segregate: () =>
|
|
408
|
-
isSegregated:
|
|
409
|
-
}))),
|
|
408
|
+
opacity: M.value.includes(l.id) ? 0.5 : 1,
|
|
409
|
+
segregate: () => se(l.id),
|
|
410
|
+
isSegregated: M.value.includes(l.id)
|
|
411
|
+
}))), Qe = m(() => ({
|
|
410
412
|
cy: "quadrant-div-legend",
|
|
411
413
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
412
414
|
color: t.value.style.chart.legend.color,
|
|
@@ -414,7 +416,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
414
416
|
paddingBottom: 12,
|
|
415
417
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
416
418
|
}));
|
|
417
|
-
function
|
|
419
|
+
function Se(l) {
|
|
418
420
|
switch (!0) {
|
|
419
421
|
case (l.x >= 0 && l.y >= 0):
|
|
420
422
|
return "tr";
|
|
@@ -428,33 +430,33 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
428
430
|
return "";
|
|
429
431
|
}
|
|
430
432
|
}
|
|
431
|
-
const I = h(null), D = h(null),
|
|
432
|
-
function
|
|
433
|
+
const I = h(null), D = h(null), re = h(null);
|
|
434
|
+
function ze(l, u, a) {
|
|
433
435
|
I.value = u.uid, D.value = {
|
|
434
436
|
color: l.color,
|
|
435
437
|
shape: l.shape
|
|
436
|
-
},
|
|
438
|
+
}, re.value = {
|
|
437
439
|
datapoint: u,
|
|
438
440
|
seriesIndex: a,
|
|
439
|
-
series:
|
|
441
|
+
series: S.value,
|
|
440
442
|
config: t.value
|
|
441
|
-
},
|
|
443
|
+
}, j.value = !0;
|
|
442
444
|
const s = t.value.style.chart.tooltip.customFormat;
|
|
443
|
-
if (
|
|
445
|
+
if (ct(s) && ht(() => s({
|
|
444
446
|
seriesIndex: a,
|
|
445
447
|
datapoint: u,
|
|
446
|
-
series:
|
|
448
|
+
series: S.value,
|
|
447
449
|
config: t.value
|
|
448
450
|
})))
|
|
449
|
-
|
|
451
|
+
oe.value = s({
|
|
450
452
|
seriesIndex: a,
|
|
451
453
|
datapoint: u,
|
|
452
|
-
series:
|
|
454
|
+
series: S.value,
|
|
453
455
|
config: t.value
|
|
454
456
|
});
|
|
455
457
|
else {
|
|
456
458
|
let r = "";
|
|
457
|
-
u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${
|
|
459
|
+
u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${P(
|
|
458
460
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
459
461
|
u.xValue,
|
|
460
462
|
V({
|
|
@@ -462,7 +464,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
462
464
|
r: t.value.style.chart.tooltip.roundingValue
|
|
463
465
|
}),
|
|
464
466
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
465
|
-
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
467
|
+
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${P(
|
|
466
468
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
467
469
|
u.yValue,
|
|
468
470
|
V({
|
|
@@ -470,10 +472,10 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
470
472
|
r: t.value.style.chart.tooltip.roundingValue
|
|
471
473
|
}),
|
|
472
474
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
473
|
-
)}</b></div>`,
|
|
475
|
+
)}</b></div>`, oe.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
474
476
|
}
|
|
475
477
|
}
|
|
476
|
-
function
|
|
478
|
+
function Te(l, u) {
|
|
477
479
|
const a = {
|
|
478
480
|
category: l.name,
|
|
479
481
|
shape: l.shape,
|
|
@@ -483,11 +485,11 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
483
485
|
quadrantSide: u.quadrantSide,
|
|
484
486
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text
|
|
485
487
|
};
|
|
486
|
-
|
|
488
|
+
ue("selectPlot", a);
|
|
487
489
|
}
|
|
488
490
|
function E(l) {
|
|
489
491
|
if (!l) return;
|
|
490
|
-
const u =
|
|
492
|
+
const u = S.value.flatMap((s) => s.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
491
493
|
category: r.categoryName,
|
|
492
494
|
itemName: r.name,
|
|
493
495
|
x: r.xValue,
|
|
@@ -497,9 +499,9 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
497
499
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
498
500
|
items: [...u]
|
|
499
501
|
};
|
|
500
|
-
|
|
502
|
+
ue("selectSide", a);
|
|
501
503
|
}
|
|
502
|
-
const
|
|
504
|
+
const k = m(() => ({
|
|
503
505
|
TL: {
|
|
504
506
|
tl: {
|
|
505
507
|
x: e.value.left + e.value.usableWidth / 4 - 20,
|
|
@@ -605,8 +607,8 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
605
607
|
}
|
|
606
608
|
}
|
|
607
609
|
}));
|
|
608
|
-
function
|
|
609
|
-
return
|
|
610
|
+
function We() {
|
|
611
|
+
return S.value.map((l) => ({
|
|
610
612
|
color: l.color,
|
|
611
613
|
name: l.name,
|
|
612
614
|
shape: l.shape,
|
|
@@ -619,48 +621,61 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
619
621
|
}))
|
|
620
622
|
}));
|
|
621
623
|
}
|
|
622
|
-
function
|
|
623
|
-
|
|
624
|
-
const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u =
|
|
625
|
-
|
|
624
|
+
function Xe() {
|
|
625
|
+
tt(() => {
|
|
626
|
+
const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u = ee.value.head, a = ee.value.body, s = l.concat([u]).concat(a), r = yt(s);
|
|
627
|
+
bt({ csvContent: r, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
626
628
|
});
|
|
627
629
|
}
|
|
628
630
|
const U = h(!1);
|
|
629
|
-
function
|
|
630
|
-
U.value = l,
|
|
631
|
+
function Je(l) {
|
|
632
|
+
U.value = l, de.value += 1;
|
|
631
633
|
}
|
|
632
|
-
function
|
|
633
|
-
|
|
634
|
+
function Ye() {
|
|
635
|
+
w.value.showTable = !w.value.showTable;
|
|
634
636
|
}
|
|
635
|
-
function
|
|
636
|
-
|
|
637
|
+
function Ae() {
|
|
638
|
+
w.value.plotLabels.show = !w.value.plotLabels.show;
|
|
637
639
|
}
|
|
638
|
-
function
|
|
639
|
-
|
|
640
|
+
function Me() {
|
|
641
|
+
w.value.showTooltip = !w.value.showTooltip;
|
|
642
|
+
}
|
|
643
|
+
const le = h(!1);
|
|
644
|
+
function ne() {
|
|
645
|
+
le.value = !le.value;
|
|
640
646
|
}
|
|
641
|
-
return
|
|
642
|
-
getData:
|
|
643
|
-
generatePdf:
|
|
644
|
-
generateCsv:
|
|
645
|
-
generateImage:
|
|
646
|
-
toggleTable:
|
|
647
|
-
toggleLabels:
|
|
648
|
-
toggleTooltip:
|
|
647
|
+
return Fe({
|
|
648
|
+
getData: We,
|
|
649
|
+
generatePdf: ke,
|
|
650
|
+
generateCsv: Xe,
|
|
651
|
+
generateImage: Le,
|
|
652
|
+
toggleTable: Ye,
|
|
653
|
+
toggleLabels: Ae,
|
|
654
|
+
toggleTooltip: Me,
|
|
655
|
+
toggleAnnotator: ne
|
|
649
656
|
}), (l, u) => (o(), n("div", {
|
|
650
657
|
class: T(`vue-ui-quadrant ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
651
658
|
ref_key: "quadrantChart",
|
|
652
659
|
ref: O,
|
|
653
660
|
id: `vue-ui-quadrant_${z.value}`,
|
|
654
|
-
style:
|
|
661
|
+
style: q(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text ? "" : "padding-top: 36px"};background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`)
|
|
655
662
|
}, [
|
|
656
|
-
t.value.
|
|
663
|
+
t.value.userOptions.buttons.annotator ? (o(), N(Ct, {
|
|
657
664
|
key: 0,
|
|
665
|
+
parent: O.value,
|
|
666
|
+
backgroundColor: t.value.style.chart.backgroundColor,
|
|
667
|
+
color: t.value.style.chart.color,
|
|
668
|
+
active: le.value,
|
|
669
|
+
onClose: ne
|
|
670
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
671
|
+
t.value.style.chart.title.text ? (o(), n("div", {
|
|
672
|
+
key: 1,
|
|
658
673
|
ref_key: "chartTitle",
|
|
659
|
-
ref:
|
|
674
|
+
ref: ce,
|
|
660
675
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
661
676
|
}, [
|
|
662
|
-
(o(),
|
|
663
|
-
key: `table_${
|
|
677
|
+
(o(), N(gt, {
|
|
678
|
+
key: `table_${be.value}`,
|
|
664
679
|
config: {
|
|
665
680
|
title: {
|
|
666
681
|
cy: "quadrant-title",
|
|
@@ -673,14 +688,14 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
673
688
|
}
|
|
674
689
|
}, null, 8, ["config"]))
|
|
675
690
|
], 512)) : c("", !0),
|
|
676
|
-
t.value.userOptions.show &&
|
|
691
|
+
t.value.userOptions.show && J.value ? (o(), N(xt, {
|
|
677
692
|
ref_key: "details",
|
|
678
|
-
ref:
|
|
679
|
-
key: `user_options_${
|
|
693
|
+
ref: Ie,
|
|
694
|
+
key: `user_options_${de.value}`,
|
|
680
695
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
681
696
|
color: t.value.style.chart.color,
|
|
682
|
-
isImaging: y(
|
|
683
|
-
isPrinting: y(
|
|
697
|
+
isImaging: y($e),
|
|
698
|
+
isPrinting: y(xe),
|
|
684
699
|
uid: z.value,
|
|
685
700
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
686
701
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
@@ -690,79 +705,89 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
690
705
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
691
706
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
692
707
|
isFullscreen: U.value,
|
|
693
|
-
isTooltip:
|
|
708
|
+
isTooltip: w.value.showTooltip,
|
|
694
709
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
695
710
|
chartElement: O.value,
|
|
696
711
|
position: t.value.userOptions.position,
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
712
|
+
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
713
|
+
isAnnotation: le.value,
|
|
714
|
+
onToggleFullscreen: Je,
|
|
715
|
+
onGeneratePdf: y(ke),
|
|
716
|
+
onGenerateCsv: Xe,
|
|
717
|
+
onGenerateImage: y(Le),
|
|
718
|
+
onToggleTable: Ye,
|
|
719
|
+
onToggleLabels: Ae,
|
|
720
|
+
onToggleTooltip: Me,
|
|
721
|
+
onToggleAnnotator: ne
|
|
722
|
+
}, Ke({ _: 2 }, [
|
|
705
723
|
l.$slots.optionTooltip ? {
|
|
706
724
|
name: "optionTooltip",
|
|
707
|
-
fn:
|
|
708
|
-
|
|
725
|
+
fn: x(() => [
|
|
726
|
+
L(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
709
727
|
]),
|
|
710
728
|
key: "0"
|
|
711
729
|
} : void 0,
|
|
712
730
|
l.$slots.optionPdf ? {
|
|
713
731
|
name: "optionPdf",
|
|
714
|
-
fn:
|
|
715
|
-
|
|
732
|
+
fn: x(() => [
|
|
733
|
+
L(l.$slots, "optionPdf", {}, void 0, !0)
|
|
716
734
|
]),
|
|
717
735
|
key: "1"
|
|
718
736
|
} : void 0,
|
|
719
737
|
l.$slots.optionCsv ? {
|
|
720
738
|
name: "optionCsv",
|
|
721
|
-
fn:
|
|
722
|
-
|
|
739
|
+
fn: x(() => [
|
|
740
|
+
L(l.$slots, "optionCsv", {}, void 0, !0)
|
|
723
741
|
]),
|
|
724
742
|
key: "2"
|
|
725
743
|
} : void 0,
|
|
726
744
|
l.$slots.optionImg ? {
|
|
727
745
|
name: "optionImg",
|
|
728
|
-
fn:
|
|
729
|
-
|
|
746
|
+
fn: x(() => [
|
|
747
|
+
L(l.$slots, "optionImg", {}, void 0, !0)
|
|
730
748
|
]),
|
|
731
749
|
key: "3"
|
|
732
750
|
} : void 0,
|
|
733
751
|
l.$slots.optionTable ? {
|
|
734
752
|
name: "optionTable",
|
|
735
|
-
fn:
|
|
736
|
-
|
|
753
|
+
fn: x(() => [
|
|
754
|
+
L(l.$slots, "optionTable", {}, void 0, !0)
|
|
737
755
|
]),
|
|
738
756
|
key: "4"
|
|
739
757
|
} : void 0,
|
|
740
758
|
l.$slots.optionLabels ? {
|
|
741
759
|
name: "optionLabels",
|
|
742
|
-
fn:
|
|
743
|
-
|
|
760
|
+
fn: x(() => [
|
|
761
|
+
L(l.$slots, "optionLabels", {}, void 0, !0)
|
|
744
762
|
]),
|
|
745
763
|
key: "5"
|
|
746
764
|
} : void 0,
|
|
747
765
|
l.$slots.optionFullscreen ? {
|
|
748
766
|
name: "optionFullscreen",
|
|
749
|
-
fn:
|
|
750
|
-
|
|
767
|
+
fn: x(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
768
|
+
L(l.$slots, "optionFullscreen", G(Q({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
751
769
|
]),
|
|
752
770
|
key: "6"
|
|
771
|
+
} : void 0,
|
|
772
|
+
l.$slots.optionAnnotator ? {
|
|
773
|
+
name: "optionAnnotator",
|
|
774
|
+
fn: x(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
775
|
+
L(l.$slots, "optionAnnotator", G(Q({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
776
|
+
]),
|
|
777
|
+
key: "7"
|
|
753
778
|
} : void 0
|
|
754
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
755
|
-
|
|
756
|
-
key:
|
|
757
|
-
xmlns: y(
|
|
779
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
780
|
+
J.value ? (o(), n("svg", {
|
|
781
|
+
key: 3,
|
|
782
|
+
xmlns: y(nt),
|
|
758
783
|
class: T({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
759
784
|
viewBox: `${d.value.startX} ${d.value.startY} ${d.value.width} ${d.value.height}`,
|
|
760
|
-
style:
|
|
785
|
+
style: q(`max-width:100%;overflow:${p.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
|
|
761
786
|
id: `svg_${z.value}`
|
|
762
787
|
}, [
|
|
763
|
-
|
|
788
|
+
ie(qt),
|
|
764
789
|
v("defs", null, [
|
|
765
|
-
(o(!0), n(
|
|
790
|
+
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("radialGradient", {
|
|
766
791
|
cx: "50%",
|
|
767
792
|
cy: "50%",
|
|
768
793
|
r: "50%",
|
|
@@ -772,17 +797,17 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
772
797
|
}, [
|
|
773
798
|
v("stop", {
|
|
774
799
|
offset: "0%",
|
|
775
|
-
"stop-color": y(
|
|
776
|
-
}, null, 8,
|
|
800
|
+
"stop-color": y(ae)(y(it)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
|
|
801
|
+
}, null, 8, Xt),
|
|
777
802
|
v("stop", {
|
|
778
803
|
offset: "100%",
|
|
779
|
-
"stop-color": y(
|
|
780
|
-
}, null, 8,
|
|
781
|
-
], 8,
|
|
804
|
+
"stop-color": y(ae)(a.color, t.value.style.chart.layout.areas.opacity)
|
|
805
|
+
}, null, 8, Yt)
|
|
806
|
+
], 8, Wt))), 256))
|
|
782
807
|
]),
|
|
783
|
-
t.value.style.chart.layout.grid.graduations.show ? (o(), n("g",
|
|
784
|
-
(o(!0), n(
|
|
785
|
-
fill: t.value.style.chart.layout.grid.graduations.fill ? y(
|
|
808
|
+
t.value.style.chart.layout.grid.graduations.show ? (o(), n("g", At, [
|
|
809
|
+
(o(!0), n(C, null, Y(Ee.value, (a) => (o(), n("rect", {
|
|
810
|
+
fill: t.value.style.chart.layout.grid.graduations.fill ? y(ae)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
786
811
|
x: a.x,
|
|
787
812
|
y: a.y,
|
|
788
813
|
height: a.height <= 0 ? 1e-3 : a.height,
|
|
@@ -790,7 +815,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
790
815
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
791
816
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
792
817
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
793
|
-
}, null, 8,
|
|
818
|
+
}, null, 8, Mt))), 256))
|
|
794
819
|
])) : c("", !0),
|
|
795
820
|
v("line", {
|
|
796
821
|
x1: e.value.left,
|
|
@@ -799,7 +824,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
799
824
|
y2: e.value.centerY,
|
|
800
825
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
801
826
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
802
|
-
}, null, 8,
|
|
827
|
+
}, null, 8, Nt),
|
|
803
828
|
v("line", {
|
|
804
829
|
x1: e.value.centerX,
|
|
805
830
|
y1: e.value.top,
|
|
@@ -807,30 +832,30 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
807
832
|
y2: e.value.bottom,
|
|
808
833
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
809
834
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
810
|
-
}, null, 8,
|
|
811
|
-
t.value.style.chart.layout.grid.showArrows ? (o(), n("g",
|
|
835
|
+
}, null, 8, Pt),
|
|
836
|
+
t.value.style.chart.layout.grid.showArrows ? (o(), n("g", Vt, [
|
|
812
837
|
v("polygon", {
|
|
813
838
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
814
839
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
815
840
|
stroke: "none"
|
|
816
|
-
}, null, 8,
|
|
841
|
+
}, null, 8, Bt),
|
|
817
842
|
v("polygon", {
|
|
818
843
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
819
844
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
820
845
|
stroke: "none"
|
|
821
|
-
}, null, 8,
|
|
846
|
+
}, null, 8, Ot),
|
|
822
847
|
v("polygon", {
|
|
823
848
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
824
849
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
825
850
|
stroke: "none"
|
|
826
|
-
}, null, 8,
|
|
851
|
+
}, null, 8, Rt),
|
|
827
852
|
v("polygon", {
|
|
828
853
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
829
854
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
830
855
|
stroke: "none"
|
|
831
|
-
}, null, 8,
|
|
856
|
+
}, null, 8, Ft)
|
|
832
857
|
])) : c("", !0),
|
|
833
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g",
|
|
858
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g", Ht, [
|
|
834
859
|
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (o(), n("text", {
|
|
835
860
|
key: 0,
|
|
836
861
|
x: 0,
|
|
@@ -838,9 +863,9 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
838
863
|
"text-anchor": "start",
|
|
839
864
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
840
865
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
841
|
-
style:
|
|
866
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
842
867
|
onClick: u[0] || (u[0] = (a) => E("tl"))
|
|
843
|
-
},
|
|
868
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, It)) : c("", !0),
|
|
844
869
|
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (o(), n("text", {
|
|
845
870
|
key: 1,
|
|
846
871
|
x: e.value.width,
|
|
@@ -848,9 +873,9 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
848
873
|
"text-anchor": "end",
|
|
849
874
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
850
875
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
851
|
-
style:
|
|
876
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
852
877
|
onClick: u[1] || (u[1] = (a) => E("tr"))
|
|
853
|
-
},
|
|
878
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Dt)) : c("", !0),
|
|
854
879
|
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (o(), n("text", {
|
|
855
880
|
key: 2,
|
|
856
881
|
x: e.value.width,
|
|
@@ -858,9 +883,9 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
858
883
|
"text-anchor": "end",
|
|
859
884
|
fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
860
885
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
861
|
-
style:
|
|
886
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
862
887
|
onClick: u[2] || (u[2] = (a) => E("br"))
|
|
863
|
-
},
|
|
888
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Et)) : c("", !0),
|
|
864
889
|
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (o(), n("text", {
|
|
865
890
|
key: 3,
|
|
866
891
|
x: 0,
|
|
@@ -868,154 +893,154 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
868
893
|
"text-anchor": "start",
|
|
869
894
|
fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
870
895
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
871
|
-
style:
|
|
896
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
872
897
|
onClick: u[3] || (u[3] = (a) => E("bl"))
|
|
873
|
-
},
|
|
898
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Ut)) : c("", !0)
|
|
874
899
|
])) : c("", !0),
|
|
875
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g",
|
|
900
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g", Gt, [
|
|
876
901
|
v("text", {
|
|
877
902
|
x: e.value.centerX,
|
|
878
903
|
y: e.value.top - e.value.padding / 6,
|
|
879
904
|
"text-anchor": "middle",
|
|
880
905
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
881
906
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
882
|
-
},
|
|
907
|
+
}, $(y(P)(
|
|
883
908
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
884
|
-
|
|
909
|
+
_.value.y.max,
|
|
885
910
|
y(V)({
|
|
886
|
-
v:
|
|
911
|
+
v: _.value.y.max,
|
|
887
912
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
888
913
|
})
|
|
889
|
-
)), 9,
|
|
914
|
+
)), 9, Qt),
|
|
890
915
|
v("text", {
|
|
891
916
|
x: e.value.centerX,
|
|
892
917
|
y: e.value.top - e.value.padding / 2,
|
|
893
918
|
"text-anchor": "middle",
|
|
894
919
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
895
920
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
896
|
-
},
|
|
921
|
+
}, $(t.value.style.chart.layout.grid.yAxis.name), 9, Jt),
|
|
897
922
|
v("text", {
|
|
898
923
|
x: e.value.centerX,
|
|
899
924
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
900
925
|
"text-anchor": "middle",
|
|
901
926
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
902
927
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
903
|
-
},
|
|
928
|
+
}, $(y(P)(
|
|
904
929
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
905
|
-
|
|
930
|
+
_.value.y.min,
|
|
906
931
|
y(V)({
|
|
907
|
-
v:
|
|
932
|
+
v: _.value.y.min,
|
|
908
933
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
909
934
|
})
|
|
910
|
-
)), 9,
|
|
935
|
+
)), 9, jt),
|
|
911
936
|
v("text", {
|
|
912
937
|
id: `xLabelMin_${z.value}`,
|
|
913
938
|
"text-anchor": "middle",
|
|
914
939
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
915
940
|
transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
|
|
916
941
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
917
|
-
},
|
|
942
|
+
}, $(y(P)(
|
|
918
943
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
919
|
-
|
|
944
|
+
_.value.x.min,
|
|
920
945
|
y(V)({
|
|
921
|
-
v:
|
|
946
|
+
v: _.value.x.min,
|
|
922
947
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
923
948
|
})
|
|
924
|
-
)), 9,
|
|
949
|
+
)), 9, Zt),
|
|
925
950
|
v("text", {
|
|
926
951
|
id: `xLabelMax_${z.value}`,
|
|
927
952
|
"text-anchor": "middle",
|
|
928
953
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
929
954
|
transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
930
955
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
931
|
-
},
|
|
956
|
+
}, $(y(P)(
|
|
932
957
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
933
|
-
|
|
958
|
+
_.value.x.max,
|
|
934
959
|
y(V)({
|
|
935
|
-
v:
|
|
960
|
+
v: _.value.x.max,
|
|
936
961
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
937
962
|
})
|
|
938
|
-
)), 9,
|
|
963
|
+
)), 9, Kt),
|
|
939
964
|
v("text", {
|
|
940
965
|
id: `xLabelMaxName_${z.value}`,
|
|
941
966
|
"text-anchor": "middle",
|
|
942
967
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
943
968
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
944
969
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
945
|
-
},
|
|
970
|
+
}, $(t.value.style.chart.layout.grid.xAxis.name), 9, el)
|
|
946
971
|
])) : c("", !0),
|
|
947
|
-
t.value.style.chart.layout.areas.show ? (o(), n("g",
|
|
948
|
-
(o(!0), n(
|
|
972
|
+
t.value.style.chart.layout.areas.show ? (o(), n("g", tl, [
|
|
973
|
+
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("g", null, [
|
|
949
974
|
a.series.length > 2 ? (o(), n("polygon", {
|
|
950
975
|
key: 0,
|
|
951
976
|
"data-cy-quadrant-area": "",
|
|
952
|
-
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${s})` : y(
|
|
953
|
-
points: y(
|
|
954
|
-
}, null, 8,
|
|
977
|
+
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${s})` : y(ae)(a.color, t.value.style.chart.layout.areas.opacity),
|
|
978
|
+
points: y(vt)(a)
|
|
979
|
+
}, null, 8, ll)) : c("", !0)
|
|
955
980
|
]))), 256))
|
|
956
981
|
])) : c("", !0),
|
|
957
982
|
v("g", null, [
|
|
958
983
|
v("rect", {
|
|
959
|
-
onClick: u[4] || (u[4] = (a) =>
|
|
984
|
+
onClick: u[4] || (u[4] = (a) => A("TL")),
|
|
960
985
|
x: e.value.left,
|
|
961
986
|
y: e.value.top,
|
|
962
987
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
963
988
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
964
989
|
fill: "transparent",
|
|
965
990
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
966
|
-
}, null, 10,
|
|
991
|
+
}, null, 10, al),
|
|
967
992
|
v("rect", {
|
|
968
|
-
onClick: u[5] || (u[5] = (a) =>
|
|
993
|
+
onClick: u[5] || (u[5] = (a) => A("TR")),
|
|
969
994
|
x: e.value.centerX,
|
|
970
995
|
y: e.value.top,
|
|
971
996
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
972
997
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
973
998
|
fill: "transparent",
|
|
974
999
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
975
|
-
}, null, 10,
|
|
1000
|
+
}, null, 10, ul),
|
|
976
1001
|
v("rect", {
|
|
977
|
-
onClick: u[6] || (u[6] = (a) =>
|
|
1002
|
+
onClick: u[6] || (u[6] = (a) => A("BR")),
|
|
978
1003
|
x: e.value.centerX,
|
|
979
1004
|
y: e.value.centerY,
|
|
980
1005
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
981
1006
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
982
1007
|
fill: "transparent",
|
|
983
1008
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
984
|
-
}, null, 10,
|
|
1009
|
+
}, null, 10, ol),
|
|
985
1010
|
v("rect", {
|
|
986
|
-
onClick: u[7] || (u[7] = (a) =>
|
|
1011
|
+
onClick: u[7] || (u[7] = (a) => A("BL")),
|
|
987
1012
|
x: e.value.left,
|
|
988
1013
|
y: e.value.centerY,
|
|
989
1014
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
990
1015
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
991
1016
|
fill: "transparent",
|
|
992
1017
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
993
|
-
}, null, 10,
|
|
1018
|
+
}, null, 10, sl)
|
|
994
1019
|
]),
|
|
995
|
-
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(
|
|
996
|
-
|
|
997
|
-
(o(!0), n(
|
|
998
|
-
(o(!0), n(
|
|
1020
|
+
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(C, { key: 6 }, [
|
|
1021
|
+
w.value.plotLabels.show ? (o(), n("g", il, [
|
|
1022
|
+
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n(C, null, [
|
|
1023
|
+
(o(!0), n(C, null, Y(a.series, (r) => (o(), n("foreignObject", {
|
|
999
1024
|
style: { overflow: "visible" },
|
|
1000
1025
|
height: "10",
|
|
1001
1026
|
width: "100",
|
|
1002
1027
|
x: r.x - 50,
|
|
1003
1028
|
y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1004
|
-
onMouseover: (b) =>
|
|
1029
|
+
onMouseover: (b) => ze(a, r, s),
|
|
1005
1030
|
onMouseleave: u[9] || (u[9] = (b) => {
|
|
1006
|
-
|
|
1031
|
+
j.value = !1, I.value = null, D.value = null;
|
|
1007
1032
|
}),
|
|
1008
|
-
onClick: (b) =>
|
|
1033
|
+
onClick: (b) => Te(a, r)
|
|
1009
1034
|
}, [
|
|
1010
1035
|
v("div", {
|
|
1011
|
-
style:
|
|
1012
|
-
},
|
|
1013
|
-
], 40,
|
|
1036
|
+
style: q(`color:${y(dt)(a.color)};margin: 0 auto; font-size:${t.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: ${t.value.style.chart.layout.labels.plotLabels.fontSize * 1.5}px`)
|
|
1037
|
+
}, $(r.name), 5)
|
|
1038
|
+
], 40, vl))), 256))
|
|
1014
1039
|
], 64))), 256))
|
|
1015
1040
|
])) : c("", !0)
|
|
1016
|
-
], 64)) : (o(), n(
|
|
1017
|
-
(o(!0), n(
|
|
1018
|
-
(o(!0), n(
|
|
1041
|
+
], 64)) : (o(), n(C, { key: 5 }, [
|
|
1042
|
+
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("g", null, [
|
|
1043
|
+
(o(!0), n(C, null, Y(a.series, (r) => (o(), N(Be, {
|
|
1019
1044
|
color: a.color,
|
|
1020
1045
|
isSelected: I.value && r.uid === I.value,
|
|
1021
1046
|
plot: r,
|
|
@@ -1023,52 +1048,52 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1023
1048
|
shape: a.shape,
|
|
1024
1049
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1025
1050
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
1026
|
-
onMouseover: (b) =>
|
|
1051
|
+
onMouseover: (b) => ze(a, r, s),
|
|
1027
1052
|
onMouseleave: u[8] || (u[8] = (b) => {
|
|
1028
|
-
|
|
1053
|
+
j.value = !1, I.value = null, D.value = null;
|
|
1029
1054
|
}),
|
|
1030
|
-
onClick: (b) =>
|
|
1055
|
+
onClick: (b) => Te(a, r)
|
|
1031
1056
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseover", "onClick"]))), 256))
|
|
1032
1057
|
]))), 256)),
|
|
1033
|
-
|
|
1034
|
-
(o(!0), n(
|
|
1035
|
-
(o(!0), n(
|
|
1058
|
+
w.value.plotLabels.show ? (o(), n("g", rl, [
|
|
1059
|
+
(o(!0), n(C, null, Y(S.value, (a) => (o(), n("g", null, [
|
|
1060
|
+
(o(!0), n(C, null, Y(a.series, (s) => (o(), n("text", {
|
|
1036
1061
|
x: s.x,
|
|
1037
1062
|
y: s.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1038
1063
|
"text-anchor": "middle",
|
|
1039
1064
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1040
1065
|
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
1041
|
-
},
|
|
1066
|
+
}, $(s.name), 9, nl))), 256))
|
|
1042
1067
|
]))), 256))
|
|
1043
1068
|
])) : c("", !0)
|
|
1044
1069
|
], 64)),
|
|
1045
|
-
p.value ? (o(), n("g",
|
|
1070
|
+
p.value ? (o(), n("g", dl, [
|
|
1046
1071
|
i.value === "TL" ? (o(), n("polygon", {
|
|
1047
1072
|
key: 0,
|
|
1048
1073
|
points: `${e.value.left - 1},${e.value.centerY} ${e.value.centerX},${e.value.centerY} ${e.value.centerX},${e.value.top - 1} ${e.value.right},${e.value.top - 1} ${e.value.right},${e.value.bottom} ${e.value.left - 1},${e.value.bottom} ${e.value.left - 1},${e.value.centerY}`,
|
|
1049
1074
|
fill: t.value.style.chart.backgroundColor,
|
|
1050
1075
|
style: { opacity: "1" }
|
|
1051
|
-
}, null, 8,
|
|
1076
|
+
}, null, 8, cl)) : c("", !0),
|
|
1052
1077
|
i.value === "TR" ? (o(), n("polygon", {
|
|
1053
1078
|
key: 1,
|
|
1054
1079
|
points: `${e.value.left},${e.value.top - 1} ${e.value.centerX},${e.value.top - 1} ${e.value.centerX},${e.value.centerY} ${e.value.right + 1},${e.value.centerY} ${e.value.right + 1},${e.value.bottom} ${e.value.left},${e.value.bottom} ${e.value.left},${e.value.top - 1}`,
|
|
1055
1080
|
fill: t.value.style.chart.backgroundColor,
|
|
1056
1081
|
style: { opacity: "1" }
|
|
1057
|
-
}, null, 8,
|
|
1082
|
+
}, null, 8, hl)) : c("", !0),
|
|
1058
1083
|
i.value === "BR" ? (o(), n("polygon", {
|
|
1059
1084
|
key: 2,
|
|
1060
1085
|
points: `${e.value.left},${e.value.top} ${e.value.right + 1},${e.value.top} ${e.value.right + 1},${e.value.centerY} ${e.value.centerX},${e.value.centerY} ${e.value.centerX},${e.value.bottom + 1} ${e.value.left},${e.value.bottom + 1} ${e.value.left},${e.value.top}`,
|
|
1061
1086
|
fill: t.value.style.chart.backgroundColor,
|
|
1062
1087
|
style: { opacity: "1" }
|
|
1063
|
-
}, null, 8,
|
|
1088
|
+
}, null, 8, yl)) : c("", !0),
|
|
1064
1089
|
i.value === "BL" ? (o(), n("polygon", {
|
|
1065
1090
|
key: 3,
|
|
1066
1091
|
points: `${e.value.left - 1},${e.value.top} ${e.value.right},${e.value.top} ${e.value.right},${e.value.bottom + 1} ${e.value.centerX},${e.value.bottom + 1} ${e.value.centerX},${e.value.centerY} ${e.value.left - 1},${e.value.centerY} ${e.value.left - 1},${e.value.top}`,
|
|
1067
1092
|
fill: t.value.style.chart.backgroundColor,
|
|
1068
1093
|
style: { opacity: "1" }
|
|
1069
|
-
}, null, 8,
|
|
1094
|
+
}, null, 8, bl)) : c("", !0)
|
|
1070
1095
|
])) : c("", !0),
|
|
1071
|
-
i.value && !
|
|
1096
|
+
i.value && !K.value ? (o(), n("g", fl, [
|
|
1072
1097
|
v("text", {
|
|
1073
1098
|
x: B.value.x,
|
|
1074
1099
|
y: B.value.y - B.value.fontSize / 1.5,
|
|
@@ -1076,69 +1101,69 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1076
1101
|
fill: B.value.fill,
|
|
1077
1102
|
"text-anchor": "middle",
|
|
1078
1103
|
"font-weight": B.value.bold ? "bold" : "normal"
|
|
1079
|
-
},
|
|
1104
|
+
}, $(B.value.text), 9, pl)
|
|
1080
1105
|
])) : c("", !0),
|
|
1081
|
-
p.value && i.value ? (o(), n("g",
|
|
1106
|
+
p.value && i.value ? (o(), n("g", gl, [
|
|
1082
1107
|
v("rect", {
|
|
1083
|
-
x:
|
|
1084
|
-
y:
|
|
1108
|
+
x: k.value[i.value].tl.x,
|
|
1109
|
+
y: k.value[i.value].tl.y,
|
|
1085
1110
|
height: "20",
|
|
1086
1111
|
width: "20",
|
|
1087
|
-
fill:
|
|
1088
|
-
style:
|
|
1089
|
-
onClick: u[10] || (u[10] = (a) =>
|
|
1112
|
+
fill: k.value[i.value].tl.fill,
|
|
1113
|
+
style: q(`cursor: pointer; opacity: ${i.value === "TL" ? 1 : 0.2}`),
|
|
1114
|
+
onClick: u[10] || (u[10] = (a) => A("TL")),
|
|
1090
1115
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TL" })
|
|
1091
|
-
}, null, 14,
|
|
1116
|
+
}, null, 14, ml),
|
|
1092
1117
|
v("rect", {
|
|
1093
|
-
x:
|
|
1094
|
-
y:
|
|
1118
|
+
x: k.value[i.value].tr.x,
|
|
1119
|
+
y: k.value[i.value].tr.y,
|
|
1095
1120
|
height: "20",
|
|
1096
1121
|
width: "20",
|
|
1097
|
-
fill:
|
|
1098
|
-
style:
|
|
1099
|
-
onClick: u[11] || (u[11] = (a) =>
|
|
1122
|
+
fill: k.value[i.value].tr.fill,
|
|
1123
|
+
style: q(`cursor: pointer; opacity: ${i.value === "TR" ? 1 : 0.2}`),
|
|
1124
|
+
onClick: u[11] || (u[11] = (a) => A("TR")),
|
|
1100
1125
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TR" })
|
|
1101
|
-
}, null, 14,
|
|
1126
|
+
}, null, 14, xl),
|
|
1102
1127
|
v("rect", {
|
|
1103
|
-
x:
|
|
1104
|
-
y:
|
|
1128
|
+
x: k.value[i.value].br.x,
|
|
1129
|
+
y: k.value[i.value].br.y,
|
|
1105
1130
|
height: "20",
|
|
1106
1131
|
width: "20",
|
|
1107
|
-
fill:
|
|
1108
|
-
style:
|
|
1109
|
-
onClick: u[12] || (u[12] = (a) =>
|
|
1132
|
+
fill: k.value[i.value].br.fill,
|
|
1133
|
+
style: q(`cursor: pointer; opacity: ${i.value === "BR" ? 1 : 0.2}`),
|
|
1134
|
+
onClick: u[12] || (u[12] = (a) => A("BR")),
|
|
1110
1135
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BR" })
|
|
1111
|
-
}, null, 14,
|
|
1136
|
+
}, null, 14, $l),
|
|
1112
1137
|
v("rect", {
|
|
1113
|
-
x:
|
|
1114
|
-
y:
|
|
1138
|
+
x: k.value[i.value].bl.x,
|
|
1139
|
+
y: k.value[i.value].bl.y,
|
|
1115
1140
|
height: "20",
|
|
1116
1141
|
width: "20",
|
|
1117
|
-
fill:
|
|
1118
|
-
style:
|
|
1119
|
-
onClick: u[13] || (u[13] = (a) =>
|
|
1142
|
+
fill: k.value[i.value].bl.fill,
|
|
1143
|
+
style: q(`cursor: pointer; opacity: ${i.value === "BL" ? 1 : 0.2}`),
|
|
1144
|
+
onClick: u[13] || (u[13] = (a) => A("BL")),
|
|
1120
1145
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BL" })
|
|
1121
|
-
}, null, 14,
|
|
1146
|
+
}, null, 14, kl),
|
|
1122
1147
|
v("path", {
|
|
1123
1148
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1124
1149
|
stroke: t.value.style.chart.backgroundColor,
|
|
1125
1150
|
"stroke-width": 1,
|
|
1126
|
-
d:
|
|
1127
|
-
}, null, 8,
|
|
1151
|
+
d: k.value[i.value].crosshairs.horizontal
|
|
1152
|
+
}, null, 8, Ll),
|
|
1128
1153
|
v("path", {
|
|
1129
1154
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1130
1155
|
stroke: t.value.style.chart.backgroundColor,
|
|
1131
1156
|
"stroke-width": 1,
|
|
1132
|
-
d:
|
|
1133
|
-
}, null, 8,
|
|
1157
|
+
d: k.value[i.value].crosshairs.vertical
|
|
1158
|
+
}, null, 8, wl)
|
|
1134
1159
|
])) : c("", !0),
|
|
1135
|
-
|
|
1136
|
-
], 14,
|
|
1137
|
-
l.$slots.watermark ? (o(), n("div",
|
|
1138
|
-
|
|
1160
|
+
L(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1161
|
+
], 14, Tt)) : c("", !0),
|
|
1162
|
+
l.$slots.watermark ? (o(), n("div", _l, [
|
|
1163
|
+
L(l.$slots, "watermark", G(Q({ isPrinting: y(xe) || y($e) })), void 0, !0)
|
|
1139
1164
|
])) : c("", !0),
|
|
1140
|
-
|
|
1141
|
-
key:
|
|
1165
|
+
J.value ? c("", !0) : (o(), N(wt, {
|
|
1166
|
+
key: 5,
|
|
1142
1167
|
config: {
|
|
1143
1168
|
type: "quadrant",
|
|
1144
1169
|
style: {
|
|
@@ -1157,29 +1182,37 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1157
1182
|
}, null, 8, ["config"])),
|
|
1158
1183
|
v("div", {
|
|
1159
1184
|
ref_key: "chartLegend",
|
|
1160
|
-
ref:
|
|
1185
|
+
ref: he
|
|
1161
1186
|
}, [
|
|
1162
|
-
t.value.style.chart.legend.show ? (o(),
|
|
1163
|
-
key: `legend_${
|
|
1164
|
-
legendSet:
|
|
1165
|
-
config:
|
|
1166
|
-
onClickMarker: u[14] || (u[14] = ({ legend: a }) =>
|
|
1187
|
+
t.value.style.chart.legend.show ? (o(), N(kt, {
|
|
1188
|
+
key: `legend_${pe.value}`,
|
|
1189
|
+
legendSet: Ce.value,
|
|
1190
|
+
config: Qe.value,
|
|
1191
|
+
onClickMarker: u[14] || (u[14] = ({ legend: a }) => se(a.id))
|
|
1167
1192
|
}, {
|
|
1168
|
-
item:
|
|
1193
|
+
item: x(({ legend: a }) => [
|
|
1169
1194
|
v("div", {
|
|
1170
1195
|
"data-cy-legend-item": "",
|
|
1171
|
-
onClick: (s) =>
|
|
1172
|
-
style:
|
|
1173
|
-
},
|
|
1196
|
+
onClick: (s) => se(a.id),
|
|
1197
|
+
style: q(`opacity:${M.value.includes(a.id) ? 0.5 : 1}`)
|
|
1198
|
+
}, $(a.name), 13, ql)
|
|
1174
1199
|
]),
|
|
1175
1200
|
_: 1
|
|
1176
|
-
}, 8, ["legendSet", "config"])) :
|
|
1201
|
+
}, 8, ["legendSet", "config"])) : L(l.$slots, "legend", {
|
|
1177
1202
|
key: 1,
|
|
1178
|
-
legend:
|
|
1203
|
+
legend: Ce.value
|
|
1179
1204
|
}, void 0, !0)
|
|
1180
1205
|
], 512),
|
|
1181
|
-
|
|
1182
|
-
|
|
1206
|
+
l.$slots.source ? (o(), n("div", {
|
|
1207
|
+
key: 6,
|
|
1208
|
+
ref_key: "source",
|
|
1209
|
+
ref: ye,
|
|
1210
|
+
dir: "auto"
|
|
1211
|
+
}, [
|
|
1212
|
+
L(l.$slots, "source", {}, void 0, !0)
|
|
1213
|
+
], 512)) : c("", !0),
|
|
1214
|
+
ie($t, {
|
|
1215
|
+
show: w.value.showTooltip && j.value,
|
|
1183
1216
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
1184
1217
|
color: t.value.style.chart.tooltip.color,
|
|
1185
1218
|
borderRadius: t.value.style.chart.tooltip.borderRadius,
|
|
@@ -1190,18 +1223,18 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1190
1223
|
position: t.value.style.chart.tooltip.position,
|
|
1191
1224
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1192
1225
|
parent: O.value,
|
|
1193
|
-
content:
|
|
1226
|
+
content: oe.value,
|
|
1194
1227
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
1195
1228
|
}, {
|
|
1196
|
-
"tooltip-before":
|
|
1197
|
-
|
|
1229
|
+
"tooltip-before": x(() => [
|
|
1230
|
+
L(l.$slots, "tooltip-before", G(Q({ ...re.value })), void 0, !0)
|
|
1198
1231
|
]),
|
|
1199
|
-
"tooltip-after":
|
|
1200
|
-
|
|
1232
|
+
"tooltip-after": x(() => [
|
|
1233
|
+
L(l.$slots, "tooltip-after", G(Q({ ...re.value })), void 0, !0)
|
|
1201
1234
|
]),
|
|
1202
|
-
default:
|
|
1203
|
-
t.value.style.chart.tooltip.showShape ? (o(), n("svg",
|
|
1204
|
-
|
|
1235
|
+
default: x(() => [
|
|
1236
|
+
t.value.style.chart.tooltip.showShape ? (o(), n("svg", Cl, [
|
|
1237
|
+
ie(Be, {
|
|
1205
1238
|
plot: { x: 10, y: 10 },
|
|
1206
1239
|
shape: D.value.shape,
|
|
1207
1240
|
color: D.value.color,
|
|
@@ -1213,11 +1246,11 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1213
1246
|
]),
|
|
1214
1247
|
_: 3
|
|
1215
1248
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
1216
|
-
|
|
1217
|
-
key:
|
|
1249
|
+
J.value ? (o(), N(_t, {
|
|
1250
|
+
key: 7,
|
|
1218
1251
|
hideDetails: "",
|
|
1219
1252
|
config: {
|
|
1220
|
-
open:
|
|
1253
|
+
open: w.value.showTable,
|
|
1221
1254
|
maxHeight: 1e4,
|
|
1222
1255
|
body: {
|
|
1223
1256
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -1229,32 +1262,32 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1229
1262
|
}
|
|
1230
1263
|
}
|
|
1231
1264
|
}, {
|
|
1232
|
-
content:
|
|
1233
|
-
(o(),
|
|
1234
|
-
key: `table_${
|
|
1235
|
-
colNames:
|
|
1236
|
-
head:
|
|
1237
|
-
body:
|
|
1238
|
-
config:
|
|
1265
|
+
content: x(() => [
|
|
1266
|
+
(o(), N(Lt, {
|
|
1267
|
+
key: `table_${fe.value}`,
|
|
1268
|
+
colNames: te.value.colNames,
|
|
1269
|
+
head: te.value.head,
|
|
1270
|
+
body: te.value.body,
|
|
1271
|
+
config: te.value.config,
|
|
1239
1272
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1240
|
-
onClose: u[15] || (u[15] = (a) =>
|
|
1273
|
+
onClose: u[15] || (u[15] = (a) => w.value.showTable = !1)
|
|
1241
1274
|
}, {
|
|
1242
|
-
th:
|
|
1243
|
-
|
|
1275
|
+
th: x(({ th: a }) => [
|
|
1276
|
+
et($(a), 1)
|
|
1244
1277
|
]),
|
|
1245
|
-
td:
|
|
1278
|
+
td: x(({ td: a }) => [
|
|
1246
1279
|
v("div", {
|
|
1247
1280
|
innerHTML: a.name || a
|
|
1248
|
-
}, null, 8,
|
|
1281
|
+
}, null, 8, Sl)
|
|
1249
1282
|
]),
|
|
1250
1283
|
_: 1
|
|
1251
1284
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1252
1285
|
]),
|
|
1253
1286
|
_: 1
|
|
1254
1287
|
}, 8, ["config"])) : c("", !0)
|
|
1255
|
-
], 14,
|
|
1288
|
+
], 14, zt));
|
|
1256
1289
|
}
|
|
1257
|
-
},
|
|
1290
|
+
}, Dl = /* @__PURE__ */ St(zl, [["__scopeId", "data-v-33deb505"]]);
|
|
1258
1291
|
export {
|
|
1259
|
-
|
|
1292
|
+
Dl as default
|
|
1260
1293
|
};
|