vue-data-ui 2.4.50 → 2.4.51
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 +12 -0
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { computed as g, 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 { P as
|
|
15
|
-
import {
|
|
16
|
-
|
|
1
|
+
import { computed as g, ref as h, watch as Fe, onMounted as lt, onBeforeUnmount as at, openBlock as o, createElementBlock as n, normalizeClass as T, normalizeStyle as w, unref as y, createBlock as N, createCommentVNode as c, createSlots as ut, withCtx as x, renderSlot as L, normalizeProps as G, guardReactiveProps as Q, createVNode as ie, createElementVNode as v, Fragment as S, renderList as Y, toDisplayString as $, createTextVNode as ot, nextTick as st } from "vue";
|
|
2
|
+
import { u as rt, c as Re, t as nt, a as it, p as ve, o as vt, e as H, b as dt, T as ct, d as ht, i as O, f as P, X as yt, s as ae, w as bt, U as ft, G as pt, x as gt, y as mt, q as xt, r as $t } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { t as kt, u as Lt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as wt } from "./Title-aSAft5dl.js";
|
|
5
|
+
import { u as qt, U as _t } from "./usePrinter-DaybDVqP.js";
|
|
6
|
+
import { _ as St } from "./Tooltip-smutPF--.js";
|
|
7
|
+
import { _ as He } from "./Shape-DIKzzpFm.js";
|
|
8
|
+
import { L as Ct } from "./Legend-BLaZxMge.js";
|
|
9
|
+
import { D as zt } from "./DataTable-DGf6RrOJ.js";
|
|
10
|
+
import Tt from "./vue-ui-skeleton-Bniq21d9.js";
|
|
11
|
+
import Wt from "./vue-ui-accordion-5d5iVpr7.js";
|
|
12
|
+
import { u as Ie } from "./useNestedProp-BN8claGG.js";
|
|
13
|
+
import { _ as Xt } from "./PackageVersion-CxJghxYD.js";
|
|
14
|
+
import { P as Yt } from "./PenAndPaper-ZdZEumki.js";
|
|
15
|
+
import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
|
+
import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["id"], Vt = ["stop-color"], Bt = ["stop-color"], Ft = { key: 0 }, Rt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Ht = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], It = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ut = { key: 1 }, Dt = ["points", "fill"], Et = ["points", "fill"], Gt = ["points", "fill"], Qt = ["points", "fill"], Jt = { key: 2 }, jt = ["y", "fill", "font-size"], Zt = ["x", "y", "fill", "font-size"], Kt = ["x", "y", "fill", "font-size"], el = ["y", "fill", "font-size"], tl = { key: 3 }, ll = ["x", "y", "font-size", "fill"], al = ["x", "y", "font-size", "fill"], ul = ["x", "y", "font-size", "fill"], ol = ["id", "font-size", "transform", "fill"], sl = ["id", "font-size", "transform", "fill"], rl = ["id", "font-size", "transform", "fill"], nl = { key: 4 }, il = ["fill", "points"], vl = ["x", "y", "width", "height"], dl = ["x", "y", "width", "height"], cl = ["x", "y", "width", "height"], hl = ["x", "y", "width", "height"], yl = {
|
|
17
18
|
key: 0,
|
|
18
19
|
style: { "pointer-events": "none" }
|
|
19
|
-
},
|
|
20
|
+
}, bl = ["x", "y", "font-size", "fill"], fl = { key: 0 }, pl = ["x", "y", "onMouseover", "onClick"], gl = {
|
|
20
21
|
key: 7,
|
|
21
22
|
class: "vue-ui-dna"
|
|
22
|
-
},
|
|
23
|
+
}, ml = ["points", "fill"], xl = ["points", "fill"], $l = ["points", "fill"], kl = ["points", "fill"], Ll = { key: 8 }, wl = ["x", "y", "font-size", "fill", "font-weight"], ql = { key: 9 }, _l = ["x", "y", "fill"], Sl = ["x", "y", "fill"], Cl = ["x", "y", "fill"], zl = ["x", "y", "fill"], Tl = ["stroke", "d"], Wl = ["stroke", "d"], Xl = {
|
|
23
24
|
key: 5,
|
|
24
25
|
class: "vue-data-ui-watermark"
|
|
25
|
-
},
|
|
26
|
+
}, Yl = ["onClick"], Al = {
|
|
26
27
|
key: 0,
|
|
27
28
|
height: "14",
|
|
28
29
|
width: "14",
|
|
29
30
|
viewBox: "0 0 20 20"
|
|
30
|
-
},
|
|
31
|
+
}, Ml = ["innerHTML"], Nl = {
|
|
31
32
|
__name: "vue-ui-quadrant",
|
|
32
33
|
props: {
|
|
33
34
|
config: {
|
|
@@ -44,30 +45,30 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
47
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
47
|
-
setup(
|
|
48
|
-
const W =
|
|
49
|
-
get: () =>
|
|
48
|
+
setup(Ue, { expose: De, emit: ue }) {
|
|
49
|
+
const W = Ue, { vue_ui_quadrant: Ee } = rt(), J = g(() => !!W.dataset && W.dataset.length), z = h(Re()), Ge = h(null), j = h(!1), oe = h(""), de = h(0), p = h(!1), B = h(null), ce = h(null), he = h(null), ye = h(null), be = h(null), fe = h(0), pe = h(0), ge = h(0), t = g({
|
|
50
|
+
get: () => ke(),
|
|
50
51
|
set: (l) => l
|
|
51
|
-
});
|
|
52
|
-
function
|
|
53
|
-
const l =
|
|
52
|
+
}), { userOptionsVisible: me, setUserOptionsVisibility: xe, keepUserOptionState: $e } = At({ config: t.value });
|
|
53
|
+
function ke() {
|
|
54
|
+
const l = Ie({
|
|
54
55
|
userConfig: W.config,
|
|
55
|
-
defaultConfig:
|
|
56
|
+
defaultConfig: Ee
|
|
56
57
|
});
|
|
57
58
|
return l.theme ? {
|
|
58
|
-
...
|
|
59
|
-
userConfig:
|
|
59
|
+
...Ie({
|
|
60
|
+
userConfig: nt.vue_ui_quadrant[l.theme] || W.config,
|
|
60
61
|
defaultConfig: l
|
|
61
62
|
}),
|
|
62
|
-
customPalette:
|
|
63
|
+
customPalette: it[l.theme] || ve
|
|
63
64
|
} : l;
|
|
64
65
|
}
|
|
65
|
-
|
|
66
|
-
t.value =
|
|
66
|
+
Fe(() => W.config, (l) => {
|
|
67
|
+
t.value = ke(), Le(), fe.value += 1, pe.value += 1, ge.value += 1;
|
|
67
68
|
}, { deep: !0 });
|
|
68
69
|
const Z = h(null);
|
|
69
|
-
function
|
|
70
|
-
if (
|
|
70
|
+
function Le() {
|
|
71
|
+
if (vt(W.dataset) ? H({
|
|
71
72
|
componentName: "VueUiQuadrant",
|
|
72
73
|
type: "dataset"
|
|
73
74
|
}) : W.dataset.forEach((l, u) => {
|
|
@@ -91,9 +92,9 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
91
92
|
});
|
|
92
93
|
});
|
|
93
94
|
}), t.value.responsive) {
|
|
94
|
-
const l =
|
|
95
|
-
const { width: u, height: a } =
|
|
96
|
-
chart:
|
|
95
|
+
const l = kt(() => {
|
|
96
|
+
const { width: u, height: a } = Lt({
|
|
97
|
+
chart: B.value,
|
|
97
98
|
title: t.value.style.chart.title.text ? ce.value : null,
|
|
98
99
|
legend: t.value.style.chart.legend.show ? he.value : null,
|
|
99
100
|
source: ye.value,
|
|
@@ -101,18 +102,18 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
101
102
|
});
|
|
102
103
|
m.value = 48, e.value.height = a, e.value.usableHeight = a - m.value * 2, e.value.width = u, e.value.usableWidth = u - m.value * 2, e.value.top = m.value, e.value.left = m.value, e.value.right = u - m.value, e.value.bottom = a - m.value, e.value.centerX = u / 2, e.value.centerY = a - a / 2, e.value.padding = m.value;
|
|
103
104
|
});
|
|
104
|
-
Z.value = new ResizeObserver(l), Z.value.observe(
|
|
105
|
+
Z.value = new ResizeObserver(l), Z.value.observe(B.value.parentNode);
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}),
|
|
108
|
+
lt(() => {
|
|
109
|
+
Le();
|
|
110
|
+
}), at(() => {
|
|
110
111
|
Z.value && Z.value.disconnect();
|
|
111
112
|
});
|
|
112
|
-
const { isPrinting:
|
|
113
|
+
const { isPrinting: we, isImaging: qe, generatePdf: _e, generateImage: Se } = qt({
|
|
113
114
|
elementId: `vue-ui-quadrant_${z.value}`,
|
|
114
115
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant"
|
|
115
|
-
}),
|
|
116
|
+
}), Qe = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Ce = g(() => dt(t.value.customPalette)), q = h({
|
|
116
117
|
plotLabels: {
|
|
117
118
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
118
119
|
},
|
|
@@ -135,14 +136,14 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
135
136
|
startX: 0,
|
|
136
137
|
startY: 0
|
|
137
138
|
});
|
|
138
|
-
|
|
139
|
+
Fe(() => e.value, (l) => {
|
|
139
140
|
l && (d.value = {
|
|
140
141
|
...JSON.parse(JSON.stringify(e.value)),
|
|
141
142
|
startX: 0,
|
|
142
143
|
startY: 0
|
|
143
144
|
});
|
|
144
145
|
}, { deep: !0 });
|
|
145
|
-
const i = h(null),
|
|
146
|
+
const i = h(null), V = g(() => {
|
|
146
147
|
switch (i.value) {
|
|
147
148
|
case "TL":
|
|
148
149
|
return {
|
|
@@ -183,7 +184,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
183
184
|
default:
|
|
184
185
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
185
186
|
}
|
|
186
|
-
}),
|
|
187
|
+
}), Je = h(null), K = h(!1);
|
|
187
188
|
function I({ targetX: l, targetY: u, targetW: a, targetH: s, side: r }) {
|
|
188
189
|
i.value && E(r);
|
|
189
190
|
const b = {
|
|
@@ -193,10 +194,10 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
193
194
|
h: s - d.value.height
|
|
194
195
|
}, f = t.value.zoomAnimationFrames;
|
|
195
196
|
let X = 0;
|
|
196
|
-
function
|
|
197
|
-
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 ?
|
|
197
|
+
function Be() {
|
|
198
|
+
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 ? Je.value = requestAnimationFrame(Be) : K.value = !1;
|
|
198
199
|
}
|
|
199
|
-
|
|
200
|
+
Be();
|
|
200
201
|
}
|
|
201
202
|
function A(l) {
|
|
202
203
|
if (!K.value)
|
|
@@ -252,7 +253,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
252
253
|
p.value = !0;
|
|
253
254
|
}
|
|
254
255
|
}
|
|
255
|
-
const
|
|
256
|
+
const je = g(() => {
|
|
256
257
|
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, s = [];
|
|
257
258
|
for (let r = 0; r < l; r += 1)
|
|
258
259
|
s.push({
|
|
@@ -277,27 +278,27 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
277
278
|
};
|
|
278
279
|
}), M = h([]), F = g(() => W.dataset.map((l, u) => ({
|
|
279
280
|
...l,
|
|
280
|
-
series:
|
|
281
|
+
series: ct({
|
|
281
282
|
data: l.series,
|
|
282
283
|
threshold: t.value.downsample.threshold
|
|
283
284
|
}),
|
|
284
285
|
id: `cat_${u}_${z.value}`,
|
|
285
|
-
color:
|
|
286
|
-
}))),
|
|
286
|
+
color: ht(l.color) || Ce.value[u] || ve[u]
|
|
287
|
+
}))), Ze = g(() => F.value.filter((l) => !M.value.includes(l.id))), Ke = g(() => F.value.map((l, u) => ({
|
|
287
288
|
...l,
|
|
288
289
|
shape: l.shape || "circle",
|
|
289
290
|
series: l.series.map((a) => ({
|
|
290
291
|
...a,
|
|
291
|
-
x:
|
|
292
|
-
y:
|
|
292
|
+
x: ze(a.x),
|
|
293
|
+
y: Te(a.y),
|
|
293
294
|
xValue: a.x,
|
|
294
295
|
yValue: a.y,
|
|
295
|
-
quadrantSide:
|
|
296
|
+
quadrantSide: Xe({ x: a.x, y: a.y }),
|
|
296
297
|
categoryName: l.name,
|
|
297
298
|
shape: l.shape,
|
|
298
299
|
color: l.color
|
|
299
300
|
}))
|
|
300
|
-
}))),
|
|
301
|
+
}))), C = g(() => (W.dataset.forEach((l, u) => {
|
|
301
302
|
l.series.forEach((a, s) => {
|
|
302
303
|
[null, void 0].includes(a.x) && H({
|
|
303
304
|
componentName: "VueUiQuadrant",
|
|
@@ -313,24 +314,24 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
313
314
|
index: s
|
|
314
315
|
});
|
|
315
316
|
});
|
|
316
|
-
}),
|
|
317
|
+
}), Ze.value.map((l, u) => ({
|
|
317
318
|
...l,
|
|
318
319
|
shape: l.shape || "circle",
|
|
319
|
-
color: l.color ||
|
|
320
|
+
color: l.color || Ce.value[u] || ve[u],
|
|
320
321
|
series: l.series.map((a) => ({
|
|
321
322
|
...a,
|
|
322
|
-
x:
|
|
323
|
-
y:
|
|
323
|
+
x: ze(a.x),
|
|
324
|
+
y: Te(a.y),
|
|
324
325
|
xValue: a.x,
|
|
325
326
|
yValue: a.y,
|
|
326
|
-
quadrantSide:
|
|
327
|
+
quadrantSide: Xe({ x: a.x, y: a.y }),
|
|
327
328
|
categoryName: l.name,
|
|
328
329
|
shape: l.shape,
|
|
329
330
|
color: l.color,
|
|
330
|
-
uid:
|
|
331
|
+
uid: Re()
|
|
331
332
|
}))
|
|
332
333
|
}))));
|
|
333
|
-
function
|
|
334
|
+
function ze(l) {
|
|
334
335
|
if (l >= 0) {
|
|
335
336
|
const u = l / _.value.x.max;
|
|
336
337
|
return e.value.centerX + e.value.usableWidth / 2 * u;
|
|
@@ -339,7 +340,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
339
340
|
return e.value.centerX - e.value.usableWidth / 2 * u;
|
|
340
341
|
}
|
|
341
342
|
}
|
|
342
|
-
function
|
|
343
|
+
function Te(l) {
|
|
343
344
|
if (l >= 0) {
|
|
344
345
|
const u = l / _.value.y.max;
|
|
345
346
|
return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
|
|
@@ -349,7 +350,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
349
350
|
}
|
|
350
351
|
}
|
|
351
352
|
const ee = g(() => {
|
|
352
|
-
const l =
|
|
353
|
+
const l = C.value.flatMap((f) => f.series.map((X) => ({
|
|
353
354
|
x: X.xValue,
|
|
354
355
|
y: X.yValue,
|
|
355
356
|
name: X.name,
|
|
@@ -371,18 +372,18 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
371
372
|
name: s.category
|
|
372
373
|
},
|
|
373
374
|
s.name,
|
|
374
|
-
|
|
375
|
+
O(
|
|
375
376
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
376
377
|
s.x,
|
|
377
|
-
|
|
378
|
+
P({
|
|
378
379
|
v: s.x,
|
|
379
380
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
380
381
|
})
|
|
381
382
|
),
|
|
382
|
-
|
|
383
|
+
O(
|
|
383
384
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
384
385
|
s.y,
|
|
385
|
-
|
|
386
|
+
P({
|
|
386
387
|
v: s.y,
|
|
387
388
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
388
389
|
})
|
|
@@ -405,10 +406,10 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
405
406
|
});
|
|
406
407
|
function se(l) {
|
|
407
408
|
M.value.includes(l) ? M.value = M.value.filter((a) => a !== l) : M.value.push(l);
|
|
408
|
-
const u =
|
|
409
|
+
const u = Me();
|
|
409
410
|
ue("selectLegend", u);
|
|
410
411
|
}
|
|
411
|
-
const
|
|
412
|
+
const We = g(() => Ke.value.map((l) => ({
|
|
412
413
|
name: l.name,
|
|
413
414
|
shape: l.shape,
|
|
414
415
|
color: l.color,
|
|
@@ -416,7 +417,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
416
417
|
opacity: M.value.includes(l.id) ? 0.5 : 1,
|
|
417
418
|
segregate: () => se(l.id),
|
|
418
419
|
isSegregated: M.value.includes(l.id)
|
|
419
|
-
}))),
|
|
420
|
+
}))), et = g(() => ({
|
|
420
421
|
cy: "quadrant-div-legend",
|
|
421
422
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
422
423
|
color: t.value.style.chart.legend.color,
|
|
@@ -424,7 +425,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
424
425
|
paddingBottom: 12,
|
|
425
426
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
426
427
|
}));
|
|
427
|
-
function
|
|
428
|
+
function Xe(l) {
|
|
428
429
|
switch (!0) {
|
|
429
430
|
case (l.x >= 0 && l.y >= 0):
|
|
430
431
|
return "tr";
|
|
@@ -438,44 +439,44 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
438
439
|
return "";
|
|
439
440
|
}
|
|
440
441
|
}
|
|
441
|
-
const
|
|
442
|
-
function
|
|
443
|
-
|
|
442
|
+
const U = h(null), D = h(null), re = h(null);
|
|
443
|
+
function Ye(l, u, a) {
|
|
444
|
+
U.value = u.uid, D.value = {
|
|
444
445
|
color: l.color,
|
|
445
446
|
shape: l.shape
|
|
446
447
|
}, re.value = {
|
|
447
448
|
datapoint: u,
|
|
448
449
|
seriesIndex: a,
|
|
449
|
-
series:
|
|
450
|
+
series: C.value,
|
|
450
451
|
config: t.value
|
|
451
452
|
}, j.value = !0;
|
|
452
453
|
const s = t.value.style.chart.tooltip.customFormat;
|
|
453
|
-
if (
|
|
454
|
+
if (gt(s) && mt(() => s({
|
|
454
455
|
seriesIndex: a,
|
|
455
456
|
datapoint: u,
|
|
456
|
-
series:
|
|
457
|
+
series: C.value,
|
|
457
458
|
config: t.value
|
|
458
459
|
})))
|
|
459
460
|
oe.value = s({
|
|
460
461
|
seriesIndex: a,
|
|
461
462
|
datapoint: u,
|
|
462
|
-
series:
|
|
463
|
+
series: C.value,
|
|
463
464
|
config: t.value
|
|
464
465
|
});
|
|
465
466
|
else {
|
|
466
467
|
let r = "";
|
|
467
|
-
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>${
|
|
468
|
+
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>${O(
|
|
468
469
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
469
470
|
u.xValue,
|
|
470
|
-
|
|
471
|
+
P({
|
|
471
472
|
v: u.xValue,
|
|
472
473
|
r: t.value.style.chart.tooltip.roundingValue
|
|
473
474
|
}),
|
|
474
475
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
475
|
-
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
476
|
+
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${O(
|
|
476
477
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
477
478
|
u.yValue,
|
|
478
|
-
|
|
479
|
+
P({
|
|
479
480
|
v: u.yValue,
|
|
480
481
|
r: t.value.style.chart.tooltip.roundingValue
|
|
481
482
|
}),
|
|
@@ -483,7 +484,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
483
484
|
)}</b></div>`, oe.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
484
485
|
}
|
|
485
486
|
}
|
|
486
|
-
function
|
|
487
|
+
function Ae(l, u) {
|
|
487
488
|
const a = {
|
|
488
489
|
category: l.name,
|
|
489
490
|
shape: l.shape,
|
|
@@ -497,7 +498,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
497
498
|
}
|
|
498
499
|
function E(l) {
|
|
499
500
|
if (!l) return;
|
|
500
|
-
const u =
|
|
501
|
+
const u = C.value.flatMap((s) => s.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
501
502
|
category: r.categoryName,
|
|
502
503
|
itemName: r.name,
|
|
503
504
|
x: r.xValue,
|
|
@@ -615,8 +616,8 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
615
616
|
}
|
|
616
617
|
}
|
|
617
618
|
}));
|
|
618
|
-
function
|
|
619
|
-
return
|
|
619
|
+
function Me() {
|
|
620
|
+
return C.value.map((l) => ({
|
|
620
621
|
color: l.color,
|
|
621
622
|
name: l.name,
|
|
622
623
|
shape: l.shape,
|
|
@@ -629,54 +630,56 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
629
630
|
}))
|
|
630
631
|
}));
|
|
631
632
|
}
|
|
632
|
-
function
|
|
633
|
-
|
|
634
|
-
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 =
|
|
635
|
-
|
|
633
|
+
function Ne() {
|
|
634
|
+
st(() => {
|
|
635
|
+
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 = xt(s);
|
|
636
|
+
$t({ csvContent: r, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
636
637
|
});
|
|
637
638
|
}
|
|
638
639
|
const R = h(!1);
|
|
639
|
-
function
|
|
640
|
+
function tt(l) {
|
|
640
641
|
R.value = l, de.value += 1;
|
|
641
642
|
}
|
|
642
|
-
function
|
|
643
|
-
|
|
643
|
+
function Oe() {
|
|
644
|
+
q.value.showTable = !q.value.showTable;
|
|
644
645
|
}
|
|
645
|
-
function
|
|
646
|
-
|
|
646
|
+
function Pe() {
|
|
647
|
+
q.value.plotLabels.show = !q.value.plotLabels.show;
|
|
647
648
|
}
|
|
648
|
-
function
|
|
649
|
-
|
|
649
|
+
function Ve() {
|
|
650
|
+
q.value.showTooltip = !q.value.showTooltip;
|
|
650
651
|
}
|
|
651
652
|
const le = h(!1);
|
|
652
653
|
function ne() {
|
|
653
654
|
le.value = !le.value;
|
|
654
655
|
}
|
|
655
|
-
return
|
|
656
|
-
getData:
|
|
657
|
-
generatePdf:
|
|
658
|
-
generateCsv:
|
|
659
|
-
generateImage:
|
|
660
|
-
toggleTable:
|
|
661
|
-
toggleLabels:
|
|
662
|
-
toggleTooltip:
|
|
656
|
+
return De({
|
|
657
|
+
getData: Me,
|
|
658
|
+
generatePdf: _e,
|
|
659
|
+
generateCsv: Ne,
|
|
660
|
+
generateImage: Se,
|
|
661
|
+
toggleTable: Oe,
|
|
662
|
+
toggleLabels: Pe,
|
|
663
|
+
toggleTooltip: Ve,
|
|
663
664
|
toggleAnnotator: ne
|
|
664
665
|
}), (l, u) => (o(), n("div", {
|
|
665
666
|
class: T(`vue-ui-quadrant ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
666
667
|
ref_key: "quadrantChart",
|
|
667
|
-
ref:
|
|
668
|
+
ref: B,
|
|
668
669
|
id: `vue-ui-quadrant_${z.value}`,
|
|
669
|
-
style:
|
|
670
|
+
style: w(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`),
|
|
671
|
+
onMouseenter: u[16] || (u[16] = () => y(xe)(!0)),
|
|
672
|
+
onMouseleave: u[17] || (u[17] = () => y(xe)(!1))
|
|
670
673
|
}, [
|
|
671
|
-
t.value.userOptions.buttons.annotator ? (o(), N(
|
|
674
|
+
t.value.userOptions.buttons.annotator ? (o(), N(Yt, {
|
|
672
675
|
key: 0,
|
|
673
|
-
parent:
|
|
676
|
+
parent: B.value,
|
|
674
677
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
675
678
|
color: t.value.style.chart.color,
|
|
676
679
|
active: le.value,
|
|
677
680
|
onClose: ne
|
|
678
681
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
679
|
-
|
|
682
|
+
Qe.value ? (o(), n("div", {
|
|
680
683
|
key: 1,
|
|
681
684
|
ref_key: "noTitle",
|
|
682
685
|
ref: be,
|
|
@@ -689,7 +692,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
689
692
|
ref: ce,
|
|
690
693
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
691
694
|
}, [
|
|
692
|
-
(o(), N(
|
|
695
|
+
(o(), N(wt, {
|
|
693
696
|
key: `table_${fe.value}`,
|
|
694
697
|
config: {
|
|
695
698
|
title: {
|
|
@@ -703,14 +706,14 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
703
706
|
}
|
|
704
707
|
}, null, 8, ["config"]))
|
|
705
708
|
], 512)) : c("", !0),
|
|
706
|
-
t.value.userOptions.show && J.value ? (o(), N(
|
|
709
|
+
t.value.userOptions.show && J.value && (y($e) || y(me)) ? (o(), N(_t, {
|
|
707
710
|
ref_key: "details",
|
|
708
|
-
ref:
|
|
711
|
+
ref: Ge,
|
|
709
712
|
key: `user_options_${de.value}`,
|
|
710
713
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
711
714
|
color: t.value.style.chart.color,
|
|
712
|
-
isImaging: y(
|
|
713
|
-
isPrinting: y(
|
|
715
|
+
isImaging: y(qe),
|
|
716
|
+
isPrinting: y(we),
|
|
714
717
|
uid: z.value,
|
|
715
718
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
716
719
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
@@ -720,21 +723,24 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
720
723
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
721
724
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
722
725
|
isFullscreen: R.value,
|
|
723
|
-
isTooltip:
|
|
726
|
+
isTooltip: q.value.showTooltip,
|
|
724
727
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
725
|
-
chartElement:
|
|
728
|
+
chartElement: B.value,
|
|
726
729
|
position: t.value.userOptions.position,
|
|
727
730
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
728
731
|
isAnnotation: le.value,
|
|
729
|
-
onToggleFullscreen:
|
|
730
|
-
onGeneratePdf: y(
|
|
731
|
-
onGenerateCsv:
|
|
732
|
-
onGenerateImage: y(
|
|
733
|
-
onToggleTable:
|
|
734
|
-
onToggleLabels:
|
|
735
|
-
onToggleTooltip:
|
|
736
|
-
onToggleAnnotator: ne
|
|
737
|
-
|
|
732
|
+
onToggleFullscreen: tt,
|
|
733
|
+
onGeneratePdf: y(_e),
|
|
734
|
+
onGenerateCsv: Ne,
|
|
735
|
+
onGenerateImage: y(Se),
|
|
736
|
+
onToggleTable: Oe,
|
|
737
|
+
onToggleLabels: Pe,
|
|
738
|
+
onToggleTooltip: Ve,
|
|
739
|
+
onToggleAnnotator: ne,
|
|
740
|
+
style: w({
|
|
741
|
+
visibility: y($e) ? y(me) ? "visible" : "hidden" : "visible"
|
|
742
|
+
})
|
|
743
|
+
}, ut({ _: 2 }, [
|
|
738
744
|
l.$slots.optionTooltip ? {
|
|
739
745
|
name: "optionTooltip",
|
|
740
746
|
fn: x(() => [
|
|
@@ -791,18 +797,18 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
791
797
|
]),
|
|
792
798
|
key: "7"
|
|
793
799
|
} : void 0
|
|
794
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
800
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
795
801
|
J.value ? (o(), n("svg", {
|
|
796
802
|
key: 4,
|
|
797
|
-
xmlns: y(
|
|
803
|
+
xmlns: y(yt),
|
|
798
804
|
class: T({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
799
805
|
viewBox: `${d.value.startX} ${d.value.startY} ${d.value.width} ${d.value.height}`,
|
|
800
|
-
style:
|
|
806
|
+
style: w(`max-width:100%;overflow:${p.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
|
|
801
807
|
id: `svg_${z.value}`
|
|
802
808
|
}, [
|
|
803
|
-
ie(
|
|
809
|
+
ie(Xt),
|
|
804
810
|
v("defs", null, [
|
|
805
|
-
(o(!0), n(
|
|
811
|
+
(o(!0), n(S, null, Y(C.value, (a, s) => (o(), n("radialGradient", {
|
|
806
812
|
cx: "50%",
|
|
807
813
|
cy: "50%",
|
|
808
814
|
r: "50%",
|
|
@@ -812,16 +818,16 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
812
818
|
}, [
|
|
813
819
|
v("stop", {
|
|
814
820
|
offset: "0%",
|
|
815
|
-
"stop-color": y(ae)(y(
|
|
816
|
-
}, null, 8,
|
|
821
|
+
"stop-color": y(ae)(y(bt)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
|
|
822
|
+
}, null, 8, Vt),
|
|
817
823
|
v("stop", {
|
|
818
824
|
offset: "100%",
|
|
819
825
|
"stop-color": y(ae)(a.color, t.value.style.chart.layout.areas.opacity)
|
|
820
|
-
}, null, 8,
|
|
821
|
-
], 8,
|
|
826
|
+
}, null, 8, Bt)
|
|
827
|
+
], 8, Pt))), 256))
|
|
822
828
|
]),
|
|
823
|
-
t.value.style.chart.layout.grid.graduations.show ? (o(), n("g",
|
|
824
|
-
(o(!0), n(
|
|
829
|
+
t.value.style.chart.layout.grid.graduations.show ? (o(), n("g", Ft, [
|
|
830
|
+
(o(!0), n(S, null, Y(je.value, (a) => (o(), n("rect", {
|
|
825
831
|
fill: t.value.style.chart.layout.grid.graduations.fill ? y(ae)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
826
832
|
x: a.x,
|
|
827
833
|
y: a.y,
|
|
@@ -830,7 +836,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
830
836
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
831
837
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
832
838
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
833
|
-
}, null, 8,
|
|
839
|
+
}, null, 8, Rt))), 256))
|
|
834
840
|
])) : c("", !0),
|
|
835
841
|
v("line", {
|
|
836
842
|
x1: e.value.left,
|
|
@@ -839,7 +845,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
839
845
|
y2: e.value.centerY,
|
|
840
846
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
841
847
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
842
|
-
}, null, 8,
|
|
848
|
+
}, null, 8, Ht),
|
|
843
849
|
v("line", {
|
|
844
850
|
x1: e.value.centerX,
|
|
845
851
|
y1: e.value.top,
|
|
@@ -847,30 +853,30 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
847
853
|
y2: e.value.bottom,
|
|
848
854
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
849
855
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
850
|
-
}, null, 8,
|
|
851
|
-
t.value.style.chart.layout.grid.showArrows ? (o(), n("g",
|
|
856
|
+
}, null, 8, It),
|
|
857
|
+
t.value.style.chart.layout.grid.showArrows ? (o(), n("g", Ut, [
|
|
852
858
|
v("polygon", {
|
|
853
859
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
854
860
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
855
861
|
stroke: "none"
|
|
856
|
-
}, null, 8,
|
|
862
|
+
}, null, 8, Dt),
|
|
857
863
|
v("polygon", {
|
|
858
864
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
859
865
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
860
866
|
stroke: "none"
|
|
861
|
-
}, null, 8,
|
|
867
|
+
}, null, 8, Et),
|
|
862
868
|
v("polygon", {
|
|
863
869
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
864
870
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
865
871
|
stroke: "none"
|
|
866
|
-
}, null, 8,
|
|
872
|
+
}, null, 8, Gt),
|
|
867
873
|
v("polygon", {
|
|
868
874
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
869
875
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
870
876
|
stroke: "none"
|
|
871
|
-
}, null, 8,
|
|
877
|
+
}, null, 8, Qt)
|
|
872
878
|
])) : c("", !0),
|
|
873
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g",
|
|
879
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g", Jt, [
|
|
874
880
|
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (o(), n("text", {
|
|
875
881
|
key: 0,
|
|
876
882
|
x: 0,
|
|
@@ -878,9 +884,9 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
878
884
|
"text-anchor": "start",
|
|
879
885
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
880
886
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
881
|
-
style:
|
|
887
|
+
style: w(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
882
888
|
onClick: u[0] || (u[0] = (a) => E("tl"))
|
|
883
|
-
}, $(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
889
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, jt)) : c("", !0),
|
|
884
890
|
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (o(), n("text", {
|
|
885
891
|
key: 1,
|
|
886
892
|
x: e.value.width,
|
|
@@ -888,9 +894,9 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
888
894
|
"text-anchor": "end",
|
|
889
895
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
890
896
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
891
|
-
style:
|
|
897
|
+
style: w(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
892
898
|
onClick: u[1] || (u[1] = (a) => E("tr"))
|
|
893
|
-
}, $(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
899
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Zt)) : c("", !0),
|
|
894
900
|
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (o(), n("text", {
|
|
895
901
|
key: 2,
|
|
896
902
|
x: e.value.width,
|
|
@@ -898,9 +904,9 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
898
904
|
"text-anchor": "end",
|
|
899
905
|
fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
900
906
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
901
|
-
style:
|
|
907
|
+
style: w(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
902
908
|
onClick: u[2] || (u[2] = (a) => E("br"))
|
|
903
|
-
}, $(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
909
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Kt)) : c("", !0),
|
|
904
910
|
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (o(), n("text", {
|
|
905
911
|
key: 3,
|
|
906
912
|
x: 0,
|
|
@@ -908,90 +914,90 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
908
914
|
"text-anchor": "start",
|
|
909
915
|
fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
910
916
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
911
|
-
style:
|
|
917
|
+
style: w(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
912
918
|
onClick: u[3] || (u[3] = (a) => E("bl"))
|
|
913
|
-
}, $(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
919
|
+
}, $(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, el)) : c("", !0)
|
|
914
920
|
])) : c("", !0),
|
|
915
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g",
|
|
921
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g", tl, [
|
|
916
922
|
v("text", {
|
|
917
923
|
x: e.value.centerX,
|
|
918
924
|
y: e.value.top - e.value.padding / 6,
|
|
919
925
|
"text-anchor": "middle",
|
|
920
926
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
921
927
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
922
|
-
}, $(y(
|
|
928
|
+
}, $(y(O)(
|
|
923
929
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
924
930
|
_.value.y.max,
|
|
925
|
-
y(
|
|
931
|
+
y(P)({
|
|
926
932
|
v: _.value.y.max,
|
|
927
933
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
928
934
|
})
|
|
929
|
-
)), 9,
|
|
935
|
+
)), 9, ll),
|
|
930
936
|
v("text", {
|
|
931
937
|
x: e.value.centerX,
|
|
932
938
|
y: e.value.top - e.value.padding / 2,
|
|
933
939
|
"text-anchor": "middle",
|
|
934
940
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
935
941
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
936
|
-
}, $(t.value.style.chart.layout.grid.yAxis.name), 9,
|
|
942
|
+
}, $(t.value.style.chart.layout.grid.yAxis.name), 9, al),
|
|
937
943
|
v("text", {
|
|
938
944
|
x: e.value.centerX,
|
|
939
945
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
940
946
|
"text-anchor": "middle",
|
|
941
947
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
942
948
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
943
|
-
}, $(y(
|
|
949
|
+
}, $(y(O)(
|
|
944
950
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
945
951
|
_.value.y.min,
|
|
946
|
-
y(
|
|
952
|
+
y(P)({
|
|
947
953
|
v: _.value.y.min,
|
|
948
954
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
949
955
|
})
|
|
950
|
-
)), 9,
|
|
956
|
+
)), 9, ul),
|
|
951
957
|
v("text", {
|
|
952
958
|
id: `xLabelMin_${z.value}`,
|
|
953
959
|
"text-anchor": "middle",
|
|
954
960
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
955
961
|
transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
|
|
956
962
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
957
|
-
}, $(y(
|
|
963
|
+
}, $(y(O)(
|
|
958
964
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
959
965
|
_.value.x.min,
|
|
960
|
-
y(
|
|
966
|
+
y(P)({
|
|
961
967
|
v: _.value.x.min,
|
|
962
968
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
963
969
|
})
|
|
964
|
-
)), 9,
|
|
970
|
+
)), 9, ol),
|
|
965
971
|
v("text", {
|
|
966
972
|
id: `xLabelMax_${z.value}`,
|
|
967
973
|
"text-anchor": "middle",
|
|
968
974
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
969
975
|
transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
970
976
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
971
|
-
}, $(y(
|
|
977
|
+
}, $(y(O)(
|
|
972
978
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
973
979
|
_.value.x.max,
|
|
974
|
-
y(
|
|
980
|
+
y(P)({
|
|
975
981
|
v: _.value.x.max,
|
|
976
982
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
977
983
|
})
|
|
978
|
-
)), 9,
|
|
984
|
+
)), 9, sl),
|
|
979
985
|
v("text", {
|
|
980
986
|
id: `xLabelMaxName_${z.value}`,
|
|
981
987
|
"text-anchor": "middle",
|
|
982
988
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
983
989
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
984
990
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
985
|
-
}, $(t.value.style.chart.layout.grid.xAxis.name), 9,
|
|
991
|
+
}, $(t.value.style.chart.layout.grid.xAxis.name), 9, rl)
|
|
986
992
|
])) : c("", !0),
|
|
987
|
-
t.value.style.chart.layout.areas.show ? (o(), n("g",
|
|
988
|
-
(o(!0), n(
|
|
993
|
+
t.value.style.chart.layout.areas.show ? (o(), n("g", nl, [
|
|
994
|
+
(o(!0), n(S, null, Y(C.value, (a, s) => (o(), n("g", null, [
|
|
989
995
|
a.series.length > 2 ? (o(), n("polygon", {
|
|
990
996
|
key: 0,
|
|
991
997
|
"data-cy-quadrant-area": "",
|
|
992
998
|
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),
|
|
993
|
-
points: y(
|
|
994
|
-
}, null, 8,
|
|
999
|
+
points: y(ft)(a)
|
|
1000
|
+
}, null, 8, il)) : c("", !0)
|
|
995
1001
|
]))), 256))
|
|
996
1002
|
])) : c("", !0),
|
|
997
1003
|
v("g", null, [
|
|
@@ -1003,7 +1009,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1003
1009
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1004
1010
|
fill: "transparent",
|
|
1005
1011
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1006
|
-
}, null, 10,
|
|
1012
|
+
}, null, 10, vl),
|
|
1007
1013
|
v("rect", {
|
|
1008
1014
|
onClick: u[5] || (u[5] = (a) => A("TR")),
|
|
1009
1015
|
x: e.value.centerX,
|
|
@@ -1012,7 +1018,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1012
1018
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1013
1019
|
fill: "transparent",
|
|
1014
1020
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1015
|
-
}, null, 10,
|
|
1021
|
+
}, null, 10, dl),
|
|
1016
1022
|
v("rect", {
|
|
1017
1023
|
onClick: u[6] || (u[6] = (a) => A("BR")),
|
|
1018
1024
|
x: e.value.centerX,
|
|
@@ -1021,7 +1027,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1021
1027
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1022
1028
|
fill: "transparent",
|
|
1023
1029
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1024
|
-
}, null, 10,
|
|
1030
|
+
}, null, 10, cl),
|
|
1025
1031
|
v("rect", {
|
|
1026
1032
|
onClick: u[7] || (u[7] = (a) => A("BL")),
|
|
1027
1033
|
x: e.value.left,
|
|
@@ -1030,154 +1036,154 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1030
1036
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1031
1037
|
fill: "transparent",
|
|
1032
1038
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1033
|
-
}, null, 10,
|
|
1039
|
+
}, null, 10, hl)
|
|
1034
1040
|
]),
|
|
1035
|
-
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(
|
|
1036
|
-
|
|
1037
|
-
(o(!0), n(
|
|
1038
|
-
(o(!0), n(
|
|
1041
|
+
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(S, { key: 6 }, [
|
|
1042
|
+
q.value.plotLabels.show ? (o(), n("g", fl, [
|
|
1043
|
+
(o(!0), n(S, null, Y(C.value, (a, s) => (o(), n(S, null, [
|
|
1044
|
+
(o(!0), n(S, null, Y(a.series, (r) => (o(), n("foreignObject", {
|
|
1039
1045
|
style: { overflow: "visible" },
|
|
1040
1046
|
height: "10",
|
|
1041
1047
|
width: "100",
|
|
1042
1048
|
x: r.x - 50,
|
|
1043
1049
|
y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1044
|
-
onMouseover: (b) =>
|
|
1050
|
+
onMouseover: (b) => Ye(a, r, s),
|
|
1045
1051
|
onMouseleave: u[9] || (u[9] = (b) => {
|
|
1046
|
-
j.value = !1,
|
|
1052
|
+
j.value = !1, U.value = null, D.value = null;
|
|
1047
1053
|
}),
|
|
1048
|
-
onClick: (b) =>
|
|
1054
|
+
onClick: (b) => Ae(a, r)
|
|
1049
1055
|
}, [
|
|
1050
1056
|
v("div", {
|
|
1051
|
-
style:
|
|
1057
|
+
style: w(`color:${y(pt)(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`)
|
|
1052
1058
|
}, $(r.name), 5)
|
|
1053
|
-
], 40,
|
|
1059
|
+
], 40, pl))), 256))
|
|
1054
1060
|
], 64))), 256))
|
|
1055
1061
|
])) : c("", !0)
|
|
1056
|
-
], 64)) : (o(), n(
|
|
1057
|
-
(o(!0), n(
|
|
1058
|
-
(o(!0), n(
|
|
1062
|
+
], 64)) : (o(), n(S, { key: 5 }, [
|
|
1063
|
+
(o(!0), n(S, null, Y(C.value, (a, s) => (o(), n("g", null, [
|
|
1064
|
+
(o(!0), n(S, null, Y(a.series, (r) => (o(), N(He, {
|
|
1059
1065
|
color: a.color,
|
|
1060
|
-
isSelected:
|
|
1066
|
+
isSelected: U.value && r.uid === U.value,
|
|
1061
1067
|
plot: r,
|
|
1062
1068
|
radius: t.value.style.chart.layout.plots.radius / (p.value ? 1.5 : 1),
|
|
1063
1069
|
shape: a.shape,
|
|
1064
1070
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1065
1071
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
1066
|
-
onMouseover: (b) =>
|
|
1072
|
+
onMouseover: (b) => Ye(a, r, s),
|
|
1067
1073
|
onMouseleave: u[8] || (u[8] = (b) => {
|
|
1068
|
-
j.value = !1,
|
|
1074
|
+
j.value = !1, U.value = null, D.value = null;
|
|
1069
1075
|
}),
|
|
1070
|
-
onClick: (b) =>
|
|
1076
|
+
onClick: (b) => Ae(a, r)
|
|
1071
1077
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseover", "onClick"]))), 256))
|
|
1072
1078
|
]))), 256)),
|
|
1073
|
-
|
|
1074
|
-
(o(!0), n(
|
|
1075
|
-
(o(!0), n(
|
|
1079
|
+
q.value.plotLabels.show ? (o(), n("g", yl, [
|
|
1080
|
+
(o(!0), n(S, null, Y(C.value, (a) => (o(), n("g", null, [
|
|
1081
|
+
(o(!0), n(S, null, Y(a.series, (s) => (o(), n("text", {
|
|
1076
1082
|
x: s.x,
|
|
1077
1083
|
y: s.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1078
1084
|
"text-anchor": "middle",
|
|
1079
1085
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1080
1086
|
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
1081
|
-
}, $(s.name), 9,
|
|
1087
|
+
}, $(s.name), 9, bl))), 256))
|
|
1082
1088
|
]))), 256))
|
|
1083
1089
|
])) : c("", !0)
|
|
1084
1090
|
], 64)),
|
|
1085
|
-
p.value ? (o(), n("g",
|
|
1091
|
+
p.value ? (o(), n("g", gl, [
|
|
1086
1092
|
i.value === "TL" ? (o(), n("polygon", {
|
|
1087
1093
|
key: 0,
|
|
1088
1094
|
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}`,
|
|
1089
1095
|
fill: t.value.style.chart.backgroundColor,
|
|
1090
1096
|
style: { opacity: "1" }
|
|
1091
|
-
}, null, 8,
|
|
1097
|
+
}, null, 8, ml)) : c("", !0),
|
|
1092
1098
|
i.value === "TR" ? (o(), n("polygon", {
|
|
1093
1099
|
key: 1,
|
|
1094
1100
|
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}`,
|
|
1095
1101
|
fill: t.value.style.chart.backgroundColor,
|
|
1096
1102
|
style: { opacity: "1" }
|
|
1097
|
-
}, null, 8,
|
|
1103
|
+
}, null, 8, xl)) : c("", !0),
|
|
1098
1104
|
i.value === "BR" ? (o(), n("polygon", {
|
|
1099
1105
|
key: 2,
|
|
1100
1106
|
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}`,
|
|
1101
1107
|
fill: t.value.style.chart.backgroundColor,
|
|
1102
1108
|
style: { opacity: "1" }
|
|
1103
|
-
}, null, 8,
|
|
1109
|
+
}, null, 8, $l)) : c("", !0),
|
|
1104
1110
|
i.value === "BL" ? (o(), n("polygon", {
|
|
1105
1111
|
key: 3,
|
|
1106
1112
|
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}`,
|
|
1107
1113
|
fill: t.value.style.chart.backgroundColor,
|
|
1108
1114
|
style: { opacity: "1" }
|
|
1109
|
-
}, null, 8,
|
|
1115
|
+
}, null, 8, kl)) : c("", !0)
|
|
1110
1116
|
])) : c("", !0),
|
|
1111
|
-
i.value && !K.value ? (o(), n("g",
|
|
1117
|
+
i.value && !K.value ? (o(), n("g", Ll, [
|
|
1112
1118
|
v("text", {
|
|
1113
|
-
x:
|
|
1114
|
-
y:
|
|
1115
|
-
"font-size":
|
|
1116
|
-
fill:
|
|
1119
|
+
x: V.value.x,
|
|
1120
|
+
y: V.value.y - V.value.fontSize / 1.5,
|
|
1121
|
+
"font-size": V.value.fontSize / 1.5,
|
|
1122
|
+
fill: V.value.fill,
|
|
1117
1123
|
"text-anchor": "middle",
|
|
1118
|
-
"font-weight":
|
|
1119
|
-
}, $(
|
|
1124
|
+
"font-weight": V.value.bold ? "bold" : "normal"
|
|
1125
|
+
}, $(V.value.text), 9, wl)
|
|
1120
1126
|
])) : c("", !0),
|
|
1121
|
-
p.value && i.value ? (o(), n("g",
|
|
1127
|
+
p.value && i.value ? (o(), n("g", ql, [
|
|
1122
1128
|
v("rect", {
|
|
1123
1129
|
x: k.value[i.value].tl.x,
|
|
1124
1130
|
y: k.value[i.value].tl.y,
|
|
1125
1131
|
height: "20",
|
|
1126
1132
|
width: "20",
|
|
1127
1133
|
fill: k.value[i.value].tl.fill,
|
|
1128
|
-
style:
|
|
1134
|
+
style: w(`cursor: pointer; opacity: ${i.value === "TL" ? 1 : 0.2}`),
|
|
1129
1135
|
onClick: u[10] || (u[10] = (a) => A("TL")),
|
|
1130
1136
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TL" })
|
|
1131
|
-
}, null, 14,
|
|
1137
|
+
}, null, 14, _l),
|
|
1132
1138
|
v("rect", {
|
|
1133
1139
|
x: k.value[i.value].tr.x,
|
|
1134
1140
|
y: k.value[i.value].tr.y,
|
|
1135
1141
|
height: "20",
|
|
1136
1142
|
width: "20",
|
|
1137
1143
|
fill: k.value[i.value].tr.fill,
|
|
1138
|
-
style:
|
|
1144
|
+
style: w(`cursor: pointer; opacity: ${i.value === "TR" ? 1 : 0.2}`),
|
|
1139
1145
|
onClick: u[11] || (u[11] = (a) => A("TR")),
|
|
1140
1146
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TR" })
|
|
1141
|
-
}, null, 14,
|
|
1147
|
+
}, null, 14, Sl),
|
|
1142
1148
|
v("rect", {
|
|
1143
1149
|
x: k.value[i.value].br.x,
|
|
1144
1150
|
y: k.value[i.value].br.y,
|
|
1145
1151
|
height: "20",
|
|
1146
1152
|
width: "20",
|
|
1147
1153
|
fill: k.value[i.value].br.fill,
|
|
1148
|
-
style:
|
|
1154
|
+
style: w(`cursor: pointer; opacity: ${i.value === "BR" ? 1 : 0.2}`),
|
|
1149
1155
|
onClick: u[12] || (u[12] = (a) => A("BR")),
|
|
1150
1156
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BR" })
|
|
1151
|
-
}, null, 14,
|
|
1157
|
+
}, null, 14, Cl),
|
|
1152
1158
|
v("rect", {
|
|
1153
1159
|
x: k.value[i.value].bl.x,
|
|
1154
1160
|
y: k.value[i.value].bl.y,
|
|
1155
1161
|
height: "20",
|
|
1156
1162
|
width: "20",
|
|
1157
1163
|
fill: k.value[i.value].bl.fill,
|
|
1158
|
-
style:
|
|
1164
|
+
style: w(`cursor: pointer; opacity: ${i.value === "BL" ? 1 : 0.2}`),
|
|
1159
1165
|
onClick: u[13] || (u[13] = (a) => A("BL")),
|
|
1160
1166
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BL" })
|
|
1161
|
-
}, null, 14,
|
|
1167
|
+
}, null, 14, zl),
|
|
1162
1168
|
v("path", {
|
|
1163
1169
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1164
1170
|
stroke: t.value.style.chart.backgroundColor,
|
|
1165
1171
|
"stroke-width": 1,
|
|
1166
1172
|
d: k.value[i.value].crosshairs.horizontal
|
|
1167
|
-
}, null, 8,
|
|
1173
|
+
}, null, 8, Tl),
|
|
1168
1174
|
v("path", {
|
|
1169
1175
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1170
1176
|
stroke: t.value.style.chart.backgroundColor,
|
|
1171
1177
|
"stroke-width": 1,
|
|
1172
1178
|
d: k.value[i.value].crosshairs.vertical
|
|
1173
|
-
}, null, 8,
|
|
1179
|
+
}, null, 8, Wl)
|
|
1174
1180
|
])) : c("", !0),
|
|
1175
1181
|
L(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1176
|
-
], 14,
|
|
1177
|
-
l.$slots.watermark ? (o(), n("div",
|
|
1178
|
-
L(l.$slots, "watermark", G(Q({ isPrinting: y(
|
|
1182
|
+
], 14, Ot)) : c("", !0),
|
|
1183
|
+
l.$slots.watermark ? (o(), n("div", Xl, [
|
|
1184
|
+
L(l.$slots, "watermark", G(Q({ isPrinting: y(we) || y(qe) })), void 0, !0)
|
|
1179
1185
|
])) : c("", !0),
|
|
1180
|
-
J.value ? c("", !0) : (o(), N(
|
|
1186
|
+
J.value ? c("", !0) : (o(), N(Tt, {
|
|
1181
1187
|
key: 6,
|
|
1182
1188
|
config: {
|
|
1183
1189
|
type: "quadrant",
|
|
@@ -1199,23 +1205,23 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1199
1205
|
ref_key: "chartLegend",
|
|
1200
1206
|
ref: he
|
|
1201
1207
|
}, [
|
|
1202
|
-
t.value.style.chart.legend.show ? (o(), N(
|
|
1208
|
+
t.value.style.chart.legend.show ? (o(), N(Ct, {
|
|
1203
1209
|
key: `legend_${ge.value}`,
|
|
1204
|
-
legendSet:
|
|
1205
|
-
config:
|
|
1210
|
+
legendSet: We.value,
|
|
1211
|
+
config: et.value,
|
|
1206
1212
|
onClickMarker: u[14] || (u[14] = ({ legend: a }) => se(a.id))
|
|
1207
1213
|
}, {
|
|
1208
1214
|
item: x(({ legend: a }) => [
|
|
1209
1215
|
v("div", {
|
|
1210
1216
|
"data-cy-legend-item": "",
|
|
1211
1217
|
onClick: (s) => se(a.id),
|
|
1212
|
-
style:
|
|
1213
|
-
}, $(a.name), 13,
|
|
1218
|
+
style: w(`opacity:${M.value.includes(a.id) ? 0.5 : 1}`)
|
|
1219
|
+
}, $(a.name), 13, Yl)
|
|
1214
1220
|
]),
|
|
1215
1221
|
_: 1
|
|
1216
1222
|
}, 8, ["legendSet", "config"])) : L(l.$slots, "legend", {
|
|
1217
1223
|
key: 1,
|
|
1218
|
-
legend:
|
|
1224
|
+
legend: We.value
|
|
1219
1225
|
}, void 0, !0)
|
|
1220
1226
|
], 512),
|
|
1221
1227
|
l.$slots.source ? (o(), n("div", {
|
|
@@ -1226,8 +1232,8 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1226
1232
|
}, [
|
|
1227
1233
|
L(l.$slots, "source", {}, void 0, !0)
|
|
1228
1234
|
], 512)) : c("", !0),
|
|
1229
|
-
ie(
|
|
1230
|
-
show:
|
|
1235
|
+
ie(St, {
|
|
1236
|
+
show: q.value.showTooltip && j.value,
|
|
1231
1237
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
1232
1238
|
color: t.value.style.chart.tooltip.color,
|
|
1233
1239
|
borderRadius: t.value.style.chart.tooltip.borderRadius,
|
|
@@ -1237,7 +1243,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1237
1243
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
1238
1244
|
position: t.value.style.chart.tooltip.position,
|
|
1239
1245
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1240
|
-
parent:
|
|
1246
|
+
parent: B.value,
|
|
1241
1247
|
content: oe.value,
|
|
1242
1248
|
isFullscreen: R.value,
|
|
1243
1249
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
@@ -1249,11 +1255,11 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1249
1255
|
L(l.$slots, "tooltip-after", G(Q({ ...re.value })), void 0, !0)
|
|
1250
1256
|
]),
|
|
1251
1257
|
default: x(() => [
|
|
1252
|
-
t.value.style.chart.tooltip.showShape ? (o(), n("svg",
|
|
1253
|
-
ie(
|
|
1258
|
+
t.value.style.chart.tooltip.showShape ? (o(), n("svg", Al, [
|
|
1259
|
+
ie(He, {
|
|
1254
1260
|
plot: { x: 10, y: 10 },
|
|
1255
|
-
shape:
|
|
1256
|
-
color:
|
|
1261
|
+
shape: D.value.shape,
|
|
1262
|
+
color: D.value.color,
|
|
1257
1263
|
radius: 8,
|
|
1258
1264
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1259
1265
|
"stroke-width": t.value.style.chart.layout.plots.outlineWidth
|
|
@@ -1262,11 +1268,11 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1262
1268
|
]),
|
|
1263
1269
|
_: 3
|
|
1264
1270
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
1265
|
-
J.value ? (o(), N(
|
|
1271
|
+
J.value ? (o(), N(Wt, {
|
|
1266
1272
|
key: 8,
|
|
1267
1273
|
hideDetails: "",
|
|
1268
1274
|
config: {
|
|
1269
|
-
open:
|
|
1275
|
+
open: q.value.showTable,
|
|
1270
1276
|
maxHeight: 1e4,
|
|
1271
1277
|
body: {
|
|
1272
1278
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -1279,31 +1285,31 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox", "id"], At = ["id"], Mt = ["stop-col
|
|
|
1279
1285
|
}
|
|
1280
1286
|
}, {
|
|
1281
1287
|
content: x(() => [
|
|
1282
|
-
(o(), N(
|
|
1288
|
+
(o(), N(zt, {
|
|
1283
1289
|
key: `table_${pe.value}`,
|
|
1284
1290
|
colNames: te.value.colNames,
|
|
1285
1291
|
head: te.value.head,
|
|
1286
1292
|
body: te.value.body,
|
|
1287
1293
|
config: te.value.config,
|
|
1288
1294
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1289
|
-
onClose: u[15] || (u[15] = (a) =>
|
|
1295
|
+
onClose: u[15] || (u[15] = (a) => q.value.showTable = !1)
|
|
1290
1296
|
}, {
|
|
1291
1297
|
th: x(({ th: a }) => [
|
|
1292
|
-
|
|
1298
|
+
ot($(a), 1)
|
|
1293
1299
|
]),
|
|
1294
1300
|
td: x(({ td: a }) => [
|
|
1295
1301
|
v("div", {
|
|
1296
1302
|
innerHTML: a.name || a
|
|
1297
|
-
}, null, 8,
|
|
1303
|
+
}, null, 8, Ml)
|
|
1298
1304
|
]),
|
|
1299
1305
|
_: 1
|
|
1300
1306
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1301
1307
|
]),
|
|
1302
1308
|
_: 1
|
|
1303
1309
|
}, 8, ["config"])) : c("", !0)
|
|
1304
|
-
],
|
|
1310
|
+
], 46, Nt));
|
|
1305
1311
|
}
|
|
1306
|
-
},
|
|
1312
|
+
}, Kl = /* @__PURE__ */ Mt(Nl, [["__scopeId", "data-v-08c6af13"]]);
|
|
1307
1313
|
export {
|
|
1308
|
-
|
|
1314
|
+
Kl as default
|
|
1309
1315
|
};
|