vue-data-ui 2.3.28 → 2.3.29
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 +15 -0
- package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
- package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
- package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
- package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
- package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
- package/dist/DataTable-Doh_4M84.cjs +1 -0
- package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
- package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
- package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
- package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
- package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
- package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
- package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
- package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
- package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
- package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
- package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
- package/dist/index-hKWfT7Wa.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +65 -0
- package/dist/types/vue-data-ui.d.ts +65 -0
- package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
- package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
- package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
- package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
- package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
- package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +6 -6
- package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
- package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
- package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
- package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
- package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
- package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
- package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
- package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
- package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
- package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
- package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
- package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
- package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
- package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
- package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
- package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
- package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
- package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
- package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
- package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
- package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
- package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
- package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
- package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
- package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
- package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
- package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
- package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
- package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
- package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
- package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
- package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
- package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
- package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
- package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
- package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
- package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
- package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
- package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
- package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
- package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
- package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
- package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
- package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
- package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
- package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
- package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
- package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
- package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
- package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
- package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
- package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
- package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
- package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
- package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
- package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
- package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
- package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
- package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
- package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
- package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
- package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
- package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
- package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
- package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
- package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
- package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
- package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
- package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
- package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
- package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
- package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
- package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
- package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
- package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
- package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
- package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
- package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
- package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
- package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
- package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
- package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
- package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
- package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
- package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
- package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
- package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
- package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
- package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
- package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
- package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
- package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
- package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
- package/package.json +1 -1
- package/dist/DataTable-B4_9ynlY.cjs +0 -1
- package/dist/index-Y23HeR26.cjs +0 -4
- package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
- package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
- package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
- package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
- package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
- package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
- package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
- package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
- package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
- package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
- package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
- package/dist/vue-ui-onion-DiychUul.cjs +0 -1
- package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
- package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
- package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
- package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
- package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
- package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
- package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
- package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
- package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
- package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
- package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
- package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
- package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
- package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
- package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
- package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
- package/dist/vue-ui-xy-canvas-NrhVgFsv.cjs +0 -9
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { computed 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
|
-
const
|
|
1
|
+
import { computed as m, ref as h, onMounted as Oe, onBeforeUnmount as He, watch as Ie, openBlock as s, createElementBlock as i, normalizeClass as T, normalizeStyle as L, createVNode as ee, createCommentVNode as c, createBlock as U, unref as y, createSlots as De, withCtx as k, renderSlot as _, normalizeProps as te, guardReactiveProps as le, createElementVNode as v, Fragment as S, renderList as X, toDisplayString as x, createTextVNode as Ee, nextTick as Ue } from "vue";
|
|
2
|
+
import { u as Ge, c as ze, t as Qe, a as Je, p as ie, o as je, e as R, b as Ze, v as ae, d as Ke, i as A, f as V, X as et, s as tt, O as lt, D as at, w as ut, x as ot, q as st, r as rt } from "./index-BlXzlBwZ.js";
|
|
3
|
+
import { t as it, u as nt } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as vt } from "./Title-eBTH8iGJ.js";
|
|
5
|
+
import { u as dt, U as ct } from "./usePrinter-CZ8F5Cth.js";
|
|
6
|
+
import { _ as ht } from "./Tooltip-B11OahTD.js";
|
|
7
|
+
import { _ as Te } from "./Shape-B4gGeBLI.js";
|
|
8
|
+
import { L as yt } from "./Legend-CkQ_zypV.js";
|
|
9
|
+
import { D as bt } from "./DataTable-CsPidn0_.js";
|
|
10
|
+
import ft from "./vue-ui-skeleton-CJ2R5R6u.js";
|
|
11
|
+
import pt from "./vue-ui-accordion-wHRG3nXl.js";
|
|
12
|
+
import { u as We } from "./useNestedProp-BoNl5H_z.js";
|
|
13
|
+
import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-color"], Lt = ["stop-color"], wt = { key: 0 }, qt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], _t = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], St = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ct = { key: 1 }, zt = ["points", "fill"], Tt = ["points", "fill"], Wt = ["points", "fill"], Xt = ["points", "fill"], Yt = { key: 2 }, Mt = ["y", "fill", "font-size"], Nt = ["x", "y", "fill", "font-size"], At = ["x", "y", "fill", "font-size"], Vt = ["y", "fill", "font-size"], Bt = { key: 3 }, Pt = ["x", "y", "font-size", "fill"], Rt = ["x", "y", "font-size", "fill"], Ft = ["x", "y", "font-size", "fill"], Ot = ["id", "font-size", "transform", "fill"], Ht = ["id", "font-size", "transform", "fill"], It = ["id", "font-size", "transform", "fill"], Dt = { key: 4 }, Et = ["fill", "points"], Ut = ["x", "y", "width", "height"], Gt = ["x", "y", "width", "height"], Qt = ["x", "y", "width", "height"], Jt = ["x", "y", "width", "height"], jt = { key: 0 }, Zt = ["x", "y", "font-size", "fill"], Kt = { key: 0 }, el = ["x", "y", "onMouseover", "onClick"], tl = {
|
|
15
15
|
key: 7,
|
|
16
16
|
class: "vue-ui-dna"
|
|
17
|
-
},
|
|
17
|
+
}, ll = ["points", "fill"], al = ["points", "fill"], ul = ["points", "fill"], ol = ["points", "fill"], sl = { key: 8 }, rl = ["x", "y", "font-size", "fill", "font-weight"], il = { key: 9 }, nl = ["x", "y", "fill"], vl = ["x", "y", "fill"], dl = ["x", "y", "fill"], cl = ["x", "y", "fill"], hl = ["stroke", "d"], yl = ["stroke", "d"], bl = {
|
|
18
18
|
key: 3,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, fl = ["onClick"], pl = {
|
|
21
21
|
key: 0,
|
|
22
22
|
height: "14",
|
|
23
23
|
width: "14",
|
|
24
24
|
viewBox: "0 0 20 20"
|
|
25
|
-
},
|
|
25
|
+
}, gl = ["innerHTML"], ml = {
|
|
26
26
|
__name: "vue-ui-quadrant",
|
|
27
27
|
props: {
|
|
28
28
|
config: {
|
|
@@ -39,92 +39,92 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
42
|
-
setup(
|
|
43
|
-
const
|
|
44
|
-
const l =
|
|
45
|
-
userConfig:
|
|
46
|
-
defaultConfig:
|
|
42
|
+
setup(Xe, { expose: Ye, emit: ue }) {
|
|
43
|
+
const Y = Xe, { vue_ui_quadrant: Me } = Ge(), G = m(() => !!Y.dataset && Y.dataset.length), z = h(ze()), Ne = h(null), Q = h(!1), oe = h(""), ne = h(0), p = h(!1), F = h(null), ve = h(null), de = h(null), t = m(() => {
|
|
44
|
+
const l = We({
|
|
45
|
+
userConfig: Y.config,
|
|
46
|
+
defaultConfig: Me
|
|
47
47
|
});
|
|
48
48
|
return l.theme ? {
|
|
49
|
-
...
|
|
50
|
-
userConfig:
|
|
49
|
+
...We({
|
|
50
|
+
userConfig: Qe.vue_ui_quadrant[l.theme] || Y.config,
|
|
51
51
|
defaultConfig: l
|
|
52
52
|
}),
|
|
53
|
-
customPalette:
|
|
53
|
+
customPalette: Je[l.theme] || ie
|
|
54
54
|
} : l;
|
|
55
|
-
}),
|
|
56
|
-
|
|
57
|
-
if (
|
|
55
|
+
}), J = h(null);
|
|
56
|
+
Oe(() => {
|
|
57
|
+
if (je(Y.dataset) ? R({
|
|
58
58
|
componentName: "VueUiQuadrant",
|
|
59
59
|
type: "dataset"
|
|
60
|
-
}) :
|
|
61
|
-
[null, void 0].includes(l.name) &&
|
|
60
|
+
}) : Y.dataset.forEach((l, u) => {
|
|
61
|
+
[null, void 0].includes(l.name) && R({
|
|
62
62
|
componentName: "VueUiQuadrant",
|
|
63
63
|
type: "datasetSerieAttribute",
|
|
64
64
|
property: "name",
|
|
65
65
|
index: u
|
|
66
|
-
}), [null, void 0].includes(l.series) ?
|
|
66
|
+
}), [null, void 0].includes(l.series) ? R({
|
|
67
67
|
componentName: "VueUiQuadrant",
|
|
68
68
|
type: "datasetSerieAttribute",
|
|
69
69
|
property: "series",
|
|
70
70
|
index: u
|
|
71
|
-
}) : l.series.forEach((a,
|
|
72
|
-
[null, void 0].includes(a.name) &&
|
|
71
|
+
}) : l.series.forEach((a, o) => {
|
|
72
|
+
[null, void 0].includes(a.name) && R({
|
|
73
73
|
componentName: "VueUiQuadrant",
|
|
74
74
|
type: "datasetSerieAttribute",
|
|
75
75
|
property: "name",
|
|
76
76
|
key: "series",
|
|
77
|
-
index:
|
|
77
|
+
index: o
|
|
78
78
|
});
|
|
79
79
|
});
|
|
80
80
|
}), t.value.responsive) {
|
|
81
|
-
const l =
|
|
82
|
-
const { width: u, height: a } =
|
|
81
|
+
const l = it(() => {
|
|
82
|
+
const { width: u, height: a } = nt({
|
|
83
83
|
chart: F.value,
|
|
84
|
-
title: t.value.style.chart.title.text ?
|
|
85
|
-
legend: t.value.style.chart.legend.show ?
|
|
84
|
+
title: t.value.style.chart.title.text ? ve.value : null,
|
|
85
|
+
legend: t.value.style.chart.legend.show ? de.value : null
|
|
86
86
|
});
|
|
87
|
-
|
|
87
|
+
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;
|
|
88
88
|
});
|
|
89
|
-
|
|
89
|
+
J.value = new ResizeObserver(l), J.value.observe(F.value.parentNode);
|
|
90
90
|
}
|
|
91
|
-
}),
|
|
92
|
-
|
|
91
|
+
}), He(() => {
|
|
92
|
+
J.value && J.value.disconnect();
|
|
93
93
|
});
|
|
94
|
-
const { isPrinting:
|
|
95
|
-
elementId: `vue-ui-quadrant_${
|
|
94
|
+
const { isPrinting: ce, isImaging: he, generatePdf: ye, generateImage: be } = dt({
|
|
95
|
+
elementId: `vue-ui-quadrant_${z.value}`,
|
|
96
96
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant"
|
|
97
|
-
}),
|
|
97
|
+
}), fe = m(() => Ze(t.value.customPalette)), w = h({
|
|
98
98
|
plotLabels: {
|
|
99
99
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
100
100
|
},
|
|
101
101
|
showTable: t.value.table.show,
|
|
102
102
|
showTooltip: t.value.style.chart.tooltip.show
|
|
103
|
-
}),
|
|
103
|
+
}), g = h(48), e = h({
|
|
104
104
|
height: t.value.style.chart.height,
|
|
105
|
-
usableHeight: t.value.style.chart.height -
|
|
105
|
+
usableHeight: t.value.style.chart.height - g.value * 2,
|
|
106
106
|
width: t.value.style.chart.width,
|
|
107
|
-
usableWidth: t.value.style.chart.width -
|
|
108
|
-
top:
|
|
109
|
-
left:
|
|
110
|
-
right: t.value.style.chart.width -
|
|
111
|
-
bottom: t.value.style.chart.height -
|
|
107
|
+
usableWidth: t.value.style.chart.width - g.value * 2,
|
|
108
|
+
top: g.value,
|
|
109
|
+
left: g.value,
|
|
110
|
+
right: t.value.style.chart.width - g.value,
|
|
111
|
+
bottom: t.value.style.chart.height - g.value,
|
|
112
112
|
centerX: t.value.style.chart.width / 2,
|
|
113
113
|
centerY: t.value.style.chart.height - t.value.style.chart.height / 2,
|
|
114
|
-
padding:
|
|
114
|
+
padding: g.value
|
|
115
115
|
}), d = h({
|
|
116
116
|
...JSON.parse(JSON.stringify(e.value)),
|
|
117
117
|
startX: 0,
|
|
118
118
|
startY: 0
|
|
119
119
|
});
|
|
120
|
-
|
|
120
|
+
Ie(() => e.value, (l) => {
|
|
121
121
|
l && (d.value = {
|
|
122
122
|
...JSON.parse(JSON.stringify(e.value)),
|
|
123
123
|
startX: 0,
|
|
124
124
|
startY: 0
|
|
125
125
|
});
|
|
126
126
|
}, { deep: !0 });
|
|
127
|
-
const n = h(null),
|
|
127
|
+
const n = h(null), B = m(() => {
|
|
128
128
|
switch (n.value) {
|
|
129
129
|
case "TL":
|
|
130
130
|
return {
|
|
@@ -165,34 +165,34 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
165
165
|
default:
|
|
166
166
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
167
167
|
}
|
|
168
|
-
}),
|
|
169
|
-
function
|
|
170
|
-
n.value &&
|
|
171
|
-
const
|
|
168
|
+
}), Ae = h(null), j = h(!1);
|
|
169
|
+
function O({ targetX: l, targetY: u, targetW: a, targetH: o, side: r }) {
|
|
170
|
+
n.value && D(r);
|
|
171
|
+
const b = {
|
|
172
172
|
x: l - d.value.startX,
|
|
173
173
|
y: u - d.value.startY,
|
|
174
174
|
w: a - d.value.width,
|
|
175
|
-
h:
|
|
176
|
-
},
|
|
177
|
-
let
|
|
178
|
-
function
|
|
179
|
-
|
|
175
|
+
h: o - d.value.height
|
|
176
|
+
}, f = t.value.zoomAnimationFrames;
|
|
177
|
+
let W = 0;
|
|
178
|
+
function Ce() {
|
|
179
|
+
j.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, W += 1, W < f ? Ae.value = requestAnimationFrame(Ce) : j.value = !1;
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
Ce();
|
|
182
182
|
}
|
|
183
|
-
function
|
|
184
|
-
if (!
|
|
185
|
-
if (
|
|
186
|
-
|
|
183
|
+
function M(l) {
|
|
184
|
+
if (!j.value)
|
|
185
|
+
if (p.value && n.value === l)
|
|
186
|
+
O({
|
|
187
187
|
targetX: 0,
|
|
188
188
|
targetY: 0,
|
|
189
189
|
targetW: e.value.width,
|
|
190
190
|
targetH: e.value.height
|
|
191
|
-
}), n.value = null,
|
|
191
|
+
}), n.value = null, p.value = !1;
|
|
192
192
|
else {
|
|
193
193
|
switch (n.value = l, l) {
|
|
194
194
|
case "TL":
|
|
195
|
-
|
|
195
|
+
O({
|
|
196
196
|
targetX: 0,
|
|
197
197
|
targetY: 0,
|
|
198
198
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -201,7 +201,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
201
201
|
});
|
|
202
202
|
break;
|
|
203
203
|
case "TR":
|
|
204
|
-
|
|
204
|
+
O({
|
|
205
205
|
targetX: e.value.width / 2 - e.value.left,
|
|
206
206
|
targetY: 0,
|
|
207
207
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -210,7 +210,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
210
210
|
});
|
|
211
211
|
break;
|
|
212
212
|
case "BR":
|
|
213
|
-
|
|
213
|
+
O({
|
|
214
214
|
targetX: e.value.width / 2 - e.value.left,
|
|
215
215
|
targetY: e.value.height / 2 - e.value.top,
|
|
216
216
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -219,7 +219,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
219
219
|
});
|
|
220
220
|
break;
|
|
221
221
|
case "BL":
|
|
222
|
-
|
|
222
|
+
O({
|
|
223
223
|
targetX: 0,
|
|
224
224
|
targetY: e.value.height / 2 - e.value.top,
|
|
225
225
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -231,127 +231,141 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
231
231
|
d.value.startX = 0, d.value.startY = 0, d.value.width = e.value.width, d.value.height = e.value.height;
|
|
232
232
|
break;
|
|
233
233
|
}
|
|
234
|
-
|
|
234
|
+
p.value = !0;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
const
|
|
238
|
-
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top,
|
|
237
|
+
const Ve = m(() => {
|
|
238
|
+
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
|
|
239
239
|
for (let r = 0; r < l; r += 1)
|
|
240
|
-
|
|
240
|
+
o.push({
|
|
241
241
|
x: e.value.padding + u * r,
|
|
242
242
|
y: a + e.value.usableHeight * (r / l / 2),
|
|
243
243
|
height: e.value.usableHeight * (1 - r / l),
|
|
244
244
|
width: e.value.usableWidth * (1 - r / l),
|
|
245
|
-
opacity:
|
|
245
|
+
opacity: ae[Math.round((r + 1) / l * 20)]
|
|
246
246
|
});
|
|
247
|
-
return
|
|
248
|
-
}),
|
|
249
|
-
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,
|
|
250
|
-
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...
|
|
247
|
+
return o;
|
|
248
|
+
}), q = m(() => {
|
|
249
|
+
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, o = t.value.style.chart.layout.grid.yAxis.min;
|
|
250
|
+
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...P.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...P.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...P.value.flatMap((r) => r.series.map((b) => b.y))), o = Math.min(...P.value.flatMap((r) => r.series.map((b) => b.y)))), {
|
|
251
251
|
x: {
|
|
252
252
|
max: l,
|
|
253
253
|
min: u
|
|
254
254
|
},
|
|
255
255
|
y: {
|
|
256
256
|
max: a,
|
|
257
|
-
min:
|
|
257
|
+
min: o
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
|
-
}), N = h([]),
|
|
260
|
+
}), N = h([]), P = m(() => Y.dataset.map((l, u) => ({
|
|
261
261
|
...l,
|
|
262
|
-
id: `cat_${u}_${
|
|
263
|
-
color:
|
|
264
|
-
}))),
|
|
262
|
+
id: `cat_${u}_${z.value}`,
|
|
263
|
+
color: Ke(l.color) || fe.value[u] || ie[u]
|
|
264
|
+
}))), Be = m(() => P.value.filter((l) => !N.value.includes(l.id))), Pe = m(() => P.value.map((l, u) => ({
|
|
265
265
|
...l,
|
|
266
266
|
shape: l.shape || "circle",
|
|
267
267
|
series: l.series.map((a) => ({
|
|
268
268
|
...a,
|
|
269
|
-
x:
|
|
270
|
-
y:
|
|
269
|
+
x: pe(a.x),
|
|
270
|
+
y: ge(a.y),
|
|
271
271
|
xValue: a.x,
|
|
272
272
|
yValue: a.y,
|
|
273
|
-
quadrantSide:
|
|
273
|
+
quadrantSide: xe({ x: a.x, y: a.y }),
|
|
274
274
|
categoryName: l.name,
|
|
275
275
|
shape: l.shape,
|
|
276
276
|
color: l.color
|
|
277
277
|
}))
|
|
278
|
-
}))),
|
|
279
|
-
l.series.forEach((a,
|
|
280
|
-
[null, void 0].includes(a.x) &&
|
|
278
|
+
}))), C = m(() => (Y.dataset.forEach((l, u) => {
|
|
279
|
+
l.series.forEach((a, o) => {
|
|
280
|
+
[null, void 0].includes(a.x) && R({
|
|
281
281
|
componentName: "VueUiQuadrant",
|
|
282
282
|
type: "datasetSerieAttribute",
|
|
283
283
|
property: "x",
|
|
284
284
|
key: "series",
|
|
285
|
-
index:
|
|
286
|
-
}), [null, void 0].includes(a.y) &&
|
|
285
|
+
index: o
|
|
286
|
+
}), [null, void 0].includes(a.y) && R({
|
|
287
287
|
componentName: "VueUiQuadrant",
|
|
288
288
|
type: "datasetSerieAttribute",
|
|
289
289
|
property: "y",
|
|
290
290
|
key: "series",
|
|
291
|
-
index:
|
|
291
|
+
index: o
|
|
292
292
|
});
|
|
293
293
|
});
|
|
294
|
-
}),
|
|
294
|
+
}), Be.value.map((l, u) => ({
|
|
295
295
|
...l,
|
|
296
296
|
shape: l.shape || "circle",
|
|
297
|
-
color: l.color ||
|
|
297
|
+
color: l.color || fe.value[u] || ie[u],
|
|
298
298
|
series: l.series.map((a) => ({
|
|
299
299
|
...a,
|
|
300
|
-
x:
|
|
301
|
-
y:
|
|
300
|
+
x: pe(a.x),
|
|
301
|
+
y: ge(a.y),
|
|
302
302
|
xValue: a.x,
|
|
303
303
|
yValue: a.y,
|
|
304
|
-
quadrantSide:
|
|
304
|
+
quadrantSide: xe({ x: a.x, y: a.y }),
|
|
305
305
|
categoryName: l.name,
|
|
306
306
|
shape: l.shape,
|
|
307
307
|
color: l.color,
|
|
308
|
-
uid:
|
|
308
|
+
uid: ze()
|
|
309
309
|
}))
|
|
310
310
|
}))));
|
|
311
|
-
function
|
|
311
|
+
function pe(l) {
|
|
312
312
|
if (l >= 0) {
|
|
313
|
-
const u = l /
|
|
313
|
+
const u = l / q.value.x.max;
|
|
314
314
|
return e.value.centerX + e.value.usableWidth / 2 * u;
|
|
315
315
|
} else {
|
|
316
|
-
const u = Math.abs(l) / Math.abs(
|
|
316
|
+
const u = Math.abs(l) / Math.abs(q.value.x.min);
|
|
317
317
|
return e.value.centerX - e.value.usableWidth / 2 * u;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function ge(l) {
|
|
321
321
|
if (l >= 0) {
|
|
322
|
-
const u = l /
|
|
322
|
+
const u = l / q.value.y.max;
|
|
323
323
|
return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
|
|
324
324
|
} else {
|
|
325
|
-
const u = Math.abs(l) / Math.abs(
|
|
325
|
+
const u = Math.abs(l) / Math.abs(q.value.y.min);
|
|
326
326
|
return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
const
|
|
330
|
-
const l =
|
|
331
|
-
x:
|
|
332
|
-
y:
|
|
333
|
-
name:
|
|
334
|
-
category:
|
|
335
|
-
quadrantSide:
|
|
336
|
-
sideName: t.value.style.chart.layout.labels.quadrantLabels[
|
|
337
|
-
color:
|
|
338
|
-
shape:
|
|
339
|
-
}))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y",
|
|
340
|
-
shape:
|
|
341
|
-
color:
|
|
329
|
+
const Z = m(() => {
|
|
330
|
+
const l = C.value.flatMap((f) => f.series.map((W) => ({
|
|
331
|
+
x: W.xValue,
|
|
332
|
+
y: W.yValue,
|
|
333
|
+
name: W.name,
|
|
334
|
+
category: W.categoryName,
|
|
335
|
+
quadrantSide: W.quadrantSide,
|
|
336
|
+
sideName: t.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
|
|
337
|
+
color: f.color,
|
|
338
|
+
shape: f.shape
|
|
339
|
+
}))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y", o = [t.value.translations.category, t.value.translations.item, u, a, t.value.translations.side], r = l.map((f) => [f.category, f.name, f.x, f.y, f.sideName || f.quadrantSide]), b = l.map((f) => ({
|
|
340
|
+
shape: f.shape,
|
|
341
|
+
color: f.color
|
|
342
342
|
}));
|
|
343
|
-
return { head:
|
|
344
|
-
}),
|
|
345
|
-
const l =
|
|
343
|
+
return { head: o, body: r, itsShapes: b, tableData: l };
|
|
344
|
+
}), K = m(() => {
|
|
345
|
+
const l = Z.value.head, u = Z.value.tableData.map((o) => [
|
|
346
346
|
{
|
|
347
|
-
shape:
|
|
348
|
-
color:
|
|
349
|
-
name:
|
|
347
|
+
shape: o.shape,
|
|
348
|
+
color: o.color,
|
|
349
|
+
name: o.category
|
|
350
350
|
},
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
351
|
+
o.name,
|
|
352
|
+
A(
|
|
353
|
+
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
354
|
+
o.x,
|
|
355
|
+
V({
|
|
356
|
+
v: o.x,
|
|
357
|
+
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
358
|
+
})
|
|
359
|
+
),
|
|
360
|
+
A(
|
|
361
|
+
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
362
|
+
o.y,
|
|
363
|
+
V({
|
|
364
|
+
v: o.y,
|
|
365
|
+
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
366
|
+
})
|
|
367
|
+
),
|
|
368
|
+
o.sideName || o.quadrantSide
|
|
355
369
|
]), a = {
|
|
356
370
|
th: {
|
|
357
371
|
backgroundColor: t.value.table.th.backgroundColor,
|
|
@@ -367,20 +381,20 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
367
381
|
};
|
|
368
382
|
return { head: l, body: u, config: a, colNames: l };
|
|
369
383
|
});
|
|
370
|
-
function
|
|
384
|
+
function se(l) {
|
|
371
385
|
N.value.includes(l) ? N.value = N.value.filter((a) => a !== l) : N.value.push(l);
|
|
372
|
-
const u =
|
|
373
|
-
|
|
386
|
+
const u = Le();
|
|
387
|
+
ue("selectLegend", u);
|
|
374
388
|
}
|
|
375
|
-
const
|
|
389
|
+
const me = m(() => Pe.value.map((l) => ({
|
|
376
390
|
name: l.name,
|
|
377
391
|
shape: l.shape,
|
|
378
392
|
color: l.color,
|
|
379
393
|
id: l.id,
|
|
380
394
|
opacity: N.value.includes(l.id) ? 0.5 : 1,
|
|
381
|
-
segregate: () =>
|
|
395
|
+
segregate: () => se(l.id),
|
|
382
396
|
isSegregated: N.value.includes(l.id)
|
|
383
|
-
}))),
|
|
397
|
+
}))), Re = m(() => ({
|
|
384
398
|
cy: "quadrant-div-legend",
|
|
385
399
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
386
400
|
color: t.value.style.chart.legend.color,
|
|
@@ -388,7 +402,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
388
402
|
paddingBottom: 12,
|
|
389
403
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
390
404
|
}));
|
|
391
|
-
function
|
|
405
|
+
function xe(l) {
|
|
392
406
|
switch (!0) {
|
|
393
407
|
case (l.x >= 0 && l.y >= 0):
|
|
394
408
|
return "tr";
|
|
@@ -402,36 +416,52 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
402
416
|
return "";
|
|
403
417
|
}
|
|
404
418
|
}
|
|
405
|
-
const
|
|
406
|
-
function
|
|
407
|
-
|
|
419
|
+
const H = h(null), I = h(null), re = h(null);
|
|
420
|
+
function $e(l, u, a) {
|
|
421
|
+
H.value = u.uid, I.value = {
|
|
408
422
|
color: l.color,
|
|
409
423
|
shape: l.shape
|
|
410
|
-
},
|
|
424
|
+
}, re.value = {
|
|
411
425
|
datapoint: u,
|
|
412
426
|
seriesIndex: a,
|
|
413
|
-
series:
|
|
427
|
+
series: C.value,
|
|
414
428
|
config: t.value
|
|
415
|
-
},
|
|
416
|
-
const
|
|
417
|
-
if (
|
|
429
|
+
}, Q.value = !0;
|
|
430
|
+
const o = t.value.style.chart.tooltip.customFormat;
|
|
431
|
+
if (ut(o) && ot(() => o({
|
|
418
432
|
seriesIndex: a,
|
|
419
433
|
datapoint: u,
|
|
420
|
-
series:
|
|
434
|
+
series: C.value,
|
|
421
435
|
config: t.value
|
|
422
436
|
})))
|
|
423
|
-
|
|
437
|
+
oe.value = o({
|
|
424
438
|
seriesIndex: a,
|
|
425
439
|
datapoint: u,
|
|
426
|
-
series:
|
|
440
|
+
series: C.value,
|
|
427
441
|
config: t.value
|
|
428
442
|
});
|
|
429
443
|
else {
|
|
430
444
|
let r = "";
|
|
431
|
-
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>${
|
|
445
|
+
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>${A(
|
|
446
|
+
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
447
|
+
u.xValue,
|
|
448
|
+
V({
|
|
449
|
+
v: u.xValue,
|
|
450
|
+
r: t.value.style.chart.tooltip.roundingValue
|
|
451
|
+
}),
|
|
452
|
+
{ datapoint: u, category: l, categoryIndex: a }
|
|
453
|
+
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${A(
|
|
454
|
+
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
455
|
+
u.yValue,
|
|
456
|
+
V({
|
|
457
|
+
v: u.yValue,
|
|
458
|
+
r: t.value.style.chart.tooltip.roundingValue
|
|
459
|
+
}),
|
|
460
|
+
{ datapoint: u, category: l, categoryIndex: a }
|
|
461
|
+
)}</b></div>`, oe.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
432
462
|
}
|
|
433
463
|
}
|
|
434
|
-
function
|
|
464
|
+
function ke(l, u) {
|
|
435
465
|
const a = {
|
|
436
466
|
category: l.name,
|
|
437
467
|
shape: l.shape,
|
|
@@ -441,11 +471,11 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
441
471
|
quadrantSide: u.quadrantSide,
|
|
442
472
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text
|
|
443
473
|
};
|
|
444
|
-
|
|
474
|
+
ue("selectPlot", a);
|
|
445
475
|
}
|
|
446
|
-
function
|
|
476
|
+
function D(l) {
|
|
447
477
|
if (!l) return;
|
|
448
|
-
const u =
|
|
478
|
+
const u = C.value.flatMap((o) => o.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
449
479
|
category: r.categoryName,
|
|
450
480
|
itemName: r.name,
|
|
451
481
|
x: r.xValue,
|
|
@@ -455,9 +485,9 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
455
485
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
456
486
|
items: [...u]
|
|
457
487
|
};
|
|
458
|
-
|
|
488
|
+
ue("selectSide", a);
|
|
459
489
|
}
|
|
460
|
-
const
|
|
490
|
+
const $ = m(() => ({
|
|
461
491
|
TL: {
|
|
462
492
|
tl: {
|
|
463
493
|
x: e.value.left + e.value.usableWidth / 4 - 20,
|
|
@@ -563,8 +593,8 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
563
593
|
}
|
|
564
594
|
}
|
|
565
595
|
}));
|
|
566
|
-
function
|
|
567
|
-
return
|
|
596
|
+
function Le() {
|
|
597
|
+
return C.value.map((l) => ({
|
|
568
598
|
color: l.color,
|
|
569
599
|
name: l.name,
|
|
570
600
|
shape: l.shape,
|
|
@@ -577,47 +607,47 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
577
607
|
}))
|
|
578
608
|
}));
|
|
579
609
|
}
|
|
580
|
-
function
|
|
581
|
-
|
|
582
|
-
const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u =
|
|
583
|
-
|
|
610
|
+
function we() {
|
|
611
|
+
Ue(() => {
|
|
612
|
+
const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u = Z.value.head, a = Z.value.body, o = l.concat([u]).concat(a), r = st(o);
|
|
613
|
+
rt({ csvContent: r, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
584
614
|
});
|
|
585
615
|
}
|
|
586
|
-
const
|
|
616
|
+
const E = h(!1);
|
|
587
617
|
function Fe(l) {
|
|
588
|
-
|
|
618
|
+
E.value = l, ne.value += 1;
|
|
589
619
|
}
|
|
590
|
-
function
|
|
620
|
+
function qe() {
|
|
591
621
|
w.value.showTable = !w.value.showTable;
|
|
592
622
|
}
|
|
593
|
-
function
|
|
623
|
+
function _e() {
|
|
594
624
|
w.value.plotLabels.show = !w.value.plotLabels.show;
|
|
595
625
|
}
|
|
596
|
-
function
|
|
626
|
+
function Se() {
|
|
597
627
|
w.value.showTooltip = !w.value.showTooltip;
|
|
598
628
|
}
|
|
599
|
-
return
|
|
600
|
-
getData:
|
|
601
|
-
generatePdf:
|
|
602
|
-
generateCsv:
|
|
603
|
-
generateImage:
|
|
604
|
-
toggleTable:
|
|
605
|
-
toggleLabels:
|
|
606
|
-
toggleTooltip:
|
|
607
|
-
}), (l, u) => (
|
|
608
|
-
class:
|
|
629
|
+
return Ye({
|
|
630
|
+
getData: Le,
|
|
631
|
+
generatePdf: ye,
|
|
632
|
+
generateCsv: we,
|
|
633
|
+
generateImage: be,
|
|
634
|
+
toggleTable: qe,
|
|
635
|
+
toggleLabels: _e,
|
|
636
|
+
toggleTooltip: Se
|
|
637
|
+
}), (l, u) => (s(), i("div", {
|
|
638
|
+
class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
609
639
|
ref_key: "quadrantChart",
|
|
610
640
|
ref: F,
|
|
611
|
-
id: `vue-ui-quadrant_${
|
|
612
|
-
style:
|
|
641
|
+
id: `vue-ui-quadrant_${z.value}`,
|
|
642
|
+
style: L(`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%" : ""}`)
|
|
613
643
|
}, [
|
|
614
|
-
t.value.style.chart.title.text ? (
|
|
644
|
+
t.value.style.chart.title.text ? (s(), i("div", {
|
|
615
645
|
key: 0,
|
|
616
646
|
ref_key: "chartTitle",
|
|
617
|
-
ref:
|
|
618
|
-
style:
|
|
647
|
+
ref: ve,
|
|
648
|
+
style: L(`width:100%;background:${t.value.style.chart.backgroundColor};padding-bottom:12px`)
|
|
619
649
|
}, [
|
|
620
|
-
|
|
650
|
+
ee(vt, {
|
|
621
651
|
config: {
|
|
622
652
|
title: {
|
|
623
653
|
cy: "quadrant-title",
|
|
@@ -630,15 +660,15 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
630
660
|
}
|
|
631
661
|
}, null, 8, ["config"])
|
|
632
662
|
], 4)) : c("", !0),
|
|
633
|
-
t.value.userOptions.show &&
|
|
663
|
+
t.value.userOptions.show && G.value ? (s(), U(ct, {
|
|
634
664
|
ref_key: "details",
|
|
635
|
-
ref:
|
|
636
|
-
key: `user_options_${
|
|
665
|
+
ref: Ne,
|
|
666
|
+
key: `user_options_${ne.value}`,
|
|
637
667
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
638
668
|
color: t.value.style.chart.color,
|
|
639
|
-
isImaging:
|
|
640
|
-
isPrinting:
|
|
641
|
-
uid:
|
|
669
|
+
isImaging: y(he),
|
|
670
|
+
isPrinting: y(ce),
|
|
671
|
+
uid: z.value,
|
|
642
672
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
643
673
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
644
674
|
hasImg: t.value.userOptions.buttons.img,
|
|
@@ -646,97 +676,97 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
646
676
|
hasTable: t.value.userOptions.buttons.table,
|
|
647
677
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
648
678
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
649
|
-
isFullscreen:
|
|
679
|
+
isFullscreen: E.value,
|
|
650
680
|
isTooltip: w.value.showTooltip,
|
|
651
681
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
652
682
|
chartElement: F.value,
|
|
653
683
|
onToggleFullscreen: Fe,
|
|
654
|
-
onGeneratePdf:
|
|
655
|
-
onGenerateCsv:
|
|
656
|
-
onGenerateImage:
|
|
657
|
-
onToggleTable:
|
|
658
|
-
onToggleLabels:
|
|
659
|
-
onToggleTooltip:
|
|
660
|
-
},
|
|
684
|
+
onGeneratePdf: y(ye),
|
|
685
|
+
onGenerateCsv: we,
|
|
686
|
+
onGenerateImage: y(be),
|
|
687
|
+
onToggleTable: qe,
|
|
688
|
+
onToggleLabels: _e,
|
|
689
|
+
onToggleTooltip: Se
|
|
690
|
+
}, De({ _: 2 }, [
|
|
661
691
|
l.$slots.optionTooltip ? {
|
|
662
692
|
name: "optionTooltip",
|
|
663
|
-
fn:
|
|
664
|
-
|
|
693
|
+
fn: k(() => [
|
|
694
|
+
_(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
665
695
|
]),
|
|
666
696
|
key: "0"
|
|
667
697
|
} : void 0,
|
|
668
698
|
l.$slots.optionPdf ? {
|
|
669
699
|
name: "optionPdf",
|
|
670
|
-
fn:
|
|
671
|
-
|
|
700
|
+
fn: k(() => [
|
|
701
|
+
_(l.$slots, "optionPdf", {}, void 0, !0)
|
|
672
702
|
]),
|
|
673
703
|
key: "1"
|
|
674
704
|
} : void 0,
|
|
675
705
|
l.$slots.optionCsv ? {
|
|
676
706
|
name: "optionCsv",
|
|
677
|
-
fn:
|
|
678
|
-
|
|
707
|
+
fn: k(() => [
|
|
708
|
+
_(l.$slots, "optionCsv", {}, void 0, !0)
|
|
679
709
|
]),
|
|
680
710
|
key: "2"
|
|
681
711
|
} : void 0,
|
|
682
712
|
l.$slots.optionImg ? {
|
|
683
713
|
name: "optionImg",
|
|
684
|
-
fn:
|
|
685
|
-
|
|
714
|
+
fn: k(() => [
|
|
715
|
+
_(l.$slots, "optionImg", {}, void 0, !0)
|
|
686
716
|
]),
|
|
687
717
|
key: "3"
|
|
688
718
|
} : void 0,
|
|
689
719
|
l.$slots.optionTable ? {
|
|
690
720
|
name: "optionTable",
|
|
691
|
-
fn:
|
|
692
|
-
|
|
721
|
+
fn: k(() => [
|
|
722
|
+
_(l.$slots, "optionTable", {}, void 0, !0)
|
|
693
723
|
]),
|
|
694
724
|
key: "4"
|
|
695
725
|
} : void 0,
|
|
696
726
|
l.$slots.optionLabels ? {
|
|
697
727
|
name: "optionLabels",
|
|
698
|
-
fn:
|
|
699
|
-
|
|
728
|
+
fn: k(() => [
|
|
729
|
+
_(l.$slots, "optionLabels", {}, void 0, !0)
|
|
700
730
|
]),
|
|
701
731
|
key: "5"
|
|
702
732
|
} : void 0,
|
|
703
733
|
l.$slots.optionFullscreen ? {
|
|
704
734
|
name: "optionFullscreen",
|
|
705
|
-
fn:
|
|
706
|
-
|
|
735
|
+
fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
736
|
+
_(l.$slots, "optionFullscreen", te(le({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
707
737
|
]),
|
|
708
738
|
key: "6"
|
|
709
739
|
} : void 0
|
|
710
740
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
711
|
-
|
|
741
|
+
G.value ? (s(), i("svg", {
|
|
712
742
|
key: 2,
|
|
713
|
-
xmlns:
|
|
714
|
-
class:
|
|
743
|
+
xmlns: y(et),
|
|
744
|
+
class: T({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
715
745
|
viewBox: `${d.value.startX} ${d.value.startY} ${d.value.width} ${d.value.height}`,
|
|
716
|
-
style:
|
|
717
|
-
id: `svg_${
|
|
746
|
+
style: L(`max-width:100%;overflow:${p.value ? "hidden" : "visible"};background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color}`),
|
|
747
|
+
id: `svg_${z.value}`
|
|
718
748
|
}, [
|
|
719
749
|
v("defs", null, [
|
|
720
|
-
(
|
|
750
|
+
(s(!0), i(S, null, X(C.value, (a, o) => (s(), i("radialGradient", {
|
|
721
751
|
cx: "50%",
|
|
722
752
|
cy: "50%",
|
|
723
753
|
r: "50%",
|
|
724
754
|
fx: "50%",
|
|
725
755
|
fy: "50%",
|
|
726
|
-
id: `quadrant_gradient_${
|
|
756
|
+
id: `quadrant_gradient_${z.value}_${o}`
|
|
727
757
|
}, [
|
|
728
758
|
v("stop", {
|
|
729
759
|
offset: "0%",
|
|
730
|
-
"stop-color": `${
|
|
731
|
-
}, null, 8,
|
|
760
|
+
"stop-color": `${y(tt)(a.color, 0.05)}${y(ae)[t.value.style.chart.layout.areas.opacity]}`
|
|
761
|
+
}, null, 8, kt),
|
|
732
762
|
v("stop", {
|
|
733
763
|
offset: "100%",
|
|
734
|
-
"stop-color": a.color +
|
|
735
|
-
}, null, 8,
|
|
736
|
-
], 8,
|
|
764
|
+
"stop-color": a.color + y(ae)[t.value.style.chart.layout.areas.opacity]
|
|
765
|
+
}, null, 8, Lt)
|
|
766
|
+
], 8, $t))), 256))
|
|
737
767
|
]),
|
|
738
|
-
t.value.style.chart.layout.grid.graduations.show ? (
|
|
739
|
-
(
|
|
768
|
+
t.value.style.chart.layout.grid.graduations.show ? (s(), i("g", wt, [
|
|
769
|
+
(s(!0), i(S, null, X(Ve.value, (a) => (s(), i("rect", {
|
|
740
770
|
fill: t.value.style.chart.layout.grid.graduations.fill ? `${t.value.style.chart.layout.grid.graduations.color}${a.opacity}` : "none",
|
|
741
771
|
x: a.x,
|
|
742
772
|
y: a.y,
|
|
@@ -745,7 +775,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
745
775
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
746
776
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
747
777
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
748
|
-
}, null, 8,
|
|
778
|
+
}, null, 8, qt))), 256))
|
|
749
779
|
])) : c("", !0),
|
|
750
780
|
v("line", {
|
|
751
781
|
x1: e.value.left,
|
|
@@ -754,7 +784,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
754
784
|
y2: e.value.centerY,
|
|
755
785
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
756
786
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
757
|
-
}, null, 8,
|
|
787
|
+
}, null, 8, _t),
|
|
758
788
|
v("line", {
|
|
759
789
|
x1: e.value.centerX,
|
|
760
790
|
y1: e.value.top,
|
|
@@ -762,309 +792,337 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
762
792
|
y2: e.value.bottom,
|
|
763
793
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
764
794
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
765
|
-
}, null, 8,
|
|
766
|
-
t.value.style.chart.layout.grid.showArrows ? (
|
|
795
|
+
}, null, 8, St),
|
|
796
|
+
t.value.style.chart.layout.grid.showArrows ? (s(), i("g", Ct, [
|
|
767
797
|
v("polygon", {
|
|
768
798
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
769
799
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
770
800
|
stroke: "none"
|
|
771
|
-
}, null, 8,
|
|
801
|
+
}, null, 8, zt),
|
|
772
802
|
v("polygon", {
|
|
773
803
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
774
804
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
775
805
|
stroke: "none"
|
|
776
|
-
}, null, 8,
|
|
806
|
+
}, null, 8, Tt),
|
|
777
807
|
v("polygon", {
|
|
778
808
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
779
809
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
780
810
|
stroke: "none"
|
|
781
|
-
}, null, 8,
|
|
811
|
+
}, null, 8, Wt),
|
|
782
812
|
v("polygon", {
|
|
783
813
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
784
814
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
785
815
|
stroke: "none"
|
|
786
|
-
}, null, 8,
|
|
816
|
+
}, null, 8, Xt)
|
|
787
817
|
])) : c("", !0),
|
|
788
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !
|
|
789
|
-
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (
|
|
818
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (s(), i("g", Yt, [
|
|
819
|
+
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), i("text", {
|
|
790
820
|
key: 0,
|
|
791
821
|
x: 0,
|
|
792
822
|
y: e.value.top - e.value.padding / 2,
|
|
793
823
|
"text-anchor": "start",
|
|
794
824
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
795
825
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
796
|
-
style:
|
|
797
|
-
onClick: u[0] || (u[0] = (a) =>
|
|
798
|
-
},
|
|
799
|
-
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (
|
|
826
|
+
style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
827
|
+
onClick: u[0] || (u[0] = (a) => D("tl"))
|
|
828
|
+
}, x(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, Mt)) : c("", !0),
|
|
829
|
+
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), i("text", {
|
|
800
830
|
key: 1,
|
|
801
831
|
x: e.value.width,
|
|
802
832
|
y: e.value.top - e.value.padding / 2,
|
|
803
833
|
"text-anchor": "end",
|
|
804
834
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
805
835
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
806
|
-
style:
|
|
807
|
-
onClick: u[1] || (u[1] = (a) =>
|
|
808
|
-
},
|
|
809
|
-
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (
|
|
836
|
+
style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
837
|
+
onClick: u[1] || (u[1] = (a) => D("tr"))
|
|
838
|
+
}, x(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Nt)) : c("", !0),
|
|
839
|
+
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), i("text", {
|
|
810
840
|
key: 2,
|
|
811
841
|
x: e.value.width,
|
|
812
842
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
813
843
|
"text-anchor": "end",
|
|
814
844
|
fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
815
845
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
816
|
-
style:
|
|
817
|
-
onClick: u[2] || (u[2] = (a) =>
|
|
818
|
-
},
|
|
819
|
-
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (
|
|
846
|
+
style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
847
|
+
onClick: u[2] || (u[2] = (a) => D("br"))
|
|
848
|
+
}, x(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, At)) : c("", !0),
|
|
849
|
+
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), i("text", {
|
|
820
850
|
key: 3,
|
|
821
851
|
x: 0,
|
|
822
852
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
823
853
|
"text-anchor": "start",
|
|
824
854
|
fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
825
855
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
826
|
-
style:
|
|
827
|
-
onClick: u[3] || (u[3] = (a) =>
|
|
828
|
-
},
|
|
856
|
+
style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
857
|
+
onClick: u[3] || (u[3] = (a) => D("bl"))
|
|
858
|
+
}, x(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Vt)) : c("", !0)
|
|
829
859
|
])) : c("", !0),
|
|
830
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (
|
|
860
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (s(), i("g", Bt, [
|
|
831
861
|
v("text", {
|
|
832
862
|
x: e.value.centerX,
|
|
833
863
|
y: e.value.top - e.value.padding / 6,
|
|
834
864
|
"text-anchor": "middle",
|
|
835
865
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
836
866
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
837
|
-
},
|
|
867
|
+
}, x(y(A)(
|
|
868
|
+
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
869
|
+
q.value.y.max,
|
|
870
|
+
y(V)({
|
|
871
|
+
v: q.value.y.max,
|
|
872
|
+
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
873
|
+
})
|
|
874
|
+
)), 9, Pt),
|
|
838
875
|
v("text", {
|
|
839
876
|
x: e.value.centerX,
|
|
840
877
|
y: e.value.top - e.value.padding / 2,
|
|
841
878
|
"text-anchor": "middle",
|
|
842
879
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
843
880
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
844
|
-
},
|
|
881
|
+
}, x(t.value.style.chart.layout.grid.yAxis.name), 9, Rt),
|
|
845
882
|
v("text", {
|
|
846
883
|
x: e.value.centerX,
|
|
847
884
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
848
885
|
"text-anchor": "middle",
|
|
849
886
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
850
887
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
851
|
-
},
|
|
888
|
+
}, x(y(A)(
|
|
889
|
+
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
890
|
+
q.value.y.min,
|
|
891
|
+
y(V)({
|
|
892
|
+
v: q.value.y.min,
|
|
893
|
+
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
894
|
+
})
|
|
895
|
+
)), 9, Ft),
|
|
852
896
|
v("text", {
|
|
853
|
-
id: `xLabelMin_${
|
|
897
|
+
id: `xLabelMin_${z.value}`,
|
|
854
898
|
"text-anchor": "middle",
|
|
855
899
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
856
900
|
transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
|
|
857
901
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
858
|
-
},
|
|
902
|
+
}, x(y(A)(
|
|
903
|
+
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
904
|
+
q.value.x.min,
|
|
905
|
+
y(V)({
|
|
906
|
+
v: q.value.x.min,
|
|
907
|
+
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
908
|
+
})
|
|
909
|
+
)), 9, Ot),
|
|
859
910
|
v("text", {
|
|
860
|
-
id: `xLabelMax_${
|
|
911
|
+
id: `xLabelMax_${z.value}`,
|
|
861
912
|
"text-anchor": "middle",
|
|
862
913
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
863
914
|
transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
864
915
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
865
|
-
},
|
|
916
|
+
}, x(y(A)(
|
|
917
|
+
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
918
|
+
q.value.x.max,
|
|
919
|
+
y(V)({
|
|
920
|
+
v: q.value.x.max,
|
|
921
|
+
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
922
|
+
})
|
|
923
|
+
)), 9, Ht),
|
|
866
924
|
v("text", {
|
|
867
|
-
id: `xLabelMaxName_${
|
|
925
|
+
id: `xLabelMaxName_${z.value}`,
|
|
868
926
|
"text-anchor": "middle",
|
|
869
927
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
870
928
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
871
929
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
872
|
-
},
|
|
930
|
+
}, x(t.value.style.chart.layout.grid.xAxis.name), 9, It)
|
|
873
931
|
])) : c("", !0),
|
|
874
|
-
t.value.style.chart.layout.areas.show ? (
|
|
875
|
-
(
|
|
876
|
-
a.series.length > 2 ? (
|
|
932
|
+
t.value.style.chart.layout.areas.show ? (s(), i("g", Dt, [
|
|
933
|
+
(s(!0), i(S, null, X(C.value, (a, o) => (s(), i("g", null, [
|
|
934
|
+
a.series.length > 2 ? (s(), i("polygon", {
|
|
877
935
|
key: 0,
|
|
878
936
|
"data-cy-quadrant-area": "",
|
|
879
|
-
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${
|
|
880
|
-
points:
|
|
881
|
-
}, null, 8,
|
|
937
|
+
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${o})` : `${a.color}${y(ae)[t.value.style.chart.layout.areas.opacity]}`,
|
|
938
|
+
points: y(lt)(a)
|
|
939
|
+
}, null, 8, Et)) : c("", !0)
|
|
882
940
|
]))), 256))
|
|
883
941
|
])) : c("", !0),
|
|
884
942
|
v("g", null, [
|
|
885
943
|
v("rect", {
|
|
886
|
-
onClick: u[4] || (u[4] = (a) =>
|
|
944
|
+
onClick: u[4] || (u[4] = (a) => M("TL")),
|
|
887
945
|
x: e.value.left,
|
|
888
946
|
y: e.value.top,
|
|
889
947
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
890
948
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
891
949
|
fill: "transparent",
|
|
892
|
-
class:
|
|
893
|
-
}, null, 10,
|
|
950
|
+
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
951
|
+
}, null, 10, Ut),
|
|
894
952
|
v("rect", {
|
|
895
|
-
onClick: u[5] || (u[5] = (a) =>
|
|
953
|
+
onClick: u[5] || (u[5] = (a) => M("TR")),
|
|
896
954
|
x: e.value.centerX,
|
|
897
955
|
y: e.value.top,
|
|
898
956
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
899
957
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
900
958
|
fill: "transparent",
|
|
901
|
-
class:
|
|
902
|
-
}, null, 10,
|
|
959
|
+
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
960
|
+
}, null, 10, Gt),
|
|
903
961
|
v("rect", {
|
|
904
|
-
onClick: u[6] || (u[6] = (a) =>
|
|
962
|
+
onClick: u[6] || (u[6] = (a) => M("BR")),
|
|
905
963
|
x: e.value.centerX,
|
|
906
964
|
y: e.value.centerY,
|
|
907
965
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
908
966
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
909
967
|
fill: "transparent",
|
|
910
|
-
class:
|
|
911
|
-
}, null, 10,
|
|
968
|
+
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
969
|
+
}, null, 10, Qt),
|
|
912
970
|
v("rect", {
|
|
913
|
-
onClick: u[7] || (u[7] = (a) =>
|
|
971
|
+
onClick: u[7] || (u[7] = (a) => M("BL")),
|
|
914
972
|
x: e.value.left,
|
|
915
973
|
y: e.value.centerY,
|
|
916
974
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
917
975
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
918
976
|
fill: "transparent",
|
|
919
|
-
class:
|
|
920
|
-
}, null, 10,
|
|
977
|
+
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
978
|
+
}, null, 10, Jt)
|
|
921
979
|
]),
|
|
922
|
-
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (
|
|
923
|
-
w.value.plotLabels.show ? (
|
|
924
|
-
(
|
|
925
|
-
(
|
|
980
|
+
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), i(S, { key: 6 }, [
|
|
981
|
+
w.value.plotLabels.show ? (s(), i("g", Kt, [
|
|
982
|
+
(s(!0), i(S, null, X(C.value, (a, o) => (s(), i(S, null, [
|
|
983
|
+
(s(!0), i(S, null, X(a.series, (r) => (s(), i("foreignObject", {
|
|
926
984
|
style: { overflow: "visible" },
|
|
927
985
|
height: "10",
|
|
928
986
|
width: "100",
|
|
929
987
|
x: r.x - 50,
|
|
930
988
|
y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
931
|
-
onMouseover: (
|
|
932
|
-
onMouseleave: u[9] || (u[9] = (
|
|
933
|
-
|
|
989
|
+
onMouseover: (b) => $e(a, r, o),
|
|
990
|
+
onMouseleave: u[9] || (u[9] = (b) => {
|
|
991
|
+
Q.value = !1, H.value = null, I.value = null;
|
|
934
992
|
}),
|
|
935
|
-
onClick: (
|
|
993
|
+
onClick: (b) => ke(a, r)
|
|
936
994
|
}, [
|
|
937
995
|
v("div", {
|
|
938
|
-
style:
|
|
939
|
-
},
|
|
940
|
-
], 40,
|
|
996
|
+
style: L(`color:${y(at)(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`)
|
|
997
|
+
}, x(r.name), 5)
|
|
998
|
+
], 40, el))), 256))
|
|
941
999
|
], 64))), 256))
|
|
942
1000
|
])) : c("", !0)
|
|
943
|
-
], 64)) : (
|
|
944
|
-
(
|
|
945
|
-
(
|
|
1001
|
+
], 64)) : (s(), i(S, { key: 5 }, [
|
|
1002
|
+
(s(!0), i(S, null, X(C.value, (a, o) => (s(), i("g", null, [
|
|
1003
|
+
(s(!0), i(S, null, X(a.series, (r) => (s(), U(Te, {
|
|
946
1004
|
color: a.color,
|
|
947
|
-
isSelected:
|
|
1005
|
+
isSelected: H.value && r.uid === H.value,
|
|
948
1006
|
plot: r,
|
|
949
|
-
radius: t.value.style.chart.layout.plots.radius / (
|
|
1007
|
+
radius: t.value.style.chart.layout.plots.radius / (p.value ? 1.5 : 1),
|
|
950
1008
|
shape: a.shape,
|
|
951
1009
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
952
1010
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
953
|
-
onMouseover: (
|
|
954
|
-
onMouseleave: u[8] || (u[8] = (
|
|
955
|
-
|
|
1011
|
+
onMouseover: (b) => $e(a, r, o),
|
|
1012
|
+
onMouseleave: u[8] || (u[8] = (b) => {
|
|
1013
|
+
Q.value = !1, H.value = null, I.value = null;
|
|
956
1014
|
}),
|
|
957
|
-
onClick: (
|
|
1015
|
+
onClick: (b) => ke(a, r)
|
|
958
1016
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseover", "onClick"]))), 256))
|
|
959
1017
|
]))), 256)),
|
|
960
|
-
w.value.plotLabels.show ? (
|
|
961
|
-
(
|
|
962
|
-
(
|
|
963
|
-
x:
|
|
964
|
-
y:
|
|
1018
|
+
w.value.plotLabels.show ? (s(), i("g", jt, [
|
|
1019
|
+
(s(!0), i(S, null, X(C.value, (a) => (s(), i("g", null, [
|
|
1020
|
+
(s(!0), i(S, null, X(a.series, (o) => (s(), i("text", {
|
|
1021
|
+
x: o.x,
|
|
1022
|
+
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
965
1023
|
"text-anchor": "middle",
|
|
966
|
-
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1024
|
+
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
967
1025
|
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
968
|
-
},
|
|
1026
|
+
}, x(o.name), 9, Zt))), 256))
|
|
969
1027
|
]))), 256))
|
|
970
1028
|
])) : c("", !0)
|
|
971
1029
|
], 64)),
|
|
972
|
-
|
|
973
|
-
n.value === "TL" ? (
|
|
1030
|
+
p.value ? (s(), i("g", tl, [
|
|
1031
|
+
n.value === "TL" ? (s(), i("polygon", {
|
|
974
1032
|
key: 0,
|
|
975
1033
|
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}`,
|
|
976
1034
|
fill: t.value.style.chart.backgroundColor,
|
|
977
1035
|
style: { opacity: "1" }
|
|
978
|
-
}, null, 8,
|
|
979
|
-
n.value === "TR" ? (
|
|
1036
|
+
}, null, 8, ll)) : c("", !0),
|
|
1037
|
+
n.value === "TR" ? (s(), i("polygon", {
|
|
980
1038
|
key: 1,
|
|
981
1039
|
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}`,
|
|
982
1040
|
fill: t.value.style.chart.backgroundColor,
|
|
983
1041
|
style: { opacity: "1" }
|
|
984
|
-
}, null, 8,
|
|
985
|
-
n.value === "BR" ? (
|
|
1042
|
+
}, null, 8, al)) : c("", !0),
|
|
1043
|
+
n.value === "BR" ? (s(), i("polygon", {
|
|
986
1044
|
key: 2,
|
|
987
1045
|
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}`,
|
|
988
1046
|
fill: t.value.style.chart.backgroundColor,
|
|
989
1047
|
style: { opacity: "1" }
|
|
990
|
-
}, null, 8,
|
|
991
|
-
n.value === "BL" ? (
|
|
1048
|
+
}, null, 8, ul)) : c("", !0),
|
|
1049
|
+
n.value === "BL" ? (s(), i("polygon", {
|
|
992
1050
|
key: 3,
|
|
993
1051
|
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}`,
|
|
994
1052
|
fill: t.value.style.chart.backgroundColor,
|
|
995
1053
|
style: { opacity: "1" }
|
|
996
|
-
}, null, 8,
|
|
1054
|
+
}, null, 8, ol)) : c("", !0)
|
|
997
1055
|
])) : c("", !0),
|
|
998
|
-
n.value && !
|
|
1056
|
+
n.value && !j.value ? (s(), i("g", sl, [
|
|
999
1057
|
v("text", {
|
|
1000
|
-
x:
|
|
1001
|
-
y:
|
|
1002
|
-
"font-size":
|
|
1003
|
-
fill:
|
|
1058
|
+
x: B.value.x,
|
|
1059
|
+
y: B.value.y - B.value.fontSize / 1.5,
|
|
1060
|
+
"font-size": B.value.fontSize / 1.5,
|
|
1061
|
+
fill: B.value.fill,
|
|
1004
1062
|
"text-anchor": "middle",
|
|
1005
|
-
"font-weight":
|
|
1006
|
-
},
|
|
1063
|
+
"font-weight": B.value.bold ? "bold" : "normal"
|
|
1064
|
+
}, x(B.value.text), 9, rl)
|
|
1007
1065
|
])) : c("", !0),
|
|
1008
|
-
|
|
1066
|
+
p.value && n.value ? (s(), i("g", il, [
|
|
1009
1067
|
v("rect", {
|
|
1010
|
-
x:
|
|
1011
|
-
y:
|
|
1068
|
+
x: $.value[n.value].tl.x,
|
|
1069
|
+
y: $.value[n.value].tl.y,
|
|
1012
1070
|
height: "20",
|
|
1013
1071
|
width: "20",
|
|
1014
|
-
fill:
|
|
1015
|
-
style:
|
|
1016
|
-
onClick: u[10] || (u[10] = (a) =>
|
|
1017
|
-
class:
|
|
1018
|
-
}, null, 14,
|
|
1072
|
+
fill: $.value[n.value].tl.fill,
|
|
1073
|
+
style: L(`cursor: pointer; opacity: ${n.value === "TL" ? 1 : 0.2}`),
|
|
1074
|
+
onClick: u[10] || (u[10] = (a) => M("TL")),
|
|
1075
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": n.value !== "TL" })
|
|
1076
|
+
}, null, 14, nl),
|
|
1019
1077
|
v("rect", {
|
|
1020
|
-
x:
|
|
1021
|
-
y:
|
|
1078
|
+
x: $.value[n.value].tr.x,
|
|
1079
|
+
y: $.value[n.value].tr.y,
|
|
1022
1080
|
height: "20",
|
|
1023
1081
|
width: "20",
|
|
1024
|
-
fill:
|
|
1025
|
-
style:
|
|
1026
|
-
onClick: u[11] || (u[11] = (a) =>
|
|
1027
|
-
class:
|
|
1028
|
-
}, null, 14,
|
|
1082
|
+
fill: $.value[n.value].tr.fill,
|
|
1083
|
+
style: L(`cursor: pointer; opacity: ${n.value === "TR" ? 1 : 0.2}`),
|
|
1084
|
+
onClick: u[11] || (u[11] = (a) => M("TR")),
|
|
1085
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": n.value !== "TR" })
|
|
1086
|
+
}, null, 14, vl),
|
|
1029
1087
|
v("rect", {
|
|
1030
|
-
x:
|
|
1031
|
-
y:
|
|
1088
|
+
x: $.value[n.value].br.x,
|
|
1089
|
+
y: $.value[n.value].br.y,
|
|
1032
1090
|
height: "20",
|
|
1033
1091
|
width: "20",
|
|
1034
|
-
fill:
|
|
1035
|
-
style:
|
|
1036
|
-
onClick: u[12] || (u[12] = (a) =>
|
|
1037
|
-
class:
|
|
1038
|
-
}, null, 14,
|
|
1092
|
+
fill: $.value[n.value].br.fill,
|
|
1093
|
+
style: L(`cursor: pointer; opacity: ${n.value === "BR" ? 1 : 0.2}`),
|
|
1094
|
+
onClick: u[12] || (u[12] = (a) => M("BR")),
|
|
1095
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": n.value !== "BR" })
|
|
1096
|
+
}, null, 14, dl),
|
|
1039
1097
|
v("rect", {
|
|
1040
|
-
x:
|
|
1041
|
-
y:
|
|
1098
|
+
x: $.value[n.value].bl.x,
|
|
1099
|
+
y: $.value[n.value].bl.y,
|
|
1042
1100
|
height: "20",
|
|
1043
1101
|
width: "20",
|
|
1044
|
-
fill:
|
|
1045
|
-
style:
|
|
1046
|
-
onClick: u[13] || (u[13] = (a) =>
|
|
1047
|
-
class:
|
|
1048
|
-
}, null, 14,
|
|
1102
|
+
fill: $.value[n.value].bl.fill,
|
|
1103
|
+
style: L(`cursor: pointer; opacity: ${n.value === "BL" ? 1 : 0.2}`),
|
|
1104
|
+
onClick: u[13] || (u[13] = (a) => M("BL")),
|
|
1105
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": n.value !== "BL" })
|
|
1106
|
+
}, null, 14, cl),
|
|
1049
1107
|
v("path", {
|
|
1050
1108
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1051
1109
|
stroke: t.value.style.chart.backgroundColor,
|
|
1052
1110
|
"stroke-width": 1,
|
|
1053
|
-
d:
|
|
1054
|
-
}, null, 8,
|
|
1111
|
+
d: $.value[n.value].crosshairs.horizontal
|
|
1112
|
+
}, null, 8, hl),
|
|
1055
1113
|
v("path", {
|
|
1056
1114
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1057
1115
|
stroke: t.value.style.chart.backgroundColor,
|
|
1058
1116
|
"stroke-width": 1,
|
|
1059
|
-
d:
|
|
1060
|
-
}, null, 8,
|
|
1117
|
+
d: $.value[n.value].crosshairs.vertical
|
|
1118
|
+
}, null, 8, yl)
|
|
1061
1119
|
])) : c("", !0),
|
|
1062
|
-
|
|
1063
|
-
], 14,
|
|
1064
|
-
l.$slots.watermark ? (
|
|
1065
|
-
|
|
1120
|
+
_(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1121
|
+
], 14, xt)) : c("", !0),
|
|
1122
|
+
l.$slots.watermark ? (s(), i("div", bl, [
|
|
1123
|
+
_(l.$slots, "watermark", te(le({ isPrinting: y(ce) || y(he) })), void 0, !0)
|
|
1066
1124
|
])) : c("", !0),
|
|
1067
|
-
|
|
1125
|
+
G.value ? c("", !0) : (s(), U(ft, {
|
|
1068
1126
|
key: 4,
|
|
1069
1127
|
config: {
|
|
1070
1128
|
type: "quadrant",
|
|
@@ -1084,29 +1142,29 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
1084
1142
|
}, null, 8, ["config"])),
|
|
1085
1143
|
v("div", {
|
|
1086
1144
|
ref_key: "chartLegend",
|
|
1087
|
-
ref:
|
|
1145
|
+
ref: de
|
|
1088
1146
|
}, [
|
|
1089
|
-
t.value.style.chart.legend.show ? (
|
|
1147
|
+
t.value.style.chart.legend.show ? (s(), U(yt, {
|
|
1090
1148
|
key: 0,
|
|
1091
|
-
legendSet:
|
|
1092
|
-
config:
|
|
1093
|
-
onClickMarker: u[14] || (u[14] = ({ legend: a }) =>
|
|
1149
|
+
legendSet: me.value,
|
|
1150
|
+
config: Re.value,
|
|
1151
|
+
onClickMarker: u[14] || (u[14] = ({ legend: a }) => se(a.id))
|
|
1094
1152
|
}, {
|
|
1095
|
-
item:
|
|
1153
|
+
item: k(({ legend: a }) => [
|
|
1096
1154
|
v("div", {
|
|
1097
1155
|
"data-cy-legend-item": "",
|
|
1098
|
-
onClick: (
|
|
1099
|
-
style:
|
|
1100
|
-
},
|
|
1156
|
+
onClick: (o) => se(a.id),
|
|
1157
|
+
style: L(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
|
|
1158
|
+
}, x(a.name), 13, fl)
|
|
1101
1159
|
]),
|
|
1102
1160
|
_: 1
|
|
1103
|
-
}, 8, ["legendSet", "config"])) :
|
|
1161
|
+
}, 8, ["legendSet", "config"])) : _(l.$slots, "legend", {
|
|
1104
1162
|
key: 1,
|
|
1105
|
-
legend:
|
|
1163
|
+
legend: me.value
|
|
1106
1164
|
}, void 0, !0)
|
|
1107
1165
|
], 512),
|
|
1108
|
-
|
|
1109
|
-
show: w.value.showTooltip &&
|
|
1166
|
+
ee(ht, {
|
|
1167
|
+
show: w.value.showTooltip && Q.value,
|
|
1110
1168
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
1111
1169
|
color: t.value.style.chart.tooltip.color,
|
|
1112
1170
|
borderRadius: t.value.style.chart.tooltip.borderRadius,
|
|
@@ -1117,21 +1175,21 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
1117
1175
|
position: t.value.style.chart.tooltip.position,
|
|
1118
1176
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1119
1177
|
parent: F.value,
|
|
1120
|
-
content:
|
|
1178
|
+
content: oe.value,
|
|
1121
1179
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
1122
1180
|
}, {
|
|
1123
|
-
"tooltip-before":
|
|
1124
|
-
|
|
1181
|
+
"tooltip-before": k(() => [
|
|
1182
|
+
_(l.$slots, "tooltip-before", te(le({ ...re.value })), void 0, !0)
|
|
1125
1183
|
]),
|
|
1126
|
-
"tooltip-after":
|
|
1127
|
-
|
|
1184
|
+
"tooltip-after": k(() => [
|
|
1185
|
+
_(l.$slots, "tooltip-after", te(le({ ...re.value })), void 0, !0)
|
|
1128
1186
|
]),
|
|
1129
|
-
default:
|
|
1130
|
-
t.value.style.chart.tooltip.showShape ? (
|
|
1131
|
-
|
|
1187
|
+
default: k(() => [
|
|
1188
|
+
t.value.style.chart.tooltip.showShape ? (s(), i("svg", pl, [
|
|
1189
|
+
ee(Te, {
|
|
1132
1190
|
plot: { x: 10, y: 10 },
|
|
1133
|
-
shape:
|
|
1134
|
-
color:
|
|
1191
|
+
shape: I.value.shape,
|
|
1192
|
+
color: I.value.color,
|
|
1135
1193
|
radius: 8,
|
|
1136
1194
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1137
1195
|
"stroke-width": t.value.style.chart.layout.plots.outlineWidth
|
|
@@ -1140,7 +1198,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
1140
1198
|
]),
|
|
1141
1199
|
_: 3
|
|
1142
1200
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
1143
|
-
|
|
1201
|
+
G.value ? (s(), U(pt, {
|
|
1144
1202
|
key: 5,
|
|
1145
1203
|
hideDetails: "",
|
|
1146
1204
|
config: {
|
|
@@ -1156,31 +1214,31 @@ const pt = ["id"], gt = ["xmlns", "viewBox", "id"], mt = ["id"], xt = ["stop-col
|
|
|
1156
1214
|
}
|
|
1157
1215
|
}
|
|
1158
1216
|
}, {
|
|
1159
|
-
content:
|
|
1160
|
-
|
|
1161
|
-
colNames:
|
|
1162
|
-
head:
|
|
1163
|
-
body:
|
|
1164
|
-
config:
|
|
1217
|
+
content: k(() => [
|
|
1218
|
+
ee(bt, {
|
|
1219
|
+
colNames: K.value.colNames,
|
|
1220
|
+
head: K.value.head,
|
|
1221
|
+
body: K.value.body,
|
|
1222
|
+
config: K.value.config,
|
|
1165
1223
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1166
1224
|
onClose: u[15] || (u[15] = (a) => w.value.showTable = !1)
|
|
1167
1225
|
}, {
|
|
1168
|
-
th:
|
|
1169
|
-
|
|
1226
|
+
th: k(({ th: a }) => [
|
|
1227
|
+
Ee(x(a), 1)
|
|
1170
1228
|
]),
|
|
1171
|
-
td:
|
|
1229
|
+
td: k(({ td: a }) => [
|
|
1172
1230
|
v("div", {
|
|
1173
1231
|
innerHTML: a.name || a
|
|
1174
|
-
}, null, 8,
|
|
1232
|
+
}, null, 8, gl)
|
|
1175
1233
|
]),
|
|
1176
1234
|
_: 1
|
|
1177
1235
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
1178
1236
|
]),
|
|
1179
1237
|
_: 1
|
|
1180
1238
|
}, 8, ["config"])) : c("", !0)
|
|
1181
|
-
], 14,
|
|
1239
|
+
], 14, mt));
|
|
1182
1240
|
}
|
|
1183
|
-
},
|
|
1241
|
+
}, Yl = /* @__PURE__ */ gt(ml, [["__scopeId", "data-v-7c808761"]]);
|
|
1184
1242
|
export {
|
|
1185
|
-
|
|
1243
|
+
Yl as default
|
|
1186
1244
|
};
|