vue-data-ui 3.0.2 → 3.0.4
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-uNlT54JX.js → Arrow-YUJc3FQi.js} +1 -1
- package/dist/{BaseDraggableDialog-CujvKo06.js → BaseDraggableDialog-DdXLTRiK.js} +2 -2
- package/dist/{BaseIcon-B8CknCYk.js → BaseIcon-CCivwZUq.js} +1 -1
- package/dist/{ColorPicker-Dmdfq2VV.js → ColorPicker-CWed-s-E.js} +2 -2
- package/dist/{DataTable-osx68WLA.js → DataTable-rj9-mAwF.js} +2 -2
- package/dist/{Legend-CQsASoei.js → Legend-DcDSkq99.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BWz0WtJG.js → NonSvgPenAndPaper-W2N17kLY.js} +3 -3
- package/dist/{PackageVersion-DZGrOKw5.js → PackageVersion-5ZjKSIei.js} +1 -1
- package/dist/{PenAndPaper-CdXspg5R.js → PenAndPaper-BJ0hcgsa.js} +3 -3
- package/dist/{Shape-0sW2StrO.js → Shape-DHIaJs9G.js} +1 -1
- package/dist/{Slicer-52shR-Vu.js → Slicer-BarTZZDU.js} +2 -2
- package/dist/{SparkTooltip-Dxrruu4s.js → SparkTooltip-Diyt3BTN.js} +1 -1
- package/dist/{Title-CntvKJss.js → Title-B55R8CAZ.js} +1 -1
- package/dist/{Tooltip-DF8e4iB9.js → Tooltip-BMOddG-M.js} +1 -1
- package/dist/{UserOptions-DQyIO0ts.js → UserOptions-DVzyjG-W.js} +2 -2
- package/dist/{dom-to-png-KC3tMd8p.js → dom-to-png-BNHsLwF7.js} +1 -1
- package/dist/{img-Cv4nScI0.js → img-Ctts6JQb.js} +1 -1
- package/dist/{index-B9Ct1B_p.js → index-q-LPw2IT.js} +908 -871
- package/dist/{pdf-D0GEfQrI.js → pdf-BfwnBQtY.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +23 -0
- package/dist/types/vue-data-ui.d.ts +23 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DvdDLkzw.js → useAutoSizeLabelsInsideViewbox-bEAG5sD1.js} +1 -1
- package/dist/{useNestedProp-C0gKxLur.js → useNestedProp-04aFeUYu.js} +1 -1
- package/dist/{usePrinter-DcZXg1hH.js → usePrinter-DX7efa1s.js} +2 -2
- package/dist/{vue-data-ui-DZMDT7RA.js → vue-data-ui-DJTYiV9o.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BnCv2CD_.js → vue-ui-3d-bar-DGu87lcK.js} +6 -6
- package/dist/{vue-ui-accordion-B31QK9Hj.js → vue-ui-accordion-D46i_gkB.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Bc4V0a3k.js → vue-ui-age-pyramid-DeS1T-Bw.js} +6 -6
- package/dist/{vue-ui-annotator-D8haGQiH.js → vue-ui-annotator-CrqM9fa9.js} +2 -2
- package/dist/{vue-ui-bullet-n7Y6jYLj.js → vue-ui-bullet-0TypghaZ.js} +199 -186
- package/dist/{vue-ui-candlestick-nCI5GlX7.js → vue-ui-candlestick-n8koDNMv.js} +7 -7
- package/dist/{vue-ui-carousel-table-JH2NjnOk.js → vue-ui-carousel-table-BeUapat0.js} +4 -4
- package/dist/{vue-ui-chestnut-CQtV9AR4.js → vue-ui-chestnut-HbK7CLPq.js} +5 -5
- package/dist/{vue-ui-chord-CGi_iSaL.js → vue-ui-chord-DdNd8wIQ.js} +377 -366
- package/dist/{vue-ui-circle-pack-C8v3Okle.js → vue-ui-circle-pack-HrpJA3B3.js} +6 -6
- package/dist/{vue-ui-cursor-0DHciy1D.js → vue-ui-cursor-Dl_Gep_y.js} +2 -2
- package/dist/{vue-ui-dashboard-CDHJk8sC.js → vue-ui-dashboard-B0clnW3D.js} +62 -62
- package/dist/{vue-ui-digits-Bn1P1K9u.js → vue-ui-digits-BapPpCcj.js} +2 -2
- package/dist/{vue-ui-donut-GqHffshG.js → vue-ui-donut-CdLAu_O5.js} +345 -334
- package/dist/{vue-ui-donut-evolution-Crn7Nnpy.js → vue-ui-donut-evolution-DHYtqqYZ.js} +388 -377
- package/dist/{vue-ui-dumbbell-C__nFV3V.js → vue-ui-dumbbell-SgiIfwyE.js} +354 -343
- package/dist/{vue-ui-flow-7q9o4Jxp.js → vue-ui-flow-D7dra0Tp.js} +299 -288
- package/dist/{vue-ui-funnel-DjmlAdRf.js → vue-ui-funnel-CfhMmeX5.js} +6 -6
- package/dist/{vue-ui-galaxy-Crh7xV6s.js → vue-ui-galaxy-BnPiyPdD.js} +252 -241
- package/dist/{vue-ui-gauge-PjjV3JmB.js → vue-ui-gauge-B6BeYUW3.js} +7 -7
- package/dist/{vue-ui-gizmo-DREMjBvZ.js → vue-ui-gizmo-DoTyGRKN.js} +3 -3
- package/dist/{vue-ui-heatmap-D2CF8Vn8.js → vue-ui-heatmap-Di-qNaDB.js} +7 -7
- package/dist/{vue-ui-history-plot-DX31nVYa.js → vue-ui-history-plot-D_ax0e1n.js} +283 -270
- package/dist/{vue-ui-kpi-FtnzfW7L.js → vue-ui-kpi-nZXBg4tm.js} +3 -3
- package/dist/{vue-ui-mini-loader-DaHPhzVf.js → vue-ui-mini-loader-NoQltPUC.js} +2 -2
- package/dist/{vue-ui-molecule--4MdUCOi.js → vue-ui-molecule-kZceITfL.js} +5 -5
- package/dist/{vue-ui-mood-radar-Ci416qv5.js → vue-ui-mood-radar-DtoNCs1x.js} +264 -253
- package/dist/{vue-ui-nested-donuts-DoVSN0qE.js → vue-ui-nested-donuts-BXZ2WcBF.js} +377 -366
- package/dist/{vue-ui-onion-ChqyoLl8.js → vue-ui-onion-DNP-X1Kr.js} +265 -254
- package/dist/{vue-ui-parallel-coordinate-plot-BPsH_W7X.js → vue-ui-parallel-coordinate-plot-BaMmD1DR.js} +276 -265
- package/dist/{vue-ui-quadrant-CLQqKyzu.js → vue-ui-quadrant-qQkLdaFk.js} +356 -345
- package/dist/{vue-ui-quick-chart-DogHdO42.js → vue-ui-quick-chart-CR-rtVnh.js} +639 -628
- package/dist/{vue-ui-radar-B4rGvzKn.js → vue-ui-radar-BMAqVZty.js} +254 -243
- package/dist/{vue-ui-rating-BvopSHNQ.js → vue-ui-rating-NQHqua4r.js} +2 -2
- package/dist/{vue-ui-relation-circle-C6GEmCiw.js → vue-ui-relation-circle-uYPKJzRP.js} +7 -7
- package/dist/{vue-ui-ridgeline-BJVJ02bA.js → vue-ui-ridgeline-Wesfuq0m.js} +8 -8
- package/dist/{vue-ui-rings-BRTxWhKI.js → vue-ui-rings-C8ofrNp2.js} +250 -239
- package/dist/{vue-ui-scatter-D_BP7XBR.js → vue-ui-scatter-l4Q3KmVI.js} +383 -372
- package/dist/{vue-ui-skeleton-C_nf6VDZ.js → vue-ui-skeleton-DS0KyQM7.js} +3 -3
- package/dist/{vue-ui-smiley-DHCpzxMs.js → vue-ui-smiley-Dvz9CJOH.js} +2 -2
- package/dist/{vue-ui-spark-trend-DfM5OJIx.js → vue-ui-spark-trend-CZEFnuFC.js} +3 -3
- package/dist/{vue-ui-sparkbar-BrvOwqG_.js → vue-ui-sparkbar-BNoRSCo7.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Dp2OkGrS.js → vue-ui-sparkgauge-Dlq3vjoo.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-K_7q57W8.js → vue-ui-sparkhistogram-CfcpDn_W.js} +4 -4
- package/dist/{vue-ui-sparkline-BiEu6kq8.js → vue-ui-sparkline-ClRCVth4.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BNlyxt3y.js → vue-ui-sparkstackbar-XpDLFtos.js} +3 -3
- package/dist/{vue-ui-stackbar-BKb_dgUq.js → vue-ui-stackbar-B_2xrLjj.js} +443 -432
- package/dist/{vue-ui-strip-plot-D6dwyO-N.js → vue-ui-strip-plot-DoRnEXsU.js} +7 -7
- package/dist/{vue-ui-table-B9UWta9o.js → vue-ui-table-Cr8fNe8Z.js} +4 -9
- package/dist/{vue-ui-table-heatmap-JkwDydPq.js → vue-ui-table-heatmap-ClCYuGAL.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BOKgPT0e.js → vue-ui-table-sparkline-BUzu6v2P.js} +4 -4
- package/dist/{vue-ui-thermometer-Dj0CVTk3.js → vue-ui-thermometer-BsJ_z0Nw.js} +7 -7
- package/dist/{vue-ui-timer-B407nCRd.js → vue-ui-timer-0x5nZPEp.js} +5 -5
- package/dist/{vue-ui-tiremarks-C_betH5B.js → vue-ui-tiremarks-qT3POAeD.js} +6 -6
- package/dist/{vue-ui-treemap-D0gScsaQ.js → vue-ui-treemap-B4ezfcLU.js} +356 -345
- package/dist/{vue-ui-vertical-bar-D3aoix_0.js → vue-ui-vertical-bar-Bwpe58hH.js} +9 -9
- package/dist/{vue-ui-waffle-hpsuszbt.js → vue-ui-waffle-CSKAC_dQ.js} +306 -295
- package/dist/{vue-ui-wheel-0etwsu-o.js → vue-ui-wheel-CVg1L12p.js} +6 -6
- package/dist/{vue-ui-word-cloud-tsEprRhX.js → vue-ui-word-cloud-DY88UMDD.js} +6 -6
- package/dist/{vue-ui-world-BCtGvXjy.js → vue-ui-world-UaCxKRrk.js} +343 -329
- package/dist/vue-ui-xy-Bsh6AmS0.js +3846 -0
- package/dist/{vue-ui-xy-canvas-B1s9twtZ.js → vue-ui-xy-canvas-D7VaVkKk.js} +305 -294
- package/package.json +1 -1
- package/dist/vue-ui-xy-BoT_c9bU.js +0 -3808
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineAsyncComponent as D, computed as g, ref as y, toRefs 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 D, computed as g, ref as y, toRefs as mt, watch as Je, shallowRef as je, onMounted as xt, onBeforeUnmount as $t, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as X, createCommentVNode as h, createElementVNode as c, createVNode as he, createSlots as kt, withCtx as m, renderSlot as x, normalizeProps as U, guardReactiveProps as G, Fragment as S, renderList as W, toDisplayString as L, Teleport as Lt, createTextVNode as wt, nextTick as _t } from "vue";
|
|
2
|
+
import { u as qt, c as Ze, t as Ct, a as St, p as ye, b as zt, o as Tt, f as Q, d as At, e as Xt, Y as Wt, k as F, i as B, X as Yt, s as ue, x as Mt, Z as Nt, I as Ot, F as Rt, v as Ft, w as Bt, y as Vt, z as Pt } from "./index-q-LPw2IT.js";
|
|
3
|
+
import { t as Ht, u as It } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Et } from "./usePrinter-DX7efa1s.js";
|
|
5
|
+
import { u as Ke } from "./useNestedProp-04aFeUYu.js";
|
|
6
|
+
import { u as Dt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Gt from "./img-Ctts6JQb.js";
|
|
9
|
+
import Qt from "./Title-B55R8CAZ.js";
|
|
10
|
+
import { _ as et } from "./Shape-DHIaJs9G.js";
|
|
11
|
+
import Jt from "./Legend-DcDSkq99.js";
|
|
12
|
+
import { u as jt, B as Zt } from "./useLoading-D7YHNtLX.js";
|
|
13
|
+
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const el = ["id"], tl = ["id"], ll = ["xmlns", "viewBox", "id"], al = ["x", "y", "width", "height"], ul = ["id"], ol = ["stop-color"], sl = ["stop-color"], rl = { key: 1 }, nl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], il = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], vl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], dl = { key: 2 }, cl = ["points", "fill"], hl = ["points", "fill"], yl = ["points", "fill"], bl = ["points", "fill"], fl = { key: 3 }, pl = ["y", "fill", "font-size"], gl = ["x", "y", "fill", "font-size"], ml = ["x", "y", "fill", "font-size"], xl = ["y", "fill", "font-size"], $l = { key: 4 }, kl = ["x", "y", "font-size", "fill"], Ll = ["x", "y", "font-size", "fill"], wl = ["x", "y", "font-size", "fill"], _l = ["id", "font-size", "transform", "fill"], ql = ["id", "font-size", "transform", "fill"], Cl = ["id", "font-size", "transform", "fill"], Sl = { key: 5 }, zl = ["fill", "points"], Tl = ["x", "y", "width", "height"], Al = ["x", "y", "width", "height"], Xl = ["x", "y", "width", "height"], Wl = ["x", "y", "width", "height"], Yl = {
|
|
15
15
|
key: 0,
|
|
16
16
|
style: { "pointer-events": "none" }
|
|
17
|
-
},
|
|
17
|
+
}, Ml = ["x", "y", "font-size", "fill"], Nl = ["x", "y", "font-size", "fill", "innerHTML"], Ol = { key: 0 }, Rl = ["x", "y", "onMouseover", "onMouseleave", "onClick"], Fl = {
|
|
18
18
|
key: 8,
|
|
19
19
|
class: "vue-ui-dna"
|
|
20
|
-
},
|
|
20
|
+
}, Bl = ["points", "fill"], Vl = ["points", "fill"], Pl = ["points", "fill"], Hl = ["points", "fill"], Il = { key: 9 }, El = ["x", "y", "font-size", "fill", "font-weight"], Dl = { key: 10 }, Ul = ["x", "y", "fill"], Gl = ["x", "y", "fill"], Ql = ["x", "y", "fill"], Jl = ["x", "y", "fill"], jl = ["stroke", "d"], Zl = ["stroke", "d"], Kl = {
|
|
21
21
|
key: 4,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
|
-
},
|
|
23
|
+
}, ea = ["id"], ta = ["onClick"], la = {
|
|
24
24
|
key: 0,
|
|
25
25
|
height: "14",
|
|
26
26
|
width: "14",
|
|
27
27
|
viewBox: "0 0 20 20"
|
|
28
|
-
},
|
|
28
|
+
}, aa = ["innerHTML"], ua = {
|
|
29
29
|
__name: "vue-ui-quadrant",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -42,9 +42,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
45
|
-
setup(
|
|
46
|
-
const
|
|
47
|
-
...
|
|
45
|
+
setup(tt, { expose: lt, emit: at }) {
|
|
46
|
+
const ut = D(() => import("./Tooltip-BMOddG-M.js")), ot = D(() => import("./vue-ui-accordion-D46i_gkB.js")), st = D(() => import("./DataTable-rj9-mAwF.js")), rt = D(() => import("./PenAndPaper-BJ0hcgsa.js")), nt = D(() => import("./UserOptions-DVzyjG-W.js")), it = D(() => import("./PackageVersion-5ZjKSIei.js")), { vue_ui_quadrant: vt } = qt(), Y = tt, be = g(() => !!Y.dataset && Y.dataset.length), w = y(Ze()), oe = at, dt = y(null), se = y(!1), re = y(""), fe = y(0), p = y(!1), M = y(null), pe = y(null), ge = y(null), me = y(null), xe = y(null), $e = y(0), ke = y(0), Le = y(0), we = y(!1), t = y(ie()), { loading: _e, FINAL_DATASET: qe } = jt({
|
|
47
|
+
...mt(Y),
|
|
48
48
|
FINAL_CONFIG: t,
|
|
49
49
|
prepareConfig: ie,
|
|
50
50
|
skeletonDataset: [
|
|
@@ -69,7 +69,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
69
69
|
]
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
|
-
skeletonConfig:
|
|
72
|
+
skeletonConfig: Ct({
|
|
73
73
|
defaultConfig: t.value,
|
|
74
74
|
userConfig: {
|
|
75
75
|
userOptions: { show: !1 },
|
|
@@ -107,30 +107,30 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility:
|
|
110
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: Ce, keepUserOptionState: Se } = Dt({ config: t.value }), { svgRef: ze } = Ut({ config: t.value.style.chart.title });
|
|
111
111
|
function ie() {
|
|
112
|
-
const l =
|
|
113
|
-
userConfig:
|
|
114
|
-
defaultConfig:
|
|
112
|
+
const l = Ke({
|
|
113
|
+
userConfig: Y.config,
|
|
114
|
+
defaultConfig: vt
|
|
115
115
|
});
|
|
116
116
|
return l.theme ? {
|
|
117
|
-
...
|
|
118
|
-
userConfig:
|
|
117
|
+
...Ke({
|
|
118
|
+
userConfig: zt.vue_ui_quadrant[l.theme] || Y.config,
|
|
119
119
|
defaultConfig: l
|
|
120
120
|
}),
|
|
121
|
-
customPalette:
|
|
121
|
+
customPalette: St[l.theme] || ye
|
|
122
122
|
} : l;
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
t.value = ie(), ne.value = !t.value.userOptions.showOnChartHover,
|
|
124
|
+
Je(() => Y.config, (l) => {
|
|
125
|
+
t.value = ie(), ne.value = !t.value.userOptions.showOnChartHover, Te(), $e.value += 1, ke.value += 1, Le.value += 1, $.value.plotLabels.show = t.value.style.chart.layout.labels.plotLabels.show, $.value.showTable = t.value.table.show, $.value.showTooltip = t.value.style.chart.tooltip.show;
|
|
126
126
|
}, { deep: !0 });
|
|
127
|
-
const
|
|
128
|
-
function
|
|
129
|
-
if (
|
|
127
|
+
const N = je(null), P = je(null), H = g(() => t.value.debug);
|
|
128
|
+
function Te() {
|
|
129
|
+
if (Tt(Y.dataset) ? Q({
|
|
130
130
|
componentName: "VueUiQuadrant",
|
|
131
131
|
type: "dataset",
|
|
132
132
|
debug: H.value
|
|
133
|
-
}) :
|
|
133
|
+
}) : Y.dataset.forEach((l, u) => {
|
|
134
134
|
[null, void 0].includes(l.name) && Q({
|
|
135
135
|
componentName: "VueUiQuadrant",
|
|
136
136
|
type: "datasetSerieAttribute",
|
|
@@ -154,9 +154,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
154
154
|
});
|
|
155
155
|
});
|
|
156
156
|
}), t.value.responsive) {
|
|
157
|
-
const l =
|
|
158
|
-
const { width: u, height: a } =
|
|
159
|
-
chart:
|
|
157
|
+
const l = Ht(() => {
|
|
158
|
+
const { width: u, height: a } = It({
|
|
159
|
+
chart: M.value,
|
|
160
160
|
title: t.value.style.chart.title.text ? pe.value : null,
|
|
161
161
|
legend: t.value.style.chart.legend.show ? ge.value : null,
|
|
162
162
|
source: me.value,
|
|
@@ -166,19 +166,19 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
166
166
|
e.value.height = a, e.value.usableHeight = a - k.value * 2, e.value.width = u, e.value.usableWidth = u - k.value * 2, e.value.top = k.value, e.value.left = k.value, e.value.right = u - k.value, e.value.bottom = a - k.value, e.value.centerX = u / 2, e.value.centerY = a - a / 2, e.value.padding = k.value;
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
|
-
|
|
169
|
+
N.value && (P.value && N.value.unobserve(P.value), N.value.disconnect()), N.value = new ResizeObserver(l), P.value = M.value.parentNode, N.value.observe(P.value);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}),
|
|
175
|
-
|
|
172
|
+
xt(() => {
|
|
173
|
+
we.value = !0, Te();
|
|
174
|
+
}), $t(() => {
|
|
175
|
+
N.value && (P.value && N.value.unobserve(P.value), N.value.disconnect());
|
|
176
176
|
});
|
|
177
|
-
const { isPrinting:
|
|
178
|
-
elementId: `vue-ui-quadrant_${
|
|
177
|
+
const { isPrinting: Ae, isImaging: Xe, generatePdf: We, generateImage: Ye } = Et({
|
|
178
|
+
elementId: `vue-ui-quadrant_${w.value}`,
|
|
179
179
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
|
|
180
180
|
options: t.value.userOptions.print
|
|
181
|
-
}),
|
|
181
|
+
}), ct = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Me = g(() => At(t.value.customPalette)), $ = y({
|
|
182
182
|
plotLabels: {
|
|
183
183
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
184
184
|
},
|
|
@@ -201,7 +201,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
201
201
|
startX: 0,
|
|
202
202
|
startY: 0
|
|
203
203
|
});
|
|
204
|
-
|
|
204
|
+
Je(() => e.value, (l) => {
|
|
205
205
|
l && (v.value = {
|
|
206
206
|
...JSON.parse(JSON.stringify(e.value)),
|
|
207
207
|
startX: 0,
|
|
@@ -249,7 +249,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
249
249
|
default:
|
|
250
250
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
251
251
|
}
|
|
252
|
-
}),
|
|
252
|
+
}), ht = y(null), Z = y(!1);
|
|
253
253
|
function J({ targetX: l, targetY: u, targetW: a, targetH: o, side: r }) {
|
|
254
254
|
d.value && j(r);
|
|
255
255
|
const b = {
|
|
@@ -259,12 +259,12 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
259
259
|
h: o - v.value.height
|
|
260
260
|
}, f = t.value.zoomAnimationFrames;
|
|
261
261
|
let A = 0;
|
|
262
|
-
function
|
|
263
|
-
Z.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, A += 1, A < f ?
|
|
262
|
+
function Qe() {
|
|
263
|
+
Z.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, A += 1, A < f ? ht.value = requestAnimationFrame(Qe) : Z.value = !1;
|
|
264
264
|
}
|
|
265
|
-
|
|
265
|
+
Qe();
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function O(l) {
|
|
268
268
|
if (!Z.value)
|
|
269
269
|
if (p.value && d.value === l)
|
|
270
270
|
J({
|
|
@@ -318,7 +318,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
318
318
|
p.value = !0;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
|
-
const
|
|
321
|
+
const yt = g(() => {
|
|
322
322
|
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
|
|
323
323
|
for (let r = 0; r < l; r += 1)
|
|
324
324
|
o.push({
|
|
@@ -329,7 +329,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
329
329
|
opacity: Math.round((r + 1) / l * 20)
|
|
330
330
|
});
|
|
331
331
|
return o;
|
|
332
|
-
}),
|
|
332
|
+
}), C = g(() => {
|
|
333
333
|
let l = t.value.style.chart.layout.grid.xAxis.max, u = t.value.style.chart.layout.grid.xAxis.min, a = t.value.style.chart.layout.grid.yAxis.max, o = t.value.style.chart.layout.grid.yAxis.min;
|
|
334
334
|
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...I.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...I.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...I.value.flatMap((r) => r.series.map((b) => b.y))), o = Math.min(...I.value.flatMap((r) => r.series.map((b) => b.y)))), {
|
|
335
335
|
x: {
|
|
@@ -341,29 +341,29 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
341
341
|
min: o
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
|
-
}),
|
|
344
|
+
}), R = y([]), I = g(() => qe.value.map((l, u) => ({
|
|
345
345
|
...l,
|
|
346
|
-
series:
|
|
346
|
+
series: Wt({
|
|
347
347
|
data: l.series,
|
|
348
348
|
threshold: t.value.downsample.threshold
|
|
349
349
|
}),
|
|
350
|
-
id: `cat_${u}_${
|
|
351
|
-
color:
|
|
352
|
-
}))),
|
|
350
|
+
id: `cat_${u}_${w.value}`,
|
|
351
|
+
color: Xt(l.color) || Me.value[u] || ye[u]
|
|
352
|
+
}))), bt = g(() => I.value.filter((l) => !R.value.includes(l.id))), ft = g(() => I.value.map((l, u) => ({
|
|
353
353
|
...l,
|
|
354
354
|
shape: l.shape || "circle",
|
|
355
355
|
series: l.series.map((a) => ({
|
|
356
356
|
...a,
|
|
357
|
-
x:
|
|
358
|
-
y:
|
|
357
|
+
x: Ne(a.x),
|
|
358
|
+
y: Oe(a.y),
|
|
359
359
|
xValue: a.x,
|
|
360
360
|
yValue: a.y,
|
|
361
|
-
quadrantSide:
|
|
361
|
+
quadrantSide: Fe({ x: a.x, y: a.y }),
|
|
362
362
|
categoryName: l.name,
|
|
363
363
|
shape: l.shape,
|
|
364
364
|
color: l.color
|
|
365
365
|
}))
|
|
366
|
-
}))),
|
|
366
|
+
}))), z = g(() => (qe.value.forEach((l, u) => {
|
|
367
367
|
l.series.forEach((a, o) => {
|
|
368
368
|
[null, void 0].includes(a.x) && Q({
|
|
369
369
|
componentName: "VueUiQuadrant",
|
|
@@ -381,43 +381,43 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
381
381
|
debug: H.value
|
|
382
382
|
});
|
|
383
383
|
});
|
|
384
|
-
}),
|
|
384
|
+
}), bt.value.map((l, u) => ({
|
|
385
385
|
...l,
|
|
386
386
|
shape: l.shape || "circle",
|
|
387
|
-
color: l.color ||
|
|
387
|
+
color: l.color || Me.value[u] || ye[u],
|
|
388
388
|
series: l.series.map((a) => ({
|
|
389
389
|
...a,
|
|
390
|
-
x:
|
|
391
|
-
y:
|
|
390
|
+
x: Ne(a.x),
|
|
391
|
+
y: Oe(a.y),
|
|
392
392
|
xValue: a.x,
|
|
393
393
|
yValue: a.y,
|
|
394
|
-
quadrantSide:
|
|
394
|
+
quadrantSide: Fe({ x: a.x, y: a.y }),
|
|
395
395
|
categoryName: l.name,
|
|
396
396
|
shape: l.shape,
|
|
397
397
|
color: l.color,
|
|
398
|
-
uid:
|
|
398
|
+
uid: Ze()
|
|
399
399
|
}))
|
|
400
400
|
}))));
|
|
401
|
-
function
|
|
401
|
+
function Ne(l) {
|
|
402
402
|
if (l >= 0) {
|
|
403
|
-
const u = l /
|
|
403
|
+
const u = l / C.value.x.max;
|
|
404
404
|
return e.value.centerX + e.value.usableWidth / 2 * u;
|
|
405
405
|
} else {
|
|
406
|
-
const u = Math.abs(l) / Math.abs(
|
|
406
|
+
const u = Math.abs(l) / Math.abs(C.value.x.min);
|
|
407
407
|
return e.value.centerX - e.value.usableWidth / 2 * u;
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function Oe(l) {
|
|
411
411
|
if (l >= 0) {
|
|
412
|
-
const u = l /
|
|
412
|
+
const u = l / C.value.y.max;
|
|
413
413
|
return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
|
|
414
414
|
} else {
|
|
415
|
-
const u = Math.abs(l) / Math.abs(
|
|
415
|
+
const u = Math.abs(l) / Math.abs(C.value.y.min);
|
|
416
416
|
return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
const K = g(() => {
|
|
420
|
-
const l =
|
|
420
|
+
const l = z.value.flatMap((f) => f.series.map((A) => ({
|
|
421
421
|
x: A.xValue,
|
|
422
422
|
y: A.yValue,
|
|
423
423
|
name: A.name,
|
|
@@ -472,19 +472,19 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
472
472
|
return { head: l, body: u, config: a, colNames: l };
|
|
473
473
|
});
|
|
474
474
|
function ve(l) {
|
|
475
|
-
|
|
476
|
-
const u =
|
|
475
|
+
R.value.includes(l) ? R.value = R.value.filter((a) => a !== l) : R.value.push(l);
|
|
476
|
+
const u = He();
|
|
477
477
|
oe("selectLegend", u);
|
|
478
478
|
}
|
|
479
|
-
const
|
|
479
|
+
const Re = g(() => ft.value.map((l) => ({
|
|
480
480
|
name: l.name,
|
|
481
481
|
shape: l.shape,
|
|
482
482
|
color: l.color,
|
|
483
483
|
id: l.id,
|
|
484
|
-
opacity:
|
|
484
|
+
opacity: R.value.includes(l.id) ? 0.5 : 1,
|
|
485
485
|
segregate: () => ve(l.id),
|
|
486
|
-
isSegregated:
|
|
487
|
-
}))),
|
|
486
|
+
isSegregated: R.value.includes(l.id)
|
|
487
|
+
}))), pt = g(() => ({
|
|
488
488
|
cy: "quadrant-div-legend",
|
|
489
489
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
490
490
|
color: t.value.style.chart.legend.color,
|
|
@@ -492,7 +492,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
492
492
|
paddingBottom: 12,
|
|
493
493
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
494
494
|
}));
|
|
495
|
-
function
|
|
495
|
+
function Fe(l) {
|
|
496
496
|
switch (!0) {
|
|
497
497
|
case (l.x >= 0 && l.y >= 0):
|
|
498
498
|
return "tr";
|
|
@@ -507,27 +507,27 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
509
|
const te = y(null), le = y(null), de = y(null);
|
|
510
|
-
function
|
|
510
|
+
function Be(l, u, a) {
|
|
511
511
|
t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: u, seriesIndex: a }), te.value = u.uid, le.value = {
|
|
512
512
|
color: l.color,
|
|
513
513
|
shape: l.shape
|
|
514
514
|
}, de.value = {
|
|
515
515
|
datapoint: u,
|
|
516
516
|
seriesIndex: a,
|
|
517
|
-
series:
|
|
517
|
+
series: z.value,
|
|
518
518
|
config: t.value
|
|
519
519
|
}, se.value = !0;
|
|
520
520
|
const o = t.value.style.chart.tooltip.customFormat;
|
|
521
|
-
if (
|
|
521
|
+
if (Vt(o) && Pt(() => o({
|
|
522
522
|
seriesIndex: a,
|
|
523
523
|
datapoint: u,
|
|
524
|
-
series:
|
|
524
|
+
series: z.value,
|
|
525
525
|
config: t.value
|
|
526
526
|
})))
|
|
527
527
|
re.value = o({
|
|
528
528
|
seriesIndex: a,
|
|
529
529
|
datapoint: u,
|
|
530
|
-
series:
|
|
530
|
+
series: z.value,
|
|
531
531
|
config: t.value
|
|
532
532
|
});
|
|
533
533
|
else {
|
|
@@ -551,10 +551,10 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
551
551
|
)}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Ve(l, u) {
|
|
555
555
|
se.value = !1, te.value = null, le.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: l, seriesIndex: u });
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function Pe(l, u, a) {
|
|
558
558
|
t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: u, seriesIndex: a });
|
|
559
559
|
const o = {
|
|
560
560
|
category: l.name,
|
|
@@ -569,7 +569,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
569
569
|
}
|
|
570
570
|
function j(l) {
|
|
571
571
|
if (!l) return;
|
|
572
|
-
const u =
|
|
572
|
+
const u = z.value.flatMap((o) => o.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
573
573
|
category: r.categoryName,
|
|
574
574
|
itemName: r.name,
|
|
575
575
|
x: r.xValue,
|
|
@@ -581,7 +581,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
581
581
|
};
|
|
582
582
|
oe("selectSide", a);
|
|
583
583
|
}
|
|
584
|
-
const
|
|
584
|
+
const _ = g(() => ({
|
|
585
585
|
TL: {
|
|
586
586
|
tl: {
|
|
587
587
|
x: e.value.left + e.value.usableWidth / 4 - 20,
|
|
@@ -687,8 +687,8 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
689
|
}));
|
|
690
|
-
function
|
|
691
|
-
return
|
|
690
|
+
function He() {
|
|
691
|
+
return z.value.map((l) => ({
|
|
692
692
|
color: l.color,
|
|
693
693
|
name: l.name,
|
|
694
694
|
shape: l.shape,
|
|
@@ -701,32 +701,32 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
701
701
|
}))
|
|
702
702
|
}));
|
|
703
703
|
}
|
|
704
|
-
function
|
|
705
|
-
|
|
706
|
-
const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = K.value.head, o = K.value.body, r = u.concat([a]).concat(o), b =
|
|
707
|
-
l ? l(b) :
|
|
704
|
+
function Ie(l = null) {
|
|
705
|
+
_t(() => {
|
|
706
|
+
const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = K.value.head, o = K.value.body, r = u.concat([a]).concat(o), b = Ft(r);
|
|
707
|
+
l ? l(b) : Bt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
708
708
|
});
|
|
709
709
|
}
|
|
710
710
|
const E = y(!1);
|
|
711
|
-
function
|
|
711
|
+
function Ee(l) {
|
|
712
712
|
E.value = l, fe.value += 1;
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function De() {
|
|
715
715
|
$.value.showTable = !$.value.showTable;
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function Ue() {
|
|
718
718
|
$.value.plotLabels.show = !$.value.plotLabels.show;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Ge() {
|
|
721
721
|
$.value.showTooltip = !$.value.showTooltip;
|
|
722
722
|
}
|
|
723
723
|
const ae = y(!1);
|
|
724
724
|
function ce() {
|
|
725
725
|
ae.value = !ae.value;
|
|
726
726
|
}
|
|
727
|
-
async function
|
|
728
|
-
if (!
|
|
729
|
-
const { width: u, height: a } =
|
|
727
|
+
async function gt({ scale: l = 2 } = {}) {
|
|
728
|
+
if (!M.value) return;
|
|
729
|
+
const { width: u, height: a } = M.value.getBoundingClientRect(), o = u / a, { imageUri: r, base64: b } = await Gt({ domElement: M.value, base64: !0, img: !0, scale: l });
|
|
730
730
|
return {
|
|
731
731
|
imageUri: r,
|
|
732
732
|
base64: b,
|
|
@@ -736,48 +736,48 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
736
736
|
aspectRatio: o
|
|
737
737
|
};
|
|
738
738
|
}
|
|
739
|
-
return
|
|
740
|
-
getData:
|
|
741
|
-
getImage:
|
|
742
|
-
generatePdf:
|
|
743
|
-
generateCsv:
|
|
744
|
-
generateImage:
|
|
745
|
-
toggleTable:
|
|
746
|
-
toggleLabels:
|
|
747
|
-
toggleTooltip:
|
|
739
|
+
return lt({
|
|
740
|
+
getData: He,
|
|
741
|
+
getImage: gt,
|
|
742
|
+
generatePdf: We,
|
|
743
|
+
generateCsv: Ie,
|
|
744
|
+
generateImage: Ye,
|
|
745
|
+
toggleTable: De,
|
|
746
|
+
toggleLabels: Ue,
|
|
747
|
+
toggleTooltip: Ge,
|
|
748
748
|
toggleAnnotator: ce,
|
|
749
|
-
toggleFullscreen:
|
|
749
|
+
toggleFullscreen: Ee
|
|
750
750
|
}), (l, u) => (s(), n("div", {
|
|
751
751
|
class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
752
752
|
ref_key: "quadrantChart",
|
|
753
|
-
ref:
|
|
754
|
-
id: `vue-ui-quadrant_${
|
|
755
|
-
style:
|
|
756
|
-
onMouseenter: u[14] || (u[14] = () => i(
|
|
757
|
-
onMouseleave: u[15] || (u[15] = () => i(
|
|
753
|
+
ref: M,
|
|
754
|
+
id: `vue-ui-quadrant_${w.value}`,
|
|
755
|
+
style: q(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`),
|
|
756
|
+
onMouseenter: u[14] || (u[14] = () => i(Ce)(!0)),
|
|
757
|
+
onMouseleave: u[15] || (u[15] = () => i(Ce)(!1))
|
|
758
758
|
}, [
|
|
759
|
-
t.value.userOptions.buttons.annotator ? (s(),
|
|
759
|
+
t.value.userOptions.buttons.annotator ? (s(), X(i(rt), {
|
|
760
760
|
key: 0,
|
|
761
|
-
svgRef: i(
|
|
761
|
+
svgRef: i(ze),
|
|
762
762
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
763
763
|
color: t.value.style.chart.color,
|
|
764
764
|
active: ae.value,
|
|
765
765
|
onClose: ce
|
|
766
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
767
|
-
|
|
766
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
767
|
+
ct.value ? (s(), n("div", {
|
|
768
768
|
key: 1,
|
|
769
769
|
ref_key: "noTitle",
|
|
770
770
|
ref: xe,
|
|
771
771
|
class: "vue-data-ui-no-title-space",
|
|
772
772
|
style: "height:36px; width: 100%;background:transparent"
|
|
773
|
-
}, null, 512)) :
|
|
773
|
+
}, null, 512)) : h("", !0),
|
|
774
774
|
t.value.style.chart.title.text ? (s(), n("div", {
|
|
775
775
|
key: 2,
|
|
776
776
|
ref_key: "chartTitle",
|
|
777
777
|
ref: pe,
|
|
778
778
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
779
779
|
}, [
|
|
780
|
-
(s(),
|
|
780
|
+
(s(), X(Qt, {
|
|
781
781
|
key: `table_${$e.value}`,
|
|
782
782
|
config: {
|
|
783
783
|
title: {
|
|
@@ -790,16 +790,19 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
792
|
}, null, 8, ["config"]))
|
|
793
|
-
], 512)) :
|
|
794
|
-
|
|
793
|
+
], 512)) : h("", !0),
|
|
794
|
+
c("div", {
|
|
795
|
+
id: `legend-top-${w.value}`
|
|
796
|
+
}, null, 8, tl),
|
|
797
|
+
t.value.userOptions.show && be.value && (i(Se) || i(ne)) ? (s(), X(i(nt), {
|
|
795
798
|
ref_key: "details",
|
|
796
|
-
ref:
|
|
799
|
+
ref: dt,
|
|
797
800
|
key: `user_options_${fe.value}`,
|
|
798
801
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
799
802
|
color: t.value.style.chart.color,
|
|
800
|
-
isImaging: i(
|
|
801
|
-
isPrinting: i(
|
|
802
|
-
uid:
|
|
803
|
+
isImaging: i(Xe),
|
|
804
|
+
isPrinting: i(Ae),
|
|
805
|
+
uid: w.value,
|
|
803
806
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
804
807
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
805
808
|
hasImg: t.value.userOptions.buttons.img,
|
|
@@ -810,24 +813,24 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
810
813
|
isFullscreen: E.value,
|
|
811
814
|
isTooltip: $.value.showTooltip,
|
|
812
815
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
813
|
-
chartElement:
|
|
816
|
+
chartElement: M.value,
|
|
814
817
|
position: t.value.userOptions.position,
|
|
815
818
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
816
819
|
isAnnotation: ae.value,
|
|
817
820
|
callbacks: t.value.userOptions.callbacks,
|
|
818
821
|
printScale: t.value.userOptions.print.scale,
|
|
819
|
-
onToggleFullscreen:
|
|
820
|
-
onGeneratePdf: i(
|
|
821
|
-
onGenerateCsv:
|
|
822
|
-
onGenerateImage: i(
|
|
823
|
-
onToggleTable:
|
|
824
|
-
onToggleLabels:
|
|
825
|
-
onToggleTooltip:
|
|
822
|
+
onToggleFullscreen: Ee,
|
|
823
|
+
onGeneratePdf: i(We),
|
|
824
|
+
onGenerateCsv: Ie,
|
|
825
|
+
onGenerateImage: i(Ye),
|
|
826
|
+
onToggleTable: De,
|
|
827
|
+
onToggleLabels: Ue,
|
|
828
|
+
onToggleTooltip: Ge,
|
|
826
829
|
onToggleAnnotator: ce,
|
|
827
|
-
style:
|
|
828
|
-
visibility: i(
|
|
830
|
+
style: q({
|
|
831
|
+
visibility: i(Se) ? i(ne) ? "visible" : "hidden" : "visible"
|
|
829
832
|
})
|
|
830
|
-
},
|
|
833
|
+
}, kt({ _: 2 }, [
|
|
831
834
|
l.$slots.menuIcon ? {
|
|
832
835
|
name: "menuIcon",
|
|
833
836
|
fn: m(({ isOpen: a, color: o }) => [
|
|
@@ -891,17 +894,17 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
891
894
|
]),
|
|
892
895
|
key: "8"
|
|
893
896
|
} : void 0
|
|
894
|
-
]), 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"])) :
|
|
897
|
+
]), 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),
|
|
895
898
|
(s(), n("svg", {
|
|
896
899
|
ref_key: "svgRef",
|
|
897
|
-
ref:
|
|
898
|
-
xmlns: i(
|
|
900
|
+
ref: ze,
|
|
901
|
+
xmlns: i(Yt),
|
|
899
902
|
class: T({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
900
903
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
901
|
-
style:
|
|
902
|
-
id: `svg_${
|
|
904
|
+
style: q(`max-width:100%;overflow:hidden;background:transparent;color:${t.value.style.chart.color}`),
|
|
905
|
+
id: `svg_${w.value}`
|
|
903
906
|
}, [
|
|
904
|
-
he(i(
|
|
907
|
+
he(i(it)),
|
|
905
908
|
l.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
906
909
|
key: 0,
|
|
907
910
|
x: v.value.startX,
|
|
@@ -913,28 +916,28 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
913
916
|
}
|
|
914
917
|
}, [
|
|
915
918
|
x(l.$slots, "chart-background", {}, void 0, !0)
|
|
916
|
-
], 8,
|
|
917
|
-
|
|
918
|
-
(s(!0), n(
|
|
919
|
+
], 8, al)) : h("", !0),
|
|
920
|
+
c("defs", null, [
|
|
921
|
+
(s(!0), n(S, null, W(z.value, (a, o) => (s(), n("radialGradient", {
|
|
919
922
|
cx: "50%",
|
|
920
923
|
cy: "50%",
|
|
921
924
|
r: "50%",
|
|
922
925
|
fx: "50%",
|
|
923
926
|
fy: "50%",
|
|
924
|
-
id: `quadrant_gradient_${
|
|
927
|
+
id: `quadrant_gradient_${w.value}_${o}`
|
|
925
928
|
}, [
|
|
926
|
-
|
|
929
|
+
c("stop", {
|
|
927
930
|
offset: "0%",
|
|
928
|
-
"stop-color": i(ue)(i(
|
|
929
|
-
}, null, 8,
|
|
930
|
-
|
|
931
|
+
"stop-color": i(ue)(i(Mt)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
|
|
932
|
+
}, null, 8, ol),
|
|
933
|
+
c("stop", {
|
|
931
934
|
offset: "100%",
|
|
932
935
|
"stop-color": i(ue)(a.color, t.value.style.chart.layout.areas.opacity)
|
|
933
|
-
}, null, 8,
|
|
934
|
-
], 8,
|
|
936
|
+
}, null, 8, sl)
|
|
937
|
+
], 8, ul))), 256))
|
|
935
938
|
]),
|
|
936
|
-
t.value.style.chart.layout.grid.graduations.show ? (s(), n("g",
|
|
937
|
-
(s(!0), n(
|
|
939
|
+
t.value.style.chart.layout.grid.graduations.show ? (s(), n("g", rl, [
|
|
940
|
+
(s(!0), n(S, null, W(yt.value, (a) => (s(), n("rect", {
|
|
938
941
|
fill: t.value.style.chart.layout.grid.graduations.fill ? i(ue)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
939
942
|
x: a.x,
|
|
940
943
|
y: a.y,
|
|
@@ -943,47 +946,47 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
943
946
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
944
947
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
945
948
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
946
|
-
}, null, 8,
|
|
947
|
-
])) :
|
|
948
|
-
|
|
949
|
+
}, null, 8, nl))), 256))
|
|
950
|
+
])) : h("", !0),
|
|
951
|
+
c("line", {
|
|
949
952
|
x1: e.value.left,
|
|
950
953
|
y1: e.value.centerY,
|
|
951
954
|
x2: e.value.right,
|
|
952
955
|
y2: e.value.centerY,
|
|
953
956
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
954
957
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
955
|
-
}, null, 8,
|
|
956
|
-
|
|
958
|
+
}, null, 8, il),
|
|
959
|
+
c("line", {
|
|
957
960
|
x1: e.value.centerX,
|
|
958
961
|
y1: e.value.top,
|
|
959
962
|
x2: e.value.centerX,
|
|
960
963
|
y2: e.value.bottom,
|
|
961
964
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
962
965
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
963
|
-
}, null, 8,
|
|
964
|
-
t.value.style.chart.layout.grid.showArrows ? (s(), n("g",
|
|
965
|
-
|
|
966
|
+
}, null, 8, vl),
|
|
967
|
+
t.value.style.chart.layout.grid.showArrows ? (s(), n("g", dl, [
|
|
968
|
+
c("polygon", {
|
|
966
969
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
967
970
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
968
971
|
stroke: "none"
|
|
969
|
-
}, null, 8,
|
|
970
|
-
|
|
972
|
+
}, null, 8, cl),
|
|
973
|
+
c("polygon", {
|
|
971
974
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
972
975
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
973
976
|
stroke: "none"
|
|
974
|
-
}, null, 8,
|
|
975
|
-
|
|
977
|
+
}, null, 8, hl),
|
|
978
|
+
c("polygon", {
|
|
976
979
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
977
980
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
978
981
|
stroke: "none"
|
|
979
|
-
}, null, 8,
|
|
980
|
-
|
|
982
|
+
}, null, 8, yl),
|
|
983
|
+
c("polygon", {
|
|
981
984
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
982
985
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
983
986
|
stroke: "none"
|
|
984
|
-
}, null, 8,
|
|
985
|
-
])) :
|
|
986
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (s(), n("g",
|
|
987
|
+
}, null, 8, bl)
|
|
988
|
+
])) : h("", !0),
|
|
989
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (s(), n("g", fl, [
|
|
987
990
|
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
|
|
988
991
|
key: 0,
|
|
989
992
|
x: 0,
|
|
@@ -991,9 +994,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
991
994
|
"text-anchor": "start",
|
|
992
995
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
993
996
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
994
|
-
style:
|
|
997
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
995
998
|
onClick: u[0] || (u[0] = (a) => j("tl"))
|
|
996
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
999
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, pl)) : h("", !0),
|
|
997
1000
|
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
|
|
998
1001
|
key: 1,
|
|
999
1002
|
x: e.value.width,
|
|
@@ -1001,9 +1004,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1001
1004
|
"text-anchor": "end",
|
|
1002
1005
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1003
1006
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1004
|
-
style:
|
|
1007
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1005
1008
|
onClick: u[1] || (u[1] = (a) => j("tr"))
|
|
1006
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
1009
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, gl)) : h("", !0),
|
|
1007
1010
|
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
|
|
1008
1011
|
key: 2,
|
|
1009
1012
|
x: e.value.width,
|
|
@@ -1011,9 +1014,9 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1011
1014
|
"text-anchor": "end",
|
|
1012
1015
|
fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1013
1016
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1014
|
-
style:
|
|
1017
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1015
1018
|
onClick: u[2] || (u[2] = (a) => j("br"))
|
|
1016
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
1019
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, ml)) : h("", !0),
|
|
1017
1020
|
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
|
|
1018
1021
|
key: 3,
|
|
1019
1022
|
x: 0,
|
|
@@ -1021,12 +1024,12 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1021
1024
|
"text-anchor": "start",
|
|
1022
1025
|
fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1023
1026
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1024
|
-
style:
|
|
1027
|
+
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1025
1028
|
onClick: u[3] || (u[3] = (a) => j("bl"))
|
|
1026
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
1027
|
-
])) :
|
|
1028
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g",
|
|
1029
|
-
|
|
1029
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, xl)) : h("", !0)
|
|
1030
|
+
])) : h("", !0),
|
|
1031
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", $l, [
|
|
1032
|
+
c("text", {
|
|
1030
1033
|
x: e.value.centerX,
|
|
1031
1034
|
y: e.value.top - e.value.padding / 6,
|
|
1032
1035
|
"text-anchor": "middle",
|
|
@@ -1034,20 +1037,20 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1034
1037
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1035
1038
|
}, L(i(F)(
|
|
1036
1039
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1037
|
-
|
|
1040
|
+
C.value.y.max,
|
|
1038
1041
|
i(B)({
|
|
1039
|
-
v:
|
|
1042
|
+
v: C.value.y.max,
|
|
1040
1043
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1041
1044
|
})
|
|
1042
|
-
)), 9,
|
|
1043
|
-
|
|
1045
|
+
)), 9, kl),
|
|
1046
|
+
c("text", {
|
|
1044
1047
|
x: e.value.centerX,
|
|
1045
1048
|
y: e.value.top - e.value.padding / 2,
|
|
1046
1049
|
"text-anchor": "middle",
|
|
1047
1050
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1048
1051
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1049
|
-
}, L(t.value.style.chart.layout.grid.yAxis.name), 9,
|
|
1050
|
-
|
|
1052
|
+
}, L(t.value.style.chart.layout.grid.yAxis.name), 9, Ll),
|
|
1053
|
+
c("text", {
|
|
1051
1054
|
x: e.value.centerX,
|
|
1052
1055
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
1053
1056
|
"text-anchor": "middle",
|
|
@@ -1055,118 +1058,118 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1055
1058
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1056
1059
|
}, L(i(F)(
|
|
1057
1060
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1058
|
-
|
|
1061
|
+
C.value.y.min,
|
|
1059
1062
|
i(B)({
|
|
1060
|
-
v:
|
|
1063
|
+
v: C.value.y.min,
|
|
1061
1064
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1062
1065
|
})
|
|
1063
|
-
)), 9,
|
|
1064
|
-
|
|
1065
|
-
id: `xLabelMin_${
|
|
1066
|
+
)), 9, wl),
|
|
1067
|
+
c("text", {
|
|
1068
|
+
id: `xLabelMin_${w.value}`,
|
|
1066
1069
|
"text-anchor": "middle",
|
|
1067
1070
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1068
1071
|
transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
|
|
1069
1072
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1070
1073
|
}, L(i(F)(
|
|
1071
1074
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1072
|
-
|
|
1075
|
+
C.value.x.min,
|
|
1073
1076
|
i(B)({
|
|
1074
|
-
v:
|
|
1077
|
+
v: C.value.x.min,
|
|
1075
1078
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1076
1079
|
})
|
|
1077
|
-
)), 9,
|
|
1078
|
-
|
|
1079
|
-
id: `xLabelMax_${
|
|
1080
|
+
)), 9, _l),
|
|
1081
|
+
c("text", {
|
|
1082
|
+
id: `xLabelMax_${w.value}`,
|
|
1080
1083
|
"text-anchor": "middle",
|
|
1081
1084
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1082
1085
|
transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
1083
1086
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1084
1087
|
}, L(i(F)(
|
|
1085
1088
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1086
|
-
|
|
1089
|
+
C.value.x.max,
|
|
1087
1090
|
i(B)({
|
|
1088
|
-
v:
|
|
1091
|
+
v: C.value.x.max,
|
|
1089
1092
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1090
1093
|
})
|
|
1091
|
-
)), 9,
|
|
1092
|
-
|
|
1093
|
-
id: `xLabelMaxName_${
|
|
1094
|
+
)), 9, ql),
|
|
1095
|
+
c("text", {
|
|
1096
|
+
id: `xLabelMaxName_${w.value}`,
|
|
1094
1097
|
"text-anchor": "middle",
|
|
1095
1098
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1096
1099
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
1097
1100
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1098
|
-
}, L(t.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1099
|
-
])) :
|
|
1100
|
-
t.value.style.chart.layout.areas.show ? (s(), n("g",
|
|
1101
|
-
(s(!0), n(
|
|
1101
|
+
}, L(t.value.style.chart.layout.grid.xAxis.name), 9, Cl)
|
|
1102
|
+
])) : h("", !0),
|
|
1103
|
+
t.value.style.chart.layout.areas.show ? (s(), n("g", Sl, [
|
|
1104
|
+
(s(!0), n(S, null, W(z.value, (a, o) => (s(), n("g", null, [
|
|
1102
1105
|
a.series.length > 2 ? (s(), n("polygon", {
|
|
1103
1106
|
key: 0,
|
|
1104
1107
|
"data-cy-quadrant-area": "",
|
|
1105
|
-
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${
|
|
1106
|
-
points: i(
|
|
1107
|
-
}, null, 8,
|
|
1108
|
+
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${o})` : i(ue)(a.color, t.value.style.chart.layout.areas.opacity),
|
|
1109
|
+
points: i(Nt)(a)
|
|
1110
|
+
}, null, 8, zl)) : h("", !0)
|
|
1108
1111
|
]))), 256))
|
|
1109
|
-
])) :
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
onClick: u[4] || (u[4] = (a) =>
|
|
1112
|
+
])) : h("", !0),
|
|
1113
|
+
c("g", null, [
|
|
1114
|
+
c("rect", {
|
|
1115
|
+
onClick: u[4] || (u[4] = (a) => O("TL")),
|
|
1113
1116
|
x: e.value.left,
|
|
1114
1117
|
y: e.value.top,
|
|
1115
1118
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1116
1119
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1117
1120
|
fill: "transparent",
|
|
1118
1121
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1119
|
-
}, null, 10,
|
|
1120
|
-
|
|
1121
|
-
onClick: u[5] || (u[5] = (a) =>
|
|
1122
|
+
}, null, 10, Tl),
|
|
1123
|
+
c("rect", {
|
|
1124
|
+
onClick: u[5] || (u[5] = (a) => O("TR")),
|
|
1122
1125
|
x: e.value.centerX,
|
|
1123
1126
|
y: e.value.top,
|
|
1124
1127
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1125
1128
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1126
1129
|
fill: "transparent",
|
|
1127
1130
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1128
|
-
}, null, 10,
|
|
1129
|
-
|
|
1130
|
-
onClick: u[6] || (u[6] = (a) =>
|
|
1131
|
+
}, null, 10, Al),
|
|
1132
|
+
c("rect", {
|
|
1133
|
+
onClick: u[6] || (u[6] = (a) => O("BR")),
|
|
1131
1134
|
x: e.value.centerX,
|
|
1132
1135
|
y: e.value.centerY,
|
|
1133
1136
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1134
1137
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1135
1138
|
fill: "transparent",
|
|
1136
1139
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1137
|
-
}, null, 10,
|
|
1138
|
-
|
|
1139
|
-
onClick: u[7] || (u[7] = (a) =>
|
|
1140
|
+
}, null, 10, Xl),
|
|
1141
|
+
c("rect", {
|
|
1142
|
+
onClick: u[7] || (u[7] = (a) => O("BL")),
|
|
1140
1143
|
x: e.value.left,
|
|
1141
1144
|
y: e.value.centerY,
|
|
1142
1145
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1143
1146
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1144
1147
|
fill: "transparent",
|
|
1145
1148
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1146
|
-
}, null, 10,
|
|
1149
|
+
}, null, 10, Wl)
|
|
1147
1150
|
]),
|
|
1148
|
-
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(
|
|
1149
|
-
$.value.plotLabels.show ? (s(), n("g",
|
|
1150
|
-
(s(!0), n(
|
|
1151
|
-
(s(!0), n(
|
|
1151
|
+
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(S, { key: 7 }, [
|
|
1152
|
+
$.value.plotLabels.show ? (s(), n("g", Ol, [
|
|
1153
|
+
(s(!0), n(S, null, W(z.value, (a, o) => (s(), n(S, null, [
|
|
1154
|
+
(s(!0), n(S, null, W(a.series, (r) => (s(), n("foreignObject", {
|
|
1152
1155
|
style: { overflow: "visible" },
|
|
1153
1156
|
height: "10",
|
|
1154
1157
|
width: "100",
|
|
1155
1158
|
x: r.x - 50,
|
|
1156
1159
|
y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1157
|
-
onMouseover: (b) =>
|
|
1158
|
-
onMouseleave: (b) =>
|
|
1159
|
-
onClick: (b) =>
|
|
1160
|
+
onMouseover: (b) => Be(a, r, o),
|
|
1161
|
+
onMouseleave: (b) => Ve(r, o),
|
|
1162
|
+
onClick: (b) => Pe(a, r, o)
|
|
1160
1163
|
}, [
|
|
1161
|
-
|
|
1162
|
-
style:
|
|
1164
|
+
c("div", {
|
|
1165
|
+
style: q(`color:${i(Rt)(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: fit-content;`)
|
|
1163
1166
|
}, L(r.name), 5)
|
|
1164
|
-
], 40,
|
|
1167
|
+
], 40, Rl))), 256))
|
|
1165
1168
|
], 64))), 256))
|
|
1166
|
-
])) :
|
|
1167
|
-
], 64)) : (s(), n(
|
|
1168
|
-
(s(!0), n(
|
|
1169
|
-
(s(!0), n(
|
|
1169
|
+
])) : h("", !0)
|
|
1170
|
+
], 64)) : (s(), n(S, { key: 6 }, [
|
|
1171
|
+
(s(!0), n(S, null, W(z.value, (a, o) => (s(), n("g", null, [
|
|
1172
|
+
(s(!0), n(S, null, W(a.series, (r) => (s(), X(et, {
|
|
1170
1173
|
color: a.color,
|
|
1171
1174
|
isSelected: te.value && r.uid === te.value,
|
|
1172
1175
|
plot: r,
|
|
@@ -1174,14 +1177,14 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1174
1177
|
shape: a.shape,
|
|
1175
1178
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1176
1179
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
1177
|
-
onMouseenter: (b) =>
|
|
1178
|
-
onMouseleave: (b) =>
|
|
1179
|
-
onClick: (b) =>
|
|
1180
|
+
onMouseenter: (b) => Be(a, r, o),
|
|
1181
|
+
onMouseleave: (b) => Ve(r, o),
|
|
1182
|
+
onClick: (b) => Pe(a, r, o)
|
|
1180
1183
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]))), 256))
|
|
1181
1184
|
]))), 256)),
|
|
1182
|
-
$.value.plotLabels.show ? (s(), n("g",
|
|
1183
|
-
(s(!0), n(
|
|
1184
|
-
(s(!0), n(
|
|
1185
|
+
$.value.plotLabels.show ? (s(), n("g", Yl, [
|
|
1186
|
+
(s(!0), n(S, null, W(z.value, (a) => (s(), n("g", null, [
|
|
1187
|
+
(s(!0), n(S, null, W(a.series, (o) => (s(), n("g", null, [
|
|
1185
1188
|
String(o.name).includes(`
|
|
1186
1189
|
`) ? (s(), n("text", {
|
|
1187
1190
|
key: 1,
|
|
@@ -1190,152 +1193,160 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1190
1193
|
"text-anchor": "middle",
|
|
1191
1194
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1192
1195
|
fill: t.value.style.chart.layout.labels.plotLabels.color,
|
|
1193
|
-
innerHTML: i(
|
|
1196
|
+
innerHTML: i(Ot)({
|
|
1194
1197
|
content: String(o.name),
|
|
1195
1198
|
fontSize: t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1196
1199
|
fill: t.value.style.chart.layout.labels.plotLabels.color,
|
|
1197
1200
|
x: o.x,
|
|
1198
1201
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius
|
|
1199
1202
|
})
|
|
1200
|
-
}, null, 8,
|
|
1203
|
+
}, null, 8, Nl)) : (s(), n("text", {
|
|
1201
1204
|
key: 0,
|
|
1202
1205
|
x: o.x,
|
|
1203
1206
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1204
1207
|
"text-anchor": "middle",
|
|
1205
1208
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1206
1209
|
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
1207
|
-
}, L(o.name), 9,
|
|
1210
|
+
}, L(o.name), 9, Ml))
|
|
1208
1211
|
]))), 256))
|
|
1209
1212
|
]))), 256))
|
|
1210
|
-
])) :
|
|
1213
|
+
])) : h("", !0)
|
|
1211
1214
|
], 64)),
|
|
1212
|
-
p.value ? (s(), n("g",
|
|
1215
|
+
p.value ? (s(), n("g", Fl, [
|
|
1213
1216
|
d.value === "TL" ? (s(), n("polygon", {
|
|
1214
1217
|
key: 0,
|
|
1215
1218
|
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}`,
|
|
1216
1219
|
fill: t.value.style.chart.backgroundColor,
|
|
1217
1220
|
style: { opacity: "1" }
|
|
1218
|
-
}, null, 8,
|
|
1221
|
+
}, null, 8, Bl)) : h("", !0),
|
|
1219
1222
|
d.value === "TR" ? (s(), n("polygon", {
|
|
1220
1223
|
key: 1,
|
|
1221
1224
|
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}`,
|
|
1222
1225
|
fill: t.value.style.chart.backgroundColor,
|
|
1223
1226
|
style: { opacity: "1" }
|
|
1224
|
-
}, null, 8,
|
|
1227
|
+
}, null, 8, Vl)) : h("", !0),
|
|
1225
1228
|
d.value === "BR" ? (s(), n("polygon", {
|
|
1226
1229
|
key: 2,
|
|
1227
1230
|
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}`,
|
|
1228
1231
|
fill: t.value.style.chart.backgroundColor,
|
|
1229
1232
|
style: { opacity: "1" }
|
|
1230
|
-
}, null, 8,
|
|
1233
|
+
}, null, 8, Pl)) : h("", !0),
|
|
1231
1234
|
d.value === "BL" ? (s(), n("polygon", {
|
|
1232
1235
|
key: 3,
|
|
1233
1236
|
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}`,
|
|
1234
1237
|
fill: t.value.style.chart.backgroundColor,
|
|
1235
1238
|
style: { opacity: "1" }
|
|
1236
|
-
}, null, 8,
|
|
1237
|
-
])) :
|
|
1238
|
-
d.value && !Z.value ? (s(), n("g",
|
|
1239
|
-
|
|
1239
|
+
}, null, 8, Hl)) : h("", !0)
|
|
1240
|
+
])) : h("", !0),
|
|
1241
|
+
d.value && !Z.value ? (s(), n("g", Il, [
|
|
1242
|
+
c("text", {
|
|
1240
1243
|
x: V.value.x,
|
|
1241
1244
|
y: V.value.y - V.value.fontSize / 1.5,
|
|
1242
1245
|
"font-size": V.value.fontSize / 1.5,
|
|
1243
1246
|
fill: V.value.fill,
|
|
1244
1247
|
"text-anchor": "middle",
|
|
1245
1248
|
"font-weight": V.value.bold ? "bold" : "normal"
|
|
1246
|
-
}, L(V.value.text), 9,
|
|
1247
|
-
])) :
|
|
1248
|
-
p.value && d.value ? (s(), n("g",
|
|
1249
|
-
|
|
1250
|
-
x:
|
|
1251
|
-
y:
|
|
1249
|
+
}, L(V.value.text), 9, El)
|
|
1250
|
+
])) : h("", !0),
|
|
1251
|
+
p.value && d.value ? (s(), n("g", Dl, [
|
|
1252
|
+
c("rect", {
|
|
1253
|
+
x: _.value[d.value].tl.x,
|
|
1254
|
+
y: _.value[d.value].tl.y,
|
|
1252
1255
|
height: "20",
|
|
1253
1256
|
width: "20",
|
|
1254
|
-
fill:
|
|
1255
|
-
style:
|
|
1256
|
-
onClick: u[8] || (u[8] = (a) =>
|
|
1257
|
+
fill: _.value[d.value].tl.fill,
|
|
1258
|
+
style: q(`cursor: pointer; opacity: ${d.value === "TL" ? 1 : 0.2}`),
|
|
1259
|
+
onClick: u[8] || (u[8] = (a) => O("TL")),
|
|
1257
1260
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TL" })
|
|
1258
|
-
}, null, 14,
|
|
1259
|
-
|
|
1260
|
-
x:
|
|
1261
|
-
y:
|
|
1261
|
+
}, null, 14, Ul),
|
|
1262
|
+
c("rect", {
|
|
1263
|
+
x: _.value[d.value].tr.x,
|
|
1264
|
+
y: _.value[d.value].tr.y,
|
|
1262
1265
|
height: "20",
|
|
1263
1266
|
width: "20",
|
|
1264
|
-
fill:
|
|
1265
|
-
style:
|
|
1266
|
-
onClick: u[9] || (u[9] = (a) =>
|
|
1267
|
+
fill: _.value[d.value].tr.fill,
|
|
1268
|
+
style: q(`cursor: pointer; opacity: ${d.value === "TR" ? 1 : 0.2}`),
|
|
1269
|
+
onClick: u[9] || (u[9] = (a) => O("TR")),
|
|
1267
1270
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TR" })
|
|
1268
|
-
}, null, 14,
|
|
1269
|
-
|
|
1270
|
-
x:
|
|
1271
|
-
y:
|
|
1271
|
+
}, null, 14, Gl),
|
|
1272
|
+
c("rect", {
|
|
1273
|
+
x: _.value[d.value].br.x,
|
|
1274
|
+
y: _.value[d.value].br.y,
|
|
1272
1275
|
height: "20",
|
|
1273
1276
|
width: "20",
|
|
1274
|
-
fill:
|
|
1275
|
-
style:
|
|
1276
|
-
onClick: u[10] || (u[10] = (a) =>
|
|
1277
|
+
fill: _.value[d.value].br.fill,
|
|
1278
|
+
style: q(`cursor: pointer; opacity: ${d.value === "BR" ? 1 : 0.2}`),
|
|
1279
|
+
onClick: u[10] || (u[10] = (a) => O("BR")),
|
|
1277
1280
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BR" })
|
|
1278
|
-
}, null, 14,
|
|
1279
|
-
|
|
1280
|
-
x:
|
|
1281
|
-
y:
|
|
1281
|
+
}, null, 14, Ql),
|
|
1282
|
+
c("rect", {
|
|
1283
|
+
x: _.value[d.value].bl.x,
|
|
1284
|
+
y: _.value[d.value].bl.y,
|
|
1282
1285
|
height: "20",
|
|
1283
1286
|
width: "20",
|
|
1284
|
-
fill:
|
|
1285
|
-
style:
|
|
1286
|
-
onClick: u[11] || (u[11] = (a) =>
|
|
1287
|
+
fill: _.value[d.value].bl.fill,
|
|
1288
|
+
style: q(`cursor: pointer; opacity: ${d.value === "BL" ? 1 : 0.2}`),
|
|
1289
|
+
onClick: u[11] || (u[11] = (a) => O("BL")),
|
|
1287
1290
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BL" })
|
|
1288
|
-
}, null, 14,
|
|
1289
|
-
|
|
1291
|
+
}, null, 14, Jl),
|
|
1292
|
+
c("path", {
|
|
1290
1293
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1291
1294
|
stroke: t.value.style.chart.backgroundColor,
|
|
1292
1295
|
"stroke-width": 1,
|
|
1293
|
-
d:
|
|
1294
|
-
}, null, 8,
|
|
1295
|
-
|
|
1296
|
+
d: _.value[d.value].crosshairs.horizontal
|
|
1297
|
+
}, null, 8, jl),
|
|
1298
|
+
c("path", {
|
|
1296
1299
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1297
1300
|
stroke: t.value.style.chart.backgroundColor,
|
|
1298
1301
|
"stroke-width": 1,
|
|
1299
|
-
d:
|
|
1300
|
-
}, null, 8,
|
|
1301
|
-
])) :
|
|
1302
|
+
d: _.value[d.value].crosshairs.vertical
|
|
1303
|
+
}, null, 8, Zl)
|
|
1304
|
+
])) : h("", !0),
|
|
1302
1305
|
x(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1303
|
-
], 14,
|
|
1304
|
-
l.$slots.watermark ? (s(), n("div",
|
|
1305
|
-
x(l.$slots, "watermark", U(G({ isPrinting: i(
|
|
1306
|
-
])) :
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1306
|
+
], 14, ll)),
|
|
1307
|
+
l.$slots.watermark ? (s(), n("div", Kl, [
|
|
1308
|
+
x(l.$slots, "watermark", U(G({ isPrinting: i(Ae) || i(Xe) })), void 0, !0)
|
|
1309
|
+
])) : h("", !0),
|
|
1310
|
+
c("div", {
|
|
1311
|
+
id: `legend-bottom-${w.value}`
|
|
1312
|
+
}, null, 8, ea),
|
|
1313
|
+
we.value ? (s(), X(Lt, {
|
|
1314
|
+
key: 5,
|
|
1315
|
+
to: t.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
1310
1316
|
}, [
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1317
|
+
c("div", {
|
|
1318
|
+
ref_key: "chartLegend",
|
|
1319
|
+
ref: ge
|
|
1320
|
+
}, [
|
|
1321
|
+
t.value.style.chart.legend.show ? (s(), X(Jt, {
|
|
1322
|
+
key: `legend_${Le.value}`,
|
|
1323
|
+
legendSet: Re.value,
|
|
1324
|
+
config: pt.value,
|
|
1325
|
+
onClickMarker: u[12] || (u[12] = ({ legend: a }) => ve(a.id))
|
|
1326
|
+
}, {
|
|
1327
|
+
item: m(({ legend: a }) => [
|
|
1328
|
+
i(_e) ? h("", !0) : (s(), n("div", {
|
|
1329
|
+
key: 0,
|
|
1330
|
+
onClick: (o) => ve(a.id),
|
|
1331
|
+
style: q(`opacity:${R.value.includes(a.id) ? 0.5 : 1}`)
|
|
1332
|
+
}, L(a.name), 13, ta))
|
|
1333
|
+
]),
|
|
1334
|
+
_: 1
|
|
1335
|
+
}, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
|
|
1336
|
+
key: 1,
|
|
1337
|
+
legend: Re.value
|
|
1338
|
+
}, void 0, !0)
|
|
1339
|
+
], 512)
|
|
1340
|
+
], 8, ["to"])) : h("", !0),
|
|
1330
1341
|
l.$slots.source ? (s(), n("div", {
|
|
1331
|
-
key:
|
|
1342
|
+
key: 6,
|
|
1332
1343
|
ref_key: "source",
|
|
1333
1344
|
ref: me,
|
|
1334
1345
|
dir: "auto"
|
|
1335
1346
|
}, [
|
|
1336
1347
|
x(l.$slots, "source", {}, void 0, !0)
|
|
1337
|
-
], 512)) :
|
|
1338
|
-
he(i(
|
|
1348
|
+
], 512)) : h("", !0),
|
|
1349
|
+
he(i(ut), {
|
|
1339
1350
|
show: $.value.showTooltip && se.value,
|
|
1340
1351
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
1341
1352
|
color: t.value.style.chart.tooltip.color,
|
|
@@ -1346,7 +1357,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1346
1357
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
1347
1358
|
position: t.value.style.chart.tooltip.position,
|
|
1348
1359
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1349
|
-
parent:
|
|
1360
|
+
parent: M.value,
|
|
1350
1361
|
content: re.value,
|
|
1351
1362
|
isFullscreen: E.value,
|
|
1352
1363
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function",
|
|
@@ -1360,8 +1371,8 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1360
1371
|
x(l.$slots, "tooltip-after", U(G({ ...de.value })), void 0, !0)
|
|
1361
1372
|
]),
|
|
1362
1373
|
default: m(() => [
|
|
1363
|
-
t.value.style.chart.tooltip.showShape ? (s(), n("svg",
|
|
1364
|
-
he(
|
|
1374
|
+
t.value.style.chart.tooltip.showShape ? (s(), n("svg", la, [
|
|
1375
|
+
he(et, {
|
|
1365
1376
|
plot: { x: 10, y: 10 },
|
|
1366
1377
|
shape: le.value.shape,
|
|
1367
1378
|
color: le.value.color,
|
|
@@ -1369,12 +1380,12 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1369
1380
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1370
1381
|
"stroke-width": t.value.style.chart.layout.plots.outlineWidth
|
|
1371
1382
|
}, null, 8, ["shape", "color", "stroke", "stroke-width"])
|
|
1372
|
-
])) :
|
|
1383
|
+
])) : h("", !0)
|
|
1373
1384
|
]),
|
|
1374
1385
|
_: 3
|
|
1375
1386
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
1376
|
-
be.value ? (s(),
|
|
1377
|
-
key:
|
|
1387
|
+
be.value ? (s(), X(i(ot), {
|
|
1388
|
+
key: 7,
|
|
1378
1389
|
hideDetails: "",
|
|
1379
1390
|
config: {
|
|
1380
1391
|
open: $.value.showTable,
|
|
@@ -1390,7 +1401,7 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1390
1401
|
}
|
|
1391
1402
|
}, {
|
|
1392
1403
|
content: m(() => [
|
|
1393
|
-
(s(),
|
|
1404
|
+
(s(), X(i(st), {
|
|
1394
1405
|
key: `table_${ke.value}`,
|
|
1395
1406
|
colNames: ee.value.colNames,
|
|
1396
1407
|
head: ee.value.head,
|
|
@@ -1400,22 +1411,22 @@ const Zt = ["id"], Kt = ["xmlns", "viewBox", "id"], el = ["x", "y", "width", "he
|
|
|
1400
1411
|
onClose: u[13] || (u[13] = (a) => $.value.showTable = !1)
|
|
1401
1412
|
}, {
|
|
1402
1413
|
th: m(({ th: a }) => [
|
|
1403
|
-
|
|
1414
|
+
wt(L(a), 1)
|
|
1404
1415
|
]),
|
|
1405
1416
|
td: m(({ td: a }) => [
|
|
1406
|
-
|
|
1417
|
+
c("div", {
|
|
1407
1418
|
innerHTML: a.name || a
|
|
1408
|
-
}, null, 8,
|
|
1419
|
+
}, null, 8, aa)
|
|
1409
1420
|
]),
|
|
1410
1421
|
_: 1
|
|
1411
1422
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1412
1423
|
]),
|
|
1413
1424
|
_: 1
|
|
1414
|
-
}, 8, ["config"])) :
|
|
1415
|
-
i(
|
|
1416
|
-
], 46,
|
|
1425
|
+
}, 8, ["config"])) : h("", !0),
|
|
1426
|
+
i(_e) ? (s(), X(Zt, { key: 8 })) : h("", !0)
|
|
1427
|
+
], 46, el));
|
|
1417
1428
|
}
|
|
1418
|
-
},
|
|
1429
|
+
}, ga = /* @__PURE__ */ Kt(ua, [["__scopeId", "data-v-a675d946"]]);
|
|
1419
1430
|
export {
|
|
1420
|
-
|
|
1431
|
+
ga as default
|
|
1421
1432
|
};
|