vue-data-ui 3.3.0 → 3.3.2
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-CKLBHe3L.js → Arrow-DLi6NnGD.js} +1 -1
- package/dist/{BaseDraggableDialog-q3pgSDTz.js → BaseDraggableDialog-CVGErydD.js} +2 -2
- package/dist/{BaseIcon-CtqN7W_g.js → BaseIcon-eZbszQrv.js} +1 -1
- package/dist/{ColorPicker-Cr6rUDTP.js → ColorPicker-BoPM4Ejg.js} +2 -2
- package/dist/{DataTable-BeI6gYJX.js → DataTable-yAMEyP6y.js} +2 -2
- package/dist/{Legend-DsogCeTb.js → Legend-By4rru90.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BDK_ucTG.js → NonSvgPenAndPaper-C7QqIewT.js} +3 -3
- package/dist/{PackageVersion-C9oklnuy.js → PackageVersion-r-Q1R3nV.js} +1 -1
- package/dist/{PenAndPaper-BxbYiPy4.js → PenAndPaper-Bo-lMUik.js} +3 -3
- package/dist/{Shape-DJG2zW7b.js → Shape-BceHSLHf.js} +1 -1
- package/dist/{Slicer-D6T4aUhr.js → Slicer-Znzt0gSE.js} +2 -2
- package/dist/{SparkTooltip-Cp0G9giW.js → SparkTooltip--YwqrrgZ.js} +1 -1
- package/dist/{Title-D17CJXko.js → Title-Camz1Lce.js} +1 -1
- package/dist/{Tooltip-CtVdvbZi.js → Tooltip-VOcQEHa4.js} +1 -1
- package/dist/{UserOptions-B3vCIe-u.js → UserOptions-CSja1SGU.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-BiyqJA3t.js → dom-to-png-DxyZSvDx.js} +1 -1
- package/dist/{img-6wPuVVtk.js → img-J2dLIr8Y.js} +1 -1
- package/dist/{lib-GIYcnm0E.js → lib-CEjkWSLj.js} +376 -374
- package/dist/{pdf-DjbHsnrb.js → pdf-anN8VbM7.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-Csv3pVmh.js → useAutoSizeLabelsInsideViewbox-CovTrBjm.js} +1 -1
- package/dist/{useNestedProp-mxyyqd0B.js → useNestedProp-Ce3PwN8T.js} +1 -1
- package/dist/{usePrinter-DYRFiw7X.js → usePrinter-DJ1iH-F_.js} +2 -2
- package/dist/useResizeObserverEffect-DfnWps4W.js +109 -0
- package/dist/useSvgExport-DrjCWun4.js +750 -0
- package/dist/{vue-data-ui-DLU1snC3.js → vue-data-ui-BFdGl7rL.js} +64 -64
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-D6xoBrN6.js → vue-ui-3d-bar-kzlIaqHU.js} +7 -7
- package/dist/{vue-ui-accordion-Dch9YrCi.js → vue-ui-accordion-VTP418mC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D74mAaLA.js → vue-ui-age-pyramid-YFzQ15k1.js} +28 -35
- package/dist/{vue-ui-annotator-DwRwhrgB.js → vue-ui-annotator-CmwDyy9m.js} +7 -7
- package/dist/{vue-ui-bullet-D2qVUqWs.js → vue-ui-bullet-DdjpiM-T.js} +8 -8
- package/dist/{vue-ui-candlestick-C81k1_f9.js → vue-ui-candlestick-x9U5Ni0N.js} +31 -38
- package/dist/{vue-ui-carousel-table-DBIhnEj-.js → vue-ui-carousel-table-CRI_iPLn.js} +4 -4
- package/dist/{vue-ui-chestnut-CSM-_IWw.js → vue-ui-chestnut-YrEA5Gq3.js} +6 -6
- package/dist/{vue-ui-chord-BFW9nnNh.js → vue-ui-chord-D_2DdvpZ.js} +9 -9
- package/dist/{vue-ui-circle-pack-D6mTG5i0.js → vue-ui-circle-pack-xm9-OOAR.js} +7 -7
- package/dist/{vue-ui-cursor-BJmTAMpP.js → vue-ui-cursor-Dt8Zzw22.js} +2 -2
- package/dist/{vue-ui-dashboard-BdFLsK4u.js → vue-ui-dashboard-29ZuFoLn.js} +67 -67
- package/dist/{vue-ui-digits-DXum1rs6.js → vue-ui-digits-nKPRJ9Vz.js} +2 -2
- package/dist/{vue-ui-donut-CqefukGp.js → vue-ui-donut-BQptfVfE.js} +9 -9
- package/dist/{vue-ui-donut-evolution-DFIbK50s.js → vue-ui-donut-evolution-fiqngEFW.js} +76 -83
- package/dist/{vue-ui-dumbbell-DIo2ecGY.js → vue-ui-dumbbell-Cw45EBO0.js} +31 -38
- package/dist/{vue-ui-flow--kiGWaq4.js → vue-ui-flow-DPu9BjPy.js} +8 -8
- package/dist/{vue-ui-funnel-B8UHwj15.js → vue-ui-funnel-CtlDuNjO.js} +7 -7
- package/dist/{vue-ui-galaxy-eQZh_y3l.js → vue-ui-galaxy-BiVjoNHW.js} +8 -8
- package/dist/{vue-ui-gauge-DJ-E6L2T.js → vue-ui-gauge-CoM6Q3Nb.js} +8 -8
- package/dist/{vue-ui-gizmo-DFxlqPz7.js → vue-ui-gizmo-DXG8dS5u.js} +3 -3
- package/dist/{vue-ui-heatmap-CcAe5dDN.js → vue-ui-heatmap-D6n8AnCc.js} +194 -215
- package/dist/{vue-ui-history-plot-CgKvd7Jx.js → vue-ui-history-plot-C8WMHda_.js} +38 -45
- package/dist/{vue-ui-kpi-Ct2iyD49.js → vue-ui-kpi-Dphnwumo.js} +3 -3
- package/dist/{vue-ui-mini-loader-ByjcvXBB.js → vue-ui-mini-loader-DFk9GZ5V.js} +2 -2
- package/dist/{vue-ui-molecule-CGDBEAkX.js → vue-ui-molecule-DC4_vXt_.js} +6 -6
- package/dist/{vue-ui-mood-radar-D9GuK4cI.js → vue-ui-mood-radar-BgT5wMS0.js} +8 -8
- package/dist/{vue-ui-nested-donuts-CGKgOTX2.js → vue-ui-nested-donuts-D2gSqe1f.js} +8 -8
- package/dist/{vue-ui-onion-C5tE1Woz.js → vue-ui-onion-CEbv2ii4.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-CVhD6IoH.js → vue-ui-parallel-coordinate-plot-budrvcwU.js} +38 -45
- package/dist/{vue-ui-quadrant-BGDCaOXv.js → vue-ui-quadrant-PpymeiXe.js} +9 -9
- package/dist/{vue-ui-quick-chart-CjXSB-2S.js → vue-ui-quick-chart-k6mjTD56.js} +207 -214
- package/dist/{vue-ui-radar-rhxkROX7.js → vue-ui-radar-C5NvYMnv.js} +9 -9
- package/dist/{vue-ui-rating-Bo9gSy-z.js → vue-ui-rating-eKlTJch9.js} +2 -2
- package/dist/{vue-ui-relation-circle-Qo8FKbL2.js → vue-ui-relation-circle-Df33aaUT.js} +8 -8
- package/dist/{vue-ui-ridgeline-ahOApbEC.js → vue-ui-ridgeline-BTw-37RS.js} +38 -45
- package/dist/{vue-ui-rings-DFAVaEBs.js → vue-ui-rings-C_s9xOtZ.js} +9 -9
- package/dist/{vue-ui-scatter-zjlWyvVd.js → vue-ui-scatter-Jd8bQ0S5.js} +9 -9
- package/dist/{vue-ui-skeleton-CKfOnyd_.js → vue-ui-skeleton-Ce7H57o7.js} +3 -3
- package/dist/{vue-ui-smiley-CY7UiJ9C.js → vue-ui-smiley-C4mhT7ZV.js} +2 -2
- package/dist/{vue-ui-spark-trend-DwNYP97M.js → vue-ui-spark-trend-DQy4iSO7.js} +3 -3
- package/dist/{vue-ui-sparkbar-BkdcYrmg.js → vue-ui-sparkbar-CUFTHql0.js} +3 -3
- package/dist/{vue-ui-sparkgauge-C6Kq_OGV.js → vue-ui-sparkgauge-CcykuBps.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CjB33yXB.js → vue-ui-sparkhistogram-CyGvYpYn.js} +4 -4
- package/dist/{vue-ui-sparkline-DcH4yIEd.js → vue-ui-sparkline-CLWJM6hA.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-MKr2u_pO.js → vue-ui-sparkstackbar-Cln1pduE.js} +3 -3
- package/dist/{vue-ui-stackbar-DKV-exfd.js → vue-ui-stackbar-DIUil9DO.js} +31 -46
- package/dist/{vue-ui-strip-plot-ncTrDlNC.js → vue-ui-strip-plot-C4U0fT5D.js} +106 -113
- package/dist/{vue-ui-table-BdT3lGuv.js → vue-ui-table-DpdP3PDq.js} +5 -5
- package/dist/{vue-ui-table-heatmap-D929cWB0.js → vue-ui-table-heatmap-J29d8nds.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CkZ_ygR1.js → vue-ui-table-sparkline-Chf5YY4A.js} +4 -4
- package/dist/{vue-ui-thermometer-CjBLR6H9.js → vue-ui-thermometer-D6RmaNE6.js} +8 -8
- package/dist/{vue-ui-timer-Bs7eMmiC.js → vue-ui-timer-C5E1kJRt.js} +5 -5
- package/dist/{vue-ui-tiremarks-nGOZKRcz.js → vue-ui-tiremarks-D0erVBnj.js} +7 -7
- package/dist/{vue-ui-treemap-SQ2f5wbN.js → vue-ui-treemap-K8FYxuYz.js} +10 -10
- package/dist/{vue-ui-vertical-bar-Hh9gAN5j.js → vue-ui-vertical-bar-BA3OY8Sh.js} +10 -10
- package/dist/{vue-ui-waffle-C7moVBln.js → vue-ui-waffle-CgLgPuro.js} +9 -9
- package/dist/{vue-ui-wheel-KrGLMCqW.js → vue-ui-wheel-C_cOUhCs.js} +7 -7
- package/dist/{vue-ui-word-cloud-BQSu6kiR.js → vue-ui-word-cloud-uvHNOIpN.js} +7 -7
- package/dist/{vue-ui-world-DdoMFJcV.js → vue-ui-world-DmeNMwpX.js} +7 -7
- package/dist/{vue-ui-xy-canvas-oUXISeU8.js → vue-ui-xy-canvas-BQKR36bd.js} +10 -10
- package/dist/{vue-ui-xy-B2fjTYMJ.js → vue-ui-xy-tWE4H5ij.js} +278 -285
- package/package.json +1 -1
- package/dist/useSvgExport-B7-Vrjtu.js +0 -732
- package/dist/useTimeLabelCollider-CIsgDrl9.js +0 -78
|
@@ -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,
|
|
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 ra } from "./
|
|
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 Ot, resolveDynamicComponent as Dt, mergeProps as Rt, createTextVNode as Ke, nextTick as Bt } from "vue";
|
|
2
|
+
import { c as ye, t as Et, b as Ht, p as ee, o as Qe, f as Ze, g as Ut, e as Wt, h as Vt, C as jt, T as Gt, U as Xt, V as Yt, X as qt, L as Jt, z as et, D as te, x as Kt, y as Qt, a as tt, d as at, A as Zt } from "./lib-CEjkWSLj.js";
|
|
3
|
+
import { t as lt, u as ea } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as ta, a as ot } from "./useNestedProp-Ce3PwN8T.js";
|
|
5
|
+
import { u as aa } from "./usePrinter-DJ1iH-F_.js";
|
|
6
|
+
import { u as la, B as oa } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
+
import { u as sa } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as na } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as ia } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import { u as ua, a as ra } from "./useResizeObserverEffect-DfnWps4W.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-Camz1Lce.js";
|
|
13
|
+
import da from "./Legend-By4rru90.js";
|
|
14
|
+
import { _ as ha } from "./Shape-BceHSLHf.js";
|
|
15
|
+
import pa from "./img-J2dLIr8Y.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-VOcQEHa4.js")), rt = P(() => import("./BaseIcon-eZbszQrv.js")), ct = P(() => import("./vue-ui-accordion-VTP418mC.js")), vt = P(() => import("./DataTable-yAMEyP6y.js")), dt = P(() => import("./PenAndPaper-Bo-lMUik.js")), ht = P(() => import("./UserOptions-CSja1SGU.js")), pt = P(() => import("./PackageVersion-r-Q1R3nV.js")), mt = P(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_parallel_coordinate_plot: yt } = ta(), $ = 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 } = la({
|
|
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 Bt(), 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: Et({
|
|
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 } = na({ config: e.value }), { svgRef: ne } = ia({ 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: Ht[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
|
+
Ut({
|
|
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 } = ea({
|
|
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 } = aa({
|
|
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,14 +218,7 @@ 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
|
-
|
|
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
|
-
});
|
|
221
|
+
ua({ elementRef: le, callback: gt, attr: "height" });
|
|
229
222
|
const h = p(() => {
|
|
230
223
|
const { top: t, right: o, bottom: a, left: s } = e.value.style.chart.padding, l = Oe.value, r = Pe.value;
|
|
231
224
|
return {
|
|
@@ -238,7 +231,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
238
231
|
right: r - o,
|
|
239
232
|
bottom: l - a - c.value.datapointFontSize
|
|
240
233
|
};
|
|
241
|
-
}), xt = p(() =>
|
|
234
|
+
}), xt = p(() => Wt(e.value.customPalette)), m = d({
|
|
242
235
|
dataLabels: {
|
|
243
236
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
244
237
|
},
|
|
@@ -259,7 +252,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
259
252
|
_.value.includes(t) ? _.value = _.value.filter((o) => o !== t) : _.value.push(t);
|
|
260
253
|
}
|
|
261
254
|
const S = p(() => ft.value.map((t, o) => {
|
|
262
|
-
const a =
|
|
255
|
+
const a = Vt(t.color) || xt.value[o] || ee[o] || ee[o % ee.length];
|
|
263
256
|
return {
|
|
264
257
|
...t,
|
|
265
258
|
series: t.series.map((s) => ({
|
|
@@ -290,7 +283,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
290
283
|
)), C = p(() => h.value.width / Be.value), ue = p(() => S.value.filter((t) => !_.value.includes(t.id))), f = p(() => {
|
|
291
284
|
let t = [];
|
|
292
285
|
for (let o = 0; o < Be.value; o += 1) {
|
|
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 =
|
|
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 = jt(l, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((x, k) => {
|
|
294
287
|
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);
|
|
295
288
|
return {
|
|
296
289
|
y: h.value.bottom - h.value.height * (Nt / It),
|
|
@@ -327,7 +320,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
327
320
|
})).map((t) => ({
|
|
328
321
|
...t,
|
|
329
322
|
series: t.series.map((o) => {
|
|
330
|
-
const a =
|
|
323
|
+
const a = Gt(o.datapoints), s = Xt(o.datapoints), l = Yt(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${a}`);
|
|
331
324
|
return {
|
|
332
325
|
...o,
|
|
333
326
|
smoothPath: s,
|
|
@@ -357,7 +350,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
357
350
|
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;
|
|
358
351
|
let i = "";
|
|
359
352
|
const T = e.value.style.chart.tooltip.customFormat;
|
|
360
|
-
et(T) &&
|
|
353
|
+
et(T) && Zt(() => T({
|
|
361
354
|
serie: a,
|
|
362
355
|
seriesIndex: a.seriesIndex,
|
|
363
356
|
series: S.value,
|
|
@@ -418,8 +411,8 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
418
411
|
body: H.value.body
|
|
419
412
|
});
|
|
420
413
|
function he(t = null) {
|
|
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 =
|
|
422
|
-
t ? t(r) :
|
|
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 = Kt(l);
|
|
415
|
+
t ? t(r) : Qt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
423
416
|
}
|
|
424
417
|
const Ue = it;
|
|
425
418
|
function K({ serie: t, shape: o, S: a }) {
|
|
@@ -507,7 +500,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
507
500
|
function Xe() {
|
|
508
501
|
m.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
|
|
509
502
|
}
|
|
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 } =
|
|
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 } = sa({
|
|
511
504
|
svg: ne,
|
|
512
505
|
title: _t,
|
|
513
506
|
legend: zt,
|
|
@@ -680,7 +673,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
680
673
|
(n(), u("svg", {
|
|
681
674
|
ref_key: "svgRef",
|
|
682
675
|
ref: ne,
|
|
683
|
-
xmlns: v(
|
|
676
|
+
xmlns: v(qt),
|
|
684
677
|
class: X({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
685
678
|
viewBox: `0 0 ${h.value.chartWidth <= 0 ? 10 : h.value.chartWidth} ${h.value.chartHeight <= 0 ? 10 : h.value.chartHeight}`,
|
|
686
679
|
style: F(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
@@ -745,7 +738,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
745
738
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
746
739
|
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
747
740
|
transform: `translate(${h.value.left + C.value * s + C.value / 2}, ${j.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
|
|
748
|
-
innerHTML: v(
|
|
741
|
+
innerHTML: v(Jt)({
|
|
749
742
|
content: String(a.name),
|
|
750
743
|
fontSize: c.value.axisNameFontSize,
|
|
751
744
|
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
@@ -880,7 +873,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
880
873
|
N("div", {
|
|
881
874
|
id: `legend-bottom-${O.value}`
|
|
882
875
|
}, null, 8, Pa),
|
|
883
|
-
$e.value ? (n(), M(
|
|
876
|
+
$e.value ? (n(), M(Ot, {
|
|
884
877
|
key: 5,
|
|
885
878
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
|
|
886
879
|
}, [
|
|
@@ -947,7 +940,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
947
940
|
]),
|
|
948
941
|
_: 3
|
|
949
942
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
950
|
-
Y.value && e.value.userOptions.buttons.table ? (n(), M(
|
|
943
|
+
Y.value && e.value.userOptions.buttons.table ? (n(), M(Dt(G.value.component), Rt({ key: 7 }, G.value.props, {
|
|
951
944
|
ref_key: "tableUnit",
|
|
952
945
|
ref: V,
|
|
953
946
|
onClose: Xe
|
|
@@ -998,10 +991,10 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
998
991
|
key: "1"
|
|
999
992
|
} : void 0
|
|
1000
993
|
]), 1040)) : y("", !0),
|
|
1001
|
-
v(R) ? (n(), M(
|
|
994
|
+
v(R) ? (n(), M(oa, { key: 8 })) : y("", !0)
|
|
1002
995
|
], 46, ya));
|
|
1003
996
|
}
|
|
1004
|
-
}, tl = /* @__PURE__ */ ma(Ra, [["__scopeId", "data-v-
|
|
997
|
+
}, tl = /* @__PURE__ */ ma(Ra, [["__scopeId", "data-v-57209d10"]]);
|
|
1005
998
|
export {
|
|
1006
999
|
tl as default
|
|
1007
1000
|
};
|
|
@@ -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-CEjkWSLj.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-
|
|
6
|
-
import { u as ol } from "./useSvgExport-
|
|
4
|
+
import { u as ll, a as rt } from "./useNestedProp-Ce3PwN8T.js";
|
|
5
|
+
import { u as al } from "./usePrinter-DJ1iH-F_.js";
|
|
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-J2dLIr8Y.js";
|
|
10
|
+
import nl from "./Title-Camz1Lce.js";
|
|
11
|
+
import { _ as nt } from "./Shape-BceHSLHf.js";
|
|
12
12
|
import { t as il } from "./themes-Dw-dDudK.js";
|
|
13
|
-
import vl from "./Legend-
|
|
13
|
+
import vl from "./Legend-By4rru90.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-VOcQEHa4.js")), ht = F(() => import("./BaseIcon-eZbszQrv.js")), yt = F(() => import("./vue-ui-accordion-VTP418mC.js")), bt = F(() => import("./DataTable-yAMEyP6y.js")), ft = F(() => import("./PenAndPaper-Bo-lMUik.js")), pt = F(() => import("./UserOptions-CSja1SGU.js")), gt = F(() => import("./PackageVersion-r-Q1R3nV.js")), mt = F(() => import("./BaseDraggableDialog-CVGErydD.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,
|