vue-data-ui 3.0.0-next.72 → 3.0.0-next.74
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-CMSMde41.js → Arrow-DlebInbO.js} +1 -1
- package/dist/{BaseDraggableDialog-BuO_En6p.js → BaseDraggableDialog-tQB04SOs.js} +2 -2
- package/dist/{BaseIcon-C_HE-fPU.js → BaseIcon-DxXLzb15.js} +1 -1
- package/dist/{ColorPicker-Cn82Up5w.js → ColorPicker-Bpc6e5mE.js} +2 -2
- package/dist/{DataTable-DMCB2CPj.js → DataTable-CuJplxJU.js} +2 -2
- package/dist/{Legend-C96fnhZD.js → Legend-ioFJsYH-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BRi2CtMk.js → NonSvgPenAndPaper-CH2Z9b2e.js} +3 -3
- package/dist/{PackageVersion-B8cypgdJ.js → PackageVersion-Cqvb9VXZ.js} +1 -1
- package/dist/{PenAndPaper-DjXtQYum.js → PenAndPaper-BqhD2pOj.js} +3 -3
- package/dist/{Shape-DZSz-yYr.js → Shape-CSkkoa5p.js} +1 -1
- package/dist/{Slicer-BOc4PzAR.js → Slicer-Dsw544JD.js} +2 -2
- package/dist/{SparkTooltip-4K9Ezba0.js → SparkTooltip-CwUOWLYh.js} +1 -1
- package/dist/{Title-DnqOjg_N.js → Title-DM17sbc-.js} +1 -1
- package/dist/{Tooltip-Cy2owh0T.js → Tooltip-DSoDpjRJ.js} +1 -1
- package/dist/{UserOptions-Tx_9Xl_c.js → UserOptions-gH1Ahkhe.js} +2 -2
- package/dist/{dom-to-png-CDSxjzSn.js → dom-to-png-BHtbi9J3.js} +1 -1
- package/dist/{img-D_LTOBii.js → img-WAJVcEH2.js} +1 -1
- package/dist/{index-Bzm4bjdY.js → index-Be3YloBf.js} +862 -778
- package/dist/{pdf-BZQLWJMc.js → pdf-BgW32I8a.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +71 -22
- package/dist/types/vue-data-ui.d.ts +71 -22
- package/dist/{useAutoSizeLabelsInsideViewbox-Rg0B250v.js → useAutoSizeLabelsInsideViewbox-BF4GVlCH.js} +1 -1
- package/dist/{useNestedProp-FhaE2yv-.js → useNestedProp-BPkXaKa1.js} +1 -1
- package/dist/{usePrinter-DZsH7qQs.js → usePrinter-BV33Qwmk.js} +2 -2
- package/dist/{vue-data-ui-0ns7pHNm.js → vue-data-ui-DD8WUltQ.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CY9hrF9C.js → vue-ui-3d-bar-Dxjd1sN7.js} +6 -6
- package/dist/{vue-ui-accordion-ywMTtl25.js → vue-ui-accordion-KpWnxkbY.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Qd4BtrXy.js → vue-ui-age-pyramid-BD2EOye9.js} +59 -58
- package/dist/{vue-ui-annotator-DmOJnYF9.js → vue-ui-annotator-DE6HLQ7K.js} +2 -2
- package/dist/{vue-ui-bullet-B_xIDBAw.js → vue-ui-bullet-vQsnc5Td.js} +7 -7
- package/dist/{vue-ui-candlestick-D3Vsh4Rw.js → vue-ui-candlestick-DiuBIQFo.js} +96 -95
- package/dist/{vue-ui-carousel-table-D0UgiRmJ.js → vue-ui-carousel-table-IWjiIJOo.js} +4 -4
- package/dist/{vue-ui-chestnut-CbMOcXYQ.js → vue-ui-chestnut-867kjoDn.js} +5 -5
- package/dist/{vue-ui-chord-DDzp12Vp.js → vue-ui-chord-DkfouYyb.js} +8 -8
- package/dist/vue-ui-circle-pack-BgIxgce3.js +709 -0
- package/dist/{vue-ui-cursor-Bg-6DHbI.js → vue-ui-cursor-DKwYaoFO.js} +2 -2
- package/dist/{vue-ui-dashboard-DY2lvJ7A.js → vue-ui-dashboard-nb_Tdvwb.js} +62 -62
- package/dist/{vue-ui-digits-De2GmG2N.js → vue-ui-digits-DZ3HnXon.js} +2 -2
- package/dist/{vue-ui-donut-BWQ6g1O7.js → vue-ui-donut-CzCl9JR8.js} +8 -8
- package/dist/{vue-ui-donut-evolution-DAzSv9V-.js → vue-ui-donut-evolution-BQ2OSYUs.js} +12 -11
- package/dist/{vue-ui-dumbbell-B32YuCNM.js → vue-ui-dumbbell-BqXhujgy.js} +11 -10
- package/dist/{vue-ui-flow-BZkt6OKd.js → vue-ui-flow-DJk5nDXA.js} +7 -7
- package/dist/{vue-ui-funnel-8WAXLQAo.js → vue-ui-funnel-BDwH3FtD.js} +6 -6
- package/dist/{vue-ui-galaxy-gfw2BThf.js → vue-ui-galaxy-EY8HRZXp.js} +5 -5
- package/dist/{vue-ui-gauge-Ch5vl4T9.js → vue-ui-gauge-DMcHPKUR.js} +7 -7
- package/dist/{vue-ui-gizmo-CU8ddGLr.js → vue-ui-gizmo-6FSB-WDl.js} +3 -3
- package/dist/{vue-ui-heatmap-YO1tESN5.js → vue-ui-heatmap-C_xD3d6M.js} +13 -13
- package/dist/{vue-ui-history-plot-C41s9ybF.js → vue-ui-history-plot-2xIA6g8q.js} +38 -37
- package/dist/{vue-ui-kpi-H6MYZwLY.js → vue-ui-kpi-BrjdXiVR.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bnjg3O7d.js → vue-ui-mini-loader-itxvZl1j.js} +2 -2
- package/dist/{vue-ui-molecule-DF4leieh.js → vue-ui-molecule-B1CXM01Y.js} +5 -5
- package/dist/{vue-ui-mood-radar-NrPILZdk.js → vue-ui-mood-radar-C2lpLvo4.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BLnO_Mgf.js → vue-ui-nested-donuts-ByE-C9zx.js} +9 -9
- package/dist/{vue-ui-onion-66T65iJH.js → vue-ui-onion-D6xfskcr.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-B5N_TkrQ.js → vue-ui-parallel-coordinate-plot-Dx_-SFUT.js} +38 -37
- package/dist/{vue-ui-quadrant-BoCrqBMk.js → vue-ui-quadrant-C6SCZK03.js} +8 -8
- package/dist/{vue-ui-quick-chart-B0VC0eh-.js → vue-ui-quick-chart-ENmRTJJa.js} +72 -71
- package/dist/{vue-ui-radar-CFVWdaIn.js → vue-ui-radar-DfdSM-Il.js} +8 -8
- package/dist/{vue-ui-rating-A58gcO8T.js → vue-ui-rating-CHMK4MLu.js} +2 -2
- package/dist/{vue-ui-relation-circle-DU5SHiGv.js → vue-ui-relation-circle-DwuyPmGj.js} +7 -7
- package/dist/{vue-ui-ridgeline-DbL2yTIh.js → vue-ui-ridgeline-CvyCWHmy.js} +16 -12
- package/dist/{vue-ui-rings-Bv6MCURJ.js → vue-ui-rings-DuRAZ4PD.js} +8 -8
- package/dist/{vue-ui-scatter-BmN7rTrR.js → vue-ui-scatter-Cj4In9o1.js} +8 -8
- package/dist/{vue-ui-skeleton-C4h4fFuO.js → vue-ui-skeleton-DpHEVrfC.js} +3 -3
- package/dist/{vue-ui-smiley-7OtzDLyY.js → vue-ui-smiley-Dvi-xiM1.js} +2 -2
- package/dist/{vue-ui-spark-trend-CDJGeE9c.js → vue-ui-spark-trend-Bq7OOC27.js} +3 -3
- package/dist/{vue-ui-sparkbar-D77zOuEC.js → vue-ui-sparkbar-Ct7dyPaA.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BksxAHf4.js → vue-ui-sparkgauge-BZHWmTFZ.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-dgigFSzZ.js → vue-ui-sparkhistogram-CCa5tbpq.js} +4 -4
- package/dist/{vue-ui-sparkline-Dy1tSgMy.js → vue-ui-sparkline-bZCi8CR7.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DVPYzftP.js → vue-ui-sparkstackbar-CJX-bUJj.js} +3 -3
- package/dist/{vue-ui-stackbar-BSsTXQJ2.js → vue-ui-stackbar-DALCNLjV.js} +13 -12
- package/dist/{vue-ui-strip-plot-F41CWin2.js → vue-ui-strip-plot-dvRLKPb2.js} +11 -10
- package/dist/{vue-ui-table-BmnsgnjO.js → vue-ui-table-BotcBqEH.js} +3 -3
- package/dist/{vue-ui-table-heatmap-GuaexCA-.js → vue-ui-table-heatmap-Ac60woo0.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DktY9A1C.js → vue-ui-table-sparkline-CUEGfm0y.js} +4 -4
- package/dist/{vue-ui-thermometer-EhgTVfFj.js → vue-ui-thermometer-DgzA1aXg.js} +7 -7
- package/dist/{vue-ui-timer-Cd3Yt7HA.js → vue-ui-timer-ZMIxKbzb.js} +5 -5
- package/dist/{vue-ui-tiremarks-DjDnFHWc.js → vue-ui-tiremarks-Cj8qpTiw.js} +6 -6
- package/dist/{vue-ui-treemap-BGLUEQit.js → vue-ui-treemap-BhPlPsmp.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DhVF0WZY.js → vue-ui-vertical-bar-CI6CfNMA.js} +9 -9
- package/dist/{vue-ui-waffle-gXnHM7Qo.js → vue-ui-waffle-Kht4b0uT.js} +8 -8
- package/dist/{vue-ui-wheel-Ce2IQFq7.js → vue-ui-wheel-CbbKmXVB.js} +6 -6
- package/dist/{vue-ui-word-cloud-BDFn0rUl.js → vue-ui-word-cloud-5zpZS9-4.js} +6 -6
- package/dist/{vue-ui-world-Cev3j25p.js → vue-ui-world-e0l9EEdQ.js} +6 -6
- package/dist/{vue-ui-xy-CNMFnao9.js → vue-ui-xy-DxjJ5aYg.js} +13 -12
- package/dist/{vue-ui-xy-canvas-B04eI10U.js → vue-ui-xy-canvas-DKMqvCTi.js} +8 -8
- package/package.json +1 -1
- package/dist/vue-ui-circle-pack-DOXx17NQ.js +0 -673
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as $e, ref as w, computed as N, toRefs as ta, watch as Ie, shallowRef as $t, onMounted as aa, onBeforeUnmount as It, nextTick as Et, watchEffect as la, createElementBlock as o, openBlock as l, normalizeStyle as O, normalizeClass as ce, createBlock as qe, createCommentVNode as g, createVNode as ke, unref as r, createSlots as oa, withCtx as K, renderSlot as U, normalizeProps as he, guardReactiveProps as fe, toDisplayString as F, createElementVNode as z, Fragment as p, renderList as I, mergeProps as et } from "vue";
|
|
2
|
-
import { u as na, c as ia, t as ua, a as ra, p as j, b as sa, C as We, d as va, G as da, f as ca, o as ha, e as tt, m as fa, D as
|
|
2
|
+
import { u as na, c as ia, t as ua, a as ra, p as j, b as sa, C as We, d as va, G as da, f as ca, o as ha, e as tt, m as fa, D as Pt, X as ga, n as ma, q as at, r as Ee, k as ee, i as W, I as Tt, V as Ot, h as te, y as Xe, z as lt } from "./index-Be3YloBf.js";
|
|
3
3
|
import { t as Rt, u as pa } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as xa } from "./usePrinter-
|
|
5
|
-
import { u as Mt } from "./useNestedProp-
|
|
4
|
+
import { u as xa } from "./usePrinter-BV33Qwmk.js";
|
|
5
|
+
import { u as Mt } from "./useNestedProp-BPkXaKa1.js";
|
|
6
6
|
import { u as ya } from "./useTimeLabels-DkzmKfZn.js";
|
|
7
7
|
import { u as ka } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
8
|
import { u as ba } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
9
|
-
import Sa from "./img-
|
|
10
|
-
import { S as wa } from "./Slicer-
|
|
9
|
+
import Sa from "./img-WAJVcEH2.js";
|
|
10
|
+
import { S as wa } from "./Slicer-Dsw544JD.js";
|
|
11
11
|
import { u as Aa, B as La } from "./useLoading-D7YHNtLX.js";
|
|
12
12
|
import { _ as _a } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const _ = {
|
|
@@ -15,20 +15,20 @@ const _ = {
|
|
|
15
15
|
BAR: "BAR",
|
|
16
16
|
DONUT: "DONUT"
|
|
17
17
|
}, za = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
18
|
-
function Ca({ dataset: h, barLineSwitch:
|
|
18
|
+
function Ca({ dataset: h, barLineSwitch: T = 6, debug: S = !0 }) {
|
|
19
19
|
let B = null, H = null, le = 0;
|
|
20
|
-
if ((typeof h == "number" || typeof h == "string") && S && console.warn(`The provided dataset (${h}) is not sufficient to build a chart`),
|
|
20
|
+
if ((typeof h == "number" || typeof h == "string") && S && console.warn(`The provided dataset (${h}) is not sufficient to build a chart`), Pe(h) && (ae(h) && (h.length < T ? B = _.BAR : B = _.LINE, H = h, le = h.length), je(h))) {
|
|
21
21
|
if (!Ia(h))
|
|
22
22
|
return S && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
23
23
|
const Se = Object.keys(h[0]), M = Object.values(h[0]);
|
|
24
24
|
if (!Se.some((R) => Ea(R)))
|
|
25
25
|
return S && 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;
|
|
26
|
-
Ft(M, (R) => typeof R == "number") && (B = _.DONUT, H = h), Ft(M, (R) => Array.isArray(R) && ae(R)) && (Nt(h) >
|
|
26
|
+
Ft(M, (R) => typeof R == "number") && (B = _.DONUT, H = h), Ft(M, (R) => Array.isArray(R) && ae(R)) && (Nt(h) > T ? B = _.LINE : B = _.BAR, le = Nt(h), H = h.map((R) => ({
|
|
27
27
|
...R,
|
|
28
|
-
data:
|
|
28
|
+
data: Pa(R, (Te) => ae(Te))
|
|
29
29
|
}))), h = h.map((R) => Bt(R)), H = H.map((R) => Bt(R));
|
|
30
30
|
}
|
|
31
|
-
return
|
|
31
|
+
return Pe(h) && [...new Set(h.flatMap((Se) => Array.isArray(Se)))][0], {
|
|
32
32
|
dataset: h,
|
|
33
33
|
type: B,
|
|
34
34
|
usableDataset: H,
|
|
@@ -36,60 +36,60 @@ function Ca({ dataset: h, barLineSwitch: P = 6, debug: S = !0 }) {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
function Dt(h) {
|
|
39
|
-
return !h ||
|
|
39
|
+
return !h || Pe(h) && !h.length;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Pe(h) {
|
|
42
42
|
return Array.isArray(h);
|
|
43
43
|
}
|
|
44
44
|
function ae(h) {
|
|
45
|
-
if (!
|
|
46
|
-
const
|
|
47
|
-
return ![...new Set(
|
|
45
|
+
if (!Pe(h) || Dt(h)) return !1;
|
|
46
|
+
const T = h.map((S) => Number(S));
|
|
47
|
+
return ![...new Set(T.flatMap((S) => typeof S == "number" && !isNaN(S)))].includes(!1);
|
|
48
48
|
}
|
|
49
49
|
function je(h) {
|
|
50
|
-
return !
|
|
50
|
+
return !Pe(h) || Dt(h) || !![...new Set(h.flatMap((S) => typeof S == "object" && !Array.isArray(S)))].includes(!1) ? !1 : !h.map((S) => Object.keys(S).length > 0).includes(!1);
|
|
51
51
|
}
|
|
52
|
-
function $a(h,
|
|
53
|
-
const S = Object.keys(h).sort(), B = Object.keys(
|
|
52
|
+
function $a(h, T) {
|
|
53
|
+
const S = Object.keys(h).sort(), B = Object.keys(T).sort();
|
|
54
54
|
if (S.length !== B.length)
|
|
55
55
|
return !1;
|
|
56
56
|
for (let H = 0; H < S.length; H += 1) {
|
|
57
57
|
const le = S[H], be = B[H];
|
|
58
|
-
if (le !== be || typeof h[le] != typeof
|
|
58
|
+
if (le !== be || typeof h[le] != typeof T[be])
|
|
59
59
|
return !1;
|
|
60
60
|
}
|
|
61
61
|
return !0;
|
|
62
62
|
}
|
|
63
63
|
function Ia(h) {
|
|
64
64
|
if (h.length <= 1) return !0;
|
|
65
|
-
for (let
|
|
66
|
-
for (let S =
|
|
67
|
-
if (!$a(h[
|
|
65
|
+
for (let T = 0; T < h.length; T += 1)
|
|
66
|
+
for (let S = T + 1; S < h.length; S += 1)
|
|
67
|
+
if (!$a(h[T], h[S]))
|
|
68
68
|
return !1;
|
|
69
69
|
return !0;
|
|
70
70
|
}
|
|
71
71
|
function Ea(h) {
|
|
72
72
|
return za.includes(h.toUpperCase());
|
|
73
73
|
}
|
|
74
|
-
function Ft(h,
|
|
74
|
+
function Ft(h, T) {
|
|
75
75
|
let S = [];
|
|
76
76
|
for (let B = 0; B < h.length; B += 1)
|
|
77
|
-
S.push(
|
|
77
|
+
S.push(T(h[B]));
|
|
78
78
|
return S.includes(!0);
|
|
79
79
|
}
|
|
80
80
|
function Nt(h) {
|
|
81
|
-
return Math.max(...[...h].flatMap((
|
|
81
|
+
return Math.max(...[...h].flatMap((T) => Object.values(T).filter((S) => ae(S)).map((S) => S.length)));
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return Object.values(h).filter((S) =>
|
|
83
|
+
function Pa(h, T) {
|
|
84
|
+
return Object.values(h).filter((S) => T(S))[0];
|
|
85
85
|
}
|
|
86
86
|
function Bt(h) {
|
|
87
|
-
const
|
|
87
|
+
const T = {};
|
|
88
88
|
for (let S in h)
|
|
89
|
-
h.hasOwnProperty(S) && (
|
|
90
|
-
return
|
|
89
|
+
h.hasOwnProperty(S) && (T[S.toUpperCase()] = h[S]);
|
|
90
|
+
return T;
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const Ta = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"], Ma = ["x", "y", "width", "height"], Fa = ["width", "height"], Na = ["id"], Ba = ["id"], Da = ["id"], Ua = ["flood-color"], Va = {
|
|
93
93
|
key: 0,
|
|
94
94
|
class: "donut-label-connectors"
|
|
95
95
|
}, Ha = ["d", "stroke", "stroke-width", "filter"], qa = ["cx", "cy", "r", "fill", "filter"], Wa = { class: "donut" }, Xa = ["d", "fill", "stroke", "stroke-width", "filter"], ja = ["d", "onMouseenter", "onMouseout", "onClick"], Ga = {
|
|
@@ -119,7 +119,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
119
119
|
}, _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Cl = {
|
|
120
120
|
key: 1,
|
|
121
121
|
class: "line-axis"
|
|
122
|
-
}, $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], El = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"],
|
|
122
|
+
}, $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], El = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pl = ["x", "y", "font-size", "fill"], Tl = {
|
|
123
123
|
key: 3,
|
|
124
124
|
class: "periodLabels"
|
|
125
125
|
}, Ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rl = { key: 0 }, Ml = ["font-size", "text-anchor", "fill", "transform"], Fl = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], Nl = { class: "plots" }, Bl = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Dl = ["to"], Ul = ["from", "to"], Vl = {
|
|
@@ -154,8 +154,8 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
156
|
emits: ["selectDatapoint", "selectLegend"],
|
|
157
|
-
setup(h, { expose:
|
|
158
|
-
const B = $e(() => import("./BaseIcon-
|
|
157
|
+
setup(h, { expose: T, emit: S }) {
|
|
158
|
+
const B = $e(() => import("./BaseIcon-DxXLzb15.js")), H = $e(() => import("./PackageVersion-Cqvb9VXZ.js")), le = $e(() => import("./PenAndPaper-BqhD2pOj.js")), be = $e(() => import("./Tooltip-DSoDpjRJ.js")), ot = $e(() => import("./UserOptions-gH1Ahkhe.js")), { vue_ui_quick_chart: Se } = na(), M = h, R = w(null), Te = w(null), nt = w(null), it = w(null), oe = w(ia()), re = w(!1), we = w(null), se = w(""), Y = w(null), ut = w(null), rt = w(null), A = w([]), st = w(0), Oe = w(0), Z = w(null), Re = w(null), vt = w(null), dt = w(null), Me = w("#FFFFFF"), e = w(Ze()), Ge = N(() => !!e.value.debug), { loading: D, FINAL_DATASET: Ut, manualLoading: ct } = Aa({
|
|
159
159
|
...ta(M),
|
|
160
160
|
FINAL_CONFIG: e,
|
|
161
161
|
prepareConfig: Ze,
|
|
@@ -249,7 +249,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
249
249
|
const a = Rt(() => {
|
|
250
250
|
const { width: c, height: t } = pa({
|
|
251
251
|
chart: R.value,
|
|
252
|
-
title: e.value.title ?
|
|
252
|
+
title: e.value.title ? Te.value : null,
|
|
253
253
|
legend: e.value.showLegend ? nt.value : null,
|
|
254
254
|
slicer: [_.BAR, _.LINE].includes($.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? it.value : null,
|
|
255
255
|
source: ut.value,
|
|
@@ -336,7 +336,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
336
336
|
function jt(a) {
|
|
337
337
|
J.value = a;
|
|
338
338
|
}
|
|
339
|
-
const wt = N(() => e.value.donutThicknessRatio < 0.01 ? 0.01 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio),
|
|
339
|
+
const wt = N(() => e.value.donutThicknessRatio < 0.01 ? 0.01 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), P = N(() => {
|
|
340
340
|
if ($.value !== _.DONUT) return null;
|
|
341
341
|
const a = k.value.dataset.map((f, C) => ({
|
|
342
342
|
...f,
|
|
@@ -539,7 +539,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
539
539
|
max: Math.max(...i.filter((v) => !A.value.includes(v.id)).flatMap((v) => v.values)),
|
|
540
540
|
min: Math.min(...i.filter((v) => !A.value.includes(v.id)).flatMap((v) => v.values)),
|
|
541
541
|
maxSeries: Math.max(...i.map((v) => v.values.length))
|
|
542
|
-
}, x =
|
|
542
|
+
}, x = Pt(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), L = u.min < 0 ? Math.abs(u.min) : 0, ie = u.max < 0 ? t.top : t.bottom - L / (x.max + L) * t.height, X = t.width / u.maxSeries, ye = x.ticks.map((v) => ({
|
|
543
543
|
y: t.bottom - t.height * ((v + L) / (x.max + L)),
|
|
544
544
|
x: t.left - 8,
|
|
545
545
|
value: v
|
|
@@ -671,7 +671,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
671
671
|
max: Math.max(...i.filter((n) => !A.value.includes(n.id)).flatMap((n) => n.values)) < 0 ? 0 : Math.max(...i.filter((n) => !A.value.includes(n.id)).flatMap((n) => n.values)),
|
|
672
672
|
min: Math.min(...i.filter((n) => !A.value.includes(n.id)).flatMap((n) => n.values)),
|
|
673
673
|
maxSeries: Math.max(...i.filter((n) => !A.value.includes(n.id)).map((n) => n.values.length))
|
|
674
|
-
}, x =
|
|
674
|
+
}, x = Pt(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), L = x.min < 0 ? Math.abs(x.min) : 0, ie = t.bottom - L / (x.max + L) * t.height, X = t.width / u.maxSeries, ye = x.ticks.map((n) => ({
|
|
675
675
|
y: t.bottom - t.height * ((n + L) / (x.max + L)),
|
|
676
676
|
x: t.left - 8,
|
|
677
677
|
value: n
|
|
@@ -808,11 +808,12 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
808
808
|
slicer: m,
|
|
809
809
|
configRef: e,
|
|
810
810
|
rotationPath: ["xyPeriodLabelsRotation"],
|
|
811
|
-
autoRotatePath: ["xyPeriodLabelsAutoRotate"],
|
|
811
|
+
autoRotatePath: ["xyPeriodLabelsAutoRotate", "enable"],
|
|
812
812
|
isAutoSize: !1,
|
|
813
|
+
rotation: e.value.xyPeriodLabelsAutoRotate.angle,
|
|
813
814
|
height: ea.value,
|
|
814
815
|
width: Kt.value
|
|
815
|
-
}),
|
|
816
|
+
}), T({
|
|
816
817
|
getImage: Qt,
|
|
817
818
|
generatePdf: mt,
|
|
818
819
|
generateImage: pt,
|
|
@@ -921,7 +922,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
921
922
|
e.value.title ? (l(), o("div", {
|
|
922
923
|
key: 3,
|
|
923
924
|
ref_key: "quickChartTitle",
|
|
924
|
-
ref:
|
|
925
|
+
ref: Te,
|
|
925
926
|
class: "vue-ui-quick-chart-title",
|
|
926
927
|
style: O(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
|
|
927
928
|
}, F(e.value.title), 5)) : g("", !0),
|
|
@@ -1003,8 +1004,8 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1003
1004
|
]),
|
|
1004
1005
|
$.value === _.DONUT ? (l(), o(p, { key: 3 }, [
|
|
1005
1006
|
e.value.showDataLabels ? (l(), o("g", Va, [
|
|
1006
|
-
(l(!0), o(p, null, I(
|
|
1007
|
-
|
|
1007
|
+
(l(!0), o(p, null, I(P.value.chart, (t, i) => (l(), o(p, null, [
|
|
1008
|
+
P.value.isArcBigEnough(t) ? (l(), o("path", {
|
|
1008
1009
|
key: 0,
|
|
1009
1010
|
d: r(ma)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * wt.value, 12, e.value.donutCurvedMarkers),
|
|
1010
1011
|
stroke: t.color,
|
|
@@ -1017,31 +1018,31 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1017
1018
|
], 64))), 256))
|
|
1018
1019
|
])) : g("", !0),
|
|
1019
1020
|
z("circle", {
|
|
1020
|
-
cx:
|
|
1021
|
-
cy:
|
|
1022
|
-
r:
|
|
1021
|
+
cx: P.value.cx,
|
|
1022
|
+
cy: P.value.cy,
|
|
1023
|
+
r: P.value.radius,
|
|
1023
1024
|
fill: e.value.backgroundColor,
|
|
1024
1025
|
filter: e.value.donutUseShadow ? `url(#shadow_${oe.value})` : ""
|
|
1025
1026
|
}, null, 8, qa),
|
|
1026
1027
|
z("g", Wa, [
|
|
1027
|
-
(l(!0), o(p, null, I(
|
|
1028
|
+
(l(!0), o(p, null, I(P.value.chart, (t, i) => (l(), o("path", {
|
|
1028
1029
|
d: t.arcSlice,
|
|
1029
1030
|
fill: t.color,
|
|
1030
1031
|
stroke: Me.value,
|
|
1031
1032
|
"stroke-width": e.value.donutStrokeWidth,
|
|
1032
1033
|
filter: _e(t.id)
|
|
1033
1034
|
}, null, 8, Xa))), 256)),
|
|
1034
|
-
(l(!0), o(p, null, I(
|
|
1035
|
+
(l(!0), o(p, null, I(P.value.chart, (t, i) => (l(), o("path", {
|
|
1035
1036
|
d: t.arcSlice,
|
|
1036
1037
|
fill: "transparent",
|
|
1037
|
-
onMouseenter: (u) =>
|
|
1038
|
-
onMouseout: (u) =>
|
|
1039
|
-
onClick: (u) =>
|
|
1038
|
+
onMouseenter: (u) => P.value.useTooltip({ datapoint: t, seriesIndex: i }),
|
|
1039
|
+
onMouseout: (u) => P.value.killTooltip({ datapoint: t, seriesIndex: i }),
|
|
1040
|
+
onClick: (u) => P.value.selectDatapoint({ datapoint: t, seriesIndex: i })
|
|
1040
1041
|
}, null, 40, ja))), 256))
|
|
1041
1042
|
]),
|
|
1042
1043
|
e.value.showDataLabels ? (l(), o("g", Ga, [
|
|
1043
|
-
(l(!0), o(p, null, I(
|
|
1044
|
-
|
|
1044
|
+
(l(!0), o(p, null, I(P.value.chart, (t, i) => (l(), o(p, null, [
|
|
1045
|
+
P.value.isArcBigEnough(t) ? (l(), o("circle", {
|
|
1045
1046
|
key: 0,
|
|
1046
1047
|
cx: r(Ee)(t).x,
|
|
1047
1048
|
cy: r(at)(t) - 3.7,
|
|
@@ -1051,7 +1052,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1051
1052
|
r: 3,
|
|
1052
1053
|
filter: _e(t.id)
|
|
1053
1054
|
}, null, 8, Ya)) : g("", !0),
|
|
1054
|
-
|
|
1055
|
+
P.value.isArcBigEnough(t) ? (l(), o("text", {
|
|
1055
1056
|
key: 1,
|
|
1056
1057
|
"text-anchor": r(Ee)(t, !0, 20).anchor,
|
|
1057
1058
|
x: r(Ee)(t, !0).x,
|
|
@@ -1059,7 +1060,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1059
1060
|
fill: e.value.color,
|
|
1060
1061
|
"font-size": e.value.dataLabelFontSize,
|
|
1061
1062
|
filter: _e(t.id)
|
|
1062
|
-
}, F(
|
|
1063
|
+
}, F(P.value.displayArcPercentage(t, P.value.chart)) + " (" + F(r(ee)(
|
|
1063
1064
|
e.value.formatter,
|
|
1064
1065
|
t.value,
|
|
1065
1066
|
r(W)({
|
|
@@ -1070,7 +1071,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1070
1071
|
}),
|
|
1071
1072
|
{ datapoint: t, seriesIndex: i }
|
|
1072
1073
|
)) + ") ", 9, Za)) : g("", !0),
|
|
1073
|
-
|
|
1074
|
+
P.value.isArcBigEnough(t, !0, 20) ? (l(), o("text", {
|
|
1074
1075
|
key: 2,
|
|
1075
1076
|
"text-anchor": r(Ee)(t).anchor,
|
|
1076
1077
|
x: r(Ee)(t, !0).x,
|
|
@@ -1084,20 +1085,20 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1084
1085
|
e.value.donutShowTotal ? (l(), o("g", Qa, [
|
|
1085
1086
|
z("text", {
|
|
1086
1087
|
"text-anchor": "middle",
|
|
1087
|
-
x:
|
|
1088
|
-
y:
|
|
1088
|
+
x: P.value.drawingArea.centerX,
|
|
1089
|
+
y: P.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
|
|
1089
1090
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
1090
1091
|
fill: e.value.color
|
|
1091
1092
|
}, F(e.value.donutTotalLabelText), 9, Ka),
|
|
1092
1093
|
z("text", {
|
|
1093
1094
|
"text-anchor": "middle",
|
|
1094
|
-
x:
|
|
1095
|
-
y:
|
|
1095
|
+
x: P.value.drawingArea.centerX,
|
|
1096
|
+
y: P.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
|
|
1096
1097
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
1097
1098
|
fill: e.value.color
|
|
1098
1099
|
}, F(r(W)({
|
|
1099
1100
|
p: e.value.valuePrefix,
|
|
1100
|
-
v:
|
|
1101
|
+
v: P.value.total,
|
|
1101
1102
|
s: e.value.valueSuffix,
|
|
1102
1103
|
r: e.value.dataLabelRoundingValue
|
|
1103
1104
|
})), 9, el)
|
|
@@ -1211,7 +1212,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1211
1212
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1212
1213
|
fill: e.value.color,
|
|
1213
1214
|
transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1214
|
-
innerHTML: r(
|
|
1215
|
+
innerHTML: r(Tt)({
|
|
1215
1216
|
content: String(t),
|
|
1216
1217
|
fontSize: e.value.xyLabelsXFontSize,
|
|
1217
1218
|
fill: e.value.color,
|
|
@@ -1398,10 +1399,10 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1398
1399
|
r: e.value.dataLabelRoundingValue
|
|
1399
1400
|
}),
|
|
1400
1401
|
{ datapoint: t, seriesIndex: i }
|
|
1401
|
-
)), 9,
|
|
1402
|
+
)), 9, Pl)) : g("", !0)
|
|
1402
1403
|
], 64))), 256))
|
|
1403
1404
|
], 512)) : g("", !0),
|
|
1404
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (l(), o("g",
|
|
1405
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (l(), o("g", Tl, [
|
|
1405
1406
|
(l(!0), o(p, null, I(e.value.xyPeriods.slice(m.value.start, m.value.end), (t, i) => (l(), o("line", {
|
|
1406
1407
|
x1: s.value.drawingArea.left + s.value.slotSize * (i + 1) - s.value.slotSize / 2,
|
|
1407
1408
|
x2: s.value.drawingArea.left + s.value.slotSize * (i + 1) - s.value.slotSize / 2,
|
|
@@ -1425,7 +1426,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1425
1426
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1426
1427
|
fill: e.value.color,
|
|
1427
1428
|
transform: `translate(${s.value.drawingArea.left + s.value.slotSize * (i + 1) - s.value.slotSize / 2}, ${s.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1428
|
-
innerHTML: r(
|
|
1429
|
+
innerHTML: r(Tt)({
|
|
1429
1430
|
content: String(t),
|
|
1430
1431
|
fontSize: e.value.xyLabelsXFontSize,
|
|
1431
1432
|
fill: e.value.color,
|
|
@@ -1621,12 +1622,12 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1621
1622
|
class: "vue-ui-quick-chart-legend",
|
|
1622
1623
|
style: O(`background:transparent;color:${e.value.color}`)
|
|
1623
1624
|
}, [
|
|
1624
|
-
$.value === _.DONUT ? (l(!0), o(p, { key: 0 }, I(
|
|
1625
|
+
$.value === _.DONUT ? (l(!0), o(p, { key: 0 }, I(P.value.legend, (t, i) => (l(), o("div", {
|
|
1625
1626
|
class: "vue-ui-quick-chart-legend-item",
|
|
1626
1627
|
onClick: (u) => {
|
|
1627
|
-
Xt(t,
|
|
1628
|
+
Xt(t, P.value.dataset), ge("selectLegend", t);
|
|
1628
1629
|
},
|
|
1629
|
-
style: O(`cursor: ${
|
|
1630
|
+
style: O(`cursor: ${P.value.legend.length > 1 ? "pointer" : "default"}; opacity:${A.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1630
1631
|
}, [
|
|
1631
1632
|
e.value.useCustomLegend ? U(a.$slots, "legend", et({
|
|
1632
1633
|
key: 0,
|
|
@@ -1663,7 +1664,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1663
1664
|
key: 2,
|
|
1664
1665
|
style: O(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
1665
1666
|
}, " (" + F(r(W)({
|
|
1666
|
-
v: t.value /
|
|
1667
|
+
v: t.value / P.value.total * 100,
|
|
1667
1668
|
s: "%",
|
|
1668
1669
|
r: e.value.dataLabelRoundingPercentage
|
|
1669
1670
|
})) + ") ", 5))
|
|
@@ -1747,7 +1748,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1747
1748
|
_: 3
|
|
1748
1749
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
1749
1750
|
r(D) ? (l(), qe(La, { key: 9 })) : g("", !0)
|
|
1750
|
-
], 46,
|
|
1751
|
+
], 46, Ta)) : (l(), o("div", to, [
|
|
1751
1752
|
ke(r(B), {
|
|
1752
1753
|
name: "circleCancel",
|
|
1753
1754
|
stroke: "red"
|
|
@@ -1755,7 +1756,7 @@ const Pa = ["id"], Oa = ["xmlns", "viewBox"], Ra = ["x", "y", "width", "height"]
|
|
|
1755
1756
|
c[5] || (c[5] = z("span", null, "Dataset is not processable", -1))
|
|
1756
1757
|
]));
|
|
1757
1758
|
}
|
|
1758
|
-
}, mo = /* @__PURE__ */ _a(ao, [["__scopeId", "data-v-
|
|
1759
|
+
}, mo = /* @__PURE__ */ _a(ao, [["__scopeId", "data-v-d59499c1"]]);
|
|
1759
1760
|
export {
|
|
1760
1761
|
mo as default
|
|
1761
1762
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as P, computed as v, ref as c, toRefs as pt, watch as ht, shallowRef as Re, onMounted as gt, onBeforeUnmount as ft, createElementBlock as u, openBlock as s, unref as r, normalizeStyle as j, normalizeClass as D, createBlock as x, createCommentVNode as d, createElementVNode as E, createVNode as ne, createSlots as yt, withCtx as y, renderSlot as h, normalizeProps as M, guardReactiveProps as V, Fragment as S, renderList as F, toDisplayString as G, createTextVNode as ze, nextTick as mt } from "vue";
|
|
2
|
-
import { u as bt, c as kt, t as Ct, a as wt, p as O, b as _t, o as $t, f as U, d as Tt, g as Ee, e as Me, R as Ve, h as At, k as Ue, i as W, X as Pt, s as re, x as xt, S as Be, v as St, w as Ft, y as Ot, z as It } from "./index-
|
|
2
|
+
import { u as bt, c as kt, t as Ct, a as wt, p as O, b as _t, o as $t, f as U, d as Tt, g as Ee, e as Me, R as Ve, h as At, k as Ue, i as W, X as Pt, s as re, x as xt, S as Be, v as St, w as Ft, y as Ot, z as It } from "./index-Be3YloBf.js";
|
|
3
3
|
import { t as Nt, u as Lt } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Rt, B as zt } from "./useLoading-D7YHNtLX.js";
|
|
5
|
-
import { u as Et } from "./usePrinter-
|
|
6
|
-
import { u as De } from "./useNestedProp-
|
|
5
|
+
import { u as Et } from "./usePrinter-BV33Qwmk.js";
|
|
6
|
+
import { u as De } from "./useNestedProp-BPkXaKa1.js";
|
|
7
7
|
import { u as Mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import { u as Ut } from "./useAutoSizeLabelsInsideViewbox-
|
|
10
|
-
import Bt from "./img-
|
|
11
|
-
import Dt from "./Title-
|
|
12
|
-
import Gt from "./Legend-
|
|
9
|
+
import { u as Ut } from "./useAutoSizeLabelsInsideViewbox-BF4GVlCH.js";
|
|
10
|
+
import Bt from "./img-WAJVcEH2.js";
|
|
11
|
+
import Dt from "./Title-DM17sbc-.js";
|
|
12
|
+
import Gt from "./Legend-ioFJsYH-.js";
|
|
13
13
|
import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const Xt = ["id"], Yt = ["xmlns", "viewBox"], Ht = ["width", "height"], jt = ["id"], qt = ["stop-color"], Jt = ["stop-color"], Kt = { key: 1 }, Qt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Zt = { key: 0 }, ea = ["d", "stroke", "stroke-width"], ta = ["d", "stroke", "stroke-width"], aa = { key: 2 }, oa = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], la = ["points", "stroke", "stroke-width"], sa = ["points", "stroke", "stroke-width", "fill"], na = { key: 3 }, ra = ["cx", "cy", "fill", "r", "stroke"], ua = {
|
|
15
15
|
key: 4,
|
|
@@ -35,7 +35,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Ht = ["width", "height"], jt = ["i
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend"],
|
|
37
37
|
setup(Ge, { expose: We, emit: Xe }) {
|
|
38
|
-
const Ye = P(() => import("./DataTable-
|
|
38
|
+
const Ye = P(() => import("./DataTable-CuJplxJU.js")), He = P(() => import("./PenAndPaper-BqhD2pOj.js")), je = P(() => import("./vue-ui-accordion-KpWnxkbY.js")), qe = P(() => import("./Tooltip-DSoDpjRJ.js")), Je = P(() => import("./UserOptions-gH1Ahkhe.js")), Ke = P(() => import("./PackageVersion-Cqvb9VXZ.js")), Qe = P(() => import("./vue-ui-sparkbar-Ct7dyPaA.js")), { vue_ui_radar: Ze } = bt(), $ = Ge, ue = v(() => !!$.dataset && Object.keys($.dataset).length), T = c(kt()), et = c(null), q = c(!1), J = c(""), ie = c(0), C = c(null), ce = c(null), ve = c(null), de = c(null), pe = c(null), he = c(0), ge = c(0), fe = c(0), e = c(Z()), { loading: ye, FINAL_DATASET: k } = Rt({
|
|
39
39
|
...pt($),
|
|
40
40
|
FINAL_CONFIG: e,
|
|
41
41
|
prepareConfig: Z,
|
|
@@ -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, f as ae, k as b, i as _, X as z, x as X, _ as I } from "./index-
|
|
3
|
-
import { u as ie } from "./useNestedProp-
|
|
2
|
+
import { u as te, c as le, o as oe, f as ae, k as b, i as _, X as z, x as X, _ as I } from "./index-Be3YloBf.js";
|
|
3
|
+
import { u as ie } from "./useNestedProp-BPkXaKa1.js";
|
|
4
4
|
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const ne = {
|
|
6
6
|
key: 0,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useCssVars as ut, computed as h, defineAsyncComponent as Z, ref as r, toRefs as ot, watch as ee, shallowRef as Le, onMounted as rt, onBeforeUnmount as ct, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as z, createBlock as N, createCommentVNode as f, createSlots as vt, withCtx as M, renderSlot as g, normalizeProps as j, guardReactiveProps as D, normalizeClass as te, createVNode as dt, createElementVNode as ft, Fragment as $, renderList as O, mergeProps as Pe, toDisplayString as U, createTextVNode as ze } from "vue";
|
|
2
|
-
import { u as yt, c as ht, t as gt, a as mt, p as Oe, b as pt, d as bt, o as Se, f as Ie, g as kt, X as wt, F as Me, k as le, i as se, E as ae } from "./index-
|
|
2
|
+
import { u as yt, c as ht, t as gt, a as mt, p as Oe, b as pt, d as bt, o as Se, f as Ie, g as kt, X as wt, F as Me, k as le, i as se, E as ae } from "./index-Be3YloBf.js";
|
|
3
3
|
import { t as xt, u as $t } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as At, B as _t } from "./useLoading-D7YHNtLX.js";
|
|
5
|
-
import { u as Ct } from "./usePrinter-
|
|
6
|
-
import { u as Ee } from "./useNestedProp-
|
|
5
|
+
import { u as Ct } from "./usePrinter-BV33Qwmk.js";
|
|
6
|
+
import { u as Ee } from "./useNestedProp-BPkXaKa1.js";
|
|
7
7
|
import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Pt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import { u as zt } from "./useAutoSizeLabelsInsideViewbox-
|
|
10
|
-
import Ot from "./img-
|
|
11
|
-
import St from "./Title-
|
|
9
|
+
import { u as zt } from "./useAutoSizeLabelsInsideViewbox-BF4GVlCH.js";
|
|
10
|
+
import Ot from "./img-WAJVcEH2.js";
|
|
11
|
+
import St from "./Title-DM17sbc-.js";
|
|
12
12
|
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["cx", "cy", "r", "stroke", "stroke-width"], Rt = { key: 1 }, Tt = ["stroke", "d", "stroke-width"], Nt = { style: { "pointer-events": "none" } }, jt = ["cx", "cy", "fill", "r", "stroke"], Dt = ["x", "y", "fill", "font-size"], Ut = { key: 2 }, Vt = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Gt = { style: { "pointer-events": "none" } }, Wt = ["cx", "cy", "fill", "r", "stroke"], Xt = ["x", "y", "fill", "font-size"], Yt = ["text-anchor", "transform", "x", "y", "font-weight", "font-size", "fill", "text-decoration", "onClick", "onMouseenter", "onMouseleave"], qt = ["cx", "cy", "fill", "stroke", "r", "onClick", "onMouseenter", "onMouseleave"], Ht = {
|
|
14
14
|
key: 4,
|
|
@@ -35,7 +35,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
|
|
|
35
35
|
"501dae6a": Xe.value,
|
|
36
36
|
"2abe5668": qe.value
|
|
37
37
|
}));
|
|
38
|
-
const Re = Z(() => import("./PenAndPaper-
|
|
38
|
+
const Re = Z(() => import("./PenAndPaper-BqhD2pOj.js")), Te = Z(() => import("./UserOptions-gH1Ahkhe.js")), Ne = Z(() => import("./PackageVersion-Cqvb9VXZ.js")), { vue_ui_relation_circle: je } = yt(), m = Fe, De = h(() => !!m.dataset && Object.keys(m.dataset).length), S = r(ht()), ie = r(0), A = r(null), ne = r(null), ue = r(null), oe = r(null), re = r(0), l = r(X()), { loading: ce, FINAL_DATASET: Ue, manualLoading: V } = At({
|
|
39
39
|
...ot(m),
|
|
40
40
|
FINAL_CONFIG: l,
|
|
41
41
|
prepareConfig: X,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineAsyncComponent as N, computed as d, ref as u, shallowRef as Je, toRefs as jt, onBeforeUnmount as Qe, watch as Z, nextTick as ke, watchEffect as qt, createElementBlock as n, openBlock as r, unref as i, normalizeStyle as w, normalizeClass as ee, createBlock as _, createCommentVNode as v, renderSlot as m, createElementVNode as y, createSlots as Ze, withCtx as p, normalizeProps as te, guardReactiveProps as ae, createVNode as et, Fragment as g, renderList as k, mergeProps as tt, toDisplayString as B, createTextVNode as at } from "vue";
|
|
2
|
-
import { u as Kt, c as Ae, t as Jt, d as Qt, e as Zt, p as le, ap as lt, ai as ea, U as st, V as ta, W as aa, X as la, F as sa, I as oa, k as se, i as oe, a as ra, b as na, f as Ce, g as ot, o as ia, v as ua, w as ca, K as va } from "./index-
|
|
2
|
+
import { u as Kt, c as Ae, t as Jt, d as Qt, e as Zt, p as le, ap as lt, ai as ea, U as st, V as ta, W as aa, X as la, F as sa, I as oa, k as se, i as oe, a as ra, b as na, f as Ce, g as ot, o as ia, v as ua, w as ca, K as va } from "./index-Be3YloBf.js";
|
|
3
3
|
import { t as rt, u as ha } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as da, B as ya } from "./useLoading-D7YHNtLX.js";
|
|
5
|
-
import { u as fa } from "./usePrinter-
|
|
6
|
-
import { u as nt } from "./useNestedProp-
|
|
5
|
+
import { u as fa } from "./usePrinter-BV33Qwmk.js";
|
|
6
|
+
import { u as nt } from "./useNestedProp-BPkXaKa1.js";
|
|
7
7
|
import { u as ga } from "./useTimeLabels-DkzmKfZn.js";
|
|
8
8
|
import { u as ma } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as pa } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { u as ba } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
-
import xa from "./Legend-
|
|
12
|
-
import ka from "./Title-
|
|
13
|
-
import { _ as Aa } from "./Shape-
|
|
14
|
-
import Ca from "./img-
|
|
11
|
+
import xa from "./Legend-ioFJsYH-.js";
|
|
12
|
+
import ka from "./Title-DM17sbc-.js";
|
|
13
|
+
import { _ as Aa } from "./Shape-CSkkoa5p.js";
|
|
14
|
+
import Ca from "./img-WAJVcEH2.js";
|
|
15
15
|
import { _ as wa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const $a = ["id"], _a = ["xmlns", "viewBox"], Ta = ["id"], Pa = ["stop-color"], Sa = ["stop-color"], Ma = ["stop-color"], La = ["stop-color"], Oa = ["id"], za = ["stop-color"], Ia = ["stop-color"], Na = ["stop-color"], Fa = ["stop-color"], Da = { key: 0 }, Ra = ["fill", "d"], Ea = ["stroke", "stroke-width", "d"], Ha = ["fill", "d"], Xa = ["stroke", "stroke-dasharray", "stroke-width", "d"], Ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Va = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ua = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Ga = { key: 0 }, Wa = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Ya = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], ja = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], qa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ka = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ja = ["x", "y", "text-anchor", "font-size", "fill"], Qa = {
|
|
17
17
|
key: 4,
|
|
@@ -34,7 +34,7 @@ const $a = ["id"], _a = ["xmlns", "viewBox"], Ta = ["id"], Pa = ["stop-color"],
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend", "selectDatapoint", "selectX"],
|
|
36
36
|
setup(it, { expose: ut, emit: ct }) {
|
|
37
|
-
const vt = N(() => import("./vue-ui-accordion-
|
|
37
|
+
const vt = N(() => import("./vue-ui-accordion-KpWnxkbY.js")), ht = N(() => import("./BaseDraggableDialog-tQB04SOs.js")), dt = N(() => import("./DataTable-CuJplxJU.js")), yt = N(() => import("./PackageVersion-Cqvb9VXZ.js")), ft = N(() => import("./PenAndPaper-BqhD2pOj.js")), gt = N(() => import("./UserOptions-gH1Ahkhe.js")), mt = N(() => import("./vue-ui-xy-DxjJ5aYg.js")), { vue_ui_ridgeline: pt } = Kt(), F = it, V = d({
|
|
38
38
|
get() {
|
|
39
39
|
return Array.isArray(O.value) && O.value.length > 0;
|
|
40
40
|
},
|
|
@@ -464,7 +464,10 @@ const $a = ["id"], _a = ["xmlns", "viewBox"], Ta = ["id"], Pa = ["stop-color"],
|
|
|
464
464
|
...e.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels,
|
|
465
465
|
values: e.value.style.chart.xAxis.labels.values,
|
|
466
466
|
// Overriding
|
|
467
|
-
autoRotate:
|
|
467
|
+
autoRotate: {
|
|
468
|
+
enable: !0,
|
|
469
|
+
angle: e.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels.autoRotate.angle
|
|
470
|
+
},
|
|
468
471
|
// overriding
|
|
469
472
|
datetimeFormatter: e.value.style.chart.xAxis.labels.datetimeFormatter
|
|
470
473
|
// Overriding
|
|
@@ -566,11 +569,12 @@ const $a = ["id"], _a = ["xmlns", "viewBox"], Ta = ["id"], Pa = ["stop-color"],
|
|
|
566
569
|
slicer: Rt,
|
|
567
570
|
configRef: e,
|
|
568
571
|
rotationPath: ["style", "chart", "xAxis", "labels", "rotation"],
|
|
569
|
-
autoRotatePath: ["style", "chart", "xAxis", "labels", "autoRotate"],
|
|
572
|
+
autoRotatePath: ["style", "chart", "xAxis", "labels", "autoRotate", "enable"],
|
|
570
573
|
isAutoSize: !1,
|
|
571
574
|
width: Ct,
|
|
572
575
|
height: wt,
|
|
573
|
-
targetClass: ".vue-ui-ridgeline-x-axis-label"
|
|
576
|
+
targetClass: ".vue-ui-ridgeline-x-axis-label",
|
|
577
|
+
angle: e.value.style.chart.xAxis.labels.autoRotate.angle
|
|
574
578
|
}), ut({
|
|
575
579
|
getData: Ft,
|
|
576
580
|
getImage: Dt,
|
|
@@ -1147,7 +1151,7 @@ const $a = ["id"], _a = ["xmlns", "viewBox"], Ta = ["id"], Pa = ["stop-color"],
|
|
|
1147
1151
|
i(U) ? (r(), _(ya, { key: 8 })) : v("", !0)
|
|
1148
1152
|
], 46, $a));
|
|
1149
1153
|
}
|
|
1150
|
-
}, ml = /* @__PURE__ */ wa(tl, [["__scopeId", "data-v-
|
|
1154
|
+
}, ml = /* @__PURE__ */ wa(tl, [["__scopeId", "data-v-e3880d82"]]);
|
|
1151
1155
|
export {
|
|
1152
1156
|
ml as default
|
|
1153
1157
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as R, useSlots as rt, ref as r, computed as f, toRefs as it, watch as le, shallowRef as Pe, onMounted as vt, onBeforeUnmount as ct, createElementBlock as d, openBlock as i, unref as s, normalizeStyle as O, normalizeClass as B, createBlock as S, createCommentVNode as b, createElementVNode as A, createVNode as ae, createSlots as Ne, withCtx as g, renderSlot as h, normalizeProps as D, guardReactiveProps as M, Fragment as oe, renderList as se, mergeProps as dt, toDisplayString as E, createTextVNode as ht, nextTick as pt } from "vue";
|
|
2
|
-
import { u as gt, c as Le, t as ft, a as yt, p as P, b as mt, o as Ve, f as ne, g as bt, d as kt, G as wt, e as Re, i as N, X as Ct, s as $t, x as Tt, h as X, k as De, v as _t, w as xt, y as At, z as Ft } from "./index-
|
|
2
|
+
import { u as gt, c as Le, t as ft, a as yt, p as P, b as mt, o as Ve, f as ne, g as bt, d as kt, G as wt, e as Re, i as N, X as Ct, s as $t, x as Tt, h as X, k as De, v as _t, w as xt, y as At, z as Ft } from "./index-Be3YloBf.js";
|
|
3
3
|
import { t as It, u as Ot } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as St } from "./usePrinter-
|
|
4
|
+
import { u as St } from "./usePrinter-BV33Qwmk.js";
|
|
5
5
|
import { u as Pt, B as Nt } from "./useLoading-D7YHNtLX.js";
|
|
6
|
-
import { u as Me } from "./useNestedProp-
|
|
6
|
+
import { u as Me } from "./useNestedProp-BPkXaKa1.js";
|
|
7
7
|
import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import Rt from "./Legend-
|
|
10
|
-
import Dt from "./Title-
|
|
11
|
-
import { _ as Mt } from "./Shape-
|
|
12
|
-
import zt from "./img-
|
|
9
|
+
import Rt from "./Legend-ioFJsYH-.js";
|
|
10
|
+
import Dt from "./Title-DM17sbc-.js";
|
|
11
|
+
import { _ as Mt } from "./Shape-CSkkoa5p.js";
|
|
12
|
+
import zt from "./img-WAJVcEH2.js";
|
|
13
13
|
import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const Et = ["id"], Ut = ["xmlns", "viewBox"], Wt = ["width", "height"], Gt = ["id"], Ht = ["stop-color"], jt = ["stop-color"], Xt = { key: 1 }, Yt = ["stroke", "cx", "cy", "r", "fill"], qt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Jt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Kt = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Qt = {
|
|
15
15
|
key: 4,
|
|
@@ -32,7 +32,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Wt = ["width", "height"], Gt = ["i
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend"],
|
|
34
34
|
setup(ze, { expose: Be, emit: Ee }) {
|
|
35
|
-
const Ue = R(() => import("./vue-ui-accordion-
|
|
35
|
+
const Ue = R(() => import("./vue-ui-accordion-KpWnxkbY.js")), We = R(() => import("./DataTable-CuJplxJU.js")), Ge = R(() => import("./PackageVersion-Cqvb9VXZ.js")), He = R(() => import("./PenAndPaper-BqhD2pOj.js")), je = R(() => import("./Tooltip-DSoDpjRJ.js")), Xe = R(() => import("./UserOptions-gH1Ahkhe.js")), { vue_ui_rings: Ye } = gt(), qe = rt(), m = ze, F = r(!1), ue = f(() => !!m.dataset && m.dataset.length), C = r(Le()), Je = r(null), U = r(!1), Y = r(""), $ = r(null), re = r(0), T = r(null), ie = r(null), ve = r(null), ce = r(null), de = r(null), he = r(0), pe = r(0), ge = r(0), q = r(!1), e = r(K()), { loading: I, FINAL_DATASET: fe, manualLoading: W } = Pt({
|
|
36
36
|
...it(m),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
38
|
prepareConfig: K,
|