vue-data-ui 2.4.0 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -54
- package/dist/{Arrow-CbntjQjr.cjs → Arrow-DLTRnzcG.cjs} +1 -1
- package/dist/{Arrow-NcE21Ngm.js → Arrow-JuK2z9IB.js} +1 -1
- package/dist/BaseIcon-BGExhz6v.cjs +1 -0
- package/dist/{BaseIcon-BUTpMnXi.js → BaseIcon-rRli6Sfv.js} +8 -4
- package/dist/{DataTable-BwH-MU-S.cjs → DataTable-DJzhv96s.cjs} +1 -1
- package/dist/{DataTable-DAgyf9zN.js → DataTable-DTk7C4Pr.js} +2 -2
- package/dist/{Legend-DBhpIX2x.js → Legend-CYF2gpXG.js} +23 -17
- package/dist/Legend-YZ7Hz3o1.cjs +1 -0
- package/dist/{PackageVersion-wB6dCDZw.js → PackageVersion-CvCRsT5_.js} +1 -1
- package/dist/{PackageVersion-Djty0wb2.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
- package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
- package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
- package/dist/{Shape-CQVJz33T.js → Shape-BpPn4eWR.js} +1 -1
- package/dist/{Shape-DQ0Hh2Gg.cjs → Shape-X2F-QV_B.cjs} +1 -1
- package/dist/{Slicer-CiSmaE0_.cjs → Slicer-CL0tP5a5.cjs} +1 -1
- package/dist/{Slicer-DXw23eOC.js → Slicer-CU7dRZR0.js} +2 -2
- package/dist/{Title-DlVZnHjs.js → Title-5VmBwT4i.js} +21 -17
- package/dist/Title-Co5jI5ed.cjs +1 -0
- package/dist/{Tooltip-DBzXz806.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
- package/dist/{Tooltip-CveCRFgK.js → Tooltip-Cj4EF7v1.js} +1 -1
- package/dist/documentation/installation.md +10 -9
- package/dist/{index-B0CpCD8z.js → index-DnVHQ2xI.js} +1138 -907
- package/dist/index-FfZRtJ6A.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +101 -20
- package/dist/types/vue-data-ui.d.ts +101 -20
- package/dist/{useNestedProp-DGWP4D-K.js → useNestedProp-Cox0K0Y5.js} +1 -1
- package/dist/{useNestedProp-iuDCMc2p.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
- package/dist/usePrinter-BCAFeO_J.cjs +1 -0
- package/dist/{usePrinter-Dr30K4cu.js → usePrinter-BEeNAqS5.js} +230 -185
- package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
- package/dist/vue-data-ui-W7nnqn0v.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +52 -51
- package/dist/{vue-ui-3d-bar-C3hYrYTV.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
- package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
- package/dist/{vue-ui-accordion-CmENcGVW.js → vue-ui-accordion-DspS4q3f.js} +3 -3
- package/dist/{vue-ui-accordion-Deyo7jw7.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-C075Lvfe.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
- package/dist/{vue-ui-annotator-Bb6fUz4x.js → vue-ui-annotator-BOofWpzv.js} +1 -1
- package/dist/{vue-ui-annotator-DslXalSQ.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
- package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
- package/dist/{vue-ui-candlestick-C4VEOmY_.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
- package/dist/{vue-ui-carousel-table-Coq4gg_P.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DZfMMpZ7.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
- package/dist/{vue-ui-chestnut-CUnbj-Zb.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
- package/dist/{vue-ui-cursor-CtuPho-s.js → vue-ui-cursor-BM74l93B.js} +2 -2
- package/dist/{vue-ui-cursor-B9UvQwLp.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
- package/dist/{vue-ui-dashboard-8gQ1bGCn.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
- package/dist/{vue-ui-dashboard-KMTRqXzR.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
- package/dist/{vue-ui-digits-DSMNN4z_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
- package/dist/{vue-ui-digits-DuEyX8op.js → vue-ui-digits-DioaBnkB.js} +2 -2
- package/dist/vue-ui-donut-CplNylps.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DbojarYN.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
- package/dist/{vue-ui-donut-0xdYBc41.js → vue-ui-donut-ldqSm_JV.js} +345 -321
- package/dist/{vue-ui-dumbbell-BxhWjCvR.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
- package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
- package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
- package/dist/{vue-ui-galaxy-BddgLpP-.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
- package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
- package/dist/{vue-ui-gizmo-hXBWaB0c.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
- package/dist/{vue-ui-gizmo-DRASsqlp.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
- package/dist/{vue-ui-heatmap-B43q8UHu.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
- package/dist/{vue-ui-kpi-_GVnhxEd.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
- package/dist/{vue-ui-kpi-BiJnqtGR.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DVZtFcHw.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-qvtu5jtI.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
- package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
- package/dist/{vue-ui-mood-radar-iZJ0B1Wf.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
- package/dist/{vue-ui-nested-donuts-CovQfZ81.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
- package/dist/{vue-ui-onion-CJb2Pg0t.js → vue-ui-onion-LsEhBe4x.js} +226 -202
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CUA_fFC3.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
- package/dist/{vue-ui-quadrant-IAIp5IZq.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
- package/dist/{vue-ui-quick-chart-Bb2RQ6qI.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
- package/dist/{vue-ui-radar-mIQMBRHx.js → vue-ui-radar-20QhOUer.js} +255 -231
- package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
- package/dist/{vue-ui-rating-BGRWSTGr.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
- package/dist/{vue-ui-rating-DcJb7_bV.js → vue-ui-rating-DRWJsve1.js} +2 -2
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
- package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
- package/dist/{vue-ui-scatter-DiQJtMz1.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
- package/dist/{vue-ui-screenshot-BdnW3WFN.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
- package/dist/{vue-ui-screenshot-QRt5bT48.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
- package/dist/{vue-ui-skeleton-fqwO2mHD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DEv_1TFa.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
- package/dist/{vue-ui-smiley-D-zRYR9g.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
- package/dist/{vue-ui-smiley-BAr3XuJG.js → vue-ui-smiley-ChNvxygm.js} +2 -2
- package/dist/{vue-ui-spark-trend-Br0GTMx_.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CS6jl2aN.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
- package/dist/{vue-ui-sparkbar-tgfbnVYO.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
- package/dist/{vue-ui-sparkbar-N8aFbuJv.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge--hgbxLQS.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CqH25hj7.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-vVRA6Z_l.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Cry2PFGH.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
- package/dist/{vue-ui-sparkline-DXwqMlzQ.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
- package/dist/{vue-ui-sparkline-BZir7JxD.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-Dc6tZvej.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CQjpberv.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
- package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
- package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
- package/dist/{vue-ui-strip-plot-C8dme7tS.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
- package/dist/{vue-ui-table-DGmUNjR_.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
- package/dist/{vue-ui-table-BvbXppa1.js → vue-ui-table-DQORPCDJ.js} +1 -1
- package/dist/{vue-ui-table-heatmap-ccoLJyce.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Ch2UwsIw.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DT5a8gHs.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BZ8faxdR.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
- package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
- package/dist/{vue-ui-timer-CNpKGbIg.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
- package/dist/{vue-ui-timer-DE_m5wxu.js → vue-ui-timer-pi1SazTU.js} +5 -5
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
- package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CVZI3v1Y.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
- package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
- package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
- package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
- package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
- package/dist/{vue-ui-xy-D3TaTkPR.js → vue-ui-xy-CqlRuFMc.js} +775 -751
- package/dist/{vue-ui-xy-canvas-ClETpddw.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
- package/package.json +1 -1
- package/dist/BaseIcon-7IlvRUX2.cjs +0 -1
- package/dist/Legend-CHQgjBuK.cjs +0 -1
- package/dist/Title-BHmTg9iK.cjs +0 -1
- package/dist/index-Dfhvf8hT.cjs +0 -9
- package/dist/usePrinter-BQQasUin.cjs +0 -1
- package/dist/vue-data-ui-BdSFeW_X.js +0 -256
- package/dist/vue-data-ui-BgVPGbxq.cjs +0 -9
- package/dist/vue-ui-3d-bar-DhHuwXZ1.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DaenyRp2.cjs +0 -1
- package/dist/vue-ui-candlestick-CnVzd826.cjs +0 -2
- package/dist/vue-ui-chestnut-CLnJ0jmo.cjs +0 -6
- package/dist/vue-ui-donut-C4ek9m3R.cjs +0 -1
- package/dist/vue-ui-donut-evolution-B4TkwvNq.cjs +0 -1
- package/dist/vue-ui-dumbbell-Cn3spRSv.cjs +0 -9
- package/dist/vue-ui-flow-D00VdtGU.cjs +0 -1
- package/dist/vue-ui-flow-DreN8go4.js +0 -484
- package/dist/vue-ui-galaxy-DVN-S67V.cjs +0 -1
- package/dist/vue-ui-gauge-DYZYFzHP.cjs +0 -1
- package/dist/vue-ui-gauge-DoTctAHq.js +0 -494
- package/dist/vue-ui-heatmap-ldCySJFf.cjs +0 -1
- package/dist/vue-ui-molecule-DP9jhODZ.cjs +0 -1
- package/dist/vue-ui-molecule-Dpu7Xmu5.js +0 -774
- package/dist/vue-ui-mood-radar-BR0INhYL.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CwIsGnyH.cjs +0 -17
- package/dist/vue-ui-onion-DjEChSmi.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-B8Kl6AMk.cjs +0 -8
- package/dist/vue-ui-quadrant-CmdbW8yZ.cjs +0 -1
- package/dist/vue-ui-quick-chart-DcEk6Ho7.cjs +0 -15
- package/dist/vue-ui-radar-TjgO9_LA.cjs +0 -1
- package/dist/vue-ui-relation-circle-f0fKvSSw.js +0 -325
- package/dist/vue-ui-relation-circle-x4sKnxbi.cjs +0 -1
- package/dist/vue-ui-rings-B3mUyyQ9.cjs +0 -2
- package/dist/vue-ui-rings-M1PUv5Wu.js +0 -569
- package/dist/vue-ui-scatter-DF_nobsG.cjs +0 -1
- package/dist/vue-ui-stackbar-BF0M1KJf.js +0 -915
- package/dist/vue-ui-stackbar-BGmTwxvv.cjs +0 -6
- package/dist/vue-ui-strip-plot-DT9Od_To.cjs +0 -1
- package/dist/vue-ui-thermometer-BOs1_H4X.js +0 -416
- package/dist/vue-ui-thermometer-Biv2CIsy.cjs +0 -1
- package/dist/vue-ui-tiremarks-CTMS_E0z.js +0 -279
- package/dist/vue-ui-tiremarks-YU4wuZl3.cjs +0 -1
- package/dist/vue-ui-treemap-5Dm82baA.js +0 -792
- package/dist/vue-ui-treemap-C0E1_DGA.cjs +0 -1
- package/dist/vue-ui-vertical-bar-CVZHDENz.cjs +0 -4
- package/dist/vue-ui-waffle-Bf4epEaH.js +0 -758
- package/dist/vue-ui-waffle-DD09_Fdb.cjs +0 -1
- package/dist/vue-ui-wheel-BybAQ0bR.cjs +0 -1
- package/dist/vue-ui-wheel-DMvZZCzi.js +0 -258
- package/dist/vue-ui-word-cloud-B8hdGDYI.js +0 -574
- package/dist/vue-ui-word-cloud-MQ0kgdPw.cjs +0 -1
- package/dist/vue-ui-xy-B4C0WR56.cjs +0 -3
- package/dist/vue-ui-xy-canvas-qbn0PHMN.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 Ne, onMounted as Je, onBeforeUnmount as je, openBlock as o, createElementBlock as n, normalizeClass as T, normalizeStyle as q, createBlock as N, createCommentVNode as c, unref as y, createSlots as Ze, 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 Ke, nextTick as et } from "vue";
|
|
2
|
+
import { u as tt, c as Pe, t as lt, a as at, p as ve, o as ut, e as F, b as ot, d as st, i as P, f as V, X as rt, s as ae, w as nt, T as it, F as vt, x as dt, y as ct, q as ht, r as yt } from "./index-DnVHQ2xI.js";
|
|
3
|
+
import { t as bt, u as ft } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as pt } from "./Title-5VmBwT4i.js";
|
|
5
|
+
import { u as gt, U as mt } from "./usePrinter-BEeNAqS5.js";
|
|
6
|
+
import { _ as xt } from "./Tooltip-Cj4EF7v1.js";
|
|
7
|
+
import { _ as Ve } from "./Shape-BpPn4eWR.js";
|
|
8
|
+
import { L as $t } from "./Legend-CYF2gpXG.js";
|
|
9
|
+
import { D as kt } from "./DataTable-DTk7C4Pr.js";
|
|
10
|
+
import Lt from "./vue-ui-skeleton-aZmkNzAe.js";
|
|
11
|
+
import wt from "./vue-ui-accordion-DspS4q3f.js";
|
|
12
|
+
import { u as Be } from "./useNestedProp-Cox0K0Y5.js";
|
|
13
|
+
import { _ as _t } from "./PackageVersion-CvCRsT5_.js";
|
|
14
|
+
import { P as qt } from "./PenAndPaper-Jb0pLt3G.js";
|
|
15
|
+
import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const St = ["id"], zt = ["xmlns", "viewBox", "id"], Tt = ["id"], Wt = ["stop-color"], Xt = ["stop-color"], Yt = { key: 0 }, At = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Mt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Nt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Pt = { key: 1 }, Vt = ["points", "fill"], Bt = ["points", "fill"], Ot = ["points", "fill"], Rt = ["points", "fill"], Ft = { key: 2 }, Ht = ["y", "fill", "font-size"], It = ["x", "y", "fill", "font-size"], Dt = ["x", "y", "fill", "font-size"], Et = ["y", "fill", "font-size"], Ut = { key: 3 }, Gt = ["x", "y", "font-size", "fill"], Qt = ["x", "y", "font-size", "fill"], Jt = ["x", "y", "font-size", "fill"], jt = ["id", "font-size", "transform", "fill"], Zt = ["id", "font-size", "transform", "fill"], Kt = ["id", "font-size", "transform", "fill"], el = { key: 4 }, tl = ["fill", "points"], ll = ["x", "y", "width", "height"], al = ["x", "y", "width", "height"], ul = ["x", "y", "width", "height"], ol = ["x", "y", "width", "height"], sl = { key: 0 }, rl = ["x", "y", "font-size", "fill"], nl = { key: 0 }, il = ["x", "y", "onMouseover", "onClick"], vl = {
|
|
16
17
|
key: 7,
|
|
17
18
|
class: "vue-ui-dna"
|
|
18
|
-
},
|
|
19
|
-
key:
|
|
19
|
+
}, dl = ["points", "fill"], cl = ["points", "fill"], hl = ["points", "fill"], yl = ["points", "fill"], bl = { key: 8 }, fl = ["x", "y", "font-size", "fill", "font-weight"], pl = { key: 9 }, gl = ["x", "y", "fill"], ml = ["x", "y", "fill"], xl = ["x", "y", "fill"], $l = ["x", "y", "fill"], kl = ["stroke", "d"], Ll = ["stroke", "d"], wl = {
|
|
20
|
+
key: 4,
|
|
20
21
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
22
|
+
}, _l = ["onClick"], ql = {
|
|
22
23
|
key: 0,
|
|
23
24
|
height: "14",
|
|
24
25
|
width: "14",
|
|
25
26
|
viewBox: "0 0 20 20"
|
|
26
|
-
},
|
|
27
|
+
}, Cl = ["innerHTML"], Sl = {
|
|
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(Oe, { expose: Re, emit: ue }) {
|
|
45
|
+
const W = Oe, { vue_ui_quadrant: Fe } = tt(), J = m(() => !!W.dataset && W.dataset.length), z = h(Pe()), He = h(null), j = h(!1), oe = h(""), de = h(0), p = h(!1), O = h(null), ce = h(null), he = h(null), ye = h(0), be = h(0), fe = h(0), t = m({
|
|
46
|
+
get: () => pe(),
|
|
46
47
|
set: (l) => l
|
|
47
48
|
});
|
|
48
|
-
function
|
|
49
|
-
const l =
|
|
49
|
+
function pe() {
|
|
50
|
+
const l = Be({
|
|
50
51
|
userConfig: W.config,
|
|
51
|
-
defaultConfig:
|
|
52
|
+
defaultConfig: Fe
|
|
52
53
|
});
|
|
53
54
|
return l.theme ? {
|
|
54
|
-
...
|
|
55
|
-
userConfig:
|
|
55
|
+
...Be({
|
|
56
|
+
userConfig: lt.vue_ui_quadrant[l.theme] || W.config,
|
|
56
57
|
defaultConfig: l
|
|
57
58
|
}),
|
|
58
|
-
customPalette:
|
|
59
|
+
customPalette: at[l.theme] || ve
|
|
59
60
|
} : l;
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
-
t.value =
|
|
62
|
+
Ne(() => W.config, (l) => {
|
|
63
|
+
t.value = pe(), ge(), ye.value += 1, be.value += 1, fe.value += 1;
|
|
63
64
|
}, { deep: !0 });
|
|
64
|
-
const
|
|
65
|
-
function
|
|
66
|
-
if (
|
|
65
|
+
const Z = h(null);
|
|
66
|
+
function ge() {
|
|
67
|
+
if (ut(W.dataset) ? F({
|
|
67
68
|
componentName: "VueUiQuadrant",
|
|
68
69
|
type: "dataset"
|
|
69
70
|
}) : W.dataset.forEach((l, u) => {
|
|
@@ -87,26 +88,26 @@ 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 = bt(() => {
|
|
92
|
+
const { width: u, height: a } = ft({
|
|
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
|
|
95
96
|
});
|
|
96
97
|
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
98
|
});
|
|
98
|
-
|
|
99
|
+
Z.value = new ResizeObserver(l), Z.value.observe(O.value.parentNode);
|
|
99
100
|
}
|
|
100
101
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}),
|
|
104
|
-
|
|
102
|
+
Je(() => {
|
|
103
|
+
ge();
|
|
104
|
+
}), je(() => {
|
|
105
|
+
Z.value && Z.value.disconnect();
|
|
105
106
|
});
|
|
106
|
-
const { isPrinting:
|
|
107
|
+
const { isPrinting: me, isImaging: xe, generatePdf: $e, generateImage: ke } = gt({
|
|
107
108
|
elementId: `vue-ui-quadrant_${z.value}`,
|
|
108
109
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant"
|
|
109
|
-
}),
|
|
110
|
+
}), Le = m(() => ot(t.value.customPalette)), w = h({
|
|
110
111
|
plotLabels: {
|
|
111
112
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
112
113
|
},
|
|
@@ -129,7 +130,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
129
130
|
startX: 0,
|
|
130
131
|
startY: 0
|
|
131
132
|
});
|
|
132
|
-
|
|
133
|
+
Ne(() => e.value, (l) => {
|
|
133
134
|
l && (d.value = {
|
|
134
135
|
...JSON.parse(JSON.stringify(e.value)),
|
|
135
136
|
startX: 0,
|
|
@@ -177,7 +178,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
177
178
|
default:
|
|
178
179
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
179
180
|
}
|
|
180
|
-
}),
|
|
181
|
+
}), Ie = h(null), K = h(!1);
|
|
181
182
|
function H({ targetX: l, targetY: u, targetW: a, targetH: s, side: r }) {
|
|
182
183
|
i.value && E(r);
|
|
183
184
|
const b = {
|
|
@@ -187,13 +188,13 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
187
188
|
h: s - d.value.height
|
|
188
189
|
}, f = t.value.zoomAnimationFrames;
|
|
189
190
|
let X = 0;
|
|
190
|
-
function
|
|
191
|
-
|
|
191
|
+
function Me() {
|
|
192
|
+
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 ? Ie.value = requestAnimationFrame(Me) : K.value = !1;
|
|
192
193
|
}
|
|
193
|
-
|
|
194
|
+
Me();
|
|
194
195
|
}
|
|
195
|
-
function
|
|
196
|
-
if (!
|
|
196
|
+
function A(l) {
|
|
197
|
+
if (!K.value)
|
|
197
198
|
if (p.value && i.value === l)
|
|
198
199
|
H({
|
|
199
200
|
targetX: 0,
|
|
@@ -246,7 +247,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
246
247
|
p.value = !0;
|
|
247
248
|
}
|
|
248
249
|
}
|
|
249
|
-
const
|
|
250
|
+
const De = m(() => {
|
|
250
251
|
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, s = [];
|
|
251
252
|
for (let r = 0; r < l; r += 1)
|
|
252
253
|
s.push({
|
|
@@ -257,7 +258,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
257
258
|
opacity: Math.round((r + 1) / l * 20)
|
|
258
259
|
});
|
|
259
260
|
return s;
|
|
260
|
-
}),
|
|
261
|
+
}), _ = m(() => {
|
|
261
262
|
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
263
|
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
264
|
x: {
|
|
@@ -269,25 +270,25 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
269
270
|
min: s
|
|
270
271
|
}
|
|
271
272
|
};
|
|
272
|
-
}),
|
|
273
|
+
}), M = h([]), R = m(() => W.dataset.map((l, u) => ({
|
|
273
274
|
...l,
|
|
274
275
|
id: `cat_${u}_${z.value}`,
|
|
275
|
-
color:
|
|
276
|
-
}))),
|
|
276
|
+
color: st(l.color) || Le.value[u] || ve[u]
|
|
277
|
+
}))), Ee = m(() => R.value.filter((l) => !M.value.includes(l.id))), Ue = m(() => R.value.map((l, u) => ({
|
|
277
278
|
...l,
|
|
278
279
|
shape: l.shape || "circle",
|
|
279
280
|
series: l.series.map((a) => ({
|
|
280
281
|
...a,
|
|
281
|
-
x:
|
|
282
|
-
y:
|
|
282
|
+
x: we(a.x),
|
|
283
|
+
y: _e(a.y),
|
|
283
284
|
xValue: a.x,
|
|
284
285
|
yValue: a.y,
|
|
285
|
-
quadrantSide:
|
|
286
|
+
quadrantSide: Ce({ x: a.x, y: a.y }),
|
|
286
287
|
categoryName: l.name,
|
|
287
288
|
shape: l.shape,
|
|
288
289
|
color: l.color
|
|
289
290
|
}))
|
|
290
|
-
}))),
|
|
291
|
+
}))), S = m(() => (W.dataset.forEach((l, u) => {
|
|
291
292
|
l.series.forEach((a, s) => {
|
|
292
293
|
[null, void 0].includes(a.x) && F({
|
|
293
294
|
componentName: "VueUiQuadrant",
|
|
@@ -303,43 +304,43 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
303
304
|
index: s
|
|
304
305
|
});
|
|
305
306
|
});
|
|
306
|
-
}),
|
|
307
|
+
}), Ee.value.map((l, u) => ({
|
|
307
308
|
...l,
|
|
308
309
|
shape: l.shape || "circle",
|
|
309
|
-
color: l.color ||
|
|
310
|
+
color: l.color || Le.value[u] || ve[u],
|
|
310
311
|
series: l.series.map((a) => ({
|
|
311
312
|
...a,
|
|
312
|
-
x:
|
|
313
|
-
y:
|
|
313
|
+
x: we(a.x),
|
|
314
|
+
y: _e(a.y),
|
|
314
315
|
xValue: a.x,
|
|
315
316
|
yValue: a.y,
|
|
316
|
-
quadrantSide:
|
|
317
|
+
quadrantSide: Ce({ x: a.x, y: a.y }),
|
|
317
318
|
categoryName: l.name,
|
|
318
319
|
shape: l.shape,
|
|
319
320
|
color: l.color,
|
|
320
|
-
uid:
|
|
321
|
+
uid: Pe()
|
|
321
322
|
}))
|
|
322
323
|
}))));
|
|
323
|
-
function
|
|
324
|
+
function we(l) {
|
|
324
325
|
if (l >= 0) {
|
|
325
|
-
const u = l /
|
|
326
|
+
const u = l / _.value.x.max;
|
|
326
327
|
return e.value.centerX + e.value.usableWidth / 2 * u;
|
|
327
328
|
} else {
|
|
328
|
-
const u = Math.abs(l) / Math.abs(
|
|
329
|
+
const u = Math.abs(l) / Math.abs(_.value.x.min);
|
|
329
330
|
return e.value.centerX - e.value.usableWidth / 2 * u;
|
|
330
331
|
}
|
|
331
332
|
}
|
|
332
|
-
function
|
|
333
|
+
function _e(l) {
|
|
333
334
|
if (l >= 0) {
|
|
334
|
-
const u = l /
|
|
335
|
+
const u = l / _.value.y.max;
|
|
335
336
|
return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
|
|
336
337
|
} else {
|
|
337
|
-
const u = Math.abs(l) / Math.abs(
|
|
338
|
+
const u = Math.abs(l) / Math.abs(_.value.y.min);
|
|
338
339
|
return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
|
|
339
340
|
}
|
|
340
341
|
}
|
|
341
|
-
const
|
|
342
|
-
const l =
|
|
342
|
+
const ee = m(() => {
|
|
343
|
+
const l = S.value.flatMap((f) => f.series.map((X) => ({
|
|
343
344
|
x: X.xValue,
|
|
344
345
|
y: X.yValue,
|
|
345
346
|
name: X.name,
|
|
@@ -353,15 +354,15 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
353
354
|
color: f.color
|
|
354
355
|
}));
|
|
355
356
|
return { head: s, body: r, itsShapes: b, tableData: l };
|
|
356
|
-
}),
|
|
357
|
-
const l =
|
|
357
|
+
}), te = m(() => {
|
|
358
|
+
const l = ee.value.head, u = ee.value.tableData.map((s) => [
|
|
358
359
|
{
|
|
359
360
|
shape: s.shape,
|
|
360
361
|
color: s.color,
|
|
361
362
|
name: s.category
|
|
362
363
|
},
|
|
363
364
|
s.name,
|
|
364
|
-
|
|
365
|
+
P(
|
|
365
366
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
366
367
|
s.x,
|
|
367
368
|
V({
|
|
@@ -369,7 +370,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
369
370
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
370
371
|
})
|
|
371
372
|
),
|
|
372
|
-
|
|
373
|
+
P(
|
|
373
374
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
374
375
|
s.y,
|
|
375
376
|
V({
|
|
@@ -393,20 +394,20 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
393
394
|
};
|
|
394
395
|
return { head: l, body: u, config: a, colNames: l };
|
|
395
396
|
});
|
|
396
|
-
function
|
|
397
|
-
|
|
398
|
-
const u =
|
|
399
|
-
|
|
397
|
+
function se(l) {
|
|
398
|
+
M.value.includes(l) ? M.value = M.value.filter((a) => a !== l) : M.value.push(l);
|
|
399
|
+
const u = Te();
|
|
400
|
+
ue("selectLegend", u);
|
|
400
401
|
}
|
|
401
|
-
const
|
|
402
|
+
const qe = m(() => Ue.value.map((l) => ({
|
|
402
403
|
name: l.name,
|
|
403
404
|
shape: l.shape,
|
|
404
405
|
color: l.color,
|
|
405
406
|
id: l.id,
|
|
406
|
-
opacity:
|
|
407
|
-
segregate: () =>
|
|
408
|
-
isSegregated:
|
|
409
|
-
}))),
|
|
407
|
+
opacity: M.value.includes(l.id) ? 0.5 : 1,
|
|
408
|
+
segregate: () => se(l.id),
|
|
409
|
+
isSegregated: M.value.includes(l.id)
|
|
410
|
+
}))), Ge = m(() => ({
|
|
410
411
|
cy: "quadrant-div-legend",
|
|
411
412
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
412
413
|
color: t.value.style.chart.legend.color,
|
|
@@ -414,7 +415,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
414
415
|
paddingBottom: 12,
|
|
415
416
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
416
417
|
}));
|
|
417
|
-
function
|
|
418
|
+
function Ce(l) {
|
|
418
419
|
switch (!0) {
|
|
419
420
|
case (l.x >= 0 && l.y >= 0):
|
|
420
421
|
return "tr";
|
|
@@ -428,33 +429,33 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
428
429
|
return "";
|
|
429
430
|
}
|
|
430
431
|
}
|
|
431
|
-
const I = h(null), D = h(null),
|
|
432
|
-
function
|
|
432
|
+
const I = h(null), D = h(null), re = h(null);
|
|
433
|
+
function Se(l, u, a) {
|
|
433
434
|
I.value = u.uid, D.value = {
|
|
434
435
|
color: l.color,
|
|
435
436
|
shape: l.shape
|
|
436
|
-
},
|
|
437
|
+
}, re.value = {
|
|
437
438
|
datapoint: u,
|
|
438
439
|
seriesIndex: a,
|
|
439
|
-
series:
|
|
440
|
+
series: S.value,
|
|
440
441
|
config: t.value
|
|
441
|
-
},
|
|
442
|
+
}, j.value = !0;
|
|
442
443
|
const s = t.value.style.chart.tooltip.customFormat;
|
|
443
|
-
if (
|
|
444
|
+
if (dt(s) && ct(() => s({
|
|
444
445
|
seriesIndex: a,
|
|
445
446
|
datapoint: u,
|
|
446
|
-
series:
|
|
447
|
+
series: S.value,
|
|
447
448
|
config: t.value
|
|
448
449
|
})))
|
|
449
|
-
|
|
450
|
+
oe.value = s({
|
|
450
451
|
seriesIndex: a,
|
|
451
452
|
datapoint: u,
|
|
452
|
-
series:
|
|
453
|
+
series: S.value,
|
|
453
454
|
config: t.value
|
|
454
455
|
});
|
|
455
456
|
else {
|
|
456
457
|
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>${
|
|
458
|
+
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
459
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
459
460
|
u.xValue,
|
|
460
461
|
V({
|
|
@@ -462,7 +463,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
462
463
|
r: t.value.style.chart.tooltip.roundingValue
|
|
463
464
|
}),
|
|
464
465
|
{ 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>${
|
|
466
|
+
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${P(
|
|
466
467
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
467
468
|
u.yValue,
|
|
468
469
|
V({
|
|
@@ -470,10 +471,10 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
470
471
|
r: t.value.style.chart.tooltip.roundingValue
|
|
471
472
|
}),
|
|
472
473
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
473
|
-
)}</b></div>`,
|
|
474
|
+
)}</b></div>`, oe.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
|
-
function
|
|
477
|
+
function ze(l, u) {
|
|
477
478
|
const a = {
|
|
478
479
|
category: l.name,
|
|
479
480
|
shape: l.shape,
|
|
@@ -483,11 +484,11 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
483
484
|
quadrantSide: u.quadrantSide,
|
|
484
485
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text
|
|
485
486
|
};
|
|
486
|
-
|
|
487
|
+
ue("selectPlot", a);
|
|
487
488
|
}
|
|
488
489
|
function E(l) {
|
|
489
490
|
if (!l) return;
|
|
490
|
-
const u =
|
|
491
|
+
const u = S.value.flatMap((s) => s.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
491
492
|
category: r.categoryName,
|
|
492
493
|
itemName: r.name,
|
|
493
494
|
x: r.xValue,
|
|
@@ -497,9 +498,9 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
497
498
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
498
499
|
items: [...u]
|
|
499
500
|
};
|
|
500
|
-
|
|
501
|
+
ue("selectSide", a);
|
|
501
502
|
}
|
|
502
|
-
const
|
|
503
|
+
const k = m(() => ({
|
|
503
504
|
TL: {
|
|
504
505
|
tl: {
|
|
505
506
|
x: e.value.left + e.value.usableWidth / 4 - 20,
|
|
@@ -605,8 +606,8 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
605
606
|
}
|
|
606
607
|
}
|
|
607
608
|
}));
|
|
608
|
-
function
|
|
609
|
-
return
|
|
609
|
+
function Te() {
|
|
610
|
+
return S.value.map((l) => ({
|
|
610
611
|
color: l.color,
|
|
611
612
|
name: l.name,
|
|
612
613
|
shape: l.shape,
|
|
@@ -619,48 +620,61 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
619
620
|
}))
|
|
620
621
|
}));
|
|
621
622
|
}
|
|
622
|
-
function
|
|
623
|
-
|
|
624
|
-
const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u =
|
|
625
|
-
|
|
623
|
+
function We() {
|
|
624
|
+
et(() => {
|
|
625
|
+
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 = ht(s);
|
|
626
|
+
yt({ csvContent: r, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
626
627
|
});
|
|
627
628
|
}
|
|
628
629
|
const U = h(!1);
|
|
629
|
-
function
|
|
630
|
-
U.value = l,
|
|
630
|
+
function Qe(l) {
|
|
631
|
+
U.value = l, de.value += 1;
|
|
631
632
|
}
|
|
632
|
-
function
|
|
633
|
-
|
|
633
|
+
function Xe() {
|
|
634
|
+
w.value.showTable = !w.value.showTable;
|
|
634
635
|
}
|
|
635
|
-
function
|
|
636
|
-
|
|
636
|
+
function Ye() {
|
|
637
|
+
w.value.plotLabels.show = !w.value.plotLabels.show;
|
|
637
638
|
}
|
|
638
|
-
function
|
|
639
|
-
|
|
639
|
+
function Ae() {
|
|
640
|
+
w.value.showTooltip = !w.value.showTooltip;
|
|
641
|
+
}
|
|
642
|
+
const le = h(!1);
|
|
643
|
+
function ne() {
|
|
644
|
+
le.value = !le.value;
|
|
640
645
|
}
|
|
641
|
-
return
|
|
642
|
-
getData:
|
|
643
|
-
generatePdf:
|
|
644
|
-
generateCsv:
|
|
645
|
-
generateImage:
|
|
646
|
-
toggleTable:
|
|
647
|
-
toggleLabels:
|
|
648
|
-
toggleTooltip:
|
|
646
|
+
return Re({
|
|
647
|
+
getData: Te,
|
|
648
|
+
generatePdf: $e,
|
|
649
|
+
generateCsv: We,
|
|
650
|
+
generateImage: ke,
|
|
651
|
+
toggleTable: Xe,
|
|
652
|
+
toggleLabels: Ye,
|
|
653
|
+
toggleTooltip: Ae,
|
|
654
|
+
toggleAnnotator: ne
|
|
649
655
|
}), (l, u) => (o(), n("div", {
|
|
650
656
|
class: T(`vue-ui-quadrant ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
651
657
|
ref_key: "quadrantChart",
|
|
652
658
|
ref: O,
|
|
653
659
|
id: `vue-ui-quadrant_${z.value}`,
|
|
654
|
-
style:
|
|
660
|
+
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
661
|
}, [
|
|
656
|
-
t.value.
|
|
662
|
+
t.value.userOptions.buttons.annotator ? (o(), N(qt, {
|
|
657
663
|
key: 0,
|
|
664
|
+
parent: O.value,
|
|
665
|
+
backgroundColor: t.value.style.chart.backgroundColor,
|
|
666
|
+
color: t.value.style.chart.color,
|
|
667
|
+
active: le.value,
|
|
668
|
+
onClose: ne
|
|
669
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
670
|
+
t.value.style.chart.title.text ? (o(), n("div", {
|
|
671
|
+
key: 1,
|
|
658
672
|
ref_key: "chartTitle",
|
|
659
|
-
ref:
|
|
673
|
+
ref: ce,
|
|
660
674
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
661
675
|
}, [
|
|
662
|
-
(o(),
|
|
663
|
-
key: `table_${
|
|
676
|
+
(o(), N(pt, {
|
|
677
|
+
key: `table_${ye.value}`,
|
|
664
678
|
config: {
|
|
665
679
|
title: {
|
|
666
680
|
cy: "quadrant-title",
|
|
@@ -673,14 +687,14 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
673
687
|
}
|
|
674
688
|
}, null, 8, ["config"]))
|
|
675
689
|
], 512)) : c("", !0),
|
|
676
|
-
t.value.userOptions.show &&
|
|
690
|
+
t.value.userOptions.show && J.value ? (o(), N(mt, {
|
|
677
691
|
ref_key: "details",
|
|
678
|
-
ref:
|
|
679
|
-
key: `user_options_${
|
|
692
|
+
ref: He,
|
|
693
|
+
key: `user_options_${de.value}`,
|
|
680
694
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
681
695
|
color: t.value.style.chart.color,
|
|
682
|
-
isImaging: y(
|
|
683
|
-
isPrinting: y(
|
|
696
|
+
isImaging: y(xe),
|
|
697
|
+
isPrinting: y(me),
|
|
684
698
|
uid: z.value,
|
|
685
699
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
686
700
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
@@ -690,79 +704,89 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
690
704
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
691
705
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
692
706
|
isFullscreen: U.value,
|
|
693
|
-
isTooltip:
|
|
707
|
+
isTooltip: w.value.showTooltip,
|
|
694
708
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
695
709
|
chartElement: O.value,
|
|
696
710
|
position: t.value.userOptions.position,
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
711
|
+
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
712
|
+
isAnnotation: le.value,
|
|
713
|
+
onToggleFullscreen: Qe,
|
|
714
|
+
onGeneratePdf: y($e),
|
|
715
|
+
onGenerateCsv: We,
|
|
716
|
+
onGenerateImage: y(ke),
|
|
717
|
+
onToggleTable: Xe,
|
|
718
|
+
onToggleLabels: Ye,
|
|
719
|
+
onToggleTooltip: Ae,
|
|
720
|
+
onToggleAnnotator: ne
|
|
721
|
+
}, Ze({ _: 2 }, [
|
|
705
722
|
l.$slots.optionTooltip ? {
|
|
706
723
|
name: "optionTooltip",
|
|
707
|
-
fn:
|
|
708
|
-
|
|
724
|
+
fn: x(() => [
|
|
725
|
+
L(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
709
726
|
]),
|
|
710
727
|
key: "0"
|
|
711
728
|
} : void 0,
|
|
712
729
|
l.$slots.optionPdf ? {
|
|
713
730
|
name: "optionPdf",
|
|
714
|
-
fn:
|
|
715
|
-
|
|
731
|
+
fn: x(() => [
|
|
732
|
+
L(l.$slots, "optionPdf", {}, void 0, !0)
|
|
716
733
|
]),
|
|
717
734
|
key: "1"
|
|
718
735
|
} : void 0,
|
|
719
736
|
l.$slots.optionCsv ? {
|
|
720
737
|
name: "optionCsv",
|
|
721
|
-
fn:
|
|
722
|
-
|
|
738
|
+
fn: x(() => [
|
|
739
|
+
L(l.$slots, "optionCsv", {}, void 0, !0)
|
|
723
740
|
]),
|
|
724
741
|
key: "2"
|
|
725
742
|
} : void 0,
|
|
726
743
|
l.$slots.optionImg ? {
|
|
727
744
|
name: "optionImg",
|
|
728
|
-
fn:
|
|
729
|
-
|
|
745
|
+
fn: x(() => [
|
|
746
|
+
L(l.$slots, "optionImg", {}, void 0, !0)
|
|
730
747
|
]),
|
|
731
748
|
key: "3"
|
|
732
749
|
} : void 0,
|
|
733
750
|
l.$slots.optionTable ? {
|
|
734
751
|
name: "optionTable",
|
|
735
|
-
fn:
|
|
736
|
-
|
|
752
|
+
fn: x(() => [
|
|
753
|
+
L(l.$slots, "optionTable", {}, void 0, !0)
|
|
737
754
|
]),
|
|
738
755
|
key: "4"
|
|
739
756
|
} : void 0,
|
|
740
757
|
l.$slots.optionLabels ? {
|
|
741
758
|
name: "optionLabels",
|
|
742
|
-
fn:
|
|
743
|
-
|
|
759
|
+
fn: x(() => [
|
|
760
|
+
L(l.$slots, "optionLabels", {}, void 0, !0)
|
|
744
761
|
]),
|
|
745
762
|
key: "5"
|
|
746
763
|
} : void 0,
|
|
747
764
|
l.$slots.optionFullscreen ? {
|
|
748
765
|
name: "optionFullscreen",
|
|
749
|
-
fn:
|
|
750
|
-
|
|
766
|
+
fn: x(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
767
|
+
L(l.$slots, "optionFullscreen", G(Q({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
751
768
|
]),
|
|
752
769
|
key: "6"
|
|
770
|
+
} : void 0,
|
|
771
|
+
l.$slots.optionAnnotator ? {
|
|
772
|
+
name: "optionAnnotator",
|
|
773
|
+
fn: x(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
774
|
+
L(l.$slots, "optionAnnotator", G(Q({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
775
|
+
]),
|
|
776
|
+
key: "7"
|
|
753
777
|
} : 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(
|
|
778
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
779
|
+
J.value ? (o(), n("svg", {
|
|
780
|
+
key: 3,
|
|
781
|
+
xmlns: y(rt),
|
|
758
782
|
class: T({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
759
783
|
viewBox: `${d.value.startX} ${d.value.startY} ${d.value.width} ${d.value.height}`,
|
|
760
|
-
style:
|
|
784
|
+
style: q(`max-width:100%;overflow:${p.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
|
|
761
785
|
id: `svg_${z.value}`
|
|
762
786
|
}, [
|
|
763
|
-
|
|
787
|
+
ie(_t),
|
|
764
788
|
v("defs", null, [
|
|
765
|
-
(o(!0), n(
|
|
789
|
+
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("radialGradient", {
|
|
766
790
|
cx: "50%",
|
|
767
791
|
cy: "50%",
|
|
768
792
|
r: "50%",
|
|
@@ -772,17 +796,17 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
772
796
|
}, [
|
|
773
797
|
v("stop", {
|
|
774
798
|
offset: "0%",
|
|
775
|
-
"stop-color": y(
|
|
776
|
-
}, null, 8,
|
|
799
|
+
"stop-color": y(ae)(y(nt)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
|
|
800
|
+
}, null, 8, Wt),
|
|
777
801
|
v("stop", {
|
|
778
802
|
offset: "100%",
|
|
779
|
-
"stop-color": y(
|
|
780
|
-
}, null, 8,
|
|
781
|
-
], 8,
|
|
803
|
+
"stop-color": y(ae)(a.color, t.value.style.chart.layout.areas.opacity)
|
|
804
|
+
}, null, 8, Xt)
|
|
805
|
+
], 8, Tt))), 256))
|
|
782
806
|
]),
|
|
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(
|
|
807
|
+
t.value.style.chart.layout.grid.graduations.show ? (o(), n("g", Yt, [
|
|
808
|
+
(o(!0), n(C, null, Y(De.value, (a) => (o(), n("rect", {
|
|
809
|
+
fill: t.value.style.chart.layout.grid.graduations.fill ? y(ae)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
786
810
|
x: a.x,
|
|
787
811
|
y: a.y,
|
|
788
812
|
height: a.height <= 0 ? 1e-3 : a.height,
|
|
@@ -790,7 +814,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
790
814
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
791
815
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
792
816
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
793
|
-
}, null, 8,
|
|
817
|
+
}, null, 8, At))), 256))
|
|
794
818
|
])) : c("", !0),
|
|
795
819
|
v("line", {
|
|
796
820
|
x1: e.value.left,
|
|
@@ -799,7 +823,7 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
799
823
|
y2: e.value.centerY,
|
|
800
824
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
801
825
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
802
|
-
}, null, 8,
|
|
826
|
+
}, null, 8, Mt),
|
|
803
827
|
v("line", {
|
|
804
828
|
x1: e.value.centerX,
|
|
805
829
|
y1: e.value.top,
|
|
@@ -807,30 +831,30 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
807
831
|
y2: e.value.bottom,
|
|
808
832
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
809
833
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
810
|
-
}, null, 8,
|
|
811
|
-
t.value.style.chart.layout.grid.showArrows ? (o(), n("g",
|
|
834
|
+
}, null, 8, Nt),
|
|
835
|
+
t.value.style.chart.layout.grid.showArrows ? (o(), n("g", Pt, [
|
|
812
836
|
v("polygon", {
|
|
813
837
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
814
838
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
815
839
|
stroke: "none"
|
|
816
|
-
}, null, 8,
|
|
840
|
+
}, null, 8, Vt),
|
|
817
841
|
v("polygon", {
|
|
818
842
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
819
843
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
820
844
|
stroke: "none"
|
|
821
|
-
}, null, 8,
|
|
845
|
+
}, null, 8, Bt),
|
|
822
846
|
v("polygon", {
|
|
823
847
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
824
848
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
825
849
|
stroke: "none"
|
|
826
|
-
}, null, 8,
|
|
850
|
+
}, null, 8, Ot),
|
|
827
851
|
v("polygon", {
|
|
828
852
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
829
853
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
830
854
|
stroke: "none"
|
|
831
|
-
}, null, 8,
|
|
855
|
+
}, null, 8, Rt)
|
|
832
856
|
])) : c("", !0),
|
|
833
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g",
|
|
857
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g", Ft, [
|
|
834
858
|
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (o(), n("text", {
|
|
835
859
|
key: 0,
|
|
836
860
|
x: 0,
|
|
@@ -838,9 +862,9 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
838
862
|
"text-anchor": "start",
|
|
839
863
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
840
864
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
841
|
-
style:
|
|
865
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
842
866
|
onClick: u[0] || (u[0] = (a) => E("tl"))
|
|
843
|
-
},
|
|
867
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, Ht)) : c("", !0),
|
|
844
868
|
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (o(), n("text", {
|
|
845
869
|
key: 1,
|
|
846
870
|
x: e.value.width,
|
|
@@ -848,9 +872,9 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
848
872
|
"text-anchor": "end",
|
|
849
873
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
850
874
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
851
|
-
style:
|
|
875
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
852
876
|
onClick: u[1] || (u[1] = (a) => E("tr"))
|
|
853
|
-
},
|
|
877
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, It)) : c("", !0),
|
|
854
878
|
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (o(), n("text", {
|
|
855
879
|
key: 2,
|
|
856
880
|
x: e.value.width,
|
|
@@ -858,9 +882,9 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
858
882
|
"text-anchor": "end",
|
|
859
883
|
fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
860
884
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
861
|
-
style:
|
|
885
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
862
886
|
onClick: u[2] || (u[2] = (a) => E("br"))
|
|
863
|
-
},
|
|
887
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Dt)) : c("", !0),
|
|
864
888
|
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (o(), n("text", {
|
|
865
889
|
key: 3,
|
|
866
890
|
x: 0,
|
|
@@ -868,154 +892,154 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
868
892
|
"text-anchor": "start",
|
|
869
893
|
fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
870
894
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
871
|
-
style:
|
|
895
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
872
896
|
onClick: u[3] || (u[3] = (a) => E("bl"))
|
|
873
|
-
},
|
|
897
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Et)) : c("", !0)
|
|
874
898
|
])) : c("", !0),
|
|
875
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g",
|
|
899
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g", Ut, [
|
|
876
900
|
v("text", {
|
|
877
901
|
x: e.value.centerX,
|
|
878
902
|
y: e.value.top - e.value.padding / 6,
|
|
879
903
|
"text-anchor": "middle",
|
|
880
904
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
881
905
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
882
|
-
},
|
|
906
|
+
}, $(y(P)(
|
|
883
907
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
884
|
-
|
|
908
|
+
_.value.y.max,
|
|
885
909
|
y(V)({
|
|
886
|
-
v:
|
|
910
|
+
v: _.value.y.max,
|
|
887
911
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
888
912
|
})
|
|
889
|
-
)), 9,
|
|
913
|
+
)), 9, Gt),
|
|
890
914
|
v("text", {
|
|
891
915
|
x: e.value.centerX,
|
|
892
916
|
y: e.value.top - e.value.padding / 2,
|
|
893
917
|
"text-anchor": "middle",
|
|
894
918
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
895
919
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
896
|
-
},
|
|
920
|
+
}, $(t.value.style.chart.layout.grid.yAxis.name), 9, Qt),
|
|
897
921
|
v("text", {
|
|
898
922
|
x: e.value.centerX,
|
|
899
923
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
900
924
|
"text-anchor": "middle",
|
|
901
925
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
902
926
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
903
|
-
},
|
|
927
|
+
}, $(y(P)(
|
|
904
928
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
905
|
-
|
|
929
|
+
_.value.y.min,
|
|
906
930
|
y(V)({
|
|
907
|
-
v:
|
|
931
|
+
v: _.value.y.min,
|
|
908
932
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
909
933
|
})
|
|
910
|
-
)), 9,
|
|
934
|
+
)), 9, Jt),
|
|
911
935
|
v("text", {
|
|
912
936
|
id: `xLabelMin_${z.value}`,
|
|
913
937
|
"text-anchor": "middle",
|
|
914
938
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
915
939
|
transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
|
|
916
940
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
917
|
-
},
|
|
941
|
+
}, $(y(P)(
|
|
918
942
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
919
|
-
|
|
943
|
+
_.value.x.min,
|
|
920
944
|
y(V)({
|
|
921
|
-
v:
|
|
945
|
+
v: _.value.x.min,
|
|
922
946
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
923
947
|
})
|
|
924
|
-
)), 9,
|
|
948
|
+
)), 9, jt),
|
|
925
949
|
v("text", {
|
|
926
950
|
id: `xLabelMax_${z.value}`,
|
|
927
951
|
"text-anchor": "middle",
|
|
928
952
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
929
953
|
transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
930
954
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
931
|
-
},
|
|
955
|
+
}, $(y(P)(
|
|
932
956
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
933
|
-
|
|
957
|
+
_.value.x.max,
|
|
934
958
|
y(V)({
|
|
935
|
-
v:
|
|
959
|
+
v: _.value.x.max,
|
|
936
960
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
937
961
|
})
|
|
938
|
-
)), 9,
|
|
962
|
+
)), 9, Zt),
|
|
939
963
|
v("text", {
|
|
940
964
|
id: `xLabelMaxName_${z.value}`,
|
|
941
965
|
"text-anchor": "middle",
|
|
942
966
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
943
967
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
944
968
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
945
|
-
},
|
|
969
|
+
}, $(t.value.style.chart.layout.grid.xAxis.name), 9, Kt)
|
|
946
970
|
])) : c("", !0),
|
|
947
|
-
t.value.style.chart.layout.areas.show ? (o(), n("g",
|
|
948
|
-
(o(!0), n(
|
|
971
|
+
t.value.style.chart.layout.areas.show ? (o(), n("g", el, [
|
|
972
|
+
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("g", null, [
|
|
949
973
|
a.series.length > 2 ? (o(), n("polygon", {
|
|
950
974
|
key: 0,
|
|
951
975
|
"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,
|
|
976
|
+
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),
|
|
977
|
+
points: y(it)(a)
|
|
978
|
+
}, null, 8, tl)) : c("", !0)
|
|
955
979
|
]))), 256))
|
|
956
980
|
])) : c("", !0),
|
|
957
981
|
v("g", null, [
|
|
958
982
|
v("rect", {
|
|
959
|
-
onClick: u[4] || (u[4] = (a) =>
|
|
983
|
+
onClick: u[4] || (u[4] = (a) => A("TL")),
|
|
960
984
|
x: e.value.left,
|
|
961
985
|
y: e.value.top,
|
|
962
986
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
963
987
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
964
988
|
fill: "transparent",
|
|
965
989
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
966
|
-
}, null, 10,
|
|
990
|
+
}, null, 10, ll),
|
|
967
991
|
v("rect", {
|
|
968
|
-
onClick: u[5] || (u[5] = (a) =>
|
|
992
|
+
onClick: u[5] || (u[5] = (a) => A("TR")),
|
|
969
993
|
x: e.value.centerX,
|
|
970
994
|
y: e.value.top,
|
|
971
995
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
972
996
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
973
997
|
fill: "transparent",
|
|
974
998
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
975
|
-
}, null, 10,
|
|
999
|
+
}, null, 10, al),
|
|
976
1000
|
v("rect", {
|
|
977
|
-
onClick: u[6] || (u[6] = (a) =>
|
|
1001
|
+
onClick: u[6] || (u[6] = (a) => A("BR")),
|
|
978
1002
|
x: e.value.centerX,
|
|
979
1003
|
y: e.value.centerY,
|
|
980
1004
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
981
1005
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
982
1006
|
fill: "transparent",
|
|
983
1007
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
984
|
-
}, null, 10,
|
|
1008
|
+
}, null, 10, ul),
|
|
985
1009
|
v("rect", {
|
|
986
|
-
onClick: u[7] || (u[7] = (a) =>
|
|
1010
|
+
onClick: u[7] || (u[7] = (a) => A("BL")),
|
|
987
1011
|
x: e.value.left,
|
|
988
1012
|
y: e.value.centerY,
|
|
989
1013
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
990
1014
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
991
1015
|
fill: "transparent",
|
|
992
1016
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
993
|
-
}, null, 10,
|
|
1017
|
+
}, null, 10, ol)
|
|
994
1018
|
]),
|
|
995
|
-
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(
|
|
996
|
-
|
|
997
|
-
(o(!0), n(
|
|
998
|
-
(o(!0), n(
|
|
1019
|
+
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(C, { key: 6 }, [
|
|
1020
|
+
w.value.plotLabels.show ? (o(), n("g", nl, [
|
|
1021
|
+
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n(C, null, [
|
|
1022
|
+
(o(!0), n(C, null, Y(a.series, (r) => (o(), n("foreignObject", {
|
|
999
1023
|
style: { overflow: "visible" },
|
|
1000
1024
|
height: "10",
|
|
1001
1025
|
width: "100",
|
|
1002
1026
|
x: r.x - 50,
|
|
1003
1027
|
y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1004
|
-
onMouseover: (b) =>
|
|
1028
|
+
onMouseover: (b) => Se(a, r, s),
|
|
1005
1029
|
onMouseleave: u[9] || (u[9] = (b) => {
|
|
1006
|
-
|
|
1030
|
+
j.value = !1, I.value = null, D.value = null;
|
|
1007
1031
|
}),
|
|
1008
|
-
onClick: (b) =>
|
|
1032
|
+
onClick: (b) => ze(a, r)
|
|
1009
1033
|
}, [
|
|
1010
1034
|
v("div", {
|
|
1011
|
-
style:
|
|
1012
|
-
},
|
|
1013
|
-
], 40,
|
|
1035
|
+
style: q(`color:${y(vt)(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`)
|
|
1036
|
+
}, $(r.name), 5)
|
|
1037
|
+
], 40, il))), 256))
|
|
1014
1038
|
], 64))), 256))
|
|
1015
1039
|
])) : c("", !0)
|
|
1016
|
-
], 64)) : (o(), n(
|
|
1017
|
-
(o(!0), n(
|
|
1018
|
-
(o(!0), n(
|
|
1040
|
+
], 64)) : (o(), n(C, { key: 5 }, [
|
|
1041
|
+
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("g", null, [
|
|
1042
|
+
(o(!0), n(C, null, Y(a.series, (r) => (o(), N(Ve, {
|
|
1019
1043
|
color: a.color,
|
|
1020
1044
|
isSelected: I.value && r.uid === I.value,
|
|
1021
1045
|
plot: r,
|
|
@@ -1023,52 +1047,52 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1023
1047
|
shape: a.shape,
|
|
1024
1048
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1025
1049
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
1026
|
-
onMouseover: (b) =>
|
|
1050
|
+
onMouseover: (b) => Se(a, r, s),
|
|
1027
1051
|
onMouseleave: u[8] || (u[8] = (b) => {
|
|
1028
|
-
|
|
1052
|
+
j.value = !1, I.value = null, D.value = null;
|
|
1029
1053
|
}),
|
|
1030
|
-
onClick: (b) =>
|
|
1054
|
+
onClick: (b) => ze(a, r)
|
|
1031
1055
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseover", "onClick"]))), 256))
|
|
1032
1056
|
]))), 256)),
|
|
1033
|
-
|
|
1034
|
-
(o(!0), n(
|
|
1035
|
-
(o(!0), n(
|
|
1057
|
+
w.value.plotLabels.show ? (o(), n("g", sl, [
|
|
1058
|
+
(o(!0), n(C, null, Y(S.value, (a) => (o(), n("g", null, [
|
|
1059
|
+
(o(!0), n(C, null, Y(a.series, (s) => (o(), n("text", {
|
|
1036
1060
|
x: s.x,
|
|
1037
1061
|
y: s.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1038
1062
|
"text-anchor": "middle",
|
|
1039
1063
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1040
1064
|
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
1041
|
-
},
|
|
1065
|
+
}, $(s.name), 9, rl))), 256))
|
|
1042
1066
|
]))), 256))
|
|
1043
1067
|
])) : c("", !0)
|
|
1044
1068
|
], 64)),
|
|
1045
|
-
p.value ? (o(), n("g",
|
|
1069
|
+
p.value ? (o(), n("g", vl, [
|
|
1046
1070
|
i.value === "TL" ? (o(), n("polygon", {
|
|
1047
1071
|
key: 0,
|
|
1048
1072
|
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
1073
|
fill: t.value.style.chart.backgroundColor,
|
|
1050
1074
|
style: { opacity: "1" }
|
|
1051
|
-
}, null, 8,
|
|
1075
|
+
}, null, 8, dl)) : c("", !0),
|
|
1052
1076
|
i.value === "TR" ? (o(), n("polygon", {
|
|
1053
1077
|
key: 1,
|
|
1054
1078
|
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
1079
|
fill: t.value.style.chart.backgroundColor,
|
|
1056
1080
|
style: { opacity: "1" }
|
|
1057
|
-
}, null, 8,
|
|
1081
|
+
}, null, 8, cl)) : c("", !0),
|
|
1058
1082
|
i.value === "BR" ? (o(), n("polygon", {
|
|
1059
1083
|
key: 2,
|
|
1060
1084
|
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
1085
|
fill: t.value.style.chart.backgroundColor,
|
|
1062
1086
|
style: { opacity: "1" }
|
|
1063
|
-
}, null, 8,
|
|
1087
|
+
}, null, 8, hl)) : c("", !0),
|
|
1064
1088
|
i.value === "BL" ? (o(), n("polygon", {
|
|
1065
1089
|
key: 3,
|
|
1066
1090
|
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
1091
|
fill: t.value.style.chart.backgroundColor,
|
|
1068
1092
|
style: { opacity: "1" }
|
|
1069
|
-
}, null, 8,
|
|
1093
|
+
}, null, 8, yl)) : c("", !0)
|
|
1070
1094
|
])) : c("", !0),
|
|
1071
|
-
i.value && !
|
|
1095
|
+
i.value && !K.value ? (o(), n("g", bl, [
|
|
1072
1096
|
v("text", {
|
|
1073
1097
|
x: B.value.x,
|
|
1074
1098
|
y: B.value.y - B.value.fontSize / 1.5,
|
|
@@ -1076,69 +1100,69 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1076
1100
|
fill: B.value.fill,
|
|
1077
1101
|
"text-anchor": "middle",
|
|
1078
1102
|
"font-weight": B.value.bold ? "bold" : "normal"
|
|
1079
|
-
},
|
|
1103
|
+
}, $(B.value.text), 9, fl)
|
|
1080
1104
|
])) : c("", !0),
|
|
1081
|
-
p.value && i.value ? (o(), n("g",
|
|
1105
|
+
p.value && i.value ? (o(), n("g", pl, [
|
|
1082
1106
|
v("rect", {
|
|
1083
|
-
x:
|
|
1084
|
-
y:
|
|
1107
|
+
x: k.value[i.value].tl.x,
|
|
1108
|
+
y: k.value[i.value].tl.y,
|
|
1085
1109
|
height: "20",
|
|
1086
1110
|
width: "20",
|
|
1087
|
-
fill:
|
|
1088
|
-
style:
|
|
1089
|
-
onClick: u[10] || (u[10] = (a) =>
|
|
1111
|
+
fill: k.value[i.value].tl.fill,
|
|
1112
|
+
style: q(`cursor: pointer; opacity: ${i.value === "TL" ? 1 : 0.2}`),
|
|
1113
|
+
onClick: u[10] || (u[10] = (a) => A("TL")),
|
|
1090
1114
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TL" })
|
|
1091
|
-
}, null, 14,
|
|
1115
|
+
}, null, 14, gl),
|
|
1092
1116
|
v("rect", {
|
|
1093
|
-
x:
|
|
1094
|
-
y:
|
|
1117
|
+
x: k.value[i.value].tr.x,
|
|
1118
|
+
y: k.value[i.value].tr.y,
|
|
1095
1119
|
height: "20",
|
|
1096
1120
|
width: "20",
|
|
1097
|
-
fill:
|
|
1098
|
-
style:
|
|
1099
|
-
onClick: u[11] || (u[11] = (a) =>
|
|
1121
|
+
fill: k.value[i.value].tr.fill,
|
|
1122
|
+
style: q(`cursor: pointer; opacity: ${i.value === "TR" ? 1 : 0.2}`),
|
|
1123
|
+
onClick: u[11] || (u[11] = (a) => A("TR")),
|
|
1100
1124
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TR" })
|
|
1101
|
-
}, null, 14,
|
|
1125
|
+
}, null, 14, ml),
|
|
1102
1126
|
v("rect", {
|
|
1103
|
-
x:
|
|
1104
|
-
y:
|
|
1127
|
+
x: k.value[i.value].br.x,
|
|
1128
|
+
y: k.value[i.value].br.y,
|
|
1105
1129
|
height: "20",
|
|
1106
1130
|
width: "20",
|
|
1107
|
-
fill:
|
|
1108
|
-
style:
|
|
1109
|
-
onClick: u[12] || (u[12] = (a) =>
|
|
1131
|
+
fill: k.value[i.value].br.fill,
|
|
1132
|
+
style: q(`cursor: pointer; opacity: ${i.value === "BR" ? 1 : 0.2}`),
|
|
1133
|
+
onClick: u[12] || (u[12] = (a) => A("BR")),
|
|
1110
1134
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BR" })
|
|
1111
|
-
}, null, 14,
|
|
1135
|
+
}, null, 14, xl),
|
|
1112
1136
|
v("rect", {
|
|
1113
|
-
x:
|
|
1114
|
-
y:
|
|
1137
|
+
x: k.value[i.value].bl.x,
|
|
1138
|
+
y: k.value[i.value].bl.y,
|
|
1115
1139
|
height: "20",
|
|
1116
1140
|
width: "20",
|
|
1117
|
-
fill:
|
|
1118
|
-
style:
|
|
1119
|
-
onClick: u[13] || (u[13] = (a) =>
|
|
1141
|
+
fill: k.value[i.value].bl.fill,
|
|
1142
|
+
style: q(`cursor: pointer; opacity: ${i.value === "BL" ? 1 : 0.2}`),
|
|
1143
|
+
onClick: u[13] || (u[13] = (a) => A("BL")),
|
|
1120
1144
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BL" })
|
|
1121
|
-
}, null, 14,
|
|
1145
|
+
}, null, 14, $l),
|
|
1122
1146
|
v("path", {
|
|
1123
1147
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1124
1148
|
stroke: t.value.style.chart.backgroundColor,
|
|
1125
1149
|
"stroke-width": 1,
|
|
1126
|
-
d:
|
|
1127
|
-
}, null, 8,
|
|
1150
|
+
d: k.value[i.value].crosshairs.horizontal
|
|
1151
|
+
}, null, 8, kl),
|
|
1128
1152
|
v("path", {
|
|
1129
1153
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1130
1154
|
stroke: t.value.style.chart.backgroundColor,
|
|
1131
1155
|
"stroke-width": 1,
|
|
1132
|
-
d:
|
|
1133
|
-
}, null, 8,
|
|
1156
|
+
d: k.value[i.value].crosshairs.vertical
|
|
1157
|
+
}, null, 8, Ll)
|
|
1134
1158
|
])) : c("", !0),
|
|
1135
|
-
|
|
1136
|
-
], 14,
|
|
1137
|
-
l.$slots.watermark ? (o(), n("div",
|
|
1138
|
-
|
|
1159
|
+
L(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1160
|
+
], 14, zt)) : c("", !0),
|
|
1161
|
+
l.$slots.watermark ? (o(), n("div", wl, [
|
|
1162
|
+
L(l.$slots, "watermark", G(Q({ isPrinting: y(me) || y(xe) })), void 0, !0)
|
|
1139
1163
|
])) : c("", !0),
|
|
1140
|
-
|
|
1141
|
-
key:
|
|
1164
|
+
J.value ? c("", !0) : (o(), N(Lt, {
|
|
1165
|
+
key: 5,
|
|
1142
1166
|
config: {
|
|
1143
1167
|
type: "quadrant",
|
|
1144
1168
|
style: {
|
|
@@ -1157,29 +1181,29 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1157
1181
|
}, null, 8, ["config"])),
|
|
1158
1182
|
v("div", {
|
|
1159
1183
|
ref_key: "chartLegend",
|
|
1160
|
-
ref:
|
|
1184
|
+
ref: he
|
|
1161
1185
|
}, [
|
|
1162
|
-
t.value.style.chart.legend.show ? (o(),
|
|
1163
|
-
key: `legend_${
|
|
1164
|
-
legendSet:
|
|
1165
|
-
config:
|
|
1166
|
-
onClickMarker: u[14] || (u[14] = ({ legend: a }) =>
|
|
1186
|
+
t.value.style.chart.legend.show ? (o(), N($t, {
|
|
1187
|
+
key: `legend_${fe.value}`,
|
|
1188
|
+
legendSet: qe.value,
|
|
1189
|
+
config: Ge.value,
|
|
1190
|
+
onClickMarker: u[14] || (u[14] = ({ legend: a }) => se(a.id))
|
|
1167
1191
|
}, {
|
|
1168
|
-
item:
|
|
1192
|
+
item: x(({ legend: a }) => [
|
|
1169
1193
|
v("div", {
|
|
1170
1194
|
"data-cy-legend-item": "",
|
|
1171
|
-
onClick: (s) =>
|
|
1172
|
-
style:
|
|
1173
|
-
},
|
|
1195
|
+
onClick: (s) => se(a.id),
|
|
1196
|
+
style: q(`opacity:${M.value.includes(a.id) ? 0.5 : 1}`)
|
|
1197
|
+
}, $(a.name), 13, _l)
|
|
1174
1198
|
]),
|
|
1175
1199
|
_: 1
|
|
1176
|
-
}, 8, ["legendSet", "config"])) :
|
|
1200
|
+
}, 8, ["legendSet", "config"])) : L(l.$slots, "legend", {
|
|
1177
1201
|
key: 1,
|
|
1178
|
-
legend:
|
|
1202
|
+
legend: qe.value
|
|
1179
1203
|
}, void 0, !0)
|
|
1180
1204
|
], 512),
|
|
1181
|
-
|
|
1182
|
-
show:
|
|
1205
|
+
ie(xt, {
|
|
1206
|
+
show: w.value.showTooltip && j.value,
|
|
1183
1207
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
1184
1208
|
color: t.value.style.chart.tooltip.color,
|
|
1185
1209
|
borderRadius: t.value.style.chart.tooltip.borderRadius,
|
|
@@ -1190,18 +1214,18 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1190
1214
|
position: t.value.style.chart.tooltip.position,
|
|
1191
1215
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1192
1216
|
parent: O.value,
|
|
1193
|
-
content:
|
|
1217
|
+
content: oe.value,
|
|
1194
1218
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
1195
1219
|
}, {
|
|
1196
|
-
"tooltip-before":
|
|
1197
|
-
|
|
1220
|
+
"tooltip-before": x(() => [
|
|
1221
|
+
L(l.$slots, "tooltip-before", G(Q({ ...re.value })), void 0, !0)
|
|
1198
1222
|
]),
|
|
1199
|
-
"tooltip-after":
|
|
1200
|
-
|
|
1223
|
+
"tooltip-after": x(() => [
|
|
1224
|
+
L(l.$slots, "tooltip-after", G(Q({ ...re.value })), void 0, !0)
|
|
1201
1225
|
]),
|
|
1202
|
-
default:
|
|
1203
|
-
t.value.style.chart.tooltip.showShape ? (o(), n("svg",
|
|
1204
|
-
|
|
1226
|
+
default: x(() => [
|
|
1227
|
+
t.value.style.chart.tooltip.showShape ? (o(), n("svg", ql, [
|
|
1228
|
+
ie(Ve, {
|
|
1205
1229
|
plot: { x: 10, y: 10 },
|
|
1206
1230
|
shape: D.value.shape,
|
|
1207
1231
|
color: D.value.color,
|
|
@@ -1213,11 +1237,11 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1213
1237
|
]),
|
|
1214
1238
|
_: 3
|
|
1215
1239
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
1216
|
-
|
|
1217
|
-
key:
|
|
1240
|
+
J.value ? (o(), N(wt, {
|
|
1241
|
+
key: 6,
|
|
1218
1242
|
hideDetails: "",
|
|
1219
1243
|
config: {
|
|
1220
|
-
open:
|
|
1244
|
+
open: w.value.showTable,
|
|
1221
1245
|
maxHeight: 1e4,
|
|
1222
1246
|
body: {
|
|
1223
1247
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -1229,32 +1253,32 @@ const _t = ["id"], qt = ["xmlns", "viewBox", "id"], St = ["id"], Ct = ["stop-col
|
|
|
1229
1253
|
}
|
|
1230
1254
|
}
|
|
1231
1255
|
}, {
|
|
1232
|
-
content:
|
|
1233
|
-
(o(),
|
|
1234
|
-
key: `table_${
|
|
1235
|
-
colNames:
|
|
1236
|
-
head:
|
|
1237
|
-
body:
|
|
1238
|
-
config:
|
|
1256
|
+
content: x(() => [
|
|
1257
|
+
(o(), N(kt, {
|
|
1258
|
+
key: `table_${be.value}`,
|
|
1259
|
+
colNames: te.value.colNames,
|
|
1260
|
+
head: te.value.head,
|
|
1261
|
+
body: te.value.body,
|
|
1262
|
+
config: te.value.config,
|
|
1239
1263
|
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) =>
|
|
1264
|
+
onClose: u[15] || (u[15] = (a) => w.value.showTable = !1)
|
|
1241
1265
|
}, {
|
|
1242
|
-
th:
|
|
1243
|
-
|
|
1266
|
+
th: x(({ th: a }) => [
|
|
1267
|
+
Ke($(a), 1)
|
|
1244
1268
|
]),
|
|
1245
|
-
td:
|
|
1269
|
+
td: x(({ td: a }) => [
|
|
1246
1270
|
v("div", {
|
|
1247
1271
|
innerHTML: a.name || a
|
|
1248
|
-
}, null, 8,
|
|
1272
|
+
}, null, 8, Cl)
|
|
1249
1273
|
]),
|
|
1250
1274
|
_: 1
|
|
1251
1275
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1252
1276
|
]),
|
|
1253
1277
|
_: 1
|
|
1254
1278
|
}, 8, ["config"])) : c("", !0)
|
|
1255
|
-
], 14,
|
|
1279
|
+
], 14, St));
|
|
1256
1280
|
}
|
|
1257
|
-
},
|
|
1281
|
+
}, Il = /* @__PURE__ */ Ct(Sl, [["__scopeId", "data-v-cf6ceba3"]]);
|
|
1258
1282
|
export {
|
|
1259
|
-
|
|
1283
|
+
Il as default
|
|
1260
1284
|
};
|