vue-data-ui 2.16.4 → 2.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/{Arrow-CQWVJ5sZ.js → Arrow-DCqxVwey.js} +1 -1
- package/dist/{BaseDraggableDialog-Fz8fA4VM.js → BaseDraggableDialog-6DIKXIBU.js} +2 -2
- package/dist/{BaseIcon-CfYrW3zO.js → BaseIcon-Bn996RXm.js} +1 -1
- package/dist/{ColorPicker-B2ITT7Lp.js → ColorPicker-OFfLkKNb.js} +2 -2
- package/dist/{DataTable-C6IBsdXI.js → DataTable-CHBLjKtZ.js} +2 -2
- package/dist/{Legend-bIoNrGWy.js → Legend-nBXoxXJH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BsSwoYpL.js → NonSvgPenAndPaper-Cls2idJS.js} +3 -3
- package/dist/{PackageVersion-DfefmcMg.js → PackageVersion-Bg_9KCU-.js} +1 -1
- package/dist/{PenAndPaper-CixPm-N0.js → PenAndPaper-BPTpbnay.js} +3 -3
- package/dist/{Shape-dKMmmbg5.js → Shape-Bnf512BA.js} +1 -1
- package/dist/{Slicer-szgfOkiL.js → Slicer-BrqtJG2E.js} +2 -2
- package/dist/{SparkTooltip-D_NmtqzO.js → SparkTooltip-C-rLATAw.js} +1 -1
- package/dist/{Title-DTuTBtAe.js → Title-Gi81VwUM.js} +1 -1
- package/dist/{Tooltip-CVPiPR9d.js → Tooltip-CJxVw7-T.js} +1 -1
- package/dist/{UserOptions-D8SRavqE.js → UserOptions-CBEK6_jo.js} +137 -129
- package/dist/{dom-to-png-Br5bL5eX.js → dom-to-png-CRHNL8VU.js} +1 -1
- package/dist/img-BgOg8opa.js +27 -0
- package/dist/{index-BsirVW_m.js → index-DvIXJm6t.js} +1 -1
- package/dist/{pdf-BBk37REU.js → pdf-DhTxBrbJ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -2
- package/dist/types/vue-data-ui.d.ts +2 -2
- package/dist/{useNestedProp-Ej-oqNyf.js → useNestedProp-DrYHm61t.js} +1 -1
- package/dist/{usePrinter-Dpd-vZym.js → usePrinter-CWnXbGMb.js} +2 -2
- package/dist/{vue-data-ui-Bd_shukQ.js → vue-data-ui-B8EWlMIK.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Baaeejpi.js → vue-ui-3d-bar-CtlB4p7i.js} +42 -41
- package/dist/{vue-ui-accordion-D2TcT2US.js → vue-ui-accordion-D55kCO5G.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BW2q5yMT.js → vue-ui-age-pyramid-DSshyUn-.js} +39 -38
- package/dist/{vue-ui-annotator-DR6dXmoQ.js → vue-ui-annotator-DQSMv_k2.js} +2 -2
- package/dist/{vue-ui-bullet-BYvOXGoO.js → vue-ui-bullet-FeScjj7q.js} +23 -22
- package/dist/{vue-ui-candlestick-DXGY7-1u.js → vue-ui-candlestick-Drupgyoi.js} +100 -99
- package/dist/{vue-ui-carousel-table-DpRdTSdS.js → vue-ui-carousel-table-BTZQRZfO.js} +17 -16
- package/dist/{vue-ui-chestnut--uqQw5gd.js → vue-ui-chestnut-DLWjPwRL.js} +64 -63
- package/dist/{vue-ui-chord-C6z1Oi8y.js → vue-ui-chord-BgLbFBT9.js} +87 -86
- package/dist/{vue-ui-circle-pack-BgtFPkv2.js → vue-ui-circle-pack-VXcRh2gy.js} +31 -30
- package/dist/{vue-ui-cursor-C_KZ7SW0.js → vue-ui-cursor-DWmfnM25.js} +2 -2
- package/dist/{vue-ui-dashboard-YSzYS59X.js → vue-ui-dashboard-CGIocEHj.js} +62 -62
- package/dist/{vue-ui-digits-B6Ej5XbC.js → vue-ui-digits-BgQch3Fc.js} +2 -2
- package/dist/{vue-ui-donut-BYouj_X8.js → vue-ui-donut-B59bCV5_.js} +74 -73
- package/dist/{vue-ui-donut-evolution-DHIMoo_a.js → vue-ui-donut-evolution-CI8qBIQd.js} +44 -43
- package/dist/{vue-ui-dumbbell-rHe7aWF7.js → vue-ui-dumbbell-CXv7sk88.js} +9 -8
- package/dist/{vue-ui-flow-hV-6uTPS.js → vue-ui-flow-DxF0ELtv.js} +9 -8
- package/dist/{vue-ui-funnel-45FdkG1w.js → vue-ui-funnel-Bco8rqF8.js} +20 -19
- package/dist/{vue-ui-galaxy-yg-YRwYP.js → vue-ui-galaxy-CaPJwwOj.js} +22 -21
- package/dist/{vue-ui-gauge-Ccf__w06.js → vue-ui-gauge-D7arhDmb.js} +8 -7
- package/dist/{vue-ui-gizmo-CxSBWMgK.js → vue-ui-gizmo-Dwli-Mip.js} +3 -3
- package/dist/{vue-ui-heatmap-Cz1GzvLQ.js → vue-ui-heatmap-Cyn-ahGO.js} +10 -9
- package/dist/{vue-ui-history-plot-DChEbCv0.js → vue-ui-history-plot-C2AEToqx.js} +27 -26
- package/dist/{vue-ui-kpi-D1cHw1LD.js → vue-ui-kpi-DKDibSdl.js} +3 -3
- package/dist/{vue-ui-mini-loader-FxoEnicn.js → vue-ui-mini-loader-B8OVutUx.js} +2 -2
- package/dist/{vue-ui-molecule-BvGzvTQc.js → vue-ui-molecule-BVSrqIGw.js} +22 -21
- package/dist/{vue-ui-mood-radar-DomwWh69.js → vue-ui-mood-radar-DvlyS3RN.js} +9 -8
- package/dist/{vue-ui-nested-donuts-BrC9S0cw.js → vue-ui-nested-donuts-D9ssSus6.js} +89 -88
- package/dist/{vue-ui-onion-YvCPFGpJ.js → vue-ui-onion-Buu4VX3u.js} +40 -39
- package/dist/{vue-ui-parallel-coordinate-plot-D_ji0o1R.js → vue-ui-parallel-coordinate-plot-DFLUvhxD.js} +29 -28
- package/dist/{vue-ui-quadrant-B1xa2r0Q.js → vue-ui-quadrant-BMC7NBGd.js} +90 -89
- package/dist/{vue-ui-quick-chart-ClCOLJ5y.js → vue-ui-quick-chart-DB9RKUkb.js} +59 -58
- package/dist/{vue-ui-radar-B460wd0h.js → vue-ui-radar-68NMPxxQ.js} +26 -25
- package/dist/{vue-ui-rating-D1_WFLlk.js → vue-ui-rating-swH9kRr3.js} +2 -2
- package/dist/{vue-ui-relation-circle-ECKEkE2-.js → vue-ui-relation-circle-CT-EdSjO.js} +11 -10
- package/dist/{vue-ui-ridgeline-E-1Lcv1j.js → vue-ui-ridgeline-DftROPaX.js} +10 -9
- package/dist/{vue-ui-rings-BsSwSht6.js → vue-ui-rings-M-9dPI5D.js} +45 -44
- package/dist/{vue-ui-scatter-CVEd6_m1.js → vue-ui-scatter-CsGhaFJh.js} +44 -43
- package/dist/{vue-ui-skeleton-CchtfQiJ.js → vue-ui-skeleton-BAOt2neL.js} +3 -3
- package/dist/{vue-ui-smiley-CkedzX6d.js → vue-ui-smiley-7_kIgPg-.js} +2 -2
- package/dist/{vue-ui-spark-trend-ByPzMHci.js → vue-ui-spark-trend-DHlQQpwz.js} +3 -3
- package/dist/{vue-ui-sparkbar-DoVR95AR.js → vue-ui-sparkbar-BnHhzuKf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-B9WEsmn8.js → vue-ui-sparkgauge-WtfkCK8g.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-B5Ub1nsA.js → vue-ui-sparkhistogram-B2u4XLVd.js} +4 -4
- package/dist/{vue-ui-sparkline-BqHPNt6h.js → vue-ui-sparkline-DKIyUlSm.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BhL0IxK5.js → vue-ui-sparkstackbar-BLGz2qIb.js} +3 -3
- package/dist/{vue-ui-stackbar-CuSsigBj.js → vue-ui-stackbar-BDpMsTYe.js} +277 -275
- package/dist/{vue-ui-strip-plot-BTqp8p9u.js → vue-ui-strip-plot-5qDcYPnR.js} +22 -21
- package/dist/{vue-ui-table-Du7un5Fm.js → vue-ui-table-Bg5HIQ3O.js} +3 -3
- package/dist/{vue-ui-table-heatmap-YxGFfRC3.js → vue-ui-table-heatmap-DmjNy1q1.js} +26 -25
- package/dist/{vue-ui-table-sparkline-Bbt4GjUn.js → vue-ui-table-sparkline-CnkJkBk5.js} +8 -7
- package/dist/{vue-ui-thermometer-Cnc4zVKO.js → vue-ui-thermometer-RlD-9mJf.js} +30 -29
- package/dist/{vue-ui-timer-DgVQY-BQ.js → vue-ui-timer-Bes74INL.js} +5 -5
- package/dist/{vue-ui-tiremarks-BTHDxycu.js → vue-ui-tiremarks-DiLS3akQ.js} +29 -28
- package/dist/vue-ui-treemap-BG1Omm38.js +953 -0
- package/dist/{vue-ui-vertical-bar-C5aombcF.js → vue-ui-vertical-bar-CwqQyZFX.js} +39 -38
- package/dist/{vue-ui-waffle-DHDmy4xh.js → vue-ui-waffle-Ce3T4BPp.js} +10 -9
- package/dist/{vue-ui-wheel-DmPltDq0.js → vue-ui-wheel-6B0WTkf2.js} +34 -33
- package/dist/{vue-ui-word-cloud-D15rS85A.js → vue-ui-word-cloud-ByYZCOh7.js} +42 -41
- package/dist/{vue-ui-world-9lR_bov_.js → vue-ui-world-B9PxVO4n.js} +8 -7
- package/dist/{vue-ui-xy-DnEdi5Hn.js → vue-ui-xy-DtJ7qJib.js} +69 -68
- package/dist/{vue-ui-xy-canvas-BaZZ7r1e.js → vue-ui-xy-canvas-S6YpFgzs.js} +131 -130
- package/package.json +1 -1
- package/dist/img-BOi0vhPf.js +0 -20
- package/dist/vue-ui-treemap-B96LGRM_.js +0 -952
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineAsyncComponent as k, computed as h, onMounted as Re, ref as n, watch as Ue, createElementBlock as i, openBlock as r, unref as a, normalizeStyle as V, normalizeClass as E, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as ve, createSlots as He, withCtx as d, normalizeProps as _, guardReactiveProps as O, createElementVNode as
|
|
2
|
-
import { u as je, o as Ye, e as ye, g as qe, c as ge, t as Je, p as G, a as Ke, b as Qe, G as fe, d as Ze, M as et, f as w, X as tt, i as be, x as me, q as lt, r as ot, y as at } from "./index-
|
|
3
|
-
import { u as ke } from "./useNestedProp-
|
|
4
|
-
import { u as st } from "./usePrinter-
|
|
1
|
+
import { defineAsyncComponent as k, computed as h, onMounted as Re, ref as n, watch as Ue, createElementBlock as i, openBlock as r, unref as a, normalizeStyle as V, normalizeClass as E, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as ve, createSlots as He, withCtx as d, normalizeProps as _, guardReactiveProps as O, createElementVNode as S, Fragment as de, renderList as he, createTextVNode as pe, toDisplayString as M, nextTick as Xe } from "vue";
|
|
2
|
+
import { u as je, o as Ye, e as ye, g as qe, c as ge, t as Je, p as G, a as Ke, b as Qe, G as fe, d as Ze, M as et, f as w, X as tt, i as be, x as me, q as lt, r as ot, y as at } from "./index-DvIXJm6t.js";
|
|
3
|
+
import { u as ke } from "./useNestedProp-DrYHm61t.js";
|
|
4
|
+
import { u as st } from "./usePrinter-CWnXbGMb.js";
|
|
5
5
|
import { u as rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -38,7 +38,7 @@ const it = ["id"], ct = {
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40
40
|
setup(Ce, { expose: we, emit: $e }) {
|
|
41
|
-
const xe = k(() => import("./vue-ui-accordion-
|
|
41
|
+
const xe = k(() => import("./vue-ui-accordion-D55kCO5G.js")), Te = k(() => import("./DataTable-CHBLjKtZ.js")), _e = k(() => import("./Legend-nBXoxXJH.js")), Oe = k(() => import("./PackageVersion-Bg_9KCU-.js")), Se = k(() => import("./PenAndPaper-BPTpbnay.js")), Pe = k(() => import("./vue-ui-skeleton-BAOt2neL.js")), Ne = k(() => import("./Title-Gi81VwUM.js")), Le = k(() => import("./Tooltip-CJxVw7-T.js")), Ie = k(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_galaxy: Ae } = je(), f = Ce, I = h(() => !!f.dataset && f.dataset.length);
|
|
42
42
|
Re(() => {
|
|
43
43
|
X();
|
|
44
44
|
});
|
|
@@ -60,7 +60,7 @@ const it = ["id"], ct = {
|
|
|
60
60
|
});
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
const
|
|
63
|
+
const P = n(ge()), B = n(null), Fe = n(null), D = n(!1), z = n(""), b = n(null), j = n(0), Y = n(0), q = n(0), J = n(0), e = h({
|
|
64
64
|
get: () => ee(),
|
|
65
65
|
set: (t) => t
|
|
66
66
|
}), { userOptionsVisible: W, setUserOptionsVisibility: K, keepUserOptionState: Q } = rt({ config: e.value }), { svgRef: Z } = ut({ config: e.value.style.chart.title });
|
|
@@ -81,7 +81,7 @@ const it = ["id"], ct = {
|
|
|
81
81
|
e.value = ee(), W.value = !e.value.userOptions.showOnChartHover, X(), Y.value += 1, q.value += 1, J.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
82
82
|
}, { deep: !0 });
|
|
83
83
|
const { isPrinting: te, isImaging: le, generatePdf: oe, generateImage: ae } = st({
|
|
84
|
-
elementId: `galaxy_${
|
|
84
|
+
elementId: `galaxy_${P.value}`,
|
|
85
85
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
|
|
86
86
|
options: e.value.userOptions.print
|
|
87
87
|
}), Ve = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = h(() => Qe(e.value.customPalette)), p = n({
|
|
@@ -274,11 +274,11 @@ const it = ["id"], ct = {
|
|
|
274
274
|
ref: B,
|
|
275
275
|
class: E(`vue-ui-galaxy ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
276
276
|
style: V(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
277
|
-
id: `galaxy_${
|
|
277
|
+
id: `galaxy_${P.value}`,
|
|
278
278
|
onMouseenter: o[3] || (o[3] = () => a(K)(!0)),
|
|
279
279
|
onMouseleave: o[4] || (o[4] = () => a(K)(!1))
|
|
280
280
|
}, [
|
|
281
|
-
e.value.userOptions.buttons.annotator ? (r(), x(a(
|
|
281
|
+
e.value.userOptions.buttons.annotator ? (r(), x(a(Se), {
|
|
282
282
|
key: 0,
|
|
283
283
|
svgRef: a(Z),
|
|
284
284
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -310,7 +310,7 @@ const it = ["id"], ct = {
|
|
|
310
310
|
color: e.value.style.chart.color,
|
|
311
311
|
isPrinting: a(te),
|
|
312
312
|
isImaging: a(le),
|
|
313
|
-
uid:
|
|
313
|
+
uid: P.value,
|
|
314
314
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
315
315
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
316
316
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -325,6 +325,7 @@ const it = ["id"], ct = {
|
|
|
325
325
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
326
326
|
isAnnotation: F.value,
|
|
327
327
|
callbacks: e.value.userOptions.callbacks,
|
|
328
|
+
printScale: e.value.userOptions.print.scale,
|
|
328
329
|
onToggleFullscreen: Be,
|
|
329
330
|
onGeneratePdf: a(oe),
|
|
330
331
|
onGenerateCsv: ne,
|
|
@@ -392,7 +393,7 @@ const it = ["id"], ct = {
|
|
|
392
393
|
]),
|
|
393
394
|
key: "7"
|
|
394
395
|
} : void 0
|
|
395
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
396
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
396
397
|
I.value ? (r(), i("svg", {
|
|
397
398
|
key: 4,
|
|
398
399
|
ref_key: "svgRef",
|
|
@@ -415,15 +416,15 @@ const it = ["id"], ct = {
|
|
|
415
416
|
}, [
|
|
416
417
|
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
417
418
|
], 8, ht)) : c("", !0),
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
id: `blur_${
|
|
419
|
+
S("defs", null, [
|
|
420
|
+
S("filter", {
|
|
421
|
+
id: `blur_${P.value}`,
|
|
421
422
|
x: "-50%",
|
|
422
423
|
y: "-50%",
|
|
423
424
|
width: "200%",
|
|
424
425
|
height: "200%"
|
|
425
426
|
}, [
|
|
426
|
-
|
|
427
|
+
S("feGaussianBlur", {
|
|
427
428
|
in: "SourceGraphic",
|
|
428
429
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
429
430
|
}, null, 8, yt)
|
|
@@ -449,9 +450,9 @@ const it = ["id"], ct = {
|
|
|
449
450
|
}, null, 10, ft)) : c("", !0),
|
|
450
451
|
l.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), i("g", {
|
|
451
452
|
key: 2,
|
|
452
|
-
filter: `url(#blur_${
|
|
453
|
+
filter: `url(#blur_${P.value})`
|
|
453
454
|
}, [
|
|
454
|
-
|
|
455
|
+
S("path", {
|
|
455
456
|
d: l.path,
|
|
456
457
|
fill: "none",
|
|
457
458
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
@@ -485,7 +486,7 @@ const it = ["id"], ct = {
|
|
|
485
486
|
t.$slots.watermark ? (r(), i("div", Ct, [
|
|
486
487
|
v(t.$slots, "watermark", _(O({ isPrinting: a(te) || a(le) })), void 0, !0)
|
|
487
488
|
])) : c("", !0),
|
|
488
|
-
I.value ? c("", !0) : (r(), x(a(
|
|
489
|
+
I.value ? c("", !0) : (r(), x(a(Pe), {
|
|
489
490
|
key: 6,
|
|
490
491
|
config: {
|
|
491
492
|
type: "galaxy",
|
|
@@ -504,7 +505,7 @@ const it = ["id"], ct = {
|
|
|
504
505
|
onClickMarker: o[1] || (o[1] = ({ legend: l }) => R(l))
|
|
505
506
|
}, {
|
|
506
507
|
item: d(({ legend: l, index: s }) => [
|
|
507
|
-
|
|
508
|
+
S("div", {
|
|
508
509
|
onClick: (u) => R(l),
|
|
509
510
|
style: V(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
|
|
510
511
|
}, [
|
|
@@ -583,7 +584,7 @@ const it = ["id"], ct = {
|
|
|
583
584
|
onClose: o[2] || (o[2] = (l) => p.value.showTable = !1)
|
|
584
585
|
}, {
|
|
585
586
|
th: d(({ th: l }) => [
|
|
586
|
-
|
|
587
|
+
S("div", {
|
|
587
588
|
innerHTML: l,
|
|
588
589
|
style: { display: "flex", "align-items": "center" }
|
|
589
590
|
}, null, 8, _t)
|
|
@@ -598,7 +599,7 @@ const it = ["id"], ct = {
|
|
|
598
599
|
}, 8, ["config"])) : c("", !0)
|
|
599
600
|
], 46, it));
|
|
600
601
|
}
|
|
601
|
-
}, Vt = /* @__PURE__ */ nt(Ot, [["__scopeId", "data-v-
|
|
602
|
+
}, Vt = /* @__PURE__ */ nt(Ot, [["__scopeId", "data-v-842ceb38"]]);
|
|
602
603
|
export {
|
|
603
604
|
Vt as default
|
|
604
605
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineAsyncComponent as G, computed as y, ref as p, watch as ke, shallowRef as be, onMounted as De, onBeforeUnmount as Be, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as q, normalizeClass as _e, createBlock as W, createCommentVNode as c, createElementVNode as m, withCtx as X, toDisplayString as M, createSlots as Ve, renderSlot as x, normalizeProps as j, guardReactiveProps as T, createVNode as qe, Fragment as g, renderList as S, mergeProps as Y } from "vue";
|
|
2
|
-
import { u as He, c as Ze, t as Je, p as xe, a as Ke, b as Qe, o as we, d as et, e as U, g as Se, m as H, N as F, O as tt, X as at, s as Z, n as lt, i as J, f as K, E as Q } from "./index-
|
|
2
|
+
import { u as He, c as Ze, t as Je, p as xe, a as Ke, b as Qe, o as we, d as et, e as U, g as Se, m as H, N as F, O as tt, X as at, s as Z, n as lt, i as J, f as K, E as Q } from "./index-DvIXJm6t.js";
|
|
3
3
|
import { t as rt, u as st } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as $e } from "./useNestedProp-
|
|
5
|
-
import { u as ot } from "./usePrinter-
|
|
4
|
+
import { u as $e } from "./useNestedProp-DrYHm61t.js";
|
|
5
|
+
import { u as ot } from "./usePrinter-CWnXbGMb.js";
|
|
6
6
|
import { u as ut } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as nt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import it from "./Title-
|
|
8
|
+
import it from "./Title-Gi81VwUM.js";
|
|
9
9
|
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "height"], ft = ["id"], pt = ["stop-color"], mt = ["stop-color"], gt = ["stop-color"], kt = ["id"], bt = ["stdDeviation"], _t = { key: 1 }, xt = ["d", "fill", "stroke"], wt = ["d", "fill", "stroke"], St = ["d", "fill"], $t = ["id", "d"], zt = ["fill", "font-size", "font-weight"], Ft = ["href", "startOffset"], Ct = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], Ot = ["d", "filter"], Mt = ["stroke", "stroke-width"], Pt = ["stroke", "stroke-width"], Nt = ["stroke", "stroke-width"], Xt = ["stroke", "stroke-width"], It = { key: 8 }, Yt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], At = ["x", "y", "font-size", "font-weight", "fill"], Rt = { key: 0 }, Et = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Gt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Wt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], jt = { key: 1 }, Tt = ["d", "fill", "stroke", "stroke-width"], Ut = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Lt = ["x", "y", "font-size", "fill"], Dt = {
|
|
11
11
|
key: 5,
|
|
@@ -27,7 +27,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
setup(L, { expose: ze }) {
|
|
30
|
-
const Fe = G(() => import("./PenAndPaper-
|
|
30
|
+
const Fe = G(() => import("./PenAndPaper-BPTpbnay.js")), Ce = G(() => import("./vue-ui-skeleton-BAOt2neL.js")), Oe = G(() => import("./UserOptions-CBEK6_jo.js")), Me = G(() => import("./PackageVersion-Bg_9KCU-.js")), { vue_ui_gauge: Pe } = He(), d = L, A = y(() => !!d.dataset && Object.keys(d.dataset).length > 0 && d.dataset.series && d.dataset.series.length), b = p(Ze()), Ne = p(null), ee = p(0), R = p(null), te = p(null), ae = p(null), le = p(null), re = p(null), se = p(0), e = y({
|
|
31
31
|
get: () => ie(),
|
|
32
32
|
set: (t) => t
|
|
33
33
|
}), { userOptionsVisible: D, setUserOptionsVisibility: oe, keepUserOptionState: ue } = ut({ config: e.value }), { svgRef: ne } = nt({ config: e.value.style.chart.title });
|
|
@@ -366,6 +366,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
|
|
|
366
366
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
367
367
|
chartElement: R.value,
|
|
368
368
|
callbacks: e.value.userOptions.callbacks,
|
|
369
|
+
printScale: e.value.userOptions.print.scale,
|
|
369
370
|
position: e.value.userOptions.position,
|
|
370
371
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
371
372
|
isAnnotation: E.value,
|
|
@@ -412,7 +413,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
|
|
|
412
413
|
]),
|
|
413
414
|
key: "4"
|
|
414
415
|
} : void 0
|
|
415
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
416
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "printScale", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
416
417
|
A.value ? (s(), u("svg", {
|
|
417
418
|
key: 4,
|
|
418
419
|
ref_key: "svgRef",
|
|
@@ -716,7 +717,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
|
|
|
716
717
|
], 512)) : c("", !0)
|
|
717
718
|
], 46, vt));
|
|
718
719
|
}
|
|
719
|
-
}, aa = /* @__PURE__ */ ct(Bt, [["__scopeId", "data-v-
|
|
720
|
+
}, aa = /* @__PURE__ */ ct(Bt, [["__scopeId", "data-v-d9fe764b"]]);
|
|
720
721
|
export {
|
|
721
722
|
aa as default
|
|
722
723
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as z, ref as G, useSlots as L, onMounted as _, computed as c, watch as N, createElementBlock as s, openBlock as a, normalizeStyle as $, createVNode as F, createCommentVNode as n, unref as l, createElementVNode as t, Fragment as p, toDisplayString as y } from "vue";
|
|
2
|
-
import { u as V, c as B, e as P, i as k, f as m } from "./index-
|
|
3
|
-
import { u as U } from "./useNestedProp-
|
|
2
|
+
import { u as V, c as B, e as P, i as k, f as m } from "./index-DvIXJm6t.js";
|
|
3
|
+
import { u as U } from "./useNestedProp-DrYHm61t.js";
|
|
4
4
|
const D = ["viewBox", "width"], I = { key: 0 }, M = ["id"], S = ["stop-color"], A = ["stop-color"], E = ["stroke"], O = ["stroke"], j = ["width", "fill"], T = ["fill"], q = { key: 0 }, H = ["id"], J = ["stroke"], K = ["stroke", "stroke-dasharray", "stroke-dashoffset"], Q = ["filter"], R = ["stroke", "stroke-dasharray", "stroke-dashoffset"], W = ["fill"], ee = {
|
|
5
5
|
__name: "vue-ui-gizmo",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const D = ["viewBox", "width"], I = { key: 0 }, M = ["id"], S = ["stop-color"],
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(f) {
|
|
19
|
-
const w = z(() => import("./PackageVersion-
|
|
19
|
+
const w = z(() => import("./PackageVersion-Bg_9KCU-.js")), { vue_ui_gizmo: x } = V(), o = f, u = G(B()), C = L();
|
|
20
20
|
_(() => {
|
|
21
21
|
h();
|
|
22
22
|
}), _(() => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCssVars as Qe, defineAsyncComponent as B, computed as f, ref as b, watch as ze, shallowRef as Ze, onMounted as el, onBeforeUnmount as ll, createElementBlock as i, openBlock as o, unref as r, normalizeStyle as T, normalizeClass as le, createBlock as q, createCommentVNode as d, createVNode as ve, createSlots as tl, withCtx as A, renderSlot as m, normalizeProps as D, guardReactiveProps as E, Fragment as _, renderList as z, createElementVNode as v, toDisplayString as x, withKeys as al, createTextVNode as ol, nextTick as sl } from "vue";
|
|
2
|
-
import { u as ul, o as nl, e as Me, c as ye, a as il, C as rl, P as K, g as vl, X as yl, F as de, i as S, f as M, v as N, q as dl, r as cl, x as hl, y as gl } from "./index-
|
|
3
|
-
import { u as Oe } from "./useNestedProp-
|
|
4
|
-
import { u as pl } from "./usePrinter-
|
|
2
|
+
import { u as ul, o as nl, e as Me, c as ye, a as il, C as rl, P as K, g as vl, X as yl, F as de, i as S, f as M, v as N, q as dl, r as cl, x as hl, y as gl } from "./index-DvIXJm6t.js";
|
|
3
|
+
import { u as Oe } from "./useNestedProp-DrYHm61t.js";
|
|
4
|
+
import { u as pl } from "./usePrinter-CWnXbGMb.js";
|
|
5
5
|
import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as bl } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import ml from "./vue-ui-accordion-
|
|
8
|
-
import xl from "./Title-
|
|
7
|
+
import ml from "./vue-ui-accordion-D55kCO5G.js";
|
|
8
|
+
import xl from "./Title-Gi81VwUM.js";
|
|
9
9
|
import { _ as wl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const kl = ["id"], _l = {
|
|
11
11
|
key: 2,
|
|
@@ -42,9 +42,9 @@ const kl = ["id"], _l = {
|
|
|
42
42
|
emits: ["selectDatapoint"],
|
|
43
43
|
setup(U, { expose: Se, emit: Ne }) {
|
|
44
44
|
Qe((l) => ({
|
|
45
|
-
|
|
45
|
+
"5fe041fc": l.tdo
|
|
46
46
|
}));
|
|
47
|
-
const Ve = B(() => import("./BaseIcon-
|
|
47
|
+
const Ve = B(() => import("./BaseIcon-Bn996RXm.js")), Fe = B(() => import("./PackageVersion-Bg_9KCU-.js")), Ie = B(() => import("./PenAndPaper-BPTpbnay.js")), Pe = B(() => import("./vue-ui-skeleton-BAOt2neL.js")), Re = B(() => import("./Tooltip-CJxVw7-T.js")), Xe = B(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_heatmap: Be } = ul(), y = U, De = Ne, J = f(() => !!y.dataset && y.dataset.length);
|
|
48
48
|
nl(y.dataset) && Me({
|
|
49
49
|
componentName: "VueUiHeatmap",
|
|
50
50
|
type: "dataset"
|
|
@@ -334,6 +334,7 @@ const kl = ["id"], _l = {
|
|
|
334
334
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
335
335
|
isAnnotation: ee.value,
|
|
336
336
|
callbacks: e.value.userOptions.callbacks,
|
|
337
|
+
printScale: e.value.userOptions.print.scale,
|
|
337
338
|
onToggleFullscreen: Ke,
|
|
338
339
|
onGeneratePdf: r(Ce),
|
|
339
340
|
onGenerateCsv: Le,
|
|
@@ -401,7 +402,7 @@ const kl = ["id"], _l = {
|
|
|
401
402
|
]),
|
|
402
403
|
key: "7"
|
|
403
404
|
} : void 0
|
|
404
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
405
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
405
406
|
J.value ? (o(), i("svg", {
|
|
406
407
|
key: 4,
|
|
407
408
|
ref_key: "svgRef",
|
|
@@ -851,7 +852,7 @@ const kl = ["id"], _l = {
|
|
|
851
852
|
}, 8, ["config"])) : d("", !0)
|
|
852
853
|
], 46, kl));
|
|
853
854
|
}
|
|
854
|
-
}, $t = /* @__PURE__ */ wl(gt, [["__scopeId", "data-v-
|
|
855
|
+
}, $t = /* @__PURE__ */ wl(gt, [["__scopeId", "data-v-d787bdf9"]]);
|
|
855
856
|
export {
|
|
856
857
|
$t as default
|
|
857
858
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineAsyncComponent as N, ref as h, shallowRef as $e, computed as f, onMounted as tt, onBeforeUnmount as lt, watch as at, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as $, normalizeClass as O, renderSlot as x, createBlock as I, createCommentVNode as v, createElementVNode as M, createVNode as
|
|
2
|
-
import { u as nt, c as
|
|
3
|
-
import { u as Te } from "./useNestedProp-
|
|
4
|
-
import { u as wt } from "./usePrinter-
|
|
1
|
+
import { defineAsyncComponent as N, ref as h, shallowRef as $e, computed as f, onMounted as tt, onBeforeUnmount as lt, watch as at, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as $, normalizeClass as O, renderSlot as x, createBlock as I, createCommentVNode as v, createElementVNode as M, createVNode as Se, createSlots as st, withCtx as m, normalizeProps as X, guardReactiveProps as Y, Fragment as g, renderList as k, toDisplayString as z, createTextVNode as ot, nextTick as rt } from "vue";
|
|
2
|
+
import { u as nt, c as Ae, o as ut, e as Me, g as it, b as ct, d as vt, p as G, D as ze, i as D, f as j, X as ht, l as yt, h as dt, I as ft, F as xt, E as P, t as pt, a as mt, C as q, q as bt, r as gt, x as kt } from "./index-DvIXJm6t.js";
|
|
3
|
+
import { u as Te } from "./useNestedProp-DrYHm61t.js";
|
|
4
|
+
import { u as wt } from "./usePrinter-CWnXbGMb.js";
|
|
5
5
|
import { t as Ct, u as _t } from "./useResponsive-DfdjqQps.js";
|
|
6
6
|
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import Mt from "./Title-
|
|
7
|
+
import { u as St } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import At from "./Legend-nBXoxXJH.js";
|
|
9
|
+
import Mt from "./Title-Gi81VwUM.js";
|
|
10
10
|
import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"], Ot = { key: 1 }, It = ["id"], Pt = ["stop-color"], Ft = ["stop-color"], Xt = ["stop-color"], Yt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 3 }, Bt = ["x", "y", "fill", "font-size"], Ht = ["transform", "font-size", "fill", "font-weight"], Rt = { key: 5 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = { key: 6 }, Ut = ["transform", "fill", "font-size", "text-anchor"], Vt = ["x", "y", "font-size", "fill", "font-weight"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = ["d", "stroke", "stroke-width"], Jt = ["d", "stroke", "stroke-width"], Kt = ["cx", "cy", "fill", "r"], Qt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], el = { key: 1 }, tl = ["x", "y", "font-size", "fill", "font-weight"], ll = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], al = { key: 2 }, sl = ["x", "y", "font-size", "font-weight", "fill"], ol = ["cx", "cy", "r", "onMouseenter", "onClick"], rl = {
|
|
12
12
|
key: 5,
|
|
@@ -29,7 +29,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["selectLegend", "selectDatapoint"],
|
|
31
31
|
setup(Le, { expose: Ne, emit: Oe }) {
|
|
32
|
-
const Ie = N(() => import("./vue-ui-accordion-
|
|
32
|
+
const Ie = N(() => import("./vue-ui-accordion-D55kCO5G.js")), Pe = N(() => import("./DataTable-CHBLjKtZ.js")), Fe = N(() => import("./PackageVersion-Bg_9KCU-.js")), Xe = N(() => import("./PenAndPaper-BPTpbnay.js")), Ye = N(() => import("./vue-ui-skeleton-BAOt2neL.js")), De = N(() => import("./Tooltip-CJxVw7-T.js")), je = N(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_history_plot: Be } = nt(), y = Le, B = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), S = $e(null), F = $e(null), ne = h(null), H = h(Ae()), Z = h(!1), J = h(""), b = h([]), E = h(!1), w = h(null), R = h(!1), ue = h(null), C = f({
|
|
33
33
|
get: () => !!y.dataset && y.dataset.length,
|
|
34
34
|
set: (t) => t
|
|
35
35
|
}), ie = Oe;
|
|
@@ -105,11 +105,11 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
105
105
|
})) : (n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize);
|
|
106
106
|
});
|
|
107
107
|
});
|
|
108
|
-
|
|
108
|
+
S.value && (F.value && S.value.unobserve(F.value), S.value.disconnect()), S.value = new ResizeObserver(t), F.value = B.value.parentNode, S.value.observe(F.value);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
lt(() => {
|
|
112
|
-
|
|
112
|
+
S.value && (F.value && S.value.unobserve(F.value), S.value.disconnect());
|
|
113
113
|
});
|
|
114
114
|
function ve() {
|
|
115
115
|
const t = Te({
|
|
@@ -128,7 +128,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
128
128
|
const e = f({
|
|
129
129
|
get: () => ve(),
|
|
130
130
|
set: (t) => t
|
|
131
|
-
}), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = $t({ config: e.value }), { svgRef: de } =
|
|
131
|
+
}), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = $t({ config: e.value }), { svgRef: de } = St({ config: e.value.style.chart.title });
|
|
132
132
|
at(() => y.config, (t) => {
|
|
133
133
|
e.value = ve(), K.value = !e.value.userOptions.showOnChartHover, ce(), le.value += 1, oe.value += 1, se.value += 1, d.value.height = e.value.style.chart.height, d.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, _.value.showTable = e.value.table.show, _.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
134
134
|
}, { deep: !0 });
|
|
@@ -160,17 +160,17 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
160
160
|
xAxisName: e.value.style.chart.axes.x.name.fontSize,
|
|
161
161
|
yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
|
|
162
162
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
163
|
-
}),
|
|
163
|
+
}), A = f(() => C.value ? y.dataset.map((t, a) => ({
|
|
164
164
|
...t,
|
|
165
165
|
color: t.color ? vt(t.color) : Re.value[a] || G[a] || G[a % G.length],
|
|
166
166
|
seriesIndex: a
|
|
167
|
-
})) : []), Ee = f(() => C.value ? Math.max(...
|
|
167
|
+
})) : []), Ee = f(() => C.value ? Math.max(...A.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), We = f(() => {
|
|
168
168
|
if (!C.value) return 1;
|
|
169
|
-
const t = Math.min(...
|
|
169
|
+
const t = Math.min(...A.value.filter((a) => !b.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
170
170
|
return t < 0 ? t : 0;
|
|
171
|
-
}), Ue = f(() => C.value ? Math.max(...
|
|
171
|
+
}), Ue = f(() => C.value ? Math.max(...A.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ve = f(() => {
|
|
172
172
|
if (!C.value) return 1;
|
|
173
|
-
const t = Math.min(...
|
|
173
|
+
const t = Math.min(...A.value.filter((a) => !b.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
|
|
174
174
|
return t < 0 ? t : 0;
|
|
175
175
|
}), p = f(() => {
|
|
176
176
|
const t = ze(
|
|
@@ -207,7 +207,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
207
207
|
const a = p.value.y.min < 0 ? Math.abs(p.value.y.min) : p.value.y.min > 0 ? -p.value.y.min : 0;
|
|
208
208
|
return u.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * u.value.height;
|
|
209
209
|
}
|
|
210
|
-
const T = f(() =>
|
|
210
|
+
const T = f(() => A.value.filter((t) => !b.value.includes(t.seriesIndex)).map((t, a) => {
|
|
211
211
|
const l = t.values.map((s, L) => ({
|
|
212
212
|
valueX: s.x,
|
|
213
213
|
valueY: s.y,
|
|
@@ -216,7 +216,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
216
216
|
y: qe(s.y),
|
|
217
217
|
color: t.color,
|
|
218
218
|
seriesName: t.name,
|
|
219
|
-
id:
|
|
219
|
+
id: Ae()
|
|
220
220
|
})), c = l.map((s) => `${s.x},${s.y} `).join("").trim();
|
|
221
221
|
return {
|
|
222
222
|
...t,
|
|
@@ -227,7 +227,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
227
227
|
function be(t) {
|
|
228
228
|
b.value.includes(t) ? b.value = b.value.filter((a) => a !== t) : b.value.push(t);
|
|
229
229
|
}
|
|
230
|
-
const ge = f(() =>
|
|
230
|
+
const ge = f(() => A.value.map((t) => ({
|
|
231
231
|
...t,
|
|
232
232
|
opacity: b.value.includes(t.seriesIndex) ? 0.5 : 1,
|
|
233
233
|
segregate: () => be(t.seriesIndex),
|
|
@@ -256,7 +256,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
256
256
|
}
|
|
257
257
|
const Q = h(null);
|
|
258
258
|
function Qe({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
259
|
-
Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series:
|
|
259
|
+
Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: A.value }, w.value = t;
|
|
260
260
|
const c = e.value.style.chart.tooltip.customFormat;
|
|
261
261
|
if (R.value = !1, kt(c))
|
|
262
262
|
try {
|
|
@@ -264,7 +264,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
264
264
|
seriesIndex: l,
|
|
265
265
|
datapoint: t,
|
|
266
266
|
plotIndex: a,
|
|
267
|
-
series:
|
|
267
|
+
series: A.value,
|
|
268
268
|
config: e.value
|
|
269
269
|
});
|
|
270
270
|
typeof s == "string" && (J.value = s, R.value = !0);
|
|
@@ -464,6 +464,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
464
464
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
465
465
|
isAnnotation: U.value,
|
|
466
466
|
callbacks: e.value.userOptions.callbacks,
|
|
467
|
+
printScale: e.value.userOptions.print.scale,
|
|
467
468
|
onToggleFullscreen: Ke,
|
|
468
469
|
onGeneratePdf: i(pe),
|
|
469
470
|
onGenerateCsv: we,
|
|
@@ -531,7 +532,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
531
532
|
]),
|
|
532
533
|
key: "7"
|
|
533
534
|
} : void 0
|
|
534
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
535
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
535
536
|
C.value ? (o(), r("svg", {
|
|
536
537
|
key: 4,
|
|
537
538
|
ref_key: "svgRef",
|
|
@@ -540,7 +541,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
540
541
|
viewBox: `0 0 ${d.value.width < 0 ? 0.1 : d.value.width} ${d.value.height < 0 ? 0.1 : d.value.height}`,
|
|
541
542
|
style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
542
543
|
}, [
|
|
543
|
-
|
|
544
|
+
Se(i(Fe)),
|
|
544
545
|
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
545
546
|
key: 0,
|
|
546
547
|
x: u.value.left,
|
|
@@ -806,7 +807,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
806
807
|
ref_key: "chartLegend",
|
|
807
808
|
ref: ae
|
|
808
809
|
}, [
|
|
809
|
-
e.value.style.chart.legend.show && C.value ? (o(), I(
|
|
810
|
+
e.value.style.chart.legend.show && C.value ? (o(), I(At, {
|
|
810
811
|
key: `legend_${se.value}`,
|
|
811
812
|
legendSet: ge.value,
|
|
812
813
|
config: Ze.value,
|
|
@@ -836,7 +837,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
836
837
|
}, [
|
|
837
838
|
x(t.$slots, "source", {}, void 0, !0)
|
|
838
839
|
], 512)) : v("", !0),
|
|
839
|
-
|
|
840
|
+
Se(i(De), {
|
|
840
841
|
show: _.value.showTooltip && Z.value,
|
|
841
842
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
842
843
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -902,7 +903,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
|
|
|
902
903
|
}, 8, ["config"])) : v("", !0)
|
|
903
904
|
], 46, Tt));
|
|
904
905
|
}
|
|
905
|
-
}, gl = /* @__PURE__ */ zt(il, [["__scopeId", "data-v-
|
|
906
|
+
}, gl = /* @__PURE__ */ zt(il, [["__scopeId", "data-v-d10d1459"]]);
|
|
906
907
|
export {
|
|
907
908
|
gl as default
|
|
908
909
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as x, useSlots as z, onMounted as C, watch as y, ref as k, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as $, renderSlot as n, createTextVNode as h, toDisplayString as b, createVNode as w, unref as v, Fragment as B } from "vue";
|
|
2
|
-
import { u as L } from "./useNestedProp-
|
|
3
|
-
import { u as M, i as E, f as I } from "./index-
|
|
2
|
+
import { u as L } from "./useNestedProp-DrYHm61t.js";
|
|
3
|
+
import { u as M, i as E, f as I } from "./index-DvIXJm6t.js";
|
|
4
4
|
const G = {
|
|
5
5
|
__name: "vue-ui-kpi",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const G = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
|
-
const F = A(() => import("./vue-ui-digits-
|
|
19
|
+
const F = A(() => import("./vue-ui-digits-BgQch3Fc.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), D = z();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
|
-
import { u as m } from "./useNestedProp-
|
|
3
|
-
import { u as y, X as L } from "./index-
|
|
2
|
+
import { u as m } from "./useNestedProp-DrYHm61t.js";
|
|
3
|
+
import { u as y, X as L } from "./index-DvIXJm6t.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|