vue-data-ui 3.3.2 → 3.3.3
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-DLi6NnGD.js → Arrow-ayTeSvpe.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-Cysanw8-.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-DG6cvf2h.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-CA8kKZjZ.js} +2 -2
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DUpZ_s2c.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-CCBZ2x8T.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-D2IMGwaN.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-CQvYRebC.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-D9LruJaM.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BS9UGhNq.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BOki89CB.js} +2 -2
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-svd8Hb6c.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-B6rAo9Oz.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-DaInVNiV.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-CJXSEhan.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.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-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-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-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.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-rating.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-smiley.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-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.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/{dom-to-png-DxyZSvDx.js → dom-to-png-Tq92GZKA.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-DI-W68vp.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-CSDxt1Zh.js} +12 -12
- package/dist/{pdf-anN8VbM7.js → pdf-BzVpWnNO.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-Dh-ldrr5.js} +1 -1
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-Cq8Pt6Lh.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-CDY7snWF.js} +64 -64
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-DbpiTjGu.js} +6 -6
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-CaClZrCp.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-DuIxXz5p.js} +35 -28
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-C2efSKQK.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-qpcqLKmp.js} +7 -7
- package/dist/{vue-ui-candlestick-x9U5Ni0N.js → vue-ui-candlestick-DTWbbdGH.js} +38 -31
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-CCTtArFX.js} +4 -4
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-CbvxJ8hy.js} +5 -5
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-Cp9nyIdv.js} +8 -8
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-kHzd0UYO.js} +21 -21
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-DEvkJRCz.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-k_mz9iwy.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-CqWCkEu2.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-CDKS6sVu.js} +8 -8
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-C6cGI_P3.js} +83 -76
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-ZjJst3xs.js} +38 -31
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-sX1PYIkr.js} +7 -7
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel--VViM9gH.js} +6 -6
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-Du0V9GF8.js} +7 -7
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-BAe4p2g-.js} +7 -7
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-CfjwAt38.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-Q0jrPM5h.js} +466 -436
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-CLSN3mPy.js} +45 -38
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-CBRgXD1s.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-3yCeDEPK.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-Ddh4hbX0.js} +5 -5
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-CK8UF-ka.js} +7 -7
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-DO0FV0tU.js} +7 -7
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DXLqoj-4.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-BlffHAHB.js} +45 -38
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-pw2ALj7p.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-9oGbV593.js} +214 -207
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-Csznqw19.js} +8 -8
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-C4yZY1sb.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-Duxv-A4H.js} +7 -7
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B-q7J-C0.js} +45 -38
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-PRAcmP1H.js} +8 -8
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-BLW4MJtJ.js} +8 -8
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-D0PF0jxa.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-Be44gMTh.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-B2XY2dRa.js} +3 -3
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-DWQN4gvR.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-fDhQGQ12.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-f7Acvipt.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-Ys3JW7Ap.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-Dv0HeSna.js} +3 -3
- package/dist/{vue-ui-stackbar-DIUil9DO.js → vue-ui-stackbar-DUlN5QiM.js} +45 -30
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-DN13ntF-.js} +113 -106
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-Qb5tDX1n.js} +5 -5
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-hMrgJ25a.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-CdkFyJjv.js} +4 -4
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-D7U2C7kJ.js} +7 -7
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-KtA4M2mV.js} +5 -5
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-C6GTGszq.js} +6 -6
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-rhnl1TW9.js} +8 -8
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-n_Lvbd_X.js} +9 -9
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-D-4whGLN.js} +8 -8
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-D92HLjfr.js} +6 -6
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Df9AMw6v.js} +20 -20
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-Bg9S35ug.js} +6 -6
- package/dist/{vue-ui-xy-tWE4H5ij.js → vue-ui-xy-Da6oy2rm.js} +284 -277
- package/dist/{vue-ui-xy-canvas-BQKR36bd.js → vue-ui-xy-canvas-0CLSIKpO.js} +10 -10
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineAsyncComponent as P, computed as p, ref as d, toRefs as Lt, watch as Z, shallowRef as qe, onMounted as St, onBeforeUnmount as Pt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as F, normalizeClass as X, createBlock as M, createCommentVNode as y, createElementVNode as N, createVNode as me, createSlots as Je, withCtx as b, renderSlot as g, normalizeProps as U, guardReactiveProps as W, Fragment as A, renderList as I, toDisplayString as B, Teleport as
|
|
2
|
-
import { c as ye, t as
|
|
3
|
-
import { t as lt, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
1
|
+
import { defineAsyncComponent as P, computed as p, ref as d, toRefs as Lt, watch as Z, shallowRef as qe, onMounted as St, onBeforeUnmount as Pt, watchEffect as Ot, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as F, normalizeClass as X, createBlock as M, createCommentVNode as y, createElementVNode as N, createVNode as me, createSlots as Je, withCtx as b, renderSlot as g, normalizeProps as U, guardReactiveProps as W, Fragment as A, renderList as I, toDisplayString as B, Teleport as Dt, resolveDynamicComponent as Rt, mergeProps as Bt, createTextVNode as Ke, nextTick as Et } from "vue";
|
|
2
|
+
import { c as ye, t as Ht, b as Ut, p as ee, o as Qe, f as Ze, g as Wt, e as Vt, h as jt, C as Gt, T as Xt, U as Yt, V as qt, X as Jt, L as Kt, z as et, D as te, x as Qt, y as Zt, a as tt, d as at, A as ea } from "./lib-CSDxt1Zh.js";
|
|
3
|
+
import { t as lt, u as ta } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as aa, a as ot } from "./useNestedProp-Dh-ldrr5.js";
|
|
5
|
+
import { u as la } from "./usePrinter-Cq8Pt6Lh.js";
|
|
6
|
+
import { u as oa, B as sa } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
+
import { u as na } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as ia } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as ua } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import { u as ra } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
11
|
import { t as ca } from "./themes-Dw-dDudK.js";
|
|
12
|
-
import va from "./Title-
|
|
13
|
-
import da from "./Legend-
|
|
14
|
-
import { _ as ha } from "./Shape-
|
|
15
|
-
import pa from "./img-
|
|
12
|
+
import va from "./Title-B6rAo9Oz.js";
|
|
13
|
+
import da from "./Legend-CCBZ2x8T.js";
|
|
14
|
+
import { _ as ha } from "./Shape-BS9UGhNq.js";
|
|
15
|
+
import pa from "./img-DI-W68vp.js";
|
|
16
16
|
import { _ as ma } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "width", "height"], xa = { style: { "pointer-events": "none" } }, ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = { key: 0 }, Aa = ["x", "y", "fill", "font-size", "font-weight"], $a = ["fill", "font-size", "font-weight", "text-anchor", "transform"], Ta = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], za = { key: 0 }, _a = ["x", "y", "font-size", "fill"], Fa = ["width", "x", "y"], Ma = { style: { width: "100%" } }, Na = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], Ia = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], La = ["d", "onMouseenter", "onMouseleave", "onClick"], Sa = {
|
|
18
18
|
key: 4,
|
|
@@ -35,7 +35,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend", "selectDatapoint"],
|
|
37
37
|
setup(st, { expose: nt, emit: it }) {
|
|
38
|
-
const ut = P(() => import("./Tooltip-
|
|
38
|
+
const ut = P(() => import("./Tooltip-DaInVNiV.js")), rt = P(() => import("./BaseIcon-DG6cvf2h.js")), ct = P(() => import("./vue-ui-accordion-CaClZrCp.js")), vt = P(() => import("./DataTable-DUpZ_s2c.js")), dt = P(() => import("./PenAndPaper-D9LruJaM.js")), ht = P(() => import("./UserOptions-CJXSEhan.js")), pt = P(() => import("./PackageVersion-CQvYRebC.js")), mt = P(() => import("./BaseDraggableDialog-Cysanw8-.js")), { vue_ui_parallel_coordinate_plot: yt } = aa(), $ = st, Y = p({
|
|
39
39
|
get() {
|
|
40
40
|
return !!$.dataset && $.dataset.length;
|
|
41
41
|
},
|
|
@@ -46,13 +46,13 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
46
46
|
function Te(t) {
|
|
47
47
|
D.value = t, fe.value += 1;
|
|
48
48
|
}
|
|
49
|
-
const e = d(ie()), { loading: R, FINAL_DATASET: ft, manualLoading: oe } =
|
|
49
|
+
const e = d(ie()), { loading: R, FINAL_DATASET: ft, manualLoading: oe } = oa({
|
|
50
50
|
...Lt($),
|
|
51
51
|
FINAL_CONFIG: e,
|
|
52
52
|
prepareConfig: ie,
|
|
53
53
|
callback: () => {
|
|
54
54
|
Promise.resolve().then(async () => {
|
|
55
|
-
await
|
|
55
|
+
await Et(), m.value.showTable = e.value.table.show;
|
|
56
56
|
});
|
|
57
57
|
},
|
|
58
58
|
skeletonDataset: [
|
|
@@ -90,7 +90,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
90
90
|
]
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
|
-
skeletonConfig:
|
|
93
|
+
skeletonConfig: Ht({
|
|
94
94
|
defaultConfig: e.value,
|
|
95
95
|
userConfig: {
|
|
96
96
|
useCssAnimation: !1,
|
|
@@ -117,7 +117,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
|
-
}), { userOptionsVisible: se, setUserOptionsVisibility: ze, keepUserOptionState: _e } =
|
|
120
|
+
}), { userOptionsVisible: se, setUserOptionsVisibility: ze, keepUserOptionState: _e } = ia({ config: e.value }), { svgRef: ne } = ua({ config: e.value.style.chart.title });
|
|
121
121
|
function ie() {
|
|
122
122
|
const t = ot({
|
|
123
123
|
userConfig: $.config,
|
|
@@ -128,7 +128,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
128
128
|
userConfig: ca.vue_ui_parallel_coordinate_plot[t.theme] || $.config,
|
|
129
129
|
defaultConfig: t
|
|
130
130
|
}),
|
|
131
|
-
customPalette:
|
|
131
|
+
customPalette: Ut[t.theme] || ee
|
|
132
132
|
} : t;
|
|
133
133
|
}
|
|
134
134
|
Z(() => $.config, (t) => {
|
|
@@ -147,7 +147,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
147
147
|
type: "dataset",
|
|
148
148
|
debug: Fe.value
|
|
149
149
|
}), oe.value = !0) : $.dataset.forEach((t, o) => {
|
|
150
|
-
|
|
150
|
+
Wt({
|
|
151
151
|
datasetObject: t,
|
|
152
152
|
requiredAttributes: ["name", "series"]
|
|
153
153
|
}).forEach((a) => {
|
|
@@ -161,7 +161,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
161
161
|
});
|
|
162
162
|
}), Qe($.dataset) || (oe.value = e.value.loading), e.value.responsive) {
|
|
163
163
|
const t = lt(() => {
|
|
164
|
-
const { width: o, height: a } =
|
|
164
|
+
const { width: o, height: a } = ta({
|
|
165
165
|
chart: z.value,
|
|
166
166
|
title: e.value.style.chart.title.text ? be.value : null,
|
|
167
167
|
legend: e.value.style.chart.legend.show ? ge.value : null,
|
|
@@ -202,7 +202,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
202
202
|
Pt(() => {
|
|
203
203
|
L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect());
|
|
204
204
|
});
|
|
205
|
-
const { isPrinting: Ne, isImaging: Ie, generatePdf: Le, generateImage: Se } =
|
|
205
|
+
const { isPrinting: Ne, isImaging: Ie, generatePdf: Le, generateImage: Se } = la({
|
|
206
206
|
elementId: `pcp_${O.value}`,
|
|
207
207
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
208
208
|
options: e.value.userOptions.print
|
|
@@ -218,7 +218,14 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
218
218
|
}), Pe = p(() => c.value.width), Oe = p(() => c.value.height), j = d(0), gt = lt((t) => {
|
|
219
219
|
j.value = t;
|
|
220
220
|
}, 100);
|
|
221
|
-
|
|
221
|
+
Ot((t) => {
|
|
222
|
+
const o = le.value;
|
|
223
|
+
if (!o) return;
|
|
224
|
+
const a = new ResizeObserver((s) => {
|
|
225
|
+
gt(s[0].contentRect.height);
|
|
226
|
+
});
|
|
227
|
+
a.observe(o), t(() => a.disconnect());
|
|
228
|
+
});
|
|
222
229
|
const h = p(() => {
|
|
223
230
|
const { top: t, right: o, bottom: a, left: s } = e.value.style.chart.padding, l = Oe.value, r = Pe.value;
|
|
224
231
|
return {
|
|
@@ -231,7 +238,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
231
238
|
right: r - o,
|
|
232
239
|
bottom: l - a - c.value.datapointFontSize
|
|
233
240
|
};
|
|
234
|
-
}), xt = p(() =>
|
|
241
|
+
}), xt = p(() => Vt(e.value.customPalette)), m = d({
|
|
235
242
|
dataLabels: {
|
|
236
243
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
237
244
|
},
|
|
@@ -252,7 +259,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
252
259
|
_.value.includes(t) ? _.value = _.value.filter((o) => o !== t) : _.value.push(t);
|
|
253
260
|
}
|
|
254
261
|
const S = p(() => ft.value.map((t, o) => {
|
|
255
|
-
const a =
|
|
262
|
+
const a = jt(t.color) || xt.value[o] || ee[o] || ee[o % ee.length];
|
|
256
263
|
return {
|
|
257
264
|
...t,
|
|
258
265
|
series: t.series.map((s) => ({
|
|
@@ -283,7 +290,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
283
290
|
)), C = p(() => h.value.width / Be.value), ue = p(() => S.value.filter((t) => !_.value.includes(t.id))), f = p(() => {
|
|
284
291
|
let t = [];
|
|
285
292
|
for (let o = 0; o < Be.value; o += 1) {
|
|
286
|
-
const a = Math.min(...ue.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), s = Math.max(...ue.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), l = s === a ? a / 4 : a, r = s === a ? s * 2 : s, i =
|
|
293
|
+
const a = Math.min(...ue.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), s = Math.max(...ue.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), l = s === a ? a / 4 : a, r = s === a ? s * 2 : s, i = Gt(l, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((x, k) => {
|
|
287
294
|
const Nt = i.min < 0 ? x + Math.abs(i.min) : x - Math.abs(i.min), It = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
288
295
|
return {
|
|
289
296
|
y: h.value.bottom - h.value.height * (Nt / It),
|
|
@@ -320,7 +327,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
320
327
|
})).map((t) => ({
|
|
321
328
|
...t,
|
|
322
329
|
series: t.series.map((o) => {
|
|
323
|
-
const a =
|
|
330
|
+
const a = Xt(o.datapoints), s = Yt(o.datapoints), l = qt(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${a}`);
|
|
324
331
|
return {
|
|
325
332
|
...o,
|
|
326
333
|
smoothPath: s,
|
|
@@ -350,7 +357,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
350
357
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...a, shape: t }, seriesIndex: r }), ce.value = { serie: a, relativeIndex: s, seriesIndex: l, series: S.value, scales: f.value }, ve.value = !0, w.value = a.id;
|
|
351
358
|
let i = "";
|
|
352
359
|
const T = e.value.style.chart.tooltip.customFormat;
|
|
353
|
-
et(T) &&
|
|
360
|
+
et(T) && ea(() => T({
|
|
354
361
|
serie: a,
|
|
355
362
|
seriesIndex: a.seriesIndex,
|
|
356
363
|
series: S.value,
|
|
@@ -411,8 +418,8 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
411
418
|
body: H.value.body
|
|
412
419
|
});
|
|
413
420
|
function he(t = null) {
|
|
414
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = He.value.head, s = He.value.body, l = o.concat([a]).concat(s), r =
|
|
415
|
-
t ? t(r) :
|
|
421
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = He.value.head, s = He.value.body, l = o.concat([a]).concat(s), r = Qt(l);
|
|
422
|
+
t ? t(r) : Zt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
416
423
|
}
|
|
417
424
|
const Ue = it;
|
|
418
425
|
function K({ serie: t, shape: o, S: a }) {
|
|
@@ -500,7 +507,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
500
507
|
function Xe() {
|
|
501
508
|
m.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
|
|
502
509
|
}
|
|
503
|
-
const Tt = p(() => e.value.style.chart.backgroundColor), zt = p(() => e.value.style.chart.legend), _t = p(() => e.value.style.chart.title), { exportSvg: Ft, getSvg: Mt } =
|
|
510
|
+
const Tt = p(() => e.value.style.chart.backgroundColor), zt = p(() => e.value.style.chart.legend), _t = p(() => e.value.style.chart.title), { exportSvg: Ft, getSvg: Mt } = na({
|
|
504
511
|
svg: ne,
|
|
505
512
|
title: _t,
|
|
506
513
|
legend: zt,
|
|
@@ -673,7 +680,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
673
680
|
(n(), u("svg", {
|
|
674
681
|
ref_key: "svgRef",
|
|
675
682
|
ref: ne,
|
|
676
|
-
xmlns: v(
|
|
683
|
+
xmlns: v(Jt),
|
|
677
684
|
class: X({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
678
685
|
viewBox: `0 0 ${h.value.chartWidth <= 0 ? 10 : h.value.chartWidth} ${h.value.chartHeight <= 0 ? 10 : h.value.chartHeight}`,
|
|
679
686
|
style: F(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
@@ -738,7 +745,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
738
745
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
739
746
|
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
740
747
|
transform: `translate(${h.value.left + C.value * s + C.value / 2}, ${j.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
|
|
741
|
-
innerHTML: v(
|
|
748
|
+
innerHTML: v(Kt)({
|
|
742
749
|
content: String(a.name),
|
|
743
750
|
fontSize: c.value.axisNameFontSize,
|
|
744
751
|
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
@@ -873,7 +880,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
873
880
|
N("div", {
|
|
874
881
|
id: `legend-bottom-${O.value}`
|
|
875
882
|
}, null, 8, Pa),
|
|
876
|
-
$e.value ? (n(), M(
|
|
883
|
+
$e.value ? (n(), M(Dt, {
|
|
877
884
|
key: 5,
|
|
878
885
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
|
|
879
886
|
}, [
|
|
@@ -940,7 +947,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
940
947
|
]),
|
|
941
948
|
_: 3
|
|
942
949
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
943
|
-
Y.value && e.value.userOptions.buttons.table ? (n(), M(
|
|
950
|
+
Y.value && e.value.userOptions.buttons.table ? (n(), M(Rt(G.value.component), Bt({ key: 7 }, G.value.props, {
|
|
944
951
|
ref_key: "tableUnit",
|
|
945
952
|
ref: V,
|
|
946
953
|
onClose: Xe
|
|
@@ -991,10 +998,10 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
991
998
|
key: "1"
|
|
992
999
|
} : void 0
|
|
993
1000
|
]), 1040)) : y("", !0),
|
|
994
|
-
v(R) ? (n(), M(
|
|
1001
|
+
v(R) ? (n(), M(sa, { key: 8 })) : y("", !0)
|
|
995
1002
|
], 46, ya));
|
|
996
1003
|
}
|
|
997
|
-
}, tl = /* @__PURE__ */ ma(Ra, [["__scopeId", "data-v-
|
|
1004
|
+
}, tl = /* @__PURE__ */ ma(Ra, [["__scopeId", "data-v-3420293f"]]);
|
|
998
1005
|
export {
|
|
999
1006
|
tl as default
|
|
1000
1007
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineAsyncComponent as F, computed as f, ref as y, toRefs as Xt, watch as xe, shallowRef as lt, onMounted as Yt, onBeforeUnmount as Mt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as C, normalizeClass as z, createBlock as X, createCommentVNode as h, createElementVNode as d, createVNode as se, createSlots as at, withCtx as m, renderSlot as $, normalizeProps as U, guardReactiveProps as G, Fragment as q, renderList as Y, toDisplayString as k, Teleport as Ot, resolveDynamicComponent as Nt, mergeProps as Bt, createTextVNode as ot, nextTick as ut } from "vue";
|
|
2
|
-
import { c as st, t as Ft, b as Rt, p as $e, o as Pt, f as Q, e as Vt, h as Dt, W as Ht, a as R, d as P, X as It, s as re, i as Et, Y as Ut, L as Gt, E as Qt, x as Jt, y as jt, z as Zt, A as Kt } from "./lib-
|
|
2
|
+
import { c as st, t as Ft, b as Rt, p as $e, o as Pt, f as Q, e as Vt, h as Dt, W as Ht, a as R, d as P, X as It, s as re, i as Et, Y as Ut, L as Gt, E as Qt, x as Jt, y as jt, z as Zt, A as Kt } from "./lib-CSDxt1Zh.js";
|
|
3
3
|
import { t as el, u as tl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ll, a as rt } from "./useNestedProp-
|
|
5
|
-
import { u as al } from "./usePrinter-
|
|
4
|
+
import { u as ll, a as rt } from "./useNestedProp-Dh-ldrr5.js";
|
|
5
|
+
import { u as al } from "./usePrinter-Cq8Pt6Lh.js";
|
|
6
6
|
import { u as ol } from "./useSvgExport-DrjCWun4.js";
|
|
7
7
|
import { u as ul } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import rl from "./img-
|
|
10
|
-
import nl from "./Title-
|
|
11
|
-
import { _ as nt } from "./Shape-
|
|
9
|
+
import rl from "./img-DI-W68vp.js";
|
|
10
|
+
import nl from "./Title-B6rAo9Oz.js";
|
|
11
|
+
import { _ as nt } from "./Shape-BS9UGhNq.js";
|
|
12
12
|
import { t as il } from "./themes-Dw-dDudK.js";
|
|
13
|
-
import vl from "./Legend-
|
|
13
|
+
import vl from "./Legend-CCBZ2x8T.js";
|
|
14
14
|
import { u as cl, B as dl } from "./BaseScanner-BgWxam9d.js";
|
|
15
15
|
import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y", "width", "height"], gl = ["id"], ml = ["stop-color"], xl = ["stop-color"], $l = { key: 1 }, kl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Ll = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], wl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], _l = { key: 2 }, Cl = ["points", "fill"], Sl = ["points", "fill"], ql = ["points", "fill"], Tl = ["points", "fill"], zl = { key: 3 }, Al = ["y", "fill", "font-size"], Wl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Yl = ["y", "fill", "font-size"], Ml = { key: 4 }, Ol = ["x", "y", "font-size", "fill"], Nl = ["x", "y", "font-size", "fill"], Bl = ["x", "y", "font-size", "fill"], Fl = ["id", "font-size", "transform", "fill"], Rl = ["id", "font-size", "transform", "fill"], Pl = ["id", "font-size", "transform", "fill"], Vl = { key: 5 }, Dl = ["fill", "points"], Hl = ["x", "y", "width", "height"], Il = ["x", "y", "width", "height"], El = ["x", "y", "width", "height"], Ul = ["x", "y", "width", "height"], Gl = {
|
|
@@ -45,7 +45,7 @@ const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y",
|
|
|
45
45
|
},
|
|
46
46
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
47
47
|
setup(it, { expose: vt, emit: ct }) {
|
|
48
|
-
const dt = F(() => import("./Tooltip-
|
|
48
|
+
const dt = F(() => import("./Tooltip-DaInVNiV.js")), ht = F(() => import("./BaseIcon-DG6cvf2h.js")), yt = F(() => import("./vue-ui-accordion-CaClZrCp.js")), bt = F(() => import("./DataTable-DUpZ_s2c.js")), ft = F(() => import("./PenAndPaper-D9LruJaM.js")), pt = F(() => import("./UserOptions-CJXSEhan.js")), gt = F(() => import("./PackageVersion-CQvYRebC.js")), mt = F(() => import("./BaseDraggableDialog-Cysanw8-.js")), { vue_ui_quadrant: xt } = ll(), M = it, ke = f(() => !!M.dataset && M.dataset.length), w = y(st()), ne = ct, ie = y(!1), ve = y(""), Le = y(0), g = y(!1), A = y(null), we = y(null), _e = y(null), Ce = y(null), Se = y(null), qe = y(0), Te = y(0), ze = y(0), Ae = y(!1), J = y(null), ce = y(null), e = y(ye()), { loading: We, FINAL_DATASET: Xe } = cl({
|
|
49
49
|
...Xt(M),
|
|
50
50
|
FINAL_CONFIG: e,
|
|
51
51
|
prepareConfig: ye,
|