vue-data-ui 2.16.6 → 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 (94) hide show
  1. package/README.md +84 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-Cde-wJ3N.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +999 -160
  23. package/dist/types/vue-data-ui.d.ts +999 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/vue-data-ui-D7ZgRDQ_.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-ORUAjkg7.js} +246 -231
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-Yl4aRpNc.js} +225 -210
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-C307lCPt.js} +168 -153
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-BE6PcEdh.js} +218 -203
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-CUw74AgC.js} +412 -397
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-CCPGeAiY.js} +202 -187
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-dfyPiQmy.js} +222 -207
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-D41WeqQU.js} +420 -411
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-Deg0dsYg.js} +352 -340
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-DDwNoTPG.js} +214 -199
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-6oR7IMyi.js} +215 -200
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-BnXtOJmh.js} +212 -197
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-75XC8SpV.js} +213 -201
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-w31j915C.js} +218 -203
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BfU62tMW.js} +242 -223
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-CFfco-Yj.js} +267 -252
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-Tdk3Gd8M.js} +207 -192
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-Dg5wS7W5.js} +204 -189
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-CpRe0sQB.js} +248 -240
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-B8o4ft2v.js} +184 -169
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +192 -177
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-DiRtZ16w.js} +259 -244
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-BRlYC_yT.js} +324 -309
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-DKgX1Ibx.js} +195 -180
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-MHiAp8dC.js} +186 -171
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-DA8verAe.js} +227 -212
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-Dh6lFqun.js} +214 -202
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-CLC5sTOi.js} +270 -256
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C6rjCYDD.js} +251 -236
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-B6cYojHQ.js} +239 -224
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-D-oiVT3n.js} +168 -153
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/vue-ui-tiremarks-B1bM9Aoo.js +358 -0
  82. package/dist/{vue-ui-treemap-BG1Omm38.js → vue-ui-treemap-DX48YlU5.js} +374 -362
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-6SjKPQWR.js} +252 -237
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-CYao9MMw.js} +232 -220
  85. package/dist/vue-ui-wheel-USuDhMwW.js +352 -0
  86. package/dist/vue-ui-word-cloud-TOBTs7yF.js +659 -0
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-C2qikqBa.js} +237 -222
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-DxwgKoO-.js} +557 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-N69OpVn8.js} +395 -380
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-tiremarks-DiLS3akQ.js +0 -343
  93. package/dist/vue-ui-wheel-6B0WTkf2.js +0 -337
  94. package/dist/vue-ui-word-cloud-ByYZCOh7.js +0 -644
@@ -1,18 +1,19 @@
1
- import { defineAsyncComponent as B, useSlots as pt, computed as d, ref as c, watch as Me, shallowRef as De, onMounted as ft, onBeforeUnmount as yt, createElementBlock as r, openBlock as s, unref as n, normalizeStyle as K, normalizeClass as Re, createBlock as V, createCommentVNode as f, createElementVNode as x, createVNode as ve, createSlots as Ue, withCtx as b, renderSlot as g, normalizeProps as j, guardReactiveProps as W, Fragment as $, renderList as F, mergeProps as Ee, toDisplayString as L, createTextVNode as Ge, nextTick as gt } from "vue";
2
- import { u as bt, c as mt, t as wt, p as M, a as kt, o as xt, e as ce, g as Ct, b as $t, i as q, f as _, X as _t, s as It, w as Tt, F as St, L as Ot, d as Pt, q as At, r as Ft, x as Lt, y as zt } from "./index-DvIXJm6t.js";
3
- import { t as Nt, u as Bt } from "./useResponsive-DfdjqQps.js";
4
- import { u as je } from "./useNestedProp-DrYHm61t.js";
5
- import { u as Vt } from "./usePrinter-CWnXbGMb.js";
6
- import { u as Mt } from "./useUserOptionState-BIvW1Kz7.js";
1
+ import { defineAsyncComponent as B, useSlots as pt, computed as d, ref as c, watch as Re, shallowRef as De, onMounted as ft, onBeforeUnmount as yt, createElementBlock as v, openBlock as s, unref as r, normalizeStyle as K, normalizeClass as Ue, createBlock as M, createCommentVNode as f, createElementVNode as x, createVNode as ve, createSlots as Ee, withCtx as m, renderSlot as g, normalizeProps as W, guardReactiveProps as q, Fragment as $, renderList as z, mergeProps as Ge, toDisplayString as A, createTextVNode as gt, nextTick as mt } from "vue";
2
+ import { u as bt, c as wt, t as kt, p as R, a as xt, o as Ct, e as ce, g as $t, b as _t, i as H, f as _, X as It, s as Tt, w as St, F as Pt, L as Ot, d as At, q as Ft, r as Lt, x as zt, y as Nt } from "./index-CobsZUkv.js";
3
+ import { t as Vt, u as Bt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as je } from "./useNestedProp-BwL5wmVa.js";
5
+ import { u as Mt } from "./usePrinter-DPh6U_Qk.js";
6
+ import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Dt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Rt from "./Title-Gi81VwUM.js";
9
- import Ut from "./Legend-nBXoxXJH.js";
10
- import { _ as Et } from "./Shape-Bnf512BA.js";
11
- import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"], Xt = ["stop-color"], Yt = ["id"], Jt = ["x", "y", "height", "width"], Kt = ["height", "width"], Qt = { key: 0 }, Zt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], el = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], tl = { key: 1 }, ll = ["rx", "x", "y", "height", "width", "fill", "filter"], al = ["x", "y", "height", "width", "filter"], ol = { key: 0 }, ul = { key: 1 }, sl = { key: 2 }, rl = { key: 3 }, nl = ["onMouseover", "x", "y", "height", "width"], il = {
8
+ import Ut from "./Title-DpERl1yr.js";
9
+ import Et from "./Legend-3LNqqLDg.js";
10
+ import { _ as Gt } from "./Shape-C75836Jl.js";
11
+ import jt from "./img-utitT2Gd.js";
12
+ import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const qt = ["id"], Ht = ["xmlns", "viewBox"], Xt = ["id"], Yt = ["stop-color"], Jt = ["stop-color"], Kt = ["id"], Qt = ["x", "y", "height", "width"], Zt = ["height", "width"], el = { key: 0 }, tl = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], ll = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], al = { key: 1 }, ol = ["rx", "x", "y", "height", "width", "fill", "filter"], ul = ["x", "y", "height", "width", "filter"], sl = { key: 0 }, rl = { key: 1 }, nl = { key: 2 }, il = { key: 3 }, vl = ["onMouseover", "x", "y", "height", "width"], cl = {
13
14
  key: 5,
14
15
  class: "vue-data-ui-watermark"
15
- }, vl = ["onClick"], cl = { key: 0 }, dl = { key: 1 }, hl = ["innerHTML"], pl = {
16
+ }, dl = ["onClick"], hl = ["innerHTML"], pl = {
16
17
  __name: "vue-ui-waffle",
17
18
  props: {
18
19
  config: {
@@ -30,33 +31,33 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
30
31
  },
31
32
  emits: ["selectLegend"],
32
33
  setup(We, { expose: qe, emit: He }) {
33
- const Xe = B(() => import("./DataTable-CHBLjKtZ.js")), Ye = B(() => import("./PenAndPaper-BPTpbnay.js")), Je = B(() => import("./vue-ui-accordion-D55kCO5G.js")), Ke = B(() => import("./vue-ui-skeleton-BAOt2neL.js")), Qe = B(() => import("./Tooltip-CJxVw7-T.js")), Ze = B(() => import("./UserOptions-CBEK6_jo.js")), et = B(() => import("./PackageVersion-Bg_9KCU-.js")), { vue_ui_waffle: tt } = bt(), m = We, lt = pt(), Q = d(() => !!m.dataset && m.dataset.length), k = c(mt()), at = c(null), ae = c(!1), oe = c(""), D = c(null), de = c(0), H = c(null), he = c(null), pe = c(null), fe = c(null), ye = c(null), ge = c(0), be = c(0), me = c(0), e = d({
34
+ const Xe = B(() => import("./DataTable-Dt-TIOyY.js")), Ye = B(() => import("./PenAndPaper-Cde-wJ3N.js")), Je = B(() => import("./vue-ui-accordion-UewqY6OI.js")), Ke = B(() => import("./vue-ui-skeleton-8s4xts8z.js")), Qe = B(() => import("./Tooltip-DA0bYKFG.js")), Ze = B(() => import("./UserOptions-DTEJ3UM_.js")), et = B(() => import("./PackageVersion-C-4Ee8BQ.js")), { vue_ui_waffle: tt } = bt(), b = We, lt = pt(), Q = d(() => !!b.dataset && b.dataset.length), k = c(wt()), at = c(null), ae = c(!1), oe = c(""), D = c(null), de = c(0), F = c(null), he = c(null), pe = c(null), fe = c(null), ye = c(null), ge = c(0), me = c(0), be = c(0), e = d({
34
35
  get: () => Ce(),
35
36
  set: (t) => t
36
- }), { userOptionsVisible: ue, setUserOptionsVisibility: we, keepUserOptionState: ke } = Mt({ config: e.value }), { svgRef: xe } = Dt({ config: e.value.style.chart.title });
37
+ }), { userOptionsVisible: ue, setUserOptionsVisibility: we, keepUserOptionState: ke } = Rt({ config: e.value }), { svgRef: xe } = Dt({ config: e.value.style.chart.title });
37
38
  function Ce() {
38
39
  const t = je({
39
- userConfig: m.config,
40
+ userConfig: b.config,
40
41
  defaultConfig: tt
41
42
  });
42
43
  return t.theme ? {
43
44
  ...je({
44
- userConfig: kt.vue_ui_waffle[t.theme] || m.config,
45
+ userConfig: xt.vue_ui_waffle[t.theme] || b.config,
45
46
  defaultConfig: t
46
47
  }),
47
- customPalette: wt[t.theme] || M
48
+ customPalette: kt[t.theme] || R
48
49
  } : t;
49
50
  }
50
- Me(() => m.config, (t) => {
51
- e.value = Ce(), ue.value = !e.value.userOptions.showOnChartHover, $e(), ge.value += 1, be.value += 1, me.value += 1, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
51
+ Re(() => b.config, (t) => {
52
+ e.value = Ce(), ue.value = !e.value.userOptions.showOnChartHover, $e(), ge.value += 1, me.value += 1, be.value += 1, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
52
53
  }, { deep: !0 });
53
- const A = De(null), R = De(null);
54
+ const L = De(null), U = De(null);
54
55
  function $e() {
55
- if (xt(m.dataset) ? ce({
56
+ if (Ct(b.dataset) ? ce({
56
57
  componentName: "VueUiWaffle",
57
58
  type: "dataset"
58
- }) : m.dataset.forEach((t, a) => {
59
- Ct({
59
+ }) : b.dataset.forEach((t, a) => {
60
+ $t({
60
61
  datasetObject: t,
61
62
  requiredAttributes: ["name", "values"]
62
63
  }).forEach((l) => {
@@ -68,34 +69,34 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
68
69
  });
69
70
  });
70
71
  }), e.value.responsive) {
71
- const t = Nt(() => {
72
+ const t = Vt(() => {
72
73
  const { width: a, height: l } = Bt({
73
- chart: H.value,
74
+ chart: F.value,
74
75
  title: e.value.style.chart.title.text ? he.value : null,
75
76
  legend: e.value.style.chart.legend.show ? pe.value : null,
76
77
  source: fe.value,
77
78
  noTitle: ye.value
78
79
  });
79
80
  requestAnimationFrame(() => {
80
- z.value.width = a, z.value.height = l, I.value.width = a, I.value.height = l;
81
+ N.value.width = a, N.value.height = l, I.value.width = a, I.value.height = l;
81
82
  });
82
83
  });
83
- A.value && (R.value && A.value.unobserve(R.value), A.value.disconnect()), A.value = new ResizeObserver(t), R.value = H.value.parentNode, A.value.observe(R.value);
84
+ L.value && (U.value && L.value.unobserve(U.value), L.value.disconnect()), L.value = new ResizeObserver(t), U.value = F.value.parentNode, L.value.observe(U.value);
84
85
  }
85
86
  }
86
87
  ft(() => {
87
88
  $e();
88
89
  }), yt(() => {
89
- A.value && (R.value && A.value.unobserve(R.value), A.value.disconnect());
90
+ L.value && (U.value && L.value.unobserve(U.value), L.value.disconnect());
90
91
  });
91
- const { isPrinting: _e, isImaging: Ie, generatePdf: Te, generateImage: Se } = Vt({
92
+ const { isPrinting: _e, isImaging: Ie, generatePdf: Te, generateImage: Se } = Mt({
92
93
  elementId: `vue-ui-waffle_${k.value}`,
93
94
  fileName: e.value.style.chart.title.text || "vue-ui-waffle",
94
95
  options: e.value.userOptions.print
95
- }), ot = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Oe = d(() => $t(e.value.customPalette)), C = c({
96
+ }), ot = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = d(() => _t(e.value.customPalette)), C = c({
96
97
  showTable: e.value.table.show,
97
98
  showTooltip: e.value.style.chart.tooltip.show
98
- }), z = c({
99
+ }), N = c({
99
100
  height: 512,
100
101
  width: 512
101
102
  }), I = c({
@@ -104,35 +105,35 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
104
105
  height: 512,
105
106
  width: 512
106
107
  }), T = d(() => (I.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), S = d(() => (I.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), X = d(() => I.value.width / e.value.style.chart.layout.grid.size), Z = d(() => I.value.height / e.value.style.chart.layout.grid.size);
107
- function Pe(t) {
108
- const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((w, ie) => w + ie, 0), o = t.map((w) => w / l * a), u = o.map(Math.floor), v = o.map((w) => w % 1);
108
+ function Oe(t) {
109
+ const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((w, ie) => w + ie, 0), o = t.map((w) => w / l * a), u = o.map(Math.floor), i = o.map((w) => w % 1);
109
110
  let y = a - u.reduce((w, ie) => w + ie, 0);
110
111
  for (; y > 0; ) {
111
- let w = v.indexOf(Math.max(...v));
112
- u[w] += 1, v[w] = 0, y -= 1;
112
+ let w = i.indexOf(Math.max(...i));
113
+ u[w] += 1, i[w] = 0, y -= 1;
113
114
  }
114
115
  return u;
115
116
  }
116
117
  const Y = c(!1);
117
118
  function Ae() {
118
- return Y.value = m.dataset.flatMap((t) => t.values.reduce((a, l) => a + l, 0)).reduce((t, a) => t + a, 0) === 0, m.dataset.map((t, a) => ({
119
+ return Y.value = b.dataset.flatMap((t) => t.values.reduce((a, l) => a + l, 0)).reduce((t, a) => t + a, 0) === 0, b.dataset.map((t, a) => ({
119
120
  ...t,
120
- color: Pt(t.color) || Oe.value[a] || M[a] || M[a % M.length],
121
+ color: At(t.color) || Pe.value[a] || R[a] || R[a % R.length],
121
122
  uid: `serie_${a}`,
122
123
  absoluteIndex: a
123
124
  }));
124
125
  }
125
126
  const se = d(() => Ae()), h = c(se.value);
126
- Me(() => m.dataset, (t) => {
127
+ Re(() => b.dataset, (t) => {
127
128
  h.value = Ae();
128
129
  }, { deep: !0 });
129
130
  const ut = d(() => {
130
131
  const t = h.value.filter((a, l) => !p.value.includes(a.uid)).map((a, l) => Y.value ? 1 : (a.values || []).reduce((o, u) => o + u, 0));
131
- return Pe(t);
132
+ return Oe(t);
132
133
  }), st = d(() => {
133
134
  const t = h.value.map((a, l) => Y.value ? 1 : (a.values || []).reduce((o, u) => o + u));
134
- return Pe(t);
135
- }), J = d(() => (m.dataset.forEach((t, a) => {
135
+ return Oe(t);
136
+ }), J = d(() => (b.dataset.forEach((t, a) => {
136
137
  [null, void 0].includes(t.values) && ce({
137
138
  componentName: "VueUiWaffle",
138
139
  type: "datasetSerieAttribute",
@@ -167,16 +168,16 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
167
168
  const it = d(() => {
168
169
  let t = 0;
169
170
  return J.value.map((a, l) => {
170
- const o = t, u = o + a.proportion, v = [];
171
+ const o = t, u = o + a.proportion, i = [];
171
172
  for (let y = Math.floor(o); y < Math.floor(u); y += 1)
172
- v.push(y);
173
+ i.push(y);
173
174
  return t = u, {
174
175
  ...a,
175
176
  start: o,
176
- rects: v
177
+ rects: i
177
178
  };
178
179
  });
179
- }), i = d(() => it.value.flatMap((t, a) => t.rects.map((l, o) => ({
180
+ }), n = d(() => it.value.flatMap((t, a) => t.rects.map((l, o) => ({
180
181
  isFirst: o === 0,
181
182
  isLongEnough: l.length > 2,
182
183
  name: t.name,
@@ -189,7 +190,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
189
190
  }))).map((t, a) => ({
190
191
  ...t,
191
192
  isAbsoluteFirst: a % e.value.style.chart.layout.grid.size === 0
192
- }))), U = d(() => {
193
+ }))), E = d(() => {
193
194
  const t = [];
194
195
  for (let a = 0; a < e.value.style.chart.layout.grid.size; a += 1)
195
196
  for (let l = 0; l < e.value.style.chart.layout.grid.size; l += 1)
@@ -200,38 +201,38 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
200
201
  y: (e.value.style.chart.layout.grid.vertical ? l : a) * (S.value + e.value.style.chart.layout.grid.spaceBetween) + I.value.top
201
202
  });
202
203
  return t;
203
- }), p = c([]), N = c(!1), Fe = c(null), Le = c(null);
204
+ }), p = c([]), V = c(!1), Fe = c(null), Le = c(null);
204
205
  function ze(t) {
205
206
  if (Y.value) return;
206
207
  if (!e.value.useAnimation) {
207
- p.value.includes(t) ? p.value = p.value.filter((u) => u !== t) : p.value.length < E.value.length - 1 && E.value.length > 1 && p.value.push(t);
208
+ p.value.includes(t) ? p.value = p.value.filter((u) => u !== t) : p.value.length < G.value.length - 1 && G.value.length > 1 && p.value.push(t);
208
209
  return;
209
210
  }
210
- const a = se.value.find((u) => u.uid === t).values.reduce((u, v) => u + v, 0), l = h.value.find((u) => u.uid === t).values.reduce((u, v) => u + v, 0);
211
+ const a = se.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0), l = h.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0);
211
212
  let o = l;
212
213
  if (!(l === 0 && a === 0)) {
213
214
  if (p.value.includes(t)) {
214
- let v = function() {
215
+ let i = function() {
215
216
  o > u ? (cancelAnimationFrame(Fe.value), h.value = h.value.map((y, w) => y.uid === t ? {
216
217
  ...y,
217
218
  values: [u]
218
- } : y), N.value = !1) : (N.value = !0, o += u * 0.025, h.value = h.value.map((y, w) => y.uid === t ? {
219
+ } : y), V.value = !1) : (V.value = !0, o += u * 0.025, h.value = h.value.map((y, w) => y.uid === t ? {
219
220
  ...y,
220
221
  values: [o]
221
- } : y), Fe.value = requestAnimationFrame(v));
222
+ } : y), Fe.value = requestAnimationFrame(i));
222
223
  };
223
224
  p.value = p.value.filter((y) => y !== t);
224
225
  const u = a;
225
- v();
226
- } else if (p.value.length < E.value.length - 1 && E.value.length > 1) {
226
+ i();
227
+ } else if (p.value.length < G.value.length - 1 && G.value.length > 1) {
227
228
  let u = function() {
228
- o < l / 100 ? (cancelAnimationFrame(Le.value), p.value.push(t), h.value = h.value.map((v, y) => v.uid === t ? {
229
- ...v,
229
+ o < l / 100 ? (cancelAnimationFrame(Le.value), p.value.push(t), h.value = h.value.map((i, y) => i.uid === t ? {
230
+ ...i,
230
231
  values: [0]
231
- } : v), N.value = !1) : (N.value = !0, o /= 1.15, h.value = h.value.map((v) => v.uid === t ? {
232
- ...v,
232
+ } : i), V.value = !1) : (V.value = !0, o /= 1.15, h.value = h.value.map((i) => i.uid === t ? {
233
+ ...i,
233
234
  values: [o]
234
- } : v), Le.value = requestAnimationFrame(u));
235
+ } : i), Le.value = requestAnimationFrame(u));
235
236
  };
236
237
  u();
237
238
  }
@@ -243,9 +244,9 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
243
244
  })));
244
245
  }
245
246
  }
246
- const E = d(() => h.value.map((t, a) => ({
247
+ const G = d(() => h.value.map((t, a) => ({
247
248
  name: t.name,
248
- color: t.color || Oe[a] || M[a] || M[a % M.length],
249
+ color: t.color || Pe[a] || R[a] || R[a % R.length],
249
250
  value: (t.values || []).reduce((l, o) => l + o, 0),
250
251
  uid: t.uid,
251
252
  shape: "square"
@@ -262,32 +263,32 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
262
263
  fontSize: e.value.style.chart.legend.fontSize,
263
264
  paddingBottom: 12,
264
265
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
265
- })), O = d(() => J.value.map((t) => t.value).reduce((t, a) => t + a, 0)), re = c(null);
266
+ })), P = d(() => J.value.map((t) => t.value).reduce((t, a) => t + a, 0)), re = c(null);
266
267
  function ct(t) {
267
- if (p.value.length === m.dataset.length) return;
268
- const a = i.value[t];
268
+ if (p.value.length === b.dataset.length) return;
269
+ const a = n.value[t];
269
270
  re.value = {
270
271
  datapoint: a,
271
272
  seriesIndex: a.absoluteIndex,
272
273
  series: h.value,
273
274
  config: e.value
274
- }, ae.value = !0, D.value = i.value[t].serieIndex;
275
+ }, ae.value = !0, D.value = n.value[t].serieIndex;
275
276
  const l = e.value.style.chart.tooltip.customFormat;
276
- if (Lt(l) && zt(() => l({
277
- seriesIndex: i.value[t].absoluteIndex,
277
+ if (zt(l) && Nt(() => l({
278
+ seriesIndex: n.value[t].absoluteIndex,
278
279
  datapoint: a,
279
280
  series: h.value,
280
281
  config: e.value
281
282
  })))
282
283
  oe.value = l({
283
- seriesIndex: i.value[t].absoluteIndex,
284
+ seriesIndex: n.value[t].absoluteIndex,
284
285
  datapoint: a,
285
286
  series: h.value,
286
287
  config: e.value
287
288
  });
288
289
  else {
289
290
  let o = "";
290
- if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${a.color}" />${lt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${k.value}_${a.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${q(
291
+ if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${a.color}" />${lt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${k.value}_${a.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${H(
291
292
  e.value.style.chart.layout.labels.dataLabels.formatter,
292
293
  a.value,
293
294
  _({
@@ -298,12 +299,12 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
298
299
  }),
299
300
  {
300
301
  datapoint: a,
301
- seriesIndex: i.value[t].absoluteIndex,
302
+ seriesIndex: n.value[t].absoluteIndex,
302
303
  series: h.value
303
304
  }
304
305
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
305
306
  const u = _({
306
- v: Y.value ? 1 / m.dataset.length * 100 : a.value / O.value * 100,
307
+ v: Y.value ? 1 / b.dataset.length * 100 : a.value / P.value * 100,
307
308
  s: "%",
308
309
  r: e.value.style.chart.tooltip.roundingPercentage
309
310
  });
@@ -312,7 +313,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
312
313
  oe.value = o;
313
314
  }
314
315
  }
315
- const dt = He, P = d(() => {
316
+ const dt = He, O = d(() => {
316
317
  const t = J.value.map((l) => ({
317
318
  name: l.name,
318
319
  color: l.color
@@ -323,44 +324,44 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
323
324
  return e.value.useBlurOnHover && ![null, void 0].includes(D.value) && D.value !== t ? `url(#blur_${k.value})` : "";
324
325
  }
325
326
  function Ne(t = null) {
326
- gt(() => {
327
- const a = P.value.head.map((u, v) => [[
327
+ mt(() => {
328
+ const a = O.value.head.map((u, i) => [[
328
329
  u.name
329
- ], [P.value.body[v]], [isNaN(P.value.body[v] / O.value) ? "-" : P.value.body[v] / O.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = At(l);
330
- t ? t(o) : Ft({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-waffle" });
330
+ ], [O.value.body[i]], [isNaN(O.value.body[i] / P.value) ? "-" : O.value.body[i] / P.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = Ft(l);
331
+ t ? t(o) : Lt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-waffle" });
331
332
  });
332
333
  }
333
334
  const te = d(() => {
334
335
  const t = [
335
336
  ' <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>',
336
- q(
337
+ H(
337
338
  e.value.style.chart.layout.labels.dataLabels.formatter,
338
- O.value,
339
+ P.value,
339
340
  _({
340
341
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
341
- v: O.value,
342
+ v: P.value,
342
343
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
343
344
  r: e.value.table.td.roundingValue
344
345
  })
345
346
  ),
346
347
  "100%"
347
- ], a = P.value.head.map((u, v) => [
348
+ ], a = O.value.head.map((u, i) => [
348
349
  {
349
350
  color: u.color,
350
351
  name: u.name
351
352
  },
352
- q(
353
+ H(
353
354
  e.value.style.chart.layout.labels.dataLabels.formatter,
354
- P.value.body[v],
355
+ O.value.body[i],
355
356
  _({
356
357
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
357
- v: P.value.body[v],
358
+ v: O.value.body[i],
358
359
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
359
360
  r: e.value.table.td.roundingValue
360
361
  })
361
362
  ),
362
- isNaN(P.value.body[v] / O.value) ? "-" : _({
363
- v: P.value.body[v] / O.value * 100,
363
+ isNaN(O.value.body[i] / P.value) ? "-" : _({
364
+ v: O.value.body[i] / P.value * 100,
364
365
  s: "%",
365
366
  r: e.value.table.td.roundingPercentage
366
367
  })
@@ -388,59 +389,73 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
388
389
  config: l,
389
390
  colNames: o
390
391
  };
391
- }), G = c(!1);
392
- function ht(t) {
393
- G.value = t, de.value += 1;
392
+ }), j = c(!1);
393
+ function Ve(t) {
394
+ j.value = t, de.value += 1;
394
395
  }
395
396
  function Be() {
396
397
  C.value.showTable = !C.value.showTable;
397
398
  }
398
- function Ve() {
399
+ function Me() {
399
400
  C.value.showTooltip = !C.value.showTooltip;
400
401
  }
401
402
  const le = c(!1);
402
403
  function ne() {
403
404
  le.value = !le.value;
404
405
  }
406
+ async function ht({ scale: t = 2 } = {}) {
407
+ if (!F.value) return;
408
+ const { width: a, height: l } = F.value.getBoundingClientRect(), o = a / l, { imageUri: u, base64: i } = await jt({ domElement: F.value, base64: !0, img: !0, scale: t });
409
+ return {
410
+ imageUri: u,
411
+ base64: i,
412
+ title: e.value.style.chart.title.text,
413
+ width: a,
414
+ height: l,
415
+ aspectRatio: o
416
+ };
417
+ }
405
418
  return qe({
406
419
  getData: nt,
420
+ getImage: ht,
407
421
  generatePdf: Te,
408
422
  generateCsv: Ne,
409
423
  generateImage: Se,
410
424
  toggleTable: Be,
411
- toggleTooltip: Ve,
412
- toggleAnnotator: ne
413
- }), (t, a) => (s(), r("div", {
414
- class: Re(`vue-ui-waffle ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
425
+ toggleTooltip: Me,
426
+ toggleAnnotator: ne,
427
+ toggleFullscreen: Ve
428
+ }), (t, a) => (s(), v("div", {
429
+ class: Ue(`vue-ui-waffle ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
415
430
  ref_key: "waffleChart",
416
- ref: H,
431
+ ref: F,
417
432
  id: `vue-ui-waffle_${k.value}`,
418
433
  style: K(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
419
- onMouseenter: a[3] || (a[3] = () => n(we)(!0)),
420
- onMouseleave: a[4] || (a[4] = () => n(we)(!1))
434
+ onMouseenter: a[3] || (a[3] = () => r(we)(!0)),
435
+ onMouseleave: a[4] || (a[4] = () => r(we)(!1))
421
436
  }, [
422
- e.value.userOptions.buttons.annotator ? (s(), V(n(Ye), {
437
+ e.value.userOptions.buttons.annotator ? (s(), M(r(Ye), {
423
438
  key: 0,
424
- svgRef: n(xe),
439
+ svgRef: r(xe),
425
440
  backgroundColor: e.value.style.chart.backgroundColor,
426
441
  color: e.value.style.chart.color,
427
442
  active: le.value,
428
443
  onClose: ne
429
444
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
430
- ot.value ? (s(), r("div", {
445
+ ot.value ? (s(), v("div", {
431
446
  key: 1,
432
447
  ref_key: "noTitle",
433
448
  ref: ye,
434
449
  class: "vue-data-ui-no-title-space",
435
450
  style: "height:36px; width: 100%;background:transparent"
436
451
  }, null, 512)) : f("", !0),
437
- e.value.style.chart.title.text ? (s(), r("div", {
452
+ e.value.style.chart.title.text ? (s(), v("div", {
438
453
  key: 2,
439
454
  ref_key: "chartTitle",
440
455
  ref: he,
441
456
  style: "width:100%;background:transparent;padding-bottom:12px"
442
457
  }, [
443
- (s(), V(Rt, {
458
+ (s(), M(Ut, {
444
459
  key: `title_${ge.value}`,
445
460
  config: {
446
461
  title: {
@@ -454,14 +469,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
454
469
  }
455
470
  }, null, 8, ["config"]))
456
471
  ], 512)) : f("", !0),
457
- e.value.userOptions.show && Q.value && (n(ke) || n(ue)) ? (s(), V(n(Ze), {
472
+ e.value.userOptions.show && Q.value && (r(ke) || r(ue)) ? (s(), M(r(Ze), {
458
473
  ref_key: "details",
459
474
  ref: at,
460
475
  key: `user_options_${de.value}`,
461
476
  backgroundColor: e.value.style.chart.backgroundColor,
462
477
  color: e.value.style.chart.color,
463
- isPrinting: n(_e),
464
- isImaging: n(Ie),
478
+ isPrinting: r(_e),
479
+ isImaging: r(Ie),
465
480
  uid: k.value,
466
481
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
467
482
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -469,95 +484,95 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
469
484
  hasXls: e.value.userOptions.buttons.csv,
470
485
  hasTable: e.value.userOptions.buttons.table,
471
486
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
472
- isFullscreen: G.value,
487
+ isFullscreen: j.value,
473
488
  isTooltip: C.value.showTooltip,
474
489
  titles: { ...e.value.userOptions.buttonTitles },
475
- chartElement: H.value,
490
+ chartElement: F.value,
476
491
  position: e.value.userOptions.position,
477
492
  hasAnnotator: e.value.userOptions.buttons.annotator,
478
493
  isAnnotation: le.value,
479
494
  callbacks: e.value.userOptions.callbacks,
480
495
  printScale: e.value.userOptions.print.scale,
481
- onToggleFullscreen: ht,
482
- onGeneratePdf: n(Te),
496
+ onToggleFullscreen: Ve,
497
+ onGeneratePdf: r(Te),
483
498
  onGenerateCsv: Ne,
484
- onGenerateImage: n(Se),
499
+ onGenerateImage: r(Se),
485
500
  onToggleTable: Be,
486
- onToggleTooltip: Ve,
501
+ onToggleTooltip: Me,
487
502
  onToggleAnnotator: ne,
488
503
  style: K({
489
- visibility: n(ke) ? n(ue) ? "visible" : "hidden" : "visible"
504
+ visibility: r(ke) ? r(ue) ? "visible" : "hidden" : "visible"
490
505
  })
491
- }, Ue({ _: 2 }, [
506
+ }, Ee({ _: 2 }, [
492
507
  t.$slots.menuIcon ? {
493
508
  name: "menuIcon",
494
- fn: b(({ isOpen: l, color: o }) => [
495
- g(t.$slots, "menuIcon", j(W({ isOpen: l, color: o })), void 0, !0)
509
+ fn: m(({ isOpen: l, color: o }) => [
510
+ g(t.$slots, "menuIcon", W(q({ isOpen: l, color: o })), void 0, !0)
496
511
  ]),
497
512
  key: "0"
498
513
  } : void 0,
499
514
  t.$slots.optionTooltip ? {
500
515
  name: "optionTooltip",
501
- fn: b(() => [
516
+ fn: m(() => [
502
517
  g(t.$slots, "optionTooltip", {}, void 0, !0)
503
518
  ]),
504
519
  key: "1"
505
520
  } : void 0,
506
521
  t.$slots.optionPdf ? {
507
522
  name: "optionPdf",
508
- fn: b(() => [
523
+ fn: m(() => [
509
524
  g(t.$slots, "optionPdf", {}, void 0, !0)
510
525
  ]),
511
526
  key: "2"
512
527
  } : void 0,
513
528
  t.$slots.optionCsv ? {
514
529
  name: "optionCsv",
515
- fn: b(() => [
530
+ fn: m(() => [
516
531
  g(t.$slots, "optionCsv", {}, void 0, !0)
517
532
  ]),
518
533
  key: "3"
519
534
  } : void 0,
520
535
  t.$slots.optionImg ? {
521
536
  name: "optionImg",
522
- fn: b(() => [
537
+ fn: m(() => [
523
538
  g(t.$slots, "optionImg", {}, void 0, !0)
524
539
  ]),
525
540
  key: "4"
526
541
  } : void 0,
527
542
  t.$slots.optionTable ? {
528
543
  name: "optionTable",
529
- fn: b(() => [
544
+ fn: m(() => [
530
545
  g(t.$slots, "optionTable", {}, void 0, !0)
531
546
  ]),
532
547
  key: "5"
533
548
  } : void 0,
534
549
  t.$slots.optionFullscreen ? {
535
550
  name: "optionFullscreen",
536
- fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
537
- g(t.$slots, "optionFullscreen", j(W({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
551
+ fn: m(({ toggleFullscreen: l, isFullscreen: o }) => [
552
+ g(t.$slots, "optionFullscreen", W(q({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
538
553
  ]),
539
554
  key: "6"
540
555
  } : void 0,
541
556
  t.$slots.optionAnnotator ? {
542
557
  name: "optionAnnotator",
543
- fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
544
- g(t.$slots, "optionAnnotator", j(W({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
558
+ fn: m(({ toggleAnnotator: l, isAnnotator: o }) => [
559
+ g(t.$slots, "optionAnnotator", W(q({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
545
560
  ]),
546
561
  key: "7"
547
562
  } : void 0
548
563
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
549
- Q.value ? (s(), r("svg", {
564
+ Q.value ? (s(), v("svg", {
550
565
  key: 4,
551
566
  ref_key: "svgRef",
552
567
  ref: xe,
553
- xmlns: n(_t),
554
- class: Re({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
555
- viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
568
+ xmlns: r(It),
569
+ class: Ue({ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }),
570
+ viewBox: `0 0 ${N.value.width <= 0 ? 10 : N.value.width} ${N.value.height <= 0 ? 10 : N.value.height}`,
556
571
  style: K(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
557
572
  }, [
558
- ve(n(et)),
573
+ ve(r(et)),
559
574
  x("defs", null, [
560
- (s(!0), r($, null, F(i.value, (l, o) => (s(), r("radialGradient", {
575
+ (s(!0), v($, null, z(n.value, (l, o) => (s(), v("radialGradient", {
561
576
  cx: "50%",
562
577
  cy: "50%",
563
578
  r: "50%",
@@ -567,13 +582,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
567
582
  }, [
568
583
  x("stop", {
569
584
  offset: "0%",
570
- "stop-color": n(It)(n(Tt)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
571
- }, null, 8, Ht),
585
+ "stop-color": r(Tt)(r(St)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
586
+ }, null, 8, Yt),
572
587
  x("stop", {
573
588
  offset: "100%",
574
589
  "stop-color": l.color
575
- }, null, 8, Xt)
576
- ], 8, qt))), 256))
590
+ }, null, 8, Jt)
591
+ ], 8, Xt))), 256))
577
592
  ]),
578
593
  x("defs", null, [
579
594
  x("filter", {
@@ -591,18 +606,18 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
591
606
  type: "saturate",
592
607
  values: "0"
593
608
  }, null, -1)
594
- ]), 8, Yt)
609
+ ]), 8, Kt)
595
610
  ]),
596
- e.value.useCustomCells && i.value.length ? (s(!0), r($, { key: 0 }, F(U.value, (l, o) => (s(), r("foreignObject", {
611
+ e.value.useCustomCells && n.value.length ? (s(!0), v($, { key: 0 }, z(E.value, (l, o) => (s(), v("foreignObject", {
597
612
  x: l.x,
598
613
  y: l.y,
599
614
  height: S.value <= 0 ? 1e-4 : S.value,
600
615
  width: T.value <= 0 ? 1e-4 : T.value,
601
616
  class: "vue-ui-waffle-custom-cell-foreignObject"
602
617
  }, [
603
- g(t.$slots, "cell", Ee({ ref_for: !0 }, { cell: { ...l, color: i.value[o].color, ...i.value[o] }, isSelected: [null, void 0].includes(D.value) ? !0 : i.value[o].serieIndex === D.value }), void 0, !0)
604
- ], 8, Jt))), 256)) : f("", !0),
605
- !i.value.length && !e.value.useCustomCells ? (s(), r("rect", {
618
+ g(t.$slots, "cell", Ge({ ref_for: !0 }, { cell: { ...l, color: n.value[o].color, ...n.value[o] }, isSelected: [null, void 0].includes(D.value) ? !0 : n.value[o].serieIndex === D.value }), void 0, !0)
619
+ ], 8, Qt))), 256)) : f("", !0),
620
+ !n.value.length && !e.value.useCustomCells ? (s(), v("rect", {
606
621
  key: 1,
607
622
  x: 12,
608
623
  y: 12,
@@ -611,13 +626,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
611
626
  rx: 3,
612
627
  fill: "none",
613
628
  stroke: "black"
614
- }, null, 8, Kt)) : i.value.length && !e.value.useCustomCells ? (s(), r($, { key: 2 }, [
615
- t.$slots.pattern ? (s(), r("g", Qt, [
616
- (s(!0), r($, null, F(se.value, (l) => (s(), r("defs", null, [
617
- g(t.$slots, "pattern", Ee({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${k.value}_${l.absoluteIndex}` }), void 0, !0)
629
+ }, null, 8, Zt)) : n.value.length && !e.value.useCustomCells ? (s(), v($, { key: 2 }, [
630
+ t.$slots.pattern ? (s(), v("g", el, [
631
+ (s(!0), v($, null, z(se.value, (l) => (s(), v("defs", null, [
632
+ g(t.$slots, "pattern", Ge({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${k.value}_${l.absoluteIndex}` }), void 0, !0)
618
633
  ]))), 256))
619
634
  ])) : f("", !0),
620
- (s(!0), r($, null, F(U.value, (l, o) => (s(), r("rect", {
635
+ (s(!0), v($, null, z(E.value, (l, o) => (s(), v("rect", {
621
636
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
622
637
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
623
638
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -626,73 +641,73 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
626
641
  fill: "white",
627
642
  stroke: e.value.style.chart.layout.rect.stroke,
628
643
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
629
- filter: ee(i.value[o].serieIndex)
630
- }, null, 8, Zt))), 256)),
631
- (s(!0), r($, null, F(U.value, (l, o) => (s(), r("rect", {
644
+ filter: ee(n.value[o].serieIndex)
645
+ }, null, 8, tl))), 256)),
646
+ (s(!0), v($, null, z(E.value, (l, o) => (s(), v("rect", {
632
647
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
633
648
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
634
649
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
635
650
  height: S.value <= 0 ? 1e-4 : S.value,
636
651
  width: T.value <= 0 ? 1e-4 : T.value,
637
- fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${k.value}_${o})` : i.value[o].color,
652
+ fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${k.value}_${o})` : n.value[o].color,
638
653
  stroke: e.value.style.chart.layout.rect.stroke,
639
654
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
640
- filter: ee(i.value[o].serieIndex)
641
- }, null, 8, el))), 256)),
642
- t.$slots.pattern ? (s(), r("g", tl, [
643
- (s(!0), r($, null, F(U.value, (l, o) => (s(), r("rect", {
655
+ filter: ee(n.value[o].serieIndex)
656
+ }, null, 8, ll))), 256)),
657
+ t.$slots.pattern ? (s(), v("g", al, [
658
+ (s(!0), v($, null, z(E.value, (l, o) => (s(), v("rect", {
644
659
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
645
660
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
646
661
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
647
662
  height: S.value <= 0 ? 1e-4 : S.value,
648
663
  width: T.value <= 0 ? 1e-4 : T.value,
649
- fill: `url(#pattern_${k.value}_${i.value[o].absoluteIndex})`,
664
+ fill: `url(#pattern_${k.value}_${n.value[o].absoluteIndex})`,
650
665
  stroke: "none",
651
- filter: ee(i.value[o].serieIndex)
652
- }, null, 8, ll))), 256))
666
+ filter: ee(n.value[o].serieIndex)
667
+ }, null, 8, ol))), 256))
653
668
  ])) : f("", !0)
654
669
  ], 64)) : f("", !0),
655
- (s(!0), r($, null, F(U.value, (l, o) => (s(), r($, null, [
656
- i.value.length && !N.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (i.value[o].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || i.value[o].isAbsoluteFirst && o % e.value.style.chart.layout.grid.size === 0 && i.value[o].absoluteStartIndex) ? (s(), r("foreignObject", {
670
+ (s(!0), v($, null, z(E.value, (l, o) => (s(), v($, null, [
671
+ n.value.length && !V.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (n.value[o].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || n.value[o].isAbsoluteFirst && o % e.value.style.chart.layout.grid.size === 0 && n.value[o].absoluteStartIndex) ? (s(), v("foreignObject", {
657
672
  key: 0,
658
673
  x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
659
674
  y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
660
675
  height: Z.value <= 0 ? 1e-4 : Z.value,
661
676
  width: X.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : X.value * e.value.style.chart.layout.grid.size,
662
- filter: ee(i.value[o].serieIndex)
677
+ filter: ee(n.value[o].serieIndex)
663
678
  }, [
664
679
  x("div", {
665
680
  class: "vue-ui-waffle-caption",
666
- style: K(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${X.value / 12}px;color:${n(St)(i.value[o].color)};gap:2px`)
681
+ style: K(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${X.value / 12}px;color:${r(Pt)(n.value[o].color)};gap:2px`)
667
682
  }, [
668
- e.value.style.chart.layout.labels.captions.showSerieName ? (s(), r("span", ol, L(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? n(Ot)({ source: i.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : i.value[o].name) + ": ", 1)) : f("", !0),
669
- e.value.style.chart.layout.labels.captions.showPercentage ? (s(), r("span", ul, L(n(_)({ v: i.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : f("", !0),
670
- e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), r("span", sl, " (" + L(n(q)(
683
+ e.value.style.chart.layout.labels.captions.showSerieName ? (s(), v("span", sl, A(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? r(Ot)({ source: n.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : n.value[o].name) + ": ", 1)) : f("", !0),
684
+ e.value.style.chart.layout.labels.captions.showPercentage ? (s(), v("span", rl, A(r(_)({ v: n.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : f("", !0),
685
+ e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), v("span", nl, " (" + A(r(H)(
671
686
  e.value.style.chart.layout.labels.dataLabels.formatter,
672
- i.value[o].value,
673
- n(_)({
687
+ n.value[o].value,
688
+ r(_)({
674
689
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
675
- v: i.value[o].value,
690
+ v: n.value[o].value,
676
691
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
677
692
  r: e.value.style.chart.layout.labels.captions.roundingValue
678
693
  }),
679
- { datapoint: i.value[o], position: l }
694
+ { datapoint: n.value[o], position: l }
680
695
  )) + ") ", 1)) : f("", !0),
681
- !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), r("span", rl, L(n(q)(
696
+ !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), v("span", il, A(r(H)(
682
697
  e.value.style.chart.layout.labels.dataLabels.formatter,
683
- i.value[o].value,
684
- n(_)({
698
+ n.value[o].value,
699
+ r(_)({
685
700
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
686
- v: i.value[o].value,
701
+ v: n.value[o].value,
687
702
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
688
703
  r: e.value.style.chart.layout.labels.captions.roundingValue
689
704
  }),
690
- { datapoint: i.value[o], position: l }
705
+ { datapoint: n.value[o], position: l }
691
706
  )), 1)) : f("", !0)
692
707
  ], 4)
693
- ], 8, al)) : f("", !0)
708
+ ], 8, ul)) : f("", !0)
694
709
  ], 64))), 256)),
695
- (s(!0), r($, null, F(U.value, (l, o) => (s(), r("rect", {
710
+ (s(!0), v($, null, z(E.value, (l, o) => (s(), v("rect", {
696
711
  onMouseover: (u) => ct(o),
697
712
  onMouseleave: a[0] || (a[0] = (u) => {
698
713
  ae.value = !1, D.value = null;
@@ -703,13 +718,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
703
718
  width: X.value <= 0 ? 1e-4 : X.value,
704
719
  fill: "transparent",
705
720
  stroke: "none"
706
- }, null, 40, nl))), 256)),
707
- g(t.$slots, "svg", { svg: z.value }, void 0, !0)
708
- ], 14, Wt)) : f("", !0),
709
- t.$slots.watermark ? (s(), r("div", il, [
710
- g(t.$slots, "watermark", j(W({ isPrinting: n(_e) || n(Ie) })), void 0, !0)
721
+ }, null, 40, vl))), 256)),
722
+ g(t.$slots, "svg", { svg: N.value }, void 0, !0)
723
+ ], 14, Ht)) : f("", !0),
724
+ t.$slots.watermark ? (s(), v("div", cl, [
725
+ g(t.$slots, "watermark", W(q({ isPrinting: r(_e) || r(Ie) })), void 0, !0)
711
726
  ])) : f("", !0),
712
- Q.value ? f("", !0) : (s(), V(n(Ke), {
727
+ Q.value ? f("", !0) : (s(), M(r(Ke), {
713
728
  key: 6,
714
729
  config: {
715
730
  type: "waffle",
@@ -725,38 +740,35 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
725
740
  ref_key: "chartLegend",
726
741
  ref: pe
727
742
  }, [
728
- e.value.style.chart.legend.show ? (s(), V(Ut, {
729
- key: `legend_${me.value}`,
730
- legendSet: E.value,
743
+ e.value.style.chart.legend.show ? (s(), M(Et, {
744
+ key: `legend_${be.value}`,
745
+ legendSet: G.value,
731
746
  config: vt.value,
732
747
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => ze(l.uid))
733
- }, Ue({
734
- item: b(({ legend: l }) => [
748
+ }, Ee({
749
+ item: m(({ legend: l }) => [
735
750
  x("div", {
736
751
  onClick: (o) => l.segregate(),
737
752
  style: K(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
738
- }, [
739
- Ge(L(l.name) + ": " + L(n(q)(
740
- e.value.style.chart.layout.labels.dataLabels.formatter,
741
- l.value,
742
- n(_)({
743
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
744
- v: l.value,
745
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
746
- r: e.value.style.chart.legend.roundingValue,
747
- isAnimating: N.value
748
- }),
749
- { datapoint: l }
750
- )) + " ", 1),
751
- p.value.includes(l.uid) ? (s(), r("span", dl, " ( - % ) ")) : (s(), r("span", cl, " (" + L(isNaN(l.value / O.value) ? "-" : n(_)({ v: l.value / O.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: N.value })) + ") ", 1))
752
- ], 12, vl)
753
+ }, A(l.name) + A(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + A(e.value.style.chart.legend.showValue ? r(H)(
754
+ e.value.style.chart.layout.labels.dataLabels.formatter,
755
+ l.value,
756
+ r(_)({
757
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
758
+ v: l.value,
759
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
760
+ r: e.value.style.chart.legend.roundingValue,
761
+ isAnimating: V.value
762
+ }),
763
+ { datapoint: l }
764
+ ) : "") + " " + A(e.value.style.chart.legend.showPercentage ? p.value.includes(l.uid) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / P.value) ? "-" : r(_)({ v: l.value / P.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: V.value })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, dl)
753
765
  ]),
754
766
  _: 2
755
767
  }, [
756
768
  t.$slots.pattern ? {
757
769
  name: "legend-pattern",
758
- fn: b(({ legend: l, index: o }) => [
759
- ve(Et, {
770
+ fn: m(({ legend: l, index: o }) => [
771
+ ve(Gt, {
760
772
  shape: l.shape,
761
773
  radius: 30,
762
774
  stroke: "none",
@@ -768,10 +780,10 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
768
780
  } : void 0
769
781
  ]), 1032, ["legendSet", "config"])) : g(t.$slots, "legend", {
770
782
  key: 1,
771
- legend: E.value
783
+ legend: G.value
772
784
  }, void 0, !0)
773
785
  ], 512),
774
- t.$slots.source ? (s(), r("div", {
786
+ t.$slots.source ? (s(), v("div", {
775
787
  key: 7,
776
788
  ref_key: "source",
777
789
  ref: fe,
@@ -779,8 +791,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
779
791
  }, [
780
792
  g(t.$slots, "source", {}, void 0, !0)
781
793
  ], 512)) : f("", !0),
782
- ve(n(Qe), {
783
- show: C.value.showTooltip && ae.value && p.value.length < m.dataset.length,
794
+ ve(r(Qe), {
795
+ show: C.value.showTooltip && ae.value && p.value.length < b.dataset.length,
784
796
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
785
797
  color: e.value.style.chart.tooltip.color,
786
798
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -789,21 +801,21 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
789
801
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
790
802
  position: e.value.style.chart.tooltip.position,
791
803
  offsetY: e.value.style.chart.tooltip.offsetY,
792
- parent: H.value,
804
+ parent: F.value,
793
805
  content: oe.value,
794
806
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
795
807
  fontSize: e.value.style.chart.tooltip.fontSize,
796
- isFullscreen: G.value
808
+ isFullscreen: j.value
797
809
  }, {
798
- "tooltip-before": b(() => [
799
- g(t.$slots, "tooltip-before", j(W({ ...re.value })), void 0, !0)
810
+ "tooltip-before": m(() => [
811
+ g(t.$slots, "tooltip-before", W(q({ ...re.value })), void 0, !0)
800
812
  ]),
801
- "tooltip-after": b(() => [
802
- g(t.$slots, "tooltip-after", j(W({ ...re.value })), void 0, !0)
813
+ "tooltip-after": m(() => [
814
+ g(t.$slots, "tooltip-after", W(q({ ...re.value })), void 0, !0)
803
815
  ]),
804
816
  _: 3
805
817
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen"]),
806
- Q.value ? (s(), V(n(Je), {
818
+ Q.value ? (s(), M(r(Je), {
807
819
  key: 8,
808
820
  hideDetails: "",
809
821
  config: {
@@ -819,9 +831,9 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
819
831
  }
820
832
  }
821
833
  }, {
822
- content: b(() => [
823
- (s(), V(n(Xe), {
824
- key: `table_${be.value}`,
834
+ content: m(() => [
835
+ (s(), M(r(Xe), {
836
+ key: `table_${me.value}`,
825
837
  colNames: te.value.colNames,
826
838
  head: te.value.head,
827
839
  body: te.value.body,
@@ -829,23 +841,23 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
829
841
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
830
842
  onClose: a[2] || (a[2] = (l) => C.value.showTable = !1)
831
843
  }, {
832
- th: b(({ th: l }) => [
844
+ th: m(({ th: l }) => [
833
845
  x("div", {
834
846
  innerHTML: l,
835
847
  style: { display: "flex", "align-items": "center" }
836
848
  }, null, 8, hl)
837
849
  ]),
838
- td: b(({ td: l }) => [
839
- Ge(L(l.name || l), 1)
850
+ td: m(({ td: l }) => [
851
+ gt(A(l.name || l), 1)
840
852
  ]),
841
853
  _: 1
842
854
  }, 8, ["colNames", "head", "body", "config", "title"]))
843
855
  ]),
844
856
  _: 1
845
857
  }, 8, ["config"])) : f("", !0)
846
- ], 46, jt));
858
+ ], 46, qt));
847
859
  }
848
- }, Il = /* @__PURE__ */ Gt(pl, [["__scopeId", "data-v-79c12b4f"]]);
860
+ }, Tl = /* @__PURE__ */ Wt(pl, [["__scopeId", "data-v-7a585273"]]);
849
861
  export {
850
- Il as default
862
+ Tl as default
851
863
  };