vue-data-ui 2.16.6 → 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 +83 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1096 -160
  23. package/dist/types/vue-data-ui.d.ts +1096 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.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-CtlB4p7i.js → vue-ui-3d-bar-D5Wpdqfk.js} +228 -220
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
  82. package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
  85. package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
  86. package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
@@ -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 S, 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-DvIXJm6t.js";
3
- import { u as ke } from "./useNestedProp-DrYHm61t.js";
4
- import { u as st } from "./usePrinter-CWnXbGMb.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-D55kCO5G.js")), Te = k(() => import("./DataTable-CHBLjKtZ.js")), _e = k(() => import("./Legend-nBXoxXJH.js")), Oe = k(() => import("./PackageVersion-Bg_9KCU-.js")), Se = k(() => import("./PenAndPaper-BPTpbnay.js")), Pe = k(() => import("./vue-ui-skeleton-BAOt2neL.js")), Ne = k(() => import("./Title-Gi81VwUM.js")), Le = k(() => import("./Tooltip-CJxVw7-T.js")), Ie = k(() => import("./UserOptions-CBEK6_jo.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 P = 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
+ const { isPrinting: te, isImaging: le, generatePdf: ae, generateImage: oe } = rt({
84
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
285
  id: `galaxy_${P.value}`,
278
- onMouseenter: o[3] || (o[3] = () => a(K)(!0)),
279
- onMouseleave: o[4] || (o[4] = () => a(K)(!1))
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(Se), {
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,14 +310,14 @@ 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),
319
+ isPrinting: o(te),
320
+ isImaging: o(le),
313
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,
@@ -320,23 +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
336
  printScale: e.value.userOptions.print.scale,
329
- onToggleFullscreen: Be,
330
- onGeneratePdf: a(oe),
331
- onGenerateCsv: ne,
332
- onGenerateImage: a(ae),
333
- onToggleTable: ie,
334
- onToggleTooltip: ce,
337
+ onToggleFullscreen: ue,
338
+ onGeneratePdf: o(ae),
339
+ onGenerateCsv: ie,
340
+ onGenerateImage: o(oe),
341
+ onToggleTable: ce,
342
+ onToggleTooltip: ve,
335
343
  onToggleAnnotator: H,
336
344
  style: V({
337
- visibility: a(Q) ? a(W) ? "visible" : "hidden" : "visible"
345
+ visibility: o(Q) ? o(U) ? "visible" : "hidden" : "visible"
338
346
  })
339
- }, He({ _: 2 }, [
347
+ }, Xe({ _: 2 }, [
340
348
  t.$slots.menuIcon ? {
341
349
  name: "menuIcon",
342
350
  fn: d(({ isOpen: l, color: s }) => [
@@ -394,28 +402,28 @@ const it = ["id"], ct = {
394
402
  key: "7"
395
403
  } : void 0
396
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),
397
- I.value ? (r(), i("svg", {
405
+ A.value ? (r(), i("svg", {
398
406
  key: 4,
399
407
  ref_key: "svgRef",
400
408
  ref: Z,
401
- xmlns: a(tt),
402
- class: E({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
403
- 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}`,
404
412
  style: V(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
405
413
  }, [
406
- ve(a(Oe)),
414
+ de(o(Se)),
407
415
  t.$slots["chart-background"] ? (r(), i("foreignObject", {
408
416
  key: 0,
409
417
  x: 0,
410
418
  y: 0,
411
- width: N.value.width,
412
- height: N.value.height,
419
+ width: L.value.width,
420
+ height: L.value.height,
413
421
  style: {
414
422
  pointerEvents: "none"
415
423
  }
416
424
  }, [
417
425
  v(t.$slots, "chart-background", {}, void 0, !0)
418
- ], 8, ht)) : c("", !0),
426
+ ], 8, yt)) : c("", !0),
419
427
  S("defs", null, [
420
428
  S("filter", {
421
429
  id: `blur_${P.value}`,
@@ -427,10 +435,10 @@ const it = ["id"], ct = {
427
435
  S("feGaussianBlur", {
428
436
  in: "SourceGraphic",
429
437
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
430
- }, null, 8, yt)
431
- ], 8, pt)
438
+ }, null, 8, ft)
439
+ ], 8, gt)
432
440
  ]),
433
- (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, [
434
442
  l.value ? (r(), i("path", {
435
443
  key: 0,
436
444
  d: l.path,
@@ -438,7 +446,7 @@ const it = ["id"], ct = {
438
446
  stroke: e.value.style.chart.backgroundColor,
439
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),
440
448
  "stroke-linecap": "round"
441
- }, null, 8, gt)) : c("", !0),
449
+ }, null, 8, bt)) : c("", !0),
442
450
  l.value ? (r(), i("path", {
443
451
  key: 1,
444
452
  d: l.path,
@@ -446,8 +454,8 @@ const it = ["id"], ct = {
446
454
  stroke: l.color,
447
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),
448
456
  "stroke-linecap": "round",
449
- class: E(`${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
450
- }, 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),
451
459
  l.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), i("g", {
452
460
  key: 2,
453
461
  filter: `url(#blur_${P.value})`
@@ -458,11 +466,11 @@ const it = ["id"], ct = {
458
466
  stroke: e.value.style.chart.layout.arcs.gradient.color,
459
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),
460
468
  "stroke-linecap": "round",
461
- class: E(`vue-ui-galaxy-gradient ${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
462
- }, null, 10, mt)
463
- ], 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)
464
472
  ]))), 256)),
465
- (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, [
466
474
  l.value ? (r(), i("path", {
467
475
  key: 0,
468
476
  d: l.path,
@@ -475,18 +483,18 @@ const it = ["id"], ct = {
475
483
  seriesIndex: l.seriesIndex,
476
484
  show: !0
477
485
  }),
478
- onMouseleave: o[0] || (o[0] = (u) => {
486
+ onMouseleave: a[0] || (a[0] = (u) => {
479
487
  D.value = !1, b.value = null;
480
488
  }),
481
489
  onClick: (u) => se("selectDatapoint", l)
482
- }, null, 40, kt)) : c("", !0)
490
+ }, null, 40, wt)) : c("", !0)
483
491
  ]))), 256)),
484
- v(t.$slots, "svg", { svg: N.value }, void 0, !0)
485
- ], 14, dt)) : c("", !0),
486
- t.$slots.watermark ? (r(), i("div", Ct, [
487
- 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)
488
496
  ])) : c("", !0),
489
- I.value ? c("", !0) : (r(), x(a(Pe), {
497
+ A.value ? c("", !0) : (r(), x(o(Ne), {
490
498
  key: 6,
491
499
  config: {
492
500
  type: "galaxy",
@@ -498,21 +506,21 @@ const it = ["id"], ct = {
498
506
  }
499
507
  }
500
508
  }, null, 8, ["config"])),
501
- e.value.style.chart.legend.show ? (r(), x(a(_e), {
509
+ e.value.style.chart.legend.show ? (r(), x(o(Oe), {
502
510
  key: `legend_${J.value}`,
503
- legendSet: ue.value,
511
+ legendSet: ne.value,
504
512
  config: ze.value,
505
- onClickMarker: o[1] || (o[1] = ({ legend: l }) => R(l))
513
+ onClickMarker: a[1] || (a[1] = ({ legend: l }) => W(l))
506
514
  }, {
507
515
  item: d(({ legend: l, index: s }) => [
508
516
  S("div", {
509
- onClick: (u) => R(l),
517
+ onClick: (u) => W(l),
510
518
  style: V(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
511
519
  }, [
512
- pe(M(l.name) + ": " + M(a(be)(
520
+ ye(G(l.name) + ": " + G(o(me)(
513
521
  e.value.style.chart.layout.labels.dataLabels.formatter,
514
522
  l.value,
515
- a(w)({
523
+ o(w)({
516
524
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
517
525
  v: l.value,
518
526
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -520,20 +528,20 @@ const it = ["id"], ct = {
520
528
  }),
521
529
  { datapoint: l, seriesIndex: s }
522
530
  )) + " ", 1),
523
- 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)({
524
532
  v: l.value / m.value * 100,
525
533
  s: "%",
526
534
  r: e.value.style.chart.legend.roundingPercentage
527
535
  })) + ") ", 1))
528
- ], 12, wt)
536
+ ], 12, xt)
529
537
  ]),
530
538
  _: 1
531
539
  }, 8, ["legendSet", "config"])) : c("", !0),
532
- v(t.$slots, "legend", { legend: ue.value }, void 0, !0),
533
- 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, [
534
542
  v(t.$slots, "source", {}, void 0, !0)
535
543
  ], 512)) : c("", !0),
536
- ve(a(Le), {
544
+ de(o(Ie), {
537
545
  show: p.value.showTooltip && D.value,
538
546
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
539
547
  color: e.value.style.chart.tooltip.color,
@@ -544,20 +552,20 @@ const it = ["id"], ct = {
544
552
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
545
553
  position: e.value.style.chart.tooltip.position,
546
554
  offsetY: e.value.style.chart.tooltip.offsetY,
547
- parent: B.value,
555
+ parent: N.value,
548
556
  content: z.value,
549
557
  isFullscreen: T.value,
550
- isCustom: a(me)(e.value.style.chart.tooltip.customFormat)
558
+ isCustom: o(ke)(e.value.style.chart.tooltip.customFormat)
551
559
  }, {
552
560
  "tooltip-before": d(() => [
553
- v(t.$slots, "tooltip-before", _(O({ ...U.value })), void 0, !0)
561
+ v(t.$slots, "tooltip-before", _(O({ ...R.value })), void 0, !0)
554
562
  ]),
555
563
  "tooltip-after": d(() => [
556
- v(t.$slots, "tooltip-after", _(O({ ...U.value })), void 0, !0)
564
+ v(t.$slots, "tooltip-after", _(O({ ...R.value })), void 0, !0)
557
565
  ]),
558
566
  _: 3
559
567
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
560
- I.value ? (r(), x(a(xe), {
568
+ A.value ? (r(), x(o(Te), {
561
569
  key: 9,
562
570
  hideDetails: "",
563
571
  config: {
@@ -574,32 +582,32 @@ const it = ["id"], ct = {
574
582
  }
575
583
  }, {
576
584
  content: d(() => [
577
- (r(), x(a(Te), {
585
+ (r(), x(o(_e), {
578
586
  key: `table_${q.value}`,
579
- colNames: A.value.colNames,
580
- head: A.value.head,
581
- body: A.value.body,
582
- config: A.value.config,
587
+ colNames: F.value.colNames,
588
+ head: F.value.head,
589
+ body: F.value.body,
590
+ config: F.value.config,
583
591
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
584
- onClose: o[2] || (o[2] = (l) => p.value.showTable = !1)
592
+ onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
585
593
  }, {
586
594
  th: d(({ th: l }) => [
587
595
  S("div", {
588
596
  innerHTML: l,
589
597
  style: { display: "flex", "align-items": "center" }
590
- }, null, 8, _t)
598
+ }, null, 8, St)
591
599
  ]),
592
600
  td: d(({ td: l }) => [
593
- pe(M(l.name || l), 1)
601
+ ye(G(l.name || l), 1)
594
602
  ]),
595
603
  _: 1
596
604
  }, 8, ["colNames", "head", "body", "config", "title"]))
597
605
  ]),
598
606
  _: 1
599
607
  }, 8, ["config"])) : c("", !0)
600
- ], 46, it));
608
+ ], 46, vt));
601
609
  }
602
- }, Vt = /* @__PURE__ */ nt(Ot, [["__scopeId", "data-v-842ceb38"]]);
610
+ }, Gt = /* @__PURE__ */ ct(Pt, [["__scopeId", "data-v-fc63f38c"]]);
603
611
  export {
604
- Vt as default
612
+ Gt as default
605
613
  };