vue-data-ui 3.1.3 → 3.1.5
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-DBaAWGvq.js → Arrow-BFbcF5Sq.js} +1 -1
- package/dist/{BaseDraggableDialog-BmN9jTP8.js → BaseDraggableDialog-BO4B1Kwa.js} +2 -2
- package/dist/{BaseIcon-BcOSijbz.js → BaseIcon-BQQGRQ2U.js} +1 -1
- package/dist/{ColorPicker-D1yNPt76.js → ColorPicker-d1kmGapq.js} +2 -2
- package/dist/{DataTable-Cm8Tt9PQ.js → DataTable-D6voeZvO.js} +2 -2
- package/dist/{Legend-5qvgVkrY.js → Legend-nPGcCxG_.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D3QGd7vP.js → NonSvgPenAndPaper-xRGRe41H.js} +3 -3
- package/dist/{PackageVersion-0XlRFsI_.js → PackageVersion-BeStrsPr.js} +1 -1
- package/dist/{PenAndPaper-CyH7Ip2i.js → PenAndPaper-C6tiapdo.js} +3 -3
- package/dist/{Shape-DiplSMFy.js → Shape-DBVq0fdK.js} +1 -1
- package/dist/Slicer-Duqm7KZK.js +597 -0
- package/dist/{SparkTooltip-VveQSwlw.js → SparkTooltip-wNGmXZSx.js} +1 -1
- package/dist/{Title-CqYBs02Y.js → Title-ydtId0LC.js} +1 -1
- package/dist/Tooltip-oeu9knGI.js +200 -0
- package/dist/{UserOptions-ZmwlARCV.js → UserOptions-CnJxN2Vo.js} +29 -29
- package/dist/{dom-to-png-DGA4a3xT.js → dom-to-png-CMCYtLrX.js} +1 -1
- package/dist/{img-DSrvx9J6.js → img-Neec0VVb.js} +1 -1
- package/dist/{index-CaxArMHL.js → index-BkfuZCRT.js} +7 -2
- package/dist/{pdf-BG8PiGFH.js → pdf-CpQ-dqJh.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +12 -0
- package/dist/types/vue-data-ui.d.ts +12 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DmtFf4bt.js → useAutoSizeLabelsInsideViewbox-DR2HExYc.js} +1 -1
- package/dist/{useNestedProp-tWT02_6S.js → useNestedProp-BMzw9VUz.js} +1 -1
- package/dist/{usePrinter-BYtPmEo8.js → usePrinter-CEdg3j8S.js} +2 -2
- package/dist/{vue-data-ui-DVb8r5z7.js → vue-data-ui-D5B7a84o.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BLKyWpz7.js → vue-ui-3d-bar-C8_Qu1rf.js} +6 -6
- package/dist/{vue-ui-accordion-DUlNpLir.js → vue-ui-accordion-DFxAHGEZ.js} +3 -3
- package/dist/{vue-ui-age-pyramid-LLqbXP1m.js → vue-ui-age-pyramid-D_kTImtX.js} +43 -41
- package/dist/{vue-ui-annotator-CcYIlcKF.js → vue-ui-annotator-B1vSlzfu.js} +2 -2
- package/dist/{vue-ui-bullet-BKmts_u4.js → vue-ui-bullet-VPchh2r2.js} +7 -7
- package/dist/{vue-ui-candlestick-C9l_NpXu.js → vue-ui-candlestick-CB3bj7_-.js} +42 -40
- package/dist/{vue-ui-carousel-table-H7xS6aBC.js → vue-ui-carousel-table-CUiSyrTY.js} +4 -4
- package/dist/{vue-ui-chestnut-CAW0IOdY.js → vue-ui-chestnut-BE5ZEt1N.js} +5 -5
- package/dist/{vue-ui-chord-CK5YhCqM.js → vue-ui-chord-DVSBY9ou.js} +8 -8
- package/dist/{vue-ui-circle-pack-NLyZgTGF.js → vue-ui-circle-pack-BfDjZFaF.js} +6 -6
- package/dist/{vue-ui-cursor-CyGUrKWU.js → vue-ui-cursor-BIuc6nds.js} +2 -2
- package/dist/{vue-ui-dashboard-Cf5pvEzD.js → vue-ui-dashboard-C7xIcrvD.js} +79 -80
- package/dist/{vue-ui-digits-BZWwwp7c.js → vue-ui-digits-C3mI-0Fg.js} +2 -2
- package/dist/{vue-ui-donut-g1WHrj6G.js → vue-ui-donut-BApz1ho5.js} +52 -50
- package/dist/{vue-ui-donut-evolution-CaEYMVZj.js → vue-ui-donut-evolution-B2PJiYY9.js} +8 -8
- package/dist/{vue-ui-dumbbell-BArS1nXS.js → vue-ui-dumbbell-DQjVvBH_.js} +7 -7
- package/dist/{vue-ui-flow-BR0CB5qt.js → vue-ui-flow-COtJRNLE.js} +40 -38
- package/dist/{vue-ui-funnel-D2OCItvq.js → vue-ui-funnel-BY2qeg-m.js} +6 -6
- package/dist/{vue-ui-galaxy-qgGF1AAf.js → vue-ui-galaxy-3zec_QLi.js} +58 -56
- package/dist/{vue-ui-gauge-BIXmGyQL.js → vue-ui-gauge-CFUA5ORH.js} +8 -8
- package/dist/{vue-ui-gizmo-DHEoS051.js → vue-ui-gizmo-CUPFU8GE.js} +3 -3
- package/dist/{vue-ui-heatmap-tRzq9BnI.js → vue-ui-heatmap-DakytdCv.js} +68 -66
- package/dist/{vue-ui-history-plot-DmwHhrDk.js → vue-ui-history-plot-DnSB7au4.js} +85 -83
- package/dist/{vue-ui-kpi-C2b2R5i1.js → vue-ui-kpi-UmcKQftv.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bs1Mi1tD.js → vue-ui-mini-loader-Bl8GHasa.js} +2 -2
- package/dist/{vue-ui-molecule-BsUvf2v7.js → vue-ui-molecule-BZrmSVps.js} +63 -61
- package/dist/{vue-ui-mood-radar-D3JIpVvX.js → vue-ui-mood-radar-CVM8vl5N.js} +7 -7
- package/dist/{vue-ui-nested-donuts-dJEgQXTH.js → vue-ui-nested-donuts-LTzijeVK.js} +70 -68
- package/dist/{vue-ui-onion-D8dF1DdA.js → vue-ui-onion-aHCc3r7L.js} +38 -36
- package/dist/{vue-ui-parallel-coordinate-plot-LmFsg7UA.js → vue-ui-parallel-coordinate-plot-0xXe6A-6.js} +54 -52
- package/dist/{vue-ui-quadrant-C4O8ki4N.js → vue-ui-quadrant-BlM9WNN7.js} +203 -201
- package/dist/{vue-ui-quick-chart-6bEtTQBG.js → vue-ui-quick-chart-CJ2Wdln9.js} +152 -150
- package/dist/{vue-ui-radar-CfjGWGk3.js → vue-ui-radar-Cgnooz7-.js} +121 -119
- package/dist/{vue-ui-rating-D3WSs2OD.js → vue-ui-rating-DF71ymNG.js} +2 -2
- package/dist/{vue-ui-relation-circle-DzTfi7Tf.js → vue-ui-relation-circle-DsuEL1gY.js} +7 -7
- package/dist/{vue-ui-ridgeline-NtYOJvDy.js → vue-ui-ridgeline-DxP8uxgx.js} +8 -8
- package/dist/{vue-ui-rings-CYQ4i71V.js → vue-ui-rings-C4hKgrft.js} +162 -160
- package/dist/{vue-ui-scatter-meJEHdAD.js → vue-ui-scatter-B_SzTSE5.js} +157 -155
- package/dist/{vue-ui-skeleton-BtILTxx-.js → vue-ui-skeleton-DCAlHSMV.js} +3 -3
- package/dist/{vue-ui-smiley-B5bELpYD.js → vue-ui-smiley-B_JFtrl6.js} +2 -2
- package/dist/{vue-ui-spark-trend-lixdWq_N.js → vue-ui-spark-trend-CC7q1UbE.js} +3 -3
- package/dist/{vue-ui-sparkbar-CaGPav-J.js → vue-ui-sparkbar-C2YRX4mJ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BZBGYDjs.js → vue-ui-sparkgauge-BO4c3j-8.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-Bp6KxpjH.js → vue-ui-sparkhistogram-BuGOHT9h.js} +4 -4
- package/dist/{vue-ui-sparkline-CF-EAZa6.js → vue-ui-sparkline-hOyPCIt8.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Cj1LAYC8.js → vue-ui-sparkstackbar-DhSc-U8u.js} +36 -34
- package/dist/{vue-ui-stackbar-BrzKhqAK.js → vue-ui-stackbar-VdBWv1wm.js} +14 -12
- package/dist/{vue-ui-strip-plot-BfVVaSFn.js → vue-ui-strip-plot-CBj5ntWM.js} +58 -56
- package/dist/{vue-ui-table-CBzNgzVP.js → vue-ui-table-BItmKbvF.js} +156 -121
- package/dist/{vue-ui-table-heatmap-CKz5bA7N.js → vue-ui-table-heatmap-DziHVKba.js} +5 -5
- package/dist/{vue-ui-table-sparkline-O-Z0YH6u.js → vue-ui-table-sparkline-CpWDqm7q.js} +4 -4
- package/dist/{vue-ui-thermometer-DpNyTGNH.js → vue-ui-thermometer-CWt0q_Tu.js} +7 -7
- package/dist/{vue-ui-timer-uvshaRMI.js → vue-ui-timer-BIv2sfQA.js} +5 -5
- package/dist/{vue-ui-tiremarks-A8Akuz-q.js → vue-ui-tiremarks-BE_VWjK-.js} +6 -6
- package/dist/{vue-ui-treemap-Dvmuo3tM.js → vue-ui-treemap-2AIbDpTo.js} +41 -39
- package/dist/{vue-ui-vertical-bar-eMgRMSKN.js → vue-ui-vertical-bar-CP-XFVV5.js} +53 -51
- package/dist/{vue-ui-waffle-Cm8VfnG8.js → vue-ui-waffle-CewP8k-W.js} +67 -65
- package/dist/{vue-ui-wheel-Bhsklf_m.js → vue-ui-wheel-Ik8FoLfz.js} +6 -6
- package/dist/{vue-ui-word-cloud-C9HGLsG4.js → vue-ui-word-cloud-CEEc5ep_.js} +83 -80
- package/dist/{vue-ui-world-B_MrjwGJ.js → vue-ui-world-CuwXMI3D.js} +11 -9
- package/dist/{vue-ui-xy-DnYJw2aS.js → vue-ui-xy-Bsh2OBHp.js} +1326 -1329
- package/dist/{vue-ui-xy-canvas-C0Snw0Dz.js → vue-ui-xy-canvas-CKzjhhNg.js} +46 -44
- package/package.json +1 -1
- package/dist/Slicer-DG99wPTy.js +0 -604
- package/dist/Tooltip-CP0tVHAf.js +0 -161
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, ref as v, shallowRef as Ee, computed as y, onMounted as Mt, onBeforeUnmount as zt, toRefs as Nt, watch as K, watchEffect as Ot, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as L, normalizeClass as
|
|
2
|
-
import { u as Xt, c as je, o as Ue, f as Ge, g as Rt, t as Bt, d as Yt, e as Et, p as Q, D as Ve, k as Y, i as E, X as Ht, l as Wt, j as jt, I as Ut, F as Gt, E as
|
|
1
|
+
import { defineAsyncComponent as O, ref as v, shallowRef as Ee, computed as y, onMounted as Mt, onBeforeUnmount as zt, toRefs as Nt, watch as K, watchEffect as Ot, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as L, normalizeClass as P, renderSlot as p, createBlock as I, createCommentVNode as h, createElementVNode as _, createVNode as de, createSlots as He, withCtx as m, normalizeProps as R, guardReactiveProps as B, Fragment as b, renderList as g, toDisplayString as T, Teleport as It, resolveDynamicComponent as Ft, mergeProps as Pt, createTextVNode as We, nextTick as Dt } from "vue";
|
|
2
|
+
import { u as Xt, c as je, o as Ue, f as Ge, g as Rt, t as Bt, d as Yt, e as Et, p as Q, D as Ve, k as Y, i as E, X as Ht, l as Wt, j as jt, I as Ut, F as Gt, E as D, a as Vt, b as qt, C as ee, v as Zt, w as Jt, y as Kt } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as qe, u as Qt } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as el, B as tl } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as ll } from "./usePrinter-
|
|
6
|
-
import { u as Ze } from "./useNestedProp-
|
|
5
|
+
import { u as ll } from "./usePrinter-CEdg3j8S.js";
|
|
6
|
+
import { u as Ze } from "./useNestedProp-BMzw9VUz.js";
|
|
7
7
|
import { u as al } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as ol } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
-
import rl from "./img-
|
|
11
|
-
import nl from "./Title-
|
|
12
|
-
import il from "./Legend-
|
|
10
|
+
import rl from "./img-Neec0VVb.js";
|
|
11
|
+
import nl from "./Title-ydtId0LC.js";
|
|
12
|
+
import il from "./Legend-nPGcCxG_.js";
|
|
13
13
|
import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "width", "height"], yl = { key: 1 }, fl = ["id"], xl = ["stop-color"], pl = ["stop-color"],
|
|
14
|
+
const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "width", "height"], yl = { key: 1 }, fl = ["id"], xl = ["stop-color"], pl = ["stop-color"], ml = ["stop-color"], bl = { key: 2 }, gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kl = { key: 3 }, wl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "font-weight"], _l = { key: 6 }, Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $l = { key: 7 }, Sl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Tl = ["transform", "fill", "font-size", "text-anchor"], Ml = ["x", "y", "font-size", "fill", "font-weight"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ol = ["d", "stroke", "stroke-width"], Il = ["d", "stroke", "stroke-width"], Fl = ["cx", "cy", "fill", "r"], Pl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Dl = { key: 1 }, Xl = ["x", "y", "font-size", "fill", "font-weight"], Rl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Bl = { key: 2 }, Yl = ["x", "y", "font-size", "font-weight", "fill"], El = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Hl = {
|
|
15
15
|
key: 4,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
17
|
}, Wl = ["id"], jl = ["onClick"], Ul = ["innerHTML"], Gl = {
|
|
@@ -32,7 +32,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend", "selectDatapoint"],
|
|
34
34
|
setup(Je, { expose: Ke, emit: Qe }) {
|
|
35
|
-
const et = O(() => import("./Tooltip-
|
|
35
|
+
const et = O(() => import("./Tooltip-oeu9knGI.js")), tt = O(() => import("./BaseIcon-BQQGRQ2U.js")), lt = O(() => import("./vue-ui-accordion-DFxAHGEZ.js")), at = O(() => import("./DataTable-D6voeZvO.js")), st = O(() => import("./PenAndPaper-C6tiapdo.js")), ot = O(() => import("./UserOptions-CnJxN2Vo.js")), rt = O(() => import("./PackageVersion-BeStrsPr.js")), nt = O(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_history_plot: it } = Xt(), d = Je, $ = v(null), ye = v(null), fe = v(0), xe = v(null), pe = v(0), me = v(0), be = v(0), M = Ee(null), X = Ee(null), ge = v(null), S = v(je()), te = v(!1), le = v(""), w = v([]), H = v(!1), A = v(null), W = v(!1), ke = v(null), we = v(!1), j = v(null), ae = v(null), se = v(null), oe = v(null), G = v(null), re = v(null), V = y({
|
|
36
36
|
get: () => !!d.dataset && d.dataset.length,
|
|
37
37
|
set: (t) => t
|
|
38
38
|
}), Ce = Qe;
|
|
@@ -68,43 +68,43 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
68
68
|
source: ke.value
|
|
69
69
|
});
|
|
70
70
|
requestAnimationFrame(() => {
|
|
71
|
-
f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots =
|
|
71
|
+
f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = D({
|
|
72
72
|
relator: Math.min(a, l),
|
|
73
73
|
adjuster: 600,
|
|
74
74
|
source: e.value.style.chart.plots.radius,
|
|
75
75
|
threshold: 3,
|
|
76
76
|
fallback: 3
|
|
77
|
-
}), n.value.indexLabels =
|
|
77
|
+
}), n.value.indexLabels = D({
|
|
78
78
|
relator: Math.min(a, l),
|
|
79
79
|
adjuster: 600,
|
|
80
80
|
source: e.value.style.chart.plots.indexLabels.fontSize,
|
|
81
81
|
threshold: 6,
|
|
82
82
|
fallback: 6
|
|
83
|
-
}), n.value.labels =
|
|
83
|
+
}), n.value.labels = D({
|
|
84
84
|
relator: Math.min(a, l),
|
|
85
85
|
adjuster: 600,
|
|
86
86
|
source: e.value.style.chart.plots.labels.fontSize,
|
|
87
87
|
threshold: 6,
|
|
88
88
|
fallback: 6
|
|
89
|
-
}), n.value.xAxisLabels =
|
|
89
|
+
}), n.value.xAxisLabels = D({
|
|
90
90
|
relator: Math.min(a, l),
|
|
91
91
|
adjuster: 600,
|
|
92
92
|
source: e.value.style.chart.axes.x.labels.fontSize,
|
|
93
93
|
threshold: 6,
|
|
94
94
|
fallback: 6
|
|
95
|
-
}), n.value.xAxisName =
|
|
95
|
+
}), n.value.xAxisName = D({
|
|
96
96
|
relator: Math.min(a, l),
|
|
97
97
|
adjuster: 600,
|
|
98
98
|
source: e.value.style.chart.axes.x.name.fontSize,
|
|
99
99
|
threshold: 6,
|
|
100
100
|
fallback: 6
|
|
101
|
-
}), n.value.yAxisLabels =
|
|
101
|
+
}), n.value.yAxisLabels = D({
|
|
102
102
|
relator: Math.min(a, l),
|
|
103
103
|
adjuster: 600,
|
|
104
104
|
source: e.value.style.chart.axes.y.labels.fontSize,
|
|
105
105
|
threshold: 6,
|
|
106
106
|
fallback: 6
|
|
107
|
-
}), n.value.yAxisName =
|
|
107
|
+
}), n.value.yAxisName = D({
|
|
108
108
|
relator: Math.min(a, l),
|
|
109
109
|
adjuster: 600,
|
|
110
110
|
source: e.value.style.chart.axes.y.name.fontSize,
|
|
@@ -203,7 +203,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
203
203
|
})
|
|
204
204
|
}), { userOptionsVisible: ue, setUserOptionsVisibility: Le, keepUserOptionState: $e } = al({ config: e.value }), { svgRef: Se } = sl({ config: e.value.style.chart.title });
|
|
205
205
|
K(() => d.config, (t) => {
|
|
206
|
-
z.value || (e.value = ne()), ue.value = !e.value.userOptions.showOnChartHover, _e(), fe.value += 1,
|
|
206
|
+
z.value || (e.value = ne()), ue.value = !e.value.userOptions.showOnChartHover, _e(), fe.value += 1, me.value += 1, pe.value += 1, f.value.height = e.value.style.chart.height, f.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
207
207
|
}, { deep: !0 }), K(() => d.dataset, (t) => {
|
|
208
208
|
Array.isArray(t) && t.length > 0 && (ie.value = !1);
|
|
209
209
|
}, { deep: !0 });
|
|
@@ -275,7 +275,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
275
275
|
}))), xt = y(() => Math.max(...N.value.filter((t) => !w.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), pt = y(() => {
|
|
276
276
|
const t = Math.min(...N.value.filter((a) => !w.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
277
277
|
return t < 0 ? t : 0;
|
|
278
|
-
}),
|
|
278
|
+
}), mt = y(() => Math.max(...N.value.filter((t) => !w.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y)))), bt = y(() => {
|
|
279
279
|
const t = Math.min(...N.value.filter((a) => !w.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
|
|
280
280
|
return t < 0 ? t : 0;
|
|
281
281
|
}), x = y(() => {
|
|
@@ -284,8 +284,8 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
284
284
|
e.value.style.chart.axes.x.scaleMax === null ? xt.value : e.value.style.chart.axes.x.scaleMax,
|
|
285
285
|
e.value.style.chart.axes.x.ticks
|
|
286
286
|
), a = Ve(
|
|
287
|
-
e.value.style.chart.axes.y.scaleMin === null ?
|
|
288
|
-
e.value.style.chart.axes.y.scaleMax === null ?
|
|
287
|
+
e.value.style.chart.axes.y.scaleMin === null ? bt.value : e.value.style.chart.axes.y.scaleMin,
|
|
288
|
+
e.value.style.chart.axes.y.scaleMax === null ? mt.value : e.value.style.chart.axes.y.scaleMax,
|
|
289
289
|
e.value.style.chart.axes.y.ticks
|
|
290
290
|
);
|
|
291
291
|
return {
|
|
@@ -313,7 +313,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
313
313
|
const a = x.value.y.min < 0 ? Math.abs(x.value.y.min) : x.value.y.min > 0 ? -x.value.y.min : 0;
|
|
314
314
|
return c.value.bottom - ((t || 0) + a) / (x.value.y.max + a) * c.value.height;
|
|
315
315
|
}
|
|
316
|
-
const
|
|
316
|
+
const F = y(() => N.value.filter((t) => !w.value.includes(t.seriesIndex)).map((t, a) => {
|
|
317
317
|
const l = t.values.map((s, k) => ({
|
|
318
318
|
valueX: s.x,
|
|
319
319
|
valueY: s.y,
|
|
@@ -330,13 +330,13 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
330
330
|
path: `M${i}`
|
|
331
331
|
};
|
|
332
332
|
}));
|
|
333
|
-
function
|
|
333
|
+
function Fe(t) {
|
|
334
334
|
w.value.includes(t) ? w.value = w.value.filter((a) => a !== t) : w.value.push(t);
|
|
335
335
|
}
|
|
336
|
-
const
|
|
336
|
+
const Pe = y(() => N.value.map((t) => ({
|
|
337
337
|
...t,
|
|
338
338
|
opacity: w.value.includes(t.seriesIndex) ? 0.5 : 1,
|
|
339
|
-
segregate: () =>
|
|
339
|
+
segregate: () => Fe(t.seriesIndex),
|
|
340
340
|
isSegregated: w.value.includes(t.seriesIndex),
|
|
341
341
|
shape: "circle"
|
|
342
342
|
}))), wt = y(() => ({
|
|
@@ -350,7 +350,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
350
350
|
function Ct({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
351
351
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), Ce("selectDatapoint", t);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function De(t) {
|
|
354
354
|
Ce("selectLegend", {
|
|
355
355
|
...t,
|
|
356
356
|
isSegregated: !t.isSegregated,
|
|
@@ -358,7 +358,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
358
358
|
});
|
|
359
359
|
}
|
|
360
360
|
function Xe(t) {
|
|
361
|
-
H.value = t,
|
|
361
|
+
H.value = t, be.value += 1;
|
|
362
362
|
}
|
|
363
363
|
const ce = v(null);
|
|
364
364
|
function At({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
@@ -404,7 +404,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
404
404
|
}
|
|
405
405
|
te.value = !0;
|
|
406
406
|
}
|
|
407
|
-
y(() => ({ head:
|
|
407
|
+
y(() => ({ head: F.value.map((a) => ({
|
|
408
408
|
name: a.name,
|
|
409
409
|
color: a.color
|
|
410
410
|
})) }));
|
|
@@ -414,7 +414,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
414
414
|
e.value.table.columnNames.datapoint,
|
|
415
415
|
e.value.table.columnNames.x,
|
|
416
416
|
e.value.table.columnNames.y
|
|
417
|
-
], a =
|
|
417
|
+
], a = F.value.flatMap((i) => i.plots.map((s) => [
|
|
418
418
|
{
|
|
419
419
|
color: s.color,
|
|
420
420
|
name: s.seriesName
|
|
@@ -461,13 +461,13 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
461
461
|
};
|
|
462
462
|
});
|
|
463
463
|
function ve(t = null) {
|
|
464
|
-
|
|
464
|
+
Dt(() => {
|
|
465
465
|
const a = [
|
|
466
466
|
[e.value.table.columnNames.series],
|
|
467
467
|
[e.value.table.columnNames.datapoint],
|
|
468
468
|
[e.value.table.columnNames.x],
|
|
469
469
|
[e.value.table.columnNames.y]
|
|
470
|
-
], l =
|
|
470
|
+
], l = F.value.flatMap((k) => k.plots.map((J) => [
|
|
471
471
|
[J.seriesName],
|
|
472
472
|
[J.label],
|
|
473
473
|
[J.valueX],
|
|
@@ -494,7 +494,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
494
494
|
C.value.showTooltip = !C.value.showTooltip;
|
|
495
495
|
}
|
|
496
496
|
function Lt() {
|
|
497
|
-
return
|
|
497
|
+
return F.value;
|
|
498
498
|
}
|
|
499
499
|
async function $t({ scale: t = 2 } = {}) {
|
|
500
500
|
if (!$.value) return;
|
|
@@ -572,7 +572,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
572
572
|
id: `history_plot_${S.value}`,
|
|
573
573
|
ref_key: "historyPlotChart",
|
|
574
574
|
ref: $,
|
|
575
|
-
class:
|
|
575
|
+
class: P({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
|
|
576
576
|
style: L(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
577
577
|
onMouseenter: a[2] || (a[2] = () => u(Le)(!0)),
|
|
578
578
|
onMouseleave: a[3] || (a[3] = () => u(Le)(!1))
|
|
@@ -620,7 +620,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
620
620
|
e.value.userOptions.show && V.value && (u($e) || u(ue)) ? (o(), I(u(ot), {
|
|
621
621
|
ref_key: "userOptionsRef",
|
|
622
622
|
ref: ae,
|
|
623
|
-
key: `user_option_${
|
|
623
|
+
key: `user_option_${be.value}`,
|
|
624
624
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
625
625
|
color: e.value.style.chart.color,
|
|
626
626
|
isPrinting: u(Te),
|
|
@@ -656,56 +656,56 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
656
656
|
}, He({ _: 2 }, [
|
|
657
657
|
t.$slots.menuIcon ? {
|
|
658
658
|
name: "menuIcon",
|
|
659
|
-
fn:
|
|
659
|
+
fn: m(({ isOpen: l, color: i }) => [
|
|
660
660
|
p(t.$slots, "menuIcon", R(B({ isOpen: l, color: i })), void 0, !0)
|
|
661
661
|
]),
|
|
662
662
|
key: "0"
|
|
663
663
|
} : void 0,
|
|
664
664
|
t.$slots.optionTooltip ? {
|
|
665
665
|
name: "optionTooltip",
|
|
666
|
-
fn:
|
|
666
|
+
fn: m(() => [
|
|
667
667
|
p(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
668
668
|
]),
|
|
669
669
|
key: "1"
|
|
670
670
|
} : void 0,
|
|
671
671
|
t.$slots.optionPdf ? {
|
|
672
672
|
name: "optionPdf",
|
|
673
|
-
fn:
|
|
673
|
+
fn: m(() => [
|
|
674
674
|
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
675
675
|
]),
|
|
676
676
|
key: "2"
|
|
677
677
|
} : void 0,
|
|
678
678
|
t.$slots.optionCsv ? {
|
|
679
679
|
name: "optionCsv",
|
|
680
|
-
fn:
|
|
680
|
+
fn: m(() => [
|
|
681
681
|
p(t.$slots, "optionCsv", {}, void 0, !0)
|
|
682
682
|
]),
|
|
683
683
|
key: "3"
|
|
684
684
|
} : void 0,
|
|
685
685
|
t.$slots.optionImg ? {
|
|
686
686
|
name: "optionImg",
|
|
687
|
-
fn:
|
|
687
|
+
fn: m(() => [
|
|
688
688
|
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
689
689
|
]),
|
|
690
690
|
key: "4"
|
|
691
691
|
} : void 0,
|
|
692
692
|
t.$slots.optionTable ? {
|
|
693
693
|
name: "optionTable",
|
|
694
|
-
fn:
|
|
694
|
+
fn: m(() => [
|
|
695
695
|
p(t.$slots, "optionTable", {}, void 0, !0)
|
|
696
696
|
]),
|
|
697
697
|
key: "5"
|
|
698
698
|
} : void 0,
|
|
699
699
|
t.$slots.optionFullscreen ? {
|
|
700
700
|
name: "optionFullscreen",
|
|
701
|
-
fn:
|
|
701
|
+
fn: m(({ toggleFullscreen: l, isFullscreen: i }) => [
|
|
702
702
|
p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
|
|
703
703
|
]),
|
|
704
704
|
key: "6"
|
|
705
705
|
} : void 0,
|
|
706
706
|
t.$slots.optionAnnotator ? {
|
|
707
707
|
name: "optionAnnotator",
|
|
708
|
-
fn:
|
|
708
|
+
fn: m(({ toggleAnnotator: l, isAnnotator: i }) => [
|
|
709
709
|
p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
|
|
710
710
|
]),
|
|
711
711
|
key: "7"
|
|
@@ -732,7 +732,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
732
732
|
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
733
733
|
], 8, dl)) : h("", !0),
|
|
734
734
|
e.value.style.chart.plots.gradient.show ? (o(), r("defs", yl, [
|
|
735
|
-
(o(!0), r(
|
|
735
|
+
(o(!0), r(b, null, g(F.value, (l, i) => (o(), r("radialGradient", {
|
|
736
736
|
id: `gradient_${i}_${S.value}`,
|
|
737
737
|
fy: "30%"
|
|
738
738
|
}, [
|
|
@@ -747,11 +747,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
747
747
|
_("stop", {
|
|
748
748
|
offset: "100%",
|
|
749
749
|
"stop-color": l.color
|
|
750
|
-
}, null, 8,
|
|
750
|
+
}, null, 8, ml)
|
|
751
751
|
], 8, fl))), 256))
|
|
752
752
|
])) : h("", !0),
|
|
753
|
-
e.value.style.chart.grid.verticalLines.show ? (o(), r("g",
|
|
754
|
-
(o(!0), r(
|
|
753
|
+
e.value.style.chart.grid.verticalLines.show ? (o(), r("g", bl, [
|
|
754
|
+
(o(!0), r(b, null, g(x.value.tickX, (l) => (o(), r("line", {
|
|
755
755
|
x1: l.x,
|
|
756
756
|
x2: l.x,
|
|
757
757
|
y1: l.y1,
|
|
@@ -762,7 +762,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
762
762
|
}, null, 8, gl))), 256))
|
|
763
763
|
])) : h("", !0),
|
|
764
764
|
e.value.style.chart.axes.y.labels.show ? (o(), r("g", kl, [
|
|
765
|
-
(o(!0), r(
|
|
765
|
+
(o(!0), r(b, null, g(x.value.tickY, (l) => (o(), r("line", {
|
|
766
766
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
767
767
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
768
768
|
"stroke-linecap": "round",
|
|
@@ -777,7 +777,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
777
777
|
ref_key: "yAxisScales",
|
|
778
778
|
ref: re
|
|
779
779
|
}, [
|
|
780
|
-
(o(!0), r(
|
|
780
|
+
(o(!0), r(b, null, g(x.value.tickY, (l) => (o(), r("text", {
|
|
781
781
|
x: c.value.left + e.value.style.chart.axes.y.labels.offsetX - 4 - e.value.style.chart.plots.radius,
|
|
782
782
|
y: l.y + n.value.yAxisLabels / 3,
|
|
783
783
|
fill: e.value.style.chart.axes.y.labels.color,
|
|
@@ -805,7 +805,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
805
805
|
"text-anchor": "middle"
|
|
806
806
|
}, T(e.value.style.chart.axes.y.name.text), 9, Al)) : h("", !0),
|
|
807
807
|
e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", _l, [
|
|
808
|
-
(o(!0), r(
|
|
808
|
+
(o(!0), r(b, null, g(x.value.tickY, (l) => (o(), r("line", {
|
|
809
809
|
x1: l.x1,
|
|
810
810
|
x2: l.x2,
|
|
811
811
|
y1: l.y,
|
|
@@ -816,7 +816,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
816
816
|
}, null, 8, Ll))), 256))
|
|
817
817
|
])) : h("", !0),
|
|
818
818
|
e.value.style.chart.axes.x.labels.show ? (o(), r("g", $l, [
|
|
819
|
-
(o(!0), r(
|
|
819
|
+
(o(!0), r(b, null, g(x.value.tickX, (l) => (o(), r("line", {
|
|
820
820
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
821
821
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
822
822
|
"stroke-linecap": "round",
|
|
@@ -831,7 +831,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
831
831
|
ref_key: "xAxisScales",
|
|
832
832
|
ref: G
|
|
833
833
|
}, [
|
|
834
|
-
(o(!0), r(
|
|
834
|
+
(o(!0), r(b, null, g(x.value.tickX, (l) => (o(), r("text", {
|
|
835
835
|
class: "vue-ui-history-plot-x-axis-scale",
|
|
836
836
|
transform: `translate(${l.x}, ${c.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels + e.value.style.chart.plots.radius}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
|
|
837
837
|
fill: e.value.style.chart.axes.x.labels.color,
|
|
@@ -879,7 +879,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
879
879
|
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
880
880
|
"stroke-linecap": "round"
|
|
881
881
|
}, null, 8, Nl)) : h("", !0),
|
|
882
|
-
(o(!0), r(
|
|
882
|
+
(o(!0), r(b, null, g(F.value, (l, i) => (o(), r("g", null, [
|
|
883
883
|
e.value.style.chart.paths.show ? (o(), r("g", {
|
|
884
884
|
key: 0,
|
|
885
885
|
style: L({
|
|
@@ -893,7 +893,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
893
893
|
fill: "none",
|
|
894
894
|
"stroke-linecap": "round",
|
|
895
895
|
"stroke-linejoin": "round",
|
|
896
|
-
class:
|
|
896
|
+
class: P({ animated: e.value.useCssAnimation && !u(z) })
|
|
897
897
|
}, null, 10, Ol),
|
|
898
898
|
_("path", {
|
|
899
899
|
d: l.path,
|
|
@@ -902,31 +902,31 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
902
902
|
fill: "none",
|
|
903
903
|
"stroke-linecap": "round",
|
|
904
904
|
"stroke-linejoin": "round",
|
|
905
|
-
class:
|
|
905
|
+
class: P({ animated: e.value.useCssAnimation && !u(z) })
|
|
906
906
|
}, null, 10, Il)
|
|
907
907
|
], 4)) : h("", !0),
|
|
908
|
-
(o(!0), r(
|
|
908
|
+
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
|
|
909
909
|
cx: s.x,
|
|
910
910
|
cy: s.y,
|
|
911
911
|
fill: e.value.style.chart.backgroundColor,
|
|
912
912
|
r: n.value.plots,
|
|
913
913
|
stroke: "none"
|
|
914
|
-
}, null, 8,
|
|
915
|
-
(o(!0), r(
|
|
914
|
+
}, null, 8, Fl))), 256)),
|
|
915
|
+
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
|
|
916
916
|
cx: s.x,
|
|
917
917
|
cy: s.y,
|
|
918
918
|
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${S.value})` : s.color,
|
|
919
919
|
r: n.value.plots,
|
|
920
920
|
stroke: e.value.style.chart.plots.stroke,
|
|
921
921
|
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
922
|
-
class:
|
|
922
|
+
class: P({ animated: e.value.useCssAnimation && !u(z) }),
|
|
923
923
|
style: L({
|
|
924
924
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
925
925
|
transition: "opacity 0.2s ease-in-out"
|
|
926
926
|
})
|
|
927
|
-
}, null, 14,
|
|
928
|
-
e.value.style.chart.plots.labels.show ? (o(), r("g",
|
|
929
|
-
(o(!0), r(
|
|
927
|
+
}, null, 14, Pl))), 256)),
|
|
928
|
+
e.value.style.chart.plots.labels.show ? (o(), r("g", Dl, [
|
|
929
|
+
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("g", null, [
|
|
930
930
|
String(s.label).includes(`
|
|
931
931
|
`) ? (o(), r("text", {
|
|
932
932
|
key: 1,
|
|
@@ -936,7 +936,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
936
936
|
fill: e.value.style.chart.plots.labels.color,
|
|
937
937
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
938
938
|
"text-anchor": "middle",
|
|
939
|
-
class:
|
|
939
|
+
class: P({ animated: e.value.useCssAnimation && !u(z) }),
|
|
940
940
|
style: L({
|
|
941
941
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
942
942
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -956,7 +956,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
956
956
|
fill: e.value.style.chart.plots.labels.color,
|
|
957
957
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
958
958
|
"text-anchor": "middle",
|
|
959
|
-
class:
|
|
959
|
+
class: P({ animated: e.value.useCssAnimation && !u(z) }),
|
|
960
960
|
style: L({
|
|
961
961
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
962
962
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -965,14 +965,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
965
965
|
]))), 256))
|
|
966
966
|
])) : h("", !0),
|
|
967
967
|
e.value.style.chart.plots.indexLabels.show ? (o(), r("g", Bl, [
|
|
968
|
-
(o(!0), r(
|
|
968
|
+
(o(!0), r(b, null, g(l.plots, (s, k) => (o(), r("text", {
|
|
969
969
|
x: s.x + e.value.style.chart.plots.indexLabels.offsetX,
|
|
970
970
|
y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
|
|
971
971
|
"font-size": n.value.indexLabels,
|
|
972
972
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
973
973
|
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(Gt)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
974
974
|
"text-anchor": "middle",
|
|
975
|
-
class:
|
|
975
|
+
class: P({ animated: e.value.useCssAnimation && !u(z) }),
|
|
976
976
|
style: L({
|
|
977
977
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
978
978
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -980,8 +980,8 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
980
980
|
}, T(e.value.style.chart.plots.indexLabels.startAtZero ? k : k + 1), 15, Yl))), 256))
|
|
981
981
|
])) : h("", !0)
|
|
982
982
|
]))), 256)),
|
|
983
|
-
(o(!0), r(
|
|
984
|
-
(o(!0), r(
|
|
983
|
+
(o(!0), r(b, null, g(F.value, (l) => (o(), r("g", null, [
|
|
984
|
+
(o(!0), r(b, null, g(l.plots, (i, s) => (o(), r("circle", {
|
|
985
985
|
cx: i.x,
|
|
986
986
|
cy: i.y,
|
|
987
987
|
fill: "transparent",
|
|
@@ -1022,16 +1022,16 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1022
1022
|
}, [
|
|
1023
1023
|
e.value.style.chart.legend.show && V.value ? (o(), I(il, {
|
|
1024
1024
|
key: `legend_${pe.value}`,
|
|
1025
|
-
legendSet:
|
|
1025
|
+
legendSet: Pe.value,
|
|
1026
1026
|
config: wt.value,
|
|
1027
1027
|
onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
|
|
1028
|
-
|
|
1028
|
+
Fe(l.seriesIndex), De(l);
|
|
1029
1029
|
})
|
|
1030
1030
|
}, {
|
|
1031
|
-
item:
|
|
1031
|
+
item: m(({ legend: l, index: i }) => [
|
|
1032
1032
|
_("div", {
|
|
1033
1033
|
onClick: (s) => {
|
|
1034
|
-
l.segregate(),
|
|
1034
|
+
l.segregate(), De(l);
|
|
1035
1035
|
},
|
|
1036
1036
|
style: L(`opacity:${w.value.includes(l.seriesIndex) ? 0.5 : 1}`)
|
|
1037
1037
|
}, T(l.name), 13, jl)
|
|
@@ -1039,7 +1039,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1039
1039
|
_: 1
|
|
1040
1040
|
}, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
|
|
1041
1041
|
key: 1,
|
|
1042
|
-
legend:
|
|
1042
|
+
legend: Pe.value
|
|
1043
1043
|
}, void 0, !0)
|
|
1044
1044
|
], 512)
|
|
1045
1045
|
], 8, ["to"])) : h("", !0),
|
|
@@ -1067,24 +1067,26 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1067
1067
|
isCustom: W.value,
|
|
1068
1068
|
isFullscreen: H.value,
|
|
1069
1069
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1070
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
1070
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1071
|
+
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1072
|
+
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1071
1073
|
}, {
|
|
1072
|
-
"tooltip-before":
|
|
1074
|
+
"tooltip-before": m(() => [
|
|
1073
1075
|
p(t.$slots, "tooltip-before", R(B({ ...ce.value })), void 0, !0)
|
|
1074
1076
|
]),
|
|
1075
|
-
"tooltip-after":
|
|
1077
|
+
"tooltip-after": m(() => [
|
|
1076
1078
|
p(t.$slots, "tooltip-after", R(B({ ...ce.value })), void 0, !0)
|
|
1077
1079
|
]),
|
|
1078
1080
|
_: 3
|
|
1079
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter"]),
|
|
1080
|
-
V.value ? (o(), I(
|
|
1081
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1082
|
+
V.value ? (o(), I(Ft(U.value.component), Pt({ key: 7 }, U.value.props, {
|
|
1081
1083
|
ref_key: "tableUnit",
|
|
1082
1084
|
ref: j,
|
|
1083
1085
|
onClose: Ye
|
|
1084
1086
|
}), He({
|
|
1085
|
-
content:
|
|
1087
|
+
content: m(() => [
|
|
1086
1088
|
(o(), I(u(at), {
|
|
1087
|
-
key: `table_${
|
|
1089
|
+
key: `table_${me.value}`,
|
|
1088
1090
|
colNames: q.value.colNames,
|
|
1089
1091
|
head: q.value.head,
|
|
1090
1092
|
body: q.value.body,
|
|
@@ -1093,13 +1095,13 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1093
1095
|
withCloseButton: !e.value.table.useDialog,
|
|
1094
1096
|
onClose: Ye
|
|
1095
1097
|
}, {
|
|
1096
|
-
th:
|
|
1098
|
+
th: m(({ th: l }) => [
|
|
1097
1099
|
_("div", {
|
|
1098
1100
|
innerHTML: l,
|
|
1099
1101
|
style: { display: "flex", "align-items": "center" }
|
|
1100
1102
|
}, null, 8, Ul)
|
|
1101
1103
|
]),
|
|
1102
|
-
td:
|
|
1104
|
+
td: m(({ td: l }) => [
|
|
1103
1105
|
We(T(l.name || l), 1)
|
|
1104
1106
|
]),
|
|
1105
1107
|
_: 1
|
|
@@ -1109,14 +1111,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1109
1111
|
}, [
|
|
1110
1112
|
e.value.table.useDialog ? {
|
|
1111
1113
|
name: "title",
|
|
1112
|
-
fn:
|
|
1114
|
+
fn: m(() => [
|
|
1113
1115
|
We(T(U.value.title), 1)
|
|
1114
1116
|
]),
|
|
1115
1117
|
key: "0"
|
|
1116
1118
|
} : void 0,
|
|
1117
1119
|
e.value.table.useDialog ? {
|
|
1118
1120
|
name: "actions",
|
|
1119
|
-
fn:
|
|
1121
|
+
fn: m(() => [
|
|
1120
1122
|
_("button", {
|
|
1121
1123
|
tabindex: "0",
|
|
1122
1124
|
class: "vue-ui-user-options-button",
|
|
@@ -1134,7 +1136,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1134
1136
|
u(z) ? (o(), I(tl, { key: 8 })) : h("", !0)
|
|
1135
1137
|
], 46, cl));
|
|
1136
1138
|
}
|
|
1137
|
-
}, na = /* @__PURE__ */ ul(Gl, [["__scopeId", "data-v-
|
|
1139
|
+
}, na = /* @__PURE__ */ ul(Gl, [["__scopeId", "data-v-67440664"]]);
|
|
1138
1140
|
export {
|
|
1139
1141
|
na as default
|
|
1140
1142
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as z, computed as C, useSlots as w, onMounted as k, watch as y, ref as $, createElementBlock as s, openBlock as i, normalizeStyle as u, normalizeClass as r, createElementVNode as b, renderSlot as n, createTextVNode as h, toDisplayString as F, createVNode as B, unref as v, Fragment as L } from "vue";
|
|
2
|
-
import { u as M } from "./useNestedProp-
|
|
3
|
-
import { u as E, k as I, i as O } from "./index-
|
|
2
|
+
import { u as M } from "./useNestedProp-BMzw9VUz.js";
|
|
3
|
+
import { u as E, k as I, i as O } from "./index-BkfuZCRT.js";
|
|
4
4
|
const R = {
|
|
5
5
|
__name: "vue-ui-kpi",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const R = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
|
-
const N = z(() => import("./vue-ui-digits-
|
|
19
|
+
const N = z(() => import("./vue-ui-digits-C3mI-0Fg.js")), { vue_ui_kpi: D } = E(), l = o, e = C({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), S = w(), A = C(() => e.value.debug);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
|
-
import { u as m } from "./useNestedProp-
|
|
3
|
-
import { u as y, X as L } from "./index-
|
|
2
|
+
import { u as m } from "./useNestedProp-BMzw9VUz.js";
|
|
3
|
+
import { u as y, X as L } from "./index-BkfuZCRT.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|