vue-data-ui 3.19.7 → 3.19.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{PackageVersion-DUU5Aku2.js → PackageVersion-Dl9W5zJD.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/types/vue-ui-dag.d.ts +2 -0
- package/dist/{vue-data-ui-DBjj6t8B.js → vue-data-ui-nsosW-n5.js} +61 -61
- package/dist/vue-data-ui.js +61 -61
- package/dist/{vue-ui-3d-bar-CmAc1xBL.js → vue-ui-3d-bar-CTvvvgBE.js} +1 -1
- package/dist/{vue-ui-age-pyramid-CFvux3-S.js → vue-ui-age-pyramid-ckZtLlmH.js} +1 -1
- package/dist/{vue-ui-bullet-C4xEb3fq.js → vue-ui-bullet-3CkhGOSb.js} +1 -1
- package/dist/{vue-ui-bump-BW76g7ep.js → vue-ui-bump-LQuPTOlm.js} +1 -1
- package/dist/{vue-ui-candlestick-ShTn9uzH.js → vue-ui-candlestick-BeO06tlH.js} +1 -1
- package/dist/{vue-ui-carousel-table-DMan_IZb.js → vue-ui-carousel-table-nZJ1k6se.js} +1 -1
- package/dist/{vue-ui-chestnut-BIfaNOqy.js → vue-ui-chestnut-BWItE1hg.js} +1 -1
- package/dist/{vue-ui-chord-GDJiAjfD.js → vue-ui-chord-YflKRyWK.js} +1 -1
- package/dist/{vue-ui-circle-pack-Bo4ljiP_.js → vue-ui-circle-pack-DyTYvEg3.js} +1 -1
- package/dist/{vue-ui-cursor-BuLoDOFw.js → vue-ui-cursor-C5_wkWul.js} +1 -1
- package/dist/{vue-ui-dag-BmbwijZi.js → vue-ui-dag-mH0baWM3.js} +1 -1
- package/dist/{vue-ui-dashboard-CyzIaw6M.js → vue-ui-dashboard-F7pEuJDh.js} +58 -58
- package/dist/{vue-ui-digits-B33dTRHj.js → vue-ui-digits-BYBtwXy_.js} +1 -1
- package/dist/{vue-ui-donut-BIgvjStd.js → vue-ui-donut-B3L7jeHL.js} +434 -432
- package/dist/{vue-ui-donut-evolution-DT5F88LK.js → vue-ui-donut-evolution-C46h0gLy.js} +356 -356
- package/dist/{vue-ui-dumbbell-SwLKpHuh.js → vue-ui-dumbbell-xekp1obI.js} +1 -1
- package/dist/{vue-ui-flow-BqTUyRBS.js → vue-ui-flow-BYYyk5KL.js} +1 -1
- package/dist/{vue-ui-funnel-GOx4FfhB.js → vue-ui-funnel-BfY509t-.js} +1 -1
- package/dist/{vue-ui-galaxy-CTMyOfp7.js → vue-ui-galaxy-D061gTYS.js} +260 -257
- package/dist/{vue-ui-gauge-Clz_TmiX.js → vue-ui-gauge-BRxZNBBS.js} +1 -1
- package/dist/{vue-ui-geo-2kZK_UVF.js → vue-ui-geo-BwOMFUVr.js} +1 -1
- package/dist/{vue-ui-gizmo-BpNEwLo7.js → vue-ui-gizmo-CQsP8Nd3.js} +1 -1
- package/dist/{vue-ui-heatmap-B6FLZij5.js → vue-ui-heatmap-DOsulVoP.js} +1 -1
- package/dist/{vue-ui-history-plot-DpGwqYyg.js → vue-ui-history-plot-CXW6lF42.js} +4 -8
- package/dist/{vue-ui-horizontal-bar-BHFd966c.js → vue-ui-horizontal-bar-CideXtlg.js} +4 -4
- package/dist/{vue-ui-kpi-DyIqCISK.js → vue-ui-kpi-CE-JFZ1o.js} +1 -1
- package/dist/{vue-ui-molecule-BtQOQ32e.js → vue-ui-molecule-B1Prm5Lk.js} +1 -1
- package/dist/{vue-ui-mood-radar-CZSLnIMi.js → vue-ui-mood-radar-B29gVcTN.js} +1 -1
- package/dist/{vue-ui-nested-donuts-Lhteboo1.js → vue-ui-nested-donuts-Bsx5f9Gv.js} +97 -94
- package/dist/{vue-ui-onion-uCUgmyF1.js → vue-ui-onion-MN-PjNJq.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-_u_VTAjF.js → vue-ui-parallel-coordinate-plot-C9zU7MP5.js} +91 -95
- package/dist/{vue-ui-quadrant-CgalDMyS.js → vue-ui-quadrant-h-QFG9O4.js} +3 -3
- package/dist/vue-ui-quick-chart-PAVz4c9z.js +2469 -0
- package/dist/{vue-ui-radar-64HPFASp.js → vue-ui-radar-D2pVd53z.js} +115 -112
- package/dist/{vue-ui-relation-circle-DT4So4-6.js → vue-ui-relation-circle-BjB0J53V.js} +1 -1
- package/dist/{vue-ui-ridgeline-5fZANTS9.js → vue-ui-ridgeline-DamvqiyJ.js} +3 -3
- package/dist/{vue-ui-rings-QFY794j3.js → vue-ui-rings-DkHS5dwd.js} +105 -102
- package/dist/{vue-ui-scatter-BPCY-u36.js → vue-ui-scatter-dFDowCVQ.js} +5 -5
- package/dist/{vue-ui-skeleton-Dj_ZVfSX.js → vue-ui-skeleton-zhkS1cmh.js} +1 -1
- package/dist/{vue-ui-spark-trend-DB0VHzm0.js → vue-ui-spark-trend-fQ10-UvM.js} +1 -1
- package/dist/{vue-ui-sparkbar-DVGRTFO5.js → vue-ui-sparkbar-D5toou8V.js} +1 -1
- package/dist/{vue-ui-sparkgauge-3UFZaDF9.js → vue-ui-sparkgauge-DRZcIPYf.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRmBVef7.js → vue-ui-sparkhistogram-YizEqFdN.js} +1 -1
- package/dist/{vue-ui-sparkline-vsqKnakQ.js → vue-ui-sparkline-w2nclIW0.js} +1 -1
- package/dist/vue-ui-sparkstackbar-CTShNXhW.js +662 -0
- package/dist/{vue-ui-stackbar-9jP1s0MN.js → vue-ui-stackbar-BFLCEsRk.js} +404 -404
- package/dist/{vue-ui-stackline-D1o_afno.js → vue-ui-stackline-CU6s-hhv.js} +125 -125
- package/dist/{vue-ui-strip-plot-CogQ8VSl.js → vue-ui-strip-plot-ByaDLFSL.js} +1 -1
- package/dist/{vue-ui-table-Bub1v0eM.js → vue-ui-table-DuA_CfGn.js} +2 -2
- package/dist/{vue-ui-table-sparkline-BPts9wTR.js → vue-ui-table-sparkline-Dfei_QrJ.js} +1 -1
- package/dist/{vue-ui-thermometer-CJJ4cVt0.js → vue-ui-thermometer-biw3ivMI.js} +1 -1
- package/dist/{vue-ui-timer-BEPXWd20.js → vue-ui-timer-9LNNDl4q.js} +1 -1
- package/dist/{vue-ui-tiremarks-BC7bLLQD.js → vue-ui-tiremarks-kF0Baqia.js} +1 -1
- package/dist/{vue-ui-treemap-Cja-vZoa.js → vue-ui-treemap-BexKMBhz.js} +373 -373
- package/dist/{vue-ui-waffle-BRj-YBlz.js → vue-ui-waffle-Dq50j_uw.js} +1 -1
- package/dist/{vue-ui-wheel-AOTFpTWN.js → vue-ui-wheel-BETHlWsO.js} +1 -1
- package/dist/{vue-ui-word-cloud-dqfAdhW-.js → vue-ui-word-cloud-D1AQtzmT.js} +1 -1
- package/dist/{vue-ui-world-DqwsIYze.js → vue-ui-world-CcgbuSp_.js} +1 -1
- package/dist/vue-ui-xy-BQ1YONCq.js +4219 -0
- package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-4ABYnasj.js} +3 -3
- package/package.json +1 -1
- package/dist/vue-ui-quick-chart-BAWcSaDB.js +0 -2471
- package/dist/vue-ui-sparkstackbar-BNUhunuQ.js +0 -662
- package/dist/vue-ui-xy-Dhult6gR.js +0 -4181
|
@@ -107,7 +107,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
107
107
|
},
|
|
108
108
|
emits: ["selectLegend", "copyAlt"],
|
|
109
109
|
setup(e, { expose: Te, emit: Ze }) {
|
|
110
|
-
let bt = f(() => import("./Tooltip-CuWEYGr3.js")), xt = f(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), St = f(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), Ct = f(() => import("./DataTable-DmE8Oo4i.js")), wt = f(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Tt = f(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Et = f(() => import("./PackageVersion-
|
|
110
|
+
let bt = f(() => import("./Tooltip-CuWEYGr3.js")), xt = f(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), St = f(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), Ct = f(() => import("./DataTable-DmE8Oo4i.js")), wt = f(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Tt = f(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Et = f(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), Dt = f(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_rings: Ot } = he(), { isThemeValid: kt, warnInvalidTheme: At } = xe(), jt = Ye(), S = e, C = v(!1), Mt = s(() => !!S.dataset && S.dataset.length), w = v(r()), T = v(!1), Nt = v(""), E = v(null), Pt = v(0), D = v(null), Ft = v(null), It = v(null), Lt = v(null), Rt = v(null), zt = v(0), Bt = v(0), Vt = v(0), Ht = v(!1), Ut = v(!1), O = v(null), Wt = v(null), Gt = v(!1), Kt = v(!1), k = v(null), qt = v({
|
|
111
111
|
x: 0,
|
|
112
112
|
y: 0
|
|
113
113
|
}), A = v("pointer"), Jt = v(!1), j = v(tn()), M = s(() => j.value.userOptions.useCursorPointer), Yt = s(() => me({
|
|
@@ -271,7 +271,14 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
271
271
|
function mn() {
|
|
272
272
|
B.value.length ? B.value = [] : U.value.forEach((e) => {
|
|
273
273
|
B.value.push(e.uid);
|
|
274
|
-
});
|
|
274
|
+
}), hn();
|
|
275
|
+
}
|
|
276
|
+
function hn() {
|
|
277
|
+
pn("selectLegend", G.value.map((e) => ({
|
|
278
|
+
name: e.name,
|
|
279
|
+
color: e.color,
|
|
280
|
+
value: e.value
|
|
281
|
+
})));
|
|
275
282
|
}
|
|
276
283
|
function V(e) {
|
|
277
284
|
if (B.value.includes(e)) B.value = B.value.filter((t) => t !== e);
|
|
@@ -279,26 +286,22 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
279
286
|
if (B.value.length === H.value.length - 1) return;
|
|
280
287
|
B.value.push(e);
|
|
281
288
|
}
|
|
282
|
-
|
|
283
|
-
name: e.name,
|
|
284
|
-
color: e.color,
|
|
285
|
-
value: e.value
|
|
286
|
-
})));
|
|
289
|
+
hn();
|
|
287
290
|
}
|
|
288
|
-
function
|
|
291
|
+
function gn(e) {
|
|
289
292
|
return H.value.length ? H.value.find((t) => t.name === e) || (j.value.debug && console.warn(`VueUiRings - Series name not found "${e}"`), null) : (j.value.debug && console.warn("VueUiRings - There are no series to show."), null);
|
|
290
293
|
}
|
|
291
|
-
function
|
|
292
|
-
let t =
|
|
294
|
+
function _n(e) {
|
|
295
|
+
let t = gn(e);
|
|
293
296
|
t !== null && B.value.includes(t.uid) && V(t.uid);
|
|
294
297
|
}
|
|
295
|
-
function
|
|
296
|
-
let t =
|
|
298
|
+
function vn(e) {
|
|
299
|
+
let t = gn(e);
|
|
297
300
|
t !== null && (B.value.includes(t.uid) || V(t.uid));
|
|
298
301
|
}
|
|
299
|
-
let
|
|
300
|
-
function
|
|
301
|
-
return e /
|
|
302
|
+
let yn = s(() => Math.max(...H.value.filter((e) => !B.value.includes(e.uid)).map(({ value: e }) => e)));
|
|
303
|
+
function bn(e) {
|
|
304
|
+
return e / yn.value;
|
|
302
305
|
}
|
|
303
306
|
let H = s(() => Xt.value.map(({ values: e, name: t, color: n = null }, i) => {
|
|
304
307
|
let a = oe(e).reduce((e, t) => e + t, 0);
|
|
@@ -323,7 +326,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
323
326
|
v: e.value / W.value * 100,
|
|
324
327
|
s: "%",
|
|
325
328
|
r: j.value.style.chart.legend.roundingPercentage
|
|
326
|
-
}), a =
|
|
329
|
+
}), a = Tn({
|
|
327
330
|
showVal: j.value.style.chart.legend.showValue,
|
|
328
331
|
showPercentage: j.value.style.chart.legend.showPercentage,
|
|
329
332
|
val: r,
|
|
@@ -337,7 +340,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
337
340
|
isSegregated: B.value.includes(e.uid),
|
|
338
341
|
display: `${e.name}${j.value.style.chart.legend.showPercentage || j.value.style.chart.legend.showValue ? ": " : ""}${a}`
|
|
339
342
|
};
|
|
340
|
-
}).toSorted((e, t) => t.value - e.value)),
|
|
343
|
+
}).toSorted((e, t) => t.value - e.value)), xn = s(() => ({
|
|
341
344
|
cy: "rings-div-legend",
|
|
342
345
|
backgroundColor: j.value.style.chart.legend.backgroundColor,
|
|
343
346
|
color: j.value.style.chart.legend.color,
|
|
@@ -350,11 +353,11 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
350
353
|
name: e,
|
|
351
354
|
color: n || pe(n) || dn.value[a] || o[a] || o[a % o.length],
|
|
352
355
|
value: t,
|
|
353
|
-
proportion:
|
|
356
|
+
proportion: bn(t),
|
|
354
357
|
percentage: t / W.value * 100,
|
|
355
|
-
strokeWidth: j.value.style.chart.layout.rings.strokeWidth *
|
|
358
|
+
strokeWidth: j.value.style.chart.layout.rings.strokeWidth * bn(t)
|
|
356
359
|
})).toSorted((e, t) => t.value - e.value));
|
|
357
|
-
function
|
|
360
|
+
function Sn() {
|
|
358
361
|
return G.value.map(({ name: e, color: t, value: n, absoluteValues: r, percentage: i }) => ({
|
|
359
362
|
name: e,
|
|
360
363
|
color: t,
|
|
@@ -364,19 +367,19 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
364
367
|
}));
|
|
365
368
|
}
|
|
366
369
|
let K = s(() => fn.value - j.value.style.chart.layout.rings.strokeWidth * 2);
|
|
367
|
-
function
|
|
370
|
+
function Cn(e, t) {
|
|
368
371
|
j.value.events.datapointClick && j.value.events.datapointClick({
|
|
369
372
|
datapoint: e,
|
|
370
373
|
seriesIndex: t
|
|
371
374
|
});
|
|
372
375
|
}
|
|
373
|
-
function
|
|
376
|
+
function wn(e, t) {
|
|
374
377
|
E.value = null, T.value = !1, k.value = null, A.value = "pointer", j.value.events.datapointLeave && j.value.events.datapointLeave({
|
|
375
378
|
datapoint: e,
|
|
376
379
|
seriesIndex: t
|
|
377
380
|
});
|
|
378
381
|
}
|
|
379
|
-
function
|
|
382
|
+
function Tn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
|
|
380
383
|
let i = j.value.style.chart.layout.labels.dataLabels;
|
|
381
384
|
return Me({
|
|
382
385
|
config: i,
|
|
@@ -386,7 +389,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
386
389
|
showPercentage: r
|
|
387
390
|
});
|
|
388
391
|
}
|
|
389
|
-
function
|
|
392
|
+
function En(e) {
|
|
390
393
|
let t = j.value.style.chart.layout.labels.dataLabels, r = ie(t.formatter, e.value, n({
|
|
391
394
|
p: t.prefix,
|
|
392
395
|
v: e.value,
|
|
@@ -397,7 +400,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
397
400
|
s: "%",
|
|
398
401
|
r: t.roundingPercentage
|
|
399
402
|
});
|
|
400
|
-
return `${e.name}\n${
|
|
403
|
+
return `${e.name}\n${Tn({
|
|
401
404
|
val: r,
|
|
402
405
|
percentage: i,
|
|
403
406
|
showVal: t.showValue,
|
|
@@ -417,13 +420,13 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
417
420
|
y: J(e, t) - q(e)
|
|
418
421
|
};
|
|
419
422
|
}
|
|
420
|
-
let
|
|
421
|
-
function
|
|
423
|
+
let Dn = v(null);
|
|
424
|
+
function On(e, t, r = "pointer") {
|
|
422
425
|
if (j.value.events.datapointEnter && j.value.events.datapointEnter({
|
|
423
426
|
datapoint: e,
|
|
424
427
|
seriesIndex: t
|
|
425
428
|
}), B.value.length === S.dataset.length) return;
|
|
426
|
-
|
|
429
|
+
Dn.value = {
|
|
427
430
|
datapoint: e,
|
|
428
431
|
seriesIndex: t,
|
|
429
432
|
series: G.value,
|
|
@@ -443,7 +446,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
443
446
|
});
|
|
444
447
|
else {
|
|
445
448
|
let r = "";
|
|
446
|
-
r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${j.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${i.name}</div>`, r += `<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="${i.color}" />${jt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${w.value}_${e.absoluteIndex})" />` : ""}</svg>`, r += `<b>${
|
|
449
|
+
r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${j.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${i.name}</div>`, r += `<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="${i.color}" />${jt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${w.value}_${e.absoluteIndex})" />` : ""}</svg>`, r += `<b>${Tn({
|
|
447
450
|
showVal: j.value.style.chart.tooltip.showValue,
|
|
448
451
|
showPercentage: j.value.style.chart.tooltip.showPercentage,
|
|
449
452
|
val: `<span>${ie(j.value.style.chart.layout.labels.dataLabels.formatter, i.value, n({
|
|
@@ -517,7 +520,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
517
520
|
]
|
|
518
521
|
};
|
|
519
522
|
});
|
|
520
|
-
function
|
|
523
|
+
function kn(e = null) {
|
|
521
524
|
Ve(() => {
|
|
522
525
|
let t = X.value.head.map((e, t) => [
|
|
523
526
|
[e.name],
|
|
@@ -539,23 +542,23 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
539
542
|
});
|
|
540
543
|
}
|
|
541
544
|
let Q = v(!1);
|
|
542
|
-
function
|
|
545
|
+
function An(e) {
|
|
543
546
|
Q.value = e, Pt.value += 1;
|
|
544
547
|
}
|
|
545
|
-
function
|
|
548
|
+
function jn() {
|
|
546
549
|
R.value.showTable = !R.value.showTable;
|
|
547
550
|
}
|
|
548
|
-
function
|
|
551
|
+
function Mn() {
|
|
549
552
|
R.value.showTooltip = !R.value.showTooltip;
|
|
550
553
|
}
|
|
551
|
-
function
|
|
554
|
+
function Nn() {
|
|
552
555
|
R.value.showLabels = !R.value.showLabels;
|
|
553
556
|
}
|
|
554
557
|
let $ = v(!1);
|
|
555
|
-
function
|
|
558
|
+
function Pn() {
|
|
556
559
|
$.value = !$.value;
|
|
557
560
|
}
|
|
558
|
-
async function
|
|
561
|
+
async function Fn({ scale: e = 2 } = {}) {
|
|
559
562
|
if (!D.value) return;
|
|
560
563
|
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
|
|
561
564
|
domElement: D.value,
|
|
@@ -572,7 +575,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
572
575
|
aspectRatio: r
|
|
573
576
|
};
|
|
574
577
|
}
|
|
575
|
-
let
|
|
578
|
+
let In = s(() => {
|
|
576
579
|
let e = j.value.table.useDialog && !j.value.table.show, t = R.value.showTable;
|
|
577
580
|
return {
|
|
578
581
|
component: e ? Dt : St,
|
|
@@ -606,36 +609,36 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
606
609
|
Xe(() => R.value.showTable, (e) => {
|
|
607
610
|
j.value.table.show || (e && j.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
|
|
608
611
|
});
|
|
609
|
-
function
|
|
612
|
+
function Ln() {
|
|
610
613
|
R.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
|
|
611
614
|
}
|
|
612
|
-
let
|
|
615
|
+
let Rn = s(() => U.value.map((e) => ({
|
|
613
616
|
...e,
|
|
614
617
|
name: e.display
|
|
615
|
-
}))),
|
|
618
|
+
}))), zn = s(() => j.value.style.chart.backgroundColor), Bn = s(() => j.value.style.chart.legend), { exportSvg: Vn, getSvg: Hn } = ye({
|
|
616
619
|
svg: P,
|
|
617
620
|
title: s(() => j.value.style.chart.title),
|
|
618
|
-
legend:
|
|
619
|
-
legendItems:
|
|
620
|
-
backgroundColor:
|
|
621
|
+
legend: Bn,
|
|
622
|
+
legendItems: Rn,
|
|
623
|
+
backgroundColor: zn
|
|
621
624
|
});
|
|
622
|
-
async function
|
|
625
|
+
async function Un({ isCb: e }) {
|
|
623
626
|
Kt.value = !0, await Ve();
|
|
624
627
|
try {
|
|
625
628
|
if (e) {
|
|
626
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
629
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Hn();
|
|
627
630
|
await Promise.resolve(j.value.userOptions.callbacks.svg({
|
|
628
631
|
blob: e,
|
|
629
632
|
url: t,
|
|
630
633
|
text: n,
|
|
631
634
|
dataUrl: r
|
|
632
635
|
}));
|
|
633
|
-
} else await Promise.resolve(
|
|
636
|
+
} else await Promise.resolve(Vn());
|
|
634
637
|
} finally {
|
|
635
638
|
Kt.value = !1;
|
|
636
639
|
}
|
|
637
640
|
}
|
|
638
|
-
function
|
|
641
|
+
function Wn(e) {
|
|
639
642
|
if (e?.stage === "start") {
|
|
640
643
|
Gt.value = !0;
|
|
641
644
|
return;
|
|
@@ -646,7 +649,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
646
649
|
}
|
|
647
650
|
ln();
|
|
648
651
|
}
|
|
649
|
-
async function
|
|
652
|
+
async function Gn() {
|
|
650
653
|
if (pn("copyAlt", {
|
|
651
654
|
config: j.value,
|
|
652
655
|
dataset: G.value
|
|
@@ -659,13 +662,13 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
659
662
|
dataset: G.value
|
|
660
663
|
}));
|
|
661
664
|
}
|
|
662
|
-
function
|
|
665
|
+
function Kn() {
|
|
663
666
|
k.value = null, Jt.value = !0;
|
|
664
667
|
}
|
|
665
|
-
function
|
|
668
|
+
function qn() {
|
|
666
669
|
k.value = null, A.value = "pointer", T.value = !1, E.value = null, Jt.value = !1;
|
|
667
670
|
}
|
|
668
|
-
function
|
|
671
|
+
function Jn(e) {
|
|
669
672
|
if (!P.value || $.value || document.activeElement !== P.value || !G.value.length || B.value.length === S.dataset.length) return;
|
|
670
673
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
671
674
|
if (!t && !n && !r && !i) return;
|
|
@@ -677,15 +680,15 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
677
680
|
if (k.value === null) return;
|
|
678
681
|
let e = G.value[k.value];
|
|
679
682
|
if (!e) return;
|
|
680
|
-
|
|
683
|
+
Cn(e, k.value);
|
|
681
684
|
return;
|
|
682
685
|
}
|
|
683
686
|
let a = k.value;
|
|
684
687
|
a === null || a < 0 || a >= G.value.length ? a = n ? 0 : G.value.length - 1 : n ? (a += 1, a >= G.value.length && (a = 0)) : t && (--a, a < 0 && (a = G.value.length - 1));
|
|
685
688
|
let ee = G.value[a];
|
|
686
|
-
ee && (
|
|
689
|
+
ee && (Yn(a), On(ee, a, "keyboard"));
|
|
687
690
|
}
|
|
688
|
-
function
|
|
691
|
+
function Yn(e) {
|
|
689
692
|
if (!Number.isFinite(e) || !P.value) return;
|
|
690
693
|
let t = G.value[e];
|
|
691
694
|
if (!t) return;
|
|
@@ -695,25 +698,25 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
695
698
|
y: r.top + n.y / z.value.height * r.height
|
|
696
699
|
};
|
|
697
700
|
}
|
|
698
|
-
let
|
|
701
|
+
let Xn = s(() => ({
|
|
699
702
|
headers: Z.value?.colNames ?? [],
|
|
700
703
|
rows: Z.value?.a11yBody ?? []
|
|
701
704
|
}));
|
|
702
705
|
return Te({
|
|
703
|
-
getData:
|
|
704
|
-
getImage:
|
|
706
|
+
getData: Sn,
|
|
707
|
+
getImage: Fn,
|
|
705
708
|
generatePdf: cn,
|
|
706
|
-
generateCsv:
|
|
709
|
+
generateCsv: kn,
|
|
707
710
|
generateImage: ln,
|
|
708
|
-
generateSvg:
|
|
709
|
-
hideSeries:
|
|
710
|
-
showSeries:
|
|
711
|
-
toggleTable:
|
|
712
|
-
toggleTooltip:
|
|
713
|
-
toggleAnnotator:
|
|
714
|
-
toggleFullscreen:
|
|
715
|
-
toggleLabels:
|
|
716
|
-
copyAlt:
|
|
711
|
+
generateSvg: Un,
|
|
712
|
+
hideSeries: vn,
|
|
713
|
+
showSeries: _n,
|
|
714
|
+
toggleTable: jn,
|
|
715
|
+
toggleTooltip: Mn,
|
|
716
|
+
toggleAnnotator: Pn,
|
|
717
|
+
toggleFullscreen: An,
|
|
718
|
+
toggleLabels: Nn,
|
|
719
|
+
copyAlt: Gn
|
|
717
720
|
}), (e, n) => (_(), u("div", {
|
|
718
721
|
ref_key: "ringsChart",
|
|
719
722
|
ref: D,
|
|
@@ -729,11 +732,11 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
729
732
|
id: `chart-instructions-${w.value}`,
|
|
730
733
|
class: "sr-only"
|
|
731
734
|
}, [d("p", null, qe(j.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
|
|
732
|
-
|
|
735
|
+
Xn.value?.rows?.length ? (_(), c(ke, {
|
|
733
736
|
key: 0,
|
|
734
737
|
uid: w.value,
|
|
735
|
-
head:
|
|
736
|
-
body:
|
|
738
|
+
head: Xn.value.headers,
|
|
739
|
+
body: Xn.value.rows,
|
|
737
740
|
notice: j.value.a11y.translations.tableAvailable,
|
|
738
741
|
caption: j.value.a11y.translations.tableCaption
|
|
739
742
|
}, null, 8, [
|
|
@@ -750,7 +753,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
750
753
|
color: j.value.style.chart.color,
|
|
751
754
|
active: $.value,
|
|
752
755
|
isCursorPointer: M.value,
|
|
753
|
-
onClose:
|
|
756
|
+
onClose: Pn
|
|
754
757
|
}, {
|
|
755
758
|
"annotator-action-close": x(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
756
759
|
"annotator-action-color": x(({ color: t }) => [y(e.$slots, "annotator-action-color", h(p({ color: t })), void 0, !0)]),
|
|
@@ -821,16 +824,16 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
821
824
|
printScale: j.value.userOptions.print.scale,
|
|
822
825
|
tableDialog: j.value.table.useDialog,
|
|
823
826
|
isCursorPointer: M.value,
|
|
824
|
-
onToggleFullscreen:
|
|
827
|
+
onToggleFullscreen: An,
|
|
825
828
|
onGeneratePdf: b(cn),
|
|
826
|
-
onGenerateCsv:
|
|
827
|
-
onGenerateImage:
|
|
828
|
-
onGenerateSvg:
|
|
829
|
-
onToggleTable:
|
|
830
|
-
onToggleTooltip:
|
|
831
|
-
onToggleAnnotator:
|
|
832
|
-
onToggleLabels:
|
|
833
|
-
onCopyAlt:
|
|
829
|
+
onGenerateCsv: kn,
|
|
830
|
+
onGenerateImage: Wn,
|
|
831
|
+
onGenerateSvg: Un,
|
|
832
|
+
onToggleTable: jn,
|
|
833
|
+
onToggleTooltip: Mn,
|
|
834
|
+
onToggleAnnotator: Pn,
|
|
835
|
+
onToggleLabels: Nn,
|
|
836
|
+
onCopyAlt: Gn,
|
|
834
837
|
style: g({ visibility: b(en) ? b(Qt) ? "visible" : "hidden" : "visible" })
|
|
835
838
|
}, Le({ _: 2 }, [
|
|
836
839
|
e.$slots.menuIcon ? {
|
|
@@ -921,9 +924,9 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
921
924
|
style: g(`max-width:100%;overflow:hidden;background:transparent;color:${j.value.style.chart.color}`),
|
|
922
925
|
"aria-describedby": `chart-instructions-${w.value}`,
|
|
923
926
|
tabindex: "0",
|
|
924
|
-
onFocus:
|
|
925
|
-
onBlur:
|
|
926
|
-
onKeydown:
|
|
927
|
+
onFocus: Kn,
|
|
928
|
+
onBlur: qn,
|
|
929
|
+
onKeydown: Jn
|
|
927
930
|
}, [
|
|
928
931
|
ze(b(Et)),
|
|
929
932
|
e.$slots["chart-background"] ? (_(), u("foreignObject", {
|
|
@@ -1003,9 +1006,9 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1003
1006
|
cy: J(n, r),
|
|
1004
1007
|
r: q(n),
|
|
1005
1008
|
fill: "transparent",
|
|
1006
|
-
onMouseenter: (e) =>
|
|
1007
|
-
onMouseleave: (e) =>
|
|
1008
|
-
onClick: (e) =>
|
|
1009
|
+
onMouseenter: (e) => On(n, r, "pointer"),
|
|
1010
|
+
onMouseleave: (e) => wn(n, r),
|
|
1011
|
+
onClick: (e) => Cn(n, r)
|
|
1009
1012
|
}, null, 40, dt),
|
|
1010
1013
|
R.value.showLabels ? (_(), u(Fe, { key: 1 }, [
|
|
1011
1014
|
d("rect", {
|
|
@@ -1048,11 +1051,11 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1048
1051
|
"vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
|
|
1049
1052
|
"vue-ui-rings-blur": E.value !== null && E.value !== r
|
|
1050
1053
|
}),
|
|
1051
|
-
onMouseenter: (e) =>
|
|
1052
|
-
onMouseleave: (e) =>
|
|
1053
|
-
onClick: (e) =>
|
|
1054
|
+
onMouseenter: (e) => On(n, r, "pointer"),
|
|
1055
|
+
onMouseleave: (e) => wn(n, r),
|
|
1056
|
+
onClick: (e) => Cn(n, r),
|
|
1054
1057
|
innerHTML: b(t)({
|
|
1055
|
-
content:
|
|
1058
|
+
content: En(n),
|
|
1056
1059
|
fontSize: j.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1057
1060
|
fill: j.value.style.chart.layout.labels.dataLabels.color,
|
|
1058
1061
|
x: Y(n, r).x + (j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -j.value.style.chart.layout.labels.dataLabels.offsetX - 6 - j.value.style.chart.layout.labels.dataLabels.markers.radius : j.value.style.chart.layout.labels.dataLabels.offsetX + 6 + j.value.style.chart.layout.labels.dataLabels.markers.radius),
|
|
@@ -1082,7 +1085,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1082
1085
|
}, [y(e.$slots, "legend", { legend: U.value }, () => [j.value.style.chart.legend.show ? (_(), c(Ne, {
|
|
1083
1086
|
key: `legend_${Vt.value}`,
|
|
1084
1087
|
legendSet: U.value,
|
|
1085
|
-
config:
|
|
1088
|
+
config: xn.value,
|
|
1086
1089
|
isCursorPointer: M.value,
|
|
1087
1090
|
onClickMarker: n[0] ||= ({ legend: e }) => V(e.uid)
|
|
1088
1091
|
}, Le({
|
|
@@ -1155,9 +1158,9 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1155
1158
|
isA11yMode: A.value === "keyboard",
|
|
1156
1159
|
a11yPosition: qt.value
|
|
1157
1160
|
}, {
|
|
1158
|
-
"tooltip-before": x(() => [y(e.$slots, "tooltip-before", h(p({ ...
|
|
1159
|
-
tooltip: x(() => [y(e.$slots, "tooltip", h(p({ ...
|
|
1160
|
-
"tooltip-after": x(() => [y(e.$slots, "tooltip-after", h(p({ ...
|
|
1161
|
+
"tooltip-before": x(() => [y(e.$slots, "tooltip-before", h(p({ ...Dn.value })), void 0, !0)]),
|
|
1162
|
+
tooltip: x(() => [y(e.$slots, "tooltip", h(p({ ...Dn.value })), void 0, !0)]),
|
|
1163
|
+
"tooltip-after": x(() => [y(e.$slots, "tooltip-after", h(p({ ...Dn.value })), void 0, !0)]),
|
|
1161
1164
|
_: 3
|
|
1162
1165
|
}, 8, [
|
|
1163
1166
|
"teleportTo",
|
|
@@ -1183,10 +1186,10 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1183
1186
|
"isA11yMode",
|
|
1184
1187
|
"a11yPosition"
|
|
1185
1188
|
]),
|
|
1186
|
-
Mt.value && j.value.userOptions.buttons.table ? (_(), c(Ge(
|
|
1189
|
+
Mt.value && j.value.userOptions.buttons.table ? (_(), c(Ge(In.value.component), Be({ key: 8 }, In.value.props, {
|
|
1187
1190
|
ref_key: "tableUnit",
|
|
1188
1191
|
ref: O,
|
|
1189
|
-
onClose:
|
|
1192
|
+
onClose: Ln
|
|
1190
1193
|
}), Le({
|
|
1191
1194
|
content: x(() => [(_(), c(b(Ct), {
|
|
1192
1195
|
key: `table_${Bt.value}`,
|
|
@@ -1194,10 +1197,10 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1194
1197
|
head: Z.value.head,
|
|
1195
1198
|
body: Z.value.body,
|
|
1196
1199
|
config: Z.value.config,
|
|
1197
|
-
title: j.value.table.useDialog ? "" :
|
|
1200
|
+
title: j.value.table.useDialog ? "" : In.value.title,
|
|
1198
1201
|
withCloseButton: !j.value.table.useDialog,
|
|
1199
1202
|
isCursorPointer: M.value,
|
|
1200
|
-
onClose:
|
|
1203
|
+
onClose: Ln
|
|
1201
1204
|
}, {
|
|
1202
1205
|
th: x(({ th: e }) => [d("div", {
|
|
1203
1206
|
innerHTML: e,
|
|
@@ -1220,24 +1223,24 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1220
1223
|
_: 2
|
|
1221
1224
|
}, [j.value.table.useDialog ? {
|
|
1222
1225
|
name: "title",
|
|
1223
|
-
fn: x(() => [Re(qe(
|
|
1226
|
+
fn: x(() => [Re(qe(In.value.title), 1)]),
|
|
1224
1227
|
key: "0"
|
|
1225
1228
|
} : void 0, j.value.table.useDialog ? {
|
|
1226
1229
|
name: "actions",
|
|
1227
1230
|
fn: x(() => [d("button", {
|
|
1228
1231
|
tabindex: "0",
|
|
1229
1232
|
class: "vue-ui-user-options-button",
|
|
1230
|
-
onClick: n[1] ||= (e) =>
|
|
1233
|
+
onClick: n[1] ||= (e) => kn(j.value.userOptions.callbacks.csv),
|
|
1231
1234
|
style: g({ cursor: M.value ? "pointer" : "default" })
|
|
1232
1235
|
}, [ze(b(xt), {
|
|
1233
1236
|
name: "fileCsv",
|
|
1234
|
-
stroke:
|
|
1237
|
+
stroke: In.value.props.color
|
|
1235
1238
|
}, null, 8, ["stroke"])], 4)]),
|
|
1236
1239
|
key: "1"
|
|
1237
1240
|
} : void 0]), 1040)) : l("", !0),
|
|
1238
1241
|
y(e.$slots, "skeleton", {}, () => [b(N) ? (_(), c(ve, { key: 0 })) : l("", !0)], !0)
|
|
1239
1242
|
], 46, Qe));
|
|
1240
1243
|
}
|
|
1241
|
-
}, [["__scopeId", "data-v-
|
|
1244
|
+
}, [["__scopeId", "data-v-ab14a465"]]);
|
|
1242
1245
|
//#endregion
|
|
1243
1246
|
export { Ze as n, bt as t };
|
|
@@ -383,9 +383,9 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
|
-
emits: ["copyAlt"],
|
|
386
|
+
emits: ["copyAlt", "selectLegend"],
|
|
387
387
|
setup(e, { expose: ve, emit: Ve }) {
|
|
388
|
-
let vn = je(() => import("./Tooltip-CuWEYGr3.js")), yn = je(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), bn = je(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), xn = je(() => import("./DataTable-DmE8Oo4i.js")), Sn = je(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Cn = je(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), wn = je(() => import("./PackageVersion-
|
|
388
|
+
let vn = je(() => import("./Tooltip-CuWEYGr3.js")), yn = je(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), bn = je(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), xn = je(() => import("./DataTable-DmE8Oo4i.js")), Sn = je(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Cn = je(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), wn = je(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), Tn = je(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_scatter: En } = ce(), { isThemeValid: Dn, warnInvalidTheme: On } = me(), P = e, kn = Ve, An = y(() => !!P.dataset && P.dataset.length), F = O(r()), jn = O(!1), Mn = O(""), Nn = O(0), I = O(null), Pn = O(null), Fn = O(null), In = O(null), Ln = O(null), Rn = O(0), zn = O(0), Bn = O(0), L = O([]), Vn = O(!1), Hn = O(null), Un = O(null), Wn = O(null), Gn = O(null), Kn = O(!1), qn = O(!1), Jn = O(null), Yn = O(null), Xn = O(null), Zn = O(null), Qn = O(null), $n = O(null), er = O(null), tr = O({
|
|
389
389
|
x: 0,
|
|
390
390
|
y: 0
|
|
391
391
|
}), nr = O("pointer"), rr = O(!1), ir = O(null), R = O(mr()), ar = y(() => R.value.userOptions.useCursorPointer);
|
|
@@ -970,10 +970,10 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
970
970
|
function ai() {
|
|
971
971
|
L.value.length ? L.value = [] : G.value.forEach((e) => {
|
|
972
972
|
L.value.push(e.id);
|
|
973
|
-
});
|
|
973
|
+
}), kn("selectLegend", Hr.value);
|
|
974
974
|
}
|
|
975
975
|
function oi(e) {
|
|
976
|
-
L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length < lr.value.length - 1 && L.value.push(e);
|
|
976
|
+
L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length < lr.value.length - 1 && L.value.push(e), kn("selectLegend", Hr.value);
|
|
977
977
|
}
|
|
978
978
|
function si(e) {
|
|
979
979
|
return G.value.length ? G.value.find((t) => t.name === e) || (R.value.debug && console.warn(`VueUiScatter - Series name not found "${e}"`), null) : (R.value.debug && console.warn("VueUiScatter - There are no series to show."), null);
|
|
@@ -2408,6 +2408,6 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2408
2408
|
A(e.$slots, "skeleton", {}, () => [M(cr) ? (D(), b(de, { key: 0 })) : x("", !0)], !0)
|
|
2409
2409
|
], 46, He));
|
|
2410
2410
|
}
|
|
2411
|
-
}, [["__scopeId", "data-v-
|
|
2411
|
+
}, [["__scopeId", "data-v-18dd909c"]]);
|
|
2412
2412
|
//#endregion
|
|
2413
2413
|
export { Ve as n, vn as t };
|
|
@@ -3,7 +3,7 @@ import { D as t, P as n, jt as r, t as i } from "./lib-BkiwukKO.js";
|
|
|
3
3
|
import { t as ee } from "./useConfig-ByaaSKhz.js";
|
|
4
4
|
import { t as te } from "./useNestedProp-Ck4hsrpu.js";
|
|
5
5
|
import { t as a } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
6
|
-
import { n as o } from "./PackageVersion-
|
|
6
|
+
import { n as o } from "./PackageVersion-Dl9W5zJD.js";
|
|
7
7
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createStaticVNode as f, createVNode as p, normalizeClass as ne, normalizeStyle as m, openBlock as h, ref as g, renderList as _, unref as v } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-skeleton.vue
|
|
9
9
|
var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae = { transform: "translate(300, 300)" }, oe = [
|
|
@@ -63,7 +63,7 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
setup(e) {
|
|
66
|
-
let se = he(() => import("./PackageVersion-
|
|
66
|
+
let se = he(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), { vue_ui_spark_trend: x } = re(), { isThemeValid: S, warnInvalidTheme: Re } = oe(), C = ue(), w = e, T = g(null), E = g(null), ze = g(null), D = g(null), O = g(null), k = g(!1), A = g(null), j = g(n()), M = g(I()), Be = d(() => ne({
|
|
67
67
|
defaultConfig: { style: {
|
|
68
68
|
animation: { show: !1 },
|
|
69
69
|
backgroundColor: "#99999930",
|
|
@@ -56,7 +56,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
56
56
|
},
|
|
57
57
|
emits: ["selectDatapoint"],
|
|
58
58
|
setup(e, { emit: D }) {
|
|
59
|
-
let R = de(() => import("./PackageVersion-
|
|
59
|
+
let R = de(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = ie(), { isThemeValid: ve, warnInvalidTheme: ye } = se(), z = ce(), B = e, be = ge();
|
|
60
60
|
b(() => {
|
|
61
61
|
be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
62
62
|
});
|
|
@@ -50,7 +50,7 @@ var w = /* @__PURE__ */ e({ default: () => j }), pe = ["xmlns", "viewBox"], me =
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
setup(e) {
|
|
53
|
-
let w = ue(() => import("./PackageVersion-
|
|
53
|
+
let w = ue(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ae(), { isThemeValid: M, warnInvalidTheme: N } = se(), P = l(), F = y(null), I = e, L = y(n()), R = y(W()), z = d(() => R.value.style.animation.show && !P.value), _e = d(() => a({
|
|
54
54
|
defaultConfig: { style: {
|
|
55
55
|
animation: { show: !1 },
|
|
56
56
|
background: "#99999930",
|
|
@@ -88,7 +88,7 @@ var ye = /* @__PURE__ */ e({ default: () => k }), be = ["id"], xe = { key: 0 },
|
|
|
88
88
|
emits: ["selectDatapoint"],
|
|
89
89
|
setup(e, { emit: ne }) {
|
|
90
90
|
_e((e) => ({ v66b29b27: nt.value }));
|
|
91
|
-
let ye = de(() => import("./PackageVersion-
|
|
91
|
+
let ye = de(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), { vue_ui_sparkhistogram: k } = d(), { isThemeValid: We, warnInvalidTheme: Ge } = ee(), A = e, j = w(n()), M = w(null), N = w(null), P = w(null), F = w(null), I = w(null), L = w(!1), R = w(null), z = w("pointer"), B = w(K()), Ke = g(() => u({
|
|
92
92
|
defaultConfig: { style: {
|
|
93
93
|
animation: { show: !1 },
|
|
94
94
|
backgroundColor: "#99999930"
|
|
@@ -686,7 +686,7 @@ var st = ["innerHTML"], ct = {
|
|
|
686
686
|
},
|
|
687
687
|
emits: ["hoverIndex", "selectDatapoint"],
|
|
688
688
|
setup(e, { emit: fe }) {
|
|
689
|
-
let Me = xe(() => import("./PackageVersion-
|
|
689
|
+
let Me = xe(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), Ne = xe(() => import("./SparkTooltip-c2DL7gqD.js")), { vue_ui_sparkline: Pe } = se(), { isThemeValid: Fe, warnInvalidTheme: Ie } = de(), Le = ge(), k = e, Re = v(() => Array.isArray(k.dataset) && k.dataset.length > 0), A = T(r()), j = T(null), Be = T(null), Ve = T(null), M = T(null), N = T(null), P = T(R());
|
|
690
690
|
function He(e) {
|
|
691
691
|
return k.config?.skeletonDataset && Array.isArray(k.config.skeletonDataset) ? k.config.skeletonDataset.map((e) => ({
|
|
692
692
|
period: "-",
|