vue-data-ui 3.1.4 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-COJRk3pc.js → Arrow-BFbcF5Sq.js} +1 -1
- package/dist/{BaseDraggableDialog-BdAp3qr9.js → BaseDraggableDialog-BO4B1Kwa.js} +2 -2
- package/dist/{BaseIcon-B5nQNkmd.js → BaseIcon-BQQGRQ2U.js} +1 -1
- package/dist/{ColorPicker-CPqHwp1V.js → ColorPicker-d1kmGapq.js} +2 -2
- package/dist/{DataTable-CzO3oHys.js → DataTable-D6voeZvO.js} +2 -2
- package/dist/{Legend-BQqnf4BN.js → Legend-nPGcCxG_.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D_g27Foy.js → NonSvgPenAndPaper-xRGRe41H.js} +3 -3
- package/dist/{PackageVersion-7CxQB-mx.js → PackageVersion-BeStrsPr.js} +1 -1
- package/dist/{PenAndPaper-C8hICPzL.js → PenAndPaper-C6tiapdo.js} +3 -3
- package/dist/{Shape-BEVQVI0z.js → Shape-DBVq0fdK.js} +1 -1
- package/dist/Slicer-Duqm7KZK.js +597 -0
- package/dist/{SparkTooltip-BSgzljwP.js → SparkTooltip-wNGmXZSx.js} +1 -1
- package/dist/{Title-nHtPyPd9.js → Title-ydtId0LC.js} +1 -1
- package/dist/Tooltip-oeu9knGI.js +200 -0
- package/dist/{UserOptions-D3pVnvAB.js → UserOptions-CnJxN2Vo.js} +2 -2
- package/dist/{dom-to-png-CcijTM69.js → dom-to-png-CMCYtLrX.js} +1 -1
- package/dist/{img-Bl0o2UAr.js → img-Neec0VVb.js} +1 -1
- package/dist/{index-INqbM37s.js → index-BkfuZCRT.js} +6 -2
- package/dist/{pdf-BeeAdG2m.js → pdf-CpQ-dqJh.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DXkvjSDn.js → useAutoSizeLabelsInsideViewbox-DR2HExYc.js} +1 -1
- package/dist/{useNestedProp-BKprMEaB.js → useNestedProp-BMzw9VUz.js} +1 -1
- package/dist/{usePrinter-9WO5mDzj.js → usePrinter-CEdg3j8S.js} +2 -2
- package/dist/{vue-data-ui-IMHc9Ta4.js → vue-data-ui-D5B7a84o.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D-1TVi2s.js → vue-ui-3d-bar-C8_Qu1rf.js} +6 -6
- package/dist/{vue-ui-accordion-CQZjxT5U.js → vue-ui-accordion-DFxAHGEZ.js} +3 -3
- package/dist/{vue-ui-age-pyramid-B31NbBxS.js → vue-ui-age-pyramid-D_kTImtX.js} +43 -41
- package/dist/{vue-ui-annotator-BmFYtzWW.js → vue-ui-annotator-B1vSlzfu.js} +2 -2
- package/dist/{vue-ui-bullet-BvMlcux3.js → vue-ui-bullet-VPchh2r2.js} +7 -7
- package/dist/{vue-ui-candlestick-CCrNcgjy.js → vue-ui-candlestick-CB3bj7_-.js} +42 -40
- package/dist/{vue-ui-carousel-table-DrGj7_CL.js → vue-ui-carousel-table-CUiSyrTY.js} +4 -4
- package/dist/{vue-ui-chestnut-Dz0E-AxZ.js → vue-ui-chestnut-BE5ZEt1N.js} +5 -5
- package/dist/{vue-ui-chord-BxOzgPka.js → vue-ui-chord-DVSBY9ou.js} +8 -8
- package/dist/{vue-ui-circle-pack-CaWwzEF0.js → vue-ui-circle-pack-BfDjZFaF.js} +6 -6
- package/dist/{vue-ui-cursor-CG-oJITu.js → vue-ui-cursor-BIuc6nds.js} +2 -2
- package/dist/{vue-ui-dashboard-BFLQYXuo.js → vue-ui-dashboard-C7xIcrvD.js} +67 -67
- package/dist/{vue-ui-digits-BlZsS_qz.js → vue-ui-digits-C3mI-0Fg.js} +2 -2
- package/dist/{vue-ui-donut-COXIRkz4.js → vue-ui-donut-BApz1ho5.js} +52 -50
- package/dist/{vue-ui-donut-evolution-DSGLD4z5.js → vue-ui-donut-evolution-B2PJiYY9.js} +8 -8
- package/dist/{vue-ui-dumbbell-DgUPMy2W.js → vue-ui-dumbbell-DQjVvBH_.js} +7 -7
- package/dist/{vue-ui-flow-E8_jp5Qc.js → vue-ui-flow-COtJRNLE.js} +40 -38
- package/dist/{vue-ui-funnel-NMcBpYTQ.js → vue-ui-funnel-BY2qeg-m.js} +6 -6
- package/dist/{vue-ui-galaxy-Cay4NZ6o.js → vue-ui-galaxy-3zec_QLi.js} +58 -56
- package/dist/{vue-ui-gauge-DWOH8_Z2.js → vue-ui-gauge-CFUA5ORH.js} +7 -7
- package/dist/{vue-ui-gizmo-DtZu2tcU.js → vue-ui-gizmo-CUPFU8GE.js} +3 -3
- package/dist/{vue-ui-heatmap-Dk5515tQ.js → vue-ui-heatmap-DakytdCv.js} +68 -66
- package/dist/{vue-ui-history-plot-X_jPheWu.js → vue-ui-history-plot-DnSB7au4.js} +85 -83
- package/dist/{vue-ui-kpi-DwNsapLR.js → vue-ui-kpi-UmcKQftv.js} +3 -3
- package/dist/{vue-ui-mini-loader-uyATuTz5.js → vue-ui-mini-loader-Bl8GHasa.js} +2 -2
- package/dist/{vue-ui-molecule-BOeCt8b2.js → vue-ui-molecule-BZrmSVps.js} +63 -61
- package/dist/{vue-ui-mood-radar-BeHjc5Ty.js → vue-ui-mood-radar-CVM8vl5N.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CPoaD2py.js → vue-ui-nested-donuts-LTzijeVK.js} +70 -68
- package/dist/{vue-ui-onion-C8H8i77u.js → vue-ui-onion-aHCc3r7L.js} +38 -36
- package/dist/{vue-ui-parallel-coordinate-plot-Cblzs6mf.js → vue-ui-parallel-coordinate-plot-0xXe6A-6.js} +54 -52
- package/dist/{vue-ui-quadrant-BLYsMAey.js → vue-ui-quadrant-BlM9WNN7.js} +203 -201
- package/dist/{vue-ui-quick-chart-D-7cooqG.js → vue-ui-quick-chart-CJ2Wdln9.js} +63 -61
- package/dist/{vue-ui-radar-BBR8cYGx.js → vue-ui-radar-Cgnooz7-.js} +121 -119
- package/dist/{vue-ui-rating-Ccn8aUMA.js → vue-ui-rating-DF71ymNG.js} +2 -2
- package/dist/{vue-ui-relation-circle-SKeIJXHs.js → vue-ui-relation-circle-DsuEL1gY.js} +7 -7
- package/dist/{vue-ui-ridgeline-CuHSBPB8.js → vue-ui-ridgeline-DxP8uxgx.js} +8 -8
- package/dist/{vue-ui-rings-SusI7pff.js → vue-ui-rings-C4hKgrft.js} +162 -160
- package/dist/{vue-ui-scatter-Do8NoLng.js → vue-ui-scatter-B_SzTSE5.js} +157 -155
- package/dist/{vue-ui-skeleton-FONviv9G.js → vue-ui-skeleton-DCAlHSMV.js} +3 -3
- package/dist/{vue-ui-smiley-Bbt8bZxB.js → vue-ui-smiley-B_JFtrl6.js} +2 -2
- package/dist/{vue-ui-spark-trend-DB7RPBwQ.js → vue-ui-spark-trend-CC7q1UbE.js} +3 -3
- package/dist/{vue-ui-sparkbar-B8inUR_m.js → vue-ui-sparkbar-C2YRX4mJ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-B4_YoY5M.js → vue-ui-sparkgauge-BO4c3j-8.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DXSLenC7.js → vue-ui-sparkhistogram-BuGOHT9h.js} +4 -4
- package/dist/{vue-ui-sparkline-BQ6Voxky.js → vue-ui-sparkline-hOyPCIt8.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BgFJQKhq.js → vue-ui-sparkstackbar-DhSc-U8u.js} +36 -34
- package/dist/{vue-ui-stackbar-CBB-kH1C.js → vue-ui-stackbar-VdBWv1wm.js} +14 -12
- package/dist/{vue-ui-strip-plot-3gWivNhR.js → vue-ui-strip-plot-CBj5ntWM.js} +58 -56
- package/dist/{vue-ui-table-NJNp95Us.js → vue-ui-table-BItmKbvF.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CRzHSurU.js → vue-ui-table-heatmap-DziHVKba.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DxGr1WNr.js → vue-ui-table-sparkline-CpWDqm7q.js} +4 -4
- package/dist/{vue-ui-thermometer-B6NudPzq.js → vue-ui-thermometer-CWt0q_Tu.js} +7 -7
- package/dist/{vue-ui-timer-DO3oJlhi.js → vue-ui-timer-BIv2sfQA.js} +5 -5
- package/dist/{vue-ui-tiremarks-Dv39xDlL.js → vue-ui-tiremarks-BE_VWjK-.js} +6 -6
- package/dist/{vue-ui-treemap-D9jbccaW.js → vue-ui-treemap-2AIbDpTo.js} +41 -39
- package/dist/{vue-ui-vertical-bar-CxJNWczK.js → vue-ui-vertical-bar-CP-XFVV5.js} +53 -51
- package/dist/{vue-ui-waffle-BMjk9LhH.js → vue-ui-waffle-CewP8k-W.js} +67 -65
- package/dist/{vue-ui-wheel-CMACWJLJ.js → vue-ui-wheel-Ik8FoLfz.js} +6 -6
- package/dist/{vue-ui-word-cloud-BbwSabN0.js → vue-ui-word-cloud-CEEc5ep_.js} +83 -80
- package/dist/{vue-ui-world-DCp2i-uy.js → vue-ui-world-CuwXMI3D.js} +11 -9
- package/dist/{vue-ui-xy-CRQHfrGQ.js → vue-ui-xy-Bsh2OBHp.js} +1326 -1329
- package/dist/{vue-ui-xy-canvas-D-iziyn0.js → vue-ui-xy-canvas-CKzjhhNg.js} +46 -44
- package/package.json +1 -1
- package/dist/Slicer-Cmc94zkG.js +0 -604
- package/dist/Tooltip-RCWHeRDV.js +0 -161
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineAsyncComponent as A, computed as v, ref as r, toRefs as yt, watch as U, shallowRef as Be, onMounted as bt, onBeforeUnmount as kt, createElementBlock as i, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as W, createBlock as
|
|
2
|
-
import { u as xt, c as Tt, t as Ot, a as _t, p as Ye, b as At, d as
|
|
1
|
+
import { defineAsyncComponent as A, computed as v, ref as r, toRefs as yt, watch as U, shallowRef as Be, onMounted as bt, onBeforeUnmount as kt, createElementBlock as i, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as W, createBlock as S, createCommentVNode as g, createElementVNode as I, createVNode as re, createSlots as Le, withCtx as d, renderSlot as p, normalizeProps as z, guardReactiveProps as N, Fragment as Y, renderList as E, toDisplayString as M, Teleport as wt, resolveDynamicComponent as Ct, mergeProps as $t, createTextVNode as Ve, nextTick as Ue } from "vue";
|
|
2
|
+
import { u as xt, c as Tt, t as Ot, a as _t, p as Ye, b as At, d as St, o as Ee, f as ie, e as It, X as Pt, i as X, k as ce, y as Xe, v as Ft, w as Dt, z as Mt } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as Rt, u as zt } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Nt, B as Bt } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as Lt } from "./usePrinter-
|
|
6
|
-
import { u as Ge } from "./useNestedProp-
|
|
5
|
+
import { u as Lt } from "./usePrinter-CEdg3j8S.js";
|
|
6
|
+
import { u as Ge } from "./useNestedProp-BMzw9VUz.js";
|
|
7
7
|
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import { u as Yt } from "./useAutoSizeLabelsInsideViewbox-
|
|
10
|
-
import Et from "./img-
|
|
11
|
-
import Xt from "./Title-
|
|
12
|
-
import Gt from "./Legend-
|
|
9
|
+
import { u as Yt } from "./useAutoSizeLabelsInsideViewbox-DR2HExYc.js";
|
|
10
|
+
import Et from "./img-Neec0VVb.js";
|
|
11
|
+
import Xt from "./Title-ydtId0LC.js";
|
|
12
|
+
import Gt from "./Legend-nPGcCxG_.js";
|
|
13
13
|
import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "height"], Kt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Qt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Zt = ["id"], ea = ["stdDeviation"], ta = ["filter"], aa = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], la = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], oa = { key: 2 }, na = ["onMouseenter", "onMouseleave", "onClick"], sa = ["x", "y", "font-size", "fill", "font-weight"], ua = {
|
|
15
15
|
key: 4,
|
|
@@ -32,13 +32,13 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend"],
|
|
34
34
|
setup(He, { expose: We, emit: je }) {
|
|
35
|
-
const qe = A(() => import("./Tooltip-
|
|
35
|
+
const qe = A(() => import("./Tooltip-oeu9knGI.js")), Je = A(() => import("./BaseIcon-BQQGRQ2U.js")), Ke = A(() => import("./vue-ui-accordion-DFxAHGEZ.js")), Qe = A(() => import("./DataTable-D6voeZvO.js")), Ze = A(() => import("./UserOptions-CnJxN2Vo.js")), et = A(() => import("./PenAndPaper-C6tiapdo.js")), tt = A(() => import("./PackageVersion-BeStrsPr.js")), at = A(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_onion: lt } = xt(), C = He, ve = v(() => !!C.dataset && C.dataset.length), y = r(Tt()), ot = r(null), de = r(0), j = r(!1), q = r(""), b = r([]), $ = r(null), he = r(null), pe = r(null), fe = r(null), ge = r(null), me = r(0), ye = r(0), be = r(0), x = r(!1), ke = r(!1), B = r(null), e = r(Z()), { loading: k, FINAL_DATASET: we, manualLoading: J } = Nt({
|
|
36
36
|
...yt(C),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
38
|
prepareConfig: Z,
|
|
39
39
|
callback: () => {
|
|
40
40
|
Promise.resolve().then(async () => {
|
|
41
|
-
await Ue(),
|
|
41
|
+
await Ue(), Ie();
|
|
42
42
|
});
|
|
43
43
|
},
|
|
44
44
|
skeletonDataset: [
|
|
@@ -83,13 +83,13 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
83
83
|
} : t;
|
|
84
84
|
}
|
|
85
85
|
U(() => C.config, (t) => {
|
|
86
|
-
k.value || (e.value = Z()), K.value = !e.value.userOptions.showOnChartHover,
|
|
86
|
+
k.value || (e.value = Z()), K.value = !e.value.userOptions.showOnChartHover, Se(), me.value += 1, ye.value += 1, be.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
87
87
|
}, { deep: !0 });
|
|
88
88
|
const { isPrinting: xe, isImaging: Te, generatePdf: Oe, generateImage: _e } = Lt({
|
|
89
89
|
elementId: `vue-ui-onion_${y.value}`,
|
|
90
90
|
fileName: e.value.style.chart.title.text || "vue-ui-onion",
|
|
91
91
|
options: e.value.userOptions.print
|
|
92
|
-
}), nt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), st = v(() =>
|
|
92
|
+
}), nt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), st = v(() => St(e.value.customPalette)), m = r({
|
|
93
93
|
showTable: e.value.table.show,
|
|
94
94
|
showTooltip: e.value.style.chart.tooltip.show
|
|
95
95
|
});
|
|
@@ -111,7 +111,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
111
111
|
minRadius: 64
|
|
112
112
|
}), O = Be(null), R = Be(null);
|
|
113
113
|
bt(() => {
|
|
114
|
-
ke.value = !0,
|
|
114
|
+
ke.value = !0, Se();
|
|
115
115
|
});
|
|
116
116
|
const ut = v({
|
|
117
117
|
get: () => e.value.style.chart.layout.labels.fontSize,
|
|
@@ -124,7 +124,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
124
124
|
labelClass: ".vue-ui-onion-label"
|
|
125
125
|
}), rt = v(() => e.value.debug);
|
|
126
126
|
let ee = null;
|
|
127
|
-
function
|
|
127
|
+
function Se() {
|
|
128
128
|
if (Ee(C.dataset) && (ie({
|
|
129
129
|
componentName: "VueUiOnion",
|
|
130
130
|
type: "dataset",
|
|
@@ -181,7 +181,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
181
181
|
...t,
|
|
182
182
|
percentage: t.percentage || 0,
|
|
183
183
|
targetPercentage: t.percentage || 0,
|
|
184
|
-
color:
|
|
184
|
+
color: It(t.color) || st.value[o] || Ye[o],
|
|
185
185
|
id: a,
|
|
186
186
|
shape: "circle",
|
|
187
187
|
opacity: b.value.includes(a) ? 0.5 : 1,
|
|
@@ -190,10 +190,10 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
190
190
|
isSegregated: b.value.includes(a)
|
|
191
191
|
};
|
|
192
192
|
}))), L = r(f.value), it = v(() => e.value.useStartAnimation), ct = r(null), vt = v(() => Math.max(...f.value.map((t) => t.percentage))), te = r(!1);
|
|
193
|
-
U(() => f.value,
|
|
193
|
+
U(() => f.value, Ie, { immediate: !0, deep: !0 }), U(() => C.dataset, (t) => {
|
|
194
194
|
Array.isArray(t) && t.length > 0 && (J.value = !1);
|
|
195
195
|
}, { deep: !0 });
|
|
196
|
-
function
|
|
196
|
+
function Ie() {
|
|
197
197
|
if (it.value && !te.value && !k.value) {
|
|
198
198
|
let o = function() {
|
|
199
199
|
t >= vt.value ? (cancelAnimationFrame(ct.value), L.value = f.value, te.value = !0) : (L.value = f.value.map((a) => ({
|
|
@@ -410,7 +410,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
410
410
|
onMouseenter: o[4] || (o[4] = () => s(Ce)(!0)),
|
|
411
411
|
onMouseleave: o[5] || (o[5] = () => s(Ce)(!1))
|
|
412
412
|
}, [
|
|
413
|
-
e.value.userOptions.buttons.annotator ? (u(),
|
|
413
|
+
e.value.userOptions.buttons.annotator ? (u(), S(s(et), {
|
|
414
414
|
key: 0,
|
|
415
415
|
svgRef: s(Q),
|
|
416
416
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -431,7 +431,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
431
431
|
ref: he,
|
|
432
432
|
style: "width:100%;background:transparent"
|
|
433
433
|
}, [
|
|
434
|
-
(u(),
|
|
434
|
+
(u(), S(Xt, {
|
|
435
435
|
key: `title_${me.value}`,
|
|
436
436
|
config: {
|
|
437
437
|
title: {
|
|
@@ -445,10 +445,10 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
445
445
|
}
|
|
446
446
|
}, null, 8, ["config"]))
|
|
447
447
|
], 512)) : g("", !0),
|
|
448
|
-
|
|
448
|
+
I("div", {
|
|
449
449
|
id: `legend-top-${y.value}`
|
|
450
450
|
}, null, 8, jt),
|
|
451
|
-
e.value.userOptions.show && ve.value && (s($e) || s(K)) ? (u(),
|
|
451
|
+
e.value.userOptions.show && ve.value && (s($e) || s(K)) ? (u(), S(s(Ze), {
|
|
452
452
|
ref_key: "details",
|
|
453
453
|
ref: ot,
|
|
454
454
|
key: `user_options${de.value}`,
|
|
@@ -597,15 +597,15 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
597
597
|
animation: x.value || s(k) ? "none" : "xyAnimation 0.5s ease-in"
|
|
598
598
|
})
|
|
599
599
|
}, null, 14, Qt))), 256)),
|
|
600
|
-
|
|
601
|
-
|
|
600
|
+
I("defs", null, [
|
|
601
|
+
I("filter", {
|
|
602
602
|
id: `blur_${y.value}`,
|
|
603
603
|
x: "-50%",
|
|
604
604
|
y: "-50%",
|
|
605
605
|
width: "200%",
|
|
606
606
|
height: "200%"
|
|
607
607
|
}, [
|
|
608
|
-
|
|
608
|
+
I("feGaussianBlur", {
|
|
609
609
|
in: "SourceGraphic",
|
|
610
610
|
stdDeviation: 100 / e.value.style.chart.gradientIntensity
|
|
611
611
|
}, null, 8, ea)
|
|
@@ -707,18 +707,18 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
707
707
|
t.$slots.watermark ? (u(), i("div", ua, [
|
|
708
708
|
p(t.$slots, "watermark", z(N({ isPrinting: s(xe) || s(Te) })), void 0, !0)
|
|
709
709
|
])) : g("", !0),
|
|
710
|
-
|
|
710
|
+
I("div", {
|
|
711
711
|
id: `legend-bottom-${y.value}`
|
|
712
712
|
}, null, 8, ra),
|
|
713
|
-
ke.value ? (u(),
|
|
713
|
+
ke.value ? (u(), S(wt, {
|
|
714
714
|
key: 5,
|
|
715
715
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${y.value}` : `#legend-bottom-${y.value}`
|
|
716
716
|
}, [
|
|
717
|
-
|
|
717
|
+
I("div", {
|
|
718
718
|
ref_key: "chartLegend",
|
|
719
719
|
ref: pe
|
|
720
720
|
}, [
|
|
721
|
-
e.value.style.chart.legend.show ? (u(),
|
|
721
|
+
e.value.style.chart.legend.show ? (u(), S(Gt, {
|
|
722
722
|
key: `legend_${be.value}`,
|
|
723
723
|
legendSet: f.value,
|
|
724
724
|
config: dt.value,
|
|
@@ -763,7 +763,9 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
763
763
|
isFullscreen: F.value,
|
|
764
764
|
isCustom: s(Xe)(e.value.style.chart.tooltip.customFormat),
|
|
765
765
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
766
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
766
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
767
|
+
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
768
|
+
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
767
769
|
}, {
|
|
768
770
|
"tooltip-before": d(() => [
|
|
769
771
|
p(t.$slots, "tooltip-before", z(N({ ...oe.value })), void 0, !0)
|
|
@@ -772,14 +774,14 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
772
774
|
p(t.$slots, "tooltip-after", z(N({ ...oe.value })), void 0, !0)
|
|
773
775
|
]),
|
|
774
776
|
_: 3
|
|
775
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
776
|
-
ve.value ? (u(),
|
|
777
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
778
|
+
ve.value ? (u(), S(Ct(V.value.component), $t({ key: 7 }, V.value.props, {
|
|
777
779
|
ref_key: "tableUnit",
|
|
778
780
|
ref: B,
|
|
779
781
|
onClose: o[3] || (o[3] = (a) => m.value.showTable = !1)
|
|
780
782
|
}), Le({
|
|
781
783
|
content: d(() => [
|
|
782
|
-
(u(),
|
|
784
|
+
(u(), S(s(Qe), {
|
|
783
785
|
key: `table_${ye.value}`,
|
|
784
786
|
colNames: G.value.colNames,
|
|
785
787
|
head: G.value.head,
|
|
@@ -793,7 +795,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
793
795
|
Ve(M(a), 1)
|
|
794
796
|
]),
|
|
795
797
|
td: d(({ td: a }) => [
|
|
796
|
-
|
|
798
|
+
I("div", { innerHTML: a }, null, 8, ca)
|
|
797
799
|
]),
|
|
798
800
|
_: 1
|
|
799
801
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -810,7 +812,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
810
812
|
e.value.table.useDialog ? {
|
|
811
813
|
name: "actions",
|
|
812
814
|
fn: d(() => [
|
|
813
|
-
|
|
815
|
+
I("button", {
|
|
814
816
|
tabindex: "0",
|
|
815
817
|
class: "vue-ui-user-options-button",
|
|
816
818
|
onClick: o[1] || (o[1] = (a) => le(e.value.userOptions.callbacks.csv))
|
|
@@ -824,10 +826,10 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
824
826
|
key: "1"
|
|
825
827
|
} : void 0
|
|
826
828
|
]), 1040)) : g("", !0),
|
|
827
|
-
s(k) ? (u(),
|
|
829
|
+
s(k) ? (u(), S(Bt, { key: 8 })) : g("", !0)
|
|
828
830
|
], 46, Wt));
|
|
829
831
|
}
|
|
830
|
-
}, Ta = /* @__PURE__ */ Ht(va, [["__scopeId", "data-v-
|
|
832
|
+
}, Ta = /* @__PURE__ */ Ht(va, [["__scopeId", "data-v-83058fa6"]]);
|
|
831
833
|
export {
|
|
832
834
|
Ta as default
|
|
833
835
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, computed as y, ref as d, toRefs as zt, watch as Z, shallowRef as Xe, onMounted as _t, onBeforeUnmount as
|
|
2
|
-
import { u as Ot, c as me, t as St, a as Dt, p as ee, b as Rt, o as Je, f as Ke, g as Bt, d as Et, e as Ht, D as Wt, U as Ut, V as Vt, W as jt, X as Gt, I as Xt, y as Qe, E as te, v as Yt, w as qt, k as Ze, i as et, z as Jt } from "./index-
|
|
1
|
+
import { defineAsyncComponent as O, computed as y, ref as d, toRefs as zt, watch as Z, shallowRef as Xe, onMounted as _t, onBeforeUnmount as Ft, watchEffect as Mt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as F, normalizeClass as X, createBlock as M, createCommentVNode as m, createElementVNode as N, createVNode as pe, createSlots as Ye, withCtx as b, renderSlot as g, normalizeProps as W, guardReactiveProps as U, Fragment as A, renderList as I, toDisplayString as B, Teleport as Nt, resolveDynamicComponent as It, mergeProps as Lt, createTextVNode as qe, nextTick as Pt } from "vue";
|
|
2
|
+
import { u as Ot, c as me, t as St, a as Dt, p as ee, b as Rt, o as Je, f as Ke, g as Bt, d as Et, e as Ht, D as Wt, U as Ut, V as Vt, W as jt, X as Gt, I as Xt, y as Qe, E as te, v as Yt, w as qt, k as Ze, i as et, z as Jt } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as tt, u as Kt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Qt } from "./usePrinter-
|
|
4
|
+
import { u as Qt } from "./usePrinter-CEdg3j8S.js";
|
|
5
5
|
import { u as Zt, B as ea } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as at } from "./useNestedProp-
|
|
6
|
+
import { u as at } from "./useNestedProp-BMzw9VUz.js";
|
|
7
7
|
import { u as ta } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as aa } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as la } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
-
import oa from "./Title-
|
|
11
|
-
import sa from "./Legend-
|
|
12
|
-
import { _ as na } from "./Shape-
|
|
13
|
-
import ia from "./img-
|
|
10
|
+
import oa from "./Title-ydtId0LC.js";
|
|
11
|
+
import sa from "./Legend-nPGcCxG_.js";
|
|
12
|
+
import { _ as na } from "./Shape-DBVq0fdK.js";
|
|
13
|
+
import ia from "./img-Neec0VVb.js";
|
|
14
14
|
import { _ as ua } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "width", "height"], ha = { style: { "pointer-events": "none" } }, pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ya = { key: 0 }, fa = ["x", "y", "fill", "font-size", "font-weight"], ba = ["fill", "font-size", "font-weight", "text-anchor", "transform"], ga = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], xa = { key: 0 }, ka = ["x", "y", "font-size", "fill"], wa = ["width", "x", "y"], Ca = { style: { width: "100%" } }, Aa = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], $a = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Ta = ["d", "onMouseenter", "onMouseleave", "onClick"], za = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
|
-
}, _a = ["id"],
|
|
18
|
+
}, _a = ["id"], Fa = ["onClick"], Ma = ["innerHTML"], Na = {
|
|
19
19
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
20
20
|
props: {
|
|
21
21
|
config: {
|
|
@@ -33,7 +33,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectLegend", "selectDatapoint"],
|
|
35
35
|
setup(lt, { expose: ot, emit: st }) {
|
|
36
|
-
const nt = O(() => import("./Tooltip-
|
|
36
|
+
const nt = O(() => import("./Tooltip-oeu9knGI.js")), it = O(() => import("./BaseIcon-BQQGRQ2U.js")), ut = O(() => import("./vue-ui-accordion-DFxAHGEZ.js")), rt = O(() => import("./DataTable-D6voeZvO.js")), ct = O(() => import("./PenAndPaper-C6tiapdo.js")), vt = O(() => import("./UserOptions-CnJxN2Vo.js")), dt = O(() => import("./PackageVersion-BeStrsPr.js")), ht = O(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_parallel_coordinate_plot: pt } = Ot(), $ = lt, Y = y({
|
|
37
37
|
get() {
|
|
38
38
|
return !!$.dataset && $.dataset.length;
|
|
39
39
|
},
|
|
@@ -130,20 +130,20 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
130
130
|
} : t;
|
|
131
131
|
}
|
|
132
132
|
Z(() => $.config, (t) => {
|
|
133
|
-
R.value || (e.value = ne()), se.value = !e.value.userOptions.showOnChartHover,
|
|
133
|
+
R.value || (e.value = ne()), se.value = !e.value.userOptions.showOnChartHover, Me(), ke.value += 1, Ce.value += 1, we.value += 1, p.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
134
134
|
}, { deep: !0 }), Z(() => $.dataset, (t) => {
|
|
135
135
|
Array.isArray(t) && t.length > 0 && (oe.value = !1);
|
|
136
136
|
}, { deep: !0 });
|
|
137
137
|
const L = Xe(null), E = Xe(null);
|
|
138
138
|
_t(() => {
|
|
139
|
-
Ae.value = !0,
|
|
139
|
+
Ae.value = !0, Me();
|
|
140
140
|
});
|
|
141
|
-
const
|
|
142
|
-
function
|
|
141
|
+
const Fe = y(() => !!e.value.debug);
|
|
142
|
+
function Me() {
|
|
143
143
|
if (Je($.dataset) ? (Ke({
|
|
144
144
|
componentName: "VueUiParallelCoordinatePlot",
|
|
145
145
|
type: "dataset",
|
|
146
|
-
debug:
|
|
146
|
+
debug: Fe.value
|
|
147
147
|
}), oe.value = !0) : $.dataset.forEach((t, o) => {
|
|
148
148
|
Bt({
|
|
149
149
|
datasetObject: t,
|
|
@@ -154,7 +154,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
154
154
|
type: "datasetSerieAttribute",
|
|
155
155
|
property: a,
|
|
156
156
|
index: o,
|
|
157
|
-
debug:
|
|
157
|
+
debug: Fe.value
|
|
158
158
|
});
|
|
159
159
|
});
|
|
160
160
|
}), Je($.dataset) || (oe.value = e.value.loading), e.value.responsive) {
|
|
@@ -197,10 +197,10 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
197
197
|
L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect()), L.value = new ResizeObserver(t), E.value = z.value.parentNode, L.value.observe(E.value);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
|
|
200
|
+
Ft(() => {
|
|
201
201
|
L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect());
|
|
202
202
|
});
|
|
203
|
-
const { isPrinting:
|
|
203
|
+
const { isPrinting: Ne, isImaging: Ie, generatePdf: Le, generateImage: Pe } = Qt({
|
|
204
204
|
elementId: `pcp_${S.value}`,
|
|
205
205
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
206
206
|
options: e.value.userOptions.print
|
|
@@ -216,7 +216,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
216
216
|
}), Oe = y(() => c.value.width), Se = y(() => c.value.height), j = d(0), ft = tt((t) => {
|
|
217
217
|
j.value = t;
|
|
218
218
|
}, 100);
|
|
219
|
-
|
|
219
|
+
Mt((t) => {
|
|
220
220
|
const o = le.value;
|
|
221
221
|
if (!o) return;
|
|
222
222
|
const a = new ResizeObserver((s) => {
|
|
@@ -519,12 +519,12 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
519
519
|
ref_key: "pcpChart",
|
|
520
520
|
ref: z,
|
|
521
521
|
class: X(`vue-ui-pcp ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
522
|
-
style:
|
|
522
|
+
style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
523
523
|
id: `pcp_${S.value}`,
|
|
524
524
|
onMouseenter: o[2] || (o[2] = () => v(Te)(!0)),
|
|
525
525
|
onMouseleave: o[3] || (o[3] = () => v(Te)(!1))
|
|
526
526
|
}, [
|
|
527
|
-
e.value.userOptions.buttons.annotator ? (n(),
|
|
527
|
+
e.value.userOptions.buttons.annotator ? (n(), M(v(ct), {
|
|
528
528
|
key: 0,
|
|
529
529
|
svgRef: v(_e),
|
|
530
530
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -545,7 +545,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
545
545
|
ref: fe,
|
|
546
546
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
547
547
|
}, [
|
|
548
|
-
(n(),
|
|
548
|
+
(n(), M(oa, {
|
|
549
549
|
key: `title_${ke.value}`,
|
|
550
550
|
config: {
|
|
551
551
|
title: {
|
|
@@ -559,16 +559,16 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
559
559
|
}
|
|
560
560
|
}, null, 8, ["config"]))
|
|
561
561
|
], 512)) : m("", !0),
|
|
562
|
-
|
|
562
|
+
N("div", {
|
|
563
563
|
id: `legend-top-${S.value}`
|
|
564
564
|
}, null, 8, ca),
|
|
565
|
-
e.value.userOptions.show && Y.value && (v(ze) || v(se)) ? (n(),
|
|
565
|
+
e.value.userOptions.show && Y.value && (v(ze) || v(se)) ? (n(), M(v(vt), {
|
|
566
566
|
ref_key: "userOptionsRef",
|
|
567
567
|
ref: ae,
|
|
568
568
|
key: `user_options_${ye.value}`,
|
|
569
569
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
570
570
|
color: e.value.style.chart.color,
|
|
571
|
-
isPrinting: v(
|
|
571
|
+
isPrinting: v(Ne),
|
|
572
572
|
isImaging: v(Ie),
|
|
573
573
|
uid: S.value,
|
|
574
574
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
@@ -596,7 +596,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
596
596
|
onToggleLabels: Ve,
|
|
597
597
|
onToggleTooltip: je,
|
|
598
598
|
onToggleAnnotator: he,
|
|
599
|
-
style:
|
|
599
|
+
style: F({
|
|
600
600
|
visibility: v(ze) ? v(se) ? "visible" : "hidden" : "visible"
|
|
601
601
|
})
|
|
602
602
|
}, Ye({ _: 2 }, [
|
|
@@ -663,7 +663,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
663
663
|
xmlns: v(Gt),
|
|
664
664
|
class: X({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
665
665
|
viewBox: `0 0 ${h.value.chartWidth <= 0 ? 10 : h.value.chartWidth} ${h.value.chartHeight <= 0 ? 10 : h.value.chartHeight}`,
|
|
666
|
-
style:
|
|
666
|
+
style: F(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
667
667
|
}, [
|
|
668
668
|
pe(v(dt)),
|
|
669
669
|
t.$slots["chart-background"] ? (n(), u("foreignObject", {
|
|
@@ -679,7 +679,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
679
679
|
g(t.$slots, "chart-background", {}, void 0, !0)
|
|
680
680
|
], 8, da)) : m("", !0),
|
|
681
681
|
(n(!0), u(A, null, I(f.value, (a, s) => (n(), u("g", ha, [
|
|
682
|
-
|
|
682
|
+
N("line", {
|
|
683
683
|
x1: h.value.left + C.value * s + C.value / 2,
|
|
684
684
|
x2: h.value.left + C.value * s + C.value / 2,
|
|
685
685
|
y1: h.value.top,
|
|
@@ -695,7 +695,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
695
695
|
y2: l.y,
|
|
696
696
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
697
697
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
698
|
-
style:
|
|
698
|
+
style: F(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
699
699
|
}, null, 12, ma))), 256)),
|
|
700
700
|
v(R) ? m("", !0) : (n(), u("g", ya, [
|
|
701
701
|
(n(!0), u(A, null, I(a.ticks, (l) => (n(), u("text", {
|
|
@@ -705,7 +705,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
705
705
|
"text-anchor": "end",
|
|
706
706
|
"font-size": c.value.ticksFontSize,
|
|
707
707
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
708
|
-
style:
|
|
708
|
+
style: F(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
709
709
|
}, B(Be({ value: l.value, index: s, datapoint: l })), 13, fa))), 256))
|
|
710
710
|
]))
|
|
711
711
|
], 64)) : m("", !0)
|
|
@@ -746,7 +746,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
746
746
|
(n(!0), u(A, null, I(ue.value, (a, s) => (n(), u("g", null, [
|
|
747
747
|
(n(!0), u(A, null, I(a.series, (l, r) => (n(), u("g", null, [
|
|
748
748
|
e.value.style.chart.plots.show ? (n(), u("g", xa, [
|
|
749
|
-
(n(!0), u(A, null, I(l.datapoints, (i, T) => (n(),
|
|
749
|
+
(n(!0), u(A, null, I(l.datapoints, (i, T) => (n(), M(na, {
|
|
750
750
|
plot: { x: i.x, y: i.y },
|
|
751
751
|
color: a.color,
|
|
752
752
|
shape: a.shape,
|
|
@@ -762,7 +762,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
762
762
|
S: s
|
|
763
763
|
}),
|
|
764
764
|
onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
|
|
765
|
-
style:
|
|
765
|
+
style: F(`opacity:${w.value ? w.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
766
766
|
onClick: () => K({ serie: l, shape: a.shape, S: s })
|
|
767
767
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
|
|
768
768
|
p.value.showTooltip ? m("", !0) : (n(), u(A, { key: 0 }, [
|
|
@@ -785,7 +785,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
785
785
|
x: i.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
|
|
786
786
|
y: i.y + e.value.style.chart.comments.offsetY + 6
|
|
787
787
|
}, [
|
|
788
|
-
|
|
788
|
+
N("div", Ca, [
|
|
789
789
|
g(t.$slots, "plot-comment", {
|
|
790
790
|
plot: { ...i, color: a.color }
|
|
791
791
|
}, void 0, !0)
|
|
@@ -811,9 +811,9 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
811
811
|
}),
|
|
812
812
|
onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
|
|
813
813
|
onClick: () => K({ serie: l, shape: a.shape, S: s }),
|
|
814
|
-
style:
|
|
814
|
+
style: F(`opacity:${w.value ? w.value === l.id ? 1 : 0.2 : 1}`)
|
|
815
815
|
}, B(Be({ value: i.value, index: T, datapoint: i })), 47, Aa))), 256)) : m("", !0),
|
|
816
|
-
|
|
816
|
+
N("path", {
|
|
817
817
|
d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
|
|
818
818
|
stroke: a.color,
|
|
819
819
|
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
@@ -829,7 +829,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
829
829
|
}),
|
|
830
830
|
onMouseleave: (i) => q({ serie: l, shape: a.shape, S: s }),
|
|
831
831
|
onClick: () => K({ serie: l, shape: a.shape, S: s }),
|
|
832
|
-
style:
|
|
832
|
+
style: F(`opacity:${w.value ? w.value === l.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${l.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? l.pathLength : 0}`)
|
|
833
833
|
}, null, 46, $a),
|
|
834
834
|
p.value.showTooltip ? (n(), u("path", {
|
|
835
835
|
key: 2,
|
|
@@ -855,20 +855,20 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
855
855
|
g(t.$slots, "svg", { svg: h.value }, void 0, !0)
|
|
856
856
|
], 14, va)),
|
|
857
857
|
t.$slots.watermark ? (n(), u("div", za, [
|
|
858
|
-
g(t.$slots, "watermark", W(U({ isPrinting: v(
|
|
858
|
+
g(t.$slots, "watermark", W(U({ isPrinting: v(Ne) || v(Ie) })), void 0, !0)
|
|
859
859
|
])) : m("", !0),
|
|
860
|
-
|
|
860
|
+
N("div", {
|
|
861
861
|
id: `legend-bottom-${S.value}`
|
|
862
862
|
}, null, 8, _a),
|
|
863
|
-
Ae.value ? (n(),
|
|
863
|
+
Ae.value ? (n(), M(Nt, {
|
|
864
864
|
key: 5,
|
|
865
865
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${S.value}` : `#legend-bottom-${S.value}`
|
|
866
866
|
}, [
|
|
867
|
-
|
|
867
|
+
N("div", {
|
|
868
868
|
ref_key: "chartLegend",
|
|
869
869
|
ref: be
|
|
870
870
|
}, [
|
|
871
|
-
e.value.style.chart.legend.show && Y.value ? (n(),
|
|
871
|
+
e.value.style.chart.legend.show && Y.value ? (n(), M(sa, {
|
|
872
872
|
key: `legend_${we.value}`,
|
|
873
873
|
legendSet: gt.value,
|
|
874
874
|
config: xt.value,
|
|
@@ -877,12 +877,12 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
877
877
|
})
|
|
878
878
|
}, {
|
|
879
879
|
item: b(({ legend: a, index: s }) => [
|
|
880
|
-
|
|
880
|
+
N("div", {
|
|
881
881
|
onClick: (l) => {
|
|
882
882
|
a.segregate(), We(a);
|
|
883
883
|
},
|
|
884
|
-
style:
|
|
885
|
-
}, B(a.name), 13,
|
|
884
|
+
style: F(`opacity:${_.value.includes(a.id) ? 0.5 : 1}`)
|
|
885
|
+
}, B(a.name), 13, Fa)
|
|
886
886
|
]),
|
|
887
887
|
_: 1
|
|
888
888
|
}, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
@@ -915,7 +915,9 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
915
915
|
isFullscreen: D.value,
|
|
916
916
|
isCustom: v(Qe)(e.value.style.chart.tooltip.customFormat),
|
|
917
917
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
918
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
918
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
919
|
+
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
920
|
+
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
919
921
|
}, {
|
|
920
922
|
"tooltip-before": b(() => [
|
|
921
923
|
g(t.$slots, "tooltip-before", W(U({ ...re.value })), void 0, !0)
|
|
@@ -924,14 +926,14 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
924
926
|
g(t.$slots, "tooltip-after", W(U({ ...re.value })), void 0, !0)
|
|
925
927
|
]),
|
|
926
928
|
_: 3
|
|
927
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
928
|
-
Y.value ? (n(),
|
|
929
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
930
|
+
Y.value ? (n(), M(It(G.value.component), Lt({ key: 7 }, G.value.props, {
|
|
929
931
|
ref_key: "tableUnit",
|
|
930
932
|
ref: V,
|
|
931
933
|
onClose: Ge
|
|
932
934
|
}), Ye({
|
|
933
935
|
content: b(() => [
|
|
934
|
-
(n(),
|
|
936
|
+
(n(), M(v(rt), {
|
|
935
937
|
key: `table_${Ce.value}`,
|
|
936
938
|
colNames: H.value.colNames,
|
|
937
939
|
head: H.value.head,
|
|
@@ -942,7 +944,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
942
944
|
onClose: Ge
|
|
943
945
|
}, {
|
|
944
946
|
th: b(({ th: a }) => [
|
|
945
|
-
|
|
947
|
+
N("div", { innerHTML: a }, null, 8, Ma)
|
|
946
948
|
]),
|
|
947
949
|
td: b(({ td: a }) => [
|
|
948
950
|
qe(B(a), 1)
|
|
@@ -962,7 +964,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
962
964
|
e.value.table.useDialog ? {
|
|
963
965
|
name: "actions",
|
|
964
966
|
fn: b(() => [
|
|
965
|
-
|
|
967
|
+
N("button", {
|
|
966
968
|
tabindex: "0",
|
|
967
969
|
class: "vue-ui-user-options-button",
|
|
968
970
|
onClick: o[1] || (o[1] = (a) => de(e.value.userOptions.callbacks.csv))
|
|
@@ -976,10 +978,10 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
976
978
|
key: "1"
|
|
977
979
|
} : void 0
|
|
978
980
|
]), 1040)) : m("", !0),
|
|
979
|
-
v(R) ? (n(),
|
|
981
|
+
v(R) ? (n(), M(ea, { key: 8 })) : m("", !0)
|
|
980
982
|
], 46, ra));
|
|
981
983
|
}
|
|
982
|
-
}, Ga = /* @__PURE__ */ ua(
|
|
984
|
+
}, Ga = /* @__PURE__ */ ua(Na, [["__scopeId", "data-v-f1d4fb6c"]]);
|
|
983
985
|
export {
|
|
984
986
|
Ga as default
|
|
985
987
|
};
|