vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +21 -0
  2. package/dist/{Arrow-HbfibAF0.js → Arrow-XoY1VXNf.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-CXe0WfN-.js} +2 -2
  4. package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-d4dmqhkb.js} +1 -1
  5. package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-B3v0IhDO.js} +2 -2
  6. package/dist/{DataTable-CsoAI95B.js → DataTable-CmbjnjRg.js} +2 -2
  7. package/dist/{Legend-ZW-PFcHg.js → Legend-YPYnzTBz.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-SD-bH_GI.js} +3 -3
  9. package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-OcbP0WH2.js} +1 -1
  10. package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-BgPXmpGI.js} +3 -3
  11. package/dist/{Shape-BBbhObHC.js → Shape-WvXjwML_.js} +1 -1
  12. package/dist/{Slicer-Vh74fjdf.js → Slicer-CaMHCF_p.js} +2 -2
  13. package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-BTLad6y3.js} +1 -1
  14. package/dist/{Title-Dx8ctnVy.js → Title-CJcZXNtK.js} +1 -1
  15. package/dist/{Tooltip-COHlzpZI.js → Tooltip-dXp8FaUj.js} +1 -1
  16. package/dist/{UserOptions-CGn3YdRV.js → UserOptions-Cs7JW3dK.js} +154 -138
  17. package/dist/dom-to-png-DGfv21rX.js +247 -0
  18. package/dist/img-fdViJw1e.js +20 -0
  19. package/dist/{index-CbcpITE_.js → index-BzQ0j5xI.js} +190 -128
  20. package/dist/{pdf-Cy09nTjn.js → pdf-Bj65uPK-.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +60 -1
  23. package/dist/types/vue-data-ui.d.ts +60 -1
  24. package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-DqpZEE3h.js} +1 -1
  25. package/dist/{usePrinter-u-gQiRNz.js → usePrinter-CpG5jh_z.js} +2 -2
  26. package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-CeIncf6V.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-fAJK0nIB.js} +175 -174
  29. package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-bpaEpjqI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-D5w5EqmV.js} +200 -199
  31. package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-CSGemK-O.js} +2 -2
  32. package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-FPBahjOr.js} +9 -8
  33. package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-BpP9MQC2.js} +115 -114
  34. package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-lpdLFAfT.js} +80 -79
  35. package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-D5um0tmC.js} +453 -452
  36. package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-CgrXXOgv.js} +43 -42
  37. package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-Jk-Yd8T_.js} +143 -142
  38. package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-BjmAMjTd.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-CQ0B1DMq.js} +62 -62
  40. package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-B3h4BufU.js} +2 -2
  41. package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-DcjJqRof.js} +151 -150
  42. package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DmSbXlMu.js} +111 -110
  43. package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-BLcmTUd_.js} +54 -53
  44. package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-BmIGl6DC.js} +14 -13
  45. package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-BJfxaSQC.js} +75 -74
  46. package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-Cpnr2YW-.js} +84 -83
  47. package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BhPFNziU.js} +33 -32
  48. package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-B2wA-kmz.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-CpwNMx3i.js} +222 -221
  50. package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-DpxHqDZw.js} +234 -233
  51. package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-CvqXwiiE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-DIjSfc7L.js} +2 -2
  53. package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-3-vg0Re6.js} +44 -43
  54. package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-B7W7wGkW.js} +76 -75
  55. package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-ByoeDL-3.js} +53 -52
  56. package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-CNVwf4QX.js} +72 -71
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-C0KJrBX8.js} +13 -12
  58. package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-C-wPn5l5.js} +13 -12
  59. package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-SV-m_FhA.js} +8 -7
  60. package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DqOzvLUy.js} +283 -282
  61. package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CsZXcINB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-B0zxq02O.js} +75 -74
  63. package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-CykFyAin.js} +102 -101
  64. package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-DoJwXgd3.js} +110 -109
  65. package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BTT3BYrI.js} +166 -165
  66. package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-CavMQlAm.js} +3 -3
  67. package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-DdT6TBz8.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-D9q63V2-.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-DCS_f__b.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-CGDjBHjo.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-Ctpm0106.js} +4 -4
  72. package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-BVyjNK_A.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-BsNDucJO.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-DuGcJQ6F.js} +39 -38
  75. package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-C6vbloAI.js} +82 -81
  76. package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-Bb6pNaIM.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-_ypWL_z2.js} +77 -76
  78. package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-_pPedR_D.js} +74 -73
  79. package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-CmLnTIU7.js} +22 -21
  80. package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CpAJT80M.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-DXgmJClr.js} +38 -37
  82. package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-Ci2Yi9Gh.js} +109 -108
  83. package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-pn_EqFmU.js} +82 -81
  84. package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-vqh1kEDT.js} +33 -32
  85. package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-BCcK6wwZ.js} +8 -7
  86. package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-Bu8Giu0b.js} +110 -109
  87. package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-CzRlg19V.js} +57 -56
  88. package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-0gHPOOwZ.js} +982 -856
  89. package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-DuAgXbBB.js} +41 -40
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-BjSUS-jY.js +0 -243
  92. package/dist/img-DWfzRJdv.js +0 -19
@@ -1,11 +1,11 @@
1
1
  import { defineAsyncComponent as $, computed as p, ref as c, watch as Q, shallowRef as Z, onMounted as ke, onBeforeUnmount as we, createElementBlock as v, openBlock as s, unref as l, normalizeStyle as M, createBlock as _, createCommentVNode as h, createSlots as be, withCtx as k, renderSlot as y, normalizeProps as I, guardReactiveProps as A, normalizeClass as T, createVNode as Ce, Fragment as ee, renderList as te, toDisplayString as Oe } from "vue";
2
- import { u as $e, c as _e, a as Ie, o as Ae, e as Pe, w as ae, m as xe, X as Fe, i as Se, v as le, f as ze } from "./index-CbcpITE_.js";
2
+ import { u as $e, c as _e, a as Ie, o as Ae, e as Pe, w as ae, m as xe, X as Fe, i as Se, v as le, f as ze } from "./index-BzQ0j5xI.js";
3
3
  import { t as Me, u as Te } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as oe } from "./useNestedProp-y56W8I7J.js";
5
- import { u as Ne } from "./usePrinter-u-gQiRNz.js";
4
+ import { u as oe } from "./useNestedProp-DqpZEE3h.js";
5
+ import { u as Ne } from "./usePrinter-CpG5jh_z.js";
6
6
  import { u as Re } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Ue } from "./useChartAccessibility-9icAAmYg.js";
8
- import Xe from "./Title-Dx8ctnVy.js";
8
+ import Xe from "./Title-CJcZXNtK.js";
9
9
  import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], De = ["d", "fill"], Ye = ["cx", "cy", "r", "stroke", "stroke-width"], He = ["x", "y", "font-size", "fill", "font-weight"], We = {
11
11
  key: 5,
@@ -27,7 +27,7 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
27
27
  }
28
28
  },
29
29
  setup(ne, { expose: se }) {
30
- const ue = $(() => import("./PenAndPaper-B9RP4oFj.js")), re = $(() => import("./vue-ui-skeleton-miKWlCAi.js")), ie = $(() => import("./UserOptions-CGn3YdRV.js")), ce = $(() => import("./PackageVersion-DCAZ9Z7V.js")), { vue_ui_wheel: ve } = $e(), d = ne, P = p(() => !!d.dataset && Object.keys(d.dataset).length), x = c(_e()), he = c(null), N = c(0), w = c(null), R = c(null), U = c(null), X = c(null), E = c(0), e = p({
30
+ const ue = $(() => import("./PenAndPaper-BgPXmpGI.js")), re = $(() => import("./vue-ui-skeleton-CavMQlAm.js")), ie = $(() => import("./UserOptions-Cs7JW3dK.js")), ce = $(() => import("./PackageVersion-OcbP0WH2.js")), { vue_ui_wheel: ve } = $e(), d = ne, P = p(() => !!d.dataset && Object.keys(d.dataset).length), x = c(_e()), he = c(null), N = c(0), w = c(null), R = c(null), U = c(null), X = c(null), E = c(0), e = p({
31
31
  get: () => j(),
32
32
  set: (t) => t
33
33
  }), { userOptionsVisible: F, setUserOptionsVisibility: L, keepUserOptionState: B } = Re({ config: e.value }), { svgRef: G } = Ue({ config: e.value.style.chart.title });
@@ -195,6 +195,7 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
195
195
  hasAnnotator: e.value.userOptions.buttons.annotator,
196
196
  isAnnotation: O.value,
197
197
  chartElement: w.value,
198
+ callbacks: e.value.userOptions.callbacks,
198
199
  onToggleFullscreen: fe,
199
200
  onGeneratePdf: l(H),
200
201
  onGenerateImage: l(W),
@@ -238,7 +239,7 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
238
239
  ]),
239
240
  key: "4"
240
241
  } : void 0
241
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
242
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
242
243
  P.value ? (s(), v("svg", {
243
244
  key: 4,
244
245
  ref_key: "svgRef",
@@ -329,7 +330,7 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
329
330
  }, null, 8, ["config"]))
330
331
  ], 44, Le));
331
332
  }
332
- }, ot = /* @__PURE__ */ Ee(qe, [["__scopeId", "data-v-6779e626"]]);
333
+ }, ot = /* @__PURE__ */ Ee(qe, [["__scopeId", "data-v-b1e78d19"]]);
333
334
  export {
334
335
  ot as default
335
336
  };
@@ -1,20 +1,20 @@
1
- import { useCssVars as De, defineAsyncComponent as j, computed as se, ref as g, watch as be, shallowRef as Fe, onMounted as Ee, onBeforeUnmount as Ue, createElementBlock as N, openBlock as x, unref as r, normalizeStyle as he, createBlock as ie, createCommentVNode as B, createVNode as we, createSlots as Ge, withCtx as O, renderSlot as F, normalizeProps as Q, guardReactiveProps as ee, normalizeClass as Me, createElementVNode as Ce, Fragment as Le, renderList as je, toDisplayString as Pe, createTextVNode as He, nextTick as ze } from "vue";
2
- import { u as qe, c as Ae, aj as Ze, v as Je, t as Ke, p as me, a as Qe, o as et, e as Oe, g as tt, f as ot, X as at, q as lt, r as nt, x as st } from "./index-CbcpITE_.js";
1
+ import { useCssVars as De, defineAsyncComponent as j, computed as se, ref as g, watch as be, shallowRef as Fe, onMounted as Ee, onBeforeUnmount as Ue, createElementBlock as N, openBlock as x, unref as r, normalizeStyle as he, createBlock as ie, createCommentVNode as B, createVNode as we, createSlots as Ge, withCtx as A, renderSlot as F, normalizeProps as Q, guardReactiveProps as ee, normalizeClass as Me, createElementVNode as ke, Fragment as Le, renderList as je, toDisplayString as Pe, createTextVNode as He, nextTick as ze } from "vue";
2
+ import { u as qe, c as Oe, aj as Ze, v as Je, t as Ke, p as me, a as Qe, o as et, e as Ae, g as tt, f as ot, X as at, q as lt, r as nt, x as st } from "./index-BzQ0j5xI.js";
3
3
  import { t as it, u as rt, d as ut } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as Ne } from "./useNestedProp-y56W8I7J.js";
5
- import { u as ct } from "./usePrinter-u-gQiRNz.js";
4
+ import { u as Ne } from "./useNestedProp-DqpZEE3h.js";
5
+ import { u as ct } from "./usePrinter-CpG5jh_z.js";
6
6
  import { u as dt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as vt } from "./useChartAccessibility-9icAAmYg.js";
8
8
  import { u as ht } from "./usePanZoom-BQMvRXEQ.js";
9
- import mt from "./Title-Dx8ctnVy.js";
9
+ import mt from "./Title-CJcZXNtK.js";
10
10
  import { _ as ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  function pt(w, p) {
12
12
  const { width: u, height: f } = w, m = p.getImageData(0, 0, u, f).data;
13
- let l = u, a = f, s = 0, C = 0, d = !1;
13
+ let l = u, a = f, s = 0, k = 0, d = !1;
14
14
  for (let h = 0; h < f; h += 1)
15
15
  for (let y = 0; y < u; y += 1)
16
- m[(h * u + y) * 4 + 3] > 1 && (d = !0, y < l && (l = y), y > s && (s = y), h < a && (a = h), h > C && (C = h));
17
- return d ? [l, a, s, C] : [0, 0, 0, 0];
16
+ m[(h * u + y) * 4 + 3] > 1 && (d = !0, y < l && (l = y), y > s && (s = y), h < a && (a = h), h > k && (k = h));
17
+ return d ? [l, a, s, k] : [0, 0, 0, 0];
18
18
  }
19
19
  function Ie({
20
20
  word: w,
@@ -31,8 +31,8 @@ function Ie({
31
31
  for (let _ = 0; _ < s; _ += 1)
32
32
  for (let Y = 0; Y < a; Y += 1)
33
33
  d[(_ * a + Y) * 4 + 3] > 1 && h.push([Y, _]);
34
- const [y, D, P, I] = pt(f, c);
35
- return c.restore(), { w: a, h: s, wordMask: h, minX: y, minY: D, maxX: P, maxY: I };
34
+ const [y, E, P, I] = pt(f, c);
35
+ return c.restore(), { w: a, h: s, wordMask: h, minX: y, minY: E, maxX: P, maxY: I };
36
36
  }
37
37
  function _e({ mask: w, maskW: p, maskH: u, wx: f, wy: c, wordMask: m }) {
38
38
  for (let l = 0; l < m.length; l += 1) {
@@ -51,9 +51,9 @@ function gt({ wordMask: w, w: p, h: u, dilation: f }) {
51
51
  const c = new Set(w.map(([l, a]) => `${l},${a}`)), m = new Set(c);
52
52
  for (let [l, a] of w)
53
53
  for (let s = -f; s <= f; s += 1)
54
- for (let C = -f; C <= f; C += 1) {
55
- if (s === 0 && C === 0) continue;
56
- const d = l + s, h = a + C;
54
+ for (let k = -f; k <= f; k += 1) {
55
+ if (s === 0 && k === 0) continue;
56
+ const d = l + s, h = a + k;
57
57
  d >= 0 && d < p && h >= 0 && h < u && m.add(`${d},${h}`);
58
58
  }
59
59
  return Array.from(m).map((l) => l.split(",").map(Number));
@@ -64,64 +64,64 @@ function yt({
64
64
  svg: u,
65
65
  strictPixelPadding: f
66
66
  }) {
67
- const { width: c, height: m } = u, l = Math.round(c), a = Math.round(m), s = 1, C = u.minFontSize, d = Math.min(u.maxFontSize, 100), h = w.map((T) => T.value), y = Math.min(...h), D = Math.max(...h), P = new Uint8Array(l * a), I = document.createElement("canvas"), _ = I.getContext("2d", { willReadFrequently: !0 });
67
+ const { width: c, height: m } = u, l = Math.round(c), a = Math.round(m), s = 1, k = u.minFontSize, d = Math.min(u.maxFontSize, 100), h = w.map((S) => S.value), y = Math.min(...h), E = Math.max(...h), P = new Uint8Array(l * a), I = document.createElement("canvas"), _ = I.getContext("2d", { willReadFrequently: !0 });
68
68
  I.width = l, I.height = a;
69
- const Y = 6, re = 2, te = 2, e = 1, U = Math.floor(l / 2), oe = Math.floor(a / 2), ae = [...w].sort((T, z) => z.value - T.value), H = [];
70
- for (const T of ae) {
71
- let z = C;
72
- D !== y && (z = (T.value - y) / (D - y) * (d - C) + C), z = Math.max(C, Math.min(d, z));
69
+ const Y = 6, re = 2, te = 2, e = 1, G = Math.floor(l / 2), oe = Math.floor(a / 2), ae = [...w].sort((S, z) => z.value - S.value), H = [];
70
+ for (const S of ae) {
71
+ let z = k;
72
+ E !== y && (z = (S.value - y) / (E - y) * (d - k) + k), z = Math.max(k, Math.min(d, z));
73
73
  let R = !1, n = z;
74
74
  for (; !R && n >= s; ) {
75
- let { w: X, h: V, wordMask: k, minX: W, minY: q, maxX: Z, maxY: J } = Ie({
76
- word: T,
75
+ let { w: X, h: V, wordMask: C, minX: W, minY: q, maxX: Z, maxY: J } = Ie({
76
+ word: S,
77
77
  fontSize: n,
78
78
  pad: p,
79
79
  canvas: I,
80
80
  ctx: _,
81
81
  svg: u
82
82
  });
83
- f && (k = gt({ wordMask: k, w: X, h: V, dilation: 1 }));
84
- let A = 0, E = 0;
85
- for (; A < Math.max(l, a) && !R && E < 1e4; ) {
83
+ f && (C = gt({ wordMask: C, w: X, h: V, dilation: 1 }));
84
+ let O = 0, U = 0;
85
+ for (; O < Math.max(l, a) && !R && U < 1e4; ) {
86
86
  for (let v = 0; v < 360; v += Y) {
87
- E += 1;
88
- const M = Math.round(U + A * Math.cos(v * Math.PI / 180) - X / 2), b = Math.round(oe + A * Math.sin(v * Math.PI / 180) - V / 2);
89
- if (!(M < 0 || b < 0 || M + X > l || b + V > a) && _e({ mask: P, maskW: l, maskH: a, wx: M, wy: b, wordMask: k })) {
90
- H.push({ ...T, x: M - l / 2, y: b - a / 2, fontSize: n, width: X, height: V, angle: 0, minX: W, minY: q, maxX: Z, maxY: J }), Re({ mask: P, maskW: l, maskH: a, wx: M, wy: b, wordMask: k }), R = !0;
87
+ U += 1;
88
+ const M = Math.round(G + O * Math.cos(v * Math.PI / 180) - X / 2), b = Math.round(oe + O * Math.sin(v * Math.PI / 180) - V / 2);
89
+ if (!(M < 0 || b < 0 || M + X > l || b + V > a) && _e({ mask: P, maskW: l, maskH: a, wx: M, wy: b, wordMask: C })) {
90
+ H.push({ ...S, x: M - l / 2, y: b - a / 2, fontSize: n, width: X, height: V, angle: 0, minX: W, minY: q, maxX: Z, maxY: J }), Re({ mask: P, maskW: l, maskH: a, wx: M, wy: b, wordMask: C }), R = !0;
91
91
  break;
92
92
  }
93
93
  }
94
- A += re;
94
+ O += re;
95
95
  }
96
96
  R || (n -= 1);
97
97
  }
98
98
  if (!R && n < s) {
99
99
  n = s;
100
- const { w: X, h: V, wordMask: k, minX: W, minY: q, maxX: Z, maxY: J } = Ie({
101
- word: T,
100
+ const { w: X, h: V, wordMask: C, minX: W, minY: q, maxX: Z, maxY: J } = Ie({
101
+ word: S,
102
102
  fontSize: n,
103
103
  pad: p,
104
104
  canvas: I,
105
105
  ctx: _,
106
106
  svg: u
107
107
  });
108
- let A = 0, E = 0;
109
- for (; A < Math.max(l, a) && !R && E < 25e3; ) {
108
+ let O = 0, U = 0;
109
+ for (; O < Math.max(l, a) && !R && U < 25e3; ) {
110
110
  for (let v = 0; v < 360; v += te) {
111
- E += 1;
112
- const M = Math.round(U + A * Math.cos(v * Math.PI / 180) - X / 2), b = Math.round(oe + A * Math.sin(v * Math.PI / 180) - V / 2);
113
- if (!(M < 0 || b < 0 || M + X > l || b + V > a) && _e({ mask: P, maskW: l, maskH: a, wx: M, wy: b, wordMask: k })) {
114
- H.push({ ...T, x: M - l / 2, y: b - a / 2, fontSize: n, width: X, height: V, angle: 0, minX: W, minY: q, maxX: Z, maxY: J }), Re({ mask: P, maskW: l, maskH: a, wx: M, wy: b, wordMask: k }), R = !0;
111
+ U += 1;
112
+ const M = Math.round(G + O * Math.cos(v * Math.PI / 180) - X / 2), b = Math.round(oe + O * Math.sin(v * Math.PI / 180) - V / 2);
113
+ if (!(M < 0 || b < 0 || M + X > l || b + V > a) && _e({ mask: P, maskW: l, maskH: a, wx: M, wy: b, wordMask: C })) {
114
+ H.push({ ...S, x: M - l / 2, y: b - a / 2, fontSize: n, width: X, height: V, angle: 0, minX: W, minY: q, maxX: Z, maxY: J }), Re({ mask: P, maskW: l, maskH: a, wx: M, wy: b, wordMask: C }), R = !0;
115
115
  break;
116
116
  }
117
117
  }
118
- A += e;
118
+ O += e;
119
119
  }
120
120
  }
121
121
  }
122
- return H.sort((T, z) => z.fontSize - T.fontSize);
122
+ return H.sort((S, z) => z.fontSize - S.fontSize);
123
123
  }
124
- const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["transform"], xt = ["x", "y", "width", "height", "onMouseover"], $t = ["fill", "font-weight", "x", "y", "font-size", "transform"], Tt = {
124
+ const bt = ["id"], wt = ["xmlns", "viewBox"], kt = ["width", "height"], Ct = ["transform"], xt = ["x", "y", "width", "height", "onMouseover"], $t = ["fill", "font-weight", "x", "y", "font-size", "transform"], Tt = {
125
125
  key: 4,
126
126
  class: "vue-data-ui-watermark"
127
127
  }, St = {
@@ -146,19 +146,19 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
146
146
  },
147
147
  setup(w, { expose: p }) {
148
148
  De((t) => ({
149
- c9496d9a: t.slicerColor
149
+ "6e3cfc0f": t.slicerColor
150
150
  }));
151
- const u = j(() => import("./vue-ui-accordion-BkA7rtwr.js")), f = j(() => import("./BaseIcon-j0c6lJUs.js")), c = j(() => import("./DataTable-CsoAI95B.js")), m = j(() => import("./PackageVersion-DCAZ9Z7V.js")), l = j(() => import("./PenAndPaper-B9RP4oFj.js")), a = j(() => import("./Tooltip-COHlzpZI.js")), s = j(() => import("./UserOptions-CGn3YdRV.js")), { vue_ui_word_cloud: C } = qe(), d = w, h = se({
151
+ const u = j(() => import("./vue-ui-accordion-bpaEpjqI.js")), f = j(() => import("./BaseIcon-d4dmqhkb.js")), c = j(() => import("./DataTable-CmbjnjRg.js")), m = j(() => import("./PackageVersion-OcbP0WH2.js")), l = j(() => import("./PenAndPaper-BgPXmpGI.js")), a = j(() => import("./Tooltip-dXp8FaUj.js")), s = j(() => import("./UserOptions-Cs7JW3dK.js")), { vue_ui_word_cloud: k } = qe(), d = w, h = se({
152
152
  get() {
153
153
  return !!d.dataset && d.dataset.length;
154
154
  },
155
155
  set(t) {
156
156
  return t;
157
157
  }
158
- }), y = g(Ae()), D = g(0), P = g(null), I = g(null), _ = g(null), Y = g(0), re = g(0), te = g(!1), e = se({
158
+ }), y = g(Oe()), E = g(0), P = g(null), I = g(null), _ = g(null), Y = g(0), re = g(0), te = g(!1), e = se({
159
159
  get: () => R(),
160
160
  set: (t) => t
161
- }), U = g(oe());
161
+ }), G = g(oe());
162
162
  function oe() {
163
163
  return typeof d.dataset == "string" ? Ze(d.dataset) : d.dataset.map((t, i) => ({
164
164
  ...t,
@@ -166,13 +166,13 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
166
166
  }));
167
167
  }
168
168
  be(() => d.dataset, () => {
169
- U.value = oe(), fe();
169
+ G.value = oe(), fe();
170
170
  });
171
- const { userOptionsVisible: ae, setUserOptionsVisibility: H, keepUserOptionState: T } = dt({ config: e.value }), { svgRef: z } = vt({ config: e.value.style.chart.title });
171
+ const { userOptionsVisible: ae, setUserOptionsVisibility: H, keepUserOptionState: S } = dt({ config: e.value }), { svgRef: z } = vt({ config: e.value.style.chart.title });
172
172
  function R() {
173
173
  const t = Ne({
174
174
  userConfig: d.config,
175
- defaultConfig: C
175
+ defaultConfig: k
176
176
  });
177
177
  return t.theme ? {
178
178
  ...Ne({
@@ -202,30 +202,30 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
202
202
  requestAnimationFrame(() => {
203
203
  n.value.width = t, n.value.height = i, ze(X);
204
204
  });
205
- }), k = Fe(null), W = Fe(null);
205
+ }), C = Fe(null), W = Fe(null);
206
206
  Ee(q);
207
207
  function q() {
208
- et(d.dataset) ? Oe({
208
+ et(d.dataset) ? Ae({
209
209
  componentName: "VueUiWordCloud",
210
210
  type: "dataset"
211
- }) : U.value.forEach((t, i) => {
211
+ }) : G.value.forEach((t, i) => {
212
212
  tt({
213
213
  datasetObject: t,
214
214
  requiredAttributes: ["name", "value"]
215
215
  }).forEach((o) => {
216
- h.value = !1, Oe({
216
+ h.value = !1, Ae({
217
217
  componentName: "VueUiWordCloud",
218
218
  type: "datasetSerieAttribute",
219
219
  property: o,
220
220
  index: i
221
221
  });
222
222
  });
223
- }), e.value.responsive && (k.value && (W.value && k.value.unobserve(W.value), k.value.disconnect()), k.value = new ResizeObserver(V), W.value = P.value.parentNode, k.value.observe(W.value));
223
+ }), e.value.responsive && (C.value && (W.value && C.value.unobserve(W.value), C.value.disconnect()), C.value = new ResizeObserver(V), W.value = P.value.parentNode, C.value.observe(W.value));
224
224
  }
225
225
  Ue(() => {
226
- k.value && (W.value && k.value.unobserve(W.value), k.value.disconnect());
226
+ C.value && (W.value && C.value.unobserve(W.value), C.value.disconnect());
227
227
  });
228
- const { isPrinting: Z, isImaging: J, generatePdf: A, generateImage: E } = ct({
228
+ const { isPrinting: Z, isImaging: J, generatePdf: O, generateImage: U } = ct({
229
229
  elementId: `wordCloud_${y.value}`,
230
230
  fileName: e.value.style.chart.title.text || "vue-ui-word-cloud",
231
231
  options: e.value.userOptions.print
@@ -234,30 +234,30 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
234
234
  showTooltip: e.value.style.chart.tooltip.show
235
235
  });
236
236
  function M(t, i, o = "Arial") {
237
- const $ = document.createElement("canvas").getContext("2d");
238
- return $.font = `${i}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
239
- width: $.measureText(t).width + e.value.style.chart.words.proximity,
237
+ const T = document.createElement("canvas").getContext("2d");
238
+ return T.font = `${i}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
239
+ width: T.measureText(t).width + e.value.style.chart.words.proximity,
240
240
  height: i
241
241
  };
242
242
  }
243
243
  const b = g([]);
244
244
  be(() => d.dataset, fe, { immediate: !0 });
245
245
  function fe() {
246
- const t = [...U.value].map(($) => $.value), i = Math.max(...t), o = Math.min(...t), S = [...U.value].map(($, G) => {
247
- let L = ($.value - o) / (i - o) * (n.value.maxFontSize - n.value.minFontSize) + n.value.minFontSize;
246
+ const t = [...G.value].map((T) => T.value), i = Math.max(...t), o = Math.min(...t), $ = [...G.value].map((T, D) => {
247
+ let L = (T.value - o) / (i - o) * (n.value.maxFontSize - n.value.minFontSize) + n.value.minFontSize;
248
248
  L = isNaN(L) ? n.value.minFontSize : L;
249
- const Se = M($.name, L);
249
+ const Se = M(T.name, L);
250
250
  return {
251
- ...$,
252
- id: Ae(),
251
+ ...T,
252
+ id: Oe(),
253
253
  fontSize: L,
254
254
  width: Se.width,
255
255
  height: Se.height,
256
- color: e.value.style.chart.words.usePalette ? e.value.customPalette[G] || e.value.customPalette[G % e.value.customPalette.length] || me[G] || me[G % me.length] : e.value.style.chart.words.color
256
+ color: e.value.style.chart.words.usePalette ? e.value.customPalette[D] || e.value.customPalette[D % e.value.customPalette.length] || me[D] || me[D % me.length] : e.value.style.chart.words.color
257
257
  };
258
258
  });
259
259
  b.value = yt({
260
- words: S,
260
+ words: $,
261
261
  svg: n.value,
262
262
  proximity: e.value.style.chart.words.proximity,
263
263
  strictPixelPadding: e.value.strictPixelPadding
@@ -270,24 +270,24 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
270
270
  })), i = b.value.map((o) => o.value);
271
271
  return { head: t, body: i };
272
272
  });
273
- function ke() {
273
+ function Ce(t = null) {
274
274
  ze(() => {
275
- const t = ue.value.head.map((S, $) => [[
276
- S.name
277
- ], [ue.value.body[$]]]), i = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), o = lt(i);
278
- nt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
275
+ const i = ue.value.head.map((T, D) => [[
276
+ T.name
277
+ ], [ue.value.body[D]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(i), $ = lt(o);
278
+ t ? t($) : nt({ csvContent: $, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
279
279
  });
280
280
  }
281
281
  const ce = se(() => {
282
282
  const t = [
283
283
  e.value.table.columnNames.series,
284
284
  e.value.table.columnNames.value
285
- ], i = ue.value.head.map(($, G) => {
286
- const L = ot({ p: e.value.table.td.prefix, v: ue.value.body[G], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
285
+ ], i = ue.value.head.map((T, D) => {
286
+ const L = ot({ p: e.value.table.td.prefix, v: ue.value.body[D], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
287
287
  return [
288
288
  {
289
- color: $.color,
290
- name: $.name
289
+ color: T.color,
290
+ name: T.name
291
291
  },
292
292
  L
293
293
  ];
@@ -315,7 +315,7 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
315
315
  };
316
316
  }), de = g(!1);
317
317
  function Xe(t) {
318
- de.value = t, D.value += 1;
318
+ de.value = t, E.value += 1;
319
319
  }
320
320
  function Ve() {
321
321
  return b.value;
@@ -338,9 +338,9 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
338
338
  }, 1, We);
339
339
  p({
340
340
  getData: Ve,
341
- generateCsv: ke,
342
- generatePdf: A,
343
- generateImage: E,
341
+ generateCsv: Ce,
342
+ generatePdf: O,
343
+ generateImage: U,
344
344
  toggleTable: xe,
345
345
  toggleTooltip: $e,
346
346
  toggleAnnotator: pe
@@ -401,9 +401,9 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
401
401
  }
402
402
  }, null, 8, ["config"]))
403
403
  ], 512)) : B("", !0),
404
- e.value.userOptions.show && h.value && (r(T) || r(ae)) ? (x(), ie(r(s), {
404
+ e.value.userOptions.show && h.value && (r(S) || r(ae)) ? (x(), ie(r(s), {
405
405
  ref: "details",
406
- key: `user_option_${D.value}`,
406
+ key: `user_option_${E.value}`,
407
407
  backgroundColor: e.value.style.chart.backgroundColor,
408
408
  color: e.value.style.chart.color,
409
409
  isPrinting: r(Z),
@@ -422,67 +422,68 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
422
422
  isTooltip: v.value.showTooltip,
423
423
  hasAnnotator: e.value.userOptions.buttons.annotator,
424
424
  isAnnotation: le.value,
425
+ callbacks: e.value.userOptions.callbacks,
425
426
  onToggleFullscreen: Xe,
426
- onGeneratePdf: r(A),
427
- onGenerateCsv: ke,
428
- onGenerateImage: r(E),
427
+ onGeneratePdf: r(O),
428
+ onGenerateCsv: Ce,
429
+ onGenerateImage: r(U),
429
430
  onToggleTable: xe,
430
431
  onToggleTooltip: $e,
431
432
  onToggleAnnotator: pe,
432
433
  style: he({
433
- visibility: r(T) ? r(ae) ? "visible" : "hidden" : "visible"
434
+ visibility: r(S) ? r(ae) ? "visible" : "hidden" : "visible"
434
435
  })
435
436
  }, Ge({ _: 2 }, [
436
437
  t.$slots.menuIcon ? {
437
438
  name: "menuIcon",
438
- fn: O(({ isOpen: o, color: S }) => [
439
- F(t.$slots, "menuIcon", Q(ee({ isOpen: o, color: S })), void 0, !0)
439
+ fn: A(({ isOpen: o, color: $ }) => [
440
+ F(t.$slots, "menuIcon", Q(ee({ isOpen: o, color: $ })), void 0, !0)
440
441
  ]),
441
442
  key: "0"
442
443
  } : void 0,
443
444
  t.$slots.optionPdf ? {
444
445
  name: "optionPdf",
445
- fn: O(() => [
446
+ fn: A(() => [
446
447
  F(t.$slots, "optionPdf", {}, void 0, !0)
447
448
  ]),
448
449
  key: "1"
449
450
  } : void 0,
450
451
  t.$slots.optionCsv ? {
451
452
  name: "optionCsv",
452
- fn: O(() => [
453
+ fn: A(() => [
453
454
  F(t.$slots, "optionCsv", {}, void 0, !0)
454
455
  ]),
455
456
  key: "2"
456
457
  } : void 0,
457
458
  t.$slots.optionImg ? {
458
459
  name: "optionImg",
459
- fn: O(() => [
460
+ fn: A(() => [
460
461
  F(t.$slots, "optionImg", {}, void 0, !0)
461
462
  ]),
462
463
  key: "3"
463
464
  } : void 0,
464
465
  t.$slots.optionTable ? {
465
466
  name: "optionTable",
466
- fn: O(() => [
467
+ fn: A(() => [
467
468
  F(t.$slots, "optionTable", {}, void 0, !0)
468
469
  ]),
469
470
  key: "4"
470
471
  } : void 0,
471
472
  t.$slots.optionFullscreen ? {
472
473
  name: "optionFullscreen",
473
- fn: O(({ toggleFullscreen: o, isFullscreen: S }) => [
474
- F(t.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: o, isFullscreen: S })), void 0, !0)
474
+ fn: A(({ toggleFullscreen: o, isFullscreen: $ }) => [
475
+ F(t.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: o, isFullscreen: $ })), void 0, !0)
475
476
  ]),
476
477
  key: "5"
477
478
  } : void 0,
478
479
  t.$slots.optionAnnotator ? {
479
480
  name: "optionAnnotator",
480
- fn: O(({ toggleAnnotator: o, isAnnotator: S }) => [
481
- F(t.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: o, isAnnotator: S })), void 0, !0)
481
+ fn: A(({ toggleAnnotator: o, isAnnotator: $ }) => [
482
+ F(t.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: o, isAnnotator: $ })), void 0, !0)
482
483
  ]),
483
484
  key: "6"
484
485
  } : void 0
485
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : B("", !0),
486
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : B("", !0),
486
487
  h.value ? (x(), N("svg", {
487
488
  key: 3,
488
489
  ref_key: "svgRef",
@@ -504,11 +505,11 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
504
505
  }
505
506
  }, [
506
507
  F(t.$slots, "chart-background", {}, void 0, !0)
507
- ], 8, Ct)) : B("", !0),
508
- Ce("g", {
508
+ ], 8, kt)) : B("", !0),
509
+ ke("g", {
509
510
  transform: `translate(${(n.value.width <= 0 ? 10 : n.value.width) / 2}, ${(n.value.height <= 0 ? 10 : n.value.height) / 2})`
510
511
  }, [
511
- (x(!0), N(Le, null, je(b.value, (o, S) => (x(), N("g", null, [
512
+ (x(!0), N(Le, null, je(b.value, (o, $) => (x(), N("g", null, [
512
513
  o.minX !== void 0 ? (x(), N("rect", {
513
514
  key: 0,
514
515
  x: o.x + o.minX,
@@ -517,15 +518,15 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
517
518
  height: o.maxY - o.minY,
518
519
  fill: "transparent",
519
520
  "pointer-events": "visiblePainted",
520
- onMouseover: ($) => Ye(o),
521
- onMouseleave: i[0] || (i[0] = ($) => {
521
+ onMouseover: (T) => Ye(o),
522
+ onMouseleave: i[0] || (i[0] = (T) => {
522
523
  K.value = null, te.value = !1;
523
524
  })
524
525
  }, null, 40, xt)) : B("", !0),
525
526
  (x(), N("text", {
526
527
  fill: o.color,
527
528
  "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
528
- key: S,
529
+ key: $,
529
530
  x: o.x,
530
531
  y: o.y,
531
532
  "font-size": o.fontSize,
@@ -533,10 +534,10 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
533
534
  class: Me({ animated: e.value.useCssAnimation, "word-selected": K.value && K.value === o.id && v.value.showTooltip, "word-not-selected": K.value && K.value !== o.id && v.value.showTooltip }),
534
535
  "text-anchor": "middle",
535
536
  "dominant-baseline": "central",
536
- style: he(`animation-delay:${S * e.value.animationDelayMs}ms !important; pointer-events:none;`)
537
+ style: he(`animation-delay:${$ * e.value.animationDelayMs}ms !important; pointer-events:none;`)
537
538
  }, Pe(o.name), 15, $t))
538
539
  ]))), 256))
539
- ], 8, kt),
540
+ ], 8, Ct),
540
541
  F(t.$slots, "svg", {
541
542
  svg: { height: n.value.height, width: n.value.width }
542
543
  }, void 0, !0)
@@ -546,7 +547,7 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
546
547
  ])) : B("", !0),
547
548
  r(Be) ? (x(), N("div", St, [
548
549
  F(t.$slots, "reset-action", { reset: r(Te) }, () => [
549
- Ce("button", {
550
+ ke("button", {
550
551
  "data-cy-reset": "",
551
552
  tabindex: "0",
552
553
  role: "button",
@@ -578,10 +579,10 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
578
579
  content: ge.value,
579
580
  isCustom: ne.value
580
581
  }, {
581
- "tooltip-before": O(() => [
582
+ "tooltip-before": A(() => [
582
583
  F(t.$slots, "tooltip-before", Q(ee({ ...ye.value })), void 0, !0)
583
584
  ]),
584
- "tooltip-after": O(() => [
585
+ "tooltip-after": A(() => [
585
586
  F(t.$slots, "tooltip-after", Q(ee({ ...ye.value })), void 0, !0)
586
587
  ]),
587
588
  _: 3
@@ -610,7 +611,7 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
610
611
  }
611
612
  }
612
613
  }, {
613
- content: O(() => [
614
+ content: A(() => [
614
615
  (x(), ie(r(c), {
615
616
  key: `table_${re.value}`,
616
617
  colNames: ce.value.colNames,
@@ -620,13 +621,13 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
620
621
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
621
622
  onClose: i[2] || (i[2] = (o) => v.value.showTable = !1)
622
623
  }, {
623
- th: O(({ th: o }) => [
624
- Ce("div", {
624
+ th: A(({ th: o }) => [
625
+ ke("div", {
625
626
  innerHTML: o,
626
627
  style: { display: "flex", "align-items": "center" }
627
628
  }, null, 8, Ft)
628
629
  ]),
629
- td: O(({ td: o }) => [
630
+ td: A(({ td: o }) => [
630
631
  He(Pe(o.name || o), 1)
631
632
  ]),
632
633
  _: 1
@@ -636,7 +637,7 @@ const bt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["width", "height"], kt = ["t
636
637
  }, 8, ["config"])) : B("", !0)
637
638
  ], 44, bt));
638
639
  }
639
- }, Wt = /* @__PURE__ */ ft(Mt, [["__scopeId", "data-v-2f9957bf"]]);
640
+ }, Wt = /* @__PURE__ */ ft(Mt, [["__scopeId", "data-v-be758984"]]);
640
641
  export {
641
642
  Wt as default
642
643
  };