vue-data-ui 2.12.7-beta.0 → 2.12.7-beta.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 (87) hide show
  1. package/dist/{Arrow-CmqjRRUl.js → Arrow-C5-RFd0F.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BMlyvt7E.js → BaseDraggableDialog-CKbomZCX.js} +2 -2
  3. package/dist/{BaseIcon-CZdMutjs.js → BaseIcon-DhWmrDAn.js} +1 -1
  4. package/dist/{ColorPicker-DvVKgyAl.js → ColorPicker-F4TctKaQ.js} +2 -2
  5. package/dist/{DataTable-Cv9CIz-a.js → DataTable-Y5HbiUZU.js} +2 -2
  6. package/dist/{Legend-DFunFf8i.js → Legend-DtTYopxf.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-pVuHj6_A.js → NonSvgPenAndPaper-PC9Yu1K_.js} +3 -3
  8. package/dist/{PackageVersion-CLY-udAA.js → PackageVersion-DaWGaZxE.js} +1 -1
  9. package/dist/{PenAndPaper-B9na2mbr.js → PenAndPaper-C-CpE0NC.js} +3 -3
  10. package/dist/{Shape-D3w9qas1.js → Shape-B6kIkp2s.js} +1 -1
  11. package/dist/{Slicer-ncY8krrM.js → Slicer-DXpA-pZk.js} +2 -2
  12. package/dist/{SparkTooltip-CwThutH2.js → SparkTooltip-DcdMxgqn.js} +1 -1
  13. package/dist/{Title-B5qqUI3M.js → Title-Bc66VstS.js} +1 -1
  14. package/dist/{Tooltip-C9rxJ-Ru.js → Tooltip-B07vY6jm.js} +1 -1
  15. package/dist/{UserOptions-Ddy6CuLC.js → UserOptions-C8X2STEg.js} +1 -1
  16. package/dist/{dom-to-png-DDlooC9r.js → dom-to-png-DH-7H-9g.js} +1 -1
  17. package/dist/{img-m9g7lR5d.js → img-CEn9LJxg.js} +1 -1
  18. package/dist/{index-BiHmNd1-.js → index-BHEd2dgu.js} +1 -1
  19. package/dist/{pdf-BqM953uL.js → pdf-BfkyEFza.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-tRqS0ZAM.js → useNestedProp-CZztHZIm.js} +1 -1
  22. package/dist/{usePrinter-CRCbl1WG.js → usePrinter-C8URL2IU.js} +2 -2
  23. package/dist/{vue-data-ui-D9uTDt73.js → vue-data-ui-C0tGhjs9.js} +63 -63
  24. package/dist/vue-data-ui.js +1 -1
  25. package/dist/{vue-ui-3d-bar-rtuSc8FS.js → vue-ui-3d-bar-CriyJ0Da.js} +5 -5
  26. package/dist/{vue-ui-accordion-CmCs2yR2.js → vue-ui-accordion-DntThSTF.js} +3 -3
  27. package/dist/{vue-ui-age-pyramid-BrzMSiyu.js → vue-ui-age-pyramid-BwgozppD.js} +5 -5
  28. package/dist/{vue-ui-annotator-CYxmTpf6.js → vue-ui-annotator-B7jNrpQ0.js} +2 -2
  29. package/dist/{vue-ui-bullet-D25qNQfb.js → vue-ui-bullet-C20X1YRt.js} +6 -6
  30. package/dist/{vue-ui-candlestick-BuerNa-r.js → vue-ui-candlestick-B264jwvu.js} +6 -6
  31. package/dist/{vue-ui-carousel-table-aN0HLsOO.js → vue-ui-carousel-table-ECSEPy9m.js} +4 -4
  32. package/dist/{vue-ui-chestnut-oUj2ocsZ.js → vue-ui-chestnut-BxjeL4B6.js} +4 -4
  33. package/dist/{vue-ui-chord-C4evlXYB.js → vue-ui-chord-CJNnQbPC.js} +84 -83
  34. package/dist/{vue-ui-circle-pack-CWrNiKTY.js → vue-ui-circle-pack-0RLVrL7y.js} +5 -5
  35. package/dist/{vue-ui-cursor-DgpSttlt.js → vue-ui-cursor-c9pZbUX7.js} +2 -2
  36. package/dist/{vue-ui-dashboard-BN2ha1Eh.js → vue-ui-dashboard-DJTFcJry.js} +62 -62
  37. package/dist/{vue-ui-digits-BhjAxXgm.js → vue-ui-digits-Cwy7WTqM.js} +2 -2
  38. package/dist/{vue-ui-donut-D3_z61HI.js → vue-ui-donut-BIFf4SLq.js} +105 -104
  39. package/dist/{vue-ui-donut-evolution-oKtmZPx4.js → vue-ui-donut-evolution-mc_-1JSs.js} +7 -7
  40. package/dist/{vue-ui-dumbbell-C8Lokx-F.js → vue-ui-dumbbell-D50S44wU.js} +6 -6
  41. package/dist/{vue-ui-flow-BVRkH0PS.js → vue-ui-flow-CxDTjjYn.js} +6 -6
  42. package/dist/{vue-ui-funnel-DFxcmAB5.js → vue-ui-funnel-DeC0U017.js} +5 -5
  43. package/dist/{vue-ui-galaxy-CGE0hlBC.js → vue-ui-galaxy-n0MW2u-q.js} +4 -4
  44. package/dist/{vue-ui-gauge-B48eMvOR.js → vue-ui-gauge-AYMCSEtU.js} +5 -5
  45. package/dist/{vue-ui-gizmo-zTKNpjvv.js → vue-ui-gizmo-Ckz1h7XW.js} +3 -3
  46. package/dist/{vue-ui-heatmap-UNfTt8SM.js → vue-ui-heatmap-m0SgFsTu.js} +6 -6
  47. package/dist/{vue-ui-history-plot-CbCWmvtg.js → vue-ui-history-plot-BrcF_YLL.js} +6 -6
  48. package/dist/{vue-ui-kpi-Drf_lrlh.js → vue-ui-kpi-DiVxDYiV.js} +3 -3
  49. package/dist/{vue-ui-mini-loader-DU3G6BVs.js → vue-ui-mini-loader-CqbUMft8.js} +2 -2
  50. package/dist/{vue-ui-molecule-B5MOXYEA.js → vue-ui-molecule-BCUC8QED.js} +4 -4
  51. package/dist/{vue-ui-mood-radar-CC_CVLvn.js → vue-ui-mood-radar-DrrjD9S1.js} +6 -6
  52. package/dist/{vue-ui-nested-donuts-D_H962kk.js → vue-ui-nested-donuts-8RTss1yH.js} +6 -6
  53. package/dist/{vue-ui-onion-P8k6T724.js → vue-ui-onion-CmPLnisN.js} +6 -6
  54. package/dist/{vue-ui-parallel-coordinate-plot-B5Los0vX.js → vue-ui-parallel-coordinate-plot-BsbEUu_g.js} +135 -134
  55. package/dist/{vue-ui-quadrant-B3wzCTxK.js → vue-ui-quadrant-CdM3bVZs.js} +119 -118
  56. package/dist/{vue-ui-quick-chart-oucj6hXk.js → vue-ui-quick-chart-C-lgCI6O.js} +5 -5
  57. package/dist/{vue-ui-radar-Cjqlyu6d.js → vue-ui-radar-Dq94lb99.js} +6 -6
  58. package/dist/{vue-ui-rating-gryk_h_6.js → vue-ui-rating-DceDRLFc.js} +2 -2
  59. package/dist/{vue-ui-relation-circle-ielvWC-1.js → vue-ui-relation-circle-DsKddA_I.js} +5 -5
  60. package/dist/{vue-ui-ridgeline-Dydqo68b.js → vue-ui-ridgeline-CVR7NvJ_.js} +116 -115
  61. package/dist/{vue-ui-rings-BRBXektJ.js → vue-ui-rings-B0soMLZ5.js} +79 -78
  62. package/dist/{vue-ui-scatter-Df-BM7Ts.js → vue-ui-scatter-Bq4_NUfW.js} +145 -144
  63. package/dist/{vue-ui-skeleton-CbYQYRvD.js → vue-ui-skeleton-CG3Pn3Zg.js} +3 -3
  64. package/dist/{vue-ui-smiley-BfHaQMaW.js → vue-ui-smiley-aGKTgh42.js} +2 -2
  65. package/dist/{vue-ui-spark-trend-z3fUChs_.js → vue-ui-spark-trend--6lA4742.js} +3 -3
  66. package/dist/{vue-ui-sparkbar-ChtFIugH.js → vue-ui-sparkbar-BXx7Vglf.js} +3 -3
  67. package/dist/{vue-ui-sparkgauge-DtpODCww.js → vue-ui-sparkgauge-zM4_Tgqb.js} +3 -3
  68. package/dist/{vue-ui-sparkhistogram-C3XnYiXI.js → vue-ui-sparkhistogram-BDNrZbWN.js} +62 -61
  69. package/dist/{vue-ui-sparkline-CoL8jiX8.js → vue-ui-sparkline-CzzyDmYJ.js} +3 -3
  70. package/dist/{vue-ui-sparkstackbar-CYk3mZJH.js → vue-ui-sparkstackbar-tBSUQ_09.js} +3 -3
  71. package/dist/{vue-ui-stackbar-D9LGbuG5.js → vue-ui-stackbar-BriZOfj6.js} +144 -143
  72. package/dist/{vue-ui-strip-plot-C5r1Ee2R.js → vue-ui-strip-plot-DzYyFp3o.js} +136 -135
  73. package/dist/{vue-ui-table-DBaT_TfA.js → vue-ui-table-C2qosrZR.js} +3 -3
  74. package/dist/{vue-ui-table-heatmap-CYW4YfKN.js → vue-ui-table-heatmap-COKfg2KT.js} +70 -69
  75. package/dist/{vue-ui-table-sparkline-Di0MYR4p.js → vue-ui-table-sparkline-D7C5AiCp.js} +4 -4
  76. package/dist/{vue-ui-thermometer-BF1btHY2.js → vue-ui-thermometer-CDG6vSMm.js} +5 -5
  77. package/dist/{vue-ui-timer-D9FfRWN5.js → vue-ui-timer-DOoO0CVB.js} +5 -5
  78. package/dist/{vue-ui-tiremarks-CQ0lk8fJ.js → vue-ui-tiremarks-BSPIy1A3.js} +5 -5
  79. package/dist/{vue-ui-treemap-1Lx7YRtc.js → vue-ui-treemap-DsMmxgin.js} +7 -7
  80. package/dist/{vue-ui-vertical-bar-DdVVQ1ED.js → vue-ui-vertical-bar-B2_ZHuyv.js} +145 -144
  81. package/dist/{vue-ui-waffle-BhnuPiRD.js → vue-ui-waffle-YhkwHcUX.js} +138 -137
  82. package/dist/{vue-ui-wheel-BIjJ0fg8.js → vue-ui-wheel-CWHJwyyL.js} +5 -5
  83. package/dist/{vue-ui-word-cloud-3-r8HwO_.js → vue-ui-word-cloud-BLgEqHRF.js} +5 -5
  84. package/dist/{vue-ui-world-CPIGEswq.js → vue-ui-world-BQelvSLD.js} +361 -360
  85. package/dist/{vue-ui-xy-9e_epIN4.js → vue-ui-xy-D1luVUXJ.js} +16 -16
  86. package/dist/{vue-ui-xy-canvas-DcGgQ7s4.js → vue-ui-xy-canvas-C7Pu9RFN.js} +7 -7
  87. package/package.json +1 -1
@@ -1,12 +1,13 @@
1
- import { defineAsyncComponent as F, useSlots as pt, computed as d, ref as c, watch as Ve, shallowRef as Me, onMounted as yt, onBeforeUnmount as ft, createElementBlock as n, openBlock as s, unref as r, normalizeStyle as K, normalizeClass as De, createBlock as V, createCommentVNode as y, createElementVNode as x, createVNode as ie, createSlots as Re, withCtx as b, renderSlot as g, normalizeProps as j, guardReactiveProps as W, Fragment as $, renderList as L, mergeProps as Ue, toDisplayString as z, 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 ve, g as Ct, b as $t, i as q, f as _, X as _t, s as It, w as Tt, G as St, K as Pt, d as Ot, q as At, r as Ft, x as Lt, y as zt } from "./index-BiHmNd1-.js";
3
- import { t as Nt, u as Bt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as Ee } from "./useNestedProp-tRqS0ZAM.js";
5
- import { u as Vt } from "./usePrinter-CRCbl1WG.js";
6
- import { u as Mt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Dt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Rt from "./Title-B5qqUI3M.js";
9
- import Ut from "./Legend-DFunFf8i.js";
1
+ import { defineAsyncComponent as B, useSlots as ht, computed as d, ref as c, watch as Ve, shallowRef as Me, onMounted as pt, onBeforeUnmount as ft, createElementBlock as r, openBlock as s, unref as n, normalizeStyle as K, normalizeClass as De, createBlock as V, createCommentVNode as f, createElementVNode as x, createVNode as ie, createSlots as Re, withCtx as b, renderSlot as g, normalizeProps as j, guardReactiveProps as W, Fragment as $, renderList as F, mergeProps as Ue, toDisplayString as L, createTextVNode as Ge, nextTick as yt } from "vue";
2
+ import { u as gt, c as bt, t as mt, p as M, a as wt, o as kt, e as ve, g as xt, b as Ct, i as q, f as _, X as $t, s as _t, w as It, G as Tt, K as St, d as Pt, q as Ot, r as At, x as Ft, y as Lt } from "./index-BHEd2dgu.js";
3
+ import { t as zt, u as Nt } from "./useResponsive-JZ9xq-JV.js";
4
+ import { u as Ee } from "./useNestedProp-CZztHZIm.js";
5
+ import { u as Bt } from "./usePrinter-C8URL2IU.js";
6
+ import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Dt from "./Title-Bc66VstS.js";
9
+ import Rt from "./Legend-DtTYopxf.js";
10
+ import Ut from "./Shape-B6kIkp2s.js";
10
11
  import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
12
  const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"], Ht = ["stop-color"], Xt = ["id"], Yt = ["x", "y", "height", "width"], Kt = ["height", "width"], Jt = { key: 0 }, Qt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Zt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], el = { key: 1 }, tl = ["rx", "x", "y", "height", "width", "fill", "filter"], ll = ["x", "y", "height", "width", "filter"], al = { key: 0 }, ol = { key: 1 }, ul = { key: 2 }, sl = { key: 3 }, rl = ["onMouseover", "x", "y", "height", "width"], nl = {
12
13
  key: 5,
@@ -29,33 +30,33 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
29
30
  },
30
31
  emits: ["selectLegend"],
31
32
  setup(je, { expose: We, emit: qe }) {
32
- const He = F(() => import("./DataTable-Cv9CIz-a.js")), Xe = F(() => import("./Shape-D3w9qas1.js")), Ye = F(() => import("./PenAndPaper-B9na2mbr.js")), Ke = F(() => import("./vue-ui-accordion-CmCs2yR2.js")), Je = F(() => import("./vue-ui-skeleton-CbYQYRvD.js")), Qe = F(() => import("./Tooltip-C9rxJ-Ru.js")), Ze = F(() => import("./UserOptions-Ddy6CuLC.js")), et = F(() => import("./PackageVersion-CLY-udAA.js")), { vue_ui_waffle: tt } = bt(), m = je, lt = pt(), J = d(() => !!m.dataset && m.dataset.length), k = c(mt()), at = c(null), le = c(!1), ae = c(""), D = c(null), ce = c(0), H = c(null), de = c(null), he = c(null), pe = c(null), ye = c(null), fe = c(0), ge = c(0), be = c(0), e = d({
33
+ const He = B(() => import("./DataTable-Y5HbiUZU.js")), Xe = B(() => import("./PenAndPaper-C-CpE0NC.js")), Ye = B(() => import("./vue-ui-accordion-DntThSTF.js")), Ke = B(() => import("./vue-ui-skeleton-CG3Pn3Zg.js")), Je = B(() => import("./Tooltip-B07vY6jm.js")), Qe = B(() => import("./UserOptions-C8X2STEg.js")), Ze = B(() => import("./PackageVersion-DaWGaZxE.js")), { vue_ui_waffle: et } = gt(), m = je, tt = ht(), J = d(() => !!m.dataset && m.dataset.length), k = c(bt()), lt = c(null), le = c(!1), ae = c(""), D = c(null), ce = c(0), H = c(null), de = c(null), he = c(null), pe = c(null), fe = c(null), ye = c(0), ge = c(0), be = c(0), e = d({
33
34
  get: () => xe(),
34
35
  set: (t) => t
35
- }), { userOptionsVisible: oe, setUserOptionsVisibility: me, keepUserOptionState: we } = Mt({ config: e.value }), { svgRef: ke } = Dt({ config: e.value.style.chart.title });
36
+ }), { userOptionsVisible: oe, setUserOptionsVisibility: me, keepUserOptionState: we } = Vt({ config: e.value }), { svgRef: ke } = Mt({ config: e.value.style.chart.title });
36
37
  function xe() {
37
38
  const t = Ee({
38
39
  userConfig: m.config,
39
- defaultConfig: tt
40
+ defaultConfig: et
40
41
  });
41
42
  return t.theme ? {
42
43
  ...Ee({
43
- userConfig: kt.vue_ui_waffle[t.theme] || m.config,
44
+ userConfig: wt.vue_ui_waffle[t.theme] || m.config,
44
45
  defaultConfig: t
45
46
  }),
46
- customPalette: wt[t.theme] || M
47
+ customPalette: mt[t.theme] || M
47
48
  } : t;
48
49
  }
49
50
  Ve(() => m.config, (t) => {
50
- e.value = xe(), oe.value = !e.value.userOptions.showOnChartHover, Ce(), fe.value += 1, ge.value += 1, be.value += 1, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
51
+ e.value = xe(), oe.value = !e.value.userOptions.showOnChartHover, Ce(), ye.value += 1, ge.value += 1, be.value += 1, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
51
52
  }, { deep: !0 });
52
53
  const A = Me(null), R = Me(null);
53
54
  function Ce() {
54
- if (xt(m.dataset) ? ve({
55
+ if (kt(m.dataset) ? ve({
55
56
  componentName: "VueUiWaffle",
56
57
  type: "dataset"
57
58
  }) : m.dataset.forEach((t, a) => {
58
- Ct({
59
+ xt({
59
60
  datasetObject: t,
60
61
  requiredAttributes: ["name", "values"]
61
62
  }).forEach((l) => {
@@ -67,34 +68,34 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
67
68
  });
68
69
  });
69
70
  }), e.value.responsive) {
70
- const t = Nt(() => {
71
- const { width: a, height: l } = Bt({
71
+ const t = zt(() => {
72
+ const { width: a, height: l } = Nt({
72
73
  chart: H.value,
73
74
  title: e.value.style.chart.title.text ? de.value : null,
74
75
  legend: e.value.style.chart.legend.show ? he.value : null,
75
76
  source: pe.value,
76
- noTitle: ye.value
77
+ noTitle: fe.value
77
78
  });
78
79
  requestAnimationFrame(() => {
79
- N.value.width = a, N.value.height = l, I.value.width = a, I.value.height = l;
80
+ z.value.width = a, z.value.height = l, I.value.width = a, I.value.height = l;
80
81
  });
81
82
  });
82
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);
83
84
  }
84
85
  }
85
- yt(() => {
86
+ pt(() => {
86
87
  Ce();
87
88
  }), ft(() => {
88
89
  A.value && (R.value && A.value.unobserve(R.value), A.value.disconnect());
89
90
  });
90
- const { isPrinting: $e, isImaging: _e, generatePdf: Ie, generateImage: Te } = Vt({
91
+ const { isPrinting: $e, isImaging: _e, generatePdf: Ie, generateImage: Te } = Bt({
91
92
  elementId: `vue-ui-waffle_${k.value}`,
92
93
  fileName: e.value.style.chart.title.text || "vue-ui-waffle",
93
94
  options: e.value.userOptions.print
94
- }), ot = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = d(() => $t(e.value.customPalette)), C = c({
95
+ }), at = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = d(() => Ct(e.value.customPalette)), C = c({
95
96
  showTable: e.value.table.show,
96
97
  showTooltip: e.value.style.chart.tooltip.show
97
- }), N = c({
98
+ }), z = c({
98
99
  height: 512,
99
100
  width: 512
100
101
  }), I = c({
@@ -105,17 +106,17 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
105
106
  }), 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), Q = d(() => I.value.height / e.value.style.chart.layout.grid.size);
106
107
  function Pe(t) {
107
108
  const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((w, ne) => w + ne, 0), o = t.map((w) => w / l * a), u = o.map(Math.floor), v = o.map((w) => w % 1);
108
- let f = a - u.reduce((w, ne) => w + ne, 0);
109
- for (; f > 0; ) {
109
+ let y = a - u.reduce((w, ne) => w + ne, 0);
110
+ for (; y > 0; ) {
110
111
  let w = v.indexOf(Math.max(...v));
111
- u[w] += 1, v[w] = 0, f -= 1;
112
+ u[w] += 1, v[w] = 0, y -= 1;
112
113
  }
113
114
  return u;
114
115
  }
115
116
  function Oe() {
116
117
  return m.dataset.map((t, a) => ({
117
118
  ...t,
118
- color: Ot(t.color) || Se.value[a] || M[a] || M[a % M.length],
119
+ color: Pt(t.color) || Se.value[a] || M[a] || M[a % M.length],
119
120
  uid: `serie_${a}`,
120
121
  absoluteIndex: a
121
122
  }));
@@ -124,10 +125,10 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
124
125
  Ve(() => m.dataset, (t) => {
125
126
  h.value = Oe();
126
127
  }, { deep: !0 });
127
- const ut = d(() => {
128
+ const ot = d(() => {
128
129
  const t = h.value.filter((a, l) => !p.value.includes(a.uid)).map((a, l) => (a.values || []).reduce((o, u) => o + u, 0));
129
130
  return Pe(t);
130
- }), st = d(() => {
131
+ }), ut = d(() => {
131
132
  const t = h.value.map((a, l) => (a.values || []).reduce((o, u) => o + u));
132
133
  return Pe(t);
133
134
  }), Y = d(() => (m.dataset.forEach((t, a) => {
@@ -144,37 +145,37 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
144
145
  color: t.color,
145
146
  value: (t.values || []).reduce((l, o) => l + o, 0),
146
147
  absoluteValues: t.values || [],
147
- proportion: ut.value[a]
148
- })))), rt = d(() => h.value.map((t, a) => ({
148
+ proportion: ot.value[a]
149
+ })))), st = d(() => h.value.map((t, a) => ({
149
150
  absoluteIndex: t.absoluteIndex,
150
151
  uid: t.uid,
151
152
  name: t.name,
152
153
  color: t.color,
153
154
  value: (t.values || []).reduce((l, o) => l + o, 0),
154
155
  absoluteValues: t.values || [],
155
- proportion: st.value[a]
156
+ proportion: ut.value[a]
156
157
  })));
157
- function nt() {
158
- return rt.value.map((t) => ({
158
+ function rt() {
159
+ return st.value.map((t) => ({
159
160
  name: t.name,
160
161
  color: t.color,
161
162
  value: t.value,
162
163
  proportion: t.proportion
163
164
  }));
164
165
  }
165
- const it = d(() => {
166
+ const nt = d(() => {
166
167
  let t = 0;
167
168
  return Y.value.map((a, l) => {
168
169
  const o = t, u = o + a.proportion, v = [];
169
- for (let f = Math.floor(o); f < Math.floor(u); f += 1)
170
- v.push(f);
170
+ for (let y = Math.floor(o); y < Math.floor(u); y += 1)
171
+ v.push(y);
171
172
  return t = u, {
172
173
  ...a,
173
174
  start: o,
174
175
  rects: v
175
176
  };
176
177
  });
177
- }), i = d(() => it.value.flatMap((t, a) => t.rects.map((l, o) => ({
178
+ }), i = d(() => nt.value.flatMap((t, a) => t.rects.map((l, o) => ({
178
179
  isFirst: o === 0,
179
180
  isLongEnough: l.length > 2,
180
181
  name: t.name,
@@ -198,7 +199,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
198
199
  y: (e.value.style.chart.layout.grid.vertical ? l : a) * (S.value + e.value.style.chart.layout.grid.spaceBetween) + I.value.top
199
200
  });
200
201
  return t;
201
- }), p = c([]), B = c(!1), Ae = c(null), Fe = c(null);
202
+ }), p = c([]), N = c(!1), Ae = c(null), Fe = c(null);
202
203
  function Le(t) {
203
204
  if (!e.value.useAnimation) {
204
205
  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,30 +209,30 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
208
209
  let o = l;
209
210
  if (p.value.includes(t)) {
210
211
  let v = function() {
211
- o > u ? (cancelAnimationFrame(Ae.value), h.value = h.value.map((f, w) => f.uid === t ? {
212
- ...f,
212
+ o > u ? (cancelAnimationFrame(Ae.value), h.value = h.value.map((y, w) => y.uid === t ? {
213
+ ...y,
213
214
  values: [u]
214
- } : f), B.value = !1) : (B.value = !0, o += u * 0.025, h.value = h.value.map((f, w) => f.uid === t ? {
215
- ...f,
215
+ } : y), N.value = !1) : (N.value = !0, o += u * 0.025, h.value = h.value.map((y, w) => y.uid === t ? {
216
+ ...y,
216
217
  values: [o]
217
- } : f), Ae.value = requestAnimationFrame(v));
218
+ } : y), Ae.value = requestAnimationFrame(v));
218
219
  };
219
- p.value = p.value.filter((f) => f !== t);
220
+ p.value = p.value.filter((y) => y !== t);
220
221
  const u = a;
221
222
  v();
222
223
  } else if (p.value.length < G.value.length - 1 && G.value.length > 1) {
223
224
  let u = function() {
224
- o < l / 100 ? (cancelAnimationFrame(Fe.value), p.value.push(t), h.value = h.value.map((v, f) => v.uid === t ? {
225
+ o < l / 100 ? (cancelAnimationFrame(Fe.value), p.value.push(t), h.value = h.value.map((v, y) => v.uid === t ? {
225
226
  ...v,
226
227
  values: [0]
227
- } : v), B.value = !1) : (B.value = !0, o /= 1.15, h.value = h.value.map((v) => v.uid === t ? {
228
+ } : v), N.value = !1) : (N.value = !0, o /= 1.15, h.value = h.value.map((v) => v.uid === t ? {
228
229
  ...v,
229
230
  values: [o]
230
231
  } : v), Fe.value = requestAnimationFrame(u));
231
232
  };
232
233
  u();
233
234
  }
234
- dt("selectLegend", Y.value.map((u) => ({
235
+ ct("selectLegend", Y.value.map((u) => ({
235
236
  name: u.name,
236
237
  color: u.color,
237
238
  value: u.value,
@@ -250,7 +251,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
250
251
  opacity: p.value.includes(t.uid) ? 0.5 : 1,
251
252
  segregate: () => Le(t.uid),
252
253
  isSegregated: p.value.includes(t.uid)
253
- }))), vt = d(() => ({
254
+ }))), it = d(() => ({
254
255
  cy: "waffle-div-legend",
255
256
  backgroundColor: e.value.style.chart.legend.backgroundColor,
256
257
  color: e.value.style.chart.legend.color,
@@ -258,7 +259,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
258
259
  paddingBottom: 12,
259
260
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
260
261
  })), P = d(() => Y.value.map((t) => t.value).reduce((t, a) => t + a, 0)), se = c(null);
261
- function ct(t) {
262
+ function vt(t) {
262
263
  if (p.value.length === m.dataset.length) return;
263
264
  const a = i.value[t];
264
265
  se.value = {
@@ -268,7 +269,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
268
269
  config: e.value
269
270
  }, le.value = !0, D.value = i.value[t].serieIndex;
270
271
  const l = e.value.style.chart.tooltip.customFormat;
271
- if (Lt(l) && zt(() => l({
272
+ if (Ft(l) && Lt(() => l({
272
273
  seriesIndex: i.value[t].absoluteIndex,
273
274
  datapoint: a,
274
275
  series: h.value,
@@ -282,7 +283,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
282
283
  });
283
284
  else {
284
285
  let o = "";
285
- 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(
286
+ 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}" />${tt.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(
286
287
  e.value.style.chart.layout.labels.dataLabels.formatter,
287
288
  a.value,
288
289
  _({
@@ -307,7 +308,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
307
308
  ae.value = o;
308
309
  }
309
310
  }
310
- const dt = qe, O = d(() => {
311
+ const ct = qe, O = d(() => {
311
312
  const t = Y.value.map((l) => ({
312
313
  name: l.name,
313
314
  color: l.color
@@ -318,11 +319,11 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
318
319
  return e.value.useBlurOnHover && ![null, void 0].includes(D.value) && D.value !== t ? `url(#blur_${k.value})` : "";
319
320
  }
320
321
  function ze() {
321
- gt(() => {
322
+ yt(() => {
322
323
  const t = O.value.head.map((o, u) => [[
323
324
  o.name
324
- ], [O.value.body[u]], [isNaN(O.value.body[u] / P.value) ? "-" : O.value.body[u] / P.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = At(a);
325
- Ft({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
325
+ ], [O.value.body[u]], [isNaN(O.value.body[u] / P.value) ? "-" : O.value.body[u] / P.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Ot(a);
326
+ At({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
326
327
  });
327
328
  }
328
329
  const ee = d(() => {
@@ -384,7 +385,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
384
385
  colNames: o
385
386
  };
386
387
  }), E = c(!1);
387
- function ht(t) {
388
+ function dt(t) {
388
389
  E.value = t, ce.value += 1;
389
390
  }
390
391
  function Ne() {
@@ -398,45 +399,45 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
398
399
  te.value = !te.value;
399
400
  }
400
401
  return We({
401
- getData: nt,
402
+ getData: rt,
402
403
  generatePdf: Ie,
403
404
  generateCsv: ze,
404
405
  generateImage: Te,
405
406
  toggleTable: Ne,
406
407
  toggleTooltip: Be,
407
408
  toggleAnnotator: re
408
- }), (t, a) => (s(), n("div", {
409
+ }), (t, a) => (s(), r("div", {
409
410
  class: De(`vue-ui-waffle ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
410
411
  ref_key: "waffleChart",
411
412
  ref: H,
412
413
  id: `vue-ui-waffle_${k.value}`,
413
414
  style: K(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
414
- onMouseenter: a[3] || (a[3] = () => r(me)(!0)),
415
- onMouseleave: a[4] || (a[4] = () => r(me)(!1))
415
+ onMouseenter: a[3] || (a[3] = () => n(me)(!0)),
416
+ onMouseleave: a[4] || (a[4] = () => n(me)(!1))
416
417
  }, [
417
- e.value.userOptions.buttons.annotator ? (s(), V(r(Ye), {
418
+ e.value.userOptions.buttons.annotator ? (s(), V(n(Xe), {
418
419
  key: 0,
419
- svgRef: r(ke),
420
+ svgRef: n(ke),
420
421
  backgroundColor: e.value.style.chart.backgroundColor,
421
422
  color: e.value.style.chart.color,
422
423
  active: te.value,
423
424
  onClose: re
424
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
425
- ot.value ? (s(), n("div", {
425
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
426
+ at.value ? (s(), r("div", {
426
427
  key: 1,
427
428
  ref_key: "noTitle",
428
- ref: ye,
429
+ ref: fe,
429
430
  class: "vue-data-ui-no-title-space",
430
431
  style: "height:36px; width: 100%;background:transparent"
431
- }, null, 512)) : y("", !0),
432
- e.value.style.chart.title.text ? (s(), n("div", {
432
+ }, null, 512)) : f("", !0),
433
+ e.value.style.chart.title.text ? (s(), r("div", {
433
434
  key: 2,
434
435
  ref_key: "chartTitle",
435
436
  ref: de,
436
437
  style: "width:100%;background:transparent;padding-bottom:12px"
437
438
  }, [
438
- (s(), V(Rt, {
439
- key: `title_${fe.value}`,
439
+ (s(), V(Dt, {
440
+ key: `title_${ye.value}`,
440
441
  config: {
441
442
  title: {
442
443
  cy: "waffle-title",
@@ -448,15 +449,15 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
448
449
  }
449
450
  }
450
451
  }, null, 8, ["config"]))
451
- ], 512)) : y("", !0),
452
- e.value.userOptions.show && J.value && (r(we) || r(oe)) ? (s(), V(r(Ze), {
452
+ ], 512)) : f("", !0),
453
+ e.value.userOptions.show && J.value && (n(we) || n(oe)) ? (s(), V(n(Qe), {
453
454
  ref_key: "details",
454
- ref: at,
455
+ ref: lt,
455
456
  key: `user_options_${ce.value}`,
456
457
  backgroundColor: e.value.style.chart.backgroundColor,
457
458
  color: e.value.style.chart.color,
458
- isPrinting: r($e),
459
- isImaging: r(_e),
459
+ isPrinting: n($e),
460
+ isImaging: n(_e),
460
461
  uid: k.value,
461
462
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
462
463
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -471,15 +472,15 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
471
472
  position: e.value.userOptions.position,
472
473
  hasAnnotator: e.value.userOptions.buttons.annotator,
473
474
  isAnnotation: te.value,
474
- onToggleFullscreen: ht,
475
- onGeneratePdf: r(Ie),
475
+ onToggleFullscreen: dt,
476
+ onGeneratePdf: n(Ie),
476
477
  onGenerateCsv: ze,
477
- onGenerateImage: r(Te),
478
+ onGenerateImage: n(Te),
478
479
  onToggleTable: Ne,
479
480
  onToggleTooltip: Be,
480
481
  onToggleAnnotator: re,
481
482
  style: K({
482
- visibility: r(we) ? r(oe) ? "visible" : "hidden" : "visible"
483
+ visibility: n(we) ? n(oe) ? "visible" : "hidden" : "visible"
483
484
  })
484
485
  }, Re({ _: 2 }, [
485
486
  t.$slots.menuIcon ? {
@@ -538,19 +539,19 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
538
539
  ]),
539
540
  key: "7"
540
541
  } : void 0
541
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
542
- J.value ? (s(), n("svg", {
542
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
543
+ J.value ? (s(), r("svg", {
543
544
  key: 4,
544
545
  ref_key: "svgRef",
545
546
  ref: ke,
546
- xmlns: r(_t),
547
+ xmlns: n($t),
547
548
  class: De({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
548
- viewBox: `0 0 ${N.value.width <= 0 ? 10 : N.value.width} ${N.value.height <= 0 ? 10 : N.value.height}`,
549
+ viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
549
550
  style: K(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
550
551
  }, [
551
- ie(r(et)),
552
+ ie(n(Ze)),
552
553
  x("defs", null, [
553
- (s(!0), n($, null, L(i.value, (l, o) => (s(), n("radialGradient", {
554
+ (s(!0), r($, null, F(i.value, (l, o) => (s(), r("radialGradient", {
554
555
  cx: "50%",
555
556
  cy: "50%",
556
557
  r: "50%",
@@ -560,7 +561,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
560
561
  }, [
561
562
  x("stop", {
562
563
  offset: "0%",
563
- "stop-color": r(It)(r(Tt)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
564
+ "stop-color": n(_t)(n(It)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
564
565
  }, null, 8, qt),
565
566
  x("stop", {
566
567
  offset: "100%",
@@ -586,7 +587,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
586
587
  }, null, -1)
587
588
  ]), 8, Xt)
588
589
  ]),
589
- e.value.useCustomCells && i.value.length ? (s(!0), n($, { key: 0 }, L(U.value, (l, o) => (s(), n("foreignObject", {
590
+ e.value.useCustomCells && i.value.length ? (s(!0), r($, { key: 0 }, F(U.value, (l, o) => (s(), r("foreignObject", {
590
591
  x: l.x,
591
592
  y: l.y,
592
593
  height: S.value <= 0 ? 1e-4 : S.value,
@@ -594,8 +595,8 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
594
595
  class: "vue-ui-waffle-custom-cell-foreignObject"
595
596
  }, [
596
597
  g(t.$slots, "cell", Ue({ 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)
597
- ], 8, Yt))), 256)) : y("", !0),
598
- !i.value.length && !e.value.useCustomCells ? (s(), n("rect", {
598
+ ], 8, Yt))), 256)) : f("", !0),
599
+ !i.value.length && !e.value.useCustomCells ? (s(), r("rect", {
599
600
  key: 1,
600
601
  x: 12,
601
602
  y: 12,
@@ -604,13 +605,13 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
604
605
  rx: 3,
605
606
  fill: "none",
606
607
  stroke: "black"
607
- }, null, 8, Kt)) : i.value.length && !e.value.useCustomCells ? (s(), n($, { key: 2 }, [
608
- t.$slots.pattern ? (s(), n("g", Jt, [
609
- (s(!0), n($, null, L(ue.value, (l) => (s(), n("defs", null, [
608
+ }, null, 8, Kt)) : i.value.length && !e.value.useCustomCells ? (s(), r($, { key: 2 }, [
609
+ t.$slots.pattern ? (s(), r("g", Jt, [
610
+ (s(!0), r($, null, F(ue.value, (l) => (s(), r("defs", null, [
610
611
  g(t.$slots, "pattern", Ue({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${k.value}_${l.absoluteIndex}` }), void 0, !0)
611
612
  ]))), 256))
612
- ])) : y("", !0),
613
- (s(!0), n($, null, L(U.value, (l, o) => (s(), n("rect", {
613
+ ])) : f("", !0),
614
+ (s(!0), r($, null, F(U.value, (l, o) => (s(), r("rect", {
614
615
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
615
616
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
616
617
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -621,7 +622,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
621
622
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
622
623
  filter: Z(i.value[o].serieIndex)
623
624
  }, null, 8, Qt))), 256)),
624
- (s(!0), n($, null, L(U.value, (l, o) => (s(), n("rect", {
625
+ (s(!0), r($, null, F(U.value, (l, o) => (s(), r("rect", {
625
626
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
626
627
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
627
628
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -632,8 +633,8 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
632
633
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
633
634
  filter: Z(i.value[o].serieIndex)
634
635
  }, null, 8, Zt))), 256)),
635
- t.$slots.pattern ? (s(), n("g", el, [
636
- (s(!0), n($, null, L(U.value, (l, o) => (s(), n("rect", {
636
+ t.$slots.pattern ? (s(), r("g", el, [
637
+ (s(!0), r($, null, F(U.value, (l, o) => (s(), r("rect", {
637
638
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
638
639
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
639
640
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -643,10 +644,10 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
643
644
  stroke: "none",
644
645
  filter: Z(i.value[o].serieIndex)
645
646
  }, null, 8, tl))), 256))
646
- ])) : y("", !0)
647
- ], 64)) : y("", !0),
648
- (s(!0), n($, null, L(U.value, (l, o) => (s(), n($, null, [
649
- i.value.length && !B.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(), n("foreignObject", {
647
+ ])) : f("", !0)
648
+ ], 64)) : f("", !0),
649
+ (s(!0), r($, null, F(U.value, (l, o) => (s(), r($, null, [
650
+ 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", {
650
651
  key: 0,
651
652
  x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
652
653
  y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -656,37 +657,37 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
656
657
  }, [
657
658
  x("div", {
658
659
  class: "vue-ui-waffle-caption",
659
- 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(St)(i.value[o].color)};gap:2px`)
660
+ 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(Tt)(i.value[o].color)};gap:2px`)
660
661
  }, [
661
- e.value.style.chart.layout.labels.captions.showSerieName ? (s(), n("span", al, z(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? r(Pt)({ source: i.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : i.value[o].name) + ": ", 1)) : y("", !0),
662
- e.value.style.chart.layout.labels.captions.showPercentage ? (s(), n("span", ol, z(r(_)({ v: i.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : y("", !0),
663
- e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", ul, " (" + z(r(q)(
662
+ e.value.style.chart.layout.labels.captions.showSerieName ? (s(), r("span", al, L(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? n(St)({ source: i.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : i.value[o].name) + ": ", 1)) : f("", !0),
663
+ e.value.style.chart.layout.labels.captions.showPercentage ? (s(), r("span", ol, L(n(_)({ v: i.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : f("", !0),
664
+ e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), r("span", ul, " (" + L(n(q)(
664
665
  e.value.style.chart.layout.labels.dataLabels.formatter,
665
666
  i.value[o].value,
666
- r(_)({
667
+ n(_)({
667
668
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
668
669
  v: i.value[o].value,
669
670
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
670
671
  r: e.value.style.chart.layout.labels.captions.roundingValue
671
672
  }),
672
673
  { datapoint: i.value[o], position: l }
673
- )) + ") ", 1)) : y("", !0),
674
- !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", sl, z(r(q)(
674
+ )) + ") ", 1)) : f("", !0),
675
+ !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), r("span", sl, L(n(q)(
675
676
  e.value.style.chart.layout.labels.dataLabels.formatter,
676
677
  i.value[o].value,
677
- r(_)({
678
+ n(_)({
678
679
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
679
680
  v: i.value[o].value,
680
681
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
681
682
  r: e.value.style.chart.layout.labels.captions.roundingValue
682
683
  }),
683
684
  { datapoint: i.value[o], position: l }
684
- )), 1)) : y("", !0)
685
+ )), 1)) : f("", !0)
685
686
  ], 4)
686
- ], 8, ll)) : y("", !0)
687
+ ], 8, ll)) : f("", !0)
687
688
  ], 64))), 256)),
688
- (s(!0), n($, null, L(U.value, (l, o) => (s(), n("rect", {
689
- onMouseover: (u) => ct(o),
689
+ (s(!0), r($, null, F(U.value, (l, o) => (s(), r("rect", {
690
+ onMouseover: (u) => vt(o),
690
691
  onMouseleave: a[0] || (a[0] = (u) => {
691
692
  le.value = !1, D.value = null;
692
693
  }),
@@ -697,12 +698,12 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
697
698
  fill: "transparent",
698
699
  stroke: "none"
699
700
  }, null, 40, rl))), 256)),
700
- g(t.$slots, "svg", { svg: N.value }, void 0, !0)
701
- ], 14, jt)) : y("", !0),
702
- t.$slots.watermark ? (s(), n("div", nl, [
703
- g(t.$slots, "watermark", j(W({ isPrinting: r($e) || r(_e) })), void 0, !0)
704
- ])) : y("", !0),
705
- J.value ? y("", !0) : (s(), V(r(Je), {
701
+ g(t.$slots, "svg", { svg: z.value }, void 0, !0)
702
+ ], 14, jt)) : f("", !0),
703
+ t.$slots.watermark ? (s(), r("div", nl, [
704
+ g(t.$slots, "watermark", j(W({ isPrinting: n($e) || n(_e) })), void 0, !0)
705
+ ])) : f("", !0),
706
+ J.value ? f("", !0) : (s(), V(n(Ke), {
706
707
  key: 6,
707
708
  config: {
708
709
  type: "waffle",
@@ -718,10 +719,10 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
718
719
  ref_key: "chartLegend",
719
720
  ref: he
720
721
  }, [
721
- e.value.style.chart.legend.show ? (s(), V(Ut, {
722
+ e.value.style.chart.legend.show ? (s(), V(Rt, {
722
723
  key: `legend_${be.value}`,
723
724
  legendSet: G.value,
724
- config: vt.value,
725
+ config: it.value,
725
726
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => Le(l.uid))
726
727
  }, Re({
727
728
  item: b(({ legend: l }) => [
@@ -729,19 +730,19 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
729
730
  onClick: (o) => l.segregate(),
730
731
  style: K(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
731
732
  }, [
732
- Ge(z(l.name) + ": " + z(r(q)(
733
+ Ge(L(l.name) + ": " + L(n(q)(
733
734
  e.value.style.chart.layout.labels.dataLabels.formatter,
734
735
  l.value,
735
- r(_)({
736
+ n(_)({
736
737
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
737
738
  v: l.value,
738
739
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
739
740
  r: e.value.style.chart.legend.roundingValue,
740
- isAnimating: B.value
741
+ isAnimating: N.value
741
742
  }),
742
743
  { datapoint: l }
743
744
  )) + " ", 1),
744
- p.value.includes(l.uid) ? (s(), n("span", cl, " ( - % ) ")) : (s(), n("span", vl, " (" + z(isNaN(l.value / P.value) ? "-" : r(_)({ v: l.value / P.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: B.value })) + ") ", 1))
745
+ p.value.includes(l.uid) ? (s(), r("span", cl, " ( - % ) ")) : (s(), r("span", vl, " (" + L(isNaN(l.value / P.value) ? "-" : n(_)({ v: l.value / P.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: N.value })) + ") ", 1))
745
746
  ], 12, il)
746
747
  ]),
747
748
  _: 2
@@ -749,7 +750,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
749
750
  t.$slots.pattern ? {
750
751
  name: "legend-pattern",
751
752
  fn: b(({ legend: l, index: o }) => [
752
- ie(r(Xe), {
753
+ ie(Ut, {
753
754
  shape: l.shape,
754
755
  radius: 30,
755
756
  stroke: "none",
@@ -764,15 +765,15 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
764
765
  legend: G.value
765
766
  }, void 0, !0)
766
767
  ], 512),
767
- t.$slots.source ? (s(), n("div", {
768
+ t.$slots.source ? (s(), r("div", {
768
769
  key: 7,
769
770
  ref_key: "source",
770
771
  ref: pe,
771
772
  dir: "auto"
772
773
  }, [
773
774
  g(t.$slots, "source", {}, void 0, !0)
774
- ], 512)) : y("", !0),
775
- ie(r(Qe), {
775
+ ], 512)) : f("", !0),
776
+ ie(n(Je), {
776
777
  show: C.value.showTooltip && le.value && p.value.length < m.dataset.length,
777
778
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
778
779
  color: e.value.style.chart.tooltip.color,
@@ -796,7 +797,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
796
797
  ]),
797
798
  _: 3
798
799
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen"]),
799
- J.value ? (s(), V(r(Ke), {
800
+ J.value ? (s(), V(n(Ye), {
800
801
  key: 8,
801
802
  hideDetails: "",
802
803
  config: {
@@ -813,7 +814,7 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
813
814
  }
814
815
  }, {
815
816
  content: b(() => [
816
- (s(), V(r(He), {
817
+ (s(), V(n(He), {
817
818
  key: `table_${ge.value}`,
818
819
  colNames: ee.value.colNames,
819
820
  head: ee.value.head,
@@ -829,16 +830,16 @@ const Et = ["id"], jt = ["xmlns", "viewBox"], Wt = ["id"], qt = ["stop-color"],
829
830
  }, null, 8, dl)
830
831
  ]),
831
832
  td: b(({ td: l }) => [
832
- Ge(z(l.name || l), 1)
833
+ Ge(L(l.name || l), 1)
833
834
  ]),
834
835
  _: 1
835
836
  }, 8, ["colNames", "head", "body", "config", "title"]))
836
837
  ]),
837
838
  _: 1
838
- }, 8, ["config"])) : y("", !0)
839
+ }, 8, ["config"])) : f("", !0)
839
840
  ], 46, Et));
840
841
  }
841
- }, $l = /* @__PURE__ */ Gt(hl, [["__scopeId", "data-v-d587fd7c"]]);
842
+ }, _l = /* @__PURE__ */ Gt(hl, [["__scopeId", "data-v-ea5f76d5"]]);
842
843
  export {
843
- $l as default
844
+ _l as default
844
845
  };