vue-data-ui 3.9.22 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -57
- package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-BHlNyA0A.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-DtXe9QC_.js → BaseIcon-4uOct8re.js} +29 -22
- package/dist/{BaseZoomControls-Dp7lD8dn.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-CnWVxKGw.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-BriHstj2.js → DataTable-DyoDzNNY.js} +16 -16
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7GKy0EX.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-DS0AcLc9.js → PackageVersion-D6MO5wwI.js} +1 -1
- package/dist/{PenAndPaper-DBbQVgYt.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-CdBkrOVw.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-DAWQCjXt.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B7pkWzTi.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-CEsHe7Td.js → UserOptions-CX7Xsusk.js} +7 -7
- 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-bump.js +5 -0
- 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-dag.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-geo.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-stackline.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-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +218 -6
- package/dist/types/vue-ui-bump.d.ts +16 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-gqRzbKJy.js → useNestedProp-Ckf_2P_V.js} +271 -163
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-nqF_cACH.js → vue-data-ui-BzP8Tvow.js} +79 -77
- package/dist/vue-data-ui.js +90 -88
- package/dist/{vue-ui-3d-bar-DmrhwUsA.js → vue-ui-3d-bar-CHeF8XHm.js} +222 -218
- package/dist/{vue-ui-accordion-CDvNAvXX.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C0hgxDIF.js → vue-ui-age-pyramid-CJSA_Lp7.js} +177 -173
- package/dist/{vue-ui-annotator-koqMAb87.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-BXJCZyhh.js → vue-ui-bullet-BGO-5x4w.js} +135 -131
- package/dist/vue-ui-bump-Ds8aQyR-.js +1006 -0
- package/dist/{vue-ui-candlestick-3YdnfK3I.js → vue-ui-candlestick-Chk1Rxwa.js} +304 -300
- package/dist/{vue-ui-carousel-table-5pBU7CnX.js → vue-ui-carousel-table-BX4wS5vL.js} +4 -4
- package/dist/{vue-ui-chestnut-BmjwbHgq.js → vue-ui-chestnut-DRGQVzIZ.js} +326 -322
- package/dist/{vue-ui-chord-C_2QTHYi.js → vue-ui-chord-CzS4uqvo.js} +171 -167
- package/dist/{vue-ui-circle-pack-BeHZwuM4.js → vue-ui-circle-pack-CTo8Eihw.js} +162 -158
- package/dist/{vue-ui-cursor-YR7_jEcG.js → vue-ui-cursor-DQ1eQR4G.js} +3 -3
- package/dist/{vue-ui-dag-h6p8aZFf.js → vue-ui-dag-Vw67oxw7.js} +451 -447
- package/dist/{vue-ui-dashboard-Cl6Jnf6s.js → vue-ui-dashboard-CBX0gXdp.js} +68 -68
- package/dist/{vue-ui-digits-bUDar5q1.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-n-wyE9bw.js → vue-ui-donut-8T6Nmsxq.js} +467 -463
- package/dist/{vue-ui-donut-evolution-DoQwbNv4.js → vue-ui-donut-evolution-C2QW-9s6.js} +354 -350
- package/dist/{vue-ui-dumbbell-BWEAHSG8.js → vue-ui-dumbbell-Bn9pd4ij.js} +240 -236
- package/dist/{vue-ui-flow-CRgC7Mlx.js → vue-ui-flow-LxJoqDKq.js} +171 -167
- package/dist/{vue-ui-funnel-CfIPZ_zB.js → vue-ui-funnel-Dijfg4TW.js} +133 -129
- package/dist/{vue-ui-galaxy-Cp_rz8IL.js → vue-ui-galaxy-J7ABN21x.js} +146 -142
- package/dist/{vue-ui-gauge-DjJ8LiGL.js → vue-ui-gauge-DAUj4HG5.js} +175 -171
- package/dist/{vue-ui-geo-DUa0LJdd.js → vue-ui-geo-DZIQ7n5z.js} +123 -119
- package/dist/{vue-ui-gizmo-DDMnc-mn.js → vue-ui-gizmo-iP8kliCe.js} +3 -3
- package/dist/{vue-ui-heatmap-Bu78wjql.js → vue-ui-heatmap-BzJ9NhwA.js} +231 -227
- package/dist/{vue-ui-history-plot-I7RFpR4m.js → vue-ui-history-plot-CiKEQ6JR.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-B76RcVtC.js → vue-ui-horizontal-bar-HXGUUZ4g.js} +325 -321
- package/dist/{vue-ui-kpi-CnmyYRvK.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-DVEVYQd5.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-B0EQor9C.js → vue-ui-molecule-BOOgtokk.js} +183 -179
- package/dist/{vue-ui-mood-radar-BXHszrJ5.js → vue-ui-mood-radar-DZzGx5Dp.js} +162 -158
- package/dist/{vue-ui-nested-donuts-Cs09jqNS.js → vue-ui-nested-donuts-BA1-O-gB.js} +178 -174
- package/dist/{vue-ui-onion-Cd4M3NhO.js → vue-ui-onion-thpUoiBE.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-B3jKFKQp.js → vue-ui-parallel-coordinate-plot-DR3Ipc9q.js} +195 -191
- package/dist/{vue-ui-quadrant-BGdcyL_G.js → vue-ui-quadrant-CmCVv7Io.js} +243 -239
- package/dist/{vue-ui-quick-chart-RISnAtAO.js → vue-ui-quick-chart-D7CQqjbb.js} +295 -291
- package/dist/{vue-ui-radar-CiyUH5vY.js → vue-ui-radar-C5BYiNeE.js} +168 -164
- package/dist/{vue-ui-rating-CTN4-Xx3.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-GJ2m1KJi.js → vue-ui-relation-circle-BkWUI7cy.js} +185 -181
- package/dist/vue-ui-ridgeline-CokXNDQ5.js +1306 -0
- package/dist/{vue-ui-rings-DStX7GN9.js → vue-ui-rings-COs-uwPW.js} +299 -295
- package/dist/{vue-ui-scatter-C06XR1wk.js → vue-ui-scatter-od9j3nbg.js} +354 -350
- package/dist/{vue-ui-skeleton-BhhCaDDt.js → vue-ui-skeleton-199nlzz-.js} +3 -3
- package/dist/{vue-ui-smiley-CxVaJpm8.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-D0C6wQaQ.js → vue-ui-spark-trend-CCh-2vX7.js} +120 -116
- package/dist/{vue-ui-sparkbar-BdiOrr_4.js → vue-ui-sparkbar-TotwU9iC.js} +84 -80
- package/dist/{vue-ui-sparkgauge-Bn69Wf48.js → vue-ui-sparkgauge-ma4q7p0M.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-B2igFeIs.js → vue-ui-sparkhistogram-DkkFMKuS.js} +109 -105
- package/dist/{vue-ui-sparkline-0VCC5bBB.js → vue-ui-sparkline-B9SwcngG.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DXNNFyVU.js → vue-ui-sparkstackbar-DYz-Vson.js} +99 -95
- package/dist/{vue-ui-stackbar-O6Qnmp0y.js → vue-ui-stackbar-C_Tl2URC.js} +376 -372
- package/dist/{vue-ui-stackline-DXR5bwam.js → vue-ui-stackline-CXpElu5C.js} +347 -343
- package/dist/{vue-ui-strip-plot-Dbkd9HLL.js → vue-ui-strip-plot-DzcjpnIg.js} +248 -244
- package/dist/{vue-ui-table-CY9ofQw5.js → vue-ui-table-D_TQyQhl.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Cl927pNj.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-JdC2NOYh.js → vue-ui-table-sparkline-CF5BnI-6.js} +174 -170
- package/dist/{vue-ui-thermometer-9e1IkvL9.js → vue-ui-thermometer-BmmwTeyy.js} +133 -129
- package/dist/{vue-ui-timer-C85qvi3A.js → vue-ui-timer-Bffy4n-P.js} +5 -5
- package/dist/{vue-ui-tiremarks-Dvynr7Ca.js → vue-ui-tiremarks-pMFoFCHr.js} +156 -152
- package/dist/{vue-ui-treemap-B2d4oGJZ.js → vue-ui-treemap-DSaqUKWM.js} +161 -157
- package/dist/{vue-ui-waffle-B3NfAP3B.js → vue-ui-waffle-BavDRJin.js} +185 -181
- package/dist/{vue-ui-wheel-Cti5RCaK.js → vue-ui-wheel-toELK-fC.js} +125 -121
- package/dist/{vue-ui-word-cloud-BGyunVJT.js → vue-ui-word-cloud-DCTGuXdW.js} +179 -175
- package/dist/{vue-ui-world-BjGu6FvN.js → vue-ui-world-7QFSvpGk.js} +6 -6
- package/dist/{vue-ui-xy-BC1zUOGw.js → vue-ui-xy-CTJtVYBG.js} +697 -693
- package/dist/{vue-ui-xy-canvas-ks3CRcLY.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BAukx7WE.js +0 -1302
|
@@ -1,40 +1,44 @@
|
|
|
1
|
-
import { defineAsyncComponent as L, computed as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as st, 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
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { _ as
|
|
15
|
-
import
|
|
16
|
-
import { _ as
|
|
17
|
-
const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, yAxis: { stroke: "#5A5A5A", labels: { axisNamesColor: "#CCCCCC", ticks: { color: "#CCCCCC" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } },
|
|
1
|
+
import { defineAsyncComponent as L, computed as b, ref as v, toRefs as Xt, watch as ee, shallowRef as Ke, onMounted as Yt, onBeforeUnmount as qt, watchEffect as Jt, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as S, normalizeClass as X, createBlock as D, createCommentVNode as g, createElementVNode as I, createVNode as be, withCtx as h, renderSlot as p, normalizeProps as T, guardReactiveProps as z, createSlots as Qe, Fragment as w, renderList as P, toDisplayString as U, Teleport as Kt, resolveDynamicComponent as Qt, mergeProps as Zt, createTextVNode as Ze, nextTick as ea } from "vue";
|
|
2
|
+
import { c as me, t as ta, i as aa, j as te, o as et, g as tt, l as oa, k as la, m as sa, N as na, C as ra, A as ia, ah as ua, X as ca, $ as da, y as at, a2 as ae, v as va, r as ha, a as ot, d as lt, _ as pa } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as st, u as fa } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as ba, a as ge } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as ma } from "./usePrinter-1NmjuP-i.js";
|
|
6
|
+
import { u as ga, B as ya } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
+
import { u as Ca } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as ka } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as Aa } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as xa } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import { u as wa } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
|
+
import $a from "./Title-NgeRXqRA.js";
|
|
13
|
+
import Fa from "./Legend-DN5UJOBH.js";
|
|
14
|
+
import { _ as Ta } from "./Shape-PzdCMGsP.js";
|
|
15
|
+
import za from "./img-6fNF_rG0.js";
|
|
16
|
+
import { _ as Na } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const nt = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 } } } }, rt = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" }, yAxis: { stroke: "#5A5A5A", labels: { axisNamesColor: "#CCCCCC", ticks: { color: "#CCCCCC" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, it = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, yAxis: { stroke: "#5A5A5A", labels: { axisNamesColor: "#CCCCCC", ticks: { color: "#CCCCCC" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, ut = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, yAxis: { stroke: "#5D4037", labels: { axisNamesColor: "#424242", ticks: { color: "#424242" } } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, ct = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, yAxis: { stroke: "#5D4037", labels: { axisNamesColor: "#BDBDBD", ticks: { color: "#BDBDBD" } } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, dt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66", borderRadius: 0 }, yAxis: { stroke: "#3A3A3A", labels: { axisNamesColor: "#99AA99", ticks: { color: "#5A5A5A" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, vt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, yAxis: { stroke: "#8F837A", labels: { axisNamesColor: "#8F837A", ticks: { color: "#8F837A" } } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, ht = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, yAxis: { stroke: "#50606C", labels: { axisNamesColor: "#50606C", ticks: { color: "#50606C" } } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, pt = {
|
|
18
18
|
default: {},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
minimal: nt,
|
|
20
|
+
minimalDark: rt,
|
|
21
|
+
dark: it,
|
|
22
|
+
celebration: ut,
|
|
23
|
+
celebrationNight: ct,
|
|
24
|
+
hack: dt,
|
|
25
|
+
zen: vt,
|
|
26
|
+
concrete: ht
|
|
27
|
+
}, mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26
28
|
__proto__: null,
|
|
27
|
-
celebration:
|
|
28
|
-
celebrationNight:
|
|
29
|
-
concrete:
|
|
30
|
-
dark:
|
|
31
|
-
default:
|
|
32
|
-
hack:
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
celebration: ut,
|
|
30
|
+
celebrationNight: ct,
|
|
31
|
+
concrete: ht,
|
|
32
|
+
dark: it,
|
|
33
|
+
default: pt,
|
|
34
|
+
hack: dt,
|
|
35
|
+
minimal: nt,
|
|
36
|
+
minimalDark: rt,
|
|
37
|
+
zen: vt
|
|
38
|
+
}, Symbol.toStringTag, { value: "Module" })), _a = ["id"], Ma = ["id"], Sa = ["xmlns", "viewBox"], Da = ["x", "y", "width", "height"], Ia = { style: { "pointer-events": "none" } }, Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], La = { key: 0 }, Ba = ["x", "y", "fill", "font-size", "font-weight"], Ea = ["fill", "font-size", "font-weight", "text-anchor", "transform"], Ra = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], Ua = { key: 0 }, Ha = ["x", "y", "font-size", "fill"], Wa = ["width", "x", "y"], ja = { style: { width: "100%" } }, Va = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], Ga = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Xa = ["d", "onMouseenter", "onMouseleave", "onClick"], Ya = {
|
|
35
39
|
key: 4,
|
|
36
40
|
class: "vue-data-ui-watermark"
|
|
37
|
-
},
|
|
41
|
+
}, qa = ["id"], Ja = ["onClick"], Ka = ["innerHTML"], Qa = {
|
|
38
42
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
39
43
|
props: {
|
|
40
44
|
config: {
|
|
@@ -51,25 +55,25 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
51
55
|
}
|
|
52
56
|
},
|
|
53
57
|
emits: ["selectLegend", "selectDatapoint"],
|
|
54
|
-
setup(
|
|
55
|
-
const
|
|
58
|
+
setup(ft, { expose: bt, emit: mt }) {
|
|
59
|
+
const gt = L(() => import("./Tooltip-B6qvABDL.js")), yt = L(() => import("./BaseIcon-4uOct8re.js")), Ct = L(() => import("./vue-ui-accordion-DFKaB_05.js")), kt = L(() => import("./DataTable-DyoDzNNY.js")), At = L(() => import("./PenAndPaper-LTuSTmWE.js")), xt = L(() => import("./UserOptions-CX7Xsusk.js")), wt = L(() => import("./PackageVersion-D6MO5wwI.js")), $t = L(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_parallel_coordinate_plot: Ft } = ba(), { isThemeValid: Tt, warnInvalidTheme: zt } = ka(), $ = ft, Y = b({
|
|
56
60
|
get() {
|
|
57
61
|
return !!$.dataset && $.dataset.length;
|
|
58
62
|
},
|
|
59
63
|
set(t) {
|
|
60
64
|
return t;
|
|
61
65
|
}
|
|
62
|
-
}), ye =
|
|
66
|
+
}), ye = v(0), M = v(null), Ce = v(null), ke = v(null), Ae = v(null), xe = v(null), we = v(0), $e = v(0), Fe = v(0), Te = v(!1), j = v(null), oe = v(null), le = v(null), B = v(me()), E = v(!1);
|
|
63
67
|
function ze(t) {
|
|
64
68
|
E.value = t, ye.value += 1;
|
|
65
69
|
}
|
|
66
|
-
const e =
|
|
67
|
-
...
|
|
70
|
+
const e = v(ie()), { loading: R, FINAL_DATASET: Nt, manualLoading: se } = ga({
|
|
71
|
+
...Xt($),
|
|
68
72
|
FINAL_CONFIG: e,
|
|
69
73
|
prepareConfig: ie,
|
|
70
74
|
callback: () => {
|
|
71
75
|
Promise.resolve().then(async () => {
|
|
72
|
-
await
|
|
76
|
+
await ea(), m.value.showTable = e.value.table.show;
|
|
73
77
|
});
|
|
74
78
|
},
|
|
75
79
|
skeletonDataset: [
|
|
@@ -107,7 +111,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
107
111
|
]
|
|
108
112
|
}
|
|
109
113
|
],
|
|
110
|
-
skeletonConfig:
|
|
114
|
+
skeletonConfig: ta({
|
|
111
115
|
defaultConfig: e.value,
|
|
112
116
|
userConfig: {
|
|
113
117
|
useCssAnimation: !1,
|
|
@@ -134,17 +138,17 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
134
138
|
}
|
|
135
139
|
}
|
|
136
140
|
})
|
|
137
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility: Ne, keepUserOptionState: _e } =
|
|
141
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: Ne, keepUserOptionState: _e } = Aa({ config: e.value }), { svgRef: re } = xa({ config: e.value.style.chart.title });
|
|
138
142
|
function ie() {
|
|
139
143
|
const t = ge({
|
|
140
144
|
userConfig: $.config,
|
|
141
|
-
defaultConfig:
|
|
145
|
+
defaultConfig: Ft
|
|
142
146
|
}), o = t.theme;
|
|
143
147
|
if (!o) return t;
|
|
144
|
-
if (
|
|
145
|
-
return
|
|
148
|
+
if (!Tt.value(t))
|
|
149
|
+
return zt(t), t;
|
|
146
150
|
const a = ge({
|
|
147
|
-
userConfig:
|
|
151
|
+
userConfig: pt[o] || $.config,
|
|
148
152
|
defaultConfig: t
|
|
149
153
|
}), s = ge({
|
|
150
154
|
userConfig: $.config,
|
|
@@ -152,26 +156,26 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
152
156
|
});
|
|
153
157
|
return {
|
|
154
158
|
...s,
|
|
155
|
-
customPalette: s.customPalette.length ? s.customPalette :
|
|
159
|
+
customPalette: s.customPalette.length ? s.customPalette : aa[o] || te
|
|
156
160
|
};
|
|
157
161
|
}
|
|
158
162
|
ee(() => $.config, (t) => {
|
|
159
|
-
R.value || (e.value = ie()), ne.value = !e.value.userOptions.showOnChartHover, Se(), we.value += 1, Fe.value += 1, $e.value += 1,
|
|
163
|
+
R.value || (e.value = ie()), ne.value = !e.value.userOptions.showOnChartHover, Se(), we.value += 1, Fe.value += 1, $e.value += 1, m.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
160
164
|
}, { deep: !0 }), ee(() => $.dataset, (t) => {
|
|
161
165
|
Array.isArray(t) && t.length > 0 && (se.value = !1);
|
|
162
166
|
}, { deep: !0 });
|
|
163
167
|
const O = Ke(null), H = Ke(null);
|
|
164
|
-
|
|
168
|
+
Yt(() => {
|
|
165
169
|
Te.value = !0, Se();
|
|
166
170
|
});
|
|
167
|
-
const Me =
|
|
171
|
+
const Me = b(() => !!e.value.debug);
|
|
168
172
|
function Se() {
|
|
169
173
|
if (et($.dataset) ? (tt({
|
|
170
174
|
componentName: "VueUiParallelCoordinatePlot",
|
|
171
175
|
type: "dataset",
|
|
172
176
|
debug: Me.value
|
|
173
177
|
}), se.value = !0) : $.dataset.forEach((t, o) => {
|
|
174
|
-
|
|
178
|
+
oa({
|
|
175
179
|
datasetObject: t,
|
|
176
180
|
requiredAttributes: ["name", "series"]
|
|
177
181
|
}).forEach((a) => {
|
|
@@ -185,12 +189,12 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
185
189
|
});
|
|
186
190
|
}), et($.dataset) || (se.value = e.value.loading), e.value.responsive) {
|
|
187
191
|
const t = st(() => {
|
|
188
|
-
const { width: o, height: a } =
|
|
192
|
+
const { width: o, height: a } = fa({
|
|
189
193
|
chart: M.value,
|
|
190
194
|
title: e.value.style.chart.title.text ? Ce.value : null,
|
|
191
195
|
legend: e.value.style.chart.legend.show ? ke.value : null,
|
|
192
|
-
source:
|
|
193
|
-
noTitle:
|
|
196
|
+
source: Ae.value,
|
|
197
|
+
noTitle: xe.value
|
|
194
198
|
});
|
|
195
199
|
requestAnimationFrame(() => {
|
|
196
200
|
c.value.width = o, c.value.height = a - 12, e.value.responsiveProportionalSizing ? (c.value.plotSize = ae({
|
|
@@ -223,14 +227,14 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
223
227
|
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect()), O.value = new ResizeObserver(t), H.value = M.value.parentNode, O.value.observe(H.value);
|
|
224
228
|
}
|
|
225
229
|
}
|
|
226
|
-
|
|
230
|
+
qt(() => {
|
|
227
231
|
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect());
|
|
228
232
|
});
|
|
229
|
-
const { isPrinting: De, isImaging: Ie, generatePdf: Pe, generateImage: Oe } =
|
|
233
|
+
const { isPrinting: De, isImaging: Ie, generatePdf: Pe, generateImage: Oe } = ma({
|
|
230
234
|
elementId: `pcp_${B.value}`,
|
|
231
235
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
232
236
|
options: e.value.userOptions.print
|
|
233
|
-
}),
|
|
237
|
+
}), _t = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), c = v({
|
|
234
238
|
height: e.value.style.chart.height,
|
|
235
239
|
width: e.value.style.chart.width,
|
|
236
240
|
plotSize: e.value.style.chart.plots.radius,
|
|
@@ -239,18 +243,18 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
239
243
|
// ratio 42.85
|
|
240
244
|
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
241
245
|
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
242
|
-
}), Le =
|
|
246
|
+
}), Le = b(() => c.value.width), Be = b(() => c.value.height), V = v(0), Mt = st((t) => {
|
|
243
247
|
V.value = t;
|
|
244
248
|
}, 100);
|
|
245
|
-
|
|
249
|
+
Jt((t) => {
|
|
246
250
|
const o = le.value;
|
|
247
251
|
if (!o) return;
|
|
248
252
|
const a = new ResizeObserver((s) => {
|
|
249
|
-
|
|
253
|
+
Mt(s[0].contentRect.height);
|
|
250
254
|
});
|
|
251
255
|
a.observe(o), t(() => a.disconnect());
|
|
252
256
|
});
|
|
253
|
-
const f =
|
|
257
|
+
const f = b(() => {
|
|
254
258
|
const { top: t, right: o, bottom: a, left: s } = e.value.style.chart.padding, l = Be.value, u = Le.value;
|
|
255
259
|
return {
|
|
256
260
|
chartHeight: Math.max(1e-3, l),
|
|
@@ -262,7 +266,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
262
266
|
right: u - o,
|
|
263
267
|
bottom: l - a - c.value.datapointFontSize
|
|
264
268
|
};
|
|
265
|
-
}),
|
|
269
|
+
}), St = b(() => la(e.value.customPalette)), m = v({
|
|
266
270
|
dataLabels: {
|
|
267
271
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
268
272
|
},
|
|
@@ -270,7 +274,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
270
274
|
showTooltip: e.value.style.chart.tooltip.show
|
|
271
275
|
});
|
|
272
276
|
ee(e, () => {
|
|
273
|
-
|
|
277
|
+
m.value = {
|
|
274
278
|
dataLabels: {
|
|
275
279
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
276
280
|
},
|
|
@@ -278,22 +282,22 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
278
282
|
showTooltip: e.value.style.chart.tooltip.show
|
|
279
283
|
};
|
|
280
284
|
}, { immediate: !0 });
|
|
281
|
-
const F =
|
|
285
|
+
const F = v([]);
|
|
282
286
|
function q(t) {
|
|
283
287
|
F.value.includes(t) ? F.value = F.value.filter((o) => o !== t) : F.value.push(t);
|
|
284
288
|
}
|
|
285
|
-
const N =
|
|
286
|
-
const a =
|
|
289
|
+
const N = b(() => Nt.value.map((t, o) => {
|
|
290
|
+
const a = sa(t.color) || St.value[o] || te[o] || te[o % te.length];
|
|
287
291
|
return {
|
|
288
292
|
...t,
|
|
289
293
|
series: t.series.map((s) => ({
|
|
290
294
|
...s,
|
|
291
|
-
id:
|
|
295
|
+
id: me(),
|
|
292
296
|
color: a
|
|
293
297
|
})),
|
|
294
298
|
seriesIndex: o,
|
|
295
299
|
color: a,
|
|
296
|
-
id:
|
|
300
|
+
id: me(),
|
|
297
301
|
shape: t.shape || "circle"
|
|
298
302
|
};
|
|
299
303
|
}));
|
|
@@ -303,37 +307,37 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
303
307
|
const o = N.value.find((a) => a.name === t);
|
|
304
308
|
return o || (e.value.debug && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${t}"`), null);
|
|
305
309
|
}
|
|
306
|
-
function
|
|
310
|
+
function Dt(t) {
|
|
307
311
|
const o = Ee(t);
|
|
308
312
|
o !== null && F.value.includes(o.id) && q(o.id);
|
|
309
313
|
}
|
|
310
|
-
function
|
|
314
|
+
function It(t) {
|
|
311
315
|
const o = Ee(t);
|
|
312
316
|
o !== null && (F.value.includes(o.id) || q(o.id));
|
|
313
317
|
}
|
|
314
|
-
const Re =
|
|
318
|
+
const Re = b(() => N.value.map((t) => ({
|
|
315
319
|
...t,
|
|
316
320
|
opacity: F.value.includes(t.id) ? 0.5 : 1,
|
|
317
321
|
segregate: () => q(t.id),
|
|
318
322
|
isSegregated: F.value.includes(t.id),
|
|
319
323
|
shape: t.shape || "circle"
|
|
320
|
-
}))),
|
|
324
|
+
}))), Pt = b(() => ({
|
|
321
325
|
cy: "pcp-div-legend",
|
|
322
326
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
323
327
|
color: e.value.style.chart.legend.color,
|
|
324
328
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
325
329
|
paddingBottom: 12,
|
|
326
330
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
327
|
-
})), Ue =
|
|
331
|
+
})), Ue = b(() => Math.max(
|
|
328
332
|
...N.value.filter((t) => !F.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((o) => o.values.length)))
|
|
329
|
-
)),
|
|
333
|
+
)), x = b(() => f.value.width / Ue.value), ue = b(() => N.value.filter((t) => !F.value.includes(t.id))), y = b(() => {
|
|
330
334
|
let t = [];
|
|
331
335
|
for (let o = 0; o < Ue.value; o += 1) {
|
|
332
|
-
const a = Math.min(...ue.value.flatMap((C) => C.series.map((k) => k.values[o] || 0) || 0)), s = Math.max(...ue.value.flatMap((C) => C.series.map((k) => k.values[o] || 0) || 0)), l = s === a ? a / 4 : a, u = s === a ? s * 2 : s, r =
|
|
333
|
-
const
|
|
336
|
+
const a = Math.min(...ue.value.flatMap((C) => C.series.map((k) => k.values[o] || 0) || 0)), s = Math.max(...ue.value.flatMap((C) => C.series.map((k) => k.values[o] || 0) || 0)), l = s === a ? a / 4 : a, u = s === a ? s * 2 : s, r = na(l, u, e.value.style.chart.yAxis.scaleTicks), _ = r.ticks.map((C, k) => {
|
|
337
|
+
const Vt = r.min < 0 ? C + Math.abs(r.min) : C - Math.abs(r.min), Gt = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
|
|
334
338
|
return {
|
|
335
|
-
y: f.value.bottom - f.value.height * (
|
|
336
|
-
x: f.value.left +
|
|
339
|
+
y: f.value.bottom - f.value.height * (Vt / Gt),
|
|
340
|
+
x: f.value.left + x.value * o + x.value / 2,
|
|
337
341
|
value: C
|
|
338
342
|
};
|
|
339
343
|
});
|
|
@@ -344,7 +348,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
344
348
|
});
|
|
345
349
|
}
|
|
346
350
|
return t;
|
|
347
|
-
}), ce =
|
|
351
|
+
}), ce = b(() => ue.value.map((t, o) => ({
|
|
348
352
|
...t,
|
|
349
353
|
series: t.series.map((a, s) => ({
|
|
350
354
|
...a,
|
|
@@ -357,7 +361,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
357
361
|
datapointIndex: s,
|
|
358
362
|
seriesIndex: o,
|
|
359
363
|
value: l || 0,
|
|
360
|
-
x: f.value.left +
|
|
364
|
+
x: f.value.left + x.value * u + x.value / 2,
|
|
361
365
|
y: f.value.bottom - f.value.height * (r / _),
|
|
362
366
|
comment: a.comments && a.comments[u] || ""
|
|
363
367
|
};
|
|
@@ -366,7 +370,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
366
370
|
})).map((t) => ({
|
|
367
371
|
...t,
|
|
368
372
|
series: t.series.map((o) => {
|
|
369
|
-
const a =
|
|
373
|
+
const a = ra(o.datapoints), s = ia(o.datapoints), l = ua(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${a}`);
|
|
370
374
|
return {
|
|
371
375
|
...o,
|
|
372
376
|
smoothPath: s,
|
|
@@ -388,15 +392,15 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
388
392
|
{ datapoint: a, seriesIndex: o }
|
|
389
393
|
);
|
|
390
394
|
}
|
|
391
|
-
const
|
|
395
|
+
const A = v(null), de = v(null), ve = v(!1), he = v("");
|
|
392
396
|
function J({ shape: t, serie: o, S: a }) {
|
|
393
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...o, shape: t }, seriesIndex: a }),
|
|
397
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...o, shape: t }, seriesIndex: a }), A.value = null, ve.value = null;
|
|
394
398
|
}
|
|
395
399
|
function K({ shape: t, serieName: o, serie: a, relativeIndex: s, seriesIndex: l, S: u }) {
|
|
396
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...a, shape: t }, seriesIndex: u }),
|
|
400
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...a, shape: t }, seriesIndex: u }), de.value = { serie: a, relativeIndex: s, seriesIndex: l, series: N.value, scales: y.value }, ve.value = !0, A.value = a.id;
|
|
397
401
|
let r = "";
|
|
398
402
|
const _ = e.value.style.chart.tooltip.customFormat;
|
|
399
|
-
at(_) &&
|
|
403
|
+
at(_) && pa(() => _({
|
|
400
404
|
serie: a,
|
|
401
405
|
seriesIndex: a.seriesIndex,
|
|
402
406
|
series: N.value,
|
|
@@ -429,10 +433,10 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
429
433
|
`, e.value.style.chart.comments.showInTooltip && a.datapoints[k].comment && (r += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.datapoints[k].comment}</div>`);
|
|
430
434
|
}), he.value = `<div>${r}</div>`);
|
|
431
435
|
}
|
|
432
|
-
function
|
|
436
|
+
function Ot() {
|
|
433
437
|
return N.value;
|
|
434
438
|
}
|
|
435
|
-
const W =
|
|
439
|
+
const W = b(() => {
|
|
436
440
|
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(y.value.map((l) => l.name)), o = ce.value.flatMap((l, u) => l.series.map((r) => [l.name].concat([r.name]).concat(r.values))), a = {
|
|
437
441
|
th: {
|
|
438
442
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -452,15 +456,15 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
452
456
|
config: a,
|
|
453
457
|
colNames: s
|
|
454
458
|
};
|
|
455
|
-
}), We =
|
|
459
|
+
}), We = b(() => ce.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
|
|
456
460
|
head: W.value.head,
|
|
457
461
|
body: W.value.body
|
|
458
462
|
});
|
|
459
463
|
function pe(t = null) {
|
|
460
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = We.value.head, s = We.value.body, l = o.concat([a]).concat(s), u =
|
|
461
|
-
t ? t(u) :
|
|
464
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = We.value.head, s = We.value.body, l = o.concat([a]).concat(s), u = va(l);
|
|
465
|
+
t ? t(u) : ha({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
462
466
|
}
|
|
463
|
-
const je =
|
|
467
|
+
const je = mt;
|
|
464
468
|
function Q({ serie: t, shape: o, S: a }) {
|
|
465
469
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, shape: o }, seriesIndex: a }), je("selectDatapoint", t);
|
|
466
470
|
}
|
|
@@ -472,21 +476,21 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
472
476
|
});
|
|
473
477
|
}
|
|
474
478
|
function Ge() {
|
|
475
|
-
|
|
479
|
+
m.value.showTable = !m.value.showTable;
|
|
476
480
|
}
|
|
477
481
|
function Xe() {
|
|
478
|
-
|
|
482
|
+
m.value.dataLabels.show = !m.value.dataLabels.show;
|
|
479
483
|
}
|
|
480
484
|
function Ye() {
|
|
481
|
-
|
|
485
|
+
m.value.showTooltip = !m.value.showTooltip;
|
|
482
486
|
}
|
|
483
|
-
const Z =
|
|
487
|
+
const Z = v(!1);
|
|
484
488
|
function fe() {
|
|
485
489
|
Z.value = !Z.value;
|
|
486
490
|
}
|
|
487
|
-
async function
|
|
491
|
+
async function Lt({ scale: t = 2 } = {}) {
|
|
488
492
|
if (!M.value) return;
|
|
489
|
-
const { width: o, height: a } = M.value.getBoundingClientRect(), s = o / a, { imageUri: l, base64: u } = await
|
|
493
|
+
const { width: o, height: a } = M.value.getBoundingClientRect(), s = o / a, { imageUri: l, base64: u } = await za({ domElement: M.value, base64: !0, img: !0, scale: t });
|
|
490
494
|
return {
|
|
491
495
|
imageUri: l,
|
|
492
496
|
base64: u,
|
|
@@ -496,11 +500,11 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
496
500
|
aspectRatio: s
|
|
497
501
|
};
|
|
498
502
|
}
|
|
499
|
-
const
|
|
500
|
-
|
|
503
|
+
const Bt = v({ start: 0, end: 1 }), Et = b(() => y.value.map((t) => t.name));
|
|
504
|
+
wa({
|
|
501
505
|
timeLabelsEls: le,
|
|
502
|
-
timeLabels:
|
|
503
|
-
slicer:
|
|
506
|
+
timeLabels: Et,
|
|
507
|
+
slicer: Bt,
|
|
504
508
|
configRef: e,
|
|
505
509
|
rotationPath: ["style", "chart", "yAxis", "labels", "axisNamesRotation"],
|
|
506
510
|
autoRotatePath: ["style", "chart", "yAxis", "labels", "axisNamesAutoRotate", "enable"],
|
|
@@ -510,10 +514,10 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
510
514
|
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
511
515
|
rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
|
|
512
516
|
});
|
|
513
|
-
const G =
|
|
514
|
-
const t = e.value.table.useDialog && !e.value.table.show, o =
|
|
517
|
+
const G = b(() => {
|
|
518
|
+
const t = e.value.table.useDialog && !e.value.table.show, o = m.value.showTable;
|
|
515
519
|
return {
|
|
516
|
-
component: t ?
|
|
520
|
+
component: t ? $t : Ct,
|
|
517
521
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
518
522
|
props: t ? {
|
|
519
523
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -540,35 +544,35 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
540
544
|
}
|
|
541
545
|
};
|
|
542
546
|
});
|
|
543
|
-
ee(() =>
|
|
547
|
+
ee(() => m.value.showTable, (t) => {
|
|
544
548
|
e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
545
549
|
});
|
|
546
550
|
function qe() {
|
|
547
|
-
|
|
551
|
+
m.value.showTable = !1, oe.value && oe.value.setTableIconState(!1);
|
|
548
552
|
}
|
|
549
|
-
const
|
|
553
|
+
const Rt = b(() => e.value.style.chart.backgroundColor), Ut = b(() => e.value.style.chart.legend), Ht = b(() => e.value.style.chart.title), { exportSvg: Wt, getSvg: jt } = Ca({
|
|
550
554
|
svg: re,
|
|
551
|
-
title:
|
|
552
|
-
legend:
|
|
555
|
+
title: Ht,
|
|
556
|
+
legend: Ut,
|
|
553
557
|
legendItems: Re,
|
|
554
|
-
backgroundColor:
|
|
558
|
+
backgroundColor: Rt
|
|
555
559
|
});
|
|
556
560
|
async function Je({ isCb: t }) {
|
|
557
561
|
if (t) {
|
|
558
|
-
const { blob: o, url: a, text: s, dataUrl: l } = await
|
|
562
|
+
const { blob: o, url: a, text: s, dataUrl: l } = await jt();
|
|
559
563
|
e.value.userOptions.callbacks.svg({ blob: o, url: a, text: s, dataUrl: l });
|
|
560
564
|
} else
|
|
561
|
-
|
|
565
|
+
Wt();
|
|
562
566
|
}
|
|
563
|
-
return
|
|
564
|
-
getData:
|
|
565
|
-
getImage:
|
|
567
|
+
return bt({
|
|
568
|
+
getData: Ot,
|
|
569
|
+
getImage: Lt,
|
|
566
570
|
generateCsv: pe,
|
|
567
571
|
generatePdf: Pe,
|
|
568
572
|
generateImage: Oe,
|
|
569
573
|
generateSvg: Je,
|
|
570
|
-
hideSeries:
|
|
571
|
-
showSeries:
|
|
574
|
+
hideSeries: It,
|
|
575
|
+
showSeries: Dt,
|
|
572
576
|
toggleTable: Ge,
|
|
573
577
|
toggleLabels: Xe,
|
|
574
578
|
toggleTooltip: Ye,
|
|
@@ -580,12 +584,12 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
580
584
|
class: X(`vue-data-ui-component vue-ui-pcp ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
581
585
|
style: S(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
582
586
|
id: `pcp_${B.value}`,
|
|
583
|
-
onMouseenter: o[2] || (o[2] = () =>
|
|
584
|
-
onMouseleave: o[3] || (o[3] = () =>
|
|
587
|
+
onMouseenter: o[2] || (o[2] = () => d(Ne)(!0)),
|
|
588
|
+
onMouseleave: o[3] || (o[3] = () => d(Ne)(!1))
|
|
585
589
|
}, [
|
|
586
|
-
e.value.userOptions.buttons.annotator ? (n(), D(
|
|
590
|
+
e.value.userOptions.buttons.annotator ? (n(), D(d(At), {
|
|
587
591
|
key: 0,
|
|
588
|
-
svgRef:
|
|
592
|
+
svgRef: d(re),
|
|
589
593
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
590
594
|
color: e.value.style.chart.color,
|
|
591
595
|
active: Z.value,
|
|
@@ -611,10 +615,10 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
611
615
|
]),
|
|
612
616
|
_: 3
|
|
613
617
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
614
|
-
|
|
618
|
+
_t.value ? (n(), i("div", {
|
|
615
619
|
key: 1,
|
|
616
620
|
ref_key: "noTitle",
|
|
617
|
-
ref:
|
|
621
|
+
ref: xe,
|
|
618
622
|
class: "vue-data-ui-no-title-space",
|
|
619
623
|
style: "height:36px; width: 100%;background:transparent"
|
|
620
624
|
}, null, 512)) : g("", !0),
|
|
@@ -624,7 +628,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
624
628
|
ref: Ce,
|
|
625
629
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
626
630
|
}, [
|
|
627
|
-
(n(), D(
|
|
631
|
+
(n(), D($a, {
|
|
628
632
|
key: `title_${we.value}`,
|
|
629
633
|
config: {
|
|
630
634
|
title: {
|
|
@@ -640,15 +644,15 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
640
644
|
], 512)) : g("", !0),
|
|
641
645
|
I("div", {
|
|
642
646
|
id: `legend-top-${B.value}`
|
|
643
|
-
}, null, 8,
|
|
644
|
-
e.value.userOptions.show && Y.value && (
|
|
647
|
+
}, null, 8, Ma),
|
|
648
|
+
e.value.userOptions.show && Y.value && (d(_e) || d(ne)) ? (n(), D(d(xt), {
|
|
645
649
|
ref_key: "userOptionsRef",
|
|
646
650
|
ref: oe,
|
|
647
651
|
key: `user_options_${ye.value}`,
|
|
648
652
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
649
653
|
color: e.value.style.chart.color,
|
|
650
|
-
isPrinting:
|
|
651
|
-
isImaging:
|
|
654
|
+
isPrinting: d(De),
|
|
655
|
+
isImaging: d(Ie),
|
|
652
656
|
uid: B.value,
|
|
653
657
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
654
658
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -659,7 +663,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
659
663
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
660
664
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
661
665
|
isFullscreen: E.value,
|
|
662
|
-
isTooltip:
|
|
666
|
+
isTooltip: m.value.showTooltip,
|
|
663
667
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
664
668
|
chartElement: M.value,
|
|
665
669
|
position: e.value.userOptions.position,
|
|
@@ -669,16 +673,16 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
669
673
|
printScale: e.value.userOptions.print.scale,
|
|
670
674
|
tableDialog: e.value.table.useDialog,
|
|
671
675
|
onToggleFullscreen: ze,
|
|
672
|
-
onGeneratePdf:
|
|
676
|
+
onGeneratePdf: d(Pe),
|
|
673
677
|
onGenerateCsv: pe,
|
|
674
|
-
onGenerateImage:
|
|
678
|
+
onGenerateImage: d(Oe),
|
|
675
679
|
onGenerateSvg: Je,
|
|
676
680
|
onToggleTable: Ge,
|
|
677
681
|
onToggleLabels: Xe,
|
|
678
682
|
onToggleTooltip: Ye,
|
|
679
683
|
onToggleAnnotator: fe,
|
|
680
684
|
style: S({
|
|
681
|
-
visibility:
|
|
685
|
+
visibility: d(_e) ? d(ne) ? "visible" : "hidden" : "visible"
|
|
682
686
|
})
|
|
683
687
|
}, Qe({ _: 2 }, [
|
|
684
688
|
t.$slots.menuIcon ? {
|
|
@@ -748,12 +752,12 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
748
752
|
(n(), i("svg", {
|
|
749
753
|
ref_key: "svgRef",
|
|
750
754
|
ref: re,
|
|
751
|
-
xmlns:
|
|
755
|
+
xmlns: d(ca),
|
|
752
756
|
class: X({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
753
757
|
viewBox: `0 0 ${f.value.chartWidth <= 0 ? 10 : f.value.chartWidth} ${f.value.chartHeight <= 0 ? 10 : f.value.chartHeight}`,
|
|
754
758
|
style: S(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
755
759
|
}, [
|
|
756
|
-
|
|
760
|
+
be(d(wt)),
|
|
757
761
|
t.$slots["chart-background"] ? (n(), i("foreignObject", {
|
|
758
762
|
key: 0,
|
|
759
763
|
x: f.value.left,
|
|
@@ -765,16 +769,16 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
765
769
|
}
|
|
766
770
|
}, [
|
|
767
771
|
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
768
|
-
], 8,
|
|
769
|
-
(n(!0), i(w, null, P(y.value, (a, s) => (n(), i("g",
|
|
772
|
+
], 8, Da)) : g("", !0),
|
|
773
|
+
(n(!0), i(w, null, P(y.value, (a, s) => (n(), i("g", Ia, [
|
|
770
774
|
I("line", {
|
|
771
|
-
x1: f.value.left +
|
|
772
|
-
x2: f.value.left +
|
|
775
|
+
x1: f.value.left + x.value * s + x.value / 2,
|
|
776
|
+
x2: f.value.left + x.value * s + x.value / 2,
|
|
773
777
|
y1: f.value.top,
|
|
774
778
|
y2: f.value.bottom,
|
|
775
779
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
776
780
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth
|
|
777
|
-
}, null, 8,
|
|
781
|
+
}, null, 8, Pa),
|
|
778
782
|
e.value.style.chart.yAxis.labels.ticks.show ? (n(), i(w, { key: 0 }, [
|
|
779
783
|
(n(!0), i(w, null, P(a.ticks, (l) => (n(), i("line", {
|
|
780
784
|
x1: l.x,
|
|
@@ -783,9 +787,9 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
783
787
|
y2: l.y,
|
|
784
788
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
785
789
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
786
|
-
style: S(`opacity:${
|
|
787
|
-
}, null, 12,
|
|
788
|
-
|
|
790
|
+
style: S(`opacity:${A.value && !m.value.showTooltip ? 0.2 : 1}`)
|
|
791
|
+
}, null, 12, Oa))), 256)),
|
|
792
|
+
d(R) ? g("", !0) : (n(), i("g", La, [
|
|
789
793
|
(n(!0), i(w, null, P(a.ticks, (l) => (n(), i("text", {
|
|
790
794
|
x: l.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
791
795
|
y: l.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
|
|
@@ -793,8 +797,8 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
793
797
|
"text-anchor": "end",
|
|
794
798
|
"font-size": c.value.ticksFontSize,
|
|
795
799
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
796
|
-
style: S(`opacity:${
|
|
797
|
-
}, U(He({ value: l.value, index: s, datapoint: l })), 13,
|
|
800
|
+
style: S(`opacity:${A.value && !m.value.showTooltip ? 0.2 : 1}`)
|
|
801
|
+
}, U(He({ value: l.value, index: s, datapoint: l })), 13, Ba))), 256))
|
|
798
802
|
]))
|
|
799
803
|
], 64)) : g("", !0)
|
|
800
804
|
]))), 256)),
|
|
@@ -812,29 +816,29 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
812
816
|
"font-size": c.value.axisNameFontSize,
|
|
813
817
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
814
818
|
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
815
|
-
transform: `translate(${f.value.left +
|
|
816
|
-
innerHTML:
|
|
819
|
+
transform: `translate(${f.value.left + x.value * s + x.value / 2}, ${V.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
|
|
820
|
+
innerHTML: d(da)({
|
|
817
821
|
content: String(a.name),
|
|
818
822
|
fontSize: c.value.axisNameFontSize,
|
|
819
823
|
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
820
824
|
x: 0,
|
|
821
825
|
y: 0
|
|
822
826
|
})
|
|
823
|
-
}, null, 8,
|
|
827
|
+
}, null, 8, Ra)) : (n(), i("text", {
|
|
824
828
|
key: 0,
|
|
825
829
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
826
830
|
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
827
831
|
"font-size": c.value.axisNameFontSize,
|
|
828
832
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
829
833
|
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
830
|
-
transform: `translate(${f.value.left +
|
|
831
|
-
}, U(a.name), 9,
|
|
834
|
+
transform: `translate(${f.value.left + x.value * s + x.value / 2}, ${V.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
|
|
835
|
+
}, U(a.name), 9, Ea))
|
|
832
836
|
], 64))), 256))
|
|
833
837
|
], 512)) : g("", !0),
|
|
834
838
|
(n(!0), i(w, null, P(ce.value, (a, s) => (n(), i("g", null, [
|
|
835
839
|
(n(!0), i(w, null, P(a.series, (l, u) => (n(), i("g", null, [
|
|
836
|
-
e.value.style.chart.plots.show ? (n(), i("g",
|
|
837
|
-
(n(!0), i(w, null, P(l.datapoints, (r, _) => (n(), D(
|
|
840
|
+
e.value.style.chart.plots.show ? (n(), i("g", Ua, [
|
|
841
|
+
(n(!0), i(w, null, P(l.datapoints, (r, _) => (n(), D(Ta, {
|
|
838
842
|
plot: { x: r.x, y: r.y },
|
|
839
843
|
color: a.color,
|
|
840
844
|
shape: a.shape,
|
|
@@ -850,11 +854,11 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
850
854
|
S: s
|
|
851
855
|
}),
|
|
852
856
|
onMouseleave: (C) => J({ serie: l, shape: a.shape, S: s }),
|
|
853
|
-
style: S(`opacity:${
|
|
857
|
+
style: S(`opacity:${A.value ? A.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
854
858
|
onClick: () => Q({ serie: l, shape: a.shape, S: s })
|
|
855
859
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
|
|
856
|
-
|
|
857
|
-
|
|
860
|
+
m.value.showTooltip ? g("", !0) : (n(), i(w, { key: 0 }, [
|
|
861
|
+
A.value && A.value === l.id && l.datapoints.length ? (n(), i("text", {
|
|
858
862
|
key: 0,
|
|
859
863
|
x: l.datapoints[0].x - c.value.ticksFontSize,
|
|
860
864
|
y: l.datapoints[0].y + c.value.ticksFontSize / 3,
|
|
@@ -862,7 +866,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
862
866
|
"font-size": c.value.ticksFontSize,
|
|
863
867
|
fill: a.color,
|
|
864
868
|
"font-weight": "bold"
|
|
865
|
-
}, U(l.name), 9,
|
|
869
|
+
}, U(l.name), 9, Ha)) : g("", !0)
|
|
866
870
|
], 64)),
|
|
867
871
|
e.value.style.chart.comments.show ? (n(!0), i(w, { key: 1 }, P(l.datapoints, (r) => (n(), i("g", null, [
|
|
868
872
|
r.comment ? (n(), i("foreignObject", {
|
|
@@ -873,21 +877,21 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
873
877
|
x: r.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
|
|
874
878
|
y: r.y + e.value.style.chart.comments.offsetY + 6
|
|
875
879
|
}, [
|
|
876
|
-
I("div",
|
|
880
|
+
I("div", ja, [
|
|
877
881
|
p(t.$slots, "plot-comment", {
|
|
878
882
|
plot: { ...r, color: a.color }
|
|
879
883
|
}, void 0, !0)
|
|
880
884
|
])
|
|
881
|
-
], 8,
|
|
885
|
+
], 8, Wa)) : g("", !0)
|
|
882
886
|
]))), 256)) : g("", !0)
|
|
883
887
|
])) : g("", !0),
|
|
884
|
-
!
|
|
888
|
+
!d(R) && (m.value.dataLabels.show || A.value && A.value === l.id) ? (n(!0), i(w, { key: 1 }, P(l.datapoints, (r, _) => (n(), i("text", {
|
|
885
889
|
x: r.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
886
890
|
y: r.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
|
|
887
891
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
888
892
|
"text-anchor": "start",
|
|
889
893
|
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
890
|
-
class: X({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !
|
|
894
|
+
class: X({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !d(R) }),
|
|
891
895
|
"font-size": c.value.datapointFontSize,
|
|
892
896
|
onMouseenter: (C) => K({
|
|
893
897
|
shape: a.shape,
|
|
@@ -899,14 +903,14 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
899
903
|
}),
|
|
900
904
|
onMouseleave: (C) => J({ serie: l, shape: a.shape, S: s }),
|
|
901
905
|
onClick: () => Q({ serie: l, shape: a.shape, S: s }),
|
|
902
|
-
style: S(`opacity:${
|
|
903
|
-
}, U(He({ value: r.value, index: _, datapoint: r })), 47,
|
|
906
|
+
style: S(`opacity:${A.value ? A.value === l.id ? 1 : 0.2 : 1}`)
|
|
907
|
+
}, U(He({ value: r.value, index: _, datapoint: r })), 47, Va))), 256)) : g("", !0),
|
|
904
908
|
I("path", {
|
|
905
909
|
d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
|
|
906
910
|
stroke: a.color,
|
|
907
911
|
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
908
912
|
fill: "none",
|
|
909
|
-
class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !
|
|
913
|
+
class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !d(R) }),
|
|
910
914
|
onMouseenter: (r) => K({
|
|
911
915
|
shape: a.shape,
|
|
912
916
|
serieName: a.name,
|
|
@@ -917,15 +921,15 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
917
921
|
}),
|
|
918
922
|
onMouseleave: (r) => J({ serie: l, shape: a.shape, S: s }),
|
|
919
923
|
onClick: () => Q({ serie: l, shape: a.shape, S: s }),
|
|
920
|
-
style: S(`opacity:${
|
|
921
|
-
}, null, 46,
|
|
922
|
-
|
|
924
|
+
style: S(`opacity:${A.value ? A.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}`)
|
|
925
|
+
}, null, 46, Ga),
|
|
926
|
+
m.value.showTooltip ? (n(), i("path", {
|
|
923
927
|
key: 2,
|
|
924
928
|
d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
|
|
925
929
|
stroke: "transparent",
|
|
926
930
|
"stroke-width": 12,
|
|
927
931
|
fill: "none",
|
|
928
|
-
class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !
|
|
932
|
+
class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !d(R) }),
|
|
929
933
|
onMouseenter: (r) => K({
|
|
930
934
|
shape: a.shape,
|
|
931
935
|
serieName: a.name,
|
|
@@ -937,18 +941,18 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
937
941
|
onMouseleave: (r) => J({ serie: l, shape: a.shape, S: s }),
|
|
938
942
|
onClick: () => Q({ serie: l, shape: a.shape, S: s }),
|
|
939
943
|
style: { opacity: "0" }
|
|
940
|
-
}, null, 42,
|
|
944
|
+
}, null, 42, Xa)) : g("", !0)
|
|
941
945
|
]))), 256))
|
|
942
946
|
]))), 256)),
|
|
943
947
|
p(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
944
|
-
], 14,
|
|
945
|
-
t.$slots.watermark ? (n(), i("div",
|
|
946
|
-
p(t.$slots, "watermark", T(z({ isPrinting:
|
|
948
|
+
], 14, Sa)),
|
|
949
|
+
t.$slots.watermark ? (n(), i("div", Ya, [
|
|
950
|
+
p(t.$slots, "watermark", T(z({ isPrinting: d(De) || d(Ie) })), void 0, !0)
|
|
947
951
|
])) : g("", !0),
|
|
948
952
|
I("div", {
|
|
949
953
|
id: `legend-bottom-${B.value}`
|
|
950
|
-
}, null, 8,
|
|
951
|
-
Te.value ? (n(), D(
|
|
954
|
+
}, null, 8, qa),
|
|
955
|
+
Te.value ? (n(), D(Kt, {
|
|
952
956
|
key: 5,
|
|
953
957
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${B.value}` : `#legend-bottom-${B.value}`
|
|
954
958
|
}, [
|
|
@@ -956,10 +960,10 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
956
960
|
ref_key: "chartLegend",
|
|
957
961
|
ref: ke
|
|
958
962
|
}, [
|
|
959
|
-
e.value.style.chart.legend.show && Y.value ? (n(), D(
|
|
963
|
+
e.value.style.chart.legend.show && Y.value ? (n(), D(Fa, {
|
|
960
964
|
key: `legend_${$e.value}`,
|
|
961
965
|
legendSet: Re.value,
|
|
962
|
-
config:
|
|
966
|
+
config: Pt.value,
|
|
963
967
|
onClickMarker: o[0] || (o[0] = ({ legend: a }) => {
|
|
964
968
|
q(a.id), Ve(a);
|
|
965
969
|
})
|
|
@@ -970,7 +974,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
970
974
|
a.segregate(), Ve(a);
|
|
971
975
|
},
|
|
972
976
|
style: S(`opacity:${F.value.includes(a.id) ? 0.5 : 1}`)
|
|
973
|
-
}, U(a.name), 13,
|
|
977
|
+
}, U(a.name), 13, Ja)
|
|
974
978
|
]),
|
|
975
979
|
_: 1
|
|
976
980
|
}, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
|
|
@@ -982,14 +986,14 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
982
986
|
t.$slots.source ? (n(), i("div", {
|
|
983
987
|
key: 6,
|
|
984
988
|
ref_key: "source",
|
|
985
|
-
ref:
|
|
989
|
+
ref: Ae,
|
|
986
990
|
dir: "auto"
|
|
987
991
|
}, [
|
|
988
992
|
p(t.$slots, "source", {}, void 0, !0)
|
|
989
993
|
], 512)) : g("", !0),
|
|
990
|
-
|
|
994
|
+
be(d(gt), {
|
|
991
995
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
992
|
-
show:
|
|
996
|
+
show: m.value.showTooltip && ve.value,
|
|
993
997
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
994
998
|
color: e.value.style.chart.tooltip.color,
|
|
995
999
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -1002,27 +1006,27 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
1002
1006
|
parent: M.value,
|
|
1003
1007
|
content: he.value,
|
|
1004
1008
|
isFullscreen: E.value,
|
|
1005
|
-
isCustom:
|
|
1009
|
+
isCustom: d(at)(e.value.style.chart.tooltip.customFormat),
|
|
1006
1010
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1007
1011
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1008
1012
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1009
1013
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1010
1014
|
}, {
|
|
1011
1015
|
"tooltip-before": h(() => [
|
|
1012
|
-
p(t.$slots, "tooltip-before", T(z({ ...
|
|
1016
|
+
p(t.$slots, "tooltip-before", T(z({ ...de.value })), void 0, !0)
|
|
1013
1017
|
]),
|
|
1014
1018
|
"tooltip-after": h(() => [
|
|
1015
|
-
p(t.$slots, "tooltip-after", T(z({ ...
|
|
1019
|
+
p(t.$slots, "tooltip-after", T(z({ ...de.value })), void 0, !0)
|
|
1016
1020
|
]),
|
|
1017
1021
|
_: 3
|
|
1018
1022
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1019
|
-
Y.value && e.value.userOptions.buttons.table ? (n(), D(
|
|
1023
|
+
Y.value && e.value.userOptions.buttons.table ? (n(), D(Qt(G.value.component), Zt({ key: 7 }, G.value.props, {
|
|
1020
1024
|
ref_key: "tableUnit",
|
|
1021
1025
|
ref: j,
|
|
1022
1026
|
onClose: qe
|
|
1023
1027
|
}), Qe({
|
|
1024
1028
|
content: h(() => [
|
|
1025
|
-
(n(), D(
|
|
1029
|
+
(n(), D(d(kt), {
|
|
1026
1030
|
key: `table_${Fe.value}`,
|
|
1027
1031
|
colNames: W.value.colNames,
|
|
1028
1032
|
head: W.value.head,
|
|
@@ -1033,7 +1037,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
1033
1037
|
onClose: qe
|
|
1034
1038
|
}, {
|
|
1035
1039
|
th: h(({ th: a }) => [
|
|
1036
|
-
I("div", { innerHTML: a }, null, 8,
|
|
1040
|
+
I("div", { innerHTML: a }, null, 8, Ka)
|
|
1037
1041
|
]),
|
|
1038
1042
|
td: h(({ td: a }) => [
|
|
1039
1043
|
Ze(U(a), 1)
|
|
@@ -1058,7 +1062,7 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
1058
1062
|
class: "vue-ui-user-options-button",
|
|
1059
1063
|
onClick: o[1] || (o[1] = (a) => pe(e.value.userOptions.callbacks.csv))
|
|
1060
1064
|
}, [
|
|
1061
|
-
|
|
1065
|
+
be(d(yt), {
|
|
1062
1066
|
name: "excel",
|
|
1063
1067
|
stroke: G.value.props.color
|
|
1064
1068
|
}, null, 8, ["stroke"])
|
|
@@ -1067,15 +1071,15 @@ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
1067
1071
|
key: "1"
|
|
1068
1072
|
} : void 0
|
|
1069
1073
|
]), 1040)) : g("", !0),
|
|
1070
|
-
|
|
1071
|
-
], 46,
|
|
1074
|
+
d(R) ? (n(), D(ya, { key: 8 })) : g("", !0)
|
|
1075
|
+
], 46, _a));
|
|
1072
1076
|
}
|
|
1073
|
-
},
|
|
1077
|
+
}, Za = /* @__PURE__ */ Na(Qa, [["__scopeId", "data-v-83aaed0d"]]), go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1074
1078
|
__proto__: null,
|
|
1075
|
-
default:
|
|
1079
|
+
default: Za
|
|
1076
1080
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1077
1081
|
export {
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1082
|
+
mo as a,
|
|
1083
|
+
go as b,
|
|
1084
|
+
Za as v
|
|
1081
1085
|
};
|