vue-data-ui 2.17.0 → 2.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-Cde-wJ3N.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +63 -160
  23. package/dist/types/vue-data-ui.d.ts +63 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-D7ZgRDQ_.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-ORUAjkg7.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-Yl4aRpNc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-C307lCPt.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-BE6PcEdh.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CUw74AgC.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-CCPGeAiY.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-dfyPiQmy.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-CKa7nFjt.js → vue-ui-donut-D41WeqQU.js} +244 -243
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-Deg0dsYg.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-DDwNoTPG.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-6oR7IMyi.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BnXtOJmh.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-75XC8SpV.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-w31j915C.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-BfU62tMW.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-CFfco-Yj.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-Tdk3Gd8M.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-Dg5wS7W5.js} +126 -119
  55. package/dist/{vue-ui-nested-donuts-D0RgFifU.js → vue-ui-nested-donuts-CpRe0sQB.js} +244 -244
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-B8o4ft2v.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-DiRtZ16w.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-BRlYC_yT.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-DKgX1Ibx.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-MHiAp8dC.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-DA8verAe.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-Dh6lFqun.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-CLC5sTOi.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-C6rjCYDD.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-B6cYojHQ.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-D-oiVT3n.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-B1bM9Aoo.js} +127 -120
  82. package/dist/vue-ui-treemap-DX48YlU5.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-6SjKPQWR.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-CYao9MMw.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-USuDhMwW.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-TOBTs7yF.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-C2qikqBa.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-DxwgKoO-.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-N69OpVn8.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,10 +1,10 @@
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";
1
+ import { defineAsyncComponent as k, computed as g, onMounted as Ue, ref as n, watch as We, createElementBlock as i, openBlock as r, unref as o, normalizeStyle as M, normalizeClass as B, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as de, createSlots as He, withCtx as d, normalizeProps as P, guardReactiveProps as S, createElementVNode as _, Fragment as he, renderList as ge, toDisplayString as A, createTextVNode as Xe, nextTick as je } from "vue";
2
+ import { u as Ye, o as qe, e as pe, g as Je, c as ye, t as Ke, p as G, a as Qe, b as Ze, G as fe, d as et, M as tt, f as C, X as lt, i as be, x as me, q as at, r as ot, y as st } from "./index-CobsZUkv.js";
3
+ import { u as ke } from "./useNestedProp-BwL5wmVa.js";
4
+ import { u as rt } from "./usePrinter-DPh6U_Qk.js";
5
5
  import { u as ut } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as nt } from "./useChartAccessibility-9icAAmYg.js";
7
- import it from "./img-Y_hYz-ZC.js";
7
+ import it from "./img-utitT2Gd.js";
8
8
  import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const vt = ["id"], dt = {
10
10
  key: 1,
@@ -14,14 +14,14 @@ const vt = ["id"], dt = {
14
14
  }, ht = {
15
15
  key: 2,
16
16
  style: "width:100%;background:transparent;padding-bottom:24px"
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
+ }, gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["id"], ft = ["stdDeviation"], bt = ["d", "stroke", "stroke-width"], mt = ["d", "stroke", "stroke-width"], kt = ["filter"], wt = ["d", "stroke", "stroke-width"], Ct = ["d", "stroke-width", "onMouseenter", "onClick"], $t = {
18
18
  key: 5,
19
19
  class: "vue-data-ui-watermark"
20
- }, xt = ["onClick"], Tt = { key: 0 }, _t = { key: 1 }, Ot = {
20
+ }, xt = ["onClick"], Tt = {
21
21
  key: 8,
22
22
  ref: "source",
23
23
  dir: "auto"
24
- }, St = ["innerHTML"], Pt = {
24
+ }, Ot = ["innerHTML"], Pt = {
25
25
  __name: "vue-ui-galaxy",
26
26
  props: {
27
27
  config: {
@@ -38,13 +38,13 @@ const vt = ["id"], dt = {
38
38
  }
39
39
  },
40
40
  emits: ["selectLegend", "selectDatapoint"],
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);
43
- Re(() => {
41
+ setup(we, { expose: Ce, emit: $e }) {
42
+ const xe = k(() => import("./vue-ui-accordion-UewqY6OI.js")), Te = k(() => import("./DataTable-Dt-TIOyY.js")), Oe = k(() => import("./Legend-3LNqqLDg.js")), Pe = k(() => import("./PackageVersion-C-4Ee8BQ.js")), Se = k(() => import("./PenAndPaper-Cde-wJ3N.js")), _e = k(() => import("./vue-ui-skeleton-8s4xts8z.js")), Ne = k(() => import("./Title-DpERl1yr.js")), Le = k(() => import("./Tooltip-DA0bYKFG.js")), Ie = k(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_galaxy: Ae } = Ye(), f = we, F = g(() => !!f.dataset && f.dataset.length);
43
+ Ue(() => {
44
44
  X();
45
45
  });
46
46
  function X() {
47
- qe(f.dataset) ? ge({
47
+ qe(f.dataset) ? pe({
48
48
  componentName: "VueUiGalaxy",
49
49
  type: "dataset"
50
50
  }) : f.dataset.forEach((t, a) => {
@@ -52,7 +52,7 @@ const vt = ["id"], dt = {
52
52
  datasetObject: t,
53
53
  requiredAttributes: ["name", "values"]
54
54
  }).forEach((l) => {
55
- ge({
55
+ pe({
56
56
  componentName: "VueUiGalaxy",
57
57
  type: "datasetSerieAttribute",
58
58
  property: l,
@@ -61,31 +61,31 @@ const vt = ["id"], dt = {
61
61
  });
62
62
  });
63
63
  }
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
+ const N = n(ye()), T = n(null), Fe = n(null), D = n(!1), R = n(""), b = n(null), j = n(0), Y = n(0), q = n(0), J = n(0), e = g({
65
65
  get: () => ee(),
66
66
  set: (t) => t
67
- }), { userOptionsVisible: U, setUserOptionsVisibility: K, keepUserOptionState: Q } = ut({ config: e.value }), { svgRef: Z } = nt({ config: e.value.style.chart.title });
67
+ }), { userOptionsVisible: z, setUserOptionsVisibility: K, keepUserOptionState: Q } = ut({ config: e.value }), { svgRef: Z } = nt({ config: e.value.style.chart.title });
68
68
  function ee() {
69
- const t = Ce({
69
+ const t = ke({
70
70
  userConfig: f.config,
71
- defaultConfig: Fe
71
+ defaultConfig: Ae
72
72
  });
73
73
  return t.theme ? {
74
- ...Ce({
74
+ ...ke({
75
75
  userConfig: Qe.vue_ui_galaxy[t.theme] || f.config,
76
76
  defaultConfig: t
77
77
  }),
78
- customPalette: Ke[t.theme] || B
78
+ customPalette: Ke[t.theme] || G
79
79
  } : t;
80
80
  }
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;
81
+ We(() => f.config, (t) => {
82
+ e.value = ee(), z.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;
83
83
  }, { deep: !0 });
84
84
  const { isPrinting: te, isImaging: le, generatePdf: ae, generateImage: oe } = rt({
85
- elementId: `galaxy_${P.value}`,
85
+ elementId: `galaxy_${N.value}`,
86
86
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
87
87
  options: e.value.userOptions.print
88
- }), Ve = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Me = h(() => Ze(e.value.customPalette)), p = n({
88
+ }), Ve = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = g(() => Ze(e.value.customPalette)), p = n({
89
89
  dataLabels: {
90
90
  show: e.value.style.chart.layout.labels.dataLabels.show
91
91
  },
@@ -95,30 +95,30 @@ const vt = ["id"], dt = {
95
95
  height: 180,
96
96
  // or 250 if non fibo
97
97
  width: 250
98
- }), se = xe, y = n([]);
99
- function W(t) {
98
+ }), se = $e, y = n([]);
99
+ function U(t) {
100
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
101
  name: a.name,
102
102
  color: a.color,
103
103
  value: a.value
104
104
  })));
105
105
  }
106
- const $ = h(() => f.dataset.map((t, a) => ({
106
+ const $ = g(() => f.dataset.map((t, a) => ({
107
107
  name: t.name,
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(),
108
+ color: et(t.color) || Ee.value[a] || G[a] || G[a % G.length],
109
+ value: t.values ? fe(t.values).reduce((l, s) => l + s, 0) : 0,
110
+ absoluteValues: fe(t.values),
111
+ id: ye(),
112
112
  seriesIndex: a
113
113
  })).sort((t, a) => a.value - t.value));
114
- function Ge() {
114
+ function Me() {
115
115
  return $.value.map((t) => ({
116
116
  name: t.name,
117
117
  color: t.color,
118
118
  value: t.value
119
119
  }));
120
120
  }
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
+ const m = g(() => $.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Be = n(190), re = g(() => $.value.filter((t) => !y.value.includes(t.id))), I = g(() => {
122
122
  const t = [];
123
123
  for (let a = 0; a < re.value.length; a += 1) {
124
124
  const l = re.value[a];
@@ -136,65 +136,65 @@ const vt = ["id"], dt = {
136
136
  });
137
137
  }
138
138
  return t.filter((a, l) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
139
- }), T = n(!1);
139
+ }), O = n(!1);
140
140
  function ue(t) {
141
- T.value = t, j.value += 1;
141
+ O.value = t, j.value += 1;
142
142
  }
143
- const R = n(null);
144
- function De({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
145
- R.value = {
143
+ const W = n(null);
144
+ function Ge({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
145
+ W.value = {
146
146
  datapoint: t,
147
147
  seriesIndex: l,
148
148
  series: $.value,
149
149
  config: e.value
150
150
  }, D.value = s, b.value = t.id;
151
151
  let u = "";
152
- const g = e.value.style.chart.tooltip.customFormat;
153
- ke(g) && st(() => g({
152
+ const h = e.value.style.chart.tooltip.customFormat;
153
+ me(h) && st(() => h({
154
154
  seriesIndex: l,
155
155
  datapoint: t,
156
156
  series: $.value,
157
157
  config: e.value
158
- })) ? z.value = g({
158
+ })) ? R.value = h({
159
159
  seriesIndex: l,
160
160
  datapoint: t,
161
161
  series: $.value,
162
162
  config: e.value
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
+ }) : (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(
164
164
  e.value.style.chart.layout.labels.dataLabels.formatter,
165
165
  t.value,
166
- w({
166
+ C({
167
167
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
168
168
  v: t.value,
169
169
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
170
170
  r: e.value.style.chart.tooltip.roundingValue
171
171
  }),
172
172
  { datapoint: t, seriesIndex: l }
173
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${w({
173
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${C({
174
174
  v: t.proportion * 100,
175
175
  s: "%",
176
176
  r: e.value.style.chart.tooltip.roundingPercentage
177
- })})</span></div>` : u += `<b>${w({
177
+ })})</span></div>` : u += `<b>${C({
178
178
  v: t.proportion * 100,
179
179
  s: "%",
180
180
  r: e.value.style.chart.tooltip.roundingPercentage
181
- })}</b></div>`), z.value = `<div>${u}</div>`);
181
+ })}</b></div>`), R.value = `<div>${u}</div>`);
182
182
  }
183
- const ne = h(() => $.value.map((t, a) => ({
183
+ const ne = g(() => $.value.map((t, a) => ({
184
184
  ...t,
185
185
  proportion: (t.value || 0) / f.dataset.map((l) => (l.values || []).reduce((s, u) => s + u, 0)).reduce((l, s) => l + s, 0),
186
186
  opacity: y.value.includes(t.id) ? 0.5 : 1,
187
187
  shape: t.shape || "circle",
188
- segregate: () => W(t),
188
+ segregate: () => U(t),
189
189
  isSegregated: y.value.includes(t.id)
190
- }))), ze = h(() => ({
190
+ }))), De = g(() => ({
191
191
  cy: "galaxy-div-legend",
192
192
  backgroundColor: e.value.style.chart.legend.backgroundColor,
193
193
  color: e.value.style.chart.legend.color,
194
194
  fontSize: e.value.style.chart.legend.fontSize,
195
195
  paddingBottom: 12,
196
196
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
197
- })), C = h(() => {
197
+ })), w = g(() => {
198
198
  const t = I.value.map((l) => ({
199
199
  name: l.name,
200
200
  color: l.color
@@ -203,27 +203,27 @@ const vt = ["id"], dt = {
203
203
  });
204
204
  function ie(t = null) {
205
205
  je(() => {
206
- const a = C.value.head.map((u, g) => [[
206
+ const a = w.value.head.map((u, h) => [[
207
207
  u.name
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
+ ], [w.value.body[h]], [isNaN(w.value.body[h] / m.value) ? "-" : w.value.body[h] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = at(l);
209
209
  t ? t(s) : ot({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
210
210
  });
211
211
  }
212
- const F = h(() => {
212
+ const V = g(() => {
213
213
  const t = [
214
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>',
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
+ C({ 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 }),
216
216
  "100%"
217
- ], a = C.value.head.map((u, g) => {
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 });
217
+ ], a = w.value.head.map((u, h) => {
218
+ const ze = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: w.value.body[h], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
219
219
  return [
220
220
  {
221
221
  color: u.color,
222
222
  name: u.name
223
223
  },
224
- We,
225
- isNaN(C.value.body[g] / m.value) ? "-" : w({
226
- v: C.value.body[g] / m.value * 100,
224
+ ze,
225
+ isNaN(w.value.body[h] / m.value) ? "-" : C({
226
+ v: w.value.body[h] / m.value * 100,
227
227
  s: "%",
228
228
  r: e.value.table.td.roundingPercentage
229
229
  })
@@ -262,14 +262,21 @@ const vt = ["id"], dt = {
262
262
  function H() {
263
263
  E.value = !E.value;
264
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 };
265
+ async function Re({ scale: t = 2 } = {}) {
266
+ if (!T.value) return;
267
+ const { width: a, height: l } = T.value.getBoundingClientRect(), s = a / l, { imageUri: u, base64: h } = await it({ domElement: T.value, base64: !0, img: !0, scale: t });
268
+ return {
269
+ imageUri: u,
270
+ base64: h,
271
+ title: e.value.style.chart.title.text,
272
+ width: a,
273
+ height: l,
274
+ aspectRatio: s
275
+ };
269
276
  }
270
- return $e({
271
- getData: Ge,
272
- getImage: Ue,
277
+ return Ce({
278
+ getData: Me,
279
+ getImage: Re,
273
280
  generatePdf: ae,
274
281
  generateCsv: ie,
275
282
  generateImage: oe,
@@ -279,14 +286,14 @@ const vt = ["id"], dt = {
279
286
  toggleFullscreen: ue
280
287
  }), (t, a) => (r(), i("div", {
281
288
  ref_key: "galaxyChart",
282
- ref: N,
283
- class: M(`vue-ui-galaxy ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
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}`),
285
- id: `galaxy_${P.value}`,
289
+ ref: T,
290
+ class: B(`vue-ui-galaxy ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
291
+ style: M(`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}`),
292
+ id: `galaxy_${N.value}`,
286
293
  onMouseenter: a[3] || (a[3] = () => o(K)(!0)),
287
294
  onMouseleave: a[4] || (a[4] = () => o(K)(!1))
288
295
  }, [
289
- e.value.userOptions.buttons.annotator ? (r(), x(o(Pe), {
296
+ e.value.userOptions.buttons.annotator ? (r(), x(o(Se), {
290
297
  key: 0,
291
298
  svgRef: o(Z),
292
299
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -296,7 +303,7 @@ const vt = ["id"], dt = {
296
303
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
297
304
  Ve.value ? (r(), i("div", dt, null, 512)) : c("", !0),
298
305
  e.value.style.chart.title.text ? (r(), i("div", ht, [
299
- (r(), x(o(Le), {
306
+ (r(), x(o(Ne), {
300
307
  key: `title_${Y.value}`,
301
308
  config: {
302
309
  title: {
@@ -310,15 +317,15 @@ const vt = ["id"], dt = {
310
317
  }
311
318
  }, null, 8, ["config"]))
312
319
  ])) : c("", !0),
313
- e.value.userOptions.show && A.value && (o(Q) || o(U)) ? (r(), x(o(Ae), {
320
+ e.value.userOptions.show && F.value && (o(Q) || o(z)) ? (r(), x(o(Ie), {
314
321
  ref_key: "details",
315
- ref: Ee,
322
+ ref: Fe,
316
323
  key: `user_option_${j.value}`,
317
324
  backgroundColor: e.value.style.chart.backgroundColor,
318
325
  color: e.value.style.chart.color,
319
326
  isPrinting: o(te),
320
327
  isImaging: o(le),
321
- uid: P.value,
328
+ uid: N.value,
322
329
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
323
330
  hasPdf: e.value.userOptions.buttons.pdf,
324
331
  hasXls: e.value.userOptions.buttons.csv,
@@ -326,9 +333,9 @@ const vt = ["id"], dt = {
326
333
  hasTable: e.value.userOptions.buttons.table,
327
334
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
328
335
  isTooltip: p.value.showTooltip,
329
- isFullscreen: T.value,
336
+ isFullscreen: O.value,
330
337
  titles: { ...e.value.userOptions.buttonTitles },
331
- chartElement: N.value,
338
+ chartElement: T.value,
332
339
  position: e.value.userOptions.position,
333
340
  hasAnnotator: e.value.userOptions.buttons.annotator,
334
341
  isAnnotation: E.value,
@@ -341,14 +348,14 @@ const vt = ["id"], dt = {
341
348
  onToggleTable: ce,
342
349
  onToggleTooltip: ve,
343
350
  onToggleAnnotator: H,
344
- style: V({
345
- visibility: o(Q) ? o(U) ? "visible" : "hidden" : "visible"
351
+ style: M({
352
+ visibility: o(Q) ? o(z) ? "visible" : "hidden" : "visible"
346
353
  })
347
- }, Xe({ _: 2 }, [
354
+ }, He({ _: 2 }, [
348
355
  t.$slots.menuIcon ? {
349
356
  name: "menuIcon",
350
357
  fn: d(({ isOpen: l, color: s }) => [
351
- v(t.$slots, "menuIcon", _(O({ isOpen: l, color: s })), void 0, !0)
358
+ v(t.$slots, "menuIcon", P(S({ isOpen: l, color: s })), void 0, !0)
352
359
  ]),
353
360
  key: "0"
354
361
  } : void 0,
@@ -390,28 +397,28 @@ const vt = ["id"], dt = {
390
397
  t.$slots.optionFullscreen ? {
391
398
  name: "optionFullscreen",
392
399
  fn: d(({ toggleFullscreen: l, isFullscreen: s }) => [
393
- v(t.$slots, "optionFullscreen", _(O({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
400
+ v(t.$slots, "optionFullscreen", P(S({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
394
401
  ]),
395
402
  key: "6"
396
403
  } : void 0,
397
404
  t.$slots.optionAnnotator ? {
398
405
  name: "optionAnnotator",
399
406
  fn: d(({ toggleAnnotator: l, isAnnotator: s }) => [
400
- v(t.$slots, "optionAnnotator", _(O({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
407
+ v(t.$slots, "optionAnnotator", P(S({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
401
408
  ]),
402
409
  key: "7"
403
410
  } : void 0
404
411
  ]), 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", {
412
+ F.value ? (r(), i("svg", {
406
413
  key: 4,
407
414
  ref_key: "svgRef",
408
415
  ref: Z,
409
416
  xmlns: o(lt),
410
- class: M({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
417
+ class: B({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
411
418
  viewBox: `0 0 ${L.value.width} ${L.value.height}`,
412
- style: V(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
419
+ style: M(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
413
420
  }, [
414
- de(o(Se)),
421
+ de(o(Pe)),
415
422
  t.$slots["chart-background"] ? (r(), i("foreignObject", {
416
423
  key: 0,
417
424
  x: 0,
@@ -423,22 +430,22 @@ const vt = ["id"], dt = {
423
430
  }
424
431
  }, [
425
432
  v(t.$slots, "chart-background", {}, void 0, !0)
426
- ], 8, yt)) : c("", !0),
427
- S("defs", null, [
428
- S("filter", {
429
- id: `blur_${P.value}`,
433
+ ], 8, pt)) : c("", !0),
434
+ _("defs", null, [
435
+ _("filter", {
436
+ id: `blur_${N.value}`,
430
437
  x: "-50%",
431
438
  y: "-50%",
432
439
  width: "200%",
433
440
  height: "200%"
434
441
  }, [
435
- S("feGaussianBlur", {
442
+ _("feGaussianBlur", {
436
443
  in: "SourceGraphic",
437
444
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
438
445
  }, null, 8, ft)
439
- ], 8, gt)
446
+ ], 8, yt)
440
447
  ]),
441
- (r(!0), i(he, null, pe(I.value, (l) => (r(), i("g", null, [
448
+ (r(!0), i(he, null, ge(I.value, (l) => (r(), i("g", null, [
442
449
  l.value ? (r(), i("path", {
443
450
  key: 0,
444
451
  d: l.path,
@@ -454,23 +461,23 @@ const vt = ["id"], dt = {
454
461
  stroke: l.color,
455
462
  "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),
456
463
  "stroke-linecap": "round",
457
- class: M(`${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
464
+ class: B(`${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
458
465
  }, null, 10, mt)) : c("", !0),
459
466
  l.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), i("g", {
460
467
  key: 2,
461
- filter: `url(#blur_${P.value})`
468
+ filter: `url(#blur_${N.value})`
462
469
  }, [
463
- S("path", {
470
+ _("path", {
464
471
  d: l.path,
465
472
  fill: "none",
466
473
  stroke: e.value.style.chart.layout.arcs.gradient.color,
467
474
  "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),
468
475
  "stroke-linecap": "round",
469
- class: M(`vue-ui-galaxy-gradient ${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
470
- }, null, 10, Ct)
476
+ class: B(`vue-ui-galaxy-gradient ${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
477
+ }, null, 10, wt)
471
478
  ], 8, kt)) : c("", !0)
472
479
  ]))), 256)),
473
- (r(!0), i(he, null, pe(I.value, (l, s) => (r(), i("g", null, [
480
+ (r(!0), i(he, null, ge(I.value, (l, s) => (r(), i("g", null, [
474
481
  l.value ? (r(), i("path", {
475
482
  key: 0,
476
483
  d: l.path,
@@ -478,7 +485,7 @@ const vt = ["id"], dt = {
478
485
  stroke: "transparent",
479
486
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
480
487
  "stroke-linecap": "round",
481
- onMouseenter: (u) => De({
488
+ onMouseenter: (u) => Ge({
482
489
  datapoint: l,
483
490
  seriesIndex: l.seriesIndex,
484
491
  show: !0
@@ -487,14 +494,14 @@ const vt = ["id"], dt = {
487
494
  D.value = !1, b.value = null;
488
495
  }),
489
496
  onClick: (u) => se("selectDatapoint", l)
490
- }, null, 40, wt)) : c("", !0)
497
+ }, null, 40, Ct)) : c("", !0)
491
498
  ]))), 256)),
492
499
  v(t.$slots, "svg", { svg: L.value }, void 0, !0)
493
- ], 14, pt)) : c("", !0),
500
+ ], 14, gt)) : c("", !0),
494
501
  t.$slots.watermark ? (r(), i("div", $t, [
495
- v(t.$slots, "watermark", _(O({ isPrinting: o(te) || o(le) })), void 0, !0)
502
+ v(t.$slots, "watermark", P(S({ isPrinting: o(te) || o(le) })), void 0, !0)
496
503
  ])) : c("", !0),
497
- A.value ? c("", !0) : (r(), x(o(Ne), {
504
+ F.value ? c("", !0) : (r(), x(o(_e), {
498
505
  key: 6,
499
506
  config: {
500
507
  type: "galaxy",
@@ -509,39 +516,36 @@ const vt = ["id"], dt = {
509
516
  e.value.style.chart.legend.show ? (r(), x(o(Oe), {
510
517
  key: `legend_${J.value}`,
511
518
  legendSet: ne.value,
512
- config: ze.value,
513
- onClickMarker: a[1] || (a[1] = ({ legend: l }) => W(l))
519
+ config: De.value,
520
+ onClickMarker: a[1] || (a[1] = ({ legend: l }) => U(l))
514
521
  }, {
515
522
  item: d(({ legend: l, index: s }) => [
516
- S("div", {
517
- onClick: (u) => W(l),
518
- style: V(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
519
- }, [
520
- ye(G(l.name) + ": " + G(o(me)(
521
- e.value.style.chart.layout.labels.dataLabels.formatter,
522
- l.value,
523
- o(w)({
524
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
525
- v: l.value,
526
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
527
- r: e.value.style.chart.legend.roundingValue
528
- }),
529
- { datapoint: l, seriesIndex: s }
530
- )) + " ", 1),
531
- y.value.includes(l.id) ? (r(), i("span", _t, " ( - % ) ")) : (r(), i("span", Tt, " (" + G(isNaN(l.value / m.value) ? "-" : o(w)({
532
- v: l.value / m.value * 100,
533
- s: "%",
534
- r: e.value.style.chart.legend.roundingPercentage
535
- })) + ") ", 1))
536
- ], 12, xt)
523
+ _("div", {
524
+ onClick: (u) => U(l),
525
+ style: M(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
526
+ }, A(l.name) + A(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + A(e.value.style.chart.legend.showValue ? o(be)(
527
+ e.value.style.chart.layout.labels.dataLabels.formatter,
528
+ l.value,
529
+ o(C)({
530
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
531
+ v: l.value,
532
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
533
+ r: e.value.style.chart.legend.roundingValue
534
+ }),
535
+ { datapoint: l, seriesIndex: s }
536
+ ) : "") + " " + A(e.value.style.chart.legend.showPercentage ? y.value.includes(l.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / m.value) ? "-" : o(C)({
537
+ v: l.value / m.value * 100,
538
+ s: "%",
539
+ r: e.value.style.chart.legend.roundingPercentage
540
+ })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, xt)
537
541
  ]),
538
542
  _: 1
539
543
  }, 8, ["legendSet", "config"])) : c("", !0),
540
544
  v(t.$slots, "legend", { legend: ne.value }, void 0, !0),
541
- t.$slots.source ? (r(), i("div", Ot, [
545
+ t.$slots.source ? (r(), i("div", Tt, [
542
546
  v(t.$slots, "source", {}, void 0, !0)
543
547
  ], 512)) : c("", !0),
544
- de(o(Ie), {
548
+ de(o(Le), {
545
549
  show: p.value.showTooltip && D.value,
546
550
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
547
551
  color: e.value.style.chart.tooltip.color,
@@ -552,20 +556,20 @@ const vt = ["id"], dt = {
552
556
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
553
557
  position: e.value.style.chart.tooltip.position,
554
558
  offsetY: e.value.style.chart.tooltip.offsetY,
555
- parent: N.value,
556
- content: z.value,
557
- isFullscreen: T.value,
558
- isCustom: o(ke)(e.value.style.chart.tooltip.customFormat)
559
+ parent: T.value,
560
+ content: R.value,
561
+ isFullscreen: O.value,
562
+ isCustom: o(me)(e.value.style.chart.tooltip.customFormat)
559
563
  }, {
560
564
  "tooltip-before": d(() => [
561
- v(t.$slots, "tooltip-before", _(O({ ...R.value })), void 0, !0)
565
+ v(t.$slots, "tooltip-before", P(S({ ...W.value })), void 0, !0)
562
566
  ]),
563
567
  "tooltip-after": d(() => [
564
- v(t.$slots, "tooltip-after", _(O({ ...R.value })), void 0, !0)
568
+ v(t.$slots, "tooltip-after", P(S({ ...W.value })), void 0, !0)
565
569
  ]),
566
570
  _: 3
567
571
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
568
- A.value ? (r(), x(o(Te), {
572
+ F.value ? (r(), x(o(xe), {
569
573
  key: 9,
570
574
  hideDetails: "",
571
575
  config: {
@@ -582,23 +586,23 @@ const vt = ["id"], dt = {
582
586
  }
583
587
  }, {
584
588
  content: d(() => [
585
- (r(), x(o(_e), {
589
+ (r(), x(o(Te), {
586
590
  key: `table_${q.value}`,
587
- colNames: F.value.colNames,
588
- head: F.value.head,
589
- body: F.value.body,
590
- config: F.value.config,
591
+ colNames: V.value.colNames,
592
+ head: V.value.head,
593
+ body: V.value.body,
594
+ config: V.value.config,
591
595
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
592
596
  onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
593
597
  }, {
594
598
  th: d(({ th: l }) => [
595
- S("div", {
599
+ _("div", {
596
600
  innerHTML: l,
597
601
  style: { display: "flex", "align-items": "center" }
598
- }, null, 8, St)
602
+ }, null, 8, Ot)
599
603
  ]),
600
604
  td: d(({ td: l }) => [
601
- ye(G(l.name || l), 1)
605
+ Xe(A(l.name || l), 1)
602
606
  ]),
603
607
  _: 1
604
608
  }, 8, ["colNames", "head", "body", "config", "title"]))
@@ -607,7 +611,7 @@ const vt = ["id"], dt = {
607
611
  }, 8, ["config"])) : c("", !0)
608
612
  ], 46, vt));
609
613
  }
610
- }, Gt = /* @__PURE__ */ ct(Pt, [["__scopeId", "data-v-fc63f38c"]]);
614
+ }, Et = /* @__PURE__ */ ct(Pt, [["__scopeId", "data-v-138fd332"]]);
611
615
  export {
612
- Gt as default
616
+ Et as default
613
617
  };