vue-data-ui 3.3.2 → 3.4.0
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-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-C0YT60JN.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-xQ7LXrxp.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-anN8VbM7.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-BGzYbrts.js} +62 -55
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-BRSqhjxm.js} +47 -47
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-k3xCwZYv.js} +145 -138
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-DMPndU1O.js} +82 -75
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-BBdrkhmg.js} +465 -435
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-DL5ioFH4.js} +115 -108
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +88 -81
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-C4Uc3DRH.js} +280 -273
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B1T10gWF.js} +118 -111
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-CA4GL9dj.js} +144 -137
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Dlp9LghX.js} +35 -35
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-BS8BCZJ3.js} +6 -6
- package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
- package/dist/vue-ui-candlestick-x9U5Ni0N.js +0 -1066
- package/dist/vue-ui-stackbar-DIUil9DO.js +0 -1442
- package/dist/vue-ui-xy-canvas-BQKR36bd.js +0 -1305
- package/dist/vue-ui-xy-tWE4H5ij.js +0 -4520
|
@@ -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
|
|
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 Qe, withCtx as b, renderSlot as g, normalizeProps as W, guardReactiveProps as U, Fragment as A, renderList as I, toDisplayString as B, Teleport as Dt, resolveDynamicComponent as Rt, mergeProps as Bt, createTextVNode as Je, nextTick as Et } from "vue";
|
|
2
|
+
import { c as ye, t as Ht, b as Wt, p as ee, o as Ke, f as Ze, g as Ut, e as Vt, h as Gt, m as jt, B as Xt, z as Yt, a9 as qt, X as Qt, M as Jt, G as et, R as te, P as Kt, Q as Zt, a as tt, d as at, H as ea } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { t as lt, u as ta } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as aa, a as ot } from "./useNestedProp-B7CiTRDS.js";
|
|
5
|
+
import { u as la } from "./usePrinter-C1GiglOH.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-CFmv95In.js";
|
|
13
|
+
import da from "./Legend-C8u37J42.js";
|
|
14
|
+
import { _ as ha } from "./Shape-BhNvlGIN.js";
|
|
15
|
+
import pa from "./img-CFY3JivG.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-Cs4v8OnI.js")), rt = P(() => import("./BaseIcon-B5KaGWWC.js")), ct = P(() => import("./vue-ui-accordion-BKkTS12x.js")), vt = P(() => import("./DataTable-DOx3zgih.js")), dt = P(() => import("./PenAndPaper-Dj2diYr0.js")), ht = P(() => import("./UserOptions-C0YT60JN.js")), pt = P(() => import("./PackageVersion-DyDViSOy.js")), mt = P(() => import("./BaseDraggableDialog-CbuLbfrc.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: Wt[t.theme] || ee
|
|
132
132
|
} : t;
|
|
133
133
|
}
|
|
134
134
|
Z(() => $.config, (t) => {
|
|
@@ -142,7 +142,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
142
142
|
});
|
|
143
143
|
const Fe = p(() => !!e.value.debug);
|
|
144
144
|
function Me() {
|
|
145
|
-
if (
|
|
145
|
+
if (Ke($.dataset) ? (Ze({
|
|
146
146
|
componentName: "VueUiParallelCoordinatePlot",
|
|
147
147
|
type: "dataset",
|
|
148
148
|
debug: Fe.value
|
|
@@ -159,9 +159,9 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
159
159
|
debug: Fe.value
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
|
-
}),
|
|
162
|
+
}), Ke($.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
|
|
@@ -215,23 +215,30 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
215
215
|
// ratio 42.85
|
|
216
216
|
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
217
217
|
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
218
|
-
}), Pe = p(() => c.value.width), Oe = p(() => c.value.height),
|
|
219
|
-
|
|
218
|
+
}), Pe = p(() => c.value.width), Oe = p(() => c.value.height), G = d(0), gt = lt((t) => {
|
|
219
|
+
G.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 {
|
|
225
232
|
chartHeight: Math.max(1e-3, l),
|
|
226
233
|
chartWidth: Math.max(1e-3, r),
|
|
227
|
-
height: Math.max(1e-3, l - t - a -
|
|
234
|
+
height: Math.max(1e-3, l - t - a - G.value - c.value.datapointFontSize * 2),
|
|
228
235
|
width: Math.max(1e-3, r - s - o),
|
|
229
|
-
top: t +
|
|
236
|
+
top: t + G.value + c.value.datapointFontSize,
|
|
230
237
|
left: s,
|
|
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 = Gt(t.color) || xt.value[o] || ee[o] || ee[o % ee.length];
|
|
256
263
|
return {
|
|
257
264
|
...t,
|
|
258
265
|
series: t.series.map((s) => ({
|
|
@@ -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,
|
|
@@ -346,11 +353,11 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
346
353
|
function q({ shape: t, serie: o, S: a }) {
|
|
347
354
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...o, shape: t }, seriesIndex: a }), w.value = null, ve.value = null;
|
|
348
355
|
}
|
|
349
|
-
function
|
|
356
|
+
function Q({ shape: t, serieName: o, serie: a, relativeIndex: s, seriesIndex: l, S: r }) {
|
|
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,
|
|
@@ -412,14 +419,14 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
412
419
|
});
|
|
413
420
|
function he(t = null) {
|
|
414
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 = Kt(l);
|
|
415
|
-
t ? t(r) :
|
|
422
|
+
t ? t(r) : Zt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
416
423
|
}
|
|
417
|
-
const
|
|
418
|
-
function
|
|
419
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, shape: o }, seriesIndex: a }),
|
|
424
|
+
const We = it;
|
|
425
|
+
function J({ serie: t, shape: o, S: a }) {
|
|
426
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, shape: o }, seriesIndex: a }), We("selectDatapoint", t);
|
|
420
427
|
}
|
|
421
|
-
function
|
|
422
|
-
|
|
428
|
+
function Ue(t) {
|
|
429
|
+
We("selectLegend", {
|
|
423
430
|
...t,
|
|
424
431
|
isSegregated: !t.isSegregated,
|
|
425
432
|
opacity: t.isSegregated ? 1 : 0.5
|
|
@@ -428,15 +435,15 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
428
435
|
function Ve() {
|
|
429
436
|
m.value.showTable = !m.value.showTable;
|
|
430
437
|
}
|
|
431
|
-
function
|
|
438
|
+
function Ge() {
|
|
432
439
|
m.value.dataLabels.show = !m.value.dataLabels.show;
|
|
433
440
|
}
|
|
434
|
-
function
|
|
441
|
+
function je() {
|
|
435
442
|
m.value.showTooltip = !m.value.showTooltip;
|
|
436
443
|
}
|
|
437
|
-
const
|
|
444
|
+
const K = d(!1);
|
|
438
445
|
function pe() {
|
|
439
|
-
|
|
446
|
+
K.value = !K.value;
|
|
440
447
|
}
|
|
441
448
|
async function Ct({ scale: t = 2 } = {}) {
|
|
442
449
|
if (!z.value) return;
|
|
@@ -464,7 +471,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
464
471
|
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
465
472
|
rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
|
|
466
473
|
});
|
|
467
|
-
const
|
|
474
|
+
const j = p(() => {
|
|
468
475
|
const t = e.value.table.useDialog && !e.value.table.show, o = m.value.showTable;
|
|
469
476
|
return {
|
|
470
477
|
component: t ? mt : ct,
|
|
@@ -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,
|
|
@@ -522,8 +529,8 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
522
529
|
generateImage: Se,
|
|
523
530
|
generateSvg: Ye,
|
|
524
531
|
toggleTable: Ve,
|
|
525
|
-
toggleLabels:
|
|
526
|
-
toggleTooltip:
|
|
532
|
+
toggleLabels: Ge,
|
|
533
|
+
toggleTooltip: je,
|
|
527
534
|
toggleAnnotator: pe,
|
|
528
535
|
toggleFullscreen: Te
|
|
529
536
|
}), (t, o) => (n(), u("div", {
|
|
@@ -540,7 +547,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
540
547
|
svgRef: v(ne),
|
|
541
548
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
542
549
|
color: e.value.style.chart.color,
|
|
543
|
-
active:
|
|
550
|
+
active: K.value,
|
|
544
551
|
onClose: pe
|
|
545
552
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
|
|
546
553
|
bt.value ? (n(), u("div", {
|
|
@@ -596,7 +603,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
596
603
|
chartElement: z.value,
|
|
597
604
|
position: e.value.userOptions.position,
|
|
598
605
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
599
|
-
isAnnotation:
|
|
606
|
+
isAnnotation: K.value,
|
|
600
607
|
callbacks: e.value.userOptions.callbacks,
|
|
601
608
|
printScale: e.value.userOptions.print.scale,
|
|
602
609
|
tableDialog: e.value.table.useDialog,
|
|
@@ -606,17 +613,17 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
606
613
|
onGenerateImage: v(Se),
|
|
607
614
|
onGenerateSvg: Ye,
|
|
608
615
|
onToggleTable: Ve,
|
|
609
|
-
onToggleLabels:
|
|
610
|
-
onToggleTooltip:
|
|
616
|
+
onToggleLabels: Ge,
|
|
617
|
+
onToggleTooltip: je,
|
|
611
618
|
onToggleAnnotator: pe,
|
|
612
619
|
style: F({
|
|
613
620
|
visibility: v(_e) ? v(se) ? "visible" : "hidden" : "visible"
|
|
614
621
|
})
|
|
615
|
-
},
|
|
622
|
+
}, Qe({ _: 2 }, [
|
|
616
623
|
t.$slots.menuIcon ? {
|
|
617
624
|
name: "menuIcon",
|
|
618
625
|
fn: b(({ isOpen: a, color: s }) => [
|
|
619
|
-
g(t.$slots, "menuIcon", U(
|
|
626
|
+
g(t.$slots, "menuIcon", W(U({ isOpen: a, color: s })), void 0, !0)
|
|
620
627
|
]),
|
|
621
628
|
key: "0"
|
|
622
629
|
} : void 0,
|
|
@@ -658,14 +665,14 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
658
665
|
t.$slots.optionFullscreen ? {
|
|
659
666
|
name: "optionFullscreen",
|
|
660
667
|
fn: b(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
661
|
-
g(t.$slots, "optionFullscreen", U(
|
|
668
|
+
g(t.$slots, "optionFullscreen", W(U({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
662
669
|
]),
|
|
663
670
|
key: "6"
|
|
664
671
|
} : void 0,
|
|
665
672
|
t.$slots.optionAnnotator ? {
|
|
666
673
|
name: "optionAnnotator",
|
|
667
674
|
fn: b(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
668
|
-
g(t.$slots, "optionAnnotator", U(
|
|
675
|
+
g(t.$slots, "optionAnnotator", W(U({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
669
676
|
]),
|
|
670
677
|
key: "7"
|
|
671
678
|
} : void 0
|
|
@@ -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(Qt),
|
|
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}`)
|
|
@@ -737,7 +744,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
737
744
|
"font-size": c.value.axisNameFontSize,
|
|
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
|
-
transform: `translate(${h.value.left + C.value * s + C.value / 2}, ${
|
|
747
|
+
transform: `translate(${h.value.left + C.value * s + C.value / 2}, ${G.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
|
|
741
748
|
innerHTML: v(Jt)({
|
|
742
749
|
content: String(a.name),
|
|
743
750
|
fontSize: c.value.axisNameFontSize,
|
|
@@ -752,7 +759,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
752
759
|
"font-size": c.value.axisNameFontSize,
|
|
753
760
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
754
761
|
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
755
|
-
transform: `translate(${h.value.left + C.value * s + C.value / 2}, ${
|
|
762
|
+
transform: `translate(${h.value.left + C.value * s + C.value / 2}, ${G.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
|
|
756
763
|
}, B(a.name), 9, $a))
|
|
757
764
|
], 64))), 256))
|
|
758
765
|
], 512)) : y("", !0),
|
|
@@ -766,7 +773,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
766
773
|
radius: a.shape === "triangle" ? c.value.plotSize * 1.2 : c.value.plotSize,
|
|
767
774
|
stroke: e.value.style.chart.backgroundColor,
|
|
768
775
|
strokeWidth: 0.5,
|
|
769
|
-
onMouseenter: (x) =>
|
|
776
|
+
onMouseenter: (x) => Q({
|
|
770
777
|
shape: a.shape,
|
|
771
778
|
serieName: a.name,
|
|
772
779
|
serie: l,
|
|
@@ -776,7 +783,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
776
783
|
}),
|
|
777
784
|
onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
|
|
778
785
|
style: F(`opacity:${w.value ? w.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
779
|
-
onClick: () =>
|
|
786
|
+
onClick: () => J({ serie: l, shape: a.shape, S: s })
|
|
780
787
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
|
|
781
788
|
m.value.showTooltip ? y("", !0) : (n(), u(A, { key: 0 }, [
|
|
782
789
|
w.value && w.value === l.id && l.datapoints.length ? (n(), u("text", {
|
|
@@ -814,7 +821,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
814
821
|
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
815
822
|
class: X({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !v(R) }),
|
|
816
823
|
"font-size": c.value.datapointFontSize,
|
|
817
|
-
onMouseenter: (x) =>
|
|
824
|
+
onMouseenter: (x) => Q({
|
|
818
825
|
shape: a.shape,
|
|
819
826
|
serieName: a.name,
|
|
820
827
|
serie: l,
|
|
@@ -823,7 +830,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
823
830
|
S: s
|
|
824
831
|
}),
|
|
825
832
|
onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
|
|
826
|
-
onClick: () =>
|
|
833
|
+
onClick: () => J({ serie: l, shape: a.shape, S: s }),
|
|
827
834
|
style: F(`opacity:${w.value ? w.value === l.id ? 1 : 0.2 : 1}`)
|
|
828
835
|
}, B(Ee({ value: i.value, index: T, datapoint: i })), 47, Na))), 256)) : y("", !0),
|
|
829
836
|
N("path", {
|
|
@@ -832,7 +839,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
832
839
|
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
833
840
|
fill: "none",
|
|
834
841
|
class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(R) }),
|
|
835
|
-
onMouseenter: (i) =>
|
|
842
|
+
onMouseenter: (i) => Q({
|
|
836
843
|
shape: a.shape,
|
|
837
844
|
serieName: a.name,
|
|
838
845
|
serie: l,
|
|
@@ -841,7 +848,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
841
848
|
S: s
|
|
842
849
|
}),
|
|
843
850
|
onMouseleave: (i) => q({ serie: l, shape: a.shape, S: s }),
|
|
844
|
-
onClick: () =>
|
|
851
|
+
onClick: () => J({ serie: l, shape: a.shape, S: s }),
|
|
845
852
|
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}`)
|
|
846
853
|
}, null, 46, Ia),
|
|
847
854
|
m.value.showTooltip ? (n(), u("path", {
|
|
@@ -851,7 +858,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
851
858
|
"stroke-width": 12,
|
|
852
859
|
fill: "none",
|
|
853
860
|
class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(R) }),
|
|
854
|
-
onMouseenter: (i) =>
|
|
861
|
+
onMouseenter: (i) => Q({
|
|
855
862
|
shape: a.shape,
|
|
856
863
|
serieName: a.name,
|
|
857
864
|
serie: l,
|
|
@@ -860,7 +867,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
860
867
|
S: s
|
|
861
868
|
}),
|
|
862
869
|
onMouseleave: (i) => q({ serie: l, shape: a.shape, S: s }),
|
|
863
|
-
onClick: () =>
|
|
870
|
+
onClick: () => J({ serie: l, shape: a.shape, S: s }),
|
|
864
871
|
style: { opacity: "0" }
|
|
865
872
|
}, null, 42, La)) : y("", !0)
|
|
866
873
|
]))), 256))
|
|
@@ -868,12 +875,12 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
868
875
|
g(t.$slots, "svg", { svg: h.value }, void 0, !0)
|
|
869
876
|
], 14, ba)),
|
|
870
877
|
t.$slots.watermark ? (n(), u("div", Sa, [
|
|
871
|
-
g(t.$slots, "watermark", U(
|
|
878
|
+
g(t.$slots, "watermark", W(U({ isPrinting: v(Ne) || v(Ie) })), void 0, !0)
|
|
872
879
|
])) : y("", !0),
|
|
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
|
}, [
|
|
@@ -886,13 +893,13 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
886
893
|
legendSet: Re.value,
|
|
887
894
|
config: kt.value,
|
|
888
895
|
onClickMarker: o[0] || (o[0] = ({ legend: a }) => {
|
|
889
|
-
De(a.id),
|
|
896
|
+
De(a.id), Ue(a);
|
|
890
897
|
})
|
|
891
898
|
}, {
|
|
892
899
|
item: b(({ legend: a, index: s }) => [
|
|
893
900
|
N("div", {
|
|
894
901
|
onClick: (l) => {
|
|
895
|
-
a.segregate(),
|
|
902
|
+
a.segregate(), Ue(a);
|
|
896
903
|
},
|
|
897
904
|
style: F(`opacity:${_.value.includes(a.id) ? 0.5 : 1}`)
|
|
898
905
|
}, B(a.name), 13, Oa)
|
|
@@ -933,18 +940,18 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
933
940
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
934
941
|
}, {
|
|
935
942
|
"tooltip-before": b(() => [
|
|
936
|
-
g(t.$slots, "tooltip-before", U(
|
|
943
|
+
g(t.$slots, "tooltip-before", W(U({ ...ce.value })), void 0, !0)
|
|
937
944
|
]),
|
|
938
945
|
"tooltip-after": b(() => [
|
|
939
|
-
g(t.$slots, "tooltip-after", U(
|
|
946
|
+
g(t.$slots, "tooltip-after", W(U({ ...ce.value })), void 0, !0)
|
|
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(j.value.component), Bt({ key: 7 }, j.value.props, {
|
|
944
951
|
ref_key: "tableUnit",
|
|
945
952
|
ref: V,
|
|
946
953
|
onClose: Xe
|
|
947
|
-
}),
|
|
954
|
+
}), Qe({
|
|
948
955
|
content: b(() => [
|
|
949
956
|
(n(), M(v(vt), {
|
|
950
957
|
key: `table_${Ae.value}`,
|
|
@@ -952,7 +959,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
952
959
|
head: H.value.head,
|
|
953
960
|
body: H.value.body,
|
|
954
961
|
config: H.value.config,
|
|
955
|
-
title: e.value.table.useDialog ? "" :
|
|
962
|
+
title: e.value.table.useDialog ? "" : j.value.title,
|
|
956
963
|
withCloseButton: !e.value.table.useDialog,
|
|
957
964
|
onClose: Xe
|
|
958
965
|
}, {
|
|
@@ -960,7 +967,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
960
967
|
N("div", { innerHTML: a }, null, 8, Da)
|
|
961
968
|
]),
|
|
962
969
|
td: b(({ td: a }) => [
|
|
963
|
-
|
|
970
|
+
Je(B(a), 1)
|
|
964
971
|
]),
|
|
965
972
|
_: 1
|
|
966
973
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -970,7 +977,7 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
970
977
|
e.value.table.useDialog ? {
|
|
971
978
|
name: "title",
|
|
972
979
|
fn: b(() => [
|
|
973
|
-
|
|
980
|
+
Je(B(j.value.title), 1)
|
|
974
981
|
]),
|
|
975
982
|
key: "0"
|
|
976
983
|
} : void 0,
|
|
@@ -984,17 +991,17 @@ const ya = ["id"], fa = ["id"], ba = ["xmlns", "viewBox"], ga = ["x", "y", "widt
|
|
|
984
991
|
}, [
|
|
985
992
|
me(v(rt), {
|
|
986
993
|
name: "excel",
|
|
987
|
-
stroke:
|
|
994
|
+
stroke: j.value.props.color
|
|
988
995
|
}, null, 8, ["stroke"])
|
|
989
996
|
])
|
|
990
997
|
]),
|
|
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,
|
|
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, aa as Ht, a as R, d as P, X as It, s as re, i as Et, ab as Ut, M as Gt, J as Qt, P as Jt, Q as jt, G as Zt, H as Kt } from "./lib-BcBZIm6u.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-B7CiTRDS.js";
|
|
5
|
+
import { u as al } from "./usePrinter-C1GiglOH.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-CFY3JivG.js";
|
|
10
|
+
import nl from "./Title-CFmv95In.js";
|
|
11
|
+
import { _ as nt } from "./Shape-BhNvlGIN.js";
|
|
12
12
|
import { t as il } from "./themes-Dw-dDudK.js";
|
|
13
|
-
import vl from "./Legend-
|
|
13
|
+
import vl from "./Legend-C8u37J42.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-Cs4v8OnI.js")), ht = F(() => import("./BaseIcon-B5KaGWWC.js")), yt = F(() => import("./vue-ui-accordion-BKkTS12x.js")), bt = F(() => import("./DataTable-DOx3zgih.js")), ft = F(() => import("./PenAndPaper-Dj2diYr0.js")), pt = F(() => import("./UserOptions-C0YT60JN.js")), gt = F(() => import("./PackageVersion-DyDViSOy.js")), mt = F(() => import("./BaseDraggableDialog-CbuLbfrc.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,
|