vue-data-ui 3.0.0-next.54 → 3.0.0-next.55
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-LMYgGTUq.js → Arrow-BJNH0Liz.js} +1 -1
- package/dist/{BaseDraggableDialog-D6NKDVDd.js → BaseDraggableDialog-g4-q5391.js} +2 -2
- package/dist/{BaseIcon-D1YxuTqn.js → BaseIcon-B-JPaycb.js} +1 -1
- package/dist/{ColorPicker-Dqnk4Bis.js → ColorPicker-B6cSfXTZ.js} +2 -2
- package/dist/{DataTable-D1RPxkQn.js → DataTable-CXvbwtai.js} +2 -2
- package/dist/{Legend-BBaTktyQ.js → Legend-Dt-A6TX4.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Dqp0PFOO.js → NonSvgPenAndPaper-Cde04UFK.js} +3 -3
- package/dist/{PackageVersion-Dvivm8-r.js → PackageVersion-D3gM0cgH.js} +1 -1
- package/dist/{PenAndPaper-DaQWWpgs.js → PenAndPaper-tiWdtLvY.js} +3 -3
- package/dist/{Shape-Dc4AHan7.js → Shape-BAOib99W.js} +1 -1
- package/dist/{Slicer-viJHi_bq.js → Slicer-2xXK3ZHN.js} +2 -2
- package/dist/{SparkTooltip-Ca7tsP2u.js → SparkTooltip-CP52F_jK.js} +1 -1
- package/dist/{Title-Bnr--aA5.js → Title-CNNSPaS8.js} +1 -1
- package/dist/{Tooltip-DSvSWahk.js → Tooltip-DsVWsLP0.js} +1 -1
- package/dist/{UserOptions-Dm91TR_d.js → UserOptions-DdxzR5Mv.js} +2 -2
- package/dist/{dom-to-png-DTwkx-9j.js → dom-to-png-FQEkmOOx.js} +1 -1
- package/dist/{img-Brj7vn--.js → img-CNjWjg_p.js} +1 -1
- package/dist/{index-B5FRcZLo.js → index-VrsKSULO.js} +33 -16
- package/dist/{pdf-s-J6FH3X.js → pdf-BLwguT_D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +25 -1
- package/dist/types/vue-data-ui.d.ts +25 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-xwIHroEq.js → useAutoSizeLabelsInsideViewbox-BD87yFjx.js} +1 -1
- package/dist/{BaseScanner-DIK2NTdp.js → useLoading-Bt5Doa8m.js} +11 -11
- package/dist/useNestedProp-lTwriOHy.js +13 -0
- package/dist/{usePrinter-CHbm8PGD.js → usePrinter-BrYkAEvI.js} +2 -2
- package/dist/{vue-data-ui-jynIaHEu.js → vue-data-ui-Cvdlw0Wu.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DIbV0GIS.js +1323 -0
- package/dist/{vue-ui-accordion-h_xORY7m.js → vue-ui-accordion-CP3KpYYB.js} +3 -3
- package/dist/{vue-ui-age-pyramid-ByNg19-v.js → vue-ui-age-pyramid-ING0HORH.js} +7 -7
- package/dist/{vue-ui-annotator-DHWKIAiw.js → vue-ui-annotator-Vcfg38lq.js} +2 -2
- package/dist/{vue-ui-bullet-D8QT8Bn3.js → vue-ui-bullet-nVyjtnfT.js} +8 -8
- package/dist/{vue-ui-candlestick-Dfga6m-d.js → vue-ui-candlestick-C8kOVEo0.js} +8 -8
- package/dist/{vue-ui-carousel-table--OsqU2f2.js → vue-ui-carousel-table-IxlXbBLZ.js} +29 -29
- package/dist/{vue-ui-chestnut-Bos9_e2W.js → vue-ui-chestnut-DrLVu-od.js} +5 -5
- package/dist/{vue-ui-chord-CBxXikz5.js → vue-ui-chord-Co_1mfBI.js} +8 -8
- package/dist/{vue-ui-circle-pack-CA4h8PoX.js → vue-ui-circle-pack-93ly70eJ.js} +42 -42
- package/dist/{vue-ui-cursor-D1e1-QTO.js → vue-ui-cursor-KJztZXjx.js} +2 -2
- package/dist/{vue-ui-dashboard-CGLgntfH.js → vue-ui-dashboard-Dm-pgEqX.js} +62 -62
- package/dist/{vue-ui-digits-CsO3Iczu.js → vue-ui-digits-BOZE8XF9.js} +2 -2
- package/dist/{vue-ui-donut-CkicdCC0.js → vue-ui-donut-C2ZgkW45.js} +9 -9
- package/dist/{vue-ui-donut-evolution-s6f_kN-K.js → vue-ui-donut-evolution-Bbv5_sp4.js} +9 -9
- package/dist/{vue-ui-dumbbell-DmYCdaFI.js → vue-ui-dumbbell-nld0Clws.js} +69 -69
- package/dist/{vue-ui-flow-BQUZA0Ci.js → vue-ui-flow-CLlSDNyj.js} +8 -8
- package/dist/{vue-ui-funnel-BaJXfhkn.js → vue-ui-funnel-BoxOdEOh.js} +16 -16
- package/dist/{vue-ui-galaxy-AamRVENQ.js → vue-ui-galaxy-DYyCeO0g.js} +5 -5
- package/dist/{vue-ui-gauge-DwpIlS3L.js → vue-ui-gauge-DzfVoVC0.js} +8 -8
- package/dist/{vue-ui-gizmo-_LjeGmAP.js → vue-ui-gizmo-Dq_wADwm.js} +3 -3
- package/dist/{vue-ui-heatmap-C2LL_MI_.js → vue-ui-heatmap-DiJ4PMPu.js} +8 -8
- package/dist/{vue-ui-history-plot-BLxytFYc.js → vue-ui-history-plot-CyQbpbFj.js} +20 -20
- package/dist/{vue-ui-kpi-D2Pbj0bH.js → vue-ui-kpi-CE3bvNxU.js} +7 -7
- package/dist/{vue-ui-mini-loader-DlrRQmpO.js → vue-ui-mini-loader-CezyYsIh.js} +2 -2
- package/dist/{vue-ui-molecule-BUJqDdqt.js → vue-ui-molecule-DBqdOQXg.js} +15 -15
- package/dist/{vue-ui-mood-radar-B3_UAmrH.js → vue-ui-mood-radar-Borsdnjs.js} +15 -15
- package/dist/{vue-ui-nested-donuts-C6J6RswH.js → vue-ui-nested-donuts-CluI37Ei.js} +10 -10
- package/dist/{vue-ui-onion-BbABpEI9.js → vue-ui-onion-Ny8gdAAf.js} +24 -24
- package/dist/{vue-ui-parallel-coordinate-plot-DKg6Ksmk.js → vue-ui-parallel-coordinate-plot-PJ7kBhSH.js} +9 -9
- package/dist/{vue-ui-quadrant-DKYW231A.js → vue-ui-quadrant--JI409Pn.js} +8 -8
- package/dist/{vue-ui-quick-chart-Dk8KMMWE.js → vue-ui-quick-chart-BDrTZO9Y.js} +45 -45
- package/dist/{vue-ui-radar-JJJvDyH0.js → vue-ui-radar-BWu9C6Zw.js} +25 -25
- package/dist/{vue-ui-rating-hbgc6VRD.js → vue-ui-rating-BR6GVyqk.js} +2 -2
- package/dist/{vue-ui-relation-circle-Btubhkqp.js → vue-ui-relation-circle-By35PCSP.js} +6 -6
- package/dist/{vue-ui-ridgeline-zS0itk3r.js → vue-ui-ridgeline-DWGU3udg.js} +9 -9
- package/dist/{vue-ui-rings-C6QI4vT_.js → vue-ui-rings-Cq5qHVk1.js} +20 -20
- package/dist/{vue-ui-scatter-C2kNKb55.js → vue-ui-scatter-DOaBf7Al.js} +9 -9
- package/dist/{vue-ui-skeleton-CzVYh2n3.js → vue-ui-skeleton-CcR1KppS.js} +3 -3
- package/dist/{vue-ui-smiley-BK28gGd8.js → vue-ui-smiley-BAg44Lr1.js} +26 -26
- package/dist/{vue-ui-spark-trend-CSypVrHj.js → vue-ui-spark-trend-et-6tMhw.js} +3 -3
- package/dist/{vue-ui-sparkbar-Cn2ww9SA.js → vue-ui-sparkbar-ZmkuoQIV.js} +3 -3
- package/dist/{vue-ui-sparkgauge-D_q1ShxX.js → vue-ui-sparkgauge-B-sR11zt.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DrWMDYwQ.js → vue-ui-sparkhistogram-D6y3mWa-.js} +4 -4
- package/dist/{vue-ui-sparkline-B2EWoOpH.js → vue-ui-sparkline-BTcWkBkc.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-dgtxtC-v.js → vue-ui-sparkstackbar-DiLFzzs1.js} +3 -3
- package/dist/{vue-ui-stackbar-BEPKt8t1.js → vue-ui-stackbar-B0XZyCnz.js} +10 -10
- package/dist/{vue-ui-strip-plot-CGLaQrOE.js → vue-ui-strip-plot-B4vsbget.js} +25 -25
- package/dist/{vue-ui-table-CYeBDq4t.js → vue-ui-table-DDVF52A6.js} +3 -3
- package/dist/{vue-ui-table-heatmap-D5Higl6c.js → vue-ui-table-heatmap-DH1DYupu.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CgUjTFEu.js → vue-ui-table-sparkline-BL-1y2Oq.js} +14 -14
- package/dist/{vue-ui-thermometer-DdHoEvl8.js → vue-ui-thermometer-CyQT1DI6.js} +25 -25
- package/dist/{vue-ui-timer-Dd9-bUFJ.js → vue-ui-timer-CLqsJQ3V.js} +5 -5
- package/dist/{vue-ui-tiremarks-CDvBqFb9.js → vue-ui-tiremarks-DZSjovmn.js} +7 -7
- package/dist/{vue-ui-treemap-Cnk77LIb.js → vue-ui-treemap-CSMkD4Q3.js} +39 -39
- package/dist/{vue-ui-vertical-bar-CfedVdxi.js → vue-ui-vertical-bar-X3muLpmj.js} +10 -10
- package/dist/{vue-ui-waffle-_nuwY19z.js → vue-ui-waffle-DZoNMXZs.js} +27 -27
- package/dist/{vue-ui-wheel-mgrK52NV.js → vue-ui-wheel-CkrhExvP.js} +7 -7
- package/dist/{vue-ui-word-cloud-X7c1DN4a.js → vue-ui-word-cloud-SJJdaZHD.js} +6 -6
- package/dist/{vue-ui-world-Ip9Cyd__.js → vue-ui-world-CmeQPQhw.js} +6 -6
- package/dist/{vue-ui-xy-CsH5sX8-.js → vue-ui-xy-Cp8U2LrQ.js} +87 -87
- package/dist/{vue-ui-xy-canvas-1KtHBKRO.js → vue-ui-xy-canvas-CGop37ip.js} +8 -8
- package/package.json +1 -1
- package/dist/useNestedProp-BwJKakXX.js +0 -13
- package/dist/vue-ui-3d-bar-CuyTiQjS.js +0 -1227
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
|
|
2
|
-
import { u as ye } from "./useNestedProp-
|
|
3
|
-
import { u as Ge, c as Le,
|
|
4
|
-
import { u as je } from "./usePrinter-
|
|
2
|
+
import { u as ye } from "./useNestedProp-lTwriOHy.js";
|
|
3
|
+
import { u as Ge, c as Le, a as Re, p as T, b as He, d as Xe, o as qe, f as he, g as Je, a9 as Ke, e as Qe, k as W, i as M, v as Ye, w as Ze } from "./index-VrsKSULO.js";
|
|
4
|
+
import { u as je } from "./usePrinter-BrYkAEvI.js";
|
|
5
5
|
import { u as et } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { v as tt } from "./vClickOutside-C6WiFswA.js";
|
|
7
7
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -43,7 +43,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
43
43
|
Fe((t) => ({
|
|
44
44
|
"3f28d054": t.tdo
|
|
45
45
|
}));
|
|
46
|
-
const Ce = J(() => import("./vue-ui-sparkline-
|
|
46
|
+
const Ce = J(() => import("./vue-ui-sparkline-BTcWkBkc.js")), N = J(() => import("./BaseIcon-B-JPaycb.js")), xe = J(() => import("./UserOptions-DdxzR5Mv.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
|
|
47
47
|
me(() => {
|
|
48
48
|
Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
49
49
|
});
|
|
@@ -73,13 +73,13 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
73
73
|
elementId: `table_${U.value}`,
|
|
74
74
|
fileName: e.value.title.text || "vue-ui-table-sparkline",
|
|
75
75
|
options: e.value.userOptions.print
|
|
76
|
-
}), Ie = _(() =>
|
|
76
|
+
}), Ie = _(() => Xe(e.value.customPalette)), F = p(null), L = p(!1), Ae = _(() => e.value.responsiveBreakpoint);
|
|
77
77
|
me(() => {
|
|
78
78
|
ue();
|
|
79
79
|
});
|
|
80
80
|
const R = p(e.value.colNames), I = Te(null);
|
|
81
81
|
function ue() {
|
|
82
|
-
|
|
82
|
+
qe(x.dataset) && he({
|
|
83
83
|
componentName: "VueUiTableSparkline",
|
|
84
84
|
type: "dataset"
|
|
85
85
|
}), I.value && I.value.disconnect(), I.value = new ResizeObserver((t) => {
|
|
@@ -132,9 +132,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
132
132
|
orders: a[o]
|
|
133
133
|
}));
|
|
134
134
|
}
|
|
135
|
-
const $ = _(() => Oe(se.value)), m = p($.value), $e = _(() => Math.max(...m.value.map((t) => (t.values || []).length))), H = p(void 0),
|
|
135
|
+
const $ = _(() => Oe(se.value)), m = p($.value), $e = _(() => Math.max(...m.value.map((t) => (t.values || []).length))), H = p(void 0), X = p(!1), b = p(void 0), re = p(1);
|
|
136
136
|
function A() {
|
|
137
|
-
|
|
137
|
+
X.value = !1, b.value = void 0, y.value = void 0, re.value = 1, z.value.forEach((t) => t.state = 1), w.value = {
|
|
138
138
|
name: 1,
|
|
139
139
|
sum: 1,
|
|
140
140
|
average: 1,
|
|
@@ -151,7 +151,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
151
151
|
b.value = void 0, A();
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
|
-
|
|
154
|
+
X.value = !0, b.value = l;
|
|
155
155
|
const n = $.value.map((i) => i.values[l] || []), s = a;
|
|
156
156
|
z.value[l].state = s, re.value = s, l === H.value ? H.value = void 0 : H.value = l;
|
|
157
157
|
const d = n.map((i, h) => [h, i]).sort((i, h) => s * (h[1] - i[1])).map((i) => i[0]).map((i) => $.value[i]);
|
|
@@ -184,16 +184,16 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
184
184
|
y.value = void 0, A();
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
|
-
y.value = t,
|
|
187
|
+
y.value = t, X.value = !0, w.value[t] = a, [null, void 0].includes(l) || (z.value[l].state = w.value[t]);
|
|
188
188
|
const n = w.value[t], s = [...m.value].sort((o, d) => {
|
|
189
189
|
const i = o[t] ?? (typeof o[t] == "number" ? 0 : ""), h = d[t] ?? (typeof d[t] == "number" ? 0 : "");
|
|
190
190
|
return typeof i == "string" && typeof h == "string" ? n === -1 ? i.localeCompare(h) : h.localeCompare(i) : typeof i == "number" && typeof h == "number" ? n === -1 ? i - h : h - i : 0;
|
|
191
191
|
});
|
|
192
192
|
m.value = s;
|
|
193
193
|
}
|
|
194
|
-
const S = p(void 0),
|
|
194
|
+
const S = p(void 0), q = p(void 0);
|
|
195
195
|
function De({ dataIndex: t, serieIndex: l }) {
|
|
196
|
-
S.value = t,
|
|
196
|
+
S.value = t, q.value = l, E.value[t] && !L.value && E.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
197
197
|
}
|
|
198
198
|
const de = p(!1);
|
|
199
199
|
function Pe(t) {
|
|
@@ -272,7 +272,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
272
272
|
f("div", {
|
|
273
273
|
style: { overflow: "auto" },
|
|
274
274
|
onPointerleave: l[2] || (l[2] = (a) => {
|
|
275
|
-
|
|
275
|
+
q.value = void 0, S.value = void 0;
|
|
276
276
|
})
|
|
277
277
|
}, [
|
|
278
278
|
f("table", {
|
|
@@ -511,7 +511,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
511
511
|
"data-cell": k.value[o] ? k.value[o].value : "",
|
|
512
512
|
class: "vue-ui-data-table__tbody__td",
|
|
513
513
|
onPointerenter: (d) => {
|
|
514
|
-
|
|
514
|
+
q.value = n, S.value = o;
|
|
515
515
|
}
|
|
516
516
|
}, C([null, void 0].includes(a.values[o]) ? "-" : u(W)(
|
|
517
517
|
e.value.formatter,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { useCssVars as ze, computed as c, defineAsyncComponent as j, ref as v, onMounted as We, toRefs as Ue, watch as Le, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as ve, normalizeClass as z, createBlock as W, createCommentVNode as i, createSlots as Ne, withCtx as A, renderSlot as y, normalizeProps as U, guardReactiveProps as L, createVNode as Ye, createElementVNode as d, Fragment as N, renderList as de, toDisplayString as He } from "vue";
|
|
2
|
-
import { u as qe, c as Ee,
|
|
2
|
+
import { u as qe, c as Ee, t as Re, o as Ve, f as me, g as Ge, a as Be, p as F, b as De, d as je, h as f, e as Y, X as Xe, s as Je, k as Ke, i as Qe } from "./index-VrsKSULO.js";
|
|
3
3
|
import { t as Ze, u as et } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as tt, B as st } from "./
|
|
5
|
-
import { u as ot } from "./usePrinter-
|
|
6
|
-
import { u as ye } from "./useNestedProp-
|
|
4
|
+
import { u as tt, B as st } from "./useLoading-Bt5Doa8m.js";
|
|
5
|
+
import { u as ot } from "./usePrinter-BrYkAEvI.js";
|
|
6
|
+
import { u as ye } from "./useNestedProp-lTwriOHy.js";
|
|
7
7
|
import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as at } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import { u as rt } from "./useAutoSizeLabelsInsideViewbox-
|
|
10
|
-
import ut from "./Title-
|
|
11
|
-
import nt from "./img-
|
|
9
|
+
import { u as rt } from "./useAutoSizeLabelsInsideViewbox-BD87yFjx.js";
|
|
10
|
+
import ut from "./Title-CNNSPaS8.js";
|
|
11
|
+
import nt from "./img-CNjWjg_p.js";
|
|
12
12
|
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const ht = ["id"], ct = {
|
|
14
14
|
key: 1,
|
|
15
15
|
ref: "noTitle",
|
|
16
16
|
class: "vue-data-ui-no-title-space",
|
|
17
17
|
style: "height:36px; width: 100%;background:transparent"
|
|
18
|
-
}, vt = ["xmlns", "viewBox"], dt = ["width", "height"], mt = ["id"], yt = ["x", "y", "width", "height", "rx", "ry"], ft = ["id"], gt = ["stop-color"], pt = ["stop-color"], kt = ["stop-color"], bt = ["clip-path"],
|
|
18
|
+
}, vt = ["xmlns", "viewBox"], dt = ["width", "height"], mt = ["id"], yt = ["x", "y", "width", "height", "rx", "ry"], ft = ["id"], gt = ["stop-color"], pt = ["stop-color"], kt = ["stop-color"], bt = ["clip-path"], xt = ["x", "y", "height", "width"], wt = ["x", "y", "height", "width", "fill"], _t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ct = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], $t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], At = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ot = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], It = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Pt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], St = ["x", "y", "height", "width"], Mt = { key: 1 }, Tt = ["x", "y", "height"], zt = ["y", "x", "fill", "font-size", "font-weight"], Wt = {
|
|
19
19
|
key: 4,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, Ut = {
|
|
@@ -40,11 +40,11 @@ const ht = ["id"], ct = {
|
|
|
40
40
|
"94da5bc2": Ae.value,
|
|
41
41
|
"3f9c62cc": $e.value
|
|
42
42
|
}));
|
|
43
|
-
const ge = j(() => import("./PackageVersion-
|
|
43
|
+
const ge = j(() => import("./PackageVersion-D3gM0cgH.js")), pe = j(() => import("./PenAndPaper-tiWdtLvY.js")), ke = j(() => import("./UserOptions-DdxzR5Mv.js")), { vue_ui_thermometer: be } = qe(), g = O, p = v(Ee()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), b = v(null), I = v(null), xe = c(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
44
44
|
We(() => {
|
|
45
45
|
te();
|
|
46
46
|
});
|
|
47
|
-
const e = v(V()),
|
|
47
|
+
const e = v(V()), we = v(e.value.style.chart.thermometer.width), H = v(e.value.style.chart.height), q = v(e.value.style.chart.width), { loading: Z, FINAL_DATASET: h } = tt({
|
|
48
48
|
...Ue(g),
|
|
49
49
|
FINAL_CONFIG: e,
|
|
50
50
|
prepareConfig: V,
|
|
@@ -110,7 +110,7 @@ const ht = ["id"], ct = {
|
|
|
110
110
|
} : s;
|
|
111
111
|
}
|
|
112
112
|
Le(() => g.config, (s) => {
|
|
113
|
-
e.value = V(), E.value = !e.value.userOptions.showOnChartHover,
|
|
113
|
+
e.value = V(), E.value = !e.value.userOptions.showOnChartHover, we.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, q.value = e.value.style.chart.width, te(), J.value += 1;
|
|
114
114
|
}, { deep: !0 });
|
|
115
115
|
const { isPrinting: le, isImaging: ae, generatePdf: re, generateImage: ue } = ot({
|
|
116
116
|
elementId: `thermometer__${p.value}`,
|
|
@@ -179,9 +179,9 @@ const ht = ["id"], ct = {
|
|
|
179
179
|
height: Math.max(0.1, t / m.value)
|
|
180
180
|
}), l += 1;
|
|
181
181
|
return s;
|
|
182
|
-
}),
|
|
182
|
+
}), x = v(!1);
|
|
183
183
|
function he(s) {
|
|
184
|
-
|
|
184
|
+
x.value = s, X.value += 1;
|
|
185
185
|
}
|
|
186
186
|
const T = v(!1);
|
|
187
187
|
function D() {
|
|
@@ -199,14 +199,14 @@ const ht = ["id"], ct = {
|
|
|
199
199
|
aspectRatio: r
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
const
|
|
202
|
+
const w = c({
|
|
203
203
|
get: () => e.value.style.chart.label.fontSize,
|
|
204
204
|
set: (s) => s
|
|
205
205
|
}), { autoSizeLabels: ce } = rt({
|
|
206
206
|
svgRef: R,
|
|
207
207
|
fontSize: e.value.style.chart.label.fontSize,
|
|
208
208
|
minFontSize: e.value.style.chart.label.minFontSize,
|
|
209
|
-
sizeRef:
|
|
209
|
+
sizeRef: w,
|
|
210
210
|
labelClass: ".vue-ui-thermometer-label"
|
|
211
211
|
});
|
|
212
212
|
return fe({
|
|
@@ -218,7 +218,7 @@ const ht = ["id"], ct = {
|
|
|
218
218
|
}), (s, l) => (a(), u("div", {
|
|
219
219
|
ref_key: "thermoChart",
|
|
220
220
|
ref: k,
|
|
221
|
-
class: z(`vue-ui-thermometer ${
|
|
221
|
+
class: z(`vue-ui-thermometer ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
222
222
|
style: ve(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
223
223
|
id: `thermometer__${p.value}`,
|
|
224
224
|
onMouseenter: l[0] || (l[0] = () => n(se)(!0)),
|
|
@@ -253,7 +253,7 @@ const ht = ["id"], ct = {
|
|
|
253
253
|
}
|
|
254
254
|
}, null, 8, ["config"]))
|
|
255
255
|
], 512)) : i("", !0),
|
|
256
|
-
e.value.userOptions.show &&
|
|
256
|
+
e.value.userOptions.show && xe.value && (n(oe) || n(E)) ? (a(), W(n(ke), {
|
|
257
257
|
ref: "details",
|
|
258
258
|
key: `user_options_${X.value}`,
|
|
259
259
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -265,7 +265,7 @@ const ht = ["id"], ct = {
|
|
|
265
265
|
hasImg: e.value.userOptions.buttons.img,
|
|
266
266
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
267
267
|
hasXls: !1,
|
|
268
|
-
isFullscreen:
|
|
268
|
+
isFullscreen: x.value,
|
|
269
269
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
270
270
|
chartElement: k.value,
|
|
271
271
|
position: e.value.userOptions.position,
|
|
@@ -321,7 +321,7 @@ const ht = ["id"], ct = {
|
|
|
321
321
|
ref_key: "svgRef",
|
|
322
322
|
ref: R,
|
|
323
323
|
xmlns: n(Xe),
|
|
324
|
-
class: z({ "vue-data-ui-fullscreen--on":
|
|
324
|
+
class: z({ "vue-data-ui-fullscreen--on": x.value, "vue-data-ui-fulscreen--off": !x.value }),
|
|
325
325
|
width: "100%",
|
|
326
326
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
327
327
|
style: "background:transparent"
|
|
@@ -383,7 +383,7 @@ const ht = ["id"], ct = {
|
|
|
383
383
|
height: o.value.thermoHeight,
|
|
384
384
|
width: o.value.thermoWidth,
|
|
385
385
|
fill: "#FFFFFF"
|
|
386
|
-
}, null, 8,
|
|
386
|
+
}, null, 8, xt),
|
|
387
387
|
(a(!0), u(N, null, de(ie.value, (t, r) => (a(), u("g", {
|
|
388
388
|
key: `graduation_${r}`
|
|
389
389
|
}, [
|
|
@@ -394,7 +394,7 @@ const ht = ["id"], ct = {
|
|
|
394
394
|
width: o.value.thermoWidth,
|
|
395
395
|
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${r}_${p.value})` : t.color,
|
|
396
396
|
"shape-rendering": "crispEdges"
|
|
397
|
-
}, null, 8,
|
|
397
|
+
}, null, 8, wt),
|
|
398
398
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
399
399
|
key: 0,
|
|
400
400
|
x1: t.x,
|
|
@@ -493,19 +493,19 @@ const ht = ["id"], ct = {
|
|
|
493
493
|
n(Z) ? (a(), u("rect", {
|
|
494
494
|
key: 0,
|
|
495
495
|
x: o.value.left - 60,
|
|
496
|
-
y: M.value + o.value.top -
|
|
496
|
+
y: M.value + o.value.top - w.value / 2,
|
|
497
497
|
width: 50,
|
|
498
|
-
height:
|
|
498
|
+
height: w.value,
|
|
499
499
|
fill: "#6A6A6A40",
|
|
500
500
|
rx: "3"
|
|
501
501
|
}, null, 8, Tt)) : (a(), u("text", {
|
|
502
502
|
key: 1,
|
|
503
503
|
class: z({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use, "vue-ui-thermometer-label": !0 }),
|
|
504
|
-
y: M.value + o.value.top +
|
|
504
|
+
y: M.value + o.value.top + w.value / 3,
|
|
505
505
|
x: o.value.left - 10,
|
|
506
506
|
"text-anchor": "end",
|
|
507
507
|
fill: e.value.style.chart.label.color,
|
|
508
|
-
"font-size":
|
|
508
|
+
"font-size": w.value,
|
|
509
509
|
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
510
510
|
}, He(n(Ke)(
|
|
511
511
|
e.value.style.chart.label.formatter,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
|
|
2
|
-
import { u as ne } from "./useNestedProp-
|
|
3
|
-
import { u as ce, c as ve, X as de, E as X } from "./index-
|
|
2
|
+
import { u as ne } from "./useNestedProp-lTwriOHy.js";
|
|
3
|
+
import { u as ce, c as ve, X as de, E as X } from "./index-VrsKSULO.js";
|
|
4
4
|
import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import we from "./Title-
|
|
7
|
-
import R from "./BaseIcon-
|
|
6
|
+
import we from "./Title-CNNSPaS8.js";
|
|
7
|
+
import R from "./BaseIcon-B-JPaycb.js";
|
|
8
8
|
import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
class ge {
|
|
10
10
|
constructor(L, E, S, N = !0, A = !0) {
|
|
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
130
130
|
},
|
|
131
131
|
emits: ["start", "pause", "reset", "restart", "lap"],
|
|
132
132
|
setup(q, { expose: L, emit: E }) {
|
|
133
|
-
const S = se(() => import("./PackageVersion-
|
|
133
|
+
const S = se(() => import("./PackageVersion-D3gM0cgH.js")), { vue_ui_timer: N } = ce(), A = q, g = E, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
|
|
134
134
|
le(() => {
|
|
135
135
|
m();
|
|
136
136
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as H, computed as f, ref as v, toRefs as xe, watch as ie, onMounted as Ae, createElementBlock as u, openBlock as r, unref as s, normalizeStyle as j, normalizeClass as X, createBlock as T, createCommentVNode as y, createSlots as Oe, withCtx as O, renderSlot as p, normalizeProps as N, guardReactiveProps as R, createVNode as Pe, Fragment as ce, renderList as ve, toDisplayString as Ie } from "vue";
|
|
2
|
-
import { u as ze, c as Se,
|
|
2
|
+
import { u as ze, c as Se, t as Fe, b as Te, h as Ne, o as Re, f as Me, x as he, X as Ee, k as Le, i as Ue } from "./index-VrsKSULO.js";
|
|
3
3
|
import { t as Be, u as Ge } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as De, B as He } from "./
|
|
5
|
-
import { u as je } from "./usePrinter-
|
|
6
|
-
import { u as de } from "./useNestedProp-
|
|
4
|
+
import { u as De, B as He } from "./useLoading-Bt5Doa8m.js";
|
|
5
|
+
import { u as je } from "./usePrinter-BrYkAEvI.js";
|
|
6
|
+
import { u as de } from "./useNestedProp-lTwriOHy.js";
|
|
7
7
|
import { u as Xe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Ve } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import qe from "./Title-
|
|
10
|
-
import Ye from "./img-
|
|
9
|
+
import qe from "./Title-CNNSPaS8.js";
|
|
10
|
+
import Ye from "./img-CNjWjg_p.js";
|
|
11
11
|
import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = { key: 1 }, et = ["d", "stroke-width", "stroke"], tt = { key: 2 }, at = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], lt = { key: 3 }, ot = ["x", "y", "height"], st = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], nt = {
|
|
13
13
|
key: 4,
|
|
@@ -29,7 +29,7 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = { k
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
setup(fe, { expose: ge }) {
|
|
32
|
-
const ye = H(() => import("./PenAndPaper-
|
|
32
|
+
const ye = H(() => import("./PenAndPaper-tiWdtLvY.js")), pe = H(() => import("./UserOptions-DdxzR5Mv.js")), me = H(() => import("./PackageVersion-D3gM0cgH.js")), { vue_ui_tiremarks: ke } = ze(), w = fe, be = f(() => !!w.dataset && Object.keys(w.dataset).length), M = v(Se()), C = v(null), we = v(null), V = v(null), q = v(null), Y = v(0), W = v(0), $ = v(null), P = v(null), e = v(U()), { loading: J, FINAL_DATASET: E } = De({
|
|
33
33
|
...xe(w),
|
|
34
34
|
FINAL_CONFIG: e,
|
|
35
35
|
prepareConfig: U,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as se, useSlots as Lt, onMounted as vt, computed as k, ref as y, shallowRef as E, toRefs as Mt, watch as Se, onBeforeUnmount as Vt, createElementBlock as m, openBlock as p, unref as r, normalizeStyle as V, normalizeClass as Ie, createBlock as Q, createCommentVNode as x, createElementVNode as F, createVNode as Fe, createSlots as Dt, withCtx as _, renderSlot as C, normalizeProps as ee, guardReactiveProps as te, Fragment as ye, renderList as Ne, withKeys as dt, withModifiers as ze, mergeProps as ht, createTextVNode as Pe, toDisplayString as j, nextTick as Bt } from "vue";
|
|
2
|
-
import { u as Et, c as be,
|
|
2
|
+
import { u as Et, c as be, t as Ht, a as Ut, p as A, b as Wt, d as Gt, o as pt, f as Xt, e as ce, k as we, i as ve, X as qt, l as ft, F as gt, y as mt, v as Yt, w as jt, z as Zt } from "./index-VrsKSULO.js";
|
|
3
3
|
import { t as Kt, u as Jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as yt } from "./useNestedProp-
|
|
5
|
-
import { u as Qt } from "./usePrinter-
|
|
4
|
+
import { u as yt } from "./useNestedProp-lTwriOHy.js";
|
|
5
|
+
import { u as Qt } from "./usePrinter-BrYkAEvI.js";
|
|
6
6
|
import { u as el } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as tl } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import ll from "./BaseIcon-
|
|
9
|
-
import ol from "./Title-
|
|
10
|
-
import al from "./Legend-
|
|
11
|
-
import nl from "./img-
|
|
12
|
-
import { u as sl, B as ul } from "./
|
|
8
|
+
import ll from "./BaseIcon-B-JPaycb.js";
|
|
9
|
+
import ol from "./Title-CNNSPaS8.js";
|
|
10
|
+
import al from "./Legend-Dt-A6TX4.js";
|
|
11
|
+
import nl from "./img-CNjWjg_p.js";
|
|
12
|
+
import { u as sl, B as ul } from "./useLoading-Bt5Doa8m.js";
|
|
13
13
|
import { _ as rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
function bt(n, i) {
|
|
15
15
|
const s = n.length;
|
|
@@ -201,7 +201,7 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
201
201
|
},
|
|
202
202
|
emits: ["selectLegend", "selectDatapoint"],
|
|
203
203
|
setup(n, { expose: i, emit: s }) {
|
|
204
|
-
const c = se(() => import("./DataTable-
|
|
204
|
+
const c = se(() => import("./DataTable-CXvbwtai.js")), u = se(() => import("./PenAndPaper-tiWdtLvY.js")), d = se(() => import("./vue-ui-accordion-CP3KpYYB.js")), v = se(() => import("./Tooltip-DsVWsLP0.js")), g = se(() => import("./UserOptions-DdxzR5Mv.js")), f = se(() => import("./PackageVersion-D3gM0cgH.js")), { vue_ui_treemap: H } = Et(), b = n, O = s, S = Lt();
|
|
205
205
|
vt(() => {
|
|
206
206
|
S["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
207
207
|
});
|
|
@@ -264,11 +264,11 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
264
264
|
Se(() => b.config, (t) => {
|
|
265
265
|
ue.value || (e.value = _e()), xe.value = !e.value.userOptions.showOnChartHover, Ee.value += 1, ke.value += 1, Ce.value += 1, P.value.showTable = e.value.table.show, P.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
266
266
|
}, { deep: !0 });
|
|
267
|
-
const { isPrinting:
|
|
267
|
+
const { isPrinting: Ge, isImaging: Xe, generatePdf: qe, generateImage: Ye } = Qt({
|
|
268
268
|
elementId: `treemap_${I.value}`,
|
|
269
269
|
fileName: e.value.style.chart.title.text || "vue-ui-treemap",
|
|
270
270
|
options: e.value.userOptions.print
|
|
271
|
-
}), Tt = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), de = k(() =>
|
|
271
|
+
}), Tt = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), de = k(() => Gt(e.value.customPalette)), P = y({
|
|
272
272
|
showTable: e.value.table.show,
|
|
273
273
|
showTooltip: e.value.style.chart.tooltip.show
|
|
274
274
|
});
|
|
@@ -290,7 +290,7 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
290
290
|
vbHeight: W.value.height,
|
|
291
291
|
vbWidth: W.value.width,
|
|
292
292
|
width: W.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
|
|
293
|
-
})), R = y(Te.value),
|
|
293
|
+
})), R = y(Te.value), G = y(R.value), je = E(/* @__PURE__ */ new Map());
|
|
294
294
|
function Ze(t) {
|
|
295
295
|
Array.isArray(t) && t.forEach((o, l) => {
|
|
296
296
|
o.id || (o.id = be());
|
|
@@ -305,10 +305,10 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
305
305
|
}
|
|
306
306
|
function xt() {
|
|
307
307
|
if (!$.value.length)
|
|
308
|
-
|
|
308
|
+
G.value = R.value.slice();
|
|
309
309
|
else {
|
|
310
|
-
const t = $.value[$.value.length - 1], o =
|
|
311
|
-
|
|
310
|
+
const t = $.value[$.value.length - 1], o = q(t);
|
|
311
|
+
G.value = o?.children?.slice() || [];
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
Se(
|
|
@@ -318,13 +318,13 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
318
318
|
},
|
|
319
319
|
{ deep: !0, immediate: !0, flush: "post" }
|
|
320
320
|
);
|
|
321
|
-
const
|
|
321
|
+
const X = E(null), oe = E(null);
|
|
322
322
|
vt(() => {
|
|
323
323
|
Ot();
|
|
324
324
|
});
|
|
325
325
|
const _t = k(() => e.value.debug);
|
|
326
326
|
function Ot() {
|
|
327
|
-
if (pt(b.dataset) &&
|
|
327
|
+
if (pt(b.dataset) && Xt({
|
|
328
328
|
componentName: "VueUiTreemap",
|
|
329
329
|
type: "dataset",
|
|
330
330
|
debug: _t.value
|
|
@@ -341,13 +341,13 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
341
341
|
W.value.width = o, W.value.height = l - 12;
|
|
342
342
|
});
|
|
343
343
|
});
|
|
344
|
-
|
|
344
|
+
X.value && (oe.value && X.value.unobserve(oe.value), X.value.disconnect()), X.value = new ResizeObserver(t), oe.value = U.value.parentNode, X.value.observe(oe.value);
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
Vt(() => {
|
|
348
|
-
|
|
348
|
+
X.value && (oe.value && X.value.unobserve(oe.value), X.value.disconnect());
|
|
349
349
|
});
|
|
350
|
-
const re = k(() =>
|
|
350
|
+
const re = k(() => G.value.map((t, o) => ({
|
|
351
351
|
...t,
|
|
352
352
|
color: ce(t.color) || de.value[o] || A[o] || A[o % A.length]
|
|
353
353
|
})).filter((t) => !L.value.includes(t.id))), ae = k(() => R.value.filter((t) => !L.value.includes(t.id)).map((t) => t.value || 0).reduce((t, o) => t + o, 0)), Je = k({
|
|
@@ -415,12 +415,12 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
415
415
|
height: Z.value.vbHeight - t
|
|
416
416
|
};
|
|
417
417
|
});
|
|
418
|
-
function
|
|
418
|
+
function q(t, o = R.value) {
|
|
419
419
|
for (const l of o) {
|
|
420
420
|
if (l.id === t)
|
|
421
421
|
return l;
|
|
422
422
|
if (l.children) {
|
|
423
|
-
const a =
|
|
423
|
+
const a = q(t, l.children);
|
|
424
424
|
if (a)
|
|
425
425
|
return a;
|
|
426
426
|
}
|
|
@@ -430,39 +430,39 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
430
430
|
const J = k(() => $.value.length > 0);
|
|
431
431
|
function he(t, o) {
|
|
432
432
|
if (!t) {
|
|
433
|
-
|
|
433
|
+
G.value = R.value.slice(), O("selectDatapoint", void 0), $.value = [];
|
|
434
434
|
return;
|
|
435
435
|
}
|
|
436
436
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
|
|
437
|
-
const l =
|
|
437
|
+
const l = q(t.id);
|
|
438
438
|
if (l && l.children?.length)
|
|
439
|
-
$.value.push(l.id),
|
|
439
|
+
$.value.push(l.id), G.value = l.children.slice(), O("selectDatapoint", t);
|
|
440
440
|
else if (t.parentId) {
|
|
441
441
|
$.value.push(t.parentId);
|
|
442
|
-
const a =
|
|
443
|
-
|
|
442
|
+
const a = q(t.parentId);
|
|
443
|
+
G.value = a.children.slice(), O("selectDatapoint", t);
|
|
444
444
|
} else if ($.value.length > 0) {
|
|
445
445
|
$.value.pop();
|
|
446
446
|
const a = $.value[$.value.length - 1];
|
|
447
447
|
if (a) {
|
|
448
|
-
const h =
|
|
449
|
-
|
|
448
|
+
const h = q(a);
|
|
449
|
+
G.value = h.children.slice();
|
|
450
450
|
} else
|
|
451
|
-
|
|
451
|
+
G.value = R.value.slice(), $.value = [], O("selectDatapoint", void 0);
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
454
|
function St(t) {
|
|
455
|
-
return !!(
|
|
455
|
+
return !!(q(t.id)?.children?.length || t.parentId);
|
|
456
456
|
}
|
|
457
457
|
const Y = k(() => {
|
|
458
458
|
const t = [
|
|
459
459
|
{ id: null, label: "All" }
|
|
460
460
|
];
|
|
461
461
|
if ($.value.length > 0) {
|
|
462
|
-
let o =
|
|
462
|
+
let o = q($.value[$.value.length - 1]);
|
|
463
463
|
const l = [];
|
|
464
464
|
for (; o; )
|
|
465
|
-
l.unshift(o), o = o.parentId ?
|
|
465
|
+
l.unshift(o), o = o.parentId ? q(o.parentId) : null;
|
|
466
466
|
for (const a of l)
|
|
467
467
|
t.push({
|
|
468
468
|
id: a.id,
|
|
@@ -629,7 +629,7 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
629
629
|
getImage: Pt,
|
|
630
630
|
generateCsv: st,
|
|
631
631
|
generateImage: Ye,
|
|
632
|
-
generatePdf:
|
|
632
|
+
generatePdf: qe,
|
|
633
633
|
toggleTable: ut,
|
|
634
634
|
toggleTooltip: rt,
|
|
635
635
|
toggleAnnotator: Ae,
|
|
@@ -683,8 +683,8 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
683
683
|
key: `user_option_${Le.value}`,
|
|
684
684
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
685
685
|
color: e.value.style.chart.color,
|
|
686
|
-
isPrinting: r(
|
|
687
|
-
isImaging: r(
|
|
686
|
+
isPrinting: r(Ge),
|
|
687
|
+
isImaging: r(Xe),
|
|
688
688
|
uid: I.value,
|
|
689
689
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
690
690
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -702,7 +702,7 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
702
702
|
callbacks: e.value.userOptions.callbacks,
|
|
703
703
|
printScale: e.value.userOptions.print.scale,
|
|
704
704
|
onToggleFullscreen: ot,
|
|
705
|
-
onGeneratePdf: r(
|
|
705
|
+
onGeneratePdf: r(qe),
|
|
706
706
|
onGenerateCsv: st,
|
|
707
707
|
onGenerateImage: r(Ye),
|
|
708
708
|
onToggleTable: ut,
|
|
@@ -820,7 +820,7 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
820
820
|
(p(), m("svg", {
|
|
821
821
|
ref_key: "svgRef",
|
|
822
822
|
ref: We,
|
|
823
|
-
xmlns: r(
|
|
823
|
+
xmlns: r(qt),
|
|
824
824
|
class: Ie({ "vue-data-ui-fullscreen--on": le.value, "vue-data-ui-fulscreen--off": !le.value, "vue-data-ui-zoom-plus": !J.value, "vue-data-ui-zoom-minus": J.value, loading: r(ue) }),
|
|
825
825
|
viewBox: `${ne.value.startX} ${ne.value.startY} ${ne.value.width <= 0 ? 10 : ne.value.width} ${ne.value.height <= 0 ? 10 : ne.value.height}`,
|
|
826
826
|
style: V(`max-width:100%; overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
@@ -916,7 +916,7 @@ const ml = ["id"], yl = ["tabindex", "onClick", "onKeydown", "data-last-crumb",
|
|
|
916
916
|
C(t.$slots, "svg", ee(te({ svg: Z.value, isZoom: J.value, rect: M.value, config: e.value })), void 0, !0)
|
|
917
917
|
], 14, $l)),
|
|
918
918
|
t.$slots.watermark ? (p(), m("div", Fl, [
|
|
919
|
-
C(t.$slots, "watermark", ee(te({ isPrinting: r(
|
|
919
|
+
C(t.$slots, "watermark", ee(te({ isPrinting: r(Ge) || r(Xe) })), void 0, !0)
|
|
920
920
|
])) : x("", !0),
|
|
921
921
|
F("div", {
|
|
922
922
|
ref_key: "chartLegend",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { useCssVars as Mt, defineAsyncComponent as le, useSlots as Bt, computed as b, ref as i, toRefs as Rt, watch as nt, shallowRef as ut, onMounted as Te, nextTick as ve, onBeforeUnmount as Et, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as h, normalizeClass as D, createBlock as X, createCommentVNode as y, renderSlot as x, createVNode as oe, createSlots as Se, withCtx as w, normalizeProps as Y, guardReactiveProps as K, createElementVNode as n, toDisplayString as p, Fragment as J, renderList as Q, mergeProps as Dt, withKeys as Xt, createTextVNode as Ut } from "vue";
|
|
2
|
-
import { u as Gt, c as Wt,
|
|
2
|
+
import { u as Gt, c as Wt, t as Ht, a as jt, p as U, b as qt, C as Le, d as Yt, h as L, o as Pe, f as ne, e as Ne, k as de, i as G, X as Kt, s as Ae, x as Jt, v as Qt, w as Zt, y as ea, z as ta } from "./index-VrsKSULO.js";
|
|
3
3
|
import { t as aa, u as la } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as st } from "./useNestedProp-
|
|
5
|
-
import { u as oa } from "./usePrinter-
|
|
4
|
+
import { u as st } from "./useNestedProp-lTwriOHy.js";
|
|
5
|
+
import { u as oa } from "./usePrinter-BrYkAEvI.js";
|
|
6
6
|
import { u as na } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ua } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import sa from "./vue-ui-accordion-
|
|
9
|
-
import rt from "./Legend-
|
|
10
|
-
import ra from "./Title-
|
|
11
|
-
import { _ as it } from "./Shape-
|
|
12
|
-
import ia from "./img-
|
|
13
|
-
import { u as va, B as da } from "./
|
|
8
|
+
import sa from "./vue-ui-accordion-CP3KpYYB.js";
|
|
9
|
+
import rt from "./Legend-Dt-A6TX4.js";
|
|
10
|
+
import ra from "./Title-CNNSPaS8.js";
|
|
11
|
+
import { _ as it } from "./Shape-BAOib99W.js";
|
|
12
|
+
import ia from "./img-CNjWjg_p.js";
|
|
13
|
+
import { u as va, B as da } from "./useLoading-Bt5Doa8m.js";
|
|
14
14
|
import { _ as ca } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "width", "height"], ga = ["id"], ba = ["stop-color"], ma = ["stop-color"], ka = { key: 1 }, xa = ["x", "y", "width", "height", "fill", "rx"], _a = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], wa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ta = { class: "vue-ui-horizontal-bar-child-label" }, Sa = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], La = ["x", "y", "font-size", "fill", "font-weight"], Pa = { class: "vue-ui-horizontal-bar-parent-label" }, Na = ["x", "y", "font-size", "fill", "font-weight"], Aa = ["x", "y", "font-size", "fill", "font-weight"], za = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Va = {
|
|
16
16
|
key: 5,
|
|
@@ -36,7 +36,7 @@ const ha = ["id"], pa = ["onClick"], fa = ["xmlns", "viewBox"], ya = ["x", "widt
|
|
|
36
36
|
Mt((t) => ({
|
|
37
37
|
"7f2de844": t.tdo
|
|
38
38
|
}));
|
|
39
|
-
const ht = le(() => import("./BaseIcon-
|
|
39
|
+
const ht = le(() => import("./BaseIcon-B-JPaycb.js")), pt = le(() => import("./PackageVersion-D3gM0cgH.js")), ft = le(() => import("./PenAndPaper-tiWdtLvY.js")), yt = le(() => import("./Tooltip-DsVWsLP0.js")), gt = le(() => import("./UserOptions-DdxzR5Mv.js")), { vue_ui_vertical_bar: bt } = Gt(), mt = Bt(), g = vt, ce = b({
|
|
40
40
|
get() {
|
|
41
41
|
return !!g.dataset && g.dataset.length;
|
|
42
42
|
},
|