vue-data-ui 2.16.6 → 2.17.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.
Files changed (92) hide show
  1. package/README.md +83 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1096 -160
  23. package/dist/types/vue-data-ui.d.ts +1096 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DDHcrl0A.js} +2 -2
  26. package/dist/vue-data-ui-CIWxgKjd.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-D5Wpdqfk.js} +228 -220
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
  82. package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
  85. package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
  86. package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
@@ -1,18 +1,19 @@
1
- import { defineAsyncComponent as _, computed as x, ref as h, watch as lt, shallowRef as Se, onMounted as ot, onBeforeUnmount as st, createElementBlock as u, openBlock as i, unref as d, normalizeStyle as z, normalizeClass as U, createBlock as S, createCommentVNode as m, createElementVNode as R, createVNode as Ie, createSlots as nt, withCtx as w, renderSlot as g, normalizeProps as E, guardReactiveProps as V, Fragment as C, renderList as I, toDisplayString as W, createTextVNode as it } from "vue";
2
- import { u as ut, c as ae, t as rt, p as G, a as ct, o as vt, e as _e, g as dt, b as ht, d as pt, D as yt, U as mt, V as ft, W as gt, X as bt, I as xt, x as Ne, E as Y, q as kt, r as wt, i as Pe, f as Oe, y as Ct } from "./index-DvIXJm6t.js";
3
- import { t as $t, u as At } from "./useResponsive-DfdjqQps.js";
4
- import { u as Le } from "./useNestedProp-DrYHm61t.js";
5
- import { u as zt } from "./usePrinter-CWnXbGMb.js";
6
- import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Ft from "./Title-Gi81VwUM.js";
9
- import St from "./Legend-nBXoxXJH.js";
10
- import { _ as It } from "./Shape-Bnf512BA.js";
11
- import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], Lt = { style: { "pointer-events": "none" } }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["x", "y", "fill", "font-size", "font-weight"], Et = ["x", "y", "fill", "font-size", "font-weight", "innerHTML"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["x", "y", "fill", "font-size", "font-weight"], Bt = { key: 0 }, Ut = ["x", "y", "font-size", "fill"], Ht = ["width", "x", "y"], jt = { style: { width: "100%" } }, Xt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Gt = ["d", "stroke", "stroke-width", "onMouseenter"], Yt = ["d", "onMouseenter"], qt = {
1
+ import { defineAsyncComponent as N, computed as x, ref as h, watch as ot, shallowRef as Ie, onMounted as st, onBeforeUnmount as nt, createElementBlock as u, openBlock as i, unref as d, normalizeStyle as z, normalizeClass as B, createBlock as S, createCommentVNode as y, createElementVNode as R, createVNode as _e, createSlots as it, withCtx as w, renderSlot as g, normalizeProps as U, guardReactiveProps as V, Fragment as C, renderList as I, toDisplayString as W, createTextVNode as ut } from "vue";
2
+ import { u as rt, c as ae, t as ct, p as G, a as vt, o as dt, e as Ne, g as ht, b as pt, d as mt, D as yt, U as ft, V as gt, W as bt, X as xt, I as kt, x as Pe, E as Y, q as wt, r as Ct, i as Oe, f as Le, y as $t } from "./index-pPGk-uhD.js";
3
+ import { t as At, u as zt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as De } from "./useNestedProp-DjACxgdZ.js";
5
+ import { u as Tt } from "./usePrinter-DDHcrl0A.js";
6
+ import { u as Mt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Ft } from "./useChartAccessibility-9icAAmYg.js";
8
+ import St from "./Title-B-2bV0SW.js";
9
+ import It from "./Legend-Bxlv67uY.js";
10
+ import { _ as _t } from "./Shape-DtFT5EJa.js";
11
+ import Nt from "./img-Y_hYz-ZC.js";
12
+ import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"], Et = { style: { "pointer-events": "none" } }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ut = ["x", "y", "fill", "font-size", "font-weight"], Vt = ["x", "y", "fill", "font-size", "font-weight", "innerHTML"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = ["x", "y", "fill", "font-size", "font-weight"], Ht = { key: 0 }, jt = ["x", "y", "font-size", "fill"], Xt = ["width", "x", "y"], Gt = { style: { width: "100%" } }, Yt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], qt = ["d", "stroke", "stroke-width", "onMouseenter"], Jt = ["d", "onMouseenter"], Kt = {
13
14
  key: 5,
14
15
  class: "vue-data-ui-watermark"
15
- }, Jt = ["onClick"], Kt = ["innerHTML"], Qt = {
16
+ }, Qt = ["onClick"], Zt = ["innerHTML"], ea = {
16
17
  __name: "vue-ui-parallel-coordinate-plot",
17
18
  props: {
18
19
  config: {
@@ -29,52 +30,52 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
29
30
  }
30
31
  },
31
32
  emits: ["selectLegend", "selectDatapoint"],
32
- setup(De, { expose: Re, emit: Ee }) {
33
- const Ve = _(() => import("./vue-ui-accordion-D55kCO5G.js")), We = _(() => import("./DataTable-CHBLjKtZ.js")), Be = _(() => import("./PackageVersion-Bg_9KCU-.js")), Ue = _(() => import("./PenAndPaper-BPTpbnay.js")), He = _(() => import("./vue-ui-skeleton-BAOt2neL.js")), je = _(() => import("./Tooltip-CJxVw7-T.js")), Xe = _(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_parallel_coordinate_plot: Ge } = ut(), T = De, N = x({
33
+ setup(Ee, { expose: Re, emit: Ue }) {
34
+ const Ve = N(() => import("./vue-ui-accordion-CVnA550V.js")), We = N(() => import("./DataTable-D0VYDhfx.js")), Be = N(() => import("./PackageVersion-5TR4ocqp.js")), He = N(() => import("./PenAndPaper-D6AqipIO.js")), je = N(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Xe = N(() => import("./Tooltip-CoQnTnr-.js")), Ge = N(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_parallel_coordinate_plot: Ye } = rt(), T = Ee, P = x({
34
35
  get() {
35
36
  return !!T.dataset && T.dataset.length;
36
37
  },
37
38
  set(t) {
38
39
  return t;
39
40
  }
40
- }), le = h(0), B = h(null), oe = h(null), se = h(null), ne = h(null), ie = h(null), ue = h(0), re = h(0), ce = h(0), q = h(ae()), P = h(!1);
41
- function Ye(t) {
42
- P.value = t, le.value += 1;
41
+ }), le = h(0), _ = h(null), oe = h(null), se = h(null), ne = h(null), ie = h(null), ue = h(0), re = h(0), ce = h(0), q = h(ae()), O = h(!1);
42
+ function ve(t) {
43
+ O.value = t, le.value += 1;
43
44
  }
44
45
  const e = x({
45
- get: () => pe(),
46
+ get: () => me(),
46
47
  set: (t) => t
47
- }), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: de } = Tt({ config: e.value }), { svgRef: he } = Mt({ config: e.value.style.chart.title });
48
- function pe() {
49
- const t = Le({
48
+ }), { userOptionsVisible: J, setUserOptionsVisibility: de, keepUserOptionState: he } = Mt({ config: e.value }), { svgRef: pe } = Ft({ config: e.value.style.chart.title });
49
+ function me() {
50
+ const t = De({
50
51
  userConfig: T.config,
51
- defaultConfig: Ge
52
+ defaultConfig: Ye
52
53
  });
53
54
  return t.theme ? {
54
- ...Le({
55
- userConfig: ct.vue_ui_parallel_coordinate_plot[t.theme] || T.config,
55
+ ...De({
56
+ userConfig: vt.vue_ui_parallel_coordinate_plot[t.theme] || T.config,
56
57
  defaultConfig: t
57
58
  }),
58
- customPalette: rt[t.theme] || G
59
+ customPalette: ct[t.theme] || G
59
60
  } : t;
60
61
  }
61
- lt(() => T.config, (t) => {
62
- e.value = pe(), J.value = !e.value.userOptions.showOnChartHover, ye(), ue.value += 1, ce.value += 1, re.value += 1, p.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
62
+ ot(() => T.config, (t) => {
63
+ e.value = me(), J.value = !e.value.userOptions.showOnChartHover, ye(), ue.value += 1, ce.value += 1, re.value += 1, p.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
63
64
  }, { deep: !0 });
64
- const M = Se(null), O = Se(null);
65
- ot(() => {
65
+ const M = Ie(null), L = Ie(null);
66
+ st(() => {
66
67
  ye();
67
68
  });
68
69
  function ye() {
69
- if (vt(T.dataset) ? _e({
70
+ if (dt(T.dataset) ? Ne({
70
71
  componentName: "VueUiParallelCoordinatePlot",
71
72
  type: "dataset"
72
73
  }) : T.dataset.forEach((t, l) => {
73
- dt({
74
+ ht({
74
75
  datasetObject: t,
75
76
  requiredAttributes: ["name", "series"]
76
77
  }).forEach((a) => {
77
- N.value = !1, _e({
78
+ P.value = !1, Ne({
78
79
  componentName: "VueUiParallelCoordinatePlot",
79
80
  type: "datasetSerieAttribute",
80
81
  property: a,
@@ -82,9 +83,9 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
82
83
  });
83
84
  });
84
85
  }), e.value.responsive) {
85
- const t = $t(() => {
86
- const { width: l, height: a } = At({
87
- chart: B.value,
86
+ const t = At(() => {
87
+ const { width: l, height: a } = zt({
88
+ chart: _.value,
88
89
  title: e.value.style.chart.title.text ? oe.value : null,
89
90
  legend: e.value.style.chart.legend.show ? se.value : null,
90
91
  source: ne.value,
@@ -118,13 +119,13 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
118
119
  })) : (c.value.plotSize = e.value.style.chart.plots.radius, c.value.ticksFontSize = e.value.style.chart.yAxis.labels.ticks.fontSize, c.value.datapointFontSize = e.value.style.chart.yAxis.labels.datapoints.fontSize, c.value.axisNameFontSize = e.value.style.chart.yAxis.labels.axisNamesFontSize);
119
120
  });
120
121
  });
121
- M.value && (O.value && M.value.unobserve(O.value), M.value.disconnect()), M.value = new ResizeObserver(t), O.value = B.value.parentNode, M.value.observe(O.value);
122
+ M.value && (L.value && M.value.unobserve(L.value), M.value.disconnect()), M.value = new ResizeObserver(t), L.value = _.value.parentNode, M.value.observe(L.value);
122
123
  }
123
124
  }
124
- st(() => {
125
- M.value && (O.value && M.value.unobserve(O.value), M.value.disconnect());
125
+ nt(() => {
126
+ M.value && (L.value && M.value.unobserve(L.value), M.value.disconnect());
126
127
  });
127
- const { isPrinting: me, isImaging: fe, generatePdf: ge, generateImage: be } = zt({
128
+ const { isPrinting: fe, isImaging: ge, generatePdf: be, generateImage: xe } = Tt({
128
129
  elementId: `pcp_${q.value}`,
129
130
  fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
130
131
  options: e.value.userOptions.print
@@ -149,18 +150,18 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
149
150
  right: s - l,
150
151
  bottom: n - a
151
152
  };
152
- }), Je = x(() => ht(e.value.customPalette)), p = h({
153
+ }), Je = x(() => pt(e.value.customPalette)), p = h({
153
154
  dataLabels: {
154
155
  show: e.value.style.chart.yAxis.labels.datapoints.show
155
156
  },
156
157
  showTable: e.value.table.show,
157
158
  showTooltip: e.value.style.chart.tooltip.show
158
159
  }), $ = h([]);
159
- function xe(t) {
160
+ function ke(t) {
160
161
  $.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
161
162
  }
162
163
  const F = x(() => T.dataset.map((t, l) => {
163
- const a = pt(t.color) || Je.value[l] || G[l] || G[l % G.length];
164
+ const a = mt(t.color) || Je.value[l] || G[l] || G[l % G.length];
164
165
  return {
165
166
  ...t,
166
167
  series: t.series.map((o) => ({
@@ -176,7 +177,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
176
177
  })), Ke = x(() => F.value.map((t) => ({
177
178
  ...t,
178
179
  opacity: $.value.includes(t.id) ? 0.5 : 1,
179
- segregate: () => xe(t.id),
180
+ segregate: () => ke(t.id),
180
181
  isSegregated: $.value.includes(t.id)
181
182
  }))), Qe = x(() => ({
182
183
  cy: "pcp-div-legend",
@@ -185,17 +186,17 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
185
186
  fontSize: e.value.style.chart.legend.fontSize,
186
187
  paddingBottom: 12,
187
188
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
188
- })), ke = x(() => Math.max(
189
+ })), we = x(() => Math.max(
189
190
  ...F.value.filter((t) => !$.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
190
- )), k = x(() => r.value.width / ke.value), K = x(() => F.value.filter((t) => !$.value.includes(t.id))), b = x(() => {
191
+ )), k = x(() => r.value.width / we.value), K = x(() => F.value.filter((t) => !$.value.includes(t.id))), b = x(() => {
191
192
  let t = [];
192
- for (let l = 0; l < ke.value; l += 1) {
193
- const a = Math.min(...K.value.flatMap((y) => y.series.map((X) => X.values[l] || 0) || 0)), o = Math.max(...K.value.flatMap((y) => y.series.map((X) => X.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, v = yt(n, s, e.value.style.chart.yAxis.scaleTicks), A = v.ticks.map((y, X) => {
194
- const tt = v.min < 0 ? y + Math.abs(v.min) : y - Math.abs(v.min), at = v.min < 0 ? v.max + Math.abs(v.min) : v.max - Math.abs(v.min);
193
+ for (let l = 0; l < we.value; l += 1) {
194
+ const a = Math.min(...K.value.flatMap((m) => m.series.map((X) => X.values[l] || 0) || 0)), o = Math.max(...K.value.flatMap((m) => m.series.map((X) => X.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, v = yt(n, s, e.value.style.chart.yAxis.scaleTicks), A = v.ticks.map((m, X) => {
195
+ const at = v.min < 0 ? m + Math.abs(v.min) : m - Math.abs(v.min), lt = v.min < 0 ? v.max + Math.abs(v.min) : v.max - Math.abs(v.min);
195
196
  return {
196
- y: r.value.bottom - r.value.height * (tt / at),
197
+ y: r.value.bottom - r.value.height * (at / lt),
197
198
  x: r.value.left + k.value * l + k.value / 2,
198
- value: y
199
+ value: m
199
200
  };
200
201
  });
201
202
  t.push({
@@ -227,7 +228,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
227
228
  })).map((t) => ({
228
229
  ...t,
229
230
  series: t.series.map((l) => {
230
- const a = mt(l.datapoints), o = ft(l.datapoints), n = gt(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
231
+ const a = ft(l.datapoints), o = gt(l.datapoints), n = bt(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
231
232
  return {
232
233
  ...l,
233
234
  smoothPath: o,
@@ -236,11 +237,11 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
236
237
  };
237
238
  })
238
239
  })));
239
- function we({ value: t, index: l, datapoint: a }) {
240
- return Pe(
240
+ function Ce({ value: t, index: l, datapoint: a }) {
241
+ return Oe(
241
242
  e.value.style.chart.yAxis.labels.formatters[l] || null,
242
243
  t,
243
- Oe({
244
+ Le({
244
245
  p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
245
246
  v: t,
246
247
  s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
@@ -249,12 +250,12 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
249
250
  { datapoint: a, seriesIndex: l }
250
251
  );
251
252
  }
252
- const f = h(null), Z = h(null), L = h(!1), ee = h("");
253
+ const f = h(null), Z = h(null), D = h(!1), ee = h("");
253
254
  function H({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
254
- Z.value = { serie: a, relativeIndex: o, seriesIndex: n, series: F.value, scales: b.value }, L.value = !0, f.value = a.id;
255
+ Z.value = { serie: a, relativeIndex: o, seriesIndex: n, series: F.value, scales: b.value }, D.value = !0, f.value = a.id;
255
256
  let s = "";
256
257
  const v = e.value.style.chart.tooltip.customFormat;
257
- Ne(v) && Ct(() => v({
258
+ Pe(v) && $t(() => v({
258
259
  serie: a,
259
260
  seriesIndex: a.seriesIndex,
260
261
  series: F.value,
@@ -266,31 +267,31 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
266
267
  series: F.value,
267
268
  config: e.value,
268
269
  scales: b.value
269
- }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`, b.value.map((A) => A.name).forEach((A, y) => {
270
+ }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`, b.value.map((A) => A.name).forEach((A, m) => {
270
271
  s += `
271
272
  <div class="vue-ui-tooltip-item" style="text-align:left">
272
273
  <span>${A}: </span>
273
274
  <span>
274
- ${Pe(
275
- e.value.style.chart.yAxis.labels.formatters[y] || null,
276
- a.datapoints[y].value,
277
- Oe({
278
- p: e.value.style.chart.yAxis.labels.prefixes[y] || "",
279
- v: a.datapoints[y].value,
280
- s: e.value.style.chart.yAxis.labels.suffixes[y] || "",
281
- r: e.value.style.chart.yAxis.labels.roundings[y] || ""
275
+ ${Oe(
276
+ e.value.style.chart.yAxis.labels.formatters[m] || null,
277
+ a.datapoints[m].value,
278
+ Le({
279
+ p: e.value.style.chart.yAxis.labels.prefixes[m] || "",
280
+ v: a.datapoints[m].value,
281
+ s: e.value.style.chart.yAxis.labels.suffixes[m] || "",
282
+ r: e.value.style.chart.yAxis.labels.roundings[m] || ""
282
283
  }),
283
- { datapoint: a.datapoints[y], seriesIndex: y }
284
+ { datapoint: a.datapoints[m], seriesIndex: m }
284
285
  )}
285
286
  </span>
286
287
  </div>
287
- `, e.value.style.chart.comments.showInTooltip && a.datapoints[y].comment && (s += `<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[y].comment}</div>`);
288
+ `, e.value.style.chart.comments.showInTooltip && a.datapoints[m].comment && (s += `<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[m].comment}</div>`);
288
289
  }), ee.value = `<div>${s}</div>`);
289
290
  }
290
291
  function Ze() {
291
292
  return F.value;
292
293
  }
293
- const D = x(() => {
294
+ const E = x(() => {
294
295
  const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(b.value.map((n) => n.name)), l = Q.value.flatMap((n, s) => n.series.map((v) => [n.name].concat([v.name]).concat(v.values))), a = {
295
296
  th: {
296
297
  backgroundColor: e.value.table.th.backgroundColor,
@@ -310,78 +311,85 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
310
311
  config: a,
311
312
  colNames: o
312
313
  };
313
- }), Ce = x(() => Q.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
314
- head: D.value.head,
315
- body: D.value.body
314
+ }), $e = x(() => Q.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
315
+ head: E.value.head,
316
+ body: E.value.body
316
317
  });
317
- function $e(t = null) {
318
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = Ce.value.head, o = Ce.value.body, n = l.concat([a]).concat(o), s = kt(n);
319
- t ? t(s) : wt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
318
+ function Ae(t = null) {
319
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = $e.value.head, o = $e.value.body, n = l.concat([a]).concat(o), s = wt(n);
320
+ t ? t(s) : Ct({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
320
321
  }
321
- const Ae = Ee;
322
+ const ze = Ue;
322
323
  function et(t) {
323
- Ae("selectDatapoint", t);
324
+ ze("selectDatapoint", t);
324
325
  }
325
- function ze(t) {
326
- Ae("selectLegend", {
326
+ function Te(t) {
327
+ ze("selectLegend", {
327
328
  ...t,
328
329
  isSegregated: !t.isSegregated,
329
330
  opacity: t.isSegregated ? 1 : 0.5
330
331
  });
331
332
  }
332
- function Te() {
333
+ function Me() {
333
334
  p.value.showTable = !p.value.showTable;
334
335
  }
335
- function Me() {
336
+ function Fe() {
336
337
  p.value.dataLabels.show = !p.value.dataLabels.show;
337
338
  }
338
- function Fe() {
339
+ function Se() {
339
340
  p.value.showTooltip = !p.value.showTooltip;
340
341
  }
341
342
  const j = h(!1);
342
343
  function te() {
343
344
  j.value = !j.value;
344
345
  }
346
+ async function tt({ scale: t = 2 } = {}) {
347
+ if (!_.value) return;
348
+ const { imageUri: l, base64: a } = await Nt({ domElement: _.value, base64: !0, img: !0, scale: t });
349
+ return { imageUri: l, base64: a };
350
+ }
345
351
  return Re({
346
352
  getData: Ze,
347
- generateCsv: $e,
348
- generatePdf: ge,
349
- generateImage: be,
350
- toggleTable: Te,
351
- toggleLabels: Me,
352
- toggleTooltip: Fe,
353
- toggleAnnotator: te
353
+ getImage: tt,
354
+ generateCsv: Ae,
355
+ generatePdf: be,
356
+ generateImage: xe,
357
+ toggleTable: Me,
358
+ toggleLabels: Fe,
359
+ toggleTooltip: Se,
360
+ toggleAnnotator: te,
361
+ toggleFullscreen: ve
354
362
  }), (t, l) => (i(), u("div", {
355
363
  ref_key: "pcpChart",
356
- ref: B,
357
- class: U(`vue-ui-pcp ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
364
+ ref: _,
365
+ class: B(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
358
366
  style: z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
359
367
  id: `pcp_${q.value}`,
360
- onMouseenter: l[6] || (l[6] = () => d(ve)(!0)),
361
- onMouseleave: l[7] || (l[7] = () => d(ve)(!1))
368
+ onMouseenter: l[6] || (l[6] = () => d(de)(!0)),
369
+ onMouseleave: l[7] || (l[7] = () => d(de)(!1))
362
370
  }, [
363
- e.value.userOptions.buttons.annotator ? (i(), S(d(Ue), {
371
+ e.value.userOptions.buttons.annotator ? (i(), S(d(He), {
364
372
  key: 0,
365
- svgRef: d(he),
373
+ svgRef: d(pe),
366
374
  backgroundColor: e.value.style.chart.backgroundColor,
367
375
  color: e.value.style.chart.color,
368
376
  active: j.value,
369
377
  onClose: te
370
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
378
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
371
379
  qe.value ? (i(), u("div", {
372
380
  key: 1,
373
381
  ref_key: "noTitle",
374
382
  ref: ie,
375
383
  class: "vue-data-ui-no-title-space",
376
384
  style: "height:36px; width: 100%;background:transparent"
377
- }, null, 512)) : m("", !0),
385
+ }, null, 512)) : y("", !0),
378
386
  e.value.style.chart.title.text ? (i(), u("div", {
379
387
  key: 2,
380
388
  ref_key: "chartTitle",
381
389
  ref: oe,
382
390
  style: "width:100%;background:transparent;padding-bottom:24px"
383
391
  }, [
384
- (i(), S(Ft, {
392
+ (i(), S(St, {
385
393
  key: `title_${ue.value}`,
386
394
  config: {
387
395
  title: {
@@ -394,14 +402,14 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
394
402
  }
395
403
  }
396
404
  }, null, 8, ["config"]))
397
- ], 512)) : m("", !0),
398
- e.value.userOptions.show && N.value && (d(de) || d(J)) ? (i(), S(d(Xe), {
405
+ ], 512)) : y("", !0),
406
+ e.value.userOptions.show && P.value && (d(he) || d(J)) ? (i(), S(d(Ge), {
399
407
  ref: "details",
400
408
  key: `user_options_${le.value}`,
401
409
  backgroundColor: e.value.style.chart.backgroundColor,
402
410
  color: e.value.style.chart.color,
403
- isPrinting: d(me),
404
- isImaging: d(fe),
411
+ isPrinting: d(fe),
412
+ isImaging: d(ge),
405
413
  uid: q.value,
406
414
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
407
415
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -410,31 +418,31 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
410
418
  hasTable: e.value.userOptions.buttons.table,
411
419
  hasLabel: e.value.userOptions.buttons.labels,
412
420
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
413
- isFullscreen: P.value,
421
+ isFullscreen: O.value,
414
422
  isTooltip: p.value.showTooltip,
415
423
  titles: { ...e.value.userOptions.buttonTitles },
416
- chartElement: B.value,
424
+ chartElement: _.value,
417
425
  position: e.value.userOptions.position,
418
426
  hasAnnotator: e.value.userOptions.buttons.annotator,
419
427
  isAnnotation: j.value,
420
428
  callbacks: e.value.userOptions.callbacks,
421
429
  printScale: e.value.userOptions.print.scale,
422
- onToggleFullscreen: Ye,
423
- onGeneratePdf: d(ge),
424
- onGenerateCsv: $e,
425
- onGenerateImage: d(be),
426
- onToggleTable: Te,
427
- onToggleLabels: Me,
428
- onToggleTooltip: Fe,
430
+ onToggleFullscreen: ve,
431
+ onGeneratePdf: d(be),
432
+ onGenerateCsv: Ae,
433
+ onGenerateImage: d(xe),
434
+ onToggleTable: Me,
435
+ onToggleLabels: Fe,
436
+ onToggleTooltip: Se,
429
437
  onToggleAnnotator: te,
430
438
  style: z({
431
- visibility: d(de) ? d(J) ? "visible" : "hidden" : "visible"
439
+ visibility: d(he) ? d(J) ? "visible" : "hidden" : "visible"
432
440
  })
433
- }, nt({ _: 2 }, [
441
+ }, it({ _: 2 }, [
434
442
  t.$slots.menuIcon ? {
435
443
  name: "menuIcon",
436
444
  fn: w(({ isOpen: a, color: o }) => [
437
- g(t.$slots, "menuIcon", E(V({ isOpen: a, color: o })), void 0, !0)
445
+ g(t.$slots, "menuIcon", U(V({ isOpen: a, color: o })), void 0, !0)
438
446
  ]),
439
447
  key: "0"
440
448
  } : void 0,
@@ -476,28 +484,28 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
476
484
  t.$slots.optionFullscreen ? {
477
485
  name: "optionFullscreen",
478
486
  fn: w(({ toggleFullscreen: a, isFullscreen: o }) => [
479
- g(t.$slots, "optionFullscreen", E(V({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
487
+ g(t.$slots, "optionFullscreen", U(V({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
480
488
  ]),
481
489
  key: "6"
482
490
  } : void 0,
483
491
  t.$slots.optionAnnotator ? {
484
492
  name: "optionAnnotator",
485
493
  fn: w(({ toggleAnnotator: a, isAnnotator: o }) => [
486
- g(t.$slots, "optionAnnotator", E(V({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
494
+ g(t.$slots, "optionAnnotator", U(V({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
487
495
  ]),
488
496
  key: "7"
489
497
  } : void 0
490
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
491
- N.value ? (i(), u("svg", {
498
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
499
+ P.value ? (i(), u("svg", {
492
500
  key: 4,
493
501
  ref_key: "svgRef",
494
- ref: he,
495
- xmlns: d(bt),
496
- class: U({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
502
+ ref: pe,
503
+ xmlns: d(xt),
504
+ class: B({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
497
505
  viewBox: `0 0 ${r.value.chartWidth <= 0 ? 10 : r.value.chartWidth} ${r.value.chartHeight <= 0 ? 10 : r.value.chartHeight}`,
498
506
  style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
499
507
  }, [
500
- Ie(d(Be)),
508
+ _e(d(Be)),
501
509
  t.$slots["chart-background"] ? (i(), u("foreignObject", {
502
510
  key: 0,
503
511
  x: r.value.left,
@@ -509,8 +517,8 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
509
517
  }
510
518
  }, [
511
519
  g(t.$slots, "chart-background", {}, void 0, !0)
512
- ], 8, Ot)) : m("", !0),
513
- (i(!0), u(C, null, I(b.value, (a, o) => (i(), u("g", Lt, [
520
+ ], 8, Dt)) : y("", !0),
521
+ (i(!0), u(C, null, I(b.value, (a, o) => (i(), u("g", Et, [
514
522
  R("line", {
515
523
  x1: r.value.left + k.value * o + k.value / 2,
516
524
  x2: r.value.left + k.value * o + k.value / 2,
@@ -518,7 +526,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
518
526
  y2: r.value.bottom,
519
527
  stroke: e.value.style.chart.yAxis.stroke,
520
528
  "stroke-width": e.value.style.chart.yAxis.strokeWidth
521
- }, null, 8, Dt),
529
+ }, null, 8, Rt),
522
530
  String(a.name).includes(`
523
531
  `) ? (i(), u("text", {
524
532
  key: 1,
@@ -528,14 +536,14 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
528
536
  "font-size": c.value.axisNameFontSize,
529
537
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
530
538
  "text-anchor": "middle",
531
- innerHTML: d(xt)({
539
+ innerHTML: d(kt)({
532
540
  content: String(a.name),
533
541
  fontSize: c.value.axisNameFontSize,
534
542
  fill: e.value.style.chart.yAxis.labels.axisNamesColor,
535
543
  x: r.value.left + k.value * o + k.value / 2,
536
544
  y: r.value.top - 24
537
545
  })
538
- }, null, 8, Et)) : (i(), u("text", {
546
+ }, null, 8, Vt)) : (i(), u("text", {
539
547
  key: 0,
540
548
  x: r.value.left + k.value * o + k.value / 2,
541
549
  y: r.value.top - 24,
@@ -543,7 +551,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
543
551
  "font-size": c.value.axisNameFontSize,
544
552
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
545
553
  "text-anchor": "middle"
546
- }, W(a.name), 9, Rt)),
554
+ }, W(a.name), 9, Ut)),
547
555
  e.value.style.chart.yAxis.labels.ticks.show ? (i(), u(C, { key: 2 }, [
548
556
  (i(!0), u(C, null, I(a.ticks, (n) => (i(), u("line", {
549
557
  x1: n.x,
@@ -553,7 +561,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
553
561
  stroke: e.value.style.chart.yAxis.stroke,
554
562
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
555
563
  style: z(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
556
- }, null, 12, Vt))), 256)),
564
+ }, null, 12, Wt))), 256)),
557
565
  (i(!0), u(C, null, I(a.ticks, (n) => (i(), u("text", {
558
566
  x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
559
567
  y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
@@ -562,13 +570,13 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
562
570
  "font-size": c.value.ticksFontSize,
563
571
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
564
572
  style: z(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
565
- }, W(we({ value: n.value, index: o, datapoint: n })), 13, Wt))), 256))
566
- ], 64)) : m("", !0)
573
+ }, W(Ce({ value: n.value, index: o, datapoint: n })), 13, Bt))), 256))
574
+ ], 64)) : y("", !0)
567
575
  ]))), 256)),
568
576
  (i(!0), u(C, null, I(Q.value, (a) => (i(), u("g", null, [
569
577
  (i(!0), u(C, null, I(a.series, (o, n) => (i(), u("g", null, [
570
- e.value.style.chart.plots.show ? (i(), u("g", Bt, [
571
- (i(!0), u(C, null, I(o.datapoints, (s) => (i(), S(It, {
578
+ e.value.style.chart.plots.show ? (i(), u("g", Ht, [
579
+ (i(!0), u(C, null, I(o.datapoints, (s) => (i(), S(_t, {
572
580
  plot: { x: s.x, y: s.y },
573
581
  color: a.color,
574
582
  shape: a.shape,
@@ -583,12 +591,12 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
583
591
  seriesIndex: o.seriesIndex
584
592
  }),
585
593
  onMouseleave: l[0] || (l[0] = (v) => {
586
- f.value = null, L.value = !1;
594
+ f.value = null, D.value = !1;
587
595
  }),
588
596
  style: z(`opacity:${f.value ? f.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
589
597
  onClick: () => et(s)
590
598
  }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
591
- p.value.showTooltip ? m("", !0) : (i(), u(C, { key: 0 }, [
599
+ p.value.showTooltip ? y("", !0) : (i(), u(C, { key: 0 }, [
592
600
  f.value && f.value === o.id && o.datapoints.length ? (i(), u("text", {
593
601
  key: 0,
594
602
  x: o.datapoints[0].x - c.value.ticksFontSize,
@@ -597,7 +605,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
597
605
  "font-size": c.value.ticksFontSize,
598
606
  fill: a.color,
599
607
  "font-weight": "bold"
600
- }, W(o.name), 9, Ut)) : m("", !0)
608
+ }, W(o.name), 9, jt)) : y("", !0)
601
609
  ], 64)),
602
610
  e.value.style.chart.comments.show ? (i(!0), u(C, { key: 1 }, I(o.datapoints, (s) => (i(), u("g", null, [
603
611
  s.comment ? (i(), u("foreignObject", {
@@ -608,21 +616,21 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
608
616
  x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
609
617
  y: s.y + e.value.style.chart.comments.offsetY + 6
610
618
  }, [
611
- R("div", jt, [
619
+ R("div", Gt, [
612
620
  g(t.$slots, "plot-comment", {
613
621
  plot: { ...s, color: a.color }
614
622
  }, void 0, !0)
615
623
  ])
616
- ], 8, Ht)) : m("", !0)
617
- ]))), 256)) : m("", !0)
618
- ])) : m("", !0),
624
+ ], 8, Xt)) : y("", !0)
625
+ ]))), 256)) : y("", !0)
626
+ ])) : y("", !0),
619
627
  p.value.dataLabels.show || f.value && f.value === o.id ? (i(!0), u(C, { key: 1 }, I(o.datapoints, (s, v) => (i(), u("text", {
620
628
  x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
621
629
  y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
622
630
  fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
623
631
  "text-anchor": "start",
624
632
  "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
625
- class: U({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
633
+ class: B({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
626
634
  "font-size": c.value.datapointFontSize,
627
635
  onMouseenter: (A) => H({
628
636
  shape: a.shape,
@@ -632,16 +640,16 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
632
640
  seriesIndex: o.seriesIndex
633
641
  }),
634
642
  onMouseleave: l[1] || (l[1] = (A) => {
635
- f.value = null, L.value = !1;
643
+ f.value = null, D.value = !1;
636
644
  }),
637
645
  style: z(`opacity:${f.value ? f.value === o.id ? 1 : 0.2 : 1}`)
638
- }, W(we({ value: s.value, index: v, datapoint: s })), 45, Xt))), 256)) : m("", !0),
646
+ }, W(Ce({ value: s.value, index: v, datapoint: s })), 45, Yt))), 256)) : y("", !0),
639
647
  R("path", {
640
648
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
641
649
  stroke: a.color,
642
650
  "stroke-width": e.value.style.chart.lines.strokeWidth,
643
651
  fill: "none",
644
- class: U({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
652
+ class: B({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
645
653
  onMouseenter: (s) => H({
646
654
  shape: a.shape,
647
655
  serieName: a.name,
@@ -650,17 +658,17 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
650
658
  seriesIndex: o.seriesIndex
651
659
  }),
652
660
  onMouseleave: l[2] || (l[2] = (s) => {
653
- f.value = null, L.value = !1;
661
+ f.value = null, D.value = !1;
654
662
  }),
655
663
  style: z(`opacity:${f.value ? f.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
656
- }, null, 46, Gt),
664
+ }, null, 46, qt),
657
665
  p.value.showTooltip ? (i(), u("path", {
658
666
  key: 2,
659
667
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
660
668
  stroke: "transparent",
661
669
  "stroke-width": 12,
662
670
  fill: "none",
663
- class: U({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
671
+ class: B({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
664
672
  onMouseenter: (s) => H({
665
673
  shape: a.shape,
666
674
  serieName: a.name,
@@ -669,18 +677,18 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
669
677
  seriesIndex: o.seriesIndex
670
678
  }),
671
679
  onMouseleave: l[3] || (l[3] = (s) => {
672
- f.value = null, L.value = !1;
680
+ f.value = null, D.value = !1;
673
681
  }),
674
682
  style: { opacity: "0" }
675
- }, null, 42, Yt)) : m("", !0)
683
+ }, null, 42, Jt)) : y("", !0)
676
684
  ]))), 256))
677
685
  ]))), 256)),
678
686
  g(t.$slots, "svg", { svg: r.value }, void 0, !0)
679
- ], 14, Pt)) : m("", !0),
680
- t.$slots.watermark ? (i(), u("div", qt, [
681
- g(t.$slots, "watermark", E(V({ isPrinting: d(me) || d(fe) })), void 0, !0)
682
- ])) : m("", !0),
683
- N.value ? m("", !0) : (i(), S(d(He), {
687
+ ], 14, Lt)) : y("", !0),
688
+ t.$slots.watermark ? (i(), u("div", Kt, [
689
+ g(t.$slots, "watermark", U(V({ isPrinting: d(fe) || d(ge) })), void 0, !0)
690
+ ])) : y("", !0),
691
+ P.value ? y("", !0) : (i(), S(d(je), {
684
692
  key: 6,
685
693
  config: {
686
694
  type: "parallelCoordinatePlot",
@@ -693,21 +701,21 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
693
701
  ref_key: "chartLegend",
694
702
  ref: se
695
703
  }, [
696
- e.value.style.chart.legend.show && N.value ? (i(), S(St, {
704
+ e.value.style.chart.legend.show && P.value ? (i(), S(It, {
697
705
  key: `legend_${re.value}`,
698
706
  legendSet: Ke.value,
699
707
  config: Qe.value,
700
708
  onClickMarker: l[4] || (l[4] = ({ legend: a }) => {
701
- xe(a.id), ze(a);
709
+ ke(a.id), Te(a);
702
710
  })
703
711
  }, {
704
712
  item: w(({ legend: a, index: o }) => [
705
713
  R("div", {
706
714
  onClick: (n) => {
707
- a.segregate(), ze(a);
715
+ a.segregate(), Te(a);
708
716
  },
709
717
  style: z(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
710
- }, W(a.name), 13, Jt)
718
+ }, W(a.name), 13, Qt)
711
719
  ]),
712
720
  _: 1
713
721
  }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
@@ -722,9 +730,9 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
722
730
  dir: "auto"
723
731
  }, [
724
732
  g(t.$slots, "source", {}, void 0, !0)
725
- ], 512)) : m("", !0),
726
- Ie(d(je), {
727
- show: p.value.showTooltip && L.value,
733
+ ], 512)) : y("", !0),
734
+ _e(d(Xe), {
735
+ show: p.value.showTooltip && D.value,
728
736
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
729
737
  color: e.value.style.chart.tooltip.color,
730
738
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -734,20 +742,20 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
734
742
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
735
743
  position: e.value.style.chart.tooltip.position,
736
744
  offsetY: e.value.style.chart.tooltip.offsetY,
737
- parent: B.value,
745
+ parent: _.value,
738
746
  content: ee.value,
739
- isFullscreen: P.value,
740
- isCustom: d(Ne)(e.value.style.chart.tooltip.customFormat)
747
+ isFullscreen: O.value,
748
+ isCustom: d(Pe)(e.value.style.chart.tooltip.customFormat)
741
749
  }, {
742
750
  "tooltip-before": w(() => [
743
- g(t.$slots, "tooltip-before", E(V({ ...Z.value })), void 0, !0)
751
+ g(t.$slots, "tooltip-before", U(V({ ...Z.value })), void 0, !0)
744
752
  ]),
745
753
  "tooltip-after": w(() => [
746
- g(t.$slots, "tooltip-after", E(V({ ...Z.value })), void 0, !0)
754
+ g(t.$slots, "tooltip-after", U(V({ ...Z.value })), void 0, !0)
747
755
  ]),
748
756
  _: 3
749
757
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
750
- N.value ? (i(), S(d(Ve), {
758
+ P.value ? (i(), S(d(Ve), {
751
759
  key: 8,
752
760
  hideDetails: "",
753
761
  config: {
@@ -766,27 +774,27 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
766
774
  content: w(() => [
767
775
  (i(), S(d(We), {
768
776
  key: `table_${ce.value}`,
769
- colNames: D.value.colNames,
770
- head: D.value.head,
771
- body: D.value.body,
772
- config: D.value.config,
777
+ colNames: E.value.colNames,
778
+ head: E.value.head,
779
+ body: E.value.body,
780
+ config: E.value.config,
773
781
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
774
782
  onClose: l[5] || (l[5] = (a) => p.value.showTable = !1)
775
783
  }, {
776
784
  th: w(({ th: a }) => [
777
- R("div", { innerHTML: a }, null, 8, Kt)
785
+ R("div", { innerHTML: a }, null, 8, Zt)
778
786
  ]),
779
787
  td: w(({ td: a }) => [
780
- it(W(a), 1)
788
+ ut(W(a), 1)
781
789
  ]),
782
790
  _: 1
783
791
  }, 8, ["colNames", "head", "body", "config", "title"]))
784
792
  ]),
785
793
  _: 1
786
- }, 8, ["config"])) : m("", !0)
787
- ], 46, Nt));
794
+ }, 8, ["config"])) : y("", !0)
795
+ ], 46, Ot));
788
796
  }
789
- }, ca = /* @__PURE__ */ _t(Qt, [["__scopeId", "data-v-e010d234"]]);
797
+ }, ha = /* @__PURE__ */ Pt(ea, [["__scopeId", "data-v-3a6c4c58"]]);
790
798
  export {
791
- ca as default
799
+ ha as default
792
800
  };