vue-data-ui 2.17.0 → 2.17.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.
Files changed (91) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-Cde-wJ3N.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +63 -160
  23. package/dist/types/vue-data-ui.d.ts +63 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-D7ZgRDQ_.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-ORUAjkg7.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-Yl4aRpNc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-C307lCPt.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-BE6PcEdh.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CUw74AgC.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-CCPGeAiY.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-dfyPiQmy.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-CKa7nFjt.js → vue-ui-donut-D41WeqQU.js} +244 -243
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-Deg0dsYg.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-DDwNoTPG.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-6oR7IMyi.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BnXtOJmh.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-75XC8SpV.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-w31j915C.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-BfU62tMW.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-CFfco-Yj.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-Tdk3Gd8M.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-Dg5wS7W5.js} +126 -119
  55. package/dist/{vue-ui-nested-donuts-D0RgFifU.js → vue-ui-nested-donuts-CpRe0sQB.js} +244 -244
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-B8o4ft2v.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-DiRtZ16w.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-BRlYC_yT.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-DKgX1Ibx.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-MHiAp8dC.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-DA8verAe.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-Dh6lFqun.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-CLC5sTOi.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-C6rjCYDD.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-B6cYojHQ.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-D-oiVT3n.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-B1bM9Aoo.js} +127 -120
  82. package/dist/vue-ui-treemap-DX48YlU5.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-6SjKPQWR.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-CYao9MMw.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-USuDhMwW.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-TOBTs7yF.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-C2qikqBa.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-DxwgKoO-.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-N69OpVn8.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,16 +1,16 @@
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";
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 W, createBlock as I, createCommentVNode as m, createElementVNode as E, createVNode as _e, createSlots as it, withCtx as w, renderSlot as g, normalizeProps as B, guardReactiveProps as U, Fragment as C, renderList as _, toDisplayString as V, 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 yt, D as mt, 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-CobsZUkv.js";
3
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";
4
+ import { u as De } from "./useNestedProp-BwL5wmVa.js";
5
+ import { u as Tt } from "./usePrinter-DPh6U_Qk.js";
6
6
  import { u as Mt } from "./useUserOptionState-BIvW1Kz7.js";
7
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";
8
+ import St from "./Title-DpERl1yr.js";
9
+ import It from "./Legend-3LNqqLDg.js";
10
+ import { _ as _t } from "./Shape-C75836Jl.js";
11
+ import Nt from "./img-utitT2Gd.js";
12
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
+ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"], Rt = { style: { "pointer-events": "none" } }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = ["x", "y", "fill", "font-size", "font-weight"], Ut = ["x", "y", "fill", "font-size", "font-weight", "innerHTML"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["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 = {
14
14
  key: 5,
15
15
  class: "vue-data-ui-watermark"
16
16
  }, Qt = ["onClick"], Zt = ["innerHTML"], ea = {
@@ -30,23 +30,23 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
30
30
  }
31
31
  },
32
32
  emits: ["selectLegend", "selectDatapoint"],
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({
33
+ setup(Re, { expose: Ee, emit: Be }) {
34
+ const Ue = N(() => import("./vue-ui-accordion-UewqY6OI.js")), Ve = N(() => import("./DataTable-Dt-TIOyY.js")), We = N(() => import("./PackageVersion-C-4Ee8BQ.js")), He = N(() => import("./PenAndPaper-Cde-wJ3N.js")), je = N(() => import("./vue-ui-skeleton-8s4xts8z.js")), Xe = N(() => import("./Tooltip-DA0bYKFG.js")), Ge = N(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_parallel_coordinate_plot: Ye } = rt(), T = Re, P = x({
35
35
  get() {
36
36
  return !!T.dataset && T.dataset.length;
37
37
  },
38
38
  set(t) {
39
39
  return t;
40
40
  }
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);
41
+ }), le = h(0), M = 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
42
  function ve(t) {
43
43
  O.value = t, le.value += 1;
44
44
  }
45
45
  const e = x({
46
- get: () => me(),
46
+ get: () => ye(),
47
47
  set: (t) => t
48
48
  }), { userOptionsVisible: J, setUserOptionsVisibility: de, keepUserOptionState: he } = Mt({ config: e.value }), { svgRef: pe } = Ft({ config: e.value.style.chart.title });
49
- function me() {
49
+ function ye() {
50
50
  const t = De({
51
51
  userConfig: T.config,
52
52
  defaultConfig: Ye
@@ -60,13 +60,13 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
60
60
  } : t;
61
61
  }
62
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
+ e.value = ye(), J.value = !e.value.userOptions.showOnChartHover, me(), 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;
64
64
  }, { deep: !0 });
65
- const M = Ie(null), L = Ie(null);
65
+ const F = Ie(null), L = Ie(null);
66
66
  st(() => {
67
- ye();
67
+ me();
68
68
  });
69
- function ye() {
69
+ function me() {
70
70
  if (dt(T.dataset) ? Ne({
71
71
  componentName: "VueUiParallelCoordinatePlot",
72
72
  type: "dataset"
@@ -85,7 +85,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
85
85
  }), e.value.responsive) {
86
86
  const t = At(() => {
87
87
  const { width: l, height: a } = zt({
88
- chart: _.value,
88
+ chart: M.value,
89
89
  title: e.value.style.chart.title.text ? oe.value : null,
90
90
  legend: e.value.style.chart.legend.show ? se.value : null,
91
91
  source: ne.value,
@@ -119,11 +119,11 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
119
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);
120
120
  });
121
121
  });
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
+ F.value && (L.value && F.value.unobserve(L.value), F.value.disconnect()), F.value = new ResizeObserver(t), L.value = M.value.parentNode, F.value.observe(L.value);
123
123
  }
124
124
  }
125
125
  nt(() => {
126
- M.value && (L.value && M.value.unobserve(L.value), M.value.disconnect());
126
+ F.value && (L.value && F.value.unobserve(L.value), F.value.disconnect());
127
127
  });
128
128
  const { isPrinting: fe, isImaging: ge, generatePdf: be, generateImage: xe } = Tt({
129
129
  elementId: `pcp_${q.value}`,
@@ -160,8 +160,8 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
160
160
  function ke(t) {
161
161
  $.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
162
162
  }
163
- const F = x(() => T.dataset.map((t, l) => {
164
- const a = mt(t.color) || Je.value[l] || G[l] || G[l % G.length];
163
+ const S = x(() => T.dataset.map((t, l) => {
164
+ const a = yt(t.color) || Je.value[l] || G[l] || G[l % G.length];
165
165
  return {
166
166
  ...t,
167
167
  series: t.series.map((o) => ({
@@ -174,7 +174,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
174
174
  id: ae(),
175
175
  shape: t.shape || "circle"
176
176
  };
177
- })), Ke = x(() => F.value.map((t) => ({
177
+ })), Ke = x(() => S.value.map((t) => ({
178
178
  ...t,
179
179
  opacity: $.value.includes(t.id) ? 0.5 : 1,
180
180
  segregate: () => ke(t.id),
@@ -187,16 +187,16 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
187
187
  paddingBottom: 12,
188
188
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
189
189
  })), we = x(() => Math.max(
190
- ...F.value.filter((t) => !$.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
191
- )), k = x(() => r.value.width / we.value), K = x(() => F.value.filter((t) => !$.value.includes(t.id))), b = x(() => {
190
+ ...S.value.filter((t) => !$.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
191
+ )), k = x(() => r.value.width / we.value), K = x(() => S.value.filter((t) => !$.value.includes(t.id))), b = x(() => {
192
192
  let t = [];
193
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);
194
+ 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 = mt(n, s, e.value.style.chart.yAxis.scaleTicks), A = v.ticks.map((y, X) => {
195
+ const at = v.min < 0 ? y + Math.abs(v.min) : y - Math.abs(v.min), lt = v.min < 0 ? v.max + Math.abs(v.min) : v.max - Math.abs(v.min);
196
196
  return {
197
197
  y: r.value.bottom - r.value.height * (at / lt),
198
198
  x: r.value.left + k.value * l + k.value / 2,
199
- value: m
199
+ value: y
200
200
  };
201
201
  });
202
202
  t.push({
@@ -252,46 +252,46 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
252
252
  }
253
253
  const f = h(null), Z = h(null), D = h(!1), ee = h("");
254
254
  function H({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
255
- Z.value = { serie: a, relativeIndex: o, seriesIndex: n, series: F.value, scales: b.value }, D.value = !0, f.value = a.id;
255
+ Z.value = { serie: a, relativeIndex: o, seriesIndex: n, series: S.value, scales: b.value }, D.value = !0, f.value = a.id;
256
256
  let s = "";
257
257
  const v = e.value.style.chart.tooltip.customFormat;
258
258
  Pe(v) && $t(() => v({
259
259
  serie: a,
260
260
  seriesIndex: a.seriesIndex,
261
- series: F.value,
261
+ series: S.value,
262
262
  config: e.value,
263
263
  scales: b.value
264
264
  })) ? ee.value = v({
265
265
  serie: a,
266
266
  seriesIndex: a.seriesIndex,
267
- series: F.value,
267
+ series: S.value,
268
268
  config: e.value,
269
269
  scales: b.value
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
+ }) : (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) => {
271
271
  s += `
272
272
  <div class="vue-ui-tooltip-item" style="text-align:left">
273
273
  <span>${A}: </span>
274
274
  <span>
275
275
  ${Oe(
276
- e.value.style.chart.yAxis.labels.formatters[m] || null,
277
- a.datapoints[m].value,
276
+ e.value.style.chart.yAxis.labels.formatters[y] || null,
277
+ a.datapoints[y].value,
278
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] || ""
279
+ p: e.value.style.chart.yAxis.labels.prefixes[y] || "",
280
+ v: a.datapoints[y].value,
281
+ s: e.value.style.chart.yAxis.labels.suffixes[y] || "",
282
+ r: e.value.style.chart.yAxis.labels.roundings[y] || ""
283
283
  }),
284
- { datapoint: a.datapoints[m], seriesIndex: m }
284
+ { datapoint: a.datapoints[y], seriesIndex: y }
285
285
  )}
286
286
  </span>
287
287
  </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
+ `, 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>`);
289
289
  }), ee.value = `<div>${s}</div>`);
290
290
  }
291
291
  function Ze() {
292
- return F.value;
292
+ return S.value;
293
293
  }
294
- const E = x(() => {
294
+ const R = x(() => {
295
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 = {
296
296
  th: {
297
297
  backgroundColor: e.value.table.th.backgroundColor,
@@ -312,14 +312,14 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
312
312
  colNames: o
313
313
  };
314
314
  }), $e = x(() => Q.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
315
- head: E.value.head,
316
- body: E.value.body
315
+ head: R.value.head,
316
+ body: R.value.body
317
317
  });
318
318
  function Ae(t = null) {
319
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
320
  t ? t(s) : Ct({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
321
321
  }
322
- const ze = Ue;
322
+ const ze = Be;
323
323
  function et(t) {
324
324
  ze("selectDatapoint", t);
325
325
  }
@@ -344,11 +344,18 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
344
344
  j.value = !j.value;
345
345
  }
346
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 };
347
+ if (!M.value) return;
348
+ const { width: l, height: a } = M.value.getBoundingClientRect(), o = l / a, { imageUri: n, base64: s } = await Nt({ domElement: M.value, base64: !0, img: !0, scale: t });
349
+ return {
350
+ imageUri: n,
351
+ base64: s,
352
+ title: e.value.style.chart.title.text,
353
+ width: l,
354
+ height: a,
355
+ aspectRatio: o
356
+ };
350
357
  }
351
- return Re({
358
+ return Ee({
352
359
  getData: Ze,
353
360
  getImage: tt,
354
361
  generateCsv: Ae,
@@ -361,35 +368,35 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
361
368
  toggleFullscreen: ve
362
369
  }), (t, l) => (i(), u("div", {
363
370
  ref_key: "pcpChart",
364
- ref: _,
365
- class: B(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
371
+ ref: M,
372
+ class: W(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
366
373
  style: z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
367
374
  id: `pcp_${q.value}`,
368
375
  onMouseenter: l[6] || (l[6] = () => d(de)(!0)),
369
376
  onMouseleave: l[7] || (l[7] = () => d(de)(!1))
370
377
  }, [
371
- e.value.userOptions.buttons.annotator ? (i(), S(d(He), {
378
+ e.value.userOptions.buttons.annotator ? (i(), I(d(He), {
372
379
  key: 0,
373
380
  svgRef: d(pe),
374
381
  backgroundColor: e.value.style.chart.backgroundColor,
375
382
  color: e.value.style.chart.color,
376
383
  active: j.value,
377
384
  onClose: te
378
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
385
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
379
386
  qe.value ? (i(), u("div", {
380
387
  key: 1,
381
388
  ref_key: "noTitle",
382
389
  ref: ie,
383
390
  class: "vue-data-ui-no-title-space",
384
391
  style: "height:36px; width: 100%;background:transparent"
385
- }, null, 512)) : y("", !0),
392
+ }, null, 512)) : m("", !0),
386
393
  e.value.style.chart.title.text ? (i(), u("div", {
387
394
  key: 2,
388
395
  ref_key: "chartTitle",
389
396
  ref: oe,
390
397
  style: "width:100%;background:transparent;padding-bottom:24px"
391
398
  }, [
392
- (i(), S(St, {
399
+ (i(), I(St, {
393
400
  key: `title_${ue.value}`,
394
401
  config: {
395
402
  title: {
@@ -402,8 +409,8 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
402
409
  }
403
410
  }
404
411
  }, null, 8, ["config"]))
405
- ], 512)) : y("", !0),
406
- e.value.userOptions.show && P.value && (d(he) || d(J)) ? (i(), S(d(Ge), {
412
+ ], 512)) : m("", !0),
413
+ e.value.userOptions.show && P.value && (d(he) || d(J)) ? (i(), I(d(Ge), {
407
414
  ref: "details",
408
415
  key: `user_options_${le.value}`,
409
416
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -421,7 +428,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
421
428
  isFullscreen: O.value,
422
429
  isTooltip: p.value.showTooltip,
423
430
  titles: { ...e.value.userOptions.buttonTitles },
424
- chartElement: _.value,
431
+ chartElement: M.value,
425
432
  position: e.value.userOptions.position,
426
433
  hasAnnotator: e.value.userOptions.buttons.annotator,
427
434
  isAnnotation: j.value,
@@ -442,7 +449,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
442
449
  t.$slots.menuIcon ? {
443
450
  name: "menuIcon",
444
451
  fn: w(({ isOpen: a, color: o }) => [
445
- g(t.$slots, "menuIcon", U(V({ isOpen: a, color: o })), void 0, !0)
452
+ g(t.$slots, "menuIcon", B(U({ isOpen: a, color: o })), void 0, !0)
446
453
  ]),
447
454
  key: "0"
448
455
  } : void 0,
@@ -484,28 +491,28 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
484
491
  t.$slots.optionFullscreen ? {
485
492
  name: "optionFullscreen",
486
493
  fn: w(({ toggleFullscreen: a, isFullscreen: o }) => [
487
- g(t.$slots, "optionFullscreen", U(V({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
494
+ g(t.$slots, "optionFullscreen", B(U({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
488
495
  ]),
489
496
  key: "6"
490
497
  } : void 0,
491
498
  t.$slots.optionAnnotator ? {
492
499
  name: "optionAnnotator",
493
500
  fn: w(({ toggleAnnotator: a, isAnnotator: o }) => [
494
- g(t.$slots, "optionAnnotator", U(V({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
501
+ g(t.$slots, "optionAnnotator", B(U({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
495
502
  ]),
496
503
  key: "7"
497
504
  } : void 0
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),
505
+ ]), 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),
499
506
  P.value ? (i(), u("svg", {
500
507
  key: 4,
501
508
  ref_key: "svgRef",
502
509
  ref: pe,
503
510
  xmlns: d(xt),
504
- class: B({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
511
+ class: W({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
505
512
  viewBox: `0 0 ${r.value.chartWidth <= 0 ? 10 : r.value.chartWidth} ${r.value.chartHeight <= 0 ? 10 : r.value.chartHeight}`,
506
513
  style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
507
514
  }, [
508
- _e(d(Be)),
515
+ _e(d(We)),
509
516
  t.$slots["chart-background"] ? (i(), u("foreignObject", {
510
517
  key: 0,
511
518
  x: r.value.left,
@@ -517,16 +524,16 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
517
524
  }
518
525
  }, [
519
526
  g(t.$slots, "chart-background", {}, void 0, !0)
520
- ], 8, Dt)) : y("", !0),
521
- (i(!0), u(C, null, I(b.value, (a, o) => (i(), u("g", Et, [
522
- R("line", {
527
+ ], 8, Dt)) : m("", !0),
528
+ (i(!0), u(C, null, _(b.value, (a, o) => (i(), u("g", Rt, [
529
+ E("line", {
523
530
  x1: r.value.left + k.value * o + k.value / 2,
524
531
  x2: r.value.left + k.value * o + k.value / 2,
525
532
  y1: r.value.top,
526
533
  y2: r.value.bottom,
527
534
  stroke: e.value.style.chart.yAxis.stroke,
528
535
  "stroke-width": e.value.style.chart.yAxis.strokeWidth
529
- }, null, 8, Rt),
536
+ }, null, 8, Et),
530
537
  String(a.name).includes(`
531
538
  `) ? (i(), u("text", {
532
539
  key: 1,
@@ -543,7 +550,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
543
550
  x: r.value.left + k.value * o + k.value / 2,
544
551
  y: r.value.top - 24
545
552
  })
546
- }, null, 8, Vt)) : (i(), u("text", {
553
+ }, null, 8, Ut)) : (i(), u("text", {
547
554
  key: 0,
548
555
  x: r.value.left + k.value * o + k.value / 2,
549
556
  y: r.value.top - 24,
@@ -551,9 +558,9 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
551
558
  "font-size": c.value.axisNameFontSize,
552
559
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
553
560
  "text-anchor": "middle"
554
- }, W(a.name), 9, Ut)),
561
+ }, V(a.name), 9, Bt)),
555
562
  e.value.style.chart.yAxis.labels.ticks.show ? (i(), u(C, { key: 2 }, [
556
- (i(!0), u(C, null, I(a.ticks, (n) => (i(), u("line", {
563
+ (i(!0), u(C, null, _(a.ticks, (n) => (i(), u("line", {
557
564
  x1: n.x,
558
565
  x2: n.x - 10,
559
566
  y1: n.y,
@@ -561,8 +568,8 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
561
568
  stroke: e.value.style.chart.yAxis.stroke,
562
569
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
563
570
  style: z(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
564
- }, null, 12, Wt))), 256)),
565
- (i(!0), u(C, null, I(a.ticks, (n) => (i(), u("text", {
571
+ }, null, 12, Vt))), 256)),
572
+ (i(!0), u(C, null, _(a.ticks, (n) => (i(), u("text", {
566
573
  x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
567
574
  y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
568
575
  fill: e.value.style.chart.yAxis.labels.ticks.color,
@@ -570,13 +577,13 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
570
577
  "font-size": c.value.ticksFontSize,
571
578
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
572
579
  style: z(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
573
- }, W(Ce({ value: n.value, index: o, datapoint: n })), 13, Bt))), 256))
574
- ], 64)) : y("", !0)
580
+ }, V(Ce({ value: n.value, index: o, datapoint: n })), 13, Wt))), 256))
581
+ ], 64)) : m("", !0)
575
582
  ]))), 256)),
576
- (i(!0), u(C, null, I(Q.value, (a) => (i(), u("g", null, [
577
- (i(!0), u(C, null, I(a.series, (o, n) => (i(), u("g", null, [
583
+ (i(!0), u(C, null, _(Q.value, (a) => (i(), u("g", null, [
584
+ (i(!0), u(C, null, _(a.series, (o, n) => (i(), u("g", null, [
578
585
  e.value.style.chart.plots.show ? (i(), u("g", Ht, [
579
- (i(!0), u(C, null, I(o.datapoints, (s) => (i(), S(_t, {
586
+ (i(!0), u(C, null, _(o.datapoints, (s) => (i(), I(_t, {
580
587
  plot: { x: s.x, y: s.y },
581
588
  color: a.color,
582
589
  shape: a.shape,
@@ -596,7 +603,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
596
603
  style: z(`opacity:${f.value ? f.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
597
604
  onClick: () => et(s)
598
605
  }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
599
- p.value.showTooltip ? y("", !0) : (i(), u(C, { key: 0 }, [
606
+ p.value.showTooltip ? m("", !0) : (i(), u(C, { key: 0 }, [
600
607
  f.value && f.value === o.id && o.datapoints.length ? (i(), u("text", {
601
608
  key: 0,
602
609
  x: o.datapoints[0].x - c.value.ticksFontSize,
@@ -605,9 +612,9 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
605
612
  "font-size": c.value.ticksFontSize,
606
613
  fill: a.color,
607
614
  "font-weight": "bold"
608
- }, W(o.name), 9, jt)) : y("", !0)
615
+ }, V(o.name), 9, jt)) : m("", !0)
609
616
  ], 64)),
610
- e.value.style.chart.comments.show ? (i(!0), u(C, { key: 1 }, I(o.datapoints, (s) => (i(), u("g", null, [
617
+ e.value.style.chart.comments.show ? (i(!0), u(C, { key: 1 }, _(o.datapoints, (s) => (i(), u("g", null, [
611
618
  s.comment ? (i(), u("foreignObject", {
612
619
  key: 0,
613
620
  style: { overflow: "visible" },
@@ -616,21 +623,21 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
616
623
  x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
617
624
  y: s.y + e.value.style.chart.comments.offsetY + 6
618
625
  }, [
619
- R("div", Gt, [
626
+ E("div", Gt, [
620
627
  g(t.$slots, "plot-comment", {
621
628
  plot: { ...s, color: a.color }
622
629
  }, void 0, !0)
623
630
  ])
624
- ], 8, Xt)) : y("", !0)
625
- ]))), 256)) : y("", !0)
626
- ])) : y("", !0),
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", {
631
+ ], 8, Xt)) : m("", !0)
632
+ ]))), 256)) : m("", !0)
633
+ ])) : m("", !0),
634
+ p.value.dataLabels.show || f.value && f.value === o.id ? (i(!0), u(C, { key: 1 }, _(o.datapoints, (s, v) => (i(), u("text", {
628
635
  x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
629
636
  y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
630
637
  fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
631
638
  "text-anchor": "start",
632
639
  "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
633
- class: B({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
640
+ class: W({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
634
641
  "font-size": c.value.datapointFontSize,
635
642
  onMouseenter: (A) => H({
636
643
  shape: a.shape,
@@ -643,13 +650,13 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
643
650
  f.value = null, D.value = !1;
644
651
  }),
645
652
  style: z(`opacity:${f.value ? f.value === o.id ? 1 : 0.2 : 1}`)
646
- }, W(Ce({ value: s.value, index: v, datapoint: s })), 45, Yt))), 256)) : y("", !0),
647
- R("path", {
653
+ }, V(Ce({ value: s.value, index: v, datapoint: s })), 45, Yt))), 256)) : m("", !0),
654
+ E("path", {
648
655
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
649
656
  stroke: a.color,
650
657
  "stroke-width": e.value.style.chart.lines.strokeWidth,
651
658
  fill: "none",
652
- class: B({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
659
+ class: W({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
653
660
  onMouseenter: (s) => H({
654
661
  shape: a.shape,
655
662
  serieName: a.name,
@@ -668,7 +675,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
668
675
  stroke: "transparent",
669
676
  "stroke-width": 12,
670
677
  fill: "none",
671
- class: B({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
678
+ class: W({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
672
679
  onMouseenter: (s) => H({
673
680
  shape: a.shape,
674
681
  serieName: a.name,
@@ -680,15 +687,15 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
680
687
  f.value = null, D.value = !1;
681
688
  }),
682
689
  style: { opacity: "0" }
683
- }, null, 42, Jt)) : y("", !0)
690
+ }, null, 42, Jt)) : m("", !0)
684
691
  ]))), 256))
685
692
  ]))), 256)),
686
693
  g(t.$slots, "svg", { svg: r.value }, void 0, !0)
687
- ], 14, Lt)) : y("", !0),
694
+ ], 14, Lt)) : m("", !0),
688
695
  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), {
696
+ g(t.$slots, "watermark", B(U({ isPrinting: d(fe) || d(ge) })), void 0, !0)
697
+ ])) : m("", !0),
698
+ P.value ? m("", !0) : (i(), I(d(je), {
692
699
  key: 6,
693
700
  config: {
694
701
  type: "parallelCoordinatePlot",
@@ -697,11 +704,11 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
697
704
  }
698
705
  }
699
706
  }, null, 8, ["config"])),
700
- R("div", {
707
+ E("div", {
701
708
  ref_key: "chartLegend",
702
709
  ref: se
703
710
  }, [
704
- e.value.style.chart.legend.show && P.value ? (i(), S(It, {
711
+ e.value.style.chart.legend.show && P.value ? (i(), I(It, {
705
712
  key: `legend_${re.value}`,
706
713
  legendSet: Ke.value,
707
714
  config: Qe.value,
@@ -710,17 +717,17 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
710
717
  })
711
718
  }, {
712
719
  item: w(({ legend: a, index: o }) => [
713
- R("div", {
720
+ E("div", {
714
721
  onClick: (n) => {
715
722
  a.segregate(), Te(a);
716
723
  },
717
724
  style: z(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
718
- }, W(a.name), 13, Qt)
725
+ }, V(a.name), 13, Qt)
719
726
  ]),
720
727
  _: 1
721
728
  }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
722
729
  key: 1,
723
- legend: F.value
730
+ legend: S.value
724
731
  }, void 0, !0)
725
732
  ], 512),
726
733
  t.$slots.source ? (i(), u("div", {
@@ -730,7 +737,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
730
737
  dir: "auto"
731
738
  }, [
732
739
  g(t.$slots, "source", {}, void 0, !0)
733
- ], 512)) : y("", !0),
740
+ ], 512)) : m("", !0),
734
741
  _e(d(Xe), {
735
742
  show: p.value.showTooltip && D.value,
736
743
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -742,20 +749,20 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
742
749
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
743
750
  position: e.value.style.chart.tooltip.position,
744
751
  offsetY: e.value.style.chart.tooltip.offsetY,
745
- parent: _.value,
752
+ parent: M.value,
746
753
  content: ee.value,
747
754
  isFullscreen: O.value,
748
755
  isCustom: d(Pe)(e.value.style.chart.tooltip.customFormat)
749
756
  }, {
750
757
  "tooltip-before": w(() => [
751
- g(t.$slots, "tooltip-before", U(V({ ...Z.value })), void 0, !0)
758
+ g(t.$slots, "tooltip-before", B(U({ ...Z.value })), void 0, !0)
752
759
  ]),
753
760
  "tooltip-after": w(() => [
754
- g(t.$slots, "tooltip-after", U(V({ ...Z.value })), void 0, !0)
761
+ g(t.$slots, "tooltip-after", B(U({ ...Z.value })), void 0, !0)
755
762
  ]),
756
763
  _: 3
757
764
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
758
- P.value ? (i(), S(d(Ve), {
765
+ P.value ? (i(), I(d(Ue), {
759
766
  key: 8,
760
767
  hideDetails: "",
761
768
  config: {
@@ -772,29 +779,29 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
772
779
  }
773
780
  }, {
774
781
  content: w(() => [
775
- (i(), S(d(We), {
782
+ (i(), I(d(Ve), {
776
783
  key: `table_${ce.value}`,
777
- colNames: E.value.colNames,
778
- head: E.value.head,
779
- body: E.value.body,
780
- config: E.value.config,
784
+ colNames: R.value.colNames,
785
+ head: R.value.head,
786
+ body: R.value.body,
787
+ config: R.value.config,
781
788
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
782
789
  onClose: l[5] || (l[5] = (a) => p.value.showTable = !1)
783
790
  }, {
784
791
  th: w(({ th: a }) => [
785
- R("div", { innerHTML: a }, null, 8, Zt)
792
+ E("div", { innerHTML: a }, null, 8, Zt)
786
793
  ]),
787
794
  td: w(({ td: a }) => [
788
- ut(W(a), 1)
795
+ ut(V(a), 1)
789
796
  ]),
790
797
  _: 1
791
798
  }, 8, ["colNames", "head", "body", "config", "title"]))
792
799
  ]),
793
800
  _: 1
794
- }, 8, ["config"])) : y("", !0)
801
+ }, 8, ["config"])) : m("", !0)
795
802
  ], 46, Ot));
796
803
  }
797
- }, ha = /* @__PURE__ */ Pt(ea, [["__scopeId", "data-v-3a6c4c58"]]);
804
+ }, ha = /* @__PURE__ */ Pt(ea, [["__scopeId", "data-v-6d00a0ec"]]);
798
805
  export {
799
806
  ha as default
800
807
  };