vue-data-ui 3.4.6 → 3.4.8

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 (115) hide show
  1. package/dist/{PackageVersion-BSldVhnp.js → PackageVersion-D-auaEEJ.js} +1 -1
  2. package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-heatmap.js +1 -1
  45. package/dist/components/vue-ui-table-sparkline.js +1 -1
  46. package/dist/components/vue-ui-table.js +1 -1
  47. package/dist/components/vue-ui-thermometer.js +1 -1
  48. package/dist/components/vue-ui-timer.js +1 -1
  49. package/dist/components/vue-ui-tiremarks.js +1 -1
  50. package/dist/components/vue-ui-treemap.js +1 -1
  51. package/dist/components/vue-ui-vertical-bar.js +1 -1
  52. package/dist/components/vue-ui-waffle.js +1 -1
  53. package/dist/components/vue-ui-wheel.js +1 -1
  54. package/dist/components/vue-ui-word-cloud.js +1 -1
  55. package/dist/components/vue-ui-world.js +1 -1
  56. package/dist/components/vue-ui-xy-canvas.js +1 -1
  57. package/dist/components/vue-ui-xy.js +1 -1
  58. package/dist/style.css +1 -1
  59. package/dist/{vue-data-ui-BCOCglbX.js → vue-data-ui-CzqHcPqG.js} +55 -55
  60. package/dist/vue-data-ui.js +55 -55
  61. package/dist/{vue-ui-3d-bar-E-nuI5P-.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
  62. package/dist/{vue-ui-age-pyramid-DfN03uDZ.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
  63. package/dist/{vue-ui-bullet-DVOmSxcg.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
  64. package/dist/{vue-ui-candlestick-C0tlhgvf.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
  65. package/dist/{vue-ui-carousel-table-Bwf70lBb.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
  66. package/dist/{vue-ui-chestnut-CzNj08EH.js → vue-ui-chestnut-CzBGckif.js} +77 -70
  67. package/dist/{vue-ui-chord-CQAAGCjj.js → vue-ui-chord-B4waG93A.js} +71 -64
  68. package/dist/{vue-ui-circle-pack-8Ut7fxPJ.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
  69. package/dist/{vue-ui-dashboard-CpG2L2Xk.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
  70. package/dist/{vue-ui-donut-acdGdmqY.js → vue-ui-donut-Bc492JeS.js} +95 -88
  71. package/dist/{vue-ui-donut-evolution-J2tTLcht.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
  72. package/dist/{vue-ui-dumbbell-DhDvD0DH.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
  73. package/dist/{vue-ui-flow-Du9joQEy.js → vue-ui-flow-ByEP18dA.js} +205 -198
  74. package/dist/{vue-ui-funnel-BPccZaVG.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
  75. package/dist/{vue-ui-galaxy-D69X300F.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
  76. package/dist/{vue-ui-gauge-C_tPaN05.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
  77. package/dist/{vue-ui-gizmo-Bsc620Bs.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
  78. package/dist/{vue-ui-heatmap-CRoQ0Xo1.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
  79. package/dist/{vue-ui-history-plot-PQT8iCyT.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
  80. package/dist/{vue-ui-molecule-C0hQ1BHF.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
  81. package/dist/{vue-ui-mood-radar-DMng4w8x.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
  82. package/dist/{vue-ui-nested-donuts-DtnysjV9.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
  83. package/dist/{vue-ui-onion-C0Z5_zay.js → vue-ui-onion-BCENNhsY.js} +82 -75
  84. package/dist/{vue-ui-parallel-coordinate-plot-C0grlzOd.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
  85. package/dist/{vue-ui-quadrant-BJGF3wuL.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
  86. package/dist/{vue-ui-quick-chart-CaR3jp1D.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
  87. package/dist/{vue-ui-radar-wYNRX7Uh.js → vue-ui-radar-lgRCmyNP.js} +36 -29
  88. package/dist/{vue-ui-relation-circle-CIwou-3d.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
  89. package/dist/{vue-ui-ridgeline-DnzoIClq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
  90. package/dist/{vue-ui-rings-B7zSZa8h.js → vue-ui-rings-DbsYfGjx.js} +55 -48
  91. package/dist/{vue-ui-scatter-Bevyh8s3.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
  92. package/dist/{vue-ui-skeleton-DfuGqFYM.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
  93. package/dist/{vue-ui-spark-trend-D16UBZxk.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
  94. package/dist/{vue-ui-sparkbar-Dl1kY_5e.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
  95. package/dist/{vue-ui-sparkgauge-iJIT26xG.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
  96. package/dist/{vue-ui-sparkhistogram-Bawjmfxu.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
  97. package/dist/{vue-ui-sparkline-CGVoLIcr.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
  98. package/dist/{vue-ui-sparkstackbar-CdlGAlFM.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
  99. package/dist/{vue-ui-stackbar-Cjz4PvOG.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
  100. package/dist/{vue-ui-strip-plot-DS84cU6V.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
  101. package/dist/{vue-ui-table-t9Shp522.js → vue-ui-table-BhrP9BCp.js} +2 -2
  102. package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
  103. package/dist/{vue-ui-table-sparkline-CAqqSvhG.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
  104. package/dist/{vue-ui-thermometer-CKciCjTK.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
  105. package/dist/{vue-ui-timer-CNwoVRn5.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
  106. package/dist/{vue-ui-tiremarks-Dxp9rcJi.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
  107. package/dist/{vue-ui-treemap-D4cRZ9SZ.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
  108. package/dist/{vue-ui-vertical-bar-Cz6yCNYK.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
  109. package/dist/{vue-ui-waffle-BhQ0m4Ia.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
  110. package/dist/{vue-ui-wheel-Bh_G3WQQ.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
  111. package/dist/{vue-ui-word-cloud-Bk2yP7oQ.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
  112. package/dist/{vue-ui-world-C_eUAzmI.js → vue-ui-world-BERHgePa.js} +71 -64
  113. package/dist/{vue-ui-xy-BDc2EKMr.js → vue-ui-xy-BI5stV8f.js} +163 -156
  114. package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
  115. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as F, useSlots as zt, computed as c, ref as i, toRefs as Vt, watch as J, shallowRef as Ke, onMounted as Mt, onBeforeUnmount as Rt, createElementBlock as v, openBlock as n, unref as h, normalizeStyle as le, normalizeClass as Ze, createBlock as B, createCommentVNode as m, createElementVNode as k, createVNode as ae, createSlots as we, withCtx as g, renderSlot as y, normalizeProps as G, guardReactiveProps as W, Fragment as $, renderList as D, mergeProps as ke, toDisplayString as oe, Teleport as Et, resolveDynamicComponent as Ut, createTextVNode as et, nextTick as Gt } from "vue";
2
- import { c as Wt, t as Ht, b as jt, p as M, o as tt, f as xe, g as qt, e as Xt, a as Q, d as P, X as Yt, s as Jt, i as Qt, J as Kt, h as Zt, P as el, Q as tl, I as ll, G as al, H as ol } from "./lib-C_mNZmhD.js";
2
+ import { c as Wt, t as Ht, b as jt, p as M, o as tt, f as Ce, g as qt, e as Xt, a as Q, d as P, X as Yt, s as Jt, i as Qt, J as Kt, h as Zt, P as el, Q as tl, I as ll, G as al, H as ol } from "./lib-C_mNZmhD.js";
3
3
  import { t as ul, u as sl } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as nl, a as lt } from "./useNestedProp-BjZe1Y85.js";
5
5
  import { u as rl, B as il } from "./BaseScanner-BgWxam9d.js";
@@ -13,7 +13,7 @@ import gl from "./Title-l36lOBMx.js";
13
13
  import { t as yl } from "./themes-AUNCOb2G.js";
14
14
  import bl from "./Legend-G6GMcdAc.js";
15
15
  import { _ as ml } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["stop-color"], Il = ["stop-color"], Tl = ["id"], _l = ["x", "y", "height", "width"], Sl = ["height", "width"], Al = { key: 0 }, Ol = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Pl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Ll = { key: 1 }, Fl = ["rx", "x", "y", "height", "width", "fill", "filter"], Bl = ["textContent", "x", "y", "font-size", "fill", "filter"], Dl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Nl = {
16
+ const wl = ["id"], kl = ["id"], Cl = ["xmlns", "viewBox"], xl = ["id"], $l = ["stop-color"], Il = ["stop-color"], Tl = ["id"], _l = ["x", "y", "height", "width"], Sl = ["height", "width"], Al = { key: 0 }, Ol = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Pl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Ll = { key: 1 }, Fl = ["rx", "x", "y", "height", "width", "fill", "filter"], Bl = ["textContent", "x", "y", "font-size", "fill", "filter"], Dl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Nl = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
19
  }, zl = ["id"], Vl = ["onClick"], Ml = ["innerHTML"], Rl = {
@@ -34,7 +34,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
34
34
  },
35
35
  emits: ["selectLegend"],
36
36
  setup(at, { expose: ot, emit: ut }) {
37
- const st = F(() => import("./Tooltip-oWCO1HKy.js")), nt = F(() => import("./BaseIcon-BmMbm4d0.js")), rt = F(() => import("./DataTable-BT7VF2ua.js")), it = F(() => import("./vue-ui-accordion-CZ0thhxa.js")), vt = F(() => import("./UserOptions-CnzumGJj.js")), ct = F(() => import("./PenAndPaper-DSvu9dwa.js")), dt = F(() => import("./PackageVersion-BSldVhnp.js")), ht = F(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_waffle: pt } = nl(), w = at, ft = zt(), ue = c(() => !!w.dataset && w.dataset.length), b = i(Wt()), se = i(!1), ne = i(""), R = i(null), Ce = i(0), I = i(null), $e = i(null), Ie = i(null), Te = i(null), _e = i(null), Se = i(0), Ae = i(0), Oe = i(0), Pe = i(!1), H = i(null), re = i(null), e = i(de()), { loading: Le, FINAL_DATASET: K, manualLoading: ie } = rl({
37
+ const st = F(() => import("./Tooltip-oWCO1HKy.js")), nt = F(() => import("./BaseIcon-BmMbm4d0.js")), rt = F(() => import("./DataTable-BT7VF2ua.js")), it = F(() => import("./vue-ui-accordion-CZ0thhxa.js")), vt = F(() => import("./UserOptions-CGnQt6Fd.js")), ct = F(() => import("./PenAndPaper-DSvu9dwa.js")), dt = F(() => import("./PackageVersion-D-auaEEJ.js")), ht = F(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_waffle: pt } = nl(), w = at, ft = zt(), ue = c(() => !!w.dataset && w.dataset.length), b = i(Wt()), se = i(!1), ne = i(""), R = i(null), xe = i(0), I = i(null), $e = i(null), Ie = i(null), Te = i(null), _e = i(null), Se = i(0), Ae = i(0), Oe = i(0), Pe = i(!1), H = i(null), re = i(null), e = i(de()), { loading: Le, FINAL_DATASET: K, manualLoading: ie } = rl({
38
38
  ...Vt(w),
39
39
  FINAL_CONFIG: e,
40
40
  prepareConfig: de,
@@ -101,11 +101,11 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
101
101
  } : t;
102
102
  }
103
103
  J(() => w.config, (t) => {
104
- Le.value || (e.value = de()), ve.value = !e.value.userOptions.showOnChartHover, Ne(), Se.value += 1, Ae.value += 1, Oe.value += 1, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show;
104
+ Le.value || (e.value = de()), ve.value = !e.value.userOptions.showOnChartHover, Ne(), Se.value += 1, Ae.value += 1, Oe.value += 1, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
105
105
  }, { deep: !0 });
106
106
  const L = Ke(null), E = Ke(null), De = c(() => !!e.value.debug);
107
107
  function Ne() {
108
- if (tt(w.dataset) ? (xe({
108
+ if (tt(w.dataset) ? (Ce({
109
109
  componentName: "VueUiWaffle",
110
110
  type: "dataset",
111
111
  debug: De.value
@@ -114,7 +114,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
114
114
  datasetObject: t,
115
115
  requiredAttributes: ["name", "values"]
116
116
  }).forEach((a) => {
117
- xe({
117
+ Ce({
118
118
  componentName: "VueUiWaffle",
119
119
  type: "datasetSerieAttribute",
120
120
  property: a,
@@ -147,12 +147,12 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
147
147
  elementId: `vue-ui-waffle_${b.value}`,
148
148
  fileName: e.value.style.chart.title.text || "vue-ui-waffle",
149
149
  options: e.value.userOptions.print
150
- }), gt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = c(() => Xt(e.value.customPalette)), x = i({
150
+ }), gt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = c(() => Xt(e.value.customPalette)), C = i({
151
151
  showTable: e.value.table.show,
152
152
  showTooltip: e.value.style.chart.tooltip.show
153
153
  });
154
154
  J(e, () => {
155
- x.value = {
155
+ C.value = {
156
156
  showTable: e.value.table.show,
157
157
  showTooltip: e.value.style.chart.tooltip.show
158
158
  };
@@ -167,11 +167,11 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
167
167
  width: 512
168
168
  }), _ = c(() => (T.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), S = c(() => (T.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), yt = c(() => Math.max(1e-4, T.value.width / e.value.style.chart.layout.grid.size)), Ue = c(() => Math.max(1e-4, T.value.height / e.value.style.chart.layout.grid.size));
169
169
  function Ge(t) {
170
- const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((C, me) => C + me, 0), o = t.map((C) => C / a * l), u = o.map(Math.floor), s = o.map((C) => C % 1);
171
- let d = l - u.reduce((C, me) => C + me, 0);
170
+ const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((x, me) => x + me, 0), o = t.map((x) => x / a * l), u = o.map(Math.floor), s = o.map((x) => x % 1);
171
+ let d = l - u.reduce((x, me) => x + me, 0);
172
172
  for (; d > 0; ) {
173
- let C = s.indexOf(Math.max(...s));
174
- u[C] += 1, s[C] = 0, d -= 1;
173
+ let x = s.indexOf(Math.max(...s));
174
+ u[x] += 1, s[x] = 0, d -= 1;
175
175
  }
176
176
  return u;
177
177
  }
@@ -197,7 +197,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
197
197
  const t = p.value.map((l, a) => j.value ? 1 : (l.values || []).reduce((o, u) => o + u));
198
198
  return Ge(t);
199
199
  }), q = c(() => (K.value.forEach((t, l) => {
200
- [null, void 0].includes(t.values) && xe({
200
+ [null, void 0].includes(t.values) && Ce({
201
201
  componentName: "VueUiWaffle",
202
202
  type: "datasetSerieAttribute",
203
203
  property: "values (number[])",
@@ -228,7 +228,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
228
228
  proportion: t.proportion
229
229
  }));
230
230
  }
231
- const xt = c(() => {
231
+ const Ct = c(() => {
232
232
  let t = 0;
233
233
  return q.value.map((l, a) => {
234
234
  const o = t, u = o + l.proportion, s = [];
@@ -240,7 +240,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
240
240
  rects: s
241
241
  };
242
242
  });
243
- }), r = c(() => xt.value.flatMap((t, l) => t.rects.map((a, o) => ({
243
+ }), r = c(() => Ct.value.flatMap((t, l) => t.rects.map((a, o) => ({
244
244
  isFirst: o === 0,
245
245
  isLongEnough: a.length > 2,
246
246
  name: t.name,
@@ -276,10 +276,10 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
276
276
  if (!(a === 0 && l === 0)) {
277
277
  if (f.value.includes(t)) {
278
278
  let s = function() {
279
- o > u ? (cancelAnimationFrame(We.value), p.value = p.value.map((d, C) => d.uid === t ? {
279
+ o > u ? (cancelAnimationFrame(We.value), p.value = p.value.map((d, x) => d.uid === t ? {
280
280
  ...d,
281
281
  values: [u]
282
- } : d), X.value = !1) : (X.value = !0, o += u * 0.025, p.value = p.value.map((d, C) => d.uid === t ? {
282
+ } : d), X.value = !1) : (X.value = !0, o += u * 0.025, p.value = p.value.map((d, x) => d.uid === t ? {
283
283
  ...d,
284
284
  values: [o]
285
285
  } : d), We.value = requestAnimationFrame(s));
@@ -328,7 +328,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
328
328
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
329
329
  r: e.value.style.chart.legend.roundingValue
330
330
  }), { datapoint: t, index: l }) : ""}${e.value.style.chart.legend.showPercentage ? f.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / A.value) ? "-" : P({ v: t.value / A.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
331
- }))), Ct = c(() => ({
331
+ }))), xt = c(() => ({
332
332
  cy: "waffle-div-legend",
333
333
  backgroundColor: e.value.style.chart.legend.backgroundColor,
334
334
  color: e.value.style.chart.legend.color,
@@ -489,13 +489,13 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
489
489
  };
490
490
  }), V = i(!1);
491
491
  function qe(t) {
492
- V.value = t, Ce.value += 1;
492
+ V.value = t, xe.value += 1;
493
493
  }
494
494
  function Xe() {
495
- x.value.showTable = !x.value.showTable;
495
+ C.value.showTable = !C.value.showTable;
496
496
  }
497
497
  function Ye() {
498
- x.value.showTooltip = !x.value.showTooltip;
498
+ C.value.showTooltip = !C.value.showTooltip;
499
499
  }
500
500
  const te = i(!1);
501
501
  function be() {
@@ -514,7 +514,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
514
514
  };
515
515
  }
516
516
  const Y = c(() => {
517
- const t = e.value.table.useDialog && !e.value.table.show, l = x.value.showTable;
517
+ const t = e.value.table.useDialog && !e.value.table.show, l = C.value.showTable;
518
518
  return {
519
519
  component: t ? ht : it,
520
520
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -543,11 +543,11 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
543
543
  }
544
544
  };
545
545
  });
546
- J(() => x.value.showTable, (t) => {
546
+ J(() => C.value.showTable, (t) => {
547
547
  e.value.table.show || (t && e.value.table.useDialog && H.value ? H.value.open() : "close" in H.value && H.value.close());
548
548
  });
549
549
  function Je() {
550
- x.value.showTable = !1, re.value && re.value.setTableIconState(!1);
550
+ C.value.showTable = !1, re.value && re.value.setTableIconState(!1);
551
551
  }
552
552
  const Pt = c(() => z.value.map((t) => ({
553
553
  ...t,
@@ -627,7 +627,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
627
627
  e.value.userOptions.show && ue.value && (h(Be) || h(ve)) ? (n(), B(h(vt), {
628
628
  ref_key: "userOptionsRef",
629
629
  ref: re,
630
- key: `user_options_${Ce.value}`,
630
+ key: `user_options_${xe.value}`,
631
631
  backgroundColor: e.value.style.chart.backgroundColor,
632
632
  color: e.value.style.chart.color,
633
633
  isPrinting: h(ze),
@@ -641,7 +641,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
641
641
  hasTable: e.value.userOptions.buttons.table,
642
642
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
643
643
  isFullscreen: V.value,
644
- isTooltip: x.value.showTooltip,
644
+ isTooltip: C.value.showTooltip,
645
645
  titles: { ...e.value.userOptions.buttonTitles },
646
646
  chartElement: I.value,
647
647
  position: e.value.userOptions.position,
@@ -697,26 +697,33 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
697
697
  ]),
698
698
  key: "4"
699
699
  } : void 0,
700
+ t.$slots.optionSvg ? {
701
+ name: "optionSvg",
702
+ fn: g(() => [
703
+ y(t.$slots, "optionSvg", {}, void 0, !0)
704
+ ]),
705
+ key: "5"
706
+ } : void 0,
700
707
  t.$slots.optionTable ? {
701
708
  name: "optionTable",
702
709
  fn: g(() => [
703
710
  y(t.$slots, "optionTable", {}, void 0, !0)
704
711
  ]),
705
- key: "5"
712
+ key: "6"
706
713
  } : void 0,
707
714
  t.$slots.optionFullscreen ? {
708
715
  name: "optionFullscreen",
709
716
  fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
710
717
  y(t.$slots, "optionFullscreen", G(W({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
711
718
  ]),
712
- key: "6"
719
+ key: "7"
713
720
  } : void 0,
714
721
  t.$slots.optionAnnotator ? {
715
722
  name: "optionAnnotator",
716
723
  fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
717
724
  y(t.$slots, "optionAnnotator", G(W({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
718
725
  ]),
719
- key: "7"
726
+ key: "8"
720
727
  } : void 0
721
728
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
722
729
  (n(), v("svg", {
@@ -745,7 +752,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
745
752
  offset: "100%",
746
753
  "stop-color": a.color
747
754
  }, null, 8, Il)
748
- ], 8, Cl))), 256))
755
+ ], 8, xl))), 256))
749
756
  ]),
750
757
  k("defs", null, [
751
758
  k("filter", {
@@ -847,7 +854,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
847
854
  onClick: (u) => $t(o)
848
855
  }, null, 40, Dl))), 256)),
849
856
  y(t.$slots, "svg", { svg: N.value }, void 0, !0)
850
- ], 14, xl)),
857
+ ], 14, Cl)),
851
858
  t.$slots.watermark ? (n(), v("div", Nl, [
852
859
  y(t.$slots, "watermark", G(W({ isPrinting: h(ze) || h(Ve) })), void 0, !0)
853
860
  ])) : m("", !0),
@@ -865,7 +872,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
865
872
  e.value.style.chart.legend.show ? (n(), B(bl, {
866
873
  key: `legend_${Oe.value}`,
867
874
  legendSet: z.value,
868
- config: Ct.value,
875
+ config: xt.value,
869
876
  onClickMarker: l[0] || (l[0] = ({ legend: a }) => je(a.uid))
870
877
  }, we({
871
878
  item: g(({ legend: a }) => [
@@ -904,7 +911,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
904
911
  y(t.$slots, "source", {}, void 0, !0)
905
912
  ], 512)) : m("", !0),
906
913
  ae(h(st), {
907
- show: x.value.showTooltip && se.value && f.value.length < w.dataset.length,
914
+ show: C.value.showTooltip && se.value && f.value.length < w.dataset.length,
908
915
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
909
916
  color: e.value.style.chart.tooltip.color,
910
917
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -988,7 +995,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
988
995
  h(Le) ? (n(), B(il, { key: 8 })) : m("", !0)
989
996
  ], 46, wl));
990
997
  }
991
- }, la = /* @__PURE__ */ ml(Rl, [["__scopeId", "data-v-78e01575"]]);
998
+ }, la = /* @__PURE__ */ ml(Rl, [["__scopeId", "data-v-c2d9f6f7"]]);
992
999
  export {
993
1000
  la as default
994
1001
  };