vue-data-ui 3.17.8 → 3.17.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PackageVersion-D3wt9hAj.js → PackageVersion-OCIkUsLh.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-BvVHYXZp.js → vue-data-ui-DYNbFkGt.js} +61 -61
- package/dist/vue-data-ui.js +61 -61
- package/dist/{vue-ui-3d-bar-CY3t4FLk.js → vue-ui-3d-bar-DJ43Dkby.js} +1 -1
- package/dist/{vue-ui-age-pyramid-Cp99avSy.js → vue-ui-age-pyramid-BO0YDf_8.js} +1 -1
- package/dist/{vue-ui-bullet-9Kn61VFg.js → vue-ui-bullet-C-dqH5eq.js} +3 -3
- package/dist/{vue-ui-bump-CgAYtzxa.js → vue-ui-bump-BtxI6HWw.js} +1 -1
- package/dist/{vue-ui-candlestick-C3gbHAUn.js → vue-ui-candlestick-BD08JvJ8.js} +1 -1
- package/dist/{vue-ui-carousel-table-DtB7b8pW.js → vue-ui-carousel-table-BMFNoYL0.js} +1 -1
- package/dist/{vue-ui-chestnut-DiXPgnOD.js → vue-ui-chestnut-Dn-IitwX.js} +1 -1
- package/dist/{vue-ui-chord-Br3zVbvX.js → vue-ui-chord-ZEI5m37p.js} +4 -4
- package/dist/{vue-ui-circle-pack-Do7a2mxq.js → vue-ui-circle-pack-CvpW9MxZ.js} +1 -1
- package/dist/{vue-ui-cursor-eyfoFkXl.js → vue-ui-cursor-BJR77xCX.js} +1 -1
- package/dist/{vue-ui-dag-BHSByE7Z.js → vue-ui-dag-BRI0rmm8.js} +1 -1
- package/dist/{vue-ui-dashboard-BpZaOU6N.js → vue-ui-dashboard-CqUkFO7D.js} +58 -58
- package/dist/{vue-ui-digits-CL1R_fsm.js → vue-ui-digits-BhgIf6nU.js} +1 -1
- package/dist/{vue-ui-donut-BuYqPGwA.js → vue-ui-donut-DA3TQ8t3.js} +3 -3
- package/dist/{vue-ui-donut-evolution-lN_IK9Fj.js → vue-ui-donut-evolution-CzQkTkEl.js} +4 -4
- package/dist/{vue-ui-dumbbell-ItQI2i_H.js → vue-ui-dumbbell-BF95pHAT.js} +3 -3
- package/dist/{vue-ui-flow-BriXpu2D.js → vue-ui-flow-D_n3vQ84.js} +3 -3
- package/dist/{vue-ui-funnel-BqErTLWE.js → vue-ui-funnel-l55PG0DO.js} +2 -2
- package/dist/{vue-ui-galaxy-DejYzywr.js → vue-ui-galaxy-BE07tlR5.js} +3 -3
- package/dist/{vue-ui-gauge-DF5UhRkt.js → vue-ui-gauge-DJv0lMjM.js} +1 -1
- package/dist/{vue-ui-geo-DSGE1Mhj.js → vue-ui-geo-COKjFdL9.js} +1 -1
- package/dist/{vue-ui-gizmo-DOy5ADhk.js → vue-ui-gizmo-xugwcOxY.js} +1 -1
- package/dist/{vue-ui-heatmap-DJbS7ENh.js → vue-ui-heatmap-CnTq5kL5.js} +1 -1
- package/dist/{vue-ui-history-plot-w5evVaeV.js → vue-ui-history-plot-BvUxlkve.js} +3 -3
- package/dist/{vue-ui-horizontal-bar-fI2w8TQ_.js → vue-ui-horizontal-bar-Qob2an-5.js} +1 -1
- package/dist/{vue-ui-kpi-C-5QT0_L.js → vue-ui-kpi-Bxfq7VT4.js} +1 -1
- package/dist/{vue-ui-molecule-eXonNqjg.js → vue-ui-molecule-BgsxFj9K.js} +1 -1
- package/dist/{vue-ui-mood-radar-DqqIzzu3.js → vue-ui-mood-radar-DwunuK-0.js} +3 -3
- package/dist/{vue-ui-nested-donuts-pyFiylkK.js → vue-ui-nested-donuts-CsV7nffD.js} +3 -3
- package/dist/{vue-ui-onion-BOqyPiU3.js → vue-ui-onion-DMQvjYd8.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-Bc57Gkvw.js → vue-ui-parallel-coordinate-plot-B8JDBEhk.js} +3 -3
- package/dist/{vue-ui-quadrant-BJ38ly27.js → vue-ui-quadrant-DhVnFb1P.js} +52 -54
- package/dist/{vue-ui-quick-chart-BMMH-9Aa.js → vue-ui-quick-chart-9u6FGFk1.js} +3 -3
- package/dist/{vue-ui-radar-R_jBJ8cp.js → vue-ui-radar-A2kNKbah.js} +4 -4
- package/dist/{vue-ui-relation-circle-BukIdWuS.js → vue-ui-relation-circle-B1pu_dZW.js} +1 -1
- package/dist/{vue-ui-ridgeline-BZuw9_-w.js → vue-ui-ridgeline-DNZzd6l1.js} +2 -2
- package/dist/{vue-ui-rings-DGpumyEd.js → vue-ui-rings-CYRL9sU-.js} +89 -89
- package/dist/{vue-ui-scatter-Dnn7YOBs.js → vue-ui-scatter-CnoApfMm.js} +3 -3
- package/dist/{vue-ui-skeleton-7KsHvAcH.js → vue-ui-skeleton-BoheA1WR.js} +1 -1
- package/dist/{vue-ui-spark-trend-DhaXAoc0.js → vue-ui-spark-trend-CWWccv_p.js} +1 -1
- package/dist/{vue-ui-sparkbar-DSYWUl15.js → vue-ui-sparkbar-BpCJ8IBM.js} +1 -1
- package/dist/{vue-ui-sparkgauge-BVEqnTLh.js → vue-ui-sparkgauge-C2Jppkjl.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-B9QujdP2.js → vue-ui-sparkhistogram-kMgA5j-r.js} +1 -1
- package/dist/{vue-ui-sparkline-DuFw1k7y.js → vue-ui-sparkline-DL1pcky1.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-XNZMWF1v.js → vue-ui-sparkstackbar-DVCplefC.js} +1 -1
- package/dist/{vue-ui-stackbar-CBFI47gM.js → vue-ui-stackbar-ClZlFibi.js} +3 -3
- package/dist/{vue-ui-stackline-C9ENy-iT.js → vue-ui-stackline-Dzm-DlLm.js} +3 -3
- package/dist/{vue-ui-strip-plot-DKToViKZ.js → vue-ui-strip-plot-C0oVTAet.js} +1 -1
- package/dist/{vue-ui-table-DmGGGkTX.js → vue-ui-table-UpiN8NRB.js} +2 -2
- package/dist/{vue-ui-table-sparkline-_Gzxmt0W.js → vue-ui-table-sparkline-SyFYZKiD.js} +1 -1
- package/dist/{vue-ui-thermometer-CERsOte6.js → vue-ui-thermometer-mdoEvbGq.js} +1 -1
- package/dist/{vue-ui-timer-C8HhfckT.js → vue-ui-timer-g_vHhYoO.js} +1 -1
- package/dist/{vue-ui-tiremarks-BBKU7rHD.js → vue-ui-tiremarks-J3YZB9E7.js} +1 -1
- package/dist/{vue-ui-treemap-CsP7dx2o.js → vue-ui-treemap-DeLxdMkS.js} +3 -3
- package/dist/{vue-ui-waffle-DzQIscf4.js → vue-ui-waffle-COcLNy_1.js} +3 -3
- package/dist/{vue-ui-wheel-nGQMJoy7.js → vue-ui-wheel-maRx4Fii.js} +1 -1
- package/dist/{vue-ui-word-cloud-Df-hGkOK.js → vue-ui-word-cloud-CAVyA-2-.js} +1 -1
- package/dist/{vue-ui-world-CRGC52q1.js → vue-ui-world-CELDZIyL.js} +3 -3
- package/dist/{vue-ui-xy-B5ICduA0.js → vue-ui-xy-B12Jzl2G.js} +4 -4
- package/dist/{vue-ui-xy-canvas--zevqB3i.js → vue-ui-xy-canvas-DWZz3tHh.js} +638 -638
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineAsyncComponent as R, useSlots as Qt, ref as r, computed as d, toRefs as el, watch as re, shallowRef as rt, onMounted as tl, onBeforeUnmount as ll, openBlock as i, createElementBlock as y, unref as u, normalizeStyle as z, normalizeClass as B, createElementVNode as m, toDisplayString as ie, createBlock as P, createCommentVNode as k, withCtx as v, renderSlot as c, normalizeProps as T, guardReactiveProps as L, createSlots as Ae, createVNode as ve, Fragment as ce, renderList as Se, mergeProps as it, Teleport as al, resolveDynamicComponent as ol, createTextVNode as vt, nextTick as ct } from "vue";
|
|
2
|
-
import { j as dt, t as ht, m as sl, p as X, o as
|
|
2
|
+
import { j as dt, t as ht, m as sl, p as X, o as gt, q as Pe, r as nl, n as ul, a8 as rl, s as pt, k as _e, l as M, X as il, u as vl, v as cl, Z as dl, a0 as hl, a1 as gl, K as pl, T as fl, U as yl } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { b as bl } from "./labelUtils-DX9oyq3C.js";
|
|
4
4
|
import { t as ml, u as kl } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
5
|
+
import { u as wl } from "./useConfig-B70q17MC.js";
|
|
6
|
+
import { u as Cl } from "./usePrinter-C4t8DdQ-.js";
|
|
7
7
|
import { u as $l, B as Tl } from "./BaseScanner-C2j3TsSY.js";
|
|
8
8
|
import { u as Ll } from "./useSvgExport-BTG4hVPO.js";
|
|
9
9
|
import { u as Oe } from "./useNestedProp-DH0BEVVS.js";
|
|
@@ -44,15 +44,15 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
44
44
|
},
|
|
45
45
|
emits: ["selectLegend", "copyAlt"],
|
|
46
46
|
setup(ft, { expose: yt, emit: bt }) {
|
|
47
|
-
const mt = R(() => import("./Tooltip-Cvt7Fi0Q.js")), kt = R(() => import("./BaseIcon-DX0hTWa-.js")),
|
|
47
|
+
const mt = R(() => import("./Tooltip-Cvt7Fi0Q.js")), kt = R(() => import("./BaseIcon-DX0hTWa-.js")), wt = R(() => import("./vue-ui-accordion-_zwPlx0H.js")), Ct = R(() => import("./DataTable-cMnb68Ik.js")), $t = R(
|
|
48
48
|
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
49
49
|
), Tt = R(
|
|
50
50
|
() => import("./UserOptions-DVduN6X7.js")
|
|
51
51
|
), Lt = R(
|
|
52
|
-
() => import("./PackageVersion-
|
|
52
|
+
() => import("./PackageVersion-OCIkUsLh.js")
|
|
53
53
|
), xt = R(
|
|
54
54
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
55
|
-
), { vue_ui_rings: At } =
|
|
55
|
+
), { vue_ui_rings: At } = wl(), { isThemeValid: St, warnInvalidTheme: Pt } = xl(), _t = Qt(), C = ft, x = r(!1), Fe = d(() => !!C.dataset && C.dataset.length), w = r(dt()), G = r(!1), de = r(""), b = r(null), Ie = r(0), _ = r(null), De = r(null), Ne = r(null), Re = r(null), ze = r(null), Be = r(0), Me = r(0), Ve = r(0), he = r(!1), Ee = r(!1), q = r(null), ge = r(null), oe = r(!1), se = r(!1), O = r(null), Ue = r({ x: 0, y: 0 }), Z = r("pointer"), pe = r(!1), e = r(ye()), V = d(
|
|
56
56
|
() => e.value.userOptions.useCursorPointer
|
|
57
57
|
), Ot = d(() => ht({
|
|
58
58
|
defaultConfig: {
|
|
@@ -82,10 +82,10 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
82
82
|
},
|
|
83
83
|
userConfig: e.value.skeletonConfig ?? {}
|
|
84
84
|
})), { loading: A, FINAL_DATASET: We, manualLoading: ne } = $l({
|
|
85
|
-
...el(
|
|
85
|
+
...el(C),
|
|
86
86
|
FINAL_CONFIG: e,
|
|
87
87
|
prepareConfig: ye,
|
|
88
|
-
skeletonDataset:
|
|
88
|
+
skeletonDataset: C.config?.skeletonDataset ?? [
|
|
89
89
|
{ name: "_", values: [13], color: "#808080" },
|
|
90
90
|
{ name: "_", values: [8], color: "#969696" },
|
|
91
91
|
{ name: "_", values: [5], color: "#ADADAD" },
|
|
@@ -101,26 +101,26 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
101
101
|
});
|
|
102
102
|
function ye() {
|
|
103
103
|
const t = Oe({
|
|
104
|
-
userConfig:
|
|
104
|
+
userConfig: C.config,
|
|
105
105
|
defaultConfig: At
|
|
106
106
|
}), a = t.theme;
|
|
107
107
|
if (!a) return t;
|
|
108
108
|
if (!St.value(t))
|
|
109
109
|
return Pt(t), t;
|
|
110
110
|
const l = Oe({
|
|
111
|
-
userConfig: Fl[a] ||
|
|
111
|
+
userConfig: Fl[a] || C.config,
|
|
112
112
|
defaultConfig: t
|
|
113
113
|
});
|
|
114
114
|
return {
|
|
115
115
|
...Oe({
|
|
116
|
-
userConfig:
|
|
116
|
+
userConfig: C.config,
|
|
117
117
|
defaultConfig: l
|
|
118
118
|
}),
|
|
119
119
|
customPalette: t.customPalette.length ? t.customPalette : sl[t.theme] || X
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
122
|
re(
|
|
123
|
-
() =>
|
|
123
|
+
() => C.config,
|
|
124
124
|
(t) => {
|
|
125
125
|
A.value || (e.value = ye()), fe.value = !e.value.userOptions.showOnChartHover, Ke(), Be.value += 1, Me.value += 1, Ve.value += 1, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show, f.value.showLabels = e.value.style.chart.layout.labels.dataLabels.show, h.value.width = e.value.style.chart.size, h.value.height = e.value.style.chart.size;
|
|
126
126
|
},
|
|
@@ -137,7 +137,7 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
137
137
|
y: h.value.height / 2 + Ge.value.y
|
|
138
138
|
}));
|
|
139
139
|
re(
|
|
140
|
-
() =>
|
|
140
|
+
() => C.dataset,
|
|
141
141
|
(t) => {
|
|
142
142
|
Array.isArray(t) && t.length > 0 && (ne.value = !1);
|
|
143
143
|
},
|
|
@@ -149,11 +149,11 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
149
149
|
});
|
|
150
150
|
const be = d(() => !!e.value.debug);
|
|
151
151
|
function Ke() {
|
|
152
|
-
if (
|
|
152
|
+
if (gt(C.dataset) ? (Pe({
|
|
153
153
|
componentName: "VueUiRings",
|
|
154
154
|
type: "dataset",
|
|
155
155
|
debug: be.value
|
|
156
|
-
}), ne.value = !0) :
|
|
156
|
+
}), ne.value = !0) : C.dataset.forEach((t, a) => {
|
|
157
157
|
t.values.length || (Pe({
|
|
158
158
|
componentName: "VueUiRings",
|
|
159
159
|
type: "dataset",
|
|
@@ -170,7 +170,7 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
170
170
|
debug: be.value
|
|
171
171
|
});
|
|
172
172
|
});
|
|
173
|
-
}),
|
|
173
|
+
}), gt(C.dataset) || (ne.value = e.value.loading), e.value.responsive) {
|
|
174
174
|
const t = ml(() => {
|
|
175
175
|
he.value = !0;
|
|
176
176
|
const { width: a, height: l } = kl({
|
|
@@ -193,8 +193,8 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
193
193
|
ll(() => {
|
|
194
194
|
D.value && (K.value && D.value.unobserve(K.value), D.value.disconnect());
|
|
195
195
|
});
|
|
196
|
-
const { isPrinting: me, isImaging: ke, generatePdf: je, generateImage: Ye } =
|
|
197
|
-
elementId: `rings_${
|
|
196
|
+
const { isPrinting: me, isImaging: ke, generatePdf: je, generateImage: Ye } = Cl({
|
|
197
|
+
elementId: `rings_${w.value}`,
|
|
198
198
|
fileName: e.value.style.chart.title.text || "vue-ui-rings",
|
|
199
199
|
options: e.value.userOptions.print
|
|
200
200
|
}), Ft = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), qe = d(() => ul(e.value.customPalette)), f = r({
|
|
@@ -216,22 +216,22 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
216
216
|
const h = r({
|
|
217
217
|
height: e.value.style.chart.size,
|
|
218
218
|
width: e.value.style.chart.size
|
|
219
|
-
}), It = d(() => Math.min(h.value.height, h.value.width)), Ze = bt,
|
|
219
|
+
}), It = d(() => Math.min(h.value.height, h.value.width)), Ze = bt, p = r([]);
|
|
220
220
|
function Dt() {
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
p.value.length ? p.value = [] : Q.value.forEach((t) => {
|
|
222
|
+
p.value.push(t.uid);
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
function J(t) {
|
|
226
|
-
if (
|
|
227
|
-
|
|
226
|
+
if (p.value.includes(t))
|
|
227
|
+
p.value = p.value.filter((a) => a !== t);
|
|
228
228
|
else {
|
|
229
|
-
if (
|
|
230
|
-
|
|
229
|
+
if (p.value.length === U.value.length - 1) return;
|
|
230
|
+
p.value.push(t);
|
|
231
231
|
}
|
|
232
232
|
Ze(
|
|
233
233
|
"selectLegend",
|
|
234
|
-
|
|
234
|
+
g.value.map((a) => ({
|
|
235
235
|
name: a.name,
|
|
236
236
|
color: a.color,
|
|
237
237
|
value: a.value
|
|
@@ -246,14 +246,14 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
246
246
|
}
|
|
247
247
|
function Nt(t) {
|
|
248
248
|
const a = Je(t);
|
|
249
|
-
a !== null &&
|
|
249
|
+
a !== null && p.value.includes(a.uid) && J(a.uid);
|
|
250
250
|
}
|
|
251
251
|
function Rt(t) {
|
|
252
252
|
const a = Je(t);
|
|
253
|
-
a !== null && (
|
|
253
|
+
a !== null && (p.value.includes(a.uid) || J(a.uid));
|
|
254
254
|
}
|
|
255
255
|
const zt = d(() => Math.max(
|
|
256
|
-
...U.value.filter((t) => !
|
|
256
|
+
...U.value.filter((t) => !p.value.includes(t.uid)).map(({ value: t }) => t)
|
|
257
257
|
));
|
|
258
258
|
function Qe(t) {
|
|
259
259
|
return t / zt.value;
|
|
@@ -262,7 +262,7 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
262
262
|
const n = rl(t).reduce((s, $) => s + $, 0);
|
|
263
263
|
return {
|
|
264
264
|
name: a,
|
|
265
|
-
color: l ||
|
|
265
|
+
color: l || pt(l) || qe.value[o] || X[o] || X[o % X.length],
|
|
266
266
|
value: n,
|
|
267
267
|
proportion: n / We.value.map((s) => (s.values || []).reduce(($, Y) => $ + Y, 0)).reduce((s, $) => s + $, 0),
|
|
268
268
|
uid: dt(),
|
|
@@ -283,18 +283,18 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
283
283
|
v: t.value / I.value * 100,
|
|
284
284
|
s: "%",
|
|
285
285
|
r: e.value.style.chart.legend.roundingPercentage
|
|
286
|
-
}), n =
|
|
286
|
+
}), n = Ce({
|
|
287
287
|
showVal: e.value.style.chart.legend.showValue,
|
|
288
288
|
showPercentage: e.value.style.chart.legend.showPercentage,
|
|
289
289
|
val: l,
|
|
290
|
-
percentage:
|
|
290
|
+
percentage: p.value.includes(t.uid) ? "-%" : o
|
|
291
291
|
});
|
|
292
292
|
return {
|
|
293
293
|
...t,
|
|
294
294
|
shape: "circle",
|
|
295
|
-
opacity:
|
|
295
|
+
opacity: p.value.includes(t.uid) ? 0.5 : 1,
|
|
296
296
|
segregate: () => J(t.uid),
|
|
297
|
-
isSegregated:
|
|
297
|
+
isSegregated: p.value.includes(t.uid),
|
|
298
298
|
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${n}`
|
|
299
299
|
};
|
|
300
300
|
}).toSorted((t, a) => a.value - t.value)), Bt = d(() => ({
|
|
@@ -304,18 +304,18 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
304
304
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
305
305
|
paddingBottom: 12,
|
|
306
306
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
307
|
-
})), I = d(() => U.value.filter((t) => !
|
|
307
|
+
})), I = d(() => U.value.filter((t) => !p.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, a) => t + a, 0)), g = d(() => U.value.filter((t) => !p.value.includes(t.uid)).map(({ name: t, value: a, color: l = null, uid: o, absoluteIndex: n }, s) => ({
|
|
308
308
|
absoluteIndex: n,
|
|
309
309
|
uid: o,
|
|
310
310
|
name: t,
|
|
311
|
-
color: l ||
|
|
311
|
+
color: l || pt(l) || qe.value[s] || X[s] || X[s % X.length],
|
|
312
312
|
value: a,
|
|
313
313
|
proportion: Qe(a),
|
|
314
314
|
percentage: a / I.value * 100,
|
|
315
315
|
strokeWidth: e.value.style.chart.layout.rings.strokeWidth * Qe(a)
|
|
316
316
|
})).toSorted((t, a) => a.value - t.value));
|
|
317
317
|
function Mt() {
|
|
318
|
-
return
|
|
318
|
+
return g.value.map(
|
|
319
319
|
({ name: t, color: a, value: l, absoluteValues: o, percentage: n }) => ({
|
|
320
320
|
name: t,
|
|
321
321
|
color: a,
|
|
@@ -326,13 +326,13 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
326
326
|
);
|
|
327
327
|
}
|
|
328
328
|
const W = d(() => It.value - e.value.style.chart.layout.rings.strokeWidth * 2);
|
|
329
|
-
function
|
|
329
|
+
function we(t, a) {
|
|
330
330
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
|
|
331
331
|
}
|
|
332
332
|
function et(t, a) {
|
|
333
333
|
b.value = null, G.value = !1, O.value = null, Z.value = "pointer", e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function Ce({ val: t, percentage: a, showVal: l, showPercentage: o }) {
|
|
336
336
|
const n = e.value.style.chart.layout.labels.dataLabels;
|
|
337
337
|
return bl({
|
|
338
338
|
config: n,
|
|
@@ -358,7 +358,7 @@ const zl = ["id"], Bl = ["id"], Ml = ["id"], Vl = { style: { position: "relative
|
|
|
358
358
|
r: a.roundingPercentage
|
|
359
359
|
});
|
|
360
360
|
return `${t.name}
|
|
361
|
-
${
|
|
361
|
+
${Ce({
|
|
362
362
|
val: l,
|
|
363
363
|
percentage: o,
|
|
364
364
|
showVal: a.showValue,
|
|
@@ -366,12 +366,12 @@ ${we({
|
|
|
366
366
|
})}`;
|
|
367
367
|
}
|
|
368
368
|
function ee(t) {
|
|
369
|
-
return
|
|
369
|
+
return pl(
|
|
370
370
|
W.value * t.proportion / 2 * 0.9 <= 0 ? 1e-4 : W.value * t.proportion / 2 * 0.9
|
|
371
371
|
);
|
|
372
372
|
}
|
|
373
373
|
function te(t, a) {
|
|
374
|
-
return a === 0 ? F.value.y : F.value.y + W.value *
|
|
374
|
+
return a === 0 ? F.value.y : F.value.y + W.value * g.value[0].proportion / 2 - W.value * t.proportion / 2 - 2 * (a + 1);
|
|
375
375
|
}
|
|
376
376
|
function S(t, a) {
|
|
377
377
|
const o = e.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -(W.value / 2) : W.value / 2;
|
|
@@ -385,31 +385,31 @@ ${we({
|
|
|
385
385
|
if (e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
386
386
|
datapoint: t,
|
|
387
387
|
seriesIndex: a
|
|
388
|
-
}),
|
|
388
|
+
}), p.value.length === C.dataset.length) return;
|
|
389
389
|
ue.value = {
|
|
390
390
|
datapoint: t,
|
|
391
391
|
seriesIndex: a,
|
|
392
|
-
series:
|
|
392
|
+
series: g.value,
|
|
393
393
|
config: e.value
|
|
394
394
|
}, b.value = a, O.value = a, Z.value = l;
|
|
395
|
-
const o =
|
|
395
|
+
const o = g.value[a], n = e.value.style.chart.tooltip.customFormat;
|
|
396
396
|
if (fl(n) && yl(
|
|
397
397
|
() => n({
|
|
398
398
|
seriesIndex: a,
|
|
399
399
|
datapoint: t,
|
|
400
|
-
series:
|
|
400
|
+
series: g.value,
|
|
401
401
|
config: e.value
|
|
402
402
|
})
|
|
403
403
|
))
|
|
404
404
|
de.value = n({
|
|
405
405
|
seriesIndex: a,
|
|
406
406
|
datapoint: t,
|
|
407
|
-
series:
|
|
407
|
+
series: g.value,
|
|
408
408
|
config: e.value
|
|
409
409
|
});
|
|
410
410
|
else {
|
|
411
411
|
let s = "";
|
|
412
|
-
s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${o.color}" />${_t.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${
|
|
412
|
+
s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${o.color}" />${_t.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${w.value}_${t.absoluteIndex})" />` : ""}</svg>`, s += `<b>${Ce({
|
|
413
413
|
showVal: e.value.style.chart.tooltip.showValue,
|
|
414
414
|
showPercentage: e.value.style.chart.tooltip.showPercentage,
|
|
415
415
|
val: `<span>${_e(
|
|
@@ -433,10 +433,10 @@ ${we({
|
|
|
433
433
|
G.value = !0;
|
|
434
434
|
}
|
|
435
435
|
const N = d(() => {
|
|
436
|
-
const t =
|
|
436
|
+
const t = g.value.map((l) => ({
|
|
437
437
|
name: l.name,
|
|
438
438
|
color: l.color
|
|
439
|
-
})), a =
|
|
439
|
+
})), a = g.value.map((l) => l.value);
|
|
440
440
|
return { head: t, body: a };
|
|
441
441
|
}), j = d(() => {
|
|
442
442
|
const t = [
|
|
@@ -500,7 +500,7 @@ ${we({
|
|
|
500
500
|
[e.value.style.chart.title.subtitle.text],
|
|
501
501
|
[[""], ["val"], ["%"]]
|
|
502
502
|
].concat(a), o = hl(l);
|
|
503
|
-
t ? t(o) :
|
|
503
|
+
t ? t(o) : gl({
|
|
504
504
|
csvContent: o,
|
|
505
505
|
title: e.value.style.chart.title.text || "vue-ui-rings"
|
|
506
506
|
});
|
|
@@ -543,7 +543,7 @@ ${we({
|
|
|
543
543
|
const ae = d(() => {
|
|
544
544
|
const t = e.value.table.useDialog && !e.value.table.show, a = f.value.showTable;
|
|
545
545
|
return {
|
|
546
|
-
component: t ? xt :
|
|
546
|
+
component: t ? xt : wt,
|
|
547
547
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
548
548
|
props: t ? {
|
|
549
549
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -578,7 +578,7 @@ ${we({
|
|
|
578
578
|
}
|
|
579
579
|
);
|
|
580
580
|
function st() {
|
|
581
|
-
f.value.showTable = !1,
|
|
581
|
+
f.value.showTable = !1, ge.value && ge.value.setTableIconState(!1);
|
|
582
582
|
}
|
|
583
583
|
const Ut = d(() => Q.value.map((t) => ({
|
|
584
584
|
...t,
|
|
@@ -623,7 +623,7 @@ ${we({
|
|
|
623
623
|
async function ut() {
|
|
624
624
|
if (Ze("copyAlt", {
|
|
625
625
|
config: e.value,
|
|
626
|
-
dataset:
|
|
626
|
+
dataset: g.value
|
|
627
627
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
628
628
|
console.warn(
|
|
629
629
|
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
@@ -633,18 +633,18 @@ ${we({
|
|
|
633
633
|
await Promise.resolve(
|
|
634
634
|
e.value.userOptions.callbacks.altCopy({
|
|
635
635
|
config: e.value,
|
|
636
|
-
dataset:
|
|
636
|
+
dataset: g.value
|
|
637
637
|
})
|
|
638
638
|
);
|
|
639
639
|
}
|
|
640
640
|
function Yt() {
|
|
641
|
-
O.value = null,
|
|
641
|
+
O.value = null, pe.value = !0;
|
|
642
642
|
}
|
|
643
643
|
function qt() {
|
|
644
|
-
O.value = null, Z.value = "pointer", G.value = !1, b.value = null,
|
|
644
|
+
O.value = null, Z.value = "pointer", G.value = !1, b.value = null, pe.value = !1;
|
|
645
645
|
}
|
|
646
646
|
function Zt(t) {
|
|
647
|
-
if (!E.value || le.value || document.activeElement !== E.value || !
|
|
647
|
+
if (!E.value || le.value || document.activeElement !== E.value || !g.value.length || p.value.length === C.dataset.length) return;
|
|
648
648
|
const a = ["ArrowLeft", "ArrowUp"].includes(t.key), l = ["ArrowRight", "ArrowDown"].includes(t.key), o = t.key === "Enter" || t.key === " ", n = t.key === "Escape";
|
|
649
649
|
if (!a && !l && !o && !n)
|
|
650
650
|
return;
|
|
@@ -654,19 +654,19 @@ ${we({
|
|
|
654
654
|
}
|
|
655
655
|
if (o) {
|
|
656
656
|
if (O.value === null) return;
|
|
657
|
-
const Y =
|
|
657
|
+
const Y = g.value[O.value];
|
|
658
658
|
if (!Y) return;
|
|
659
|
-
|
|
659
|
+
we(Y, O.value);
|
|
660
660
|
return;
|
|
661
661
|
}
|
|
662
662
|
let s = O.value;
|
|
663
|
-
s === null || s < 0 || s >=
|
|
664
|
-
const $ =
|
|
663
|
+
s === null || s < 0 || s >= g.value.length ? s = l ? 0 : g.value.length - 1 : l ? (s += 1, s >= g.value.length && (s = 0)) : a && (s -= 1, s < 0 && (s = g.value.length - 1));
|
|
664
|
+
const $ = g.value[s];
|
|
665
665
|
$ && (Jt(s), $e($, s, "keyboard"));
|
|
666
666
|
}
|
|
667
667
|
function Jt(t) {
|
|
668
668
|
if (!Number.isFinite(t) || !E.value) return;
|
|
669
|
-
const a =
|
|
669
|
+
const a = g.value[t];
|
|
670
670
|
if (!a) return;
|
|
671
671
|
const l = S(a, t), o = E.value.getBoundingClientRect();
|
|
672
672
|
Ue.value = {
|
|
@@ -698,21 +698,21 @@ ${we({
|
|
|
698
698
|
ref: _,
|
|
699
699
|
class: B(`vue-data-ui-component vue-ui-rings ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
700
700
|
style: z(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
701
|
-
id: `rings_${
|
|
701
|
+
id: `rings_${w.value}`,
|
|
702
702
|
onMouseleave: a[2] || (a[2] = (l) => {
|
|
703
703
|
b.value = null, G.value = !1, u(He)(!1);
|
|
704
704
|
}),
|
|
705
705
|
onMouseenter: a[3] || (a[3] = () => u(He)(!0))
|
|
706
706
|
}, [
|
|
707
707
|
m("div", {
|
|
708
|
-
id: `chart-instructions-${
|
|
708
|
+
id: `chart-instructions-${w.value}`,
|
|
709
709
|
class: "sr-only"
|
|
710
710
|
}, [
|
|
711
711
|
m("p", null, ie(e.value.a11y.translations.keyboardNavigation), 1)
|
|
712
712
|
], 8, Bl),
|
|
713
713
|
xe.value?.rows?.length ? (i(), P(Dl, {
|
|
714
714
|
key: 0,
|
|
715
|
-
uid:
|
|
715
|
+
uid: w.value,
|
|
716
716
|
head: xe.value.headers,
|
|
717
717
|
body: xe.value.rows,
|
|
718
718
|
notice: e.value.a11y.translations.tableAvailable,
|
|
@@ -775,17 +775,17 @@ ${we({
|
|
|
775
775
|
}, null, 8, ["config"]))
|
|
776
776
|
], 512)) : k("", !0),
|
|
777
777
|
m("div", {
|
|
778
|
-
id: `legend-top-${
|
|
778
|
+
id: `legend-top-${w.value}`
|
|
779
779
|
}, null, 8, Ml),
|
|
780
780
|
e.value.userOptions.show && Fe.value && (u(Xe) || u(fe)) ? (i(), P(u(Tt), {
|
|
781
781
|
ref_key: "userOptionsRef",
|
|
782
|
-
ref:
|
|
782
|
+
ref: ge,
|
|
783
783
|
key: `user_options_${Ie.value}`,
|
|
784
784
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
785
785
|
color: e.value.style.chart.color,
|
|
786
786
|
isPrinting: u(me),
|
|
787
787
|
isImaging: u(ke),
|
|
788
|
-
uid:
|
|
788
|
+
uid: w.value,
|
|
789
789
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
790
790
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
791
791
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -910,7 +910,7 @@ ${we({
|
|
|
910
910
|
}),
|
|
911
911
|
viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
|
|
912
912
|
style: z(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
913
|
-
"aria-describedby": `chart-instructions-${
|
|
913
|
+
"aria-describedby": `chart-instructions-${w.value}`,
|
|
914
914
|
tabindex: "0",
|
|
915
915
|
onFocus: Yt,
|
|
916
916
|
onBlur: qt,
|
|
@@ -930,13 +930,13 @@ ${we({
|
|
|
930
930
|
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
931
931
|
], 8, Ul)) : k("", !0),
|
|
932
932
|
m("defs", null, [
|
|
933
|
-
(i(!0), y(ce, null, Se(
|
|
933
|
+
(i(!0), y(ce, null, Se(g.value, (l, o) => (i(), y("radialGradient", {
|
|
934
934
|
cx: "50%",
|
|
935
935
|
cy: "30%",
|
|
936
936
|
r: "50%",
|
|
937
937
|
fx: "50%",
|
|
938
938
|
fy: "50%",
|
|
939
|
-
id: `gradient_${
|
|
939
|
+
id: `gradient_${w.value}_${o}`
|
|
940
940
|
}, [
|
|
941
941
|
m("stop", {
|
|
942
942
|
offset: "0%",
|
|
@@ -952,14 +952,14 @@ ${we({
|
|
|
952
952
|
], 8, Wl))), 256))
|
|
953
953
|
]),
|
|
954
954
|
t.$slots.pattern ? (i(), y("g", Gl, [
|
|
955
|
-
(i(!0), y(ce, null, Se(
|
|
955
|
+
(i(!0), y(ce, null, Se(g.value, (l) => (i(), y("defs", null, [
|
|
956
956
|
c(t.$slots, "pattern", it({ ref_for: !0 }, {
|
|
957
957
|
seriesIndex: l.absoluteIndex,
|
|
958
|
-
patternId: `pattern_${
|
|
958
|
+
patternId: `pattern_${w.value}_${l.absoluteIndex}`
|
|
959
959
|
}), void 0, !0)
|
|
960
960
|
]))), 256))
|
|
961
961
|
])) : k("", !0),
|
|
962
|
-
(i(!0), y(ce, null, Se(
|
|
962
|
+
(i(!0), y(ce, null, Se(g.value, (l, o) => (i(), y("g", null, [
|
|
963
963
|
m("circle", {
|
|
964
964
|
class: B({
|
|
965
965
|
"vue-ui-rings-item": x.value && e.value.useCssAnimation,
|
|
@@ -986,7 +986,7 @@ ${we({
|
|
|
986
986
|
cx: F.value.x,
|
|
987
987
|
cy: te(l, o),
|
|
988
988
|
r: ee(l),
|
|
989
|
-
fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${
|
|
989
|
+
fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${w.value}_${o})` : l.color
|
|
990
990
|
}, null, 14, jl),
|
|
991
991
|
t.$slots.pattern ? (i(), y("circle", {
|
|
992
992
|
key: 0,
|
|
@@ -1002,7 +1002,7 @@ ${we({
|
|
|
1002
1002
|
cx: F.value.x,
|
|
1003
1003
|
cy: te(l, o),
|
|
1004
1004
|
r: ee(l),
|
|
1005
|
-
fill: `url(#pattern_${
|
|
1005
|
+
fill: `url(#pattern_${w.value}_${l.absoluteIndex})`
|
|
1006
1006
|
}, null, 14, Yl)) : k("", !0),
|
|
1007
1007
|
m("circle", {
|
|
1008
1008
|
stroke: "none",
|
|
@@ -1012,7 +1012,7 @@ ${we({
|
|
|
1012
1012
|
fill: "transparent",
|
|
1013
1013
|
onMouseenter: (n) => $e(l, o, "pointer"),
|
|
1014
1014
|
onMouseleave: (n) => et(l, o),
|
|
1015
|
-
onClick: (n) =>
|
|
1015
|
+
onClick: (n) => we(l, o)
|
|
1016
1016
|
}, null, 40, ql),
|
|
1017
1017
|
f.value.showLabels ? (i(), y(ce, { key: 1 }, [
|
|
1018
1018
|
m("rect", {
|
|
@@ -1059,7 +1059,7 @@ ${we({
|
|
|
1059
1059
|
}),
|
|
1060
1060
|
onMouseenter: (n) => $e(l, o, "pointer"),
|
|
1061
1061
|
onMouseleave: (n) => et(l, o),
|
|
1062
|
-
onClick: (n) =>
|
|
1062
|
+
onClick: (n) => we(l, o),
|
|
1063
1063
|
innerHTML: u(dl)({
|
|
1064
1064
|
content: Vt(l),
|
|
1065
1065
|
fontSize: e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -1082,7 +1082,7 @@ ${we({
|
|
|
1082
1082
|
t.$slots.hint ? (i(), y("div", ea, [
|
|
1083
1083
|
c(t.$slots, "hint", T(L({
|
|
1084
1084
|
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1085
|
-
isVisible:
|
|
1085
|
+
isVisible: pe.value
|
|
1086
1086
|
})), void 0, !0)
|
|
1087
1087
|
])) : k("", !0)
|
|
1088
1088
|
]),
|
|
@@ -1092,11 +1092,11 @@ ${we({
|
|
|
1092
1092
|
})), void 0, !0)
|
|
1093
1093
|
])) : k("", !0),
|
|
1094
1094
|
m("div", {
|
|
1095
|
-
id: `legend-bottom-${
|
|
1095
|
+
id: `legend-bottom-${w.value}`
|
|
1096
1096
|
}, null, 8, la),
|
|
1097
|
-
Ee.value ? (i(), P(al, {
|
|
1097
|
+
Ee.value && e.value.style.chart.legend.show ? (i(), P(al, {
|
|
1098
1098
|
key: 6,
|
|
1099
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1099
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
1100
1100
|
}, [
|
|
1101
1101
|
m("div", {
|
|
1102
1102
|
ref_key: "chartLegend",
|
|
@@ -1113,7 +1113,7 @@ ${we({
|
|
|
1113
1113
|
u(A) ? k("", !0) : (i(), y("div", {
|
|
1114
1114
|
key: 0,
|
|
1115
1115
|
onClick: (n) => J(l.uid),
|
|
1116
|
-
style: z(`opacity:${
|
|
1116
|
+
style: z(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
|
|
1117
1117
|
}, ie(l.display), 13, aa))
|
|
1118
1118
|
]),
|
|
1119
1119
|
legendToggle: v(() => [
|
|
@@ -1122,7 +1122,7 @@ ${we({
|
|
|
1122
1122
|
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1123
1123
|
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
1124
1124
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
1125
|
-
checked:
|
|
1125
|
+
checked: p.value.length > 0,
|
|
1126
1126
|
isCursorPointer: V.value,
|
|
1127
1127
|
onToggle: Dt
|
|
1128
1128
|
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : k("", !0)
|
|
@@ -1137,7 +1137,7 @@ ${we({
|
|
|
1137
1137
|
radius: 30,
|
|
1138
1138
|
stroke: "none",
|
|
1139
1139
|
plot: { x: 30, y: 30 },
|
|
1140
|
-
fill: `url(#pattern_${
|
|
1140
|
+
fill: `url(#pattern_${w.value}_${o})`
|
|
1141
1141
|
}, null, 8, ["shape", "fill"])
|
|
1142
1142
|
]),
|
|
1143
1143
|
key: "0"
|
|
@@ -1158,7 +1158,7 @@ ${we({
|
|
|
1158
1158
|
], 512)) : k("", !0),
|
|
1159
1159
|
ve(u(mt), {
|
|
1160
1160
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1161
|
-
show: f.value.showTooltip && G.value &&
|
|
1161
|
+
show: f.value.showTooltip && G.value && p.value.length < C.dataset.length,
|
|
1162
1162
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1163
1163
|
color: e.value.style.chart.tooltip.color,
|
|
1164
1164
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -1196,7 +1196,7 @@ ${we({
|
|
|
1196
1196
|
onClose: st
|
|
1197
1197
|
}), Ae({
|
|
1198
1198
|
content: v(() => [
|
|
1199
|
-
(i(), P(u(
|
|
1199
|
+
(i(), P(u(Ct), {
|
|
1200
1200
|
key: `table_${Me.value}`,
|
|
1201
1201
|
colNames: j.value.colNames,
|
|
1202
1202
|
head: j.value.head,
|
|
@@ -1251,7 +1251,7 @@ ${we({
|
|
|
1251
1251
|
], !0)
|
|
1252
1252
|
], 46, zl));
|
|
1253
1253
|
}
|
|
1254
|
-
}, xa = /* @__PURE__ */ Rl(sa, [["__scopeId", "data-v-
|
|
1254
|
+
}, xa = /* @__PURE__ */ Rl(sa, [["__scopeId", "data-v-b66a0825"]]);
|
|
1255
1255
|
export {
|
|
1256
1256
|
xa as default
|
|
1257
1257
|
};
|
|
@@ -79,7 +79,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
|
|
|
79
79
|
), il = ye(
|
|
80
80
|
() => import("./UserOptions-DVduN6X7.js")
|
|
81
81
|
), rl = ye(
|
|
82
|
-
() => import("./PackageVersion-
|
|
82
|
+
() => import("./PackageVersion-OCIkUsLh.js")
|
|
83
83
|
), vl = ye(
|
|
84
84
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
85
85
|
), { vue_ui_scatter: cl } = ya(), { isThemeValid: yl, warnInvalidTheme: dl } = ga(), te = el, hl = ll, gt = T(() => !!te.dataset && te.dataset.length), N = w(Zl()), De = w(!1), qe = w(""), mt = w(0), ne = w(null), xt = w(null), bt = w(null), kt = w(null), wt = w(null), $t = w(0), Mt = w(0), _t = w(0), I = w([]), Ct = w(!1), _e = w(null), Ce = w(null), Ae = w(null), He = w(null), Ee = w(!1), Ne = w(!1), Ke = w(null), fl = w(null), pl = w(null), Ze = w(null), me = w(null), At = w({ x: 0, y: 0 }), Se = w("pointer"), Fe = w(!1), Te = w(null), e = w(lt()), de = T(
|
|
@@ -1852,7 +1852,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
|
|
|
1852
1852
|
k("div", {
|
|
1853
1853
|
id: `legend-bottom-${N.value}`
|
|
1854
1854
|
}, null, 8, No),
|
|
1855
|
-
Ct.value ? (v(), ae(ql, {
|
|
1855
|
+
Ct.value && e.value.style.legend.show ? (v(), ae(ql, {
|
|
1856
1856
|
key: 7,
|
|
1857
1857
|
to: e.value.style.legend.position === "top" ? `#legend-top-${N.value}` : `#legend-bottom-${N.value}`
|
|
1858
1858
|
}, [
|
|
@@ -2008,7 +2008,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
|
|
|
2008
2008
|
], !0)
|
|
2009
2009
|
], 46, Aa));
|
|
2010
2010
|
}
|
|
2011
|
-
}, vs = /* @__PURE__ */ Ca(Vo, [["__scopeId", "data-v-
|
|
2011
|
+
}, vs = /* @__PURE__ */ Ca(Vo, [["__scopeId", "data-v-7333b849"]]);
|
|
2012
2012
|
export {
|
|
2013
2013
|
vs as default
|
|
2014
2014
|
};
|
|
@@ -2,7 +2,7 @@ import { ref as w, computed as g, openBlock as e, createElementBlock as o, norma
|
|
|
2
2
|
import { A as B, X as u, u as v, z as F } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { u as O } from "./useNestedProp-DH0BEVVS.js";
|
|
4
4
|
import { u as V } from "./useConfig-B70q17MC.js";
|
|
5
|
-
import y from "./PackageVersion-
|
|
5
|
+
import y from "./PackageVersion-OCIkUsLh.js";
|
|
6
6
|
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = ["d", "fill", "stroke"], Y = ["xmlns"], D = ["id"], J = ["stop-color"], K = ["stop-color"], l1 = ["stop-color"], t1 = ["stop-color"], e1 = ["fill", "stroke"], o1 = ["fill", "stroke"], s1 = ["fill", "stroke"], r1 = ["fill", "stroke"], i1 = ["fill", "stroke"], n1 = ["xmlns"], a1 = ["stroke"], u1 = ["stroke"], c1 = ["stroke"], d1 = ["fill", "stroke"], y1 = ["fill"], k1 = ["fill", "stroke"], h1 = ["fill"], v1 = ["fill", "stroke"], _1 = ["fill"], x1 = ["fill", "stroke"], p1 = ["fill"], g1 = ["fill", "stroke"], f1 = ["fill"], w1 = ["fill", "stroke"], C1 = ["fill"], m1 = ["xmlns"], b1 = ["stroke"], M1 = ["stroke"], L1 = ["stroke"], A1 = ["stroke"], $1 = ["stroke"], B1 = ["stroke"], P1 = ["stroke"], W1 = ["stroke"], j1 = ["stroke"], z1 = ["xmlns"], Z1 = ["stroke", "fill"], q1 = ["xmlns"], H1 = ["stroke", "fill"], Q1 = ["xmlns"], E1 = ["fill"], S1 = ["fill"], I1 = ["fill"], N1 = ["fill"], F1 = ["xmlns"], O1 = ["stroke"], V1 = ["fill"], X1 = ["stroke", "fill"], G1 = ["stroke", "fill"], R1 = ["fill"], T1 = ["stroke", "fill"], U1 = ["stroke", "fill"], Y1 = ["fill"], D1 = ["stroke", "fill"], J1 = ["stroke", "fill"], K1 = ["fill"], ll = ["stroke", "fill"], tl = ["stroke", "fill"], el = ["fill"], ol = ["stroke", "fill"], sl = ["stroke", "fill"], rl = ["xmlns"], il = ["stroke"], nl = ["stroke"], al = ["stroke", "fill"], ul = ["stroke", "fill"], cl = ["stroke", "fill"], dl = ["stroke", "fill"], yl = ["stroke", "fill"], kl = ["stroke", "fill"], hl = ["stroke", "fill"], vl = ["stroke", "fill"], _l = ["stroke", "fill"], xl = ["stroke", "fill"], pl = ["stroke", "fill"], gl = ["stroke", "fill"], fl = ["stroke", "fill"], wl = ["stroke", "fill"], Cl = ["stroke", "fill"], ml = ["stroke", "fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["stroke", "fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["xmlns"], jl = ["stroke"], zl = ["xmlns"], Zl = ["stroke"], ql = ["xmlns"], Hl = ["stroke"], Ql = ["xmlns"], El = ["fill"], Sl = ["fill"], Il = ["fill"], Nl = ["fill"], Fl = ["fill"], Ol = ["fill"], Vl = ["fill"], Xl = ["fill"], Gl = ["fill"], Rl = ["fill"], Tl = ["fill"], Ul = ["fill"], Yl = ["xmlns"], Dl = ["stroke"], Jl = ["stroke"], Kl = ["stroke"], l0 = ["stroke"], t0 = ["stroke"], e0 = ["stroke"], o0 = ["xmlns"], s0 = ["stroke"], r0 = ["stroke"], i0 = ["stroke"], n0 = ["stroke"], a0 = ["stroke"], u0 = ["stroke"], c0 = ["stroke"], d0 = ["stroke"], y0 = ["stroke"], k0 = ["xmlns"], h0 = ["stroke"], v0 = ["xmlns"], _0 = ["stroke"], x0 = ["stroke"], p0 = ["stroke"], g0 = ["stroke"], f0 = ["stroke"], w0 = ["stroke"], C0 = ["stroke"], m0 = ["stroke"], b0 = ["stroke"], M0 = ["xmlns"], L0 = ["x1", "x2", "stroke"], A0 = ["xmlns"], $0 = ["x", "y", "width", "height", "fill"], B0 = ["y", "width", "height", "fill"], P0 = ["xmlns"], W0 = ["fill"], j0 = ["fill"], z0 = ["fill"], Z0 = ["xmlns"], q0 = ["x1", "x2", "y1", "y2", "stroke"], H0 = ["stroke"], Q0 = ["fill"], E0 = ["xmlns"], S0 = ["fill"], I0 = ["fill"], N0 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], F0 = ["xmlns"], O0 = { key: 0 }, V0 = ["stroke", "stroke-width"], X0 = ["stroke", "stroke-width"], G0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], R0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], T0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], U0 = ["x", "y", "height", "width", "fill"], Y0 = ["xmlns", "viewBox"], D0 = ["x", "y", "stroke", "fill"], J0 = ["xmlns"], K0 = ["d", "stroke"], lt = ["cx", "cy", "r", "fill", "stroke"], tt = ["cx", "cy", "r", "fill", "stroke"], et = ["x", "y", "width", "fill"], ot = ["cx", "cy", "fill"], st = ["cx", "cy", "fill"], rt = ["stroke"], it = ["xmlns"], nt = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ut = ["stroke", "stroke-width"], ct = ["fill"], dt = ["fill"], yt = ["fill"], kt = ["fill"], ht = ["fill"], vt = ["fill"], _t = ["xmlns"], xt = { key: 0 }, pt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], wt = { key: 1 }, Ct = ["r", "fill"], mt = ["r", "fill"], bt = ["xmlns"], Mt = { key: 0 }, Lt = ["stroke", "stroke-width"], At = ["stroke", "stroke-width"], $t = ["fill", "rx", "x", "y", "width", "height"], Bt = ["xmlns"], Pt = ["stroke-width", "stroke"], Wt = ["stroke-width", "stroke"], jt = ["stroke-width", "stroke"], zt = ["xmlns"], Zt = ["stroke"], qt = ["stroke"], Ht = ["stroke"], Qt = ["stroke"], Et = ["fill"], St = ["stroke"], It = ["xmlns"], Nt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ot = ["fill", "r"], Vt = ["fill", "r"], Xt = ["fill", "r"], Gt = ["fill", "r"], Rt = ["fill", "r"], Tt = ["fill", "r"], Ut = ["fill", "r"], Yt = ["fill", "r"], Dt = ["fill", "r"], Jt = ["xmlns"], Kt = ["d", "stroke", "stroke-width"], le = ["d", "stroke", "stroke-width"], te = ["d", "stroke", "stroke-width"], ee = ["d", "stroke", "stroke-width"], oe = ["stroke", "stroke-width"], se = ["stroke", "stroke-width"], re = ["stroke", "stroke-width"], ie = ["fill"], ne = ["fill"], ae = ["xmlns"], ue = ["x", "y", "fill"], ce = ["x", "y", "fill"], de = ["x", "y", "fill"], ye = ["xmlns"], ke = ["fill"], he = ["fill"], ve = ["y1", "y2", "stroke", "stroke-width"], _e = ["x1", "x2", "stroke", "stroke-width"], xe = ["xmlns", "stroke"], pe = ["fill"], ge = ["xmlns", "stroke"], fe = ["xmlns", "stroke"], we = ["fill"], Ce = ["xmlns", "stroke"], me = ["xmlns", "stroke"], be = ["fill"], Me = ["xmlns", "stroke"], Le = ["xmlns", "stroke"], Ae = ["fill"], $e = ["xmlns", "stroke"], Be = ["xmlns", "stroke"], Pe = ["fill"], We = ["xmlns", "stroke"], je = ["xmlns"], ze = ["points", "fill", "stroke", "stroke-width"], Ze = ["xmlns"], qe = { key: 0 }, He = ["stroke", "stroke-width"], Qe = ["y", "width", "fill", "rx"], Ee = {
|
|
8
8
|
__name: "vue-ui-skeleton",
|
|
@@ -27,7 +27,7 @@ const Re = ["id", "aria-describedby"], Ge = ["id"], Pe = ["xmlns", "viewBox"], Z
|
|
|
27
27
|
},
|
|
28
28
|
setup(oe) {
|
|
29
29
|
const re = _e(
|
|
30
|
-
() => import("./PackageVersion-
|
|
30
|
+
() => import("./PackageVersion-OCIkUsLh.js")
|
|
31
31
|
), { vue_ui_spark_trend: ie } = Me(), { isThemeValid: ve, warnInvalidTheme: de } = De(), S = Ee(), h = oe, V = c(null), K = c(null), X = c(null), C = c(null), z = c(null), T = c(!1), p = c(null), $ = c(Te()), e = c(E()), fe = s(() => ae({
|
|
32
32
|
defaultConfig: {
|
|
33
33
|
style: {
|