vue-data-ui 3.17.9 → 3.17.11
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/{PackageVersion-Ov37I8ii.js → PackageVersion-CHNfLQ9Q.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-C1Z1RCcf.js → vue-data-ui-BhpgB8UJ.js} +61 -61
- package/dist/vue-data-ui.js +61 -61
- package/dist/{vue-ui-3d-bar-BqqCv_L2.js → vue-ui-3d-bar-DlLiXS6Z.js} +1 -1
- package/dist/{vue-ui-age-pyramid-C-2sRuVe.js → vue-ui-age-pyramid-DraVdYRy.js} +1 -1
- package/dist/{vue-ui-bullet-CkBMlG46.js → vue-ui-bullet-WnD9rJbc.js} +19 -18
- package/dist/{vue-ui-bump-DxBzf8_x.js → vue-ui-bump-DwgahfiC.js} +1 -1
- package/dist/{vue-ui-candlestick-CQw6E5XK.js → vue-ui-candlestick-BleQTpuq.js} +1 -1
- package/dist/{vue-ui-carousel-table-ehHnnwYQ.js → vue-ui-carousel-table-BjXxtjCZ.js} +1 -1
- package/dist/{vue-ui-chestnut-CEG1n9Bg.js → vue-ui-chestnut-xBDbJ9su.js} +1 -1
- package/dist/{vue-ui-chord-Bm8sj1jg.js → vue-ui-chord-D_pGtRHt.js} +36 -35
- package/dist/{vue-ui-circle-pack-BhtBzyoU.js → vue-ui-circle-pack-C7-wxx3Y.js} +1 -1
- package/dist/{vue-ui-cursor-KjOp9R9e.js → vue-ui-cursor-DBvL5KTg.js} +1 -1
- package/dist/{vue-ui-dag-DsBuepaA.js → vue-ui-dag-BKGTFMQK.js} +1 -1
- package/dist/{vue-ui-dashboard-ClvBMAzA.js → vue-ui-dashboard-CEtNOoBY.js} +58 -58
- package/dist/{vue-ui-digits-CUN5zijI.js → vue-ui-digits-BeIq6BVd.js} +1 -1
- package/dist/{vue-ui-donut-B1EgAu-L.js → vue-ui-donut-BjV5_nf1.js} +44 -43
- package/dist/{vue-ui-donut-evolution-5PjaWTvx.js → vue-ui-donut-evolution-B7hCGAIO.js} +30 -29
- package/dist/{vue-ui-dumbbell-D8hAgMko.js → vue-ui-dumbbell-ZMLefa9v.js} +85 -86
- package/dist/{vue-ui-flow-jJLellQk.js → vue-ui-flow-BYjkId4Z.js} +63 -62
- package/dist/{vue-ui-funnel-C4JIWkGm.js → vue-ui-funnel-BZtpP-Of.js} +2 -2
- package/dist/{vue-ui-galaxy-CuqTB4XR.js → vue-ui-galaxy-bdIj6ERd.js} +56 -55
- package/dist/{vue-ui-gauge-B5bJUzMr.js → vue-ui-gauge-DT5-qFXl.js} +1 -1
- package/dist/{vue-ui-geo-BJiW5vL1.js → vue-ui-geo-nXp15sZ5.js} +1 -1
- package/dist/{vue-ui-gizmo-D5e5T4fu.js → vue-ui-gizmo-J5MTo522.js} +1 -1
- package/dist/{vue-ui-heatmap-Bsr9R8ek.js → vue-ui-heatmap-G7DzkGq2.js} +1 -1
- package/dist/{vue-ui-history-plot-pXrD1Fm7.js → vue-ui-history-plot-BLoxv5uS.js} +35 -36
- package/dist/{vue-ui-horizontal-bar-7HugQ0dT.js → vue-ui-horizontal-bar-B8wbIiWo.js} +1 -1
- package/dist/{vue-ui-kpi-BLVCrWfG.js → vue-ui-kpi-AT8jIXnu.js} +1 -1
- package/dist/{vue-ui-molecule-DhIWpt07.js → vue-ui-molecule-j5opFMNQ.js} +1 -1
- package/dist/{vue-ui-mood-radar-BUpDYe22.js → vue-ui-mood-radar-Opwn9CwC.js} +84 -83
- package/dist/{vue-ui-nested-donuts-JhqmPAhH.js → vue-ui-nested-donuts-Cc_5aNFc.js} +117 -120
- package/dist/{vue-ui-onion-DUSgz_9-.js → vue-ui-onion-CjDIGb68.js} +62 -63
- package/dist/{vue-ui-parallel-coordinate-plot-Cbn9N0y0.js → vue-ui-parallel-coordinate-plot-CcQZTqNS.js} +35 -36
- package/dist/{vue-ui-quadrant-Foz7WuoD.js → vue-ui-quadrant-FoV76r7G.js} +32 -33
- package/dist/{vue-ui-quick-chart-DVH6A-Nr.js → vue-ui-quick-chart-BPu7QR35.js} +3 -3
- package/dist/{vue-ui-radar-CDpMulQa.js → vue-ui-radar-C60tBqYo.js} +72 -73
- package/dist/{vue-ui-relation-circle-ChtfTtXY.js → vue-ui-relation-circle-CaeT1NKV.js} +1 -1
- package/dist/{vue-ui-ridgeline-DXs-IeYj.js → vue-ui-ridgeline-DpLnKVx2.js} +2 -2
- package/dist/{vue-ui-rings-BfhsTTW_.js → vue-ui-rings-Bp1MqbOV.js} +171 -172
- package/dist/{vue-ui-scatter-CYWGf_oA.js → vue-ui-scatter-C73P-oBq.js} +100 -101
- package/dist/{vue-ui-skeleton-BPUPkwbA.js → vue-ui-skeleton-BSR3VLyw.js} +1 -1
- package/dist/{vue-ui-spark-trend-Cz7B6dw6.js → vue-ui-spark-trend-BqlM3vP7.js} +1 -1
- package/dist/{vue-ui-sparkbar-Dv89_7Pf.js → vue-ui-sparkbar-DqtEGBj9.js} +1 -1
- package/dist/{vue-ui-sparkgauge-BOPXQq5e.js → vue-ui-sparkgauge-DWOru6YE.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-BXYBq4wu.js → vue-ui-sparkhistogram-DfYv2pHk.js} +1 -1
- package/dist/{vue-ui-sparkline-B-CVRLdL.js → vue-ui-sparkline-Bu5xssk9.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-Dg3wvlR7.js → vue-ui-sparkstackbar-D-a14Bay.js} +1 -1
- package/dist/{vue-ui-stackbar-Dojc9vet.js → vue-ui-stackbar-BB-KLlR-.js} +45 -46
- package/dist/{vue-ui-stackline-BrZw5IXj.js → vue-ui-stackline-fWtYk_Aa.js} +119 -120
- package/dist/{vue-ui-strip-plot-Jqkr7XWO.js → vue-ui-strip-plot-D0QC2wVw.js} +1 -1
- package/dist/{vue-ui-table-B_TE9dWt.js → vue-ui-table-Rk5HCqBr.js} +2 -2
- package/dist/{vue-ui-table-sparkline-DtryAFeu.js → vue-ui-table-sparkline-Cb6fl-Ux.js} +1 -1
- package/dist/{vue-ui-thermometer-Cf2u4_lH.js → vue-ui-thermometer-ConedyG6.js} +1 -1
- package/dist/{vue-ui-timer-BCw6IHHQ.js → vue-ui-timer-B-GcfZX7.js} +1 -1
- package/dist/{vue-ui-tiremarks-AOLQC2Pm.js → vue-ui-tiremarks-BGyILItf.js} +1 -1
- package/dist/{vue-ui-treemap-C8MtnLLV.js → vue-ui-treemap-C4PiafoY.js} +33 -34
- package/dist/{vue-ui-waffle-DvQ-_joz.js → vue-ui-waffle-DvHrxSIL.js} +44 -45
- package/dist/{vue-ui-wheel-BzBzZw1d.js → vue-ui-wheel-DeKJJliu.js} +1 -1
- package/dist/{vue-ui-word-cloud-LrVTAPzW.js → vue-ui-word-cloud-IAom94Mg.js} +1 -1
- package/dist/{vue-ui-world-7DPU6qqx.js → vue-ui-world-CH9uc5uY.js} +78 -77
- package/dist/{vue-ui-xy-XsqGdS48.js → vue-ui-xy-C11EO1Ja.js} +187 -188
- package/dist/{vue-ui-xy-canvas--zevqB3i.js → vue-ui-xy-canvas-DLvVyHZO.js} +103 -104
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as G, computed as
|
|
1
|
+
import { defineAsyncComponent as G, computed as g, ref as h, toRefs as rl, watch as fe, shallowRef as ct, onMounted as vt, onBeforeUnmount as dt, watchEffect as ul, openBlock as n, createElementBlock as v, unref as c, normalizeStyle as le, normalizeClass as ht, createElementVNode as i, toDisplayString as _, createBlock as T, createCommentVNode as b, withCtx as m, renderSlot as p, normalizeProps as C, guardReactiveProps as w, createSlots as ft, createVNode as yt, Fragment as A, renderList as X, withDirectives as ae, vShow as se, Teleport as il, createTextVNode as Xe, resolveDynamicComponent as cl, mergeProps as vl, nextTick as bt } from "vue";
|
|
2
2
|
import { j as gt, t as pt, o as dl, q as mt, r as hl, K as kt, D as fl, l as S, k as B, X as xt, u as _t, x as oe, w as ne, a0 as yl, a1 as bl } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as ze, u as gl } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as pl } from "./useConfig-B70q17MC.js";
|
|
@@ -47,19 +47,19 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
47
47
|
), Mt = G(
|
|
48
48
|
() => import("./UserOptions-DVduN6X7.js")
|
|
49
49
|
), Tt = G(
|
|
50
|
-
() => import("./PackageVersion-
|
|
50
|
+
() => import("./PackageVersion-CHNfLQ9Q.js")
|
|
51
51
|
), Xt = G(
|
|
52
52
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
53
|
-
), { vue_ui_dumbbell: zt } = pl(), { isThemeValid: It, warnInvalidTheme: Pt } = Cl(), $ = Ct, Dt = $t, re =
|
|
53
|
+
), { vue_ui_dumbbell: zt } = pl(), { isThemeValid: It, warnInvalidTheme: Pt } = Cl(), $ = Ct, Dt = $t, re = g({
|
|
54
54
|
get() {
|
|
55
55
|
return !!$.dataset && $.dataset.length;
|
|
56
56
|
},
|
|
57
57
|
set(l) {
|
|
58
58
|
return l;
|
|
59
59
|
}
|
|
60
|
-
}), f = h(gt()), Pe = h(0), z = h(null), De = h(null), Oe = h(null), Fe = h(null), He = h(null), Ee = h(0), Ge = h(0), Be = h(0), Re = h(!1), j = h(null), ye = h(null), ue = h(!1), ie = h(!1), be = h(null), ge = h(null), ce = h(null), pe = h(null), I = h(null), u = h(null), L = h(null), me = h(!1), H = h(!1), e = h(Ce()), Y =
|
|
60
|
+
}), f = h(gt()), Pe = h(0), z = h(null), De = h(null), Oe = h(null), Fe = h(null), He = h(null), Ee = h(0), Ge = h(0), Be = h(0), Re = h(!1), j = h(null), ye = h(null), ue = h(!1), ie = h(!1), be = h(null), ge = h(null), ce = h(null), pe = h(null), I = h(null), u = h(null), L = h(null), me = h(!1), H = h(!1), e = h(Ce()), Y = g(
|
|
61
61
|
() => e.value.userOptions.useCursorPointer
|
|
62
|
-
), Ot =
|
|
62
|
+
), Ot = g(() => pt({
|
|
63
63
|
defaultConfig: {
|
|
64
64
|
userOptions: { show: !1 },
|
|
65
65
|
table: { show: !1 },
|
|
@@ -152,7 +152,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
152
152
|
vt(() => {
|
|
153
153
|
Re.value = !0, qe();
|
|
154
154
|
});
|
|
155
|
-
const We =
|
|
155
|
+
const We = g(() => !!e.value.debug);
|
|
156
156
|
function qe() {
|
|
157
157
|
if (dl($.dataset) ? mt({
|
|
158
158
|
componentName: "VueUiDumbbell",
|
|
@@ -198,7 +198,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
198
198
|
elementId: `dumbbell_${f.value}`,
|
|
199
199
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell",
|
|
200
200
|
options: e.value.userOptions.print
|
|
201
|
-
}), Ht =
|
|
201
|
+
}), Ht = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), E = h({
|
|
202
202
|
showTable: e.value.table.show
|
|
203
203
|
});
|
|
204
204
|
fe(
|
|
@@ -210,15 +210,15 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
210
210
|
},
|
|
211
211
|
{ immediate: !0 }
|
|
212
212
|
);
|
|
213
|
-
const V =
|
|
213
|
+
const V = g(() => xe.value.map((l, s) => ({
|
|
214
214
|
...l,
|
|
215
215
|
start: kt(l.start),
|
|
216
216
|
end: kt(l.end),
|
|
217
217
|
id: l.id ?? `${String(l.name)}__${String(l.start)}__${String(l.end)}__${gt()}`
|
|
218
|
-
}))), Ye =
|
|
218
|
+
}))), Ye = g(() => {
|
|
219
219
|
const l = e.value.style.chart.grid, s = V.value.flatMap((y) => [y.start, y.end]).map((y) => Number(y)).filter((y) => Number.isFinite(y)), t = s.length ? Math.min(...s) : 0, a = s.length ? Math.max(...s) : 0, r = l.scaleMin ?? Math.min(t, 0), d = l.scaleMax ?? a;
|
|
220
220
|
return { min: r, max: d };
|
|
221
|
-
}), N =
|
|
221
|
+
}), N = g(() => fl(
|
|
222
222
|
Ye.value.min,
|
|
223
223
|
Ye.value.max,
|
|
224
224
|
e.value.style.chart.grid.scaleSteps
|
|
@@ -245,13 +245,13 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
245
245
|
}), dt(() => {
|
|
246
246
|
Le.value = 0;
|
|
247
247
|
});
|
|
248
|
-
const Ze =
|
|
248
|
+
const Ze = g(() => {
|
|
249
249
|
H.value;
|
|
250
250
|
let l = 0;
|
|
251
251
|
pe.value && (l = pe.value.getBBox().height);
|
|
252
252
|
let s = 0;
|
|
253
253
|
return ce.value && (s = Le.value), l + s;
|
|
254
|
-
}), Ae =
|
|
254
|
+
}), Ae = g(() => V.value.length);
|
|
255
255
|
function Je(l, s, t) {
|
|
256
256
|
const a = Number(l), r = Number(s.min), d = Number(s.max), y = Number(t.width);
|
|
257
257
|
if (!Number.isFinite(a) || !Number.isFinite(r) || !Number.isFinite(d) || !Number.isFinite(y))
|
|
@@ -259,7 +259,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
259
259
|
const x = d - r;
|
|
260
260
|
return x <= 0 ? t.left : t.left + (a - r) / x * y;
|
|
261
261
|
}
|
|
262
|
-
const o =
|
|
262
|
+
const o = g(() => {
|
|
263
263
|
H.value;
|
|
264
264
|
const l = Et(), s = e.value.style.chart.padding, t = e.value.style.chart.labels.axis.xLabel ? e.value.style.chart.labels.axis.xLabelOffsetY : 0, a = U.value * Ae.value - Ze.value - s.top - s.bottom - t, r = a / Ae.value, d = U.value * Ae.value, y = W.value - l - s.left - s.right, x = N.value.ticks.length * (y / N.value.ticks.length);
|
|
265
265
|
return {
|
|
@@ -273,10 +273,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
273
273
|
absoluteHeight: d,
|
|
274
274
|
widthPlotReference: x
|
|
275
275
|
};
|
|
276
|
-
}), D =
|
|
276
|
+
}), D = g(() => Math.min(
|
|
277
277
|
U.value / 2 * 0.7,
|
|
278
278
|
e.value.style.chart.plots.radius
|
|
279
|
-
)), J = h([]), k =
|
|
279
|
+
)), J = h([]), k = g({
|
|
280
280
|
get() {
|
|
281
281
|
const l = o.value, s = N.value;
|
|
282
282
|
return J.value.map((t, a) => {
|
|
@@ -335,7 +335,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
335
335
|
};
|
|
336
336
|
M.value = requestAnimationFrame(t);
|
|
337
337
|
}
|
|
338
|
-
const Se =
|
|
338
|
+
const Se = g(() => e.value.style.chart.plots.evaluationColors.enable ? [
|
|
339
339
|
{
|
|
340
340
|
name: e.value.style.chart.legend.labelNegative,
|
|
341
341
|
color: e.value.style.chart.plots.gradient.show ? `url(#negative_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.negative
|
|
@@ -357,7 +357,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
357
357
|
name: e.value.style.chart.legend.labelEnd,
|
|
358
358
|
color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${f.value})` : e.value.style.chart.plots.endColor
|
|
359
359
|
}
|
|
360
|
-
]), Bt =
|
|
360
|
+
]), Bt = g(() => ({
|
|
361
361
|
cy: "donut-div-legend",
|
|
362
362
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
363
363
|
color: e.value.style.chart.legend.color,
|
|
@@ -365,7 +365,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
365
365
|
paddingBottom: 12,
|
|
366
366
|
paddingTop: 12,
|
|
367
367
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
368
|
-
})), O =
|
|
368
|
+
})), O = g(() => {
|
|
369
369
|
const l = k.value.map((t) => ({
|
|
370
370
|
name: t.name
|
|
371
371
|
})), s = k.value.map((t) => ({
|
|
@@ -373,7 +373,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
373
373
|
end: t.end
|
|
374
374
|
}));
|
|
375
375
|
return { head: l, body: s };
|
|
376
|
-
}), q =
|
|
376
|
+
}), q = g(() => {
|
|
377
377
|
const l = [
|
|
378
378
|
e.value.table.columnNames.series,
|
|
379
379
|
e.value.table.columnNames.start,
|
|
@@ -473,7 +473,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
473
473
|
aspectRatio: a
|
|
474
474
|
};
|
|
475
475
|
}
|
|
476
|
-
const at =
|
|
476
|
+
const at = g(() => N.value.ticks), Ut = g(() => ({ start: 0, end: at.value.length }));
|
|
477
477
|
Ll({
|
|
478
478
|
timeLabelsEls: ce,
|
|
479
479
|
timeLabels: at,
|
|
@@ -530,7 +530,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
530
530
|
function he({ datapoint: l, seriesIndex: s }) {
|
|
531
531
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
|
|
532
532
|
}
|
|
533
|
-
const Te =
|
|
533
|
+
const Te = g(() => {
|
|
534
534
|
if (u.value === null) return 0;
|
|
535
535
|
const l = ![null, void 0].includes(
|
|
536
536
|
u.value.start
|
|
@@ -541,7 +541,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
541
541
|
) + Math.abs(
|
|
542
542
|
u.value.startX - u.value.endX
|
|
543
543
|
) / 2 : l && !s ? u.value.startX : s && !l ? u.value.endX : null;
|
|
544
|
-
}), Kt =
|
|
544
|
+
}), Kt = g(() => {
|
|
545
545
|
if (u.value === null) return "";
|
|
546
546
|
const l = ![null, void 0].includes(
|
|
547
547
|
u.value.start
|
|
@@ -574,7 +574,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
574
574
|
seriesIndex: I.value
|
|
575
575
|
}
|
|
576
576
|
)), l && s ? `${t} → ${a}` : l && !s ? t : s && !l ? a : "";
|
|
577
|
-
}), ee =
|
|
577
|
+
}), ee = g(() => {
|
|
578
578
|
const l = e.value.table.useDialog && !e.value.table.show, s = E.value.showTable;
|
|
579
579
|
return {
|
|
580
580
|
component: l ? Xt : At,
|
|
@@ -614,10 +614,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
614
614
|
function ot() {
|
|
615
615
|
E.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
|
|
616
616
|
}
|
|
617
|
-
const jt =
|
|
617
|
+
const jt = g(() => Se.value.map((l) => ({
|
|
618
618
|
...l,
|
|
619
619
|
shape: "circle"
|
|
620
|
-
}))), Yt =
|
|
620
|
+
}))), Yt = g(() => e.value.style.chart.backgroundColor), Zt = g(() => e.value.style.chart.legend), Jt = g(() => e.value.style.chart.title), { exportSvg: Qt, getSvg: el } = _l({
|
|
621
621
|
svg: Z,
|
|
622
622
|
title: Jt,
|
|
623
623
|
legend: Zt,
|
|
@@ -718,7 +718,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
718
718
|
seriesIndex: d
|
|
719
719
|
}));
|
|
720
720
|
}
|
|
721
|
-
const te =
|
|
721
|
+
const te = g(() => ({
|
|
722
722
|
head: q.value.head,
|
|
723
723
|
body: q.value.body.map((l) => [
|
|
724
724
|
l[0]?.name ?? "",
|
|
@@ -762,7 +762,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
762
762
|
body: te.value.body,
|
|
763
763
|
caption: te.value.caption,
|
|
764
764
|
notice: te.value.notice
|
|
765
|
-
}, null, 8, ["uid", "head", "body", "caption", "notice"])) :
|
|
765
|
+
}, null, 8, ["uid", "head", "body", "caption", "notice"])) : b("", !0),
|
|
766
766
|
e.value.userOptions.buttons.annotator ? (n(), T(c(Nt), {
|
|
767
767
|
key: 1,
|
|
768
768
|
svgRef: c(Z),
|
|
@@ -791,14 +791,14 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
791
791
|
p(l.$slots, "annotator-action-delete", C(w({ disabled: t })), void 0, !0)
|
|
792
792
|
]),
|
|
793
793
|
_: 3
|
|
794
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) :
|
|
794
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : b("", !0),
|
|
795
795
|
Ht.value ? (n(), v("div", {
|
|
796
796
|
key: 2,
|
|
797
797
|
ref_key: "noTitle",
|
|
798
798
|
ref: He,
|
|
799
799
|
class: "vue-data-ui-no-title-space",
|
|
800
800
|
style: "height:36px; width: 100%;background:transparent"
|
|
801
|
-
}, null, 512)) :
|
|
801
|
+
}, null, 512)) : b("", !0),
|
|
802
802
|
e.value.style.chart.title.text ? (n(), v("div", {
|
|
803
803
|
key: 3,
|
|
804
804
|
ref_key: "chartTitle",
|
|
@@ -818,7 +818,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
820
|
}, null, 8, ["config"]))
|
|
821
|
-
], 512)) :
|
|
821
|
+
], 512)) : b("", !0),
|
|
822
822
|
i("div", {
|
|
823
823
|
id: `legend-top-${f.value}`
|
|
824
824
|
}, null, 8, Pl),
|
|
@@ -923,7 +923,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
923
923
|
]),
|
|
924
924
|
key: "8"
|
|
925
925
|
} : void 0
|
|
926
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) :
|
|
926
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : b("", !0),
|
|
927
927
|
i("div", Dl, [
|
|
928
928
|
(n(), v("svg", {
|
|
929
929
|
ref_key: "svgRef",
|
|
@@ -953,7 +953,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
953
953
|
}
|
|
954
954
|
}, [
|
|
955
955
|
p(l.$slots, "chart-background", {}, void 0, !0)
|
|
956
|
-
], 8, Fl)) :
|
|
956
|
+
], 8, Fl)) : b("", !0),
|
|
957
957
|
e.value.style.chart.grid.verticalGrid.show ? (n(), v("g", Hl, [
|
|
958
958
|
(n(!0), v(A, null, X(N.value.ticks, (t, a) => (n(), v("line", {
|
|
959
959
|
x1: o.value.left + a * o.value.width / (N.value.ticks.length - 1),
|
|
@@ -964,7 +964,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
964
964
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
965
965
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
966
966
|
}, null, 8, El))), 256))
|
|
967
|
-
])) :
|
|
967
|
+
])) : b("", !0),
|
|
968
968
|
e.value.style.chart.grid.horizontalGrid.show ? (n(), v("g", Gl, [
|
|
969
969
|
(n(!0), v(A, null, X(V.value, (t, a) => (n(), v("line", {
|
|
970
970
|
x1: o.value.left,
|
|
@@ -984,7 +984,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
984
984
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
985
985
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
986
986
|
}, null, 8, Rl)
|
|
987
|
-
])) :
|
|
987
|
+
])) : b("", !0),
|
|
988
988
|
e.value.style.chart.labels.axis.yLabel ? (n(), v("text", {
|
|
989
989
|
key: 3,
|
|
990
990
|
ref_key: "yAxisLabel",
|
|
@@ -993,7 +993,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
993
993
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
994
994
|
fill: e.value.style.chart.labels.axis.color,
|
|
995
995
|
"text-anchor": "middle"
|
|
996
|
-
}, _(e.value.style.chart.labels.axis.yLabel), 9, Vl)) :
|
|
996
|
+
}, _(e.value.style.chart.labels.axis.yLabel), 9, Vl)) : b("", !0),
|
|
997
997
|
e.value.style.chart.labels.yAxisLabels.show ? (n(), v("g", {
|
|
998
998
|
key: 4,
|
|
999
999
|
ref_key: "serieLabels",
|
|
@@ -1040,8 +1040,8 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1040
1040
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
1041
1041
|
}),
|
|
1042
1042
|
{ datapoint: t }
|
|
1043
|
-
)), 41, Wl))), 256)) :
|
|
1044
|
-
], 512)) :
|
|
1043
|
+
)), 41, Wl))), 256)) : b("", !0)
|
|
1044
|
+
], 512)) : b("", !0),
|
|
1045
1045
|
e.value.style.chart.labels.axis.xLabel ? (n(), v("text", {
|
|
1046
1046
|
key: 5,
|
|
1047
1047
|
ref_key: "xAxisLabel",
|
|
@@ -1051,7 +1051,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1051
1051
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
1052
1052
|
fill: e.value.style.chart.labels.axis.color,
|
|
1053
1053
|
"text-anchor": "middle"
|
|
1054
|
-
}, _(e.value.style.chart.labels.axis.xLabel), 9, ql)) :
|
|
1054
|
+
}, _(e.value.style.chart.labels.axis.xLabel), 9, ql)) : b("", !0),
|
|
1055
1055
|
e.value.style.chart.labels.xAxisLabels.show ? (n(), v("g", {
|
|
1056
1056
|
key: 6,
|
|
1057
1057
|
ref_key: "scaleLabels",
|
|
@@ -1076,7 +1076,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1076
1076
|
}),
|
|
1077
1077
|
{ datapoint: t, seriesIndex: a }
|
|
1078
1078
|
)), 9, Kl))), 128))
|
|
1079
|
-
], 512)) :
|
|
1079
|
+
], 512)) : b("", !0),
|
|
1080
1080
|
ae(i("g", null, [
|
|
1081
1081
|
ae(i("path", {
|
|
1082
1082
|
d: `M ${u.value ? u.value.startX : o.value.left},${o.value.top} ${u.value ? u.value.startX : o.value.left},${o.value.bottom}`,
|
|
@@ -1329,8 +1329,8 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1329
1329
|
fill: e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : t.endX > t.startX ? `url(#grad_pos_${f.value})` : `url(#grad_neg_${f.value})`
|
|
1330
1330
|
}, null, 8, Na)
|
|
1331
1331
|
]))
|
|
1332
|
-
])) :
|
|
1333
|
-
[null, void 0].includes(t.start) ?
|
|
1332
|
+
])) : b("", !0),
|
|
1333
|
+
[null, void 0].includes(t.start) ? b("", !0) : (n(), v("circle", {
|
|
1334
1334
|
key: 1,
|
|
1335
1335
|
cx: t.startX,
|
|
1336
1336
|
cy: t.y,
|
|
@@ -1339,7 +1339,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1339
1339
|
stroke: e.value.style.chart.plots.stroke,
|
|
1340
1340
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
1341
1341
|
}, null, 8, Ma)),
|
|
1342
|
-
[null, void 0].includes(t.end) ?
|
|
1342
|
+
[null, void 0].includes(t.end) ? b("", !0) : (n(), v("circle", {
|
|
1343
1343
|
key: 2,
|
|
1344
1344
|
cx: t.endX,
|
|
1345
1345
|
cy: t.y,
|
|
@@ -1353,7 +1353,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1353
1353
|
(n(!0), v(A, null, X(k.value, (t, a) => (n(), v("g", {
|
|
1354
1354
|
key: `start_label_${a}_${t.id}`
|
|
1355
1355
|
}, [
|
|
1356
|
-
[null, void 0].includes(t.start) ?
|
|
1356
|
+
[null, void 0].includes(t.start) ? b("", !0) : (n(), v("text", {
|
|
1357
1357
|
key: 0,
|
|
1358
1358
|
x: t.startX,
|
|
1359
1359
|
y: t.y + D.value * 2 + e.value.style.chart.labels.startLabels.fontSize / 2,
|
|
@@ -1372,12 +1372,12 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1372
1372
|
{ datapoint: t, seriesIndex: a }
|
|
1373
1373
|
)), 9, za))
|
|
1374
1374
|
]))), 128))
|
|
1375
|
-
])) :
|
|
1375
|
+
])) : b("", !0),
|
|
1376
1376
|
e.value.style.chart.labels.endLabels.show ? (n(), v("g", Ia, [
|
|
1377
1377
|
(n(!0), v(A, null, X(k.value, (t, a) => (n(), v("g", {
|
|
1378
1378
|
key: `end_label_${a}_${t.id}`
|
|
1379
1379
|
}, [
|
|
1380
|
-
[null, void 0].includes(t.end) ?
|
|
1380
|
+
[null, void 0].includes(t.end) ? b("", !0) : (n(), v("text", {
|
|
1381
1381
|
key: 0,
|
|
1382
1382
|
x: t.endX,
|
|
1383
1383
|
y: t.y - (D.value * 2 - e.value.style.chart.labels.startLabels.fontSize / 3),
|
|
@@ -1396,7 +1396,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1396
1396
|
{ datapoint: t, seriesIndex: a }
|
|
1397
1397
|
)), 9, Pa))
|
|
1398
1398
|
]))), 128))
|
|
1399
|
-
])) :
|
|
1399
|
+
])) : b("", !0),
|
|
1400
1400
|
i("g", null, [
|
|
1401
1401
|
(n(!0), v(A, null, X(k.value, (t, a) => (n(), v("rect", {
|
|
1402
1402
|
x: o.value.left,
|
|
@@ -1425,17 +1425,17 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1425
1425
|
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1426
1426
|
isVisible: me.value
|
|
1427
1427
|
})), void 0, !0)
|
|
1428
|
-
])) :
|
|
1428
|
+
])) : b("", !0)
|
|
1429
1429
|
]),
|
|
1430
1430
|
l.$slots.watermark ? (n(), v("div", Fa, [
|
|
1431
1431
|
p(l.$slots, "watermark", C(w({
|
|
1432
1432
|
isPrinting: c(we) || c($e) || ue.value || ie.value
|
|
1433
1433
|
})), void 0, !0)
|
|
1434
|
-
])) :
|
|
1434
|
+
])) : b("", !0),
|
|
1435
1435
|
i("div", {
|
|
1436
1436
|
id: `legend-bottom-${f.value}`
|
|
1437
1437
|
}, null, 8, Ha),
|
|
1438
|
-
Re.value ? (n(), T(il, {
|
|
1438
|
+
Re.value && (e.value.style.chart.legend.show || l.$slots.legend) ? (n(), T(il, {
|
|
1439
1439
|
key: 6,
|
|
1440
1440
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
|
|
1441
1441
|
}, [
|
|
@@ -1443,41 +1443,40 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1443
1443
|
ref_key: "chartLegend",
|
|
1444
1444
|
ref: Oe
|
|
1445
1445
|
}, [
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
(n(), v("svg", {
|
|
1457
|
-
xmlns: c(xt),
|
|
1458
|
-
viewBox: "0 0 20 20",
|
|
1459
|
-
height: e.value.style.chart.legend.fontSize,
|
|
1460
|
-
width: e.value.style.chart.legend.fontSize
|
|
1446
|
+
p(l.$slots, "legend", { legend: Se.value }, () => [
|
|
1447
|
+
e.value.style.chart.legend.show && re.value ? (n(), T(Ml, {
|
|
1448
|
+
key: `legend_${Be.value}`,
|
|
1449
|
+
legendSet: Se.value,
|
|
1450
|
+
config: Bt.value,
|
|
1451
|
+
clickable: !1
|
|
1452
|
+
}, {
|
|
1453
|
+
item: m(({ legend: t }) => [
|
|
1454
|
+
i("div", {
|
|
1455
|
+
style: le(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
|
|
1461
1456
|
}, [
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
},
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1457
|
+
(n(), v("svg", {
|
|
1458
|
+
xmlns: c(xt),
|
|
1459
|
+
viewBox: "0 0 20 20",
|
|
1460
|
+
height: e.value.style.chart.legend.fontSize,
|
|
1461
|
+
width: e.value.style.chart.legend.fontSize
|
|
1462
|
+
}, [
|
|
1463
|
+
i("circle", {
|
|
1464
|
+
cx: 10,
|
|
1465
|
+
cy: 10,
|
|
1466
|
+
r: 9,
|
|
1467
|
+
fill: t.color
|
|
1468
|
+
}, null, 8, Ga)
|
|
1469
|
+
], 8, Ea)),
|
|
1470
|
+
c(ke) ? b("", !0) : (n(), v(A, { key: 0 }, [
|
|
1471
|
+
Xe(_(t.name), 1)
|
|
1472
|
+
], 64))
|
|
1473
|
+
], 4)
|
|
1474
|
+
]),
|
|
1475
|
+
_: 1
|
|
1476
|
+
}, 8, ["legendSet", "config"])) : b("", !0)
|
|
1477
|
+
], !0)
|
|
1479
1478
|
], 512)
|
|
1480
|
-
], 8, ["to"])) :
|
|
1479
|
+
], 8, ["to"])) : b("", !0),
|
|
1481
1480
|
l.$slots.source ? (n(), v("div", {
|
|
1482
1481
|
key: 7,
|
|
1483
1482
|
ref_key: "source",
|
|
@@ -1485,7 +1484,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1485
1484
|
dir: "auto"
|
|
1486
1485
|
}, [
|
|
1487
1486
|
p(l.$slots, "source", {}, void 0, !0)
|
|
1488
|
-
], 512)) :
|
|
1487
|
+
], 512)) : b("", !0),
|
|
1489
1488
|
re.value && e.value.userOptions.buttons.table ? (n(), T(cl(ee.value.component), vl({ key: 8 }, ee.value.props, {
|
|
1490
1489
|
ref_key: "tableUnit",
|
|
1491
1490
|
ref: j,
|
|
@@ -1541,13 +1540,13 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1541
1540
|
]),
|
|
1542
1541
|
key: "1"
|
|
1543
1542
|
} : void 0
|
|
1544
|
-
]), 1040)) :
|
|
1543
|
+
]), 1040)) : b("", !0),
|
|
1545
1544
|
p(l.$slots, "skeleton", {}, () => [
|
|
1546
|
-
c(ke) ? (n(), T(xl, { key: 0 })) :
|
|
1545
|
+
c(ke) ? (n(), T(xl, { key: 0 })) : b("", !0)
|
|
1547
1546
|
], !0)
|
|
1548
1547
|
], 46, zl));
|
|
1549
1548
|
}
|
|
1550
|
-
}, us = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-
|
|
1549
|
+
}, us = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-730ad314"]]);
|
|
1551
1550
|
export {
|
|
1552
1551
|
us as default
|
|
1553
1552
|
};
|