vue-data-ui 2.16.4 → 2.16.6
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/README.md +2 -2
- package/dist/{Arrow-CQWVJ5sZ.js → Arrow-DCqxVwey.js} +1 -1
- package/dist/{BaseDraggableDialog-Fz8fA4VM.js → BaseDraggableDialog-6DIKXIBU.js} +2 -2
- package/dist/{BaseIcon-CfYrW3zO.js → BaseIcon-Bn996RXm.js} +1 -1
- package/dist/{ColorPicker-B2ITT7Lp.js → ColorPicker-OFfLkKNb.js} +2 -2
- package/dist/{DataTable-C6IBsdXI.js → DataTable-CHBLjKtZ.js} +2 -2
- package/dist/{Legend-bIoNrGWy.js → Legend-nBXoxXJH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BsSwoYpL.js → NonSvgPenAndPaper-Cls2idJS.js} +3 -3
- package/dist/{PackageVersion-DfefmcMg.js → PackageVersion-Bg_9KCU-.js} +1 -1
- package/dist/{PenAndPaper-CixPm-N0.js → PenAndPaper-BPTpbnay.js} +3 -3
- package/dist/{Shape-dKMmmbg5.js → Shape-Bnf512BA.js} +1 -1
- package/dist/{Slicer-szgfOkiL.js → Slicer-BrqtJG2E.js} +2 -2
- package/dist/{SparkTooltip-D_NmtqzO.js → SparkTooltip-C-rLATAw.js} +1 -1
- package/dist/{Title-DTuTBtAe.js → Title-Gi81VwUM.js} +1 -1
- package/dist/{Tooltip-CVPiPR9d.js → Tooltip-CJxVw7-T.js} +1 -1
- package/dist/{UserOptions-D8SRavqE.js → UserOptions-CBEK6_jo.js} +137 -129
- package/dist/{dom-to-png-Br5bL5eX.js → dom-to-png-CRHNL8VU.js} +1 -1
- package/dist/img-BgOg8opa.js +27 -0
- package/dist/{index-BsirVW_m.js → index-DvIXJm6t.js} +1 -1
- package/dist/{pdf-BBk37REU.js → pdf-DhTxBrbJ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -2
- package/dist/types/vue-data-ui.d.ts +2 -2
- package/dist/{useNestedProp-Ej-oqNyf.js → useNestedProp-DrYHm61t.js} +1 -1
- package/dist/{usePrinter-Dpd-vZym.js → usePrinter-CWnXbGMb.js} +2 -2
- package/dist/{vue-data-ui-Bd_shukQ.js → vue-data-ui-B8EWlMIK.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Baaeejpi.js → vue-ui-3d-bar-CtlB4p7i.js} +42 -41
- package/dist/{vue-ui-accordion-D2TcT2US.js → vue-ui-accordion-D55kCO5G.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BW2q5yMT.js → vue-ui-age-pyramid-DSshyUn-.js} +39 -38
- package/dist/{vue-ui-annotator-DR6dXmoQ.js → vue-ui-annotator-DQSMv_k2.js} +2 -2
- package/dist/{vue-ui-bullet-BYvOXGoO.js → vue-ui-bullet-FeScjj7q.js} +23 -22
- package/dist/{vue-ui-candlestick-DXGY7-1u.js → vue-ui-candlestick-Drupgyoi.js} +100 -99
- package/dist/{vue-ui-carousel-table-DpRdTSdS.js → vue-ui-carousel-table-BTZQRZfO.js} +17 -16
- package/dist/{vue-ui-chestnut--uqQw5gd.js → vue-ui-chestnut-DLWjPwRL.js} +64 -63
- package/dist/{vue-ui-chord-C6z1Oi8y.js → vue-ui-chord-BgLbFBT9.js} +87 -86
- package/dist/{vue-ui-circle-pack-BgtFPkv2.js → vue-ui-circle-pack-VXcRh2gy.js} +31 -30
- package/dist/{vue-ui-cursor-C_KZ7SW0.js → vue-ui-cursor-DWmfnM25.js} +2 -2
- package/dist/{vue-ui-dashboard-YSzYS59X.js → vue-ui-dashboard-CGIocEHj.js} +62 -62
- package/dist/{vue-ui-digits-B6Ej5XbC.js → vue-ui-digits-BgQch3Fc.js} +2 -2
- package/dist/{vue-ui-donut-BYouj_X8.js → vue-ui-donut-B59bCV5_.js} +74 -73
- package/dist/{vue-ui-donut-evolution-DHIMoo_a.js → vue-ui-donut-evolution-CI8qBIQd.js} +44 -43
- package/dist/{vue-ui-dumbbell-rHe7aWF7.js → vue-ui-dumbbell-CXv7sk88.js} +9 -8
- package/dist/{vue-ui-flow-hV-6uTPS.js → vue-ui-flow-DxF0ELtv.js} +9 -8
- package/dist/{vue-ui-funnel-45FdkG1w.js → vue-ui-funnel-Bco8rqF8.js} +20 -19
- package/dist/{vue-ui-galaxy-yg-YRwYP.js → vue-ui-galaxy-CaPJwwOj.js} +22 -21
- package/dist/{vue-ui-gauge-Ccf__w06.js → vue-ui-gauge-D7arhDmb.js} +8 -7
- package/dist/{vue-ui-gizmo-CxSBWMgK.js → vue-ui-gizmo-Dwli-Mip.js} +3 -3
- package/dist/{vue-ui-heatmap-Cz1GzvLQ.js → vue-ui-heatmap-Cyn-ahGO.js} +10 -9
- package/dist/{vue-ui-history-plot-DChEbCv0.js → vue-ui-history-plot-C2AEToqx.js} +27 -26
- package/dist/{vue-ui-kpi-D1cHw1LD.js → vue-ui-kpi-DKDibSdl.js} +3 -3
- package/dist/{vue-ui-mini-loader-FxoEnicn.js → vue-ui-mini-loader-B8OVutUx.js} +2 -2
- package/dist/{vue-ui-molecule-BvGzvTQc.js → vue-ui-molecule-BVSrqIGw.js} +22 -21
- package/dist/{vue-ui-mood-radar-DomwWh69.js → vue-ui-mood-radar-DvlyS3RN.js} +9 -8
- package/dist/{vue-ui-nested-donuts-BrC9S0cw.js → vue-ui-nested-donuts-D9ssSus6.js} +89 -88
- package/dist/{vue-ui-onion-YvCPFGpJ.js → vue-ui-onion-Buu4VX3u.js} +40 -39
- package/dist/{vue-ui-parallel-coordinate-plot-D_ji0o1R.js → vue-ui-parallel-coordinate-plot-DFLUvhxD.js} +29 -28
- package/dist/{vue-ui-quadrant-B1xa2r0Q.js → vue-ui-quadrant-BMC7NBGd.js} +90 -89
- package/dist/{vue-ui-quick-chart-ClCOLJ5y.js → vue-ui-quick-chart-DB9RKUkb.js} +59 -58
- package/dist/{vue-ui-radar-B460wd0h.js → vue-ui-radar-68NMPxxQ.js} +26 -25
- package/dist/{vue-ui-rating-D1_WFLlk.js → vue-ui-rating-swH9kRr3.js} +2 -2
- package/dist/{vue-ui-relation-circle-ECKEkE2-.js → vue-ui-relation-circle-CT-EdSjO.js} +11 -10
- package/dist/{vue-ui-ridgeline-E-1Lcv1j.js → vue-ui-ridgeline-DftROPaX.js} +10 -9
- package/dist/{vue-ui-rings-BsSwSht6.js → vue-ui-rings-M-9dPI5D.js} +45 -44
- package/dist/{vue-ui-scatter-CVEd6_m1.js → vue-ui-scatter-CsGhaFJh.js} +44 -43
- package/dist/{vue-ui-skeleton-CchtfQiJ.js → vue-ui-skeleton-BAOt2neL.js} +3 -3
- package/dist/{vue-ui-smiley-CkedzX6d.js → vue-ui-smiley-7_kIgPg-.js} +2 -2
- package/dist/{vue-ui-spark-trend-ByPzMHci.js → vue-ui-spark-trend-DHlQQpwz.js} +3 -3
- package/dist/{vue-ui-sparkbar-DoVR95AR.js → vue-ui-sparkbar-BnHhzuKf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-B9WEsmn8.js → vue-ui-sparkgauge-WtfkCK8g.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-B5Ub1nsA.js → vue-ui-sparkhistogram-B2u4XLVd.js} +4 -4
- package/dist/{vue-ui-sparkline-BqHPNt6h.js → vue-ui-sparkline-DKIyUlSm.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BhL0IxK5.js → vue-ui-sparkstackbar-BLGz2qIb.js} +3 -3
- package/dist/{vue-ui-stackbar-CuSsigBj.js → vue-ui-stackbar-BDpMsTYe.js} +277 -275
- package/dist/{vue-ui-strip-plot-BTqp8p9u.js → vue-ui-strip-plot-5qDcYPnR.js} +22 -21
- package/dist/{vue-ui-table-Du7un5Fm.js → vue-ui-table-Bg5HIQ3O.js} +3 -3
- package/dist/{vue-ui-table-heatmap-YxGFfRC3.js → vue-ui-table-heatmap-DmjNy1q1.js} +26 -25
- package/dist/{vue-ui-table-sparkline-Bbt4GjUn.js → vue-ui-table-sparkline-CnkJkBk5.js} +8 -7
- package/dist/{vue-ui-thermometer-Cnc4zVKO.js → vue-ui-thermometer-RlD-9mJf.js} +30 -29
- package/dist/{vue-ui-timer-DgVQY-BQ.js → vue-ui-timer-Bes74INL.js} +5 -5
- package/dist/{vue-ui-tiremarks-BTHDxycu.js → vue-ui-tiremarks-DiLS3akQ.js} +29 -28
- package/dist/vue-ui-treemap-BG1Omm38.js +953 -0
- package/dist/{vue-ui-vertical-bar-C5aombcF.js → vue-ui-vertical-bar-CwqQyZFX.js} +39 -38
- package/dist/{vue-ui-waffle-DHDmy4xh.js → vue-ui-waffle-Ce3T4BPp.js} +10 -9
- package/dist/{vue-ui-wheel-DmPltDq0.js → vue-ui-wheel-6B0WTkf2.js} +34 -33
- package/dist/{vue-ui-word-cloud-D15rS85A.js → vue-ui-word-cloud-ByYZCOh7.js} +42 -41
- package/dist/{vue-ui-world-9lR_bov_.js → vue-ui-world-B9PxVO4n.js} +8 -7
- package/dist/{vue-ui-xy-DnEdi5Hn.js → vue-ui-xy-DtJ7qJib.js} +69 -68
- package/dist/{vue-ui-xy-canvas-BaZZ7r1e.js → vue-ui-xy-canvas-S6YpFgzs.js} +131 -130
- package/package.json +1 -1
- package/dist/img-BOi0vhPf.js +0 -20
- package/dist/vue-ui-treemap-B96LGRM_.js +0 -952
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineAsyncComponent as ce, ref as z, computed as U, watch as Ve, shallowRef as ht, onMounted as
|
|
2
|
-
import { u as Rt, c as Mt, t as Ft, p as q, a as Nt, C as ft, b as Ut, G as Bt, e as Dt, d as He, m as Vt, D as gt, X as qt, j as Ht, k as We, n as Le, i as X, f as D, I as Wt, V as mt, v as Z, x as Ne, y as je } from "./index-
|
|
1
|
+
import { defineAsyncComponent as ce, ref as z, computed as U, watch as Ve, shallowRef as ht, onMounted as Ot, onBeforeUnmount as Tt, nextTick as Me, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as he, createBlock as Fe, createCommentVNode as g, createVNode as fe, unref as f, createSlots as Pt, withCtx as G, renderSlot as M, normalizeProps as ne, guardReactiveProps as ie, toDisplayString as O, createElementVNode as _, Fragment as m, renderList as $, mergeProps as qe } from "vue";
|
|
2
|
+
import { u as Rt, c as Mt, t as Ft, p as q, a as Nt, C as ft, b as Ut, G as Bt, e as Dt, d as He, m as Vt, D as gt, X as qt, j as Ht, k as We, n as Le, i as X, f as D, I as Wt, V as mt, v as Z, x as Ne, y as je } from "./index-DvIXJm6t.js";
|
|
3
3
|
import { t as jt, u as Gt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as pt } from "./useNestedProp-
|
|
5
|
-
import { u as Xt } from "./usePrinter-
|
|
4
|
+
import { u as pt } from "./useNestedProp-DrYHm61t.js";
|
|
5
|
+
import { u as Xt } from "./usePrinter-CWnXbGMb.js";
|
|
6
6
|
import { u as Zt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import { S as Yt } from "./Slicer-
|
|
7
|
+
import { S as Yt } from "./Slicer-BrqtJG2E.js";
|
|
8
8
|
import { u as Jt } from "./useTimeLabels-Mrr0jrpL.js";
|
|
9
9
|
import { _ as Qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const A = {
|
|
@@ -13,22 +13,22 @@ const A = {
|
|
|
13
13
|
DONUT: "DONUT"
|
|
14
14
|
}, Kt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
15
15
|
function ea({ dataset: c, barLineSwitch: C = 6 }) {
|
|
16
|
-
let x = null,
|
|
17
|
-
if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), ze(c) && (Y(c) && (c.length < C ? x = A.BAR : x = A.LINE,
|
|
16
|
+
let x = null, T = null, H = 0;
|
|
17
|
+
if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), ze(c) && (Y(c) && (c.length < C ? x = A.BAR : x = A.LINE, T = c, H = c.length), Ue(c))) {
|
|
18
18
|
if (!aa(c))
|
|
19
19
|
return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
20
20
|
const pe = Object.keys(c[0]), $e = Object.values(c[0]);
|
|
21
21
|
if (!pe.some((F) => la(F)))
|
|
22
22
|
return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
|
|
23
|
-
xt($e, (F) => typeof F == "number") && (x = A.DONUT,
|
|
23
|
+
xt($e, (F) => typeof F == "number") && (x = A.DONUT, T = c), xt($e, (F) => Array.isArray(F) && Y(F)) && (yt(c) > C ? x = A.LINE : x = A.BAR, H = yt(c), T = c.map((F) => ({
|
|
24
24
|
...F,
|
|
25
25
|
data: oa(F, (B) => Y(B))
|
|
26
|
-
}))), c = c.map((F) => kt(F)),
|
|
26
|
+
}))), c = c.map((F) => kt(F)), T = T.map((F) => kt(F));
|
|
27
27
|
}
|
|
28
28
|
return ze(c) && [...new Set(c.flatMap((pe) => Array.isArray(pe)))][0], {
|
|
29
29
|
dataset: c,
|
|
30
30
|
type: x,
|
|
31
|
-
usableDataset:
|
|
31
|
+
usableDataset: T,
|
|
32
32
|
maxSeriesLength: H
|
|
33
33
|
};
|
|
34
34
|
}
|
|
@@ -47,11 +47,11 @@ function Ue(c) {
|
|
|
47
47
|
return !ze(c) || bt(c) || !![...new Set(c.flatMap((x) => typeof x == "object" && !Array.isArray(x)))].includes(!1) ? !1 : !c.map((x) => Object.keys(x).length > 0).includes(!1);
|
|
48
48
|
}
|
|
49
49
|
function ta(c, C) {
|
|
50
|
-
const x = Object.keys(c).sort(),
|
|
51
|
-
if (x.length !==
|
|
50
|
+
const x = Object.keys(c).sort(), T = Object.keys(C).sort();
|
|
51
|
+
if (x.length !== T.length)
|
|
52
52
|
return !1;
|
|
53
53
|
for (let H = 0; H < x.length; H += 1) {
|
|
54
|
-
const ge = x[H], me =
|
|
54
|
+
const ge = x[H], me = T[H];
|
|
55
55
|
if (ge !== me || typeof c[ge] != typeof C[me])
|
|
56
56
|
return !1;
|
|
57
57
|
}
|
|
@@ -70,8 +70,8 @@ function la(c) {
|
|
|
70
70
|
}
|
|
71
71
|
function xt(c, C) {
|
|
72
72
|
let x = [];
|
|
73
|
-
for (let
|
|
74
|
-
x.push(C(c[
|
|
73
|
+
for (let T = 0; T < c.length; T += 1)
|
|
74
|
+
x.push(C(c[T]));
|
|
75
75
|
return x.includes(!0);
|
|
76
76
|
}
|
|
77
77
|
function yt(c) {
|
|
@@ -101,7 +101,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
101
101
|
}, $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = {
|
|
102
102
|
key: 1,
|
|
103
103
|
class: "line-axis"
|
|
104
|
-
}, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"],
|
|
104
|
+
}, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ta = {
|
|
105
105
|
key: 2,
|
|
106
106
|
class: "yLabels"
|
|
107
107
|
}, Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = ["x", "y", "font-size", "fill"], Ma = {
|
|
@@ -134,7 +134,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
134
134
|
}, $l = ["onClick"], Cl = ["onClick"], Il = ["onClick"], El = {
|
|
135
135
|
key: 1,
|
|
136
136
|
class: "vue-ui-quick-chart-not-processable"
|
|
137
|
-
},
|
|
137
|
+
}, Ol = {
|
|
138
138
|
__name: "vue-ui-quick-chart",
|
|
139
139
|
props: {
|
|
140
140
|
config: {
|
|
@@ -152,7 +152,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
152
152
|
},
|
|
153
153
|
emits: ["selectDatapoint", "selectLegend"],
|
|
154
154
|
setup(c, { expose: C, emit: x }) {
|
|
155
|
-
const
|
|
155
|
+
const T = ce(() => import("./BaseIcon-Bn996RXm.js")), H = ce(() => import("./PackageVersion-Bg_9KCU-.js")), ge = ce(() => import("./PenAndPaper-BPTpbnay.js")), me = ce(() => import("./vue-ui-skeleton-BAOt2neL.js")), pe = ce(() => import("./Tooltip-CJxVw7-T.js")), $e = ce(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_quick_chart: F } = Rt(), B = c, xe = z(null), Ge = z(null), Xe = z(null), Ze = z(null), J = z(Mt()), ee = z(!1), ye = z(null), te = z(""), W = z(null), Ye = z(null), Je = z(null), w = z([]), Qe = z(0), Ce = z(0), e = U({
|
|
156
156
|
get: () => at(),
|
|
157
157
|
set: (o) => o
|
|
158
158
|
}), { svgRef: Ke } = Zt({ config: { text: e.value.title } }), St = U(() => e.value.showUserOptionsOnChartHover), et = U(() => e.value.keepUserOptionsStateOnChartLeave), Ie = z(!e.value.showUserOptionsOnChartHover);
|
|
@@ -195,7 +195,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
195
195
|
type: "dataset"
|
|
196
196
|
});
|
|
197
197
|
}, { immediate: !0 });
|
|
198
|
-
const { isPrinting: Ee, isImaging:
|
|
198
|
+
const { isPrinting: Ee, isImaging: Oe, generatePdf: lt, generateImage: ot } = Xt({
|
|
199
199
|
elementId: `${L.value}_${J.value}`,
|
|
200
200
|
fileName: e.value.title || L.value,
|
|
201
201
|
options: e.value.userOptionsPrint
|
|
@@ -205,7 +205,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
205
205
|
}), Se = z({
|
|
206
206
|
showTooltip: e.value.showTooltip
|
|
207
207
|
}), Q = ht(null), re = ht(null);
|
|
208
|
-
|
|
208
|
+
Ot(() => {
|
|
209
209
|
nt();
|
|
210
210
|
});
|
|
211
211
|
function nt() {
|
|
@@ -227,7 +227,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
227
227
|
}
|
|
228
228
|
dt();
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
Tt(() => {
|
|
231
231
|
Q.value && (re.value && Q.value.unobserve(re.value), Q.value.disconnect());
|
|
232
232
|
});
|
|
233
233
|
const _t = U(() => {
|
|
@@ -251,14 +251,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
251
251
|
function ut(o, s) {
|
|
252
252
|
w.value.includes(o) ? w.value = w.value.filter((t) => t !== o) : w.value.length < s && w.value.push(o);
|
|
253
253
|
}
|
|
254
|
-
const rt = z(null), st = z(null),
|
|
254
|
+
const rt = z(null), st = z(null), Te = z(!1);
|
|
255
255
|
function Lt(o, s) {
|
|
256
|
-
|
|
256
|
+
Te.value = !0;
|
|
257
257
|
let t = o.value;
|
|
258
258
|
const u = be.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
|
|
259
259
|
if (w.value.includes(o.id)) {
|
|
260
260
|
let r = function() {
|
|
261
|
-
t > u ? (
|
|
261
|
+
t > u ? (Te.value = !1, cancelAnimationFrame(st.value), p.value = {
|
|
262
262
|
...p.value,
|
|
263
263
|
dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
|
|
264
264
|
...h,
|
|
@@ -277,7 +277,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
277
277
|
w.value = w.value.filter((h) => h !== o.id), r();
|
|
278
278
|
} else if (s.length > 1) {
|
|
279
279
|
let r = function() {
|
|
280
|
-
t < u / 100 ? (
|
|
280
|
+
t < u / 100 ? (Te.value = !1, cancelAnimationFrame(rt.value), w.value.push(o.id), p.value = {
|
|
281
281
|
...p.value,
|
|
282
282
|
dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
|
|
283
283
|
...h,
|
|
@@ -726,7 +726,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
726
726
|
backgroundColor: e.value.backgroundColor,
|
|
727
727
|
color: e.value.color,
|
|
728
728
|
isPrinting: f(Ee),
|
|
729
|
-
isImaging: f(
|
|
729
|
+
isImaging: f(Oe),
|
|
730
730
|
uid: J.value,
|
|
731
731
|
hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
|
|
732
732
|
hasPdf: e.value.userOptionsButtons.pdf,
|
|
@@ -741,6 +741,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
741
741
|
hasAnnotator: e.value.userOptionsButtons.annotator,
|
|
742
742
|
isAnnotation: Re.value,
|
|
743
743
|
callbacks: e.value.userOptionsCallbacks,
|
|
744
|
+
printScale: e.value.userOptionsPrint.scale,
|
|
744
745
|
onToggleFullscreen: Et,
|
|
745
746
|
onGeneratePdf: f(lt),
|
|
746
747
|
onGenerateImage: f(ot),
|
|
@@ -792,14 +793,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
792
793
|
]),
|
|
793
794
|
key: "5"
|
|
794
795
|
} : void 0
|
|
795
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
796
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
796
797
|
e.value.title ? (a(), l("div", {
|
|
797
798
|
key: 3,
|
|
798
799
|
ref_key: "quickChartTitle",
|
|
799
800
|
ref: Ge,
|
|
800
801
|
class: "vue-ui-quick-chart-title",
|
|
801
802
|
style: R(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
|
|
802
|
-
},
|
|
803
|
+
}, O(e.value.title), 5)) : g("", !0),
|
|
803
804
|
L.value ? (a(), l("svg", {
|
|
804
805
|
key: 4,
|
|
805
806
|
ref_key: "svgRef",
|
|
@@ -934,7 +935,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
934
935
|
fill: e.value.color,
|
|
935
936
|
"font-size": e.value.dataLabelFontSize,
|
|
936
937
|
filter: we(t.id)
|
|
937
|
-
},
|
|
938
|
+
}, O(I.value.displayArcPercentage(t, I.value.chart)) + " (" + O(f(X)(
|
|
938
939
|
e.value.formatter,
|
|
939
940
|
t.value,
|
|
940
941
|
f(D)({
|
|
@@ -953,7 +954,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
953
954
|
fill: e.value.color,
|
|
954
955
|
"font-size": e.value.dataLabelFontSize,
|
|
955
956
|
filter: we(t.id)
|
|
956
|
-
},
|
|
957
|
+
}, O(t.name), 9, wa)) : g("", !0)
|
|
957
958
|
], 64))), 256))
|
|
958
959
|
])) : g("", !0),
|
|
959
960
|
e.value.donutShowTotal ? (a(), l("g", Aa, [
|
|
@@ -963,14 +964,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
963
964
|
y: I.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
|
|
964
965
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
965
966
|
fill: e.value.color
|
|
966
|
-
},
|
|
967
|
+
}, O(e.value.donutTotalLabelText), 9, _a),
|
|
967
968
|
_("text", {
|
|
968
969
|
"text-anchor": "middle",
|
|
969
970
|
x: I.value.drawingArea.centerX,
|
|
970
971
|
y: I.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
|
|
971
972
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
972
973
|
fill: e.value.color
|
|
973
|
-
},
|
|
974
|
+
}, O(f(D)({
|
|
974
975
|
p: e.value.valuePrefix,
|
|
975
976
|
v: I.value.total,
|
|
976
977
|
s: e.value.valueSuffix,
|
|
@@ -1020,9 +1021,9 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1020
1021
|
stroke: e.value.xyAxisStroke,
|
|
1021
1022
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1022
1023
|
"stroke-linecap": "round"
|
|
1023
|
-
}, null, 8,
|
|
1024
|
+
}, null, 8, Oa)
|
|
1024
1025
|
])) : g("", !0),
|
|
1025
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
1026
|
+
e.value.xyShowScale ? (a(), l("g", Ta, [
|
|
1026
1027
|
(a(!0), l(m, null, $(v.value.yLabels, (t, u) => (a(), l(m, null, [
|
|
1027
1028
|
t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
|
|
1028
1029
|
key: 0,
|
|
@@ -1041,7 +1042,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1041
1042
|
"text-anchor": "end",
|
|
1042
1043
|
"font-size": e.value.xyLabelsYFontSize,
|
|
1043
1044
|
fill: e.value.color
|
|
1044
|
-
},
|
|
1045
|
+
}, O(f(X)(
|
|
1045
1046
|
e.value.formatter,
|
|
1046
1047
|
t.value,
|
|
1047
1048
|
f(D)({
|
|
@@ -1087,7 +1088,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1087
1088
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1088
1089
|
fill: e.value.color,
|
|
1089
1090
|
transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
1090
|
-
},
|
|
1091
|
+
}, O(t), 9, Ua))
|
|
1091
1092
|
])) : g("", !0)
|
|
1092
1093
|
], 64))), 256))
|
|
1093
1094
|
])) : g("", !0),
|
|
@@ -1154,7 +1155,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1154
1155
|
y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
|
|
1155
1156
|
class: "quick-animation",
|
|
1156
1157
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1157
|
-
},
|
|
1158
|
+
}, O(f(X)(
|
|
1158
1159
|
e.value.formatter,
|
|
1159
1160
|
f(Z)(r.value),
|
|
1160
1161
|
f(D)({
|
|
@@ -1247,7 +1248,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1247
1248
|
"text-anchor": "end",
|
|
1248
1249
|
"font-size": e.value.xyLabelsYFontSize,
|
|
1249
1250
|
fill: e.value.color
|
|
1250
|
-
},
|
|
1251
|
+
}, O(f(X)(
|
|
1251
1252
|
e.value.formatter,
|
|
1252
1253
|
t.value,
|
|
1253
1254
|
f(D)({
|
|
@@ -1275,7 +1276,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1275
1276
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1276
1277
|
transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1277
1278
|
fill: e.value.color
|
|
1278
|
-
},
|
|
1279
|
+
}, O(t), 9, sl))), 256))
|
|
1279
1280
|
])) : g("", !0),
|
|
1280
1281
|
_("g", vl, [
|
|
1281
1282
|
(a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l(m, null, [
|
|
@@ -1290,14 +1291,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1290
1291
|
"stroke-linecap": "round",
|
|
1291
1292
|
class: he({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
|
|
1292
1293
|
}, [
|
|
1293
|
-
e.value.barAnimated && r.value > 0 && !f(Ee) && !f(
|
|
1294
|
+
e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
|
|
1294
1295
|
key: 0,
|
|
1295
1296
|
attributeName: "height",
|
|
1296
1297
|
from: 0,
|
|
1297
1298
|
to: r.height,
|
|
1298
1299
|
dur: "0.5s"
|
|
1299
1300
|
}, null, 8, cl)) : g("", !0),
|
|
1300
|
-
e.value.barAnimated && r.value > 0 && !f(Ee) && !f(
|
|
1301
|
+
e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
|
|
1301
1302
|
key: 1,
|
|
1302
1303
|
attributeName: "y",
|
|
1303
1304
|
from: d.value.absoluteZero,
|
|
@@ -1316,7 +1317,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1316
1317
|
"font-size": e.value.dataLabelFontSize,
|
|
1317
1318
|
fill: t.color,
|
|
1318
1319
|
class: "quick-animation"
|
|
1319
|
-
},
|
|
1320
|
+
}, O(f(X)(
|
|
1320
1321
|
e.value.formatter,
|
|
1321
1322
|
f(Z)(r.value),
|
|
1322
1323
|
f(D)({
|
|
@@ -1354,7 +1355,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1354
1355
|
"text-anchor": "middle",
|
|
1355
1356
|
x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
|
|
1356
1357
|
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1357
|
-
},
|
|
1358
|
+
}, O(e.value.xAxisLabel), 9, kl)
|
|
1358
1359
|
])) : g("", !0),
|
|
1359
1360
|
e.value.xAxisLabel && L.value === A.BAR ? (a(), l("g", bl, [
|
|
1360
1361
|
_("text", {
|
|
@@ -1363,7 +1364,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1363
1364
|
"text-anchor": "middle",
|
|
1364
1365
|
x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
|
|
1365
1366
|
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1366
|
-
},
|
|
1367
|
+
}, O(e.value.xAxisLabel), 9, Sl)
|
|
1367
1368
|
])) : g("", !0),
|
|
1368
1369
|
e.value.yAxisLabel && L.value === A.LINE ? (a(), l("g", wl, [
|
|
1369
1370
|
_("text", {
|
|
@@ -1371,7 +1372,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1371
1372
|
fill: e.value.color,
|
|
1372
1373
|
transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1373
1374
|
"text-anchor": "middle"
|
|
1374
|
-
},
|
|
1375
|
+
}, O(e.value.yAxisLabel), 9, Al)
|
|
1375
1376
|
])) : g("", !0),
|
|
1376
1377
|
e.value.yAxisLabel && L.value === A.BAR ? (a(), l("g", _l, [
|
|
1377
1378
|
_("text", {
|
|
@@ -1379,7 +1380,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1379
1380
|
fill: e.value.color,
|
|
1380
1381
|
transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1381
1382
|
"text-anchor": "middle"
|
|
1382
|
-
},
|
|
1383
|
+
}, O(e.value.yAxisLabel), 9, Ll)
|
|
1383
1384
|
])) : g("", !0)
|
|
1384
1385
|
])) : g("", !0)
|
|
1385
1386
|
], 12, ia)) : g("", !0),
|
|
@@ -1402,7 +1403,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1402
1403
|
}
|
|
1403
1404
|
}, null, 8, ["config"])),
|
|
1404
1405
|
o.$slots.watermark ? (a(), l("div", zl, [
|
|
1405
|
-
M(o.$slots, "watermark", ne(ie({ isPrinting: f(Ee) || f(
|
|
1406
|
+
M(o.$slots, "watermark", ne(ie({ isPrinting: f(Ee) || f(Oe) })), void 0, !0)
|
|
1406
1407
|
])) : g("", !0),
|
|
1407
1408
|
[A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? (a(), l("div", {
|
|
1408
1409
|
key: `slicer_${Ce.value}`,
|
|
@@ -1470,17 +1471,17 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1470
1471
|
key: 0,
|
|
1471
1472
|
ref_for: !0
|
|
1472
1473
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1473
|
-
fe(f(
|
|
1474
|
+
fe(f(T), {
|
|
1474
1475
|
name: e.value.legendIcon,
|
|
1475
1476
|
stroke: t.color,
|
|
1476
1477
|
size: e.value.legendIconSize
|
|
1477
1478
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1478
1479
|
_("span", {
|
|
1479
1480
|
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1480
|
-
},
|
|
1481
|
+
}, O(t.name), 5),
|
|
1481
1482
|
_("span", {
|
|
1482
1483
|
style: R(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
|
|
1483
|
-
},
|
|
1484
|
+
}, O(w.value.includes(t.id) ? "-" : f(X)(
|
|
1484
1485
|
e.value.formatter,
|
|
1485
1486
|
t.absoluteValue,
|
|
1486
1487
|
f(D)({
|
|
@@ -1494,13 +1495,13 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1494
1495
|
w.value.includes(t.id) ? (a(), l("span", {
|
|
1495
1496
|
key: 0,
|
|
1496
1497
|
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1497
|
-
}, " ( - % ) ", 4)) :
|
|
1498
|
+
}, " ( - % ) ", 4)) : Te.value ? (a(), l("span", {
|
|
1498
1499
|
key: 1,
|
|
1499
1500
|
style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
1500
1501
|
}, " ( - % ) ", 4)) : (a(), l("span", {
|
|
1501
1502
|
key: 2,
|
|
1502
1503
|
style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
1503
|
-
}, " (" +
|
|
1504
|
+
}, " (" + O(f(D)({
|
|
1504
1505
|
v: t.value / I.value.total * 100,
|
|
1505
1506
|
s: "%",
|
|
1506
1507
|
r: e.value.dataLabelRoundingPercentage
|
|
@@ -1518,14 +1519,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1518
1519
|
key: 0,
|
|
1519
1520
|
ref_for: !0
|
|
1520
1521
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1521
|
-
fe(f(
|
|
1522
|
+
fe(f(T), {
|
|
1522
1523
|
name: e.value.legendIcon,
|
|
1523
1524
|
stroke: t.color,
|
|
1524
1525
|
size: e.value.legendIconSize
|
|
1525
1526
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1526
1527
|
_("span", {
|
|
1527
1528
|
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1528
|
-
},
|
|
1529
|
+
}, O(t.name), 5)
|
|
1529
1530
|
], 64))
|
|
1530
1531
|
], 12, Cl))), 256)) : g("", !0),
|
|
1531
1532
|
L.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(d.value.legend, (t, u) => (a(), l("div", {
|
|
@@ -1539,14 +1540,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1539
1540
|
key: 0,
|
|
1540
1541
|
ref_for: !0
|
|
1541
1542
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1542
|
-
fe(f(
|
|
1543
|
+
fe(f(T), {
|
|
1543
1544
|
name: e.value.legendIcon,
|
|
1544
1545
|
stroke: t.color,
|
|
1545
1546
|
size: e.value.legendIconSize
|
|
1546
1547
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1547
1548
|
_("span", {
|
|
1548
1549
|
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1549
|
-
},
|
|
1550
|
+
}, O(t.name), 5)
|
|
1550
1551
|
], 64))
|
|
1551
1552
|
], 12, Il))), 256)) : g("", !0)
|
|
1552
1553
|
], 4)) : g("", !0),
|
|
@@ -1583,14 +1584,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1583
1584
|
_: 3
|
|
1584
1585
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
|
|
1585
1586
|
], 46, na)) : (a(), l("div", El, [
|
|
1586
|
-
fe(f(
|
|
1587
|
+
fe(f(T), {
|
|
1587
1588
|
name: "circleCancel",
|
|
1588
1589
|
stroke: "red"
|
|
1589
1590
|
}),
|
|
1590
1591
|
s[8] || (s[8] = _("span", null, "Dataset is not processable", -1))
|
|
1591
1592
|
]));
|
|
1592
1593
|
}
|
|
1593
|
-
}, Vl = /* @__PURE__ */ Qt(
|
|
1594
|
+
}, Vl = /* @__PURE__ */ Qt(Ol, [["__scopeId", "data-v-28f301ff"]]);
|
|
1594
1595
|
export {
|
|
1595
1596
|
Vl as default
|
|
1596
1597
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineAsyncComponent as $, computed as p, ref as c, watch as st, shallowRef as Fe, onMounted as nt, onBeforeUnmount as ut, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as q, normalizeClass as B, createBlock as P, createCommentVNode as d, createElementVNode as x, createVNode as oe, createSlots as it, withCtx as f, renderSlot as g, normalizeProps as L, guardReactiveProps as z, Fragment as
|
|
2
|
-
import { u as dt, c as vt, t as pt, p as F, a as ht, o as gt, e as M, b as ft, g as Ne, d as Ie, R as Re, v as yt, i as Le, f as G, X as mt, s as le, w as bt, S as ze, q as kt, r as Ct, x as wt, y as $t } from "./index-
|
|
1
|
+
import { defineAsyncComponent as $, computed as p, ref as c, watch as st, shallowRef as Fe, onMounted as nt, onBeforeUnmount as ut, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as q, normalizeClass as B, createBlock as P, createCommentVNode as d, createElementVNode as x, createVNode as oe, createSlots as it, withCtx as f, renderSlot as g, normalizeProps as L, guardReactiveProps as z, Fragment as O, renderList as A, toDisplayString as D, createTextVNode as Se, nextTick as ct } from "vue";
|
|
2
|
+
import { u as dt, c as vt, t as pt, p as F, a as ht, o as gt, e as M, b as ft, g as Ne, d as Ie, R as Re, v as yt, i as Le, f as G, X as mt, s as le, w as bt, S as ze, q as kt, r as Ct, x as wt, y as $t } from "./index-DvIXJm6t.js";
|
|
3
3
|
import { t as _t, u as Tt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Me } from "./useNestedProp-
|
|
5
|
-
import { u as Pt } from "./usePrinter-
|
|
4
|
+
import { u as Me } from "./useNestedProp-DrYHm61t.js";
|
|
5
|
+
import { u as Pt } from "./usePrinter-CWnXbGMb.js";
|
|
6
6
|
import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import Ft from "./Title-
|
|
7
|
+
import { u as Ot } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import At from "./Legend-nBXoxXJH.js";
|
|
9
|
+
import Ft from "./Title-Gi81VwUM.js";
|
|
10
10
|
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["id"], zt = ["stop-color"], Mt = ["stop-color"], Vt = { key: 1 }, Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Et = { key: 0 }, Bt = ["d", "stroke", "stroke-width"], Dt = ["d", "stroke", "stroke-width"], Gt = { key: 2 }, Wt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Xt = ["points", "stroke", "stroke-width"], jt = ["points", "stroke", "stroke-width", "fill"], qt = { key: 3 }, Ht = ["cx", "cy", "fill", "r", "stroke"], Yt = {
|
|
12
12
|
key: 5,
|
|
@@ -32,10 +32,10 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend"],
|
|
34
34
|
setup(Ve, { expose: Ue, emit: Ee }) {
|
|
35
|
-
const Be = $(() => import("./DataTable-
|
|
35
|
+
const Be = $(() => import("./DataTable-CHBLjKtZ.js")), De = $(() => import("./PenAndPaper-BPTpbnay.js")), Ge = $(() => import("./vue-ui-accordion-D55kCO5G.js")), We = $(() => import("./vue-ui-skeleton-BAOt2neL.js")), Xe = $(() => import("./Tooltip-CJxVw7-T.js")), je = $(() => import("./UserOptions-CBEK6_jo.js")), qe = $(() => import("./PackageVersion-Bg_9KCU-.js")), He = $(() => import("./vue-ui-sparkbar-BnHhzuKf.js")), { vue_ui_radar: Ye } = dt(), h = Ve, V = p(() => !!h.dataset && Object.keys(h.dataset).length), _ = c(vt()), Je = c(null), H = c(!1), Y = c(""), re = c(0), U = c(null), se = c(null), ne = c(null), ue = c(null), ie = c(null), ce = c(0), de = c(0), ve = c(0), e = p({
|
|
36
36
|
get: () => fe(),
|
|
37
37
|
set: (t) => t
|
|
38
|
-
}), { userOptionsVisible: J, setUserOptionsVisibility: pe, keepUserOptionState: he } = xt({ config: e.value }), { svgRef: ge } =
|
|
38
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: pe, keepUserOptionState: he } = xt({ config: e.value }), { svgRef: ge } = Ot({ config: e.value.style.chart.title });
|
|
39
39
|
function fe() {
|
|
40
40
|
const t = Me({
|
|
41
41
|
userConfig: h.config,
|
|
@@ -322,10 +322,10 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
322
322
|
function rt(t) {
|
|
323
323
|
R.value = t, re.value += 1;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Oe() {
|
|
326
326
|
m.value.showTable = !m.value.showTable;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Ae() {
|
|
329
329
|
m.value.showTooltip = !m.value.showTooltip;
|
|
330
330
|
}
|
|
331
331
|
const j = c(!1);
|
|
@@ -337,8 +337,8 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
337
337
|
generatePdf: ke,
|
|
338
338
|
generateCsv: xe,
|
|
339
339
|
generateImage: Ce,
|
|
340
|
-
toggleTable:
|
|
341
|
-
toggleTooltip:
|
|
340
|
+
toggleTable: Oe,
|
|
341
|
+
toggleTooltip: Ae,
|
|
342
342
|
toggleAnnotator: te
|
|
343
343
|
}), (t, a) => (r(), u("div", {
|
|
344
344
|
class: B(`vue-ui-radar ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -407,12 +407,13 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
407
407
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
408
408
|
isAnnotation: j.value,
|
|
409
409
|
callbacks: e.value.userOptions.callbacks,
|
|
410
|
+
printScale: e.value.userOptions.print.scale,
|
|
410
411
|
onToggleFullscreen: rt,
|
|
411
412
|
onGeneratePdf: n(ke),
|
|
412
413
|
onGenerateCsv: xe,
|
|
413
414
|
onGenerateImage: n(Ce),
|
|
414
|
-
onToggleTable:
|
|
415
|
-
onToggleTooltip:
|
|
415
|
+
onToggleTable: Oe,
|
|
416
|
+
onToggleTooltip: Ae,
|
|
416
417
|
onToggleAnnotator: te,
|
|
417
418
|
style: q({
|
|
418
419
|
visibility: n(he) ? n(J) ? "visible" : "hidden" : "visible"
|
|
@@ -474,7 +475,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
474
475
|
]),
|
|
475
476
|
key: "7"
|
|
476
477
|
} : void 0
|
|
477
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
478
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
478
479
|
V.value ? (r(), u("svg", {
|
|
479
480
|
key: 4,
|
|
480
481
|
ref_key: "svgRef",
|
|
@@ -498,7 +499,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
498
499
|
g(t.$slots, "chart-background", {}, void 0, !0)
|
|
499
500
|
], 8, Rt)) : d("", !0),
|
|
500
501
|
x("defs", null, [
|
|
501
|
-
(r(!0), u(
|
|
502
|
+
(r(!0), u(O, null, A(y.value, (o, l) => (r(), u("radialGradient", {
|
|
502
503
|
cx: "50%",
|
|
503
504
|
cy: "50%",
|
|
504
505
|
r: "50%",
|
|
@@ -517,7 +518,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
517
518
|
], 8, Lt))), 256))
|
|
518
519
|
]),
|
|
519
520
|
e.value.style.chart.layout.grid.show ? (r(), u("g", Vt, [
|
|
520
|
-
(r(!0), u(
|
|
521
|
+
(r(!0), u(O, null, A(w.value, (o) => (r(), u("line", {
|
|
521
522
|
x1: i.value.width / 2,
|
|
522
523
|
y1: i.value.height / 2,
|
|
523
524
|
x2: o.x,
|
|
@@ -526,7 +527,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
526
527
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
527
528
|
}, null, 8, Ut))), 256)),
|
|
528
529
|
e.value.style.chart.layout.grid.graduations > 0 ? (r(), u("g", Et, [
|
|
529
|
-
(r(!0), u(
|
|
530
|
+
(r(!0), u(O, null, A(tt.value, (o) => (r(), u("path", {
|
|
530
531
|
d: n(Re)({
|
|
531
532
|
plot: { x: i.value.width / 2, y: i.value.height / 2 },
|
|
532
533
|
radius: o,
|
|
@@ -548,7 +549,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
548
549
|
"stroke-linecap": "round"
|
|
549
550
|
}, null, 8, Dt),
|
|
550
551
|
e.value.style.chart.layout.labels.dataLabels.show ? (r(), u("g", Gt, [
|
|
551
|
-
(r(!0), u(
|
|
552
|
+
(r(!0), u(O, null, A(w.value, (o, l) => (r(), u("text", {
|
|
552
553
|
x: Q(o).x,
|
|
553
554
|
y: Q(o).y,
|
|
554
555
|
"text-anchor": Q(o).anchor,
|
|
@@ -560,7 +561,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
560
561
|
})
|
|
561
562
|
}, D(o.name), 41, Wt))), 256))
|
|
562
563
|
])) : d("", !0),
|
|
563
|
-
(r(!0), u(
|
|
564
|
+
(r(!0), u(O, null, A(y.value, (o, l) => (r(), u("g", null, [
|
|
564
565
|
x("g", null, [
|
|
565
566
|
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), u("polygon", {
|
|
566
567
|
key: 0,
|
|
@@ -581,8 +582,8 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
581
582
|
])
|
|
582
583
|
]))), 256)),
|
|
583
584
|
e.value.style.chart.layout.plots.show ? (r(), u("g", qt, [
|
|
584
|
-
(r(!0), u(
|
|
585
|
-
(r(!0), u(
|
|
585
|
+
(r(!0), u(O, null, A(w.value, (o, l) => (r(), u("g", null, [
|
|
586
|
+
(r(!0), u(O, null, A(o.plots, (s, b) => (r(), u("circle", {
|
|
586
587
|
cx: s.x,
|
|
587
588
|
cy: s.y,
|
|
588
589
|
fill: v.value.includes(b) ? "transparent" : y.value[b].color,
|
|
@@ -619,7 +620,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
619
620
|
ref_key: "chartLegend",
|
|
620
621
|
ref: ne
|
|
621
622
|
}, [
|
|
622
|
-
e.value.style.chart.legend.show ? (r(), P(
|
|
623
|
+
e.value.style.chart.legend.show ? (r(), P(At, {
|
|
623
624
|
key: `legend_${ve.value}`,
|
|
624
625
|
legendSet: I.value,
|
|
625
626
|
config: ot.value,
|
|
@@ -719,7 +720,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
719
720
|
}, 8, ["config"])) : d("", !0)
|
|
720
721
|
], 46, Nt));
|
|
721
722
|
}
|
|
722
|
-
}, ca = /* @__PURE__ */ St(Qt, [["__scopeId", "data-v-
|
|
723
|
+
}, ca = /* @__PURE__ */ St(Qt, [["__scopeId", "data-v-803098ef"]]);
|
|
723
724
|
export {
|
|
724
725
|
ca as default
|
|
725
726
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as $, useSlots as J, onMounted as R, computed as x, watch as Q, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as B, renderList as Z, renderSlot as j, mergeProps as O, withKeys as ee } from "vue";
|
|
2
|
-
import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, _ as I } from "./index-
|
|
3
|
-
import { u as ie } from "./useNestedProp-
|
|
2
|
+
import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, _ as I } from "./index-DvIXJm6t.js";
|
|
3
|
+
import { u as ie } from "./useNestedProp-DrYHm61t.js";
|
|
4
4
|
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const ne = {
|
|
6
6
|
key: 0,
|