vue-data-ui 3.0.0-next.0 → 3.0.0-next.2

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 (102) hide show
  1. package/README.md +108 -67
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-Dck2Ea5K.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-CatHZ1ns.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-BmZ4MREl.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-C1MXyD9Q.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-CgL0Rz0x.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-CYbP3Kfg.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-CcbcJm_U.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-CAkNkiIG.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-Cx1-5zdD.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-DBXkGxKt.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-nrMi5hzj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-fNzL4pIU.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-pVYRzQXY.js} +1 -1
  15. package/dist/Tooltip-NwATo4ZJ.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-DAsRxxrf.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-BF_4H_6u.js} +1 -1
  18. package/dist/img-ku4zevVD.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-BzfnuLnw.js} +1199 -1135
  20. package/dist/pdf-CguiIsUc.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1051 -217
  23. package/dist/types/vue-data-ui.d.ts +1051 -217
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-DorElw91.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-C9qkgv0r.js} +2 -2
  27. package/dist/vue-data-ui-DQef_oFO.js +314 -0
  28. package/dist/vue-data-ui.js +13 -13
  29. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DPSamIA-.js} +261 -245
  30. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-DgZK-qDz.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-DVeGKvf9.js} +233 -217
  32. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-6ikkK-FK.js} +2 -2
  33. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-Bg4hfFk2.js} +172 -156
  34. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bi59FGXn.js} +271 -254
  35. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-DitKhrFT.js} +17 -16
  36. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-D8wGAZod.js} +419 -403
  37. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-C-uTVCDP.js} +256 -240
  38. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-CPy6xcxv.js} +230 -214
  39. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-Dd7vUd0q.js} +2 -2
  40. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-CKurbu8M.js} +62 -62
  41. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-DfdZI11G.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-CKbLO8yR.js} +370 -357
  43. package/dist/vue-ui-donut-tECBFvud.js +1532 -0
  44. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-DI5Lj3r_.js} +216 -200
  45. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CjU48s9z.js} +217 -201
  46. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DM_5vHZ4.js} +213 -197
  47. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-ocvZgZJx.js} +215 -202
  48. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-DajNoY-D.js} +220 -204
  49. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-DTnzeQbm.js} +3 -3
  50. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-CfBS8jQe.js} +244 -224
  51. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BuOPWQoP.js} +268 -252
  52. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-DLGHOIRj.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CHAHi4c9.js} +2 -2
  54. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-R5-oDFeW.js} +204 -188
  55. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-Ddf2gaES.js} +206 -190
  56. package/dist/vue-ui-nested-donuts-CksklV83.js +1177 -0
  57. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-D2n4zUkV.js} +196 -180
  58. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-CNWQqlxf.js} +194 -178
  59. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-CxNj2FEx.js} +321 -305
  60. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-Bm_VmhJR.js} +347 -331
  61. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DSYMQJ6K.js} +193 -177
  62. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-BiQpwXnc.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-Cdxe78Bm.js} +188 -172
  64. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-DpeM2hRi.js} +212 -196
  65. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-BenmQHKv.js} +223 -210
  66. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-mDMY1H6U.js} +288 -273
  67. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-Ch_XkFuP.js} +3 -3
  68. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-DTig5lTU.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-BkDsp8E0.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-CgqoyBOm.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-B4jR_Y62.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-DfxjglLy.js} +4 -4
  73. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-M3QR8xJE.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-B2Ls-Mb8.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-DIHkn6__.js} +497 -474
  76. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-B_ZLbu2D.js} +241 -225
  77. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-BhymhDOh.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-DokRh4dS.js} +26 -25
  79. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-DxBZGKZJ.js} +8 -7
  80. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-e2L6IdF-.js} +170 -154
  81. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-BG2EwK3o.js} +5 -5
  82. package/dist/vue-ui-tiremarks-nzQH7woJ.js +358 -0
  83. package/dist/vue-ui-treemap-CZxyi6fl.js +965 -0
  84. package/dist/{vue-ui-vertical-bar-Dd4sYeAC.js → vue-ui-vertical-bar-DahdX1Sn.js} +382 -360
  85. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-D399D4UE.js} +234 -221
  86. package/dist/vue-ui-wheel-DtcwtHzJ.js +352 -0
  87. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-CTDceQsf.js} +249 -233
  88. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BjNSbqMZ.js} +239 -223
  89. package/dist/vue-ui-xy-BkTP-JpK.js +2958 -0
  90. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-BKAowbe0.js} +447 -431
  91. package/package.json +2 -2
  92. package/dist/Tooltip-hVZUY_s5.js +0 -149
  93. package/dist/img-BeMVTwmF.js +0 -20
  94. package/dist/pdf-DPxOdzfi.js +0 -51
  95. package/dist/useMouse-AicQS8Vf.js +0 -13
  96. package/dist/vue-data-ui-nceqWRts.js +0 -301
  97. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  98. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  99. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  100. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  101. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  102. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
@@ -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-DMqAxz7R.js";
3
- import { t as Nt, u as Bt } from "./useResponsive-DfdjqQps.js";
4
- import { u as je } from "./useNestedProp-YgN3FV_8.js";
5
- import { u as Vt } from "./usePrinter-COkTjv6C.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-BzfnuLnw.js";
3
+ import { t as Vt, u as Bt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as je } from "./useNestedProp-DorElw91.js";
5
+ import { u as Mt } from "./usePrinter-C9qkgv0r.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-D29apS4l.js";
9
- import Ut from "./Legend-Q4bOb-Nf.js";
10
- import { _ as Et } from "./Shape-DbsLJ-SE.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-pVYRzQXY.js";
9
+ import Et from "./Legend-CYbP3Kfg.js";
10
+ import { _ as Gt } from "./Shape-DBXkGxKt.js";
11
+ import jt from "./img-ku4zevVD.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-BBbOgI-a.js")), Ye = B(() => import("./PenAndPaper-DhBJsnob.js")), Je = B(() => import("./vue-ui-accordion-P6eFHGQp.js")), Ke = B(() => import("./vue-ui-skeleton-CjN2ZdgT.js")), Qe = B(() => import("./Tooltip-hVZUY_s5.js")), Ze = B(() => import("./UserOptions-Bdit7AWO.js")), et = B(() => import("./PackageVersion-D0VPY8-5.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-CgL0Rz0x.js")), Ye = B(() => import("./PenAndPaper-Cx1-5zdD.js")), Je = B(() => import("./vue-ui-accordion-DgZK-qDz.js")), Ke = B(() => import("./vue-ui-skeleton-Ch_XkFuP.js")), Qe = B(() => import("./Tooltip-NwATo4ZJ.js")), Ze = B(() => import("./UserOptions-DAsRxxrf.js")), et = B(() => import("./PackageVersion-CAkNkiIG.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,94 +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
- onToggleFullscreen: ht,
481
- onGeneratePdf: n(Te),
495
+ printScale: e.value.userOptions.print.scale,
496
+ onToggleFullscreen: Ve,
497
+ onGeneratePdf: r(Te),
482
498
  onGenerateCsv: Ne,
483
- onGenerateImage: n(Se),
499
+ onGenerateImage: r(Se),
484
500
  onToggleTable: Be,
485
- onToggleTooltip: Ve,
501
+ onToggleTooltip: Me,
486
502
  onToggleAnnotator: ne,
487
503
  style: K({
488
- visibility: n(ke) ? n(ue) ? "visible" : "hidden" : "visible"
504
+ visibility: r(ke) ? r(ue) ? "visible" : "hidden" : "visible"
489
505
  })
490
- }, Ue({ _: 2 }, [
506
+ }, Ee({ _: 2 }, [
491
507
  t.$slots.menuIcon ? {
492
508
  name: "menuIcon",
493
- fn: b(({ isOpen: l, color: o }) => [
494
- 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)
495
511
  ]),
496
512
  key: "0"
497
513
  } : void 0,
498
514
  t.$slots.optionTooltip ? {
499
515
  name: "optionTooltip",
500
- fn: b(() => [
516
+ fn: m(() => [
501
517
  g(t.$slots, "optionTooltip", {}, void 0, !0)
502
518
  ]),
503
519
  key: "1"
504
520
  } : void 0,
505
521
  t.$slots.optionPdf ? {
506
522
  name: "optionPdf",
507
- fn: b(() => [
523
+ fn: m(() => [
508
524
  g(t.$slots, "optionPdf", {}, void 0, !0)
509
525
  ]),
510
526
  key: "2"
511
527
  } : void 0,
512
528
  t.$slots.optionCsv ? {
513
529
  name: "optionCsv",
514
- fn: b(() => [
530
+ fn: m(() => [
515
531
  g(t.$slots, "optionCsv", {}, void 0, !0)
516
532
  ]),
517
533
  key: "3"
518
534
  } : void 0,
519
535
  t.$slots.optionImg ? {
520
536
  name: "optionImg",
521
- fn: b(() => [
537
+ fn: m(() => [
522
538
  g(t.$slots, "optionImg", {}, void 0, !0)
523
539
  ]),
524
540
  key: "4"
525
541
  } : void 0,
526
542
  t.$slots.optionTable ? {
527
543
  name: "optionTable",
528
- fn: b(() => [
544
+ fn: m(() => [
529
545
  g(t.$slots, "optionTable", {}, void 0, !0)
530
546
  ]),
531
547
  key: "5"
532
548
  } : void 0,
533
549
  t.$slots.optionFullscreen ? {
534
550
  name: "optionFullscreen",
535
- fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
536
- 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)
537
553
  ]),
538
554
  key: "6"
539
555
  } : void 0,
540
556
  t.$slots.optionAnnotator ? {
541
557
  name: "optionAnnotator",
542
- fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
543
- 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)
544
560
  ]),
545
561
  key: "7"
546
562
  } : void 0
547
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
548
- Q.value ? (s(), r("svg", {
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),
564
+ Q.value ? (s(), v("svg", {
549
565
  key: 4,
550
566
  ref_key: "svgRef",
551
567
  ref: xe,
552
- xmlns: n(_t),
553
- class: Re({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
554
- 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}`,
555
571
  style: K(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
556
572
  }, [
557
- ve(n(et)),
573
+ ve(r(et)),
558
574
  x("defs", null, [
559
- (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", {
560
576
  cx: "50%",
561
577
  cy: "50%",
562
578
  r: "50%",
@@ -566,13 +582,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
566
582
  }, [
567
583
  x("stop", {
568
584
  offset: "0%",
569
- "stop-color": n(It)(n(Tt)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
570
- }, 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),
571
587
  x("stop", {
572
588
  offset: "100%",
573
589
  "stop-color": l.color
574
- }, null, 8, Xt)
575
- ], 8, qt))), 256))
590
+ }, null, 8, Jt)
591
+ ], 8, Xt))), 256))
576
592
  ]),
577
593
  x("defs", null, [
578
594
  x("filter", {
@@ -590,18 +606,18 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
590
606
  type: "saturate",
591
607
  values: "0"
592
608
  }, null, -1)
593
- ]), 8, Yt)
609
+ ]), 8, Kt)
594
610
  ]),
595
- 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", {
596
612
  x: l.x,
597
613
  y: l.y,
598
614
  height: S.value <= 0 ? 1e-4 : S.value,
599
615
  width: T.value <= 0 ? 1e-4 : T.value,
600
616
  class: "vue-ui-waffle-custom-cell-foreignObject"
601
617
  }, [
602
- 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)
603
- ], 8, Jt))), 256)) : f("", !0),
604
- !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", {
605
621
  key: 1,
606
622
  x: 12,
607
623
  y: 12,
@@ -610,13 +626,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
610
626
  rx: 3,
611
627
  fill: "none",
612
628
  stroke: "black"
613
- }, null, 8, Kt)) : i.value.length && !e.value.useCustomCells ? (s(), r($, { key: 2 }, [
614
- t.$slots.pattern ? (s(), r("g", Qt, [
615
- (s(!0), r($, null, F(se.value, (l) => (s(), r("defs", null, [
616
- 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)
617
633
  ]))), 256))
618
634
  ])) : f("", !0),
619
- (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", {
620
636
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
621
637
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
622
638
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -625,73 +641,73 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
625
641
  fill: "white",
626
642
  stroke: e.value.style.chart.layout.rect.stroke,
627
643
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
628
- filter: ee(i.value[o].serieIndex)
629
- }, null, 8, Zt))), 256)),
630
- (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", {
631
647
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
632
648
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
633
649
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
634
650
  height: S.value <= 0 ? 1e-4 : S.value,
635
651
  width: T.value <= 0 ? 1e-4 : T.value,
636
- 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,
637
653
  stroke: e.value.style.chart.layout.rect.stroke,
638
654
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
639
- filter: ee(i.value[o].serieIndex)
640
- }, null, 8, el))), 256)),
641
- t.$slots.pattern ? (s(), r("g", tl, [
642
- (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", {
643
659
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
644
660
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
645
661
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
646
662
  height: S.value <= 0 ? 1e-4 : S.value,
647
663
  width: T.value <= 0 ? 1e-4 : T.value,
648
- fill: `url(#pattern_${k.value}_${i.value[o].absoluteIndex})`,
664
+ fill: `url(#pattern_${k.value}_${n.value[o].absoluteIndex})`,
649
665
  stroke: "none",
650
- filter: ee(i.value[o].serieIndex)
651
- }, null, 8, ll))), 256))
666
+ filter: ee(n.value[o].serieIndex)
667
+ }, null, 8, ol))), 256))
652
668
  ])) : f("", !0)
653
669
  ], 64)) : f("", !0),
654
- (s(!0), r($, null, F(U.value, (l, o) => (s(), r($, null, [
655
- 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", {
656
672
  key: 0,
657
673
  x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
658
674
  y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
659
675
  height: Z.value <= 0 ? 1e-4 : Z.value,
660
676
  width: X.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : X.value * e.value.style.chart.layout.grid.size,
661
- filter: ee(i.value[o].serieIndex)
677
+ filter: ee(n.value[o].serieIndex)
662
678
  }, [
663
679
  x("div", {
664
680
  class: "vue-ui-waffle-caption",
665
- 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`)
666
682
  }, [
667
- 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),
668
- 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),
669
- 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)(
670
686
  e.value.style.chart.layout.labels.dataLabels.formatter,
671
- i.value[o].value,
672
- n(_)({
687
+ n.value[o].value,
688
+ r(_)({
673
689
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
674
- v: i.value[o].value,
690
+ v: n.value[o].value,
675
691
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
676
692
  r: e.value.style.chart.layout.labels.captions.roundingValue
677
693
  }),
678
- { datapoint: i.value[o], position: l }
694
+ { datapoint: n.value[o], position: l }
679
695
  )) + ") ", 1)) : f("", !0),
680
- !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)(
681
697
  e.value.style.chart.layout.labels.dataLabels.formatter,
682
- i.value[o].value,
683
- n(_)({
698
+ n.value[o].value,
699
+ r(_)({
684
700
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
685
- v: i.value[o].value,
701
+ v: n.value[o].value,
686
702
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
687
703
  r: e.value.style.chart.layout.labels.captions.roundingValue
688
704
  }),
689
- { datapoint: i.value[o], position: l }
705
+ { datapoint: n.value[o], position: l }
690
706
  )), 1)) : f("", !0)
691
707
  ], 4)
692
- ], 8, al)) : f("", !0)
708
+ ], 8, ul)) : f("", !0)
693
709
  ], 64))), 256)),
694
- (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", {
695
711
  onMouseover: (u) => ct(o),
696
712
  onMouseleave: a[0] || (a[0] = (u) => {
697
713
  ae.value = !1, D.value = null;
@@ -702,13 +718,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
702
718
  width: X.value <= 0 ? 1e-4 : X.value,
703
719
  fill: "transparent",
704
720
  stroke: "none"
705
- }, null, 40, nl))), 256)),
706
- g(t.$slots, "svg", { svg: z.value }, void 0, !0)
707
- ], 14, Wt)) : f("", !0),
708
- t.$slots.watermark ? (s(), r("div", il, [
709
- 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)
710
726
  ])) : f("", !0),
711
- Q.value ? f("", !0) : (s(), V(n(Ke), {
727
+ Q.value ? f("", !0) : (s(), M(r(Ke), {
712
728
  key: 6,
713
729
  config: {
714
730
  type: "waffle",
@@ -724,38 +740,35 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
724
740
  ref_key: "chartLegend",
725
741
  ref: pe
726
742
  }, [
727
- e.value.style.chart.legend.show ? (s(), V(Ut, {
728
- key: `legend_${me.value}`,
729
- legendSet: E.value,
743
+ e.value.style.chart.legend.show ? (s(), M(Et, {
744
+ key: `legend_${be.value}`,
745
+ legendSet: G.value,
730
746
  config: vt.value,
731
747
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => ze(l.uid))
732
- }, Ue({
733
- item: b(({ legend: l }) => [
748
+ }, Ee({
749
+ item: m(({ legend: l }) => [
734
750
  x("div", {
735
751
  onClick: (o) => l.segregate(),
736
752
  style: K(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
737
- }, [
738
- Ge(L(l.name) + ": " + L(n(q)(
739
- e.value.style.chart.layout.labels.dataLabels.formatter,
740
- l.value,
741
- n(_)({
742
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
743
- v: l.value,
744
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
745
- r: e.value.style.chart.legend.roundingValue,
746
- isAnimating: N.value
747
- }),
748
- { datapoint: l }
749
- )) + " ", 1),
750
- 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))
751
- ], 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)
752
765
  ]),
753
766
  _: 2
754
767
  }, [
755
768
  t.$slots.pattern ? {
756
769
  name: "legend-pattern",
757
- fn: b(({ legend: l, index: o }) => [
758
- ve(Et, {
770
+ fn: m(({ legend: l, index: o }) => [
771
+ ve(Gt, {
759
772
  shape: l.shape,
760
773
  radius: 30,
761
774
  stroke: "none",
@@ -767,10 +780,10 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
767
780
  } : void 0
768
781
  ]), 1032, ["legendSet", "config"])) : g(t.$slots, "legend", {
769
782
  key: 1,
770
- legend: E.value
783
+ legend: G.value
771
784
  }, void 0, !0)
772
785
  ], 512),
773
- t.$slots.source ? (s(), r("div", {
786
+ t.$slots.source ? (s(), v("div", {
774
787
  key: 7,
775
788
  ref_key: "source",
776
789
  ref: fe,
@@ -778,8 +791,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
778
791
  }, [
779
792
  g(t.$slots, "source", {}, void 0, !0)
780
793
  ], 512)) : f("", !0),
781
- ve(n(Qe), {
782
- 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,
783
796
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
784
797
  color: e.value.style.chart.tooltip.color,
785
798
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -788,21 +801,21 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
788
801
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
789
802
  position: e.value.style.chart.tooltip.position,
790
803
  offsetY: e.value.style.chart.tooltip.offsetY,
791
- parent: H.value,
804
+ parent: F.value,
792
805
  content: oe.value,
793
806
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
794
807
  fontSize: e.value.style.chart.tooltip.fontSize,
795
- isFullscreen: G.value
808
+ isFullscreen: j.value
796
809
  }, {
797
- "tooltip-before": b(() => [
798
- 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)
799
812
  ]),
800
- "tooltip-after": b(() => [
801
- 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)
802
815
  ]),
803
816
  _: 3
804
817
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen"]),
805
- Q.value ? (s(), V(n(Je), {
818
+ Q.value ? (s(), M(r(Je), {
806
819
  key: 8,
807
820
  hideDetails: "",
808
821
  config: {
@@ -818,9 +831,9 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
818
831
  }
819
832
  }
820
833
  }, {
821
- content: b(() => [
822
- (s(), V(n(Xe), {
823
- key: `table_${be.value}`,
834
+ content: m(() => [
835
+ (s(), M(r(Xe), {
836
+ key: `table_${me.value}`,
824
837
  colNames: te.value.colNames,
825
838
  head: te.value.head,
826
839
  body: te.value.body,
@@ -828,23 +841,23 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], qt = ["id"], Ht = ["stop-color"],
828
841
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
829
842
  onClose: a[2] || (a[2] = (l) => C.value.showTable = !1)
830
843
  }, {
831
- th: b(({ th: l }) => [
844
+ th: m(({ th: l }) => [
832
845
  x("div", {
833
846
  innerHTML: l,
834
847
  style: { display: "flex", "align-items": "center" }
835
848
  }, null, 8, hl)
836
849
  ]),
837
- td: b(({ td: l }) => [
838
- Ge(L(l.name || l), 1)
850
+ td: m(({ td: l }) => [
851
+ gt(A(l.name || l), 1)
839
852
  ]),
840
853
  _: 1
841
854
  }, 8, ["colNames", "head", "body", "config", "title"]))
842
855
  ]),
843
856
  _: 1
844
857
  }, 8, ["config"])) : f("", !0)
845
- ], 46, jt));
858
+ ], 46, qt));
846
859
  }
847
- }, Il = /* @__PURE__ */ Gt(pl, [["__scopeId", "data-v-da21b411"]]);
860
+ }, Tl = /* @__PURE__ */ Wt(pl, [["__scopeId", "data-v-501a7164"]]);
848
861
  export {
849
- Il as default
862
+ Tl as default
850
863
  };