vue-data-ui 3.0.0-next.30 → 3.0.0-next.32

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/dist/{Arrow-gZkDqarC.js → Arrow-DiI9PrPS.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Cx7MDUn7.js → BaseDraggableDialog-C0Kz_kZp.js} +2 -2
  3. package/dist/{BaseIcon-DEGIw8ne.js → BaseIcon-B_tGgA4H.js} +1 -1
  4. package/dist/{ColorPicker-dVo9qgIk.js → ColorPicker-CNsQt00F.js} +2 -2
  5. package/dist/{DataTable-DjL9vVfm.js → DataTable-Cm1oLidx.js} +2 -2
  6. package/dist/{Legend-DNs8ZSxL.js → Legend-DlUDcF1t.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Bmu00306.js → NonSvgPenAndPaper-CLlxRJK1.js} +3 -3
  8. package/dist/{PackageVersion-SqC1iXfO.js → PackageVersion-DZMJZGOu.js} +1 -1
  9. package/dist/{PenAndPaper-C1bF0gIz.js → PenAndPaper-BDNLADWh.js} +3 -3
  10. package/dist/{Shape-CNmKltYG.js → Shape-Br_SZ_x0.js} +1 -1
  11. package/dist/Slicer-DMU3nifX.js +588 -0
  12. package/dist/{SparkTooltip-BuPeepCP.js → SparkTooltip-B6xp9zx_.js} +1 -1
  13. package/dist/{Title-B21jaJ0n.js → Title-B5lsq0cx.js} +1 -1
  14. package/dist/{Tooltip-C4HWh3fx.js → Tooltip-CrAURNKT.js} +23 -19
  15. package/dist/{UserOptions-DQDPN9YO.js → UserOptions-CksX2mn0.js} +2 -2
  16. package/dist/{dom-to-png-Z16yk8O6.js → dom-to-png-CIBDe8BB.js} +1 -1
  17. package/dist/{img-UQKhhbxb.js → img-CWXYkVMQ.js} +1 -1
  18. package/dist/{index-Bxh2efzz.js → index-DB4XIP_N.js} +16 -3
  19. package/dist/{pdf-D2K9GCDq.js → pdf-Dm-ieKMv.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +13 -1
  22. package/dist/types/vue-data-ui.d.ts +13 -1
  23. package/dist/{useNestedProp-BGEUK51b.js → useNestedProp-iTa19l34.js} +1 -1
  24. package/dist/{usePrinter-CfB_poc_.js → usePrinter-id381vkp.js} +2 -2
  25. package/dist/{vue-data-ui-Em_nyncZ.js → vue-data-ui-WdvK3lBL.js} +64 -64
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-KFXQhCpk.js → vue-ui-3d-bar-CtiAXSRA.js} +6 -6
  28. package/dist/{vue-ui-accordion-CXj3OfMj.js → vue-ui-accordion-DAT3uTMD.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-Bygd_6Lj.js → vue-ui-age-pyramid-LuljyG04.js} +11 -9
  30. package/dist/{vue-ui-annotator-CaxhGvw9.js → vue-ui-annotator-CzHa2GlG.js} +2 -2
  31. package/dist/{vue-ui-bullet-xsVzeIGY.js → vue-ui-bullet-BEzXYrWC.js} +7 -7
  32. package/dist/{vue-ui-candlestick-DT3NblSj.js → vue-ui-candlestick-DSaFw3wl.js} +12 -10
  33. package/dist/{vue-ui-carousel-table-Bj6Blcps.js → vue-ui-carousel-table-D1CLPWmk.js} +4 -4
  34. package/dist/{vue-ui-chestnut-Bzi7pvOQ.js → vue-ui-chestnut-D3FNLdep.js} +5 -5
  35. package/dist/{vue-ui-chord-SN0lkfJI.js → vue-ui-chord-CFT-LcE4.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-BwH7JGeH.js → vue-ui-circle-pack-Bl_cyLTg.js} +6 -6
  37. package/dist/{vue-ui-cursor-BLHqKKuQ.js → vue-ui-cursor-C2XYAY0n.js} +2 -2
  38. package/dist/{vue-ui-dashboard-C5ye3aO2.js → vue-ui-dashboard-4ZwAsn1N.js} +62 -62
  39. package/dist/{vue-ui-digits-fWW_yCiA.js → vue-ui-digits-Da5mTaOQ.js} +2 -2
  40. package/dist/{vue-ui-donut-VI_2cil0.js → vue-ui-donut-B6QlrBEH.js} +13 -11
  41. package/dist/{vue-ui-donut-evolution-BMDGbLPk.js → vue-ui-donut-evolution-Tv7oj7TE.js} +8 -8
  42. package/dist/{vue-ui-dumbbell-DYVwpQdP.js → vue-ui-dumbbell-LNnnDec4.js} +7 -7
  43. package/dist/{vue-ui-flow-BP3lwS2c.js → vue-ui-flow-B618L2Da.js} +12 -10
  44. package/dist/{vue-ui-funnel-C2gKEJrg.js → vue-ui-funnel-DS_tcSnW.js} +6 -6
  45. package/dist/{vue-ui-galaxy-CHu9EpUI.js → vue-ui-galaxy-C5qk-fEV.js} +51 -49
  46. package/dist/{vue-ui-gauge-DXoBEk4e.js → vue-ui-gauge-C33XPj6b.js} +6 -6
  47. package/dist/{vue-ui-gizmo-DpWaeVxb.js → vue-ui-gizmo-Cr6zUxnq.js} +3 -3
  48. package/dist/{vue-ui-heatmap-C6Xh5fmd.js → vue-ui-heatmap-ksiw1nTI.js} +32 -30
  49. package/dist/{vue-ui-history-plot-CH4RJSqN.js → vue-ui-history-plot-DM_vTyiY.js} +12 -10
  50. package/dist/{vue-ui-kpi-DJrypxm5.js → vue-ui-kpi-BgFQSUVT.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-BMaEgYp1.js → vue-ui-mini-loader-BEpehl5X.js} +2 -2
  52. package/dist/{vue-ui-molecule-om_udncc.js → vue-ui-molecule-BIQFbPof.js} +35 -33
  53. package/dist/{vue-ui-mood-radar-BOd7BMa4.js → vue-ui-mood-radar-RShxk3Bz.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-B6krlgFx.js → vue-ui-nested-donuts-dMBxBBnZ.js} +62 -60
  55. package/dist/{vue-ui-onion-COQ1H7Ft.js → vue-ui-onion-ZVZ6wpNM.js} +46 -44
  56. package/dist/{vue-ui-parallel-coordinate-plot-CEKsfccd.js → vue-ui-parallel-coordinate-plot-1a3BGVsh.js} +69 -67
  57. package/dist/{vue-ui-quadrant-C88vkF8q.js → vue-ui-quadrant-XCnxKrJd.js} +59 -57
  58. package/dist/{vue-ui-quick-chart-CG2lY19C.js → vue-ui-quick-chart-BQJqdHxB.js} +11 -9
  59. package/dist/{vue-ui-radar-CUAYzxM4.js → vue-ui-radar-CeXlq2A-.js} +12 -10
  60. package/dist/{vue-ui-rating-DT0BLQ1G.js → vue-ui-rating-DTq-mZyU.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-Ek_uAHpF.js → vue-ui-relation-circle-k8viefM-.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-73OXSMcJ.js → vue-ui-ridgeline-B8oddwmZ.js} +8 -8
  63. package/dist/{vue-ui-rings-D1gK_JVs.js → vue-ui-rings-9XT1ePuY.js} +13 -11
  64. package/dist/{vue-ui-scatter-DCy4Vb84.js → vue-ui-scatter-oM-LVerf.js} +72 -70
  65. package/dist/{vue-ui-skeleton-DIb-2uan.js → vue-ui-skeleton-DDLBx4bb.js} +3 -3
  66. package/dist/{vue-ui-smiley-DiIu0kjQ.js → vue-ui-smiley-D5ybBkdY.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-BPczzwfH.js → vue-ui-spark-trend-Tl-sOjqa.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-B4LpToMU.js → vue-ui-sparkbar-Ce6dYcF4.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-D9KwmalJ.js → vue-ui-sparkgauge-DRHrbpSl.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-h7qmzAe1.js → vue-ui-sparkhistogram-DBtPWFim.js} +4 -4
  71. package/dist/{vue-ui-sparkline-DYYy38Fu.js → vue-ui-sparkline-DcF2ugGh.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-DIIyxzKM.js → vue-ui-sparkstackbar-C01iI0y3.js} +55 -53
  73. package/dist/{vue-ui-stackbar-BhPcAjIe.js → vue-ui-stackbar-BeCCgw_v.js} +196 -194
  74. package/dist/{vue-ui-strip-plot-9wxxXL3R.js → vue-ui-strip-plot-CsK2a1mH.js} +30 -28
  75. package/dist/{vue-ui-table-FAEiGW1W.js → vue-ui-table-COjBJDmq.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-Cwbw5Rqy.js → vue-ui-table-heatmap-DfxMcAr9.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-DnZ44NiP.js → vue-ui-table-sparkline-0BC6BxKt.js} +4 -4
  78. package/dist/{vue-ui-thermometer-CHFtR_VC.js → vue-ui-thermometer-Bf2_qGBi.js} +6 -6
  79. package/dist/{vue-ui-timer-DWzZTLxC.js → vue-ui-timer-BC9tH4qB.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-DTS-ZQRp.js → vue-ui-tiremarks-ya8ABi9I.js} +6 -6
  81. package/dist/{vue-ui-treemap-B5OdGgS-.js → vue-ui-treemap-BSHptMc8.js} +13 -11
  82. package/dist/{vue-ui-vertical-bar-CcjDg9Bc.js → vue-ui-vertical-bar-B_Oa-v87.js} +41 -39
  83. package/dist/{vue-ui-waffle-C1XVqncx.js → vue-ui-waffle-DHB8v3nh.js} +13 -11
  84. package/dist/{vue-ui-wheel-DEIJPpR4.js → vue-ui-wheel-Bi28_KVB.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-CUzU4JpO.js → vue-ui-word-cloud-BcQ2cfcu.js} +12 -10
  86. package/dist/{vue-ui-world-D0pONCg9.js → vue-ui-world-aLL9NUDQ.js} +11 -9
  87. package/dist/vue-ui-xy-BxonzF88.js +3710 -0
  88. package/dist/{vue-ui-xy-canvas-Do-IpmFr.js → vue-ui-xy-canvas-sUpmc7gl.js} +30 -28
  89. package/package.json +1 -1
  90. package/dist/Slicer-DYffOkSj.js +0 -577
  91. package/dist/vue-ui-xy-EoeoBLu2.js +0 -3027
@@ -1,14 +1,14 @@
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-Bxh2efzz.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 y, 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 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-DB4XIP_N.js";
3
3
  import { t as At, u as zt } from "./useResponsive-DfdjqQps.js";
4
- import { u as De } from "./useNestedProp-BGEUK51b.js";
5
- import { u as Tt } from "./usePrinter-CfB_poc_.js";
6
- import { u as Mt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Ft } from "./useChartAccessibility-9icAAmYg.js";
8
- import St from "./Title-B21jaJ0n.js";
9
- import It from "./Legend-DNs8ZSxL.js";
10
- import { _ as _t } from "./Shape-CNmKltYG.js";
11
- import Nt from "./img-UQKhhbxb.js";
4
+ import { u as De } from "./useNestedProp-iTa19l34.js";
5
+ import { u as Tt } from "./usePrinter-id381vkp.js";
6
+ import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import St from "./Title-B5lsq0cx.js";
9
+ import It from "./Legend-DlUDcF1t.js";
10
+ import { _ as _t } from "./Shape-Br_SZ_x0.js";
11
+ import Nt from "./img-CWXYkVMQ.js";
12
12
  import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
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,
@@ -31,22 +31,22 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
31
31
  },
32
32
  emits: ["selectLegend", "selectDatapoint"],
33
33
  setup(Re, { expose: Ee, emit: Be }) {
34
- const Ue = N(() => import("./vue-ui-accordion-CXj3OfMj.js")), Ve = N(() => import("./DataTable-DjL9vVfm.js")), We = N(() => import("./PackageVersion-SqC1iXfO.js")), He = N(() => import("./PenAndPaper-C1bF0gIz.js")), je = N(() => import("./vue-ui-skeleton-DIb-2uan.js")), Xe = N(() => import("./Tooltip-C4HWh3fx.js")), Ge = N(() => import("./UserOptions-DQDPN9YO.js")), { vue_ui_parallel_coordinate_plot: Ye } = rt(), T = Re, P = x({
34
+ const Ue = N(() => import("./vue-ui-accordion-DAT3uTMD.js")), Ve = N(() => import("./DataTable-Cm1oLidx.js")), We = N(() => import("./PackageVersion-DZMJZGOu.js")), He = N(() => import("./PenAndPaper-BDNLADWh.js")), je = N(() => import("./vue-ui-skeleton-DDLBx4bb.js")), Xe = N(() => import("./Tooltip-CrAURNKT.js")), Ge = N(() => import("./UserOptions-CksX2mn0.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), 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);
41
+ }), le = h(0), F = 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: () => ye(),
46
+ get: () => me(),
47
47
  set: (t) => t
48
- }), { userOptionsVisible: J, setUserOptionsVisibility: de, keepUserOptionState: he } = Mt({ config: e.value }), { svgRef: pe } = Ft({ config: e.value.style.chart.title });
49
- function ye() {
48
+ }), { userOptionsVisible: J, setUserOptionsVisibility: de, keepUserOptionState: he } = Ft({ config: e.value }), { svgRef: pe } = Mt({ config: e.value.style.chart.title });
49
+ function me() {
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 = 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;
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;
64
64
  }, { deep: !0 });
65
- const F = Ie(null), L = Ie(null);
65
+ const M = Ie(null), L = Ie(null);
66
66
  st(() => {
67
- me();
67
+ ye();
68
68
  });
69
- function me() {
69
+ function ye() {
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: M.value,
88
+ chart: F.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
- 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);
122
+ M.value && (L.value && M.value.unobserve(L.value), M.value.disconnect()), M.value = new ResizeObserver(t), L.value = F.value.parentNode, M.value.observe(L.value);
123
123
  }
124
124
  }
125
125
  nt(() => {
126
- F.value && (L.value && F.value.unobserve(L.value), F.value.disconnect());
126
+ M.value && (L.value && M.value.unobserve(L.value), M.value.disconnect());
127
127
  });
128
128
  const { isPrinting: fe, isImaging: ge, generatePdf: be, generateImage: xe } = Tt({
129
129
  elementId: `pcp_${q.value}`,
@@ -161,7 +161,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
161
161
  $.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
162
162
  }
163
163
  const S = x(() => T.dataset.map((t, l) => {
164
- const a = yt(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];
165
165
  return {
166
166
  ...t,
167
167
  series: t.series.map((o) => ({
@@ -191,12 +191,12 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
191
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((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);
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);
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: y
199
+ value: m
200
200
  };
201
201
  });
202
202
  t.push({
@@ -267,25 +267,25 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
267
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, 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) => {
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[y] || null,
277
- a.datapoints[y].value,
276
+ e.value.style.chart.yAxis.labels.formatters[m] || null,
277
+ a.datapoints[m].value,
278
278
  Le({
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] || ""
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] || ""
283
283
  }),
284
- { datapoint: a.datapoints[y], seriesIndex: y }
284
+ { datapoint: a.datapoints[m], seriesIndex: m }
285
285
  )}
286
286
  </span>
287
287
  </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>`);
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>`);
289
289
  }), ee.value = `<div>${s}</div>`);
290
290
  }
291
291
  function Ze() {
@@ -330,10 +330,10 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
330
330
  opacity: t.isSegregated ? 1 : 0.5
331
331
  });
332
332
  }
333
- function Me() {
333
+ function Fe() {
334
334
  p.value.showTable = !p.value.showTable;
335
335
  }
336
- function Fe() {
336
+ function Me() {
337
337
  p.value.dataLabels.show = !p.value.dataLabels.show;
338
338
  }
339
339
  function Se() {
@@ -344,8 +344,8 @@ 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 (!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 });
347
+ if (!F.value) return;
348
+ const { width: l, height: a } = F.value.getBoundingClientRect(), o = l / a, { imageUri: n, base64: s } = await Nt({ domElement: F.value, base64: !0, img: !0, scale: t });
349
349
  return {
350
350
  imageUri: n,
351
351
  base64: s,
@@ -361,14 +361,14 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
361
361
  generateCsv: Ae,
362
362
  generatePdf: be,
363
363
  generateImage: xe,
364
- toggleTable: Me,
365
- toggleLabels: Fe,
364
+ toggleTable: Fe,
365
+ toggleLabels: Me,
366
366
  toggleTooltip: Se,
367
367
  toggleAnnotator: te,
368
368
  toggleFullscreen: ve
369
369
  }), (t, l) => (i(), u("div", {
370
370
  ref_key: "pcpChart",
371
- ref: M,
371
+ ref: F,
372
372
  class: W(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
373
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%" : ""}`),
374
374
  id: `pcp_${q.value}`,
@@ -382,14 +382,14 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
382
382
  color: e.value.style.chart.color,
383
383
  active: j.value,
384
384
  onClose: te
385
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
385
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
386
386
  qe.value ? (i(), u("div", {
387
387
  key: 1,
388
388
  ref_key: "noTitle",
389
389
  ref: ie,
390
390
  class: "vue-data-ui-no-title-space",
391
391
  style: "height:36px; width: 100%;background:transparent"
392
- }, null, 512)) : m("", !0),
392
+ }, null, 512)) : y("", !0),
393
393
  e.value.style.chart.title.text ? (i(), u("div", {
394
394
  key: 2,
395
395
  ref_key: "chartTitle",
@@ -409,7 +409,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
409
409
  }
410
410
  }
411
411
  }, null, 8, ["config"]))
412
- ], 512)) : m("", !0),
412
+ ], 512)) : y("", !0),
413
413
  e.value.userOptions.show && P.value && (d(he) || d(J)) ? (i(), I(d(Ge), {
414
414
  ref: "details",
415
415
  key: `user_options_${le.value}`,
@@ -428,7 +428,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
428
428
  isFullscreen: O.value,
429
429
  isTooltip: p.value.showTooltip,
430
430
  titles: { ...e.value.userOptions.buttonTitles },
431
- chartElement: M.value,
431
+ chartElement: F.value,
432
432
  position: e.value.userOptions.position,
433
433
  hasAnnotator: e.value.userOptions.buttons.annotator,
434
434
  isAnnotation: j.value,
@@ -438,8 +438,8 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
438
438
  onGeneratePdf: d(be),
439
439
  onGenerateCsv: Ae,
440
440
  onGenerateImage: d(xe),
441
- onToggleTable: Me,
442
- onToggleLabels: Fe,
441
+ onToggleTable: Fe,
442
+ onToggleLabels: Me,
443
443
  onToggleTooltip: Se,
444
444
  onToggleAnnotator: te,
445
445
  style: z({
@@ -502,7 +502,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
502
502
  ]),
503
503
  key: "7"
504
504
  } : void 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),
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"])) : y("", !0),
506
506
  P.value ? (i(), u("svg", {
507
507
  key: 4,
508
508
  ref_key: "svgRef",
@@ -524,7 +524,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
524
524
  }
525
525
  }, [
526
526
  g(t.$slots, "chart-background", {}, void 0, !0)
527
- ], 8, Dt)) : m("", !0),
527
+ ], 8, Dt)) : y("", !0),
528
528
  (i(!0), u(C, null, _(b.value, (a, o) => (i(), u("g", Rt, [
529
529
  E("line", {
530
530
  x1: r.value.left + k.value * o + k.value / 2,
@@ -578,7 +578,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
578
578
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
579
579
  style: z(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
580
580
  }, V(Ce({ value: n.value, index: o, datapoint: n })), 13, Wt))), 256))
581
- ], 64)) : m("", !0)
581
+ ], 64)) : y("", !0)
582
582
  ]))), 256)),
583
583
  (i(!0), u(C, null, _(Q.value, (a) => (i(), u("g", null, [
584
584
  (i(!0), u(C, null, _(a.series, (o, n) => (i(), u("g", null, [
@@ -603,7 +603,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
603
603
  style: z(`opacity:${f.value ? f.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
604
604
  onClick: () => et(s)
605
605
  }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
606
- p.value.showTooltip ? m("", !0) : (i(), u(C, { key: 0 }, [
606
+ p.value.showTooltip ? y("", !0) : (i(), u(C, { key: 0 }, [
607
607
  f.value && f.value === o.id && o.datapoints.length ? (i(), u("text", {
608
608
  key: 0,
609
609
  x: o.datapoints[0].x - c.value.ticksFontSize,
@@ -612,7 +612,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
612
612
  "font-size": c.value.ticksFontSize,
613
613
  fill: a.color,
614
614
  "font-weight": "bold"
615
- }, V(o.name), 9, jt)) : m("", !0)
615
+ }, V(o.name), 9, jt)) : y("", !0)
616
616
  ], 64)),
617
617
  e.value.style.chart.comments.show ? (i(!0), u(C, { key: 1 }, _(o.datapoints, (s) => (i(), u("g", null, [
618
618
  s.comment ? (i(), u("foreignObject", {
@@ -628,9 +628,9 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
628
628
  plot: { ...s, color: a.color }
629
629
  }, void 0, !0)
630
630
  ])
631
- ], 8, Xt)) : m("", !0)
632
- ]))), 256)) : m("", !0)
633
- ])) : m("", !0),
631
+ ], 8, Xt)) : y("", !0)
632
+ ]))), 256)) : y("", !0)
633
+ ])) : y("", !0),
634
634
  p.value.dataLabels.show || f.value && f.value === o.id ? (i(!0), u(C, { key: 1 }, _(o.datapoints, (s, v) => (i(), u("text", {
635
635
  x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
636
636
  y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
@@ -650,7 +650,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
650
650
  f.value = null, D.value = !1;
651
651
  }),
652
652
  style: z(`opacity:${f.value ? f.value === o.id ? 1 : 0.2 : 1}`)
653
- }, V(Ce({ value: s.value, index: v, datapoint: s })), 45, Yt))), 256)) : m("", !0),
653
+ }, V(Ce({ value: s.value, index: v, datapoint: s })), 45, Yt))), 256)) : y("", !0),
654
654
  E("path", {
655
655
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
656
656
  stroke: a.color,
@@ -687,15 +687,15 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
687
687
  f.value = null, D.value = !1;
688
688
  }),
689
689
  style: { opacity: "0" }
690
- }, null, 42, Jt)) : m("", !0)
690
+ }, null, 42, Jt)) : y("", !0)
691
691
  ]))), 256))
692
692
  ]))), 256)),
693
693
  g(t.$slots, "svg", { svg: r.value }, void 0, !0)
694
- ], 14, Lt)) : m("", !0),
694
+ ], 14, Lt)) : y("", !0),
695
695
  t.$slots.watermark ? (i(), u("div", Kt, [
696
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), {
697
+ ])) : y("", !0),
698
+ P.value ? y("", !0) : (i(), I(d(je), {
699
699
  key: 6,
700
700
  config: {
701
701
  type: "parallelCoordinatePlot",
@@ -737,7 +737,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
737
737
  dir: "auto"
738
738
  }, [
739
739
  g(t.$slots, "source", {}, void 0, !0)
740
- ], 512)) : m("", !0),
740
+ ], 512)) : y("", !0),
741
741
  _e(d(Xe), {
742
742
  show: p.value.showTooltip && D.value,
743
743
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -749,10 +749,12 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
749
749
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
750
750
  position: e.value.style.chart.tooltip.position,
751
751
  offsetY: e.value.style.chart.tooltip.offsetY,
752
- parent: M.value,
752
+ parent: F.value,
753
753
  content: ee.value,
754
754
  isFullscreen: O.value,
755
- isCustom: d(Pe)(e.value.style.chart.tooltip.customFormat)
755
+ isCustom: d(Pe)(e.value.style.chart.tooltip.customFormat),
756
+ smooth: e.value.style.chart.tooltip.smooth,
757
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter
756
758
  }, {
757
759
  "tooltip-before": w(() => [
758
760
  g(t.$slots, "tooltip-before", B(U({ ...Z.value })), void 0, !0)
@@ -761,7 +763,7 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
761
763
  g(t.$slots, "tooltip-after", B(U({ ...Z.value })), void 0, !0)
762
764
  ]),
763
765
  _: 3
764
- }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
766
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
765
767
  P.value ? (i(), I(d(Ue), {
766
768
  key: 8,
767
769
  hideDetails: "",
@@ -798,10 +800,10 @@ const Ot = ["id"], Lt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
798
800
  }, 8, ["colNames", "head", "body", "config", "title"]))
799
801
  ]),
800
802
  _: 1
801
- }, 8, ["config"])) : m("", !0)
803
+ }, 8, ["config"])) : y("", !0)
802
804
  ], 46, Ot));
803
805
  }
804
- }, ha = /* @__PURE__ */ Pt(ea, [["__scopeId", "data-v-0e1743f3"]]);
806
+ }, ha = /* @__PURE__ */ Pt(ea, [["__scopeId", "data-v-8657bba9"]]);
805
807
  export {
806
808
  ha as default
807
809
  };