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,26 +1,27 @@
1
- import { defineAsyncComponent as k, computed as h, onMounted as Re, ref as n, watch as Ue, createElementBlock as i, openBlock as r, unref as a, normalizeStyle as V, normalizeClass as E, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as ve, createSlots as He, withCtx as d, normalizeProps as _, guardReactiveProps as O, createElementVNode as P, Fragment as de, renderList as he, createTextVNode as pe, toDisplayString as M, nextTick as Xe } from "vue";
2
- import { u as je, o as Ye, e as ye, g as qe, c as ge, t as Je, p as G, a as Ke, b as Qe, G as fe, d as Ze, M as et, f as w, X as tt, i as be, x as me, q as lt, r as ot, y as at } from "./index-CZNLCg7T.js";
3
- import { u as ke } from "./useNestedProp-BcPDA6Xr.js";
4
- import { u as st } from "./usePrinter-ButWuZVm.js";
5
- import { u as rt } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as ut } from "./useChartAccessibility-9icAAmYg.js";
7
- import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const it = ["id"], ct = {
1
+ import { defineAsyncComponent as k, computed as h, onMounted as Re, ref as n, watch as He, createElementBlock as i, openBlock as r, unref as o, normalizeStyle as V, normalizeClass as M, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as de, createSlots as Xe, withCtx as d, normalizeProps as _, guardReactiveProps as O, createElementVNode as S, Fragment as he, renderList as pe, createTextVNode as ye, toDisplayString as G, nextTick as je } from "vue";
2
+ import { u as Ye, o as qe, e as ge, g as Je, c as fe, t as Ke, p as B, a as Qe, b as Ze, G as be, d as et, M as tt, f as w, X as lt, i as me, x as ke, q as at, r as ot, y as st } from "./index-pPGk-uhD.js";
3
+ import { u as Ce } from "./useNestedProp-DjACxgdZ.js";
4
+ import { u as rt } from "./usePrinter-DDHcrl0A.js";
5
+ import { u as ut } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as nt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import it from "./img-Y_hYz-ZC.js";
8
+ import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const vt = ["id"], dt = {
9
10
  key: 1,
10
11
  ref: "noTitle",
11
12
  class: "vue-data-ui-no-title-space",
12
13
  style: "height:36px; width: 100%;background:transparent"
13
- }, vt = {
14
+ }, ht = {
14
15
  key: 2,
15
16
  style: "width:100%;background:transparent;padding-bottom:24px"
16
- }, dt = ["xmlns", "viewBox"], ht = ["width", "height"], pt = ["id"], yt = ["stdDeviation"], gt = ["d", "stroke", "stroke-width"], ft = ["d", "stroke", "stroke-width"], bt = ["filter"], mt = ["d", "stroke", "stroke-width"], kt = ["d", "stroke-width", "onMouseenter", "onClick"], Ct = {
17
+ }, pt = ["xmlns", "viewBox"], yt = ["width", "height"], gt = ["id"], ft = ["stdDeviation"], bt = ["d", "stroke", "stroke-width"], mt = ["d", "stroke", "stroke-width"], kt = ["filter"], Ct = ["d", "stroke", "stroke-width"], wt = ["d", "stroke-width", "onMouseenter", "onClick"], $t = {
17
18
  key: 5,
18
19
  class: "vue-data-ui-watermark"
19
- }, wt = ["onClick"], $t = { key: 0 }, xt = { key: 1 }, Tt = {
20
+ }, xt = ["onClick"], Tt = { key: 0 }, _t = { key: 1 }, Ot = {
20
21
  key: 8,
21
22
  ref: "source",
22
23
  dir: "auto"
23
- }, _t = ["innerHTML"], Ot = {
24
+ }, St = ["innerHTML"], Pt = {
24
25
  __name: "vue-ui-galaxy",
25
26
  props: {
26
27
  config: {
@@ -37,111 +38,111 @@ const it = ["id"], ct = {
37
38
  }
38
39
  },
39
40
  emits: ["selectLegend", "selectDatapoint"],
40
- setup(Ce, { expose: we, emit: $e }) {
41
- const xe = k(() => import("./vue-ui-accordion-CO4hmfuX.js")), Te = k(() => import("./DataTable-B6MXw9cG.js")), _e = k(() => import("./Legend-DoxQwq_u.js")), Oe = k(() => import("./PackageVersion-DCreTQN4.js")), Pe = k(() => import("./PenAndPaper-BS60tkQN.js")), Se = k(() => import("./vue-ui-skeleton-D9B8DY_k.js")), Ne = k(() => import("./Title-BQLtfM0P.js")), Le = k(() => import("./Tooltip-5JmGL7sR.js")), Ie = k(() => import("./UserOptions-DMGkAAIO.js")), { vue_ui_galaxy: Ae } = je(), f = Ce, I = h(() => !!f.dataset && f.dataset.length);
41
+ setup(we, { expose: $e, emit: xe }) {
42
+ const Te = k(() => import("./vue-ui-accordion-CVnA550V.js")), _e = k(() => import("./DataTable-D0VYDhfx.js")), Oe = k(() => import("./Legend-Bxlv67uY.js")), Se = k(() => import("./PackageVersion-5TR4ocqp.js")), Pe = k(() => import("./PenAndPaper-D6AqipIO.js")), Ne = k(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Le = k(() => import("./Title-B-2bV0SW.js")), Ie = k(() => import("./Tooltip-CoQnTnr-.js")), Ae = k(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_galaxy: Fe } = Ye(), f = we, A = h(() => !!f.dataset && f.dataset.length);
42
43
  Re(() => {
43
44
  X();
44
45
  });
45
46
  function X() {
46
- Ye(f.dataset) ? ye({
47
+ qe(f.dataset) ? ge({
47
48
  componentName: "VueUiGalaxy",
48
49
  type: "dataset"
49
- }) : f.dataset.forEach((t, o) => {
50
- qe({
50
+ }) : f.dataset.forEach((t, a) => {
51
+ Je({
51
52
  datasetObject: t,
52
53
  requiredAttributes: ["name", "values"]
53
54
  }).forEach((l) => {
54
- ye({
55
+ ge({
55
56
  componentName: "VueUiGalaxy",
56
57
  type: "datasetSerieAttribute",
57
58
  property: l,
58
- index: o
59
+ index: a
59
60
  });
60
61
  });
61
62
  });
62
63
  }
63
- const S = n(ge()), B = n(null), Fe = n(null), D = n(!1), z = n(""), b = n(null), j = n(0), Y = n(0), q = n(0), J = n(0), e = h({
64
+ const P = n(fe()), N = n(null), Ee = n(null), D = n(!1), z = n(""), b = n(null), j = n(0), Y = n(0), q = n(0), J = n(0), e = h({
64
65
  get: () => ee(),
65
66
  set: (t) => t
66
- }), { userOptionsVisible: W, setUserOptionsVisibility: K, keepUserOptionState: Q } = rt({ config: e.value }), { svgRef: Z } = ut({ config: e.value.style.chart.title });
67
+ }), { userOptionsVisible: U, setUserOptionsVisibility: K, keepUserOptionState: Q } = ut({ config: e.value }), { svgRef: Z } = nt({ config: e.value.style.chart.title });
67
68
  function ee() {
68
- const t = ke({
69
+ const t = Ce({
69
70
  userConfig: f.config,
70
- defaultConfig: Ae
71
+ defaultConfig: Fe
71
72
  });
72
73
  return t.theme ? {
73
- ...ke({
74
- userConfig: Ke.vue_ui_galaxy[t.theme] || f.config,
74
+ ...Ce({
75
+ userConfig: Qe.vue_ui_galaxy[t.theme] || f.config,
75
76
  defaultConfig: t
76
77
  }),
77
- customPalette: Je[t.theme] || G
78
+ customPalette: Ke[t.theme] || B
78
79
  } : t;
79
80
  }
80
- Ue(() => f.config, (t) => {
81
- e.value = ee(), W.value = !e.value.userOptions.showOnChartHover, X(), Y.value += 1, q.value += 1, J.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
81
+ He(() => f.config, (t) => {
82
+ e.value = ee(), U.value = !e.value.userOptions.showOnChartHover, X(), Y.value += 1, q.value += 1, J.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
82
83
  }, { deep: !0 });
83
- const { isPrinting: te, isImaging: le, generatePdf: oe, generateImage: ae } = st({
84
- elementId: `galaxy_${S.value}`,
84
+ const { isPrinting: te, isImaging: le, generatePdf: ae, generateImage: oe } = rt({
85
+ elementId: `galaxy_${P.value}`,
85
86
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
86
87
  options: e.value.userOptions.print
87
- }), Ve = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = h(() => Qe(e.value.customPalette)), p = n({
88
+ }), Ve = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Me = h(() => Ze(e.value.customPalette)), p = n({
88
89
  dataLabels: {
89
90
  show: e.value.style.chart.layout.labels.dataLabels.show
90
91
  },
91
92
  showTable: e.value.table.show,
92
93
  showTooltip: e.value.style.chart.tooltip.show
93
- }), N = n({
94
+ }), L = n({
94
95
  height: 180,
95
96
  // or 250 if non fibo
96
97
  width: 250
97
- }), se = $e, y = n([]);
98
- function R(t) {
99
- y.value.includes(t.id) ? y.value = y.value.filter((o) => o !== t.id) : y.value.push(t.id), se("selectLegend", L.value.map((o) => ({
100
- name: o.name,
101
- color: o.color,
102
- value: o.value
98
+ }), se = xe, y = n([]);
99
+ function W(t) {
100
+ y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), se("selectLegend", I.value.map((a) => ({
101
+ name: a.name,
102
+ color: a.color,
103
+ value: a.value
103
104
  })));
104
105
  }
105
- const $ = h(() => f.dataset.map((t, o) => ({
106
+ const $ = h(() => f.dataset.map((t, a) => ({
106
107
  name: t.name,
107
- color: Ze(t.color) || Ee.value[o] || G[o] || G[o % G.length],
108
- value: t.values ? fe(t.values).reduce((l, s) => l + s, 0) : 0,
109
- absoluteValues: fe(t.values),
110
- id: ge(),
111
- seriesIndex: o
112
- })).sort((t, o) => o.value - t.value));
113
- function Me() {
108
+ color: et(t.color) || Me.value[a] || B[a] || B[a % B.length],
109
+ value: t.values ? be(t.values).reduce((l, s) => l + s, 0) : 0,
110
+ absoluteValues: be(t.values),
111
+ id: fe(),
112
+ seriesIndex: a
113
+ })).sort((t, a) => a.value - t.value));
114
+ function Ge() {
114
115
  return $.value.map((t) => ({
115
116
  name: t.name,
116
117
  color: t.color,
117
118
  value: t.value
118
119
  }));
119
120
  }
120
- const m = h(() => $.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, o) => t + o, 0)), Ge = n(190), re = h(() => $.value.filter((t) => !y.value.includes(t.id))), L = h(() => {
121
+ const m = h(() => $.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Be = n(190), re = h(() => $.value.filter((t) => !y.value.includes(t.id))), I = h(() => {
121
122
  const t = [];
122
- for (let o = 0; o < re.value.length; o += 1) {
123
- const l = re.value[o];
124
- let s = l.value / m.value * Ge.value;
125
- o > 0 && t.length && (s += t[o - 1].points), t.push({
123
+ for (let a = 0; a < re.value.length; a += 1) {
124
+ const l = re.value[a];
125
+ let s = l.value / m.value * Be.value;
126
+ a > 0 && t.length && (s += t[a - 1].points), t.push({
126
127
  points: s,
127
128
  ...l,
128
- seriesIndex: o,
129
+ seriesIndex: a,
129
130
  proportion: l.value / m.value,
130
- path: et({
131
+ path: tt({
131
132
  points: s,
132
133
  startX: 115 + e.value.style.chart.layout.arcs.offsetX,
133
134
  startY: 90 + e.value.style.chart.layout.arcs.offsetY
134
135
  })
135
136
  });
136
137
  }
137
- return t.filter((o, l) => !y.value.includes(o.id)).toSorted((o, l) => l.points - o.points);
138
+ return t.filter((a, l) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
138
139
  }), T = n(!1);
139
- function Be(t) {
140
+ function ue(t) {
140
141
  T.value = t, j.value += 1;
141
142
  }
142
- const U = n(null);
143
- function De({ datapoint: t, _relativeIndex: o, seriesIndex: l, show: s = !1 }) {
144
- U.value = {
143
+ const R = n(null);
144
+ function De({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
145
+ R.value = {
145
146
  datapoint: t,
146
147
  seriesIndex: l,
147
148
  series: $.value,
@@ -149,7 +150,7 @@ const it = ["id"], ct = {
149
150
  }, D.value = s, b.value = t.id;
150
151
  let u = "";
151
152
  const g = e.value.style.chart.tooltip.customFormat;
152
- me(g) && at(() => g({
153
+ ke(g) && st(() => g({
153
154
  seriesIndex: l,
154
155
  datapoint: t,
155
156
  series: $.value,
@@ -159,7 +160,7 @@ const it = ["id"], ct = {
159
160
  datapoint: t,
160
161
  series: $.value,
161
162
  config: e.value
162
- }) : (u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (u += `<b>${be(
163
+ }) : (u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (u += `<b>${me(
163
164
  e.value.style.chart.layout.labels.dataLabels.formatter,
164
165
  t.value,
165
166
  w({
@@ -179,12 +180,12 @@ const it = ["id"], ct = {
179
180
  r: e.value.style.chart.tooltip.roundingPercentage
180
181
  })}</b></div>`), z.value = `<div>${u}</div>`);
181
182
  }
182
- const ue = h(() => $.value.map((t, o) => ({
183
+ const ne = h(() => $.value.map((t, a) => ({
183
184
  ...t,
184
185
  proportion: (t.value || 0) / f.dataset.map((l) => (l.values || []).reduce((s, u) => s + u, 0)).reduce((l, s) => l + s, 0),
185
186
  opacity: y.value.includes(t.id) ? 0.5 : 1,
186
187
  shape: t.shape || "circle",
187
- segregate: () => R(t),
188
+ segregate: () => W(t),
188
189
  isSegregated: y.value.includes(t.id)
189
190
  }))), ze = h(() => ({
190
191
  cy: "galaxy-div-legend",
@@ -194,26 +195,26 @@ const it = ["id"], ct = {
194
195
  paddingBottom: 12,
195
196
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
196
197
  })), C = h(() => {
197
- const t = L.value.map((l) => ({
198
+ const t = I.value.map((l) => ({
198
199
  name: l.name,
199
200
  color: l.color
200
- })), o = L.value.map((l) => l.value);
201
- return { head: t, body: o };
201
+ })), a = I.value.map((l) => l.value);
202
+ return { head: t, body: a };
202
203
  });
203
- function ne(t = null) {
204
- Xe(() => {
205
- const o = C.value.head.map((u, g) => [[
204
+ function ie(t = null) {
205
+ je(() => {
206
+ const a = C.value.head.map((u, g) => [[
206
207
  u.name
207
- ], [C.value.body[g]], [isNaN(C.value.body[g] / m.value) ? "-" : C.value.body[g] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), s = lt(l);
208
+ ], [C.value.body[g]], [isNaN(C.value.body[g] / m.value) ? "-" : C.value.body[g] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = at(l);
208
209
  t ? t(s) : ot({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
209
210
  });
210
211
  }
211
- const A = h(() => {
212
+ const F = h(() => {
212
213
  const t = [
213
214
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
214
215
  w({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
215
216
  "100%"
216
- ], o = C.value.head.map((u, g) => {
217
+ ], a = C.value.head.map((u, g) => {
217
218
  const We = w({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: C.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
218
219
  return [
219
220
  {
@@ -247,48 +248,55 @@ const it = ["id"], ct = {
247
248
  e.value.table.columnNames.percentage
248
249
  ],
249
250
  head: t,
250
- body: o,
251
+ body: a,
251
252
  config: l
252
253
  };
253
254
  });
254
- function ie() {
255
+ function ce() {
255
256
  p.value.showTable = !p.value.showTable;
256
257
  }
257
- function ce() {
258
+ function ve() {
258
259
  p.value.showTooltip = !p.value.showTooltip;
259
260
  }
260
- const F = n(!1);
261
+ const E = n(!1);
261
262
  function H() {
262
- F.value = !F.value;
263
+ E.value = !E.value;
264
+ }
265
+ async function Ue({ scale: t = 2 } = {}) {
266
+ if (!N.value) return;
267
+ const { imageUri: a, base64: l } = await it({ domElement: N.value, base64: !0, img: !0, scale: t });
268
+ return { imageUri: a, base64: l };
263
269
  }
264
- return we({
265
- getData: Me,
266
- generatePdf: oe,
267
- generateCsv: ne,
268
- generateImage: ae,
269
- toggleTable: ie,
270
- toggleTooltip: ce,
271
- toggleAnnotator: H
272
- }), (t, o) => (r(), i("div", {
270
+ return $e({
271
+ getData: Ge,
272
+ getImage: Ue,
273
+ generatePdf: ae,
274
+ generateCsv: ie,
275
+ generateImage: oe,
276
+ toggleTable: ce,
277
+ toggleTooltip: ve,
278
+ toggleAnnotator: H,
279
+ toggleFullscreen: ue
280
+ }), (t, a) => (r(), i("div", {
273
281
  ref_key: "galaxyChart",
274
- ref: B,
275
- class: E(`vue-ui-galaxy ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
282
+ ref: N,
283
+ class: M(`vue-ui-galaxy ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
276
284
  style: V(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
277
- id: `galaxy_${S.value}`,
278
- onMouseenter: o[3] || (o[3] = () => a(K)(!0)),
279
- onMouseleave: o[4] || (o[4] = () => a(K)(!1))
285
+ id: `galaxy_${P.value}`,
286
+ onMouseenter: a[3] || (a[3] = () => o(K)(!0)),
287
+ onMouseleave: a[4] || (a[4] = () => o(K)(!1))
280
288
  }, [
281
- e.value.userOptions.buttons.annotator ? (r(), x(a(Pe), {
289
+ e.value.userOptions.buttons.annotator ? (r(), x(o(Pe), {
282
290
  key: 0,
283
- svgRef: a(Z),
291
+ svgRef: o(Z),
284
292
  backgroundColor: e.value.style.chart.backgroundColor,
285
293
  color: e.value.style.chart.color,
286
- active: F.value,
294
+ active: E.value,
287
295
  onClose: H
288
296
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
289
- Ve.value ? (r(), i("div", ct, null, 512)) : c("", !0),
290
- e.value.style.chart.title.text ? (r(), i("div", vt, [
291
- (r(), x(a(Ne), {
297
+ Ve.value ? (r(), i("div", dt, null, 512)) : c("", !0),
298
+ e.value.style.chart.title.text ? (r(), i("div", ht, [
299
+ (r(), x(o(Le), {
292
300
  key: `title_${Y.value}`,
293
301
  config: {
294
302
  title: {
@@ -302,15 +310,15 @@ const it = ["id"], ct = {
302
310
  }
303
311
  }, null, 8, ["config"]))
304
312
  ])) : c("", !0),
305
- e.value.userOptions.show && I.value && (a(Q) || a(W)) ? (r(), x(a(Ie), {
313
+ e.value.userOptions.show && A.value && (o(Q) || o(U)) ? (r(), x(o(Ae), {
306
314
  ref_key: "details",
307
- ref: Fe,
315
+ ref: Ee,
308
316
  key: `user_option_${j.value}`,
309
317
  backgroundColor: e.value.style.chart.backgroundColor,
310
318
  color: e.value.style.chart.color,
311
- isPrinting: a(te),
312
- isImaging: a(le),
313
- uid: S.value,
319
+ isPrinting: o(te),
320
+ isImaging: o(le),
321
+ uid: P.value,
314
322
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
315
323
  hasPdf: e.value.userOptions.buttons.pdf,
316
324
  hasXls: e.value.userOptions.buttons.csv,
@@ -320,22 +328,23 @@ const it = ["id"], ct = {
320
328
  isTooltip: p.value.showTooltip,
321
329
  isFullscreen: T.value,
322
330
  titles: { ...e.value.userOptions.buttonTitles },
323
- chartElement: B.value,
331
+ chartElement: N.value,
324
332
  position: e.value.userOptions.position,
325
333
  hasAnnotator: e.value.userOptions.buttons.annotator,
326
- isAnnotation: F.value,
334
+ isAnnotation: E.value,
327
335
  callbacks: e.value.userOptions.callbacks,
328
- onToggleFullscreen: Be,
329
- onGeneratePdf: a(oe),
330
- onGenerateCsv: ne,
331
- onGenerateImage: a(ae),
332
- onToggleTable: ie,
333
- onToggleTooltip: ce,
336
+ printScale: e.value.userOptions.print.scale,
337
+ onToggleFullscreen: ue,
338
+ onGeneratePdf: o(ae),
339
+ onGenerateCsv: ie,
340
+ onGenerateImage: o(oe),
341
+ onToggleTable: ce,
342
+ onToggleTooltip: ve,
334
343
  onToggleAnnotator: H,
335
344
  style: V({
336
- visibility: a(Q) ? a(W) ? "visible" : "hidden" : "visible"
345
+ visibility: o(Q) ? o(U) ? "visible" : "hidden" : "visible"
337
346
  })
338
- }, He({ _: 2 }, [
347
+ }, Xe({ _: 2 }, [
339
348
  t.$slots.menuIcon ? {
340
349
  name: "menuIcon",
341
350
  fn: d(({ isOpen: l, color: s }) => [
@@ -392,44 +401,44 @@ const it = ["id"], ct = {
392
401
  ]),
393
402
  key: "7"
394
403
  } : void 0
395
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
396
- I.value ? (r(), i("svg", {
404
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
405
+ A.value ? (r(), i("svg", {
397
406
  key: 4,
398
407
  ref_key: "svgRef",
399
408
  ref: Z,
400
- xmlns: a(tt),
401
- class: E({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
402
- viewBox: `0 0 ${N.value.width} ${N.value.height}`,
409
+ xmlns: o(lt),
410
+ class: M({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
411
+ viewBox: `0 0 ${L.value.width} ${L.value.height}`,
403
412
  style: V(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
404
413
  }, [
405
- ve(a(Oe)),
414
+ de(o(Se)),
406
415
  t.$slots["chart-background"] ? (r(), i("foreignObject", {
407
416
  key: 0,
408
417
  x: 0,
409
418
  y: 0,
410
- width: N.value.width,
411
- height: N.value.height,
419
+ width: L.value.width,
420
+ height: L.value.height,
412
421
  style: {
413
422
  pointerEvents: "none"
414
423
  }
415
424
  }, [
416
425
  v(t.$slots, "chart-background", {}, void 0, !0)
417
- ], 8, ht)) : c("", !0),
418
- P("defs", null, [
419
- P("filter", {
420
- id: `blur_${S.value}`,
426
+ ], 8, yt)) : c("", !0),
427
+ S("defs", null, [
428
+ S("filter", {
429
+ id: `blur_${P.value}`,
421
430
  x: "-50%",
422
431
  y: "-50%",
423
432
  width: "200%",
424
433
  height: "200%"
425
434
  }, [
426
- P("feGaussianBlur", {
435
+ S("feGaussianBlur", {
427
436
  in: "SourceGraphic",
428
437
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
429
- }, null, 8, yt)
430
- ], 8, pt)
438
+ }, null, 8, ft)
439
+ ], 8, gt)
431
440
  ]),
432
- (r(!0), i(de, null, he(L.value, (l) => (r(), i("g", null, [
441
+ (r(!0), i(he, null, pe(I.value, (l) => (r(), i("g", null, [
433
442
  l.value ? (r(), i("path", {
434
443
  key: 0,
435
444
  d: l.path,
@@ -437,7 +446,7 @@ const it = ["id"], ct = {
437
446
  stroke: e.value.style.chart.backgroundColor,
438
447
  "stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (b.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
439
448
  "stroke-linecap": "round"
440
- }, null, 8, gt)) : c("", !0),
449
+ }, null, 8, bt)) : c("", !0),
441
450
  l.value ? (r(), i("path", {
442
451
  key: 1,
443
452
  d: l.path,
@@ -445,23 +454,23 @@ const it = ["id"], ct = {
445
454
  stroke: l.color,
446
455
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (b.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
447
456
  "stroke-linecap": "round",
448
- class: E(`${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
449
- }, null, 10, ft)) : c("", !0),
457
+ class: M(`${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
458
+ }, null, 10, mt)) : c("", !0),
450
459
  l.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), i("g", {
451
460
  key: 2,
452
- filter: `url(#blur_${S.value})`
461
+ filter: `url(#blur_${P.value})`
453
462
  }, [
454
- P("path", {
463
+ S("path", {
455
464
  d: l.path,
456
465
  fill: "none",
457
466
  stroke: e.value.style.chart.layout.arcs.gradient.color,
458
467
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (b.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
459
468
  "stroke-linecap": "round",
460
- class: E(`vue-ui-galaxy-gradient ${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
461
- }, null, 10, mt)
462
- ], 8, bt)) : c("", !0)
469
+ class: M(`vue-ui-galaxy-gradient ${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
470
+ }, null, 10, Ct)
471
+ ], 8, kt)) : c("", !0)
463
472
  ]))), 256)),
464
- (r(!0), i(de, null, he(L.value, (l, s) => (r(), i("g", null, [
473
+ (r(!0), i(he, null, pe(I.value, (l, s) => (r(), i("g", null, [
465
474
  l.value ? (r(), i("path", {
466
475
  key: 0,
467
476
  d: l.path,
@@ -474,18 +483,18 @@ const it = ["id"], ct = {
474
483
  seriesIndex: l.seriesIndex,
475
484
  show: !0
476
485
  }),
477
- onMouseleave: o[0] || (o[0] = (u) => {
486
+ onMouseleave: a[0] || (a[0] = (u) => {
478
487
  D.value = !1, b.value = null;
479
488
  }),
480
489
  onClick: (u) => se("selectDatapoint", l)
481
- }, null, 40, kt)) : c("", !0)
490
+ }, null, 40, wt)) : c("", !0)
482
491
  ]))), 256)),
483
- v(t.$slots, "svg", { svg: N.value }, void 0, !0)
484
- ], 14, dt)) : c("", !0),
485
- t.$slots.watermark ? (r(), i("div", Ct, [
486
- v(t.$slots, "watermark", _(O({ isPrinting: a(te) || a(le) })), void 0, !0)
492
+ v(t.$slots, "svg", { svg: L.value }, void 0, !0)
493
+ ], 14, pt)) : c("", !0),
494
+ t.$slots.watermark ? (r(), i("div", $t, [
495
+ v(t.$slots, "watermark", _(O({ isPrinting: o(te) || o(le) })), void 0, !0)
487
496
  ])) : c("", !0),
488
- I.value ? c("", !0) : (r(), x(a(Se), {
497
+ A.value ? c("", !0) : (r(), x(o(Ne), {
489
498
  key: 6,
490
499
  config: {
491
500
  type: "galaxy",
@@ -497,21 +506,21 @@ const it = ["id"], ct = {
497
506
  }
498
507
  }
499
508
  }, null, 8, ["config"])),
500
- e.value.style.chart.legend.show ? (r(), x(a(_e), {
509
+ e.value.style.chart.legend.show ? (r(), x(o(Oe), {
501
510
  key: `legend_${J.value}`,
502
- legendSet: ue.value,
511
+ legendSet: ne.value,
503
512
  config: ze.value,
504
- onClickMarker: o[1] || (o[1] = ({ legend: l }) => R(l))
513
+ onClickMarker: a[1] || (a[1] = ({ legend: l }) => W(l))
505
514
  }, {
506
515
  item: d(({ legend: l, index: s }) => [
507
- P("div", {
508
- onClick: (u) => R(l),
516
+ S("div", {
517
+ onClick: (u) => W(l),
509
518
  style: V(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
510
519
  }, [
511
- pe(M(l.name) + ": " + M(a(be)(
520
+ ye(G(l.name) + ": " + G(o(me)(
512
521
  e.value.style.chart.layout.labels.dataLabels.formatter,
513
522
  l.value,
514
- a(w)({
523
+ o(w)({
515
524
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
516
525
  v: l.value,
517
526
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -519,20 +528,20 @@ const it = ["id"], ct = {
519
528
  }),
520
529
  { datapoint: l, seriesIndex: s }
521
530
  )) + " ", 1),
522
- y.value.includes(l.id) ? (r(), i("span", xt, " ( - % ) ")) : (r(), i("span", $t, " (" + M(isNaN(l.value / m.value) ? "-" : a(w)({
531
+ y.value.includes(l.id) ? (r(), i("span", _t, " ( - % ) ")) : (r(), i("span", Tt, " (" + G(isNaN(l.value / m.value) ? "-" : o(w)({
523
532
  v: l.value / m.value * 100,
524
533
  s: "%",
525
534
  r: e.value.style.chart.legend.roundingPercentage
526
535
  })) + ") ", 1))
527
- ], 12, wt)
536
+ ], 12, xt)
528
537
  ]),
529
538
  _: 1
530
539
  }, 8, ["legendSet", "config"])) : c("", !0),
531
- v(t.$slots, "legend", { legend: ue.value }, void 0, !0),
532
- t.$slots.source ? (r(), i("div", Tt, [
540
+ v(t.$slots, "legend", { legend: ne.value }, void 0, !0),
541
+ t.$slots.source ? (r(), i("div", Ot, [
533
542
  v(t.$slots, "source", {}, void 0, !0)
534
543
  ], 512)) : c("", !0),
535
- ve(a(Le), {
544
+ de(o(Ie), {
536
545
  show: p.value.showTooltip && D.value,
537
546
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
538
547
  color: e.value.style.chart.tooltip.color,
@@ -543,20 +552,20 @@ const it = ["id"], ct = {
543
552
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
544
553
  position: e.value.style.chart.tooltip.position,
545
554
  offsetY: e.value.style.chart.tooltip.offsetY,
546
- parent: B.value,
555
+ parent: N.value,
547
556
  content: z.value,
548
557
  isFullscreen: T.value,
549
- isCustom: a(me)(e.value.style.chart.tooltip.customFormat)
558
+ isCustom: o(ke)(e.value.style.chart.tooltip.customFormat)
550
559
  }, {
551
560
  "tooltip-before": d(() => [
552
- v(t.$slots, "tooltip-before", _(O({ ...U.value })), void 0, !0)
561
+ v(t.$slots, "tooltip-before", _(O({ ...R.value })), void 0, !0)
553
562
  ]),
554
563
  "tooltip-after": d(() => [
555
- v(t.$slots, "tooltip-after", _(O({ ...U.value })), void 0, !0)
564
+ v(t.$slots, "tooltip-after", _(O({ ...R.value })), void 0, !0)
556
565
  ]),
557
566
  _: 3
558
567
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
559
- I.value ? (r(), x(a(xe), {
568
+ A.value ? (r(), x(o(Te), {
560
569
  key: 9,
561
570
  hideDetails: "",
562
571
  config: {
@@ -573,32 +582,32 @@ const it = ["id"], ct = {
573
582
  }
574
583
  }, {
575
584
  content: d(() => [
576
- (r(), x(a(Te), {
585
+ (r(), x(o(_e), {
577
586
  key: `table_${q.value}`,
578
- colNames: A.value.colNames,
579
- head: A.value.head,
580
- body: A.value.body,
581
- config: A.value.config,
587
+ colNames: F.value.colNames,
588
+ head: F.value.head,
589
+ body: F.value.body,
590
+ config: F.value.config,
582
591
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
583
- onClose: o[2] || (o[2] = (l) => p.value.showTable = !1)
592
+ onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
584
593
  }, {
585
594
  th: d(({ th: l }) => [
586
- P("div", {
595
+ S("div", {
587
596
  innerHTML: l,
588
597
  style: { display: "flex", "align-items": "center" }
589
- }, null, 8, _t)
598
+ }, null, 8, St)
590
599
  ]),
591
600
  td: d(({ td: l }) => [
592
- pe(M(l.name || l), 1)
601
+ ye(G(l.name || l), 1)
593
602
  ]),
594
603
  _: 1
595
604
  }, 8, ["colNames", "head", "body", "config", "title"]))
596
605
  ]),
597
606
  _: 1
598
607
  }, 8, ["config"])) : c("", !0)
599
- ], 46, it));
608
+ ], 46, vt));
600
609
  }
601
- }, Vt = /* @__PURE__ */ nt(Ot, [["__scopeId", "data-v-0bd8794e"]]);
610
+ }, Gt = /* @__PURE__ */ ct(Pt, [["__scopeId", "data-v-fc63f38c"]]);
602
611
  export {
603
- Vt as default
612
+ Gt as default
604
613
  };