vue-data-ui 2.16.5 → 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 +85 -55
  2. package/dist/{Arrow-D9B36pfx.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-B6MXw9cG.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-DoxQwq_u.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-CrstrfQ9.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-Bd0AkciG.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-BQLtfM0P.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-DMGkAAIO.js → UserOptions-Dd34lEKb.js} +137 -129
  17. package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/img-Y_hYz-ZC.js +27 -0
  19. package/dist/{index-CZNLCg7T.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DJVOD0cz.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1098 -162
  23. package/dist/types/vue-data-ui.d.ts +1098 -162
  24. package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-ButWuZVm.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-o8P0DCbz.js → vue-ui-3d-bar-D5Wpdqfk.js} +244 -235
  29. package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-BuAl-zC5.js} +167 -158
  31. package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-D-VMKpwe.js} +131 -122
  33. package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-1r6YwiUV.js} +248 -239
  34. package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-B6UJoNtP.js} +17 -16
  35. package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DnlBYpC5.js} +257 -248
  36. package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-D3kpzYjp.js} +229 -220
  37. package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-CHgdpoYu.js} +200 -191
  38. package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-CKa7nFjt.js} +352 -343
  42. package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-qeBEA4W8.js} +267 -258
  43. package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-Bm0PvAKT.js} +146 -137
  44. package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-C2dqXvrU.js} +171 -162
  45. package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Dvy5rRld.js} +134 -125
  46. package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-Y8LYp5n2.js} +181 -172
  47. package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-BBo0jWAP.js} +166 -157
  48. package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-BbxRpltP.js} +242 -229
  50. package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-ChYf3Nvc.js} +218 -209
  51. package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-B7Yu7vzF.js} +155 -146
  54. package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-C8JUTwNw.js} +130 -121
  55. package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D0RgFifU.js} +255 -246
  56. package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-D4U7TL_N.js} +150 -141
  57. package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +194 -185
  58. package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-B13pTVVZ.js} +248 -239
  59. package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-C0UL4o63.js} +328 -319
  60. package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-XpdiXnhz.js} +165 -156
  61. package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CYoFNekk.js} +145 -136
  63. package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-QUquE6ck.js} +198 -189
  64. package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-DwT0IfOh.js} +136 -127
  65. package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-zDpy1udm.js} +207 -199
  66. package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-C3aV4IcL.js} +242 -233
  75. package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -195
  76. package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-Dyqj5XJC.js} +26 -25
  78. package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-D4RubyLj.js} +8 -7
  79. package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-B0FKI5cG.js} +149 -140
  80. package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-CRt4UQZD.js} +114 -105
  82. package/dist/{vue-ui-treemap-DzJsjtz7.js → vue-ui-treemap-CWP5nYDx.js} +298 -289
  83. package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-C5fPYltO.js} +294 -285
  84. package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-BpWLlfpg.js} +190 -181
  85. package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-CTzuCroy.js} +96 -87
  86. package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-BPokdaP1.js} +212 -203
  87. package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-CS6k-oil.js} +201 -192
  88. package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-CQ425kLR.js} +517 -510
  89. package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-D2IFwAr7.js} +364 -355
  90. package/package.json +1 -1
  91. package/dist/img-CTC5DLKL.js +0 -20
  92. package/dist/vue-data-ui-BB8Upnjm.js +0 -301
@@ -1,18 +1,19 @@
1
- import { defineAsyncComponent as _, computed as x, ref as h, watch as lt, shallowRef as Ie, onMounted as ot, onBeforeUnmount as st, createElementBlock as u, openBlock as i, unref as d, normalizeStyle as z, normalizeClass as U, createBlock as I, createCommentVNode as m, createElementVNode as R, createVNode as Se, createSlots as nt, withCtx as w, renderSlot as g, normalizeProps as E, guardReactiveProps as V, Fragment as C, renderList as S, 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-CZNLCg7T.js";
3
- import { t as $t, u as At } from "./useResponsive-DfdjqQps.js";
4
- import { u as Le } from "./useNestedProp-BcPDA6Xr.js";
5
- import { u as zt } from "./usePrinter-ButWuZVm.js";
6
- import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Ft from "./Title-BQLtfM0P.js";
9
- import It from "./Legend-DoxQwq_u.js";
10
- import { _ as St } from "./Shape-CrstrfQ9.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-CO4hmfuX.js")), We = _(() => import("./DataTable-B6MXw9cG.js")), Be = _(() => import("./PackageVersion-DCreTQN4.js")), Ue = _(() => import("./PenAndPaper-BS60tkQN.js")), He = _(() => import("./vue-ui-skeleton-D9B8DY_k.js")), je = _(() => import("./Tooltip-5JmGL7sR.js")), Xe = _(() => import("./UserOptions-DMGkAAIO.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 = Ie(null), O = Ie(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(), I(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(), I(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(), I(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,30 +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
- onToggleFullscreen: Ye,
422
- onGeneratePdf: d(ge),
423
- onGenerateCsv: $e,
424
- onGenerateImage: d(be),
425
- onToggleTable: Te,
426
- onToggleLabels: Me,
427
- onToggleTooltip: Fe,
429
+ printScale: e.value.userOptions.print.scale,
430
+ onToggleFullscreen: ve,
431
+ onGeneratePdf: d(be),
432
+ onGenerateCsv: Ae,
433
+ onGenerateImage: d(xe),
434
+ onToggleTable: Me,
435
+ onToggleLabels: Fe,
436
+ onToggleTooltip: Se,
428
437
  onToggleAnnotator: te,
429
438
  style: z({
430
- visibility: d(de) ? d(J) ? "visible" : "hidden" : "visible"
439
+ visibility: d(he) ? d(J) ? "visible" : "hidden" : "visible"
431
440
  })
432
- }, nt({ _: 2 }, [
441
+ }, it({ _: 2 }, [
433
442
  t.$slots.menuIcon ? {
434
443
  name: "menuIcon",
435
444
  fn: w(({ isOpen: a, color: o }) => [
436
- 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)
437
446
  ]),
438
447
  key: "0"
439
448
  } : void 0,
@@ -475,28 +484,28 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
475
484
  t.$slots.optionFullscreen ? {
476
485
  name: "optionFullscreen",
477
486
  fn: w(({ toggleFullscreen: a, isFullscreen: o }) => [
478
- 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)
479
488
  ]),
480
489
  key: "6"
481
490
  } : void 0,
482
491
  t.$slots.optionAnnotator ? {
483
492
  name: "optionAnnotator",
484
493
  fn: w(({ toggleAnnotator: a, isAnnotator: o }) => [
485
- 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)
486
495
  ]),
487
496
  key: "7"
488
497
  } : void 0
489
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
490
- 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", {
491
500
  key: 4,
492
501
  ref_key: "svgRef",
493
- ref: he,
494
- xmlns: d(bt),
495
- 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 }),
496
505
  viewBox: `0 0 ${r.value.chartWidth <= 0 ? 10 : r.value.chartWidth} ${r.value.chartHeight <= 0 ? 10 : r.value.chartHeight}`,
497
506
  style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
498
507
  }, [
499
- Se(d(Be)),
508
+ _e(d(Be)),
500
509
  t.$slots["chart-background"] ? (i(), u("foreignObject", {
501
510
  key: 0,
502
511
  x: r.value.left,
@@ -508,8 +517,8 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
508
517
  }
509
518
  }, [
510
519
  g(t.$slots, "chart-background", {}, void 0, !0)
511
- ], 8, Ot)) : m("", !0),
512
- (i(!0), u(C, null, S(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, [
513
522
  R("line", {
514
523
  x1: r.value.left + k.value * o + k.value / 2,
515
524
  x2: r.value.left + k.value * o + k.value / 2,
@@ -517,7 +526,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
517
526
  y2: r.value.bottom,
518
527
  stroke: e.value.style.chart.yAxis.stroke,
519
528
  "stroke-width": e.value.style.chart.yAxis.strokeWidth
520
- }, null, 8, Dt),
529
+ }, null, 8, Rt),
521
530
  String(a.name).includes(`
522
531
  `) ? (i(), u("text", {
523
532
  key: 1,
@@ -527,14 +536,14 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
527
536
  "font-size": c.value.axisNameFontSize,
528
537
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
529
538
  "text-anchor": "middle",
530
- innerHTML: d(xt)({
539
+ innerHTML: d(kt)({
531
540
  content: String(a.name),
532
541
  fontSize: c.value.axisNameFontSize,
533
542
  fill: e.value.style.chart.yAxis.labels.axisNamesColor,
534
543
  x: r.value.left + k.value * o + k.value / 2,
535
544
  y: r.value.top - 24
536
545
  })
537
- }, null, 8, Et)) : (i(), u("text", {
546
+ }, null, 8, Vt)) : (i(), u("text", {
538
547
  key: 0,
539
548
  x: r.value.left + k.value * o + k.value / 2,
540
549
  y: r.value.top - 24,
@@ -542,9 +551,9 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
542
551
  "font-size": c.value.axisNameFontSize,
543
552
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
544
553
  "text-anchor": "middle"
545
- }, W(a.name), 9, Rt)),
554
+ }, W(a.name), 9, Ut)),
546
555
  e.value.style.chart.yAxis.labels.ticks.show ? (i(), u(C, { key: 2 }, [
547
- (i(!0), u(C, null, S(a.ticks, (n) => (i(), u("line", {
556
+ (i(!0), u(C, null, I(a.ticks, (n) => (i(), u("line", {
548
557
  x1: n.x,
549
558
  x2: n.x - 10,
550
559
  y1: n.y,
@@ -552,8 +561,8 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
552
561
  stroke: e.value.style.chart.yAxis.stroke,
553
562
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
554
563
  style: z(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
555
- }, null, 12, Vt))), 256)),
556
- (i(!0), u(C, null, S(a.ticks, (n) => (i(), u("text", {
564
+ }, null, 12, Wt))), 256)),
565
+ (i(!0), u(C, null, I(a.ticks, (n) => (i(), u("text", {
557
566
  x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
558
567
  y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
559
568
  fill: e.value.style.chart.yAxis.labels.ticks.color,
@@ -561,13 +570,13 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
561
570
  "font-size": c.value.ticksFontSize,
562
571
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
563
572
  style: z(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
564
- }, W(we({ value: n.value, index: o, datapoint: n })), 13, Wt))), 256))
565
- ], 64)) : m("", !0)
573
+ }, W(Ce({ value: n.value, index: o, datapoint: n })), 13, Bt))), 256))
574
+ ], 64)) : y("", !0)
566
575
  ]))), 256)),
567
- (i(!0), u(C, null, S(Q.value, (a) => (i(), u("g", null, [
568
- (i(!0), u(C, null, S(a.series, (o, n) => (i(), u("g", null, [
569
- e.value.style.chart.plots.show ? (i(), u("g", Bt, [
570
- (i(!0), u(C, null, S(o.datapoints, (s) => (i(), I(St, {
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, [
578
+ e.value.style.chart.plots.show ? (i(), u("g", Ht, [
579
+ (i(!0), u(C, null, I(o.datapoints, (s) => (i(), S(_t, {
571
580
  plot: { x: s.x, y: s.y },
572
581
  color: a.color,
573
582
  shape: a.shape,
@@ -582,12 +591,12 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
582
591
  seriesIndex: o.seriesIndex
583
592
  }),
584
593
  onMouseleave: l[0] || (l[0] = (v) => {
585
- f.value = null, L.value = !1;
594
+ f.value = null, D.value = !1;
586
595
  }),
587
596
  style: z(`opacity:${f.value ? f.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
588
597
  onClick: () => et(s)
589
598
  }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
590
- p.value.showTooltip ? m("", !0) : (i(), u(C, { key: 0 }, [
599
+ p.value.showTooltip ? y("", !0) : (i(), u(C, { key: 0 }, [
591
600
  f.value && f.value === o.id && o.datapoints.length ? (i(), u("text", {
592
601
  key: 0,
593
602
  x: o.datapoints[0].x - c.value.ticksFontSize,
@@ -596,9 +605,9 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
596
605
  "font-size": c.value.ticksFontSize,
597
606
  fill: a.color,
598
607
  "font-weight": "bold"
599
- }, W(o.name), 9, Ut)) : m("", !0)
608
+ }, W(o.name), 9, jt)) : y("", !0)
600
609
  ], 64)),
601
- e.value.style.chart.comments.show ? (i(!0), u(C, { key: 1 }, S(o.datapoints, (s) => (i(), u("g", null, [
610
+ e.value.style.chart.comments.show ? (i(!0), u(C, { key: 1 }, I(o.datapoints, (s) => (i(), u("g", null, [
602
611
  s.comment ? (i(), u("foreignObject", {
603
612
  key: 0,
604
613
  style: { overflow: "visible" },
@@ -607,21 +616,21 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
607
616
  x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
608
617
  y: s.y + e.value.style.chart.comments.offsetY + 6
609
618
  }, [
610
- R("div", jt, [
619
+ R("div", Gt, [
611
620
  g(t.$slots, "plot-comment", {
612
621
  plot: { ...s, color: a.color }
613
622
  }, void 0, !0)
614
623
  ])
615
- ], 8, Ht)) : m("", !0)
616
- ]))), 256)) : m("", !0)
617
- ])) : m("", !0),
618
- p.value.dataLabels.show || f.value && f.value === o.id ? (i(!0), u(C, { key: 1 }, S(o.datapoints, (s, v) => (i(), u("text", {
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", {
619
628
  x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
620
629
  y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
621
630
  fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
622
631
  "text-anchor": "start",
623
632
  "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
624
- 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 }),
625
634
  "font-size": c.value.datapointFontSize,
626
635
  onMouseenter: (A) => H({
627
636
  shape: a.shape,
@@ -631,16 +640,16 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
631
640
  seriesIndex: o.seriesIndex
632
641
  }),
633
642
  onMouseleave: l[1] || (l[1] = (A) => {
634
- f.value = null, L.value = !1;
643
+ f.value = null, D.value = !1;
635
644
  }),
636
645
  style: z(`opacity:${f.value ? f.value === o.id ? 1 : 0.2 : 1}`)
637
- }, 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),
638
647
  R("path", {
639
648
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
640
649
  stroke: a.color,
641
650
  "stroke-width": e.value.style.chart.lines.strokeWidth,
642
651
  fill: "none",
643
- 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 }),
644
653
  onMouseenter: (s) => H({
645
654
  shape: a.shape,
646
655
  serieName: a.name,
@@ -649,17 +658,17 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
649
658
  seriesIndex: o.seriesIndex
650
659
  }),
651
660
  onMouseleave: l[2] || (l[2] = (s) => {
652
- f.value = null, L.value = !1;
661
+ f.value = null, D.value = !1;
653
662
  }),
654
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}`)
655
- }, null, 46, Gt),
664
+ }, null, 46, qt),
656
665
  p.value.showTooltip ? (i(), u("path", {
657
666
  key: 2,
658
667
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
659
668
  stroke: "transparent",
660
669
  "stroke-width": 12,
661
670
  fill: "none",
662
- 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 }),
663
672
  onMouseenter: (s) => H({
664
673
  shape: a.shape,
665
674
  serieName: a.name,
@@ -668,18 +677,18 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
668
677
  seriesIndex: o.seriesIndex
669
678
  }),
670
679
  onMouseleave: l[3] || (l[3] = (s) => {
671
- f.value = null, L.value = !1;
680
+ f.value = null, D.value = !1;
672
681
  }),
673
682
  style: { opacity: "0" }
674
- }, null, 42, Yt)) : m("", !0)
683
+ }, null, 42, Jt)) : y("", !0)
675
684
  ]))), 256))
676
685
  ]))), 256)),
677
686
  g(t.$slots, "svg", { svg: r.value }, void 0, !0)
678
- ], 14, Pt)) : m("", !0),
679
- t.$slots.watermark ? (i(), u("div", qt, [
680
- g(t.$slots, "watermark", E(V({ isPrinting: d(me) || d(fe) })), void 0, !0)
681
- ])) : m("", !0),
682
- N.value ? m("", !0) : (i(), I(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), {
683
692
  key: 6,
684
693
  config: {
685
694
  type: "parallelCoordinatePlot",
@@ -692,21 +701,21 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
692
701
  ref_key: "chartLegend",
693
702
  ref: se
694
703
  }, [
695
- e.value.style.chart.legend.show && N.value ? (i(), I(It, {
704
+ e.value.style.chart.legend.show && P.value ? (i(), S(It, {
696
705
  key: `legend_${re.value}`,
697
706
  legendSet: Ke.value,
698
707
  config: Qe.value,
699
708
  onClickMarker: l[4] || (l[4] = ({ legend: a }) => {
700
- xe(a.id), ze(a);
709
+ ke(a.id), Te(a);
701
710
  })
702
711
  }, {
703
712
  item: w(({ legend: a, index: o }) => [
704
713
  R("div", {
705
714
  onClick: (n) => {
706
- a.segregate(), ze(a);
715
+ a.segregate(), Te(a);
707
716
  },
708
717
  style: z(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
709
- }, W(a.name), 13, Jt)
718
+ }, W(a.name), 13, Qt)
710
719
  ]),
711
720
  _: 1
712
721
  }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
@@ -721,9 +730,9 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
721
730
  dir: "auto"
722
731
  }, [
723
732
  g(t.$slots, "source", {}, void 0, !0)
724
- ], 512)) : m("", !0),
725
- Se(d(je), {
726
- show: p.value.showTooltip && L.value,
733
+ ], 512)) : y("", !0),
734
+ _e(d(Xe), {
735
+ show: p.value.showTooltip && D.value,
727
736
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
728
737
  color: e.value.style.chart.tooltip.color,
729
738
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -733,20 +742,20 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
733
742
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
734
743
  position: e.value.style.chart.tooltip.position,
735
744
  offsetY: e.value.style.chart.tooltip.offsetY,
736
- parent: B.value,
745
+ parent: _.value,
737
746
  content: ee.value,
738
- isFullscreen: P.value,
739
- isCustom: d(Ne)(e.value.style.chart.tooltip.customFormat)
747
+ isFullscreen: O.value,
748
+ isCustom: d(Pe)(e.value.style.chart.tooltip.customFormat)
740
749
  }, {
741
750
  "tooltip-before": w(() => [
742
- 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)
743
752
  ]),
744
753
  "tooltip-after": w(() => [
745
- 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)
746
755
  ]),
747
756
  _: 3
748
757
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
749
- N.value ? (i(), I(d(Ve), {
758
+ P.value ? (i(), S(d(Ve), {
750
759
  key: 8,
751
760
  hideDetails: "",
752
761
  config: {
@@ -763,29 +772,29 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
763
772
  }
764
773
  }, {
765
774
  content: w(() => [
766
- (i(), I(d(We), {
775
+ (i(), S(d(We), {
767
776
  key: `table_${ce.value}`,
768
- colNames: D.value.colNames,
769
- head: D.value.head,
770
- body: D.value.body,
771
- config: D.value.config,
777
+ colNames: E.value.colNames,
778
+ head: E.value.head,
779
+ body: E.value.body,
780
+ config: E.value.config,
772
781
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
773
782
  onClose: l[5] || (l[5] = (a) => p.value.showTable = !1)
774
783
  }, {
775
784
  th: w(({ th: a }) => [
776
- R("div", { innerHTML: a }, null, 8, Kt)
785
+ R("div", { innerHTML: a }, null, 8, Zt)
777
786
  ]),
778
787
  td: w(({ td: a }) => [
779
- it(W(a), 1)
788
+ ut(W(a), 1)
780
789
  ]),
781
790
  _: 1
782
791
  }, 8, ["colNames", "head", "body", "config", "title"]))
783
792
  ]),
784
793
  _: 1
785
- }, 8, ["config"])) : m("", !0)
786
- ], 46, Nt));
794
+ }, 8, ["config"])) : y("", !0)
795
+ ], 46, Ot));
787
796
  }
788
- }, ca = /* @__PURE__ */ _t(Qt, [["__scopeId", "data-v-ae889287"]]);
797
+ }, ha = /* @__PURE__ */ Pt(ea, [["__scopeId", "data-v-3a6c4c58"]]);
789
798
  export {
790
- ca as default
799
+ ha as default
791
800
  };