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,6 +1,6 @@
|
|
|
1
|
-
import { defineAsyncComponent as ze, ref as c, computed as g, useSlots as vl, onMounted as Ja, toRefs as cl, watch as E, nextTick as Te, onBeforeUnmount as sa, watchEffect as ua, shallowRef as na, openBlock as I, createElementBlock as $e, normalizeClass as dl, normalizeStyle as ve, createElementVNode as
|
|
1
|
+
import { defineAsyncComponent as ze, ref as c, computed as g, useSlots as vl, onMounted as Ja, toRefs as cl, watch as E, nextTick as Te, onBeforeUnmount as sa, watchEffect as ua, shallowRef as na, openBlock as I, createElementBlock as $e, normalizeClass as dl, normalizeStyle as ve, createElementVNode as W, toDisplayString as Ae, createBlock as q, createCommentVNode as N, unref as z, createSlots as Qa, withCtx as b, renderSlot as C, normalizeProps as j, guardReactiveProps as G, createVNode as et, Teleport as hl, resolveDynamicComponent as fl, mergeProps as ml, createTextVNode as at } from "vue";
|
|
2
2
|
import { j as yl, t as tt, m as gl, p as se, $ as pl, n as bl, D as ra, k as ce, l as de, s as lt, H as xl, a8 as Ll, J as Cl, o as kl, q as wl, T as ia, u as Ie, x as Sl, a0 as zl, a1 as Tl, U as ot } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { c as $l, a as va, d as Al, t as Il, u as Ml, l as T, r as
|
|
3
|
+
import { c as $l, a as va, d as Al, t as Il, u as Ml, l as T, r as _e, b as Q, p as st } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Fl, a as ut, b as Pl } from "./useTimeLabels-Cv0tD9In.js";
|
|
5
5
|
import { u as Rl } from "./useConfig-B70q17MC.js";
|
|
6
6
|
import { u as Dl, B as Ol } from "./BaseScanner-C2j3TsSY.js";
|
|
@@ -11,8 +11,8 @@ import { u as Bl } from "./useUserOptionState-B7Ej974k.js";
|
|
|
11
11
|
import { u as Hl } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
12
|
import Wl from "./img-CjTQXS0U.js";
|
|
13
13
|
import Xl from "./vue_ui_xy_canvas-6BBDSowT.js";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
14
|
+
import Vl from "./Legend-DGN5lY60.js";
|
|
15
|
+
import _l from "./Title-BbKoiBk2.js";
|
|
16
16
|
import Ul from "./BaseIcon-DX0hTWa-.js";
|
|
17
17
|
import Yl from "./vue-ui-accordion-_zwPlx0H.js";
|
|
18
18
|
import { S as ql } from "./SlicerPreview-D_CgrN_7.js";
|
|
@@ -58,7 +58,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
58
58
|
() => import("./NonSvgPenAndPaper-B6E0zEYe.js")
|
|
59
59
|
), ht = ze(
|
|
60
60
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
61
|
-
), { vue_ui_xy_canvas: ft } = Rl(), { isThemeValid: mt, warnInvalidTheme: yt } = Nl(), D = ca, Z = c(yl()), K = c(null), ue = c(null), v = c(null), y = c(1), ee = c(1), he = c(!1), h = c(null), fe = c(""), Me = c(null), p = c([]), ne = c(1),
|
|
61
|
+
), { vue_ui_xy_canvas: ft } = Rl(), { isThemeValid: mt, warnInvalidTheme: yt } = Nl(), D = ca, Z = c(yl()), K = c(null), ue = c(null), v = c(null), y = c(1), ee = c(1), he = c(!1), h = c(null), fe = c(""), Me = c(null), p = c([]), ne = c(1), B = c(!0), X = c(!0), Fe = c(null), da = c(0), me = c(!1), ha = c(null), fa = c(null), ae = c(null), ma = c(null), Ye = c(0), qe = c(0), je = c(0), V = c(null), ya = c(!1), ye = c(null), Ge = c(null), ge = c(!1), ga = c(!1), Pe = c(!1), $ = c(null), Ze = c(!1), Re = c(!1), Ke = c(!1), _ = c(null), pa = c({ x: 0, y: 0 }), U = g(
|
|
62
62
|
() => Array.isArray(Je.value) && Je.value.length > 0
|
|
63
63
|
), De = rt, gt = vl();
|
|
64
64
|
Ja(() => {
|
|
@@ -72,12 +72,12 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
72
72
|
).length;
|
|
73
73
|
return `${e}. ${l} series. ${t} visible data points.`;
|
|
74
74
|
}), bt = g(() => {
|
|
75
|
-
if (
|
|
76
|
-
const e =
|
|
75
|
+
if (_.value === null) return "";
|
|
76
|
+
const e = _.value + s.value.start, t = a.value.style.chart.grid.x.timeLabels.values.slice(
|
|
77
77
|
s.value.start,
|
|
78
78
|
s.value.end
|
|
79
|
-
)[
|
|
80
|
-
const n = u.series[
|
|
79
|
+
)[_.value] ? a.value.style.chart.tooltip.useDefaultTimeFormat ? w.value.slice(s.value.start, s.value.end)[_.value]?.text : Be.value[_.value]?.text : w.value[e]?.text ?? `Point ${e + 1}`, l = f.value.filter((u) => !p.value.includes(u.absoluteIndex)).map((u) => {
|
|
80
|
+
const n = u.series[_.value], i = n?.value ?? n ?? null;
|
|
81
81
|
return `${u.name}: ${i}`;
|
|
82
82
|
}).join(". ");
|
|
83
83
|
return `${t}. ${l}.`;
|
|
@@ -196,7 +196,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
196
196
|
E(
|
|
197
197
|
() => D.config,
|
|
198
198
|
(e) => {
|
|
199
|
-
Oe.value || (a.value = ea()), Qe.value = !a.value.userOptions.showOnChartHover,
|
|
199
|
+
Oe.value || (a.value = ea()), Qe.value = !a.value.userOptions.showOnChartHover, Va(), Ye.value += 1, qe.value += 1, je.value += 1, d.value.showTable = a.value.table.show, d.value.showDataLabels = a.value.style.chart.dataLabels.show, d.value.stacked = a.value.style.chart.stacked, d.value.showTooltip = a.value.style.chart.tooltip.show;
|
|
200
200
|
},
|
|
201
201
|
{ deep: !0 }
|
|
202
202
|
), E(
|
|
@@ -204,7 +204,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
204
204
|
async (e) => {
|
|
205
205
|
!Array.isArray(e) || e.length === 0 || (await Te(), k.value && !v.value && (v.value = k.value.getContext("2d", {
|
|
206
206
|
willReadFrequently: !0
|
|
207
|
-
})),
|
|
207
|
+
})), B.value = !0, X.value = !0, await xe(), Ne(), Ye.value += 1, qe.value += 1, je.value += 1);
|
|
208
208
|
},
|
|
209
209
|
{ deep: !0 }
|
|
210
210
|
);
|
|
@@ -242,8 +242,8 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
242
242
|
v.value.save(), v.value.font = i;
|
|
243
243
|
let r = 0;
|
|
244
244
|
for (let Y = t; Y < l; Y += 1) {
|
|
245
|
-
const
|
|
246
|
-
|
|
245
|
+
const H = e[Y]?.text ?? `${Y + 1}`, Ve = v.value.measureText(String(H));
|
|
246
|
+
Ve.width > r && (r = Ve.width);
|
|
247
247
|
}
|
|
248
248
|
v.value.restore();
|
|
249
249
|
const L = (a.value.style.chart.grid.x.timeLabels.rotation || 0) * Math.PI / 180, x = n, S = Math.abs(Math.sin(L)) * r + Math.abs(Math.cos(L)) * x, R = a.value.style.chart.grid.x.timeLabels.offsetY || 1, oe = y.value / R;
|
|
@@ -296,10 +296,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
296
296
|
L - oe,
|
|
297
297
|
n.max - oe
|
|
298
298
|
));
|
|
299
|
-
let
|
|
300
|
-
return m === null ?
|
|
299
|
+
let H = 0;
|
|
300
|
+
return m === null ? H = o.value.bottom - o.value.height * (e ? Y : R) : H = o.value.bottom - i - r * (e ? Y : R), {
|
|
301
301
|
x: o.value.left + o.value.slot * x + o.value.slot / 2,
|
|
302
|
-
y:
|
|
302
|
+
y: H,
|
|
303
303
|
value: L
|
|
304
304
|
};
|
|
305
305
|
});
|
|
@@ -391,7 +391,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
391
391
|
series: e.series.slice(s.value.start, s.value.end)
|
|
392
392
|
})).map((e, t) => {
|
|
393
393
|
let l = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, u = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
|
|
394
|
-
l === u && (l = l >= 0 ? u - 1 : l, u = u >= 0 ? u : l + 1), e.series.filter((
|
|
394
|
+
l === u && (l = l >= 0 ? u - 1 : l, u = u >= 0 ? u : l + 1), e.series.filter((H) => ![null, void 0].includes(H)).map((H) => (H - l) / (u - l));
|
|
395
395
|
const n = {
|
|
396
396
|
valueMin: l,
|
|
397
397
|
valueMax: u
|
|
@@ -409,10 +409,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
409
409
|
const m = d.value.stacked ? o.value.height * (1 - e.cumulatedStackRatio) : 0, L = d.value.stacked ? o.value.height / a.value.style.chart.stackGap : 0, x = d.value.stacked ? o.value.height * e.stackRatio - L : o.value.height, S = r.min < 0 ? Math.abs(r.min) : 0;
|
|
410
410
|
let R;
|
|
411
411
|
e.autoScaling && d.value.stacked && u <= 0 ? R = o.value.bottom - m - x : R = o.value.bottom - m - x * (S / (r.max + S));
|
|
412
|
-
const oe = r.ticks.map((
|
|
413
|
-
y: o.value.bottom - m - x * (
|
|
412
|
+
const oe = r.ticks.map((H, Ve) => ({
|
|
413
|
+
y: o.value.bottom - m - x * (Ve / (r.ticks.length - 1)),
|
|
414
414
|
x: o.value.left - 8,
|
|
415
|
-
value:
|
|
415
|
+
value: H
|
|
416
416
|
})), Y = $t({
|
|
417
417
|
hasAutoScale: d.value.stacked && e.autoScaling,
|
|
418
418
|
series: e.series,
|
|
@@ -497,10 +497,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
497
497
|
}
|
|
498
498
|
E(U, async (e) => {
|
|
499
499
|
if (!e) {
|
|
500
|
-
Fe.value = null, he.value = !1, h.value = null,
|
|
500
|
+
Fe.value = null, he.value = !1, h.value = null, V.value = null;
|
|
501
501
|
return;
|
|
502
502
|
}
|
|
503
|
-
await Te(), k.value && !v.value && (v.value = k.value.getContext("2d", { willReadFrequently: !0 })),
|
|
503
|
+
await Te(), k.value && !v.value && (v.value = k.value.getContext("2d", { willReadFrequently: !0 })), B.value = !0, X.value = !0, await xe(), Ne(), J();
|
|
504
504
|
});
|
|
505
505
|
function Ot() {
|
|
506
506
|
if (v.value && (v.value.clearRect(0, 0, 1e4, 1e4), v.value.fillStyle = a.value.style.chart.backgroundColor, v.value.fillRect(
|
|
@@ -550,7 +550,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
550
550
|
);
|
|
551
551
|
}), a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? f.value.forEach((e) => {
|
|
552
552
|
e.localYLabels.forEach((t, l) => {
|
|
553
|
-
l < e.localYLabels.length - 1 &&
|
|
553
|
+
l < e.localYLabels.length - 1 && _e(
|
|
554
554
|
v.value,
|
|
555
555
|
[
|
|
556
556
|
{ x: o.value.left, y: t.y },
|
|
@@ -684,7 +684,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
684
684
|
}
|
|
685
685
|
);
|
|
686
686
|
a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? A.value.yLabels.forEach((e, t) => {
|
|
687
|
-
t < A.value.yLabels.length - 1 &&
|
|
687
|
+
t < A.value.yLabels.length - 1 && _e(
|
|
688
688
|
v.value,
|
|
689
689
|
[
|
|
690
690
|
{ x: o.value.left, y: e.y },
|
|
@@ -1001,11 +1001,11 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1001
1001
|
);
|
|
1002
1002
|
}
|
|
1003
1003
|
function Xt() {
|
|
1004
|
-
|
|
1004
|
+
V.value && T(
|
|
1005
1005
|
v.value,
|
|
1006
1006
|
[
|
|
1007
|
-
{ x: o.value.left, y:
|
|
1008
|
-
{ x: o.value.right, y:
|
|
1007
|
+
{ x: o.value.left, y: V.value },
|
|
1008
|
+
{ x: o.value.right, y: V.value }
|
|
1009
1009
|
],
|
|
1010
1010
|
{
|
|
1011
1011
|
color: a.value.style.chart.selector.color,
|
|
@@ -1014,10 +1014,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
);
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function Vt() {
|
|
1018
1018
|
P.value.forEach((e, t) => {
|
|
1019
1019
|
for (let l = 0; l < e.coordinatesLine.length; l += 1)
|
|
1020
|
-
|
|
1020
|
+
_e(
|
|
1021
1021
|
v.value,
|
|
1022
1022
|
[
|
|
1023
1023
|
{
|
|
@@ -1086,7 +1086,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1086
1086
|
);
|
|
1087
1087
|
});
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function _t(e, t) {
|
|
1090
1090
|
const l = e.coordinatesLine.map((r, m) => {
|
|
1091
1091
|
const L = e.series[m];
|
|
1092
1092
|
return L != null && Number.isFinite(r?.y) ? r : null;
|
|
@@ -1149,7 +1149,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1149
1149
|
if (e.useArea) {
|
|
1150
1150
|
const l = d.value.stacked ? e.localZero : A.value.zero;
|
|
1151
1151
|
if (t) {
|
|
1152
|
-
const { polygons: u, singles: n } =
|
|
1152
|
+
const { polygons: u, singles: n } = _t(e, l);
|
|
1153
1153
|
for (const r of u)
|
|
1154
1154
|
st(v.value, r, {
|
|
1155
1155
|
fillColor: Ie(
|
|
@@ -1202,7 +1202,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
function jt() {
|
|
1204
1204
|
const { left: e, top: t, width: l, height: u } = o.value, n = s.value.start, r = s.value.end - n, m = l / r, L = F.value.start - n, x = F.value.end - n, S = Math.max(0, Math.min(r, L)), R = Math.max(0, Math.min(r, x));
|
|
1205
|
-
|
|
1205
|
+
_e(
|
|
1206
1206
|
v.value,
|
|
1207
1207
|
[
|
|
1208
1208
|
{ x: e + S * m, y: t },
|
|
@@ -1224,7 +1224,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1224
1224
|
);
|
|
1225
1225
|
}
|
|
1226
1226
|
function J() {
|
|
1227
|
-
!U.value || !k.value || !v.value || (Ot(),
|
|
1227
|
+
!U.value || !k.value || !v.value || (Ot(), B.value ? ((h.value !== null || $.value !== null) && a.value.style.chart.selector.show && Ba(), Vt(), d.value.stacked && a.value.style.chart.grid.x.showAxis && qt(), Dt.value.forEach((e) => {
|
|
1228
1228
|
(e.type === "line" || !e.type) && Yt(e), X.value && (Et(e), d.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Ht(e));
|
|
1229
1229
|
}), k.value && (Fe.value = $l(k.value))) : (Fe.value && (v.value.clearRect(0, 0, 1e4, 1e4), v.value.drawImage(Fe.value, 0, 0)), (h.value !== null || $.value !== null) && a.value.style.chart.selector.show && Ba(), (h.value !== null || $.value !== null) && f.value.forEach((e) => {
|
|
1230
1230
|
const t = h.value ?? $.value, l = e.coordinatesLine[t];
|
|
@@ -1237,7 +1237,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1237
1237
|
fillStyle: e.color
|
|
1238
1238
|
}
|
|
1239
1239
|
);
|
|
1240
|
-
})), a.value.style.chart.grid.x.timeLabels.show && Wt(), a.value.style.chart.selector.show && a.value.style.chart.selector.showHorizontalSelector && Xt(), Bt(), Nt(), a.value.style.chart.zoom.preview.enable && (s.value.start !== F.value.start || s.value.end !== F.value.end) && jt(),
|
|
1240
|
+
})), a.value.style.chart.grid.x.timeLabels.show && Wt(), a.value.style.chart.selector.show && a.value.style.chart.selector.showHorizontalSelector && Xt(), Bt(), Nt(), a.value.style.chart.zoom.preview.enable && (s.value.start !== F.value.start || s.value.end !== F.value.end) && jt(), B.value = !1);
|
|
1241
1241
|
}
|
|
1242
1242
|
const Le = Al(
|
|
1243
1243
|
() => {
|
|
@@ -1257,12 +1257,12 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1257
1257
|
function Gt(e) {
|
|
1258
1258
|
if (!U.value || !k.value || aa.value) return;
|
|
1259
1259
|
const { left: t, top: l } = k.value.getBoundingClientRect(), u = e.clientX - t;
|
|
1260
|
-
if (
|
|
1260
|
+
if (V.value = (e.clientY - l) * 2, (V.value < o.value.top || V.value > o.value.bottom) && (V.value = null), u * 2 < o.value.left || u * 2 > o.value.right) {
|
|
1261
1261
|
ke();
|
|
1262
1262
|
return;
|
|
1263
1263
|
}
|
|
1264
1264
|
const n = u * 2 - o.value.left, i = Math.floor(n / o.value.slot);
|
|
1265
|
-
if (h.value = i,
|
|
1265
|
+
if (h.value = i, _.value = i, he.value = !0, Re.value = !1, !X.value) return;
|
|
1266
1266
|
let r = "";
|
|
1267
1267
|
const m = a.value.style.chart.tooltip.customFormat, L = f.value.map((x) => ({
|
|
1268
1268
|
shape: x.shape || null,
|
|
@@ -1338,10 +1338,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1338
1338
|
};
|
|
1339
1339
|
}
|
|
1340
1340
|
function Wa(e, { fromKeyboard: t = !1 } = {}) {
|
|
1341
|
-
!U.value || aa.value || e != null && (e < 0 || e >= s.value.end - s.value.start || (h.value = e,
|
|
1341
|
+
!U.value || aa.value || e != null && (e < 0 || e >= s.value.end - s.value.start || (h.value = e, _.value = e, he.value = !0, Re.value = t, fe.value = Kt(e), t && Jt(e), X.value = !1, J()));
|
|
1342
1342
|
}
|
|
1343
1343
|
function ke() {
|
|
1344
|
-
he.value = !1, h.value = null,
|
|
1344
|
+
he.value = !1, h.value = null, _.value = null, fe.value = "", V.value = null, Re.value = !1, J();
|
|
1345
1345
|
}
|
|
1346
1346
|
function Qt() {
|
|
1347
1347
|
Ke.value = !0;
|
|
@@ -1356,7 +1356,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1356
1356
|
const u = s.value.end - s.value.start;
|
|
1357
1357
|
if (u <= 0) return;
|
|
1358
1358
|
e.preventDefault(), e.stopPropagation();
|
|
1359
|
-
let n =
|
|
1359
|
+
let n = _.value;
|
|
1360
1360
|
n !== null && n >= 0 && n < u ? l ? (n += 1, n >= u && (n = 0)) : (n -= 1, n < 0 && (n = u - 1)) : l ? n = 0 : n = u - 1, Wa(n, { fromKeyboard: !0 });
|
|
1361
1361
|
}
|
|
1362
1362
|
function Xa({ seriesIndex: e, datapoint: t }) {
|
|
@@ -1386,7 +1386,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1386
1386
|
), E(
|
|
1387
1387
|
() => s.value,
|
|
1388
1388
|
(e) => {
|
|
1389
|
-
|
|
1389
|
+
B.value = !0, J();
|
|
1390
1390
|
},
|
|
1391
1391
|
{
|
|
1392
1392
|
deep: !0
|
|
@@ -1400,17 +1400,17 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1400
1400
|
), E(
|
|
1401
1401
|
() => d.value.showDataLabels,
|
|
1402
1402
|
(e) => {
|
|
1403
|
-
|
|
1403
|
+
B.value = !0, J();
|
|
1404
1404
|
}
|
|
1405
1405
|
), E(
|
|
1406
|
-
() =>
|
|
1406
|
+
() => V.value,
|
|
1407
1407
|
(e) => {
|
|
1408
1408
|
e && J();
|
|
1409
1409
|
}
|
|
1410
1410
|
), E(
|
|
1411
1411
|
() => d.value.stacked,
|
|
1412
1412
|
(e) => {
|
|
1413
|
-
|
|
1413
|
+
B.value = !0, X.value = !0, Le();
|
|
1414
1414
|
}
|
|
1415
1415
|
);
|
|
1416
1416
|
function tl() {
|
|
@@ -1418,13 +1418,13 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
const te = na(null), re = na(null), ie = na(null);
|
|
1420
1420
|
Ja(() => {
|
|
1421
|
-
ya.value = !0,
|
|
1421
|
+
ya.value = !0, Va();
|
|
1422
1422
|
});
|
|
1423
|
-
function
|
|
1423
|
+
function Va() {
|
|
1424
1424
|
if (kl(D.dataset) && xt.value && wl({ componentName: "VueUiXyCanvas", type: "dataset" }), Te(() => {
|
|
1425
1425
|
k.value && !v.value && (v.value = k.value.getContext("2d", {
|
|
1426
1426
|
willReadFrequently: !0
|
|
1427
|
-
})), v.value && U.value && (
|
|
1427
|
+
})), v.value && U.value && (B.value = !0, X.value = !0, Ne());
|
|
1428
1428
|
}), a.value.responsive) {
|
|
1429
1429
|
const e = Il(() => {
|
|
1430
1430
|
const { width: t, height: l } = Ml({
|
|
@@ -1442,7 +1442,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
ie.value && ie.value.disconnect(), ie.value = new ResizeObserver(async (e) => {
|
|
1444
1444
|
for (const t of e)
|
|
1445
|
-
t.contentBoxSize && ue.value && (
|
|
1445
|
+
t.contentBoxSize && ue.value && (B.value = !0, Le());
|
|
1446
1446
|
}), ie.value.observe(ue.value), xe();
|
|
1447
1447
|
}
|
|
1448
1448
|
sa(() => {
|
|
@@ -1451,26 +1451,26 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1451
1451
|
function ll() {
|
|
1452
1452
|
p.value.length ? p.value = [] : We.value.forEach((e, t) => {
|
|
1453
1453
|
p.value.push(t);
|
|
1454
|
-
}),
|
|
1454
|
+
}), B.value = !0, Le();
|
|
1455
1455
|
}
|
|
1456
1456
|
function He(e) {
|
|
1457
1457
|
De(
|
|
1458
1458
|
"selectLegend",
|
|
1459
1459
|
f.value.find((t) => t.absoluteIndex === e)
|
|
1460
|
-
), p.value.includes(e) ? p.value = p.value.filter((t) => t !== e) : p.value.push(e),
|
|
1460
|
+
), p.value.includes(e) ? p.value = p.value.filter((t) => t !== e) : p.value.push(e), B.value = !0, Le();
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1462
|
+
function _a(e) {
|
|
1463
1463
|
if (!M.value.length)
|
|
1464
1464
|
return a.value.debug && console.warn("VueUiXyCanvas - There are no series to show."), null;
|
|
1465
1465
|
const t = M.value.find((l) => l.name === e);
|
|
1466
1466
|
return t || (a.value.debug && console.warn(`VueUiXyCanvas - Series name not found "${e}"`), null);
|
|
1467
1467
|
}
|
|
1468
1468
|
function ol(e) {
|
|
1469
|
-
const t =
|
|
1469
|
+
const t = _a(e);
|
|
1470
1470
|
t !== null && p.value.includes(t.absoluteIndex) && He(t.absoluteIndex);
|
|
1471
1471
|
}
|
|
1472
1472
|
function sl(e) {
|
|
1473
|
-
const t =
|
|
1473
|
+
const t = _a(e);
|
|
1474
1474
|
t !== null && (p.value.includes(t.absoluteIndex) || He(t.absoluteIndex));
|
|
1475
1475
|
}
|
|
1476
1476
|
const We = g(() => M.value.map((e, t) => ({
|
|
@@ -1700,20 +1700,20 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1700
1700
|
onMouseenter: Ct,
|
|
1701
1701
|
onMouseleave: kt
|
|
1702
1702
|
}, [
|
|
1703
|
-
|
|
1703
|
+
W("div", {
|
|
1704
1704
|
id: `chart-instructions-${Z.value}`,
|
|
1705
1705
|
class: "sr-only"
|
|
1706
1706
|
}, [
|
|
1707
|
-
|
|
1707
|
+
W("p", null, Ae(a.value.a11y.translations.keyboardNavigation), 1)
|
|
1708
1708
|
], 8, Kl),
|
|
1709
|
-
|
|
1709
|
+
W("div", Jl, Ae(bt.value), 1),
|
|
1710
1710
|
a.value.style.chart.title.text ? (I(), $e("div", {
|
|
1711
1711
|
key: 0,
|
|
1712
1712
|
ref_key: "chartTitle",
|
|
1713
1713
|
ref: ha,
|
|
1714
1714
|
style: ve(`width:100%;background:${a.value.style.chart.backgroundColor};`)
|
|
1715
1715
|
}, [
|
|
1716
|
-
(I(), q(
|
|
1716
|
+
(I(), q(_l, {
|
|
1717
1717
|
key: `title_${Ye.value}`,
|
|
1718
1718
|
config: {
|
|
1719
1719
|
title: {
|
|
@@ -1726,8 +1726,8 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
}, null, 8, ["config"]))
|
|
1729
|
-
], 4)) :
|
|
1730
|
-
|
|
1729
|
+
], 4)) : N("", !0),
|
|
1730
|
+
W("div", {
|
|
1731
1731
|
id: `legend-top-${Z.value}`
|
|
1732
1732
|
}, null, 8, Ql),
|
|
1733
1733
|
a.value.userOptions.show && U.value && (z(xa) || z(Qe)) ? (I(), q(z(ct), {
|
|
@@ -1851,14 +1851,14 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1851
1851
|
]),
|
|
1852
1852
|
key: "10"
|
|
1853
1853
|
} : void 0
|
|
1854
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasAltCopy", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) :
|
|
1855
|
-
|
|
1854
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasAltCopy", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : N("", !0),
|
|
1855
|
+
W("div", {
|
|
1856
1856
|
class: "vue-ui-xy-canvas",
|
|
1857
1857
|
style: ve(`position: relative; aspect-ratio: ${La.value}`),
|
|
1858
1858
|
ref_key: "container",
|
|
1859
1859
|
ref: ue
|
|
1860
1860
|
}, [
|
|
1861
|
-
|
|
1861
|
+
W("canvas", {
|
|
1862
1862
|
ref_key: "canvas",
|
|
1863
1863
|
ref: k,
|
|
1864
1864
|
"aria-label": pt.value,
|
|
@@ -1878,9 +1878,9 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1878
1878
|
hint: a.value.a11y.translations.keyboardNavigation,
|
|
1879
1879
|
isVisible: Ke.value
|
|
1880
1880
|
})), void 0, !0)
|
|
1881
|
-
])) :
|
|
1881
|
+
])) : N("", !0),
|
|
1882
1882
|
C(e.$slots, "skeleton", {}, () => [
|
|
1883
|
-
z(Oe) ? (I(), q(Ol, { key: 0 })) :
|
|
1883
|
+
z(Oe) ? (I(), q(Ol, { key: 0 })) : N("", !0)
|
|
1884
1884
|
], !0),
|
|
1885
1885
|
et(z(it), {
|
|
1886
1886
|
teleportTo: a.value.style.chart.tooltip.teleportTo,
|
|
@@ -1982,54 +1982,53 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
1982
1982
|
C(e.$slots, "reset-action", j(G({ reset: l })), void 0, !0)
|
|
1983
1983
|
]),
|
|
1984
1984
|
_: 3
|
|
1985
|
-
}, 8, ["allMinimaps", "background", "borderColor", "customFormat", "cutNullValues", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapLineColor", "minimapMerged", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapSelectionRadius", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "smoothMinimap", "start", "timeLabels", "usePreciseLabels", "textColor", "useResetSlot", "valueEnd", "valueStart", "verticalHandles", "maxWidth", "additionalMinimapHeight", "handleType", "handleIconColor", "handleBorderWidth", "handleBorderColor", "handleFill", "handleWidth"])) :
|
|
1986
|
-
|
|
1985
|
+
}, 8, ["allMinimaps", "background", "borderColor", "customFormat", "cutNullValues", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapLineColor", "minimapMerged", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapSelectionRadius", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "smoothMinimap", "start", "timeLabels", "usePreciseLabels", "textColor", "useResetSlot", "valueEnd", "valueStart", "verticalHandles", "maxWidth", "additionalMinimapHeight", "handleType", "handleIconColor", "handleBorderWidth", "handleBorderColor", "handleFill", "handleWidth"])) : N("", !0),
|
|
1986
|
+
W("div", {
|
|
1987
1987
|
id: `legend-bottom-${Z.value}`
|
|
1988
1988
|
}, null, 8, to),
|
|
1989
|
-
ya.value ? (I(), q(hl, {
|
|
1989
|
+
ya.value && (a.value.style.chart.legend.show || e.$slots.legend) ? (I(), q(hl, {
|
|
1990
1990
|
key: 3,
|
|
1991
1991
|
to: a.value.style.chart.legend.position === "top" ? `#legend-top-${Z.value}` : `#legend-bottom-${Z.value}`
|
|
1992
1992
|
}, [
|
|
1993
|
-
|
|
1993
|
+
W("div", {
|
|
1994
1994
|
ref_key: "chartLegend",
|
|
1995
1995
|
ref: fa
|
|
1996
1996
|
}, [
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
}, void 0, !0)
|
|
1997
|
+
C(e.$slots, "legend", { legend: We.value }, () => [
|
|
1998
|
+
a.value.style.chart.legend.show && U.value ? (I(), q(Vl, {
|
|
1999
|
+
legendSet: We.value,
|
|
2000
|
+
config: ul.value,
|
|
2001
|
+
key: `legend_${je.value}`,
|
|
2002
|
+
isCursorPointer: le.value,
|
|
2003
|
+
onClickMarker: t[3] || (t[3] = ({ i: l }) => He(l))
|
|
2004
|
+
}, {
|
|
2005
|
+
item: b(({ legend: l, index: u }) => [
|
|
2006
|
+
W("div", {
|
|
2007
|
+
onClick: (n) => l.segregate(),
|
|
2008
|
+
style: ve(`opacity:${p.value.includes(u) ? 0.5 : 1}`)
|
|
2009
|
+
}, Ae(l.name), 13, lo)
|
|
2010
|
+
]),
|
|
2011
|
+
legendToggle: b(() => [
|
|
2012
|
+
We.value.length > 2 && a.value.style.chart.legend.selectAllToggle.show && !z(Oe) ? (I(), q(jl, {
|
|
2013
|
+
key: 0,
|
|
2014
|
+
backgroundColor: a.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
2015
|
+
color: a.value.style.chart.legend.selectAllToggle.color,
|
|
2016
|
+
fontSize: a.value.style.chart.legend.fontSize,
|
|
2017
|
+
checked: p.value.length > 0,
|
|
2018
|
+
isCursorPointer: le.value,
|
|
2019
|
+
onToggle: ll
|
|
2020
|
+
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : N("", !0)
|
|
2021
|
+
]),
|
|
2022
|
+
_: 1
|
|
2023
|
+
}, 8, ["legendSet", "config", "isCursorPointer"])) : N("", !0)
|
|
2024
|
+
], !0)
|
|
2026
2025
|
], 512)
|
|
2027
|
-
], 8, ["to"])) :
|
|
2026
|
+
], 8, ["to"])) : N("", !0),
|
|
2028
2027
|
e.$slots.watermark ? (I(), $e("div", oo, [
|
|
2029
2028
|
C(e.$slots, "watermark", j(G({
|
|
2030
2029
|
isPrinting: z(Ca) || z(ka) || Ze.value
|
|
2031
2030
|
})), void 0, !0)
|
|
2032
|
-
])) :
|
|
2031
|
+
])) : N("", !0),
|
|
2033
2032
|
e.$slots.source ? (I(), $e("div", {
|
|
2034
2033
|
key: 5,
|
|
2035
2034
|
ref_key: "source",
|
|
@@ -2037,7 +2036,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
2037
2036
|
dir: "auto"
|
|
2038
2037
|
}, [
|
|
2039
2038
|
C(e.$slots, "source", {}, void 0, !0)
|
|
2040
|
-
], 512)) :
|
|
2039
|
+
], 512)) : N("", !0),
|
|
2041
2040
|
U.value && a.value.userOptions.buttons.table ? (I(), q(fl(Se.value.component), ml({ key: 6 }, Se.value.props, {
|
|
2042
2041
|
ref_key: "tableUnit",
|
|
2043
2042
|
ref: ye,
|
|
@@ -2056,7 +2055,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
2056
2055
|
onClose: Za
|
|
2057
2056
|
}, {
|
|
2058
2057
|
th: b(({ th: l }) => [
|
|
2059
|
-
|
|
2058
|
+
W("div", { innerHTML: l }, null, 8, so)
|
|
2060
2059
|
]),
|
|
2061
2060
|
td: b(({ td: l }) => [
|
|
2062
2061
|
at(Ae(l), 1)
|
|
@@ -2076,7 +2075,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
2076
2075
|
a.value.table.useDialog ? {
|
|
2077
2076
|
name: "actions",
|
|
2078
2077
|
fn: b(() => [
|
|
2079
|
-
|
|
2078
|
+
W("button", {
|
|
2080
2079
|
tabindex: "0",
|
|
2081
2080
|
class: "vue-ui-user-options-button",
|
|
2082
2081
|
onClick: t[4] || (t[4] = (l) => la(a.value.userOptions.callbacks.csv)),
|
|
@@ -2090,7 +2089,7 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
2090
2089
|
]),
|
|
2091
2090
|
key: "1"
|
|
2092
2091
|
} : void 0
|
|
2093
|
-
]), 1040)) :
|
|
2092
|
+
]), 1040)) : N("", !0),
|
|
2094
2093
|
a.value.userOptions.buttons.annotator && f.value.length ? (I(), q(z(dt), {
|
|
2095
2094
|
key: 7,
|
|
2096
2095
|
parent: K.value,
|
|
@@ -2099,10 +2098,10 @@ const Zl = ["id"], Kl = ["id"], Jl = {
|
|
|
2099
2098
|
active: we.value,
|
|
2100
2099
|
isCursorPointer: le.value,
|
|
2101
2100
|
onClose: oa
|
|
2102
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active", "isCursorPointer"])) :
|
|
2101
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active", "isCursorPointer"])) : N("", !0)
|
|
2103
2102
|
], 46, Zl));
|
|
2104
2103
|
}
|
|
2105
|
-
}, $o = /* @__PURE__ */ Gl(uo, [["__scopeId", "data-v-
|
|
2104
|
+
}, $o = /* @__PURE__ */ Gl(uo, [["__scopeId", "data-v-4a0b7ab5"]]);
|
|
2106
2105
|
export {
|
|
2107
2106
|
$o as default
|
|
2108
2107
|
};
|
package/package.json
CHANGED