vue-data-ui 2.3.74 → 2.3.76
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/dist/{Arrow-DK6F5Fq3.cjs → Arrow-D7M4-bW7.cjs} +1 -1
- package/dist/{Arrow-CYCrAySW.js → Arrow-DY9RKUmG.js} +1 -1
- package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon-DB7Apwv_.cjs} +1 -1
- package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-rwm-10Hu.js} +1 -1
- package/dist/{DataTable-BNFSPjhv.cjs → DataTable-CsNozyz7.cjs} +1 -1
- package/dist/{DataTable-CKdV-L0e.js → DataTable-e2fnfjXV.js} +2 -2
- package/dist/{Legend-Cj7T-DqJ.js → Legend-5cQ0xZjK.js} +1 -1
- package/dist/{Legend-Do2kcWFT.cjs → Legend-DgFd-O0m.cjs} +1 -1
- package/dist/{Shape-Bo8ZjViG.js → Shape-CiTElr_0.js} +1 -1
- package/dist/{Shape-DRDUAe_o.cjs → Shape-yPECDLiP.cjs} +1 -1
- package/dist/{Slicer-D8jHSP7U.cjs → Slicer-DaZgCKV7.cjs} +1 -1
- package/dist/{Slicer-4nGKvUYF.js → Slicer-DwBBu3kB.js} +2 -2
- package/dist/{Title-D5cATWsL.cjs → Title-3EduyW4p.cjs} +1 -1
- package/dist/{Title-DZjnxQdN.js → Title-gUz6GDA3.js} +1 -1
- package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DScSrYXJ.cjs} +1 -1
- package/dist/{Tooltip--kgFEVZs.js → Tooltip-DfSM1mNP.js} +1 -1
- package/dist/{index-D_32ZGWd.cjs → index-BTgtr0F8.cjs} +1 -1
- package/dist/{index-C8SH0f2u.js → index-CaV1s-yZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-CisbRRo_.cjs} +1 -1
- package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-tWCzZrLx.js} +1 -1
- package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-DzTaA1eh.cjs} +1 -1
- package/dist/{usePrinter-Dj50NAxo.js → usePrinter-rvJyT65A.js} +1 -1
- package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-BGkWRPUY.cjs} +1 -1
- package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-BO89gTtq.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-CcTMIHiB.js} +499 -486
- package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +19 -0
- package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-7e4Myhcg.cjs} +1 -1
- package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-CpzGQ63y.js} +3 -3
- package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-D71ZLkVV.js} +182 -169
- package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-B8Iu6cYt.js} +1 -1
- package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-BKQrweqm.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Bx4QVkY0.js} +295 -279
- package/dist/vue-ui-candlestick-DAc1FQ-i.cjs +2 -0
- package/dist/vue-ui-carousel-table-uFRqkghO.cjs +1 -0
- package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-xuQG6bcH.js} +146 -129
- package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Bo6rDcU7.js} +215 -204
- package/dist/vue-ui-chestnut-DJkm72oD.cjs +6 -0
- package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-BQbeuW-k.cjs} +1 -1
- package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-C0KOqEOq.js} +2 -2
- package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-0Hsjx-bO.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BT71xS7P.js} +2 -2
- package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-BRqpKYvD.js} +2 -2
- package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-C2ReH6w0.cjs} +1 -1
- package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-NQW-3prf.js} +376 -362
- package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-jbXQQGTc.js} +270 -255
- package/dist/vue-ui-donut-v81suIOX.cjs +1 -0
- package/dist/vue-ui-dumbbell-DXQSg6wa.cjs +9 -0
- package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-Dyz8xdtC.js} +232 -213
- package/dist/vue-ui-flow-BL3JWW1m.js +481 -0
- package/dist/vue-ui-flow-UqSNwH9d.cjs +1 -0
- package/dist/vue-ui-galaxy-DTQWGvRH.cjs +1 -0
- package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-Dx9nsOuM.js} +175 -162
- package/dist/vue-ui-gauge-BUB7H0qA.cjs +1 -0
- package/dist/vue-ui-gauge-CLaKGi0-.js +500 -0
- package/dist/vue-ui-gizmo-Kitfqu0J.cjs +1 -0
- package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-of-4s5HG.js} +66 -53
- package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BIzjOMXO.js} +157 -143
- package/dist/vue-ui-heatmap-DUw2350O.cjs +1 -0
- package/dist/vue-ui-kpi-By3YPwgo.js +98 -0
- package/dist/vue-ui-kpi-DyL2Hcz-.cjs +1 -0
- package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-C048-8Kd.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-DnK3V2z2.js} +2 -2
- package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-BfhbIqa5.js} +177 -167
- package/dist/vue-ui-molecule-D-ahly6R.cjs +1 -0
- package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +1 -0
- package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-DXxEKr3x.js} +172 -161
- package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BdUdHFd-.js} +377 -364
- package/dist/vue-ui-nested-donuts-C7qM_FRw.cjs +17 -0
- package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-D0vF5jBt.js} +191 -177
- package/dist/vue-ui-onion-DX3gofXZ.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-CTZY-pY8.js} +298 -284
- package/dist/vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs +8 -0
- package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-ByY8GP3y.js} +347 -334
- package/dist/vue-ui-quadrant-CgApzie6.cjs +1 -0
- package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-DTxJ__7j.js} +483 -469
- package/dist/vue-ui-quick-chart-DWZEgUJF.cjs +15 -0
- package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-5UBmAU6W.js} +202 -189
- package/dist/vue-ui-radar-DEED0rTz.cjs +1 -0
- package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-Ce_Ewqtl.cjs} +1 -1
- package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-Dr6jquxh.js} +2 -2
- package/dist/vue-ui-relation-circle-BU8i2miI.js +322 -0
- package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +1 -0
- package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-Ctl3Jywh.js} +203 -189
- package/dist/vue-ui-rings-OQ8a1Ruw.cjs +2 -0
- package/dist/vue-ui-scatter-B8StSjt8.cjs +1 -0
- package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-BwJ_koWT.js} +284 -270
- package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-BS3L5vhN.js} +1 -1
- package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-bAVk3EPl.cjs} +1 -1
- package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-CMQzFTs9.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-CvFX_ExX.js} +2 -2
- package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CGYZpNt9.js} +2 -2
- package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-sF8QIso1.cjs} +1 -1
- package/dist/vue-ui-spark-trend-B4XSSKl9.js +263 -0
- package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +1 -0
- package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BbsJGDMZ.js} +95 -87
- package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +1 -0
- package/dist/vue-ui-sparkgauge-BKyQoI7C.cjs +1 -0
- package/dist/vue-ui-sparkgauge-D4w_i_QJ.js +178 -0
- package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-CYybrW-6.js} +79 -68
- package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +1 -0
- package/dist/vue-ui-sparkline-CDowaDRS.cjs +1 -0
- package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DjN1SVdO.js} +142 -123
- package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-BLMhJxaN.js} +120 -104
- package/dist/vue-ui-sparkstackbar-BZ2bESBi.cjs +1 -0
- package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-BTKOHUYc.js} +235 -222
- package/dist/vue-ui-stackbar-DRHaJFR8.cjs +6 -0
- package/dist/vue-ui-strip-plot-DxQxFbWg.cjs +1 -0
- package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-o6GTsGAT.js} +246 -232
- package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-BFIj1Rgh.cjs} +1 -1
- package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-CnquiTpr.js} +1 -1
- package/dist/vue-ui-table-heatmap-CCGK12Fa.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CZRIwv-Q.js} +106 -95
- package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-B3zEeq6Z.js} +151 -138
- package/dist/vue-ui-table-sparkline-DYmgfHz4.cjs +1 -0
- package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BopiohUh.js} +116 -104
- package/dist/vue-ui-thermometer-CzPRBt6c.cjs +1 -0
- package/dist/vue-ui-timer-Bonw69Lt.cjs +64 -0
- package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-C7WkW8hK.js} +191 -176
- package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BurRtFv4.js} +115 -103
- package/dist/vue-ui-tiremarks-DkIGfq8t.cjs +1 -0
- package/dist/vue-ui-treemap-CalhJmnp.cjs +1 -0
- package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-DWy4voIr.js} +251 -237
- package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-CJW1YhtY.js} +314 -299
- package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +4 -0
- package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-DB7X6nTS.js} +285 -265
- package/dist/vue-ui-waffle-faQMBYNx.cjs +1 -0
- package/dist/vue-ui-wheel-BzjbGP6a.cjs +1 -0
- package/dist/vue-ui-wheel-CryKap2E.js +255 -0
- package/dist/vue-ui-word-cloud-COqUkvei.js +512 -0
- package/dist/vue-ui-word-cloud-DJN9I4q4.cjs +1 -0
- package/dist/vue-ui-xy-BmA0tspd.cjs +3 -0
- package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-b1Z_HPsx.js} +300 -274
- package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-BgbLnY5B.js} +345 -327
- package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +9 -0
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
- package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
- package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
- package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
- package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
- package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
- package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
- package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
- package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
- package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
- package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
- package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
- package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
- package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
- package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
- package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
- package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
- package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
- package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
- package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
- package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
- package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
- package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
- package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
- package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
- package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
- package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
- package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
- package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
- package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
- package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
- package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
- package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
- package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
- package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
- package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
- package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
- package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
- package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
- package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
- package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
- package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
- package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { computed as m, ref as h,
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { L as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
1
|
+
import { computed as m, ref as h, watch as Ye, onMounted as Ge, onBeforeUnmount as Qe, openBlock as o, createElementBlock as n, normalizeClass as T, normalizeStyle as L, createBlock as P, createCommentVNode as c, unref as y, createSlots as Je, withCtx as k, renderSlot as q, normalizeProps as ee, guardReactiveProps as te, createElementVNode as v, Fragment as S, renderList as Y, toDisplayString as x, createVNode as Me, createTextVNode as je, nextTick as Ze } from "vue";
|
|
2
|
+
import { u as Ke, c as Ne, t as et, a as tt, p as re, o as lt, e as F, b as at, w as le, d as ut, i as A, f as V, X as ot, v as st, R as rt, E as nt, x as it, y as vt, q as dt, r as ct } from "./index-CaV1s-yZ.js";
|
|
3
|
+
import { t as ht, u as yt } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as bt } from "./Title-gUz6GDA3.js";
|
|
5
|
+
import { u as ft, U as pt } from "./usePrinter-rvJyT65A.js";
|
|
6
|
+
import { _ as gt } from "./Tooltip-DfSM1mNP.js";
|
|
7
|
+
import { _ as Ae } from "./Shape-CiTElr_0.js";
|
|
8
|
+
import { L as mt } from "./Legend-5cQ0xZjK.js";
|
|
9
|
+
import { D as xt } from "./DataTable-e2fnfjXV.js";
|
|
10
|
+
import $t from "./vue-ui-skeleton-CvFX_ExX.js";
|
|
11
|
+
import kt from "./vue-ui-accordion-CpzGQ63y.js";
|
|
12
|
+
import { u as Ve } from "./useNestedProp-tWCzZrLx.js";
|
|
13
|
+
import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const wt = ["id"], _t = ["xmlns", "viewBox", "id"], qt = ["id"], St = ["stop-color"], Ct = ["stop-color"], zt = { key: 0 }, Tt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Wt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Xt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Yt = { key: 1 }, Mt = ["points", "fill"], Nt = ["points", "fill"], At = ["points", "fill"], Vt = ["points", "fill"], Bt = { key: 2 }, Pt = ["y", "fill", "font-size"], Rt = ["x", "y", "fill", "font-size"], Ft = ["x", "y", "fill", "font-size"], Ht = ["y", "fill", "font-size"], Ot = { key: 3 }, It = ["x", "y", "font-size", "fill"], Dt = ["x", "y", "font-size", "fill"], Et = ["x", "y", "font-size", "fill"], Ut = ["id", "font-size", "transform", "fill"], Gt = ["id", "font-size", "transform", "fill"], Qt = ["id", "font-size", "transform", "fill"], Jt = { key: 4 }, jt = ["fill", "points"], Zt = ["x", "y", "width", "height"], Kt = ["x", "y", "width", "height"], el = ["x", "y", "width", "height"], tl = ["x", "y", "width", "height"], ll = { key: 0 }, al = ["x", "y", "font-size", "fill"], ul = { key: 0 }, ol = ["x", "y", "onMouseover", "onClick"], sl = {
|
|
15
15
|
key: 7,
|
|
16
16
|
class: "vue-ui-dna"
|
|
17
|
-
},
|
|
17
|
+
}, rl = ["points", "fill"], nl = ["points", "fill"], il = ["points", "fill"], vl = ["points", "fill"], dl = { key: 8 }, cl = ["x", "y", "font-size", "fill", "font-weight"], hl = { key: 9 }, yl = ["x", "y", "fill"], bl = ["x", "y", "fill"], fl = ["x", "y", "fill"], pl = ["x", "y", "fill"], gl = ["stroke", "d"], ml = ["stroke", "d"], xl = {
|
|
18
18
|
key: 3,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, $l = ["onClick"], kl = {
|
|
21
21
|
key: 0,
|
|
22
22
|
height: "14",
|
|
23
23
|
width: "14",
|
|
24
24
|
viewBox: "0 0 20 20"
|
|
25
|
-
},
|
|
25
|
+
}, Ll = ["innerHTML"], wl = {
|
|
26
26
|
__name: "vue-ui-quadrant",
|
|
27
27
|
props: {
|
|
28
28
|
config: {
|
|
@@ -39,62 +39,73 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
42
|
-
setup(
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
setup(Be, { expose: Pe, emit: ae }) {
|
|
43
|
+
const W = Be, { vue_ui_quadrant: Re } = Ke(), G = m(() => !!W.dataset && W.dataset.length), z = h(Ne()), Fe = h(null), Q = h(!1), ue = h(""), ne = h(0), p = h(!1), H = h(null), ie = h(null), ve = h(null), de = h(0), ce = h(0), he = h(0), t = m({
|
|
44
|
+
get: () => ye(),
|
|
45
|
+
set: (l) => l
|
|
46
|
+
});
|
|
47
|
+
function ye() {
|
|
48
|
+
const l = Ve({
|
|
49
|
+
userConfig: W.config,
|
|
50
|
+
defaultConfig: Re
|
|
47
51
|
});
|
|
48
52
|
return l.theme ? {
|
|
49
|
-
...
|
|
50
|
-
userConfig:
|
|
53
|
+
...Ve({
|
|
54
|
+
userConfig: et.vue_ui_quadrant[l.theme] || W.config,
|
|
51
55
|
defaultConfig: l
|
|
52
56
|
}),
|
|
53
|
-
customPalette:
|
|
57
|
+
customPalette: tt[l.theme] || re
|
|
54
58
|
} : l;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
59
|
+
}
|
|
60
|
+
Ye(() => W.config, (l) => {
|
|
61
|
+
t.value = ye(), be(), de.value += 1, ce.value += 1, he.value += 1;
|
|
62
|
+
}, { deep: !0 });
|
|
63
|
+
const J = h(null);
|
|
64
|
+
function be() {
|
|
65
|
+
if (lt(W.dataset) ? F({
|
|
58
66
|
componentName: "VueUiQuadrant",
|
|
59
67
|
type: "dataset"
|
|
60
|
-
}) :
|
|
61
|
-
[null, void 0].includes(l.name) &&
|
|
68
|
+
}) : W.dataset.forEach((l, u) => {
|
|
69
|
+
[null, void 0].includes(l.name) && F({
|
|
62
70
|
componentName: "VueUiQuadrant",
|
|
63
71
|
type: "datasetSerieAttribute",
|
|
64
72
|
property: "name",
|
|
65
73
|
index: u
|
|
66
|
-
}), [null, void 0].includes(l.series) ?
|
|
74
|
+
}), [null, void 0].includes(l.series) ? F({
|
|
67
75
|
componentName: "VueUiQuadrant",
|
|
68
76
|
type: "datasetSerieAttribute",
|
|
69
77
|
property: "series",
|
|
70
78
|
index: u
|
|
71
|
-
}) : l.series.forEach((a,
|
|
72
|
-
[null, void 0].includes(a.name) &&
|
|
79
|
+
}) : l.series.forEach((a, s) => {
|
|
80
|
+
[null, void 0].includes(a.name) && F({
|
|
73
81
|
componentName: "VueUiQuadrant",
|
|
74
82
|
type: "datasetSerieAttribute",
|
|
75
83
|
property: "name",
|
|
76
84
|
key: "series",
|
|
77
|
-
index:
|
|
85
|
+
index: s
|
|
78
86
|
});
|
|
79
87
|
});
|
|
80
88
|
}), t.value.responsive) {
|
|
81
|
-
const l =
|
|
82
|
-
const { width: u, height: a } =
|
|
83
|
-
chart:
|
|
84
|
-
title: t.value.style.chart.title.text ?
|
|
85
|
-
legend: t.value.style.chart.legend.show ?
|
|
89
|
+
const l = ht(() => {
|
|
90
|
+
const { width: u, height: a } = yt({
|
|
91
|
+
chart: H.value,
|
|
92
|
+
title: t.value.style.chart.title.text ? ie.value : null,
|
|
93
|
+
legend: t.value.style.chart.legend.show ? ve.value : null
|
|
86
94
|
});
|
|
87
95
|
g.value = 48, e.value.height = a, e.value.usableHeight = a - g.value * 2, e.value.width = u, e.value.usableWidth = u - g.value * 2, e.value.top = g.value, e.value.left = g.value, e.value.right = u - g.value, e.value.bottom = a - g.value, e.value.centerX = u / 2, e.value.centerY = a - a / 2, e.value.padding = g.value;
|
|
88
96
|
});
|
|
89
|
-
J.value = new ResizeObserver(l), J.value.observe(
|
|
97
|
+
J.value = new ResizeObserver(l), J.value.observe(H.value.parentNode);
|
|
90
98
|
}
|
|
91
|
-
}
|
|
99
|
+
}
|
|
100
|
+
Ge(() => {
|
|
101
|
+
be();
|
|
102
|
+
}), Qe(() => {
|
|
92
103
|
J.value && J.value.disconnect();
|
|
93
104
|
});
|
|
94
|
-
const { isPrinting:
|
|
105
|
+
const { isPrinting: fe, isImaging: pe, generatePdf: ge, generateImage: me } = ft({
|
|
95
106
|
elementId: `vue-ui-quadrant_${z.value}`,
|
|
96
107
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant"
|
|
97
|
-
}),
|
|
108
|
+
}), xe = m(() => at(t.value.customPalette)), w = h({
|
|
98
109
|
plotLabels: {
|
|
99
110
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
100
111
|
},
|
|
@@ -117,15 +128,15 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
117
128
|
startX: 0,
|
|
118
129
|
startY: 0
|
|
119
130
|
});
|
|
120
|
-
|
|
131
|
+
Ye(() => e.value, (l) => {
|
|
121
132
|
l && (d.value = {
|
|
122
133
|
...JSON.parse(JSON.stringify(e.value)),
|
|
123
134
|
startX: 0,
|
|
124
135
|
startY: 0
|
|
125
136
|
});
|
|
126
137
|
}, { deep: !0 });
|
|
127
|
-
const
|
|
128
|
-
switch (
|
|
138
|
+
const i = h(null), B = m(() => {
|
|
139
|
+
switch (i.value) {
|
|
129
140
|
case "TL":
|
|
130
141
|
return {
|
|
131
142
|
x: d.value.startX + d.value.width / 2,
|
|
@@ -165,34 +176,34 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
165
176
|
default:
|
|
166
177
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
167
178
|
}
|
|
168
|
-
}),
|
|
169
|
-
function
|
|
170
|
-
|
|
179
|
+
}), He = h(null), j = h(!1);
|
|
180
|
+
function O({ targetX: l, targetY: u, targetW: a, targetH: s, side: r }) {
|
|
181
|
+
i.value && E(r);
|
|
171
182
|
const b = {
|
|
172
183
|
x: l - d.value.startX,
|
|
173
184
|
y: u - d.value.startY,
|
|
174
185
|
w: a - d.value.width,
|
|
175
|
-
h:
|
|
186
|
+
h: s - d.value.height
|
|
176
187
|
}, f = t.value.zoomAnimationFrames;
|
|
177
|
-
let
|
|
178
|
-
function
|
|
179
|
-
j.value = !0, d.value.startX += b.x / f, d.value.startY += b.y / f, d.value.width += b.w / f, d.value.height += b.h / f,
|
|
188
|
+
let X = 0;
|
|
189
|
+
function Xe() {
|
|
190
|
+
j.value = !0, d.value.startX += b.x / f, d.value.startY += b.y / f, d.value.width += b.w / f, d.value.height += b.h / f, X += 1, X < f ? He.value = requestAnimationFrame(Xe) : j.value = !1;
|
|
180
191
|
}
|
|
181
|
-
|
|
192
|
+
Xe();
|
|
182
193
|
}
|
|
183
194
|
function M(l) {
|
|
184
195
|
if (!j.value)
|
|
185
|
-
if (p.value &&
|
|
186
|
-
|
|
196
|
+
if (p.value && i.value === l)
|
|
197
|
+
O({
|
|
187
198
|
targetX: 0,
|
|
188
199
|
targetY: 0,
|
|
189
200
|
targetW: e.value.width,
|
|
190
201
|
targetH: e.value.height
|
|
191
|
-
}),
|
|
202
|
+
}), i.value = null, p.value = !1;
|
|
192
203
|
else {
|
|
193
|
-
switch (
|
|
204
|
+
switch (i.value = l, l) {
|
|
194
205
|
case "TL":
|
|
195
|
-
|
|
206
|
+
O({
|
|
196
207
|
targetX: 0,
|
|
197
208
|
targetY: 0,
|
|
198
209
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -201,7 +212,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
201
212
|
});
|
|
202
213
|
break;
|
|
203
214
|
case "TR":
|
|
204
|
-
|
|
215
|
+
O({
|
|
205
216
|
targetX: e.value.width / 2 - e.value.left,
|
|
206
217
|
targetY: 0,
|
|
207
218
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -210,7 +221,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
210
221
|
});
|
|
211
222
|
break;
|
|
212
223
|
case "BR":
|
|
213
|
-
|
|
224
|
+
O({
|
|
214
225
|
targetX: e.value.width / 2 - e.value.left,
|
|
215
226
|
targetY: e.value.height / 2 - e.value.top,
|
|
216
227
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -219,7 +230,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
219
230
|
});
|
|
220
231
|
break;
|
|
221
232
|
case "BL":
|
|
222
|
-
|
|
233
|
+
O({
|
|
223
234
|
targetX: 0,
|
|
224
235
|
targetY: e.value.height / 2 - e.value.top,
|
|
225
236
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -234,138 +245,138 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
234
245
|
p.value = !0;
|
|
235
246
|
}
|
|
236
247
|
}
|
|
237
|
-
const
|
|
238
|
-
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top,
|
|
248
|
+
const Oe = m(() => {
|
|
249
|
+
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, s = [];
|
|
239
250
|
for (let r = 0; r < l; r += 1)
|
|
240
|
-
|
|
251
|
+
s.push({
|
|
241
252
|
x: e.value.padding + u * r,
|
|
242
253
|
y: a + e.value.usableHeight * (r / l / 2),
|
|
243
254
|
height: e.value.usableHeight * (1 - r / l),
|
|
244
255
|
width: e.value.usableWidth * (1 - r / l),
|
|
245
|
-
opacity:
|
|
256
|
+
opacity: le[Math.round((r + 1) / l * 20)]
|
|
246
257
|
});
|
|
247
|
-
return
|
|
248
|
-
}),
|
|
249
|
-
let l = t.value.style.chart.layout.grid.xAxis.max, u = t.value.style.chart.layout.grid.xAxis.min, a = t.value.style.chart.layout.grid.yAxis.max,
|
|
250
|
-
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...
|
|
258
|
+
return s;
|
|
259
|
+
}), _ = m(() => {
|
|
260
|
+
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;
|
|
261
|
+
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)))), {
|
|
251
262
|
x: {
|
|
252
263
|
max: l,
|
|
253
264
|
min: u
|
|
254
265
|
},
|
|
255
266
|
y: {
|
|
256
267
|
max: a,
|
|
257
|
-
min:
|
|
268
|
+
min: s
|
|
258
269
|
}
|
|
259
270
|
};
|
|
260
|
-
}), N = h([]),
|
|
271
|
+
}), N = h([]), R = m(() => W.dataset.map((l, u) => ({
|
|
261
272
|
...l,
|
|
262
273
|
id: `cat_${u}_${z.value}`,
|
|
263
|
-
color:
|
|
264
|
-
}))),
|
|
274
|
+
color: ut(l.color) || xe.value[u] || re[u]
|
|
275
|
+
}))), Ie = m(() => R.value.filter((l) => !N.value.includes(l.id))), De = m(() => R.value.map((l, u) => ({
|
|
265
276
|
...l,
|
|
266
277
|
shape: l.shape || "circle",
|
|
267
278
|
series: l.series.map((a) => ({
|
|
268
279
|
...a,
|
|
269
|
-
x:
|
|
270
|
-
y:
|
|
280
|
+
x: $e(a.x),
|
|
281
|
+
y: ke(a.y),
|
|
271
282
|
xValue: a.x,
|
|
272
283
|
yValue: a.y,
|
|
273
|
-
quadrantSide:
|
|
284
|
+
quadrantSide: we({ x: a.x, y: a.y }),
|
|
274
285
|
categoryName: l.name,
|
|
275
286
|
shape: l.shape,
|
|
276
287
|
color: l.color
|
|
277
288
|
}))
|
|
278
|
-
}))), C = m(() => (
|
|
279
|
-
l.series.forEach((a,
|
|
280
|
-
[null, void 0].includes(a.x) &&
|
|
289
|
+
}))), C = m(() => (W.dataset.forEach((l, u) => {
|
|
290
|
+
l.series.forEach((a, s) => {
|
|
291
|
+
[null, void 0].includes(a.x) && F({
|
|
281
292
|
componentName: "VueUiQuadrant",
|
|
282
293
|
type: "datasetSerieAttribute",
|
|
283
294
|
property: "x",
|
|
284
295
|
key: "series",
|
|
285
|
-
index:
|
|
286
|
-
}), [null, void 0].includes(a.y) &&
|
|
296
|
+
index: s
|
|
297
|
+
}), [null, void 0].includes(a.y) && F({
|
|
287
298
|
componentName: "VueUiQuadrant",
|
|
288
299
|
type: "datasetSerieAttribute",
|
|
289
300
|
property: "y",
|
|
290
301
|
key: "series",
|
|
291
|
-
index:
|
|
302
|
+
index: s
|
|
292
303
|
});
|
|
293
304
|
});
|
|
294
|
-
}),
|
|
305
|
+
}), Ie.value.map((l, u) => ({
|
|
295
306
|
...l,
|
|
296
307
|
shape: l.shape || "circle",
|
|
297
|
-
color: l.color ||
|
|
308
|
+
color: l.color || xe.value[u] || re[u],
|
|
298
309
|
series: l.series.map((a) => ({
|
|
299
310
|
...a,
|
|
300
|
-
x:
|
|
301
|
-
y:
|
|
311
|
+
x: $e(a.x),
|
|
312
|
+
y: ke(a.y),
|
|
302
313
|
xValue: a.x,
|
|
303
314
|
yValue: a.y,
|
|
304
|
-
quadrantSide:
|
|
315
|
+
quadrantSide: we({ x: a.x, y: a.y }),
|
|
305
316
|
categoryName: l.name,
|
|
306
317
|
shape: l.shape,
|
|
307
318
|
color: l.color,
|
|
308
|
-
uid:
|
|
319
|
+
uid: Ne()
|
|
309
320
|
}))
|
|
310
321
|
}))));
|
|
311
|
-
function
|
|
322
|
+
function $e(l) {
|
|
312
323
|
if (l >= 0) {
|
|
313
|
-
const u = l /
|
|
324
|
+
const u = l / _.value.x.max;
|
|
314
325
|
return e.value.centerX + e.value.usableWidth / 2 * u;
|
|
315
326
|
} else {
|
|
316
|
-
const u = Math.abs(l) / Math.abs(
|
|
327
|
+
const u = Math.abs(l) / Math.abs(_.value.x.min);
|
|
317
328
|
return e.value.centerX - e.value.usableWidth / 2 * u;
|
|
318
329
|
}
|
|
319
330
|
}
|
|
320
|
-
function
|
|
331
|
+
function ke(l) {
|
|
321
332
|
if (l >= 0) {
|
|
322
|
-
const u = l /
|
|
333
|
+
const u = l / _.value.y.max;
|
|
323
334
|
return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
|
|
324
335
|
} else {
|
|
325
|
-
const u = Math.abs(l) / Math.abs(
|
|
336
|
+
const u = Math.abs(l) / Math.abs(_.value.y.min);
|
|
326
337
|
return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
|
|
327
338
|
}
|
|
328
339
|
}
|
|
329
340
|
const Z = m(() => {
|
|
330
|
-
const l = C.value.flatMap((f) => f.series.map((
|
|
331
|
-
x:
|
|
332
|
-
y:
|
|
333
|
-
name:
|
|
334
|
-
category:
|
|
335
|
-
quadrantSide:
|
|
336
|
-
sideName: t.value.style.chart.layout.labels.quadrantLabels[
|
|
341
|
+
const l = C.value.flatMap((f) => f.series.map((X) => ({
|
|
342
|
+
x: X.xValue,
|
|
343
|
+
y: X.yValue,
|
|
344
|
+
name: X.name,
|
|
345
|
+
category: X.categoryName,
|
|
346
|
+
quadrantSide: X.quadrantSide,
|
|
347
|
+
sideName: t.value.style.chart.layout.labels.quadrantLabels[X.quadrantSide].text,
|
|
337
348
|
color: f.color,
|
|
338
349
|
shape: f.shape
|
|
339
|
-
}))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y",
|
|
350
|
+
}))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y", s = [t.value.translations.category, t.value.translations.item, u, a, t.value.translations.side], r = l.map((f) => [f.category, f.name, f.x, f.y, f.sideName || f.quadrantSide]), b = l.map((f) => ({
|
|
340
351
|
shape: f.shape,
|
|
341
352
|
color: f.color
|
|
342
353
|
}));
|
|
343
|
-
return { head:
|
|
354
|
+
return { head: s, body: r, itsShapes: b, tableData: l };
|
|
344
355
|
}), K = m(() => {
|
|
345
|
-
const l = Z.value.head, u = Z.value.tableData.map((
|
|
356
|
+
const l = Z.value.head, u = Z.value.tableData.map((s) => [
|
|
346
357
|
{
|
|
347
|
-
shape:
|
|
348
|
-
color:
|
|
349
|
-
name:
|
|
358
|
+
shape: s.shape,
|
|
359
|
+
color: s.color,
|
|
360
|
+
name: s.category
|
|
350
361
|
},
|
|
351
|
-
|
|
362
|
+
s.name,
|
|
352
363
|
A(
|
|
353
364
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
354
|
-
|
|
365
|
+
s.x,
|
|
355
366
|
V({
|
|
356
|
-
v:
|
|
367
|
+
v: s.x,
|
|
357
368
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
358
369
|
})
|
|
359
370
|
),
|
|
360
371
|
A(
|
|
361
372
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
362
|
-
|
|
373
|
+
s.y,
|
|
363
374
|
V({
|
|
364
|
-
v:
|
|
375
|
+
v: s.y,
|
|
365
376
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
366
377
|
})
|
|
367
378
|
),
|
|
368
|
-
|
|
379
|
+
s.sideName || s.quadrantSide
|
|
369
380
|
]), a = {
|
|
370
381
|
th: {
|
|
371
382
|
backgroundColor: t.value.table.th.backgroundColor,
|
|
@@ -381,20 +392,20 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
381
392
|
};
|
|
382
393
|
return { head: l, body: u, config: a, colNames: l };
|
|
383
394
|
});
|
|
384
|
-
function
|
|
395
|
+
function oe(l) {
|
|
385
396
|
N.value.includes(l) ? N.value = N.value.filter((a) => a !== l) : N.value.push(l);
|
|
386
|
-
const u =
|
|
387
|
-
|
|
397
|
+
const u = Se();
|
|
398
|
+
ae("selectLegend", u);
|
|
388
399
|
}
|
|
389
|
-
const
|
|
400
|
+
const Le = m(() => De.value.map((l) => ({
|
|
390
401
|
name: l.name,
|
|
391
402
|
shape: l.shape,
|
|
392
403
|
color: l.color,
|
|
393
404
|
id: l.id,
|
|
394
405
|
opacity: N.value.includes(l.id) ? 0.5 : 1,
|
|
395
|
-
segregate: () =>
|
|
406
|
+
segregate: () => oe(l.id),
|
|
396
407
|
isSegregated: N.value.includes(l.id)
|
|
397
|
-
}))),
|
|
408
|
+
}))), Ee = m(() => ({
|
|
398
409
|
cy: "quadrant-div-legend",
|
|
399
410
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
400
411
|
color: t.value.style.chart.legend.color,
|
|
@@ -402,7 +413,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
402
413
|
paddingBottom: 12,
|
|
403
414
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
404
415
|
}));
|
|
405
|
-
function
|
|
416
|
+
function we(l) {
|
|
406
417
|
switch (!0) {
|
|
407
418
|
case (l.x >= 0 && l.y >= 0):
|
|
408
419
|
return "tr";
|
|
@@ -416,25 +427,25 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
416
427
|
return "";
|
|
417
428
|
}
|
|
418
429
|
}
|
|
419
|
-
const
|
|
420
|
-
function
|
|
421
|
-
|
|
430
|
+
const I = h(null), D = h(null), se = h(null);
|
|
431
|
+
function _e(l, u, a) {
|
|
432
|
+
I.value = u.uid, D.value = {
|
|
422
433
|
color: l.color,
|
|
423
434
|
shape: l.shape
|
|
424
|
-
},
|
|
435
|
+
}, se.value = {
|
|
425
436
|
datapoint: u,
|
|
426
437
|
seriesIndex: a,
|
|
427
438
|
series: C.value,
|
|
428
439
|
config: t.value
|
|
429
440
|
}, Q.value = !0;
|
|
430
|
-
const
|
|
431
|
-
if (
|
|
441
|
+
const s = t.value.style.chart.tooltip.customFormat;
|
|
442
|
+
if (it(s) && vt(() => s({
|
|
432
443
|
seriesIndex: a,
|
|
433
444
|
datapoint: u,
|
|
434
445
|
series: C.value,
|
|
435
446
|
config: t.value
|
|
436
447
|
})))
|
|
437
|
-
|
|
448
|
+
ue.value = s({
|
|
438
449
|
seriesIndex: a,
|
|
439
450
|
datapoint: u,
|
|
440
451
|
series: C.value,
|
|
@@ -458,10 +469,10 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
458
469
|
r: t.value.style.chart.tooltip.roundingValue
|
|
459
470
|
}),
|
|
460
471
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
461
|
-
)}</b></div>`,
|
|
472
|
+
)}</b></div>`, ue.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
462
473
|
}
|
|
463
474
|
}
|
|
464
|
-
function
|
|
475
|
+
function qe(l, u) {
|
|
465
476
|
const a = {
|
|
466
477
|
category: l.name,
|
|
467
478
|
shape: l.shape,
|
|
@@ -471,11 +482,11 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
471
482
|
quadrantSide: u.quadrantSide,
|
|
472
483
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text
|
|
473
484
|
};
|
|
474
|
-
|
|
485
|
+
ae("selectPlot", a);
|
|
475
486
|
}
|
|
476
|
-
function
|
|
487
|
+
function E(l) {
|
|
477
488
|
if (!l) return;
|
|
478
|
-
const u = C.value.flatMap((
|
|
489
|
+
const u = C.value.flatMap((s) => s.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
479
490
|
category: r.categoryName,
|
|
480
491
|
itemName: r.name,
|
|
481
492
|
x: r.xValue,
|
|
@@ -485,7 +496,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
485
496
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
486
497
|
items: [...u]
|
|
487
498
|
};
|
|
488
|
-
|
|
499
|
+
ae("selectSide", a);
|
|
489
500
|
}
|
|
490
501
|
const $ = m(() => ({
|
|
491
502
|
TL: {
|
|
@@ -593,7 +604,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
593
604
|
}
|
|
594
605
|
}
|
|
595
606
|
}));
|
|
596
|
-
function
|
|
607
|
+
function Se() {
|
|
597
608
|
return C.value.map((l) => ({
|
|
598
609
|
color: l.color,
|
|
599
610
|
name: l.name,
|
|
@@ -607,47 +618,48 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
607
618
|
}))
|
|
608
619
|
}));
|
|
609
620
|
}
|
|
610
|
-
function
|
|
611
|
-
|
|
612
|
-
const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u = Z.value.head, a = Z.value.body,
|
|
613
|
-
|
|
621
|
+
function Ce() {
|
|
622
|
+
Ze(() => {
|
|
623
|
+
const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u = Z.value.head, a = Z.value.body, s = l.concat([u]).concat(a), r = dt(s);
|
|
624
|
+
ct({ csvContent: r, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
614
625
|
});
|
|
615
626
|
}
|
|
616
|
-
const
|
|
617
|
-
function
|
|
618
|
-
|
|
627
|
+
const U = h(!1);
|
|
628
|
+
function Ue(l) {
|
|
629
|
+
U.value = l, ne.value += 1;
|
|
619
630
|
}
|
|
620
|
-
function
|
|
631
|
+
function ze() {
|
|
621
632
|
w.value.showTable = !w.value.showTable;
|
|
622
633
|
}
|
|
623
|
-
function
|
|
634
|
+
function Te() {
|
|
624
635
|
w.value.plotLabels.show = !w.value.plotLabels.show;
|
|
625
636
|
}
|
|
626
|
-
function
|
|
637
|
+
function We() {
|
|
627
638
|
w.value.showTooltip = !w.value.showTooltip;
|
|
628
639
|
}
|
|
629
|
-
return
|
|
630
|
-
getData:
|
|
631
|
-
generatePdf:
|
|
632
|
-
generateCsv:
|
|
633
|
-
generateImage:
|
|
634
|
-
toggleTable:
|
|
635
|
-
toggleLabels:
|
|
636
|
-
toggleTooltip:
|
|
637
|
-
}), (l, u) => (
|
|
638
|
-
class: T(`vue-ui-quadrant ${
|
|
640
|
+
return Pe({
|
|
641
|
+
getData: Se,
|
|
642
|
+
generatePdf: ge,
|
|
643
|
+
generateCsv: Ce,
|
|
644
|
+
generateImage: me,
|
|
645
|
+
toggleTable: ze,
|
|
646
|
+
toggleLabels: Te,
|
|
647
|
+
toggleTooltip: We
|
|
648
|
+
}), (l, u) => (o(), n("div", {
|
|
649
|
+
class: T(`vue-ui-quadrant ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
639
650
|
ref_key: "quadrantChart",
|
|
640
|
-
ref:
|
|
651
|
+
ref: H,
|
|
641
652
|
id: `vue-ui-quadrant_${z.value}`,
|
|
642
653
|
style: L(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text ? "" : "padding-top: 36px"};background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`)
|
|
643
654
|
}, [
|
|
644
|
-
t.value.style.chart.title.text ? (
|
|
655
|
+
t.value.style.chart.title.text ? (o(), n("div", {
|
|
645
656
|
key: 0,
|
|
646
657
|
ref_key: "chartTitle",
|
|
647
|
-
ref:
|
|
658
|
+
ref: ie,
|
|
648
659
|
style: L(`width:100%;background:${t.value.style.chart.backgroundColor};padding-bottom:12px`)
|
|
649
660
|
}, [
|
|
650
|
-
|
|
661
|
+
(o(), P(bt, {
|
|
662
|
+
key: `table_${de.value}`,
|
|
651
663
|
config: {
|
|
652
664
|
title: {
|
|
653
665
|
cy: "quadrant-title",
|
|
@@ -658,16 +670,16 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
658
670
|
...t.value.style.chart.title.subtitle
|
|
659
671
|
}
|
|
660
672
|
}
|
|
661
|
-
}, null, 8, ["config"])
|
|
673
|
+
}, null, 8, ["config"]))
|
|
662
674
|
], 4)) : c("", !0),
|
|
663
|
-
t.value.userOptions.show && G.value ? (
|
|
675
|
+
t.value.userOptions.show && G.value ? (o(), P(pt, {
|
|
664
676
|
ref_key: "details",
|
|
665
|
-
ref:
|
|
677
|
+
ref: Fe,
|
|
666
678
|
key: `user_options_${ne.value}`,
|
|
667
679
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
668
680
|
color: t.value.style.chart.color,
|
|
669
|
-
isImaging: y(
|
|
670
|
-
isPrinting: y(
|
|
681
|
+
isImaging: y(pe),
|
|
682
|
+
isPrinting: y(fe),
|
|
671
683
|
uid: z.value,
|
|
672
684
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
673
685
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
@@ -676,97 +688,97 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
676
688
|
hasTable: t.value.userOptions.buttons.table,
|
|
677
689
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
678
690
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
679
|
-
isFullscreen:
|
|
691
|
+
isFullscreen: U.value,
|
|
680
692
|
isTooltip: w.value.showTooltip,
|
|
681
693
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
682
|
-
chartElement:
|
|
683
|
-
onToggleFullscreen:
|
|
684
|
-
onGeneratePdf: y(
|
|
685
|
-
onGenerateCsv:
|
|
686
|
-
onGenerateImage: y(
|
|
687
|
-
onToggleTable:
|
|
688
|
-
onToggleLabels:
|
|
689
|
-
onToggleTooltip:
|
|
690
|
-
},
|
|
694
|
+
chartElement: H.value,
|
|
695
|
+
onToggleFullscreen: Ue,
|
|
696
|
+
onGeneratePdf: y(ge),
|
|
697
|
+
onGenerateCsv: Ce,
|
|
698
|
+
onGenerateImage: y(me),
|
|
699
|
+
onToggleTable: ze,
|
|
700
|
+
onToggleLabels: Te,
|
|
701
|
+
onToggleTooltip: We
|
|
702
|
+
}, Je({ _: 2 }, [
|
|
691
703
|
l.$slots.optionTooltip ? {
|
|
692
704
|
name: "optionTooltip",
|
|
693
705
|
fn: k(() => [
|
|
694
|
-
|
|
706
|
+
q(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
695
707
|
]),
|
|
696
708
|
key: "0"
|
|
697
709
|
} : void 0,
|
|
698
710
|
l.$slots.optionPdf ? {
|
|
699
711
|
name: "optionPdf",
|
|
700
712
|
fn: k(() => [
|
|
701
|
-
|
|
713
|
+
q(l.$slots, "optionPdf", {}, void 0, !0)
|
|
702
714
|
]),
|
|
703
715
|
key: "1"
|
|
704
716
|
} : void 0,
|
|
705
717
|
l.$slots.optionCsv ? {
|
|
706
718
|
name: "optionCsv",
|
|
707
719
|
fn: k(() => [
|
|
708
|
-
|
|
720
|
+
q(l.$slots, "optionCsv", {}, void 0, !0)
|
|
709
721
|
]),
|
|
710
722
|
key: "2"
|
|
711
723
|
} : void 0,
|
|
712
724
|
l.$slots.optionImg ? {
|
|
713
725
|
name: "optionImg",
|
|
714
726
|
fn: k(() => [
|
|
715
|
-
|
|
727
|
+
q(l.$slots, "optionImg", {}, void 0, !0)
|
|
716
728
|
]),
|
|
717
729
|
key: "3"
|
|
718
730
|
} : void 0,
|
|
719
731
|
l.$slots.optionTable ? {
|
|
720
732
|
name: "optionTable",
|
|
721
733
|
fn: k(() => [
|
|
722
|
-
|
|
734
|
+
q(l.$slots, "optionTable", {}, void 0, !0)
|
|
723
735
|
]),
|
|
724
736
|
key: "4"
|
|
725
737
|
} : void 0,
|
|
726
738
|
l.$slots.optionLabels ? {
|
|
727
739
|
name: "optionLabels",
|
|
728
740
|
fn: k(() => [
|
|
729
|
-
|
|
741
|
+
q(l.$slots, "optionLabels", {}, void 0, !0)
|
|
730
742
|
]),
|
|
731
743
|
key: "5"
|
|
732
744
|
} : void 0,
|
|
733
745
|
l.$slots.optionFullscreen ? {
|
|
734
746
|
name: "optionFullscreen",
|
|
735
|
-
fn: k(({ toggleFullscreen: a, isFullscreen:
|
|
736
|
-
|
|
747
|
+
fn: k(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
748
|
+
q(l.$slots, "optionFullscreen", ee(te({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
737
749
|
]),
|
|
738
750
|
key: "6"
|
|
739
751
|
} : void 0
|
|
740
752
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
741
|
-
G.value ? (
|
|
753
|
+
G.value ? (o(), n("svg", {
|
|
742
754
|
key: 2,
|
|
743
|
-
xmlns: y(
|
|
744
|
-
class: T({ "vue-data-ui-fullscreen--on":
|
|
755
|
+
xmlns: y(ot),
|
|
756
|
+
class: T({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
745
757
|
viewBox: `${d.value.startX} ${d.value.startY} ${d.value.width} ${d.value.height}`,
|
|
746
758
|
style: L(`max-width:100%;overflow:${p.value ? "hidden" : "visible"};background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color}`),
|
|
747
759
|
id: `svg_${z.value}`
|
|
748
760
|
}, [
|
|
749
761
|
v("defs", null, [
|
|
750
|
-
(
|
|
762
|
+
(o(!0), n(S, null, Y(C.value, (a, s) => (o(), n("radialGradient", {
|
|
751
763
|
cx: "50%",
|
|
752
764
|
cy: "50%",
|
|
753
765
|
r: "50%",
|
|
754
766
|
fx: "50%",
|
|
755
767
|
fy: "50%",
|
|
756
|
-
id: `quadrant_gradient_${z.value}_${
|
|
768
|
+
id: `quadrant_gradient_${z.value}_${s}`
|
|
757
769
|
}, [
|
|
758
770
|
v("stop", {
|
|
759
771
|
offset: "0%",
|
|
760
|
-
"stop-color": `${y(
|
|
761
|
-
}, null, 8,
|
|
772
|
+
"stop-color": `${y(st)(a.color, 0.05)}${y(le)[t.value.style.chart.layout.areas.opacity]}`
|
|
773
|
+
}, null, 8, St),
|
|
762
774
|
v("stop", {
|
|
763
775
|
offset: "100%",
|
|
764
|
-
"stop-color": a.color + y(
|
|
765
|
-
}, null, 8,
|
|
766
|
-
], 8,
|
|
776
|
+
"stop-color": a.color + y(le)[t.value.style.chart.layout.areas.opacity]
|
|
777
|
+
}, null, 8, Ct)
|
|
778
|
+
], 8, qt))), 256))
|
|
767
779
|
]),
|
|
768
|
-
t.value.style.chart.layout.grid.graduations.show ? (
|
|
769
|
-
(
|
|
780
|
+
t.value.style.chart.layout.grid.graduations.show ? (o(), n("g", zt, [
|
|
781
|
+
(o(!0), n(S, null, Y(Oe.value, (a) => (o(), n("rect", {
|
|
770
782
|
fill: t.value.style.chart.layout.grid.graduations.fill ? `${t.value.style.chart.layout.grid.graduations.color}${a.opacity}` : "none",
|
|
771
783
|
x: a.x,
|
|
772
784
|
y: a.y,
|
|
@@ -775,7 +787,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
775
787
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
776
788
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
777
789
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
778
|
-
}, null, 8,
|
|
790
|
+
}, null, 8, Tt))), 256))
|
|
779
791
|
])) : c("", !0),
|
|
780
792
|
v("line", {
|
|
781
793
|
x1: e.value.left,
|
|
@@ -784,7 +796,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
784
796
|
y2: e.value.centerY,
|
|
785
797
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
786
798
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
787
|
-
}, null, 8,
|
|
799
|
+
}, null, 8, Wt),
|
|
788
800
|
v("line", {
|
|
789
801
|
x1: e.value.centerX,
|
|
790
802
|
y1: e.value.top,
|
|
@@ -792,31 +804,31 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
792
804
|
y2: e.value.bottom,
|
|
793
805
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
794
806
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
795
|
-
}, null, 8,
|
|
796
|
-
t.value.style.chart.layout.grid.showArrows ? (
|
|
807
|
+
}, null, 8, Xt),
|
|
808
|
+
t.value.style.chart.layout.grid.showArrows ? (o(), n("g", Yt, [
|
|
797
809
|
v("polygon", {
|
|
798
810
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
799
811
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
800
812
|
stroke: "none"
|
|
801
|
-
}, null, 8,
|
|
813
|
+
}, null, 8, Mt),
|
|
802
814
|
v("polygon", {
|
|
803
815
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
804
816
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
805
817
|
stroke: "none"
|
|
806
|
-
}, null, 8,
|
|
818
|
+
}, null, 8, Nt),
|
|
807
819
|
v("polygon", {
|
|
808
820
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
809
821
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
810
822
|
stroke: "none"
|
|
811
|
-
}, null, 8,
|
|
823
|
+
}, null, 8, At),
|
|
812
824
|
v("polygon", {
|
|
813
825
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
814
826
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
815
827
|
stroke: "none"
|
|
816
|
-
}, null, 8,
|
|
828
|
+
}, null, 8, Vt)
|
|
817
829
|
])) : c("", !0),
|
|
818
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (
|
|
819
|
-
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (
|
|
830
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g", Bt, [
|
|
831
|
+
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (o(), n("text", {
|
|
820
832
|
key: 0,
|
|
821
833
|
x: 0,
|
|
822
834
|
y: e.value.top - e.value.padding / 2,
|
|
@@ -824,9 +836,9 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
824
836
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
825
837
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
826
838
|
style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
827
|
-
onClick: u[0] || (u[0] = (a) =>
|
|
828
|
-
}, x(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
829
|
-
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (
|
|
839
|
+
onClick: u[0] || (u[0] = (a) => E("tl"))
|
|
840
|
+
}, x(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, Pt)) : c("", !0),
|
|
841
|
+
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (o(), n("text", {
|
|
830
842
|
key: 1,
|
|
831
843
|
x: e.value.width,
|
|
832
844
|
y: e.value.top - e.value.padding / 2,
|
|
@@ -834,9 +846,9 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
834
846
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
835
847
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
836
848
|
style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
837
|
-
onClick: u[1] || (u[1] = (a) =>
|
|
838
|
-
}, x(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
839
|
-
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (
|
|
849
|
+
onClick: u[1] || (u[1] = (a) => E("tr"))
|
|
850
|
+
}, x(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Rt)) : c("", !0),
|
|
851
|
+
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (o(), n("text", {
|
|
840
852
|
key: 2,
|
|
841
853
|
x: e.value.width,
|
|
842
854
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
@@ -844,9 +856,9 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
844
856
|
fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
845
857
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
846
858
|
style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
847
|
-
onClick: u[2] || (u[2] = (a) =>
|
|
848
|
-
}, x(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
849
|
-
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (
|
|
859
|
+
onClick: u[2] || (u[2] = (a) => E("br"))
|
|
860
|
+
}, x(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Ft)) : c("", !0),
|
|
861
|
+
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (o(), n("text", {
|
|
850
862
|
key: 3,
|
|
851
863
|
x: 0,
|
|
852
864
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
@@ -854,10 +866,10 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
854
866
|
fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
855
867
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
856
868
|
style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
857
|
-
onClick: u[3] || (u[3] = (a) =>
|
|
858
|
-
}, x(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
869
|
+
onClick: u[3] || (u[3] = (a) => E("bl"))
|
|
870
|
+
}, x(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Ht)) : c("", !0)
|
|
859
871
|
])) : c("", !0),
|
|
860
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (
|
|
872
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g", Ot, [
|
|
861
873
|
v("text", {
|
|
862
874
|
x: e.value.centerX,
|
|
863
875
|
y: e.value.top - e.value.padding / 6,
|
|
@@ -866,19 +878,19 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
866
878
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
867
879
|
}, x(y(A)(
|
|
868
880
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
869
|
-
|
|
881
|
+
_.value.y.max,
|
|
870
882
|
y(V)({
|
|
871
|
-
v:
|
|
883
|
+
v: _.value.y.max,
|
|
872
884
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
873
885
|
})
|
|
874
|
-
)), 9,
|
|
886
|
+
)), 9, It),
|
|
875
887
|
v("text", {
|
|
876
888
|
x: e.value.centerX,
|
|
877
889
|
y: e.value.top - e.value.padding / 2,
|
|
878
890
|
"text-anchor": "middle",
|
|
879
891
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
880
892
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
881
|
-
}, x(t.value.style.chart.layout.grid.yAxis.name), 9,
|
|
893
|
+
}, x(t.value.style.chart.layout.grid.yAxis.name), 9, Dt),
|
|
882
894
|
v("text", {
|
|
883
895
|
x: e.value.centerX,
|
|
884
896
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
@@ -887,12 +899,12 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
887
899
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
888
900
|
}, x(y(A)(
|
|
889
901
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
890
|
-
|
|
902
|
+
_.value.y.min,
|
|
891
903
|
y(V)({
|
|
892
|
-
v:
|
|
904
|
+
v: _.value.y.min,
|
|
893
905
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
894
906
|
})
|
|
895
|
-
)), 9,
|
|
907
|
+
)), 9, Et),
|
|
896
908
|
v("text", {
|
|
897
909
|
id: `xLabelMin_${z.value}`,
|
|
898
910
|
"text-anchor": "middle",
|
|
@@ -901,12 +913,12 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
901
913
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
902
914
|
}, x(y(A)(
|
|
903
915
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
904
|
-
|
|
916
|
+
_.value.x.min,
|
|
905
917
|
y(V)({
|
|
906
|
-
v:
|
|
918
|
+
v: _.value.x.min,
|
|
907
919
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
908
920
|
})
|
|
909
|
-
)), 9,
|
|
921
|
+
)), 9, Ut),
|
|
910
922
|
v("text", {
|
|
911
923
|
id: `xLabelMax_${z.value}`,
|
|
912
924
|
"text-anchor": "middle",
|
|
@@ -915,28 +927,28 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
915
927
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
916
928
|
}, x(y(A)(
|
|
917
929
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
918
|
-
|
|
930
|
+
_.value.x.max,
|
|
919
931
|
y(V)({
|
|
920
|
-
v:
|
|
932
|
+
v: _.value.x.max,
|
|
921
933
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
922
934
|
})
|
|
923
|
-
)), 9,
|
|
935
|
+
)), 9, Gt),
|
|
924
936
|
v("text", {
|
|
925
937
|
id: `xLabelMaxName_${z.value}`,
|
|
926
938
|
"text-anchor": "middle",
|
|
927
939
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
928
940
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
929
941
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
930
|
-
}, x(t.value.style.chart.layout.grid.xAxis.name), 9,
|
|
942
|
+
}, x(t.value.style.chart.layout.grid.xAxis.name), 9, Qt)
|
|
931
943
|
])) : c("", !0),
|
|
932
|
-
t.value.style.chart.layout.areas.show ? (
|
|
933
|
-
(
|
|
934
|
-
a.series.length > 2 ? (
|
|
944
|
+
t.value.style.chart.layout.areas.show ? (o(), n("g", Jt, [
|
|
945
|
+
(o(!0), n(S, null, Y(C.value, (a, s) => (o(), n("g", null, [
|
|
946
|
+
a.series.length > 2 ? (o(), n("polygon", {
|
|
935
947
|
key: 0,
|
|
936
948
|
"data-cy-quadrant-area": "",
|
|
937
|
-
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${
|
|
938
|
-
points: y(
|
|
939
|
-
}, null, 8,
|
|
949
|
+
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${s})` : `${a.color}${y(le)[t.value.style.chart.layout.areas.opacity]}`,
|
|
950
|
+
points: y(rt)(a)
|
|
951
|
+
}, null, 8, jt)) : c("", !0)
|
|
940
952
|
]))), 256))
|
|
941
953
|
])) : c("", !0),
|
|
942
954
|
v("g", null, [
|
|
@@ -948,7 +960,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
948
960
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
949
961
|
fill: "transparent",
|
|
950
962
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
951
|
-
}, null, 10,
|
|
963
|
+
}, null, 10, Zt),
|
|
952
964
|
v("rect", {
|
|
953
965
|
onClick: u[5] || (u[5] = (a) => M("TR")),
|
|
954
966
|
x: e.value.centerX,
|
|
@@ -957,7 +969,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
957
969
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
958
970
|
fill: "transparent",
|
|
959
971
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
960
|
-
}, null, 10,
|
|
972
|
+
}, null, 10, Kt),
|
|
961
973
|
v("rect", {
|
|
962
974
|
onClick: u[6] || (u[6] = (a) => M("BR")),
|
|
963
975
|
x: e.value.centerX,
|
|
@@ -966,7 +978,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
966
978
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
967
979
|
fill: "transparent",
|
|
968
980
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
969
|
-
}, null, 10,
|
|
981
|
+
}, null, 10, el),
|
|
970
982
|
v("rect", {
|
|
971
983
|
onClick: u[7] || (u[7] = (a) => M("BL")),
|
|
972
984
|
x: e.value.left,
|
|
@@ -975,85 +987,85 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
975
987
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
976
988
|
fill: "transparent",
|
|
977
989
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
978
|
-
}, null, 10,
|
|
990
|
+
}, null, 10, tl)
|
|
979
991
|
]),
|
|
980
|
-
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (
|
|
981
|
-
w.value.plotLabels.show ? (
|
|
982
|
-
(
|
|
983
|
-
(
|
|
992
|
+
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(S, { key: 6 }, [
|
|
993
|
+
w.value.plotLabels.show ? (o(), n("g", ul, [
|
|
994
|
+
(o(!0), n(S, null, Y(C.value, (a, s) => (o(), n(S, null, [
|
|
995
|
+
(o(!0), n(S, null, Y(a.series, (r) => (o(), n("foreignObject", {
|
|
984
996
|
style: { overflow: "visible" },
|
|
985
997
|
height: "10",
|
|
986
998
|
width: "100",
|
|
987
999
|
x: r.x - 50,
|
|
988
1000
|
y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
989
|
-
onMouseover: (b) =>
|
|
1001
|
+
onMouseover: (b) => _e(a, r, s),
|
|
990
1002
|
onMouseleave: u[9] || (u[9] = (b) => {
|
|
991
|
-
Q.value = !1,
|
|
1003
|
+
Q.value = !1, I.value = null, D.value = null;
|
|
992
1004
|
}),
|
|
993
|
-
onClick: (b) =>
|
|
1005
|
+
onClick: (b) => qe(a, r)
|
|
994
1006
|
}, [
|
|
995
1007
|
v("div", {
|
|
996
|
-
style: L(`color:${y(
|
|
1008
|
+
style: L(`color:${y(nt)(a.color)};margin: 0 auto; font-size:${t.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: ${t.value.style.chart.layout.labels.plotLabels.fontSize * 1.5}px`)
|
|
997
1009
|
}, x(r.name), 5)
|
|
998
|
-
], 40,
|
|
1010
|
+
], 40, ol))), 256))
|
|
999
1011
|
], 64))), 256))
|
|
1000
1012
|
])) : c("", !0)
|
|
1001
|
-
], 64)) : (
|
|
1002
|
-
(
|
|
1003
|
-
(
|
|
1013
|
+
], 64)) : (o(), n(S, { key: 5 }, [
|
|
1014
|
+
(o(!0), n(S, null, Y(C.value, (a, s) => (o(), n("g", null, [
|
|
1015
|
+
(o(!0), n(S, null, Y(a.series, (r) => (o(), P(Ae, {
|
|
1004
1016
|
color: a.color,
|
|
1005
|
-
isSelected:
|
|
1017
|
+
isSelected: I.value && r.uid === I.value,
|
|
1006
1018
|
plot: r,
|
|
1007
1019
|
radius: t.value.style.chart.layout.plots.radius / (p.value ? 1.5 : 1),
|
|
1008
1020
|
shape: a.shape,
|
|
1009
1021
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1010
1022
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
1011
|
-
onMouseover: (b) =>
|
|
1023
|
+
onMouseover: (b) => _e(a, r, s),
|
|
1012
1024
|
onMouseleave: u[8] || (u[8] = (b) => {
|
|
1013
|
-
Q.value = !1,
|
|
1025
|
+
Q.value = !1, I.value = null, D.value = null;
|
|
1014
1026
|
}),
|
|
1015
|
-
onClick: (b) =>
|
|
1027
|
+
onClick: (b) => qe(a, r)
|
|
1016
1028
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseover", "onClick"]))), 256))
|
|
1017
1029
|
]))), 256)),
|
|
1018
|
-
w.value.plotLabels.show ? (
|
|
1019
|
-
(
|
|
1020
|
-
(
|
|
1021
|
-
x:
|
|
1022
|
-
y:
|
|
1030
|
+
w.value.plotLabels.show ? (o(), n("g", ll, [
|
|
1031
|
+
(o(!0), n(S, null, Y(C.value, (a) => (o(), n("g", null, [
|
|
1032
|
+
(o(!0), n(S, null, Y(a.series, (s) => (o(), n("text", {
|
|
1033
|
+
x: s.x,
|
|
1034
|
+
y: s.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1023
1035
|
"text-anchor": "middle",
|
|
1024
1036
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1025
1037
|
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
1026
|
-
}, x(
|
|
1038
|
+
}, x(s.name), 9, al))), 256))
|
|
1027
1039
|
]))), 256))
|
|
1028
1040
|
])) : c("", !0)
|
|
1029
1041
|
], 64)),
|
|
1030
|
-
p.value ? (
|
|
1031
|
-
|
|
1042
|
+
p.value ? (o(), n("g", sl, [
|
|
1043
|
+
i.value === "TL" ? (o(), n("polygon", {
|
|
1032
1044
|
key: 0,
|
|
1033
1045
|
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}`,
|
|
1034
1046
|
fill: t.value.style.chart.backgroundColor,
|
|
1035
1047
|
style: { opacity: "1" }
|
|
1036
|
-
}, null, 8,
|
|
1037
|
-
|
|
1048
|
+
}, null, 8, rl)) : c("", !0),
|
|
1049
|
+
i.value === "TR" ? (o(), n("polygon", {
|
|
1038
1050
|
key: 1,
|
|
1039
1051
|
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}`,
|
|
1040
1052
|
fill: t.value.style.chart.backgroundColor,
|
|
1041
1053
|
style: { opacity: "1" }
|
|
1042
|
-
}, null, 8,
|
|
1043
|
-
|
|
1054
|
+
}, null, 8, nl)) : c("", !0),
|
|
1055
|
+
i.value === "BR" ? (o(), n("polygon", {
|
|
1044
1056
|
key: 2,
|
|
1045
1057
|
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}`,
|
|
1046
1058
|
fill: t.value.style.chart.backgroundColor,
|
|
1047
1059
|
style: { opacity: "1" }
|
|
1048
|
-
}, null, 8,
|
|
1049
|
-
|
|
1060
|
+
}, null, 8, il)) : c("", !0),
|
|
1061
|
+
i.value === "BL" ? (o(), n("polygon", {
|
|
1050
1062
|
key: 3,
|
|
1051
1063
|
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}`,
|
|
1052
1064
|
fill: t.value.style.chart.backgroundColor,
|
|
1053
1065
|
style: { opacity: "1" }
|
|
1054
|
-
}, null, 8,
|
|
1066
|
+
}, null, 8, vl)) : c("", !0)
|
|
1055
1067
|
])) : c("", !0),
|
|
1056
|
-
|
|
1068
|
+
i.value && !j.value ? (o(), n("g", dl, [
|
|
1057
1069
|
v("text", {
|
|
1058
1070
|
x: B.value.x,
|
|
1059
1071
|
y: B.value.y - B.value.fontSize / 1.5,
|
|
@@ -1061,68 +1073,68 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
1061
1073
|
fill: B.value.fill,
|
|
1062
1074
|
"text-anchor": "middle",
|
|
1063
1075
|
"font-weight": B.value.bold ? "bold" : "normal"
|
|
1064
|
-
}, x(B.value.text), 9,
|
|
1076
|
+
}, x(B.value.text), 9, cl)
|
|
1065
1077
|
])) : c("", !0),
|
|
1066
|
-
p.value &&
|
|
1078
|
+
p.value && i.value ? (o(), n("g", hl, [
|
|
1067
1079
|
v("rect", {
|
|
1068
|
-
x: $.value[
|
|
1069
|
-
y: $.value[
|
|
1080
|
+
x: $.value[i.value].tl.x,
|
|
1081
|
+
y: $.value[i.value].tl.y,
|
|
1070
1082
|
height: "20",
|
|
1071
1083
|
width: "20",
|
|
1072
|
-
fill: $.value[
|
|
1073
|
-
style: L(`cursor: pointer; opacity: ${
|
|
1084
|
+
fill: $.value[i.value].tl.fill,
|
|
1085
|
+
style: L(`cursor: pointer; opacity: ${i.value === "TL" ? 1 : 0.2}`),
|
|
1074
1086
|
onClick: u[10] || (u[10] = (a) => M("TL")),
|
|
1075
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1076
|
-
}, null, 14,
|
|
1087
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TL" })
|
|
1088
|
+
}, null, 14, yl),
|
|
1077
1089
|
v("rect", {
|
|
1078
|
-
x: $.value[
|
|
1079
|
-
y: $.value[
|
|
1090
|
+
x: $.value[i.value].tr.x,
|
|
1091
|
+
y: $.value[i.value].tr.y,
|
|
1080
1092
|
height: "20",
|
|
1081
1093
|
width: "20",
|
|
1082
|
-
fill: $.value[
|
|
1083
|
-
style: L(`cursor: pointer; opacity: ${
|
|
1094
|
+
fill: $.value[i.value].tr.fill,
|
|
1095
|
+
style: L(`cursor: pointer; opacity: ${i.value === "TR" ? 1 : 0.2}`),
|
|
1084
1096
|
onClick: u[11] || (u[11] = (a) => M("TR")),
|
|
1085
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1086
|
-
}, null, 14,
|
|
1097
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "TR" })
|
|
1098
|
+
}, null, 14, bl),
|
|
1087
1099
|
v("rect", {
|
|
1088
|
-
x: $.value[
|
|
1089
|
-
y: $.value[
|
|
1100
|
+
x: $.value[i.value].br.x,
|
|
1101
|
+
y: $.value[i.value].br.y,
|
|
1090
1102
|
height: "20",
|
|
1091
1103
|
width: "20",
|
|
1092
|
-
fill: $.value[
|
|
1093
|
-
style: L(`cursor: pointer; opacity: ${
|
|
1104
|
+
fill: $.value[i.value].br.fill,
|
|
1105
|
+
style: L(`cursor: pointer; opacity: ${i.value === "BR" ? 1 : 0.2}`),
|
|
1094
1106
|
onClick: u[12] || (u[12] = (a) => M("BR")),
|
|
1095
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1096
|
-
}, null, 14,
|
|
1107
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BR" })
|
|
1108
|
+
}, null, 14, fl),
|
|
1097
1109
|
v("rect", {
|
|
1098
|
-
x: $.value[
|
|
1099
|
-
y: $.value[
|
|
1110
|
+
x: $.value[i.value].bl.x,
|
|
1111
|
+
y: $.value[i.value].bl.y,
|
|
1100
1112
|
height: "20",
|
|
1101
1113
|
width: "20",
|
|
1102
|
-
fill: $.value[
|
|
1103
|
-
style: L(`cursor: pointer; opacity: ${
|
|
1114
|
+
fill: $.value[i.value].bl.fill,
|
|
1115
|
+
style: L(`cursor: pointer; opacity: ${i.value === "BL" ? 1 : 0.2}`),
|
|
1104
1116
|
onClick: u[13] || (u[13] = (a) => M("BL")),
|
|
1105
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1106
|
-
}, null, 14,
|
|
1117
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": i.value !== "BL" })
|
|
1118
|
+
}, null, 14, pl),
|
|
1107
1119
|
v("path", {
|
|
1108
1120
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1109
1121
|
stroke: t.value.style.chart.backgroundColor,
|
|
1110
1122
|
"stroke-width": 1,
|
|
1111
|
-
d: $.value[
|
|
1112
|
-
}, null, 8,
|
|
1123
|
+
d: $.value[i.value].crosshairs.horizontal
|
|
1124
|
+
}, null, 8, gl),
|
|
1113
1125
|
v("path", {
|
|
1114
1126
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1115
1127
|
stroke: t.value.style.chart.backgroundColor,
|
|
1116
1128
|
"stroke-width": 1,
|
|
1117
|
-
d: $.value[
|
|
1118
|
-
}, null, 8,
|
|
1129
|
+
d: $.value[i.value].crosshairs.vertical
|
|
1130
|
+
}, null, 8, ml)
|
|
1119
1131
|
])) : c("", !0),
|
|
1120
|
-
|
|
1121
|
-
], 14,
|
|
1122
|
-
l.$slots.watermark ? (
|
|
1123
|
-
|
|
1132
|
+
q(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1133
|
+
], 14, _t)) : c("", !0),
|
|
1134
|
+
l.$slots.watermark ? (o(), n("div", xl, [
|
|
1135
|
+
q(l.$slots, "watermark", ee(te({ isPrinting: y(fe) || y(pe) })), void 0, !0)
|
|
1124
1136
|
])) : c("", !0),
|
|
1125
|
-
G.value ? c("", !0) : (
|
|
1137
|
+
G.value ? c("", !0) : (o(), P($t, {
|
|
1126
1138
|
key: 4,
|
|
1127
1139
|
config: {
|
|
1128
1140
|
type: "quadrant",
|
|
@@ -1142,28 +1154,28 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
1142
1154
|
}, null, 8, ["config"])),
|
|
1143
1155
|
v("div", {
|
|
1144
1156
|
ref_key: "chartLegend",
|
|
1145
|
-
ref:
|
|
1157
|
+
ref: ve
|
|
1146
1158
|
}, [
|
|
1147
|
-
t.value.style.chart.legend.show ? (
|
|
1148
|
-
key:
|
|
1149
|
-
legendSet:
|
|
1150
|
-
config:
|
|
1151
|
-
onClickMarker: u[14] || (u[14] = ({ legend: a }) =>
|
|
1159
|
+
t.value.style.chart.legend.show ? (o(), P(mt, {
|
|
1160
|
+
key: `legend_${he.value}`,
|
|
1161
|
+
legendSet: Le.value,
|
|
1162
|
+
config: Ee.value,
|
|
1163
|
+
onClickMarker: u[14] || (u[14] = ({ legend: a }) => oe(a.id))
|
|
1152
1164
|
}, {
|
|
1153
1165
|
item: k(({ legend: a }) => [
|
|
1154
1166
|
v("div", {
|
|
1155
1167
|
"data-cy-legend-item": "",
|
|
1156
|
-
onClick: (
|
|
1168
|
+
onClick: (s) => oe(a.id),
|
|
1157
1169
|
style: L(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
|
|
1158
|
-
}, x(a.name), 13,
|
|
1170
|
+
}, x(a.name), 13, $l)
|
|
1159
1171
|
]),
|
|
1160
1172
|
_: 1
|
|
1161
|
-
}, 8, ["legendSet", "config"])) :
|
|
1173
|
+
}, 8, ["legendSet", "config"])) : q(l.$slots, "legend", {
|
|
1162
1174
|
key: 1,
|
|
1163
|
-
legend:
|
|
1175
|
+
legend: Le.value
|
|
1164
1176
|
}, void 0, !0)
|
|
1165
1177
|
], 512),
|
|
1166
|
-
|
|
1178
|
+
Me(gt, {
|
|
1167
1179
|
show: w.value.showTooltip && Q.value,
|
|
1168
1180
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
1169
1181
|
color: t.value.style.chart.tooltip.color,
|
|
@@ -1174,22 +1186,22 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
1174
1186
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
1175
1187
|
position: t.value.style.chart.tooltip.position,
|
|
1176
1188
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1177
|
-
parent:
|
|
1178
|
-
content:
|
|
1189
|
+
parent: H.value,
|
|
1190
|
+
content: ue.value,
|
|
1179
1191
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
1180
1192
|
}, {
|
|
1181
1193
|
"tooltip-before": k(() => [
|
|
1182
|
-
|
|
1194
|
+
q(l.$slots, "tooltip-before", ee(te({ ...se.value })), void 0, !0)
|
|
1183
1195
|
]),
|
|
1184
1196
|
"tooltip-after": k(() => [
|
|
1185
|
-
|
|
1197
|
+
q(l.$slots, "tooltip-after", ee(te({ ...se.value })), void 0, !0)
|
|
1186
1198
|
]),
|
|
1187
1199
|
default: k(() => [
|
|
1188
|
-
t.value.style.chart.tooltip.showShape ? (
|
|
1189
|
-
|
|
1200
|
+
t.value.style.chart.tooltip.showShape ? (o(), n("svg", kl, [
|
|
1201
|
+
Me(Ae, {
|
|
1190
1202
|
plot: { x: 10, y: 10 },
|
|
1191
|
-
shape:
|
|
1192
|
-
color:
|
|
1203
|
+
shape: D.value.shape,
|
|
1204
|
+
color: D.value.color,
|
|
1193
1205
|
radius: 8,
|
|
1194
1206
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1195
1207
|
"stroke-width": t.value.style.chart.layout.plots.outlineWidth
|
|
@@ -1198,7 +1210,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
1198
1210
|
]),
|
|
1199
1211
|
_: 3
|
|
1200
1212
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
1201
|
-
G.value ? (
|
|
1213
|
+
G.value ? (o(), P(kt, {
|
|
1202
1214
|
key: 5,
|
|
1203
1215
|
hideDetails: "",
|
|
1204
1216
|
config: {
|
|
@@ -1215,7 +1227,8 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
1215
1227
|
}
|
|
1216
1228
|
}, {
|
|
1217
1229
|
content: k(() => [
|
|
1218
|
-
|
|
1230
|
+
(o(), P(xt, {
|
|
1231
|
+
key: `table_${ce.value}`,
|
|
1219
1232
|
colNames: K.value.colNames,
|
|
1220
1233
|
head: K.value.head,
|
|
1221
1234
|
body: K.value.body,
|
|
@@ -1224,21 +1237,21 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
|
|
|
1224
1237
|
onClose: u[15] || (u[15] = (a) => w.value.showTable = !1)
|
|
1225
1238
|
}, {
|
|
1226
1239
|
th: k(({ th: a }) => [
|
|
1227
|
-
|
|
1240
|
+
je(x(a), 1)
|
|
1228
1241
|
]),
|
|
1229
1242
|
td: k(({ td: a }) => [
|
|
1230
1243
|
v("div", {
|
|
1231
1244
|
innerHTML: a.name || a
|
|
1232
|
-
}, null, 8,
|
|
1245
|
+
}, null, 8, Ll)
|
|
1233
1246
|
]),
|
|
1234
1247
|
_: 1
|
|
1235
|
-
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
1248
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1236
1249
|
]),
|
|
1237
1250
|
_: 1
|
|
1238
1251
|
}, 8, ["config"])) : c("", !0)
|
|
1239
|
-
], 14,
|
|
1252
|
+
], 14, wt));
|
|
1240
1253
|
}
|
|
1241
|
-
},
|
|
1254
|
+
}, Bl = /* @__PURE__ */ Lt(wl, [["__scopeId", "data-v-063fded4"]]);
|
|
1242
1255
|
export {
|
|
1243
|
-
|
|
1256
|
+
Bl as default
|
|
1244
1257
|
};
|