vue-data-ui 3.1.0 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DvG07exK.js → Arrow-BotYLY2I.js} +1 -1
- package/dist/{BaseDraggableDialog-O7900pGp.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
- package/dist/{BaseIcon-DHtro8us.js → BaseIcon-BLg8FaQ2.js} +5 -3
- package/dist/{ColorPicker-CpWzNn4r.js → ColorPicker-C2sMVpbA.js} +2 -2
- package/dist/{DataTable-DJjA2_wf.js → DataTable-BRN1-1ob.js} +2 -2
- package/dist/{Legend-2-dC7DVb.js → Legend-DLzeDl3-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DHeE4Yuv.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
- package/dist/{PackageVersion-DU12WH3O.js → PackageVersion-Jz9FlNXl.js} +1 -1
- package/dist/{PenAndPaper-B7QEDgx4.js → PenAndPaper-TgGWddgD.js} +3 -3
- package/dist/{Shape-Dj2Hl33H.js → Shape-Bmpx9GRg.js} +1 -1
- package/dist/{Slicer-D99HytqX.js → Slicer-DeWHn8zH.js} +2 -2
- package/dist/{SparkTooltip-B-wL07rI.js → SparkTooltip-C6fJOQ0j.js} +1 -1
- package/dist/{Title-Dq2_Z9kR.js → Title-AGmmsSi_.js} +1 -1
- package/dist/{Tooltip-Y219DXZO.js → Tooltip-le0yZk_t.js} +1 -1
- package/dist/{UserOptions-BuGfCdAY.js → UserOptions-DEFwuQIo.js} +125 -108
- package/dist/{dom-to-png-BhciAKaM.js → dom-to-png-C7V0EktO.js} +1 -1
- package/dist/{img-JOqdlnUs.js → img-DvuphHeJ.js} +1 -1
- package/dist/{index-CDQbCd41.js → index-BFqW8WA0.js} +97 -74
- package/dist/pdf-Bdf65IBz.js +79 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +25 -2
- package/dist/types/vue-data-ui.d.ts +25 -2
- package/dist/{useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
- package/dist/{useNestedProp-BPEHGiYX.js → useNestedProp-BSZCnuGl.js} +1 -1
- package/dist/{usePrinter-Bnl1YeUU.js → usePrinter-DDIKRiOp.js} +13 -12
- package/dist/useTableResponsive-Cbx-ACcP.js +22 -0
- package/dist/{vue-data-ui-DcNYz3cZ.js → vue-data-ui-vwh3dolO.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BNIFAeN-.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
- package/dist/{vue-ui-accordion-Bf_LHFFX.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Bz-l1afR.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
- package/dist/{vue-ui-annotator-BcfRH2BF.js → vue-ui-annotator-B_5hOApA.js} +2 -2
- package/dist/{vue-ui-bullet-DK1aM9fX.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
- package/dist/{vue-ui-candlestick-D6mMjvtu.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
- package/dist/{vue-ui-carousel-table-Vp5f238W.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
- package/dist/{vue-ui-chestnut-BKc4v-lf.js → vue-ui-chestnut-C4B0wEFn.js} +484 -487
- package/dist/{vue-ui-chord-CquhRjf0.js → vue-ui-chord-B9Zml1V7.js} +272 -266
- package/dist/{vue-ui-circle-pack-D6zLgxa3.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
- package/dist/{vue-ui-cursor-DIXb2S93.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
- package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
- package/dist/{vue-ui-digits-CLAIo9gW.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
- package/dist/{vue-ui-donut-evolution-C3r0YhKz.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
- package/dist/{vue-ui-donut-C8h_tCSO.js → vue-ui-donut-xseR2SnT.js} +348 -343
- package/dist/{vue-ui-dumbbell-D-t4M00E.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
- package/dist/{vue-ui-flow-D7_D_UNm.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
- package/dist/{vue-ui-funnel-B0QOfZRz.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
- package/dist/{vue-ui-galaxy-Ccw5uNes.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
- package/dist/{vue-ui-gauge-DvW7nFmK.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
- package/dist/{vue-ui-gizmo-WGQxvGPy.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
- package/dist/{vue-ui-heatmap-BQkLujyp.js → vue-ui-heatmap-NfRSd6fU.js} +370 -375
- package/dist/{vue-ui-history-plot-eU33r_Ot.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
- package/dist/{vue-ui-kpi-CKg2i71M.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
- package/dist/{vue-ui-mini-loader-BmkGQsm_.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
- package/dist/{vue-ui-molecule-Dlu0hjSg.js → vue-ui-molecule-C973vfYh.js} +188 -183
- package/dist/{vue-ui-mood-radar-DQaxfw9R.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
- package/dist/{vue-ui-nested-donuts-Djj9Aw_i.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
- package/dist/{vue-ui-onion-ZgsErXis.js → vue-ui-onion-BC9czZGG.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-B5fB22Jc.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
- package/dist/{vue-ui-quadrant-CMevCtXH.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
- package/dist/{vue-ui-quick-chart-DcparKSX.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
- package/dist/{vue-ui-radar-DFbxoKCK.js → vue-ui-radar-DVJQYNeL.js} +248 -243
- package/dist/{vue-ui-rating-ZUpxCWrk.js → vue-ui-rating-DITnRSiS.js} +2 -2
- package/dist/{vue-ui-relation-circle-eNKJY4Sx.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
- package/dist/{vue-ui-ridgeline-D4shpQZd.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
- package/dist/{vue-ui-rings-TdTHMbsa.js → vue-ui-rings-CUT1N_kK.js} +229 -224
- package/dist/{vue-ui-scatter-CVuV9ljU.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
- package/dist/{vue-ui-skeleton-CFxBU2-p.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
- package/dist/{vue-ui-smiley-Har3B3aQ.js → vue-ui-smiley-B9yNexWr.js} +2 -2
- package/dist/{vue-ui-spark-trend-FPk-XEwI.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
- package/dist/{vue-ui-sparkbar-V3eJ0w0t.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DKTGkWnJ.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DJsgFwHs.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
- package/dist/{vue-ui-sparkline-Dmrm5SL5.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-B0Pl7VMI.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
- package/dist/{vue-ui-stackbar-CNsgBPhj.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
- package/dist/{vue-ui-strip-plot-CYAWwYOM.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
- package/dist/{vue-ui-table-heatmap-COI9LRqC.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
- package/dist/{vue-ui-table-Dn6H98rP.js → vue-ui-table-rmbBw_0d.js} +3 -3
- package/dist/{vue-ui-table-sparkline-B7Gg5FfJ.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
- package/dist/{vue-ui-thermometer-Bgynq5El.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
- package/dist/{vue-ui-timer-CXng51v5.js → vue-ui-timer-qFNHDcU_.js} +5 -5
- package/dist/{vue-ui-tiremarks-Cy1U3hO1.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
- package/dist/{vue-ui-treemap-BsvIvRmE.js → vue-ui-treemap-DGC9zxon.js} +262 -256
- package/dist/{vue-ui-vertical-bar-DHqWeDIf.js → vue-ui-vertical-bar-DOCeCCqz.js} +297 -298
- package/dist/{vue-ui-waffle-D1Mscj3N.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
- package/dist/{vue-ui-wheel-DpV-N5tF.js → vue-ui-wheel-87VStrfJ.js} +6 -6
- package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
- package/dist/{vue-ui-world-DYz6zw3x.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
- package/dist/{vue-ui-xy-B1nqNbzw.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
- package/dist/{vue-ui-xy-canvas-D4wd-Asd.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
- package/package.json +1 -1
- package/dist/pdf-Dd-LIJqz.js +0 -61
- package/dist/vue-ui-dashboard-DmiriAK7.js +0 -325
- package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +0 -811
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { _ as
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
1
|
+
import { defineAsyncComponent as R, computed as x, ref as y, toRefs as qt, watch as ge, shallowRef as tt, onMounted as St, onBeforeUnmount as zt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as C, normalizeClass as T, createBlock as X, createCommentVNode as h, createElementVNode as d, createVNode as se, createSlots as lt, withCtx as g, renderSlot as $, normalizeProps as U, guardReactiveProps as G, Fragment as S, renderList as Y, toDisplayString as k, Teleport as Tt, resolveDynamicComponent as At, mergeProps as Wt, createTextVNode as at, nextTick as ut } from "vue";
|
|
2
|
+
import { u as Xt, c as ot, t as Yt, a as Mt, p as me, b as Ot, o as Nt, f as Q, d as Bt, e as Rt, Y as Ft, k as F, i as P, X as Pt, s as re, x as Vt, Z as Dt, I as Ht, F as It, v as Et, w as Ut, y as Gt, z as Qt } from "./index-BFqW8WA0.js";
|
|
3
|
+
import { t as Jt, u as jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Zt } from "./usePrinter-DDIKRiOp.js";
|
|
5
|
+
import { u as st } from "./useNestedProp-BSZCnuGl.js";
|
|
6
|
+
import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as el } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import tl from "./img-DvuphHeJ.js";
|
|
9
|
+
import ll from "./Title-AGmmsSi_.js";
|
|
10
|
+
import { _ as rt } from "./Shape-Bmpx9GRg.js";
|
|
11
|
+
import al from "./Legend-DLzeDl3-.js";
|
|
12
|
+
import { u as ul, B as ol } from "./BaseScanner-BgWxam9d.js";
|
|
13
|
+
import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y", "width", "height"], cl = ["id"], dl = ["stop-color"], hl = ["stop-color"], yl = { key: 1 }, bl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], fl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], gl = { key: 2 }, ml = ["points", "fill"], xl = ["points", "fill"], $l = ["points", "fill"], kl = ["points", "fill"], Ll = { key: 3 }, wl = ["y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], Cl = ["x", "y", "fill", "font-size"], ql = ["y", "fill", "font-size"], Sl = { key: 4 }, zl = ["x", "y", "font-size", "fill"], Tl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], Wl = ["id", "font-size", "transform", "fill"], Xl = ["id", "font-size", "transform", "fill"], Yl = ["id", "font-size", "transform", "fill"], Ml = { key: 5 }, Ol = ["fill", "points"], Nl = ["x", "y", "width", "height"], Bl = ["x", "y", "width", "height"], Rl = ["x", "y", "width", "height"], Fl = ["x", "y", "width", "height"], Pl = {
|
|
15
15
|
key: 0,
|
|
16
16
|
style: { "pointer-events": "none" }
|
|
17
|
-
},
|
|
17
|
+
}, Vl = ["x", "y", "font-size", "fill"], Dl = ["x", "y", "font-size", "fill", "innerHTML"], Hl = { key: 0 }, Il = ["x", "y", "onMouseover", "onMouseleave", "onClick"], El = {
|
|
18
18
|
key: 8,
|
|
19
19
|
class: "vue-ui-dna"
|
|
20
|
-
},
|
|
20
|
+
}, Ul = ["points", "fill"], Gl = ["points", "fill"], Ql = ["points", "fill"], Jl = ["points", "fill"], jl = { key: 9 }, Zl = ["x", "y", "font-size", "fill", "font-weight"], Kl = { key: 10 }, ea = ["x", "y", "fill"], ta = ["x", "y", "fill"], la = ["x", "y", "fill"], aa = ["x", "y", "fill"], ua = ["stroke", "d"], oa = ["stroke", "d"], sa = {
|
|
21
21
|
key: 4,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
|
-
},
|
|
23
|
+
}, ra = ["id"], na = ["onClick"], ia = {
|
|
24
24
|
key: 0,
|
|
25
25
|
height: "14",
|
|
26
26
|
width: "14",
|
|
27
27
|
viewBox: "0 0 20 20"
|
|
28
|
-
},
|
|
28
|
+
}, va = ["innerHTML"], ca = {
|
|
29
29
|
__name: "vue-ui-quadrant",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -42,14 +42,14 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
45
|
-
setup(
|
|
46
|
-
const
|
|
47
|
-
...
|
|
45
|
+
setup(nt, { expose: it, emit: vt }) {
|
|
46
|
+
const ct = R(() => import("./Tooltip-le0yZk_t.js")), dt = R(() => import("./BaseIcon-BLg8FaQ2.js")), ht = R(() => import("./vue-ui-accordion-Cv747Pg6.js")), yt = R(() => import("./DataTable-BRN1-1ob.js")), bt = R(() => import("./PenAndPaper-TgGWddgD.js")), ft = R(() => import("./UserOptions-DEFwuQIo.js")), pt = R(() => import("./PackageVersion-Jz9FlNXl.js")), gt = R(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_quadrant: mt } = Xt(), M = nt, xe = x(() => !!M.dataset && M.dataset.length), w = y(ot()), ne = vt, ie = y(!1), ve = y(""), $e = y(0), p = y(!1), A = y(null), ke = y(null), Le = y(null), we = y(null), _e = y(null), Ce = y(0), qe = y(0), Se = y(0), ze = y(!1), J = y(null), ce = y(null), e = y(he()), { loading: Te, FINAL_DATASET: Ae } = ul({
|
|
47
|
+
...qt(M),
|
|
48
48
|
FINAL_CONFIG: e,
|
|
49
|
-
prepareConfig:
|
|
49
|
+
prepareConfig: he,
|
|
50
50
|
callback: () => {
|
|
51
51
|
Promise.resolve().then(async () => {
|
|
52
|
-
await
|
|
52
|
+
await ut(), m.value.showTable = e.value.table.show;
|
|
53
53
|
});
|
|
54
54
|
},
|
|
55
55
|
skeletonDataset: [
|
|
@@ -74,7 +74,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
74
74
|
]
|
|
75
75
|
}
|
|
76
76
|
],
|
|
77
|
-
skeletonConfig:
|
|
77
|
+
skeletonConfig: Yt({
|
|
78
78
|
defaultConfig: e.value,
|
|
79
79
|
userConfig: {
|
|
80
80
|
userOptions: { show: !1 },
|
|
@@ -112,42 +112,42 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
})
|
|
115
|
-
}), { userOptionsVisible: de, setUserOptionsVisibility:
|
|
116
|
-
function
|
|
117
|
-
const l =
|
|
115
|
+
}), { userOptionsVisible: de, setUserOptionsVisibility: We, keepUserOptionState: Xe } = Kt({ config: e.value }), { svgRef: Ye } = el({ config: e.value.style.chart.title });
|
|
116
|
+
function he() {
|
|
117
|
+
const l = st({
|
|
118
118
|
userConfig: M.config,
|
|
119
|
-
defaultConfig:
|
|
119
|
+
defaultConfig: mt
|
|
120
120
|
});
|
|
121
121
|
return l.theme ? {
|
|
122
|
-
...
|
|
123
|
-
userConfig:
|
|
122
|
+
...st({
|
|
123
|
+
userConfig: Ot.vue_ui_quadrant[l.theme] || M.config,
|
|
124
124
|
defaultConfig: l
|
|
125
125
|
}),
|
|
126
|
-
customPalette:
|
|
126
|
+
customPalette: Mt[l.theme] || me
|
|
127
127
|
} : l;
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
e.value =
|
|
129
|
+
ge(() => M.config, (l) => {
|
|
130
|
+
e.value = he(), de.value = !e.value.userOptions.showOnChartHover, Me(), Ce.value += 1, qe.value += 1, Se.value += 1, m.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
131
131
|
}, { deep: !0 });
|
|
132
|
-
const O =
|
|
133
|
-
function
|
|
134
|
-
if (
|
|
132
|
+
const O = tt(null), H = tt(null), I = x(() => e.value.debug);
|
|
133
|
+
function Me() {
|
|
134
|
+
if (Nt(M.dataset) ? Q({
|
|
135
135
|
componentName: "VueUiQuadrant",
|
|
136
136
|
type: "dataset",
|
|
137
|
-
debug:
|
|
137
|
+
debug: I.value
|
|
138
138
|
}) : M.dataset.forEach((l, u) => {
|
|
139
139
|
[null, void 0].includes(l.name) && Q({
|
|
140
140
|
componentName: "VueUiQuadrant",
|
|
141
141
|
type: "datasetSerieAttribute",
|
|
142
142
|
property: "name",
|
|
143
143
|
index: u,
|
|
144
|
-
debug:
|
|
144
|
+
debug: I.value
|
|
145
145
|
}), [null, void 0].includes(l.series) ? Q({
|
|
146
146
|
componentName: "VueUiQuadrant",
|
|
147
147
|
type: "datasetSerieAttribute",
|
|
148
148
|
property: "series",
|
|
149
149
|
index: u,
|
|
150
|
-
debug:
|
|
150
|
+
debug: I.value
|
|
151
151
|
}) : l.series.forEach((a, o) => {
|
|
152
152
|
[null, void 0].includes(a.name) && Q({
|
|
153
153
|
componentName: "VueUiQuadrant",
|
|
@@ -155,35 +155,35 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
155
155
|
property: "name",
|
|
156
156
|
key: "series",
|
|
157
157
|
index: o,
|
|
158
|
-
debug:
|
|
158
|
+
debug: I.value
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
}), e.value.responsive) {
|
|
162
|
-
const l =
|
|
163
|
-
const { width: u, height: a } =
|
|
162
|
+
const l = Jt(() => {
|
|
163
|
+
const { width: u, height: a } = jt({
|
|
164
164
|
chart: A.value,
|
|
165
|
-
title: e.value.style.chart.title.text ?
|
|
166
|
-
legend: e.value.style.chart.legend.show ?
|
|
167
|
-
source:
|
|
168
|
-
noTitle:
|
|
165
|
+
title: e.value.style.chart.title.text ? ke.value : null,
|
|
166
|
+
legend: e.value.style.chart.legend.show ? Le.value : null,
|
|
167
|
+
source: we.value,
|
|
168
|
+
noTitle: _e.value
|
|
169
169
|
});
|
|
170
170
|
L.value = 48, requestAnimationFrame(() => {
|
|
171
171
|
t.value.height = a, t.value.usableHeight = a - L.value * 2, t.value.width = u, t.value.usableWidth = u - L.value * 2, t.value.top = L.value, t.value.left = L.value, t.value.right = u - L.value, t.value.bottom = a - L.value, t.value.centerX = u / 2, t.value.centerY = a - a / 2, t.value.padding = L.value;
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
|
-
O.value && (
|
|
174
|
+
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect()), O.value = new ResizeObserver(l), H.value = A.value.parentNode, O.value.observe(H.value);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}),
|
|
180
|
-
O.value && (
|
|
177
|
+
St(() => {
|
|
178
|
+
ze.value = !0, Me();
|
|
179
|
+
}), zt(() => {
|
|
180
|
+
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect());
|
|
181
181
|
});
|
|
182
|
-
const { isPrinting:
|
|
182
|
+
const { isPrinting: Oe, isImaging: Ne, generatePdf: Be, generateImage: Re } = Zt({
|
|
183
183
|
elementId: `vue-ui-quadrant_${w.value}`,
|
|
184
184
|
fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
|
|
185
185
|
options: e.value.userOptions.print
|
|
186
|
-
}),
|
|
186
|
+
}), xt = x(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = x(() => Bt(e.value.customPalette)), m = y({
|
|
187
187
|
plotLabels: {
|
|
188
188
|
show: e.value.style.chart.layout.labels.plotLabels.show
|
|
189
189
|
},
|
|
@@ -206,15 +206,15 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
206
206
|
startX: 0,
|
|
207
207
|
startY: 0
|
|
208
208
|
});
|
|
209
|
-
|
|
209
|
+
ge(() => t.value, (l) => {
|
|
210
210
|
l && (v.value = {
|
|
211
211
|
...JSON.parse(JSON.stringify(t.value)),
|
|
212
212
|
startX: 0,
|
|
213
213
|
startY: 0
|
|
214
214
|
});
|
|
215
215
|
}, { deep: !0 });
|
|
216
|
-
const
|
|
217
|
-
switch (
|
|
216
|
+
const c = y(null), V = x(() => {
|
|
217
|
+
switch (c.value) {
|
|
218
218
|
case "TL":
|
|
219
219
|
return {
|
|
220
220
|
x: v.value.startX + v.value.width / 2,
|
|
@@ -254,9 +254,9 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
254
254
|
default:
|
|
255
255
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
256
256
|
}
|
|
257
|
-
}),
|
|
257
|
+
}), $t = y(null), ee = y(!1);
|
|
258
258
|
function j({ targetX: l, targetY: u, targetW: a, targetH: o, side: r }) {
|
|
259
|
-
|
|
259
|
+
c.value && Z(r);
|
|
260
260
|
const b = {
|
|
261
261
|
x: l - v.value.startX,
|
|
262
262
|
y: u - v.value.startY,
|
|
@@ -264,22 +264,22 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
264
264
|
h: o - v.value.height
|
|
265
265
|
}, f = e.value.zoomAnimationFrames;
|
|
266
266
|
let W = 0;
|
|
267
|
-
function
|
|
268
|
-
ee.value = !0, v.value.startX += b.x / f, v.value.startY += b.y / f, v.value.width += b.w / f, v.value.height += b.h / f, W += 1, W < f ?
|
|
267
|
+
function et() {
|
|
268
|
+
ee.value = !0, v.value.startX += b.x / f, v.value.startY += b.y / f, v.value.width += b.w / f, v.value.height += b.h / f, W += 1, W < f ? $t.value = requestAnimationFrame(et) : ee.value = !1;
|
|
269
269
|
}
|
|
270
|
-
|
|
270
|
+
et();
|
|
271
271
|
}
|
|
272
272
|
function N(l) {
|
|
273
273
|
if (!ee.value)
|
|
274
|
-
if (p.value &&
|
|
274
|
+
if (p.value && c.value === l)
|
|
275
275
|
j({
|
|
276
276
|
targetX: 0,
|
|
277
277
|
targetY: 0,
|
|
278
278
|
targetW: t.value.width,
|
|
279
279
|
targetH: t.value.height
|
|
280
|
-
}),
|
|
280
|
+
}), c.value = null, p.value = !1;
|
|
281
281
|
else {
|
|
282
|
-
switch (
|
|
282
|
+
switch (c.value = l, l) {
|
|
283
283
|
case "TL":
|
|
284
284
|
j({
|
|
285
285
|
targetX: 0,
|
|
@@ -323,7 +323,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
323
323
|
p.value = !0;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
const
|
|
326
|
+
const kt = x(() => {
|
|
327
327
|
const l = e.value.style.chart.layout.grid.graduations.steps, u = t.value.usableWidth / (l * 2), a = t.value.top, o = [];
|
|
328
328
|
for (let r = 0; r < l; r += 1)
|
|
329
329
|
o.push({
|
|
@@ -346,21 +346,21 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
346
346
|
min: o
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
|
-
}), B = y([]), E = x(() =>
|
|
349
|
+
}), B = y([]), E = x(() => Ae.value.map((l, u) => ({
|
|
350
350
|
...l,
|
|
351
351
|
series: Ft({
|
|
352
352
|
data: l.series,
|
|
353
353
|
threshold: e.value.downsample.threshold
|
|
354
354
|
}),
|
|
355
355
|
id: `cat_${u}_${w.value}`,
|
|
356
|
-
color:
|
|
357
|
-
}))),
|
|
356
|
+
color: Rt(l.color) || Fe.value[u] || me[u]
|
|
357
|
+
}))), Lt = x(() => E.value.filter((l) => !B.value.includes(l.id))), wt = x(() => E.value.map((l, u) => ({
|
|
358
358
|
...l,
|
|
359
359
|
shape: l.shape || "circle",
|
|
360
360
|
series: l.series.map((a) => ({
|
|
361
361
|
...a,
|
|
362
|
-
x:
|
|
363
|
-
y:
|
|
362
|
+
x: Pe(a.x),
|
|
363
|
+
y: Ve(a.y),
|
|
364
364
|
xValue: a.x,
|
|
365
365
|
yValue: a.y,
|
|
366
366
|
quadrantSide: He({ x: a.x, y: a.y }),
|
|
@@ -368,7 +368,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
368
368
|
shape: l.shape,
|
|
369
369
|
color: l.color
|
|
370
370
|
}))
|
|
371
|
-
}))), z = x(() => (
|
|
371
|
+
}))), z = x(() => (Ae.value.forEach((l, u) => {
|
|
372
372
|
l.series.forEach((a, o) => {
|
|
373
373
|
[null, void 0].includes(a.x) && Q({
|
|
374
374
|
componentName: "VueUiQuadrant",
|
|
@@ -376,34 +376,34 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
376
376
|
property: "x",
|
|
377
377
|
key: "series",
|
|
378
378
|
index: o,
|
|
379
|
-
debug:
|
|
379
|
+
debug: I.value
|
|
380
380
|
}), [null, void 0].includes(a.y) && Q({
|
|
381
381
|
componentName: "VueUiQuadrant",
|
|
382
382
|
type: "datasetSerieAttribute",
|
|
383
383
|
property: "y",
|
|
384
384
|
key: "series",
|
|
385
385
|
index: o,
|
|
386
|
-
debug:
|
|
386
|
+
debug: I.value
|
|
387
387
|
});
|
|
388
388
|
});
|
|
389
|
-
}),
|
|
389
|
+
}), Lt.value.map((l, u) => ({
|
|
390
390
|
...l,
|
|
391
391
|
shape: l.shape || "circle",
|
|
392
|
-
color: l.color || Fe.value[u] ||
|
|
392
|
+
color: l.color || Fe.value[u] || me[u],
|
|
393
393
|
series: l.series.map((a) => ({
|
|
394
394
|
...a,
|
|
395
|
-
x:
|
|
396
|
-
y:
|
|
395
|
+
x: Pe(a.x),
|
|
396
|
+
y: Ve(a.y),
|
|
397
397
|
xValue: a.x,
|
|
398
398
|
yValue: a.y,
|
|
399
399
|
quadrantSide: He({ x: a.x, y: a.y }),
|
|
400
400
|
categoryName: l.name,
|
|
401
401
|
shape: l.shape,
|
|
402
402
|
color: l.color,
|
|
403
|
-
uid:
|
|
403
|
+
uid: ot()
|
|
404
404
|
}))
|
|
405
405
|
}))));
|
|
406
|
-
function
|
|
406
|
+
function Pe(l) {
|
|
407
407
|
if (l >= 0) {
|
|
408
408
|
const u = l / q.value.x.max;
|
|
409
409
|
return t.value.centerX + t.value.usableWidth / 2 * u;
|
|
@@ -412,7 +412,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
412
412
|
return t.value.centerX - t.value.usableWidth / 2 * u;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function Ve(l) {
|
|
416
416
|
if (l >= 0) {
|
|
417
417
|
const u = l / q.value.y.max;
|
|
418
418
|
return t.value.centerY + (1 - t.value.usableHeight / 2 * u);
|
|
@@ -444,7 +444,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
444
444
|
name: o.category
|
|
445
445
|
},
|
|
446
446
|
o.name,
|
|
447
|
-
|
|
447
|
+
F(
|
|
448
448
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
449
449
|
o.x,
|
|
450
450
|
P({
|
|
@@ -452,7 +452,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
452
452
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
453
453
|
})
|
|
454
454
|
),
|
|
455
|
-
|
|
455
|
+
F(
|
|
456
456
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
457
457
|
o.y,
|
|
458
458
|
P({
|
|
@@ -476,20 +476,20 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
476
476
|
};
|
|
477
477
|
return { head: l, body: u, config: a, colNames: l };
|
|
478
478
|
});
|
|
479
|
-
function
|
|
479
|
+
function ye(l) {
|
|
480
480
|
B.value.includes(l) ? B.value = B.value.filter((a) => a !== l) : B.value.push(l);
|
|
481
|
-
const u =
|
|
481
|
+
const u = Ge();
|
|
482
482
|
ne("selectLegend", u);
|
|
483
483
|
}
|
|
484
|
-
const
|
|
484
|
+
const De = x(() => wt.value.map((l) => ({
|
|
485
485
|
name: l.name,
|
|
486
486
|
shape: l.shape,
|
|
487
487
|
color: l.color,
|
|
488
488
|
id: l.id,
|
|
489
489
|
opacity: B.value.includes(l.id) ? 0.5 : 1,
|
|
490
|
-
segregate: () =>
|
|
490
|
+
segregate: () => ye(l.id),
|
|
491
491
|
isSegregated: B.value.includes(l.id)
|
|
492
|
-
}))),
|
|
492
|
+
}))), _t = x(() => ({
|
|
493
493
|
cy: "quadrant-div-legend",
|
|
494
494
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
495
495
|
color: e.value.style.chart.legend.color,
|
|
@@ -511,19 +511,19 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
511
511
|
return "";
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
const ae = y(null), ue = y(null),
|
|
514
|
+
const ae = y(null), ue = y(null), be = y(null);
|
|
515
515
|
function Ie(l, u, a) {
|
|
516
516
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: u, seriesIndex: a }), ae.value = u.uid, ue.value = {
|
|
517
517
|
color: l.color,
|
|
518
518
|
shape: l.shape
|
|
519
|
-
},
|
|
519
|
+
}, be.value = {
|
|
520
520
|
datapoint: u,
|
|
521
521
|
seriesIndex: a,
|
|
522
522
|
series: z.value,
|
|
523
523
|
config: e.value
|
|
524
524
|
}, ie.value = !0;
|
|
525
525
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
526
|
-
if (
|
|
526
|
+
if (Gt(o) && Qt(() => o({
|
|
527
527
|
seriesIndex: a,
|
|
528
528
|
datapoint: u,
|
|
529
529
|
series: z.value,
|
|
@@ -537,7 +537,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
537
537
|
});
|
|
538
538
|
else {
|
|
539
539
|
let r = "";
|
|
540
|
-
u.quadrantSide && (r += `<div style="color:${e.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${e.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${e.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 ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${
|
|
540
|
+
u.quadrantSide && (r += `<div style="color:${e.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${e.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${e.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 ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${F(
|
|
541
541
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
542
542
|
u.xValue,
|
|
543
543
|
P({
|
|
@@ -545,7 +545,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
545
545
|
r: e.value.style.chart.tooltip.roundingValue
|
|
546
546
|
}),
|
|
547
547
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
548
|
-
)}</b></div>`, r += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
548
|
+
)}</b></div>`, r += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${F(
|
|
549
549
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
550
550
|
u.yValue,
|
|
551
551
|
P({
|
|
@@ -556,10 +556,10 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
556
556
|
)}</b></div>`, ve.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Ee(l, u) {
|
|
560
560
|
ie.value = !1, ae.value = null, ue.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: u });
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function Ue(l, u, a) {
|
|
563
563
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: u, seriesIndex: a });
|
|
564
564
|
const o = {
|
|
565
565
|
category: l.name,
|
|
@@ -692,7 +692,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
}));
|
|
695
|
-
function
|
|
695
|
+
function Ge() {
|
|
696
696
|
return z.value.map((l) => ({
|
|
697
697
|
color: l.color,
|
|
698
698
|
name: l.name,
|
|
@@ -706,32 +706,32 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
706
706
|
}))
|
|
707
707
|
}));
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
|
|
711
|
-
const u = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = te.value.head, o = te.value.body, r = u.concat([a]).concat(o), b =
|
|
712
|
-
l ? l(b) :
|
|
709
|
+
function fe(l = null) {
|
|
710
|
+
ut(() => {
|
|
711
|
+
const u = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = te.value.head, o = te.value.body, r = u.concat([a]).concat(o), b = Et(r);
|
|
712
|
+
l ? l(b) : Ut({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
713
713
|
});
|
|
714
714
|
}
|
|
715
|
-
const
|
|
716
|
-
function
|
|
717
|
-
|
|
718
|
-
}
|
|
719
|
-
function Qe() {
|
|
720
|
-
g.value.showTable = !g.value.showTable;
|
|
715
|
+
const D = y(!1);
|
|
716
|
+
function Qe(l) {
|
|
717
|
+
D.value = l, $e.value += 1;
|
|
721
718
|
}
|
|
722
719
|
function Je() {
|
|
723
|
-
|
|
720
|
+
m.value.showTable = !m.value.showTable;
|
|
724
721
|
}
|
|
725
722
|
function je() {
|
|
726
|
-
|
|
723
|
+
m.value.plotLabels.show = !m.value.plotLabels.show;
|
|
724
|
+
}
|
|
725
|
+
function Ze() {
|
|
726
|
+
m.value.showTooltip = !m.value.showTooltip;
|
|
727
727
|
}
|
|
728
728
|
const oe = y(!1);
|
|
729
|
-
function
|
|
729
|
+
function pe() {
|
|
730
730
|
oe.value = !oe.value;
|
|
731
731
|
}
|
|
732
|
-
async function
|
|
732
|
+
async function Ct({ scale: l = 2 } = {}) {
|
|
733
733
|
if (!A.value) return;
|
|
734
|
-
const { width: u, height: a } = A.value.getBoundingClientRect(), o = u / a, { imageUri: r, base64: b } = await
|
|
734
|
+
const { width: u, height: a } = A.value.getBoundingClientRect(), o = u / a, { imageUri: r, base64: b } = await tl({ domElement: A.value, base64: !0, img: !0, scale: l });
|
|
735
735
|
return {
|
|
736
736
|
imageUri: r,
|
|
737
737
|
base64: b,
|
|
@@ -742,16 +742,16 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
744
|
const K = x(() => {
|
|
745
|
-
const l = e.value.table.useDialog && !e.value.table.show, u =
|
|
745
|
+
const l = e.value.table.useDialog && !e.value.table.show, u = m.value.showTable;
|
|
746
746
|
return {
|
|
747
|
-
component: l ?
|
|
747
|
+
component: l ? gt : ht,
|
|
748
748
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
749
749
|
props: l ? {
|
|
750
750
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
751
751
|
color: e.value.table.th.color,
|
|
752
752
|
headerColor: e.value.table.th.color,
|
|
753
753
|
headerBg: e.value.table.th.backgroundColor,
|
|
754
|
-
isFullscreen:
|
|
754
|
+
isFullscreen: D.value,
|
|
755
755
|
fullscreenParent: A.value,
|
|
756
756
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
757
757
|
} : {
|
|
@@ -771,51 +771,55 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
771
771
|
}
|
|
772
772
|
};
|
|
773
773
|
});
|
|
774
|
-
|
|
774
|
+
ge(() => m.value.showTable, (l) => {
|
|
775
775
|
e.value.table.show || (l && e.value.table.useDialog && J.value ? J.value.open() : "close" in J.value && J.value.close());
|
|
776
|
-
})
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
776
|
+
});
|
|
777
|
+
function Ke() {
|
|
778
|
+
m.value.showTable = !1, ce.value && ce.value.setTableIconState(!1);
|
|
779
|
+
}
|
|
780
|
+
return it({
|
|
781
|
+
getData: Ge,
|
|
782
|
+
getImage: Ct,
|
|
783
|
+
generatePdf: Be,
|
|
784
|
+
generateCsv: fe,
|
|
785
|
+
generateImage: Re,
|
|
786
|
+
toggleTable: Je,
|
|
787
|
+
toggleLabels: je,
|
|
788
|
+
toggleTooltip: Ze,
|
|
789
|
+
toggleAnnotator: pe,
|
|
790
|
+
toggleFullscreen: Qe
|
|
787
791
|
}), (l, u) => (s(), n("div", {
|
|
788
|
-
class: T(`vue-ui-quadrant ${
|
|
792
|
+
class: T(`vue-ui-quadrant ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
789
793
|
ref_key: "quadrantChart",
|
|
790
794
|
ref: A,
|
|
791
795
|
id: `vue-ui-quadrant_${w.value}`,
|
|
792
796
|
style: C(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
793
|
-
onMouseenter: u[
|
|
794
|
-
onMouseleave: u[
|
|
797
|
+
onMouseenter: u[14] || (u[14] = () => i(We)(!0)),
|
|
798
|
+
onMouseleave: u[15] || (u[15] = () => i(We)(!1))
|
|
795
799
|
}, [
|
|
796
|
-
e.value.userOptions.buttons.annotator ? (s(), X(i(
|
|
800
|
+
e.value.userOptions.buttons.annotator ? (s(), X(i(bt), {
|
|
797
801
|
key: 0,
|
|
798
|
-
svgRef: i(
|
|
802
|
+
svgRef: i(Ye),
|
|
799
803
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
800
804
|
color: e.value.style.chart.color,
|
|
801
805
|
active: oe.value,
|
|
802
|
-
onClose:
|
|
806
|
+
onClose: pe
|
|
803
807
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
804
|
-
|
|
808
|
+
xt.value ? (s(), n("div", {
|
|
805
809
|
key: 1,
|
|
806
810
|
ref_key: "noTitle",
|
|
807
|
-
ref:
|
|
811
|
+
ref: _e,
|
|
808
812
|
class: "vue-data-ui-no-title-space",
|
|
809
813
|
style: "height:36px; width: 100%;background:transparent"
|
|
810
814
|
}, null, 512)) : h("", !0),
|
|
811
815
|
e.value.style.chart.title.text ? (s(), n("div", {
|
|
812
816
|
key: 2,
|
|
813
817
|
ref_key: "chartTitle",
|
|
814
|
-
ref:
|
|
818
|
+
ref: ke,
|
|
815
819
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
816
820
|
}, [
|
|
817
|
-
(s(), X(
|
|
818
|
-
key: `table_${
|
|
821
|
+
(s(), X(ll, {
|
|
822
|
+
key: `table_${Ce.value}`,
|
|
819
823
|
config: {
|
|
820
824
|
title: {
|
|
821
825
|
cy: "quadrant-title",
|
|
@@ -828,17 +832,17 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
828
832
|
}
|
|
829
833
|
}, null, 8, ["config"]))
|
|
830
834
|
], 512)) : h("", !0),
|
|
831
|
-
|
|
835
|
+
d("div", {
|
|
832
836
|
id: `legend-top-${w.value}`
|
|
833
|
-
}, null, 8,
|
|
834
|
-
e.value.userOptions.show &&
|
|
835
|
-
ref_key: "
|
|
836
|
-
ref:
|
|
837
|
-
key: `user_options_${
|
|
837
|
+
}, null, 8, nl),
|
|
838
|
+
e.value.userOptions.show && xe.value && (i(Xe) || i(de)) ? (s(), X(i(ft), {
|
|
839
|
+
ref_key: "userOptionsRef",
|
|
840
|
+
ref: ce,
|
|
841
|
+
key: `user_options_${$e.value}`,
|
|
838
842
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
839
843
|
color: e.value.style.chart.color,
|
|
840
|
-
isImaging: i(
|
|
841
|
-
isPrinting: i(
|
|
844
|
+
isImaging: i(Ne),
|
|
845
|
+
isPrinting: i(Oe),
|
|
842
846
|
uid: w.value,
|
|
843
847
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
844
848
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -847,8 +851,8 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
847
851
|
hasTable: e.value.userOptions.buttons.table,
|
|
848
852
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
849
853
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
850
|
-
isFullscreen:
|
|
851
|
-
isTooltip:
|
|
854
|
+
isFullscreen: D.value,
|
|
855
|
+
isTooltip: m.value.showTooltip,
|
|
852
856
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
853
857
|
chartElement: A.value,
|
|
854
858
|
position: e.value.userOptions.position,
|
|
@@ -856,92 +860,93 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
856
860
|
isAnnotation: oe.value,
|
|
857
861
|
callbacks: e.value.userOptions.callbacks,
|
|
858
862
|
printScale: e.value.userOptions.print.scale,
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
863
|
+
tableDialog: e.value.table.useDialog,
|
|
864
|
+
onToggleFullscreen: Qe,
|
|
865
|
+
onGeneratePdf: i(Be),
|
|
866
|
+
onGenerateCsv: fe,
|
|
867
|
+
onGenerateImage: i(Re),
|
|
868
|
+
onToggleTable: Je,
|
|
869
|
+
onToggleLabels: je,
|
|
870
|
+
onToggleTooltip: Ze,
|
|
871
|
+
onToggleAnnotator: pe,
|
|
867
872
|
style: C({
|
|
868
|
-
visibility: i(
|
|
873
|
+
visibility: i(Xe) ? i(de) ? "visible" : "hidden" : "visible"
|
|
869
874
|
})
|
|
870
|
-
},
|
|
875
|
+
}, lt({ _: 2 }, [
|
|
871
876
|
l.$slots.menuIcon ? {
|
|
872
877
|
name: "menuIcon",
|
|
873
|
-
fn:
|
|
878
|
+
fn: g(({ isOpen: a, color: o }) => [
|
|
874
879
|
$(l.$slots, "menuIcon", U(G({ isOpen: a, color: o })), void 0, !0)
|
|
875
880
|
]),
|
|
876
881
|
key: "0"
|
|
877
882
|
} : void 0,
|
|
878
883
|
l.$slots.optionTooltip ? {
|
|
879
884
|
name: "optionTooltip",
|
|
880
|
-
fn:
|
|
885
|
+
fn: g(() => [
|
|
881
886
|
$(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
882
887
|
]),
|
|
883
888
|
key: "1"
|
|
884
889
|
} : void 0,
|
|
885
890
|
l.$slots.optionPdf ? {
|
|
886
891
|
name: "optionPdf",
|
|
887
|
-
fn:
|
|
892
|
+
fn: g(() => [
|
|
888
893
|
$(l.$slots, "optionPdf", {}, void 0, !0)
|
|
889
894
|
]),
|
|
890
895
|
key: "2"
|
|
891
896
|
} : void 0,
|
|
892
897
|
l.$slots.optionCsv ? {
|
|
893
898
|
name: "optionCsv",
|
|
894
|
-
fn:
|
|
899
|
+
fn: g(() => [
|
|
895
900
|
$(l.$slots, "optionCsv", {}, void 0, !0)
|
|
896
901
|
]),
|
|
897
902
|
key: "3"
|
|
898
903
|
} : void 0,
|
|
899
904
|
l.$slots.optionImg ? {
|
|
900
905
|
name: "optionImg",
|
|
901
|
-
fn:
|
|
906
|
+
fn: g(() => [
|
|
902
907
|
$(l.$slots, "optionImg", {}, void 0, !0)
|
|
903
908
|
]),
|
|
904
909
|
key: "4"
|
|
905
910
|
} : void 0,
|
|
906
911
|
l.$slots.optionTable ? {
|
|
907
912
|
name: "optionTable",
|
|
908
|
-
fn:
|
|
913
|
+
fn: g(() => [
|
|
909
914
|
$(l.$slots, "optionTable", {}, void 0, !0)
|
|
910
915
|
]),
|
|
911
916
|
key: "5"
|
|
912
917
|
} : void 0,
|
|
913
918
|
l.$slots.optionLabels ? {
|
|
914
919
|
name: "optionLabels",
|
|
915
|
-
fn:
|
|
920
|
+
fn: g(() => [
|
|
916
921
|
$(l.$slots, "optionLabels", {}, void 0, !0)
|
|
917
922
|
]),
|
|
918
923
|
key: "6"
|
|
919
924
|
} : void 0,
|
|
920
925
|
l.$slots.optionFullscreen ? {
|
|
921
926
|
name: "optionFullscreen",
|
|
922
|
-
fn:
|
|
927
|
+
fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
923
928
|
$(l.$slots, "optionFullscreen", U(G({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
924
929
|
]),
|
|
925
930
|
key: "7"
|
|
926
931
|
} : void 0,
|
|
927
932
|
l.$slots.optionAnnotator ? {
|
|
928
933
|
name: "optionAnnotator",
|
|
929
|
-
fn:
|
|
934
|
+
fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
930
935
|
$(l.$slots, "optionAnnotator", U(G({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
931
936
|
]),
|
|
932
937
|
key: "8"
|
|
933
938
|
} : void 0
|
|
934
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
939
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
935
940
|
(s(), n("svg", {
|
|
936
941
|
ref_key: "svgRef",
|
|
937
|
-
ref:
|
|
938
|
-
xmlns: i(
|
|
939
|
-
class: T({ "vue-data-ui-fullscreen--on":
|
|
942
|
+
ref: Ye,
|
|
943
|
+
xmlns: i(Pt),
|
|
944
|
+
class: T({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
940
945
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
941
946
|
style: C(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
942
947
|
id: `svg_${w.value}`
|
|
943
948
|
}, [
|
|
944
|
-
se(i(
|
|
949
|
+
se(i(pt)),
|
|
945
950
|
l.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
946
951
|
key: 0,
|
|
947
952
|
x: v.value.startX,
|
|
@@ -953,8 +958,8 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
953
958
|
}
|
|
954
959
|
}, [
|
|
955
960
|
$(l.$slots, "chart-background", {}, void 0, !0)
|
|
956
|
-
], 8,
|
|
957
|
-
|
|
961
|
+
], 8, vl)) : h("", !0),
|
|
962
|
+
d("defs", null, [
|
|
958
963
|
(s(!0), n(S, null, Y(z.value, (a, o) => (s(), n("radialGradient", {
|
|
959
964
|
cx: "50%",
|
|
960
965
|
cy: "50%",
|
|
@@ -963,18 +968,18 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
963
968
|
fy: "50%",
|
|
964
969
|
id: `quadrant_gradient_${w.value}_${o}`
|
|
965
970
|
}, [
|
|
966
|
-
|
|
971
|
+
d("stop", {
|
|
967
972
|
offset: "0%",
|
|
968
|
-
"stop-color": i(re)(i(
|
|
973
|
+
"stop-color": i(re)(i(Vt)(a.color, 0.05), e.value.style.chart.layout.areas.opacity)
|
|
969
974
|
}, null, 8, dl),
|
|
970
|
-
|
|
975
|
+
d("stop", {
|
|
971
976
|
offset: "100%",
|
|
972
977
|
"stop-color": i(re)(a.color, e.value.style.chart.layout.areas.opacity)
|
|
973
|
-
}, null, 8,
|
|
974
|
-
], 8,
|
|
978
|
+
}, null, 8, hl)
|
|
979
|
+
], 8, cl))), 256))
|
|
975
980
|
]),
|
|
976
|
-
e.value.style.chart.layout.grid.graduations.show ? (s(), n("g",
|
|
977
|
-
(s(!0), n(S, null, Y(
|
|
981
|
+
e.value.style.chart.layout.grid.graduations.show ? (s(), n("g", yl, [
|
|
982
|
+
(s(!0), n(S, null, Y(kt.value, (a) => (s(), n("rect", {
|
|
978
983
|
fill: e.value.style.chart.layout.grid.graduations.fill ? i(re)(e.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
979
984
|
x: a.x,
|
|
980
985
|
y: a.y,
|
|
@@ -983,47 +988,47 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
983
988
|
"stroke-width": e.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
984
989
|
stroke: e.value.style.chart.layout.grid.graduations.stroke,
|
|
985
990
|
rx: e.value.style.chart.layout.grid.graduations.roundingForce
|
|
986
|
-
}, null, 8,
|
|
991
|
+
}, null, 8, bl))), 256))
|
|
987
992
|
])) : h("", !0),
|
|
988
|
-
|
|
993
|
+
d("line", {
|
|
989
994
|
x1: t.value.left,
|
|
990
995
|
y1: t.value.centerY,
|
|
991
996
|
x2: t.value.right,
|
|
992
997
|
y2: t.value.centerY,
|
|
993
998
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
994
999
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
995
|
-
}, null, 8,
|
|
996
|
-
|
|
1000
|
+
}, null, 8, fl),
|
|
1001
|
+
d("line", {
|
|
997
1002
|
x1: t.value.centerX,
|
|
998
1003
|
y1: t.value.top,
|
|
999
1004
|
x2: t.value.centerX,
|
|
1000
1005
|
y2: t.value.bottom,
|
|
1001
1006
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1002
1007
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1003
|
-
}, null, 8,
|
|
1004
|
-
e.value.style.chart.layout.grid.showArrows ? (s(), n("g",
|
|
1005
|
-
|
|
1008
|
+
}, null, 8, pl),
|
|
1009
|
+
e.value.style.chart.layout.grid.showArrows ? (s(), n("g", gl, [
|
|
1010
|
+
d("polygon", {
|
|
1006
1011
|
points: `${t.value.right - 8},${t.value.centerY - 6} ${t.value.right},${t.value.centerY} ${t.value.right - 8},${t.value.centerY + 6}`,
|
|
1007
1012
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1008
1013
|
stroke: "none"
|
|
1009
|
-
}, null, 8,
|
|
1010
|
-
|
|
1014
|
+
}, null, 8, ml),
|
|
1015
|
+
d("polygon", {
|
|
1011
1016
|
points: `${t.value.left + 8},${t.value.centerY - 6} ${t.value.left},${t.value.centerY} ${t.value.left + 8},${t.value.centerY + 6}`,
|
|
1012
1017
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1013
1018
|
stroke: "none"
|
|
1014
|
-
}, null, 8,
|
|
1015
|
-
|
|
1019
|
+
}, null, 8, xl),
|
|
1020
|
+
d("polygon", {
|
|
1016
1021
|
points: `${t.value.centerX - 6},${t.value.top + 8} ${t.value.centerX},${t.value.top} ${t.value.centerX + 6},${t.value.top + 8}`,
|
|
1017
1022
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1018
1023
|
stroke: "none"
|
|
1019
|
-
}, null, 8,
|
|
1020
|
-
|
|
1024
|
+
}, null, 8, $l),
|
|
1025
|
+
d("polygon", {
|
|
1021
1026
|
points: `${t.value.centerX - 6},${t.value.bottom - 8} ${t.value.centerX},${t.value.bottom} ${t.value.centerX + 6},${t.value.bottom - 8}`,
|
|
1022
1027
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1023
1028
|
stroke: "none"
|
|
1024
|
-
}, null, 8,
|
|
1029
|
+
}, null, 8, kl)
|
|
1025
1030
|
])) : h("", !0),
|
|
1026
|
-
e.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (s(), n("g",
|
|
1031
|
+
e.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (s(), n("g", Ll, [
|
|
1027
1032
|
e.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
|
|
1028
1033
|
key: 0,
|
|
1029
1034
|
x: 0,
|
|
@@ -1033,7 +1038,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1033
1038
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1034
1039
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1035
1040
|
onClick: u[0] || (u[0] = (a) => Z("tl"))
|
|
1036
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
1041
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, wl)) : h("", !0),
|
|
1037
1042
|
e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
|
|
1038
1043
|
key: 1,
|
|
1039
1044
|
x: t.value.width,
|
|
@@ -1043,7 +1048,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1043
1048
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1044
1049
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1045
1050
|
onClick: u[1] || (u[1] = (a) => Z("tr"))
|
|
1046
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
1051
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, _l)) : h("", !0),
|
|
1047
1052
|
e.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
|
|
1048
1053
|
key: 2,
|
|
1049
1054
|
x: t.value.width,
|
|
@@ -1053,7 +1058,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1053
1058
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1054
1059
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1055
1060
|
onClick: u[2] || (u[2] = (a) => Z("br"))
|
|
1056
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
1061
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Cl)) : h("", !0),
|
|
1057
1062
|
e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
|
|
1058
1063
|
key: 3,
|
|
1059
1064
|
x: 0,
|
|
@@ -1063,92 +1068,92 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1063
1068
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1064
1069
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1065
1070
|
onClick: u[3] || (u[3] = (a) => Z("bl"))
|
|
1066
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
1071
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ql)) : h("", !0)
|
|
1067
1072
|
])) : h("", !0),
|
|
1068
|
-
e.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g",
|
|
1069
|
-
|
|
1073
|
+
e.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", Sl, [
|
|
1074
|
+
d("text", {
|
|
1070
1075
|
x: t.value.centerX,
|
|
1071
1076
|
y: t.value.top - t.value.padding / 6,
|
|
1072
1077
|
"text-anchor": "middle",
|
|
1073
1078
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1074
1079
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1075
|
-
}, k(i(
|
|
1080
|
+
}, k(i(F)(
|
|
1076
1081
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1077
1082
|
q.value.y.max,
|
|
1078
1083
|
i(P)({
|
|
1079
1084
|
v: q.value.y.max,
|
|
1080
1085
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1081
1086
|
})
|
|
1082
|
-
)), 9,
|
|
1083
|
-
|
|
1087
|
+
)), 9, zl),
|
|
1088
|
+
d("text", {
|
|
1084
1089
|
x: t.value.centerX,
|
|
1085
1090
|
y: t.value.top - t.value.padding / 2,
|
|
1086
1091
|
"text-anchor": "middle",
|
|
1087
1092
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1088
1093
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1089
|
-
}, k(e.value.style.chart.layout.grid.yAxis.name), 9,
|
|
1090
|
-
|
|
1094
|
+
}, k(e.value.style.chart.layout.grid.yAxis.name), 9, Tl),
|
|
1095
|
+
d("text", {
|
|
1091
1096
|
x: t.value.centerX,
|
|
1092
1097
|
y: t.value.bottom + t.value.padding * 0.35,
|
|
1093
1098
|
"text-anchor": "middle",
|
|
1094
1099
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1095
1100
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1096
|
-
}, k(i(
|
|
1101
|
+
}, k(i(F)(
|
|
1097
1102
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1098
1103
|
q.value.y.min,
|
|
1099
1104
|
i(P)({
|
|
1100
1105
|
v: q.value.y.min,
|
|
1101
1106
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1102
1107
|
})
|
|
1103
|
-
)), 9,
|
|
1104
|
-
|
|
1108
|
+
)), 9, Al),
|
|
1109
|
+
d("text", {
|
|
1105
1110
|
id: `xLabelMin_${w.value}`,
|
|
1106
1111
|
"text-anchor": "middle",
|
|
1107
1112
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1108
1113
|
transform: `translate(${t.value.padding - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(-90)`,
|
|
1109
1114
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1110
|
-
}, k(i(
|
|
1115
|
+
}, k(i(F)(
|
|
1111
1116
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1112
1117
|
q.value.x.min,
|
|
1113
1118
|
i(P)({
|
|
1114
1119
|
v: q.value.x.min,
|
|
1115
1120
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1116
1121
|
})
|
|
1117
|
-
)), 9,
|
|
1118
|
-
|
|
1122
|
+
)), 9, Wl),
|
|
1123
|
+
d("text", {
|
|
1119
1124
|
id: `xLabelMax_${w.value}`,
|
|
1120
1125
|
"text-anchor": "middle",
|
|
1121
1126
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1122
1127
|
transform: `translate(${t.value.width - t.value.padding + e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1123
1128
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1124
|
-
}, k(i(
|
|
1129
|
+
}, k(i(F)(
|
|
1125
1130
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1126
1131
|
q.value.x.max,
|
|
1127
1132
|
i(P)({
|
|
1128
1133
|
v: q.value.x.max,
|
|
1129
1134
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1130
1135
|
})
|
|
1131
|
-
)), 9,
|
|
1132
|
-
|
|
1136
|
+
)), 9, Xl),
|
|
1137
|
+
d("text", {
|
|
1133
1138
|
id: `xLabelMaxName_${w.value}`,
|
|
1134
1139
|
"text-anchor": "middle",
|
|
1135
1140
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1136
1141
|
transform: `translate(${t.value.width - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1137
1142
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1138
|
-
}, k(e.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1143
|
+
}, k(e.value.style.chart.layout.grid.xAxis.name), 9, Yl)
|
|
1139
1144
|
])) : h("", !0),
|
|
1140
|
-
e.value.style.chart.layout.areas.show ? (s(), n("g",
|
|
1145
|
+
e.value.style.chart.layout.areas.show ? (s(), n("g", Ml, [
|
|
1141
1146
|
(s(!0), n(S, null, Y(z.value, (a, o) => (s(), n("g", null, [
|
|
1142
1147
|
a.series.length > 2 ? (s(), n("polygon", {
|
|
1143
1148
|
key: 0,
|
|
1144
1149
|
"data-cy-quadrant-area": "",
|
|
1145
1150
|
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${o})` : i(re)(a.color, e.value.style.chart.layout.areas.opacity),
|
|
1146
|
-
points: i(
|
|
1147
|
-
}, null, 8,
|
|
1151
|
+
points: i(Dt)(a)
|
|
1152
|
+
}, null, 8, Ol)) : h("", !0)
|
|
1148
1153
|
]))), 256))
|
|
1149
1154
|
])) : h("", !0),
|
|
1150
|
-
|
|
1151
|
-
|
|
1155
|
+
d("g", null, [
|
|
1156
|
+
d("rect", {
|
|
1152
1157
|
onClick: u[4] || (u[4] = (a) => N("TL")),
|
|
1153
1158
|
x: t.value.left,
|
|
1154
1159
|
y: t.value.top,
|
|
@@ -1156,8 +1161,8 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1156
1161
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1157
1162
|
fill: "transparent",
|
|
1158
1163
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1159
|
-
}, null, 10,
|
|
1160
|
-
|
|
1164
|
+
}, null, 10, Nl),
|
|
1165
|
+
d("rect", {
|
|
1161
1166
|
onClick: u[5] || (u[5] = (a) => N("TR")),
|
|
1162
1167
|
x: t.value.centerX,
|
|
1163
1168
|
y: t.value.top,
|
|
@@ -1165,8 +1170,8 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1165
1170
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1166
1171
|
fill: "transparent",
|
|
1167
1172
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1168
|
-
}, null, 10,
|
|
1169
|
-
|
|
1173
|
+
}, null, 10, Bl),
|
|
1174
|
+
d("rect", {
|
|
1170
1175
|
onClick: u[6] || (u[6] = (a) => N("BR")),
|
|
1171
1176
|
x: t.value.centerX,
|
|
1172
1177
|
y: t.value.centerY,
|
|
@@ -1174,8 +1179,8 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1174
1179
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1175
1180
|
fill: "transparent",
|
|
1176
1181
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1177
|
-
}, null, 10,
|
|
1178
|
-
|
|
1182
|
+
}, null, 10, Rl),
|
|
1183
|
+
d("rect", {
|
|
1179
1184
|
onClick: u[7] || (u[7] = (a) => N("BL")),
|
|
1180
1185
|
x: t.value.left,
|
|
1181
1186
|
y: t.value.centerY,
|
|
@@ -1186,7 +1191,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1186
1191
|
}, null, 10, Fl)
|
|
1187
1192
|
]),
|
|
1188
1193
|
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(S, { key: 7 }, [
|
|
1189
|
-
|
|
1194
|
+
m.value.plotLabels.show ? (s(), n("g", Hl, [
|
|
1190
1195
|
(s(!0), n(S, null, Y(z.value, (a, o) => (s(), n(S, null, [
|
|
1191
1196
|
(s(!0), n(S, null, Y(a.series, (r) => (s(), n("foreignObject", {
|
|
1192
1197
|
style: { overflow: "visible" },
|
|
@@ -1195,10 +1200,10 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1195
1200
|
x: r.x - 50,
|
|
1196
1201
|
y: r.y - e.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1197
1202
|
onMouseover: (b) => Ie(a, r, o),
|
|
1198
|
-
onMouseleave: (b) =>
|
|
1199
|
-
onClick: (b) =>
|
|
1203
|
+
onMouseleave: (b) => Ee(r, o),
|
|
1204
|
+
onClick: (b) => Ue(a, r, o)
|
|
1200
1205
|
}, [
|
|
1201
|
-
|
|
1206
|
+
d("div", {
|
|
1202
1207
|
style: C(`color:${i(It)(a.color)};margin: 0 auto; font-size:${e.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
|
|
1203
1208
|
}, k(r.name), 5)
|
|
1204
1209
|
], 40, Il))), 256))
|
|
@@ -1206,7 +1211,7 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1206
1211
|
])) : h("", !0)
|
|
1207
1212
|
], 64)) : (s(), n(S, { key: 6 }, [
|
|
1208
1213
|
(s(!0), n(S, null, Y(z.value, (a, o) => (s(), n("g", null, [
|
|
1209
|
-
(s(!0), n(S, null, Y(a.series, (r) => (s(), X(
|
|
1214
|
+
(s(!0), n(S, null, Y(a.series, (r) => (s(), X(rt, {
|
|
1210
1215
|
color: a.color,
|
|
1211
1216
|
isSelected: ae.value && r.uid === ae.value,
|
|
1212
1217
|
plot: r,
|
|
@@ -1215,11 +1220,11 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1215
1220
|
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1216
1221
|
strokeWidth: e.value.style.chart.layout.plots.outlineWidth,
|
|
1217
1222
|
onMouseenter: (b) => Ie(a, r, o),
|
|
1218
|
-
onMouseleave: (b) =>
|
|
1219
|
-
onClick: (b) =>
|
|
1223
|
+
onMouseleave: (b) => Ee(r, o),
|
|
1224
|
+
onClick: (b) => Ue(a, r, o)
|
|
1220
1225
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]))), 256))
|
|
1221
1226
|
]))), 256)),
|
|
1222
|
-
|
|
1227
|
+
m.value.plotLabels.show ? (s(), n("g", Pl, [
|
|
1223
1228
|
(s(!0), n(S, null, Y(z.value, (a) => (s(), n("g", null, [
|
|
1224
1229
|
(s(!0), n(S, null, Y(a.series, (o) => (s(), n("g", null, [
|
|
1225
1230
|
String(o.name).includes(`
|
|
@@ -1237,154 +1242,154 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1237
1242
|
x: o.x,
|
|
1238
1243
|
y: o.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius
|
|
1239
1244
|
})
|
|
1240
|
-
}, null, 8,
|
|
1245
|
+
}, null, 8, Dl)) : (s(), n("text", {
|
|
1241
1246
|
key: 0,
|
|
1242
1247
|
x: o.x,
|
|
1243
1248
|
y: o.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1244
1249
|
"text-anchor": "middle",
|
|
1245
1250
|
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1246
1251
|
fill: e.value.style.chart.layout.labels.plotLabels.color
|
|
1247
|
-
}, k(o.name), 9,
|
|
1252
|
+
}, k(o.name), 9, Vl))
|
|
1248
1253
|
]))), 256))
|
|
1249
1254
|
]))), 256))
|
|
1250
1255
|
])) : h("", !0)
|
|
1251
1256
|
], 64)),
|
|
1252
|
-
p.value ? (s(), n("g",
|
|
1253
|
-
|
|
1257
|
+
p.value ? (s(), n("g", El, [
|
|
1258
|
+
c.value === "TL" ? (s(), n("polygon", {
|
|
1254
1259
|
key: 0,
|
|
1255
1260
|
points: `${t.value.left - 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.top - 1} ${t.value.right},${t.value.top - 1} ${t.value.right},${t.value.bottom} ${t.value.left - 1},${t.value.bottom} ${t.value.left - 1},${t.value.centerY}`,
|
|
1256
1261
|
fill: e.value.style.chart.backgroundColor,
|
|
1257
1262
|
style: { opacity: "1" }
|
|
1258
|
-
}, null, 8,
|
|
1259
|
-
|
|
1263
|
+
}, null, 8, Ul)) : h("", !0),
|
|
1264
|
+
c.value === "TR" ? (s(), n("polygon", {
|
|
1260
1265
|
key: 1,
|
|
1261
1266
|
points: `${t.value.left},${t.value.top - 1} ${t.value.centerX},${t.value.top - 1} ${t.value.centerX},${t.value.centerY} ${t.value.right + 1},${t.value.centerY} ${t.value.right + 1},${t.value.bottom} ${t.value.left},${t.value.bottom} ${t.value.left},${t.value.top - 1}`,
|
|
1262
1267
|
fill: e.value.style.chart.backgroundColor,
|
|
1263
1268
|
style: { opacity: "1" }
|
|
1264
|
-
}, null, 8,
|
|
1265
|
-
|
|
1269
|
+
}, null, 8, Gl)) : h("", !0),
|
|
1270
|
+
c.value === "BR" ? (s(), n("polygon", {
|
|
1266
1271
|
key: 2,
|
|
1267
1272
|
points: `${t.value.left},${t.value.top} ${t.value.right + 1},${t.value.top} ${t.value.right + 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.bottom + 1} ${t.value.left},${t.value.bottom + 1} ${t.value.left},${t.value.top}`,
|
|
1268
1273
|
fill: e.value.style.chart.backgroundColor,
|
|
1269
1274
|
style: { opacity: "1" }
|
|
1270
|
-
}, null, 8,
|
|
1271
|
-
|
|
1275
|
+
}, null, 8, Ql)) : h("", !0),
|
|
1276
|
+
c.value === "BL" ? (s(), n("polygon", {
|
|
1272
1277
|
key: 3,
|
|
1273
1278
|
points: `${t.value.left - 1},${t.value.top} ${t.value.right},${t.value.top} ${t.value.right},${t.value.bottom + 1} ${t.value.centerX},${t.value.bottom + 1} ${t.value.centerX},${t.value.centerY} ${t.value.left - 1},${t.value.centerY} ${t.value.left - 1},${t.value.top}`,
|
|
1274
1279
|
fill: e.value.style.chart.backgroundColor,
|
|
1275
1280
|
style: { opacity: "1" }
|
|
1276
|
-
}, null, 8,
|
|
1281
|
+
}, null, 8, Jl)) : h("", !0)
|
|
1277
1282
|
])) : h("", !0),
|
|
1278
|
-
|
|
1279
|
-
|
|
1283
|
+
c.value && !ee.value ? (s(), n("g", jl, [
|
|
1284
|
+
d("text", {
|
|
1280
1285
|
x: V.value.x,
|
|
1281
1286
|
y: V.value.y - V.value.fontSize / 1.5,
|
|
1282
1287
|
"font-size": V.value.fontSize / 1.5,
|
|
1283
1288
|
fill: V.value.fill,
|
|
1284
1289
|
"text-anchor": "middle",
|
|
1285
1290
|
"font-weight": V.value.bold ? "bold" : "normal"
|
|
1286
|
-
}, k(V.value.text), 9,
|
|
1291
|
+
}, k(V.value.text), 9, Zl)
|
|
1287
1292
|
])) : h("", !0),
|
|
1288
|
-
p.value &&
|
|
1289
|
-
|
|
1290
|
-
x: _.value[
|
|
1291
|
-
y: _.value[
|
|
1293
|
+
p.value && c.value ? (s(), n("g", Kl, [
|
|
1294
|
+
d("rect", {
|
|
1295
|
+
x: _.value[c.value].tl.x,
|
|
1296
|
+
y: _.value[c.value].tl.y,
|
|
1292
1297
|
height: "20",
|
|
1293
1298
|
width: "20",
|
|
1294
|
-
fill: _.value[
|
|
1295
|
-
style: C(`cursor: pointer; opacity: ${
|
|
1299
|
+
fill: _.value[c.value].tl.fill,
|
|
1300
|
+
style: C(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
|
|
1296
1301
|
onClick: u[8] || (u[8] = (a) => N("TL")),
|
|
1297
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1298
|
-
}, null, 14,
|
|
1299
|
-
|
|
1300
|
-
x: _.value[
|
|
1301
|
-
y: _.value[
|
|
1302
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
|
|
1303
|
+
}, null, 14, ea),
|
|
1304
|
+
d("rect", {
|
|
1305
|
+
x: _.value[c.value].tr.x,
|
|
1306
|
+
y: _.value[c.value].tr.y,
|
|
1302
1307
|
height: "20",
|
|
1303
1308
|
width: "20",
|
|
1304
|
-
fill: _.value[
|
|
1305
|
-
style: C(`cursor: pointer; opacity: ${
|
|
1309
|
+
fill: _.value[c.value].tr.fill,
|
|
1310
|
+
style: C(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
|
|
1306
1311
|
onClick: u[9] || (u[9] = (a) => N("TR")),
|
|
1307
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1308
|
-
}, null, 14,
|
|
1309
|
-
|
|
1310
|
-
x: _.value[
|
|
1311
|
-
y: _.value[
|
|
1312
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
|
|
1313
|
+
}, null, 14, ta),
|
|
1314
|
+
d("rect", {
|
|
1315
|
+
x: _.value[c.value].br.x,
|
|
1316
|
+
y: _.value[c.value].br.y,
|
|
1312
1317
|
height: "20",
|
|
1313
1318
|
width: "20",
|
|
1314
|
-
fill: _.value[
|
|
1315
|
-
style: C(`cursor: pointer; opacity: ${
|
|
1319
|
+
fill: _.value[c.value].br.fill,
|
|
1320
|
+
style: C(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
|
|
1316
1321
|
onClick: u[10] || (u[10] = (a) => N("BR")),
|
|
1317
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1318
|
-
}, null, 14,
|
|
1319
|
-
|
|
1320
|
-
x: _.value[
|
|
1321
|
-
y: _.value[
|
|
1322
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
|
|
1323
|
+
}, null, 14, la),
|
|
1324
|
+
d("rect", {
|
|
1325
|
+
x: _.value[c.value].bl.x,
|
|
1326
|
+
y: _.value[c.value].bl.y,
|
|
1322
1327
|
height: "20",
|
|
1323
1328
|
width: "20",
|
|
1324
|
-
fill: _.value[
|
|
1325
|
-
style: C(`cursor: pointer; opacity: ${
|
|
1329
|
+
fill: _.value[c.value].bl.fill,
|
|
1330
|
+
style: C(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
|
|
1326
1331
|
onClick: u[11] || (u[11] = (a) => N("BL")),
|
|
1327
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1328
|
-
}, null, 14,
|
|
1329
|
-
|
|
1332
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
|
|
1333
|
+
}, null, 14, aa),
|
|
1334
|
+
d("path", {
|
|
1330
1335
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1331
1336
|
stroke: e.value.style.chart.backgroundColor,
|
|
1332
1337
|
"stroke-width": 1,
|
|
1333
|
-
d: _.value[
|
|
1334
|
-
}, null, 8,
|
|
1335
|
-
|
|
1338
|
+
d: _.value[c.value].crosshairs.horizontal
|
|
1339
|
+
}, null, 8, ua),
|
|
1340
|
+
d("path", {
|
|
1336
1341
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1337
1342
|
stroke: e.value.style.chart.backgroundColor,
|
|
1338
1343
|
"stroke-width": 1,
|
|
1339
|
-
d: _.value[
|
|
1340
|
-
}, null, 8,
|
|
1344
|
+
d: _.value[c.value].crosshairs.vertical
|
|
1345
|
+
}, null, 8, oa)
|
|
1341
1346
|
])) : h("", !0),
|
|
1342
1347
|
$(l.$slots, "svg", { svg: t.value }, void 0, !0)
|
|
1343
|
-
], 14,
|
|
1344
|
-
l.$slots.watermark ? (s(), n("div",
|
|
1345
|
-
$(l.$slots, "watermark", U(G({ isPrinting: i(
|
|
1348
|
+
], 14, il)),
|
|
1349
|
+
l.$slots.watermark ? (s(), n("div", sa, [
|
|
1350
|
+
$(l.$slots, "watermark", U(G({ isPrinting: i(Oe) || i(Ne) })), void 0, !0)
|
|
1346
1351
|
])) : h("", !0),
|
|
1347
|
-
|
|
1352
|
+
d("div", {
|
|
1348
1353
|
id: `legend-bottom-${w.value}`
|
|
1349
|
-
}, null, 8,
|
|
1350
|
-
|
|
1354
|
+
}, null, 8, ra),
|
|
1355
|
+
ze.value ? (s(), X(Tt, {
|
|
1351
1356
|
key: 5,
|
|
1352
1357
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
1353
1358
|
}, [
|
|
1354
|
-
|
|
1359
|
+
d("div", {
|
|
1355
1360
|
ref_key: "chartLegend",
|
|
1356
|
-
ref:
|
|
1361
|
+
ref: Le
|
|
1357
1362
|
}, [
|
|
1358
|
-
e.value.style.chart.legend.show ? (s(), X(
|
|
1359
|
-
key: `legend_${
|
|
1360
|
-
legendSet:
|
|
1361
|
-
config:
|
|
1362
|
-
onClickMarker: u[12] || (u[12] = ({ legend: a }) =>
|
|
1363
|
+
e.value.style.chart.legend.show ? (s(), X(al, {
|
|
1364
|
+
key: `legend_${Se.value}`,
|
|
1365
|
+
legendSet: De.value,
|
|
1366
|
+
config: _t.value,
|
|
1367
|
+
onClickMarker: u[12] || (u[12] = ({ legend: a }) => ye(a.id))
|
|
1363
1368
|
}, {
|
|
1364
|
-
item:
|
|
1365
|
-
i(
|
|
1369
|
+
item: g(({ legend: a }) => [
|
|
1370
|
+
i(Te) ? h("", !0) : (s(), n("div", {
|
|
1366
1371
|
key: 0,
|
|
1367
|
-
onClick: (o) =>
|
|
1372
|
+
onClick: (o) => ye(a.id),
|
|
1368
1373
|
style: C(`opacity:${B.value.includes(a.id) ? 0.5 : 1}`)
|
|
1369
|
-
}, k(a.name), 13,
|
|
1374
|
+
}, k(a.name), 13, na))
|
|
1370
1375
|
]),
|
|
1371
1376
|
_: 1
|
|
1372
1377
|
}, 8, ["legendSet", "config"])) : $(l.$slots, "legend", {
|
|
1373
1378
|
key: 1,
|
|
1374
|
-
legend:
|
|
1379
|
+
legend: De.value
|
|
1375
1380
|
}, void 0, !0)
|
|
1376
1381
|
], 512)
|
|
1377
1382
|
], 8, ["to"])) : h("", !0),
|
|
1378
1383
|
l.$slots.source ? (s(), n("div", {
|
|
1379
1384
|
key: 6,
|
|
1380
1385
|
ref_key: "source",
|
|
1381
|
-
ref:
|
|
1386
|
+
ref: we,
|
|
1382
1387
|
dir: "auto"
|
|
1383
1388
|
}, [
|
|
1384
1389
|
$(l.$slots, "source", {}, void 0, !0)
|
|
1385
1390
|
], 512)) : h("", !0),
|
|
1386
|
-
se(i(
|
|
1387
|
-
show:
|
|
1391
|
+
se(i(ct), {
|
|
1392
|
+
show: m.value.showTooltip && ie.value,
|
|
1388
1393
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1389
1394
|
color: e.value.style.chart.tooltip.color,
|
|
1390
1395
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -1396,20 +1401,20 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1396
1401
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1397
1402
|
parent: A.value,
|
|
1398
1403
|
content: ve.value,
|
|
1399
|
-
isFullscreen:
|
|
1404
|
+
isFullscreen: D.value,
|
|
1400
1405
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
1401
1406
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1402
1407
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
1403
1408
|
}, {
|
|
1404
|
-
"tooltip-before":
|
|
1405
|
-
$(l.$slots, "tooltip-before", U(G({ ...
|
|
1409
|
+
"tooltip-before": g(() => [
|
|
1410
|
+
$(l.$slots, "tooltip-before", U(G({ ...be.value })), void 0, !0)
|
|
1406
1411
|
]),
|
|
1407
|
-
"tooltip-after":
|
|
1408
|
-
$(l.$slots, "tooltip-after", U(G({ ...
|
|
1412
|
+
"tooltip-after": g(() => [
|
|
1413
|
+
$(l.$slots, "tooltip-after", U(G({ ...be.value })), void 0, !0)
|
|
1409
1414
|
]),
|
|
1410
|
-
default:
|
|
1411
|
-
e.value.style.chart.tooltip.showShape ? (s(), n("svg",
|
|
1412
|
-
se(
|
|
1415
|
+
default: g(() => [
|
|
1416
|
+
e.value.style.chart.tooltip.showShape ? (s(), n("svg", ia, [
|
|
1417
|
+
se(rt, {
|
|
1413
1418
|
plot: { x: 10, y: 10 },
|
|
1414
1419
|
shape: ue.value.shape,
|
|
1415
1420
|
color: ue.value.color,
|
|
@@ -1421,29 +1426,29 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1421
1426
|
]),
|
|
1422
1427
|
_: 3
|
|
1423
1428
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
1424
|
-
|
|
1429
|
+
xe.value ? (s(), X(At(K.value.component), Wt({ key: 7 }, K.value.props, {
|
|
1425
1430
|
ref_key: "tableUnit",
|
|
1426
1431
|
ref: J,
|
|
1427
|
-
onClose:
|
|
1428
|
-
}),
|
|
1429
|
-
content:
|
|
1430
|
-
(s(), X(i(
|
|
1431
|
-
key: `table_${
|
|
1432
|
+
onClose: Ke
|
|
1433
|
+
}), lt({
|
|
1434
|
+
content: g(() => [
|
|
1435
|
+
(s(), X(i(yt), {
|
|
1436
|
+
key: `table_${qe.value}`,
|
|
1432
1437
|
colNames: le.value.colNames,
|
|
1433
1438
|
head: le.value.head,
|
|
1434
1439
|
body: le.value.body,
|
|
1435
1440
|
config: le.value.config,
|
|
1436
1441
|
title: e.value.table.useDialog ? "" : K.value.title,
|
|
1437
1442
|
withCloseButton: !e.value.table.useDialog,
|
|
1438
|
-
onClose:
|
|
1443
|
+
onClose: Ke
|
|
1439
1444
|
}, {
|
|
1440
|
-
th:
|
|
1441
|
-
|
|
1445
|
+
th: g(({ th: a }) => [
|
|
1446
|
+
at(k(a), 1)
|
|
1442
1447
|
]),
|
|
1443
|
-
td:
|
|
1444
|
-
|
|
1448
|
+
td: g(({ td: a }) => [
|
|
1449
|
+
d("div", {
|
|
1445
1450
|
innerHTML: a.name || a
|
|
1446
|
-
}, null, 8,
|
|
1451
|
+
}, null, 8, va)
|
|
1447
1452
|
]),
|
|
1448
1453
|
_: 1
|
|
1449
1454
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1452,20 +1457,20 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1452
1457
|
}, [
|
|
1453
1458
|
e.value.table.useDialog ? {
|
|
1454
1459
|
name: "title",
|
|
1455
|
-
fn:
|
|
1456
|
-
|
|
1460
|
+
fn: g(() => [
|
|
1461
|
+
at(k(K.value.title), 1)
|
|
1457
1462
|
]),
|
|
1458
1463
|
key: "0"
|
|
1459
1464
|
} : void 0,
|
|
1460
1465
|
e.value.table.useDialog ? {
|
|
1461
1466
|
name: "actions",
|
|
1462
|
-
fn:
|
|
1463
|
-
|
|
1467
|
+
fn: g(() => [
|
|
1468
|
+
d("button", {
|
|
1464
1469
|
tabindex: "0",
|
|
1465
1470
|
class: "vue-ui-user-options-button",
|
|
1466
|
-
onClick: u[13] || (u[13] = (a) =>
|
|
1471
|
+
onClick: u[13] || (u[13] = (a) => fe(e.value.userOptions.callbacks.csv))
|
|
1467
1472
|
}, [
|
|
1468
|
-
se(i(
|
|
1473
|
+
se(i(dt), {
|
|
1469
1474
|
name: "excel",
|
|
1470
1475
|
stroke: K.value.props.color
|
|
1471
1476
|
}, null, 8, ["stroke"])
|
|
@@ -1474,10 +1479,10 @@ const sl = ["id"], rl = ["id"], nl = ["xmlns", "viewBox", "id"], il = ["x", "y",
|
|
|
1474
1479
|
key: "1"
|
|
1475
1480
|
} : void 0
|
|
1476
1481
|
]), 1040)) : h("", !0),
|
|
1477
|
-
i(
|
|
1478
|
-
], 46,
|
|
1482
|
+
i(Te) ? (s(), X(ol, { key: 8 })) : h("", !0)
|
|
1483
|
+
], 46, rl));
|
|
1479
1484
|
}
|
|
1480
|
-
},
|
|
1485
|
+
}, _a = /* @__PURE__ */ sl(ca, [["__scopeId", "data-v-ff32ac3c"]]);
|
|
1481
1486
|
export {
|
|
1482
|
-
|
|
1487
|
+
_a as default
|
|
1483
1488
|
};
|